tdesign-react 0.25.1 → 0.25.2

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 (1707) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/tdesign.css +124 -46
  3. package/dist/tdesign.css.map +1 -1
  4. package/dist/tdesign.js +1673 -1269
  5. package/dist/tdesign.js.map +1 -1
  6. package/dist/tdesign.min.css +1 -1
  7. package/dist/tdesign.min.css.map +1 -1
  8. package/dist/tdesign.min.js +4 -4
  9. package/dist/tdesign.min.js.map +1 -1
  10. package/es/_chunks/{dep-f9242fec.js → dep-04a6c042.js} +2 -2
  11. package/es/_chunks/dep-04a6c042.js.map +1 -0
  12. package/es/_chunks/{dep-a180486a.js → dep-0529bc9f.js} +8 -8
  13. package/{esm/_chunks/dep-a180486a.js.map → es/_chunks/dep-0529bc9f.js.map} +1 -1
  14. package/es/_chunks/{dep-ff79fb39.js → dep-0c0fc89b.js} +7 -7
  15. package/es/_chunks/{dep-ff79fb39.js.map → dep-0c0fc89b.js.map} +1 -1
  16. package/{esm/_chunks/dep-b327e031.js → es/_chunks/dep-0c32a524.js} +15 -15
  17. package/es/_chunks/{dep-b327e031.js.map → dep-0c32a524.js.map} +1 -1
  18. package/{esm/_chunks/dep-65c1d541.js → es/_chunks/dep-10b8d252.js} +3 -3
  19. package/es/_chunks/{dep-65c1d541.js.map → dep-10b8d252.js.map} +1 -1
  20. package/{esm/_chunks/dep-48a0d26a.js → es/_chunks/dep-1a698d53.js} +5 -5
  21. package/es/_chunks/{dep-48a0d26a.js.map → dep-1a698d53.js.map} +1 -1
  22. package/es/_chunks/{dep-90eb9c48.js → dep-1aa31dc5.js} +5 -5
  23. package/{esm/_chunks/dep-90eb9c48.js.map → es/_chunks/dep-1aa31dc5.js.map} +1 -1
  24. package/{esm/_chunks/dep-7b5ee09e.js → es/_chunks/dep-1dcd6f7a.js} +2 -2
  25. package/es/_chunks/{dep-7b5ee09e.js.map → dep-1dcd6f7a.js.map} +1 -1
  26. package/es/_chunks/{dep-861da54c.js → dep-2837cbee.js} +8 -8
  27. package/es/_chunks/{dep-861da54c.js.map → dep-2837cbee.js.map} +1 -1
  28. package/{esm/_chunks/dep-bce0ce39.js → es/_chunks/dep-301db282.js} +3 -3
  29. package/es/_chunks/{dep-bce0ce39.js.map → dep-301db282.js.map} +1 -1
  30. package/{esm/_chunks/dep-9b59ab07.js → es/_chunks/dep-34ec8ef2.js} +3 -3
  31. package/es/_chunks/{dep-9b59ab07.js.map → dep-34ec8ef2.js.map} +1 -1
  32. package/{esm/_chunks/dep-491ab1c7.js → es/_chunks/dep-3e5f80c6.js} +7 -7
  33. package/es/_chunks/{dep-491ab1c7.js.map → dep-3e5f80c6.js.map} +1 -1
  34. package/es/_chunks/{dep-0b5c7f77.js → dep-46c643ed.js} +16 -16
  35. package/{esm/_chunks/dep-0b5c7f77.js.map → es/_chunks/dep-46c643ed.js.map} +1 -1
  36. package/es/_chunks/{dep-8f43c3b0.js → dep-46cc1aa3.js} +9 -9
  37. package/{esm/_chunks/dep-8f43c3b0.js.map → es/_chunks/dep-46cc1aa3.js.map} +1 -1
  38. package/es/_chunks/{dep-c0b93c23.js → dep-4b07e198.js} +2 -2
  39. package/es/_chunks/{dep-c0b93c23.js.map → dep-4b07e198.js.map} +1 -1
  40. package/es/_chunks/{dep-c1490cf6.js → dep-4cc11596.js} +8 -8
  41. package/es/_chunks/{dep-c1490cf6.js.map → dep-4cc11596.js.map} +1 -1
  42. package/{esm/_chunks/dep-695a3ead.js → es/_chunks/dep-4e18f91a.js} +4 -4
  43. package/es/_chunks/{dep-695a3ead.js.map → dep-4e18f91a.js.map} +1 -1
  44. package/{esm/_chunks/dep-bb55dd2f.js → es/_chunks/dep-50c12e42.js} +6 -6
  45. package/es/_chunks/{dep-bb55dd2f.js.map → dep-50c12e42.js.map} +1 -1
  46. package/es/_chunks/dep-5303d900.js +303 -0
  47. package/es/_chunks/dep-5303d900.js.map +1 -0
  48. package/{esm/_chunks/dep-c008b410.js → es/_chunks/dep-5a75ddfa.js} +4 -4
  49. package/es/_chunks/{dep-c008b410.js.map → dep-5a75ddfa.js.map} +1 -1
  50. package/{esm/_chunks/dep-a62bdfd5.js → es/_chunks/dep-5c961b06.js} +8 -8
  51. package/es/_chunks/{dep-a62bdfd5.js.map → dep-5c961b06.js.map} +1 -1
  52. package/es/_chunks/{dep-f7f44030.js → dep-5e33104a.js} +2 -2
  53. package/es/_chunks/{dep-f7f44030.js.map → dep-5e33104a.js.map} +1 -1
  54. package/{esm/_chunks/dep-6d5c2511.js → es/_chunks/dep-660f1c88.js} +6 -6
  55. package/es/_chunks/{dep-6d5c2511.js.map → dep-660f1c88.js.map} +1 -1
  56. package/{esm/_chunks/dep-0b34f475.js → es/_chunks/dep-6ad29962.js} +6 -6
  57. package/{esm/_chunks/dep-0b34f475.js.map → es/_chunks/dep-6ad29962.js.map} +1 -1
  58. package/es/_chunks/dep-6fb8cfe3.js +8 -0
  59. package/es/_chunks/dep-6fb8cfe3.js.map +1 -0
  60. package/es/_chunks/{dep-8823a92e.js → dep-70c9bb2d.js} +7 -7
  61. package/{esm/_chunks/dep-8823a92e.js.map → es/_chunks/dep-70c9bb2d.js.map} +1 -1
  62. package/{esm/_chunks/dep-c50b5bb9.js → es/_chunks/dep-75144258.js} +4 -4
  63. package/es/_chunks/{dep-c50b5bb9.js.map → dep-75144258.js.map} +1 -1
  64. package/{esm/_chunks/dep-f3331392.js → es/_chunks/dep-7d734ce4.js} +3 -3
  65. package/es/_chunks/{dep-f3331392.js.map → dep-7d734ce4.js.map} +1 -1
  66. package/{esm/_chunks/dep-4ba0cdcf.js → es/_chunks/dep-7f022b70.js} +5 -5
  67. package/es/_chunks/{dep-4ba0cdcf.js.map → dep-7f022b70.js.map} +1 -1
  68. package/es/_chunks/{dep-c5782559.js → dep-81c9a485.js} +7 -7
  69. package/es/_chunks/{dep-c5782559.js.map → dep-81c9a485.js.map} +1 -1
  70. package/es/_chunks/{dep-1d476548.js → dep-8210af29.js} +3 -3
  71. package/es/_chunks/{dep-1d476548.js.map → dep-8210af29.js.map} +1 -1
  72. package/{esm/_chunks/dep-3f70a0f5.js → es/_chunks/dep-8a07113f.js} +3 -3
  73. package/es/_chunks/{dep-3f70a0f5.js.map → dep-8a07113f.js.map} +1 -1
  74. package/es/_chunks/{dep-fd49ee45.js → dep-8aee3ad0.js} +4 -4
  75. package/{esm/_chunks/dep-fd49ee45.js.map → es/_chunks/dep-8aee3ad0.js.map} +1 -1
  76. package/{esm/_chunks/dep-4979c2b8.js → es/_chunks/dep-98412f1b.js} +5 -5
  77. package/es/_chunks/{dep-4979c2b8.js.map → dep-98412f1b.js.map} +1 -1
  78. package/{esm/_chunks/dep-e3baf9a5.js → es/_chunks/dep-a64706b5.js} +13 -13
  79. package/es/_chunks/{dep-e3baf9a5.js.map → dep-a64706b5.js.map} +1 -1
  80. package/{esm/_chunks/dep-deeece0d.js → es/_chunks/dep-a9ccbf72.js} +4 -4
  81. package/{esm/_chunks/dep-deeece0d.js.map → es/_chunks/dep-a9ccbf72.js.map} +1 -1
  82. package/{esm/_chunks/dep-a7731315.js → es/_chunks/dep-aabdac78.js} +4 -4
  83. package/es/_chunks/{dep-a7731315.js.map → dep-aabdac78.js.map} +1 -1
  84. package/es/_chunks/{dep-35ecd49c.js → dep-ac5499d2.js} +7 -7
  85. package/es/_chunks/{dep-35ecd49c.js.map → dep-ac5499d2.js.map} +1 -1
  86. package/{esm/_chunks/dep-611402ed.js → es/_chunks/dep-b260b040.js} +9 -9
  87. package/{esm/_chunks/dep-611402ed.js.map → es/_chunks/dep-b260b040.js.map} +1 -1
  88. package/es/_chunks/{dep-91fd8fa6.js → dep-bce06e2a.js} +5 -5
  89. package/{esm/_chunks/dep-91fd8fa6.js.map → es/_chunks/dep-bce06e2a.js.map} +1 -1
  90. package/{esm/_chunks/dep-fc9c9fdd.js → es/_chunks/dep-bf036b5a.js} +7 -7
  91. package/{esm/_chunks/dep-fc9c9fdd.js.map → es/_chunks/dep-bf036b5a.js.map} +1 -1
  92. package/es/_chunks/{dep-896efa92.js → dep-bfb938d4.js} +4 -4
  93. package/es/_chunks/{dep-896efa92.js.map → dep-bfb938d4.js.map} +1 -1
  94. package/es/_chunks/{dep-09442174.js → dep-c323da2e.js} +9 -9
  95. package/{esm/_chunks/dep-09442174.js.map → es/_chunks/dep-c323da2e.js.map} +1 -1
  96. package/{esm/_chunks/dep-2f489a35.js → es/_chunks/dep-d02297e1.js} +4 -4
  97. package/{esm/_chunks/dep-2f489a35.js.map → es/_chunks/dep-d02297e1.js.map} +1 -1
  98. package/{esm/_chunks/dep-427158bb.js → es/_chunks/dep-dceb9e91.js} +4 -4
  99. package/es/_chunks/{dep-427158bb.js.map → dep-dceb9e91.js.map} +1 -1
  100. package/es/_chunks/{dep-0ff35b5e.js → dep-ddc8d78b.js} +5 -5
  101. package/es/_chunks/{dep-0ff35b5e.js.map → dep-ddc8d78b.js.map} +1 -1
  102. package/{esm/_chunks/dep-360d6135.js → es/_chunks/dep-df7c3c40.js} +7 -7
  103. package/es/_chunks/{dep-360d6135.js.map → dep-df7c3c40.js.map} +1 -1
  104. package/es/_chunks/{dep-c869a7bd.js → dep-e4bd3f59.js} +2 -2
  105. package/es/_chunks/{dep-c869a7bd.js.map → dep-e4bd3f59.js.map} +1 -1
  106. package/{esm/_chunks/dep-36516db7.js → es/_chunks/dep-e6b11dd2.js} +10 -8
  107. package/es/_chunks/dep-e6b11dd2.js.map +1 -0
  108. package/{esm/_chunks/dep-989dca4b.js → es/_chunks/dep-e7080b2b.js} +4 -4
  109. package/{esm/_chunks/dep-989dca4b.js.map → es/_chunks/dep-e7080b2b.js.map} +1 -1
  110. package/{esm/_chunks/dep-46120f73.js → es/_chunks/dep-ed38fb3f.js} +3 -3
  111. package/es/_chunks/{dep-46120f73.js.map → dep-ed38fb3f.js.map} +1 -1
  112. package/es/_chunks/{dep-aa302200.js → dep-f6c4b0e3.js} +5 -5
  113. package/{esm/_chunks/dep-aa302200.js.map → es/_chunks/dep-f6c4b0e3.js.map} +1 -1
  114. package/es/_chunks/{dep-2e56daa5.js → dep-f8ed3d80.js} +4 -4
  115. package/es/_chunks/{dep-2e56daa5.js.map → dep-f8ed3d80.js.map} +1 -1
  116. package/es/_chunks/dep-fc73063f.js +146 -0
  117. package/es/_chunks/dep-fc73063f.js.map +1 -0
  118. package/{esm/_chunks/dep-bfd83090.js → es/_chunks/dep-fe1a5fed.js} +9 -9
  119. package/es/_chunks/{dep-bfd83090.js.map → dep-fe1a5fed.js.map} +1 -1
  120. package/es/_common/js/common.js +1 -1
  121. package/es/_common/js/date-picker/utils.js +14 -14
  122. package/es/_common/js/loading/circle-adapter.js +5 -5
  123. package/es/_common/js/locale/en_US.js +1 -1
  124. package/es/_common/js/locale/zh_CN.js +1 -1
  125. package/es/_common/js/log/index.js +1 -1
  126. package/es/_common/js/log/log.js +1 -1
  127. package/es/_common/js/log/types.js +1 -1
  128. package/es/_common/js/tree/tree-node-model.js +22 -151
  129. package/es/_common/js/tree/tree-node-model.js.map +1 -1
  130. package/es/_common/js/tree/tree-node.js +27 -26
  131. package/es/_common/js/tree/tree-node.js.map +1 -1
  132. package/es/_common/js/tree/tree-store.js +35 -34
  133. package/es/_common/js/tree/tree-store.js.map +1 -1
  134. package/es/_common/js/tree/types.js +1 -1
  135. package/es/_common/js/upload/types.js +1 -1
  136. package/es/_common/js/upload/xhr.js +1 -1
  137. package/es/_common/js/utils/calcTextareaHeight.js +5 -5
  138. package/es/_common/js/utils/calcTextareaHeight.js.map +1 -1
  139. package/es/_common/js/utils/helper.js +5 -5
  140. package/es/_common/js/utils/set-style.js +1 -1
  141. package/es/_util/callBoth.js +1 -1
  142. package/es/_util/composeRefs.js +1 -1
  143. package/es/_util/dom.js +8 -8
  144. package/es/_util/easing.js +1 -1
  145. package/es/_util/forwardRefWithStatics.js +1 -1
  146. package/es/_util/getScrollbarWidth.js +1 -1
  147. package/es/_util/hasScrollBar.js +1 -1
  148. package/es/_util/helper.js +16 -16
  149. package/es/_util/injectValue.js +1 -1
  150. package/es/_util/insertCSS.js +1 -1
  151. package/es/_util/isCallable.js +1 -1
  152. package/es/_util/linearGradient.js +2 -2
  153. package/es/_util/noop.js +1 -1
  154. package/es/_util/number.js +1 -1
  155. package/es/_util/setStyle.js +1 -1
  156. package/es/_util/useClickOutside.js +1 -1
  157. package/es/_util/useCommonClassName.js +20 -20
  158. package/es/_util/useConfig.js +20 -20
  159. package/es/_util/useDefault.js +3 -3
  160. package/es/_util/useDefaultValue.js +5 -5
  161. package/es/_util/useDragSorter.d.ts +24 -0
  162. package/es/_util/useDragSorter.js +96 -0
  163. package/es/_util/useDragSorter.js.map +1 -0
  164. package/es/_util/useLayoutEffect.js +8 -8
  165. package/es/_util/usePersistFn.js +1 -1
  166. package/es/_util/usePrevious.js +1 -1
  167. package/es/_util/useRefAndForward.js +1 -1
  168. package/es/_util/useRipple.js +21 -21
  169. package/es/_util/useSetState.js +4 -4
  170. package/es/_util/useUpdateEffect.js +8 -8
  171. package/es/addon/Addon.js +21 -21
  172. package/es/addon/index.js +21 -21
  173. package/es/affix/Affix.js +23 -23
  174. package/es/affix/index.js +23 -23
  175. package/es/affix/style/index.js +1 -1
  176. package/es/affix/type.js +1 -1
  177. package/es/alert/Alert.js +23 -23
  178. package/es/alert/index.js +23 -23
  179. package/es/alert/style/index.js +1 -1
  180. package/es/alert/type.js +1 -1
  181. package/es/anchor/Anchor.js +26 -26
  182. package/es/anchor/AnchorContext.js +1 -1
  183. package/es/anchor/AnchorItem.js +21 -21
  184. package/es/anchor/AnchorTarget.js +24 -24
  185. package/es/anchor/_util/clipboard.js +1 -1
  186. package/es/anchor/_util/dom.js +1 -1
  187. package/es/anchor/index.js +26 -26
  188. package/es/anchor/style/index.js +1 -1
  189. package/es/anchor/type.js +1 -1
  190. package/es/avatar/AvararGroup.js +25 -25
  191. package/es/avatar/Avatar.js +25 -25
  192. package/es/avatar/AvatarContext.js +1 -1
  193. package/es/avatar/index.js +25 -25
  194. package/es/avatar/style/index.js +1 -1
  195. package/es/avatar/type.js +1 -1
  196. package/es/badge/Badge.js +21 -21
  197. package/es/badge/index.js +21 -21
  198. package/es/badge/style/index.js +1 -1
  199. package/es/badge/type.js +1 -1
  200. package/es/breadcrumb/Breadcrumb.js +21 -21
  201. package/es/breadcrumb/BreadcrumbContext.js +1 -1
  202. package/es/breadcrumb/BreadcrumbItem.js +21 -21
  203. package/es/breadcrumb/BreadcrumbProps.js +1 -1
  204. package/es/breadcrumb/index.js +21 -21
  205. package/es/breadcrumb/style/index.js +1 -1
  206. package/es/breadcrumb/type.js +1 -1
  207. package/es/button/Button.js +24 -24
  208. package/es/button/index.js +24 -24
  209. package/es/button/style/index.css +7 -0
  210. package/es/button/style/index.js +1 -1
  211. package/es/button/type.js +1 -1
  212. package/es/calendar/Calendar.js +34 -34
  213. package/es/calendar/_util.js +1 -1
  214. package/es/calendar/index.js +34 -34
  215. package/es/calendar/style/index.js +1 -1
  216. package/es/calendar/type.js +1 -1
  217. package/es/card/type.js +1 -1
  218. package/es/cascader/Cascader.js +55 -48
  219. package/es/cascader/Cascader.js.map +1 -1
  220. package/es/cascader/components/InputContent.js +25 -25
  221. package/es/cascader/components/Item.js +32 -32
  222. package/es/cascader/components/Panel.js +38 -38
  223. package/es/cascader/components/Panel.js.map +1 -1
  224. package/es/cascader/components/style/index.js +1 -1
  225. package/es/cascader/index.js +46 -45
  226. package/es/cascader/index.js.map +1 -1
  227. package/es/cascader/interface.js +27 -26
  228. package/es/cascader/interface.js.map +1 -1
  229. package/es/cascader/style/index.js +1 -1
  230. package/es/cascader/type.js +1 -1
  231. package/es/cascader/utils/cascader.js +10 -5
  232. package/es/cascader/utils/cascader.js.map +1 -1
  233. package/es/cascader/utils/helper.js +2 -2
  234. package/es/cascader/utils/inputContent.js +17 -17
  235. package/es/cascader/utils/inputContent.js.map +1 -1
  236. package/es/cascader/utils/item.js +4 -4
  237. package/es/cascader/utils/panel.js +8 -8
  238. package/es/checkbox/Checkbox.js +30 -30
  239. package/es/checkbox/CheckboxGroup.js +30 -30
  240. package/es/checkbox/index.js +30 -30
  241. package/es/checkbox/style/index.js +1 -1
  242. package/es/checkbox/type.d.ts +7 -5
  243. package/es/checkbox/type.js +1 -1
  244. package/es/comment/Comment.js +20 -20
  245. package/es/comment/index.js +20 -20
  246. package/es/comment/style/index.js +1 -1
  247. package/es/comment/type.js +1 -1
  248. package/es/common/Check.js +28 -28
  249. package/es/common/FakeArrow.js +20 -20
  250. package/es/common/Portal.js +8 -8
  251. package/es/common.js +1 -1
  252. package/es/config-provider/ConfigContext.js +20 -20
  253. package/es/config-provider/ConfigProvider.js +20 -20
  254. package/es/config-provider/defaultConfig.js +1 -1
  255. package/es/config-provider/index.js +20 -20
  256. package/es/config-provider/type.js +1 -1
  257. package/es/date-picker/DatePicker.js +33 -33
  258. package/es/date-picker/base/CalendarPresets.js +24 -24
  259. package/es/date-picker/base/Cell.js +20 -20
  260. package/es/date-picker/base/Header.js +24 -24
  261. package/es/date-picker/base/Table.js +22 -22
  262. package/es/date-picker/base/style/index.js +1 -1
  263. package/es/date-picker/index.js +33 -33
  264. package/es/date-picker/panel/Date.js +28 -28
  265. package/es/date-picker/panel/DateRange.js +28 -28
  266. package/es/date-picker/panel/style/index.js +1 -1
  267. package/es/date-picker/style/index.js +1 -1
  268. package/es/date-picker/type.js +1 -1
  269. package/es/dialog/Dialog.js +24 -24
  270. package/es/dialog/RenderDialog.js +22 -13
  271. package/es/dialog/RenderDialog.js.map +1 -1
  272. package/es/dialog/index.js +24 -24
  273. package/es/dialog/plugin.js +24 -24
  274. package/es/dialog/style/index.js +1 -1
  275. package/es/dialog/type.js +1 -1
  276. package/es/divider/Divider.js +21 -21
  277. package/es/divider/index.js +21 -21
  278. package/es/divider/style/index.css +3 -4
  279. package/es/divider/style/index.js +1 -1
  280. package/es/divider/type.js +1 -1
  281. package/es/drawer/Drawer.js +24 -24
  282. package/es/drawer/DrawerWrapper.js +8 -8
  283. package/es/drawer/index.js +24 -24
  284. package/es/drawer/style/index.js +1 -1
  285. package/es/drawer/type.js +1 -1
  286. package/es/dropdown/Dropdown.js +38 -38
  287. package/es/dropdown/DropdownItem.js +29 -29
  288. package/es/dropdown/DropdownMenu.js +30 -30
  289. package/es/dropdown/index.js +38 -38
  290. package/es/dropdown/style/index.js +1 -1
  291. package/es/dropdown/type.js +1 -1
  292. package/es/form/Form.js +46 -46
  293. package/es/form/FormContext.js +1 -1
  294. package/es/form/FormItem.js +44 -44
  295. package/es/form/formModel.js +26 -26
  296. package/es/form/index.js +46 -46
  297. package/es/form/style/index.js +1 -1
  298. package/es/form/type.js +1 -1
  299. package/es/grid/Col.js +21 -21
  300. package/es/grid/Row.js +24 -24
  301. package/es/grid/index.js +24 -24
  302. package/es/grid/style/index.js +1 -1
  303. package/es/grid/type.js +1 -1
  304. package/es/index.d.ts +1 -0
  305. package/es/index.js +63 -57
  306. package/es/index.js.map +1 -1
  307. package/es/input/Input.js +48 -30
  308. package/es/input/Input.js.map +1 -1
  309. package/es/input/InputGroup.js +21 -21
  310. package/es/input/index.js +23 -23
  311. package/es/input/style/index.css +12 -2
  312. package/es/input/style/index.js +1 -1
  313. package/es/input/type.d.ts +14 -4
  314. package/es/input/type.js +1 -1
  315. package/es/input-number/InputNumber.js +24 -24
  316. package/es/input-number/StepHandler.js +24 -24
  317. package/es/input-number/index.js +24 -24
  318. package/es/input-number/style/index.js +1 -1
  319. package/es/input-number/type.js +1 -1
  320. package/es/input-number/utils/numberUtils.js +1 -1
  321. package/es/layout/Aside.js +21 -21
  322. package/es/layout/Layout.js +24 -24
  323. package/es/layout/Layout.js.map +1 -1
  324. package/es/layout/index.js +23 -23
  325. package/es/layout/style/index.js +1 -1
  326. package/es/layout/type.js +1 -1
  327. package/es/list/List.js +24 -24
  328. package/es/list/ListItem.js +20 -20
  329. package/es/list/ListItemMeta.js +20 -20
  330. package/es/list/index.js +24 -24
  331. package/es/list/style/index.js +1 -1
  332. package/es/list/type.js +1 -1
  333. package/es/loading/gradient.js +23 -23
  334. package/es/loading/index.js +24 -24
  335. package/es/loading/loading.js +24 -24
  336. package/es/loading/plugin.js +24 -24
  337. package/es/loading/style/index.js +1 -1
  338. package/es/loading/type.js +1 -1
  339. package/es/locale/LocalReceiver.js +20 -20
  340. package/es/locale/en_US.js +1 -1
  341. package/es/locale/zh_CN.js +1 -1
  342. package/es/menu/HeadMenu.js +24 -24
  343. package/es/menu/Menu.js +24 -24
  344. package/es/menu/MenuContext.js +1 -1
  345. package/es/menu/MenuGroup.js +20 -20
  346. package/es/menu/MenuItem.js +21 -21
  347. package/es/menu/SubMenu.js +23 -23
  348. package/es/menu/_util/cacularPaddingLeft.js +1 -1
  349. package/es/menu/_util/checkMenuType.js +1 -1
  350. package/es/menu/_util/checkSubMenuActive.js +1 -1
  351. package/es/menu/_util/checkSubMenuChildExpanded.js +3 -3
  352. package/es/menu/_util/checkSubMenuChildrenActive.js +1 -1
  353. package/es/menu/_util/constant.js +1 -1
  354. package/es/menu/_util/getSubMenuChildStyle.js +1 -1
  355. package/es/menu/_util/type.js +1 -1
  356. package/es/menu/hooks/useMenuContext.js +6 -6
  357. package/es/menu/index.js +24 -24
  358. package/es/menu/style/index.css +4 -2
  359. package/es/menu/style/index.js +1 -1
  360. package/es/menu/type.js +1 -1
  361. package/es/message/Message.js +24 -24
  362. package/es/message/MessageClose.js +20 -20
  363. package/es/message/MessageComponent.js +24 -24
  364. package/es/message/MessageIcon.js +24 -24
  365. package/es/message/const.js +1 -1
  366. package/es/message/index.js +24 -24
  367. package/es/message/style/index.js +1 -1
  368. package/es/message/type.js +1 -1
  369. package/es/message/useMessageClass.js +20 -20
  370. package/es/notification/Notification.d.ts +1 -0
  371. package/es/notification/Notification.js +29 -172
  372. package/es/notification/Notification.js.map +1 -1
  373. package/es/notification/NotificationList.d.ts +2 -0
  374. package/es/notification/NotificationList.js +28 -186
  375. package/es/notification/NotificationList.js.map +1 -1
  376. package/es/notification/NotificationPlugin.js +25 -26
  377. package/es/notification/NotificationPlugin.js.map +1 -1
  378. package/es/notification/index.js +26 -27
  379. package/es/notification/index.js.map +1 -1
  380. package/es/notification/style/index.js +1 -1
  381. package/es/notification/type.js +1 -1
  382. package/es/pagination/Pagination.js +30 -30
  383. package/es/pagination/index.js +30 -30
  384. package/es/pagination/style/index.js +1 -1
  385. package/es/pagination/type.js +1 -1
  386. package/es/pagination/validators.js +1 -1
  387. package/es/popconfirm/PopConfirm.js +24 -24
  388. package/es/popconfirm/PopContent.js +24 -24
  389. package/es/popconfirm/index.js +24 -24
  390. package/es/popconfirm/style/index.js +1 -1
  391. package/es/popconfirm/type.js +1 -1
  392. package/es/popup/Popup.js +44 -26
  393. package/es/popup/Popup.js.map +1 -1
  394. package/es/popup/hooks/useTriggerProps.js +1 -1
  395. package/es/popup/index.js +23 -23
  396. package/es/popup/style/index.css +4 -4
  397. package/es/popup/style/index.js +1 -1
  398. package/es/popup/type.d.ts +7 -2
  399. package/es/popup/type.js +1 -1
  400. package/es/popup/utils/getTransitionParams.js +1 -1
  401. package/es/progress/Progress.js +21 -21
  402. package/es/progress/index.js +21 -21
  403. package/es/progress/style/index.js +1 -1
  404. package/es/progress/type.js +1 -1
  405. package/es/radio/Radio.js +29 -29
  406. package/es/radio/RadioGroup.js +29 -29
  407. package/es/radio/index.js +29 -29
  408. package/es/radio/style/index.css +8 -4
  409. package/es/radio/style/index.js +1 -1
  410. package/es/radio/type.js +1 -1
  411. package/es/rate/type.js +1 -1
  412. package/es/select/base/Option.js +26 -26
  413. package/es/select/base/OptionGroup.js +20 -20
  414. package/es/select/base/PopupContent.js +30 -30
  415. package/es/select/base/Select.js +30 -30
  416. package/es/select/base/style/index.js +1 -1
  417. package/es/select/index.js +30 -30
  418. package/es/select/style/index.js +1 -1
  419. package/es/select/type.js +1 -1
  420. package/es/select/util/helper.js +28 -28
  421. package/es/select-input/SelectInput.d.ts +7 -0
  422. package/es/select-input/SelectInput.js +153 -0
  423. package/es/select-input/SelectInput.js.map +1 -0
  424. package/es/select-input/index.d.ts +6 -0
  425. package/es/select-input/index.js +92 -0
  426. package/es/select-input/index.js.map +1 -0
  427. package/es/select-input/style/css.d.ts +1 -0
  428. package/es/select-input/style/css.js +1 -0
  429. package/es/select-input/style/index.css +41 -0
  430. package/es/select-input/style/index.d.ts +1 -0
  431. package/es/select-input/style/index.js +7 -0
  432. package/es/select-input/style/index.js.map +1 -0
  433. package/es/select-input/type.d.ts +197 -0
  434. package/es/select-input/type.js +7 -0
  435. package/es/select-input/type.js.map +1 -0
  436. package/es/select-input/useMultiple.d.ts +15 -0
  437. package/es/select-input/useMultiple.js +140 -0
  438. package/es/select-input/useMultiple.js.map +1 -0
  439. package/es/select-input/useOverlayStyle.d.ts +8 -0
  440. package/es/select-input/useOverlayStyle.js +72 -0
  441. package/es/select-input/useOverlayStyle.js.map +1 -0
  442. package/es/select-input/useSingle.d.ts +14 -0
  443. package/es/select-input/useSingle.js +137 -0
  444. package/es/select-input/useSingle.js.map +1 -0
  445. package/es/skeleton/Skeleton.js +30 -30
  446. package/es/skeleton/index.js +30 -30
  447. package/es/skeleton/style/index.js +1 -1
  448. package/es/skeleton/type.js +1 -1
  449. package/es/slider/Slider.js +37 -38
  450. package/es/slider/Slider.js.map +1 -1
  451. package/es/slider/SliderHandleButton.js +29 -29
  452. package/es/slider/SliderHandleButton.js.map +1 -1
  453. package/es/slider/index.js +24 -24
  454. package/es/slider/style/index.css +6 -0
  455. package/es/slider/style/index.js +1 -1
  456. package/es/slider/type.js +1 -1
  457. package/es/slider/utils/handleNumber.js +1 -1
  458. package/es/steps/StepItem.js +20 -20
  459. package/es/steps/Steps.js +20 -20
  460. package/es/steps/StepsContext.js +1 -1
  461. package/es/steps/index.js +20 -20
  462. package/es/steps/style/index.js +1 -1
  463. package/es/steps/type.js +1 -1
  464. package/es/sticky-tool/type.js +1 -1
  465. package/es/style/index.js +1 -1
  466. package/es/swiper/Swiper.js +22 -22
  467. package/es/swiper/SwiperItem.js +1 -1
  468. package/es/swiper/index.js +22 -22
  469. package/es/swiper/style/index.js +1 -1
  470. package/es/swiper/type.js +1 -1
  471. package/es/switch/Switch.js +24 -24
  472. package/es/switch/index.js +24 -24
  473. package/es/switch/style/index.js +1 -1
  474. package/es/switch/type.js +1 -1
  475. package/es/table/base/Table.d.ts +2 -10
  476. package/es/table/base/Table.js +32 -32
  477. package/es/table/base/Table.js.map +1 -1
  478. package/es/table/base/TableAsyncLoadingBody.js +24 -24
  479. package/es/table/base/TableBody.d.ts +2 -1
  480. package/es/table/base/TableBody.js +28 -28
  481. package/es/table/base/TableBody.js.map +1 -1
  482. package/es/table/base/TableCell.js +56 -28
  483. package/es/table/base/TableCell.js.map +1 -1
  484. package/es/table/base/TableColGroup.js +1 -1
  485. package/es/table/base/TableContext.js +1 -1
  486. package/es/table/base/TableEmptyBody.js +22 -22
  487. package/es/table/base/TableFooter.js +1 -1
  488. package/es/table/base/TableHeader.js +25 -25
  489. package/es/table/base/TableLoadingBody.js +5 -5
  490. package/es/table/base/TableRow.d.ts +2 -1
  491. package/es/table/base/TableRow.js +28 -28
  492. package/es/table/base/TableRow.js.map +1 -1
  493. package/es/table/base/style/index.js +1 -1
  494. package/es/table/enhanced/Table.js +38 -38
  495. package/es/table/enhanced/TableContext.js +1 -1
  496. package/es/table/enhanced/style/index.js +1 -1
  497. package/es/table/enhanced/useTree.js +27 -27
  498. package/es/table/hooks/useColumns.js +4 -4
  499. package/es/table/index.js +38 -38
  500. package/es/table/primary/FilterButton.js +32 -32
  501. package/es/table/primary/SorterButton.js +24 -24
  502. package/es/table/primary/Table.js +42 -42
  503. package/es/table/primary/Table.js.map +1 -1
  504. package/es/table/primary/expand-box.js +20 -20
  505. package/es/table/primary/style/index.js +1 -1
  506. package/es/table/primary/useExpand.js +27 -27
  507. package/es/table/primary/useFilter.js +32 -32
  508. package/es/table/primary/useSelect.js +32 -32
  509. package/es/table/primary/useSorter.js +29 -29
  510. package/es/table/style/index.css +31 -0
  511. package/es/table/style/index.js +1 -1
  512. package/es/table/type.js +1 -1
  513. package/es/table/util/getRowKeyFromRowKey.js +1 -1
  514. package/es/table/util/index.js +1 -1
  515. package/es/tabs/TabBar.js +22 -22
  516. package/es/tabs/TabNav.js +23 -23
  517. package/es/tabs/TabNavItem.js +21 -21
  518. package/es/tabs/TabPanel.js +20 -20
  519. package/es/tabs/Tabs.js +23 -23
  520. package/es/tabs/index.js +23 -23
  521. package/es/tabs/style/index.js +1 -1
  522. package/es/tabs/type.js +1 -1
  523. package/es/tabs/useTabClass.js +20 -20
  524. package/es/tag/CheckTag.js +23 -23
  525. package/es/tag/Tag.js +23 -23
  526. package/es/tag/index.js +23 -23
  527. package/es/tag/style/index.js +1 -1
  528. package/es/tag/type.js +1 -1
  529. package/es/tag-input/TagInput.js +62 -33
  530. package/es/tag-input/TagInput.js.map +1 -1
  531. package/es/tag-input/index.js +25 -24
  532. package/es/tag-input/index.js.map +1 -1
  533. package/es/tag-input/style/index.css +10 -33
  534. package/es/tag-input/style/index.js +1 -1
  535. package/es/tag-input/type.d.ts +22 -4
  536. package/es/tag-input/type.js +1 -1
  537. package/es/tag-input/useHover.d.ts +13 -2
  538. package/es/tag-input/useHover.js +3 -3
  539. package/es/tag-input/useHover.js.map +1 -1
  540. package/es/tag-input/useTagList.d.ts +6 -2
  541. package/es/tag-input/useTagList.js +37 -36
  542. package/es/tag-input/useTagList.js.map +1 -1
  543. package/es/tag-input/useTagScroll.js +3 -3
  544. package/es/textarea/Textarea.js +28 -28
  545. package/es/textarea/index.js +28 -28
  546. package/es/textarea/style/index.css +1 -1
  547. package/es/textarea/style/index.js +1 -1
  548. package/es/textarea/type.js +1 -1
  549. package/es/time-picker/InputItems.js +31 -31
  550. package/es/time-picker/TimePicker.js +34 -34
  551. package/es/time-picker/TimeRangePicker.js +34 -34
  552. package/es/time-picker/consts.js +22 -22
  553. package/es/time-picker/index.js +34 -34
  554. package/es/time-picker/interfaces.js +1 -1
  555. package/es/time-picker/panel/SinglePanel.js +31 -31
  556. package/es/time-picker/panel/TimePickerPanel.js +33 -33
  557. package/es/time-picker/panel/TimePickerRangePanel.js +33 -33
  558. package/es/time-picker/panel/style/index.js +1 -1
  559. package/es/time-picker/style/index.js +1 -1
  560. package/es/time-picker/type.js +1 -1
  561. package/es/tooltip/Tooltip.js +24 -24
  562. package/es/tooltip/index.js +24 -24
  563. package/es/tooltip/style/index.js +1 -1
  564. package/es/tooltip/type.js +1 -1
  565. package/es/transfer/Transfer.js +40 -40
  566. package/es/transfer/TransferList.js +36 -36
  567. package/es/transfer/index.js +40 -40
  568. package/es/transfer/style/index.js +1 -1
  569. package/es/transfer/type.js +1 -1
  570. package/es/transfer/utils.js +17 -17
  571. package/es/tree/Tree.js +47 -46
  572. package/es/tree/Tree.js.map +1 -1
  573. package/es/tree/TreeItem.js +31 -31
  574. package/es/tree/index.js +47 -46
  575. package/es/tree/index.js.map +1 -1
  576. package/es/tree/interface.js +1 -1
  577. package/es/tree/style/index.js +1 -1
  578. package/es/tree/type.js +1 -1
  579. package/es/tree/useControllable.js +3 -3
  580. package/es/tree/useStore.js +41 -40
  581. package/es/tree/useStore.js.map +1 -1
  582. package/es/tree/useTreeConfig.js +22 -22
  583. package/es/tree-select/TreeSelect.js +48 -47
  584. package/es/tree-select/TreeSelect.js.map +1 -1
  585. package/es/tree-select/TreeSelectInput.js +26 -26
  586. package/es/tree-select/TreeSelectSuffix.js +26 -26
  587. package/es/tree-select/TreeSelectTags.js +23 -23
  588. package/es/tree-select/index.js +48 -47
  589. package/es/tree-select/index.js.map +1 -1
  590. package/es/tree-select/style/index.js +1 -1
  591. package/es/tree-select/type.js +1 -1
  592. package/es/tree-select/useTreeSelectConfig.js +20 -20
  593. package/es/upload/boolean-render.js +1 -1
  594. package/es/upload/dragger.js +25 -25
  595. package/es/upload/hooks/useDefaultValue.js +7 -7
  596. package/es/upload/hooks/useSizeLimit.js +22 -22
  597. package/es/upload/index.js +39 -39
  598. package/es/upload/style/index.js +1 -1
  599. package/es/upload/themes/dragger-progress.js +25 -25
  600. package/es/upload/themes/flow-list/file-list.js +25 -25
  601. package/es/upload/themes/flow-list/img-list.js +25 -25
  602. package/es/upload/themes/flow-list/index.js +25 -25
  603. package/es/upload/themes/flow-list/style/index.js +1 -1
  604. package/es/upload/themes/image-card.js +25 -25
  605. package/es/upload/themes/single-file.js +24 -24
  606. package/es/upload/themes/style/index.js +1 -1
  607. package/es/upload/tips.js +20 -20
  608. package/es/upload/type.js +1 -1
  609. package/es/upload/types.js +1 -1
  610. package/es/upload/upload-trigger.js +24 -24
  611. package/es/upload/upload.js +39 -39
  612. package/es/upload/util.js +3 -3
  613. package/esm/_chunks/{dep-f9242fec.js → dep-04a6c042.js} +2 -2
  614. package/esm/_chunks/dep-04a6c042.js.map +1 -0
  615. package/esm/_chunks/{dep-a180486a.js → dep-0529bc9f.js} +8 -8
  616. package/{es/_chunks/dep-a180486a.js.map → esm/_chunks/dep-0529bc9f.js.map} +1 -1
  617. package/esm/_chunks/{dep-ff79fb39.js → dep-0c0fc89b.js} +7 -7
  618. package/esm/_chunks/{dep-ff79fb39.js.map → dep-0c0fc89b.js.map} +1 -1
  619. package/{es/_chunks/dep-b327e031.js → esm/_chunks/dep-0c32a524.js} +15 -15
  620. package/esm/_chunks/{dep-b327e031.js.map → dep-0c32a524.js.map} +1 -1
  621. package/{es/_chunks/dep-65c1d541.js → esm/_chunks/dep-10b8d252.js} +3 -3
  622. package/esm/_chunks/{dep-65c1d541.js.map → dep-10b8d252.js.map} +1 -1
  623. package/{es/_chunks/dep-48a0d26a.js → esm/_chunks/dep-1a698d53.js} +5 -5
  624. package/esm/_chunks/{dep-48a0d26a.js.map → dep-1a698d53.js.map} +1 -1
  625. package/esm/_chunks/{dep-90eb9c48.js → dep-1aa31dc5.js} +5 -5
  626. package/{es/_chunks/dep-90eb9c48.js.map → esm/_chunks/dep-1aa31dc5.js.map} +1 -1
  627. package/{es/_chunks/dep-7b5ee09e.js → esm/_chunks/dep-1dcd6f7a.js} +2 -2
  628. package/esm/_chunks/{dep-7b5ee09e.js.map → dep-1dcd6f7a.js.map} +1 -1
  629. package/esm/_chunks/{dep-861da54c.js → dep-2837cbee.js} +8 -8
  630. package/esm/_chunks/{dep-861da54c.js.map → dep-2837cbee.js.map} +1 -1
  631. package/{es/_chunks/dep-bce0ce39.js → esm/_chunks/dep-301db282.js} +3 -3
  632. package/esm/_chunks/{dep-bce0ce39.js.map → dep-301db282.js.map} +1 -1
  633. package/{es/_chunks/dep-9b59ab07.js → esm/_chunks/dep-34ec8ef2.js} +3 -3
  634. package/esm/_chunks/{dep-9b59ab07.js.map → dep-34ec8ef2.js.map} +1 -1
  635. package/{es/_chunks/dep-491ab1c7.js → esm/_chunks/dep-3e5f80c6.js} +7 -7
  636. package/esm/_chunks/{dep-491ab1c7.js.map → dep-3e5f80c6.js.map} +1 -1
  637. package/esm/_chunks/{dep-0b5c7f77.js → dep-46c643ed.js} +16 -16
  638. package/{es/_chunks/dep-0b5c7f77.js.map → esm/_chunks/dep-46c643ed.js.map} +1 -1
  639. package/esm/_chunks/{dep-8f43c3b0.js → dep-46cc1aa3.js} +9 -9
  640. package/{es/_chunks/dep-8f43c3b0.js.map → esm/_chunks/dep-46cc1aa3.js.map} +1 -1
  641. package/esm/_chunks/{dep-c0b93c23.js → dep-4b07e198.js} +2 -2
  642. package/esm/_chunks/{dep-c0b93c23.js.map → dep-4b07e198.js.map} +1 -1
  643. package/esm/_chunks/{dep-c1490cf6.js → dep-4cc11596.js} +8 -8
  644. package/esm/_chunks/{dep-c1490cf6.js.map → dep-4cc11596.js.map} +1 -1
  645. package/{es/_chunks/dep-695a3ead.js → esm/_chunks/dep-4e18f91a.js} +4 -4
  646. package/esm/_chunks/{dep-695a3ead.js.map → dep-4e18f91a.js.map} +1 -1
  647. package/{es/_chunks/dep-bb55dd2f.js → esm/_chunks/dep-50c12e42.js} +6 -6
  648. package/esm/_chunks/{dep-bb55dd2f.js.map → dep-50c12e42.js.map} +1 -1
  649. package/esm/_chunks/dep-5303d900.js +303 -0
  650. package/esm/_chunks/dep-5303d900.js.map +1 -0
  651. package/{es/_chunks/dep-c008b410.js → esm/_chunks/dep-5a75ddfa.js} +4 -4
  652. package/esm/_chunks/{dep-c008b410.js.map → dep-5a75ddfa.js.map} +1 -1
  653. package/{es/_chunks/dep-a62bdfd5.js → esm/_chunks/dep-5c961b06.js} +8 -8
  654. package/esm/_chunks/{dep-a62bdfd5.js.map → dep-5c961b06.js.map} +1 -1
  655. package/esm/_chunks/{dep-f7f44030.js → dep-5e33104a.js} +2 -2
  656. package/esm/_chunks/{dep-f7f44030.js.map → dep-5e33104a.js.map} +1 -1
  657. package/{es/_chunks/dep-6d5c2511.js → esm/_chunks/dep-660f1c88.js} +6 -6
  658. package/esm/_chunks/{dep-6d5c2511.js.map → dep-660f1c88.js.map} +1 -1
  659. package/{es/_chunks/dep-0b34f475.js → esm/_chunks/dep-6ad29962.js} +6 -6
  660. package/{es/_chunks/dep-0b34f475.js.map → esm/_chunks/dep-6ad29962.js.map} +1 -1
  661. package/esm/_chunks/dep-6fb8cfe3.js +8 -0
  662. package/esm/_chunks/dep-6fb8cfe3.js.map +1 -0
  663. package/esm/_chunks/{dep-8823a92e.js → dep-70c9bb2d.js} +7 -7
  664. package/{es/_chunks/dep-8823a92e.js.map → esm/_chunks/dep-70c9bb2d.js.map} +1 -1
  665. package/{es/_chunks/dep-c50b5bb9.js → esm/_chunks/dep-75144258.js} +4 -4
  666. package/esm/_chunks/{dep-c50b5bb9.js.map → dep-75144258.js.map} +1 -1
  667. package/{es/_chunks/dep-f3331392.js → esm/_chunks/dep-7d734ce4.js} +3 -3
  668. package/esm/_chunks/{dep-f3331392.js.map → dep-7d734ce4.js.map} +1 -1
  669. package/{es/_chunks/dep-4ba0cdcf.js → esm/_chunks/dep-7f022b70.js} +5 -5
  670. package/esm/_chunks/{dep-4ba0cdcf.js.map → dep-7f022b70.js.map} +1 -1
  671. package/esm/_chunks/{dep-c5782559.js → dep-81c9a485.js} +7 -7
  672. package/esm/_chunks/{dep-c5782559.js.map → dep-81c9a485.js.map} +1 -1
  673. package/esm/_chunks/{dep-1d476548.js → dep-8210af29.js} +3 -3
  674. package/esm/_chunks/{dep-1d476548.js.map → dep-8210af29.js.map} +1 -1
  675. package/{es/_chunks/dep-3f70a0f5.js → esm/_chunks/dep-8a07113f.js} +3 -3
  676. package/{lib/_chunks/dep-da5c2a7e.js.map → esm/_chunks/dep-8a07113f.js.map} +1 -1
  677. package/esm/_chunks/{dep-fd49ee45.js → dep-8aee3ad0.js} +4 -4
  678. package/{es/_chunks/dep-fd49ee45.js.map → esm/_chunks/dep-8aee3ad0.js.map} +1 -1
  679. package/{es/_chunks/dep-4979c2b8.js → esm/_chunks/dep-98412f1b.js} +5 -5
  680. package/esm/_chunks/{dep-4979c2b8.js.map → dep-98412f1b.js.map} +1 -1
  681. package/{es/_chunks/dep-e3baf9a5.js → esm/_chunks/dep-a64706b5.js} +13 -13
  682. package/esm/_chunks/{dep-e3baf9a5.js.map → dep-a64706b5.js.map} +1 -1
  683. package/{es/_chunks/dep-deeece0d.js → esm/_chunks/dep-a9ccbf72.js} +4 -4
  684. package/{es/_chunks/dep-deeece0d.js.map → esm/_chunks/dep-a9ccbf72.js.map} +1 -1
  685. package/{es/_chunks/dep-a7731315.js → esm/_chunks/dep-aabdac78.js} +4 -4
  686. package/esm/_chunks/{dep-a7731315.js.map → dep-aabdac78.js.map} +1 -1
  687. package/esm/_chunks/{dep-35ecd49c.js → dep-ac5499d2.js} +7 -7
  688. package/esm/_chunks/{dep-35ecd49c.js.map → dep-ac5499d2.js.map} +1 -1
  689. package/{es/_chunks/dep-611402ed.js → esm/_chunks/dep-b260b040.js} +9 -9
  690. package/{es/_chunks/dep-611402ed.js.map → esm/_chunks/dep-b260b040.js.map} +1 -1
  691. package/esm/_chunks/{dep-91fd8fa6.js → dep-bce06e2a.js} +5 -5
  692. package/{es/_chunks/dep-91fd8fa6.js.map → esm/_chunks/dep-bce06e2a.js.map} +1 -1
  693. package/{es/_chunks/dep-fc9c9fdd.js → esm/_chunks/dep-bf036b5a.js} +7 -7
  694. package/{es/_chunks/dep-fc9c9fdd.js.map → esm/_chunks/dep-bf036b5a.js.map} +1 -1
  695. package/esm/_chunks/{dep-896efa92.js → dep-bfb938d4.js} +4 -4
  696. package/esm/_chunks/{dep-896efa92.js.map → dep-bfb938d4.js.map} +1 -1
  697. package/esm/_chunks/{dep-09442174.js → dep-c323da2e.js} +9 -9
  698. package/{es/_chunks/dep-09442174.js.map → esm/_chunks/dep-c323da2e.js.map} +1 -1
  699. package/{es/_chunks/dep-2f489a35.js → esm/_chunks/dep-d02297e1.js} +4 -4
  700. package/{es/_chunks/dep-2f489a35.js.map → esm/_chunks/dep-d02297e1.js.map} +1 -1
  701. package/{es/_chunks/dep-427158bb.js → esm/_chunks/dep-dceb9e91.js} +4 -4
  702. package/esm/_chunks/{dep-427158bb.js.map → dep-dceb9e91.js.map} +1 -1
  703. package/esm/_chunks/{dep-0ff35b5e.js → dep-ddc8d78b.js} +5 -5
  704. package/esm/_chunks/{dep-0ff35b5e.js.map → dep-ddc8d78b.js.map} +1 -1
  705. package/{es/_chunks/dep-360d6135.js → esm/_chunks/dep-df7c3c40.js} +7 -7
  706. package/esm/_chunks/{dep-360d6135.js.map → dep-df7c3c40.js.map} +1 -1
  707. package/esm/_chunks/{dep-c869a7bd.js → dep-e4bd3f59.js} +2 -2
  708. package/esm/_chunks/{dep-c869a7bd.js.map → dep-e4bd3f59.js.map} +1 -1
  709. package/{es/_chunks/dep-36516db7.js → esm/_chunks/dep-e6b11dd2.js} +10 -8
  710. package/esm/_chunks/dep-e6b11dd2.js.map +1 -0
  711. package/{es/_chunks/dep-989dca4b.js → esm/_chunks/dep-e7080b2b.js} +4 -4
  712. package/{es/_chunks/dep-989dca4b.js.map → esm/_chunks/dep-e7080b2b.js.map} +1 -1
  713. package/{es/_chunks/dep-46120f73.js → esm/_chunks/dep-ed38fb3f.js} +3 -3
  714. package/esm/_chunks/{dep-46120f73.js.map → dep-ed38fb3f.js.map} +1 -1
  715. package/esm/_chunks/{dep-aa302200.js → dep-f6c4b0e3.js} +5 -5
  716. package/{es/_chunks/dep-aa302200.js.map → esm/_chunks/dep-f6c4b0e3.js.map} +1 -1
  717. package/esm/_chunks/{dep-2e56daa5.js → dep-f8ed3d80.js} +4 -4
  718. package/esm/_chunks/{dep-2e56daa5.js.map → dep-f8ed3d80.js.map} +1 -1
  719. package/esm/_chunks/dep-fc73063f.js +146 -0
  720. package/esm/_chunks/dep-fc73063f.js.map +1 -0
  721. package/{es/_chunks/dep-bfd83090.js → esm/_chunks/dep-fe1a5fed.js} +9 -9
  722. package/esm/_chunks/{dep-bfd83090.js.map → dep-fe1a5fed.js.map} +1 -1
  723. package/esm/_common/js/common.js +1 -1
  724. package/esm/_common/js/date-picker/utils.js +14 -14
  725. package/esm/_common/js/loading/circle-adapter.js +5 -5
  726. package/esm/_common/js/locale/en_US.js +1 -1
  727. package/esm/_common/js/locale/zh_CN.js +1 -1
  728. package/esm/_common/js/log/index.js +1 -1
  729. package/esm/_common/js/log/log.js +1 -1
  730. package/esm/_common/js/log/types.js +1 -1
  731. package/esm/_common/js/tree/tree-node-model.js +22 -151
  732. package/esm/_common/js/tree/tree-node-model.js.map +1 -1
  733. package/esm/_common/js/tree/tree-node.js +27 -26
  734. package/esm/_common/js/tree/tree-node.js.map +1 -1
  735. package/esm/_common/js/tree/tree-store.js +35 -34
  736. package/esm/_common/js/tree/tree-store.js.map +1 -1
  737. package/esm/_common/js/tree/types.js +1 -1
  738. package/esm/_common/js/upload/types.js +1 -1
  739. package/esm/_common/js/upload/xhr.js +1 -1
  740. package/esm/_common/js/utils/calcTextareaHeight.js +5 -5
  741. package/esm/_common/js/utils/calcTextareaHeight.js.map +1 -1
  742. package/esm/_common/js/utils/helper.js +5 -5
  743. package/esm/_common/js/utils/set-style.js +1 -1
  744. package/esm/_common/style/web/components/anchor/_mixin.less +0 -24
  745. package/esm/_common/style/web/components/avatar/_index.less +1 -1
  746. package/esm/_common/style/web/components/avatar/_var.less +2 -2
  747. package/esm/_common/style/web/components/button/_index.less +1 -0
  748. package/esm/_common/style/web/components/divider/_index.less +1 -3
  749. package/esm/_common/style/web/components/input/_index.less +12 -2
  750. package/esm/_common/style/web/components/menu/_index.less +5 -2
  751. package/esm/_common/style/web/components/menu/_var.less +2 -0
  752. package/esm/_common/style/web/components/popup/_var.less +3 -6
  753. package/esm/_common/style/web/components/radio/_index.less +7 -4
  754. package/esm/_common/style/web/components/select-input/_index.less +52 -0
  755. package/esm/_common/style/web/components/select-input/_var.less +2 -0
  756. package/esm/_common/style/web/components/slider/_index.less +5 -1
  757. package/esm/_common/style/web/components/table/_index.less +37 -0
  758. package/esm/_common/style/web/components/tag-input/_index.less +12 -33
  759. package/esm/_common/style/web/components/textarea/_var.less +1 -1
  760. package/esm/_common/style/web/components/tooltip/_docs.less +1 -0
  761. package/esm/_util/callBoth.js +1 -1
  762. package/esm/_util/composeRefs.js +1 -1
  763. package/esm/_util/dom.js +8 -8
  764. package/esm/_util/easing.js +1 -1
  765. package/esm/_util/forwardRefWithStatics.js +1 -1
  766. package/esm/_util/getScrollbarWidth.js +1 -1
  767. package/esm/_util/hasScrollBar.js +1 -1
  768. package/esm/_util/helper.js +16 -16
  769. package/esm/_util/injectValue.js +1 -1
  770. package/esm/_util/insertCSS.js +1 -1
  771. package/esm/_util/isCallable.js +1 -1
  772. package/esm/_util/linearGradient.js +2 -2
  773. package/esm/_util/noop.js +1 -1
  774. package/esm/_util/number.js +1 -1
  775. package/esm/_util/setStyle.js +1 -1
  776. package/esm/_util/useClickOutside.js +1 -1
  777. package/esm/_util/useCommonClassName.js +20 -20
  778. package/esm/_util/useConfig.js +20 -20
  779. package/esm/_util/useDefault.js +3 -3
  780. package/esm/_util/useDefaultValue.js +5 -5
  781. package/esm/_util/useDragSorter.d.ts +24 -0
  782. package/esm/_util/useDragSorter.js +96 -0
  783. package/esm/_util/useDragSorter.js.map +1 -0
  784. package/esm/_util/useLayoutEffect.js +8 -8
  785. package/esm/_util/usePersistFn.js +1 -1
  786. package/esm/_util/usePrevious.js +1 -1
  787. package/esm/_util/useRefAndForward.js +1 -1
  788. package/esm/_util/useRipple.js +21 -21
  789. package/esm/_util/useSetState.js +4 -4
  790. package/esm/_util/useUpdateEffect.js +8 -8
  791. package/esm/addon/Addon.js +21 -21
  792. package/esm/addon/index.js +21 -21
  793. package/esm/affix/Affix.js +23 -23
  794. package/esm/affix/index.js +23 -23
  795. package/esm/affix/type.js +1 -1
  796. package/esm/alert/Alert.js +23 -23
  797. package/esm/alert/index.js +23 -23
  798. package/esm/alert/type.js +1 -1
  799. package/esm/anchor/Anchor.js +26 -26
  800. package/esm/anchor/AnchorContext.js +1 -1
  801. package/esm/anchor/AnchorItem.js +21 -21
  802. package/esm/anchor/AnchorTarget.js +24 -24
  803. package/esm/anchor/_util/clipboard.js +1 -1
  804. package/esm/anchor/_util/dom.js +1 -1
  805. package/esm/anchor/index.js +26 -26
  806. package/esm/anchor/type.js +1 -1
  807. package/esm/avatar/AvararGroup.js +25 -25
  808. package/esm/avatar/Avatar.js +25 -25
  809. package/esm/avatar/AvatarContext.js +1 -1
  810. package/esm/avatar/index.js +25 -25
  811. package/esm/avatar/type.js +1 -1
  812. package/esm/badge/Badge.js +21 -21
  813. package/esm/badge/index.js +21 -21
  814. package/esm/badge/type.js +1 -1
  815. package/esm/breadcrumb/Breadcrumb.js +21 -21
  816. package/esm/breadcrumb/BreadcrumbContext.js +1 -1
  817. package/esm/breadcrumb/BreadcrumbItem.js +21 -21
  818. package/esm/breadcrumb/BreadcrumbProps.js +1 -1
  819. package/esm/breadcrumb/index.js +21 -21
  820. package/esm/breadcrumb/type.js +1 -1
  821. package/esm/button/Button.js +24 -24
  822. package/esm/button/index.js +24 -24
  823. package/esm/button/type.js +1 -1
  824. package/esm/calendar/Calendar.js +34 -34
  825. package/esm/calendar/_util.js +1 -1
  826. package/esm/calendar/index.js +34 -34
  827. package/esm/calendar/type.js +1 -1
  828. package/esm/card/type.js +1 -1
  829. package/esm/cascader/Cascader.js +55 -48
  830. package/esm/cascader/Cascader.js.map +1 -1
  831. package/esm/cascader/components/InputContent.js +25 -25
  832. package/esm/cascader/components/Item.js +32 -32
  833. package/esm/cascader/components/Panel.js +38 -38
  834. package/esm/cascader/components/Panel.js.map +1 -1
  835. package/esm/cascader/index.js +46 -45
  836. package/esm/cascader/index.js.map +1 -1
  837. package/esm/cascader/interface.js +27 -26
  838. package/esm/cascader/interface.js.map +1 -1
  839. package/esm/cascader/type.js +1 -1
  840. package/esm/cascader/utils/cascader.js +10 -5
  841. package/esm/cascader/utils/cascader.js.map +1 -1
  842. package/esm/cascader/utils/helper.js +2 -2
  843. package/esm/cascader/utils/inputContent.js +17 -17
  844. package/esm/cascader/utils/inputContent.js.map +1 -1
  845. package/esm/cascader/utils/item.js +4 -4
  846. package/esm/cascader/utils/panel.js +8 -8
  847. package/esm/checkbox/Checkbox.js +30 -30
  848. package/esm/checkbox/CheckboxGroup.js +30 -30
  849. package/esm/checkbox/index.js +30 -30
  850. package/esm/checkbox/type.d.ts +7 -5
  851. package/esm/checkbox/type.js +1 -1
  852. package/esm/comment/Comment.js +20 -20
  853. package/esm/comment/index.js +20 -20
  854. package/esm/comment/type.js +1 -1
  855. package/esm/common/Check.js +28 -28
  856. package/esm/common/FakeArrow.js +20 -20
  857. package/esm/common/Portal.js +8 -8
  858. package/esm/common.js +1 -1
  859. package/esm/config-provider/ConfigContext.js +20 -20
  860. package/esm/config-provider/ConfigProvider.js +20 -20
  861. package/esm/config-provider/defaultConfig.js +1 -1
  862. package/esm/config-provider/index.js +20 -20
  863. package/esm/config-provider/type.js +1 -1
  864. package/esm/date-picker/DatePicker.js +33 -33
  865. package/esm/date-picker/base/CalendarPresets.js +24 -24
  866. package/esm/date-picker/base/Cell.js +20 -20
  867. package/esm/date-picker/base/Header.js +24 -24
  868. package/esm/date-picker/base/Table.js +22 -22
  869. package/esm/date-picker/index.js +33 -33
  870. package/esm/date-picker/panel/Date.js +28 -28
  871. package/esm/date-picker/panel/DateRange.js +28 -28
  872. package/esm/date-picker/type.js +1 -1
  873. package/esm/dialog/Dialog.js +24 -24
  874. package/esm/dialog/RenderDialog.js +22 -13
  875. package/esm/dialog/RenderDialog.js.map +1 -1
  876. package/esm/dialog/index.js +24 -24
  877. package/esm/dialog/plugin.js +24 -24
  878. package/esm/dialog/type.js +1 -1
  879. package/esm/divider/Divider.js +21 -21
  880. package/esm/divider/index.js +21 -21
  881. package/esm/divider/type.js +1 -1
  882. package/esm/drawer/Drawer.js +24 -24
  883. package/esm/drawer/DrawerWrapper.js +8 -8
  884. package/esm/drawer/index.js +24 -24
  885. package/esm/drawer/type.js +1 -1
  886. package/esm/dropdown/Dropdown.js +38 -38
  887. package/esm/dropdown/DropdownItem.js +29 -29
  888. package/esm/dropdown/DropdownMenu.js +30 -30
  889. package/esm/dropdown/index.js +38 -38
  890. package/esm/dropdown/type.js +1 -1
  891. package/esm/form/Form.js +46 -46
  892. package/esm/form/FormContext.js +1 -1
  893. package/esm/form/FormItem.js +44 -44
  894. package/esm/form/formModel.js +26 -26
  895. package/esm/form/index.js +46 -46
  896. package/esm/form/type.js +1 -1
  897. package/esm/grid/Col.js +21 -21
  898. package/esm/grid/Row.js +24 -24
  899. package/esm/grid/index.js +24 -24
  900. package/esm/grid/type.js +1 -1
  901. package/esm/index.d.ts +1 -0
  902. package/esm/index.js +64 -57
  903. package/esm/index.js.map +1 -1
  904. package/esm/input/Input.js +48 -30
  905. package/esm/input/Input.js.map +1 -1
  906. package/esm/input/InputGroup.js +21 -21
  907. package/esm/input/index.js +23 -23
  908. package/esm/input/type.d.ts +14 -4
  909. package/esm/input/type.js +1 -1
  910. package/esm/input-number/InputNumber.js +24 -24
  911. package/esm/input-number/StepHandler.js +24 -24
  912. package/esm/input-number/index.js +24 -24
  913. package/esm/input-number/type.js +1 -1
  914. package/esm/input-number/utils/numberUtils.js +1 -1
  915. package/esm/layout/Aside.js +21 -21
  916. package/esm/layout/Layout.js +24 -24
  917. package/esm/layout/Layout.js.map +1 -1
  918. package/esm/layout/index.js +23 -23
  919. package/esm/layout/type.js +1 -1
  920. package/esm/list/List.js +24 -24
  921. package/esm/list/ListItem.js +20 -20
  922. package/esm/list/ListItemMeta.js +20 -20
  923. package/esm/list/index.js +24 -24
  924. package/esm/list/type.js +1 -1
  925. package/esm/loading/gradient.js +23 -23
  926. package/esm/loading/index.js +24 -24
  927. package/esm/loading/loading.js +24 -24
  928. package/esm/loading/plugin.js +24 -24
  929. package/esm/loading/type.js +1 -1
  930. package/esm/locale/LocalReceiver.js +20 -20
  931. package/esm/locale/en_US.js +1 -1
  932. package/esm/locale/zh_CN.js +1 -1
  933. package/esm/menu/HeadMenu.js +24 -24
  934. package/esm/menu/Menu.js +24 -24
  935. package/esm/menu/MenuContext.js +1 -1
  936. package/esm/menu/MenuGroup.js +20 -20
  937. package/esm/menu/MenuItem.js +21 -21
  938. package/esm/menu/SubMenu.js +23 -23
  939. package/esm/menu/_util/cacularPaddingLeft.js +1 -1
  940. package/esm/menu/_util/checkMenuType.js +1 -1
  941. package/esm/menu/_util/checkSubMenuActive.js +1 -1
  942. package/esm/menu/_util/checkSubMenuChildExpanded.js +3 -3
  943. package/esm/menu/_util/checkSubMenuChildrenActive.js +1 -1
  944. package/esm/menu/_util/constant.js +1 -1
  945. package/esm/menu/_util/getSubMenuChildStyle.js +1 -1
  946. package/esm/menu/_util/type.js +1 -1
  947. package/esm/menu/hooks/useMenuContext.js +6 -6
  948. package/esm/menu/index.js +24 -24
  949. package/esm/menu/type.js +1 -1
  950. package/esm/message/Message.js +24 -24
  951. package/esm/message/MessageClose.js +20 -20
  952. package/esm/message/MessageComponent.js +24 -24
  953. package/esm/message/MessageIcon.js +24 -24
  954. package/esm/message/const.js +1 -1
  955. package/esm/message/index.js +24 -24
  956. package/esm/message/type.js +1 -1
  957. package/esm/message/useMessageClass.js +20 -20
  958. package/esm/notification/Notification.d.ts +1 -0
  959. package/esm/notification/Notification.js +29 -172
  960. package/esm/notification/Notification.js.map +1 -1
  961. package/esm/notification/NotificationList.d.ts +2 -0
  962. package/esm/notification/NotificationList.js +28 -186
  963. package/esm/notification/NotificationList.js.map +1 -1
  964. package/esm/notification/NotificationPlugin.js +25 -26
  965. package/esm/notification/NotificationPlugin.js.map +1 -1
  966. package/esm/notification/index.js +26 -27
  967. package/esm/notification/index.js.map +1 -1
  968. package/esm/notification/type.js +1 -1
  969. package/esm/pagination/Pagination.js +30 -30
  970. package/esm/pagination/index.js +30 -30
  971. package/esm/pagination/type.js +1 -1
  972. package/esm/pagination/validators.js +1 -1
  973. package/esm/popconfirm/PopConfirm.js +24 -24
  974. package/esm/popconfirm/PopContent.js +24 -24
  975. package/esm/popconfirm/index.js +24 -24
  976. package/esm/popconfirm/type.js +1 -1
  977. package/esm/popup/Popup.js +44 -26
  978. package/esm/popup/Popup.js.map +1 -1
  979. package/esm/popup/hooks/useTriggerProps.js +1 -1
  980. package/esm/popup/index.js +23 -23
  981. package/esm/popup/type.d.ts +7 -2
  982. package/esm/popup/type.js +1 -1
  983. package/esm/popup/utils/getTransitionParams.js +1 -1
  984. package/esm/progress/Progress.js +21 -21
  985. package/esm/progress/index.js +21 -21
  986. package/esm/progress/type.js +1 -1
  987. package/esm/radio/Radio.js +29 -29
  988. package/esm/radio/RadioGroup.js +29 -29
  989. package/esm/radio/index.js +29 -29
  990. package/esm/radio/type.js +1 -1
  991. package/esm/rate/type.js +1 -1
  992. package/esm/select/base/Option.js +26 -26
  993. package/esm/select/base/OptionGroup.js +20 -20
  994. package/esm/select/base/PopupContent.js +30 -30
  995. package/esm/select/base/Select.js +30 -30
  996. package/esm/select/index.js +30 -30
  997. package/esm/select/type.js +1 -1
  998. package/esm/select/util/helper.js +28 -28
  999. package/esm/select-input/SelectInput.d.ts +7 -0
  1000. package/esm/select-input/SelectInput.js +156 -0
  1001. package/esm/select-input/SelectInput.js.map +1 -0
  1002. package/esm/select-input/index.d.ts +6 -0
  1003. package/esm/select-input/index.js +96 -0
  1004. package/esm/select-input/index.js.map +1 -0
  1005. package/esm/select-input/style/css.d.ts +1 -0
  1006. package/esm/select-input/style/index.d.ts +1 -0
  1007. package/esm/select-input/style/index.js +1 -0
  1008. package/esm/select-input/type.d.ts +197 -0
  1009. package/esm/select-input/type.js +7 -0
  1010. package/esm/select-input/type.js.map +1 -0
  1011. package/esm/select-input/useMultiple.d.ts +15 -0
  1012. package/esm/select-input/useMultiple.js +142 -0
  1013. package/esm/select-input/useMultiple.js.map +1 -0
  1014. package/esm/select-input/useOverlayStyle.d.ts +8 -0
  1015. package/esm/select-input/useOverlayStyle.js +72 -0
  1016. package/esm/select-input/useOverlayStyle.js.map +1 -0
  1017. package/esm/select-input/useSingle.d.ts +14 -0
  1018. package/esm/select-input/useSingle.js +137 -0
  1019. package/esm/select-input/useSingle.js.map +1 -0
  1020. package/esm/skeleton/Skeleton.js +30 -30
  1021. package/esm/skeleton/index.js +30 -30
  1022. package/esm/skeleton/type.js +1 -1
  1023. package/esm/slider/Slider.js +37 -38
  1024. package/esm/slider/Slider.js.map +1 -1
  1025. package/esm/slider/SliderHandleButton.js +29 -29
  1026. package/esm/slider/SliderHandleButton.js.map +1 -1
  1027. package/esm/slider/index.js +24 -24
  1028. package/esm/slider/type.js +1 -1
  1029. package/esm/slider/utils/handleNumber.js +1 -1
  1030. package/esm/steps/StepItem.js +20 -20
  1031. package/esm/steps/Steps.js +20 -20
  1032. package/esm/steps/StepsContext.js +1 -1
  1033. package/esm/steps/index.js +20 -20
  1034. package/esm/steps/type.js +1 -1
  1035. package/esm/sticky-tool/type.js +1 -1
  1036. package/esm/swiper/Swiper.js +22 -22
  1037. package/esm/swiper/SwiperItem.js +1 -1
  1038. package/esm/swiper/index.js +22 -22
  1039. package/esm/swiper/type.js +1 -1
  1040. package/esm/switch/Switch.js +24 -24
  1041. package/esm/switch/index.js +24 -24
  1042. package/esm/switch/type.js +1 -1
  1043. package/esm/table/base/Table.d.ts +2 -10
  1044. package/esm/table/base/Table.js +32 -32
  1045. package/esm/table/base/Table.js.map +1 -1
  1046. package/esm/table/base/TableAsyncLoadingBody.js +24 -24
  1047. package/esm/table/base/TableBody.d.ts +2 -1
  1048. package/esm/table/base/TableBody.js +28 -28
  1049. package/esm/table/base/TableBody.js.map +1 -1
  1050. package/esm/table/base/TableCell.js +56 -28
  1051. package/esm/table/base/TableCell.js.map +1 -1
  1052. package/esm/table/base/TableColGroup.js +1 -1
  1053. package/esm/table/base/TableContext.js +1 -1
  1054. package/esm/table/base/TableEmptyBody.js +22 -22
  1055. package/esm/table/base/TableFooter.js +1 -1
  1056. package/esm/table/base/TableHeader.js +25 -25
  1057. package/esm/table/base/TableLoadingBody.js +5 -5
  1058. package/esm/table/base/TableRow.d.ts +2 -1
  1059. package/esm/table/base/TableRow.js +28 -28
  1060. package/esm/table/base/TableRow.js.map +1 -1
  1061. package/esm/table/enhanced/Table.js +38 -38
  1062. package/esm/table/enhanced/TableContext.js +1 -1
  1063. package/esm/table/enhanced/useTree.js +27 -27
  1064. package/esm/table/hooks/useColumns.js +4 -4
  1065. package/esm/table/index.js +38 -38
  1066. package/esm/table/primary/FilterButton.js +32 -32
  1067. package/esm/table/primary/SorterButton.js +24 -24
  1068. package/esm/table/primary/Table.js +42 -42
  1069. package/esm/table/primary/Table.js.map +1 -1
  1070. package/esm/table/primary/expand-box.js +20 -20
  1071. package/esm/table/primary/useExpand.js +27 -27
  1072. package/esm/table/primary/useFilter.js +32 -32
  1073. package/esm/table/primary/useSelect.js +32 -32
  1074. package/esm/table/primary/useSorter.js +29 -29
  1075. package/esm/table/type.js +1 -1
  1076. package/esm/table/util/getRowKeyFromRowKey.js +1 -1
  1077. package/esm/table/util/index.js +1 -1
  1078. package/esm/tabs/TabBar.js +22 -22
  1079. package/esm/tabs/TabNav.js +23 -23
  1080. package/esm/tabs/TabNavItem.js +21 -21
  1081. package/esm/tabs/TabPanel.js +20 -20
  1082. package/esm/tabs/Tabs.js +23 -23
  1083. package/esm/tabs/index.js +23 -23
  1084. package/esm/tabs/type.js +1 -1
  1085. package/esm/tabs/useTabClass.js +20 -20
  1086. package/esm/tag/CheckTag.js +23 -23
  1087. package/esm/tag/Tag.js +23 -23
  1088. package/esm/tag/index.js +23 -23
  1089. package/esm/tag/type.js +1 -1
  1090. package/esm/tag-input/TagInput.js +62 -33
  1091. package/esm/tag-input/TagInput.js.map +1 -1
  1092. package/esm/tag-input/index.js +25 -24
  1093. package/esm/tag-input/index.js.map +1 -1
  1094. package/esm/tag-input/type.d.ts +22 -4
  1095. package/esm/tag-input/type.js +1 -1
  1096. package/esm/tag-input/useHover.d.ts +13 -2
  1097. package/esm/tag-input/useHover.js +3 -3
  1098. package/esm/tag-input/useHover.js.map +1 -1
  1099. package/esm/tag-input/useTagList.d.ts +6 -2
  1100. package/esm/tag-input/useTagList.js +37 -36
  1101. package/esm/tag-input/useTagList.js.map +1 -1
  1102. package/esm/tag-input/useTagScroll.js +3 -3
  1103. package/esm/textarea/Textarea.js +28 -28
  1104. package/esm/textarea/index.js +28 -28
  1105. package/esm/textarea/type.js +1 -1
  1106. package/esm/time-picker/InputItems.js +31 -31
  1107. package/esm/time-picker/TimePicker.js +34 -34
  1108. package/esm/time-picker/TimeRangePicker.js +34 -34
  1109. package/esm/time-picker/consts.js +22 -22
  1110. package/esm/time-picker/index.js +34 -34
  1111. package/esm/time-picker/interfaces.js +1 -1
  1112. package/esm/time-picker/panel/SinglePanel.js +31 -31
  1113. package/esm/time-picker/panel/TimePickerPanel.js +33 -33
  1114. package/esm/time-picker/panel/TimePickerRangePanel.js +33 -33
  1115. package/esm/time-picker/type.js +1 -1
  1116. package/esm/tooltip/Tooltip.js +24 -24
  1117. package/esm/tooltip/index.js +24 -24
  1118. package/esm/tooltip/type.js +1 -1
  1119. package/esm/transfer/Transfer.js +40 -40
  1120. package/esm/transfer/TransferList.js +36 -36
  1121. package/esm/transfer/index.js +40 -40
  1122. package/esm/transfer/type.js +1 -1
  1123. package/esm/transfer/utils.js +17 -17
  1124. package/esm/tree/Tree.js +47 -46
  1125. package/esm/tree/Tree.js.map +1 -1
  1126. package/esm/tree/TreeItem.js +31 -31
  1127. package/esm/tree/index.js +47 -46
  1128. package/esm/tree/index.js.map +1 -1
  1129. package/esm/tree/interface.js +1 -1
  1130. package/esm/tree/type.js +1 -1
  1131. package/esm/tree/useControllable.js +3 -3
  1132. package/esm/tree/useStore.js +41 -40
  1133. package/esm/tree/useStore.js.map +1 -1
  1134. package/esm/tree/useTreeConfig.js +22 -22
  1135. package/esm/tree-select/TreeSelect.js +48 -47
  1136. package/esm/tree-select/TreeSelect.js.map +1 -1
  1137. package/esm/tree-select/TreeSelectInput.js +26 -26
  1138. package/esm/tree-select/TreeSelectSuffix.js +26 -26
  1139. package/esm/tree-select/TreeSelectTags.js +23 -23
  1140. package/esm/tree-select/index.js +48 -47
  1141. package/esm/tree-select/index.js.map +1 -1
  1142. package/esm/tree-select/type.js +1 -1
  1143. package/esm/tree-select/useTreeSelectConfig.js +20 -20
  1144. package/esm/upload/boolean-render.js +1 -1
  1145. package/esm/upload/dragger.js +25 -25
  1146. package/esm/upload/hooks/useDefaultValue.js +7 -7
  1147. package/esm/upload/hooks/useSizeLimit.js +22 -22
  1148. package/esm/upload/index.js +39 -39
  1149. package/esm/upload/themes/dragger-progress.js +25 -25
  1150. package/esm/upload/themes/flow-list/file-list.js +25 -25
  1151. package/esm/upload/themes/flow-list/img-list.js +25 -25
  1152. package/esm/upload/themes/flow-list/index.js +25 -25
  1153. package/esm/upload/themes/image-card.js +25 -25
  1154. package/esm/upload/themes/single-file.js +24 -24
  1155. package/esm/upload/tips.js +20 -20
  1156. package/esm/upload/type.js +1 -1
  1157. package/esm/upload/types.js +1 -1
  1158. package/esm/upload/upload-trigger.js +24 -24
  1159. package/esm/upload/upload.js +39 -39
  1160. package/esm/upload/util.js +3 -3
  1161. package/lib/_chunks/{dep-da5c2a7e.js → dep-0706ae8b.js} +2 -2
  1162. package/{esm/_chunks/dep-3f70a0f5.js.map → lib/_chunks/dep-0706ae8b.js.map} +1 -1
  1163. package/lib/_chunks/{dep-31e5288f.js → dep-08fec65f.js} +5 -5
  1164. package/lib/_chunks/{dep-31e5288f.js.map → dep-08fec65f.js.map} +1 -1
  1165. package/lib/_chunks/{dep-5725aa0d.js → dep-0a2d9525.js} +4 -4
  1166. package/lib/_chunks/{dep-5725aa0d.js.map → dep-0a2d9525.js.map} +1 -1
  1167. package/lib/_chunks/{dep-2a90d480.js → dep-0b78165a.js} +4 -4
  1168. package/lib/_chunks/{dep-2a90d480.js.map → dep-0b78165a.js.map} +1 -1
  1169. package/lib/_chunks/{dep-c44bb200.js → dep-140a2995.js} +3 -3
  1170. package/lib/_chunks/{dep-c44bb200.js.map → dep-140a2995.js.map} +1 -1
  1171. package/lib/_chunks/{dep-8694c320.js → dep-14fcdbd0.js} +3 -3
  1172. package/lib/_chunks/{dep-8694c320.js.map → dep-14fcdbd0.js.map} +1 -1
  1173. package/lib/_chunks/{dep-d6d15e85.js → dep-186436f8.js} +4 -4
  1174. package/lib/_chunks/{dep-d6d15e85.js.map → dep-186436f8.js.map} +1 -1
  1175. package/lib/_chunks/{dep-b38beed2.js → dep-1ad5853c.js} +6 -6
  1176. package/lib/_chunks/{dep-b38beed2.js.map → dep-1ad5853c.js.map} +1 -1
  1177. package/lib/_chunks/{dep-6223e889.js → dep-207637ec.js} +5 -5
  1178. package/lib/_chunks/{dep-6223e889.js.map → dep-207637ec.js.map} +1 -1
  1179. package/lib/_chunks/{dep-ab7e56ed.js → dep-22e00850.js} +2 -2
  1180. package/lib/_chunks/{dep-ab7e56ed.js.map → dep-22e00850.js.map} +1 -1
  1181. package/lib/_chunks/{dep-4e4ea898.js → dep-24860d3b.js} +2 -2
  1182. package/lib/_chunks/{dep-4e4ea898.js.map → dep-24860d3b.js.map} +1 -1
  1183. package/lib/_chunks/{dep-dc65ecc4.js → dep-37d3829a.js} +2 -2
  1184. package/lib/_chunks/{dep-dc65ecc4.js.map → dep-37d3829a.js.map} +1 -1
  1185. package/lib/_chunks/{dep-d0e8adc2.js → dep-3b2b764c.js} +7 -7
  1186. package/lib/_chunks/{dep-d0e8adc2.js.map → dep-3b2b764c.js.map} +1 -1
  1187. package/lib/_chunks/{dep-11f68241.js → dep-3b34147d.js} +14 -14
  1188. package/lib/_chunks/{dep-11f68241.js.map → dep-3b34147d.js.map} +1 -1
  1189. package/lib/_chunks/{dep-be015aaa.js → dep-3cfc5c96.js} +5 -5
  1190. package/lib/_chunks/{dep-be015aaa.js.map → dep-3cfc5c96.js.map} +1 -1
  1191. package/lib/_chunks/dep-3eab429c.js +313 -0
  1192. package/lib/_chunks/dep-3eab429c.js.map +1 -0
  1193. package/lib/_chunks/{dep-c67594a4.js → dep-43d2b778.js} +5 -5
  1194. package/lib/_chunks/{dep-c67594a4.js.map → dep-43d2b778.js.map} +1 -1
  1195. package/lib/_chunks/{dep-d02f776a.js → dep-4fa0c97c.js} +6 -6
  1196. package/lib/_chunks/{dep-d02f776a.js.map → dep-4fa0c97c.js.map} +1 -1
  1197. package/lib/_chunks/{dep-2c3f65c5.js → dep-54e5d466.js} +2 -2
  1198. package/lib/_chunks/{dep-2c3f65c5.js.map → dep-54e5d466.js.map} +1 -1
  1199. package/lib/_chunks/{dep-401ea197.js → dep-551cd0f7.js} +3 -3
  1200. package/lib/_chunks/{dep-401ea197.js.map → dep-551cd0f7.js.map} +1 -1
  1201. package/lib/_chunks/{dep-f31f59e5.js → dep-56f3eb6f.js} +3 -3
  1202. package/lib/_chunks/{dep-f31f59e5.js.map → dep-56f3eb6f.js.map} +1 -1
  1203. package/lib/_chunks/{dep-907a36e3.js → dep-5d12d655.js} +4 -4
  1204. package/lib/_chunks/{dep-907a36e3.js.map → dep-5d12d655.js.map} +1 -1
  1205. package/lib/_chunks/{dep-d9f6accc.js → dep-5f511a24.js} +3 -3
  1206. package/lib/_chunks/{dep-d9f6accc.js.map → dep-5f511a24.js.map} +1 -1
  1207. package/lib/_chunks/{dep-d4e84af2.js → dep-640aadbb.js} +3 -3
  1208. package/lib/_chunks/{dep-d4e84af2.js.map → dep-640aadbb.js.map} +1 -1
  1209. package/lib/_chunks/{dep-52073669.js → dep-6c84bdfe.js} +2 -2
  1210. package/lib/_chunks/{dep-52073669.js.map → dep-6c84bdfe.js.map} +1 -1
  1211. package/lib/_chunks/{dep-ab1e2a32.js → dep-6e0dd2d3.js} +6 -6
  1212. package/lib/_chunks/{dep-ab1e2a32.js.map → dep-6e0dd2d3.js.map} +1 -1
  1213. package/lib/_chunks/{dep-d31b7e6c.js → dep-71acee8a.js} +4 -4
  1214. package/lib/_chunks/{dep-d31b7e6c.js.map → dep-71acee8a.js.map} +1 -1
  1215. package/lib/_chunks/{dep-bad88682.js → dep-7bbe83c7.js} +3 -3
  1216. package/lib/_chunks/{dep-bad88682.js.map → dep-7bbe83c7.js.map} +1 -1
  1217. package/lib/_chunks/{dep-1ea6e69a.js → dep-866e7a44.js} +6 -6
  1218. package/lib/_chunks/{dep-1ea6e69a.js.map → dep-866e7a44.js.map} +1 -1
  1219. package/lib/_chunks/{dep-b2b05055.js → dep-8a5b02c3.js} +4 -4
  1220. package/lib/_chunks/{dep-b2b05055.js.map → dep-8a5b02c3.js.map} +1 -1
  1221. package/lib/_chunks/{dep-9ee3b6d6.js → dep-908b0c0a.js} +5 -5
  1222. package/lib/_chunks/{dep-9ee3b6d6.js.map → dep-908b0c0a.js.map} +1 -1
  1223. package/lib/_chunks/{dep-1626b298.js → dep-955ec2f5.js} +11 -11
  1224. package/lib/_chunks/{dep-1626b298.js.map → dep-955ec2f5.js.map} +1 -1
  1225. package/lib/_chunks/{dep-0c9ff57a.js → dep-9d1b3eff.js} +7 -7
  1226. package/lib/_chunks/{dep-0c9ff57a.js.map → dep-9d1b3eff.js.map} +1 -1
  1227. package/lib/_chunks/{dep-d8f3ac59.js → dep-a02ab8da.js} +7 -7
  1228. package/lib/_chunks/{dep-d8f3ac59.js.map → dep-a02ab8da.js.map} +1 -1
  1229. package/lib/_chunks/{dep-ac761868.js → dep-a19cf0b0.js} +3 -3
  1230. package/lib/_chunks/{dep-ac761868.js.map → dep-a19cf0b0.js.map} +1 -1
  1231. package/lib/_chunks/{dep-b6642355.js → dep-a2676c39.js} +7 -7
  1232. package/lib/_chunks/{dep-b6642355.js.map → dep-a2676c39.js.map} +1 -1
  1233. package/lib/_chunks/{dep-4012a1e4.js → dep-a4e63197.js} +5 -5
  1234. package/lib/_chunks/{dep-4012a1e4.js.map → dep-a4e63197.js.map} +1 -1
  1235. package/lib/_chunks/{dep-78e96941.js → dep-a7e4c0ea.js} +2 -2
  1236. package/lib/_chunks/{dep-78e96941.js.map → dep-a7e4c0ea.js.map} +1 -1
  1237. package/lib/_chunks/{dep-3db8ada5.js → dep-a958b70e.js} +7 -7
  1238. package/lib/_chunks/{dep-3db8ada5.js.map → dep-a958b70e.js.map} +1 -1
  1239. package/lib/_chunks/dep-ac45a626.js +147 -0
  1240. package/lib/_chunks/dep-ac45a626.js.map +1 -0
  1241. package/lib/_chunks/{dep-08835dba.js → dep-adbe0cba.js} +5 -5
  1242. package/lib/_chunks/{dep-08835dba.js.map → dep-adbe0cba.js.map} +1 -1
  1243. package/lib/_chunks/{dep-661ad10f.js → dep-b7cfec4d.js} +3 -3
  1244. package/lib/_chunks/{dep-661ad10f.js.map → dep-b7cfec4d.js.map} +1 -1
  1245. package/lib/_chunks/{dep-51f98d04.js → dep-c4204176.js} +12 -12
  1246. package/lib/_chunks/{dep-51f98d04.js.map → dep-c4204176.js.map} +1 -1
  1247. package/lib/_chunks/{dep-78e94fbb.js → dep-c8336573.js} +3 -3
  1248. package/lib/_chunks/{dep-78e94fbb.js.map → dep-c8336573.js.map} +1 -1
  1249. package/lib/_chunks/{dep-f0d462cc.js → dep-cb10b3ee.js} +7 -7
  1250. package/lib/_chunks/{dep-f0d462cc.js.map → dep-cb10b3ee.js.map} +1 -1
  1251. package/lib/_chunks/{dep-4a4d4119.js → dep-d2ca8f73.js} +7 -7
  1252. package/lib/_chunks/{dep-4a4d4119.js.map → dep-d2ca8f73.js.map} +1 -1
  1253. package/lib/_chunks/{dep-4cdae517.js → dep-d5d51090.js} +2 -2
  1254. package/lib/_chunks/{dep-4cdae517.js.map → dep-d5d51090.js.map} +1 -1
  1255. package/lib/_chunks/{dep-ab3cca64.js → dep-d616be9f.js} +3 -3
  1256. package/lib/_chunks/{dep-ab3cca64.js.map → dep-d616be9f.js.map} +1 -1
  1257. package/lib/_chunks/{dep-8cd47785.js → dep-e69612eb.js} +4 -4
  1258. package/lib/_chunks/{dep-8cd47785.js.map → dep-e69612eb.js.map} +1 -1
  1259. package/lib/_chunks/{dep-23ee43e6.js → dep-e8666a80.js} +10 -8
  1260. package/lib/_chunks/dep-e8666a80.js.map +1 -0
  1261. package/lib/_chunks/{dep-f2c71809.js → dep-e8b2b2fc.js} +6 -6
  1262. package/lib/_chunks/{dep-f2c71809.js.map → dep-e8b2b2fc.js.map} +1 -1
  1263. package/lib/_chunks/{dep-3dfbfa1e.js → dep-ec6a3b8b.js} +2 -2
  1264. package/lib/_chunks/{dep-3dfbfa1e.js.map → dep-ec6a3b8b.js.map} +1 -1
  1265. package/lib/_chunks/{dep-3a9ef687.js → dep-eedee13a.js} +2 -2
  1266. package/lib/_chunks/{dep-3a9ef687.js.map → dep-eedee13a.js.map} +1 -1
  1267. package/lib/_common/js/common.js +1 -1
  1268. package/lib/_common/js/date-picker/utils.js +13 -13
  1269. package/lib/_common/js/loading/circle-adapter.js +5 -5
  1270. package/lib/_common/js/locale/en_US.js +1 -1
  1271. package/lib/_common/js/locale/zh_CN.js +1 -1
  1272. package/lib/_common/js/log/index.js +1 -1
  1273. package/lib/_common/js/log/log.js +1 -1
  1274. package/lib/_common/js/log/types.js +1 -1
  1275. package/lib/_common/js/tree/tree-node-model.js +21 -150
  1276. package/lib/_common/js/tree/tree-node-model.js.map +1 -1
  1277. package/lib/_common/js/tree/tree-node.js +25 -24
  1278. package/lib/_common/js/tree/tree-node.js.map +1 -1
  1279. package/lib/_common/js/tree/tree-store.js +33 -32
  1280. package/lib/_common/js/tree/tree-store.js.map +1 -1
  1281. package/lib/_common/js/tree/types.js +1 -1
  1282. package/lib/_common/js/upload/types.js +1 -1
  1283. package/lib/_common/js/upload/xhr.js +1 -1
  1284. package/lib/_common/js/utils/calcTextareaHeight.js +5 -5
  1285. package/lib/_common/js/utils/calcTextareaHeight.js.map +1 -1
  1286. package/lib/_common/js/utils/helper.js +5 -5
  1287. package/lib/_common/js/utils/set-style.js +1 -1
  1288. package/lib/_util/callBoth.js +1 -1
  1289. package/lib/_util/composeRefs.js +1 -1
  1290. package/lib/_util/dom.js +6 -6
  1291. package/lib/_util/easing.js +1 -1
  1292. package/lib/_util/forwardRefWithStatics.js +1 -1
  1293. package/lib/_util/getScrollbarWidth.js +1 -1
  1294. package/lib/_util/hasScrollBar.js +1 -1
  1295. package/lib/_util/helper.js +14 -14
  1296. package/lib/_util/injectValue.js +1 -1
  1297. package/lib/_util/insertCSS.js +1 -1
  1298. package/lib/_util/isCallable.js +1 -1
  1299. package/lib/_util/linearGradient.js +2 -2
  1300. package/lib/_util/noop.js +1 -1
  1301. package/lib/_util/number.js +1 -1
  1302. package/lib/_util/setStyle.js +1 -1
  1303. package/lib/_util/useClickOutside.js +1 -1
  1304. package/lib/_util/useCommonClassName.js +18 -18
  1305. package/lib/_util/useConfig.js +18 -18
  1306. package/lib/_util/useDefault.js +3 -3
  1307. package/lib/_util/useDefaultValue.js +5 -5
  1308. package/lib/_util/useDragSorter.d.ts +24 -0
  1309. package/lib/_util/useDragSorter.js +99 -0
  1310. package/lib/_util/useDragSorter.js.map +1 -0
  1311. package/lib/_util/useLayoutEffect.js +6 -6
  1312. package/lib/_util/usePersistFn.js +1 -1
  1313. package/lib/_util/usePrevious.js +1 -1
  1314. package/lib/_util/useRefAndForward.js +1 -1
  1315. package/lib/_util/useRipple.js +19 -19
  1316. package/lib/_util/useSetState.js +4 -4
  1317. package/lib/_util/useUpdateEffect.js +6 -6
  1318. package/lib/addon/Addon.js +19 -19
  1319. package/lib/addon/index.js +19 -19
  1320. package/lib/affix/Affix.js +21 -21
  1321. package/lib/affix/index.js +21 -21
  1322. package/lib/affix/type.js +1 -1
  1323. package/lib/alert/Alert.js +21 -21
  1324. package/lib/alert/index.js +21 -21
  1325. package/lib/alert/type.js +1 -1
  1326. package/lib/anchor/Anchor.js +24 -24
  1327. package/lib/anchor/AnchorContext.js +1 -1
  1328. package/lib/anchor/AnchorItem.js +19 -19
  1329. package/lib/anchor/AnchorTarget.js +22 -22
  1330. package/lib/anchor/_util/clipboard.js +1 -1
  1331. package/lib/anchor/_util/dom.js +1 -1
  1332. package/lib/anchor/index.js +24 -24
  1333. package/lib/anchor/type.js +1 -1
  1334. package/lib/avatar/AvararGroup.js +23 -23
  1335. package/lib/avatar/Avatar.js +23 -23
  1336. package/lib/avatar/AvatarContext.js +1 -1
  1337. package/lib/avatar/index.js +23 -23
  1338. package/lib/avatar/type.js +1 -1
  1339. package/lib/badge/Badge.js +19 -19
  1340. package/lib/badge/index.js +19 -19
  1341. package/lib/badge/type.js +1 -1
  1342. package/lib/breadcrumb/Breadcrumb.js +19 -19
  1343. package/lib/breadcrumb/BreadcrumbContext.js +1 -1
  1344. package/lib/breadcrumb/BreadcrumbItem.js +19 -19
  1345. package/lib/breadcrumb/BreadcrumbProps.js +1 -1
  1346. package/lib/breadcrumb/index.js +19 -19
  1347. package/lib/breadcrumb/type.js +1 -1
  1348. package/lib/button/Button.js +22 -22
  1349. package/lib/button/index.js +22 -22
  1350. package/lib/button/type.js +1 -1
  1351. package/lib/calendar/Calendar.js +32 -32
  1352. package/lib/calendar/_util.js +1 -1
  1353. package/lib/calendar/index.js +32 -32
  1354. package/lib/calendar/type.js +1 -1
  1355. package/lib/card/type.js +1 -1
  1356. package/lib/cascader/Cascader.js +53 -46
  1357. package/lib/cascader/Cascader.js.map +1 -1
  1358. package/lib/cascader/components/InputContent.js +23 -23
  1359. package/lib/cascader/components/Item.js +30 -30
  1360. package/lib/cascader/components/Panel.js +36 -36
  1361. package/lib/cascader/components/Panel.js.map +1 -1
  1362. package/lib/cascader/index.js +44 -43
  1363. package/lib/cascader/index.js.map +1 -1
  1364. package/lib/cascader/interface.js +25 -24
  1365. package/lib/cascader/interface.js.map +1 -1
  1366. package/lib/cascader/type.js +1 -1
  1367. package/lib/cascader/utils/cascader.js +10 -5
  1368. package/lib/cascader/utils/cascader.js.map +1 -1
  1369. package/lib/cascader/utils/helper.js +2 -2
  1370. package/lib/cascader/utils/inputContent.js +15 -15
  1371. package/lib/cascader/utils/inputContent.js.map +1 -1
  1372. package/lib/cascader/utils/item.js +4 -4
  1373. package/lib/cascader/utils/panel.js +7 -7
  1374. package/lib/checkbox/Checkbox.js +28 -28
  1375. package/lib/checkbox/CheckboxGroup.js +28 -28
  1376. package/lib/checkbox/index.js +28 -28
  1377. package/lib/checkbox/type.d.ts +7 -5
  1378. package/lib/checkbox/type.js +1 -1
  1379. package/lib/comment/Comment.js +18 -18
  1380. package/lib/comment/index.js +18 -18
  1381. package/lib/comment/type.js +1 -1
  1382. package/lib/common/Check.js +26 -26
  1383. package/lib/common/FakeArrow.js +18 -18
  1384. package/lib/common/Portal.js +6 -6
  1385. package/lib/common.js +1 -1
  1386. package/lib/config-provider/ConfigContext.js +18 -18
  1387. package/lib/config-provider/ConfigProvider.js +18 -18
  1388. package/lib/config-provider/defaultConfig.js +1 -1
  1389. package/lib/config-provider/index.js +18 -18
  1390. package/lib/config-provider/type.js +1 -1
  1391. package/lib/date-picker/DatePicker.js +31 -31
  1392. package/lib/date-picker/base/CalendarPresets.js +22 -22
  1393. package/lib/date-picker/base/Cell.js +18 -18
  1394. package/lib/date-picker/base/Header.js +22 -22
  1395. package/lib/date-picker/base/Table.js +20 -20
  1396. package/lib/date-picker/index.js +31 -31
  1397. package/lib/date-picker/panel/Date.js +26 -26
  1398. package/lib/date-picker/panel/DateRange.js +26 -26
  1399. package/lib/date-picker/type.js +1 -1
  1400. package/lib/dialog/Dialog.js +22 -22
  1401. package/lib/dialog/RenderDialog.js +20 -11
  1402. package/lib/dialog/RenderDialog.js.map +1 -1
  1403. package/lib/dialog/index.js +22 -22
  1404. package/lib/dialog/plugin.js +22 -22
  1405. package/lib/dialog/type.js +1 -1
  1406. package/lib/divider/Divider.js +19 -19
  1407. package/lib/divider/index.js +19 -19
  1408. package/lib/divider/type.js +1 -1
  1409. package/lib/drawer/Drawer.js +22 -22
  1410. package/lib/drawer/DrawerWrapper.js +6 -6
  1411. package/lib/drawer/index.js +22 -22
  1412. package/lib/drawer/type.js +1 -1
  1413. package/lib/dropdown/Dropdown.js +36 -36
  1414. package/lib/dropdown/DropdownItem.js +27 -27
  1415. package/lib/dropdown/DropdownMenu.js +28 -28
  1416. package/lib/dropdown/index.js +36 -36
  1417. package/lib/dropdown/type.js +1 -1
  1418. package/lib/form/Form.js +44 -44
  1419. package/lib/form/FormContext.js +1 -1
  1420. package/lib/form/FormItem.js +42 -42
  1421. package/lib/form/formModel.js +24 -24
  1422. package/lib/form/index.js +44 -44
  1423. package/lib/form/type.js +1 -1
  1424. package/lib/grid/Col.js +19 -19
  1425. package/lib/grid/Row.js +22 -22
  1426. package/lib/grid/index.js +22 -22
  1427. package/lib/grid/type.js +1 -1
  1428. package/lib/index-lib.js +61 -55
  1429. package/lib/index-lib.js.map +1 -1
  1430. package/lib/index.d.ts +1 -0
  1431. package/lib/index.js +61 -55
  1432. package/lib/index.js.map +1 -1
  1433. package/lib/input/Input.js +45 -27
  1434. package/lib/input/Input.js.map +1 -1
  1435. package/lib/input/InputGroup.js +19 -19
  1436. package/lib/input/index.js +21 -21
  1437. package/lib/input/type.d.ts +14 -4
  1438. package/lib/input/type.js +1 -1
  1439. package/lib/input-number/InputNumber.js +22 -22
  1440. package/lib/input-number/StepHandler.js +22 -22
  1441. package/lib/input-number/index.js +22 -22
  1442. package/lib/input-number/type.js +1 -1
  1443. package/lib/input-number/utils/numberUtils.js +1 -1
  1444. package/lib/layout/Aside.js +19 -19
  1445. package/lib/layout/Layout.js +22 -22
  1446. package/lib/layout/Layout.js.map +1 -1
  1447. package/lib/layout/index.js +21 -21
  1448. package/lib/layout/type.js +1 -1
  1449. package/lib/list/List.js +22 -22
  1450. package/lib/list/ListItem.js +18 -18
  1451. package/lib/list/ListItemMeta.js +18 -18
  1452. package/lib/list/index.js +22 -22
  1453. package/lib/list/type.js +1 -1
  1454. package/lib/loading/gradient.js +21 -21
  1455. package/lib/loading/index.js +22 -22
  1456. package/lib/loading/loading.js +22 -22
  1457. package/lib/loading/plugin.js +22 -22
  1458. package/lib/loading/type.js +1 -1
  1459. package/lib/locale/LocalReceiver.js +18 -18
  1460. package/lib/locale/en_US.js +1 -1
  1461. package/lib/locale/zh_CN.js +1 -1
  1462. package/lib/menu/HeadMenu.js +22 -22
  1463. package/lib/menu/Menu.js +22 -22
  1464. package/lib/menu/MenuContext.js +1 -1
  1465. package/lib/menu/MenuGroup.js +18 -18
  1466. package/lib/menu/MenuItem.js +19 -19
  1467. package/lib/menu/SubMenu.js +21 -21
  1468. package/lib/menu/_util/cacularPaddingLeft.js +1 -1
  1469. package/lib/menu/_util/checkMenuType.js +1 -1
  1470. package/lib/menu/_util/checkSubMenuActive.js +1 -1
  1471. package/lib/menu/_util/checkSubMenuChildExpanded.js +3 -3
  1472. package/lib/menu/_util/checkSubMenuChildrenActive.js +1 -1
  1473. package/lib/menu/_util/constant.js +1 -1
  1474. package/lib/menu/_util/getSubMenuChildStyle.js +1 -1
  1475. package/lib/menu/_util/type.js +1 -1
  1476. package/lib/menu/hooks/useMenuContext.js +5 -5
  1477. package/lib/menu/index.js +22 -22
  1478. package/lib/menu/type.js +1 -1
  1479. package/lib/message/Message.js +22 -22
  1480. package/lib/message/MessageClose.js +18 -18
  1481. package/lib/message/MessageComponent.js +22 -22
  1482. package/lib/message/MessageIcon.js +22 -22
  1483. package/lib/message/const.js +1 -1
  1484. package/lib/message/index.js +22 -22
  1485. package/lib/message/type.js +1 -1
  1486. package/lib/message/useMessageClass.js +18 -18
  1487. package/lib/notification/Notification.d.ts +1 -0
  1488. package/lib/notification/Notification.js +29 -172
  1489. package/lib/notification/Notification.js.map +1 -1
  1490. package/lib/notification/NotificationList.d.ts +2 -0
  1491. package/lib/notification/NotificationList.js +29 -187
  1492. package/lib/notification/NotificationList.js.map +1 -1
  1493. package/lib/notification/NotificationPlugin.js +23 -24
  1494. package/lib/notification/NotificationPlugin.js.map +1 -1
  1495. package/lib/notification/index.js +25 -26
  1496. package/lib/notification/index.js.map +1 -1
  1497. package/lib/notification/type.js +1 -1
  1498. package/lib/pagination/Pagination.js +28 -28
  1499. package/lib/pagination/index.js +28 -28
  1500. package/lib/pagination/type.js +1 -1
  1501. package/lib/pagination/validators.js +1 -1
  1502. package/lib/popconfirm/PopConfirm.js +22 -22
  1503. package/lib/popconfirm/PopContent.js +22 -22
  1504. package/lib/popconfirm/index.js +22 -22
  1505. package/lib/popconfirm/type.js +1 -1
  1506. package/lib/popup/Popup.js +41 -23
  1507. package/lib/popup/Popup.js.map +1 -1
  1508. package/lib/popup/hooks/useTriggerProps.js +1 -1
  1509. package/lib/popup/index.js +21 -21
  1510. package/lib/popup/type.d.ts +7 -2
  1511. package/lib/popup/type.js +1 -1
  1512. package/lib/popup/utils/getTransitionParams.js +1 -1
  1513. package/lib/progress/Progress.js +19 -19
  1514. package/lib/progress/index.js +19 -19
  1515. package/lib/progress/type.js +1 -1
  1516. package/lib/radio/Radio.js +27 -27
  1517. package/lib/radio/RadioGroup.js +27 -27
  1518. package/lib/radio/index.js +27 -27
  1519. package/lib/radio/type.js +1 -1
  1520. package/lib/rate/type.js +1 -1
  1521. package/lib/select/base/Option.js +24 -24
  1522. package/lib/select/base/OptionGroup.js +18 -18
  1523. package/lib/select/base/PopupContent.js +28 -28
  1524. package/lib/select/base/Select.js +28 -28
  1525. package/lib/select/index.js +28 -28
  1526. package/lib/select/type.js +1 -1
  1527. package/lib/select/util/helper.js +26 -26
  1528. package/lib/select-input/SelectInput.d.ts +7 -0
  1529. package/lib/select-input/SelectInput.js +154 -0
  1530. package/lib/select-input/SelectInput.js.map +1 -0
  1531. package/lib/select-input/index.d.ts +6 -0
  1532. package/lib/select-input/index.js +88 -0
  1533. package/lib/select-input/index.js.map +1 -0
  1534. package/lib/select-input/style/css.d.ts +1 -0
  1535. package/lib/select-input/style/index.d.ts +1 -0
  1536. package/lib/select-input/type.d.ts +197 -0
  1537. package/lib/select-input/type.js +9 -0
  1538. package/lib/select-input/type.js.map +1 -0
  1539. package/lib/select-input/useMultiple.d.ts +15 -0
  1540. package/lib/select-input/useMultiple.js +141 -0
  1541. package/lib/select-input/useMultiple.js.map +1 -0
  1542. package/lib/select-input/useOverlayStyle.d.ts +8 -0
  1543. package/lib/select-input/useOverlayStyle.js +75 -0
  1544. package/lib/select-input/useOverlayStyle.js.map +1 -0
  1545. package/lib/select-input/useSingle.d.ts +14 -0
  1546. package/lib/select-input/useSingle.js +140 -0
  1547. package/lib/select-input/useSingle.js.map +1 -0
  1548. package/lib/skeleton/Skeleton.js +28 -28
  1549. package/lib/skeleton/index.js +28 -28
  1550. package/lib/skeleton/type.js +1 -1
  1551. package/lib/slider/Slider.js +35 -36
  1552. package/lib/slider/Slider.js.map +1 -1
  1553. package/lib/slider/SliderHandleButton.js +27 -27
  1554. package/lib/slider/SliderHandleButton.js.map +1 -1
  1555. package/lib/slider/index.js +22 -22
  1556. package/lib/slider/type.js +1 -1
  1557. package/lib/slider/utils/handleNumber.js +1 -1
  1558. package/lib/steps/StepItem.js +18 -18
  1559. package/lib/steps/Steps.js +18 -18
  1560. package/lib/steps/StepsContext.js +1 -1
  1561. package/lib/steps/index.js +18 -18
  1562. package/lib/steps/type.js +1 -1
  1563. package/lib/sticky-tool/type.js +1 -1
  1564. package/lib/swiper/Swiper.js +20 -20
  1565. package/lib/swiper/SwiperItem.js +1 -1
  1566. package/lib/swiper/index.js +20 -20
  1567. package/lib/swiper/type.js +1 -1
  1568. package/lib/switch/Switch.js +22 -22
  1569. package/lib/switch/index.js +22 -22
  1570. package/lib/switch/type.js +1 -1
  1571. package/lib/table/base/Table.d.ts +2 -10
  1572. package/lib/table/base/Table.js +30 -30
  1573. package/lib/table/base/Table.js.map +1 -1
  1574. package/lib/table/base/TableAsyncLoadingBody.js +22 -22
  1575. package/lib/table/base/TableBody.d.ts +2 -1
  1576. package/lib/table/base/TableBody.js +26 -26
  1577. package/lib/table/base/TableBody.js.map +1 -1
  1578. package/lib/table/base/TableCell.js +54 -26
  1579. package/lib/table/base/TableCell.js.map +1 -1
  1580. package/lib/table/base/TableColGroup.js +1 -1
  1581. package/lib/table/base/TableContext.js +1 -1
  1582. package/lib/table/base/TableEmptyBody.js +20 -20
  1583. package/lib/table/base/TableFooter.js +1 -1
  1584. package/lib/table/base/TableHeader.js +23 -23
  1585. package/lib/table/base/TableLoadingBody.js +4 -4
  1586. package/lib/table/base/TableRow.d.ts +2 -1
  1587. package/lib/table/base/TableRow.js +26 -26
  1588. package/lib/table/base/TableRow.js.map +1 -1
  1589. package/lib/table/enhanced/Table.js +36 -36
  1590. package/lib/table/enhanced/TableContext.js +1 -1
  1591. package/lib/table/enhanced/useTree.js +25 -25
  1592. package/lib/table/hooks/useColumns.js +4 -4
  1593. package/lib/table/index.js +36 -36
  1594. package/lib/table/primary/FilterButton.js +30 -30
  1595. package/lib/table/primary/SorterButton.js +22 -22
  1596. package/lib/table/primary/Table.js +40 -40
  1597. package/lib/table/primary/Table.js.map +1 -1
  1598. package/lib/table/primary/expand-box.js +18 -18
  1599. package/lib/table/primary/useExpand.js +25 -25
  1600. package/lib/table/primary/useFilter.js +30 -30
  1601. package/lib/table/primary/useSelect.js +30 -30
  1602. package/lib/table/primary/useSorter.js +27 -27
  1603. package/lib/table/type.js +1 -1
  1604. package/lib/table/util/getRowKeyFromRowKey.js +1 -1
  1605. package/lib/table/util/index.js +1 -1
  1606. package/lib/tabs/TabBar.js +20 -20
  1607. package/lib/tabs/TabNav.js +21 -21
  1608. package/lib/tabs/TabNavItem.js +19 -19
  1609. package/lib/tabs/TabPanel.js +18 -18
  1610. package/lib/tabs/Tabs.js +21 -21
  1611. package/lib/tabs/index.js +21 -21
  1612. package/lib/tabs/type.js +1 -1
  1613. package/lib/tabs/useTabClass.js +18 -18
  1614. package/lib/tag/CheckTag.js +21 -21
  1615. package/lib/tag/Tag.js +21 -21
  1616. package/lib/tag/index.js +21 -21
  1617. package/lib/tag/type.js +1 -1
  1618. package/lib/tag-input/TagInput.js +60 -31
  1619. package/lib/tag-input/TagInput.js.map +1 -1
  1620. package/lib/tag-input/index.js +23 -22
  1621. package/lib/tag-input/index.js.map +1 -1
  1622. package/lib/tag-input/type.d.ts +22 -4
  1623. package/lib/tag-input/type.js +1 -1
  1624. package/lib/tag-input/useHover.d.ts +13 -2
  1625. package/lib/tag-input/useHover.js +3 -3
  1626. package/lib/tag-input/useHover.js.map +1 -1
  1627. package/lib/tag-input/useTagList.d.ts +6 -2
  1628. package/lib/tag-input/useTagList.js +35 -34
  1629. package/lib/tag-input/useTagList.js.map +1 -1
  1630. package/lib/tag-input/useTagScroll.js +3 -3
  1631. package/lib/textarea/Textarea.js +26 -26
  1632. package/lib/textarea/index.js +26 -26
  1633. package/lib/textarea/type.js +1 -1
  1634. package/lib/time-picker/InputItems.js +29 -29
  1635. package/lib/time-picker/TimePicker.js +32 -32
  1636. package/lib/time-picker/TimeRangePicker.js +32 -32
  1637. package/lib/time-picker/consts.js +20 -20
  1638. package/lib/time-picker/index.js +32 -32
  1639. package/lib/time-picker/interfaces.js +1 -1
  1640. package/lib/time-picker/panel/SinglePanel.js +29 -29
  1641. package/lib/time-picker/panel/TimePickerPanel.js +31 -31
  1642. package/lib/time-picker/panel/TimePickerRangePanel.js +31 -31
  1643. package/lib/time-picker/type.js +1 -1
  1644. package/lib/tooltip/Tooltip.js +22 -22
  1645. package/lib/tooltip/index.js +22 -22
  1646. package/lib/tooltip/type.js +1 -1
  1647. package/lib/transfer/Transfer.js +38 -38
  1648. package/lib/transfer/TransferList.js +34 -34
  1649. package/lib/transfer/index.js +38 -38
  1650. package/lib/transfer/type.js +1 -1
  1651. package/lib/transfer/utils.js +15 -15
  1652. package/lib/tree/Tree.js +45 -44
  1653. package/lib/tree/Tree.js.map +1 -1
  1654. package/lib/tree/TreeItem.js +29 -29
  1655. package/lib/tree/index.js +45 -44
  1656. package/lib/tree/index.js.map +1 -1
  1657. package/lib/tree/interface.js +1 -1
  1658. package/lib/tree/type.js +1 -1
  1659. package/lib/tree/useControllable.js +3 -3
  1660. package/lib/tree/useStore.js +39 -38
  1661. package/lib/tree/useStore.js.map +1 -1
  1662. package/lib/tree/useTreeConfig.js +20 -20
  1663. package/lib/tree-select/TreeSelect.js +46 -45
  1664. package/lib/tree-select/TreeSelect.js.map +1 -1
  1665. package/lib/tree-select/TreeSelectInput.js +24 -24
  1666. package/lib/tree-select/TreeSelectSuffix.js +24 -24
  1667. package/lib/tree-select/TreeSelectTags.js +21 -21
  1668. package/lib/tree-select/index.js +46 -45
  1669. package/lib/tree-select/index.js.map +1 -1
  1670. package/lib/tree-select/type.js +1 -1
  1671. package/lib/tree-select/useTreeSelectConfig.js +18 -18
  1672. package/lib/upload/boolean-render.js +1 -1
  1673. package/lib/upload/dragger.js +23 -23
  1674. package/lib/upload/hooks/useDefaultValue.js +6 -6
  1675. package/lib/upload/hooks/useSizeLimit.js +20 -20
  1676. package/lib/upload/index.js +37 -37
  1677. package/lib/upload/themes/dragger-progress.js +23 -23
  1678. package/lib/upload/themes/flow-list/file-list.js +23 -23
  1679. package/lib/upload/themes/flow-list/img-list.js +23 -23
  1680. package/lib/upload/themes/flow-list/index.js +23 -23
  1681. package/lib/upload/themes/image-card.js +23 -23
  1682. package/lib/upload/themes/single-file.js +22 -22
  1683. package/lib/upload/tips.js +18 -18
  1684. package/lib/upload/type.js +1 -1
  1685. package/lib/upload/types.js +1 -1
  1686. package/lib/upload/upload-trigger.js +22 -22
  1687. package/lib/upload/upload.js +37 -37
  1688. package/lib/upload/util.js +3 -3
  1689. package/package.json +9 -6
  1690. package/es/_chunks/dep-36516db7.js.map +0 -1
  1691. package/es/_chunks/dep-72e1bd13.js +0 -8
  1692. package/es/_chunks/dep-72e1bd13.js.map +0 -1
  1693. package/es/_chunks/dep-f9242fec.js.map +0 -1
  1694. package/es/table/primary/useDragSorter.d.ts +0 -4
  1695. package/es/table/primary/useDragSorter.js +0 -74
  1696. package/es/table/primary/useDragSorter.js.map +0 -1
  1697. package/esm/_chunks/dep-36516db7.js.map +0 -1
  1698. package/esm/_chunks/dep-72e1bd13.js +0 -8
  1699. package/esm/_chunks/dep-72e1bd13.js.map +0 -1
  1700. package/esm/_chunks/dep-f9242fec.js.map +0 -1
  1701. package/esm/table/primary/useDragSorter.d.ts +0 -4
  1702. package/esm/table/primary/useDragSorter.js +0 -74
  1703. package/esm/table/primary/useDragSorter.js.map +0 -1
  1704. package/lib/_chunks/dep-23ee43e6.js.map +0 -1
  1705. package/lib/table/primary/useDragSorter.d.ts +0 -4
  1706. package/lib/table/primary/useDragSorter.js +0 -77
  1707. package/lib/table/primary/useDragSorter.js.map +0 -1
