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,108 +1,138 @@
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 __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
16
- if (k2 === undefined) k2 = k;
17
- var desc = Object.getOwnPropertyDescriptor(m, k);
18
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
- desc = {
20
- enumerable: true,
21
- get: function get() {
22
- return m[k];
19
+ var __createBinding =
20
+ (this && this.__createBinding) ||
21
+ (Object.create
22
+ ? function (o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ var desc = Object.getOwnPropertyDescriptor(m, k);
25
+ if (
26
+ !desc ||
27
+ ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
28
+ ) {
29
+ desc = {
30
+ enumerable: true,
31
+ get: function get() {
32
+ return m[k];
33
+ },
34
+ };
35
+ }
36
+ Object.defineProperty(o, k2, desc);
23
37
  }
24
- };
25
- }
26
- Object.defineProperty(o, k2, desc);
27
- } : function (o, m, k, k2) {
28
- if (k2 === undefined) k2 = k;
29
- o[k2] = m[k];
30
- });
31
- var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {
32
- Object.defineProperty(o, "default", {
33
- enumerable: true,
34
- value: v
35
- });
36
- } : function (o, v) {
37
- o["default"] = v;
38
- });
39
- var __importStar = this && this.__importStar || function (mod) {
40
- if (mod && mod.__esModule) return mod;
41
- 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
- }
45
- __setModuleDefault(result, mod);
46
- return result;
47
- };
48
- var __read = this && this.__read || function (o, n) {
49
- var m = typeof Symbol === "function" && o[Symbol.iterator];
50
- if (!m) return o;
51
- var i = m.call(o),
52
- r,
53
- ar = [],
54
- e;
55
- try {
56
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
57
- ar.push(r.value);
58
- }
59
- } catch (error) {
60
- e = {
61
- error: error
62
- };
63
- } finally {
38
+ : function (o, m, k, k2) {
39
+ if (k2 === undefined) k2 = k;
40
+ o[k2] = m[k];
41
+ });
42
+ var __setModuleDefault =
43
+ (this && this.__setModuleDefault) ||
44
+ (Object.create
45
+ ? function (o, v) {
46
+ Object.defineProperty(o, 'default', {
47
+ enumerable: true,
48
+ value: v,
49
+ });
50
+ }
51
+ : function (o, v) {
52
+ o['default'] = v;
53
+ });
54
+ var __importStar =
55
+ (this && this.__importStar) ||
56
+ function (mod) {
57
+ if (mod && mod.__esModule) return mod;
58
+ var result = {};
59
+ if (mod != null)
60
+ for (var k in mod) {
61
+ if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
62
+ __createBinding(result, mod, k);
63
+ }
64
+ __setModuleDefault(result, mod);
65
+ return result;
66
+ };
67
+ var __read =
68
+ (this && this.__read) ||
69
+ function (o, n) {
70
+ var m = typeof Symbol === 'function' && o[Symbol.iterator];
71
+ if (!m) return o;
72
+ var i = m.call(o),
73
+ r,
74
+ ar = [],
75
+ e;
64
76
  try {
65
- if (r && !r.done && (m = i["return"])) m.call(i);
77
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
78
+ ar.push(r.value);
79
+ }
80
+ } catch (error) {
81
+ e = {
82
+ error: error,
83
+ };
66
84
  } finally {
67
- if (e) throw e.error;
85
+ try {
86
+ if (r && !r.done && (m = i['return'])) m.call(i);
87
+ } finally {
88
+ if (e) throw e.error;
89
+ }
68
90
  }
