naive-ui 2.25.3 → 2.25.6

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 (350) hide show
  1. package/es/_internal/scrollbar/src/ScrollBar.d.ts +1 -0
  2. package/es/_internal/select-menu/src/SelectMenu.d.ts +1 -0
  3. package/es/_mixins/use-css-vars-class.js +2 -1
  4. package/es/button/src/styles/button-rtl.cssr.js +2 -2
  5. package/es/cascader/src/Cascader.d.ts +10 -0
  6. package/es/cascader/src/CascaderMenu.d.ts +1 -0
  7. package/es/cascader/src/CascaderOption.d.ts +1 -0
  8. package/es/cascader/src/CascaderSelectMenu.d.ts +1 -0
  9. package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
  10. package/es/cascader/styles/light.d.ts +1 -0
  11. package/es/checkbox/src/Checkbox.d.ts +12 -0
  12. package/es/checkbox/src/Checkbox.js +14 -7
  13. package/es/checkbox/src/styles/index.cssr.js +16 -8
  14. package/es/checkbox/src/styles/rtl.cssr.d.ts +2 -0
  15. package/es/checkbox/src/styles/rtl.cssr.js +4 -0
  16. package/es/checkbox/styles/index.d.ts +1 -0
  17. package/es/checkbox/styles/index.js +1 -0
  18. package/es/checkbox/styles/light.d.ts +1 -0
  19. package/es/checkbox/styles/light.js +2 -2
  20. package/es/checkbox/styles/rtl.d.ts +2 -0
  21. package/es/checkbox/styles/rtl.js +5 -0
  22. package/es/code/src/Code.js +3 -1
  23. package/es/collapse/src/Collapse.d.ts +1 -0
  24. package/es/collapse/src/Collapse.js +9 -2
  25. package/es/collapse/src/CollapseItem.d.ts +1 -0
  26. package/es/collapse/src/CollapseItem.js +8 -3
  27. package/es/collapse/src/styles/rtl.cssr.d.ts +2 -0
  28. package/es/collapse/src/styles/rtl.cssr.js +15 -0
  29. package/es/collapse/styles/index.d.ts +1 -0
  30. package/es/collapse/styles/index.js +1 -0
  31. package/es/collapse/styles/rtl.d.ts +2 -0
  32. package/es/collapse/styles/rtl.js +5 -0
  33. package/es/collapse-transition/src/CollapseTransition.d.ts +3 -1
  34. package/es/collapse-transition/src/CollapseTransition.js +27 -14
  35. package/es/config-provider/src/ConfigProvider.js +6 -0
  36. package/es/config-provider/src/internal-interface.d.ts +1 -0
  37. package/es/data-table/src/DataTable.d.ts +20 -0
  38. package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  39. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  40. package/es/data-table/src/TableParts/Body.d.ts +3 -0
  41. package/es/data-table/src/TableParts/Cell.d.ts +4 -0
  42. package/es/data-table/src/TableParts/Header.d.ts +2 -0
  43. package/es/data-table/styles/light.d.ts +2 -0
  44. package/es/date-picker/src/DatePicker.d.ts +7 -2
  45. package/es/date-picker/src/DatePicker.js +80 -68
  46. package/es/date-picker/src/panel/date.d.ts +6 -0
  47. package/es/date-picker/src/panel/date.js +7 -2
  48. package/es/date-picker/src/panel/daterange.d.ts +4 -0
  49. package/es/date-picker/src/panel/daterange.js +7 -2
  50. package/es/date-picker/src/panel/datetime.d.ts +6 -0
  51. package/es/date-picker/src/panel/datetime.js +7 -2
  52. package/es/date-picker/src/panel/datetimerange.d.ts +4 -0
  53. package/es/date-picker/src/panel/datetimerange.js +7 -2
  54. package/es/date-picker/src/panel/month.d.ts +6 -0
  55. package/es/date-picker/src/panel/month.js +4 -2
  56. package/es/date-picker/src/panel/panelHeader.d.ts +10 -0
  57. package/es/date-picker/src/panel/use-calendar.d.ts +4 -0
  58. package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
  59. package/es/date-picker/src/panel/use-panel-common.d.ts +2 -0
  60. package/es/date-picker/src/panel/use-panel-common.js +3 -1
  61. package/es/drawer/src/Drawer.d.ts +3 -1
  62. package/es/drawer/src/Drawer.js +39 -27
  63. package/es/dropdown/src/Dropdown.d.ts +7 -5
  64. package/es/dropdown/src/Dropdown.js +59 -52
  65. package/es/dynamic-input/src/DynamicInput.d.ts +3 -1
  66. package/es/dynamic-input/src/DynamicInput.js +17 -10
  67. package/es/form/src/FormItem.d.ts +3 -1
  68. package/es/form/src/FormItem.js +40 -33
  69. package/es/form/src/FormItemRow.js +1 -1
  70. package/es/gradient-text/src/GradientText.d.ts +3 -1
  71. package/es/gradient-text/src/GradientText.js +23 -15
  72. package/es/icon/src/Icon.d.ts +3 -5
  73. package/es/icon/src/Icon.js +29 -19
  74. package/es/image/src/ImagePreview.d.ts +3 -1
  75. package/es/image/src/ImagePreview.js +28 -15
  76. package/es/input/src/Input.d.ts +4 -1
  77. package/es/input/src/Input.js +27 -6
  78. package/es/input/src/InputGroupLabel.d.ts +3 -1
  79. package/es/input/src/InputGroupLabel.js +26 -19
  80. package/es/input/src/styles/input.cssr.js +1 -0
  81. package/es/input/src/styles/rtl.cssr.d.ts +2 -0
  82. package/es/input/src/styles/rtl.cssr.js +16 -0
  83. package/es/input/styles/index.d.ts +1 -0
  84. package/es/input/styles/index.js +1 -0
  85. package/es/input/styles/rtl.d.ts +2 -0
  86. package/es/input/styles/rtl.js +5 -0
  87. package/es/input-number/src/InputNumber.d.ts +1 -0
  88. package/es/input-number/src/InputNumber.js +8 -3
  89. package/es/input-number/src/styles/rtl.cssr.d.ts +2 -0
  90. package/es/input-number/src/styles/rtl.cssr.js +4 -0
  91. package/es/input-number/styles/index.d.ts +1 -0
  92. package/es/input-number/styles/index.js +1 -0
  93. package/es/input-number/styles/rtl.d.ts +2 -0
  94. package/es/input-number/styles/rtl.js +8 -0
  95. package/es/layout/src/Layout.d.ts +2 -0
  96. package/es/layout/src/LayoutContent.d.ts +1 -0
  97. package/es/layout/src/LayoutSider.d.ts +1 -0
  98. package/es/legacy-grid/src/styles/index.cssr.js +1 -1
  99. package/es/list/src/List.d.ts +3 -1
  100. package/es/list/src/List.js +27 -19
  101. package/es/loading-bar/src/LoadingBar.d.ts +3 -1
  102. package/es/loading-bar/src/LoadingBar.js +29 -15
  103. package/es/log/src/Log.d.ts +1 -0
  104. package/es/mention/src/Mention.d.ts +3 -1
  105. package/es/mention/src/Mention.js +20 -10
  106. package/es/message/src/Message.d.ts +12 -24
  107. package/es/message/src/Message.js +57 -40
  108. package/es/message/src/MessageEnvironment.d.ts +9 -0
  109. package/es/message/src/MessageEnvironment.js +1 -1
  110. package/es/message/src/MessageProvider.d.ts +67 -0
  111. package/es/message/src/MessageProvider.js +3 -0
  112. package/es/message/src/message-props.d.ts +4 -0
  113. package/es/message/src/message-props.js +4 -0
  114. package/es/message/src/styles/index.cssr.js +2 -1
  115. package/es/message/src/types.d.ts +3 -1
  116. package/es/message/styles/light.d.ts +7 -0
  117. package/es/message/styles/light.js +1 -1
  118. package/es/modal/src/BodyWrapper.d.ts +1 -0
  119. package/es/notification/src/Notification.d.ts +3 -1
  120. package/es/notification/src/Notification.js +44 -32
  121. package/es/notification/src/NotificationProvider.d.ts +1 -0
  122. package/es/notification/src/NotificationProvider.js +1 -0
  123. package/es/popconfirm/src/Popconfirm.d.ts +3 -2
  124. package/es/popconfirm/src/Popconfirm.js +2 -1
  125. package/es/popconfirm/src/PopconfirmPanel.d.ts +3 -1
  126. package/es/popconfirm/src/PopconfirmPanel.js +32 -25
  127. package/es/popconfirm/src/interface.d.ts +2 -0
  128. package/es/popover/src/PopoverBody.d.ts +4 -0
  129. package/es/popover/src/PopoverBody.js +3 -2
  130. package/es/popover/src/styles/index.cssr.js +49 -29
  131. package/es/radio/src/Radio.d.ts +7 -0
  132. package/es/radio/src/Radio.js +14 -7
  133. package/es/radio/src/RadioGroup.d.ts +9 -0
  134. package/es/radio/src/styles/radio.cssr.js +16 -9
  135. package/es/radio/styles/dark.js +2 -2
  136. package/es/radio/styles/light.d.ts +1 -0
  137. package/es/radio/styles/light.js +2 -2
  138. package/es/scrollbar/src/ScrollBar.d.ts +1 -0
  139. package/es/select/src/Select.d.ts +3 -1
  140. package/es/select/src/Select.js +31 -23
  141. package/es/slider/src/Slider.d.ts +6 -2
  142. package/es/slider/src/Slider.js +74 -51
  143. package/es/steps/src/Step.d.ts +3 -1
  144. package/es/steps/src/Step.js +32 -20
  145. package/es/styles.d.ts +4 -4
  146. package/es/styles.js +4 -4
  147. package/es/tabs/src/styles/index.cssr.js +2 -0
  148. package/es/time-picker/src/Panel.js +4 -4
  149. package/es/time-picker/src/TimePicker.d.ts +12 -4
  150. package/es/time-picker/src/TimePicker.js +90 -35
  151. package/es/timeline/src/Timeline.d.ts +9 -9
  152. package/es/timeline/src/TimelineItem.d.ts +4 -2
  153. package/es/timeline/src/TimelineItem.js +34 -20
  154. package/es/timeline/styles/_common.d.ts +1 -1
  155. package/es/timeline/styles/_common.js +1 -1
  156. package/es/timeline/styles/light.d.ts +1 -1
  157. package/es/transfer/src/Transfer.d.ts +10 -0
  158. package/es/transfer/src/TransferFilter.d.ts +1 -0
  159. package/es/transfer/src/TransferList.d.ts +2 -0
  160. package/es/transfer/src/TransferListItem.d.ts +1 -0
  161. package/es/transfer/styles/light.d.ts +1 -0
  162. package/es/tree/src/Tree.d.ts +16 -3
  163. package/es/tree/src/Tree.js +50 -28
  164. package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
  165. package/es/tree/styles/light.d.ts +1 -0
  166. package/es/tree-select/src/TreeSelect.d.ts +23 -10
  167. package/es/tree-select/src/TreeSelect.js +26 -17
  168. package/es/tree-select/styles/light.d.ts +1 -0
  169. package/es/upload/src/Upload.d.ts +3 -1
  170. package/es/upload/src/Upload.js +23 -13
  171. package/es/upload/src/UploadFileList.js +8 -3
  172. package/es/upload/src/interface.d.ts +3 -1
  173. package/es/version.d.ts +1 -1
  174. package/es/version.js +1 -1
  175. package/lib/_internal/scrollbar/src/ScrollBar.d.ts +1 -0
  176. package/lib/_internal/select-menu/src/SelectMenu.d.ts +1 -0
  177. package/lib/_mixins/use-css-vars-class.js +2 -1
  178. package/lib/button/src/styles/button-rtl.cssr.js +2 -2
  179. package/lib/cascader/src/Cascader.d.ts +10 -0
  180. package/lib/cascader/src/CascaderMenu.d.ts +1 -0
  181. package/lib/cascader/src/CascaderOption.d.ts +1 -0
  182. package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -0
  183. package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
  184. package/lib/cascader/styles/light.d.ts +1 -0
  185. package/lib/checkbox/src/Checkbox.d.ts +12 -0
  186. package/lib/checkbox/src/Checkbox.js +14 -7
  187. package/lib/checkbox/src/styles/index.cssr.js +16 -8
  188. package/lib/checkbox/src/styles/rtl.cssr.d.ts +2 -0
  189. package/lib/checkbox/src/styles/rtl.cssr.js +11 -0
  190. package/lib/checkbox/styles/index.d.ts +1 -0
  191. package/lib/checkbox/styles/index.js +3 -1
  192. package/lib/checkbox/styles/light.d.ts +1 -0
  193. package/lib/checkbox/styles/light.js +2 -2
  194. package/lib/checkbox/styles/rtl.d.ts +2 -0
  195. package/lib/checkbox/styles/rtl.js +11 -0
  196. package/lib/code/src/Code.js +3 -1
  197. package/lib/collapse/src/Collapse.d.ts +1 -0
  198. package/lib/collapse/src/Collapse.js +9 -2
  199. package/lib/collapse/src/CollapseItem.d.ts +1 -0
  200. package/lib/collapse/src/CollapseItem.js +7 -2
  201. package/lib/collapse/src/styles/rtl.cssr.d.ts +2 -0
  202. package/lib/collapse/src/styles/rtl.cssr.js +22 -0
  203. package/lib/collapse/styles/index.d.ts +1 -0
  204. package/lib/collapse/styles/index.js +3 -1
  205. package/lib/collapse/styles/rtl.d.ts +2 -0
  206. package/lib/collapse/styles/rtl.js +11 -0
  207. package/lib/collapse-transition/src/CollapseTransition.d.ts +3 -1
  208. package/lib/collapse-transition/src/CollapseTransition.js +26 -13
  209. package/lib/config-provider/src/ConfigProvider.js +6 -0
  210. package/lib/config-provider/src/internal-interface.d.ts +1 -0
  211. package/lib/data-table/src/DataTable.d.ts +20 -0
  212. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  213. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  214. package/lib/data-table/src/TableParts/Body.d.ts +3 -0
  215. package/lib/data-table/src/TableParts/Cell.d.ts +4 -0
  216. package/lib/data-table/src/TableParts/Header.d.ts +2 -0
  217. package/lib/data-table/styles/light.d.ts +2 -0
  218. package/lib/date-picker/src/DatePicker.d.ts +7 -2
  219. package/lib/date-picker/src/DatePicker.js +79 -67
  220. package/lib/date-picker/src/panel/date.d.ts +6 -0
  221. package/lib/date-picker/src/panel/date.js +7 -2
  222. package/lib/date-picker/src/panel/daterange.d.ts +4 -0
  223. package/lib/date-picker/src/panel/daterange.js +7 -2
  224. package/lib/date-picker/src/panel/datetime.d.ts +6 -0
  225. package/lib/date-picker/src/panel/datetime.js +7 -2
  226. package/lib/date-picker/src/panel/datetimerange.d.ts +4 -0
  227. package/lib/date-picker/src/panel/datetimerange.js +7 -2
  228. package/lib/date-picker/src/panel/month.d.ts +6 -0
  229. package/lib/date-picker/src/panel/month.js +4 -2
  230. package/lib/date-picker/src/panel/panelHeader.d.ts +10 -0
  231. package/lib/date-picker/src/panel/use-calendar.d.ts +4 -0
  232. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
  233. package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -0
  234. package/lib/date-picker/src/panel/use-panel-common.js +3 -1
  235. package/lib/drawer/src/Drawer.d.ts +4 -1
  236. package/lib/drawer/src/Drawer.js +38 -26
  237. package/lib/dropdown/src/Dropdown.d.ts +7 -5
  238. package/lib/dropdown/src/Dropdown.js +58 -51
  239. package/lib/dynamic-input/src/DynamicInput.d.ts +3 -1
  240. package/lib/dynamic-input/src/DynamicInput.js +16 -9
  241. package/lib/form/src/FormItem.d.ts +3 -1
  242. package/lib/form/src/FormItem.js +39 -32
  243. package/lib/form/src/FormItemRow.js +1 -1
  244. package/lib/gradient-text/src/GradientText.d.ts +3 -1
  245. package/lib/gradient-text/src/GradientText.js +22 -14
  246. package/lib/icon/src/Icon.d.ts +3 -5
  247. package/lib/icon/src/Icon.js +28 -18
  248. package/lib/image/src/ImagePreview.d.ts +3 -1
  249. package/lib/image/src/ImagePreview.js +27 -14
  250. package/lib/input/src/Input.d.ts +4 -1
  251. package/lib/input/src/Input.js +27 -6
  252. package/lib/input/src/InputGroupLabel.d.ts +3 -1
  253. package/lib/input/src/InputGroupLabel.js +25 -18
  254. package/lib/input/src/styles/input.cssr.js +1 -0
  255. package/lib/input/src/styles/rtl.cssr.d.ts +2 -0
  256. package/lib/input/src/styles/rtl.cssr.js +23 -0
  257. package/lib/input/styles/index.d.ts +1 -0
  258. package/lib/input/styles/index.js +3 -1
  259. package/lib/input/styles/rtl.d.ts +2 -0
  260. package/lib/input/styles/rtl.js +11 -0
  261. package/lib/input-number/src/InputNumber.d.ts +1 -0
  262. package/lib/input-number/src/InputNumber.js +8 -3
  263. package/lib/input-number/src/styles/rtl.cssr.d.ts +2 -0
  264. package/lib/input-number/src/styles/rtl.cssr.js +11 -0
  265. package/lib/input-number/styles/index.d.ts +1 -0
  266. package/lib/input-number/styles/index.js +3 -1
  267. package/lib/input-number/styles/rtl.d.ts +2 -0
  268. package/lib/input-number/styles/rtl.js +14 -0
  269. package/lib/layout/src/Layout.d.ts +2 -0
  270. package/lib/layout/src/LayoutContent.d.ts +1 -0
  271. package/lib/layout/src/LayoutSider.d.ts +1 -0
  272. package/lib/legacy-grid/src/styles/index.cssr.js +1 -1
  273. package/lib/list/src/List.d.ts +3 -1
  274. package/lib/list/src/List.js +26 -18
  275. package/lib/loading-bar/src/LoadingBar.d.ts +3 -1
  276. package/lib/loading-bar/src/LoadingBar.js +28 -14
  277. package/lib/log/src/Log.d.ts +1 -0
  278. package/lib/mention/src/Mention.d.ts +3 -1
  279. package/lib/mention/src/Mention.js +19 -9
  280. package/lib/message/src/Message.d.ts +12 -24
  281. package/lib/message/src/Message.js +56 -39
  282. package/lib/message/src/MessageEnvironment.d.ts +9 -0
  283. package/lib/message/src/MessageEnvironment.js +1 -1
  284. package/lib/message/src/MessageProvider.d.ts +67 -0
  285. package/lib/message/src/MessageProvider.js +3 -0
  286. package/lib/message/src/message-props.d.ts +4 -0
  287. package/lib/message/src/message-props.js +4 -0
  288. package/lib/message/src/styles/index.cssr.js +2 -1
  289. package/lib/message/src/types.d.ts +3 -1
  290. package/lib/message/styles/light.d.ts +7 -0
  291. package/lib/message/styles/light.js +1 -1
  292. package/lib/modal/src/BodyWrapper.d.ts +1 -0
  293. package/lib/notification/src/Notification.d.ts +3 -1
  294. package/lib/notification/src/Notification.js +44 -32
  295. package/lib/notification/src/NotificationProvider.d.ts +1 -0
  296. package/lib/notification/src/NotificationProvider.js +1 -0
  297. package/lib/popconfirm/src/Popconfirm.d.ts +3 -2
  298. package/lib/popconfirm/src/Popconfirm.js +2 -1
  299. package/lib/popconfirm/src/PopconfirmPanel.d.ts +3 -1
  300. package/lib/popconfirm/src/PopconfirmPanel.js +30 -23
  301. package/lib/popconfirm/src/interface.d.ts +2 -0
  302. package/lib/popover/src/PopoverBody.d.ts +4 -0
  303. package/lib/popover/src/PopoverBody.js +3 -2
  304. package/lib/popover/src/styles/index.cssr.js +50 -29
  305. package/lib/radio/src/Radio.d.ts +7 -0
  306. package/lib/radio/src/Radio.js +13 -6
  307. package/lib/radio/src/RadioGroup.d.ts +9 -0
  308. package/lib/radio/src/styles/radio.cssr.js +16 -9
  309. package/lib/radio/styles/dark.js +2 -2
  310. package/lib/radio/styles/light.d.ts +1 -0
  311. package/lib/radio/styles/light.js +2 -2
  312. package/lib/scrollbar/src/ScrollBar.d.ts +1 -0
  313. package/lib/select/src/Select.d.ts +3 -1
  314. package/lib/select/src/Select.js +30 -22
  315. package/lib/slider/src/Slider.d.ts +6 -2
  316. package/lib/slider/src/Slider.js +73 -50
  317. package/lib/steps/src/Step.d.ts +3 -1
  318. package/lib/steps/src/Step.js +32 -20
  319. package/lib/styles.d.ts +4 -4
  320. package/lib/styles.js +6 -2
  321. package/lib/tabs/src/styles/index.cssr.js +2 -0
  322. package/lib/time-picker/src/Panel.js +4 -4
  323. package/lib/time-picker/src/TimePicker.d.ts +12 -4
  324. package/lib/time-picker/src/TimePicker.js +89 -34
  325. package/lib/timeline/src/Timeline.d.ts +9 -9
  326. package/lib/timeline/src/TimelineItem.d.ts +4 -2
  327. package/lib/timeline/src/TimelineItem.js +34 -20
  328. package/lib/timeline/styles/_common.d.ts +1 -1
  329. package/lib/timeline/styles/_common.js +1 -1
  330. package/lib/timeline/styles/light.d.ts +1 -1
  331. package/lib/transfer/src/Transfer.d.ts +10 -0
  332. package/lib/transfer/src/TransferFilter.d.ts +1 -0
  333. package/lib/transfer/src/TransferList.d.ts +2 -0
  334. package/lib/transfer/src/TransferListItem.d.ts +1 -0
  335. package/lib/transfer/styles/light.d.ts +1 -0
  336. package/lib/tree/src/Tree.d.ts +16 -3
  337. package/lib/tree/src/Tree.js +49 -27
  338. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
  339. package/lib/tree/styles/light.d.ts +1 -0
  340. package/lib/tree-select/src/TreeSelect.d.ts +23 -10
  341. package/lib/tree-select/src/TreeSelect.js +25 -16
  342. package/lib/tree-select/styles/light.d.ts +1 -0
  343. package/lib/upload/src/Upload.d.ts +3 -1
  344. package/lib/upload/src/Upload.js +22 -12
  345. package/lib/upload/src/UploadFileList.js +8 -3
  346. package/lib/upload/src/interface.d.ts +3 -1
  347. package/lib/version.d.ts +1 -1
  348. package/lib/version.js +1 -1
  349. package/package.json +2 -2
  350. package/web-types.json +1 -1
