naive-ui 2.33.2 → 2.33.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 (662) hide show
  1. package/dist/index.js +1567 -1720
  2. package/dist/index.prod.js +2 -2
  3. package/es/_internal/clear/src/Clear.d.ts +1 -1
  4. package/es/_internal/close/src/Close.d.ts +1 -1
  5. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  6. package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  7. package/es/_internal/icon/src/Icon.d.ts +1 -1
  8. package/es/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
  9. package/es/_internal/icons/Add.d.ts +1 -1
  10. package/es/_internal/icons/ArrowBack.d.ts +1 -1
  11. package/es/_internal/icons/ArrowDown.d.ts +1 -1
  12. package/es/_internal/icons/ArrowUp.d.ts +1 -1
  13. package/es/_internal/icons/Attach.d.ts +1 -1
  14. package/es/_internal/icons/Backward.d.ts +1 -1
  15. package/es/_internal/icons/Cancel.d.ts +1 -1
  16. package/es/_internal/icons/Checkmark.d.ts +1 -1
  17. package/es/_internal/icons/ChevronDown.d.ts +1 -1
  18. package/es/_internal/icons/ChevronDownFilled.d.ts +1 -1
  19. package/es/_internal/icons/ChevronLeft.d.ts +1 -1
  20. package/es/_internal/icons/ChevronRight.d.ts +1 -1
  21. package/es/_internal/icons/Clear.d.ts +1 -1
  22. package/es/_internal/icons/Close.d.ts +1 -1
  23. package/es/_internal/icons/Date.d.ts +1 -1
  24. package/es/_internal/icons/Download.d.ts +1 -1
  25. package/es/_internal/icons/Empty.d.ts +1 -1
  26. package/es/_internal/icons/Error.d.ts +1 -1
  27. package/es/_internal/icons/Eye.d.ts +1 -1
  28. package/es/_internal/icons/EyeOff.d.ts +1 -1
  29. package/es/_internal/icons/FastBackward.d.ts +1 -1
  30. package/es/_internal/icons/FastForward.d.ts +1 -1
  31. package/es/_internal/icons/File.d.ts +1 -1
  32. package/es/_internal/icons/Filter.d.ts +1 -1
  33. package/es/_internal/icons/Forward.d.ts +1 -1
  34. package/es/_internal/icons/Info.d.ts +1 -1
  35. package/es/_internal/icons/More.d.ts +1 -1
  36. package/es/_internal/icons/Photo.d.ts +1 -1
  37. package/es/_internal/icons/Remove.d.ts +1 -1
  38. package/es/_internal/icons/ResizeSmall.d.ts +1 -1
  39. package/es/_internal/icons/Retry.d.ts +1 -1
  40. package/es/_internal/icons/RotateClockwise.d.ts +1 -1
  41. package/es/_internal/icons/RotateCounterclockwise.d.ts +1 -1
  42. package/es/_internal/icons/Search.d.ts +1 -1
  43. package/es/_internal/icons/Success.d.ts +1 -1
  44. package/es/_internal/icons/Switcher.d.ts +1 -1
  45. package/es/_internal/icons/Time.d.ts +1 -1
  46. package/es/_internal/icons/To.d.ts +1 -1
  47. package/es/_internal/icons/Trash.d.ts +1 -1
  48. package/es/_internal/icons/Warning.d.ts +1 -1
  49. package/es/_internal/icons/ZoomIn.d.ts +1 -1
  50. package/es/_internal/icons/ZoomOut.d.ts +1 -1
  51. package/es/_internal/icons/replaceable.d.ts +1 -1
  52. package/es/_internal/loading/src/Loading.d.ts +1 -1
  53. package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
  54. package/es/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
  55. package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -1
  56. package/es/_internal/select-menu/src/SelectMenu.d.ts +1 -1
  57. package/es/_internal/select-menu/src/SelectOption.d.ts +1 -1
  58. package/es/_internal/selection/src/Selection.d.ts +1 -1
  59. package/es/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
  60. package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  61. package/es/_internal/suffix/src/Suffix.d.ts +1 -1
  62. package/es/_internal/wave/src/Wave.d.ts +1 -1
  63. package/es/_utils/vue/keysOf.d.ts +1 -1
  64. package/es/_utils/vue/wrapper.d.ts +1 -1
  65. package/es/affix/src/Affix.d.ts +1 -1
  66. package/es/alert/src/Alert.d.ts +1 -1
  67. package/es/anchor/src/AnchorAdapter.d.ts +1 -1
  68. package/es/anchor/src/BaseAnchor.d.ts +1 -1
  69. package/es/anchor/src/Link.d.ts +1 -1
  70. package/es/auto-complete/src/AutoComplete.d.ts +1 -1
  71. package/es/avatar/src/Avatar.d.ts +4 -1
  72. package/es/avatar/src/Avatar.js +1 -1
  73. package/es/avatar-group/src/AvatarGroup.d.ts +1 -1
  74. package/es/back-top/src/BackTop.d.ts +1 -1
  75. package/es/badge/src/Badge.d.ts +1 -1
  76. package/es/breadcrumb/src/Breadcrumb.d.ts +1 -1
  77. package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
  78. package/es/button/src/Button.d.ts +2 -2
  79. package/es/button-group/src/ButtonGroup.d.ts +1 -1
  80. package/es/calendar/src/Calendar.d.ts +1 -1
  81. package/es/card/src/Card.d.ts +1 -1
  82. package/es/carousel/src/Carousel.d.ts +1 -1
  83. package/es/carousel/src/CarouselArrow.d.ts +1 -1
  84. package/es/carousel/src/CarouselDots.d.ts +1 -1
  85. package/es/carousel/src/CarouselItem.d.ts +1 -1
  86. package/es/carousel/src/utils/index.js +1 -1
  87. package/es/cascader/src/Cascader.d.ts +1 -1
  88. package/es/cascader/src/CascaderMenu.d.ts +1 -1
  89. package/es/cascader/src/CascaderOption.d.ts +1 -1
  90. package/es/cascader/src/CascaderSelectMenu.d.ts +1 -1
  91. package/es/cascader/src/CascaderSubmenu.d.ts +1 -1
  92. package/es/checkbox/src/Checkbox.d.ts +1 -1
  93. package/es/checkbox/src/CheckboxGroup.d.ts +1 -1
  94. package/es/code/src/Code.d.ts +1 -1
  95. package/es/collapse/src/Collapse.d.ts +1 -1
  96. package/es/collapse/src/CollapseItem.d.ts +1 -1
  97. package/es/collapse/src/CollapseItemContent.d.ts +1 -1
  98. package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
  99. package/es/color-picker/src/AlphaSlider.d.ts +1 -1
  100. package/es/color-picker/src/ColorInput.d.ts +1 -1
  101. package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
  102. package/es/color-picker/src/ColorPicker.d.ts +1 -1
  103. package/es/color-picker/src/ColorPickerSwatches.d.ts +1 -1
  104. package/es/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  105. package/es/color-picker/src/ColorPreview.d.ts +1 -1
  106. package/es/color-picker/src/HueSlider.d.ts +1 -1
  107. package/es/color-picker/src/Pallete.d.ts +1 -1
  108. package/es/config-provider/src/ConfigProvider.d.ts +1 -1
  109. package/es/countdown/src/Countdown.d.ts +1 -1
  110. package/es/data-table/index.d.ts +3 -3
  111. package/es/data-table/index.js +2 -1
  112. package/es/data-table/src/DataTable.d.ts +609 -2319
  113. package/es/data-table/src/DataTable.js +3 -51
  114. package/es/data-table/src/HeaderButton/FilterButton.d.ts +89 -1
  115. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +90 -2
  116. package/es/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
  117. package/es/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
  118. package/es/data-table/src/HeaderButton/SortButton.d.ts +1 -1
  119. package/es/data-table/src/MainTable.d.ts +1 -1
  120. package/es/data-table/src/TableParts/Body.d.ts +90 -1
  121. package/es/data-table/src/TableParts/Body.js +28 -26
  122. package/es/data-table/src/TableParts/BodyCheckbox.d.ts +1 -1
  123. package/es/data-table/src/TableParts/BodyRadio.d.ts +1 -1
  124. package/es/data-table/src/TableParts/Cell.d.ts +177 -1
  125. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
  126. package/es/data-table/src/TableParts/Header.d.ts +89 -1
  127. package/es/data-table/src/TableParts/SelectionMenu.d.ts +1 -8
  128. package/es/data-table/src/TableParts/SelectionMenu.js +12 -13
  129. package/es/data-table/src/interface.d.ts +2444 -2
  130. package/es/data-table/src/interface.js +54 -0
  131. package/es/data-table/src/use-check.d.ts +1 -2
  132. package/es/data-table/src/use-expand.d.ts +1 -2
  133. package/es/data-table/src/use-group-header.d.ts +1 -2
  134. package/es/data-table/src/use-scroll.d.ts +1 -2
  135. package/es/data-table/src/use-sorter.d.ts +1 -2
  136. package/es/data-table/src/use-sorter.js +1 -1
  137. package/es/data-table/src/use-table-data.d.ts +1 -2
  138. package/es/data-table/src/use-table-data.js +1 -1
  139. package/es/data-table/styles/dark.js +3 -1
  140. package/es/data-table/styles/light.d.ts +70 -0
  141. package/es/data-table/styles/light.js +3 -1
  142. package/es/date-picker/src/DatePicker.d.ts +1 -1
  143. package/es/date-picker/src/DatePicker.js +3 -1
  144. package/es/date-picker/src/panel/date.d.ts +7 -7
  145. package/es/date-picker/src/panel/daterange.d.ts +1 -1
  146. package/es/date-picker/src/panel/datetime.d.ts +7 -7
  147. package/es/date-picker/src/panel/datetimerange.d.ts +1 -1
  148. package/es/date-picker/src/panel/month.d.ts +7 -7
  149. package/es/date-picker/src/panel/monthrange.d.ts +1 -1
  150. package/es/date-picker/src/panel/monthrange.js +4 -2
  151. package/es/date-picker/src/panel/panelHeader.d.ts +2 -2
  152. package/es/date-picker/src/panel/use-calendar.d.ts +1 -1
  153. package/es/descriptions/src/Descriptions.d.ts +1 -1
  154. package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
  155. package/es/descriptions/src/utils.d.ts +1 -1
  156. package/es/descriptions/src/utils.js +1 -1
  157. package/es/dialog/src/Dialog.d.ts +1 -1
  158. package/es/dialog/src/DialogEnvironment.d.ts +4 -1
  159. package/es/dialog/src/DialogEnvironment.js +6 -2
  160. package/es/dialog/src/DialogProvider.d.ts +4 -3
  161. package/es/discrete/src/InjectionExtractor.d.ts +1 -1
  162. package/es/divider/src/Divider.d.ts +1 -1
  163. package/es/drawer/src/Drawer.d.ts +1 -1
  164. package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
  165. package/es/drawer/src/DrawerContent.d.ts +1 -1
  166. package/es/dropdown/src/Dropdown.d.ts +1 -1
  167. package/es/dropdown/src/Dropdown.js +21 -20
  168. package/es/dropdown/src/DropdownDivider.d.ts +1 -1
  169. package/es/dropdown/src/DropdownGroup.d.ts +1 -1
  170. package/es/dropdown/src/DropdownGroup.js +4 -1
  171. package/es/dropdown/src/DropdownGroupHeader.d.ts +1 -1
  172. package/es/dropdown/src/DropdownMenu.d.ts +1 -1
  173. package/es/dropdown/src/DropdownMenu.js +2 -0
  174. package/es/dropdown/src/DropdownOption.d.ts +1 -1
  175. package/es/dropdown/src/DropdownRenderOption.d.ts +1 -1
  176. package/es/dynamic-input/src/DynamicInput.d.ts +1 -1
  177. package/es/dynamic-input/src/InputPreset.d.ts +1 -1
  178. package/es/dynamic-input/src/PairPreset.d.ts +1 -1
  179. package/es/dynamic-tags/index.d.ts +1 -0
  180. package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
  181. package/es/element/src/Element.d.ts +1 -1
  182. package/es/ellipsis/src/Ellipsis.d.ts +1 -1
  183. package/es/empty/src/Empty.d.ts +1 -1
  184. package/es/form/src/Form.d.ts +1 -1
  185. package/es/form/src/FormItem.d.ts +1 -1
  186. package/es/form/src/FormItemCol.d.ts +1 -1
  187. package/es/form/src/FormItemGridItem.d.ts +1 -1
  188. package/es/form/src/FormItemRow.d.ts +1 -1
  189. package/es/global-style/src/GlobalStyle.d.ts +1 -1
  190. package/es/gradient-text/src/GradientText.d.ts +1 -1
  191. package/es/grid/src/Grid.d.ts +1 -1
  192. package/es/grid/src/GridItem.d.ts +1 -1
  193. package/es/icon/src/Icon.d.ts +1 -1
  194. package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
  195. package/es/image/src/Image.d.ts +1 -1
  196. package/es/image/src/ImageGroup.d.ts +1 -1
  197. package/es/image/src/ImagePreview.d.ts +1 -1
  198. package/es/input/src/Input.d.ts +2 -2
  199. package/es/input/src/InputGroup.d.ts +1 -1
  200. package/es/input/src/InputGroupLabel.d.ts +1 -1
  201. package/es/input/src/WordCount.d.ts +1 -1
  202. package/es/input-number/src/InputNumber.d.ts +1 -1
  203. package/es/layout/src/Layout.d.ts +2 -2
  204. package/es/layout/src/LayoutContent.d.ts +1 -1
  205. package/es/layout/src/LayoutFooter.d.ts +1 -1
  206. package/es/layout/src/LayoutHeader.d.ts +1 -1
  207. package/es/layout/src/LayoutSider.d.ts +1 -1
  208. package/es/layout/src/ToggleBar.d.ts +1 -1
  209. package/es/layout/src/ToggleButton.d.ts +1 -1
  210. package/es/legacy-grid/src/Col.d.ts +1 -1
  211. package/es/legacy-grid/src/Row.d.ts +1 -1
  212. package/es/legacy-transfer/src/Transfer.d.ts +1 -1
  213. package/es/legacy-transfer/src/TransferFilter.d.ts +1 -1
  214. package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
  215. package/es/legacy-transfer/src/TransferList.d.ts +1 -1
  216. package/es/legacy-transfer/src/TransferListItem.d.ts +1 -1
  217. package/es/list/src/List.d.ts +1 -1
  218. package/es/list/src/ListItem.d.ts +1 -1
  219. package/es/loading-bar/src/LoadingBar.d.ts +1 -1
  220. package/es/loading-bar/src/LoadingBarProvider.d.ts +1 -1
  221. package/es/log/src/Log.d.ts +1 -1
  222. package/es/log/src/LogLine.d.ts +1 -1
  223. package/es/log/src/LogLoader.d.ts +1 -1
  224. package/es/mention/src/Mention.d.ts +1 -1
  225. package/es/menu/src/Menu.d.ts +1 -1
  226. package/es/menu/src/Menu.js +5 -2
  227. package/es/menu/src/MenuDivider.d.ts +1 -1
  228. package/es/menu/src/MenuOption.d.ts +1 -1
  229. package/es/menu/src/MenuOption.js +1 -4
  230. package/es/menu/src/MenuOptionContent.d.ts +1 -1
  231. package/es/menu/src/MenuOptionGroup.d.ts +1 -1
  232. package/es/menu/src/Submenu.d.ts +1 -1
  233. package/es/menu/src/interface.d.ts +1 -0
  234. package/es/menu/src/utils.js +1 -1
  235. package/es/message/src/Message.d.ts +1 -1
  236. package/es/message/src/MessageEnvironment.d.ts +1 -1
  237. package/es/message/src/MessageProvider.d.ts +1 -1
  238. package/es/modal/src/BodyWrapper.d.ts +1 -1
  239. package/es/modal/src/Modal.d.ts +1 -1
  240. package/es/notification/src/Notification.d.ts +1 -1
  241. package/es/notification/src/NotificationContainer.d.ts +1 -1
  242. package/es/notification/src/NotificationEnvironment.d.ts +1 -1
  243. package/es/notification/src/NotificationProvider.d.ts +1 -1
  244. package/es/number-animation/src/NumberAnimation.d.ts +1 -1
  245. package/es/page-header/src/PageHeader.d.ts +1 -1
  246. package/es/pagination/src/Pagination.d.ts +1 -1
  247. package/es/popconfirm/src/Popconfirm.d.ts +1 -1
  248. package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  249. package/es/popover/src/Popover.d.ts +1 -1
  250. package/es/popover/src/PopoverBody.d.ts +1 -1
  251. package/es/popselect/src/Popselect.d.ts +1 -1
  252. package/es/popselect/src/PopselectPanel.d.ts +1 -1
  253. package/es/progress/src/Circle.d.ts +1 -1
  254. package/es/progress/src/Circle.js +5 -3
  255. package/es/progress/src/Line.d.ts +1 -1
  256. package/es/progress/src/MultipleCircle.d.ts +1 -1
  257. package/es/progress/src/Progress.d.ts +1 -1
  258. package/es/radio/src/Radio.d.ts +1 -1
  259. package/es/radio/src/RadioButton.d.ts +1 -1
  260. package/es/radio/src/RadioGroup.d.ts +1 -1
  261. package/es/rate/src/Rate.d.ts +1 -1
  262. package/es/result/src/Result.d.ts +1 -1
  263. package/es/scrollbar/src/Scrollbar.d.ts +1 -1
  264. package/es/select/src/Select.d.ts +1 -1
  265. package/es/skeleton/src/Skeleton.d.ts +1 -1
  266. package/es/slider/src/Slider.d.ts +1 -1
  267. package/es/space/src/Space.d.ts +1 -1
  268. package/es/spin/src/Spin.d.ts +1 -1
  269. package/es/statistic/src/Statistic.d.ts +1 -1
  270. package/es/steps/src/Step.d.ts +1 -1
  271. package/es/steps/src/Steps.d.ts +1 -1
  272. package/es/switch/src/Switch.d.ts +1 -1
  273. package/es/table/src/Table.d.ts +1 -1
  274. package/es/table/src/Tbody.d.ts +1 -1
  275. package/es/table/src/Td.d.ts +1 -1
  276. package/es/table/src/Th.d.ts +1 -1
  277. package/es/table/src/Thead.d.ts +1 -1
  278. package/es/table/src/Tr.d.ts +1 -1
  279. package/es/tabs/src/Tab.d.ts +1 -1
  280. package/es/tabs/src/TabPane.d.ts +1 -1
  281. package/es/tabs/src/Tabs.d.ts +2 -2
  282. package/es/tabs/src/Tabs.js +28 -0
  283. package/es/tag/src/Tag.d.ts +1 -1
  284. package/es/theme-editor/src/MaximizeIcon.d.ts +1 -1
  285. package/es/theme-editor/src/MinimizeIcon.d.ts +1 -1
  286. package/es/theme-editor/src/ThemeEditor.d.ts +1 -1
  287. package/es/thing/src/Thing.d.ts +1 -1
  288. package/es/time/src/Time.d.ts +1 -1
  289. package/es/time-picker/src/Panel.d.ts +1 -1
  290. package/es/time-picker/src/PanelCol.d.ts +1 -1
  291. package/es/time-picker/src/TimePicker.d.ts +1 -1
  292. package/es/timeline/src/Timeline.d.ts +1 -1
  293. package/es/timeline/src/TimelineItem.d.ts +1 -1
  294. package/es/tooltip/src/Tooltip.d.ts +1 -1
  295. package/es/transfer/src/Transfer.d.ts +1 -1
  296. package/es/transfer/src/TransferFilter.d.ts +1 -1
  297. package/es/transfer/src/TransferHeader.d.ts +1 -1
  298. package/es/transfer/src/TransferList.d.ts +1 -1
  299. package/es/transfer/src/TransferListItem.d.ts +1 -1
  300. package/es/tree/src/MotionWrapper.d.ts +1 -1
  301. package/es/tree/src/Tree.d.ts +1 -1
  302. package/es/tree/src/Tree.js +42 -14
  303. package/es/tree/src/TreeNode.d.ts +1 -1
  304. package/es/tree/src/TreeNode.js +9 -4
  305. package/es/tree/src/TreeNodeCheckbox.d.ts +1 -1
  306. package/es/tree/src/TreeNodeContent.d.ts +1 -1
  307. package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
  308. package/es/tree/src/interface.d.ts +1 -0
  309. package/es/tree/src/utils.d.ts +2 -1
  310. package/es/tree/src/utils.js +3 -0
  311. package/es/tree-select/src/TreeSelect.d.ts +3 -3
  312. package/es/typography/src/a.d.ts +1 -1
  313. package/es/typography/src/blockquote.d.ts +1 -1
  314. package/es/typography/src/create-header.d.ts +1 -1
  315. package/es/typography/src/headers.d.ts +6 -6
  316. package/es/typography/src/hr.d.ts +1 -1
  317. package/es/typography/src/li.d.ts +1 -1
  318. package/es/typography/src/ol.d.ts +1 -1
  319. package/es/typography/src/p.d.ts +1 -1
  320. package/es/typography/src/text.d.ts +1 -1
  321. package/es/typography/src/ul.d.ts +1 -1
  322. package/es/upload/src/Upload.d.ts +14 -11
  323. package/es/upload/src/Upload.js +7 -2
  324. package/es/upload/src/UploadDragger.d.ts +1 -1
  325. package/es/upload/src/UploadFile.d.ts +1 -1
  326. package/es/upload/src/UploadFileList.d.ts +1 -1
  327. package/es/upload/src/UploadProgress.d.ts +1 -1
  328. package/es/upload/src/UploadTrigger.d.ts +1 -1
  329. package/es/version.d.ts +1 -1
  330. package/es/version.js +1 -1
  331. package/es/watermark/src/Watermark.d.ts +1 -1
  332. package/lib/_internal/clear/src/Clear.d.ts +1 -1
  333. package/lib/_internal/close/src/Close.d.ts +1 -1
  334. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  335. package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  336. package/lib/_internal/icon/src/Icon.d.ts +1 -1
  337. package/lib/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
  338. package/lib/_internal/icons/Add.d.ts +1 -1
  339. package/lib/_internal/icons/ArrowBack.d.ts +1 -1
  340. package/lib/_internal/icons/ArrowDown.d.ts +1 -1
  341. package/lib/_internal/icons/ArrowUp.d.ts +1 -1
  342. package/lib/_internal/icons/Attach.d.ts +1 -1
  343. package/lib/_internal/icons/Backward.d.ts +1 -1
  344. package/lib/_internal/icons/Cancel.d.ts +1 -1
  345. package/lib/_internal/icons/Checkmark.d.ts +1 -1
  346. package/lib/_internal/icons/ChevronDown.d.ts +1 -1
  347. package/lib/_internal/icons/ChevronDownFilled.d.ts +1 -1
  348. package/lib/_internal/icons/ChevronLeft.d.ts +1 -1
  349. package/lib/_internal/icons/ChevronRight.d.ts +1 -1
  350. package/lib/_internal/icons/Clear.d.ts +1 -1
  351. package/lib/_internal/icons/Close.d.ts +1 -1
  352. package/lib/_internal/icons/Date.d.ts +1 -1
  353. package/lib/_internal/icons/Download.d.ts +1 -1
  354. package/lib/_internal/icons/Empty.d.ts +1 -1
  355. package/lib/_internal/icons/Error.d.ts +1 -1
  356. package/lib/_internal/icons/Eye.d.ts +1 -1
  357. package/lib/_internal/icons/EyeOff.d.ts +1 -1
  358. package/lib/_internal/icons/FastBackward.d.ts +1 -1
  359. package/lib/_internal/icons/FastForward.d.ts +1 -1
  360. package/lib/_internal/icons/File.d.ts +1 -1
  361. package/lib/_internal/icons/Filter.d.ts +1 -1
  362. package/lib/_internal/icons/Forward.d.ts +1 -1
  363. package/lib/_internal/icons/Info.d.ts +1 -1
  364. package/lib/_internal/icons/More.d.ts +1 -1
  365. package/lib/_internal/icons/Photo.d.ts +1 -1
  366. package/lib/_internal/icons/Remove.d.ts +1 -1
  367. package/lib/_internal/icons/ResizeSmall.d.ts +1 -1
  368. package/lib/_internal/icons/Retry.d.ts +1 -1
  369. package/lib/_internal/icons/RotateClockwise.d.ts +1 -1
  370. package/lib/_internal/icons/RotateCounterclockwise.d.ts +1 -1
  371. package/lib/_internal/icons/Search.d.ts +1 -1
  372. package/lib/_internal/icons/Success.d.ts +1 -1
  373. package/lib/_internal/icons/Switcher.d.ts +1 -1
  374. package/lib/_internal/icons/Time.d.ts +1 -1
  375. package/lib/_internal/icons/To.d.ts +1 -1
  376. package/lib/_internal/icons/Trash.d.ts +1 -1
  377. package/lib/_internal/icons/Warning.d.ts +1 -1
  378. package/lib/_internal/icons/ZoomIn.d.ts +1 -1
  379. package/lib/_internal/icons/ZoomOut.d.ts +1 -1
  380. package/lib/_internal/icons/replaceable.d.ts +1 -1
  381. package/lib/_internal/loading/src/Loading.d.ts +1 -1
  382. package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
  383. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
  384. package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -1
  385. package/lib/_internal/select-menu/src/SelectMenu.d.ts +1 -1
  386. package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -1
  387. package/lib/_internal/selection/src/Selection.d.ts +1 -1
  388. package/lib/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
  389. package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  390. package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
  391. package/lib/_internal/wave/src/Wave.d.ts +1 -1
  392. package/lib/_utils/vue/keysOf.d.ts +1 -1
  393. package/lib/_utils/vue/wrapper.d.ts +1 -1
  394. package/lib/affix/src/Affix.d.ts +1 -1
  395. package/lib/alert/src/Alert.d.ts +1 -1
  396. package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
  397. package/lib/anchor/src/BaseAnchor.d.ts +1 -1
  398. package/lib/anchor/src/Link.d.ts +1 -1
  399. package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
  400. package/lib/avatar/src/Avatar.d.ts +4 -1
  401. package/lib/avatar/src/Avatar.js +1 -1
  402. package/lib/avatar-group/src/AvatarGroup.d.ts +1 -1
  403. package/lib/back-top/src/BackTop.d.ts +1 -1
  404. package/lib/badge/src/Badge.d.ts +1 -1
  405. package/lib/breadcrumb/src/Breadcrumb.d.ts +1 -1
  406. package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
  407. package/lib/button/src/Button.d.ts +2 -2
  408. package/lib/button-group/src/ButtonGroup.d.ts +1 -1
  409. package/lib/calendar/src/Calendar.d.ts +1 -1
  410. package/lib/card/src/Card.d.ts +1 -1
  411. package/lib/carousel/src/Carousel.d.ts +1 -1
  412. package/lib/carousel/src/CarouselArrow.d.ts +1 -1
  413. package/lib/carousel/src/CarouselDots.d.ts +1 -1
  414. package/lib/carousel/src/CarouselItem.d.ts +1 -1
  415. package/lib/carousel/src/utils/index.js +1 -1
  416. package/lib/cascader/src/Cascader.d.ts +1 -1
  417. package/lib/cascader/src/CascaderMenu.d.ts +1 -1
  418. package/lib/cascader/src/CascaderOption.d.ts +1 -1
  419. package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -1
  420. package/lib/cascader/src/CascaderSubmenu.d.ts +1 -1
  421. package/lib/checkbox/src/Checkbox.d.ts +1 -1
  422. package/lib/checkbox/src/CheckboxGroup.d.ts +1 -1
  423. package/lib/code/src/Code.d.ts +1 -1
  424. package/lib/collapse/src/Collapse.d.ts +1 -1
  425. package/lib/collapse/src/CollapseItem.d.ts +1 -1
  426. package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
  427. package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
  428. package/lib/color-picker/src/AlphaSlider.d.ts +1 -1
  429. package/lib/color-picker/src/ColorInput.d.ts +1 -1
  430. package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
  431. package/lib/color-picker/src/ColorPicker.d.ts +1 -1
  432. package/lib/color-picker/src/ColorPickerSwatches.d.ts +1 -1
  433. package/lib/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  434. package/lib/color-picker/src/ColorPreview.d.ts +1 -1
  435. package/lib/color-picker/src/HueSlider.d.ts +1 -1
  436. package/lib/color-picker/src/Pallete.d.ts +1 -1
  437. package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
  438. package/lib/countdown/src/Countdown.d.ts +1 -1
  439. package/lib/data-table/index.d.ts +3 -3
  440. package/lib/data-table/index.js +2 -1
  441. package/lib/data-table/src/DataTable.d.ts +609 -2319
  442. package/lib/data-table/src/DataTable.js +3 -52
  443. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +89 -1
  444. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +90 -2
  445. package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
  446. package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
  447. package/lib/data-table/src/HeaderButton/SortButton.d.ts +1 -1
  448. package/lib/data-table/src/MainTable.d.ts +1 -1
  449. package/lib/data-table/src/TableParts/Body.d.ts +90 -1
  450. package/lib/data-table/src/TableParts/Body.js +28 -26
  451. package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +1 -1
  452. package/lib/data-table/src/TableParts/BodyRadio.d.ts +1 -1
  453. package/lib/data-table/src/TableParts/Cell.d.ts +177 -1
  454. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
  455. package/lib/data-table/src/TableParts/Header.d.ts +89 -1
  456. package/lib/data-table/src/TableParts/SelectionMenu.d.ts +1 -8
  457. package/lib/data-table/src/TableParts/SelectionMenu.js +12 -13
  458. package/lib/data-table/src/interface.d.ts +2444 -2
  459. package/lib/data-table/src/interface.js +55 -1
  460. package/lib/data-table/src/use-check.d.ts +1 -2
  461. package/lib/data-table/src/use-expand.d.ts +1 -2
  462. package/lib/data-table/src/use-group-header.d.ts +1 -2
  463. package/lib/data-table/src/use-scroll.d.ts +1 -2
  464. package/lib/data-table/src/use-sorter.d.ts +1 -2
  465. package/lib/data-table/src/use-sorter.js +1 -1
  466. package/lib/data-table/src/use-table-data.d.ts +1 -2
  467. package/lib/data-table/src/use-table-data.js +1 -1
  468. package/lib/data-table/styles/dark.js +3 -1
  469. package/lib/data-table/styles/light.d.ts +70 -0
  470. package/lib/data-table/styles/light.js +3 -1
  471. package/lib/date-picker/src/DatePicker.d.ts +1 -1
  472. package/lib/date-picker/src/DatePicker.js +3 -1
  473. package/lib/date-picker/src/panel/date.d.ts +7 -7
  474. package/lib/date-picker/src/panel/daterange.d.ts +1 -1
  475. package/lib/date-picker/src/panel/datetime.d.ts +7 -7
  476. package/lib/date-picker/src/panel/datetimerange.d.ts +1 -1
  477. package/lib/date-picker/src/panel/month.d.ts +7 -7
  478. package/lib/date-picker/src/panel/monthrange.d.ts +1 -1
  479. package/lib/date-picker/src/panel/monthrange.js +4 -2
  480. package/lib/date-picker/src/panel/panelHeader.d.ts +2 -2
  481. package/lib/date-picker/src/panel/use-calendar.d.ts +1 -1
  482. package/lib/descriptions/src/Descriptions.d.ts +1 -1
  483. package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
  484. package/lib/descriptions/src/utils.d.ts +1 -1
  485. package/lib/descriptions/src/utils.js +1 -1
  486. package/lib/dialog/src/Dialog.d.ts +1 -1
  487. package/lib/dialog/src/DialogEnvironment.d.ts +4 -1
  488. package/lib/dialog/src/DialogEnvironment.js +6 -2
  489. package/lib/dialog/src/DialogProvider.d.ts +4 -3
  490. package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
  491. package/lib/divider/src/Divider.d.ts +1 -1
  492. package/lib/drawer/src/Drawer.d.ts +1 -1
  493. package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
  494. package/lib/drawer/src/DrawerContent.d.ts +1 -1
  495. package/lib/dropdown/src/Dropdown.d.ts +1 -1
  496. package/lib/dropdown/src/Dropdown.js +21 -20
  497. package/lib/dropdown/src/DropdownDivider.d.ts +1 -1
  498. package/lib/dropdown/src/DropdownGroup.d.ts +1 -1
  499. package/lib/dropdown/src/DropdownGroup.js +4 -1
  500. package/lib/dropdown/src/DropdownGroupHeader.d.ts +1 -1
  501. package/lib/dropdown/src/DropdownMenu.d.ts +1 -1
  502. package/lib/dropdown/src/DropdownMenu.js +2 -0
  503. package/lib/dropdown/src/DropdownOption.d.ts +1 -1
  504. package/lib/dropdown/src/DropdownRenderOption.d.ts +1 -1
  505. package/lib/dynamic-input/src/DynamicInput.d.ts +1 -1
  506. package/lib/dynamic-input/src/InputPreset.d.ts +1 -1
  507. package/lib/dynamic-input/src/PairPreset.d.ts +1 -1
  508. package/lib/dynamic-tags/index.d.ts +1 -0
  509. package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
  510. package/lib/element/src/Element.d.ts +1 -1
  511. package/lib/ellipsis/src/Ellipsis.d.ts +1 -1
  512. package/lib/empty/src/Empty.d.ts +1 -1
  513. package/lib/form/src/Form.d.ts +1 -1
  514. package/lib/form/src/FormItem.d.ts +1 -1
  515. package/lib/form/src/FormItemCol.d.ts +1 -1
  516. package/lib/form/src/FormItemGridItem.d.ts +1 -1
  517. package/lib/form/src/FormItemRow.d.ts +1 -1
  518. package/lib/global-style/src/GlobalStyle.d.ts +1 -1
  519. package/lib/gradient-text/src/GradientText.d.ts +1 -1
  520. package/lib/grid/src/Grid.d.ts +1 -1
  521. package/lib/grid/src/GridItem.d.ts +1 -1
  522. package/lib/icon/src/Icon.d.ts +1 -1
  523. package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
  524. package/lib/image/src/Image.d.ts +1 -1
  525. package/lib/image/src/ImageGroup.d.ts +1 -1
  526. package/lib/image/src/ImagePreview.d.ts +1 -1
  527. package/lib/input/src/Input.d.ts +2 -2
  528. package/lib/input/src/InputGroup.d.ts +1 -1
  529. package/lib/input/src/InputGroupLabel.d.ts +1 -1
  530. package/lib/input/src/WordCount.d.ts +1 -1
  531. package/lib/input-number/src/InputNumber.d.ts +1 -1
  532. package/lib/layout/src/Layout.d.ts +2 -2
  533. package/lib/layout/src/LayoutContent.d.ts +1 -1
  534. package/lib/layout/src/LayoutFooter.d.ts +1 -1
  535. package/lib/layout/src/LayoutHeader.d.ts +1 -1
  536. package/lib/layout/src/LayoutSider.d.ts +1 -1
  537. package/lib/layout/src/ToggleBar.d.ts +1 -1
  538. package/lib/layout/src/ToggleButton.d.ts +1 -1
  539. package/lib/legacy-grid/src/Col.d.ts +1 -1
  540. package/lib/legacy-grid/src/Row.d.ts +1 -1
  541. package/lib/legacy-transfer/src/Transfer.d.ts +1 -1
  542. package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -1
  543. package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
  544. package/lib/legacy-transfer/src/TransferList.d.ts +1 -1
  545. package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -1
  546. package/lib/list/src/List.d.ts +1 -1
  547. package/lib/list/src/ListItem.d.ts +1 -1
  548. package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
  549. package/lib/loading-bar/src/LoadingBarProvider.d.ts +1 -1
  550. package/lib/log/src/Log.d.ts +1 -1
  551. package/lib/log/src/LogLine.d.ts +1 -1
  552. package/lib/log/src/LogLoader.d.ts +1 -1
  553. package/lib/mention/src/Mention.d.ts +1 -1
  554. package/lib/menu/src/Menu.d.ts +1 -1
  555. package/lib/menu/src/Menu.js +4 -1
  556. package/lib/menu/src/MenuDivider.d.ts +1 -1
  557. package/lib/menu/src/MenuOption.d.ts +1 -1
  558. package/lib/menu/src/MenuOption.js +1 -4
  559. package/lib/menu/src/MenuOptionContent.d.ts +1 -1
  560. package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
  561. package/lib/menu/src/Submenu.d.ts +1 -1
  562. package/lib/menu/src/interface.d.ts +1 -0
  563. package/lib/menu/src/utils.js +1 -1
  564. package/lib/message/src/Message.d.ts +1 -1
  565. package/lib/message/src/MessageEnvironment.d.ts +1 -1
  566. package/lib/message/src/MessageProvider.d.ts +1 -1
  567. package/lib/modal/src/BodyWrapper.d.ts +1 -1
  568. package/lib/modal/src/Modal.d.ts +1 -1
  569. package/lib/notification/src/Notification.d.ts +1 -1
  570. package/lib/notification/src/NotificationContainer.d.ts +1 -1
  571. package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
  572. package/lib/notification/src/NotificationProvider.d.ts +1 -1
  573. package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
  574. package/lib/page-header/src/PageHeader.d.ts +1 -1
  575. package/lib/pagination/src/Pagination.d.ts +1 -1
  576. package/lib/popconfirm/src/Popconfirm.d.ts +1 -1
  577. package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  578. package/lib/popover/src/Popover.d.ts +1 -1
  579. package/lib/popover/src/PopoverBody.d.ts +1 -1
  580. package/lib/popselect/src/Popselect.d.ts +1 -1
  581. package/lib/popselect/src/PopselectPanel.d.ts +1 -1
  582. package/lib/progress/src/Circle.d.ts +1 -1
  583. package/lib/progress/src/Circle.js +5 -3
  584. package/lib/progress/src/Line.d.ts +1 -1
  585. package/lib/progress/src/MultipleCircle.d.ts +1 -1
  586. package/lib/progress/src/Progress.d.ts +1 -1
  587. package/lib/radio/src/Radio.d.ts +1 -1
  588. package/lib/radio/src/RadioButton.d.ts +1 -1
  589. package/lib/radio/src/RadioGroup.d.ts +1 -1
  590. package/lib/rate/src/Rate.d.ts +1 -1
  591. package/lib/result/src/Result.d.ts +1 -1
  592. package/lib/scrollbar/src/Scrollbar.d.ts +1 -1
  593. package/lib/select/src/Select.d.ts +1 -1
  594. package/lib/skeleton/src/Skeleton.d.ts +1 -1
  595. package/lib/slider/src/Slider.d.ts +1 -1
  596. package/lib/space/src/Space.d.ts +1 -1
  597. package/lib/spin/src/Spin.d.ts +1 -1
  598. package/lib/statistic/src/Statistic.d.ts +1 -1
  599. package/lib/steps/src/Step.d.ts +1 -1
  600. package/lib/steps/src/Steps.d.ts +1 -1
  601. package/lib/switch/src/Switch.d.ts +1 -1
  602. package/lib/table/src/Table.d.ts +1 -1
  603. package/lib/table/src/Tbody.d.ts +1 -1
  604. package/lib/table/src/Td.d.ts +1 -1
  605. package/lib/table/src/Th.d.ts +1 -1
  606. package/lib/table/src/Thead.d.ts +1 -1
  607. package/lib/table/src/Tr.d.ts +1 -1
  608. package/lib/tabs/src/Tab.d.ts +1 -1
  609. package/lib/tabs/src/TabPane.d.ts +1 -1
  610. package/lib/tabs/src/Tabs.d.ts +2 -2
  611. package/lib/tabs/src/Tabs.js +28 -0
  612. package/lib/tag/src/Tag.d.ts +1 -1
  613. package/lib/theme-editor/src/MaximizeIcon.d.ts +1 -1
  614. package/lib/theme-editor/src/MinimizeIcon.d.ts +1 -1
  615. package/lib/theme-editor/src/ThemeEditor.d.ts +1 -1
  616. package/lib/thing/src/Thing.d.ts +1 -1
  617. package/lib/time/src/Time.d.ts +1 -1
  618. package/lib/time-picker/src/Panel.d.ts +1 -1
  619. package/lib/time-picker/src/PanelCol.d.ts +1 -1
  620. package/lib/time-picker/src/TimePicker.d.ts +1 -1
  621. package/lib/timeline/src/Timeline.d.ts +1 -1
  622. package/lib/timeline/src/TimelineItem.d.ts +1 -1
  623. package/lib/tooltip/src/Tooltip.d.ts +1 -1
  624. package/lib/transfer/src/Transfer.d.ts +1 -1
  625. package/lib/transfer/src/TransferFilter.d.ts +1 -1
  626. package/lib/transfer/src/TransferHeader.d.ts +1 -1
  627. package/lib/transfer/src/TransferList.d.ts +1 -1
  628. package/lib/transfer/src/TransferListItem.d.ts +1 -1
  629. package/lib/tree/src/MotionWrapper.d.ts +1 -1
  630. package/lib/tree/src/Tree.d.ts +1 -1
  631. package/lib/tree/src/Tree.js +41 -13
  632. package/lib/tree/src/TreeNode.d.ts +1 -1
  633. package/lib/tree/src/TreeNode.js +9 -4
  634. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -1
  635. package/lib/tree/src/TreeNodeContent.d.ts +1 -1
  636. package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
  637. package/lib/tree/src/interface.d.ts +1 -0
  638. package/lib/tree/src/utils.d.ts +2 -1
  639. package/lib/tree/src/utils.js +5 -1
  640. package/lib/tree-select/src/TreeSelect.d.ts +3 -3
  641. package/lib/typography/src/a.d.ts +1 -1
  642. package/lib/typography/src/blockquote.d.ts +1 -1
  643. package/lib/typography/src/create-header.d.ts +1 -1
  644. package/lib/typography/src/headers.d.ts +6 -6
  645. package/lib/typography/src/hr.d.ts +1 -1
  646. package/lib/typography/src/li.d.ts +1 -1
  647. package/lib/typography/src/ol.d.ts +1 -1
  648. package/lib/typography/src/p.d.ts +1 -1
  649. package/lib/typography/src/text.d.ts +1 -1
  650. package/lib/typography/src/ul.d.ts +1 -1
  651. package/lib/upload/src/Upload.d.ts +14 -11
  652. package/lib/upload/src/Upload.js +7 -2
  653. package/lib/upload/src/UploadDragger.d.ts +1 -1
  654. package/lib/upload/src/UploadFile.d.ts +1 -1
  655. package/lib/upload/src/UploadFileList.d.ts +1 -1
  656. package/lib/upload/src/UploadProgress.d.ts +1 -1
  657. package/lib/upload/src/UploadTrigger.d.ts +1 -1
  658. package/lib/version.d.ts +1 -1
  659. package/lib/version.js +1 -1
  660. package/lib/watermark/src/Watermark.d.ts +1 -1
  661. package/package.json +23 -24
  662. package/web-types.json +10230 -10356
