naive-ui 2.35.0 → 2.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (393) hide show
  1. package/README.md +2 -0
  2. package/README.zh-CN.md +1 -0
  3. package/dist/index.js +2433 -667
  4. package/dist/index.prod.js +2 -2
  5. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +1 -0
  6. package/es/_internal/scrollbar/src/Scrollbar.js +11 -6
  7. package/es/_internal/select-menu/src/SelectMenu.d.ts +3 -3
  8. package/es/_internal/select-menu/src/SelectMenu.js +1 -0
  9. package/es/_internal/select-menu/src/styles/index.cssr.js +8 -0
  10. package/es/_internal/selection/src/Selection.d.ts +3 -1
  11. package/es/_internal/selection/src/Selection.js +4 -2
  12. package/es/_styles/common/_common.js +1 -1
  13. package/es/_styles/common/light.js +2 -2
  14. package/es/_utils/composable/use-collection.d.ts +1 -1
  15. package/es/_utils/composable/use-collection.js +2 -0
  16. package/es/_utils/css/color-to-class.js +1 -1
  17. package/es/affix/src/Affix.d.ts +2 -2
  18. package/es/affix/src/Affix.js +4 -2
  19. package/es/alert/src/Alert.js +3 -1
  20. package/es/anchor/src/AnchorAdapter.d.ts +1 -1
  21. package/es/auto-complete/src/AutoComplete.d.ts +1 -1
  22. package/es/button/src/Button.d.ts +1 -1
  23. package/es/button/src/Button.js +1 -1
  24. package/es/card/src/Card.d.ts +17 -1
  25. package/es/card/src/Card.js +12 -5
  26. package/es/carousel/src/Carousel.d.ts +5 -5
  27. package/es/carousel/src/Carousel.js +2 -1
  28. package/es/checkbox/src/Checkbox.d.ts +6 -6
  29. package/es/color-picker/src/ColorPickerSwatches.js +4 -3
  30. package/es/components.d.ts +3 -0
  31. package/es/components.js +3 -0
  32. package/es/config-provider/src/config.js +5 -5
  33. package/es/config-provider/src/internal-interface.d.ts +4 -0
  34. package/es/data-table/src/DataTable.d.ts +3 -3
  35. package/es/data-table/src/DataTable.js +1 -0
  36. package/es/data-table/src/MainTable.js +1 -0
  37. package/es/data-table/src/TableParts/Body.d.ts +3 -3
  38. package/es/data-table/src/TableParts/Body.js +5 -3
  39. package/es/data-table/src/interface.d.ts +1 -1
  40. package/es/date-picker/src/panel/date.d.ts +2 -2
  41. package/es/date-picker/src/panel/daterange.d.ts +2 -2
  42. package/es/date-picker/src/panel/datetime.d.ts +2 -2
  43. package/es/date-picker/src/panel/datetimerange.d.ts +2 -2
  44. package/es/date-picker/src/panel/month.d.ts +2 -2
  45. package/es/date-picker/src/panel/monthrange.d.ts +2 -2
  46. package/es/date-picker/src/panel/panelHeader.d.ts +720 -773
  47. package/es/date-picker/src/panel/use-calendar.d.ts +2 -2
  48. package/es/date-picker/src/panel/use-calendar.js +2 -2
  49. package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
  50. package/es/date-picker/src/panel/use-dual-calendar.js +4 -4
  51. package/es/date-picker/src/utils.js +1 -6
  52. package/es/date-picker/styles/_common.js +1 -1
  53. package/es/descriptions/src/Descriptions.d.ts +6 -0
  54. package/es/descriptions/src/Descriptions.js +22 -7
  55. package/es/descriptions/src/DescriptionsItem.d.ts +6 -0
  56. package/es/descriptions/src/DescriptionsItem.js +2 -0
  57. package/es/dialog/src/Dialog.js +6 -2
  58. package/es/dialog/src/DialogEnvironment.d.ts +1 -1
  59. package/es/dialog/src/DialogProvider.d.ts +3 -3
  60. package/es/dialog/src/dialogProps.d.ts +1 -1
  61. package/es/dropdown/src/Dropdown.d.ts +18 -0
  62. package/es/dropdown/src/Dropdown.js +1 -1
  63. package/es/dropdown/src/DropdownMenu.js +4 -1
  64. package/es/dropdown/src/DropdownOption.d.ts +5 -4
  65. package/es/dropdown/src/DropdownOption.js +2 -4
  66. package/es/dynamic-input/src/DynamicInput.d.ts +3 -0
  67. package/es/dynamic-input/src/DynamicInput.js +3 -3
  68. package/es/dynamic-tags/src/DynamicTags.d.ts +6 -0
  69. package/es/dynamic-tags/src/DynamicTags.js +4 -4
  70. package/es/equation/index.d.ts +1 -0
  71. package/es/equation/src/Equation.d.ts +2 -0
  72. package/es/form/src/FormItem.d.ts +1 -1
  73. package/es/form/src/utils.d.ts +1 -1
  74. package/es/input/src/Input.d.ts +4 -4
  75. package/es/input/src/styles/input.cssr.js +1 -1
  76. package/es/layout/src/Layout.d.ts +6 -0
  77. package/es/layout/src/Layout.js +8 -1
  78. package/es/layout/src/LayoutContent.d.ts +2 -0
  79. package/es/layout/src/LayoutSider.d.ts +9 -0
  80. package/es/layout/src/LayoutSider.js +12 -3
  81. package/es/legacy-grid/src/styles/index.cssr.js +2 -3
  82. package/es/legacy-grid/src/styles/rtl.cssr.js +2 -3
  83. package/es/loading-bar/src/LoadingBar.d.ts +2 -0
  84. package/es/loading-bar/src/LoadingBar.js +3 -1
  85. package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -0
  86. package/es/loading-bar/src/LoadingBarProvider.js +2 -2
  87. package/es/locales/common/frFR.js +1 -1
  88. package/es/log/src/Log.d.ts +3 -3
  89. package/es/mention/src/Mention.d.ts +1 -1
  90. package/es/mention/src/utils.js +4 -4
  91. package/es/menu/src/Menu.d.ts +30 -13
  92. package/es/menu/src/Menu.js +101 -7
  93. package/es/menu/src/MenuOptionContent.d.ts +3 -0
  94. package/es/menu/src/MenuOptionContent.js +7 -2
  95. package/es/menu/src/Submenu.d.ts +23 -12
  96. package/es/menu/src/Submenu.js +9 -8
  97. package/es/menu/src/interface.d.ts +1 -0
  98. package/es/menu/src/styles/index.cssr.js +8 -4
  99. package/es/menu/src/use-menu-child.js +5 -5
  100. package/es/message/src/Message.d.ts +1 -1
  101. package/es/message/src/MessageProvider.d.ts +7 -4
  102. package/es/message/src/MessageProvider.js +3 -2
  103. package/es/modal/src/BodyWrapper.d.ts +12 -4
  104. package/es/modal/src/Modal.d.ts +16 -4
  105. package/es/modal/src/presetProps.d.ts +5 -1
  106. package/es/notification/src/NotificationEnvironment.js +1 -1
  107. package/es/notification/src/NotificationProvider.d.ts +3 -0
  108. package/es/notification/src/NotificationProvider.js +2 -2
  109. package/es/popconfirm/src/Popconfirm.d.ts +18 -0
  110. package/es/popover/src/Popover.d.ts +24 -0
  111. package/es/popover/src/Popover.js +7 -0
  112. package/es/popover/src/PopoverBody.d.ts +22 -1
  113. package/es/popover/src/PopoverBody.js +26 -10
  114. package/es/popover/src/interface.d.ts +1 -1
  115. package/es/popselect/src/Popselect.d.ts +18 -0
  116. package/es/popselect/src/Popselect.js +2 -1
  117. package/es/popselect/src/PopselectPanel.js +1 -0
  118. package/es/progress/src/Progress.d.ts +1 -1
  119. package/es/qr-code/index.d.ts +2 -0
  120. package/es/qr-code/index.js +1 -0
  121. package/es/qr-code/src/QrCode.d.ts +154 -0
  122. package/es/qr-code/src/QrCode.js +146 -0
  123. package/es/qr-code/src/qrcodegen.d.ts +94 -0
  124. package/es/qr-code/src/qrcodegen.js +948 -0
  125. package/es/qr-code/src/styles/index.cssr.d.ts +2 -0
  126. package/es/qr-code/src/styles/index.cssr.js +8 -0
  127. package/es/qr-code/styles/dark.d.ts +3 -0
  128. package/es/qr-code/styles/dark.js +11 -0
  129. package/es/qr-code/styles/index.d.ts +3 -0
  130. package/es/qr-code/styles/index.js +2 -0
  131. package/es/qr-code/styles/light.d.ts +9 -0
  132. package/es/qr-code/styles/light.js +12 -0
  133. package/es/radio/src/RadioGroup.d.ts +1 -0
  134. package/es/radio/src/RadioGroup.js +2 -1
  135. package/es/radio/src/styles/radio-group.cssr.js +1 -0
  136. package/es/result/src/Result.d.ts +1 -1
  137. package/es/scrollbar/src/Scrollbar.js +2 -0
  138. package/es/select/src/Select.d.ts +1 -1
  139. package/es/skeleton/src/Skeleton.js +4 -7
  140. package/es/slider/src/Slider.d.ts +6 -0
  141. package/es/slider/src/Slider.js +10 -3
  142. package/es/slider/src/utils.d.ts +2 -2
  143. package/es/slider/src/utils.js +4 -4
  144. package/es/space/src/Space.d.ts +3 -0
  145. package/es/space/src/Space.js +3 -3
  146. package/es/spin/src/Spin.d.ts +7 -1
  147. package/es/spin/src/Spin.js +4 -3
  148. package/es/split/index.d.ts +2 -0
  149. package/es/split/index.js +1 -0
  150. package/es/split/src/Split.d.ts +135 -0
  151. package/es/split/src/Split.js +145 -0
  152. package/es/split/src/styles/index.cssr.d.ts +2 -0
  153. package/es/split/src/styles/index.cssr.js +25 -0
  154. package/es/split/styles/dark.d.ts +3 -0
  155. package/es/split/styles/dark.js +6 -0
  156. package/es/split/styles/index.d.ts +3 -0
  157. package/es/split/styles/index.js +2 -0
  158. package/es/split/styles/light.d.ts +9 -0
  159. package/es/split/styles/light.js +13 -0
  160. package/es/steps/src/Steps.d.ts +1 -1
  161. package/es/tabs/src/Tab.js +3 -1
  162. package/es/tabs/src/Tabs.d.ts +6 -6
  163. package/es/tabs/src/Tabs.js +2 -2
  164. package/es/tabs/src/styles/index.cssr.js +12 -2
  165. package/es/theme-editor/src/ThemeEditor.d.ts +2 -2
  166. package/es/themes/dark.js +5 -1
  167. package/es/themes/light.js +5 -1
  168. package/es/thing/src/Thing.d.ts +6 -0
  169. package/es/thing/src/Thing.js +13 -4
  170. package/es/tooltip/src/Tooltip.d.ts +18 -0
  171. package/es/tree/index.d.ts +1 -0
  172. package/es/tree/index.js +1 -0
  173. package/es/tree/src/Tree.d.ts +11 -0
  174. package/es/tree/src/Tree.js +6 -3
  175. package/es/tree/src/TreeNode.js +30 -19
  176. package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
  177. package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
  178. package/es/tree/src/styles/index.cssr.js +4 -3
  179. package/es/tree/src/utils.d.ts +1 -0
  180. package/es/tree/src/utils.js +12 -0
  181. package/es/tree/styles/light.d.ts +2 -0
  182. package/es/tree/styles/light.js +3 -2
  183. package/es/tree-select/src/TreeSelect.d.ts +17 -10
  184. package/es/tree-select/src/TreeSelect.js +2 -2
  185. package/es/tree-select/styles/light.d.ts +1 -0
  186. package/es/upload/src/Upload.d.ts +6 -0
  187. package/es/upload/src/Upload.js +8 -3
  188. package/es/upload/src/UploadFileList.js +3 -2
  189. package/es/upload/src/UploadTrigger.js +3 -2
  190. package/es/upload/src/interface.d.ts +2 -0
  191. package/es/version.d.ts +1 -1
  192. package/es/version.js +1 -1
  193. package/es/virtual-list/index.d.ts +2 -0
  194. package/es/virtual-list/index.js +1 -0
  195. package/es/virtual-list/src/VirtualList.d.ts +146 -0
  196. package/es/virtual-list/src/VirtualList.js +102 -0
  197. package/es/watermark/src/Watermark.js +7 -0
  198. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +1 -0
  199. package/lib/_internal/scrollbar/src/Scrollbar.js +11 -6
  200. package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -3
  201. package/lib/_internal/select-menu/src/SelectMenu.js +1 -0
  202. package/lib/_internal/select-menu/src/styles/index.cssr.js +8 -0
  203. package/lib/_internal/selection/src/Selection.d.ts +3 -1
  204. package/lib/_internal/selection/src/Selection.js +4 -2
  205. package/lib/_styles/common/_common.js +1 -1
  206. package/lib/_styles/common/light.js +2 -2
  207. package/lib/_utils/composable/use-collection.d.ts +1 -1
  208. package/lib/_utils/composable/use-collection.js +2 -0
  209. package/lib/_utils/css/color-to-class.js +1 -1
  210. package/lib/affix/src/Affix.d.ts +2 -2
  211. package/lib/affix/src/Affix.js +4 -2
  212. package/lib/alert/src/Alert.js +3 -1
  213. package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
  214. package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
  215. package/lib/button/src/Button.d.ts +1 -1
  216. package/lib/button/src/Button.js +1 -1
  217. package/lib/card/src/Card.d.ts +17 -1
  218. package/lib/card/src/Card.js +12 -5
  219. package/lib/carousel/src/Carousel.d.ts +5 -5
  220. package/lib/carousel/src/Carousel.js +2 -1
  221. package/lib/checkbox/src/Checkbox.d.ts +6 -6
  222. package/lib/color-picker/src/ColorPickerSwatches.js +4 -3
  223. package/lib/components.d.ts +3 -0
  224. package/lib/components.js +3 -0
  225. package/lib/config-provider/src/config.js +5 -5
  226. package/lib/config-provider/src/internal-interface.d.ts +4 -0
  227. package/lib/data-table/src/DataTable.d.ts +3 -3
  228. package/lib/data-table/src/DataTable.js +1 -0
  229. package/lib/data-table/src/MainTable.js +1 -0
  230. package/lib/data-table/src/TableParts/Body.d.ts +3 -3
  231. package/lib/data-table/src/TableParts/Body.js +5 -3
  232. package/lib/data-table/src/interface.d.ts +1 -1
  233. package/lib/date-picker/src/panel/date.d.ts +2 -2
  234. package/lib/date-picker/src/panel/daterange.d.ts +2 -2
  235. package/lib/date-picker/src/panel/datetime.d.ts +2 -2
  236. package/lib/date-picker/src/panel/datetimerange.d.ts +2 -2
  237. package/lib/date-picker/src/panel/month.d.ts +2 -2
  238. package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
  239. package/lib/date-picker/src/panel/panelHeader.d.ts +720 -773
  240. package/lib/date-picker/src/panel/use-calendar.d.ts +2 -2
  241. package/lib/date-picker/src/panel/use-calendar.js +2 -2
  242. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
  243. package/lib/date-picker/src/panel/use-dual-calendar.js +4 -4
  244. package/lib/date-picker/src/utils.js +1 -6
  245. package/lib/date-picker/styles/_common.js +1 -1
  246. package/lib/descriptions/src/Descriptions.d.ts +6 -0
  247. package/lib/descriptions/src/Descriptions.js +22 -7
  248. package/lib/descriptions/src/DescriptionsItem.d.ts +6 -0
  249. package/lib/descriptions/src/DescriptionsItem.js +2 -0
  250. package/lib/dialog/src/Dialog.js +6 -2
  251. package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
  252. package/lib/dialog/src/DialogProvider.d.ts +3 -3
  253. package/lib/dialog/src/dialogProps.d.ts +1 -1
  254. package/lib/dropdown/src/Dropdown.d.ts +18 -0
  255. package/lib/dropdown/src/Dropdown.js +1 -1
  256. package/lib/dropdown/src/DropdownMenu.js +4 -1
  257. package/lib/dropdown/src/DropdownOption.d.ts +5 -4
  258. package/lib/dropdown/src/DropdownOption.js +2 -4
  259. package/lib/dynamic-input/src/DynamicInput.d.ts +3 -0
  260. package/lib/dynamic-input/src/DynamicInput.js +3 -3
  261. package/lib/dynamic-tags/src/DynamicTags.d.ts +6 -0
  262. package/lib/dynamic-tags/src/DynamicTags.js +4 -4
  263. package/lib/equation/index.d.ts +1 -0
  264. package/lib/equation/src/Equation.d.ts +2 -0
  265. package/lib/form/src/FormItem.d.ts +1 -1
  266. package/lib/form/src/utils.d.ts +1 -1
  267. package/lib/input/src/Input.d.ts +4 -4
  268. package/lib/input/src/styles/input.cssr.js +1 -1
  269. package/lib/layout/src/Layout.d.ts +6 -0
  270. package/lib/layout/src/Layout.js +8 -1
  271. package/lib/layout/src/LayoutContent.d.ts +2 -0
  272. package/lib/layout/src/LayoutSider.d.ts +9 -0
  273. package/lib/layout/src/LayoutSider.js +12 -3
  274. package/lib/legacy-grid/src/styles/index.cssr.js +2 -3
  275. package/lib/legacy-grid/src/styles/rtl.cssr.js +2 -3
  276. package/lib/loading-bar/src/LoadingBar.d.ts +2 -0
  277. package/lib/loading-bar/src/LoadingBar.js +3 -1
  278. package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -0
  279. package/lib/loading-bar/src/LoadingBarProvider.js +2 -2
  280. package/lib/locales/common/frFR.js +1 -1
  281. package/lib/log/src/Log.d.ts +3 -3
  282. package/lib/mention/src/Mention.d.ts +1 -1
  283. package/lib/mention/src/utils.js +4 -4
  284. package/lib/menu/src/Menu.d.ts +30 -13
  285. package/lib/menu/src/Menu.js +101 -7
  286. package/lib/menu/src/MenuOptionContent.d.ts +3 -0
  287. package/lib/menu/src/MenuOptionContent.js +7 -2
  288. package/lib/menu/src/Submenu.d.ts +23 -12
  289. package/lib/menu/src/Submenu.js +9 -8
  290. package/lib/menu/src/interface.d.ts +1 -0
  291. package/lib/menu/src/styles/index.cssr.js +8 -4
  292. package/lib/menu/src/use-menu-child.js +5 -5
  293. package/lib/message/src/Message.d.ts +1 -1
  294. package/lib/message/src/MessageProvider.d.ts +7 -4
  295. package/lib/message/src/MessageProvider.js +3 -2
  296. package/lib/modal/src/BodyWrapper.d.ts +12 -4
  297. package/lib/modal/src/Modal.d.ts +16 -4
  298. package/lib/modal/src/presetProps.d.ts +5 -1
  299. package/lib/notification/src/NotificationEnvironment.js +1 -1
  300. package/lib/notification/src/NotificationProvider.d.ts +3 -0
  301. package/lib/notification/src/NotificationProvider.js +2 -2
  302. package/lib/popconfirm/src/Popconfirm.d.ts +18 -0
  303. package/lib/popover/src/Popover.d.ts +24 -0
  304. package/lib/popover/src/Popover.js +7 -0
  305. package/lib/popover/src/PopoverBody.d.ts +22 -1
  306. package/lib/popover/src/PopoverBody.js +26 -10
  307. package/lib/popover/src/interface.d.ts +1 -1
  308. package/lib/popselect/src/Popselect.d.ts +18 -0
  309. package/lib/popselect/src/Popselect.js +2 -1
  310. package/lib/popselect/src/PopselectPanel.js +1 -0
  311. package/lib/progress/src/Progress.d.ts +1 -1
  312. package/lib/qr-code/index.d.ts +2 -0
  313. package/lib/qr-code/index.js +9 -0
  314. package/lib/qr-code/src/QrCode.d.ts +154 -0
  315. package/lib/qr-code/src/QrCode.js +152 -0
  316. package/lib/qr-code/src/qrcodegen.d.ts +94 -0
  317. package/lib/qr-code/src/qrcodegen.js +949 -0
  318. package/lib/qr-code/src/styles/index.cssr.d.ts +2 -0
  319. package/lib/qr-code/src/styles/index.cssr.js +13 -0
  320. package/lib/qr-code/styles/dark.d.ts +3 -0
  321. package/lib/qr-code/styles/dark.js +13 -0
  322. package/lib/qr-code/styles/index.d.ts +3 -0
  323. package/lib/qr-code/styles/index.js +10 -0
  324. package/lib/qr-code/styles/light.d.ts +9 -0
  325. package/lib/qr-code/styles/light.js +14 -0
  326. package/lib/radio/src/RadioGroup.d.ts +1 -0
  327. package/lib/radio/src/RadioGroup.js +2 -1
  328. package/lib/radio/src/styles/radio-group.cssr.js +1 -0
  329. package/lib/result/src/Result.d.ts +1 -1
  330. package/lib/scrollbar/src/Scrollbar.js +2 -0
  331. package/lib/select/src/Select.d.ts +1 -1
  332. package/lib/skeleton/src/Skeleton.js +3 -6
  333. package/lib/slider/src/Slider.d.ts +6 -0
  334. package/lib/slider/src/Slider.js +10 -3
  335. package/lib/slider/src/utils.d.ts +2 -2
  336. package/lib/slider/src/utils.js +3 -3
  337. package/lib/space/src/Space.d.ts +3 -0
  338. package/lib/space/src/Space.js +3 -3
  339. package/lib/spin/src/Spin.d.ts +7 -1
  340. package/lib/spin/src/Spin.js +4 -3
  341. package/lib/split/index.d.ts +2 -0
  342. package/lib/split/index.js +9 -0
  343. package/lib/split/src/Split.d.ts +135 -0
  344. package/lib/split/src/Split.js +151 -0
  345. package/lib/split/src/styles/index.cssr.d.ts +2 -0
  346. package/lib/split/src/styles/index.cssr.js +30 -0
  347. package/lib/split/styles/dark.d.ts +3 -0
  348. package/lib/split/styles/dark.js +8 -0
  349. package/lib/split/styles/index.d.ts +3 -0
  350. package/lib/split/styles/index.js +10 -0
  351. package/lib/split/styles/light.d.ts +9 -0
  352. package/lib/split/styles/light.js +17 -0
  353. package/lib/steps/src/Steps.d.ts +1 -1
  354. package/lib/tabs/src/Tab.js +3 -1
  355. package/lib/tabs/src/Tabs.d.ts +6 -6
  356. package/lib/tabs/src/Tabs.js +2 -2
  357. package/lib/tabs/src/styles/index.cssr.js +12 -2
  358. package/lib/theme-editor/src/ThemeEditor.d.ts +2 -2
  359. package/lib/themes/dark.js +56 -52
  360. package/lib/themes/light.js +56 -52
  361. package/lib/thing/src/Thing.d.ts +6 -0
  362. package/lib/thing/src/Thing.js +13 -4
  363. package/lib/tooltip/src/Tooltip.d.ts +18 -0
  364. package/lib/tree/index.d.ts +1 -0
  365. package/lib/tree/index.js +3 -1
  366. package/lib/tree/src/Tree.d.ts +11 -0
  367. package/lib/tree/src/Tree.js +6 -3
  368. package/lib/tree/src/TreeNode.js +30 -19
  369. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
  370. package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
  371. package/lib/tree/src/styles/index.cssr.js +4 -3
  372. package/lib/tree/src/utils.d.ts +1 -0
  373. package/lib/tree/src/utils.js +14 -1
  374. package/lib/tree/styles/light.d.ts +2 -0
  375. package/lib/tree/styles/light.js +3 -2
  376. package/lib/tree-select/src/TreeSelect.d.ts +17 -10
  377. package/lib/tree-select/src/TreeSelect.js +2 -2
  378. package/lib/tree-select/styles/light.d.ts +1 -0
  379. package/lib/upload/src/Upload.d.ts +6 -0
  380. package/lib/upload/src/Upload.js +8 -3
  381. package/lib/upload/src/UploadFileList.js +3 -2
  382. package/lib/upload/src/UploadTrigger.js +3 -2
  383. package/lib/upload/src/interface.d.ts +2 -0
  384. package/lib/version.d.ts +1 -1
  385. package/lib/version.js +1 -1
  386. package/lib/virtual-list/index.d.ts +2 -0
  387. package/lib/virtual-list/index.js +9 -0
  388. package/lib/virtual-list/src/VirtualList.d.ts +146 -0
  389. package/lib/virtual-list/src/VirtualList.js +105 -0
  390. package/lib/watermark/src/Watermark.js +7 -0
  391. package/package.json +15 -15
  392. package/volar.d.ts +4 -0
  393. package/web-types.json +773 -18
