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,28 +1,45 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type TmNode } from './interface';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
clsPrefix: {
|
|
4
5
|
type: StringConstructor;
|
|
5
6
|
required: true;
|
|
6
7
|
};
|
|
8
|
+
indent: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
7
12
|
expanded: BooleanConstructor;
|
|
8
13
|
selected: BooleanConstructor;
|
|
9
14
|
hide: BooleanConstructor;
|
|
10
15
|
loading: BooleanConstructor;
|
|
11
16
|
onClick: PropType<(e: MouseEvent) => void>;
|
|
17
|
+
tmNode: {
|
|
18
|
+
type: PropType<TmNode>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
12
21
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
22
|
clsPrefix: {
|
|
14
23
|
type: StringConstructor;
|
|
15
24
|
required: true;
|
|
16
25
|
};
|
|
26
|
+
indent: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
17
30
|
expanded: BooleanConstructor;
|
|
18
31
|
selected: BooleanConstructor;
|
|
19
32
|
hide: BooleanConstructor;
|
|
20
33
|
loading: BooleanConstructor;
|
|
21
34
|
onClick: PropType<(e: MouseEvent) => void>;
|
|
35
|
+
tmNode: {
|
|
36
|
+
type: PropType<TmNode>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
22
39
|
}>>, {
|
|
23
40
|
hide: boolean;
|
|
24
41
|
expanded: boolean;
|
|
25
42
|
selected: boolean;
|
|
26
43
|
loading: boolean;
|
|
27
|
-
}>;
|
|
44
|
+
}, {}>;
|
|
28
45
|
export default _default;
|
|
@@ -9,22 +9,27 @@ export default defineComponent({
|
|
|
9
9
|
type: String,
|
|
10
10
|
required: true
|
|
11
11
|
},
|
|
12
|
+
indent: { type: Number, required: true },
|
|
12
13
|
expanded: Boolean,
|
|
13
14
|
selected: Boolean,
|
|
14
15
|
hide: Boolean,
|
|
15
16
|
loading: Boolean,
|
|
16
|
-
onClick: Function
|
|
17
|
+
onClick: Function,
|
|
18
|
+
tmNode: {
|
|
19
|
+
type: Object,
|
|
20
|
+
required: true
|
|
21
|
+
}
|
|
17
22
|
},
|
|
18
23
|
setup(props) {
|
|
19
24
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
20
25
|
const { renderSwitcherIconRef } = inject(treeInjectionKey, null);
|
|
21
26
|
return () => {
|
|
22
|
-
const { clsPrefix } = props;
|
|
27
|
+
const { clsPrefix, expanded, hide, indent, onClick } = props;
|
|
23
28
|
return (h("span", { "data-switcher": true, class: [
|
|
24
29
|
`${clsPrefix}-tree-node-switcher`,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
], onClick:
|
|
30
|
+
expanded && `${clsPrefix}-tree-node-switcher--expanded`,
|
|
31
|
+
hide && `${clsPrefix}-tree-node-switcher--hide`
|
|
32
|
+
], style: { width: `${indent}px` }, onClick: onClick },
|
|
28
33
|
h("div", { class: `${clsPrefix}-tree-node-switcher__icon` },
|
|
29
34
|
h(NIconSwitchTransition, null, {
|
|
30
35
|
default: () => {
|
|
@@ -34,7 +39,8 @@ export default defineComponent({
|
|
|
34
39
|
const { value: renderSwitcherIcon } = renderSwitcherIconRef;
|
|
35
40
|
return renderSwitcherIcon ? (renderSwitcherIcon({
|
|
36
41
|
expanded: props.expanded,
|
|
37
|
-
selected: props.selected
|
|
42
|
+
selected: props.selected,
|
|
43
|
+
option: props.tmNode.rawNode
|
|
38
44
|
})) : (h(NBaseIcon, { clsPrefix: clsPrefix, key: "switcher" }, { default: () => h(SwitcherIcon, null) }));
|
|
39
45
|
}
|
|
40
46
|
}))));
|
package/es/tree/src/dnd.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
import { DropPosition, TreeOption } from './interface';
|
|
1
|
+
import { type VNode } from 'vue';
|
|
2
|
+
import { type DropPosition, type TreeOption } from './interface';
|
|
3
3
|
export declare function renderDropMark({ position, offsetLevel, indent, el }: {
|
|
4
4
|
position: 'before' | 'inside' | 'after';
|
|
5
5
|
offsetLevel: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CheckStrategy, TreeNode } from 'treemate';
|
|
2
|
-
import { HTMLAttributes, Ref, VNodeChild } from 'vue';
|
|
1
|
+
import { type CheckStrategy, type TreeNode } from 'treemate';
|
|
2
|
+
import { type HTMLAttributes, type Ref, type VNodeChild } from 'vue';
|
|
3
3
|
import type { MergedTheme } from '../../_mixins';
|
|
4
4
|
import type { TreeTheme } from '../styles';
|
|
5
5
|
export type Key = string | number;
|
|
@@ -56,6 +56,7 @@ export interface InternalDropInfo {
|
|
|
56
56
|
export type RenderSwitcherIcon = (props: {
|
|
57
57
|
expanded: boolean;
|
|
58
58
|
selected: boolean;
|
|
59
|
+
option: TreeOption;
|
|
59
60
|
}) => VNodeChild;
|
|
60
61
|
export type CheckOnClick = (option: TreeOption) => boolean;
|
|
61
62
|
export interface TreeInjection {
|
|
@@ -96,6 +97,7 @@ export interface TreeInjection {
|
|
|
96
97
|
internalTreeSelect: boolean;
|
|
97
98
|
checkOnClickRef: Ref<boolean | CheckOnClick>;
|
|
98
99
|
disabledFieldRef: Ref<string>;
|
|
100
|
+
showLineRef: Ref<boolean>;
|
|
99
101
|
handleSwitcherClick: (node: TreeNode<TreeOption>) => void;
|
|
100
102
|
handleSelect: (node: TreeNode<TreeOption>) => void;
|
|
101
103
|
handleCheck: (node: TreeNode<TreeOption>, checked: boolean) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { TreeNode } from 'treemate';
|
|
3
|
-
import { Key, TmNode, TreeOption } from './interface';
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { type TreeNode } from 'treemate';
|
|
3
|
+
import { type Key, type TmNode, type TreeOption } from './interface';
|
|
4
4
|
export declare function useKeyboard({ props, fNodesRef, mergedExpandedKeysRef, mergedSelectedKeysRef, handleSelect, handleSwitcherClick }: {
|
|
5
5
|
props: {
|
|
6
6
|
keyboard: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { c, cB, cE, cM, cNotM } from '../../../_utils/cssr';
|
|
2
2
|
import { iconSwitchTransition } from '../../../_styles/transitions/icon-switch.cssr';
|
|
3
3
|
import { fadeInHeightExpandTransition } from '../../../_styles/transitions/fade-in-height-expand.cssr';
|
|
4
|
+
const iconSwitchTransitionNode = iconSwitchTransition();
|
|
4
5
|
// vars:
|
|
5
6
|
// --n-arrow-color
|
|
6
7
|
// --n-bezier
|
|
@@ -11,6 +12,11 @@ import { fadeInHeightExpandTransition } from '../../../_styles/transitions/fade-
|
|
|
11
12
|
// --n-node-color-pressed
|
|
12
13
|
// --n-node-text-color
|
|
13
14
|
// --n-node-text-color-disabled
|
|
15
|
+
// --n-node-wrapper-padding
|
|
16
|
+
// --n-line-offset-top
|
|
17
|
+
// --n-line-offset-bottom
|
|
18
|
+
// --n-node-content-height
|
|
19
|
+
// --n-line-height
|
|
14
20
|
export default cB('tree', `
|
|
15
21
|
font-size: var(--n-font-size);
|
|
16
22
|
outline: none;
|
|
@@ -18,29 +24,21 @@ export default cB('tree', `
|
|
|
18
24
|
margin: 0;
|
|
19
25
|
padding: 0;
|
|
20
26
|
list-style: none;
|
|
21
|
-
`), c('>', [cB('tree-node', [c('&:first-child', {
|
|
22
|
-
marginTop: 0
|
|
23
|
-
})])]), cB('tree-node-indent', `
|
|
24
|
-
flex-grow: 0;
|
|
25
|
-
flex-shrink: 0;
|
|
26
|
-
height: 0;
|
|
27
|
-
`), cB('tree-motion-wrapper', [cM('expand', [fadeInHeightExpandTransition({
|
|
27
|
+
`), c('>', [cB('tree-node', [c('&:first-child', 'margin-top: 0;')])]), cB('tree-motion-wrapper', [cM('expand', [fadeInHeightExpandTransition({
|
|
28
28
|
duration: '0.2s'
|
|
29
29
|
})]), cM('collapse', [fadeInHeightExpandTransition({
|
|
30
30
|
duration: '0.2s',
|
|
31
31
|
reverse: true
|
|
32
32
|
})])]), cB('tree-node-wrapper', `
|
|
33
33
|
box-sizing: border-box;
|
|
34
|
-
padding:
|
|
34
|
+
padding: var(--n-node-wrapper-padding);
|
|
35
35
|
`), cB('tree-node', `
|
|
36
36
|
transform: translate3d(0,0,0);
|
|
37
37
|
position: relative;
|
|
38
38
|
display: flex;
|
|
39
39
|
border-radius: var(--n-node-border-radius);
|
|
40
40
|
transition: background-color .3s var(--n-bezier);
|
|
41
|
-
`, [cM('highlight', [cB('tree-node-content', [cE('text',
|
|
42
|
-
borderBottomColor: 'var(--n-node-text-color-disabled)'
|
|
43
|
-
})])]), cM('disabled', [cB('tree-node-content', `
|
|
41
|
+
`, [cM('highlight', [cB('tree-node-content', [cE('text', 'border-bottom-color: var(--n-node-text-color-disabled);')])]), cM('disabled', [cB('tree-node-content', `
|
|
44
42
|
color: var(--n-node-text-color-disabled);
|
|
45
43
|
cursor: not-allowed;
|
|
46
44
|
`)]), cNotM('disabled', [cM('clickable', [cB('tree-node-content', `
|
|
@@ -48,30 +46,39 @@ export default cB('tree', `
|
|
|
48
46
|
`)])])]), cM('block-node', [cB('tree-node-content', `
|
|
49
47
|
flex: 1;
|
|
50
48
|
min-width: 0;
|
|
51
|
-
`)]), cNotM('block-line', [cB('tree-node', [cNotM('disabled', [cB('tree-node-content', [c('&:hover',
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
background-color: var(--n-node-color-hover);
|
|
57
|
-
`)]), cM('selected', [cB('tree-node-content', {
|
|
58
|
-
backgroundColor: 'var(--n-node-color-active)'
|
|
59
|
-
})])])])]), cM('block-line', [cB('tree-node', [cNotM('disabled', [c('&:hover', {
|
|
60
|
-
backgroundColor: 'var(--n-node-color-hover)'
|
|
61
|
-
}), cM('pending', `
|
|
62
|
-
background-color: var(--n-node-color-hover);
|
|
63
|
-
`), cM('selectable', [cNotM('selected', [c('&:active', {
|
|
64
|
-
backgroundColor: 'var(--n-node-color-pressed)'
|
|
65
|
-
})])]), cM('selected', {
|
|
66
|
-
backgroundColor: 'var(--n-node-color-active)'
|
|
67
|
-
})]), cM('disabled', `
|
|
49
|
+
`)]), cNotM('block-line', [cB('tree-node', [cNotM('disabled', [cB('tree-node-content', [c('&:hover', 'background: var(--n-node-color-hover);')]), cM('selectable', [cB('tree-node-content', [c('&:active', 'background: var(--n-node-color-pressed);')])]), cM('pending', [cB('tree-node-content', `
|
|
50
|
+
background: var(--n-node-color-hover);
|
|
51
|
+
`)]), cM('selected', [cB('tree-node-content', 'background: var(--n-node-color-active);')])])])]), cM('block-line', [cB('tree-node', [cNotM('disabled', [c('&:hover', 'background: var(--n-node-color-hover);'), cM('pending', `
|
|
52
|
+
background: var(--n-node-color-hover);
|
|
53
|
+
`), cM('selectable', [cNotM('selected', [c('&:active', 'background: var(--n-node-color-pressed);')])]), cM('selected', 'background: var(--n-node-color-active);')]), cM('disabled', `
|
|
68
54
|
cursor: not-allowed;
|
|
69
|
-
`)])]), cB('tree-node-
|
|
55
|
+
`)])]), cB('tree-node-indent', `
|
|
56
|
+
flex-grow: 0;
|
|
57
|
+
flex-shrink: 0;
|
|
58
|
+
`, [cM('show-line', 'position: relative', [c('&::before', `
|
|
59
|
+
position: absolute;
|
|
60
|
+
left: 50%;
|
|
61
|
+
border-left: 1px solid var(--n-border-color);
|
|
62
|
+
transition: border-color .3s var(--n-bezier);
|
|
63
|
+
transform: translate(-50%);
|
|
64
|
+
content: "";
|
|
65
|
+
top: var(--n-line-offset-top);
|
|
66
|
+
bottom: var(--n-line-offset-bottom);
|
|
67
|
+
`), cM('last-child', [c('&::before', `
|
|
68
|
+
bottom: 50%;
|
|
69
|
+
`)]), cM('is-leaf', [c('&::after', `
|
|
70
|
+
position: absolute;
|
|
71
|
+
content: "";
|
|
72
|
+
left: calc(50% + 0.5px);
|
|
73
|
+
right: 0;
|
|
74
|
+
bottom: 50%;
|
|
75
|
+
transition: border-color .3s var(--n-bezier);
|
|
76
|
+
border-bottom: 1px solid var(--n-border-color);
|
|
77
|
+
`)])]), cNotM('show-line', 'height: 0;')]), cB('tree-node-switcher', `
|
|
70
78
|
cursor: pointer;
|
|
71
79
|
display: inline-flex;
|
|
72
80
|
flex-shrink: 0;
|
|
73
|
-
height:
|
|
74
|
-
width: 24px;
|
|
81
|
+
height: var(--n-node-content-height);
|
|
75
82
|
align-items: center;
|
|
76
83
|
justify-content: center;
|
|
77
84
|
transition: transform .15s var(--n-bezier);
|
|
@@ -84,49 +91,37 @@ export default cB('tree', `
|
|
|
84
91
|
color: var(--n-arrow-color);
|
|
85
92
|
transition: color .3s var(--n-bezier);
|
|
86
93
|
font-size: 14px;
|
|
87
|
-
`, [cB('icon', [
|
|
94
|
+
`, [cB('icon', [iconSwitchTransitionNode]), cB('base-loading', `
|
|
88
95
|
color: var(--n-loading-color);
|
|
89
96
|
position: absolute;
|
|
90
97
|
left: 0;
|
|
91
98
|
top: 0;
|
|
92
99
|
right: 0;
|
|
93
100
|
bottom: 0;
|
|
94
|
-
`, [
|
|
95
|
-
visibility: 'hidden'
|
|
96
|
-
}), cM('expanded', {
|
|
97
|
-
transform: 'rotate(90deg)'
|
|
98
|
-
})]), cB('tree-node-checkbox', `
|
|
101
|
+
`, [iconSwitchTransitionNode]), cB('base-icon', [iconSwitchTransitionNode])]), cM('hide', 'visibility: hidden;'), cM('expanded', 'transform: rotate(90deg);')]), cB('tree-node-checkbox', `
|
|
99
102
|
display: inline-flex;
|
|
100
|
-
height:
|
|
101
|
-
width: 16px;
|
|
103
|
+
height: var(--n-node-content-height);
|
|
102
104
|
vertical-align: bottom;
|
|
103
105
|
align-items: center;
|
|
104
106
|
justify-content: center;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
padding: 0 6px;
|
|
108
|
-
`)]), cB('tree-node-content', `
|
|
107
|
+
`), cB('tree-node-content', `
|
|
108
|
+
user-select: none;
|
|
109
109
|
position: relative;
|
|
110
110
|
display: inline-flex;
|
|
111
111
|
align-items: center;
|
|
112
|
-
min-height:
|
|
112
|
+
min-height: var(--n-node-content-height);
|
|
113
113
|
box-sizing: border-box;
|
|
114
|
-
line-height:
|
|
114
|
+
line-height: var(--n-line-height);
|
|
115
115
|
vertical-align: bottom;
|
|
116
116
|
padding: 0 6px 0 4px;
|
|
117
117
|
cursor: default;
|
|
118
118
|
border-radius: var(--n-node-border-radius);
|
|
119
|
-
text-decoration-color: #0000;
|
|
120
|
-
text-decoration-line: underline;
|
|
121
119
|
color: var(--n-node-text-color);
|
|
122
120
|
transition:
|
|
123
121
|
color .3s var(--n-bezier),
|
|
124
|
-
text-decoration-color .3s var(--n-bezier),
|
|
125
122
|
background-color .3s var(--n-bezier),
|
|
126
123
|
border-color .3s var(--n-bezier);
|
|
127
|
-
`, [c('&:last-child',
|
|
128
|
-
marginBottom: 0
|
|
129
|
-
}), cE('prefix', `
|
|
124
|
+
`, [c('&:last-child', 'margin-bottom: 0;'), cE('prefix', `
|
|
130
125
|
display: inline-flex;
|
|
131
126
|
margin-right: 8px;
|
|
132
127
|
`), cE('text', `
|
package/es/tree/src/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
2
|
-
import { CheckStrategy } from 'treemate';
|
|
3
|
-
import { Key, TmNode, TreeOption } from './interface';
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
|
+
import { type CheckStrategy } from 'treemate';
|
|
3
|
+
import { type Key, type TmNode, type TreeOption } from './interface';
|
|
4
4
|
export declare function useMergedCheckStrategy(props: {
|
|
5
5
|
leafOnly: boolean;
|
|
6
6
|
checkStrategy: CheckStrategy;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../_styles/common';
|
|
2
2
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
3
3
|
fontSize: string;
|
|
4
|
+
lineHeight: string;
|
|
5
|
+
nodeHeight: string;
|
|
6
|
+
nodeWrapperPadding: string;
|
|
4
7
|
nodeBorderRadius: string;
|
|
5
8
|
nodeColorHover: string;
|
|
6
9
|
nodeColorPressed: string;
|
|
@@ -14,6 +17,9 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
14
17
|
export type TreeThemeVars = ReturnType<typeof self>;
|
|
15
18
|
declare const treeLight: import("../../_mixins/use-theme").Theme<"Tree", {
|
|
16
19
|
fontSize: string;
|
|
20
|
+
lineHeight: string;
|
|
21
|
+
nodeHeight: string;
|
|
22
|
+
nodeWrapperPadding: string;
|
|
17
23
|
nodeBorderRadius: string;
|
|
18
24
|
nodeColorHover: string;
|
|
19
25
|
nodeColorPressed: string;
|
package/es/tree/styles/light.js
CHANGED
|
@@ -8,6 +8,9 @@ export const self = (vars) => {
|
|
|
8
8
|
const { borderRadiusSmall, hoverColor, pressedColor, primaryColor, textColor3, textColor2, textColorDisabled, fontSize } = vars;
|
|
9
9
|
return {
|
|
10
10
|
fontSize,
|
|
11
|
+
lineHeight: '1.5',
|
|
12
|
+
nodeHeight: '30px',
|
|
13
|
+
nodeWrapperPadding: '3px 0',
|
|
11
14
|
nodeBorderRadius: borderRadiusSmall,
|
|
12
15
|
nodeColorHover: hoverColor,
|
|
13
16
|
nodeColorPressed: pressedColor,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PropType, HTMLAttributes, VNodeChild } from 'vue';
|
|
2
|
-
import { FollowerPlacement } from 'vueuc';
|
|
3
|
-
import { CheckStrategy } from 'treemate';
|
|
1
|
+
import { type PropType, type HTMLAttributes, type VNodeChild } from 'vue';
|
|
2
|
+
import { type FollowerPlacement } from 'vueuc';
|
|
3
|
+
import { type CheckStrategy } from 'treemate';
|
|
4
4
|
import type { FormValidationStatus } from '../../form/src/interface';
|
|
5
|
-
import { Key, TreeOption } from '../../tree/src/interface';
|
|
5
|
+
import { type Key, type TreeOption } from '../../tree/src/interface';
|
|
6
6
|
import type { SelectBaseOption, SelectOption } from '../../select/src/interface';
|
|
7
|
-
import { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
7
|
+
import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
|
|
8
8
|
import type { OnUpdateValue, TreeSelectNodeProps, TreeSelectOption, TreeSelectRenderTag } from './interface';
|
|
9
9
|
type OnLoad = (node: TreeSelectOption) => Promise<void>;
|
|
10
10
|
export declare const treeSelectProps: {
|
|
@@ -41,14 +41,14 @@ export declare const treeSelectProps: {
|
|
|
41
41
|
};
|
|
42
42
|
readonly disabledField: {
|
|
43
43
|
readonly type: StringConstructor;
|
|
44
|
-
readonly default: "disabled";
|
|
45
|
-
* @deprecated
|
|
46
|
-
*/
|
|
44
|
+
readonly default: "disabled";
|
|
47
45
|
};
|
|
48
46
|
readonly defaultExpandedKeys: {
|
|
49
47
|
readonly type: PropType<Key[]>;
|
|
50
48
|
readonly default: () => never[];
|
|
51
|
-
};
|
|
49
|
+
}; /**
|
|
50
|
+
* @deprecated
|
|
51
|
+
*/
|
|
52
52
|
readonly indeterminateKeys: PropType<Key[]>;
|
|
53
53
|
readonly renderSwitcherIcon: PropType<import("../../tree/src/interface").RenderSwitcherIcon>;
|
|
54
54
|
readonly onUpdateIndeterminateKeys: PropType<MaybeArray<import("../../tree/src/Tree").OnUpdateIndeterminateKeys>>;
|
|
@@ -130,6 +130,9 @@ export declare const treeSelectProps: {
|
|
|
130
130
|
}, {
|
|
131
131
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
132
132
|
fontSize: string;
|
|
133
|
+
lineHeight: string;
|
|
134
|
+
nodeHeight: string;
|
|
135
|
+
nodeWrapperPadding: string;
|
|
133
136
|
nodeBorderRadius: string;
|
|
134
137
|
nodeColorHover: string;
|
|
135
138
|
nodeColorPressed: string;
|
|
@@ -283,6 +286,9 @@ export declare const treeSelectProps: {
|
|
|
283
286
|
}, {
|
|
284
287
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
285
288
|
fontSize: string;
|
|
289
|
+
lineHeight: string;
|
|
290
|
+
nodeHeight: string;
|
|
291
|
+
nodeWrapperPadding: string;
|
|
286
292
|
nodeBorderRadius: string;
|
|
287
293
|
nodeColorHover: string;
|
|
288
294
|
nodeColorPressed: string;
|
|
@@ -436,6 +442,9 @@ export declare const treeSelectProps: {
|
|
|
436
442
|
}, {
|
|
437
443
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
438
444
|
fontSize: string;
|
|
445
|
+
lineHeight: string;
|
|
446
|
+
nodeHeight: string;
|
|
447
|
+
nodeWrapperPadding: string;
|
|
439
448
|
nodeBorderRadius: string;
|
|
440
449
|
nodeColorHover: string;
|
|
441
450
|
nodeColorPressed: string;
|
|
@@ -613,14 +622,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
613
622
|
};
|
|
614
623
|
readonly disabledField: {
|
|
615
624
|
readonly type: StringConstructor;
|
|
616
|
-
readonly default: "disabled";
|
|
617
|
-
* @deprecated
|
|
618
|
-
*/
|
|
625
|
+
readonly default: "disabled";
|
|
619
626
|
};
|
|
620
627
|
readonly defaultExpandedKeys: {
|
|
621
628
|
readonly type: PropType<Key[]>;
|
|
622
629
|
readonly default: () => never[];
|
|
623
|
-
};
|
|
630
|
+
}; /**
|
|
631
|
+
* @deprecated
|
|
632
|
+
*/
|
|
624
633
|
readonly indeterminateKeys: PropType<Key[]>;
|
|
625
634
|
readonly renderSwitcherIcon: PropType<import("../../tree/src/interface").RenderSwitcherIcon>;
|
|
626
635
|
readonly onUpdateIndeterminateKeys: PropType<MaybeArray<import("../../tree/src/Tree").OnUpdateIndeterminateKeys>>;
|
|
@@ -702,6 +711,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
702
711
|
}, {
|
|
703
712
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
704
713
|
fontSize: string;
|
|
714
|
+
lineHeight: string;
|
|
715
|
+
nodeHeight: string;
|
|
716
|
+
nodeWrapperPadding: string;
|
|
705
717
|
nodeBorderRadius: string;
|
|
706
718
|
nodeColorHover: string;
|
|
707
719
|
nodeColorPressed: string;
|
|
@@ -855,6 +867,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
855
867
|
}, {
|
|
856
868
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
857
869
|
fontSize: string;
|
|
870
|
+
lineHeight: string;
|
|
871
|
+
nodeHeight: string;
|
|
872
|
+
nodeWrapperPadding: string;
|
|
858
873
|
nodeBorderRadius: string;
|
|
859
874
|
nodeColorHover: string;
|
|
860
875
|
nodeColorPressed: string;
|
|
@@ -1008,6 +1023,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1008
1023
|
}, {
|
|
1009
1024
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
1010
1025
|
fontSize: string;
|
|
1026
|
+
lineHeight: string;
|
|
1027
|
+
nodeHeight: string;
|
|
1028
|
+
nodeWrapperPadding: string;
|
|
1011
1029
|
nodeBorderRadius: string;
|
|
1012
1030
|
nodeColorHover: string;
|
|
1013
1031
|
nodeColorPressed: string;
|
|
@@ -1157,6 +1175,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1157
1175
|
focus: () => void;
|
|
1158
1176
|
focusInput: () => void;
|
|
1159
1177
|
blur: () => void;
|
|
1178
|
+
blurInput: () => void;
|
|
1160
1179
|
$el: HTMLElement;
|
|
1161
1180
|
} | null>;
|
|
1162
1181
|
followerInstRef: import("vue").Ref<{
|
|
@@ -1165,7 +1184,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1165
1184
|
treeInstRef: import("vue").Ref<{
|
|
1166
1185
|
handleKeydown: (e: KeyboardEvent) => void;
|
|
1167
1186
|
} | null>;
|
|
1168
|
-
mergedClsPrefix: import("vue").
|
|
1187
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
1169
1188
|
mergedValue: import("vue").ComputedRef<string | number | (string | number)[] | null>;
|
|
1170
1189
|
mergedShow: import("vue").ComputedRef<boolean>;
|
|
1171
1190
|
namespace: import("vue").ComputedRef<string | undefined>;
|
|
@@ -1334,6 +1353,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1334
1353
|
peers: {
|
|
1335
1354
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
1336
1355
|
fontSize: string;
|
|
1356
|
+
lineHeight: string;
|
|
1357
|
+
nodeHeight: string;
|
|
1358
|
+
nodeWrapperPadding: string;
|
|
1337
1359
|
nodeBorderRadius: string;
|
|
1338
1360
|
nodeColorHover: string;
|
|
1339
1361
|
nodeColorPressed: string;
|
|
@@ -1573,7 +1595,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1573
1595
|
options: (TreeSelectOption | null)[];
|
|
1574
1596
|
};
|
|
1575
1597
|
focus: () => void;
|
|
1598
|
+
focusInput: () => void;
|
|
1576
1599
|
blur: () => void;
|
|
1600
|
+
blurInput: () => void;
|
|
1577
1601
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1578
1602
|
readonly renderLabel: PropType<import("./interface").TreeSelectRenderTreePart>;
|
|
1579
1603
|
readonly renderPrefix: PropType<import("./interface").TreeSelectRenderTreePart>;
|
|
@@ -1608,14 +1632,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1608
1632
|
};
|
|
1609
1633
|
readonly disabledField: {
|
|
1610
1634
|
readonly type: StringConstructor;
|
|
1611
|
-
readonly default: "disabled";
|
|
1612
|
-
* @deprecated
|
|
1613
|
-
*/
|
|
1635
|
+
readonly default: "disabled";
|
|
1614
1636
|
};
|
|
1615
1637
|
readonly defaultExpandedKeys: {
|
|
1616
1638
|
readonly type: PropType<Key[]>;
|
|
1617
1639
|
readonly default: () => never[];
|
|
1618
|
-
};
|
|
1640
|
+
}; /**
|
|
1641
|
+
* @deprecated
|
|
1642
|
+
*/
|
|
1619
1643
|
readonly indeterminateKeys: PropType<Key[]>;
|
|
1620
1644
|
readonly renderSwitcherIcon: PropType<import("../../tree/src/interface").RenderSwitcherIcon>;
|
|
1621
1645
|
readonly onUpdateIndeterminateKeys: PropType<MaybeArray<import("../../tree/src/Tree").OnUpdateIndeterminateKeys>>;
|
|
@@ -1697,6 +1721,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1697
1721
|
}, {
|
|
1698
1722
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
1699
1723
|
fontSize: string;
|
|
1724
|
+
lineHeight: string;
|
|
1725
|
+
nodeHeight: string;
|
|
1726
|
+
nodeWrapperPadding: string;
|
|
1700
1727
|
nodeBorderRadius: string;
|
|
1701
1728
|
nodeColorHover: string;
|
|
1702
1729
|
nodeColorPressed: string;
|
|
@@ -1850,6 +1877,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1850
1877
|
}, {
|
|
1851
1878
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
1852
1879
|
fontSize: string;
|
|
1880
|
+
lineHeight: string;
|
|
1881
|
+
nodeHeight: string;
|
|
1882
|
+
nodeWrapperPadding: string;
|
|
1853
1883
|
nodeBorderRadius: string;
|
|
1854
1884
|
nodeColorHover: string;
|
|
1855
1885
|
nodeColorPressed: string;
|
|
@@ -2003,6 +2033,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2003
2033
|
}, {
|
|
2004
2034
|
Tree: import("../../_mixins").Theme<"Tree", {
|
|
2005
2035
|
fontSize: string;
|
|
2036
|
+
lineHeight: string;
|
|
2037
|
+
nodeHeight: string;
|
|
2038
|
+
nodeWrapperPadding: string;
|
|
2006
2039
|
nodeBorderRadius: string;
|
|
2007
2040
|
nodeColorHover: string;
|
|
2008
2041
|
nodeColorPressed: string;
|
|
@@ -2145,12 +2178,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2145
2178
|
}>;
|
|
2146
2179
|
}>>>;
|
|
2147
2180
|
}>>, {
|
|
2181
|
+
readonly options: TreeSelectOption[];
|
|
2148
2182
|
readonly show: boolean | undefined;
|
|
2149
2183
|
readonly separator: string;
|
|
2150
2184
|
readonly multiple: boolean;
|
|
2151
2185
|
readonly disabled: boolean | undefined;
|
|
2152
2186
|
readonly to: string | boolean | HTMLElement;
|
|
2153
|
-
readonly options: TreeSelectOption[];
|
|
2154
2187
|
readonly loading: boolean;
|
|
2155
2188
|
readonly bordered: boolean;
|
|
2156
2189
|
readonly placement: FollowerPlacement;
|
|
@@ -2173,5 +2206,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2173
2206
|
readonly leafOnly: boolean;
|
|
2174
2207
|
readonly showPath: boolean;
|
|
2175
2208
|
readonly defaultExpandedKeys: Key[];
|
|
2176
|
-
}>;
|
|
2209
|
+
}, {}>;
|
|
2177
2210
|
export default _default;
|
|
@@ -510,7 +510,9 @@ export default defineComponent({
|
|
|
510
510
|
};
|
|
511
511
|
},
|
|
512
512
|
focus: () => { var _a; return (_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.focus(); },
|
|
513
|
-
|
|
513
|
+
focusInput: () => { var _a; return (_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.focusInput(); },
|
|
514
|
+
blur: () => { var _a; return (_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.blur(); },
|
|
515
|
+
blurInput: () => { var _a; return (_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.blurInput(); }
|
|
514
516
|
};
|
|
515
517
|
const themeRef = useTheme('TreeSelect', '-tree-select', style, treeSelectLight, props, mergedClsPrefixRef);
|
|
516
518
|
const cssVarsRef = computed(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeMate, TreeNode } from 'treemate';
|
|
2
|
-
import { HTMLAttributes, Ref, VNodeChild } from 'vue';
|
|
1
|
+
import { type TreeMate, type TreeNode } from 'treemate';
|
|
2
|
+
import { type HTMLAttributes, type Ref, type VNodeChild } from 'vue';
|
|
3
3
|
import type { TreeOptionBase, TreeOption } from '../../tree/src/interface';
|
|
4
4
|
export type TreeSelectOption = Omit<TreeOptionBase, 'checkboxDisabled' | 'isLeaf' | 'children'> & {
|
|
5
5
|
children?: TreeSelectOption[];
|
|
@@ -59,5 +59,7 @@ export interface TreeSelectInst {
|
|
|
59
59
|
options: Array<TreeSelectOption | null>;
|
|
60
60
|
};
|
|
61
61
|
focus: () => void;
|
|
62
|
+
focusInput: () => void;
|
|
62
63
|
blur: () => void;
|
|
64
|
+
blurInput: () => void;
|
|
63
65
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SelectBaseOption } from '../../select/src/interface';
|
|
2
|
-
import { TreeSelectTmNode } from './interface';
|
|
1
|
+
import { type SelectBaseOption } from '../../select/src/interface';
|
|
2
|
+
import { type TreeSelectTmNode } from './interface';
|
|
3
3
|
export declare function treeOption2SelectOption(tmNode: TreeSelectTmNode, labelField: string): SelectBaseOption;
|
|
4
4
|
export declare function treeOption2SelectOptionWithPath(tmNode: TreeSelectTmNode, path: TreeSelectTmNode[], separator: string, labelField: string): SelectBaseOption;
|
|
@@ -22,6 +22,9 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
22
22
|
}, {
|
|
23
23
|
Tree: import("../../_mixins/use-theme").Theme<"Tree", {
|
|
24
24
|
fontSize: string;
|
|
25
|
+
lineHeight: string;
|
|
26
|
+
nodeHeight: string;
|
|
27
|
+
nodeWrapperPadding: string;
|
|
25
28
|
nodeBorderRadius: string;
|
|
26
29
|
nodeColorHover: string;
|
|
27
30
|
nodeColorPressed: string;
|
package/es/typography/src/a.d.ts
CHANGED
|
@@ -400,7 +400,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
400
400
|
ulPadding: string;
|
|
401
401
|
}, any>>>;
|
|
402
402
|
}, {
|
|
403
|
-
mergedClsPrefix: import("vue").
|
|
403
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
404
404
|
cssVars: import("vue").ComputedRef<{
|
|
405
405
|
'--n-text-color': string;
|
|
406
406
|
'--n-bezier': string;
|
|
@@ -606,5 +606,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
606
606
|
olPadding: string;
|
|
607
607
|
ulPadding: string;
|
|
608
608
|
}, any>>>;
|
|
609
|
-
}>>, {}>;
|
|
609
|
+
}>>, {}, {}>;
|
|
610
610
|
export default _default;
|
|
@@ -402,7 +402,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
402
402
|
ulPadding: string;
|
|
403
403
|
}, any>>>;
|
|
404
404
|
}, {
|
|
405
|
-
mergedClsPrefix: import("vue").
|
|
405
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
406
406
|
cssVars: import("vue").ComputedRef<{
|
|
407
407
|
'--n-bezier': string;
|
|
408
408
|
'--n-font-size': string;
|
|
@@ -614,5 +614,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
614
614
|
}, any>>>;
|
|
615
615
|
}>>, {
|
|
616
616
|
readonly alignText: boolean;
|
|
617
|
-
}>;
|
|
617
|
+
}, {}>;
|
|
618
618
|
export default _default;
|