naive-ui 2.35.0 → 2.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2811) hide show
  1. package/README.md +3 -1
  2. package/README.zh-CN.md +1 -0
  3. package/dist/index.js +4201 -1563
  4. package/dist/index.prod.js +2 -2
  5. package/es/_internal/clear/index.mjs +1 -0
  6. package/es/_internal/clear/src/Clear.mjs +54 -0
  7. package/es/_internal/clear/src/styles/index.cssr.mjs +37 -0
  8. package/es/_internal/close/index.mjs +1 -0
  9. package/es/_internal/close/src/Close.mjs +61 -0
  10. package/es/_internal/close/src/styles/index.cssr.mjs +54 -0
  11. package/es/_internal/fade-in-expand-transition/index.mjs +1 -0
  12. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.mjs +110 -0
  13. package/es/_internal/focus-detector/index.mjs +2 -0
  14. package/es/_internal/focus-detector/src/FocusDetector.mjs +15 -0
  15. package/es/_internal/icon/index.mjs +1 -0
  16. package/es/_internal/icon/src/Icon.mjs +40 -0
  17. package/es/_internal/icon/src/styles/index.cssr.mjs +14 -0
  18. package/es/_internal/icon-switch-transition/index.mjs +1 -0
  19. package/es/_internal/icon-switch-transition/src/IconSwitchTransition.mjs +14 -0
  20. package/es/_internal/icons/Add.mjs +19 -0
  21. package/es/_internal/icons/ArrowBack.mjs +15 -0
  22. package/es/_internal/icons/ArrowDown.mjs +19 -0
  23. package/es/_internal/icons/ArrowUp.mjs +15 -0
  24. package/es/_internal/icons/Attach.mjs +17 -0
  25. package/es/_internal/icons/Backward.mjs +14 -0
  26. package/es/_internal/icons/Cancel.mjs +17 -0
  27. package/es/_internal/icons/Checkmark.mjs +15 -0
  28. package/es/_internal/icons/ChevronDown.mjs +14 -0
  29. package/es/_internal/icons/ChevronDownFilled.mjs +14 -0
  30. package/es/_internal/icons/ChevronLeft.mjs +14 -0
  31. package/es/_internal/icons/ChevronRight.mjs +14 -0
  32. package/es/_internal/icons/Clear.mjs +17 -0
  33. package/es/_internal/icons/Close.mjs +18 -0
  34. package/es/_internal/icons/Date.mjs +17 -0
  35. package/es/_internal/icons/Download.mjs +17 -0
  36. package/es/_internal/icons/Empty.mjs +17 -0
  37. package/es/_internal/icons/Error.mjs +15 -0
  38. package/es/_internal/icons/Eye.mjs +25 -0
  39. package/es/_internal/icons/EyeOff.mjs +25 -0
  40. package/es/_internal/icons/FastBackward.mjs +21 -0
  41. package/es/_internal/icons/FastForward.mjs +21 -0
  42. package/es/_internal/icons/File.mjs +21 -0
  43. package/es/_internal/icons/Filter.mjs +19 -0
  44. package/es/_internal/icons/Forward.mjs +14 -0
  45. package/es/_internal/icons/Info.mjs +15 -0
  46. package/es/_internal/icons/More.mjs +21 -0
  47. package/es/_internal/icons/Photo.mjs +29 -0
  48. package/es/_internal/icons/Remove.mjs +16 -0
  49. package/es/_internal/icons/ResizeSmall.mjs +15 -0
  50. package/es/_internal/icons/Retry.mjs +12 -0
  51. package/es/_internal/icons/RotateClockwise.mjs +13 -0
  52. package/es/_internal/icons/RotateCounterclockwise.mjs +13 -0
  53. package/es/_internal/icons/Search.mjs +14 -0
  54. package/es/_internal/icons/Success.mjs +15 -0
  55. package/es/_internal/icons/Switcher.mjs +12 -0
  56. package/es/_internal/icons/Time.mjs +12 -0
  57. package/es/_internal/icons/To.mjs +17 -0
  58. package/es/_internal/icons/Trash.mjs +29 -0
  59. package/es/_internal/icons/Warning.mjs +15 -0
  60. package/es/_internal/icons/ZoomIn.mjs +13 -0
  61. package/es/_internal/icons/ZoomOut.mjs +13 -0
  62. package/es/_internal/icons/index.mjs +42 -0
  63. package/es/_internal/icons/replaceable.mjs +18 -0
  64. package/es/_internal/index.mjs +14 -0
  65. package/es/_internal/loading/index.mjs +1 -0
  66. package/es/_internal/loading/src/Loading.mjs +105 -0
  67. package/es/_internal/loading/src/styles/index.cssr.mjs +34 -0
  68. package/es/_internal/menu-mask/index.mjs +1 -0
  69. package/es/_internal/menu-mask/src/MenuMask.mjs +47 -0
  70. package/es/_internal/menu-mask/src/interface.mjs +1 -0
  71. package/es/_internal/menu-mask/src/styles/index.cssr.mjs +15 -0
  72. package/es/_internal/scrollbar/index.mjs +1 -0
  73. package/es/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
  74. package/es/_internal/scrollbar/src/Scrollbar.mjs +749 -0
  75. package/es/_internal/scrollbar/src/styles/index.cssr.mjs +60 -0
  76. package/es/_internal/scrollbar/src/styles/rtl.cssr.mjs +10 -0
  77. package/es/_internal/scrollbar/styles/dark.mjs +8 -0
  78. package/es/_internal/scrollbar/styles/index.mjs +3 -0
  79. package/es/_internal/scrollbar/styles/light.mjs +17 -0
  80. package/es/_internal/scrollbar/styles/rtl.mjs +6 -0
  81. package/es/_internal/select-menu/index.mjs +1 -0
  82. package/es/_internal/select-menu/src/SelectGroupHeader.mjs +55 -0
  83. package/es/_internal/select-menu/src/SelectMenu.d.ts +6 -4
  84. package/es/_internal/select-menu/src/SelectMenu.mjs +503 -0
  85. package/es/_internal/select-menu/src/SelectOption.mjs +163 -0
  86. package/es/_internal/select-menu/src/interface.mjs +3 -0
  87. package/es/_internal/select-menu/src/styles/index.cssr.mjs +115 -0
  88. package/es/_internal/select-menu/src/styles/rtl.cssr.d.ts +2 -0
  89. package/es/_internal/select-menu/src/styles/rtl.cssr.mjs +10 -0
  90. package/es/_internal/select-menu/styles/_common.mjs +12 -0
  91. package/es/_internal/select-menu/styles/dark.mjs +14 -0
  92. package/es/_internal/select-menu/styles/index.d.ts +1 -0
  93. package/es/_internal/select-menu/styles/index.mjs +3 -0
  94. package/es/_internal/select-menu/styles/light.mjs +62 -0
  95. package/es/_internal/select-menu/styles/rtl.d.ts +2 -0
  96. package/es/_internal/select-menu/styles/rtl.mjs +5 -0
  97. package/es/_internal/selection/index.mjs +1 -0
  98. package/es/_internal/selection/src/Selection.d.ts +17 -4
  99. package/es/_internal/selection/src/Selection.mjs +807 -0
  100. package/es/_internal/selection/src/interface.mjs +1 -0
  101. package/es/_internal/selection/src/styles/index.cssr.mjs +229 -0
  102. package/es/_internal/selection/src/styles/rtl.cssr.d.ts +2 -0
  103. package/es/_internal/selection/src/styles/rtl.cssr.mjs +9 -0
  104. package/es/_internal/selection/styles/_common.mjs +6 -0
  105. package/es/_internal/selection/styles/dark.mjs +113 -0
  106. package/es/_internal/selection/styles/index.d.ts +1 -0
  107. package/es/_internal/selection/styles/index.mjs +3 -0
  108. package/es/_internal/selection/styles/light.mjs +110 -0
  109. package/es/_internal/selection/styles/rtl.d.ts +2 -0
  110. package/es/_internal/selection/styles/rtl.mjs +5 -0
  111. package/es/_internal/slot-machine/index.mjs +1 -0
  112. package/es/_internal/slot-machine/src/SlotMachine.mjs +91 -0
  113. package/es/_internal/slot-machine/src/SlotMachineNumber.mjs +81 -0
  114. package/es/_internal/slot-machine/src/styles/index.cssr.mjs +101 -0
  115. package/es/_internal/suffix/index.mjs +1 -0
  116. package/es/_internal/suffix/src/Suffix.mjs +57 -0
  117. package/es/_internal/wave/index.mjs +1 -0
  118. package/es/_internal/wave/src/Wave.mjs +54 -0
  119. package/es/_internal/wave/src/styles/index.cssr.mjs +9 -0
  120. package/es/_mixins/common.mjs +1 -0
  121. package/es/_mixins/index.mjs +8 -0
  122. package/es/_mixins/use-config.mjs +29 -0
  123. package/es/_mixins/use-css-vars-class.mjs +54 -0
  124. package/es/_mixins/use-form-item.mjs +75 -0
  125. package/es/_mixins/use-hljs.mjs +25 -0
  126. package/es/_mixins/use-locale.mjs +21 -0
  127. package/es/_mixins/use-rtl.mjs +52 -0
  128. package/es/_mixins/use-style.mjs +39 -0
  129. package/es/_mixins/use-theme.mjs +132 -0
  130. package/es/_styles/common/_common.mjs +26 -0
  131. package/es/_styles/common/dark.mjs +169 -0
  132. package/es/_styles/common/index.mjs +2 -0
  133. package/es/_styles/common/light.mjs +177 -0
  134. package/es/_styles/global/index.cssr.mjs +28 -0
  135. package/es/_styles/transitions/fade-down.cssr.mjs +25 -0
  136. package/es/_styles/transitions/fade-in-height-expand.cssr.mjs +51 -0
  137. package/es/_styles/transitions/fade-in-scale-up.cssr.mjs +27 -0
  138. package/es/_styles/transitions/fade-in-width-expand.cssr.mjs +31 -0
  139. package/es/_styles/transitions/fade-in.cssr.mjs +22 -0
  140. package/es/_styles/transitions/fade-up-width-expand.cssr.mjs +36 -0
  141. package/es/_styles/transitions/icon-switch.cssr.mjs +29 -0
  142. package/es/_styles/transitions/slide-in-from-bottom.mjs +25 -0
  143. package/es/_styles/transitions/slide-in-from-left.mjs +25 -0
  144. package/es/_styles/transitions/slide-in-from-right.mjs +25 -0
  145. package/es/_styles/transitions/slide-in-from-top.mjs +25 -0
  146. package/es/_utils/color/index.mjs +7 -0
  147. package/es/_utils/composable/index.mjs +8 -0
  148. package/es/_utils/composable/use-adjusted-to.mjs +52 -0
  149. package/es/_utils/composable/use-browser-location.mjs +45 -0
  150. package/es/_utils/composable/use-collection.d.ts +1 -1
  151. package/es/_utils/composable/use-collection.mjs +77 -0
  152. package/es/_utils/composable/use-deferred-true.mjs +21 -0
  153. package/es/_utils/composable/use-houdini.mjs +26 -0
  154. package/es/_utils/composable/use-is-composing.mjs +31 -0
  155. package/es/_utils/composable/use-lock-html-scroll.mjs +61 -0
  156. package/es/_utils/composable/use-reactivated.mjs +22 -0
  157. package/es/_utils/composable/use-resize.mjs +23 -0
  158. package/es/_utils/css/color-to-class.mjs +3 -0
  159. package/es/_utils/css/format-length.mjs +28 -0
  160. package/es/_utils/css/index.d.ts +1 -0
  161. package/es/_utils/css/index.mjs +3 -0
  162. package/es/_utils/css/rtl-inset.d.ts +1 -0
  163. package/es/_utils/css/rtl-inset.mjs +10 -0
  164. package/es/_utils/cssr/index.d.ts +2 -2
  165. package/es/_utils/cssr/index.mjs +54 -0
  166. package/es/_utils/dom/download.d.ts +1 -0
  167. package/es/_utils/dom/download.mjs +11 -0
  168. package/es/_utils/dom/index.d.ts +1 -0
  169. package/es/_utils/dom/index.mjs +2 -0
  170. package/es/_utils/dom/is-document.mjs +3 -0
  171. package/es/_utils/env/browser.mjs +4 -0
  172. package/es/_utils/env/is-browser.mjs +1 -0
  173. package/es/_utils/env/is-jsdom.mjs +7 -0
  174. package/es/_utils/env/is-native-lazy-load.mjs +2 -0
  175. package/es/_utils/event/index.mjs +7 -0
  176. package/es/_utils/index.d.ts +1 -1
  177. package/es/_utils/index.mjs +9 -0
  178. package/es/_utils/naive/attribute.mjs +11 -0
  179. package/es/_utils/naive/extract-public-props.mjs +1 -0
  180. package/es/_utils/naive/index.mjs +3 -0
  181. package/es/_utils/naive/mutable.mjs +1 -0
  182. package/es/_utils/naive/prop.mjs +27 -0
  183. package/es/_utils/naive/warn.mjs +13 -0
  184. package/es/_utils/vue/call.mjs +6 -0
  185. package/es/_utils/vue/create-data-key.mjs +3 -0
  186. package/es/_utils/vue/create-injection-key.mjs +3 -0
  187. package/es/_utils/vue/create-ref-setter.mjs +9 -0
  188. package/es/_utils/vue/flatten.mjs +28 -0
  189. package/es/_utils/vue/get-first-slot-vnode.mjs +17 -0
  190. package/es/_utils/vue/get-slot.mjs +6 -0
  191. package/es/_utils/vue/get-v-node-children.mjs +12 -0
  192. package/es/_utils/vue/index.mjs +16 -0
  193. package/es/_utils/vue/is-node-v-show-false.mjs +8 -0
  194. package/es/_utils/vue/keep.mjs +7 -0
  195. package/es/_utils/vue/keysOf.mjs +3 -0
  196. package/es/_utils/vue/merge-handlers.mjs +13 -0
  197. package/es/_utils/vue/omit.mjs +10 -0
  198. package/es/_utils/vue/render.mjs +12 -0
  199. package/es/_utils/vue/resolve-slot.mjs +41 -0
  200. package/es/_utils/vue/wrapper.mjs +7 -0
  201. package/es/affix/index.mjs +1 -0
  202. package/es/affix/src/Affix.d.ts +8 -8
  203. package/es/affix/src/Affix.mjs +180 -0
  204. package/es/affix/src/styles/index.cssr.mjs +6 -0
  205. package/es/affix/src/utils.mjs +9 -0
  206. package/es/alert/index.mjs +1 -0
  207. package/es/alert/src/Alert.mjs +202 -0
  208. package/es/alert/src/styles/index.cssr.mjs +103 -0
  209. package/es/alert/src/styles/rtl.cssr.mjs +16 -0
  210. package/es/alert/styles/_common.mjs +10 -0
  211. package/es/alert/styles/dark.mjs +102 -0
  212. package/es/alert/styles/index.mjs +3 -0
  213. package/es/alert/styles/light.mjs +104 -0
  214. package/es/alert/styles/rtl.mjs +5 -0
  215. package/es/anchor/index.mjs +2 -0
  216. package/es/anchor/src/AnchorAdapter.d.ts +7 -7
  217. package/es/anchor/src/AnchorAdapter.mjs +81 -0
  218. package/es/anchor/src/BaseAnchor.mjs +280 -0
  219. package/es/anchor/src/Link.mjs +51 -0
  220. package/es/anchor/src/styles/index.cssr.mjs +89 -0
  221. package/es/anchor/src/utils.mjs +11 -0
  222. package/es/anchor/styles/_common.mjs +5 -0
  223. package/es/anchor/styles/dark.mjs +8 -0
  224. package/es/anchor/styles/index.mjs +2 -0
  225. package/es/anchor/styles/light.mjs +31 -0
  226. package/es/auto-complete/index.mjs +1 -0
  227. package/es/auto-complete/src/AutoComplete.d.ts +2 -1
  228. package/es/auto-complete/src/AutoComplete.mjs +388 -0
  229. package/es/auto-complete/src/interface.mjs +1 -0
  230. package/es/auto-complete/src/styles/index.cssr.mjs +16 -0
  231. package/es/auto-complete/src/utils.mjs +23 -0
  232. package/es/auto-complete/styles/dark.mjs +14 -0
  233. package/es/auto-complete/styles/index.mjs +2 -0
  234. package/es/auto-complete/styles/light.mjs +22 -0
  235. package/es/avatar/index.mjs +1 -0
  236. package/es/avatar/src/Avatar.d.ts +1 -1
  237. package/es/avatar/src/Avatar.mjs +292 -0
  238. package/es/avatar/src/context.mjs +2 -0
  239. package/es/avatar/src/interface.mjs +1 -0
  240. package/es/avatar/src/styles/index.cssr.mjs +39 -0
  241. package/es/avatar/styles/dark.mjs +8 -0
  242. package/es/avatar/styles/index.mjs +2 -0
  243. package/es/avatar/styles/light.mjs +36 -0
  244. package/es/avatar-group/index.mjs +1 -0
  245. package/es/avatar-group/src/AvatarGroup.d.ts +4 -0
  246. package/es/avatar-group/src/AvatarGroup.mjs +95 -0
  247. package/es/avatar-group/src/styles/avatar-group-rtl.cssr.mjs +10 -0
  248. package/es/avatar-group/src/styles/avatar-group.cssr.mjs +21 -0
  249. package/es/avatar-group/styles/dark.mjs +12 -0
  250. package/es/avatar-group/styles/index.mjs +3 -0
  251. package/es/avatar-group/styles/light.mjs +17 -0
  252. package/es/avatar-group/styles/rtl.mjs +5 -0
  253. package/es/back-top/index.mjs +1 -0
  254. package/es/back-top/src/BackTop.mjs +245 -0
  255. package/es/back-top/src/BackTopIcon.mjs +26 -0
  256. package/es/back-top/src/styles/index.cssr.mjs +51 -0
  257. package/es/back-top/styles/_common.mjs +6 -0
  258. package/es/back-top/styles/dark.mjs +25 -0
  259. package/es/back-top/styles/index.mjs +2 -0
  260. package/es/back-top/styles/light.mjs +26 -0
  261. package/es/badge/index.mjs +1 -0
  262. package/es/badge/src/Badge.mjs +150 -0
  263. package/es/badge/src/styles/index.cssr.mjs +79 -0
  264. package/es/badge/src/styles/rtl.cssr.mjs +9 -0
  265. package/es/badge/styles/dark.mjs +24 -0
  266. package/es/badge/styles/index.mjs +3 -0
  267. package/es/badge/styles/light.mjs +25 -0
  268. package/es/badge/styles/rtl.mjs +5 -0
  269. package/es/breadcrumb/index.mjs +2 -0
  270. package/es/breadcrumb/src/Breadcrumb.mjs +77 -0
  271. package/es/breadcrumb/src/BreadcrumbItem.mjs +54 -0
  272. package/es/breadcrumb/src/styles/index.cssr.mjs +72 -0
  273. package/es/breadcrumb/styles/_common.mjs +3 -0
  274. package/es/breadcrumb/styles/dark.mjs +8 -0
  275. package/es/breadcrumb/styles/index.mjs +2 -0
  276. package/es/breadcrumb/styles/light.mjs +30 -0
  277. package/es/button/index.mjs +1 -0
  278. package/es/button/src/Button.d.ts +1 -1
  279. package/es/button/src/Button.mjs +507 -0
  280. package/es/button/src/interface.mjs +1 -0
  281. package/es/button/src/styles/index.cssr.mjs +189 -0
  282. package/es/button/src/styles/rtl.cssr.mjs +10 -0
  283. package/es/button/styles/_common.mjs +19 -0
  284. package/es/button/styles/dark.mjs +15 -0
  285. package/es/button/styles/index.mjs +3 -0
  286. package/es/button/styles/light.mjs +242 -0
  287. package/es/button/styles/rtl.mjs +5 -0
  288. package/es/button-group/index.mjs +1 -0
  289. package/es/button-group/src/ButtonGroup.mjs +38 -0
  290. package/es/button-group/src/context.mjs +2 -0
  291. package/es/button-group/src/styles/index.cssr.mjs +53 -0
  292. package/es/button-group/src/styles/rtl.cssr.mjs +24 -0
  293. package/es/button-group/styles/dark.mjs +6 -0
  294. package/es/button-group/styles/index.mjs +3 -0
  295. package/es/button-group/styles/light.mjs +6 -0
  296. package/es/button-group/styles/rtl.mjs +5 -0
  297. package/es/calendar/index.mjs +1 -0
  298. package/es/calendar/src/Calendar.d.ts +2 -0
  299. package/es/calendar/src/Calendar.mjs +298 -0
  300. package/es/calendar/src/interface.mjs +1 -0
  301. package/es/calendar/src/styles/index.cssr.mjs +137 -0
  302. package/es/calendar/styles/_common.mjs +3 -0
  303. package/es/calendar/styles/dark.mjs +12 -0
  304. package/es/calendar/styles/index.mjs +2 -0
  305. package/es/calendar/styles/light.mjs +53 -0
  306. package/es/card/index.mjs +1 -0
  307. package/es/card/src/Card.d.ts +17 -1
  308. package/es/card/src/Card.mjs +204 -0
  309. package/es/card/src/styles/index.cssr.mjs +134 -0
  310. package/es/card/src/styles/rtl.cssr.mjs +6 -0
  311. package/es/card/styles/_common.mjs +12 -0
  312. package/es/card/styles/dark.mjs +19 -0
  313. package/es/card/styles/index.mjs +3 -0
  314. package/es/card/styles/light.mjs +57 -0
  315. package/es/card/styles/rtl.mjs +5 -0
  316. package/es/carousel/index.mjs +2 -0
  317. package/es/carousel/src/Carousel.d.ts +5 -6
  318. package/es/carousel/src/Carousel.mjs +885 -0
  319. package/es/carousel/src/CarouselArrow.mjs +60 -0
  320. package/es/carousel/src/CarouselContext.mjs +13 -0
  321. package/es/carousel/src/CarouselDots.mjs +128 -0
  322. package/es/carousel/src/CarouselItem.mjs +88 -0
  323. package/es/carousel/src/interface.mjs +1 -0
  324. package/es/carousel/src/styles/index.cssr.mjs +232 -0
  325. package/es/carousel/src/utils/duplicatedLogic.d.ts +1 -1
  326. package/es/carousel/src/utils/duplicatedLogic.mjs +41 -0
  327. package/es/carousel/src/utils/event.mjs +3 -0
  328. package/es/carousel/src/utils/index.mjs +31 -0
  329. package/es/carousel/styles/dark.mjs +8 -0
  330. package/es/carousel/styles/index.mjs +2 -0
  331. package/es/carousel/styles/light.mjs +18 -0
  332. package/es/cascader/index.mjs +1 -0
  333. package/es/cascader/src/Cascader.d.ts +5 -1
  334. package/es/cascader/src/Cascader.mjs +1097 -0
  335. package/es/cascader/src/CascaderMenu.mjs +162 -0
  336. package/es/cascader/src/CascaderOption.mjs +249 -0
  337. package/es/cascader/src/CascaderSelectMenu.mjs +181 -0
  338. package/es/cascader/src/CascaderSubmenu.d.ts +1 -1
  339. package/es/cascader/src/CascaderSubmenu.mjs +99 -0
  340. package/es/cascader/src/interface.mjs +2 -0
  341. package/es/cascader/src/styles/index.cssr.mjs +133 -0
  342. package/es/cascader/src/utils.mjs +41 -0
  343. package/es/cascader/styles/dark.mjs +20 -0
  344. package/es/cascader/styles/index.mjs +2 -0
  345. package/es/cascader/styles/light.mjs +52 -0
  346. package/es/checkbox/index.mjs +2 -0
  347. package/es/checkbox/src/CheckMark.mjs +7 -0
  348. package/es/checkbox/src/Checkbox.d.ts +6 -6
  349. package/es/checkbox/src/Checkbox.mjs +337 -0
  350. package/es/checkbox/src/CheckboxGroup.mjs +168 -0
  351. package/es/checkbox/src/LineMark.mjs +7 -0
  352. package/es/checkbox/src/interface.mjs +1 -0
  353. package/es/checkbox/src/styles/index.cssr.mjs +150 -0
  354. package/es/checkbox/src/styles/rtl.cssr.mjs +4 -0
  355. package/es/checkbox/styles/_common.mjs +7 -0
  356. package/es/checkbox/styles/dark.mjs +16 -0
  357. package/es/checkbox/styles/index.mjs +3 -0
  358. package/es/checkbox/styles/light.mjs +54 -0
  359. package/es/checkbox/styles/rtl.mjs +5 -0
  360. package/es/code/index.mjs +1 -0
  361. package/es/code/src/Code.mjs +195 -0
  362. package/es/code/src/styles/index.cssr.mjs +96 -0
  363. package/es/code/styles/dark.mjs +31 -0
  364. package/es/code/styles/index.mjs +2 -0
  365. package/es/code/styles/light.mjs +32 -0
  366. package/es/collapse/index.mjs +2 -0
  367. package/es/collapse/src/Collapse.mjs +196 -0
  368. package/es/collapse/src/CollapseItem.mjs +128 -0
  369. package/es/collapse/src/CollapseItemContent.mjs +42 -0
  370. package/es/collapse/src/interface.mjs +1 -0
  371. package/es/collapse/src/styles/index.cssr.mjs +59 -0
  372. package/es/collapse/src/styles/rtl.cssr.mjs +15 -0
  373. package/es/collapse/styles/dark.mjs +8 -0
  374. package/es/collapse/styles/index.mjs +3 -0
  375. package/es/collapse/styles/light.mjs +30 -0
  376. package/es/collapse/styles/rtl.mjs +5 -0
  377. package/es/collapse-transition/index.mjs +1 -0
  378. package/es/collapse-transition/src/CollapseTransition.mjs +86 -0
  379. package/es/collapse-transition/src/styles/index.cssr.mjs +5 -0
  380. package/es/collapse-transition/src/styles/rtl.cssr.mjs +5 -0
  381. package/es/collapse-transition/styles/dark.mjs +8 -0
  382. package/es/collapse-transition/styles/index.mjs +3 -0
  383. package/es/collapse-transition/styles/light.mjs +15 -0
  384. package/es/collapse-transition/styles/rtl.mjs +5 -0
  385. package/es/color-picker/index.mjs +1 -0
  386. package/es/color-picker/src/AlphaSlider.mjs +122 -0
  387. package/es/color-picker/src/ColorInput.mjs +120 -0
  388. package/es/color-picker/src/ColorInputUnit.mjs +160 -0
  389. package/es/color-picker/src/ColorPicker.mjs +618 -0
  390. package/es/color-picker/src/ColorPickerSwatches.mjs +110 -0
  391. package/es/color-picker/src/ColorPickerTrigger.mjs +61 -0
  392. package/es/color-picker/src/ColorPreview.mjs +57 -0
  393. package/es/color-picker/src/HueSlider.mjs +104 -0
  394. package/es/color-picker/src/Pallete.mjs +111 -0
  395. package/es/color-picker/src/context.mjs +2 -0
  396. package/es/color-picker/src/interface.mjs +1 -0
  397. package/es/color-picker/src/styles/index.cssr.mjs +193 -0
  398. package/es/color-picker/src/utils.mjs +101 -0
  399. package/es/color-picker/styles/dark.mjs +14 -0
  400. package/es/color-picker/styles/index.mjs +2 -0
  401. package/es/color-picker/styles/light.mjs +46 -0
  402. package/es/components.d.ts +4 -0
  403. package/es/components.mjs +93 -0
  404. package/es/composables/index.mjs +1 -0
  405. package/es/composables/use-theme-vars.mjs +23 -0
  406. package/es/config-provider/index.mjs +2 -0
  407. package/es/config-provider/src/ConfigProvider.d.ts +9 -0
  408. package/es/config-provider/src/ConfigProvider.mjs +214 -0
  409. package/es/config-provider/src/config.mjs +13 -0
  410. package/es/config-provider/src/context.mjs +2 -0
  411. package/es/config-provider/src/interface.mjs +1 -0
  412. package/es/config-provider/src/internal-interface.d.ts +6 -0
  413. package/es/config-provider/src/internal-interface.mjs +1 -0
  414. package/es/config-provider/src/katex.mjs +1 -0
  415. package/es/countdown/index.mjs +1 -0
  416. package/es/countdown/src/Countdown.mjs +167 -0
  417. package/es/create.mjs +35 -0
  418. package/es/data-table/index.mjs +2 -0
  419. package/es/data-table/src/DataTable.d.ts +6 -4
  420. package/es/data-table/src/DataTable.mjs +436 -0
  421. package/es/data-table/src/HeaderButton/FilterButton.mjs +162 -0
  422. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +1 -1
  423. package/es/data-table/src/HeaderButton/FilterMenu.mjs +180 -0
  424. package/es/data-table/src/HeaderButton/RenderFilter.mjs +29 -0
  425. package/es/data-table/src/HeaderButton/RenderSorter.mjs +24 -0
  426. package/es/data-table/src/HeaderButton/ResizeButton.mjs +64 -0
  427. package/es/data-table/src/HeaderButton/SortButton.mjs +70 -0
  428. package/es/data-table/src/MainTable.mjs +110 -0
  429. package/es/data-table/src/TableParts/Body.d.ts +4 -4
  430. package/es/data-table/src/TableParts/Body.mjs +797 -0
  431. package/es/data-table/src/TableParts/BodyCheckbox.mjs +40 -0
  432. package/es/data-table/src/TableParts/BodyRadio.mjs +39 -0
  433. package/es/data-table/src/TableParts/Cell.mjs +81 -0
  434. package/es/data-table/src/TableParts/ExpandTrigger.mjs +50 -0
  435. package/es/data-table/src/TableParts/Header.mjs +236 -0
  436. package/es/data-table/src/TableParts/SelectionMenu.mjs +87 -0
  437. package/es/data-table/src/interface.d.ts +6 -1
  438. package/es/data-table/src/interface.mjs +116 -0
  439. package/es/data-table/src/styles/index.cssr.mjs +433 -0
  440. package/es/data-table/src/styles/rtl.cssr.d.ts +2 -0
  441. package/es/data-table/src/styles/rtl.cssr.mjs +18 -0
  442. package/es/data-table/src/use-check.mjs +172 -0
  443. package/es/data-table/src/use-expand.mjs +60 -0
  444. package/es/data-table/src/use-group-header.mjs +102 -0
  445. package/es/data-table/src/use-resizable.mjs +22 -0
  446. package/es/data-table/src/use-scroll.mjs +231 -0
  447. package/es/data-table/src/use-sorter.mjs +189 -0
  448. package/es/data-table/src/use-table-data.mjs +352 -0
  449. package/es/data-table/src/utils.d.ts +2 -1
  450. package/es/data-table/src/utils.mjs +135 -0
  451. package/es/data-table/styles/_common.mjs +16 -0
  452. package/es/data-table/styles/dark.mjs +33 -0
  453. package/es/data-table/styles/index.d.ts +1 -0
  454. package/es/data-table/styles/index.mjs +3 -0
  455. package/es/data-table/styles/light.mjs +93 -0
  456. package/es/data-table/styles/rtl.d.ts +2 -0
  457. package/es/data-table/styles/rtl.mjs +8 -0
  458. package/es/date-picker/index.mjs +1 -0
  459. package/es/date-picker/src/DatePicker.d.ts +82 -4
  460. package/es/date-picker/src/DatePicker.mjs +1013 -0
  461. package/es/date-picker/src/config.d.ts +1 -1
  462. package/es/date-picker/src/config.mjs +3 -0
  463. package/es/date-picker/src/interface.d.ts +3 -0
  464. package/es/date-picker/src/interface.mjs +2 -0
  465. package/es/date-picker/src/panel/date.d.ts +83 -42
  466. package/es/date-picker/src/panel/date.mjs +143 -0
  467. package/es/date-picker/src/panel/daterange.d.ts +14 -2
  468. package/es/date-picker/src/panel/daterange.mjs +194 -0
  469. package/es/date-picker/src/panel/datetime.d.ts +16 -2
  470. package/es/date-picker/src/panel/datetime.mjs +164 -0
  471. package/es/date-picker/src/panel/datetimerange.d.ts +14 -2
  472. package/es/date-picker/src/panel/datetimerange.mjs +259 -0
  473. package/es/date-picker/src/panel/month.d.ts +17 -3
  474. package/es/date-picker/src/panel/month.mjs +180 -0
  475. package/es/date-picker/src/panel/monthrange.d.ts +15 -3
  476. package/es/date-picker/src/panel/monthrange.mjs +206 -0
  477. package/es/date-picker/src/panel/panelHeader.d.ts +744 -773
  478. package/es/date-picker/src/panel/panelHeader.mjs +89 -0
  479. package/es/date-picker/src/panel/use-calendar.d.ts +13 -3
  480. package/es/date-picker/src/panel/use-calendar.mjs +386 -0
  481. package/es/date-picker/src/panel/use-dual-calendar.d.ts +10 -2
  482. package/es/date-picker/src/panel/use-dual-calendar.mjs +694 -0
  483. package/es/date-picker/src/panel/use-panel-common.d.ts +8 -0
  484. package/es/date-picker/src/panel/use-panel-common.mjs +174 -0
  485. package/es/date-picker/src/styles/index.cssr.mjs +388 -0
  486. package/es/date-picker/src/utils.d.ts +18 -5
  487. package/es/date-picker/src/utils.mjs +244 -0
  488. package/es/date-picker/src/validation-utils.mjs +206 -0
  489. package/es/date-picker/styles/_common.d.ts +2 -0
  490. package/es/date-picker/styles/_common.mjs +39 -0
  491. package/es/date-picker/styles/dark.mjs +32 -0
  492. package/es/date-picker/styles/index.mjs +2 -0
  493. package/es/date-picker/styles/light.d.ts +4 -0
  494. package/es/date-picker/styles/light.mjs +70 -0
  495. package/es/descriptions/index.mjs +2 -0
  496. package/es/descriptions/src/Descriptions.d.ts +7 -1
  497. package/es/descriptions/src/Descriptions.mjs +229 -0
  498. package/es/descriptions/src/DescriptionsItem.d.ts +6 -0
  499. package/es/descriptions/src/DescriptionsItem.mjs +21 -0
  500. package/es/descriptions/src/styles/index.cssr.mjs +119 -0
  501. package/es/descriptions/src/utils.mjs +7 -0
  502. package/es/descriptions/styles/_common.mjs +14 -0
  503. package/es/descriptions/styles/dark.mjs +8 -0
  504. package/es/descriptions/styles/index.mjs +2 -0
  505. package/es/descriptions/styles/light.mjs +46 -0
  506. package/es/dialog/index.mjs +4 -0
  507. package/es/dialog/src/Dialog.d.ts +5 -1
  508. package/es/dialog/src/Dialog.mjs +212 -0
  509. package/es/dialog/src/DialogEnvironment.d.ts +1 -1
  510. package/es/dialog/src/DialogEnvironment.mjs +172 -0
  511. package/es/dialog/src/DialogProvider.d.ts +5 -5
  512. package/es/dialog/src/DialogProvider.mjs +81 -0
  513. package/es/dialog/src/composables.mjs +17 -0
  514. package/es/dialog/src/context.mjs +4 -0
  515. package/es/dialog/src/dialogProps.d.ts +1 -1
  516. package/es/dialog/src/dialogProps.mjs +31 -0
  517. package/es/dialog/src/interface.mjs +1 -0
  518. package/es/dialog/src/styles/index.cssr.mjs +100 -0
  519. package/es/dialog/src/styles/rtl.cssr.d.ts +2 -0
  520. package/es/dialog/src/styles/rtl.cssr.mjs +18 -0
  521. package/es/dialog/styles/_common.mjs +13 -0
  522. package/es/dialog/styles/dark.mjs +12 -0
  523. package/es/dialog/styles/index.d.ts +1 -0
  524. package/es/dialog/styles/index.mjs +3 -0
  525. package/es/dialog/styles/light.mjs +56 -0
  526. package/es/dialog/styles/rtl.d.ts +2 -0
  527. package/es/dialog/styles/rtl.mjs +5 -0
  528. package/es/discrete/index.mjs +1 -0
  529. package/es/discrete/src/InjectionExtractor.mjs +17 -0
  530. package/es/discrete/src/discrete.mjs +51 -0
  531. package/es/discrete/src/discreteApp.mjs +58 -0
  532. package/es/discrete/src/interface.mjs +1 -0
  533. package/es/divider/index.mjs +1 -0
  534. package/es/divider/src/Divider.mjs +76 -0
  535. package/es/divider/src/styles/index.cssr.mjs +58 -0
  536. package/es/divider/styles/dark.mjs +8 -0
  537. package/es/divider/styles/index.mjs +2 -0
  538. package/es/divider/styles/light.mjs +19 -0
  539. package/es/drawer/index.mjs +2 -0
  540. package/es/drawer/src/Drawer.d.ts +4 -1
  541. package/es/drawer/src/Drawer.mjs +326 -0
  542. package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -0
  543. package/es/drawer/src/DrawerBodyWrapper.mjs +266 -0
  544. package/es/drawer/src/DrawerContent.d.ts +15 -9
  545. package/es/drawer/src/DrawerContent.mjs +97 -0
  546. package/es/drawer/src/interface.mjs +3 -0
  547. package/es/drawer/src/styles/index.cssr.mjs +163 -0
  548. package/es/drawer/src/styles/rtl.cssr.mjs +8 -0
  549. package/es/drawer/styles/dark.mjs +12 -0
  550. package/es/drawer/styles/index.mjs +3 -0
  551. package/es/drawer/styles/light.mjs +53 -0
  552. package/es/drawer/styles/rtl.mjs +8 -0
  553. package/es/dropdown/index.mjs +1 -0
  554. package/es/dropdown/src/Dropdown.d.ts +18 -0
  555. package/es/dropdown/src/Dropdown.mjs +374 -0
  556. package/es/dropdown/src/DropdownDivider.mjs +15 -0
  557. package/es/dropdown/src/DropdownGroup.mjs +60 -0
  558. package/es/dropdown/src/DropdownGroupHeader.mjs +74 -0
  559. package/es/dropdown/src/DropdownMenu.mjs +137 -0
  560. package/es/dropdown/src/DropdownOption.d.ts +5 -4
  561. package/es/dropdown/src/DropdownOption.mjs +299 -0
  562. package/es/dropdown/src/DropdownRenderOption.mjs +19 -0
  563. package/es/dropdown/src/context.mjs +4 -0
  564. package/es/dropdown/src/interface.mjs +1 -0
  565. package/es/dropdown/src/styles/index.cssr.mjs +143 -0
  566. package/es/dropdown/src/utils.mjs +12 -0
  567. package/es/dropdown/styles/_common.mjs +23 -0
  568. package/es/dropdown/styles/dark.mjs +27 -0
  569. package/es/dropdown/styles/index.mjs +2 -0
  570. package/es/dropdown/styles/light.mjs +73 -0
  571. package/es/dynamic-input/index.mjs +1 -0
  572. package/es/dynamic-input/src/DynamicInput.d.ts +3 -0
  573. package/es/dynamic-input/src/DynamicInput.mjs +410 -0
  574. package/es/dynamic-input/src/InputPreset.mjs +54 -0
  575. package/es/dynamic-input/src/PairPreset.mjs +80 -0
  576. package/es/dynamic-input/src/interface.mjs +2 -0
  577. package/es/dynamic-input/src/styles/index.cssr.mjs +35 -0
  578. package/es/dynamic-input/src/styles/rtl.cssr.mjs +9 -0
  579. package/es/dynamic-input/styles/_common.mjs +4 -0
  580. package/es/dynamic-input/styles/dark.mjs +16 -0
  581. package/es/dynamic-input/styles/index.mjs +3 -0
  582. package/es/dynamic-input/styles/light.mjs +18 -0
  583. package/es/dynamic-input/styles/rtl.mjs +11 -0
  584. package/es/dynamic-tags/index.mjs +1 -0
  585. package/es/dynamic-tags/src/DynamicTags.d.ts +9 -12
  586. package/es/dynamic-tags/src/DynamicTags.mjs +265 -0
  587. package/es/dynamic-tags/src/interface.mjs +1 -0
  588. package/es/dynamic-tags/src/styles/index.cssr.mjs +6 -0
  589. package/es/dynamic-tags/styles/dark.mjs +21 -0
  590. package/es/dynamic-tags/styles/index.mjs +2 -0
  591. package/es/dynamic-tags/styles/light.d.ts +0 -1
  592. package/es/dynamic-tags/styles/light.mjs +22 -0
  593. package/es/element/index.mjs +2 -0
  594. package/es/element/src/Element.mjs +55 -0
  595. package/es/element/styles/dark.mjs +6 -0
  596. package/es/element/styles/index.mjs +2 -0
  597. package/es/element/styles/light.mjs +6 -0
  598. package/es/ellipsis/index.mjs +2 -0
  599. package/es/ellipsis/src/Ellipsis.mjs +184 -0
  600. package/es/ellipsis/src/PerformantEllipsis.mjs +48 -0
  601. package/es/ellipsis/src/styles/index.cssr.mjs +14 -0
  602. package/es/ellipsis/styles/dark.mjs +10 -0
  603. package/es/ellipsis/styles/index.mjs +2 -0
  604. package/es/ellipsis/styles/light.mjs +11 -0
  605. package/es/empty/index.mjs +1 -0
  606. package/es/empty/src/Empty.mjs +112 -0
  607. package/es/empty/src/styles/index.cssr.mjs +32 -0
  608. package/es/empty/styles/_common.mjs +6 -0
  609. package/es/empty/styles/dark.mjs +8 -0
  610. package/es/empty/styles/index.mjs +2 -0
  611. package/es/empty/styles/light.mjs +28 -0
  612. package/es/equation/index.d.ts +1 -0
  613. package/es/equation/index.mjs +1 -0
  614. package/es/equation/src/Equation.d.ts +2 -0
  615. package/es/equation/src/Equation.mjs +40 -0
  616. package/es/equation/styles/dark.mjs +8 -0
  617. package/es/equation/styles/index.mjs +2 -0
  618. package/es/equation/styles/light.mjs +8 -0
  619. package/es/flex/index.d.ts +3 -0
  620. package/es/flex/index.mjs +1 -0
  621. package/es/flex/src/Flex.d.ts +116 -0
  622. package/es/flex/src/Flex.mjs +101 -0
  623. package/es/flex/src/styles/rtl.cssr.d.ts +2 -0
  624. package/es/flex/src/styles/rtl.cssr.mjs +4 -0
  625. package/es/flex/src/type.d.ts +3 -0
  626. package/es/flex/src/type.mjs +1 -0
  627. package/es/flex/styles/_common.d.ts +6 -0
  628. package/es/flex/styles/_common.mjs +5 -0
  629. package/es/flex/styles/dark.d.ts +3 -0
  630. package/es/flex/styles/dark.mjs +8 -0
  631. package/es/flex/styles/index.d.ts +4 -0
  632. package/es/flex/styles/index.mjs +3 -0
  633. package/es/flex/styles/light.d.ts +10 -0
  634. package/es/flex/styles/light.mjs +9 -0
  635. package/es/flex/styles/rtl.d.ts +2 -0
  636. package/es/flex/styles/rtl.mjs +5 -0
  637. package/es/form/index.mjs +6 -0
  638. package/es/form/src/Form.mjs +154 -0
  639. package/es/form/src/FormItem.d.ts +2 -1
  640. package/es/form/src/FormItem.mjs +492 -0
  641. package/es/form/src/FormItemCol.d.ts +1 -1
  642. package/es/form/src/FormItemCol.mjs +44 -0
  643. package/es/form/src/FormItemGridItem.mjs +46 -0
  644. package/es/form/src/FormItemRow.mjs +45 -0
  645. package/es/form/src/context.mjs +3 -0
  646. package/es/form/src/interface.d.ts +12 -5
  647. package/es/form/src/interface.mjs +1 -0
  648. package/es/form/src/styles/form-item.cssr.mjs +124 -0
  649. package/es/form/src/styles/form.cssr.mjs +12 -0
  650. package/es/form/src/utils.d.ts +2 -1
  651. package/es/form/src/utils.mjs +173 -0
  652. package/es/form/styles/_common.mjs +23 -0
  653. package/es/form/styles/dark.mjs +8 -0
  654. package/es/form/styles/index.mjs +2 -0
  655. package/es/form/styles/light.mjs +31 -0
  656. package/es/global-style/index.mjs +1 -0
  657. package/es/global-style/src/GlobalStyle.mjs +65 -0
  658. package/es/gradient-text/index.mjs +1 -0
  659. package/es/gradient-text/src/GradientText.mjs +98 -0
  660. package/es/gradient-text/src/styles/index.cssr.mjs +19 -0
  661. package/es/gradient-text/styles/dark.mjs +35 -0
  662. package/es/gradient-text/styles/index.mjs +2 -0
  663. package/es/gradient-text/styles/light.mjs +42 -0
  664. package/es/grid/index.mjs +3 -0
  665. package/es/grid/src/Grid.d.ts +1 -1
  666. package/es/grid/src/Grid.mjs +258 -0
  667. package/es/grid/src/GridItem.mjs +91 -0
  668. package/es/grid/src/config.mjs +3 -0
  669. package/es/icon/index.mjs +1 -0
  670. package/es/icon/src/Icon.mjs +91 -0
  671. package/es/icon/src/styles/index.cssr.mjs +25 -0
  672. package/es/icon/styles/dark.mjs +8 -0
  673. package/es/icon/styles/index.mjs +2 -0
  674. package/es/icon/styles/light.mjs +25 -0
  675. package/es/icon-wrapper/index.mjs +1 -0
  676. package/es/icon-wrapper/src/IconWrapper.mjs +61 -0
  677. package/es/icon-wrapper/src/styles/index.cssr.mjs +16 -0
  678. package/es/icon-wrapper/styles/dark.mjs +8 -0
  679. package/es/icon-wrapper/styles/index.mjs +2 -0
  680. package/es/icon-wrapper/styles/light.mjs +17 -0
  681. package/es/image/index.mjs +2 -0
  682. package/es/image/src/Image.mjs +173 -0
  683. package/es/image/src/ImageGroup.mjs +76 -0
  684. package/es/image/src/ImagePreview.mjs +541 -0
  685. package/es/image/src/icons.mjs +34 -0
  686. package/es/image/src/interface.mjs +12 -0
  687. package/es/image/src/styles/index.cssr.mjs +68 -0
  688. package/es/image/src/utils.mjs +79 -0
  689. package/es/image/styles/dark.mjs +20 -0
  690. package/es/image/styles/index.mjs +2 -0
  691. package/es/image/styles/light.mjs +19 -0
  692. package/es/index.mjs +14 -0
  693. package/es/input/index.mjs +3 -0
  694. package/es/input/src/Input.d.ts +5 -4
  695. package/es/input/src/Input.mjs +1228 -0
  696. package/es/input/src/InputGroup.mjs +25 -0
  697. package/es/input/src/InputGroupLabel.mjs +77 -0
  698. package/es/input/src/WordCount.mjs +39 -0
  699. package/es/input/src/interface.d.ts +7 -2
  700. package/es/input/src/interface.mjs +2 -0
  701. package/es/input/src/styles/input-group-label.cssr.mjs +38 -0
  702. package/es/input/src/styles/input-group.cssr.mjs +57 -0
  703. package/es/input/src/styles/input.cssr.mjs +278 -0
  704. package/es/input/src/styles/rtl.cssr.mjs +16 -0
  705. package/es/input/src/utils.mjs +80 -0
  706. package/es/input/styles/_common.mjs +7 -0
  707. package/es/input/styles/dark.mjs +112 -0
  708. package/es/input/styles/index.mjs +3 -0
  709. package/es/input/styles/light.mjs +109 -0
  710. package/es/input/styles/rtl.mjs +5 -0
  711. package/es/input-number/index.mjs +1 -0
  712. package/es/input-number/src/InputNumber.d.ts +5 -1
  713. package/es/input-number/src/InputNumber.mjs +707 -0
  714. package/es/input-number/src/interface.mjs +1 -0
  715. package/es/input-number/src/styles/input-number.cssr.mjs +8 -0
  716. package/es/input-number/src/styles/rtl.cssr.mjs +4 -0
  717. package/es/input-number/src/utils.mjs +37 -0
  718. package/es/input-number/styles/dark.mjs +20 -0
  719. package/es/input-number/styles/index.mjs +3 -0
  720. package/es/input-number/styles/light.mjs +22 -0
  721. package/es/input-number/styles/rtl.mjs +8 -0
  722. package/es/jest-setup.mjs +5 -0
  723. package/es/layout/index.mjs +5 -0
  724. package/es/layout/src/Layout.d.ts +6 -0
  725. package/es/layout/src/Layout.mjs +150 -0
  726. package/es/layout/src/LayoutContent.d.ts +2 -0
  727. package/es/layout/src/LayoutContent.mjs +2 -0
  728. package/es/layout/src/LayoutFooter.mjs +60 -0
  729. package/es/layout/src/LayoutHeader.mjs +63 -0
  730. package/es/layout/src/LayoutSider.d.ts +9 -0
  731. package/es/layout/src/LayoutSider.mjs +285 -0
  732. package/es/layout/src/ToggleBar.mjs +23 -0
  733. package/es/layout/src/ToggleButton.mjs +26 -0
  734. package/es/layout/src/interface.mjs +6 -0
  735. package/es/layout/src/styles/layout-footer.cssr.mjs +23 -0
  736. package/es/layout/src/styles/layout-header.cssr.mjs +24 -0
  737. package/es/layout/src/styles/layout-sider.cssr.mjs +140 -0
  738. package/es/layout/src/styles/layout.cssr.mjs +28 -0
  739. package/es/layout/styles/dark.mjs +47 -0
  740. package/es/layout/styles/index.mjs +2 -0
  741. package/es/layout/styles/light.mjs +52 -0
  742. package/es/legacy-grid/index.mjs +2 -0
  743. package/es/legacy-grid/src/Col.mjs +62 -0
  744. package/es/legacy-grid/src/Row.mjs +72 -0
  745. package/es/legacy-grid/src/interface.mjs +1 -0
  746. package/es/legacy-grid/src/styles/index.cssr.mjs +31 -0
  747. package/es/legacy-grid/src/styles/rtl.cssr.mjs +20 -0
  748. package/es/legacy-grid/styles/dark.mjs +6 -0
  749. package/es/legacy-grid/styles/index.mjs +3 -0
  750. package/es/legacy-grid/styles/light.mjs +6 -0
  751. package/es/legacy-grid/styles/rtl.mjs +5 -0
  752. package/es/legacy-transfer/index.mjs +1 -0
  753. package/es/legacy-transfer/src/Transfer.d.ts +1 -1
  754. package/es/legacy-transfer/src/Transfer.mjs +356 -0
  755. package/es/legacy-transfer/src/TransferFilter.mjs +63 -0
  756. package/es/legacy-transfer/src/TransferHeader.mjs +71 -0
  757. package/es/legacy-transfer/src/TransferList.d.ts +1 -1
  758. package/es/legacy-transfer/src/TransferList.mjs +155 -0
  759. package/es/legacy-transfer/src/TransferListItem.mjs +80 -0
  760. package/es/legacy-transfer/src/interface.mjs +2 -0
  761. package/es/legacy-transfer/src/styles/index.cssr.mjs +215 -0
  762. package/es/legacy-transfer/src/use-transfer-data.mjs +135 -0
  763. package/es/legacy-transfer/styles/_common.mjs +4 -0
  764. package/es/legacy-transfer/styles/dark.mjs +61 -0
  765. package/es/legacy-transfer/styles/index.mjs +2 -0
  766. package/es/legacy-transfer/styles/light.mjs +65 -0
  767. package/es/list/index.mjs +2 -0
  768. package/es/list/src/List.mjs +97 -0
  769. package/es/list/src/ListItem.mjs +33 -0
  770. package/es/list/src/styles/index.cssr.mjs +88 -0
  771. package/es/list/src/styles/rtl.cssr.mjs +11 -0
  772. package/es/list/styles/dark.mjs +8 -0
  773. package/es/list/styles/index.mjs +3 -0
  774. package/es/list/styles/light.mjs +34 -0
  775. package/es/list/styles/rtl.mjs +5 -0
  776. package/es/loading-bar/index.mjs +2 -0
  777. package/es/loading-bar/src/LoadingBar.d.ts +2 -0
  778. package/es/loading-bar/src/LoadingBar.mjs +203 -0
  779. package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -0
  780. package/es/loading-bar/src/LoadingBarProvider.mjs +81 -0
  781. package/es/loading-bar/src/context.mjs +3 -0
  782. package/es/loading-bar/src/styles/index.cssr.mjs +35 -0
  783. package/es/loading-bar/src/use-loading-bar.mjs +10 -0
  784. package/es/loading-bar/styles/dark.mjs +16 -0
  785. package/es/loading-bar/styles/index.mjs +2 -0
  786. package/es/loading-bar/styles/light.mjs +18 -0
  787. package/es/locales/common/arDZ.mjs +124 -0
  788. package/es/locales/common/deDE.mjs +124 -0
  789. package/es/locales/common/enGB.mjs +125 -0
  790. package/es/locales/common/enUS.d.ts +3 -0
  791. package/es/locales/common/enUS.mjs +125 -0
  792. package/es/locales/common/eo.mjs +126 -0
  793. package/es/locales/common/esAR.mjs +128 -0
  794. package/es/locales/common/faIR.mjs +124 -0
  795. package/es/locales/common/frFR.mjs +124 -0
  796. package/es/locales/common/idID.mjs +128 -0
  797. package/es/locales/common/itIT.mjs +127 -0
  798. package/es/locales/common/jaJP.mjs +124 -0
  799. package/es/locales/common/koKR.mjs +127 -0
  800. package/es/locales/common/nbNO.mjs +128 -0
  801. package/es/locales/common/nlNL.mjs +126 -0
  802. package/es/locales/common/plPL.mjs +127 -0
  803. package/es/locales/common/ptBR.mjs +124 -0
  804. package/es/locales/common/ruRU.mjs +124 -0
  805. package/es/locales/common/skSK.mjs +128 -0
  806. package/es/locales/common/svSE.mjs +124 -0
  807. package/es/locales/common/thTH.mjs +128 -0
  808. package/es/locales/common/trTR.mjs +125 -0
  809. package/es/locales/common/ukUA.mjs +125 -0
  810. package/es/locales/common/viVN.mjs +124 -0
  811. package/es/locales/common/zhCN.mjs +124 -0
  812. package/es/locales/common/zhTW.mjs +124 -0
  813. package/es/locales/date/arDZ.mjs +6 -0
  814. package/es/locales/date/deDE.mjs +6 -0
  815. package/es/locales/date/enGB.mjs +6 -0
  816. package/es/locales/date/enUS.mjs +6 -0
  817. package/es/locales/date/eo.mjs +6 -0
  818. package/es/locales/date/esAR.mjs +6 -0
  819. package/es/locales/date/faIR.mjs +6 -0
  820. package/es/locales/date/frFR.mjs +6 -0
  821. package/es/locales/date/idID.mjs +6 -0
  822. package/es/locales/date/itIT.mjs +6 -0
  823. package/es/locales/date/jaJP.mjs +6 -0
  824. package/es/locales/date/koKR.mjs +6 -0
  825. package/es/locales/date/nbNO.mjs +6 -0
  826. package/es/locales/date/nlNL.mjs +6 -0
  827. package/es/locales/date/plPL.mjs +6 -0
  828. package/es/locales/date/ptBR.mjs +6 -0
  829. package/es/locales/date/ruRU.mjs +6 -0
  830. package/es/locales/date/skSK.mjs +6 -0
  831. package/es/locales/date/svSE.mjs +6 -0
  832. package/es/locales/date/thTH.mjs +6 -0
  833. package/es/locales/date/trTR.mjs +6 -0
  834. package/es/locales/date/ukUA.mjs +6 -0
  835. package/es/locales/date/viVN.mjs +6 -0
  836. package/es/locales/date/zhCN.mjs +6 -0
  837. package/es/locales/date/zhTW.mjs +6 -0
  838. package/es/locales/index.mjs +51 -0
  839. package/es/locales/utils/index.mjs +4 -0
  840. package/es/log/index.mjs +1 -0
  841. package/es/log/src/Log.d.ts +3 -3
  842. package/es/log/src/Log.mjs +265 -0
  843. package/es/log/src/LogLine.mjs +66 -0
  844. package/es/log/src/LogLoader.mjs +31 -0
  845. package/es/log/src/context.mjs +2 -0
  846. package/es/log/src/styles/index.cssr.mjs +53 -0
  847. package/es/log/styles/dark.mjs +27 -0
  848. package/es/log/styles/index.mjs +2 -0
  849. package/es/log/styles/light.mjs +30 -0
  850. package/es/mention/index.mjs +1 -0
  851. package/es/mention/src/Mention.d.ts +2 -1
  852. package/es/mention/src/Mention.mjs +449 -0
  853. package/es/mention/src/interface.mjs +1 -0
  854. package/es/mention/src/styles/index.cssr.mjs +8 -0
  855. package/es/mention/src/utils.mjs +159 -0
  856. package/es/mention/styles/dark.mjs +20 -0
  857. package/es/mention/styles/index.mjs +2 -0
  858. package/es/mention/styles/light.mjs +22 -0
  859. package/es/menu/index.mjs +1 -0
  860. package/es/menu/src/Menu.d.ts +30 -13
  861. package/es/menu/src/Menu.mjs +531 -0
  862. package/es/menu/src/MenuDivider.mjs +16 -0
  863. package/es/menu/src/MenuOption.mjs +108 -0
  864. package/es/menu/src/MenuOptionContent.d.ts +3 -0
  865. package/es/menu/src/MenuOptionContent.mjs +115 -0
  866. package/es/menu/src/MenuOptionGroup.mjs +50 -0
  867. package/es/menu/src/Submenu.d.ts +23 -12
  868. package/es/menu/src/Submenu.mjs +216 -0
  869. package/es/menu/src/context.mjs +4 -0
  870. package/es/menu/src/interface.d.ts +1 -0
  871. package/es/menu/src/interface.mjs +1 -0
  872. package/es/menu/src/styles/index.cssr.mjs +232 -0
  873. package/es/menu/src/use-menu-child-props.mjs +14 -0
  874. package/es/menu/src/use-menu-child.mjs +88 -0
  875. package/es/menu/src/useCheckDeprecated.mjs +24 -0
  876. package/es/menu/src/utils.mjs +74 -0
  877. package/es/menu/styles/dark.mjs +34 -0
  878. package/es/menu/styles/index.mjs +2 -0
  879. package/es/menu/styles/light.mjs +119 -0
  880. package/es/message/index.mjs +2 -0
  881. package/es/message/src/Message.d.ts +1 -1
  882. package/es/message/src/Message.mjs +170 -0
  883. package/es/message/src/MessageEnvironment.mjs +112 -0
  884. package/es/message/src/MessageProvider.d.ts +7 -4
  885. package/es/message/src/MessageProvider.mjs +130 -0
  886. package/es/message/src/context.mjs +3 -0
  887. package/es/message/src/message-props.mjs +17 -0
  888. package/es/message/src/styles/index.cssr.mjs +133 -0
  889. package/es/message/src/styles/rtl.cssr.mjs +8 -0
  890. package/es/message/src/types.mjs +1 -0
  891. package/es/message/src/use-message.mjs +10 -0
  892. package/es/message/styles/_common.mjs +12 -0
  893. package/es/message/styles/dark.mjs +8 -0
  894. package/es/message/styles/index.mjs +3 -0
  895. package/es/message/styles/light.mjs +87 -0
  896. package/es/message/styles/rtl.mjs +5 -0
  897. package/es/modal/index.mjs +1 -0
  898. package/es/modal/src/BodyWrapper.d.ts +12 -4
  899. package/es/modal/src/BodyWrapper.mjs +257 -0
  900. package/es/modal/src/Modal.d.ts +16 -4
  901. package/es/modal/src/Modal.mjs +321 -0
  902. package/es/modal/src/interface.mjs +3 -0
  903. package/es/modal/src/presetProps.d.ts +5 -1
  904. package/es/modal/src/presetProps.mjs +6 -0
  905. package/es/modal/src/styles/index.cssr.mjs +48 -0
  906. package/es/modal/styles/dark.mjs +16 -0
  907. package/es/modal/styles/index.mjs +2 -0
  908. package/es/modal/styles/light.mjs +28 -0
  909. package/es/notification/index.mjs +2 -0
  910. package/es/notification/src/Notification.mjs +191 -0
  911. package/es/notification/src/NotificationContainer.mjs +58 -0
  912. package/es/notification/src/NotificationEnvironment.mjs +164 -0
  913. package/es/notification/src/NotificationProvider.d.ts +3 -0
  914. package/es/notification/src/NotificationProvider.mjs +149 -0
  915. package/es/notification/src/context.mjs +2 -0
  916. package/es/notification/src/styles/index.cssr.mjs +227 -0
  917. package/es/notification/src/styles/rtl.cssr.mjs +22 -0
  918. package/es/notification/src/use-notification.mjs +10 -0
  919. package/es/notification/styles/_common.mjs +10 -0
  920. package/es/notification/styles/dark.mjs +12 -0
  921. package/es/notification/styles/index.mjs +3 -0
  922. package/es/notification/styles/light.mjs +58 -0
  923. package/es/notification/styles/rtl.mjs +5 -0
  924. package/es/number-animation/index.mjs +1 -0
  925. package/es/number-animation/src/NumberAnimation.mjs +111 -0
  926. package/es/number-animation/src/utils.mjs +23 -0
  927. package/es/page-header/index.mjs +1 -0
  928. package/es/page-header/src/PageHeader.mjs +128 -0
  929. package/es/page-header/src/styles/index.cssr.mjs +49 -0
  930. package/es/page-header/src/styles/rtl.cssr.mjs +19 -0
  931. package/es/page-header/styles/_common.mjs +4 -0
  932. package/es/page-header/styles/dark.mjs +7 -0
  933. package/es/page-header/styles/index.mjs +3 -0
  934. package/es/page-header/styles/light.mjs +28 -0
  935. package/es/page-header/styles/rtl.mjs +5 -0
  936. package/es/pagination/index.mjs +1 -0
  937. package/es/pagination/src/Pagination.d.ts +13 -0
  938. package/es/pagination/src/Pagination.mjs +720 -0
  939. package/es/pagination/src/interface.mjs +1 -0
  940. package/es/pagination/src/styles/index.cssr.mjs +134 -0
  941. package/es/pagination/src/styles/rtl.cssr.mjs +8 -0
  942. package/es/pagination/src/utils.d.ts +4 -2
  943. package/es/pagination/src/utils.mjs +146 -0
  944. package/es/pagination/styles/_common.mjs +35 -0
  945. package/es/pagination/styles/dark.mjs +29 -0
  946. package/es/pagination/styles/index.mjs +3 -0
  947. package/es/pagination/styles/light.mjs +76 -0
  948. package/es/pagination/styles/rtl.mjs +8 -0
  949. package/es/popconfirm/index.mjs +1 -0
  950. package/es/popconfirm/src/Popconfirm.d.ts +18 -0
  951. package/es/popconfirm/src/Popconfirm.mjs +107 -0
  952. package/es/popconfirm/src/PopconfirmPanel.mjs +116 -0
  953. package/es/popconfirm/src/interface.mjs +2 -0
  954. package/es/popconfirm/src/styles/index.cssr.mjs +22 -0
  955. package/es/popconfirm/styles/_common.mjs +3 -0
  956. package/es/popconfirm/styles/dark.mjs +14 -0
  957. package/es/popconfirm/styles/index.mjs +2 -0
  958. package/es/popconfirm/styles/light.mjs +25 -0
  959. package/es/popover/index.mjs +1 -0
  960. package/es/popover/src/Popover.d.ts +24 -0
  961. package/es/popover/src/Popover.mjs +481 -0
  962. package/es/popover/src/PopoverBody.d.ts +22 -1
  963. package/es/popover/src/PopoverBody.mjs +372 -0
  964. package/es/popover/src/interface.d.ts +1 -1
  965. package/es/popover/src/interface.mjs +2 -0
  966. package/es/popover/src/styles/index.cssr.mjs +166 -0
  967. package/es/popover/styles/_common.mjs +8 -0
  968. package/es/popover/styles/dark.mjs +8 -0
  969. package/es/popover/styles/index.mjs +2 -0
  970. package/es/popover/styles/light.mjs +26 -0
  971. package/es/popselect/index.mjs +1 -0
  972. package/es/popselect/src/Popselect.d.ts +18 -0
  973. package/es/popselect/src/Popselect.mjs +99 -0
  974. package/es/popselect/src/PopselectPanel.mjs +201 -0
  975. package/es/popselect/src/interface.mjs +2 -0
  976. package/es/popselect/src/styles/index.cssr.mjs +5 -0
  977. package/es/popselect/styles/dark.mjs +12 -0
  978. package/es/popselect/styles/index.mjs +2 -0
  979. package/es/popselect/styles/light.mjs +22 -0
  980. package/es/preset.mjs +7 -0
  981. package/es/progress/index.mjs +1 -0
  982. package/es/progress/src/Circle.mjs +159 -0
  983. package/es/progress/src/Line.mjs +148 -0
  984. package/es/progress/src/MultipleCircle.mjs +104 -0
  985. package/es/progress/src/Progress.d.ts +1 -1
  986. package/es/progress/src/Progress.mjs +209 -0
  987. package/es/progress/src/interface.mjs +1 -0
  988. package/es/progress/src/styles/index.cssr.mjs +196 -0
  989. package/es/progress/styles/dark.mjs +13 -0
  990. package/es/progress/styles/index.mjs +2 -0
  991. package/es/progress/styles/light.mjs +42 -0
  992. package/es/qr-code/index.d.ts +2 -0
  993. package/es/qr-code/index.mjs +1 -0
  994. package/es/qr-code/src/QrCode.d.ts +154 -0
  995. package/es/qr-code/src/QrCode.mjs +175 -0
  996. package/es/qr-code/src/qrcodegen.d.ts +94 -0
  997. package/es/qr-code/src/qrcodegen.mjs +882 -0
  998. package/es/qr-code/src/styles/index.cssr.d.ts +2 -0
  999. package/es/qr-code/src/styles/index.cssr.mjs +8 -0
  1000. package/es/qr-code/styles/dark.d.ts +3 -0
  1001. package/es/qr-code/styles/dark.mjs +11 -0
  1002. package/es/qr-code/styles/index.d.ts +3 -0
  1003. package/es/qr-code/styles/index.mjs +2 -0
  1004. package/es/qr-code/styles/light.d.ts +9 -0
  1005. package/es/qr-code/styles/light.mjs +12 -0
  1006. package/es/radio/index.mjs +3 -0
  1007. package/es/radio/src/Radio.mjs +114 -0
  1008. package/es/radio/src/RadioButton.mjs +36 -0
  1009. package/es/radio/src/RadioGroup.d.ts +1 -0
  1010. package/es/radio/src/RadioGroup.mjs +218 -0
  1011. package/es/radio/src/interface.mjs +1 -0
  1012. package/es/radio/src/styles/radio-group.cssr.mjs +104 -0
  1013. package/es/radio/src/styles/radio.cssr.mjs +107 -0
  1014. package/es/radio/src/styles/rtl.cssr.mjs +20 -0
  1015. package/es/radio/src/use-radio.d.ts +0 -1
  1016. package/es/radio/src/use-radio.mjs +149 -0
  1017. package/es/radio/styles/_common.mjs +7 -0
  1018. package/es/radio/styles/dark.mjs +65 -0
  1019. package/es/radio/styles/index.mjs +3 -0
  1020. package/es/radio/styles/light.mjs +66 -0
  1021. package/es/radio/styles/rtl.mjs +5 -0
  1022. package/es/rate/index.mjs +1 -0
  1023. package/es/rate/src/Rate.mjs +206 -0
  1024. package/es/rate/src/StarIcon.mjs +6 -0
  1025. package/es/rate/src/interface.mjs +1 -0
  1026. package/es/rate/src/styles/index.cssr.mjs +44 -0
  1027. package/es/rate/styles/dark.mjs +19 -0
  1028. package/es/rate/styles/index.mjs +2 -0
  1029. package/es/rate/styles/light.mjs +19 -0
  1030. package/es/result/index.mjs +1 -0
  1031. package/es/result/src/403.mjs +11 -0
  1032. package/es/result/src/404.mjs +31 -0
  1033. package/es/result/src/418.mjs +32 -0
  1034. package/es/result/src/500.mjs +17 -0
  1035. package/es/result/src/Result.mjs +126 -0
  1036. package/es/result/src/styles/index.cssr.mjs +43 -0
  1037. package/es/result/styles/_common.mjs +18 -0
  1038. package/es/result/styles/dark.mjs +8 -0
  1039. package/es/result/styles/index.mjs +2 -0
  1040. package/es/result/styles/light.mjs +30 -0
  1041. package/es/scrollbar/index.mjs +1 -0
  1042. package/es/scrollbar/src/Scrollbar.mjs +37 -0
  1043. package/es/select/index.mjs +1 -0
  1044. package/es/select/src/Select.d.ts +6 -2
  1045. package/es/select/src/Select.mjs +921 -0
  1046. package/es/select/src/interface.mjs +1 -0
  1047. package/es/select/src/styles/index.cssr.mjs +14 -0
  1048. package/es/select/src/utils.mjs +68 -0
  1049. package/es/select/styles/dark.mjs +14 -0
  1050. package/es/select/styles/index.d.ts +1 -0
  1051. package/es/select/styles/index.mjs +3 -0
  1052. package/es/select/styles/light.mjs +22 -0
  1053. package/es/select/styles/rtl.d.ts +2 -0
  1054. package/es/select/styles/rtl.mjs +10 -0
  1055. package/es/skeleton/index.mjs +1 -0
  1056. package/es/skeleton/src/Skeleton.mjs +102 -0
  1057. package/es/skeleton/src/styles/index.cssr.mjs +29 -0
  1058. package/es/skeleton/styles/dark.mjs +21 -0
  1059. package/es/skeleton/styles/index.mjs +2 -0
  1060. package/es/skeleton/styles/light.mjs +22 -0
  1061. package/es/slider/index.mjs +1 -0
  1062. package/es/slider/src/Slider.d.ts +7 -1
  1063. package/es/slider/src/Slider.mjs +686 -0
  1064. package/es/slider/src/interface.mjs +1 -0
  1065. package/es/slider/src/styles/index.cssr.mjs +201 -0
  1066. package/es/slider/src/utils.d.ts +2 -2
  1067. package/es/slider/src/utils.mjs +14 -0
  1068. package/es/slider/styles/_common.mjs +8 -0
  1069. package/es/slider/styles/dark.mjs +45 -0
  1070. package/es/slider/styles/index.mjs +2 -0
  1071. package/es/slider/styles/light.mjs +47 -0
  1072. package/es/space/index.mjs +1 -0
  1073. package/es/space/src/Space.d.ts +7 -0
  1074. package/es/space/src/Space.mjs +146 -0
  1075. package/es/space/src/styles/rtl.cssr.mjs +4 -0
  1076. package/es/space/src/utils.mjs +21 -0
  1077. package/es/space/styles/_common.mjs +5 -0
  1078. package/es/space/styles/dark.mjs +8 -0
  1079. package/es/space/styles/index.mjs +3 -0
  1080. package/es/space/styles/light.mjs +9 -0
  1081. package/es/space/styles/rtl.mjs +5 -0
  1082. package/es/spin/index.mjs +1 -0
  1083. package/es/spin/src/Spin.d.ts +7 -1
  1084. package/es/spin/src/Spin.mjs +163 -0
  1085. package/es/spin/src/styles/index.cssr.mjs +52 -0
  1086. package/es/spin/styles/dark.mjs +8 -0
  1087. package/es/spin/styles/index.mjs +2 -0
  1088. package/es/spin/styles/light.mjs +30 -0
  1089. package/es/split/index.d.ts +2 -0
  1090. package/es/split/index.mjs +1 -0
  1091. package/es/split/src/Split.d.ts +145 -0
  1092. package/es/split/src/Split.mjs +157 -0
  1093. package/es/split/src/styles/index.cssr.d.ts +2 -0
  1094. package/es/split/src/styles/index.cssr.mjs +25 -0
  1095. package/es/split/styles/dark.d.ts +3 -0
  1096. package/es/split/styles/dark.mjs +6 -0
  1097. package/es/split/styles/index.d.ts +3 -0
  1098. package/es/split/styles/index.mjs +2 -0
  1099. package/es/split/styles/light.d.ts +10 -0
  1100. package/es/split/styles/light.mjs +17 -0
  1101. package/es/statistic/index.mjs +1 -0
  1102. package/es/statistic/src/Statistic.mjs +91 -0
  1103. package/es/statistic/src/styles/index.cssr.mjs +38 -0
  1104. package/es/statistic/src/styles/rtl.cssr.mjs +9 -0
  1105. package/es/statistic/styles/dark.mjs +8 -0
  1106. package/es/statistic/styles/index.mjs +3 -0
  1107. package/es/statistic/styles/light.mjs +25 -0
  1108. package/es/statistic/styles/rtl.mjs +5 -0
  1109. package/es/steps/index.mjs +2 -0
  1110. package/es/steps/src/Step.mjs +195 -0
  1111. package/es/steps/src/Steps.d.ts +1 -1
  1112. package/es/steps/src/Steps.mjs +63 -0
  1113. package/es/steps/src/styles/index.cssr.mjs +102 -0
  1114. package/es/steps/src/styles/rtl.cssr.mjs +14 -0
  1115. package/es/steps/styles/_common.mjs +10 -0
  1116. package/es/steps/styles/dark.mjs +8 -0
  1117. package/es/steps/styles/index.mjs +3 -0
  1118. package/es/steps/styles/light.mjs +46 -0
  1119. package/es/steps/styles/rtl.mjs +5 -0
  1120. package/es/styles.d.ts +4 -2
  1121. package/es/styles.mjs +81 -0
  1122. package/es/switch/index.mjs +1 -0
  1123. package/es/switch/src/Switch.d.ts +1 -1
  1124. package/es/switch/src/Switch.mjs +321 -0
  1125. package/es/switch/src/interface.mjs +1 -0
  1126. package/es/switch/src/styles/index.cssr.mjs +127 -0
  1127. package/es/switch/styles/_common.mjs +17 -0
  1128. package/es/switch/styles/dark.mjs +38 -0
  1129. package/es/switch/styles/index.mjs +2 -0
  1130. package/es/switch/styles/light.mjs +37 -0
  1131. package/es/table/index.mjs +6 -0
  1132. package/es/table/src/Table.mjs +122 -0
  1133. package/es/table/src/Tbody.mjs +7 -0
  1134. package/es/table/src/Td.mjs +7 -0
  1135. package/es/table/src/Th.mjs +7 -0
  1136. package/es/table/src/Thead.mjs +7 -0
  1137. package/es/table/src/Tr.mjs +7 -0
  1138. package/es/table/src/styles/index.cssr.mjs +96 -0
  1139. package/es/table/src/styles/rtl.cssr.mjs +13 -0
  1140. package/es/table/styles/_common.mjs +8 -0
  1141. package/es/table/styles/dark.mjs +8 -0
  1142. package/es/table/styles/index.mjs +3 -0
  1143. package/es/table/styles/light.mjs +49 -0
  1144. package/es/table/styles/rtl.mjs +5 -0
  1145. package/es/tabs/index.mjs +3 -0
  1146. package/es/tabs/src/Tab.d.ts +3 -0
  1147. package/es/tabs/src/Tab.mjs +131 -0
  1148. package/es/tabs/src/TabPane.mjs +52 -0
  1149. package/es/tabs/src/Tabs.d.ts +17 -7
  1150. package/es/tabs/src/Tabs.mjs +852 -0
  1151. package/es/tabs/src/interface.d.ts +3 -0
  1152. package/es/tabs/src/interface.mjs +2 -0
  1153. package/es/tabs/src/styles/index.cssr.mjs +375 -0
  1154. package/es/tabs/styles/_common.mjs +58 -0
  1155. package/es/tabs/styles/dark.mjs +16 -0
  1156. package/es/tabs/styles/index.mjs +2 -0
  1157. package/es/tabs/styles/light.mjs +63 -0
  1158. package/es/tag/index.mjs +1 -0
  1159. package/es/tag/src/Tag.d.ts +5 -12
  1160. package/es/tag/src/Tag.mjs +268 -0
  1161. package/es/tag/src/common-props.mjs +17 -0
  1162. package/es/tag/src/styles/index.cssr.mjs +98 -0
  1163. package/es/tag/src/styles/rtl.cssr.mjs +17 -0
  1164. package/es/tag/styles/_common.d.ts +0 -1
  1165. package/es/tag/styles/_common.mjs +12 -0
  1166. package/es/tag/styles/dark.mjs +191 -0
  1167. package/es/tag/styles/index.mjs +3 -0
  1168. package/es/tag/styles/light.d.ts +0 -1
  1169. package/es/tag/styles/light.mjs +172 -0
  1170. package/es/tag/styles/rtl.mjs +5 -0
  1171. package/es/theme-editor/index.mjs +1 -0
  1172. package/es/theme-editor/src/MaximizeIcon.mjs +14 -0
  1173. package/es/theme-editor/src/MinimizeIcon.mjs +15 -0
  1174. package/es/theme-editor/src/ThemeEditor.d.ts +2 -2
  1175. package/es/theme-editor/src/ThemeEditor.mjs +385 -0
  1176. package/es/themes/dark.mjs +173 -0
  1177. package/es/themes/index.mjs +3 -0
  1178. package/es/themes/interface.mjs +1 -0
  1179. package/es/themes/light.mjs +175 -0
  1180. package/es/themes/utils.mjs +18 -0
  1181. package/es/thing/index.mjs +1 -0
  1182. package/es/thing/src/Thing.d.ts +6 -0
  1183. package/es/thing/src/Thing.mjs +98 -0
  1184. package/es/thing/src/styles/index.cssr.mjs +41 -0
  1185. package/es/thing/src/styles/rtl.cssr.mjs +8 -0
  1186. package/es/thing/styles/dark.mjs +8 -0
  1187. package/es/thing/styles/index.mjs +3 -0
  1188. package/es/thing/styles/light.mjs +21 -0
  1189. package/es/thing/styles/rtl.mjs +8 -0
  1190. package/es/time/index.mjs +1 -0
  1191. package/es/time/src/Time.mjs +89 -0
  1192. package/es/time-picker/index.mjs +1 -0
  1193. package/es/time-picker/src/Panel.d.ts +7 -3
  1194. package/es/time-picker/src/Panel.mjs +292 -0
  1195. package/es/time-picker/src/PanelCol.mjs +43 -0
  1196. package/es/time-picker/src/TimePicker.d.ts +6 -3
  1197. package/es/time-picker/src/TimePicker.mjs +868 -0
  1198. package/es/time-picker/src/interface.mjs +2 -0
  1199. package/es/time-picker/src/styles/index.cssr.mjs +99 -0
  1200. package/es/time-picker/src/utils.mjs +73 -0
  1201. package/es/time-picker/styles/_common.mjs +6 -0
  1202. package/es/time-picker/styles/dark.mjs +16 -0
  1203. package/es/time-picker/styles/index.mjs +2 -0
  1204. package/es/time-picker/styles/light.mjs +44 -0
  1205. package/es/timeline/index.mjs +2 -0
  1206. package/es/timeline/src/Timeline.mjs +43 -0
  1207. package/es/timeline/src/TimelineItem.mjs +137 -0
  1208. package/es/timeline/src/styles/index.cssr.mjs +111 -0
  1209. package/es/timeline/styles/_common.mjs +8 -0
  1210. package/es/timeline/styles/dark.mjs +39 -0
  1211. package/es/timeline/styles/index.mjs +2 -0
  1212. package/es/timeline/styles/light.mjs +40 -0
  1213. package/es/tooltip/index.mjs +1 -0
  1214. package/es/tooltip/src/Tooltip.d.ts +18 -0
  1215. package/es/tooltip/src/Tooltip.mjs +49 -0
  1216. package/es/tooltip/styles/_common.mjs +3 -0
  1217. package/es/tooltip/styles/dark.mjs +25 -0
  1218. package/es/tooltip/styles/index.mjs +2 -0
  1219. package/es/tooltip/styles/light.mjs +27 -0
  1220. package/es/transfer/index.mjs +1 -0
  1221. package/es/transfer/src/Transfer.d.ts +1 -1
  1222. package/es/transfer/src/Transfer.mjs +331 -0
  1223. package/es/transfer/src/TransferFilter.mjs +52 -0
  1224. package/es/transfer/src/TransferHeader.mjs +84 -0
  1225. package/es/transfer/src/TransferList.d.ts +1 -1
  1226. package/es/transfer/src/TransferList.mjs +136 -0
  1227. package/es/transfer/src/TransferListItem.mjs +89 -0
  1228. package/es/transfer/src/interface.mjs +2 -0
  1229. package/es/transfer/src/styles/index.cssr.mjs +151 -0
  1230. package/es/transfer/src/use-transfer-data.mjs +125 -0
  1231. package/es/transfer/styles/_common.mjs +13 -0
  1232. package/es/transfer/styles/dark.mjs +69 -0
  1233. package/es/transfer/styles/index.mjs +2 -0
  1234. package/es/transfer/styles/light.mjs +72 -0
  1235. package/es/tree/index.d.ts +2 -1
  1236. package/es/tree/index.mjs +2 -0
  1237. package/es/tree/src/MotionWrapper.mjs +46 -0
  1238. package/es/tree/src/Tree.d.ts +21 -6
  1239. package/es/tree/src/Tree.mjs +1515 -0
  1240. package/es/tree/src/TreeNode.mjs +463 -0
  1241. package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
  1242. package/es/tree/src/TreeNodeCheckbox.mjs +68 -0
  1243. package/es/tree/src/TreeNodeContent.mjs +97 -0
  1244. package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
  1245. package/es/tree/src/TreeNodeSwitcher.mjs +75 -0
  1246. package/es/tree/src/dnd.mjs +44 -0
  1247. package/es/tree/src/interface.d.ts +10 -4
  1248. package/es/tree/src/interface.mjs +2 -0
  1249. package/es/tree/src/keyboard.d.ts +8 -3
  1250. package/es/tree/src/keyboard.mjs +135 -0
  1251. package/es/tree/src/styles/index.cssr.mjs +135 -0
  1252. package/es/tree/src/styles/rtl.cssr.mjs +17 -0
  1253. package/es/tree/src/utils.d.ts +1 -0
  1254. package/es/tree/src/utils.mjs +120 -0
  1255. package/es/tree/styles/dark.mjs +26 -0
  1256. package/es/tree/styles/index.mjs +3 -0
  1257. package/es/tree/styles/light.d.ts +2 -0
  1258. package/es/tree/styles/light.mjs +48 -0
  1259. package/es/tree/styles/rtl.mjs +5 -0
  1260. package/es/tree-select/index.d.ts +1 -0
  1261. package/es/tree-select/index.mjs +1 -0
  1262. package/es/tree-select/src/TreeSelect.d.ts +29 -13
  1263. package/es/tree-select/src/TreeSelect.mjs +871 -0
  1264. package/es/tree-select/src/interface.mjs +2 -0
  1265. package/es/tree-select/src/styles/index.cssr.mjs +38 -0
  1266. package/es/tree-select/src/utils.mjs +18 -0
  1267. package/es/tree-select/styles/dark.mjs +14 -0
  1268. package/es/tree-select/styles/index.mjs +2 -0
  1269. package/es/tree-select/styles/light.d.ts +1 -0
  1270. package/es/tree-select/styles/light.mjs +36 -0
  1271. package/es/typography/index.mjs +10 -0
  1272. package/es/typography/src/a.mjs +45 -0
  1273. package/es/typography/src/blockquote.mjs +56 -0
  1274. package/es/typography/src/create-header.mjs +79 -0
  1275. package/es/typography/src/headers.mjs +7 -0
  1276. package/es/typography/src/hr.mjs +44 -0
  1277. package/es/typography/src/li.mjs +7 -0
  1278. package/es/typography/src/ol.mjs +60 -0
  1279. package/es/typography/src/p.mjs +58 -0
  1280. package/es/typography/src/styles/a.cssr.mjs +12 -0
  1281. package/es/typography/src/styles/blockquote.cssr.mjs +27 -0
  1282. package/es/typography/src/styles/header.cssr.mjs +37 -0
  1283. package/es/typography/src/styles/hr.cssr.mjs +11 -0
  1284. package/es/typography/src/styles/list.cssr.mjs +32 -0
  1285. package/es/typography/src/styles/p.cssr.mjs +15 -0
  1286. package/es/typography/src/styles/text.cssr.mjs +34 -0
  1287. package/es/typography/src/text.mjs +105 -0
  1288. package/es/typography/src/ul.mjs +60 -0
  1289. package/es/typography/styles/_common.mjs +30 -0
  1290. package/es/typography/styles/dark.mjs +8 -0
  1291. package/es/typography/styles/index.mjs +2 -0
  1292. package/es/typography/styles/light.mjs +65 -0
  1293. package/es/upload/index.mjs +4 -0
  1294. package/es/upload/src/Upload.d.ts +6 -0
  1295. package/es/upload/src/Upload.mjs +681 -0
  1296. package/es/upload/src/UploadDragger.mjs +32 -0
  1297. package/es/upload/src/UploadFile.mjs +377 -0
  1298. package/es/upload/src/UploadFileList.mjs +57 -0
  1299. package/es/upload/src/UploadProgress.mjs +38 -0
  1300. package/es/upload/src/UploadTrigger.mjs +96 -0
  1301. package/es/upload/src/icons.mjs +23 -0
  1302. package/es/upload/src/interface.d.ts +2 -0
  1303. package/es/upload/src/interface.mjs +2 -0
  1304. package/es/upload/src/styles/index.cssr.mjs +224 -0
  1305. package/es/upload/src/utils.d.ts +0 -1
  1306. package/es/upload/src/utils.mjs +160 -0
  1307. package/es/upload/styles/dark.mjs +24 -0
  1308. package/es/upload/styles/index.mjs +2 -0
  1309. package/es/upload/styles/light.mjs +50 -0
  1310. package/es/version.d.ts +1 -1
  1311. package/es/version.mjs +1 -0
  1312. package/es/virtual-list/index.d.ts +2 -0
  1313. package/es/virtual-list/index.mjs +1 -0
  1314. package/es/virtual-list/src/VirtualList.d.ts +146 -0
  1315. package/es/virtual-list/src/VirtualList.mjs +133 -0
  1316. package/es/watermark/index.mjs +1 -0
  1317. package/es/watermark/src/Watermark.mjs +213 -0
  1318. package/es/watermark/src/styles/index.cssr.mjs +30 -0
  1319. package/es/watermark/styles/dark.mjs +14 -0
  1320. package/es/watermark/styles/index.mjs +2 -0
  1321. package/es/watermark/styles/light.mjs +15 -0
  1322. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +1 -0
  1323. package/lib/_internal/loading/src/Loading.js +7 -10
  1324. package/lib/_internal/loading/src/styles/index.cssr.js +14 -119
  1325. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
  1326. package/lib/_internal/scrollbar/src/Scrollbar.js +12 -7
  1327. package/lib/_internal/scrollbar/src/styles/index.cssr.js +3 -6
  1328. package/lib/_internal/select-menu/src/SelectMenu.d.ts +6 -4
  1329. package/lib/_internal/select-menu/src/SelectMenu.js +6 -2
  1330. package/lib/_internal/select-menu/src/styles/index.cssr.js +8 -0
  1331. package/lib/_internal/select-menu/src/styles/rtl.cssr.d.ts +2 -0
  1332. package/lib/_internal/select-menu/src/styles/rtl.cssr.js +15 -0
  1333. package/lib/_internal/select-menu/styles/index.d.ts +1 -0
  1334. package/lib/_internal/select-menu/styles/index.js +3 -1
  1335. package/lib/_internal/select-menu/styles/rtl.d.ts +2 -0
  1336. package/lib/_internal/select-menu/styles/rtl.js +11 -0
  1337. package/lib/_internal/selection/src/Selection.d.ts +17 -4
  1338. package/lib/_internal/selection/src/Selection.js +23 -16
  1339. package/lib/_internal/selection/src/styles/index.cssr.js +2 -0
  1340. package/lib/_internal/selection/src/styles/rtl.cssr.d.ts +2 -0
  1341. package/lib/_internal/selection/src/styles/rtl.cssr.js +14 -0
  1342. package/lib/_internal/selection/styles/index.d.ts +1 -0
  1343. package/lib/_internal/selection/styles/index.js +3 -1
  1344. package/lib/_internal/selection/styles/rtl.d.ts +2 -0
  1345. package/lib/_internal/selection/styles/rtl.js +11 -0
  1346. package/lib/_styles/common/_common.js +1 -1
  1347. package/lib/_styles/common/light.js +2 -2
  1348. package/lib/_utils/composable/use-collection.d.ts +1 -1
  1349. package/lib/_utils/composable/use-collection.js +2 -0
  1350. package/lib/_utils/css/color-to-class.js +1 -1
  1351. package/lib/_utils/css/index.d.ts +1 -0
  1352. package/lib/_utils/css/index.js +3 -1
  1353. package/lib/_utils/css/rtl-inset.d.ts +1 -0
  1354. package/lib/_utils/css/rtl-inset.js +9 -0
  1355. package/lib/_utils/cssr/index.d.ts +2 -2
  1356. package/lib/_utils/cssr/index.js +8 -2
  1357. package/lib/_utils/dom/download.d.ts +1 -0
  1358. package/lib/_utils/dom/download.js +16 -0
  1359. package/lib/_utils/dom/index.d.ts +1 -0
  1360. package/lib/_utils/dom/index.js +3 -1
  1361. package/lib/_utils/index.d.ts +1 -1
  1362. package/lib/_utils/index.js +2 -1
  1363. package/lib/_utils/vue/flatten.js +3 -1
  1364. package/lib/affix/src/Affix.d.ts +8 -8
  1365. package/lib/affix/src/Affix.js +5 -3
  1366. package/lib/alert/src/Alert.js +3 -1
  1367. package/lib/anchor/src/AnchorAdapter.d.ts +7 -7
  1368. package/lib/auto-complete/src/AutoComplete.d.ts +2 -1
  1369. package/lib/avatar/src/Avatar.d.ts +1 -1
  1370. package/lib/avatar/src/Avatar.js +36 -39
  1371. package/lib/avatar-group/src/AvatarGroup.d.ts +4 -0
  1372. package/lib/avatar-group/src/AvatarGroup.js +4 -2
  1373. package/lib/avatar-group/src/styles/avatar-group.cssr.js +12 -6
  1374. package/lib/button/src/Button.d.ts +1 -1
  1375. package/lib/button/src/Button.js +1 -1
  1376. package/lib/calendar/src/Calendar.d.ts +2 -0
  1377. package/lib/card/src/Card.d.ts +17 -1
  1378. package/lib/card/src/Card.js +11 -4
  1379. package/lib/carousel/src/Carousel.d.ts +5 -6
  1380. package/lib/carousel/src/Carousel.js +7 -4
  1381. package/lib/carousel/src/utils/duplicatedLogic.d.ts +1 -1
  1382. package/lib/carousel/src/utils/duplicatedLogic.js +2 -0
  1383. package/lib/cascader/src/Cascader.d.ts +5 -1
  1384. package/lib/cascader/src/Cascader.js +2 -2
  1385. package/lib/cascader/src/CascaderSubmenu.d.ts +1 -1
  1386. package/lib/checkbox/src/Checkbox.d.ts +6 -6
  1387. package/lib/collapse/src/styles/index.cssr.js +1 -1
  1388. package/lib/color-picker/src/ColorPickerSwatches.js +4 -3
  1389. package/lib/components.d.ts +4 -0
  1390. package/lib/components.js +4 -0
  1391. package/lib/config-provider/src/ConfigProvider.d.ts +9 -0
  1392. package/lib/config-provider/src/config.js +5 -5
  1393. package/lib/config-provider/src/internal-interface.d.ts +6 -0
  1394. package/lib/data-table/src/DataTable.d.ts +6 -4
  1395. package/lib/data-table/src/DataTable.js +16 -3
  1396. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +1 -1
  1397. package/lib/data-table/src/HeaderButton/FilterMenu.js +8 -1
  1398. package/lib/data-table/src/MainTable.js +2 -0
  1399. package/lib/data-table/src/TableParts/Body.d.ts +4 -4
  1400. package/lib/data-table/src/TableParts/Body.js +6 -4
  1401. package/lib/data-table/src/TableParts/Cell.js +2 -1
  1402. package/lib/data-table/src/interface.d.ts +6 -1
  1403. package/lib/data-table/src/styles/rtl.cssr.d.ts +2 -0
  1404. package/lib/data-table/src/styles/rtl.cssr.js +23 -0
  1405. package/lib/data-table/src/use-sorter.js +9 -1
  1406. package/lib/data-table/src/use-table-data.js +4 -2
  1407. package/lib/data-table/src/utils.d.ts +2 -1
  1408. package/lib/data-table/src/utils.js +21 -1
  1409. package/lib/data-table/styles/index.d.ts +1 -0
  1410. package/lib/data-table/styles/index.js +3 -1
  1411. package/lib/data-table/styles/rtl.d.ts +2 -0
  1412. package/lib/data-table/styles/rtl.js +14 -0
  1413. package/lib/date-picker/src/DatePicker.d.ts +82 -4
  1414. package/lib/date-picker/src/DatePicker.js +27 -8
  1415. package/lib/date-picker/src/config.d.ts +1 -1
  1416. package/lib/date-picker/src/interface.d.ts +3 -0
  1417. package/lib/date-picker/src/panel/date.d.ts +83 -42
  1418. package/lib/date-picker/src/panel/date.js +12 -5
  1419. package/lib/date-picker/src/panel/daterange.d.ts +14 -2
  1420. package/lib/date-picker/src/panel/datetime.d.ts +16 -2
  1421. package/lib/date-picker/src/panel/datetimerange.d.ts +14 -2
  1422. package/lib/date-picker/src/panel/month.d.ts +17 -3
  1423. package/lib/date-picker/src/panel/month.js +13 -8
  1424. package/lib/date-picker/src/panel/monthrange.d.ts +15 -3
  1425. package/lib/date-picker/src/panel/monthrange.js +12 -8
  1426. package/lib/date-picker/src/panel/panelHeader.d.ts +744 -773
  1427. package/lib/date-picker/src/panel/use-calendar.d.ts +13 -3
  1428. package/lib/date-picker/src/panel/use-calendar.js +47 -8
  1429. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +10 -2
  1430. package/lib/date-picker/src/panel/use-dual-calendar.js +23 -11
  1431. package/lib/date-picker/src/panel/use-panel-common.d.ts +8 -0
  1432. package/lib/date-picker/src/panel/use-panel-common.js +5 -1
  1433. package/lib/date-picker/src/styles/index.cssr.js +41 -8
  1434. package/lib/date-picker/src/utils.d.ts +18 -5
  1435. package/lib/date-picker/src/utils.js +85 -19
  1436. package/lib/date-picker/styles/_common.d.ts +2 -0
  1437. package/lib/date-picker/styles/_common.js +4 -2
  1438. package/lib/date-picker/styles/light.d.ts +4 -0
  1439. package/lib/descriptions/src/Descriptions.d.ts +7 -1
  1440. package/lib/descriptions/src/Descriptions.js +22 -7
  1441. package/lib/descriptions/src/DescriptionsItem.d.ts +6 -0
  1442. package/lib/descriptions/src/DescriptionsItem.js +2 -0
  1443. package/lib/dialog/src/Dialog.d.ts +5 -1
  1444. package/lib/dialog/src/Dialog.js +21 -5
  1445. package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
  1446. package/lib/dialog/src/DialogProvider.d.ts +5 -5
  1447. package/lib/dialog/src/dialogProps.d.ts +1 -1
  1448. package/lib/dialog/src/styles/index.cssr.js +15 -11
  1449. package/lib/dialog/src/styles/rtl.cssr.d.ts +2 -0
  1450. package/lib/dialog/src/styles/rtl.cssr.js +23 -0
  1451. package/lib/dialog/styles/index.d.ts +1 -0
  1452. package/lib/dialog/styles/index.js +3 -1
  1453. package/lib/dialog/styles/rtl.d.ts +2 -0
  1454. package/lib/dialog/styles/rtl.js +11 -0
  1455. package/lib/drawer/src/Drawer.d.ts +4 -1
  1456. package/lib/drawer/src/Drawer.js +6 -2
  1457. package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -0
  1458. package/lib/drawer/src/DrawerBodyWrapper.js +8 -1
  1459. package/lib/drawer/src/DrawerContent.d.ts +15 -9
  1460. package/lib/drawer/src/DrawerContent.js +16 -8
  1461. package/lib/dropdown/src/Dropdown.d.ts +18 -0
  1462. package/lib/dropdown/src/Dropdown.js +1 -1
  1463. package/lib/dropdown/src/DropdownMenu.js +4 -1
  1464. package/lib/dropdown/src/DropdownOption.d.ts +5 -4
  1465. package/lib/dropdown/src/DropdownOption.js +2 -4
  1466. package/lib/dynamic-input/src/DynamicInput.d.ts +3 -0
  1467. package/lib/dynamic-input/src/DynamicInput.js +3 -3
  1468. package/lib/dynamic-tags/src/DynamicTags.d.ts +9 -12
  1469. package/lib/dynamic-tags/src/DynamicTags.js +7 -7
  1470. package/lib/dynamic-tags/styles/light.d.ts +0 -1
  1471. package/lib/equation/index.d.ts +1 -0
  1472. package/lib/equation/src/Equation.d.ts +2 -0
  1473. package/lib/flex/index.d.ts +3 -0
  1474. package/lib/flex/index.js +9 -0
  1475. package/lib/flex/src/Flex.d.ts +116 -0
  1476. package/lib/flex/src/Flex.js +79 -0
  1477. package/lib/flex/src/styles/rtl.cssr.d.ts +2 -0
  1478. package/lib/flex/src/styles/rtl.cssr.js +9 -0
  1479. package/lib/flex/src/type.d.ts +3 -0
  1480. package/lib/flex/src/type.js +2 -0
  1481. package/lib/flex/styles/_common.d.ts +6 -0
  1482. package/lib/flex/styles/_common.js +7 -0
  1483. package/lib/flex/styles/dark.d.ts +3 -0
  1484. package/lib/flex/styles/dark.js +13 -0
  1485. package/lib/flex/styles/index.d.ts +4 -0
  1486. package/lib/flex/styles/index.js +12 -0
  1487. package/lib/flex/styles/light.d.ts +10 -0
  1488. package/lib/flex/styles/light.js +14 -0
  1489. package/lib/flex/styles/rtl.d.ts +2 -0
  1490. package/lib/flex/styles/rtl.js +11 -0
  1491. package/lib/form/src/Form.js +14 -11
  1492. package/lib/form/src/FormItem.d.ts +2 -1
  1493. package/lib/form/src/FormItem.js +62 -42
  1494. package/lib/form/src/FormItemCol.d.ts +1 -1
  1495. package/lib/form/src/interface.d.ts +12 -5
  1496. package/lib/form/src/styles/form-item.cssr.js +1 -1
  1497. package/lib/form/src/utils.d.ts +2 -1
  1498. package/lib/form/src/utils.js +4 -0
  1499. package/lib/grid/src/Grid.d.ts +1 -1
  1500. package/lib/image/src/Image.js +1 -2
  1501. package/lib/image/src/ImagePreview.js +2 -2
  1502. package/lib/input/src/Input.d.ts +5 -4
  1503. package/lib/input/src/Input.js +20 -12
  1504. package/lib/input/src/interface.d.ts +7 -2
  1505. package/lib/input/src/styles/input.cssr.js +1 -1
  1506. package/lib/input-number/src/InputNumber.d.ts +5 -1
  1507. package/lib/input-number/src/InputNumber.js +2 -2
  1508. package/lib/layout/src/Layout.d.ts +6 -0
  1509. package/lib/layout/src/Layout.js +8 -1
  1510. package/lib/layout/src/LayoutContent.d.ts +2 -0
  1511. package/lib/layout/src/LayoutSider.d.ts +9 -0
  1512. package/lib/layout/src/LayoutSider.js +12 -3
  1513. package/lib/legacy-grid/src/styles/index.cssr.js +2 -3
  1514. package/lib/legacy-grid/src/styles/rtl.cssr.js +2 -3
  1515. package/lib/legacy-transfer/src/Transfer.d.ts +1 -1
  1516. package/lib/legacy-transfer/src/TransferList.d.ts +1 -1
  1517. package/lib/loading-bar/src/LoadingBar.d.ts +2 -0
  1518. package/lib/loading-bar/src/LoadingBar.js +3 -1
  1519. package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -0
  1520. package/lib/loading-bar/src/LoadingBarProvider.js +2 -2
  1521. package/lib/locales/common/arDZ.js +4 -1
  1522. package/lib/locales/common/deDE.js +4 -1
  1523. package/lib/locales/common/enGB.js +4 -1
  1524. package/lib/locales/common/enUS.d.ts +3 -0
  1525. package/lib/locales/common/enUS.js +4 -1
  1526. package/lib/locales/common/eo.js +4 -1
  1527. package/lib/locales/common/esAR.js +4 -1
  1528. package/lib/locales/common/faIR.js +4 -1
  1529. package/lib/locales/common/frFR.js +5 -2
  1530. package/lib/locales/common/idID.js +4 -1
  1531. package/lib/locales/common/itIT.js +4 -1
  1532. package/lib/locales/common/jaJP.js +12 -12
  1533. package/lib/locales/common/koKR.js +4 -1
  1534. package/lib/locales/common/nbNO.js +4 -1
  1535. package/lib/locales/common/nlNL.js +4 -1
  1536. package/lib/locales/common/plPL.js +4 -1
  1537. package/lib/locales/common/ptBR.js +4 -1
  1538. package/lib/locales/common/ruRU.js +22 -24
  1539. package/lib/locales/common/skSK.js +4 -1
  1540. package/lib/locales/common/svSE.js +4 -1
  1541. package/lib/locales/common/thTH.js +4 -1
  1542. package/lib/locales/common/trTR.js +4 -1
  1543. package/lib/locales/common/ukUA.js +4 -1
  1544. package/lib/locales/common/viVN.js +4 -1
  1545. package/lib/locales/common/zhCN.js +4 -1
  1546. package/lib/locales/common/zhTW.js +4 -1
  1547. package/lib/log/src/Log.d.ts +3 -3
  1548. package/lib/mention/src/Mention.d.ts +2 -1
  1549. package/lib/mention/src/utils.js +4 -4
  1550. package/lib/menu/src/Menu.d.ts +30 -13
  1551. package/lib/menu/src/Menu.js +101 -7
  1552. package/lib/menu/src/MenuOptionContent.d.ts +3 -0
  1553. package/lib/menu/src/MenuOptionContent.js +7 -2
  1554. package/lib/menu/src/Submenu.d.ts +23 -12
  1555. package/lib/menu/src/Submenu.js +9 -8
  1556. package/lib/menu/src/interface.d.ts +1 -0
  1557. package/lib/menu/src/styles/index.cssr.js +8 -4
  1558. package/lib/menu/src/use-menu-child.js +5 -5
  1559. package/lib/message/src/Message.d.ts +1 -1
  1560. package/lib/message/src/MessageProvider.d.ts +7 -4
  1561. package/lib/message/src/MessageProvider.js +3 -2
  1562. package/lib/modal/src/BodyWrapper.d.ts +12 -4
  1563. package/lib/modal/src/Modal.d.ts +16 -4
  1564. package/lib/modal/src/presetProps.d.ts +5 -1
  1565. package/lib/notification/src/NotificationEnvironment.js +1 -1
  1566. package/lib/notification/src/NotificationProvider.d.ts +3 -0
  1567. package/lib/notification/src/NotificationProvider.js +2 -2
  1568. package/lib/notification/src/styles/index.cssr.js +10 -11
  1569. package/lib/pagination/src/Pagination.d.ts +13 -0
  1570. package/lib/pagination/src/Pagination.js +9 -13
  1571. package/lib/pagination/src/utils.d.ts +4 -2
  1572. package/lib/pagination/src/utils.js +21 -4
  1573. package/lib/pagination/styles/rtl.js +2 -1
  1574. package/lib/popconfirm/src/Popconfirm.d.ts +18 -0
  1575. package/lib/popover/src/Popover.d.ts +24 -0
  1576. package/lib/popover/src/Popover.js +7 -0
  1577. package/lib/popover/src/PopoverBody.d.ts +22 -1
  1578. package/lib/popover/src/PopoverBody.js +26 -10
  1579. package/lib/popover/src/interface.d.ts +1 -1
  1580. package/lib/popselect/src/Popselect.d.ts +18 -0
  1581. package/lib/popselect/src/Popselect.js +2 -1
  1582. package/lib/popselect/src/PopselectPanel.js +2 -1
  1583. package/lib/progress/src/Progress.d.ts +1 -1
  1584. package/lib/qr-code/index.d.ts +2 -0
  1585. package/lib/qr-code/index.js +9 -0
  1586. package/lib/qr-code/src/QrCode.d.ts +154 -0
  1587. package/lib/qr-code/src/QrCode.js +152 -0
  1588. package/lib/qr-code/src/qrcodegen.d.ts +94 -0
  1589. package/lib/qr-code/src/qrcodegen.js +949 -0
  1590. package/lib/qr-code/src/styles/index.cssr.d.ts +2 -0
  1591. package/lib/qr-code/src/styles/index.cssr.js +13 -0
  1592. package/lib/qr-code/styles/dark.d.ts +3 -0
  1593. package/lib/qr-code/styles/dark.js +13 -0
  1594. package/lib/qr-code/styles/index.d.ts +3 -0
  1595. package/lib/qr-code/styles/index.js +10 -0
  1596. package/lib/qr-code/styles/light.d.ts +9 -0
  1597. package/lib/qr-code/styles/light.js +14 -0
  1598. package/lib/radio/src/Radio.js +4 -6
  1599. package/lib/radio/src/RadioGroup.d.ts +1 -0
  1600. package/lib/radio/src/RadioGroup.js +2 -1
  1601. package/lib/radio/src/styles/radio-group.cssr.js +1 -0
  1602. package/lib/radio/src/use-radio.d.ts +0 -1
  1603. package/lib/radio/src/use-radio.js +6 -1
  1604. package/lib/scrollbar/src/Scrollbar.js +2 -0
  1605. package/lib/select/src/Select.d.ts +6 -2
  1606. package/lib/select/src/Select.js +3 -2
  1607. package/lib/select/styles/index.d.ts +1 -0
  1608. package/lib/select/styles/index.js +3 -1
  1609. package/lib/select/styles/rtl.d.ts +2 -0
  1610. package/lib/select/styles/rtl.js +13 -0
  1611. package/lib/skeleton/src/Skeleton.js +3 -6
  1612. package/lib/slider/src/Slider.d.ts +7 -1
  1613. package/lib/slider/src/Slider.js +10 -3
  1614. package/lib/slider/src/utils.d.ts +2 -2
  1615. package/lib/slider/src/utils.js +3 -3
  1616. package/lib/space/src/Space.d.ts +7 -0
  1617. package/lib/space/src/Space.js +19 -8
  1618. package/lib/spin/src/Spin.d.ts +7 -1
  1619. package/lib/spin/src/Spin.js +4 -3
  1620. package/lib/spin/src/styles/index.cssr.js +3 -3
  1621. package/lib/split/index.d.ts +2 -0
  1622. package/lib/split/index.js +9 -0
  1623. package/lib/split/src/Split.d.ts +145 -0
  1624. package/lib/split/src/Split.js +152 -0
  1625. package/lib/split/src/styles/index.cssr.d.ts +2 -0
  1626. package/lib/split/src/styles/index.cssr.js +30 -0
  1627. package/lib/split/styles/dark.d.ts +3 -0
  1628. package/lib/split/styles/dark.js +8 -0
  1629. package/lib/split/styles/index.d.ts +3 -0
  1630. package/lib/split/styles/index.js +10 -0
  1631. package/lib/split/styles/light.d.ts +10 -0
  1632. package/lib/split/styles/light.js +18 -0
  1633. package/lib/steps/src/Steps.d.ts +1 -1
  1634. package/lib/styles.d.ts +4 -2
  1635. package/lib/styles.js +160 -152
  1636. package/lib/switch/src/Switch.d.ts +1 -1
  1637. package/lib/tabs/src/Tab.d.ts +3 -0
  1638. package/lib/tabs/src/Tab.js +11 -5
  1639. package/lib/tabs/src/Tabs.d.ts +17 -7
  1640. package/lib/tabs/src/Tabs.js +94 -35
  1641. package/lib/tabs/src/interface.d.ts +3 -0
  1642. package/lib/tabs/src/styles/index.cssr.js +23 -6
  1643. package/lib/tag/src/Tag.d.ts +5 -12
  1644. package/lib/tag/src/Tag.js +7 -3
  1645. package/lib/tag/src/styles/index.cssr.js +1 -0
  1646. package/lib/tag/src/styles/rtl.cssr.js +2 -3
  1647. package/lib/tag/styles/_common.d.ts +0 -1
  1648. package/lib/tag/styles/_common.js +1 -2
  1649. package/lib/tag/styles/light.d.ts +0 -1
  1650. package/lib/theme-editor/src/ThemeEditor.d.ts +2 -2
  1651. package/lib/theme-editor/src/ThemeEditor.js +1 -6
  1652. package/lib/themes/dark.js +58 -52
  1653. package/lib/themes/light.js +58 -52
  1654. package/lib/thing/src/Thing.d.ts +6 -0
  1655. package/lib/thing/src/Thing.js +13 -4
  1656. package/lib/time-picker/src/Panel.d.ts +7 -3
  1657. package/lib/time-picker/src/Panel.js +6 -3
  1658. package/lib/time-picker/src/TimePicker.d.ts +6 -3
  1659. package/lib/time-picker/src/TimePicker.js +17 -3
  1660. package/lib/tooltip/src/Tooltip.d.ts +18 -0
  1661. package/lib/transfer/src/Transfer.d.ts +1 -1
  1662. package/lib/transfer/src/TransferList.d.ts +1 -1
  1663. package/lib/tree/index.d.ts +2 -1
  1664. package/lib/tree/index.js +3 -1
  1665. package/lib/tree/src/Tree.d.ts +21 -6
  1666. package/lib/tree/src/Tree.js +28 -7
  1667. package/lib/tree/src/TreeNode.js +70 -29
  1668. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
  1669. package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
  1670. package/lib/tree/src/interface.d.ts +10 -4
  1671. package/lib/tree/src/keyboard.d.ts +8 -3
  1672. package/lib/tree/src/keyboard.js +31 -5
  1673. package/lib/tree/src/styles/index.cssr.js +5 -4
  1674. package/lib/tree/src/utils.d.ts +1 -0
  1675. package/lib/tree/src/utils.js +14 -1
  1676. package/lib/tree/styles/light.d.ts +2 -0
  1677. package/lib/tree/styles/light.js +3 -2
  1678. package/lib/tree-select/index.d.ts +1 -0
  1679. package/lib/tree-select/src/TreeSelect.d.ts +29 -13
  1680. package/lib/tree-select/src/TreeSelect.js +17 -7
  1681. package/lib/tree-select/styles/light.d.ts +1 -0
  1682. package/lib/upload/src/Upload.d.ts +6 -0
  1683. package/lib/upload/src/Upload.js +8 -3
  1684. package/lib/upload/src/UploadFile.js +1 -1
  1685. package/lib/upload/src/UploadFileList.js +3 -2
  1686. package/lib/upload/src/UploadTrigger.js +3 -2
  1687. package/lib/upload/src/interface.d.ts +2 -0
  1688. package/lib/upload/src/styles/index.cssr.js +1 -1
  1689. package/lib/upload/src/utils.d.ts +0 -1
  1690. package/lib/upload/src/utils.js +25 -52
  1691. package/lib/version.d.ts +1 -1
  1692. package/lib/version.js +1 -1
  1693. package/lib/virtual-list/index.d.ts +2 -0
  1694. package/lib/virtual-list/index.js +9 -0
  1695. package/lib/virtual-list/src/VirtualList.d.ts +146 -0
  1696. package/lib/virtual-list/src/VirtualList.js +105 -0
  1697. package/lib/watermark/src/Watermark.js +7 -0
  1698. package/package.json +19 -18
  1699. package/volar.d.ts +146 -141
  1700. package/web-types.json +1107 -39
  1701. package/es/_internal/clear/index.js +0 -1
  1702. package/es/_internal/clear/src/Clear.js +0 -42
  1703. package/es/_internal/clear/src/styles/index.cssr.js +0 -37
  1704. package/es/_internal/close/index.js +0 -1
  1705. package/es/_internal/close/src/Close.js +0 -49
  1706. package/es/_internal/close/src/styles/index.cssr.js +0 -54
  1707. package/es/_internal/fade-in-expand-transition/index.js +0 -1
  1708. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +0 -108
  1709. package/es/_internal/focus-detector/index.js +0 -2
  1710. package/es/_internal/focus-detector/src/FocusDetector.js +0 -10
  1711. package/es/_internal/icon/index.js +0 -1
  1712. package/es/_internal/icon/src/Icon.js +0 -31
  1713. package/es/_internal/icon/src/styles/index.cssr.js +0 -14
  1714. package/es/_internal/icon-switch-transition/index.js +0 -1
  1715. package/es/_internal/icon-switch-transition/src/IconSwitchTransition.js +0 -9
  1716. package/es/_internal/icons/Add.js +0 -8
  1717. package/es/_internal/icons/ArrowBack.js +0 -9
  1718. package/es/_internal/icons/ArrowDown.js +0 -10
  1719. package/es/_internal/icons/ArrowUp.js +0 -9
  1720. package/es/_internal/icons/Attach.js +0 -6
  1721. package/es/_internal/icons/Backward.js +0 -8
  1722. package/es/_internal/icons/Cancel.js +0 -6
  1723. package/es/_internal/icons/Checkmark.js +0 -9
  1724. package/es/_internal/icons/ChevronDown.js +0 -8
  1725. package/es/_internal/icons/ChevronDownFilled.js +0 -8
  1726. package/es/_internal/icons/ChevronLeft.js +0 -8
  1727. package/es/_internal/icons/ChevronRight.js +0 -8
  1728. package/es/_internal/icons/Clear.js +0 -6
  1729. package/es/_internal/icons/Close.js +0 -6
  1730. package/es/_internal/icons/Date.js +0 -6
  1731. package/es/_internal/icons/Download.js +0 -6
  1732. package/es/_internal/icons/Empty.js +0 -9
  1733. package/es/_internal/icons/Error.js +0 -6
  1734. package/es/_internal/icons/Eye.js +0 -9
  1735. package/es/_internal/icons/EyeOff.js +0 -12
  1736. package/es/_internal/icons/FastBackward.js +0 -10
  1737. package/es/_internal/icons/FastForward.js +0 -10
  1738. package/es/_internal/icons/File.js +0 -10
  1739. package/es/_internal/icons/Filter.js +0 -10
  1740. package/es/_internal/icons/Forward.js +0 -8
  1741. package/es/_internal/icons/Info.js +0 -6
  1742. package/es/_internal/icons/More.js +0 -10
  1743. package/es/_internal/icons/Photo.js +0 -12
  1744. package/es/_internal/icons/Remove.js +0 -8
  1745. package/es/_internal/icons/ResizeSmall.js +0 -9
  1746. package/es/_internal/icons/Retry.js +0 -5
  1747. package/es/_internal/icons/RotateClockwise.js +0 -5
  1748. package/es/_internal/icons/RotateCounterclockwise.js +0 -5
  1749. package/es/_internal/icons/Search.js +0 -8
  1750. package/es/_internal/icons/Success.js +0 -6
  1751. package/es/_internal/icons/Switcher.js +0 -8
  1752. package/es/_internal/icons/Time.js +0 -5
  1753. package/es/_internal/icons/To.js +0 -6
  1754. package/es/_internal/icons/Trash.js +0 -7
  1755. package/es/_internal/icons/Warning.js +0 -6
  1756. package/es/_internal/icons/ZoomIn.js +0 -5
  1757. package/es/_internal/icons/ZoomOut.js +0 -5
  1758. package/es/_internal/icons/index.js +0 -42
  1759. package/es/_internal/icons/replaceable.js +0 -18
  1760. package/es/_internal/index.js +0 -14
  1761. package/es/_internal/loading/index.js +0 -1
  1762. package/es/_internal/loading/src/Loading.js +0 -52
  1763. package/es/_internal/loading/src/styles/index.cssr.js +0 -139
  1764. package/es/_internal/menu-mask/index.js +0 -1
  1765. package/es/_internal/menu-mask/src/MenuMask.js +0 -41
  1766. package/es/_internal/menu-mask/src/interface.js +0 -1
  1767. package/es/_internal/menu-mask/src/styles/index.cssr.js +0 -15
  1768. package/es/_internal/scrollbar/index.js +0 -1
  1769. package/es/_internal/scrollbar/src/Scrollbar.js +0 -622
  1770. package/es/_internal/scrollbar/src/styles/index.cssr.js +0 -63
  1771. package/es/_internal/scrollbar/src/styles/rtl.cssr.js +0 -10
  1772. package/es/_internal/scrollbar/styles/dark.js +0 -8
  1773. package/es/_internal/scrollbar/styles/index.js +0 -3
  1774. package/es/_internal/scrollbar/styles/light.js +0 -14
  1775. package/es/_internal/scrollbar/styles/rtl.js +0 -6
  1776. package/es/_internal/select-menu/index.js +0 -1
  1777. package/es/_internal/select-menu/src/SelectGroupHeader.js +0 -40
  1778. package/es/_internal/select-menu/src/SelectMenu.js +0 -347
  1779. package/es/_internal/select-menu/src/SelectOption.js +0 -119
  1780. package/es/_internal/select-menu/src/interface.js +0 -3
  1781. package/es/_internal/select-menu/src/styles/index.cssr.js +0 -107
  1782. package/es/_internal/select-menu/styles/_common.js +0 -12
  1783. package/es/_internal/select-menu/styles/dark.js +0 -14
  1784. package/es/_internal/select-menu/styles/index.js +0 -2
  1785. package/es/_internal/select-menu/styles/light.js +0 -19
  1786. package/es/_internal/selection/index.js +0 -1
  1787. package/es/_internal/selection/src/Selection.js +0 -595
  1788. package/es/_internal/selection/src/interface.js +0 -1
  1789. package/es/_internal/selection/src/styles/index.cssr.js +0 -227
  1790. package/es/_internal/selection/styles/_common.js +0 -6
  1791. package/es/_internal/selection/styles/dark.js +0 -46
  1792. package/es/_internal/selection/styles/index.js +0 -2
  1793. package/es/_internal/selection/styles/light.js +0 -48
  1794. package/es/_internal/slot-machine/index.js +0 -1
  1795. package/es/_internal/slot-machine/src/SlotMachine.js +0 -75
  1796. package/es/_internal/slot-machine/src/SlotMachineNumber.js +0 -89
  1797. package/es/_internal/slot-machine/src/styles/index.cssr.js +0 -101
  1798. package/es/_internal/suffix/index.js +0 -1
  1799. package/es/_internal/suffix/src/Suffix.js +0 -42
  1800. package/es/_internal/wave/index.js +0 -1
  1801. package/es/_internal/wave/src/Wave.js +0 -51
  1802. package/es/_internal/wave/src/styles/index.cssr.js +0 -9
  1803. package/es/_mixins/common.js +0 -1
  1804. package/es/_mixins/index.js +0 -8
  1805. package/es/_mixins/use-config.js +0 -32
  1806. package/es/_mixins/use-css-vars-class.js +0 -54
  1807. package/es/_mixins/use-form-item.js +0 -69
  1808. package/es/_mixins/use-hljs.js +0 -26
  1809. package/es/_mixins/use-locale.js +0 -18
  1810. package/es/_mixins/use-rtl.js +0 -50
  1811. package/es/_mixins/use-style.js +0 -41
  1812. package/es/_mixins/use-theme.js +0 -109
  1813. package/es/_styles/common/_common.js +0 -25
  1814. package/es/_styles/common/dark.js +0 -92
  1815. package/es/_styles/common/index.js +0 -2
  1816. package/es/_styles/common/light.js +0 -96
  1817. package/es/_styles/global/index.cssr.js +0 -28
  1818. package/es/_styles/transitions/fade-down.cssr.js +0 -25
  1819. package/es/_styles/transitions/fade-in-height-expand.cssr.js +0 -51
  1820. package/es/_styles/transitions/fade-in-scale-up.cssr.js +0 -27
  1821. package/es/_styles/transitions/fade-in-width-expand.cssr.js +0 -31
  1822. package/es/_styles/transitions/fade-in.cssr.js +0 -22
  1823. package/es/_styles/transitions/fade-up-width-expand.cssr.js +0 -36
  1824. package/es/_styles/transitions/icon-switch.cssr.js +0 -29
  1825. package/es/_styles/transitions/slide-in-from-bottom.js +0 -25
  1826. package/es/_styles/transitions/slide-in-from-left.js +0 -25
  1827. package/es/_styles/transitions/slide-in-from-right.js +0 -25
  1828. package/es/_styles/transitions/slide-in-from-top.js +0 -25
  1829. package/es/_utils/color/index.js +0 -7
  1830. package/es/_utils/composable/index.js +0 -8
  1831. package/es/_utils/composable/use-adjusted-to.js +0 -55
  1832. package/es/_utils/composable/use-browser-location.js +0 -35
  1833. package/es/_utils/composable/use-collection.js +0 -87
  1834. package/es/_utils/composable/use-deferred-true.js +0 -25
  1835. package/es/_utils/composable/use-houdini.js +0 -29
  1836. package/es/_utils/composable/use-is-composing.js +0 -32
  1837. package/es/_utils/composable/use-lock-html-scroll.js +0 -63
  1838. package/es/_utils/composable/use-reactivated.js +0 -20
  1839. package/es/_utils/composable/use-resize.js +0 -19
  1840. package/es/_utils/css/color-to-class.js +0 -3
  1841. package/es/_utils/css/format-length.js +0 -30
  1842. package/es/_utils/css/index.js +0 -2
  1843. package/es/_utils/cssr/create-key.d.ts +0 -44
  1844. package/es/_utils/cssr/create-key.js +0 -8
  1845. package/es/_utils/cssr/index.js +0 -31
  1846. package/es/_utils/dom/index.js +0 -1
  1847. package/es/_utils/dom/is-document.js +0 -3
  1848. package/es/_utils/env/browser.js +0 -4
  1849. package/es/_utils/env/is-browser.js +0 -1
  1850. package/es/_utils/env/is-jsdom.js +0 -9
  1851. package/es/_utils/env/is-native-lazy-load.js +0 -2
  1852. package/es/_utils/event/index.js +0 -7
  1853. package/es/_utils/index.js +0 -9
  1854. package/es/_utils/naive/attribute.js +0 -11
  1855. package/es/_utils/naive/extract-public-props.js +0 -1
  1856. package/es/_utils/naive/index.js +0 -3
  1857. package/es/_utils/naive/mutable.js +0 -1
  1858. package/es/_utils/naive/prop.js +0 -27
  1859. package/es/_utils/naive/warn.js +0 -14
  1860. package/es/_utils/vue/call.js +0 -8
  1861. package/es/_utils/vue/create-data-key.js +0 -3
  1862. package/es/_utils/vue/create-injection-key.js +0 -3
  1863. package/es/_utils/vue/create-ref-setter.js +0 -10
  1864. package/es/_utils/vue/flatten.js +0 -30
  1865. package/es/_utils/vue/get-first-slot-vnode.js +0 -18
  1866. package/es/_utils/vue/get-slot.js +0 -7
  1867. package/es/_utils/vue/get-v-node-children.js +0 -12
  1868. package/es/_utils/vue/index.js +0 -16
  1869. package/es/_utils/vue/is-node-v-show-false.js +0 -6
  1870. package/es/_utils/vue/keep.js +0 -7
  1871. package/es/_utils/vue/keysOf.js +0 -3
  1872. package/es/_utils/vue/merge-handlers.js +0 -15
  1873. package/es/_utils/vue/omit.js +0 -10
  1874. package/es/_utils/vue/render.js +0 -15
  1875. package/es/_utils/vue/resolve-slot.js +0 -44
  1876. package/es/_utils/vue/wrapper.js +0 -7
  1877. package/es/affix/index.js +0 -1
  1878. package/es/affix/src/Affix.js +0 -184
  1879. package/es/affix/src/styles/index.cssr.js +0 -6
  1880. package/es/affix/src/utils.js +0 -8
  1881. package/es/alert/index.js +0 -1
  1882. package/es/alert/src/Alert.js +0 -164
  1883. package/es/alert/src/styles/index.cssr.js +0 -103
  1884. package/es/alert/src/styles/rtl.cssr.js +0 -16
  1885. package/es/alert/styles/_common.js +0 -10
  1886. package/es/alert/styles/dark.js +0 -21
  1887. package/es/alert/styles/index.js +0 -3
  1888. package/es/alert/styles/light.js +0 -18
  1889. package/es/alert/styles/rtl.js +0 -5
  1890. package/es/anchor/index.js +0 -2
  1891. package/es/anchor/src/AnchorAdapter.js +0 -53
  1892. package/es/anchor/src/BaseAnchor.js +0 -259
  1893. package/es/anchor/src/Link.js +0 -44
  1894. package/es/anchor/src/styles/index.cssr.js +0 -89
  1895. package/es/anchor/src/utils.js +0 -10
  1896. package/es/anchor/styles/_common.js +0 -5
  1897. package/es/anchor/styles/dark.js +0 -8
  1898. package/es/anchor/styles/index.js +0 -2
  1899. package/es/anchor/styles/light.js +0 -14
  1900. package/es/auto-complete/index.js +0 -1
  1901. package/es/auto-complete/src/AutoComplete.js +0 -293
  1902. package/es/auto-complete/src/interface.js +0 -1
  1903. package/es/auto-complete/src/styles/index.cssr.js +0 -16
  1904. package/es/auto-complete/src/utils.js +0 -25
  1905. package/es/auto-complete/styles/dark.js +0 -14
  1906. package/es/auto-complete/styles/index.js +0 -2
  1907. package/es/auto-complete/styles/light.js +0 -20
  1908. package/es/avatar/index.js +0 -1
  1909. package/es/avatar/src/Avatar.js +0 -235
  1910. package/es/avatar/src/context.js +0 -2
  1911. package/es/avatar/src/interface.js +0 -1
  1912. package/es/avatar/src/styles/index.cssr.js +0 -39
  1913. package/es/avatar/styles/dark.js +0 -8
  1914. package/es/avatar/styles/index.js +0 -2
  1915. package/es/avatar/styles/light.js +0 -24
  1916. package/es/avatar-group/index.js +0 -1
  1917. package/es/avatar-group/src/AvatarGroup.js +0 -68
  1918. package/es/avatar-group/src/styles/avatar-group-rtl.cssr.js +0 -10
  1919. package/es/avatar-group/src/styles/avatar-group.cssr.js +0 -15
  1920. package/es/avatar-group/styles/dark.js +0 -12
  1921. package/es/avatar-group/styles/index.js +0 -3
  1922. package/es/avatar-group/styles/light.js +0 -17
  1923. package/es/avatar-group/styles/rtl.js +0 -5
  1924. package/es/back-top/index.js +0 -1
  1925. package/es/back-top/src/BackTop.js +0 -210
  1926. package/es/back-top/src/BackTopIcon.js +0 -10
  1927. package/es/back-top/src/styles/index.cssr.js +0 -51
  1928. package/es/back-top/styles/_common.js +0 -6
  1929. package/es/back-top/styles/dark.js +0 -11
  1930. package/es/back-top/styles/index.js +0 -2
  1931. package/es/back-top/styles/light.js +0 -12
  1932. package/es/badge/index.js +0 -1
  1933. package/es/badge/src/Badge.js +0 -112
  1934. package/es/badge/src/styles/index.cssr.js +0 -79
  1935. package/es/badge/src/styles/rtl.cssr.js +0 -9
  1936. package/es/badge/styles/dark.js +0 -18
  1937. package/es/badge/styles/index.js +0 -3
  1938. package/es/badge/styles/light.js +0 -19
  1939. package/es/badge/styles/rtl.js +0 -5
  1940. package/es/breadcrumb/index.js +0 -2
  1941. package/es/breadcrumb/src/Breadcrumb.js +0 -54
  1942. package/es/breadcrumb/src/BreadcrumbItem.js +0 -49
  1943. package/es/breadcrumb/src/styles/index.cssr.js +0 -72
  1944. package/es/breadcrumb/styles/_common.js +0 -3
  1945. package/es/breadcrumb/styles/dark.js +0 -8
  1946. package/es/breadcrumb/styles/index.js +0 -2
  1947. package/es/breadcrumb/styles/light.js +0 -12
  1948. package/es/button/index.js +0 -1
  1949. package/es/button/src/Button.js +0 -471
  1950. package/es/button/src/interface.js +0 -1
  1951. package/es/button/src/styles/index.cssr.js +0 -189
  1952. package/es/button/src/styles/rtl.cssr.js +0 -10
  1953. package/es/button/styles/_common.js +0 -19
  1954. package/es/button/styles/dark.js +0 -15
  1955. package/es/button/styles/index.js +0 -3
  1956. package/es/button/styles/light.js +0 -38
  1957. package/es/button/styles/rtl.js +0 -5
  1958. package/es/button-group/index.js +0 -1
  1959. package/es/button-group/src/ButtonGroup.js +0 -34
  1960. package/es/button-group/src/context.js +0 -2
  1961. package/es/button-group/src/styles/index.cssr.js +0 -53
  1962. package/es/button-group/src/styles/rtl.cssr.js +0 -24
  1963. package/es/button-group/styles/dark.js +0 -6
  1964. package/es/button-group/styles/index.js +0 -3
  1965. package/es/button-group/styles/light.js +0 -6
  1966. package/es/button-group/styles/rtl.js +0 -5
  1967. package/es/calendar/index.js +0 -1
  1968. package/es/calendar/src/Calendar.js +0 -198
  1969. package/es/calendar/src/interface.js +0 -1
  1970. package/es/calendar/src/styles/index.cssr.js +0 -137
  1971. package/es/calendar/styles/_common.js +0 -3
  1972. package/es/calendar/styles/dark.js +0 -12
  1973. package/es/calendar/styles/index.js +0 -2
  1974. package/es/calendar/styles/light.js +0 -19
  1975. package/es/card/index.js +0 -1
  1976. package/es/card/src/Card.js +0 -136
  1977. package/es/card/src/styles/index.cssr.js +0 -134
  1978. package/es/card/src/styles/rtl.cssr.js +0 -6
  1979. package/es/card/styles/_common.js +0 -12
  1980. package/es/card/styles/dark.js +0 -15
  1981. package/es/card/styles/index.js +0 -3
  1982. package/es/card/styles/light.js +0 -15
  1983. package/es/card/styles/rtl.js +0 -5
  1984. package/es/carousel/index.js +0 -2
  1985. package/es/carousel/src/Carousel.js +0 -769
  1986. package/es/carousel/src/CarouselArrow.js +0 -38
  1987. package/es/carousel/src/CarouselContext.js +0 -13
  1988. package/es/carousel/src/CarouselDots.js +0 -115
  1989. package/es/carousel/src/CarouselItem.js +0 -66
  1990. package/es/carousel/src/interface.js +0 -1
  1991. package/es/carousel/src/styles/index.cssr.js +0 -232
  1992. package/es/carousel/src/utils/duplicatedLogic.js +0 -46
  1993. package/es/carousel/src/utils/event.js +0 -3
  1994. package/es/carousel/src/utils/index.js +0 -33
  1995. package/es/carousel/styles/dark.js +0 -8
  1996. package/es/carousel/styles/index.js +0 -2
  1997. package/es/carousel/styles/light.js +0 -18
  1998. package/es/cascader/index.js +0 -1
  1999. package/es/cascader/src/Cascader.js +0 -861
  2000. package/es/cascader/src/CascaderMenu.js +0 -122
  2001. package/es/cascader/src/CascaderOption.js +0 -177
  2002. package/es/cascader/src/CascaderSelectMenu.js +0 -145
  2003. package/es/cascader/src/CascaderSubmenu.js +0 -65
  2004. package/es/cascader/src/interface.js +0 -2
  2005. package/es/cascader/src/styles/index.cssr.js +0 -133
  2006. package/es/cascader/src/utils.js +0 -41
  2007. package/es/cascader/styles/dark.js +0 -20
  2008. package/es/cascader/styles/index.js +0 -2
  2009. package/es/cascader/styles/light.js +0 -40
  2010. package/es/checkbox/index.js +0 -2
  2011. package/es/checkbox/src/CheckMark.js +0 -3
  2012. package/es/checkbox/src/Checkbox.js +0 -251
  2013. package/es/checkbox/src/CheckboxGroup.js +0 -160
  2014. package/es/checkbox/src/LineMark.js +0 -3
  2015. package/es/checkbox/src/interface.js +0 -1
  2016. package/es/checkbox/src/styles/index.cssr.js +0 -150
  2017. package/es/checkbox/src/styles/rtl.cssr.js +0 -4
  2018. package/es/checkbox/styles/_common.js +0 -7
  2019. package/es/checkbox/styles/dark.js +0 -14
  2020. package/es/checkbox/styles/index.js +0 -3
  2021. package/es/checkbox/styles/light.js +0 -15
  2022. package/es/checkbox/styles/rtl.js +0 -5
  2023. package/es/code/index.js +0 -1
  2024. package/es/code/src/Code.js +0 -157
  2025. package/es/code/src/styles/index.cssr.js +0 -96
  2026. package/es/code/styles/dark.js +0 -26
  2027. package/es/code/styles/index.js +0 -2
  2028. package/es/code/styles/light.js +0 -27
  2029. package/es/collapse/index.js +0 -2
  2030. package/es/collapse/src/Collapse.js +0 -141
  2031. package/es/collapse/src/CollapseItem.js +0 -99
  2032. package/es/collapse/src/CollapseItemContent.js +0 -38
  2033. package/es/collapse/src/interface.js +0 -1
  2034. package/es/collapse/src/styles/index.cssr.js +0 -59
  2035. package/es/collapse/src/styles/rtl.cssr.js +0 -15
  2036. package/es/collapse/styles/dark.js +0 -8
  2037. package/es/collapse/styles/index.js +0 -3
  2038. package/es/collapse/styles/light.js +0 -23
  2039. package/es/collapse/styles/rtl.js +0 -5
  2040. package/es/collapse-transition/index.js +0 -1
  2041. package/es/collapse-transition/src/CollapseTransition.js +0 -80
  2042. package/es/collapse-transition/src/styles/index.cssr.js +0 -5
  2043. package/es/collapse-transition/src/styles/rtl.cssr.js +0 -5
  2044. package/es/collapse-transition/styles/dark.js +0 -8
  2045. package/es/collapse-transition/styles/index.js +0 -3
  2046. package/es/collapse-transition/styles/light.js +0 -13
  2047. package/es/collapse-transition/styles/rtl.js +0 -5
  2048. package/es/color-picker/index.js +0 -1
  2049. package/es/color-picker/src/AlphaSlider.js +0 -102
  2050. package/es/color-picker/src/ColorInput.js +0 -103
  2051. package/es/color-picker/src/ColorInputUnit.js +0 -148
  2052. package/es/color-picker/src/ColorPicker.js +0 -457
  2053. package/es/color-picker/src/ColorPickerSwatches.js +0 -94
  2054. package/es/color-picker/src/ColorPickerTrigger.js +0 -47
  2055. package/es/color-picker/src/ColorPreview.js +0 -47
  2056. package/es/color-picker/src/HueSlider.js +0 -88
  2057. package/es/color-picker/src/Pallete.js +0 -91
  2058. package/es/color-picker/src/context.js +0 -2
  2059. package/es/color-picker/src/interface.js +0 -1
  2060. package/es/color-picker/src/styles/index.cssr.js +0 -193
  2061. package/es/color-picker/src/utils.js +0 -109
  2062. package/es/color-picker/styles/dark.js +0 -14
  2063. package/es/color-picker/styles/index.js +0 -2
  2064. package/es/color-picker/styles/light.js +0 -32
  2065. package/es/components.js +0 -89
  2066. package/es/composables/index.js +0 -1
  2067. package/es/composables/use-theme-vars.js +0 -18
  2068. package/es/config-provider/index.js +0 -2
  2069. package/es/config-provider/src/ConfigProvider.js +0 -209
  2070. package/es/config-provider/src/config.js +0 -8
  2071. package/es/config-provider/src/context.js +0 -2
  2072. package/es/config-provider/src/interface.js +0 -1
  2073. package/es/config-provider/src/internal-interface.js +0 -1
  2074. package/es/config-provider/src/katex.js +0 -1
  2075. package/es/countdown/index.js +0 -1
  2076. package/es/countdown/src/Countdown.js +0 -154
  2077. package/es/create.js +0 -30
  2078. package/es/data-table/index.js +0 -2
  2079. package/es/data-table/src/DataTable.js +0 -272
  2080. package/es/data-table/src/HeaderButton/FilterButton.js +0 -112
  2081. package/es/data-table/src/HeaderButton/FilterMenu.js +0 -130
  2082. package/es/data-table/src/HeaderButton/RenderFilter.js +0 -25
  2083. package/es/data-table/src/HeaderButton/RenderSorter.js +0 -21
  2084. package/es/data-table/src/HeaderButton/ResizeButton.js +0 -59
  2085. package/es/data-table/src/HeaderButton/SortButton.js +0 -53
  2086. package/es/data-table/src/MainTable.js +0 -76
  2087. package/es/data-table/src/TableParts/Body.js +0 -604
  2088. package/es/data-table/src/TableParts/BodyCheckbox.js +0 -30
  2089. package/es/data-table/src/TableParts/BodyRadio.js +0 -30
  2090. package/es/data-table/src/TableParts/Cell.js +0 -62
  2091. package/es/data-table/src/TableParts/ExpandTrigger.js +0 -39
  2092. package/es/data-table/src/TableParts/Header.js +0 -161
  2093. package/es/data-table/src/TableParts/SelectionMenu.js +0 -73
  2094. package/es/data-table/src/interface.js +0 -56
  2095. package/es/data-table/src/styles/index.cssr.js +0 -433
  2096. package/es/data-table/src/use-check.js +0 -149
  2097. package/es/data-table/src/use-expand.js +0 -61
  2098. package/es/data-table/src/use-group-header.js +0 -104
  2099. package/es/data-table/src/use-resizable.js +0 -22
  2100. package/es/data-table/src/use-scroll.js +0 -225
  2101. package/es/data-table/src/use-sorter.js +0 -191
  2102. package/es/data-table/src/use-table-data.js +0 -327
  2103. package/es/data-table/src/utils.js +0 -131
  2104. package/es/data-table/styles/_common.js +0 -16
  2105. package/es/data-table/styles/dark.js +0 -33
  2106. package/es/data-table/styles/index.js +0 -2
  2107. package/es/data-table/styles/light.js +0 -44
  2108. package/es/date-picker/index.js +0 -1
  2109. package/es/date-picker/src/DatePicker.js +0 -752
  2110. package/es/date-picker/src/config.js +0 -3
  2111. package/es/date-picker/src/interface.js +0 -2
  2112. package/es/date-picker/src/panel/date.js +0 -78
  2113. package/es/date-picker/src/panel/daterange.js +0 -108
  2114. package/es/date-picker/src/panel/datetime.js +0 -76
  2115. package/es/date-picker/src/panel/datetimerange.js +0 -133
  2116. package/es/date-picker/src/panel/month.js +0 -104
  2117. package/es/date-picker/src/panel/monthrange.js +0 -118
  2118. package/es/date-picker/src/panel/panelHeader.js +0 -85
  2119. package/es/date-picker/src/panel/use-calendar.js +0 -330
  2120. package/es/date-picker/src/panel/use-dual-calendar.js +0 -664
  2121. package/es/date-picker/src/panel/use-panel-common.js +0 -156
  2122. package/es/date-picker/src/styles/index.cssr.js +0 -355
  2123. package/es/date-picker/src/utils.js +0 -193
  2124. package/es/date-picker/src/validation-utils.js +0 -178
  2125. package/es/date-picker/styles/_common.js +0 -36
  2126. package/es/date-picker/styles/dark.js +0 -26
  2127. package/es/date-picker/styles/index.js +0 -2
  2128. package/es/date-picker/styles/light.js +0 -25
  2129. package/es/descriptions/index.js +0 -2
  2130. package/es/descriptions/src/Descriptions.js +0 -160
  2131. package/es/descriptions/src/DescriptionsItem.js +0 -19
  2132. package/es/descriptions/src/styles/index.cssr.js +0 -119
  2133. package/es/descriptions/src/utils.js +0 -7
  2134. package/es/descriptions/styles/_common.js +0 -14
  2135. package/es/descriptions/styles/dark.js +0 -8
  2136. package/es/descriptions/styles/index.js +0 -2
  2137. package/es/descriptions/styles/light.js +0 -16
  2138. package/es/dialog/index.js +0 -4
  2139. package/es/dialog/src/Dialog.js +0 -133
  2140. package/es/dialog/src/DialogEnvironment.js +0 -111
  2141. package/es/dialog/src/DialogProvider.js +0 -75
  2142. package/es/dialog/src/composables.js +0 -17
  2143. package/es/dialog/src/context.js +0 -4
  2144. package/es/dialog/src/dialogProps.js +0 -31
  2145. package/es/dialog/src/interface.js +0 -1
  2146. package/es/dialog/src/styles/index.cssr.js +0 -96
  2147. package/es/dialog/styles/_common.js +0 -13
  2148. package/es/dialog/styles/dark.js +0 -12
  2149. package/es/dialog/styles/index.js +0 -2
  2150. package/es/dialog/styles/light.js +0 -22
  2151. package/es/discrete/index.js +0 -1
  2152. package/es/discrete/src/InjectionExtractor.js +0 -12
  2153. package/es/discrete/src/discrete.js +0 -45
  2154. package/es/discrete/src/discreteApp.js +0 -49
  2155. package/es/discrete/src/interface.js +0 -1
  2156. package/es/divider/index.js +0 -1
  2157. package/es/divider/src/Divider.js +0 -53
  2158. package/es/divider/src/styles/index.cssr.js +0 -58
  2159. package/es/divider/styles/dark.js +0 -8
  2160. package/es/divider/styles/index.js +0 -2
  2161. package/es/divider/styles/light.js +0 -15
  2162. package/es/drawer/index.js +0 -2
  2163. package/es/drawer/src/Drawer.js +0 -216
  2164. package/es/drawer/src/DrawerBodyWrapper.js +0 -254
  2165. package/es/drawer/src/DrawerContent.js +0 -49
  2166. package/es/drawer/src/interface.js +0 -3
  2167. package/es/drawer/src/styles/index.cssr.js +0 -163
  2168. package/es/drawer/src/styles/rtl.cssr.js +0 -8
  2169. package/es/drawer/styles/dark.js +0 -12
  2170. package/es/drawer/styles/index.js +0 -3
  2171. package/es/drawer/styles/light.js +0 -38
  2172. package/es/drawer/styles/rtl.js +0 -8
  2173. package/es/dropdown/index.js +0 -1
  2174. package/es/dropdown/src/Dropdown.js +0 -338
  2175. package/es/dropdown/src/DropdownDivider.js +0 -13
  2176. package/es/dropdown/src/DropdownGroup.js +0 -46
  2177. package/es/dropdown/src/DropdownGroupHeader.js +0 -55
  2178. package/es/dropdown/src/DropdownMenu.js +0 -100
  2179. package/es/dropdown/src/DropdownOption.js +0 -242
  2180. package/es/dropdown/src/DropdownRenderOption.js +0 -14
  2181. package/es/dropdown/src/context.js +0 -4
  2182. package/es/dropdown/src/interface.js +0 -1
  2183. package/es/dropdown/src/styles/index.cssr.js +0 -143
  2184. package/es/dropdown/src/utils.js +0 -13
  2185. package/es/dropdown/styles/_common.js +0 -23
  2186. package/es/dropdown/styles/dark.js +0 -21
  2187. package/es/dropdown/styles/index.js +0 -2
  2188. package/es/dropdown/styles/light.js +0 -26
  2189. package/es/dynamic-input/index.js +0 -1
  2190. package/es/dynamic-input/src/DynamicInput.js +0 -302
  2191. package/es/dynamic-input/src/InputPreset.js +0 -37
  2192. package/es/dynamic-input/src/PairPreset.js +0 -53
  2193. package/es/dynamic-input/src/interface.js +0 -2
  2194. package/es/dynamic-input/src/styles/index.cssr.js +0 -35
  2195. package/es/dynamic-input/src/styles/rtl.cssr.js +0 -9
  2196. package/es/dynamic-input/styles/_common.js +0 -4
  2197. package/es/dynamic-input/styles/dark.js +0 -16
  2198. package/es/dynamic-input/styles/index.js +0 -3
  2199. package/es/dynamic-input/styles/light.js +0 -18
  2200. package/es/dynamic-input/styles/rtl.js +0 -11
  2201. package/es/dynamic-tags/index.js +0 -1
  2202. package/es/dynamic-tags/src/DynamicTags.js +0 -165
  2203. package/es/dynamic-tags/src/interface.js +0 -1
  2204. package/es/dynamic-tags/src/styles/index.cssr.js +0 -6
  2205. package/es/dynamic-tags/styles/dark.js +0 -21
  2206. package/es/dynamic-tags/styles/index.js +0 -2
  2207. package/es/dynamic-tags/styles/light.js +0 -22
  2208. package/es/element/index.js +0 -2
  2209. package/es/element/src/Element.js +0 -43
  2210. package/es/element/styles/dark.js +0 -6
  2211. package/es/element/styles/index.js +0 -2
  2212. package/es/element/styles/light.js +0 -6
  2213. package/es/ellipsis/index.js +0 -2
  2214. package/es/ellipsis/src/Ellipsis.js +0 -165
  2215. package/es/ellipsis/src/PerformantEllipsis.js +0 -52
  2216. package/es/ellipsis/src/styles/index.cssr.js +0 -14
  2217. package/es/ellipsis/styles/dark.js +0 -10
  2218. package/es/ellipsis/styles/index.js +0 -2
  2219. package/es/ellipsis/styles/light.js +0 -11
  2220. package/es/empty/index.js +0 -1
  2221. package/es/empty/src/Empty.js +0 -75
  2222. package/es/empty/src/styles/index.cssr.js +0 -32
  2223. package/es/empty/styles/_common.js +0 -6
  2224. package/es/empty/styles/dark.js +0 -8
  2225. package/es/empty/styles/index.js +0 -2
  2226. package/es/empty/styles/light.js +0 -15
  2227. package/es/equation/index.js +0 -1
  2228. package/es/equation/src/Equation.js +0 -29
  2229. package/es/equation/styles/dark.js +0 -8
  2230. package/es/equation/styles/index.js +0 -2
  2231. package/es/equation/styles/light.js +0 -8
  2232. package/es/form/index.js +0 -6
  2233. package/es/form/src/Form.js +0 -114
  2234. package/es/form/src/FormItem.js +0 -366
  2235. package/es/form/src/FormItemCol.js +0 -38
  2236. package/es/form/src/FormItemGridItem.js +0 -40
  2237. package/es/form/src/FormItemRow.js +0 -37
  2238. package/es/form/src/context.js +0 -3
  2239. package/es/form/src/interface.js +0 -1
  2240. package/es/form/src/styles/form-item.cssr.js +0 -124
  2241. package/es/form/src/styles/form.cssr.js +0 -12
  2242. package/es/form/src/utils.js +0 -171
  2243. package/es/form/styles/_common.js +0 -23
  2244. package/es/form/styles/dark.js +0 -8
  2245. package/es/form/styles/index.js +0 -2
  2246. package/es/form/styles/light.js +0 -12
  2247. package/es/global-style/index.js +0 -1
  2248. package/es/global-style/src/GlobalStyle.js +0 -59
  2249. package/es/gradient-text/index.js +0 -1
  2250. package/es/gradient-text/src/GradientText.js +0 -81
  2251. package/es/gradient-text/src/styles/index.cssr.js +0 -19
  2252. package/es/gradient-text/styles/dark.js +0 -23
  2253. package/es/gradient-text/styles/index.js +0 -2
  2254. package/es/gradient-text/styles/light.js +0 -25
  2255. package/es/grid/index.js +0 -3
  2256. package/es/grid/src/Grid.js +0 -251
  2257. package/es/grid/src/GridItem.js +0 -74
  2258. package/es/grid/src/config.js +0 -3
  2259. package/es/icon/index.js +0 -1
  2260. package/es/icon/src/Icon.js +0 -69
  2261. package/es/icon/src/styles/index.cssr.js +0 -25
  2262. package/es/icon/styles/dark.js +0 -8
  2263. package/es/icon/styles/index.js +0 -2
  2264. package/es/icon/styles/light.js +0 -18
  2265. package/es/icon-wrapper/index.js +0 -1
  2266. package/es/icon-wrapper/src/IconWrapper.js +0 -48
  2267. package/es/icon-wrapper/src/styles/index.cssr.js +0 -16
  2268. package/es/icon-wrapper/styles/dark.js +0 -8
  2269. package/es/icon-wrapper/styles/index.js +0 -2
  2270. package/es/icon-wrapper/styles/light.js +0 -14
  2271. package/es/image/index.js +0 -2
  2272. package/es/image/src/Image.js +0 -123
  2273. package/es/image/src/ImageGroup.js +0 -68
  2274. package/es/image/src/ImagePreview.js +0 -430
  2275. package/es/image/src/icons.js +0 -9
  2276. package/es/image/src/interface.js +0 -4
  2277. package/es/image/src/styles/index.cssr.js +0 -68
  2278. package/es/image/src/utils.js +0 -81
  2279. package/es/image/styles/dark.js +0 -18
  2280. package/es/image/styles/index.js +0 -2
  2281. package/es/image/styles/light.js +0 -19
  2282. package/es/index.js +0 -14
  2283. package/es/input/index.js +0 -3
  2284. package/es/input/src/Input.js +0 -947
  2285. package/es/input/src/InputGroup.js +0 -19
  2286. package/es/input/src/InputGroupLabel.js +0 -52
  2287. package/es/input/src/WordCount.js +0 -31
  2288. package/es/input/src/interface.js +0 -2
  2289. package/es/input/src/styles/input-group-label.cssr.js +0 -38
  2290. package/es/input/src/styles/input-group.cssr.js +0 -57
  2291. package/es/input/src/styles/input.cssr.js +0 -278
  2292. package/es/input/src/styles/rtl.cssr.js +0 -16
  2293. package/es/input/src/utils.js +0 -66
  2294. package/es/input/styles/_common.js +0 -7
  2295. package/es/input/styles/dark.js +0 -35
  2296. package/es/input/styles/index.js +0 -3
  2297. package/es/input/styles/light.js +0 -36
  2298. package/es/input/styles/rtl.js +0 -5
  2299. package/es/input-number/index.js +0 -1
  2300. package/es/input-number/src/InputNumber.js +0 -580
  2301. package/es/input-number/src/interface.js +0 -1
  2302. package/es/input-number/src/styles/input-number.cssr.js +0 -8
  2303. package/es/input-number/src/styles/rtl.cssr.js +0 -4
  2304. package/es/input-number/src/utils.js +0 -47
  2305. package/es/input-number/styles/dark.js +0 -18
  2306. package/es/input-number/styles/index.js +0 -3
  2307. package/es/input-number/styles/light.js +0 -20
  2308. package/es/input-number/styles/rtl.js +0 -8
  2309. package/es/jest-setup.js +0 -5
  2310. package/es/layout/index.js +0 -5
  2311. package/es/layout/src/Layout.js +0 -117
  2312. package/es/layout/src/LayoutContent.js +0 -2
  2313. package/es/layout/src/LayoutFooter.js +0 -52
  2314. package/es/layout/src/LayoutHeader.js +0 -59
  2315. package/es/layout/src/LayoutSider.js +0 -244
  2316. package/es/layout/src/ToggleBar.js +0 -16
  2317. package/es/layout/src/ToggleButton.js +0 -20
  2318. package/es/layout/src/interface.js +0 -6
  2319. package/es/layout/src/styles/layout-footer.cssr.js +0 -23
  2320. package/es/layout/src/styles/layout-header.cssr.js +0 -24
  2321. package/es/layout/src/styles/layout-sider.cssr.js +0 -140
  2322. package/es/layout/src/styles/layout.cssr.js +0 -28
  2323. package/es/layout/styles/dark.js +0 -39
  2324. package/es/layout/styles/index.js +0 -2
  2325. package/es/layout/styles/light.js +0 -42
  2326. package/es/legacy-grid/index.js +0 -2
  2327. package/es/legacy-grid/src/Col.js +0 -53
  2328. package/es/legacy-grid/src/Row.js +0 -63
  2329. package/es/legacy-grid/src/interface.js +0 -1
  2330. package/es/legacy-grid/src/styles/index.cssr.js +0 -32
  2331. package/es/legacy-grid/src/styles/rtl.cssr.js +0 -21
  2332. package/es/legacy-grid/styles/dark.js +0 -6
  2333. package/es/legacy-grid/styles/index.js +0 -3
  2334. package/es/legacy-grid/styles/light.js +0 -6
  2335. package/es/legacy-grid/styles/rtl.js +0 -5
  2336. package/es/legacy-transfer/index.js +0 -1
  2337. package/es/legacy-transfer/src/Transfer.js +0 -214
  2338. package/es/legacy-transfer/src/TransferFilter.js +0 -40
  2339. package/es/legacy-transfer/src/TransferHeader.js +0 -47
  2340. package/es/legacy-transfer/src/TransferList.js +0 -93
  2341. package/es/legacy-transfer/src/TransferListItem.js +0 -65
  2342. package/es/legacy-transfer/src/interface.js +0 -2
  2343. package/es/legacy-transfer/src/styles/index.cssr.js +0 -215
  2344. package/es/legacy-transfer/src/use-transfer-data.js +0 -145
  2345. package/es/legacy-transfer/styles/_common.js +0 -4
  2346. package/es/legacy-transfer/styles/dark.js +0 -27
  2347. package/es/legacy-transfer/styles/index.js +0 -2
  2348. package/es/legacy-transfer/styles/light.js +0 -31
  2349. package/es/list/index.js +0 -2
  2350. package/es/list/src/List.js +0 -71
  2351. package/es/list/src/ListItem.js +0 -24
  2352. package/es/list/src/styles/index.cssr.js +0 -88
  2353. package/es/list/src/styles/rtl.cssr.js +0 -11
  2354. package/es/list/styles/dark.js +0 -8
  2355. package/es/list/styles/index.js +0 -3
  2356. package/es/list/styles/light.js +0 -25
  2357. package/es/list/styles/rtl.js +0 -5
  2358. package/es/loading-bar/index.js +0 -2
  2359. package/es/loading-bar/src/LoadingBar.js +0 -176
  2360. package/es/loading-bar/src/LoadingBarProvider.js +0 -73
  2361. package/es/loading-bar/src/context.js +0 -3
  2362. package/es/loading-bar/src/styles/index.cssr.js +0 -35
  2363. package/es/loading-bar/src/use-loading-bar.js +0 -10
  2364. package/es/loading-bar/styles/dark.js +0 -14
  2365. package/es/loading-bar/styles/index.js +0 -2
  2366. package/es/loading-bar/styles/light.js +0 -15
  2367. package/es/locales/common/arDZ.js +0 -121
  2368. package/es/locales/common/deDE.js +0 -121
  2369. package/es/locales/common/enGB.js +0 -122
  2370. package/es/locales/common/enUS.js +0 -122
  2371. package/es/locales/common/eo.js +0 -123
  2372. package/es/locales/common/esAR.js +0 -125
  2373. package/es/locales/common/faIR.js +0 -121
  2374. package/es/locales/common/frFR.js +0 -121
  2375. package/es/locales/common/idID.js +0 -125
  2376. package/es/locales/common/itIT.js +0 -124
  2377. package/es/locales/common/jaJP.js +0 -124
  2378. package/es/locales/common/koKR.js +0 -124
  2379. package/es/locales/common/nbNO.js +0 -125
  2380. package/es/locales/common/nlNL.js +0 -123
  2381. package/es/locales/common/plPL.js +0 -124
  2382. package/es/locales/common/ptBR.js +0 -121
  2383. package/es/locales/common/ruRU.js +0 -126
  2384. package/es/locales/common/skSK.js +0 -125
  2385. package/es/locales/common/svSE.js +0 -121
  2386. package/es/locales/common/thTH.js +0 -125
  2387. package/es/locales/common/trTR.js +0 -122
  2388. package/es/locales/common/ukUA.js +0 -122
  2389. package/es/locales/common/viVN.js +0 -121
  2390. package/es/locales/common/zhCN.js +0 -121
  2391. package/es/locales/common/zhTW.js +0 -121
  2392. package/es/locales/date/arDZ.js +0 -6
  2393. package/es/locales/date/deDE.js +0 -6
  2394. package/es/locales/date/enGB.js +0 -6
  2395. package/es/locales/date/enUS.js +0 -6
  2396. package/es/locales/date/eo.js +0 -6
  2397. package/es/locales/date/esAR.js +0 -6
  2398. package/es/locales/date/faIR.js +0 -6
  2399. package/es/locales/date/frFR.js +0 -6
  2400. package/es/locales/date/idID.js +0 -6
  2401. package/es/locales/date/itIT.js +0 -6
  2402. package/es/locales/date/jaJP.js +0 -6
  2403. package/es/locales/date/koKR.js +0 -6
  2404. package/es/locales/date/nbNO.js +0 -6
  2405. package/es/locales/date/nlNL.js +0 -6
  2406. package/es/locales/date/plPL.js +0 -6
  2407. package/es/locales/date/ptBR.js +0 -6
  2408. package/es/locales/date/ruRU.js +0 -6
  2409. package/es/locales/date/skSK.js +0 -6
  2410. package/es/locales/date/svSE.js +0 -6
  2411. package/es/locales/date/thTH.js +0 -6
  2412. package/es/locales/date/trTR.js +0 -6
  2413. package/es/locales/date/ukUA.js +0 -6
  2414. package/es/locales/date/viVN.js +0 -6
  2415. package/es/locales/date/zhCN.js +0 -6
  2416. package/es/locales/date/zhTW.js +0 -6
  2417. package/es/locales/index.js +0 -51
  2418. package/es/locales/utils/index.js +0 -4
  2419. package/es/log/index.js +0 -1
  2420. package/es/log/src/Log.js +0 -195
  2421. package/es/log/src/LogLine.js +0 -52
  2422. package/es/log/src/LogLoader.js +0 -23
  2423. package/es/log/src/context.js +0 -2
  2424. package/es/log/src/styles/index.cssr.js +0 -53
  2425. package/es/log/styles/dark.js +0 -22
  2426. package/es/log/styles/index.js +0 -2
  2427. package/es/log/styles/light.js +0 -24
  2428. package/es/mention/index.js +0 -1
  2429. package/es/mention/src/Mention.js +0 -361
  2430. package/es/mention/src/interface.js +0 -1
  2431. package/es/mention/src/styles/index.cssr.js +0 -8
  2432. package/es/mention/src/utils.js +0 -204
  2433. package/es/mention/styles/dark.js +0 -18
  2434. package/es/mention/styles/index.js +0 -2
  2435. package/es/mention/styles/light.js +0 -20
  2436. package/es/menu/index.js +0 -1
  2437. package/es/menu/src/Menu.js +0 -380
  2438. package/es/menu/src/MenuDivider.js +0 -11
  2439. package/es/menu/src/MenuOption.js +0 -69
  2440. package/es/menu/src/MenuOptionContent.js +0 -87
  2441. package/es/menu/src/MenuOptionGroup.js +0 -43
  2442. package/es/menu/src/Submenu.js +0 -123
  2443. package/es/menu/src/context.js +0 -4
  2444. package/es/menu/src/interface.js +0 -1
  2445. package/es/menu/src/styles/index.cssr.js +0 -228
  2446. package/es/menu/src/use-menu-child-props.js +0 -14
  2447. package/es/menu/src/use-menu-child.js +0 -80
  2448. package/es/menu/src/useCheckDeprecated.js +0 -24
  2449. package/es/menu/src/utils.js +0 -51
  2450. package/es/menu/styles/dark.js +0 -27
  2451. package/es/menu/styles/index.js +0 -2
  2452. package/es/menu/styles/light.js +0 -60
  2453. package/es/message/index.js +0 -2
  2454. package/es/message/src/Message.js +0 -112
  2455. package/es/message/src/MessageEnvironment.js +0 -91
  2456. package/es/message/src/MessageProvider.js +0 -100
  2457. package/es/message/src/context.js +0 -3
  2458. package/es/message/src/message-props.js +0 -17
  2459. package/es/message/src/styles/index.cssr.js +0 -133
  2460. package/es/message/src/styles/rtl.cssr.js +0 -8
  2461. package/es/message/src/types.js +0 -1
  2462. package/es/message/src/use-message.js +0 -10
  2463. package/es/message/styles/_common.js +0 -12
  2464. package/es/message/styles/dark.js +0 -8
  2465. package/es/message/styles/index.js +0 -3
  2466. package/es/message/styles/light.js +0 -17
  2467. package/es/message/styles/rtl.js +0 -5
  2468. package/es/modal/index.js +0 -1
  2469. package/es/modal/src/BodyWrapper.js +0 -213
  2470. package/es/modal/src/Modal.js +0 -245
  2471. package/es/modal/src/interface.js +0 -3
  2472. package/es/modal/src/presetProps.js +0 -6
  2473. package/es/modal/src/styles/index.cssr.js +0 -48
  2474. package/es/modal/styles/dark.js +0 -16
  2475. package/es/modal/styles/index.js +0 -2
  2476. package/es/modal/styles/light.js +0 -24
  2477. package/es/notification/index.js +0 -2
  2478. package/es/notification/src/Notification.js +0 -127
  2479. package/es/notification/src/NotificationContainer.js +0 -44
  2480. package/es/notification/src/NotificationEnvironment.js +0 -143
  2481. package/es/notification/src/NotificationProvider.js +0 -127
  2482. package/es/notification/src/context.js +0 -2
  2483. package/es/notification/src/styles/index.cssr.js +0 -228
  2484. package/es/notification/src/styles/rtl.cssr.js +0 -22
  2485. package/es/notification/src/use-notification.js +0 -10
  2486. package/es/notification/styles/_common.js +0 -10
  2487. package/es/notification/styles/dark.js +0 -12
  2488. package/es/notification/styles/index.js +0 -3
  2489. package/es/notification/styles/light.js +0 -22
  2490. package/es/notification/styles/rtl.js +0 -5
  2491. package/es/number-animation/index.js +0 -1
  2492. package/es/number-animation/src/NumberAnimation.js +0 -99
  2493. package/es/number-animation/src/utils.js +0 -17
  2494. package/es/page-header/index.js +0 -1
  2495. package/es/page-header/src/PageHeader.js +0 -70
  2496. package/es/page-header/src/styles/index.cssr.js +0 -49
  2497. package/es/page-header/src/styles/rtl.cssr.js +0 -19
  2498. package/es/page-header/styles/_common.js +0 -4
  2499. package/es/page-header/styles/dark.js +0 -7
  2500. package/es/page-header/styles/index.js +0 -3
  2501. package/es/page-header/styles/light.js +0 -12
  2502. package/es/page-header/styles/rtl.js +0 -5
  2503. package/es/pagination/index.js +0 -1
  2504. package/es/pagination/src/Pagination.js +0 -583
  2505. package/es/pagination/src/interface.js +0 -1
  2506. package/es/pagination/src/styles/index.cssr.js +0 -134
  2507. package/es/pagination/src/styles/rtl.cssr.js +0 -8
  2508. package/es/pagination/src/utils.js +0 -145
  2509. package/es/pagination/styles/_common.js +0 -35
  2510. package/es/pagination/styles/dark.js +0 -26
  2511. package/es/pagination/styles/index.js +0 -3
  2512. package/es/pagination/styles/light.js +0 -25
  2513. package/es/pagination/styles/rtl.js +0 -7
  2514. package/es/popconfirm/index.js +0 -1
  2515. package/es/popconfirm/src/Popconfirm.js +0 -89
  2516. package/es/popconfirm/src/PopconfirmPanel.js +0 -75
  2517. package/es/popconfirm/src/interface.js +0 -2
  2518. package/es/popconfirm/src/styles/index.cssr.js +0 -22
  2519. package/es/popconfirm/styles/_common.js +0 -3
  2520. package/es/popconfirm/styles/dark.js +0 -14
  2521. package/es/popconfirm/styles/index.js +0 -2
  2522. package/es/popconfirm/styles/light.js +0 -19
  2523. package/es/popover/index.js +0 -1
  2524. package/es/popover/src/Popover.js +0 -476
  2525. package/es/popover/src/PopoverBody.js +0 -271
  2526. package/es/popover/src/interface.js +0 -2
  2527. package/es/popover/src/styles/index.cssr.js +0 -166
  2528. package/es/popover/styles/_common.js +0 -8
  2529. package/es/popover/styles/dark.js +0 -8
  2530. package/es/popover/styles/index.js +0 -2
  2531. package/es/popover/styles/light.js +0 -13
  2532. package/es/popselect/index.js +0 -1
  2533. package/es/popselect/src/Popselect.js +0 -69
  2534. package/es/popselect/src/PopselectPanel.js +0 -163
  2535. package/es/popselect/src/interface.js +0 -2
  2536. package/es/popselect/src/styles/index.cssr.js +0 -5
  2537. package/es/popselect/styles/dark.js +0 -12
  2538. package/es/popselect/styles/index.js +0 -2
  2539. package/es/popselect/styles/light.js +0 -20
  2540. package/es/preset.js +0 -7
  2541. package/es/progress/index.js +0 -1
  2542. package/es/progress/src/Circle.js +0 -111
  2543. package/es/progress/src/Line.js +0 -116
  2544. package/es/progress/src/MultipleCircle.js +0 -86
  2545. package/es/progress/src/Progress.js +0 -100
  2546. package/es/progress/src/interface.js +0 -1
  2547. package/es/progress/src/styles/index.cssr.js +0 -196
  2548. package/es/progress/styles/dark.js +0 -14
  2549. package/es/progress/styles/index.js +0 -2
  2550. package/es/progress/styles/light.js +0 -33
  2551. package/es/radio/index.js +0 -3
  2552. package/es/radio/src/Radio.js +0 -77
  2553. package/es/radio/src/RadioButton.js +0 -25
  2554. package/es/radio/src/RadioGroup.js +0 -168
  2555. package/es/radio/src/interface.js +0 -1
  2556. package/es/radio/src/styles/radio-group.cssr.js +0 -103
  2557. package/es/radio/src/styles/radio.cssr.js +0 -107
  2558. package/es/radio/src/styles/rtl.cssr.js +0 -20
  2559. package/es/radio/src/use-radio.js +0 -136
  2560. package/es/radio/styles/_common.js +0 -7
  2561. package/es/radio/styles/dark.js +0 -14
  2562. package/es/radio/styles/index.js +0 -3
  2563. package/es/radio/styles/light.js +0 -15
  2564. package/es/radio/styles/rtl.js +0 -5
  2565. package/es/rate/index.js +0 -1
  2566. package/es/rate/src/Rate.js +0 -168
  2567. package/es/rate/src/StarIcon.js +0 -3
  2568. package/es/rate/src/interface.js +0 -1
  2569. package/es/rate/src/styles/index.cssr.js +0 -44
  2570. package/es/rate/styles/dark.js +0 -17
  2571. package/es/rate/styles/index.js +0 -2
  2572. package/es/rate/styles/light.js +0 -17
  2573. package/es/result/index.js +0 -1
  2574. package/es/result/src/403.js +0 -4
  2575. package/es/result/src/404.js +0 -8
  2576. package/es/result/src/418.js +0 -8
  2577. package/es/result/src/500.js +0 -5
  2578. package/es/result/src/Result.js +0 -82
  2579. package/es/result/src/styles/index.cssr.js +0 -43
  2580. package/es/result/styles/_common.js +0 -18
  2581. package/es/result/styles/dark.js +0 -8
  2582. package/es/result/styles/index.js +0 -2
  2583. package/es/result/styles/light.js +0 -12
  2584. package/es/scrollbar/index.js +0 -1
  2585. package/es/scrollbar/src/Scrollbar.js +0 -26
  2586. package/es/select/index.js +0 -1
  2587. package/es/select/src/Select.js +0 -711
  2588. package/es/select/src/interface.js +0 -1
  2589. package/es/select/src/styles/index.cssr.js +0 -14
  2590. package/es/select/src/utils.js +0 -76
  2591. package/es/select/styles/dark.js +0 -14
  2592. package/es/select/styles/index.js +0 -2
  2593. package/es/select/styles/light.js +0 -20
  2594. package/es/skeleton/index.js +0 -1
  2595. package/es/skeleton/src/Skeleton.js +0 -79
  2596. package/es/skeleton/src/styles/index.cssr.js +0 -29
  2597. package/es/skeleton/styles/dark.js +0 -16
  2598. package/es/skeleton/styles/index.js +0 -2
  2599. package/es/skeleton/styles/light.js +0 -17
  2600. package/es/slider/index.js +0 -1
  2601. package/es/slider/src/Slider.js +0 -582
  2602. package/es/slider/src/interface.js +0 -1
  2603. package/es/slider/src/styles/index.cssr.js +0 -201
  2604. package/es/slider/src/utils.js +0 -14
  2605. package/es/slider/styles/_common.js +0 -8
  2606. package/es/slider/styles/dark.js +0 -12
  2607. package/es/slider/styles/index.js +0 -2
  2608. package/es/slider/styles/light.js +0 -14
  2609. package/es/space/index.js +0 -1
  2610. package/es/space/src/Space.js +0 -133
  2611. package/es/space/src/styles/rtl.cssr.js +0 -4
  2612. package/es/space/src/utils.js +0 -22
  2613. package/es/space/styles/_common.js +0 -5
  2614. package/es/space/styles/dark.js +0 -8
  2615. package/es/space/styles/index.js +0 -3
  2616. package/es/space/styles/light.js +0 -9
  2617. package/es/space/styles/rtl.js +0 -5
  2618. package/es/spin/index.js +0 -1
  2619. package/es/spin/src/Spin.js +0 -120
  2620. package/es/spin/src/styles/index.cssr.js +0 -52
  2621. package/es/spin/styles/dark.js +0 -8
  2622. package/es/spin/styles/index.js +0 -2
  2623. package/es/spin/styles/light.js +0 -21
  2624. package/es/statistic/index.js +0 -1
  2625. package/es/statistic/src/Statistic.js +0 -56
  2626. package/es/statistic/src/styles/index.cssr.js +0 -38
  2627. package/es/statistic/src/styles/rtl.cssr.js +0 -9
  2628. package/es/statistic/styles/dark.js +0 -8
  2629. package/es/statistic/styles/index.js +0 -3
  2630. package/es/statistic/styles/light.js +0 -20
  2631. package/es/statistic/styles/rtl.js +0 -5
  2632. package/es/steps/index.js +0 -2
  2633. package/es/steps/src/Step.js +0 -147
  2634. package/es/steps/src/Steps.js +0 -52
  2635. package/es/steps/src/styles/index.cssr.js +0 -102
  2636. package/es/steps/src/styles/rtl.cssr.js +0 -14
  2637. package/es/steps/styles/_common.js +0 -10
  2638. package/es/steps/styles/dark.js +0 -8
  2639. package/es/steps/styles/index.js +0 -3
  2640. package/es/steps/styles/light.js +0 -12
  2641. package/es/steps/styles/rtl.js +0 -5
  2642. package/es/styles.js +0 -79
  2643. package/es/switch/index.js +0 -1
  2644. package/es/switch/src/Switch.js +0 -246
  2645. package/es/switch/src/interface.js +0 -1
  2646. package/es/switch/src/styles/index.cssr.js +0 -127
  2647. package/es/switch/styles/_common.js +0 -17
  2648. package/es/switch/styles/dark.js +0 -13
  2649. package/es/switch/styles/index.js +0 -2
  2650. package/es/switch/styles/light.js +0 -14
  2651. package/es/table/index.js +0 -6
  2652. package/es/table/src/Table.js +0 -84
  2653. package/es/table/src/Tbody.js +0 -7
  2654. package/es/table/src/Td.js +0 -7
  2655. package/es/table/src/Th.js +0 -7
  2656. package/es/table/src/Thead.js +0 -7
  2657. package/es/table/src/Tr.js +0 -7
  2658. package/es/table/src/styles/index.cssr.js +0 -96
  2659. package/es/table/src/styles/rtl.cssr.js +0 -13
  2660. package/es/table/styles/_common.js +0 -8
  2661. package/es/table/styles/dark.js +0 -8
  2662. package/es/table/styles/index.js +0 -3
  2663. package/es/table/styles/light.js +0 -17
  2664. package/es/table/styles/rtl.js +0 -5
  2665. package/es/tabs/index.js +0 -3
  2666. package/es/tabs/src/Tab.js +0 -89
  2667. package/es/tabs/src/TabPane.js +0 -49
  2668. package/es/tabs/src/Tabs.js +0 -640
  2669. package/es/tabs/src/interface.js +0 -2
  2670. package/es/tabs/src/styles/index.cssr.js +0 -358
  2671. package/es/tabs/styles/_common.js +0 -58
  2672. package/es/tabs/styles/dark.js +0 -14
  2673. package/es/tabs/styles/index.js +0 -2
  2674. package/es/tabs/styles/light.js +0 -16
  2675. package/es/tag/index.js +0 -1
  2676. package/es/tag/src/Tag.js +0 -158
  2677. package/es/tag/src/common-props.js +0 -17
  2678. package/es/tag/src/styles/index.cssr.js +0 -97
  2679. package/es/tag/src/styles/rtl.cssr.js +0 -18
  2680. package/es/tag/styles/_common.js +0 -13
  2681. package/es/tag/styles/dark.js +0 -23
  2682. package/es/tag/styles/index.js +0 -3
  2683. package/es/tag/styles/light.js +0 -22
  2684. package/es/tag/styles/rtl.js +0 -5
  2685. package/es/theme-editor/index.js +0 -1
  2686. package/es/theme-editor/src/MaximizeIcon.js +0 -8
  2687. package/es/theme-editor/src/MinimizeIcon.js +0 -8
  2688. package/es/theme-editor/src/ThemeEditor.js +0 -332
  2689. package/es/themes/dark.js +0 -167
  2690. package/es/themes/index.js +0 -3
  2691. package/es/themes/interface.js +0 -1
  2692. package/es/themes/light.js +0 -169
  2693. package/es/themes/utils.js +0 -19
  2694. package/es/thing/index.js +0 -1
  2695. package/es/thing/src/Thing.js +0 -75
  2696. package/es/thing/src/styles/index.cssr.js +0 -41
  2697. package/es/thing/src/styles/rtl.cssr.js +0 -8
  2698. package/es/thing/styles/dark.js +0 -8
  2699. package/es/thing/styles/index.js +0 -3
  2700. package/es/thing/styles/light.js +0 -16
  2701. package/es/thing/styles/rtl.js +0 -8
  2702. package/es/time/index.js +0 -1
  2703. package/es/time/src/Time.js +0 -87
  2704. package/es/time-picker/index.js +0 -1
  2705. package/es/time-picker/src/Panel.js +0 -245
  2706. package/es/time-picker/src/PanelCol.js +0 -36
  2707. package/es/time-picker/src/TimePicker.js +0 -703
  2708. package/es/time-picker/src/interface.js +0 -2
  2709. package/es/time-picker/src/styles/index.cssr.js +0 -99
  2710. package/es/time-picker/src/utils.js +0 -266
  2711. package/es/time-picker/styles/_common.js +0 -6
  2712. package/es/time-picker/styles/dark.js +0 -16
  2713. package/es/time-picker/styles/index.js +0 -2
  2714. package/es/time-picker/styles/light.js +0 -23
  2715. package/es/timeline/index.js +0 -2
  2716. package/es/timeline/src/Timeline.js +0 -36
  2717. package/es/timeline/src/TimelineItem.js +0 -87
  2718. package/es/timeline/src/styles/index.cssr.js +0 -111
  2719. package/es/timeline/styles/_common.js +0 -8
  2720. package/es/timeline/styles/dark.js +0 -11
  2721. package/es/timeline/styles/index.js +0 -2
  2722. package/es/timeline/styles/light.js +0 -12
  2723. package/es/tooltip/index.js +0 -1
  2724. package/es/tooltip/src/Tooltip.js +0 -34
  2725. package/es/tooltip/styles/_common.js +0 -3
  2726. package/es/tooltip/styles/dark.js +0 -15
  2727. package/es/tooltip/styles/index.js +0 -2
  2728. package/es/tooltip/styles/light.js +0 -18
  2729. package/es/transfer/index.js +0 -1
  2730. package/es/transfer/src/Transfer.js +0 -195
  2731. package/es/transfer/src/TransferFilter.js +0 -32
  2732. package/es/transfer/src/TransferHeader.js +0 -46
  2733. package/es/transfer/src/TransferList.js +0 -76
  2734. package/es/transfer/src/TransferListItem.js +0 -70
  2735. package/es/transfer/src/interface.js +0 -2
  2736. package/es/transfer/src/styles/index.cssr.js +0 -151
  2737. package/es/transfer/src/use-transfer-data.js +0 -121
  2738. package/es/transfer/styles/_common.js +0 -13
  2739. package/es/transfer/styles/dark.js +0 -31
  2740. package/es/transfer/styles/index.js +0 -2
  2741. package/es/transfer/styles/light.js +0 -33
  2742. package/es/tree/index.js +0 -1
  2743. package/es/tree/src/MotionWrapper.js +0 -37
  2744. package/es/tree/src/Tree.js +0 -1265
  2745. package/es/tree/src/TreeNode.js +0 -348
  2746. package/es/tree/src/TreeNodeCheckbox.js +0 -49
  2747. package/es/tree/src/TreeNodeContent.js +0 -69
  2748. package/es/tree/src/TreeNodeSwitcher.js +0 -49
  2749. package/es/tree/src/dnd.js +0 -37
  2750. package/es/tree/src/interface.js +0 -2
  2751. package/es/tree/src/keyboard.js +0 -102
  2752. package/es/tree/src/styles/index.cssr.js +0 -134
  2753. package/es/tree/src/styles/rtl.cssr.js +0 -17
  2754. package/es/tree/src/utils.js +0 -114
  2755. package/es/tree/styles/dark.js +0 -22
  2756. package/es/tree/styles/index.js +0 -3
  2757. package/es/tree/styles/light.js +0 -35
  2758. package/es/tree/styles/rtl.js +0 -5
  2759. package/es/tree-select/index.js +0 -1
  2760. package/es/tree-select/src/TreeSelect.js +0 -600
  2761. package/es/tree-select/src/interface.js +0 -2
  2762. package/es/tree-select/src/styles/index.cssr.js +0 -38
  2763. package/es/tree-select/src/utils.js +0 -8
  2764. package/es/tree-select/styles/dark.js +0 -14
  2765. package/es/tree-select/styles/index.js +0 -2
  2766. package/es/tree-select/styles/light.js +0 -29
  2767. package/es/typography/index.js +0 -10
  2768. package/es/typography/src/a.js +0 -34
  2769. package/es/typography/src/blockquote.js +0 -42
  2770. package/es/typography/src/create-header.js +0 -58
  2771. package/es/typography/src/headers.js +0 -7
  2772. package/es/typography/src/hr.js +0 -33
  2773. package/es/typography/src/li.js +0 -7
  2774. package/es/typography/src/ol.js +0 -44
  2775. package/es/typography/src/p.js +0 -39
  2776. package/es/typography/src/styles/a.cssr.js +0 -12
  2777. package/es/typography/src/styles/blockquote.cssr.js +0 -27
  2778. package/es/typography/src/styles/header.cssr.js +0 -37
  2779. package/es/typography/src/styles/hr.cssr.js +0 -11
  2780. package/es/typography/src/styles/list.cssr.js +0 -32
  2781. package/es/typography/src/styles/p.cssr.js +0 -15
  2782. package/es/typography/src/styles/text.cssr.js +0 -34
  2783. package/es/typography/src/text.js +0 -76
  2784. package/es/typography/src/ul.js +0 -44
  2785. package/es/typography/styles/_common.js +0 -30
  2786. package/es/typography/styles/dark.js +0 -8
  2787. package/es/typography/styles/index.js +0 -2
  2788. package/es/typography/styles/light.js +0 -12
  2789. package/es/upload/index.js +0 -4
  2790. package/es/upload/src/Upload.js +0 -530
  2791. package/es/upload/src/UploadDragger.js +0 -21
  2792. package/es/upload/src/UploadFile.js +0 -249
  2793. package/es/upload/src/UploadFileList.js +0 -39
  2794. package/es/upload/src/UploadProgress.js +0 -30
  2795. package/es/upload/src/UploadTrigger.js +0 -82
  2796. package/es/upload/src/icons.js +0 -11
  2797. package/es/upload/src/interface.js +0 -2
  2798. package/es/upload/src/styles/index.cssr.js +0 -224
  2799. package/es/upload/src/utils.js +0 -164
  2800. package/es/upload/styles/dark.js +0 -22
  2801. package/es/upload/styles/index.js +0 -2
  2802. package/es/upload/styles/light.js +0 -37
  2803. package/es/version.js +0 -1
  2804. package/es/watermark/index.js +0 -1
  2805. package/es/watermark/src/Watermark.js +0 -180
  2806. package/es/watermark/src/styles/index.cssr.js +0 -30
  2807. package/es/watermark/styles/dark.js +0 -12
  2808. package/es/watermark/styles/index.js +0 -2
  2809. package/es/watermark/styles/light.js +0 -13
  2810. package/lib/_utils/cssr/create-key.d.ts +0 -44
  2811. package/lib/_utils/cssr/create-key.js +0 -12