@@ -0,0 +1,151 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.splitProps = void 0;
7
+ const vue_1 = require("vue");
8
+ const _utils_1 = require("../../_utils");
9
+ const use_config_1 = __importDefault(require("../../_mixins/use-config"));
10
+ const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
11
+ const _mixins_1 = require("../../_mixins");
12
+ const styles_1 = require("../styles");
13
+ const evtd_1 = require("evtd");
14
+ exports.splitProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { direction: {
15
+ type: String,
16
+ default: 'horizontal'
17
+ }, resizeTriggerSize: {
18
+ type: Number,
19
+ default: 3
20
+ }, disabled: Boolean, defaultSize: {
21
+ type: Number,
22
+ default: 0.5
23
+ }, min: {
24
+ type: Number,
25
+ default: 0
26
+ }, max: {
27
+ type: Number,
28
+ default: 1
29
+ }, onDragStart: Function, onDragMove: Function, onDragEnd: Function });
30
+ exports.default = (0, vue_1.defineComponent)({
31
+ name: 'Split',
32
+ props: exports.splitProps,
33
+ setup(props) {
34
+ const { mergedClsPrefixRef, inlineThemeDisabled } = (0, use_config_1.default)(props);
35
+ const themeRef = (0, _mixins_1.useTheme)('Split', '-split', index_cssr_1.default, styles_1.splitLight, props, mergedClsPrefixRef);
36
+ const cssVarsRef = (0, vue_1.computed)(() => {
37
+ const { self: { resizableTriggerColorHover } } = themeRef.value;
38
+ return {
39
+ '--n-resize-trigger-color-hover': resizableTriggerColorHover
40
+ };
41
+ });
42
+ const resizeTriggerElRef = (0, vue_1.ref)(null);
43
+ const isDraggingRef = (0, vue_1.ref)(false);
44
+ const currentSize = (0, vue_1.ref)(props.defaultSize);
45
+ const firstPaneStyle = (0, vue_1.computed)(() => {
46
+ const size = currentSize.value * 100;
47
+ return {
48
+ flex: `0 0 calc(${size}% - ${(props.resizeTriggerSize * size) / 100}px)`
49
+ };
50
+ });
51
+ const resizeTriggerStyle = (0, vue_1.computed)(() => {
52
+ return props.direction === 'horizontal'
53
+ ? {
54
+ width: `${props.resizeTriggerSize}px`,
55
+ height: '100%'
56
+ }
57
+ : {
58
+ width: '100%',
59
+ height: `${props.resizeTriggerSize}px`
60
+ };
61
+ });
62
+ const resizeTriggerWrapperStyle = (0, vue_1.computed)(() => {
63
+ const horizontal = props.direction === 'horizontal';
64
+ return {
65
+ width: horizontal ? `${props.resizeTriggerSize}px` : '',
66
+ height: horizontal ? '' : `${props.resizeTriggerSize}px`,
67
+ cursor: props.direction === 'horizontal' ? 'col-resize' : 'row-resize'
68
+ };
69
+ });
70
+ let offset = 0;
71
+ const handleMouseDown = (e) => {
72
+ e.preventDefault();
73
+ isDraggingRef.value = true;
74
+ if (props.onDragStart)
75
+ props.onDragStart(e);
76
+ const mouseMoveEvent = 'mousemove';
77
+ const mouseUpEvent = 'mouseup';
78
+ const onMouseMove = (e) => {
79
+ updateSize(e);
80
+ if (props.onDragMove)
81
+ props.onDragMove(e);
82
+ };
83
+ const onMouseUp = () => {
84
+ (0, evtd_1.off)(mouseMoveEvent, document, onMouseMove);
85
+ (0, evtd_1.off)(mouseUpEvent, document, onMouseUp);
86
+ isDraggingRef.value = false;
87
+ if (props.onDragEnd)
88
+ props.onDragEnd(e);
89
+ document.body.style.cursor = '';
90
+ };
91
+ document.body.style.cursor = resizeTriggerWrapperStyle.value.cursor;
92
+ (0, evtd_1.on)(mouseMoveEvent, document, onMouseMove);
93
+ (0, evtd_1.on)(mouseUpEvent, document, onMouseUp);
94
+ const resizeTriggerEl = resizeTriggerElRef.value;
95
+ if (resizeTriggerEl) {
96
+ const elRect = resizeTriggerEl.getBoundingClientRect();
97
+ if (props.direction === 'horizontal') {
98
+ offset = e.clientX - elRect.left;
99
+ }
100
+ else {
101
+ offset = elRect.top - e.clientY;
102
+ }
103
+ }
104
+ updateSize(e);
105
+ };
106
+ const updateSize = (event) => {
107
+ var _a, _b;
108
+ const parentRect = (_b = (_a = resizeTriggerElRef.value) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect();
109
+ if (!parentRect)
110
+ return;
111
+ const newSize = props.direction === 'horizontal'
112
+ ? (event.clientX - parentRect.left - offset) /
113
+ (parentRect.width - props.resizeTriggerSize)
114
+ : (event.clientY - parentRect.top + offset) /
115
+ (parentRect.height - props.resizeTriggerSize);
116
+ currentSize.value = newSize;
117
+ if (props.min) {
118
+ currentSize.value = Math.max(newSize, props.min);
119
+ }
120
+ if (props.max) {
121
+ currentSize.value = Math.min(currentSize.value, props.max);
122
+ }
123
+ };
124
+ return {
125
+ cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
126
+ resizeTriggerElRef,
127
+ isDragging: isDraggingRef,
128
+ mergedClsPrefix: mergedClsPrefixRef,
129
+ resizeTriggerWrapperStyle,
130
+ resizeTriggerStyle,
131
+ handleMouseDown,
132
+ firstPaneStyle
133
+ };
134
+ },
135
+ render() {
136
+ var _a, _b, _c, _d;
137
+ return ((0, vue_1.h)("div", { class: [
138
+ `${this.mergedClsPrefix}-split`,
139
+ `${this.mergedClsPrefix}-split--${this.direction}`
140
+ ], style: this.cssVars },
141
+ (0, vue_1.h)("div", { class: `${this.mergedClsPrefix}-split-pane-1`, style: this.firstPaneStyle }, (_b = (_a = this.$slots)[1]) === null || _b === void 0 ? void 0 : _b.call(_a)),
142
+ !this.disabled && ((0, vue_1.h)("div", { ref: "resizeTriggerElRef", class: `${this.mergedClsPrefix}-split__resize-trigger-wrapper`, style: this.resizeTriggerWrapperStyle, onMousedown: this.handleMouseDown }, (0, _utils_1.resolveSlot)(this.$slots['resize-trigger'], () => [
143
+ (0, vue_1.h)("div", { style: this.resizeTriggerStyle, class: [
144
+ `${this.mergedClsPrefix}-split__resize-trigger`,
145
+ this.isDragging &&
146
+ `${this.mergedClsPrefix}-split__resize-trigger--hover`
147
+ ] })
148
+ ]))),
149
+ (0, vue_1.h)("div", { class: `${this.mergedClsPrefix}-split-pane-2` }, (_d = (_c = this.$slots)[2]) === null || _d === void 0 ? void 0 : _d.call(_c))));
150
+ }
151
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("css-render").CNode;
2
+ export default _default;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ const cssr_1 = require("../../../_utils/cssr");
7
+ // vars:
8
+ // --n-border-color
9
+ // --n-color
10
+ exports.default = (0, cssr_1.cB)('split', `
11
+ display: flex;
12
+ width: 100%;
13
+ height: 100%;
14
+ `, [(0, cssr_1.cM)('horizontal', `
15
+ flex-direction: row;
16
+ `), (0, cssr_1.cM)('vertical', `
17
+ flex-direction: column;
18
+ `), (0, cssr_1.cB)('split-pane-1', `
19
+ overflow: hidden;
20
+ `), (0, cssr_1.cB)('split-pane-2', `
21
+ overflow: hidden;
22
+ flex: 1;
23
+ `), (0, cssr_1.cE)('resize-trigger', `
24
+ background-color: var(--n-border-color);
25
+ transition: background-color .3s var(--n-bezier);
26
+ `, [(0, cssr_1.cM)('hover', `
27
+ background-color: var(--n-resize-trigger-color-hover);
28
+ `), (0, cssr_1.c)('&:hover', `
29
+ background-color: var(--n-resize-trigger-color-hover);
30
+ `)])]);
@@ -0,0 +1,3 @@
1
+ import { type SplitTheme } from './light';
2
+ declare const splitDark: SplitTheme;
3
+ export default splitDark;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const common_1 = require("../../_styles/common");
4
+ const splitDark = {
5
+ name: 'Split',
6
+ common: common_1.commonDark
7
+ };
8
+ exports.default = splitDark;
@@ -0,0 +1,3 @@
1
+ export { default as splitDark } from './dark';
2
+ export { default as splitLight } from './light';
3
+ export type { SplitTheme, SplitThemeVars } from './light';
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.splitLight = exports.splitDark = void 0;
7
+ var dark_1 = require("./dark");
8
+ Object.defineProperty(exports, "splitDark", { enumerable: true, get: function () { return __importDefault(dark_1).default; } });
9
+ var light_1 = require("./light");
10
+ Object.defineProperty(exports, "splitLight", { enumerable: true, get: function () { return __importDefault(light_1).default; } });
@@ -0,0 +1,9 @@
1
+ import type { ThemeCommonVars } from '../../_styles/common';
2
+ import { type Theme } from '../../_mixins';
3
+ export declare const self: (vars: ThemeCommonVars) => {
4
+ resizableTriggerColorHover: string;
5
+ };
6
+ export type SplitThemeVars = ReturnType<typeof self>;
7
+ declare const themeLight: Theme<'Split', SplitThemeVars>;
8
+ export default themeLight;
9
+ export type SplitTheme = typeof themeLight;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.self = void 0;
4
+ const common_1 = require("../../_styles/common");
5
+ const self = (vars) => {
6
+ const { primaryColorHover } = vars;
7
+ return {
8
+ resizableTriggerColorHover: primaryColorHover
9
+ };
10
+ };
11
+ exports.self = self;
12
+ const themeLight = {
13
+ name: 'Split',
14
+ common: common_1.commonLight,
15
+ self: exports.self
16
+ };
17
+ exports.default = themeLight;
@@ -369,8 +369,8 @@ declare const _default: import("vue").DefineComponent<{
369
369
  indicatorIconSizeMedium: string;
370
370
  }, any>>>;
371
371
  }>>, {
372
+ status: "wait" | "error" | "finish" | "process";
372
373
  size: "small" | "medium";
373
374
  vertical: boolean;
374
- status: "wait" | "error" | "finish" | "process";
375
375
  }, {}>;
376
376
  export default _default;
@@ -78,7 +78,9 @@ exports.default = (0, vue_1.defineComponent)({
78
78
  onClick: trigger === 'click' ? this.activateTab : undefined,
79
79
  onMouseenter: trigger === 'hover' ? this.activateTab : undefined,
80
80
  style: internalAddable ? undefined : style
81
- }, this.internalCreatedByPane
81
+ },
82
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
83
+ this.internalCreatedByPane
82
84
  ? (this.tabProps || {})
83
85
  : this.$attrs)),
