naive-ui 2.34.3 → 2.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/README.zh-CN.md +4 -2
- package/dist/index.js +6208 -8623
- package/dist/index.prod.js +2 -3
- package/es/_internal/clear/src/Clear.d.ts +2 -2
- package/es/_internal/clear/src/Clear.js +2 -0
- package/es/_internal/close/src/Close.d.ts +2 -2
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +2 -2
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +2 -2
- package/es/_internal/icon/src/Icon.d.ts +2 -2
- 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 +2 -2
- package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
- package/es/_internal/scrollbar/src/Scrollbar.js +4 -4
- package/es/_internal/scrollbar/src/styles/index.cssr.js +1 -0
- package/es/_internal/scrollbar/styles/rtl.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +4 -4
- package/es/_internal/select-menu/src/SelectMenu.d.ts +3 -3
- package/es/_internal/select-menu/src/SelectMenu.js +1 -1
- package/es/_internal/select-menu/src/SelectOption.d.ts +4 -4
- package/es/_internal/select-menu/src/interface.d.ts +2 -2
- package/es/_internal/selection/src/Selection.d.ts +3 -2
- package/es/_internal/selection/src/Selection.js +13 -5
- package/es/_internal/selection/src/interface.d.ts +1 -1
- package/es/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +2 -2
- package/es/_internal/suffix/src/Suffix.d.ts +2 -2
- package/es/_internal/wave/src/Wave.d.ts +1 -1
- package/es/_mixins/use-config.d.ts +3 -2
- package/es/_mixins/use-config.js +10 -5
- package/es/_mixins/use-css-vars-class.d.ts +1 -1
- package/es/_mixins/use-form-item.d.ts +2 -2
- package/es/_mixins/use-hljs.d.ts +1 -1
- package/es/_mixins/use-locale.d.ts +1 -1
- package/es/_mixins/use-rtl.d.ts +2 -2
- package/es/_mixins/use-style.d.ts +3 -3
- package/es/_mixins/use-style.js +1 -1
- package/es/_mixins/use-theme.d.ts +5 -5
- package/es/_styles/transitions/fade-down.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/icon-switch.cssr.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-left.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-right.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-top.d.ts +1 -1
- package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/es/_utils/composable/use-browser-location.d.ts +1 -1
- package/es/_utils/composable/use-browser-location.js +1 -2
- package/es/_utils/composable/use-collection.d.ts +1 -1
- package/es/_utils/composable/use-deferred-true.d.ts +1 -1
- package/es/_utils/composable/use-is-composing.d.ts +1 -1
- package/es/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/es/_utils/composable/use-resize.d.ts +1 -1
- package/es/_utils/cssr/index.d.ts +2 -2
- package/es/_utils/naive/attribute.d.ts +1 -1
- package/es/_utils/naive/extract-public-props.d.ts +2 -2
- package/es/_utils/vue/create-injection-key.d.ts +1 -1
- package/es/_utils/vue/create-ref-setter.d.ts +1 -1
- package/es/_utils/vue/flatten.d.ts +1 -1
- package/es/_utils/vue/get-first-slot-vnode.d.ts +1 -1
- package/es/_utils/vue/get-slot.d.ts +1 -1
- package/es/_utils/vue/get-v-node-children.d.ts +1 -1
- package/es/_utils/vue/is-node-v-show-false.d.ts +1 -1
- package/es/_utils/vue/keysOf.d.ts +1 -1
- package/es/_utils/vue/omit.d.ts +1 -1
- package/es/_utils/vue/render.d.ts +1 -1
- package/es/_utils/vue/resolve-slot.d.ts +1 -1
- package/es/_utils/vue/wrapper.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +3 -3
- package/es/alert/src/Alert.d.ts +3 -3
- package/es/alert/src/Alert.js +4 -0
- package/es/alert/src/styles/index.cssr.js +4 -0
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.d.ts +2 -2
- package/es/anchor/src/BaseAnchor.js +3 -1
- package/es/anchor/src/Link.d.ts +3 -3
- package/es/auto-complete/src/AutoComplete.d.ts +8 -9
- package/es/auto-complete/src/interface.d.ts +3 -2
- package/es/auto-complete/src/utils.d.ts +2 -2
- package/es/avatar/src/Avatar.d.ts +4 -4
- package/es/avatar-group/src/AvatarGroup.d.ts +4 -4
- package/es/avatar-group/styles/light.d.ts +1 -1
- package/es/avatar-group/styles/rtl.d.ts +1 -1
- package/es/back-top/src/BackTop.d.ts +3 -3
- package/es/badge/src/Badge.d.ts +3 -3
- package/es/badge/src/Badge.js +1 -1
- package/es/badge/styles/light.d.ts +1 -1
- package/es/badge/styles/rtl.d.ts +1 -1
- package/es/breadcrumb/src/Breadcrumb.d.ts +4 -4
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
- package/es/button/src/Button.d.ts +4 -4
- package/es/button/src/Button.js +1 -1
- package/es/button/styles/rtl.d.ts +1 -1
- package/es/button-group/src/ButtonGroup.d.ts +3 -3
- package/es/button-group/src/styles/index.cssr.d.ts +1 -1
- package/es/button-group/src/styles/rtl.cssr.d.ts +1 -1
- package/es/button-group/styles/rtl.d.ts +1 -1
- package/es/calendar/src/Calendar.d.ts +4 -4
- package/es/card/src/Card.d.ts +7 -7
- package/es/card/styles/light.d.ts +1 -1
- package/es/card/styles/rtl.d.ts +1 -1
- package/es/carousel/src/Carousel.d.ts +2 -2
- package/es/carousel/src/Carousel.js +6 -2
- package/es/carousel/src/CarouselArrow.d.ts +2 -2
- package/es/carousel/src/CarouselContext.js +3 -1
- package/es/carousel/src/CarouselDots.d.ts +2 -2
- package/es/carousel/src/CarouselDots.js +7 -1
- package/es/carousel/src/CarouselItem.d.ts +2 -2
- package/es/carousel/src/CarouselItem.js +4 -3
- package/es/carousel/src/interface.d.ts +1 -1
- package/es/carousel/src/utils/index.d.ts +1 -1
- package/es/carousel/styles/light.d.ts +1 -1
- package/es/cascader/src/Cascader.d.ts +13 -12
- package/es/cascader/src/CascaderMenu.d.ts +4 -4
- package/es/cascader/src/CascaderOption.d.ts +3 -3
- package/es/cascader/src/CascaderSelectMenu.d.ts +5 -5
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/es/cascader/src/interface.d.ts +2 -2
- package/es/checkbox/src/Checkbox.d.ts +4 -4
- package/es/checkbox/src/Checkbox.js +10 -3
- package/es/checkbox/src/CheckboxGroup.d.ts +4 -5
- package/es/checkbox/src/styles/index.cssr.js +9 -11
- package/es/code/src/Code.d.ts +4 -4
- package/es/code/styles/light.d.ts +1 -1
- package/es/collapse/src/Collapse.d.ts +16 -6
- package/es/collapse/src/Collapse.js +2 -1
- package/es/collapse/src/CollapseItem.d.ts +3 -3
- package/es/collapse/src/CollapseItemContent.d.ts +2 -2
- package/es/collapse/src/styles/index.cssr.js +2 -1
- package/es/collapse/styles/light.d.ts +2 -1
- package/es/collapse/styles/light.js +2 -1
- package/es/collapse-transition/src/CollapseTransition.d.ts +3 -3
- package/es/collapse-transition/styles/light.d.ts +1 -1
- package/es/color-picker/src/AlphaSlider.d.ts +3 -3
- package/es/color-picker/src/ColorInput.d.ts +3 -3
- package/es/color-picker/src/ColorInputUnit.d.ts +2 -2
- package/es/color-picker/src/ColorPicker.d.ts +6 -6
- package/es/color-picker/src/ColorPicker.js +6 -2
- package/es/color-picker/src/ColorPickerSwatches.d.ts +3 -3
- package/es/color-picker/src/ColorPickerSwatches.js +5 -1
- package/es/color-picker/src/ColorPickerTrigger.d.ts +3 -3
- package/es/color-picker/src/ColorPreview.d.ts +3 -3
- package/es/color-picker/src/HueSlider.d.ts +2 -2
- package/es/color-picker/src/Pallete.d.ts +3 -3
- package/es/color-picker/src/context.d.ts +1 -1
- package/es/color-picker/src/interface.d.ts +1 -1
- package/es/composables/use-theme-vars.d.ts +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +27 -14
- package/es/config-provider/src/ConfigProvider.js +4 -2
- package/es/config-provider/src/internal-interface.d.ts +3 -3
- package/es/config-provider/src/katex.d.ts +1 -1
- package/es/countdown/src/Countdown.d.ts +2 -2
- package/es/create.d.ts +1 -1
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +4 -4
- package/es/data-table/src/DataTable.js +1 -7
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +5 -5
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +8 -7
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +3 -3
- package/es/data-table/src/HeaderButton/RenderSorter.d.ts +3 -3
- package/es/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
- package/es/data-table/src/HeaderButton/ResizeButton.js +1 -0
- package/es/data-table/src/HeaderButton/SortButton.d.ts +5 -5
- package/es/data-table/src/MainTable.d.ts +1 -1
- package/es/data-table/src/TableParts/Body.d.ts +5 -6
- package/es/data-table/src/TableParts/Body.js +19 -12
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +3 -3
- package/es/data-table/src/TableParts/BodyRadio.d.ts +3 -3
- package/es/data-table/src/TableParts/Cell.d.ts +5 -5
- package/es/data-table/src/TableParts/Cell.js +5 -1
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +5 -4
- package/es/data-table/src/TableParts/ExpandTrigger.js +6 -2
- package/es/data-table/src/TableParts/Header.d.ts +2 -4
- package/es/data-table/src/TableParts/Header.js +9 -13
- package/es/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
- package/es/data-table/src/interface.d.ts +11 -9
- package/es/data-table/src/styles/index.cssr.d.ts +1 -1
- package/es/data-table/src/styles/index.cssr.js +2 -0
- package/es/data-table/src/use-check.d.ts +2 -2
- package/es/data-table/src/use-expand.d.ts +2 -2
- package/es/data-table/src/use-group-header.d.ts +1 -1
- package/es/data-table/src/use-scroll.d.ts +2 -3
- package/es/data-table/src/use-scroll.js +21 -13
- package/es/data-table/src/use-sorter.d.ts +1 -1
- package/es/data-table/src/use-table-data.d.ts +2 -2
- package/es/data-table/src/utils.d.ts +1 -1
- package/es/date-picker/src/DatePicker.d.ts +5 -5
- package/es/date-picker/src/interface.d.ts +4 -4
- package/es/date-picker/src/panel/date.d.ts +6 -6
- package/es/date-picker/src/panel/date.js +3 -1
- package/es/date-picker/src/panel/daterange.d.ts +3 -3
- package/es/date-picker/src/panel/daterange.js +10 -2
- package/es/date-picker/src/panel/datetime.d.ts +3 -3
- package/es/date-picker/src/panel/datetime.js +3 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +3 -3
- package/es/date-picker/src/panel/datetimerange.js +16 -4
- package/es/date-picker/src/panel/month.d.ts +4 -4
- package/es/date-picker/src/panel/month.js +4 -1
- package/es/date-picker/src/panel/monthrange.d.ts +4 -4
- package/es/date-picker/src/panel/panelHeader.d.ts +74 -51
- package/es/date-picker/src/panel/use-calendar.d.ts +4 -4
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +7 -7
- package/es/date-picker/src/panel/use-panel-common.d.ts +3 -3
- package/es/date-picker/src/styles/index.cssr.js +1 -0
- package/es/date-picker/src/utils.d.ts +1 -1
- package/es/date-picker/src/validation-utils.d.ts +1 -1
- package/es/descriptions/src/Descriptions.d.ts +3 -3
- package/es/descriptions/src/Descriptions.js +6 -1
- package/es/descriptions/src/DescriptionsItem.d.ts +2 -2
- package/es/descriptions/src/utils.d.ts +1 -1
- package/es/descriptions/styles/light.d.ts +2 -2
- package/es/dialog/src/Dialog.d.ts +2 -2
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +6 -6
- package/es/dialog/src/DialogProvider.js +3 -1
- package/es/dialog/src/composables.d.ts +1 -1
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/discrete/src/InjectionExtractor.d.ts +2 -2
- package/es/discrete/src/discrete.d.ts +2 -2
- package/es/discrete/src/discreteApp.d.ts +7 -7
- package/es/discrete/src/interface.d.ts +10 -10
- package/es/divider/src/Divider.d.ts +3 -3
- package/es/drawer/src/Drawer.d.ts +17 -4
- package/es/drawer/src/Drawer.js +2 -2
- package/es/drawer/src/DrawerBodyWrapper.d.ts +10 -2
- package/es/drawer/src/DrawerBodyWrapper.js +25 -1
- package/es/drawer/src/DrawerContent.d.ts +2 -2
- package/es/drawer/src/interface.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +9 -9
- package/es/dropdown/src/DropdownDivider.d.ts +1 -1
- package/es/dropdown/src/DropdownGroup.d.ts +3 -3
- package/es/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/es/dropdown/src/DropdownMenu.d.ts +3 -3
- package/es/dropdown/src/DropdownOption.d.ts +4 -4
- package/es/dropdown/src/DropdownRenderOption.d.ts +3 -3
- package/es/dropdown/src/interface.d.ts +2 -2
- package/es/dynamic-input/src/DynamicInput.d.ts +7 -3
- package/es/dynamic-input/src/DynamicInput.js +50 -29
- package/es/dynamic-input/src/InputPreset.d.ts +5 -2
- package/es/dynamic-input/src/InputPreset.js +3 -2
- package/es/dynamic-input/src/PairPreset.d.ts +5 -2
- package/es/dynamic-input/src/PairPreset.js +4 -3
- package/es/dynamic-input/src/interface.d.ts +1 -1
- package/es/dynamic-input/styles/dark.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +3 -3
- package/es/dynamic-tags/src/DynamicTags.js +3 -1
- package/es/element/src/Element.d.ts +11 -11
- package/es/element/styles/dark.d.ts +1 -1
- package/es/element/styles/light.d.ts +1 -1
- package/es/ellipsis/index.d.ts +1 -0
- package/es/ellipsis/index.js +1 -0
- package/es/ellipsis/src/Ellipsis.d.ts +4 -2
- package/es/ellipsis/src/Ellipsis.js +5 -4
- package/es/ellipsis/src/PerformantEllipsis.d.ts +164 -0
- package/es/ellipsis/src/PerformantEllipsis.js +52 -0
- package/es/ellipsis/styles/dark.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +3 -3
- package/es/equation/src/Equation.d.ts +6 -6
- package/es/form/src/Form.d.ts +4 -4
- package/es/form/src/Form.js +4 -2
- package/es/form/src/FormItem.d.ts +4 -4
- package/es/form/src/FormItem.js +1 -1
- package/es/form/src/FormItemCol.d.ts +1 -1
- package/es/form/src/FormItemCol.js +1 -1
- package/es/form/src/FormItemGridItem.d.ts +1 -1
- package/es/form/src/FormItemGridItem.js +1 -1
- package/es/form/src/FormItemRow.d.ts +1 -1
- package/es/form/src/FormItemRow.js +1 -1
- package/es/form/src/interface.d.ts +3 -3
- package/es/form/src/utils.d.ts +1 -1
- package/es/global-style/src/GlobalStyle.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +3 -3
- package/es/gradient-text/styles/dark.d.ts +1 -1
- package/es/grid/src/Grid.d.ts +6 -6
- package/es/grid/src/Grid.js +6 -3
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/icon/src/Icon.d.ts +6 -6
- package/es/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/es/icon-wrapper/src/IconWrapper.js +1 -1
- package/es/image/src/Image.d.ts +9 -3
- package/es/image/src/Image.js +19 -21
- package/es/image/src/ImageGroup.d.ts +10 -4
- package/es/image/src/ImageGroup.js +8 -2
- package/es/image/src/ImagePreview.d.ts +9 -4
- package/es/image/src/ImagePreview.js +10 -1
- package/es/image/src/icons.d.ts +1 -0
- package/es/image/src/icons.js +2 -0
- package/es/image/src/interface.d.ts +7 -5
- package/es/image/src/interface.js +1 -1
- package/es/image/src/utils.d.ts +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/input/src/Input.d.ts +17 -8
- package/es/input/src/Input.js +30 -8
- package/es/input/src/InputGroup.d.ts +2 -2
- package/es/input/src/InputGroupLabel.d.ts +3 -3
- package/es/input/src/WordCount.d.ts +1 -1
- package/es/input/src/interface.d.ts +1 -1
- package/es/input/src/styles/input.cssr.js +4 -3
- package/es/input-number/src/InputNumber.d.ts +5 -4
- package/es/input-number/src/InputNumber.js +2 -1
- package/es/input-number/src/interface.d.ts +1 -0
- package/es/layout/src/Layout.d.ts +5 -5
- package/es/layout/src/LayoutContent.d.ts +2 -2
- package/es/layout/src/LayoutFooter.d.ts +2 -2
- package/es/layout/src/LayoutHeader.d.ts +3 -3
- package/es/layout/src/LayoutSider.d.ts +3 -3
- package/es/layout/src/ToggleBar.d.ts +2 -2
- package/es/layout/src/ToggleButton.d.ts +2 -2
- package/es/layout/src/interface.d.ts +1 -1
- package/es/legacy-grid/src/Col.d.ts +4 -4
- package/es/legacy-grid/src/Row.d.ts +4 -4
- package/es/legacy-transfer/src/Transfer.d.ts +6 -7
- package/es/legacy-transfer/src/TransferFilter.d.ts +2 -2
- package/es/legacy-transfer/src/TransferHeader.d.ts +2 -2
- package/es/legacy-transfer/src/TransferList.d.ts +3 -3
- package/es/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/es/legacy-transfer/src/interface.d.ts +1 -1
- package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/es/list/src/List.d.ts +4 -4
- package/es/list/src/ListItem.d.ts +1 -1
- package/es/list/styles/light.d.ts +1 -1
- package/es/loading-bar/src/LoadingBar.d.ts +3 -3
- package/es/loading-bar/src/LoadingBar.js +18 -11
- package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -3
- package/es/loading-bar/src/context.d.ts +1 -1
- package/es/locales/common/arDZ.js +1 -0
- package/es/locales/common/deDE.js +1 -0
- package/es/locales/common/enGB.js +1 -0
- package/es/locales/common/enUS.d.ts +2 -1
- package/es/locales/common/enUS.js +1 -0
- package/es/locales/common/eo.js +1 -0
- package/es/locales/common/esAR.js +1 -0
- package/es/locales/common/faIR.d.ts +3 -0
- package/es/locales/common/faIR.js +121 -0
- package/es/locales/common/frFR.js +1 -0
- package/es/locales/common/idID.js +18 -17
- package/es/locales/common/itIT.js +1 -0
- package/es/locales/common/jaJP.js +1 -0
- package/es/locales/common/koKR.js +1 -0
- package/es/locales/common/nbNO.js +1 -0
- package/es/locales/common/nlNL.js +1 -0
- package/es/locales/common/plPL.js +1 -0
- package/es/locales/common/ptBR.js +15 -17
- package/es/locales/common/ruRU.js +1 -0
- package/es/locales/common/skSK.js +1 -0
- package/es/locales/common/svSE.d.ts +3 -0
- package/es/locales/common/svSE.js +121 -0
- package/es/locales/common/thTH.js +1 -0
- package/es/locales/common/trTR.js +2 -1
- package/es/locales/common/ukUA.js +1 -0
- package/es/locales/common/viVN.js +1 -0
- package/es/locales/common/zhCN.js +1 -0
- package/es/locales/common/zhTW.js +32 -34
- package/es/locales/date/arDZ.d.ts +1 -1
- package/es/locales/date/deDE.d.ts +1 -1
- package/es/locales/date/enGB.d.ts +1 -1
- package/es/locales/date/enUS.d.ts +1 -1
- package/es/locales/date/eo.d.ts +1 -1
- package/es/locales/date/esAR.d.ts +1 -1
- package/es/locales/date/faIR.d.ts +3 -0
- package/es/locales/date/faIR.js +6 -0
- package/es/locales/date/frFR.d.ts +1 -1
- package/es/locales/date/idID.d.ts +1 -1
- package/es/locales/date/itIT.d.ts +1 -1
- package/es/locales/date/jaJP.d.ts +1 -1
- package/es/locales/date/koKR.d.ts +1 -1
- package/es/locales/date/nbNO.d.ts +1 -1
- package/es/locales/date/nlNL.d.ts +1 -1
- package/es/locales/date/plPL.d.ts +1 -1
- package/es/locales/date/ptBR.d.ts +1 -1
- package/es/locales/date/ruRU.d.ts +1 -1
- package/es/locales/date/skSK.d.ts +1 -1
- package/es/locales/date/svSE.d.ts +3 -0
- package/es/locales/date/svSE.js +6 -0
- package/es/locales/date/thTH.d.ts +1 -1
- package/es/locales/date/trTR.d.ts +1 -1
- package/es/locales/date/ukUA.d.ts +1 -1
- package/es/locales/date/viVN.d.ts +1 -1
- package/es/locales/date/zhCN.d.ts +1 -1
- package/es/locales/date/zhTW.d.ts +1 -1
- package/es/locales/index.d.ts +4 -0
- package/es/locales/index.js +4 -0
- package/es/locales/utils/index.d.ts +1 -1
- package/es/log/src/Log.d.ts +10 -10
- package/es/log/src/Log.js +12 -12
- 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 +7 -7
- package/es/menu/src/Menu.d.ts +11 -11
- package/es/menu/src/Menu.js +1 -1
- package/es/menu/src/MenuDivider.d.ts +1 -1
- package/es/menu/src/MenuOption.d.ts +3 -3
- package/es/menu/src/MenuOptionContent.d.ts +3 -3
- package/es/menu/src/MenuOptionGroup.d.ts +3 -3
- package/es/menu/src/Submenu.d.ts +3 -3
- package/es/menu/src/context.d.ts +2 -2
- package/es/menu/src/interface.d.ts +2 -2
- package/es/menu/src/styles/index.cssr.d.ts +1 -1
- package/es/menu/src/use-menu-child-props.d.ts +2 -2
- package/es/menu/src/use-menu-child.d.ts +3 -3
- package/es/menu/src/utils.d.ts +2 -2
- package/es/message/src/Message.d.ts +2 -2
- package/es/message/src/MessageEnvironment.d.ts +2 -2
- package/es/message/src/MessageProvider.d.ts +3 -3
- package/es/message/src/context.d.ts +1 -1
- package/es/message/src/message-props.d.ts +3 -3
- package/es/message/src/types.d.ts +1 -1
- package/es/message/styles/light.d.ts +1 -1
- package/es/message/styles/rtl.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +3 -3
- package/es/modal/src/Modal.d.ts +3 -3
- package/es/modal/src/interface.d.ts +1 -1
- package/es/notification/src/Notification.d.ts +2 -2
- package/es/notification/src/NotificationContainer.d.ts +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +5 -2
- package/es/notification/src/NotificationProvider.d.ts +5 -5
- package/es/notification/src/styles/index.cssr.d.ts +1 -1
- package/es/notification/src/styles/index.cssr.js +2 -0
- package/es/notification/styles/rtl.d.ts +1 -1
- package/es/number-animation/src/NumberAnimation.d.ts +2 -2
- package/es/page-header/src/PageHeader.d.ts +3 -3
- package/es/pagination/src/Pagination.d.ts +4 -4
- package/es/pagination/src/Pagination.js +3 -1
- package/es/pagination/src/interface.d.ts +2 -2
- package/es/pagination/styles/light.d.ts +1 -1
- package/es/popconfirm/src/Popconfirm.d.ts +5 -4
- package/es/popconfirm/src/Popconfirm.js +13 -5
- package/es/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/es/popconfirm/src/interface.d.ts +1 -1
- package/es/popconfirm/styles/light.d.ts +1 -1
- package/es/popover/src/Popover.d.ts +3 -3
- package/es/popover/src/Popover.js +4 -6
- package/es/popover/src/PopoverBody.d.ts +3 -3
- package/es/popover/src/interface.d.ts +4 -1
- package/es/popover/src/styles/index.cssr.d.ts +1 -1
- package/es/popselect/src/Popselect.d.ts +3 -3
- package/es/popselect/src/Popselect.js +3 -2
- package/es/popselect/src/PopselectPanel.d.ts +8 -8
- package/es/popselect/src/interface.d.ts +1 -1
- package/es/popselect/styles/light.d.ts +1 -1
- package/es/progress/src/Circle.d.ts +3 -3
- package/es/progress/src/Line.d.ts +3 -3
- package/es/progress/src/Line.js +1 -3
- package/es/progress/src/MultipleCircle.d.ts +2 -2
- package/es/progress/src/Progress.d.ts +5 -5
- package/es/radio/src/Radio.d.ts +173 -34
- package/es/radio/src/Radio.js +3 -3
- package/es/radio/src/RadioButton.d.ts +4 -4
- package/es/radio/src/RadioButton.js +3 -3
- package/es/radio/src/RadioGroup.d.ts +4 -4
- package/es/radio/src/use-radio.d.ts +5 -5
- package/es/radio/src/use-radio.js +1 -1
- package/es/radio/styles/light.d.ts +1 -1
- package/es/rate/src/Rate.d.ts +3 -3
- package/es/rate/src/Rate.js +1 -1
- package/es/rate/styles/dark.d.ts +1 -1
- package/es/rate/styles/light.d.ts +1 -1
- package/es/result/src/Result.d.ts +3 -3
- package/es/scrollbar/src/Scrollbar.d.ts +5 -2
- package/es/scrollbar/src/Scrollbar.js +1 -1
- package/es/select/src/Select.d.ts +24 -8
- package/es/select/src/Select.js +24 -3
- package/es/select/src/interface.d.ts +4 -2
- package/es/select/src/utils.d.ts +1 -1
- package/es/skeleton/src/Skeleton.d.ts +3 -3
- package/es/skeleton/styles/dark.d.ts +1 -1
- package/es/skeleton/styles/light.d.ts +1 -1
- package/es/slider/src/Slider.d.ts +5 -5
- package/es/slider/src/Slider.js +12 -4
- package/es/slider/src/utils.d.ts +1 -1
- package/es/slider/src/utils.js +3 -1
- package/es/slider/styles/light.d.ts +1 -1
- package/es/space/src/Space.d.ts +3 -3
- package/es/space/styles/rtl.d.ts +1 -1
- package/es/spin/src/Spin.d.ts +8 -5
- package/es/spin/src/Spin.js +23 -5
- package/es/spin/styles/light.d.ts +1 -1
- package/es/statistic/src/Statistic.d.ts +2 -2
- package/es/statistic/styles/light.d.ts +1 -1
- package/es/statistic/styles/rtl.d.ts +1 -1
- package/es/steps/src/Step.d.ts +3 -3
- package/es/steps/src/Steps.d.ts +3 -3
- package/es/steps/src/styles/index.cssr.js +1 -0
- package/es/steps/styles/rtl.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +3 -3
- package/es/table/src/Table.d.ts +3 -3
- 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/table/styles/light.d.ts +1 -1
- package/es/table/styles/rtl.d.ts +1 -1
- package/es/tabs/src/Tab.d.ts +1 -1
- package/es/tabs/src/TabPane.d.ts +2 -2
- package/es/tabs/src/Tabs.d.ts +129 -11
- package/es/tabs/src/Tabs.js +51 -23
- package/es/tabs/src/interface.d.ts +1 -1
- package/es/tabs/src/styles/index.cssr.js +101 -36
- package/es/tabs/styles/_common.d.ts +12 -0
- package/es/tabs/styles/_common.js +24 -12
- package/es/tabs/styles/light.d.ts +13 -1
- package/es/tag/src/Tag.d.ts +3 -3
- package/es/tag/src/common-props.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 +3 -5
- package/es/theme-editor/src/ThemeEditor.js +1 -1
- package/es/themes/interface.d.ts +1 -1
- package/es/themes/utils.d.ts +1 -1
- package/es/thing/src/Thing.d.ts +2 -2
- package/es/thing/styles/rtl.d.ts +1 -1
- package/es/time/src/Time.d.ts +3 -3
- package/es/time/src/Time.js +1 -1
- package/es/time-picker/src/Panel.d.ts +4 -4
- package/es/time-picker/src/PanelCol.d.ts +3 -3
- package/es/time-picker/src/PanelCol.js +5 -1
- package/es/time-picker/src/TimePicker.d.ts +4 -4
- package/es/time-picker/src/TimePicker.js +1 -1
- package/es/time-picker/src/interface.d.ts +2 -2
- package/es/time-picker/src/utils.d.ts +1 -1
- package/es/timeline/src/Timeline.d.ts +4 -4
- package/es/timeline/src/TimelineItem.d.ts +2 -2
- package/es/tooltip/src/Tooltip.d.ts +1 -1
- package/es/tooltip/src/Tooltip.js +3 -2
- package/es/transfer/src/Transfer.d.ts +13 -8
- package/es/transfer/src/Transfer.js +2 -2
- package/es/transfer/src/TransferFilter.d.ts +2 -2
- package/es/transfer/src/TransferHeader.d.ts +6 -2
- package/es/transfer/src/TransferHeader.js +6 -2
- package/es/transfer/src/TransferList.d.ts +3 -3
- package/es/transfer/src/TransferListItem.d.ts +3 -3
- package/es/transfer/src/interface.d.ts +1 -1
- package/es/transfer/src/use-transfer-data.d.ts +4 -4
- package/es/tree/src/MotionWrapper.d.ts +3 -3
- package/es/tree/src/Tree.d.ts +51 -8
- package/es/tree/src/Tree.js +31 -20
- package/es/tree/src/TreeNode.d.ts +8 -4
- package/es/tree/src/TreeNode.js +43 -7
- package/es/tree/src/TreeNodeCheckbox.d.ts +13 -2
- package/es/tree/src/TreeNodeCheckbox.js +12 -10
- package/es/tree/src/TreeNodeContent.d.ts +3 -3
- package/es/tree/src/TreeNodeSwitcher.d.ts +19 -2
- package/es/tree/src/TreeNodeSwitcher.js +12 -6
- package/es/tree/src/dnd.d.ts +2 -2
- package/es/tree/src/interface.d.ts +4 -2
- package/es/tree/src/keyboard.d.ts +3 -3
- package/es/tree/src/styles/index.cssr.js +46 -51
- package/es/tree/src/utils.d.ts +3 -3
- package/es/tree/styles/light.d.ts +6 -0
- package/es/tree/styles/light.js +3 -0
- package/es/tree-select/src/TreeSelect.d.ts +53 -20
- package/es/tree-select/src/TreeSelect.js +3 -1
- package/es/tree-select/src/interface.d.ts +4 -2
- package/es/tree-select/src/utils.d.ts +2 -2
- package/es/tree-select/styles/light.d.ts +3 -0
- package/es/typography/src/a.d.ts +2 -2
- package/es/typography/src/blockquote.d.ts +2 -2
- package/es/typography/src/create-header.d.ts +4 -4
- package/es/typography/src/headers.d.ts +12 -12
- package/es/typography/src/hr.d.ts +2 -2
- package/es/typography/src/li.d.ts +1 -1
- package/es/typography/src/ol.d.ts +2 -2
- package/es/typography/src/p.d.ts +3 -3
- package/es/typography/src/text.d.ts +3 -3
- package/es/typography/src/ul.d.ts +2 -2
- package/es/upload/src/Upload.d.ts +6 -66
- package/es/upload/src/Upload.js +3 -4
- package/es/upload/src/UploadDragger.d.ts +1 -1
- package/es/upload/src/UploadFile.d.ts +3 -3
- package/es/upload/src/UploadFileList.d.ts +1 -1
- package/es/upload/src/UploadProgress.d.ts +2 -2
- package/es/upload/src/UploadTrigger.d.ts +1 -1
- package/es/upload/src/interface.d.ts +5 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/src/Watermark.d.ts +3 -3
- package/lib/_internal/clear/src/Clear.d.ts +2 -2
- package/lib/_internal/clear/src/Clear.js +2 -0
- package/lib/_internal/close/src/Close.d.ts +2 -2
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +2 -2
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +2 -2
- package/lib/_internal/icon/src/Icon.d.ts +2 -2
- 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 +2 -2
- package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
- package/lib/_internal/scrollbar/src/Scrollbar.js +4 -4
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +1 -0
- package/lib/_internal/scrollbar/styles/rtl.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +4 -4
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -3
- package/lib/_internal/select-menu/src/SelectMenu.js +1 -1
- package/lib/_internal/select-menu/src/SelectOption.d.ts +4 -4
- package/lib/_internal/select-menu/src/interface.d.ts +2 -2
- package/lib/_internal/selection/src/Selection.d.ts +3 -2
- package/lib/_internal/selection/src/Selection.js +13 -5
- package/lib/_internal/selection/src/interface.d.ts +1 -1
- package/lib/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +2 -2
- package/lib/_internal/suffix/src/Suffix.d.ts +2 -2
- package/lib/_internal/wave/src/Wave.d.ts +1 -1
- package/lib/_mixins/use-config.d.ts +3 -2
- package/lib/_mixins/use-config.js +11 -5
- package/lib/_mixins/use-css-vars-class.d.ts +1 -1
- package/lib/_mixins/use-form-item.d.ts +2 -2
- package/lib/_mixins/use-hljs.d.ts +1 -1
- package/lib/_mixins/use-locale.d.ts +1 -1
- package/lib/_mixins/use-rtl.d.ts +2 -2
- package/lib/_mixins/use-style.d.ts +3 -3
- package/lib/_mixins/use-style.js +1 -1
- package/lib/_mixins/use-theme.d.ts +5 -5
- package/lib/_styles/transitions/fade-down.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/icon-switch.cssr.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-left.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-right.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-top.d.ts +1 -1
- package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/lib/_utils/composable/use-browser-location.d.ts +1 -1
- package/lib/_utils/composable/use-browser-location.js +1 -2
- package/lib/_utils/composable/use-collection.d.ts +1 -1
- package/lib/_utils/composable/use-deferred-true.d.ts +1 -1
- package/lib/_utils/composable/use-is-composing.d.ts +1 -1
- package/lib/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/lib/_utils/composable/use-resize.d.ts +1 -1
- package/lib/_utils/cssr/index.d.ts +2 -2
- package/lib/_utils/naive/attribute.d.ts +1 -1
- package/lib/_utils/naive/extract-public-props.d.ts +2 -2
- package/lib/_utils/vue/create-injection-key.d.ts +1 -1
- package/lib/_utils/vue/create-ref-setter.d.ts +1 -1
- package/lib/_utils/vue/flatten.d.ts +1 -1
- package/lib/_utils/vue/get-first-slot-vnode.d.ts +1 -1
- package/lib/_utils/vue/get-slot.d.ts +1 -1
- package/lib/_utils/vue/get-v-node-children.d.ts +1 -1
- package/lib/_utils/vue/is-node-v-show-false.d.ts +1 -1
- package/lib/_utils/vue/keysOf.d.ts +1 -1
- package/lib/_utils/vue/omit.d.ts +1 -1
- package/lib/_utils/vue/render.d.ts +1 -1
- package/lib/_utils/vue/resolve-slot.d.ts +1 -1
- package/lib/_utils/vue/wrapper.d.ts +1 -1
- package/lib/affix/src/Affix.d.ts +3 -3
- package/lib/alert/src/Alert.d.ts +3 -3
- package/lib/alert/src/Alert.js +4 -0
- package/lib/alert/src/styles/index.cssr.js +4 -0
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/BaseAnchor.d.ts +2 -2
- package/lib/anchor/src/BaseAnchor.js +3 -1
- package/lib/anchor/src/Link.d.ts +3 -3
- package/lib/auto-complete/src/AutoComplete.d.ts +8 -9
- package/lib/auto-complete/src/interface.d.ts +3 -2
- package/lib/auto-complete/src/utils.d.ts +2 -2
- package/lib/avatar/src/Avatar.d.ts +4 -4
- package/lib/avatar-group/src/AvatarGroup.d.ts +4 -4
- package/lib/avatar-group/styles/light.d.ts +1 -1
- package/lib/avatar-group/styles/rtl.d.ts +1 -1
- package/lib/back-top/src/BackTop.d.ts +3 -3
- package/lib/badge/src/Badge.d.ts +3 -3
- package/lib/badge/src/Badge.js +1 -1
- package/lib/badge/styles/light.d.ts +1 -1
- package/lib/badge/styles/rtl.d.ts +1 -1
- package/lib/breadcrumb/src/Breadcrumb.d.ts +4 -4
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
- package/lib/button/src/Button.d.ts +4 -4
- package/lib/button/src/Button.js +1 -1
- package/lib/button/styles/rtl.d.ts +1 -1
- package/lib/button-group/src/ButtonGroup.d.ts +3 -3
- package/lib/button-group/src/styles/index.cssr.d.ts +1 -1
- package/lib/button-group/src/styles/rtl.cssr.d.ts +1 -1
- package/lib/button-group/styles/rtl.d.ts +1 -1
- package/lib/calendar/src/Calendar.d.ts +4 -4
- package/lib/card/src/Card.d.ts +7 -7
- package/lib/card/styles/light.d.ts +1 -1
- package/lib/card/styles/rtl.d.ts +1 -1
- package/lib/carousel/src/Carousel.d.ts +2 -2
- package/lib/carousel/src/Carousel.js +6 -2
- package/lib/carousel/src/CarouselArrow.d.ts +2 -2
- package/lib/carousel/src/CarouselContext.js +3 -1
- package/lib/carousel/src/CarouselDots.d.ts +2 -2
- package/lib/carousel/src/CarouselDots.js +7 -1
- package/lib/carousel/src/CarouselItem.d.ts +2 -2
- package/lib/carousel/src/CarouselItem.js +4 -3
- package/lib/carousel/src/interface.d.ts +1 -1
- package/lib/carousel/src/utils/index.d.ts +1 -1
- package/lib/carousel/styles/light.d.ts +1 -1
- package/lib/cascader/src/Cascader.d.ts +13 -12
- package/lib/cascader/src/CascaderMenu.d.ts +4 -4
- package/lib/cascader/src/CascaderOption.d.ts +3 -3
- package/lib/cascader/src/CascaderSelectMenu.d.ts +5 -5
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/lib/cascader/src/interface.d.ts +2 -2
- package/lib/checkbox/src/Checkbox.d.ts +4 -4
- package/lib/checkbox/src/Checkbox.js +9 -2
- package/lib/checkbox/src/CheckboxGroup.d.ts +4 -5
- package/lib/checkbox/src/styles/index.cssr.js +9 -11
- package/lib/code/src/Code.d.ts +4 -4
- package/lib/code/styles/light.d.ts +1 -1
- package/lib/collapse/src/Collapse.d.ts +16 -6
- package/lib/collapse/src/Collapse.js +2 -1
- package/lib/collapse/src/CollapseItem.d.ts +3 -3
- package/lib/collapse/src/CollapseItemContent.d.ts +2 -2
- package/lib/collapse/src/styles/index.cssr.js +2 -1
- package/lib/collapse/styles/light.d.ts +2 -1
- package/lib/collapse/styles/light.js +2 -1
- package/lib/collapse-transition/src/CollapseTransition.d.ts +3 -3
- package/lib/collapse-transition/styles/light.d.ts +1 -1
- package/lib/color-picker/src/AlphaSlider.d.ts +3 -3
- package/lib/color-picker/src/ColorInput.d.ts +3 -3
- package/lib/color-picker/src/ColorInputUnit.d.ts +2 -2
- package/lib/color-picker/src/ColorPicker.d.ts +6 -6
- package/lib/color-picker/src/ColorPicker.js +6 -2
- package/lib/color-picker/src/ColorPickerSwatches.d.ts +3 -3
- package/lib/color-picker/src/ColorPickerSwatches.js +5 -1
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +3 -3
- package/lib/color-picker/src/ColorPreview.d.ts +3 -3
- package/lib/color-picker/src/HueSlider.d.ts +2 -2
- package/lib/color-picker/src/Pallete.d.ts +3 -3
- package/lib/color-picker/src/context.d.ts +1 -1
- package/lib/color-picker/src/interface.d.ts +1 -1
- package/lib/composables/use-theme-vars.d.ts +1 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +27 -14
- package/lib/config-provider/src/ConfigProvider.js +4 -2
- package/lib/config-provider/src/internal-interface.d.ts +3 -3
- package/lib/config-provider/src/katex.d.ts +1 -1
- package/lib/countdown/src/Countdown.d.ts +2 -2
- package/lib/create.d.ts +1 -1
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +4 -4
- package/lib/data-table/src/DataTable.js +0 -6
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +5 -5
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +8 -7
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +3 -3
- package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +3 -3
- package/lib/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/ResizeButton.js +1 -0
- package/lib/data-table/src/HeaderButton/SortButton.d.ts +5 -5
- package/lib/data-table/src/MainTable.d.ts +1 -1
- package/lib/data-table/src/TableParts/Body.d.ts +5 -6
- package/lib/data-table/src/TableParts/Body.js +19 -12
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +3 -3
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +3 -3
- package/lib/data-table/src/TableParts/Cell.d.ts +5 -5
- package/lib/data-table/src/TableParts/Cell.js +9 -2
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +5 -4
- package/lib/data-table/src/TableParts/ExpandTrigger.js +6 -2
- package/lib/data-table/src/TableParts/Header.d.ts +2 -4
- package/lib/data-table/src/TableParts/Header.js +9 -13
- package/lib/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
- package/lib/data-table/src/interface.d.ts +11 -9
- package/lib/data-table/src/styles/index.cssr.d.ts +1 -1
- package/lib/data-table/src/styles/index.cssr.js +2 -0
- package/lib/data-table/src/use-check.d.ts +2 -2
- package/lib/data-table/src/use-expand.d.ts +2 -2
- package/lib/data-table/src/use-group-header.d.ts +1 -1
- package/lib/data-table/src/use-scroll.d.ts +2 -3
- package/lib/data-table/src/use-scroll.js +21 -13
- package/lib/data-table/src/use-sorter.d.ts +1 -1
- package/lib/data-table/src/use-table-data.d.ts +2 -2
- package/lib/data-table/src/utils.d.ts +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +5 -5
- package/lib/date-picker/src/interface.d.ts +4 -4
- package/lib/date-picker/src/panel/date.d.ts +6 -6
- package/lib/date-picker/src/panel/date.js +3 -1
- package/lib/date-picker/src/panel/daterange.d.ts +3 -3
- package/lib/date-picker/src/panel/daterange.js +10 -2
- package/lib/date-picker/src/panel/datetime.d.ts +3 -3
- package/lib/date-picker/src/panel/datetime.js +3 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +3 -3
- package/lib/date-picker/src/panel/datetimerange.js +16 -4
- package/lib/date-picker/src/panel/month.d.ts +4 -4
- package/lib/date-picker/src/panel/month.js +4 -1
- package/lib/date-picker/src/panel/monthrange.d.ts +4 -4
- package/lib/date-picker/src/panel/panelHeader.d.ts +74 -51
- package/lib/date-picker/src/panel/use-calendar.d.ts +4 -4
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +7 -7
- package/lib/date-picker/src/panel/use-panel-common.d.ts +3 -3
- package/lib/date-picker/src/styles/index.cssr.js +1 -0
- package/lib/date-picker/src/utils.d.ts +1 -1
- package/lib/date-picker/src/validation-utils.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +3 -3
- package/lib/descriptions/src/Descriptions.js +6 -1
- package/lib/descriptions/src/DescriptionsItem.d.ts +2 -2
- package/lib/descriptions/src/utils.d.ts +1 -1
- package/lib/descriptions/styles/light.d.ts +2 -2
- package/lib/dialog/src/Dialog.d.ts +2 -2
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +6 -6
- package/lib/dialog/src/DialogProvider.js +3 -1
- package/lib/dialog/src/composables.d.ts +1 -1
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/discrete/src/InjectionExtractor.d.ts +2 -2
- package/lib/discrete/src/discrete.d.ts +2 -2
- package/lib/discrete/src/discreteApp.d.ts +7 -7
- package/lib/discrete/src/interface.d.ts +10 -10
- package/lib/divider/src/Divider.d.ts +3 -3
- package/lib/drawer/src/Drawer.d.ts +17 -4
- package/lib/drawer/src/Drawer.js +2 -2
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +10 -2
- package/lib/drawer/src/DrawerBodyWrapper.js +25 -1
- package/lib/drawer/src/DrawerContent.d.ts +2 -2
- package/lib/drawer/src/interface.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +9 -9
- package/lib/dropdown/src/DropdownDivider.d.ts +1 -1
- package/lib/dropdown/src/DropdownGroup.d.ts +3 -3
- package/lib/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/lib/dropdown/src/DropdownMenu.d.ts +3 -3
- package/lib/dropdown/src/DropdownOption.d.ts +4 -4
- package/lib/dropdown/src/DropdownRenderOption.d.ts +3 -3
- package/lib/dropdown/src/interface.d.ts +2 -2
- package/lib/dynamic-input/src/DynamicInput.d.ts +7 -3
- package/lib/dynamic-input/src/DynamicInput.js +50 -29
- package/lib/dynamic-input/src/InputPreset.d.ts +5 -2
- package/lib/dynamic-input/src/InputPreset.js +3 -2
- package/lib/dynamic-input/src/PairPreset.d.ts +5 -2
- package/lib/dynamic-input/src/PairPreset.js +4 -3
- package/lib/dynamic-input/src/interface.d.ts +1 -1
- package/lib/dynamic-input/styles/dark.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +3 -3
- package/lib/dynamic-tags/src/DynamicTags.js +3 -1
- package/lib/element/src/Element.d.ts +11 -11
- package/lib/element/styles/dark.d.ts +1 -1
- package/lib/element/styles/light.d.ts +1 -1
- package/lib/ellipsis/index.d.ts +1 -0
- package/lib/ellipsis/index.js +3 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +4 -2
- package/lib/ellipsis/src/Ellipsis.js +5 -2
- package/lib/ellipsis/src/PerformantEllipsis.d.ts +164 -0
- package/lib/ellipsis/src/PerformantEllipsis.js +81 -0
- package/lib/ellipsis/styles/dark.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +3 -3
- package/lib/equation/src/Equation.d.ts +6 -6
- package/lib/form/src/Form.d.ts +4 -4
- package/lib/form/src/Form.js +4 -2
- package/lib/form/src/FormItem.d.ts +4 -4
- package/lib/form/src/FormItem.js +1 -1
- package/lib/form/src/FormItemCol.d.ts +1 -1
- package/lib/form/src/FormItemCol.js +1 -1
- package/lib/form/src/FormItemGridItem.d.ts +1 -1
- package/lib/form/src/FormItemGridItem.js +1 -1
- package/lib/form/src/FormItemRow.d.ts +1 -1
- package/lib/form/src/FormItemRow.js +1 -1
- package/lib/form/src/interface.d.ts +3 -3
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/global-style/src/GlobalStyle.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +3 -3
- package/lib/gradient-text/styles/dark.d.ts +1 -1
- package/lib/grid/src/Grid.d.ts +6 -6
- package/lib/grid/src/Grid.js +6 -3
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/icon/src/Icon.d.ts +6 -6
- package/lib/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/lib/icon-wrapper/src/IconWrapper.js +1 -1
- package/lib/image/src/Image.d.ts +9 -3
- package/lib/image/src/Image.js +19 -21
- package/lib/image/src/ImageGroup.d.ts +10 -4
- package/lib/image/src/ImageGroup.js +8 -2
- package/lib/image/src/ImagePreview.d.ts +9 -4
- package/lib/image/src/ImagePreview.js +9 -0
- package/lib/image/src/icons.d.ts +1 -0
- package/lib/image/src/icons.js +3 -1
- package/lib/image/src/interface.d.ts +7 -5
- package/lib/image/src/interface.js +1 -1
- package/lib/image/src/utils.d.ts +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -1
- package/lib/input/src/Input.d.ts +17 -8
- package/lib/input/src/Input.js +30 -8
- package/lib/input/src/InputGroup.d.ts +2 -2
- package/lib/input/src/InputGroupLabel.d.ts +3 -3
- package/lib/input/src/WordCount.d.ts +1 -1
- package/lib/input/src/interface.d.ts +1 -1
- package/lib/input/src/styles/input.cssr.js +4 -3
- package/lib/input-number/src/InputNumber.d.ts +5 -4
- package/lib/input-number/src/InputNumber.js +2 -1
- package/lib/input-number/src/interface.d.ts +1 -0
- package/lib/layout/src/Layout.d.ts +5 -5
- package/lib/layout/src/LayoutContent.d.ts +2 -2
- package/lib/layout/src/LayoutFooter.d.ts +2 -2
- package/lib/layout/src/LayoutHeader.d.ts +3 -3
- package/lib/layout/src/LayoutSider.d.ts +3 -3
- package/lib/layout/src/ToggleBar.d.ts +2 -2
- package/lib/layout/src/ToggleButton.d.ts +2 -2
- package/lib/layout/src/interface.d.ts +1 -1
- package/lib/legacy-grid/src/Col.d.ts +4 -4
- package/lib/legacy-grid/src/Row.d.ts +4 -4
- package/lib/legacy-transfer/src/Transfer.d.ts +6 -7
- package/lib/legacy-transfer/src/TransferFilter.d.ts +2 -2
- package/lib/legacy-transfer/src/TransferHeader.d.ts +2 -2
- package/lib/legacy-transfer/src/TransferList.d.ts +3 -3
- package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/lib/legacy-transfer/src/interface.d.ts +1 -1
- package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/lib/list/src/List.d.ts +4 -4
- package/lib/list/src/ListItem.d.ts +1 -1
- package/lib/list/styles/light.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBar.d.ts +3 -3
- package/lib/loading-bar/src/LoadingBar.js +18 -11
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -3
- package/lib/loading-bar/src/context.d.ts +1 -1
- package/lib/locales/common/arDZ.js +1 -0
- package/lib/locales/common/deDE.js +1 -0
- package/lib/locales/common/enGB.js +1 -0
- package/lib/locales/common/enUS.d.ts +2 -1
- package/lib/locales/common/enUS.js +1 -0
- package/lib/locales/common/eo.js +1 -0
- package/lib/locales/common/esAR.js +1 -0
- package/lib/locales/common/faIR.d.ts +3 -0
- package/lib/locales/common/faIR.js +123 -0
- package/lib/locales/common/frFR.js +1 -0
- package/lib/locales/common/idID.js +18 -17
- package/lib/locales/common/itIT.js +1 -0
- package/lib/locales/common/jaJP.js +1 -0
- package/lib/locales/common/koKR.js +1 -0
- package/lib/locales/common/nbNO.js +1 -0
- package/lib/locales/common/nlNL.js +1 -0
- package/lib/locales/common/plPL.js +1 -0
- package/lib/locales/common/ptBR.js +15 -17
- package/lib/locales/common/ruRU.js +1 -0
- package/lib/locales/common/skSK.js +1 -0
- package/lib/locales/common/svSE.d.ts +3 -0
- package/lib/locales/common/svSE.js +123 -0
- package/lib/locales/common/thTH.js +1 -0
- package/lib/locales/common/trTR.js +2 -1
- package/lib/locales/common/ukUA.js +1 -0
- package/lib/locales/common/viVN.js +1 -0
- package/lib/locales/common/zhCN.js +1 -0
- package/lib/locales/common/zhTW.js +32 -34
- package/lib/locales/date/arDZ.d.ts +1 -1
- package/lib/locales/date/deDE.d.ts +1 -1
- package/lib/locales/date/enGB.d.ts +1 -1
- package/lib/locales/date/enUS.d.ts +1 -1
- package/lib/locales/date/eo.d.ts +1 -1
- package/lib/locales/date/esAR.d.ts +1 -1
- package/lib/locales/date/faIR.d.ts +3 -0
- package/lib/locales/date/faIR.js +11 -0
- package/lib/locales/date/frFR.d.ts +1 -1
- package/lib/locales/date/idID.d.ts +1 -1
- package/lib/locales/date/itIT.d.ts +1 -1
- package/lib/locales/date/jaJP.d.ts +1 -1
- package/lib/locales/date/koKR.d.ts +1 -1
- package/lib/locales/date/nbNO.d.ts +1 -1
- package/lib/locales/date/nlNL.d.ts +1 -1
- package/lib/locales/date/plPL.d.ts +1 -1
- package/lib/locales/date/ptBR.d.ts +1 -1
- package/lib/locales/date/ruRU.d.ts +1 -1
- package/lib/locales/date/skSK.d.ts +1 -1
- package/lib/locales/date/svSE.d.ts +3 -0
- package/lib/locales/date/svSE.js +11 -0
- package/lib/locales/date/thTH.d.ts +1 -1
- package/lib/locales/date/trTR.d.ts +1 -1
- package/lib/locales/date/ukUA.d.ts +1 -1
- package/lib/locales/date/viVN.d.ts +1 -1
- package/lib/locales/date/zhCN.d.ts +1 -1
- package/lib/locales/date/zhTW.d.ts +1 -1
- package/lib/locales/index.d.ts +4 -0
- package/lib/locales/index.js +10 -1
- package/lib/locales/utils/index.d.ts +1 -1
- package/lib/log/src/Log.d.ts +10 -10
- package/lib/log/src/Log.js +12 -12
- 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 +7 -7
- package/lib/menu/src/Menu.d.ts +11 -11
- package/lib/menu/src/Menu.js +1 -1
- package/lib/menu/src/MenuDivider.d.ts +1 -1
- package/lib/menu/src/MenuOption.d.ts +3 -3
- package/lib/menu/src/MenuOptionContent.d.ts +3 -3
- package/lib/menu/src/MenuOptionGroup.d.ts +3 -3
- package/lib/menu/src/Submenu.d.ts +3 -3
- package/lib/menu/src/context.d.ts +2 -2
- package/lib/menu/src/interface.d.ts +2 -2
- package/lib/menu/src/styles/index.cssr.d.ts +1 -1
- package/lib/menu/src/use-menu-child-props.d.ts +2 -2
- package/lib/menu/src/use-menu-child.d.ts +3 -3
- package/lib/menu/src/utils.d.ts +2 -2
- package/lib/message/src/Message.d.ts +2 -2
- package/lib/message/src/MessageEnvironment.d.ts +2 -2
- package/lib/message/src/MessageProvider.d.ts +3 -3
- package/lib/message/src/context.d.ts +1 -1
- package/lib/message/src/message-props.d.ts +3 -3
- package/lib/message/src/types.d.ts +1 -1
- package/lib/message/styles/light.d.ts +1 -1
- package/lib/message/styles/rtl.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +3 -3
- package/lib/modal/src/Modal.d.ts +3 -3
- package/lib/modal/src/interface.d.ts +1 -1
- package/lib/notification/src/Notification.d.ts +2 -2
- package/lib/notification/src/NotificationContainer.d.ts +2 -2
- package/lib/notification/src/NotificationEnvironment.d.ts +5 -2
- package/lib/notification/src/NotificationProvider.d.ts +5 -5
- package/lib/notification/src/styles/index.cssr.d.ts +1 -1
- package/lib/notification/src/styles/index.cssr.js +2 -0
- package/lib/notification/styles/rtl.d.ts +1 -1
- package/lib/number-animation/src/NumberAnimation.d.ts +2 -2
- package/lib/page-header/src/PageHeader.d.ts +3 -3
- package/lib/pagination/src/Pagination.d.ts +4 -4
- package/lib/pagination/src/Pagination.js +3 -1
- package/lib/pagination/src/interface.d.ts +2 -2
- package/lib/pagination/styles/light.d.ts +1 -1
- package/lib/popconfirm/src/Popconfirm.d.ts +5 -4
- package/lib/popconfirm/src/Popconfirm.js +13 -5
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/lib/popconfirm/src/interface.d.ts +1 -1
- package/lib/popconfirm/styles/light.d.ts +1 -1
- package/lib/popover/src/Popover.d.ts +3 -3
- package/lib/popover/src/Popover.js +3 -5
- package/lib/popover/src/PopoverBody.d.ts +3 -3
- package/lib/popover/src/interface.d.ts +4 -1
- package/lib/popover/src/styles/index.cssr.d.ts +1 -1
- package/lib/popselect/src/Popselect.d.ts +3 -3
- package/lib/popselect/src/Popselect.js +2 -1
- package/lib/popselect/src/PopselectPanel.d.ts +8 -8
- package/lib/popselect/src/interface.d.ts +1 -1
- package/lib/popselect/styles/light.d.ts +1 -1
- package/lib/progress/src/Circle.d.ts +3 -3
- package/lib/progress/src/Line.d.ts +3 -3
- package/lib/progress/src/Line.js +1 -3
- package/lib/progress/src/MultipleCircle.d.ts +2 -2
- package/lib/progress/src/Progress.d.ts +5 -5
- package/lib/radio/src/Radio.d.ts +173 -34
- package/lib/radio/src/Radio.js +2 -2
- package/lib/radio/src/RadioButton.d.ts +4 -4
- package/lib/radio/src/RadioButton.js +2 -2
- package/lib/radio/src/RadioGroup.d.ts +4 -4
- package/lib/radio/src/use-radio.d.ts +5 -5
- package/lib/radio/src/use-radio.js +2 -2
- package/lib/radio/styles/light.d.ts +1 -1
- package/lib/rate/src/Rate.d.ts +3 -3
- package/lib/rate/src/Rate.js +1 -1
- package/lib/rate/styles/dark.d.ts +1 -1
- package/lib/rate/styles/light.d.ts +1 -1
- package/lib/result/src/Result.d.ts +3 -3
- package/lib/scrollbar/src/Scrollbar.d.ts +5 -2
- package/lib/scrollbar/src/Scrollbar.js +1 -1
- package/lib/select/src/Select.d.ts +24 -8
- package/lib/select/src/Select.js +24 -3
- package/lib/select/src/interface.d.ts +4 -2
- package/lib/select/src/utils.d.ts +1 -1
- package/lib/skeleton/src/Skeleton.d.ts +3 -3
- package/lib/skeleton/styles/dark.d.ts +1 -1
- package/lib/skeleton/styles/light.d.ts +1 -1
- package/lib/slider/src/Slider.d.ts +5 -5
- package/lib/slider/src/Slider.js +12 -4
- package/lib/slider/src/utils.d.ts +1 -1
- package/lib/slider/src/utils.js +3 -1
- package/lib/slider/styles/light.d.ts +1 -1
- package/lib/space/src/Space.d.ts +3 -3
- package/lib/space/styles/rtl.d.ts +1 -1
- package/lib/spin/src/Spin.d.ts +8 -5
- package/lib/spin/src/Spin.js +22 -4
- package/lib/spin/styles/light.d.ts +1 -1
- package/lib/statistic/src/Statistic.d.ts +2 -2
- package/lib/statistic/styles/light.d.ts +1 -1
- package/lib/statistic/styles/rtl.d.ts +1 -1
- package/lib/steps/src/Step.d.ts +3 -3
- package/lib/steps/src/Steps.d.ts +3 -3
- package/lib/steps/src/styles/index.cssr.js +1 -0
- package/lib/steps/styles/rtl.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +3 -3
- package/lib/table/src/Table.d.ts +3 -3
- 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/table/styles/light.d.ts +1 -1
- package/lib/table/styles/rtl.d.ts +1 -1
- package/lib/tabs/src/Tab.d.ts +1 -1
- package/lib/tabs/src/TabPane.d.ts +2 -2
- package/lib/tabs/src/Tabs.d.ts +129 -11
- package/lib/tabs/src/Tabs.js +51 -23
- package/lib/tabs/src/interface.d.ts +1 -1
- package/lib/tabs/src/styles/index.cssr.js +101 -36
- package/lib/tabs/styles/_common.d.ts +12 -0
- package/lib/tabs/styles/_common.js +24 -12
- package/lib/tabs/styles/light.d.ts +13 -1
- package/lib/tag/src/Tag.d.ts +3 -3
- package/lib/tag/src/common-props.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 +3 -5
- package/lib/theme-editor/src/ThemeEditor.js +1 -1
- package/lib/themes/interface.d.ts +1 -1
- package/lib/themes/utils.d.ts +1 -1
- package/lib/thing/src/Thing.d.ts +2 -2
- package/lib/thing/styles/rtl.d.ts +1 -1
- package/lib/time/src/Time.d.ts +3 -3
- package/lib/time/src/Time.js +1 -1
- package/lib/time-picker/src/Panel.d.ts +4 -4
- package/lib/time-picker/src/PanelCol.d.ts +3 -3
- package/lib/time-picker/src/PanelCol.js +5 -1
- package/lib/time-picker/src/TimePicker.d.ts +4 -4
- package/lib/time-picker/src/TimePicker.js +1 -1
- package/lib/time-picker/src/interface.d.ts +2 -2
- package/lib/time-picker/src/utils.d.ts +1 -1
- package/lib/timeline/src/Timeline.d.ts +4 -4
- package/lib/timeline/src/TimelineItem.d.ts +2 -2
- package/lib/tooltip/src/Tooltip.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.js +2 -1
- package/lib/transfer/src/Transfer.d.ts +13 -8
- package/lib/transfer/src/Transfer.js +2 -2
- package/lib/transfer/src/TransferFilter.d.ts +2 -2
- package/lib/transfer/src/TransferHeader.d.ts +6 -2
- package/lib/transfer/src/TransferHeader.js +6 -2
- package/lib/transfer/src/TransferList.d.ts +3 -3
- package/lib/transfer/src/TransferListItem.d.ts +3 -3
- package/lib/transfer/src/interface.d.ts +1 -1
- package/lib/transfer/src/use-transfer-data.d.ts +4 -4
- package/lib/tree/src/MotionWrapper.d.ts +3 -3
- package/lib/tree/src/Tree.d.ts +51 -8
- package/lib/tree/src/Tree.js +30 -19
- package/lib/tree/src/TreeNode.d.ts +8 -4
- package/lib/tree/src/TreeNode.js +43 -7
- package/lib/tree/src/TreeNodeCheckbox.d.ts +13 -2
- package/lib/tree/src/TreeNodeCheckbox.js +12 -10
- package/lib/tree/src/TreeNodeContent.d.ts +3 -3
- package/lib/tree/src/TreeNodeSwitcher.d.ts +19 -2
- package/lib/tree/src/TreeNodeSwitcher.js +12 -6
- package/lib/tree/src/dnd.d.ts +2 -2
- package/lib/tree/src/interface.d.ts +4 -2
- package/lib/tree/src/keyboard.d.ts +3 -3
- package/lib/tree/src/styles/index.cssr.js +46 -51
- package/lib/tree/src/utils.d.ts +3 -3
- package/lib/tree/src/utils.js +1 -0
- package/lib/tree/styles/light.d.ts +6 -0
- package/lib/tree/styles/light.js +3 -0
- package/lib/tree-select/src/TreeSelect.d.ts +53 -20
- package/lib/tree-select/src/TreeSelect.js +3 -1
- package/lib/tree-select/src/interface.d.ts +4 -2
- package/lib/tree-select/src/utils.d.ts +2 -2
- package/lib/tree-select/styles/light.d.ts +3 -0
- package/lib/typography/src/a.d.ts +2 -2
- package/lib/typography/src/blockquote.d.ts +2 -2
- package/lib/typography/src/create-header.d.ts +4 -4
- package/lib/typography/src/headers.d.ts +12 -12
- package/lib/typography/src/hr.d.ts +2 -2
- package/lib/typography/src/li.d.ts +1 -1
- package/lib/typography/src/ol.d.ts +2 -2
- package/lib/typography/src/p.d.ts +3 -3
- package/lib/typography/src/text.d.ts +3 -3
- package/lib/typography/src/ul.d.ts +2 -2
- package/lib/upload/src/Upload.d.ts +6 -66
- package/lib/upload/src/Upload.js +3 -4
- package/lib/upload/src/UploadDragger.d.ts +1 -1
- package/lib/upload/src/UploadFile.d.ts +3 -3
- package/lib/upload/src/UploadFileList.d.ts +1 -1
- package/lib/upload/src/UploadProgress.d.ts +2 -2
- package/lib/upload/src/UploadTrigger.d.ts +1 -1
- package/lib/upload/src/interface.d.ts +5 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +3 -3
- package/package.json +69 -69
- package/volar.d.ts +1 -0
- package/web-types.json +231 -27
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HSVA } from 'seemly';
|
|
2
|
-
import { PropType } from 'vue';
|
|
1
|
+
import type { HSVA } from 'seemly';
|
|
2
|
+
import { type PropType } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
clsPrefix: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -50,5 +50,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
onComplete: PropType<() => void>;
|
|
51
51
|
}>>, {
|
|
52
52
|
rgba: HSVA | null;
|
|
53
|
-
}>;
|
|
53
|
+
}, {}>;
|
|
54
54
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
2
|
import type { ThemeCommonVars } from '../_styles/common';
|
|
3
3
|
import type { CustomThemeCommonVars } from '../config-provider';
|
|
4
4
|
export declare function useThemeVars(): ComputedRef<ThemeCommonVars & CustomThemeCommonVars>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType, ComputedRef, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { Hljs } from '../../_mixins';
|
|
3
|
-
import { NDateLocale } from '../../locales';
|
|
1
|
+
import { type PropType, type ComputedRef, type ExtractPropTypes } from 'vue';
|
|
2
|
+
import { type Hljs } from '../../_mixins';
|
|
3
|
+
import type { NDateLocale } from '../../locales';
|
|
4
4
|
import type { GlobalTheme, GlobalThemeOverrides, GlobalComponentConfig, GlobalIconConfig } from './interface';
|
|
5
5
|
import type { RtlProp, Breakpoints } from './internal-interface';
|
|
6
6
|
export declare const configProviderProps: {
|
|
@@ -9,7 +9,10 @@ export declare const configProviderProps: {
|
|
|
9
9
|
readonly type: PropType<boolean | undefined>;
|
|
10
10
|
readonly default: undefined;
|
|
11
11
|
};
|
|
12
|
-
readonly clsPrefix:
|
|
12
|
+
readonly clsPrefix: {
|
|
13
|
+
readonly type: StringConstructor;
|
|
14
|
+
readonly default: "n";
|
|
15
|
+
};
|
|
13
16
|
readonly locale: PropType<{
|
|
14
17
|
name: string;
|
|
15
18
|
global: {
|
|
@@ -57,7 +60,7 @@ export declare const configProviderProps: {
|
|
|
57
60
|
startMonthPlaceholder: string;
|
|
58
61
|
endMonthPlaceholder: string;
|
|
59
62
|
monthBeforeYear: boolean;
|
|
60
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
63
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
61
64
|
today: string;
|
|
62
65
|
};
|
|
63
66
|
DataTable: {
|
|
@@ -125,6 +128,7 @@ export declare const configProviderProps: {
|
|
|
125
128
|
tipClockwise: string;
|
|
126
129
|
tipZoomOut: string;
|
|
127
130
|
tipZoomIn: string;
|
|
131
|
+
tipDownload: string;
|
|
128
132
|
tipClose: string;
|
|
129
133
|
tipOriginalSize: string;
|
|
130
134
|
};
|
|
@@ -137,7 +141,7 @@ export declare const configProviderProps: {
|
|
|
137
141
|
readonly default: "div";
|
|
138
142
|
};
|
|
139
143
|
readonly hljs: PropType<Hljs>;
|
|
140
|
-
readonly katex: PropType<typeof import("katex")
|
|
144
|
+
readonly katex: PropType<typeof import("katex")>;
|
|
141
145
|
readonly theme: PropType<GlobalTheme | null>;
|
|
142
146
|
readonly themeOverrides: PropType<GlobalThemeOverrides | null>;
|
|
143
147
|
readonly componentOptions: PropType<GlobalComponentConfig>;
|
|
@@ -161,7 +165,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
161
165
|
readonly type: PropType<boolean | undefined>;
|
|
162
166
|
readonly default: undefined;
|
|
163
167
|
};
|
|
164
|
-
readonly clsPrefix:
|
|
168
|
+
readonly clsPrefix: {
|
|
169
|
+
readonly type: StringConstructor;
|
|
170
|
+
readonly default: "n";
|
|
171
|
+
};
|
|
165
172
|
readonly locale: PropType<{
|
|
166
173
|
name: string;
|
|
167
174
|
global: {
|
|
@@ -209,7 +216,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
209
216
|
startMonthPlaceholder: string;
|
|
210
217
|
endMonthPlaceholder: string;
|
|
211
218
|
monthBeforeYear: boolean;
|
|
212
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
219
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
213
220
|
today: string;
|
|
214
221
|
};
|
|
215
222
|
DataTable: {
|
|
@@ -277,6 +284,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
277
284
|
tipClockwise: string;
|
|
278
285
|
tipZoomOut: string;
|
|
279
286
|
tipZoomIn: string;
|
|
287
|
+
tipDownload: string;
|
|
280
288
|
tipClose: string;
|
|
281
289
|
tipOriginalSize: string;
|
|
282
290
|
};
|
|
@@ -289,7 +297,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
289
297
|
readonly default: "div";
|
|
290
298
|
};
|
|
291
299
|
readonly hljs: PropType<Hljs>;
|
|
292
|
-
readonly katex: PropType<typeof import("katex")
|
|
300
|
+
readonly katex: PropType<typeof import("katex")>;
|
|
293
301
|
readonly theme: PropType<GlobalTheme | null>;
|
|
294
302
|
readonly themeOverrides: PropType<GlobalThemeOverrides | null>;
|
|
295
303
|
readonly componentOptions: PropType<GlobalComponentConfig>;
|
|
@@ -306,7 +314,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
306
314
|
readonly default: undefined;
|
|
307
315
|
};
|
|
308
316
|
}, {
|
|
309
|
-
mergedClsPrefix: ComputedRef<string
|
|
317
|
+
mergedClsPrefix: ComputedRef<string>;
|
|
310
318
|
mergedBordered: ComputedRef<boolean | undefined>;
|
|
311
319
|
mergedNamespace: ComputedRef<string | undefined>;
|
|
312
320
|
mergedTheme: ComputedRef<GlobalTheme | undefined>;
|
|
@@ -317,7 +325,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
317
325
|
readonly type: PropType<boolean | undefined>;
|
|
318
326
|
readonly default: undefined;
|
|
319
327
|
};
|
|
320
|
-
readonly clsPrefix:
|
|
328
|
+
readonly clsPrefix: {
|
|
329
|
+
readonly type: StringConstructor;
|
|
330
|
+
readonly default: "n";
|
|
331
|
+
};
|
|
321
332
|
readonly locale: PropType<{
|
|
322
333
|
name: string;
|
|
323
334
|
global: {
|
|
@@ -365,7 +376,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
365
376
|
startMonthPlaceholder: string;
|
|
366
377
|
endMonthPlaceholder: string;
|
|
367
378
|
monthBeforeYear: boolean;
|
|
368
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
379
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
369
380
|
today: string;
|
|
370
381
|
};
|
|
371
382
|
DataTable: {
|
|
@@ -433,6 +444,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
433
444
|
tipClockwise: string;
|
|
434
445
|
tipZoomOut: string;
|
|
435
446
|
tipZoomIn: string;
|
|
447
|
+
tipDownload: string;
|
|
436
448
|
tipClose: string;
|
|
437
449
|
tipOriginalSize: string;
|
|
438
450
|
};
|
|
@@ -445,7 +457,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
445
457
|
readonly default: "div";
|
|
446
458
|
};
|
|
447
459
|
readonly hljs: PropType<Hljs>;
|
|
448
|
-
readonly katex: PropType<typeof import("katex")
|
|
460
|
+
readonly katex: PropType<typeof import("katex")>;
|
|
449
461
|
readonly theme: PropType<GlobalTheme | null>;
|
|
450
462
|
readonly themeOverrides: PropType<GlobalThemeOverrides | null>;
|
|
451
463
|
readonly componentOptions: PropType<GlobalComponentConfig>;
|
|
@@ -466,7 +478,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
466
478
|
readonly tag: string;
|
|
467
479
|
readonly as: string | undefined;
|
|
468
480
|
readonly bordered: boolean | undefined;
|
|
481
|
+
readonly clsPrefix: string;
|
|
469
482
|
readonly preflightStyleDisabled: boolean;
|
|
470
483
|
readonly inlineThemeDisabled: boolean;
|
|
471
|
-
}>;
|
|
484
|
+
}, {}>;
|
|
472
485
|
export default _default;
|
|
@@ -11,7 +11,7 @@ export const configProviderProps = {
|
|
|
11
11
|
type: Boolean,
|
|
12
12
|
default: undefined
|
|
13
13
|
},
|
|
14
|
-
clsPrefix: String,
|
|
14
|
+
clsPrefix: { type: String, default: defaultClsPrefix },
|
|
15
15
|
locale: Object,
|
|
16
16
|
dateLocale: Object,
|
|
17
17
|
namespace: String,
|
|
@@ -106,7 +106,9 @@ export default defineComponent({
|
|
|
106
106
|
const { clsPrefix } = props;
|
|
107
107
|
if (clsPrefix !== undefined)
|
|
108
108
|
return clsPrefix;
|
|
109
|
-
|
|
109
|
+
if (NConfigProvider)
|
|
110
|
+
return NConfigProvider.mergedClsPrefixRef.value;
|
|
111
|
+
return defaultClsPrefix;
|
|
110
112
|
});
|
|
111
113
|
const mergedRtlRef = computed(() => {
|
|
112
114
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VNodeChild, Ref } from 'vue';
|
|
2
|
-
import { CNode } from 'css-render';
|
|
1
|
+
import type { VNodeChild, Ref } from 'vue';
|
|
2
|
+
import type { CNode } from 'css-render';
|
|
3
3
|
import type { AlertTheme } from '../../alert/styles';
|
|
4
4
|
import type { AnchorTheme } from '../../anchor/styles';
|
|
5
5
|
import type { AutoCompleteTheme } from '../../auto-complete/styles';
|
|
@@ -229,7 +229,7 @@ export type RtlEnabledState = Partial<Record<keyof GlobalThemeWithoutCommon, Rtl
|
|
|
229
229
|
export type Breakpoints = Record<string, number> | undefined;
|
|
230
230
|
export interface ConfigProviderInjection {
|
|
231
231
|
mergedBreakpointsRef: Ref<Breakpoints | undefined>;
|
|
232
|
-
mergedClsPrefixRef: Ref<string
|
|
232
|
+
mergedClsPrefixRef: Ref<string>;
|
|
233
233
|
mergedBorderedRef: Ref<boolean | undefined>;
|
|
234
234
|
mergedNamespaceRef: Ref<string | undefined>;
|
|
235
235
|
mergedLocaleRef: Ref<NLocale | undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import katex from 'katex';
|
|
1
|
+
import type katex from 'katex';
|
|
2
2
|
export type Katex = typeof katex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, VNodeChild } from 'vue';
|
|
1
|
+
import { type PropType, type VNodeChild } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export interface CountdownTimeInfo {
|
|
4
4
|
hours: number;
|
|
@@ -64,5 +64,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
active: boolean;
|
|
65
65
|
duration: number;
|
|
66
66
|
precision: 0 | 2 | 1 | 3;
|
|
67
|
-
}>;
|
|
67
|
+
}, {}>;
|
|
68
68
|
export default _default;
|
package/es/create.d.ts
CHANGED
package/es/data-table/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as NDataTable } from './src/DataTable';
|
|
2
2
|
export { dataTableProps } from './src/interface';
|
|
3
|
-
export type { DataTableProps, RowKey as DataTableRowKey, RenderFilter as DataTableRenderFilter, RenderSorter as DataTableRenderSorter, RenderFilterIcon as DataTableRenderFilterIcon, RenderSorterIcon as DataTableRenderSorterIcon, ColumnKey as DataTableColumnKey, TableColumn as DataTableColumn, TableColumns as DataTableColumns, TableBaseColumn as DataTableBaseColumn, TableSelectionColumn as DataTableSelectionColumn, TableExpandColumn as DataTableExpandColumn, CreateRowClassName as DataTableCreateRowClassName, CreateRowKey as DataTableCreateRowKey, CreateRowProps as DataTableCreateRowProps, DataTableInst, CreateSummary as DataTableCreateSummary, FilterState as DataTableFilterState, SortState as DataTableSortState } from './src/interface';
|
|
3
|
+
export type { DataTableProps, RowKey as DataTableRowKey, RenderFilter as DataTableRenderFilter, RenderSorter as DataTableRenderSorter, RenderFilterIcon as DataTableRenderFilterIcon, RenderSorterIcon as DataTableRenderSorterIcon, ColumnKey as DataTableColumnKey, TableColumn as DataTableColumn, TableColumns as DataTableColumns, TableBaseColumn as DataTableBaseColumn, TableSelectionColumn as DataTableSelectionColumn, TableExpandColumn as DataTableExpandColumn, TableColumnGroup as DataTableColumnGroup, CreateRowClassName as DataTableCreateRowClassName, CreateRowKey as DataTableCreateRowKey, CreateRowProps as DataTableCreateRowProps, DataTableInst, CreateSummary as DataTableCreateSummary, FilterState as DataTableFilterState, SortState as DataTableSortState } from './src/interface';
|
|
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
};
|
|
86
86
|
readonly scrollbarProps: import("vue").PropType<import("../..").ScrollbarProps>;
|
|
87
87
|
readonly renderCell: import("vue").PropType<(value: any, rowData: object, column: import("./interface").TableBaseColumn<import("./interface").InternalRowData>) => import("vue").VNodeChild>;
|
|
88
|
-
readonly renderExpandIcon: import("vue").PropType<
|
|
88
|
+
readonly renderExpandIcon: import("vue").PropType<import("./interface").RenderExpandIcon>;
|
|
89
89
|
readonly spinProps: {
|
|
90
90
|
readonly type: import("vue").PropType<import("../../_internal").BaseLoadingExposedProps>;
|
|
91
91
|
readonly default: {};
|
|
@@ -2466,7 +2466,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2466
2466
|
getBodyElement: () => HTMLElement | null;
|
|
2467
2467
|
scrollTo: import("../../scrollbar/src/Scrollbar").ScrollTo;
|
|
2468
2468
|
} | null>;
|
|
2469
|
-
mergedClsPrefix: import("vue").
|
|
2469
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
2470
2470
|
mergedTheme: import("vue").ComputedRef<{
|
|
2471
2471
|
common: {
|
|
2472
2472
|
baseColor: string;
|
|
@@ -3830,7 +3830,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3830
3830
|
};
|
|
3831
3831
|
readonly scrollbarProps: import("vue").PropType<import("../..").ScrollbarProps>;
|
|
3832
3832
|
readonly renderCell: import("vue").PropType<(value: any, rowData: object, column: import("./interface").TableBaseColumn<import("./interface").InternalRowData>) => import("vue").VNodeChild>;
|
|
3833
|
-
readonly renderExpandIcon: import("vue").PropType<
|
|
3833
|
+
readonly renderExpandIcon: import("vue").PropType<import("./interface").RenderExpandIcon>;
|
|
3834
3834
|
readonly spinProps: {
|
|
3835
3835
|
readonly type: import("vue").PropType<import("../../_internal").BaseLoadingExposedProps>;
|
|
3836
3836
|
readonly default: {};
|
|
@@ -6224,5 +6224,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6224
6224
|
readonly summaryPlacement: "bottom" | "top";
|
|
6225
6225
|
readonly paginationBehaviorOnFilter: "first" | "current";
|
|
6226
6226
|
readonly spinProps: import("../../_internal").BaseLoadingExposedProps;
|
|
6227
|
-
}>;
|
|
6227
|
+
}, {}>;
|
|
6228
6228
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, computed, defineComponent, ref, provide, toRef, Transition, watchEffect
|
|
1
|
+
import { h, computed, defineComponent, ref, provide, toRef, Transition, watchEffect } from 'vue';
|
|
2
2
|
import { createId } from 'seemly';
|
|
3
3
|
import { useConfig, useLocale, useTheme, useThemeClass } from '../../_mixins';
|
|
4
4
|
import { NBaseLoading } from '../../_internal';
|
|
@@ -51,10 +51,6 @@ export default defineComponent({
|
|
|
51
51
|
});
|
|
52
52
|
const themeRef = useTheme('DataTable', '-data-table', style, dataTableLight, props, mergedClsPrefixRef);
|
|
53
53
|
const bodyWidthRef = ref(null);
|
|
54
|
-
const scrollPartRef = ref('body');
|
|
55
|
-
onDeactivated(() => {
|
|
56
|
-
scrollPartRef.value = 'body';
|
|
57
|
-
});
|
|
58
54
|
const mainTableInstRef = ref(null);
|
|
59
55
|
const { getResizableWidth, clearResizableWidth, doUpdateResizableWidth } = useResizable();
|
|
60
56
|
const { rowsRef, colsRef, dataRelatedColsRef, hasEllipsisRef } = useGroupHeader(props, getResizableWidth);
|
|
@@ -66,7 +62,6 @@ export default defineComponent({
|
|
|
66
62
|
});
|
|
67
63
|
const { stickyExpandedRowsRef, mergedExpandedRowKeysRef, renderExpandRef, expandableRef, doUpdateExpandedRowKeys } = useExpand(props, treeMateRef);
|
|
68
64
|
const { handleTableBodyScroll, handleTableHeaderScroll, syncScrollState, setHeaderScrollLeft, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, leftFixedColumnsRef, rightFixedColumnsRef, fixedColumnLeftMapRef, fixedColumnRightMapRef } = useScroll(props, {
|
|
69
|
-
scrollPartRef,
|
|
70
65
|
bodyWidthRef,
|
|
71
66
|
mainTableInstRef,
|
|
72
67
|
mergedCurrentPageRef
|
|
@@ -120,7 +115,6 @@ export default defineComponent({
|
|
|
120
115
|
mergedExpandedRowKeysRef,
|
|
121
116
|
mergedInderminateRowKeySetRef,
|
|
122
117
|
localeRef,
|
|
123
|
-
scrollPartRef,
|
|
124
118
|
expandableRef,
|
|
125
119
|
stickyExpandedRowsRef,
|
|
126
120
|
rowKeyRef: toRef(props, 'rowKey'),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { FilterOption, FilterOptionValue, TableBaseColumn } from '../interface';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { FilterOption, FilterOptionValue, TableBaseColumn } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
column: {
|
|
5
|
-
type: PropType<TableBaseColumn
|
|
5
|
+
type: PropType<TableBaseColumn>;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
options: {
|
|
@@ -1249,7 +1249,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1249
1249
|
handleFilterMenuCancel: () => void;
|
|
1250
1250
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1251
1251
|
column: {
|
|
1252
|
-
type: PropType<TableBaseColumn
|
|
1252
|
+
type: PropType<TableBaseColumn>;
|
|
1253
1253
|
required: true;
|
|
1254
1254
|
};
|
|
1255
1255
|
options: {
|
|
@@ -1258,5 +1258,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1258
1258
|
};
|
|
1259
1259
|
}>>, {
|
|
1260
1260
|
options: FilterOption[];
|
|
1261
|
-
}>;
|
|
1261
|
+
}, {}>;
|
|
1262
1262
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { FilterOption, FilterOptionValue, OnFilterMenuChange, TableBaseColumn } from '../interface';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type FilterOption, type FilterOptionValue, type OnFilterMenuChange, type TableBaseColumn } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
column: {
|
|
5
|
-
type: PropType<TableBaseColumn
|
|
5
|
+
type: PropType<TableBaseColumn>;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
radioGroupName: {
|
|
@@ -54,6 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
warningColorHover: string;
|
|
55
55
|
warningColorPressed: string;
|
|
56
56
|
warningColorSuppl: string;
|
|
57
|
+
/** this branch is for compatibility */
|
|
57
58
|
errorColor: string;
|
|
58
59
|
errorColorHover: string;
|
|
59
60
|
errorColorPressed: string;
|
|
@@ -714,7 +715,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
714
715
|
clearColor: string;
|
|
715
716
|
clearColorHover: string;
|
|
716
717
|
clearColorPressed: string;
|
|
717
|
-
iconColor: string;
|
|
718
|
+
iconColor: string;
|
|
718
719
|
iconColorDisabled: string;
|
|
719
720
|
iconColorHover: string;
|
|
720
721
|
iconColorPressed: string;
|
|
@@ -1117,7 +1118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1117
1118
|
clearColor: string;
|
|
1118
1119
|
clearColorHover: string;
|
|
1119
1120
|
clearColorPressed: string;
|
|
1120
|
-
iconColor: string;
|
|
1121
|
+
iconColor: string;
|
|
1121
1122
|
iconColorDisabled: string;
|
|
1122
1123
|
iconColorHover: string;
|
|
1123
1124
|
iconColorPressed: string;
|
|
@@ -1275,7 +1276,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1275
1276
|
handleClearClick: () => void;
|
|
1276
1277
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1277
1278
|
column: {
|
|
1278
|
-
type: PropType<TableBaseColumn
|
|
1279
|
+
type: PropType<TableBaseColumn>;
|
|
1279
1280
|
required: true;
|
|
1280
1281
|
};
|
|
1281
1282
|
radioGroupName: {
|
|
@@ -1308,5 +1309,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1308
1309
|
};
|
|
1309
1310
|
}>>, {
|
|
1310
1311
|
value: FilterOptionValue | FilterOptionValue[] | null;
|
|
1311
|
-
}>;
|
|
1312
|
+
}, {}>;
|
|
1312
1313
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { RenderFilter } from '../interface';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { RenderFilter } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
render: {
|
|
5
5
|
type: PropType<RenderFilter>;
|
|
@@ -29,5 +29,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
}>>, {
|
|
30
30
|
show: boolean;
|
|
31
31
|
active: boolean;
|
|
32
|
-
}>;
|
|
32
|
+
}, {}>;
|
|
33
33
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { RenderSorter, SortOrder } from '../interface';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { RenderSorter, SortOrder } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
render: {
|
|
5
5
|
type: PropType<RenderSorter>;
|
|
@@ -20,5 +20,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
};
|
|
21
21
|
}>>, {
|
|
22
22
|
order: SortOrder;
|
|
23
|
-
}>;
|
|
23
|
+
}, {}>;
|
|
24
24
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { TableBaseColumn } from '../interface';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type TableBaseColumn } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
column: {
|
|
5
|
-
type: PropType<TableBaseColumn
|
|
5
|
+
type: PropType<TableBaseColumn>;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
}, {
|
|
@@ -12,8 +12,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
mergedRenderSorter: import("vue").ComputedRef<import("../interface").RenderSorter | undefined>;
|
|
13
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
|
-
type: PropType<TableBaseColumn
|
|
15
|
+
type: PropType<TableBaseColumn>;
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
|
-
}>>, {}>;
|
|
18
|
+
}>>, {}, {}>;
|
|
19
19
|
export default _default;
|
|
@@ -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, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
22
22
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType, CSSProperties } from 'vue';
|
|
2
|
-
import { RowKey, ColumnKey, TmNode } from '../interface';
|
|
1
|
+
import { type PropType, type CSSProperties } from 'vue';
|
|
2
|
+
import { type RowKey, type ColumnKey, type TmNode } from '../interface';
|
|
3
3
|
import type { ColItem } from '../use-group-header';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
onResize: PropType<(e: ResizeObserverEntry) => void>;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
bodyWidth: import("vue").Ref<number | null>;
|
|
13
13
|
summaryPlacement: import("vue").Ref<"bottom" | "top">;
|
|
14
14
|
dataTableSlots: Readonly<{
|
|
15
|
-
[name: string]: import("vue").Slot | undefined;
|
|
15
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
componentId: string;
|
|
18
18
|
scrollbarInstRef: import("vue").Ref<{
|
|
@@ -1301,10 +1301,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1301
1301
|
loadingKeySet: import("vue").Ref<Set<RowKey>>;
|
|
1302
1302
|
expandable: import("vue").Ref<import("../interface").Expandable<any> | undefined>;
|
|
1303
1303
|
stickyExpandedRows: import("vue").Ref<boolean>;
|
|
1304
|
-
renderExpandIcon: import("vue").Ref<
|
|
1304
|
+
renderExpandIcon: import("vue").Ref<import("../interface").RenderExpandIcon | undefined>;
|
|
1305
1305
|
scrollbarProps: import("vue").Ref<import("../../..").ScrollbarProps | undefined>;
|
|
1306
1306
|
setHeaderScrollLeft: (scrollLeft: number) => void;
|
|
1307
|
-
handleMouseenterTable: () => void;
|
|
1308
1307
|
handleVirtualListScroll: (e: Event) => void;
|
|
1309
1308
|
handleVirtualListResize: (e: ResizeObserverEntry) => void;
|
|
1310
1309
|
handleMouseleaveTable: () => void;
|
|
@@ -1327,5 +1326,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1327
1326
|
}>>, {
|
|
1328
1327
|
flexHeight: boolean;
|
|
1329
1328
|
showHeader: boolean;
|
|
1330
|
-
}>;
|
|
1329
|
+
}, {}>;
|
|
1331
1330
|
export default _default;
|
|
@@ -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,
|
|
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, mergedTableLayoutRef, childTriggerColIndexRef, indentRef, rowPropsRef, maxHeightRef, stripedRef, loadingRef, onLoadRef, loadingKeySetRef, expandableRef, stickyExpandedRowsRef, renderExpandIconRef, summaryPlacementRef, treeMateRef, scrollbarPropsRef, 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);
|
|
@@ -202,9 +202,6 @@ export default defineComponent({
|
|
|
202
202
|
function handleMouseleaveTable() {
|
|
203
203
|
hoverKeyRef.value = null;
|
|
204
204
|
}
|
|
205
|
-
function handleMouseenterTable() {
|
|
206
|
-
scrollPartRef.value = 'body';
|
|
207
|
-
}
|
|
208
205
|
function virtualListContainer() {
|
|
209
206
|
const { value } = virtualListRef;
|
|
210
207
|
return value === null || value === void 0 ? void 0 : value.listElRef;
|
|
@@ -322,7 +319,6 @@ export default defineComponent({
|
|
|
322
319
|
hasChildren
|
|
323
320
|
};
|
|
324
321
|
}), rawPaginatedData: rawPaginatedDataRef, fixedColumnLeftMap: fixedColumnLeftMapRef, fixedColumnRightMap: fixedColumnRightMapRef, currentPage: mergedCurrentPageRef, rowClassName: rowClassNameRef, renderExpand: renderExpandRef, mergedExpandedRowKeySet: mergedExpandedRowKeySetRef, hoverKey: hoverKeyRef, mergedSortState: mergedSortStateRef, virtualScroll: virtualScrollRef, mergedTableLayout: mergedTableLayoutRef, childTriggerColIndex: childTriggerColIndexRef, indent: indentRef, rowProps: rowPropsRef, maxHeight: maxHeightRef, loadingKeySet: loadingKeySetRef, expandable: expandableRef, stickyExpandedRows: stickyExpandedRowsRef, renderExpandIcon: renderExpandIconRef, scrollbarProps: scrollbarPropsRef, setHeaderScrollLeft,
|
|
325
|
-
handleMouseenterTable,
|
|
326
322
|
handleVirtualListScroll,
|
|
327
323
|
handleVirtualListResize,
|
|
328
324
|
handleMouseleaveTable,
|
|
@@ -354,7 +350,7 @@ export default defineComponent({
|
|
|
354
350
|
const cordToPass = {};
|
|
355
351
|
// coordinate to related hover keys
|
|
356
352
|
const cordKey = {};
|
|
357
|
-
const { cols, paginatedDataAndInfo, mergedTheme, fixedColumnLeftMap, fixedColumnRightMap, currentPage, rowClassName, mergedSortState, mergedExpandedRowKeySet, stickyExpandedRows, componentId, childTriggerColIndex, expandable, rowProps,
|
|
353
|
+
const { cols, paginatedDataAndInfo, mergedTheme, fixedColumnLeftMap, fixedColumnRightMap, currentPage, rowClassName, mergedSortState, mergedExpandedRowKeySet, stickyExpandedRows, componentId, childTriggerColIndex, expandable, rowProps, handleMouseleaveTable, renderExpand, summary, handleCheckboxUpdateChecked, handleRadioUpdateChecked, handleUpdateExpanded } = this;
|
|
358
354
|
const { length: colCount } = cols;
|
|
359
355
|
let mergedData;
|
|
360
356
|
// if there is children in data, we should expand mergedData first
|
|
@@ -429,7 +425,7 @@ export default defineComponent({
|
|
|
429
425
|
const { index: actualRowIndex } = rowInfo;
|
|
430
426
|
if ('isExpandedRow' in rowInfo) {
|
|
431
427
|
const { tmNode: { key, rawNode } } = rowInfo;
|
|
432
|
-
return (h("tr", { class: `${mergedClsPrefix}-data-table-tr`, key: `${key}__expand` },
|
|
428
|
+
return (h("tr", { class: `${mergedClsPrefix}-data-table-tr ${mergedClsPrefix}-data-table-tr--expanded`, key: `${key}__expand` },
|
|
433
429
|
h("td", { class: [
|
|
434
430
|
`${mergedClsPrefix}-data-table-td`,
|
|
435
431
|
`${mergedClsPrefix}-data-table-td--last-col`,
|
|
@@ -456,6 +452,7 @@ export default defineComponent({
|
|
|
456
452
|
`${mergedClsPrefix}-data-table-tr`,
|
|
457
453
|
isSummary && `${mergedClsPrefix}-data-table-tr--summary`,
|
|
458
454
|
striped && `${mergedClsPrefix}-data-table-tr--striped`,
|
|
455
|
+
expanded && `${mergedClsPrefix}-data-table-tr--expanded`,
|
|
459
456
|
mergedRowClassName
|
|
460
457
|
] }, props), cols.map((col, colIndex) => {
|
|
461
458
|
var _a, _b, _c, _d, _e;
|
|
@@ -510,12 +507,16 @@ export default defineComponent({
|
|
|
510
507
|
const hoverKey = isCrossRowTd ? this.hoverKey : null;
|
|
511
508
|
const { cellProps } = column;
|
|
512
509
|
const resolvedCellProps = cellProps === null || cellProps === void 0 ? void 0 : cellProps(rowData, actualRowIndex);
|
|
510
|
+
const indentOffsetStyle = {
|
|
511
|
+
'--indent-offset': ''
|
|
512
|
+
};
|
|
513
513
|
return (h("td", Object.assign({}, resolvedCellProps, { key: colKey, style: [
|
|
514
514
|
{
|
|
515
515
|
textAlign: column.align || undefined,
|
|
516
516
|
left: pxfy((_c = fixedColumnLeftMap[colKey]) === null || _c === void 0 ? void 0 : _c.start),
|
|
517
517
|
right: pxfy((_d = fixedColumnRightMap[colKey]) === null || _d === void 0 ? void 0 : _d.start)
|
|
518
518
|
},
|
|
519
|
+
indentOffsetStyle,
|
|
519
520
|
(resolvedCellProps === null || resolvedCellProps === void 0 ? void 0 : resolvedCellProps.style) || ''
|
|
520
521
|
], colspan: mergedColSpan, rowspan: isVirtual ? undefined : mergedRowSpan, "data-col-key": colKey, class: [
|
|
521
522
|
`${mergedClsPrefix}-data-table-td`,
|
|
@@ -542,19 +543,26 @@ export default defineComponent({
|
|
|
542
543
|
] }),
|
|
543
544
|
hasChildren && colIndex === childTriggerColIndex
|
|
544
545
|
? [
|
|
545
|
-
repeat(
|
|
546
|
+
repeat((indentOffsetStyle['--indent-offset'] =
|
|
547
|
+
isSummary ? 0 : rowInfo.tmNode.level), h("div", { class: `${mergedClsPrefix}-data-table-indent`, style: indentStyle })),
|
|
546
548
|
isSummary || rowInfo.tmNode.isLeaf ? (h("div", { class: `${mergedClsPrefix}-data-table-expand-placeholder` })) : (h(ExpandTrigger, { class: `${mergedClsPrefix}-data-table-expand-trigger`, clsPrefix: mergedClsPrefix, expanded: expanded, renderExpandIcon: this.renderExpandIcon, loading: loadingKeySet.has(rowInfo.key), onClick: () => {
|
|
547
549
|
handleUpdateExpanded(rowKey, rowInfo.tmNode);
|
|
548
550
|
} }))
|
|
549
551
|
]
|
|
550
552
|
: null,
|
|
551
|
-
column.type === 'selection' ? (!isSummary ? (column.multiple === false ? (h(RenderSafeRadio, { key: currentPage, rowKey: rowKey, disabled: rowInfo.tmNode.disabled, onUpdateChecked: () =>
|
|
552
|
-
|
|
553
|
+
column.type === 'selection' ? (!isSummary ? (column.multiple === false ? (h(RenderSafeRadio, { key: currentPage, rowKey: rowKey, disabled: rowInfo.tmNode.disabled, onUpdateChecked: () => {
|
|
554
|
+
handleRadioUpdateChecked(rowInfo.tmNode);
|
|
555
|
+
} })) : (h(RenderSafeCheckbox, { key: currentPage, rowKey: rowKey, disabled: rowInfo.tmNode.disabled, onUpdateChecked: (checked, e) => {
|
|
556
|
+
handleCheckboxUpdateChecked(rowInfo.tmNode, checked, e.shiftKey);
|
|
557
|
+
} }))) : null) : column.type === 'expand' ? (!isSummary ? (!column.expandable ||
|
|
558
|
+
((_e = column.expandable) === null || _e === void 0 ? void 0 : _e.call(column, rowData)) ? (h(ExpandTrigger, { clsPrefix: mergedClsPrefix, expanded: expanded, renderExpandIcon: this.renderExpandIcon, onClick: () => {
|
|
559
|
+
handleUpdateExpanded(rowKey, null);
|
|
560
|
+
} })) : null) : null) : (h(Cell, { clsPrefix: mergedClsPrefix, index: actualRowIndex, row: rowData, column: column, isSummary: isSummary, mergedTheme: mergedTheme, renderCell: this.renderCell }))));
|
|
553
561
|
})));
|
|
554
562
|
return row;
|
|
555
563
|
};
|
|
556
564
|
if (!virtualScroll) {
|
|
557
|
-
return (h("table", { class: `${mergedClsPrefix}-data-table-table`, onMouseleave: handleMouseleaveTable,
|
|
565
|
+
return (h("table", { class: `${mergedClsPrefix}-data-table-table`, onMouseleave: handleMouseleaveTable, style: {
|
|
558
566
|
tableLayout: this.mergedTableLayout
|
|
559
567
|
} },
|
|
560
568
|
h("colgroup", null, cols.map((col) => (h("col", { key: col.key, style: col.style })))),
|
|
@@ -568,7 +576,6 @@ export default defineComponent({
|
|
|
568
576
|
clsPrefix: mergedClsPrefix,
|
|
569
577
|
id: componentId,
|
|
570
578
|
cols,
|
|
571
|
-
onMouseenter: handleMouseenterTable,
|
|
572
579
|
onMouseleave: handleMouseleaveTable
|
|
573
580
|
}, showScrollbar: false, onResize: this.handleVirtualListResize, onScroll: this.handleVirtualListScroll, itemsStyle: contentStyle, itemResizable: true }, {
|
|
574
581
|
default: ({ item, index }) => renderRow(item, index, true)
|