@@ -0,0 +1,1515 @@
1
+ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) {
3
+ return value instanceof P ? value : new P(function (resolve) {
4
+ resolve(value);
5
+ });
6
+ }
7
+ return new (P || (P = Promise))(function (resolve, reject) {
8
+ function fulfilled(value) {
9
+ try {
10
+ step(generator.next(value));
11
+ } catch (e) {
12
+ reject(e);
13
+ }
14
+ }
15
+ function rejected(value) {
16
+ try {
17
+ step(generator["throw"](value));
18
+ } catch (e) {
19
+ reject(e);
20
+ }
21
+ }
22
+ function step(result) {
23
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
24
+ }
25
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
26
+ });
27
+ };
28
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
29
+ import { h, ref, toRef, computed, defineComponent, provide, watch, nextTick, watchEffect, inject } from 'vue';
30
+ import { createTreeMate, flatten, createIndexGetter } from 'treemate';
31
+ import { useMergedState } from 'vooks';
32
+ import { VVirtualList } from 'vueuc';
33
+ import { depx, getPadding, pxfy } from 'seemly';
34
+ import { treeSelectInjectionKey } from "../../tree-select/src/interface.mjs";
35
+ import { useConfig, useTheme, useThemeClass, useRtl } from "../../_mixins/index.mjs";
36
+ import { call, createDataKey, resolveSlot, warn, warnOnce } from "../../_utils/index.mjs";
37
+ import { NxScrollbar } from "../../_internal/index.mjs";
38
+ import { treeLight } from "../styles/index.mjs";
39
+ import { NEmpty } from "../../empty/index.mjs";
40
+ import NTreeNode from "./TreeNode.mjs";
41
+ import { keysWithFilter, emptyImage, filterTree, isNodeDisabled, useMergedCheckStrategy } from "./utils.mjs";
42
+ import { useKeyboard } from "./keyboard.mjs";
43
+ import { treeInjectionKey } from "./interface.mjs";
44
+ import MotionWrapper from "./MotionWrapper.mjs";
45
+ import { defaultAllowDrop } from "./dnd.mjs";
46
+ import style from "./styles/index.cssr.mjs";
47
+ export function createTreeMateOptions(keyField, childrenField, disabledField, getChildren) {
48
+ const settledGetChildren = getChildren || (node => {
49
+ return node[childrenField];
50
+ });
51
+ return {
52
+ getIsGroup() {
53
+ return false;
54
+ },
55
+ getKey(node) {
56
+ return node[keyField];
57
+ },
58
+ getChildren: settledGetChildren,
59
+ getDisabled(node) {
60
+ return !!(node[disabledField] || node.checkboxDisabled);
61
+ }
62
+ };
63
+ }
64
+ export const treeSharedProps = {
65
+ allowCheckingNotLoaded: Boolean,
66
+ filter: Function,
67
+ defaultExpandAll: Boolean,
68
+ expandedKeys: Array,
69
+ keyField: {
70
+ type: String,
71
+ default: 'key'
72
+ },
73
+ labelField: {
74
+ type: String,
75
+ default: 'label'
76
+ },
77
+ childrenField: {
78
+ type: String,
79
+ default: 'children'
80
+ },
81
+ disabledField: {
82
+ type: String,
83
+ default: 'disabled'
84
+ },
85
+ defaultExpandedKeys: {
86
+ type: Array,
87
+ default: () => []
88
+ },
89
+ indeterminateKeys: Array,
90
+ renderSwitcherIcon: Function,
91
+ onUpdateIndeterminateKeys: [Function, Array],
92
+ 'onUpdate:indeterminateKeys': [Function, Array],
93
+ onUpdateExpandedKeys: [Function, Array],
94
+ 'onUpdate:expandedKeys': [Function, Array],
95
+ overrideDefaultNodeClickBehavior: Function
96
+ };
97
+ export const treeProps = Object.assign(Object.assign(Object.assign(Object.assign({}, useTheme.props), {
98
+ accordion: Boolean,
99
+ showIrrelevantNodes: {
100
+ type: Boolean,
101
+ default: true
102
+ },
103
+ data: {
104
+ type: Array,
105
+ default: () => []
106
+ },
107
+ expandOnDragenter: {
108
+ type: Boolean,
109
+ default: true
110
+ },
111
+ expandOnClick: Boolean,
112
+ checkOnClick: {
113
+ type: [Boolean, Function],
114
+ default: false
115
+ },
116
+ cancelable: {
117
+ type: Boolean,
118
+ default: true
119
+ },
120
+ checkable: Boolean,
121
+ draggable: Boolean,
122
+ blockNode: Boolean,
123
+ blockLine: Boolean,
124
+ showLine: Boolean,
125
+ disabled: Boolean,
126
+ checkedKeys: Array,
127
+ defaultCheckedKeys: {
128
+ type: Array,
129
+ default: () => []
130
+ },
131
+ selectedKeys: Array,
132
+ defaultSelectedKeys: {
133
+ type: Array,
134
+ default: () => []
135
+ },
136
+ multiple: Boolean,
137
+ pattern: {
138
+ type: String,
139
+ default: ''
140
+ },
141
+ onLoad: Function,
142
+ cascade: Boolean,
143
+ selectable: {
144
+ type: Boolean,
145
+ default: true
146
+ },
147
+ scrollbarProps: Object,
148
+ indent: {
149
+ type: Number,
150
+ default: 24
151
+ },
152
+ allowDrop: {
153
+ type: Function,
154
+ default: defaultAllowDrop
155
+ },
156
+ animated: {
157
+ type: Boolean,
158
+ default: true
159
+ },
160
+ checkboxPlacement: {
161
+ type: String,
162
+ default: 'left'
163
+ },
164
+ virtualScroll: Boolean,
165
+ watchProps: Array,
166
+ renderLabel: Function,
167
+ renderPrefix: Function,
168
+ renderSuffix: Function,
169
+ nodeProps: Function,
170
+ keyboard: {
171
+ type: Boolean,
172
+ default: true
173
+ },
174
+ getChildren: Function,
175
+ onDragenter: [Function, Array],
176
+ onDragleave: [Function, Array],
177
+ onDragend: [Function, Array],
178
+ onDragstart: [Function, Array],
179
+ onDragover: [Function, Array],
180
+ onDrop: [Function, Array],
181
+ onUpdateCheckedKeys: [Function, Array],
182
+ 'onUpdate:checkedKeys': [Function, Array],
183
+ onUpdateSelectedKeys: [Function, Array],
184
+ 'onUpdate:selectedKeys': [Function, Array]
185
+ }), treeSharedProps), {
186
+ // internal props for tree-select
187
+ internalTreeSelect: Boolean,
188
+ internalScrollable: Boolean,
189
+ internalScrollablePadding: String,
190
+ // use it to display
191
+ internalRenderEmpty: Function,
192
+ internalHighlightKeySet: Object,
193
+ internalUnifySelectCheck: Boolean,
194
+ internalCheckboxFocusable: {
195
+ type: Boolean,
196
+ default: true
197
+ },
198
+ internalFocusable: {
199
+ // Make tree-select take over keyboard operations
200
+ type: Boolean,
201
+ default: true
202
+ },
203
+ checkStrategy: {
204
+ type: String,
205
+ default: 'all'
206
+ },
207
+ /**
208
+ * @deprecated
209
+ */
210
+ leafOnly: Boolean
211
+ });
212
+ export default defineComponent({
213
+ name: 'Tree',
214
+ props: treeProps,
215
+ setup(props) {
216
+ if (process.env.NODE_ENV !== 'production') {
217
+ watchEffect(() => {
218
+ if (props.leafOnly) {
219
+ warnOnce('tree', '`leaf-only` is deprecated, please use `check-strategy="child"` instead');
220
+ }
221
+ });
222
+ }
223
+ const {
224
+ mergedClsPrefixRef,
225
+ inlineThemeDisabled,
226
+ mergedRtlRef
227
+ } = useConfig(props);
228
+ const rtlEnabledRef = useRtl('Tree', mergedRtlRef, mergedClsPrefixRef);
229
+ const themeRef = useTheme('Tree', '-tree', style, treeLight, props, mergedClsPrefixRef);
230
+ const selfElRef = ref(null);
231
+ const scrollbarInstRef = ref(null);
232
+ const virtualListInstRef = ref(null);
233
+ function getScrollContainer() {
234
+ var _a;
235
+ return (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.listElRef;
236
+ }
237
+ function getScrollContent() {
238
+ var _a;
239
+ return (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.itemsElRef;
240
+ }
241
+ const mergedFilterRef = computed(() => {
242
+ const {
243
+ filter
244
+ } = props;
245
+ if (filter) return filter;
246
+ const {
247
+ labelField
248
+ } = props;
249
+ return (pattern, node) => {
250
+ if (!pattern.length) return true;
251
+ const label = node[labelField];
252
+ if (typeof label === 'string') {
253
+ return label.toLowerCase().includes(pattern.toLowerCase());
254
+ }
255
+ return false;
256
+ };
257
+ });
258
+ const filteredTreeInfoRef = computed(() => {
259
+ const {
260
+ pattern
261
+ } = props;
262
+ if (!pattern) {
263
+ return {
264
+ filteredTree: props.data,
265
+ highlightKeySet: null,
266
+ expandedKeys: undefined
267
+ };
268
+ }
269
+ if (!pattern.length || !mergedFilterRef.value) {
270
+ return {
271
+ filteredTree: props.data,
272
+ highlightKeySet: null,
273
+ expandedKeys: undefined
274
+ };
275
+ }
276
+ return filterTree(props.data, mergedFilterRef.value, pattern, props.keyField, props.childrenField);
277
+ });
278
+ // We don't expect data source to change so we just determine it once
279
+ const displayTreeMateRef = computed(() => createTreeMate(props.showIrrelevantNodes ? props.data : filteredTreeInfoRef.value.filteredTree, createTreeMateOptions(props.keyField, props.childrenField, props.disabledField, props.getChildren)));
280
+ const treeSelectInjection = inject(treeSelectInjectionKey, null);
281
+ const dataTreeMateRef = props.internalTreeSelect ? treeSelectInjection.dataTreeMate : displayTreeMateRef;
282
+ const {
283
+ watchProps
284
+ } = props;
285
+ const uncontrolledCheckedKeysRef = ref([]);
286
+ if (watchProps === null || watchProps === void 0 ? void 0 : watchProps.includes('defaultCheckedKeys')) {
287
+ watchEffect(() => {
288
+ uncontrolledCheckedKeysRef.value = props.defaultCheckedKeys;
289
+ });
290
+ } else {
291
+ uncontrolledCheckedKeysRef.value = props.defaultCheckedKeys;
292
+ }
293
+ const controlledCheckedKeysRef = toRef(props, 'checkedKeys');
294
+ const mergedCheckedKeysRef = useMergedState(controlledCheckedKeysRef, uncontrolledCheckedKeysRef);
295
+ const checkedStatusRef = computed(() => {
296
+ const value = dataTreeMateRef.value.getCheckedKeys(mergedCheckedKeysRef.value, {
297
+ cascade: props.cascade,
298
+ allowNotLoaded: props.allowCheckingNotLoaded
299
+ });
300
+ return value;
301
+ });
302
+ const mergedCheckStrategyRef = useMergedCheckStrategy(props);
303
+ const displayedCheckedKeysRef = computed(() => {
304
+ return checkedStatusRef.value.checkedKeys;
305
+ });
306
+ const displayedIndeterminateKeysRef = computed(() => {
307
+ const {
308
+ indeterminateKeys
309
+ } = props;
310
+ if (indeterminateKeys !== undefined) return indeterminateKeys;
311
+ return checkedStatusRef.value.indeterminateKeys;
312
+ });
313
+ const uncontrolledSelectedKeysRef = ref([]);
314
+ if (watchProps === null || watchProps === void 0 ? void 0 : watchProps.includes('defaultSelectedKeys')) {
315
+ watchEffect(() => {
316
+ uncontrolledSelectedKeysRef.value = props.defaultSelectedKeys;
317
+ });
318
+ } else {
319
+ uncontrolledSelectedKeysRef.value = props.defaultSelectedKeys;
320
+ }
321
+ const controlledSelectedKeysRef = toRef(props, 'selectedKeys');
322
+ const mergedSelectedKeysRef = useMergedState(controlledSelectedKeysRef, uncontrolledSelectedKeysRef);
323
+ const uncontrolledExpandedKeysRef = ref([]);
324
+ const initUncontrolledExpandedKeys = keys => {
325
+ uncontrolledExpandedKeysRef.value = props.defaultExpandAll ? dataTreeMateRef.value.getNonLeafKeys() : keys === undefined ? props.defaultExpandedKeys : keys;
326
+ };
327
+ if (watchProps === null || watchProps === void 0 ? void 0 : watchProps.includes('defaultExpandedKeys')) {
328
+ // if watching defaultExpandedKeys, we use access props.defaultExpandedKeys inside initiator
329
+ watchEffect(() => {
330
+ initUncontrolledExpandedKeys(undefined);
331
+ });
332
+ } else {
333
+ // We by default watchEffect since if defaultExpandAll is true, we should remain tree expand if data changes
334
+ watchEffect(() => {
335
+ initUncontrolledExpandedKeys(props.defaultExpandedKeys);
336
+ });
337
+ }
338
+ const controlledExpandedKeysRef = toRef(props, 'expandedKeys');
339
+ const mergedExpandedKeysRef = useMergedState(controlledExpandedKeysRef, uncontrolledExpandedKeysRef);
340
+ const fNodesRef = computed(() => displayTreeMateRef.value.getFlattenedNodes(mergedExpandedKeysRef.value));
341
+ const {
342
+ pendingNodeKeyRef,
343
+ handleKeydown
344
+ } = useKeyboard({
345
+ props,
346
+ mergedCheckedKeysRef,
347
+ mergedSelectedKeysRef,
348
+ fNodesRef,
349
+ mergedExpandedKeysRef,
350
+ handleCheck,
351
+ handleSelect,
352
+ handleSwitcherClick
353
+ });
354
+ let expandTimerId = null;
355
+ let nodeKeyToBeExpanded = null;
356
+ const uncontrolledHighlightKeySetRef = ref(new Set());
357
+ const controlledHighlightKeySetRef = computed(() => {
358
+ return props.internalHighlightKeySet || filteredTreeInfoRef.value.highlightKeySet;
359
+ });
360
+ const mergedHighlightKeySetRef = useMergedState(controlledHighlightKeySetRef, uncontrolledHighlightKeySetRef);
361
+ const loadingKeysRef = ref(new Set());
362
+ const expandedNonLoadingKeysRef = computed(() => {
363
+ return mergedExpandedKeysRef.value.filter(key => !loadingKeysRef.value.has(key));
364
+ });
365
+ let dragStartX = 0;
366
+ const draggingNodeRef = ref(null);
367
+ const droppingNodeRef = ref(null);
368
+ const droppingMouseNodeRef = ref(null);
369
+ const droppingPositionRef = ref(null);
370
+ const droppingOffsetLevelRef = ref(0);
371
+ const droppingNodeParentRef = computed(() => {
372
+ const {
373
+ value: droppingNode
374
+ } = droppingNodeRef;
375
+ if (!droppingNode) return null;
376
+ // May avoid overlap between line mark of first child & rect mark of parent
377
+ // if (droppingNode.isFirstChild && droppingPositionRef.value === 'before') {
378
+ // return null
379
+ // }
380
+ return droppingNode.parent;
381
+ });
382
+ // shallow watch data
383
+ let isDataReset = false;
384
+ watch(toRef(props, 'data'), () => {
385
+ isDataReset = true;
386
+ void nextTick(() => {
387
+ isDataReset = false;
388
+ });
389
+ loadingKeysRef.value.clear();
390
+ pendingNodeKeyRef.value = null;
391
+ resetDndState();
392
+ }, {
393
+ deep: false
394
+ });
395
+ let expandAnimationDisabled = false;
396
+ const disableExpandAnimationForOneTick = () => {
397
+ expandAnimationDisabled = true;
398
+ void nextTick(() => {
399
+ expandAnimationDisabled = false;
400
+ });
401
+ };
402
+ let memoizedExpandedKeys;
403
+ watch(toRef(props, 'pattern'), (value, oldValue) => {
404
+ if (props.showIrrelevantNodes) {
405
+ memoizedExpandedKeys = undefined;
406
+ if (value) {
407
+ const {
408
+ expandedKeys: expandedKeysAfterChange,
409
+ highlightKeySet
410
+ } = keysWithFilter(props.data, props.pattern, props.keyField, props.childrenField, mergedFilterRef.value);
411
+ uncontrolledHighlightKeySetRef.value = highlightKeySet;
412
+ disableExpandAnimationForOneTick();
413
+ doUpdateExpandedKeys(expandedKeysAfterChange, getOptionsByKeys(expandedKeysAfterChange), {
414
+ node: null,
415
+ action: 'filter'
416
+ });
417
+ } else {
418
+ uncontrolledHighlightKeySetRef.value = new Set();
419
+ }
420
+ } else {
421
+ if (!value.length) {
422
+ if (memoizedExpandedKeys !== undefined) {
423
+ disableExpandAnimationForOneTick();
424
+ doUpdateExpandedKeys(memoizedExpandedKeys, getOptionsByKeys(memoizedExpandedKeys), {
425
+ node: null,
426
+ action: 'filter'
427
+ });
428
+ }
429
+ } else {
430
+ if (!oldValue.length) {
431
+ memoizedExpandedKeys = mergedExpandedKeysRef.value;
432
+ }
433
+ const {
434
+ expandedKeys
435
+ } = filteredTreeInfoRef.value;
436
+ if (expandedKeys !== undefined) {
437
+ disableExpandAnimationForOneTick();
438
+ doUpdateExpandedKeys(expandedKeys, getOptionsByKeys(expandedKeys), {
439
+ node: null,
440
+ action: 'filter'
441
+ });
442
+ }
443
+ }
444
+ }
445
+ });
446
+ function triggerLoading(node) {
447
+ return __awaiter(this, void 0, void 0, function* () {
448
+ const {
449
+ onLoad
450
+ } = props;
451
+ if (!onLoad) {
452
+ if (process.env.NODE_ENV !== 'production') {
453
+ warn('tree', 'There is unloaded node in data but props.onLoad is not specified.');
454
+ }
455
+ yield Promise.resolve();
456
+ return;
457
+ }
458
+ const {
459
+ value: loadingKeys
460
+ } = loadingKeysRef;
461
+ if (!loadingKeys.has(node.key)) {
462
+ loadingKeys.add(node.key);
463
+ try {
464
+ const loadResult = yield onLoad(node.rawNode);
465
+ if (loadResult === false) {
466
+ resetDragExpandState();
467
+ }
468
+ } catch (loadError) {
469
+ console.error(loadError);
470
+ resetDragExpandState();
471
+ }
472
+ loadingKeys.delete(node.key);
473
+ }
474
+ });
475
+ }
476
+ watchEffect(() => {
477
+ var _a;
478
+ const {
479
+ value: displayTreeMate
480
+ } = displayTreeMateRef;
481
+ if (!displayTreeMate) return;
482
+ const {
483
+ getNode
484
+ } = displayTreeMate;
485
+ (_a = mergedExpandedKeysRef.value) === null || _a === void 0 ? void 0 : _a.forEach(key => {
486
+ const node = getNode(key);
487
+ if (node && !node.shallowLoaded) {
488
+ void triggerLoading(node);
489
+ }
490
+ });
491
+ });
492
+ // animation in progress
493
+ const aipRef = ref(false);
494
+ // animation flattened nodes
495
+ const afNodesRef = ref([]);
496
+ // Note: Since the virtual list depends on min height, if there's a node
497
+ // whose height starts from 0, the virtual list will have a wrong height
498
+ // during animation. This will seldom cause wired scrollbar status. It is
499
+ // fixable and need some changes in vueuc, I've no time so I just leave it
500
+ // here. Maybe the bug won't be fixed during the life time of the project.
501
+ watch(expandedNonLoadingKeysRef, (value, prevValue) => {
502
+ if (!props.animated || expandAnimationDisabled) {
503
+ void nextTick(syncScrollbar);
504
+ return;
505
+ }
506
+ if (isDataReset) {
507
+ return;
508
+ }
509
+ const nodeHeight = depx(themeRef.value.self.nodeHeight);
510
+ const prevVSet = new Set(prevValue);
511
+ let addedKey = null;
512
+ let removedKey = null;
513
+ for (const expandedKey of value) {
514
+ if (!prevVSet.has(expandedKey)) {
515
+ if (addedKey !== null) return; // multi expand, not triggered by click
516
+ addedKey = expandedKey;
517
+ }
518
+ }
519
+ const currentVSet = new Set(value);
520
+ for (const expandedKey of prevValue) {
521
+ if (!currentVSet.has(expandedKey)) {
522
+ if (removedKey !== null) return; // multi collapse, not triggered by click
523
+ removedKey = expandedKey;
524
+ }
525
+ }
526
+ if (addedKey === null && removedKey === null) {
527
+ // 1. multi action, not triggered by click
528
+ // 2. no action, don't know what happened
529
+ return;
530
+ }
531
+ const {
532
+ virtualScroll
533
+ } = props;
534
+ const viewportHeight = (virtualScroll ? virtualListInstRef.value.listElRef : selfElRef.value).offsetHeight;
535
+ const viewportItemCount = Math.ceil(viewportHeight / nodeHeight) + 1;
536
+ // play add animation
537
+ let baseExpandedKeys;
538
+ if (addedKey !== null) {
539
+ baseExpandedKeys = prevValue;
540
+ }
541
+ if (removedKey !== null) {
542
+ if (baseExpandedKeys === undefined) {
543
+ baseExpandedKeys = value;
544
+ } else {
545
+ baseExpandedKeys = baseExpandedKeys.filter(key => key !== removedKey);
546
+ }
547
+ }
548
+ aipRef.value = true;
549
+ afNodesRef.value = displayTreeMateRef.value.getFlattenedNodes(baseExpandedKeys);
550
+ if (addedKey !== null) {
551
+ const expandedNodeIndex = afNodesRef.value.findIndex(node => node.key === addedKey);
552
+ if (~expandedNodeIndex) {
553
+ const children =
554
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
555
+ afNodesRef.value[expandedNodeIndex].children;
556
+ // sometimes user will pass leaf keys in
557
+ if (children) {
558
+ const expandedChildren = flatten(children, value);
559
+ afNodesRef.value.splice(expandedNodeIndex + 1, 0, {
560
+ __motion: true,
561
+ mode: 'expand',
562
+ height: virtualScroll ? expandedChildren.length * nodeHeight : undefined,
563
+ nodes: virtualScroll ? expandedChildren.slice(0, viewportItemCount) : expandedChildren
564
+ });
565
+ }
566
+ }
567
+ }
568
+ if (removedKey !== null) {
569
+ const collapsedNodeIndex = afNodesRef.value.findIndex(node => node.key === removedKey);
570
+ if (~collapsedNodeIndex) {
571
+ const collapsedNodeChildren = afNodesRef.value[collapsedNodeIndex].children;
572
+ // Sometime the whole tree is change, remove a key doesn't mean it is collapsed,
573
+ // but maybe children removed
574
+ if (!collapsedNodeChildren) return;
575
+ // play remove animation
576
+ aipRef.value = true;
577
+ const collapsedChildren = flatten(collapsedNodeChildren, value);
578
+ afNodesRef.value.splice(collapsedNodeIndex + 1, 0, {
579
+ __motion: true,
580
+ mode: 'collapse',
581
+ height: virtualScroll ? collapsedChildren.length * nodeHeight : undefined,
582
+ nodes: virtualScroll ? collapsedChildren.slice(0, viewportItemCount) : collapsedChildren
583
+ });
584
+ }
585
+ }
586
+ });
587
+ const getFIndexRef = computed(() => {
588
+ return createIndexGetter(fNodesRef.value);
589
+ });
590
+ const mergedFNodesRef = computed(() => {
591
+ if (aipRef.value) return afNodesRef.value;else return fNodesRef.value;
592
+ });
593
+ function syncScrollbar() {
594
+ const {
595
+ value: scrollbarInst
596
+ } = scrollbarInstRef;
597
+ if (scrollbarInst) scrollbarInst.sync();
598
+ }
599
+ function handleAfterEnter() {
600
+ aipRef.value = false;
601
+ if (props.virtualScroll) {
602
+ // If virtual scroll, we won't listen to resize during animation, so
603
+ // resize callback of virtual list won't be called and as a result
604
+ // scrollbar won't sync. We need to sync scrollbar manually.
605
+ void nextTick(syncScrollbar);
606
+ }
607
+ }
608
+ function getOptionsByKeys(keys) {
609
+ const {
610
+ getNode
611
+ } = dataTreeMateRef.value;
612
+ return keys.map(key => {
613
+ var _a;
614
+ return ((_a = getNode(key)) === null || _a === void 0 ? void 0 : _a.rawNode) || null;
615
+ });
616
+ }
617
+ function doUpdateExpandedKeys(value, option, meta) {
618
+ const {
619
+ 'onUpdate:expandedKeys': _onUpdateExpandedKeys,
620
+ onUpdateExpandedKeys
621
+ } = props;
622
+ uncontrolledExpandedKeysRef.value = value;
623
+ if (_onUpdateExpandedKeys) {
624
+ call(_onUpdateExpandedKeys, value, option, meta);
625
+ }
626
+ if (onUpdateExpandedKeys) {
627
+ call(onUpdateExpandedKeys, value, option, meta);
628
+ }
629
+ }
630
+ function doUpdateCheckedKeys(value, option, meta) {
631
+ const {
632
+ 'onUpdate:checkedKeys': _onUpdateCheckedKeys,
633
+ onUpdateCheckedKeys
634
+ } = props;
635
+ uncontrolledCheckedKeysRef.value = value;
636
+ if (onUpdateCheckedKeys) {
637
+ call(onUpdateCheckedKeys, value, option, meta);
638
+ }
639
+ if (_onUpdateCheckedKeys) {
640
+ call(_onUpdateCheckedKeys, value, option, meta);
641
+ }
642
+ }
643
+ function doUpdateIndeterminateKeys(value, option) {
644
+ const {
645
+ 'onUpdate:indeterminateKeys': _onUpdateIndeterminateKeys,
646
+ onUpdateIndeterminateKeys
647
+ } = props;
648
+ if (_onUpdateIndeterminateKeys) {
649
+ call(_onUpdateIndeterminateKeys, value, option);
650
+ }
651
+ if (onUpdateIndeterminateKeys) {
652
+ call(onUpdateIndeterminateKeys, value, option);
653
+ }
654
+ }
655
+ function doUpdateSelectedKeys(value, option, meta) {
656
+ const {
657
+ 'onUpdate:selectedKeys': _onUpdateSelectedKeys,
658
+ onUpdateSelectedKeys
659
+ } = props;
660
+ uncontrolledSelectedKeysRef.value = value;
661
+ if (onUpdateSelectedKeys) {
662
+ call(onUpdateSelectedKeys, value, option, meta);
663
+ }
664
+ if (_onUpdateSelectedKeys) {
665
+ call(_onUpdateSelectedKeys, value, option, meta);
666
+ }
667
+ }
668
+ // Drag & Drop
669
+ function doDragEnter(info) {
670
+ const {
671
+ onDragenter
672
+ } = props;
673
+ if (onDragenter) call(onDragenter, info);
674
+ }
675
+ function doDragLeave(info) {
676
+ const {
677
+ onDragleave
678
+ } = props;
679
+ if (onDragleave) call(onDragleave, info);
680
+ }
681
+ function doDragEnd(info) {
682
+ const {
683
+ onDragend
684
+ } = props;
685
+ if (onDragend) call(onDragend, info);
686
+ }
687
+ function doDragStart(info) {
688
+ const {
689
+ onDragstart
690
+ } = props;
691
+ if (onDragstart) call(onDragstart, info);
692
+ }
693
+ function doDragOver(info) {
694
+ const {
695
+ onDragover
696
+ } = props;
697
+ if (onDragover) call(onDragover, info);
698
+ }
699
+ function doDrop(info) {
700
+ const {
701
+ onDrop
702
+ } = props;
703
+ if (onDrop) call(onDrop, info);
704
+ }
705
+ function resetDndState() {
706
+ resetDragState();
707
+ resetDropState();
708
+ }
709
+ function resetDragState() {
710
+ draggingNodeRef.value = null;
711
+ }
712
+ function resetDropState() {
713
+ droppingOffsetLevelRef.value = 0;
714
+ droppingNodeRef.value = null;
715
+ droppingMouseNodeRef.value = null;
716
+ droppingPositionRef.value = null;
717
+ resetDragExpandState();
718
+ }
719
+ function resetDragExpandState() {
720
+ if (expandTimerId) {
721
+ window.clearTimeout(expandTimerId);
722
+ expandTimerId = null;
723
+ }
724
+ nodeKeyToBeExpanded = null;
725
+ }
726
+ function handleCheck(node, checked) {
727
+ // We don't guard for leaf only since we have done it in view layer
728
+ if (props.disabled || isNodeDisabled(node, props.disabledField)) {
729
+ return;
730
+ }
731
+ if (props.internalUnifySelectCheck && !props.multiple) {
732
+ handleSelect(node);
733
+ return;
734
+ }
735
+ const checkedAction = checked ? 'check' : 'uncheck';
736
+ const {
737
+ checkedKeys,
738
+ indeterminateKeys
739
+ } = dataTreeMateRef.value[checkedAction](node.key, displayedCheckedKeysRef.value, {
740
+ cascade: props.cascade,
741
+ checkStrategy: mergedCheckStrategyRef.value,
742
+ allowNotLoaded: props.allowCheckingNotLoaded
743
+ });
744
+ doUpdateCheckedKeys(checkedKeys, getOptionsByKeys(checkedKeys), {
745
+ node: node.rawNode,
746
+ action: checkedAction
747
+ });
748
+ doUpdateIndeterminateKeys(indeterminateKeys, getOptionsByKeys(indeterminateKeys));
749
+ }
750
+ function toggleExpand(node) {
751
+ if (props.disabled) return;
752
+ const {
753
+ key
754
+ } = node;
755
+ const {
756
+ value: mergedExpandedKeys
757
+ } = mergedExpandedKeysRef;
758
+ const index = mergedExpandedKeys.findIndex(expandNodeId => expandNodeId === key);
759
+ if (~index) {
760
+ const expandedKeysAfterChange = Array.from(mergedExpandedKeys);
761
+ expandedKeysAfterChange.splice(index, 1);
762
+ doUpdateExpandedKeys(expandedKeysAfterChange, getOptionsByKeys(expandedKeysAfterChange), {
763
+ node: node.rawNode,
764
+ action: 'collapse'
765
+ });
766
+ } else {
767
+ const nodeToBeExpanded = displayTreeMateRef.value.getNode(key);
768
+ if (!nodeToBeExpanded || nodeToBeExpanded.isLeaf) {
769
+ return;
770
+ }
771
+ let nextKeys;
772
+ if (props.accordion) {
773
+ const siblingKeySet = new Set(node.siblings.map(({
774
+ key
775
+ }) => key));
776
+ nextKeys = mergedExpandedKeys.filter(expandedKey => {
777
+ return !siblingKeySet.has(expandedKey);
778
+ });
779
+ nextKeys.push(key);
780
+ } else {
781
+ nextKeys = mergedExpandedKeys.concat(key);
782
+ }
783
+ doUpdateExpandedKeys(nextKeys, getOptionsByKeys(nextKeys), {
784
+ node: node.rawNode,
785
+ action: 'expand'
786
+ });
787
+ }
788
+ }
789
+ function handleSwitcherClick(node) {
790
+ if (props.disabled || aipRef.value) return;
791
+ toggleExpand(node);
792
+ }
793
+ function handleSelect(node) {
794
+ if (props.disabled || !props.selectable) {
795
+ return;
796
+ }
797
+ pendingNodeKeyRef.value = node.key;
798
+ if (props.internalUnifySelectCheck) {
799
+ const {
800
+ value: {
801
+ checkedKeys,
802
+ indeterminateKeys
803
+ }
804
+ } = checkedStatusRef;
805
+ if (props.multiple) {
806
+ handleCheck(node, !(checkedKeys.includes(node.key) || indeterminateKeys.includes(node.key)));
807
+ } else {
808
+ doUpdateCheckedKeys([node.key], getOptionsByKeys([node.key]), {
809
+ node: node.rawNode,
810
+ action: 'check'
811
+ });
812
+ }
813
+ }
814
+ if (props.multiple) {
815
+ const selectedKeys = Array.from(mergedSelectedKeysRef.value);
816
+ const index = selectedKeys.findIndex(key => key === node.key);
817
+ if (~index) {
818
+ if (props.cancelable) {
819
+ selectedKeys.splice(index, 1);
820
+ }
821
+ } else if (!~index) {
822
+ selectedKeys.push(node.key);
823
+ }
824
+ doUpdateSelectedKeys(selectedKeys, getOptionsByKeys(selectedKeys), {
825
+ node: node.rawNode,
826
+ action: ~index ? 'unselect' : 'select'
827
+ });
828
+ } else {
829
+ const selectedKeys = mergedSelectedKeysRef.value;
830
+ if (selectedKeys.includes(node.key)) {
831
+ if (props.cancelable) {
832
+ doUpdateSelectedKeys([], [], {
833
+ node: node.rawNode,
834
+ action: 'unselect'
835
+ });
836
+ }
837
+ } else {
838
+ doUpdateSelectedKeys([node.key], getOptionsByKeys([node.key]), {
839
+ node: node.rawNode,
840
+ action: 'select'
841
+ });
842
+ }
843
+ }
844
+ }
845
+ function expandDragEnterNode(node) {
846
+ if (expandTimerId) {
847
+ window.clearTimeout(expandTimerId);
848
+ expandTimerId = null;
849
+ }
850
+ // Don't expand leaf node.
851
+ if (node.isLeaf) return;
852
+ nodeKeyToBeExpanded = node.key;
853
+ const expand = () => {
854
+ if (nodeKeyToBeExpanded !== node.key) return;
855
+ const {
856
+ value: droppingMouseNode
857
+ } = droppingMouseNodeRef;
858
+ if (droppingMouseNode && droppingMouseNode.key === node.key && !mergedExpandedKeysRef.value.includes(node.key)) {
859
+ const nextKeys = mergedExpandedKeysRef.value.concat(node.key);
860
+ doUpdateExpandedKeys(nextKeys, getOptionsByKeys(nextKeys), {
861
+ node: node.rawNode,
862
+ action: 'expand'
863
+ });
864
+ }
865
+ expandTimerId = null;
866
+ nodeKeyToBeExpanded = null;
867
+ };
868
+ if (!node.shallowLoaded) {
869
+ expandTimerId = window.setTimeout(() => {
870
+ void triggerLoading(node).then(() => {
871
+ expand();
872
+ });
873
+ }, 1000);
874
+ } else {
875
+ expandTimerId = window.setTimeout(() => {
876
+ expand();
877
+ }, 1000);
878
+ }
879
+ }
880
+ // Dnd
881
+ function handleDragEnter({
882
+ event,
883
+ node
884
+ }) {
885
+ // node should be a tmNode
886
+ if (!props.draggable || props.disabled || isNodeDisabled(node, props.disabledField)) {
887
+ return;
888
+ }
889
+ handleDragOver({
890
+ event,
891
+ node
892
+ }, false);
893
+ doDragEnter({
894
+ event,
895
+ node: node.rawNode
896
+ });
897
+ }
898
+ function handleDragLeave({
899
+ event,
900
+ node
901
+ }) {
902
+ if (!props.draggable || props.disabled || isNodeDisabled(node, props.disabledField)) {
903
+ return;
904
+ }
905
+ doDragLeave({
906
+ event,
907
+ node: node.rawNode
908
+ });
909
+ }
910
+ function handleDragLeaveTree(e) {
911
+ if (e.target !== e.currentTarget) return;
912
+ resetDropState();
913
+ }
914
+ // Dragend is ok, we don't need to add global listener to reset drag status
915
+ function handleDragEnd({
916
+ event,
917
+ node
918
+ }) {
919
+ resetDndState();
920
+ if (!props.draggable || props.disabled || isNodeDisabled(node, props.disabledField)) {
921
+ return;
922
+ }
923
+ doDragEnd({
924
+ event,
925
+ node: node.rawNode
926
+ });
927
+ }
928
+ function handleDragStart({
929
+ event,
930
+ node
931
+ }) {
932
+ var _a;
933
+ if (!props.draggable || props.disabled || isNodeDisabled(node, props.disabledField)) {
934
+ return;
935
+ }
936
+ // Most of time, the image will block user's view
937
+ emptyImage && ((_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.setDragImage(emptyImage, 0, 0));
938
+ dragStartX = event.clientX;
939
+ draggingNodeRef.value = node;
940
+ doDragStart({
941
+ event,
942
+ node: node.rawNode
943
+ });
944
+ }
945
+ function handleDragOver({
946
+ event,
947
+ node
948
+ }, emit = true) {
949
+ var _a;
950
+ if (!props.draggable || props.disabled || isNodeDisabled(node, props.disabledField)) {
951
+ return;
952
+ }
953
+ const {
954
+ value: draggingNode
955
+ } = draggingNodeRef;
956
+ if (!draggingNode) return;
957
+ const {
958
+ allowDrop,
959
+ indent
960
+ } = props;
961
+ if (emit) doDragOver({
962
+ event,
963
+ node: node.rawNode
964
+ });
965
+ // Update dropping node
966
+ const el = event.currentTarget;
967
+ const {
968
+ height: elOffsetHeight,
969
+ top: elClientTop
970
+ } = el.getBoundingClientRect();
971
+ const eventOffsetY = event.clientY - elClientTop;
972
+ let mousePosition;
973
+ const allowDropInside = allowDrop({
974
+ node: node.rawNode,
975
+ dropPosition: 'inside',
976
+ phase: 'drag'
977
+ });
978
+ if (allowDropInside) {
979
+ if (eventOffsetY <= 8) {
980
+ mousePosition = 'before';
981
+ } else if (eventOffsetY >= elOffsetHeight - 8) {
982
+ mousePosition = 'after';
983
+ } else {
984
+ mousePosition = 'inside';
985
+ }
986
+ } else {
987
+ if (eventOffsetY <= elOffsetHeight / 2) {
988
+ mousePosition = 'before';
989
+ } else {
990
+ mousePosition = 'after';
991
+ }
992
+ }
993
+ const {
994
+ value: getFindex
995
+ } = getFIndexRef;
996
+ /** determine the drop position and drop node */
997
+ /** the dropping node needn't to be the mouse hovering node! */
998
+ /**
999
+ * if there is something i've learned from implementing a complex
1000
+ * drag & drop. that is never write unit test before you really figure
1001
+ * out what behavior is exactly you want.
1002
+ */
1003
+ let finalDropNode;
1004
+ let finalDropPosition;
1005
+ const hoverNodeFIndex = getFindex(node.key);
1006
+ if (hoverNodeFIndex === null) {
1007
+ resetDropState();
1008
+ return;
1009
+ }
1010
+ let mouseAtExpandedNonLeafNode = false;
1011
+ if (mousePosition === 'inside') {
1012
+ finalDropNode = node;
1013
+ finalDropPosition = 'inside';
1014
+ } else {
1015
+ if (mousePosition === 'before') {
1016
+ if (node.isFirstChild) {
1017
+ finalDropNode = node;
1018
+ finalDropPosition = 'before';
1019
+ } else {
1020
+ finalDropNode = fNodesRef.value[hoverNodeFIndex - 1];
1021
+ finalDropPosition = 'after';
1022
+ }
1023
+ } else {
1024
+ finalDropNode = node;
1025
+ finalDropPosition = 'after';
1026
+ }
1027
+ }
1028
+ // If the node is non-leaf and it is expanded, we don't allow it to
1029
+ // drop after it and change it to drop before its next view sibling
1030
+ if (!finalDropNode.isLeaf && mergedExpandedKeysRef.value.includes(finalDropNode.key)) {
1031
+ mouseAtExpandedNonLeafNode = true;
1032
+ if (finalDropPosition === 'after') {
1033
+ finalDropNode = fNodesRef.value[hoverNodeFIndex + 1];
1034
+ if (!finalDropNode) {
1035
+ // maybe there is no next view sibling when non-leaf node has no
1036
+ // children and it is the last node in the tree
1037
+ finalDropNode = node;
1038
+ finalDropPosition = 'inside';
1039
+ } else {
1040
+ finalDropPosition = 'before';
1041
+ }
1042
+ }
1043
+ }
1044
+ const droppingMouseNode = finalDropNode;
1045
+ droppingMouseNodeRef.value = droppingMouseNode;
1046
+ // This is a speacial case, user is dragging a last child itself, so we
1047
+ // only view it as they are trying to drop after it.
1048
+ // There are some relevant codes in bailout 1's child branch.
1049
+ // Also, the expand bailout should have a high priority. If it's non-leaf
1050
+ // node and expanded, keep its origin drop position
1051
+ if (!mouseAtExpandedNonLeafNode && draggingNode.isLastChild && draggingNode.key === finalDropNode.key) {
1052
+ finalDropPosition = 'after';
1053
+ }
1054
+ if (finalDropPosition === 'after') {
1055
+ let offset = dragStartX - event.clientX; // drag left => > 0
1056
+ let offsetLevel = 0;
1057
+ while (offset >= indent / 2 &&
1058
+ // divide by 2 to make it easier to trigger
1059
+ finalDropNode.parent !== null && finalDropNode.isLastChild && offsetLevel < 1) {
1060
+ offset -= indent;
1061
+ offsetLevel += 1;
1062
+ finalDropNode = finalDropNode.parent;
1063
+ }
1064
+ droppingOffsetLevelRef.value = offsetLevel;
1065
+ } else {
1066
+ droppingOffsetLevelRef.value = 0;
1067
+ }
1068
+ // Bailout 1
1069
+ // Drag self into self
1070
+ // Drag it into direct parent
1071
+ if (draggingNode.contains(finalDropNode) || finalDropPosition === 'inside' && ((_a = draggingNode.parent) === null || _a === void 0 ? void 0 : _a.key) === finalDropNode.key) {
1072
+ if (draggingNode.key === droppingMouseNode.key && draggingNode.key === finalDropNode.key) {
1073
+ // This is special case that we want ui to show a mark to guide user
1074
+ // to start dragging. Nor they will think nothing happens.
1075
+ // However this is an invalid drop, we need to guard it inside
1076
+ // handleDrop
1077
+ } else {
1078
+ resetDropState();
1079
+ return;
1080
+ }
1081
+ }
1082
+ // Bailout 3
1083
+ if (!allowDrop({
1084
+ node: finalDropNode.rawNode,
1085
+ dropPosition: finalDropPosition,
1086
+ phase: 'drag'
1087
+ })) {
1088
+ resetDropState();
1089
+ return;
1090
+ }
1091
+ if (draggingNode.key === finalDropNode.key) {
1092
+ // don't expand when drag on itself
1093
+ resetDragExpandState();
1094
+ } else {
1095
+ if (nodeKeyToBeExpanded !== finalDropNode.key) {
1096
+ if (finalDropPosition === 'inside') {
1097
+ if (props.expandOnDragenter) {
1098
+ expandDragEnterNode(finalDropNode);
1099
+ // Bailout 4
1100
+ // not try to loading
1101
+ if (!finalDropNode.shallowLoaded && nodeKeyToBeExpanded !== finalDropNode.key) {
1102
+ resetDndState();
1103
+ return;
1104
+ }
1105
+ } else {
1106
+ // Bailout 5
1107
+ // never expands on drag
1108
+ if (!finalDropNode.shallowLoaded) {
1109
+ resetDndState();
1110
+ return;
1111
+ }
1112
+ }
1113
+ } else {
1114
+ resetDragExpandState();
1115
+ }
1116
+ } else {
1117
+ if (finalDropPosition !== 'inside') {
1118
+ resetDragExpandState();
1119
+ }
1120
+ }
1121
+ }
1122
+ droppingPositionRef.value = finalDropPosition;
1123
+ droppingNodeRef.value = finalDropNode;
1124
+ }
1125
+ function handleDrop({
1126
+ event,
1127
+ node,
1128
+ dropPosition
1129
+ }) {
1130
+ if (!props.draggable || props.disabled || isNodeDisabled(node, props.disabledField)) {
1131
+ return;
1132
+ }
1133
+ const {
1134
+ value: draggingNode
1135
+ } = draggingNodeRef;
1136
+ const {
1137
+ value: droppingNode
1138
+ } = droppingNodeRef;
1139
+ const {
1140
+ value: droppingPosition
1141
+ } = droppingPositionRef;
1142
+ if (!draggingNode || !droppingNode || !droppingPosition) {
1143
+ return;
1144
+ }
1145
+ // Bailout 1
1146
+ if (!props.allowDrop({
1147
+ node: droppingNode.rawNode,
1148
+ dropPosition: droppingPosition,
1149
+ phase: 'drag'
1150
+ })) {
1151
+ return;
1152
+ }
1153
+ // Bailout 2
1154
+ // This is a special case to guard since we want ui to show the status
1155
+ // but not to emit a event
1156
+ if (draggingNode.key === droppingNode.key) {
1157
+ return;
1158
+ }
1159
+ // Bailout 3
1160
+ // insert before its next node
1161
+ // insert after its prev node
1162
+ if (droppingPosition === 'before') {
1163
+ const nextNode = draggingNode.getNext({
1164
+ includeDisabled: true
1165
+ });
1166
+ if (nextNode) {
1167
+ if (nextNode.key === droppingNode.key) {
1168
+ resetDropState();
1169
+ return;
1170
+ }
1171
+ }
1172
+ }
1173
+ if (droppingPosition === 'after') {
1174
+ const prevNode = draggingNode.getPrev({
1175
+ includeDisabled: true
1176
+ });
1177
+ if (prevNode) {
1178
+ if (prevNode.key === droppingNode.key) {
1179
+ resetDropState();
1180
+ return;
1181
+ }
1182
+ }
1183
+ }
1184
+ doDrop({
1185
+ event,
1186
+ node: droppingNode.rawNode,
1187
+ dragNode: draggingNode.rawNode,
1188
+ dropPosition
1189
+ });
1190
+ resetDndState();
1191
+ }
1192
+ function handleScroll() {
1193
+ syncScrollbar();
1194
+ }
1195
+ function handleResize() {
1196
+ syncScrollbar();
1197
+ }
1198
+ function handleFocusout(e) {
1199
+ var _a;
1200
+ if (props.virtualScroll || props.internalScrollable) {
1201
+ const {
1202
+ value: scrollbarInst
1203
+ } = scrollbarInstRef;
1204
+ if ((_a = scrollbarInst === null || scrollbarInst === void 0 ? void 0 : scrollbarInst.containerRef) === null || _a === void 0 ? void 0 : _a.contains(e.relatedTarget)) {
1205
+ return;
1206
+ }
1207
+ pendingNodeKeyRef.value = null;
1208
+ } else {
1209
+ const {
1210
+ value: selfEl
1211
+ } = selfElRef;
1212
+ if (selfEl === null || selfEl === void 0 ? void 0 : selfEl.contains(e.relatedTarget)) return;
1213
+ pendingNodeKeyRef.value = null;
1214
+ }
1215
+ }
1216
+ watch(pendingNodeKeyRef, value => {
1217
+ var _a, _b;
1218
+ if (value === null) return;
1219
+ if (props.virtualScroll) {
1220
+ (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo({
1221
+ key: value
1222
+ });
1223
+ } else if (props.internalScrollable) {
1224
+ const {
1225
+ value: scrollbarInst
1226
+ } = scrollbarInstRef;
1227
+ if (scrollbarInst === null) return;
1228
+ const targetEl = (_b = scrollbarInst.contentRef) === null || _b === void 0 ? void 0 : _b.querySelector(`[data-key="${createDataKey(value)}"]`);
1229
+ if (!targetEl) return;
1230
+ scrollbarInst.scrollTo({
1231
+ el: targetEl
1232
+ });
1233
+ }
1234
+ });
1235
+ provide(treeInjectionKey, {
1236
+ loadingKeysRef,
1237
+ highlightKeySetRef: mergedHighlightKeySetRef,
1238
+ displayedCheckedKeysRef,
1239
+ displayedIndeterminateKeysRef,
1240
+ mergedSelectedKeysRef,
1241
+ mergedExpandedKeysRef,
1242
+ mergedThemeRef: themeRef,
1243
+ mergedCheckStrategyRef,
1244
+ nodePropsRef: toRef(props, 'nodeProps'),
1245
+ disabledRef: toRef(props, 'disabled'),
1246
+ checkableRef: toRef(props, 'checkable'),
1247
+ selectableRef: toRef(props, 'selectable'),
1248
+ expandOnClickRef: toRef(props, 'expandOnClick'),
1249
+ onLoadRef: toRef(props, 'onLoad'),
1250
+ draggableRef: toRef(props, 'draggable'),
1251
+ blockLineRef: toRef(props, 'blockLine'),
1252
+ indentRef: toRef(props, 'indent'),
1253
+ cascadeRef: toRef(props, 'cascade'),
1254
+ checkOnClickRef: toRef(props, 'checkOnClick'),
1255
+ checkboxPlacementRef: props.checkboxPlacement,
1256
+ droppingMouseNodeRef,
1257
+ droppingNodeParentRef,
1258
+ draggingNodeRef,
1259
+ droppingPositionRef,
1260
+ droppingOffsetLevelRef,
1261
+ fNodesRef,
1262
+ pendingNodeKeyRef,
1263
+ showLineRef: toRef(props, 'showLine'),
1264
+ disabledFieldRef: toRef(props, 'disabledField'),
1265
+ internalScrollableRef: toRef(props, 'internalScrollable'),
1266
+ internalCheckboxFocusableRef: toRef(props, 'internalCheckboxFocusable'),
1267
+ internalTreeSelect: props.internalTreeSelect,
1268
+ renderLabelRef: toRef(props, 'renderLabel'),
1269
+ renderPrefixRef: toRef(props, 'renderPrefix'),
1270
+ renderSuffixRef: toRef(props, 'renderSuffix'),
1271
+ renderSwitcherIconRef: toRef(props, 'renderSwitcherIcon'),
1272
+ labelFieldRef: toRef(props, 'labelField'),
1273
+ multipleRef: toRef(props, 'multiple'),
1274
+ overrideDefaultNodeClickBehaviorRef: toRef(props, 'overrideDefaultNodeClickBehavior'),
1275
+ handleSwitcherClick,
1276
+ handleDragEnd,
1277
+ handleDragEnter,
1278
+ handleDragLeave,
1279
+ handleDragStart,
1280
+ handleDrop,
1281
+ handleDragOver,
1282
+ handleSelect,
1283
+ handleCheck
1284
+ });
1285
+ function scrollTo(options, y) {
1286
+ var _a, _b;
1287
+ if (typeof options === 'number') {
1288
+ (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(options, y || 0);
1289
+ } else {
1290
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
1291
+ (_b = virtualListInstRef.value) === null || _b === void 0 ? void 0 : _b.scrollTo(options);
1292
+ }
1293
+ }
1294
+ const exposedMethods = {
1295
+ handleKeydown,
1296
+ scrollTo,
1297
+ getCheckedData: () => {
1298
+ if (!props.checkable) return {
1299
+ keys: [],
1300
+ options: []
1301
+ };
1302
+ const {
1303
+ checkedKeys
1304
+ } = checkedStatusRef.value;
1305
+ return {
1306
+ keys: checkedKeys,
1307
+ options: getOptionsByKeys(checkedKeys)
1308
+ };
1309
+ },
1310
+ getIndeterminateData: () => {
1311
+ if (!props.checkable) return {
1312
+ keys: [],
1313
+ options: []
1314
+ };
1315
+ const {
1316
+ indeterminateKeys
1317
+ } = checkedStatusRef.value;
1318
+ return {
1319
+ keys: indeterminateKeys,
1320
+ options: getOptionsByKeys(indeterminateKeys)
1321
+ };
1322
+ }
1323
+ };
1324
+ const cssVarsRef = computed(() => {
1325
+ const {
1326
+ common: {
1327
+ cubicBezierEaseInOut
1328
+ },
1329
+ self: {
1330
+ fontSize,
1331
+ nodeBorderRadius,
1332
+ nodeColorHover,
1333
+ nodeColorPressed,
1334
+ nodeColorActive,
1335
+ arrowColor,
1336
+ loadingColor,
1337
+ nodeTextColor,
1338
+ nodeTextColorDisabled,
1339
+ dropMarkColor,
1340
+ nodeWrapperPadding,
1341
+ nodeHeight,
1342
+ lineHeight,
1343
+ lineColor
1344
+ }
1345
+ } = themeRef.value;
1346
+ const lineOffsetTop = getPadding(nodeWrapperPadding, 'top');
1347
+ const lineOffsetBottom = getPadding(nodeWrapperPadding, 'bottom');
1348
+ const nodeContentHeight = pxfy(depx(nodeHeight) - depx(lineOffsetTop) - depx(lineOffsetBottom));
1349
+ return {
1350
+ '--n-arrow-color': arrowColor,
1351
+ '--n-loading-color': loadingColor,
1352
+ '--n-bezier': cubicBezierEaseInOut,
1353
+ '--n-font-size': fontSize,
1354
+ '--n-node-border-radius': nodeBorderRadius,
1355
+ '--n-node-color-active': nodeColorActive,
1356
+ '--n-node-color-hover': nodeColorHover,
1357
+ '--n-node-color-pressed': nodeColorPressed,
1358
+ '--n-node-text-color': nodeTextColor,
1359
+ '--n-node-text-color-disabled': nodeTextColorDisabled,
1360
+ '--n-drop-mark-color': dropMarkColor,
1361
+ '--n-node-wrapper-padding': nodeWrapperPadding,
1362
+ '--n-line-offset-top': `-${lineOffsetTop}`,
1363
+ '--n-line-offset-bottom': `-${lineOffsetBottom}`,
1364
+ '--n-node-content-height': nodeContentHeight,
1365
+ '--n-line-height': lineHeight,
1366
+ '--n-line-color': lineColor
1367
+ };
1368
+ });
1369
+ const themeClassHandle = inlineThemeDisabled ? useThemeClass('tree', undefined, cssVarsRef, props) : undefined;
1370
+ return Object.assign(Object.assign({}, exposedMethods), {
1371
+ mergedClsPrefix: mergedClsPrefixRef,
1372
+ mergedTheme: themeRef,
1373
+ rtlEnabled: rtlEnabledRef,
1374
+ fNodes: mergedFNodesRef,
1375
+ aip: aipRef,
1376
+ selfElRef,
1377
+ virtualListInstRef,
1378
+ scrollbarInstRef,
1379
+ handleFocusout,
1380
+ handleDragLeaveTree,
1381
+ handleScroll,
1382
+ getScrollContainer,
1383
+ getScrollContent,
1384
+ handleAfterEnter,
1385
+ handleResize,
1386
+ cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
1387
+ themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
1388
+ onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
1389
+ });
1390
+ },
1391
+ render() {
1392
+ var _a;
1393
+ const {
1394
+ fNodes,
1395
+ internalRenderEmpty
1396
+ } = this;
1397
+ if (!fNodes.length && internalRenderEmpty) {
1398
+ return internalRenderEmpty();
1399
+ }
1400
+ const {
1401
+ mergedClsPrefix,
1402
+ blockNode,
1403
+ blockLine,
1404
+ draggable,
1405
+ disabled,
1406
+ internalFocusable,
1407
+ checkable,
1408
+ handleKeydown,
1409
+ rtlEnabled,
1410
+ handleFocusout,
1411
+ scrollbarProps
1412
+ } = this;
1413
+ const mergedFocusable = internalFocusable && !disabled;
1414
+ const tabindex = mergedFocusable ? '0' : undefined;
1415
+ const treeClass = [`${mergedClsPrefix}-tree`, rtlEnabled && `${mergedClsPrefix}-tree--rtl`, checkable && `${mergedClsPrefix}-tree--checkable`, (blockLine || blockNode) && `${mergedClsPrefix}-tree--block-node`, blockLine && `${mergedClsPrefix}-tree--block-line`];
1416
+ const createNode = tmNode => {
1417
+ return '__motion' in tmNode ? h(MotionWrapper, {
1418
+ height: tmNode.height,
1419
+ nodes: tmNode.nodes,
1420
+ clsPrefix: mergedClsPrefix,
1421
+ mode: tmNode.mode,
1422
+ onAfterEnter: this.handleAfterEnter
1423
+ }) : h(NTreeNode, {
1424
+ key: tmNode.key,
1425
+ tmNode: tmNode,
1426
+ clsPrefix: mergedClsPrefix
1427
+ });
1428
+ };
1429
+ if (this.virtualScroll) {
1430
+ const {
1431
+ mergedTheme,
1432
+ internalScrollablePadding
1433
+ } = this;
1434
+ const padding = getPadding(internalScrollablePadding || '0');
1435
+ return h(NxScrollbar, Object.assign({}, scrollbarProps, {
1436
+ ref: "scrollbarInstRef",
1437
+ onDragleave: draggable ? this.handleDragLeaveTree : undefined,
1438
+ container: this.getScrollContainer,
1439
+ content: this.getScrollContent,
1440
+ class: treeClass,
1441
+ theme: mergedTheme.peers.Scrollbar,
1442
+ themeOverrides: mergedTheme.peerOverrides.Scrollbar,
1443
+ tabindex: tabindex,
1444
+ onKeydown: mergedFocusable ? handleKeydown : undefined,
1445
+ onFocusout: mergedFocusable ? handleFocusout : undefined
1446
+ }), {
1447
+ default: () => {
1448
+ var _a;
1449
+ (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
1450
+ return !fNodes.length ? resolveSlot(this.$slots.empty, () => [h(NEmpty, {
1451
+ class: `${mergedClsPrefix}-tree__empty`,
1452
+ theme: this.mergedTheme.peers.Empty,
1453
+ themeOverrides: this.mergedTheme.peerOverrides.Empty
1454
+ })]) : h(VVirtualList, {
1455
+ ref: "virtualListInstRef",
1456
+ items: this.fNodes,
1457
+ itemSize: depx(mergedTheme.self.nodeHeight),
1458
+ ignoreItemResize: this.aip,
1459
+ paddingTop: padding.top,
1460
+ paddingBottom: padding.bottom,
1461
+ class: this.themeClass,
1462
+ style: [this.cssVars, {
1463
+ paddingLeft: padding.left,
1464
+ paddingRight: padding.right
1465
+ }],
1466
+ onScroll: this.handleScroll,
1467
+ onResize: this.handleResize,
1468
+ showScrollbar: false,
1469
+ itemResizable: true
1470
+ }, {
1471
+ default: ({
1472
+ item
1473
+ }) => createNode(item)
1474
+ });
1475
+ }
1476
+ });
1477
+ }
1478
+ const {
1479
+ internalScrollable
1480
+ } = this;
1481
+ treeClass.push(this.themeClass);
1482
+ (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
1483
+ if (internalScrollable) {
1484
+ return h(NxScrollbar, Object.assign({}, scrollbarProps, {
1485
+ class: treeClass,
1486
+ tabindex: tabindex,
1487
+ onKeydown: mergedFocusable ? handleKeydown : undefined,
1488
+ onFocusout: mergedFocusable ? handleFocusout : undefined,
1489
+ style: this.cssVars,
1490
+ contentStyle: {
1491
+ padding: this.internalScrollablePadding
1492
+ }
1493
+ }), {
1494
+ default: () => h("div", {
1495
+ onDragleave: draggable ? this.handleDragLeaveTree : undefined,
1496
+ ref: "selfElRef"
1497
+ }, this.fNodes.map(createNode))
1498
+ });
1499
+ } else {
1500
+ return h("div", {
1501
+ class: treeClass,
1502
+ tabindex: tabindex,
1503
+ ref: "selfElRef",
1504
+ style: this.cssVars,
1505
+ onKeydown: mergedFocusable ? handleKeydown : undefined,
1506
+ onFocusout: mergedFocusable ? handleFocusout : undefined,
1507
+ onDragleave: draggable ? this.handleDragLeaveTree : undefined
1508
+ }, !fNodes.length ? resolveSlot(this.$slots.empty, () => [h(NEmpty, {
1509
+ class: `${mergedClsPrefix}-tree__empty`,
1510
+ theme: this.mergedTheme.peers.Empty,
1511
+ themeOverrides: this.mergedTheme.peerOverrides.Empty
1512
+ })]) : fNodes.map(createNode));
1513
+ }
1514
+ }
1515
+ });