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.
Files changed (102) hide show
  1. package/es/a-select/index.js +9 -3
  2. package/es/button-drawer/index.js +9 -3
  3. package/es/button-modal/index.js +9 -3
  4. package/es/client-only/useClientOnly.js +3 -1
  5. package/es/color-select/index.js +6 -2
  6. package/es/complex-val-select/index.js +9 -5
  7. package/es/condition-input/index.js +9 -3
  8. package/es/condition-input/parse2RegexOption.js +3 -1
  9. package/es/condition-select-input/index.js +6 -2
  10. package/es/copy-to-clipboard/index.js +6 -2
  11. package/es/count-down/index.js +3 -1
  12. package/es/flex/index.js +6 -2
  13. package/es/flex/utils/index.js +3 -1
  14. package/es/highlight-textarea/extractSpansOfClasses.js +3 -1
  15. package/es/highlight-textarea/getRanges.js +3 -1
  16. package/es/highlight-textarea/index.js +9 -3
  17. package/es/img-crop/EasyCrop.js +9 -3
  18. package/es/img-crop/getCroppedImg.js +51 -49
  19. package/es/img-crop/index.js +62 -53
  20. package/es/json-editor/index.js +6 -2
  21. package/es/keep-tab/index.js +9 -3
  22. package/es/label-auto-complete/index.js +6 -2
  23. package/es/label-condition-input/index.js +6 -2
  24. package/es/label-condition-select-input/index.js +6 -2
  25. package/es/label-customize-range-picker/defaultRadioList.js +3 -1
  26. package/es/label-customize-range-picker/index.js +9 -3
  27. package/es/label-customize-range-picker/utils/index.js +3 -1
  28. package/es/label-date-picker/index.js +6 -2
  29. package/es/label-input/index.js +3 -1
  30. package/es/label-number-input/index.js +6 -2
  31. package/es/label-range-number/index.js +6 -2
  32. package/es/label-range-picker/index.js +9 -3
  33. package/es/label-select/index.js +6 -2
  34. package/es/label-text-area/index.js +9 -3
  35. package/es/label-tree-select/index.js +6 -2
  36. package/es/multipart-upload/index.js +12 -6
  37. package/es/multipart-upload/parse2RegexOption.js +3 -1
  38. package/es/number-format-input/index.js +6 -2
  39. package/es/number-input/index.js +9 -3
  40. package/es/rc-echart/index.js +3 -1
  41. package/es/rc-qrcode/index.js +3 -1
  42. package/es/rc-qrcode/useQrcode.js +3 -1
  43. package/es/rich-text-editor/index.js +6 -2
  44. package/es/single-img-upload/index.js +60 -52
  45. package/es/split-pane/index.js +3 -1
  46. package/es/step-number-input/index.js +9 -3
  47. package/es/text-area/index.js +9 -3
  48. package/es/text-input/index.js +9 -3
  49. package/lib/a-select/index.js +9 -3
  50. package/lib/beautiful-dnd/index.js +3 -1
  51. package/lib/button-drawer/index.js +12 -4
  52. package/lib/button-modal/index.js +12 -4
  53. package/lib/client-only/useClientOnly.js +3 -1
  54. package/lib/color-select/index.js +9 -3
  55. package/lib/complex-val-select/index.js +12 -6
  56. package/lib/condition-input/index.js +12 -4
  57. package/lib/condition-input/parse2RegexOption.js +3 -1
  58. package/lib/condition-select-input/index.js +9 -3
  59. package/lib/copy-to-clipboard/index.js +9 -3
  60. package/lib/count-down/index.js +3 -1
  61. package/lib/count-up/index.js +3 -1
  62. package/lib/flex/index.js +6 -2
  63. package/lib/flex/utils/index.js +3 -1
  64. package/lib/highlight-textarea/extractSpansOfClasses.js +3 -1
  65. package/lib/highlight-textarea/getRanges.js +3 -1
  66. package/lib/highlight-textarea/index.js +12 -4
  67. package/lib/img-crop/EasyCrop.js +12 -4
  68. package/lib/img-crop/getCroppedImg.js +51 -49
  69. package/lib/img-crop/index.js +65 -54
  70. package/lib/json-editor/index.js +9 -3
  71. package/lib/keep-tab/index.js +12 -4
  72. package/lib/label-auto-complete/index.js +6 -2
  73. package/lib/label-condition-input/index.js +6 -2
  74. package/lib/label-condition-select-input/index.js +9 -3
  75. package/lib/label-customize-range-picker/defaultRadioList.js +6 -2
  76. package/lib/label-customize-range-picker/index.js +12 -4
  77. package/lib/label-customize-range-picker/utils/index.js +3 -1
  78. package/lib/label-date-picker/index.js +6 -2
  79. package/lib/label-input/index.js +3 -1
  80. package/lib/label-number-input/index.js +6 -2
  81. package/lib/label-range-number/index.js +6 -2
  82. package/lib/label-range-picker/index.js +9 -3
  83. package/lib/label-select/index.js +6 -2
  84. package/lib/label-text-area/index.js +9 -3
  85. package/lib/label-tree-select/index.js +6 -2
  86. package/lib/multipart-upload/index.js +15 -7
  87. package/lib/multipart-upload/parse2RegexOption.js +3 -1
  88. package/lib/number-format-input/index.js +6 -2
  89. package/lib/number-input/index.js +12 -4
  90. package/lib/rc-echart/core.js +3 -1
  91. package/lib/rc-echart/index.js +6 -2
  92. package/lib/rc-qrcode/index.js +6 -2
  93. package/lib/rc-qrcode/useQrcode.js +3 -1
  94. package/lib/rc-transition-group/index.js +3 -1
  95. package/lib/rich-text-editor/index.js +6 -2
  96. package/lib/single-img-upload/index.js +63 -53
  97. package/lib/sortable-hoc/index.js +3 -1
  98. package/lib/split-pane/index.js +3 -1
  99. package/lib/step-number-input/index.js +12 -4
  100. package/lib/text-area/index.js +12 -4
  101. package/lib/text-input/index.js +9 -3
  102. package/package.json +4 -4
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -18,7 +20,9 @@ var __read = this && this.__read || function (o, n) {
18
20
  ar = [],
19
21
  e;
20
22
  try {
21
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
23
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
24
+ ar.push(r.value);
25
+ }
22
26
  } catch (error) {
23
27
  e = {
24
28
  error: error
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
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) ar.push(r.value);
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
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -18,7 +20,9 @@ var __read = this && this.__read || function (o, n) {
18
20
  ar = [],
19
21
  e;
20
22
  try {
21
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
23
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
24
+ ar.push(r.value);
25
+ }
22
26
  } catch (error) {
23
27
  e = {
24
28
  error: error
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
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) ar.push(r.value);
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
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -18,7 +20,9 @@ var __read = this && this.__read || function (o, n) {
18
20
  ar = [],
19
21
  e;
20
22
  try {
21
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
23
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
24
+ ar.push(r.value);
25
+ }
22
26
  } catch (error) {
23
27
  e = {
24
28
  error: error
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -37,13 +39,17 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
37
39
  var __importStar = this && this.__importStar || function (mod) {
38
40
  if (mod && mod.__esModule) return mod;
39
41
  var result = {};
40
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
42
+ if (mod != null) for (var k in mod) {
43
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44
+ }
41
45
  __setModuleDefault(result, mod);
42
46
  return result;
43
47
  };
44
48
  var __rest = this && this.__rest || function (s, e) {
45
49
  var t = {};
46
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
50
+ for (var p in s) {
51
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
52
+ }
47
53
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
48
54
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
49
55
  }
@@ -57,7 +63,9 @@ var __read = this && this.__read || function (o, n) {
57
63
  ar = [],
58
64
  e;
59
65
  try {
60
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
66
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
67
+ ar.push(r.value);
68
+ }
61
69
  } catch (error) {
62
70
  e = {
63
71
  error: error
@@ -164,7 +172,7 @@ var MultipartUpload = function MultipartUpload(props) {
164
172
  setUploadPercent(currentProgressNumber);
165
173
  }
166
174
  };
167
- var _uploadNextChunk = function uploadNextChunk() {
175
+ var uploadNextChunk = function uploadNextChunk() {
168
176
  /** 第二步 获取url 进行分片上传 */
169
177
  if (fileRef.current) {
170
178
  var resultUrl = getInProgressUploadUrl({
@@ -180,7 +188,7 @@ var MultipartUpload = function MultipartUpload(props) {
180
188
  uploadList.push(res);
181
189
  currentChunk += 1;
182
190
  if (currentChunk < totalChunks) {
183
- _uploadNextChunk();
191
+ uploadNextChunk();
184
192
  } else {
185
193
  /** 分片上传完成 进行文件合并 上传完成 */
186
194
  completeRequest({
@@ -205,7 +213,7 @@ var MultipartUpload = function MultipartUpload(props) {
205
213
  fileName: fileNameRef.current
206
214
  }).then(function (id) {
207
215
  uploadIdRef.current = id;
208
- _uploadNextChunk();
216
+ uploadNextChunk();
209
217
  });
210
218
  }
211
219
  };
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
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
  }
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -37,13 +39,17 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
37
39
  var __importStar = this && this.__importStar || function (mod) {
38
40
  if (mod && mod.__esModule) return mod;
39
41
  var result = {};
40
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
42
+ if (mod != null) for (var k in mod) {
43
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44
+ }
41
45
  __setModuleDefault(result, mod);
42
46
  return result;
43
47
  };
44
48
  var __rest = this && this.__rest || function (s, e) {
45
49
  var t = {};
46
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
50
+ for (var p in s) {
51
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
52
+ }
47
53
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
48
54
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
49
55
  }
@@ -57,7 +63,9 @@ var __read = this && this.__read || function (o, n) {
57
63
  ar = [],
58
64
  e;
59
65
  try {
60
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
66
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
67
+ ar.push(r.value);
68
+ }
61
69
  } catch (error) {
62
70
  e = {
63
71
  error: error
@@ -27,7 +27,9 @@ 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) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ if (mod != null) for (var k in mod) {
31
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
32
+ }
31
33
  __setModuleDefault(result, mod);
32
34
  return result;
33
35
  };
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -37,7 +39,9 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
37
39
  var __importStar = this && this.__importStar || function (mod) {
38
40
  if (mod && mod.__esModule) return mod;
39
41
  var result = {};
40
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
42
+ if (mod != null) for (var k in mod) {
43
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44
+ }
41
45
  __setModuleDefault(result, mod);
42
46
  return result;
43
47
  };
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -37,7 +39,9 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
37
39
  var __importStar = this && this.__importStar || function (mod) {
38
40
  if (mod && mod.__esModule) return mod;
39
41
  var result = {};
40
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
42
+ if (mod != null) for (var k in mod) {
43
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44
+ }
41
45
  __setModuleDefault(result, mod);
42
46
  return result;
43
47
  };
@@ -8,7 +8,9 @@ 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) ar.push(r.value);
11
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
12
+ ar.push(r.value);
13
+ }
12
14
  } catch (error) {
13
15
  e = {
14
16
  error: error
@@ -27,7 +27,9 @@ 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) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ if (mod != null) for (var k in mod) {
31
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
32
+ }
31
33
  __setModuleDefault(result, mod);
32
34
  return result;
33
35
  };
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
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
  }
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -37,7 +39,9 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
37
39
  var __importStar = this && this.__importStar || function (mod) {
38
40
  if (mod && mod.__esModule) return mod;
39
41
  var result = {};
40
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
42
+ if (mod != null) for (var k in mod) {
43
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44
+ }
41
45
  __setModuleDefault(result, mod);
42
46
  return result;
43
47
  };
@@ -92,58 +96,60 @@ var __generator = this && this.__generator || function (thisArg, body) {
92
96
  }
93
97
  function step(op) {
94
98
  if (f) throw new TypeError("Generator is already executing.");
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];
99
+ while (g && (g = 0, op[0] && (_ = 0)), _) {
100
+ try {
101
+ 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;
102
+ if (y = 0, t) op = [op[0] & 2, t.value];
103
+ switch (op[0]) {
104
+ case 0:
105
+ case 1:
129
106
  t = op;
130
107
  break;
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;
108
+ case 4:
109
+ _.label++;
110
+ return {
111
+ value: op[1],
112
+ done: false
113
+ };
114
+ case 5:
115
+ _.label++;
116
+ y = op[1];
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;
140
152
  }
141
- op = body.call(thisArg, _);
142
- } catch (e) {
143
- op = [6, e];
144
- y = 0;
145
- } finally {
146
- f = t = 0;
147
153
  }
148
154
  if (op[0] & 5) throw op[1];
149
155
  return {
@@ -154,7 +160,9 @@ var __generator = this && this.__generator || function (thisArg, body) {
154
160
  };
155
161
  var __rest = this && this.__rest || function (s, e) {
156
162
  var t = {};
157
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
163
+ for (var p in s) {
164
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
165
+ }
158
166
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
159
167
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
160
168
  }
@@ -168,7 +176,9 @@ var __read = this && this.__read || function (o, n) {
168
176
  ar = [],
169
177
  e;
170
178
  try {
171
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
179
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
180
+ ar.push(r.value);
181
+ }
172
182
  } catch (error) {
173
183
  e = {
174
184
  error: error
@@ -27,7 +27,9 @@ 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) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ if (mod != null) for (var k in mod) {
31
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
32
+ }
31
33
  __setModuleDefault(result, mod);
32
34
  return result;
33
35
  };
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -37,13 +39,17 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
37
39
  var __importStar = this && this.__importStar || function (mod) {
38
40
  if (mod && mod.__esModule) return mod;
39
41
  var result = {};
40
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
42
+ if (mod != null) for (var k in mod) {
43
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44
+ }
41
45
  __setModuleDefault(result, mod);
42
46
  return result;
43
47
  };
44
48
  var __rest = this && this.__rest || function (s, e) {
45
49
  var t = {};
46
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
50
+ for (var p in s) {
51
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
52
+ }
47
53
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
48
54
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
49
55
  }
@@ -57,7 +63,9 @@ var __read = this && this.__read || function (o, n) {
57
63
  ar = [],
58
64
  e;
59
65
  try {
60
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
66
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
67
+ ar.push(r.value);
68
+ }
61
69
  } catch (error) {
62
70
  e = {
63
71
  error: error
@@ -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) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
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
  };
@@ -37,13 +39,17 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
37
39
  var __importStar = this && this.__importStar || function (mod) {
38
40
  if (mod && mod.__esModule) return mod;
39
41
  var result = {};
40
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
42
+ if (mod != null) for (var k in mod) {
43
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44
+ }
41
45
  __setModuleDefault(result, mod);
42
46
  return result;
43
47
  };
44
48
  var __rest = this && this.__rest || function (s, e) {
45
49
  var t = {};
46
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
50
+ for (var p in s) {
51
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
52
+ }
47
53
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
48
54
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
49
55
  }
@@ -57,7 +63,9 @@ var __read = this && this.__read || function (o, n) {
57
63
  ar = [],
58
64
  e;
59
65
  try {
60
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
66
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
67
+ ar.push(r.value);
68
+ }
61
69
  } catch (error) {
62
70
  e = {
63
71
  error: error