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.
- package/dist/index.js +1567 -1720
- package/dist/index.prod.js +2 -2
- package/es/_internal/clear/src/Clear.d.ts +1 -1
- package/es/_internal/close/src/Close.d.ts +1 -1
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/es/_internal/icon/src/Icon.d.ts +1 -1
- package/es/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
- package/es/_internal/icons/Add.d.ts +1 -1
- package/es/_internal/icons/ArrowBack.d.ts +1 -1
- package/es/_internal/icons/ArrowDown.d.ts +1 -1
- package/es/_internal/icons/ArrowUp.d.ts +1 -1
- package/es/_internal/icons/Attach.d.ts +1 -1
- package/es/_internal/icons/Backward.d.ts +1 -1
- package/es/_internal/icons/Cancel.d.ts +1 -1
- package/es/_internal/icons/Checkmark.d.ts +1 -1
- package/es/_internal/icons/ChevronDown.d.ts +1 -1
- package/es/_internal/icons/ChevronDownFilled.d.ts +1 -1
- package/es/_internal/icons/ChevronLeft.d.ts +1 -1
- package/es/_internal/icons/ChevronRight.d.ts +1 -1
- package/es/_internal/icons/Clear.d.ts +1 -1
- package/es/_internal/icons/Close.d.ts +1 -1
- package/es/_internal/icons/Date.d.ts +1 -1
- package/es/_internal/icons/Download.d.ts +1 -1
- package/es/_internal/icons/Empty.d.ts +1 -1
- package/es/_internal/icons/Error.d.ts +1 -1
- package/es/_internal/icons/Eye.d.ts +1 -1
- package/es/_internal/icons/EyeOff.d.ts +1 -1
- package/es/_internal/icons/FastBackward.d.ts +1 -1
- package/es/_internal/icons/FastForward.d.ts +1 -1
- package/es/_internal/icons/File.d.ts +1 -1
- package/es/_internal/icons/Filter.d.ts +1 -1
- package/es/_internal/icons/Forward.d.ts +1 -1
- package/es/_internal/icons/Info.d.ts +1 -1
- package/es/_internal/icons/More.d.ts +1 -1
- package/es/_internal/icons/Photo.d.ts +1 -1
- package/es/_internal/icons/Remove.d.ts +1 -1
- package/es/_internal/icons/ResizeSmall.d.ts +1 -1
- package/es/_internal/icons/Retry.d.ts +1 -1
- package/es/_internal/icons/RotateClockwise.d.ts +1 -1
- package/es/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/es/_internal/icons/Search.d.ts +1 -1
- package/es/_internal/icons/Success.d.ts +1 -1
- package/es/_internal/icons/Switcher.d.ts +1 -1
- package/es/_internal/icons/Time.d.ts +1 -1
- package/es/_internal/icons/To.d.ts +1 -1
- package/es/_internal/icons/Trash.d.ts +1 -1
- package/es/_internal/icons/Warning.d.ts +1 -1
- package/es/_internal/icons/ZoomIn.d.ts +1 -1
- package/es/_internal/icons/ZoomOut.d.ts +1 -1
- package/es/_internal/icons/replaceable.d.ts +1 -1
- package/es/_internal/loading/src/Loading.d.ts +1 -1
- package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectMenu.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectOption.d.ts +1 -1
- package/es/_internal/selection/src/Selection.d.ts +1 -1
- package/es/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/es/_internal/suffix/src/Suffix.d.ts +1 -1
- package/es/_internal/wave/src/Wave.d.ts +1 -1
- package/es/_utils/vue/keysOf.d.ts +1 -1
- package/es/_utils/vue/wrapper.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +1 -1
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.d.ts +1 -1
- package/es/anchor/src/Link.d.ts +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +1 -1
- package/es/avatar/src/Avatar.d.ts +4 -1
- package/es/avatar/src/Avatar.js +1 -1
- package/es/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/badge/src/Badge.d.ts +1 -1
- package/es/breadcrumb/src/Breadcrumb.d.ts +1 -1
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/es/button/src/Button.d.ts +2 -2
- package/es/button-group/src/ButtonGroup.d.ts +1 -1
- package/es/calendar/src/Calendar.d.ts +1 -1
- package/es/card/src/Card.d.ts +1 -1
- package/es/carousel/src/Carousel.d.ts +1 -1
- package/es/carousel/src/CarouselArrow.d.ts +1 -1
- package/es/carousel/src/CarouselDots.d.ts +1 -1
- package/es/carousel/src/CarouselItem.d.ts +1 -1
- package/es/carousel/src/utils/index.js +1 -1
- package/es/cascader/src/Cascader.d.ts +1 -1
- package/es/cascader/src/CascaderMenu.d.ts +1 -1
- package/es/cascader/src/CascaderOption.d.ts +1 -1
- package/es/cascader/src/CascaderSelectMenu.d.ts +1 -1
- package/es/cascader/src/CascaderSubmenu.d.ts +1 -1
- package/es/checkbox/src/Checkbox.d.ts +1 -1
- package/es/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/es/code/src/Code.d.ts +1 -1
- package/es/collapse/src/Collapse.d.ts +1 -1
- package/es/collapse/src/CollapseItem.d.ts +1 -1
- package/es/collapse/src/CollapseItemContent.d.ts +1 -1
- package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/es/color-picker/src/AlphaSlider.d.ts +1 -1
- package/es/color-picker/src/ColorInput.d.ts +1 -1
- package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +1 -1
- package/es/color-picker/src/ColorPickerSwatches.d.ts +1 -1
- package/es/color-picker/src/ColorPickerTrigger.d.ts +1 -1
- package/es/color-picker/src/ColorPreview.d.ts +1 -1
- package/es/color-picker/src/HueSlider.d.ts +1 -1
- package/es/color-picker/src/Pallete.d.ts +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +1 -1
- package/es/countdown/src/Countdown.d.ts +1 -1
- package/es/data-table/index.d.ts +3 -3
- package/es/data-table/index.js +2 -1
- package/es/data-table/src/DataTable.d.ts +609 -2319
- package/es/data-table/src/DataTable.js +3 -51
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +89 -1
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +90 -2
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
- package/es/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
- package/es/data-table/src/HeaderButton/SortButton.d.ts +1 -1
- package/es/data-table/src/MainTable.d.ts +1 -1
- package/es/data-table/src/TableParts/Body.d.ts +90 -1
- package/es/data-table/src/TableParts/Body.js +28 -26
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +1 -1
- package/es/data-table/src/TableParts/BodyRadio.d.ts +1 -1
- package/es/data-table/src/TableParts/Cell.d.ts +177 -1
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
- package/es/data-table/src/TableParts/Header.d.ts +89 -1
- package/es/data-table/src/TableParts/SelectionMenu.d.ts +1 -8
- package/es/data-table/src/TableParts/SelectionMenu.js +12 -13
- package/es/data-table/src/interface.d.ts +2444 -2
- package/es/data-table/src/interface.js +54 -0
- package/es/data-table/src/use-check.d.ts +1 -2
- package/es/data-table/src/use-expand.d.ts +1 -2
- package/es/data-table/src/use-group-header.d.ts +1 -2
- package/es/data-table/src/use-scroll.d.ts +1 -2
- package/es/data-table/src/use-sorter.d.ts +1 -2
- package/es/data-table/src/use-sorter.js +1 -1
- package/es/data-table/src/use-table-data.d.ts +1 -2
- package/es/data-table/src/use-table-data.js +1 -1
- package/es/data-table/styles/dark.js +3 -1
- package/es/data-table/styles/light.d.ts +70 -0
- package/es/data-table/styles/light.js +3 -1
- package/es/date-picker/src/DatePicker.d.ts +1 -1
- package/es/date-picker/src/DatePicker.js +3 -1
- package/es/date-picker/src/panel/date.d.ts +7 -7
- package/es/date-picker/src/panel/daterange.d.ts +1 -1
- package/es/date-picker/src/panel/datetime.d.ts +7 -7
- package/es/date-picker/src/panel/datetimerange.d.ts +1 -1
- package/es/date-picker/src/panel/month.d.ts +7 -7
- package/es/date-picker/src/panel/monthrange.d.ts +1 -1
- package/es/date-picker/src/panel/monthrange.js +4 -2
- package/es/date-picker/src/panel/panelHeader.d.ts +2 -2
- package/es/date-picker/src/panel/use-calendar.d.ts +1 -1
- package/es/descriptions/src/Descriptions.d.ts +1 -1
- package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/es/descriptions/src/utils.d.ts +1 -1
- package/es/descriptions/src/utils.js +1 -1
- package/es/dialog/src/Dialog.d.ts +1 -1
- package/es/dialog/src/DialogEnvironment.d.ts +4 -1
- package/es/dialog/src/DialogEnvironment.js +6 -2
- package/es/dialog/src/DialogProvider.d.ts +4 -3
- package/es/discrete/src/InjectionExtractor.d.ts +1 -1
- package/es/divider/src/Divider.d.ts +1 -1
- package/es/drawer/src/Drawer.d.ts +1 -1
- package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/es/drawer/src/DrawerContent.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +1 -1
- package/es/dropdown/src/Dropdown.js +21 -20
- package/es/dropdown/src/DropdownDivider.d.ts +1 -1
- package/es/dropdown/src/DropdownGroup.d.ts +1 -1
- package/es/dropdown/src/DropdownGroup.js +4 -1
- package/es/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/es/dropdown/src/DropdownMenu.d.ts +1 -1
- package/es/dropdown/src/DropdownMenu.js +2 -0
- package/es/dropdown/src/DropdownOption.d.ts +1 -1
- package/es/dropdown/src/DropdownRenderOption.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/es/dynamic-input/src/InputPreset.d.ts +1 -1
- package/es/dynamic-input/src/PairPreset.d.ts +1 -1
- package/es/dynamic-tags/index.d.ts +1 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/es/element/src/Element.d.ts +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +1 -1
- package/es/form/src/Form.d.ts +1 -1
- package/es/form/src/FormItem.d.ts +1 -1
- package/es/form/src/FormItemCol.d.ts +1 -1
- package/es/form/src/FormItemGridItem.d.ts +1 -1
- package/es/form/src/FormItemRow.d.ts +1 -1
- package/es/global-style/src/GlobalStyle.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +1 -1
- package/es/grid/src/Grid.d.ts +1 -1
- package/es/grid/src/GridItem.d.ts +1 -1
- package/es/icon/src/Icon.d.ts +1 -1
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/es/image/src/Image.d.ts +1 -1
- package/es/image/src/ImageGroup.d.ts +1 -1
- package/es/image/src/ImagePreview.d.ts +1 -1
- package/es/input/src/Input.d.ts +2 -2
- package/es/input/src/InputGroup.d.ts +1 -1
- package/es/input/src/InputGroupLabel.d.ts +1 -1
- package/es/input/src/WordCount.d.ts +1 -1
- package/es/input-number/src/InputNumber.d.ts +1 -1
- package/es/layout/src/Layout.d.ts +2 -2
- package/es/layout/src/LayoutContent.d.ts +1 -1
- package/es/layout/src/LayoutFooter.d.ts +1 -1
- package/es/layout/src/LayoutHeader.d.ts +1 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/layout/src/ToggleBar.d.ts +1 -1
- package/es/layout/src/ToggleButton.d.ts +1 -1
- package/es/legacy-grid/src/Col.d.ts +1 -1
- package/es/legacy-grid/src/Row.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +1 -1
- package/es/legacy-transfer/src/TransferFilter.d.ts +1 -1
- package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/es/legacy-transfer/src/TransferList.d.ts +1 -1
- package/es/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/es/list/src/List.d.ts +1 -1
- package/es/list/src/ListItem.d.ts +1 -1
- package/es/loading-bar/src/LoadingBar.d.ts +1 -1
- package/es/loading-bar/src/LoadingBarProvider.d.ts +1 -1
- package/es/log/src/Log.d.ts +1 -1
- package/es/log/src/LogLine.d.ts +1 -1
- package/es/log/src/LogLoader.d.ts +1 -1
- package/es/mention/src/Mention.d.ts +1 -1
- package/es/menu/src/Menu.d.ts +1 -1
- package/es/menu/src/Menu.js +5 -2
- package/es/menu/src/MenuDivider.d.ts +1 -1
- package/es/menu/src/MenuOption.d.ts +1 -1
- package/es/menu/src/MenuOption.js +1 -4
- package/es/menu/src/MenuOptionContent.d.ts +1 -1
- package/es/menu/src/MenuOptionGroup.d.ts +1 -1
- package/es/menu/src/Submenu.d.ts +1 -1
- package/es/menu/src/interface.d.ts +1 -0
- package/es/menu/src/utils.js +1 -1
- package/es/message/src/Message.d.ts +1 -1
- package/es/message/src/MessageEnvironment.d.ts +1 -1
- package/es/message/src/MessageProvider.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +1 -1
- package/es/modal/src/Modal.d.ts +1 -1
- package/es/notification/src/Notification.d.ts +1 -1
- package/es/notification/src/NotificationContainer.d.ts +1 -1
- package/es/notification/src/NotificationEnvironment.d.ts +1 -1
- package/es/notification/src/NotificationProvider.d.ts +1 -1
- package/es/number-animation/src/NumberAnimation.d.ts +1 -1
- package/es/page-header/src/PageHeader.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +1 -1
- package/es/popconfirm/src/Popconfirm.d.ts +1 -1
- package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/es/popover/src/Popover.d.ts +1 -1
- package/es/popover/src/PopoverBody.d.ts +1 -1
- package/es/popselect/src/Popselect.d.ts +1 -1
- package/es/popselect/src/PopselectPanel.d.ts +1 -1
- package/es/progress/src/Circle.d.ts +1 -1
- package/es/progress/src/Circle.js +5 -3
- package/es/progress/src/Line.d.ts +1 -1
- package/es/progress/src/MultipleCircle.d.ts +1 -1
- package/es/progress/src/Progress.d.ts +1 -1
- package/es/radio/src/Radio.d.ts +1 -1
- package/es/radio/src/RadioButton.d.ts +1 -1
- package/es/radio/src/RadioGroup.d.ts +1 -1
- package/es/rate/src/Rate.d.ts +1 -1
- package/es/result/src/Result.d.ts +1 -1
- package/es/scrollbar/src/Scrollbar.d.ts +1 -1
- package/es/select/src/Select.d.ts +1 -1
- package/es/skeleton/src/Skeleton.d.ts +1 -1
- package/es/slider/src/Slider.d.ts +1 -1
- package/es/space/src/Space.d.ts +1 -1
- package/es/spin/src/Spin.d.ts +1 -1
- package/es/statistic/src/Statistic.d.ts +1 -1
- package/es/steps/src/Step.d.ts +1 -1
- package/es/steps/src/Steps.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +1 -1
- package/es/table/src/Table.d.ts +1 -1
- package/es/table/src/Tbody.d.ts +1 -1
- package/es/table/src/Td.d.ts +1 -1
- package/es/table/src/Th.d.ts +1 -1
- package/es/table/src/Thead.d.ts +1 -1
- package/es/table/src/Tr.d.ts +1 -1
- package/es/tabs/src/Tab.d.ts +1 -1
- package/es/tabs/src/TabPane.d.ts +1 -1
- package/es/tabs/src/Tabs.d.ts +2 -2
- package/es/tabs/src/Tabs.js +28 -0
- package/es/tag/src/Tag.d.ts +1 -1
- package/es/theme-editor/src/MaximizeIcon.d.ts +1 -1
- package/es/theme-editor/src/MinimizeIcon.d.ts +1 -1
- package/es/theme-editor/src/ThemeEditor.d.ts +1 -1
- package/es/thing/src/Thing.d.ts +1 -1
- package/es/time/src/Time.d.ts +1 -1
- package/es/time-picker/src/Panel.d.ts +1 -1
- package/es/time-picker/src/PanelCol.d.ts +1 -1
- package/es/time-picker/src/TimePicker.d.ts +1 -1
- package/es/timeline/src/Timeline.d.ts +1 -1
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/tooltip/src/Tooltip.d.ts +1 -1
- package/es/transfer/src/Transfer.d.ts +1 -1
- package/es/transfer/src/TransferFilter.d.ts +1 -1
- package/es/transfer/src/TransferHeader.d.ts +1 -1
- package/es/transfer/src/TransferList.d.ts +1 -1
- package/es/transfer/src/TransferListItem.d.ts +1 -1
- package/es/tree/src/MotionWrapper.d.ts +1 -1
- package/es/tree/src/Tree.d.ts +1 -1
- package/es/tree/src/Tree.js +42 -14
- package/es/tree/src/TreeNode.d.ts +1 -1
- package/es/tree/src/TreeNode.js +9 -4
- package/es/tree/src/TreeNodeCheckbox.d.ts +1 -1
- package/es/tree/src/TreeNodeContent.d.ts +1 -1
- package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/es/tree/src/interface.d.ts +1 -0
- package/es/tree/src/utils.d.ts +2 -1
- package/es/tree/src/utils.js +3 -0
- package/es/tree-select/src/TreeSelect.d.ts +3 -3
- package/es/typography/src/a.d.ts +1 -1
- package/es/typography/src/blockquote.d.ts +1 -1
- package/es/typography/src/create-header.d.ts +1 -1
- package/es/typography/src/headers.d.ts +6 -6
- package/es/typography/src/hr.d.ts +1 -1
- package/es/typography/src/li.d.ts +1 -1
- package/es/typography/src/ol.d.ts +1 -1
- package/es/typography/src/p.d.ts +1 -1
- package/es/typography/src/text.d.ts +1 -1
- package/es/typography/src/ul.d.ts +1 -1
- package/es/upload/src/Upload.d.ts +14 -11
- package/es/upload/src/Upload.js +7 -2
- package/es/upload/src/UploadDragger.d.ts +1 -1
- package/es/upload/src/UploadFile.d.ts +1 -1
- package/es/upload/src/UploadFileList.d.ts +1 -1
- package/es/upload/src/UploadProgress.d.ts +1 -1
- package/es/upload/src/UploadTrigger.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/src/Watermark.d.ts +1 -1
- package/lib/_internal/clear/src/Clear.d.ts +1 -1
- package/lib/_internal/close/src/Close.d.ts +1 -1
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/lib/_internal/icon/src/Icon.d.ts +1 -1
- package/lib/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
- package/lib/_internal/icons/Add.d.ts +1 -1
- package/lib/_internal/icons/ArrowBack.d.ts +1 -1
- package/lib/_internal/icons/ArrowDown.d.ts +1 -1
- package/lib/_internal/icons/ArrowUp.d.ts +1 -1
- package/lib/_internal/icons/Attach.d.ts +1 -1
- package/lib/_internal/icons/Backward.d.ts +1 -1
- package/lib/_internal/icons/Cancel.d.ts +1 -1
- package/lib/_internal/icons/Checkmark.d.ts +1 -1
- package/lib/_internal/icons/ChevronDown.d.ts +1 -1
- package/lib/_internal/icons/ChevronDownFilled.d.ts +1 -1
- package/lib/_internal/icons/ChevronLeft.d.ts +1 -1
- package/lib/_internal/icons/ChevronRight.d.ts +1 -1
- package/lib/_internal/icons/Clear.d.ts +1 -1
- package/lib/_internal/icons/Close.d.ts +1 -1
- package/lib/_internal/icons/Date.d.ts +1 -1
- package/lib/_internal/icons/Download.d.ts +1 -1
- package/lib/_internal/icons/Empty.d.ts +1 -1
- package/lib/_internal/icons/Error.d.ts +1 -1
- package/lib/_internal/icons/Eye.d.ts +1 -1
- package/lib/_internal/icons/EyeOff.d.ts +1 -1
- package/lib/_internal/icons/FastBackward.d.ts +1 -1
- package/lib/_internal/icons/FastForward.d.ts +1 -1
- package/lib/_internal/icons/File.d.ts +1 -1
- package/lib/_internal/icons/Filter.d.ts +1 -1
- package/lib/_internal/icons/Forward.d.ts +1 -1
- package/lib/_internal/icons/Info.d.ts +1 -1
- package/lib/_internal/icons/More.d.ts +1 -1
- package/lib/_internal/icons/Photo.d.ts +1 -1
- package/lib/_internal/icons/Remove.d.ts +1 -1
- package/lib/_internal/icons/ResizeSmall.d.ts +1 -1
- package/lib/_internal/icons/Retry.d.ts +1 -1
- package/lib/_internal/icons/RotateClockwise.d.ts +1 -1
- package/lib/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/lib/_internal/icons/Search.d.ts +1 -1
- package/lib/_internal/icons/Success.d.ts +1 -1
- package/lib/_internal/icons/Switcher.d.ts +1 -1
- package/lib/_internal/icons/Time.d.ts +1 -1
- package/lib/_internal/icons/To.d.ts +1 -1
- package/lib/_internal/icons/Trash.d.ts +1 -1
- package/lib/_internal/icons/Warning.d.ts +1 -1
- package/lib/_internal/icons/ZoomIn.d.ts +1 -1
- package/lib/_internal/icons/ZoomOut.d.ts +1 -1
- package/lib/_internal/icons/replaceable.d.ts +1 -1
- package/lib/_internal/loading/src/Loading.d.ts +1 -1
- package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +1 -1
- package/lib/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
- package/lib/_internal/wave/src/Wave.d.ts +1 -1
- package/lib/_utils/vue/keysOf.d.ts +1 -1
- package/lib/_utils/vue/wrapper.d.ts +1 -1
- package/lib/affix/src/Affix.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +1 -1
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/BaseAnchor.d.ts +1 -1
- package/lib/anchor/src/Link.d.ts +1 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
- package/lib/avatar/src/Avatar.d.ts +4 -1
- package/lib/avatar/src/Avatar.js +1 -1
- package/lib/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/badge/src/Badge.d.ts +1 -1
- package/lib/breadcrumb/src/Breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/lib/button/src/Button.d.ts +2 -2
- package/lib/button-group/src/ButtonGroup.d.ts +1 -1
- package/lib/calendar/src/Calendar.d.ts +1 -1
- package/lib/card/src/Card.d.ts +1 -1
- package/lib/carousel/src/Carousel.d.ts +1 -1
- package/lib/carousel/src/CarouselArrow.d.ts +1 -1
- package/lib/carousel/src/CarouselDots.d.ts +1 -1
- package/lib/carousel/src/CarouselItem.d.ts +1 -1
- package/lib/carousel/src/utils/index.js +1 -1
- package/lib/cascader/src/Cascader.d.ts +1 -1
- package/lib/cascader/src/CascaderMenu.d.ts +1 -1
- package/lib/cascader/src/CascaderOption.d.ts +1 -1
- package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -1
- package/lib/cascader/src/CascaderSubmenu.d.ts +1 -1
- package/lib/checkbox/src/Checkbox.d.ts +1 -1
- package/lib/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/lib/code/src/Code.d.ts +1 -1
- package/lib/collapse/src/Collapse.d.ts +1 -1
- package/lib/collapse/src/CollapseItem.d.ts +1 -1
- package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
- package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/lib/color-picker/src/AlphaSlider.d.ts +1 -1
- package/lib/color-picker/src/ColorInput.d.ts +1 -1
- package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +1 -1
- package/lib/color-picker/src/ColorPickerSwatches.d.ts +1 -1
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +1 -1
- package/lib/color-picker/src/ColorPreview.d.ts +1 -1
- package/lib/color-picker/src/HueSlider.d.ts +1 -1
- package/lib/color-picker/src/Pallete.d.ts +1 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
- package/lib/countdown/src/Countdown.d.ts +1 -1
- package/lib/data-table/index.d.ts +3 -3
- package/lib/data-table/index.js +2 -1
- package/lib/data-table/src/DataTable.d.ts +609 -2319
- package/lib/data-table/src/DataTable.js +3 -52
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +89 -1
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +90 -2
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/SortButton.d.ts +1 -1
- package/lib/data-table/src/MainTable.d.ts +1 -1
- package/lib/data-table/src/TableParts/Body.d.ts +90 -1
- package/lib/data-table/src/TableParts/Body.js +28 -26
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +1 -1
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +1 -1
- package/lib/data-table/src/TableParts/Cell.d.ts +177 -1
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
- package/lib/data-table/src/TableParts/Header.d.ts +89 -1
- package/lib/data-table/src/TableParts/SelectionMenu.d.ts +1 -8
- package/lib/data-table/src/TableParts/SelectionMenu.js +12 -13
- package/lib/data-table/src/interface.d.ts +2444 -2
- package/lib/data-table/src/interface.js +55 -1
- package/lib/data-table/src/use-check.d.ts +1 -2
- package/lib/data-table/src/use-expand.d.ts +1 -2
- package/lib/data-table/src/use-group-header.d.ts +1 -2
- package/lib/data-table/src/use-scroll.d.ts +1 -2
- package/lib/data-table/src/use-sorter.d.ts +1 -2
- package/lib/data-table/src/use-sorter.js +1 -1
- package/lib/data-table/src/use-table-data.d.ts +1 -2
- package/lib/data-table/src/use-table-data.js +1 -1
- package/lib/data-table/styles/dark.js +3 -1
- package/lib/data-table/styles/light.d.ts +70 -0
- package/lib/data-table/styles/light.js +3 -1
- package/lib/date-picker/src/DatePicker.d.ts +1 -1
- package/lib/date-picker/src/DatePicker.js +3 -1
- package/lib/date-picker/src/panel/date.d.ts +7 -7
- package/lib/date-picker/src/panel/daterange.d.ts +1 -1
- package/lib/date-picker/src/panel/datetime.d.ts +7 -7
- package/lib/date-picker/src/panel/datetimerange.d.ts +1 -1
- package/lib/date-picker/src/panel/month.d.ts +7 -7
- package/lib/date-picker/src/panel/monthrange.d.ts +1 -1
- package/lib/date-picker/src/panel/monthrange.js +4 -2
- package/lib/date-picker/src/panel/panelHeader.d.ts +2 -2
- package/lib/date-picker/src/panel/use-calendar.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +1 -1
- package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/lib/descriptions/src/utils.d.ts +1 -1
- package/lib/descriptions/src/utils.js +1 -1
- package/lib/dialog/src/Dialog.d.ts +1 -1
- package/lib/dialog/src/DialogEnvironment.d.ts +4 -1
- package/lib/dialog/src/DialogEnvironment.js +6 -2
- package/lib/dialog/src/DialogProvider.d.ts +4 -3
- package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
- package/lib/divider/src/Divider.d.ts +1 -1
- package/lib/drawer/src/Drawer.d.ts +1 -1
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/lib/drawer/src/DrawerContent.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.js +21 -20
- package/lib/dropdown/src/DropdownDivider.d.ts +1 -1
- package/lib/dropdown/src/DropdownGroup.d.ts +1 -1
- package/lib/dropdown/src/DropdownGroup.js +4 -1
- package/lib/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/lib/dropdown/src/DropdownMenu.d.ts +1 -1
- package/lib/dropdown/src/DropdownMenu.js +2 -0
- package/lib/dropdown/src/DropdownOption.d.ts +1 -1
- package/lib/dropdown/src/DropdownRenderOption.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/lib/dynamic-input/src/InputPreset.d.ts +1 -1
- package/lib/dynamic-input/src/PairPreset.d.ts +1 -1
- package/lib/dynamic-tags/index.d.ts +1 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/lib/element/src/Element.d.ts +1 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +1 -1
- package/lib/form/src/Form.d.ts +1 -1
- package/lib/form/src/FormItem.d.ts +1 -1
- package/lib/form/src/FormItemCol.d.ts +1 -1
- package/lib/form/src/FormItemGridItem.d.ts +1 -1
- package/lib/form/src/FormItemRow.d.ts +1 -1
- package/lib/global-style/src/GlobalStyle.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +1 -1
- package/lib/grid/src/Grid.d.ts +1 -1
- package/lib/grid/src/GridItem.d.ts +1 -1
- package/lib/icon/src/Icon.d.ts +1 -1
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/lib/image/src/Image.d.ts +1 -1
- package/lib/image/src/ImageGroup.d.ts +1 -1
- package/lib/image/src/ImagePreview.d.ts +1 -1
- package/lib/input/src/Input.d.ts +2 -2
- package/lib/input/src/InputGroup.d.ts +1 -1
- package/lib/input/src/InputGroupLabel.d.ts +1 -1
- package/lib/input/src/WordCount.d.ts +1 -1
- package/lib/input-number/src/InputNumber.d.ts +1 -1
- package/lib/layout/src/Layout.d.ts +2 -2
- package/lib/layout/src/LayoutContent.d.ts +1 -1
- package/lib/layout/src/LayoutFooter.d.ts +1 -1
- package/lib/layout/src/LayoutHeader.d.ts +1 -1
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/layout/src/ToggleBar.d.ts +1 -1
- package/lib/layout/src/ToggleButton.d.ts +1 -1
- package/lib/legacy-grid/src/Col.d.ts +1 -1
- package/lib/legacy-grid/src/Row.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferList.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/lib/list/src/List.d.ts +1 -1
- package/lib/list/src/ListItem.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +1 -1
- package/lib/log/src/Log.d.ts +1 -1
- package/lib/log/src/LogLine.d.ts +1 -1
- package/lib/log/src/LogLoader.d.ts +1 -1
- package/lib/mention/src/Mention.d.ts +1 -1
- package/lib/menu/src/Menu.d.ts +1 -1
- package/lib/menu/src/Menu.js +4 -1
- package/lib/menu/src/MenuDivider.d.ts +1 -1
- package/lib/menu/src/MenuOption.d.ts +1 -1
- package/lib/menu/src/MenuOption.js +1 -4
- package/lib/menu/src/MenuOptionContent.d.ts +1 -1
- package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
- package/lib/menu/src/Submenu.d.ts +1 -1
- package/lib/menu/src/interface.d.ts +1 -0
- package/lib/menu/src/utils.js +1 -1
- package/lib/message/src/Message.d.ts +1 -1
- package/lib/message/src/MessageEnvironment.d.ts +1 -1
- package/lib/message/src/MessageProvider.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +1 -1
- package/lib/modal/src/Modal.d.ts +1 -1
- package/lib/notification/src/Notification.d.ts +1 -1
- package/lib/notification/src/NotificationContainer.d.ts +1 -1
- package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +1 -1
- package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
- package/lib/page-header/src/PageHeader.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +1 -1
- package/lib/popconfirm/src/Popconfirm.d.ts +1 -1
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/lib/popover/src/Popover.d.ts +1 -1
- package/lib/popover/src/PopoverBody.d.ts +1 -1
- package/lib/popselect/src/Popselect.d.ts +1 -1
- package/lib/popselect/src/PopselectPanel.d.ts +1 -1
- package/lib/progress/src/Circle.d.ts +1 -1
- package/lib/progress/src/Circle.js +5 -3
- package/lib/progress/src/Line.d.ts +1 -1
- package/lib/progress/src/MultipleCircle.d.ts +1 -1
- package/lib/progress/src/Progress.d.ts +1 -1
- package/lib/radio/src/Radio.d.ts +1 -1
- package/lib/radio/src/RadioButton.d.ts +1 -1
- package/lib/radio/src/RadioGroup.d.ts +1 -1
- package/lib/rate/src/Rate.d.ts +1 -1
- package/lib/result/src/Result.d.ts +1 -1
- package/lib/scrollbar/src/Scrollbar.d.ts +1 -1
- package/lib/select/src/Select.d.ts +1 -1
- package/lib/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/slider/src/Slider.d.ts +1 -1
- package/lib/space/src/Space.d.ts +1 -1
- package/lib/spin/src/Spin.d.ts +1 -1
- package/lib/statistic/src/Statistic.d.ts +1 -1
- package/lib/steps/src/Step.d.ts +1 -1
- package/lib/steps/src/Steps.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +1 -1
- package/lib/table/src/Table.d.ts +1 -1
- package/lib/table/src/Tbody.d.ts +1 -1
- package/lib/table/src/Td.d.ts +1 -1
- package/lib/table/src/Th.d.ts +1 -1
- package/lib/table/src/Thead.d.ts +1 -1
- package/lib/table/src/Tr.d.ts +1 -1
- package/lib/tabs/src/Tab.d.ts +1 -1
- package/lib/tabs/src/TabPane.d.ts +1 -1
- package/lib/tabs/src/Tabs.d.ts +2 -2
- package/lib/tabs/src/Tabs.js +28 -0
- package/lib/tag/src/Tag.d.ts +1 -1
- package/lib/theme-editor/src/MaximizeIcon.d.ts +1 -1
- package/lib/theme-editor/src/MinimizeIcon.d.ts +1 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +1 -1
- package/lib/thing/src/Thing.d.ts +1 -1
- package/lib/time/src/Time.d.ts +1 -1
- package/lib/time-picker/src/Panel.d.ts +1 -1
- package/lib/time-picker/src/PanelCol.d.ts +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +1 -1
- package/lib/timeline/src/Timeline.d.ts +1 -1
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +1 -1
- package/lib/transfer/src/Transfer.d.ts +1 -1
- package/lib/transfer/src/TransferFilter.d.ts +1 -1
- package/lib/transfer/src/TransferHeader.d.ts +1 -1
- package/lib/transfer/src/TransferList.d.ts +1 -1
- package/lib/transfer/src/TransferListItem.d.ts +1 -1
- package/lib/tree/src/MotionWrapper.d.ts +1 -1
- package/lib/tree/src/Tree.d.ts +1 -1
- package/lib/tree/src/Tree.js +41 -13
- package/lib/tree/src/TreeNode.d.ts +1 -1
- package/lib/tree/src/TreeNode.js +9 -4
- package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -1
- package/lib/tree/src/TreeNodeContent.d.ts +1 -1
- package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/lib/tree/src/interface.d.ts +1 -0
- package/lib/tree/src/utils.d.ts +2 -1
- package/lib/tree/src/utils.js +5 -1
- package/lib/tree-select/src/TreeSelect.d.ts +3 -3
- package/lib/typography/src/a.d.ts +1 -1
- package/lib/typography/src/blockquote.d.ts +1 -1
- package/lib/typography/src/create-header.d.ts +1 -1
- package/lib/typography/src/headers.d.ts +6 -6
- package/lib/typography/src/hr.d.ts +1 -1
- package/lib/typography/src/li.d.ts +1 -1
- package/lib/typography/src/ol.d.ts +1 -1
- package/lib/typography/src/p.d.ts +1 -1
- package/lib/typography/src/text.d.ts +1 -1
- package/lib/typography/src/ul.d.ts +1 -1
- package/lib/upload/src/Upload.d.ts +14 -11
- package/lib/upload/src/Upload.js +7 -2
- package/lib/upload/src/UploadDragger.d.ts +1 -1
- package/lib/upload/src/UploadFile.d.ts +1 -1
- package/lib/upload/src/UploadFileList.d.ts +1 -1
- package/lib/upload/src/UploadProgress.d.ts +1 -1
- package/lib/upload/src/UploadTrigger.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +1 -1
- package/package.json +23 -24
- package/web-types.json +10230 -10356
|
@@ -9,60 +9,10 @@ import MainTable from './MainTable';
|
|
|
9
9
|
import { useCheck } from './use-check';
|
|
10
10
|
import { useTableData } from './use-table-data';
|
|
11
11
|
import { useScroll } from './use-scroll';
|
|
12
|
-
import { dataTableInjectionKey } from './interface';
|
|
12
|
+
import { dataTableInjectionKey, dataTableProps } from './interface';
|
|
13
13
|
import { useGroupHeader } from './use-group-header';
|
|
14
14
|
import { useExpand } from './use-expand';
|
|
15
15
|
import style from './styles/index.cssr';
|
|
16
|
-
export const dataTableProps = Object.assign(Object.assign({}, useTheme.props), { pagination: {
|
|
17
|
-
type: [Object, Boolean],
|
|
18
|
-
default: false
|
|
19
|
-
}, paginateSinglePage: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
default: true
|
|
22
|
-
}, minHeight: [Number, String], maxHeight: [Number, String],
|
|
23
|
-
// Use any type as row data to make prop data acceptable
|
|
24
|
-
columns: {
|
|
25
|
-
type: Array,
|
|
26
|
-
default: () => []
|
|
27
|
-
}, rowClassName: [String, Function], rowProps: Function, rowKey: Function, summary: [Function], data: {
|
|
28
|
-
type: Array,
|
|
29
|
-
default: () => []
|
|
30
|
-
}, loading: Boolean, bordered: {
|
|
31
|
-
type: Boolean,
|
|
32
|
-
default: undefined
|
|
33
|
-
}, bottomBordered: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: undefined
|
|
36
|
-
}, striped: Boolean, scrollX: [Number, String], defaultCheckedRowKeys: {
|
|
37
|
-
type: Array,
|
|
38
|
-
default: () => []
|
|
39
|
-
}, checkedRowKeys: Array, singleLine: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: true
|
|
42
|
-
}, singleColumn: Boolean, size: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: 'medium'
|
|
45
|
-
}, remote: Boolean, defaultExpandedRowKeys: {
|
|
46
|
-
type: Array,
|
|
47
|
-
default: []
|
|
48
|
-
}, defaultExpandAll: Boolean, expandedRowKeys: Array, stickyExpandedRows: Boolean, virtualScroll: Boolean, tableLayout: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: 'auto'
|
|
51
|
-
}, allowCheckingNotLoaded: Boolean, cascade: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: true
|
|
54
|
-
}, childrenKey: {
|
|
55
|
-
type: String,
|
|
56
|
-
default: 'children'
|
|
57
|
-
}, indent: {
|
|
58
|
-
type: Number,
|
|
59
|
-
default: 16
|
|
60
|
-
}, flexHeight: Boolean, paginationBehaviorOnFilter: {
|
|
61
|
-
type: String,
|
|
62
|
-
default: 'current'
|
|
63
|
-
}, 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,
|
|
64
|
-
// deprecated
|
|
65
|
-
onPageChange: [Function, Array], onPageSizeChange: [Function, Array], onSorterChange: [Function, Array], onFiltersChange: [Function, Array], onCheckedRowKeysChange: [Function, Array] });
|
|
66
16
|
export default defineComponent({
|
|
67
17
|
name: 'DataTable',
|
|
68
18
|
alias: ['AdvancedTable'],
|
|
@@ -133,6 +83,7 @@ export default defineComponent({
|
|
|
133
83
|
return props.tableLayout;
|
|
134
84
|
});
|
|
135
85
|
provide(dataTableInjectionKey, {
|
|
86
|
+
props,
|
|
136
87
|
renderExpandIconRef: toRef(props, 'renderExpandIcon'),
|
|
137
88
|
loadingKeySetRef: ref(new Set()),
|
|
138
89
|
slots,
|
|
@@ -196,6 +147,7 @@ export default defineComponent({
|
|
|
196
147
|
flexHeightRef: toRef(props, 'flexHeight'),
|
|
197
148
|
headerCheckboxDisabledRef,
|
|
198
149
|
paginationBehaviorOnFilterRef: toRef(props, 'paginationBehaviorOnFilter'),
|
|
150
|
+
summaryPlacementRef: toRef(props, 'summaryPlacement'),
|
|
199
151
|
syncScrollState,
|
|
200
152
|
doUpdatePage,
|
|
201
153
|
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,
|
|
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;
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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;
|
|
@@ -80,7 +80,7 @@ export default defineComponent({
|
|
|
80
80
|
bodyStyle: Object
|
|
81
81
|
},
|
|
82
82
|
setup(props) {
|
|
83
|
-
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
|
|
83
|
+
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
|
|
84
84
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
85
85
|
} = inject(dataTableInjectionKey);
|
|
86
86
|
const scrollbarInstRef = ref(null);
|
|
@@ -275,7 +275,7 @@ export default defineComponent({
|
|
|
275
275
|
id: `n-${componentId}`
|
|
276
276
|
});
|
|
277
277
|
});
|
|
278
|
-
return Object.assign({ bodyWidth: bodyWidthRef, dataTableSlots,
|
|
278
|
+
return Object.assign({ bodyWidth: bodyWidthRef, summaryPlacement: summaryPlacementRef, dataTableSlots,
|
|
279
279
|
componentId,
|
|
280
280
|
scrollbarInstRef,
|
|
281
281
|
virtualListRef,
|
|
@@ -351,32 +351,34 @@ export default defineComponent({
|
|
|
351
351
|
if (summary) {
|
|
352
352
|
const summaryRows = summary(this.rawPaginatedData);
|
|
353
353
|
if (Array.isArray(summaryRows)) {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
354
|
+
const summaryRowData = summaryRows.map((row, i) => ({
|
|
355
|
+
isSummaryRow: true,
|
|
356
|
+
key: `__n_summary__${i}`,
|
|
357
|
+
tmNode: {
|
|
358
|
+
rawNode: row,
|
|
359
|
+
disabled: true
|
|
360
|
+
},
|
|
361
|
+
index: -1
|
|
362
|
+
}));
|
|
363
|
+
mergedData =
|
|
364
|
+
this.summaryPlacement === 'top'
|
|
365
|
+
? [...summaryRowData, ...mergedPaginationData]
|
|
366
|
+
: [...mergedPaginationData, ...summaryRowData];
|
|
366
367
|
}
|
|
367
368
|
else {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
369
|
+
const summaryRowData = {
|
|
370
|
+
isSummaryRow: true,
|
|
371
|
+
key: '__n_summary__',
|
|
372
|
+
tmNode: {
|
|
373
|
+
rawNode: summaryRows,
|
|
374
|
+
disabled: true
|
|
375
|
+
},
|
|
376
|
+
index: -1
|
|
377
|
+
};
|
|
378
|
+
mergedData =
|
|
379
|
+
this.summaryPlacement === 'top'
|
|
380
|
+
? [summaryRowData, ...mergedPaginationData]
|
|
381
|
+
: [...mergedPaginationData, summaryRowData];
|
|
380
382
|
}
|
|
381
383
|
}
|
|
382
384
|
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,
|
|
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,
|
|
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;
|