naive-ui 2.34.2 → 2.34.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/README.zh-CN.md +3 -2
- package/dist/index.js +37441 -38587
- package/dist/index.prod.js +2 -2
- package/es/_internal/clear/src/Clear.d.ts +1 -1
- package/es/_internal/close/src/Close.d.ts +1 -1
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/es/_internal/icon/src/Icon.d.ts +1 -1
- package/es/_internal/loading/src/Loading.d.ts +2 -2
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +5 -5
- package/es/_internal/scrollbar/styles/light.d.ts +2 -2
- package/es/_internal/scrollbar/styles/rtl.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +3 -3
- package/es/_internal/select-menu/src/SelectMenu.d.ts +2 -2
- package/es/_internal/select-menu/src/SelectOption.d.ts +3 -3
- package/es/_internal/select-menu/src/interface.d.ts +9 -9
- package/es/_internal/select-menu/styles/light.d.ts +2 -2
- package/es/_internal/selection/src/Selection.d.ts +1 -1
- package/es/_internal/selection/src/Selection.js +2 -2
- package/es/_internal/selection/src/interface.d.ts +2 -2
- package/es/_internal/selection/styles/light.d.ts +2 -2
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/es/_internal/suffix/src/Suffix.d.ts +1 -1
- package/es/_mixins/use-config.d.ts +2 -2
- package/es/_mixins/use-css-vars-class.d.ts +1 -1
- package/es/_mixins/use-form-item.d.ts +3 -3
- package/es/_mixins/use-hljs.d.ts +1 -1
- package/es/_mixins/use-locale.d.ts +1 -1
- package/es/_mixins/use-rtl.d.ts +2 -2
- package/es/_mixins/use-style.d.ts +2 -2
- package/es/_mixins/use-theme.d.ts +10 -10
- package/es/_styles/common/light.d.ts +1 -1
- package/es/_styles/transitions/fade-down.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/icon-switch.cssr.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-left.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-right.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-top.d.ts +1 -1
- package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/es/_utils/composable/use-browser-location.d.ts +1 -1
- package/es/_utils/composable/use-browser-location.js +1 -2
- package/es/_utils/composable/use-collection.d.ts +1 -1
- package/es/_utils/composable/use-deferred-true.d.ts +1 -1
- package/es/_utils/composable/use-is-composing.d.ts +1 -1
- package/es/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/es/_utils/composable/use-resize.d.ts +1 -1
- package/es/_utils/cssr/create-key.d.ts +3 -3
- package/es/_utils/cssr/index.d.ts +1 -1
- package/es/_utils/env/is-native-lazy-load.d.ts +1 -1
- package/es/_utils/env/is-native-lazy-load.js +2 -3
- package/es/_utils/naive/attribute.d.ts +1 -1
- package/es/_utils/naive/extract-public-props.d.ts +6 -6
- package/es/_utils/naive/mutable.d.ts +1 -1
- package/es/_utils/naive/prop.d.ts +1 -1
- package/es/_utils/vue/call.d.ts +1 -1
- package/es/_utils/vue/create-injection-key.d.ts +1 -1
- package/es/_utils/vue/create-ref-setter.d.ts +1 -1
- package/es/_utils/vue/flatten.d.ts +1 -1
- package/es/_utils/vue/get-first-slot-vnode.d.ts +1 -1
- package/es/_utils/vue/get-slot.d.ts +1 -1
- package/es/_utils/vue/get-v-node-children.d.ts +1 -1
- package/es/_utils/vue/is-node-v-show-false.d.ts +1 -1
- package/es/_utils/vue/keysOf.d.ts +1 -1
- package/es/_utils/vue/omit.d.ts +1 -1
- package/es/_utils/vue/render.d.ts +1 -1
- package/es/_utils/vue/resolve-slot.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +2 -2
- package/es/affix/src/utils.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +2 -2
- package/es/alert/styles/light.d.ts +2 -2
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.js +1 -1
- package/es/anchor/src/Link.d.ts +3 -3
- package/es/anchor/src/utils.d.ts +1 -1
- package/es/anchor/styles/light.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +7 -8
- package/es/auto-complete/src/interface.d.ts +6 -6
- package/es/auto-complete/src/utils.d.ts +2 -2
- package/es/auto-complete/styles/light.d.ts +2 -2
- package/es/avatar/src/Avatar.d.ts +3 -3
- package/es/avatar/src/Avatar.js +7 -1
- package/es/avatar/src/interface.d.ts +2 -2
- package/es/avatar/styles/light.d.ts +3 -3
- package/es/avatar-group/src/AvatarGroup.d.ts +3 -3
- package/es/avatar-group/styles/light.d.ts +2 -2
- package/es/avatar-group/styles/rtl.d.ts +1 -1
- package/es/back-top/src/BackTop.d.ts +2 -2
- package/es/back-top/styles/light.d.ts +2 -2
- package/es/badge/src/Badge.d.ts +8 -2
- package/es/badge/src/Badge.js +16 -4
- package/es/badge/styles/light.d.ts +3 -3
- package/es/badge/styles/rtl.d.ts +1 -1
- package/es/breadcrumb/src/Breadcrumb.d.ts +3 -3
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
- package/es/breadcrumb/styles/light.d.ts +2 -2
- package/es/button/src/Button.d.ts +6 -6
- package/es/button/src/interface.d.ts +2 -2
- package/es/button/styles/light.d.ts +2 -2
- package/es/button/styles/rtl.d.ts +1 -1
- package/es/button-group/src/ButtonGroup.d.ts +2 -2
- package/es/button-group/src/styles/index.cssr.d.ts +1 -1
- package/es/button-group/src/styles/rtl.cssr.d.ts +1 -1
- package/es/button-group/styles/light.d.ts +1 -1
- package/es/button-group/styles/rtl.d.ts +1 -1
- package/es/calendar/src/Calendar.d.ts +3 -3
- package/es/calendar/src/interface.d.ts +2 -2
- package/es/calendar/styles/light.d.ts +2 -2
- package/es/card/src/Card.d.ts +24 -19
- package/es/card/src/Card.js +8 -7
- package/es/card/styles/light.d.ts +3 -3
- package/es/card/styles/rtl.d.ts +1 -1
- package/es/carousel/src/Carousel.d.ts +2 -2
- package/es/carousel/src/Carousel.js +2 -2
- package/es/carousel/src/CarouselContext.js +1 -1
- package/es/carousel/src/CarouselDots.d.ts +1 -1
- package/es/carousel/src/CarouselDots.js +1 -1
- package/es/carousel/src/CarouselItem.js +4 -3
- package/es/carousel/src/interface.d.ts +1 -1
- package/es/carousel/src/utils/index.d.ts +1 -1
- package/es/carousel/styles/light.d.ts +3 -3
- package/es/cascader/src/Cascader.d.ts +21 -11
- package/es/cascader/src/CascaderMenu.d.ts +4 -3
- package/es/cascader/src/CascaderOption.d.ts +3 -2
- package/es/cascader/src/CascaderSelectMenu.d.ts +4 -3
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -2
- package/es/cascader/src/interface.d.ts +13 -13
- package/es/cascader/styles/light.d.ts +3 -2
- package/es/checkbox/src/Checkbox.d.ts +14 -3
- package/es/checkbox/src/Checkbox.js +2 -1
- package/es/checkbox/src/CheckboxGroup.d.ts +3 -4
- package/es/checkbox/src/interface.d.ts +2 -2
- package/es/checkbox/src/styles/index.cssr.js +1 -0
- package/es/checkbox/styles/_common.d.ts +1 -0
- package/es/checkbox/styles/_common.js +2 -1
- package/es/checkbox/styles/light.d.ts +3 -2
- package/es/code/src/Code.d.ts +3 -3
- package/es/code/styles/light.d.ts +3 -3
- package/es/collapse/src/Collapse.d.ts +15 -5
- package/es/collapse/src/Collapse.js +2 -1
- package/es/collapse/src/CollapseItem.d.ts +2 -2
- package/es/collapse/src/CollapseItemContent.d.ts +1 -1
- package/es/collapse/src/interface.d.ts +4 -4
- package/es/collapse/src/styles/index.cssr.js +2 -1
- package/es/collapse/styles/light.d.ts +4 -3
- package/es/collapse/styles/light.js +2 -1
- package/es/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/es/collapse-transition/styles/light.d.ts +3 -3
- package/es/color-picker/src/AlphaSlider.d.ts +2 -2
- package/es/color-picker/src/ColorInput.d.ts +2 -2
- package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +5 -5
- package/es/color-picker/src/ColorPicker.js +2 -2
- package/es/color-picker/src/ColorPickerSwatches.d.ts +2 -2
- package/es/color-picker/src/ColorPickerSwatches.js +1 -1
- package/es/color-picker/src/ColorPickerTrigger.d.ts +2 -2
- package/es/color-picker/src/ColorPreview.d.ts +2 -2
- package/es/color-picker/src/HueSlider.d.ts +1 -1
- package/es/color-picker/src/Pallete.d.ts +2 -2
- package/es/color-picker/src/context.d.ts +1 -1
- package/es/color-picker/src/interface.d.ts +6 -6
- package/es/color-picker/src/utils.d.ts +2 -2
- package/es/color-picker/styles/light.d.ts +2 -2
- package/es/composables/use-theme-vars.d.ts +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +7 -7
- package/es/config-provider/src/interface.d.ts +1 -1
- package/es/config-provider/src/internal-interface.d.ts +5 -7
- package/es/config-provider/src/katex.d.ts +2 -2
- package/es/countdown/src/Countdown.d.ts +2 -2
- package/es/create.d.ts +2 -2
- package/es/data-table/src/DataTable.d.ts +16 -2
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -4
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +9 -6
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
- package/es/data-table/src/HeaderButton/RenderSorter.d.ts +2 -2
- package/es/data-table/src/HeaderButton/SortButton.d.ts +4 -4
- package/es/data-table/src/TableParts/Body.d.ts +5 -3
- package/es/data-table/src/TableParts/Body.js +4 -2
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
- package/es/data-table/src/TableParts/BodyRadio.d.ts +2 -2
- package/es/data-table/src/TableParts/Cell.d.ts +8 -4
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +4 -3
- package/es/data-table/src/TableParts/ExpandTrigger.js +3 -1
- package/es/data-table/src/TableParts/Header.d.ts +3 -1
- package/es/data-table/src/TableParts/Header.js +4 -2
- package/es/data-table/src/interface.d.ts +61 -57
- package/es/data-table/src/styles/index.cssr.d.ts +1 -1
- package/es/data-table/src/use-check.d.ts +2 -2
- package/es/data-table/src/use-expand.d.ts +2 -2
- package/es/data-table/src/use-group-header.d.ts +1 -1
- package/es/data-table/src/use-scroll.d.ts +1 -1
- package/es/data-table/src/use-sorter.d.ts +1 -1
- package/es/data-table/src/use-table-data.d.ts +2 -2
- package/es/data-table/src/utils.d.ts +1 -1
- package/es/data-table/styles/light.d.ts +4 -2
- package/es/date-picker/src/DatePicker.d.ts +5 -5
- package/es/date-picker/src/DatePicker.js +2 -2
- package/es/date-picker/src/config.d.ts +1 -1
- package/es/date-picker/src/interface.d.ts +25 -25
- package/es/date-picker/src/panel/date.d.ts +4 -4
- package/es/date-picker/src/panel/date.js +1 -1
- package/es/date-picker/src/panel/daterange.d.ts +1 -1
- package/es/date-picker/src/panel/daterange.js +2 -2
- package/es/date-picker/src/panel/datetime.d.ts +1 -1
- package/es/date-picker/src/panel/datetime.js +1 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +1 -1
- package/es/date-picker/src/panel/datetimerange.js +4 -4
- package/es/date-picker/src/panel/month.d.ts +2 -2
- package/es/date-picker/src/panel/month.js +1 -1
- package/es/date-picker/src/panel/monthrange.d.ts +2 -2
- package/es/date-picker/src/panel/panelHeader.d.ts +3 -3
- package/es/date-picker/src/panel/use-calendar.d.ts +3 -3
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +6 -6
- package/es/date-picker/src/panel/use-panel-common.d.ts +4 -4
- package/es/date-picker/src/utils.d.ts +1 -1
- package/es/date-picker/src/validation-utils.d.ts +1 -1
- package/es/date-picker/styles/light.d.ts +2 -2
- package/es/descriptions/src/Descriptions.d.ts +3 -3
- package/es/descriptions/src/DescriptionsItem.d.ts +2 -2
- package/es/descriptions/src/utils.d.ts +1 -1
- package/es/descriptions/styles/light.d.ts +4 -4
- package/es/dialog/src/DialogEnvironment.d.ts +1 -1
- package/es/dialog/src/DialogProvider.d.ts +10 -10
- package/es/dialog/src/DialogProvider.js +1 -1
- package/es/dialog/src/composables.d.ts +1 -1
- package/es/dialog/src/dialogProps.d.ts +2 -2
- package/es/dialog/src/interface.d.ts +1 -1
- package/es/dialog/styles/light.d.ts +2 -2
- package/es/discrete/src/InjectionExtractor.d.ts +1 -1
- package/es/discrete/src/discrete.d.ts +2 -2
- package/es/discrete/src/discreteApp.d.ts +9 -9
- package/es/discrete/src/interface.d.ts +13 -13
- package/es/divider/src/Divider.d.ts +2 -2
- package/es/divider/styles/light.d.ts +2 -2
- package/es/drawer/src/Drawer.d.ts +3 -3
- package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/es/drawer/src/DrawerContent.d.ts +2 -2
- package/es/drawer/src/interface.d.ts +2 -2
- package/es/drawer/styles/light.d.ts +2 -2
- package/es/dropdown/src/Dropdown.d.ts +8 -8
- package/es/dropdown/src/DropdownGroup.d.ts +2 -2
- package/es/dropdown/src/DropdownMenu.d.ts +2 -2
- package/es/dropdown/src/DropdownOption.d.ts +3 -3
- package/es/dropdown/src/DropdownRenderOption.d.ts +2 -2
- package/es/dropdown/src/interface.d.ts +23 -23
- package/es/dropdown/styles/light.d.ts +2 -2
- package/es/dynamic-input/src/DynamicInput.d.ts +6 -2
- package/es/dynamic-input/src/DynamicInput.js +38 -29
- package/es/dynamic-input/src/InputPreset.d.ts +4 -1
- package/es/dynamic-input/src/InputPreset.js +3 -2
- package/es/dynamic-input/src/PairPreset.d.ts +4 -1
- package/es/dynamic-input/src/PairPreset.js +4 -3
- package/es/dynamic-input/src/interface.d.ts +2 -2
- package/es/dynamic-input/styles/dark.d.ts +1 -1
- package/es/dynamic-input/styles/light.d.ts +2 -2
- package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/es/dynamic-tags/src/DynamicTags.js +1 -1
- package/es/dynamic-tags/src/interface.d.ts +3 -3
- package/es/dynamic-tags/styles/light.d.ts +1 -1
- package/es/element/src/Element.d.ts +10 -10
- package/es/element/styles/dark.d.ts +1 -1
- package/es/element/styles/light.d.ts +2 -2
- package/es/ellipsis/src/Ellipsis.d.ts +2 -2
- package/es/ellipsis/src/Ellipsis.js +7 -1
- package/es/ellipsis/styles/dark.d.ts +1 -1
- package/es/ellipsis/styles/light.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +2 -2
- package/es/empty/styles/light.d.ts +2 -2
- package/es/equation/src/Equation.d.ts +2 -2
- package/es/equation/styles/light.d.ts +2 -2
- package/es/form/src/Form.d.ts +13 -4
- package/es/form/src/Form.js +2 -2
- package/es/form/src/FormItem.d.ts +16 -6
- package/es/form/src/FormItem.js +3 -2
- package/es/form/src/FormItemCol.d.ts +12 -3
- package/es/form/src/FormItemCol.js +1 -1
- package/es/form/src/FormItemGridItem.d.ts +12 -3
- package/es/form/src/FormItemGridItem.js +1 -1
- package/es/form/src/FormItemRow.d.ts +11 -2
- package/es/form/src/FormItemRow.js +1 -1
- package/es/form/src/interface.d.ts +22 -22
- package/es/form/src/styles/form-item.cssr.js +1 -0
- package/es/form/src/utils.d.ts +1 -1
- package/es/form/styles/_common.d.ts +1 -0
- package/es/form/styles/_common.js +2 -1
- package/es/form/styles/light.d.ts +3 -2
- package/es/gradient-text/src/GradientText.d.ts +3 -3
- package/es/gradient-text/styles/dark.d.ts +1 -1
- package/es/gradient-text/styles/light.d.ts +2 -2
- package/es/grid/src/Grid.d.ts +5 -5
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/icon/src/Icon.d.ts +6 -6
- package/es/icon/styles/light.d.ts +2 -2
- package/es/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/es/icon-wrapper/src/IconWrapper.js +1 -1
- package/es/icon-wrapper/styles/light.d.ts +2 -2
- package/es/image/src/Image.d.ts +2 -2
- package/es/image/src/Image.js +23 -21
- package/es/image/src/ImageGroup.d.ts +3 -3
- package/es/image/src/ImageGroup.js +2 -2
- package/es/image/src/ImagePreview.d.ts +1 -1
- package/es/image/src/ImagePreview.js +5 -4
- package/es/image/src/interface.d.ts +1 -1
- package/es/image/src/utils.d.ts +2 -2
- package/es/image/styles/light.d.ts +2 -2
- package/es/input/src/Input.d.ts +3 -4
- package/es/input/src/Input.js +3 -3
- package/es/input/src/InputGroup.d.ts +1 -1
- package/es/input/src/InputGroupLabel.d.ts +2 -2
- package/es/input/src/interface.d.ts +5 -5
- package/es/input/src/styles/input.cssr.js +4 -3
- package/es/input/styles/light.d.ts +2 -2
- package/es/input-number/src/InputNumber.d.ts +3 -3
- package/es/input-number/src/interface.d.ts +2 -2
- package/es/input-number/styles/light.d.ts +2 -2
- package/es/layout/src/Layout.d.ts +2 -2
- package/es/layout/src/LayoutFooter.d.ts +1 -1
- package/es/layout/src/LayoutHeader.d.ts +2 -2
- package/es/layout/src/LayoutSider.d.ts +2 -2
- package/es/layout/src/ToggleBar.d.ts +1 -1
- package/es/layout/src/ToggleButton.d.ts +1 -1
- package/es/layout/src/interface.d.ts +2 -2
- package/es/layout/styles/light.d.ts +2 -2
- package/es/legacy-grid/src/Col.d.ts +4 -4
- package/es/legacy-grid/src/Row.d.ts +3 -3
- package/es/legacy-grid/src/interface.d.ts +1 -1
- package/es/legacy-grid/styles/dark.d.ts +1 -1
- package/es/legacy-grid/styles/light.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +15 -6
- package/es/legacy-transfer/src/TransferFilter.d.ts +2 -1
- package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/es/legacy-transfer/src/TransferList.d.ts +3 -2
- package/es/legacy-transfer/src/TransferListItem.d.ts +1 -0
- package/es/legacy-transfer/src/interface.d.ts +4 -4
- package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/es/legacy-transfer/styles/light.d.ts +3 -2
- package/es/list/src/List.d.ts +3 -3
- package/es/list/styles/light.d.ts +3 -3
- package/es/loading-bar/src/LoadingBar.d.ts +1 -1
- package/es/loading-bar/src/LoadingBarProvider.d.ts +6 -6
- package/es/loading-bar/src/context.d.ts +1 -1
- package/es/loading-bar/styles/light.d.ts +2 -2
- package/es/locales/common/enUS.d.ts +2 -2
- package/es/locales/common/faIR.d.ts +3 -0
- package/es/locales/common/faIR.js +120 -0
- package/es/locales/common/idID.js +17 -17
- package/es/locales/common/koKR.js +9 -9
- package/es/locales/common/trTR.js +1 -1
- package/es/locales/common/zhTW.js +14 -17
- package/es/locales/date/arDZ.d.ts +1 -1
- package/es/locales/date/deDE.d.ts +1 -1
- package/es/locales/date/enGB.d.ts +1 -1
- package/es/locales/date/enUS.d.ts +1 -1
- package/es/locales/date/eo.d.ts +1 -1
- package/es/locales/date/esAR.d.ts +1 -1
- package/es/locales/date/faIR.d.ts +3 -0
- package/es/locales/date/faIR.js +6 -0
- package/es/locales/date/frFR.d.ts +1 -1
- package/es/locales/date/idID.d.ts +1 -1
- package/es/locales/date/itIT.d.ts +1 -1
- package/es/locales/date/jaJP.d.ts +1 -1
- package/es/locales/date/koKR.d.ts +1 -1
- package/es/locales/date/nbNO.d.ts +1 -1
- package/es/locales/date/nlNL.d.ts +1 -1
- package/es/locales/date/plPL.d.ts +1 -1
- package/es/locales/date/ptBR.d.ts +1 -1
- package/es/locales/date/ruRU.d.ts +1 -1
- package/es/locales/date/skSK.d.ts +1 -1
- package/es/locales/date/thTH.d.ts +1 -1
- package/es/locales/date/trTR.d.ts +1 -1
- package/es/locales/date/ukUA.d.ts +1 -1
- package/es/locales/date/viVN.d.ts +1 -1
- package/es/locales/date/zhCN.d.ts +1 -1
- package/es/locales/date/zhTW.d.ts +1 -1
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.js +2 -0
- package/es/locales/utils/index.d.ts +2 -2
- package/es/log/src/Log.d.ts +3 -3
- package/es/log/styles/light.d.ts +2 -2
- package/es/mention/src/Mention.d.ts +6 -6
- package/es/mention/src/interface.d.ts +1 -1
- package/es/mention/styles/light.d.ts +2 -2
- package/es/menu/src/Menu.d.ts +11 -11
- package/es/menu/src/Menu.js +1 -1
- package/es/menu/src/MenuOption.d.ts +2 -2
- package/es/menu/src/MenuOptionContent.d.ts +2 -2
- package/es/menu/src/MenuOptionGroup.d.ts +2 -2
- package/es/menu/src/Submenu.d.ts +2 -2
- package/es/menu/src/Submenu.js +2 -2
- package/es/menu/src/interface.d.ts +13 -13
- package/es/menu/src/styles/index.cssr.d.ts +1 -1
- package/es/menu/src/use-menu-child-props.d.ts +3 -3
- package/es/menu/src/use-menu-child.d.ts +3 -3
- package/es/menu/src/utils.d.ts +2 -2
- package/es/menu/styles/light.d.ts +2 -2
- package/es/message/src/Message.d.ts +1 -1
- package/es/message/src/MessageEnvironment.d.ts +1 -1
- package/es/message/src/MessageProvider.d.ts +6 -8
- package/es/message/src/context.d.ts +1 -1
- package/es/message/src/message-props.d.ts +5 -5
- package/es/message/src/types.d.ts +4 -4
- package/es/message/styles/light.d.ts +3 -3
- package/es/message/styles/rtl.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +11 -2
- package/es/modal/src/Modal.d.ts +15 -2
- package/es/modal/src/interface.d.ts +2 -2
- package/es/modal/src/presetProps.d.ts +5 -1
- package/es/modal/styles/light.d.ts +2 -2
- package/es/notification/src/Notification.d.ts +1 -1
- package/es/notification/src/NotificationContainer.d.ts +1 -1
- package/es/notification/src/NotificationEnvironment.d.ts +5 -2
- package/es/notification/src/NotificationProvider.d.ts +10 -10
- package/es/notification/src/styles/index.cssr.d.ts +1 -1
- package/es/notification/src/styles/index.cssr.js +2 -0
- package/es/notification/styles/light.d.ts +2 -2
- package/es/notification/styles/rtl.d.ts +1 -1
- package/es/number-animation/src/NumberAnimation.d.ts +2 -2
- package/es/page-header/src/PageHeader.d.ts +2 -2
- package/es/page-header/styles/light.d.ts +2 -2
- package/es/pagination/src/Pagination.d.ts +10 -3
- package/es/pagination/src/Pagination.js +7 -5
- package/es/pagination/src/interface.d.ts +11 -10
- package/es/pagination/src/utils.d.ts +1 -1
- package/es/pagination/styles/light.d.ts +3 -3
- package/es/popconfirm/src/Popconfirm.d.ts +3 -3
- package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/es/popconfirm/src/interface.d.ts +2 -2
- package/es/popconfirm/styles/light.d.ts +3 -3
- package/es/popover/src/Popover.d.ts +4 -4
- package/es/popover/src/Popover.js +2 -3
- package/es/popover/src/PopoverBody.d.ts +2 -2
- package/es/popover/src/interface.d.ts +4 -4
- package/es/popover/src/styles/index.cssr.d.ts +1 -1
- package/es/popover/styles/light.d.ts +2 -2
- package/es/popselect/src/Popselect.d.ts +4 -4
- package/es/popselect/src/Popselect.js +3 -2
- package/es/popselect/src/PopselectPanel.d.ts +6 -6
- package/es/popselect/src/interface.d.ts +3 -3
- package/es/popselect/styles/light.d.ts +2 -2
- package/es/progress/src/Circle.d.ts +2 -2
- package/es/progress/src/Line.d.ts +2 -2
- package/es/progress/src/Line.js +3 -1
- package/es/progress/src/MultipleCircle.d.ts +1 -1
- package/es/progress/src/Progress.d.ts +4 -4
- package/es/progress/src/interface.d.ts +1 -1
- package/es/progress/styles/light.d.ts +2 -2
- package/es/radio/src/Radio.d.ts +8 -1
- package/es/radio/src/Radio.js +2 -1
- package/es/radio/src/RadioButton.d.ts +2 -2
- package/es/radio/src/RadioGroup.d.ts +12 -3
- package/es/radio/src/interface.d.ts +2 -2
- package/es/radio/src/styles/radio.cssr.js +1 -0
- package/es/radio/src/use-radio.d.ts +3 -3
- package/es/radio/styles/_common.d.ts +1 -0
- package/es/radio/styles/_common.js +2 -1
- package/es/radio/styles/light.d.ts +4 -3
- package/es/rate/src/Rate.d.ts +2 -2
- package/es/rate/src/Rate.js +1 -1
- package/es/rate/src/interface.d.ts +2 -2
- package/es/rate/styles/dark.d.ts +1 -1
- package/es/rate/styles/light.d.ts +3 -3
- package/es/result/src/Result.d.ts +2 -2
- package/es/result/styles/light.d.ts +2 -2
- package/es/scrollbar/src/Scrollbar.d.ts +6 -3
- package/es/scrollbar/src/Scrollbar.js +1 -1
- package/es/select/src/Select.d.ts +24 -7
- package/es/select/src/Select.js +12 -2
- package/es/select/src/interface.d.ts +14 -14
- package/es/select/src/utils.d.ts +1 -1
- package/es/select/styles/light.d.ts +2 -2
- package/es/skeleton/src/Skeleton.d.ts +2 -2
- package/es/skeleton/styles/dark.d.ts +1 -1
- package/es/skeleton/styles/light.d.ts +3 -3
- package/es/slider/src/Slider.d.ts +4 -4
- package/es/slider/src/Slider.js +4 -4
- package/es/slider/src/interface.d.ts +1 -1
- package/es/slider/src/utils.d.ts +4 -4
- package/es/slider/src/utils.js +1 -1
- package/es/slider/styles/light.d.ts +3 -3
- package/es/space/src/Space.d.ts +4 -4
- package/es/space/styles/light.d.ts +2 -2
- package/es/space/styles/rtl.d.ts +1 -1
- package/es/spin/src/Spin.d.ts +3 -3
- package/es/spin/styles/light.d.ts +3 -3
- package/es/statistic/src/Statistic.d.ts +1 -1
- package/es/statistic/styles/light.d.ts +3 -3
- package/es/statistic/styles/rtl.d.ts +1 -1
- package/es/steps/src/Step.d.ts +2 -2
- package/es/steps/src/Steps.d.ts +2 -2
- package/es/steps/styles/light.d.ts +2 -2
- package/es/steps/styles/rtl.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +2 -2
- package/es/switch/src/interface.d.ts +2 -2
- package/es/switch/styles/light.d.ts +2 -2
- package/es/table/src/Table.d.ts +2 -2
- package/es/table/styles/light.d.ts +3 -3
- package/es/table/styles/rtl.d.ts +1 -1
- package/es/tabs/src/Tab.d.ts +1 -1
- package/es/tabs/src/TabPane.d.ts +2 -2
- package/es/tabs/src/Tabs.d.ts +245 -5
- package/es/tabs/src/Tabs.js +113 -76
- package/es/tabs/src/interface.d.ts +9 -9
- package/es/tabs/src/styles/index.cssr.js +137 -25
- package/es/tabs/styles/_common.d.ts +24 -0
- package/es/tabs/styles/_common.js +27 -3
- package/es/tabs/styles/light.d.ts +27 -3
- package/es/tag/src/Tag.d.ts +2 -2
- package/es/tag/src/common-props.d.ts +1 -1
- package/es/tag/styles/light.d.ts +2 -2
- package/es/theme-editor/src/ThemeEditor.d.ts +2 -4
- package/es/theme-editor/src/ThemeEditor.js +1 -1
- package/es/themes/interface.d.ts +2 -2
- package/es/themes/utils.d.ts +3 -3
- package/es/thing/src/Thing.d.ts +2 -2
- package/es/thing/styles/light.d.ts +2 -2
- package/es/thing/styles/rtl.d.ts +1 -1
- package/es/time/src/Time.d.ts +3 -3
- package/es/time-picker/src/Panel.d.ts +3 -3
- package/es/time-picker/src/PanelCol.d.ts +2 -2
- package/es/time-picker/src/PanelCol.js +1 -1
- package/es/time-picker/src/TimePicker.d.ts +3 -3
- package/es/time-picker/src/interface.d.ts +11 -11
- package/es/time-picker/src/utils.d.ts +1 -1
- package/es/time-picker/styles/light.d.ts +2 -2
- package/es/timeline/src/Timeline.d.ts +4 -4
- package/es/timeline/src/TimelineItem.d.ts +2 -2
- package/es/timeline/styles/light.d.ts +2 -2
- package/es/tooltip/src/Tooltip.d.ts +2 -2
- package/es/tooltip/src/Tooltip.js +3 -2
- package/es/tooltip/styles/light.d.ts +2 -2
- package/es/transfer/src/Transfer.d.ts +16 -7
- package/es/transfer/src/TransferFilter.d.ts +2 -1
- package/es/transfer/src/TransferHeader.d.ts +1 -1
- package/es/transfer/src/TransferList.d.ts +3 -2
- package/es/transfer/src/TransferListItem.d.ts +3 -2
- package/es/transfer/src/interface.d.ts +7 -7
- package/es/transfer/src/use-transfer-data.d.ts +4 -4
- package/es/transfer/styles/light.d.ts +3 -2
- package/es/tree/src/MotionWrapper.d.ts +2 -2
- package/es/tree/src/Tree.d.ts +27 -15
- package/es/tree/src/Tree.js +40 -37
- package/es/tree/src/TreeNode.d.ts +3 -3
- package/es/tree/src/TreeNode.js +4 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +2 -1
- package/es/tree/src/TreeNodeCheckbox.js +3 -2
- package/es/tree/src/TreeNodeContent.d.ts +2 -2
- package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/es/tree/src/dnd.d.ts +2 -2
- package/es/tree/src/interface.d.ts +18 -18
- package/es/tree/src/keyboard.d.ts +3 -3
- package/es/tree/src/utils.d.ts +3 -3
- package/es/tree/styles/light.d.ts +3 -2
- package/es/tree-select/src/TreeSelect.d.ts +19 -8
- package/es/tree-select/src/TreeSelect.js +1 -1
- package/es/tree-select/src/interface.d.ts +14 -14
- package/es/tree-select/src/utils.d.ts +2 -2
- package/es/tree-select/styles/light.d.ts +3 -2
- package/es/typography/src/a.d.ts +1 -1
- package/es/typography/src/blockquote.d.ts +1 -1
- package/es/typography/src/create-header.d.ts +3 -3
- package/es/typography/src/ol.d.ts +1 -1
- package/es/typography/src/p.d.ts +2 -2
- package/es/typography/src/text.d.ts +2 -2
- package/es/typography/src/ul.d.ts +1 -1
- package/es/typography/styles/light.d.ts +2 -2
- package/es/upload/src/Upload.d.ts +2 -62
- package/es/upload/src/Upload.js +4 -7
- package/es/upload/src/UploadFile.d.ts +1 -1
- package/es/upload/src/UploadProgress.d.ts +1 -1
- package/es/upload/src/interface.d.ts +18 -18
- package/es/upload/src/utils.js +7 -9
- package/es/upload/styles/light.d.ts +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/src/Watermark.d.ts +3 -3
- package/es/watermark/styles/light.d.ts +1 -1
- package/lib/_internal/clear/src/Clear.d.ts +1 -1
- package/lib/_internal/close/src/Close.d.ts +1 -1
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/lib/_internal/icon/src/Icon.d.ts +1 -1
- package/lib/_internal/loading/src/Loading.d.ts +2 -2
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +5 -5
- package/lib/_internal/scrollbar/styles/light.d.ts +2 -2
- package/lib/_internal/scrollbar/styles/rtl.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +3 -3
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +2 -2
- package/lib/_internal/select-menu/src/SelectOption.d.ts +3 -3
- package/lib/_internal/select-menu/src/interface.d.ts +9 -9
- package/lib/_internal/select-menu/styles/light.d.ts +2 -2
- package/lib/_internal/selection/src/Selection.d.ts +1 -1
- package/lib/_internal/selection/src/Selection.js +2 -2
- package/lib/_internal/selection/src/interface.d.ts +2 -2
- package/lib/_internal/selection/styles/light.d.ts +2 -2
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
- package/lib/_mixins/use-config.d.ts +2 -2
- package/lib/_mixins/use-css-vars-class.d.ts +1 -1
- package/lib/_mixins/use-form-item.d.ts +3 -3
- package/lib/_mixins/use-hljs.d.ts +1 -1
- package/lib/_mixins/use-locale.d.ts +1 -1
- package/lib/_mixins/use-rtl.d.ts +2 -2
- package/lib/_mixins/use-style.d.ts +2 -2
- package/lib/_mixins/use-theme.d.ts +10 -10
- package/lib/_styles/common/light.d.ts +1 -1
- package/lib/_styles/transitions/fade-down.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/icon-switch.cssr.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-left.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-right.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-top.d.ts +1 -1
- package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/lib/_utils/composable/use-browser-location.d.ts +1 -1
- package/lib/_utils/composable/use-browser-location.js +1 -2
- package/lib/_utils/composable/use-collection.d.ts +1 -1
- package/lib/_utils/composable/use-deferred-true.d.ts +1 -1
- package/lib/_utils/composable/use-is-composing.d.ts +1 -1
- package/lib/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/lib/_utils/composable/use-resize.d.ts +1 -1
- package/lib/_utils/cssr/create-key.d.ts +3 -3
- package/lib/_utils/cssr/index.d.ts +1 -1
- package/lib/_utils/env/is-native-lazy-load.d.ts +1 -1
- package/lib/_utils/env/is-native-lazy-load.js +2 -3
- package/lib/_utils/naive/attribute.d.ts +1 -1
- package/lib/_utils/naive/extract-public-props.d.ts +6 -6
- package/lib/_utils/naive/mutable.d.ts +1 -1
- package/lib/_utils/naive/prop.d.ts +1 -1
- package/lib/_utils/vue/call.d.ts +1 -1
- package/lib/_utils/vue/create-injection-key.d.ts +1 -1
- package/lib/_utils/vue/create-ref-setter.d.ts +1 -1
- package/lib/_utils/vue/flatten.d.ts +1 -1
- package/lib/_utils/vue/get-first-slot-vnode.d.ts +1 -1
- package/lib/_utils/vue/get-slot.d.ts +1 -1
- package/lib/_utils/vue/get-v-node-children.d.ts +1 -1
- package/lib/_utils/vue/is-node-v-show-false.d.ts +1 -1
- package/lib/_utils/vue/keysOf.d.ts +1 -1
- package/lib/_utils/vue/omit.d.ts +1 -1
- package/lib/_utils/vue/render.d.ts +1 -1
- package/lib/_utils/vue/resolve-slot.d.ts +1 -1
- package/lib/affix/src/Affix.d.ts +2 -2
- package/lib/affix/src/utils.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +2 -2
- package/lib/alert/styles/light.d.ts +2 -2
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/BaseAnchor.d.ts +1 -1
- package/lib/anchor/src/BaseAnchor.js +1 -1
- package/lib/anchor/src/Link.d.ts +3 -3
- package/lib/anchor/src/utils.d.ts +1 -1
- package/lib/anchor/styles/light.d.ts +2 -2
- package/lib/auto-complete/src/AutoComplete.d.ts +7 -8
- package/lib/auto-complete/src/interface.d.ts +6 -6
- package/lib/auto-complete/src/utils.d.ts +2 -2
- package/lib/auto-complete/styles/light.d.ts +2 -2
- package/lib/avatar/src/Avatar.d.ts +3 -3
- package/lib/avatar/src/Avatar.js +7 -1
- package/lib/avatar/src/interface.d.ts +2 -2
- package/lib/avatar/styles/light.d.ts +3 -3
- package/lib/avatar-group/src/AvatarGroup.d.ts +3 -3
- package/lib/avatar-group/styles/light.d.ts +2 -2
- package/lib/avatar-group/styles/rtl.d.ts +1 -1
- package/lib/back-top/src/BackTop.d.ts +2 -2
- package/lib/back-top/styles/light.d.ts +2 -2
- package/lib/badge/src/Badge.d.ts +8 -2
- package/lib/badge/src/Badge.js +16 -4
- package/lib/badge/styles/light.d.ts +3 -3
- package/lib/badge/styles/rtl.d.ts +1 -1
- package/lib/breadcrumb/src/Breadcrumb.d.ts +3 -3
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
- package/lib/breadcrumb/styles/light.d.ts +2 -2
- package/lib/button/src/Button.d.ts +6 -6
- package/lib/button/src/interface.d.ts +2 -2
- package/lib/button/styles/light.d.ts +2 -2
- package/lib/button/styles/rtl.d.ts +1 -1
- package/lib/button-group/src/ButtonGroup.d.ts +2 -2
- package/lib/button-group/src/styles/index.cssr.d.ts +1 -1
- package/lib/button-group/src/styles/rtl.cssr.d.ts +1 -1
- package/lib/button-group/styles/light.d.ts +1 -1
- package/lib/button-group/styles/rtl.d.ts +1 -1
- package/lib/calendar/src/Calendar.d.ts +3 -3
- package/lib/calendar/src/interface.d.ts +2 -2
- package/lib/calendar/styles/light.d.ts +2 -2
- package/lib/card/src/Card.d.ts +24 -19
- package/lib/card/src/Card.js +8 -7
- package/lib/card/styles/light.d.ts +3 -3
- package/lib/card/styles/rtl.d.ts +1 -1
- package/lib/carousel/src/Carousel.d.ts +2 -2
- package/lib/carousel/src/Carousel.js +2 -2
- package/lib/carousel/src/CarouselContext.js +1 -1
- package/lib/carousel/src/CarouselDots.d.ts +1 -1
- package/lib/carousel/src/CarouselDots.js +1 -1
- package/lib/carousel/src/CarouselItem.js +4 -3
- package/lib/carousel/src/interface.d.ts +1 -1
- package/lib/carousel/src/utils/index.d.ts +1 -1
- package/lib/carousel/styles/light.d.ts +3 -3
- package/lib/cascader/src/Cascader.d.ts +21 -11
- package/lib/cascader/src/CascaderMenu.d.ts +4 -3
- package/lib/cascader/src/CascaderOption.d.ts +3 -2
- package/lib/cascader/src/CascaderSelectMenu.d.ts +4 -3
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -2
- package/lib/cascader/src/interface.d.ts +13 -13
- package/lib/cascader/styles/light.d.ts +3 -2
- package/lib/checkbox/src/Checkbox.d.ts +14 -3
- package/lib/checkbox/src/Checkbox.js +2 -1
- package/lib/checkbox/src/CheckboxGroup.d.ts +3 -4
- package/lib/checkbox/src/interface.d.ts +2 -2
- package/lib/checkbox/src/styles/index.cssr.js +1 -0
- package/lib/checkbox/styles/_common.d.ts +1 -0
- package/lib/checkbox/styles/_common.js +2 -1
- package/lib/checkbox/styles/light.d.ts +3 -2
- package/lib/code/src/Code.d.ts +3 -3
- package/lib/code/styles/light.d.ts +3 -3
- package/lib/collapse/src/Collapse.d.ts +15 -5
- package/lib/collapse/src/Collapse.js +2 -1
- package/lib/collapse/src/CollapseItem.d.ts +2 -2
- package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
- package/lib/collapse/src/interface.d.ts +4 -4
- package/lib/collapse/src/styles/index.cssr.js +2 -1
- package/lib/collapse/styles/light.d.ts +4 -3
- package/lib/collapse/styles/light.js +2 -1
- package/lib/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/lib/collapse-transition/styles/light.d.ts +3 -3
- package/lib/color-picker/src/AlphaSlider.d.ts +2 -2
- package/lib/color-picker/src/ColorInput.d.ts +2 -2
- package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +5 -5
- package/lib/color-picker/src/ColorPicker.js +2 -2
- package/lib/color-picker/src/ColorPickerSwatches.d.ts +2 -2
- package/lib/color-picker/src/ColorPickerSwatches.js +1 -1
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +2 -2
- package/lib/color-picker/src/ColorPreview.d.ts +2 -2
- package/lib/color-picker/src/HueSlider.d.ts +1 -1
- package/lib/color-picker/src/Pallete.d.ts +2 -2
- package/lib/color-picker/src/context.d.ts +1 -1
- package/lib/color-picker/src/interface.d.ts +6 -6
- package/lib/color-picker/src/utils.d.ts +2 -2
- package/lib/color-picker/styles/light.d.ts +2 -2
- package/lib/composables/use-theme-vars.d.ts +1 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +7 -7
- package/lib/config-provider/src/interface.d.ts +1 -1
- package/lib/config-provider/src/internal-interface.d.ts +5 -7
- package/lib/config-provider/src/katex.d.ts +2 -2
- package/lib/countdown/src/Countdown.d.ts +2 -2
- package/lib/create.d.ts +2 -2
- package/lib/data-table/src/DataTable.d.ts +16 -2
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -4
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +9 -6
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
- package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +2 -2
- package/lib/data-table/src/HeaderButton/SortButton.d.ts +4 -4
- package/lib/data-table/src/TableParts/Body.d.ts +5 -3
- package/lib/data-table/src/TableParts/Body.js +4 -2
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +2 -2
- package/lib/data-table/src/TableParts/Cell.d.ts +8 -4
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +4 -3
- package/lib/data-table/src/TableParts/ExpandTrigger.js +3 -1
- package/lib/data-table/src/TableParts/Header.d.ts +3 -1
- package/lib/data-table/src/TableParts/Header.js +4 -2
- package/lib/data-table/src/interface.d.ts +61 -57
- package/lib/data-table/src/styles/index.cssr.d.ts +1 -1
- package/lib/data-table/src/use-check.d.ts +2 -2
- package/lib/data-table/src/use-expand.d.ts +2 -2
- package/lib/data-table/src/use-group-header.d.ts +1 -1
- package/lib/data-table/src/use-scroll.d.ts +1 -1
- package/lib/data-table/src/use-sorter.d.ts +1 -1
- package/lib/data-table/src/use-table-data.d.ts +2 -2
- package/lib/data-table/src/utils.d.ts +1 -1
- package/lib/data-table/styles/light.d.ts +4 -2
- package/lib/date-picker/src/DatePicker.d.ts +5 -5
- package/lib/date-picker/src/DatePicker.js +2 -2
- package/lib/date-picker/src/config.d.ts +1 -1
- package/lib/date-picker/src/interface.d.ts +25 -25
- package/lib/date-picker/src/panel/date.d.ts +4 -4
- package/lib/date-picker/src/panel/date.js +1 -1
- package/lib/date-picker/src/panel/daterange.d.ts +1 -1
- package/lib/date-picker/src/panel/daterange.js +2 -2
- package/lib/date-picker/src/panel/datetime.d.ts +1 -1
- package/lib/date-picker/src/panel/datetime.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +1 -1
- package/lib/date-picker/src/panel/datetimerange.js +4 -4
- package/lib/date-picker/src/panel/month.d.ts +2 -2
- package/lib/date-picker/src/panel/month.js +1 -1
- package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
- package/lib/date-picker/src/panel/panelHeader.d.ts +3 -3
- package/lib/date-picker/src/panel/use-calendar.d.ts +3 -3
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +6 -6
- package/lib/date-picker/src/panel/use-panel-common.d.ts +4 -4
- package/lib/date-picker/src/utils.d.ts +1 -1
- package/lib/date-picker/src/validation-utils.d.ts +1 -1
- package/lib/date-picker/styles/light.d.ts +2 -2
- package/lib/descriptions/src/Descriptions.d.ts +3 -3
- package/lib/descriptions/src/DescriptionsItem.d.ts +2 -2
- package/lib/descriptions/src/utils.d.ts +1 -1
- package/lib/descriptions/styles/light.d.ts +4 -4
- package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +10 -10
- package/lib/dialog/src/DialogProvider.js +1 -1
- package/lib/dialog/src/composables.d.ts +1 -1
- package/lib/dialog/src/dialogProps.d.ts +2 -2
- package/lib/dialog/src/interface.d.ts +1 -1
- package/lib/dialog/styles/light.d.ts +2 -2
- package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
- package/lib/discrete/src/discrete.d.ts +2 -2
- package/lib/discrete/src/discreteApp.d.ts +9 -9
- package/lib/discrete/src/interface.d.ts +13 -13
- package/lib/divider/src/Divider.d.ts +2 -2
- package/lib/divider/styles/light.d.ts +2 -2
- package/lib/drawer/src/Drawer.d.ts +3 -3
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/lib/drawer/src/DrawerContent.d.ts +2 -2
- package/lib/drawer/src/interface.d.ts +2 -2
- package/lib/drawer/styles/light.d.ts +2 -2
- package/lib/dropdown/src/Dropdown.d.ts +8 -8
- package/lib/dropdown/src/DropdownGroup.d.ts +2 -2
- package/lib/dropdown/src/DropdownMenu.d.ts +2 -2
- package/lib/dropdown/src/DropdownOption.d.ts +3 -3
- package/lib/dropdown/src/DropdownRenderOption.d.ts +2 -2
- package/lib/dropdown/src/interface.d.ts +23 -23
- package/lib/dropdown/styles/light.d.ts +2 -2
- package/lib/dynamic-input/src/DynamicInput.d.ts +6 -2
- package/lib/dynamic-input/src/DynamicInput.js +38 -29
- package/lib/dynamic-input/src/InputPreset.d.ts +4 -1
- package/lib/dynamic-input/src/InputPreset.js +3 -2
- package/lib/dynamic-input/src/PairPreset.d.ts +4 -1
- package/lib/dynamic-input/src/PairPreset.js +4 -3
- package/lib/dynamic-input/src/interface.d.ts +2 -2
- package/lib/dynamic-input/styles/dark.d.ts +1 -1
- package/lib/dynamic-input/styles/light.d.ts +2 -2
- package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/lib/dynamic-tags/src/DynamicTags.js +1 -1
- package/lib/dynamic-tags/src/interface.d.ts +3 -3
- package/lib/dynamic-tags/styles/light.d.ts +1 -1
- package/lib/element/src/Element.d.ts +10 -10
- package/lib/element/styles/dark.d.ts +1 -1
- package/lib/element/styles/light.d.ts +2 -2
- package/lib/ellipsis/src/Ellipsis.d.ts +2 -2
- package/lib/ellipsis/src/Ellipsis.js +6 -0
- package/lib/ellipsis/styles/dark.d.ts +1 -1
- package/lib/ellipsis/styles/light.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +2 -2
- package/lib/empty/styles/light.d.ts +2 -2
- package/lib/equation/src/Equation.d.ts +2 -2
- package/lib/equation/styles/light.d.ts +2 -2
- package/lib/form/src/Form.d.ts +13 -4
- package/lib/form/src/Form.js +2 -2
- package/lib/form/src/FormItem.d.ts +16 -6
- package/lib/form/src/FormItem.js +3 -2
- package/lib/form/src/FormItemCol.d.ts +12 -3
- package/lib/form/src/FormItemCol.js +1 -1
- package/lib/form/src/FormItemGridItem.d.ts +12 -3
- package/lib/form/src/FormItemGridItem.js +1 -1
- package/lib/form/src/FormItemRow.d.ts +11 -2
- package/lib/form/src/FormItemRow.js +1 -1
- package/lib/form/src/interface.d.ts +22 -22
- package/lib/form/src/styles/form-item.cssr.js +1 -0
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/form/styles/_common.d.ts +1 -0
- package/lib/form/styles/_common.js +2 -1
- package/lib/form/styles/light.d.ts +3 -2
- package/lib/gradient-text/src/GradientText.d.ts +3 -3
- package/lib/gradient-text/styles/dark.d.ts +1 -1
- package/lib/gradient-text/styles/light.d.ts +2 -2
- package/lib/grid/src/Grid.d.ts +5 -5
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/icon/src/Icon.d.ts +6 -6
- package/lib/icon/styles/light.d.ts +2 -2
- package/lib/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/lib/icon-wrapper/src/IconWrapper.js +1 -1
- package/lib/icon-wrapper/styles/light.d.ts +2 -2
- package/lib/image/src/Image.d.ts +2 -2
- package/lib/image/src/Image.js +23 -21
- package/lib/image/src/ImageGroup.d.ts +3 -3
- package/lib/image/src/ImageGroup.js +2 -2
- package/lib/image/src/ImagePreview.d.ts +1 -1
- package/lib/image/src/ImagePreview.js +5 -4
- package/lib/image/src/interface.d.ts +1 -1
- package/lib/image/src/utils.d.ts +2 -2
- package/lib/image/styles/light.d.ts +2 -2
- package/lib/input/src/Input.d.ts +3 -4
- package/lib/input/src/Input.js +3 -3
- package/lib/input/src/InputGroup.d.ts +1 -1
- package/lib/input/src/InputGroupLabel.d.ts +2 -2
- package/lib/input/src/interface.d.ts +5 -5
- package/lib/input/src/styles/input.cssr.js +4 -3
- package/lib/input/styles/light.d.ts +2 -2
- package/lib/input-number/src/InputNumber.d.ts +3 -3
- package/lib/input-number/src/interface.d.ts +2 -2
- package/lib/input-number/styles/light.d.ts +2 -2
- package/lib/layout/src/Layout.d.ts +2 -2
- package/lib/layout/src/LayoutFooter.d.ts +1 -1
- package/lib/layout/src/LayoutHeader.d.ts +2 -2
- package/lib/layout/src/LayoutSider.d.ts +2 -2
- package/lib/layout/src/ToggleBar.d.ts +1 -1
- package/lib/layout/src/ToggleButton.d.ts +1 -1
- package/lib/layout/src/interface.d.ts +2 -2
- package/lib/layout/styles/light.d.ts +2 -2
- package/lib/legacy-grid/src/Col.d.ts +4 -4
- package/lib/legacy-grid/src/Row.d.ts +3 -3
- package/lib/legacy-grid/src/interface.d.ts +1 -1
- package/lib/legacy-grid/styles/dark.d.ts +1 -1
- package/lib/legacy-grid/styles/light.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +15 -6
- package/lib/legacy-transfer/src/TransferFilter.d.ts +2 -1
- package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferList.d.ts +3 -2
- package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -0
- package/lib/legacy-transfer/src/interface.d.ts +4 -4
- package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/lib/legacy-transfer/styles/light.d.ts +3 -2
- package/lib/list/src/List.d.ts +3 -3
- package/lib/list/styles/light.d.ts +3 -3
- package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +6 -6
- package/lib/loading-bar/src/context.d.ts +1 -1
- package/lib/loading-bar/styles/light.d.ts +2 -2
- package/lib/locales/common/enUS.d.ts +2 -2
- package/lib/locales/common/faIR.d.ts +3 -0
- package/lib/locales/common/faIR.js +122 -0
- package/lib/locales/common/idID.js +17 -17
- package/lib/locales/common/koKR.js +9 -9
- package/lib/locales/common/trTR.js +1 -1
- package/lib/locales/common/zhTW.js +14 -17
- package/lib/locales/date/arDZ.d.ts +1 -1
- package/lib/locales/date/deDE.d.ts +1 -1
- package/lib/locales/date/enGB.d.ts +1 -1
- package/lib/locales/date/enUS.d.ts +1 -1
- package/lib/locales/date/eo.d.ts +1 -1
- package/lib/locales/date/esAR.d.ts +1 -1
- package/lib/locales/date/faIR.d.ts +3 -0
- package/lib/locales/date/faIR.js +11 -0
- package/lib/locales/date/frFR.d.ts +1 -1
- package/lib/locales/date/idID.d.ts +1 -1
- package/lib/locales/date/itIT.d.ts +1 -1
- package/lib/locales/date/jaJP.d.ts +1 -1
- package/lib/locales/date/koKR.d.ts +1 -1
- package/lib/locales/date/nbNO.d.ts +1 -1
- package/lib/locales/date/nlNL.d.ts +1 -1
- package/lib/locales/date/plPL.d.ts +1 -1
- package/lib/locales/date/ptBR.d.ts +1 -1
- package/lib/locales/date/ruRU.d.ts +1 -1
- package/lib/locales/date/skSK.d.ts +1 -1
- package/lib/locales/date/thTH.d.ts +1 -1
- package/lib/locales/date/trTR.d.ts +1 -1
- package/lib/locales/date/ukUA.d.ts +1 -1
- package/lib/locales/date/viVN.d.ts +1 -1
- package/lib/locales/date/zhCN.d.ts +1 -1
- package/lib/locales/date/zhTW.d.ts +1 -1
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +5 -1
- package/lib/locales/utils/index.d.ts +2 -2
- package/lib/log/src/Log.d.ts +3 -3
- package/lib/log/styles/light.d.ts +2 -2
- package/lib/mention/src/Mention.d.ts +6 -6
- package/lib/mention/src/interface.d.ts +1 -1
- package/lib/mention/styles/light.d.ts +2 -2
- package/lib/menu/src/Menu.d.ts +11 -11
- package/lib/menu/src/Menu.js +1 -1
- package/lib/menu/src/MenuOption.d.ts +2 -2
- package/lib/menu/src/MenuOptionContent.d.ts +2 -2
- package/lib/menu/src/MenuOptionGroup.d.ts +2 -2
- package/lib/menu/src/Submenu.d.ts +2 -2
- package/lib/menu/src/Submenu.js +2 -2
- package/lib/menu/src/interface.d.ts +13 -13
- package/lib/menu/src/styles/index.cssr.d.ts +1 -1
- package/lib/menu/src/use-menu-child-props.d.ts +3 -3
- package/lib/menu/src/use-menu-child.d.ts +3 -3
- package/lib/menu/src/utils.d.ts +2 -2
- package/lib/menu/styles/light.d.ts +2 -2
- package/lib/message/src/Message.d.ts +1 -1
- package/lib/message/src/MessageEnvironment.d.ts +1 -1
- package/lib/message/src/MessageProvider.d.ts +6 -8
- package/lib/message/src/context.d.ts +1 -1
- package/lib/message/src/message-props.d.ts +5 -5
- package/lib/message/src/types.d.ts +4 -4
- package/lib/message/styles/light.d.ts +3 -3
- package/lib/message/styles/rtl.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +11 -2
- package/lib/modal/src/Modal.d.ts +15 -2
- package/lib/modal/src/interface.d.ts +2 -2
- package/lib/modal/src/presetProps.d.ts +5 -1
- package/lib/modal/styles/light.d.ts +2 -2
- package/lib/notification/src/Notification.d.ts +1 -1
- package/lib/notification/src/NotificationContainer.d.ts +1 -1
- package/lib/notification/src/NotificationEnvironment.d.ts +5 -2
- package/lib/notification/src/NotificationProvider.d.ts +10 -10
- package/lib/notification/src/styles/index.cssr.d.ts +1 -1
- package/lib/notification/src/styles/index.cssr.js +2 -0
- package/lib/notification/styles/light.d.ts +2 -2
- package/lib/notification/styles/rtl.d.ts +1 -1
- package/lib/number-animation/src/NumberAnimation.d.ts +2 -2
- package/lib/page-header/src/PageHeader.d.ts +2 -2
- package/lib/page-header/styles/light.d.ts +2 -2
- package/lib/pagination/src/Pagination.d.ts +10 -3
- package/lib/pagination/src/Pagination.js +7 -5
- package/lib/pagination/src/interface.d.ts +11 -10
- package/lib/pagination/src/utils.d.ts +1 -1
- package/lib/pagination/styles/light.d.ts +3 -3
- package/lib/popconfirm/src/Popconfirm.d.ts +3 -3
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/lib/popconfirm/src/interface.d.ts +2 -2
- package/lib/popconfirm/styles/light.d.ts +3 -3
- package/lib/popover/src/Popover.d.ts +4 -4
- package/lib/popover/src/Popover.js +1 -2
- package/lib/popover/src/PopoverBody.d.ts +2 -2
- package/lib/popover/src/interface.d.ts +4 -4
- package/lib/popover/src/styles/index.cssr.d.ts +1 -1
- package/lib/popover/styles/light.d.ts +2 -2
- package/lib/popselect/src/Popselect.d.ts +4 -4
- package/lib/popselect/src/Popselect.js +2 -1
- package/lib/popselect/src/PopselectPanel.d.ts +6 -6
- package/lib/popselect/src/interface.d.ts +3 -3
- package/lib/popselect/styles/light.d.ts +2 -2
- package/lib/progress/src/Circle.d.ts +2 -2
- package/lib/progress/src/Line.d.ts +2 -2
- package/lib/progress/src/Line.js +3 -1
- package/lib/progress/src/MultipleCircle.d.ts +1 -1
- package/lib/progress/src/Progress.d.ts +4 -4
- package/lib/progress/src/interface.d.ts +1 -1
- package/lib/progress/styles/light.d.ts +2 -2
- package/lib/radio/src/Radio.d.ts +8 -1
- package/lib/radio/src/Radio.js +2 -1
- package/lib/radio/src/RadioButton.d.ts +2 -2
- package/lib/radio/src/RadioGroup.d.ts +12 -3
- package/lib/radio/src/interface.d.ts +2 -2
- package/lib/radio/src/styles/radio.cssr.js +1 -0
- package/lib/radio/src/use-radio.d.ts +3 -3
- package/lib/radio/styles/_common.d.ts +1 -0
- package/lib/radio/styles/_common.js +2 -1
- package/lib/radio/styles/light.d.ts +4 -3
- package/lib/rate/src/Rate.d.ts +2 -2
- package/lib/rate/src/Rate.js +1 -1
- package/lib/rate/src/interface.d.ts +2 -2
- package/lib/rate/styles/dark.d.ts +1 -1
- package/lib/rate/styles/light.d.ts +3 -3
- package/lib/result/src/Result.d.ts +2 -2
- package/lib/result/styles/light.d.ts +2 -2
- package/lib/scrollbar/src/Scrollbar.d.ts +6 -3
- package/lib/scrollbar/src/Scrollbar.js +1 -1
- package/lib/select/src/Select.d.ts +24 -7
- package/lib/select/src/Select.js +12 -2
- package/lib/select/src/interface.d.ts +14 -14
- package/lib/select/src/utils.d.ts +1 -1
- package/lib/select/styles/light.d.ts +2 -2
- package/lib/skeleton/src/Skeleton.d.ts +2 -2
- package/lib/skeleton/styles/dark.d.ts +1 -1
- package/lib/skeleton/styles/light.d.ts +3 -3
- package/lib/slider/src/Slider.d.ts +4 -4
- package/lib/slider/src/Slider.js +4 -4
- package/lib/slider/src/interface.d.ts +1 -1
- package/lib/slider/src/utils.d.ts +4 -4
- package/lib/slider/src/utils.js +1 -1
- package/lib/slider/styles/light.d.ts +3 -3
- package/lib/space/src/Space.d.ts +4 -4
- package/lib/space/styles/light.d.ts +2 -2
- package/lib/space/styles/rtl.d.ts +1 -1
- package/lib/spin/src/Spin.d.ts +3 -3
- package/lib/spin/styles/light.d.ts +3 -3
- package/lib/statistic/src/Statistic.d.ts +1 -1
- package/lib/statistic/styles/light.d.ts +3 -3
- package/lib/statistic/styles/rtl.d.ts +1 -1
- package/lib/steps/src/Step.d.ts +2 -2
- package/lib/steps/src/Steps.d.ts +2 -2
- package/lib/steps/styles/light.d.ts +2 -2
- package/lib/steps/styles/rtl.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +2 -2
- package/lib/switch/src/interface.d.ts +2 -2
- package/lib/switch/styles/light.d.ts +2 -2
- package/lib/table/src/Table.d.ts +2 -2
- package/lib/table/styles/light.d.ts +3 -3
- package/lib/table/styles/rtl.d.ts +1 -1
- package/lib/tabs/src/Tab.d.ts +1 -1
- package/lib/tabs/src/TabPane.d.ts +2 -2
- package/lib/tabs/src/Tabs.d.ts +245 -5
- package/lib/tabs/src/Tabs.js +113 -76
- package/lib/tabs/src/interface.d.ts +9 -9
- package/lib/tabs/src/styles/index.cssr.js +137 -25
- package/lib/tabs/styles/_common.d.ts +24 -0
- package/lib/tabs/styles/_common.js +27 -3
- package/lib/tabs/styles/light.d.ts +27 -3
- package/lib/tag/src/Tag.d.ts +2 -2
- package/lib/tag/src/common-props.d.ts +1 -1
- package/lib/tag/styles/light.d.ts +2 -2
- package/lib/theme-editor/src/ThemeEditor.d.ts +2 -4
- package/lib/theme-editor/src/ThemeEditor.js +1 -1
- package/lib/themes/interface.d.ts +2 -2
- package/lib/themes/utils.d.ts +3 -3
- package/lib/thing/src/Thing.d.ts +2 -2
- package/lib/thing/styles/light.d.ts +2 -2
- package/lib/thing/styles/rtl.d.ts +1 -1
- package/lib/time/src/Time.d.ts +3 -3
- package/lib/time-picker/src/Panel.d.ts +3 -3
- package/lib/time-picker/src/PanelCol.d.ts +2 -2
- package/lib/time-picker/src/PanelCol.js +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +3 -3
- package/lib/time-picker/src/interface.d.ts +11 -11
- package/lib/time-picker/src/utils.d.ts +1 -1
- package/lib/time-picker/styles/light.d.ts +2 -2
- package/lib/timeline/src/Timeline.d.ts +4 -4
- package/lib/timeline/src/TimelineItem.d.ts +2 -2
- package/lib/timeline/styles/light.d.ts +2 -2
- package/lib/tooltip/src/Tooltip.d.ts +2 -2
- package/lib/tooltip/src/Tooltip.js +2 -1
- package/lib/tooltip/styles/light.d.ts +2 -2
- package/lib/transfer/src/Transfer.d.ts +16 -7
- package/lib/transfer/src/TransferFilter.d.ts +2 -1
- package/lib/transfer/src/TransferHeader.d.ts +1 -1
- package/lib/transfer/src/TransferList.d.ts +3 -2
- package/lib/transfer/src/TransferListItem.d.ts +3 -2
- package/lib/transfer/src/interface.d.ts +7 -7
- package/lib/transfer/src/use-transfer-data.d.ts +4 -4
- package/lib/transfer/styles/light.d.ts +3 -2
- package/lib/tree/src/MotionWrapper.d.ts +2 -2
- package/lib/tree/src/Tree.d.ts +27 -15
- package/lib/tree/src/Tree.js +40 -37
- package/lib/tree/src/TreeNode.d.ts +3 -3
- package/lib/tree/src/TreeNode.js +4 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +2 -1
- package/lib/tree/src/TreeNodeCheckbox.js +3 -2
- package/lib/tree/src/TreeNodeContent.d.ts +2 -2
- package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/lib/tree/src/dnd.d.ts +2 -2
- package/lib/tree/src/interface.d.ts +18 -18
- package/lib/tree/src/keyboard.d.ts +3 -3
- package/lib/tree/src/utils.d.ts +3 -3
- package/lib/tree/styles/light.d.ts +3 -2
- package/lib/tree-select/src/TreeSelect.d.ts +19 -8
- package/lib/tree-select/src/TreeSelect.js +1 -1
- package/lib/tree-select/src/interface.d.ts +14 -14
- package/lib/tree-select/src/utils.d.ts +2 -2
- package/lib/tree-select/styles/light.d.ts +3 -2
- package/lib/typography/src/a.d.ts +1 -1
- package/lib/typography/src/blockquote.d.ts +1 -1
- package/lib/typography/src/create-header.d.ts +3 -3
- package/lib/typography/src/ol.d.ts +1 -1
- package/lib/typography/src/p.d.ts +2 -2
- package/lib/typography/src/text.d.ts +2 -2
- package/lib/typography/src/ul.d.ts +1 -1
- package/lib/typography/styles/light.d.ts +2 -2
- package/lib/upload/src/Upload.d.ts +2 -62
- package/lib/upload/src/Upload.js +4 -7
- package/lib/upload/src/UploadFile.d.ts +1 -1
- package/lib/upload/src/UploadProgress.d.ts +1 -1
- package/lib/upload/src/interface.d.ts +18 -18
- package/lib/upload/src/utils.js +7 -9
- package/lib/upload/styles/light.d.ts +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +3 -3
- package/lib/watermark/styles/light.d.ts +1 -1
- package/package.json +45 -45
- package/web-types.json +166 -26
|
@@ -62,9 +62,9 @@ export default defineComponent({
|
|
|
62
62
|
[`${mergedClsPrefix}-date-panel-date--end`]: dateItem.endOfSpan,
|
|
63
63
|
[`${mergedClsPrefix}-date-panel-date--disabled`]: disabled
|
|
64
64
|
}
|
|
65
|
-
], onClick: disabled ? undefined : () => this.handleDateClick(dateItem), onMouseenter: disabled
|
|
65
|
+
], onClick: disabled ? undefined : () => { this.handleDateClick(dateItem); }, onMouseenter: disabled
|
|
66
66
|
? undefined
|
|
67
|
-
: () => this.handleDateMouseEnter(dateItem) },
|
|
67
|
+
: () => { this.handleDateMouseEnter(dateItem); } },
|
|
68
68
|
h("div", { class: `${mergedClsPrefix}-date-panel-date__trigger` }),
|
|
69
69
|
dateItem.dateObject.date,
|
|
70
70
|
dateItem.isCurrentDate ? (h("div", { class: `${mergedClsPrefix}-date-panel-date__sup` })) : null));
|
|
@@ -92,9 +92,9 @@ export default defineComponent({
|
|
|
92
92
|
[`${mergedClsPrefix}-date-panel-date--end`]: dateItem.endOfSpan,
|
|
93
93
|
[`${mergedClsPrefix}-date-panel-date--disabled`]: disabled
|
|
94
94
|
}
|
|
95
|
-
], onClick: disabled ? undefined : () => this.handleDateClick(dateItem), onMouseenter: disabled
|
|
95
|
+
], onClick: disabled ? undefined : () => { this.handleDateClick(dateItem); }, onMouseenter: disabled
|
|
96
96
|
? undefined
|
|
97
|
-
: () => this.handleDateMouseEnter(dateItem) },
|
|
97
|
+
: () => { this.handleDateMouseEnter(dateItem); } },
|
|
98
98
|
h("div", { class: `${mergedClsPrefix}-date-panel-date__trigger` }),
|
|
99
99
|
dateItem.dateObject.date,
|
|
100
100
|
dateItem.isCurrentDate ? (h("div", { class: `${mergedClsPrefix}-date-panel-date__sup` })) : null));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VNode, PropType } from 'vue';
|
|
1
|
+
import { type VNode, type PropType } from 'vue';
|
|
2
2
|
import type { MonthItem, YearItem, QuarterItem } from '../utils';
|
|
3
3
|
/**
|
|
4
4
|
* Month Panel
|
|
@@ -1111,7 +1111,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1111
1111
|
startMonthPlaceholder: string;
|
|
1112
1112
|
endMonthPlaceholder: string;
|
|
1113
1113
|
monthBeforeYear: boolean;
|
|
1114
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
1114
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
1115
1115
|
today: string;
|
|
1116
1116
|
}>;
|
|
1117
1117
|
doConfirm: () => void;
|
|
@@ -42,7 +42,7 @@ export default defineComponent({
|
|
|
42
42
|
}
|
|
43
43
|
], onClick: () => {
|
|
44
44
|
useAsQuickJump
|
|
45
|
-
? handleQuickMonthClick(item, (value) => props.onUpdateValue(value, false))
|
|
45
|
+
? handleQuickMonthClick(item, (value) => { props.onUpdateValue(value, false); })
|
|
46
46
|
: handleDateClick(item);
|
|
47
47
|
} }, getRenderContent(item)));
|
|
48
48
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, VNode } from 'vue';
|
|
1
|
+
import { type PropType, type VNode } from 'vue';
|
|
2
2
|
import type { MonthItem, QuarterItem, YearItem } from '../utils';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
type: {
|
|
@@ -1135,7 +1135,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1135
1135
|
startMonthPlaceholder: string;
|
|
1136
1136
|
endMonthPlaceholder: string;
|
|
1137
1137
|
monthBeforeYear: boolean;
|
|
1138
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
1138
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
1139
1139
|
today: string;
|
|
1140
1140
|
}>;
|
|
1141
1141
|
doConfirm: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
mergedClsPrefix: {
|
|
4
4
|
type: StringConstructor;
|
|
@@ -1187,7 +1187,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1187
1187
|
startMonthPlaceholder: string;
|
|
1188
1188
|
endMonthPlaceholder: string;
|
|
1189
1189
|
monthBeforeYear: boolean;
|
|
1190
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
1190
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
1191
1191
|
today: string;
|
|
1192
1192
|
}>;
|
|
1193
1193
|
doConfirm: () => void;
|
|
@@ -2363,7 +2363,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2363
2363
|
startMonthPlaceholder: string;
|
|
2364
2364
|
endMonthPlaceholder: string;
|
|
2365
2365
|
monthBeforeYear: boolean;
|
|
2366
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
2366
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
2367
2367
|
today: string;
|
|
2368
2368
|
}>;
|
|
2369
2369
|
doConfirm: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { VirtualListInst } from 'vueuc';
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from 'vue';
|
|
2
|
+
import type { VirtualListInst } from 'vueuc';
|
|
3
3
|
import type { ScrollbarInst } from '../../../_internal';
|
|
4
4
|
import type { Shortcuts } from '../interface';
|
|
5
5
|
import type { DateItem, MonthItem, YearItem, QuarterItem } from '../utils';
|
|
@@ -1103,7 +1103,7 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
1103
1103
|
startMonthPlaceholder: string;
|
|
1104
1104
|
endMonthPlaceholder: string;
|
|
1105
1105
|
monthBeforeYear: boolean;
|
|
1106
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
1106
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
1107
1107
|
today: string;
|
|
1108
1108
|
}>;
|
|
1109
1109
|
doConfirm: () => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { VirtualListInst } from 'vueuc';
|
|
3
|
-
import { DateItem, MonthItem, YearItem, QuarterItem } from '../utils';
|
|
4
|
-
import { Shortcuts } from '../interface';
|
|
5
|
-
import { ScrollbarInst } from '../../../_internal';
|
|
1
|
+
import { type ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { VirtualListInst } from 'vueuc';
|
|
3
|
+
import { type DateItem, type MonthItem, type YearItem, type QuarterItem } from '../utils';
|
|
4
|
+
import { type Shortcuts } from '../interface';
|
|
5
|
+
import type { ScrollbarInst } from '../../../_internal';
|
|
6
6
|
declare const useDualCalendarProps: {
|
|
7
7
|
readonly defaultCalendarStartTime: NumberConstructor;
|
|
8
8
|
readonly defaultCalendarEndTime: NumberConstructor;
|
|
@@ -1134,7 +1134,7 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
1134
1134
|
startMonthPlaceholder: string;
|
|
1135
1135
|
endMonthPlaceholder: string;
|
|
1136
1136
|
monthBeforeYear: boolean;
|
|
1137
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
1137
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
1138
1138
|
today: string;
|
|
1139
1139
|
}>;
|
|
1140
1140
|
doConfirm: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { Value, OnPanelUpdateValue, OnClose, Shortcuts, DefaultTime } from '../interface';
|
|
1
|
+
import { type PropType, type ExtractPropTypes } from 'vue';
|
|
2
|
+
import { type Value, type OnPanelUpdateValue, type OnClose, type Shortcuts, type DefaultTime } from '../interface';
|
|
3
3
|
declare const usePanelCommonProps: {
|
|
4
4
|
readonly active: BooleanConstructor;
|
|
5
5
|
readonly dateFormat: StringConstructor;
|
|
@@ -25,7 +25,7 @@ declare const usePanelCommonProps: {
|
|
|
25
25
|
readonly onRender: PropType<(() => void) | undefined>;
|
|
26
26
|
readonly panel: BooleanConstructor;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
type UsePanelCommonProps = ExtractPropTypes<typeof usePanelCommonProps>;
|
|
29
29
|
declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
30
30
|
mergedTheme: import("vue").Ref<{
|
|
31
31
|
common: {
|
|
@@ -1078,7 +1078,7 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
1078
1078
|
startMonthPlaceholder: string;
|
|
1079
1079
|
endMonthPlaceholder: string;
|
|
1080
1080
|
monthBeforeYear: boolean;
|
|
1081
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 |
|
|
1081
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 6 | 5;
|
|
1082
1082
|
today: string;
|
|
1083
1083
|
}>;
|
|
1084
1084
|
doConfirm: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NDateLocale } from '../../locales';
|
|
2
|
-
import { Value } from './interface';
|
|
2
|
+
import type { Value } from './interface';
|
|
3
3
|
declare function getDerivedTimeFromKeyboardEvent(prevValue: number | null, event: KeyboardEvent): number;
|
|
4
4
|
export interface DateItem {
|
|
5
5
|
type: 'date';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
2
|
import type { DatePickerSetupProps } from './DatePicker';
|
|
3
3
|
export declare function uniCalendarValidation(props: DatePickerSetupProps, mergedValueRef: Ref<number | [number, number] | null>): {
|
|
4
4
|
isValueInvalidRef: import("vue").ComputedRef<boolean>;
|
|
@@ -62,7 +62,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
62
62
|
calendarRightPaddingQuarterrange: string;
|
|
63
63
|
calendarRightPaddingYearrange: string;
|
|
64
64
|
};
|
|
65
|
-
export
|
|
65
|
+
export type DatePickerThemeVars = ReturnType<typeof self>;
|
|
66
66
|
declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
67
67
|
itemFontSize: string;
|
|
68
68
|
calendarDaysFontSize: string;
|
|
@@ -684,4 +684,4 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
684
684
|
}, any>;
|
|
685
685
|
}>;
|
|
686
686
|
export default datePickerLight;
|
|
687
|
-
export
|
|
687
|
+
export type DatePickerTheme = typeof datePickerLight;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, CSSProperties } from 'vue';
|
|
1
|
+
import { type PropType, type CSSProperties } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare const descriptionsProps: {
|
|
4
4
|
readonly title: StringConstructor;
|
|
@@ -123,9 +123,9 @@ export declare const descriptionsProps: {
|
|
|
123
123
|
tdPaddingLarge: string;
|
|
124
124
|
}, any>>>;
|
|
125
125
|
};
|
|
126
|
-
export
|
|
126
|
+
export type DescriptionsProps = ExtractPublicPropTypes<typeof descriptionsProps>;
|
|
127
127
|
/** @deprecated You should use `DescriptionsProps` */
|
|
128
|
-
export
|
|
128
|
+
export type DescriptionProps = DescriptionsProps;
|
|
129
129
|
declare const _default: import("vue").DefineComponent<{
|
|
130
130
|
readonly title: StringConstructor;
|
|
131
131
|
readonly column: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, CSSProperties } from 'vue';
|
|
1
|
+
import { type PropType, type CSSProperties } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare const descriptionsItemProps: {
|
|
4
4
|
readonly label: StringConstructor;
|
|
@@ -9,7 +9,7 @@ export declare const descriptionsItemProps: {
|
|
|
9
9
|
readonly labelStyle: PropType<string | CSSProperties>;
|
|
10
10
|
readonly contentStyle: PropType<string | CSSProperties>;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type DescriptionItemProps = ExtractPublicPropTypes<typeof descriptionsItemProps>;
|
|
13
13
|
declare const _default: import("vue").DefineComponent<{
|
|
14
14
|
readonly label: StringConstructor;
|
|
15
15
|
readonly span: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ThemeCommonVars } from '../../_styles/common';
|
|
2
|
-
import { Theme } from '../../_mixins/use-theme';
|
|
1
|
+
import { type ThemeCommonVars } from '../../_styles/common';
|
|
2
|
+
import type { Theme } from '../../_mixins/use-theme';
|
|
3
3
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
4
|
lineHeight: string;
|
|
5
5
|
fontSizeSmall: string;
|
|
@@ -32,7 +32,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
32
32
|
tdPaddingMedium: string;
|
|
33
33
|
tdPaddingLarge: string;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
35
|
+
export type DescriptionsThemeVars = ReturnType<typeof self>;
|
|
36
36
|
declare const descriptionsLight: Theme<'Descriptions', DescriptionsThemeVars>;
|
|
37
37
|
export default descriptionsLight;
|
|
38
|
-
export
|
|
38
|
+
export type DescriptionsTheme = typeof descriptionsLight;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, Ref, CSSProperties } from 'vue';
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type Ref, type CSSProperties } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes, Mutable } from '../../_utils';
|
|
3
|
-
import { exposedDialogEnvProps } from './DialogEnvironment';
|
|
4
|
-
export
|
|
3
|
+
import { type exposedDialogEnvProps } from './DialogEnvironment';
|
|
4
|
+
export type DialogOptions = Mutable<Omit<Partial<ExtractPropTypes<typeof exposedDialogEnvProps>>, 'internalStyle'> & {
|
|
5
5
|
class?: any;
|
|
6
6
|
style?: string | CSSProperties;
|
|
7
7
|
}>;
|
|
8
|
-
export
|
|
8
|
+
export type DialogReactive = {
|
|
9
9
|
readonly key: string;
|
|
10
10
|
readonly destroy: () => void;
|
|
11
11
|
} & DialogOptions;
|
|
@@ -24,16 +24,16 @@ export interface DialogProviderInjection {
|
|
|
24
24
|
y: number;
|
|
25
25
|
} | null>;
|
|
26
26
|
}
|
|
27
|
-
export
|
|
27
|
+
export type DialogReactiveListInjection = Ref<DialogReactive[]>;
|
|
28
28
|
interface DialogInst {
|
|
29
29
|
hide: () => void;
|
|
30
30
|
}
|
|
31
|
-
export
|
|
31
|
+
export type DialogProviderInst = DialogApiInjection;
|
|
32
32
|
export declare const dialogProviderProps: {
|
|
33
33
|
injectionKey: StringConstructor;
|
|
34
34
|
to: PropType<string | HTMLElement>;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type DialogProviderProps = ExtractPublicPropTypes<typeof dialogProviderProps>;
|
|
37
37
|
export declare const NDialogProvider: import("vue").DefineComponent<{
|
|
38
38
|
injectionKey: StringConstructor;
|
|
39
39
|
to: PropType<string | HTMLElement>;
|
|
@@ -391,9 +391,9 @@ export declare const NDialogProvider: import("vue").DefineComponent<{
|
|
|
391
391
|
renderIcon?: (() => import("vue").VNodeChild) | undefined;
|
|
392
392
|
tertiary?: boolean | undefined;
|
|
393
393
|
ghost?: boolean | undefined;
|
|
394
|
+
keyboard?: boolean | undefined;
|
|
394
395
|
secondary?: boolean | undefined;
|
|
395
396
|
quaternary?: boolean | undefined;
|
|
396
|
-
keyboard?: boolean | undefined;
|
|
397
397
|
iconPlacement?: "left" | "right" | undefined;
|
|
398
398
|
attrType?: "button" | "reset" | "submit" | undefined;
|
|
399
399
|
nativeFocusBehavior?: boolean | undefined;
|
|
@@ -730,9 +730,9 @@ export declare const NDialogProvider: import("vue").DefineComponent<{
|
|
|
730
730
|
renderIcon?: (() => import("vue").VNodeChild) | undefined;
|
|
731
731
|
tertiary?: boolean | undefined;
|
|
732
732
|
ghost?: boolean | undefined;
|
|
733
|
+
keyboard?: boolean | undefined;
|
|
733
734
|
secondary?: boolean | undefined;
|
|
734
735
|
quaternary?: boolean | undefined;
|
|
735
|
-
keyboard?: boolean | undefined;
|
|
736
736
|
iconPlacement?: "left" | "right" | undefined;
|
|
737
737
|
attrType?: "button" | "reset" | "submit" | undefined;
|
|
738
738
|
nativeFocusBehavior?: boolean | undefined;
|
|
@@ -747,7 +747,7 @@ export declare const NDialogProvider: import("vue").DefineComponent<{
|
|
|
747
747
|
style?: any;
|
|
748
748
|
}[]>;
|
|
749
749
|
dialogInstRefs: Record<string, DialogInst>;
|
|
750
|
-
handleAfterLeave: (key:
|
|
750
|
+
handleAfterLeave: (key: string) => void;
|
|
751
751
|
create: (options?: DialogOptions) => DialogReactive;
|
|
752
752
|
destroyAll: () => void;
|
|
753
753
|
info: (options: DialogOptions) => DialogReactive;
|
|
@@ -30,7 +30,7 @@ export const NDialogProvider = defineComponent({
|
|
|
30
30
|
dialogList.splice(dialogList.findIndex((dialog) => dialog.key === key), 1);
|
|
31
31
|
}
|
|
32
32
|
function destroyAll() {
|
|
33
|
-
Object.values(dialogInstRefs).forEach((dialogInstRef) => dialogInstRef.hide());
|
|
33
|
+
Object.values(dialogInstRefs).forEach((dialogInstRef) => { dialogInstRef.hide(); });
|
|
34
34
|
}
|
|
35
35
|
const api = {
|
|
36
36
|
create,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
2
|
import type { DialogApiInjection, DialogReactive } from './DialogProvider';
|
|
3
3
|
export declare function useDialog(): DialogApiInjection;
|
|
4
4
|
export declare function useDialogReactiveList(): Ref<readonly DialogReactive[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, VNodeChild } from 'vue';
|
|
1
|
+
import type { PropType, VNodeChild } from 'vue';
|
|
2
2
|
import type { ButtonProps } from '../../button';
|
|
3
3
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
import type { IconPlacement } from './interface';
|
|
@@ -30,6 +30,6 @@ declare const dialogProps: {
|
|
|
30
30
|
readonly onNegativeClick: PropType<(e: MouseEvent) => void>;
|
|
31
31
|
readonly onClose: PropType<() => void>;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type DialogProps = ExtractPublicPropTypes<typeof dialogProps>;
|
|
34
34
|
export { dialogProps };
|
|
35
35
|
export declare const dialogPropKeys: ("type" | "content" | "icon" | "title" | "action" | "positiveText" | "negativeText" | "loading" | "bordered" | "showIcon" | "closable" | "onClose" | "iconPlacement" | "positiveButtonProps" | "negativeButtonProps" | "onPositiveClick" | "onNegativeClick")[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type IconPlacement = 'left' | 'top';
|
|
@@ -31,7 +31,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
31
31
|
closeMargin: string;
|
|
32
32
|
closeMarginIconTop: string;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type DialogThemeVars = ReturnType<typeof self>;
|
|
35
35
|
declare const dialogLight: import("../../_mixins").Theme<"Dialog", {
|
|
36
36
|
fontSize: string;
|
|
37
37
|
lineHeight: string;
|
|
@@ -270,4 +270,4 @@ declare const dialogLight: import("../../_mixins").Theme<"Dialog", {
|
|
|
270
270
|
}, any>;
|
|
271
271
|
}>;
|
|
272
272
|
export default dialogLight;
|
|
273
|
-
export
|
|
273
|
+
export type DialogTheme = typeof dialogLight;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DiscreteApi, DiscreteApiOptions, DiscreteApiType } from './interface';
|
|
2
|
-
export declare function createDiscreteApi<T extends DiscreteApiType>(includes: T[], { configProviderProps, messageProviderProps, dialogProviderProps, notificationProviderProps, loadingBarProviderProps }?: DiscreteApiOptions): DiscreteApi
|
|
1
|
+
import type { DiscreteApi, DiscreteApiOptions, DiscreteApiType } from './interface';
|
|
2
|
+
export declare function createDiscreteApi<T extends DiscreteApiType>(includes: T[], { configProviderProps, messageProviderProps, dialogProviderProps, notificationProviderProps, loadingBarProviderProps }?: DiscreteApiOptions): DiscreteApi<T>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { App, Component } from 'vue';
|
|
2
|
-
import { ConfigProviderProps } from '../../config-provider';
|
|
3
|
-
import { DialogApi } from '../../dialog';
|
|
4
|
-
import { LoadingBarApi } from '../../loading-bar';
|
|
5
|
-
import { MessageApi } from '../../message';
|
|
6
|
-
import { NotificationApi } from '../../notification';
|
|
7
|
-
import { DiscreteApiType, MaybeRef } from './interface';
|
|
8
|
-
export
|
|
1
|
+
import { type App, type Component } from 'vue';
|
|
2
|
+
import { type ConfigProviderProps } from '../../config-provider';
|
|
3
|
+
import { type DialogApi } from '../../dialog';
|
|
4
|
+
import { type LoadingBarApi } from '../../loading-bar';
|
|
5
|
+
import { type MessageApi } from '../../message';
|
|
6
|
+
import { type NotificationApi } from '../../notification';
|
|
7
|
+
import type { DiscreteApiType, MaybeRef } from './interface';
|
|
8
|
+
export type Provider<P = any> = new (...args: any[]) => {
|
|
9
9
|
$props: P;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type ProviderProps<C> = C extends Provider<infer P> ? P : unknown;
|
|
12
12
|
export interface DiscreteAppOptions {
|
|
13
13
|
providersAndProps: Array<{
|
|
14
14
|
type: DiscreteApiType;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { App, Ref } from 'vue';
|
|
2
|
-
import { ConfigProviderProps } from '../../config-provider';
|
|
3
|
-
import { DialogApi, DialogProviderProps } from '../../dialog';
|
|
4
|
-
import { LoadingBarApi, LoadingBarProviderProps } from '../../loading-bar';
|
|
5
|
-
import { MessageApi, MessageProviderProps } from '../../message';
|
|
6
|
-
import { NotificationApi, NotificationProviderProps } from '../../notification';
|
|
7
|
-
export
|
|
1
|
+
import type { App, Ref } from 'vue';
|
|
2
|
+
import type { ConfigProviderProps } from '../../config-provider';
|
|
3
|
+
import type { DialogApi, DialogProviderProps } from '../../dialog';
|
|
4
|
+
import type { LoadingBarApi, LoadingBarProviderProps } from '../../loading-bar';
|
|
5
|
+
import type { MessageApi, MessageProviderProps } from '../../message';
|
|
6
|
+
import type { NotificationApi, NotificationProviderProps } from '../../notification';
|
|
7
|
+
export type MaybeRef<T> = Ref<T> | T;
|
|
8
8
|
export interface DiscreteApiOptions {
|
|
9
9
|
configProviderProps?: MaybeRef<ConfigProviderProps>;
|
|
10
10
|
messageProviderProps?: MaybeRef<MessageProviderProps>;
|
|
@@ -12,16 +12,16 @@ export interface DiscreteApiOptions {
|
|
|
12
12
|
notificationProviderProps?: MaybeRef<NotificationProviderProps>;
|
|
13
13
|
loadingBarProviderProps?: MaybeRef<LoadingBarProviderProps>;
|
|
14
14
|
}
|
|
15
|
-
export
|
|
16
|
-
export
|
|
15
|
+
export type DiscreteApiType = 'message' | 'notification' | 'loadingBar' | 'dialog';
|
|
16
|
+
export type DiscreteApi<T extends DiscreteApiType = DiscreteApiType> = {
|
|
17
17
|
unmount: () => void;
|
|
18
18
|
app: App;
|
|
19
19
|
} & ('message' extends T ? {
|
|
20
20
|
message: MessageApi;
|
|
21
|
-
} :
|
|
21
|
+
} : Record<string, unknown>) & ('notification' extends T ? {
|
|
22
22
|
notification: NotificationApi;
|
|
23
|
-
} :
|
|
23
|
+
} : Record<string, unknown>) & ('dialog' extends T ? {
|
|
24
24
|
dialog: DialogApi;
|
|
25
|
-
} :
|
|
25
|
+
} : Record<string, unknown>) & ('loadingBar' extends T ? {
|
|
26
26
|
loadingBar: LoadingBarApi;
|
|
27
|
-
} :
|
|
27
|
+
} : Record<string, unknown>);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare const dividerProps: {
|
|
4
4
|
readonly titlePlacement: {
|
|
@@ -23,7 +23,7 @@ export declare const dividerProps: {
|
|
|
23
23
|
fontWeight: string;
|
|
24
24
|
}, any>>>;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type DividerProps = ExtractPublicPropTypes<typeof dividerProps>;
|
|
27
27
|
declare const _default: import("vue").DefineComponent<{
|
|
28
28
|
readonly titlePlacement: {
|
|
29
29
|
readonly type: PropType<"left" | "right" | "center">;
|
|
@@ -5,7 +5,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
5
5
|
color: string;
|
|
6
6
|
fontWeight: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type DividerThemeVars = ReturnType<typeof self>;
|
|
9
9
|
declare const dividerLight: Theme<'Divider', DividerThemeVars>;
|
|
10
10
|
export default dividerLight;
|
|
11
|
-
export
|
|
11
|
+
export type DividerTheme = typeof dividerLight;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType, CSSProperties } from 'vue';
|
|
1
|
+
import { type PropType, type CSSProperties } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
3
|
-
import { ScrollbarProps } from '../../_internal';
|
|
3
|
+
import type { ScrollbarProps } from '../../_internal';
|
|
4
4
|
import type { Placement } from './DrawerBodyWrapper';
|
|
5
5
|
export declare const drawerProps: {
|
|
6
6
|
readonly show: BooleanConstructor;
|
|
@@ -156,7 +156,7 @@ export declare const drawerProps: {
|
|
|
156
156
|
}, any>;
|
|
157
157
|
}>>>;
|
|
158
158
|
};
|
|
159
|
-
export
|
|
159
|
+
export type DrawerProps = ExtractPublicPropTypes<typeof drawerProps>;
|
|
160
160
|
declare const _default: import("vue").DefineComponent<{
|
|
161
161
|
readonly show: BooleanConstructor;
|
|
162
162
|
readonly width: PropType<string | number>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType, CSSProperties, DirectiveArguments } from 'vue';
|
|
1
|
+
import { type PropType, type CSSProperties, type DirectiveArguments } from 'vue';
|
|
2
2
|
import type { ScrollbarProps } from '../../_internal';
|
|
3
|
-
export
|
|
3
|
+
export type Placement = 'left' | 'right' | 'top' | 'bottom';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
blockScroll: BooleanConstructor;
|
|
6
6
|
show: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, PropType } from 'vue';
|
|
1
|
+
import { type CSSProperties, type PropType } from 'vue';
|
|
2
2
|
import type { ScrollbarProps } from '../../_internal';
|
|
3
3
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
export declare const drawerContentProps: {
|
|
@@ -16,7 +16,7 @@ export declare const drawerContentProps: {
|
|
|
16
16
|
scrollbarProps: PropType<ScrollbarProps>;
|
|
17
17
|
closable: BooleanConstructor;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type DrawerContentProps = ExtractPublicPropTypes<typeof drawerContentProps>;
|
|
20
20
|
declare const _default: import("vue").DefineComponent<{
|
|
21
21
|
title: {
|
|
22
22
|
type: StringConstructor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
2
|
import type { MergedTheme } from '../../_mixins';
|
|
3
3
|
import type { DrawerTheme } from '../styles';
|
|
4
|
-
export
|
|
4
|
+
export type DrawerBodyInjection = Ref<HTMLElement | null> | null;
|
|
5
5
|
export declare const drawerBodyInjectionKey: import("vue").InjectionKey<DrawerBodyInjection>;
|
|
6
6
|
export interface DrawerInjection {
|
|
7
7
|
isMountedRef: Ref<boolean>;
|
|
@@ -22,7 +22,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
22
22
|
closeBorderRadius: string;
|
|
23
23
|
resizableTriggerColorHover: string;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type DrawerThemeVars = ReturnType<typeof self>;
|
|
26
26
|
declare const drawerLight: import("../../_mixins").Theme<"Drawer", {
|
|
27
27
|
bodyPadding: string;
|
|
28
28
|
headerPadding: string;
|
|
@@ -52,4 +52,4 @@ declare const drawerLight: import("../../_mixins").Theme<"Drawer", {
|
|
|
52
52
|
}, any>;
|
|
53
53
|
}>;
|
|
54
54
|
export default drawerLight;
|
|
55
|
-
export
|
|
55
|
+
export type DrawerTheme = typeof drawerLight;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropType, Ref } from 'vue';
|
|
2
|
-
import { Key, TreeNode } from 'treemate';
|
|
3
|
-
import { FollowerPlacement } from 'vueuc';
|
|
4
|
-
import { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
5
|
-
import { DropdownMixedOption, OnUpdateValue, OnUpdateValueImpl, RenderLabel, RenderIcon, RenderLabelImpl, RenderIconImpl, RenderOption, NodeProps, RenderOptionImpl, DropdownMenuProps } from './interface';
|
|
1
|
+
import { type PropType, type Ref } from 'vue';
|
|
2
|
+
import { type Key, type TreeNode } from 'treemate';
|
|
3
|
+
import { type FollowerPlacement } from 'vueuc';
|
|
4
|
+
import { type MaybeArray, type ExtractPublicPropTypes } from '../../_utils';
|
|
5
|
+
import type { DropdownMixedOption, OnUpdateValue, OnUpdateValueImpl, RenderLabel, RenderIcon, RenderLabelImpl, RenderIconImpl, RenderOption, NodeProps, RenderOptionImpl, DropdownMenuProps } from './interface';
|
|
6
6
|
export interface DropdownInjection {
|
|
7
7
|
renderLabelRef: Ref<RenderLabelImpl | undefined>;
|
|
8
8
|
renderIconRef: Ref<RenderIconImpl | undefined>;
|
|
@@ -346,7 +346,7 @@ export declare const dropdownProps: {
|
|
|
346
346
|
readonly minWidth: NumberConstructor;
|
|
347
347
|
readonly maxWidth: NumberConstructor;
|
|
348
348
|
};
|
|
349
|
-
export
|
|
349
|
+
export type DropdownProps = ExtractPublicPropTypes<typeof dropdownProps>;
|
|
350
350
|
declare const _default: import("vue").DefineComponent<{
|
|
351
351
|
readonly theme: PropType<import("../../_mixins").Theme<"Dropdown", {
|
|
352
352
|
optionHeightSmall: string;
|
|
@@ -1190,6 +1190,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1190
1190
|
readonly minWidth: NumberConstructor;
|
|
1191
1191
|
readonly maxWidth: NumberConstructor;
|
|
1192
1192
|
}>>, {
|
|
1193
|
+
readonly options: DropdownMixedOption[];
|
|
1193
1194
|
readonly size: "small" | "medium" | "large" | "huge";
|
|
1194
1195
|
readonly show: boolean | undefined;
|
|
1195
1196
|
readonly flip: boolean;
|
|
@@ -1197,7 +1198,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1197
1198
|
readonly disabled: boolean;
|
|
1198
1199
|
readonly duration: number;
|
|
1199
1200
|
readonly to: string | boolean | HTMLElement;
|
|
1200
|
-
readonly options: DropdownMixedOption[];
|
|
1201
1201
|
readonly raw: boolean;
|
|
1202
1202
|
readonly placement: FollowerPlacement;
|
|
1203
1203
|
readonly overlap: boolean;
|
|
@@ -1218,8 +1218,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1218
1218
|
readonly internalInheritedEventHandlers: import("../../popover/src/Popover").TriggerEventHandlers[];
|
|
1219
1219
|
readonly internalExtraClass: string[];
|
|
1220
1220
|
readonly arrow: boolean | undefined;
|
|
1221
|
-
readonly childrenField: string;
|
|
1222
1221
|
readonly keyboard: boolean;
|
|
1222
|
+
readonly childrenField: string;
|
|
1223
1223
|
readonly inverted: boolean;
|
|
1224
1224
|
}>;
|
|
1225
1225
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType, Ref, CSSProperties } from 'vue';
|
|
2
|
-
import { TreeNode } from 'treemate';
|
|
1
|
+
import { type PropType, type Ref, type CSSProperties } from 'vue';
|
|
2
|
+
import type { TreeNode } from 'treemate';
|
|
3
3
|
export interface NDropdownMenuInjection {
|
|
4
4
|
showIconRef: Ref<boolean>;
|
|
5
5
|
hasSubmenuRef: Ref<boolean>;
|