@@ -0,0 +1,303 @@
1
+ /**
2
+ * tdesign v0.25.2
3
+ * (c) 2022 tdesign
4
+ * @license MIT
5
+ */
6
+
7
+ import { _ as _slicedToArray } from './dep-301db282.js';
8
+ import React, { forwardRef, useState, useImperativeHandle, useContext } from 'react';
9
+ import { CheckCircleFilledIcon, InfoCircleFilledIcon, CloseIcon } from 'tdesign-icons-react';
10
+ import { _ as _defineProperty } from './dep-1dcd6f7a.js';
11
+ import { _ as _toConsumableArray } from './dep-ed38fb3f.js';
12
+ import ReactDOM from 'react-dom';
13
+ import useConfig from '../_util/useConfig.js';
14
+ import noop from '../_util/noop.js';
15
+
16
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
17
+
18
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
19
+ var seed = 0;
20
+ var listMap = /* @__PURE__ */new Map();
21
+ var NotificationRemoveContext = /*#__PURE__*/React.createContext(noop);
22
+ var NotificationList = /*#__PURE__*/forwardRef(function (props, ref) {
23
+ var placement = props.placement,
24
+ zIndex = props.zIndex;
25
+
26
+ var _useConfig = useConfig(),
27
+ classPrefix = _useConfig.classPrefix;
28
+
29
+ var _useState = useState([]),
30
+ _useState2 = _slicedToArray(_useState, 2),
31
+ list = _useState2[0],
32
+ setList = _useState2[1];
33
+
34
+ var remove = function remove(key) {
35
+ setList(function (oldList) {
36
+ var index = oldList.findIndex(function (item) {
37
+ return item.key === key;
38
+ });
39
+
40
+ if (index !== -1) {
41
+ var tempList = _toConsumableArray(oldList);
42
+
43
+ tempList.splice(index, 1);
44
+ return _toConsumableArray(tempList);
45
+ }
46
+
47
+ return oldList;
48
+ });
49
+ };
50
+
51
+ var calOffset = function calOffset(offset) {
52
+ if (!offset) return "16px";
53
+ return isNaN(Number(offset)) ? offset : "".concat(offset, "px");
54
+ };
55
+
56
+ var push = function push(theme, options) {
57
+ var key = String(seed += 1);
58
+ var style = {
59
+ margin: "16px"
60
+ };
61
+
62
+ if (Array.isArray(options.offset)) {
63
+ var _ref = _toConsumableArray(options.offset),
64
+ horizontal = _ref[0],
65
+ vertical = _ref[1];
66
+
67
+ var horizontalOffset = calOffset(horizontal);
68
+ var verticalOffset = calOffset(vertical);
69
+ style = {
70
+ marginTop: verticalOffset,
71
+ marginBottom: verticalOffset,
72
+ marginLeft: horizontalOffset,
73
+ marginRight: horizontalOffset
74
+ };
75
+ }
76
+
77
+ var ref2 = /*#__PURE__*/React.createRef();
78
+ setList(function (oldList) {
79
+ return [].concat(_toConsumableArray(oldList), [_objectSpread(_objectSpread({}, options), {}, {
80
+ key: key,
81
+ theme: theme,
82
+ style: style,
83
+ ref: ref2,
84
+ id: key
85
+ })]);
86
+ });
87
+ return Promise.resolve(ref2.current);
88
+ };
89
+
90
+ var removeAll = function removeAll() {
91
+ setList([]);
92
+ };
93
+
94
+ useImperativeHandle(ref, function () {
95
+ return {
96
+ push: push,
97
+ remove: remove,
98
+ removeAll: removeAll
99
+ };
100
+ });
101
+ return /* @__PURE__ */React.createElement(NotificationRemoveContext.Provider, {
102
+ value: remove
103
+ }, /* @__PURE__ */React.createElement("div", {
104
+ className: "".concat(classPrefix, "-notification__show--").concat(placement),
105
+ style: {
106
+ zIndex: zIndex
107
+ }
108
+ }, list.map(function (props2) {
109
+ var _props2$onDurationEnd = props2.onDurationEnd,
110
+ _onDurationEnd = _props2$onDurationEnd === void 0 ? noop : _props2$onDurationEnd,
111
+ _props2$onCloseBtnCli = props2.onCloseBtnClick,
112
+ _onCloseBtnClick = _props2$onCloseBtnCli === void 0 ? noop : _props2$onCloseBtnCli;
113
+
114
+ return /* @__PURE__ */React.createElement(NotificationComponent, _objectSpread(_objectSpread({
115
+ ref: props2.ref,
116
+ key: props2.key
117
+ }, props2), {}, {
118
+ onDurationEnd: function onDurationEnd() {
119
+ remove(props2.key);
120
+
121
+ _onDurationEnd();
122
+ },
123
+ onCloseBtnClick: function onCloseBtnClick(e) {
124
+ remove(props2.key);
125
+
126
+ _onCloseBtnClick(e);
127
+ }
128
+ }));
129
+ })));
130
+ });
131
+ var fetchListInstance = function fetchListInstance(placement, attach, zIndex) {
132
+ return new Promise(function (resolve) {
133
+ if (listMap.has(placement)) {
134
+ resolve(listMap.get(placement));
135
+ } else {
136
+ var hasExec = false;
137
+ ReactDOM.render( /* @__PURE__ */React.createElement(NotificationList, {
138
+ attach: attach,
139
+ placement: placement,
140
+ zIndex: Number(zIndex),
141
+ ref: function ref(instance) {
142
+ if (!hasExec) {
143
+ hasExec = true;
144
+ listMap.set(placement, instance);
145
+ resolve(instance);
146
+ }
147
+ }
148
+ }), attach);
149
+ }
150
+ });
151
+ };
152
+
153
+ var blockName = "notification";
154
+ var NotificationComponent = /*#__PURE__*/forwardRef(function (props, ref) {
155
+ var _props$title = props.title,
156
+ title = _props$title === void 0 ? null : _props$title,
157
+ _props$content = props.content,
158
+ content = _props$content === void 0 ? null : _props$content,
159
+ _props$theme = props.theme,
160
+ theme = _props$theme === void 0 ? null : _props$theme,
161
+ _props$icon = props.icon,
162
+ icon = _props$icon === void 0 ? null : _props$icon,
163
+ closeBtn = props.closeBtn,
164
+ _props$footer = props.footer,
165
+ footer = _props$footer === void 0 ? null : _props$footer,
166
+ _props$duration = props.duration,
167
+ duration = _props$duration === void 0 ? 3e3 : _props$duration,
168
+ _props$onCloseBtnClic = props.onCloseBtnClick,
169
+ onCloseBtnClick = _props$onCloseBtnClic === void 0 ? noop : _props$onCloseBtnClic,
170
+ _props$onDurationEnd = props.onDurationEnd,
171
+ onDurationEnd = _props$onDurationEnd === void 0 ? noop : _props$onDurationEnd,
172
+ style = props.style,
173
+ _props$id = props.id,
174
+ id = _props$id === void 0 ? "" : _props$id;
175
+
176
+ var _useConfig = useConfig(),
177
+ classPrefix = _useConfig.classPrefix;
178
+
179
+ var prefixCls = React.useCallback(function () {
180
+ var className = "";
181
+
182
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
183
+ args[_key] = arguments[_key];
184
+ }
185
+
186
+ args.forEach(function (item, index) {
187
+ if (item && index > 0) className = className.concat(" ");
188
+
189
+ if (item instanceof Array) {
190
+ var _item = _slicedToArray(item, 3),
191
+ block = _item[0],
192
+ element = _item[1],
193
+ modifier = _item[2];
194
+
195
+ className = className.concat(classPrefix, "-", block);
196
+ if (element) className = className.concat("__", element);
197
+ if (modifier) className = className.concat("--", modifier);
198
+ } else if (typeof item === "string") {
199
+ className = className.concat(classPrefix, "-", item);
200
+ }
201
+ });
202
+ return className;
203
+ }, [classPrefix]);
204
+ var remove = useContext(NotificationRemoveContext);
205
+ React.useImperativeHandle(ref, function () {
206
+ return {
207
+ close: function close() {
208
+ return remove(id);
209
+ }
210
+ };
211
+ });
212
+ React.useEffect(function () {
213
+ var timer;
214
+
215
+ if (duration > 0) {
216
+ timer = setTimeout(function () {
217
+ clearTimeout(timer);
218
+ onDurationEnd();
219
+ }, duration);
220
+ }
221
+
222
+ return function () {
223
+ if (timer) clearTimeout(timer);
224
+ };
225
+ }, []);
226
+
227
+ var renderIcon = function renderIcon() {
228
+ var IconWrapper = function IconWrapper(_ref) {
229
+ var children = _ref.children;
230
+ return /* @__PURE__ */React.createElement("div", {
231
+ className: "".concat(classPrefix, "-notification__icon")
232
+ }, children);
233
+ };
234
+
235
+ if ( /*#__PURE__*/React.isValidElement(icon)) {
236
+ return /* @__PURE__ */React.createElement(IconWrapper, null, icon);
237
+ }
238
+
239
+ if (theme && theme === "success") {
240
+ return /* @__PURE__ */React.createElement(IconWrapper, null, /* @__PURE__ */React.createElement(CheckCircleFilledIcon, {
241
+ className: prefixCls("is-success")
242
+ }));
243
+ }
244
+
245
+ if (theme && ["info", "warning", "error"].indexOf(theme) >= 0) {
246
+ return /* @__PURE__ */React.createElement(IconWrapper, null, /* @__PURE__ */React.createElement(InfoCircleFilledIcon, {
247
+ className: prefixCls("is-".concat(theme))
248
+ }));
249
+ }
250
+
251
+ return null;
252
+ };
253
+
254
+ return /* @__PURE__ */React.createElement("div", {
255
+ className: prefixCls(blockName),
256
+ style: style
257
+ }, renderIcon(), /* @__PURE__ */React.createElement("div", {
258
+ className: prefixCls([blockName, "main"])
259
+ }, /* @__PURE__ */React.createElement("div", {
260
+ className: prefixCls([blockName, "title__wrap"])
261
+ }, /* @__PURE__ */React.createElement("span", {
262
+ className: prefixCls([blockName, "title"])
263
+ }, title), function () {
264
+ if (typeof closeBtn === "boolean" && closeBtn) {
265
+ return /* @__PURE__ */React.createElement(CloseIcon, {
266
+ className: prefixCls("icon-close"),
267
+ onClick: function onClick(e) {
268
+ onCloseBtnClick({
269
+ e: e
270
+ });
271
+ }
272
+ });
273
+ }
274
+
275
+ if ( /*#__PURE__*/React.isValidElement(closeBtn)) {
276
+ return /* @__PURE__ */React.createElement("div", {
277
+ onClick: function onClick(e) {
278
+ onCloseBtnClick({
279
+ e: e
280
+ });
281
+ }
282
+ }, closeBtn);
283
+ }
284
+
285
+ return null;
286
+ }()), function () {
287
+ if (typeof content === "string") {
288
+ return /* @__PURE__ */React.createElement("div", {
289
+ className: prefixCls([blockName, "content"])
290
+ }, content);
291
+ }
292
+
293
+ if ( /*#__PURE__*/React.isValidElement(content)) return content;
294
+ return null;
295
+ }(), /*#__PURE__*/React.isValidElement(footer) && /* @__PURE__ */React.createElement("div", {
296
+ className: prefixCls([blockName, "detail"])
297
+ }, footer), typeof footer === "function" && /* @__PURE__ */React.createElement("div", {
298
+ className: prefixCls([blockName, "detail"])
299
+ }, footer())));
300
+ });
301
+
302
+ export { NotificationComponent as N, NotificationRemoveContext as a, fetchListInstance as f, listMap as l };
303
+ //# sourceMappingURL=dep-5303d900.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dep-5303d900.js","sources":["../../src/notification/NotificationList.tsx","../../src/notification/Notification.tsx"],"sourcesContent":["import React, { forwardRef, useImperativeHandle, useState } from 'react';\nimport ReactDOM from 'react-dom';\nimport useConfig from '../_util/useConfig';\nimport {\n NotificationInfoOptions,\n NotificationInstance,\n NotificationPlacementList,\n NotificationThemeList,\n TdNotificationProps,\n} from './type';\nimport { Styles } from '../common';\nimport noop from '../_util/noop';\nimport { NotificationComponent } from './Notification';\n\ninterface NotificationListInstance extends TdNotificationProps {\n push: (theme: NotificationThemeList, options: NotificationInfoOptions) => Promise<NotificationInstance>;\n remove: (key: string) => void;\n removeAll: () => void;\n}\n\ninterface NotificationListOpenOption extends NotificationInfoOptions {\n id: string;\n key: string;\n theme: NotificationThemeList;\n style: Styles;\n ref: React.RefObject<NotificationInstance>;\n}\n\ninterface NotificationListProps {\n attach: HTMLElement;\n zIndex: number;\n placement: NotificationPlacementList;\n}\n\nlet seed = 0;\n\nexport const listMap: Map<NotificationPlacementList, NotificationListInstance> = new Map();\n\nexport const NotificationRemoveContext = React.createContext<(key: string) => void>(noop);\n\nconst NotificationList = forwardRef<NotificationListInstance, NotificationListProps>((props, ref) => {\n const { placement, zIndex } = props;\n const { classPrefix } = useConfig();\n const [list, setList] = useState<NotificationListOpenOption[]>([]);\n\n const remove = (key: string) => {\n setList((oldList) => {\n const index = oldList.findIndex((item) => item.key === key);\n if (index !== -1) {\n const tempList = [...oldList];\n tempList.splice(index, 1);\n return [...tempList];\n }\n return oldList;\n });\n };\n\n const calOffset = (offset: string | number) => {\n if (!offset) return '16px';\n return isNaN(Number(offset)) ? offset : `${offset}px`;\n };\n\n const push = (theme: NotificationThemeList, options: NotificationInfoOptions): Promise<NotificationInstance> => {\n const key = String((seed += 1));\n let style: React.CSSProperties = {\n margin: '16px',\n };\n if (Array.isArray(options.offset)) {\n const [horizontal, vertical] = [...options.offset];\n const horizontalOffset = calOffset(horizontal);\n const verticalOffset = calOffset(vertical);\n\n style = {\n marginTop: verticalOffset,\n marginBottom: verticalOffset,\n marginLeft: horizontalOffset,\n marginRight: horizontalOffset,\n };\n }\n const ref = React.createRef<NotificationInstance>();\n\n setList((oldList) => [...oldList, {\n ...options,\n key,\n theme,\n style,\n ref,\n id: key,\n }]);\n\n return Promise.resolve(ref.current);\n };\n\n const removeAll = () => {\n setList([]);\n };\n\n useImperativeHandle(ref, () => ({\n push,\n remove,\n removeAll,\n }));\n\n return (\n <NotificationRemoveContext.Provider value={remove}>\n <div className={`${classPrefix}-notification__show--${placement}`} style={{ zIndex }}>\n {list.map((props) => {\n const { onDurationEnd = noop, onCloseBtnClick = noop } = props;\n return (\n <NotificationComponent\n ref={props.ref}\n key={props.key}\n {...props}\n onDurationEnd={() => {\n remove(props.key);\n onDurationEnd();\n }}\n onCloseBtnClick={(e) => {\n remove(props.key);\n onCloseBtnClick(e);\n }}\n\n />\n );\n })}\n </div>\n </NotificationRemoveContext.Provider>\n );\n});\n\nexport const fetchListInstance = (\n placement: NotificationPlacementList,\n attach: HTMLElement,\n zIndex: number,\n): Promise<NotificationListInstance> =>\n new Promise((resolve) => {\n if (listMap.has(placement)) {\n resolve(listMap.get(placement));\n } else {\n let hasExec = false;\n ReactDOM.render(\n <NotificationList\n attach={attach}\n placement={placement}\n zIndex={Number(zIndex)}\n ref={(instance) => {\n if (!hasExec) {\n hasExec = true;\n listMap.set(placement, instance);\n resolve(instance);\n }\n }}\n />,\n attach,\n );\n }\n });\n","import React, { forwardRef, useContext } from 'react';\nimport { CheckCircleFilledIcon, CloseIcon, InfoCircleFilledIcon } from 'tdesign-icons-react';\nimport { NotificationRemoveContext } from './NotificationList';\nimport noop from '../_util/noop';\nimport useConfig from '../_util/useConfig';\n\nimport { NotificationInstance, TdNotificationProps } from './type';\nimport { Styles } from '../common';\n\nconst blockName = 'notification';\n\nexport interface NotificationProps extends TdNotificationProps {\n style?: Styles;\n id?: string;\n}\n\nexport const NotificationComponent = forwardRef<any, NotificationProps>((props, ref) => {\n const {\n title = null,\n content = null,\n theme = null,\n icon = null,\n closeBtn,\n footer = null,\n duration = 3000,\n onCloseBtnClick = noop,\n onDurationEnd = noop,\n style,\n id = '',\n } = props;\n\n const { classPrefix } = useConfig();\n const prefixCls = React.useCallback(\n (...args: (string | [string, string?, string?])[]) => {\n let className = '';\n args.forEach((item, index) => {\n if (item && index > 0) className = className.concat(' ');\n if (item instanceof Array) {\n const [block, element, modifier] = item;\n className = className.concat(classPrefix, '-', block);\n if (element) className = className.concat('__', element);\n if (modifier) className = className.concat('--', modifier);\n } else if (typeof item === 'string') {\n className = className.concat(classPrefix, '-', item);\n }\n });\n return className;\n },\n [classPrefix],\n );\n\n const remove = useContext(NotificationRemoveContext);\n React.useImperativeHandle(ref as React.Ref<NotificationInstance>, () => ({ close: () => remove(id) }));\n\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(() => {\n let timer;\n if (duration > 0) {\n timer = setTimeout(() => {\n clearTimeout(timer);\n onDurationEnd();\n }, duration);\n }\n return () => {\n if (timer) clearTimeout(timer);\n };\n }, []);\n\n const renderIcon = () => {\n const IconWrapper = ({ children }) => <div className={`${classPrefix}-notification__icon`}>{children}</div>;\n\n // 调整优先级,icon 优先级最高\n if (React.isValidElement(icon)) {\n return <IconWrapper>{icon}</IconWrapper>;\n }\n\n if (theme && theme === 'success') {\n return (\n <IconWrapper>\n <CheckCircleFilledIcon className={prefixCls('is-success')} />\n </IconWrapper>\n );\n }\n if (theme && ['info', 'warning', 'error'].indexOf(theme) >= 0) {\n return (\n <IconWrapper>\n <InfoCircleFilledIcon className={prefixCls(`is-${theme}`)} />\n </IconWrapper>\n );\n }\n return null;\n };\n\n return (\n <div className={prefixCls(blockName)} style={style}>\n {renderIcon()}\n <div className={prefixCls([blockName, 'main'])}>\n <div className={prefixCls([blockName, 'title__wrap'])}>\n <span className={prefixCls([blockName, 'title'])}>{title}</span>\n {((): React.ReactNode => {\n if (typeof closeBtn === 'boolean' && closeBtn) {\n return (\n <CloseIcon\n className={prefixCls('icon-close')}\n onClick={(e) => {\n onCloseBtnClick({ e });\n }}\n />\n );\n }\n if (React.isValidElement(closeBtn)) {\n return (\n <div\n onClick={(e) => {\n onCloseBtnClick({ e });\n }}\n >\n {closeBtn}\n </div>\n );\n }\n return null;\n })()}\n </div>\n {((): React.ReactNode => {\n if (typeof content === 'string') {\n return <div className={prefixCls([blockName, 'content'])}>{content}</div>;\n }\n if (React.isValidElement(content)) return content;\n return null;\n })()}\n {React.isValidElement(footer) && <div className={prefixCls([blockName, 'detail'])}>{footer}</div>}\n {typeof footer === 'function' && <div className={prefixCls([blockName, 'detail'])}>{footer()}</div>}\n </div>\n </div>\n );\n});\n\nexport default NotificationComponent;\n"],"names":["seed","listMap","Map","NotificationRemoveContext","React","createContext","noop","NotificationList","forwardRef","props","ref","placement","zIndex","useConfig","classPrefix","useState","list","setList","remove","key","oldList","index","findIndex","item","tempList","splice","calOffset","offset","isNaN","Number","push","theme","options","String","style","margin","Array","isArray","horizontal","vertical","horizontalOffset","verticalOffset","marginTop","marginBottom","marginLeft","marginRight","ref2","createRef","id","Promise","resolve","current","removeAll","useImperativeHandle","createElement","Provider","value","className","map","props2","onDurationEnd","onCloseBtnClick","NotificationComponent","e","fetchListInstance","attach","has","get","hasExec","ReactDOM","render","instance","set","blockName","title","content","icon","closeBtn","footer","duration","prefixCls","useCallback","args","forEach","concat","block","element","modifier","useContext","close","useEffect","timer","setTimeout","clearTimeout","renderIcon","IconWrapper","children","isValidElement","CheckCircleFilledIcon","indexOf","InfoCircleFilledIcon","CloseIcon","onClick"],"mappings":";;;;;;;;;;;;;;;;;;AAKA,IAAIA,IAAI,GAAG,CAAX;IACaC,OAAO,kBAAmB,IAAIC,GAAJ;IAC1BC,yBAAyB,gBAAGC,KAAK,CAACC,aAAN,CAAoBC,IAApB;AACzC,IAAMC,gBAAgB,gBAAGC,UAAU,CAAC,UAACC,KAAD,EAAQC,GAAR,EAAgB;AAClD,MAAQC,SAAR,GAA8BF,KAA9B,CAAQE,SAAR;AAAA,MAAmBC,MAAnB,GAA8BH,KAA9B,CAAmBG,MAAnB;;AACA,mBAAwBC,SAAS,EAAjC;AAAA,MAAQC,WAAR,cAAQA,WAAR;;AACA,kBAAwBC,QAAQ,CAAC,EAAD,CAAhC;AAAA;AAAA,MAAOC,IAAP;AAAA,MAAaC,OAAb;;AACA,MAAMC,MAAM,GAAG,SAATA,MAAS,CAACC,GAAD,EAAS;AACtBF,IAAAA,OAAO,CAAC,UAACG,OAAD,EAAa;AACnB,UAAMC,KAAK,GAAGD,OAAO,CAACE,SAAR,CAAkB,UAACC,IAAD;AAAA,eAAUA,IAAI,CAACJ,GAAL,KAAaA,GAAvB;AAAA,OAAlB,CAAd;;AACA,UAAIE,KAAK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OAAP;AACF,WAAO,IAAP;AACD,GATM,EAvB0B,eAgC3BvE,KAAK,CAAC6F,cAAN,CAAqBnB,MAArB,oBAAgD1E,KAAK,CAACkD,aAAN,CAAoB,KAApB,EAA2B;AAC/EG,IAAAA,SAAS,EAAEuB,SAAS,CAAC,CAACP,SAAD,EAAY,QAAZ,CAAD;AAD2D,GAA3B,EAEnDK,MAFmD,CAhCrB,EAkCrB,OAAOA,MAAP,KAAkB,UAAlB,mBAAgD1E,KAAK,CAACkD,aAAN,CAAoB,KAApB,EAA2B;AACrFG,IAAAA,SAAS,EAAEuB,SAAS,CAAC,CAACP,SAAD,EAAY,QAAZ,CAAD;AADiE,GAA3B,EAEzDK,MAAM,EAFmD,CAlC3B,CAHV,CAAvB;AAwCD,CA3G8C;;;;"}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * tdesign v0.25.1
2
+ * tdesign v0.25.2
3
3
  * (c) 2022 tdesign
