naive-ui 2.21.2 → 2.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/es/_internal/close/src/styles/index.cssr.js +6 -5
  2. package/es/_internal/scrollbar/src/ScrollBar.d.ts +15 -0
  3. package/es/_internal/scrollbar/src/ScrollBar.js +13 -7
  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/alert/src/Alert.d.ts +20 -20
  7. package/es/alert/src/Alert.js +22 -22
  8. package/es/alert/src/styles/index.cssr.js +45 -45
  9. package/es/anchor/src/AnchorAdapter.js +12 -12
  10. package/es/anchor/src/styles/index.cssr.js +41 -41
  11. package/es/avatar/src/Avatar.d.ts +5 -3
  12. package/es/avatar/src/Avatar.js +7 -5
  13. package/es/avatar/src/styles/index.cssr.js +3 -5
  14. package/es/button/src/Button.d.ts +60 -60
  15. package/es/button/src/Button.js +107 -106
  16. package/es/button/src/styles/button.cssr.js +83 -80
  17. package/es/button/styles/dark.js +3 -3
  18. package/es/button/styles/light.d.ts +3 -3
  19. package/es/button/styles/light.js +1 -1
  20. package/es/calendar/src/Calendar.d.ts +37 -30
  21. package/es/calendar/styles/light.d.ts +3 -3
  22. package/es/cascader/src/Cascader.d.ts +135 -0
  23. package/es/cascader/src/Cascader.js +2 -4
  24. package/es/cascader/src/CascaderMenu.d.ts +345 -0
  25. package/es/cascader/src/CascaderMenu.js +6 -5
  26. package/es/cascader/src/CascaderOption.d.ts +18 -0
  27. package/es/cascader/src/CascaderSelectMenu.d.ts +18 -0
  28. package/es/cascader/src/CascaderSubmenu.d.ts +18 -0
  29. package/es/cascader/styles/dark.js +3 -1
  30. package/es/cascader/styles/light.d.ts +13 -0
  31. package/es/cascader/styles/light.js +3 -1
  32. package/es/color-picker/src/ColorInputUnit.d.ts +3 -3
  33. package/es/color-picker/src/ColorPicker.d.ts +27 -27
  34. package/es/color-picker/styles/light.d.ts +3 -3
  35. package/es/config-provider/src/ConfigProvider.d.ts +21 -0
  36. package/es/data-table/src/DataTable.d.ts +30 -30
  37. package/es/data-table/src/DataTable.js +7 -14
  38. package/es/data-table/src/HeaderButton/FilterButton.d.ts +3 -3
  39. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +3 -3
  40. package/es/data-table/src/MainTable.js +2 -3
  41. package/es/data-table/src/TableParts/Body.d.ts +18 -7
  42. package/es/data-table/src/TableParts/Body.js +80 -28
  43. package/es/data-table/src/TableParts/Cell.d.ts +6 -6
  44. package/es/data-table/src/TableParts/Header.d.ts +3 -3
  45. package/es/data-table/src/TableParts/Header.js +1 -1
  46. package/es/data-table/src/interface.d.ts +4 -1
  47. package/es/data-table/src/styles/index.cssr.js +9 -12
  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 +4 -1
  52. package/es/data-table/styles/_common.js +1 -1
  53. package/es/data-table/styles/light.d.ts +3 -3
  54. package/es/date-picker/src/DatePicker.d.ts +94 -69
  55. package/es/date-picker/src/DatePicker.js +47 -20
  56. package/es/date-picker/src/config.d.ts +1 -9
  57. package/es/date-picker/src/config.js +0 -8
  58. package/es/date-picker/src/interface.d.ts +2 -1
  59. package/es/date-picker/src/panel/date.d.ts +23 -10
  60. package/es/date-picker/src/panel/date.js +2 -2
  61. package/es/date-picker/src/panel/daterange.d.ts +21 -9
  62. package/es/date-picker/src/panel/daterange.js +2 -2
  63. package/es/date-picker/src/panel/datetime.d.ts +23 -16
  64. package/es/date-picker/src/panel/datetime.js +2 -2
  65. package/es/date-picker/src/panel/datetimerange.d.ts +21 -9
  66. package/es/date-picker/src/panel/datetimerange.js +2 -2
  67. package/es/date-picker/src/panel/month.d.ts +27 -20
  68. package/es/date-picker/src/panel/month.js +23 -12
  69. package/es/date-picker/src/panel/use-calendar.d.ts +25 -43
  70. package/es/date-picker/src/panel/use-calendar.js +35 -18
  71. package/es/date-picker/src/panel/use-dual-calendar.d.ts +21 -40
  72. package/es/date-picker/src/panel/use-dual-calendar.js +23 -8
  73. package/es/date-picker/src/panel/use-panel-common.d.ts +21 -36
  74. package/es/date-picker/src/panel/use-panel-common.js +2 -2
  75. package/es/date-picker/src/utils.d.ts +19 -3
  76. package/es/date-picker/src/utils.js +40 -5
  77. package/es/date-picker/styles/_common.d.ts +2 -0
  78. package/es/date-picker/styles/_common.js +3 -1
  79. package/es/date-picker/styles/light.d.ts +10 -6
  80. package/es/dialog/src/Dialog.d.ts +21 -21
  81. package/es/dialog/src/styles/index.cssr.js +1 -0
  82. package/es/dialog/styles/light.d.ts +3 -3
  83. package/es/dynamic-input/src/DynamicInput.d.ts +30 -30
  84. package/es/dynamic-input/src/InputPreset.d.ts +3 -3
  85. package/es/dynamic-input/src/PairPreset.d.ts +3 -3
  86. package/es/dynamic-input/styles/light.d.ts +3 -3
  87. package/es/dynamic-tags/src/DynamicTags.d.ts +30 -30
  88. package/es/dynamic-tags/styles/light.d.ts +3 -3
  89. package/es/element/index.d.ts +1 -0
  90. package/es/element/index.js +1 -0
  91. package/es/form/src/interface.d.ts +5 -4
  92. package/es/image/src/Image.d.ts +25 -16
  93. package/es/image/src/Image.js +35 -11
  94. package/es/image/src/ImageGroup.js +2 -2
  95. package/es/image/src/styles/index.cssr.js +4 -3
  96. package/es/input/src/Input.js +2 -0
  97. package/es/input/src/styles/input.cssr.js +2 -1
  98. package/es/input-number/src/InputNumber.d.ts +30 -30
  99. package/es/input-number/src/InputNumber.js +10 -5
  100. package/es/input-number/src/utils.d.ts +1 -0
  101. package/es/input-number/src/utils.js +4 -0
  102. package/es/input-number/styles/light.d.ts +3 -3
  103. package/es/locales/common/deDE.js +8 -0
  104. package/es/locales/common/enUS.d.ts +7 -0
  105. package/es/locales/common/enUS.js +8 -1
  106. package/es/locales/common/frFR.d.ts +3 -0
  107. package/es/locales/common/frFR.js +101 -0
  108. package/es/locales/common/idID.d.ts +2 -93
  109. package/es/locales/common/idID.js +8 -0
  110. package/es/locales/common/jaJP.js +8 -0
  111. package/es/locales/common/nbNO.js +8 -0
  112. package/es/locales/common/ruRU.js +8 -0
  113. package/es/locales/common/ukUA.js +8 -0
  114. package/es/locales/common/zhCN.js +7 -0
  115. package/es/locales/common/zhTW.d.ts +3 -0
  116. package/es/locales/common/zhTW.js +100 -0
  117. package/es/locales/date/frFR.d.ts +3 -0
  118. package/es/locales/date/frFR.js +6 -0
  119. package/es/locales/date/idID.d.ts +1 -6
  120. package/es/locales/date/zhTW.d.ts +3 -0
  121. package/es/locales/date/zhTW.js +6 -0
  122. package/es/locales/index.d.ts +4 -0
  123. package/es/locales/index.js +4 -0
  124. package/es/modal/src/BodyWrapper.d.ts +6 -6
  125. package/es/modal/src/Modal.d.ts +36 -36
  126. package/es/modal/styles/light.d.ts +3 -3
  127. package/es/page-header/src/PageHeader.js +3 -3
  128. package/es/page-header/src/styles/index.cssr.js +2 -4
  129. package/es/popconfirm/src/Popconfirm.d.ts +30 -30
  130. package/es/popconfirm/styles/light.d.ts +3 -3
  131. package/es/popover/src/Popover.js +4 -1
  132. package/es/popover/src/PopoverBody.js +3 -3
  133. package/es/popselect/src/Popselect.d.ts +2 -11
  134. package/es/popselect/src/Popselect.js +2 -2
  135. package/es/popselect/src/PopselectPanel.d.ts +3 -11
  136. package/es/popselect/src/PopselectPanel.js +17 -11
  137. package/es/radio/src/Radio.js +3 -3
  138. package/es/radio/src/RadioButton.js +4 -5
  139. package/es/radio/src/styles/radio-group.cssr.js +8 -4
  140. package/es/radio/src/styles/radio.cssr.js +8 -4
  141. package/es/radio/src/use-radio.d.ts +0 -3
  142. package/es/radio/src/use-radio.js +1 -26
  143. package/es/switch/src/Switch.d.ts +16 -1
  144. package/es/switch/src/Switch.js +17 -4
  145. package/es/switch/src/styles/index.cssr.js +1 -1
  146. package/es/tabs/src/styles/index.cssr.js +1 -0
  147. package/es/tag/src/styles/index.cssr.js +1 -1
  148. package/es/theme-editor/src/ThemeEditor.js +9 -2
  149. package/es/time-picker/src/Panel.d.ts +3 -3
  150. package/es/time-picker/src/TimePicker.d.ts +30 -30
  151. package/es/time-picker/styles/light.d.ts +3 -3
  152. package/es/transfer/src/Transfer.d.ts +30 -30
  153. package/es/transfer/src/TransferFilter.d.ts +3 -3
  154. package/es/transfer/src/TransferList.d.ts +3 -3
  155. package/es/transfer/src/TransferListItem.d.ts +3 -3
  156. package/es/transfer/styles/light.d.ts +3 -3
  157. package/es/tree/src/Tree.d.ts +8 -4
  158. package/es/tree/src/Tree.js +32 -6
  159. package/es/tree-select/src/TreeSelect.d.ts +38 -1
  160. package/es/tree-select/src/TreeSelect.js +25 -10
  161. package/es/tree-select/src/styles/index.cssr.js +11 -2
  162. package/es/tree-select/styles/light.d.ts +6 -0
  163. package/es/tree-select/styles/light.js +5 -2
  164. package/es/upload/src/Upload.d.ts +41 -30
  165. package/es/upload/src/Upload.js +33 -23
  166. package/es/upload/src/UploadFile.d.ts +4 -4
  167. package/es/upload/src/UploadFileList.js +4 -2
  168. package/es/upload/src/UploadProgress.d.ts +3 -3
  169. package/es/upload/src/interface.d.ts +1 -0
  170. package/es/upload/src/styles/index.cssr.js +2 -3
  171. package/es/upload/styles/light.d.ts +3 -3
  172. package/es/version.d.ts +1 -1
  173. package/es/version.js +1 -1
  174. package/lib/_internal/close/src/styles/index.cssr.js +6 -5
  175. package/lib/_internal/scrollbar/src/ScrollBar.d.ts +15 -0
  176. package/lib/_internal/scrollbar/src/ScrollBar.js +13 -7
  177. package/lib/_internal/selection/src/Selection.js +11 -9
  178. package/lib/_internal/selection/src/styles/index.cssr.js +6 -2
  179. package/lib/alert/src/Alert.d.ts +20 -20
  180. package/lib/alert/src/Alert.js +22 -22
  181. package/lib/alert/src/styles/index.cssr.js +45 -45
  182. package/lib/anchor/src/AnchorAdapter.js +12 -12
  183. package/lib/anchor/src/styles/index.cssr.js +41 -41
  184. package/lib/avatar/src/Avatar.d.ts +5 -3
  185. package/lib/avatar/src/Avatar.js +7 -5
  186. package/lib/avatar/src/styles/index.cssr.js +3 -5
  187. package/lib/button/src/Button.d.ts +60 -60
  188. package/lib/button/src/Button.js +107 -106
  189. package/lib/button/src/styles/button.cssr.js +83 -80
  190. package/lib/button/styles/dark.js +3 -3
  191. package/lib/button/styles/light.d.ts +3 -3
  192. package/lib/button/styles/light.js +1 -1
  193. package/lib/calendar/src/Calendar.d.ts +37 -30
  194. package/lib/calendar/styles/light.d.ts +3 -3
  195. package/lib/cascader/src/Cascader.d.ts +135 -0
  196. package/lib/cascader/src/Cascader.js +2 -4
  197. package/lib/cascader/src/CascaderMenu.d.ts +345 -0
  198. package/lib/cascader/src/CascaderMenu.js +6 -5
  199. package/lib/cascader/src/CascaderOption.d.ts +18 -0
  200. package/lib/cascader/src/CascaderSelectMenu.d.ts +18 -0
  201. package/lib/cascader/src/CascaderSubmenu.d.ts +18 -0
  202. package/lib/cascader/styles/dark.js +3 -1
  203. package/lib/cascader/styles/light.d.ts +13 -0
  204. package/lib/cascader/styles/light.js +3 -1
  205. package/lib/color-picker/src/ColorInputUnit.d.ts +3 -3
  206. package/lib/color-picker/src/ColorPicker.d.ts +27 -27
  207. package/lib/color-picker/styles/light.d.ts +3 -3
  208. package/lib/config-provider/src/ConfigProvider.d.ts +21 -0
  209. package/lib/data-table/src/DataTable.d.ts +30 -30
  210. package/lib/data-table/src/DataTable.js +6 -13
  211. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +3 -3
  212. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +3 -3
  213. package/lib/data-table/src/MainTable.js +1 -2
  214. package/lib/data-table/src/TableParts/Body.d.ts +18 -7
  215. package/lib/data-table/src/TableParts/Body.js +78 -26
  216. package/lib/data-table/src/TableParts/Cell.d.ts +6 -6
  217. package/lib/data-table/src/TableParts/Header.d.ts +3 -3
  218. package/lib/data-table/src/TableParts/Header.js +1 -1
  219. package/lib/data-table/src/interface.d.ts +4 -1
  220. package/lib/data-table/src/styles/index.cssr.js +9 -12
  221. package/lib/data-table/src/use-check.js +6 -2
  222. package/lib/data-table/src/use-scroll.d.ts +2 -0
  223. package/lib/data-table/src/use-scroll.js +34 -4
  224. package/lib/data-table/src/use-table-data.js +4 -1
  225. package/lib/data-table/styles/_common.js +1 -1
  226. package/lib/data-table/styles/light.d.ts +3 -3
  227. package/lib/date-picker/src/DatePicker.d.ts +94 -69
  228. package/lib/date-picker/src/DatePicker.js +46 -19
  229. package/lib/date-picker/src/config.d.ts +1 -9
  230. package/lib/date-picker/src/config.js +1 -9
  231. package/lib/date-picker/src/interface.d.ts +2 -1
  232. package/lib/date-picker/src/panel/date.d.ts +23 -10
  233. package/lib/date-picker/src/panel/date.js +1 -1
  234. package/lib/date-picker/src/panel/daterange.d.ts +21 -9
  235. package/lib/date-picker/src/panel/daterange.js +1 -1
  236. package/lib/date-picker/src/panel/datetime.d.ts +23 -16
  237. package/lib/date-picker/src/panel/datetime.js +1 -1
  238. package/lib/date-picker/src/panel/datetimerange.d.ts +21 -9
  239. package/lib/date-picker/src/panel/datetimerange.js +2 -2
  240. package/lib/date-picker/src/panel/month.d.ts +27 -20
  241. package/lib/date-picker/src/panel/month.js +23 -12
  242. package/lib/date-picker/src/panel/use-calendar.d.ts +25 -43
  243. package/lib/date-picker/src/panel/use-calendar.js +34 -16
  244. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +21 -40
  245. package/lib/date-picker/src/panel/use-dual-calendar.js +22 -6
  246. package/lib/date-picker/src/panel/use-panel-common.d.ts +21 -36
  247. package/lib/date-picker/src/panel/use-panel-common.js +3 -2
  248. package/lib/date-picker/src/utils.d.ts +19 -3
  249. package/lib/date-picker/src/utils.js +41 -4
  250. package/lib/date-picker/styles/_common.d.ts +2 -0
  251. package/lib/date-picker/styles/_common.js +3 -1
  252. package/lib/date-picker/styles/light.d.ts +10 -6
  253. package/lib/dialog/src/Dialog.d.ts +21 -21
  254. package/lib/dialog/src/styles/index.cssr.js +1 -0
  255. package/lib/dialog/styles/light.d.ts +3 -3
  256. package/lib/dynamic-input/src/DynamicInput.d.ts +30 -30
  257. package/lib/dynamic-input/src/InputPreset.d.ts +3 -3
  258. package/lib/dynamic-input/src/PairPreset.d.ts +3 -3
  259. package/lib/dynamic-input/styles/light.d.ts +3 -3
  260. package/lib/dynamic-tags/src/DynamicTags.d.ts +30 -30
  261. package/lib/dynamic-tags/styles/light.d.ts +3 -3
  262. package/lib/element/index.d.ts +1 -0
  263. package/lib/element/index.js +3 -1
  264. package/lib/form/src/interface.d.ts +5 -4
  265. package/lib/image/src/Image.d.ts +25 -16
  266. package/lib/image/src/Image.js +34 -10
  267. package/lib/image/src/ImageGroup.js +2 -2
  268. package/lib/image/src/styles/index.cssr.js +3 -2
  269. package/lib/input/src/Input.js +2 -0
  270. package/lib/input/src/styles/input.cssr.js +2 -1
  271. package/lib/input-number/src/InputNumber.d.ts +30 -30
  272. package/lib/input-number/src/InputNumber.js +9 -4
  273. package/lib/input-number/src/utils.d.ts +1 -0
  274. package/lib/input-number/src/utils.js +6 -1
  275. package/lib/input-number/styles/light.d.ts +3 -3
  276. package/lib/locales/common/deDE.js +8 -0
  277. package/lib/locales/common/enUS.d.ts +7 -0
  278. package/lib/locales/common/enUS.js +8 -1
  279. package/lib/locales/common/frFR.d.ts +3 -0
  280. package/lib/locales/common/frFR.js +103 -0
  281. package/lib/locales/common/idID.d.ts +2 -93
  282. package/lib/locales/common/idID.js +8 -0
  283. package/lib/locales/common/jaJP.js +8 -0
  284. package/lib/locales/common/nbNO.js +8 -0
  285. package/lib/locales/common/ruRU.js +8 -0
  286. package/lib/locales/common/ukUA.js +8 -0
  287. package/lib/locales/common/zhCN.js +7 -0
  288. package/lib/locales/common/zhTW.d.ts +3 -0
  289. package/lib/locales/common/zhTW.js +102 -0
  290. package/lib/locales/date/frFR.d.ts +3 -0
  291. package/lib/locales/date/frFR.js +11 -0
  292. package/lib/locales/date/idID.d.ts +1 -6
  293. package/lib/locales/date/zhTW.d.ts +3 -0
  294. package/lib/locales/date/zhTW.js +11 -0
  295. package/lib/locales/index.d.ts +4 -0
  296. package/lib/locales/index.js +9 -1
  297. package/lib/modal/src/BodyWrapper.d.ts +6 -6
  298. package/lib/modal/src/Modal.d.ts +36 -36
  299. package/lib/modal/styles/light.d.ts +3 -3
  300. package/lib/page-header/src/PageHeader.js +3 -3
  301. package/lib/page-header/src/styles/index.cssr.js +2 -4
  302. package/lib/popconfirm/src/Popconfirm.d.ts +30 -30
  303. package/lib/popconfirm/styles/light.d.ts +3 -3
  304. package/lib/popover/src/Popover.js +4 -1
  305. package/lib/popover/src/PopoverBody.js +3 -3
  306. package/lib/popselect/src/Popselect.d.ts +2 -11
  307. package/lib/popselect/src/Popselect.js +2 -2
  308. package/lib/popselect/src/PopselectPanel.d.ts +3 -11
  309. package/lib/popselect/src/PopselectPanel.js +16 -10
  310. package/lib/radio/src/Radio.js +3 -3
  311. package/lib/radio/src/RadioButton.js +4 -5
  312. package/lib/radio/src/styles/radio-group.cssr.js +8 -4
  313. package/lib/radio/src/styles/radio.cssr.js +8 -4
  314. package/lib/radio/src/use-radio.d.ts +0 -3
  315. package/lib/radio/src/use-radio.js +1 -26
  316. package/lib/switch/src/Switch.d.ts +16 -1
  317. package/lib/switch/src/Switch.js +17 -4
  318. package/lib/switch/src/styles/index.cssr.js +1 -1
  319. package/lib/tabs/src/styles/index.cssr.js +1 -0
  320. package/lib/tag/src/styles/index.cssr.js +1 -1
  321. package/lib/theme-editor/src/ThemeEditor.js +9 -2
  322. package/lib/time-picker/src/Panel.d.ts +3 -3
  323. package/lib/time-picker/src/TimePicker.d.ts +30 -30
  324. package/lib/time-picker/styles/light.d.ts +3 -3
  325. package/lib/transfer/src/Transfer.d.ts +30 -30
  326. package/lib/transfer/src/TransferFilter.d.ts +3 -3
  327. package/lib/transfer/src/TransferList.d.ts +3 -3
  328. package/lib/transfer/src/TransferListItem.d.ts +3 -3
  329. package/lib/transfer/styles/light.d.ts +3 -3
  330. package/lib/tree/src/Tree.d.ts +8 -4
  331. package/lib/tree/src/Tree.js +32 -6
  332. package/lib/tree-select/src/TreeSelect.d.ts +38 -1
  333. package/lib/tree-select/src/TreeSelect.js +24 -9
  334. package/lib/tree-select/src/styles/index.cssr.js +11 -2
  335. package/lib/tree-select/styles/light.d.ts +6 -0
  336. package/lib/tree-select/styles/light.js +5 -2
  337. package/lib/upload/src/Upload.d.ts +41 -30
  338. package/lib/upload/src/Upload.js +33 -23
  339. package/lib/upload/src/UploadFile.d.ts +4 -4
  340. package/lib/upload/src/UploadFileList.js +4 -2
  341. package/lib/upload/src/UploadProgress.d.ts +3 -3
  342. package/lib/upload/src/interface.d.ts +1 -0
  343. package/lib/upload/src/styles/index.cssr.js +2 -3
  344. package/lib/upload/styles/light.d.ts +3 -3
  345. package/lib/version.d.ts +1 -1
  346. package/lib/version.js +1 -1
  347. package/package.json +5 -4
  348. package/web-types.json +99 -7
