naive-ui 2.34.2 → 2.34.4
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 +3 -2
- package/dist/index.js +37441 -38587
- package/dist/index.prod.js +2 -2
- package/es/_internal/clear/src/Clear.d.ts +1 -1
- package/es/_internal/close/src/Close.d.ts +1 -1
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/es/_internal/icon/src/Icon.d.ts +1 -1
- package/es/_internal/loading/src/Loading.d.ts +2 -2
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +5 -5
- package/es/_internal/scrollbar/styles/light.d.ts +2 -2
- package/es/_internal/scrollbar/styles/rtl.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +3 -3
- package/es/_internal/select-menu/src/SelectMenu.d.ts +2 -2
- package/es/_internal/select-menu/src/SelectOption.d.ts +3 -3
- package/es/_internal/select-menu/src/interface.d.ts +9 -9
- package/es/_internal/select-menu/styles/light.d.ts +2 -2
- package/es/_internal/selection/src/Selection.d.ts +1 -1
- package/es/_internal/selection/src/Selection.js +2 -2
- package/es/_internal/selection/src/interface.d.ts +2 -2
- package/es/_internal/selection/styles/light.d.ts +2 -2
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/es/_internal/suffix/src/Suffix.d.ts +1 -1
- package/es/_mixins/use-config.d.ts +2 -2
- package/es/_mixins/use-css-vars-class.d.ts +1 -1
- package/es/_mixins/use-form-item.d.ts +3 -3
- 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 +2 -2
- package/es/_mixins/use-theme.d.ts +10 -10
- package/es/_styles/common/light.d.ts +1 -1
- 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/create-key.d.ts +3 -3
- package/es/_utils/cssr/index.d.ts +1 -1
- package/es/_utils/env/is-native-lazy-load.d.ts +1 -1
- package/es/_utils/env/is-native-lazy-load.js +2 -3
- package/es/_utils/naive/attribute.d.ts +1 -1
- package/es/_utils/naive/extract-public-props.d.ts +6 -6
- package/es/_utils/naive/mutable.d.ts +1 -1
- package/es/_utils/naive/prop.d.ts +1 -1
- package/es/_utils/vue/call.d.ts +1 -1
- 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/affix/src/Affix.d.ts +2 -2
- package/es/affix/src/utils.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +2 -2
- package/es/alert/styles/light.d.ts +2 -2
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.js +1 -1
- package/es/anchor/src/Link.d.ts +3 -3
- package/es/anchor/src/utils.d.ts +1 -1
- package/es/anchor/styles/light.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +7 -8
- package/es/auto-complete/src/interface.d.ts +6 -6
- package/es/auto-complete/src/utils.d.ts +2 -2
- package/es/auto-complete/styles/light.d.ts +2 -2
- package/es/avatar/src/Avatar.d.ts +3 -3
- package/es/avatar/src/Avatar.js +7 -1
- package/es/avatar/src/interface.d.ts +2 -2
- package/es/avatar/styles/light.d.ts +3 -3
- package/es/avatar-group/src/AvatarGroup.d.ts +3 -3
- package/es/avatar-group/styles/light.d.ts +2 -2
- package/es/avatar-group/styles/rtl.d.ts +1 -1
- package/es/back-top/src/BackTop.d.ts +2 -2
- package/es/back-top/styles/light.d.ts +2 -2
- package/es/badge/src/Badge.d.ts +8 -2
- package/es/badge/src/Badge.js +16 -4
- package/es/badge/styles/light.d.ts +3 -3
- package/es/badge/styles/rtl.d.ts +1 -1
- package/es/breadcrumb/src/Breadcrumb.d.ts +3 -3
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
- package/es/breadcrumb/styles/light.d.ts +2 -2
- package/es/button/src/Button.d.ts +6 -6
- package/es/button/src/interface.d.ts +2 -2
- package/es/button/styles/light.d.ts +2 -2
- package/es/button/styles/rtl.d.ts +1 -1
- package/es/button-group/src/ButtonGroup.d.ts +2 -2
- 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/light.d.ts +1 -1
- package/es/button-group/styles/rtl.d.ts +1 -1
- package/es/calendar/src/Calendar.d.ts +3 -3
- package/es/calendar/src/interface.d.ts +2 -2
- package/es/calendar/styles/light.d.ts +2 -2
- package/es/card/src/Card.d.ts +24 -19
- package/es/card/src/Card.js +8 -7
- package/es/card/styles/light.d.ts +3 -3
- package/es/card/styles/rtl.d.ts +1 -1
- package/es/carousel/src/Carousel.d.ts +2 -2
- package/es/carousel/src/Carousel.js +2 -2
- package/es/carousel/src/CarouselContext.js +1 -1
- package/es/carousel/src/CarouselDots.d.ts +1 -1
- package/es/carousel/src/CarouselDots.js +1 -1
- 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 +3 -3
- package/es/cascader/src/Cascader.d.ts +21 -11
- package/es/cascader/src/CascaderMenu.d.ts +4 -3
- package/es/cascader/src/CascaderOption.d.ts +3 -2
- package/es/cascader/src/CascaderSelectMenu.d.ts +4 -3
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -2
- package/es/cascader/src/interface.d.ts +13 -13
- package/es/cascader/styles/light.d.ts +3 -2
- package/es/checkbox/src/Checkbox.d.ts +14 -3
- package/es/checkbox/src/Checkbox.js +2 -1
- package/es/checkbox/src/CheckboxGroup.d.ts +3 -4
- package/es/checkbox/src/interface.d.ts +2 -2
- package/es/checkbox/src/styles/index.cssr.js +1 -0
- package/es/checkbox/styles/_common.d.ts +1 -0
- package/es/checkbox/styles/_common.js +2 -1
- package/es/checkbox/styles/light.d.ts +3 -2
- package/es/code/src/Code.d.ts +3 -3
- package/es/code/styles/light.d.ts +3 -3
- package/es/collapse/src/Collapse.d.ts +15 -5
- package/es/collapse/src/Collapse.js +2 -1
- package/es/collapse/src/CollapseItem.d.ts +2 -2
- package/es/collapse/src/CollapseItemContent.d.ts +1 -1
- package/es/collapse/src/interface.d.ts +4 -4
- package/es/collapse/src/styles/index.cssr.js +2 -1
- package/es/collapse/styles/light.d.ts +4 -3
- package/es/collapse/styles/light.js +2 -1
- package/es/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/es/collapse-transition/styles/light.d.ts +3 -3
- package/es/color-picker/src/AlphaSlider.d.ts +2 -2
- package/es/color-picker/src/ColorInput.d.ts +2 -2
- package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +5 -5
- package/es/color-picker/src/ColorPicker.js +2 -2
- package/es/color-picker/src/ColorPickerSwatches.d.ts +2 -2
- package/es/color-picker/src/ColorPickerSwatches.js +1 -1
- package/es/color-picker/src/ColorPickerTrigger.d.ts +2 -2
- package/es/color-picker/src/ColorPreview.d.ts +2 -2
- package/es/color-picker/src/HueSlider.d.ts +1 -1
- package/es/color-picker/src/Pallete.d.ts +2 -2
- package/es/color-picker/src/context.d.ts +1 -1
- package/es/color-picker/src/interface.d.ts +6 -6
- package/es/color-picker/src/utils.d.ts +2 -2
- package/es/color-picker/styles/light.d.ts +2 -2
- package/es/composables/use-theme-vars.d.ts +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +7 -7
- package/es/config-provider/src/interface.d.ts +1 -1
- package/es/config-provider/src/internal-interface.d.ts +5 -7
- package/es/config-provider/src/katex.d.ts +2 -2
- package/es/countdown/src/Countdown.d.ts +2 -2
- package/es/create.d.ts +2 -2
- package/es/data-table/src/DataTable.d.ts +16 -2
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -4
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +9 -6
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
- package/es/data-table/src/HeaderButton/RenderSorter.d.ts +2 -2
- package/es/data-table/src/HeaderButton/SortButton.d.ts +4 -4
- package/es/data-table/src/TableParts/Body.d.ts +5 -3
- package/es/data-table/src/TableParts/Body.js +4 -2
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
- package/es/data-table/src/TableParts/BodyRadio.d.ts +2 -2
- package/es/data-table/src/TableParts/Cell.d.ts +8 -4
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +4 -3
- package/es/data-table/src/TableParts/ExpandTrigger.js +3 -1
- package/es/data-table/src/TableParts/Header.d.ts +3 -1
- package/es/data-table/src/TableParts/Header.js +4 -2
- package/es/data-table/src/interface.d.ts +61 -57
- package/es/data-table/src/styles/index.cssr.d.ts +1 -1
- 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 +1 -1
- 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/data-table/styles/light.d.ts +4 -2
- package/es/date-picker/src/DatePicker.d.ts +5 -5
- package/es/date-picker/src/DatePicker.js +2 -2
- package/es/date-picker/src/config.d.ts +1 -1
- package/es/date-picker/src/interface.d.ts +25 -25
- package/es/date-picker/src/panel/date.d.ts +4 -4
- package/es/date-picker/src/panel/date.js +1 -1
- package/es/date-picker/src/panel/daterange.d.ts +1 -1
- package/es/date-picker/src/panel/daterange.js +2 -2
- package/es/date-picker/src/panel/datetime.d.ts +1 -1
- package/es/date-picker/src/panel/datetime.js +1 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +1 -1
- package/es/date-picker/src/panel/datetimerange.js +4 -4
- package/es/date-picker/src/panel/month.d.ts +2 -2
- package/es/date-picker/src/panel/month.js +1 -1
- package/es/date-picker/src/panel/monthrange.d.ts +2 -2
- package/es/date-picker/src/panel/panelHeader.d.ts +3 -3
- package/es/date-picker/src/panel/use-calendar.d.ts +3 -3
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +6 -6
- package/es/date-picker/src/panel/use-panel-common.d.ts +4 -4
- package/es/date-picker/src/utils.d.ts +1 -1
- package/es/date-picker/src/validation-utils.d.ts +1 -1
- package/es/date-picker/styles/light.d.ts +2 -2
- package/es/descriptions/src/Descriptions.d.ts +3 -3
- 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 +4 -4
- package/es/dialog/src/DialogEnvironment.d.ts +1 -1
- package/es/dialog/src/DialogProvider.d.ts +10 -10
- package/es/dialog/src/DialogProvider.js +1 -1
- package/es/dialog/src/composables.d.ts +1 -1
- package/es/dialog/src/dialogProps.d.ts +2 -2
- package/es/dialog/src/interface.d.ts +1 -1
- package/es/dialog/styles/light.d.ts +2 -2
- package/es/discrete/src/InjectionExtractor.d.ts +1 -1
- package/es/discrete/src/discrete.d.ts +2 -2
- package/es/discrete/src/discreteApp.d.ts +9 -9
- package/es/discrete/src/interface.d.ts +13 -13
- package/es/divider/src/Divider.d.ts +2 -2
- package/es/divider/styles/light.d.ts +2 -2
- package/es/drawer/src/Drawer.d.ts +3 -3
- package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/es/drawer/src/DrawerContent.d.ts +2 -2
- package/es/drawer/src/interface.d.ts +2 -2
- package/es/drawer/styles/light.d.ts +2 -2
- package/es/dropdown/src/Dropdown.d.ts +8 -8
- package/es/dropdown/src/DropdownGroup.d.ts +2 -2
- package/es/dropdown/src/DropdownMenu.d.ts +2 -2
- package/es/dropdown/src/DropdownOption.d.ts +3 -3
- package/es/dropdown/src/DropdownRenderOption.d.ts +2 -2
- package/es/dropdown/src/interface.d.ts +23 -23
- package/es/dropdown/styles/light.d.ts +2 -2
- package/es/dynamic-input/src/DynamicInput.d.ts +6 -2
- package/es/dynamic-input/src/DynamicInput.js +38 -29
- package/es/dynamic-input/src/InputPreset.d.ts +4 -1
- package/es/dynamic-input/src/InputPreset.js +3 -2
- package/es/dynamic-input/src/PairPreset.d.ts +4 -1
- package/es/dynamic-input/src/PairPreset.js +4 -3
- package/es/dynamic-input/src/interface.d.ts +2 -2
- package/es/dynamic-input/styles/dark.d.ts +1 -1
- package/es/dynamic-input/styles/light.d.ts +2 -2
- package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/es/dynamic-tags/src/DynamicTags.js +1 -1
- package/es/dynamic-tags/src/interface.d.ts +3 -3
- package/es/dynamic-tags/styles/light.d.ts +1 -1
- package/es/element/src/Element.d.ts +10 -10
- package/es/element/styles/dark.d.ts +1 -1
- package/es/element/styles/light.d.ts +2 -2
- package/es/ellipsis/src/Ellipsis.d.ts +2 -2
- package/es/ellipsis/src/Ellipsis.js +7 -1
- package/es/ellipsis/styles/dark.d.ts +1 -1
- package/es/ellipsis/styles/light.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +2 -2
- package/es/empty/styles/light.d.ts +2 -2
- package/es/equation/src/Equation.d.ts +2 -2
- package/es/equation/styles/light.d.ts +2 -2
- package/es/form/src/Form.d.ts +13 -4
- package/es/form/src/Form.js +2 -2
- package/es/form/src/FormItem.d.ts +16 -6
- package/es/form/src/FormItem.js +3 -2
- package/es/form/src/FormItemCol.d.ts +12 -3
- package/es/form/src/FormItemCol.js +1 -1
- package/es/form/src/FormItemGridItem.d.ts +12 -3
- package/es/form/src/FormItemGridItem.js +1 -1
- package/es/form/src/FormItemRow.d.ts +11 -2
- package/es/form/src/FormItemRow.js +1 -1
- package/es/form/src/interface.d.ts +22 -22
- package/es/form/src/styles/form-item.cssr.js +1 -0
- package/es/form/src/utils.d.ts +1 -1
- package/es/form/styles/_common.d.ts +1 -0
- package/es/form/styles/_common.js +2 -1
- package/es/form/styles/light.d.ts +3 -2
- package/es/gradient-text/src/GradientText.d.ts +3 -3
- package/es/gradient-text/styles/dark.d.ts +1 -1
- package/es/gradient-text/styles/light.d.ts +2 -2
- package/es/grid/src/Grid.d.ts +5 -5
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/icon/src/Icon.d.ts +6 -6
- package/es/icon/styles/light.d.ts +2 -2
- package/es/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/es/icon-wrapper/src/IconWrapper.js +1 -1
- package/es/icon-wrapper/styles/light.d.ts +2 -2
- package/es/image/src/Image.d.ts +2 -2
- package/es/image/src/Image.js +23 -21
- package/es/image/src/ImageGroup.d.ts +3 -3
- package/es/image/src/ImageGroup.js +2 -2
- package/es/image/src/ImagePreview.d.ts +1 -1
- package/es/image/src/ImagePreview.js +5 -4
- package/es/image/src/interface.d.ts +1 -1
- package/es/image/src/utils.d.ts +2 -2
- package/es/image/styles/light.d.ts +2 -2
- package/es/input/src/Input.d.ts +3 -4
- package/es/input/src/Input.js +3 -3
- package/es/input/src/InputGroup.d.ts +1 -1
- package/es/input/src/InputGroupLabel.d.ts +2 -2
- package/es/input/src/interface.d.ts +5 -5
- package/es/input/src/styles/input.cssr.js +4 -3
- package/es/input/styles/light.d.ts +2 -2
- package/es/input-number/src/InputNumber.d.ts +3 -3
- package/es/input-number/src/interface.d.ts +2 -2
- package/es/input-number/styles/light.d.ts +2 -2
- package/es/layout/src/Layout.d.ts +2 -2
- package/es/layout/src/LayoutFooter.d.ts +1 -1
- package/es/layout/src/LayoutHeader.d.ts +2 -2
- package/es/layout/src/LayoutSider.d.ts +2 -2
- package/es/layout/src/ToggleBar.d.ts +1 -1
- package/es/layout/src/ToggleButton.d.ts +1 -1
- package/es/layout/src/interface.d.ts +2 -2
- package/es/layout/styles/light.d.ts +2 -2
- package/es/legacy-grid/src/Col.d.ts +4 -4
- package/es/legacy-grid/src/Row.d.ts +3 -3
- package/es/legacy-grid/src/interface.d.ts +1 -1
- package/es/legacy-grid/styles/dark.d.ts +1 -1
- package/es/legacy-grid/styles/light.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +15 -6
- package/es/legacy-transfer/src/TransferFilter.d.ts +2 -1
- package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/es/legacy-transfer/src/TransferList.d.ts +3 -2
- package/es/legacy-transfer/src/TransferListItem.d.ts +1 -0
- package/es/legacy-transfer/src/interface.d.ts +4 -4
- package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/es/legacy-transfer/styles/light.d.ts +3 -2
- package/es/list/src/List.d.ts +3 -3
- package/es/list/styles/light.d.ts +3 -3
- package/es/loading-bar/src/LoadingBar.d.ts +1 -1
- package/es/loading-bar/src/LoadingBarProvider.d.ts +6 -6
- package/es/loading-bar/src/context.d.ts +1 -1
- package/es/loading-bar/styles/light.d.ts +2 -2
- package/es/locales/common/enUS.d.ts +2 -2
- package/es/locales/common/faIR.d.ts +3 -0
- package/es/locales/common/faIR.js +120 -0
- package/es/locales/common/idID.js +17 -17
- package/es/locales/common/koKR.js +9 -9
- package/es/locales/common/trTR.js +1 -1
- package/es/locales/common/zhTW.js +14 -17
- 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/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 +2 -0
- package/es/locales/index.js +2 -0
- package/es/locales/utils/index.d.ts +2 -2
- package/es/log/src/Log.d.ts +3 -3
- package/es/log/styles/light.d.ts +2 -2
- package/es/mention/src/Mention.d.ts +6 -6
- package/es/mention/src/interface.d.ts +1 -1
- package/es/mention/styles/light.d.ts +2 -2
- package/es/menu/src/Menu.d.ts +11 -11
- package/es/menu/src/Menu.js +1 -1
- package/es/menu/src/MenuOption.d.ts +2 -2
- package/es/menu/src/MenuOptionContent.d.ts +2 -2
- package/es/menu/src/MenuOptionGroup.d.ts +2 -2
- package/es/menu/src/Submenu.d.ts +2 -2
- package/es/menu/src/Submenu.js +2 -2
- package/es/menu/src/interface.d.ts +13 -13
- package/es/menu/src/styles/index.cssr.d.ts +1 -1
- package/es/menu/src/use-menu-child-props.d.ts +3 -3
- package/es/menu/src/use-menu-child.d.ts +3 -3
- package/es/menu/src/utils.d.ts +2 -2
- package/es/menu/styles/light.d.ts +2 -2
- package/es/message/src/Message.d.ts +1 -1
- package/es/message/src/MessageEnvironment.d.ts +1 -1
- package/es/message/src/MessageProvider.d.ts +6 -8
- package/es/message/src/context.d.ts +1 -1
- package/es/message/src/message-props.d.ts +5 -5
- package/es/message/src/types.d.ts +4 -4
- package/es/message/styles/light.d.ts +3 -3
- package/es/message/styles/rtl.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +11 -2
- package/es/modal/src/Modal.d.ts +15 -2
- package/es/modal/src/interface.d.ts +2 -2
- package/es/modal/src/presetProps.d.ts +5 -1
- package/es/modal/styles/light.d.ts +2 -2
- package/es/notification/src/Notification.d.ts +1 -1
- package/es/notification/src/NotificationContainer.d.ts +1 -1
- package/es/notification/src/NotificationEnvironment.d.ts +5 -2
- package/es/notification/src/NotificationProvider.d.ts +10 -10
- 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/light.d.ts +2 -2
- 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 +2 -2
- package/es/page-header/styles/light.d.ts +2 -2
- package/es/pagination/src/Pagination.d.ts +10 -3
- package/es/pagination/src/Pagination.js +7 -5
- package/es/pagination/src/interface.d.ts +11 -10
- package/es/pagination/src/utils.d.ts +1 -1
- package/es/pagination/styles/light.d.ts +3 -3
- package/es/popconfirm/src/Popconfirm.d.ts +3 -3
- package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/es/popconfirm/src/interface.d.ts +2 -2
- package/es/popconfirm/styles/light.d.ts +3 -3
- package/es/popover/src/Popover.d.ts +4 -4
- package/es/popover/src/Popover.js +2 -3
- package/es/popover/src/PopoverBody.d.ts +2 -2
- package/es/popover/src/interface.d.ts +4 -4
- package/es/popover/src/styles/index.cssr.d.ts +1 -1
- package/es/popover/styles/light.d.ts +2 -2
- package/es/popselect/src/Popselect.d.ts +4 -4
- package/es/popselect/src/Popselect.js +3 -2
- package/es/popselect/src/PopselectPanel.d.ts +6 -6
- package/es/popselect/src/interface.d.ts +3 -3
- package/es/popselect/styles/light.d.ts +2 -2
- package/es/progress/src/Circle.d.ts +2 -2
- package/es/progress/src/Line.d.ts +2 -2
- package/es/progress/src/Line.js +3 -1
- package/es/progress/src/MultipleCircle.d.ts +1 -1
- package/es/progress/src/Progress.d.ts +4 -4
- package/es/progress/src/interface.d.ts +1 -1
- package/es/progress/styles/light.d.ts +2 -2
- package/es/radio/src/Radio.d.ts +8 -1
- package/es/radio/src/Radio.js +2 -1
- package/es/radio/src/RadioButton.d.ts +2 -2
- package/es/radio/src/RadioGroup.d.ts +12 -3
- package/es/radio/src/interface.d.ts +2 -2
- package/es/radio/src/styles/radio.cssr.js +1 -0
- package/es/radio/src/use-radio.d.ts +3 -3
- package/es/radio/styles/_common.d.ts +1 -0
- package/es/radio/styles/_common.js +2 -1
- package/es/radio/styles/light.d.ts +4 -3
- package/es/rate/src/Rate.d.ts +2 -2
- package/es/rate/src/Rate.js +1 -1
- package/es/rate/src/interface.d.ts +2 -2
- package/es/rate/styles/dark.d.ts +1 -1
- package/es/rate/styles/light.d.ts +3 -3
- package/es/result/src/Result.d.ts +2 -2
- package/es/result/styles/light.d.ts +2 -2
- package/es/scrollbar/src/Scrollbar.d.ts +6 -3
- package/es/scrollbar/src/Scrollbar.js +1 -1
- package/es/select/src/Select.d.ts +24 -7
- package/es/select/src/Select.js +12 -2
- package/es/select/src/interface.d.ts +14 -14
- package/es/select/src/utils.d.ts +1 -1
- package/es/select/styles/light.d.ts +2 -2
- package/es/skeleton/src/Skeleton.d.ts +2 -2
- package/es/skeleton/styles/dark.d.ts +1 -1
- package/es/skeleton/styles/light.d.ts +3 -3
- package/es/slider/src/Slider.d.ts +4 -4
- package/es/slider/src/Slider.js +4 -4
- package/es/slider/src/interface.d.ts +1 -1
- package/es/slider/src/utils.d.ts +4 -4
- package/es/slider/src/utils.js +1 -1
- package/es/slider/styles/light.d.ts +3 -3
- package/es/space/src/Space.d.ts +4 -4
- package/es/space/styles/light.d.ts +2 -2
- package/es/space/styles/rtl.d.ts +1 -1
- package/es/spin/src/Spin.d.ts +3 -3
- package/es/spin/styles/light.d.ts +3 -3
- package/es/statistic/src/Statistic.d.ts +1 -1
- package/es/statistic/styles/light.d.ts +3 -3
- package/es/statistic/styles/rtl.d.ts +1 -1
- package/es/steps/src/Step.d.ts +2 -2
- package/es/steps/src/Steps.d.ts +2 -2
- package/es/steps/styles/light.d.ts +2 -2
- package/es/steps/styles/rtl.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +2 -2
- package/es/switch/src/interface.d.ts +2 -2
- package/es/switch/styles/light.d.ts +2 -2
- package/es/table/src/Table.d.ts +2 -2
- package/es/table/styles/light.d.ts +3 -3
- 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 +245 -5
- package/es/tabs/src/Tabs.js +113 -76
- package/es/tabs/src/interface.d.ts +9 -9
- package/es/tabs/src/styles/index.cssr.js +137 -25
- package/es/tabs/styles/_common.d.ts +24 -0
- package/es/tabs/styles/_common.js +27 -3
- package/es/tabs/styles/light.d.ts +27 -3
- package/es/tag/src/Tag.d.ts +2 -2
- package/es/tag/src/common-props.d.ts +1 -1
- package/es/tag/styles/light.d.ts +2 -2
- package/es/theme-editor/src/ThemeEditor.d.ts +2 -4
- package/es/theme-editor/src/ThemeEditor.js +1 -1
- package/es/themes/interface.d.ts +2 -2
- package/es/themes/utils.d.ts +3 -3
- package/es/thing/src/Thing.d.ts +2 -2
- package/es/thing/styles/light.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-picker/src/Panel.d.ts +3 -3
- package/es/time-picker/src/PanelCol.d.ts +2 -2
- package/es/time-picker/src/PanelCol.js +1 -1
- package/es/time-picker/src/TimePicker.d.ts +3 -3
- package/es/time-picker/src/interface.d.ts +11 -11
- package/es/time-picker/src/utils.d.ts +1 -1
- package/es/time-picker/styles/light.d.ts +2 -2
- package/es/timeline/src/Timeline.d.ts +4 -4
- package/es/timeline/src/TimelineItem.d.ts +2 -2
- package/es/timeline/styles/light.d.ts +2 -2
- package/es/tooltip/src/Tooltip.d.ts +2 -2
- package/es/tooltip/src/Tooltip.js +3 -2
- package/es/tooltip/styles/light.d.ts +2 -2
- package/es/transfer/src/Transfer.d.ts +16 -7
- package/es/transfer/src/TransferFilter.d.ts +2 -1
- package/es/transfer/src/TransferHeader.d.ts +1 -1
- package/es/transfer/src/TransferList.d.ts +3 -2
- package/es/transfer/src/TransferListItem.d.ts +3 -2
- package/es/transfer/src/interface.d.ts +7 -7
- package/es/transfer/src/use-transfer-data.d.ts +4 -4
- package/es/transfer/styles/light.d.ts +3 -2
- package/es/tree/src/MotionWrapper.d.ts +2 -2
- package/es/tree/src/Tree.d.ts +27 -15
- package/es/tree/src/Tree.js +40 -37
- package/es/tree/src/TreeNode.d.ts +3 -3
- package/es/tree/src/TreeNode.js +4 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +2 -1
- package/es/tree/src/TreeNodeCheckbox.js +3 -2
- package/es/tree/src/TreeNodeContent.d.ts +2 -2
- package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/es/tree/src/dnd.d.ts +2 -2
- package/es/tree/src/interface.d.ts +18 -18
- package/es/tree/src/keyboard.d.ts +3 -3
- package/es/tree/src/utils.d.ts +3 -3
- package/es/tree/styles/light.d.ts +3 -2
- package/es/tree-select/src/TreeSelect.d.ts +19 -8
- package/es/tree-select/src/TreeSelect.js +1 -1
- package/es/tree-select/src/interface.d.ts +14 -14
- package/es/tree-select/src/utils.d.ts +2 -2
- package/es/tree-select/styles/light.d.ts +3 -2
- package/es/typography/src/a.d.ts +1 -1
- package/es/typography/src/blockquote.d.ts +1 -1
- package/es/typography/src/create-header.d.ts +3 -3
- package/es/typography/src/ol.d.ts +1 -1
- package/es/typography/src/p.d.ts +2 -2
- package/es/typography/src/text.d.ts +2 -2
- package/es/typography/src/ul.d.ts +1 -1
- package/es/typography/styles/light.d.ts +2 -2
- package/es/upload/src/Upload.d.ts +2 -62
- package/es/upload/src/Upload.js +4 -7
- package/es/upload/src/UploadFile.d.ts +1 -1
- package/es/upload/src/UploadProgress.d.ts +1 -1
- package/es/upload/src/interface.d.ts +18 -18
- package/es/upload/src/utils.js +7 -9
- package/es/upload/styles/light.d.ts +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/src/Watermark.d.ts +3 -3
- package/es/watermark/styles/light.d.ts +1 -1
- package/lib/_internal/clear/src/Clear.d.ts +1 -1
- package/lib/_internal/close/src/Close.d.ts +1 -1
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/lib/_internal/icon/src/Icon.d.ts +1 -1
- package/lib/_internal/loading/src/Loading.d.ts +2 -2
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +5 -5
- package/lib/_internal/scrollbar/styles/light.d.ts +2 -2
- package/lib/_internal/scrollbar/styles/rtl.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +3 -3
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +2 -2
- package/lib/_internal/select-menu/src/SelectOption.d.ts +3 -3
- package/lib/_internal/select-menu/src/interface.d.ts +9 -9
- package/lib/_internal/select-menu/styles/light.d.ts +2 -2
- package/lib/_internal/selection/src/Selection.d.ts +1 -1
- package/lib/_internal/selection/src/Selection.js +2 -2
- package/lib/_internal/selection/src/interface.d.ts +2 -2
- package/lib/_internal/selection/styles/light.d.ts +2 -2
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
- package/lib/_mixins/use-config.d.ts +2 -2
- package/lib/_mixins/use-css-vars-class.d.ts +1 -1
- package/lib/_mixins/use-form-item.d.ts +3 -3
- 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 +2 -2
- package/lib/_mixins/use-theme.d.ts +10 -10
- package/lib/_styles/common/light.d.ts +1 -1
- 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/create-key.d.ts +3 -3
- package/lib/_utils/cssr/index.d.ts +1 -1
- package/lib/_utils/env/is-native-lazy-load.d.ts +1 -1
- package/lib/_utils/env/is-native-lazy-load.js +2 -3
- package/lib/_utils/naive/attribute.d.ts +1 -1
- package/lib/_utils/naive/extract-public-props.d.ts +6 -6
- package/lib/_utils/naive/mutable.d.ts +1 -1
- package/lib/_utils/naive/prop.d.ts +1 -1
- package/lib/_utils/vue/call.d.ts +1 -1
- 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/affix/src/Affix.d.ts +2 -2
- package/lib/affix/src/utils.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +2 -2
- package/lib/alert/styles/light.d.ts +2 -2
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/BaseAnchor.d.ts +1 -1
- package/lib/anchor/src/BaseAnchor.js +1 -1
- package/lib/anchor/src/Link.d.ts +3 -3
- package/lib/anchor/src/utils.d.ts +1 -1
- package/lib/anchor/styles/light.d.ts +2 -2
- package/lib/auto-complete/src/AutoComplete.d.ts +7 -8
- package/lib/auto-complete/src/interface.d.ts +6 -6
- package/lib/auto-complete/src/utils.d.ts +2 -2
- package/lib/auto-complete/styles/light.d.ts +2 -2
- package/lib/avatar/src/Avatar.d.ts +3 -3
- package/lib/avatar/src/Avatar.js +7 -1
- package/lib/avatar/src/interface.d.ts +2 -2
- package/lib/avatar/styles/light.d.ts +3 -3
- package/lib/avatar-group/src/AvatarGroup.d.ts +3 -3
- package/lib/avatar-group/styles/light.d.ts +2 -2
- package/lib/avatar-group/styles/rtl.d.ts +1 -1
- package/lib/back-top/src/BackTop.d.ts +2 -2
- package/lib/back-top/styles/light.d.ts +2 -2
- package/lib/badge/src/Badge.d.ts +8 -2
- package/lib/badge/src/Badge.js +16 -4
- package/lib/badge/styles/light.d.ts +3 -3
- package/lib/badge/styles/rtl.d.ts +1 -1
- package/lib/breadcrumb/src/Breadcrumb.d.ts +3 -3
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
- package/lib/breadcrumb/styles/light.d.ts +2 -2
- package/lib/button/src/Button.d.ts +6 -6
- package/lib/button/src/interface.d.ts +2 -2
- package/lib/button/styles/light.d.ts +2 -2
- package/lib/button/styles/rtl.d.ts +1 -1
- package/lib/button-group/src/ButtonGroup.d.ts +2 -2
- 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/light.d.ts +1 -1
- package/lib/button-group/styles/rtl.d.ts +1 -1
- package/lib/calendar/src/Calendar.d.ts +3 -3
- package/lib/calendar/src/interface.d.ts +2 -2
- package/lib/calendar/styles/light.d.ts +2 -2
- package/lib/card/src/Card.d.ts +24 -19
- package/lib/card/src/Card.js +8 -7
- package/lib/card/styles/light.d.ts +3 -3
- package/lib/card/styles/rtl.d.ts +1 -1
- package/lib/carousel/src/Carousel.d.ts +2 -2
- package/lib/carousel/src/Carousel.js +2 -2
- package/lib/carousel/src/CarouselContext.js +1 -1
- package/lib/carousel/src/CarouselDots.d.ts +1 -1
- package/lib/carousel/src/CarouselDots.js +1 -1
- 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 +3 -3
- package/lib/cascader/src/Cascader.d.ts +21 -11
- package/lib/cascader/src/CascaderMenu.d.ts +4 -3
- package/lib/cascader/src/CascaderOption.d.ts +3 -2
- package/lib/cascader/src/CascaderSelectMenu.d.ts +4 -3
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -2
- package/lib/cascader/src/interface.d.ts +13 -13
- package/lib/cascader/styles/light.d.ts +3 -2
- package/lib/checkbox/src/Checkbox.d.ts +14 -3
- package/lib/checkbox/src/Checkbox.js +2 -1
- package/lib/checkbox/src/CheckboxGroup.d.ts +3 -4
- package/lib/checkbox/src/interface.d.ts +2 -2
- package/lib/checkbox/src/styles/index.cssr.js +1 -0
- package/lib/checkbox/styles/_common.d.ts +1 -0
- package/lib/checkbox/styles/_common.js +2 -1
- package/lib/checkbox/styles/light.d.ts +3 -2
- package/lib/code/src/Code.d.ts +3 -3
- package/lib/code/styles/light.d.ts +3 -3
- package/lib/collapse/src/Collapse.d.ts +15 -5
- package/lib/collapse/src/Collapse.js +2 -1
- package/lib/collapse/src/CollapseItem.d.ts +2 -2
- package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
- package/lib/collapse/src/interface.d.ts +4 -4
- package/lib/collapse/src/styles/index.cssr.js +2 -1
- package/lib/collapse/styles/light.d.ts +4 -3
- package/lib/collapse/styles/light.js +2 -1
- package/lib/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/lib/collapse-transition/styles/light.d.ts +3 -3
- package/lib/color-picker/src/AlphaSlider.d.ts +2 -2
- package/lib/color-picker/src/ColorInput.d.ts +2 -2
- package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +5 -5
- package/lib/color-picker/src/ColorPicker.js +2 -2
- package/lib/color-picker/src/ColorPickerSwatches.d.ts +2 -2
- package/lib/color-picker/src/ColorPickerSwatches.js +1 -1
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +2 -2
- package/lib/color-picker/src/ColorPreview.d.ts +2 -2
- package/lib/color-picker/src/HueSlider.d.ts +1 -1
- package/lib/color-picker/src/Pallete.d.ts +2 -2
- package/lib/color-picker/src/context.d.ts +1 -1
- package/lib/color-picker/src/interface.d.ts +6 -6
- package/lib/color-picker/src/utils.d.ts +2 -2
- package/lib/color-picker/styles/light.d.ts +2 -2
- package/lib/composables/use-theme-vars.d.ts +1 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +7 -7
- package/lib/config-provider/src/interface.d.ts +1 -1
- package/lib/config-provider/src/internal-interface.d.ts +5 -7
- package/lib/config-provider/src/katex.d.ts +2 -2
- package/lib/countdown/src/Countdown.d.ts +2 -2
- package/lib/create.d.ts +2 -2
- package/lib/data-table/src/DataTable.d.ts +16 -2
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -4
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +9 -6
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
- package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +2 -2
- package/lib/data-table/src/HeaderButton/SortButton.d.ts +4 -4
- package/lib/data-table/src/TableParts/Body.d.ts +5 -3
- package/lib/data-table/src/TableParts/Body.js +4 -2
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +2 -2
- package/lib/data-table/src/TableParts/Cell.d.ts +8 -4
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +4 -3
- package/lib/data-table/src/TableParts/ExpandTrigger.js +3 -1
- package/lib/data-table/src/TableParts/Header.d.ts +3 -1
- package/lib/data-table/src/TableParts/Header.js +4 -2
- package/lib/data-table/src/interface.d.ts +61 -57
- package/lib/data-table/src/styles/index.cssr.d.ts +1 -1
- 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 +1 -1
- 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/data-table/styles/light.d.ts +4 -2
- package/lib/date-picker/src/DatePicker.d.ts +5 -5
- package/lib/date-picker/src/DatePicker.js +2 -2
- package/lib/date-picker/src/config.d.ts +1 -1
- package/lib/date-picker/src/interface.d.ts +25 -25
- package/lib/date-picker/src/panel/date.d.ts +4 -4
- package/lib/date-picker/src/panel/date.js +1 -1
- package/lib/date-picker/src/panel/daterange.d.ts +1 -1
- package/lib/date-picker/src/panel/daterange.js +2 -2
- package/lib/date-picker/src/panel/datetime.d.ts +1 -1
- package/lib/date-picker/src/panel/datetime.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +1 -1
- package/lib/date-picker/src/panel/datetimerange.js +4 -4
- package/lib/date-picker/src/panel/month.d.ts +2 -2
- package/lib/date-picker/src/panel/month.js +1 -1
- package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
- package/lib/date-picker/src/panel/panelHeader.d.ts +3 -3
- package/lib/date-picker/src/panel/use-calendar.d.ts +3 -3
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +6 -6
- package/lib/date-picker/src/panel/use-panel-common.d.ts +4 -4
- package/lib/date-picker/src/utils.d.ts +1 -1
- package/lib/date-picker/src/validation-utils.d.ts +1 -1
- package/lib/date-picker/styles/light.d.ts +2 -2
- package/lib/descriptions/src/Descriptions.d.ts +3 -3
- 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 +4 -4
- package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +10 -10
- package/lib/dialog/src/DialogProvider.js +1 -1
- package/lib/dialog/src/composables.d.ts +1 -1
- package/lib/dialog/src/dialogProps.d.ts +2 -2
- package/lib/dialog/src/interface.d.ts +1 -1
- package/lib/dialog/styles/light.d.ts +2 -2
- package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
- package/lib/discrete/src/discrete.d.ts +2 -2
- package/lib/discrete/src/discreteApp.d.ts +9 -9
- package/lib/discrete/src/interface.d.ts +13 -13
- package/lib/divider/src/Divider.d.ts +2 -2
- package/lib/divider/styles/light.d.ts +2 -2
- package/lib/drawer/src/Drawer.d.ts +3 -3
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/lib/drawer/src/DrawerContent.d.ts +2 -2
- package/lib/drawer/src/interface.d.ts +2 -2
- package/lib/drawer/styles/light.d.ts +2 -2
- package/lib/dropdown/src/Dropdown.d.ts +8 -8
- package/lib/dropdown/src/DropdownGroup.d.ts +2 -2
- package/lib/dropdown/src/DropdownMenu.d.ts +2 -2
- package/lib/dropdown/src/DropdownOption.d.ts +3 -3
- package/lib/dropdown/src/DropdownRenderOption.d.ts +2 -2
- package/lib/dropdown/src/interface.d.ts +23 -23
- package/lib/dropdown/styles/light.d.ts +2 -2
- package/lib/dynamic-input/src/DynamicInput.d.ts +6 -2
- package/lib/dynamic-input/src/DynamicInput.js +38 -29
- package/lib/dynamic-input/src/InputPreset.d.ts +4 -1
- package/lib/dynamic-input/src/InputPreset.js +3 -2
- package/lib/dynamic-input/src/PairPreset.d.ts +4 -1
- package/lib/dynamic-input/src/PairPreset.js +4 -3
- package/lib/dynamic-input/src/interface.d.ts +2 -2
- package/lib/dynamic-input/styles/dark.d.ts +1 -1
- package/lib/dynamic-input/styles/light.d.ts +2 -2
- package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/lib/dynamic-tags/src/DynamicTags.js +1 -1
- package/lib/dynamic-tags/src/interface.d.ts +3 -3
- package/lib/dynamic-tags/styles/light.d.ts +1 -1
- package/lib/element/src/Element.d.ts +10 -10
- package/lib/element/styles/dark.d.ts +1 -1
- package/lib/element/styles/light.d.ts +2 -2
- package/lib/ellipsis/src/Ellipsis.d.ts +2 -2
- package/lib/ellipsis/src/Ellipsis.js +6 -0
- package/lib/ellipsis/styles/dark.d.ts +1 -1
- package/lib/ellipsis/styles/light.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +2 -2
- package/lib/empty/styles/light.d.ts +2 -2
- package/lib/equation/src/Equation.d.ts +2 -2
- package/lib/equation/styles/light.d.ts +2 -2
- package/lib/form/src/Form.d.ts +13 -4
- package/lib/form/src/Form.js +2 -2
- package/lib/form/src/FormItem.d.ts +16 -6
- package/lib/form/src/FormItem.js +3 -2
- package/lib/form/src/FormItemCol.d.ts +12 -3
- package/lib/form/src/FormItemCol.js +1 -1
- package/lib/form/src/FormItemGridItem.d.ts +12 -3
- package/lib/form/src/FormItemGridItem.js +1 -1
- package/lib/form/src/FormItemRow.d.ts +11 -2
- package/lib/form/src/FormItemRow.js +1 -1
- package/lib/form/src/interface.d.ts +22 -22
- package/lib/form/src/styles/form-item.cssr.js +1 -0
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/form/styles/_common.d.ts +1 -0
- package/lib/form/styles/_common.js +2 -1
- package/lib/form/styles/light.d.ts +3 -2
- package/lib/gradient-text/src/GradientText.d.ts +3 -3
- package/lib/gradient-text/styles/dark.d.ts +1 -1
- package/lib/gradient-text/styles/light.d.ts +2 -2
- package/lib/grid/src/Grid.d.ts +5 -5
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/icon/src/Icon.d.ts +6 -6
- package/lib/icon/styles/light.d.ts +2 -2
- package/lib/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/lib/icon-wrapper/src/IconWrapper.js +1 -1
- package/lib/icon-wrapper/styles/light.d.ts +2 -2
- package/lib/image/src/Image.d.ts +2 -2
- package/lib/image/src/Image.js +23 -21
- package/lib/image/src/ImageGroup.d.ts +3 -3
- package/lib/image/src/ImageGroup.js +2 -2
- package/lib/image/src/ImagePreview.d.ts +1 -1
- package/lib/image/src/ImagePreview.js +5 -4
- package/lib/image/src/interface.d.ts +1 -1
- package/lib/image/src/utils.d.ts +2 -2
- package/lib/image/styles/light.d.ts +2 -2
- package/lib/input/src/Input.d.ts +3 -4
- package/lib/input/src/Input.js +3 -3
- package/lib/input/src/InputGroup.d.ts +1 -1
- package/lib/input/src/InputGroupLabel.d.ts +2 -2
- package/lib/input/src/interface.d.ts +5 -5
- package/lib/input/src/styles/input.cssr.js +4 -3
- package/lib/input/styles/light.d.ts +2 -2
- package/lib/input-number/src/InputNumber.d.ts +3 -3
- package/lib/input-number/src/interface.d.ts +2 -2
- package/lib/input-number/styles/light.d.ts +2 -2
- package/lib/layout/src/Layout.d.ts +2 -2
- package/lib/layout/src/LayoutFooter.d.ts +1 -1
- package/lib/layout/src/LayoutHeader.d.ts +2 -2
- package/lib/layout/src/LayoutSider.d.ts +2 -2
- package/lib/layout/src/ToggleBar.d.ts +1 -1
- package/lib/layout/src/ToggleButton.d.ts +1 -1
- package/lib/layout/src/interface.d.ts +2 -2
- package/lib/layout/styles/light.d.ts +2 -2
- package/lib/legacy-grid/src/Col.d.ts +4 -4
- package/lib/legacy-grid/src/Row.d.ts +3 -3
- package/lib/legacy-grid/src/interface.d.ts +1 -1
- package/lib/legacy-grid/styles/dark.d.ts +1 -1
- package/lib/legacy-grid/styles/light.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +15 -6
- package/lib/legacy-transfer/src/TransferFilter.d.ts +2 -1
- package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferList.d.ts +3 -2
- package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -0
- package/lib/legacy-transfer/src/interface.d.ts +4 -4
- package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/lib/legacy-transfer/styles/light.d.ts +3 -2
- package/lib/list/src/List.d.ts +3 -3
- package/lib/list/styles/light.d.ts +3 -3
- package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +6 -6
- package/lib/loading-bar/src/context.d.ts +1 -1
- package/lib/loading-bar/styles/light.d.ts +2 -2
- package/lib/locales/common/enUS.d.ts +2 -2
- package/lib/locales/common/faIR.d.ts +3 -0
- package/lib/locales/common/faIR.js +122 -0
- package/lib/locales/common/idID.js +17 -17
- package/lib/locales/common/koKR.js +9 -9
- package/lib/locales/common/trTR.js +1 -1
- package/lib/locales/common/zhTW.js +14 -17
- 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/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 +2 -0
- package/lib/locales/index.js +5 -1
- package/lib/locales/utils/index.d.ts +2 -2
- package/lib/log/src/Log.d.ts +3 -3
- package/lib/log/styles/light.d.ts +2 -2
- package/lib/mention/src/Mention.d.ts +6 -6
- package/lib/mention/src/interface.d.ts +1 -1
- package/lib/mention/styles/light.d.ts +2 -2
- package/lib/menu/src/Menu.d.ts +11 -11
- package/lib/menu/src/Menu.js +1 -1
- package/lib/menu/src/MenuOption.d.ts +2 -2
- package/lib/menu/src/MenuOptionContent.d.ts +2 -2
- package/lib/menu/src/MenuOptionGroup.d.ts +2 -2
- package/lib/menu/src/Submenu.d.ts +2 -2
- package/lib/menu/src/Submenu.js +2 -2
- package/lib/menu/src/interface.d.ts +13 -13
- package/lib/menu/src/styles/index.cssr.d.ts +1 -1
- package/lib/menu/src/use-menu-child-props.d.ts +3 -3
- package/lib/menu/src/use-menu-child.d.ts +3 -3
- package/lib/menu/src/utils.d.ts +2 -2
- package/lib/menu/styles/light.d.ts +2 -2
- package/lib/message/src/Message.d.ts +1 -1
- package/lib/message/src/MessageEnvironment.d.ts +1 -1
- package/lib/message/src/MessageProvider.d.ts +6 -8
- package/lib/message/src/context.d.ts +1 -1
- package/lib/message/src/message-props.d.ts +5 -5
- package/lib/message/src/types.d.ts +4 -4
- package/lib/message/styles/light.d.ts +3 -3
- package/lib/message/styles/rtl.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +11 -2
- package/lib/modal/src/Modal.d.ts +15 -2
- package/lib/modal/src/interface.d.ts +2 -2
- package/lib/modal/src/presetProps.d.ts +5 -1
- package/lib/modal/styles/light.d.ts +2 -2
- package/lib/notification/src/Notification.d.ts +1 -1
- package/lib/notification/src/NotificationContainer.d.ts +1 -1
- package/lib/notification/src/NotificationEnvironment.d.ts +5 -2
- package/lib/notification/src/NotificationProvider.d.ts +10 -10
- 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/light.d.ts +2 -2
- 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 +2 -2
- package/lib/page-header/styles/light.d.ts +2 -2
- package/lib/pagination/src/Pagination.d.ts +10 -3
- package/lib/pagination/src/Pagination.js +7 -5
- package/lib/pagination/src/interface.d.ts +11 -10
- package/lib/pagination/src/utils.d.ts +1 -1
- package/lib/pagination/styles/light.d.ts +3 -3
- package/lib/popconfirm/src/Popconfirm.d.ts +3 -3
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/lib/popconfirm/src/interface.d.ts +2 -2
- package/lib/popconfirm/styles/light.d.ts +3 -3
- package/lib/popover/src/Popover.d.ts +4 -4
- package/lib/popover/src/Popover.js +1 -2
- package/lib/popover/src/PopoverBody.d.ts +2 -2
- package/lib/popover/src/interface.d.ts +4 -4
- package/lib/popover/src/styles/index.cssr.d.ts +1 -1
- package/lib/popover/styles/light.d.ts +2 -2
- package/lib/popselect/src/Popselect.d.ts +4 -4
- package/lib/popselect/src/Popselect.js +2 -1
- package/lib/popselect/src/PopselectPanel.d.ts +6 -6
- package/lib/popselect/src/interface.d.ts +3 -3
- package/lib/popselect/styles/light.d.ts +2 -2
- package/lib/progress/src/Circle.d.ts +2 -2
- package/lib/progress/src/Line.d.ts +2 -2
- package/lib/progress/src/Line.js +3 -1
- package/lib/progress/src/MultipleCircle.d.ts +1 -1
- package/lib/progress/src/Progress.d.ts +4 -4
- package/lib/progress/src/interface.d.ts +1 -1
- package/lib/progress/styles/light.d.ts +2 -2
- package/lib/radio/src/Radio.d.ts +8 -1
- package/lib/radio/src/Radio.js +2 -1
- package/lib/radio/src/RadioButton.d.ts +2 -2
- package/lib/radio/src/RadioGroup.d.ts +12 -3
- package/lib/radio/src/interface.d.ts +2 -2
- package/lib/radio/src/styles/radio.cssr.js +1 -0
- package/lib/radio/src/use-radio.d.ts +3 -3
- package/lib/radio/styles/_common.d.ts +1 -0
- package/lib/radio/styles/_common.js +2 -1
- package/lib/radio/styles/light.d.ts +4 -3
- package/lib/rate/src/Rate.d.ts +2 -2
- package/lib/rate/src/Rate.js +1 -1
- package/lib/rate/src/interface.d.ts +2 -2
- package/lib/rate/styles/dark.d.ts +1 -1
- package/lib/rate/styles/light.d.ts +3 -3
- package/lib/result/src/Result.d.ts +2 -2
- package/lib/result/styles/light.d.ts +2 -2
- package/lib/scrollbar/src/Scrollbar.d.ts +6 -3
- package/lib/scrollbar/src/Scrollbar.js +1 -1
- package/lib/select/src/Select.d.ts +24 -7
- package/lib/select/src/Select.js +12 -2
- package/lib/select/src/interface.d.ts +14 -14
- package/lib/select/src/utils.d.ts +1 -1
- package/lib/select/styles/light.d.ts +2 -2
- package/lib/skeleton/src/Skeleton.d.ts +2 -2
- package/lib/skeleton/styles/dark.d.ts +1 -1
- package/lib/skeleton/styles/light.d.ts +3 -3
- package/lib/slider/src/Slider.d.ts +4 -4
- package/lib/slider/src/Slider.js +4 -4
- package/lib/slider/src/interface.d.ts +1 -1
- package/lib/slider/src/utils.d.ts +4 -4
- package/lib/slider/src/utils.js +1 -1
- package/lib/slider/styles/light.d.ts +3 -3
- package/lib/space/src/Space.d.ts +4 -4
- package/lib/space/styles/light.d.ts +2 -2
- package/lib/space/styles/rtl.d.ts +1 -1
- package/lib/spin/src/Spin.d.ts +3 -3
- package/lib/spin/styles/light.d.ts +3 -3
- package/lib/statistic/src/Statistic.d.ts +1 -1
- package/lib/statistic/styles/light.d.ts +3 -3
- package/lib/statistic/styles/rtl.d.ts +1 -1
- package/lib/steps/src/Step.d.ts +2 -2
- package/lib/steps/src/Steps.d.ts +2 -2
- package/lib/steps/styles/light.d.ts +2 -2
- package/lib/steps/styles/rtl.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +2 -2
- package/lib/switch/src/interface.d.ts +2 -2
- package/lib/switch/styles/light.d.ts +2 -2
- package/lib/table/src/Table.d.ts +2 -2
- package/lib/table/styles/light.d.ts +3 -3
- 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 +245 -5
- package/lib/tabs/src/Tabs.js +113 -76
- package/lib/tabs/src/interface.d.ts +9 -9
- package/lib/tabs/src/styles/index.cssr.js +137 -25
- package/lib/tabs/styles/_common.d.ts +24 -0
- package/lib/tabs/styles/_common.js +27 -3
- package/lib/tabs/styles/light.d.ts +27 -3
- package/lib/tag/src/Tag.d.ts +2 -2
- package/lib/tag/src/common-props.d.ts +1 -1
- package/lib/tag/styles/light.d.ts +2 -2
- package/lib/theme-editor/src/ThemeEditor.d.ts +2 -4
- package/lib/theme-editor/src/ThemeEditor.js +1 -1
- package/lib/themes/interface.d.ts +2 -2
- package/lib/themes/utils.d.ts +3 -3
- package/lib/thing/src/Thing.d.ts +2 -2
- package/lib/thing/styles/light.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-picker/src/Panel.d.ts +3 -3
- package/lib/time-picker/src/PanelCol.d.ts +2 -2
- package/lib/time-picker/src/PanelCol.js +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +3 -3
- package/lib/time-picker/src/interface.d.ts +11 -11
- package/lib/time-picker/src/utils.d.ts +1 -1
- package/lib/time-picker/styles/light.d.ts +2 -2
- package/lib/timeline/src/Timeline.d.ts +4 -4
- package/lib/timeline/src/TimelineItem.d.ts +2 -2
- package/lib/timeline/styles/light.d.ts +2 -2
- package/lib/tooltip/src/Tooltip.d.ts +2 -2
- package/lib/tooltip/src/Tooltip.js +2 -1
- package/lib/tooltip/styles/light.d.ts +2 -2
- package/lib/transfer/src/Transfer.d.ts +16 -7
- package/lib/transfer/src/TransferFilter.d.ts +2 -1
- package/lib/transfer/src/TransferHeader.d.ts +1 -1
- package/lib/transfer/src/TransferList.d.ts +3 -2
- package/lib/transfer/src/TransferListItem.d.ts +3 -2
- package/lib/transfer/src/interface.d.ts +7 -7
- package/lib/transfer/src/use-transfer-data.d.ts +4 -4
- package/lib/transfer/styles/light.d.ts +3 -2
- package/lib/tree/src/MotionWrapper.d.ts +2 -2
- package/lib/tree/src/Tree.d.ts +27 -15
- package/lib/tree/src/Tree.js +40 -37
- package/lib/tree/src/TreeNode.d.ts +3 -3
- package/lib/tree/src/TreeNode.js +4 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +2 -1
- package/lib/tree/src/TreeNodeCheckbox.js +3 -2
- package/lib/tree/src/TreeNodeContent.d.ts +2 -2
- package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/lib/tree/src/dnd.d.ts +2 -2
- package/lib/tree/src/interface.d.ts +18 -18
- package/lib/tree/src/keyboard.d.ts +3 -3
- package/lib/tree/src/utils.d.ts +3 -3
- package/lib/tree/styles/light.d.ts +3 -2
- package/lib/tree-select/src/TreeSelect.d.ts +19 -8
- package/lib/tree-select/src/TreeSelect.js +1 -1
- package/lib/tree-select/src/interface.d.ts +14 -14
- package/lib/tree-select/src/utils.d.ts +2 -2
- package/lib/tree-select/styles/light.d.ts +3 -2
- package/lib/typography/src/a.d.ts +1 -1
- package/lib/typography/src/blockquote.d.ts +1 -1
- package/lib/typography/src/create-header.d.ts +3 -3
- package/lib/typography/src/ol.d.ts +1 -1
- package/lib/typography/src/p.d.ts +2 -2
- package/lib/typography/src/text.d.ts +2 -2
- package/lib/typography/src/ul.d.ts +1 -1
- package/lib/typography/styles/light.d.ts +2 -2
- package/lib/upload/src/Upload.d.ts +2 -62
- package/lib/upload/src/Upload.js +4 -7
- package/lib/upload/src/UploadFile.d.ts +1 -1
- package/lib/upload/src/UploadProgress.d.ts +1 -1
- package/lib/upload/src/interface.d.ts +18 -18
- package/lib/upload/src/utils.js +7 -9
- package/lib/upload/styles/light.d.ts +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +3 -3
- package/lib/watermark/styles/light.d.ts +1 -1
- package/package.json +45 -45
- package/web-types.json +166 -26
package/lib/tabs/src/Tabs.js
CHANGED
|
@@ -14,6 +14,7 @@ const styles_1 = require("../styles");
|
|
|
14
14
|
const interface_1 = require("./interface");
|
|
15
15
|
const Tab_1 = __importDefault(require("./Tab"));
|
|
16
16
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
17
|
+
const seemly_1 = require("seemly");
|
|
17
18
|
exports.tabsProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { value: [String, Number], defaultValue: [String, Number], trigger: {
|
|
18
19
|
type: String,
|
|
19
20
|
default: 'click'
|
|
@@ -23,7 +24,10 @@ exports.tabsProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), {
|
|
|
23
24
|
}, closable: Boolean, justifyContent: String, size: {
|
|
24
25
|
type: String,
|
|
25
26
|
default: 'medium'
|
|
26
|
-
},
|
|
27
|
+
}, placement: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: 'top'
|
|
30
|
+
}, tabStyle: [String, Object], barWidth: Number, paneClass: String, paneStyle: [String, Object], paneWrapperClass: String, paneWrapperStyle: [String, Object], addable: [Boolean, Object], tabsPadding: {
|
|
27
31
|
type: Number,
|
|
28
32
|
default: 0
|
|
29
33
|
}, animated: Boolean, onBeforeLeave: Function, onAdd: Function, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onClose: [Function, Array],
|
|
@@ -54,8 +58,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
54
58
|
const scrollWrapperElRef = (0, vue_1.ref)(null);
|
|
55
59
|
const addTabInstRef = (0, vue_1.ref)(null);
|
|
56
60
|
const xScrollInstRef = (0, vue_1.ref)(null);
|
|
57
|
-
const
|
|
58
|
-
const
|
|
61
|
+
const startReachedRef = (0, vue_1.ref)(true);
|
|
62
|
+
const endReachedRef = (0, vue_1.ref)(true);
|
|
59
63
|
const compitableSizeRef = (0, vooks_1.useCompitable)(props, ['labelSize', 'size']);
|
|
60
64
|
const compitableValueRef = (0, vooks_1.useCompitable)(props, ['activeName', 'value']);
|
|
61
65
|
const uncontrolledValueRef = (0, vue_1.ref)((_b = (_a = compitableValueRef.value) !== null && _a !== void 0 ? _a : props.defaultValue) !== null && _b !== void 0 ? _b : (slots.default
|
|
@@ -92,24 +96,49 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
92
96
|
return;
|
|
93
97
|
if (tabEl) {
|
|
94
98
|
const disabledClassName = `${mergedClsPrefixRef.value}-tabs-bar--disabled`;
|
|
95
|
-
const { barWidth } = props;
|
|
99
|
+
const { barWidth, placement } = props;
|
|
96
100
|
if (tabEl.dataset.disabled === 'true') {
|
|
97
101
|
barEl.classList.add(disabledClassName);
|
|
98
102
|
}
|
|
99
103
|
else {
|
|
100
104
|
barEl.classList.remove(disabledClassName);
|
|
101
105
|
}
|
|
102
|
-
if (
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
+
if (['top', 'bottom'].includes(placement)) {
|
|
107
|
+
clearBarStyle(['top', 'maxHeight', 'height']);
|
|
108
|
+
if (typeof barWidth === 'number' && tabEl.offsetWidth >= barWidth) {
|
|
109
|
+
const offsetDiffLeft = Math.floor((tabEl.offsetWidth - barWidth) / 2) + tabEl.offsetLeft;
|
|
110
|
+
barEl.style.left = `${offsetDiffLeft}px`;
|
|
111
|
+
barEl.style.maxWidth = `${barWidth}px`;
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
barEl.style.left = `${tabEl.offsetLeft}px`;
|
|
115
|
+
barEl.style.maxWidth = `${tabEl.offsetWidth}px`;
|
|
116
|
+
}
|
|
117
|
+
barEl.style.width = '8192px';
|
|
118
|
+
void barEl.offsetWidth;
|
|
106
119
|
}
|
|
107
120
|
else {
|
|
108
|
-
|
|
109
|
-
|
|
121
|
+
clearBarStyle(['left', 'maxWidth', 'width']);
|
|
122
|
+
if (typeof barWidth === 'number' && tabEl.offsetHeight >= barWidth) {
|
|
123
|
+
const offsetDiffTop = Math.floor((tabEl.offsetHeight - barWidth) / 2) + tabEl.offsetTop;
|
|
124
|
+
barEl.style.top = `${offsetDiffTop}px`;
|
|
125
|
+
barEl.style.maxHeight = `${barWidth}px`;
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
barEl.style.top = `${tabEl.offsetTop}px`;
|
|
129
|
+
barEl.style.maxHeight = `${tabEl.offsetHeight}px`;
|
|
130
|
+
}
|
|
131
|
+
barEl.style.height = '8192px';
|
|
132
|
+
void barEl.offsetHeight;
|
|
110
133
|
}
|
|
111
|
-
|
|
112
|
-
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
function clearBarStyle(styleProps) {
|
|
137
|
+
const { value: barEl } = barElRef;
|
|
138
|
+
if (!barEl)
|
|
139
|
+
return;
|
|
140
|
+
for (const prop of styleProps) {
|
|
141
|
+
barEl.style[prop] = '';
|
|
113
142
|
}
|
|
114
143
|
}
|
|
115
144
|
function updateCurrentBarStyle() {
|
|
@@ -312,9 +341,17 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
312
341
|
function deriveScrollShadow(el) {
|
|
313
342
|
if (!el)
|
|
314
343
|
return;
|
|
315
|
-
const {
|
|
316
|
-
|
|
317
|
-
|
|
344
|
+
const { placement } = props;
|
|
345
|
+
if (placement === 'top' || placement === 'bottom') {
|
|
346
|
+
const { scrollLeft, scrollWidth, offsetWidth } = el;
|
|
347
|
+
startReachedRef.value = scrollLeft <= 0;
|
|
348
|
+
endReachedRef.value = scrollLeft + offsetWidth >= scrollWidth;
|
|
349
|
+
}
|
|
350
|
+
else {
|
|
351
|
+
const { scrollTop, scrollHeight, offsetHeight } = el;
|
|
352
|
+
startReachedRef.value = scrollTop <= 0;
|
|
353
|
+
endReachedRef.value = scrollTop + offsetHeight >= scrollHeight;
|
|
354
|
+
}
|
|
318
355
|
}
|
|
319
356
|
const handleScroll = (0, lodash_1.throttle)((e) => {
|
|
320
357
|
deriveScrollShadow(e.target);
|
|
@@ -344,19 +381,19 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
344
381
|
if (!el)
|
|
345
382
|
return;
|
|
346
383
|
const { value: clsPrefix } = mergedClsPrefixRef;
|
|
347
|
-
const
|
|
348
|
-
const
|
|
349
|
-
if (
|
|
350
|
-
el.classList.remove(
|
|
384
|
+
const shadowStartClass = `${clsPrefix}-tabs-nav-scroll-wrapper--shadow-start`;
|
|
385
|
+
const shadowEndClass = `${clsPrefix}-tabs-nav-scroll-wrapper--shadow-end`;
|
|
386
|
+
if (startReachedRef.value) {
|
|
387
|
+
el.classList.remove(shadowStartClass);
|
|
351
388
|
}
|
|
352
389
|
else {
|
|
353
|
-
el.classList.add(
|
|
390
|
+
el.classList.add(shadowStartClass);
|
|
354
391
|
}
|
|
355
|
-
if (
|
|
356
|
-
el.classList.remove(
|
|
392
|
+
if (endReachedRef.value) {
|
|
393
|
+
el.classList.remove(shadowEndClass);
|
|
357
394
|
}
|
|
358
395
|
else {
|
|
359
|
-
el.classList.add(
|
|
396
|
+
el.classList.add(shadowEndClass);
|
|
360
397
|
}
|
|
361
398
|
});
|
|
362
399
|
const tabsRailElRef = (0, vue_1.ref)(null);
|
|
@@ -387,7 +424,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
387
424
|
segment: 'Segment'
|
|
388
425
|
}[type];
|
|
389
426
|
const sizeType = `${size}${typeSuffix}`;
|
|
390
|
-
const { self: { barColor, closeIconColor, closeIconColorHover, closeIconColorPressed, tabColor, tabBorderColor, paneTextColor, tabFontWeight, tabBorderRadius, tabFontWeightActive, colorSegment, fontWeightStrong, tabColorSegment, closeSize, closeIconSize, closeColorHover, closeColorPressed, closeBorderRadius, [(0, _utils_1.createKey)('panePadding', size)]: panePadding, [(0, _utils_1.createKey)('tabPadding', sizeType)]: tabPadding, [(0, _utils_1.createKey)('tabGap', sizeType)]: tabGap, [(0, _utils_1.createKey)('tabTextColor', type)]: tabTextColor, [(0, _utils_1.createKey)('tabTextColorActive', type)]: tabTextColorActive, [(0, _utils_1.createKey)('tabTextColorHover', type)]: tabTextColorHover, [(0, _utils_1.createKey)('tabTextColorDisabled', type)]: tabTextColorDisabled, [(0, _utils_1.createKey)('tabFontSize', size)]: tabFontSize }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
427
|
+
const { self: { barColor, closeIconColor, closeIconColorHover, closeIconColorPressed, tabColor, tabBorderColor, paneTextColor, tabFontWeight, tabBorderRadius, tabFontWeightActive, colorSegment, fontWeightStrong, tabColorSegment, closeSize, closeIconSize, closeColorHover, closeColorPressed, closeBorderRadius, [(0, _utils_1.createKey)('panePadding', size)]: panePadding, [(0, _utils_1.createKey)('tabPadding', sizeType)]: tabPadding, [(0, _utils_1.createKey)('tabPaddingVertical', sizeType)]: tabPaddingVertical, [(0, _utils_1.createKey)('tabGap', sizeType)]: tabGap, [(0, _utils_1.createKey)('tabGap', `${sizeType}Vertical`)]: tabGapVertical, [(0, _utils_1.createKey)('tabTextColor', type)]: tabTextColor, [(0, _utils_1.createKey)('tabTextColorActive', type)]: tabTextColorActive, [(0, _utils_1.createKey)('tabTextColorHover', type)]: tabTextColorHover, [(0, _utils_1.createKey)('tabTextColorDisabled', type)]: tabTextColorDisabled, [(0, _utils_1.createKey)('tabFontSize', size)]: tabFontSize }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
391
428
|
return {
|
|
392
429
|
'--n-bezier': cubicBezierEaseInOut,
|
|
393
430
|
'--n-color-segment': colorSegment,
|
|
@@ -412,8 +449,13 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
412
449
|
'--n-tab-font-weight': tabFontWeight,
|
|
413
450
|
'--n-tab-font-weight-active': tabFontWeightActive,
|
|
414
451
|
'--n-tab-padding': tabPadding,
|
|
452
|
+
'--n-tab-padding-vertical': tabPaddingVertical,
|
|
415
453
|
'--n-tab-gap': tabGap,
|
|
416
|
-
'--n-
|
|
454
|
+
'--n-tab-gap-vertical': tabGapVertical,
|
|
455
|
+
'--n-pane-padding-left': (0, seemly_1.getPadding)(panePadding, 'left'),
|
|
456
|
+
'--n-pane-padding-right': (0, seemly_1.getPadding)(panePadding, 'right'),
|
|
457
|
+
'--n-pane-padding-top': (0, seemly_1.getPadding)(panePadding, 'top'),
|
|
458
|
+
'--n-pane-padding-bottom': (0, seemly_1.getPadding)(panePadding, 'bottom'),
|
|
417
459
|
'--n-font-weight-strong': fontWeightStrong,
|
|
418
460
|
'--n-tab-color-segment': tabColorSegment
|
|
419
461
|
};
|
|
@@ -436,7 +478,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
436
478
|
onAnimationAfterEnter, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender }, exposedMethods);
|
|
437
479
|
},
|
|
438
480
|
render() {
|
|
439
|
-
const { mergedClsPrefix, type, addTabFixed, addable, mergedSize, renderNameListRef, onRender, $slots: { default: defaultSlot, prefix: prefixSlot, suffix: suffixSlot } } = this;
|
|
481
|
+
const { mergedClsPrefix, type, placement, addTabFixed, addable, mergedSize, renderNameListRef, onRender, paneWrapperClass, paneWrapperStyle, $slots: { default: defaultSlot, prefix: prefixSlot, suffix: suffixSlot } } = this;
|
|
440
482
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
441
483
|
const tabPaneChildren = defaultSlot
|
|
442
484
|
? (0, _utils_1.flatten)(defaultSlot()).filter((v) => {
|
|
@@ -453,12 +495,50 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
453
495
|
const isSegment = type === 'segment';
|
|
454
496
|
const mergedJustifyContent = !isCard && !isSegment && this.justifyContent;
|
|
455
497
|
renderNameListRef.value = [];
|
|
498
|
+
const scrollContent = () => {
|
|
499
|
+
const tabs = ((0, vue_1.h)("div", { style: this.tabWrapperStyle, class: [`${mergedClsPrefix}-tabs-wrapper`] },
|
|
500
|
+
mergedJustifyContent ? null : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-scroll-padding`, style: { width: `${this.tabsPadding}px` } })),
|
|
501
|
+
showPane
|
|
502
|
+
? tabPaneChildren.map((tabPaneVNode, index) => {
|
|
503
|
+
renderNameListRef.value.push(tabPaneVNode.props.name);
|
|
504
|
+
return justifyTabDynamicProps((0, vue_1.h)(Tab_1.default, Object.assign({}, tabPaneVNode.props, { internalCreatedByPane: true, internalLeftPadded: index !== 0 &&
|
|
505
|
+
(!mergedJustifyContent ||
|
|
506
|
+
mergedJustifyContent === 'center' ||
|
|
507
|
+
mergedJustifyContent === 'start' ||
|
|
508
|
+
mergedJustifyContent === 'end') }), tabPaneVNode.children
|
|
509
|
+
? {
|
|
510
|
+
default: tabPaneVNode.children.tab
|
|
511
|
+
}
|
|
512
|
+
: undefined));
|
|
513
|
+
})
|
|
514
|
+
: tabChildren.map((tabVNode, index) => {
|
|
515
|
+
renderNameListRef.value.push(tabVNode.props.name);
|
|
516
|
+
if (index !== 0 && !mergedJustifyContent) {
|
|
517
|
+
return justifyTabDynamicProps(createLeftPaddedTabVNode(tabVNode));
|
|
518
|
+
}
|
|
519
|
+
else {
|
|
520
|
+
return justifyTabDynamicProps(tabVNode);
|
|
521
|
+
}
|
|
522
|
+
}),
|
|
523
|
+
!addTabFixed && addable && isCard
|
|
524
|
+
? createAddTag(addable, (showPane ? tabPaneChildren.length : tabChildren.length) !== 0)
|
|
525
|
+
: null,
|
|
526
|
+
mergedJustifyContent ? null : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-scroll-padding`, style: { width: `${this.tabsPadding}px` } }))));
|
|
527
|
+
return ((0, vue_1.h)("div", { ref: "tabsElRef", class: `${mergedClsPrefix}-tabs-nav-scroll-content` },
|
|
528
|
+
isCard && addable ? ((0, vue_1.h)(vueuc_1.VResizeObserver, { onResize: this.handleTabsResize }, {
|
|
529
|
+
default: () => tabs
|
|
530
|
+
})) : (tabs),
|
|
531
|
+
isCard ? (0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-pad` }) : null,
|
|
532
|
+
isCard ? null : ((0, vue_1.h)("div", { ref: "barElRef", class: `${mergedClsPrefix}-tabs-bar` }))));
|
|
533
|
+
};
|
|
534
|
+
const resolvedPlacement = isSegment ? 'top' : placement;
|
|
456
535
|
return ((0, vue_1.h)("div", { class: [
|
|
457
536
|
`${mergedClsPrefix}-tabs`,
|
|
458
537
|
this.themeClass,
|
|
459
538
|
`${mergedClsPrefix}-tabs--${type}-type`,
|
|
460
539
|
`${mergedClsPrefix}-tabs--${mergedSize}-size`,
|
|
461
|
-
mergedJustifyContent && `${mergedClsPrefix}-tabs--flex
|
|
540
|
+
mergedJustifyContent && `${mergedClsPrefix}-tabs--flex`,
|
|
541
|
+
`${mergedClsPrefix}-tabs--${resolvedPlacement}`
|
|
462
542
|
], style: this.cssVars },
|
|
463
543
|
(0, vue_1.h)("div", { class: [
|
|
464
544
|
// the class should be applied here since it's possible
|
|
@@ -466,6 +546,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
466
546
|
// other. adding a class will make it easy to write the
|
|
467
547
|
// style.
|
|
468
548
|
`${mergedClsPrefix}-tabs-nav--${type}-type`,
|
|
549
|
+
`${mergedClsPrefix}-tabs-nav--${resolvedPlacement}`,
|
|
469
550
|
`${mergedClsPrefix}-tabs-nav`
|
|
470
551
|
] },
|
|
471
552
|
(0, _utils_1.resolveWrappedSlot)(prefixSlot, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav__prefix` }, children))),
|
|
@@ -487,61 +568,17 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
487
568
|
return createLeftPaddedTabVNode(tabVNode);
|
|
488
569
|
}
|
|
489
570
|
}))) : ((0, vue_1.h)(vueuc_1.VResizeObserver, { onResize: this.handleNavResize }, {
|
|
490
|
-
default: () => ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav-scroll-wrapper`, ref: "scrollWrapperElRef" },
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
const rawWrappedTabs = ((0, vue_1.h)("div", { style: this.tabWrapperStyle, class: `${mergedClsPrefix}-tabs-wrapper` },
|
|
494
|
-
mergedJustifyContent ? null : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-scroll-padding`, style: { width: `${this.tabsPadding}px` } })),
|
|
495
|
-
showPane
|
|
496
|
-
? tabPaneChildren.map((tabPaneVNode, index) => {
|
|
497
|
-
renderNameListRef.value.push(tabPaneVNode.props.name);
|
|
498
|
-
return justifyTabDynamicProps((0, vue_1.h)(Tab_1.default, Object.assign({}, tabPaneVNode.props, { internalCreatedByPane: true, internalLeftPadded: index !== 0 &&
|
|
499
|
-
(!mergedJustifyContent ||
|
|
500
|
-
mergedJustifyContent ===
|
|
501
|
-
'center' ||
|
|
502
|
-
mergedJustifyContent ===
|
|
503
|
-
'start' ||
|
|
504
|
-
mergedJustifyContent === 'end') }), tabPaneVNode.children
|
|
505
|
-
? {
|
|
506
|
-
default: tabPaneVNode.children.tab
|
|
507
|
-
}
|
|
508
|
-
: undefined));
|
|
509
|
-
})
|
|
510
|
-
: tabChildren.map((tabVNode, index) => {
|
|
511
|
-
renderNameListRef.value.push(tabVNode.props.name);
|
|
512
|
-
if (index !== 0 &&
|
|
513
|
-
!mergedJustifyContent) {
|
|
514
|
-
return justifyTabDynamicProps(createLeftPaddedTabVNode(tabVNode));
|
|
515
|
-
}
|
|
516
|
-
else {
|
|
517
|
-
return justifyTabDynamicProps(tabVNode);
|
|
518
|
-
}
|
|
519
|
-
}),
|
|
520
|
-
!addTabFixed && addable && isCard
|
|
521
|
-
? createAddTag(addable, (showPane
|
|
522
|
-
? tabPaneChildren.length
|
|
523
|
-
: tabChildren.length) !== 0)
|
|
524
|
-
: null,
|
|
525
|
-
mergedJustifyContent ? null : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-scroll-padding`, style: { width: `${this.tabsPadding}px` } }))));
|
|
526
|
-
let wrappedTabs = rawWrappedTabs;
|
|
527
|
-
if (isCard && addable) {
|
|
528
|
-
wrappedTabs = ((0, vue_1.h)(vueuc_1.VResizeObserver, { onResize: this.handleTabsResize }, {
|
|
529
|
-
default: () => rawWrappedTabs
|
|
530
|
-
}));
|
|
531
|
-
}
|
|
532
|
-
return ((0, vue_1.h)("div", { ref: "tabsElRef", class: `${mergedClsPrefix}-tabs-nav-scroll-content` },
|
|
533
|
-
wrappedTabs,
|
|
534
|
-
isCard ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-pad` })) : null,
|
|
535
|
-
isCard ? null : ((0, vue_1.h)("div", { ref: "barElRef", class: `${mergedClsPrefix}-tabs-bar` }))));
|
|
536
|
-
}
|
|
537
|
-
})))
|
|
571
|
+
default: () => ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav-scroll-wrapper`, ref: "scrollWrapperElRef" }, ['top', 'bottom'].includes(resolvedPlacement) ? ((0, vue_1.h)(vueuc_1.VXScroll, { ref: "xScrollInstRef", onScroll: this.handleScroll }, {
|
|
572
|
+
default: scrollContent
|
|
573
|
+
})) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav-y-scroll`, onScroll: this.handleScroll }, scrollContent()))))
|
|
538
574
|
})),
|
|
539
575
|
addTabFixed && addable && isCard
|
|
540
576
|
? createAddTag(addable, true)
|
|
541
577
|
: null,
|
|
542
578
|
(0, _utils_1.resolveWrappedSlot)(suffixSlot, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav__suffix` }, children)))),
|
|
543
579
|
showPane &&
|
|
544
|
-
(this.animated
|
|
580
|
+
(this.animated &&
|
|
581
|
+
(resolvedPlacement === 'top' || resolvedPlacement === 'bottom') ? ((0, vue_1.h)("div", { ref: "tabsPaneWrapperRef", style: paneWrapperStyle, class: [`${mergedClsPrefix}-tabs-pane-wrapper`, paneWrapperClass] }, filterMapTabPanes(tabPaneChildren, this.mergedValue, this.renderedNames, this.onAnimationBeforeLeave, this.onAnimationEnter, this.onAnimationAfterEnter, this.animationDirection))) : (filterMapTabPanes(tabPaneChildren, this.mergedValue, this.renderedNames)))));
|
|
545
582
|
}
|
|
546
583
|
});
|
|
547
584
|
function filterMapTabPanes(tabPaneVNodes, value, renderedNames, onBeforeLeave, onEnter, onAfterEnter, animationDirection) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Ref, CSSProperties } from 'vue';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
1
|
+
import { type Ref, type CSSProperties } from 'vue';
|
|
2
|
+
export type TabsType = 'line' | 'card' | 'bar' | 'segment';
|
|
3
|
+
export type OnUpdateValue = (value: string & number) => void;
|
|
4
|
+
export type OnUpdateValueImpl = (value: string | number) => void;
|
|
5
|
+
export type OnClose = (name: string & number) => void;
|
|
6
|
+
export type OnCloseImpl = (name: string | number) => void;
|
|
7
|
+
export type OnBeforeLeave = (name: string & number, oldName: string & number & null) => boolean | Promise<boolean>;
|
|
8
|
+
export type OnBeforeLeaveImpl = (name: string | number, oldName: string | number | null) => boolean | Promise<boolean>;
|
|
9
9
|
export interface TabsInjection {
|
|
10
10
|
mergedClsPrefixRef: Ref<string>;
|
|
11
11
|
valueRef: Ref<string | number | null>;
|
|
@@ -23,7 +23,7 @@ export interface TabsInjection {
|
|
|
23
23
|
handleClose: (panelName: string | number) => void;
|
|
24
24
|
handleAdd: () => void;
|
|
25
25
|
}
|
|
26
|
-
export
|
|
26
|
+
export type Addable = boolean | {
|
|
27
27
|
disabled?: boolean;
|
|
28
28
|
};
|
|
29
29
|
export declare const tabsInjectionKey: import("vue").InjectionKey<TabsInjection>;
|
|
@@ -26,20 +26,54 @@ const cssr_1 = require("../../../_utils/cssr");
|
|
|
26
26
|
// --n-tab-font-weight
|
|
27
27
|
// --n-tab-font-weight-active
|
|
28
28
|
// --n-tab-gap
|
|
29
|
+
// --n-tab-gap-vertical
|
|
29
30
|
// --n-tab-padding
|
|
30
|
-
// --n-pane-padding
|
|
31
|
+
// --n-pane-padding-left
|
|
32
|
+
// --n-pane-padding-right
|
|
33
|
+
// --n-pane-padding-top
|
|
34
|
+
// --n-pane-padding-bottom
|
|
31
35
|
// --n-color-segment
|
|
32
36
|
// --n-font-weight-strong
|
|
33
37
|
// --n-tab-color-segment
|
|
34
38
|
exports.default = (0, cssr_1.cB)('tabs', `
|
|
35
39
|
box-sizing: border-box;
|
|
36
40
|
width: 100%;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
37
43
|
transition:
|
|
38
44
|
background-color .3s var(--n-bezier),
|
|
39
45
|
border-color .3s var(--n-bezier);
|
|
40
46
|
`, [(0, cssr_1.cM)('segment-type', [(0, cssr_1.cB)('tabs-rail', [(0, cssr_1.c)('&.transition-disabled', 'color: red;', [(0, cssr_1.cB)('tabs-tab', `
|
|
41
47
|
transition: none;
|
|
42
|
-
`)])])]), (0, cssr_1.cB)('
|
|
48
|
+
`)])])]), (0, cssr_1.cM)('top', [(0, cssr_1.cB)('tab-pane', `
|
|
49
|
+
padding: var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left);
|
|
50
|
+
`)]), (0, cssr_1.cM)('left', [(0, cssr_1.cB)('tab-pane', `
|
|
51
|
+
padding: var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left) var(--n-pane-padding-top);
|
|
52
|
+
`)]), (0, cssr_1.cM)('left, right', `
|
|
53
|
+
flex-direction: row;
|
|
54
|
+
`, [(0, cssr_1.cB)('tabs-bar', `
|
|
55
|
+
width: 2px;
|
|
56
|
+
right: 0;
|
|
57
|
+
transition:
|
|
58
|
+
top .2s var(--n-bezier),
|
|
59
|
+
max-height .2s var(--n-bezier),
|
|
60
|
+
background-color .3s var(--n-bezier);
|
|
61
|
+
`), (0, cssr_1.cB)('tabs-tab', `
|
|
62
|
+
padding: var(--n-tab-padding-vertical);
|
|
63
|
+
`)]), (0, cssr_1.cM)('right', `
|
|
64
|
+
flex-direction: row-reverse;
|
|
65
|
+
`, [(0, cssr_1.cB)('tab-pane', `
|
|
66
|
+
padding: var(--n-pane-padding-left) var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom);
|
|
67
|
+
`), (0, cssr_1.cB)('tabs-bar', `
|
|
68
|
+
left: 0;
|
|
69
|
+
`)]), (0, cssr_1.cM)('bottom', `
|
|
70
|
+
flex-direction: column-reverse;
|
|
71
|
+
justify-content: flex-end;
|
|
72
|
+
`, [(0, cssr_1.cB)('tab-pane', `
|
|
73
|
+
padding: var(--n-pane-padding-bottom) var(--n-pane-padding-right) var(--n-pane-padding-top) var(--n-pane-padding-left);
|
|
74
|
+
`), (0, cssr_1.cB)('tabs-bar', `
|
|
75
|
+
top: 0;
|
|
76
|
+
`)]), (0, cssr_1.cB)('tabs-rail', `
|
|
43
77
|
padding: 3px;
|
|
44
78
|
border-radius: var(--n-tab-border-radius);
|
|
45
79
|
width: 100%;
|
|
@@ -81,32 +115,58 @@ exports.default = (0, cssr_1.cB)('tabs', `
|
|
|
81
115
|
`, [(0, cssr_1.cE)('prefix, suffix', `
|
|
82
116
|
display: flex;
|
|
83
117
|
align-items: center;
|
|
84
|
-
`), (0, cssr_1.cE)('prefix', 'padding-right: 16px;'), (0, cssr_1.cE)('suffix', 'padding-left: 16px;')]), (0, cssr_1.cB)('tabs-nav-scroll-wrapper', `
|
|
118
|
+
`), (0, cssr_1.cE)('prefix', 'padding-right: 16px;'), (0, cssr_1.cE)('suffix', 'padding-left: 16px;')]), (0, cssr_1.cM)('top, bottom', [(0, cssr_1.cB)('tabs-nav-scroll-wrapper', [(0, cssr_1.c)('&::before', `
|
|
119
|
+
top: 0;
|
|
120
|
+
bottom: 0;
|
|
121
|
+
left: 0;
|
|
122
|
+
width: 20px;
|
|
123
|
+
`), (0, cssr_1.c)('&::after', `
|
|
124
|
+
top: 0;
|
|
125
|
+
bottom: 0;
|
|
126
|
+
right: 0;
|
|
127
|
+
width: 20px;
|
|
128
|
+
`), (0, cssr_1.cM)('shadow-start', [(0, cssr_1.c)('&::before', `
|
|
129
|
+
box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
130
|
+
`)]), (0, cssr_1.cM)('shadow-end', [(0, cssr_1.c)('&::after', `
|
|
131
|
+
box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
132
|
+
`)])])]), (0, cssr_1.cM)('left, right', [(0, cssr_1.cB)('tabs-nav-scroll-wrapper', [(0, cssr_1.c)('&::before', `
|
|
133
|
+
top: 0;
|
|
134
|
+
left: 0;
|
|
135
|
+
right: 0;
|
|
136
|
+
height: 20px;
|
|
137
|
+
`), (0, cssr_1.c)('&::after', `
|
|
138
|
+
bottom: 0;
|
|
139
|
+
left: 0;
|
|
140
|
+
right: 0;
|
|
141
|
+
height: 20px;
|
|
142
|
+
`), (0, cssr_1.cM)('shadow-start', [(0, cssr_1.c)('&::before', `
|
|
143
|
+
box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12);
|
|
144
|
+
`)]), (0, cssr_1.cM)('shadow-end', [(0, cssr_1.c)('&::after', `
|
|
145
|
+
box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12);
|
|
146
|
+
`)])])]), (0, cssr_1.cB)('tabs-nav-scroll-wrapper', `
|
|
85
147
|
flex: 1;
|
|
86
148
|
position: relative;
|
|
87
149
|
overflow: hidden;
|
|
88
|
-
`, [(0, cssr_1.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
150
|
+
`, [(0, cssr_1.cB)('tabs-nav-y-scroll', `
|
|
151
|
+
height: 100%;
|
|
152
|
+
width: 100%;
|
|
153
|
+
overflow-y: auto;
|
|
154
|
+
scrollbar-width: none;
|
|
155
|
+
`, [(0, cssr_1.c)('&::-webkit-scrollbar', `
|
|
156
|
+
width: 0;
|
|
157
|
+
height: 0;
|
|
92
158
|
`)]), (0, cssr_1.c)('&::before, &::after', `
|
|
93
159
|
transition: box-shadow .3s var(--n-bezier);
|
|
94
160
|
pointer-events: none;
|
|
95
161
|
content: "";
|
|
96
162
|
position: absolute;
|
|
97
|
-
top: 0;
|
|
98
|
-
bottom: 0;
|
|
99
|
-
width: 20px;
|
|
100
163
|
z-index: 1;
|
|
101
|
-
`), (0, cssr_1.c)('&::before', `
|
|
102
|
-
left: 0;
|
|
103
|
-
`), (0, cssr_1.c)('&::after', `
|
|
104
|
-
right: 0;
|
|
105
164
|
`)]), (0, cssr_1.cB)('tabs-nav-scroll-content', `
|
|
106
165
|
display: flex;
|
|
107
166
|
position: relative;
|
|
108
167
|
min-width: 100%;
|
|
109
168
|
width: fit-content;
|
|
169
|
+
box-sizing: border-box;
|
|
110
170
|
`), (0, cssr_1.cB)('tabs-wrapper', `
|
|
111
171
|
display: inline-flex;
|
|
112
172
|
flex-wrap: nowrap;
|
|
@@ -162,7 +222,6 @@ exports.default = (0, cssr_1.cB)('tabs', `
|
|
|
162
222
|
`), (0, cssr_1.cB)('tab-pane', `
|
|
163
223
|
color: var(--n-pane-text-color);
|
|
164
224
|
width: 100%;
|
|
165
|
-
padding: var(--n-pane-padding);
|
|
166
225
|
transition:
|
|
167
226
|
color .3s var(--n-bezier),
|
|
168
227
|
background-color .3s var(--n-bezier),
|
|
@@ -188,6 +247,7 @@ exports.default = (0, cssr_1.cB)('tabs', `
|
|
|
188
247
|
transform: translateX(0);
|
|
189
248
|
opacity: 1;
|
|
190
249
|
`)]), (0, cssr_1.cB)('tabs-tab-pad', `
|
|
250
|
+
box-sizing: border-box;
|
|
191
251
|
width: var(--n-tab-gap);
|
|
192
252
|
flex-grow: 0;
|
|
193
253
|
flex-shrink: 0;
|
|
@@ -202,15 +262,36 @@ exports.default = (0, cssr_1.cB)('tabs', `
|
|
|
202
262
|
font-weight: var(--n-tab-font-weight-active);
|
|
203
263
|
`), (0, cssr_1.cM)('disabled', {
|
|
204
264
|
color: 'var(--n-tab-text-color-disabled)'
|
|
205
|
-
})])]), (0, cssr_1.cB)('tabs-nav', [(0, cssr_1.cM)('line-type', [(0, cssr_1.cE)('prefix, suffix', `
|
|
206
|
-
transition: border-color .3s var(--n-bezier);
|
|
265
|
+
})])]), (0, cssr_1.cB)('tabs-nav', [(0, cssr_1.cM)('line-type', [(0, cssr_1.cM)('top', [(0, cssr_1.cE)('prefix, suffix', `
|
|
207
266
|
border-bottom: 1px solid var(--n-tab-border-color);
|
|
208
267
|
`), (0, cssr_1.cB)('tabs-nav-scroll-content', `
|
|
209
|
-
transition: border-color .3s var(--n-bezier);
|
|
210
268
|
border-bottom: 1px solid var(--n-tab-border-color);
|
|
211
269
|
`), (0, cssr_1.cB)('tabs-bar', `
|
|
212
|
-
border-radius: 0;
|
|
213
270
|
bottom: -1px;
|
|
271
|
+
`)]), (0, cssr_1.cM)('left', [(0, cssr_1.cE)('prefix, suffix', `
|
|
272
|
+
border-right: 1px solid var(--n-tab-border-color);
|
|
273
|
+
`), (0, cssr_1.cB)('tabs-nav-scroll-content', `
|
|
274
|
+
border-right: 1px solid var(--n-tab-border-color);
|
|
275
|
+
`), (0, cssr_1.cB)('tabs-bar', `
|
|
276
|
+
right: -1px;
|
|
277
|
+
`)]), (0, cssr_1.cM)('right', [(0, cssr_1.cE)('prefix, suffix', `
|
|
278
|
+
border-left: 1px solid var(--n-tab-border-color);
|
|
279
|
+
`), (0, cssr_1.cB)('tabs-nav-scroll-content', `
|
|
280
|
+
border-left: 1px solid var(--n-tab-border-color);
|
|
281
|
+
`), (0, cssr_1.cB)('tabs-bar', `
|
|
282
|
+
left: -1px;
|
|
283
|
+
`)]), (0, cssr_1.cM)('bottom', [(0, cssr_1.cE)('prefix, suffix', `
|
|
284
|
+
border-top: 1px solid var(--n-tab-border-color);
|
|
285
|
+
`), (0, cssr_1.cB)('tabs-nav-scroll-content', `
|
|
286
|
+
border-top: 1px solid var(--n-tab-border-color);
|
|
287
|
+
`), (0, cssr_1.cB)('tabs-bar', `
|
|
288
|
+
top: -1px;
|
|
289
|
+
`)]), (0, cssr_1.cE)('prefix, suffix', `
|
|
290
|
+
transition: border-color .3s var(--n-bezier);
|
|
291
|
+
`), (0, cssr_1.cB)('tabs-nav-scroll-content', `
|
|
292
|
+
transition: border-color .3s var(--n-bezier);
|
|
293
|
+
`), (0, cssr_1.cB)('tabs-bar', `
|
|
294
|
+
border-radius: 0;
|
|
214
295
|
`)]), (0, cssr_1.cM)('card-type', [(0, cssr_1.cE)('prefix, suffix', `
|
|
215
296
|
transition: border-color .3s var(--n-bezier);
|
|
216
297
|
border-bottom: 1px solid var(--n-tab-border-color);
|
|
@@ -220,12 +301,9 @@ exports.default = (0, cssr_1.cB)('tabs', `
|
|
|
220
301
|
border-bottom: 1px solid var(--n-tab-border-color);
|
|
221
302
|
`), (0, cssr_1.cB)('tabs-tab-pad', `
|
|
222
303
|
transition: border-color .3s var(--n-bezier);
|
|
223
|
-
border-bottom: 1px solid var(--n-tab-border-color);
|
|
224
304
|
`), (0, cssr_1.cB)('tabs-tab', `
|
|
225
305
|
font-weight: var(--n-tab-font-weight);
|
|
226
306
|
border: 1px solid var(--n-tab-border-color);
|
|
227
|
-
border-top-left-radius: var(--n-tab-border-radius);
|
|
228
|
-
border-top-right-radius: var(--n-tab-border-radius);
|
|
229
307
|
background-color: var(--n-tab-color);
|
|
230
308
|
box-sizing: border-box;
|
|
231
309
|
position: relative;
|
|
@@ -243,9 +321,43 @@ exports.default = (0, cssr_1.cB)('tabs', `
|
|
|
243
321
|
font-size: var(--n-tab-font-size);
|
|
244
322
|
`), (0, cssr_1.cNotM)('disabled', [(0, cssr_1.c)('&:hover', `
|
|
245
323
|
color: var(--n-tab-text-color-hover);
|
|
246
|
-
`)])]), (0, cssr_1.cM)('closable', 'padding-right:
|
|
247
|
-
border-bottom: 1px solid #0000;
|
|
324
|
+
`)])]), (0, cssr_1.cM)('closable', 'padding-right: 8px;'), (0, cssr_1.cM)('active', `
|
|
248
325
|
background-color: #0000;
|
|
249
326
|
font-weight: var(--n-tab-font-weight-active);
|
|
250
327
|
color: var(--n-tab-text-color-active);
|
|
251
|
-
`), (0, cssr_1.cM)('disabled', 'color: var(--n-tab-text-color-disabled);')]), (0, cssr_1.cB)('tabs-scroll-padding', 'border-bottom: 1px solid var(--n-tab-border-color);')])
|
|
328
|
+
`), (0, cssr_1.cM)('disabled', 'color: var(--n-tab-text-color-disabled);')]), (0, cssr_1.cB)('tabs-scroll-padding', 'border-bottom: 1px solid var(--n-tab-border-color);')]), (0, cssr_1.cM)('left, right', [(0, cssr_1.cB)('tabs-wrapper', `
|
|
329
|
+
flex-direction: column;
|
|
330
|
+
`, [(0, cssr_1.cB)('tabs-tab-wrapper', `
|
|
331
|
+
flex-direction: column;
|
|
332
|
+
`, [(0, cssr_1.cB)('tabs-tab-pad', `
|
|
333
|
+
height: var(--n-tab-gap-vertical);
|
|
334
|
+
width: 100%;
|
|
335
|
+
`)])])]), (0, cssr_1.cM)('top', [(0, cssr_1.cM)('card-type', [(0, cssr_1.cB)('tabs-tab', `
|
|
336
|
+
border-top-left-radius: var(--n-tab-border-radius);
|
|
337
|
+
border-top-right-radius: var(--n-tab-border-radius);
|
|
338
|
+
`, [(0, cssr_1.cM)('active', `
|
|
339
|
+
border-bottom: 1px solid #0000;
|
|
340
|
+
`)]), (0, cssr_1.cB)('tabs-tab-pad', `
|
|
341
|
+
border-bottom: 1px solid var(--n-tab-border-color);
|
|
342
|
+
`)])]), (0, cssr_1.cM)('left', [(0, cssr_1.cM)('card-type', [(0, cssr_1.cB)('tabs-tab', `
|
|
343
|
+
border-top-left-radius: var(--n-tab-border-radius);
|
|
344
|
+
border-bottom-left-radius: var(--n-tab-border-radius);
|
|
345
|
+
`, [(0, cssr_1.cM)('active', `
|
|
346
|
+
border-right: 1px solid #0000;
|
|
347
|
+
`)]), (0, cssr_1.cB)('tabs-tab-pad', `
|
|
348
|
+
border-right: 1px solid var(--n-tab-border-color);
|
|
349
|
+
`)])]), (0, cssr_1.cM)('right', [(0, cssr_1.cM)('card-type', [(0, cssr_1.cB)('tabs-tab', `
|
|
350
|
+
border-top-right-radius: var(--n-tab-border-radius);
|
|
351
|
+
border-bottom-right-radius: var(--n-tab-border-radius);
|
|
352
|
+
`, [(0, cssr_1.cM)('active', `
|
|
353
|
+
border-left: 1px solid #0000;
|
|
354
|
+
`)]), (0, cssr_1.cB)('tabs-tab-pad', `
|
|
355
|
+
border-left: 1px solid var(--n-tab-border-color);
|
|
356
|
+
`)])]), (0, cssr_1.cM)('bottom', [(0, cssr_1.cM)('card-type', [(0, cssr_1.cB)('tabs-tab', `
|
|
357
|
+
border-bottom-left-radius: var(--n-tab-border-radius);
|
|
358
|
+
border-bottom-right-radius: var(--n-tab-border-radius);
|
|
359
|
+
`, [(0, cssr_1.cM)('active', `
|
|
360
|
+
border-top: 1px solid #0000;
|
|
361
|
+
`)]), (0, cssr_1.cB)('tabs-tab-pad', `
|
|
362
|
+
border-top: 1px solid var(--n-tab-border-color);
|
|
363
|
+
`)])])])]);
|
|
@@ -5,27 +5,51 @@ declare const _default: {
|
|
|
5
5
|
tabGapSmallLine: string;
|
|
6
6
|
tabGapMediumLine: string;
|
|
7
7
|
tabGapLargeLine: string;
|
|
8
|
+
tabGapSmallLineVertical: string;
|
|
9
|
+
tabGapMediumLineVertical: string;
|
|
10
|
+
tabGapLargeLineVertical: string;
|
|
8
11
|
tabPaddingSmallLine: string;
|
|
9
12
|
tabPaddingMediumLine: string;
|
|
10
13
|
tabPaddingLargeLine: string;
|
|
14
|
+
tabPaddingVerticalSmallLine: string;
|
|
15
|
+
tabPaddingVerticalMediumLine: string;
|
|
16
|
+
tabPaddingVerticalLargeLine: string;
|
|
11
17
|
tabGapSmallBar: string;
|
|
12
18
|
tabGapMediumBar: string;
|
|
13
19
|
tabGapLargeBar: string;
|
|
20
|
+
tabGapSmallBarVertical: string;
|
|
21
|
+
tabGapMediumBarVertical: string;
|
|
22
|
+
tabGapLargeBarVertical: string;
|
|
14
23
|
tabPaddingSmallBar: string;
|
|
15
24
|
tabPaddingMediumBar: string;
|
|
16
25
|
tabPaddingLargeBar: string;
|
|
26
|
+
tabPaddingVerticalSmallBar: string;
|
|
27
|
+
tabPaddingVerticalMediumBar: string;
|
|
28
|
+
tabPaddingVerticalLargeBar: string;
|
|
17
29
|
tabGapSmallCard: string;
|
|
18
30
|
tabGapMediumCard: string;
|
|
19
31
|
tabGapLargeCard: string;
|
|
32
|
+
tabGapSmallCardVertical: string;
|
|
33
|
+
tabGapMediumCardVertical: string;
|
|
34
|
+
tabGapLargeCardVertical: string;
|
|
20
35
|
tabPaddingSmallCard: string;
|
|
21
36
|
tabPaddingMediumCard: string;
|
|
22
37
|
tabPaddingLargeCard: string;
|
|
23
38
|
tabPaddingSmallSegment: string;
|
|
24
39
|
tabPaddingMediumSegment: string;
|
|
25
40
|
tabPaddingLargeSegment: string;
|
|
41
|
+
tabPaddingVerticalLargeSegment: string;
|
|
42
|
+
tabPaddingVerticalSmallCard: string;
|
|
43
|
+
tabPaddingVerticalMediumCard: string;
|
|
44
|
+
tabPaddingVerticalLargeCard: string;
|
|
45
|
+
tabPaddingVerticalSmallSegment: string;
|
|
46
|
+
tabPaddingVerticalMediumSegment: string;
|
|
26
47
|
tabGapSmallSegment: string;
|
|
27
48
|
tabGapMediumSegment: string;
|
|
28
49
|
tabGapLargeSegment: string;
|
|
50
|
+
tabGapSmallSegmentVertical: string;
|
|
51
|
+
tabGapMediumSegmentVertical: string;
|
|
52
|
+
tabGapLargeSegmentVertical: string;
|
|
29
53
|
panePaddingSmall: string;
|
|
30
54
|
panePaddingMedium: string;
|
|
31
55
|
panePaddingLarge: string;
|