assui 3.2.17 → 3.2.18

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 +3 -9
  2. package/es/button-drawer/index.js +3 -9
  3. package/es/button-modal/index.js +3 -9
  4. package/es/client-only/useClientOnly.js +1 -3
  5. package/es/color-select/index.js +2 -6
  6. package/es/complex-val-select/index.js +5 -9
  7. package/es/condition-input/index.js +3 -9
  8. package/es/condition-input/parse2RegexOption.js +1 -3
  9. package/es/condition-select-input/index.js +2 -6
  10. package/es/copy-to-clipboard/index.js +2 -6
  11. package/es/count-down/index.js +1 -3
  12. package/es/flex/index.js +2 -6
  13. package/es/flex/utils/index.js +1 -3
  14. package/es/highlight-textarea/extractSpansOfClasses.js +1 -3
  15. package/es/highlight-textarea/getRanges.js +1 -3
  16. package/es/highlight-textarea/index.js +3 -9
  17. package/es/img-crop/EasyCrop.js +3 -9
  18. package/es/img-crop/getCroppedImg.js +49 -51
  19. package/es/img-crop/index.js +53 -61
  20. package/es/json-editor/index.js +2 -6
  21. package/es/keep-tab/index.js +3 -9
  22. package/es/label-auto-complete/index.js +2 -6
  23. package/es/label-condition-input/index.js +2 -6
  24. package/es/label-condition-select-input/index.js +2 -6
  25. package/es/label-customize-range-picker/defaultRadioList.js +1 -3
  26. package/es/label-customize-range-picker/index.js +3 -9
  27. package/es/label-customize-range-picker/utils/index.js +1 -3
  28. package/es/label-date-picker/index.js +2 -6
  29. package/es/label-input/index.js +1 -3
  30. package/es/label-number-input/index.js +2 -6
  31. package/es/label-range-number/index.js +2 -6
  32. package/es/label-range-picker/index.js +3 -9
  33. package/es/label-select/index.js +2 -6
  34. package/es/label-text-area/index.js +3 -9
  35. package/es/label-tree-select/index.js +2 -6
  36. package/es/multipart-upload/index.js +6 -12
  37. package/es/multipart-upload/parse2RegexOption.js +1 -3
  38. package/es/number-format-input/index.js +2 -6
  39. package/es/number-input/index.js +3 -9
  40. package/es/rc-echart/index.js +1 -3
  41. package/es/rc-qrcode/index.js +1 -3
  42. package/es/rc-qrcode/useQrcode.js +1 -3
  43. package/es/rich-text-editor/index.js +3 -6
  44. package/es/single-img-upload/index.js +52 -60
  45. package/es/split-pane/index.js +1 -3
  46. package/es/step-number-input/index.js +3 -9
  47. package/es/text-area/index.js +3 -9
  48. package/es/text-input/index.js +3 -9
  49. package/lib/a-select/index.js +3 -9
  50. package/lib/beautiful-dnd/index.js +1 -3
  51. package/lib/button-drawer/index.js +4 -12
  52. package/lib/button-modal/index.js +4 -12
  53. package/lib/client-only/useClientOnly.js +1 -3
  54. package/lib/color-select/index.js +3 -9
  55. package/lib/complex-val-select/index.js +6 -12
  56. package/lib/condition-input/index.js +4 -12
  57. package/lib/condition-input/parse2RegexOption.js +1 -3
  58. package/lib/condition-select-input/index.js +3 -9
  59. package/lib/copy-to-clipboard/index.js +3 -9
  60. package/lib/count-down/index.js +1 -3
  61. package/lib/count-up/index.js +1 -3
  62. package/lib/flex/index.js +2 -6
  63. package/lib/flex/utils/index.js +1 -3
  64. package/lib/highlight-textarea/extractSpansOfClasses.js +1 -3
  65. package/lib/highlight-textarea/getRanges.js +1 -3
  66. package/lib/highlight-textarea/index.js +4 -12
  67. package/lib/img-crop/EasyCrop.js +4 -12
  68. package/lib/img-crop/getCroppedImg.js +49 -51
  69. package/lib/img-crop/index.js +54 -64
  70. package/lib/json-editor/index.js +3 -9
  71. package/lib/keep-tab/index.js +4 -12
  72. package/lib/label-auto-complete/index.js +2 -6
  73. package/lib/label-condition-input/index.js +2 -6
  74. package/lib/label-condition-select-input/index.js +3 -9
  75. package/lib/label-customize-range-picker/defaultRadioList.js +2 -6
  76. package/lib/label-customize-range-picker/index.js +4 -12
  77. package/lib/label-customize-range-picker/utils/index.js +1 -3
  78. package/lib/label-date-picker/index.js +2 -6
  79. package/lib/label-input/index.js +1 -3
  80. package/lib/label-number-input/index.js +2 -6
  81. package/lib/label-range-number/index.js +2 -6
  82. package/lib/label-range-picker/index.js +3 -9
  83. package/lib/label-select/index.js +2 -6
  84. package/lib/label-text-area/index.js +3 -9
  85. package/lib/label-tree-select/index.js +2 -6
  86. package/lib/multipart-upload/index.js +7 -15
  87. package/lib/multipart-upload/parse2RegexOption.js +1 -3
  88. package/lib/number-format-input/index.js +2 -6
  89. package/lib/number-input/index.js +4 -12
  90. package/lib/rc-echart/core.js +1 -3
  91. package/lib/rc-echart/index.js +2 -6
  92. package/lib/rc-qrcode/index.js +2 -6
  93. package/lib/rc-qrcode/useQrcode.js +1 -3
  94. package/lib/rc-transition-group/index.js +1 -3
  95. package/lib/rich-text-editor/index.js +3 -6
  96. package/lib/single-img-upload/index.js +53 -63
  97. package/lib/sortable-hoc/index.js +1 -3
  98. package/lib/split-pane/index.js +1 -3
  99. package/lib/step-number-input/index.js +4 -12
  100. package/lib/text-area/index.js +4 -12
  101. package/lib/text-input/index.js +3 -9
  102. package/package.json +2 -2
@@ -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.17",
3
+ "version": "3.2.18",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -82,5 +82,5 @@
82
82
  "node": ">=10.0.0"
83
83
  },
84
84
  "license": "MIT",
85
- "gitHead": "5c18c6b490fb53da2b54ee48dc0fa81d46efe8b7"
85
+ "gitHead": "0e2047d5033f0a9fae9a1aadc70c179d4ea51beb"
86
86
  }