@@ -3,7 +3,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.dataTableProps = void 0;
7
6
  const vue_1 = require("vue");
8
7
  const seemly_1 = require("seemly");
9
8
  const _mixins_1 = require("../../_mixins");
@@ -19,60 +18,10 @@ const interface_1 = require("./interface");
19
18
  const use_group_header_1 = require("./use-group-header");
20
19
  const use_expand_1 = require("./use-expand");
21
20
  const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
22
- exports.dataTableProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { pagination: {
23
- type: [Object, Boolean],
24
- default: false
25
- }, paginateSinglePage: {
26
- type: Boolean,
27
- default: true
28
- }, minHeight: [Number, String], maxHeight: [Number, String],
29
- // Use any type as row data to make prop data acceptable
30
- columns: {
31
- type: Array,
32
- default: () => []
33
- }, rowClassName: [String, Function], rowProps: Function, rowKey: Function, summary: [Function], data: {
34
- type: Array,
35
- default: () => []
36
- }, loading: Boolean, bordered: {
37
- type: Boolean,
38
- default: undefined
39
- }, bottomBordered: {
40
- type: Boolean,
41
- default: undefined
42
- }, striped: Boolean, scrollX: [Number, String], defaultCheckedRowKeys: {
43
- type: Array,
44
- default: () => []
45
- }, checkedRowKeys: Array, singleLine: {
46
- type: Boolean,
47
- default: true
48
- }, singleColumn: Boolean, size: {
49
- type: String,
50
- default: 'medium'
51
- }, remote: Boolean, defaultExpandedRowKeys: {
52
- type: Array,
53
- default: []
54
- }, defaultExpandAll: Boolean, expandedRowKeys: Array, stickyExpandedRows: Boolean, virtualScroll: Boolean, tableLayout: {
55
- type: String,
56
- default: 'auto'
57
- }, allowCheckingNotLoaded: Boolean, cascade: {
58
- type: Boolean,
59
- default: true
60
- }, childrenKey: {
61
- type: String,
62
- default: 'children'
63
- }, indent: {
64
- type: Number,
65
- default: 16
66
- }, flexHeight: Boolean, paginationBehaviorOnFilter: {
67
- type: String,
68
- default: 'current'
69
- }, renderCell: Function, renderExpandIcon: Function, onLoad: Function, 'onUpdate:page': [Function, Array], onUpdatePage: [Function, Array], 'onUpdate:pageSize': [Function, Array], onUpdatePageSize: [Function, Array], 'onUpdate:sorter': [Function, Array], onUpdateSorter: [Function, Array], 'onUpdate:filters': [Function, Array], onUpdateFilters: [Function, Array], 'onUpdate:checkedRowKeys': [Function, Array], onUpdateCheckedRowKeys: [Function, Array], 'onUpdate:expandedRowKeys': [Function, Array], onUpdateExpandedRowKeys: [Function, Array], onScroll: Function,
70
- // deprecated
71
- onPageChange: [Function, Array], onPageSizeChange: [Function, Array], onSorterChange: [Function, Array], onFiltersChange: [Function, Array], onCheckedRowKeysChange: [Function, Array] });
72
21
  exports.default = (0, vue_1.defineComponent)({
73
22
  name: 'DataTable',
74
23
  alias: ['AdvancedTable'],
75
- props: exports.dataTableProps,
24
+ props: interface_1.dataTableProps,
76
25
  setup(props, { slots }) {
77
26
  if (process.env.NODE_ENV !== 'production') {
78
27
  (0, vue_1.watchEffect)(() => {
@@ -139,6 +88,7 @@ exports.default = (0, vue_1.defineComponent)({
139
88
  return props.tableLayout;
140
89
  });
141
90
  (0, vue_1.provide)(interface_1.dataTableInjectionKey, {
91
+ props,
142
92
  renderExpandIconRef: (0, vue_1.toRef)(props, 'renderExpandIcon'),
143
93
  loadingKeySetRef: (0, vue_1.ref)(new Set()),
144
94
  slots,
@@ -202,6 +152,7 @@ exports.default = (0, vue_1.defineComponent)({
202
152
  flexHeightRef: (0, vue_1.toRef)(props, 'flexHeight'),
203
153
  headerCheckboxDisabledRef,
204
154
  paginationBehaviorOnFilterRef: (0, vue_1.toRef)(props, 'paginationBehaviorOnFilter'),
155
+ summaryPlacementRef: (0, vue_1.toRef)(props, 'summaryPlacement'),
205
156
  syncScrollState,
206
157
  doUpdatePage,
207
158
  doUpdateFilters,
@@ -823,6 +823,76 @@ declare const _default: import("vue").DefineComponent<{
823
823
  }, any>;
824
824
  }>;
825
825
  }>;
826
+ Dropdown: import("../../../_mixins").Theme<"Dropdown", {
827
+ optionHeightSmall: string;
828
+ optionHeightMedium: string;
829
+ optionHeightLarge: string;
830
+ optionHeightHuge: string;
831
+ borderRadius: string;
832
+ fontSizeSmall: string;
833
+ fontSizeMedium: string;
834
+ fontSizeLarge: string;
835
+ fontSizeHuge: string;
836
+ optionTextColor: string;
837
+ optionTextColorHover: string;
838
+ optionTextColorActive: string;
839
+ optionTextColorChildActive: string;
840
+ color: string;
841
+ dividerColor: string;
842
+ suffixColor: string;
843
+ prefixColor: string;
844
+ optionColorHover: string;
845
+ optionColorActive: string;
846
+ groupHeaderTextColor: string;
847
+ optionTextColorInverted: string;
848
+ optionTextColorHoverInverted: string;
849
+ optionTextColorActiveInverted: string;
850
+ optionTextColorChildActiveInverted: string;
851
+ colorInverted: string;
852
+ dividerColorInverted: string;
853
+ suffixColorInverted: string;
854
+ prefixColorInverted: string;
855
+ optionColorHoverInverted: string;
856
+ optionColorActiveInverted: string;
857
+ groupHeaderTextColorInverted: string;
858
+ optionOpacityDisabled: string;
859
+ padding: string;
860
+ optionIconSizeSmall: string;
861
+ optionIconSizeMedium: string;
862
+ optionIconSizeLarge: string;
863
+ optionIconSizeHuge: string;
864
+ optionSuffixWidthSmall: string;
865
+ optionSuffixWidthMedium: string;
866
+ optionSuffixWidthLarge: string;
867
+ optionSuffixWidthHuge: string;
868
+ optionIconSuffixWidthSmall: string;
869
+ optionIconSuffixWidthMedium: string;
870
+ optionIconSuffixWidthLarge: string;
871
+ optionIconSuffixWidthHuge: string;
872
+ optionPrefixWidthSmall: string;
873
+ optionPrefixWidthMedium: string;
874
+ optionPrefixWidthLarge: string;
875
+ optionPrefixWidthHuge: string;
876
+ optionIconPrefixWidthSmall: string;
877
+ optionIconPrefixWidthMedium: string;
878
+ optionIconPrefixWidthLarge: string;
879
+ optionIconPrefixWidthHuge: string;
880
+ }, {
881
+ Popover: import("../../../_mixins").Theme<"Popover", {
882
+ fontSize: string;
883
+ borderRadius: string;
884
+ color: string;
885
+ dividerColor: string;
886
+ textColor: string;
887
+ boxShadow: string;
888
+ space: string;
889
+ spaceArrow: string;
890
+ arrowOffset: string;
891
+ arrowOffsetVertical: string;
892
+ arrowHeight: string;
893
+ padding: string;
894
+ }, any>;
895
+ }>;
826
896
  };
827
897
  peerOverrides: {
828
898
  Button?: {
@@ -1143,6 +1213,24 @@ declare const _default: import("vue").DefineComponent<{
1143
1213
  }>> | undefined;
1144
1214
  } | undefined;
1145
1215
  } | undefined;
1216
+ Dropdown?: {
1217
+ peers?: {
1218
+ Popover?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Popover", {
1219
+ fontSize: string;
1220
+ borderRadius: string;
1221
+ color: string;
1222
+ dividerColor: string;
1223
+ textColor: string;
1224
+ boxShadow: string;
1225
+ space: string;
1226
+ spaceArrow: string;
1227
+ arrowOffset: string;
1228
+ arrowOffsetVertical: string;
1229
+ arrowHeight: string;
1230
+ padding: string;
1231
+ }, any>> | undefined;
1232
+ } | undefined;
1233
+ } | undefined;
1146
1234
  };
1147
1235
  }>;
1148
1236
  mergedClsPrefix: import("vue").Ref<string>;
@@ -1155,7 +1243,7 @@ declare const _default: import("vue").DefineComponent<{
1155
1243
  handleFilterChange: (mergedFilterValue: FilterOptionValue | FilterOptionValue[] | null) => void;
1156
1244
  handleFilterMenuConfirm: () => void;
1157
1245
  handleFilterMenuCancel: () => void;
1158
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1246
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1159
1247
  column: {
1160
1248
  type: PropType<TableBaseColumn<import("../interface").InternalRowData>>;
1161
1249
  required: true;
@@ -173,7 +173,7 @@ declare const _default: import("vue").DefineComponent<{
173
173
  thColorHoverPopover: string;
174
174
  tdColorPopover: string;
175
175
  boxShadowBefore: string;
176
- boxShadowAfter: string; /** this branch is for compatibility */
176
+ boxShadowAfter: string;
177
177
  loadingColor: string;
178
178
  loadingSize: string;
179
179
  opacityLoading: string;
@@ -848,6 +848,76 @@ declare const _default: import("vue").DefineComponent<{
848
848
  }, any>;
849
849
  }>;
850
850
  }>;
851
+ Dropdown: import("../../../_mixins").Theme<"Dropdown", {
852
+ optionHeightSmall: string;
853
+ optionHeightMedium: string;
854
+ optionHeightLarge: string;
855
+ optionHeightHuge: string;
856
+ borderRadius: string;
857
+ fontSizeSmall: string;
858
+ fontSizeMedium: string;
859
+ fontSizeLarge: string;
860
+ fontSizeHuge: string;
861
+ optionTextColor: string;
862
+ optionTextColorHover: string;
863
+ optionTextColorActive: string;
864
+ optionTextColorChildActive: string;
865
+ color: string;
866
+ dividerColor: string;
867
+ suffixColor: string;
868
+ prefixColor: string;
869
+ optionColorHover: string;
870
+ optionColorActive: string;
871
+ groupHeaderTextColor: string;
872
+ optionTextColorInverted: string;
873
+ optionTextColorHoverInverted: string;
874
+ optionTextColorActiveInverted: string;
875
+ optionTextColorChildActiveInverted: string;
876
+ colorInverted: string;
877
+ dividerColorInverted: string;
878
+ suffixColorInverted: string;
879
+ prefixColorInverted: string;
880
+ optionColorHoverInverted: string;
881
+ optionColorActiveInverted: string;
882
+ groupHeaderTextColorInverted: string;
883
+ optionOpacityDisabled: string;
884
+ padding: string;
885
+ optionIconSizeSmall: string;
886
+ optionIconSizeMedium: string;
887
+ optionIconSizeLarge: string;
888
+ optionIconSizeHuge: string;
889
+ optionSuffixWidthSmall: string;
890
+ optionSuffixWidthMedium: string;
891
+ optionSuffixWidthLarge: string;
892
+ optionSuffixWidthHuge: string;
893
+ optionIconSuffixWidthSmall: string;
894
+ optionIconSuffixWidthMedium: string;
895
+ optionIconSuffixWidthLarge: string;
896
+ optionIconSuffixWidthHuge: string;
897
+ optionPrefixWidthSmall: string;
898
+ optionPrefixWidthMedium: string;
899
+ optionPrefixWidthLarge: string;
900
+ optionPrefixWidthHuge: string;
901
+ optionIconPrefixWidthSmall: string;
902
+ optionIconPrefixWidthMedium: string;
903
+ optionIconPrefixWidthLarge: string;
904
+ optionIconPrefixWidthHuge: string;
905
+ }, {
906
+ Popover: import("../../../_mixins").Theme<"Popover", {
907
+ fontSize: string;
908
+ borderRadius: string;
909
+ color: string;
910
+ dividerColor: string;
911
+ textColor: string;
912
+ boxShadow: string;
913
+ space: string;
914
+ spaceArrow: string;
915
+ arrowOffset: string;
916
+ arrowOffsetVertical: string;
917
+ arrowHeight: string;
918
+ padding: string;
919
+ }, any>;
920
+ }>;
851
921
  };
852
922
  peerOverrides: {
853
923
  Button?: {
@@ -1168,6 +1238,24 @@ declare const _default: import("vue").DefineComponent<{
1168
1238
  }>> | undefined;
1169
1239
  } | undefined;
1170
1240
  } | undefined;
1241
+ Dropdown?: {
1242
+ peers?: {
1243
+ Popover?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Popover", {
1244
+ fontSize: string;
1245
+ borderRadius: string;
1246
+ color: string;
1247
+ dividerColor: string;
1248
+ textColor: string;
1249
+ boxShadow: string;
1250
+ space: string;
1251
+ spaceArrow: string;
1252
+ arrowOffset: string;
1253
+ arrowOffsetVertical: string;
1254
+ arrowHeight: string;
1255
+ padding: string;
1256
+ }, any>> | undefined;
1257
+ } | undefined;
1258
+ } | undefined;
1171
1259
  };
1172
1260
  }>;
1173
1261
  locale: import("vue").Ref<{
@@ -1181,7 +1269,7 @@ declare const _default: import("vue").DefineComponent<{
1181
1269
  handleChange: (value: FilterOptionValue | FilterOptionValue[]) => void;
1182
1270
  handleConfirmClick: () => void;
1183
1271
  handleClearClick: () => void;
1184
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1272
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1185
1273
  column: {
1186
1274
  type: PropType<TableBaseColumn<import("../interface").InternalRowData>>;
1187
1275
  required: true;
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  type: BooleanConstructor;
14
14
  default: boolean;
15
15
  };
16
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  render: {
18
18
  type: PropType<RenderFilter>;
19
19
  required: true;
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
9
9
  type: PropType<SortOrder>;
10
10
  default: boolean;
11
11
  };
12
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  render: {
14
14
  type: PropType<RenderSorter>;
15
15
  required: true;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
10
10
  active: import("vue").ComputedRef<boolean>;
11
11
  mergedSortOrder: import("vue").ComputedRef<import("../interface").SortOrder>;
12
12
  mergedRenderSorter: import("vue").ComputedRef<import("../interface").RenderSorter | undefined>;
13
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
14
  column: {
15
15
  type: PropType<TableBaseColumn<import("../interface").InternalRowData>>;
16
16
  required: true;
@@ -18,5 +18,5 @@ declare const _default: import("vue").DefineComponent<{}, {
18
18
  }>;
19
19
  flexHeight: import("vue").Ref<boolean>;
20
20
  handleBodyResize: (entry: ResizeObserverEntry) => void;
21
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
21
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
22
22
  export default _default;
@@ -10,6 +10,7 @@ declare const _default: import("vue").DefineComponent<{
10
10
  getScrollContainer: () => HTMLElement | null;
11
11
  scrollTo: import("../../../scrollbar/src/Scrollbar").ScrollTo;
12
12
  bodyWidth: import("vue").Ref<number | null>;
13
+ summaryPlacement: import("vue").Ref<"bottom" | "top">;
13
14
  dataTableSlots: Readonly<{
14
15
  [name: string]: import("vue").Slot | undefined;
15
16
  }>;
@@ -847,6 +848,76 @@ declare const _default: import("vue").DefineComponent<{
847
848
  }, any>;
848
849
  }>;
849
850
  }>;
851
+ Dropdown: import("../../../_mixins").Theme<"Dropdown", {
852
+ optionHeightSmall: string;
853
+ optionHeightMedium: string;
854
+ optionHeightLarge: string;
855
+ optionHeightHuge: string;
856
+ borderRadius: string;
857
+ fontSizeSmall: string;
858
+ fontSizeMedium: string;
859
+ fontSizeLarge: string;
860
+ fontSizeHuge: string;
861
+ optionTextColor: string;
862
+ optionTextColorHover: string;
863
+ optionTextColorActive: string;
864
+ optionTextColorChildActive: string;
865
+ color: string;
866
+ dividerColor: string;
867
+ suffixColor: string;
868
+ prefixColor: string;
869
+ optionColorHover: string;
870
+ optionColorActive: string;
871
+ groupHeaderTextColor: string;
872
+ optionTextColorInverted: string;
873
+ optionTextColorHoverInverted: string;
874
+ optionTextColorActiveInverted: string;
875
+ optionTextColorChildActiveInverted: string;
876
+ colorInverted: string;
877
+ dividerColorInverted: string;
878
+ suffixColorInverted: string;
879
+ prefixColorInverted: string;
880
+ optionColorHoverInverted: string;
881
+ optionColorActiveInverted: string;
882
+ groupHeaderTextColorInverted: string;
883
+ optionOpacityDisabled: string;
884
+ padding: string;
885
+ optionIconSizeSmall: string;
886
+ optionIconSizeMedium: string;
887
+ optionIconSizeLarge: string;
888
+ optionIconSizeHuge: string;
889
+ optionSuffixWidthSmall: string;
890
+ optionSuffixWidthMedium: string;
891
+ optionSuffixWidthLarge: string;
892
+ optionSuffixWidthHuge: string;
893
+ optionIconSuffixWidthSmall: string;
894
+ optionIconSuffixWidthMedium: string;
895
+ optionIconSuffixWidthLarge: string;
896
+ optionIconSuffixWidthHuge: string;
897
+ optionPrefixWidthSmall: string;
898
+ optionPrefixWidthMedium: string;
899
+ optionPrefixWidthLarge: string;
900
+ optionPrefixWidthHuge: string;
901
+ optionIconPrefixWidthSmall: string;
902
+ optionIconPrefixWidthMedium: string;
903
+ optionIconPrefixWidthLarge: string;
904
+ optionIconPrefixWidthHuge: string;
905
+ }, {
906
+ Popover: import("../../../_mixins").Theme<"Popover", {
907
+ fontSize: string;
908
+ borderRadius: string;
909
+ color: string;
910
+ dividerColor: string;
911
+ textColor: string;
912
+ boxShadow: string;
913
+ space: string;
914
+ spaceArrow: string;
915
+ arrowOffset: string;
916
+ arrowOffsetVertical: string;
917
+ arrowHeight: string;
918
+ padding: string;
919
+ }, any>;
920
+ }>;
850
921
  };
851
922
  peerOverrides: {
852
923
  Button?: {
@@ -1167,6 +1238,24 @@ declare const _default: import("vue").DefineComponent<{
1167
1238
  }>> | undefined;
1168
1239
  } | undefined;
1169
1240
  } | undefined;
1241
+ Dropdown?: {
1242
+ peers?: {
1243
+ Popover?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Popover", {
1244
+ fontSize: string;
1245
+ borderRadius: string;
1246
+ color: string;
1247
+ dividerColor: string;
1248
+ textColor: string;
1249
+ boxShadow: string;
1250
+ space: string;
1251
+ spaceArrow: string;
1252
+ arrowOffset: string;
1253
+ arrowOffsetVertical: string;
1254
+ arrowHeight: string;
1255
+ padding: string;
1256
+ }, any>> | undefined;
1257
+ } | undefined;
1258
+ } | undefined;
1170
1259
  };
1171
1260
  }>;
