naive-ui 2.34.3 → 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 +28207 -31534
- package/dist/index.prod.js +2 -3
- 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 +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
- 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 +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 +1 -1
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/es/_internal/suffix/src/Suffix.d.ts +1 -1
- package/es/_mixins/use-config.d.ts +1 -1
- package/es/_mixins/use-css-vars-class.d.ts +1 -1
- package/es/_mixins/use-form-item.d.ts +1 -1
- 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 +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 +1 -1
- 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/affix/src/Affix.d.ts +1 -1
- package/es/alert/src/Alert.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 +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +6 -7
- package/es/auto-complete/src/interface.d.ts +1 -1
- package/es/auto-complete/src/utils.d.ts +2 -2
- package/es/avatar/src/Avatar.d.ts +2 -2
- package/es/avatar-group/src/AvatarGroup.d.ts +2 -2
- 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 +1 -1
- package/es/badge/src/Badge.d.ts +1 -1
- 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 +2 -2
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/es/button/src/Button.d.ts +2 -2
- package/es/button/styles/rtl.d.ts +1 -1
- package/es/button-group/src/ButtonGroup.d.ts +1 -1
- 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 +2 -2
- package/es/card/src/Card.d.ts +1 -1
- package/es/card/styles/light.d.ts +1 -1
- package/es/card/styles/rtl.d.ts +1 -1
- package/es/carousel/src/Carousel.js +2 -2
- package/es/carousel/src/CarouselContext.js +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 +1 -1
- package/es/cascader/src/Cascader.d.ts +10 -10
- package/es/cascader/src/CascaderMenu.d.ts +3 -3
- package/es/cascader/src/CascaderOption.d.ts +2 -2
- package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/es/cascader/src/CascaderSubmenu.d.ts +2 -2
- package/es/cascader/src/interface.d.ts +2 -2
- package/es/checkbox/src/Checkbox.d.ts +2 -2
- package/es/checkbox/src/CheckboxGroup.d.ts +2 -3
- package/es/code/src/Code.d.ts +2 -2
- package/es/code/styles/light.d.ts +1 -1
- package/es/collapse/src/Collapse.d.ts +14 -4
- package/es/collapse/src/Collapse.js +2 -1
- package/es/collapse/src/CollapseItem.d.ts +1 -1
- package/es/collapse/src/CollapseItemContent.d.ts +1 -1
- 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 +1 -1
- package/es/collapse-transition/styles/light.d.ts +1 -1
- 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 +4 -4
- 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 +1 -1
- package/es/composables/use-theme-vars.d.ts +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +6 -6
- package/es/config-provider/src/internal-interface.d.ts +2 -2
- package/es/config-provider/src/katex.d.ts +1 -1
- package/es/countdown/src/Countdown.d.ts +1 -1
- package/es/create.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +2 -2
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +4 -4
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +7 -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 +3 -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 +4 -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 +1 -1
- package/es/data-table/src/TableParts/Header.js +4 -2
- package/es/data-table/src/interface.d.ts +9 -5
- 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/date-picker/src/DatePicker.d.ts +3 -3
- package/es/date-picker/src/interface.d.ts +4 -4
- 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 +3 -3
- 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 +1 -1
- package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/es/descriptions/src/utils.d.ts +1 -1
- package/es/descriptions/styles/light.d.ts +2 -2
- package/es/dialog/src/DialogEnvironment.d.ts +1 -1
- package/es/dialog/src/DialogProvider.d.ts +5 -5
- package/es/dialog/src/DialogProvider.js +1 -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 +1 -1
- 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 +1 -1
- package/es/drawer/src/Drawer.d.ts +2 -2
- package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/es/drawer/src/DrawerContent.d.ts +1 -1
- package/es/drawer/src/interface.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +7 -7
- 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 +2 -2
- package/es/dynamic-input/src/DynamicInput.d.ts +5 -1
- 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 +1 -1
- package/es/dynamic-input/styles/dark.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.js +1 -1
- package/es/element/src/Element.d.ts +9 -9
- package/es/element/styles/dark.d.ts +1 -1
- package/es/element/styles/light.d.ts +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +1 -1
- package/es/ellipsis/styles/dark.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +1 -1
- package/es/equation/src/Equation.d.ts +2 -2
- package/es/form/src/Form.d.ts +2 -2
- package/es/form/src/Form.js +2 -2
- package/es/form/src/FormItem.d.ts +2 -2
- package/es/form/src/FormItem.js +1 -1
- package/es/form/src/FormItemCol.js +1 -1
- package/es/form/src/FormItemGridItem.js +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/gradient-text/src/GradientText.d.ts +1 -1
- package/es/gradient-text/styles/dark.d.ts +1 -1
- package/es/grid/src/Grid.d.ts +4 -4
- package/es/grid/src/GridItem.d.ts +1 -1
- package/es/icon/src/Icon.d.ts +4 -4
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/es/icon-wrapper/src/IconWrapper.js +1 -1
- package/es/image/src/Image.d.ts +1 -1
- package/es/image/src/Image.js +19 -21
- package/es/image/src/ImageGroup.d.ts +2 -2
- package/es/image/src/ImageGroup.js +2 -2
- package/es/image/src/ImagePreview.d.ts +1 -1
- package/es/image/src/interface.d.ts +1 -1
- package/es/image/src/utils.d.ts +1 -1
- package/es/input/src/Input.d.ts +2 -3
- package/es/input/src/Input.js +3 -3
- package/es/input/src/InputGroupLabel.d.ts +1 -1
- package/es/input/src/interface.d.ts +1 -1
- package/es/input/src/styles/input.cssr.js +3 -3
- package/es/input-number/src/InputNumber.d.ts +2 -2
- package/es/layout/src/Layout.d.ts +1 -1
- package/es/layout/src/LayoutHeader.d.ts +1 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/layout/src/ToggleBar.d.ts +1 -1
- package/es/layout/src/ToggleButton.d.ts +1 -1
- package/es/layout/src/interface.d.ts +1 -1
- package/es/legacy-grid/src/Col.d.ts +3 -3
- package/es/legacy-grid/src/Row.d.ts +2 -2
- package/es/legacy-transfer/src/Transfer.d.ts +4 -5
- package/es/legacy-transfer/src/TransferFilter.d.ts +1 -1
- package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/es/legacy-transfer/src/TransferList.d.ts +2 -2
- 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 +2 -2
- package/es/list/styles/light.d.ts +1 -1
- package/es/loading-bar/src/LoadingBar.d.ts +1 -1
- package/es/loading-bar/src/LoadingBarProvider.d.ts +2 -2
- package/es/loading-bar/src/context.d.ts +1 -1
- package/es/locales/common/enUS.d.ts +1 -1
- 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/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 +1 -1
- package/es/log/src/Log.d.ts +2 -2
- package/es/mention/src/Mention.d.ts +5 -5
- package/es/menu/src/Menu.d.ts +9 -9
- 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/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 +1 -1
- package/es/message/src/MessageEnvironment.d.ts +1 -1
- package/es/message/src/MessageProvider.d.ts +1 -1
- 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 +2 -2
- package/es/modal/src/Modal.d.ts +1 -1
- package/es/modal/src/interface.d.ts +1 -1
- package/es/notification/src/Notification.d.ts +1 -1
- package/es/notification/src/NotificationContainer.d.ts +1 -1
- package/es/notification/src/NotificationEnvironment.d.ts +4 -1
- package/es/notification/src/NotificationProvider.d.ts +3 -3
- 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 +1 -1
- package/es/page-header/src/PageHeader.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +2 -2
- package/es/pagination/src/Pagination.js +1 -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 +1 -1
- package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- 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 +2 -2
- package/es/popover/src/Popover.js +2 -3
- package/es/popover/src/PopoverBody.d.ts +2 -2
- package/es/popover/src/interface.d.ts +1 -1
- package/es/popover/src/styles/index.cssr.d.ts +1 -1
- package/es/popselect/src/Popselect.d.ts +2 -2
- package/es/popselect/src/Popselect.js +3 -2
- package/es/popselect/src/PopselectPanel.d.ts +6 -6
- 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 +2 -2
- package/es/progress/src/Line.d.ts +2 -2
- package/es/progress/src/MultipleCircle.d.ts +1 -1
- package/es/progress/src/Progress.d.ts +3 -3
- package/es/radio/src/RadioButton.d.ts +1 -1
- package/es/radio/src/RadioGroup.d.ts +2 -2
- package/es/radio/src/use-radio.d.ts +2 -2
- package/es/radio/styles/light.d.ts +1 -1
- package/es/rate/src/Rate.d.ts +1 -1
- 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 +1 -1
- package/es/scrollbar/src/Scrollbar.d.ts +4 -1
- package/es/scrollbar/src/Scrollbar.js +1 -1
- package/es/select/src/Select.d.ts +19 -6
- package/es/select/src/Select.js +7 -0
- package/es/select/src/interface.d.ts +2 -2
- package/es/select/src/utils.d.ts +1 -1
- package/es/skeleton/src/Skeleton.d.ts +1 -1
- 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 +3 -3
- package/es/slider/src/Slider.js +4 -4
- package/es/slider/src/utils.d.ts +1 -1
- package/es/slider/src/utils.js +1 -1
- package/es/slider/styles/light.d.ts +1 -1
- package/es/space/src/Space.d.ts +1 -1
- package/es/space/styles/rtl.d.ts +1 -1
- package/es/spin/src/Spin.d.ts +2 -2
- package/es/spin/styles/light.d.ts +1 -1
- 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 +1 -1
- package/es/steps/src/Steps.d.ts +1 -1
- package/es/steps/styles/rtl.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +1 -1
- package/es/table/src/Table.d.ts +1 -1
- package/es/table/styles/light.d.ts +1 -1
- package/es/table/styles/rtl.d.ts +1 -1
- package/es/tabs/src/TabPane.d.ts +1 -1
- package/es/tabs/src/Tabs.d.ts +122 -4
- package/es/tabs/src/Tabs.js +38 -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 +1 -1
- package/es/tag/src/common-props.d.ts +1 -1
- 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 +1 -1
- package/es/themes/utils.d.ts +1 -1
- package/es/thing/src/Thing.d.ts +1 -1
- package/es/thing/styles/rtl.d.ts +1 -1
- package/es/time/src/Time.d.ts +2 -2
- 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 +2 -2
- 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 +3 -3
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/tooltip/src/Tooltip.js +3 -2
- package/es/transfer/src/Transfer.d.ts +5 -6
- package/es/transfer/src/TransferFilter.d.ts +1 -1
- package/es/transfer/src/TransferHeader.d.ts +1 -1
- package/es/transfer/src/TransferList.d.ts +2 -2
- package/es/transfer/src/TransferListItem.d.ts +2 -2
- 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 +2 -2
- package/es/tree/src/Tree.d.ts +3 -3
- package/es/tree/src/Tree.js +4 -3
- package/es/tree/src/TreeNode.d.ts +3 -3
- package/es/tree/src/TreeNodeCheckbox.d.ts +1 -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 +2 -2
- package/es/tree/src/keyboard.d.ts +3 -3
- package/es/tree/src/utils.d.ts +3 -3
- package/es/tree-select/src/TreeSelect.d.ts +9 -15
- package/es/tree-select/src/interface.d.ts +2 -2
- package/es/tree-select/src/utils.d.ts +2 -2
- package/es/typography/src/create-header.d.ts +2 -2
- package/es/typography/src/p.d.ts +1 -1
- package/es/typography/src/text.d.ts +1 -1
- package/es/upload/src/Upload.d.ts +1 -61
- package/es/upload/src/Upload.js +2 -3
- 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 +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/src/Watermark.d.ts +2 -2
- 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 +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
- 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 +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 +1 -1
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
- package/lib/_mixins/use-config.d.ts +1 -1
- package/lib/_mixins/use-css-vars-class.d.ts +1 -1
- package/lib/_mixins/use-form-item.d.ts +1 -1
- 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 +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 +1 -1
- 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/affix/src/Affix.d.ts +1 -1
- package/lib/alert/src/Alert.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 +2 -2
- package/lib/auto-complete/src/AutoComplete.d.ts +6 -7
- package/lib/auto-complete/src/interface.d.ts +1 -1
- package/lib/auto-complete/src/utils.d.ts +2 -2
- package/lib/avatar/src/Avatar.d.ts +2 -2
- package/lib/avatar-group/src/AvatarGroup.d.ts +2 -2
- 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 +1 -1
- package/lib/badge/src/Badge.d.ts +1 -1
- 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 +2 -2
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/lib/button/src/Button.d.ts +2 -2
- package/lib/button/styles/rtl.d.ts +1 -1
- package/lib/button-group/src/ButtonGroup.d.ts +1 -1
- 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 +2 -2
- package/lib/card/src/Card.d.ts +1 -1
- package/lib/card/styles/light.d.ts +1 -1
- package/lib/card/styles/rtl.d.ts +1 -1
- package/lib/carousel/src/Carousel.js +2 -2
- package/lib/carousel/src/CarouselContext.js +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 +1 -1
- package/lib/cascader/src/Cascader.d.ts +10 -10
- package/lib/cascader/src/CascaderMenu.d.ts +3 -3
- package/lib/cascader/src/CascaderOption.d.ts +2 -2
- package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/lib/cascader/src/CascaderSubmenu.d.ts +2 -2
- package/lib/cascader/src/interface.d.ts +2 -2
- package/lib/checkbox/src/Checkbox.d.ts +2 -2
- package/lib/checkbox/src/CheckboxGroup.d.ts +2 -3
- package/lib/code/src/Code.d.ts +2 -2
- package/lib/code/styles/light.d.ts +1 -1
- package/lib/collapse/src/Collapse.d.ts +14 -4
- package/lib/collapse/src/Collapse.js +2 -1
- package/lib/collapse/src/CollapseItem.d.ts +1 -1
- package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
- 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 +1 -1
- package/lib/collapse-transition/styles/light.d.ts +1 -1
- 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 +4 -4
- 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 +1 -1
- package/lib/composables/use-theme-vars.d.ts +1 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +6 -6
- package/lib/config-provider/src/internal-interface.d.ts +2 -2
- package/lib/config-provider/src/katex.d.ts +1 -1
- package/lib/countdown/src/Countdown.d.ts +1 -1
- package/lib/create.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +2 -2
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +4 -4
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +7 -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 +3 -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 +4 -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 +1 -1
- package/lib/data-table/src/TableParts/Header.js +4 -2
- package/lib/data-table/src/interface.d.ts +9 -5
- 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/date-picker/src/DatePicker.d.ts +3 -3
- package/lib/date-picker/src/interface.d.ts +4 -4
- 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 +3 -3
- 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 +1 -1
- package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/lib/descriptions/src/utils.d.ts +1 -1
- package/lib/descriptions/styles/light.d.ts +2 -2
- package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +5 -5
- package/lib/dialog/src/DialogProvider.js +1 -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 +1 -1
- 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 +1 -1
- package/lib/drawer/src/Drawer.d.ts +2 -2
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/lib/drawer/src/DrawerContent.d.ts +1 -1
- package/lib/drawer/src/interface.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +7 -7
- 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 +2 -2
- package/lib/dynamic-input/src/DynamicInput.d.ts +5 -1
- 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 +1 -1
- package/lib/dynamic-input/styles/dark.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.js +1 -1
- package/lib/element/src/Element.d.ts +9 -9
- package/lib/element/styles/dark.d.ts +1 -1
- package/lib/element/styles/light.d.ts +1 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +1 -1
- package/lib/ellipsis/styles/dark.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +1 -1
- package/lib/equation/src/Equation.d.ts +2 -2
- package/lib/form/src/Form.d.ts +2 -2
- package/lib/form/src/Form.js +2 -2
- package/lib/form/src/FormItem.d.ts +2 -2
- package/lib/form/src/FormItem.js +1 -1
- package/lib/form/src/FormItemCol.js +1 -1
- package/lib/form/src/FormItemGridItem.js +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/gradient-text/src/GradientText.d.ts +1 -1
- package/lib/gradient-text/styles/dark.d.ts +1 -1
- package/lib/grid/src/Grid.d.ts +4 -4
- package/lib/grid/src/GridItem.d.ts +1 -1
- package/lib/icon/src/Icon.d.ts +4 -4
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/lib/icon-wrapper/src/IconWrapper.js +1 -1
- package/lib/image/src/Image.d.ts +1 -1
- package/lib/image/src/Image.js +19 -21
- package/lib/image/src/ImageGroup.d.ts +2 -2
- package/lib/image/src/ImageGroup.js +2 -2
- package/lib/image/src/ImagePreview.d.ts +1 -1
- package/lib/image/src/interface.d.ts +1 -1
- package/lib/image/src/utils.d.ts +1 -1
- package/lib/input/src/Input.d.ts +2 -3
- package/lib/input/src/Input.js +3 -3
- package/lib/input/src/InputGroupLabel.d.ts +1 -1
- package/lib/input/src/interface.d.ts +1 -1
- package/lib/input/src/styles/input.cssr.js +3 -3
- package/lib/input-number/src/InputNumber.d.ts +2 -2
- package/lib/layout/src/Layout.d.ts +1 -1
- package/lib/layout/src/LayoutHeader.d.ts +1 -1
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/layout/src/ToggleBar.d.ts +1 -1
- package/lib/layout/src/ToggleButton.d.ts +1 -1
- package/lib/layout/src/interface.d.ts +1 -1
- package/lib/legacy-grid/src/Col.d.ts +3 -3
- package/lib/legacy-grid/src/Row.d.ts +2 -2
- package/lib/legacy-transfer/src/Transfer.d.ts +4 -5
- package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferList.d.ts +2 -2
- 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 +2 -2
- package/lib/list/styles/light.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +2 -2
- package/lib/loading-bar/src/context.d.ts +1 -1
- package/lib/locales/common/enUS.d.ts +1 -1
- 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/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 +1 -1
- package/lib/log/src/Log.d.ts +2 -2
- package/lib/mention/src/Mention.d.ts +5 -5
- package/lib/menu/src/Menu.d.ts +9 -9
- 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/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 +1 -1
- package/lib/message/src/MessageEnvironment.d.ts +1 -1
- package/lib/message/src/MessageProvider.d.ts +1 -1
- 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 +2 -2
- package/lib/modal/src/Modal.d.ts +1 -1
- package/lib/modal/src/interface.d.ts +1 -1
- package/lib/notification/src/Notification.d.ts +1 -1
- package/lib/notification/src/NotificationContainer.d.ts +1 -1
- package/lib/notification/src/NotificationEnvironment.d.ts +4 -1
- package/lib/notification/src/NotificationProvider.d.ts +3 -3
- 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 +1 -1
- package/lib/page-header/src/PageHeader.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +2 -2
- package/lib/pagination/src/Pagination.js +1 -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 +1 -1
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- 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 +2 -2
- package/lib/popover/src/Popover.js +1 -2
- package/lib/popover/src/PopoverBody.d.ts +2 -2
- package/lib/popover/src/interface.d.ts +1 -1
- package/lib/popover/src/styles/index.cssr.d.ts +1 -1
- package/lib/popselect/src/Popselect.d.ts +2 -2
- package/lib/popselect/src/Popselect.js +2 -1
- package/lib/popselect/src/PopselectPanel.d.ts +6 -6
- 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 +2 -2
- package/lib/progress/src/Line.d.ts +2 -2
- package/lib/progress/src/MultipleCircle.d.ts +1 -1
- package/lib/progress/src/Progress.d.ts +3 -3
- package/lib/radio/src/RadioButton.d.ts +1 -1
- package/lib/radio/src/RadioGroup.d.ts +2 -2
- package/lib/radio/src/use-radio.d.ts +2 -2
- package/lib/radio/styles/light.d.ts +1 -1
- package/lib/rate/src/Rate.d.ts +1 -1
- 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 +1 -1
- package/lib/scrollbar/src/Scrollbar.d.ts +4 -1
- package/lib/scrollbar/src/Scrollbar.js +1 -1
- package/lib/select/src/Select.d.ts +19 -6
- package/lib/select/src/Select.js +7 -0
- package/lib/select/src/interface.d.ts +2 -2
- package/lib/select/src/utils.d.ts +1 -1
- package/lib/skeleton/src/Skeleton.d.ts +1 -1
- 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 +3 -3
- package/lib/slider/src/Slider.js +4 -4
- package/lib/slider/src/utils.d.ts +1 -1
- package/lib/slider/src/utils.js +1 -1
- package/lib/slider/styles/light.d.ts +1 -1
- package/lib/space/src/Space.d.ts +1 -1
- package/lib/space/styles/rtl.d.ts +1 -1
- package/lib/spin/src/Spin.d.ts +2 -2
- package/lib/spin/styles/light.d.ts +1 -1
- 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 +1 -1
- package/lib/steps/src/Steps.d.ts +1 -1
- package/lib/steps/styles/rtl.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +1 -1
- package/lib/table/src/Table.d.ts +1 -1
- package/lib/table/styles/light.d.ts +1 -1
- package/lib/table/styles/rtl.d.ts +1 -1
- package/lib/tabs/src/TabPane.d.ts +1 -1
- package/lib/tabs/src/Tabs.d.ts +122 -4
- package/lib/tabs/src/Tabs.js +38 -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 +1 -1
- package/lib/tag/src/common-props.d.ts +1 -1
- 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 +1 -1
- package/lib/themes/utils.d.ts +1 -1
- package/lib/thing/src/Thing.d.ts +1 -1
- package/lib/thing/styles/rtl.d.ts +1 -1
- package/lib/time/src/Time.d.ts +2 -2
- 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 +2 -2
- 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 +3 -3
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.js +2 -1
- package/lib/transfer/src/Transfer.d.ts +5 -6
- package/lib/transfer/src/TransferFilter.d.ts +1 -1
- package/lib/transfer/src/TransferHeader.d.ts +1 -1
- package/lib/transfer/src/TransferList.d.ts +2 -2
- package/lib/transfer/src/TransferListItem.d.ts +2 -2
- 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 +2 -2
- package/lib/tree/src/Tree.d.ts +3 -3
- package/lib/tree/src/Tree.js +4 -3
- package/lib/tree/src/TreeNode.d.ts +3 -3
- package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -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 +2 -2
- package/lib/tree/src/keyboard.d.ts +3 -3
- package/lib/tree/src/utils.d.ts +3 -3
- package/lib/tree-select/src/TreeSelect.d.ts +9 -15
- package/lib/tree-select/src/interface.d.ts +2 -2
- package/lib/tree-select/src/utils.d.ts +2 -2
- package/lib/typography/src/create-header.d.ts +2 -2
- package/lib/typography/src/p.d.ts +1 -1
- package/lib/typography/src/text.d.ts +1 -1
- package/lib/upload/src/Upload.d.ts +1 -61
- package/lib/upload/src/Upload.js +2 -3
- 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 +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +2 -2
- package/package.json +43 -43
- package/web-types.json +88 -14
package/lib/tabs/src/Tabs.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
|
-
import { PropType, CSSProperties, ComponentPublicInstance, nextTick, ExtractPropTypes } from 'vue';
|
|
3
|
-
import { VXScrollInst } from 'vueuc';
|
|
2
|
+
import { type PropType, type CSSProperties, type ComponentPublicInstance, nextTick, type ExtractPropTypes } from 'vue';
|
|
3
|
+
import { type VXScrollInst } from 'vueuc';
|
|
4
4
|
import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
5
5
|
import type { Addable, OnClose, OnBeforeLeave, TabsType, OnUpdateValue } from './interface';
|
|
6
6
|
export declare const tabsProps: {
|
|
@@ -28,6 +28,8 @@ export declare const tabsProps: {
|
|
|
28
28
|
readonly barWidth: NumberConstructor;
|
|
29
29
|
readonly paneClass: StringConstructor;
|
|
30
30
|
readonly paneStyle: PropType<string | CSSProperties>;
|
|
31
|
+
readonly paneWrapperClass: StringConstructor;
|
|
32
|
+
readonly paneWrapperStyle: PropType<string | CSSProperties>;
|
|
31
33
|
readonly addable: PropType<Addable>;
|
|
32
34
|
readonly tabsPadding: {
|
|
33
35
|
readonly type: NumberConstructor;
|
|
@@ -82,6 +84,9 @@ export declare const tabsProps: {
|
|
|
82
84
|
tabGapSmallLine: string;
|
|
83
85
|
tabGapMediumLine: string;
|
|
84
86
|
tabGapLargeLine: string;
|
|
87
|
+
tabGapSmallLineVertical: string;
|
|
88
|
+
tabGapMediumLineVertical: string;
|
|
89
|
+
tabGapLargeLineVertical: string;
|
|
85
90
|
tabPaddingSmallLine: string;
|
|
86
91
|
tabPaddingMediumLine: string;
|
|
87
92
|
tabPaddingLargeLine: string;
|
|
@@ -91,6 +96,9 @@ export declare const tabsProps: {
|
|
|
91
96
|
tabGapSmallBar: string;
|
|
92
97
|
tabGapMediumBar: string;
|
|
93
98
|
tabGapLargeBar: string;
|
|
99
|
+
tabGapSmallBarVertical: string;
|
|
100
|
+
tabGapMediumBarVertical: string;
|
|
101
|
+
tabGapLargeBarVertical: string;
|
|
94
102
|
tabPaddingSmallBar: string;
|
|
95
103
|
tabPaddingMediumBar: string;
|
|
96
104
|
tabPaddingLargeBar: string;
|
|
@@ -100,6 +108,9 @@ export declare const tabsProps: {
|
|
|
100
108
|
tabGapSmallCard: string;
|
|
101
109
|
tabGapMediumCard: string;
|
|
102
110
|
tabGapLargeCard: string;
|
|
111
|
+
tabGapSmallCardVertical: string;
|
|
112
|
+
tabGapMediumCardVertical: string;
|
|
113
|
+
tabGapLargeCardVertical: string;
|
|
103
114
|
tabPaddingSmallCard: string;
|
|
104
115
|
tabPaddingMediumCard: string;
|
|
105
116
|
tabPaddingLargeCard: string;
|
|
@@ -115,6 +126,9 @@ export declare const tabsProps: {
|
|
|
115
126
|
tabGapSmallSegment: string;
|
|
116
127
|
tabGapMediumSegment: string;
|
|
117
128
|
tabGapLargeSegment: string;
|
|
129
|
+
tabGapSmallSegmentVertical: string;
|
|
130
|
+
tabGapMediumSegmentVertical: string;
|
|
131
|
+
tabGapLargeSegmentVertical: string;
|
|
118
132
|
panePaddingSmall: string;
|
|
119
133
|
panePaddingMedium: string;
|
|
120
134
|
panePaddingLarge: string;
|
|
@@ -161,6 +175,9 @@ export declare const tabsProps: {
|
|
|
161
175
|
tabGapSmallLine: string;
|
|
162
176
|
tabGapMediumLine: string;
|
|
163
177
|
tabGapLargeLine: string;
|
|
178
|
+
tabGapSmallLineVertical: string;
|
|
179
|
+
tabGapMediumLineVertical: string;
|
|
180
|
+
tabGapLargeLineVertical: string;
|
|
164
181
|
tabPaddingSmallLine: string;
|
|
165
182
|
tabPaddingMediumLine: string;
|
|
166
183
|
tabPaddingLargeLine: string;
|
|
@@ -170,6 +187,9 @@ export declare const tabsProps: {
|
|
|
170
187
|
tabGapSmallBar: string;
|
|
171
188
|
tabGapMediumBar: string;
|
|
172
189
|
tabGapLargeBar: string;
|
|
190
|
+
tabGapSmallBarVertical: string;
|
|
191
|
+
tabGapMediumBarVertical: string;
|
|
192
|
+
tabGapLargeBarVertical: string;
|
|
173
193
|
tabPaddingSmallBar: string;
|
|
174
194
|
tabPaddingMediumBar: string;
|
|
175
195
|
tabPaddingLargeBar: string;
|
|
@@ -179,6 +199,9 @@ export declare const tabsProps: {
|
|
|
179
199
|
tabGapSmallCard: string;
|
|
180
200
|
tabGapMediumCard: string;
|
|
181
201
|
tabGapLargeCard: string;
|
|
202
|
+
tabGapSmallCardVertical: string;
|
|
203
|
+
tabGapMediumCardVertical: string;
|
|
204
|
+
tabGapLargeCardVertical: string;
|
|
182
205
|
tabPaddingSmallCard: string;
|
|
183
206
|
tabPaddingMediumCard: string;
|
|
184
207
|
tabPaddingLargeCard: string;
|
|
@@ -194,6 +217,9 @@ export declare const tabsProps: {
|
|
|
194
217
|
tabGapSmallSegment: string;
|
|
195
218
|
tabGapMediumSegment: string;
|
|
196
219
|
tabGapLargeSegment: string;
|
|
220
|
+
tabGapSmallSegmentVertical: string;
|
|
221
|
+
tabGapMediumSegmentVertical: string;
|
|
222
|
+
tabGapLargeSegmentVertical: string;
|
|
197
223
|
panePaddingSmall: string;
|
|
198
224
|
panePaddingMedium: string;
|
|
199
225
|
panePaddingLarge: string;
|
|
@@ -240,6 +266,9 @@ export declare const tabsProps: {
|
|
|
240
266
|
tabGapSmallLine: string;
|
|
241
267
|
tabGapMediumLine: string;
|
|
242
268
|
tabGapLargeLine: string;
|
|
269
|
+
tabGapSmallLineVertical: string;
|
|
270
|
+
tabGapMediumLineVertical: string;
|
|
271
|
+
tabGapLargeLineVertical: string;
|
|
243
272
|
tabPaddingSmallLine: string;
|
|
244
273
|
tabPaddingMediumLine: string;
|
|
245
274
|
tabPaddingLargeLine: string;
|
|
@@ -249,6 +278,9 @@ export declare const tabsProps: {
|
|
|
249
278
|
tabGapSmallBar: string;
|
|
250
279
|
tabGapMediumBar: string;
|
|
251
280
|
tabGapLargeBar: string;
|
|
281
|
+
tabGapSmallBarVertical: string;
|
|
282
|
+
tabGapMediumBarVertical: string;
|
|
283
|
+
tabGapLargeBarVertical: string;
|
|
252
284
|
tabPaddingSmallBar: string;
|
|
253
285
|
tabPaddingMediumBar: string;
|
|
254
286
|
tabPaddingLargeBar: string;
|
|
@@ -258,6 +290,9 @@ export declare const tabsProps: {
|
|
|
258
290
|
tabGapSmallCard: string;
|
|
259
291
|
tabGapMediumCard: string;
|
|
260
292
|
tabGapLargeCard: string;
|
|
293
|
+
tabGapSmallCardVertical: string;
|
|
294
|
+
tabGapMediumCardVertical: string;
|
|
295
|
+
tabGapLargeCardVertical: string;
|
|
261
296
|
tabPaddingSmallCard: string;
|
|
262
297
|
tabPaddingMediumCard: string;
|
|
263
298
|
tabPaddingLargeCard: string;
|
|
@@ -273,6 +308,9 @@ export declare const tabsProps: {
|
|
|
273
308
|
tabGapSmallSegment: string;
|
|
274
309
|
tabGapMediumSegment: string;
|
|
275
310
|
tabGapLargeSegment: string;
|
|
311
|
+
tabGapSmallSegmentVertical: string;
|
|
312
|
+
tabGapMediumSegmentVertical: string;
|
|
313
|
+
tabGapLargeSegmentVertical: string;
|
|
276
314
|
panePaddingSmall: string;
|
|
277
315
|
panePaddingMedium: string;
|
|
278
316
|
panePaddingLarge: string;
|
|
@@ -306,6 +344,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
306
344
|
readonly barWidth: NumberConstructor;
|
|
307
345
|
readonly paneClass: StringConstructor;
|
|
308
346
|
readonly paneStyle: PropType<string | CSSProperties>;
|
|
347
|
+
readonly paneWrapperClass: StringConstructor;
|
|
348
|
+
readonly paneWrapperStyle: PropType<string | CSSProperties>;
|
|
309
349
|
readonly addable: PropType<Addable>;
|
|
310
350
|
readonly tabsPadding: {
|
|
311
351
|
readonly type: NumberConstructor;
|
|
@@ -360,6 +400,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
360
400
|
tabGapSmallLine: string;
|
|
361
401
|
tabGapMediumLine: string;
|
|
362
402
|
tabGapLargeLine: string;
|
|
403
|
+
tabGapSmallLineVertical: string;
|
|
404
|
+
tabGapMediumLineVertical: string;
|
|
405
|
+
tabGapLargeLineVertical: string;
|
|
363
406
|
tabPaddingSmallLine: string;
|
|
364
407
|
tabPaddingMediumLine: string;
|
|
365
408
|
tabPaddingLargeLine: string;
|
|
@@ -369,6 +412,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
369
412
|
tabGapSmallBar: string;
|
|
370
413
|
tabGapMediumBar: string;
|
|
371
414
|
tabGapLargeBar: string;
|
|
415
|
+
tabGapSmallBarVertical: string;
|
|
416
|
+
tabGapMediumBarVertical: string;
|
|
417
|
+
tabGapLargeBarVertical: string;
|
|
372
418
|
tabPaddingSmallBar: string;
|
|
373
419
|
tabPaddingMediumBar: string;
|
|
374
420
|
tabPaddingLargeBar: string;
|
|
@@ -378,6 +424,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
378
424
|
tabGapSmallCard: string;
|
|
379
425
|
tabGapMediumCard: string;
|
|
380
426
|
tabGapLargeCard: string;
|
|
427
|
+
tabGapSmallCardVertical: string;
|
|
428
|
+
tabGapMediumCardVertical: string;
|
|
429
|
+
tabGapLargeCardVertical: string;
|
|
381
430
|
tabPaddingSmallCard: string;
|
|
382
431
|
tabPaddingMediumCard: string;
|
|
383
432
|
tabPaddingLargeCard: string;
|
|
@@ -393,6 +442,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
393
442
|
tabGapSmallSegment: string;
|
|
394
443
|
tabGapMediumSegment: string;
|
|
395
444
|
tabGapLargeSegment: string;
|
|
445
|
+
tabGapSmallSegmentVertical: string;
|
|
446
|
+
tabGapMediumSegmentVertical: string;
|
|
447
|
+
tabGapLargeSegmentVertical: string;
|
|
396
448
|
panePaddingSmall: string;
|
|
397
449
|
panePaddingMedium: string;
|
|
398
450
|
panePaddingLarge: string;
|
|
@@ -439,6 +491,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
439
491
|
tabGapSmallLine: string;
|
|
440
492
|
tabGapMediumLine: string;
|
|
441
493
|
tabGapLargeLine: string;
|
|
494
|
+
tabGapSmallLineVertical: string;
|
|
495
|
+
tabGapMediumLineVertical: string;
|
|
496
|
+
tabGapLargeLineVertical: string;
|
|
442
497
|
tabPaddingSmallLine: string;
|
|
443
498
|
tabPaddingMediumLine: string;
|
|
444
499
|
tabPaddingLargeLine: string;
|
|
@@ -448,6 +503,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
448
503
|
tabGapSmallBar: string;
|
|
449
504
|
tabGapMediumBar: string;
|
|
450
505
|
tabGapLargeBar: string;
|
|
506
|
+
tabGapSmallBarVertical: string;
|
|
507
|
+
tabGapMediumBarVertical: string;
|
|
508
|
+
tabGapLargeBarVertical: string;
|
|
451
509
|
tabPaddingSmallBar: string;
|
|
452
510
|
tabPaddingMediumBar: string;
|
|
453
511
|
tabPaddingLargeBar: string;
|
|
@@ -457,6 +515,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
457
515
|
tabGapSmallCard: string;
|
|
458
516
|
tabGapMediumCard: string;
|
|
459
517
|
tabGapLargeCard: string;
|
|
518
|
+
tabGapSmallCardVertical: string;
|
|
519
|
+
tabGapMediumCardVertical: string;
|
|
520
|
+
tabGapLargeCardVertical: string;
|
|
460
521
|
tabPaddingSmallCard: string;
|
|
461
522
|
tabPaddingMediumCard: string;
|
|
462
523
|
tabPaddingLargeCard: string;
|
|
@@ -472,6 +533,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
472
533
|
tabGapSmallSegment: string;
|
|
473
534
|
tabGapMediumSegment: string;
|
|
474
535
|
tabGapLargeSegment: string;
|
|
536
|
+
tabGapSmallSegmentVertical: string;
|
|
537
|
+
tabGapMediumSegmentVertical: string;
|
|
538
|
+
tabGapLargeSegmentVertical: string;
|
|
475
539
|
panePaddingSmall: string;
|
|
476
540
|
panePaddingMedium: string;
|
|
477
541
|
panePaddingLarge: string;
|
|
@@ -518,6 +582,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
518
582
|
tabGapSmallLine: string;
|
|
519
583
|
tabGapMediumLine: string;
|
|
520
584
|
tabGapLargeLine: string;
|
|
585
|
+
tabGapSmallLineVertical: string;
|
|
586
|
+
tabGapMediumLineVertical: string;
|
|
587
|
+
tabGapLargeLineVertical: string;
|
|
521
588
|
tabPaddingSmallLine: string;
|
|
522
589
|
tabPaddingMediumLine: string;
|
|
523
590
|
tabPaddingLargeLine: string;
|
|
@@ -527,6 +594,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
527
594
|
tabGapSmallBar: string;
|
|
528
595
|
tabGapMediumBar: string;
|
|
529
596
|
tabGapLargeBar: string;
|
|
597
|
+
tabGapSmallBarVertical: string;
|
|
598
|
+
tabGapMediumBarVertical: string;
|
|
599
|
+
tabGapLargeBarVertical: string;
|
|
530
600
|
tabPaddingSmallBar: string;
|
|
531
601
|
tabPaddingMediumBar: string;
|
|
532
602
|
tabPaddingLargeBar: string;
|
|
@@ -536,6 +606,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
536
606
|
tabGapSmallCard: string;
|
|
537
607
|
tabGapMediumCard: string;
|
|
538
608
|
tabGapLargeCard: string;
|
|
609
|
+
tabGapSmallCardVertical: string;
|
|
610
|
+
tabGapMediumCardVertical: string;
|
|
611
|
+
tabGapLargeCardVertical: string;
|
|
539
612
|
tabPaddingSmallCard: string;
|
|
540
613
|
tabPaddingMediumCard: string;
|
|
541
614
|
tabPaddingLargeCard: string;
|
|
@@ -551,6 +624,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
551
624
|
tabGapSmallSegment: string;
|
|
552
625
|
tabGapMediumSegment: string;
|
|
553
626
|
tabGapLargeSegment: string;
|
|
627
|
+
tabGapSmallSegmentVertical: string;
|
|
628
|
+
tabGapMediumSegmentVertical: string;
|
|
629
|
+
tabGapLargeSegmentVertical: string;
|
|
554
630
|
panePaddingSmall: string;
|
|
555
631
|
panePaddingMedium: string;
|
|
556
632
|
panePaddingLarge: string;
|
|
@@ -566,7 +642,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
566
642
|
tabsPaneWrapperRef: import("vue").Ref<HTMLElement | null>;
|
|
567
643
|
tabsElRef: import("vue").Ref<HTMLElement | null>;
|
|
568
644
|
barElRef: import("vue").Ref<HTMLElement | null>;
|
|
569
|
-
addTabInstRef: import("vue").Ref<ComponentPublicInstance
|
|
645
|
+
addTabInstRef: import("vue").Ref<ComponentPublicInstance | null>;
|
|
570
646
|
xScrollInstRef: import("vue").Ref<(VXScrollInst & {
|
|
571
647
|
$: import("vue").ComponentInternalInstance;
|
|
572
648
|
$data: {};
|
|
@@ -641,7 +717,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
641
717
|
'--n-tab-padding': string;
|
|
642
718
|
'--n-tab-padding-vertical': string;
|
|
643
719
|
'--n-tab-gap': string;
|
|
644
|
-
'--n-
|
|
720
|
+
'--n-tab-gap-vertical': string;
|
|
721
|
+
'--n-pane-padding-left': string;
|
|
722
|
+
'--n-pane-padding-right': string;
|
|
723
|
+
'--n-pane-padding-top': string;
|
|
724
|
+
'--n-pane-padding-bottom': string;
|
|
645
725
|
'--n-font-weight-strong': string;
|
|
646
726
|
'--n-tab-color-segment': string;
|
|
647
727
|
}> | undefined;
|
|
@@ -679,6 +759,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
679
759
|
readonly barWidth: NumberConstructor;
|
|
680
760
|
readonly paneClass: StringConstructor;
|
|
681
761
|
readonly paneStyle: PropType<string | CSSProperties>;
|
|
762
|
+
readonly paneWrapperClass: StringConstructor;
|
|
763
|
+
readonly paneWrapperStyle: PropType<string | CSSProperties>;
|
|
682
764
|
readonly addable: PropType<Addable>;
|
|
683
765
|
readonly tabsPadding: {
|
|
684
766
|
readonly type: NumberConstructor;
|
|
@@ -733,6 +815,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
733
815
|
tabGapSmallLine: string;
|
|
734
816
|
tabGapMediumLine: string;
|
|
735
817
|
tabGapLargeLine: string;
|
|
818
|
+
tabGapSmallLineVertical: string;
|
|
819
|
+
tabGapMediumLineVertical: string;
|
|
820
|
+
tabGapLargeLineVertical: string;
|
|
736
821
|
tabPaddingSmallLine: string;
|
|
737
822
|
tabPaddingMediumLine: string;
|
|
738
823
|
tabPaddingLargeLine: string;
|
|
@@ -742,6 +827,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
742
827
|
tabGapSmallBar: string;
|
|
743
828
|
tabGapMediumBar: string;
|
|
744
829
|
tabGapLargeBar: string;
|
|
830
|
+
tabGapSmallBarVertical: string;
|
|
831
|
+
tabGapMediumBarVertical: string;
|
|
832
|
+
tabGapLargeBarVertical: string;
|
|
745
833
|
tabPaddingSmallBar: string;
|
|
746
834
|
tabPaddingMediumBar: string;
|
|
747
835
|
tabPaddingLargeBar: string;
|
|
@@ -751,6 +839,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
751
839
|
tabGapSmallCard: string;
|
|
752
840
|
tabGapMediumCard: string;
|
|
753
841
|
tabGapLargeCard: string;
|
|
842
|
+
tabGapSmallCardVertical: string;
|
|
843
|
+
tabGapMediumCardVertical: string;
|
|
844
|
+
tabGapLargeCardVertical: string;
|
|
754
845
|
tabPaddingSmallCard: string;
|
|
755
846
|
tabPaddingMediumCard: string;
|
|
756
847
|
tabPaddingLargeCard: string;
|
|
@@ -766,6 +857,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
766
857
|
tabGapSmallSegment: string;
|
|
767
858
|
tabGapMediumSegment: string;
|
|
768
859
|
tabGapLargeSegment: string;
|
|
860
|
+
tabGapSmallSegmentVertical: string;
|
|
861
|
+
tabGapMediumSegmentVertical: string;
|
|
862
|
+
tabGapLargeSegmentVertical: string;
|
|
769
863
|
panePaddingSmall: string;
|
|
770
864
|
panePaddingMedium: string;
|
|
771
865
|
panePaddingLarge: string;
|
|
@@ -812,6 +906,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
812
906
|
tabGapSmallLine: string;
|
|
813
907
|
tabGapMediumLine: string;
|
|
814
908
|
tabGapLargeLine: string;
|
|
909
|
+
tabGapSmallLineVertical: string;
|
|
910
|
+
tabGapMediumLineVertical: string;
|
|
911
|
+
tabGapLargeLineVertical: string;
|
|
815
912
|
tabPaddingSmallLine: string;
|
|
816
913
|
tabPaddingMediumLine: string;
|
|
817
914
|
tabPaddingLargeLine: string;
|
|
@@ -821,6 +918,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
821
918
|
tabGapSmallBar: string;
|
|
822
919
|
tabGapMediumBar: string;
|
|
823
920
|
tabGapLargeBar: string;
|
|
921
|
+
tabGapSmallBarVertical: string;
|
|
922
|
+
tabGapMediumBarVertical: string;
|
|
923
|
+
tabGapLargeBarVertical: string;
|
|
824
924
|
tabPaddingSmallBar: string;
|
|
825
925
|
tabPaddingMediumBar: string;
|
|
826
926
|
tabPaddingLargeBar: string;
|
|
@@ -830,6 +930,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
830
930
|
tabGapSmallCard: string;
|
|
831
931
|
tabGapMediumCard: string;
|
|
832
932
|
tabGapLargeCard: string;
|
|
933
|
+
tabGapSmallCardVertical: string;
|
|
934
|
+
tabGapMediumCardVertical: string;
|
|
935
|
+
tabGapLargeCardVertical: string;
|
|
833
936
|
tabPaddingSmallCard: string;
|
|
834
937
|
tabPaddingMediumCard: string;
|
|
835
938
|
tabPaddingLargeCard: string;
|
|
@@ -845,6 +948,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
845
948
|
tabGapSmallSegment: string;
|
|
846
949
|
tabGapMediumSegment: string;
|
|
847
950
|
tabGapLargeSegment: string;
|
|
951
|
+
tabGapSmallSegmentVertical: string;
|
|
952
|
+
tabGapMediumSegmentVertical: string;
|
|
953
|
+
tabGapLargeSegmentVertical: string;
|
|
848
954
|
panePaddingSmall: string;
|
|
849
955
|
panePaddingMedium: string;
|
|
850
956
|
panePaddingLarge: string;
|
|
@@ -891,6 +997,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
891
997
|
tabGapSmallLine: string;
|
|
892
998
|
tabGapMediumLine: string;
|
|
893
999
|
tabGapLargeLine: string;
|
|
1000
|
+
tabGapSmallLineVertical: string;
|
|
1001
|
+
tabGapMediumLineVertical: string;
|
|
1002
|
+
tabGapLargeLineVertical: string;
|
|
894
1003
|
tabPaddingSmallLine: string;
|
|
895
1004
|
tabPaddingMediumLine: string;
|
|
896
1005
|
tabPaddingLargeLine: string;
|
|
@@ -900,6 +1009,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
900
1009
|
tabGapSmallBar: string;
|
|
901
1010
|
tabGapMediumBar: string;
|
|
902
1011
|
tabGapLargeBar: string;
|
|
1012
|
+
tabGapSmallBarVertical: string;
|
|
1013
|
+
tabGapMediumBarVertical: string;
|
|
1014
|
+
tabGapLargeBarVertical: string;
|
|
903
1015
|
tabPaddingSmallBar: string;
|
|
904
1016
|
tabPaddingMediumBar: string;
|
|
905
1017
|
tabPaddingLargeBar: string;
|
|
@@ -909,6 +1021,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
909
1021
|
tabGapSmallCard: string;
|
|
910
1022
|
tabGapMediumCard: string;
|
|
911
1023
|
tabGapLargeCard: string;
|
|
1024
|
+
tabGapSmallCardVertical: string;
|
|
1025
|
+
tabGapMediumCardVertical: string;
|
|
1026
|
+
tabGapLargeCardVertical: string;
|
|
912
1027
|
tabPaddingSmallCard: string;
|
|
913
1028
|
tabPaddingMediumCard: string;
|
|
914
1029
|
tabPaddingLargeCard: string;
|
|
@@ -924,6 +1039,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
924
1039
|
tabGapSmallSegment: string;
|
|
925
1040
|
tabGapMediumSegment: string;
|
|
926
1041
|
tabGapLargeSegment: string;
|
|
1042
|
+
tabGapSmallSegmentVertical: string;
|
|
1043
|
+
tabGapMediumSegmentVertical: string;
|
|
1044
|
+
tabGapLargeSegmentVertical: string;
|
|
927
1045
|
panePaddingSmall: string;
|
|
928
1046
|
panePaddingMedium: string;
|
|
929
1047
|
panePaddingLarge: string;
|
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'
|
|
@@ -26,7 +27,7 @@ exports.tabsProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), {
|
|
|
26
27
|
}, placement: {
|
|
27
28
|
type: String,
|
|
28
29
|
default: 'top'
|
|
29
|
-
}, tabStyle: [String, Object], barWidth: Number, paneClass: String, paneStyle: [String, Object], addable: [Boolean, Object], tabsPadding: {
|
|
30
|
+
}, tabStyle: [String, Object], barWidth: Number, paneClass: String, paneStyle: [String, Object], paneWrapperClass: String, paneWrapperStyle: [String, Object], addable: [Boolean, Object], tabsPadding: {
|
|
30
31
|
type: Number,
|
|
31
32
|
default: 0
|
|
32
33
|
}, animated: Boolean, onBeforeLeave: Function, onAdd: Function, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onClose: [Function, Array],
|
|
@@ -57,8 +58,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
57
58
|
const scrollWrapperElRef = (0, vue_1.ref)(null);
|
|
58
59
|
const addTabInstRef = (0, vue_1.ref)(null);
|
|
59
60
|
const xScrollInstRef = (0, vue_1.ref)(null);
|
|
60
|
-
const
|
|
61
|
-
const
|
|
61
|
+
const startReachedRef = (0, vue_1.ref)(true);
|
|
62
|
+
const endReachedRef = (0, vue_1.ref)(true);
|
|
62
63
|
const compitableSizeRef = (0, vooks_1.useCompitable)(props, ['labelSize', 'size']);
|
|
63
64
|
const compitableValueRef = (0, vooks_1.useCompitable)(props, ['activeName', 'value']);
|
|
64
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
|
|
@@ -340,9 +341,17 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
340
341
|
function deriveScrollShadow(el) {
|
|
341
342
|
if (!el)
|
|
342
343
|
return;
|
|
343
|
-
const {
|
|
344
|
-
|
|
345
|
-
|
|
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
|
+
}
|
|
346
355
|
}
|
|
347
356
|
const handleScroll = (0, lodash_1.throttle)((e) => {
|
|
348
357
|
deriveScrollShadow(e.target);
|
|
@@ -369,22 +378,22 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
369
378
|
// avoid useless rerender
|
|
370
379
|
(0, vue_1.watchEffect)(() => {
|
|
371
380
|
const { value: el } = scrollWrapperElRef;
|
|
372
|
-
if (!el
|
|
381
|
+
if (!el)
|
|
373
382
|
return;
|
|
374
383
|
const { value: clsPrefix } = mergedClsPrefixRef;
|
|
375
|
-
const
|
|
376
|
-
const
|
|
377
|
-
if (
|
|
378
|
-
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);
|
|
379
388
|
}
|
|
380
389
|
else {
|
|
381
|
-
el.classList.add(
|
|
390
|
+
el.classList.add(shadowStartClass);
|
|
382
391
|
}
|
|
383
|
-
if (
|
|
384
|
-
el.classList.remove(
|
|
392
|
+
if (endReachedRef.value) {
|
|
393
|
+
el.classList.remove(shadowEndClass);
|
|
385
394
|
}
|
|
386
395
|
else {
|
|
387
|
-
el.classList.add(
|
|
396
|
+
el.classList.add(shadowEndClass);
|
|
388
397
|
}
|
|
389
398
|
});
|
|
390
399
|
const tabsRailElRef = (0, vue_1.ref)(null);
|
|
@@ -415,7 +424,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
415
424
|
segment: 'Segment'
|
|
416
425
|
}[type];
|
|
417
426
|
const sizeType = `${size}${typeSuffix}`;
|
|
418
|
-
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)('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;
|
|
419
428
|
return {
|
|
420
429
|
'--n-bezier': cubicBezierEaseInOut,
|
|
421
430
|
'--n-color-segment': colorSegment,
|
|
@@ -442,7 +451,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
442
451
|
'--n-tab-padding': tabPadding,
|
|
443
452
|
'--n-tab-padding-vertical': tabPaddingVertical,
|
|
444
453
|
'--n-tab-gap': tabGap,
|
|
445
|
-
'--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'),
|
|
446
459
|
'--n-font-weight-strong': fontWeightStrong,
|
|
447
460
|
'--n-tab-color-segment': tabColorSegment
|
|
448
461
|
};
|
|
@@ -465,7 +478,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
465
478
|
onAnimationAfterEnter, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender }, exposedMethods);
|
|
466
479
|
},
|
|
467
480
|
render() {
|
|
468
|
-
const { mergedClsPrefix, type, placement, 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;
|
|
469
482
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
470
483
|
const tabPaneChildren = defaultSlot
|
|
471
484
|
? (0, _utils_1.flatten)(defaultSlot()).filter((v) => {
|
|
@@ -518,13 +531,14 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
518
531
|
isCard ? (0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-pad` }) : null,
|
|
519
532
|
isCard ? null : ((0, vue_1.h)("div", { ref: "barElRef", class: `${mergedClsPrefix}-tabs-bar` }))));
|
|
520
533
|
};
|
|
534
|
+
const resolvedPlacement = isSegment ? 'top' : placement;
|
|
521
535
|
return ((0, vue_1.h)("div", { class: [
|
|
522
536
|
`${mergedClsPrefix}-tabs`,
|
|
523
537
|
this.themeClass,
|
|
524
538
|
`${mergedClsPrefix}-tabs--${type}-type`,
|
|
525
539
|
`${mergedClsPrefix}-tabs--${mergedSize}-size`,
|
|
526
540
|
mergedJustifyContent && `${mergedClsPrefix}-tabs--flex`,
|
|
527
|
-
`${mergedClsPrefix}-tabs--${
|
|
541
|
+
`${mergedClsPrefix}-tabs--${resolvedPlacement}`
|
|
528
542
|
], style: this.cssVars },
|
|
529
543
|
(0, vue_1.h)("div", { class: [
|
|
530
544
|
// the class should be applied here since it's possible
|
|
@@ -532,7 +546,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
532
546
|
// other. adding a class will make it easy to write the
|
|
533
547
|
// style.
|
|
534
548
|
`${mergedClsPrefix}-tabs-nav--${type}-type`,
|
|
535
|
-
`${mergedClsPrefix}-tabs-nav--${
|
|
549
|
+
`${mergedClsPrefix}-tabs-nav--${resolvedPlacement}`,
|
|
536
550
|
`${mergedClsPrefix}-tabs-nav`
|
|
537
551
|
] },
|
|
538
552
|
(0, _utils_1.resolveWrappedSlot)(prefixSlot, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav__prefix` }, children))),
|
|
@@ -554,16 +568,17 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
554
568
|
return createLeftPaddedTabVNode(tabVNode);
|
|
555
569
|
}
|
|
556
570
|
}))) : ((0, vue_1.h)(vueuc_1.VResizeObserver, { onResize: this.handleNavResize }, {
|
|
557
|
-
default: () => ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav-scroll-wrapper`, ref: "scrollWrapperElRef" }, ['top', 'bottom'].includes(
|
|
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 }, {
|
|
558
572
|
default: scrollContent
|
|
559
|
-
})) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav-y-scroll
|
|
573
|
+
})) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav-y-scroll`, onScroll: this.handleScroll }, scrollContent()))))
|
|
560
574
|
})),
|
|
561
575
|
addTabFixed && addable && isCard
|
|
562
576
|
? createAddTag(addable, true)
|
|
563
577
|
: null,
|
|
564
578
|
(0, _utils_1.resolveWrappedSlot)(suffixSlot, (children) => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-tabs-nav__suffix` }, children)))),
|
|
565
579
|
showPane &&
|
|
566
|
-
(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)))));
|
|
567
582
|
}
|
|
568
583
|
});
|
|
569
584
|
function filterMapTabPanes(tabPaneVNodes, value, renderedNames, onBeforeLeave, onEnter, onAfterEnter, animationDirection) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref, CSSProperties } from 'vue';
|
|
1
|
+
import { type Ref, type CSSProperties } from 'vue';
|
|
2
2
|
export type TabsType = 'line' | 'card' | 'bar' | 'segment';
|
|
3
3
|
export type OnUpdateValue = (value: string & number) => void;
|
|
4
4
|
export type OnUpdateValueImpl = (value: string | number) => void;
|