@@ -130,9 +130,9 @@ export declare const colorPickerPanelProps: {
130
130
  fontSizeMedium: string;
131
131
  fontSizeLarge: string;
132
132
  opacityDisabled: string;
133
- colorOpacitySecondary: number;
134
- colorOpacitySecondaryHover: number;
135
- colorOpacitySecondaryPressed: number;
133
+ colorOpacitySecondary: string;
134
+ colorOpacitySecondaryHover: string;
135
+ colorOpacitySecondaryPressed: string;
136
136
  colorSecondary: string;
137
137
  colorSecondaryHover: string;
138
138
  colorSecondaryPressed: string;
@@ -410,9 +410,9 @@ export declare const colorPickerPanelProps: {
410
410
  fontSizeMedium: string;
411
411
  fontSizeLarge: string;
412
412
  opacityDisabled: string;
413
- colorOpacitySecondary: number;
414
- colorOpacitySecondaryHover: number;
415
- colorOpacitySecondaryPressed: number;
413
+ colorOpacitySecondary: string;
414
+ colorOpacitySecondaryHover: string;
415
+ colorOpacitySecondaryPressed: string;
416
416
  colorSecondary: string;
417
417
  colorSecondaryHover: string;
418
418
  colorSecondaryPressed: string;
@@ -690,9 +690,9 @@ export declare const colorPickerPanelProps: {
690
690
  fontSizeMedium: string;
691
691
  fontSizeLarge: string;
692
692
  opacityDisabled: string;
693
- colorOpacitySecondary: number;
694
- colorOpacitySecondaryHover: number;
695
- colorOpacitySecondaryPressed: number;
693
+ colorOpacitySecondary: string;
694
+ colorOpacitySecondaryHover: string;
695
+ colorOpacitySecondaryPressed: string;
696
696
  colorSecondary: string;
697
697
  colorSecondaryHover: string;
698
698
  colorSecondaryPressed: string;
@@ -1009,9 +1009,9 @@ declare const _default: import("vue").DefineComponent<{
1009
1009
  fontSizeMedium: string;
1010
1010
  fontSizeLarge: string;
1011
1011
  opacityDisabled: string;
1012
- colorOpacitySecondary: number;
1013
- colorOpacitySecondaryHover: number;
1014
- colorOpacitySecondaryPressed: number;
1012
+ colorOpacitySecondary: string;
1013
+ colorOpacitySecondaryHover: string;
1014
+ colorOpacitySecondaryPressed: string;
1015
1015
  colorSecondary: string;
1016
1016
  colorSecondaryHover: string;
1017
1017
  colorSecondaryPressed: string;
@@ -1289,9 +1289,9 @@ declare const _default: import("vue").DefineComponent<{
1289
1289
  fontSizeMedium: string;
1290
1290
  fontSizeLarge: string;
1291
1291
  opacityDisabled: string;
1292
- colorOpacitySecondary: number;
1293
- colorOpacitySecondaryHover: number;
1294
- colorOpacitySecondaryPressed: number;
1292
+ colorOpacitySecondary: string;
1293
+ colorOpacitySecondaryHover: string;
1294
+ colorOpacitySecondaryPressed: string;
1295
1295
  colorSecondary: string;
1296
1296
  colorSecondaryHover: string;
1297
1297
  colorSecondaryPressed: string;
@@ -1569,9 +1569,9 @@ declare const _default: import("vue").DefineComponent<{
1569
1569
  fontSizeMedium: string;
1570
1570
  fontSizeLarge: string;
1571
1571
  opacityDisabled: string;
1572
- colorOpacitySecondary: number;
1573
- colorOpacitySecondaryHover: number;
1574
- colorOpacitySecondaryPressed: number;
1572
+ colorOpacitySecondary: string;
1573
+ colorOpacitySecondaryHover: string;
1574
+ colorOpacitySecondaryPressed: string;
1575
1575
  colorSecondary: string;
1576
1576
  colorSecondaryHover: string;
1577
1577
  colorSecondaryPressed: string;
@@ -1906,9 +1906,9 @@ declare const _default: import("vue").DefineComponent<{
1906
1906
  fontSizeMedium: string;
1907
1907
  fontSizeLarge: string;
1908
1908
  opacityDisabled: string;
1909
- colorOpacitySecondary: number;
1910
- colorOpacitySecondaryHover: number;
1911
- colorOpacitySecondaryPressed: number;
1909
+ colorOpacitySecondary: string;
1910
+ colorOpacitySecondaryHover: string;
1911
+ colorOpacitySecondaryPressed: string;
1912
1912
  colorSecondary: string;
1913
1913
  colorSecondaryHover: string;
1914
1914
  colorSecondaryPressed: string;
@@ -2186,9 +2186,9 @@ declare const _default: import("vue").DefineComponent<{
2186
2186
  fontSizeMedium: string;
2187
2187
  fontSizeLarge: string;
2188
2188
  opacityDisabled: string;
2189
- colorOpacitySecondary: number;
2190
- colorOpacitySecondaryHover: number;
2191
- colorOpacitySecondaryPressed: number;
2189
+ colorOpacitySecondary: string;
2190
+ colorOpacitySecondaryHover: string;
2191
+ colorOpacitySecondaryPressed: string;
2192
2192
  colorSecondary: string;
2193
2193
  colorSecondaryHover: string;
2194
2194
  colorSecondaryPressed: string;
@@ -2466,9 +2466,9 @@ declare const _default: import("vue").DefineComponent<{
2466
2466
  fontSizeMedium: string;
2467
2467
  fontSizeLarge: string;
2468
2468
  opacityDisabled: string;
2469
- colorOpacitySecondary: number;
2470
- colorOpacitySecondaryHover: number;
2471
- colorOpacitySecondaryPressed: number;
2469
+ colorOpacitySecondary: string;
2470
+ colorOpacitySecondaryHover: string;
2471
+ colorOpacitySecondaryPressed: string;
2472
2472
  colorSecondary: string;
2473
2473
  colorSecondaryHover: string;
2474
2474
  colorSecondaryPressed: string;
@@ -104,9 +104,9 @@ declare const colorPickerLight: import("../../_mixins/use-theme").Theme<"ColorPi
104
104
  fontSizeMedium: string;
105
105
  fontSizeLarge: string;
106
106
  opacityDisabled: string;
107
- colorOpacitySecondary: number;
108
- colorOpacitySecondaryHover: number;
109
- colorOpacitySecondaryPressed: number;
107
+ colorOpacitySecondary: string;
108
+ colorOpacitySecondaryHover: string;
109
+ colorOpacitySecondaryPressed: string;
110
110
  colorSecondary: string;
111
111
  colorSecondaryHover: string;
112
112
  colorSecondaryPressed: string;
@@ -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;
@@ -44,6 +49,8 @@ export declare const configProviderProps: {
44
49
  datePlaceholder: string;
45
50
  datetimePlaceholder: string;
46
51
  monthPlaceholder: string;
52
+ yearPlaceholder: string;
53
+ quarterPlaceholder: string;
47
54
  startDatePlaceholder: string;
48
55
  endDatePlaceholder: string;
49
56
  startDatetimePlaceholder: string;
@@ -155,6 +162,11 @@ declare const _default: import("vue").DefineComponent<{
155
162
  yearFormat: string;
156
163
  monthFormat: string;
157
164
  dayFormat: string;
165
+ yearTypeFormat: string;
166
+ monthTypeFormat: string;
167
+ dateFormat: string;
168
+ dateTimeFormat: string;
169
+ quarterFormat: string;
158
170
  clear: string;
159
171
  now: string;
160
172
  confirm: string;
@@ -163,6 +175,8 @@ declare const _default: import("vue").DefineComponent<{
163
175
  datePlaceholder: string;
164
176
  datetimePlaceholder: string;
165
177
  monthPlaceholder: string;
178
+ yearPlaceholder: string;
179
+ quarterPlaceholder: string;
166
180
  startDatePlaceholder: string;
167
181
  endDatePlaceholder: string;
168
182
  startDatetimePlaceholder: string;
@@ -298,6 +312,11 @@ declare const _default: import("vue").DefineComponent<{
298
312
  yearFormat: string;
299
313
  monthFormat: string;
300
314
  dayFormat: string;
315
+ yearTypeFormat: string;
316
+ monthTypeFormat: string;
317
+ dateFormat: string;
318
+ dateTimeFormat: string;
319
+ quarterFormat: string;
301
320
  clear: string;
302
321
  now: string;
303
322
  confirm: string;
@@ -306,6 +325,8 @@ declare const _default: import("vue").DefineComponent<{
306
325
  datePlaceholder: string;
307
326
  datetimePlaceholder: string;
308
327
  monthPlaceholder: string;
328
+ yearPlaceholder: string;
329
+ quarterPlaceholder: string;
309
330
  startDatePlaceholder: string;
310
331
  endDatePlaceholder: string;
311
332
  startDatetimePlaceholder: string;
@@ -170,9 +170,9 @@ export declare const dataTableProps: {
170
170
  fontSizeMedium: string;
171
171
  fontSizeLarge: string;
172
172
  opacityDisabled: string;
173
- colorOpacitySecondary: number;
174
- colorOpacitySecondaryHover: number;
175
- colorOpacitySecondaryPressed: number;
173
+ colorOpacitySecondary: string;
174
+ colorOpacitySecondaryHover: string;
175
+ colorOpacitySecondaryPressed: string;
176
176
  colorSecondary: string;
177
177
  colorSecondaryHover: string;
178
178
  colorSecondaryPressed: string;
@@ -770,9 +770,9 @@ export declare const dataTableProps: {
770
770
  fontSizeMedium: string;
771
771
  fontSizeLarge: string;
772
772
  opacityDisabled: string;
773
- colorOpacitySecondary: number;
774
- colorOpacitySecondaryHover: number;
775
- colorOpacitySecondaryPressed: number;
773
+ colorOpacitySecondary: string;
774
+ colorOpacitySecondaryHover: string;
775
+ colorOpacitySecondaryPressed: string;
776
776
  colorSecondary: string;
777
777
  colorSecondaryHover: string;
778
778
  colorSecondaryPressed: string;
@@ -1370,9 +1370,9 @@ export declare const dataTableProps: {
1370
1370
  fontSizeMedium: string;
1371
1371
  fontSizeLarge: string;
1372
1372
  opacityDisabled: string;
1373
- colorOpacitySecondary: number;
1374
- colorOpacitySecondaryHover: number;
1375
- colorOpacitySecondaryPressed: number;
1373
+ colorOpacitySecondary: string;
1374
+ colorOpacitySecondaryHover: string;
1375
+ colorOpacitySecondaryPressed: string;
1376
1376
  colorSecondary: string;
1377
1377
  colorSecondaryHover: string;
1378
1378
  colorSecondaryPressed: string;
@@ -2078,9 +2078,9 @@ declare const _default: import("vue").DefineComponent<{
2078
2078
  fontSizeMedium: string;
2079
2079
  fontSizeLarge: string;
2080
2080
  opacityDisabled: string;
2081
- colorOpacitySecondary: number;
2082
- colorOpacitySecondaryHover: number;
2083
- colorOpacitySecondaryPressed: number;
2081
+ colorOpacitySecondary: string;
2082
+ colorOpacitySecondaryHover: string;
2083
+ colorOpacitySecondaryPressed: string;
2084
2084
  colorSecondary: string;
2085
2085
  colorSecondaryHover: string;
2086
2086
  colorSecondaryPressed: string;
@@ -2678,9 +2678,9 @@ declare const _default: import("vue").DefineComponent<{
2678
2678
  fontSizeMedium: string;
2679
2679
  fontSizeLarge: string;
2680
2680
  opacityDisabled: string;
2681
- colorOpacitySecondary: number;
2682
- colorOpacitySecondaryHover: number;
2683
- colorOpacitySecondaryPressed: number;
2681
+ colorOpacitySecondary: string;
2682
+ colorOpacitySecondaryHover: string;
2683
+ colorOpacitySecondaryPressed: string;
2684
2684
  colorSecondary: string;
2685
2685
  colorSecondaryHover: string;
2686
2686
  colorSecondaryPressed: string;
@@ -3278,9 +3278,9 @@ declare const _default: import("vue").DefineComponent<{
3278
3278
  fontSizeMedium: string;
3279
3279
  fontSizeLarge: string;
3280
3280
  opacityDisabled: string;
3281
- colorOpacitySecondary: number;
3282
- colorOpacitySecondaryHover: number;
3283
- colorOpacitySecondaryPressed: number;
3281
+ colorOpacitySecondary: string;
3282
+ colorOpacitySecondaryHover: string;
3283
+ colorOpacitySecondaryPressed: string;
3284
3284
  colorSecondary: string;
3285
3285
  colorSecondaryHover: string;
3286
3286
  colorSecondaryPressed: string;
@@ -4037,9 +4037,9 @@ declare const _default: import("vue").DefineComponent<{
4037
4037
  fontSizeMedium: string;
4038
4038
  fontSizeLarge: string;
4039
4039
  opacityDisabled: string;
4040
- colorOpacitySecondary: number;
4041
- colorOpacitySecondaryHover: number;
4042
- colorOpacitySecondaryPressed: number;
4040
+ colorOpacitySecondary: string;
4041
+ colorOpacitySecondaryHover: string;
4042
+ colorOpacitySecondaryPressed: string;
4043
4043
  colorSecondary: string;
4044
4044
  colorSecondaryHover: string;
4045
4045
  colorSecondaryPressed: string;
@@ -4959,9 +4959,9 @@ declare const _default: import("vue").DefineComponent<{
4959
4959
  fontSizeMedium: string;
4960
4960
  fontSizeLarge: string;
4961
4961
  opacityDisabled: string;
4962
- colorOpacitySecondary: number;
4963
- colorOpacitySecondaryHover: number;
4964
- colorOpacitySecondaryPressed: number;
4962
+ colorOpacitySecondary: string;
4963
+ colorOpacitySecondaryHover: string;
4964
+ colorOpacitySecondaryPressed: string;
4965
4965
  colorSecondary: string;
4966
4966
  colorSecondaryHover: string;
4967
4967
  colorSecondaryPressed: string;
@@ -5559,9 +5559,9 @@ declare const _default: import("vue").DefineComponent<{
5559
5559
  fontSizeMedium: string;
5560
5560
  fontSizeLarge: string;
5561
5561
  opacityDisabled: string;
5562
- colorOpacitySecondary: number;
5563
- colorOpacitySecondaryHover: number;
5564
- colorOpacitySecondaryPressed: number;
5562
+ colorOpacitySecondary: string;
5563
+ colorOpacitySecondaryHover: string;
5564
+ colorOpacitySecondaryPressed: string;
5565
5565
  colorSecondary: string;
5566
5566
  colorSecondaryHover: string;
5567
5567
  colorSecondaryPressed: string;
@@ -6159,9 +6159,9 @@ declare const _default: import("vue").DefineComponent<{
6159
6159
  fontSizeMedium: string;
6160
6160
  fontSizeLarge: string;
6161
6161
  opacityDisabled: string;
6162
- colorOpacitySecondary: number;
6163
- colorOpacitySecondaryHover: number;
6164
- colorOpacitySecondaryPressed: number;
6162
+ colorOpacitySecondary: string;
6163
+ colorOpacitySecondaryHover: string;
6164
+ colorOpacitySecondaryPressed: string;
6165
6165
  colorSecondary: string;
6166
6166
  colorSecondaryHover: string;
6167
6167
  colorSecondaryPressed: string;
@@ -1,8 +1,7 @@
1
- import { h, computed, defineComponent, ref, provide, toRef, renderSlot, Transition } from 'vue';
1
+ import { h, computed, defineComponent, ref, provide, toRef, Transition } from 'vue';
2
2
  import { createId } from 'seemly';
3
3
  import { useConfig, useLocale, useTheme } from '../../_mixins';
4
4
  import { NBaseLoading } from '../../_internal';
5
- import { NEmpty } from '../../empty';
6
5
  import { NPagination } from '../../pagination';
7
6
  import { warn, createKey } from '../../_utils';
8
7
  import { dataTableLight } from '../styles';
@@ -107,7 +106,7 @@ export default defineComponent({
107
106
  name: 'DataTable',
108
107
  alias: ['AdvancedTable'],
109
108
  props: dataTableProps,
110
- setup(props) {
109
+ setup(props, { slots }) {
111
110
  const { mergedBorderedRef, mergedClsPrefixRef } = useConfig(props);
112
111
  const mergedBottomBorderedRef = computed(() => {
113
112
  const { bottomBordered } = props;
@@ -131,7 +130,7 @@ export default defineComponent({
131
130
  paginatedDataRef
132
131
  });
133
132
  const { mergedExpandedRowKeysRef, renderExpandRef, doUpdateExpandedRowKeys } = useExpand(props);
134
- const { handleTableBodyScroll, handleTableHeaderScroll, syncScrollState, setHeaderScrollLeft, leftActiveFixedColKeyRef, rightActiveFixedColKeyRef, leftFixedColumnsRef, rightFixedColumnsRef, fixedColumnLeftMapRef, fixedColumnRightMapRef } = useScroll(props, {
133
+ const { handleTableBodyScroll, handleTableHeaderScroll, syncScrollState, setHeaderScrollLeft, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, leftFixedColumnsRef, rightFixedColumnsRef, fixedColumnLeftMapRef, fixedColumnRightMapRef } = useScroll(props, {
135
134
  scrollPartRef,
136
135
  bodyWidthRef,
137
136
  mainTableInstRef,
@@ -151,6 +150,7 @@ export default defineComponent({
151
150
  return props.tableLayout;
152
151
  });
153
152
  provide(dataTableInjectionKey, {
153
+ slots,
154
154
  indentRef: toRef(props, 'indent'),
155
155
  firstContentfulColIndexRef,
156
156
  bodyWidthRef,
@@ -163,7 +163,9 @@ export default defineComponent({
163
163
  colsRef,
164
164
  paginatedDataRef,
165
165
  leftActiveFixedColKeyRef,
166
+ leftActiveFixedChildrenColKeysRef,
166
167
  rightActiveFixedColKeyRef,
168
+ rightActiveFixedChildrenColKeysRef,
167
169
  leftFixedColumnsRef,
168
170
  rightFixedColumnsRef,
169
171
  fixedColumnLeftMapRef,
@@ -289,16 +291,7 @@ export default defineComponent({
289
291
  }
290
292
  ], style: this.cssVars },
291
293
  h("div", { class: `${mergedClsPrefix}-data-table-wrapper` },
292
- h(MainTable, { ref: "mainTableInstRef" }, {
293
- default: () => this.paginatedData.length === 0 ? (h("div", { class: [
294
- `${mergedClsPrefix}-data-table-empty`,
295
- {
296
- [`${mergedClsPrefix}-data-table-empty--hide`]: this.loading
297
- }
298
- ] }, renderSlot(this.$slots, 'empty', undefined, () => [
299
- h(NEmpty, { theme: this.mergedTheme.peers.Empty, themeOverrides: this.mergedTheme.peerOverrides.Empty })
300
- ]))) : null
301
- })),
294
+ h(MainTable, { ref: "mainTableInstRef" })),
302
295
  this.pagination ? (h("div", { class: `${mergedClsPrefix}-data-table__pagination` },
303
296
  h(NPagination, Object.assign({ theme: this.mergedTheme.peers.Pagination, themeOverrides: this.mergedTheme.peerOverrides.Pagination, disabled: this.loading }, this.mergedPagination)))) : null,
304
297
  h(Transition, { name: "fade-in-scale-up-transition" }, {
@@ -178,9 +178,9 @@ declare const _default: import("vue").DefineComponent<{
178
178
  fontSizeMedium: string;
179
179
  fontSizeLarge: string;
180
180
  opacityDisabled: string;
181
- colorOpacitySecondary: number;
182
- colorOpacitySecondaryHover: number;
183
- colorOpacitySecondaryPressed: number;
181
+ colorOpacitySecondary: string;
182
+ colorOpacitySecondaryHover: string;
183
+ colorOpacitySecondaryPressed: string;
184
184
  colorSecondary: string;
185
185
  colorSecondaryHover: string;
186
186
  colorSecondaryPressed: string;
@@ -203,9 +203,9 @@ declare const _default: import("vue").DefineComponent<{
203
203
  fontSizeMedium: string;
204
204
  fontSizeLarge: string;
205
205
  opacityDisabled: string;
206
- colorOpacitySecondary: number;
207
- colorOpacitySecondaryHover: number;
208
- colorOpacitySecondaryPressed: number;
206
+ colorOpacitySecondary: string;
207
+ colorOpacitySecondaryHover: string;
208
+ colorOpacitySecondaryPressed: string;
209
209
  colorSecondary: string;
210
210
  colorSecondaryHover: string;
211
211
  colorSecondaryPressed: string;
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
- import { h, ref, defineComponent, inject, computed, renderSlot, watchEffect } from 'vue';
2
+ import { h, ref, defineComponent, inject, computed, watchEffect } from 'vue';
3
3
  import { formatLength } from '../../_utils';
4
4
  import TableHeader from './TableParts/Header';
5
5
  import TableBody from './TableParts/Body';
@@ -67,7 +67,6 @@ export default defineComponent({
67
67
  const headerInBody = maxHeight === undefined && !flexHeight;
68
68
  return (h("div", { class: `${mergedClsPrefix}-data-table-base-table`, ref: "selfElRef" },
69
69
  headerInBody ? null : h(TableHeader, { ref: "headerInstRef" }),
70
- h(TableBody, { ref: "bodyInstRef", style: this.bodyStyle, showHeader: headerInBody, flexHeight: flexHeight, onResize: this.handleBodyResize }),
71
- renderSlot(this.$slots, 'default')));
70
+ h(TableBody, { ref: "bodyInstRef", bodyStyle: this.bodyStyle, showHeader: headerInBody, flexHeight: flexHeight, onResize: this.handleBodyResize })));
72
71
  }
73
72
  });
@@ -1,12 +1,16 @@
1
- import { PropType } from 'vue';
2
- import { RowKey, TmNode } from '../interface';
1
+ import { PropType, CSSProperties } from 'vue';
2
+ import { RowKey, ColumnKey, TmNode } from '../interface';
3
3
  import type { ColItem } from '../use-group-header';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  onResize: PropType<(e: ResizeObserverEntry) => void>;
6
6
  showHeader: BooleanConstructor;
7
7
  flexHeight: BooleanConstructor;
8
+ bodyStyle: PropType<CSSProperties>;
8
9
  }, {
9
10
  getScrollContainer: () => HTMLElement | null;
11
+ dataTableSlots: Readonly<{
12
+ [name: string]: import("vue").Slot | undefined;
13
+ }>;
10
14
  componentId: string;
11
15
  scrollbarInstRef: import("vue").Ref<{
12
16
  scrollTo: import("../../../_internal/scrollbar/src/ScrollBar").ScrollTo;
@@ -20,6 +24,7 @@ declare const _default: import("vue").DefineComponent<{
20
24
  itemsElRef: HTMLElement | null;
21
25
  scrollTo: import("vueuc/lib/virtual-list/src/VirtualList").ScrollTo;
22
26
  } | null>;
27
+ emptyElRef: import("vue").Ref<HTMLElement | null>;
23
28
  summary: import("vue").Ref<import("../interface").CreateSummary<import("../interface").InternalRowData> | undefined>;
24
29
  mergedClsPrefix: import("vue").Ref<string>;
25
30
  mergedTheme: import("vue").Ref<{
@@ -190,9 +195,9 @@ declare const _default: import("vue").DefineComponent<{
190
195
  fontSizeMedium: string;
191
196
  fontSizeLarge: string;
192
197
  opacityDisabled: string;
193
- colorOpacitySecondary: number;
194
- colorOpacitySecondaryHover: number;
195
- colorOpacitySecondaryPressed: number;
198
+ colorOpacitySecondary: string;
199
+ colorOpacitySecondaryHover: string;
200
+ colorOpacitySecondaryPressed: string;
196
201
  colorSecondary: string;
197
202
  colorSecondaryHover: string;
198
203
  colorSecondaryPressed: string;
@@ -976,17 +981,21 @@ declare const _default: import("vue").DefineComponent<{
976
981
  }>;
977
982
  scrollX: import("vue").Ref<string | number | undefined>;
978
983
  cols: import("vue").Ref<ColItem[]>;
984
+ loading: import("vue").Ref<boolean>;
985
+ bodyShowHeaderOnly: import("vue").ComputedRef<boolean>;
986
+ shouldDisplaySomeTablePart: import("vue").ComputedRef<boolean>;
987
+ empty: import("vue").ComputedRef<boolean>;
979
988
  paginatedData: import("vue").ComputedRef<{
980
989
  tmNode: TmNode;
981
990
  key: import("treemate").Key;
982
991
  striped: boolean;
983
992
  }[]>;
984
993
  rawPaginatedData: import("vue").Ref<import("../interface").InternalRowData[]>;
985
- fixedColumnLeftMap: import("vue").Ref<Record<import("../interface").ColumnKey, {
994
+ fixedColumnLeftMap: import("vue").Ref<Record<ColumnKey, {
986
995
  start: number;
987
996
  end: number;
988
997
  } | undefined>>;
989
- fixedColumnRightMap: import("vue").Ref<Record<import("../interface").ColumnKey, {
998
+ fixedColumnRightMap: import("vue").Ref<Record<ColumnKey, {
990
999
  start: number;
991
1000
  end: number;
992
1001
  } | undefined>>;
@@ -1019,11 +1028,13 @@ declare const _default: import("vue").DefineComponent<{
1019
1028
  onResize?: unknown;
1020
1029
  showHeader?: unknown;
1021
1030
  flexHeight?: unknown;
1031
+ bodyStyle?: unknown;
1022
1032
  } & {
1023
1033
  flexHeight: boolean;
1024
1034
  showHeader: boolean;
1025
1035
  } & {
1026
1036
  onResize?: ((e: ResizeObserverEntry) => void) | undefined;
1037
+ bodyStyle?: CSSProperties | undefined;
1027
1038
  }>, {
1028
1039
  flexHeight: boolean;
1029
1040
  showHeader: boolean;