1172
1261
  scrollX: import("vue").Ref<string | number | undefined>;
@@ -1225,7 +1314,7 @@ declare const _default: import("vue").DefineComponent<{
1225
1314
  }) => void;
1226
1315
  handleUpdateExpanded: (key: RowKey, tmNode: TmNode | null) => void;
1227
1316
  renderCell: import("vue").Ref<((value: any, rowData: object, column: import("../interface").TableBaseColumn<import("../interface").InternalRowData>) => import("vue").VNodeChild) | undefined>;
1228
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1317
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1229
1318
  onResize: PropType<(e: ResizeObserverEntry) => void>;
1230
1319
  showHeader: BooleanConstructor;
1231
1320
  flexHeight: BooleanConstructor;
@@ -85,7 +85,7 @@ exports.default = (0, vue_1.defineComponent)({
85
85
  bodyStyle: Object
86
86
  },
87
87
  setup(props) {
88
- const { slots: dataTableSlots, bodyWidthRef, mergedExpandedRowKeysRef, mergedClsPrefixRef, mergedThemeRef, scrollXRef, colsRef, paginatedDataRef, rawPaginatedDataRef, fixedColumnLeftMapRef, fixedColumnRightMapRef, mergedCurrentPageRef, rowClassNameRef, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, renderExpandRef, hoverKeyRef, summaryRef, mergedSortStateRef, virtualScrollRef, componentId, scrollPartRef, mergedTableLayoutRef, childTriggerColIndexRef, indentRef, rowPropsRef, maxHeightRef, stripedRef, loadingRef, onLoadRef, loadingKeySetRef, expandableRef, stickyExpandedRowsRef, renderExpandIconRef, setHeaderScrollLeft, doUpdateExpandedRowKeys, handleTableBodyScroll, doCheck, doUncheck, renderCell
88
+ const { slots: dataTableSlots, bodyWidthRef, mergedExpandedRowKeysRef, mergedClsPrefixRef, mergedThemeRef, scrollXRef, colsRef, paginatedDataRef, rawPaginatedDataRef, fixedColumnLeftMapRef, fixedColumnRightMapRef, mergedCurrentPageRef, rowClassNameRef, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, renderExpandRef, hoverKeyRef, summaryRef, mergedSortStateRef, virtualScrollRef, componentId, scrollPartRef, mergedTableLayoutRef, childTriggerColIndexRef, indentRef, rowPropsRef, maxHeightRef, stripedRef, loadingRef, onLoadRef, loadingKeySetRef, expandableRef, stickyExpandedRowsRef, renderExpandIconRef, summaryPlacementRef, setHeaderScrollLeft, doUpdateExpandedRowKeys, handleTableBodyScroll, doCheck, doUncheck, renderCell
89
89
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
90
90
  } = (0, vue_1.inject)(interface_1.dataTableInjectionKey);
91
91
  const scrollbarInstRef = (0, vue_1.ref)(null);
@@ -280,7 +280,7 @@ exports.default = (0, vue_1.defineComponent)({
280
280
  id: `n-${componentId}`
281
281
  });
282
282
  });
283
- return Object.assign({ bodyWidth: bodyWidthRef, dataTableSlots,
283
+ return Object.assign({ bodyWidth: bodyWidthRef, summaryPlacement: summaryPlacementRef, dataTableSlots,
284
284
  componentId,
285
285
  scrollbarInstRef,
286
286
  virtualListRef,
@@ -356,32 +356,34 @@ exports.default = (0, vue_1.defineComponent)({
356
356
  if (summary) {
357
357
  const summaryRows = summary(this.rawPaginatedData);
358
358
  if (Array.isArray(summaryRows)) {
359
- mergedData = [
360
- ...mergedPaginationData,
361
- ...summaryRows.map((row, i) => ({
362
- isSummaryRow: true,
363
- key: `__n_summary__${i}`,
364
- tmNode: {
365
- rawNode: row,
366
- disabled: true
367
- },
368
- index: -1
369
- }))
370
- ];
359
+ const summaryRowData = summaryRows.map((row, i) => ({
360
+ isSummaryRow: true,
361
+ key: `__n_summary__${i}`,
362
+ tmNode: {
363
+ rawNode: row,
364
+ disabled: true
365
+ },
366
+ index: -1
367
+ }));
368
+ mergedData =
369
+ this.summaryPlacement === 'top'
370
+ ? [...summaryRowData, ...mergedPaginationData]
371
+ : [...mergedPaginationData, ...summaryRowData];
371
372
  }
372
373
  else {
373
- mergedData = [
374
- ...mergedPaginationData,
375
- {
376
- isSummaryRow: true,
377
- key: '__n_summary__',
378
- tmNode: {
379
- rawNode: summaryRows,
380
- disabled: true
381
- },
382
- index: -1
383
- }
384
- ];
374
+ const summaryRowData = {
375
+ isSummaryRow: true,
376
+ key: '__n_summary__',
377
+ tmNode: {
378
+ rawNode: summaryRows,
379
+ disabled: true
380
+ },
381
+ index: -1
382
+ };
383
+ mergedData =
384
+ this.summaryPlacement === 'top'
385
+ ? [summaryRowData, ...mergedPaginationData]
386
+ : [...mergedPaginationData, summaryRowData];
385
387
  }
386
388
  }
387
389
  else {
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  type: PropType<(checked: boolean, e: MouseEvent | KeyboardEvent) => void>;
14
14
  required: true;
15
15
  };
16
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  rowKey: {
18
18
  type: PropType<RowKey>;
19
19
  required: true;
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  type: PropType<(checked: boolean) => void>;
14
14
  required: true;
15
15
  };
16
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  rowKey: {
18
18
  type: PropType<RowKey>;
19
19
  required: true;