assui 3.2.18 → 3.2.20

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 +61 -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 -3
  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 +64 -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 -3
  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
  };
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.2.18",
3
+ "version": "3.2.20",
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.14",
39
- "aa-utils": "^2.1.28",
38
+ "a-icons": "^1.2.16",
39
+ "aa-utils": "^2.1.29",
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": "0e2047d5033f0a9fae9a1aadc70c179d4ea51beb"
85
+ "gitHead": "dd6116793efcce65bf244cfa62800ab5cc886588"
86
86
  }