naive-ui 2.32.0 → 2.32.2

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 (432) hide show
  1. package/README.zh-CN.md +1 -1
  2. package/dist/index.js +46388 -42920
  3. package/dist/index.prod.js +2 -2
  4. package/es/_internal/scrollbar/src/Scrollbar.js +2 -1
  5. package/es/_internal/select-menu/styles/light.js +1 -1
  6. package/es/_internal/selection/src/Selection.js +1 -1
  7. package/es/_utils/cssr/index.js +4 -4
  8. package/es/alert/src/Alert.d.ts +14 -0
  9. package/es/alert/src/Alert.js +11 -2
  10. package/es/alert/src/styles/index.cssr.js +11 -2
  11. package/es/alert/styles/dark.js +5 -1
  12. package/es/anchor/styles/light.js +2 -1
  13. package/es/auto-complete/src/AutoComplete.d.ts +14 -1
  14. package/es/auto-complete/src/AutoComplete.js +22 -16
  15. package/es/auto-complete/styles/light.d.ts +1 -0
  16. package/es/breadcrumb/styles/light.js +1 -1
  17. package/es/button/styles/light.js +5 -1
  18. package/es/card/styles/light.js +1 -1
  19. package/es/carousel/src/Carousel.js +7 -5
  20. package/es/cascader/src/Cascader.d.ts +13 -0
  21. package/es/cascader/src/Cascader.js +12 -4
  22. package/es/checkbox/src/CheckboxGroup.js +2 -2
  23. package/es/checkbox/styles/light.js +1 -1
  24. package/es/collapse/src/Collapse.d.ts +22 -0
  25. package/es/collapse/src/Collapse.js +4 -2
  26. package/es/collapse/src/CollapseItem.d.ts +6 -1
  27. package/es/collapse/src/CollapseItem.js +4 -2
  28. package/es/collapse/src/styles/index.cssr.js +10 -21
  29. package/es/collapse/styles/light.d.ts +2 -0
  30. package/es/collapse/styles/light.js +5 -3
  31. package/es/color-picker/src/ColorInputUnit.d.ts +1 -0
  32. package/es/color-picker/src/ColorPicker.d.ts +9 -0
  33. package/es/color-picker/src/ColorPicker.js +3 -2
  34. package/es/color-picker/styles/light.d.ts +1 -0
  35. package/es/countdown/src/Countdown.js +1 -1
  36. package/es/data-table/src/DataTable.d.ts +18 -0
  37. package/es/data-table/src/DataTable.js +6 -3
  38. package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  39. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +4 -2
  40. package/es/data-table/src/TableParts/Body.d.ts +6 -0
  41. package/es/data-table/src/TableParts/Body.js +22 -14
  42. package/es/data-table/src/TableParts/Cell.d.ts +4 -0
  43. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +7 -1
  44. package/es/data-table/src/TableParts/ExpandTrigger.js +15 -9
  45. package/es/data-table/src/TableParts/Header.d.ts +3 -1
  46. package/es/data-table/src/interface.d.ts +6 -3
  47. package/es/data-table/src/styles/index.cssr.js +25 -7
  48. package/es/data-table/src/use-expand.d.ts +3 -1
  49. package/es/data-table/src/use-expand.js +15 -8
  50. package/es/data-table/src/use-group-header.js +1 -1
  51. package/es/data-table/src/use-sorter.js +1 -1
  52. package/es/data-table/src/use-table-data.js +1 -1
  53. package/es/data-table/styles/light.d.ts +1 -0
  54. package/es/date-picker/src/DatePicker.d.ts +23 -2
  55. package/es/date-picker/src/DatePicker.js +4 -4
  56. package/es/date-picker/src/panel/date.d.ts +6 -3
  57. package/es/date-picker/src/panel/daterange.d.ts +3 -0
  58. package/es/date-picker/src/panel/datetime.d.ts +3 -0
  59. package/es/date-picker/src/panel/datetimerange.d.ts +3 -0
  60. package/es/date-picker/src/panel/month.d.ts +3 -0
  61. package/es/date-picker/src/panel/monthrange.d.ts +3 -0
  62. package/es/date-picker/src/panel/panelHeader.d.ts +6 -0
  63. package/es/date-picker/src/panel/panelHeader.js +3 -1
  64. package/es/date-picker/src/panel/use-calendar.d.ts +3 -0
  65. package/es/date-picker/src/panel/use-dual-calendar.d.ts +3 -0
  66. package/es/date-picker/src/panel/use-panel-common.d.ts +3 -0
  67. package/es/date-picker/src/styles/index.cssr.js +6 -6
  68. package/es/date-picker/styles/light.d.ts +2 -0
  69. package/es/descriptions/styles/light.js +1 -1
  70. package/es/drawer/src/Drawer.d.ts +8 -8
  71. package/es/drawer/src/Drawer.js +3 -3
  72. package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -0
  73. package/es/drawer/src/DrawerBodyWrapper.js +6 -0
  74. package/es/drawer/src/styles/rtl.cssr.d.ts +2 -0
  75. package/es/drawer/src/styles/rtl.cssr.js +8 -0
  76. package/es/drawer/styles/index.d.ts +1 -0
  77. package/es/drawer/styles/index.js +1 -0
  78. package/es/drawer/styles/rtl.d.ts +3 -0
  79. package/es/drawer/styles/rtl.js +8 -0
  80. package/es/dropdown/src/Dropdown.js +6 -6
  81. package/es/dropdown/src/styles/index.cssr.js +35 -33
  82. package/es/dynamic-input/src/DynamicInput.d.ts +10 -0
  83. package/es/dynamic-input/src/InputPreset.d.ts +1 -0
  84. package/es/dynamic-input/src/PairPreset.d.ts +1 -0
  85. package/es/dynamic-input/styles/light.d.ts +1 -0
  86. package/es/dynamic-tags/src/DynamicTags.d.ts +10 -0
  87. package/es/dynamic-tags/styles/light.d.ts +1 -0
  88. package/es/empty/styles/light.js +1 -1
  89. package/es/grid/src/Grid.d.ts +5 -0
  90. package/es/grid/src/Grid.js +18 -0
  91. package/es/grid/src/GridItem.d.ts +2 -0
  92. package/es/grid/src/GridItem.js +15 -2
  93. package/es/input/src/Input.d.ts +21 -1
  94. package/es/input/src/Input.js +23 -6
  95. package/es/input/src/InputGroupLabel.d.ts +9 -0
  96. package/es/input/src/styles/input.cssr.d.ts +1 -0
  97. package/es/input/src/styles/input.cssr.js +12 -4
  98. package/es/input/styles/dark.js +1 -1
  99. package/es/input/styles/light.d.ts +1 -0
  100. package/es/input/styles/light.js +1 -1
  101. package/es/input-number/src/InputNumber.d.ts +15 -5
  102. package/es/input-number/src/InputNumber.js +6 -8
  103. package/es/input-number/src/interface.d.ts +1 -0
  104. package/es/input-number/styles/light.d.ts +1 -0
  105. package/es/layout/src/Layout.js +3 -1
  106. package/es/legacy-grid/src/Row.js +2 -2
  107. package/es/legacy-transfer/src/Transfer.d.ts +10 -0
  108. package/es/legacy-transfer/src/TransferFilter.d.ts +1 -0
  109. package/es/legacy-transfer/src/TransferList.d.ts +1 -0
  110. package/es/legacy-transfer/src/TransferListItem.d.ts +1 -0
  111. package/es/legacy-transfer/styles/light.d.ts +1 -0
  112. package/es/list/src/List.d.ts +47 -3
  113. package/es/list/src/List.js +17 -7
  114. package/es/list/src/ListItem.d.ts +1 -0
  115. package/es/list/src/ListItem.js +3 -1
  116. package/es/list/src/styles/index.cssr.js +35 -12
  117. package/es/list/src/styles/rtl.cssr.d.ts +2 -0
  118. package/es/list/src/styles/rtl.cssr.js +11 -0
  119. package/es/list/styles/index.d.ts +1 -0
  120. package/es/list/styles/index.js +1 -0
  121. package/es/list/styles/light.d.ts +3 -0
  122. package/es/list/styles/light.js +4 -1
  123. package/es/list/styles/rtl.d.ts +2 -0
  124. package/es/list/styles/rtl.js +5 -0
  125. package/es/locales/common/viVN.js +7 -9
  126. package/es/mention/src/Mention.d.ts +10 -0
  127. package/es/mention/styles/light.d.ts +1 -0
  128. package/es/menu/src/Menu.d.ts +13 -0
  129. package/es/menu/src/Menu.js +4 -1
  130. package/es/menu/src/Submenu.js +1 -1
  131. package/es/menu/src/utils.d.ts +1 -1
  132. package/es/menu/src/utils.js +5 -1
  133. package/es/message/src/Message.d.ts +1 -0
  134. package/es/message/src/Message.js +8 -3
  135. package/es/message/src/styles/rtl.cssr.d.ts +2 -0
  136. package/es/message/src/styles/rtl.cssr.js +8 -0
  137. package/es/message/styles/index.d.ts +1 -0
  138. package/es/message/styles/index.js +1 -0
  139. package/es/message/styles/light.js +4 -1
  140. package/es/message/styles/rtl.d.ts +2 -0
  141. package/es/message/styles/rtl.js +5 -0
  142. package/es/modal/src/Modal.js +2 -1
  143. package/es/notification/styles/light.js +3 -1
  144. package/es/number-animation/src/NumberAnimation.js +1 -1
  145. package/es/pagination/src/Pagination.d.ts +31 -26
  146. package/es/pagination/src/Pagination.js +207 -164
  147. package/es/pagination/src/styles/index.cssr.js +7 -1
  148. package/es/pagination/styles/light.d.ts +1 -0
  149. package/es/popover/src/Popover.js +2 -2
  150. package/es/popover/src/PopoverBody.js +3 -2
  151. package/es/popselect/src/Popselect.d.ts +3 -3
  152. package/es/radio/styles/dark.js +1 -1
  153. package/es/radio/styles/light.js +1 -1
  154. package/es/select/index.d.ts +1 -1
  155. package/es/select/src/Select.d.ts +4 -1
  156. package/es/select/src/Select.js +4 -4
  157. package/es/skeleton/src/Skeleton.js +1 -1
  158. package/es/slider/styles/dark.js +2 -1
  159. package/es/slider/styles/light.js +2 -1
  160. package/es/statistic/src/Statistic.d.ts +10 -0
  161. package/es/statistic/src/Statistic.js +2 -1
  162. package/es/statistic/src/styles/index.cssr.js +4 -3
  163. package/es/statistic/styles/light.d.ts +1 -0
  164. package/es/statistic/styles/light.js +1 -0
  165. package/es/steps/src/Steps.d.ts +1 -0
  166. package/es/steps/src/Steps.js +6 -3
  167. package/es/steps/src/styles/rtl.cssr.d.ts +2 -0
  168. package/es/steps/src/styles/rtl.cssr.js +14 -0
  169. package/es/steps/styles/index.d.ts +1 -0
  170. package/es/steps/styles/index.js +1 -0
  171. package/es/steps/styles/rtl.d.ts +2 -0
  172. package/es/steps/styles/rtl.js +5 -0
  173. package/es/styles.d.ts +4 -3
  174. package/es/styles.js +4 -3
  175. package/es/switch/src/Switch.js +32 -5
  176. package/es/switch/src/styles/index.cssr.js +2 -2
  177. package/es/tag/src/Tag.d.ts +4 -4
  178. package/es/tag/src/Tag.js +3 -3
  179. package/es/tag/src/styles/index.cssr.js +0 -1
  180. package/es/tag/styles/light.js +4 -1
  181. package/es/thing/src/Thing.d.ts +19 -21
  182. package/es/thing/src/Thing.js +4 -7
  183. package/es/time-picker/src/Panel.d.ts +1 -0
  184. package/es/time-picker/src/TimePicker.d.ts +12 -2
  185. package/es/time-picker/src/TimePicker.js +4 -4
  186. package/es/time-picker/src/styles/index.cssr.js +12 -12
  187. package/es/time-picker/styles/light.d.ts +1 -0
  188. package/es/timeline/src/TimelineItem.js +1 -1
  189. package/es/tooltip/styles/dark.js +1 -1
  190. package/es/tooltip/styles/light.js +1 -1
  191. package/es/transfer/src/Transfer.d.ts +37 -6
  192. package/es/transfer/src/Transfer.js +32 -23
  193. package/es/transfer/src/TransferFilter.d.ts +1 -0
  194. package/es/transfer/src/TransferList.d.ts +1 -0
  195. package/es/transfer/src/TransferList.js +1 -1
  196. package/es/transfer/src/TransferListItem.d.ts +1 -0
  197. package/es/transfer/src/interface.d.ts +1 -1
  198. package/es/transfer/src/use-transfer-data.d.ts +11 -4
  199. package/es/transfer/src/use-transfer-data.js +59 -16
  200. package/es/transfer/styles/light.d.ts +1 -0
  201. package/es/tree/index.d.ts +1 -1
  202. package/es/tree/src/Tree.d.ts +34 -1
  203. package/es/tree/src/Tree.js +25 -11
  204. package/es/tree/src/interface.d.ts +5 -0
  205. package/es/tree/src/keyboard.d.ts +4 -1
  206. package/es/tree/src/keyboard.js +3 -1
  207. package/es/tree-select/src/TreeSelect.d.ts +13 -0
  208. package/es/tree-select/src/TreeSelect.js +4 -4
  209. package/es/typography/styles/light.js +1 -1
  210. package/es/upload/src/Upload.d.ts +10 -0
  211. package/es/upload/src/Upload.js +1 -1
  212. package/es/upload/src/UploadFile.js +4 -2
  213. package/es/upload/src/utils.d.ts +1 -0
  214. package/es/upload/src/utils.js +12 -0
  215. package/es/version.d.ts +1 -1
  216. package/es/version.js +1 -1
  217. package/lib/_internal/scrollbar/src/Scrollbar.js +2 -1
  218. package/lib/_internal/select-menu/styles/light.js +1 -1
  219. package/lib/_internal/selection/src/Selection.js +1 -1
  220. package/lib/_utils/cssr/index.js +2 -2
  221. package/lib/alert/src/Alert.d.ts +14 -0
  222. package/lib/alert/src/Alert.js +11 -2
  223. package/lib/alert/src/styles/index.cssr.js +11 -2
  224. package/lib/alert/styles/dark.js +5 -1
  225. package/lib/anchor/styles/light.js +2 -1
  226. package/lib/auto-complete/src/AutoComplete.d.ts +14 -1
  227. package/lib/auto-complete/src/AutoComplete.js +22 -16
  228. package/lib/auto-complete/styles/light.d.ts +1 -0
  229. package/lib/breadcrumb/styles/light.js +1 -1
  230. package/lib/button/styles/light.js +5 -1
  231. package/lib/card/styles/light.js +1 -1
  232. package/lib/carousel/src/Carousel.js +7 -5
  233. package/lib/cascader/src/Cascader.d.ts +13 -0
  234. package/lib/cascader/src/Cascader.js +11 -3
  235. package/lib/checkbox/src/CheckboxGroup.js +2 -2
  236. package/lib/checkbox/styles/light.js +1 -1
  237. package/lib/collapse/src/Collapse.d.ts +22 -0
  238. package/lib/collapse/src/Collapse.js +4 -2
  239. package/lib/collapse/src/CollapseItem.d.ts +6 -1
  240. package/lib/collapse/src/CollapseItem.js +4 -2
  241. package/lib/collapse/src/styles/index.cssr.js +10 -21
  242. package/lib/collapse/styles/light.d.ts +2 -0
  243. package/lib/collapse/styles/light.js +5 -3
  244. package/lib/color-picker/src/ColorInputUnit.d.ts +1 -0
  245. package/lib/color-picker/src/ColorPicker.d.ts +9 -0
  246. package/lib/color-picker/src/ColorPicker.js +2 -1
  247. package/lib/color-picker/styles/light.d.ts +1 -0
  248. package/lib/countdown/src/Countdown.js +1 -1
  249. package/lib/data-table/src/DataTable.d.ts +18 -0
  250. package/lib/data-table/src/DataTable.js +6 -3
  251. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  252. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +4 -2
  253. package/lib/data-table/src/TableParts/Body.d.ts +6 -0
  254. package/lib/data-table/src/TableParts/Body.js +22 -14
  255. package/lib/data-table/src/TableParts/Cell.d.ts +4 -0
  256. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +7 -1
  257. package/lib/data-table/src/TableParts/ExpandTrigger.js +15 -9
  258. package/lib/data-table/src/TableParts/Header.d.ts +3 -1
  259. package/lib/data-table/src/interface.d.ts +6 -3
  260. package/lib/data-table/src/styles/index.cssr.js +25 -7
  261. package/lib/data-table/src/use-expand.d.ts +3 -1
  262. package/lib/data-table/src/use-expand.js +15 -8
  263. package/lib/data-table/src/use-group-header.js +1 -1
  264. package/lib/data-table/src/use-sorter.js +1 -1
  265. package/lib/data-table/src/use-table-data.js +1 -1
  266. package/lib/data-table/styles/light.d.ts +1 -0
  267. package/lib/date-picker/src/DatePicker.d.ts +23 -2
  268. package/lib/date-picker/src/DatePicker.js +3 -3
  269. package/lib/date-picker/src/panel/date.d.ts +6 -3
  270. package/lib/date-picker/src/panel/daterange.d.ts +3 -0
  271. package/lib/date-picker/src/panel/datetime.d.ts +3 -0
  272. package/lib/date-picker/src/panel/datetimerange.d.ts +3 -0
  273. package/lib/date-picker/src/panel/month.d.ts +3 -0
  274. package/lib/date-picker/src/panel/monthrange.d.ts +3 -0
  275. package/lib/date-picker/src/panel/panelHeader.d.ts +6 -0
  276. package/lib/date-picker/src/panel/panelHeader.js +3 -1
  277. package/lib/date-picker/src/panel/use-calendar.d.ts +3 -0
  278. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +3 -0
  279. package/lib/date-picker/src/panel/use-panel-common.d.ts +3 -0
  280. package/lib/date-picker/src/styles/index.cssr.js +6 -6
  281. package/lib/date-picker/styles/light.d.ts +2 -0
  282. package/lib/descriptions/styles/light.js +1 -1
  283. package/lib/drawer/src/Drawer.d.ts +8 -8
  284. package/lib/drawer/src/Drawer.js +3 -3
  285. package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -0
  286. package/lib/drawer/src/DrawerBodyWrapper.js +6 -0
  287. package/lib/drawer/src/styles/rtl.cssr.d.ts +2 -0
  288. package/lib/drawer/src/styles/rtl.cssr.js +15 -0
  289. package/lib/drawer/styles/index.d.ts +1 -0
  290. package/lib/drawer/styles/index.js +3 -1
  291. package/lib/drawer/styles/rtl.d.ts +3 -0
  292. package/lib/drawer/styles/rtl.js +14 -0
  293. package/lib/dropdown/src/Dropdown.js +6 -6
  294. package/lib/dropdown/src/styles/index.cssr.js +35 -33
  295. package/lib/dynamic-input/src/DynamicInput.d.ts +10 -0
  296. package/lib/dynamic-input/src/InputPreset.d.ts +1 -0
  297. package/lib/dynamic-input/src/PairPreset.d.ts +1 -0
  298. package/lib/dynamic-input/styles/light.d.ts +1 -0
  299. package/lib/dynamic-tags/src/DynamicTags.d.ts +10 -0
  300. package/lib/dynamic-tags/styles/light.d.ts +1 -0
  301. package/lib/empty/styles/light.js +1 -1
  302. package/lib/grid/src/Grid.d.ts +5 -0
  303. package/lib/grid/src/Grid.js +18 -0
  304. package/lib/grid/src/GridItem.d.ts +2 -0
  305. package/lib/grid/src/GridItem.js +14 -1
  306. package/lib/input/src/Input.d.ts +21 -1
  307. package/lib/input/src/Input.js +45 -5
  308. package/lib/input/src/InputGroupLabel.d.ts +9 -0
  309. package/lib/input/src/styles/input.cssr.d.ts +1 -0
  310. package/lib/input/src/styles/input.cssr.js +13 -4
  311. package/lib/input/styles/dark.js +1 -1
  312. package/lib/input/styles/light.d.ts +1 -0
  313. package/lib/input/styles/light.js +1 -1
  314. package/lib/input-number/src/InputNumber.d.ts +15 -5
  315. package/lib/input-number/src/InputNumber.js +6 -8
  316. package/lib/input-number/src/interface.d.ts +1 -0
  317. package/lib/input-number/styles/light.d.ts +1 -0
  318. package/lib/layout/src/Layout.js +3 -1
  319. package/lib/legacy-grid/src/Row.js +2 -2
  320. package/lib/legacy-transfer/src/Transfer.d.ts +10 -0
  321. package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -0
  322. package/lib/legacy-transfer/src/TransferList.d.ts +1 -0
  323. package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -0
  324. package/lib/legacy-transfer/styles/light.d.ts +1 -0
  325. package/lib/list/src/List.d.ts +47 -3
  326. package/lib/list/src/List.js +15 -5
  327. package/lib/list/src/ListItem.d.ts +1 -0
  328. package/lib/list/src/ListItem.js +3 -1
  329. package/lib/list/src/styles/index.cssr.js +35 -12
  330. package/lib/list/src/styles/rtl.cssr.d.ts +2 -0
  331. package/lib/list/src/styles/rtl.cssr.js +18 -0
  332. package/lib/list/styles/index.d.ts +1 -0
  333. package/lib/list/styles/index.js +3 -1
  334. package/lib/list/styles/light.d.ts +3 -0
  335. package/lib/list/styles/light.js +4 -1
  336. package/lib/list/styles/rtl.d.ts +2 -0
  337. package/lib/list/styles/rtl.js +11 -0
  338. package/lib/locales/common/viVN.js +7 -9
  339. package/lib/mention/src/Mention.d.ts +10 -0
  340. package/lib/mention/styles/light.d.ts +1 -0
  341. package/lib/menu/src/Menu.d.ts +13 -0
  342. package/lib/menu/src/Menu.js +4 -1
  343. package/lib/menu/src/Submenu.js +1 -1
  344. package/lib/menu/src/utils.d.ts +1 -1
  345. package/lib/menu/src/utils.js +5 -1
  346. package/lib/message/src/Message.d.ts +1 -0
  347. package/lib/message/src/Message.js +7 -2
  348. package/lib/message/src/styles/rtl.cssr.d.ts +2 -0
  349. package/lib/message/src/styles/rtl.cssr.js +15 -0
  350. package/lib/message/styles/index.d.ts +1 -0
  351. package/lib/message/styles/index.js +3 -1
  352. package/lib/message/styles/light.js +4 -1
  353. package/lib/message/styles/rtl.d.ts +2 -0
  354. package/lib/message/styles/rtl.js +11 -0
  355. package/lib/modal/src/Modal.js +2 -1
  356. package/lib/notification/styles/light.js +3 -1
  357. package/lib/number-animation/src/NumberAnimation.js +1 -1
  358. package/lib/pagination/src/Pagination.d.ts +31 -26
  359. package/lib/pagination/src/Pagination.js +206 -163
  360. package/lib/pagination/src/styles/index.cssr.js +7 -1
  361. package/lib/pagination/styles/light.d.ts +1 -0
  362. package/lib/popover/src/Popover.js +2 -2
  363. package/lib/popover/src/PopoverBody.js +3 -2
  364. package/lib/popselect/src/Popselect.d.ts +3 -3
  365. package/lib/radio/styles/dark.js +1 -1
  366. package/lib/radio/styles/light.js +1 -1
  367. package/lib/select/index.d.ts +1 -1
  368. package/lib/select/src/Select.d.ts +4 -1
  369. package/lib/select/src/Select.js +3 -3
  370. package/lib/skeleton/src/Skeleton.js +1 -1
  371. package/lib/slider/styles/dark.js +2 -1
  372. package/lib/slider/styles/light.js +2 -1
  373. package/lib/statistic/src/Statistic.d.ts +10 -0
  374. package/lib/statistic/src/Statistic.js +2 -1
  375. package/lib/statistic/src/styles/index.cssr.js +4 -3
  376. package/lib/statistic/styles/light.d.ts +1 -0
  377. package/lib/statistic/styles/light.js +1 -0
  378. package/lib/steps/src/Steps.d.ts +1 -0
  379. package/lib/steps/src/Steps.js +5 -2
  380. package/lib/steps/src/styles/rtl.cssr.d.ts +2 -0
  381. package/lib/steps/src/styles/rtl.cssr.js +21 -0
  382. package/lib/steps/styles/index.d.ts +1 -0
  383. package/lib/steps/styles/index.js +3 -1
  384. package/lib/steps/styles/rtl.d.ts +2 -0
  385. package/lib/steps/styles/rtl.js +11 -0
  386. package/lib/styles.d.ts +4 -3
  387. package/lib/styles.js +154 -149
  388. package/lib/switch/src/Switch.js +32 -5
  389. package/lib/switch/src/styles/index.cssr.js +2 -2
  390. package/lib/tag/src/Tag.d.ts +4 -4
  391. package/lib/tag/src/Tag.js +3 -3
  392. package/lib/tag/src/styles/index.cssr.js +0 -1
  393. package/lib/tag/styles/light.js +4 -1
  394. package/lib/thing/src/Thing.d.ts +19 -21
  395. package/lib/thing/src/Thing.js +4 -7
  396. package/lib/time-picker/src/Panel.d.ts +1 -0
  397. package/lib/time-picker/src/TimePicker.d.ts +12 -2
  398. package/lib/time-picker/src/TimePicker.js +3 -3
  399. package/lib/time-picker/src/styles/index.cssr.js +12 -12
  400. package/lib/time-picker/styles/light.d.ts +1 -0
  401. package/lib/timeline/src/TimelineItem.js +1 -1
  402. package/lib/tooltip/styles/dark.js +1 -1
  403. package/lib/tooltip/styles/light.js +1 -1
  404. package/lib/transfer/src/Transfer.d.ts +37 -6
  405. package/lib/transfer/src/Transfer.js +32 -23
  406. package/lib/transfer/src/TransferFilter.d.ts +1 -0
  407. package/lib/transfer/src/TransferList.d.ts +1 -0
  408. package/lib/transfer/src/TransferList.js +1 -1
  409. package/lib/transfer/src/TransferListItem.d.ts +1 -0
  410. package/lib/transfer/src/interface.d.ts +1 -1
  411. package/lib/transfer/src/use-transfer-data.d.ts +11 -4
  412. package/lib/transfer/src/use-transfer-data.js +59 -16
  413. package/lib/transfer/styles/light.d.ts +1 -0
  414. package/lib/tree/index.d.ts +1 -1
  415. package/lib/tree/src/Tree.d.ts +34 -1
  416. package/lib/tree/src/Tree.js +25 -11
  417. package/lib/tree/src/interface.d.ts +5 -0
  418. package/lib/tree/src/keyboard.d.ts +4 -1
  419. package/lib/tree/src/keyboard.js +3 -1
  420. package/lib/tree-select/src/TreeSelect.d.ts +13 -0
  421. package/lib/tree-select/src/TreeSelect.js +3 -3
  422. package/lib/typography/styles/light.js +1 -1
  423. package/lib/upload/src/Upload.d.ts +10 -0
  424. package/lib/upload/src/Upload.js +1 -1
  425. package/lib/upload/src/UploadFile.js +3 -1
  426. package/lib/upload/src/utils.d.ts +1 -0
  427. package/lib/upload/src/utils.js +14 -1
  428. package/lib/version.d.ts +1 -1
  429. package/lib/version.js +1 -1
  430. package/package.json +25 -19
  431. package/volar.d.ts +1 -1
  432. package/web-types.json +210 -3
