assui 3.2.51 → 3.2.52
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/index.js +52 -60
- 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/index.js +53 -63
- 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/lib/text-area/index.js
CHANGED
|
@@ -4,9 +4,7 @@ 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)
|
|
8
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
9
|
-
}
|
|
7
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
10
8
|
}
|
|
11
9
|
return t;
|
|
12
10
|
};
|
|
@@ -39,17 +37,13 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
|
|
|
39
37
|
var __importStar = this && this.__importStar || function (mod) {
|
|
40
38
|
if (mod && mod.__esModule) return mod;
|
|
41
39
|
var result = {};
|
|
42
|
-
if (mod != null) for (var k in mod)
|
|
43
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
44
|
-
}
|
|
40
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
45
41
|
__setModuleDefault(result, mod);
|
|
46
42
|
return result;
|
|
47
43
|
};
|
|
48
44
|
var __rest = this && this.__rest || function (s, e) {
|
|
49
45
|
var t = {};
|
|
50
|
-
for (var p in s)
|
|
51
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
52
|
-
}
|
|
46
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
53
47
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
54
48
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
55
49
|
}
|
|
@@ -63,9 +57,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
63
57
|
ar = [],
|
|
64
58
|
e;
|
|
65
59
|
try {
|
|
66
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
67
|
-
ar.push(r.value);
|
|
68
|
-
}
|
|
60
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
69
61
|
} catch (error) {
|
|
70
62
|
e = {
|
|
71
63
|
error: error
|
package/lib/text-input/index.js
CHANGED
|
@@ -4,9 +4,7 @@ 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)
|
|
8
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
9
|
-
}
|
|
7
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
10
8
|
}
|
|
11
9
|
return t;
|
|
12
10
|
};
|
|
@@ -14,9 +12,7 @@ var __assign = this && this.__assign || function () {
|
|
|
14
12
|
};
|
|
15
13
|
var __rest = this && this.__rest || function (s, e) {
|
|
16
14
|
var t = {};
|
|
17
|
-
for (var p in s)
|
|
18
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
19
|
-
}
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
20
16
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
21
17
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
22
18
|
}
|
|
@@ -30,9 +26,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
30
26
|
ar = [],
|
|
31
27
|
e;
|
|
32
28
|
try {
|
|
33
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
34
|
-
ar.push(r.value);
|
|
35
|
-
}
|
|
29
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
36
30
|
} catch (error) {
|
|
37
31
|
e = {
|
|
38
32
|
error: error
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assui",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.52",
|
|
4
4
|
"description": "react ui library",
|
|
5
5
|
"author": "jason <usochen@gmail.com>",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"ahooks": "3.9.5"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
+
"@svgr/webpack": "^8.1.0",
|
|
71
72
|
"@types/enzyme": "^3.10.5",
|
|
72
73
|
"@types/insert-css": "^2.0.1",
|
|
73
74
|
"@types/jsoneditor": "^9.5.1",
|
|
@@ -85,5 +86,5 @@
|
|
|
85
86
|
"node": ">=10.0.0"
|
|
86
87
|
},
|
|
87
88
|
"license": "MIT",
|
|
88
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "ba9acb7a403c5c4ed93d7092b8a86c865c9cc1ed"
|
|
89
90
|
}
|