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
|
@@ -832,6 +832,76 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
832
832
|
}, any>;
|
|
833
833
|
}>;
|
|
834
834
|
}>;
|
|
835
|
+
Dropdown: import("../../../_mixins").Theme<"Dropdown", {
|
|
836
|
+
optionHeightSmall: string;
|
|
837
|
+
optionHeightMedium: string;
|
|
838
|
+
optionHeightLarge: string;
|
|
839
|
+
optionHeightHuge: string;
|
|
840
|
+
borderRadius: string;
|
|
841
|
+
fontSizeSmall: string;
|
|
842
|
+
fontSizeMedium: string;
|
|
843
|
+
fontSizeLarge: string;
|
|
844
|
+
fontSizeHuge: string;
|
|
845
|
+
optionTextColor: string;
|
|
846
|
+
optionTextColorHover: string;
|
|
847
|
+
optionTextColorActive: string;
|
|
848
|
+
optionTextColorChildActive: string;
|
|
849
|
+
color: string;
|
|
850
|
+
dividerColor: string;
|
|
851
|
+
suffixColor: string;
|
|
852
|
+
prefixColor: string;
|
|
853
|
+
optionColorHover: string;
|
|
854
|
+
optionColorActive: string;
|
|
855
|
+
groupHeaderTextColor: string;
|
|
856
|
+
optionTextColorInverted: string;
|
|
857
|
+
optionTextColorHoverInverted: string;
|
|
858
|
+
optionTextColorActiveInverted: string;
|
|
859
|
+
optionTextColorChildActiveInverted: string;
|
|
860
|
+
colorInverted: string;
|
|
861
|
+
dividerColorInverted: string;
|
|
862
|
+
suffixColorInverted: string;
|
|
863
|
+
prefixColorInverted: string;
|
|
864
|
+
optionColorHoverInverted: string;
|
|
865
|
+
optionColorActiveInverted: string;
|
|
866
|
+
groupHeaderTextColorInverted: string;
|
|
867
|
+
optionOpacityDisabled: string;
|
|
868
|
+
padding: string;
|
|
869
|
+
optionIconSizeSmall: string;
|
|
870
|
+
optionIconSizeMedium: string;
|
|
871
|
+
optionIconSizeLarge: string;
|
|
872
|
+
optionIconSizeHuge: string;
|
|
873
|
+
optionSuffixWidthSmall: string;
|
|
874
|
+
optionSuffixWidthMedium: string;
|
|
875
|
+
optionSuffixWidthLarge: string;
|
|
876
|
+
optionSuffixWidthHuge: string;
|
|
877
|
+
optionIconSuffixWidthSmall: string;
|
|
878
|
+
optionIconSuffixWidthMedium: string;
|
|
879
|
+
optionIconSuffixWidthLarge: string;
|
|
880
|
+
optionIconSuffixWidthHuge: string;
|
|
881
|
+
optionPrefixWidthSmall: string;
|
|
882
|
+
optionPrefixWidthMedium: string;
|
|
883
|
+
optionPrefixWidthLarge: string;
|
|
884
|
+
optionPrefixWidthHuge: string;
|
|
885
|
+
optionIconPrefixWidthSmall: string;
|
|
886
|
+
optionIconPrefixWidthMedium: string;
|
|
887
|
+
optionIconPrefixWidthLarge: string;
|
|
888
|
+
optionIconPrefixWidthHuge: string;
|
|
889
|
+
}, {
|
|
890
|
+
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
891
|
+
fontSize: string;
|
|
892
|
+
borderRadius: string;
|
|
893
|
+
color: string;
|
|
894
|
+
dividerColor: string;
|
|
895
|
+
textColor: string;
|
|
896
|
+
boxShadow: string;
|
|
897
|
+
space: string;
|
|
898
|
+
spaceArrow: string;
|
|
899
|
+
arrowOffset: string;
|
|
900
|
+
arrowOffsetVertical: string;
|
|
901
|
+
arrowHeight: string;
|
|
902
|
+
padding: string;
|
|
903
|
+
}, any>;
|
|
904
|
+
}>;
|
|
835
905
|
};
|
|
836
906
|
peerOverrides: {
|
|
837
907
|
Button?: {
|
|
@@ -1152,12 +1222,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1152
1222
|
}>> | undefined;
|
|
1153
1223
|
} | undefined;
|
|
1154
1224
|
} | undefined;
|
|
1225
|
+
Dropdown?: {
|
|
1226
|
+
peers?: {
|
|
1227
|
+
Popover?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Popover", {
|
|
1228
|
+
fontSize: string;
|
|
1229
|
+
borderRadius: string;
|
|
1230
|
+
color: string;
|
|
1231
|
+
dividerColor: string;
|
|
1232
|
+
textColor: string;
|
|
1233
|
+
boxShadow: string;
|
|
1234
|
+
space: string;
|
|
1235
|
+
spaceArrow: string;
|
|
1236
|
+
arrowOffset: string;
|
|
1237
|
+
arrowOffsetVertical: string;
|
|
1238
|
+
arrowHeight: string;
|
|
1239
|
+
padding: string;
|
|
1240
|
+
}, any>> | undefined;
|
|
1241
|
+
} | undefined;
|
|
1242
|
+
} | undefined;
|
|
1155
1243
|
};
|
|
1156
1244
|
}>;
|
|
1157
1245
|
required: true;
|
|
1158
1246
|
};
|
|
1159
1247
|
renderCell: PropType<(value: any, rowData: object, column: any) => VNodeChild>;
|
|
1160
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1248
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1161
1249
|
clsPrefix: {
|
|
1162
1250
|
type: StringConstructor;
|
|
1163
1251
|
required: true;
|
|
@@ -1989,6 +2077,76 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1989
2077
|
}, any>;
|
|
1990
2078
|
}>;
|
|
1991
2079
|
}>;
|
|
2080
|
+
Dropdown: import("../../../_mixins").Theme<"Dropdown", {
|
|
2081
|
+
optionHeightSmall: string;
|
|
2082
|
+
optionHeightMedium: string;
|
|
2083
|
+
optionHeightLarge: string;
|
|
2084
|
+
optionHeightHuge: string;
|
|
2085
|
+
borderRadius: string;
|
|
2086
|
+
fontSizeSmall: string;
|
|
2087
|
+
fontSizeMedium: string;
|
|
2088
|
+
fontSizeLarge: string;
|
|
2089
|
+
fontSizeHuge: string;
|
|
2090
|
+
optionTextColor: string;
|
|
2091
|
+
optionTextColorHover: string;
|
|
2092
|
+
optionTextColorActive: string;
|
|
2093
|
+
optionTextColorChildActive: string;
|
|
2094
|
+
color: string;
|
|
2095
|
+
dividerColor: string;
|
|
2096
|
+
suffixColor: string;
|
|
2097
|
+
prefixColor: string;
|
|
2098
|
+
optionColorHover: string;
|
|
2099
|
+
optionColorActive: string;
|
|
2100
|
+
groupHeaderTextColor: string;
|
|
2101
|
+
optionTextColorInverted: string;
|
|
2102
|
+
optionTextColorHoverInverted: string;
|
|
2103
|
+
optionTextColorActiveInverted: string;
|
|
2104
|
+
optionTextColorChildActiveInverted: string;
|
|
2105
|
+
colorInverted: string;
|
|
2106
|
+
dividerColorInverted: string;
|
|
2107
|
+
suffixColorInverted: string;
|
|
2108
|
+
prefixColorInverted: string;
|
|
2109
|
+
optionColorHoverInverted: string;
|
|
2110
|
+
optionColorActiveInverted: string;
|
|
2111
|
+
groupHeaderTextColorInverted: string;
|
|
2112
|
+
optionOpacityDisabled: string;
|
|
2113
|
+
padding: string;
|
|
2114
|
+
optionIconSizeSmall: string;
|
|
2115
|
+
optionIconSizeMedium: string;
|
|
2116
|
+
optionIconSizeLarge: string;
|
|
2117
|
+
optionIconSizeHuge: string;
|
|
2118
|
+
optionSuffixWidthSmall: string;
|
|
2119
|
+
optionSuffixWidthMedium: string;
|
|
2120
|
+
optionSuffixWidthLarge: string;
|
|
2121
|
+
optionSuffixWidthHuge: string;
|
|
2122
|
+
optionIconSuffixWidthSmall: string;
|
|
2123
|
+
optionIconSuffixWidthMedium: string;
|
|
2124
|
+
optionIconSuffixWidthLarge: string;
|
|
2125
|
+
optionIconSuffixWidthHuge: string;
|
|
2126
|
+
optionPrefixWidthSmall: string;
|
|
2127
|
+
optionPrefixWidthMedium: string;
|
|
2128
|
+
optionPrefixWidthLarge: string;
|
|
2129
|
+
optionPrefixWidthHuge: string;
|
|
2130
|
+
optionIconPrefixWidthSmall: string;
|
|
2131
|
+
optionIconPrefixWidthMedium: string;
|
|
2132
|
+
optionIconPrefixWidthLarge: string;
|
|
2133
|
+
optionIconPrefixWidthHuge: string;
|
|
2134
|
+
}, {
|
|
2135
|
+
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
2136
|
+
fontSize: string;
|
|
2137
|
+
borderRadius: string;
|
|
2138
|
+
color: string;
|
|
2139
|
+
dividerColor: string;
|
|
2140
|
+
textColor: string;
|
|
2141
|
+
boxShadow: string;
|
|
2142
|
+
space: string;
|
|
2143
|
+
spaceArrow: string;
|
|
2144
|
+
arrowOffset: string;
|
|
2145
|
+
arrowOffsetVertical: string;
|
|
2146
|
+
arrowHeight: string;
|
|
2147
|
+
padding: string;
|
|
2148
|
+
}, any>;
|
|
2149
|
+
}>;
|
|
1992
2150
|
};
|
|
1993
2151
|
peerOverrides: {
|
|
1994
2152
|
Button?: {
|
|
@@ -2309,6 +2467,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2309
2467
|
}>> | undefined;
|
|
2310
2468
|
} | undefined;
|
|
2311
2469
|
} | undefined;
|
|
2470
|
+
Dropdown?: {
|
|
2471
|
+
peers?: {
|
|
2472
|
+
Popover?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Popover", {
|
|
2473
|
+
fontSize: string;
|
|
2474
|
+
borderRadius: string;
|
|
2475
|
+
color: string;
|
|
2476
|
+
dividerColor: string;
|
|
2477
|
+
textColor: string;
|
|
2478
|
+
boxShadow: string;
|
|
2479
|
+
space: string;
|
|
2480
|
+
spaceArrow: string;
|
|
2481
|
+
arrowOffset: string;
|
|
2482
|
+
arrowOffsetVertical: string;
|
|
2483
|
+
arrowHeight: string;
|
|
2484
|
+
padding: string;
|
|
2485
|
+
}, any>> | undefined;
|
|
2486
|
+
} | undefined;
|
|
2487
|
+
} | undefined;
|
|
2312
2488
|
};
|
|
2313
2489
|
}>;
|
|
2314
2490
|
required: true;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
renderExpandIcon: {
|
|
14
14
|
type: PropType<() => VNodeChild>;
|
|
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
|
clsPrefix: {
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
required: true;
|
|
@@ -835,6 +835,76 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
835
835
|
}, any>;
|
|
836
836
|
}>;
|
|
837
837
|
}>;
|
|
838
|
+
Dropdown: import("../../../_mixins").Theme<"Dropdown", {
|
|
839
|
+
optionHeightSmall: string;
|
|
840
|
+
optionHeightMedium: string;
|
|
841
|
+
optionHeightLarge: string;
|
|
842
|
+
optionHeightHuge: string;
|
|
843
|
+
borderRadius: string;
|
|
844
|
+
fontSizeSmall: string;
|
|
845
|
+
fontSizeMedium: string;
|
|
846
|
+
fontSizeLarge: string;
|
|
847
|
+
fontSizeHuge: string;
|
|
848
|
+
optionTextColor: string;
|
|
849
|
+
optionTextColorHover: string;
|
|
850
|
+
optionTextColorActive: string;
|
|
851
|
+
optionTextColorChildActive: string;
|
|
852
|
+
color: string;
|
|
853
|
+
dividerColor: string;
|
|
854
|
+
suffixColor: string;
|
|
855
|
+
prefixColor: string;
|
|
856
|
+
optionColorHover: string;
|
|
857
|
+
optionColorActive: string;
|
|
858
|
+
groupHeaderTextColor: string;
|
|
859
|
+
optionTextColorInverted: string;
|
|
860
|
+
optionTextColorHoverInverted: string;
|
|
861
|
+
optionTextColorActiveInverted: string;
|
|
862
|
+
optionTextColorChildActiveInverted: string;
|
|
863
|
+
colorInverted: string;
|
|
864
|
+
dividerColorInverted: string;
|
|
865
|
+
suffixColorInverted: string;
|
|
866
|
+
prefixColorInverted: string;
|
|
867
|
+
optionColorHoverInverted: string;
|
|
868
|
+
optionColorActiveInverted: string;
|
|
869
|
+
groupHeaderTextColorInverted: string;
|
|
870
|
+
optionOpacityDisabled: string;
|
|
871
|
+
padding: string;
|
|
872
|
+
optionIconSizeSmall: string;
|
|
873
|
+
optionIconSizeMedium: string;
|
|
874
|
+
optionIconSizeLarge: string;
|
|
875
|
+
optionIconSizeHuge: string;
|
|
876
|
+
optionSuffixWidthSmall: string;
|
|
877
|
+
optionSuffixWidthMedium: string;
|
|
878
|
+
optionSuffixWidthLarge: string;
|
|
879
|
+
optionSuffixWidthHuge: string;
|
|
880
|
+
optionIconSuffixWidthSmall: string;
|
|
881
|
+
optionIconSuffixWidthMedium: string;
|
|
882
|
+
optionIconSuffixWidthLarge: string;
|
|
883
|
+
optionIconSuffixWidthHuge: string;
|
|
884
|
+
optionPrefixWidthSmall: string;
|
|
885
|
+
optionPrefixWidthMedium: string;
|
|
886
|
+
optionPrefixWidthLarge: string;
|
|
887
|
+
optionPrefixWidthHuge: string;
|
|
888
|
+
optionIconPrefixWidthSmall: string;
|
|
889
|
+
optionIconPrefixWidthMedium: string;
|
|
890
|
+
optionIconPrefixWidthLarge: string;
|
|
891
|
+
optionIconPrefixWidthHuge: string;
|
|
892
|
+
}, {
|
|
893
|
+
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
894
|
+
fontSize: string;
|
|
895
|
+
borderRadius: string;
|
|
896
|
+
color: string;
|
|
897
|
+
dividerColor: string;
|
|
898
|
+
textColor: string;
|
|
899
|
+
boxShadow: string;
|
|
900
|
+
space: string;
|
|
901
|
+
spaceArrow: string;
|
|
902
|
+
arrowOffset: string;
|
|
903
|
+
arrowOffsetVertical: string;
|
|
904
|
+
arrowHeight: string;
|
|
905
|
+
padding: string;
|
|
906
|
+
}, any>;
|
|
907
|
+
}>;
|
|
838
908
|
};
|
|
839
909
|
peerOverrides: {
|
|
840
910
|
Button?: {
|
|
@@ -1155,6 +1225,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1155
1225
|
}>> | undefined;
|
|
1156
1226
|
} | undefined;
|
|
1157
1227
|
} | undefined;
|
|
1228
|
+
Dropdown?: {
|
|
1229
|
+
peers?: {
|
|
1230
|
+
Popover?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Popover", {
|
|
1231
|
+
fontSize: string;
|
|
1232
|
+
borderRadius: string;
|
|
1233
|
+
color: string;
|
|
1234
|
+
dividerColor: string;
|
|
1235
|
+
textColor: string;
|
|
1236
|
+
boxShadow: string;
|
|
1237
|
+
space: string;
|
|
1238
|
+
spaceArrow: string;
|
|
1239
|
+
arrowOffset: string;
|
|
1240
|
+
arrowOffsetVertical: string;
|
|
1241
|
+
arrowHeight: string;
|
|
1242
|
+
padding: string;
|
|
1243
|
+
}, any>> | undefined;
|
|
1244
|
+
} | undefined;
|
|
1245
|
+
} | undefined;
|
|
1158
1246
|
};
|
|
1159
1247
|
}>;
|
|
1160
1248
|
checkOptions: import("vue").Ref<import("../interface").DataTableSelectionOptions<import("../interface").InternalRowData> | undefined>;
|
|
@@ -1165,7 +1253,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1165
1253
|
handleCheckboxUpdateChecked: () => void;
|
|
1166
1254
|
handleColHeaderClick: (e: MouseEvent, column: TableBaseColumn) => void;
|
|
1167
1255
|
handleTableHeaderScroll: (e: Event) => void;
|
|
1168
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1256
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1169
1257
|
discrete: {
|
|
1170
1258
|
type: BooleanConstructor;
|
|
1171
1259
|
default: boolean;
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
export declare type DataTableSelectionOption = 'all' | 'none';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
clsPrefix: {
|
|
4
3
|
type: StringConstructor;
|
|
5
4
|
required: true;
|
|
6
5
|
};
|
|
7
|
-
}, {
|
|
8
|
-
handleSelect: import("vue").ComputedRef<(key: string | number) => void>;
|
|
9
|
-
options: import("vue").ComputedRef<{
|
|
10
|
-
label: string;
|
|
11
|
-
key: string | number;
|
|
12
|
-
}[]>;
|
|
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<{
|
|
6
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
7
|
clsPrefix: {
|
|
15
8
|
type: StringConstructor;
|
|
16
9
|
required: true;
|
|
@@ -54,21 +54,20 @@ export default defineComponent({
|
|
|
54
54
|
required: true
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
setup() {
|
|
58
|
-
const { localeRef, checkOptionsRef, rawPaginatedDataRef, doCheckAll, doUncheckAll
|
|
57
|
+
setup(props) {
|
|
58
|
+
const { props: dataTableProps, localeRef, checkOptionsRef, rawPaginatedDataRef, doCheckAll, doUncheckAll
|
|
59
59
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
60
60
|
} = inject(dataTableInjectionKey);
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
const handleSelectRef = computed(() => createSelectHandler(checkOptionsRef.value, rawPaginatedDataRef, doCheckAll, doUncheckAll));
|
|
62
|
+
const optionsRef = computed(() => createDropdownOptions(checkOptionsRef.value, localeRef.value));
|
|
63
|
+
return () => {
|
|
64
|
+
var _a, _b, _c, _d;
|
|
65
|
+
const { clsPrefix } = props;
|
|
66
|
+
return (h(NDropdown, { theme: (_b = (_a = dataTableProps.theme) === null || _a === void 0 ? void 0 : _a.peers) === null || _b === void 0 ? void 0 : _b.Dropdown, themeOverrides: (_d = (_c = dataTableProps.themeOverrides) === null || _c === void 0 ? void 0 : _c.peers) === null || _d === void 0 ? void 0 : _d.Dropdown, options: optionsRef.value, onSelect: handleSelectRef.value }, {
|
|
67
|
+
default: () => (h(NBaseIcon, { clsPrefix: clsPrefix, class: `${clsPrefix}-data-table-check-extra` }, {
|
|
68
|
+
default: () => h(ChevronDownIcon, null)
|
|
69
|
+
}))
|
|
70
|
+
}));
|
|
64
71
|
};
|
|
65
|
-
},
|
|
66
|
-
render() {
|
|
67
|
-
const { clsPrefix } = this;
|
|
68
|
-
return (h(NDropdown, { options: this.options, onSelect: this.handleSelect }, {
|
|
69
|
-
default: () => (h(NBaseIcon, { clsPrefix: clsPrefix, class: `${clsPrefix}-data-table-check-extra` }, {
|
|
70
|
-
default: () => h(ChevronDownIcon, null)
|
|
71
|
-
}))
|
|
72
|
-
}));
|
|
73
72
|
}
|
|
74
73
|
});
|