@@ -33,27 +33,33 @@ export declare const collapseProps: {
33
33
  titleFontWeight: string;
34
34
  dividerColor: string;
35
35
  titleTextColor: string;
36
+ titleTextColorDisabled: string;
36
37
  fontSize: string;
37
38
  textColor: string;
38
39
  arrowColor: string;
40
+ arrowColorDisabled: string;
39
41
  }, any>>;
40
42
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
41
43
  titleFontSize: string;
42
44
  titleFontWeight: string;
43
45
  dividerColor: string;
44
46
  titleTextColor: string;
47
+ titleTextColorDisabled: string;
45
48
  fontSize: string;
46
49
  textColor: string;
47
50
  arrowColor: string;
51
+ arrowColorDisabled: string;
48
52
  }, any>>>;
49
53
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
50
54
  titleFontSize: string;
51
55
  titleFontWeight: string;
52
56
  dividerColor: string;
53
57
  titleTextColor: string;
58
+ titleTextColorDisabled: string;
54
59
  fontSize: string;
55
60
  textColor: string;
56
61
  arrowColor: string;
62
+ arrowColorDisabled: string;
57
63
  }, any>>>;
58
64
  };
59
65
  export declare type CollapseProps = ExtractPublicPropTypes<typeof collapseProps>;
