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 { PropType } from 'vue';
|
|
2
|
-
import { RowKey } from '../interface';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type RowKey } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
rowKey: {
|
|
5
5
|
type: PropType<RowKey>;
|
|
@@ -26,5 +26,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
type: PropType<(checked: boolean, e: MouseEvent | KeyboardEvent) => void>;
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
|
-
}>>, {}>;
|
|
29
|
+
}>>, {}, {}>;
|
|
30
30
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { RowKey } from '../interface';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type RowKey } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
rowKey: {
|
|
5
5
|
type: PropType<RowKey>;
|
|
@@ -26,5 +26,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
type: PropType<(checked: boolean) => void>;
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
|
-
}>>, {}>;
|
|
29
|
+
}>>, {}, {}>;
|
|
30
30
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType, VNodeChild } from 'vue';
|
|
2
|
-
import { TableBaseColumn, InternalRowData } from '../interface';
|
|
1
|
+
import { type PropType, type VNodeChild } from 'vue';
|
|
2
|
+
import type { TableBaseColumn, InternalRowData } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
clsPrefix: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
16
|
column: {
|
|
17
|
-
type: PropType<TableBaseColumn
|
|
17
|
+
type: PropType<TableBaseColumn>;
|
|
18
18
|
required: true;
|
|
19
19
|
};
|
|
20
20
|
isSummary: BooleanConstructor;
|
|
@@ -1263,7 +1263,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1263
1263
|
required: true;
|
|
1264
1264
|
};
|
|
1265
1265
|
column: {
|
|
1266
|
-
type: PropType<TableBaseColumn
|
|
1266
|
+
type: PropType<TableBaseColumn>;
|
|
1267
1267
|
required: true;
|
|
1268
1268
|
};
|
|
1269
1269
|
isSummary: BooleanConstructor;
|
|
@@ -2500,5 +2500,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2500
2500
|
renderCell: PropType<(value: any, rowData: object, column: any) => VNodeChild>;
|
|
2501
2501
|
}>>, {
|
|
2502
2502
|
isSummary: boolean;
|
|
2503
|
-
}>;
|
|
2503
|
+
}, {}>;
|
|
2504
2504
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, h } from 'vue';
|
|
2
2
|
import { get } from 'lodash-es';
|
|
3
|
-
import
|
|
3
|
+
import NEllipsis from '../../../ellipsis/src/Ellipsis';
|
|
4
|
+
import { NPerformantEllipsis } from '../../../ellipsis/src/PerformantEllipsis';
|
|
4
5
|
export default defineComponent({
|
|
5
6
|
name: 'DataTableCell',
|
|
6
7
|
props: {
|
|
@@ -47,6 +48,9 @@ export default defineComponent({
|
|
|
47
48
|
if (ellipsis) {
|
|
48
49
|
if (typeof ellipsis === 'object') {
|
|
49
50
|
const { mergedTheme } = this;
|
|
51
|
+
if (column.ellipsisComponent === 'performant-ellipsis') {
|
|
52
|
+
return (h(NPerformantEllipsis, Object.assign({}, ellipsis, { theme: mergedTheme.peers.Ellipsis, themeOverrides: mergedTheme.peerOverrides.Ellipsis }), { default: () => cell }));
|
|
53
|
+
}
|
|
50
54
|
return (h(NEllipsis, Object.assign({}, ellipsis, { theme: mergedTheme.peers.Ellipsis, themeOverrides: mergedTheme.peerOverrides.Ellipsis }), { default: () => cell }));
|
|
51
55
|
}
|
|
52
56
|
else {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { PropType
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { RenderExpandIcon } from '../interface';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
clsPrefix: {
|
|
4
5
|
type: StringConstructor;
|
|
@@ -11,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
12
|
required: true;
|
|
12
13
|
};
|
|
13
14
|
renderExpandIcon: {
|
|
14
|
-
type: PropType<
|
|
15
|
+
type: PropType<RenderExpandIcon>;
|
|
15
16
|
};
|
|
16
17
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
18
|
clsPrefix: {
|
|
@@ -25,10 +26,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
26
|
required: true;
|
|
26
27
|
};
|
|
27
28
|
renderExpandIcon: {
|
|
28
|
-
type: PropType<
|
|
29
|
+
type: PropType<RenderExpandIcon>;
|
|
29
30
|
};
|
|
30
31
|
}>>, {
|
|
31
32
|
expanded: boolean;
|
|
32
33
|
loading: boolean;
|
|
33
|
-
}>;
|
|
34
|
+
}, {}>;
|
|
34
35
|
export default _default;
|
|
@@ -23,10 +23,14 @@ export default defineComponent({
|
|
|
23
23
|
return (h("div", { class: [
|
|
24
24
|
`${clsPrefix}-data-table-expand-trigger`,
|
|
25
25
|
this.expanded && `${clsPrefix}-data-table-expand-trigger--expanded`
|
|
26
|
-
], onClick: this.onClick
|
|
26
|
+
], onClick: this.onClick, onMousedown: (e) => {
|
|
27
|
+
e.preventDefault();
|
|
28
|
+
} },
|
|
27
29
|
h(NIconSwitchTransition, null, {
|
|
28
30
|
default: () => {
|
|
29
|
-
return this.loading ? (h(NBaseLoading, { key: "loading", clsPrefix: this.clsPrefix, radius: 85, strokeWidth: 15, scale: 0.88 })) : this.renderExpandIcon ? (this.renderExpandIcon(
|
|
31
|
+
return this.loading ? (h(NBaseLoading, { key: "loading", clsPrefix: this.clsPrefix, radius: 85, strokeWidth: 15, scale: 0.88 })) : this.renderExpandIcon ? (this.renderExpandIcon({
|
|
32
|
+
expanded: this.expanded
|
|
33
|
+
})) : (h(NBaseIcon, { clsPrefix: clsPrefix, key: "base-icon" }, {
|
|
30
34
|
default: () => h(ChevronRightIcon, null)
|
|
31
35
|
}));
|
|
32
36
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableBaseColumn, ColumnKey } from '../interface';
|
|
1
|
+
import { type TableBaseColumn, type ColumnKey } from '../interface';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
discrete: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -1253,8 +1253,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1253
1253
|
checkOptions: import("vue").Ref<import("../interface").DataTableSelectionOptions<import("../interface").InternalRowData> | undefined>;
|
|
1254
1254
|
mergedTableLayout: import("vue").Ref<"fixed" | "auto">;
|
|
1255
1255
|
headerCheckboxDisabled: import("vue").Ref<boolean>;
|
|
1256
|
-
handleMouseenter: () => void;
|
|
1257
|
-
handleMouseleave: () => void;
|
|
1258
1256
|
handleCheckboxUpdateChecked: () => void;
|
|
1259
1257
|
handleColHeaderClick: (e: MouseEvent, column: TableBaseColumn) => void;
|
|
1260
1258
|
handleTableHeaderScroll: (e: Event) => void;
|
|
@@ -1267,5 +1265,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1267
1265
|
};
|
|
1268
1266
|
}>>, {
|
|
1269
1267
|
discrete: boolean;
|
|
1270
|
-
}>;
|
|
1268
|
+
}, {}>;
|
|
1271
1269
|
export default _default;
|
|
@@ -23,7 +23,7 @@ export default defineComponent({
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
setup() {
|
|
26
|
-
const { mergedClsPrefixRef, scrollXRef, fixedColumnLeftMapRef, fixedColumnRightMapRef, mergedCurrentPageRef, allRowsCheckedRef, someRowsCheckedRef, rowsRef, colsRef, mergedThemeRef, checkOptionsRef, mergedSortStateRef, componentId,
|
|
26
|
+
const { mergedClsPrefixRef, scrollXRef, fixedColumnLeftMapRef, fixedColumnRightMapRef, mergedCurrentPageRef, allRowsCheckedRef, someRowsCheckedRef, rowsRef, colsRef, mergedThemeRef, checkOptionsRef, mergedSortStateRef, componentId, mergedTableLayoutRef, headerCheckboxDisabledRef, onUnstableColumnResize, doUpdateResizableWidth, handleTableHeaderScroll, deriveNextSorter, doUncheckAll, doCheckAll
|
|
27
27
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
28
28
|
} = inject(dataTableInjectionKey);
|
|
29
29
|
const cellElsRef = ref({});
|
|
@@ -50,12 +50,6 @@ export default defineComponent({
|
|
|
50
50
|
const nextSorter = createNextSorter(column, activeSorter);
|
|
51
51
|
deriveNextSorter(nextSorter);
|
|
52
52
|
}
|
|
53
|
-
function handleMouseenter() {
|
|
54
|
-
scrollPartRef.value = 'head';
|
|
55
|
-
}
|
|
56
|
-
function handleMouseleave() {
|
|
57
|
-
scrollPartRef.value = 'body';
|
|
58
|
-
}
|
|
59
53
|
const resizeStartWidthMap = new Map();
|
|
60
54
|
function handleColumnResizeStart(column) {
|
|
61
55
|
resizeStartWidthMap.set(column.key, getCellActualWidth(column.key));
|
|
@@ -87,8 +81,6 @@ export default defineComponent({
|
|
|
87
81
|
checkOptions: checkOptionsRef,
|
|
88
82
|
mergedTableLayout: mergedTableLayoutRef,
|
|
89
83
|
headerCheckboxDisabled: headerCheckboxDisabledRef,
|
|
90
|
-
handleMouseenter,
|
|
91
|
-
handleMouseleave,
|
|
92
84
|
handleCheckboxUpdateChecked,
|
|
93
85
|
handleColHeaderClick,
|
|
94
86
|
handleTableHeaderScroll,
|
|
@@ -121,12 +113,16 @@ export default defineComponent({
|
|
|
121
113
|
})) : (renderTitle(column))),
|
|
122
114
|
isColumnSortable(column) ? (h(SortButton, { column: column })) : null),
|
|
123
115
|
isColumnFilterable(column) ? (h(FilterButton, { column: column, options: column.filterOptions })) : null,
|
|
124
|
-
isColumnResizable(column) ? (h(ResizeButton, { onResizeStart: () =>
|
|
116
|
+
isColumnResizable(column) ? (h(ResizeButton, { onResizeStart: () => {
|
|
117
|
+
handleColumnResizeStart(column);
|
|
118
|
+
}, onResize: (displacementX) => {
|
|
119
|
+
handleColumnResize(column, displacementX);
|
|
120
|
+
} })) : null));
|
|
125
121
|
};
|
|
126
122
|
const leftFixed = key in fixedColumnLeftMap;
|
|
127
123
|
const rightFixed = key in fixedColumnRightMap;
|
|
128
124
|
return (h("th", { ref: (el) => (cellElsRef[key] = el), key: key, style: {
|
|
129
|
-
textAlign: column.align,
|
|
125
|
+
textAlign: column.titleAlign || column.align,
|
|
130
126
|
left: pxfy((_a = fixedColumnLeftMap[key]) === null || _a === void 0 ? void 0 : _a.start),
|
|
131
127
|
right: pxfy((_b = fixedColumnRightMap[key]) === null || _b === void 0 ? void 0 : _b.start)
|
|
132
128
|
}, colspan: colSpan, rowspan: rowSpan, "data-col-key": key, class: [
|
|
@@ -153,8 +149,8 @@ export default defineComponent({
|
|
|
153
149
|
if (!discrete) {
|
|
154
150
|
return theadVNode;
|
|
155
151
|
}
|
|
156
|
-
const { handleTableHeaderScroll,
|
|
157
|
-
return (h("div", { class: `${mergedClsPrefix}-data-table-base-table-header`, onScroll: handleTableHeaderScroll
|
|
152
|
+
const { handleTableHeaderScroll, scrollX } = this;
|
|
153
|
+
return (h("div", { class: `${mergedClsPrefix}-data-table-base-table-header`, onScroll: handleTableHeaderScroll },
|
|
158
154
|
h("table", { ref: "body", class: `${mergedClsPrefix}-data-table-table`, style: {
|
|
159
155
|
minWidth: formatLength(scrollX),
|
|
160
156
|
tableLayout: mergedTableLayout
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeMate, TreeNode } from 'treemate';
|
|
2
|
-
import { CSSProperties, Ref, HTMLAttributes, Slots, PropType, ExtractPropTypes, VNodeChild } from 'vue';
|
|
1
|
+
import type { TreeMate, TreeNode } from 'treemate';
|
|
2
|
+
import type { CSSProperties, Ref, HTMLAttributes, Slots, PropType, ExtractPropTypes, VNodeChild } from 'vue';
|
|
3
3
|
import type { ScrollbarProps, ScrollTo } from '../../scrollbar/src/Scrollbar';
|
|
4
4
|
import type { EllipsisProps } from '../../ellipsis/src/Ellipsis';
|
|
5
5
|
import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
@@ -8,7 +8,7 @@ import type { MergedTheme } from '../../_mixins';
|
|
|
8
8
|
import type { PaginationProps } from '../../pagination';
|
|
9
9
|
import type { DataTableTheme } from '../styles';
|
|
10
10
|
import type { RowItem, ColItem } from './use-group-header';
|
|
11
|
-
import { BaseLoadingExposedProps } from '../../_internal';
|
|
11
|
+
import type { BaseLoadingExposedProps } from '../../_internal';
|
|
12
12
|
export declare const dataTableProps: {
|
|
13
13
|
readonly onUnstableColumnResize: PropType<(resizedWidth: number, limitedWidth: number, column: TableBaseColumn, getColumnWidth: (key: ColumnKey) => number | undefined) => void>;
|
|
14
14
|
readonly pagination: {
|
|
@@ -95,7 +95,7 @@ export declare const dataTableProps: {
|
|
|
95
95
|
};
|
|
96
96
|
readonly scrollbarProps: PropType<ScrollbarProps>;
|
|
97
97
|
readonly renderCell: PropType<(value: any, rowData: object, column: TableBaseColumn) => VNodeChild>;
|
|
98
|
-
readonly renderExpandIcon: PropType<
|
|
98
|
+
readonly renderExpandIcon: PropType<RenderExpandIcon>;
|
|
99
99
|
readonly spinProps: {
|
|
100
100
|
readonly type: PropType<BaseLoadingExposedProps>;
|
|
101
101
|
readonly default: {};
|
|
@@ -2486,9 +2486,7 @@ export interface FilterOption {
|
|
|
2486
2486
|
}
|
|
2487
2487
|
export type TmNode = TreeNode<InternalRowData>;
|
|
2488
2488
|
export type SortOrder = 'ascend' | 'descend' | false;
|
|
2489
|
-
export type Ellipsis = boolean |
|
|
2490
|
-
style?: CSSProperties;
|
|
2491
|
-
});
|
|
2489
|
+
export type Ellipsis = boolean | EllipsisProps;
|
|
2492
2490
|
export interface CommonColumnInfo<T = InternalRowData> {
|
|
2493
2491
|
fixed?: 'left' | 'right';
|
|
2494
2492
|
width?: number | string;
|
|
@@ -2496,7 +2494,9 @@ export interface CommonColumnInfo<T = InternalRowData> {
|
|
|
2496
2494
|
maxWidth?: number | string;
|
|
2497
2495
|
className?: string;
|
|
2498
2496
|
align?: 'left' | 'center' | 'right';
|
|
2497
|
+
titleAlign?: 'left' | 'center' | 'right';
|
|
2499
2498
|
ellipsis?: Ellipsis;
|
|
2499
|
+
ellipsisComponent?: 'ellipsis' | 'performant-ellipsis';
|
|
2500
2500
|
cellProps?: (rowData: T, rowIndex: number) => HTMLAttributes;
|
|
2501
2501
|
}
|
|
2502
2502
|
export type TableColumnTitle = string | ((column: TableBaseColumn) => VNodeChild);
|
|
@@ -2554,6 +2554,9 @@ export type TableSelectionColumn<T = InternalRowData> = {
|
|
|
2554
2554
|
rowSpan?: never;
|
|
2555
2555
|
} & CommonColumnInfo<T>;
|
|
2556
2556
|
export type RenderExpand<T = InternalRowData> = (row: T, index: number) => VNodeChild;
|
|
2557
|
+
export type RenderExpandIcon = ({ expanded }: {
|
|
2558
|
+
expanded: boolean;
|
|
2559
|
+
}) => VNodeChild;
|
|
2557
2560
|
export type Expandable<T = InternalRowData> = (row: T) => boolean;
|
|
2558
2561
|
export interface TableExpandColumn<T = InternalRowData> extends Omit<TableSelectionColumn<T>, 'type'> {
|
|
2559
2562
|
type: 'expand';
|
|
@@ -2614,7 +2617,6 @@ export interface DataTableInjection {
|
|
|
2614
2617
|
rawPaginatedDataRef: Ref<InternalRowData[]>;
|
|
2615
2618
|
virtualScrollRef: Ref<boolean>;
|
|
2616
2619
|
bodyWidthRef: Ref<number | null>;
|
|
2617
|
-
scrollPartRef: Ref<'head' | 'body'>;
|
|
2618
2620
|
mergedTableLayoutRef: Ref<'auto' | 'fixed'>;
|
|
2619
2621
|
maxHeightRef: Ref<string | number | undefined>;
|
|
2620
2622
|
minHeightRef: Ref<string | number | undefined>;
|
|
@@ -2627,7 +2629,7 @@ export interface DataTableInjection {
|
|
|
2627
2629
|
paginationBehaviorOnFilterRef: Ref<'current' | 'first'>;
|
|
2628
2630
|
expandableRef: Ref<Expandable<any> | undefined>;
|
|
2629
2631
|
stickyExpandedRowsRef: Ref<boolean>;
|
|
2630
|
-
renderExpandIconRef: Ref<undefined |
|
|
2632
|
+
renderExpandIconRef: Ref<undefined | RenderExpandIcon>;
|
|
2631
2633
|
summaryPlacementRef: Ref<'top' | 'bottom'>;
|
|
2632
2634
|
treeMateRef: Ref<TreeMate<InternalRowData, InternalRowData, InternalRowData>>;
|
|
2633
2635
|
scrollbarPropsRef: Ref<ScrollbarProps | undefined>;
|
|
@@ -44,6 +44,7 @@ const fixedColumnStyle = createFixedColumnStyle();
|
|
|
44
44
|
// --n-opacity-loading
|
|
45
45
|
// --n-box-shadow-before used in Body.tsx
|
|
46
46
|
// --n-box-shadow-after used in Body.tsx
|
|
47
|
+
// --indent-offset for ellipsis & expand trigger
|
|
47
48
|
export default c([cB('data-table', `
|
|
48
49
|
width: 100%;
|
|
49
50
|
font-size: var(--n-font-size);
|
|
@@ -282,6 +283,7 @@ c('&::after', `
|
|
|
282
283
|
white-space: nowrap;
|
|
283
284
|
max-width: 100%;
|
|
284
285
|
vertical-align: bottom;
|
|
286
|
+
max-width: calc(100% - var(--indent-offset, -1.5) * 16px - 24px);
|
|
285
287
|
`), cM('selection, expand', `
|
|
286
288
|
text-align: center;
|
|
287
289
|
padding: 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
2
|
import type { DataTableSetupProps, RowKey, RowData, TableSelectionColumn, InternalRowData, TmNode } from './interface';
|
|
3
|
-
import { TreeMate } from 'treemate';
|
|
3
|
+
import type { TreeMate } from 'treemate';
|
|
4
4
|
export declare function useCheck(props: DataTableSetupProps, data: {
|
|
5
5
|
selectionColumnRef: ComputedRef<TableSelectionColumn | null>;
|
|
6
6
|
paginatedDataRef: ComputedRef<TmNode[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { TreeMate } from 'treemate';
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { TreeMate } from 'treemate';
|
|
3
3
|
import type { Expandable, InternalRowData, RowKey, DataTableSetupProps } from './interface';
|
|
4
4
|
export declare function useExpand(props: DataTableSetupProps, treeMateRef: Ref<TreeMate<InternalRowData, InternalRowData, InternalRowData>>): {
|
|
5
5
|
stickyExpandedRowsRef: Ref<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, ComputedRef } from 'vue';
|
|
1
|
+
import { type CSSProperties, type ComputedRef } from 'vue';
|
|
2
2
|
import type { TableExpandColumn, TableSelectionColumn, TableColumn, TableBaseColumn, ColumnKey, DataTableSetupProps } from './interface';
|
|
3
3
|
export interface RowItem {
|
|
4
4
|
colSpan: number;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
1
|
+
import { type ComputedRef, type Ref } from 'vue';
|
|
2
2
|
import type { ColumnKey, MainTableRef, TableColumn, DataTableSetupProps } from './interface';
|
|
3
|
-
export declare function useScroll(props: DataTableSetupProps, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef
|
|
4
|
-
scrollPartRef: Ref<'head' | 'body'>;
|
|
3
|
+
export declare function useScroll(props: DataTableSetupProps, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef }: {
|
|
5
4
|
bodyWidthRef: Ref<null | number>;
|
|
6
5
|
mainTableInstRef: Ref<MainTableRef | null>;
|
|
7
6
|
mergedCurrentPageRef: ComputedRef<number>;
|
|
@@ -3,8 +3,9 @@ import { computed, watch, ref } from 'vue';
|
|
|
3
3
|
import { formatLength } from '../../_utils';
|
|
4
4
|
import { getNumberColWidth, getColKey } from './utils';
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
6
|
-
export function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef
|
|
7
|
-
let
|
|
6
|
+
export function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef }) {
|
|
7
|
+
let lastScrollLeft = 0;
|
|
8
|
+
const scrollPartRef = ref();
|
|
8
9
|
const leftActiveFixedColKeyRef = ref(null);
|
|
9
10
|
const leftActiveFixedChildrenColKeysRef = ref([]);
|
|
10
11
|
const rightActiveFixedColKeyRef = ref(null);
|
|
@@ -68,7 +69,7 @@ export function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyW
|
|
|
68
69
|
let leftActiveFixedColKey = null;
|
|
69
70
|
for (let i = 0; i < leftFixedColumns.length; ++i) {
|
|
70
71
|
const key = getColKey(leftFixedColumns[i]);
|
|
71
|
-
if (
|
|
72
|
+
if (lastScrollLeft > (((_a = fixedColumnLeftMap[key]) === null || _a === void 0 ? void 0 : _a.start) || 0) - leftWidth) {
|
|
72
73
|
leftActiveFixedColKey = key;
|
|
73
74
|
leftWidth = ((_b = fixedColumnLeftMap[key]) === null || _b === void 0 ? void 0 : _b.end) || 0;
|
|
74
75
|
}
|
|
@@ -103,7 +104,7 @@ export function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyW
|
|
|
103
104
|
const { value: fixedColumnRightMap } = fixedColumnRightMapRef;
|
|
104
105
|
for (let i = rightFixedColumns.length - 1; i >= 0; --i) {
|
|
105
106
|
const key = getColKey(rightFixedColumns[i]);
|
|
106
|
-
if (Math.round(
|
|
107
|
+
if (Math.round(lastScrollLeft +
|
|
107
108
|
(((_a = fixedColumnRightMap[key]) === null || _a === void 0 ? void 0 : _a.start) || 0) +
|
|
108
109
|
tableWidth -
|
|
109
110
|
rightWidth) < scrollWidth) {
|
|
@@ -146,16 +147,22 @@ export function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyW
|
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
149
|
function handleTableHeaderScroll() {
|
|
149
|
-
if (scrollPartRef.value
|
|
150
|
+
if (scrollPartRef.value !== 'body') {
|
|
150
151
|
beforeNextFrameOnce(syncScrollState);
|
|
151
152
|
}
|
|
153
|
+
else {
|
|
154
|
+
scrollPartRef.value = undefined;
|
|
155
|
+
}
|
|
152
156
|
}
|
|
153
157
|
function handleTableBodyScroll(e) {
|
|
154
158
|
var _a;
|
|
155
159
|
(_a = props.onScroll) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
156
|
-
if (scrollPartRef.value
|
|
160
|
+
if (scrollPartRef.value !== 'head') {
|
|
157
161
|
beforeNextFrameOnce(syncScrollState);
|
|
158
162
|
}
|
|
163
|
+
else {
|
|
164
|
+
scrollPartRef.value = undefined;
|
|
165
|
+
}
|
|
159
166
|
}
|
|
160
167
|
function syncScrollState() {
|
|
161
168
|
// We can't simply use props.scrollX to determine whether the table has
|
|
@@ -167,22 +174,23 @@ export function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyW
|
|
|
167
174
|
const { value: tableWidth } = bodyWidthRef;
|
|
168
175
|
if (tableWidth === null)
|
|
169
176
|
return;
|
|
170
|
-
const { value: scrollPart } = scrollPartRef;
|
|
171
177
|
if (props.maxHeight || props.flexHeight) {
|
|
172
178
|
if (!header)
|
|
173
179
|
return;
|
|
174
180
|
// we need to deal with overscroll
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
181
|
+
const directionHead = lastScrollLeft - header.scrollLeft;
|
|
182
|
+
scrollPartRef.value = directionHead !== 0 ? 'head' : 'body';
|
|
183
|
+
if (scrollPartRef.value === 'head') {
|
|
184
|
+
lastScrollLeft = header.scrollLeft;
|
|
185
|
+
body.scrollLeft = lastScrollLeft;
|
|
178
186
|
}
|
|
179
187
|
else {
|
|
180
|
-
|
|
181
|
-
header.scrollLeft =
|
|
188
|
+
lastScrollLeft = body.scrollLeft;
|
|
189
|
+
header.scrollLeft = lastScrollLeft;
|
|
182
190
|
}
|
|
183
191
|
}
|
|
184
192
|
else {
|
|
185
|
-
|
|
193
|
+
lastScrollLeft = body.scrollLeft;
|
|
186
194
|
}
|
|
187
195
|
deriveActiveLeftFixedColumn();
|
|
188
196
|
deriveActiveLeftFixedChildrenColumns();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
2
|
import type { ColumnKey, InternalRowData, SortOrder, SortState, TmNode, TableBaseColumn, TableExpandColumn, TableSelectionColumn, CompareFn, DataTableSetupProps } from './interface';
|
|
3
3
|
export declare function useSorter(props: DataTableSetupProps, { dataRelatedColsRef, filteredDataRef }: {
|
|
4
4
|
dataRelatedColsRef: ComputedRef<Array<TableSelectionColumn | TableBaseColumn | TableExpandColumn>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
2
|
import type { PaginationProps } from '../../pagination/src/Pagination';
|
|
3
3
|
import type { ColumnKey, FilterState, TableBaseColumn, TableSelectionColumn, InternalRowData, TmNode, TableExpandColumn, RowKey, DataTableSetupProps } from './interface';
|
|
4
4
|
export declare function useTableData(props: DataTableSetupProps, { dataRelatedColsRef }: {
|
|
@@ -19,7 +19,7 @@ export declare function useTableData(props: DataTableSetupProps, { dataRelatedCo
|
|
|
19
19
|
};
|
|
20
20
|
}[]>;
|
|
21
21
|
hoverKeyRef: import("vue").Ref<RowKey | null>;
|
|
22
|
-
selectionColumnRef: ComputedRef<TableSelectionColumn
|
|
22
|
+
selectionColumnRef: ComputedRef<TableSelectionColumn | null>;
|
|
23
23
|
childTriggerColIndexRef: ComputedRef<number>;
|
|
24
24
|
doUpdateFilters: (filters: FilterState, sourceColumn: TableBaseColumn) => void;
|
|
25
25
|
deriveNextSorter: (sortState: import("./interface").SortState | null) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'vue';
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
2
|
import type { SortOrder, TableBaseColumn, InternalRowData, SortOrderFlag, SortState, CreateRowClassName, TableSelectionColumn, TableColumn, TableExpandColumn } from './interface';
|
|
3
3
|
export declare const SELECTION_COL_WIDTH = 40;
|
|
4
4
|
export declare const EXPAND_COL_WIDTH = 40;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PropType, ExtractPropTypes, Ref } from 'vue';
|
|
2
|
-
import { FollowerPlacement } from 'vueuc';
|
|
1
|
+
import { type PropType, type ExtractPropTypes, type Ref } from 'vue';
|
|
2
|
+
import { type FollowerPlacement } from 'vueuc';
|
|
3
3
|
import type { TimePickerProps } from '../../time-picker/src/TimePicker';
|
|
4
4
|
import type { FormValidationStatus } from '../../form/src/interface';
|
|
5
5
|
import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
6
|
-
import { DatePickerType } from './config';
|
|
6
|
+
import { type DatePickerType } from './config';
|
|
7
7
|
import type { OnUpdateValue, Value, IsDateDisabled, IsTimeDisabled, Shortcuts, FirstDayOfWeek, DefaultTime, FormattedValue, OnUpdateFormattedValue } from './interface';
|
|
8
8
|
export declare const datePickerProps: {
|
|
9
9
|
readonly to: {
|
|
@@ -3862,7 +3862,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3862
3862
|
}>>>;
|
|
3863
3863
|
}, {
|
|
3864
3864
|
mergedStatus: import("vue").ComputedRef<FormValidationStatus | undefined>;
|
|
3865
|
-
mergedClsPrefix:
|
|
3865
|
+
mergedClsPrefix: Ref<string>;
|
|
3866
3866
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
3867
3867
|
namespace: import("vue").ComputedRef<string | undefined>;
|
|
3868
3868
|
uncontrolledValue: Ref<Value | null>;
|
|
@@ -7015,5 +7015,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7015
7015
|
readonly updateValueOnClose: boolean;
|
|
7016
7016
|
readonly closeOnSelect: boolean;
|
|
7017
7017
|
readonly bindCalendarMonths: boolean;
|
|
7018
|
-
}>;
|
|
7018
|
+
}, {}>;
|
|
7019
7019
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Ref, Slots, UnwrapNestedRefs } from 'vue';
|
|
2
|
-
import { VirtualListInst } from 'vueuc';
|
|
3
|
-
import { NLocale, NDateLocale } from '../../locales';
|
|
1
|
+
import type { Ref, Slots, UnwrapNestedRefs } from 'vue';
|
|
2
|
+
import { type VirtualListInst } from 'vueuc';
|
|
3
|
+
import type { NLocale, NDateLocale } from '../../locales';
|
|
4
4
|
import type { ScrollbarInst } from '../../_internal';
|
|
5
5
|
import type { IsHourDisabled, IsMinuteDisabled, IsSecondDisabled } from '../../time-picker/src/interface';
|
|
6
6
|
import type { TimePickerProps } from '../../time-picker/src/TimePicker';
|
|
7
7
|
import type { MergedTheme } from '../../_mixins';
|
|
8
8
|
import type { DatePickerTheme } from '../styles/light';
|
|
9
|
-
import { uniCalendarValidation, dualCalendarValidation } from './validation-utils';
|
|
9
|
+
import type { uniCalendarValidation, dualCalendarValidation } from './validation-utils';
|
|
10
10
|
export type Value = number | [number, number];
|
|
11
11
|
export type DefaultTime = string | [string | undefined, string | undefined];
|
|
12
12
|
export type FormattedValue = string | [string, string];
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
timePickerSize: import("vue").Ref<"small" | "medium" | "large">;
|
|
45
45
|
dateInputValue: import("vue").Ref<string>;
|
|
46
46
|
datePickerSlots: Readonly<{
|
|
47
|
-
[name: string]: import("vue").Slot | undefined;
|
|
47
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
48
48
|
}>;
|
|
49
49
|
handleQuickMonthClick: (dateItem: import("../utils").MonthItem | import("../utils").YearItem | import("../utils").QuarterItem, updatePanelValue: (value: number) => void) => void;
|
|
50
50
|
justifyColumnsScrollState: (value?: number | undefined) => void;
|
|
@@ -415,7 +415,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
415
415
|
borderFocusSuccess: string;
|
|
416
416
|
borderDisabledSuccess: string;
|
|
417
417
|
rippleColorSuccess: string;
|
|
418
|
-
colorWarning: string;
|
|
418
|
+
colorWarning: string;
|
|
419
419
|
colorHoverWarning: string;
|
|
420
420
|
colorPressedWarning: string;
|
|
421
421
|
colorFocusWarning: string;
|
|
@@ -640,7 +640,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
640
640
|
borderFocusSuccess: string;
|
|
641
641
|
borderDisabledSuccess: string;
|
|
642
642
|
rippleColorSuccess: string;
|
|
643
|
-
colorWarning: string;
|
|
643
|
+
colorWarning: string;
|
|
644
644
|
colorHoverWarning: string;
|
|
645
645
|
colorPressedWarning: string;
|
|
646
646
|
colorFocusWarning: string;
|
|
@@ -928,7 +928,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
928
928
|
borderFocusSuccess: string;
|
|
929
929
|
borderDisabledSuccess: string;
|
|
930
930
|
rippleColorSuccess: string;
|
|
931
|
-
colorWarning: string;
|
|
931
|
+
colorWarning: string;
|
|
932
932
|
colorHoverWarning: string;
|
|
933
933
|
colorPressedWarning: string;
|
|
934
934
|
colorFocusWarning: string;
|
|
@@ -1103,7 +1103,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1103
1103
|
startMonthPlaceholder: string;
|
|
1104
1104
|
endMonthPlaceholder: string;
|
|
1105
1105
|
monthBeforeYear: boolean;
|
|
1106
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
1106
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
1107
1107
|
today: string;
|
|
1108
1108
|
}>;
|
|
1109
1109
|
doConfirm: () => void;
|
|
@@ -1179,5 +1179,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1179
1179
|
readonly active: boolean;
|
|
1180
1180
|
readonly actions: string[];
|
|
1181
1181
|
readonly panel: boolean;
|
|
1182
|
-
}>;
|
|
1182
|
+
}, {}>;
|
|
1183
1183
|
export default _default;
|
|
@@ -51,7 +51,9 @@ export default defineComponent({
|
|
|
51
51
|
[`${mergedClsPrefix}-date-panel-date--excluded`]: !dateItem.inCurrentMonth,
|
|
52
52
|
[`${mergedClsPrefix}-date-panel-date--disabled`]: this.mergedIsDateDisabled(dateItem.ts)
|
|
53
53
|
}
|
|
54
|
-
], onClick: () =>
|
|
54
|
+
], onClick: () => {
|
|
55
|
+
this.handleDateClick(dateItem);
|
|
56
|
+
} },
|
|
55
57
|
h("div", { class: `${mergedClsPrefix}-date-panel-date__trigger` }),
|
|
56
58
|
dateItem.dateObject.date,
|
|
57
59
|
dateItem.isCurrentDate ? (h("div", { class: `${mergedClsPrefix}-date-panel-date__sup` })) : null))))),
|
|
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
startTimeValue: import("vue").ComputedRef<number | null>;
|
|
37
37
|
endTimeValue: import("vue").ComputedRef<number | null>;
|
|
38
38
|
datePickerSlots: Readonly<{
|
|
39
|
-
[name: string]: import("vue").Slot | undefined;
|
|
39
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
shortcuts: import("vue").ComputedRef<import("../interface").Shortcuts | undefined>;
|
|
42
42
|
startCalendarDateTime: import("vue").Ref<number>;
|
|
@@ -1128,7 +1128,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1128
1128
|
startMonthPlaceholder: string;
|
|
1129
1129
|
endMonthPlaceholder: string;
|
|
1130
1130
|
monthBeforeYear: boolean;
|
|
1131
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
1131
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
1132
1132
|
today: string;
|
|
1133
1133
|
}>;
|
|
1134
1134
|
doConfirm: () => void;
|
|
@@ -1216,5 +1216,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1216
1216
|
readonly actions: unknown[];
|
|
1217
1217
|
readonly panel: boolean;
|
|
1218
1218
|
readonly bindCalendarMonths: boolean;
|
|
1219
|
-
}>;
|
|
1219
|
+
}, {}>;
|
|
1220
1220
|
export default _default;
|
|
@@ -49,7 +49,11 @@ export default defineComponent({
|
|
|
49
49
|
[`${mergedClsPrefix}-date-panel-date--end`]: dateItem.endOfSpan,
|
|
50
50
|
[`${mergedClsPrefix}-date-panel-date--disabled`]: this.mergedIsDateDisabled(dateItem.ts)
|
|
51
51
|
}
|
|
52
|
-
], onClick: () =>
|
|
52
|
+
], onClick: () => {
|
|
53
|
+
this.handleDateClick(dateItem);
|
|
54
|
+
}, onMouseenter: () => {
|
|
55
|
+
this.handleDateMouseEnter(dateItem);
|
|
56
|
+
} },
|
|
53
57
|
h("div", { class: `${mergedClsPrefix}-date-panel-date__trigger` }),
|
|
54
58
|
dateItem.dateObject.date,
|
|
55
59
|
dateItem.isCurrentDate ? (h("div", { class: `${mergedClsPrefix}-date-panel-date__sup` })) : null))))),
|
|
@@ -74,7 +78,11 @@ export default defineComponent({
|
|
|
74
78
|
[`${mergedClsPrefix}-date-panel-date--end`]: dateItem.endOfSpan,
|
|
75
79
|
[`${mergedClsPrefix}-date-panel-date--disabled`]: this.mergedIsDateDisabled(dateItem.ts)
|
|
76
80
|
}
|
|
77
|
-
], onClick: () =>
|
|
81
|
+
], onClick: () => {
|
|
82
|
+
this.handleDateClick(dateItem);
|
|
83
|
+
}, onMouseenter: () => {
|
|
84
|
+
this.handleDateMouseEnter(dateItem);
|
|
85
|
+
} },
|
|
78
86
|
h("div", { class: `${mergedClsPrefix}-date-panel-date__trigger` }),
|
|
79
87
|
dateItem.dateObject.date,
|
|
80
88
|
dateItem.isCurrentDate ? (h("div", { class: `${mergedClsPrefix}-date-panel-date__sup` })) : null))))),
|