assui 3.1.84 → 3.1.86

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