assui 3.2.13 → 3.2.15
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 +9 -3
- package/es/button-drawer/index.js +9 -3
- package/es/button-modal/index.js +9 -3
- package/es/client-only/useClientOnly.js +3 -1
- package/es/color-select/index.js +6 -2
- package/es/complex-val-select/index.js +9 -5
- package/es/condition-input/index.js +9 -3
- package/es/condition-input/parse2RegexOption.js +3 -1
- package/es/condition-select-input/index.js +6 -2
- package/es/copy-to-clipboard/index.js +6 -2
- package/es/count-down/index.js +3 -1
- package/es/flex/index.js +6 -2
- package/es/flex/utils/index.js +3 -1
- package/es/highlight-textarea/extractSpansOfClasses.js +3 -1
- package/es/highlight-textarea/getRanges.js +3 -1
- package/es/highlight-textarea/index.js +9 -3
- package/es/img-crop/EasyCrop.js +9 -3
- package/es/img-crop/getCroppedImg.js +51 -49
- package/es/img-crop/index.js +62 -53
- package/es/json-editor/index.js +6 -2
- package/es/keep-tab/index.js +9 -3
- package/es/label-auto-complete/index.js +6 -2
- package/es/label-condition-input/index.js +6 -2
- package/es/label-condition-select-input/index.js +6 -2
- package/es/label-customize-range-picker/defaultRadioList.js +3 -1
- package/es/label-customize-range-picker/index.js +9 -3
- package/es/label-customize-range-picker/utils/index.js +3 -1
- package/es/label-date-picker/index.js +6 -2
- package/es/label-input/index.js +3 -1
- package/es/label-number-input/index.js +6 -2
- package/es/label-range-number/index.js +6 -2
- package/es/label-range-picker/index.js +9 -3
- package/es/label-select/index.js +6 -2
- package/es/label-text-area/index.js +9 -3
- package/es/label-tree-select/index.js +6 -2
- package/es/multipart-upload/index.js +12 -6
- package/es/multipart-upload/parse2RegexOption.js +3 -1
- package/es/number-format-input/index.js +6 -2
- package/es/number-input/index.js +9 -3
- package/es/rc-echart/index.js +3 -1
- package/es/rc-qrcode/index.js +3 -1
- package/es/rc-qrcode/useQrcode.js +3 -1
- package/es/rich-text-editor/index.js +6 -2
- package/es/single-img-upload/index.js +60 -52
- package/es/split-pane/index.js +3 -1
- package/es/step-number-input/index.js +9 -3
- package/es/text-area/index.js +9 -3
- package/es/text-input/index.js +9 -3
- package/lib/a-select/index.js +9 -3
- package/lib/beautiful-dnd/index.js +3 -1
- package/lib/button-drawer/index.js +12 -4
- package/lib/button-modal/index.js +12 -4
- package/lib/client-only/useClientOnly.js +3 -1
- package/lib/color-select/index.js +9 -3
- package/lib/complex-val-select/index.js +12 -6
- package/lib/condition-input/index.js +12 -4
- package/lib/condition-input/parse2RegexOption.js +3 -1
- package/lib/condition-select-input/index.js +9 -3
- package/lib/copy-to-clipboard/index.js +9 -3
- package/lib/count-down/index.js +3 -1
- package/lib/count-up/index.js +3 -1
- package/lib/flex/index.js +6 -2
- package/lib/flex/utils/index.js +3 -1
- package/lib/highlight-textarea/extractSpansOfClasses.js +3 -1
- package/lib/highlight-textarea/getRanges.js +3 -1
- package/lib/highlight-textarea/index.js +12 -4
- package/lib/img-crop/EasyCrop.js +12 -4
- package/lib/img-crop/getCroppedImg.js +51 -49
- package/lib/img-crop/index.js +65 -54
- package/lib/json-editor/index.js +9 -3
- package/lib/keep-tab/index.js +12 -4
- package/lib/label-auto-complete/index.js +6 -2
- package/lib/label-condition-input/index.js +6 -2
- package/lib/label-condition-select-input/index.js +9 -3
- package/lib/label-customize-range-picker/defaultRadioList.js +6 -2
- package/lib/label-customize-range-picker/index.js +12 -4
- package/lib/label-customize-range-picker/utils/index.js +3 -1
- package/lib/label-date-picker/index.js +6 -2
- package/lib/label-input/index.js +3 -1
- package/lib/label-number-input/index.js +6 -2
- package/lib/label-range-number/index.js +6 -2
- package/lib/label-range-picker/index.js +9 -3
- package/lib/label-select/index.js +6 -2
- package/lib/label-text-area/index.js +9 -3
- package/lib/label-tree-select/index.js +6 -2
- package/lib/multipart-upload/index.js +15 -7
- package/lib/multipart-upload/parse2RegexOption.js +3 -1
- package/lib/number-format-input/index.js +6 -2
- package/lib/number-input/index.js +12 -4
- package/lib/rc-echart/core.js +3 -1
- package/lib/rc-echart/index.js +6 -2
- package/lib/rc-qrcode/index.js +6 -2
- package/lib/rc-qrcode/useQrcode.js +3 -1
- package/lib/rc-transition-group/index.js +3 -1
- package/lib/rich-text-editor/index.js +6 -2
- package/lib/single-img-upload/index.js +63 -53
- package/lib/sortable-hoc/index.js +3 -1
- package/lib/split-pane/index.js +3 -1
- package/lib/step-number-input/index.js +12 -4
- package/lib/text-area/index.js +12 -4
- package/lib/text-input/index.js +9 -3
- package/package.json +4 -4
package/lib/text-input/index.js
CHANGED
|
@@ -4,7 +4,9 @@ var __assign = this && this.__assign || function () {
|
|
|
4
4
|
__assign = Object.assign || function (t) {
|
|
5
5
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6
6
|
s = arguments[i];
|
|
7
|
-
for (var p in s)
|
|
7
|
+
for (var p in s) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
9
|
+
}
|
|
8
10
|
}
|
|
9
11
|
return t;
|
|
10
12
|
};
|
|
@@ -12,7 +14,9 @@ var __assign = this && this.__assign || function () {
|
|
|
12
14
|
};
|
|
13
15
|
var __rest = this && this.__rest || function (s, e) {
|
|
14
16
|
var t = {};
|
|
15
|
-
for (var p in s)
|
|
17
|
+
for (var p in s) {
|
|
18
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
19
|
+
}
|
|
16
20
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
21
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
18
22
|
}
|
|
@@ -26,7 +30,9 @@ var __read = this && this.__read || function (o, n) {
|
|
|
26
30
|
ar = [],
|
|
27
31
|
e;
|
|
28
32
|
try {
|
|
29
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
33
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
34
|
+
ar.push(r.value);
|
|
35
|
+
}
|
|
30
36
|
} catch (error) {
|
|
31
37
|
e = {
|
|
32
38
|
error: error
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assui",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.15",
|
|
4
4
|
"description": "react ui library",
|
|
5
5
|
"author": "jason <usochen@gmail.com>",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
36
36
|
"@types/react-color": "^3.0.6",
|
|
37
37
|
"@types/react-resizable": "^3.0.0",
|
|
38
|
-
"a-icons": "^1.2.
|
|
39
|
-
"aa-utils": "^2.1.
|
|
38
|
+
"a-icons": "^1.2.12",
|
|
39
|
+
"aa-utils": "^2.1.28",
|
|
40
40
|
"ahooks": "^3.0.8",
|
|
41
41
|
"bignumber.js": "^9.0.1",
|
|
42
42
|
"copy-to-clipboard": "^3.3.1",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"node": ">=10.0.0"
|
|
83
83
|
},
|
|
84
84
|
"license": "MIT",
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "037747e7f44c45005b0211b8ee5767c0bd52bb8d"
|
|
86
86
|
}
|