assui 3.2.39 → 3.2.40

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 (512) hide show
  1. package/es/a-select/index.d.ts +5 -5
  2. package/es/a-select/index.js +88 -59
  3. package/es/a-select/style/index.css +52 -47
  4. package/es/a-select/style/index.js +2 -2
  5. package/es/a-select/style/index.less +2 -1
  6. package/es/area-text/index.d.ts +2 -2
  7. package/es/area-text/index.js +9 -5
  8. package/es/area-text/style/index.js +1 -1
  9. package/es/beautiful-dnd/index.js +1 -1
  10. package/es/button-drawer/index.d.ts +10 -8
  11. package/es/button-drawer/index.js +94 -61
  12. package/es/button-drawer/style/index.js +1 -1
  13. package/es/button-modal/index.d.ts +10 -8
  14. package/es/button-modal/index.js +93 -60
  15. package/es/button-modal/style/index.js +1 -1
  16. package/es/client-only/index.d.ts +2 -2
  17. package/es/client-only/index.js +1 -1
  18. package/es/client-only/useClientOnly.js +24 -22
  19. package/es/color-select/index.d.ts +18 -18
  20. package/es/color-select/index.js +113 -68
  21. package/es/color-select/style/index.css +52 -47
  22. package/es/color-select/style/index.js +1 -1
  23. package/es/complex-val-select/index.d.ts +25 -13
  24. package/es/complex-val-select/index.js +71 -54
  25. package/es/complex-val-select/style/index.js +1 -1
  26. package/es/condition-input/index.d.ts +21 -13
  27. package/es/condition-input/index.js +67 -51
  28. package/es/condition-input/parse2RegexOption.d.ts +10 -7
  29. package/es/condition-input/parse2RegexOption.js +31 -21
  30. package/es/condition-input/style/index.js +1 -1
  31. package/es/condition-select-input/index.d.ts +29 -29
  32. package/es/condition-select-input/index.js +196 -106
  33. package/es/condition-select-input/style/index.d.ts +1 -1
  34. package/es/condition-select-input/style/index.js +3 -3
  35. package/es/config-provider/context.d.ts +1 -1
  36. package/es/config-provider/context.js +2 -2
  37. package/es/config-provider/index.d.ts +27 -3
  38. package/es/config-provider/index.js +9 -5
  39. package/es/copy-to-clipboard/index.d.ts +20 -18
  40. package/es/copy-to-clipboard/index.js +63 -44
  41. package/es/copy-to-clipboard/style/index.css +23 -14
  42. package/es/copy-to-clipboard/style/index.js +1 -1
  43. package/es/count-down/index.d.ts +3 -3
  44. package/es/count-down/index.js +44 -26
  45. package/es/count-up/index.d.ts +2 -2
  46. package/es/count-up/index.js +1 -1
  47. package/es/flex/index.d.ts +21 -18
  48. package/es/flex/index.js +64 -32
  49. package/es/flex/style/index.css +52 -47
  50. package/es/flex/style/index.js +1 -1
  51. package/es/flex/utils/gapSize.js +1 -1
  52. package/es/flex/utils/index.d.ts +27 -3
  53. package/es/flex/utils/index.js +53 -19
  54. package/es/highlight-textarea/HighlighedContents.d.ts +6 -3
  55. package/es/highlight-textarea/HighlighedContents.js +9 -5
  56. package/es/highlight-textarea/extractSpansOfClasses.d.ts +10 -10
  57. package/es/highlight-textarea/extractSpansOfClasses.js +62 -45
  58. package/es/highlight-textarea/getRanges.js +41 -34
  59. package/es/highlight-textarea/getType.js +6 -2
  60. package/es/highlight-textarea/index.d.ts +14 -7
  61. package/es/highlight-textarea/index.js +114 -70
  62. package/es/highlight-textarea/style/index.css +125 -55
  63. package/es/highlight-textarea/style/index.js +1 -1
  64. package/es/highlight-textarea/types.d.ts +26 -7
  65. package/es/highlight-textarea/types.js +1 -1
  66. package/es/highlight-words/index.d.ts +6 -2
  67. package/es/highlight-words/index.js +1 -1
  68. package/es/img-crop/EasyCrop.d.ts +6 -2
  69. package/es/img-crop/EasyCrop.js +104 -79
  70. package/es/img-crop/getCroppedImg.d.ts +8 -3
  71. package/es/img-crop/getCroppedImg.js +155 -118
  72. package/es/img-crop/index.d.ts +29 -29
  73. package/es/img-crop/index.js +490 -340
  74. package/es/img-crop/style/index.css +52 -47
  75. package/es/img-crop/style/index.d.ts +1 -1
  76. package/es/img-crop/style/index.js +3 -3
  77. package/es/index.d.ts +77 -71
  78. package/es/index.js +28 -28
  79. package/es/json-editor/index.d.ts +7 -5
  80. package/es/json-editor/index.js +91 -62
  81. package/es/json-editor/style/index.js +1 -1
  82. package/es/keep-tab/index.d.ts +17 -17
  83. package/es/keep-tab/index.js +125 -78
  84. package/es/keep-tab/style/index.css +72 -32
  85. package/es/keep-tab/style/index.js +1 -1
  86. package/es/label-auto-complete/index.d.ts +3 -3
  87. package/es/label-auto-complete/index.js +82 -58
  88. package/es/label-auto-complete/style/index.css +61 -50
  89. package/es/label-auto-complete/style/index.js +2 -2
  90. package/es/label-condition-input/index.d.ts +12 -11
  91. package/es/label-condition-input/index.js +100 -62
  92. package/es/label-condition-input/style/index.css +52 -47
  93. package/es/label-condition-input/style/index.js +1 -1
  94. package/es/label-condition-select-input/index.d.ts +35 -33
  95. package/es/label-condition-select-input/index.js +198 -109
  96. package/es/label-condition-select-input/style/index.css +52 -47
  97. package/es/label-condition-select-input/style/index.d.ts +1 -1
  98. package/es/label-condition-select-input/style/index.js +2 -2
  99. package/es/label-customize-range-picker/defaultRadioList.d.ts +34 -28
  100. package/es/label-customize-range-picker/defaultRadioList.js +206 -114
  101. package/es/label-customize-range-picker/index.d.ts +27 -24
  102. package/es/label-customize-range-picker/index.js +300 -141
  103. package/es/label-customize-range-picker/style/index.css +52 -47
  104. package/es/label-customize-range-picker/style/index.d.ts +2 -2
  105. package/es/label-customize-range-picker/style/index.js +4 -4
  106. package/es/label-customize-range-picker/utils/index.d.ts +9 -3
  107. package/es/label-customize-range-picker/utils/index.js +57 -29
  108. package/es/label-date-picker/index.d.ts +2 -2
  109. package/es/label-date-picker/index.js +81 -57
  110. package/es/label-date-picker/style/index.css +52 -47
  111. package/es/label-date-picker/style/index.js +2 -2
  112. package/es/label-input/index.d.ts +29 -25
  113. package/es/label-input/index.js +122 -80
  114. package/es/label-input/style/index.css +52 -47
  115. package/es/label-input/style/index.js +1 -1
  116. package/es/label-number-input/index.d.ts +6 -6
  117. package/es/label-number-input/index.js +101 -63
  118. package/es/label-number-input/style/index.css +54 -48
  119. package/es/label-number-input/style/index.js +1 -1
  120. package/es/label-range-number/index.d.ts +17 -17
  121. package/es/label-range-number/index.js +156 -95
  122. package/es/label-range-number/style/index.css +52 -47
  123. package/es/label-range-number/style/index.js +1 -1
  124. package/es/label-range-picker/index.d.ts +3 -3
  125. package/es/label-range-picker/index.js +103 -71
  126. package/es/label-range-picker/style/index.css +52 -47
  127. package/es/label-range-picker/style/index.js +2 -2
  128. package/es/label-select/index.d.ts +7 -5
  129. package/es/label-select/index.js +100 -69
  130. package/es/label-select/style/index.css +65 -51
  131. package/es/label-select/style/index.js +2 -2
  132. package/es/label-text-area/index.d.ts +21 -17
  133. package/es/label-text-area/index.js +97 -64
  134. package/es/label-text-area/style/index.css +52 -47
  135. package/es/label-text-area/style/index.js +1 -1
  136. package/es/label-tree-select/index.d.ts +8 -7
  137. package/es/label-tree-select/index.js +98 -61
  138. package/es/label-tree-select/style/index.css +55 -48
  139. package/es/label-tree-select/style/index.js +2 -2
  140. package/es/messages/ar_EG.d.ts +24 -24
  141. package/es/messages/ar_EG.js +5 -5
  142. package/es/messages/bg_BG.d.ts +24 -24
  143. package/es/messages/bg_BG.js +5 -5
  144. package/es/messages/cs_CZ.d.ts +24 -24
  145. package/es/messages/cs_CZ.js +5 -5
  146. package/es/messages/de_DE.d.ts +24 -24
  147. package/es/messages/de_DE.js +5 -5
  148. package/es/messages/en_US.d.ts +24 -24
  149. package/es/messages/en_US.js +5 -5
  150. package/es/messages/es_ES.d.ts +24 -24
  151. package/es/messages/es_ES.js +5 -5
  152. package/es/messages/fi_FI.d.ts +24 -24
  153. package/es/messages/fi_FI.js +5 -5
  154. package/es/messages/fr_FR.d.ts +24 -24
  155. package/es/messages/fr_FR.js +5 -5
  156. package/es/messages/id_ID.d.ts +24 -24
  157. package/es/messages/id_ID.js +5 -5
  158. package/es/messages/index.d.ts +27 -23
  159. package/es/messages/index.js +3 -3
  160. package/es/messages/it_IT.d.ts +24 -24
  161. package/es/messages/it_IT.js +5 -5
  162. package/es/messages/ja_JP.d.ts +24 -24
  163. package/es/messages/ja_JP.js +5 -5
  164. package/es/messages/ko_KR.d.ts +24 -24
  165. package/es/messages/ko_KR.js +5 -5
  166. package/es/messages/ms_MY.d.ts +24 -24
  167. package/es/messages/ms_MY.js +5 -5
  168. package/es/messages/nb_NO.d.ts +24 -24
  169. package/es/messages/nb_NO.js +5 -5
  170. package/es/messages/nl_NL.d.ts +24 -24
  171. package/es/messages/nl_NL.js +5 -5
  172. package/es/messages/pt_PT.d.ts +24 -24
  173. package/es/messages/pt_PT.js +5 -5
  174. package/es/messages/ro_RO.d.ts +24 -24
  175. package/es/messages/ro_RO.js +5 -5
  176. package/es/messages/ru_RU.d.ts +24 -24
  177. package/es/messages/ru_RU.js +5 -5
  178. package/es/messages/sv_SE.d.ts +24 -24
  179. package/es/messages/sv_SE.js +5 -5
  180. package/es/messages/th_TH.d.ts +24 -24
  181. package/es/messages/th_TH.js +5 -5
  182. package/es/messages/ug_UG.d.ts +24 -24
  183. package/es/messages/ug_UG.js +5 -5
  184. package/es/messages/vi_VN.d.ts +24 -24
  185. package/es/messages/vi_VN.js +5 -5
  186. package/es/messages/zh_CN.d.ts +24 -24
  187. package/es/messages/zh_CN.js +5 -5
  188. package/es/messages/zh_TW.d.ts +24 -24
  189. package/es/messages/zh_TW.js +5 -5
  190. package/es/multipart-upload/getMultipartUploadHandler.d.ts +3 -1
  191. package/es/multipart-upload/getMultipartUploadHandler.js +8 -6
  192. package/es/multipart-upload/index.d.ts +39 -33
  193. package/es/multipart-upload/index.js +217 -121
  194. package/es/multipart-upload/parse2RegexOption.d.ts +10 -7
  195. package/es/multipart-upload/parse2RegexOption.js +31 -21
  196. package/es/multipart-upload/style/index.css +52 -47
  197. package/es/multipart-upload/style/index.js +2 -2
  198. package/es/number-format-input/index.js +36 -25
  199. package/es/number-format-input/style/index.js +1 -1
  200. package/es/number-input/const/dataTypeEnum.d.ts +2 -2
  201. package/es/number-input/const/dataTypeEnum.js +1 -1
  202. package/es/number-input/const/numberType.d.ts +2 -2
  203. package/es/number-input/const/numberType.js +1 -1
  204. package/es/number-input/index.d.ts +37 -35
  205. package/es/number-input/index.js +94 -65
  206. package/es/number-input/style/index.js +1 -1
  207. package/es/number-input/utils.d.ts +15 -6
  208. package/es/number-input/utils.js +2 -2
  209. package/es/rc-echart/core.d.ts +13 -13
  210. package/es/rc-echart/core.js +28 -19
  211. package/es/rc-echart/index.d.ts +12 -12
  212. package/es/rc-echart/index.js +26 -16
  213. package/es/rc-motion/index.d.ts +14 -2
  214. package/es/rc-motion/index.js +1 -1
  215. package/es/rc-qrcode/index.d.ts +11 -8
  216. package/es/rc-qrcode/index.js +21 -17
  217. package/es/rc-qrcode/useQrcode.d.ts +5 -2
  218. package/es/rc-qrcode/useQrcode.js +38 -33
  219. package/es/rc-transition-group/index.js +1 -1
  220. package/es/resizable/index.d.ts +10 -1
  221. package/es/resizable/index.js +1 -1
  222. package/es/resizable/style/index.js +1 -1
  223. package/es/rich-text-editor/index.d.ts +18 -18
  224. package/es/rich-text-editor/index.js +78 -45
  225. package/es/rich-text-editor/lang/zh_CN.d.ts +404 -404
  226. package/es/rich-text-editor/lang/zh_CN.js +416 -393
  227. package/es/rich-text-editor/plugins/code/index.js +25 -20
  228. package/es/rich-text-editor/style/index.css +52 -47
  229. package/es/rich-text-editor/style/index.js +1 -1
  230. package/es/single-img-upload/index.d.ts +8 -8
  231. package/es/single-img-upload/index.js +338 -230
  232. package/es/single-img-upload/style/index.css +52 -47
  233. package/es/single-img-upload/style/index.js +4 -4
  234. package/es/sortable-hoc/index.js +1 -1
  235. package/es/split-pane/index.d.ts +53 -53
  236. package/es/split-pane/index.js +17 -13
  237. package/es/split-pane/style/index.js +1 -1
  238. package/es/step-number-input/const/countType.d.ts +2 -2
  239. package/es/step-number-input/const/countType.js +1 -1
  240. package/es/step-number-input/const/numberType.d.ts +2 -2
  241. package/es/step-number-input/const/numberType.js +1 -1
  242. package/es/step-number-input/index.d.ts +31 -31
  243. package/es/step-number-input/index.js +135 -85
  244. package/es/step-number-input/style/index.css +52 -47
  245. package/es/step-number-input/style/index.js +2 -2
  246. package/es/table-col/index.d.ts +3 -3
  247. package/es/table-col/index.js +11 -7
  248. package/es/table-col/style/index.js +1 -1
  249. package/es/text-area/index.d.ts +13 -8
  250. package/es/text-area/index.js +64 -48
  251. package/es/text-area/style/index.js +1 -1
  252. package/es/text-input/index.d.ts +3 -1
  253. package/es/text-input/index.js +76 -58
  254. package/es/text-input/style/index.css +123 -53
  255. package/es/text-input/style/index.js +1 -1
  256. package/lib/a-select/index.d.ts +5 -5
  257. package/lib/a-select/index.js +102 -69
  258. package/lib/a-select/style/index.css +52 -47
  259. package/lib/a-select/style/index.js +5 -5
  260. package/lib/a-select/style/index.less +2 -1
  261. package/lib/area-text/index.d.ts +2 -2
  262. package/lib/area-text/index.js +21 -13
  263. package/lib/area-text/style/index.js +4 -4
  264. package/lib/beautiful-dnd/index.js +52 -37
  265. package/lib/button-drawer/index.d.ts +10 -8
  266. package/lib/button-drawer/index.js +153 -101
  267. package/lib/button-drawer/style/index.js +4 -4
  268. package/lib/button-modal/index.d.ts +10 -8
  269. package/lib/button-modal/index.js +151 -99
  270. package/lib/button-modal/style/index.js +4 -4
  271. package/lib/client-only/index.d.ts +2 -2
  272. package/lib/client-only/index.js +5 -5
  273. package/lib/client-only/useClientOnly.js +28 -26
  274. package/lib/color-select/index.d.ts +18 -18
  275. package/lib/color-select/index.js +180 -112
  276. package/lib/color-select/style/index.css +52 -47
  277. package/lib/color-select/style/index.js +5 -5
  278. package/lib/complex-val-select/index.d.ts +25 -13
  279. package/lib/complex-val-select/index.js +140 -102
  280. package/lib/complex-val-select/style/index.js +4 -4
  281. package/lib/condition-input/index.d.ts +21 -13
  282. package/lib/condition-input/index.js +131 -96
  283. package/lib/condition-input/parse2RegexOption.d.ts +10 -7
  284. package/lib/condition-input/parse2RegexOption.js +47 -33
  285. package/lib/condition-input/style/index.js +4 -4
  286. package/lib/condition-select-input/index.d.ts +29 -29
  287. package/lib/condition-select-input/index.js +259 -150
  288. package/lib/condition-select-input/style/index.d.ts +1 -1
  289. package/lib/condition-select-input/style/index.js +6 -6
  290. package/lib/config-provider/context.d.ts +1 -1
  291. package/lib/config-provider/context.js +15 -11
  292. package/lib/config-provider/index.d.ts +27 -3
  293. package/lib/config-provider/index.js +69 -61
  294. package/lib/copy-to-clipboard/index.d.ts +20 -18
  295. package/lib/copy-to-clipboard/index.js +124 -86
  296. package/lib/copy-to-clipboard/style/index.css +23 -14
  297. package/lib/copy-to-clipboard/style/index.js +4 -4
  298. package/lib/count-down/index.d.ts +3 -3
  299. package/lib/count-down/index.js +58 -36
  300. package/lib/count-up/index.d.ts +2 -2
  301. package/lib/count-up/index.js +54 -39
  302. package/lib/flex/index.d.ts +21 -18
  303. package/lib/flex/index.js +78 -42
  304. package/lib/flex/style/index.css +52 -47
  305. package/lib/flex/style/index.js +4 -4
  306. package/lib/flex/utils/gapSize.js +4 -4
  307. package/lib/flex/utils/index.d.ts +27 -3
  308. package/lib/flex/utils/index.js +65 -27
  309. package/lib/highlight-textarea/HighlighedContents.d.ts +6 -3
  310. package/lib/highlight-textarea/HighlighedContents.js +24 -16
  311. package/lib/highlight-textarea/extractSpansOfClasses.d.ts +10 -10
  312. package/lib/highlight-textarea/extractSpansOfClasses.js +75 -54
  313. package/lib/highlight-textarea/getRanges.js +55 -44
  314. package/lib/highlight-textarea/getType.js +10 -6
  315. package/lib/highlight-textarea/index.d.ts +14 -7
  316. package/lib/highlight-textarea/index.js +176 -113
  317. package/lib/highlight-textarea/style/index.css +125 -55
  318. package/lib/highlight-textarea/style/index.js +4 -4
  319. package/lib/highlight-textarea/types.d.ts +26 -7
  320. package/lib/highlight-textarea/types.js +4 -4
  321. package/lib/highlight-words/index.d.ts +6 -2
  322. package/lib/highlight-words/index.js +13 -9
  323. package/lib/img-crop/EasyCrop.d.ts +6 -2
  324. package/lib/img-crop/EasyCrop.js +164 -120
  325. package/lib/img-crop/getCroppedImg.d.ts +8 -3
  326. package/lib/img-crop/getCroppedImg.js +158 -121
  327. package/lib/img-crop/index.d.ts +29 -29
  328. package/lib/img-crop/index.js +555 -383
  329. package/lib/img-crop/style/index.css +52 -47
  330. package/lib/img-crop/style/index.d.ts +1 -1
  331. package/lib/img-crop/style/index.js +6 -6
  332. package/lib/index.d.ts +77 -71
  333. package/lib/index.js +249 -198
  334. package/lib/json-editor/index.d.ts +7 -5
  335. package/lib/json-editor/index.js +156 -108
  336. package/lib/json-editor/style/index.js +5 -5
  337. package/lib/keep-tab/index.d.ts +17 -17
  338. package/lib/keep-tab/index.js +186 -120
  339. package/lib/keep-tab/style/index.css +72 -32
  340. package/lib/keep-tab/style/index.js +4 -4
  341. package/lib/label-auto-complete/index.d.ts +3 -3
  342. package/lib/label-auto-complete/index.js +103 -71
  343. package/lib/label-auto-complete/style/index.css +61 -50
  344. package/lib/label-auto-complete/style/index.js +5 -5
  345. package/lib/label-condition-input/index.d.ts +12 -11
  346. package/lib/label-condition-input/index.js +119 -77
  347. package/lib/label-condition-input/style/index.css +52 -47
  348. package/lib/label-condition-input/style/index.js +4 -4
  349. package/lib/label-condition-select-input/index.d.ts +35 -33
  350. package/lib/label-condition-select-input/index.js +262 -154
  351. package/lib/label-condition-select-input/style/index.css +52 -47
  352. package/lib/label-condition-select-input/style/index.d.ts +1 -1
  353. package/lib/label-condition-select-input/style/index.js +6 -6
  354. package/lib/label-customize-range-picker/defaultRadioList.d.ts +34 -28
  355. package/lib/label-customize-range-picker/defaultRadioList.js +297 -156
  356. package/lib/label-customize-range-picker/index.d.ts +27 -24
  357. package/lib/label-customize-range-picker/index.js +363 -186
  358. package/lib/label-customize-range-picker/style/index.css +52 -47
  359. package/lib/label-customize-range-picker/style/index.d.ts +2 -2
  360. package/lib/label-customize-range-picker/style/index.js +8 -8
  361. package/lib/label-customize-range-picker/utils/index.d.ts +9 -3
  362. package/lib/label-customize-range-picker/utils/index.js +75 -38
  363. package/lib/label-date-picker/index.d.ts +2 -2
  364. package/lib/label-date-picker/index.js +96 -68
  365. package/lib/label-date-picker/style/index.css +52 -47
  366. package/lib/label-date-picker/style/index.js +5 -5
  367. package/lib/label-input/index.d.ts +29 -25
  368. package/lib/label-input/index.js +142 -96
  369. package/lib/label-input/style/index.css +52 -47
  370. package/lib/label-input/style/index.js +4 -4
  371. package/lib/label-number-input/index.d.ts +6 -6
  372. package/lib/label-number-input/index.js +122 -78
  373. package/lib/label-number-input/style/index.css +54 -48
  374. package/lib/label-number-input/style/index.js +4 -4
  375. package/lib/label-range-number/index.d.ts +17 -17
  376. package/lib/label-range-number/index.js +172 -107
  377. package/lib/label-range-number/style/index.css +52 -47
  378. package/lib/label-range-number/style/index.js +4 -4
  379. package/lib/label-range-picker/index.d.ts +3 -3
  380. package/lib/label-range-picker/index.js +122 -83
  381. package/lib/label-range-picker/style/index.css +52 -47
  382. package/lib/label-range-picker/style/index.js +5 -5
  383. package/lib/label-select/index.d.ts +7 -5
  384. package/lib/label-select/index.js +130 -83
  385. package/lib/label-select/style/index.css +65 -51
  386. package/lib/label-select/style/index.js +5 -5
  387. package/lib/label-text-area/index.d.ts +21 -17
  388. package/lib/label-text-area/index.js +114 -77
  389. package/lib/label-text-area/style/index.css +52 -47
  390. package/lib/label-text-area/style/index.js +4 -4
  391. package/lib/label-tree-select/index.d.ts +8 -7
  392. package/lib/label-tree-select/index.js +113 -72
  393. package/lib/label-tree-select/style/index.css +55 -48
  394. package/lib/label-tree-select/style/index.js +5 -5
  395. package/lib/messages/ar_EG.d.ts +24 -24
  396. package/lib/messages/ar_EG.js +8 -8
  397. package/lib/messages/bg_BG.d.ts +24 -24
  398. package/lib/messages/bg_BG.js +8 -8
  399. package/lib/messages/cs_CZ.d.ts +24 -24
  400. package/lib/messages/cs_CZ.js +8 -8
  401. package/lib/messages/de_DE.d.ts +24 -24
  402. package/lib/messages/de_DE.js +8 -8
  403. package/lib/messages/en_US.d.ts +24 -24
  404. package/lib/messages/en_US.js +8 -8
  405. package/lib/messages/es_ES.d.ts +24 -24
  406. package/lib/messages/es_ES.js +8 -8
  407. package/lib/messages/fi_FI.d.ts +24 -24
  408. package/lib/messages/fi_FI.js +8 -8
  409. package/lib/messages/fr_FR.d.ts +24 -24
  410. package/lib/messages/fr_FR.js +8 -8
  411. package/lib/messages/id_ID.d.ts +24 -24
  412. package/lib/messages/id_ID.js +8 -8
  413. package/lib/messages/index.d.ts +27 -23
  414. package/lib/messages/index.js +7 -7
  415. package/lib/messages/it_IT.d.ts +24 -24
  416. package/lib/messages/it_IT.js +8 -8
  417. package/lib/messages/ja_JP.d.ts +24 -24
  418. package/lib/messages/ja_JP.js +8 -8
  419. package/lib/messages/ko_KR.d.ts +24 -24
  420. package/lib/messages/ko_KR.js +8 -8
  421. package/lib/messages/ms_MY.d.ts +24 -24
  422. package/lib/messages/ms_MY.js +8 -8
  423. package/lib/messages/nb_NO.d.ts +24 -24
  424. package/lib/messages/nb_NO.js +8 -8
  425. package/lib/messages/nl_NL.d.ts +24 -24
  426. package/lib/messages/nl_NL.js +8 -8
  427. package/lib/messages/pt_PT.d.ts +24 -24
  428. package/lib/messages/pt_PT.js +8 -8
  429. package/lib/messages/ro_RO.d.ts +24 -24
  430. package/lib/messages/ro_RO.js +8 -8
  431. package/lib/messages/ru_RU.d.ts +24 -24
  432. package/lib/messages/ru_RU.js +8 -8
  433. package/lib/messages/sv_SE.d.ts +24 -24
  434. package/lib/messages/sv_SE.js +8 -8
  435. package/lib/messages/th_TH.d.ts +24 -24
  436. package/lib/messages/th_TH.js +8 -8
  437. package/lib/messages/ug_UG.d.ts +24 -24
  438. package/lib/messages/ug_UG.js +8 -8
  439. package/lib/messages/vi_VN.d.ts +24 -24
  440. package/lib/messages/vi_VN.js +8 -8
  441. package/lib/messages/zh_CN.d.ts +24 -24
  442. package/lib/messages/zh_CN.js +8 -8
  443. package/lib/messages/zh_TW.d.ts +24 -24
  444. package/lib/messages/zh_TW.js +8 -8
  445. package/lib/multipart-upload/getMultipartUploadHandler.d.ts +3 -1
  446. package/lib/multipart-upload/getMultipartUploadHandler.js +12 -10
  447. package/lib/multipart-upload/index.d.ts +39 -33
  448. package/lib/multipart-upload/index.js +286 -165
  449. package/lib/multipart-upload/parse2RegexOption.d.ts +10 -7
  450. package/lib/multipart-upload/parse2RegexOption.js +47 -33
  451. package/lib/multipart-upload/style/index.css +52 -47
  452. package/lib/multipart-upload/style/index.js +5 -5
  453. package/lib/number-format-input/index.js +49 -34
  454. package/lib/number-format-input/style/index.js +4 -4
  455. package/lib/number-input/const/dataTypeEnum.d.ts +2 -2
  456. package/lib/number-input/const/dataTypeEnum.js +4 -4
  457. package/lib/number-input/const/numberType.d.ts +2 -2
  458. package/lib/number-input/const/numberType.js +4 -4
  459. package/lib/number-input/index.d.ts +37 -35
  460. package/lib/number-input/index.js +153 -105
  461. package/lib/number-input/style/index.js +4 -4
  462. package/lib/number-input/utils.d.ts +15 -6
  463. package/lib/number-input/utils.js +5 -5
  464. package/lib/rc-echart/core.d.ts +13 -13
  465. package/lib/rc-echart/core.js +88 -60
  466. package/lib/rc-echart/index.d.ts +12 -12
  467. package/lib/rc-echart/index.js +86 -57
  468. package/lib/rc-motion/index.d.ts +14 -2
  469. package/lib/rc-motion/index.js +13 -9
  470. package/lib/rc-qrcode/index.d.ts +11 -8
  471. package/lib/rc-qrcode/index.js +85 -62
  472. package/lib/rc-qrcode/useQrcode.d.ts +5 -2
  473. package/lib/rc-qrcode/useQrcode.js +51 -42
  474. package/lib/rc-transition-group/index.js +52 -37
  475. package/lib/resizable/index.d.ts +10 -1
  476. package/lib/resizable/index.js +9 -9
  477. package/lib/resizable/style/index.js +4 -4
  478. package/lib/rich-text-editor/index.d.ts +18 -18
  479. package/lib/rich-text-editor/index.js +107 -70
  480. package/lib/rich-text-editor/lang/zh_CN.d.ts +404 -404
  481. package/lib/rich-text-editor/lang/zh_CN.js +420 -397
  482. package/lib/rich-text-editor/plugins/code/index.js +38 -29
  483. package/lib/rich-text-editor/style/index.css +52 -47
  484. package/lib/rich-text-editor/style/index.js +4 -4
  485. package/lib/single-img-upload/index.d.ts +8 -8
  486. package/lib/single-img-upload/index.js +400 -273
  487. package/lib/single-img-upload/style/index.css +52 -47
  488. package/lib/single-img-upload/style/index.js +7 -7
  489. package/lib/sortable-hoc/index.js +52 -37
  490. package/lib/split-pane/index.d.ts +53 -53
  491. package/lib/split-pane/index.js +33 -22
  492. package/lib/split-pane/style/index.js +4 -4
  493. package/lib/step-number-input/const/countType.d.ts +2 -2
  494. package/lib/step-number-input/const/countType.js +4 -4
  495. package/lib/step-number-input/const/numberType.d.ts +2 -2
  496. package/lib/step-number-input/const/numberType.js +4 -4
  497. package/lib/step-number-input/index.d.ts +31 -31
  498. package/lib/step-number-input/index.js +204 -133
  499. package/lib/step-number-input/style/index.css +52 -47
  500. package/lib/step-number-input/style/index.js +5 -5
  501. package/lib/table-col/index.d.ts +3 -3
  502. package/lib/table-col/index.js +23 -15
  503. package/lib/table-col/style/index.js +4 -4
  504. package/lib/text-area/index.d.ts +13 -8
  505. package/lib/text-area/index.js +124 -89
  506. package/lib/text-area/style/index.js +4 -4
  507. package/lib/text-input/index.d.ts +3 -1
  508. package/lib/text-input/index.js +89 -67
  509. package/lib/text-input/style/index.css +123 -53
  510. package/lib/text-input/style/index.js +4 -4
  511. package/package.json +4 -4
  512. package/LICENSE +0 -21
