naive-ui 2.21.4 → 2.23.1

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 (388) hide show
  1. package/es/_internal/close/src/styles/index.cssr.js +6 -5
  2. package/es/_internal/scrollbar/src/ScrollBar.d.ts +4 -0
  3. package/es/_internal/scrollbar/src/ScrollBar.js +5 -2
  4. package/es/_internal/selection/src/Selection.js +11 -9
  5. package/es/_internal/selection/src/styles/index.cssr.js +6 -2
  6. package/es/_utils/composable/use-houdini.js +10 -7
  7. package/es/alert/src/Alert.d.ts +20 -20
  8. package/es/alert/src/Alert.js +22 -22
  9. package/es/alert/src/styles/index.cssr.js +45 -45
  10. package/es/anchor/src/AnchorAdapter.js +12 -12
  11. package/es/anchor/src/styles/index.cssr.js +41 -41
  12. package/es/auto-complete/src/AutoComplete.d.ts +2 -2
  13. package/es/auto-complete/src/AutoComplete.js +2 -2
  14. package/es/auto-complete/src/styles/index.cssr.js +4 -4
  15. package/es/avatar/src/Avatar.d.ts +10 -8
  16. package/es/avatar/src/Avatar.js +11 -9
  17. package/es/avatar/src/styles/index.cssr.js +14 -16
  18. package/es/back-top/src/BackTop.d.ts +13 -13
  19. package/es/back-top/src/BackTop.js +13 -13
  20. package/es/back-top/src/styles/index.cssr.js +29 -29
  21. package/es/badge/src/Badge.d.ts +6 -6
  22. package/es/badge/src/Badge.js +6 -6
  23. package/es/badge/src/styles/index.cssr.js +15 -15
  24. package/es/button/src/Button.d.ts +43 -38
  25. package/es/button/src/Button.js +124 -116
  26. package/es/button/src/styles/button.cssr.js +83 -80
  27. package/es/button/styles/light.js +1 -1
  28. package/es/calendar/src/Calendar.d.ts +6 -0
  29. package/es/cascader/src/Cascader.d.ts +135 -0
  30. package/es/cascader/src/Cascader.js +2 -4
  31. package/es/cascader/src/CascaderMenu.d.ts +345 -0
  32. package/es/cascader/src/CascaderMenu.js +6 -5
  33. package/es/cascader/src/CascaderOption.d.ts +18 -0
  34. package/es/cascader/src/CascaderSelectMenu.d.ts +18 -0
  35. package/es/cascader/src/CascaderSubmenu.d.ts +18 -0
  36. package/es/cascader/styles/dark.js +3 -1
  37. package/es/cascader/styles/light.d.ts +13 -0
  38. package/es/cascader/styles/light.js +3 -1
  39. package/es/config-provider/src/ConfigProvider.d.ts +18 -0
  40. package/es/data-table/src/DataTable.js +7 -13
  41. package/es/data-table/src/MainTable.js +2 -3
  42. package/es/data-table/src/TableParts/Body.d.ts +15 -4
  43. package/es/data-table/src/TableParts/Body.js +80 -28
  44. package/es/data-table/src/TableParts/Cell.js +2 -3
  45. package/es/data-table/src/TableParts/Header.js +2 -2
  46. package/es/data-table/src/interface.d.ts +4 -1
  47. package/es/data-table/src/styles/index.cssr.js +4 -3
  48. package/es/data-table/src/use-check.js +6 -2
  49. package/es/data-table/src/use-scroll.d.ts +2 -0
  50. package/es/data-table/src/use-scroll.js +34 -4
  51. package/es/data-table/src/use-table-data.js +3 -1
  52. package/es/data-table/styles/_common.js +1 -1
  53. package/es/date-picker/src/DatePicker.d.ts +30 -5
  54. package/es/date-picker/src/DatePicker.js +32 -9
  55. package/es/date-picker/src/config.d.ts +1 -9
  56. package/es/date-picker/src/config.js +0 -8
  57. package/es/date-picker/src/interface.d.ts +2 -1
  58. package/es/date-picker/src/panel/date.d.ts +17 -10
  59. package/es/date-picker/src/panel/date.js +2 -2
  60. package/es/date-picker/src/panel/daterange.d.ts +15 -9
  61. package/es/date-picker/src/panel/daterange.js +2 -2
  62. package/es/date-picker/src/panel/datetime.d.ts +17 -16
  63. package/es/date-picker/src/panel/datetime.js +2 -2
  64. package/es/date-picker/src/panel/datetimerange.d.ts +15 -9
  65. package/es/date-picker/src/panel/datetimerange.js +2 -2
  66. package/es/date-picker/src/panel/month.d.ts +21 -20
  67. package/es/date-picker/src/panel/month.js +23 -12
  68. package/es/date-picker/src/panel/use-calendar.d.ts +17 -39
  69. package/es/date-picker/src/panel/use-calendar.js +41 -23
  70. package/es/date-picker/src/panel/use-dual-calendar.d.ts +13 -36
  71. package/es/date-picker/src/panel/use-dual-calendar.js +35 -21
  72. package/es/date-picker/src/panel/use-panel-common.d.ts +13 -32
  73. package/es/date-picker/src/panel/use-panel-common.js +4 -8
  74. package/es/date-picker/src/utils.d.ts +19 -3
  75. package/es/date-picker/src/utils.js +40 -5
  76. package/es/date-picker/styles/_common.d.ts +2 -0
  77. package/es/date-picker/styles/_common.js +3 -1
  78. package/es/date-picker/styles/light.d.ts +4 -0
  79. package/es/dialog/src/Dialog.d.ts +21 -21
  80. package/es/dialog/src/Dialog.js +23 -23
  81. package/es/dialog/src/styles/index.cssr.js +45 -45
  82. package/es/divider/src/Divider.d.ts +4 -4
  83. package/es/divider/src/Divider.js +4 -4
  84. package/es/divider/src/styles/index.cssr.js +12 -12
  85. package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
  86. package/es/dynamic-tags/src/DynamicTags.js +1 -1
  87. package/es/dynamic-tags/src/styles/index.cssr.js +1 -1
  88. package/es/form/src/Form.d.ts +27 -27
  89. package/es/form/src/FormItem.d.ts +27 -27
  90. package/es/form/src/FormItemCol.d.ts +27 -27
  91. package/es/form/src/FormItemGridItem.d.ts +27 -27
  92. package/es/form/src/FormItemRow.d.ts +27 -27
  93. package/es/form/styles/_common.d.ts +0 -3
  94. package/es/form/styles/_common.js +0 -3
  95. package/es/form/styles/light.d.ts +3 -3
  96. package/es/form/styles/light.js +2 -2
  97. package/es/image/src/Image.js +8 -12
  98. package/es/input/src/Input.js +2 -0
  99. package/es/input-number/src/InputNumber.js +2 -0
  100. package/es/input-number/src/utils.js +1 -1
  101. package/es/locales/common/deDE.js +6 -0
  102. package/es/locales/common/enUS.d.ts +6 -0
  103. package/es/locales/common/enUS.js +7 -1
  104. package/es/locales/common/frFR.d.ts +3 -0
  105. package/es/locales/common/frFR.js +101 -0
  106. package/es/locales/common/idID.d.ts +2 -94
  107. package/es/locales/common/idID.js +6 -0
  108. package/es/locales/common/jaJP.js +6 -0
  109. package/es/locales/common/nbNO.js +6 -0
  110. package/es/locales/common/ruRU.js +6 -0
  111. package/es/locales/common/ukUA.js +6 -0
  112. package/es/locales/common/zhCN.js +6 -0
  113. package/es/locales/common/zhTW.d.ts +3 -0
  114. package/es/locales/common/zhTW.js +100 -0
  115. package/es/locales/date/frFR.d.ts +3 -0
  116. package/es/locales/date/frFR.js +6 -0
  117. package/es/locales/date/idID.d.ts +1 -6
  118. package/es/locales/date/zhTW.d.ts +3 -0
  119. package/es/locales/date/zhTW.js +6 -0
  120. package/es/locales/index.d.ts +4 -0
  121. package/es/locales/index.js +4 -0
  122. package/es/log/src/Log.d.ts +6 -6
  123. package/es/log/src/Log.js +6 -6
  124. package/es/log/src/styles/index.cssr.js +16 -18
  125. package/es/page-header/src/PageHeader.js +3 -3
  126. package/es/page-header/src/styles/index.cssr.js +2 -4
  127. package/es/popover/src/Popover.js +4 -1
  128. package/es/popover/src/PopoverBody.js +3 -3
  129. package/es/popselect/src/Popselect.d.ts +2 -11
  130. package/es/popselect/src/Popselect.js +2 -2
  131. package/es/popselect/src/PopselectPanel.d.ts +3 -11
  132. package/es/popselect/src/PopselectPanel.js +17 -11
  133. package/es/radio/src/Radio.js +3 -3
  134. package/es/radio/src/RadioButton.js +4 -5
  135. package/es/radio/src/styles/radio-group.cssr.js +8 -4
  136. package/es/radio/src/styles/radio.cssr.js +8 -4
  137. package/es/radio/src/use-radio.d.ts +0 -3
  138. package/es/radio/src/use-radio.js +1 -26
  139. package/es/steps/src/Step.d.ts +12 -12
  140. package/es/steps/src/Step.js +12 -12
  141. package/es/steps/src/styles/index.cssr.js +46 -46
  142. package/es/switch/src/Switch.d.ts +19 -19
  143. package/es/switch/src/Switch.js +26 -19
  144. package/es/switch/src/styles/index.cssr.js +59 -57
  145. package/es/tabs/src/styles/index.cssr.js +1 -0
  146. package/es/tag/src/Tag.d.ts +26 -26
  147. package/es/tag/src/Tag.js +26 -26
  148. package/es/tag/src/styles/index.cssr.js +55 -55
  149. package/es/tag/src/styles/rtl.cssr.js +1 -1
  150. package/es/time-picker/src/TimePicker.d.ts +17 -17
  151. package/es/time-picker/src/TimePicker.js +17 -17
  152. package/es/time-picker/src/styles/index.cssr.js +47 -47
  153. package/es/timeline/src/TimelineItem.d.ts +12 -12
  154. package/es/timeline/src/TimelineItem.js +12 -12
  155. package/es/timeline/src/styles/index.cssr.js +44 -44
  156. package/es/transfer/src/styles/index.cssr.js +9 -4
  157. package/es/tree/src/Tree.d.ts +11 -11
  158. package/es/tree/src/Tree.js +11 -11
  159. package/es/tree/src/dnd.js +2 -2
  160. package/es/tree/src/styles/index.cssr.js +33 -33
  161. package/es/tree-select/src/TreeSelect.d.ts +43 -6
  162. package/es/tree-select/src/TreeSelect.js +29 -14
  163. package/es/tree-select/src/styles/index.cssr.js +20 -11
  164. package/es/tree-select/styles/light.d.ts +6 -0
  165. package/es/tree-select/styles/light.js +5 -2
  166. package/es/typography/src/a.d.ts +2 -2
  167. package/es/typography/src/a.js +2 -2
  168. package/es/typography/src/blockquote.d.ts +5 -5
  169. package/es/typography/src/blockquote.js +5 -5
  170. package/es/typography/src/create-header.d.ts +8 -8
  171. package/es/typography/src/create-header.js +8 -8
  172. package/es/typography/src/headers.d.ts +48 -48
  173. package/es/typography/src/hr.d.ts +2 -1
  174. package/es/typography/src/hr.js +3 -1
  175. package/es/typography/src/ol.d.ts +7 -7
  176. package/es/typography/src/ol.js +7 -7
  177. package/es/typography/src/p.d.ts +5 -5
  178. package/es/typography/src/p.js +5 -5
  179. package/es/typography/src/styles/a.cssr.js +6 -6
  180. package/es/typography/src/styles/blockquote.cssr.js +11 -11
  181. package/es/typography/src/styles/header.cssr.js +19 -19
  182. package/es/typography/src/styles/hr.cssr.js +3 -3
  183. package/es/typography/src/styles/list.cssr.js +15 -15
  184. package/es/typography/src/styles/p.cssr.js +10 -10
  185. package/es/typography/src/styles/text.cssr.js +18 -18
  186. package/es/typography/src/text.d.ts +8 -7
  187. package/es/typography/src/text.js +9 -8
  188. package/es/typography/src/ul.d.ts +7 -7
  189. package/es/typography/src/ul.js +7 -7
  190. package/es/upload/src/Upload.js +16 -16
  191. package/es/upload/src/styles/index.cssr.js +36 -36
  192. package/es/version.d.ts +1 -1
  193. package/es/version.js +1 -1
  194. package/lib/_internal/close/src/styles/index.cssr.js +6 -5
  195. package/lib/_internal/scrollbar/src/ScrollBar.d.ts +4 -0
  196. package/lib/_internal/scrollbar/src/ScrollBar.js +5 -2
  197. package/lib/_internal/selection/src/Selection.js +11 -9
  198. package/lib/_internal/selection/src/styles/index.cssr.js +6 -2
  199. package/lib/_utils/composable/use-houdini.js +10 -7
  200. package/lib/alert/src/Alert.d.ts +20 -20
  201. package/lib/alert/src/Alert.js +22 -22
  202. package/lib/alert/src/styles/index.cssr.js +45 -45
  203. package/lib/anchor/src/AnchorAdapter.js +12 -12
  204. package/lib/anchor/src/styles/index.cssr.js +41 -41
  205. package/lib/auto-complete/src/AutoComplete.d.ts +2 -2
  206. package/lib/auto-complete/src/AutoComplete.js +2 -2
  207. package/lib/auto-complete/src/styles/index.cssr.js +4 -4
  208. package/lib/avatar/src/Avatar.d.ts +10 -8
  209. package/lib/avatar/src/Avatar.js +11 -9
  210. package/lib/avatar/src/styles/index.cssr.js +14 -16
  211. package/lib/back-top/src/BackTop.d.ts +13 -13
  212. package/lib/back-top/src/BackTop.js +13 -13
  213. package/lib/back-top/src/styles/index.cssr.js +29 -29
  214. package/lib/badge/src/Badge.d.ts +6 -6
  215. package/lib/badge/src/Badge.js +6 -6
  216. package/lib/badge/src/styles/index.cssr.js +15 -15
  217. package/lib/button/src/Button.d.ts +43 -38
  218. package/lib/button/src/Button.js +123 -115
  219. package/lib/button/src/styles/button.cssr.js +83 -80
  220. package/lib/button/styles/light.js +1 -1
  221. package/lib/calendar/src/Calendar.d.ts +6 -0
  222. package/lib/cascader/src/Cascader.d.ts +135 -0
  223. package/lib/cascader/src/Cascader.js +2 -4
  224. package/lib/cascader/src/CascaderMenu.d.ts +345 -0
  225. package/lib/cascader/src/CascaderMenu.js +6 -5
  226. package/lib/cascader/src/CascaderOption.d.ts +18 -0
  227. package/lib/cascader/src/CascaderSelectMenu.d.ts +18 -0
  228. package/lib/cascader/src/CascaderSubmenu.d.ts +18 -0
  229. package/lib/cascader/styles/dark.js +3 -1
  230. package/lib/cascader/styles/light.d.ts +13 -0
  231. package/lib/cascader/styles/light.js +3 -1
  232. package/lib/config-provider/src/ConfigProvider.d.ts +18 -0
  233. package/lib/data-table/src/DataTable.js +6 -12
  234. package/lib/data-table/src/MainTable.js +1 -2
  235. package/lib/data-table/src/TableParts/Body.d.ts +15 -4
  236. package/lib/data-table/src/TableParts/Body.js +78 -26
  237. package/lib/data-table/src/TableParts/Cell.js +2 -3
  238. package/lib/data-table/src/TableParts/Header.js +2 -2
  239. package/lib/data-table/src/interface.d.ts +4 -1
  240. package/lib/data-table/src/styles/index.cssr.js +4 -3
  241. package/lib/data-table/src/use-check.js +6 -2
  242. package/lib/data-table/src/use-scroll.d.ts +2 -0
  243. package/lib/data-table/src/use-scroll.js +34 -4
  244. package/lib/data-table/src/use-table-data.js +3 -1
  245. package/lib/data-table/styles/_common.js +1 -1
  246. package/lib/date-picker/src/DatePicker.d.ts +30 -5
  247. package/lib/date-picker/src/DatePicker.js +31 -8
  248. package/lib/date-picker/src/config.d.ts +1 -9
  249. package/lib/date-picker/src/config.js +1 -9
  250. package/lib/date-picker/src/interface.d.ts +2 -1
  251. package/lib/date-picker/src/panel/date.d.ts +17 -10
  252. package/lib/date-picker/src/panel/date.js +1 -1
  253. package/lib/date-picker/src/panel/daterange.d.ts +15 -9
  254. package/lib/date-picker/src/panel/daterange.js +1 -1
  255. package/lib/date-picker/src/panel/datetime.d.ts +17 -16
  256. package/lib/date-picker/src/panel/datetime.js +1 -1
  257. package/lib/date-picker/src/panel/datetimerange.d.ts +15 -9
  258. package/lib/date-picker/src/panel/datetimerange.js +2 -2
  259. package/lib/date-picker/src/panel/month.d.ts +21 -20
  260. package/lib/date-picker/src/panel/month.js +23 -12
  261. package/lib/date-picker/src/panel/use-calendar.d.ts +17 -39
  262. package/lib/date-picker/src/panel/use-calendar.js +40 -21
  263. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +13 -36
  264. package/lib/date-picker/src/panel/use-dual-calendar.js +34 -19
  265. package/lib/date-picker/src/panel/use-panel-common.d.ts +13 -32
  266. package/lib/date-picker/src/panel/use-panel-common.js +5 -8
  267. package/lib/date-picker/src/utils.d.ts +19 -3
  268. package/lib/date-picker/src/utils.js +41 -4
  269. package/lib/date-picker/styles/_common.d.ts +2 -0
  270. package/lib/date-picker/styles/_common.js +3 -1
  271. package/lib/date-picker/styles/light.d.ts +4 -0
  272. package/lib/dialog/src/Dialog.d.ts +21 -21
  273. package/lib/dialog/src/Dialog.js +23 -23
  274. package/lib/dialog/src/styles/index.cssr.js +45 -45
  275. package/lib/divider/src/Divider.d.ts +4 -4
  276. package/lib/divider/src/Divider.js +4 -4
  277. package/lib/divider/src/styles/index.cssr.js +12 -12
  278. package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
  279. package/lib/dynamic-tags/src/DynamicTags.js +1 -1
  280. package/lib/dynamic-tags/src/styles/index.cssr.js +1 -1
  281. package/lib/form/src/Form.d.ts +27 -27
  282. package/lib/form/src/FormItem.d.ts +27 -27
  283. package/lib/form/src/FormItemCol.d.ts +27 -27
  284. package/lib/form/src/FormItemGridItem.d.ts +27 -27
  285. package/lib/form/src/FormItemRow.d.ts +27 -27
  286. package/lib/form/styles/_common.d.ts +0 -3
  287. package/lib/form/styles/_common.js +0 -3
  288. package/lib/form/styles/light.d.ts +3 -3
  289. package/lib/form/styles/light.js +2 -2
  290. package/lib/image/src/Image.js +7 -11
  291. package/lib/input/src/Input.js +2 -0
  292. package/lib/input-number/src/InputNumber.js +2 -0
  293. package/lib/input-number/src/utils.js +1 -1
  294. package/lib/locales/common/deDE.js +6 -0
  295. package/lib/locales/common/enUS.d.ts +6 -0
  296. package/lib/locales/common/enUS.js +7 -1
  297. package/lib/locales/common/frFR.d.ts +3 -0
  298. package/lib/locales/common/frFR.js +103 -0
  299. package/lib/locales/common/idID.d.ts +2 -94
  300. package/lib/locales/common/idID.js +6 -0
  301. package/lib/locales/common/jaJP.js +6 -0
  302. package/lib/locales/common/nbNO.js +6 -0
  303. package/lib/locales/common/ruRU.js +6 -0
  304. package/lib/locales/common/ukUA.js +6 -0
  305. package/lib/locales/common/zhCN.js +6 -0
  306. package/lib/locales/common/zhTW.d.ts +3 -0
  307. package/lib/locales/common/zhTW.js +102 -0
  308. package/lib/locales/date/frFR.d.ts +3 -0
  309. package/lib/locales/date/frFR.js +11 -0
  310. package/lib/locales/date/idID.d.ts +1 -6
  311. package/lib/locales/date/zhTW.d.ts +3 -0
  312. package/lib/locales/date/zhTW.js +11 -0
  313. package/lib/locales/index.d.ts +4 -0
  314. package/lib/locales/index.js +9 -1
  315. package/lib/log/src/Log.d.ts +6 -6
  316. package/lib/log/src/Log.js +6 -6
  317. package/lib/log/src/styles/index.cssr.js +16 -18
  318. package/lib/page-header/src/PageHeader.js +3 -3
  319. package/lib/page-header/src/styles/index.cssr.js +2 -4
  320. package/lib/popover/src/Popover.js +4 -1
  321. package/lib/popover/src/PopoverBody.js +3 -3
  322. package/lib/popselect/src/Popselect.d.ts +2 -11
  323. package/lib/popselect/src/Popselect.js +2 -2
  324. package/lib/popselect/src/PopselectPanel.d.ts +3 -11
  325. package/lib/popselect/src/PopselectPanel.js +16 -10
  326. package/lib/radio/src/Radio.js +3 -3
  327. package/lib/radio/src/RadioButton.js +4 -5
  328. package/lib/radio/src/styles/radio-group.cssr.js +8 -4
  329. package/lib/radio/src/styles/radio.cssr.js +8 -4
  330. package/lib/radio/src/use-radio.d.ts +0 -3
  331. package/lib/radio/src/use-radio.js +1 -26
  332. package/lib/steps/src/Step.d.ts +12 -12
  333. package/lib/steps/src/Step.js +12 -12
  334. package/lib/steps/src/styles/index.cssr.js +46 -46
  335. package/lib/switch/src/Switch.d.ts +19 -19
  336. package/lib/switch/src/Switch.js +26 -19
  337. package/lib/switch/src/styles/index.cssr.js +59 -57
  338. package/lib/tabs/src/styles/index.cssr.js +1 -0
  339. package/lib/tag/src/Tag.d.ts +26 -26
  340. package/lib/tag/src/Tag.js +26 -26
  341. package/lib/tag/src/styles/index.cssr.js +55 -55
  342. package/lib/tag/src/styles/rtl.cssr.js +1 -1
  343. package/lib/time-picker/src/TimePicker.d.ts +17 -17
  344. package/lib/time-picker/src/TimePicker.js +17 -17
  345. package/lib/time-picker/src/styles/index.cssr.js +47 -47
  346. package/lib/timeline/src/TimelineItem.d.ts +12 -12
  347. package/lib/timeline/src/TimelineItem.js +12 -12
  348. package/lib/timeline/src/styles/index.cssr.js +44 -44
  349. package/lib/transfer/src/styles/index.cssr.js +9 -4
  350. package/lib/tree/src/Tree.d.ts +11 -11
  351. package/lib/tree/src/Tree.js +11 -11
  352. package/lib/tree/src/dnd.js +2 -2
  353. package/lib/tree/src/styles/index.cssr.js +33 -33
  354. package/lib/tree-select/src/TreeSelect.d.ts +43 -6
  355. package/lib/tree-select/src/TreeSelect.js +28 -13
  356. package/lib/tree-select/src/styles/index.cssr.js +20 -11
  357. package/lib/tree-select/styles/light.d.ts +6 -0
  358. package/lib/tree-select/styles/light.js +5 -2
  359. package/lib/typography/src/a.d.ts +2 -2
  360. package/lib/typography/src/a.js +2 -2
  361. package/lib/typography/src/blockquote.d.ts +5 -5
  362. package/lib/typography/src/blockquote.js +5 -5
  363. package/lib/typography/src/create-header.d.ts +8 -8
  364. package/lib/typography/src/create-header.js +8 -8
  365. package/lib/typography/src/headers.d.ts +48 -48
  366. package/lib/typography/src/hr.d.ts +2 -1
  367. package/lib/typography/src/hr.js +3 -1
  368. package/lib/typography/src/ol.d.ts +7 -7
  369. package/lib/typography/src/ol.js +7 -7
  370. package/lib/typography/src/p.d.ts +5 -5
  371. package/lib/typography/src/p.js +5 -5
  372. package/lib/typography/src/styles/a.cssr.js +6 -6
  373. package/lib/typography/src/styles/blockquote.cssr.js +11 -11
  374. package/lib/typography/src/styles/header.cssr.js +19 -19
  375. package/lib/typography/src/styles/hr.cssr.js +3 -3
  376. package/lib/typography/src/styles/list.cssr.js +15 -15
  377. package/lib/typography/src/styles/p.cssr.js +10 -10
  378. package/lib/typography/src/styles/text.cssr.js +18 -18
  379. package/lib/typography/src/text.d.ts +8 -7
  380. package/lib/typography/src/text.js +9 -8
  381. package/lib/typography/src/ul.d.ts +7 -7
  382. package/lib/typography/src/ul.js +7 -7
  383. package/lib/upload/src/Upload.js +16 -16
  384. package/lib/upload/src/styles/index.cssr.js +36 -36
  385. package/lib/version.d.ts +1 -1
  386. package/lib/version.js +1 -1
  387. package/package.json +29 -28
  388. package/web-types.json +25 -7