84
86
  (0, vue_1.h)("span", { class: `${clsPrefix}-tabs-tab__label` }, internalAddable ? ((0, vue_1.h)(vue_1.Fragment, null,
@@ -21,7 +21,7 @@ export declare const tabsProps: {
21
21
  readonly default: "medium";
22
22
  };
23
23
  readonly placement: {
24
- readonly type: PropType<"left" | "right" | "bottom" | "top">;
24
+ readonly type: PropType<"left" | "right" | "top" | "bottom">;
25
25
  readonly default: "top";
26
26
  };
27
27
  readonly tabStyle: PropType<string | CSSProperties>;
@@ -337,7 +337,7 @@ declare const _default: import("vue").DefineComponent<{
337
337
  readonly default: "medium";
338
338
  };
339
339
  readonly placement: {
340
- readonly type: PropType<"left" | "right" | "bottom" | "top">;
340
+ readonly type: PropType<"left" | "right" | "top" | "bottom">;
341
341
  readonly default: "top";
342
342
  };
343
343
  readonly tabStyle: PropType<string | CSSProperties>;
@@ -680,7 +680,7 @@ declare const _default: import("vue").DefineComponent<{
680
680
  $forceUpdate: () => void;
681
681
  $nextTick: typeof nextTick;
682
682
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
683
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {}) | null>;
683
+ } & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {}) | null>;
684
684
  scrollWrapperElRef: import("vue").Ref<HTMLElement | null>;
685
685
  addTabFixed: import("vue").Ref<boolean>;
686
686
  tabWrapperStyle: import("vue").ComputedRef<{
@@ -726,7 +726,7 @@ declare const _default: import("vue").DefineComponent<{
726
726
  '--n-tab-color-segment': string;
727
727
  }> | undefined;
728
728
  themeClass: import("vue").Ref<string> | undefined;
729
- animationDirection: import("vue").Ref<"prev" | "next">;
729
+ animationDirection: import("vue").Ref<"next" | "prev">;
730
730
  renderNameListRef: {
731
731
  value: Array<string | number>;
732
732
  };
@@ -752,7 +752,7 @@ declare const _default: import("vue").DefineComponent<{
752
752
  readonly default: "medium";
753
753
  };
754
754
  readonly placement: {
755
- readonly type: PropType<"left" | "right" | "bottom" | "top">;
755
+ readonly type: PropType<"left" | "right" | "top" | "bottom">;
756
756
  readonly default: "top";
757
757
  };
758
758
  readonly tabStyle: PropType<string | CSSProperties>;
@@ -1052,7 +1052,7 @@ declare const _default: import("vue").DefineComponent<{
1052
1052
  readonly type: TabsType;
1053
1053
  readonly size: "small" | "medium" | "large";
1054
1054
  readonly closable: boolean;
1055
- readonly placement: "left" | "right" | "bottom" | "top";
1055
+ readonly placement: "left" | "right" | "top" | "bottom";
1056
1056
  readonly trigger: "click" | "hover";
1057
1057
  readonly animated: boolean;
1058
1058
  readonly tabsPadding: number;
@@ -301,7 +301,7 @@ exports.default = (0, vue_1.defineComponent)({
301
301
  }
302
302
  }
303
303
  if (type !== 'segment') {
304
- deriveScrollShadow((_b = xScrollInstRef.value) === null || _b === void 0 ? void 0 : _b.$el);
304
+ deriveScrollShadow(((_b = xScrollInstRef.value) === null || _b === void 0 ? void 0 : _b.$el) || null);
305
305
  }
306
306
  }
307
307
  const handleNavResize = (0, lodash_1.throttle)(_handleNavResize, 64);
@@ -332,7 +332,7 @@ exports.default = (0, vue_1.defineComponent)({
332
332
  addTabFixedRef.value = false;
333
333
  }
334
334
  }
335
- deriveScrollShadow((_a = xScrollInstRef.value) === null || _a === void 0 ? void 0 : _a.$el);
335
+ deriveScrollShadow(((_a = xScrollInstRef.value) === null || _a === void 0 ? void 0 : _a.$el) || null);
336
336
  }
337
337
  const handleTabsResize = (0, lodash_1.throttle)(_handleTabsResize, 64);
338
338
  function handleAdd() {
@@ -129,7 +129,9 @@ exports.default = (0, cssr_1.cB)('tabs', `
129
129
  box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
130
130
  `)]), (0, cssr_1.cM)('shadow-end', [(0, cssr_1.c)('&::after', `
131
131
  box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
132
- `)])])]), (0, cssr_1.cM)('left, right', [(0, cssr_1.cB)('tabs-nav-scroll-wrapper', [(0, cssr_1.c)('&::before', `
132
+ `)])])]), (0, cssr_1.cM)('left, right', [(0, cssr_1.cB)('tabs-nav-scroll-content', `
133
+ flex-direction: column;
134
+ `), (0, cssr_1.cB)('tabs-nav-scroll-wrapper', [(0, cssr_1.c)('&::before', `
133
135
  top: 0;
134
136
  left: 0;
135
137
  right: 0;
@@ -165,6 +167,7 @@ exports.default = (0, cssr_1.cB)('tabs', `
165
167
  display: flex;
166
168
  position: relative;
167
169
  min-width: 100%;
170
+ min-height: 100%;
168
171
  width: fit-content;
169
172
  box-sizing: border-box;
170
173
  `), (0, cssr_1.cB)('tabs-wrapper', `
@@ -298,7 +301,6 @@ exports.default = (0, cssr_1.cB)('tabs', `
298
301
  `), (0, cssr_1.cB)('tabs-pad', `
299
302
  flex-grow: 1;
300
303
  transition: border-color .3s var(--n-bezier);
301
- border-bottom: 1px solid var(--n-tab-border-color);
302
304
  `), (0, cssr_1.cB)('tabs-tab-pad', `
303
305
  transition: border-color .3s var(--n-bezier);
304
306
  `), (0, cssr_1.cB)('tabs-tab', `
@@ -339,6 +341,8 @@ exports.default = (0, cssr_1.cB)('tabs', `
339
341
  border-bottom: 1px solid #0000;
340
342
  `)]), (0, cssr_1.cB)('tabs-tab-pad', `
341
343
  border-bottom: 1px solid var(--n-tab-border-color);
344
+ `), (0, cssr_1.cB)('tabs-pad', `
345
+ border-bottom: 1px solid var(--n-tab-border-color);
342
346
  `)])]), (0, cssr_1.cM)('left', [(0, cssr_1.cM)('card-type', [(0, cssr_1.cB)('tabs-tab', `
343
347
  border-top-left-radius: var(--n-tab-border-radius);
344
348
  border-bottom-left-radius: var(--n-tab-border-radius);
@@ -346,6 +350,8 @@ exports.default = (0, cssr_1.cB)('tabs', `
346
350
  border-right: 1px solid #0000;
347
351
  `)]), (0, cssr_1.cB)('tabs-tab-pad', `
348
352
  border-right: 1px solid var(--n-tab-border-color);
353
+ `), (0, cssr_1.cB)('tabs-pad', `
354
+ border-right: 1px solid var(--n-tab-border-color);
349
355
  `)])]), (0, cssr_1.cM)('right', [(0, cssr_1.cM)('card-type', [(0, cssr_1.cB)('tabs-tab', `
350
356
  border-top-right-radius: var(--n-tab-border-radius);
351
357
  border-bottom-right-radius: var(--n-tab-border-radius);
@@ -353,6 +359,8 @@ exports.default = (0, cssr_1.cB)('tabs', `
353
359
  border-left: 1px solid #0000;
354
360
  `)]), (0, cssr_1.cB)('tabs-tab-pad', `
355
361
  border-left: 1px solid var(--n-tab-border-color);
362
+ `), (0, cssr_1.cB)('tabs-pad', `
363
+ border-left: 1px solid var(--n-tab-border-color);
356
364
  `)])]), (0, cssr_1.cM)('bottom', [(0, cssr_1.cM)('card-type', [(0, cssr_1.cB)('tabs-tab', `
357
365
  border-bottom-left-radius: var(--n-tab-border-radius);
358
366
  border-bottom-right-radius: var(--n-tab-border-radius);
@@ -360,4 +368,6 @@ exports.default = (0, cssr_1.cB)('tabs', `
360
368
  border-top: 1px solid #0000;
361
369
  `)]), (0, cssr_1.cB)('tabs-tab-pad', `
362
370
  border-top: 1px solid var(--n-tab-border-color);
371
+ `), (0, cssr_1.cB)('tabs-pad', `
372
+ border-top: 1px solid var(--n-tab-border-color);
363
373
  `)])])])]);
