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