naive-ui 2.25.0 → 2.25.3

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 (567) hide show
  1. package/es/_internal/clear/src/Clear.d.ts +0 -1
  2. package/es/_internal/clear/src/Clear.js +1 -3
  3. package/es/_internal/icons/replaceable.d.ts +1 -1
  4. package/es/_internal/icons/replaceable.js +5 -4
  5. package/es/_internal/scrollbar/src/ScrollBar.d.ts +13 -1
  6. package/es/_internal/scrollbar/src/ScrollBar.js +35 -16
  7. package/es/_internal/select-menu/src/SelectMenu.d.ts +22 -18
  8. package/es/_internal/select-menu/src/SelectMenu.js +13 -10
  9. package/es/_internal/selection/src/Selection.d.ts +31 -26
  10. package/es/_internal/selection/src/Selection.js +79 -68
  11. package/es/_internal/selection/styles/dark.js +3 -3
  12. package/es/_internal/selection/styles/light.d.ts +6 -6
  13. package/es/_internal/selection/styles/light.js +3 -3
  14. package/es/_mixins/index.d.ts +1 -1
  15. package/es/_mixins/index.js +1 -1
  16. package/es/_mixins/use-config.d.ts +6 -3
  17. package/es/_mixins/use-config.js +5 -1
  18. package/es/_mixins/use-css-vars-class.d.ts +6 -2
  19. package/es/_mixins/use-css-vars-class.js +31 -15
  20. package/es/_mixins/use-form-item.d.ts +1 -1
  21. package/es/_utils/css/color-to-class.d.ts +1 -0
  22. package/es/_utils/css/color-to-class.js +3 -0
  23. package/es/_utils/css/format-length.d.ts +2 -2
  24. package/es/_utils/css/format-length.js +1 -2
  25. package/es/_utils/css/index.d.ts +2 -1
  26. package/es/_utils/css/index.js +2 -1
  27. package/es/_utils/index.d.ts +1 -1
  28. package/es/_utils/index.js +1 -1
  29. package/es/_utils/vue/resolve-slot.d.ts +5 -2
  30. package/es/_utils/vue/resolve-slot.js +4 -4
  31. package/es/alert/src/Alert.d.ts +7 -5
  32. package/es/alert/src/Alert.js +36 -21
  33. package/es/anchor/src/AnchorAdapter.js +9 -3
  34. package/es/auto-complete/src/AutoComplete.d.ts +4 -2
  35. package/es/auto-complete/src/AutoComplete.js +28 -15
  36. package/es/avatar/src/Avatar.d.ts +3 -1
  37. package/es/avatar/src/Avatar.js +70 -35
  38. package/es/back-top/src/BackTop.d.ts +12 -49
  39. package/es/back-top/src/BackTop.js +60 -58
  40. package/es/badge/src/Badge.d.ts +16 -41
  41. package/es/badge/src/Badge.js +41 -31
  42. package/es/breadcrumb/src/Breadcrumb.d.ts +3 -1
  43. package/es/breadcrumb/src/Breadcrumb.js +24 -16
  44. package/es/button/src/Button.d.ts +8 -6
  45. package/es/button/src/Button.js +20 -21
  46. package/es/button/styles/index.d.ts +1 -1
  47. package/es/button/styles/index.js +1 -1
  48. package/es/button/styles/rtl.d.ts +2 -5
  49. package/es/button/styles/rtl.js +1 -1
  50. package/es/calendar/src/Calendar.d.ts +3 -1
  51. package/es/calendar/src/Calendar.js +37 -30
  52. package/es/card/src/Card.d.ts +3 -1
  53. package/es/card/src/Card.js +57 -43
  54. package/es/card/styles/index.d.ts +1 -1
  55. package/es/card/styles/index.js +1 -1
  56. package/es/card/styles/rtl.d.ts +2 -5
  57. package/es/card/styles/rtl.js +1 -1
  58. package/es/carousel/src/Carousel.d.ts +3 -1
  59. package/es/carousel/src/Carousel.js +29 -20
  60. package/es/cascader/src/Cascader.d.ts +46 -31
  61. package/es/cascader/src/Cascader.js +53 -31
  62. package/es/cascader/src/CascaderMenu.d.ts +3 -3
  63. package/es/cascader/src/CascaderMenu.js +7 -6
  64. package/es/cascader/src/CascaderOption.d.ts +3 -3
  65. package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
  66. package/es/cascader/src/CascaderSelectMenu.js +2 -1
  67. package/es/cascader/src/CascaderSubmenu.d.ts +4 -3
  68. package/es/cascader/src/interface.d.ts +1 -0
  69. package/es/cascader/styles/light.d.ts +3 -3
  70. package/es/checkbox/src/Checkbox.d.ts +6 -4
  71. package/es/checkbox/src/Checkbox.js +41 -32
  72. package/es/checkbox/src/styles/index.cssr.js +17 -17
  73. package/es/code/src/Code.d.ts +3 -1
  74. package/es/code/src/Code.js +33 -27
  75. package/es/collapse/src/Collapse.d.ts +3 -1
  76. package/es/collapse/src/Collapse.js +24 -16
  77. package/es/color-picker/src/ColorPicker.d.ts +3 -1
  78. package/es/color-picker/src/ColorPicker.js +20 -7
  79. package/es/components.d.ts +1 -0
  80. package/es/components.js +1 -0
  81. package/es/config-provider/src/ConfigProvider.d.ts +4 -4
  82. package/es/config-provider/src/ConfigProvider.js +3 -3
  83. package/es/config-provider/src/internal-interface.d.ts +3 -1
  84. package/es/countdown/src/Countdown.d.ts +0 -3
  85. package/es/countdown/src/Countdown.js +0 -1
  86. package/es/data-table/src/DataTable.d.ts +77 -75
  87. package/es/data-table/src/DataTable.js +54 -48
  88. package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
  89. package/es/data-table/src/HeaderButton/FilterButton.js +3 -2
  90. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
  91. package/es/data-table/src/HeaderButton/SortButton.js +3 -2
  92. package/es/data-table/src/TableParts/Body.d.ts +7 -6
  93. package/es/data-table/src/TableParts/Body.js +4 -2
  94. package/es/data-table/src/TableParts/Cell.d.ts +12 -12
  95. package/es/data-table/src/TableParts/Header.d.ts +6 -6
  96. package/es/data-table/src/interface.d.ts +1 -1
  97. package/es/data-table/src/use-table-data.js +19 -7
  98. package/es/data-table/styles/light.d.ts +3 -3
  99. package/es/date-picker/src/DatePicker.d.ts +1 -0
  100. package/es/date-picker/src/DatePicker.js +2 -2
  101. package/es/date-picker/src/panel/date.d.ts +2 -0
  102. package/es/date-picker/src/panel/datetime.d.ts +2 -0
  103. package/es/date-picker/src/panel/month.d.ts +2 -0
  104. package/es/date-picker/src/panel/panelHeader.d.ts +4 -0
  105. package/es/date-picker/src/panel/use-calendar.d.ts +2 -0
  106. package/es/descriptions/src/Descriptions.d.ts +15 -2
  107. package/es/descriptions/src/Descriptions.js +45 -28
  108. package/es/descriptions/src/styles/index.cssr.js +2 -1
  109. package/es/descriptions/styles/light.d.ts +1 -0
  110. package/es/descriptions/styles/light.js +2 -2
  111. package/es/dialog/src/Dialog.d.ts +7 -5
  112. package/es/dialog/src/Dialog.js +57 -56
  113. package/es/dialog/src/DialogEnvironment.d.ts +5 -5
  114. package/es/dialog/src/DialogEnvironment.js +1 -1
  115. package/es/dialog/src/DialogProvider.d.ts +2 -2
  116. package/es/dialog/src/dialogProps.d.ts +2 -2
  117. package/es/divider/src/Divider.d.ts +3 -1
  118. package/es/divider/src/Divider.js +20 -11
  119. package/es/dynamic-input/src/DynamicInput.js +2 -2
  120. package/es/dynamic-tags/src/DynamicTags.d.ts +7 -5
  121. package/es/dynamic-tags/src/DynamicTags.js +17 -10
  122. package/es/element/src/Element.d.ts +3 -1
  123. package/es/element/src/Element.js +18 -11
  124. package/es/empty/src/Empty.d.ts +3 -1
  125. package/es/empty/src/Empty.js +28 -16
  126. package/es/form/src/FormItem.d.ts +4 -4
  127. package/es/form/src/FormItem.js +1 -2
  128. package/es/form/src/FormItemCol.d.ts +3 -3
  129. package/es/form/src/FormItemGridItem.d.ts +5 -5
  130. package/es/form/src/FormItemRow.d.ts +3 -3
  131. package/es/form/src/utils.d.ts +1 -1
  132. package/es/gradient-text/src/GradientText.d.ts +5 -5
  133. package/es/grid/src/Grid.js +2 -2
  134. package/es/icon-wrapper/src/IconWrapper.js +6 -6
  135. package/es/image/src/Image.d.ts +1 -1
  136. package/es/input/src/Input.d.ts +7 -4
  137. package/es/input/src/Input.js +96 -84
  138. package/es/input/src/styles/input.cssr.js +2 -2
  139. package/es/input-number/src/InputNumber.d.ts +7 -18
  140. package/es/input-number/src/InputNumber.js +79 -20
  141. package/es/layout/src/Layout.d.ts +8 -2
  142. package/es/layout/src/Layout.js +17 -10
  143. package/es/layout/src/LayoutContent.d.ts +4 -1
  144. package/es/layout/src/LayoutFooter.d.ts +3 -1
  145. package/es/layout/src/LayoutFooter.js +28 -19
  146. package/es/layout/src/LayoutHeader.d.ts +3 -1
  147. package/es/layout/src/LayoutHeader.js +28 -19
  148. package/es/layout/src/LayoutSider.d.ts +4 -0
  149. package/es/layout/src/LayoutSider.js +37 -29
  150. package/es/locales/common/deDE.js +13 -15
  151. package/es/locales/common/enGB.d.ts +109 -0
  152. package/es/locales/common/enGB.js +109 -0
  153. package/es/locales/common/eo.d.ts +109 -0
  154. package/es/locales/common/eo.js +109 -0
  155. package/es/locales/common/esAR.js +2 -2
  156. package/es/locales/common/frFR.js +8 -9
  157. package/es/locales/common/plPL.d.ts +3 -0
  158. package/es/locales/common/plPL.js +109 -0
  159. package/es/locales/common/skSK.d.ts +3 -0
  160. package/es/locales/common/skSK.js +110 -0
  161. package/es/locales/date/enGB.d.ts +3 -0
  162. package/es/locales/date/enGB.js +6 -0
  163. package/es/locales/date/eo.d.ts +3 -0
  164. package/es/locales/date/eo.js +6 -0
  165. package/es/locales/date/plPL.d.ts +3 -0
  166. package/es/locales/date/plPL.js +6 -0
  167. package/es/locales/date/skSK.d.ts +3 -0
  168. package/es/locales/date/skSK.js +6 -0
  169. package/es/locales/index.d.ts +8 -0
  170. package/es/locales/index.js +8 -0
  171. package/es/log/src/Log.d.ts +4 -1
  172. package/es/log/src/Log.js +20 -15
  173. package/es/mention/index.d.ts +1 -1
  174. package/es/mention/src/Mention.d.ts +1 -1
  175. package/es/mention/src/interface.d.ts +4 -0
  176. package/es/menu/src/Menu.d.ts +4 -2
  177. package/es/menu/src/Menu.js +68 -63
  178. package/es/modal/src/BodyWrapper.d.ts +7 -6
  179. package/es/modal/src/Modal.d.ts +19 -22
  180. package/es/modal/src/Modal.js +41 -32
  181. package/es/modal/src/presetProps.d.ts +2 -2
  182. package/es/notification/src/Notification.d.ts +4 -4
  183. package/es/notification/src/NotificationEnvironment.d.ts +4 -4
  184. package/es/notification/src/NotificationProvider.d.ts +1 -1
  185. package/es/notification/src/styles/index.cssr.js +6 -5
  186. package/es/page-header/src/PageHeader.d.ts +3 -1
  187. package/es/page-header/src/PageHeader.js +27 -18
  188. package/es/pagination/src/Pagination.d.ts +46 -34
  189. package/es/pagination/src/Pagination.js +59 -52
  190. package/es/pagination/styles/light.d.ts +3 -3
  191. package/es/popover/src/PopoverBody.js +10 -4
  192. package/es/progress/src/Circle.d.ts +19 -3
  193. package/es/progress/src/Circle.js +41 -22
  194. package/es/progress/src/Progress.d.ts +14 -5
  195. package/es/progress/src/Progress.js +45 -25
  196. package/es/progress/src/styles/index.cssr.js +1 -1
  197. package/es/radio/src/Radio.d.ts +3 -1
  198. package/es/radio/src/Radio.js +32 -23
  199. package/es/radio/src/RadioGroup.d.ts +3 -1
  200. package/es/radio/src/RadioGroup.js +31 -22
  201. package/es/rate/src/Rate.d.ts +3 -1
  202. package/es/rate/src/Rate.js +44 -23
  203. package/es/result/src/Result.d.ts +8 -6
  204. package/es/result/src/Result.js +36 -19
  205. package/es/scrollbar/src/ScrollBar.d.ts +12 -1
  206. package/es/scrollbar/src/ScrollBar.js +4 -0
  207. package/es/select/src/Select.d.ts +45 -31
  208. package/es/select/src/Select.js +14 -8
  209. package/es/select/styles/light.d.ts +3 -3
  210. package/es/spin/src/Spin.d.ts +3 -1
  211. package/es/spin/src/Spin.js +31 -21
  212. package/es/statistic/src/Statistic.d.ts +3 -1
  213. package/es/statistic/src/Statistic.js +29 -21
  214. package/es/styles.d.ts +1 -0
  215. package/es/styles.js +1 -0
  216. package/es/switch/src/Switch.d.ts +13 -1
  217. package/es/switch/src/Switch.js +85 -60
  218. package/es/switch/src/styles/index.cssr.js +21 -8
  219. package/es/switch/styles/dark.js +2 -2
  220. package/es/switch/styles/light.d.ts +1 -0
  221. package/es/switch/styles/light.js +2 -2
  222. package/es/table/src/Table.d.ts +3 -1
  223. package/es/table/src/Table.js +40 -29
  224. package/es/table/src/styles/index.cssr.js +1 -1
  225. package/es/tabs/src/Tabs.d.ts +25 -23
  226. package/es/tabs/src/Tabs.js +50 -44
  227. package/es/tabs/src/styles/index.cssr.js +77 -77
  228. package/es/tag/src/Tag.d.ts +7 -5
  229. package/es/tag/src/Tag.js +59 -42
  230. package/es/tag/src/common-props.d.ts +1 -1
  231. package/es/tag/src/styles/index.cssr.js +1 -1
  232. package/es/tag/styles/index.d.ts +1 -1
  233. package/es/tag/styles/index.js +1 -1
  234. package/es/tag/styles/rtl.d.ts +2 -5
  235. package/es/tag/styles/rtl.js +1 -1
  236. package/es/theme-editor/src/ThemeEditor.js +4 -3
  237. package/es/themes/dark.js +3 -1
  238. package/es/themes/light.js +3 -1
  239. package/es/thing/src/Thing.js +10 -3
  240. package/es/time-picker/src/TimePicker.d.ts +4 -0
  241. package/es/timeline/src/TimelineItem.d.ts +4 -4
  242. package/es/transfer/src/TransferList.d.ts +1 -0
  243. package/es/tree/src/Tree.d.ts +1 -0
  244. package/es/tree/src/Tree.js +8 -4
  245. package/es/tree/src/utils.js +1 -1
  246. package/es/tree-select/src/TreeSelect.d.ts +43 -30
  247. package/es/tree-select/src/TreeSelect.js +6 -2
  248. package/es/tree-select/styles/light.d.ts +3 -3
  249. package/es/typography/src/a.d.ts +3 -1
  250. package/es/typography/src/a.js +18 -10
  251. package/es/typography/src/blockquote.d.ts +3 -1
  252. package/es/typography/src/blockquote.js +21 -12
  253. package/es/typography/src/create-header.d.ts +7 -5
  254. package/es/typography/src/create-header.js +25 -16
  255. package/es/typography/src/headers.d.ts +36 -24
  256. package/es/typography/src/hr.d.ts +3 -1
  257. package/es/typography/src/hr.js +18 -10
  258. package/es/typography/src/ol.d.ts +3 -1
  259. package/es/typography/src/ol.js +23 -14
  260. package/es/typography/src/p.d.ts +3 -1
  261. package/es/typography/src/p.js +23 -15
  262. package/es/typography/src/text.d.ts +3 -1
  263. package/es/typography/src/text.js +31 -23
  264. package/es/typography/src/ul.d.ts +3 -1
  265. package/es/typography/src/ul.js +23 -14
  266. package/es/upload/src/UploadFile.d.ts +1 -1
  267. package/es/upload/src/UploadProgress.d.ts +2 -2
  268. package/es/upload/src/interface.d.ts +1 -1
  269. package/es/version.d.ts +1 -1
  270. package/es/version.js +1 -1
  271. package/es/watermark/index.d.ts +2 -0
  272. package/es/watermark/index.js +1 -0
  273. package/es/watermark/src/Watermark.d.ts +285 -0
  274. package/es/watermark/src/Watermark.js +159 -0
  275. package/es/watermark/src/styles/index.cssr.d.ts +2 -0
  276. package/es/watermark/src/styles/index.cssr.js +14 -0
  277. package/es/watermark/styles/dark.d.ts +3 -0
  278. package/es/watermark/styles/dark.js +12 -0
  279. package/es/watermark/styles/index.d.ts +3 -0
  280. package/es/watermark/styles/index.js +2 -0
  281. package/es/watermark/styles/light.d.ts +5 -0
  282. package/es/watermark/styles/light.js +13 -0
  283. package/lib/_internal/clear/src/Clear.d.ts +0 -1
  284. package/lib/_internal/clear/src/Clear.js +0 -2
  285. package/lib/_internal/icons/replaceable.d.ts +1 -1
  286. package/lib/_internal/icons/replaceable.js +4 -3
  287. package/lib/_internal/scrollbar/src/ScrollBar.d.ts +13 -1
  288. package/lib/_internal/scrollbar/src/ScrollBar.js +34 -15
  289. package/lib/_internal/select-menu/src/SelectMenu.d.ts +22 -18
  290. package/lib/_internal/select-menu/src/SelectMenu.js +12 -9
  291. package/lib/_internal/selection/src/Selection.d.ts +31 -26
  292. package/lib/_internal/selection/src/Selection.js +78 -67
  293. package/lib/_internal/selection/styles/dark.js +3 -3
  294. package/lib/_internal/selection/styles/light.d.ts +6 -6
  295. package/lib/_internal/selection/styles/light.js +3 -3
  296. package/lib/_mixins/index.d.ts +1 -1
  297. package/lib/_mixins/index.js +2 -2
  298. package/lib/_mixins/use-config.d.ts +6 -3
  299. package/lib/_mixins/use-config.js +5 -1
  300. package/lib/_mixins/use-css-vars-class.d.ts +6 -2
  301. package/lib/_mixins/use-css-vars-class.js +33 -17
  302. package/lib/_mixins/use-form-item.d.ts +1 -1
  303. package/lib/_utils/css/color-to-class.d.ts +1 -0
  304. package/lib/_utils/css/color-to-class.js +7 -0
  305. package/lib/_utils/css/format-length.d.ts +2 -2
  306. package/lib/_utils/css/format-length.js +2 -1
  307. package/lib/_utils/css/index.d.ts +2 -1
  308. package/lib/_utils/css/index.js +4 -5
  309. package/lib/_utils/index.d.ts +1 -1
  310. package/lib/_utils/index.js +2 -1
  311. package/lib/_utils/vue/resolve-slot.d.ts +5 -2
  312. package/lib/_utils/vue/resolve-slot.js +4 -4
  313. package/lib/alert/src/Alert.d.ts +7 -5
  314. package/lib/alert/src/Alert.js +34 -19
  315. package/lib/anchor/src/AnchorAdapter.js +8 -2
  316. package/lib/auto-complete/src/AutoComplete.d.ts +4 -2
  317. package/lib/auto-complete/src/AutoComplete.js +27 -14
  318. package/lib/avatar/src/Avatar.d.ts +3 -1
  319. package/lib/avatar/src/Avatar.js +68 -33
  320. package/lib/back-top/src/BackTop.d.ts +12 -49
  321. package/lib/back-top/src/BackTop.js +57 -55
  322. package/lib/badge/src/Badge.d.ts +16 -41
  323. package/lib/badge/src/Badge.js +39 -29
  324. package/lib/breadcrumb/src/Breadcrumb.d.ts +3 -1
  325. package/lib/breadcrumb/src/Breadcrumb.js +23 -15
  326. package/lib/button/src/Button.d.ts +8 -6
  327. package/lib/button/src/Button.js +18 -19
  328. package/lib/button/styles/index.d.ts +1 -1
  329. package/lib/button/styles/index.js +1 -1
  330. package/lib/button/styles/rtl.d.ts +2 -5
  331. package/lib/button/styles/rtl.js +2 -1
  332. package/lib/calendar/src/Calendar.d.ts +3 -1
  333. package/lib/calendar/src/Calendar.js +36 -29
  334. package/lib/card/src/Card.d.ts +3 -1
  335. package/lib/card/src/Card.js +55 -41
  336. package/lib/card/styles/index.d.ts +1 -1
  337. package/lib/card/styles/index.js +1 -1
  338. package/lib/card/styles/rtl.d.ts +2 -5
  339. package/lib/card/styles/rtl.js +2 -1
  340. package/lib/carousel/src/Carousel.d.ts +3 -1
  341. package/lib/carousel/src/Carousel.js +27 -18
  342. package/lib/cascader/src/Cascader.d.ts +46 -31
  343. package/lib/cascader/src/Cascader.js +52 -30
  344. package/lib/cascader/src/CascaderMenu.d.ts +3 -3
  345. package/lib/cascader/src/CascaderMenu.js +7 -6
  346. package/lib/cascader/src/CascaderOption.d.ts +3 -3
  347. package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
  348. package/lib/cascader/src/CascaderSelectMenu.js +2 -1
  349. package/lib/cascader/src/CascaderSubmenu.d.ts +4 -3
  350. package/lib/cascader/src/interface.d.ts +1 -0
  351. package/lib/cascader/styles/light.d.ts +3 -3
  352. package/lib/checkbox/src/Checkbox.d.ts +6 -4
  353. package/lib/checkbox/src/Checkbox.js +40 -31
  354. package/lib/checkbox/src/styles/index.cssr.js +17 -17
  355. package/lib/code/src/Code.d.ts +3 -1
  356. package/lib/code/src/Code.js +32 -26
  357. package/lib/collapse/src/Collapse.d.ts +3 -1
  358. package/lib/collapse/src/Collapse.js +23 -15
  359. package/lib/color-picker/src/ColorPicker.d.ts +3 -1
  360. package/lib/color-picker/src/ColorPicker.js +19 -6
  361. package/lib/components.d.ts +1 -0
  362. package/lib/components.js +1 -0
  363. package/lib/config-provider/src/ConfigProvider.d.ts +4 -4
  364. package/lib/config-provider/src/ConfigProvider.js +3 -3
  365. package/lib/config-provider/src/internal-interface.d.ts +3 -1
  366. package/lib/countdown/src/Countdown.d.ts +0 -3
  367. package/lib/countdown/src/Countdown.js +0 -1
  368. package/lib/data-table/src/DataTable.d.ts +77 -75
  369. package/lib/data-table/src/DataTable.js +53 -47
  370. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
  371. package/lib/data-table/src/HeaderButton/FilterButton.js +3 -2
  372. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
  373. package/lib/data-table/src/HeaderButton/SortButton.js +3 -2
  374. package/lib/data-table/src/TableParts/Body.d.ts +7 -6
  375. package/lib/data-table/src/TableParts/Body.js +3 -1
  376. package/lib/data-table/src/TableParts/Cell.d.ts +12 -12
  377. package/lib/data-table/src/TableParts/Header.d.ts +6 -6
  378. package/lib/data-table/src/interface.d.ts +1 -1
  379. package/lib/data-table/src/use-table-data.js +19 -7
  380. package/lib/data-table/styles/light.d.ts +3 -3
  381. package/lib/date-picker/src/DatePicker.d.ts +1 -0
  382. package/lib/date-picker/src/DatePicker.js +2 -2
  383. package/lib/date-picker/src/panel/date.d.ts +2 -0
  384. package/lib/date-picker/src/panel/datetime.d.ts +2 -0
  385. package/lib/date-picker/src/panel/month.d.ts +2 -0
  386. package/lib/date-picker/src/panel/panelHeader.d.ts +4 -0
  387. package/lib/date-picker/src/panel/use-calendar.d.ts +2 -0
  388. package/lib/descriptions/src/Descriptions.d.ts +15 -2
  389. package/lib/descriptions/src/Descriptions.js +44 -27
  390. package/lib/descriptions/src/styles/index.cssr.js +2 -1
  391. package/lib/descriptions/styles/light.d.ts +1 -0
  392. package/lib/descriptions/styles/light.js +2 -2
  393. package/lib/dialog/src/Dialog.d.ts +7 -5
  394. package/lib/dialog/src/Dialog.js +55 -54
  395. package/lib/dialog/src/DialogEnvironment.d.ts +5 -5
  396. package/lib/dialog/src/DialogEnvironment.js +1 -1
  397. package/lib/dialog/src/DialogProvider.d.ts +2 -2
  398. package/lib/dialog/src/dialogProps.d.ts +2 -2
  399. package/lib/divider/src/Divider.d.ts +3 -1
  400. package/lib/divider/src/Divider.js +19 -10
  401. package/lib/dynamic-input/src/DynamicInput.js +2 -2
  402. package/lib/dynamic-tags/src/DynamicTags.d.ts +7 -5
  403. package/lib/dynamic-tags/src/DynamicTags.js +16 -9
  404. package/lib/element/src/Element.d.ts +3 -1
  405. package/lib/element/src/Element.js +17 -10
  406. package/lib/empty/src/Empty.d.ts +3 -1
  407. package/lib/empty/src/Empty.js +27 -15
  408. package/lib/form/src/FormItem.d.ts +4 -4
  409. package/lib/form/src/FormItem.js +1 -2
  410. package/lib/form/src/FormItemCol.d.ts +3 -3
  411. package/lib/form/src/FormItemGridItem.d.ts +5 -5
  412. package/lib/form/src/FormItemRow.d.ts +3 -3
  413. package/lib/form/src/utils.d.ts +1 -1
  414. package/lib/gradient-text/src/GradientText.d.ts +5 -5
  415. package/lib/grid/src/Grid.js +2 -2
  416. package/lib/icon-wrapper/src/IconWrapper.js +5 -5
  417. package/lib/image/src/Image.d.ts +1 -1
  418. package/lib/input/src/Input.d.ts +7 -4
  419. package/lib/input/src/Input.js +95 -83
  420. package/lib/input/src/styles/input.cssr.js +2 -2
  421. package/lib/input-number/src/InputNumber.d.ts +7 -18
  422. package/lib/input-number/src/InputNumber.js +76 -17
  423. package/lib/layout/src/Layout.d.ts +8 -2
  424. package/lib/layout/src/Layout.js +16 -9
  425. package/lib/layout/src/LayoutContent.d.ts +4 -1
  426. package/lib/layout/src/LayoutFooter.d.ts +3 -1
  427. package/lib/layout/src/LayoutFooter.js +27 -18
  428. package/lib/layout/src/LayoutHeader.d.ts +3 -1
  429. package/lib/layout/src/LayoutHeader.js +27 -18
  430. package/lib/layout/src/LayoutSider.d.ts +4 -0
  431. package/lib/layout/src/LayoutSider.js +36 -28
  432. package/lib/locales/common/deDE.js +13 -15
  433. package/lib/locales/common/enGB.d.ts +109 -0
  434. package/lib/locales/common/enGB.js +111 -0
  435. package/lib/locales/common/eo.d.ts +109 -0
  436. package/lib/locales/common/eo.js +111 -0
  437. package/lib/locales/common/esAR.js +2 -2
  438. package/lib/locales/common/frFR.js +8 -9
  439. package/lib/locales/common/plPL.d.ts +3 -0
  440. package/lib/locales/common/plPL.js +111 -0
  441. package/lib/locales/common/skSK.d.ts +3 -0
  442. package/lib/locales/common/skSK.js +112 -0
  443. package/lib/locales/date/enGB.d.ts +3 -0
  444. package/lib/locales/date/enGB.js +11 -0
  445. package/lib/locales/date/eo.d.ts +3 -0
  446. package/lib/locales/date/eo.js +11 -0
  447. package/lib/locales/date/plPL.d.ts +3 -0
  448. package/lib/locales/date/plPL.js +11 -0
  449. package/lib/locales/date/skSK.d.ts +3 -0
  450. package/lib/locales/date/skSK.js +11 -0
  451. package/lib/locales/index.d.ts +8 -0
  452. package/lib/locales/index.js +17 -1
  453. package/lib/log/src/Log.d.ts +4 -1
  454. package/lib/log/src/Log.js +19 -14
  455. package/lib/mention/index.d.ts +1 -1
  456. package/lib/mention/src/Mention.d.ts +1 -1
  457. package/lib/mention/src/interface.d.ts +4 -0
  458. package/lib/menu/src/Menu.d.ts +4 -2
  459. package/lib/menu/src/Menu.js +67 -62
  460. package/lib/modal/src/BodyWrapper.d.ts +7 -6
  461. package/lib/modal/src/Modal.d.ts +19 -22
  462. package/lib/modal/src/Modal.js +40 -31
  463. package/lib/modal/src/presetProps.d.ts +2 -2
  464. package/lib/notification/src/Notification.d.ts +4 -4
  465. package/lib/notification/src/NotificationEnvironment.d.ts +4 -4
  466. package/lib/notification/src/NotificationProvider.d.ts +1 -1
  467. package/lib/notification/src/styles/index.cssr.js +6 -5
  468. package/lib/page-header/src/PageHeader.d.ts +3 -1
  469. package/lib/page-header/src/PageHeader.js +26 -17
  470. package/lib/pagination/src/Pagination.d.ts +46 -34
  471. package/lib/pagination/src/Pagination.js +58 -51
  472. package/lib/pagination/styles/light.d.ts +3 -3
  473. package/lib/popover/src/PopoverBody.js +9 -3
  474. package/lib/progress/src/Circle.d.ts +19 -3
  475. package/lib/progress/src/Circle.js +40 -21
  476. package/lib/progress/src/Progress.d.ts +14 -5
  477. package/lib/progress/src/Progress.js +44 -24
  478. package/lib/progress/src/styles/index.cssr.js +1 -1
  479. package/lib/radio/src/Radio.d.ts +3 -1
  480. package/lib/radio/src/Radio.js +31 -22
  481. package/lib/radio/src/RadioGroup.d.ts +3 -1
  482. package/lib/radio/src/RadioGroup.js +30 -21
  483. package/lib/rate/src/Rate.d.ts +3 -1
  484. package/lib/rate/src/Rate.js +42 -21
  485. package/lib/result/src/Result.d.ts +8 -6
  486. package/lib/result/src/Result.js +35 -18
  487. package/lib/scrollbar/src/ScrollBar.d.ts +12 -1
  488. package/lib/scrollbar/src/ScrollBar.js +4 -0
  489. package/lib/select/src/Select.d.ts +45 -31
  490. package/lib/select/src/Select.js +14 -8
  491. package/lib/select/styles/light.d.ts +3 -3
  492. package/lib/spin/src/Spin.d.ts +3 -1
  493. package/lib/spin/src/Spin.js +30 -20
  494. package/lib/statistic/src/Statistic.d.ts +3 -1
  495. package/lib/statistic/src/Statistic.js +28 -20
  496. package/lib/styles.d.ts +1 -0
  497. package/lib/styles.js +9 -7
  498. package/lib/switch/src/Switch.d.ts +13 -1
  499. package/lib/switch/src/Switch.js +81 -56
  500. package/lib/switch/src/styles/index.cssr.js +21 -8
  501. package/lib/switch/styles/dark.js +2 -2
  502. package/lib/switch/styles/light.d.ts +1 -0
  503. package/lib/switch/styles/light.js +2 -2
  504. package/lib/table/src/Table.d.ts +3 -1
  505. package/lib/table/src/Table.js +39 -28
  506. package/lib/table/src/styles/index.cssr.js +1 -1
  507. package/lib/tabs/src/Tabs.d.ts +25 -23
  508. package/lib/tabs/src/Tabs.js +48 -42
  509. package/lib/tabs/src/styles/index.cssr.js +77 -77
  510. package/lib/tag/src/Tag.d.ts +7 -5
  511. package/lib/tag/src/Tag.js +57 -40
  512. package/lib/tag/src/common-props.d.ts +1 -1
  513. package/lib/tag/src/styles/index.cssr.js +1 -1
  514. package/lib/tag/styles/index.d.ts +1 -1
  515. package/lib/tag/styles/index.js +1 -1
  516. package/lib/tag/styles/rtl.d.ts +2 -5
  517. package/lib/tag/styles/rtl.js +2 -1
  518. package/lib/theme-editor/src/ThemeEditor.js +2 -1
  519. package/lib/themes/dark.js +3 -1
  520. package/lib/themes/light.js +3 -1
  521. package/lib/thing/src/Thing.js +9 -2
  522. package/lib/time-picker/src/TimePicker.d.ts +4 -0
  523. package/lib/timeline/src/TimelineItem.d.ts +4 -4
  524. package/lib/transfer/src/TransferList.d.ts +1 -0
  525. package/lib/tree/src/Tree.d.ts +1 -0
  526. package/lib/tree/src/Tree.js +8 -4
  527. package/lib/tree/src/utils.js +1 -1
  528. package/lib/tree-select/src/TreeSelect.d.ts +43 -30
  529. package/lib/tree-select/src/TreeSelect.js +6 -2
  530. package/lib/tree-select/styles/light.d.ts +3 -3
  531. package/lib/typography/src/a.d.ts +3 -1
  532. package/lib/typography/src/a.js +17 -9
  533. package/lib/typography/src/blockquote.d.ts +3 -1
  534. package/lib/typography/src/blockquote.js +20 -11
  535. package/lib/typography/src/create-header.d.ts +7 -5
  536. package/lib/typography/src/create-header.js +24 -15
  537. package/lib/typography/src/headers.d.ts +36 -24
  538. package/lib/typography/src/hr.d.ts +3 -1
  539. package/lib/typography/src/hr.js +17 -9
  540. package/lib/typography/src/ol.d.ts +3 -1
  541. package/lib/typography/src/ol.js +22 -13
  542. package/lib/typography/src/p.d.ts +3 -1
  543. package/lib/typography/src/p.js +22 -14
  544. package/lib/typography/src/text.d.ts +3 -1
  545. package/lib/typography/src/text.js +30 -22
  546. package/lib/typography/src/ul.d.ts +3 -1
  547. package/lib/typography/src/ul.js +22 -13
  548. package/lib/upload/src/UploadFile.d.ts +1 -1
  549. package/lib/upload/src/UploadProgress.d.ts +2 -2
  550. package/lib/upload/src/interface.d.ts +1 -1
  551. package/lib/version.d.ts +1 -1
  552. package/lib/version.js +1 -1
  553. package/lib/watermark/index.d.ts +2 -0
  554. package/lib/watermark/index.js +8 -0
  555. package/lib/watermark/src/Watermark.d.ts +285 -0
  556. package/lib/watermark/src/Watermark.js +164 -0
  557. package/lib/watermark/src/styles/index.cssr.d.ts +2 -0
  558. package/lib/watermark/src/styles/index.cssr.js +21 -0
  559. package/lib/watermark/styles/dark.d.ts +3 -0
  560. package/lib/watermark/styles/dark.js +14 -0
  561. package/lib/watermark/styles/index.d.ts +3 -0
  562. package/lib/watermark/styles/index.js +10 -0
  563. package/lib/watermark/styles/light.d.ts +5 -0
  564. package/lib/watermark/styles/light.js +15 -0
  565. package/package.json +9 -10
  566. package/volar.d.ts +1 -0
  567. package/web-types.json +279 -29
