assui 3.2.51 → 3.2.53
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/es/a-select/index.js +3 -9
- package/es/button-drawer/index.js +3 -9
- package/es/button-modal/index.js +3 -9
- package/es/client-only/useClientOnly.js +1 -3
- package/es/color-select/index.js +2 -6
- package/es/complex-val-select/index.js +5 -9
- package/es/condition-input/index.js +3 -9
- package/es/condition-input/parse2RegexOption.js +1 -3
- package/es/condition-select/index.js +2 -6
- package/es/condition-select-input/index.js +2 -6
- package/es/copy-to-clipboard/index.js +2 -6
- package/es/count-down/index.js +1 -3
- package/es/flex/index.js +2 -6
- package/es/flex/utils/index.js +1 -3
- package/es/highlight-textarea/extractSpansOfClasses.js +1 -3
- package/es/highlight-textarea/getRanges.js +1 -3
- package/es/highlight-textarea/index.js +3 -9
- package/es/img-crop/EasyCrop.js +3 -9
- package/es/img-crop/getCroppedImg.js +49 -51
- package/es/img-crop/index.js +52 -60
- package/es/json-editor/index.js +2 -6
- package/es/keep-tab/index.js +3 -9
- package/es/label-auto-complete/index.js +2 -6
- package/es/label-condition-input/index.js +2 -6
- package/es/label-condition-select-input/index.js +2 -6
- package/es/label-customize-range-picker/defaultRadioList.js +1 -3
- package/es/label-customize-range-picker/index.js +3 -9
- package/es/label-customize-range-picker/utils/index.js +1 -3
- package/es/label-date-picker/index.js +2 -6
- package/es/label-input/index.js +1 -3
- package/es/label-number-input/index.js +2 -6
- package/es/label-range-number/index.js +2 -6
- package/es/label-range-picker/index.js +3 -9
- package/es/label-select/index.js +2 -6
- package/es/label-text-area/index.js +3 -9
- package/es/label-tree-select/index.js +2 -6
- package/es/multipart-upload/index.js +6 -12
- package/es/multipart-upload/parse2RegexOption.js +1 -3
- package/es/number-format-input/index.js +2 -6
- package/es/number-input/index.js +3 -9
- package/es/rc-echart/index.js +1 -3
- package/es/rc-qrcode/index.js +1 -3
- package/es/rc-qrcode/useQrcode.js +1 -3
- package/es/rich-text-editor/index.js +2 -6
- package/es/single-img-upload/assets/pdf.png +0 -0
- package/es/single-img-upload/index.js +56 -62
- package/es/single-img-upload/style/index.css +4 -0
- package/es/single-img-upload/style/index.less +5 -0
- package/es/split-pane/index.js +1 -3
- package/es/step-number-input/index.js +3 -9
- package/es/text-area/index.js +3 -9
- package/es/text-input/index.js +3 -9
- package/lib/a-select/index.js +3 -9
- package/lib/beautiful-dnd/index.js +1 -3
- package/lib/button-drawer/index.js +4 -12
- package/lib/button-modal/index.js +4 -12
- package/lib/client-only/useClientOnly.js +1 -3
- package/lib/color-select/index.js +3 -9
- package/lib/complex-val-select/index.js +6 -12
- package/lib/condition-input/index.js +4 -12
- package/lib/condition-input/parse2RegexOption.js +1 -3
- package/lib/condition-select/index.js +2 -6
- package/lib/condition-select-input/index.js +3 -9
- package/lib/copy-to-clipboard/index.js +3 -9
- package/lib/count-down/index.js +1 -3
- package/lib/count-up/index.js +1 -3
- package/lib/flex/index.js +2 -6
- package/lib/flex/utils/index.js +1 -3
- package/lib/highlight-textarea/extractSpansOfClasses.js +1 -3
- package/lib/highlight-textarea/getRanges.js +1 -3
- package/lib/highlight-textarea/index.js +4 -12
- package/lib/img-crop/EasyCrop.js +4 -12
- package/lib/img-crop/getCroppedImg.js +49 -51
- package/lib/img-crop/index.js +53 -63
- package/lib/json-editor/index.js +3 -9
- package/lib/keep-tab/index.js +4 -12
- package/lib/label-auto-complete/index.js +2 -6
- package/lib/label-condition-input/index.js +2 -6
- package/lib/label-condition-select-input/index.js +3 -9
- package/lib/label-customize-range-picker/defaultRadioList.js +2 -6
- package/lib/label-customize-range-picker/index.js +4 -12
- package/lib/label-customize-range-picker/utils/index.js +1 -3
- package/lib/label-date-picker/index.js +2 -6
- package/lib/label-input/index.js +1 -3
- package/lib/label-number-input/index.js +2 -6
- package/lib/label-range-number/index.js +2 -6
- package/lib/label-range-picker/index.js +3 -9
- package/lib/label-select/index.js +2 -6
- package/lib/label-text-area/index.js +3 -9
- package/lib/label-tree-select/index.js +2 -6
- package/lib/multipart-upload/index.js +7 -15
- package/lib/multipart-upload/parse2RegexOption.js +1 -3
- package/lib/number-format-input/index.js +2 -6
- package/lib/number-input/index.js +4 -12
- package/lib/rc-echart/core.js +1 -3
- package/lib/rc-echart/index.js +2 -6
- package/lib/rc-qrcode/index.js +2 -6
- package/lib/rc-qrcode/useQrcode.js +1 -3
- package/lib/rc-transition-group/index.js +1 -3
- package/lib/rich-text-editor/index.js +2 -6
- package/lib/single-img-upload/assets/pdf.png +0 -0
- package/lib/single-img-upload/index.js +57 -65
- package/lib/single-img-upload/style/index.css +4 -0
- package/lib/single-img-upload/style/index.less +5 -0
- package/lib/sortable-hoc/index.js +1 -3
- package/lib/split-pane/index.js +1 -3
- package/lib/step-number-input/index.js +4 -12
- package/lib/text-area/index.js +4 -12
- package/lib/text-input/index.js +3 -9
- package/package.json +3 -2
- package/es/single-img-upload/assets/pdf.svg +0 -16
- package/lib/single-img-upload/assets/pdf.svg +0 -16
package/es/a-select/index.js
CHANGED
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -12,9 +10,7 @@ var __assign = this && this.__assign || function () {
|
|
|
12
10
|
};
|
|
13
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
14
12
|
var t = {};
|
|
15
|
-
for (var p in s)
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
17
|
-
}
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
18
14
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
15
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
20
16
|
}
|
|
@@ -28,9 +24,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
28
24
|
ar = [],
|
|
29
25
|
e;
|
|
30
26
|
try {
|
|
31
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
32
|
-
ar.push(r.value);
|
|
33
|
-
}
|
|
27
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
34
28
|
} catch (error) {
|
|
35
29
|
e = {
|
|
36
30
|
error: error
|
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -12,9 +10,7 @@ var __assign = this && this.__assign || function () {
|
|
|
12
10
|
};
|
|
13
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
14
12
|
var t = {};
|
|
15
|
-
for (var p in s)
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
17
|
-
}
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
18
14
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
15
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
20
16
|
}
|
|
@@ -28,9 +24,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
28
24
|
ar = [],
|
|
29
25
|
e;
|
|
30
26
|
try {
|
|
31
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
32
|
-
ar.push(r.value);
|
|
33
|
-
}
|
|
27
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
34
28
|
} catch (error) {
|
|
35
29
|
e = {
|
|
36
30
|
error: error
|
package/es/button-modal/index.js
CHANGED
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -12,9 +10,7 @@ var __assign = this && this.__assign || function () {
|
|
|
12
10
|
};
|
|
13
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
14
12
|
var t = {};
|
|
15
|
-
for (var p in s)
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
17
|
-
}
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
18
14
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
15
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
20
16
|
}
|
|
@@ -28,9 +24,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
28
24
|
ar = [],
|
|
29
25
|
e;
|
|
30
26
|
try {
|
|
31
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
32
|
-
ar.push(r.value);
|
|
33
|
-
}
|
|
27
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
34
28
|
} catch (error) {
|
|
35
29
|
e = {
|
|
36
30
|
error: error
|
|
@@ -6,9 +6,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
6
6
|
ar = [],
|
|
7
7
|
e;
|
|
8
8
|
try {
|
|
9
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
10
|
-
ar.push(r.value);
|
|
11
|
-
}
|
|
9
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
12
10
|
} catch (error) {
|
|
13
11
|
e = {
|
|
14
12
|
error: error
|
package/es/color-select/index.js
CHANGED
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -18,9 +16,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
18
16
|
ar = [],
|
|
19
17
|
e;
|
|
20
18
|
try {
|
|
21
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
22
|
-
ar.push(r.value);
|
|
23
|
-
}
|
|
19
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
24
20
|
} catch (error) {
|
|
25
21
|
e = {
|
|
26
22
|
error: error
|
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -18,9 +16,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
18
16
|
ar = [],
|
|
19
17
|
e;
|
|
20
18
|
try {
|
|
21
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
22
|
-
ar.push(r.value);
|
|
23
|
-
}
|
|
19
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
24
20
|
} catch (error) {
|
|
25
21
|
e = {
|
|
26
22
|
error: error
|
|
@@ -44,11 +40,11 @@ import Select from "antd/es/select";
|
|
|
44
40
|
import useControllableValue from "ahooks/es/useControllableValue";
|
|
45
41
|
var Option = Select.Option;
|
|
46
42
|
export { Option };
|
|
47
|
-
var
|
|
43
|
+
var _formatOptions = function formatOptions(dateSource) {
|
|
48
44
|
if (dateSource) {
|
|
49
45
|
var options = dateSource.map(function (item) {
|
|
50
46
|
var otherProps = item.options ? {
|
|
51
|
-
options:
|
|
47
|
+
options: _formatOptions(item.options)
|
|
52
48
|
} : {};
|
|
53
49
|
return __assign(__assign(__assign({}, item), {
|
|
54
50
|
label: item.label,
|
|
@@ -86,7 +82,7 @@ var ComplexValSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
86
82
|
});
|
|
87
83
|
// 判断是否需要将optionValue转为JSON字符串
|
|
88
84
|
var isReferenceTypeVal = isReferenceTypeOption(options);
|
|
89
|
-
var finalOptions = isReferenceTypeVal ?
|
|
85
|
+
var finalOptions = isReferenceTypeVal ? _formatOptions(options) : options;
|
|
90
86
|
var handleChange = function handleChange(val) {
|
|
91
87
|
var nextVal = val && isReferenceTypeVal ? JSON.parse(val) : val;
|
|
92
88
|
setValue(nextVal, options);
|
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -12,9 +10,7 @@ var __assign = this && this.__assign || function () {
|
|
|
12
10
|
};
|
|
13
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
14
12
|
var t = {};
|
|
15
|
-
for (var p in s)
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
17
|
-
}
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
18
14
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
15
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
20
16
|
}
|
|
@@ -28,9 +24,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
28
24
|
ar = [],
|
|
29
25
|
e;
|
|
30
26
|
try {
|
|
31
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
32
|
-
ar.push(r.value);
|
|
33
|
-
}
|
|
27
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
34
28
|
} catch (error) {
|
|
35
29
|
e = {
|
|
36
30
|
error: error
|
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -18,9 +16,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
18
16
|
ar = [],
|
|
19
17
|
e;
|
|
20
18
|
try {
|
|
21
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
22
|
-
ar.push(r.value);
|
|
23
|
-
}
|
|
19
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
24
20
|
} catch (error) {
|
|
25
21
|
e = {
|
|
26
22
|
error: error
|
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -18,9 +16,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
18
16
|
ar = [],
|
|
19
17
|
e;
|
|
20
18
|
try {
|
|
21
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
22
|
-
ar.push(r.value);
|
|
23
|
-
}
|
|
19
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
24
20
|
} catch (error) {
|
|
25
21
|
e = {
|
|
26
22
|
error: error
|
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -18,9 +16,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
18
16
|
ar = [],
|
|
19
17
|
e;
|
|
20
18
|
try {
|
|
21
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
22
|
-
ar.push(r.value);
|
|
23
|
-
}
|
|
19
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
24
20
|
} catch (error) {
|
|
25
21
|
e = {
|
|
26
22
|
error: error
|
package/es/count-down/index.js
CHANGED
|
@@ -6,9 +6,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
6
6
|
ar = [],
|
|
7
7
|
e;
|
|
8
8
|
try {
|
|
9
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
10
|
-
ar.push(r.value);
|
|
11
|
-
}
|
|
9
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
12
10
|
} catch (error) {
|
|
13
11
|
e = {
|
|
14
12
|
error: error
|
package/es/flex/index.js
CHANGED
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -12,9 +10,7 @@ var __assign = this && this.__assign || function () {
|
|
|
12
10
|
};
|
|
13
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
14
12
|
var t = {};
|
|
15
|
-
for (var p in s)
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
17
|
-
}
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
18
14
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
15
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
20
16
|
}
|
package/es/flex/utils/index.js
CHANGED
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -6,9 +6,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
6
6
|
ar = [],
|
|
7
7
|
e;
|
|
8
8
|
try {
|
|
9
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
10
|
-
ar.push(r.value);
|
|
11
|
-
}
|
|
9
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
12
10
|
} catch (error) {
|
|
13
11
|
e = {
|
|
14
12
|
error: error
|
|
@@ -6,9 +6,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
6
6
|
ar = [],
|
|
7
7
|
e;
|
|
8
8
|
try {
|
|
9
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
10
|
-
ar.push(r.value);
|
|
11
|
-
}
|
|
9
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
12
10
|
} catch (error) {
|
|
13
11
|
e = {
|
|
14
12
|
error: error
|
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -12,9 +10,7 @@ var __assign = this && this.__assign || function () {
|
|
|
12
10
|
};
|
|
13
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
14
12
|
var t = {};
|
|
15
|
-
for (var p in s)
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
17
|
-
}
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
18
14
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
15
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
20
16
|
}
|
|
@@ -28,9 +24,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
28
24
|
ar = [],
|
|
29
25
|
e;
|
|
30
26
|
try {
|
|
31
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
32
|
-
ar.push(r.value);
|
|
33
|
-
}
|
|
27
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
34
28
|
} catch (error) {
|
|
35
29
|
e = {
|
|
36
30
|
error: error
|
package/es/img-crop/EasyCrop.js
CHANGED
|
@@ -2,9 +2,7 @@ var __assign = this && this.__assign || function () {
|
|
|
2
2
|
__assign = Object.assign || function (t) {
|
|
3
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
4
|
s = arguments[i];
|
|
5
|
-
for (var p in s)
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
-
}
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
6
|
}
|
|
9
7
|
return t;
|
|
10
8
|
};
|
|
@@ -12,9 +10,7 @@ var __assign = this && this.__assign || function () {
|
|
|
12
10
|
};
|
|
13
11
|
var __rest = this && this.__rest || function (s, e) {
|
|
14
12
|
var t = {};
|
|
15
|
-
for (var p in s)
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
17
|
-
}
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
18
14
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
15
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
20
16
|
}
|
|
@@ -28,9 +24,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
28
24
|
ar = [],
|
|
29
25
|
e;
|
|
30
26
|
try {
|
|
31
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
32
|
-
ar.push(r.value);
|
|
33
|
-
}
|
|
27
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
34
28
|
} catch (error) {
|
|
35
29
|
e = {
|
|
36
30
|
error: error
|
|
@@ -49,60 +49,58 @@ var __generator = this && this.__generator || function (thisArg, body) {
|
|
|
49
49
|
}
|
|
50
50
|
function step(op) {
|
|
51
51
|
if (f) throw new TypeError("Generator is already executing.");
|
|
52
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
52
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
53
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
54
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
55
|
+
switch (op[0]) {
|
|
56
|
+
case 0:
|
|
57
|
+
case 1:
|
|
58
|
+
t = op;
|
|
59
|
+
break;
|
|
60
|
+
case 4:
|
|
61
|
+
_.label++;
|
|
62
|
+
return {
|
|
63
|
+
value: op[1],
|
|
64
|
+
done: false
|
|
65
|
+
};
|
|
66
|
+
case 5:
|
|
67
|
+
_.label++;
|
|
68
|
+
y = op[1];
|
|
69
|
+
op = [0];
|
|
70
|
+
continue;
|
|
71
|
+
case 7:
|
|
72
|
+
op = _.ops.pop();
|
|
73
|
+
_.trys.pop();
|
|
74
|
+
continue;
|
|
75
|
+
default:
|
|
76
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
77
|
+
_ = 0;
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
81
|
+
_.label = op[1];
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
85
|
+
_.label = t[1];
|
|
59
86
|
t = op;
|
|
60
87
|
break;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
op = [0];
|
|
71
|
-
continue;
|
|
72
|
-
case 7:
|
|
73
|
-
op = _.ops.pop();
|
|
74
|
-
_.trys.pop();
|
|
75
|
-
continue;
|
|
76
|
-
default:
|
|
77
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
78
|
-
_ = 0;
|
|
79
|
-
continue;
|
|
80
|
-
}
|
|
81
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
82
|
-
_.label = op[1];
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
86
|
-
_.label = t[1];
|
|
87
|
-
t = op;
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
if (t && _.label < t[2]) {
|
|
91
|
-
_.label = t[2];
|
|
92
|
-
_.ops.push(op);
|
|
93
|
-
break;
|
|
94
|
-
}
|
|
95
|
-
if (t[2]) _.ops.pop();
|
|
96
|
-
_.trys.pop();
|
|
97
|
-
continue;
|
|
98
|
-
}
|
|
99
|
-
op = body.call(thisArg, _);
|
|
100
|
-
} catch (e) {
|
|
101
|
-
op = [6, e];
|
|
102
|
-
y = 0;
|
|
103
|
-
} finally {
|
|
104
|
-
f = t = 0;
|
|
88
|
+
}
|
|
89
|
+
if (t && _.label < t[2]) {
|
|
90
|
+
_.label = t[2];
|
|
91
|
+
_.ops.push(op);
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
if (t[2]) _.ops.pop();
|
|
95
|
+
_.trys.pop();
|
|
96
|
+
continue;
|
|
105
97
|
}
|
|
98
|
+
op = body.call(thisArg, _);
|
|
99
|
+
} catch (e) {
|
|
100
|
+
op = [6, e];
|
|
101
|
+
y = 0;
|
|
102
|
+
} finally {
|
|
103
|
+
f = t = 0;
|
|
106
104
|
}
|
|
107
105
|
if (op[0] & 5) throw op[1];
|
|
108
106
|
return {
|