naive-ui 2.36.0 → 2.37.1

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 (2659) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/dist/index.js +2020 -1075
  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 +52 -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 +3 -1
  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 +14 -3
  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.mjs +77 -0
  151. package/es/_utils/composable/use-deferred-true.mjs +21 -0
  152. package/es/_utils/composable/use-houdini.mjs +26 -0
  153. package/es/_utils/composable/use-is-composing.mjs +31 -0
  154. package/es/_utils/composable/use-lock-html-scroll.mjs +61 -0
  155. package/es/_utils/composable/use-reactivated.mjs +22 -0
  156. package/es/_utils/composable/use-resize.mjs +23 -0
  157. package/es/_utils/css/color-to-class.mjs +3 -0
  158. package/es/_utils/css/format-length.mjs +28 -0
  159. package/es/_utils/css/index.d.ts +1 -0
  160. package/es/_utils/css/index.mjs +3 -0
  161. package/es/_utils/css/rtl-inset.d.ts +1 -0
  162. package/es/_utils/css/rtl-inset.mjs +10 -0
  163. package/es/_utils/cssr/index.d.ts +2 -2
  164. package/es/_utils/cssr/index.mjs +54 -0
  165. package/es/_utils/dom/download.d.ts +1 -0
  166. package/es/_utils/dom/download.mjs +11 -0
  167. package/es/_utils/dom/index.d.ts +1 -0
  168. package/es/_utils/dom/index.mjs +2 -0
  169. package/es/_utils/dom/is-document.mjs +3 -0
  170. package/es/_utils/env/browser.mjs +4 -0
  171. package/es/_utils/env/is-browser.mjs +1 -0
  172. package/es/_utils/env/is-jsdom.mjs +7 -0
  173. package/es/_utils/env/is-native-lazy-load.mjs +2 -0
  174. package/es/_utils/event/index.mjs +7 -0
  175. package/es/_utils/index.d.ts +1 -1
  176. package/es/_utils/index.mjs +9 -0
  177. package/es/_utils/naive/attribute.mjs +11 -0
  178. package/es/_utils/naive/extract-public-props.mjs +1 -0
  179. package/es/_utils/naive/index.mjs +3 -0
  180. package/es/_utils/naive/mutable.mjs +1 -0
  181. package/es/_utils/naive/prop.mjs +27 -0
  182. package/es/_utils/naive/warn.mjs +13 -0
  183. package/es/_utils/vue/call.mjs +6 -0
  184. package/es/_utils/vue/create-data-key.mjs +3 -0
  185. package/es/_utils/vue/create-injection-key.mjs +3 -0
  186. package/es/_utils/vue/create-ref-setter.mjs +9 -0
  187. package/es/_utils/vue/flatten.mjs +28 -0
  188. package/es/_utils/vue/get-first-slot-vnode.mjs +17 -0
  189. package/es/_utils/vue/get-slot.mjs +6 -0
  190. package/es/_utils/vue/get-v-node-children.mjs +12 -0
  191. package/es/_utils/vue/index.mjs +16 -0
  192. package/es/_utils/vue/is-node-v-show-false.mjs +8 -0
  193. package/es/_utils/vue/keep.mjs +7 -0
  194. package/es/_utils/vue/keysOf.mjs +3 -0
  195. package/es/_utils/vue/merge-handlers.mjs +13 -0
  196. package/es/_utils/vue/omit.mjs +10 -0
  197. package/es/_utils/vue/render.mjs +12 -0
  198. package/es/_utils/vue/resolve-slot.mjs +41 -0
  199. package/es/_utils/vue/wrapper.mjs +7 -0
  200. package/es/affix/index.mjs +1 -0
  201. package/es/affix/src/Affix.d.ts +7 -7
  202. package/es/affix/src/Affix.mjs +180 -0
  203. package/es/affix/src/styles/index.cssr.mjs +6 -0
  204. package/es/affix/src/utils.mjs +9 -0
  205. package/es/alert/index.mjs +1 -0
  206. package/es/alert/src/Alert.mjs +202 -0
  207. package/es/alert/src/styles/index.cssr.mjs +103 -0
  208. package/es/alert/src/styles/rtl.cssr.mjs +16 -0
  209. package/es/alert/styles/_common.mjs +10 -0
  210. package/es/alert/styles/dark.mjs +102 -0
  211. package/es/alert/styles/index.mjs +3 -0
  212. package/es/alert/styles/light.mjs +104 -0
  213. package/es/alert/styles/rtl.mjs +5 -0
  214. package/es/anchor/index.mjs +2 -0
  215. package/es/anchor/src/AnchorAdapter.d.ts +7 -7
  216. package/es/anchor/src/AnchorAdapter.mjs +81 -0
  217. package/es/anchor/src/BaseAnchor.mjs +280 -0
  218. package/es/anchor/src/Link.mjs +51 -0
  219. package/es/anchor/src/styles/index.cssr.mjs +89 -0
  220. package/es/anchor/src/utils.mjs +11 -0
  221. package/es/anchor/styles/_common.mjs +5 -0
  222. package/es/anchor/styles/dark.mjs +8 -0
  223. package/es/anchor/styles/index.mjs +2 -0
  224. package/es/anchor/styles/light.mjs +31 -0
  225. package/es/auto-complete/index.mjs +1 -0
  226. package/es/auto-complete/src/AutoComplete.d.ts +5 -0
  227. package/es/auto-complete/src/AutoComplete.mjs +394 -0
  228. package/es/auto-complete/src/interface.mjs +1 -0
  229. package/es/auto-complete/src/styles/index.cssr.mjs +16 -0
  230. package/es/auto-complete/src/utils.mjs +23 -0
  231. package/es/auto-complete/styles/dark.mjs +14 -0
  232. package/es/auto-complete/styles/index.mjs +2 -0
  233. package/es/auto-complete/styles/light.mjs +22 -0
  234. package/es/avatar/index.mjs +1 -0
  235. package/es/avatar/src/Avatar.d.ts +1 -1
  236. package/es/avatar/src/Avatar.mjs +292 -0
  237. package/es/avatar/src/context.mjs +2 -0
  238. package/es/avatar/src/interface.mjs +1 -0
  239. package/es/avatar/src/styles/index.cssr.mjs +39 -0
  240. package/es/avatar/styles/dark.mjs +8 -0
  241. package/es/avatar/styles/index.mjs +2 -0
  242. package/es/avatar/styles/light.mjs +36 -0
  243. package/es/avatar-group/index.mjs +1 -0
  244. package/es/avatar-group/src/AvatarGroup.d.ts +4 -0
  245. package/es/avatar-group/src/AvatarGroup.mjs +95 -0
  246. package/es/avatar-group/src/styles/avatar-group-rtl.cssr.mjs +10 -0
  247. package/es/avatar-group/src/styles/avatar-group.cssr.mjs +21 -0
  248. package/es/avatar-group/styles/dark.mjs +12 -0
  249. package/es/avatar-group/styles/index.mjs +3 -0
  250. package/es/avatar-group/styles/light.mjs +17 -0
  251. package/es/avatar-group/styles/rtl.mjs +5 -0
  252. package/es/back-top/index.mjs +1 -0
  253. package/es/back-top/src/BackTop.mjs +245 -0
  254. package/es/back-top/src/BackTopIcon.mjs +26 -0
  255. package/es/back-top/src/styles/index.cssr.mjs +51 -0
  256. package/es/back-top/styles/_common.mjs +6 -0
  257. package/es/back-top/styles/dark.mjs +25 -0
  258. package/es/back-top/styles/index.mjs +2 -0
  259. package/es/back-top/styles/light.mjs +26 -0
  260. package/es/badge/index.mjs +1 -0
  261. package/es/badge/src/Badge.mjs +150 -0
  262. package/es/badge/src/styles/index.cssr.mjs +79 -0
  263. package/es/badge/src/styles/rtl.cssr.mjs +9 -0
  264. package/es/badge/styles/dark.mjs +24 -0
  265. package/es/badge/styles/index.mjs +3 -0
  266. package/es/badge/styles/light.mjs +25 -0
  267. package/es/badge/styles/rtl.mjs +5 -0
  268. package/es/breadcrumb/index.mjs +2 -0
  269. package/es/breadcrumb/src/Breadcrumb.mjs +77 -0
  270. package/es/breadcrumb/src/BreadcrumbItem.mjs +54 -0
  271. package/es/breadcrumb/src/styles/index.cssr.mjs +72 -0
  272. package/es/breadcrumb/styles/_common.mjs +3 -0
  273. package/es/breadcrumb/styles/dark.mjs +8 -0
  274. package/es/breadcrumb/styles/index.mjs +2 -0
  275. package/es/breadcrumb/styles/light.mjs +30 -0
  276. package/es/button/index.mjs +1 -0
  277. package/es/button/src/Button.mjs +507 -0
  278. package/es/button/src/interface.mjs +1 -0
  279. package/es/button/src/styles/index.cssr.mjs +189 -0
  280. package/es/button/src/styles/rtl.cssr.mjs +10 -0
  281. package/es/button/styles/_common.mjs +19 -0
  282. package/es/button/styles/dark.mjs +15 -0
  283. package/es/button/styles/index.mjs +3 -0
  284. package/es/button/styles/light.mjs +242 -0
  285. package/es/button/styles/rtl.mjs +5 -0
  286. package/es/button-group/index.mjs +1 -0
  287. package/es/button-group/src/ButtonGroup.mjs +38 -0
  288. package/es/button-group/src/context.mjs +2 -0
  289. package/es/button-group/src/styles/index.cssr.mjs +53 -0
  290. package/es/button-group/src/styles/rtl.cssr.mjs +24 -0
  291. package/es/button-group/styles/dark.mjs +6 -0
  292. package/es/button-group/styles/index.mjs +3 -0
  293. package/es/button-group/styles/light.mjs +6 -0
  294. package/es/button-group/styles/rtl.mjs +5 -0
  295. package/es/calendar/index.mjs +1 -0
  296. package/es/calendar/src/Calendar.d.ts +2 -0
  297. package/es/calendar/src/Calendar.mjs +298 -0
  298. package/es/calendar/src/interface.mjs +1 -0
  299. package/es/calendar/src/styles/index.cssr.mjs +137 -0
  300. package/es/calendar/styles/_common.mjs +3 -0
  301. package/es/calendar/styles/dark.mjs +12 -0
  302. package/es/calendar/styles/index.mjs +2 -0
  303. package/es/calendar/styles/light.mjs +53 -0
  304. package/es/card/index.mjs +1 -0
  305. package/es/card/src/Card.mjs +204 -0
  306. package/es/card/src/styles/index.cssr.mjs +134 -0
  307. package/es/card/src/styles/rtl.cssr.mjs +6 -0
  308. package/es/card/styles/_common.mjs +12 -0
  309. package/es/card/styles/dark.mjs +19 -0
  310. package/es/card/styles/index.mjs +3 -0
  311. package/es/card/styles/light.mjs +57 -0
  312. package/es/card/styles/rtl.mjs +5 -0
  313. package/es/carousel/index.mjs +2 -0
  314. package/es/carousel/src/Carousel.d.ts +0 -1
  315. package/es/carousel/src/Carousel.mjs +885 -0
  316. package/es/carousel/src/CarouselArrow.mjs +60 -0
  317. package/es/carousel/src/CarouselContext.mjs +13 -0
  318. package/es/carousel/src/CarouselDots.mjs +128 -0
  319. package/es/carousel/src/CarouselItem.mjs +88 -0
  320. package/es/carousel/src/interface.mjs +1 -0
  321. package/es/carousel/src/styles/index.cssr.mjs +232 -0
  322. package/es/carousel/src/utils/duplicatedLogic.d.ts +1 -1
  323. package/es/carousel/src/utils/duplicatedLogic.mjs +41 -0
  324. package/es/carousel/src/utils/event.mjs +3 -0
  325. package/es/carousel/src/utils/index.mjs +31 -0
  326. package/es/carousel/styles/dark.mjs +8 -0
  327. package/es/carousel/styles/index.mjs +2 -0
  328. package/es/carousel/styles/light.mjs +18 -0
  329. package/es/cascader/index.mjs +1 -0
  330. package/es/cascader/src/Cascader.d.ts +5 -1
  331. package/es/cascader/src/Cascader.mjs +1097 -0
  332. package/es/cascader/src/CascaderMenu.mjs +162 -0
  333. package/es/cascader/src/CascaderOption.mjs +249 -0
  334. package/es/cascader/src/CascaderSelectMenu.mjs +181 -0
  335. package/es/cascader/src/CascaderSubmenu.d.ts +1 -1
  336. package/es/cascader/src/CascaderSubmenu.mjs +99 -0
  337. package/es/cascader/src/interface.mjs +2 -0
  338. package/es/cascader/src/styles/index.cssr.mjs +133 -0
  339. package/es/cascader/src/utils.mjs +41 -0
  340. package/es/cascader/styles/dark.mjs +20 -0
  341. package/es/cascader/styles/index.mjs +2 -0
  342. package/es/cascader/styles/light.mjs +52 -0
  343. package/es/checkbox/index.mjs +2 -0
  344. package/es/checkbox/src/CheckMark.mjs +7 -0
  345. package/es/checkbox/src/Checkbox.mjs +337 -0
  346. package/es/checkbox/src/CheckboxGroup.mjs +168 -0
  347. package/es/checkbox/src/LineMark.mjs +7 -0
  348. package/es/checkbox/src/interface.mjs +1 -0
  349. package/es/checkbox/src/styles/index.cssr.mjs +150 -0
  350. package/es/checkbox/src/styles/rtl.cssr.mjs +4 -0
  351. package/es/checkbox/styles/_common.mjs +7 -0
  352. package/es/checkbox/styles/dark.mjs +16 -0
  353. package/es/checkbox/styles/index.mjs +3 -0
  354. package/es/checkbox/styles/light.mjs +54 -0
  355. package/es/checkbox/styles/rtl.mjs +5 -0
  356. package/es/code/index.mjs +1 -0
  357. package/es/code/src/Code.mjs +195 -0
  358. package/es/code/src/styles/index.cssr.mjs +96 -0
  359. package/es/code/styles/dark.mjs +31 -0
  360. package/es/code/styles/index.mjs +2 -0
  361. package/es/code/styles/light.mjs +32 -0
  362. package/es/collapse/index.mjs +2 -0
  363. package/es/collapse/src/Collapse.d.ts +13 -0
  364. package/es/collapse/src/Collapse.mjs +200 -0
  365. package/es/collapse/src/CollapseItem.d.ts +1 -0
  366. package/es/collapse/src/CollapseItem.mjs +140 -0
  367. package/es/collapse/src/CollapseItemContent.mjs +42 -0
  368. package/es/collapse/src/interface.mjs +1 -0
  369. package/es/collapse/src/styles/index.cssr.mjs +58 -0
  370. package/es/collapse/src/styles/rtl.cssr.mjs +15 -0
  371. package/es/collapse/styles/dark.mjs +8 -0
  372. package/es/collapse/styles/index.mjs +3 -0
  373. package/es/collapse/styles/light.mjs +30 -0
  374. package/es/collapse/styles/rtl.mjs +5 -0
  375. package/es/collapse-transition/index.mjs +1 -0
  376. package/es/collapse-transition/src/CollapseTransition.mjs +86 -0
  377. package/es/collapse-transition/src/styles/index.cssr.mjs +5 -0
  378. package/es/collapse-transition/src/styles/rtl.cssr.mjs +5 -0
  379. package/es/collapse-transition/styles/dark.mjs +8 -0
  380. package/es/collapse-transition/styles/index.mjs +3 -0
  381. package/es/collapse-transition/styles/light.mjs +15 -0
  382. package/es/collapse-transition/styles/rtl.mjs +5 -0
  383. package/es/color-picker/index.mjs +1 -0
  384. package/es/color-picker/src/AlphaSlider.mjs +122 -0
  385. package/es/color-picker/src/ColorInput.mjs +120 -0
  386. package/es/color-picker/src/ColorInputUnit.mjs +160 -0
  387. package/es/color-picker/src/ColorPicker.mjs +618 -0
  388. package/es/color-picker/src/ColorPickerSwatches.mjs +110 -0
  389. package/es/color-picker/src/ColorPickerTrigger.mjs +61 -0
  390. package/es/color-picker/src/ColorPreview.mjs +57 -0
  391. package/es/color-picker/src/HueSlider.mjs +104 -0
  392. package/es/color-picker/src/Pallete.mjs +111 -0
  393. package/es/color-picker/src/context.mjs +2 -0
  394. package/es/color-picker/src/interface.mjs +1 -0
  395. package/es/color-picker/src/styles/index.cssr.mjs +193 -0
  396. package/es/color-picker/src/utils.mjs +101 -0
  397. package/es/color-picker/styles/dark.mjs +14 -0
  398. package/es/color-picker/styles/index.mjs +2 -0
  399. package/es/color-picker/styles/light.mjs +46 -0
  400. package/es/components.d.ts +1 -0
  401. package/es/components.mjs +93 -0
  402. package/es/composables/index.mjs +1 -0
  403. package/es/composables/use-theme-vars.mjs +23 -0
  404. package/es/config-provider/index.mjs +2 -0
  405. package/es/config-provider/src/ConfigProvider.d.ts +9 -0
  406. package/es/config-provider/src/ConfigProvider.mjs +214 -0
  407. package/es/config-provider/src/config.mjs +13 -0
  408. package/es/config-provider/src/context.mjs +2 -0
  409. package/es/config-provider/src/interface.mjs +1 -0
  410. package/es/config-provider/src/internal-interface.d.ts +2 -0
  411. package/es/config-provider/src/internal-interface.mjs +1 -0
  412. package/es/config-provider/src/katex.mjs +1 -0
  413. package/es/countdown/index.mjs +1 -0
  414. package/es/countdown/src/Countdown.mjs +167 -0
  415. package/es/create.mjs +35 -0
  416. package/es/data-table/index.mjs +2 -0
  417. package/es/data-table/src/DataTable.d.ts +3 -1
  418. package/es/data-table/src/DataTable.mjs +436 -0
  419. package/es/data-table/src/HeaderButton/FilterButton.mjs +162 -0
  420. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +1 -1
  421. package/es/data-table/src/HeaderButton/FilterMenu.mjs +180 -0
  422. package/es/data-table/src/HeaderButton/RenderFilter.mjs +29 -0
  423. package/es/data-table/src/HeaderButton/RenderSorter.mjs +24 -0
  424. package/es/data-table/src/HeaderButton/ResizeButton.mjs +64 -0
  425. package/es/data-table/src/HeaderButton/SortButton.mjs +70 -0
  426. package/es/data-table/src/MainTable.mjs +110 -0
  427. package/es/data-table/src/TableParts/Body.d.ts +1 -1
  428. package/es/data-table/src/TableParts/Body.mjs +797 -0
  429. package/es/data-table/src/TableParts/BodyCheckbox.mjs +40 -0
  430. package/es/data-table/src/TableParts/BodyRadio.mjs +39 -0
  431. package/es/data-table/src/TableParts/Cell.mjs +81 -0
  432. package/es/data-table/src/TableParts/ExpandTrigger.mjs +50 -0
  433. package/es/data-table/src/TableParts/Header.mjs +236 -0
  434. package/es/data-table/src/TableParts/SelectionMenu.mjs +87 -0
  435. package/es/data-table/src/interface.d.ts +5 -0
  436. package/es/data-table/src/interface.mjs +116 -0
  437. package/es/data-table/src/styles/index.cssr.mjs +433 -0
  438. package/es/data-table/src/styles/rtl.cssr.d.ts +2 -0
  439. package/es/data-table/src/styles/rtl.cssr.mjs +18 -0
  440. package/es/data-table/src/use-check.mjs +172 -0
  441. package/es/data-table/src/use-expand.mjs +60 -0
  442. package/es/data-table/src/use-group-header.mjs +102 -0
  443. package/es/data-table/src/use-resizable.mjs +22 -0
  444. package/es/data-table/src/use-scroll.mjs +231 -0
  445. package/es/data-table/src/use-sorter.mjs +189 -0
  446. package/es/data-table/src/use-table-data.mjs +352 -0
  447. package/es/data-table/src/utils.d.ts +2 -1
  448. package/es/data-table/src/utils.mjs +135 -0
  449. package/es/data-table/styles/_common.mjs +16 -0
  450. package/es/data-table/styles/dark.mjs +33 -0
  451. package/es/data-table/styles/index.d.ts +1 -0
  452. package/es/data-table/styles/index.mjs +3 -0
  453. package/es/data-table/styles/light.mjs +93 -0
  454. package/es/data-table/styles/rtl.d.ts +2 -0
  455. package/es/data-table/styles/rtl.mjs +8 -0
  456. package/es/date-picker/index.mjs +1 -0
  457. package/es/date-picker/src/DatePicker.d.ts +82 -4
  458. package/es/date-picker/src/DatePicker.mjs +1013 -0
  459. package/es/date-picker/src/config.d.ts +1 -1
  460. package/es/date-picker/src/config.mjs +3 -0
  461. package/es/date-picker/src/interface.d.ts +24 -2
  462. package/es/date-picker/src/interface.mjs +2 -0
  463. package/es/date-picker/src/panel/date.d.ts +82 -41
  464. package/es/date-picker/src/panel/date.mjs +148 -0
  465. package/es/date-picker/src/panel/daterange.d.ts +12 -0
  466. package/es/date-picker/src/panel/daterange.mjs +194 -0
  467. package/es/date-picker/src/panel/datetime.d.ts +15 -1
  468. package/es/date-picker/src/panel/datetime.mjs +169 -0
  469. package/es/date-picker/src/panel/datetimerange.d.ts +12 -0
  470. package/es/date-picker/src/panel/datetimerange.mjs +259 -0
  471. package/es/date-picker/src/panel/month.d.ts +16 -2
  472. package/es/date-picker/src/panel/month.mjs +191 -0
  473. package/es/date-picker/src/panel/monthrange.d.ts +13 -1
  474. package/es/date-picker/src/panel/monthrange.mjs +206 -0
  475. package/es/date-picker/src/panel/panelHeader.d.ts +26 -2
  476. package/es/date-picker/src/panel/panelHeader.mjs +89 -0
  477. package/es/date-picker/src/panel/use-calendar.d.ts +13 -3
  478. package/es/date-picker/src/panel/use-calendar.mjs +402 -0
  479. package/es/date-picker/src/panel/use-dual-calendar.d.ts +8 -0
  480. package/es/date-picker/src/panel/use-dual-calendar.mjs +696 -0
  481. package/es/date-picker/src/panel/use-panel-common.d.ts +8 -0
  482. package/es/date-picker/src/panel/use-panel-common.mjs +174 -0
  483. package/es/date-picker/src/styles/index.cssr.mjs +388 -0
  484. package/es/date-picker/src/utils.d.ts +18 -5
  485. package/es/date-picker/src/utils.mjs +244 -0
  486. package/es/date-picker/src/validation-utils.mjs +208 -0
  487. package/es/date-picker/styles/_common.d.ts +2 -0
  488. package/es/date-picker/styles/_common.mjs +39 -0
  489. package/es/date-picker/styles/dark.mjs +32 -0
  490. package/es/date-picker/styles/index.mjs +2 -0
  491. package/es/date-picker/styles/light.d.ts +4 -0
  492. package/es/date-picker/styles/light.mjs +70 -0
  493. package/es/descriptions/index.mjs +2 -0
  494. package/es/descriptions/src/Descriptions.d.ts +1 -1
  495. package/es/descriptions/src/Descriptions.mjs +229 -0
  496. package/es/descriptions/src/DescriptionsItem.mjs +21 -0
  497. package/es/descriptions/src/styles/index.cssr.mjs +119 -0
  498. package/es/descriptions/src/utils.mjs +7 -0
  499. package/es/descriptions/styles/_common.mjs +14 -0
  500. package/es/descriptions/styles/dark.mjs +8 -0
  501. package/es/descriptions/styles/index.mjs +2 -0
  502. package/es/descriptions/styles/light.mjs +46 -0
  503. package/es/dialog/index.mjs +4 -0
  504. package/es/dialog/src/Dialog.d.ts +5 -1
  505. package/es/dialog/src/Dialog.mjs +212 -0
  506. package/es/dialog/src/DialogEnvironment.mjs +172 -0
  507. package/es/dialog/src/DialogProvider.d.ts +2 -2
  508. package/es/dialog/src/DialogProvider.mjs +81 -0
  509. package/es/dialog/src/composables.mjs +17 -0
  510. package/es/dialog/src/context.mjs +4 -0
  511. package/es/dialog/src/dialogProps.mjs +31 -0
  512. package/es/dialog/src/interface.mjs +1 -0
  513. package/es/dialog/src/styles/index.cssr.mjs +100 -0
  514. package/es/dialog/src/styles/rtl.cssr.d.ts +2 -0
  515. package/es/dialog/src/styles/rtl.cssr.mjs +18 -0
  516. package/es/dialog/styles/_common.mjs +13 -0
  517. package/es/dialog/styles/dark.mjs +12 -0
  518. package/es/dialog/styles/index.d.ts +1 -0
  519. package/es/dialog/styles/index.mjs +3 -0
  520. package/es/dialog/styles/light.mjs +56 -0
  521. package/es/dialog/styles/rtl.d.ts +2 -0
  522. package/es/dialog/styles/rtl.mjs +5 -0
  523. package/es/discrete/index.mjs +1 -0
  524. package/es/discrete/src/InjectionExtractor.mjs +17 -0
  525. package/es/discrete/src/discrete.mjs +51 -0
  526. package/es/discrete/src/discreteApp.mjs +58 -0
  527. package/es/discrete/src/interface.mjs +1 -0
  528. package/es/divider/index.mjs +1 -0
  529. package/es/divider/src/Divider.mjs +76 -0
  530. package/es/divider/src/styles/index.cssr.mjs +58 -0
  531. package/es/divider/styles/dark.mjs +8 -0
  532. package/es/divider/styles/index.mjs +2 -0
  533. package/es/divider/styles/light.mjs +19 -0
  534. package/es/drawer/index.mjs +2 -0
  535. package/es/drawer/src/Drawer.d.ts +4 -1
  536. package/es/drawer/src/Drawer.mjs +326 -0
  537. package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -0
  538. package/es/drawer/src/DrawerBodyWrapper.mjs +266 -0
  539. package/es/drawer/src/DrawerContent.d.ts +15 -9
  540. package/es/drawer/src/DrawerContent.mjs +97 -0
  541. package/es/drawer/src/interface.mjs +3 -0
  542. package/es/drawer/src/styles/index.cssr.mjs +163 -0
  543. package/es/drawer/src/styles/rtl.cssr.mjs +8 -0
  544. package/es/drawer/styles/dark.mjs +12 -0
  545. package/es/drawer/styles/index.mjs +3 -0
  546. package/es/drawer/styles/light.mjs +53 -0
  547. package/es/drawer/styles/rtl.mjs +8 -0
  548. package/es/dropdown/index.mjs +1 -0
  549. package/es/dropdown/src/Dropdown.mjs +374 -0
  550. package/es/dropdown/src/DropdownDivider.mjs +15 -0
  551. package/es/dropdown/src/DropdownGroup.mjs +60 -0
  552. package/es/dropdown/src/DropdownGroupHeader.mjs +74 -0
  553. package/es/dropdown/src/DropdownMenu.mjs +137 -0
  554. package/es/dropdown/src/DropdownOption.mjs +299 -0
  555. package/es/dropdown/src/DropdownRenderOption.mjs +19 -0
  556. package/es/dropdown/src/context.mjs +4 -0
  557. package/es/dropdown/src/interface.mjs +1 -0
  558. package/es/dropdown/src/styles/index.cssr.mjs +143 -0
  559. package/es/dropdown/src/utils.mjs +12 -0
  560. package/es/dropdown/styles/_common.mjs +23 -0
  561. package/es/dropdown/styles/dark.mjs +27 -0
  562. package/es/dropdown/styles/index.mjs +2 -0
  563. package/es/dropdown/styles/light.mjs +73 -0
  564. package/es/dynamic-input/index.mjs +1 -0
  565. package/es/dynamic-input/src/DynamicInput.mjs +410 -0
  566. package/es/dynamic-input/src/InputPreset.mjs +54 -0
  567. package/es/dynamic-input/src/PairPreset.mjs +80 -0
  568. package/es/dynamic-input/src/interface.mjs +2 -0
  569. package/es/dynamic-input/src/styles/index.cssr.mjs +35 -0
  570. package/es/dynamic-input/src/styles/rtl.cssr.mjs +9 -0
  571. package/es/dynamic-input/styles/_common.mjs +4 -0
  572. package/es/dynamic-input/styles/dark.mjs +16 -0
  573. package/es/dynamic-input/styles/index.mjs +3 -0
  574. package/es/dynamic-input/styles/light.mjs +18 -0
  575. package/es/dynamic-input/styles/rtl.mjs +11 -0
  576. package/es/dynamic-tags/index.mjs +1 -0
  577. package/es/dynamic-tags/src/DynamicTags.d.ts +3 -12
  578. package/es/dynamic-tags/src/DynamicTags.mjs +265 -0
  579. package/es/dynamic-tags/src/interface.mjs +1 -0
  580. package/es/dynamic-tags/src/styles/index.cssr.mjs +6 -0
  581. package/es/dynamic-tags/styles/dark.mjs +21 -0
  582. package/es/dynamic-tags/styles/index.mjs +2 -0
  583. package/es/dynamic-tags/styles/light.d.ts +0 -1
  584. package/es/dynamic-tags/styles/light.mjs +22 -0
  585. package/es/element/index.mjs +2 -0
  586. package/es/element/src/Element.mjs +55 -0
  587. package/es/element/styles/dark.mjs +6 -0
  588. package/es/element/styles/index.mjs +2 -0
  589. package/es/element/styles/light.mjs +6 -0
  590. package/es/ellipsis/index.mjs +2 -0
  591. package/es/ellipsis/src/Ellipsis.mjs +184 -0
  592. package/es/ellipsis/src/PerformantEllipsis.mjs +48 -0
  593. package/es/ellipsis/src/styles/index.cssr.mjs +14 -0
  594. package/es/ellipsis/styles/dark.mjs +10 -0
  595. package/es/ellipsis/styles/index.mjs +2 -0
  596. package/es/ellipsis/styles/light.mjs +11 -0
  597. package/es/empty/index.mjs +1 -0
  598. package/es/empty/src/Empty.mjs +112 -0
  599. package/es/empty/src/styles/index.cssr.mjs +32 -0
  600. package/es/empty/styles/_common.mjs +6 -0
  601. package/es/empty/styles/dark.mjs +8 -0
  602. package/es/empty/styles/index.mjs +2 -0
  603. package/es/empty/styles/light.mjs +28 -0
  604. package/es/equation/index.mjs +1 -0
  605. package/es/equation/src/Equation.mjs +40 -0
  606. package/es/equation/styles/dark.mjs +8 -0
  607. package/es/equation/styles/index.mjs +2 -0
  608. package/es/equation/styles/light.mjs +8 -0
  609. package/es/flex/index.d.ts +3 -0
  610. package/es/flex/index.mjs +1 -0
  611. package/es/flex/src/Flex.d.ts +116 -0
  612. package/es/flex/src/Flex.mjs +101 -0
  613. package/es/flex/src/styles/rtl.cssr.d.ts +2 -0
  614. package/es/flex/src/styles/rtl.cssr.mjs +4 -0
  615. package/es/flex/src/type.d.ts +3 -0
  616. package/es/flex/src/type.mjs +1 -0
  617. package/es/flex/styles/_common.d.ts +6 -0
  618. package/es/flex/styles/_common.mjs +5 -0
  619. package/es/flex/styles/dark.d.ts +3 -0
  620. package/es/flex/styles/dark.mjs +8 -0
  621. package/es/flex/styles/index.d.ts +4 -0
  622. package/es/flex/styles/index.mjs +3 -0
  623. package/es/flex/styles/light.d.ts +10 -0
  624. package/es/flex/styles/light.mjs +9 -0
  625. package/es/flex/styles/rtl.d.ts +2 -0
  626. package/es/flex/styles/rtl.mjs +5 -0
  627. package/es/form/index.mjs +6 -0
  628. package/es/form/src/Form.mjs +162 -0
  629. package/es/form/src/FormItem.d.ts +1 -0
  630. package/es/form/src/FormItem.mjs +494 -0
  631. package/es/form/src/FormItemCol.d.ts +1 -1
  632. package/es/form/src/FormItemCol.mjs +44 -0
  633. package/es/form/src/FormItemGridItem.mjs +46 -0
  634. package/es/form/src/FormItemRow.mjs +45 -0
  635. package/es/form/src/context.mjs +3 -0
  636. package/es/form/src/interface.d.ts +20 -7
  637. package/es/form/src/interface.mjs +1 -0
  638. package/es/form/src/styles/form-item.cssr.mjs +124 -0
  639. package/es/form/src/styles/form.cssr.mjs +12 -0
  640. package/es/form/src/utils.d.ts +1 -0
  641. package/es/form/src/utils.mjs +173 -0
  642. package/es/form/styles/_common.mjs +23 -0
  643. package/es/form/styles/dark.mjs +8 -0
  644. package/es/form/styles/index.mjs +2 -0
  645. package/es/form/styles/light.mjs +31 -0
  646. package/es/global-style/index.mjs +1 -0
  647. package/es/global-style/src/GlobalStyle.mjs +65 -0
  648. package/es/gradient-text/index.mjs +1 -0
  649. package/es/gradient-text/src/GradientText.mjs +98 -0
  650. package/es/gradient-text/src/styles/index.cssr.mjs +19 -0
  651. package/es/gradient-text/styles/dark.mjs +35 -0
  652. package/es/gradient-text/styles/index.mjs +2 -0
  653. package/es/gradient-text/styles/light.mjs +42 -0
  654. package/es/grid/index.mjs +3 -0
  655. package/es/grid/src/Grid.d.ts +1 -1
  656. package/es/grid/src/Grid.mjs +258 -0
  657. package/es/grid/src/GridItem.mjs +91 -0
  658. package/es/grid/src/config.mjs +3 -0
  659. package/es/icon/index.mjs +1 -0
  660. package/es/icon/src/Icon.mjs +91 -0
  661. package/es/icon/src/styles/index.cssr.mjs +25 -0
  662. package/es/icon/styles/dark.mjs +8 -0
  663. package/es/icon/styles/index.mjs +2 -0
  664. package/es/icon/styles/light.mjs +25 -0
  665. package/es/icon-wrapper/index.mjs +1 -0
  666. package/es/icon-wrapper/src/IconWrapper.mjs +61 -0
  667. package/es/icon-wrapper/src/styles/index.cssr.mjs +16 -0
  668. package/es/icon-wrapper/styles/dark.mjs +8 -0
  669. package/es/icon-wrapper/styles/index.mjs +2 -0
  670. package/es/icon-wrapper/styles/light.mjs +17 -0
  671. package/es/image/index.mjs +2 -0
  672. package/es/image/src/Image.mjs +173 -0
  673. package/es/image/src/ImageGroup.mjs +76 -0
  674. package/es/image/src/ImagePreview.mjs +541 -0
  675. package/es/image/src/icons.mjs +34 -0
  676. package/es/image/src/interface.mjs +12 -0
  677. package/es/image/src/styles/index.cssr.mjs +68 -0
  678. package/es/image/src/utils.mjs +79 -0
  679. package/es/image/styles/dark.mjs +20 -0
  680. package/es/image/styles/index.mjs +2 -0
  681. package/es/image/styles/light.mjs +19 -0
  682. package/es/index.mjs +14 -0
  683. package/es/input/index.mjs +3 -0
  684. package/es/input/src/Input.d.ts +1 -0
  685. package/es/input/src/Input.mjs +1228 -0
  686. package/es/input/src/InputGroup.mjs +25 -0
  687. package/es/input/src/InputGroupLabel.mjs +77 -0
  688. package/es/input/src/WordCount.mjs +39 -0
  689. package/es/input/src/interface.d.ts +7 -2
  690. package/es/input/src/interface.mjs +2 -0
  691. package/es/input/src/styles/input-group-label.cssr.mjs +38 -0
  692. package/es/input/src/styles/input-group.cssr.mjs +57 -0
  693. package/es/input/src/styles/input.cssr.mjs +278 -0
  694. package/es/input/src/styles/rtl.cssr.mjs +16 -0
  695. package/es/input/src/utils.mjs +80 -0
  696. package/es/input/styles/_common.mjs +7 -0
  697. package/es/input/styles/dark.mjs +112 -0
  698. package/es/input/styles/index.mjs +3 -0
  699. package/es/input/styles/light.mjs +109 -0
  700. package/es/input/styles/rtl.mjs +5 -0
  701. package/es/input-number/index.mjs +1 -0
  702. package/es/input-number/src/InputNumber.d.ts +5 -1
  703. package/es/input-number/src/InputNumber.mjs +707 -0
  704. package/es/input-number/src/interface.mjs +1 -0
  705. package/es/input-number/src/styles/input-number.cssr.mjs +8 -0
  706. package/es/input-number/src/styles/rtl.cssr.mjs +4 -0
  707. package/es/input-number/src/utils.mjs +37 -0
  708. package/es/input-number/styles/dark.mjs +20 -0
  709. package/es/input-number/styles/index.mjs +3 -0
  710. package/es/input-number/styles/light.mjs +22 -0
  711. package/es/input-number/styles/rtl.mjs +8 -0
  712. package/es/jest-setup.mjs +5 -0
  713. package/es/layout/index.mjs +5 -0
  714. package/es/layout/src/Layout.mjs +150 -0
  715. package/es/layout/src/LayoutContent.mjs +2 -0
  716. package/es/layout/src/LayoutFooter.mjs +60 -0
  717. package/es/layout/src/LayoutHeader.mjs +63 -0
  718. package/es/layout/src/LayoutSider.mjs +285 -0
  719. package/es/layout/src/ToggleBar.mjs +23 -0
  720. package/es/layout/src/ToggleButton.mjs +26 -0
  721. package/es/layout/src/interface.mjs +6 -0
  722. package/es/layout/src/styles/layout-footer.cssr.mjs +23 -0
  723. package/es/layout/src/styles/layout-header.cssr.mjs +24 -0
  724. package/es/layout/src/styles/layout-sider.cssr.mjs +140 -0
  725. package/es/layout/src/styles/layout.cssr.mjs +28 -0
  726. package/es/layout/styles/dark.mjs +47 -0
  727. package/es/layout/styles/index.mjs +2 -0
  728. package/es/layout/styles/light.mjs +52 -0
  729. package/es/legacy-grid/index.mjs +2 -0
  730. package/es/legacy-grid/src/Col.mjs +62 -0
  731. package/es/legacy-grid/src/Row.mjs +72 -0
  732. package/es/legacy-grid/src/interface.mjs +1 -0
  733. package/es/legacy-grid/src/styles/index.cssr.mjs +31 -0
  734. package/es/legacy-grid/src/styles/rtl.cssr.mjs +20 -0
  735. package/es/legacy-grid/styles/dark.mjs +6 -0
  736. package/es/legacy-grid/styles/index.mjs +3 -0
  737. package/es/legacy-grid/styles/light.mjs +6 -0
  738. package/es/legacy-grid/styles/rtl.mjs +5 -0
  739. package/es/legacy-transfer/index.mjs +1 -0
  740. package/es/legacy-transfer/src/Transfer.d.ts +1 -1
  741. package/es/legacy-transfer/src/Transfer.mjs +356 -0
  742. package/es/legacy-transfer/src/TransferFilter.mjs +63 -0
  743. package/es/legacy-transfer/src/TransferHeader.mjs +71 -0
  744. package/es/legacy-transfer/src/TransferList.d.ts +1 -1
  745. package/es/legacy-transfer/src/TransferList.mjs +155 -0
  746. package/es/legacy-transfer/src/TransferListItem.mjs +80 -0
  747. package/es/legacy-transfer/src/interface.mjs +2 -0
  748. package/es/legacy-transfer/src/styles/index.cssr.mjs +215 -0
  749. package/es/legacy-transfer/src/use-transfer-data.mjs +135 -0
  750. package/es/legacy-transfer/styles/_common.mjs +4 -0
  751. package/es/legacy-transfer/styles/dark.mjs +61 -0
  752. package/es/legacy-transfer/styles/index.mjs +2 -0
  753. package/es/legacy-transfer/styles/light.mjs +65 -0
  754. package/es/list/index.mjs +2 -0
  755. package/es/list/src/List.mjs +97 -0
  756. package/es/list/src/ListItem.mjs +33 -0
  757. package/es/list/src/styles/index.cssr.mjs +88 -0
  758. package/es/list/src/styles/rtl.cssr.mjs +11 -0
  759. package/es/list/styles/dark.mjs +8 -0
  760. package/es/list/styles/index.mjs +3 -0
  761. package/es/list/styles/light.mjs +34 -0
  762. package/es/list/styles/rtl.mjs +5 -0
  763. package/es/loading-bar/index.mjs +2 -0
  764. package/es/loading-bar/src/LoadingBar.mjs +203 -0
  765. package/es/loading-bar/src/LoadingBarProvider.mjs +81 -0
  766. package/es/loading-bar/src/context.mjs +3 -0
  767. package/es/loading-bar/src/styles/index.cssr.mjs +35 -0
  768. package/es/loading-bar/src/use-loading-bar.mjs +10 -0
  769. package/es/loading-bar/styles/dark.mjs +16 -0
  770. package/es/loading-bar/styles/index.mjs +2 -0
  771. package/es/loading-bar/styles/light.mjs +18 -0
  772. package/es/locales/common/arDZ.mjs +124 -0
  773. package/es/locales/common/deDE.mjs +124 -0
  774. package/es/locales/common/enGB.mjs +125 -0
  775. package/es/locales/common/enUS.d.ts +3 -0
  776. package/es/locales/common/enUS.mjs +125 -0
  777. package/es/locales/common/eo.mjs +126 -0
  778. package/es/locales/common/esAR.mjs +128 -0
  779. package/es/locales/common/faIR.mjs +124 -0
  780. package/es/locales/common/frFR.mjs +124 -0
  781. package/es/locales/common/idID.mjs +128 -0
  782. package/es/locales/common/itIT.mjs +127 -0
  783. package/es/locales/common/jaJP.mjs +124 -0
  784. package/es/locales/common/koKR.mjs +127 -0
  785. package/es/locales/common/nbNO.mjs +128 -0
  786. package/es/locales/common/nlNL.mjs +126 -0
  787. package/es/locales/common/plPL.mjs +127 -0
  788. package/es/locales/common/ptBR.mjs +124 -0
  789. package/es/locales/common/ruRU.mjs +124 -0
  790. package/es/locales/common/skSK.mjs +128 -0
  791. package/es/locales/common/svSE.mjs +124 -0
  792. package/es/locales/common/thTH.mjs +128 -0
  793. package/es/locales/common/trTR.mjs +125 -0
  794. package/es/locales/common/ukUA.mjs +125 -0
  795. package/es/locales/common/viVN.mjs +124 -0
  796. package/es/locales/common/zhCN.mjs +124 -0
  797. package/es/locales/common/zhTW.mjs +124 -0
  798. package/es/locales/date/arDZ.mjs +6 -0
  799. package/es/locales/date/deDE.mjs +6 -0
  800. package/es/locales/date/enGB.mjs +6 -0
  801. package/es/locales/date/enUS.mjs +6 -0
  802. package/es/locales/date/eo.mjs +6 -0
  803. package/es/locales/date/esAR.mjs +6 -0
  804. package/es/locales/date/faIR.mjs +6 -0
  805. package/es/locales/date/frFR.mjs +6 -0
  806. package/es/locales/date/idID.mjs +6 -0
  807. package/es/locales/date/itIT.mjs +6 -0
  808. package/es/locales/date/jaJP.mjs +6 -0
  809. package/es/locales/date/koKR.mjs +6 -0
  810. package/es/locales/date/nbNO.mjs +6 -0
  811. package/es/locales/date/nlNL.mjs +6 -0
  812. package/es/locales/date/plPL.mjs +6 -0
  813. package/es/locales/date/ptBR.mjs +6 -0
  814. package/es/locales/date/ruRU.mjs +6 -0
  815. package/es/locales/date/skSK.mjs +6 -0
  816. package/es/locales/date/svSE.mjs +6 -0
  817. package/es/locales/date/thTH.mjs +6 -0
  818. package/es/locales/date/trTR.mjs +6 -0
  819. package/es/locales/date/ukUA.mjs +6 -0
  820. package/es/locales/date/viVN.mjs +6 -0
  821. package/es/locales/date/zhCN.mjs +6 -0
  822. package/es/locales/date/zhTW.mjs +6 -0
  823. package/es/locales/index.mjs +51 -0
  824. package/es/locales/utils/index.mjs +4 -0
  825. package/es/log/index.mjs +1 -0
  826. package/es/log/src/Log.mjs +265 -0
  827. package/es/log/src/LogLine.mjs +66 -0
  828. package/es/log/src/LogLoader.mjs +31 -0
  829. package/es/log/src/context.mjs +2 -0
  830. package/es/log/src/styles/index.cssr.mjs +53 -0
  831. package/es/log/styles/dark.mjs +27 -0
  832. package/es/log/styles/index.mjs +2 -0
  833. package/es/log/styles/light.mjs +30 -0
  834. package/es/mention/index.mjs +1 -0
  835. package/es/mention/src/Mention.d.ts +1 -0
  836. package/es/mention/src/Mention.mjs +449 -0
  837. package/es/mention/src/interface.mjs +1 -0
  838. package/es/mention/src/styles/index.cssr.mjs +8 -0
  839. package/es/mention/src/utils.mjs +159 -0
  840. package/es/mention/styles/dark.mjs +20 -0
  841. package/es/mention/styles/index.mjs +2 -0
  842. package/es/mention/styles/light.mjs +22 -0
  843. package/es/menu/index.mjs +1 -0
  844. package/es/menu/src/Menu.mjs +531 -0
  845. package/es/menu/src/MenuDivider.mjs +16 -0
  846. package/es/menu/src/MenuOption.mjs +108 -0
  847. package/es/menu/src/MenuOptionContent.mjs +115 -0
  848. package/es/menu/src/MenuOptionGroup.mjs +50 -0
  849. package/es/menu/src/Submenu.mjs +216 -0
  850. package/es/menu/src/context.mjs +4 -0
  851. package/es/menu/src/interface.mjs +1 -0
  852. package/es/menu/src/styles/index.cssr.mjs +232 -0
  853. package/es/menu/src/use-menu-child-props.mjs +14 -0
  854. package/es/menu/src/use-menu-child.mjs +88 -0
  855. package/es/menu/src/useCheckDeprecated.mjs +24 -0
  856. package/es/menu/src/utils.mjs +74 -0
  857. package/es/menu/styles/dark.mjs +34 -0
  858. package/es/menu/styles/index.mjs +2 -0
  859. package/es/menu/styles/light.mjs +119 -0
  860. package/es/message/index.mjs +2 -0
  861. package/es/message/src/Message.mjs +170 -0
  862. package/es/message/src/MessageEnvironment.mjs +112 -0
  863. package/es/message/src/MessageProvider.mjs +130 -0
  864. package/es/message/src/context.mjs +3 -0
  865. package/es/message/src/message-props.mjs +17 -0
  866. package/es/message/src/styles/index.cssr.mjs +133 -0
  867. package/es/message/src/styles/rtl.cssr.mjs +8 -0
  868. package/es/message/src/types.mjs +1 -0
  869. package/es/message/src/use-message.mjs +10 -0
  870. package/es/message/styles/_common.mjs +12 -0
  871. package/es/message/styles/dark.mjs +8 -0
  872. package/es/message/styles/index.mjs +3 -0
  873. package/es/message/styles/light.mjs +87 -0
  874. package/es/message/styles/rtl.mjs +5 -0
  875. package/es/modal/index.mjs +1 -0
  876. package/es/modal/src/BodyWrapper.mjs +257 -0
  877. package/es/modal/src/Modal.mjs +321 -0
  878. package/es/modal/src/interface.mjs +3 -0
  879. package/es/modal/src/presetProps.mjs +6 -0
  880. package/es/modal/src/styles/index.cssr.mjs +48 -0
  881. package/es/modal/styles/dark.mjs +16 -0
  882. package/es/modal/styles/index.mjs +2 -0
  883. package/es/modal/styles/light.mjs +28 -0
  884. package/es/notification/index.mjs +2 -0
  885. package/es/notification/src/Notification.mjs +191 -0
  886. package/es/notification/src/NotificationContainer.mjs +58 -0
  887. package/es/notification/src/NotificationEnvironment.mjs +164 -0
  888. package/es/notification/src/NotificationProvider.mjs +149 -0
  889. package/es/notification/src/context.mjs +2 -0
  890. package/es/notification/src/styles/index.cssr.mjs +227 -0
  891. package/es/notification/src/styles/rtl.cssr.mjs +22 -0
  892. package/es/notification/src/use-notification.mjs +10 -0
  893. package/es/notification/styles/_common.mjs +10 -0
  894. package/es/notification/styles/dark.mjs +12 -0
  895. package/es/notification/styles/index.mjs +3 -0
  896. package/es/notification/styles/light.mjs +58 -0
  897. package/es/notification/styles/rtl.mjs +5 -0
  898. package/es/number-animation/index.mjs +1 -0
  899. package/es/number-animation/src/NumberAnimation.mjs +111 -0
  900. package/es/number-animation/src/utils.mjs +23 -0
  901. package/es/page-header/index.mjs +1 -0
  902. package/es/page-header/src/PageHeader.mjs +128 -0
  903. package/es/page-header/src/styles/index.cssr.mjs +49 -0
  904. package/es/page-header/src/styles/rtl.cssr.mjs +19 -0
  905. package/es/page-header/styles/_common.mjs +4 -0
  906. package/es/page-header/styles/dark.mjs +7 -0
  907. package/es/page-header/styles/index.mjs +3 -0
  908. package/es/page-header/styles/light.mjs +28 -0
  909. package/es/page-header/styles/rtl.mjs +5 -0
  910. package/es/pagination/index.mjs +1 -0
  911. package/es/pagination/src/Pagination.d.ts +13 -0
  912. package/es/pagination/src/Pagination.mjs +720 -0
  913. package/es/pagination/src/interface.mjs +1 -0
  914. package/es/pagination/src/styles/index.cssr.mjs +134 -0
  915. package/es/pagination/src/styles/rtl.cssr.mjs +8 -0
  916. package/es/pagination/src/utils.d.ts +4 -2
  917. package/es/pagination/src/utils.mjs +146 -0
  918. package/es/pagination/styles/_common.mjs +35 -0
  919. package/es/pagination/styles/dark.mjs +29 -0
  920. package/es/pagination/styles/index.mjs +3 -0
  921. package/es/pagination/styles/light.mjs +76 -0
  922. package/es/pagination/styles/rtl.mjs +8 -0
  923. package/es/popconfirm/index.mjs +1 -0
  924. package/es/popconfirm/src/Popconfirm.mjs +107 -0
  925. package/es/popconfirm/src/PopconfirmPanel.mjs +116 -0
  926. package/es/popconfirm/src/interface.mjs +2 -0
  927. package/es/popconfirm/src/styles/index.cssr.mjs +22 -0
  928. package/es/popconfirm/styles/_common.mjs +3 -0
  929. package/es/popconfirm/styles/dark.mjs +14 -0
  930. package/es/popconfirm/styles/index.mjs +2 -0
  931. package/es/popconfirm/styles/light.mjs +25 -0
  932. package/es/popover/index.mjs +1 -0
  933. package/es/popover/src/Popover.mjs +481 -0
  934. package/es/popover/src/PopoverBody.mjs +372 -0
  935. package/es/popover/src/interface.mjs +2 -0
  936. package/es/popover/src/styles/index.cssr.mjs +166 -0
  937. package/es/popover/styles/_common.mjs +8 -0
  938. package/es/popover/styles/dark.mjs +8 -0
  939. package/es/popover/styles/index.mjs +2 -0
  940. package/es/popover/styles/light.mjs +26 -0
  941. package/es/popselect/index.mjs +1 -0
  942. package/es/popselect/src/Popselect.mjs +99 -0
  943. package/es/popselect/src/PopselectPanel.mjs +201 -0
  944. package/es/popselect/src/interface.mjs +2 -0
  945. package/es/popselect/src/styles/index.cssr.mjs +5 -0
  946. package/es/popselect/styles/dark.mjs +12 -0
  947. package/es/popselect/styles/index.mjs +2 -0
  948. package/es/popselect/styles/light.mjs +22 -0
  949. package/es/preset.mjs +7 -0
  950. package/es/progress/index.mjs +1 -0
  951. package/es/progress/src/Circle.mjs +159 -0
  952. package/es/progress/src/Line.mjs +148 -0
  953. package/es/progress/src/MultipleCircle.mjs +104 -0
  954. package/es/progress/src/Progress.mjs +209 -0
  955. package/es/progress/src/interface.mjs +1 -0
  956. package/es/progress/src/styles/index.cssr.mjs +196 -0
  957. package/es/progress/styles/dark.mjs +13 -0
  958. package/es/progress/styles/index.mjs +2 -0
  959. package/es/progress/styles/light.mjs +42 -0
  960. package/es/qr-code/index.mjs +1 -0
  961. package/es/qr-code/src/QrCode.d.ts +1 -1
  962. package/es/qr-code/src/QrCode.mjs +175 -0
  963. package/es/qr-code/src/qrcodegen.mjs +882 -0
  964. package/es/qr-code/src/styles/index.cssr.mjs +8 -0
  965. package/es/qr-code/styles/dark.mjs +11 -0
  966. package/es/qr-code/styles/index.mjs +2 -0
  967. package/es/qr-code/styles/light.mjs +12 -0
  968. package/es/radio/index.mjs +3 -0
  969. package/es/radio/src/Radio.mjs +114 -0
  970. package/es/radio/src/RadioButton.mjs +36 -0
  971. package/es/radio/src/RadioGroup.mjs +218 -0
  972. package/es/radio/src/interface.mjs +1 -0
  973. package/es/radio/src/styles/radio-group.cssr.mjs +104 -0
  974. package/es/radio/src/styles/radio.cssr.mjs +107 -0
  975. package/es/radio/src/styles/rtl.cssr.mjs +20 -0
  976. package/es/radio/src/use-radio.d.ts +0 -1
  977. package/es/radio/src/use-radio.mjs +149 -0
  978. package/es/radio/styles/_common.mjs +7 -0
  979. package/es/radio/styles/dark.mjs +65 -0
  980. package/es/radio/styles/index.mjs +3 -0
  981. package/es/radio/styles/light.mjs +66 -0
  982. package/es/radio/styles/rtl.mjs +5 -0
  983. package/es/rate/index.mjs +1 -0
  984. package/es/rate/src/Rate.mjs +206 -0
  985. package/es/rate/src/StarIcon.mjs +6 -0
  986. package/es/rate/src/interface.mjs +1 -0
  987. package/es/rate/src/styles/index.cssr.mjs +44 -0
  988. package/es/rate/styles/dark.mjs +19 -0
  989. package/es/rate/styles/index.mjs +2 -0
  990. package/es/rate/styles/light.mjs +19 -0
  991. package/es/result/index.mjs +1 -0
  992. package/es/result/src/403.mjs +11 -0
  993. package/es/result/src/404.mjs +31 -0
  994. package/es/result/src/418.mjs +32 -0
  995. package/es/result/src/500.mjs +17 -0
  996. package/es/result/src/Result.d.ts +1 -1
  997. package/es/result/src/Result.mjs +126 -0
  998. package/es/result/src/styles/index.cssr.mjs +43 -0
  999. package/es/result/styles/_common.mjs +18 -0
  1000. package/es/result/styles/dark.mjs +8 -0
  1001. package/es/result/styles/index.mjs +2 -0
  1002. package/es/result/styles/light.mjs +30 -0
  1003. package/es/scrollbar/index.mjs +1 -0
  1004. package/es/scrollbar/src/Scrollbar.mjs +37 -0
  1005. package/es/select/index.mjs +1 -0
  1006. package/es/select/src/Select.d.ts +5 -1
  1007. package/es/select/src/Select.mjs +921 -0
  1008. package/es/select/src/interface.mjs +1 -0
  1009. package/es/select/src/styles/index.cssr.mjs +14 -0
  1010. package/es/select/src/utils.mjs +68 -0
  1011. package/es/select/styles/dark.mjs +14 -0
  1012. package/es/select/styles/index.d.ts +1 -0
  1013. package/es/select/styles/index.mjs +3 -0
  1014. package/es/select/styles/light.mjs +22 -0
  1015. package/es/select/styles/rtl.d.ts +2 -0
  1016. package/es/select/styles/rtl.mjs +10 -0
  1017. package/es/skeleton/index.mjs +1 -0
  1018. package/es/skeleton/src/Skeleton.mjs +102 -0
  1019. package/es/skeleton/src/styles/index.cssr.mjs +29 -0
  1020. package/es/skeleton/styles/dark.mjs +21 -0
  1021. package/es/skeleton/styles/index.mjs +2 -0
  1022. package/es/skeleton/styles/light.mjs +22 -0
  1023. package/es/slider/index.mjs +1 -0
  1024. package/es/slider/src/Slider.d.ts +1 -1
  1025. package/es/slider/src/Slider.mjs +686 -0
  1026. package/es/slider/src/interface.mjs +1 -0
  1027. package/es/slider/src/styles/index.cssr.mjs +201 -0
  1028. package/es/slider/src/utils.mjs +14 -0
  1029. package/es/slider/styles/_common.mjs +8 -0
  1030. package/es/slider/styles/dark.mjs +45 -0
  1031. package/es/slider/styles/index.mjs +2 -0
  1032. package/es/slider/styles/light.mjs +47 -0
  1033. package/es/space/index.mjs +1 -0
  1034. package/es/space/src/Space.d.ts +4 -0
  1035. package/es/space/src/Space.mjs +146 -0
  1036. package/es/space/src/styles/rtl.cssr.mjs +4 -0
  1037. package/es/space/src/utils.mjs +21 -0
  1038. package/es/space/styles/_common.mjs +5 -0
  1039. package/es/space/styles/dark.mjs +8 -0
  1040. package/es/space/styles/index.mjs +3 -0
  1041. package/es/space/styles/light.mjs +9 -0
  1042. package/es/space/styles/rtl.mjs +5 -0
  1043. package/es/spin/index.mjs +1 -0
  1044. package/es/spin/src/Spin.mjs +163 -0
  1045. package/es/spin/src/styles/index.cssr.mjs +52 -0
  1046. package/es/spin/styles/dark.mjs +8 -0
  1047. package/es/spin/styles/index.mjs +2 -0
  1048. package/es/spin/styles/light.mjs +30 -0
  1049. package/es/split/index.mjs +1 -0
  1050. package/es/split/src/Split.d.ts +10 -0
  1051. package/es/split/src/Split.mjs +157 -0
  1052. package/es/split/src/styles/index.cssr.mjs +25 -0
  1053. package/es/split/styles/dark.mjs +6 -0
  1054. package/es/split/styles/index.mjs +2 -0
  1055. package/es/split/styles/light.d.ts +1 -0
  1056. package/es/split/styles/light.mjs +17 -0
  1057. package/es/statistic/index.mjs +1 -0
  1058. package/es/statistic/src/Statistic.mjs +91 -0
  1059. package/es/statistic/src/styles/index.cssr.mjs +38 -0
  1060. package/es/statistic/src/styles/rtl.cssr.mjs +9 -0
  1061. package/es/statistic/styles/dark.mjs +8 -0
  1062. package/es/statistic/styles/index.mjs +3 -0
  1063. package/es/statistic/styles/light.mjs +25 -0
  1064. package/es/statistic/styles/rtl.mjs +5 -0
  1065. package/es/steps/index.mjs +2 -0
  1066. package/es/steps/src/Step.mjs +195 -0
  1067. package/es/steps/src/Steps.d.ts +1 -1
  1068. package/es/steps/src/Steps.mjs +63 -0
  1069. package/es/steps/src/styles/index.cssr.mjs +102 -0
  1070. package/es/steps/src/styles/rtl.cssr.mjs +14 -0
  1071. package/es/steps/styles/_common.mjs +10 -0
  1072. package/es/steps/styles/dark.mjs +8 -0
  1073. package/es/steps/styles/index.mjs +3 -0
  1074. package/es/steps/styles/light.mjs +46 -0
  1075. package/es/steps/styles/rtl.mjs +5 -0
  1076. package/es/styles.d.ts +4 -2
  1077. package/es/styles.mjs +81 -0
  1078. package/es/switch/index.mjs +1 -0
  1079. package/es/switch/src/Switch.d.ts +1 -1
  1080. package/es/switch/src/Switch.mjs +321 -0
  1081. package/es/switch/src/interface.mjs +1 -0
  1082. package/es/switch/src/styles/index.cssr.mjs +127 -0
  1083. package/es/switch/styles/_common.mjs +17 -0
  1084. package/es/switch/styles/dark.mjs +38 -0
  1085. package/es/switch/styles/index.mjs +2 -0
  1086. package/es/switch/styles/light.mjs +37 -0
  1087. package/es/table/index.mjs +6 -0
  1088. package/es/table/src/Table.mjs +122 -0
  1089. package/es/table/src/Tbody.mjs +7 -0
  1090. package/es/table/src/Td.mjs +7 -0
  1091. package/es/table/src/Th.mjs +7 -0
  1092. package/es/table/src/Thead.mjs +7 -0
  1093. package/es/table/src/Tr.mjs +7 -0
  1094. package/es/table/src/styles/index.cssr.mjs +96 -0
  1095. package/es/table/src/styles/rtl.cssr.mjs +13 -0
  1096. package/es/table/styles/_common.mjs +8 -0
  1097. package/es/table/styles/dark.mjs +8 -0
  1098. package/es/table/styles/index.mjs +3 -0
  1099. package/es/table/styles/light.mjs +49 -0
  1100. package/es/table/styles/rtl.mjs +5 -0
  1101. package/es/tabs/index.mjs +3 -0
  1102. package/es/tabs/src/Tab.d.ts +3 -0
  1103. package/es/tabs/src/Tab.mjs +131 -0
  1104. package/es/tabs/src/TabPane.mjs +52 -0
  1105. package/es/tabs/src/Tabs.d.ts +11 -1
  1106. package/es/tabs/src/Tabs.mjs +852 -0
  1107. package/es/tabs/src/interface.d.ts +3 -0
  1108. package/es/tabs/src/interface.mjs +2 -0
  1109. package/es/tabs/src/styles/index.cssr.mjs +375 -0
  1110. package/es/tabs/styles/_common.mjs +58 -0
  1111. package/es/tabs/styles/dark.mjs +16 -0
  1112. package/es/tabs/styles/index.mjs +2 -0
  1113. package/es/tabs/styles/light.mjs +63 -0
  1114. package/es/tag/index.mjs +1 -0
  1115. package/es/tag/src/Tag.d.ts +5 -12
  1116. package/es/tag/src/Tag.mjs +268 -0
  1117. package/es/tag/src/common-props.mjs +17 -0
  1118. package/es/tag/src/styles/index.cssr.mjs +98 -0
  1119. package/es/tag/src/styles/rtl.cssr.mjs +17 -0
  1120. package/es/tag/styles/_common.d.ts +0 -1
  1121. package/es/tag/styles/_common.mjs +12 -0
  1122. package/es/tag/styles/dark.mjs +191 -0
  1123. package/es/tag/styles/index.mjs +3 -0
  1124. package/es/tag/styles/light.d.ts +0 -1
  1125. package/es/tag/styles/light.mjs +172 -0
  1126. package/es/tag/styles/rtl.mjs +5 -0
  1127. package/es/theme-editor/index.mjs +1 -0
  1128. package/es/theme-editor/src/MaximizeIcon.mjs +14 -0
  1129. package/es/theme-editor/src/MinimizeIcon.mjs +15 -0
  1130. package/es/theme-editor/src/ThemeEditor.mjs +385 -0
  1131. package/es/themes/dark.mjs +173 -0
  1132. package/es/themes/index.mjs +3 -0
  1133. package/es/themes/interface.mjs +1 -0
  1134. package/es/themes/light.mjs +175 -0
  1135. package/es/themes/utils.mjs +18 -0
  1136. package/es/thing/index.mjs +1 -0
  1137. package/es/thing/src/Thing.mjs +98 -0
  1138. package/es/thing/src/styles/index.cssr.mjs +41 -0
  1139. package/es/thing/src/styles/rtl.cssr.mjs +8 -0
  1140. package/es/thing/styles/dark.mjs +8 -0
  1141. package/es/thing/styles/index.mjs +3 -0
  1142. package/es/thing/styles/light.mjs +21 -0
  1143. package/es/thing/styles/rtl.mjs +8 -0
  1144. package/es/time/index.mjs +1 -0
  1145. package/es/time/src/Time.mjs +89 -0
  1146. package/es/time-picker/index.mjs +1 -0
  1147. package/es/time-picker/src/Panel.d.ts +7 -3
  1148. package/es/time-picker/src/Panel.mjs +292 -0
  1149. package/es/time-picker/src/PanelCol.mjs +43 -0
  1150. package/es/time-picker/src/TimePicker.d.ts +6 -3
  1151. package/es/time-picker/src/TimePicker.mjs +868 -0
  1152. package/es/time-picker/src/interface.mjs +2 -0
  1153. package/es/time-picker/src/styles/index.cssr.mjs +99 -0
  1154. package/es/time-picker/src/utils.mjs +73 -0
  1155. package/es/time-picker/styles/_common.mjs +6 -0
  1156. package/es/time-picker/styles/dark.mjs +16 -0
  1157. package/es/time-picker/styles/index.mjs +2 -0
  1158. package/es/time-picker/styles/light.mjs +44 -0
  1159. package/es/timeline/index.mjs +2 -0
  1160. package/es/timeline/src/Timeline.mjs +43 -0
  1161. package/es/timeline/src/TimelineItem.mjs +137 -0
  1162. package/es/timeline/src/styles/index.cssr.mjs +111 -0
  1163. package/es/timeline/styles/_common.mjs +8 -0
  1164. package/es/timeline/styles/dark.mjs +39 -0
  1165. package/es/timeline/styles/index.mjs +2 -0
  1166. package/es/timeline/styles/light.mjs +40 -0
  1167. package/es/tooltip/index.mjs +1 -0
  1168. package/es/tooltip/src/Tooltip.mjs +49 -0
  1169. package/es/tooltip/styles/_common.mjs +3 -0
  1170. package/es/tooltip/styles/dark.mjs +25 -0
  1171. package/es/tooltip/styles/index.mjs +2 -0
  1172. package/es/tooltip/styles/light.mjs +27 -0
  1173. package/es/transfer/index.mjs +1 -0
  1174. package/es/transfer/src/Transfer.d.ts +1 -1
  1175. package/es/transfer/src/Transfer.mjs +331 -0
  1176. package/es/transfer/src/TransferFilter.mjs +52 -0
  1177. package/es/transfer/src/TransferHeader.mjs +84 -0
  1178. package/es/transfer/src/TransferList.d.ts +1 -1
  1179. package/es/transfer/src/TransferList.mjs +136 -0
  1180. package/es/transfer/src/TransferListItem.mjs +89 -0
  1181. package/es/transfer/src/interface.mjs +2 -0
  1182. package/es/transfer/src/styles/index.cssr.mjs +151 -0
  1183. package/es/transfer/src/use-transfer-data.mjs +125 -0
  1184. package/es/transfer/styles/_common.mjs +13 -0
  1185. package/es/transfer/styles/dark.mjs +69 -0
  1186. package/es/transfer/styles/index.mjs +2 -0
  1187. package/es/transfer/styles/light.mjs +72 -0
  1188. package/es/tree/index.d.ts +1 -1
  1189. package/es/tree/index.mjs +2 -0
  1190. package/es/tree/src/MotionWrapper.mjs +46 -0
  1191. package/es/tree/src/Tree.d.ts +10 -6
  1192. package/es/tree/src/Tree.mjs +1515 -0
  1193. package/es/tree/src/TreeNode.mjs +463 -0
  1194. package/es/tree/src/TreeNodeCheckbox.mjs +68 -0
  1195. package/es/tree/src/TreeNodeContent.mjs +97 -0
  1196. package/es/tree/src/TreeNodeSwitcher.mjs +75 -0
  1197. package/es/tree/src/dnd.mjs +44 -0
  1198. package/es/tree/src/interface.d.ts +10 -4
  1199. package/es/tree/src/interface.mjs +2 -0
  1200. package/es/tree/src/keyboard.d.ts +8 -3
  1201. package/es/tree/src/keyboard.mjs +135 -0
  1202. package/es/tree/src/styles/index.cssr.mjs +135 -0
  1203. package/es/tree/src/styles/rtl.cssr.mjs +17 -0
  1204. package/es/tree/src/utils.mjs +120 -0
  1205. package/es/tree/styles/dark.mjs +26 -0
  1206. package/es/tree/styles/index.mjs +3 -0
  1207. package/es/tree/styles/light.mjs +48 -0
  1208. package/es/tree/styles/rtl.mjs +5 -0
  1209. package/es/tree-select/index.d.ts +1 -0
  1210. package/es/tree-select/index.mjs +1 -0
  1211. package/es/tree-select/src/TreeSelect.d.ts +12 -3
  1212. package/es/tree-select/src/TreeSelect.mjs +871 -0
  1213. package/es/tree-select/src/interface.mjs +2 -0
  1214. package/es/tree-select/src/styles/index.cssr.mjs +38 -0
  1215. package/es/tree-select/src/utils.mjs +18 -0
  1216. package/es/tree-select/styles/dark.mjs +14 -0
  1217. package/es/tree-select/styles/index.mjs +2 -0
  1218. package/es/tree-select/styles/light.mjs +36 -0
  1219. package/es/typography/index.mjs +10 -0
  1220. package/es/typography/src/a.mjs +45 -0
  1221. package/es/typography/src/blockquote.mjs +56 -0
  1222. package/es/typography/src/create-header.mjs +79 -0
  1223. package/es/typography/src/headers.mjs +7 -0
  1224. package/es/typography/src/hr.mjs +44 -0
  1225. package/es/typography/src/li.mjs +7 -0
  1226. package/es/typography/src/ol.mjs +60 -0
  1227. package/es/typography/src/p.mjs +58 -0
  1228. package/es/typography/src/styles/a.cssr.mjs +12 -0
  1229. package/es/typography/src/styles/blockquote.cssr.mjs +27 -0
  1230. package/es/typography/src/styles/header.cssr.mjs +37 -0
  1231. package/es/typography/src/styles/hr.cssr.mjs +11 -0
  1232. package/es/typography/src/styles/list.cssr.mjs +32 -0
  1233. package/es/typography/src/styles/p.cssr.mjs +15 -0
  1234. package/es/typography/src/styles/text.cssr.mjs +34 -0
  1235. package/es/typography/src/text.mjs +105 -0
  1236. package/es/typography/src/ul.mjs +60 -0
  1237. package/es/typography/styles/_common.mjs +30 -0
  1238. package/es/typography/styles/dark.mjs +8 -0
  1239. package/es/typography/styles/index.mjs +2 -0
  1240. package/es/typography/styles/light.mjs +65 -0
  1241. package/es/upload/index.mjs +4 -0
  1242. package/es/upload/src/Upload.mjs +681 -0
  1243. package/es/upload/src/UploadDragger.mjs +32 -0
  1244. package/es/upload/src/UploadFile.mjs +377 -0
  1245. package/es/upload/src/UploadFileList.mjs +57 -0
  1246. package/es/upload/src/UploadProgress.mjs +38 -0
  1247. package/es/upload/src/UploadTrigger.mjs +96 -0
  1248. package/es/upload/src/icons.mjs +23 -0
  1249. package/es/upload/src/interface.mjs +2 -0
  1250. package/es/upload/src/styles/index.cssr.mjs +224 -0
  1251. package/es/upload/src/utils.d.ts +0 -1
  1252. package/es/upload/src/utils.mjs +160 -0
  1253. package/es/upload/styles/dark.mjs +24 -0
  1254. package/es/upload/styles/index.mjs +2 -0
  1255. package/es/upload/styles/light.mjs +50 -0
  1256. package/es/version.d.ts +1 -1
  1257. package/es/version.mjs +1 -0
  1258. package/es/virtual-list/index.mjs +1 -0
  1259. package/es/virtual-list/src/VirtualList.d.ts +7 -7
  1260. package/es/virtual-list/src/VirtualList.mjs +133 -0
  1261. package/es/watermark/index.mjs +1 -0
  1262. package/es/watermark/src/Watermark.mjs +213 -0
  1263. package/es/watermark/src/styles/index.cssr.mjs +30 -0
  1264. package/es/watermark/styles/dark.mjs +14 -0
  1265. package/es/watermark/styles/index.mjs +2 -0
  1266. package/es/watermark/styles/light.mjs +15 -0
  1267. package/lib/_internal/clear/src/Clear.js +0 -2
  1268. package/lib/_internal/loading/src/Loading.js +7 -10
  1269. package/lib/_internal/loading/src/styles/index.cssr.js +14 -119
  1270. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
  1271. package/lib/_internal/scrollbar/src/Scrollbar.js +1 -1
  1272. package/lib/_internal/scrollbar/src/styles/index.cssr.js +3 -6
  1273. package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -1
  1274. package/lib/_internal/select-menu/src/SelectMenu.js +5 -2
  1275. package/lib/_internal/select-menu/src/styles/rtl.cssr.d.ts +2 -0
  1276. package/lib/_internal/select-menu/src/styles/rtl.cssr.js +15 -0
  1277. package/lib/_internal/select-menu/styles/index.d.ts +1 -0
  1278. package/lib/_internal/select-menu/styles/index.js +3 -1
  1279. package/lib/_internal/select-menu/styles/rtl.d.ts +2 -0
  1280. package/lib/_internal/select-menu/styles/rtl.js +11 -0
  1281. package/lib/_internal/selection/src/Selection.d.ts +14 -3
  1282. package/lib/_internal/selection/src/Selection.js +19 -14
  1283. package/lib/_internal/selection/src/styles/index.cssr.js +2 -0
  1284. package/lib/_internal/selection/src/styles/rtl.cssr.d.ts +2 -0
  1285. package/lib/_internal/selection/src/styles/rtl.cssr.js +14 -0
  1286. package/lib/_internal/selection/styles/index.d.ts +1 -0
  1287. package/lib/_internal/selection/styles/index.js +3 -1
  1288. package/lib/_internal/selection/styles/rtl.d.ts +2 -0
  1289. package/lib/_internal/selection/styles/rtl.js +11 -0
  1290. package/lib/_utils/css/index.d.ts +1 -0
  1291. package/lib/_utils/css/index.js +3 -1
  1292. package/lib/_utils/css/rtl-inset.d.ts +1 -0
  1293. package/lib/_utils/css/rtl-inset.js +9 -0
  1294. package/lib/_utils/cssr/index.d.ts +2 -2
  1295. package/lib/_utils/cssr/index.js +8 -2
  1296. package/lib/_utils/dom/download.d.ts +1 -0
  1297. package/lib/_utils/dom/download.js +16 -0
  1298. package/lib/_utils/dom/index.d.ts +1 -0
  1299. package/lib/_utils/dom/index.js +3 -1
  1300. package/lib/_utils/index.d.ts +1 -1
  1301. package/lib/_utils/index.js +2 -1
  1302. package/lib/_utils/vue/flatten.js +3 -1
  1303. package/lib/affix/src/Affix.d.ts +7 -7
  1304. package/lib/affix/src/Affix.js +1 -1
  1305. package/lib/anchor/src/AnchorAdapter.d.ts +7 -7
  1306. package/lib/auto-complete/src/AutoComplete.d.ts +5 -0
  1307. package/lib/auto-complete/src/AutoComplete.js +3 -3
  1308. package/lib/avatar/src/Avatar.d.ts +1 -1
  1309. package/lib/avatar/src/Avatar.js +36 -39
  1310. package/lib/avatar-group/src/AvatarGroup.d.ts +4 -0
  1311. package/lib/avatar-group/src/AvatarGroup.js +4 -2
  1312. package/lib/avatar-group/src/styles/avatar-group.cssr.js +12 -6
  1313. package/lib/calendar/src/Calendar.d.ts +2 -0
  1314. package/lib/card/src/Card.js +5 -5
  1315. package/lib/carousel/src/Carousel.d.ts +0 -1
  1316. package/lib/carousel/src/Carousel.js +5 -3
  1317. package/lib/carousel/src/utils/duplicatedLogic.d.ts +1 -1
  1318. package/lib/carousel/src/utils/duplicatedLogic.js +2 -0
  1319. package/lib/cascader/src/Cascader.d.ts +5 -1
  1320. package/lib/cascader/src/Cascader.js +2 -2
  1321. package/lib/cascader/src/CascaderSubmenu.d.ts +1 -1
  1322. package/lib/collapse/src/Collapse.d.ts +13 -0
  1323. package/lib/collapse/src/Collapse.js +3 -0
  1324. package/lib/collapse/src/CollapseItem.d.ts +1 -0
  1325. package/lib/collapse/src/CollapseItem.js +16 -4
  1326. package/lib/collapse/src/styles/index.cssr.js +1 -2
  1327. package/lib/components.d.ts +1 -0
  1328. package/lib/components.js +1 -0
  1329. package/lib/config-provider/src/ConfigProvider.d.ts +9 -0
  1330. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  1331. package/lib/data-table/src/DataTable.d.ts +3 -1
  1332. package/lib/data-table/src/DataTable.js +15 -3
  1333. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +1 -1
  1334. package/lib/data-table/src/HeaderButton/FilterMenu.js +8 -1
  1335. package/lib/data-table/src/MainTable.js +1 -0
  1336. package/lib/data-table/src/TableParts/Body.d.ts +1 -1
  1337. package/lib/data-table/src/TableParts/Body.js +1 -1
  1338. package/lib/data-table/src/TableParts/Cell.js +2 -1
  1339. package/lib/data-table/src/interface.d.ts +5 -0
  1340. package/lib/data-table/src/styles/rtl.cssr.d.ts +2 -0
  1341. package/lib/data-table/src/styles/rtl.cssr.js +23 -0
  1342. package/lib/data-table/src/use-sorter.js +9 -1
  1343. package/lib/data-table/src/use-table-data.js +4 -2
  1344. package/lib/data-table/src/utils.d.ts +2 -1
  1345. package/lib/data-table/src/utils.js +21 -1
  1346. package/lib/data-table/styles/index.d.ts +1 -0
  1347. package/lib/data-table/styles/index.js +3 -1
  1348. package/lib/data-table/styles/rtl.d.ts +2 -0
  1349. package/lib/data-table/styles/rtl.js +14 -0
  1350. package/lib/date-picker/src/DatePicker.d.ts +82 -4
  1351. package/lib/date-picker/src/DatePicker.js +27 -8
  1352. package/lib/date-picker/src/config.d.ts +1 -1
  1353. package/lib/date-picker/src/interface.d.ts +24 -2
  1354. package/lib/date-picker/src/panel/date.d.ts +82 -41
  1355. package/lib/date-picker/src/panel/date.js +17 -5
  1356. package/lib/date-picker/src/panel/daterange.d.ts +12 -0
  1357. package/lib/date-picker/src/panel/datetime.d.ts +15 -1
  1358. package/lib/date-picker/src/panel/datetime.js +6 -1
  1359. package/lib/date-picker/src/panel/datetimerange.d.ts +12 -0
  1360. package/lib/date-picker/src/panel/month.d.ts +16 -2
  1361. package/lib/date-picker/src/panel/month.js +30 -8
  1362. package/lib/date-picker/src/panel/monthrange.d.ts +13 -1
  1363. package/lib/date-picker/src/panel/monthrange.js +12 -8
  1364. package/lib/date-picker/src/panel/panelHeader.d.ts +26 -2
  1365. package/lib/date-picker/src/panel/use-calendar.d.ts +13 -3
  1366. package/lib/date-picker/src/panel/use-calendar.js +67 -9
  1367. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +8 -0
  1368. package/lib/date-picker/src/panel/use-dual-calendar.js +21 -8
  1369. package/lib/date-picker/src/panel/use-panel-common.d.ts +8 -0
  1370. package/lib/date-picker/src/panel/use-panel-common.js +5 -1
  1371. package/lib/date-picker/src/styles/index.cssr.js +41 -8
  1372. package/lib/date-picker/src/utils.d.ts +18 -5
  1373. package/lib/date-picker/src/utils.js +87 -16
  1374. package/lib/date-picker/src/validation-utils.js +1 -1
  1375. package/lib/date-picker/styles/_common.d.ts +2 -0
  1376. package/lib/date-picker/styles/_common.js +3 -1
  1377. package/lib/date-picker/styles/light.d.ts +4 -0
  1378. package/lib/descriptions/src/Descriptions.d.ts +1 -1
  1379. package/lib/dialog/src/Dialog.d.ts +5 -1
  1380. package/lib/dialog/src/Dialog.js +16 -4
  1381. package/lib/dialog/src/DialogProvider.d.ts +2 -2
  1382. package/lib/dialog/src/styles/index.cssr.js +15 -11
  1383. package/lib/dialog/src/styles/rtl.cssr.d.ts +2 -0
  1384. package/lib/dialog/src/styles/rtl.cssr.js +23 -0
  1385. package/lib/dialog/styles/index.d.ts +1 -0
  1386. package/lib/dialog/styles/index.js +3 -1
  1387. package/lib/dialog/styles/rtl.d.ts +2 -0
  1388. package/lib/dialog/styles/rtl.js +11 -0
  1389. package/lib/drawer/src/Drawer.d.ts +4 -1
  1390. package/lib/drawer/src/Drawer.js +6 -2
  1391. package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -0
  1392. package/lib/drawer/src/DrawerBodyWrapper.js +8 -1
  1393. package/lib/drawer/src/DrawerContent.d.ts +15 -9
  1394. package/lib/drawer/src/DrawerContent.js +16 -8
  1395. package/lib/dynamic-tags/src/DynamicTags.d.ts +3 -12
  1396. package/lib/dynamic-tags/src/DynamicTags.js +4 -4
  1397. package/lib/dynamic-tags/styles/light.d.ts +0 -1
  1398. package/lib/flex/index.d.ts +3 -0
  1399. package/lib/flex/index.js +9 -0
  1400. package/lib/flex/src/Flex.d.ts +116 -0
  1401. package/lib/flex/src/Flex.js +79 -0
  1402. package/lib/flex/src/styles/rtl.cssr.d.ts +2 -0
  1403. package/lib/flex/src/styles/rtl.cssr.js +9 -0
  1404. package/lib/flex/src/type.d.ts +3 -0
  1405. package/lib/flex/src/type.js +2 -0
  1406. package/lib/flex/styles/_common.d.ts +6 -0
  1407. package/lib/flex/styles/_common.js +7 -0
  1408. package/lib/flex/styles/dark.d.ts +3 -0
  1409. package/lib/flex/styles/dark.js +13 -0
  1410. package/lib/flex/styles/index.d.ts +4 -0
  1411. package/lib/flex/styles/index.js +12 -0
  1412. package/lib/flex/styles/light.d.ts +10 -0
  1413. package/lib/flex/styles/light.js +14 -0
  1414. package/lib/flex/styles/rtl.d.ts +2 -0
  1415. package/lib/flex/styles/rtl.js +11 -0
  1416. package/lib/form/src/Form.js +22 -11
  1417. package/lib/form/src/FormItem.d.ts +1 -0
  1418. package/lib/form/src/FormItem.js +64 -44
  1419. package/lib/form/src/FormItemCol.d.ts +1 -1
  1420. package/lib/form/src/interface.d.ts +20 -7
  1421. package/lib/form/src/styles/form-item.cssr.js +1 -1
  1422. package/lib/form/src/utils.d.ts +1 -0
  1423. package/lib/form/src/utils.js +4 -0
  1424. package/lib/grid/src/Grid.d.ts +1 -1
  1425. package/lib/image/src/Image.js +1 -2
  1426. package/lib/image/src/ImagePreview.js +2 -2
  1427. package/lib/input/src/Input.d.ts +1 -0
  1428. package/lib/input/src/Input.js +20 -12
  1429. package/lib/input/src/interface.d.ts +7 -2
  1430. package/lib/input-number/src/InputNumber.d.ts +5 -1
  1431. package/lib/input-number/src/InputNumber.js +2 -2
  1432. package/lib/legacy-transfer/src/Transfer.d.ts +1 -1
  1433. package/lib/legacy-transfer/src/TransferList.d.ts +1 -1
  1434. package/lib/locales/common/arDZ.js +4 -1
  1435. package/lib/locales/common/deDE.js +4 -1
  1436. package/lib/locales/common/enGB.js +4 -1
  1437. package/lib/locales/common/enUS.d.ts +3 -0
  1438. package/lib/locales/common/enUS.js +4 -1
  1439. package/lib/locales/common/eo.js +4 -1
  1440. package/lib/locales/common/esAR.js +4 -1
  1441. package/lib/locales/common/faIR.js +4 -1
  1442. package/lib/locales/common/frFR.js +4 -1
  1443. package/lib/locales/common/idID.js +4 -1
  1444. package/lib/locales/common/itIT.js +4 -1
  1445. package/lib/locales/common/jaJP.js +12 -12
  1446. package/lib/locales/common/koKR.js +4 -1
  1447. package/lib/locales/common/nbNO.js +4 -1
  1448. package/lib/locales/common/nlNL.js +4 -1
  1449. package/lib/locales/common/plPL.js +4 -1
  1450. package/lib/locales/common/ptBR.js +4 -1
  1451. package/lib/locales/common/ruRU.js +22 -24
  1452. package/lib/locales/common/skSK.js +4 -1
  1453. package/lib/locales/common/svSE.js +4 -1
  1454. package/lib/locales/common/thTH.js +4 -1
  1455. package/lib/locales/common/trTR.js +4 -1
  1456. package/lib/locales/common/ukUA.js +4 -1
  1457. package/lib/locales/common/viVN.js +4 -1
  1458. package/lib/locales/common/zhCN.js +4 -1
  1459. package/lib/locales/common/zhTW.js +4 -1
  1460. package/lib/mention/src/Mention.d.ts +1 -0
  1461. package/lib/notification/src/styles/index.cssr.js +10 -11
  1462. package/lib/pagination/src/Pagination.d.ts +13 -0
  1463. package/lib/pagination/src/Pagination.js +9 -13
  1464. package/lib/pagination/src/utils.d.ts +4 -2
  1465. package/lib/pagination/src/utils.js +21 -4
  1466. package/lib/pagination/styles/rtl.js +2 -1
  1467. package/lib/popselect/src/PopselectPanel.js +1 -1
  1468. package/lib/qr-code/src/QrCode.d.ts +1 -1
  1469. package/lib/radio/src/Radio.js +4 -6
  1470. package/lib/radio/src/use-radio.d.ts +0 -1
  1471. package/lib/radio/src/use-radio.js +6 -1
  1472. package/lib/result/src/Result.d.ts +1 -1
  1473. package/lib/select/src/Select.d.ts +5 -1
  1474. package/lib/select/src/Select.js +3 -2
  1475. package/lib/select/styles/index.d.ts +1 -0
  1476. package/lib/select/styles/index.js +3 -1
  1477. package/lib/select/styles/rtl.d.ts +2 -0
  1478. package/lib/select/styles/rtl.js +13 -0
  1479. package/lib/slider/src/Slider.d.ts +1 -1
  1480. package/lib/space/src/Space.d.ts +4 -0
  1481. package/lib/space/src/Space.js +18 -7
  1482. package/lib/spin/src/styles/index.cssr.js +3 -3
  1483. package/lib/split/src/Split.d.ts +10 -0
  1484. package/lib/split/src/Split.js +3 -2
  1485. package/lib/split/styles/light.d.ts +1 -0
  1486. package/lib/split/styles/light.js +3 -2
  1487. package/lib/steps/src/Steps.d.ts +1 -1
  1488. package/lib/styles.d.ts +4 -2
  1489. package/lib/styles.js +160 -152
  1490. package/lib/switch/src/Switch.d.ts +1 -1
  1491. package/lib/tabs/src/Tab.d.ts +3 -0
  1492. package/lib/tabs/src/Tab.js +8 -4
  1493. package/lib/tabs/src/Tabs.d.ts +11 -1
  1494. package/lib/tabs/src/Tabs.js +93 -34
  1495. package/lib/tabs/src/interface.d.ts +3 -0
  1496. package/lib/tabs/src/styles/index.cssr.js +11 -4
  1497. package/lib/tag/src/Tag.d.ts +5 -12
  1498. package/lib/tag/src/Tag.js +7 -3
  1499. package/lib/tag/src/styles/index.cssr.js +1 -0
  1500. package/lib/tag/src/styles/rtl.cssr.js +2 -3
  1501. package/lib/tag/styles/_common.d.ts +0 -1
  1502. package/lib/tag/styles/_common.js +1 -2
  1503. package/lib/tag/styles/light.d.ts +0 -1
  1504. package/lib/theme-editor/src/ThemeEditor.js +1 -6
  1505. package/lib/themes/dark.js +2 -0
  1506. package/lib/themes/light.js +2 -0
  1507. package/lib/time-picker/src/Panel.d.ts +7 -3
  1508. package/lib/time-picker/src/Panel.js +6 -3
  1509. package/lib/time-picker/src/TimePicker.d.ts +6 -3
  1510. package/lib/time-picker/src/TimePicker.js +17 -3
  1511. package/lib/transfer/src/Transfer.d.ts +1 -1
  1512. package/lib/transfer/src/TransferList.d.ts +1 -1
  1513. package/lib/tree/index.d.ts +1 -1
  1514. package/lib/tree/src/Tree.d.ts +10 -6
  1515. package/lib/tree/src/Tree.js +22 -4
  1516. package/lib/tree/src/TreeNode.js +41 -11
  1517. package/lib/tree/src/interface.d.ts +10 -4
  1518. package/lib/tree/src/keyboard.d.ts +8 -3
  1519. package/lib/tree/src/keyboard.js +31 -5
  1520. package/lib/tree/src/styles/index.cssr.js +2 -2
  1521. package/lib/tree-select/index.d.ts +1 -0
  1522. package/lib/tree-select/src/TreeSelect.d.ts +12 -3
  1523. package/lib/tree-select/src/TreeSelect.js +17 -7
  1524. package/lib/upload/src/UploadFile.js +1 -1
  1525. package/lib/upload/src/styles/index.cssr.js +1 -1
  1526. package/lib/upload/src/utils.d.ts +0 -1
  1527. package/lib/upload/src/utils.js +25 -52
  1528. package/lib/version.d.ts +1 -1
  1529. package/lib/version.js +1 -1
  1530. package/lib/virtual-list/src/VirtualList.d.ts +7 -7
  1531. package/package.json +8 -7
  1532. package/volar.d.ts +145 -144
  1533. package/web-types.json +347 -34
  1534. package/es/_internal/clear/index.js +0 -1
  1535. package/es/_internal/clear/src/Clear.js +0 -42
  1536. package/es/_internal/clear/src/styles/index.cssr.js +0 -37
  1537. package/es/_internal/close/index.js +0 -1
  1538. package/es/_internal/close/src/Close.js +0 -49
  1539. package/es/_internal/close/src/styles/index.cssr.js +0 -54
  1540. package/es/_internal/fade-in-expand-transition/index.js +0 -1
  1541. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +0 -109
  1542. package/es/_internal/focus-detector/index.js +0 -2
  1543. package/es/_internal/focus-detector/src/FocusDetector.js +0 -10
  1544. package/es/_internal/icon/index.js +0 -1
  1545. package/es/_internal/icon/src/Icon.js +0 -31
  1546. package/es/_internal/icon/src/styles/index.cssr.js +0 -14
  1547. package/es/_internal/icon-switch-transition/index.js +0 -1
  1548. package/es/_internal/icon-switch-transition/src/IconSwitchTransition.js +0 -9
  1549. package/es/_internal/icons/Add.js +0 -8
  1550. package/es/_internal/icons/ArrowBack.js +0 -9
  1551. package/es/_internal/icons/ArrowDown.js +0 -10
  1552. package/es/_internal/icons/ArrowUp.js +0 -9
  1553. package/es/_internal/icons/Attach.js +0 -6
  1554. package/es/_internal/icons/Backward.js +0 -8
  1555. package/es/_internal/icons/Cancel.js +0 -6
  1556. package/es/_internal/icons/Checkmark.js +0 -9
  1557. package/es/_internal/icons/ChevronDown.js +0 -8
  1558. package/es/_internal/icons/ChevronDownFilled.js +0 -8
  1559. package/es/_internal/icons/ChevronLeft.js +0 -8
  1560. package/es/_internal/icons/ChevronRight.js +0 -8
  1561. package/es/_internal/icons/Clear.js +0 -6
  1562. package/es/_internal/icons/Close.js +0 -6
  1563. package/es/_internal/icons/Date.js +0 -6
  1564. package/es/_internal/icons/Download.js +0 -6
  1565. package/es/_internal/icons/Empty.js +0 -9
  1566. package/es/_internal/icons/Error.js +0 -6
  1567. package/es/_internal/icons/Eye.js +0 -9
  1568. package/es/_internal/icons/EyeOff.js +0 -12
  1569. package/es/_internal/icons/FastBackward.js +0 -10
  1570. package/es/_internal/icons/FastForward.js +0 -10
  1571. package/es/_internal/icons/File.js +0 -10
  1572. package/es/_internal/icons/Filter.js +0 -10
  1573. package/es/_internal/icons/Forward.js +0 -8
  1574. package/es/_internal/icons/Info.js +0 -6
  1575. package/es/_internal/icons/More.js +0 -10
  1576. package/es/_internal/icons/Photo.js +0 -12
  1577. package/es/_internal/icons/Remove.js +0 -8
  1578. package/es/_internal/icons/ResizeSmall.js +0 -9
  1579. package/es/_internal/icons/Retry.js +0 -5
  1580. package/es/_internal/icons/RotateClockwise.js +0 -5
  1581. package/es/_internal/icons/RotateCounterclockwise.js +0 -5
  1582. package/es/_internal/icons/Search.js +0 -8
  1583. package/es/_internal/icons/Success.js +0 -6
  1584. package/es/_internal/icons/Switcher.js +0 -8
  1585. package/es/_internal/icons/Time.js +0 -5
  1586. package/es/_internal/icons/To.js +0 -6
  1587. package/es/_internal/icons/Trash.js +0 -7
  1588. package/es/_internal/icons/Warning.js +0 -6
  1589. package/es/_internal/icons/ZoomIn.js +0 -5
  1590. package/es/_internal/icons/ZoomOut.js +0 -5
  1591. package/es/_internal/icons/index.js +0 -42
  1592. package/es/_internal/icons/replaceable.js +0 -18
  1593. package/es/_internal/index.js +0 -14
  1594. package/es/_internal/loading/index.js +0 -1
  1595. package/es/_internal/loading/src/Loading.js +0 -52
  1596. package/es/_internal/loading/src/styles/index.cssr.js +0 -139
  1597. package/es/_internal/menu-mask/index.js +0 -1
  1598. package/es/_internal/menu-mask/src/MenuMask.js +0 -41
  1599. package/es/_internal/menu-mask/src/interface.js +0 -1
  1600. package/es/_internal/menu-mask/src/styles/index.cssr.js +0 -15
  1601. package/es/_internal/scrollbar/index.js +0 -1
  1602. package/es/_internal/scrollbar/src/Scrollbar.js +0 -627
  1603. package/es/_internal/scrollbar/src/styles/index.cssr.js +0 -63
  1604. package/es/_internal/scrollbar/src/styles/rtl.cssr.js +0 -10
  1605. package/es/_internal/scrollbar/styles/dark.js +0 -8
  1606. package/es/_internal/scrollbar/styles/index.js +0 -3
  1607. package/es/_internal/scrollbar/styles/light.js +0 -14
  1608. package/es/_internal/scrollbar/styles/rtl.js +0 -6
  1609. package/es/_internal/select-menu/index.js +0 -1
  1610. package/es/_internal/select-menu/src/SelectGroupHeader.js +0 -40
  1611. package/es/_internal/select-menu/src/SelectMenu.js +0 -348
  1612. package/es/_internal/select-menu/src/SelectOption.js +0 -119
  1613. package/es/_internal/select-menu/src/interface.js +0 -3
  1614. package/es/_internal/select-menu/src/styles/index.cssr.js +0 -115
  1615. package/es/_internal/select-menu/styles/_common.js +0 -12
  1616. package/es/_internal/select-menu/styles/dark.js +0 -14
  1617. package/es/_internal/select-menu/styles/index.js +0 -2
  1618. package/es/_internal/select-menu/styles/light.js +0 -19
  1619. package/es/_internal/selection/index.js +0 -1
  1620. package/es/_internal/selection/src/Selection.js +0 -597
  1621. package/es/_internal/selection/src/interface.js +0 -1
  1622. package/es/_internal/selection/src/styles/index.cssr.js +0 -227
  1623. package/es/_internal/selection/styles/_common.js +0 -6
  1624. package/es/_internal/selection/styles/dark.js +0 -46
  1625. package/es/_internal/selection/styles/index.js +0 -2
  1626. package/es/_internal/selection/styles/light.js +0 -48
  1627. package/es/_internal/slot-machine/index.js +0 -1
  1628. package/es/_internal/slot-machine/src/SlotMachine.js +0 -75
  1629. package/es/_internal/slot-machine/src/SlotMachineNumber.js +0 -89
  1630. package/es/_internal/slot-machine/src/styles/index.cssr.js +0 -101
  1631. package/es/_internal/suffix/index.js +0 -1
  1632. package/es/_internal/suffix/src/Suffix.js +0 -42
  1633. package/es/_internal/wave/index.js +0 -1
  1634. package/es/_internal/wave/src/Wave.js +0 -51
  1635. package/es/_internal/wave/src/styles/index.cssr.js +0 -9
  1636. package/es/_mixins/common.js +0 -1
  1637. package/es/_mixins/index.js +0 -8
  1638. package/es/_mixins/use-config.js +0 -32
  1639. package/es/_mixins/use-css-vars-class.js +0 -54
  1640. package/es/_mixins/use-form-item.js +0 -69
  1641. package/es/_mixins/use-hljs.js +0 -26
  1642. package/es/_mixins/use-locale.js +0 -18
  1643. package/es/_mixins/use-rtl.js +0 -50
  1644. package/es/_mixins/use-style.js +0 -41
  1645. package/es/_mixins/use-theme.js +0 -109
  1646. package/es/_styles/common/_common.js +0 -25
  1647. package/es/_styles/common/dark.js +0 -92
  1648. package/es/_styles/common/index.js +0 -2
  1649. package/es/_styles/common/light.js +0 -96
  1650. package/es/_styles/global/index.cssr.js +0 -28
  1651. package/es/_styles/transitions/fade-down.cssr.js +0 -25
  1652. package/es/_styles/transitions/fade-in-height-expand.cssr.js +0 -51
  1653. package/es/_styles/transitions/fade-in-scale-up.cssr.js +0 -27
  1654. package/es/_styles/transitions/fade-in-width-expand.cssr.js +0 -31
  1655. package/es/_styles/transitions/fade-in.cssr.js +0 -22
  1656. package/es/_styles/transitions/fade-up-width-expand.cssr.js +0 -36
  1657. package/es/_styles/transitions/icon-switch.cssr.js +0 -29
  1658. package/es/_styles/transitions/slide-in-from-bottom.js +0 -25
  1659. package/es/_styles/transitions/slide-in-from-left.js +0 -25
  1660. package/es/_styles/transitions/slide-in-from-right.js +0 -25
  1661. package/es/_styles/transitions/slide-in-from-top.js +0 -25
  1662. package/es/_utils/color/index.js +0 -7
  1663. package/es/_utils/composable/index.js +0 -8
  1664. package/es/_utils/composable/use-adjusted-to.js +0 -55
  1665. package/es/_utils/composable/use-browser-location.js +0 -35
  1666. package/es/_utils/composable/use-collection.js +0 -89
  1667. package/es/_utils/composable/use-deferred-true.js +0 -25
  1668. package/es/_utils/composable/use-houdini.js +0 -29
  1669. package/es/_utils/composable/use-is-composing.js +0 -32
  1670. package/es/_utils/composable/use-lock-html-scroll.js +0 -63
  1671. package/es/_utils/composable/use-reactivated.js +0 -20
  1672. package/es/_utils/composable/use-resize.js +0 -19
  1673. package/es/_utils/css/color-to-class.js +0 -3
  1674. package/es/_utils/css/format-length.js +0 -30
  1675. package/es/_utils/css/index.js +0 -2
  1676. package/es/_utils/cssr/create-key.d.ts +0 -44
  1677. package/es/_utils/cssr/create-key.js +0 -8
  1678. package/es/_utils/cssr/index.js +0 -31
  1679. package/es/_utils/dom/index.js +0 -1
  1680. package/es/_utils/dom/is-document.js +0 -3
  1681. package/es/_utils/env/browser.js +0 -4
  1682. package/es/_utils/env/is-browser.js +0 -1
  1683. package/es/_utils/env/is-jsdom.js +0 -9
  1684. package/es/_utils/env/is-native-lazy-load.js +0 -2
  1685. package/es/_utils/event/index.js +0 -7
  1686. package/es/_utils/index.js +0 -9
  1687. package/es/_utils/naive/attribute.js +0 -11
  1688. package/es/_utils/naive/extract-public-props.js +0 -1
  1689. package/es/_utils/naive/index.js +0 -3
  1690. package/es/_utils/naive/mutable.js +0 -1
  1691. package/es/_utils/naive/prop.js +0 -27
  1692. package/es/_utils/naive/warn.js +0 -14
  1693. package/es/_utils/vue/call.js +0 -8
  1694. package/es/_utils/vue/create-data-key.js +0 -3
  1695. package/es/_utils/vue/create-injection-key.js +0 -3
  1696. package/es/_utils/vue/create-ref-setter.js +0 -10
  1697. package/es/_utils/vue/flatten.js +0 -30
  1698. package/es/_utils/vue/get-first-slot-vnode.js +0 -18
  1699. package/es/_utils/vue/get-slot.js +0 -7
  1700. package/es/_utils/vue/get-v-node-children.js +0 -12
  1701. package/es/_utils/vue/index.js +0 -16
  1702. package/es/_utils/vue/is-node-v-show-false.js +0 -6
  1703. package/es/_utils/vue/keep.js +0 -7
  1704. package/es/_utils/vue/keysOf.js +0 -3
  1705. package/es/_utils/vue/merge-handlers.js +0 -15
  1706. package/es/_utils/vue/omit.js +0 -10
  1707. package/es/_utils/vue/render.js +0 -15
  1708. package/es/_utils/vue/resolve-slot.js +0 -44
  1709. package/es/_utils/vue/wrapper.js +0 -7
  1710. package/es/affix/index.js +0 -1
  1711. package/es/affix/src/Affix.js +0 -186
  1712. package/es/affix/src/styles/index.cssr.js +0 -6
  1713. package/es/affix/src/utils.js +0 -8
  1714. package/es/alert/index.js +0 -1
  1715. package/es/alert/src/Alert.js +0 -166
  1716. package/es/alert/src/styles/index.cssr.js +0 -103
  1717. package/es/alert/src/styles/rtl.cssr.js +0 -16
  1718. package/es/alert/styles/_common.js +0 -10
  1719. package/es/alert/styles/dark.js +0 -21
  1720. package/es/alert/styles/index.js +0 -3
  1721. package/es/alert/styles/light.js +0 -18
  1722. package/es/alert/styles/rtl.js +0 -5
  1723. package/es/anchor/index.js +0 -2
  1724. package/es/anchor/src/AnchorAdapter.js +0 -53
  1725. package/es/anchor/src/BaseAnchor.js +0 -259
  1726. package/es/anchor/src/Link.js +0 -44
  1727. package/es/anchor/src/styles/index.cssr.js +0 -89
  1728. package/es/anchor/src/utils.js +0 -10
  1729. package/es/anchor/styles/_common.js +0 -5
  1730. package/es/anchor/styles/dark.js +0 -8
  1731. package/es/anchor/styles/index.js +0 -2
  1732. package/es/anchor/styles/light.js +0 -14
  1733. package/es/auto-complete/index.js +0 -1
  1734. package/es/auto-complete/src/AutoComplete.js +0 -293
  1735. package/es/auto-complete/src/interface.js +0 -1
  1736. package/es/auto-complete/src/styles/index.cssr.js +0 -16
  1737. package/es/auto-complete/src/utils.js +0 -25
  1738. package/es/auto-complete/styles/dark.js +0 -14
  1739. package/es/auto-complete/styles/index.js +0 -2
  1740. package/es/auto-complete/styles/light.js +0 -20
  1741. package/es/avatar/index.js +0 -1
  1742. package/es/avatar/src/Avatar.js +0 -235
  1743. package/es/avatar/src/context.js +0 -2
  1744. package/es/avatar/src/interface.js +0 -1
  1745. package/es/avatar/src/styles/index.cssr.js +0 -39
  1746. package/es/avatar/styles/dark.js +0 -8
  1747. package/es/avatar/styles/index.js +0 -2
  1748. package/es/avatar/styles/light.js +0 -24
  1749. package/es/avatar-group/index.js +0 -1
  1750. package/es/avatar-group/src/AvatarGroup.js +0 -68
  1751. package/es/avatar-group/src/styles/avatar-group-rtl.cssr.js +0 -10
  1752. package/es/avatar-group/src/styles/avatar-group.cssr.js +0 -15
  1753. package/es/avatar-group/styles/dark.js +0 -12
  1754. package/es/avatar-group/styles/index.js +0 -3
  1755. package/es/avatar-group/styles/light.js +0 -17
  1756. package/es/avatar-group/styles/rtl.js +0 -5
  1757. package/es/back-top/index.js +0 -1
  1758. package/es/back-top/src/BackTop.js +0 -210
  1759. package/es/back-top/src/BackTopIcon.js +0 -10
  1760. package/es/back-top/src/styles/index.cssr.js +0 -51
  1761. package/es/back-top/styles/_common.js +0 -6
  1762. package/es/back-top/styles/dark.js +0 -11
  1763. package/es/back-top/styles/index.js +0 -2
  1764. package/es/back-top/styles/light.js +0 -12
  1765. package/es/badge/index.js +0 -1
  1766. package/es/badge/src/Badge.js +0 -112
  1767. package/es/badge/src/styles/index.cssr.js +0 -79
  1768. package/es/badge/src/styles/rtl.cssr.js +0 -9
  1769. package/es/badge/styles/dark.js +0 -18
  1770. package/es/badge/styles/index.js +0 -3
  1771. package/es/badge/styles/light.js +0 -19
  1772. package/es/badge/styles/rtl.js +0 -5
  1773. package/es/breadcrumb/index.js +0 -2
  1774. package/es/breadcrumb/src/Breadcrumb.js +0 -54
  1775. package/es/breadcrumb/src/BreadcrumbItem.js +0 -49
  1776. package/es/breadcrumb/src/styles/index.cssr.js +0 -72
  1777. package/es/breadcrumb/styles/_common.js +0 -3
  1778. package/es/breadcrumb/styles/dark.js +0 -8
  1779. package/es/breadcrumb/styles/index.js +0 -2
  1780. package/es/breadcrumb/styles/light.js +0 -12
  1781. package/es/button/index.js +0 -1
  1782. package/es/button/src/Button.js +0 -471
  1783. package/es/button/src/interface.js +0 -1
  1784. package/es/button/src/styles/index.cssr.js +0 -189
  1785. package/es/button/src/styles/rtl.cssr.js +0 -10
  1786. package/es/button/styles/_common.js +0 -19
  1787. package/es/button/styles/dark.js +0 -15
  1788. package/es/button/styles/index.js +0 -3
  1789. package/es/button/styles/light.js +0 -38
  1790. package/es/button/styles/rtl.js +0 -5
  1791. package/es/button-group/index.js +0 -1
  1792. package/es/button-group/src/ButtonGroup.js +0 -34
  1793. package/es/button-group/src/context.js +0 -2
  1794. package/es/button-group/src/styles/index.cssr.js +0 -53
  1795. package/es/button-group/src/styles/rtl.cssr.js +0 -24
  1796. package/es/button-group/styles/dark.js +0 -6
  1797. package/es/button-group/styles/index.js +0 -3
  1798. package/es/button-group/styles/light.js +0 -6
  1799. package/es/button-group/styles/rtl.js +0 -5
  1800. package/es/calendar/index.js +0 -1
  1801. package/es/calendar/src/Calendar.js +0 -198
  1802. package/es/calendar/src/interface.js +0 -1
  1803. package/es/calendar/src/styles/index.cssr.js +0 -137
  1804. package/es/calendar/styles/_common.js +0 -3
  1805. package/es/calendar/styles/dark.js +0 -12
  1806. package/es/calendar/styles/index.js +0 -2
  1807. package/es/calendar/styles/light.js +0 -19
  1808. package/es/card/index.js +0 -1
  1809. package/es/card/src/Card.js +0 -143
  1810. package/es/card/src/styles/index.cssr.js +0 -134
  1811. package/es/card/src/styles/rtl.cssr.js +0 -6
  1812. package/es/card/styles/_common.js +0 -12
  1813. package/es/card/styles/dark.js +0 -15
  1814. package/es/card/styles/index.js +0 -3
  1815. package/es/card/styles/light.js +0 -15
  1816. package/es/card/styles/rtl.js +0 -5
  1817. package/es/carousel/index.js +0 -2
  1818. package/es/carousel/src/Carousel.js +0 -770
  1819. package/es/carousel/src/CarouselArrow.js +0 -38
  1820. package/es/carousel/src/CarouselContext.js +0 -13
  1821. package/es/carousel/src/CarouselDots.js +0 -115
  1822. package/es/carousel/src/CarouselItem.js +0 -66
  1823. package/es/carousel/src/interface.js +0 -1
  1824. package/es/carousel/src/styles/index.cssr.js +0 -232
  1825. package/es/carousel/src/utils/duplicatedLogic.js +0 -46
  1826. package/es/carousel/src/utils/event.js +0 -3
  1827. package/es/carousel/src/utils/index.js +0 -33
  1828. package/es/carousel/styles/dark.js +0 -8
  1829. package/es/carousel/styles/index.js +0 -2
  1830. package/es/carousel/styles/light.js +0 -18
  1831. package/es/cascader/index.js +0 -1
  1832. package/es/cascader/src/Cascader.js +0 -861
  1833. package/es/cascader/src/CascaderMenu.js +0 -122
  1834. package/es/cascader/src/CascaderOption.js +0 -177
  1835. package/es/cascader/src/CascaderSelectMenu.js +0 -145
  1836. package/es/cascader/src/CascaderSubmenu.js +0 -65
  1837. package/es/cascader/src/interface.js +0 -2
  1838. package/es/cascader/src/styles/index.cssr.js +0 -133
  1839. package/es/cascader/src/utils.js +0 -41
  1840. package/es/cascader/styles/dark.js +0 -20
  1841. package/es/cascader/styles/index.js +0 -2
  1842. package/es/cascader/styles/light.js +0 -40
  1843. package/es/checkbox/index.js +0 -2
  1844. package/es/checkbox/src/CheckMark.js +0 -3
  1845. package/es/checkbox/src/Checkbox.js +0 -251
  1846. package/es/checkbox/src/CheckboxGroup.js +0 -160
  1847. package/es/checkbox/src/LineMark.js +0 -3
  1848. package/es/checkbox/src/interface.js +0 -1
  1849. package/es/checkbox/src/styles/index.cssr.js +0 -150
  1850. package/es/checkbox/src/styles/rtl.cssr.js +0 -4
  1851. package/es/checkbox/styles/_common.js +0 -7
  1852. package/es/checkbox/styles/dark.js +0 -14
  1853. package/es/checkbox/styles/index.js +0 -3
  1854. package/es/checkbox/styles/light.js +0 -15
  1855. package/es/checkbox/styles/rtl.js +0 -5
  1856. package/es/code/index.js +0 -1
  1857. package/es/code/src/Code.js +0 -157
  1858. package/es/code/src/styles/index.cssr.js +0 -96
  1859. package/es/code/styles/dark.js +0 -26
  1860. package/es/code/styles/index.js +0 -2
  1861. package/es/code/styles/light.js +0 -27
  1862. package/es/collapse/index.js +0 -2
  1863. package/es/collapse/src/Collapse.js +0 -141
  1864. package/es/collapse/src/CollapseItem.js +0 -99
  1865. package/es/collapse/src/CollapseItemContent.js +0 -38
  1866. package/es/collapse/src/interface.js +0 -1
  1867. package/es/collapse/src/styles/index.cssr.js +0 -59
  1868. package/es/collapse/src/styles/rtl.cssr.js +0 -15
  1869. package/es/collapse/styles/dark.js +0 -8
  1870. package/es/collapse/styles/index.js +0 -3
  1871. package/es/collapse/styles/light.js +0 -23
  1872. package/es/collapse/styles/rtl.js +0 -5
  1873. package/es/collapse-transition/index.js +0 -1
  1874. package/es/collapse-transition/src/CollapseTransition.js +0 -80
  1875. package/es/collapse-transition/src/styles/index.cssr.js +0 -5
  1876. package/es/collapse-transition/src/styles/rtl.cssr.js +0 -5
  1877. package/es/collapse-transition/styles/dark.js +0 -8
  1878. package/es/collapse-transition/styles/index.js +0 -3
  1879. package/es/collapse-transition/styles/light.js +0 -13
  1880. package/es/collapse-transition/styles/rtl.js +0 -5
  1881. package/es/color-picker/index.js +0 -1
  1882. package/es/color-picker/src/AlphaSlider.js +0 -102
  1883. package/es/color-picker/src/ColorInput.js +0 -103
  1884. package/es/color-picker/src/ColorInputUnit.js +0 -148
  1885. package/es/color-picker/src/ColorPicker.js +0 -457
  1886. package/es/color-picker/src/ColorPickerSwatches.js +0 -95
  1887. package/es/color-picker/src/ColorPickerTrigger.js +0 -47
  1888. package/es/color-picker/src/ColorPreview.js +0 -47
  1889. package/es/color-picker/src/HueSlider.js +0 -88
  1890. package/es/color-picker/src/Pallete.js +0 -91
  1891. package/es/color-picker/src/context.js +0 -2
  1892. package/es/color-picker/src/interface.js +0 -1
  1893. package/es/color-picker/src/styles/index.cssr.js +0 -193
  1894. package/es/color-picker/src/utils.js +0 -109
  1895. package/es/color-picker/styles/dark.js +0 -14
  1896. package/es/color-picker/styles/index.js +0 -2
  1897. package/es/color-picker/styles/light.js +0 -32
  1898. package/es/components.js +0 -92
  1899. package/es/composables/index.js +0 -1
  1900. package/es/composables/use-theme-vars.js +0 -18
  1901. package/es/config-provider/index.js +0 -2
  1902. package/es/config-provider/src/ConfigProvider.js +0 -209
  1903. package/es/config-provider/src/config.js +0 -8
  1904. package/es/config-provider/src/context.js +0 -2
  1905. package/es/config-provider/src/interface.js +0 -1
  1906. package/es/config-provider/src/internal-interface.js +0 -1
  1907. package/es/config-provider/src/katex.js +0 -1
  1908. package/es/countdown/index.js +0 -1
  1909. package/es/countdown/src/Countdown.js +0 -154
  1910. package/es/create.js +0 -30
  1911. package/es/data-table/index.js +0 -2
  1912. package/es/data-table/src/DataTable.js +0 -273
  1913. package/es/data-table/src/HeaderButton/FilterButton.js +0 -112
  1914. package/es/data-table/src/HeaderButton/FilterMenu.js +0 -130
  1915. package/es/data-table/src/HeaderButton/RenderFilter.js +0 -25
  1916. package/es/data-table/src/HeaderButton/RenderSorter.js +0 -21
  1917. package/es/data-table/src/HeaderButton/ResizeButton.js +0 -59
  1918. package/es/data-table/src/HeaderButton/SortButton.js +0 -53
  1919. package/es/data-table/src/MainTable.js +0 -77
  1920. package/es/data-table/src/TableParts/Body.js +0 -606
  1921. package/es/data-table/src/TableParts/BodyCheckbox.js +0 -30
  1922. package/es/data-table/src/TableParts/BodyRadio.js +0 -30
  1923. package/es/data-table/src/TableParts/Cell.js +0 -62
  1924. package/es/data-table/src/TableParts/ExpandTrigger.js +0 -39
  1925. package/es/data-table/src/TableParts/Header.js +0 -161
  1926. package/es/data-table/src/TableParts/SelectionMenu.js +0 -73
  1927. package/es/data-table/src/interface.js +0 -56
  1928. package/es/data-table/src/styles/index.cssr.js +0 -433
  1929. package/es/data-table/src/use-check.js +0 -149
  1930. package/es/data-table/src/use-expand.js +0 -61
  1931. package/es/data-table/src/use-group-header.js +0 -104
  1932. package/es/data-table/src/use-resizable.js +0 -22
  1933. package/es/data-table/src/use-scroll.js +0 -225
  1934. package/es/data-table/src/use-sorter.js +0 -191
  1935. package/es/data-table/src/use-table-data.js +0 -327
  1936. package/es/data-table/src/utils.js +0 -131
  1937. package/es/data-table/styles/_common.js +0 -16
  1938. package/es/data-table/styles/dark.js +0 -33
  1939. package/es/data-table/styles/index.js +0 -2
  1940. package/es/data-table/styles/light.js +0 -44
  1941. package/es/date-picker/index.js +0 -1
  1942. package/es/date-picker/src/DatePicker.js +0 -752
  1943. package/es/date-picker/src/config.js +0 -3
  1944. package/es/date-picker/src/interface.js +0 -2
  1945. package/es/date-picker/src/panel/date.js +0 -78
  1946. package/es/date-picker/src/panel/daterange.js +0 -108
  1947. package/es/date-picker/src/panel/datetime.js +0 -76
  1948. package/es/date-picker/src/panel/datetimerange.js +0 -133
  1949. package/es/date-picker/src/panel/month.js +0 -104
  1950. package/es/date-picker/src/panel/monthrange.js +0 -118
  1951. package/es/date-picker/src/panel/panelHeader.js +0 -85
  1952. package/es/date-picker/src/panel/use-calendar.js +0 -330
  1953. package/es/date-picker/src/panel/use-dual-calendar.js +0 -664
  1954. package/es/date-picker/src/panel/use-panel-common.js +0 -156
  1955. package/es/date-picker/src/styles/index.cssr.js +0 -355
  1956. package/es/date-picker/src/utils.js +0 -188
  1957. package/es/date-picker/src/validation-utils.js +0 -178
  1958. package/es/date-picker/styles/_common.js +0 -36
  1959. package/es/date-picker/styles/dark.js +0 -26
  1960. package/es/date-picker/styles/index.js +0 -2
  1961. package/es/date-picker/styles/light.js +0 -25
  1962. package/es/descriptions/index.js +0 -2
  1963. package/es/descriptions/src/Descriptions.js +0 -175
  1964. package/es/descriptions/src/DescriptionsItem.js +0 -21
  1965. package/es/descriptions/src/styles/index.cssr.js +0 -119
  1966. package/es/descriptions/src/utils.js +0 -7
  1967. package/es/descriptions/styles/_common.js +0 -14
  1968. package/es/descriptions/styles/dark.js +0 -8
  1969. package/es/descriptions/styles/index.js +0 -2
  1970. package/es/descriptions/styles/light.js +0 -16
  1971. package/es/dialog/index.js +0 -4
  1972. package/es/dialog/src/Dialog.js +0 -137
  1973. package/es/dialog/src/DialogEnvironment.js +0 -111
  1974. package/es/dialog/src/DialogProvider.js +0 -75
  1975. package/es/dialog/src/composables.js +0 -17
  1976. package/es/dialog/src/context.js +0 -4
  1977. package/es/dialog/src/dialogProps.js +0 -31
  1978. package/es/dialog/src/interface.js +0 -1
  1979. package/es/dialog/src/styles/index.cssr.js +0 -96
  1980. package/es/dialog/styles/_common.js +0 -13
  1981. package/es/dialog/styles/dark.js +0 -12
  1982. package/es/dialog/styles/index.js +0 -2
  1983. package/es/dialog/styles/light.js +0 -22
  1984. package/es/discrete/index.js +0 -1
  1985. package/es/discrete/src/InjectionExtractor.js +0 -12
  1986. package/es/discrete/src/discrete.js +0 -45
  1987. package/es/discrete/src/discreteApp.js +0 -49
  1988. package/es/discrete/src/interface.js +0 -1
  1989. package/es/divider/index.js +0 -1
  1990. package/es/divider/src/Divider.js +0 -53
  1991. package/es/divider/src/styles/index.cssr.js +0 -58
  1992. package/es/divider/styles/dark.js +0 -8
  1993. package/es/divider/styles/index.js +0 -2
  1994. package/es/divider/styles/light.js +0 -15
  1995. package/es/drawer/index.js +0 -2
  1996. package/es/drawer/src/Drawer.js +0 -216
  1997. package/es/drawer/src/DrawerBodyWrapper.js +0 -254
  1998. package/es/drawer/src/DrawerContent.js +0 -49
  1999. package/es/drawer/src/interface.js +0 -3
  2000. package/es/drawer/src/styles/index.cssr.js +0 -163
  2001. package/es/drawer/src/styles/rtl.cssr.js +0 -8
  2002. package/es/drawer/styles/dark.js +0 -12
  2003. package/es/drawer/styles/index.js +0 -3
  2004. package/es/drawer/styles/light.js +0 -38
  2005. package/es/drawer/styles/rtl.js +0 -8
  2006. package/es/dropdown/index.js +0 -1
  2007. package/es/dropdown/src/Dropdown.js +0 -338
  2008. package/es/dropdown/src/DropdownDivider.js +0 -13
  2009. package/es/dropdown/src/DropdownGroup.js +0 -46
  2010. package/es/dropdown/src/DropdownGroupHeader.js +0 -55
  2011. package/es/dropdown/src/DropdownMenu.js +0 -103
  2012. package/es/dropdown/src/DropdownOption.js +0 -240
  2013. package/es/dropdown/src/DropdownRenderOption.js +0 -14
  2014. package/es/dropdown/src/context.js +0 -4
  2015. package/es/dropdown/src/interface.js +0 -1
  2016. package/es/dropdown/src/styles/index.cssr.js +0 -143
  2017. package/es/dropdown/src/utils.js +0 -13
  2018. package/es/dropdown/styles/_common.js +0 -23
  2019. package/es/dropdown/styles/dark.js +0 -21
  2020. package/es/dropdown/styles/index.js +0 -2
  2021. package/es/dropdown/styles/light.js +0 -26
  2022. package/es/dynamic-input/index.js +0 -1
  2023. package/es/dynamic-input/src/DynamicInput.js +0 -302
  2024. package/es/dynamic-input/src/InputPreset.js +0 -37
  2025. package/es/dynamic-input/src/PairPreset.js +0 -53
  2026. package/es/dynamic-input/src/interface.js +0 -2
  2027. package/es/dynamic-input/src/styles/index.cssr.js +0 -35
  2028. package/es/dynamic-input/src/styles/rtl.cssr.js +0 -9
  2029. package/es/dynamic-input/styles/_common.js +0 -4
  2030. package/es/dynamic-input/styles/dark.js +0 -16
  2031. package/es/dynamic-input/styles/index.js +0 -3
  2032. package/es/dynamic-input/styles/light.js +0 -18
  2033. package/es/dynamic-input/styles/rtl.js +0 -11
  2034. package/es/dynamic-tags/index.js +0 -1
  2035. package/es/dynamic-tags/src/DynamicTags.js +0 -165
  2036. package/es/dynamic-tags/src/interface.js +0 -1
  2037. package/es/dynamic-tags/src/styles/index.cssr.js +0 -6
  2038. package/es/dynamic-tags/styles/dark.js +0 -21
  2039. package/es/dynamic-tags/styles/index.js +0 -2
  2040. package/es/dynamic-tags/styles/light.js +0 -22
  2041. package/es/element/index.js +0 -2
  2042. package/es/element/src/Element.js +0 -43
  2043. package/es/element/styles/dark.js +0 -6
  2044. package/es/element/styles/index.js +0 -2
  2045. package/es/element/styles/light.js +0 -6
  2046. package/es/ellipsis/index.js +0 -2
  2047. package/es/ellipsis/src/Ellipsis.js +0 -165
  2048. package/es/ellipsis/src/PerformantEllipsis.js +0 -52
  2049. package/es/ellipsis/src/styles/index.cssr.js +0 -14
  2050. package/es/ellipsis/styles/dark.js +0 -10
  2051. package/es/ellipsis/styles/index.js +0 -2
  2052. package/es/ellipsis/styles/light.js +0 -11
  2053. package/es/empty/index.js +0 -1
  2054. package/es/empty/src/Empty.js +0 -75
  2055. package/es/empty/src/styles/index.cssr.js +0 -32
  2056. package/es/empty/styles/_common.js +0 -6
  2057. package/es/empty/styles/dark.js +0 -8
  2058. package/es/empty/styles/index.js +0 -2
  2059. package/es/empty/styles/light.js +0 -15
  2060. package/es/equation/index.js +0 -1
  2061. package/es/equation/src/Equation.js +0 -29
  2062. package/es/equation/styles/dark.js +0 -8
  2063. package/es/equation/styles/index.js +0 -2
  2064. package/es/equation/styles/light.js +0 -8
  2065. package/es/form/index.js +0 -6
  2066. package/es/form/src/Form.js +0 -114
  2067. package/es/form/src/FormItem.js +0 -366
  2068. package/es/form/src/FormItemCol.js +0 -38
  2069. package/es/form/src/FormItemGridItem.js +0 -40
  2070. package/es/form/src/FormItemRow.js +0 -37
  2071. package/es/form/src/context.js +0 -3
  2072. package/es/form/src/interface.js +0 -1
  2073. package/es/form/src/styles/form-item.cssr.js +0 -124
  2074. package/es/form/src/styles/form.cssr.js +0 -12
  2075. package/es/form/src/utils.js +0 -171
  2076. package/es/form/styles/_common.js +0 -23
  2077. package/es/form/styles/dark.js +0 -8
  2078. package/es/form/styles/index.js +0 -2
  2079. package/es/form/styles/light.js +0 -12
  2080. package/es/global-style/index.js +0 -1
  2081. package/es/global-style/src/GlobalStyle.js +0 -59
  2082. package/es/gradient-text/index.js +0 -1
  2083. package/es/gradient-text/src/GradientText.js +0 -81
  2084. package/es/gradient-text/src/styles/index.cssr.js +0 -19
  2085. package/es/gradient-text/styles/dark.js +0 -23
  2086. package/es/gradient-text/styles/index.js +0 -2
  2087. package/es/gradient-text/styles/light.js +0 -25
  2088. package/es/grid/index.js +0 -3
  2089. package/es/grid/src/Grid.js +0 -251
  2090. package/es/grid/src/GridItem.js +0 -74
  2091. package/es/grid/src/config.js +0 -3
  2092. package/es/icon/index.js +0 -1
  2093. package/es/icon/src/Icon.js +0 -69
  2094. package/es/icon/src/styles/index.cssr.js +0 -25
  2095. package/es/icon/styles/dark.js +0 -8
  2096. package/es/icon/styles/index.js +0 -2
  2097. package/es/icon/styles/light.js +0 -18
  2098. package/es/icon-wrapper/index.js +0 -1
  2099. package/es/icon-wrapper/src/IconWrapper.js +0 -48
  2100. package/es/icon-wrapper/src/styles/index.cssr.js +0 -16
  2101. package/es/icon-wrapper/styles/dark.js +0 -8
  2102. package/es/icon-wrapper/styles/index.js +0 -2
  2103. package/es/icon-wrapper/styles/light.js +0 -14
  2104. package/es/image/index.js +0 -2
  2105. package/es/image/src/Image.js +0 -123
  2106. package/es/image/src/ImageGroup.js +0 -68
  2107. package/es/image/src/ImagePreview.js +0 -430
  2108. package/es/image/src/icons.js +0 -9
  2109. package/es/image/src/interface.js +0 -4
  2110. package/es/image/src/styles/index.cssr.js +0 -68
  2111. package/es/image/src/utils.js +0 -81
  2112. package/es/image/styles/dark.js +0 -18
  2113. package/es/image/styles/index.js +0 -2
  2114. package/es/image/styles/light.js +0 -19
  2115. package/es/index.js +0 -14
  2116. package/es/input/index.js +0 -3
  2117. package/es/input/src/Input.js +0 -947
  2118. package/es/input/src/InputGroup.js +0 -19
  2119. package/es/input/src/InputGroupLabel.js +0 -52
  2120. package/es/input/src/WordCount.js +0 -31
  2121. package/es/input/src/interface.js +0 -2
  2122. package/es/input/src/styles/input-group-label.cssr.js +0 -38
  2123. package/es/input/src/styles/input-group.cssr.js +0 -57
  2124. package/es/input/src/styles/input.cssr.js +0 -278
  2125. package/es/input/src/styles/rtl.cssr.js +0 -16
  2126. package/es/input/src/utils.js +0 -66
  2127. package/es/input/styles/_common.js +0 -7
  2128. package/es/input/styles/dark.js +0 -35
  2129. package/es/input/styles/index.js +0 -3
  2130. package/es/input/styles/light.js +0 -36
  2131. package/es/input/styles/rtl.js +0 -5
  2132. package/es/input-number/index.js +0 -1
  2133. package/es/input-number/src/InputNumber.js +0 -580
  2134. package/es/input-number/src/interface.js +0 -1
  2135. package/es/input-number/src/styles/input-number.cssr.js +0 -8
  2136. package/es/input-number/src/styles/rtl.cssr.js +0 -4
  2137. package/es/input-number/src/utils.js +0 -47
  2138. package/es/input-number/styles/dark.js +0 -18
  2139. package/es/input-number/styles/index.js +0 -3
  2140. package/es/input-number/styles/light.js +0 -20
  2141. package/es/input-number/styles/rtl.js +0 -8
  2142. package/es/jest-setup.js +0 -5
  2143. package/es/layout/index.js +0 -5
  2144. package/es/layout/src/Layout.js +0 -124
  2145. package/es/layout/src/LayoutContent.js +0 -2
  2146. package/es/layout/src/LayoutFooter.js +0 -52
  2147. package/es/layout/src/LayoutHeader.js +0 -59
  2148. package/es/layout/src/LayoutSider.js +0 -253
  2149. package/es/layout/src/ToggleBar.js +0 -16
  2150. package/es/layout/src/ToggleButton.js +0 -20
  2151. package/es/layout/src/interface.js +0 -6
  2152. package/es/layout/src/styles/layout-footer.cssr.js +0 -23
  2153. package/es/layout/src/styles/layout-header.cssr.js +0 -24
  2154. package/es/layout/src/styles/layout-sider.cssr.js +0 -140
  2155. package/es/layout/src/styles/layout.cssr.js +0 -28
  2156. package/es/layout/styles/dark.js +0 -39
  2157. package/es/layout/styles/index.js +0 -2
  2158. package/es/layout/styles/light.js +0 -42
  2159. package/es/legacy-grid/index.js +0 -2
  2160. package/es/legacy-grid/src/Col.js +0 -53
  2161. package/es/legacy-grid/src/Row.js +0 -63
  2162. package/es/legacy-grid/src/interface.js +0 -1
  2163. package/es/legacy-grid/src/styles/index.cssr.js +0 -31
  2164. package/es/legacy-grid/src/styles/rtl.cssr.js +0 -20
  2165. package/es/legacy-grid/styles/dark.js +0 -6
  2166. package/es/legacy-grid/styles/index.js +0 -3
  2167. package/es/legacy-grid/styles/light.js +0 -6
  2168. package/es/legacy-grid/styles/rtl.js +0 -5
  2169. package/es/legacy-transfer/index.js +0 -1
  2170. package/es/legacy-transfer/src/Transfer.js +0 -214
  2171. package/es/legacy-transfer/src/TransferFilter.js +0 -40
  2172. package/es/legacy-transfer/src/TransferHeader.js +0 -47
  2173. package/es/legacy-transfer/src/TransferList.js +0 -93
  2174. package/es/legacy-transfer/src/TransferListItem.js +0 -65
  2175. package/es/legacy-transfer/src/interface.js +0 -2
  2176. package/es/legacy-transfer/src/styles/index.cssr.js +0 -215
  2177. package/es/legacy-transfer/src/use-transfer-data.js +0 -145
  2178. package/es/legacy-transfer/styles/_common.js +0 -4
  2179. package/es/legacy-transfer/styles/dark.js +0 -27
  2180. package/es/legacy-transfer/styles/index.js +0 -2
  2181. package/es/legacy-transfer/styles/light.js +0 -31
  2182. package/es/list/index.js +0 -2
  2183. package/es/list/src/List.js +0 -71
  2184. package/es/list/src/ListItem.js +0 -24
  2185. package/es/list/src/styles/index.cssr.js +0 -88
  2186. package/es/list/src/styles/rtl.cssr.js +0 -11
  2187. package/es/list/styles/dark.js +0 -8
  2188. package/es/list/styles/index.js +0 -3
  2189. package/es/list/styles/light.js +0 -25
  2190. package/es/list/styles/rtl.js +0 -5
  2191. package/es/loading-bar/index.js +0 -2
  2192. package/es/loading-bar/src/LoadingBar.js +0 -178
  2193. package/es/loading-bar/src/LoadingBarProvider.js +0 -73
  2194. package/es/loading-bar/src/context.js +0 -3
  2195. package/es/loading-bar/src/styles/index.cssr.js +0 -35
  2196. package/es/loading-bar/src/use-loading-bar.js +0 -10
  2197. package/es/loading-bar/styles/dark.js +0 -14
  2198. package/es/loading-bar/styles/index.js +0 -2
  2199. package/es/loading-bar/styles/light.js +0 -15
  2200. package/es/locales/common/arDZ.js +0 -121
  2201. package/es/locales/common/deDE.js +0 -121
  2202. package/es/locales/common/enGB.js +0 -122
  2203. package/es/locales/common/enUS.js +0 -122
  2204. package/es/locales/common/eo.js +0 -123
  2205. package/es/locales/common/esAR.js +0 -125
  2206. package/es/locales/common/faIR.js +0 -121
  2207. package/es/locales/common/frFR.js +0 -121
  2208. package/es/locales/common/idID.js +0 -125
  2209. package/es/locales/common/itIT.js +0 -124
  2210. package/es/locales/common/jaJP.js +0 -124
  2211. package/es/locales/common/koKR.js +0 -124
  2212. package/es/locales/common/nbNO.js +0 -125
  2213. package/es/locales/common/nlNL.js +0 -123
  2214. package/es/locales/common/plPL.js +0 -124
  2215. package/es/locales/common/ptBR.js +0 -121
  2216. package/es/locales/common/ruRU.js +0 -126
  2217. package/es/locales/common/skSK.js +0 -125
  2218. package/es/locales/common/svSE.js +0 -121
  2219. package/es/locales/common/thTH.js +0 -125
  2220. package/es/locales/common/trTR.js +0 -122
  2221. package/es/locales/common/ukUA.js +0 -122
  2222. package/es/locales/common/viVN.js +0 -121
  2223. package/es/locales/common/zhCN.js +0 -121
  2224. package/es/locales/common/zhTW.js +0 -121
  2225. package/es/locales/date/arDZ.js +0 -6
  2226. package/es/locales/date/deDE.js +0 -6
  2227. package/es/locales/date/enGB.js +0 -6
  2228. package/es/locales/date/enUS.js +0 -6
  2229. package/es/locales/date/eo.js +0 -6
  2230. package/es/locales/date/esAR.js +0 -6
  2231. package/es/locales/date/faIR.js +0 -6
  2232. package/es/locales/date/frFR.js +0 -6
  2233. package/es/locales/date/idID.js +0 -6
  2234. package/es/locales/date/itIT.js +0 -6
  2235. package/es/locales/date/jaJP.js +0 -6
  2236. package/es/locales/date/koKR.js +0 -6
  2237. package/es/locales/date/nbNO.js +0 -6
  2238. package/es/locales/date/nlNL.js +0 -6
  2239. package/es/locales/date/plPL.js +0 -6
  2240. package/es/locales/date/ptBR.js +0 -6
  2241. package/es/locales/date/ruRU.js +0 -6
  2242. package/es/locales/date/skSK.js +0 -6
  2243. package/es/locales/date/svSE.js +0 -6
  2244. package/es/locales/date/thTH.js +0 -6
  2245. package/es/locales/date/trTR.js +0 -6
  2246. package/es/locales/date/ukUA.js +0 -6
  2247. package/es/locales/date/viVN.js +0 -6
  2248. package/es/locales/date/zhCN.js +0 -6
  2249. package/es/locales/date/zhTW.js +0 -6
  2250. package/es/locales/index.js +0 -51
  2251. package/es/locales/utils/index.js +0 -4
  2252. package/es/log/index.js +0 -1
  2253. package/es/log/src/Log.js +0 -195
  2254. package/es/log/src/LogLine.js +0 -52
  2255. package/es/log/src/LogLoader.js +0 -23
  2256. package/es/log/src/context.js +0 -2
  2257. package/es/log/src/styles/index.cssr.js +0 -53
  2258. package/es/log/styles/dark.js +0 -22
  2259. package/es/log/styles/index.js +0 -2
  2260. package/es/log/styles/light.js +0 -24
  2261. package/es/mention/index.js +0 -1
  2262. package/es/mention/src/Mention.js +0 -361
  2263. package/es/mention/src/interface.js +0 -1
  2264. package/es/mention/src/styles/index.cssr.js +0 -8
  2265. package/es/mention/src/utils.js +0 -204
  2266. package/es/mention/styles/dark.js +0 -18
  2267. package/es/mention/styles/index.js +0 -2
  2268. package/es/mention/styles/light.js +0 -20
  2269. package/es/menu/index.js +0 -1
  2270. package/es/menu/src/Menu.js +0 -474
  2271. package/es/menu/src/MenuDivider.js +0 -11
  2272. package/es/menu/src/MenuOption.js +0 -69
  2273. package/es/menu/src/MenuOptionContent.js +0 -92
  2274. package/es/menu/src/MenuOptionGroup.js +0 -43
  2275. package/es/menu/src/Submenu.js +0 -124
  2276. package/es/menu/src/context.js +0 -4
  2277. package/es/menu/src/interface.js +0 -1
  2278. package/es/menu/src/styles/index.cssr.js +0 -232
  2279. package/es/menu/src/use-menu-child-props.js +0 -14
  2280. package/es/menu/src/use-menu-child.js +0 -80
  2281. package/es/menu/src/useCheckDeprecated.js +0 -24
  2282. package/es/menu/src/utils.js +0 -51
  2283. package/es/menu/styles/dark.js +0 -27
  2284. package/es/menu/styles/index.js +0 -2
  2285. package/es/menu/styles/light.js +0 -60
  2286. package/es/message/index.js +0 -2
  2287. package/es/message/src/Message.js +0 -112
  2288. package/es/message/src/MessageEnvironment.js +0 -91
  2289. package/es/message/src/MessageProvider.js +0 -101
  2290. package/es/message/src/context.js +0 -3
  2291. package/es/message/src/message-props.js +0 -17
  2292. package/es/message/src/styles/index.cssr.js +0 -133
  2293. package/es/message/src/styles/rtl.cssr.js +0 -8
  2294. package/es/message/src/types.js +0 -1
  2295. package/es/message/src/use-message.js +0 -10
  2296. package/es/message/styles/_common.js +0 -12
  2297. package/es/message/styles/dark.js +0 -8
  2298. package/es/message/styles/index.js +0 -3
  2299. package/es/message/styles/light.js +0 -17
  2300. package/es/message/styles/rtl.js +0 -5
  2301. package/es/modal/index.js +0 -1
  2302. package/es/modal/src/BodyWrapper.js +0 -213
  2303. package/es/modal/src/Modal.js +0 -245
  2304. package/es/modal/src/interface.js +0 -3
  2305. package/es/modal/src/presetProps.js +0 -6
  2306. package/es/modal/src/styles/index.cssr.js +0 -48
  2307. package/es/modal/styles/dark.js +0 -16
  2308. package/es/modal/styles/index.js +0 -2
  2309. package/es/modal/styles/light.js +0 -24
  2310. package/es/notification/index.js +0 -2
  2311. package/es/notification/src/Notification.js +0 -127
  2312. package/es/notification/src/NotificationContainer.js +0 -44
  2313. package/es/notification/src/NotificationEnvironment.js +0 -143
  2314. package/es/notification/src/NotificationProvider.js +0 -127
  2315. package/es/notification/src/context.js +0 -2
  2316. package/es/notification/src/styles/index.cssr.js +0 -228
  2317. package/es/notification/src/styles/rtl.cssr.js +0 -22
  2318. package/es/notification/src/use-notification.js +0 -10
  2319. package/es/notification/styles/_common.js +0 -10
  2320. package/es/notification/styles/dark.js +0 -12
  2321. package/es/notification/styles/index.js +0 -3
  2322. package/es/notification/styles/light.js +0 -22
  2323. package/es/notification/styles/rtl.js +0 -5
  2324. package/es/number-animation/index.js +0 -1
  2325. package/es/number-animation/src/NumberAnimation.js +0 -99
  2326. package/es/number-animation/src/utils.js +0 -17
  2327. package/es/page-header/index.js +0 -1
  2328. package/es/page-header/src/PageHeader.js +0 -70
  2329. package/es/page-header/src/styles/index.cssr.js +0 -49
  2330. package/es/page-header/src/styles/rtl.cssr.js +0 -19
  2331. package/es/page-header/styles/_common.js +0 -4
  2332. package/es/page-header/styles/dark.js +0 -7
  2333. package/es/page-header/styles/index.js +0 -3
  2334. package/es/page-header/styles/light.js +0 -12
  2335. package/es/page-header/styles/rtl.js +0 -5
  2336. package/es/pagination/index.js +0 -1
  2337. package/es/pagination/src/Pagination.js +0 -583
  2338. package/es/pagination/src/interface.js +0 -1
  2339. package/es/pagination/src/styles/index.cssr.js +0 -134
  2340. package/es/pagination/src/styles/rtl.cssr.js +0 -8
  2341. package/es/pagination/src/utils.js +0 -145
  2342. package/es/pagination/styles/_common.js +0 -35
  2343. package/es/pagination/styles/dark.js +0 -26
  2344. package/es/pagination/styles/index.js +0 -3
  2345. package/es/pagination/styles/light.js +0 -25
  2346. package/es/pagination/styles/rtl.js +0 -7
  2347. package/es/popconfirm/index.js +0 -1
  2348. package/es/popconfirm/src/Popconfirm.js +0 -89
  2349. package/es/popconfirm/src/PopconfirmPanel.js +0 -75
  2350. package/es/popconfirm/src/interface.js +0 -2
  2351. package/es/popconfirm/src/styles/index.cssr.js +0 -22
  2352. package/es/popconfirm/styles/_common.js +0 -3
  2353. package/es/popconfirm/styles/dark.js +0 -14
  2354. package/es/popconfirm/styles/index.js +0 -2
  2355. package/es/popconfirm/styles/light.js +0 -19
  2356. package/es/popover/index.js +0 -1
  2357. package/es/popover/src/Popover.js +0 -483
  2358. package/es/popover/src/PopoverBody.js +0 -287
  2359. package/es/popover/src/interface.js +0 -2
  2360. package/es/popover/src/styles/index.cssr.js +0 -166
  2361. package/es/popover/styles/_common.js +0 -8
  2362. package/es/popover/styles/dark.js +0 -8
  2363. package/es/popover/styles/index.js +0 -2
  2364. package/es/popover/styles/light.js +0 -13
  2365. package/es/popselect/index.js +0 -1
  2366. package/es/popselect/src/Popselect.js +0 -70
  2367. package/es/popselect/src/PopselectPanel.js +0 -164
  2368. package/es/popselect/src/interface.js +0 -2
  2369. package/es/popselect/src/styles/index.cssr.js +0 -5
  2370. package/es/popselect/styles/dark.js +0 -12
  2371. package/es/popselect/styles/index.js +0 -2
  2372. package/es/popselect/styles/light.js +0 -20
  2373. package/es/preset.js +0 -7
  2374. package/es/progress/index.js +0 -1
  2375. package/es/progress/src/Circle.js +0 -111
  2376. package/es/progress/src/Line.js +0 -116
  2377. package/es/progress/src/MultipleCircle.js +0 -86
  2378. package/es/progress/src/Progress.js +0 -100
  2379. package/es/progress/src/interface.js +0 -1
  2380. package/es/progress/src/styles/index.cssr.js +0 -196
  2381. package/es/progress/styles/dark.js +0 -14
  2382. package/es/progress/styles/index.js +0 -2
  2383. package/es/progress/styles/light.js +0 -33
  2384. package/es/qr-code/index.js +0 -1
  2385. package/es/qr-code/src/QrCode.js +0 -146
  2386. package/es/qr-code/src/qrcodegen.js +0 -948
  2387. package/es/qr-code/src/styles/index.cssr.js +0 -8
  2388. package/es/qr-code/styles/dark.js +0 -11
  2389. package/es/qr-code/styles/index.js +0 -2
  2390. package/es/qr-code/styles/light.js +0 -12
  2391. package/es/radio/index.js +0 -3
  2392. package/es/radio/src/Radio.js +0 -77
  2393. package/es/radio/src/RadioButton.js +0 -25
  2394. package/es/radio/src/RadioGroup.js +0 -169
  2395. package/es/radio/src/interface.js +0 -1
  2396. package/es/radio/src/styles/radio-group.cssr.js +0 -104
  2397. package/es/radio/src/styles/radio.cssr.js +0 -107
  2398. package/es/radio/src/styles/rtl.cssr.js +0 -20
  2399. package/es/radio/src/use-radio.js +0 -136
  2400. package/es/radio/styles/_common.js +0 -7
  2401. package/es/radio/styles/dark.js +0 -14
  2402. package/es/radio/styles/index.js +0 -3
  2403. package/es/radio/styles/light.js +0 -15
  2404. package/es/radio/styles/rtl.js +0 -5
  2405. package/es/rate/index.js +0 -1
  2406. package/es/rate/src/Rate.js +0 -168
  2407. package/es/rate/src/StarIcon.js +0 -3
  2408. package/es/rate/src/interface.js +0 -1
  2409. package/es/rate/src/styles/index.cssr.js +0 -44
  2410. package/es/rate/styles/dark.js +0 -17
  2411. package/es/rate/styles/index.js +0 -2
  2412. package/es/rate/styles/light.js +0 -17
  2413. package/es/result/index.js +0 -1
  2414. package/es/result/src/403.js +0 -4
  2415. package/es/result/src/404.js +0 -8
  2416. package/es/result/src/418.js +0 -8
  2417. package/es/result/src/500.js +0 -5
  2418. package/es/result/src/Result.js +0 -82
  2419. package/es/result/src/styles/index.cssr.js +0 -43
  2420. package/es/result/styles/_common.js +0 -18
  2421. package/es/result/styles/dark.js +0 -8
  2422. package/es/result/styles/index.js +0 -2
  2423. package/es/result/styles/light.js +0 -12
  2424. package/es/scrollbar/index.js +0 -1
  2425. package/es/scrollbar/src/Scrollbar.js +0 -28
  2426. package/es/select/index.js +0 -1
  2427. package/es/select/src/Select.js +0 -711
  2428. package/es/select/src/interface.js +0 -1
  2429. package/es/select/src/styles/index.cssr.js +0 -14
  2430. package/es/select/src/utils.js +0 -76
  2431. package/es/select/styles/dark.js +0 -14
  2432. package/es/select/styles/index.js +0 -2
  2433. package/es/select/styles/light.js +0 -20
  2434. package/es/skeleton/index.js +0 -1
  2435. package/es/skeleton/src/Skeleton.js +0 -76
  2436. package/es/skeleton/src/styles/index.cssr.js +0 -29
  2437. package/es/skeleton/styles/dark.js +0 -16
  2438. package/es/skeleton/styles/index.js +0 -2
  2439. package/es/skeleton/styles/light.js +0 -17
  2440. package/es/slider/index.js +0 -1
  2441. package/es/slider/src/Slider.js +0 -589
  2442. package/es/slider/src/interface.js +0 -1
  2443. package/es/slider/src/styles/index.cssr.js +0 -201
  2444. package/es/slider/src/utils.js +0 -14
  2445. package/es/slider/styles/_common.js +0 -8
  2446. package/es/slider/styles/dark.js +0 -12
  2447. package/es/slider/styles/index.js +0 -2
  2448. package/es/slider/styles/light.js +0 -14
  2449. package/es/space/index.js +0 -1
  2450. package/es/space/src/Space.js +0 -133
  2451. package/es/space/src/styles/rtl.cssr.js +0 -4
  2452. package/es/space/src/utils.js +0 -22
  2453. package/es/space/styles/_common.js +0 -5
  2454. package/es/space/styles/dark.js +0 -8
  2455. package/es/space/styles/index.js +0 -3
  2456. package/es/space/styles/light.js +0 -9
  2457. package/es/space/styles/rtl.js +0 -5
  2458. package/es/spin/index.js +0 -1
  2459. package/es/spin/src/Spin.js +0 -121
  2460. package/es/spin/src/styles/index.cssr.js +0 -52
  2461. package/es/spin/styles/dark.js +0 -8
  2462. package/es/spin/styles/index.js +0 -2
  2463. package/es/spin/styles/light.js +0 -21
  2464. package/es/split/index.js +0 -1
  2465. package/es/split/src/Split.js +0 -145
  2466. package/es/split/src/styles/index.cssr.js +0 -25
  2467. package/es/split/styles/dark.js +0 -6
  2468. package/es/split/styles/index.js +0 -2
  2469. package/es/split/styles/light.js +0 -13
  2470. package/es/statistic/index.js +0 -1
  2471. package/es/statistic/src/Statistic.js +0 -56
  2472. package/es/statistic/src/styles/index.cssr.js +0 -38
  2473. package/es/statistic/src/styles/rtl.cssr.js +0 -9
  2474. package/es/statistic/styles/dark.js +0 -8
  2475. package/es/statistic/styles/index.js +0 -3
  2476. package/es/statistic/styles/light.js +0 -20
  2477. package/es/statistic/styles/rtl.js +0 -5
  2478. package/es/steps/index.js +0 -2
  2479. package/es/steps/src/Step.js +0 -147
  2480. package/es/steps/src/Steps.js +0 -52
  2481. package/es/steps/src/styles/index.cssr.js +0 -102
  2482. package/es/steps/src/styles/rtl.cssr.js +0 -14
  2483. package/es/steps/styles/_common.js +0 -10
  2484. package/es/steps/styles/dark.js +0 -8
  2485. package/es/steps/styles/index.js +0 -3
  2486. package/es/steps/styles/light.js +0 -12
  2487. package/es/steps/styles/rtl.js +0 -5
  2488. package/es/styles.js +0 -79
  2489. package/es/switch/index.js +0 -1
  2490. package/es/switch/src/Switch.js +0 -246
  2491. package/es/switch/src/interface.js +0 -1
  2492. package/es/switch/src/styles/index.cssr.js +0 -127
  2493. package/es/switch/styles/_common.js +0 -17
  2494. package/es/switch/styles/dark.js +0 -13
  2495. package/es/switch/styles/index.js +0 -2
  2496. package/es/switch/styles/light.js +0 -14
  2497. package/es/table/index.js +0 -6
  2498. package/es/table/src/Table.js +0 -84
  2499. package/es/table/src/Tbody.js +0 -7
  2500. package/es/table/src/Td.js +0 -7
  2501. package/es/table/src/Th.js +0 -7
  2502. package/es/table/src/Thead.js +0 -7
  2503. package/es/table/src/Tr.js +0 -7
  2504. package/es/table/src/styles/index.cssr.js +0 -96
  2505. package/es/table/src/styles/rtl.cssr.js +0 -13
  2506. package/es/table/styles/_common.js +0 -8
  2507. package/es/table/styles/dark.js +0 -8
  2508. package/es/table/styles/index.js +0 -3
  2509. package/es/table/styles/light.js +0 -17
  2510. package/es/table/styles/rtl.js +0 -5
  2511. package/es/tabs/index.js +0 -3
  2512. package/es/tabs/src/Tab.js +0 -91
  2513. package/es/tabs/src/TabPane.js +0 -49
  2514. package/es/tabs/src/Tabs.js +0 -640
  2515. package/es/tabs/src/interface.js +0 -2
  2516. package/es/tabs/src/styles/index.cssr.js +0 -368
  2517. package/es/tabs/styles/_common.js +0 -58
  2518. package/es/tabs/styles/dark.js +0 -14
  2519. package/es/tabs/styles/index.js +0 -2
  2520. package/es/tabs/styles/light.js +0 -16
  2521. package/es/tag/index.js +0 -1
  2522. package/es/tag/src/Tag.js +0 -158
  2523. package/es/tag/src/common-props.js +0 -17
  2524. package/es/tag/src/styles/index.cssr.js +0 -97
  2525. package/es/tag/src/styles/rtl.cssr.js +0 -18
  2526. package/es/tag/styles/_common.js +0 -13
  2527. package/es/tag/styles/dark.js +0 -23
  2528. package/es/tag/styles/index.js +0 -3
  2529. package/es/tag/styles/light.js +0 -22
  2530. package/es/tag/styles/rtl.js +0 -5
  2531. package/es/theme-editor/index.js +0 -1
  2532. package/es/theme-editor/src/MaximizeIcon.js +0 -8
  2533. package/es/theme-editor/src/MinimizeIcon.js +0 -8
  2534. package/es/theme-editor/src/ThemeEditor.js +0 -332
  2535. package/es/themes/dark.js +0 -171
  2536. package/es/themes/index.js +0 -3
  2537. package/es/themes/interface.js +0 -1
  2538. package/es/themes/light.js +0 -173
  2539. package/es/themes/utils.js +0 -19
  2540. package/es/thing/index.js +0 -1
  2541. package/es/thing/src/Thing.js +0 -84
  2542. package/es/thing/src/styles/index.cssr.js +0 -41
  2543. package/es/thing/src/styles/rtl.cssr.js +0 -8
  2544. package/es/thing/styles/dark.js +0 -8
  2545. package/es/thing/styles/index.js +0 -3
  2546. package/es/thing/styles/light.js +0 -16
  2547. package/es/thing/styles/rtl.js +0 -8
  2548. package/es/time/index.js +0 -1
  2549. package/es/time/src/Time.js +0 -87
  2550. package/es/time-picker/index.js +0 -1
  2551. package/es/time-picker/src/Panel.js +0 -245
  2552. package/es/time-picker/src/PanelCol.js +0 -36
  2553. package/es/time-picker/src/TimePicker.js +0 -703
  2554. package/es/time-picker/src/interface.js +0 -2
  2555. package/es/time-picker/src/styles/index.cssr.js +0 -99
  2556. package/es/time-picker/src/utils.js +0 -266
  2557. package/es/time-picker/styles/_common.js +0 -6
  2558. package/es/time-picker/styles/dark.js +0 -16
  2559. package/es/time-picker/styles/index.js +0 -2
  2560. package/es/time-picker/styles/light.js +0 -23
  2561. package/es/timeline/index.js +0 -2
  2562. package/es/timeline/src/Timeline.js +0 -36
  2563. package/es/timeline/src/TimelineItem.js +0 -87
  2564. package/es/timeline/src/styles/index.cssr.js +0 -111
  2565. package/es/timeline/styles/_common.js +0 -8
  2566. package/es/timeline/styles/dark.js +0 -11
  2567. package/es/timeline/styles/index.js +0 -2
  2568. package/es/timeline/styles/light.js +0 -12
  2569. package/es/tooltip/index.js +0 -1
  2570. package/es/tooltip/src/Tooltip.js +0 -34
  2571. package/es/tooltip/styles/_common.js +0 -3
  2572. package/es/tooltip/styles/dark.js +0 -15
  2573. package/es/tooltip/styles/index.js +0 -2
  2574. package/es/tooltip/styles/light.js +0 -18
  2575. package/es/transfer/index.js +0 -1
  2576. package/es/transfer/src/Transfer.js +0 -195
  2577. package/es/transfer/src/TransferFilter.js +0 -32
  2578. package/es/transfer/src/TransferHeader.js +0 -46
  2579. package/es/transfer/src/TransferList.js +0 -76
  2580. package/es/transfer/src/TransferListItem.js +0 -70
  2581. package/es/transfer/src/interface.js +0 -2
  2582. package/es/transfer/src/styles/index.cssr.js +0 -151
  2583. package/es/transfer/src/use-transfer-data.js +0 -121
  2584. package/es/transfer/styles/_common.js +0 -13
  2585. package/es/transfer/styles/dark.js +0 -31
  2586. package/es/transfer/styles/index.js +0 -2
  2587. package/es/transfer/styles/light.js +0 -33
  2588. package/es/tree/index.js +0 -2
  2589. package/es/tree/src/MotionWrapper.js +0 -37
  2590. package/es/tree/src/Tree.js +0 -1268
  2591. package/es/tree/src/TreeNode.js +0 -359
  2592. package/es/tree/src/TreeNodeCheckbox.js +0 -49
  2593. package/es/tree/src/TreeNodeContent.js +0 -69
  2594. package/es/tree/src/TreeNodeSwitcher.js +0 -49
  2595. package/es/tree/src/dnd.js +0 -37
  2596. package/es/tree/src/interface.js +0 -2
  2597. package/es/tree/src/keyboard.js +0 -102
  2598. package/es/tree/src/styles/index.cssr.js +0 -135
  2599. package/es/tree/src/styles/rtl.cssr.js +0 -17
  2600. package/es/tree/src/utils.js +0 -126
  2601. package/es/tree/styles/dark.js +0 -22
  2602. package/es/tree/styles/index.js +0 -3
  2603. package/es/tree/styles/light.js +0 -36
  2604. package/es/tree/styles/rtl.js +0 -5
  2605. package/es/tree-select/index.js +0 -1
  2606. package/es/tree-select/src/TreeSelect.js +0 -600
  2607. package/es/tree-select/src/interface.js +0 -2
  2608. package/es/tree-select/src/styles/index.cssr.js +0 -38
  2609. package/es/tree-select/src/utils.js +0 -8
  2610. package/es/tree-select/styles/dark.js +0 -14
  2611. package/es/tree-select/styles/index.js +0 -2
  2612. package/es/tree-select/styles/light.js +0 -29
  2613. package/es/typography/index.js +0 -10
  2614. package/es/typography/src/a.js +0 -34
  2615. package/es/typography/src/blockquote.js +0 -42
  2616. package/es/typography/src/create-header.js +0 -58
  2617. package/es/typography/src/headers.js +0 -7
  2618. package/es/typography/src/hr.js +0 -33
  2619. package/es/typography/src/li.js +0 -7
  2620. package/es/typography/src/ol.js +0 -44
  2621. package/es/typography/src/p.js +0 -39
  2622. package/es/typography/src/styles/a.cssr.js +0 -12
  2623. package/es/typography/src/styles/blockquote.cssr.js +0 -27
  2624. package/es/typography/src/styles/header.cssr.js +0 -37
  2625. package/es/typography/src/styles/hr.cssr.js +0 -11
  2626. package/es/typography/src/styles/list.cssr.js +0 -32
  2627. package/es/typography/src/styles/p.cssr.js +0 -15
  2628. package/es/typography/src/styles/text.cssr.js +0 -34
  2629. package/es/typography/src/text.js +0 -76
  2630. package/es/typography/src/ul.js +0 -44
  2631. package/es/typography/styles/_common.js +0 -30
  2632. package/es/typography/styles/dark.js +0 -8
  2633. package/es/typography/styles/index.js +0 -2
  2634. package/es/typography/styles/light.js +0 -12
  2635. package/es/upload/index.js +0 -4
  2636. package/es/upload/src/Upload.js +0 -535
  2637. package/es/upload/src/UploadDragger.js +0 -21
  2638. package/es/upload/src/UploadFile.js +0 -249
  2639. package/es/upload/src/UploadFileList.js +0 -40
  2640. package/es/upload/src/UploadProgress.js +0 -30
  2641. package/es/upload/src/UploadTrigger.js +0 -83
  2642. package/es/upload/src/icons.js +0 -11
  2643. package/es/upload/src/interface.js +0 -2
  2644. package/es/upload/src/styles/index.cssr.js +0 -224
  2645. package/es/upload/src/utils.js +0 -164
  2646. package/es/upload/styles/dark.js +0 -22
  2647. package/es/upload/styles/index.js +0 -2
  2648. package/es/upload/styles/light.js +0 -37
  2649. package/es/version.js +0 -1
  2650. package/es/virtual-list/index.js +0 -1
  2651. package/es/virtual-list/src/VirtualList.js +0 -102
  2652. package/es/watermark/index.js +0 -1
  2653. package/es/watermark/src/Watermark.js +0 -187
  2654. package/es/watermark/src/styles/index.cssr.js +0 -30
  2655. package/es/watermark/styles/dark.js +0 -12
  2656. package/es/watermark/styles/index.js +0 -2
  2657. package/es/watermark/styles/light.js +0 -13
  2658. package/lib/_utils/cssr/create-key.d.ts +0 -44
  2659. package/lib/_utils/cssr/create-key.js +0 -12
