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
@@ -14,9 +14,13 @@ const styles_1 = require("../styles");
14
14
  const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
15
15
  exports.cardBaseProps = {
16
16
  title: String,
17
+ contentClass: String,
17
18
  contentStyle: [Object, String],
19
+ headerClass: String,
18
20
  headerStyle: [Object, String],
21
+ headerExtraClass: String,
19
22
  headerExtraStyle: [Object, String],
23
+ footerClass: String,
20
24
  footerStyle: [Object, String],
21
25
  embedded: Boolean,
22
26
  segmented: {
@@ -107,7 +111,7 @@ exports.default = (0, vue_1.defineComponent)({
107
111
  };
108
112
  },
109
113
  render() {
110
- const { segmented, bordered, hoverable, mergedClsPrefix, rtlEnabled, onRender, embedded, tag: Component, $slots } = this;
114
+ const { footerStyle, headerExtraClass, headerClass, contentClass, segmented, bordered, hoverable, mergedClsPrefix, rtlEnabled, onRender, embedded, tag: Component, $slots } = this;
111
115
  onRender === null || onRender === void 0 ? void 0 : onRender();
112
116
  return ((0, vue_1.h)(Component, { class: [
113
117
  `${mergedClsPrefix}-card`,
@@ -128,14 +132,17 @@ exports.default = (0, vue_1.defineComponent)({
128
132
  ], style: this.cssVars, role: this.role },
129
133
  (0, _utils_1.resolveWrappedSlot)($slots.cover, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-card-cover`, role: "none" }, children))),
130
134
  (0, _utils_1.resolveWrappedSlot)($slots.header, (children) => {
131
- return children || this.title || this.closable ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-card-header`, style: this.headerStyle },
135
+ return children || this.title || this.closable ? ((0, vue_1.h)("div", { class: [`${mergedClsPrefix}-card-header`, headerClass], style: this.headerStyle },
132
136
  (0, vue_1.h)("div", { class: `${mergedClsPrefix}-card-header__main`, role: "heading" }, children || this.title),
133
- (0, _utils_1.resolveWrappedSlot)($slots['header-extra'], (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-card-header__extra`, style: this.headerExtraStyle }, children))),
137
+ (0, _utils_1.resolveWrappedSlot)($slots['header-extra'], (children) => children && ((0, vue_1.h)("div", { class: [
138
+ `${mergedClsPrefix}-card-header__extra`,
139
+ headerExtraClass
140
+ ], style: this.headerExtraStyle }, children))),
134
141
  this.closable ? ((0, vue_1.h)(_internal_1.NBaseClose, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-card-header__close`, onClick: this.handleCloseClick, absolute: true })) : null)) : null;
135
142
  }),
136
- (0, _utils_1.resolveWrappedSlot)($slots.default, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-card__content`, style: this.contentStyle, role: "none" }, children))),
143
+ (0, _utils_1.resolveWrappedSlot)($slots.default, (children) => children && ((0, vue_1.h)("div", { class: [`${mergedClsPrefix}-card__content`, contentClass], style: this.contentStyle, role: "none" }, children))),
137
144
  (0, _utils_1.resolveWrappedSlot)($slots.footer, (children) => children && [
138
- (0, vue_1.h)("div", { class: `${mergedClsPrefix}-card__footer`, style: this.footerStyle, role: "none" }, children)
145
+ (0, vue_1.h)("div", { class: [`${mergedClsPrefix}-card__footer`, footerStyle], style: this.footerStyle, role: "none" }, children)
139
146
  ]),
140
147
  (0, _utils_1.resolveWrappedSlot)($slots.action, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-card__action`, role: "none" }, children)))));
141
148
  }
@@ -2,7 +2,7 @@ import type { CSSProperties, PropType, Ref, TransitionProps, VNode } from 'vue';
2
2
  import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  import type { ArrowScopedSlotProps, DotScopedSlotProps, Size } from './interface';
