assui 2.0.145 → 2.1.0

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 (116) hide show
  1. package/es/button-drawer/index.d.ts +1 -1
  2. package/es/button-modal/index.d.ts +1 -1
  3. package/es/copy-to-clipboard/style/index.css +58 -43
  4. package/es/highlight-textarea/extractSpansOfClasses.js +9 -7
  5. package/es/highlight-textarea/getRanges.js +9 -7
  6. package/es/highlight-textarea/index.js +3 -3
  7. package/es/highlight-textarea/style/index.css +169 -41
  8. package/es/highlight-textarea/types.js +1 -0
  9. package/es/img-crop/index.js +7 -7
  10. package/es/img-crop/style/index.css +1784 -0
  11. package/es/img-crop/style/index.less +1 -1
  12. package/es/keep-tab/style/index.css +40 -23
  13. package/es/label-auto-complete/style/index.css +1784 -0
  14. package/es/label-auto-complete/style/index.less +1 -1
  15. package/es/label-customize-range-picker/defaultRadioList.d.ts +24 -0
  16. package/es/label-customize-range-picker/defaultRadioList.js +79 -0
  17. package/es/label-customize-range-picker/index.d.ts +6 -7
  18. package/es/label-customize-range-picker/index.js +9 -12
  19. package/es/label-customize-range-picker/style/index.css +1784 -0
  20. package/es/label-customize-range-picker/style/index.less +1 -1
  21. package/es/label-date-picker/index.js +1 -1
  22. package/es/label-date-picker/style/index.css +1784 -0
  23. package/es/label-date-picker/style/index.less +1 -1
  24. package/es/label-number-input/index.js +1 -1
  25. package/es/label-range-picker/style/index.css +1784 -0
  26. package/es/label-range-picker/style/index.less +1 -1
  27. package/es/label-select/style/index.css +1784 -0
  28. package/es/label-select/style/index.less +1 -1
  29. package/es/label-tree-select/style/index.css +1784 -0
  30. package/es/label-tree-select/style/index.less +1 -1
  31. package/es/number-input/index.js +4 -4
  32. package/es/number-input/utils.js +1 -1
  33. package/es/rich-text-editor/style/index.css +6 -5
  34. package/es/single-img-upload/index.js +1 -1
  35. package/es/single-img-upload/style/index.css +1784 -0
  36. package/es/single-img-upload/style/index.less +1 -1
  37. package/es/step-number-input/index.js +8 -8
  38. package/es/step-number-input/style/index.css +1784 -0
  39. package/es/step-number-input/style/index.less +1 -1
  40. package/es/text-input/index.js +8 -6
  41. package/es/text-input/style/index.css +169 -41
  42. package/lib/beautiful-dnd/index.js +13 -7
  43. package/lib/button-drawer/index.d.ts +1 -1
  44. package/lib/button-drawer/index.js +18 -12
  45. package/lib/button-modal/index.d.ts +1 -1
  46. package/lib/button-modal/index.js +14 -8
  47. package/lib/condition-input/index.js +17 -11
  48. package/lib/condition-input/parse2RegexOption.js +3 -3
  49. package/lib/copy-to-clipboard/index.js +15 -9
  50. package/lib/copy-to-clipboard/style/index.css +58 -43
  51. package/lib/highlight-textarea/HighlighedContents.js +2 -2
  52. package/lib/highlight-textarea/extractSpansOfClasses.js +9 -7
  53. package/lib/highlight-textarea/getRanges.js +10 -8
  54. package/lib/highlight-textarea/index.js +19 -13
  55. package/lib/highlight-textarea/style/index.css +169 -41
  56. package/lib/img-crop/EasyCrop.js +13 -7
  57. package/lib/img-crop/index.js +21 -15
  58. package/lib/img-crop/style/index.css +1784 -0
  59. package/lib/img-crop/style/index.less +1 -1
  60. package/lib/index.js +38 -31
  61. package/lib/keep-tab/index.js +17 -11
  62. package/lib/keep-tab/style/index.css +40 -23
  63. package/lib/label-auto-complete/index.js +5 -5
  64. package/lib/label-auto-complete/style/index.css +1784 -0
  65. package/lib/label-auto-complete/style/index.less +1 -1
  66. package/lib/label-condition-input/index.js +5 -5
  67. package/lib/label-customize-range-picker/defaultRadioList.d.ts +24 -0
  68. package/lib/label-customize-range-picker/defaultRadioList.js +93 -0
  69. package/lib/label-customize-range-picker/index.d.ts +6 -7
  70. package/lib/label-customize-range-picker/index.js +26 -24
  71. package/lib/label-customize-range-picker/style/index.css +1784 -0
  72. package/lib/label-customize-range-picker/style/index.less +1 -1
  73. package/lib/label-date-picker/index.js +5 -5
  74. package/lib/label-date-picker/style/index.css +1784 -0
  75. package/lib/label-date-picker/style/index.less +1 -1
  76. package/lib/label-input/index.js +5 -5
  77. package/lib/label-number-input/index.js +6 -6
  78. package/lib/label-range-picker/index.js +3 -3
  79. package/lib/label-range-picker/style/index.css +1784 -0
  80. package/lib/label-range-picker/style/index.less +1 -1
  81. package/lib/label-select/index.js +5 -5
  82. package/lib/label-select/style/index.css +1784 -0
  83. package/lib/label-select/style/index.less +1 -1
  84. package/lib/label-text-area/index.js +4 -4
  85. package/lib/label-tree-select/index.js +4 -4
  86. package/lib/label-tree-select/style/index.css +1784 -0
  87. package/lib/label-tree-select/style/index.less +1 -1
  88. package/lib/number-input/index.js +21 -15
  89. package/lib/number-input/utils.js +8 -4
  90. package/lib/rc-echart/core.js +21 -15
  91. package/lib/rc-echart/index.js +13 -7
  92. package/lib/rc-qrcode/index.js +14 -8
  93. package/lib/rc-qrcode/useQrcode.js +4 -3
  94. package/lib/rc-transition-group/index.js +13 -7
  95. package/lib/rich-text-editor/index.js +1 -1
  96. package/lib/rich-text-editor/style/index.css +6 -5
  97. package/lib/single-img-upload/index.js +18 -12
  98. package/lib/single-img-upload/style/index.css +1784 -0
  99. package/lib/single-img-upload/style/index.less +1 -1
  100. package/lib/sortable-hoc/index.js +13 -7
  101. package/lib/split-pane/index.js +13 -7
  102. package/lib/step-number-input/index.js +32 -26
  103. package/lib/step-number-input/style/index.css +1784 -0
  104. package/lib/step-number-input/style/index.less +1 -1
  105. package/lib/text-area/index.js +14 -8
  106. package/lib/text-input/index.js +8 -6
  107. package/lib/text-input/style/index.css +169 -41
  108. package/package.json +4 -3
  109. package/es/label-customize-range-picker/getDateScope.d.ts +0 -45
  110. package/es/label-customize-range-picker/getDateScope.js +0 -85
  111. package/es/label-customize-range-picker/getRadioList.d.ts +0 -10
  112. package/es/label-customize-range-picker/getRadioList.js +0 -49
  113. package/lib/label-customize-range-picker/getDateScope.d.ts +0 -45
  114. package/lib/label-customize-range-picker/getDateScope.js +0 -99
  115. package/lib/label-customize-range-picker/getRadioList.d.ts +0 -10
  116. package/lib/label-customize-range-picker/getRadioList.js +0 -55