@@ -96,27 +102,33 @@ declare const _default: import("vue").DefineComponent<{
96
102
  titleFontWeight: string;
97
103
  dividerColor: string;
98
104
  titleTextColor: string;
105
+ titleTextColorDisabled: string;
99
106
  fontSize: string;
100
107
  textColor: string;
101
108
  arrowColor: string;
109
+ arrowColorDisabled: string;
102
110
  }, any>>;
103
111
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
104
112
  titleFontSize: string;
105
113
  titleFontWeight: string;
106
114
  dividerColor: string;
107
115
  titleTextColor: string;
116
+ titleTextColorDisabled: string;
108
117
  fontSize: string;
109
118
  textColor: string;
110
119
  arrowColor: string;
120
+ arrowColorDisabled: string;
111
121
  }, any>>>;
112
122
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
113
123
  titleFontSize: string;
114
124
  titleFontWeight: string;
115
125
  dividerColor: string;
116
126
  titleTextColor: string;
127
+ titleTextColorDisabled: string;
117
128
  fontSize: string;
118
129
  textColor: string;
119
130
  arrowColor: string;
131
+ arrowColorDisabled: string;
120
132
  }, any>>>;
121
133
  }, {
122
134
  rtlEnabled: Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
@@ -231,9 +243,11 @@ declare const _default: import("vue").DefineComponent<{
231
243
  titleFontWeight: string;
232
244
  dividerColor: string;
233
245
  titleTextColor: string;
246
+ titleTextColorDisabled: string;
234
247
  fontSize: string;
235
248
  textColor: string;
236
249
  arrowColor: string;
250
+ arrowColorDisabled: string;
237
251
  };
238
252
  peers: any;
239
253
  peerOverrides: {
@@ -248,8 +262,10 @@ declare const _default: import("vue").DefineComponent<{
248
262
  '--n-divider-color': string;
249
263
  '--n-title-font-size': string;
250
264
  '--n-title-text-color': string;
265
+ '--n-title-text-color-disabled': string;
251
266
  '--n-title-font-weight': string;
252
267
  '--n-arrow-color': string;
268
+ '--n-arrow-color-disabled': string;
253
269
  }> | undefined;
254
270
  themeClass: Ref<string> | undefined;
255
271
  onRender: (() => void) | undefined;
@@ -284,27 +300,33 @@ declare const _default: import("vue").DefineComponent<{
284
300
  titleFontWeight: string;
285
301
  dividerColor: string;
286
302
  titleTextColor: string;
303
+ titleTextColorDisabled: string;
287
304
  fontSize: string;
288
305
  textColor: string;
289
306
  arrowColor: string;
307
+ arrowColorDisabled: string;
290
308
  }, any>>;
291
309
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
292
310
  titleFontSize: string;
293
311
  titleFontWeight: string;
294
312
  dividerColor: string;
295
313
  titleTextColor: string;
314
+ titleTextColorDisabled: string;
296
315
  fontSize: string;
297
316
  textColor: string;
298
317
  arrowColor: string;
318
+ arrowColorDisabled: string;
299
319
  }, any>>>;
300
320
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
301
321
  titleFontSize: string;
302
322
  titleFontWeight: string;
303
323
  dividerColor: string;
304
324
  titleTextColor: string;
325
+ titleTextColorDisabled: string;
305
326
  fontSize: string;
306
327
  textColor: string;
307
328
  arrowColor: string;
329
+ arrowColorDisabled: string;
308
330
  }, any>>>;