@@ -43,6 +43,351 @@ declare const _default: import("vue").DefineComponent<{
43
43
  maskInstRef: import("vue").Ref<{
44
44
  showOnce: (message: string, duration?: number | undefined) => void;
45
45
  } | null>;
46
+ mergedTheme: import("vue").Ref<{
47
+ common: {
48
+ baseColor: string;
49
+ primaryColor: string;
50
+ primaryColorHover: string;
51
+ primaryColorPressed: string;
52
+ primaryColorSuppl: string;
53
+ infoColor: string;
54
+ infoColorHover: string;
55
+ infoColorPressed: string;
56
+ infoColorSuppl: string;
57
+ successColor: string;
58
+ successColorHover: string;
59
+ successColorPressed: string;
60
+ successColorSuppl: string;
61
+ warningColor: string;
62
+ warningColorHover: string;
63
+ warningColorPressed: string;
64
+ warningColorSuppl: string;
65
+ errorColor: string;
66
+ errorColorHover: string;
67
+ errorColorPressed: string;
68
+ errorColorSuppl: string;
69
+ textColorBase: string;
70
+ textColor1: string;
71
+ textColor2: string;
72
+ textColor3: string;
73
+ textColorDisabled: string;
74
+ placeholderColor: string;
75
+ placeholderColorDisabled: string;
76
+ iconColor: string;
77
+ iconColorHover: string;
78
+ iconColorPressed: string;
79
+ iconColorDisabled: string;
80
+ opacity1: string;
81
+ opacity2: string;
82
+ opacity3: string;
83
+ opacity4: string;
84
+ opacity5: string;
85
+ dividerColor: string;
86
+ borderColor: string;
87
+ closeColor: string;
88
+ closeColorHover: string;
89
+ closeColorPressed: string;
90
+ closeColorDisabled: string;
91
+ clearColor: string;
92
+ clearColorHover: string;
93
+ clearColorPressed: string;
94
+ scrollbarColor: string;
95
+ scrollbarColorHover: string;
96
+ scrollbarWidth: string;
97
+ scrollbarHeight: string;
98
+ scrollbarBorderRadius: string;
99
+ progressRailColor: string;
100
+ railColor: string;
101
+ popoverColor: string;
102
+ tableColor: string;
103
+ cardColor: string;
104
+ modalColor: string;
105
+ bodyColor: string;
106
+ tagColor: string;
107
+ avatarColor: string;
108
+ invertedColor: string;
109
+ inputColor: string;
110
+ codeColor: string;
111
+ tabColor: string;
112
+ actionColor: string;
113
+ tableHeaderColor: string;
114
+ hoverColor: string;
115
+ tableColorHover: string;
116
+ tableColorStriped: string;
117
+ pressedColor: string;
118
+ opacityDisabled: string;
119
+ inputColorDisabled: string;
120
+ buttonColor2: string;
121
+ buttonColor2Hover: string;
122
+ buttonColor2Pressed: string;
123
+ boxShadow1: string;
124
+ boxShadow2: string;
125
+ boxShadow3: string;
126
+ fontFamily: string;
127
+ fontFamilyMono: string;
128
+ fontWeight: string;
129
+ fontWeightStrong: string;
130
+ cubicBezierEaseInOut: string;
131
+ cubicBezierEaseOut: string;
132
+ cubicBezierEaseIn: string;
133
+ borderRadius: string;
134
+ borderRadiusSmall: string;
135
+ fontSize: string;
136
+ fontSizeTiny: string;
137
+ fontSizeSmall: string;
138
+ fontSizeMedium: string;
139
+ fontSizeLarge: string;
140
+ fontSizeHuge: string;
141
+ lineHeight: string;
142
+ heightTiny: string;
143
+ heightSmall: string;
144
+ heightMedium: string;
145
+ heightLarge: string;
146
+ heightHuge: string;
147
+ transformDebounceScale: string;
148
+ name: "common";
149
+ };
150
+ self: {
151
+ menuBorderRadius: string;
152
+ menuColor: string;
153
+ menuBoxShadow: string;
154
+ menuDividerColor: string;
155
+ menuHeight: string;
156
+ optionArrowColor: string;
157
+ optionHeight: string;
158
+ optionFontSize: string;
159
+ optionColorHover: string;
160
+ optionTextColor: string;
161
+ optionTextColorActive: string;
162
+ optionTextColorDisabled: string;
163
+ optionCheckMarkColor: string;
164
+ loadingColor: string;
165
+ columnWidth: string;
166
+ };
167
+ peers: {
168
+ InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
169
+ optionFontSizeSmall: string;
170
+ optionFontSizeMedium: string;
171
+ optionFontSizeLarge: string;
172
+ optionFontSizeHuge: string;
173
+ optionHeightSmall: string;
174
+ optionHeightMedium: string;
175
+ optionHeightLarge: string;
176
+ optionHeightHuge: string;
177
+ borderRadius: string;
178
+ color: string;
179
+ groupHeaderTextColor: string;
180
+ actionDividerColor: string;
181
+ optionTextColor: string;
182
+ optionTextColorPressed: string;
183
+ optionTextColorDisabled: string;
184
+ optionTextColorActive: string;
185
+ optionOpacityDisabled: string;
186
+ optionCheckColor: string;
187
+ optionColorPending: string;
188
+ optionColorActive: string;
189
+ actionTextColor: string;
190
+ loadingColor: string;
191
+ height: string;
192
+ paddingSmall: string;
193
+ paddingMedium: string;
194
+ paddingLarge: string;
195
+ paddingHuge: string;
196
+ optionPaddingSmall: string;
197
+ optionPaddingMedium: string;
198
+ optionPaddingLarge: string;
199
+ optionPaddingHuge: string;
200
+ loadingSize: string;
201
+ }, {
202
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
203
+ color: string;
204
+ colorHover: string;
205
+ }, any>;
206
+ Empty: import("../../_mixins").Theme<"Empty", {
207
+ fontSizeSmall: string;
208
+ fontSizeMedium: string;
209
+ fontSizeLarge: string;
210
+ fontSizeHuge: string;
211
+ textColor: string;
212
+ iconColor: string;
213
+ extraTextColor: string;
214
+ iconSizeSmall: string;
215
+ iconSizeMedium: string;
216
+ iconSizeLarge: string;
217
+ iconSizeHuge: string;
218
+ }, any>;
219
+ }>;
220
+ InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
221
+ fontSizeTiny: string;
222
+ fontSizeSmall: string;
223
+ fontSizeMedium: string;
224
+ fontSizeLarge: string;
225
+ heightTiny: string;
226
+ heightSmall: string;
227
+ heightMedium: string;
228
+ heightLarge: string;
229
+ borderRadius: string;
230
+ textColor: string;
231
+ textColorDisabled: string;
232
+ placeholderColor: string;
233
+ placeholderColorDisabled: string;
234
+ color: string;
235
+ colorDisabled: string;
236
+ colorActive: string;
237
+ border: string;
238
+ borderHover: string;
239
+ borderActive: string;
240
+ borderFocus: string;
241
+ boxShadowHover: null;
242
+ boxShadowActive: string;
243
+ boxShadowFocus: string;
244
+ caretColor: string;
245
+ arrowColor: string;
246
+ arrowColorDisabled: string;
247
+ loadingColor: string;
248
+ borderWarning: string;
249
+ borderHoverWarning: string;
250
+ borderActiveWarning: string;
251
+ borderFocusWarning: string;
252
+ boxShadowHoverWarning: null;
253
+ boxShadowActiveWarning: string;
254
+ boxShadowFocusWarning: string;
255
+ colorActiveWarning: string;
256
+ caretColorWarning: string;
257
+ borderError: string;
258
+ borderHoverError: string;
259
+ borderActiveError: string;
260
+ borderFocusError: string;
261
+ boxShadowHoverError: null;
262
+ boxShadowActiveError: string;
263
+ boxShadowFocusError: string;
264
+ colorActiveError: string;
265
+ caretColorError: string;
266
+ clearColor: string;
267
+ clearColorHover: string;
268
+ clearColorPressed: string;
269
+ paddingSingle: string;
270
+ clearSize: string;
271
+ arrowSize: string;
272
+ }, {
273
+ Popover: import("../../_mixins").Theme<"Popover", {
274
+ fontSize: string;
275
+ borderRadius: string;
276
+ color: string;
277
+ dividerColor: string;
278
+ textColor: string;
279
+ boxShadow: string;
280
+ space: string;
281
+ spaceArrow: string;
282
+ arrowOffset: string;
283
+ arrowOffsetVertical: string;
284
+ arrowHeight: string;
285
+ padding: string;
286
+ }, any>;
287
+ }>;
288
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
289
+ color: string;
290
+ colorHover: string;
291
+ }, any>;
292
+ Checkbox: import("../../_mixins").Theme<"Checkbox", {
293
+ fontSizeSmall: string;
294
+ fontSizeMedium: string;
295
+ fontSizeLarge: string;
296
+ borderRadius: string;
297
+ color: string;
298
+ colorChecked: string;
299
+ colorDisabled: string;
300
+ colorDisabledChecked: string;
301
+ colorTableHeader: string;
302
+ colorTableHeaderModal: string;
303
+ colorTableHeaderPopover: string;
304
+ checkMarkColor: string;
305
+ checkMarkColorDisabled: string;
306
+ checkMarkColorDisabledChecked: string;
307
+ border: string;
308
+ borderDisabled: string;
309
+ borderDisabledChecked: string;
310
+ borderChecked: string;
311
+ borderFocus: string;
312
+ boxShadowFocus: string;
313
+ textColor: string;
314
+ textColorDisabled: string;
315
+ sizeSmall: string;
316
+ sizeMedium: string;
317
+ sizeLarge: string;
318
+ labelPadding: string;
319
+ }, any>;
320
+ Empty: import("../../_mixins").Theme<"Empty", {
321
+ fontSizeSmall: string;
322
+ fontSizeMedium: string;
323
+ fontSizeLarge: string;
324
+ fontSizeHuge: string;
325
+ textColor: string;
326
+ iconColor: string;
327
+ extraTextColor: string;
328
+ iconSizeSmall: string;
329
+ iconSizeMedium: string;
330
+ iconSizeLarge: string;
331
+ iconSizeHuge: string;
332
+ }, any>;
333
+ };
334
+ peerOverrides: {
335
+ InternalSelectMenu?: {
336
+ peers?: {
337
+ Scrollbar?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Scrollbar", {
338
+ color: string;
339
+ colorHover: string;
340
+ }, any>> | undefined;
341
+ Empty?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
342
+ fontSizeSmall: string;
343
+ fontSizeMedium: string;
344
+ fontSizeLarge: string;
345
+ fontSizeHuge: string;
346
+ textColor: string;
347
+ iconColor: string;
348
+ extraTextColor: string;
349
+ iconSizeSmall: string;
350
+ iconSizeMedium: string;
351
+ iconSizeLarge: string;
352
+ iconSizeHuge: string;
353
+ }, any>> | undefined;
354
+ } | undefined;
355
+ } | undefined;
356
+ InternalSelection?: {
357
+ peers?: {
358
+ Popover?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Popover", {
359
+ fontSize: string;
360
+ borderRadius: string;
361
+ color: string;
362
+ dividerColor: string;
363
+ textColor: string;
364
+ boxShadow: string;
365
+ space: string;
366
+ spaceArrow: string;
367
+ arrowOffset: string;
368
+ arrowOffsetVertical: string;
369
+ arrowHeight: string;
370
+ padding: string;
371
+ }, any>> | undefined;
372
+ } | undefined;
373
+ } | undefined;
374
+ Scrollbar?: {
375
+ peers?: {
376
+ [x: string]: any;
377
+ } | undefined;
378
+ } | undefined;
379
+ Checkbox?: {
380
+ peers?: {
381
+ [x: string]: any;
382
+ } | undefined;
383
+ } | undefined;
384
+ Empty?: {
385
+ peers?: {
386
+ [x: string]: any;
387
+ } | undefined;
388
+ } | undefined;
389
+ };
390
+ }>;
46
391
  handleFocusin: (e: FocusEvent) => void;