@@ -1,948 +0,0 @@
1
- /*
2
- * QR Code generator library (TypeScript)
3
- *
4
- * Copyright (c) Project Nayuki. (MIT License)
5
- * https://www.nayuki.io/page/qr-code-generator-library
6
- *
7
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
8
- * this software and associated documentation files (the "Software"), to deal in
9
- * the Software without restriction, including without limitation the rights to
10
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
11
- * the Software, and to permit persons to whom the Software is furnished to do so,
12
- * subject to the following conditions:
13
- * - The above copyright notice and this permission notice shall be included in
14
- * all copies or substantial portions of the Software.
15
- * - The Software is provided "as is", without warranty of any kind, express or
16
- * implied, including but not limited to the warranties of merchantability,
17
- * fitness for a particular purpose and noninfringement. In no event shall the
18
- * authors or copyright holders be liable for any claim, damages or other
19
- * liability, whether in an action of contract, tort or otherwise, arising from,
20
- * out of or in connection with the Software or the use or other dealings in the
21
- * Software.
22
- */
23
- 'use strict';
24
- // eslint-disable-next-line @typescript-eslint/no-namespace
25
- var qrcodegen;
26
- (function (qrcodegen) {
27
- /* ---- QR Code symbol class ---- */
28
- /*
29
- * A QR Code symbol, which is a type of two-dimension barcode.
30
- * Invented by Denso Wave and described in the ISO/IEC 18004 standard.
31
- * Instances of this class represent an immutable square grid of dark and light cells.
32
- * The class provides static factory functions to create a QR Code from text or binary data.
33
- * The class covers the QR Code Model 2 specification, supporting all versions (sizes)
34
- * from 1 to 40, all 4 error correction levels, and 4 character encoding modes.
35
- *
36
- * Ways to create a QR Code object:
37
- * - High level: Take the payload data and call QrCode.encodeText() or QrCode.encodeBinary().
38
- * - Mid level: Custom-make the list of segments and call QrCode.encodeSegments().
39
- * - Low level: Custom-make the array of data codeword bytes (including
40
- * segment headers and final padding, excluding error correction codewords),
41
- * supply the appropriate version number, and call the QrCode() constructor.
42
- * (Note that all ways require supplying the desired error correction level.)
43
- */
44
- class QrCode {
45
- /* -- Static factory functions (high level) -- */
46
- // Returns a QR Code representing the given Unicode text string at the given error correction level.
47
- // As a conservative upper bound, this function is guaranteed to succeed for strings that have 738 or fewer
48
- // Unicode code points (not UTF-16 code units) if the low error correction level is used. The smallest possible
49
- // QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the
50
- // ecl argument if it can be done without increasing the version.
51
- static encodeText(text, ecl) {
52
- const segs = qrcodegen.QrSegment.makeSegments(text);
53
- return QrCode.encodeSegments(segs, ecl);
54
- }
55
- // Returns a QR Code representing the given binary data at the given error correction level.
56
- // This function always encodes using the binary segment mode, not any text mode. The maximum number of
57
- // bytes allowed is 2953. The smallest possible QR Code version is automatically chosen for the output.
58
- // The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.
59
- static encodeBinary(data, ecl) {
60
- const seg = qrcodegen.QrSegment.makeBytes(data);
61
- return QrCode.encodeSegments([seg], ecl);
62
- }
63
- /* -- Static factory functions (mid level) -- */
64
- // Returns a QR Code representing the given segments with the given encoding parameters.
65
- // The smallest possible QR Code version within the given range is automatically
66
- // chosen for the output. Iff boostEcl is true, then the ECC level of the result
67
- // may be higher than the ecl argument if it can be done without increasing the
68
- // version. The mask number is either between 0 to 7 (inclusive) to force that
69
- // mask, or -1 to automatically choose an appropriate mask (which may be slow).
70
- // This function allows the user to create a custom sequence of segments that switches
71
- // between modes (such as alphanumeric and byte) to encode text in less space.
72
- // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
73
- static encodeSegments(segs, ecl, minVersion = 1, maxVersion = 40, mask = -1, boostEcl = true) {
74
- if (!(QrCode.MIN_VERSION <= minVersion &&
75
- minVersion <= maxVersion &&
76
- maxVersion <= QrCode.MAX_VERSION) ||
77
- mask < -1 ||
78
- mask > 7) {
79
- throw new RangeError('Invalid value');
80
- }
81
- // Find the minimal version number to use
82
- let version;
83
- let dataUsedBits;
84
- for (version = minVersion;; version++) {
85
- const dataCapacityBits = QrCode.getNumDataCodewords(version, ecl) * 8; // Number of data bits available
86
- const usedBits = QrSegment.getTotalBits(segs, version);
87
- if (usedBits <= dataCapacityBits) {
88
- dataUsedBits = usedBits;
89
- break; // This version number is found to be suitable
90
- }
91
- if (version >= maxVersion) {
92
- // All versions in the range could not fit the given data
93
- throw new RangeError('Data too long');
94
- }
95
- }
96
- // Increase the error correction level while the data still fits in the current version number
97
- for (const newEcl of [
98
- QrCode.Ecc.MEDIUM,
99
- QrCode.Ecc.QUARTILE,
100
- QrCode.Ecc.HIGH
101
- ]) {
102
- // From low to high
103
- if (boostEcl &&
104
- dataUsedBits <= QrCode.getNumDataCodewords(version, newEcl) * 8) {
105
- ecl = newEcl;
106
- }
107
- }
108
- // Concatenate all segments to create the data bit string
109
- const bb = [];
110
- for (const seg of segs) {
111
- appendBits(seg.mode.modeBits, 4, bb);
112
- appendBits(seg.numChars, seg.mode.numCharCountBits(version), bb);
113
- for (const b of seg.getData()) {
114
- bb.push(b);
115
- }
116
- }
117
- // Add terminator and pad up to a byte if applicable
118
- const dataCapacityBits = QrCode.getNumDataCodewords(version, ecl) * 8;
119
- appendBits(0, Math.min(4, dataCapacityBits - bb.length), bb);
120
- appendBits(0, (8 - (bb.length % 8)) % 8, bb);
121
- // Pad with alternating bytes until data capacity is reached
122
- for (let padByte = 0xec; bb.length < dataCapacityBits; padByte ^= 0xec ^ 0x11) {
123
- appendBits(padByte, 8, bb);
124
- }
125
- // Pack bits into bytes in big endian
126
- const dataCodewords = [];
127
- while (dataCodewords.length * 8 < bb.length) {
128
- dataCodewords.push(0);
129
- }
130
- bb.forEach((b, i) => (dataCodewords[i >>> 3] |= b << (7 - (i & 7))));
131
- // Create the QR Code object
132
- return new QrCode(version, ecl, dataCodewords, mask);
133
- }
134
- /* -- Constructor (low level) and fields -- */
135
- // Creates a new QR Code with the given version number,
136
- // error correction level, data codeword bytes, and mask number.
137
- // This is a low-level API that most users should not use directly.
138
- // A mid-level API is the encodeSegments() function.
139
- constructor(
140
- // The version number of this QR Code, which is between 1 and 40 (inclusive).
141
- // This determines the size of this barcode.
142
- version,
143
- // The error correction level used in this QR Code.
144
- errorCorrectionLevel, dataCodewords, msk) {
145
- this.version = version;
146
- this.errorCorrectionLevel = errorCorrectionLevel;
147
- // The modules of this QR Code (false = light, true = dark).
148
- // Immutable after constructor finishes. Accessed through getModule().
149
- this.modules = [];
150
- // Indicates function modules that are not subjected to masking. Discarded when constructor finishes.
151
- this.isFunction = [];
152
- // Check scalar arguments
153
- if (version < QrCode.MIN_VERSION || version > QrCode.MAX_VERSION) {
154
- throw new RangeError('Version value out of range');
155
- }
156
- if (msk < -1 || msk > 7) {
157
- throw new RangeError('Mask value out of range');
158
- }
159
- this.size = version * 4 + 17;
160
- // Initialize both grids to be size*size arrays of Boolean false
161
- const row = [];
162
- for (let i = 0; i < this.size; i++) {
163
- row.push(false);
164
- }
165
- for (let i = 0; i < this.size; i++) {
166
- this.modules.push(row.slice()); // Initially all light
167
- this.isFunction.push(row.slice());
168
- }
169
- // Compute ECC, draw modules
170
- this.drawFunctionPatterns();
171
- const allCodewords = this.addEccAndInterleave(dataCodewords);
172
- this.drawCodewords(allCodewords);
173
- // Do masking
174
- if (msk === -1) {
175
- // Automatically choose best mask
176
- let minPenalty = 1000000000;
177
- for (let i = 0; i < 8; i++) {
178
- this.applyMask(i);
179
- this.drawFormatBits(i);
180
- const penalty = this.getPenaltyScore();
181
- if (penalty < minPenalty) {
182
- msk = i;
183
- minPenalty = penalty;
184
- }
185
- this.applyMask(i); // Undoes the mask due to XOR
186
- }
187
- }
188
- this.mask = msk;
189
- this.applyMask(msk); // Apply the final choice of mask
190
- this.drawFormatBits(msk); // Overwrite old format bits
191
- this.isFunction = [];
192
- }
193
- /* -- Accessor methods -- */
194
- // Returns the color of the module (pixel) at the given coordinates, which is false
195
- // for light or true for dark. The top left corner has the coordinates (x=0, y=0).
196
- // If the given coordinates are out of bounds, then false (light) is returned.
197
- getModule(x, y) {
198
- return (x >= 0 && x < this.size && y >= 0 && y < this.size && this.modules[y][x]);
199
- }
200
- /* -- Private helper methods for constructor: Drawing function modules -- */
201
- // Reads this object's version field, and draws and marks all function modules.
202
- drawFunctionPatterns() {
203
- // Draw horizontal and vertical timing patterns
204
- for (let i = 0; i < this.size; i++) {
205
- this.setFunctionModule(6, i, i % 2 === 0);
206
- this.setFunctionModule(i, 6, i % 2 === 0);
207
- }
208
- // Draw 3 finder patterns (all corners except bottom right; overwrites some timing modules)
209
- this.drawFinderPattern(3, 3);
210
- this.drawFinderPattern(this.size - 4, 3);
211
- this.drawFinderPattern(3, this.size - 4);
212
- // Draw numerous alignment patterns
213
- const alignPatPos = this.getAlignmentPatternPositions();
214
- const numAlign = alignPatPos.length;
215
- for (let i = 0; i < numAlign; i++) {
216
- for (let j = 0; j < numAlign; j++) {
217
- // Don't draw on the three finder corners
218
- if (!((i === 0 && j === 0) ||
219
- (i === 0 && j === numAlign - 1) ||
220
- (i === numAlign - 1 && j === 0))) {
221
- this.drawAlignmentPattern(alignPatPos[i], alignPatPos[j]);
222
- }
223
- }
224
- }
225
- // Draw configuration data
226
- this.drawFormatBits(0); // Dummy mask value; overwritten later in the constructor
227
- this.drawVersion();
228
- }
229
- // Draws two copies of the format bits (with its own error correction code)
230
- // based on the given mask and this object's error correction level field.
231
- drawFormatBits(mask) {
232
- // Calculate error correction code and pack bits
233
- const data = (this.errorCorrectionLevel.formatBits << 3) | mask; // errCorrLvl is uint2, mask is uint3
234
- let rem = data;
235
- for (let i = 0; i < 10; i++) {
236
- rem = (rem << 1) ^ ((rem >>> 9) * 0x537);
237
- }
238
- const bits = ((data << 10) | rem) ^ 0x5412; // uint15
239
- // Draw first copy
240
- for (let i = 0; i <= 5; i++) {
241
- this.setFunctionModule(8, i, getBit(bits, i));
242
- }
243
- this.setFunctionModule(8, 7, getBit(bits, 6));
244
- this.setFunctionModule(8, 8, getBit(bits, 7));
245
- this.setFunctionModule(7, 8, getBit(bits, 8));
246
- for (let i = 9; i < 15; i++) {
247
- this.setFunctionModule(14 - i, 8, getBit(bits, i));
248
- }
249
- // Draw second copy
250
- for (let i = 0; i < 8; i++) {
251
- this.setFunctionModule(this.size - 1 - i, 8, getBit(bits, i));
252
- }
253
- for (let i = 8; i < 15; i++) {
254
- this.setFunctionModule(8, this.size - 15 + i, getBit(bits, i));
255
- }
256
- this.setFunctionModule(8, this.size - 8, true); // Always dark
257
- }
258
- // Draws two copies of the version bits (with its own error correction code),
259
- // based on this object's version field, iff 7 <= version <= 40.
260
- drawVersion() {
261
- if (this.version < 7) {
262
- return;
263
- }
264
- // Calculate error correction code and pack bits
265
- let rem = this.version; // version is uint6, in the range [7, 40]
266
- for (let i = 0; i < 12; i++) {
267
- rem = (rem << 1) ^ ((rem >>> 11) * 0x1f25);
268
- }
269
- const bits = (this.version << 12) | rem; // uint18
270
- // Draw two copies
271
- for (let i = 0; i < 18; i++) {
272
- const color = getBit(bits, i);
273
- const a = this.size - 11 + (i % 3);
274
- const b = Math.floor(i / 3);
275
- this.setFunctionModule(a, b, color);
276
- this.setFunctionModule(b, a, color);
277
- }
278
- }
279
- // Draws a 9*9 finder pattern including the border separator,
280
- // with the center module at (x, y). Modules can be out of bounds.
281
- drawFinderPattern(x, y) {
282
- for (let dy = -4; dy <= 4; dy++) {
283
- for (let dx = -4; dx <= 4; dx++) {
284
- const dist = Math.max(Math.abs(dx), Math.abs(dy)); // Chebyshev/infinity norm
285
- const xx = x + dx;
286
- const yy = y + dy;
287
- if (xx >= 0 && xx < this.size && yy >= 0 && yy < this.size) {
288
- this.setFunctionModule(xx, yy, dist !== 2 && dist !== 4);
289
- }
290
- }
291
- }
292
- }
293
- // Draws a 5*5 alignment pattern, with the center module
294
- // at (x, y). All modules must be in bounds.
295
- drawAlignmentPattern(x, y) {
296
- for (let dy = -2; dy <= 2; dy++) {
297
- for (let dx = -2; dx <= 2; dx++) {
298
- this.setFunctionModule(x + dx, y + dy, Math.max(Math.abs(dx), Math.abs(dy)) !== 1);
299
- }
300
- }
301
- }
302
- // Sets the color of a module and marks it as a function module.
303
- // Only used by the constructor. Coordinates must be in bounds.
304
- setFunctionModule(x, y, isDark) {
305
- this.modules[y][x] = isDark;
306
- this.isFunction[y][x] = true;
307
- }
308
- /* -- Private helper methods for constructor: Codewords and masking -- */
309
- // Returns a new byte string representing the given data with the appropriate error correction
310
- // codewords appended to it, based on this object's version and error correction level.
311
- addEccAndInterleave(data) {
312
- const ver = this.version;
313
- const ecl = this.errorCorrectionLevel;
314
- if (data.length !== QrCode.getNumDataCodewords(ver, ecl)) {
315
- throw new RangeError('Invalid argument');
316
- }
317
- // Calculate parameter numbers
318
- const numBlocks = QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];
319
- const blockEccLen = QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver];
320
- const rawCodewords = Math.floor(QrCode.getNumRawDataModules(ver) / 8);
321
- const numShortBlocks = numBlocks - (rawCodewords % numBlocks);
322
- const shortBlockLen = Math.floor(rawCodewords / numBlocks);
323
- // Split data into blocks and append ECC to each block
324
- const blocks = [];
325
- const rsDiv = QrCode.reedSolomonComputeDivisor(blockEccLen);
326
- for (let i = 0, k = 0; i < numBlocks; i++) {
327
- const dat = data.slice(k, k + shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1));
328
- k += dat.length;
329
- const ecc = QrCode.reedSolomonComputeRemainder(dat, rsDiv);
330
- if (i < numShortBlocks) {
331
- dat.push(0);
332
- }
333
- blocks.push(dat.concat(ecc));
334
- }
335
- // Interleave (not concatenate) the bytes from every block into a single sequence
336
- const result = [];
337
- for (let i = 0; i < blocks[0].length; i++) {
338
- blocks.forEach((block, j) => {
339
- // Skip the padding byte in short blocks
340
- if (i !== shortBlockLen - blockEccLen || j >= numShortBlocks) {
341
- result.push(block[i]);
342
- }
343
- });
344
- }
345
- return result;
346
- }
347
- // Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
348
- // data area of this QR Code. Function modules need to be marked off before this is called.
349
- drawCodewords(data) {
350
- if (data.length !==
351
- Math.floor(QrCode.getNumRawDataModules(this.version) / 8)) {
352
- throw new RangeError('Invalid argument');
353
- }
354
- let i = 0; // Bit index into the data
355
- // Do the funny zigzag scan
356
- for (let right = this.size - 1; right >= 1; right -= 2) {
357
- // Index of right column in each column pair
358
- if (right === 6) {
359
- right = 5;
360
- }
361
- for (let vert = 0; vert < this.size; vert++) {
362
- // Vertical counter
363
- for (let j = 0; j < 2; j++) {
364
- const x = right - j; // Actual x coordinate
365
- const upward = ((right + 1) & 2) === 0;
366
- const y = upward ? this.size - 1 - vert : vert; // Actual y coordinate
367
- if (!this.isFunction[y][x] && i < data.length * 8) {
368
- this.modules[y][x] = getBit(data[i >>> 3], 7 - (i & 7));
369
- i++;
370
- }
371
- // If this QR Code has any remainder bits (0 to 7), they were assigned as
372
- // 0/false/light by the constructor and are left unchanged by this method
373
- }
374
- }
375
- }
376
- }
377
- // XORs the codeword modules in this QR Code with the given mask pattern.
378
- // The function modules must be marked and the codeword bits must be drawn
379
- // before masking. Due to the arithmetic of XOR, calling applyMask() with
380
- // the same mask value a second time will undo the mask. A final well-formed
381
- // QR Code needs exactly one (not zero, two, etc.) mask applied.
382
- applyMask(mask) {
383
- if (mask < 0 || mask > 7) {
384
- throw new RangeError('Mask value out of range');
385
- }
386
- for (let y = 0; y < this.size; y++) {
387
- for (let x = 0; x < this.size; x++) {
388
- let invert;
389
- switch (mask) {
390
- case 0:
391
- invert = (x + y) % 2 === 0;
392
- break;
393
- case 1:
394
- invert = y % 2 === 0;
395
- break;
396
- case 2:
397
- invert = x % 3 === 0;
398
- break;
399
- case 3:
400
- invert = (x + y) % 3 === 0;
401
- break;
402
- case 4:
403
- invert = (Math.floor(x / 3) + Math.floor(y / 2)) % 2 === 0;
404
- break;
405
- case 5:
406
- invert = ((x * y) % 2) + ((x * y) % 3) === 0;
407
- break;
408
- case 6:
409
- invert = (((x * y) % 2) + ((x * y) % 3)) % 2 === 0;
410
- break;
411
- case 7:
412
- invert = (((x + y) % 2) + ((x * y) % 3)) % 2 === 0;
413
- break;
414
- default:
415
- throw new Error('Unreachable');
416
- }
417
- if (!this.isFunction[y][x] && invert) {
418
- this.modules[y][x] = !this.modules[y][x];
419
- }
420
- }
421
- }
422
- }
423
- // Calculates and returns the penalty score based on state of this QR Code's current modules.
424
- // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.
425
- getPenaltyScore() {
426
- let result = 0;
427
- // Adjacent modules in row having same color, and finder-like patterns
428
- for (let y = 0; y < this.size; y++) {
429
- let runColor = false;
430
- let runX = 0;
431
- const runHistory = [0, 0, 0, 0, 0, 0, 0];
432
- for (let x = 0; x < this.size; x++) {
433
- if (this.modules[y][x] === runColor) {
434
- runX++;
435
- if (runX === 5) {
436
- result += QrCode.PENALTY_N1;
437
- }
438
- else if (runX > 5) {
439
- result++;
440
- }
441
- }
442
- else {
443
- this.finderPenaltyAddHistory(runX, runHistory);
444
- if (!runColor) {
445
- result +=
446
- this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3;
447
- }
448
- runColor = this.modules[y][x];
449
- runX = 1;
450
- }
451
- }
452
- result +=
453
- this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) *
454
- QrCode.PENALTY_N3;
455
- }
456
- // Adjacent modules in column having same color, and finder-like patterns
457
- for (let x = 0; x < this.size; x++) {
458
- let runColor = false;
459
- let runY = 0;
460
- const runHistory = [0, 0, 0, 0, 0, 0, 0];
461
- for (let y = 0; y < this.size; y++) {
462
- if (this.modules[y][x] === runColor) {
463
- runY++;
464
- if (runY === 5) {
465
- result += QrCode.PENALTY_N1;
466
- }
467
- else if (runY > 5) {
468
- result++;
469
- }
470
- }
471
- else {
472
- this.finderPenaltyAddHistory(runY, runHistory);
473
- if (!runColor) {
474
- result +=
475
- this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3;
476
- }
477
- runColor = this.modules[y][x];
478
- runY = 1;
479
- }
480
- }
481
- result +=
482
- this.finderPenaltyTerminateAndCount(runColor, runY, runHistory) *
483
- QrCode.PENALTY_N3;
484
- }
485
- // 2*2 blocks of modules having same color
486
- for (let y = 0; y < this.size - 1; y++) {
487
- for (let x = 0; x < this.size - 1; x++) {
488
- const color = this.modules[y][x];
489
- if (color === this.modules[y][x + 1] &&
490
- color === this.modules[y + 1][x] &&
491
- color === this.modules[y + 1][x + 1]) {
492
- result += QrCode.PENALTY_N2;
493
- }
494
- }
495
- }
496
- // Balance of dark and light modules
497
- let dark = 0;
498
- for (const row of this.modules) {
499
- dark = row.reduce((sum, color) => sum + (color ? 1 : 0), dark);
500
- }
501
- const total = this.size * this.size; // Note that size is odd, so dark/total != 1/2
502
- // Compute the smallest integer k >= 0 such that (45-5k)% <= dark/total <= (55+5k)%
503
- const k = Math.ceil(Math.abs(dark * 20 - total * 10) / total) - 1;
504
- result += k * QrCode.PENALTY_N4;
505
- return result;
506
- }
507
- /* -- Private helper functions -- */
508
- // Returns an ascending list of positions of alignment patterns for this version number.
509
- // Each position is in the range [0,177), and are used on both the x and y axes.
510
- // This could be implemented as lookup table of 40 variable-length lists of integers.
511
- getAlignmentPatternPositions() {
512
- if (this.version === 1) {
513
- return [];
514
- }
515
- else {
516
- const numAlign = Math.floor(this.version / 7) + 2;
517
- const step = this.version === 32
518
- ? 26
519
- : Math.ceil((this.version * 4 + 4) / (numAlign * 2 - 2)) * 2;
520
- const result = [6];
521
- for (let pos = this.size - 7; result.length < numAlign; pos -= step) {
522
- result.splice(1, 0, pos);
523
- }
524
- return result;
525
- }
526
- }
527
- // Returns the number of data bits that can be stored in a QR Code of the given version number, after
528
- // all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.
529
- // The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.
530
- static getNumRawDataModules(ver) {
531
- if (ver < QrCode.MIN_VERSION || ver > QrCode.MAX_VERSION) {
532
- throw new RangeError('Version number out of range');
533
- }
534
- let result = (16 * ver + 128) * ver + 64;
535
- if (ver >= 2) {
536
- const numAlign = Math.floor(ver / 7) + 2;
537
- result -= (25 * numAlign - 10) * numAlign - 55;
538
- if (ver >= 7) {
539
- result -= 36;
540
- }
541
- }
542
- return result;
543
- }
544
- // Returns the number of 8-bit data (i.e. not error correction) codewords contained in any
545
- // QR Code of the given version number and error correction level, with remainder bits discarded.
546
- // This stateless pure function could be implemented as a (40*4)-cell lookup table.
547
- static getNumDataCodewords(ver, ecl) {
548
- return (Math.floor(QrCode.getNumRawDataModules(ver) / 8) -
549
- QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver] *
550
- QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver]);
551
- }
552
- // Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be
553
- // implemented as a lookup table over all possible parameter values, instead of as an algorithm.
554
- static reedSolomonComputeDivisor(degree) {
555
- if (degree < 1 || degree > 255) {
556
- throw new RangeError('Degree out of range');
557
- }
558
- // Polynomial coefficients are stored from highest to lowest power, excluding the leading term which is always 1.
559
- // For example the polynomial x^3 + 255x^2 + 8x + 93 is stored as the uint8 array [255, 8, 93].
560
- const result = [];
561
- for (let i = 0; i < degree - 1; i++) {
562
- result.push(0);
563
- }
564
- result.push(1); // Start off with the monomial x^0
565
- // Compute the product polynomial (x - r^0) * (x - r^1) * (x - r^2) * ... * (x - r^{degree-1}),
566
- // and drop the highest monomial term which is always 1x^degree.
567
- // Note that r = 0x02, which is a generator element of this field GF(2^8/0x11D).
568
- let root = 1;
569
- for (let i = 0; i < degree; i++) {
570
- // Multiply the current product by (x - r^i)
571
- for (let j = 0; j < result.length; j++) {
572
- result[j] = QrCode.reedSolomonMultiply(result[j], root);
573
- if (j + 1 < result.length) {
574
- result[j] ^= result[j + 1];
575
- }
576
- }
577
- root = QrCode.reedSolomonMultiply(root, 0x02);
578
- }
579
- return result;
580
- }
581
- // Returns the Reed-Solomon error correction codeword for the given data and divisor polynomials.
582
- static reedSolomonComputeRemainder(data, divisor) {
583
- const result = divisor.map((_) => 0);
584
- for (const b of data) {
585
- // Polynomial division
586
- // eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
587
- const factor = b ^ result.shift();
588
- result.push(0);
589
- divisor.forEach((coef, i) => (result[i] ^= QrCode.reedSolomonMultiply(coef, factor)));
590
- }
591
- return result;
592
- }
593
- // Returns the product of the two given field elements modulo GF(2^8/0x11D). The arguments and result
594
- // are unsigned 8-bit integers. This could be implemented as a lookup table of 256*256 entries of uint8.
595
- static reedSolomonMultiply(x, y) {
596
- if (x >>> 8 !== 0 || y >>> 8 !== 0) {
597
- throw new RangeError('Byte out of range');
598
- }
599
- // Russian peasant multiplication
600
- let z = 0;
601
- for (let i = 7; i >= 0; i--) {
602
- z = (z << 1) ^ ((z >>> 7) * 0x11d);
603
- z ^= ((y >>> i) & 1) * x;
604
- }
605
- return z;
606
- }
607
- // Can only be called immediately after a light run is added, and
608
- // returns either 0, 1, or 2. A helper function for getPenaltyScore().
609
- finderPenaltyCountPatterns(runHistory) {
610
- const n = runHistory[1];
611
- const core = n > 0 &&
612
- runHistory[2] === n &&
613
- runHistory[3] === n * 3 &&
614
- runHistory[4] === n &&
615
- runHistory[5] === n;
616
- return ((core && runHistory[0] >= n * 4 && runHistory[6] >= n ? 1 : 0) +
617
- (core && runHistory[6] >= n * 4 && runHistory[0] >= n ? 1 : 0));
618
- }
619
- // Must be called at the end of a line (row or column) of modules. A helper function for getPenaltyScore().
620
- finderPenaltyTerminateAndCount(currentRunColor, currentRunLength, runHistory) {
621
- if (currentRunColor) {
622
- // Terminate dark run
623
- this.finderPenaltyAddHistory(currentRunLength, runHistory);
624
- currentRunLength = 0;
625
- }
626
- currentRunLength += this.size; // Add light border to final run
627
- this.finderPenaltyAddHistory(currentRunLength, runHistory);
628
- return this.finderPenaltyCountPatterns(runHistory);
629
- }
630
- // Pushes the given value to the front and drops the last value. A helper function for getPenaltyScore().
631
- finderPenaltyAddHistory(currentRunLength, runHistory) {
632
- if (runHistory[0] === 0) {
633
- currentRunLength += this.size;
634
- } // Add light border to initial run
635
- runHistory.pop();
636
- runHistory.unshift(currentRunLength);
637
- }
638
- }
639
- /* -- Constants and tables -- */
640
- // The minimum version number supported in the QR Code Model 2 standard.
641
- QrCode.MIN_VERSION = 1;
642
- // The maximum version number supported in the QR Code Model 2 standard.
643
- QrCode.MAX_VERSION = 40;
644
- // For use in getPenaltyScore(), when evaluating which mask is best.
645
- QrCode.PENALTY_N1 = 3;
646
- QrCode.PENALTY_N2 = 3;
647
- QrCode.PENALTY_N3 = 40;
648
- QrCode.PENALTY_N4 = 10;
649
- QrCode.ECC_CODEWORDS_PER_BLOCK = [
650
- // Version: (note that index 0 is for padding, and is set to an illegal value)
651
- // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 Error correction level
652
- [
653
- -1, 7, 10, 15, 20, 26, 18, 20, 24, 30, 18, 20, 24, 26, 30, 22, 24, 28,
654
- 30, 28, 28, 28, 28, 30, 30, 26, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30,
655
- 30, 30, 30, 30, 30
656
- ], // Low
657
- [
658
- -1, 10, 16, 26, 18, 24, 16, 18, 22, 22, 26, 30, 22, 22, 24, 24, 28, 28,
659
- 26, 26, 26, 26, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
660
- 28, 28, 28, 28, 28
661
- ], // Medium
662
- [
663
- -1, 13, 22, 18, 26, 18, 24, 18, 22, 20, 24, 28, 26, 24, 20, 30, 24, 28,
664
- 28, 26, 30, 28, 30, 30, 30, 30, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30,
665
- 30, 30, 30, 30, 30
666
- ], // Quartile
667
- [
668
- -1, 17, 28, 22, 16, 22, 28, 26, 26, 24, 28, 24, 28, 22, 24, 24, 30, 28,
669
- 28, 26, 28, 30, 24, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
670
- 30, 30, 30, 30, 30
671
- ] // High
672
- ];
673
- QrCode.NUM_ERROR_CORRECTION_BLOCKS = [
674
- // Version: (note that index 0 is for padding, and is set to an illegal value)
675
- // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 Error correction level
676
- [
677
- -1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 4, 4, 6, 6, 6, 6, 7, 8, 8, 9, 9,
678
- 10, 12, 12, 12, 13, 14, 15, 16, 17, 18, 19, 19, 20, 21, 22, 24, 25
679
- ], // Low
680
- [
681
- -1, 1, 1, 1, 2, 2, 4, 4, 4, 5, 5, 5, 8, 9, 9, 10, 10, 11, 13, 14, 16,
682
- 17, 17, 18, 20, 21, 23, 25, 26, 28, 29, 31, 33, 35, 37, 38, 40, 43, 45,
683
- 47, 49
684
- ], // Medium
685
- [
686
- -1, 1, 1, 2, 2, 4, 4, 6, 6, 8, 8, 8, 10, 12, 16, 12, 17, 16, 18, 21, 20,
687
- 23, 23, 25, 27, 29, 34, 34, 35, 38, 40, 43, 45, 48, 51, 53, 56, 59, 62,
688
- 65, 68
689
- ], // Quartile
690
- [
691
- -1, 1, 1, 2, 4, 4, 4, 5, 6, 8, 8, 11, 11, 16, 16, 18, 16, 19, 21, 25,
692
- 25, 25, 34, 30, 32, 35, 37, 40, 42, 45, 48, 51, 54, 57, 60, 63, 66, 70,
693
- 74, 77, 81
694
- ] // High
695
- ];
696
- qrcodegen.QrCode = QrCode;
697
- // Appends the given number of low-order bits of the given value
698
- // to the given buffer. Requires 0 <= len <= 31 and 0 <= val < 2^len.
699
- function appendBits(val, len, bb) {
700
- if (len < 0 || len > 31 || val >>> len !== 0) {
701
- throw new RangeError('Value out of range');
702
- }
703
- for (let i = len - 1; i >= 0; i-- // Append bit by bit
704
- ) {
705
- bb.push((val >>> i) & 1);
706
- }
707
- }
708
- // Returns true iff the i'th bit of x is set to 1.
709
- function getBit(x, i) {
710
- return ((x >>> i) & 1) !== 0;
711
- }
712
- /* ---- Data segment class ---- */
713
- /*
714
- * A segment of character/binary/control data in a QR Code symbol.
715
- * Instances of this class are immutable.
716
- * The mid-level way to create a segment is to take the payload data
717
- * and call a static factory function such as QrSegment.makeNumeric().
718
- * The low-level way to create a segment is to custom-make the bit buffer
719
- * and call the QrSegment() constructor with appropriate values.
720
- * This segment class imposes no length restrictions, but QR Codes have restrictions.
721
- * Even in the most favorable conditions, a QR Code can only hold 7089 characters of data.
722
- * Any segment longer than this is meaningless for the purpose of generating QR Codes.
723
- */
724
- class QrSegment {
725
- /* -- Static factory functions (mid level) -- */
726
- // Returns a segment representing the given binary data encoded in
727
- // byte mode. All input byte arrays are acceptable. Any text string
728
- // can be converted to UTF-8 bytes and encoded as a byte mode segment.
729
- static makeBytes(data) {
730
- const bb = [];
731
- for (const b of data) {
732
- appendBits(b, 8, bb);
733
- }
734
- return new QrSegment(QrSegment.Mode.BYTE, data.length, bb);
735
- }
736
- // Returns a segment representing the given string of decimal digits encoded in numeric mode.
737
- static makeNumeric(digits) {
738
- if (!QrSegment.isNumeric(digits)) {
739
- throw new RangeError('String contains non-numeric characters');
740
- }
741
- const bb = [];
742
- for (let i = 0; i < digits.length;) {
743
- // Consume up to 3 digits per iteration
744
- const n = Math.min(digits.length - i, 3);
745
- appendBits(parseInt(digits.substr(i, n), 10), n * 3 + 1, bb);
746
- i += n;
747
- }
748
- return new QrSegment(QrSegment.Mode.NUMERIC, digits.length, bb);
749
- }
750
- // Returns a segment representing the given text string encoded in alphanumeric mode.
751
- // The characters allowed are: 0 to 9, A to Z (uppercase only), space,
752
- // dollar, percent, asterisk, plus, hyphen, period, slash, colon.
753
- static makeAlphanumeric(text) {
754
- if (!QrSegment.isAlphanumeric(text)) {
755
- throw new RangeError('String contains unencodable characters in alphanumeric mode');
756
- }
757
- const bb = [];
758
- let i;
759
- for (i = 0; i + 2 <= text.length; i += 2) {
760
- // Process groups of 2
761
- let temp = QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)) * 45;
762
- temp += QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i + 1));
763
- appendBits(temp, 11, bb);
764
- }
765
- if (i < text.length) {
766
- // 1 character remaining
767
- appendBits(QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)), 6, bb);
768
- }
769
- return new QrSegment(QrSegment.Mode.ALPHANUMERIC, text.length, bb);
770
- }
771
- // Returns a new mutable list of zero or more segments to represent the given Unicode text string.
772
- // The result may use various segment modes and switch modes to optimize the length of the bit stream.
773
- static makeSegments(text) {
774
- // Select the most efficient segment encoding automatically
775
- if (text === '') {
776
- return [];
777
- }
778
- else if (QrSegment.isNumeric(text)) {
779
- return [QrSegment.makeNumeric(text)];
780
- }
781
- else if (QrSegment.isAlphanumeric(text)) {
782
- return [QrSegment.makeAlphanumeric(text)];
783
- }
784
- else {
785
- return [QrSegment.makeBytes(QrSegment.toUtf8ByteArray(text))];
786
- }
787
- }
788
- // Returns a segment representing an Extended Channel Interpretation
789
- // (ECI) designator with the given assignment value.
790
- static makeEci(assignVal) {
791
- const bb = [];
792
- if (assignVal < 0) {
793
- throw new RangeError('ECI assignment value out of range');
794
- }
795
- else if (assignVal < 1 << 7) {
796
- appendBits(assignVal, 8, bb);
797
- }
798
- else if (assignVal < 1 << 14) {
799
- appendBits(0b10, 2, bb);
800
- appendBits(assignVal, 14, bb);
801
- }
802
- else if (assignVal < 1000000) {
803
- appendBits(0b110, 3, bb);
804
- appendBits(assignVal, 21, bb);
805
- }
806
- else {
807
- throw new RangeError('ECI assignment value out of range');
808
- }
809
- return new QrSegment(QrSegment.Mode.ECI, 0, bb);
810
- }
811
- // Tests whether the given string can be encoded as a segment in numeric mode.
812
- // A string is encodable iff each character is in the range 0 to 9.
813
- static isNumeric(text) {
814
- return QrSegment.NUMERIC_REGEX.test(text);
815
- }
816
- // Tests whether the given string can be encoded as a segment in alphanumeric mode.
817
- // A string is encodable iff each character is in the following set: 0 to 9, A to Z
818
- // (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
819
- static isAlphanumeric(text) {
820
- return QrSegment.ALPHANUMERIC_REGEX.test(text);
821
- }
822
- /* -- Constructor (low level) and fields -- */
823
- // Creates a new QR Code segment with the given attributes and data.
824
- // The character count (numChars) must agree with the mode and the bit buffer length,
825
- // but the constraint isn't checked. The given bit buffer is cloned and stored.
826
- constructor(
827
- // The mode indicator of this segment.
828
- mode,
829
- // The length of this segment's unencoded data. Measured in characters for
830
- // numeric/alphanumeric/kanji mode, bytes for byte mode, and 0 for ECI mode.
831
- // Always zero or positive. Not the same as the data's bit length.
832
- numChars,
833
- // The data bits of this segment. Accessed through getData().
834
- bitData) {
835
- this.mode = mode;
836
- this.numChars = numChars;
837
- this.bitData = bitData;
838
- if (numChars < 0) {
839
- throw new RangeError('Invalid argument');
840
- }
841
- this.bitData = bitData.slice(); // Make defensive copy
842
- }
843
- /* -- Methods -- */
844
- // Returns a new copy of the data bits of this segment.
845
- getData() {
846
- return this.bitData.slice(); // Make defensive copy
847
- }
848
- // (Package-private) Calculates and returns the number of bits needed to encode the given segments at
849
- // the given version. The result is infinity if a segment has too many characters to fit its length field.
850
- static getTotalBits(segs, version) {
851
- let result = 0;
852
- for (const seg of segs) {
853
- const ccbits = seg.mode.numCharCountBits(version);
854
- if (seg.numChars >= 1 << ccbits) {
855
- return Infinity;
856
- } // The segment's length doesn't fit the field's bit width
857
- result += 4 + ccbits + seg.bitData.length;
858
- }
859
- return result;
860
- }
861
- // Returns a new array of bytes representing the given string encoded in UTF-8.
862
- static toUtf8ByteArray(str) {
863
- str = encodeURI(str);
864
- const result = [];
865
- for (let i = 0; i < str.length; i++) {
866
- if (str.charAt(i) !== '%') {
867
- result.push(str.charCodeAt(i));
868
- }
869
- else {
870
- result.push(parseInt(str.substr(i + 1, 2), 16));
871
- i += 2;
872
- }
873
- }
874
- return result;
875
- }
876
- }
877
- /* -- Constants -- */
878
- // Describes precisely all strings that are encodable in numeric mode.
879
- QrSegment.NUMERIC_REGEX = /^[0-9]*$/;
880
- // Describes precisely all strings that are encodable in alphanumeric mode.
881
- QrSegment.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+./:-]*$/;
882
- // The set of all legal characters in alphanumeric mode,
883
- // where each character value maps to the index in the string.
884
- QrSegment.ALPHANUMERIC_CHARSET = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:';
885
- qrcodegen.QrSegment = QrSegment;
886
- })(qrcodegen || (qrcodegen = {}));
887
- /* ---- Public helper enumeration ---- */
888
- // eslint-disable-next-line @typescript-eslint/no-namespace
889
- (function (qrcodegen) {
890
- var QrCode;
891
- (function (QrCode) {
892
- /*
893
- * The error correction level in a QR Code symbol. Immutable.
894
- */
895
- class Ecc {
896
- /* -- Constructor and fields -- */
897
- constructor(
898
- // In the range 0 to 3 (unsigned 2-bit integer).
899
- ordinal,
900
- // (Package-private) In the range 0 to 3 (unsigned 2-bit integer).
901
- formatBits) {
902
- this.ordinal = ordinal;
903
- this.formatBits = formatBits;
904
- }
905
- }
906
- /* -- Constants -- */
907
- Ecc.LOW = new Ecc(0, 1); // The QR Code can tolerate about 7% erroneous codewords
908
- Ecc.MEDIUM = new Ecc(1, 0); // The QR Code can tolerate about 15% erroneous codewords
909
- Ecc.QUARTILE = new Ecc(2, 3); // The QR Code can tolerate about 25% erroneous codewords
910
- Ecc.HIGH = new Ecc(3, 2); // The QR Code can tolerate about 30% erroneous codewords
911
- QrCode.Ecc = Ecc;
912
- })(QrCode = qrcodegen.QrCode || (qrcodegen.QrCode = {}));
913
- })(qrcodegen || (qrcodegen = {}));
914
- /* ---- Public helper enumeration ---- */
915
- // eslint-disable-next-line @typescript-eslint/no-namespace
916
- (function (qrcodegen) {
917
- var QrSegment;
918
- (function (QrSegment) {
919
- /*
920
- * Describes how a segment's data bits are interpreted. Immutable.
921
- */
922
- class Mode {
923
- /* -- Constructor and fields -- */
924
- constructor(
925
- // The mode indicator bits, which is a uint4 value (range 0 to 15).
926
- modeBits,
927
- // Number of character count bits for three different version ranges.
928
- numBitsCharCount) {
929
- this.modeBits = modeBits;
930
- this.numBitsCharCount = numBitsCharCount;
931
- }
932
- /* -- Method -- */
933
- // (Package-private) Returns the bit width of the character count field for a segment in
934
- // this mode in a QR Code at the given version number. The result is in the range [0, 16].
935
- numCharCountBits(ver) {
936
- return this.numBitsCharCount[Math.floor((ver + 7) / 17)];
937
- }
938
- }
939
- /* -- Constants -- */
940
- Mode.NUMERIC = new Mode(0x1, [10, 12, 14]);
941
- Mode.ALPHANUMERIC = new Mode(0x2, [9, 11, 13]);
942
- Mode.BYTE = new Mode(0x4, [8, 16, 16]);
943
- Mode.KANJI = new Mode(0x8, [8, 10, 12]);
944
- Mode.ECI = new Mode(0x7, [0, 0, 0]);
945
- QrSegment.Mode = Mode;
946
- })(QrSegment = qrcodegen.QrSegment || (qrcodegen.QrSegment = {}));
947
- })(qrcodegen || (qrcodegen = {}));
948
- export default qrcodegen;