@@ -117,8 +117,8 @@ declare const _default: import("vue").DefineComponent<{}, {
117
117
  }>;
118
118
  theme: import("vue").ComputedRef<GlobalThemeOverrides>;
119
119
  showPanel: import("vue").Ref<boolean>;
120
- tempOverrides: any;
121
- overrides: any;
120
+ tempOverrides: import("vue").Ref<any>;
121
+ overrides: import("vue").Ref<any>;
122
122
  compNamePattern: import("vue").Ref<string>;
123
123
  tempCompNamePattern: import("vue").Ref<string>;
124
124
  varNamePattern: import("vue").Ref<string>;
@@ -57,32 +57,34 @@ const styles_52 = require("../popconfirm/styles");
57
57
  const styles_53 = require("../popover/styles");
58
58
  const styles_54 = require("../popselect/styles");
59
59
  const styles_55 = require("../progress/styles");
60
- const styles_56 = require("../radio/styles");
61
- const styles_57 = require("../rate/styles");
62
- const styles_58 = require("../result/styles");
63
- const styles_59 = require("../legacy-grid/styles");
64
- const styles_60 = require("../_internal/scrollbar/styles");
65
- const styles_61 = require("../select/styles");
66
- const styles_62 = require("../skeleton/styles");
67
- const styles_63 = require("../slider/styles");
68
- const styles_64 = require("../space/styles");
69
- const styles_65 = require("../spin/styles");
70
- const styles_66 = require("../statistic/styles");
71
- const styles_67 = require("../steps/styles");
72
- const styles_68 = require("../switch/styles");
73
- const styles_69 = require("../table/styles");
74
- const styles_70 = require("../tabs/styles");
75
- const styles_71 = require("../tag/styles");
76
- const styles_72 = require("../thing/styles");
77
- const styles_73 = require("../time-picker/styles");
78
- const styles_74 = require("../timeline/styles");
79
- const styles_75 = require("../tooltip/styles");
80
- const styles_76 = require("../transfer/styles");
81
- const styles_77 = require("../tree-select/styles");
82
- const styles_78 = require("../typography/styles");
83
- const styles_79 = require("../tree/styles");
84
- const styles_80 = require("../upload/styles");
85
- const styles_81 = require("../watermark/styles");
60
+ const styles_56 = require("../qr-code/styles");
61
+ const styles_57 = require("../radio/styles");
62
+ const styles_58 = require("../rate/styles");
63
+ const styles_59 = require("../result/styles");
64
+ const styles_60 = require("../legacy-grid/styles");
65
+ const styles_61 = require("../_internal/scrollbar/styles");
66
+ const styles_62 = require("../select/styles");
67
+ const styles_63 = require("../skeleton/styles");
68
+ const styles_64 = require("../slider/styles");
69
+ const styles_65 = require("../space/styles");
70
+ const styles_66 = require("../spin/styles");
71
+ const styles_67 = require("../statistic/styles");
72
+ const styles_68 = require("../steps/styles");
73
+ const styles_69 = require("../switch/styles");
74
+ const styles_70 = require("../table/styles");
75
+ const styles_71 = require("../tabs/styles");
76
+ const styles_72 = require("../tag/styles");
77
+ const styles_73 = require("../thing/styles");
78
+ const styles_74 = require("../time-picker/styles");
79
+ const styles_75 = require("../timeline/styles");
80
+ const styles_76 = require("../tooltip/styles");
81
+ const styles_77 = require("../transfer/styles");
82
+ const styles_78 = require("../tree-select/styles");
83
+ const styles_79 = require("../typography/styles");
84
+ const styles_80 = require("../tree/styles");
85
+ const styles_81 = require("../upload/styles");
86
+ const styles_82 = require("../watermark/styles");
87
+ const styles_83 = require("../split/styles");
86
88
  exports.darkTheme = {
87
89
  name: 'dark',
88
90
  common: common_1.commonDark,
@@ -141,30 +143,32 @@ exports.darkTheme = {
141
143
  Popover: styles_53.popoverDark,
142
144
  Popselect: styles_54.popselectDark,
143
145
  Progress: styles_55.progressDark,
144
- Radio: styles_56.radioDark,
145
- Rate: styles_57.rateDark,
146
- Result: styles_58.resultDark,
147
- Row: styles_59.rowDark,
148
- Scrollbar: styles_60.scrollbarDark,
149
- Select: styles_61.selectDark,
150
- Skeleton: styles_62.skeletonDark,
151
- Slider: styles_63.sliderDark,
152
- Space: styles_64.spaceDark,
153
- Spin: styles_65.spinDark,
154
- Statistic: styles_66.statisticDark,
155
- Steps: styles_67.stepsDark,
156
- Switch: styles_68.switchDark,
157
- Table: styles_69.tableDark,
158
- Tabs: styles_70.tabsDark,
159
- Tag: styles_71.tagDark,
160
- Thing: styles_72.thingDark,
161
- TimePicker: styles_73.timePickerDark,
162
- Timeline: styles_74.timelineDark,
163
- Tooltip: styles_75.tooltipDark,
164
- Transfer: styles_76.transferDark,
165
- Tree: styles_79.treeDark,
166
- TreeSelect: styles_77.treeSelectDark,
167
- Typography: styles_78.typographyDark,
168
- Upload: styles_80.uploadDark,
169
- Watermark: styles_81.watermarkDark
146
+ QrCode: styles_56.qrcodeDark,
147
+ Radio: styles_57.radioDark,
148
+ Rate: styles_58.rateDark,
149
+ Result: styles_59.resultDark,
150
+ Row: styles_60.rowDark,
151
+ Scrollbar: styles_61.scrollbarDark,
152
+ Select: styles_62.selectDark,
153
+ Skeleton: styles_63.skeletonDark,
154
+ Slider: styles_64.sliderDark,
155
+ Space: styles_65.spaceDark,
156
+ Spin: styles_66.spinDark,
157
+ Statistic: styles_67.statisticDark,
158
+ Steps: styles_68.stepsDark,
159
+ Switch: styles_69.switchDark,
160
+ Table: styles_70.tableDark,
161
+ Tabs: styles_71.tabsDark,
162
+ Tag: styles_72.tagDark,
163
+ Thing: styles_73.thingDark,
164
+ TimePicker: styles_74.timePickerDark,
165
+ Timeline: styles_75.timelineDark,
166
+ Tooltip: styles_76.tooltipDark,
167
+ Transfer: styles_77.transferDark,
168
+ Tree: styles_80.treeDark,
169
+ TreeSelect: styles_78.treeSelectDark,
170
+ Typography: styles_79.typographyDark,
171
+ Upload: styles_81.uploadDark,
172
+ Watermark: styles_82.watermarkDark,
173
+ Split: styles_83.splitDark
170
174
  };