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
@@ -1,1265 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- /* eslint-disable @typescript-eslint/no-non-null-assertion */
11
- import { h, ref, toRef, computed, defineComponent, provide, watch, nextTick, watchEffect, inject } from 'vue';
12
- import { createTreeMate, flatten, createIndexGetter } from 'treemate';
13
- import { useMergedState } from 'vooks';
14
- import { VVirtualList } from 'vueuc';
15
- import { depx, getPadding, pxfy } from 'seemly';
16
- import { treeSelectInjectionKey } from '../../tree-select/src/interface';
17
- import { useConfig, useTheme, useThemeClass, useRtl } from '../../_mixins';
18
- import { call, createDataKey, resolveSlot, warn, warnOnce } from '../../_utils';
19
- import { NxScrollbar } from '../../_internal';
20
- import { treeLight } from '../styles';
21
- import { NEmpty } from '../../empty';
22
- import NTreeNode from './TreeNode';
23
- import { keysWithFilter, emptyImage, filterTree, isNodeDisabled, useMergedCheckStrategy } from './utils';
24
- import { useKeyboard } from './keyboard';
25
- import { treeInjectionKey } from './interface';
26
- import MotionWrapper from './MotionWrapper';
27
- import { defaultAllowDrop } from './dnd';
28
- import style from './styles/index.cssr';
29
- export function createTreeMateOptions(keyField, childrenField, disabledField, getChildren) {
30
- const settledGetChildren = getChildren ||
31
- ((node) => {
32
- return node[childrenField];
33
- });
34
- return {
35
- getIsGroup() {
36
- return false;
37
- },
38
- getKey(node) {
39
- return node[keyField];
40
- },
41
- getChildren: settledGetChildren,
42
- getDisabled(node) {
43
- return !!(node[disabledField] || node.checkboxDisabled);
44
- }
45
- };
46
- }
47
- export const treeSharedProps = {
48
- allowCheckingNotLoaded: Boolean,
49
- filter: Function,
50
- defaultExpandAll: Boolean,
51
- expandedKeys: Array,
52
- keyField: {
53
- type: String,
54
- default: 'key'
55
- },
56
- labelField: {
57
- type: String,
58
- default: 'label'
59
- },
60
- childrenField: {
61
- type: String,
62
- default: 'children'
63
- },
64
- disabledField: {
65
- type: String,
66
- default: 'disabled'
67
- },
68
- defaultExpandedKeys: {
69
- type: Array,
70
- default: () => []
71
- },
72
- indeterminateKeys: Array,
73
- renderSwitcherIcon: Function,
74
- onUpdateIndeterminateKeys: [Function, Array],
75
- 'onUpdate:indeterminateKeys': [Function, Array],
76
- onUpdateExpandedKeys: [Function, Array],
77
- 'onUpdate:expandedKeys': [Function, Array]
78
- };
79
- export const treeProps = Object.assign(Object.assign(Object.assign(Object.assign({}, useTheme.props), { accordion: Boolean, showIrrelevantNodes: { type: Boolean, default: true }, data: {
80
- type: Array,
81
- default: () => []
82
- }, expandOnDragenter: {
83
- type: Boolean,
84
- default: true
85
- }, expandOnClick: Boolean, checkOnClick: {
86
- type: [Boolean, Function],
87
- default: false
88
- }, cancelable: {
89
- type: Boolean,
90
- default: true
91
- }, checkable: Boolean, draggable: Boolean, blockNode: Boolean, blockLine: Boolean, showLine: Boolean, disabled: Boolean, checkedKeys: Array, defaultCheckedKeys: {
92
- type: Array,
93
- default: () => []
94
- }, selectedKeys: Array, defaultSelectedKeys: {
95
- type: Array,
96
- default: () => []
97
- }, multiple: Boolean, pattern: {
98
- type: String,
99
- default: ''
100
- }, onLoad: Function, cascade: Boolean, selectable: {
101
- type: Boolean,
102
- default: true
103
- }, scrollbarProps: Object, indent: {
104
- type: Number,
105
- default: 24
106
- }, allowDrop: {
107
- type: Function,
108
- default: defaultAllowDrop
109
- }, animated: {
110
- type: Boolean,
111
- default: true
112
- }, checkboxPlacement: {
113
- type: String,
114
- default: 'left'
115
- }, virtualScroll: Boolean, watchProps: Array, renderLabel: Function, renderPrefix: Function, renderSuffix: Function, nodeProps: Function, keyboard: {
116
- type: Boolean,
117
- default: true
118
- }, getChildren: Function, onDragenter: [Function, Array], onDragleave: [Function, Array], onDragend: [Function, Array], onDragstart: [Function, Array], onDragover: [Function, Array], onDrop: [Function, Array], onUpdateCheckedKeys: [Function, Array], 'onUpdate:checkedKeys': [Function, Array], onUpdateSelectedKeys: [Function, Array], 'onUpdate:selectedKeys': [Function, Array] }), treeSharedProps), {
119
- // internal props for tree-select
120
- internalTreeSelect: Boolean, internalScrollable: Boolean, internalScrollablePadding: String,
121
- // use it to display
122
- internalRenderEmpty: Function, internalHighlightKeySet: Object, internalUnifySelectCheck: Boolean, internalCheckboxFocusable: {
123
- type: Boolean,
124
- default: true
125
- }, internalFocusable: {
126
- // Make tree-select take over keyboard operations
127
- type: Boolean,
128
- default: true
129
- }, checkStrategy: {
130
- type: String,
131
- default: 'all'
132
- },
133
- /**
134
- * @deprecated
135
- */
136
- leafOnly: Boolean });
137
- export default defineComponent({
138
- name: 'Tree',
139
- props: treeProps,
140
- setup(props) {
141
- if (process.env.NODE_ENV !== 'production') {
142
- watchEffect(() => {
143
- if (props.leafOnly) {
144
- warnOnce('tree', '`leaf-only` is deprecated, please use `check-strategy="child"` instead');
145
- }
146
- });
147
- }
148
- const { mergedClsPrefixRef, inlineThemeDisabled, mergedRtlRef } = useConfig(props);
149
- const rtlEnabledRef = useRtl('Tree', mergedRtlRef, mergedClsPrefixRef);
150
- const themeRef = useTheme('Tree', '-tree', style, treeLight, props, mergedClsPrefixRef);
151
- const selfElRef = ref(null);
152
- const scrollbarInstRef = ref(null);
153
- const virtualListInstRef = ref(null);
154
- function getScrollContainer() {
155
- var _a;
156
- return (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.listElRef;
157
- }
158
- function getScrollContent() {
159
- var _a;
160
- return (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.itemsElRef;
161
- }
162
- const mergedFilterRef = computed(() => {
163
- const { filter } = props;
164
- if (filter)
165
- return filter;
166
- const { labelField } = props;
167
- return (pattern, node) => {
168
- if (!pattern.length)
169
- return true;
170
- const label = node[labelField];
171
- if (typeof label === 'string') {
172
- return label.toLowerCase().includes(pattern.toLowerCase());
173
- }
174
- return false;
175
- };
176
- });
177
- const filteredTreeInfoRef = computed(() => {
178
- const { pattern } = props;
179
- if (!pattern) {
180
- return {
181
- filteredTree: props.data,
182
- highlightKeySet: null,
183
- expandedKeys: undefined
184
- };
185
- }
186
- if (!pattern.length || !mergedFilterRef.value) {
187
- return {
188
- filteredTree: props.data,
189
- highlightKeySet: null,
190
- expandedKeys: undefined
191
- };
192
- }
193
- return filterTree(props.data, mergedFilterRef.value, pattern, props.keyField, props.childrenField);
194
- });
195
- // We don't expect data source to change so we just determine it once
196
- const displayTreeMateRef = computed(() => createTreeMate(props.showIrrelevantNodes
197
- ? props.data
198
- : filteredTreeInfoRef.value.filteredTree, createTreeMateOptions(props.keyField, props.childrenField, props.disabledField, props.getChildren)));
199
- const treeSelectInjection = inject(treeSelectInjectionKey, null);
200
- const dataTreeMateRef = props.internalTreeSelect
201
- ? treeSelectInjection.dataTreeMate
202
- : displayTreeMateRef;
203
- const { watchProps } = props;
204
- const uncontrolledCheckedKeysRef = ref([]);
205
- if (watchProps === null || watchProps === void 0 ? void 0 : watchProps.includes('defaultCheckedKeys')) {
206
- watchEffect(() => {
207
- uncontrolledCheckedKeysRef.value = props.defaultCheckedKeys;
208
- });
209
- }
210
- else {
211
- uncontrolledCheckedKeysRef.value = props.defaultCheckedKeys;
212
- }
213
- const controlledCheckedKeysRef = toRef(props, 'checkedKeys');
214
- const mergedCheckedKeysRef = useMergedState(controlledCheckedKeysRef, uncontrolledCheckedKeysRef);
215
- const checkedStatusRef = computed(() => {
216
- const value = dataTreeMateRef.value.getCheckedKeys(mergedCheckedKeysRef.value, {
217
- cascade: props.cascade,
218
- allowNotLoaded: props.allowCheckingNotLoaded
219
- });
220
- return value;
221
- });
222
- const mergedCheckStrategyRef = useMergedCheckStrategy(props);
223
- const displayedCheckedKeysRef = computed(() => {
224
- return checkedStatusRef.value.checkedKeys;
225
- });
226
- const displayedIndeterminateKeysRef = computed(() => {
227
- const { indeterminateKeys } = props;
228
- if (indeterminateKeys !== undefined)
229
- return indeterminateKeys;
230
- return checkedStatusRef.value.indeterminateKeys;
231
- });
232
- const uncontrolledSelectedKeysRef = ref([]);
233
- if (watchProps === null || watchProps === void 0 ? void 0 : watchProps.includes('defaultSelectedKeys')) {
234
- watchEffect(() => {
235
- uncontrolledSelectedKeysRef.value = props.defaultSelectedKeys;
236
- });
237
- }
238
- else {
239
- uncontrolledSelectedKeysRef.value = props.defaultSelectedKeys;
240
- }
241
- const controlledSelectedKeysRef = toRef(props, 'selectedKeys');
242
- const mergedSelectedKeysRef = useMergedState(controlledSelectedKeysRef, uncontrolledSelectedKeysRef);
243
- const uncontrolledExpandedKeysRef = ref([]);
244
- const initUncontrolledExpandedKeys = (keys) => {
245
- uncontrolledExpandedKeysRef.value = props.defaultExpandAll
246
- ? dataTreeMateRef.value.getNonLeafKeys()
247
- : keys === undefined
248
- ? props.defaultExpandedKeys
249
- : keys;
250
- };
251
- if (watchProps === null || watchProps === void 0 ? void 0 : watchProps.includes('defaultExpandedKeys')) {
252
- // if watching defaultExpandedKeys, we use access props.defaultExpandedKeys inside initiator
253
- watchEffect(() => {
254
- initUncontrolledExpandedKeys(undefined);
255
- });
256
- }
257
- else {
258
- // We by default watchEffect since if defaultExpandAll is true, we should remain tree expand if data changes
259
- watchEffect(() => {
260
- initUncontrolledExpandedKeys(props.defaultExpandedKeys);
261
- });
262
- }
263
- const controlledExpandedKeysRef = toRef(props, 'expandedKeys');
264
- const mergedExpandedKeysRef = useMergedState(controlledExpandedKeysRef, uncontrolledExpandedKeysRef);
265
- const fNodesRef = computed(() => displayTreeMateRef.value.getFlattenedNodes(mergedExpandedKeysRef.value));
266
- const { pendingNodeKeyRef, handleKeydown } = useKeyboard({
267
- props,
268
- mergedSelectedKeysRef,
269
- fNodesRef,
270
- mergedExpandedKeysRef,
271
- handleSelect,
272
- handleSwitcherClick
273
- });
274
- let expandTimerId = null;
275
- let nodeKeyToBeExpanded = null;
276
- const uncontrolledHighlightKeySetRef = ref(new Set());
277
- const controlledHighlightKeySetRef = computed(() => {
278
- return (props.internalHighlightKeySet ||
279
- filteredTreeInfoRef.value.highlightKeySet);
280
- });
281
- const mergedHighlightKeySetRef = useMergedState(controlledHighlightKeySetRef, uncontrolledHighlightKeySetRef);
282
- const loadingKeysRef = ref(new Set());
283
- const expandedNonLoadingKeysRef = computed(() => {
284
- return mergedExpandedKeysRef.value.filter((key) => !loadingKeysRef.value.has(key));
285
- });
286
- let dragStartX = 0;
287
- const draggingNodeRef = ref(null);
288
- const droppingNodeRef = ref(null);
289
- const droppingMouseNodeRef = ref(null);
290
- const droppingPositionRef = ref(null);
291
- const droppingOffsetLevelRef = ref(0);
292
- const droppingNodeParentRef = computed(() => {
293
- const { value: droppingNode } = droppingNodeRef;
294
- if (!droppingNode)
295
- return null;
296
- // May avoid overlap between line mark of first child & rect mark of parent
297
- // if (droppingNode.isFirstChild && droppingPositionRef.value === 'before') {
298
- // return null
299
- // }
300
- return droppingNode.parent;
301
- });
302
- // shallow watch data
303
- watch(toRef(props, 'data'), () => {
304
- loadingKeysRef.value.clear();
305
- pendingNodeKeyRef.value = null;
306
- resetDndState();
307
- }, {
308
- deep: false
309
- });
310
- let expandAnimationDisabled = false;
311
- const disableExpandAnimationForOneTick = () => {
312
- expandAnimationDisabled = true;
313
- void nextTick(() => {
314
- expandAnimationDisabled = false;
315
- });
316
- };
317
- let memoizedExpandedKeys;
318
- watch(toRef(props, 'pattern'), (value, oldValue) => {
319
- if (props.showIrrelevantNodes) {
320
- memoizedExpandedKeys = undefined;
321
- if (value) {
322
- const { expandedKeys: expandedKeysAfterChange, highlightKeySet } = keysWithFilter(props.data, props.pattern, props.keyField, props.childrenField, mergedFilterRef.value);
323
- uncontrolledHighlightKeySetRef.value = highlightKeySet;
324
- disableExpandAnimationForOneTick();
325
- doUpdateExpandedKeys(expandedKeysAfterChange, getOptionsByKeys(expandedKeysAfterChange), { node: null, action: 'filter' });
326
- }
327
- else {
328
- uncontrolledHighlightKeySetRef.value = new Set();
329
- }
330
- }
331
- else {
332
- if (!value.length) {
333
- if (memoizedExpandedKeys !== undefined) {
334
- disableExpandAnimationForOneTick();
335
- doUpdateExpandedKeys(memoizedExpandedKeys, getOptionsByKeys(memoizedExpandedKeys), { node: null, action: 'filter' });
336
- }
337
- }
338
- else {
339
- if (!oldValue.length) {
340
- memoizedExpandedKeys = mergedExpandedKeysRef.value;
341
- }
342
- const { expandedKeys } = filteredTreeInfoRef.value;
343
- if (expandedKeys !== undefined) {
344
- disableExpandAnimationForOneTick();
345
- doUpdateExpandedKeys(expandedKeys, getOptionsByKeys(expandedKeys), {
346
- node: null,
347
- action: 'filter'
348
- });
349
- }
350
- }
351
- }
352
- });
353
- function triggerLoading(node) {
354
- return __awaiter(this, void 0, void 0, function* () {
355
- const { onLoad } = props;
356
- if (!onLoad) {
357
- if (process.env.NODE_ENV !== 'production') {
358
- warn('tree', 'There is unloaded node in data but props.onLoad is not specified.');
359
- }
360
- yield Promise.resolve();
361
- return;
362
- }
363
- const { value: loadingKeys } = loadingKeysRef;
364
- if (!loadingKeys.has(node.key)) {
365
- loadingKeys.add(node.key);
366
- try {
367
- const loadResult = yield onLoad(node.rawNode);
368
- if (loadResult === false) {
369
- resetDragExpandState();
370
- }
371
- }
372
- catch (loadError) {
373
- console.error(loadError);
374
- resetDragExpandState();
375
- }
376
- loadingKeys.delete(node.key);
377
- }
378
- });
379
- }
380
- watchEffect(() => {
381
- var _a;
382
- const { value: displayTreeMate } = displayTreeMateRef;
383
- if (!displayTreeMate)
384
- return;
385
- const { getNode } = displayTreeMate;
386
- (_a = mergedExpandedKeysRef.value) === null || _a === void 0 ? void 0 : _a.forEach((key) => {
387
- const node = getNode(key);
388
- if (node && !node.shallowLoaded) {
389
- void triggerLoading(node);
390
- }
391
- });
392
- });
393
- // animation in progress
394
- const aipRef = ref(false);
395
- // animation flattened nodes
396
- const afNodesRef = ref([]);
397
- // Note: Since the virtual list depends on min height, if there's a node
398
- // whose height starts from 0, the virtual list will have a wrong height
399
- // during animation. This will seldom cause wired scrollbar status. It is
400
- // fixable and need some changes in vueuc, I've no time so I just leave it
401
- // here. Maybe the bug won't be fixed during the life time of the project.
402
- watch(expandedNonLoadingKeysRef, (value, prevValue) => {
403
- if (!props.animated || expandAnimationDisabled) {
404
- void nextTick(syncScrollbar);
405
- return;
406
- }
407
- const nodeHeight = depx(themeRef.value.self.nodeHeight);
408
- const prevVSet = new Set(prevValue);
409
- let addedKey = null;
410
- let removedKey = null;
411
- for (const expandedKey of value) {
412
- if (!prevVSet.has(expandedKey)) {
413
- if (addedKey !== null)
414
- return; // multi expand, not triggered by click
415
- addedKey = expandedKey;
416
- }
417
- }
418
- const currentVSet = new Set(value);
419
- for (const expandedKey of prevValue) {
420
- if (!currentVSet.has(expandedKey)) {
421
- if (removedKey !== null)
422
- return; // multi collapse, not triggered by click
423
- removedKey = expandedKey;
424
- }
425
- }
426
- if (addedKey === null && removedKey === null) {
427
- // 1. multi action, not triggered by click
428
- // 2. no action, don't know what happened
429
- return;
430
- }
431
- const { virtualScroll } = props;
432
- const viewportHeight = (virtualScroll ? virtualListInstRef.value.listElRef : selfElRef.value).offsetHeight;
433
- const viewportItemCount = Math.ceil(viewportHeight / nodeHeight) + 1;
434
- // play add animation
435
- let baseExpandedKeys;
436
- if (addedKey !== null) {
437
- baseExpandedKeys = prevValue;
438
- }
439
- if (removedKey !== null) {
440
- if (baseExpandedKeys === undefined) {
441
- baseExpandedKeys = value;
442
- }
443
- else {
444
- baseExpandedKeys = baseExpandedKeys.filter((key) => key !== removedKey);
445
- }
446
- }
447
- aipRef.value = true;
448
- afNodesRef.value =
449
- displayTreeMateRef.value.getFlattenedNodes(baseExpandedKeys);
450
- if (addedKey !== null) {
451
- const expandedNodeIndex = afNodesRef.value.findIndex((node) => node.key === addedKey);
452
- if (~expandedNodeIndex) {
453
- const children = // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
454
- afNodesRef.value[expandedNodeIndex].children;
455
- // sometimes user will pass leaf keys in
456
- if (children) {
457
- const expandedChildren = flatten(children, value);
458
- afNodesRef.value.splice(expandedNodeIndex + 1, 0, {
459
- __motion: true,
460
- mode: 'expand',
461
- height: virtualScroll
462
- ? expandedChildren.length * nodeHeight
463
- : undefined,
464
- nodes: virtualScroll
465
- ? expandedChildren.slice(0, viewportItemCount)
466
- : expandedChildren
467
- });
468
- }
469
- }
470
- }
471
- if (removedKey !== null) {
472
- const collapsedNodeIndex = afNodesRef.value.findIndex((node) => node.key === removedKey);
473
- if (~collapsedNodeIndex) {
474
- const collapsedNodeChildren = afNodesRef.value[collapsedNodeIndex].children;
475
- // Sometime the whole tree is change, remove a key doesn't mean it is collapsed,
476
- // but maybe children removed
477
- if (!collapsedNodeChildren)
478
- return;
479
- // play remove animation
480
- aipRef.value = true;
481
- const collapsedChildren = flatten(collapsedNodeChildren, value);
482
- afNodesRef.value.splice(collapsedNodeIndex + 1, 0, {
483
- __motion: true,
484
- mode: 'collapse',
485
- height: virtualScroll
486
- ? collapsedChildren.length * nodeHeight
487
- : undefined,
488
- nodes: virtualScroll
489
- ? collapsedChildren.slice(0, viewportItemCount)
490
- : collapsedChildren
491
- });
492
- }
493
- }
494
- });
495
- const getFIndexRef = computed(() => {
496
- return createIndexGetter(fNodesRef.value);
497
- });
498
- const mergedFNodesRef = computed(() => {
499
- if (aipRef.value)
500
- return afNodesRef.value;
501
- else
502
- return fNodesRef.value;
503
- });
504
- function syncScrollbar() {
505
- const { value: scrollbarInst } = scrollbarInstRef;
506
- if (scrollbarInst)
507
- scrollbarInst.sync();
508
- }
509
- function handleAfterEnter() {
510
- aipRef.value = false;
511
- if (props.virtualScroll) {
512
- // If virtual scroll, we won't listen to resize during animation, so
513
- // resize callback of virtual list won't be called and as a result
514
- // scrollbar won't sync. We need to sync scrollbar manually.
515
- void nextTick(syncScrollbar);
516
- }
517
- }
518
- function getOptionsByKeys(keys) {
519
- const { getNode } = dataTreeMateRef.value;
520
- return keys.map((key) => { var _a; return ((_a = getNode(key)) === null || _a === void 0 ? void 0 : _a.rawNode) || null; });
521
- }
522
- function doUpdateExpandedKeys(value, option, meta) {
523
- const { 'onUpdate:expandedKeys': _onUpdateExpandedKeys, onUpdateExpandedKeys } = props;
524
- uncontrolledExpandedKeysRef.value = value;
525
- if (_onUpdateExpandedKeys) {
526
- call(_onUpdateExpandedKeys, value, option, meta);
527
- }
528
- if (onUpdateExpandedKeys) {
529
- call(onUpdateExpandedKeys, value, option, meta);
530
- }
531
- }
532
- function doUpdateCheckedKeys(value, option, meta) {
533
- const { 'onUpdate:checkedKeys': _onUpdateCheckedKeys, onUpdateCheckedKeys } = props;
534
- uncontrolledCheckedKeysRef.value = value;
535
- if (onUpdateCheckedKeys) {
536
- call(onUpdateCheckedKeys, value, option, meta);
537
- }
538
- if (_onUpdateCheckedKeys) {
539
- call(_onUpdateCheckedKeys, value, option, meta);
540
- }
541
- }
542
- function doUpdateIndeterminateKeys(value, option) {
543
- const { 'onUpdate:indeterminateKeys': _onUpdateIndeterminateKeys, onUpdateIndeterminateKeys } = props;
544
- if (_onUpdateIndeterminateKeys) {
545
- call(_onUpdateIndeterminateKeys, value, option);
546
- }
547
- if (onUpdateIndeterminateKeys) {
548
- call(onUpdateIndeterminateKeys, value, option);
549
- }
550
- }
551
- function doUpdateSelectedKeys(value, option, meta) {
552
- const { 'onUpdate:selectedKeys': _onUpdateSelectedKeys, onUpdateSelectedKeys } = props;
553
- uncontrolledSelectedKeysRef.value = value;
554
- if (onUpdateSelectedKeys) {
555
- call(onUpdateSelectedKeys, value, option, meta);
556
- }
557
- if (_onUpdateSelectedKeys) {
558
- call(_onUpdateSelectedKeys, value, option, meta);
559
- }
560
- }
561
- // Drag & Drop
562
- function doDragEnter(info) {
563
- const { onDragenter } = props;
564
- if (onDragenter)
565
- call(onDragenter, info);
566
- }
567
- function doDragLeave(info) {
568
- const { onDragleave } = props;
569
- if (onDragleave)
570
- call(onDragleave, info);
571
- }
572
- function doDragEnd(info) {
573
- const { onDragend } = props;
574
- if (onDragend)
575
- call(onDragend, info);
576
- }
577
- function doDragStart(info) {
578
- const { onDragstart } = props;
579
- if (onDragstart)
580
- call(onDragstart, info);
581
- }
582
- function doDragOver(info) {
583
- const { onDragover } = props;
584
- if (onDragover)
585
- call(onDragover, info);
586
- }
587
- function doDrop(info) {
588
- const { onDrop } = props;
589
- if (onDrop)
590
- call(onDrop, info);
591
- }
592
- function resetDndState() {
593
- resetDragState();
594
- resetDropState();
595
- }
596
- function resetDragState() {
597
- draggingNodeRef.value = null;
598
- }
599
- function resetDropState() {
600
- droppingOffsetLevelRef.value = 0;
601
- droppingNodeRef.value = null;
602
- droppingMouseNodeRef.value = null;
603
- droppingPositionRef.value = null;
604
- resetDragExpandState();
605
- }
606
- function resetDragExpandState() {
607
- if (expandTimerId) {
608
- window.clearTimeout(expandTimerId);
609
- expandTimerId = null;
610
- }
611
- nodeKeyToBeExpanded = null;
612
- }
613
- function handleCheck(node, checked) {
614
- // We don't guard for leaf only since we have done it in view layer
615
- if (props.disabled || isNodeDisabled(node, props.disabledField)) {
616
- return;
617
- }
618
- if (props.internalUnifySelectCheck && !props.multiple) {
619
- handleSelect(node);
620
- return;
621
- }
622
- const checkedAction = checked ? 'check' : 'uncheck';
623
- const { checkedKeys, indeterminateKeys } = dataTreeMateRef.value[checkedAction](node.key, displayedCheckedKeysRef.value, {
624
- cascade: props.cascade,
625
- checkStrategy: mergedCheckStrategyRef.value,
626
- allowNotLoaded: props.allowCheckingNotLoaded
627
- });
628
- doUpdateCheckedKeys(checkedKeys, getOptionsByKeys(checkedKeys), {
629
- node: node.rawNode,
630
- action: checkedAction
631
- });
632
- doUpdateIndeterminateKeys(indeterminateKeys, getOptionsByKeys(indeterminateKeys));
633
- }
634
- function toggleExpand(node) {
635
- if (props.disabled)
636
- return;
637
- const { key } = node;
638
- const { value: mergedExpandedKeys } = mergedExpandedKeysRef;
639
- const index = mergedExpandedKeys.findIndex((expandNodeId) => expandNodeId === key);
640
- if (~index) {
641
- const expandedKeysAfterChange = Array.from(mergedExpandedKeys);
642
- expandedKeysAfterChange.splice(index, 1);
643
- doUpdateExpandedKeys(expandedKeysAfterChange, getOptionsByKeys(expandedKeysAfterChange), {
644
- node: node.rawNode,
645
- action: 'collapse'
646
- });
647
- }
648
- else {
649
- const nodeToBeExpanded = displayTreeMateRef.value.getNode(key);
650
- if (!nodeToBeExpanded || nodeToBeExpanded.isLeaf) {
651
- return;
652
- }
653
- let nextKeys;
654
- if (props.accordion) {
655
- const siblingKeySet = new Set(node.siblings.map(({ key }) => key));
656
- nextKeys = mergedExpandedKeys.filter((expandedKey) => {
657
- return !siblingKeySet.has(expandedKey);
658
- });
659
- nextKeys.push(key);
660
- }
661
- else {
662
- nextKeys = mergedExpandedKeys.concat(key);
663
- }
664
- doUpdateExpandedKeys(nextKeys, getOptionsByKeys(nextKeys), {
665
- node: node.rawNode,
666
- action: 'expand'
667
- });
668
- }
669
- }
670
- function handleSwitcherClick(node) {
671
- if (props.disabled || aipRef.value)
672
- return;
673
- toggleExpand(node);
674
- }
675
- function handleSelect(node) {
676
- if (props.disabled || !props.selectable) {
677
- return;
678
- }
679
- pendingNodeKeyRef.value = node.key;
680
- if (props.internalUnifySelectCheck) {
681
- const { value: { checkedKeys, indeterminateKeys } } = checkedStatusRef;
682
- if (props.multiple) {
683
- handleCheck(node, !(checkedKeys.includes(node.key) ||
684
- indeterminateKeys.includes(node.key)));
685
- }
686
- else {
687
- doUpdateCheckedKeys([node.key], getOptionsByKeys([node.key]), {
688
- node: node.rawNode,
689
- action: 'check'
690
- });
691
- }
692
- }
693
- if (props.multiple) {
694
- const selectedKeys = Array.from(mergedSelectedKeysRef.value);
695
- const index = selectedKeys.findIndex((key) => key === node.key);
696
- if (~index) {
697
- if (props.cancelable) {
698
- selectedKeys.splice(index, 1);
699
- }
700
- }
701
- else if (!~index) {
702
- selectedKeys.push(node.key);
703
- }
704
- doUpdateSelectedKeys(selectedKeys, getOptionsByKeys(selectedKeys), {
705
- node: node.rawNode,
706
- action: ~index ? 'unselect' : 'select'
707
- });
708
- }
709
- else {
710
- const selectedKeys = mergedSelectedKeysRef.value;
711
- if (selectedKeys.includes(node.key)) {
712
- if (props.cancelable) {
713
- doUpdateSelectedKeys([], [], {
714
- node: node.rawNode,
715
- action: 'unselect'
716
- });
717
- }
718
- }
719
- else {
720
- doUpdateSelectedKeys([node.key], getOptionsByKeys([node.key]), {
721
- node: node.rawNode,
722
- action: 'select'
723
- });
724
- }
725
- }
726
- }
727
- function expandDragEnterNode(node) {
728
- if (expandTimerId) {
729
- window.clearTimeout(expandTimerId);
730
- expandTimerId = null;
731
- }
732
- // Don't expand leaf node.
733
- if (node.isLeaf)
734
- return;
735
- nodeKeyToBeExpanded = node.key;
736
- const expand = () => {
737
- if (nodeKeyToBeExpanded !== node.key)
738
- return;
739
- const { value: droppingMouseNode } = droppingMouseNodeRef;
740
- if (droppingMouseNode &&
741
- droppingMouseNode.key === node.key &&
742
- !mergedExpandedKeysRef.value.includes(node.key)) {
743
- const nextKeys = mergedExpandedKeysRef.value.concat(node.key);
744
- doUpdateExpandedKeys(nextKeys, getOptionsByKeys(nextKeys), {
745
- node: node.rawNode,
746
- action: 'expand'
747
- });
748
- }
749
- expandTimerId = null;
750
- nodeKeyToBeExpanded = null;
751
- };
752
- if (!node.shallowLoaded) {
753
- expandTimerId = window.setTimeout(() => {
754
- void triggerLoading(node).then(() => {
755
- expand();
756
- });
757
- }, 1000);
758
- }
759
- else {
760
- expandTimerId = window.setTimeout(() => {
761
- expand();
762
- }, 1000);
763
- }
764
- }
765
- // Dnd
766
- function handleDragEnter({ event, node }) {
767
- // node should be a tmNode
768
- if (!props.draggable ||
769
- props.disabled ||
770
- isNodeDisabled(node, props.disabledField)) {
771
- return;
772
- }
773
- handleDragOver({ event, node }, false);
774
- doDragEnter({ event, node: node.rawNode });
775
- }
776
- function handleDragLeave({ event, node }) {
777
- if (!props.draggable ||
778
- props.disabled ||
779
- isNodeDisabled(node, props.disabledField)) {
780
- return;
781
- }
782
- doDragLeave({ event, node: node.rawNode });
783
- }
784
- function handleDragLeaveTree(e) {
785
- if (e.target !== e.currentTarget)
786
- return;
787
- resetDropState();
788
- }
789
- // Dragend is ok, we don't need to add global listener to reset drag status
790
- function handleDragEnd({ event, node }) {
791
- resetDndState();
792
- if (!props.draggable ||
793
- props.disabled ||
794
- isNodeDisabled(node, props.disabledField)) {
795
- return;
796
- }
797
- doDragEnd({ event, node: node.rawNode });
798
- }
799
- function handleDragStart({ event, node }) {
800
- var _a;
801
- if (!props.draggable ||
802
- props.disabled ||
803
- isNodeDisabled(node, props.disabledField)) {
804
- return;
805
- }
806
- // Most of time, the image will block user's view
807
- emptyImage && ((_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.setDragImage(emptyImage, 0, 0));
808
- dragStartX = event.clientX;
809
- draggingNodeRef.value = node;
810
- doDragStart({ event, node: node.rawNode });
811
- }
812
- function handleDragOver({ event, node }, emit = true) {
813
- var _a;
814
- if (!props.draggable ||
815
- props.disabled ||
816
- isNodeDisabled(node, props.disabledField)) {
817
- return;
818
- }
819
- const { value: draggingNode } = draggingNodeRef;
820
- if (!draggingNode)
821
- return;
822
- const { allowDrop, indent } = props;
823
- if (emit)
824
- doDragOver({ event, node: node.rawNode });
825
- // Update dropping node
826
- const el = event.currentTarget;
827
- const { height: elOffsetHeight, top: elClientTop } = el.getBoundingClientRect();
828
- const eventOffsetY = event.clientY - elClientTop;
829
- let mousePosition;
830
- const allowDropInside = allowDrop({
831
- node: node.rawNode,
832
- dropPosition: 'inside',
833
- phase: 'drag'
834
- });
835
- if (allowDropInside) {
836
- if (eventOffsetY <= 8) {
837
- mousePosition = 'before';
838
- }
839
- else if (eventOffsetY >= elOffsetHeight - 8) {
840
- mousePosition = 'after';
841
- }
842
- else {
843
- mousePosition = 'inside';
844
- }
845
- }
846
- else {
847
- if (eventOffsetY <= elOffsetHeight / 2) {
848
- mousePosition = 'before';
849
- }
850
- else {
851
- mousePosition = 'after';
852
- }
853
- }
854
- const { value: getFindex } = getFIndexRef;
855
- /** determine the drop position and drop node */
856
- /** the dropping node needn't to be the mouse hovering node! */
857
- /**
858
- * if there is something i've learned from implementing a complex
859
- * drag & drop. that is never write unit test before you really figure
860
- * out what behavior is exactly you want.
861
- */
862
- let finalDropNode;
863
- let finalDropPosition;
864
- const hoverNodeFIndex = getFindex(node.key);
865
- if (hoverNodeFIndex === null) {
866
- resetDropState();
867
- return;
868
- }
869
- let mouseAtExpandedNonLeafNode = false;
870
- if (mousePosition === 'inside') {
871
- finalDropNode = node;
872
- finalDropPosition = 'inside';
873
- }
874
- else {
875
- if (mousePosition === 'before') {
876
- if (node.isFirstChild) {
877
- finalDropNode = node;
878
- finalDropPosition = 'before';
879
- }
880
- else {
881
- finalDropNode = fNodesRef.value[hoverNodeFIndex - 1];
882
- finalDropPosition = 'after';
883
- }
884
- }
885
- else {
886
- finalDropNode = node;
887
- finalDropPosition = 'after';
888
- }
889
- }
890
- // If the node is non-leaf and it is expanded, we don't allow it to
891
- // drop after it and change it to drop before its next view sibling
892
- if (!finalDropNode.isLeaf &&
893
- mergedExpandedKeysRef.value.includes(finalDropNode.key)) {
894
- mouseAtExpandedNonLeafNode = true;
895
- if (finalDropPosition === 'after') {
896
- finalDropNode = fNodesRef.value[hoverNodeFIndex + 1];
897
- if (!finalDropNode) {
898
- // maybe there is no next view sibling when non-leaf node has no
899
- // children and it is the last node in the tree
900
- finalDropNode = node;
901
- finalDropPosition = 'inside';
902
- }
903
- else {
904
- finalDropPosition = 'before';
905
- }
906
- }
907
- }
908
- const droppingMouseNode = finalDropNode;
909
- droppingMouseNodeRef.value = droppingMouseNode;
910
- // This is a speacial case, user is dragging a last child itself, so we
911
- // only view it as they are trying to drop after it.
912
- // There are some relevant codes in bailout 1's child branch.
913
- // Also, the expand bailout should have a high priority. If it's non-leaf
914
- // node and expanded, keep its origin drop position
915
- if (!mouseAtExpandedNonLeafNode &&
916
- draggingNode.isLastChild &&
917
- draggingNode.key === finalDropNode.key) {
918
- finalDropPosition = 'after';
919
- }
920
- if (finalDropPosition === 'after') {
921
- let offset = dragStartX - event.clientX; // drag left => > 0
922
- let offsetLevel = 0;
923
- while (offset >= indent / 2 && // divide by 2 to make it easier to trigger
924
- finalDropNode.parent !== null &&
925
- finalDropNode.isLastChild &&
926
- offsetLevel < 1) {
927
- offset -= indent;
928
- offsetLevel += 1;
929
- finalDropNode = finalDropNode.parent;
930
- }
931
- droppingOffsetLevelRef.value = offsetLevel;
932
- }
933
- else {
934
- droppingOffsetLevelRef.value = 0;
935
- }
936
- // Bailout 1
937
- // Drag self into self
938
- // Drag it into direct parent
939
- if (draggingNode.contains(finalDropNode) ||
940
- (finalDropPosition === 'inside' &&
941
- ((_a = draggingNode.parent) === null || _a === void 0 ? void 0 : _a.key) === finalDropNode.key)) {
942
- if (draggingNode.key === droppingMouseNode.key &&
943
- draggingNode.key === finalDropNode.key) {
944
- // This is special case that we want ui to show a mark to guide user
945
- // to start dragging. Nor they will think nothing happens.
946
- // However this is an invalid drop, we need to guard it inside
947
- // handleDrop
948
- }
949
- else {
950
- resetDropState();
951
- return;
952
- }
953
- }
954
- // Bailout 3
955
- if (!allowDrop({
956
- node: finalDropNode.rawNode,
957
- dropPosition: finalDropPosition,
958
- phase: 'drag'
959
- })) {
960
- resetDropState();
961
- return;
962
- }
963
- if (draggingNode.key === finalDropNode.key) {
964
- // don't expand when drag on itself
965
- resetDragExpandState();
966
- }
967
- else {
968
- if (nodeKeyToBeExpanded !== finalDropNode.key) {
969
- if (finalDropPosition === 'inside') {
970
- if (props.expandOnDragenter) {
971
- expandDragEnterNode(finalDropNode);
972
- // Bailout 4
973
- // not try to loading
974
- if (!finalDropNode.shallowLoaded &&
975
- nodeKeyToBeExpanded !== finalDropNode.key) {
976
- resetDndState();
977
- return;
978
- }
979
- }
980
- else {
981
- // Bailout 5
982
- // never expands on drag
983
- if (!finalDropNode.shallowLoaded) {
984
- resetDndState();
985
- return;
986
- }
987
- }
988
- }
989
- else {
990
- resetDragExpandState();
991
- }
992
- }
993
- else {
994
- if (finalDropPosition !== 'inside') {
995
- resetDragExpandState();
996
- }
997
- }
998
- }
999
- droppingPositionRef.value = finalDropPosition;
1000
- droppingNodeRef.value = finalDropNode;
1001
- }
1002
- function handleDrop({ event, node, dropPosition }) {
1003
- if (!props.draggable ||
1004
- props.disabled ||
1005
- isNodeDisabled(node, props.disabledField)) {
1006
- return;
1007
- }
1008
- const { value: draggingNode } = draggingNodeRef;
1009
- const { value: droppingNode } = droppingNodeRef;
1010
- const { value: droppingPosition } = droppingPositionRef;
1011
- if (!draggingNode || !droppingNode || !droppingPosition) {
1012
- return;
1013
- }
1014
- // Bailout 1
1015
- if (!props.allowDrop({
1016
- node: droppingNode.rawNode,
1017
- dropPosition: droppingPosition,
1018
- phase: 'drag'
1019
- })) {
1020
- return;
1021
- }
1022
- // Bailout 2
1023
- // This is a special case to guard since we want ui to show the status
1024
- // but not to emit a event
1025
- if (draggingNode.key === droppingNode.key) {
1026
- return;
1027
- }
1028
- // Bailout 3
1029
- // insert before its next node
1030
- // insert after its prev node
1031
- if (droppingPosition === 'before') {
1032
- const nextNode = draggingNode.getNext({ includeDisabled: true });
1033
- if (nextNode) {
1034
- if (nextNode.key === droppingNode.key) {
1035
- resetDropState();
1036
- return;
1037
- }
1038
- }
1039
- }
1040
- if (droppingPosition === 'after') {
1041
- const prevNode = draggingNode.getPrev({ includeDisabled: true });
1042
- if (prevNode) {
1043
- if (prevNode.key === droppingNode.key) {
1044
- resetDropState();
1045
- return;
1046
- }
1047
- }
1048
- }
1049
- doDrop({
1050
- event,
1051
- node: droppingNode.rawNode,
1052
- dragNode: draggingNode.rawNode,
1053
- dropPosition
1054
- });
1055
- resetDndState();
1056
- }
1057
- function handleScroll() {
1058
- syncScrollbar();
1059
- }
1060
- function handleResize() {
1061
- syncScrollbar();
1062
- }
1063
- function handleFocusout(e) {
1064
- var _a;
1065
- if (props.virtualScroll || props.internalScrollable) {
1066
- const { value: scrollbarInst } = scrollbarInstRef;
1067
- if ((_a = scrollbarInst === null || scrollbarInst === void 0 ? void 0 : scrollbarInst.containerRef) === null || _a === void 0 ? void 0 : _a.contains(e.relatedTarget)) {
1068
- return;
1069
- }
1070
- pendingNodeKeyRef.value = null;
1071
- }
1072
- else {
1073
- const { value: selfEl } = selfElRef;
1074
- if (selfEl === null || selfEl === void 0 ? void 0 : selfEl.contains(e.relatedTarget))
1075
- return;
1076
- pendingNodeKeyRef.value = null;
1077
- }
1078
- }
1079
- watch(pendingNodeKeyRef, (value) => {
1080
- var _a, _b;
1081
- if (value === null)
1082
- return;
1083
- if (props.virtualScroll) {
1084
- (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo({ key: value });
1085
- }
1086
- else if (props.internalScrollable) {
1087
- const { value: scrollbarInst } = scrollbarInstRef;
1088
- if (scrollbarInst === null)
1089
- return;
1090
- const targetEl = (_b = scrollbarInst.contentRef) === null || _b === void 0 ? void 0 : _b.querySelector(`[data-key="${createDataKey(value)}"]`);
1091
- if (!targetEl)
1092
- return;
1093
- scrollbarInst.scrollTo({
1094
- el: targetEl
1095
- });
1096
- }
1097
- });
1098
- provide(treeInjectionKey, {
1099
- loadingKeysRef,
1100
- highlightKeySetRef: mergedHighlightKeySetRef,
1101
- displayedCheckedKeysRef,
1102
- displayedIndeterminateKeysRef,
1103
- mergedSelectedKeysRef,
1104
- mergedExpandedKeysRef,
1105
- mergedThemeRef: themeRef,
1106
- mergedCheckStrategyRef,
1107
- nodePropsRef: toRef(props, 'nodeProps'),
1108
- disabledRef: toRef(props, 'disabled'),
1109
- checkableRef: toRef(props, 'checkable'),
1110
- selectableRef: toRef(props, 'selectable'),
1111
- expandOnClickRef: toRef(props, 'expandOnClick'),
1112
- onLoadRef: toRef(props, 'onLoad'),
1113
- draggableRef: toRef(props, 'draggable'),
1114
- blockLineRef: toRef(props, 'blockLine'),
1115
- indentRef: toRef(props, 'indent'),
1116
- cascadeRef: toRef(props, 'cascade'),
1117
- checkOnClickRef: toRef(props, 'checkOnClick'),
1118
- checkboxPlacementRef: props.checkboxPlacement,
1119
- droppingMouseNodeRef,
1120
- droppingNodeParentRef,
1121
- draggingNodeRef,
1122
- droppingPositionRef,
1123
- droppingOffsetLevelRef,
1124
- fNodesRef,
1125
- pendingNodeKeyRef,
1126
- showLineRef: toRef(props, 'showLine'),
1127
- disabledFieldRef: toRef(props, 'disabledField'),
1128
- internalScrollableRef: toRef(props, 'internalScrollable'),
1129
- internalCheckboxFocusableRef: toRef(props, 'internalCheckboxFocusable'),
1130
- internalTreeSelect: props.internalTreeSelect,
1131
- renderLabelRef: toRef(props, 'renderLabel'),
1132
- renderPrefixRef: toRef(props, 'renderPrefix'),
1133
- renderSuffixRef: toRef(props, 'renderSuffix'),
1134
- renderSwitcherIconRef: toRef(props, 'renderSwitcherIcon'),
1135
- labelFieldRef: toRef(props, 'labelField'),
1136
- multipleRef: toRef(props, 'multiple'),
1137
- handleSwitcherClick,
1138
- handleDragEnd,
1139
- handleDragEnter,
1140
- handleDragLeave,
1141
- handleDragStart,
1142
- handleDrop,
1143
- handleDragOver,
1144
- handleSelect,
1145
- handleCheck
1146
- });
1147
- function scrollTo(options) {
1148
- var _a;
1149
- (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
1150
- }
1151
- const exposedMethods = {
1152
- handleKeydown,
1153
- scrollTo,
1154
- getCheckedData: () => {
1155
- if (!props.checkable)
1156
- return { keys: [], options: [] };
1157
- const { checkedKeys } = checkedStatusRef.value;
1158
- return {
1159
- keys: checkedKeys,
1160
- options: getOptionsByKeys(checkedKeys)
1161
- };
1162
- },
1163
- getIndeterminateData: () => {
1164
- if (!props.checkable)
1165
- return { keys: [], options: [] };
1166
- const { indeterminateKeys } = checkedStatusRef.value;
1167
- return {
1168
- keys: indeterminateKeys,
1169
- options: getOptionsByKeys(indeterminateKeys)
1170
- };
1171
- }
1172
- };
1173
- const cssVarsRef = computed(() => {
1174
- const { common: { cubicBezierEaseInOut }, self: { fontSize, nodeBorderRadius, nodeColorHover, nodeColorPressed, nodeColorActive, arrowColor, loadingColor, nodeTextColor, nodeTextColorDisabled, dropMarkColor, nodeWrapperPadding, nodeHeight, lineHeight } } = themeRef.value;
1175
- const lineOffsetTop = getPadding(nodeWrapperPadding, 'top');
1176
- const lineOffsetBottom = getPadding(nodeWrapperPadding, 'bottom');
1177
- const nodeContentHeight = pxfy(depx(nodeHeight) - depx(lineOffsetTop) - depx(lineOffsetBottom));
1178
- return {
1179
- '--n-arrow-color': arrowColor,
1180
- '--n-loading-color': loadingColor,
1181
- '--n-bezier': cubicBezierEaseInOut,
1182
- '--n-font-size': fontSize,
1183
- '--n-node-border-radius': nodeBorderRadius,
1184
- '--n-node-color-active': nodeColorActive,
1185
- '--n-node-color-hover': nodeColorHover,
1186
- '--n-node-color-pressed': nodeColorPressed,
1187
- '--n-node-text-color': nodeTextColor,
1188
- '--n-node-text-color-disabled': nodeTextColorDisabled,
1189
- '--n-drop-mark-color': dropMarkColor,
1190
- '--n-node-wrapper-padding': nodeWrapperPadding,
1191
- '--n-line-offset-top': `-${lineOffsetTop}`,
1192
- '--n-line-offset-bottom': `-${lineOffsetBottom}`,
1193
- '--n-node-content-height': nodeContentHeight,
1194
- '--n-line-height': lineHeight
1195
- };
1196
- });
1197
- const themeClassHandle = inlineThemeDisabled
1198
- ? useThemeClass('tree', undefined, cssVarsRef, props)
1199
- : undefined;
1200
- return Object.assign(Object.assign({}, exposedMethods), { mergedClsPrefix: mergedClsPrefixRef, mergedTheme: themeRef, rtlEnabled: rtlEnabledRef, fNodes: mergedFNodesRef, aip: aipRef, selfElRef,
1201
- virtualListInstRef,
1202
- scrollbarInstRef,
1203
- handleFocusout,
1204
- handleDragLeaveTree,
1205
- handleScroll,
1206
- getScrollContainer,
1207
- getScrollContent,
1208
- handleAfterEnter,
1209
- handleResize, cssVars: inlineThemeDisabled ? undefined : cssVarsRef, themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender });
1210
- },
1211
- render() {
1212
- var _a;
1213
- const { fNodes, internalRenderEmpty } = this;
1214
- if (!fNodes.length && internalRenderEmpty) {
1215
- return internalRenderEmpty();
1216
- }
1217
- const { mergedClsPrefix, blockNode, blockLine, draggable, disabled, internalFocusable, checkable, handleKeydown, rtlEnabled, handleFocusout, scrollbarProps } = this;
1218
- const mergedFocusable = internalFocusable && !disabled;
1219
- const tabindex = mergedFocusable ? '0' : undefined;
1220
- const treeClass = [
1221
- `${mergedClsPrefix}-tree`,
1222
- rtlEnabled && `${mergedClsPrefix}-tree--rtl`,
1223
- checkable && `${mergedClsPrefix}-tree--checkable`,
1224
- (blockLine || blockNode) && `${mergedClsPrefix}-tree--block-node`,
1225
- blockLine && `${mergedClsPrefix}-tree--block-line`
1226
- ];
1227
- const createNode = (tmNode) => {
1228
- return '__motion' in tmNode ? (h(MotionWrapper, { height: tmNode.height, nodes: tmNode.nodes, clsPrefix: mergedClsPrefix, mode: tmNode.mode, onAfterEnter: this.handleAfterEnter })) : (h(NTreeNode, { key: tmNode.key, tmNode: tmNode, clsPrefix: mergedClsPrefix }));
1229
- };
1230
- if (this.virtualScroll) {
1231
- const { mergedTheme, internalScrollablePadding } = this;
1232
- const padding = getPadding(internalScrollablePadding || '0');
1233
- return (h(NxScrollbar, Object.assign({}, scrollbarProps, { ref: "scrollbarInstRef", onDragleave: draggable ? this.handleDragLeaveTree : undefined, container: this.getScrollContainer, content: this.getScrollContent, class: treeClass, theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar, tabindex: tabindex, onKeydown: mergedFocusable ? handleKeydown : undefined, onFocusout: mergedFocusable ? handleFocusout : undefined }), {
1234
- default: () => {
1235
- var _a;
1236
- (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
1237
- return (h(VVirtualList, { ref: "virtualListInstRef", items: this.fNodes, itemSize: depx(mergedTheme.self.nodeHeight), ignoreItemResize: this.aip, paddingTop: padding.top, paddingBottom: padding.bottom, class: this.themeClass, style: [
1238
- this.cssVars,
1239
- {
1240
- paddingLeft: padding.left,
1241
- paddingRight: padding.right
1242
- }
1243
- ], onScroll: this.handleScroll, onResize: this.handleResize, showScrollbar: false, itemResizable: true }, {
1244
- default: ({ item }) => createNode(item)
1245
- }));
1246
- }
1247
- }));
1248
- }
1249
- const { internalScrollable } = this;
1250
- treeClass.push(this.themeClass);
1251
- (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
1252
- if (internalScrollable) {
1253
- return (h(NxScrollbar, Object.assign({}, scrollbarProps, { class: treeClass, tabindex: tabindex, onKeydown: mergedFocusable ? handleKeydown : undefined, onFocusout: mergedFocusable ? handleFocusout : undefined, style: this.cssVars, contentStyle: { padding: this.internalScrollablePadding } }), {
1254
- default: () => (h("div", { onDragleave: draggable ? this.handleDragLeaveTree : undefined, ref: "selfElRef" }, this.fNodes.map(createNode)))
1255
- }));
1256
- }
1257
- else {
1258
- return (h("div", { class: treeClass, tabindex: tabindex, ref: "selfElRef", style: this.cssVars, onKeydown: mergedFocusable ? handleKeydown : undefined, onFocusout: mergedFocusable ? handleFocusout : undefined, onDragleave: draggable ? this.handleDragLeaveTree : undefined }, !fNodes.length
1259
- ? resolveSlot(this.$slots.empty, () => [
1260
- h(NEmpty, { class: `${mergedClsPrefix}-tree__empty`, theme: this.mergedTheme.peers.Empty, themeOverrides: this.mergedTheme.peerOverrides.Empty })
1261
- ])
1262
- : fNodes.map(createNode)));
1263
- }
1264
- }
1265
- });