@@ -16,6 +16,7 @@
16
16
  border: 1px solid #d9d9d9;
17
17
  border-radius: 2px;
18
18
  transition: all 0.3s;
19
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
19
20
  display: inline-flex;
20
21
  }
21
22
  .ant-input-affix-wrapper::-moz-placeholder {
@@ -23,9 +24,15 @@
23
24
  }
24
25
  .ant-input-affix-wrapper:-ms-input-placeholder {
25
26
  color: #bfbfbf;
27
+ -ms-user-select: none;
28
+ user-select: none;
26
29
  }
27
30
  .ant-input-affix-wrapper::placeholder {
28
31
  color: #bfbfbf;
32
+ -webkit-user-select: none;
33
+ -moz-user-select: none;
34
+ -ms-user-select: none;
35
+ user-select: none;
29
36
  }
30
37
  .ant-input-affix-wrapper:-moz-placeholder-shown {
31
38
  text-overflow: ellipsis;
@@ -38,7 +45,7 @@
38
45
  }
39
46
  .ant-input-affix-wrapper:hover {
40
47
  border-color: #40a9ff;
41
- border-right-width: 1px !important;
48
+ border-right-width: 1px;
42
49
  }
43
50
  .ant-input-rtl .ant-input-affix-wrapper:hover {
44
51
  border-right-width: 0;
@@ -47,9 +54,9 @@
47
54
  .ant-input-affix-wrapper:focus,
48
55
  .ant-input-affix-wrapper-focused {
49
56
  border-color: #40a9ff;
50
- border-right-width: 1px !important;
51
- outline: 0;
52
57
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
58
+ border-right-width: 1px;
59
+ outline: 0;
53
60
  }
54
61
  .ant-input-rtl .ant-input-affix-wrapper:focus,
55
62
  .ant-input-rtl .ant-input-affix-wrapper-focused {
@@ -59,29 +66,33 @@
59
66
  .ant-input-affix-wrapper-disabled {
60
67
  color: rgba(0, 0, 0, 0.25);
61
68
  background-color: #f5f5f5;
69
+ border-color: #d9d9d9;
70
+ box-shadow: none;
62
71
  cursor: not-allowed;
63
72
  opacity: 1;
64
73
  }
65
74
  .ant-input-affix-wrapper-disabled:hover {
66
75
  border-color: #d9d9d9;
67
- border-right-width: 1px !important;
76
+ border-right-width: 1px;
68
77
  }
69
78
  .ant-input-affix-wrapper[disabled] {
70
79
  color: rgba(0, 0, 0, 0.25);
71
80
  background-color: #f5f5f5;
81
+ border-color: #d9d9d9;
82
+ box-shadow: none;
72
83
  cursor: not-allowed;
73
84
  opacity: 1;
74
85
  }
75
86
  .ant-input-affix-wrapper[disabled]:hover {
76
87
  border-color: #d9d9d9;
77
- border-right-width: 1px !important;
78
- }
79
- .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless,
80
- .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:hover,
81
- .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:focus,
82
- .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-focused,
83
- .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-disabled,
84
- .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless[disabled] {
88
+ border-right-width: 1px;
89
+ }
90
+ .ant-input-affix-wrapper-borderless,
91
+ .ant-input-affix-wrapper-borderless:hover,
92
+ .ant-input-affix-wrapper-borderless:focus,
93
+ .ant-input-affix-wrapper-borderless-focused,
94
+ .ant-input-affix-wrapper-borderless-disabled,
95
+ .ant-input-affix-wrapper-borderless[disabled] {
85
96
  background-color: transparent;
86
97
  border: none;
87
98
  box-shadow: none;
@@ -106,7 +117,7 @@ textarea.ant-input-affix-wrapper {
106
117
  }
107
118
  .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
108
119
  border-color: #40a9ff;
109
- border-right-width: 1px !important;
120
+ border-right-width: 1px;
110
121
  z-index: 1;
111
122
  }
112
123
  .ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
@@ -142,31 +153,46 @@ textarea.ant-input-affix-wrapper {
142
153
  flex: none;
143
154
  align-items: center;
144
155
  }
156
+ .ant-input-prefix > *:not(:last-child),
157
+ .ant-input-suffix > *:not(:last-child) {
158
+ margin-right: 8px;
159
+ }
160
+ .ant-input-show-count-suffix {
161
+ color: rgba(0, 0, 0, 0.45);
162
+ }
163
+ .ant-input-show-count-has-suffix {
164
+ margin-right: 2px;
165
+ }
145
166
  .ant-input-prefix {
146
167
  margin-right: 4px;
147
168
  }
148
169
  .ant-input-suffix {
149
170
  margin-left: 4px;
150
171
  }
151
- .anticon.ant-input-clear-icon {
152
- margin: 0 4px;
172
+ .anticon.ant-input-clear-icon,
173
+ .ant-input-clear-icon {
174
+ margin: 0;
153
175
  color: rgba(0, 0, 0, 0.25);
154
176
  font-size: 12px;
155
177
  vertical-align: -1px;
156
178
  cursor: pointer;
157
179
  transition: color 0.3s;
158
180
  }
159
- .anticon.ant-input-clear-icon:hover {
181
+ .anticon.ant-input-clear-icon:hover,
182
+ .ant-input-clear-icon:hover {
160
183
  color: rgba(0, 0, 0, 0.45);
161
184
  }
162
- .anticon.ant-input-clear-icon:active {
185
+ .anticon.ant-input-clear-icon:active,
186
+ .ant-input-clear-icon:active {
163
187
  color: rgba(0, 0, 0, 0.85);
164
188
  }
165
- .anticon.ant-input-clear-icon-hidden {
189
+ .anticon.ant-input-clear-icon-hidden,
190
+ .ant-input-clear-icon-hidden {
166
191
  visibility: hidden;
167
192
  }
168
- .anticon.ant-input-clear-icon:last-child {
169
- margin-right: 0;
193
+ .anticon.ant-input-clear-icon-has-suffix,
194
+ .ant-input-clear-icon-has-suffix {
195
+ margin: 0 4px;
170
196
  }
171
197
  .ant-input-affix-wrapper-textarea-with-clear-btn {
172
198
  padding: 0 !important;
@@ -178,6 +204,80 @@ textarea.ant-input-affix-wrapper {
178
204
  right: 8px;
179
205
  z-index: 1;
180
206
  }
207
+ .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
208
+ .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
209
+ background: #fff;
210
+ border-color: #ff4d4f;
211
+ }
212
+ .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
213
+ .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
214
+ border-color: #ff7875;
215
+ box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
216
+ border-right-width: 1px;
217
+ outline: 0;
218
+ }
219
+ .ant-input-status-error .ant-input-prefix {
220
+ color: #ff4d4f;
221
+ }
222
+ .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
223
+ .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
224
+ background: #fff;
225
+ border-color: #faad14;
226
+ }
227
+ .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
228
+ .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
229
+ border-color: #ffc53d;
230
+ box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
231
+ border-right-width: 1px;
232
+ outline: 0;
233
+ }
234
+ .ant-input-status-warning .ant-input-prefix {
235
+ color: #faad14;
236
+ }
237
+ .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
238
+ .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
239
+ background: #fff;
240
+ border-color: #ff4d4f;
241
+ }
242
+ .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
243
+ .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
244
+ border-color: #ff7875;
245
+ box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
246
+ border-right-width: 1px;
247
+ outline: 0;
248
+ }
249
+ .ant-input-affix-wrapper-status-error .ant-input-prefix {
250
+ color: #ff4d4f;
251
+ }
252
+ .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
253
+ .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
254
+ background: #fff;
255
+ border-color: #faad14;
256
+ }
257
+ .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
258
+ .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
259
+ border-color: #ffc53d;
260
+ box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
261
+ border-right-width: 1px;
262
+ outline: 0;
263
+ }
264
+ .ant-input-affix-wrapper-status-warning .ant-input-prefix {
265
+ color: #faad14;
266
+ }
267
+ .ant-input-textarea-status-error.ant-input-textarea-has-feedback .ant-input,
268
+ .ant-input-textarea-status-warning.ant-input-textarea-has-feedback .ant-input,
269
+ .ant-input-textarea-status-success.ant-input-textarea-has-feedback .ant-input,
270
+ .ant-input-textarea-status-validating.ant-input-textarea-has-feedback .ant-input {
271
+ padding-right: 24px;
272
+ }
273
+ .ant-input-group-wrapper-status-error .ant-input-group-addon {
274
+ color: #ff4d4f;
275
+ border-color: #ff4d4f;
276
+ }
277
+ .ant-input-group-wrapper-status-warning .ant-input-group-addon {
278
+ color: #faad14;
279
+ border-color: #faad14;
280
+ }
181
281
  .ant-input {
182
282
  box-sizing: border-box;
183
283
  margin: 0;
@@ -198,15 +298,22 @@ textarea.ant-input-affix-wrapper {
198
298
  border: 1px solid #d9d9d9;
199
299
  border-radius: 2px;
200
300
  transition: all 0.3s;
301
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
201
302
  }
202
303
  .ant-input::-moz-placeholder {
203
304
  opacity: 1;
204
305
  }
205
306
  .ant-input:-ms-input-placeholder {
206
307
  color: #bfbfbf;
308
+ -ms-user-select: none;
309
+ user-select: none;
207
310
  }
208
311
  .ant-input::placeholder {
209
312
  color: #bfbfbf;
313
+ -webkit-user-select: none;
314
+ -moz-user-select: none;
315
+ -ms-user-select: none;
316
+ user-select: none;
210
317
  }
211
318
  .ant-input:-moz-placeholder-shown {
212
319
  text-overflow: ellipsis;
@@ -219,7 +326,7 @@ textarea.ant-input-affix-wrapper {
219
326
  }
220
327
  .ant-input:hover {
221
328
  border-color: #40a9ff;
222
- border-right-width: 1px !important;
329
+ border-right-width: 1px;
223
330
  }
224
331
  .ant-input-rtl .ant-input:hover {
225
332
  border-right-width: 0;
@@ -228,9 +335,9 @@ textarea.ant-input-affix-wrapper {
228
335
  .ant-input:focus,
229
336
  .ant-input-focused {
230
337
  border-color: #40a9ff;
231
- border-right-width: 1px !important;
232
- outline: 0;
233
338
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
339
+ border-right-width: 1px;
340
+ outline: 0;
234
341
  }
235
342
  .ant-input-rtl .ant-input:focus,
236
343
  .ant-input-rtl .ant-input-focused {
@@ -240,29 +347,33 @@ textarea.ant-input-affix-wrapper {
240
347
  .ant-input-disabled {
241
348
  color: rgba(0, 0, 0, 0.25);
242
349
  background-color: #f5f5f5;
350
+ border-color: #d9d9d9;
351
+ box-shadow: none;
243
352
  cursor: not-allowed;
244
353
  opacity: 1;
245
354
  }
246
355
  .ant-input-disabled:hover {
247
356
  border-color: #d9d9d9;
248
- border-right-width: 1px !important;
357
+ border-right-width: 1px;
249
358
  }
250
359
  .ant-input[disabled] {
251
360
  color: rgba(0, 0, 0, 0.25);
252
361
  background-color: #f5f5f5;
362
+ border-color: #d9d9d9;
363
+ box-shadow: none;
253
364
  cursor: not-allowed;
254
365
  opacity: 1;
255
366
  }
256
367
  .ant-input[disabled]:hover {
257
368
  border-color: #d9d9d9;
258
- border-right-width: 1px !important;
259
- }
260
- .ant-input.ant-input-borderless,
261
- .ant-input.ant-input-borderless:hover,
262
- .ant-input.ant-input-borderless:focus,
263
- .ant-input.ant-input-borderless-focused,
264
- .ant-input.ant-input-borderless-disabled,
265
- .ant-input.ant-input-borderless[disabled] {
369
+ border-right-width: 1px;
370
+ }
371
+ .ant-input-borderless,
372
+ .ant-input-borderless:hover,
373
+ .ant-input-borderless:focus,
374
+ .ant-input-borderless-focused,
375
+ .ant-input-borderless-disabled,
376
+ .ant-input-borderless[disabled] {
266
377
  background-color: transparent;
267
378
  border: none;
268
379
  box-shadow: none;
@@ -430,10 +541,6 @@ textarea.ant-input {
430
541
  .ant-input-group-sm .ant-select-single .ant-select-selector {
431
542
  height: 24px;
432
543
  }
433
- .ant-input-group .ant-input-affix-wrapper:not(:first-child) {
434
- border-top-left-radius: 0;
435
- border-bottom-left-radius: 0;
436
- }
437
544
  .ant-input-group .ant-input-affix-wrapper:not(:last-child) {
438
545
  border-top-right-radius: 0;
439
546
  border-bottom-right-radius: 0;
@@ -442,6 +549,11 @@ textarea.ant-input {
442
549
  border-top-left-radius: 2px;
443
550
  border-bottom-left-radius: 2px;
444
551
  }
552
+ .ant-input-group .ant-input-affix-wrapper:not(:first-child),
553
+ .ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:first-child) {
554
+ border-top-left-radius: 0;
555
+ border-bottom-left-radius: 0;
556
+ }
445
557
  .ant-input-group.ant-input-group-compact {
446
558
  display: block;
447
559
  }
@@ -597,12 +709,12 @@ textarea.ant-input {
597
709
  text-align: start;
598
710
  vertical-align: top;
599
711
  }
600
- .ant-input-password-icon {
712
+ .ant-input-password-icon.anticon {
601
713
  color: rgba(0, 0, 0, 0.45);
602
714
  cursor: pointer;
603
715
  transition: all 0.3s;
604
716
  }
605
- .ant-input-password-icon:hover {
717
+ .ant-input-password-icon.anticon:hover {
606
718
  color: rgba(0, 0, 0, 0.85);
607
719
  }
608
720
  .ant-input[type='color'] {
@@ -616,6 +728,9 @@ textarea.ant-input {
616
728
  padding-top: 3px;
617
729
  padding-bottom: 3px;
618
730
  }
731
+ .ant-input-textarea-show-count > .ant-input {
732
+ height: 100%;
733
+ }
619
734
  .ant-input-textarea-show-count::after {
620
735
  float: right;
621
736
  color: rgba(0, 0, 0, 0.45);
@@ -623,6 +738,19 @@ textarea.ant-input {
623
738
  content: attr(data-count);
624
739
  pointer-events: none;
625
740
  }
741
+ .ant-input-textarea-show-count.ant-input-textarea-in-form-item::after {
742
+ margin-bottom: -22px;
743
+ }
744
+ .ant-input-textarea-suffix {
745
+ position: absolute;
746
+ top: 0;
747
+ right: 11px;
748
+ bottom: 0;
749
+ z-index: 1;
750
+ display: inline-flex;
751
+ align-items: center;
752
+ margin: auto;
753
+ }
626
754
  .ant-input-search .ant-input:hover,
627
755
  .ant-input-search .ant-input:focus {
628
756
  border-color: #40a9ff;
@@ -691,9 +819,9 @@ textarea.ant-input {
691
819
  .ant-input-textarea-rtl.ant-input-textarea-show-count::after {
692
820
  text-align: left;
693
821
  }
694
- .ant-input-affix-wrapper-rtl .ant-input-clear-icon:last-child {
695
- margin-right: 4px;
696
- margin-left: 0;
822
+ .ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix {
823
+ margin-right: 0;
824
+ margin-left: 4px;
697
825
  }
698
826
  .ant-input-affix-wrapper-rtl .ant-input-clear-icon {
699
827
  right: auto;
@@ -18,12 +18,18 @@ var __assign = this && this.__assign || function () {
18
18
 
19
19
  var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
20
20
  if (k2 === undefined) k2 = k;
21
- Object.defineProperty(o, k2, {
22
- enumerable: true,
23
- get: function get() {
24
- return m[k];
25
- }
26
- });
21
+ var desc = Object.getOwnPropertyDescriptor(m, k);
22
+
23
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
24
+ desc = {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return m[k];
28
+ }
29
+ };
30
+ }
31
+
32
+ Object.defineProperty(o, k2, desc);
27
33
  } : function (o, m, k, k2) {
28
34
  if (k2 === undefined) k2 = k;
29
35
  o[k2] = m[k];
@@ -42,7 +48,7 @@ var __importStar = this && this.__importStar || function (mod) {
42
48
  if (mod && mod.__esModule) return mod;
43
49
  var result = {};
44
50
  if (mod != null) for (var k in mod) {
45
- if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
51
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
46
52
  }
47
53
 
48
54
  __setModuleDefault(result, mod);
@@ -18,12 +18,18 @@ var __assign = this && this.__assign || function () {
18
18
 
19
19
  var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
20
20
  if (k2 === undefined) k2 = k;
21
- Object.defineProperty(o, k2, {
22
- enumerable: true,
23
- get: function get() {
24
- return m[k];
25
- }
26
- });
21
+ var desc = Object.getOwnPropertyDescriptor(m, k);
22
+
23
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
24
+ desc = {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return m[k];
28
+ }
29
+ };
30
+ }
31
+
32
+ Object.defineProperty(o, k2, desc);
27
33
  } : function (o, m, k, k2) {
28
34
  if (k2 === undefined) k2 = k;
29
35
  o[k2] = m[k];
@@ -42,7 +48,7 @@ var __importStar = this && this.__importStar || function (mod) {
42
48
  if (mod && mod.__esModule) return mod;
43
49
  var result = {};
44
50
  if (mod != null) for (var k in mod) {
45
- if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
51
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
46
52
  }
47
53
 
48
54
  __setModuleDefault(result, mod);
@@ -281,8 +287,8 @@ var ImgCrop = function ImgCrop(props) {
281
287
  zipImg = props.zipImg,
282
288
  children = props.children,
283
289
  cropperProps = props.cropperProps;
284
- var pkg = prefix + "-img-crop";
285
- var MEDIA_CLASS = pkg + "-media";
290
+ var pkg = "".concat(prefix, "-img-crop");
291
+ var MEDIA_CLASS = "".concat(pkg, "-media");
286
292
  var hasZoom = zoom === true;
287
293
  var hasRotate = rotate === true;
288
294
 
@@ -389,7 +395,7 @@ var ImgCrop = function ImgCrop(props) {
389
395
 
390
396
  return __generator(this, function (_c) {
391
397
  onClose();
392
- naturalImg = document.querySelector("." + MEDIA_CLASS);
398
+ naturalImg = document.querySelector(".".concat(MEDIA_CLASS));
393
399
  naturalWidth = naturalImg.naturalWidth, naturalHeight = naturalImg.naturalHeight;
394
400
  canvas = document.createElement('canvas');
395
401
  ctx = canvas.getContext('2d');
@@ -431,7 +437,7 @@ var ImgCrop = function ImgCrop(props) {
431
437
  imgUrl = url.createObjectURL(newFile);
432
438
  return [4
433
439
  /*yield*/
434
- , getCroppedImg_1["default"](imgUrl, zipImg, name, type)];
440
+ , (0, getCroppedImg_1["default"])(imgUrl, zipImg, name, type)];
435
441
 
436
442
  case 1:
437
443
  fileObj = _a.sent().fileObj;
@@ -505,7 +511,7 @@ var ImgCrop = function ImgCrop(props) {
505
511
  var renderComponent = function renderComponent(titleOfModal) {
506
512
  return React.createElement(React.Fragment, null, renderUpload(), src && React.createElement(modal_1["default"], __assign({
507
513
  visible: true,
508
- wrapClassName: pkg + "-modal",
514
+ wrapClassName: "".concat(pkg, "-modal"),
509
515
  title: titleOfModal,
510
516
  onOk: onOk,
511
517
  onCancel: onClose,
@@ -525,11 +531,11 @@ var ImgCrop = function ImgCrop(props) {
525
531
  maxZoom: maxZoom,
526
532
  onComplete: onComplete,
527
533
  classes: {
528
- containerClassName: pkg + "-container",
534
+ containerClassName: "".concat(pkg, "-container"),
529
535
  mediaClassName: MEDIA_CLASS
530
536
  }
531
537
  }, cropperProps)), hasZoom && React.createElement("div", {
532
- className: pkg + "-control zoom"
538
+ className: "".concat(pkg, "-control zoom")
533
539
  }, React.createElement("button", {
534
540
  type: "button",
535
541
  onClick: subZoomVal,
@@ -545,7 +551,7 @@ var ImgCrop = function ImgCrop(props) {
545
551
  onClick: addZoomVal,
546
552
  disabled: isMaxZoom
547
553
  }, "\uFF0B")), hasRotate && React.createElement("div", {
548
- className: pkg + "-control rotate"
554
+ className: "".concat(pkg, "-control rotate")
549
555
  }, React.createElement("button", {
550
556
  type: "button",
551
557
  onClick: subRotateVal,