@@ -1859,6 +1859,8 @@ declare const _default: import("vue").DefineComponent<{
1859
1859
  }, any>;
1860
1860
  }>>>;
1861
1861
  }, {
1862
+ focus: () => void;
1863
+ blur: () => void;
1862
1864
  mergedStatus: import("vue").ComputedRef<import("../../form/src/interface").FormValidationStatus | undefined>;
1863
1865
  mergedBordered: import("vue").ComputedRef<boolean>;
1864
1866
  mergedClsPrefix: import("vue").ComputedRef<string>;
@@ -1880,6 +1882,7 @@ declare const _default: import("vue").DefineComponent<{
1880
1882
  panelInstRef: import("vue").Ref<{
1881
1883
  $el: HTMLElement;
1882
1884
  hourScrollRef?: {
1885
+ $el: HTMLElement;
1883
1886
  containerRef: HTMLElement | null;
1884
1887
  contentRef: HTMLElement | null;
1885
1888
  containerScrollTop: number;
@@ -1891,6 +1894,7 @@ declare const _default: import("vue").DefineComponent<{
1891
1894
  handleMouseLeaveWrapper: () => void;
1892
1895
  } | undefined;
1893
1896
  minuteScrollRef?: {
1897
+ $el: HTMLElement;
1894
1898
  containerRef: HTMLElement | null;
1895
1899
  contentRef: HTMLElement | null;
1896
1900
  containerScrollTop: number;
@@ -1902,6 +1906,7 @@ declare const _default: import("vue").DefineComponent<{
1902
1906
  handleMouseLeaveWrapper: () => void;
1903
1907
  } | undefined;
1904
1908
  secondScrollRef?: {
1909
+ $el: HTMLElement;
1905
1910
  containerRef: HTMLElement | null;
1906
1911
  contentRef: HTMLElement | null;
1907
1912
  containerScrollTop: number;
@@ -1913,6 +1918,7 @@ declare const _default: import("vue").DefineComponent<{
1913
1918
  handleMouseLeaveWrapper: () => void;
1914
1919
  } | undefined;
1915
1920
  amPmScrollRef?: {
1921
+ $el: HTMLElement;
1916
1922
  containerRef: HTMLElement | null;
1917
1923
  contentRef: HTMLElement | null;
1918
1924
  containerScrollTop: number;
@@ -2377,7 +2383,9 @@ declare const _default: import("vue").DefineComponent<{
2377
2383
  '--n-icon-color': string;
2378
2384
  '--n-icon-color-disabled': string;
2379
2385
  '--n-bezier': string;
2380
- }>;
2386
+ }> | undefined;
2387
+ triggerThemeClass: import("vue").Ref<string> | undefined;
2388
+ triggerOnRender: (() => void) | undefined;
2381
2389
  cssVars: import("vue").ComputedRef<{
2382
2390
  '--n-bezier': string;
2383
2391
  '--n-border-radius': string;
@@ -2393,9 +2401,9 @@ declare const _default: import("vue").DefineComponent<{
2393
2401
  '--n-panel-color': string;
2394
2402
  '--n-panel-divider-color': string;
2395
2403
  '--n-item-border-radius': string;
2396
- }>;
2397
- focus: () => void;
2398
- blur: () => void;
2404
+ }> | undefined;
2405
+ themeClass: import("vue").Ref<string> | undefined;
2406
+ onRender: (() => void) | undefined;
2399
2407
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2400
2408
  to: {
2401
2409
  type: PropType<string | boolean | HTMLElement>;
@@ -81,7 +81,7 @@ exports.default = (0, vue_1.defineComponent)({
81
81
  }
82
82
  });
83
83
  }
84
- const { mergedBorderedRef, mergedClsPrefixRef, namespaceRef } = (0, _mixins_1.useConfig)(props);
84
+ const { mergedBorderedRef, mergedClsPrefixRef, namespaceRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
85
85
  const { localeRef, dateLocaleRef } = (0, _mixins_1.useLocale)('TimePicker');
86
86
  const formItem = (0, _mixins_1.useFormItem)(props);
87
87
  const { mergedSizeRef, mergedDisabledRef, mergedStatusRef } = formItem;
@@ -518,8 +518,74 @@ exports.default = (0, vue_1.defineComponent)({
518
518
  (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.blur();
519
519
  }
520
520
  };
521
- return Object.assign(Object.assign({}, exposedMethods), { mergedStatus: mergedStatusRef, mergedBordered: mergedBorderedRef, mergedClsPrefix: mergedClsPrefixRef, namespace: namespaceRef, uncontrolledValue: uncontrolledValueRef, mergedValue: mergedValueRef, isMounted: (0, vooks_1.useIsMounted)(), inputInstRef,
522
- panelInstRef, adjustedTo: (0, _utils_1.useAdjustedTo)(props), mergedShow: mergedShowRef, localizedNow: localizedNowRef, localizedPlaceholder: localizedPlaceholderRef, localizedNegativeText: localizedNegativeTextRef, localizedPositiveText: localizedPositiveTextRef, hourInFormat: hourInFormatRef, minuteInFormat: minuteInFormatRef, secondInFormat: secondInFormatRef, mergedAttrSize: mergedAttrSizeRef, displayTimeString: displayTimeStringRef, mergedSize: mergedSizeRef, mergedDisabled: mergedDisabledRef, isValueInvalid: isValueInvalidRef, isHourInvalid: isHourInvalidRef, isMinuteInvalid: isMinuteInvalidRef, isSecondInvalid: isSecondInvalidRef, transitionDisabled: transitionDisabledRef, hourValue: hourValueRef, minuteValue: minuteValueRef, secondValue: secondValueRef, amPmValue: amPmValueRef, handleTimeInputFocus,
521
+ const triggerCssVarsRef = (0, vue_1.computed)(() => {
522
+ const { common: { cubicBezierEaseInOut }, self: { iconColor, iconColorDisabled } } = themeRef.value;
523
+ return {
524
+ '--n-icon-color': iconColor,
525
+ '--n-icon-color-disabled': iconColorDisabled,
526
+ '--n-bezier': cubicBezierEaseInOut
527
+ };
528
+ });
529
+ const triggerThemeClassHandle = inlineThemeDisabled
530
+ ? (0, _mixins_1.useThemeClass)('time-picker-trigger', undefined, triggerCssVarsRef, props)
531
+ : undefined;
532
+ const cssVarsRef = (0, vue_1.computed)(() => {
533
+ const { self: { panelColor, itemTextColor, itemTextColorActive, itemColorHover, panelDividerColor, panelBoxShadow, itemOpacityDisabled, borderRadius, itemFontSize, itemWidth, itemHeight, panelActionPadding, itemBorderRadius }, common: { cubicBezierEaseInOut } } = themeRef.value;
534
+ return {
535
+ '--n-bezier': cubicBezierEaseInOut,
536
+ '--n-border-radius': borderRadius,
537
+ '--n-item-color-hover': itemColorHover,
538
+ '--n-item-font-size': itemFontSize,
539
+ '--n-item-height': itemHeight,
540
+ '--n-item-opacity-disabled': itemOpacityDisabled,
541
+ '--n-item-text-color': itemTextColor,
542
+ '--n-item-text-color-active': itemTextColorActive,
543
+ '--n-item-width': itemWidth,
544
+ '--n-panel-action-padding': panelActionPadding,
545
+ '--n-panel-box-shadow': panelBoxShadow,
546
+ '--n-panel-color': panelColor,
547
+ '--n-panel-divider-color': panelDividerColor,
548
+ '--n-item-border-radius': itemBorderRadius
549
+ };
550
+ });
551
+ const themeClassHandle = inlineThemeDisabled
552
+ ? (0, _mixins_1.useThemeClass)('time-picker', undefined, cssVarsRef, props)
553
+ : undefined;
554
+ return {
555
+ focus: exposedMethods.focus,
556
+ blur: exposedMethods.blur,
557
+ mergedStatus: mergedStatusRef,
558
+ mergedBordered: mergedBorderedRef,
559
+ mergedClsPrefix: mergedClsPrefixRef,
560
+ namespace: namespaceRef,
561
+ uncontrolledValue: uncontrolledValueRef,
562
+ mergedValue: mergedValueRef,
563
+ isMounted: (0, vooks_1.useIsMounted)(),
564
+ inputInstRef,
565
+ panelInstRef,
566
+ adjustedTo: (0, _utils_1.useAdjustedTo)(props),
567
+ mergedShow: mergedShowRef,
568
+ localizedNow: localizedNowRef,
569
+ localizedPlaceholder: localizedPlaceholderRef,
570
+ localizedNegativeText: localizedNegativeTextRef,
571
+ localizedPositiveText: localizedPositiveTextRef,
572
+ hourInFormat: hourInFormatRef,
573
+ minuteInFormat: minuteInFormatRef,
574
+ secondInFormat: secondInFormatRef,
575
+ mergedAttrSize: mergedAttrSizeRef,
576
+ displayTimeString: displayTimeStringRef,
577
+ mergedSize: mergedSizeRef,
578
+ mergedDisabled: mergedDisabledRef,
579
+ isValueInvalid: isValueInvalidRef,
580
+ isHourInvalid: isHourInvalidRef,
581
+ isMinuteInvalid: isMinuteInvalidRef,
582
+ isSecondInvalid: isSecondInvalidRef,
583
+ transitionDisabled: transitionDisabledRef,
584
+ hourValue: hourValueRef,
585
+ minuteValue: minuteValueRef,
586
+ secondValue: secondValueRef,
587
+ amPmValue: amPmValueRef,
588
+ handleTimeInputFocus,
523
589
  handleTimeInputBlur,
524
590
  handleNowClick,
525
591
  handleConfirmClick,
@@ -536,36 +602,20 @@ exports.default = (0, vue_1.defineComponent)({
536
602
  handleTimeInputClear,
537
603
  handleFocusDetectorFocus,
538
604
  handleMenuKeyDown,
539
- handleTriggerClick, mergedTheme: themeRef, triggerCssVars: (0, vue_1.computed)(() => {
540
- const { common: { cubicBezierEaseInOut }, self: { iconColor, iconColorDisabled } } = themeRef.value;
541
- return {
542
- '--n-icon-color': iconColor,
543
- '--n-icon-color-disabled': iconColorDisabled,
544
- '--n-bezier': cubicBezierEaseInOut
545
- };
546
- }), cssVars: (0, vue_1.computed)(() => {
547
- const { self: { panelColor, itemTextColor, itemTextColorActive, itemColorHover, panelDividerColor, panelBoxShadow, itemOpacityDisabled, borderRadius, itemFontSize, itemWidth, itemHeight, panelActionPadding, itemBorderRadius }, common: { cubicBezierEaseInOut } } = themeRef.value;
548
- return {
549
- '--n-bezier': cubicBezierEaseInOut,
550
- '--n-border-radius': borderRadius,
551
- '--n-item-color-hover': itemColorHover,
552
- '--n-item-font-size': itemFontSize,
553
- '--n-item-height': itemHeight,
554
- '--n-item-opacity-disabled': itemOpacityDisabled,
555
- '--n-item-text-color': itemTextColor,
556
- '--n-item-text-color-active': itemTextColorActive,
557
- '--n-item-width': itemWidth,
558
- '--n-panel-action-padding': panelActionPadding,
559
- '--n-panel-box-shadow': panelBoxShadow,
560
- '--n-panel-color': panelColor,
561
- '--n-panel-divider-color': panelDividerColor,
562
- '--n-item-border-radius': itemBorderRadius
563
- };
564
- }) });
605
+ handleTriggerClick,
606
+ mergedTheme: themeRef,
607
+ triggerCssVars: inlineThemeDisabled ? undefined : triggerCssVarsRef,
608
+ triggerThemeClass: triggerThemeClassHandle === null || triggerThemeClassHandle === void 0 ? void 0 : triggerThemeClassHandle.themeClass,
609
+ triggerOnRender: triggerThemeClassHandle === null || triggerThemeClassHandle === void 0 ? void 0 : triggerThemeClassHandle.onRender,
610
+ cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
611
+ themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
612
+ onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
613
+ };
565
614
  },
566
615
  render() {
567
- const { mergedClsPrefix, $slots } = this;
568
- return ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-time-picker`, style: this.triggerCssVars },
616
+ const { mergedClsPrefix, $slots, triggerOnRender } = this;
617
+ triggerOnRender === null || triggerOnRender === void 0 ? void 0 : triggerOnRender();
618
+ return ((0, vue_1.h)("div", { class: [`${mergedClsPrefix}-time-picker`, this.triggerThemeClass], style: this.triggerCssVars },
569
619
  (0, vue_1.h)(vueuc_1.VBinder, null, {
570
620
  default: () => [
571
621
  (0, vue_1.h)(vueuc_1.VTarget, null, {
@@ -579,9 +629,14 @@ exports.default = (0, vue_1.defineComponent)({
579
629
  }),
580
630
  (0, vue_1.h)(vueuc_1.VFollower, { teleportDisabled: this.adjustedTo === _utils_1.useAdjustedTo.tdkey, show: this.mergedShow, to: this.adjustedTo, containerClass: this.namespace, placement: this.placement }, {
581
631
  default: () => ((0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted }, {
582
- default: () => this.mergedShow
583
- ? (0, vue_1.withDirectives)((0, vue_1.h)(Panel_1.default, { ref: "panelInstRef", actions: this.actions, style: this.cssVars, seconds: this.seconds, minutes: this.minutes, hours: this.hours, transitionDisabled: this.transitionDisabled, hourValue: this.hourValue, showHour: this.hourInFormat, isHourInvalid: this.isHourInvalid, isHourDisabled: this.isHourDisabled, minuteValue: this.minuteValue, showMinute: this.minuteInFormat, isMinuteInvalid: this.isMinuteInvalid, isMinuteDisabled: this.isMinuteDisabled, secondValue: this.secondValue, amPmValue: this.amPmValue, showSecond: this.secondInFormat, isSecondInvalid: this.isSecondInvalid, isSecondDisabled: this.isSecondDisabled, isValueInvalid: this.isValueInvalid, nowText: this.localizedNow, confirmText: this.localizedPositiveText, use12Hours: this.use12Hours, onFocusout: this.handleMenuFocusOut, onKeydown: this.handleMenuKeyDown, onHourClick: this.handleHourClick, onMinuteClick: this.handleMinuteClick, onSecondClick: this.handleSecondClick, onAmPmClick: this.handleAmPmClick, onNowClick: this.handleNowClick, onConfirmClick: this.handleConfirmClick, onFocusDetectorFocus: this.handleFocusDetectorFocus }), [[vdirs_1.clickoutside, this.handleClickOutside]])
584
- : null
632
+ default: () => {
633
+ var _a;
634
+ if (this.mergedShow) {
635
+ (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
636
+ return (0, vue_1.withDirectives)((0, vue_1.h)(Panel_1.default, { ref: "panelInstRef", actions: this.actions, class: this.themeClass, style: this.cssVars, seconds: this.seconds, minutes: this.minutes, hours: this.hours, transitionDisabled: this.transitionDisabled, hourValue: this.hourValue, showHour: this.hourInFormat, isHourInvalid: this.isHourInvalid, isHourDisabled: this.isHourDisabled, minuteValue: this.minuteValue, showMinute: this.minuteInFormat, isMinuteInvalid: this.isMinuteInvalid, isMinuteDisabled: this.isMinuteDisabled, secondValue: this.secondValue, amPmValue: this.amPmValue, showSecond: this.secondInFormat, isSecondInvalid: this.isSecondInvalid, isSecondDisabled: this.isSecondDisabled, isValueInvalid: this.isValueInvalid, nowText: this.localizedNow, confirmText: this.localizedPositiveText, use12Hours: this.use12Hours, onFocusout: this.handleMenuFocusOut, onKeydown: this.handleMenuKeyDown, onHourClick: this.handleHourClick, onMinuteClick: this.handleMinuteClick, onSecondClick: this.handleSecondClick, onAmPmClick: this.handleAmPmClick, onNowClick: this.handleNowClick, onConfirmClick: this.handleConfirmClick, onFocusDetectorFocus: this.handleFocusDetectorFocus }), [[vdirs_1.clickoutside, this.handleClickOutside]]);
637
+ }
638
+ return null;
639
+ }
585
640
  }))
586
641
  })
587
642
  ]
@@ -30,7 +30,7 @@ declare const timelineProps: {
30
30
  contentTextColor: string;
31
31
  metaTextColor: string;
32
32
  lineColor: string;
33
- titleMarginMedium: number;
33
+ titleMarginMedium: string;
34
34
  titleMarginLarge: string;
35
35
  titleFontSizeMedium: string;
36
36
  titleFontSizeLarge: string;
@@ -54,7 +54,7 @@ declare const timelineProps: {
54
54
  contentTextColor: string;
55
55
  metaTextColor: string;
56
56
  lineColor: string;
57
- titleMarginMedium: number;
57
+ titleMarginMedium: string;
58
58
  titleMarginLarge: string;
59
59
  titleFontSizeMedium: string;
60
60
  titleFontSizeLarge: string;
@@ -78,7 +78,7 @@ declare const timelineProps: {
78
78
  contentTextColor: string;
79
79
  metaTextColor: string;
80
80
  lineColor: string;
81
- titleMarginMedium: number;
81
+ titleMarginMedium: string;
82
82
  titleMarginLarge: string;
83
83
  titleFontSizeMedium: string;
84
84
  titleFontSizeLarge: string;
@@ -121,7 +121,7 @@ declare const _default: import("vue").DefineComponent<{
121
121
  contentTextColor: string;
122
122
  metaTextColor: string;
123
123
  lineColor: string;
124
- titleMarginMedium: number;
124
+ titleMarginMedium: string;
125
125
  titleMarginLarge: string;
126
126
  titleFontSizeMedium: string;
127
127
  titleFontSizeLarge: string;
@@ -145,7 +145,7 @@ declare const _default: import("vue").DefineComponent<{
145
145
  contentTextColor: string;
146
146
  metaTextColor: string;
147
147
  lineColor: string;
148
- titleMarginMedium: number;
148
+ titleMarginMedium: string;
149
149
  titleMarginLarge: string;
150
150
  titleFontSizeMedium: string;
151
151
  titleFontSizeLarge: string;
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{
169
169
  contentTextColor: string;
170
170
  metaTextColor: string;
171
171
  lineColor: string;
172
- titleMarginMedium: number;
172
+ titleMarginMedium: string;
173
173
  titleMarginLarge: string;
174
174
  titleFontSizeMedium: string;
175
175
  titleFontSizeLarge: string;
@@ -204,7 +204,7 @@ declare const _default: import("vue").DefineComponent<{
204
204
  contentTextColor: string;
205
205
  metaTextColor: string;
206
206
  lineColor: string;
207
- titleMarginMedium: number;
207
+ titleMarginMedium: string;
208
208
  titleMarginLarge: string;
209
209
  titleFontSizeMedium: string;
210
210
  titleFontSizeLarge: string;
@@ -228,7 +228,7 @@ declare const _default: import("vue").DefineComponent<{
228
228
  contentTextColor: string;
229
229
  metaTextColor: string;
230
230
  lineColor: string;
231
- titleMarginMedium: number;
231
+ titleMarginMedium: string;
232
232
  titleMarginLarge: string;
233
233
  titleFontSizeMedium: string;
234
234
  titleFontSizeLarge: string;
@@ -252,7 +252,7 @@ declare const _default: import("vue").DefineComponent<{
252
252
  contentTextColor: string;
253
253
  metaTextColor: string;
254
254
  lineColor: string;
255
- titleMarginMedium: number;
255
+ titleMarginMedium: string;
256
256
  titleMarginLarge: string;
257
257
  titleFontSizeMedium: string;
258
258
  titleFontSizeLarge: string;
@@ -32,10 +32,12 @@ declare const _default: import("vue").DefineComponent<{
32
32
  '--n-meta-text-color': string;
33
33
  '--n-title-font-size': string;
34
34
  '--n-title-font-weight': string;
35
- '--n-title-margin': string | number;
35
+ '--n-title-margin': string;
36
36
  '--n-title-text-color': string;
37
37
  '--n-icon-size': string;
38
- }>;
38
+ }> | undefined;
39
+ themeClass: import("vue").Ref<string> | undefined;
40
+ onRender: (() => void) | undefined;
39
41
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
42
  time: PropType<string | number>;
41
43
  title: StringConstructor;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const vue_1 = require("vue");
4
4
  const _utils_1 = require("../../_utils");
5
5
  const Timeline_1 = require("./Timeline");
6
+ const _mixins_1 = require("../../_mixins");
6
7
  const timelineItemProps = {
7
8
  time: [String, Number],
8
9
  title: String,
@@ -21,33 +22,46 @@ exports.default = (0, vue_1.defineComponent)({
21
22
  if (!NTimeline) {
22
23
  (0, _utils_1.throwError)('timeline-item', '`n-timeline-item` must be placed inside `n-timeline`.');
23
24
  }
25
+ const { inlineThemeDisabled } = (0, _mixins_1.useConfig)();
26
+ const cssVarsRef = (0, vue_1.computed)(() => {
27
+ const { props: { size, iconSize: iconSizeProp }, mergedThemeRef } = NTimeline;
28
+ const { type } = props;
29
+ const { self: { titleTextColor, contentTextColor, metaTextColor, lineColor, titleFontWeight, contentFontSize, [(0, _utils_1.createKey)('iconSize', size)]: iconSize, [(0, _utils_1.createKey)('titleMargin', size)]: titleMargin, [(0, _utils_1.createKey)('titleFontSize', size)]: titleFontSize, [(0, _utils_1.createKey)('circleBorder', type)]: circleBorder, [(0, _utils_1.createKey)('iconColor', type)]: iconColor }, common: { cubicBezierEaseInOut } } = mergedThemeRef.value;
30
+ return {
31
+ '--n-bezier': cubicBezierEaseInOut,
32
+ '--n-circle-border': circleBorder,
33
+ '--n-icon-color': iconColor,
34
+ '--n-content-font-size': contentFontSize,
35
+ '--n-content-text-color': contentTextColor,
36
+ '--n-line-color': lineColor,
37
+ '--n-meta-text-color': metaTextColor,
38
+ '--n-title-font-size': titleFontSize,
39
+ '--n-title-font-weight': titleFontWeight,
40
+ '--n-title-margin': titleMargin,
41
+ '--n-title-text-color': titleTextColor,
42
+ '--n-icon-size': (0, _utils_1.formatLength)(iconSizeProp) || iconSize
43
+ };
44
+ });
45
+ const themeClassHandle = inlineThemeDisabled
46
+ ? (0, _mixins_1.useThemeClass)('timeline-item', (0, vue_1.computed)(() => {
47
+ const { props: { size, iconSize: iconSizeProp } } = NTimeline;
48
+ const { type } = props;
49
+ return `${size[0]}${iconSizeProp || 'a'}${type[0]}`;
50
+ }), cssVarsRef, NTimeline.props)
51
+ : undefined;
24
52
  return {
25
53
  mergedClsPrefix: NTimeline.mergedClsPrefixRef,
26
- cssVars: (0, vue_1.computed)(() => {
27
- const { props: { size, iconSize: iconSizeProp }, mergedThemeRef } = NTimeline;
28
- const { type } = props;
29
- const { self: { titleTextColor, contentTextColor, metaTextColor, lineColor, titleFontWeight, contentFontSize, [(0, _utils_1.createKey)('iconSize', size)]: iconSize, [(0, _utils_1.createKey)('titleMargin', size)]: titleMargin, [(0, _utils_1.createKey)('titleFontSize', size)]: titleFontSize, [(0, _utils_1.createKey)('circleBorder', type)]: circleBorder, [(0, _utils_1.createKey)('iconColor', type)]: iconColor }, common: { cubicBezierEaseInOut } } = mergedThemeRef.value;
30
- return {
31
- '--n-bezier': cubicBezierEaseInOut,
32
- '--n-circle-border': circleBorder,
33
- '--n-icon-color': iconColor,
34
- '--n-content-font-size': contentFontSize,
35
- '--n-content-text-color': contentTextColor,
36
- '--n-line-color': lineColor,
37
- '--n-meta-text-color': metaTextColor,
38
- '--n-title-font-size': titleFontSize,
39
- '--n-title-font-weight': titleFontWeight,
40
- '--n-title-margin': titleMargin,
41
- '--n-title-text-color': titleTextColor,
42
- '--n-icon-size': (0, _utils_1.formatLength)(iconSizeProp) || iconSize
43
- };
44
- })
54
+ cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
55
+ themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
56
+ onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
45
57
  };
46
58
  },
47
59
  render() {
48
- const { mergedClsPrefix, color, $slots } = this;
60
+ const { mergedClsPrefix, color, onRender, $slots } = this;
61
+ onRender === null || onRender === void 0 ? void 0 : onRender();
49
62
  return ((0, vue_1.h)("div", { class: [
50
63
  `${mergedClsPrefix}-timeline-item`,
64
+ this.themeClass,
51
65
  `${mergedClsPrefix}-timeline-item--${this.type}-type`
52
66
  ], style: this.cssVars },
53
67
  (0, vue_1.h)("div", { class: `${mergedClsPrefix}-timeline-item-timeline` },
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- titleMarginMedium: number;
2
+ titleMarginMedium: string;
3
3
  titleMarginLarge: string;
4
4
  titleFontSizeMedium: string;
5
5
  titleFontSizeLarge: string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
- titleMarginMedium: 0,
4
+ titleMarginMedium: '0',
5
5
  titleMarginLarge: '-2px 0 0 0',
6
6
  titleFontSizeMedium: '14px',
7
7
  titleFontSizeLarge: '16px',
@@ -17,7 +17,7 @@ declare const self: (vars: ThemeCommonVars) => {
17
17
  contentTextColor: string;
18
18
  metaTextColor: string;
19
19
  lineColor: string;
20
- titleMarginMedium: number;
20
+ titleMarginMedium: string;
21
21
  titleMarginLarge: string;
22
22
  titleFontSizeMedium: string;
23
23
  titleFontSizeLarge: string;
@@ -59,6 +59,7 @@ declare const transferProps: {
59
59
  width: string;
60
60
  }, {
61
61
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
62
+ labelLineHeight: string;
62
63
  fontSizeSmall: string;
63
64
  fontSizeMedium: string;
64
65
  fontSizeLarge: string;
@@ -393,6 +394,7 @@ declare const transferProps: {
393
394
  width: string;
394
395
  }, {
395
396
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
397
+ labelLineHeight: string;
396
398
  fontSizeSmall: string;
397
399
  fontSizeMedium: string;
398
400
  fontSizeLarge: string;
@@ -727,6 +729,7 @@ declare const transferProps: {
727
729
  width: string;
728
730
  }, {
729
731
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
732
+ labelLineHeight: string;
730
733
  fontSizeSmall: string;
731
734
  fontSizeMedium: string;
732
735
  fontSizeLarge: string;
@@ -1095,6 +1098,7 @@ declare const _default: import("vue").DefineComponent<{
1095
1098
  width: string;
1096
1099
  }, {
1097
1100
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
1101
+ labelLineHeight: string;
1098
1102
  fontSizeSmall: string;
1099
1103
  fontSizeMedium: string;
1100
1104
  fontSizeLarge: string;
@@ -1429,6 +1433,7 @@ declare const _default: import("vue").DefineComponent<{
1429
1433
  width: string;
1430
1434
  }, {
1431
1435
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
1436
+ labelLineHeight: string;
1432
1437
  fontSizeSmall: string;
1433
1438
  fontSizeMedium: string;
1434
1439
  fontSizeLarge: string;
@@ -1763,6 +1768,7 @@ declare const _default: import("vue").DefineComponent<{
1763
1768
  width: string;
1764
1769
  }, {
1765
1770
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
1771
+ labelLineHeight: string;
1766
1772
  fontSizeSmall: string;
1767
1773
  fontSizeMedium: string;
1768
1774
  fontSizeLarge: string;
@@ -2212,6 +2218,7 @@ declare const _default: import("vue").DefineComponent<{
2212
2218
  };
2213
2219
  peers: {
2214
2220
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
2221
+ labelLineHeight: string;
2215
2222
  fontSizeSmall: string;
2216
2223
  fontSizeMedium: string;
2217
2224
  fontSizeLarge: string;
@@ -2643,6 +2650,7 @@ declare const _default: import("vue").DefineComponent<{
2643
2650
  width: string;
2644
2651
  }, {
2645
2652
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
2653
+ labelLineHeight: string;
2646
2654
  fontSizeSmall: string;
2647
2655
  fontSizeMedium: string;
2648
2656
  fontSizeLarge: string;
@@ -2977,6 +2985,7 @@ declare const _default: import("vue").DefineComponent<{
2977
2985
  width: string;
2978
2986
  }, {
2979
2987
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
2988
+ labelLineHeight: string;
2980
2989
  fontSizeSmall: string;
2981
2990
  fontSizeMedium: string;
2982
2991
  fontSizeLarge: string;
@@ -3311,6 +3320,7 @@ declare const _default: import("vue").DefineComponent<{
3311
3320
  width: string;
3312
3321
  }, {
3313
3322
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
3323
+ labelLineHeight: string;
3314
3324
  fontSizeSmall: string;
3315
3325
  fontSizeMedium: string;
3316
3326
  fontSizeLarge: string;
@@ -147,6 +147,7 @@ declare const _default: import("vue").DefineComponent<{
147
147
  };
148
148
  peers: {
149
149
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
150
+ labelLineHeight: string;
150
151
  fontSizeSmall: string;
151
152
  fontSizeMedium: string;
152
153
  fontSizeLarge: string;
@@ -160,6 +160,7 @@ declare const _default: import("vue").DefineComponent<{
160
160
  };
161
161
  peers: {
162
162
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
163
+ labelLineHeight: string;
163
164
  fontSizeSmall: string;
164
165
  fontSizeMedium: string;
165
166
  fontSizeLarge: string;
@@ -499,6 +500,7 @@ declare const _default: import("vue").DefineComponent<{
499
500
  }>;
500
501
  mergedClsPrefix: import("vue").Ref<string>;
501
502
  scrollerInstRef: import("vue").Ref<{
503
+ $el: HTMLElement;
502
504
  containerRef: HTMLElement | null;
503
505
  contentRef: HTMLElement | null;
504
506
  containerScrollTop: number;
@@ -147,6 +147,7 @@ declare const _default: import("vue").DefineComponent<{
147
147
  };
148
148
  peers: {
149
149
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
150
+ labelLineHeight: string;
150
151
  fontSizeSmall: string;
151
152
  fontSizeMedium: string;
152
153
  fontSizeLarge: string;
@@ -49,6 +49,7 @@ declare const transferLight: import("../../_mixins").Theme<"Transfer", {
49
49
  width: string;
50
50
  }, {
51
51
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
52
+ labelLineHeight: string;
52
53
  fontSizeSmall: string;
53
54
  fontSizeMedium: string;
54
55
  fontSizeLarge: string;
@@ -159,6 +159,7 @@ declare const treeProps: {
159
159
  dropMarkColor: string;
160
160
  }, {
161
161
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
162
+ labelLineHeight: string;
162
163
  fontSizeSmall: string;
163
164
  fontSizeMedium: string;
164
165
  fontSizeLarge: string;
@@ -204,6 +205,7 @@ declare const treeProps: {
204
205
  dropMarkColor: string;
205
206
  }, {
206
207
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
208
+ labelLineHeight: string;
207
209
  fontSizeSmall: string;
208
210
  fontSizeMedium: string;
209
211
  fontSizeLarge: string;
@@ -249,6 +251,7 @@ declare const treeProps: {
249
251
  dropMarkColor: string;
250
252
  }, {
251
253
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
254
+ labelLineHeight: string;
252
255
  fontSizeSmall: string;
253
256
  fontSizeMedium: string;
254
257
  fontSizeLarge: string;
@@ -409,6 +412,7 @@ declare const _default: import("vue").DefineComponent<{
409
412
  dropMarkColor: string;
410
413
  }, {
411
414
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
415
+ labelLineHeight: string;
412
416
  fontSizeSmall: string;
413
417
  fontSizeMedium: string;
414
418
  fontSizeLarge: string;
@@ -454,6 +458,7 @@ declare const _default: import("vue").DefineComponent<{
454
458
  dropMarkColor: string;
455
459
  }, {
456
460
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
461
+ labelLineHeight: string;
457
462
  fontSizeSmall: string;
458
463
  fontSizeMedium: string;
459
464
  fontSizeLarge: string;
@@ -499,6 +504,7 @@ declare const _default: import("vue").DefineComponent<{
499
504
  dropMarkColor: string;
500
505
  }, {
501
506
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
507
+ labelLineHeight: string;
502
508
  fontSizeSmall: string;
503
509
  fontSizeMedium: string;
504
510
  fontSizeLarge: string;
@@ -532,8 +538,6 @@ declare const _default: import("vue").DefineComponent<{
532
538
  }, any>;
533
539
  }>>>;
534
540
  }, {
535
- handleKeyup: (e: KeyboardEvent) => void;
536
- handleKeydown: (e: KeyboardEvent) => void;
537
541
  mergedClsPrefix: import("vue").ComputedRef<string>;
538
542
  mergedTheme: import("vue").ComputedRef<{
539
543
  common: {
@@ -653,6 +657,7 @@ declare const _default: import("vue").DefineComponent<{
653
657
  };
654
658
  peers: {
655
659
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
660
+ labelLineHeight: string;
656
661
  fontSizeSmall: string;
657
662
  fontSizeMedium: string;
658
663
  fontSizeLarge: string;
@@ -952,6 +957,7 @@ declare const _default: import("vue").DefineComponent<{
952
957
  scrollTo: import("vueuc/lib/virtual-list/src/VirtualList").ScrollTo;
953
958
  } | null>;
954
959
  scrollbarInstRef: import("vue").Ref<{
960
+ $el: HTMLElement;
955
961
  containerRef: HTMLElement | null;
956
962
  contentRef: HTMLElement | null;
957
963
  containerScrollTop: number;
@@ -969,6 +975,8 @@ declare const _default: import("vue").DefineComponent<{
969
975
  getScrollContent: () => HTMLElement | null | undefined;
970
976
  handleAfterEnter: () => void;
971
977
  handleResize: () => void;
978
+ handleKeydown: (e: KeyboardEvent) => void;
979
+ handleKeyup: (e: KeyboardEvent) => void;
972
980
  cssVars: import("vue").ComputedRef<{
973
981
  '--n-arrow-color': string;
974
982
  '--n-loading-color': string;
@@ -981,7 +989,9 @@ declare const _default: import("vue").DefineComponent<{
981
989
  '--n-node-text-color': string;
982
990
  '--n-node-text-color-disabled': string;
983
991
  '--n-drop-mark-color': string;
984
- }>;
992
+ }> | undefined;
993
+ themeClass: import("vue").Ref<string> | undefined;
994
+ onRender: (() => void) | undefined;
985
995
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
986
996
  readonly internalScrollable: BooleanConstructor;
987
997
  readonly internalScrollablePadding: StringConstructor;
@@ -1108,6 +1118,7 @@ declare const _default: import("vue").DefineComponent<{
1108
1118
  dropMarkColor: string;
1109
1119
  }, {
1110
1120
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
1121
+ labelLineHeight: string;
1111
1122
  fontSizeSmall: string;
1112
1123
  fontSizeMedium: string;
1113
1124
  fontSizeLarge: string;
@@ -1153,6 +1164,7 @@ declare const _default: import("vue").DefineComponent<{
1153
1164
  dropMarkColor: string;
1154
1165
  }, {
1155
1166
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
1167
+ labelLineHeight: string;
1156
1168
  fontSizeSmall: string;
1157
1169
  fontSizeMedium: string;
1158
1170
  fontSizeLarge: string;
@@ -1198,6 +1210,7 @@ declare const _default: import("vue").DefineComponent<{
1198
1210
  dropMarkColor: string;
1199
1211
  }, {
1200
1212
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
1213
+ labelLineHeight: string;
1201
1214
  fontSizeSmall: string;
1202
1215
  fontSizeMedium: string;
1203
1216
  fontSizeLarge: string;