@@ -1,77 +1,90 @@
1
- "use strict";
1
+ 'use strict';
2
2
 
3
- var __assign = this && this.__assign || function () {
4
- __assign = Object.assign || function (t) {
5
- for (var s, i = 1, n = arguments.length; i < n; i++) {
6
- s = arguments[i];
7
- for (var p in s) {
8
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
9
- }
10
- }
11
- return t;
3
+ var __assign =
4
+ (this && this.__assign) ||
5
+ function () {
6
+ __assign =
7
+ Object.assign ||
8
+ function (t) {
9
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
10
+ s = arguments[i];
11
+ for (var p in s) {
12
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
13
+ }
14
+ }
15
+ return t;
16
+ };
17
+ return __assign.apply(this, arguments);
12
18
  };
13
- return __assign.apply(this, arguments);
14
- };
15
- var __read = this && this.__read || function (o, n) {
16
- var m = typeof Symbol === "function" && o[Symbol.iterator];
17
- if (!m) return o;
18
- var i = m.call(o),
19
- r,
20
- ar = [],
21
- e;
22
- try {
23
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
24
- ar.push(r.value);
25
- }
26
- } catch (error) {
27
- e = {
28
- error: error
29
- };
30
- } finally {
19
+ var __read =
20
+ (this && this.__read) ||
21
+ function (o, n) {
22
+ var m = typeof Symbol === 'function' && o[Symbol.iterator];
23
+ if (!m) return o;
24
+ var i = m.call(o),
25
+ r,
26
+ ar = [],
27
+ e;
31
28
  try {
32
- if (r && !r.done && (m = i["return"])) m.call(i);
29
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
30
+ ar.push(r.value);
31
+ }
32
+ } catch (error) {
33
+ e = {
34
+ error: error,
35
+ };
33
36
  } finally {
34
- if (e) throw e.error;
37
+ try {
38
+ if (r && !r.done && (m = i['return'])) m.call(i);
39
+ } finally {
40
+ if (e) throw e.error;
41
+ }
35
42
  }
36
- }
37
- return ar;
38
- };
39
- var __importDefault = this && this.__importDefault || function (mod) {
40
- return mod && mod.__esModule ? mod : {
41
- "default": mod
43
+ return ar;
42
44
  };
43
- };
44
- Object.defineProperty(exports, "__esModule", {
45
- value: true
45
+ var __importDefault =
46
+ (this && this.__importDefault) ||
47
+ function (mod) {
48
+ return mod && mod.__esModule
49
+ ? mod
50
+ : {
51
+ default: mod,
52
+ };
53
+ };
54
+ Object.defineProperty(exports, '__esModule', {
55
+ value: true,
46
56
  });
47
57
  exports.Option = void 0;
48
- var react_1 = __importDefault(require("react"));
49
- var useControllableValue_1 = __importDefault(require("ahooks/lib/useControllableValue"));
50
- var select_1 = __importDefault(require("antd/lib/select"));
51
- var complex_val_select_1 = __importDefault(require("../complex-val-select"));
52
- var isArray_1 = __importDefault(require("lodash/isArray"));
53
- var isUndefined_1 = __importDefault(require("lodash/isUndefined"));
54
- var isNull_1 = __importDefault(require("lodash/isNull"));
55
- var classnames_1 = __importDefault(require("classnames"));
56
- var ArrowDropDownFilled_1 = __importDefault(require("a-icons/lib/ArrowDropDownFilled"));
57
- var omit_1 = __importDefault(require("lodash/omit"));
58
- var Option = select_1["default"].Option;
58
+ var react_1 = __importDefault(require('react'));
59
+ var useControllableValue_1 = __importDefault(require('ahooks/lib/useControllableValue'));
60
+ var select_1 = __importDefault(require('antd/lib/select'));
61
+ var complex_val_select_1 = __importDefault(require('../complex-val-select'));
62
+ var isArray_1 = __importDefault(require('lodash/isArray'));
63
+ var isUndefined_1 = __importDefault(require('lodash/isUndefined'));
64
+ var isNull_1 = __importDefault(require('lodash/isNull'));
65
+ var classnames_1 = __importDefault(require('classnames'));
66
+ var ArrowDropDownFilled_1 = __importDefault(require('a-icons/lib/ArrowDropDownFilled'));
67
+ var omit_1 = __importDefault(require('lodash/omit'));
68
+ var Option = select_1['default'].Option;
59
69
  exports.Option = Option;
60
70
  var LabelSelect = function LabelSelect(props, ref) {
61
71
  var className = props.className,
62
72
  label = props.label,
63
73
  onBlur = props.onBlur;
64
- var selectRef = react_1["default"].useRef(null);
65
- var _a = __read((0, useControllableValue_1["default"])(props, {
66
- valuePropName: 'open',
67
- trigger: 'setOpen'
68
- }), 2),
74
+ var selectRef = react_1['default'].useRef(null);
75
+ var _a = __read(
76
+ (0, useControllableValue_1['default'])(props, {
77
+ valuePropName: 'open',
78
+ trigger: 'setOpen',
79
+ }),
80
+ 2,
81
+ ),
69
82
  open = _a[0],
70
83
  setOpen = _a[1];
71
- var _b = __read((0, useControllableValue_1["default"])(props), 2),
84
+ var _b = __read((0, useControllableValue_1['default'])(props), 2),
72
85
  value = _b[0],
73
86
  setValue = _b[1];
74
- react_1["default"].useImperativeHandle(ref, function () {
87
+ react_1['default'].useImperativeHandle(ref, function () {
75
88
  return selectRef.current;
76
89
  });
77
90
  var handleChange = function handleChange(nextValue) {
@@ -89,31 +102,65 @@ var LabelSelect = function LabelSelect(props, ref) {
89
102
  var handleBlur = function handleBlur() {
90
103
  onBlur === null || onBlur === void 0 ? void 0 : onBlur(value);
91
104
  };
92
- return react_1["default"].createElement("div", {
93
- className: (0, classnames_1["default"])({
94
- 'label-select': true,
95
- 'label-select-label-scale': open || !(0, isArray_1["default"])(value) && !(0, isUndefined_1["default"])(value) && !(0, isNull_1["default"])(value) || (0, isArray_1["default"])(value) && value.length
96
- }, className)
97
- }, react_1["default"].createElement(complex_val_select_1["default"], __assign({
98
- maxTagCount: 3,
99
- showSearch: false
100
- }, (0, omit_1["default"])(props, ['open', 'onChange', 'className', 'label', 'setOpen', 'isFocus']), {
101
- open: open,
102
- ref: selectRef,
103
- size: "large",
104
- className: "label-select-selector",
105
- onChange: handleChange,
106
- onBlur: handleBlur,
107
- onDeselect: function onDeselect() {
108
- var _a;
109
- (_a = selectRef.current) === null || _a === void 0 ? void 0 : _a.focus();
105
+ return react_1['default'].createElement(
106
+ 'div',
107
+ {
108
+ className: (0, classnames_1['default'])(
109
+ {
110
+ 'label-select': true,
111
+ 'label-select-label-scale':
112
+ open ||
113
+ (!(0, isArray_1['default'])(value) &&
114
+ !(0, isUndefined_1['default'])(value) &&
115
+ !(0, isNull_1['default'])(value)) ||
116
+ ((0, isArray_1['default'])(value) && value.length),
117
+ },
118
+ className,
119
+ ),
110
120
  },
111
- onDropdownVisibleChange: onDropdownVisibleChange,
112
- suffixIcon: react_1["default"].createElement(ArrowDropDownFilled_1["default"], null)
113
- })), react_1["default"].createElement("label", {
114
- className: "label-select-text",
115
- onClick: handleLabelClick
116
- }, label));
121
+ react_1['default'].createElement(
122
+ complex_val_select_1['default'],
123
+ __assign(
124
+ {
125
+ maxTagCount: 3,
126
+ showSearch: false,
127
+ },
128
+ (0, omit_1['default'])(props, [
129
+ 'open',
130
+ 'onChange',
131
+ 'className',
132
+ 'label',
133
+ 'setOpen',
134
+ 'isFocus',
135
+ ]),
136
+ {
137
+ open: open,
138
+ ref: selectRef,
139
+ size: 'large',
140
+ className: 'label-select-selector',
141
+ onChange: handleChange,
142
+ onBlur: handleBlur,
143
+ onDeselect: function onDeselect() {
144
+ var _a;
145
+ (_a = selectRef.current) === null || _a === void 0 ? void 0 : _a.focus();
146
+ },
147
+ onDropdownVisibleChange: onDropdownVisibleChange,
148
+ suffixIcon: react_1['default'].createElement(
149
+ ArrowDropDownFilled_1['default'],
150
+ null,
151
+ ),
152
+ },
153
+ ),
154
+ ),
155
+ react_1['default'].createElement(
156
+ 'label',
157
+ {
158
+ className: 'label-select-text',
159
+ onClick: handleLabelClick,
160
+ },
161
+ label,
162
+ ),
163
+ );
117
164
  };
118
- var ForwardRefLabelSelect = react_1["default"].forwardRef(LabelSelect);
119
- exports["default"] = ForwardRefLabelSelect;
165
+ var ForwardRefLabelSelect = react_1['default'].forwardRef(LabelSelect);
166
+ exports['default'] = ForwardRefLabelSelect;
@@ -2,12 +2,12 @@
2
2
  /* stylelint-disable no-duplicate-selectors */
3
3
  /* stylelint-disable */
4
4
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
5
- [class^=ant-]::-ms-clear,
6
- [class*= ant-]::-ms-clear,
7
- [class^=ant-] input::-ms-clear,
8
- [class*= ant-] input::-ms-clear,
9
- [class^=ant-] input::-ms-reveal,
10
- [class*= ant-] input::-ms-reveal {
5
+ [class^='ant-']::-ms-clear,
6
+ [class*='ant-']::-ms-clear,
7
+ [class^='ant-'] input::-ms-clear,
8
+ [class*='ant-'] input::-ms-clear,
9
+ [class^='ant-'] input::-ms-reveal,
10
+ [class*='ant-'] input::-ms-reveal {
11
11
  display: none;
12
12
  }
13
13
  /* stylelint-disable property-no-vendor-prefix, at-rule-no-vendor-prefix */
@@ -37,7 +37,9 @@ body {
37
37
  margin: 0;
38
38
  color: rgba(0, 0, 0, 0.85);
39
39
  font-size: 14px;
40
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
40
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
41
+ Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
42
+ 'Segoe UI Symbol', 'Noto Color Emoji';
41
43
  font-variant: tabular-nums;
42
44
  line-height: 1.5715;
43
45
  background-color: #fff;
@@ -68,9 +70,9 @@ p {
68
70
  }
69
71
  abbr[title],
70
72
  abbr[data-original-title] {
71
- text-decoration: underline;
72
73
  -webkit-text-decoration: underline dotted;
73
- text-decoration: underline dotted;
74
+ text-decoration: underline;
75
+ text-decoration: underline dotted;
74
76
  border-bottom: 0;
75
77
  cursor: help;
76
78
  }
@@ -218,9 +220,9 @@ select {
218
220
  text-transform: none;
219
221
  }
220
222
  button,
221
- html [type="button"],
222
- [type="reset"],
223
- [type="submit"] {
223
+ html [type='button'],
224
+ [type='reset'],
225
+ [type='submit'] {
224
226
  -webkit-appearance: button;
225
227
  }
226
228
  button::-moz-focus-inner,
@@ -353,13 +355,13 @@ mark {
353
355
  .ant-fade-enter,
354
356
  .ant-fade-appear {
355
357
  animation-duration: 0.2s;
356
- animation-fill-mode: both;
357
358
  animation-play-state: paused;
359
+ animation-fill-mode: both;
358
360
  }
359
361
  .ant-fade-leave {
360
362
  animation-duration: 0.2s;
361
- animation-fill-mode: both;
362
363
  animation-play-state: paused;
364
+ animation-fill-mode: both;
363
365
  }
364
366
  .ant-fade-enter.ant-fade-enter-active,
365
367
  .ant-fade-appear.ant-fade-appear-active {
@@ -398,13 +400,13 @@ mark {
398
400
  .ant-move-up-enter,
399
401
  .ant-move-up-appear {
400
402
  animation-duration: 0.2s;
401
- animation-fill-mode: both;
402
403
  animation-play-state: paused;
404
+ animation-fill-mode: both;
403
405
  }
404
406
  .ant-move-up-leave {
405
407
  animation-duration: 0.2s;
406
- animation-fill-mode: both;
407
408
  animation-play-state: paused;
409
+ animation-fill-mode: both;
408
410
  }
409
411
  .ant-move-up-enter.ant-move-up-enter-active,
410
412
  .ant-move-up-appear.ant-move-up-appear-active {
@@ -427,13 +429,13 @@ mark {
427
429
  .ant-move-down-enter,
428
430
  .ant-move-down-appear {
429
431
  animation-duration: 0.2s;
430
- animation-fill-mode: both;
431
432
  animation-play-state: paused;
433
+ animation-fill-mode: both;
432
434
  }
433
435
  .ant-move-down-leave {
434
436
  animation-duration: 0.2s;
435
- animation-fill-mode: both;
436
437
  animation-play-state: paused;
438
+ animation-fill-mode: both;
437
439
  }
438
440
  .ant-move-down-enter.ant-move-down-enter-active,
439
441
  .ant-move-down-appear.ant-move-down-appear-active {
@@ -456,13 +458,13 @@ mark {
456
458
  .ant-move-left-enter,
457
459
  .ant-move-left-appear {
458
460
  animation-duration: 0.2s;
459
- animation-fill-mode: both;
460
461
  animation-play-state: paused;
462
+ animation-fill-mode: both;
461
463
  }
462
464
  .ant-move-left-leave {
463
465
  animation-duration: 0.2s;
464
- animation-fill-mode: both;
465
466
  animation-play-state: paused;
467
+ animation-fill-mode: both;
466
468
  }
467
469
  .ant-move-left-enter.ant-move-left-enter-active,
468
470
  .ant-move-left-appear.ant-move-left-appear-active {
@@ -485,13 +487,13 @@ mark {
485
487
  .ant-move-right-enter,
486
488
  .ant-move-right-appear {
487
489
  animation-duration: 0.2s;
488
- animation-fill-mode: both;
489
490
  animation-play-state: paused;
491
+ animation-fill-mode: both;
490
492
  }
491
493
  .ant-move-right-leave {
492
494
  animation-duration: 0.2s;
493
- animation-fill-mode: both;
494
495
  animation-play-state: paused;
496
+ animation-fill-mode: both;
495
497
  }
496
498
  .ant-move-right-enter.ant-move-right-enter-active,
497
499
  .ant-move-right-appear.ant-move-right-appear-active {
@@ -632,7 +634,8 @@ html {
632
634
  box-shadow: 0 0 0 0 #1890ff;
633
635
  box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
634
636
  opacity: 0.2;
635
- animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
637
+ animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
638
+ waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
636
639
  animation-fill-mode: forwards;
637
640
  content: '';
638
641
  pointer-events: none;
@@ -651,13 +654,13 @@ html {
651
654
  .ant-slide-up-enter,
652
655
  .ant-slide-up-appear {
653
656
  animation-duration: 0.2s;
654
- animation-fill-mode: both;
655
657
  animation-play-state: paused;
658
+ animation-fill-mode: both;
656
659
  }
657
660
  .ant-slide-up-leave {
658
661
  animation-duration: 0.2s;
659
- animation-fill-mode: both;
660
662
  animation-play-state: paused;
663
+ animation-fill-mode: both;
661
664
  }
662
665
  .ant-slide-up-enter.ant-slide-up-enter-active,
663
666
  .ant-slide-up-appear.ant-slide-up-appear-active {
@@ -680,13 +683,13 @@ html {
680
683
  .ant-slide-down-enter,
681
684
  .ant-slide-down-appear {
682
685
  animation-duration: 0.2s;
683
- animation-fill-mode: both;
684
686
  animation-play-state: paused;
687
+ animation-fill-mode: both;
685
688
  }
686
689
  .ant-slide-down-leave {
687
690
  animation-duration: 0.2s;
688
- animation-fill-mode: both;
689
691
  animation-play-state: paused;
692
+ animation-fill-mode: both;
690
693
  }
691
694
  .ant-slide-down-enter.ant-slide-down-enter-active,
692
695
  .ant-slide-down-appear.ant-slide-down-appear-active {
@@ -709,13 +712,13 @@ html {
709
712
  .ant-slide-left-enter,
710
713
  .ant-slide-left-appear {
711
714
  animation-duration: 0.2s;
712
- animation-fill-mode: both;
713
715
  animation-play-state: paused;
716
+ animation-fill-mode: both;
714
717
  }
715
718
  .ant-slide-left-leave {
716
719
  animation-duration: 0.2s;
717
- animation-fill-mode: both;
718
720
  animation-play-state: paused;
721
+ animation-fill-mode: both;
719
722
  }
720
723
  .ant-slide-left-enter.ant-slide-left-enter-active,
721
724
  .ant-slide-left-appear.ant-slide-left-appear-active {
@@ -738,13 +741,13 @@ html {
738
741
  .ant-slide-right-enter,
739
742
  .ant-slide-right-appear {
740
743
  animation-duration: 0.2s;
741
- animation-fill-mode: both;
742
744
  animation-play-state: paused;
745
+ animation-fill-mode: both;
743
746
  }
744
747
  .ant-slide-right-leave {
745
748
  animation-duration: 0.2s;
746
- animation-fill-mode: both;
747
749
  animation-play-state: paused;
750
+ animation-fill-mode: both;
748
751
  }
749
752
  .ant-slide-right-enter.ant-slide-right-enter-active,
750
753
  .ant-slide-right-appear.ant-slide-right-appear-active {
@@ -863,13 +866,13 @@ html {
863
866
  .ant-zoom-enter,
864
867
  .ant-zoom-appear {
865
868
  animation-duration: 0.2s;
866
- animation-fill-mode: both;
867
869
  animation-play-state: paused;
870
+ animation-fill-mode: both;
868
871
  }
869
872
  .ant-zoom-leave {
870
873
  animation-duration: 0.2s;
871
- animation-fill-mode: both;
872
874
  animation-play-state: paused;
875
+ animation-fill-mode: both;
873
876
  }
874
877
  .ant-zoom-enter.ant-zoom-enter-active,
875
878
  .ant-zoom-appear.ant-zoom-appear-active {
@@ -897,13 +900,13 @@ html {
897
900
  .ant-zoom-big-enter,
898
901
  .ant-zoom-big-appear {
899
902
  animation-duration: 0.2s;
900
- animation-fill-mode: both;
901
903
  animation-play-state: paused;
904
+ animation-fill-mode: both;
902
905
  }
903
906
  .ant-zoom-big-leave {
904
907
  animation-duration: 0.2s;
905
- animation-fill-mode: both;
906
908
  animation-play-state: paused;
909
+ animation-fill-mode: both;
907
910
  }
908
911
  .ant-zoom-big-enter.ant-zoom-big-enter-active,
909
912
  .ant-zoom-big-appear.ant-zoom-big-appear-active {
@@ -931,13 +934,13 @@ html {
931
934
  .ant-zoom-big-fast-enter,
932
935
  .ant-zoom-big-fast-appear {
933
936
  animation-duration: 0.1s;
934
- animation-fill-mode: both;
935
937
  animation-play-state: paused;
938
+ animation-fill-mode: both;
936
939
  }
937
940
  .ant-zoom-big-fast-leave {
938
941
  animation-duration: 0.1s;
939
- animation-fill-mode: both;
940
942
  animation-play-state: paused;
943
+ animation-fill-mode: both;
941
944
  }
942
945
  .ant-zoom-big-fast-enter.ant-zoom-big-fast-enter-active,
943
946
  .ant-zoom-big-fast-appear.ant-zoom-big-fast-appear-active {
@@ -965,13 +968,13 @@ html {
965
968
  .ant-zoom-up-enter,
966
969
  .ant-zoom-up-appear {
967
970
  animation-duration: 0.2s;
968
- animation-fill-mode: both;
969
971
  animation-play-state: paused;
972
+ animation-fill-mode: both;
970
973
  }
971
974
  .ant-zoom-up-leave {
972
975
  animation-duration: 0.2s;
973
- animation-fill-mode: both;
974
976
  animation-play-state: paused;
977
+ animation-fill-mode: both;
975
978
  }
976
979
  .ant-zoom-up-enter.ant-zoom-up-enter-active,
977
980
  .ant-zoom-up-appear.ant-zoom-up-appear-active {
@@ -999,13 +1002,13 @@ html {
999
1002
  .ant-zoom-down-enter,
1000
1003
  .ant-zoom-down-appear {
1001
1004
  animation-duration: 0.2s;
1002
- animation-fill-mode: both;
1003
1005
  animation-play-state: paused;
1006
+ animation-fill-mode: both;
1004
1007
  }
1005
1008
  .ant-zoom-down-leave {
1006
1009
  animation-duration: 0.2s;
1007
- animation-fill-mode: both;
1008
1010
  animation-play-state: paused;
1011
+ animation-fill-mode: both;
1009
1012
  }
1010
1013
  .ant-zoom-down-enter.ant-zoom-down-enter-active,
1011
1014
  .ant-zoom-down-appear.ant-zoom-down-appear-active {
@@ -1033,13 +1036,13 @@ html {
1033
1036
  .ant-zoom-left-enter,
1034
1037
  .ant-zoom-left-appear {
1035
1038
  animation-duration: 0.2s;
1036
- animation-fill-mode: both;
1037
1039
  animation-play-state: paused;
1040
+ animation-fill-mode: both;
1038
1041
  }
1039
1042
  .ant-zoom-left-leave {
1040
1043
  animation-duration: 0.2s;
1041
- animation-fill-mode: both;
1042
1044
  animation-play-state: paused;
1045
+ animation-fill-mode: both;
1043
1046
  }
1044
1047
  .ant-zoom-left-enter.ant-zoom-left-enter-active,
1045
1048
  .ant-zoom-left-appear.ant-zoom-left-appear-active {
@@ -1067,13 +1070,13 @@ html {
1067
1070
  .ant-zoom-right-enter,
1068
1071
  .ant-zoom-right-appear {
1069
1072
  animation-duration: 0.2s;
1070
- animation-fill-mode: both;
1071
1073
  animation-play-state: paused;
1074
+ animation-fill-mode: both;
1072
1075
  }
1073
1076
  .ant-zoom-right-leave {
1074
1077
  animation-duration: 0.2s;
1075
- animation-fill-mode: both;
1076
1078
  animation-play-state: paused;
1079
+ animation-fill-mode: both;
1077
1080
  }
1078
1081
  .ant-zoom-right-enter.ant-zoom-right-enter-active,
1079
1082
  .ant-zoom-right-appear.ant-zoom-right-appear-active {
@@ -1228,11 +1231,13 @@ html {
1228
1231
  overflow: hidden;
1229
1232
  }
1230
1233
  .ant-motion-collapse-legacy-active {
1231
- transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
1234
+ transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
1235
+ opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
1232
1236
  }
1233
1237
  .ant-motion-collapse {
1234
1238
  overflow: hidden;
1235
- transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
1239
+ transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
1240
+ opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
1236
1241
  }
1237
1242
  .label-select {
1238
1243
  position: relative;
@@ -1243,7 +1248,9 @@ html {
1243
1248
  width: 100%;
1244
1249
  }
1245
1250
  .label-select .ant-select:not(.ant-select-disabled) .ant-select-selector:hover,
1246
- .label-select .ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-disabled) .ant-select-selector:hover {
1251
+ .label-select
1252
+ .ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-disabled)
1253
+ .ant-select-selector:hover {
1247
1254
  border-color: #a0a0a0;
1248
1255
  }
1249
1256
  .label-select .ant-select-multiple .ant-select-selector {
@@ -1262,7 +1269,10 @@ html {
1262
1269
  .label-select .ant-select-multiple .ant-select-selection-overflow-item {
1263
1270
  max-width: 25%;
1264
1271
  }
1265
- .label-select .ant-select-multiple .ant-select-selection-overflow-item .ant-select-selection-search {
1272
+ .label-select
1273
+ .ant-select-multiple
1274
+ .ant-select-selection-overflow-item
1275
+ .ant-select-selection-search {
1266
1276
  padding: 0;
1267
1277
  }
1268
1278
  .label-select .ant-select-multiple.ant-select-lg .ant-select-selection-item {
@@ -1280,13 +1290,17 @@ html {
1280
1290
  .label-select .ant-select-allow-clear .ant-select-clear {
1281
1291
  right: 16px;
1282
1292
  }
1283
- .label-select .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector {
1293
+ .label-select
1294
+ .ant-select-single.ant-select-lg:not(.ant-select-customize-input)
1295
+ .ant-select-selector {
1284
1296
  height: 45px;
1285
1297
  border: 1px solid #e5e5e5;
1286
1298
  border-radius: 2px;
1287
1299
  outline: none;
1288
1300
  }
1289
- .label-select .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
1301
+ .label-select
1302
+ .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input)
1303
+ .ant-select-selector {
1290
1304
  border-color: #000;
1291
1305
  box-shadow: none;
1292
1306
  }
@@ -1,7 +1,7 @@
1
- "use strict";
1
+ 'use strict';
2
2
 
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true,
5
5
  });
6
- require("antd/lib/select/style");
7
- require("./index.less");
6
+ require('antd/lib/select/style');
7
+ require('./index.less');
@@ -1,21 +1,25 @@
1
1
  import React from 'react';
2
- export interface LabelTextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'type' | 'onChange' | 'onFocus' | 'onBlur' | 'style'> {
3
- /** 自定义class */
4
- className?: string;
5
- /** label 标签的文本 */
6
- label?: React.ReactNode;
7
- /** 输入框内容 */
8
- value?: string;
9
- /** 指定输入框展示值的格式 */
10
- formatter?: (value: string) => string;
11
- /** 输入框内容变化时的回调 */
12
- onChange?: (value: string) => void;
13
- /** 输入框失去焦点的回调 */
14
- onBlur?: (value: string) => void;
15
- /** 输入框获取焦点的回调 */
16
- onFocus?: (value: string) => void;
17
- /** 组件dom id */
18
- id?: string;
2
+ export interface LabelTextAreaProps
3
+ extends Omit<
4
+ React.TextareaHTMLAttributes<HTMLTextAreaElement>,
5
+ 'size' | 'type' | 'onChange' | 'onFocus' | 'onBlur' | 'style'
6
+ > {
7
+ /** 自定义class */
8
+ className?: string;
9
+ /** label 标签的文本 */
10
+ label?: React.ReactNode;
11
+ /** 输入框内容 */
12
+ value?: string;
13
+ /** 指定输入框展示值的格式 */
14
+ formatter?: (value: string) => string;
15
+ /** 输入框内容变化时的回调 */
16
+ onChange?: (value: string) => void;
17
+ /** 输入框失去焦点的回调 */
18
+ onBlur?: (value: string) => void;
19
+ /** 输入框获取焦点的回调 */
20
+ onFocus?: (value: string) => void;
21
+ /** 组件dom id */
22
+ id?: string;
19
23
  }
20
24
  declare const LabelTextArea: React.FC<LabelTextAreaProps>;
21
25
  export default LabelTextArea;