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/card/styles/rtl.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RtlItem } from '../../config-provider/src/internal-interface';
|
|
1
|
+
import { type RtlItem } from '../../config-provider/src/internal-interface';
|
|
2
2
|
export declare const cardRtl: RtlItem;
|
|
@@ -670,8 +670,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
670
670
|
fixTranslate();
|
|
671
671
|
}
|
|
672
672
|
}, { immediate: true });
|
|
673
|
-
(0, vue_1.watch)([duplicatedableRef, displaySlidesPerViewRef], () => void (0, vue_1.nextTick)(() => toRealIndex(realIndexRef.value)));
|
|
674
|
-
(0, vue_1.watch)(slideTranlatesRef, () => sequenceLayoutRef.value && fixTranslate(), {
|
|
673
|
+
(0, vue_1.watch)([duplicatedableRef, displaySlidesPerViewRef], () => void (0, vue_1.nextTick)(() => { toRealIndex(realIndexRef.value); }));
|
|
674
|
+
(0, vue_1.watch)(slideTranlatesRef, () => { sequenceLayoutRef.value && fixTranslate(); }, {
|
|
675
675
|
deep: true
|
|
676
676
|
});
|
|
677
677
|
(0, vue_1.watch)(sequenceLayoutRef, (value) => {
|
|
@@ -4,7 +4,7 @@ exports.useCarouselContext = exports.provideCarouselContext = void 0;
|
|
|
4
4
|
const vue_1 = require("vue");
|
|
5
5
|
const _utils_1 = require("../../_utils");
|
|
6
6
|
const carouselMethodsInjectionKey = (0, _utils_1.createInjectionKey)('n-carousel-methods');
|
|
7
|
-
const provideCarouselContext = (contextValue) => (0, vue_1.provide)(carouselMethodsInjectionKey, contextValue);
|
|
7
|
+
const provideCarouselContext = (contextValue) => { (0, vue_1.provide)(carouselMethodsInjectionKey, contextValue); };
|
|
8
8
|
exports.provideCarouselContext = provideCarouselContext;
|
|
9
9
|
const useCarouselContext = (location = 'unknown', component = 'component') => {
|
|
10
10
|
const CarouselContext = (0, vue_1.inject)(carouselMethodsInjectionKey);
|
|
@@ -105,7 +105,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
105
105
|
return ((0, vue_1.h)("div", { "aria-selected": selected, ref: (el) => dotEls.push(el), role: "button", tabindex: "0", class: [
|
|
106
106
|
`${mergedClsPrefix}-carousel__dot`,
|
|
107
107
|
selected && `${mergedClsPrefix}-carousel__dot--active`
|
|
108
|
-
], key: i, onClick: () => this.handleClick(i), onMouseenter: () => this.handleMouseenter(i), onKeydown: (e) => this.handleKeydown(e, i) }));
|
|
108
|
+
], key: i, onClick: () => { this.handleClick(i); }, onMouseenter: () => { this.handleMouseenter(i); }, onKeydown: (e) => { this.handleKeydown(e, i); } }));
|
|
109
109
|
})));
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -22,7 +22,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
22
22
|
const isNextRef = (0, vue_1.computed)(() => NCarousel.isNext(indexRef.value));
|
|
23
23
|
const isActiveRef = (0, vue_1.computed)(() => NCarousel.isActive(indexRef.value));
|
|
24
24
|
const styleRef = (0, vue_1.computed)(() => NCarousel.getSlideStyle(indexRef.value));
|
|
25
|
-
(0, vue_1.onMounted)(() =>
|
|
25
|
+
(0, vue_1.onMounted)(() => {
|
|
26
|
+
NCarousel.addSlide(selfElRef.value);
|
|
27
|
+
});
|
|
26
28
|
(0, vue_1.onBeforeUnmount)(() => {
|
|
27
29
|
NCarousel.removeSlide(selfElRef.value);
|
|
28
30
|
});
|
|
@@ -57,8 +59,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
57
59
|
return ((0, vue_1.h)("div", { ref: "selfElRef", class: className, role: "option", tabindex: "-1", "data-index": index, "aria-hidden": !isActive, style: style,
|
|
58
60
|
// We use ts-ignore for vue-tsc, since it seems to patch native event
|
|
59
61
|
// for vue components
|
|
60
|
-
//
|
|
61
|
-
// @ts-ignore
|
|
62
|
+
// @ts-expect-error vue's tsx has type for capture events
|
|
62
63
|
onClickCapture: this.handleClick }, (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots, {
|
|
63
64
|
isPrev,
|
|
64
65
|
isNext,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType, VNodeChild, HTMLAttributes } from 'vue';
|
|
2
|
-
import { CheckStrategy } from 'treemate';
|
|
3
|
-
import { FollowerPlacement } from 'vueuc';
|
|
1
|
+
import { type PropType, type VNodeChild, type HTMLAttributes } from 'vue';
|
|
2
|
+
import { type CheckStrategy } from 'treemate';
|
|
3
|
+
import { type FollowerPlacement } from 'vueuc';
|
|
4
4
|
import type { FormValidationStatus } from '../../form/src/interface';
|
|
5
5
|
import type { SelectBaseOption } from '../../select/src/interface';
|
|
6
6
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
@@ -96,8 +96,8 @@ export declare const cascaderProps: {
|
|
|
96
96
|
readonly status: PropType<FormValidationStatus>;
|
|
97
97
|
readonly 'onUpdate:value': PropType<MaybeArray<OnUpdateValue>>;
|
|
98
98
|
readonly onUpdateValue: PropType<MaybeArray<OnUpdateValue>>;
|
|
99
|
-
readonly 'onUpdate:show': PropType<MaybeArray<(show:
|
|
100
|
-
readonly onUpdateShow: PropType<MaybeArray<(show:
|
|
99
|
+
readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>;
|
|
100
|
+
readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>;
|
|
101
101
|
readonly onBlur: PropType<(e: FocusEvent) => void>;
|
|
102
102
|
readonly onFocus: PropType<(e: FocusEvent) => void>;
|
|
103
103
|
readonly onChange: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
@@ -755,8 +755,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
755
755
|
readonly status: PropType<FormValidationStatus>;
|
|
756
756
|
readonly 'onUpdate:value': PropType<MaybeArray<OnUpdateValue>>;
|
|
757
757
|
readonly onUpdateValue: PropType<MaybeArray<OnUpdateValue>>;
|
|
758
|
-
readonly 'onUpdate:show': PropType<MaybeArray<(show:
|
|
759
|
-
readonly onUpdateShow: PropType<MaybeArray<(show:
|
|
758
|
+
readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>;
|
|
759
|
+
readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>;
|
|
760
760
|
readonly onBlur: PropType<(e: FocusEvent) => void>;
|
|
761
761
|
readonly onFocus: PropType<(e: FocusEvent) => void>;
|
|
762
762
|
readonly onChange: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
@@ -1855,8 +1855,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1855
1855
|
readonly status: PropType<FormValidationStatus>;
|
|
1856
1856
|
readonly 'onUpdate:value': PropType<MaybeArray<OnUpdateValue>>;
|
|
1857
1857
|
readonly onUpdateValue: PropType<MaybeArray<OnUpdateValue>>;
|
|
1858
|
-
readonly 'onUpdate:show': PropType<MaybeArray<(show:
|
|
1859
|
-
readonly onUpdateShow: PropType<MaybeArray<(show:
|
|
1858
|
+
readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>;
|
|
1859
|
+
readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>;
|
|
1860
1860
|
readonly onBlur: PropType<(e: FocusEvent) => void>;
|
|
1861
1861
|
readonly onFocus: PropType<(e: FocusEvent) => void>;
|
|
1862
1862
|
readonly onChange: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
@@ -2422,12 +2422,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2422
2422
|
}, any>;
|
|
2423
2423
|
}>>>;
|
|
2424
2424
|
}>>, {
|
|
2425
|
+
readonly options: CascaderOption[];
|
|
2425
2426
|
readonly show: boolean | undefined;
|
|
2426
2427
|
readonly separator: string;
|
|
2427
2428
|
readonly multiple: boolean;
|
|
2428
2429
|
readonly disabled: boolean | undefined;
|
|
2429
2430
|
readonly to: string | boolean | HTMLElement;
|
|
2430
|
-
readonly options: CascaderOption[];
|
|
2431
2431
|
readonly bordered: boolean | undefined;
|
|
2432
2432
|
readonly placement: FollowerPlacement;
|
|
2433
2433
|
readonly labelField: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { FollowerPlacement } from 'vueuc';
|
|
3
|
-
import { CascaderSubmenuInstance, MenuModel, Value } from './interface';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { FollowerPlacement } from 'vueuc';
|
|
3
|
+
import type { CascaderSubmenuInstance, MenuModel, Value } from './interface';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
value: PropType<Value | null>;
|
|
6
6
|
placement: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { TreeNode } from 'treemate';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type TreeNode } from 'treemate';
|
|
3
3
|
import type { SelectBaseOption, SelectGroupOption, SelectIgnoredOption } from '../../select/src/interface';
|
|
4
|
-
import { TmNode, Value, Filter } from './interface';
|
|
4
|
+
import type { TmNode, Value, Filter } from './interface';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
value: {
|
|
7
7
|
type: PropType<Value | null>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CheckStrategy, TreeNode } from 'treemate';
|
|
1
|
+
import type { CheckStrategy, TreeNode } from 'treemate';
|
|
2
2
|
import type { MergedTheme } from '../../_mixins';
|
|
3
3
|
import type { NLocale } from '../../locales';
|
|
4
4
|
import type { CascaderTheme } from '../styles';
|
|
5
|
-
import { Ref, Slots, VNodeChild } from 'vue';
|
|
5
|
+
import type { Ref, Slots, VNodeChild } from 'vue';
|
|
6
6
|
export type ValueAtom = string | number;
|
|
7
7
|
export type Value = ValueAtom | ValueAtom[];
|
|
8
8
|
export type Key = ValueAtom;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type MaybeArray, type ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
import type { OnUpdateChecked, CheckboxInst } from './interface';
|
|
4
4
|
export declare const checkboxProps: {
|
|
5
5
|
size: PropType<"small" | "medium" | "large">;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { PropType, Ref, ComputedRef } from 'vue';
|
|
2
|
-
import { MaybeArray } from '../../_utils';
|
|
3
|
-
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
1
|
+
import { type PropType, type Ref, type ComputedRef } from 'vue';
|
|
2
|
+
import { type MaybeArray, type ExtractPublicPropTypes } from '../../_utils';
|
|
4
3
|
export interface CheckboxGroupInjection {
|
|
5
4
|
checkedCountRef: ComputedRef<number>;
|
|
6
5
|
maxRef: Ref<number | undefined>;
|
package/lib/code/src/Code.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { Hljs } from '../../_mixins';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type Hljs } from '../../_mixins';
|
|
3
3
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
export declare const codeProps: {
|
|
5
5
|
language: StringConstructor;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { PropType, Ref, ExtractPropTypes, Slots } from 'vue';
|
|
2
|
-
import { ExtractPublicPropTypes } from '../../_utils';
|
|
3
|
-
import type {
|
|
4
|
-
import { OnItemHeaderClick, OnUpdateExpandedNames } from './interface';
|
|
1
|
+
import { type PropType, type Ref, type ExtractPropTypes, type Slots } from 'vue';
|
|
2
|
+
import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
3
|
+
import type { OnItemHeaderClick, OnUpdateExpandedNames } from './interface';
|
|
5
4
|
export declare const collapseProps: {
|
|
6
5
|
readonly defaultExpandedNames: {
|
|
7
6
|
readonly type: PropType<string | number | (string | number)[] | null>;
|
|
@@ -39,6 +38,7 @@ export declare const collapseProps: {
|
|
|
39
38
|
arrowColor: string;
|
|
40
39
|
arrowColorDisabled: string;
|
|
41
40
|
itemMargin: string;
|
|
41
|
+
titlePadding: string;
|
|
42
42
|
}, any>>;
|
|
43
43
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
44
44
|
titleFontSize: string;
|
|
@@ -51,6 +51,7 @@ export declare const collapseProps: {
|
|
|
51
51
|
arrowColor: string;
|
|
52
52
|
arrowColorDisabled: string;
|
|
53
53
|
itemMargin: string;
|
|
54
|
+
titlePadding: string;
|
|
54
55
|
}, any>>>;
|
|
55
56
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
56
57
|
titleFontSize: string;
|
|
@@ -63,6 +64,7 @@ export declare const collapseProps: {
|
|
|
63
64
|
arrowColor: string;
|
|
64
65
|
arrowColorDisabled: string;
|
|
65
66
|
itemMargin: string;
|
|
67
|
+
titlePadding: string;
|
|
66
68
|
}, any>>>;
|
|
67
69
|
};
|
|
68
70
|
export type CollapseProps = ExtractPublicPropTypes<typeof collapseProps>;
|
|
@@ -111,6 +113,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
113
|
arrowColor: string;
|
|
112
114
|
arrowColorDisabled: string;
|
|
113
115
|
itemMargin: string;
|
|
116
|
+
titlePadding: string;
|
|
114
117
|
}, any>>;
|
|
115
118
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
116
119
|
titleFontSize: string;
|
|
@@ -123,6 +126,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
126
|
arrowColor: string;
|
|
124
127
|
arrowColorDisabled: string;
|
|
125
128
|
itemMargin: string;
|
|
129
|
+
titlePadding: string;
|
|
126
130
|
}, any>>>;
|
|
127
131
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
128
132
|
titleFontSize: string;
|
|
@@ -135,6 +139,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
135
139
|
arrowColor: string;
|
|
136
140
|
arrowColorDisabled: string;
|
|
137
141
|
itemMargin: string;
|
|
142
|
+
titlePadding: string;
|
|
138
143
|
}, any>>>;
|
|
139
144
|
}, {
|
|
140
145
|
rtlEnabled: Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
@@ -255,6 +260,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
255
260
|
arrowColor: string;
|
|
256
261
|
arrowColorDisabled: string;
|
|
257
262
|
itemMargin: string;
|
|
263
|
+
titlePadding: string;
|
|
258
264
|
};
|
|
259
265
|
peers: any;
|
|
260
266
|
peerOverrides: {
|
|
@@ -267,6 +273,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
267
273
|
'--n-bezier': string;
|
|
268
274
|
'--n-text-color': string;
|
|
269
275
|
'--n-divider-color': string;
|
|
276
|
+
'--n-title-padding': string;
|
|
270
277
|
'--n-title-font-size': string;
|
|
271
278
|
'--n-title-text-color': string;
|
|
272
279
|
'--n-title-text-color-disabled': string;
|
|
@@ -314,6 +321,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
314
321
|
arrowColor: string;
|
|
315
322
|
arrowColorDisabled: string;
|
|
316
323
|
itemMargin: string;
|
|
324
|
+
titlePadding: string;
|
|
317
325
|
}, any>>;
|
|
318
326
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
319
327
|
titleFontSize: string;
|
|
@@ -326,6 +334,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
326
334
|
arrowColor: string;
|
|
327
335
|
arrowColorDisabled: string;
|
|
328
336
|
itemMargin: string;
|
|
337
|
+
titlePadding: string;
|
|
329
338
|
}, any>>>;
|
|
330
339
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
331
340
|
titleFontSize: string;
|
|
@@ -338,6 +347,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
338
347
|
arrowColor: string;
|
|
339
348
|
arrowColorDisabled: string;
|
|
340
349
|
itemMargin: string;
|
|
350
|
+
titlePadding: string;
|
|
341
351
|
}, any>>>;
|
|
342
352
|
}>>, {
|
|
343
353
|
readonly displayDirective: "show" | "if";
|
|
@@ -107,12 +107,13 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
107
107
|
});
|
|
108
108
|
const rtlEnabledRef = (0, use_rtl_1.useRtl)('Collapse', mergedRtlRef, mergedClsPrefixRef);
|
|
109
109
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
110
|
-
const { common: { cubicBezierEaseInOut }, self: { titleFontWeight, dividerColor, titleTextColor, titleTextColorDisabled, textColor, arrowColor, fontSize, titleFontSize, arrowColorDisabled, itemMargin } } = themeRef.value;
|
|
110
|
+
const { common: { cubicBezierEaseInOut }, self: { titleFontWeight, dividerColor, titlePadding, titleTextColor, titleTextColorDisabled, textColor, arrowColor, fontSize, titleFontSize, arrowColorDisabled, itemMargin } } = themeRef.value;
|
|
111
111
|
return {
|
|
112
112
|
'--n-font-size': fontSize,
|
|
113
113
|
'--n-bezier': cubicBezierEaseInOut,
|
|
114
114
|
'--n-text-color': textColor,
|
|
115
115
|
'--n-divider-color': dividerColor,
|
|
116
|
+
'--n-title-padding': titlePadding,
|
|
116
117
|
'--n-title-font-size': titleFontSize,
|
|
117
118
|
'--n-title-text-color': titleTextColor,
|
|
118
119
|
'--n-title-text-color-disabled': titleTextColorDisabled,
|
|
@@ -10,6 +10,7 @@ const fade_in_height_expand_cssr_1 = require("../../../_styles/transitions/fade-
|
|
|
10
10
|
// --n-bezier
|
|
11
11
|
// --n-text-color
|
|
12
12
|
// --n-divider-color
|
|
13
|
+
// --n-title-padding
|
|
13
14
|
// --n-title-font-size
|
|
14
15
|
// --n-title-text-color
|
|
15
16
|
// --n-title-font-weight
|
|
@@ -37,7 +38,7 @@ exports.default = (0, cssr_1.cB)('collapse', 'width: 100%;', [(0, cssr_1.cB)('co
|
|
|
37
38
|
align-items: center;
|
|
38
39
|
transition: color .3s var(--n-bezier);
|
|
39
40
|
position: relative;
|
|
40
|
-
padding:
|
|
41
|
+
padding: var(--n-title-padding);
|
|
41
42
|
color: var(--n-title-text-color);
|
|
42
43
|
cursor: pointer;
|
|
43
44
|
`, [(0, cssr_1.cE)('header-main', `
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../_styles/common';
|
|
2
|
-
import { Theme } from '../../_mixins/use-theme';
|
|
2
|
+
import type { Theme } from '../../_mixins/use-theme';
|
|
3
3
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
4
|
titleFontSize: string;
|
|
5
5
|
titleFontWeight: string;
|
|
@@ -11,6 +11,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
11
11
|
arrowColor: string;
|
|
12
12
|
arrowColorDisabled: string;
|
|
13
13
|
itemMargin: string;
|
|
14
|
+
titlePadding: string;
|
|
14
15
|
};
|
|
15
16
|
export type CollapseThemeVars = ReturnType<typeof self>;
|
|
16
17
|
declare const collapseLight: Theme<'Collapse', CollapseThemeVars>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HSVA, HSLA, RGBA } from 'seemly';
|
|
2
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { type HSVA, type HSLA, type RGBA } from 'seemly';
|
|
2
|
+
import { type PropType } from 'vue';
|
|
3
3
|
import type { ColorPickerMode } from './utils';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
clsPrefix: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PropType, VNode, Ref } from 'vue';
|
|
2
|
-
import { RGBA, HSLA } from 'seemly';
|
|
3
|
-
import { FollowerPlacement } from 'vueuc';
|
|
1
|
+
import { type PropType, type VNode, type Ref } from 'vue';
|
|
2
|
+
import { type RGBA, type HSLA } from 'seemly';
|
|
3
|
+
import { type FollowerPlacement } from 'vueuc';
|
|
4
4
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
5
5
|
import type { ColorPickerMode, ActionType } from './utils';
|
|
6
|
-
import { OnUpdateValue, RenderLabel } from './interface';
|
|
6
|
+
import type { OnUpdateValue, RenderLabel } from './interface';
|
|
7
7
|
export declare const colorPickerProps: {
|
|
8
8
|
readonly value: PropType<string | null>;
|
|
9
9
|
readonly show: {
|
|
@@ -391,9 +391,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
391
391
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-color-picker-preview__sliders` },
|
|
392
392
|
(0, vue_1.h)(HueSlider_1.default, { clsPrefix: mergedClsPrefix, hue: displayedHue, onUpdateHue: handleUpdateHue, onComplete: handleComplete }),
|
|
393
393
|
props.showAlpha ? ((0, vue_1.h)(AlphaSlider_1.default, { clsPrefix: mergedClsPrefix, rgba: rgba, alpha: displayedAlphaRef.value, onUpdateAlpha: handleUpdateAlpha, onComplete: handleComplete })) : null),
|
|
394
|
-
props.showPreview ? ((0, vue_1.h)(ColorPreview_1.default, { clsPrefix: mergedClsPrefix, mode: displayedModeRef.value, color: rgbaRef.value && (0, seemly_1.toHexString)(rgbaRef.value), onUpdateColor: (color) => doUpdateValue(color, 'input') })) : null),
|
|
394
|
+
props.showPreview ? ((0, vue_1.h)(ColorPreview_1.default, { clsPrefix: mergedClsPrefix, mode: displayedModeRef.value, color: rgbaRef.value && (0, seemly_1.toHexString)(rgbaRef.value), onUpdateColor: (color) => { doUpdateValue(color, 'input'); } })) : null),
|
|
395
395
|
(0, vue_1.h)(ColorInput_1.default, { clsPrefix: mergedClsPrefix, showAlpha: props.showAlpha, mode: displayedModeRef.value, modes: modes, onUpdateMode: handleUpdateDisplayedMode, value: mergedValueRef.value, valueArr: mergedValueArrRef.value, onUpdateValue: handleInputUpdateValue }),
|
|
396
|
-
((_a = props.swatches) === null || _a === void 0 ? void 0 : _a.length) && ((0, vue_1.h)(ColorPickerSwatches_1.default, { clsPrefix: mergedClsPrefix, mode: displayedModeRef.value, swatches: props.swatches, onUpdateColor: (color) => doUpdateValue(color, 'input') }))),
|
|
396
|
+
((_a = props.swatches) === null || _a === void 0 ? void 0 : _a.length) && ((0, vue_1.h)(ColorPickerSwatches_1.default, { clsPrefix: mergedClsPrefix, mode: displayedModeRef.value, swatches: props.swatches, onUpdateColor: (color) => { doUpdateValue(color, 'input'); } }))),
|
|
397
397
|
(actions === null || actions === void 0 ? void 0 : actions.length) ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-color-picker-action` },
|
|
398
398
|
actions.includes('confirm') && ((0, vue_1.h)(button_1.NButton, { size: "small", onClick: handleConfirm, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button }, { default: () => localeRef.value.confirm })),
|
|
399
399
|
actions.includes('clear') && ((0, vue_1.h)(button_1.NButton, { size: "small", onClick: handleClear, disabled: !mergedValueRef.value, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button }, { default: () => localeRef.value.clear })))) : null,
|
|
@@ -86,7 +86,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
86
86
|
},
|
|
87
87
|
render() {
|
|
88
88
|
const { clsPrefix } = this;
|
|
89
|
-
return ((0, vue_1.h)("div", { class: `${clsPrefix}-color-picker-swatches` }, this.parsedSwatchesRef.map((swatch) => ((0, vue_1.h)("div", { class: `${clsPrefix}-color-picker-swatch`, tabindex: 0, onClick: () => this.handleSwatchSelect(swatch), onKeydown: (e) => this.handleSwatchKeyDown(e, swatch) },
|
|
89
|
+
return ((0, vue_1.h)("div", { class: `${clsPrefix}-color-picker-swatches` }, this.parsedSwatchesRef.map((swatch) => ((0, vue_1.h)("div", { class: `${clsPrefix}-color-picker-swatch`, tabindex: 0, onClick: () => { this.handleSwatchSelect(swatch); }, onKeydown: (e) => { this.handleSwatchKeyDown(e, swatch); } },
|
|
90
90
|
(0, vue_1.h)("div", { class: `${clsPrefix}-color-picker-swatch__fill`, style: { background: swatch.legalValue } }))))));
|
|
91
91
|
}
|
|
92
92
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
2
|
import type { ThemeCommonVars } from '../_styles/common';
|
|
3
3
|
import type { CustomThemeCommonVars } from '../config-provider';
|
|
4
4
|
export declare function useThemeVars(): ComputedRef<ThemeCommonVars & CustomThemeCommonVars>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType, ComputedRef, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { Hljs } from '../../_mixins';
|
|
3
|
-
import { NDateLocale } from '../../locales';
|
|
1
|
+
import { type PropType, type ComputedRef, type ExtractPropTypes } from 'vue';
|
|
2
|
+
import { type Hljs } from '../../_mixins';
|
|
3
|
+
import type { NDateLocale } from '../../locales';
|
|
4
4
|
import type { GlobalTheme, GlobalThemeOverrides, GlobalComponentConfig, GlobalIconConfig } from './interface';
|
|
5
5
|
import type { RtlProp, Breakpoints } from './internal-interface';
|
|
6
6
|
export declare const configProviderProps: {
|
|
@@ -57,7 +57,7 @@ export declare const configProviderProps: {
|
|
|
57
57
|
startMonthPlaceholder: string;
|
|
58
58
|
endMonthPlaceholder: string;
|
|
59
59
|
monthBeforeYear: boolean;
|
|
60
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
60
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
61
61
|
today: string;
|
|
62
62
|
};
|
|
63
63
|
DataTable: {
|
|
@@ -209,7 +209,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
209
209
|
startMonthPlaceholder: string;
|
|
210
210
|
endMonthPlaceholder: string;
|
|
211
211
|
monthBeforeYear: boolean;
|
|
212
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
212
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
213
213
|
today: string;
|
|
214
214
|
};
|
|
215
215
|
DataTable: {
|
|
@@ -365,7 +365,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
365
365
|
startMonthPlaceholder: string;
|
|
366
366
|
endMonthPlaceholder: string;
|
|
367
367
|
monthBeforeYear: boolean;
|
|
368
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
368
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
369
369
|
today: string;
|
|
370
370
|
};
|
|
371
371
|
DataTable: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VNodeChild, Ref } from 'vue';
|
|
2
|
-
import { CNode } from 'css-render';
|
|
1
|
+
import type { VNodeChild, Ref } from 'vue';
|
|
2
|
+
import type { CNode } from 'css-render';
|
|
3
3
|
import type { AlertTheme } from '../../alert/styles';
|
|
4
4
|
import type { AnchorTheme } from '../../anchor/styles';
|
|
5
5
|
import type { AutoCompleteTheme } from '../../auto-complete/styles';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import katex from 'katex';
|
|
1
|
+
import type katex from 'katex';
|
|
2
2
|
export type Katex = typeof katex;
|