@@ -470,7 +470,7 @@ export declare const dataTableProps: {
470
470
  borderHover: string;
471
471
  borderActive: string;
472
472
  borderFocus: string;
473
- boxShadowHover: null;
473
+ boxShadowHover: string;
474
474
  boxShadowActive: string;
475
475
  boxShadowFocus: string;
476
476
  caretColor: string;
@@ -481,7 +481,7 @@ export declare const dataTableProps: {
481
481
  borderHoverWarning: string;
482
482
  borderActiveWarning: string;
483
483
  borderFocusWarning: string;
484
- boxShadowHoverWarning: null;
484
+ boxShadowHoverWarning: string;
485
485
  boxShadowActiveWarning: string;
486
486
  boxShadowFocusWarning: string;
487
487
  colorActiveWarning: string;
@@ -490,7 +490,7 @@ export declare const dataTableProps: {
490
490
  borderHoverError: string;
491
491
  borderActiveError: string;
492
492
  borderFocusError: string;
493
- boxShadowHoverError: null;
493
+ boxShadowHoverError: string;
494
494
  boxShadowActiveError: string;
495
495
  boxShadowFocusError: string;
496
496
  colorActiveError: string;
@@ -1071,7 +1071,7 @@ export declare const dataTableProps: {
1071
1071
  borderHover: string;
1072
1072
  borderActive: string;
1073
1073
  borderFocus: string;
1074
- boxShadowHover: null;
1074
+ boxShadowHover: string;
1075
1075
  boxShadowActive: string;
1076
1076
  boxShadowFocus: string;
1077
1077
  caretColor: string;
@@ -1082,7 +1082,7 @@ export declare const dataTableProps: {
1082
1082
  borderHoverWarning: string;
1083
1083
  borderActiveWarning: string;
1084
1084
  borderFocusWarning: string;
1085
- boxShadowHoverWarning: null;
1085
+ boxShadowHoverWarning: string;
1086
1086
  boxShadowActiveWarning: string;
1087
1087
  boxShadowFocusWarning: string;
1088
1088
  colorActiveWarning: string;
@@ -1091,7 +1091,7 @@ export declare const dataTableProps: {
1091
1091
  borderHoverError: string;
1092
1092
  borderActiveError: string;
1093
1093
  borderFocusError: string;
1094
- boxShadowHoverError: null;
1094
+ boxShadowHoverError: string;
1095
1095
  boxShadowActiveError: string;
1096
1096
  boxShadowFocusError: string;
1097
1097
  colorActiveError: string;
@@ -1672,7 +1672,7 @@ export declare const dataTableProps: {
1672
1672
  borderHover: string;
1673
1673
  borderActive: string;
1674
1674
  borderFocus: string;
1675
- boxShadowHover: null;
1675
+ boxShadowHover: string;
1676
1676
  boxShadowActive: string;
1677
1677
  boxShadowFocus: string;
1678
1678
  caretColor: string;
@@ -1683,7 +1683,7 @@ export declare const dataTableProps: {
1683
1683
  borderHoverWarning: string;
1684
1684
  borderActiveWarning: string;
1685
1685
  borderFocusWarning: string;
1686
- boxShadowHoverWarning: null;
1686
+ boxShadowHoverWarning: string;
1687
1687
  boxShadowActiveWarning: string;
1688
1688
  boxShadowFocusWarning: string;
1689
1689
  colorActiveWarning: string;
@@ -1692,7 +1692,7 @@ export declare const dataTableProps: {
1692
1692
  borderHoverError: string;
1693
1693
  borderActiveError: string;
1694
1694
  borderFocusError: string;
1695
- boxShadowHoverError: null;
1695
+ boxShadowHoverError: string;
1696
1696
  boxShadowActiveError: string;
1697
1697
  boxShadowFocusError: string;
1698
1698
  colorActiveError: string;
@@ -2361,7 +2361,7 @@ declare const _default: import("vue").DefineComponent<{
2361
2361
  borderHover: string;
2362
2362
  borderActive: string;
2363
2363
  borderFocus: string;
2364
- boxShadowHover: null;
2364
+ boxShadowHover: string;
2365
2365
  boxShadowActive: string;
2366
2366
  boxShadowFocus: string;
2367
2367
  caretColor: string;
@@ -2372,7 +2372,7 @@ declare const _default: import("vue").DefineComponent<{
2372
2372
  borderHoverWarning: string;
2373
2373
  borderActiveWarning: string;
2374
2374
  borderFocusWarning: string;
2375
- boxShadowHoverWarning: null;
2375
+ boxShadowHoverWarning: string;
2376
2376
  boxShadowActiveWarning: string;
2377
2377
  boxShadowFocusWarning: string;
2378
2378
  colorActiveWarning: string;
@@ -2381,7 +2381,7 @@ declare const _default: import("vue").DefineComponent<{
2381
2381
  borderHoverError: string;
2382
2382
  borderActiveError: string;
2383
2383
  borderFocusError: string;
2384
- boxShadowHoverError: null;
2384
+ boxShadowHoverError: string;
2385
2385
  boxShadowActiveError: string;
2386
2386
  boxShadowFocusError: string;
2387
2387
  colorActiveError: string;
@@ -2962,7 +2962,7 @@ declare const _default: import("vue").DefineComponent<{
2962
2962
  borderHover: string;
2963
2963
  borderActive: string;
2964
2964
  borderFocus: string;
2965
- boxShadowHover: null;
2965
+ boxShadowHover: string;
2966
2966
  boxShadowActive: string;
2967
2967
  boxShadowFocus: string;
2968
2968
  caretColor: string;
@@ -2973,7 +2973,7 @@ declare const _default: import("vue").DefineComponent<{
2973
2973
  borderHoverWarning: string;
2974
2974
  borderActiveWarning: string;
2975
2975
  borderFocusWarning: string;
2976
- boxShadowHoverWarning: null;
2976
+ boxShadowHoverWarning: string;
2977
2977
  boxShadowActiveWarning: string;
2978
2978
  boxShadowFocusWarning: string;
2979
2979
  colorActiveWarning: string;
@@ -2982,7 +2982,7 @@ declare const _default: import("vue").DefineComponent<{
2982
2982
  borderHoverError: string;
2983
2983
  borderActiveError: string;
2984
2984
  borderFocusError: string;
2985
- boxShadowHoverError: null;
2985
+ boxShadowHoverError: string;
2986
2986
  boxShadowActiveError: string;
2987
2987
  boxShadowFocusError: string;
2988
2988
  colorActiveError: string;
@@ -3563,7 +3563,7 @@ declare const _default: import("vue").DefineComponent<{
3563
3563
  borderHover: string;
3564
3564
  borderActive: string;
3565
3565
  borderFocus: string;
3566
- boxShadowHover: null;
3566
+ boxShadowHover: string;
3567
3567
  boxShadowActive: string;
3568
3568
  boxShadowFocus: string;
3569
3569
  caretColor: string;
@@ -3574,7 +3574,7 @@ declare const _default: import("vue").DefineComponent<{
3574
3574
  borderHoverWarning: string;
3575
3575
  borderActiveWarning: string;
3576
3576
  borderFocusWarning: string;
3577
- boxShadowHoverWarning: null;
3577
+ boxShadowHoverWarning: string;
3578
3578
  boxShadowActiveWarning: string;
3579
3579
  boxShadowFocusWarning: string;
3580
3580
  colorActiveWarning: string;
@@ -3583,7 +3583,7 @@ declare const _default: import("vue").DefineComponent<{
3583
3583
  borderHoverError: string;
3584
3584
  borderActiveError: string;
3585
3585
  borderFocusError: string;
3586
- boxShadowHoverError: null;
3586
+ boxShadowHoverError: string;
3587
3587
  boxShadowActiveError: string;
3588
3588
  boxShadowFocusError: string;
3589
3589
  colorActiveError: string;
@@ -3782,47 +3782,6 @@ declare const _default: import("vue").DefineComponent<{
3782
3782
  }>;
3783
3783
  }>>>;
3784
3784
  }, {
3785
- cssVars: import("vue").ComputedRef<{
3786
- '--n-font-size': string;
3787
- '--n-th-padding': string;
3788
- '--n-td-padding': string;
3789
- '--n-bezier': string;
3790
- '--n-border-radius': string;
3791
- '--n-line-height': string;
3792
- '--n-border-color': string;
3793
- '--n-border-color-modal': string;
3794
- '--n-border-color-popover': string;
3795
- '--n-th-color': string;
3796
- '--n-th-color-hover': string;
3797
- '--n-th-color-modal': string;
3798
- '--n-th-color-hover-modal': string;
3799
- '--n-th-color-popover': string;
3800
- '--n-th-color-hover-popover': string;
3801
- '--n-td-color': string;
3802
- '--n-td-color-hover': string;
3803
- '--n-td-color-modal': string;
3804
- '--n-td-color-hover-modal': string;
3805
- '--n-n-td-color-popover': string;
3806
- '--n-td-color-hover-popover': string;
3807
- '--n-th-text-color': string;
3808
- '--n-td-text-color': string;
3809
- '--n-th-font-weight': string;
3810
- '--n-th-button-color-hover': string;
3811
- '--n-th-icon-color': string;
3812
- '--n-th-icon-color-active': string;
3813
- '--n-filter-size': string;
3814
- '--n-pagination-margin': string;
3815
- '--n-empty-padding': string;
3816
- '--n-box-shadow-before': string;
3817
- '--n-box-shadow-after': string;
3818
- '--n-sorter-size': string;
3819
- '--n-loading-size': string;
3820
- '--n-loading-color': string;
3821
- '--n-opacity-loading': string;
3822
- '--n-td-color-striped': string;
3823
- '--n-td-color-striped-modal': string;
3824
- '--n-td-color-striped-popover': string;
3825
- }>;
3826
3785
  filter: (filters: import("./interface").FilterState | null) => void;
3827
3786
  filters: (filters: import("./interface").FilterState | null) => void;
3828
3787
  clearFilters: () => void;
@@ -4323,7 +4282,7 @@ declare const _default: import("vue").DefineComponent<{
4323
4282
  borderHover: string;
4324
4283
  borderActive: string;
4325
4284
  borderFocus: string;
4326
- boxShadowHover: null;
4285
+ boxShadowHover: string;
4327
4286
  boxShadowActive: string;
4328
4287
  boxShadowFocus: string;
4329
4288
  caretColor: string;
@@ -4334,7 +4293,7 @@ declare const _default: import("vue").DefineComponent<{
4334
4293
  borderHoverWarning: string;
4335
4294
  borderActiveWarning: string;
4336
4295
  borderFocusWarning: string;
4337
- boxShadowHoverWarning: null;
4296
+ boxShadowHoverWarning: string;
4338
4297
  boxShadowActiveWarning: string;
4339
4298
  boxShadowFocusWarning: string;
4340
4299
  colorActiveWarning: string;
@@ -4343,7 +4302,7 @@ declare const _default: import("vue").DefineComponent<{
4343
4302
  borderHoverError: string;
4344
4303
  borderActiveError: string;
4345
4304
  borderFocusError: string;
4346
- boxShadowHoverError: null;
4305
+ boxShadowHoverError: string;
4347
4306
  boxShadowActiveError: string;
4348
4307
  boxShadowFocusError: string;
4349
4308
  colorActiveError: string;
@@ -4583,7 +4542,7 @@ declare const _default: import("vue").DefineComponent<{
4583
4542
  borderHover: string;
4584
4543
  borderActive: string;
4585
4544
  borderFocus: string;
4586
- boxShadowHover: null;
4545
+ boxShadowHover: string;
4587
4546
  boxShadowActive: string;
4588
4547
  boxShadowFocus: string;
4589
4548
  caretColor: string;
@@ -4594,7 +4553,7 @@ declare const _default: import("vue").DefineComponent<{
4594
4553
  borderHoverWarning: string;
4595
4554
  borderActiveWarning: string;
4596
4555
  borderFocusWarning: string;
4597
- boxShadowHoverWarning: null;
4556
+ boxShadowHoverWarning: string;
4598
4557
  boxShadowActiveWarning: string;
4599
4558
  boxShadowFocusWarning: string;
4600
4559
  colorActiveWarning: string;
@@ -4603,7 +4562,7 @@ declare const _default: import("vue").DefineComponent<{
4603
4562
  borderHoverError: string;
4604
4563
  borderActiveError: string;
4605
4564
  borderFocusError: string;
4606
- boxShadowHoverError: null;
4565
+ boxShadowHoverError: string;
4607
4566
  boxShadowActiveError: string;
4608
4567
  boxShadowFocusError: string;
4609
4568
  colorActiveError: string;
@@ -4793,6 +4752,49 @@ declare const _default: import("vue").DefineComponent<{
4793
4752
  mergedBordered: import("vue").ComputedRef<boolean>;
4794
4753
  mergedBottomBordered: import("vue").ComputedRef<boolean>;
4795
4754
  mergedPagination: import("vue").ComputedRef<PaginationProps>;
4755
+ cssVars: import("vue").ComputedRef<{
4756
+ '--n-font-size': string;
4757
+ '--n-th-padding': string;
4758
+ '--n-td-padding': string;
4759
+ '--n-bezier': string;
4760
+ '--n-border-radius': string;
4761
+ '--n-line-height': string;
4762
+ '--n-border-color': string;
4763
+ '--n-border-color-modal': string;
4764
+ '--n-border-color-popover': string;
4765
+ '--n-th-color': string;
4766
+ '--n-th-color-hover': string;
4767
+ '--n-th-color-modal': string;
4768
+ '--n-th-color-hover-modal': string;
4769
+ '--n-th-color-popover': string;
4770
+ '--n-th-color-hover-popover': string;
4771
+ '--n-td-color': string;
4772
+ '--n-td-color-hover': string;
4773
+ '--n-td-color-modal': string;
4774
+ '--n-td-color-hover-modal': string;
4775
+ '--n-td-color-popover': string;
4776
+ '--n-td-color-hover-popover': string;
4777
+ '--n-th-text-color': string;
4778
+ '--n-td-text-color': string;
4779
+ '--n-th-font-weight': string;
4780
+ '--n-th-button-color-hover': string;
4781
+ '--n-th-icon-color': string;
4782
+ '--n-th-icon-color-active': string;
4783
+ '--n-filter-size': string;
4784
+ '--n-pagination-margin': string;
4785
+ '--n-empty-padding': string;
4786
+ '--n-box-shadow-before': string;
4787
+ '--n-box-shadow-after': string;
4788
+ '--n-sorter-size': string;
4789
+ '--n-loading-size': string;
4790
+ '--n-loading-color': string;
4791
+ '--n-opacity-loading': string;
4792
+ '--n-td-color-striped': string;
4793
+ '--n-td-color-striped-modal': string;
4794
+ '--n-td-color-striped-popover': string;
4795
+ }> | undefined;
4796
+ themeClass: import("vue").Ref<string> | undefined;
4797
+ onRender: (() => void) | undefined;
4796
4798
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
4797
4799
  readonly pagination: {
4798
4800
  readonly type: PropType<false | PaginationProps>;
@@ -5261,7 +5263,7 @@ declare const _default: import("vue").DefineComponent<{
5261
5263
  borderHover: string;
5262
5264
  borderActive: string;
5263
5265
  borderFocus: string;
5264
- boxShadowHover: null;
5266
+ boxShadowHover: string;
5265
5267
  boxShadowActive: string;
5266
5268
  boxShadowFocus: string;
5267
5269
  caretColor: string;
@@ -5272,7 +5274,7 @@ declare const _default: import("vue").DefineComponent<{
5272
5274
  borderHoverWarning: string;
5273
5275
  borderActiveWarning: string;
5274
5276
  borderFocusWarning: string;
5275
- boxShadowHoverWarning: null;
5277
+ boxShadowHoverWarning: string;
5276
5278
  boxShadowActiveWarning: string;
5277
5279
  boxShadowFocusWarning: string;
5278
5280
  colorActiveWarning: string;
@@ -5281,7 +5283,7 @@ declare const _default: import("vue").DefineComponent<{
5281
5283
  borderHoverError: string;
5282
5284
  borderActiveError: string;
5283
5285
  borderFocusError: string;
5284
- boxShadowHoverError: null;
5286
+ boxShadowHoverError: string;
5285
5287
  boxShadowActiveError: string;
5286
5288
  boxShadowFocusError: string;
5287
5289
  colorActiveError: string;
@@ -5862,7 +5864,7 @@ declare const _default: import("vue").DefineComponent<{
5862
5864
  borderHover: string;
5863
5865
  borderActive: string;
5864
5866
  borderFocus: string;
5865
- boxShadowHover: null;
5867
+ boxShadowHover: string;
5866
5868
  boxShadowActive: string;
5867
5869
  boxShadowFocus: string;
5868
5870
  caretColor: string;
@@ -5873,7 +5875,7 @@ declare const _default: import("vue").DefineComponent<{
5873
5875
  borderHoverWarning: string;
5874
5876
  borderActiveWarning: string;
5875
5877
  borderFocusWarning: string;
5876
- boxShadowHoverWarning: null;
5878
+ boxShadowHoverWarning: string;
5877
5879
  boxShadowActiveWarning: string;
5878
5880
  boxShadowFocusWarning: string;
5879
5881
  colorActiveWarning: string;
@@ -5882,7 +5884,7 @@ declare const _default: import("vue").DefineComponent<{
5882
5884
  borderHoverError: string;
5883
5885
  borderActiveError: string;
5884
5886
  borderFocusError: string;
5885
- boxShadowHoverError: null;
5887
+ boxShadowHoverError: string;
5886
5888
  boxShadowActiveError: string;
5887
5889
  boxShadowFocusError: string;
5888
5890
  colorActiveError: string;
@@ -6463,7 +6465,7 @@ declare const _default: import("vue").DefineComponent<{
6463
6465
  borderHover: string;
6464
6466
  borderActive: string;
6465
6467
  borderFocus: string;
6466
- boxShadowHover: null;
6468
+ boxShadowHover: string;
6467
6469
  boxShadowActive: string;
6468
6470
  boxShadowFocus: string;
6469
6471
  caretColor: string;
@@ -6474,7 +6476,7 @@ declare const _default: import("vue").DefineComponent<{
6474
6476
  borderHoverWarning: string;
6475
6477
  borderActiveWarning: string;
6476
6478
  borderFocusWarning: string;
6477
- boxShadowHoverWarning: null;
6479
+ boxShadowHoverWarning: string;
6478
6480
  boxShadowActiveWarning: string;
6479
6481
  boxShadowFocusWarning: string;
6480
6482
  colorActiveWarning: string;
@@ -6483,7 +6485,7 @@ declare const _default: import("vue").DefineComponent<{
6483
6485
  borderHoverError: string;
6484
6486
  borderActiveError: string;
6485
6487
  borderFocusError: string;
6486
- boxShadowHoverError: null;
6488
+ boxShadowHoverError: string;
6487
6489
  boxShadowActiveError: string;
6488
6490
  boxShadowFocusError: string;
6489
6491
  colorActiveError: string;
@@ -6686,8 +6688,8 @@ declare const _default: import("vue").DefineComponent<{
6686
6688
  size: "small" | "medium" | "large";
6687
6689
  tableLayout: "fixed" | "auto";
6688
6690
  columns: TableColumns<any>;
6689
- bordered: boolean | undefined;
6690
6691
  loading: boolean;
6692
+ bordered: boolean | undefined;
6691
6693
  virtualScroll: boolean;
6692
6694
  remote: boolean;
6693
6695
  pagination: false | PaginationProps;
@@ -87,7 +87,7 @@ exports.default = (0, vue_1.defineComponent)({
87
87
  }
88
88
  });
89
89
  }
90
- const { mergedBorderedRef, mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
90
+ const { mergedBorderedRef, mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
91
91
  const mergedBottomBorderedRef = (0, vue_1.computed)(() => {
92
92
  const { bottomBordered } = props;
93
93
  // do not add bottom bordered class if bordered is true
@@ -211,56 +211,62 @@ exports.default = (0, vue_1.defineComponent)({
211
211
  sort,
212
212
  clearFilter
213
213
  };
214
- return Object.assign(Object.assign({ mainTableInstRef, mergedClsPrefix: mergedClsPrefixRef, mergedTheme: themeRef, paginatedData: paginatedDataRef, mergedBordered: mergedBorderedRef, mergedBottomBordered: mergedBottomBorderedRef, mergedPagination: mergedPaginationRef }, exposedMethods), { cssVars: (0, vue_1.computed)(() => {
215
- const { size } = props;
216
- const { common: { cubicBezierEaseInOut }, self: { borderColor, tdColorHover, thColor, thColorHover, tdColor, tdTextColor, thTextColor, thFontWeight, thButtonColorHover, thIconColor, thIconColorActive, filterSize, borderRadius, lineHeight, tdColorModal, thColorModal, borderColorModal, thColorHoverModal, tdColorHoverModal, borderColorPopover, thColorPopover, tdColorPopover, tdColorHoverPopover, thColorHoverPopover, paginationMargin, emptyPadding, boxShadowAfter, boxShadowBefore, sorterSize, loadingColor, loadingSize, opacityLoading, tdColorStriped, tdColorStripedModal, tdColorStripedPopover, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('thPadding', size)]: thPadding, [(0, _utils_1.createKey)('tdPadding', size)]: tdPadding } } = themeRef.value;
217
- return {
218
- '--n-font-size': fontSize,
219
- '--n-th-padding': thPadding,
220
- '--n-td-padding': tdPadding,
221
- '--n-bezier': cubicBezierEaseInOut,
222
- '--n-border-radius': borderRadius,
223
- '--n-line-height': lineHeight,
224
- '--n-border-color': borderColor,
225
- '--n-border-color-modal': borderColorModal,
226
- '--n-border-color-popover': borderColorPopover,
227
- '--n-th-color': thColor,
228
- '--n-th-color-hover': thColorHover,
229
- '--n-th-color-modal': thColorModal,
230
- '--n-th-color-hover-modal': thColorHoverModal,
231
- '--n-th-color-popover': thColorPopover,
232
- '--n-th-color-hover-popover': thColorHoverPopover,
233
- '--n-td-color': tdColor,
234
- '--n-td-color-hover': tdColorHover,
235
- '--n-td-color-modal': tdColorModal,
236
- '--n-td-color-hover-modal': tdColorHoverModal,
237
- '--n-n-td-color-popover': tdColorPopover,
238
- '--n-td-color-hover-popover': tdColorHoverPopover,
239
- '--n-th-text-color': thTextColor,
240
- '--n-td-text-color': tdTextColor,
241
- '--n-th-font-weight': thFontWeight,
242
- '--n-th-button-color-hover': thButtonColorHover,
243
- '--n-th-icon-color': thIconColor,
244
- '--n-th-icon-color-active': thIconColorActive,
245
- '--n-filter-size': filterSize,
246
- '--n-pagination-margin': paginationMargin,
247
- '--n-empty-padding': emptyPadding,
248
- '--n-box-shadow-before': boxShadowBefore,
249
- '--n-box-shadow-after': boxShadowAfter,
250
- '--n-sorter-size': sorterSize,
251
- '--n-loading-size': loadingSize,
252
- '--n-loading-color': loadingColor,
253
- '--n-opacity-loading': opacityLoading,
254
- '--n-td-color-striped': tdColorStriped,
255
- '--n-td-color-striped-modal': tdColorStripedModal,
256
- '--n-td-color-striped-popover': tdColorStripedPopover
257
- };
258
- }) });
214
+ const cssVarsRef = (0, vue_1.computed)(() => {
215
+ const { size } = props;
216
+ const { common: { cubicBezierEaseInOut }, self: { borderColor, tdColorHover, thColor, thColorHover, tdColor, tdTextColor, thTextColor, thFontWeight, thButtonColorHover, thIconColor, thIconColorActive, filterSize, borderRadius, lineHeight, tdColorModal, thColorModal, borderColorModal, thColorHoverModal, tdColorHoverModal, borderColorPopover, thColorPopover, tdColorPopover, tdColorHoverPopover, thColorHoverPopover, paginationMargin, emptyPadding, boxShadowAfter, boxShadowBefore, sorterSize, loadingColor, loadingSize, opacityLoading, tdColorStriped, tdColorStripedModal, tdColorStripedPopover, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('thPadding', size)]: thPadding, [(0, _utils_1.createKey)('tdPadding', size)]: tdPadding } } = themeRef.value;
217
+ return {
218
+ '--n-font-size': fontSize,
219
+ '--n-th-padding': thPadding,
220
+ '--n-td-padding': tdPadding,
221
+ '--n-bezier': cubicBezierEaseInOut,
222
+ '--n-border-radius': borderRadius,
223
+ '--n-line-height': lineHeight,
224
+ '--n-border-color': borderColor,
225
+ '--n-border-color-modal': borderColorModal,
226
+ '--n-border-color-popover': borderColorPopover,
227
+ '--n-th-color': thColor,
228
+ '--n-th-color-hover': thColorHover,
229
+ '--n-th-color-modal': thColorModal,
230
+ '--n-th-color-hover-modal': thColorHoverModal,
231
+ '--n-th-color-popover': thColorPopover,
232
+ '--n-th-color-hover-popover': thColorHoverPopover,
233
+ '--n-td-color': tdColor,
234
+ '--n-td-color-hover': tdColorHover,
235
+ '--n-td-color-modal': tdColorModal,
236
+ '--n-td-color-hover-modal': tdColorHoverModal,
237
+ '--n-td-color-popover': tdColorPopover,
238
+ '--n-td-color-hover-popover': tdColorHoverPopover,
239
+ '--n-th-text-color': thTextColor,
240
+ '--n-td-text-color': tdTextColor,
241
+ '--n-th-font-weight': thFontWeight,
242
+ '--n-th-button-color-hover': thButtonColorHover,
243
+ '--n-th-icon-color': thIconColor,
244
+ '--n-th-icon-color-active': thIconColorActive,
245
+ '--n-filter-size': filterSize,
246
+ '--n-pagination-margin': paginationMargin,
247
+ '--n-empty-padding': emptyPadding,
248
+ '--n-box-shadow-before': boxShadowBefore,
249
+ '--n-box-shadow-after': boxShadowAfter,
250
+ '--n-sorter-size': sorterSize,
251
+ '--n-loading-size': loadingSize,
252
+ '--n-loading-color': loadingColor,
253
+ '--n-opacity-loading': opacityLoading,
254
+ '--n-td-color-striped': tdColorStriped,
255
+ '--n-td-color-striped-modal': tdColorStripedModal,
256
+ '--n-td-color-striped-popover': tdColorStripedPopover
257
+ };
258
+ });
259
+ const themeClassHandle = inlineThemeDisabled
260
+ ? (0, _mixins_1.useThemeClass)('data-table', (0, vue_1.computed)(() => props.size[0]), cssVarsRef, props)
261
+ : undefined;
262
+ return Object.assign({ mainTableInstRef, mergedClsPrefix: mergedClsPrefixRef, mergedTheme: themeRef, paginatedData: paginatedDataRef, mergedBordered: mergedBorderedRef, mergedBottomBordered: mergedBottomBorderedRef, mergedPagination: mergedPaginationRef, cssVars: inlineThemeDisabled ? undefined : cssVarsRef, themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender }, exposedMethods);
259
263
  },
260
264
  render() {
261
- const { mergedClsPrefix } = this;
265
+ const { mergedClsPrefix, themeClass, onRender } = this;
266
+ onRender === null || onRender === void 0 ? void 0 : onRender();
262
267
  return ((0, vue_1.h)("div", { class: [
263
268
  `${mergedClsPrefix}-data-table`,
269
+ themeClass,
264
270
  {
265
271
  [`${mergedClsPrefix}-data-table--bordered`]: this.mergedBordered,
266
272
  [`${mergedClsPrefix}-data-table--bottom-bordered`]: this.mergedBottomBordered,
@@ -498,7 +498,7 @@ declare const _default: import("vue").DefineComponent<{
498
498
  borderHover: string;
499
499
  borderActive: string;
500
500
  borderFocus: string;
501
- boxShadowHover: null;
501
+ boxShadowHover: string;
502
502
  boxShadowActive: string;
503
503
  boxShadowFocus: string;
504
504
  caretColor: string;
@@ -509,7 +509,7 @@ declare const _default: import("vue").DefineComponent<{
509
509
  borderHoverWarning: string;
510
510
  borderActiveWarning: string;
511
511
  borderFocusWarning: string;
512
- boxShadowHoverWarning: null;
512
+ boxShadowHoverWarning: string;
513
513
  boxShadowActiveWarning: string;
514
514
  boxShadowFocusWarning: string;
515
515
  colorActiveWarning: string;
@@ -518,7 +518,7 @@ declare const _default: import("vue").DefineComponent<{
518
518
  borderHoverError: string;
519
519
  borderActiveError: string;
520
520
  borderFocusError: string;
521
- boxShadowHoverError: null;
521
+ boxShadowHoverError: string;
522
522
  boxShadowActiveError: string;
523
523
  boxShadowFocusError: string;
524
524
  colorActiveError: string;
@@ -758,7 +758,7 @@ declare const _default: import("vue").DefineComponent<{
758
758
  borderHover: string;
759
759
  borderActive: string;
760
760
  borderFocus: string;
761
- boxShadowHover: null;
761
+ boxShadowHover: string;
762
762
  boxShadowActive: string;
763
763
  boxShadowFocus: string;
764
764
  caretColor: string;
@@ -769,7 +769,7 @@ declare const _default: import("vue").DefineComponent<{
769
769
  borderHoverWarning: string;
770
770
  borderActiveWarning: string;
771
771
  borderFocusWarning: string;
772
- boxShadowHoverWarning: null;
772
+ boxShadowHoverWarning: string;
773
773
  boxShadowActiveWarning: string;
774
774
  boxShadowFocusWarning: string;
775
775
  colorActiveWarning: string;
@@ -778,7 +778,7 @@ declare const _default: import("vue").DefineComponent<{
778
778
  borderHoverError: string;
779
779
  borderActiveError: string;
780
780
  borderFocusError: string;
781
- boxShadowHoverError: null;
781
+ boxShadowHoverError: string;
782
782
  boxShadowActiveError: string;
783
783
  boxShadowFocusError: string;
784
784
  colorActiveError: string;
@@ -29,7 +29,7 @@ exports.default = (0, vue_1.defineComponent)({
29
29
  }
30
30
  },
31
31
  setup(props) {
32
- const { NConfigProvider } = (0, _mixins_1.useConfig)();
32
+ const { mergedComponentPropsRef } = (0, _mixins_1.useConfig)();
33
33
  const { mergedThemeRef, mergedClsPrefixRef, mergedFilterStateRef, filterMenuCssVarsRef, doUpdateFilters
34
34
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
35
35
  } = (0, vue_1.inject)(interface_1.dataTableInjectionKey);
@@ -58,7 +58,8 @@ exports.default = (0, vue_1.defineComponent)({
58
58
  });
59
59
  const mergedRenderFilterRef = (0, vue_1.computed)(() => {
60
60
  var _a, _b;
61
- return (((_b = (_a = NConfigProvider === null || NConfigProvider === void 0 ? void 0 : NConfigProvider.mergedComponentPropsRef.value) === null || _a === void 0 ? void 0 : _a.DataTable) === null || _b === void 0 ? void 0 : _b.renderFilter) || props.column.renderFilter);
61
+ return (((_b = (_a = mergedComponentPropsRef === null || mergedComponentPropsRef === void 0 ? void 0 : mergedComponentPropsRef.value) === null || _a === void 0 ? void 0 : _a.DataTable) === null || _b === void 0 ? void 0 : _b.renderFilter) ||
62
+ props.column.renderFilter);
62
63
  });
63
64
  function handleFilterChange(mergedFilterValue) {
64
65
  const nextFilterState = createFilterState(filterStateRef.value, props.column.key, mergedFilterValue);
@@ -523,7 +523,7 @@ declare const _default: import("vue").DefineComponent<{
523
523
  borderHover: string;
524
524
  borderActive: string;
525
525
  borderFocus: string;
526
- boxShadowHover: null;
526
+ boxShadowHover: string;
527
527
  boxShadowActive: string;
528
528
  boxShadowFocus: string;
529
529
  caretColor: string;
@@ -534,7 +534,7 @@ declare const _default: import("vue").DefineComponent<{
534
534
  borderHoverWarning: string;
535
535
  borderActiveWarning: string;
536
536
  borderFocusWarning: string;
537
- boxShadowHoverWarning: null;
537
+ boxShadowHoverWarning: string;
538
538
  boxShadowActiveWarning: string;
539
539
  boxShadowFocusWarning: string;
540
540
  colorActiveWarning: string;
@@ -543,7 +543,7 @@ declare const _default: import("vue").DefineComponent<{
543
543
  borderHoverError: string;
544
544
  borderActiveError: string;
545
545
  borderFocusError: string;
546
- boxShadowHoverError: null;
546
+ boxShadowHoverError: string;
547
547
  boxShadowActiveError: string;
548
548
  boxShadowFocusError: string;
549
549
  colorActiveError: string;
@@ -783,7 +783,7 @@ declare const _default: import("vue").DefineComponent<{
783
783
  borderHover: string;
784
784
  borderActive: string;
785
785
  borderFocus: string;
786
- boxShadowHover: null;
786
+ boxShadowHover: string;
787
787
  boxShadowActive: string;
788
788
  boxShadowFocus: string;
789
789
  caretColor: string;
@@ -794,7 +794,7 @@ declare const _default: import("vue").DefineComponent<{
794
794
  borderHoverWarning: string;
795
795
  borderActiveWarning: string;
796
796
  borderFocusWarning: string;
797
- boxShadowHoverWarning: null;
797
+ boxShadowHoverWarning: string;
798
798
  boxShadowActiveWarning: string;
799
799
  boxShadowFocusWarning: string;
800
800
  colorActiveWarning: string;
@@ -803,7 +803,7 @@ declare const _default: import("vue").DefineComponent<{
803
803
  borderHoverError: string;
804
804
  borderActiveError: string;
805
805
  borderFocusError: string;
806
- boxShadowHoverError: null;
806
+ boxShadowHoverError: string;
807
807
  boxShadowActiveError: string;
808
808
  boxShadowFocusError: string;
809
809
  colorActiveError: string;