4
4
  * @license MIT
5
5
  */
6
6
 
7
- import './dep-4979c2b8.js';
8
- import './dep-f9242fec.js';
7
+ import './dep-98412f1b.js';
8
+ import './dep-04a6c042.js';
9
9
 
10
10
  /** Used as references for various `Number` constants. */
11
11
  var MAX_SAFE_INTEGER = 9007199254740991;
@@ -43,4 +43,4 @@ function isLength(value) {
43
43
  var isLength_1 = isLength;
44
44
 
45
45
  export { isLength_1 as i };
46
- //# sourceMappingURL=dep-c008b410.js.map
46
+ //# sourceMappingURL=dep-5a75ddfa.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dep-c008b410.js","sources":["../../node_modules/lodash/isLength.js"],"sourcesContent":["/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n"],"names":["MAX_SAFE_INTEGER","isLength","value","isLength_1"],"mappings":";;;;;;;;;;AACA,IAAIA,gBAAgB,GAAG,gBAAvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACvB,SAAO,OAAOA,KAAP,IAAgB,QAAhB,IACLA,KAAK,GAAG,CAAC,CADJ,IACSA,KAAK,GAAG,CAAR,IAAa,CADtB,IAC2BA,KAAK,IAAIF,gBAD3C;AAED;;IAEDG,UAAc,GAAGF;;;;"}
1
+ {"version":3,"file":"dep-5a75ddfa.js","sources":["../../node_modules/lodash/isLength.js"],"sourcesContent":["/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n"],"names":["MAX_SAFE_INTEGER","isLength","value","isLength_1"],"mappings":";;;;;;;;;;AACA,IAAIA,gBAAgB,GAAG,gBAAvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACvB,SAAO,OAAOA,KAAP,IAAgB,QAAhB,IACLA,KAAK,GAAG,CAAC,CADJ,IACSA,KAAK,GAAG,CAAR,IAAa,CADtB,IAC2BA,KAAK,IAAIF,gBAD3C;AAED;;IAEDG,UAAc,GAAGF;;;;"}
@@ -1,15 +1,15 @@
1
1
  /**
2
- * tdesign v0.25.1
2
+ * tdesign v0.25.2
3
3
  * (c) 2022 tdesign
4
4
  * @license MIT
5
5
  */
6
6
 
7
- import './dep-f9242fec.js';
8
- import { b as _baseFindIndex, _ as _SetCache, a as _cacheHas } from './dep-deeece0d.js';
9
- import { _ as _arrayMap } from './dep-360d6135.js';
10
- import { _ as _baseUnary } from './dep-65c1d541.js';
11
- import { _ as _baseFlatten } from './dep-861da54c.js';
12
- import { _ as _baseRest, i as isArrayLikeObject_1 } from './dep-a180486a.js';
7
+ import './dep-04a6c042.js';
8
+ import { b as _baseFindIndex, _ as _SetCache, a as _cacheHas } from './dep-a9ccbf72.js';
9
+ import { _ as _arrayMap } from './dep-df7c3c40.js';
10
+ import { _ as _baseUnary } from './dep-10b8d252.js';
11
+ import { _ as _baseFlatten } from './dep-2837cbee.js';
12
+ import { _ as _baseRest, i as isArrayLikeObject_1 } from './dep-0529bc9f.js';
13
13
 
14
14
  /**
15
15
  * The base implementation of `_.isNaN` without support for number objects.
@@ -216,4 +216,4 @@ var difference = baseRest(function (array, values) {
216
216
  var difference_1 = difference;
217
217
 
218
218
  export { difference_1 as d };
219
- //# sourceMappingURL=dep-a62bdfd5.js.map
219
+ //# sourceMappingURL=dep-5c961b06.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dep-a62bdfd5.js","sources":["../../node_modules/lodash/_baseIsNaN.js","../../node_modules/lodash/_strictIndexOf.js","../../node_modules/lodash/_baseIndexOf.js","../../node_modules/lodash/_arrayIncludes.js","../../node_modules/lodash/_arrayIncludesWith.js","../../node_modules/lodash/_baseDifference.js","../../node_modules/lodash/difference.js"],"sourcesContent":["/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\nfunction baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseDifference;\n","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\nvar difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n});\n\nmodule.exports = difference;\n"],"names":["baseIsNaN","value","_baseIsNaN","strictIndexOf","array","fromIndex","index","length","_strictIndexOf","baseFindIndex","require$$0","require$$1","require$$2","baseIndexOf","_baseIndexOf","arrayIncludes","_arrayIncludes","arrayIncludesWith","comparator","_arrayIncludesWith","SetCache","arrayMap","require$$3","baseUnary","require$$4","cacheHas","require$$5","LARGE_ARRAY_SIZE","baseDifference","values","iteratee","includes","isCommon","result","valuesLength","outer","computed","valuesIndex","push","_baseDifference","baseFlatten","baseRest","isArrayLikeObject","difference","difference_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAOA,SAASA,WAAT,CAAmBC,KAAnB,EAA0B;AACxB,SAAOA,KAAK,KAAKA,KAAjB;AACD;;IAEDC,UAAc,GAAGF;;;;;;;;;;;;;ACDjB,SAASG,eAAT,CAAuBC,KAAvB,EAA8BH,KAA9B,EAAqCI,SAArC,EAAgD;AAC9C,MAAIC,KAAK,GAAGD,SAAS,GAAG,CAAxB;AAAA,MACIE,MAAM,GAAGH,KAAK,C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CADX,GAEH,EAFJ;AAGD,CAJwB,CAAzB;IAMAE,YAAc,GAAGD;;;;"}
1
+ {"version":3,"file":"dep-5c961b06.js","sources":["../../node_modules/lodash/_baseIsNaN.js","../../node_modules/lodash/_strictIndexOf.js","../../node_modules/lodash/_baseIndexOf.js","../../node_modules/lodash/_arrayIncludes.js","../../node_modules/lodash/_arrayIncludesWith.js","../../node_modules/lodash/_baseDifference.js","../../node_modules/lodash/difference.js"],"sourcesContent":["/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\nfunction baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseDifference;\n","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\nvar difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n});\n\nmodule.exports = difference;\n"],"names":["baseIsNaN","value","_baseIsNaN","strictIndexOf","array","fromIndex","index","length","_strictIndexOf","baseFindIndex","require$$0","require$$1","require$$2","baseIndexOf","_baseIndexOf","arrayIncludes","_arrayIncludes","arrayIncludesWith","comparator","_arrayIncludesWith","SetCache","arrayMap","require$$3","baseUnary","require$$4","cacheHas","require$$5","LARGE_ARRAY_SIZE","baseDifference","values","iteratee","includes","isCommon","result","valuesLength","outer","computed","valuesIndex","push","_baseDifference","baseFlatten","baseRest","isArrayLikeObject","difference","difference_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAOA,SAASA,WAAT,CAAmBC,KAAnB,EAA0B;AACxB,SAAOA,KAAK,KAAKA,KAAjB;AACD;;IAEDC,UAAc,GAAGF;;;;;;;;;;;;;ACDjB,SAASG,eAAT,CAAuBC,KAAvB,EAA8BH,KAA9B,EAAqCI,SAArC,EA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B,KAAD,EAAQoC,WAAW,CAACX,MAAD,EAAS,CAAT,EAAYa,iBAAZ,EAA+B,IAA/B,CAAnB,CADX,GAEH,EAFJ;AAGD,CAJwB,CAAzB;IAMAE,YAAc,GAAGD;;;;"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tdesign v0.25.1
2
+ * tdesign v0.25.2
3
3
  * (c) 2022 tdesign
4
4
  * @license MIT
5
5
  */
@@ -24,4 +24,4 @@ function _unsupportedIterableToArray(o, minLen) {
24
24
  }
25
25
 
26
26
  export { _unsupportedIterableToArray as _, _arrayLikeToArray as a };
27
- //# sourceMappingURL=dep-f7f44030.js.map
27
+ //# sourceMappingURL=dep-5e33104a.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dep-f7f44030.js","sources":["../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}"],"names":["_arrayLikeToArray","arr","len","length","i","arr2","Array","_unsupportedIterableToArray","o","minLen","arrayLikeToArray","n","Object","prototype","toString","call","slice","constructor","name","from","test"],"mappings":";;;;;;AAAe,SAASA,iBAAT,CAA2BC,GAA3B,EAAgCC,GAAhC,EAAqC;AAClD,MAAIA,GAAG,IAAI,IAAP,IAAeA,GAAG,GAAGD,GAAG,CAACE,MAA7B,EAAqCD,GAAG,GAAGD,GAAG,CAACE,MAAV;;AAErC,OAAK,IAAIC,CAAC,GAAG,CAAR,EAAWC,IAAI,GAAG,IAAIC,KAAJ,CAAUJ,GAAV,CAAvB,EAAuCE,CAAC,GAAGF,GAA3C,EAAgDE,CAAC,EAAjD,EAAqD;AACnDC,IAAAA,IAAI,CAACD,CAAD,CAAJ,GAAUH,GAAG,CAACG,CAAD,CAAb;AACD;;AAED,SAAOC,IAAP;AACD;;ACPc,SAASE,2BAAT,CAAqCC,CAArC,EAAwCC,MAAxC,EAAgD;AAC7D,MAAI,CAACD,CAAL,EAAQ;AACR,MAAI,OAAOA,CAAP,KAAa,QAAjB,EAA2B,OAAOE,iBAAgB,CAACF,CAAD,EAAIC,MAAJ,CAAvB;AAC3B,MAAIE,CAAC,GAAGC,MAAM,CAACC,SAAP,CAAiBC,QAAjB,CAA0BC,IAA1B,CAA+BP,CAA/B,EAAkCQ,KAAlC,CAAwC,CAAxC,EAA2C,CAAC,CAA5C,CAAR;AACA,MAAIL,CAAC,KAAK,QAAN,IAAkBH,CAAC,CAACS,WAAxB,EAAqCN,CAAC,GAAGH,CAAC,CAACS,WAAF,CAAcC,IAAlB;AACrC,MAAIP,CAAC,KAAK,KAAN,IAAeA,CAAC,KAAK,KAAzB,EAAgC,OAAOL,KAAK,CAACa,IAAN,CAAWX,CAAX,CAAP;AAChC,MAAIG,CAAC,KAAK,WAAN,IAAqB,2CAA2CS,IAA3C,CAAgDT,CAAhD,CAAzB,EAA6E,OAAOD,iBAAgB,CAACF,CAAD,EAAIC,MAAJ,CAAvB;AAC9E;;;;"}
1
+ {"version":3,"file":"dep-5e33104a.js","sources":["../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}"],"names":["_arrayLikeToArray","arr","len","length","i","arr2","Array","_unsupportedIterableToArray","o","minLen","arrayLikeToArray","n","Object","prototype","toString","call","slice","constructor","name","from","test"],"mappings":";;;;;;AAAe,SAASA,iBAAT,CAA2BC,GAA3B,EAAgCC,GAAhC,EAAqC;AAClD,MAAIA,GAAG,IAAI,IAAP,IAAeA,GAAG,GAAGD,GAAG,CAACE,MAA7B,EAAqCD,GAAG,GAAGD,GAAG,CAACE,MAAV;;AAErC,OAAK,IAAIC,CAAC,GAAG,CAAR,EAAWC,IAAI,GAAG,IAAIC,KAAJ,CAAUJ,GAAV,CAAvB,EAAuCE,CAAC,GAAGF,GAA3C,EAAgDE,CAAC,EAAjD,EAAqD;AACnDC,IAAAA,IAAI,CAACD,CAAD,CAAJ,GAAUH,GAAG,CAACG,CAAD,CAAb;AACD;;AAED,SAAOC,IAAP;AACD;;ACPc,SAASE,2BAAT,CAAqCC,CAArC,EAAwCC,MAAxC,EAAgD;AAC7D,MAAI,CAACD,CAAL,EAAQ;AACR,MAAI,OAAOA,CAAP,KAAa,QAAjB,EAA2B,OAAOE,iBAAgB,CAACF,CAAD,EAAIC,MAAJ,CAAvB;AAC3B,MAAIE,CAAC,GAAGC,MAAM,CAACC,SAAP,CAAiBC,QAAjB,CAA0BC,IAA1B,CAA+BP,CAA/B,EAAkCQ,KAAlC,CAAwC,CAAxC,EAA2C,CAAC,CAA5C,CAAR;AACA,MAAIL,CAAC,KAAK,QAAN,IAAkBH,CAAC,CAACS,WAAxB,EAAqCN,CAAC,GAAGH,CAAC,CAACS,WAAF,CAAcC,IAAlB;AACrC,MAAIP,CAAC,KAAK,KAAN,IAAeA,CAAC,KAAK,KAAzB,EAAgC,OAAOL,KAAK,CAACa,IAAN,CAAWX,CAAX,CAAP;AAChC,MAAIG,CAAC,KAAK,WAAN,IAAqB,2CAA2CS,IAA3C,CAAgDT,CAAhD,CAAzB,EAA6E,OAAOD,iBAAgB,CAACF,CAAD,EAAIC,MAAJ,CAAvB;AAC9E;;;;"}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * tdesign v0.25.1
2
+ * tdesign v0.25.2
3
3
  * (c) 2022 tdesign
4
4
  * @license MIT
5
5
  */
6
6
 
7
- import { _ as _typeof } from './dep-c869a7bd.js';
8
- import './dep-f9242fec.js';
9
- import { _ as _baseGetTag } from './dep-fd49ee45.js';
10
- import { i as isObjectLike_1 } from './dep-c50b5bb9.js';
7
+ import { _ as _typeof } from './dep-e4bd3f59.js';
8
+ import './dep-04a6c042.js';
9
+ import { _ as _baseGetTag } from './dep-8aee3ad0.js';
10
+ import { i as isObjectLike_1 } from './dep-75144258.js';
11
11
 
12
12
  var baseGetTag = _baseGetTag,
13
13
  isObjectLike = isObjectLike_1;
@@ -39,4 +39,4 @@ function isSymbol(value) {
39
39
  var isSymbol_1 = isSymbol;
40
40
 
41
41
  export { isSymbol_1 as i };
42
- //# sourceMappingURL=dep-6d5c2511.js.map
42
+ //# sourceMappingURL=dep-660f1c88.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dep-6d5c2511.js","sources":["../../node_modules/lodash/isSymbol.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"names":["baseGetTag","require$$0","isObjectLike","require$$1","symbolTag","isSymbol","value","isSymbol_1"],"mappings":";;;;;;;;;;;AAAA,IAAIA,UAAU,GAAGC,WAAjB;AAAA,IACIC,YAAY,GAAGC,cADnB;AAGA;;AACA,IAAIC,SAAS,GAAG,iBAAhB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACvB,SAAO,QAAOA,KAAP,KAAgB,QAAhB,IACJJ,YAAY,CAACI,KAAD,CAAZ,IAAuBN,UAAU,CAACM,KAAD,CAAV,IAAqBF,SAD/C;AAED;;IAEDG,UAAc,GAAGF;;;;"}
1
+ {"version":3,"file":"dep-660f1c88.js","sources":["../../node_modules/lodash/isSymbol.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"names":["baseGetTag","require$$0","isObjectLike","require$$1","symbolTag","isSymbol","value","isSymbol_1"],"mappings":";;;;;;;;;;;AAAA,IAAIA,UAAU,GAAGC,WAAjB;AAAA,IACIC,YAAY,GAAGC,cADnB;AAGA;;AACA,IAAIC,SAAS,GAAG,iBAAhB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACvB,SAAO,QAAOA,KAAP,KAAgB,QAAhB,IACJJ,YAAY,CAACI,KAAD,CAAZ,IAAuBN,UAAU,CAACM,KAAD,CAAV,IAAqBF,SAD/C;AAED;;IAEDG,UAAc,GAAGF;;;;"}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * tdesign v0.25.1
2
+ * tdesign v0.25.2
3
3
  * (c) 2022 tdesign
4
4
  * @license MIT
5
5
  */
6
6
 
7
- import './dep-f9242fec.js';
8
- import { a as isObject_1 } from './dep-4979c2b8.js';
9
- import { b as _root } from './dep-fd49ee45.js';
10
- import { t as toNumber_1 } from './dep-91fd8fa6.js';
7
+ import './dep-04a6c042.js';
8
+ import { a as isObject_1 } from './dep-98412f1b.js';
9
+ import { b as _root } from './dep-8aee3ad0.js';
10
+ import { t as toNumber_1 } from './dep-bce06e2a.js';
11
11
 
12
12
  var root = _root;
13
13
  /**
@@ -228,4 +228,4 @@ function debounce(func, wait, options) {
228
228
  var debounce_1 = debounce;
229
229
 
230
230
  export { debounce_1 as d };
231
- //# sourceMappingURL=dep-0b34f475.js.map
231
+ //# sourceMappingURL=dep-6ad29962.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dep-0b34f475.js","sources":["../../node_modules/lodash/now.js","../../node_modules/lodash/debounce.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["root","require$$0","now","Date","now_1","isObject","require$$1","toNumber","require$$2","FUNC_ERROR_TEXT","nativeMax","Math","max","nativeMin","min","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","setTimeout","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","arguments","debounce_1"],"mappings":";;;;;;;;;;;AAAA,IAAIA,IAAI,GAAGC,KAAX;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIC,KAAG,GAAG,SAANA,GAAM,GAAW;AACnB,SAAOF,IAAI,CAACG,IAAL,CAAUD,GAAV,E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AD,CAAlB;AACD;;AACD,UAAIG,MAAJ,EAAY;;AAEVmB,QAAAA,YAAY,CAACvB,OAAD,CAAZ;AACAA,QAAAA,OAAO,GAAGc,UAAU,CAACC,YAAD,EAAerB,IAAf,CAApB;AACA,eAAOa,UAAU,CAACN,YAAD,CAAjB;AACD;AACF;;AACD,QAAID,OAAO,KAAKW,SAAhB,EAA2B;AACzBX,MAAAA,OAAO,GAAGc,UAAU,CAACC,YAAD,EAAerB,IAAf,CAApB;AACD;;AACD,WAAOK,MAAP;AACD;;AACD0B,EAAAA,SAAS,CAACH,MAAV,GAAmBA,MAAnB;AACAG,EAAAA,SAAS,CAACD,KAAV,GAAkBA,KAAlB;AACA,SAAOC,SAAP;AACD;;IAEDG,UAAc,GAAGpC;;;;"}
1
+ {"version":3,"file":"dep-6ad29962.js","sources":["../../node_modules/lodash/now.js","../../node_modules/lodash/debounce.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["root","require$$0","now","Date","now_1","isObject","require$$1","toNumber","require$$2","FUNC_ERROR_TEXT","nativeMax","Math","max","nativeMin","min","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","setTimeout","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","arguments","debounce_1"],"mappings":";;;;;;;;;;;AAAA,IAAIA,IAAI,GAAGC,KAAX;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIC,KAAG,GAAG,SAANA,GAAM,GAAW;AACnB,SAAOF,IAAI,CAACG,IAAL,CAAUD,GAAV,EAAP;AACD,CAFD;;IAIAE,KAAc,GAAGF;;ACtBjB,IAAIG,QAAQ,GAAGJ,UAAf;AAAA,IACIC,GAAG,GAAGI,KADV;AAAA,IAEIC,QAAQ,GAAGC,UAFf;AAIA;;AACA,IAAIC,eAAe,GAAG,qBAAtB;AAEA;;AACA,IAAIC,SAAS,GAAGC,IAAI,CAACC,GAArB;AAAA,IACIC,SAAS,GAAGF,IAAI,CAACG,GADrB;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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AAGpC;;;;"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * tdesign v0.25.2
3
+ * (c) 2022 tdesign
4
+ * @license MIT
5
+ */
6
+
7
+ import './dep-8a07113f.js';
8
+ //# sourceMappingURL=dep-6fb8cfe3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dep-6fb8cfe3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}