309
331
  }>>, {
310
332
  readonly displayDirective: "show" | "if";
@@ -107,7 +107,7 @@ exports.default = (0, vue_1.defineComponent)({
107
107
  });
108
108
  const rtlEnabledRef = (0, use_rtl_1.useRtl)('Collapse', mergedRtlRef, mergedClsPrefixRef);
109
109
  const cssVarsRef = (0, vue_1.computed)(() => {
110
- const { common: { cubicBezierEaseInOut }, self: { titleFontWeight, dividerColor, titleTextColor, textColor, arrowColor, fontSize, titleFontSize } } = themeRef.value;
110
+ const { common: { cubicBezierEaseInOut }, self: { titleFontWeight, dividerColor, titleTextColor, titleTextColorDisabled, textColor, arrowColor, fontSize, titleFontSize, arrowColorDisabled } } = themeRef.value;
111
111
  return {
112
112
  '--n-font-size': fontSize,
113
113
  '--n-bezier': cubicBezierEaseInOut,
@@ -115,8 +115,10 @@ exports.default = (0, vue_1.defineComponent)({
115
115
  '--n-divider-color': dividerColor,
116
116
  '--n-title-font-size': titleFontSize,
117
117
  '--n-title-text-color': titleTextColor,
118
+ '--n-title-text-color-disabled': titleTextColorDisabled,
118
119
  '--n-title-font-weight': titleFontWeight,
119
- '--n-arrow-color': arrowColor
120
+ '--n-arrow-color': arrowColor,
121
+ '--n-arrow-color-disabled': arrowColorDisabled
120
122
  };
121
123
  });
122
124
  const themeClassHandle = inlineThemeDisabled
@@ -3,12 +3,14 @@ import { ExtractPublicPropTypes } from '../../_utils';
3
3
  export declare const collapseItemProps: {
4
4
  readonly title: StringConstructor;
5
5
  readonly name: PropType<string | number>;
6
+ readonly disabled: BooleanConstructor;
6
7
  readonly displayDirective: PropType<"show" | "if">;
7
8
  };
8
9
  export declare type CollapseItemProps = ExtractPublicPropTypes<typeof collapseItemProps>;
9
10
  declare const _default: import("vue").DefineComponent<{
10
11
  readonly title: StringConstructor;
11
12
  readonly name: PropType<string | number>;
13
+ readonly disabled: BooleanConstructor;
12
14
  readonly displayDirective: PropType<"show" | "if">;
13
15
  }, {
14
16
  rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
@@ -24,6 +26,9 @@ declare const _default: import("vue").DefineComponent<{
24
26
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
27
  readonly title: StringConstructor;
26
28
  readonly name: PropType<string | number>;
29
+ readonly disabled: BooleanConstructor;
27
30
  readonly displayDirective: PropType<"show" | "if">;
28
- }>>, {}>;
31
+ }>>, {
32
+ readonly disabled: boolean;
33
+ }>;
29
34
  export default _default;
@@ -17,6 +17,7 @@ const _mixins_1 = require("../../_mixins");
17
17
  exports.collapseItemProps = {
18
18
  title: String,
19
19
  name: [String, Number],
20
+ disabled: Boolean,
20
21
  displayDirective: String
21
22
  };
22
23
  exports.default = (0, vue_1.defineComponent)({
@@ -66,7 +67,7 @@ exports.default = (0, vue_1.defineComponent)({
66
67
  return collapseProps.arrowPlacement;
67
68
  }),
68
69
  handleClick(e) {
69
- if (NCollapse) {
70
+ if (NCollapse && !props.disabled) {
70
71
  NCollapse.toggleItem(collapsedRef.value, mergedNameRef.value, e);
71
72
  }
72
73
  }
@@ -74,13 +75,14 @@ exports.default = (0, vue_1.defineComponent)({
74
75
  },
75
76
  render() {
76
77
  var _a;
77
- const { collapseSlots, $slots, arrowPlacement, collapsed, mergedDisplayDirective, mergedClsPrefix } = this;
78
+ const { collapseSlots, $slots, arrowPlacement, collapsed, mergedDisplayDirective, mergedClsPrefix, disabled } = this;
78
79
  const headerNode = $slots.header ? $slots.header() : this.title;
79
80
  const headerExtraSlot = $slots['header-extra'] || collapseSlots['header-extra'];
80
81
  const arrowSlot = $slots.arrow || collapseSlots.arrow;
81
82
  return ((0, vue_1.h)("div", { class: [
82
83
  `${mergedClsPrefix}-collapse-item`,
83
84
  `${mergedClsPrefix}-collapse-item--${arrowPlacement}-arrow-placement`,
85
+ disabled && `${mergedClsPrefix}-collapse-item--disabled`,
84
86
  !collapsed && `${mergedClsPrefix}-collapse-item--active`
85
87
  ] },
86
88
  (0, vue_1.h)("div", { class: [
@@ -15,34 +15,24 @@ const fade_in_height_expand_cssr_1 = require("../../../_styles/transitions/fade-
15
15
  // --n-title-text-color
16
16
  // --n-title-font-weight
17
17
  // --n-arrow-color
18
+ // --n-arrow-color-disabled
19
+ // --n-title-text-color-disabled
18
20
 
19
21
 
20
- exports.default = (0, cssr_1.cB)('collapse', {
21
- width: '100%'
22
- }, [(0, cssr_1.cB)('collapse-item', `
22
+ exports.default = (0, cssr_1.cB)('collapse', 'width: 100%;', [(0, cssr_1.cB)('collapse-item', `
23
23
  font-size: var(--n-font-size);
24
24
  color: var(--n-text-color);
25
25
  transition:
26
26
  color .3s var(--n-bezier),
27
27
  border-color .3s var(--n-bezier);
28
28
  margin: 16px 0 0 0;
29
- `, [(0, cssr_1.cB)('collapse-item', 'margin-left: 32px;'), (0, cssr_1.c)('&:first-child', {
30
- marginTop: 0
31
- }), (0, cssr_1.c)('&:first-child >', [(0, cssr_1.cE)('header', {
32
- paddingTop: 0
33
- })]), (0, cssr_1.cM)('left-arrow-placement', [(0, cssr_1.cE)('header', [(0, cssr_1.cB)('collapse-item-arrow', {
34
- marginRight: '4px'
35
- })])]), (0, cssr_1.cM)('right-arrow-placement', [(0, cssr_1.cE)('header', [(0, cssr_1.cB)('collapse-item-arrow', {
36
- marginLeft: '4px'
37
- })])]), (0, cssr_1.cE)('content-wrapper', [(0, cssr_1.cE)('content-inner', {
38
- paddingTop: '16px'
39
- }), (0, fade_in_height_expand_cssr_1.fadeInHeightExpandTransition)({
29
+ `, [(0, cssr_1.cM)('disabled', [(0, cssr_1.cE)('header', 'cursor: not-allowed;', [(0, cssr_1.cE)('header-main', `
30
+ color: var(--n-title-text-color-disabled);
31
+ `), (0, cssr_1.cB)('collapse-item-arrow', `
32
+ color: var(--n-arrow-color-disabled);
33
+ `)])]), (0, cssr_1.cB)('collapse-item', 'margin-left: 32px;'), (0, cssr_1.c)('&:first-child', 'margin-top: 0;'), (0, cssr_1.c)('&:first-child >', [(0, cssr_1.cE)('header', 'padding-top: 0;')]), (0, cssr_1.cM)('left-arrow-placement', [(0, cssr_1.cE)('header', [(0, cssr_1.cB)('collapse-item-arrow', 'margin-right: 4px;')])]), (0, cssr_1.cM)('right-arrow-placement', [(0, cssr_1.cE)('header', [(0, cssr_1.cB)('collapse-item-arrow', 'margin-left: 4px;')])]), (0, cssr_1.cE)('content-wrapper', [(0, cssr_1.cE)('content-inner', 'padding-top: 16px;'), (0, fade_in_height_expand_cssr_1.fadeInHeightExpandTransition)({
40
34
  duration: '0.15s'
41
- })]), (0, cssr_1.cM)('active', [(0, cssr_1.cE)('header', [(0, cssr_1.cM)('active', [(0, cssr_1.cB)('collapse-item-arrow', {
42
- transform: 'rotate(90deg)'
43
- })])])]), (0, cssr_1.c)('&:not(:first-child)', {
44
- borderTop: '1px solid var(--n-divider-color)'
45
- }), (0, cssr_1.cE)('header', `
35
+ })]), (0, cssr_1.cM)('active', [(0, cssr_1.cE)('header', [(0, cssr_1.cM)('active', [(0, cssr_1.cB)('collapse-item-arrow', 'transform: rotate(90deg);')])])]), (0, cssr_1.c)('&:not(:first-child)', 'border-top: 1px solid var(--n-divider-color);'), (0, cssr_1.cE)('header', `
46
36
  font-size: var(--n-title-font-size);
47
37
  display: flex;
48
38
  flex-wrap: nowrap;
@@ -51,8 +41,8 @@ exports.default = (0, cssr_1.cB)('collapse', {
51
41
  position: relative;
52
42
  padding: 16px 0 0 0;
53
43
  color: var(--n-title-text-color);
54
- `, [(0, cssr_1.cE)('header-main', `
55
44
  cursor: pointer;
45
+ `, [(0, cssr_1.cE)('header-main', `
56
46
  display: flex;
57
47
  flex-wrap: nowrap;
58
48
  align-items: center;
@@ -61,7 +51,6 @@ exports.default = (0, cssr_1.cB)('collapse', {
61
51
  flex: 1;
62
52
  color: var(--n-title-text-color);
63
53
  `), (0, cssr_1.cE)('header-extra', `
64
- cursor: pointer;
65
54
  display: flex;
66
55
  align-items: center;
67
56
  transition: color .3s var(--n-bezier);
@@ -5,9 +5,11 @@ export declare const self: (vars: ThemeCommonVars) => {
5
5
  titleFontWeight: string;
6
6
  dividerColor: string;
7
7
  titleTextColor: string;
8
+ titleTextColorDisabled: string;
8
9
  fontSize: string;
9
10
  textColor: string;
10
11
  arrowColor: string;
12
+ arrowColorDisabled: string;
11
13
  };
12
14
  export declare type CollapseThemeVars = ReturnType<typeof self>;
13
15
  declare const collapseLight: Theme<'Collapse', CollapseThemeVars>;
@@ -3,15 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.self = void 0;
4
4
  const common_1 = require("../../_styles/common");
5
5
  const self = (vars) => {
6
- const { fontWeight, textColor1, textColor2, dividerColor, fontSize } = vars;
6
+ const { fontWeight, textColor1, textColor2, textColorDisabled, dividerColor, fontSize } = vars;
7
7
  return {
8
8
  titleFontSize: fontSize,
9
9
  titleFontWeight: fontWeight,
10
- dividerColor: dividerColor,
10
+ dividerColor,
11
11
  titleTextColor: textColor1,
12
+ titleTextColorDisabled: textColorDisabled,
12
13
  fontSize,
13
14
  textColor: textColor2,
14
- arrowColor: textColor2
15
+ arrowColor: textColor2,
16
+ arrowColorDisabled: textColorDisabled
15
17
  };
16
18
  };
17
19
  exports.self = self;
@@ -137,6 +137,7 @@ declare const _default: import("vue").DefineComponent<{
137
137
  };
138
138
  peers: {
139
139
  Input: import("../../_mixins").Theme<"Input", {
140
+ countTextColorDisabled: string;
140
141
  countTextColor: string;
141
142
  heightTiny: string;
142
143
  heightSmall: string;
@@ -63,6 +63,7 @@ export declare const colorPickerProps: {
63
63
  dividerColor: string;
64
64
  }, {
65
65
  Input: import("../../_mixins").Theme<"Input", {
66
+ countTextColorDisabled: string;
66
67
  countTextColor: string;
67
68
  heightTiny: string;
68
69
  heightSmall: string;
@@ -343,6 +344,7 @@ export declare const colorPickerProps: {
343
344
  dividerColor: string;
344
345
  }, {
345
346
  Input: import("../../_mixins").Theme<"Input", {
347
+ countTextColorDisabled: string;
346
348
  countTextColor: string;
347
349
  heightTiny: string;
348
350
  heightSmall: string;
@@ -623,6 +625,7 @@ export declare const colorPickerProps: {
623
625
  dividerColor: string;
624
626
  }, {
625
627
  Input: import("../../_mixins").Theme<"Input", {
628
+ countTextColorDisabled: string;
626
629
  countTextColor: string;
627
630
  heightTiny: string;
628
631
  heightSmall: string;
@@ -948,6 +951,7 @@ declare const _default: import("vue").DefineComponent<{
948
951
  dividerColor: string;
949
952
  }, {
950
953
  Input: import("../../_mixins").Theme<"Input", {
954
+ countTextColorDisabled: string;
951
955
  countTextColor: string;
952
956
  heightTiny: string;
953
957
  heightSmall: string;
@@ -1228,6 +1232,7 @@ declare const _default: import("vue").DefineComponent<{
1228
1232
  dividerColor: string;
1229
1233
  }, {
1230
1234
  Input: import("../../_mixins").Theme<"Input", {
1235
+ countTextColorDisabled: string;
1231
1236
  countTextColor: string;
1232
1237
  heightTiny: string;
1233
1238
  heightSmall: string;
@@ -1508,6 +1513,7 @@ declare const _default: import("vue").DefineComponent<{
1508
1513
  dividerColor: string;
1509
1514
  }, {
1510
1515
  Input: import("../../_mixins").Theme<"Input", {
1516
+ countTextColorDisabled: string;
1511
1517
  countTextColor: string;
1512
1518
  heightTiny: string;
1513
1519
  heightSmall: string;
@@ -1859,6 +1865,7 @@ declare const _default: import("vue").DefineComponent<{
1859
1865
  dividerColor: string;
1860
1866
  }, {
1861
1867
  Input: import("../../_mixins").Theme<"Input", {
1868
+ countTextColorDisabled: string;
1862
1869
  countTextColor: string;
1863
1870
  heightTiny: string;
1864
1871
  heightSmall: string;
@@ -2139,6 +2146,7 @@ declare const _default: import("vue").DefineComponent<{
2139
2146
  dividerColor: string;
2140
2147
  }, {
2141
2148
  Input: import("../../_mixins").Theme<"Input", {
2149
+ countTextColorDisabled: string;
2142
2150
  countTextColor: string;
2143
2151
  heightTiny: string;
2144
2152
  heightSmall: string;
@@ -2419,6 +2427,7 @@ declare const _default: import("vue").DefineComponent<{
2419
2427
  dividerColor: string;
2420
2428
  }, {
2421
2429
  Input: import("../../_mixins").Theme<"Input", {
2430
+ countTextColorDisabled: string;
2422
2431
  countTextColor: string;
2423
2432
  heightTiny: string;
2424
2433
  heightSmall: string;
@@ -411,8 +411,9 @@ exports.default = (0, vue_1.defineComponent)({
411
411
  },
412
412
  handleClickOutside(e) {
413
413
  var _a;
414
- if ((_a = selfRef.value) === null || _a === void 0 ? void 0 : _a.contains(e.target))
414
+ if ((_a = selfRef.value) === null || _a === void 0 ? void 0 : _a.contains((0, seemly_1.getPreciseEventTarget)(e))) {
415
415
  return;
416
+ }
416
417
  doUpdateShow(false);
417
418
  },
418
419
  renderPanel,
@@ -31,6 +31,7 @@ declare const colorPickerLight: import("../../_mixins/use-theme").Theme<"ColorPi
31
31
  dividerColor: string;
32
32
  }, {
33
33
  Input: import("../../_mixins/use-theme").Theme<"Input", {
34
+ countTextColorDisabled: string;
34
35
  countTextColor: string;
35
36
  heightTiny: string;
36
37
  heightSmall: string;
@@ -65,8 +65,8 @@ exports.default = (0, vue_1.defineComponent)({
65
65
  distanceRef.value = 0;
66
66
  stopTimer();
67
67
  if (!finished) {
68
- (_a = props.onFinish) === null || _a === void 0 ? void 0 : _a.call(props);
69
68
  finished = true;
69
+ (_a = props.onFinish) === null || _a === void 0 ? void 0 : _a.call(props);
70
70
  }
71
71
  return;
72
72
  }
@@ -57,6 +57,7 @@ export declare const dataTableProps: {
57
57
  };
58
58
  readonly defaultExpandAll: BooleanConstructor;
59
59
  readonly expandedRowKeys: PropType<RowKey[]>;
60
+ readonly stickyExpandedRows: BooleanConstructor;
60
61
  readonly virtualScroll: BooleanConstructor;
61
62
  readonly tableLayout: {
62
63
  readonly type: PropType<"fixed" | "auto">;
@@ -81,6 +82,7 @@ export declare const dataTableProps: {
81
82
  readonly default: "current";
82
83
  };
83
84
  readonly renderCell: PropType<(value: any, rowData: object, column: TableBaseColumn) => VNodeChild>;
85
+ readonly renderExpandIcon: PropType<() => VNodeChild>;
84
86
  readonly onLoad: PropType<DataTableOnLoad>;
85
87
  readonly 'onUpdate:page': PropType<MaybeArray<(page: number) => void> | undefined>;
86
88
  readonly onUpdatePage: PropType<MaybeArray<(page: number) => void> | undefined>;
@@ -618,6 +620,7 @@ export declare const dataTableProps: {
618
620
  }>;
619
621
  }>;
620
622
  Input: import("../../_mixins").Theme<"Input", {
623
+ countTextColorDisabled: string;
621
624
  countTextColor: string;
622
625
  heightTiny: string;
623
626
  heightSmall: string;
@@ -1323,6 +1326,7 @@ export declare const dataTableProps: {
1323
1326
  }>;
1324
1327
  }>;
1325
1328
  Input: import("../../_mixins").Theme<"Input", {
1329
+ countTextColorDisabled: string;
1326
1330
  countTextColor: string;
1327
1331
  heightTiny: string;
1328
1332
  heightSmall: string;
@@ -2028,6 +2032,7 @@ export declare const dataTableProps: {
2028
2032
  }>;
2029
2033
  }>;
2030
2034
  Input: import("../../_mixins").Theme<"Input", {
2035
+ countTextColorDisabled: string;
2031
2036
  countTextColor: string;
2032
2037
  heightTiny: string;
2033
2038
  heightSmall: string;
@@ -2273,6 +2278,7 @@ declare const _default: import("vue").DefineComponent<{
2273
2278
  };
2274
2279
  readonly defaultExpandAll: BooleanConstructor;
2275
2280
  readonly expandedRowKeys: PropType<RowKey[]>;
2281
+ readonly stickyExpandedRows: BooleanConstructor;
2276
2282
  readonly virtualScroll: BooleanConstructor;
2277
2283
  readonly tableLayout: {
2278
2284
  readonly type: PropType<"fixed" | "auto">;
@@ -2297,6 +2303,7 @@ declare const _default: import("vue").DefineComponent<{
2297
2303
  readonly default: "current";
2298
2304
  };
2299
2305
  readonly renderCell: PropType<(value: any, rowData: object, column: TableBaseColumn<import("./interface").InternalRowData>) => VNodeChild>;
2306
+ readonly renderExpandIcon: PropType<() => VNodeChild>;
2300
2307
  readonly onLoad: PropType<DataTableOnLoad>;
2301
2308
  readonly 'onUpdate:page': PropType<MaybeArray<(page: number) => void> | undefined>;
2302
2309
  readonly onUpdatePage: PropType<MaybeArray<(page: number) => void> | undefined>;
@@ -2834,6 +2841,7 @@ declare const _default: import("vue").DefineComponent<{
2834
2841
  }>;
2835
2842
  }>;
2836
2843
  Input: import("../../_mixins").Theme<"Input", {
2844
+ countTextColorDisabled: string;
2837
2845
  countTextColor: string;
2838
2846
  heightTiny: string;
2839
2847
  heightSmall: string;
@@ -3539,6 +3547,7 @@ declare const _default: import("vue").DefineComponent<{
3539
3547
  }>;
3540
3548
  }>;
3541
3549
  Input: import("../../_mixins").Theme<"Input", {
3550
+ countTextColorDisabled: string;
3542
3551
  countTextColor: string;
3543
3552
  heightTiny: string;
3544
3553
  heightSmall: string;
@@ -4244,6 +4253,7 @@ declare const _default: import("vue").DefineComponent<{
4244
4253
  }>;
4245
4254
  }>;
4246
4255
  Input: import("../../_mixins").Theme<"Input", {
4256
+ countTextColorDisabled: string;
4247
4257
  countTextColor: string;
4248
4258
  heightTiny: string;
4249
4259
  heightSmall: string;
@@ -5071,6 +5081,7 @@ declare const _default: import("vue").DefineComponent<{
5071
5081
  }>;
5072
5082
  }>;
5073
5083
  Input: import("../../_mixins").Theme<"Input", {
5084
+ countTextColorDisabled: string;
5074
5085
  countTextColor: string;
5075
5086
  heightTiny: string;
5076
5087
  heightSmall: string;
@@ -5403,6 +5414,7 @@ declare const _default: import("vue").DefineComponent<{
5403
5414
  }>;
5404
5415
  }>> | undefined;
5405
5416
  Input?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
5417
+ countTextColorDisabled: string;
5406
5418
  countTextColor: string;
5407
5419
  heightTiny: string;
5408
5420
  heightSmall: string;
@@ -5681,6 +5693,7 @@ declare const _default: import("vue").DefineComponent<{
5681
5693
  };
5682
5694
  readonly defaultExpandAll: BooleanConstructor;
5683
5695
  readonly expandedRowKeys: PropType<RowKey[]>;
5696
+ readonly stickyExpandedRows: BooleanConstructor;
5684
5697
  readonly virtualScroll: BooleanConstructor;
5685
5698
  readonly tableLayout: {
5686
5699
  readonly type: PropType<"fixed" | "auto">;
@@ -5705,6 +5718,7 @@ declare const _default: import("vue").DefineComponent<{
5705
5718
  readonly default: "current";
5706
5719
  };
5707
5720
  readonly renderCell: PropType<(value: any, rowData: object, column: TableBaseColumn<import("./interface").InternalRowData>) => VNodeChild>;
5721
+ readonly renderExpandIcon: PropType<() => VNodeChild>;
5708
5722
  readonly onLoad: PropType<DataTableOnLoad>;
5709
5723
  readonly 'onUpdate:page': PropType<MaybeArray<(page: number) => void> | undefined>;
5710
5724
  readonly onUpdatePage: PropType<MaybeArray<(page: number) => void> | undefined>;
@@ -6242,6 +6256,7 @@ declare const _default: import("vue").DefineComponent<{
6242
6256
  }>;
6243
6257
  }>;
6244
6258
  Input: import("../../_mixins").Theme<"Input", {
6259
+ countTextColorDisabled: string;
6245
6260
  countTextColor: string;
6246
6261
  heightTiny: string;
6247
6262
  heightSmall: string;
@@ -6947,6 +6962,7 @@ declare const _default: import("vue").DefineComponent<{
6947
6962
  }>;
6948
6963
  }>;
6949
6964
  Input: import("../../_mixins").Theme<"Input", {
6965
+ countTextColorDisabled: string;
6950
6966
  countTextColor: string;
6951
6967
  heightTiny: string;
6952
6968
  heightSmall: string;
@@ -7652,6 +7668,7 @@ declare const _default: import("vue").DefineComponent<{
7652
7668
  }>;
7653
7669
  }>;
7654
7670
  Input: import("../../_mixins").Theme<"Input", {
7671
+ countTextColorDisabled: string;
7655
7672
  countTextColor: string;
7656
7673
  heightTiny: string;
7657
7674
  heightSmall: string;
@@ -7857,6 +7874,7 @@ declare const _default: import("vue").DefineComponent<{
7857
7874
  readonly singleColumn: boolean;
7858
7875
  readonly defaultExpandedRowKeys: RowKey[];
7859
7876
  readonly defaultExpandAll: boolean;
7877
+ readonly stickyExpandedRows: boolean;
7860
7878
  readonly allowCheckingNotLoaded: boolean;
7861
7879
  readonly cascade: boolean;
7862
7880
  readonly childrenKey: string;
@@ -51,7 +51,7 @@ exports.dataTableProps = Object.assign(Object.assign({}, _mixins_1.useTheme.prop
51
51
  }, remote: Boolean, defaultExpandedRowKeys: {
52
52
  type: Array,
53
53
  default: []
54
- }, defaultExpandAll: Boolean, expandedRowKeys: Array, virtualScroll: Boolean, tableLayout: {
54
+ }, defaultExpandAll: Boolean, expandedRowKeys: Array, stickyExpandedRows: Boolean, virtualScroll: Boolean, tableLayout: {
55
55
  type: String,
56
56
  default: 'auto'
57
57
  }, allowCheckingNotLoaded: Boolean, cascade: {
@@ -66,7 +66,7 @@ exports.dataTableProps = Object.assign(Object.assign({}, _mixins_1.useTheme.prop
66
66
  }, flexHeight: Boolean, paginationBehaviorOnFilter: {
67
67
  type: String,
68
68
  default: 'current'
69
- }, renderCell: Function, onLoad: Function, 'onUpdate:page': [Function, Array], onUpdatePage: [Function, Array], 'onUpdate:pageSize': [Function, Array], onUpdatePageSize: [Function, Array], 'onUpdate:sorter': [Function, Array], onUpdateSorter: [Function, Array], 'onUpdate:filters': [Function, Array], onUpdateFilters: [Function, Array], 'onUpdate:checkedRowKeys': [Function, Array], onUpdateCheckedRowKeys: [Function, Array], 'onUpdate:expandedRowKeys': [Function, Array], onUpdateExpandedRowKeys: [Function, Array], onScroll: Function,
69
+ }, renderCell: Function, renderExpandIcon: Function, onLoad: Function, 'onUpdate:page': [Function, Array], onUpdatePage: [Function, Array], 'onUpdate:pageSize': [Function, Array], onUpdatePageSize: [Function, Array], 'onUpdate:sorter': [Function, Array], onUpdateSorter: [Function, Array], 'onUpdate:filters': [Function, Array], onUpdateFilters: [Function, Array], 'onUpdate:checkedRowKeys': [Function, Array], onUpdateCheckedRowKeys: [Function, Array], 'onUpdate:expandedRowKeys': [Function, Array], onUpdateExpandedRowKeys: [Function, Array], onScroll: Function,
70
70
  // deprecated
71
71
  onPageChange: [Function, Array], onPageSizeChange: [Function, Array], onSorterChange: [Function, Array], onFiltersChange: [Function, Array], onCheckedRowKeysChange: [Function, Array] });
72
72
  exports.default = (0, vue_1.defineComponent)({
@@ -118,7 +118,7 @@ exports.default = (0, vue_1.defineComponent)({
118
118
  treeMateRef,
119
119
  paginatedDataRef
120
120
  });
121
- const { mergedExpandedRowKeysRef, renderExpandRef, doUpdateExpandedRowKeys } = (0, use_expand_1.useExpand)(props, treeMateRef);
121
+ const { stickyExpandedRowsRef, mergedExpandedRowKeysRef, renderExpandRef, expandableRef, doUpdateExpandedRowKeys } = (0, use_expand_1.useExpand)(props, treeMateRef);
122
122
  const { handleTableBodyScroll, handleTableHeaderScroll, syncScrollState, setHeaderScrollLeft, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, leftFixedColumnsRef, rightFixedColumnsRef, fixedColumnLeftMapRef, fixedColumnRightMapRef } = (0, use_scroll_1.useScroll)(props, {
123
123
  scrollPartRef,
124
124
  bodyWidthRef,
@@ -139,6 +139,7 @@ exports.default = (0, vue_1.defineComponent)({
139
139
  return props.tableLayout;
140
140
  });
141
141
  (0, vue_1.provide)(interface_1.dataTableInjectionKey, {
142
+ renderExpandIconRef: (0, vue_1.toRef)(props, 'renderExpandIcon'),
142
143
  loadingKeySetRef: (0, vue_1.ref)(new Set()),
143
144
  slots,
144
145
  indentRef: (0, vue_1.toRef)(props, 'indent'),
@@ -172,6 +173,8 @@ exports.default = (0, vue_1.defineComponent)({
172
173
  mergedInderminateRowKeySetRef,
173
174
  localeRef,
174
175
  scrollPartRef,
176
+ expandableRef,
177
+ stickyExpandedRowsRef,
175
178
  rowKeyRef: (0, vue_1.toRef)(props, 'rowKey'),
176
179
  renderExpandRef,
177
180
  summaryRef: (0, vue_1.toRef)(props, 'summary'),
@@ -635,6 +635,7 @@ declare const _default: import("vue").DefineComponent<{
635
635
  }>;
636
636
  }>;
637
637
  Input: import("../../../_mixins").Theme<"Input", {
638
+ countTextColorDisabled: string;
638
639
  countTextColor: string;
639
640
  heightTiny: string;
640
641
  heightSmall: string;
@@ -967,6 +968,7 @@ declare const _default: import("vue").DefineComponent<{
967
968
  }>;
968
969
  }>> | undefined;
969
970
  Input?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Input", {
971
+ countTextColorDisabled: string;
970
972
  countTextColor: string;
971
973
  heightTiny: string;
972
974
  heightSmall: string;
@@ -660,6 +660,7 @@ declare const _default: import("vue").DefineComponent<{
660
660
  }>;
661
661
  }>;
662
662
  Input: import("../../../_mixins").Theme<"Input", {
663
+ countTextColorDisabled: string;
663
664
  countTextColor: string;
664
665
  heightTiny: string;
665
666
  heightSmall: string;
@@ -708,7 +709,7 @@ declare const _default: import("vue").DefineComponent<{
708
709
  clearColor: string;
709
710
  clearColorHover: string;
710
711
  clearColorPressed: string;
711
- iconColor: string;
712
+ iconColor: string; /** this branch is for compatibility */
712
713
  iconColorDisabled: string;
713
714
  iconColorHover: string;
714
715
  iconColorPressed: string;
@@ -992,6 +993,7 @@ declare const _default: import("vue").DefineComponent<{
992
993
  }>;
993
994
  }>> | undefined;
994
995
  Input?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Input", {
996
+ countTextColorDisabled: string;
995
997
  countTextColor: string;
996
998
  heightTiny: string;
997
999
  heightSmall: string;
@@ -1040,7 +1042,7 @@ declare const _default: import("vue").DefineComponent<{
1040
1042
  clearColor: string;
1041
1043
  clearColorHover: string;
1042
1044
  clearColorPressed: string;
1043
- iconColor: string;
1045
+ iconColor: string; /** this branch is for compatibility */
1044
1046
  iconColorDisabled: string;
1045
1047
  iconColorHover: string;
1046
1048
  iconColorPressed: string;