47
392
  handleFocusout: (e: FocusEvent) => void;
48
393
  handleClickOutside: (e: MouseEvent) => void;
@@ -46,7 +46,7 @@ exports.default = (0, vue_1.defineComponent)({
46
46
  }
47
47
  },
48
48
  setup(props) {
49
- const { localeRef, isMountedRef, mergedClsPrefixRef, syncCascaderMenuPosition, handleCascaderMenuClickOutside
49
+ const { localeRef, isMountedRef, mergedClsPrefixRef, syncCascaderMenuPosition, handleCascaderMenuClickOutside, mergedThemeRef
50
50
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
51
51
  } = (0, vue_1.inject)(interface_1.cascaderInjectionKey);
52
52
  const submenuInstRefs = [];
@@ -97,13 +97,12 @@ exports.default = (0, vue_1.defineComponent)({
97
97
  };
98
98
  return Object.assign({ isMounted: isMountedRef, mergedClsPrefix: mergedClsPrefixRef, selfElRef,
99
99
  submenuInstRefs,
100
- maskInstRef,
101
- handleFocusin,
100
+ maskInstRef, mergedTheme: mergedThemeRef, handleFocusin,
102
101
  handleFocusout,
103
102
  handleClickOutside }, exposedRef);
104
103
  },
105
104
  render() {
106
- const { submenuInstRefs, mergedClsPrefix, $slots } = this;
105
+ const { submenuInstRefs, mergedClsPrefix, $slots, mergedTheme } = this;
107
106
  return ((0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted }, {
108
107
  default: () => {
109
108
  if (!this.show)
@@ -117,7 +116,9 @@ exports.default = (0, vue_1.defineComponent)({
117
116
  submenuInstRefs[index] = instance;
118
117
  }
119
118
  }), key: index, tmNodes: submenuOptions, depth: index + 1 }))),
120
- (0, vue_1.h)(_internal_1.NBaseMenuMask, { clsPrefix: mergedClsPrefix, ref: "maskInstRef" }))) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader-menu__empty` }, (0, vue_1.renderSlot)($slots, 'empty', undefined, () => [(0, vue_1.h)(empty_1.NEmpty, null)]))),
119
+ (0, vue_1.h)(_internal_1.NBaseMenuMask, { clsPrefix: mergedClsPrefix, ref: "maskInstRef" }))) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader-menu__empty` }, (0, vue_1.renderSlot)($slots, 'empty', undefined, () => [
120
+ (0, vue_1.h)(empty_1.NEmpty, { theme: mergedTheme.peers.Empty, themeOverrides: mergedTheme.peerOverrides.Empty })
121
+ ]))),
121
122
  $slots.action && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader-menu-action`, "data-action": true }, {
122
123
  default: $slots.action
123
124
  })),
@@ -293,6 +293,19 @@ declare const _default: import("vue").DefineComponent<{
293
293
  sizeLarge: string;
294
294
  labelPadding: string;
295
295
  }, any>;
296
+ Empty: import("../../_mixins").Theme<"Empty", {
297
+ fontSizeSmall: string;
298
+ fontSizeMedium: string;
299
+ fontSizeLarge: string;
300
+ fontSizeHuge: string;
301
+ textColor: string;
302
+ iconColor: string;
303
+ extraTextColor: string;
304
+ iconSizeSmall: string;
305
+ iconSizeMedium: string;
306
+ iconSizeLarge: string;
307
+ iconSizeHuge: string;
308
+ }, any>;
296
309
  };
297
310
  peerOverrides: {
298
311
  InternalSelectMenu?: {
@@ -344,6 +357,11 @@ declare const _default: import("vue").DefineComponent<{
344
357
  [x: string]: any;
345
358
  } | undefined;
346
359
  } | undefined;
360
+ Empty?: {
361
+ peers?: {
362
+ [x: string]: any;
363
+ } | undefined;
364
+ } | undefined;
347
365
  };
348
366
  }>;
349
367
  handleClick: (e: MouseEvent) => void;
@@ -305,6 +305,19 @@ declare const _default: import("vue").DefineComponent<{
305
305
  sizeLarge: string;
306
306
  labelPadding: string;
307
307
  }, any>;
308
+ Empty: import("../../_mixins").Theme<"Empty", {
309
+ fontSizeSmall: string;
310
+ fontSizeMedium: string;
311
+ fontSizeLarge: string;
312
+ fontSizeHuge: string;
313
+ textColor: string;
314
+ iconColor: string;
315
+ extraTextColor: string;
316
+ iconSizeSmall: string;
317
+ iconSizeMedium: string;
318
+ iconSizeLarge: string;
319
+ iconSizeHuge: string;
320
+ }, any>;
308
321
  };
309
322
  peerOverrides: {
310
323
  InternalSelectMenu?: {
@@ -356,6 +369,11 @@ declare const _default: import("vue").DefineComponent<{
356
369
  [x: string]: any;
357
370
  } | undefined;
358
371
  } | undefined;
372
+ Empty?: {
373
+ peers?: {
374
+ [x: string]: any;
375
+ } | undefined;
376
+ } | undefined;
359
377
  };
360
378
  }>;
361
379
  mergedClsPrefix: import("vue").Ref<string>;
@@ -286,6 +286,19 @@ declare const _default: import("vue").DefineComponent<{
286
286
  sizeLarge: string;
287
287
  labelPadding: string;
288
288
  }, any>;
289
+ Empty: import("../../_mixins").Theme<"Empty", {
290
+ fontSizeSmall: string;
291
+ fontSizeMedium: string;
292
+ fontSizeLarge: string;
293
+ fontSizeHuge: string;
294
+ textColor: string;
295
+ iconColor: string;
296
+ extraTextColor: string;
297
+ iconSizeSmall: string;
298
+ iconSizeMedium: string;
299
+ iconSizeLarge: string;
300
+ iconSizeHuge: string;
301
+ }, any>;
289
302
  };
290
303
  peerOverrides: {
291
304
  InternalSelectMenu?: {
@@ -337,6 +350,11 @@ declare const _default: import("vue").DefineComponent<{
337
350
  [x: string]: any;
338
351
  } | undefined;
339
352
  } | undefined;
353
+ Empty?: {
354
+ peers?: {
355
+ [x: string]: any;
356
+ } | undefined;
357
+ } | undefined;
340
358
  };
341
359
  }>;
342
360
  scrollbarInstRef: import("vue").Ref<{
@@ -6,6 +6,7 @@ const styles_3 = require("../../_internal/scrollbar/styles");
6
6
  const styles_4 = require("../../checkbox/styles");
7
7
  const common_1 = require("../../_styles/common");
8
8
  const light_1 = require("./light");
9
+ const styles_5 = require("../../empty/styles");
9
10
  const cascaderDark = {
10
11
  name: 'Cascader',
11
12
  common: common_1.commonDark,
@@ -13,7 +14,8 @@ const cascaderDark = {
13
14
  InternalSelectMenu: styles_2.internalSelectMenuDark,
14
15
  InternalSelection: styles_1.internalSelectionDark,
15
16
  Scrollbar: styles_3.scrollbarDark,
16
- Checkbox: styles_4.checkboxDark
17
+ Checkbox: styles_4.checkboxDark,
18
+ Empty: styles_5.emptyLight
17
19
  },
18
20
  self: light_1.self
19
21
  };
@@ -186,6 +186,19 @@ declare const cascaderLight: import("../../_mixins").Theme<"Cascader", {
186
186
  sizeLarge: string;
187
187
  labelPadding: string;
188
188
  }, any>;
189
+ Empty: import("../../_mixins").Theme<"Empty", {
190
+ fontSizeSmall: string;
191
+ fontSizeMedium: string;
192
+ fontSizeLarge: string;
193
+ fontSizeHuge: string;
194
+ textColor: string;
195
+ iconColor: string;
196
+ extraTextColor: string;
197
+ iconSizeSmall: string;
198
+ iconSizeMedium: string;
199
+ iconSizeLarge: string;
200
+ iconSizeHuge: string;
201
+ }, any>;
189
202
  }>;
190
203
  export default cascaderLight;
191
204
  export declare type CascaderTheme = typeof cascaderLight;
@@ -7,6 +7,7 @@ const styles_3 = require("../../_internal/scrollbar/styles");
7
7
  const styles_4 = require("../../checkbox/styles");
8
8
  const common_1 = require("../../_styles/common");
9
9
  const _mixins_1 = require("../../_mixins");
10
+ const styles_5 = require("../../empty/styles");
10
11
  const self = (vars) => {
11
12
  const { borderRadius, boxShadow2, popoverColor, textColor2, textColor3, primaryColor, textColorDisabled, dividerColor, hoverColor, fontSizeMedium, heightMedium } = vars;
12
13
  return {
@@ -35,7 +36,8 @@ const cascaderLight = (0, _mixins_1.createTheme)({
35
36
  InternalSelectMenu: styles_2.internalSelectMenuLight,
36
37
  InternalSelection: styles_1.internalSelectionLight,
37
38
  Scrollbar: styles_3.scrollbarLight,
38
- Checkbox: styles_4.checkboxLight
39
+ Checkbox: styles_4.checkboxLight,
40
+ Empty: styles_5.emptyLight
39
41
  },
40
42
  self: exports.self
41
43
  });
@@ -36,6 +36,11 @@ export declare const configProviderProps: {
36
36
  yearFormat: string;
37
37
  monthFormat: string;
38
38
  dayFormat: string;
39
+ yearTypeFormat: string;
40
+ monthTypeFormat: string;
41
+ dateFormat: string;
42
+ dateTimeFormat: string;
43
+ quarterFormat: string;
39
44
  clear: string;
40
45
  now: string;
41
46
  confirm: string;
@@ -45,6 +50,7 @@ export declare const configProviderProps: {
45
50
  datetimePlaceholder: string;
46
51
  monthPlaceholder: string;
47
52
  yearPlaceholder: string;
53
+ quarterPlaceholder: string;
48
54
  startDatePlaceholder: string;
49
55
  endDatePlaceholder: string;
50
56
  startDatetimePlaceholder: string;
@@ -156,6 +162,11 @@ declare const _default: import("vue").DefineComponent<{
156
162
  yearFormat: string;
157
163
  monthFormat: string;
158
164
  dayFormat: string;
165
+ yearTypeFormat: string;
166
+ monthTypeFormat: string;
167
+ dateFormat: string;
168
+ dateTimeFormat: string;
169
+ quarterFormat: string;
159
170
  clear: string;
160
171
  now: string;
161
172
  confirm: string;
@@ -165,6 +176,7 @@ declare const _default: import("vue").DefineComponent<{
165
176
  datetimePlaceholder: string;
166
177
  monthPlaceholder: string;
167
178
  yearPlaceholder: string;
179
+ quarterPlaceholder: string;
168
180
  startDatePlaceholder: string;
169
181
  endDatePlaceholder: string;
170
182
  startDatetimePlaceholder: string;
@@ -300,6 +312,11 @@ declare const _default: import("vue").DefineComponent<{
300
312
  yearFormat: string;
301
313
  monthFormat: string;
302
314
  dayFormat: string;
315
+ yearTypeFormat: string;
316
+ monthTypeFormat: string;
317
+ dateFormat: string;
318
+ dateTimeFormat: string;
319
+ quarterFormat: string;
303
320
  clear: string;
304
321
  now: string;
305
322
  confirm: string;
@@ -309,6 +326,7 @@ declare const _default: import("vue").DefineComponent<{
309
326
  datetimePlaceholder: string;
310
327
  monthPlaceholder: string;
311
328
  yearPlaceholder: string;
329
+ quarterPlaceholder: string;
312
330
  startDatePlaceholder: string;
313
331
  endDatePlaceholder: string;
314
332
  startDatetimePlaceholder: string;
@@ -8,7 +8,6 @@ const vue_1 = require("vue");
8
8
  const seemly_1 = require("seemly");
9
9
  const _mixins_1 = require("../../_mixins");
10
10
  const _internal_1 = require("../../_internal");
11
- const empty_1 = require("../../empty");
12
11
  const pagination_1 = require("../../pagination");
13
12
  const _utils_1 = require("../../_utils");
14
13
  const styles_1 = require("../styles");
@@ -113,7 +112,7 @@ exports.default = (0, vue_1.defineComponent)({
113
112
  name: 'DataTable',
114
113
  alias: ['AdvancedTable'],
115
114
  props: exports.dataTableProps,
116
- setup(props) {
115
+ setup(props, { slots }) {
117
116
  const { mergedBorderedRef, mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
118
117
  const mergedBottomBorderedRef = (0, vue_1.computed)(() => {
119
118
  const { bottomBordered } = props;
@@ -137,7 +136,7 @@ exports.default = (0, vue_1.defineComponent)({
137
136
  paginatedDataRef
138
137
  });
139
138
  const { mergedExpandedRowKeysRef, renderExpandRef, doUpdateExpandedRowKeys } = (0, use_expand_1.useExpand)(props);
140
- const { handleTableBodyScroll, handleTableHeaderScroll, syncScrollState, setHeaderScrollLeft, leftActiveFixedColKeyRef, rightActiveFixedColKeyRef, leftFixedColumnsRef, rightFixedColumnsRef, fixedColumnLeftMapRef, fixedColumnRightMapRef } = (0, use_scroll_1.useScroll)(props, {
139
+ const { handleTableBodyScroll, handleTableHeaderScroll, syncScrollState, setHeaderScrollLeft, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, leftFixedColumnsRef, rightFixedColumnsRef, fixedColumnLeftMapRef, fixedColumnRightMapRef } = (0, use_scroll_1.useScroll)(props, {
141
140
  scrollPartRef,
142
141
  bodyWidthRef,
143
142
  mainTableInstRef,
@@ -157,6 +156,7 @@ exports.default = (0, vue_1.defineComponent)({
157
156
  return props.tableLayout;
158
157
  });
159
158
  (0, vue_1.provide)(interface_1.dataTableInjectionKey, {
159
+ slots,
160
160
  indentRef: (0, vue_1.toRef)(props, 'indent'),
161
161
  firstContentfulColIndexRef,
162
162
  bodyWidthRef,
@@ -169,7 +169,9 @@ exports.default = (0, vue_1.defineComponent)({
169
169
  colsRef,
170
170
  paginatedDataRef,
171
171
  leftActiveFixedColKeyRef,
172
+ leftActiveFixedChildrenColKeysRef,
172
173
  rightActiveFixedColKeyRef,
174
+ rightActiveFixedChildrenColKeysRef,
173
175
  leftFixedColumnsRef,
174
176
  rightFixedColumnsRef,
175
177
  fixedColumnLeftMapRef,
@@ -295,15 +297,7 @@ exports.default = (0, vue_1.defineComponent)({
295
297
  }
296
298
  ], style: this.cssVars },
297
299
  (0, vue_1.h)("div", { class: `${mergedClsPrefix}-data-table-wrapper` },
298
- (0, vue_1.h)(MainTable_1.default, { ref: "mainTableInstRef" }, {
299
- default: () => this.paginatedData.length === 0 ? ((0, vue_1.h)("div", { class: [
300
- `${mergedClsPrefix}-data-table-empty`,
301
- this.loading &&
302
- `${mergedClsPrefix}-data-table-empty--hide`
303
- ] }, (0, vue_1.renderSlot)(this.$slots, 'empty', undefined, () => [
304
- (0, vue_1.h)(empty_1.NEmpty, { theme: this.mergedTheme.peers.Empty, themeOverrides: this.mergedTheme.peerOverrides.Empty })
305
- ]))) : null
306
- })),
300
+ (0, vue_1.h)(MainTable_1.default, { ref: "mainTableInstRef" })),
307
301
  this.pagination ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-data-table__pagination` },
308
302
  (0, vue_1.h)(pagination_1.NPagination, Object.assign({ theme: this.mergedTheme.peers.Pagination, themeOverrides: this.mergedTheme.peerOverrides.Pagination, disabled: this.loading }, this.mergedPagination)))) : null,
309
303
  (0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition" }, {
@@ -72,7 +72,6 @@ exports.default = (0, vue_1.defineComponent)({
72
72
  const headerInBody = maxHeight === undefined && !flexHeight;
73
73
  return ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-data-table-base-table`, ref: "selfElRef" },
74
74
  headerInBody ? null : (0, vue_1.h)(Header_1.default, { ref: "headerInstRef" }),
75
- (0, vue_1.h)(Body_1.default, { ref: "bodyInstRef", style: this.bodyStyle, showHeader: headerInBody, flexHeight: flexHeight, onResize: this.handleBodyResize }),
76
- (0, vue_1.renderSlot)(this.$slots, 'default')));
75
+ (0, vue_1.h)(Body_1.default, { ref: "bodyInstRef", bodyStyle: this.bodyStyle, showHeader: headerInBody, flexHeight: flexHeight, onResize: this.handleBodyResize })));
77
76
  }
78
77
  });