@kdcloudjs/kdesign 1.7.48-usePopper.1 → 1.7.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kdesign-complete.less +9 -106
- package/dist/kdesign.css +63 -359
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +753 -4604
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +1 -1
- package/dist/kdesign.min.js +10 -10
- package/dist/kdesign.min.js.map +1 -1
- package/es/_utils/formatUtil.js +3 -1
- package/es/_utils/hooks.js +1 -1
- package/es/alert/alert.js +3 -1
- package/es/anchor/anchor.js +9 -1
- package/es/badge/badge.js +3 -1
- package/es/breadcrumb/breadcrumb.js +3 -1
- package/es/button/button.js +3 -1
- package/es/card/card.js +3 -1
- package/es/cascader/cascader.js +3 -1
- package/es/cascader/util.js +3 -1
- package/es/checkbox/checkbox.js +3 -1
- package/es/checkbox/group.js +3 -1
- package/es/clipboard/clipboard.js +3 -1
- package/es/collapse/panel.js +3 -1
- package/es/date-picker/panel/year/year.js +2 -2
- package/es/divider/divider.js +3 -1
- package/es/dropdown/menu.js +3 -1
- package/es/empty/empty.js +3 -1
- package/es/form/Field.js +3 -1
- package/es/form/Form.js +3 -1
- package/es/grid/col.js +3 -1
- package/es/icon/icon.js +3 -1
- package/es/image-cropper/image-cropper.js +15 -11
- package/es/input/TextArea.js +3 -1
- package/es/input/input.js +3 -1
- package/es/input-number/inputNumber.js +32 -9
- package/es/layout/layout.js +3 -1
- package/es/layout/sider.js +3 -1
- package/es/link/link.js +3 -1
- package/es/locale/locale.js +1 -1
- package/es/menu/menu.js +3 -1
- package/es/menu/menuItem.js +3 -1
- package/es/menu/subMenu.js +3 -1
- package/es/modal/confirm.js +3 -1
- package/es/modal/modal.js +3 -1
- package/es/notification-base/index.js +3 -1
- package/es/progress/utils.js +3 -1
- package/es/radio/radio-button.js +3 -1
- package/es/radio/radio.js +3 -1
- package/es/search/quick-search.js +3 -1
- package/es/search/search.js +3 -1
- package/es/select/select.js +1 -1
- package/es/slider/slider.js +3 -1
- package/es/slider/sliderTooltip.js +3 -1
- package/es/spin/spin.js +3 -1
- package/es/steps/Step.js +3 -1
- package/es/steps/Steps.js +3 -1
- package/es/switch/switch.js +3 -1
- package/es/table/feature/rowSelection.js +3 -1
- package/es/tag/tag.js +3 -1
- package/es/timeline/Timeline.js +3 -1
- package/es/timeline/TimelineItem.js +3 -1
- package/es/tooltip/style/index.css +63 -2
- package/es/tooltip/style/index.less +9 -2
- package/es/tooltip/tooltip.d.ts +7 -3
- package/es/tooltip/tooltip.js +26 -10
- package/es/tree/tree.js +3 -1
- package/es/tree/treeNode.js +3 -1
- package/es/tree/utils/treeUtils.js +3 -1
- package/es/typography/base.js +3 -1
- package/es/typography/title.js +3 -1
- package/es/typography/typography.js +3 -1
- package/es/upload/dragger.js +3 -1
- package/es/upload/upload.js +26 -24
- package/es/virtual-list/utils/itemUtil.js +3 -1
- package/es/virtual-list/virtual-list.js +3 -1
- package/lib/_utils/formatUtil.js +3 -1
- package/lib/_utils/hooks.js +1 -1
- package/lib/alert/alert.js +3 -1
- package/lib/anchor/anchor.js +9 -1
- package/lib/badge/badge.js +3 -1
- package/lib/breadcrumb/breadcrumb.js +3 -1
- package/lib/button/button.js +3 -1
- package/lib/card/card.js +3 -1
- package/lib/cascader/cascader.js +3 -1
- package/lib/cascader/util.js +3 -1
- package/lib/checkbox/checkbox.js +3 -1
- package/lib/checkbox/group.js +3 -1
- package/lib/clipboard/clipboard.js +3 -1
- package/lib/collapse/panel.js +3 -1
- package/lib/date-picker/panel/year/year.js +2 -2
- package/lib/divider/divider.js +3 -1
- package/lib/dropdown/menu.js +3 -1
- package/lib/empty/empty.js +3 -1
- package/lib/form/Field.js +3 -1
- package/lib/form/Form.js +3 -1
- package/lib/grid/col.js +3 -1
- package/lib/icon/icon.js +3 -1
- package/lib/image-cropper/image-cropper.js +15 -11
- package/lib/input/TextArea.js +3 -1
- package/lib/input/input.js +3 -1
- package/lib/input-number/inputNumber.js +32 -9
- package/lib/layout/layout.js +3 -1
- package/lib/layout/sider.js +3 -1
- package/lib/link/link.js +3 -1
- package/lib/locale/locale.js +1 -1
- package/lib/menu/menu.js +3 -1
- package/lib/menu/menuItem.js +3 -1
- package/lib/menu/subMenu.js +3 -1
- package/lib/modal/confirm.js +3 -1
- package/lib/modal/modal.js +3 -1
- package/lib/notification-base/index.js +3 -1
- package/lib/progress/utils.js +3 -1
- package/lib/radio/radio-button.js +3 -1
- package/lib/radio/radio.js +3 -1
- package/lib/search/quick-search.js +3 -1
- package/lib/search/search.js +3 -1
- package/lib/select/select.js +1 -1
- package/lib/slider/slider.js +3 -1
- package/lib/slider/sliderTooltip.js +3 -1
- package/lib/spin/spin.js +3 -1
- package/lib/steps/Step.js +3 -1
- package/lib/steps/Steps.js +3 -1
- package/lib/style/components.less +0 -1
- package/lib/switch/switch.js +3 -1
- package/lib/table/feature/rowSelection.js +3 -1
- package/lib/tag/tag.js +3 -1
- package/lib/timeline/Timeline.js +3 -1
- package/lib/timeline/TimelineItem.js +3 -1
- package/lib/tooltip/style/index.css +63 -2
- package/lib/tooltip/style/index.less +9 -2
- package/lib/tooltip/tooltip.d.ts +7 -3
- package/lib/tooltip/tooltip.js +31 -10
- package/lib/tree/tree.js +3 -1
- package/lib/tree/treeNode.js +3 -1
- package/lib/tree/utils/treeUtils.js +3 -1
- package/lib/typography/base.js +3 -1
- package/lib/typography/title.js +3 -1
- package/lib/typography/typography.js +3 -1
- package/lib/upload/dragger.js +3 -1
- package/lib/upload/upload.js +26 -24
- package/lib/virtual-list/utils/itemUtil.js +3 -1
- package/lib/virtual-list/virtual-list.js +3 -1
- package/package.json +3 -4
- package/CHANGELOG.md +0 -1809
- package/es/popper/index.d.ts +0 -51
- package/es/popper/index.js +0 -418
- package/es/popper/style/css.js +0 -2
- package/es/popper/style/index.css +0 -356
- package/es/popper/style/index.d.ts +0 -2
- package/es/popper/style/index.js +0 -2
- package/es/popper/style/index.less +0 -103
- package/lib/popper/index.d.ts +0 -51
- package/lib/popper/index.js +0 -435
- package/lib/popper/style/css.js +0 -4
- package/lib/popper/style/index.css +0 -356
- package/lib/popper/style/index.d.ts +0 -2
- package/lib/popper/style/index.js +0 -4
- package/lib/popper/style/index.less +0 -103
package/es/_utils/formatUtil.js
CHANGED
|
@@ -5,7 +5,9 @@ import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/ins
|
|
|
5
5
|
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/slice";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
package/es/_utils/hooks.js
CHANGED
|
@@ -9,7 +9,7 @@ import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
|
|
9
9
|
import _Promise from "@babel/runtime-corejs3/core-js-stable/promise";
|
|
10
10
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
11
11
|
function _unsupportedIterableToArray(o, minLen) { var _context2; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context2 = Object.prototype.toString.call(o)).call(_context2, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
12
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
13
13
|
import { useEffect, useState, useRef, useReducer } from 'react';
|
|
14
14
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
15
15
|
import devWarning from './devwarning';
|
package/es/alert/alert.js
CHANGED
|
@@ -9,7 +9,9 @@ import _Array$from from "@babel/runtime-corejs3/core-js-stable/array/from";
|
|
|
9
9
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
10
10
|
var __rest = this && this.__rest || function (s, e) {
|
|
11
11
|
var t = {};
|
|
12
|
-
for (var p in s)
|
|
12
|
+
for (var p in s) {
|
|
13
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
14
|
+
}
|
|
13
15
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
14
16
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
15
17
|
}
|
package/es/anchor/anchor.js
CHANGED
|
@@ -179,6 +179,7 @@ var InternalAnchor = function InternalAnchor(props, ref) {
|
|
|
179
179
|
var normalRef = React.useRef(null);
|
|
180
180
|
var anchorRef = ref || normalRef;
|
|
181
181
|
var linksWidthRef = React.useRef([]);
|
|
182
|
+
var animating = React.useRef(false);
|
|
182
183
|
var wrapperClass = classNames(className, _defineProperty({}, "".concat(anchorPrefixCls, "-wrapper"), true));
|
|
183
184
|
// classes
|
|
184
185
|
var anchorMenuClass = classNames(_defineProperty({}, "".concat(anchorPrefixCls, "-menu"), true));
|
|
@@ -298,8 +299,12 @@ var InternalAnchor = function InternalAnchor(props, ref) {
|
|
|
298
299
|
var eleOffsetTop = getOffsetTop(targetElement, container);
|
|
299
300
|
var y = scrollTop + eleOffsetTop;
|
|
300
301
|
y -= targetOffset !== undefined ? targetOffset : offsetTop || 0;
|
|
302
|
+
animating.current = true;
|
|
301
303
|
scrollTo(y, {
|
|
302
|
-
getContainer: getScrollContainer
|
|
304
|
+
getContainer: getScrollContainer,
|
|
305
|
+
callback: function callback() {
|
|
306
|
+
animating.current = false;
|
|
307
|
+
}
|
|
303
308
|
});
|
|
304
309
|
};
|
|
305
310
|
var setCurrentActiveLink = useCallback(function (link) {
|
|
@@ -320,6 +325,9 @@ var InternalAnchor = function InternalAnchor(props, ref) {
|
|
|
320
325
|
setFixedTop(false);
|
|
321
326
|
}
|
|
322
327
|
}
|
|
328
|
+
if (animating.current) {
|
|
329
|
+
return;
|
|
330
|
+
}
|
|
323
331
|
var currentActiveLink = getAnchor(targetOffset !== undefined ? targetOffset : offsetTop || 0, bounds);
|
|
324
332
|
currentActiveLink && setCurrentActiveLink(currentActiveLink);
|
|
325
333
|
}, [affix, setFixedTop, offsetTop, bounds, getAnchor, setCurrentActiveLink, type, getScrollContainer, anchorRef, targetOffset]);
|
package/es/badge/badge.js
CHANGED
|
@@ -5,7 +5,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
5
5
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
|
@@ -8,7 +8,9 @@ import _spliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/insta
|
|
|
8
8
|
import _Array$from from "@babel/runtime-corejs3/core-js-stable/array/from";
|
|
9
9
|
var __rest = this && this.__rest || function (s, e) {
|
|
10
10
|
var t = {};
|
|
11
|
-
for (var p in s)
|
|
11
|
+
for (var p in s) {
|
|
12
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
13
|
+
}
|
|
12
14
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
13
15
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
14
16
|
}
|
package/es/button/button.js
CHANGED
|
@@ -4,7 +4,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
4
4
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
5
5
|
var __rest = this && this.__rest || function (s, e) {
|
|
6
6
|
var t = {};
|
|
7
|
-
for (var p in s)
|
|
7
|
+
for (var p in s) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
9
|
+
}
|
|
8
10
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
9
11
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
10
12
|
}
|
package/es/card/card.js
CHANGED
|
@@ -2,7 +2,9 @@ import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
|
2
2
|
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
3
3
|
var __rest = this && this.__rest || function (s, e) {
|
|
4
4
|
var t = {};
|
|
5
|
-
for (var p in s)
|
|
5
|
+
for (var p in s) {
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
7
|
+
}
|
|
6
8
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
9
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
8
10
|
}
|
package/es/cascader/cascader.js
CHANGED
|
@@ -10,7 +10,9 @@ import _spliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/insta
|
|
|
10
10
|
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/slice";
|
|
11
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
12
12
|
var t = {};
|
|
13
|
-
for (var p in s)
|
|
13
|
+
for (var p in s) {
|
|
14
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
15
|
+
}
|
|
14
16
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
15
17
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
16
18
|
}
|
package/es/cascader/util.js
CHANGED
|
@@ -12,7 +12,9 @@ import _spliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/insta
|
|
|
12
12
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
13
13
|
var __rest = this && this.__rest || function (s, e) {
|
|
14
14
|
var t = {};
|
|
15
|
-
for (var p in s)
|
|
15
|
+
for (var p in s) {
|
|
16
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
17
|
+
}
|
|
16
18
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
19
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
18
20
|
}
|
package/es/checkbox/checkbox.js
CHANGED
|
@@ -5,7 +5,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
5
5
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
package/es/checkbox/group.js
CHANGED
|
@@ -6,7 +6,9 @@ import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/insta
|
|
|
6
6
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/map";
|
|
7
7
|
var __rest = this && this.__rest || function (s, e) {
|
|
8
8
|
var t = {};
|
|
9
|
-
for (var p in s)
|
|
9
|
+
for (var p in s) {
|
|
10
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
11
|
+
}
|
|
10
12
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
11
13
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
12
14
|
}
|
|
@@ -4,7 +4,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
4
4
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
5
5
|
var __rest = this && this.__rest || function (s, e) {
|
|
6
6
|
var t = {};
|
|
7
|
-
for (var p in s)
|
|
7
|
+
for (var p in s) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
9
|
+
}
|
|
8
10
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
9
11
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
10
12
|
}
|
package/es/collapse/panel.js
CHANGED
|
@@ -5,7 +5,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
5
5
|
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/includes";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
|
@@ -99,7 +99,7 @@ function Year(props) {
|
|
|
99
99
|
var _getYearsPeriod = getYearsPeriod(viewDate, yearItemNumber),
|
|
100
100
|
startPeriod = _getYearsPeriod.startPeriod,
|
|
101
101
|
endPeriod = _getYearsPeriod.endPeriod;
|
|
102
|
-
var _loop = function _loop() {
|
|
102
|
+
var _loop = function _loop(y) {
|
|
103
103
|
var year = setYear(viewDate, y);
|
|
104
104
|
var _props = {
|
|
105
105
|
onClick: function onClick() {
|
|
@@ -130,7 +130,7 @@ function Year(props) {
|
|
|
130
130
|
}) || originNode : originNode));
|
|
131
131
|
};
|
|
132
132
|
for (var y = startPeriod; y <= endPeriod; y++) {
|
|
133
|
-
_loop();
|
|
133
|
+
_loop(y);
|
|
134
134
|
}
|
|
135
135
|
return yearsList;
|
|
136
136
|
}
|
package/es/divider/divider.js
CHANGED
|
@@ -4,7 +4,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
4
4
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
5
5
|
var __rest = this && this.__rest || function (s, e) {
|
|
6
6
|
var t = {};
|
|
7
|
-
for (var p in s)
|
|
7
|
+
for (var p in s) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
9
|
+
}
|
|
8
10
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
9
11
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
10
12
|
}
|
package/es/dropdown/menu.js
CHANGED
|
@@ -3,7 +3,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
3
3
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/map";
|
|
4
4
|
var __rest = this && this.__rest || function (s, e) {
|
|
5
5
|
var t = {};
|
|
6
|
-
for (var p in s)
|
|
6
|
+
for (var p in s) {
|
|
7
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
8
|
+
}
|
|
7
9
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
10
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
9
11
|
}
|
package/es/empty/empty.js
CHANGED
|
@@ -2,7 +2,9 @@ import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
|
2
2
|
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
3
3
|
var __rest = this && this.__rest || function (s, e) {
|
|
4
4
|
var t = {};
|
|
5
|
-
for (var p in s)
|
|
5
|
+
for (var p in s) {
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
7
|
+
}
|
|
6
8
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
9
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
8
10
|
}
|
package/es/form/Field.js
CHANGED
|
@@ -10,7 +10,9 @@ import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance
|
|
|
10
10
|
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/includes";
|
|
11
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
12
12
|
var t = {};
|
|
13
|
-
for (var p in s)
|
|
13
|
+
for (var p in s) {
|
|
14
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
15
|
+
}
|
|
14
16
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
15
17
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
16
18
|
}
|
package/es/form/Form.js
CHANGED
|
@@ -5,7 +5,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
5
5
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
package/es/grid/col.js
CHANGED
|
@@ -3,7 +3,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
3
3
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
4
4
|
var __rest = this && this.__rest || function (s, e) {
|
|
5
5
|
var t = {};
|
|
6
|
-
for (var p in s)
|
|
6
|
+
for (var p in s) {
|
|
7
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
8
|
+
}
|
|
7
9
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
10
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
9
11
|
}
|
package/es/icon/icon.js
CHANGED
|
@@ -4,7 +4,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
4
4
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
5
5
|
var __rest = this && this.__rest || function (s, e) {
|
|
6
6
|
var t = {};
|
|
7
|
-
for (var p in s)
|
|
7
|
+
for (var p in s) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
9
|
+
}
|
|
8
10
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
9
11
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
10
12
|
}
|
|
@@ -32,7 +32,9 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
|
|
|
32
32
|
};
|
|
33
33
|
var __rest = this && this.__rest || function (s, e) {
|
|
34
34
|
var t = {};
|
|
35
|
-
for (var p in s)
|
|
35
|
+
for (var p in s) {
|
|
36
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
37
|
+
}
|
|
36
38
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
37
39
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
38
40
|
}
|
|
@@ -85,16 +87,18 @@ var InternalImageCropper = function InternalImageCropper(props, forwardedRef) {
|
|
|
85
87
|
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
86
88
|
var imgFile;
|
|
87
89
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
88
|
-
while (1)
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
90
|
+
while (1) {
|
|
91
|
+
switch (_context.prev = _context.next) {
|
|
92
|
+
case 0:
|
|
93
|
+
_context.next = 2;
|
|
94
|
+
return cropperRef.current.getImage();
|
|
95
|
+
case 2:
|
|
96
|
+
imgFile = _context.sent;
|
|
97
|
+
imgFile ? onCropSuccess === null || onCropSuccess === void 0 ? void 0 : onCropSuccess(imgFile) : onCropFailed === null || onCropFailed === void 0 ? void 0 : onCropFailed();
|
|
98
|
+
case 4:
|
|
99
|
+
case "end":
|
|
100
|
+
return _context.stop();
|
|
101
|
+
}
|
|
98
102
|
}
|
|
99
103
|
}, _callee);
|
|
100
104
|
}));
|
package/es/input/TextArea.js
CHANGED
|
@@ -6,7 +6,9 @@ import _Number$MAX_SAFE_INTEGER from "@babel/runtime-corejs3/core-js-stable/numb
|
|
|
6
6
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
7
7
|
var __rest = this && this.__rest || function (s, e) {
|
|
8
8
|
var t = {};
|
|
9
|
-
for (var p in s)
|
|
9
|
+
for (var p in s) {
|
|
10
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
11
|
+
}
|
|
10
12
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
11
13
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
12
14
|
}
|
package/es/input/input.js
CHANGED
|
@@ -5,7 +5,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
5
5
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
|
@@ -5,7 +5,9 @@ import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/ins
|
|
|
5
5
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
|
@@ -62,6 +64,10 @@ var InternalInputNumber = function InternalInputNumber(props, ref) {
|
|
|
62
64
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
63
65
|
forceUpdate = _useState4[0],
|
|
64
66
|
setForceUpdate = _useState4[1];
|
|
67
|
+
var _useState5 = useState(''),
|
|
68
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
69
|
+
compositionValue = _useState6[0],
|
|
70
|
+
setCompositionValue = _useState6[1];
|
|
65
71
|
var inputStatus = useRef({
|
|
66
72
|
isHandleChange: false,
|
|
67
73
|
inputFocused: false
|
|
@@ -71,6 +77,7 @@ var InternalInputNumber = function InternalInputNumber(props, ref) {
|
|
|
71
77
|
var inputNumberRef = ref || thisInputNumberRef;
|
|
72
78
|
var stepMouseDownDelayTimer = useRef(null);
|
|
73
79
|
var stepMouseDownIntervalTimer = useRef(null);
|
|
80
|
+
var refIszComposition = useRef(false);
|
|
74
81
|
var isScopeValid = function isScopeValid(value) {
|
|
75
82
|
if (value === '') return true;
|
|
76
83
|
var numberValue = parseFloat(value) || 0;
|
|
@@ -112,14 +119,20 @@ var InternalInputNumber = function InternalInputNumber(props, ref) {
|
|
|
112
119
|
};
|
|
113
120
|
var handleChange = function handleChange(event) {
|
|
114
121
|
inputStatus.current.isHandleChange = true;
|
|
115
|
-
var
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
122
|
+
var newValue = event.target.value;
|
|
123
|
+
if (!refIszComposition.current) {
|
|
124
|
+
compositionValue && setCompositionValue('');
|
|
125
|
+
var legalNumber = verifiValue(newValue);
|
|
126
|
+
if (legalNumber === false) {
|
|
127
|
+
setForceUpdate(forceUpdate + 1);
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
value === undefined && setInputValue(legalNumber);
|
|
131
|
+
onChange && onChange(handleEventAttachValue(event, numberMode ? Number(legalNumber) : legalNumber));
|
|
132
|
+
updateSelectionRangePosition(event);
|
|
133
|
+
} else {
|
|
134
|
+
setCompositionValue(newValue);
|
|
120
135
|
}
|
|
121
|
-
value === undefined && setInputValue(legalNumber);
|
|
122
|
-
onChange && onChange(handleEventAttachValue(event, numberMode ? Number(legalNumber) : legalNumber));
|
|
123
136
|
};
|
|
124
137
|
var handleFocus = function handleFocus(event) {
|
|
125
138
|
inputStatus.current.inputFocused = true;
|
|
@@ -318,9 +331,19 @@ var InternalInputNumber = function InternalInputNumber(props, ref) {
|
|
|
318
331
|
inputValue: displayedInputValue,
|
|
319
332
|
forceUpdate: forceUpdate
|
|
320
333
|
});
|
|
334
|
+
var handleComposition = function handleComposition(e) {
|
|
335
|
+
refIszComposition.current = e.type !== 'compositionend';
|
|
336
|
+
if (!refIszComposition.current) {
|
|
337
|
+
setCompositionValue('');
|
|
338
|
+
handleChange(e);
|
|
339
|
+
}
|
|
340
|
+
};
|
|
321
341
|
return /*#__PURE__*/React.createElement(Input, _extends({}, others, {
|
|
342
|
+
onCompositionStart: handleComposition,
|
|
343
|
+
onCompositionUpdate: handleComposition,
|
|
344
|
+
onCompositionEnd: handleComposition,
|
|
322
345
|
ref: inputNumberRef,
|
|
323
|
-
value: displayedInputValue,
|
|
346
|
+
value: compositionValue || displayedInputValue,
|
|
324
347
|
prefix: prefix,
|
|
325
348
|
suffix: suffix,
|
|
326
349
|
onChange: handleChange,
|
package/es/layout/layout.js
CHANGED
|
@@ -7,7 +7,9 @@ import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/insta
|
|
|
7
7
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
8
8
|
var __rest = this && this.__rest || function (s, e) {
|
|
9
9
|
var t = {};
|
|
10
|
-
for (var p in s)
|
|
10
|
+
for (var p in s) {
|
|
11
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
12
|
+
}
|
|
11
13
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
12
14
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
13
15
|
}
|
package/es/layout/sider.js
CHANGED
|
@@ -5,7 +5,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
5
5
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
package/es/link/link.js
CHANGED
|
@@ -4,7 +4,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
4
4
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
5
5
|
var __rest = this && this.__rest || function (s, e) {
|
|
6
6
|
var t = {};
|
|
7
|
-
for (var p in s)
|
|
7
|
+
for (var p in s) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
9
|
+
}
|
|
8
10
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
9
11
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
10
12
|
}
|
package/es/locale/locale.js
CHANGED
|
@@ -5,7 +5,7 @@ import _classCallCheck from "@babel/runtime-corejs3/helpers/classCallCheck";
|
|
|
5
5
|
import _createClass from "@babel/runtime-corejs3/helpers/createClass";
|
|
6
6
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
7
7
|
function _unsupportedIterableToArray(o, minLen) { var _context2; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context2 = Object.prototype.toString.call(o)).call(_context2, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
8
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
9
9
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
10
10
|
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/slice";
|
|
11
11
|
import _Array$from from "@babel/runtime-corejs3/core-js-stable/array/from";
|
package/es/menu/menu.js
CHANGED
|
@@ -8,7 +8,9 @@ import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance
|
|
|
8
8
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
9
9
|
var __rest = this && this.__rest || function (s, e) {
|
|
10
10
|
var t = {};
|
|
11
|
-
for (var p in s)
|
|
11
|
+
for (var p in s) {
|
|
12
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
13
|
+
}
|
|
12
14
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
13
15
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
14
16
|
}
|
package/es/menu/menuItem.js
CHANGED
|
@@ -5,7 +5,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
5
5
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
package/es/menu/subMenu.js
CHANGED
|
@@ -7,7 +7,9 @@ import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/ins
|
|
|
7
7
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/map";
|
|
8
8
|
var __rest = this && this.__rest || function (s, e) {
|
|
9
9
|
var t = {};
|
|
10
|
-
for (var p in s)
|
|
10
|
+
for (var p in s) {
|
|
11
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
12
|
+
}
|
|
11
13
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
12
14
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
13
15
|
}
|
package/es/modal/confirm.js
CHANGED
|
@@ -2,7 +2,9 @@ import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
|
2
2
|
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
3
3
|
var __rest = this && this.__rest || function (s, e) {
|
|
4
4
|
var t = {};
|
|
5
|
-
for (var p in s)
|
|
5
|
+
for (var p in s) {
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
7
|
+
}
|
|
6
8
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
9
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
8
10
|
}
|
package/es/modal/modal.js
CHANGED
|
@@ -6,7 +6,9 @@ import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/ins
|
|
|
6
6
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
7
7
|
var __rest = this && this.__rest || function (s, e) {
|
|
8
8
|
var t = {};
|
|
9
|
-
for (var p in s)
|
|
9
|
+
for (var p in s) {
|
|
10
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
11
|
+
}
|
|
10
12
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
11
13
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
12
14
|
}
|
|
@@ -3,7 +3,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
3
3
|
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
|
4
4
|
var __rest = this && this.__rest || function (s, e) {
|
|
5
5
|
var t = {};
|
|
6
|
-
for (var p in s)
|
|
6
|
+
for (var p in s) {
|
|
7
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
8
|
+
}
|
|
7
9
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
10
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
9
11
|
}
|
package/es/progress/utils.js
CHANGED
|
@@ -5,7 +5,9 @@ import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance
|
|
|
5
5
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
6
6
|
var __rest = this && this.__rest || function (s, e) {
|
|
7
7
|
var t = {};
|
|
8
|
-
for (var p in s)
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
+
}
|
|
9
11
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
12
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
11
13
|
}
|
package/es/radio/radio-button.js
CHANGED
|
@@ -2,7 +2,9 @@ import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
|
2
2
|
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
3
3
|
var __rest = this && this.__rest || function (s, e) {
|
|
4
4
|
var t = {};
|
|
5
|
-
for (var p in s)
|
|
5
|
+
for (var p in s) {
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
7
|
+
}
|
|
6
8
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
9
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
8
10
|
}
|
package/es/radio/radio.js
CHANGED
|
@@ -4,7 +4,9 @@ import _slicedToArray from "@babel/runtime-corejs3/helpers/slicedToArray";
|
|
|
4
4
|
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
5
5
|
var __rest = this && this.__rest || function (s, e) {
|
|
6
6
|
var t = {};
|
|
7
|
-
for (var p in s)
|
|
7
|
+
for (var p in s) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
9
|
+
}
|
|
8
10
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
9
11
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
10
12
|
}
|
|
@@ -10,7 +10,9 @@ import _JSON$stringify from "@babel/runtime-corejs3/core-js-stable/json/stringif
|
|
|
10
10
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
11
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
12
12
|
var t = {};
|
|
13
|
-
for (var p in s)
|
|
13
|
+
for (var p in s) {
|
|
14
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
15
|
+
}
|
|
14
16
|
if (s != null && typeof _Object$getOwnPropertySymbols === "function") for (var i = 0, p = _Object$getOwnPropertySymbols(s); i < p.length; i++) {
|
|
15
17
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
16
18
|
}
|