69
- }
70
- return ar;
71
- };
72
- var __importDefault = this && this.__importDefault || function (mod) {
73
- return mod && mod.__esModule ? mod : {
74
- "default": mod
91
+ return ar;
75
92
  };
76
- };
77
- Object.defineProperty(exports, "__esModule", {
78
- value: true
93
+ var __importDefault =
94
+ (this && this.__importDefault) ||
95
+ function (mod) {
96
+ return mod && mod.__esModule
97
+ ? mod
98
+ : {
99
+ default: mod,
100
+ };
101
+ };
102
+ Object.defineProperty(exports, '__esModule', {
103
+ value: true,
79
104
  });
80
105
  exports.EntryTypeEnum = exports.InputTypeEnum = void 0;
81
- var isNil_1 = __importDefault(require("lodash/isNil"));
82
- var isEmpty_1 = __importDefault(require("lodash/isEmpty"));
83
- var classnames_1 = __importDefault(require("classnames"));
84
- var complex_val_select_1 = __importDefault(require("../complex-val-select"));
85
- var react_1 = __importStar(require("react"));
86
- var useControllableValue_1 = __importDefault(require("ahooks/lib/useControllableValue"));
87
- var condition_input_1 = __importDefault(require("../condition-input"));
106
+ var isNil_1 = __importDefault(require('lodash/isNil'));
107
+ var isEmpty_1 = __importDefault(require('lodash/isEmpty'));
108
+ var classnames_1 = __importDefault(require('classnames'));
109
+ var complex_val_select_1 = __importDefault(require('../complex-val-select'));
110
+ var react_1 = __importStar(require('react'));
111
+ var useControllableValue_1 = __importDefault(require('ahooks/lib/useControllableValue'));
112
+ var condition_input_1 = __importDefault(require('../condition-input'));
88
113
  var InputTypeEnum;
89
114
  (function (InputTypeEnum) {
90
- InputTypeEnum["CONDITION_INPUT"] = "conditionInput";
91
- InputTypeEnum["SELECT"] = "select";
115
+ InputTypeEnum['CONDITION_INPUT'] = 'conditionInput';
116
+ InputTypeEnum['SELECT'] = 'select';
92
117
  })(InputTypeEnum || (exports.InputTypeEnum = InputTypeEnum = {}));
93
118
  var EntryTypeEnum;
94
119
  (function (EntryTypeEnum) {
95
- EntryTypeEnum["FIRST_ENTRY"] = "firstEntry";
96
- EntryTypeEnum["SECOND_ENTRY"] = "secondEntry";
120
+ EntryTypeEnum['FIRST_ENTRY'] = 'firstEntry';
121
+ EntryTypeEnum['SECOND_ENTRY'] = 'secondEntry';
97
122
  })(EntryTypeEnum || (exports.EntryTypeEnum = EntryTypeEnum = {}));
98
123
  /** 找所有的子代选项 */
99
124
  var findAllSubSelectItems = function findAllSubSelectItems(dataSource, key) {
100
125
  var _a, _b;
101
- return (_b = (_a = dataSource.find(function (item) {
102
- return item.value === key;
103
- })) === null || _a === void 0 ? void 0 : _a.children) === null || _b === void 0 ? void 0 : _b.map(function (subItem) {
104
- return subItem.value;
105
- });
126
+ return (_b =
127
+ (_a = dataSource.find(function (item) {
128
+ return item.value === key;
129
+ })) === null || _a === void 0
130
+ ? void 0
131
+ : _a.children) === null || _b === void 0
132
+ ? void 0
133
+ : _b.map(function (subItem) {
134
+ return subItem.value;
135
+ });
106
136
  };
107
137
  var ConditionSelectInput = function ConditionSelectInput(props) {
108
138
  var value = props.value,
@@ -117,45 +147,59 @@ var ConditionSelectInput = function ConditionSelectInput(props) {
117
147
  optionsList = _c === void 0 ? [] : _c,
118
148
  onBlur = props.onBlur;
119
149
  var isInput = inputType === InputTypeEnum.CONDITION_INPUT;
120
- var _d = __read((0, useControllableValue_1["default"])(props), 2),
150
+ var _d = __read((0, useControllableValue_1['default'])(props), 2),
121
151
  selectInputValue = _d[0],
122
152
  setSelectInputValue = _d[1];
123
153
  var _e = __read((0, react_1.useState)([]), 2),
124
154
  subSelectOptions = _e[0],
125
155
  setSubSelectOptions = _e[1];
126
156
  /** 子选择器是否多选 */
127
- var isSubSelectMultiple = (conditionSelectProps === null || conditionSelectProps === void 0 ? void 0 : conditionSelectProps.mode) === 'multiple';
128
- (0, react_1.useEffect)(function () {
129
- if (value && !(0, isNil_1["default"])(value.selectValue) && optionsList.length) {
130
- var _a = __read(optionsList.filter(function (item) {
131
- return item.value === value.selectValue;
132
- }), 1),
133
- selectValueItem = _a[0];
134
- if (selectValueItem && selectValueItem.children) {
135
- setSubSelectOptions(selectValueItem.children);
157
+ var isSubSelectMultiple =
158
+ (conditionSelectProps === null || conditionSelectProps === void 0
159
+ ? void 0
160
+ : conditionSelectProps.mode) === 'multiple';
161
+ (0, react_1.useEffect)(
162
+ function () {
163
+ if (value && !(0, isNil_1['default'])(value.selectValue) && optionsList.length) {
164
+ var _a = __read(
165
+ optionsList.filter(function (item) {
166
+ return item.value === value.selectValue;
167
+ }),
168
+ 1,
169
+ ),
170
+ selectValueItem = _a[0];
171
+ if (selectValueItem && selectValueItem.children) {
172
+ setSubSelectOptions(selectValueItem.children);
173
+ }
136
174
  }
137
- }
138
- }, [value, optionsList]);
175
+ },
176
+ [value, optionsList],
177
+ );
139
178
  var onSelectChange = function onSelectChange(selectValue) {
140
179
  var inputValue = isInput ? '' : undefined;
141
180
  var finalSelectInputValue = {
142
181
  selectValue: selectValue,
143
182
  inputValue: inputValue,
144
- changedEntryType: EntryTypeEnum.FIRST_ENTRY
183
+ changedEntryType: EntryTypeEnum.FIRST_ENTRY,
145
184
  };
146
185
  if (isSubSelectMultiple) {
147
186
  finalSelectInputValue = __assign(__assign({}, finalSelectInputValue), {
148
- finalSelectValue: !(0, isNil_1["default"])(selectValue) ? findAllSubSelectItems(optionsList, selectValue) : undefined
187
+ finalSelectValue: !(0, isNil_1['default'])(selectValue)
188
+ ? findAllSubSelectItems(optionsList, selectValue)
189
+ : undefined,
149
190
  });
150
191
  }
151
192
  setSelectInputValue(finalSelectInputValue);
152
- if (isInput || (0, isNil_1["default"])(selectValue)) {
193
+ if (isInput || (0, isNil_1['default'])(selectValue)) {
153
194
  setSubSelectOptions([]);
154
195
  return;
155
196
  }
156
- var _a = __read(optionsList.filter(function (item) {
157
- return item.value === selectValue;
158
- }), 1),
197
+ var _a = __read(
198
+ optionsList.filter(function (item) {
199
+ return item.value === selectValue;
200
+ }),
201
+ 1,
202
+ ),
159
203
  selectValueItem = _a[0];
160
204
  if (selectValueItem.children) {
161
205
  setSubSelectOptions(selectValueItem.children);
@@ -163,80 +207,145 @@ var ConditionSelectInput = function ConditionSelectInput(props) {
163
207
  };
164
208
  var onTypeSelectChange = function onTypeSelectChange(inputValue) {
165
209
  var finalSelectInputValue = {
166
- selectValue: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue,
210
+ selectValue:
211
+ selectInputValue === null || selectInputValue === void 0
212
+ ? void 0
213
+ : selectInputValue.selectValue,
167
214
  inputValue: inputValue,
168
- changedEntryType: EntryTypeEnum.SECOND_ENTRY
215
+ changedEntryType: EntryTypeEnum.SECOND_ENTRY,
169
216
  };
170
217
  if (isSubSelectMultiple) {
171
218
  finalSelectInputValue = __assign(__assign({}, finalSelectInputValue), {
172
- finalSelectValue: (0, isEmpty_1["default"])(inputValue) ? findAllSubSelectItems(optionsList, selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue) : inputValue
219
+ finalSelectValue: (0, isEmpty_1['default'])(inputValue)
220
+ ? findAllSubSelectItems(
221
+ optionsList,
222
+ selectInputValue === null || selectInputValue === void 0
223
+ ? void 0
224
+ : selectInputValue.selectValue,
225
+ )
226
+ : inputValue,
173
227
  });
174
228
  }
175
229
  setSelectInputValue(finalSelectInputValue);
176
230
  };
177
231
  var onInputChange = function onInputChange(inputValue) {
178
232
  var finalValue = {
179
- selectValue: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue,
233
+ selectValue:
234
+ selectInputValue === null || selectInputValue === void 0
235
+ ? void 0
236
+ : selectInputValue.selectValue,
180
237
  inputValue: inputValue,
181
- changedEntryType: EntryTypeEnum.SECOND_ENTRY
238
+ changedEntryType: EntryTypeEnum.SECOND_ENTRY,
182
239
  };
183
240
  setSelectInputValue(finalValue);
184
241
  };
185
242
  /** 联级选择框失去焦点 */
186
243
  var onConditionSelectInputBlur = function onConditionSelectInputBlur(blurEntryType) {
187
- onBlur === null || onBlur === void 0 ? void 0 : onBlur(__assign(__assign({}, selectInputValue), {
188
- changedEntryType: blurEntryType
189
- }));
244
+ onBlur === null || onBlur === void 0
245
+ ? void 0
246
+ : onBlur(
247
+ __assign(__assign({}, selectInputValue), {
248
+ changedEntryType: blurEntryType,
249
+ }),
250
+ );
190
251
  };
191
252
  /** 二级下拉框清空 */
192
253
  var onTypeSelectClear = function onTypeSelectClear() {
193
254
  var finalSelectInputValue = {
194
255
  selectValue: selectInputValue.selectValue,
195
256
  inputValue: [],
196
- changedEntryType: EntryTypeEnum.SECOND_ENTRY
257
+ changedEntryType: EntryTypeEnum.SECOND_ENTRY,
197
258
  };
198
259
  if (isSubSelectMultiple) {
199
260
  finalSelectInputValue = __assign(__assign({}, finalSelectInputValue), {
200
- finalSelectValue: findAllSubSelectItems(optionsList, selectInputValue.selectValue)
261
+ finalSelectValue: findAllSubSelectItems(
262
+ optionsList,
263
+ selectInputValue.selectValue,
264
+ ),
201
265
  });
202
266
  }
203
267
  onBlur === null || onBlur === void 0 ? void 0 : onBlur(finalSelectInputValue);
204
268
  };
205
269
  // 是否展示输入框
206
- var isShowInput = !(0, isNil_1["default"])(selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue) && !(hiddenInputKeys === null || hiddenInputKeys === void 0 ? void 0 : hiddenInputKeys.includes(selectInputValue.selectValue));
207
- var typeInput = isInput ? react_1["default"].createElement("div", {
208
- className: "condition-select-input"
209
- }, react_1["default"].createElement(condition_input_1["default"], __assign({}, conditionInputProps, {
210
- onChange: onInputChange,
211
- value: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.inputValue,
212
- onBlur: function onBlur() {
213
- return onConditionSelectInputBlur(EntryTypeEnum.SECOND_ENTRY);
214
- }
215
- }))) : react_1["default"].createElement("div", {
216
- className: "condition-select-select-input"
217
- }, react_1["default"].createElement(complex_val_select_1["default"], __assign({}, conditionSelectProps, {
218
- onChange: onTypeSelectChange,
219
- value: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.inputValue,
220
- options: subSelectOptions,
221
- onBlur: function onBlur() {
222
- return onConditionSelectInputBlur(EntryTypeEnum.SECOND_ENTRY);
270
+ var isShowInput =
271
+ !(0, isNil_1['default'])(
272
+ selectInputValue === null || selectInputValue === void 0
273
+ ? void 0
274
+ : selectInputValue.selectValue,
275
+ ) &&
276
+ !(hiddenInputKeys === null || hiddenInputKeys === void 0
277
+ ? void 0
278
+ : hiddenInputKeys.includes(selectInputValue.selectValue));
279
+ var typeInput = isInput
280
+ ? react_1['default'].createElement(
281
+ 'div',
282
+ {
283
+ className: 'condition-select-input',
284
+ },
285
+ react_1['default'].createElement(
286
+ condition_input_1['default'],
287
+ __assign({}, conditionInputProps, {
288
+ onChange: onInputChange,
289
+ value:
290
+ selectInputValue === null || selectInputValue === void 0
291
+ ? void 0
292
+ : selectInputValue.inputValue,
293
+ onBlur: function onBlur() {
294
+ return onConditionSelectInputBlur(EntryTypeEnum.SECOND_ENTRY);
295
+ },
296
+ }),
297
+ ),
298
+ )
299
+ : react_1['default'].createElement(
300
+ 'div',
301
+ {
302
+ className: 'condition-select-select-input',
303
+ },
304
+ react_1['default'].createElement(
305
+ complex_val_select_1['default'],
306
+ __assign({}, conditionSelectProps, {
307
+ onChange: onTypeSelectChange,
308
+ value:
309
+ selectInputValue === null || selectInputValue === void 0
310
+ ? void 0
311
+ : selectInputValue.inputValue,
312
+ options: subSelectOptions,
313
+ onBlur: function onBlur() {
314
+ return onConditionSelectInputBlur(EntryTypeEnum.SECOND_ENTRY);
315
+ },
316
+ onClear: onTypeSelectClear,
317
+ }),
318
+ ),
319
+ );
320
+ return react_1['default'].createElement(
321
+ 'div',
322
+ {
323
+ className: 'condition-select-wrap',
223
324
  },
224
- onClear: onTypeSelectClear
225
- })));
226
- return react_1["default"].createElement("div", {
227
- className: "condition-select-wrap"
228
- }, react_1["default"].createElement("div", {
229
- className: (0, classnames_1["default"])('condition-select-selecter', {
230
- 'condition-two-select-selecter': !isInput,
231
- 'condition-only-selecter': !isShowInput
232
- })
233
- }, react_1["default"].createElement(complex_val_select_1["default"], __assign({}, selectProps, {
234
- onChange: onSelectChange,
235
- value: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue,
236
- options: optionsList,
237
- onBlur: function onBlur() {
238
- return onConditionSelectInputBlur(EntryTypeEnum.FIRST_ENTRY);
239
- }
240
- }))), isShowInput && typeInput);
325
+ react_1['default'].createElement(
326
+ 'div',
327
+ {
328
+ className: (0, classnames_1['default'])('condition-select-selecter', {
329
+ 'condition-two-select-selecter': !isInput,
330
+ 'condition-only-selecter': !isShowInput,
331
+ }),
332
+ },
333
+ react_1['default'].createElement(
334
+ complex_val_select_1['default'],
335
+ __assign({}, selectProps, {
336
+ onChange: onSelectChange,
337
+ value:
338
+ selectInputValue === null || selectInputValue === void 0
339
+ ? void 0
340
+ : selectInputValue.selectValue,
341
+ options: optionsList,
342
+ onBlur: function onBlur() {
343
+ return onConditionSelectInputBlur(EntryTypeEnum.FIRST_ENTRY);
344
+ },
345
+ }),
346
+ ),
347
+ ),
348
+ isShowInput && typeInput,
349
+ );
241
350
  };
242
- exports["default"] = ConditionSelectInput;
351
+ exports['default'] = ConditionSelectInput;
@@ -1,3 +1,3 @@
1
- import 'antd/lib/select/style';
2
1
  import 'antd/lib/input/style';
2
+ import 'antd/lib/select/style';
3
3
  import './index.less';
@@ -1,8 +1,8 @@
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("antd/lib/input/style");
8
- require("./index.less");
6
+ require('antd/lib/select/style');
7
+ require('antd/lib/input/style');
8
+ require('./index.less');
@@ -1,3 +1,3 @@
1
1
  import type { LangType } from '../messages';
2
- declare const LocaleContext: import("react").Context<LangType>;
2
+ declare const LocaleContext: import('react').Context<LangType>;
3
3
  export default LocaleContext;
@@ -1,14 +1,18 @@
1
- "use strict";
1
+ 'use strict';
2
2
 
3
- var __importDefault = this && this.__importDefault || function (mod) {
4
- return mod && mod.__esModule ? mod : {
5
- "default": mod
3
+ var __importDefault =
4
+ (this && this.__importDefault) ||
5
+ function (mod) {
6
+ return mod && mod.__esModule
7
+ ? mod
8
+ : {
9
+ default: mod,
10
+ };
6
11
  };
7
- };
8
- Object.defineProperty(exports, "__esModule", {
9
- value: true
12
+ Object.defineProperty(exports, '__esModule', {
13
+ value: true,
10
14
  });
11
- var react_1 = require("react");
12
- var zh_CN_1 = __importDefault(require("../messages/zh_CN"));
13
- var LocaleContext = (0, react_1.createContext)(zh_CN_1["default"].lang);
14
- exports["default"] = LocaleContext;
15
+ var react_1 = require('react');
16
+ var zh_CN_1 = __importDefault(require('../messages/zh_CN'));
17
+ var LocaleContext = (0, react_1.createContext)(zh_CN_1['default'].lang);
18
+ exports['default'] = LocaleContext;
@@ -1,8 +1,32 @@
1
1
  import React from 'react';
2
- export type LocaleType = 'en-US' | 'zh-CN' | 'zh-TW' | 'bg' | 'cs' | 'de' | 'es' | 'fr' | 'fi' | 'it' | 'id' | 'ja' | 'ko' | 'nl' | 'nb-NO' | 'ru' | 'sv' | 'pt' | 'ar' | 'th' | 'ro' | 'vi' | 'ug' | 'ms-MY';
2
+ export type LocaleType =
3
+ | 'en-US'
4
+ | 'zh-CN'
5
+ | 'zh-TW'
6
+ | 'bg'
7
+ | 'cs'
8
+ | 'de'
9
+ | 'es'
10
+ | 'fr'
11
+ | 'fi'
12
+ | 'it'
13
+ | 'id'
14
+ | 'ja'
15
+ | 'ko'
16
+ | 'nl'
17
+ | 'nb-NO'
18
+ | 'ru'
19
+ | 'sv'
20
+ | 'pt'
21
+ | 'ar'
22
+ | 'th'
23
+ | 'ro'
24
+ | 'vi'
25
+ | 'ug'
26
+ | 'ms-MY';
3
27
  export interface ConfigProviderProps {
4
- children?: React.ReactNode;
5
- locale: LocaleType;
28
+ children?: React.ReactNode;
29
+ locale: LocaleType;
6
30
  }
7
31
  declare const ConfigProvider: React.FC<ConfigProviderProps>;
8
32
  export default ConfigProvider;