4
4
  declare const transitionProperties: readonly ["transitionDuration", "transitionTimingFunction"];
5
- type TransitionStyle = Partial<Pick<CSSProperties, typeof transitionProperties[number]>>;
5
+ type TransitionStyle = Partial<Pick<CSSProperties, (typeof transitionProperties)[number]>>;
6
6
  export declare const carouselProps: {
7
7
  defaultIndex: {
8
8
  type: NumberConstructor;
@@ -15,7 +15,7 @@ export declare const carouselProps: {
15
15
  default: string;
16
16
  };
17
17
  dotPlacement: {
18
- type: PropType<"left" | "right" | "bottom" | "top">;
18
+ type: PropType<"left" | "right" | "top" | "bottom">;
19
19
  default: string;
20
20
  };
21
21
  slidesPerView: {
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
109
109
  default: string;
110
110
  };
111
111
  dotPlacement: {
112
- type: PropType<"left" | "right" | "bottom" | "top">;
112
+ type: PropType<"left" | "right" | "top" | "bottom">;
113
113
  default: string;
114
114
  };
115
115
  slidesPerView: {
@@ -246,7 +246,7 @@ declare const _default: import("vue").DefineComponent<{
246
246
  default: string;
247
247
  };
248
248
  dotPlacement: {
249
- type: PropType<"left" | "right" | "bottom" | "top">;
249
+ type: PropType<"left" | "right" | "top" | "bottom">;
250
250
  default: string;
251
251
  };
252
252
  slidesPerView: {
@@ -336,7 +336,7 @@ declare const _default: import("vue").DefineComponent<{
336
336
  keyboard: boolean;
337
337
  dotType: "dot" | "line";
338
338
  defaultIndex: number;
339
- dotPlacement: "left" | "right" | "bottom" | "top";
339
+ dotPlacement: "left" | "right" | "top" | "bottom";
340
340
  slidesPerView: number | "auto";
341
341
  spaceBetween: number;
342
342
  centeredSlides: boolean;
@@ -27,6 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.carouselProps = void 0;
30
+ /* eslint-disable @typescript-eslint/no-unsafe-argument */
30
31
  const vue_1 = require("vue");
31
32
  const vueuc_1 = require("vueuc");
32
33
  const vooks_1 = require("vooks");
@@ -471,7 +472,7 @@ exports.default = (0, vue_1.defineComponent)({
471
472
  dragStartX = touchEvent.clientX;
472
473
  }
473
474
  if (props.touchable) {
474
- (0, evtd_1.on)('touchmove', document, handleTouchmove, { passive: true });
475
+ (0, evtd_1.on)('touchmove', document, handleTouchmove);
475
476
  (0, evtd_1.on)('touchend', document, handleTouchend);
476
477
  (0, evtd_1.on)('touchcancel', document, handleTouchend);
477
478
  }
@@ -23,11 +23,11 @@ export declare const checkboxProps: {
23
23
  default: boolean;
24
24
  };
25
25
  checkedValue: {
26
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
26
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
27
27
  default: boolean;
28
28
  };
29
29
  uncheckedValue: {
30
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
30
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
31
31
  default: boolean;
32
32
  };
33
33
  'onUpdate:checked': PropType<MaybeArray<OnUpdateChecked>>;
@@ -148,11 +148,11 @@ declare const _default: import("vue").DefineComponent<{
148
148
  default: boolean;
149
149
  };
150
150
  checkedValue: {
151
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
151
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
152
152
  default: boolean;
153
153
  };
154
154
  uncheckedValue: {
155
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
155
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
156
156
  default: boolean;
157
157
  };
158
158
  'onUpdate:checked': PropType<MaybeArray<OnUpdateChecked>>;
@@ -451,11 +451,11 @@ declare const _default: import("vue").DefineComponent<{
451
451
  default: boolean;
452
452
  };
453
453
  checkedValue: {
454
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
454
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
455
455
  default: boolean;
456
456
  };
457
457
  uncheckedValue: {
458
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
458
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
459
459
  default: boolean;
460
460
  };
461
461
  'onUpdate:checked': PropType<MaybeArray<OnUpdateChecked>>;
@@ -16,9 +16,10 @@ function normalizeColor(color, mode) {
16
16
  return color;
17
17
  }
18
18
  function getHexFromName(color) {
19
- const ctx = document
20
- .createElement('canvas')
21
- .getContext('2d');
19
+ const ctx = document.createElement('canvas').getContext('2d');
20
+ if (!ctx) {
21
+ return '#000000';
22
+ }
22
23
  ctx.fillStyle = color;
23
24
  return ctx.fillStyle;
24
25
  }
@@ -59,6 +59,7 @@ export * from './popconfirm';
59
59
  export * from './popover';
60
60
  export * from './popselect';
61
61
  export * from './progress';
62
+ export * from './qr-code';
62
63
  export * from './radio';
63
64
  export * from './rate';
64
65
  export * from './result';
@@ -68,6 +69,7 @@ export * from './skeleton';
68
69
  export * from './slider';
69
70
  export * from './space';
70
71
  export * from './spin';
72
+ export * from './split';
71
73
  export * from './statistic';
72
74
  export * from './steps';
73
75
  export * from './switch';
@@ -84,6 +86,7 @@ export * from './tree';
84
86
  export * from './tree-select';
85
87
  export * from './typography';
86
88
  export * from './upload';
89
+ export * from './virtual-list';
87
90
  export * from './watermark';
88
91
  export * from './discrete';
89
92
  export * from './equation';
package/lib/components.js CHANGED
@@ -75,6 +75,7 @@ __exportStar(require("./popconfirm"), exports);
75
75
  __exportStar(require("./popover"), exports);
76
76
  __exportStar(require("./popselect"), exports);
77
77
  __exportStar(require("./progress"), exports);
78
+ __exportStar(require("./qr-code"), exports);
78
79
  __exportStar(require("./radio"), exports);
79
80
  __exportStar(require("./rate"), exports);
80
81
  __exportStar(require("./result"), exports);
@@ -84,6 +85,7 @@ __exportStar(require("./skeleton"), exports);
84
85
  __exportStar(require("./slider"), exports);
85
86
  __exportStar(require("./space"), exports);
86
87
  __exportStar(require("./spin"), exports);
88
+ __exportStar(require("./split"), exports);
87
89
  __exportStar(require("./statistic"), exports);
88
90
  __exportStar(require("./steps"), exports);
89
91
  __exportStar(require("./switch"), exports);
@@ -100,6 +102,7 @@ __exportStar(require("./tree"), exports);
100
102
  __exportStar(require("./tree-select"), exports);
101
103
  __exportStar(require("./typography"), exports);
102
104
  __exportStar(require("./upload"), exports);
105
+ __exportStar(require("./virtual-list"), exports);
103
106
  __exportStar(require("./watermark"), exports);
104
107
  __exportStar(require("./discrete"), exports);
105
108
  __exportStar(require("./equation"), exports);
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultBreakpoints = void 0;
4
4
  exports.defaultBreakpoints = {
5
- xs: 0,
6
- s: 640,
7
- m: 1024,
8
- l: 1280,
9
- xl: 1536,
5
+ xs: 0, // mobile
6
+ s: 640, // tablet
7
+ m: 1024, // laptop s
8
+ l: 1280, // laptop
9
+ xl: 1536, // laptop l
10
10
  xxl: 1920 // normal desktop display
11
11
  };
@@ -53,6 +53,7 @@ import type { PopconfirmTheme } from '../../popconfirm/styles';
53
53
  import type { PopoverTheme } from '../../popover/styles';
54
54
  import type { PopselectTheme } from '../../popselect/styles';
55
55
  import type { ProgressTheme } from '../../progress/styles';
56
+ import type { QrCodeTheme } from '../../qr-code/styles';
56
57
  import type { RadioTheme } from '../../radio/styles';
57
58
  import type { RateTheme } from '../../rate/styles';
58
59
  import type { ResultTheme } from '../../result/styles';
@@ -94,6 +95,7 @@ import type { CollapseTransitionTheme } from '../../collapse-transition/styles';
94
95
  import type { ButtonGroupTheme } from '../../button-group/styles/light';
95
96
  import type { RowTheme } from '../../legacy-grid/styles';
96
97
  import type { Katex } from './katex';
98
+ import type { SplitTheme } from '../../split/styles';
97
99
  export interface GlobalThemeWithoutCommon {
98
100
  Alert?: AlertTheme;
99
101
  Anchor?: AnchorTheme;
@@ -150,6 +152,7 @@ export interface GlobalThemeWithoutCommon {
150
152
  Popover?: PopoverTheme;
151
153
  Popselect?: PopselectTheme;
152
154
  Progress?: ProgressTheme;
155
+ QrCode?: QrCodeTheme;
153
156
  Radio?: RadioTheme;
154
157
  Rate?: RateTheme;
155
158
  Result?: ResultTheme;
@@ -175,6 +178,7 @@ export interface GlobalThemeWithoutCommon {
175
178
  Typography?: TypographyTheme;
176
179
  Upload?: UploadTheme;
177
180
  Watermark?: WatermarkTheme;
181
+ Split?: SplitTheme;
178
182
  Row?: RowTheme;
179
183
  InternalSelectMenu?: InternalSelectMenuTheme;
180
184
  InternalSelection?: InternalSelectionTheme;
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
76
76
  };
77
77
  readonly flexHeight: BooleanConstructor;
78
78
  readonly summaryPlacement: {
79
- readonly type: import("vue").PropType<"bottom" | "top">;
79
+ readonly type: import("vue").PropType<"top" | "bottom">;
80
80
  readonly default: "bottom";
81
81
  };
82
82
  readonly paginationBehaviorOnFilter: {
@@ -3821,7 +3821,7 @@ declare const _default: import("vue").DefineComponent<{
3821
3821
  };
3822
3822
  readonly flexHeight: BooleanConstructor;
3823
3823
  readonly summaryPlacement: {
3824
- readonly type: import("vue").PropType<"bottom" | "top">;
3824
+ readonly type: import("vue").PropType<"top" | "bottom">;
3825
3825
  readonly default: "bottom";
3826
3826
  };
3827
3827
  readonly paginationBehaviorOnFilter: {
@@ -6221,7 +6221,7 @@ declare const _default: import("vue").DefineComponent<{
6221
6221
  readonly childrenKey: string;
6222
6222
  readonly indent: number;
6223
6223
  readonly flexHeight: boolean;
6224
- readonly summaryPlacement: "bottom" | "top";
6224
+ readonly summaryPlacement: "top" | "bottom";
6225
6225
  readonly paginationBehaviorOnFilter: "first" | "current";
6226
6226
  readonly spinProps: import("../../_internal").BaseLoadingExposedProps;
6227
6227
  }, {}>;
@@ -179,6 +179,7 @@ exports.default = (0, vue_1.defineComponent)({
179
179
  clearFilter,
180
180
  scrollTo: (arg0, arg1) => {
181
181
  var _a;
182
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
182
183
  (_a = mainTableInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(arg0, arg1);
183
184
  }
184
185
  };
@@ -50,6 +50,7 @@ exports.default = (0, vue_1.defineComponent)({
50
50
  getHeaderElement,
51
51
  scrollTo(arg0, arg1) {
52
52
  var _a;
53
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
53
54
  (_a = bodyInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(arg0, arg1);
54
55
  }
55
56
  };
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
10
10
  getScrollContainer: () => HTMLElement | null;
11
11
  scrollTo: import("../../../scrollbar/src/Scrollbar").ScrollTo;
12
12
  bodyWidth: import("vue").Ref<number | null>;
13
- summaryPlacement: import("vue").Ref<"bottom" | "top">;
13
+ summaryPlacement: import("vue").Ref<"top" | "bottom">;
14
14
  dataTableSlots: Readonly<{
15
15
  [name: string]: import("vue").Slot<any> | undefined;
16
16
  }>;
@@ -1307,8 +1307,8 @@ declare const _default: import("vue").DefineComponent<{
1307
1307
  handleVirtualListScroll: (e: Event) => void;
1308
1308
  handleVirtualListResize: (e: ResizeObserverEntry) => void;
1309
1309
  handleMouseleaveTable: () => void;
1310
- virtualListContainer: () => HTMLElement;
1311
- virtualListContent: () => HTMLElement;
1310
+ virtualListContainer: () => HTMLElement | null;
1311
+ virtualListContent: () => HTMLElement | null;
1312
1312
  handleTableBodyScroll: (e: Event) => void;
1313
1313
  handleCheckboxUpdateChecked: (tmNode: {
1314
1314
  key: RowKey;
@@ -209,11 +209,11 @@ exports.default = (0, vue_1.defineComponent)({
209
209
  }
210
210
  function virtualListContainer() {
211
211
  const { value } = virtualListRef;
212
- return value === null || value === void 0 ? void 0 : value.listElRef;
212
+ return (value === null || value === void 0 ? void 0 : value.listElRef) || null;
213
213
  }
214
214
  function virtualListContent() {
215
215
  const { value } = virtualListRef;
216
- return value === null || value === void 0 ? void 0 : value.itemsElRef;
216
+ return (value === null || value === void 0 ? void 0 : value.itemsElRef) || null;
217
217
  }
218
218
  function handleVirtualListScroll(e) {
219
219
  var _a;
@@ -232,9 +232,11 @@ exports.default = (0, vue_1.defineComponent)({
232
232
  scrollTo(arg0, arg1) {
233
233
  var _a, _b;
234
234
  if (virtualScrollRef.value) {
235
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
235
236
  (_a = virtualListRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(arg0, arg1);
236
237
  }
237
238
  else {
239
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
238
240
  (_b = scrollbarInstRef.value) === null || _b === void 0 ? void 0 : _b.scrollTo(arg0, arg1);
239
241
  }
240
242
  }
@@ -410,7 +412,7 @@ exports.default = (0, vue_1.defineComponent)({
410
412
  (!expandable || expandable(rowInfo.tmNode.rawNode))) {
411
413
  displayedData.push(rowInfo, {
412
414
  isExpandedRow: true,
413
- key: `${rowInfo.key}-expand`,
415
+ key: `${rowInfo.key}-expand`, // solve key repeat of the expanded row
414
416
  tmNode: rowInfo.tmNode,
415
417
  index: rowInfo.index
416
418
  });
@@ -86,7 +86,7 @@ export declare const dataTableProps: {
86
86
  };
87
87
  readonly flexHeight: BooleanConstructor;
88
88
  readonly summaryPlacement: {
89
- readonly type: PropType<"bottom" | "top">;
89
+ readonly type: PropType<"top" | "bottom">;
90
90
  readonly default: "bottom";
91
91
  };
92
92
  readonly paginationBehaviorOnFilter: {
@@ -38,8 +38,8 @@ declare const _default: import("vue").DefineComponent<{
38
38
  handleDateInput: (value: string) => void;
39
39
  handleTimePickerChange: (value: number | null) => void;
40
40
  clearSelectedDateTime: () => void;
41
- virtualListContainer: () => HTMLElement;
42
- virtualListContent: () => HTMLElement;
41
+ virtualListContainer: () => HTMLElement | null;
42
+ virtualListContent: () => HTMLElement | null;
43
43
  handleVirtualListScroll: (e: Event) => void;
44
44
  timePickerSize: import("vue").Ref<"small" | "medium" | "large">;
45
45
  dateInputValue: import("vue").Ref<string>;
@@ -54,8 +54,8 @@ declare const _default: import("vue").DefineComponent<{
54
54
  handleEndDateInputBlur: () => void;
55
55
  handleStartYearVlScroll: () => void;
56
56
  handleEndYearVlScroll: () => void;
57
- virtualListContainer: (type: "start" | "end") => HTMLElement;
58
- virtualListContent: (type: "start" | "end") => HTMLElement;
57
+ virtualListContainer: (type: "start" | "end") => HTMLElement | null;
58
+ virtualListContent: (type: "start" | "end") => HTMLElement | null;
59
59
  onUpdateStartCalendarValue: (value: number) => void;
60
60
  onUpdateEndCalendarValue: (value: number) => void;
61
61
  startYearScrollbarRef: import("vue").Ref<import("../../../_internal").ScrollbarInst | null>;
@@ -38,8 +38,8 @@ declare const _default: import("vue").DefineComponent<{
38
38
  handleDateInput: (value: string) => void;
39
39
  handleTimePickerChange: (value: number | null) => void;
40
40
  clearSelectedDateTime: () => void;
41
- virtualListContainer: () => HTMLElement;
42
- virtualListContent: () => HTMLElement;
41
+ virtualListContainer: () => HTMLElement | null;
42
+ virtualListContent: () => HTMLElement | null;
43
43
  handleVirtualListScroll: (e: Event) => void;
44
44
  timePickerSize: import("vue").Ref<"small" | "medium" | "large">;
45
45
  dateInputValue: import("vue").Ref<string>;
@@ -54,8 +54,8 @@ declare const _default: import("vue").DefineComponent<{
54
54
  handleEndDateInputBlur: () => void;
55
55
  handleStartYearVlScroll: () => void;
56
56
  handleEndYearVlScroll: () => void;
57
- virtualListContainer: (type: "start" | "end") => HTMLElement;
58
- virtualListContent: (type: "start" | "end") => HTMLElement;
57
+ virtualListContainer: (type: "start" | "end") => HTMLElement | null;
58
+ virtualListContent: (type: "start" | "end") => HTMLElement | null;
59
59
  onUpdateStartCalendarValue: (value: number) => void;
60
60
  onUpdateEndCalendarValue: (value: number) => void;
61
61
  startYearScrollbarRef: import("vue").Ref<import("../../../_internal").ScrollbarInst | null>;
@@ -46,8 +46,8 @@ declare const _default: import("vue").DefineComponent<{
46
46
  handleDateInput: (value: string) => void;
47
47
  handleTimePickerChange: (value: number | null) => void;
48
48
  clearSelectedDateTime: () => void;
49
- virtualListContainer: () => HTMLElement;
50
- virtualListContent: () => HTMLElement;
49
+ virtualListContainer: () => HTMLElement | null;
50
+ virtualListContent: () => HTMLElement | null;
51
51
  handleVirtualListScroll: (e: Event) => void;
52
52
  timePickerSize: import("vue").Ref<"small" | "medium" | "large">;
53
53
  dateInputValue: import("vue").Ref<string>;
@@ -61,8 +61,8 @@ declare const _default: import("vue").DefineComponent<{
61
61
  handleEndDateInputBlur: () => void;
62
62
  handleStartYearVlScroll: () => void;
63
63
  handleEndYearVlScroll: () => void;
64
- virtualListContainer: (type: "start" | "end") => HTMLElement;
65
- virtualListContent: (type: "start" | "end") => HTMLElement;
64
+ virtualListContainer: (type: "start" | "end") => HTMLElement | null;
65
+ virtualListContent: (type: "start" | "end") => HTMLElement | null;
66
66
  onUpdateStartCalendarValue: (value: number) => void;
67
67
  onUpdateEndCalendarValue: (value: number) => void;
68
68
  startYearScrollbarRef: import("vue").Ref<import("../../../_internal").ScrollbarInst | null>;