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
|
@@ -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,9 +37,7 @@ 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
|
};
|
|
@@ -53,9 +49,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
53
49
|
ar = [],
|
|
54
50
|
e;
|
|
55
51
|
try {
|
|
56
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
57
|
-
ar.push(r.value);
|
|
58
|
-
}
|
|
52
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
59
53
|
} catch (error) {
|
|
60
54
|
e = {
|
|
61
55
|
error: error
|
|
@@ -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,9 +37,7 @@ 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
|
};
|
|
@@ -53,9 +49,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
53
49
|
ar = [],
|
|
54
50
|
e;
|
|
55
51
|
try {
|
|
56
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
57
|
-
ar.push(r.value);
|
|
58
|
-
}
|
|
52
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
59
53
|
} catch (error) {
|
|
60
54
|
e = {
|
|
61
55
|
error: error
|
package/lib/count-down/index.js
CHANGED
|
@@ -8,9 +8,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
8
8
|
ar = [],
|
|
9
9
|
e;
|
|
10
10
|
try {
|
|
11
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
12
|
-
ar.push(r.value);
|
|
13
|
-
}
|
|
11
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
14
12
|
} catch (error) {
|
|
15
13
|
e = {
|
|
16
14
|
error: error
|
package/lib/count-up/index.js
CHANGED
|
@@ -27,9 +27,7 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
|
|
|
27
27
|
var __importStar = this && this.__importStar || function (mod) {
|
|
28
28
|
if (mod && mod.__esModule) return mod;
|
|
29
29
|
var result = {};
|
|
30
|
-
if (mod != null) for (var k in mod)
|
|
31
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
-
}
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
31
|
__setModuleDefault(result, mod);
|
|
34
32
|
return result;
|
|
35
33
|
};
|
package/lib/flex/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
|
}
|
package/lib/flex/utils/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
|
};
|
|
@@ -8,9 +8,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
8
8
|
ar = [],
|
|
9
9
|
e;
|
|
10
10
|
try {
|
|
11
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
12
|
-
ar.push(r.value);
|
|
13
|
-
}
|
|
11
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
14
12
|
} catch (error) {
|
|
15
13
|
e = {
|
|
16
14
|
error: error
|
|
@@ -8,9 +8,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
8
8
|
ar = [],
|
|
9
9
|
e;
|
|
10
10
|
try {
|
|
11
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
12
|
-
ar.push(r.value);
|
|
13
|
-
}
|
|
11
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
14
12
|
} catch (error) {
|
|
15
13
|
e = {
|
|
16
14
|
error: error
|
|
@@ -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/img-crop/EasyCrop.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
|
|
@@ -51,60 +51,58 @@ var __generator = this && this.__generator || function (thisArg, body) {
|
|
|
51
51
|
}
|
|
52
52
|
function step(op) {
|
|
53
53
|
if (f) throw new TypeError("Generator is already executing.");
|
|
54
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
55
|
+
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;
|
|
56
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
57
|
+
switch (op[0]) {
|
|
58
|
+
case 0:
|
|
59
|
+
case 1:
|
|
60
|
+
t = op;
|
|
61
|
+
break;
|
|
62
|
+
case 4:
|
|
63
|
+
_.label++;
|
|
64
|
+
return {
|
|
65
|
+
value: op[1],
|
|
66
|
+
done: false
|
|
67
|
+
};
|
|
68
|
+
case 5:
|
|
69
|
+
_.label++;
|
|
70
|
+
y = op[1];
|
|
71
|
+
op = [0];
|
|
72
|
+
continue;
|
|
73
|
+
case 7:
|
|
74
|
+
op = _.ops.pop();
|
|
75
|
+
_.trys.pop();
|
|
76
|
+
continue;
|
|
77
|
+
default:
|
|
78
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
79
|
+
_ = 0;
|
|
80
|
+
continue;
|
|
81
|
+
}
|
|
82
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
83
|
+
_.label = op[1];
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
87
|
+
_.label = t[1];
|
|
61
88
|
t = op;
|
|
62
89
|
break;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
op = [0];
|
|
73
|
-
continue;
|
|
74
|
-
case 7:
|
|
75
|
-
op = _.ops.pop();
|
|
76
|
-
_.trys.pop();
|
|
77
|
-
continue;
|
|
78
|
-
default:
|
|
79
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
80
|
-
_ = 0;
|
|
81
|
-
continue;
|
|
82
|
-
}
|
|
83
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
84
|
-
_.label = op[1];
|
|
85
|
-
break;
|
|
86
|
-
}
|
|
87
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
88
|
-
_.label = t[1];
|
|
89
|
-
t = op;
|
|
90
|
-
break;
|
|
91
|
-
}
|
|
92
|
-
if (t && _.label < t[2]) {
|
|
93
|
-
_.label = t[2];
|
|
94
|
-
_.ops.push(op);
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
if (t[2]) _.ops.pop();
|
|
98
|
-
_.trys.pop();
|
|
99
|
-
continue;
|
|
100
|
-
}
|
|
101
|
-
op = body.call(thisArg, _);
|
|
102
|
-
} catch (e) {
|
|
103
|
-
op = [6, e];
|
|
104
|
-
y = 0;
|
|
105
|
-
} finally {
|
|
106
|
-
f = t = 0;
|
|
90
|
+
}
|
|
91
|
+
if (t && _.label < t[2]) {
|
|
92
|
+
_.label = t[2];
|
|
93
|
+
_.ops.push(op);
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
if (t[2]) _.ops.pop();
|
|
97
|
+
_.trys.pop();
|
|
98
|
+
continue;
|
|
107
99
|
}
|
|
100
|
+
op = body.call(thisArg, _);
|
|
101
|
+
} catch (e) {
|
|
102
|
+
op = [6, e];
|
|
103
|
+
y = 0;
|
|
104
|
+
} finally {
|
|
105
|
+
f = t = 0;
|
|
108
106
|
}
|
|
109
107
|
if (op[0] & 5) throw op[1];
|
|
110
108
|
return {
|
package/lib/img-crop/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,9 +37,7 @@ 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
|
};
|
|
@@ -96,60 +92,58 @@ var __generator = this && this.__generator || function (thisArg, body) {
|
|
|
96
92
|
}
|
|
97
93
|
function step(op) {
|
|
98
94
|
if (f) throw new TypeError("Generator is already executing.");
|
|
99
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
95
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
96
|
+
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;
|
|
97
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
98
|
+
switch (op[0]) {
|
|
99
|
+
case 0:
|
|
100
|
+
case 1:
|
|
101
|
+
t = op;
|
|
102
|
+
break;
|
|
103
|
+
case 4:
|
|
104
|
+
_.label++;
|
|
105
|
+
return {
|
|
106
|
+
value: op[1],
|
|
107
|
+
done: false
|
|
108
|
+
};
|
|
109
|
+
case 5:
|
|
110
|
+
_.label++;
|
|
111
|
+
y = op[1];
|
|
112
|
+
op = [0];
|
|
113
|
+
continue;
|
|
114
|
+
case 7:
|
|
115
|
+
op = _.ops.pop();
|
|
116
|
+
_.trys.pop();
|
|
117
|
+
continue;
|
|
118
|
+
default:
|
|
119
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
120
|
+
_ = 0;
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
124
|
+
_.label = op[1];
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
128
|
+
_.label = t[1];
|
|
106
129
|
t = op;
|
|
107
130
|
break;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
op = [0];
|
|
118
|
-
continue;
|
|
119
|
-
case 7:
|
|
120
|
-
op = _.ops.pop();
|
|
121
|
-
_.trys.pop();
|
|
122
|
-
continue;
|
|
123
|
-
default:
|
|
124
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
125
|
-
_ = 0;
|
|
126
|
-
continue;
|
|
127
|
-
}
|
|
128
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
129
|
-
_.label = op[1];
|
|
130
|
-
break;
|
|
131
|
-
}
|
|
132
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
133
|
-
_.label = t[1];
|
|
134
|
-
t = op;
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
if (t && _.label < t[2]) {
|
|
138
|
-
_.label = t[2];
|
|
139
|
-
_.ops.push(op);
|
|
140
|
-
break;
|
|
141
|
-
}
|
|
142
|
-
if (t[2]) _.ops.pop();
|
|
143
|
-
_.trys.pop();
|
|
144
|
-
continue;
|
|
145
|
-
}
|
|
146
|
-
op = body.call(thisArg, _);
|
|
147
|
-
} catch (e) {
|
|
148
|
-
op = [6, e];
|
|
149
|
-
y = 0;
|
|
150
|
-
} finally {
|
|
151
|
-
f = t = 0;
|
|
131
|
+
}
|
|
132
|
+
if (t && _.label < t[2]) {
|
|
133
|
+
_.label = t[2];
|
|
134
|
+
_.ops.push(op);
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
if (t[2]) _.ops.pop();
|
|
138
|
+
_.trys.pop();
|
|
139
|
+
continue;
|
|
152
140
|
}
|
|
141
|
+
op = body.call(thisArg, _);
|
|
142
|
+
} catch (e) {
|
|
143
|
+
op = [6, e];
|
|
144
|
+
y = 0;
|
|
145
|
+
} finally {
|
|
146
|
+
f = t = 0;
|
|
153
147
|
}
|
|
154
148
|
if (op[0] & 5) throw op[1];
|
|
155
149
|
return {
|
|
@@ -160,9 +154,7 @@ var __generator = this && this.__generator || function (thisArg, body) {
|
|
|
160
154
|
};
|
|
161
155
|
var __rest = this && this.__rest || function (s, e) {
|
|
162
156
|
var t = {};
|
|
163
|
-
for (var p in s)
|
|
164
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
165
|
-
}
|
|
157
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
166
158
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
167
159
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
168
160
|
}
|
|
@@ -176,9 +168,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
176
168
|
ar = [],
|
|
177
169
|
e;
|
|
178
170
|
try {
|
|
179
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
180
|
-
ar.push(r.value);
|
|
181
|
-
}
|
|
171
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
182
172
|
} catch (error) {
|
|
183
173
|
e = {
|
|
184
174
|
error: error
|
package/lib/json-editor/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,9 +37,7 @@ 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
|
};
|
|
@@ -53,9 +49,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
53
49
|
ar = [],
|
|
54
50
|
e;
|
|
55
51
|
try {
|
|
56
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
57
|
-
ar.push(r.value);
|
|
58
|
-
}
|
|
52
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
59
53
|
} catch (error) {
|
|
60
54
|
e = {
|
|
61
55
|
error: error
|
package/lib/keep-tab/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
|
|
@@ -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
|
};
|
|
@@ -20,9 +18,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
20
18
|
ar = [],
|
|
21
19
|
e;
|
|
22
20
|
try {
|
|
23
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
24
|
-
ar.push(r.value);
|
|
25
|
-
}
|
|
21
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
26
22
|
} catch (error) {
|
|
27
23
|
e = {
|
|
28
24
|
error: error
|
|
@@ -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
|
};
|
|
@@ -20,9 +18,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
20
18
|
ar = [],
|
|
21
19
|
e;
|
|
22
20
|
try {
|
|
23
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
24
|
-
ar.push(r.value);
|
|
25
|
-
}
|
|
21
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
26
22
|
} catch (error) {
|
|
27
23
|
e = {
|
|
28
24
|
error: error
|
|
@@ -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,9 +37,7 @@ 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
|
};
|
|
@@ -53,9 +49,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
53
49
|
ar = [],
|
|
54
50
|
e;
|
|
55
51
|
try {
|
|
56
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
57
|
-
ar.push(r.value);
|
|
58
|
-
}
|
|
52
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
59
53
|
} catch (error) {
|
|
60
54
|
e = {
|
|
61
55
|
error: error
|
|
@@ -27,9 +27,7 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
|
|
|
27
27
|
var __importStar = this && this.__importStar || function (mod) {
|
|
28
28
|
if (mod && mod.__esModule) return mod;
|
|
29
29
|
var result = {};
|
|
30
|
-
if (mod != null) for (var k in mod)
|
|
31
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
-
}
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
31
|
__setModuleDefault(result, mod);
|
|
34
32
|
return result;
|
|
35
33
|
};
|
|
@@ -41,9 +39,7 @@ var __read = this && this.__read || function (o, n) {
|
|
|
41
39
|
ar = [],
|
|
42
40
|
e;
|
|
43
41
|
try {
|
|
44
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
45
|
-
ar.push(r.value);
|
|
46
|
-
}
|
|
42
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
47
43
|
} catch (error) {
|
|
48
44
|
e = {
|
|
49
45
|
error: error
|