Latest updates from IceHrmPro

This commit is contained in:
Thilina Pituwala
2020-05-20 18:47:29 +02:00
parent 60c92d7935
commit 7453a58aad
18012 changed files with 2089245 additions and 10173 deletions

29
web/node_modules/rc-menu/es/utils/legacyUtil.js generated vendored Normal file
View File

@@ -0,0 +1,29 @@
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
import warning from "rc-util/es/warning";
export function getMotion(_ref) {
var prefixCls = _ref.prefixCls,
motion = _ref.motion,
openAnimation = _ref.openAnimation,
openTransitionName = _ref.openTransitionName;
if (motion) {
return motion;
}
if (_typeof(openAnimation) === 'object' && openAnimation) {
warning(false, 'Object type of `openAnimation` is removed. Please use `motion` instead.');
} else if (typeof openAnimation === 'string') {
return {
motionName: "".concat(prefixCls, "-open-").concat(openAnimation)
};
}
if (openTransitionName) {
return {
motionName: openTransitionName
};
}
return null;
}