naive-ui 2.23.1 → 2.24.2
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 +1 -1
- package/README.zh-CN.md +1 -1
- package/es/_internal/clear/src/Clear.d.ts +8 -10
- package/es/_internal/clear/src/styles/index.cssr.js +10 -10
- package/es/_internal/close/src/Close.d.ts +11 -10
- package/es/_internal/close/src/styles/index.cssr.js +9 -10
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +10 -20
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +4 -7
- package/es/_internal/icon/src/Icon.d.ts +19 -20
- package/es/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
- package/es/_internal/icons/Add.d.ts +1 -1
- package/es/_internal/icons/ArrowBack.d.ts +1 -1
- package/es/_internal/icons/ArrowDown.d.ts +1 -1
- package/es/_internal/icons/Attach.d.ts +1 -1
- package/es/_internal/icons/Backward.d.ts +1 -1
- package/es/_internal/icons/Cancel.d.ts +1 -1
- package/es/_internal/icons/Checkmark.d.ts +1 -1
- package/es/_internal/icons/ChevronDown.d.ts +1 -1
- package/es/_internal/icons/ChevronDownFilled.d.ts +1 -1
- package/es/_internal/icons/ChevronLeft.d.ts +1 -1
- package/es/_internal/icons/ChevronRight.d.ts +1 -1
- package/es/_internal/icons/Clear.d.ts +1 -1
- package/es/_internal/icons/Close.d.ts +1 -1
- package/es/_internal/icons/Close.js +1 -1
- package/es/_internal/icons/Date.d.ts +1 -1
- package/es/_internal/icons/Download.d.ts +1 -1
- package/es/_internal/icons/Empty.d.ts +1 -1
- package/es/_internal/icons/Error.d.ts +1 -1
- package/es/_internal/icons/Eye.d.ts +1 -1
- package/es/_internal/icons/EyeOff.d.ts +1 -1
- package/es/_internal/icons/FastBackward.d.ts +1 -1
- package/es/_internal/icons/FastForward.d.ts +1 -1
- package/es/_internal/icons/File.d.ts +1 -1
- package/es/_internal/icons/Filter.d.ts +1 -1
- package/es/_internal/icons/Forward.d.ts +1 -1
- package/es/_internal/icons/Info.d.ts +1 -1
- package/es/_internal/icons/More.d.ts +1 -1
- package/es/_internal/icons/Photo.d.ts +1 -1
- package/es/_internal/icons/Remove.d.ts +1 -1
- package/es/_internal/icons/Retry.d.ts +1 -1
- package/es/_internal/icons/RotateClockwise.d.ts +1 -1
- package/es/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/es/_internal/icons/Search.d.ts +1 -1
- package/es/_internal/icons/Success.d.ts +1 -1
- package/es/_internal/icons/Switcher.d.ts +1 -1
- package/es/_internal/icons/Switcher.js +2 -3
- package/es/_internal/icons/Time.d.ts +1 -1
- package/es/_internal/icons/To.d.ts +1 -1
- package/es/_internal/icons/Trash.d.ts +1 -1
- package/es/_internal/icons/Warning.d.ts +1 -1
- package/es/_internal/icons/ZoomIn.d.ts +1 -1
- package/es/_internal/icons/ZoomOut.d.ts +1 -1
- package/es/_internal/icons/replaceable.d.ts +1 -1
- package/es/_internal/loading/src/Loading.d.ts +26 -16
- package/es/_internal/menu-mask/src/MenuMask.d.ts +6 -5
- package/es/_internal/scrollbar/src/ScrollBar.d.ts +60 -64
- package/es/_internal/scrollbar/src/ScrollBar.js +96 -73
- package/es/_internal/scrollbar/src/styles/index.cssr.js +15 -15
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +10 -7
- package/es/_internal/select-menu/src/SelectMenu.d.ts +88 -84
- package/es/_internal/select-menu/src/SelectMenu.js +43 -42
- package/es/_internal/select-menu/src/SelectOption.d.ts +10 -7
- package/es/_internal/select-menu/src/interface.d.ts +3 -3
- package/es/_internal/select-menu/src/interface.js +3 -2
- package/es/_internal/select-menu/src/styles/index.cssr.js +35 -35
- package/es/_internal/select-menu/styles/_common.js +1 -1
- package/es/_internal/selection/src/Selection.d.ts +111 -113
- package/es/_internal/selection/src/Selection.js +69 -52
- package/es/_internal/selection/src/styles/index.cssr.js +80 -79
- package/es/_internal/selection/styles/_common.d.ts +1 -0
- package/es/_internal/selection/styles/_common.js +2 -1
- package/es/_internal/selection/styles/light.d.ts +2 -0
- package/es/_internal/slot-machine/src/SlotMachine.d.ts +18 -12
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +18 -12
- package/es/_internal/suffix/src/Suffix.d.ts +19 -14
- package/es/_internal/suffix/src/Suffix.js +7 -2
- package/es/_internal/wave/src/Wave.d.ts +6 -5
- package/es/_mixins/common.d.ts +1 -0
- package/es/_mixins/common.js +1 -0
- package/es/_mixins/index.d.ts +1 -0
- package/es/_mixins/index.js +1 -0
- package/es/_mixins/use-css-vars-class.d.ts +2 -0
- package/es/_mixins/use-css-vars-class.js +22 -0
- package/es/_mixins/use-form-item.d.ts +2 -2
- package/es/_mixins/use-form-item.js +2 -1
- package/es/_mixins/use-locale.d.ts +1 -1
- package/es/_mixins/use-locale.js +1 -1
- package/es/_mixins/use-rtl.js +2 -0
- package/es/_mixins/use-style.js +3 -0
- package/es/_mixins/use-theme.js +3 -0
- package/es/_utils/composable/use-houdini.js +2 -2
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/_utils/vue/create-injection-key.d.ts +2 -0
- package/es/_utils/vue/create-injection-key.js +3 -0
- package/es/_utils/vue/index.d.ts +2 -0
- package/es/_utils/vue/index.js +2 -0
- package/es/_utils/vue/resolve-slot.d.ts +2 -0
- package/es/_utils/vue/resolve-slot.js +20 -0
- package/es/affix/src/Affix.d.ts +26 -22
- package/es/alert/src/Alert.d.ts +35 -28
- package/es/alert/src/Alert.js +2 -4
- package/es/anchor/src/AnchorAdapter.d.ts +52 -47
- package/es/anchor/src/BaseAnchor.d.ts +25 -20
- package/es/anchor/src/Link.d.ts +6 -9
- package/es/anchor/src/Link.js +6 -5
- package/es/auto-complete/src/AutoComplete.d.ts +60 -67
- package/es/auto-complete/src/AutoComplete.js +13 -15
- package/es/avatar/index.d.ts +2 -0
- package/es/avatar/index.js +1 -0
- package/es/avatar/src/Avatar.d.ts +87 -51
- package/es/avatar/src/Avatar.js +39 -11
- package/es/avatar/src/AvatarGroup.d.ts +48 -0
- package/es/avatar/src/AvatarGroup.js +64 -0
- package/es/avatar/src/interface.d.ts +2 -0
- package/es/avatar/src/interface.js +1 -0
- package/es/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
- package/es/avatar/src/styles/avatar-group.cssr.js +14 -0
- package/es/avatar/src/styles/index.cssr.js +8 -3
- package/es/avatar/styles/light.d.ts +3 -0
- package/es/avatar/styles/light.js +6 -2
- package/es/back-top/src/BackTop.d.ts +50 -35
- package/es/back-top/src/BackTop.js +2 -4
- package/es/badge/src/Badge.d.ts +31 -29
- package/es/badge/src/Badge.js +6 -5
- package/es/breadcrumb/src/Breadcrumb.d.ts +23 -26
- package/es/breadcrumb/src/Breadcrumb.js +10 -9
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +4 -7
- package/es/breadcrumb/src/styles/index.cssr.js +23 -23
- package/es/button/src/Button.d.ts +53 -61
- package/es/button/src/Button.js +5 -2
- package/es/button/src/ButtonGroup.d.ts +10 -11
- package/es/button/src/ButtonGroup.js +2 -1
- package/es/calendar/src/Calendar.d.ts +45 -46
- package/es/calendar/src/Calendar.js +52 -27
- package/es/calendar/src/interface.d.ts +4 -0
- package/es/calendar/src/styles/index.cssr.js +57 -57
- package/es/card/src/Card.d.ts +58 -58
- package/es/card/src/Card.js +30 -29
- package/es/card/src/styles/index.cssr.js +71 -69
- package/es/carousel/index.d.ts +1 -0
- package/es/carousel/index.js +1 -0
- package/es/carousel/src/Carousel.d.ts +271 -45
- package/es/carousel/src/Carousel.js +684 -233
- package/es/carousel/src/CarouselArrow.d.ts +9 -0
- package/es/carousel/src/CarouselArrow.js +43 -0
- package/es/carousel/src/CarouselDots.d.ts +72 -0
- package/es/carousel/src/CarouselDots.js +118 -0
- package/es/carousel/src/CarouselItem.d.ts +11 -0
- package/es/carousel/src/CarouselItem.js +75 -0
- package/es/carousel/src/interface.d.ts +35 -0
- package/es/carousel/src/interface.js +3 -0
- package/es/carousel/src/styles/index.cssr.js +150 -47
- package/es/carousel/src/utils.d.ts +12 -0
- package/es/carousel/src/utils.js +58 -0
- package/es/carousel/styles/light.d.ts +3 -0
- package/es/carousel/styles/light.js +5 -2
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/src/Cascader.d.ts +130 -97
- package/es/cascader/src/Cascader.js +45 -46
- package/es/cascader/src/CascaderMenu.d.ts +34 -24
- package/es/cascader/src/CascaderMenu.js +3 -5
- package/es/cascader/src/CascaderOption.d.ts +8 -5
- package/es/cascader/src/CascaderOption.js +7 -4
- package/es/cascader/src/CascaderSelectMenu.d.ts +26 -20
- package/es/cascader/src/CascaderSubmenu.d.ts +16 -9
- package/es/cascader/src/interface.d.ts +7 -2
- package/es/cascader/src/interface.js +2 -1
- package/es/cascader/src/styles/index.cssr.js +44 -44
- package/es/cascader/styles/light.d.ts +1 -0
- package/es/cascader/styles/light.js +1 -1
- package/es/checkbox/index.d.ts +1 -0
- package/es/checkbox/src/Checkbox.d.ts +66 -66
- package/es/checkbox/src/Checkbox.js +40 -28
- package/es/checkbox/src/CheckboxGroup.d.ts +23 -24
- package/es/checkbox/src/CheckboxGroup.js +2 -2
- package/es/checkbox/src/interface.d.ts +4 -0
- package/es/checkbox/src/styles/index.cssr.js +59 -59
- package/es/code/src/Code.d.ts +41 -44
- package/es/code/src/Code.js +32 -20
- package/es/code/src/styles/index.cssr.js +33 -30
- package/es/collapse/src/Collapse.d.ts +43 -41
- package/es/collapse/src/Collapse.js +10 -10
- package/es/collapse/src/CollapseItem.d.ts +5 -9
- package/es/collapse/src/CollapseItem.js +8 -15
- package/es/collapse/src/CollapseItemContent.d.ts +11 -9
- package/es/collapse/src/styles/index.cssr.js +24 -24
- package/es/collapse-transition/src/CollapseTransition.d.ts +19 -20
- package/es/collapse-transition/src/CollapseTransition.js +1 -1
- package/es/color-picker/src/AlphaSlider.d.ts +19 -14
- package/es/color-picker/src/ColorInput.d.ts +34 -19
- package/es/color-picker/src/ColorInputUnit.d.ts +15 -11
- package/es/color-picker/src/ColorInputUnit.js +2 -2
- package/es/color-picker/src/ColorPicker.d.ts +65 -62
- package/es/color-picker/src/ColorPicker.js +27 -20
- package/es/color-picker/src/ColorPickerSwatches.d.ts +18 -11
- package/es/color-picker/src/ColorPickerTrigger.d.ts +15 -12
- package/es/color-picker/src/ColorPickerTrigger.js +23 -17
- package/es/color-picker/src/ColorPreview.d.ts +19 -11
- package/es/color-picker/src/HueSlider.d.ts +15 -12
- package/es/color-picker/src/Pallete.d.ts +23 -16
- package/es/color-picker/src/interface.d.ts +2 -0
- package/es/color-picker/src/styles/index.cssr.js +29 -28
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/composables/use-theme-vars.d.ts +2 -1
- package/es/config-provider/src/ConfigProvider.d.ts +57 -37
- package/es/config-provider/src/ConfigProvider.js +6 -5
- package/es/config-provider/src/interface.d.ts +4 -1
- package/es/countdown/index.d.ts +2 -0
- package/es/countdown/index.js +1 -0
- package/es/countdown/src/Countdown.d.ts +73 -0
- package/es/countdown/src/Countdown.js +126 -0
- package/es/countdown/src/utils.d.ts +0 -0
- package/es/countdown/src/utils.js +1 -0
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +153 -198
- package/es/data-table/src/DataTable.js +65 -91
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +12 -7
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +36 -19
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +14 -9
- package/es/data-table/src/HeaderButton/RenderSorter.d.ts +10 -7
- package/es/data-table/src/HeaderButton/SortButton.d.ts +6 -5
- package/es/data-table/src/HeaderButton/SortButton.js +6 -6
- package/es/data-table/src/MainTable.d.ts +1 -1
- package/es/data-table/src/TableParts/Body.d.ts +13 -14
- package/es/data-table/src/TableParts/Body.js +8 -8
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +14 -9
- package/es/data-table/src/TableParts/Cell.d.ts +865 -855
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +11 -9
- package/es/data-table/src/TableParts/Header.d.ts +8 -5
- package/es/data-table/src/TableParts/SelectionMenu.d.ts +6 -5
- package/es/data-table/src/interface.d.ts +10 -7
- package/es/data-table/src/interface.js +2 -1
- package/es/data-table/src/styles/index.cssr.js +138 -135
- package/es/data-table/src/utils.js +4 -1
- package/es/data-table/styles/light.d.ts +1 -0
- package/es/date-picker/index.d.ts +1 -0
- package/es/date-picker/src/DatePicker.d.ts +132 -149
- package/es/date-picker/src/DatePicker.js +162 -157
- package/es/date-picker/src/interface.d.ts +23 -5
- package/es/date-picker/src/interface.js +2 -1
- package/es/date-picker/src/panel/date.d.ts +77 -34
- package/es/date-picker/src/panel/date.js +6 -7
- package/es/date-picker/src/panel/daterange.d.ts +31 -26
- package/es/date-picker/src/panel/daterange.js +6 -9
- package/es/date-picker/src/panel/datetime.d.ts +41 -30
- package/es/date-picker/src/panel/datetime.js +4 -5
- package/es/date-picker/src/panel/datetimerange.d.ts +31 -26
- package/es/date-picker/src/panel/datetimerange.js +5 -8
- package/es/date-picker/src/panel/month.d.ts +48 -32
- package/es/date-picker/src/panel/month.js +13 -4
- package/es/date-picker/src/panel/panelHeader.d.ts +2435 -0
- package/es/date-picker/src/panel/panelHeader.js +72 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +16 -4
- package/es/date-picker/src/panel/use-calendar.js +44 -5
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
- package/es/date-picker/src/panel/use-dual-calendar.js +10 -1
- package/es/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/es/date-picker/src/panel/use-panel-common.js +7 -1
- package/es/date-picker/src/styles/index.cssr.js +120 -117
- package/es/descriptions/src/Descriptions.d.ts +51 -51
- package/es/descriptions/src/Descriptions.js +19 -20
- package/es/descriptions/src/DescriptionsItem.d.ts +9 -12
- package/es/descriptions/src/styles/index.cssr.js +61 -61
- package/es/dialog/src/Dialog.d.ts +34 -45
- package/es/dialog/src/Dialog.js +28 -21
- package/es/dialog/src/DialogEnvironment.d.ts +41 -46
- package/es/dialog/src/DialogProvider.d.ts +8 -11
- package/es/dialog/src/DialogProvider.js +3 -3
- package/es/divider/src/Divider.d.ts +14 -19
- package/es/drawer/src/Drawer.d.ts +120 -123
- package/es/drawer/src/Drawer.js +62 -68
- package/es/drawer/src/DrawerBodyWrapper.d.ts +40 -16
- package/es/drawer/src/DrawerBodyWrapper.js +31 -14
- package/es/drawer/src/DrawerContent.d.ts +15 -20
- package/es/drawer/src/DrawerContent.js +6 -6
- package/es/drawer/src/interface.d.ts +3 -3
- package/es/drawer/src/interface.js +3 -2
- package/es/drawer/src/styles/index.cssr.js +41 -40
- package/es/dropdown/src/Dropdown.d.ts +113 -99
- package/es/dropdown/src/Dropdown.js +36 -34
- package/es/dropdown/src/DropdownDivider.d.ts +6 -5
- package/es/dropdown/src/DropdownGroup.d.ts +14 -9
- package/es/dropdown/src/DropdownGroupHeader.d.ts +10 -7
- package/es/dropdown/src/DropdownMenu.d.ts +18 -16
- package/es/dropdown/src/DropdownMenu.js +2 -1
- package/es/dropdown/src/DropdownOption.d.ts +19 -14
- package/es/dropdown/src/DropdownOption.js +2 -2
- package/es/dropdown/src/DropdownRenderOption.d.ts +6 -5
- package/es/dropdown/src/styles/index.cssr.js +59 -59
- package/es/dynamic-input/src/DynamicInput.d.ts +50 -45
- package/es/dynamic-input/src/DynamicInput.js +2 -2
- package/es/dynamic-input/src/InputPreset.d.ts +16 -14
- package/es/dynamic-input/src/PairPreset.d.ts +23 -18
- package/es/dynamic-input/src/interface.d.ts +2 -2
- package/es/dynamic-input/src/interface.js +2 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +41 -41
- package/es/element/src/Element.d.ts +9 -12
- package/es/ellipsis/src/Ellipsis.d.ts +14 -19
- package/es/empty/src/Empty.d.ts +40 -37
- package/es/empty/src/Empty.js +15 -19
- package/es/empty/src/styles/index.cssr.js +20 -19
- package/es/form/src/Feedbacks.d.ts +8 -10
- package/es/form/src/Feedbacks.js +4 -1
- package/es/form/src/Form.d.ts +44 -44
- package/es/form/src/Form.js +17 -8
- package/es/form/src/FormItem.d.ts +60 -70
- package/es/form/src/FormItem.js +45 -29
- package/es/form/src/FormItemCol.d.ts +63 -60
- package/es/form/src/FormItemCol.js +1 -0
- package/es/form/src/FormItemGridItem.d.ts +63 -66
- package/es/form/src/FormItemGridItem.js +1 -0
- package/es/form/src/FormItemRow.d.ts +68 -65
- package/es/form/src/FormItemRow.js +1 -0
- package/es/form/src/interface.d.ts +8 -4
- package/es/form/src/interface.js +3 -2
- package/es/form/src/styles/form-item.cssr.js +39 -37
- package/es/form/src/utils.d.ts +2 -2
- package/es/form/src/utils.js +29 -18
- package/es/global-style/src/GlobalStyle.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +21 -28
- package/es/gradient-text/src/GradientText.js +5 -5
- package/es/gradient-text/src/styles/index.cssr.js +9 -9
- package/es/grid/src/Grid.d.ts +27 -22
- package/es/grid/src/Grid.js +2 -2
- package/es/grid/src/GridItem.d.ts +18 -18
- package/es/grid/src/GridItem.js +3 -2
- package/es/icon/src/Icon.d.ts +17 -24
- package/es/icon/src/Icon.js +4 -4
- package/es/icon/src/styles/index.cssr.js +7 -7
- package/es/image/src/Image.d.ts +295 -39
- package/es/image/src/Image.js +4 -17
- package/es/image/src/ImageGroup.d.ts +274 -8
- package/es/image/src/ImageGroup.js +7 -9
- package/es/image/src/ImagePreview.d.ts +203 -18
- package/es/image/src/ImagePreview.js +70 -46
- package/es/image/src/interface.d.ts +94 -0
- package/es/image/src/interface.js +2 -1
- package/es/image/src/styles/index.cssr.js +11 -7
- package/es/image/styles/dark.js +8 -1
- package/es/image/styles/light.d.ts +32 -3
- package/es/image/styles/light.js +8 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/input/src/Input.d.ts +158 -155
- package/es/input/src/Input.js +123 -77
- package/es/input/src/InputGroup.d.ts +5 -9
- package/es/input/src/InputGroupLabel.d.ts +24 -25
- package/es/input/src/InputGroupLabel.js +12 -11
- package/es/input/src/WordCount.d.ts +1 -1
- package/es/input/src/interface.d.ts +2 -2
- package/es/input/src/interface.js +2 -1
- package/es/input/src/styles/input-group-label.cssr.js +18 -18
- package/es/input/src/styles/input.cssr.js +137 -155
- package/es/input-number/src/InputNumber.d.ts +68 -56
- package/es/input-number/src/InputNumber.js +5 -2
- package/es/input-number/src/utils.js +2 -1
- package/es/layout/src/Layout.d.ts +96 -71
- package/es/layout/src/Layout.js +5 -4
- package/es/layout/src/LayoutContent.d.ts +36 -34
- package/es/layout/src/LayoutFooter.d.ts +14 -19
- package/es/layout/src/LayoutFooter.js +7 -7
- package/es/layout/src/LayoutHeader.d.ts +17 -19
- package/es/layout/src/LayoutHeader.js +7 -7
- package/es/layout/src/LayoutSider.d.ts +64 -61
- package/es/layout/src/LayoutSider.js +13 -13
- package/es/layout/src/ToggleBar.d.ts +7 -8
- package/es/layout/src/ToggleButton.d.ts +7 -8
- package/es/layout/src/interface.d.ts +2 -2
- package/es/layout/src/interface.js +2 -1
- package/es/layout/src/styles/layout-footer.cssr.js +11 -11
- package/es/layout/src/styles/layout-header.cssr.js +11 -11
- package/es/layout/src/styles/layout-sider.cssr.js +45 -37
- package/es/layout/src/styles/layout.cssr.js +8 -8
- package/es/legacy-grid/src/Col.d.ts +18 -11
- package/es/legacy-grid/src/Row.d.ts +11 -13
- package/es/legacy-grid/src/Row.js +2 -2
- package/es/list/src/List.d.ts +29 -30
- package/es/list/src/List.js +17 -15
- package/es/list/src/ListItem.d.ts +1 -1
- package/es/list/src/ListItem.js +3 -3
- package/es/list/src/styles/index.cssr.js +30 -30
- package/es/loading-bar/src/LoadingBar.d.ts +4 -4
- package/es/loading-bar/src/LoadingBar.js +3 -3
- package/es/loading-bar/src/LoadingBarProvider.d.ts +22 -23
- package/es/loading-bar/src/LoadingBarProvider.js +7 -6
- package/es/loading-bar/src/styles/index.cssr.js +7 -7
- package/es/locales/common/deDE.js +10 -0
- package/es/locales/common/enUS.d.ts +9 -0
- package/es/locales/common/enUS.js +10 -0
- package/es/locales/common/esAR.d.ts +109 -0
- package/es/locales/common/esAR.js +110 -0
- package/es/locales/common/frFR.js +17 -8
- package/es/locales/common/idID.js +10 -0
- package/es/locales/common/itIT.d.ts +3 -0
- package/es/locales/common/itIT.js +109 -0
- package/es/locales/common/jaJP.js +10 -0
- package/es/locales/common/nbNO.js +10 -0
- package/es/locales/common/ruRU.js +10 -0
- package/es/locales/common/ukUA.js +10 -0
- package/es/locales/common/zhCN.js +9 -0
- package/es/locales/common/zhTW.js +10 -0
- package/es/locales/date/esAR.d.ts +3 -0
- package/es/locales/date/esAR.js +6 -0
- package/es/locales/date/itIT.d.ts +3 -0
- package/es/locales/date/itIT.js +6 -0
- package/es/locales/index.d.ts +4 -0
- package/es/locales/index.js +4 -0
- package/es/log/src/Log.d.ts +48 -46
- package/es/log/src/Log.js +2 -2
- package/es/log/src/LogLine.d.ts +6 -5
- package/es/log/src/LogLoader.d.ts +6 -5
- package/es/mention/src/Mention.d.ts +56 -57
- package/es/mention/src/Mention.js +1 -1
- package/es/mention/src/styles/index.cssr.js +2 -2
- package/es/mention/src/utils.js +0 -1
- package/es/menu/src/Menu.d.ts +87 -88
- package/es/menu/src/Menu.js +45 -42
- package/es/menu/src/MenuDivider.d.ts +1 -1
- package/es/menu/src/MenuOption.d.ts +22 -295
- package/es/menu/src/MenuOption.js +2 -1
- package/es/menu/src/MenuOptionContent.d.ts +33 -305
- package/es/menu/src/MenuOptionGroup.d.ts +20 -20
- package/es/menu/src/MenuOptionGroup.js +4 -3
- package/es/menu/src/Submenu.d.ts +35 -301
- package/es/menu/src/Submenu.js +4 -2
- package/es/menu/src/styles/index.cssr.js +71 -71
- package/es/menu/src/use-menu-child-props.d.ts +2 -1
- package/es/menu/src/use-menu-child.d.ts +5 -7
- package/es/menu/src/use-menu-child.js +0 -2
- package/es/message/index.d.ts +2 -1
- package/es/message/src/Message.d.ts +205 -53
- package/es/message/src/Message.js +35 -33
- package/es/message/src/MessageEnvironment.d.ts +28 -36
- package/es/message/src/MessageProvider.d.ts +29 -40
- package/es/message/src/MessageProvider.js +9 -9
- package/es/message/src/message-props.d.ts +5 -2
- package/es/message/src/styles/index.cssr.js +48 -48
- package/es/message/src/types.d.ts +15 -0
- package/es/message/src/types.js +1 -0
- package/es/modal/src/BodyWrapper.d.ts +97 -64
- package/es/modal/src/BodyWrapper.js +30 -21
- package/es/modal/src/Modal.d.ts +134 -966
- package/es/modal/src/Modal.js +27 -8
- package/es/modal/src/interface.d.ts +3 -3
- package/es/modal/src/interface.js +3 -2
- package/es/modal/src/presetProps.d.ts +2 -1
- package/es/modal/src/styles/index.cssr.js +8 -8
- package/es/notification/src/Notification.d.ts +44 -46
- package/es/notification/src/Notification.js +24 -24
- package/es/notification/src/NotificationContainer.d.ts +10 -7
- package/es/notification/src/NotificationEnvironment.d.ts +32 -40
- package/es/notification/src/NotificationProvider.d.ts +32 -35
- package/es/notification/src/NotificationProvider.js +8 -8
- package/es/notification/src/styles/index.cssr.js +65 -65
- package/es/number-animation/index.d.ts +3 -0
- package/es/number-animation/index.js +1 -0
- package/es/number-animation/src/NumberAnimation.d.ts +91 -0
- package/es/number-animation/src/NumberAnimation.js +96 -0
- package/es/number-animation/src/utils.d.ts +8 -0
- package/es/number-animation/src/utils.js +17 -0
- package/es/page-header/index.d.ts +1 -1
- package/es/page-header/src/PageHeader.d.ts +23 -31
- package/es/page-header/src/PageHeader.js +14 -15
- package/es/page-header/src/styles/index.cssr.js +23 -23
- package/es/pagination/index.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +107 -102
- package/es/pagination/src/Pagination.js +118 -64
- package/es/pagination/src/interface.d.ts +10 -1
- package/es/pagination/src/styles/index.cssr.js +81 -81
- package/es/pagination/src/utils.d.ts +2 -2
- package/es/pagination/src/utils.js +2 -4
- package/es/pagination/styles/light.d.ts +1 -0
- package/es/popconfirm/src/Popconfirm.d.ts +94 -86
- package/es/popconfirm/src/PopconfirmPanel.d.ts +20 -18
- package/es/popconfirm/src/PopconfirmPanel.js +8 -9
- package/es/popconfirm/src/interface.d.ts +2 -2
- package/es/popconfirm/src/interface.js +2 -1
- package/es/popconfirm/src/styles/index.cssr.js +8 -8
- package/es/popover/src/Popover.d.ts +93 -77
- package/es/popover/src/Popover.js +24 -1
- package/es/popover/src/PopoverBody.d.ts +35 -51
- package/es/popover/src/PopoverBody.js +47 -62
- package/es/popover/src/interface.d.ts +2 -2
- package/es/popover/src/interface.js +2 -1
- package/es/popover/src/styles/index.cssr.js +63 -62
- package/es/popselect/src/Popselect.d.ts +139 -155
- package/es/popselect/src/Popselect.js +2 -2
- package/es/popselect/src/PopselectPanel.d.ts +24 -30
- package/es/popselect/src/interface.d.ts +2 -2
- package/es/popselect/src/interface.js +2 -1
- package/es/progress/src/Circle.d.ts +40 -26
- package/es/progress/src/Circle.js +8 -1
- package/es/progress/src/Line.d.ts +37 -32
- package/es/progress/src/Line.js +4 -1
- package/es/progress/src/MultipleCircle.d.ts +38 -21
- package/es/progress/src/Progress.d.ts +71 -64
- package/es/progress/src/Progress.js +16 -16
- package/es/progress/src/styles/index.cssr.js +68 -68
- package/es/radio/src/Radio.d.ts +45 -46
- package/es/radio/src/Radio.js +15 -15
- package/es/radio/src/RadioButton.d.ts +24 -22
- package/es/radio/src/RadioGroup.d.ts +35 -41
- package/es/radio/src/RadioGroup.js +14 -14
- package/es/radio/src/styles/radio-group.cssr.js +43 -43
- package/es/radio/src/styles/radio.cssr.js +40 -37
- package/es/radio/src/use-radio.d.ts +2 -2
- package/es/radio/src/use-radio.js +2 -2
- package/es/rate/src/Rate.d.ts +30 -35
- package/es/rate/src/Rate.js +4 -4
- package/es/rate/src/styles/index.cssr.js +11 -11
- package/es/result/src/Result.d.ts +27 -30
- package/es/result/src/Result.js +18 -19
- package/es/result/src/styles/index.cssr.js +26 -26
- package/es/scrollbar/src/ScrollBar.d.ts +10 -17
- package/es/select/index.d.ts +1 -1
- package/es/select/src/Select.d.ts +135 -122
- package/es/select/src/Select.js +42 -65
- package/es/select/src/interface.d.ts +4 -0
- package/es/select/src/styles/index.cssr.js +2 -2
- package/es/select/styles/light.d.ts +1 -0
- package/es/skeleton/src/Skeleton.d.ts +29 -34
- package/es/skeleton/src/Skeleton.js +3 -3
- package/es/skeleton/src/styles/index.cssr.js +12 -12
- package/es/slider/src/Slider.d.ts +80 -80
- package/es/slider/src/Slider.js +31 -30
- package/es/slider/src/styles/index.cssr.js +87 -87
- package/es/space/src/Space.d.ts +24 -27
- package/es/spin/src/Spin.d.ts +33 -32
- package/es/spin/src/Spin.js +5 -5
- package/es/spin/src/styles/index.cssr.js +15 -15
- package/es/statistic/src/Statistic.d.ts +32 -60
- package/es/statistic/src/Statistic.js +15 -22
- package/es/statistic/src/styles/index.cssr.js +19 -19
- package/es/steps/src/Step.d.ts +9 -12
- package/es/steps/src/Step.js +5 -7
- package/es/steps/src/Steps.d.ts +20 -23
- package/es/steps/src/Steps.js +2 -2
- package/es/switch/src/Switch.d.ts +45 -40
- package/es/table/src/Table.d.ts +47 -46
- package/es/table/src/Table.js +21 -21
- package/es/table/src/Tbody.d.ts +1 -1
- package/es/table/src/Td.d.ts +1 -1
- package/es/table/src/Th.d.ts +1 -1
- package/es/table/src/Thead.d.ts +1 -1
- package/es/table/src/Tr.d.ts +1 -1
- package/es/table/src/styles/index.cssr.js +55 -55
- package/es/tabs/index.d.ts +1 -0
- package/es/tabs/src/Tab.d.ts +30 -37
- package/es/tabs/src/Tab.js +11 -4
- package/es/tabs/src/TabPane.d.ts +32 -38
- package/es/tabs/src/TabPane.js +14 -15
- package/es/tabs/src/Tabs.d.ts +39 -54
- package/es/tabs/src/Tabs.js +27 -24
- package/es/tabs/src/interface.d.ts +5 -2
- package/es/tabs/src/interface.js +2 -1
- package/es/tabs/src/styles/index.cssr.js +4 -1
- package/es/tabs/styles/light.js +1 -1
- package/es/tag/src/Tag.d.ts +43 -47
- package/es/tag/src/Tag.js +3 -2
- package/es/theme-editor/src/ThemeEditor.d.ts +1 -1
- package/es/theme-editor/src/ThemeEditor.js +161 -158
- package/es/themes/index.d.ts +1 -0
- package/es/themes/index.js +1 -0
- package/es/thing/src/Thing.d.ts +16 -23
- package/es/thing/src/Thing.js +25 -29
- package/es/thing/src/styles/index.cssr.js +11 -11
- package/es/time/src/Time.d.ts +18 -18
- package/es/time-picker/index.d.ts +1 -0
- package/es/time-picker/src/Panel.d.ts +75 -72
- package/es/time-picker/src/PanelCol.d.ts +15 -12
- package/es/time-picker/src/TimePicker.d.ts +111 -78
- package/es/time-picker/src/TimePicker.js +76 -70
- package/es/time-picker/src/interface.d.ts +10 -4
- package/es/time-picker/src/interface.js +2 -1
- package/es/timeline/src/Timeline.d.ts +21 -24
- package/es/timeline/src/Timeline.js +2 -1
- package/es/timeline/src/TimelineItem.d.ts +10 -14
- package/es/timeline/src/TimelineItem.js +4 -4
- package/es/tooltip/src/Tooltip.d.ts +85 -75
- package/es/transfer/src/Transfer.d.ts +60 -64
- package/es/transfer/src/Transfer.js +21 -21
- package/es/transfer/src/TransferFilter.d.ts +17 -16
- package/es/transfer/src/TransferHeader.d.ts +11 -10
- package/es/transfer/src/TransferList.d.ts +35 -19
- package/es/transfer/src/TransferList.js +5 -7
- package/es/transfer/src/TransferListItem.d.ts +18 -11
- package/es/transfer/src/interface.d.ts +2 -2
- package/es/transfer/src/interface.js +2 -1
- package/es/transfer/src/styles/index.cssr.js +38 -38
- package/es/tree/src/MotionWrapper.d.ts +19 -14
- package/es/tree/src/Tree.d.ts +127 -134
- package/es/tree/src/Tree.js +4 -2
- package/es/tree/src/TreeNode.d.ts +10 -7
- package/es/tree/src/TreeNodeCheckbox.d.ts +11 -16
- package/es/tree/src/TreeNodeContent.d.ts +15 -18
- package/es/tree/src/TreeNodeSwitcher.d.ts +10 -14
- package/es/tree/src/TreeNodeSwitcher.js +25 -14
- package/es/tree/src/interface.d.ts +4 -2
- package/es/tree/src/interface.js +2 -1
- package/es/tree/src/styles/index.cssr.js +4 -2
- package/es/tree-select/src/TreeSelect.d.ts +112 -97
- package/es/tree-select/src/TreeSelect.js +2 -4
- package/es/tree-select/src/interface.d.ts +2 -2
- package/es/tree-select/src/interface.js +2 -1
- package/es/tree-select/styles/light.d.ts +1 -0
- package/es/typography/src/a.d.ts +8 -12
- package/es/typography/src/blockquote.d.ts +9 -15
- package/es/typography/src/create-header.d.ts +14 -19
- package/es/typography/src/headers.d.ts +84 -114
- package/es/typography/src/hr.d.ts +8 -12
- package/es/typography/src/li.d.ts +1 -1
- package/es/typography/src/ol.d.ts +9 -15
- package/es/typography/src/p.d.ts +9 -14
- package/es/typography/src/text.d.ts +24 -31
- package/es/typography/src/text.js +4 -3
- package/es/typography/src/ul.d.ts +9 -15
- package/es/upload/src/Upload.d.ts +95 -85
- package/es/upload/src/Upload.js +22 -10
- package/es/upload/src/UploadDragger.d.ts +1 -1
- package/es/upload/src/UploadFile.d.ts +18 -13
- package/es/upload/src/UploadFileList.d.ts +1 -1
- package/es/upload/src/UploadFileList.js +2 -2
- package/es/upload/src/UploadProgress.d.ts +11 -9
- package/es/upload/src/UploadTrigger.d.ts +3 -5
- package/es/upload/src/interface.d.ts +14 -6
- package/es/upload/src/interface.js +2 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/clear/src/Clear.d.ts +8 -10
- package/lib/_internal/clear/src/styles/index.cssr.js +10 -10
- package/lib/_internal/close/src/Close.d.ts +11 -10
- package/lib/_internal/close/src/styles/index.cssr.js +9 -10
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +10 -20
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +4 -7
- package/lib/_internal/icon/src/Icon.d.ts +19 -20
- package/lib/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
- package/lib/_internal/icons/Add.d.ts +1 -1
- package/lib/_internal/icons/ArrowBack.d.ts +1 -1
- package/lib/_internal/icons/ArrowDown.d.ts +1 -1
- package/lib/_internal/icons/Attach.d.ts +1 -1
- package/lib/_internal/icons/Backward.d.ts +1 -1
- package/lib/_internal/icons/Cancel.d.ts +1 -1
- package/lib/_internal/icons/Checkmark.d.ts +1 -1
- package/lib/_internal/icons/ChevronDown.d.ts +1 -1
- package/lib/_internal/icons/ChevronDownFilled.d.ts +1 -1
- package/lib/_internal/icons/ChevronLeft.d.ts +1 -1
- package/lib/_internal/icons/ChevronRight.d.ts +1 -1
- package/lib/_internal/icons/Clear.d.ts +1 -1
- package/lib/_internal/icons/Close.d.ts +1 -1
- package/lib/_internal/icons/Close.js +1 -1
- package/lib/_internal/icons/Date.d.ts +1 -1
- package/lib/_internal/icons/Download.d.ts +1 -1
- package/lib/_internal/icons/Empty.d.ts +1 -1
- package/lib/_internal/icons/Error.d.ts +1 -1
- package/lib/_internal/icons/Eye.d.ts +1 -1
- package/lib/_internal/icons/EyeOff.d.ts +1 -1
- package/lib/_internal/icons/FastBackward.d.ts +1 -1
- package/lib/_internal/icons/FastForward.d.ts +1 -1
- package/lib/_internal/icons/File.d.ts +1 -1
- package/lib/_internal/icons/Filter.d.ts +1 -1
- package/lib/_internal/icons/Forward.d.ts +1 -1
- package/lib/_internal/icons/Info.d.ts +1 -1
- package/lib/_internal/icons/More.d.ts +1 -1
- package/lib/_internal/icons/Photo.d.ts +1 -1
- package/lib/_internal/icons/Remove.d.ts +1 -1
- package/lib/_internal/icons/Retry.d.ts +1 -1
- package/lib/_internal/icons/RotateClockwise.d.ts +1 -1
- package/lib/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/lib/_internal/icons/Search.d.ts +1 -1
- package/lib/_internal/icons/Success.d.ts +1 -1
- package/lib/_internal/icons/Switcher.d.ts +1 -1
- package/lib/_internal/icons/Switcher.js +2 -3
- package/lib/_internal/icons/Time.d.ts +1 -1
- package/lib/_internal/icons/To.d.ts +1 -1
- package/lib/_internal/icons/Trash.d.ts +1 -1
- package/lib/_internal/icons/Warning.d.ts +1 -1
- package/lib/_internal/icons/ZoomIn.d.ts +1 -1
- package/lib/_internal/icons/ZoomOut.d.ts +1 -1
- package/lib/_internal/icons/replaceable.d.ts +1 -1
- package/lib/_internal/loading/src/Loading.d.ts +26 -16
- package/lib/_internal/menu-mask/src/MenuMask.d.ts +6 -5
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +60 -64
- package/lib/_internal/scrollbar/src/ScrollBar.js +95 -72
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +15 -15
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +10 -7
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +88 -84
- package/lib/_internal/select-menu/src/SelectMenu.js +42 -41
- package/lib/_internal/select-menu/src/SelectOption.d.ts +10 -7
- package/lib/_internal/select-menu/src/interface.d.ts +3 -3
- package/lib/_internal/select-menu/src/interface.js +3 -2
- package/lib/_internal/select-menu/src/styles/index.cssr.js +35 -35
- package/lib/_internal/select-menu/styles/_common.js +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +111 -113
- package/lib/_internal/selection/src/Selection.js +69 -52
- package/lib/_internal/selection/src/styles/index.cssr.js +80 -79
- package/lib/_internal/selection/styles/_common.d.ts +1 -0
- package/lib/_internal/selection/styles/_common.js +2 -1
- package/lib/_internal/selection/styles/light.d.ts +2 -0
- package/lib/_internal/slot-machine/src/SlotMachine.d.ts +18 -12
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +18 -12
- package/lib/_internal/suffix/src/Suffix.d.ts +19 -14
- package/lib/_internal/suffix/src/Suffix.js +7 -2
- package/lib/_internal/wave/src/Wave.d.ts +6 -5
- package/lib/_mixins/common.d.ts +1 -0
- package/lib/_mixins/common.js +4 -0
- package/lib/_mixins/index.d.ts +1 -0
- package/lib/_mixins/index.js +3 -1
- package/lib/_mixins/use-css-vars-class.d.ts +2 -0
- package/lib/_mixins/use-css-vars-class.js +29 -0
- package/lib/_mixins/use-form-item.d.ts +2 -2
- package/lib/_mixins/use-form-item.js +2 -1
- package/lib/_mixins/use-locale.d.ts +1 -1
- package/lib/_mixins/use-locale.js +2 -2
- package/lib/_mixins/use-rtl.js +2 -0
- package/lib/_mixins/use-style.js +3 -0
- package/lib/_mixins/use-theme.js +3 -0
- package/lib/_utils/composable/use-houdini.js +2 -2
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/_utils/vue/create-injection-key.d.ts +2 -0
- package/lib/_utils/vue/create-injection-key.js +7 -0
- package/lib/_utils/vue/index.d.ts +2 -0
- package/lib/_utils/vue/index.js +5 -1
- package/lib/_utils/vue/resolve-slot.d.ts +2 -0
- package/lib/_utils/vue/resolve-slot.js +24 -0
- package/lib/affix/src/Affix.d.ts +26 -22
- package/lib/alert/src/Alert.d.ts +35 -28
- package/lib/alert/src/Alert.js +1 -3
- package/lib/anchor/src/AnchorAdapter.d.ts +52 -47
- package/lib/anchor/src/BaseAnchor.d.ts +25 -20
- package/lib/anchor/src/Link.d.ts +6 -9
- package/lib/anchor/src/Link.js +4 -3
- package/lib/auto-complete/src/AutoComplete.d.ts +60 -67
- package/lib/auto-complete/src/AutoComplete.js +14 -16
- package/lib/avatar/index.d.ts +2 -0
- package/lib/avatar/index.js +3 -1
- package/lib/avatar/src/Avatar.d.ts +87 -51
- package/lib/avatar/src/Avatar.js +41 -12
- package/lib/avatar/src/AvatarGroup.d.ts +48 -0
- package/lib/avatar/src/AvatarGroup.js +70 -0
- package/lib/avatar/src/interface.d.ts +2 -0
- package/lib/avatar/src/interface.js +2 -0
- package/lib/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
- package/lib/avatar/src/styles/avatar-group.cssr.js +21 -0
- package/lib/avatar/src/styles/index.cssr.js +7 -2
- package/lib/avatar/styles/light.d.ts +3 -0
- package/lib/avatar/styles/light.js +6 -2
- package/lib/back-top/src/BackTop.d.ts +50 -35
- package/lib/back-top/src/BackTop.js +1 -3
- package/lib/badge/src/Badge.d.ts +31 -29
- package/lib/badge/src/Badge.js +5 -4
- package/lib/breadcrumb/src/Breadcrumb.d.ts +23 -26
- package/lib/breadcrumb/src/Breadcrumb.js +10 -9
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +4 -7
- package/lib/breadcrumb/src/styles/index.cssr.js +23 -23
- package/lib/button/src/Button.d.ts +53 -61
- package/lib/button/src/Button.js +4 -1
- package/lib/button/src/ButtonGroup.d.ts +10 -11
- package/lib/button/src/ButtonGroup.js +2 -1
- package/lib/calendar/src/Calendar.d.ts +45 -46
- package/lib/calendar/src/Calendar.js +51 -26
- package/lib/calendar/src/interface.d.ts +4 -0
- package/lib/calendar/src/styles/index.cssr.js +57 -57
- package/lib/card/src/Card.d.ts +58 -58
- package/lib/card/src/Card.js +29 -28
- package/lib/card/src/styles/index.cssr.js +71 -69
- package/lib/carousel/index.d.ts +1 -0
- package/lib/carousel/index.js +3 -1
- package/lib/carousel/src/Carousel.d.ts +271 -45
- package/lib/carousel/src/Carousel.js +682 -231
- package/lib/carousel/src/CarouselArrow.d.ts +9 -0
- package/lib/carousel/src/CarouselArrow.js +45 -0
- package/lib/carousel/src/CarouselDots.d.ts +72 -0
- package/lib/carousel/src/CarouselDots.js +120 -0
- package/lib/carousel/src/CarouselItem.d.ts +11 -0
- package/lib/carousel/src/CarouselItem.js +77 -0
- package/lib/carousel/src/interface.d.ts +35 -0
- package/lib/carousel/src/interface.js +7 -0
- package/lib/carousel/src/styles/index.cssr.js +150 -47
- package/lib/carousel/src/utils.d.ts +12 -0
- package/lib/carousel/src/utils.js +69 -0
- package/lib/carousel/styles/light.d.ts +3 -0
- package/lib/carousel/styles/light.js +5 -2
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/src/Cascader.d.ts +130 -97
- package/lib/cascader/src/Cascader.js +45 -46
- package/lib/cascader/src/CascaderMenu.d.ts +34 -24
- package/lib/cascader/src/CascaderMenu.js +2 -4
- package/lib/cascader/src/CascaderOption.d.ts +8 -5
- package/lib/cascader/src/CascaderOption.js +7 -4
- package/lib/cascader/src/CascaderSelectMenu.d.ts +26 -20
- package/lib/cascader/src/CascaderSubmenu.d.ts +16 -9
- package/lib/cascader/src/interface.d.ts +7 -2
- package/lib/cascader/src/interface.js +2 -1
- package/lib/cascader/src/styles/index.cssr.js +44 -44
- package/lib/cascader/styles/light.d.ts +1 -0
- package/lib/cascader/styles/light.js +1 -1
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/checkbox/src/Checkbox.d.ts +66 -66
- package/lib/checkbox/src/Checkbox.js +39 -27
- package/lib/checkbox/src/CheckboxGroup.d.ts +23 -24
- package/lib/checkbox/src/CheckboxGroup.js +1 -1
- package/lib/checkbox/src/interface.d.ts +4 -0
- package/lib/checkbox/src/styles/index.cssr.js +59 -59
- package/lib/code/src/Code.d.ts +41 -44
- package/lib/code/src/Code.js +32 -20
- package/lib/code/src/styles/index.cssr.js +32 -29
- package/lib/collapse/src/Collapse.d.ts +43 -41
- package/lib/collapse/src/Collapse.js +9 -9
- package/lib/collapse/src/CollapseItem.d.ts +5 -9
- package/lib/collapse/src/CollapseItem.js +7 -14
- package/lib/collapse/src/CollapseItemContent.d.ts +11 -9
- package/lib/collapse/src/styles/index.cssr.js +24 -24
- package/lib/collapse-transition/src/CollapseTransition.d.ts +19 -20
- package/lib/collapse-transition/src/CollapseTransition.js +1 -1
- package/lib/color-picker/src/AlphaSlider.d.ts +19 -14
- package/lib/color-picker/src/ColorInput.d.ts +34 -19
- package/lib/color-picker/src/ColorInputUnit.d.ts +15 -11
- package/lib/color-picker/src/ColorInputUnit.js +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +65 -62
- package/lib/color-picker/src/ColorPicker.js +27 -20
- package/lib/color-picker/src/ColorPickerSwatches.d.ts +18 -11
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +15 -12
- package/lib/color-picker/src/ColorPickerTrigger.js +22 -16
- package/lib/color-picker/src/ColorPreview.d.ts +19 -11
- package/lib/color-picker/src/HueSlider.d.ts +15 -12
- package/lib/color-picker/src/Pallete.d.ts +23 -16
- package/lib/color-picker/src/interface.d.ts +2 -0
- package/lib/color-picker/src/styles/index.cssr.js +29 -28
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/composables/use-theme-vars.d.ts +2 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +57 -37
- package/lib/config-provider/src/ConfigProvider.js +4 -3
- package/lib/config-provider/src/interface.d.ts +4 -1
- package/lib/countdown/index.d.ts +2 -0
- package/lib/countdown/index.js +8 -0
- package/lib/countdown/src/Countdown.d.ts +73 -0
- package/lib/countdown/src/Countdown.js +128 -0
- package/lib/countdown/src/utils.d.ts +0 -0
- package/lib/countdown/src/utils.js +1 -0
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +153 -198
- package/lib/data-table/src/DataTable.js +63 -89
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +12 -7
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +36 -19
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +14 -9
- package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +10 -7
- package/lib/data-table/src/HeaderButton/SortButton.d.ts +6 -5
- package/lib/data-table/src/HeaderButton/SortButton.js +6 -6
- package/lib/data-table/src/MainTable.d.ts +1 -1
- package/lib/data-table/src/TableParts/Body.d.ts +13 -14
- package/lib/data-table/src/TableParts/Body.js +7 -7
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +14 -9
- package/lib/data-table/src/TableParts/Cell.d.ts +865 -855
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +11 -9
- package/lib/data-table/src/TableParts/Header.d.ts +8 -5
- package/lib/data-table/src/TableParts/SelectionMenu.d.ts +6 -5
- package/lib/data-table/src/interface.d.ts +10 -7
- package/lib/data-table/src/interface.js +2 -1
- package/lib/data-table/src/styles/index.cssr.js +138 -135
- package/lib/data-table/src/utils.js +3 -0
- package/lib/data-table/styles/light.d.ts +1 -0
- package/lib/date-picker/index.d.ts +1 -0
- package/lib/date-picker/src/DatePicker.d.ts +132 -149
- package/lib/date-picker/src/DatePicker.js +159 -154
- package/lib/date-picker/src/interface.d.ts +23 -5
- package/lib/date-picker/src/interface.js +2 -1
- package/lib/date-picker/src/panel/date.d.ts +77 -34
- package/lib/date-picker/src/panel/date.js +8 -6
- package/lib/date-picker/src/panel/daterange.d.ts +31 -26
- package/lib/date-picker/src/panel/daterange.js +8 -8
- package/lib/date-picker/src/panel/datetime.d.ts +41 -30
- package/lib/date-picker/src/panel/datetime.js +6 -4
- package/lib/date-picker/src/panel/datetimerange.d.ts +31 -26
- package/lib/date-picker/src/panel/datetimerange.js +7 -7
- package/lib/date-picker/src/panel/month.d.ts +48 -32
- package/lib/date-picker/src/panel/month.js +12 -3
- package/lib/date-picker/src/panel/panelHeader.d.ts +2435 -0
- package/lib/date-picker/src/panel/panelHeader.js +77 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +16 -4
- package/lib/date-picker/src/panel/use-calendar.js +43 -4
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
- package/lib/date-picker/src/panel/use-dual-calendar.js +10 -1
- package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/lib/date-picker/src/panel/use-panel-common.js +7 -1
- package/lib/date-picker/src/styles/index.cssr.js +120 -117
- package/lib/descriptions/src/Descriptions.d.ts +51 -51
- package/lib/descriptions/src/Descriptions.js +19 -20
- package/lib/descriptions/src/DescriptionsItem.d.ts +9 -12
- package/lib/descriptions/src/styles/index.cssr.js +61 -61
- package/lib/dialog/src/Dialog.d.ts +34 -45
- package/lib/dialog/src/Dialog.js +27 -20
- package/lib/dialog/src/DialogEnvironment.d.ts +41 -46
- package/lib/dialog/src/DialogProvider.d.ts +8 -11
- package/lib/dialog/src/DialogProvider.js +2 -2
- package/lib/divider/src/Divider.d.ts +14 -19
- package/lib/drawer/src/Drawer.d.ts +120 -123
- package/lib/drawer/src/Drawer.js +60 -66
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +40 -16
- package/lib/drawer/src/DrawerBodyWrapper.js +31 -14
- package/lib/drawer/src/DrawerContent.d.ts +15 -20
- package/lib/drawer/src/DrawerContent.js +6 -6
- package/lib/drawer/src/interface.d.ts +3 -3
- package/lib/drawer/src/interface.js +3 -2
- package/lib/drawer/src/styles/index.cssr.js +41 -40
- package/lib/dropdown/src/Dropdown.d.ts +113 -99
- package/lib/dropdown/src/Dropdown.js +35 -33
- package/lib/dropdown/src/DropdownDivider.d.ts +6 -5
- package/lib/dropdown/src/DropdownGroup.d.ts +14 -9
- package/lib/dropdown/src/DropdownGroupHeader.d.ts +10 -7
- package/lib/dropdown/src/DropdownMenu.d.ts +18 -16
- package/lib/dropdown/src/DropdownMenu.js +2 -1
- package/lib/dropdown/src/DropdownOption.d.ts +19 -14
- package/lib/dropdown/src/DropdownOption.js +1 -1
- package/lib/dropdown/src/DropdownRenderOption.d.ts +6 -5
- package/lib/dropdown/src/styles/index.cssr.js +59 -59
- package/lib/dynamic-input/src/DynamicInput.d.ts +50 -45
- package/lib/dynamic-input/src/DynamicInput.js +1 -1
- package/lib/dynamic-input/src/InputPreset.d.ts +16 -14
- package/lib/dynamic-input/src/PairPreset.d.ts +23 -18
- package/lib/dynamic-input/src/interface.d.ts +2 -2
- package/lib/dynamic-input/src/interface.js +2 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +41 -41
- package/lib/element/src/Element.d.ts +9 -12
- package/lib/ellipsis/src/Ellipsis.d.ts +14 -19
- package/lib/empty/src/Empty.d.ts +40 -37
- package/lib/empty/src/Empty.js +14 -18
- package/lib/empty/src/styles/index.cssr.js +19 -18
- package/lib/form/src/Feedbacks.d.ts +8 -10
- package/lib/form/src/Feedbacks.js +4 -1
- package/lib/form/src/Form.d.ts +44 -44
- package/lib/form/src/Form.js +16 -7
- package/lib/form/src/FormItem.d.ts +60 -70
- package/lib/form/src/FormItem.js +44 -28
- package/lib/form/src/FormItemCol.d.ts +63 -60
- package/lib/form/src/FormItemCol.js +1 -0
- package/lib/form/src/FormItemGridItem.d.ts +63 -66
- package/lib/form/src/FormItemGridItem.js +1 -0
- package/lib/form/src/FormItemRow.d.ts +68 -65
- package/lib/form/src/FormItemRow.js +1 -0
- package/lib/form/src/interface.d.ts +8 -4
- package/lib/form/src/interface.js +3 -2
- package/lib/form/src/styles/form-item.cssr.js +39 -37
- package/lib/form/src/utils.d.ts +2 -2
- package/lib/form/src/utils.js +29 -18
- package/lib/global-style/src/GlobalStyle.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +21 -28
- package/lib/gradient-text/src/GradientText.js +5 -5
- package/lib/gradient-text/src/styles/index.cssr.js +9 -9
- package/lib/grid/src/Grid.d.ts +27 -22
- package/lib/grid/src/Grid.js +1 -1
- package/lib/grid/src/GridItem.d.ts +18 -18
- package/lib/grid/src/GridItem.js +2 -1
- package/lib/icon/src/Icon.d.ts +17 -24
- package/lib/icon/src/Icon.js +4 -4
- package/lib/icon/src/styles/index.cssr.js +7 -7
- package/lib/image/src/Image.d.ts +295 -39
- package/lib/image/src/Image.js +4 -17
- package/lib/image/src/ImageGroup.d.ts +274 -8
- package/lib/image/src/ImageGroup.js +6 -8
- package/lib/image/src/ImagePreview.d.ts +203 -18
- package/lib/image/src/ImagePreview.js +68 -44
- package/lib/image/src/interface.d.ts +94 -0
- package/lib/image/src/interface.js +3 -0
- package/lib/image/src/styles/index.cssr.js +11 -7
- package/lib/image/styles/dark.js +8 -1
- package/lib/image/styles/light.d.ts +32 -3
- package/lib/image/styles/light.js +8 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -1
- package/lib/input/src/Input.d.ts +158 -155
- package/lib/input/src/Input.js +122 -76
- package/lib/input/src/InputGroup.d.ts +5 -9
- package/lib/input/src/InputGroupLabel.d.ts +24 -25
- package/lib/input/src/InputGroupLabel.js +11 -10
- package/lib/input/src/WordCount.d.ts +1 -1
- package/lib/input/src/interface.d.ts +2 -2
- package/lib/input/src/interface.js +2 -1
- package/lib/input/src/styles/input-group-label.cssr.js +18 -18
- package/lib/input/src/styles/input.cssr.js +137 -155
- package/lib/input-number/src/InputNumber.d.ts +68 -56
- package/lib/input-number/src/InputNumber.js +5 -2
- package/lib/input-number/src/utils.js +2 -1
- package/lib/layout/src/Layout.d.ts +96 -71
- package/lib/layout/src/Layout.js +5 -4
- package/lib/layout/src/LayoutContent.d.ts +36 -34
- package/lib/layout/src/LayoutFooter.d.ts +14 -19
- package/lib/layout/src/LayoutFooter.js +7 -7
- package/lib/layout/src/LayoutHeader.d.ts +17 -19
- package/lib/layout/src/LayoutHeader.js +7 -7
- package/lib/layout/src/LayoutSider.d.ts +64 -61
- package/lib/layout/src/LayoutSider.js +13 -13
- package/lib/layout/src/ToggleBar.d.ts +7 -8
- package/lib/layout/src/ToggleButton.d.ts +7 -8
- package/lib/layout/src/interface.d.ts +2 -2
- package/lib/layout/src/interface.js +2 -1
- package/lib/layout/src/styles/layout-footer.cssr.js +11 -11
- package/lib/layout/src/styles/layout-header.cssr.js +11 -11
- package/lib/layout/src/styles/layout-sider.cssr.js +45 -37
- package/lib/layout/src/styles/layout.cssr.js +8 -8
- package/lib/legacy-grid/src/Col.d.ts +18 -11
- package/lib/legacy-grid/src/Row.d.ts +11 -13
- package/lib/legacy-grid/src/Row.js +1 -1
- package/lib/list/src/List.d.ts +29 -30
- package/lib/list/src/List.js +16 -14
- package/lib/list/src/ListItem.d.ts +1 -1
- package/lib/list/src/ListItem.js +2 -2
- package/lib/list/src/styles/index.cssr.js +30 -30
- package/lib/loading-bar/src/LoadingBar.d.ts +4 -4
- package/lib/loading-bar/src/LoadingBar.js +3 -3
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +22 -23
- package/lib/loading-bar/src/LoadingBarProvider.js +6 -5
- package/lib/loading-bar/src/styles/index.cssr.js +7 -7
- package/lib/locales/common/deDE.js +10 -0
- package/lib/locales/common/enUS.d.ts +9 -0
- package/lib/locales/common/enUS.js +10 -0
- package/lib/locales/common/esAR.d.ts +109 -0
- package/lib/locales/common/esAR.js +112 -0
- package/lib/locales/common/frFR.js +17 -8
- package/lib/locales/common/idID.js +10 -0
- package/lib/locales/common/itIT.d.ts +3 -0
- package/lib/locales/common/itIT.js +111 -0
- package/lib/locales/common/jaJP.js +10 -0
- package/lib/locales/common/nbNO.js +10 -0
- package/lib/locales/common/ruRU.js +10 -0
- package/lib/locales/common/ukUA.js +10 -0
- package/lib/locales/common/zhCN.js +9 -0
- package/lib/locales/common/zhTW.js +10 -0
- package/lib/locales/date/esAR.d.ts +3 -0
- package/lib/locales/date/esAR.js +11 -0
- package/lib/locales/date/itIT.d.ts +3 -0
- package/lib/locales/date/itIT.js +11 -0
- package/lib/locales/index.d.ts +4 -0
- package/lib/locales/index.js +9 -1
- package/lib/log/src/Log.d.ts +48 -46
- package/lib/log/src/Log.js +1 -1
- package/lib/log/src/LogLine.d.ts +6 -5
- package/lib/log/src/LogLoader.d.ts +6 -5
- package/lib/mention/src/Mention.d.ts +56 -57
- package/lib/mention/src/Mention.js +1 -1
- package/lib/mention/src/styles/index.cssr.js +2 -2
- package/lib/mention/src/utils.js +0 -1
- package/lib/menu/src/Menu.d.ts +87 -88
- package/lib/menu/src/Menu.js +44 -41
- package/lib/menu/src/MenuDivider.d.ts +1 -1
- package/lib/menu/src/MenuOption.d.ts +22 -295
- package/lib/menu/src/MenuOption.js +2 -1
- package/lib/menu/src/MenuOptionContent.d.ts +33 -305
- package/lib/menu/src/MenuOptionGroup.d.ts +20 -20
- package/lib/menu/src/MenuOptionGroup.js +3 -2
- package/lib/menu/src/Submenu.d.ts +35 -301
- package/lib/menu/src/Submenu.js +4 -2
- package/lib/menu/src/styles/index.cssr.js +71 -71
- package/lib/menu/src/use-menu-child-props.d.ts +2 -1
- package/lib/menu/src/use-menu-child.d.ts +5 -7
- package/lib/menu/src/use-menu-child.js +1 -3
- package/lib/message/index.d.ts +2 -1
- package/lib/message/src/Message.d.ts +205 -53
- package/lib/message/src/Message.js +35 -33
- package/lib/message/src/MessageEnvironment.d.ts +28 -36
- package/lib/message/src/MessageProvider.d.ts +29 -40
- package/lib/message/src/MessageProvider.js +7 -7
- package/lib/message/src/message-props.d.ts +5 -2
- package/lib/message/src/styles/index.cssr.js +48 -48
- package/lib/message/src/types.d.ts +15 -0
- package/lib/message/src/types.js +2 -0
- package/lib/modal/src/BodyWrapper.d.ts +97 -64
- package/lib/modal/src/BodyWrapper.js +30 -21
- package/lib/modal/src/Modal.d.ts +134 -966
- package/lib/modal/src/Modal.js +27 -8
- package/lib/modal/src/interface.d.ts +3 -3
- package/lib/modal/src/interface.js +3 -2
- package/lib/modal/src/presetProps.d.ts +2 -1
- package/lib/modal/src/styles/index.cssr.js +8 -8
- package/lib/notification/src/Notification.d.ts +44 -46
- package/lib/notification/src/Notification.js +24 -24
- package/lib/notification/src/NotificationContainer.d.ts +10 -7
- package/lib/notification/src/NotificationEnvironment.d.ts +32 -40
- package/lib/notification/src/NotificationProvider.d.ts +32 -35
- package/lib/notification/src/NotificationProvider.js +6 -6
- package/lib/notification/src/styles/index.cssr.js +65 -65
- package/lib/number-animation/index.d.ts +3 -0
- package/lib/number-animation/index.js +8 -0
- package/lib/number-animation/src/NumberAnimation.d.ts +91 -0
- package/lib/number-animation/src/NumberAnimation.js +98 -0
- package/lib/number-animation/src/utils.d.ts +8 -0
- package/lib/number-animation/src/utils.js +21 -0
- package/lib/page-header/index.d.ts +1 -1
- package/lib/page-header/src/PageHeader.d.ts +23 -31
- package/lib/page-header/src/PageHeader.js +14 -15
- package/lib/page-header/src/styles/index.cssr.js +23 -23
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +107 -102
- package/lib/pagination/src/Pagination.js +117 -63
- package/lib/pagination/src/interface.d.ts +10 -1
- package/lib/pagination/src/styles/index.cssr.js +81 -81
- package/lib/pagination/src/utils.d.ts +2 -2
- package/lib/pagination/src/utils.js +2 -4
- package/lib/pagination/styles/light.d.ts +1 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +94 -86
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +20 -18
- package/lib/popconfirm/src/PopconfirmPanel.js +7 -8
- package/lib/popconfirm/src/interface.d.ts +2 -2
- package/lib/popconfirm/src/interface.js +2 -1
- package/lib/popconfirm/src/styles/index.cssr.js +8 -8
- package/lib/popover/src/Popover.d.ts +93 -77
- package/lib/popover/src/Popover.js +23 -0
- package/lib/popover/src/PopoverBody.d.ts +35 -51
- package/lib/popover/src/PopoverBody.js +45 -60
- package/lib/popover/src/interface.d.ts +2 -2
- package/lib/popover/src/interface.js +2 -1
- package/lib/popover/src/styles/index.cssr.js +63 -62
- package/lib/popselect/src/Popselect.d.ts +139 -155
- package/lib/popselect/src/Popselect.js +2 -2
- package/lib/popselect/src/PopselectPanel.d.ts +24 -30
- package/lib/popselect/src/interface.d.ts +2 -2
- package/lib/popselect/src/interface.js +2 -1
- package/lib/progress/src/Circle.d.ts +40 -26
- package/lib/progress/src/Circle.js +8 -1
- package/lib/progress/src/Line.d.ts +37 -32
- package/lib/progress/src/Line.js +4 -1
- package/lib/progress/src/MultipleCircle.d.ts +38 -21
- package/lib/progress/src/Progress.d.ts +71 -64
- package/lib/progress/src/Progress.js +16 -16
- package/lib/progress/src/styles/index.cssr.js +68 -68
- package/lib/radio/src/Radio.d.ts +45 -46
- package/lib/radio/src/Radio.js +15 -15
- package/lib/radio/src/RadioButton.d.ts +24 -22
- package/lib/radio/src/RadioGroup.d.ts +35 -41
- package/lib/radio/src/RadioGroup.js +14 -14
- package/lib/radio/src/styles/radio-group.cssr.js +43 -43
- package/lib/radio/src/styles/radio.cssr.js +40 -37
- package/lib/radio/src/use-radio.d.ts +2 -2
- package/lib/radio/src/use-radio.js +1 -1
- package/lib/rate/src/Rate.d.ts +30 -35
- package/lib/rate/src/Rate.js +4 -4
- package/lib/rate/src/styles/index.cssr.js +11 -11
- package/lib/result/src/Result.d.ts +27 -30
- package/lib/result/src/Result.js +17 -18
- package/lib/result/src/styles/index.cssr.js +26 -26
- package/lib/scrollbar/src/ScrollBar.d.ts +10 -17
- package/lib/select/index.d.ts +1 -1
- package/lib/select/src/Select.d.ts +135 -122
- package/lib/select/src/Select.js +40 -63
- package/lib/select/src/interface.d.ts +4 -0
- package/lib/select/src/styles/index.cssr.js +2 -2
- package/lib/select/styles/light.d.ts +1 -0
- package/lib/skeleton/src/Skeleton.d.ts +29 -34
- package/lib/skeleton/src/Skeleton.js +3 -3
- package/lib/skeleton/src/styles/index.cssr.js +12 -12
- package/lib/slider/src/Slider.d.ts +80 -80
- package/lib/slider/src/Slider.js +31 -30
- package/lib/slider/src/styles/index.cssr.js +87 -87
- package/lib/space/src/Space.d.ts +24 -27
- package/lib/spin/src/Spin.d.ts +33 -32
- package/lib/spin/src/Spin.js +5 -5
- package/lib/spin/src/styles/index.cssr.js +15 -15
- package/lib/statistic/src/Statistic.d.ts +32 -60
- package/lib/statistic/src/Statistic.js +14 -21
- package/lib/statistic/src/styles/index.cssr.js +19 -19
- package/lib/steps/src/Step.d.ts +9 -12
- package/lib/steps/src/Step.js +4 -6
- package/lib/steps/src/Steps.d.ts +20 -23
- package/lib/steps/src/Steps.js +1 -1
- package/lib/switch/src/Switch.d.ts +45 -40
- package/lib/table/src/Table.d.ts +47 -46
- package/lib/table/src/Table.js +21 -21
- package/lib/table/src/Tbody.d.ts +1 -1
- package/lib/table/src/Td.d.ts +1 -1
- package/lib/table/src/Th.d.ts +1 -1
- package/lib/table/src/Thead.d.ts +1 -1
- package/lib/table/src/Tr.d.ts +1 -1
- package/lib/table/src/styles/index.cssr.js +55 -55
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/src/Tab.d.ts +30 -37
- package/lib/tabs/src/Tab.js +10 -3
- package/lib/tabs/src/TabPane.d.ts +32 -38
- package/lib/tabs/src/TabPane.js +12 -13
- package/lib/tabs/src/Tabs.d.ts +39 -54
- package/lib/tabs/src/Tabs.js +27 -24
- package/lib/tabs/src/interface.d.ts +5 -2
- package/lib/tabs/src/interface.js +2 -1
- package/lib/tabs/src/styles/index.cssr.js +4 -1
- package/lib/tabs/styles/light.js +1 -1
- package/lib/tag/src/Tag.d.ts +43 -47
- package/lib/tag/src/Tag.js +2 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +1 -1
- package/lib/theme-editor/src/ThemeEditor.js +160 -157
- package/lib/themes/index.d.ts +1 -0
- package/lib/themes/index.js +3 -1
- package/lib/thing/src/Thing.d.ts +16 -23
- package/lib/thing/src/Thing.js +24 -28
- package/lib/thing/src/styles/index.cssr.js +11 -11
- package/lib/time/src/Time.d.ts +18 -18
- package/lib/time-picker/index.d.ts +1 -0
- package/lib/time-picker/src/Panel.d.ts +75 -72
- package/lib/time-picker/src/PanelCol.d.ts +15 -12
- package/lib/time-picker/src/TimePicker.d.ts +111 -78
- package/lib/time-picker/src/TimePicker.js +76 -70
- package/lib/time-picker/src/interface.d.ts +10 -4
- package/lib/time-picker/src/interface.js +2 -1
- package/lib/timeline/src/Timeline.d.ts +21 -24
- package/lib/timeline/src/Timeline.js +2 -1
- package/lib/timeline/src/TimelineItem.d.ts +10 -14
- package/lib/timeline/src/TimelineItem.js +3 -3
- package/lib/tooltip/src/Tooltip.d.ts +85 -75
- package/lib/transfer/src/Transfer.d.ts +60 -64
- package/lib/transfer/src/Transfer.js +21 -21
- package/lib/transfer/src/TransferFilter.d.ts +17 -16
- package/lib/transfer/src/TransferHeader.d.ts +11 -10
- package/lib/transfer/src/TransferList.d.ts +35 -19
- package/lib/transfer/src/TransferList.js +5 -7
- package/lib/transfer/src/TransferListItem.d.ts +18 -11
- package/lib/transfer/src/interface.d.ts +2 -2
- package/lib/transfer/src/interface.js +2 -1
- package/lib/transfer/src/styles/index.cssr.js +38 -38
- package/lib/tree/src/MotionWrapper.d.ts +19 -14
- package/lib/tree/src/Tree.d.ts +127 -134
- package/lib/tree/src/Tree.js +4 -2
- package/lib/tree/src/TreeNode.d.ts +10 -7
- package/lib/tree/src/TreeNodeCheckbox.d.ts +11 -16
- package/lib/tree/src/TreeNodeContent.d.ts +15 -18
- package/lib/tree/src/TreeNodeSwitcher.d.ts +10 -14
- package/lib/tree/src/TreeNodeSwitcher.js +24 -13
- package/lib/tree/src/interface.d.ts +4 -2
- package/lib/tree/src/interface.js +2 -1
- package/lib/tree/src/styles/index.cssr.js +4 -2
- package/lib/tree-select/src/TreeSelect.d.ts +112 -97
- package/lib/tree-select/src/TreeSelect.js +1 -3
- package/lib/tree-select/src/interface.d.ts +2 -2
- package/lib/tree-select/src/interface.js +2 -1
- package/lib/tree-select/styles/light.d.ts +1 -0
- package/lib/typography/src/a.d.ts +8 -12
- package/lib/typography/src/blockquote.d.ts +9 -15
- package/lib/typography/src/create-header.d.ts +14 -19
- package/lib/typography/src/headers.d.ts +84 -114
- package/lib/typography/src/hr.d.ts +8 -12
- package/lib/typography/src/li.d.ts +1 -1
- package/lib/typography/src/ol.d.ts +9 -15
- package/lib/typography/src/p.d.ts +9 -14
- package/lib/typography/src/text.d.ts +24 -31
- package/lib/typography/src/text.js +3 -2
- package/lib/typography/src/ul.d.ts +9 -15
- package/lib/upload/src/Upload.d.ts +95 -85
- package/lib/upload/src/Upload.js +22 -10
- package/lib/upload/src/UploadDragger.d.ts +1 -1
- package/lib/upload/src/UploadFile.d.ts +18 -13
- package/lib/upload/src/UploadFileList.d.ts +1 -1
- package/lib/upload/src/UploadFileList.js +2 -2
- package/lib/upload/src/UploadProgress.d.ts +11 -9
- package/lib/upload/src/UploadTrigger.d.ts +3 -5
- package/lib/upload/src/interface.d.ts +14 -6
- package/lib/upload/src/interface.js +2 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +32 -23
- package/volar.d.ts +144 -0
- package/web-types.json +766 -54
package/es/menu/src/Submenu.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, VNodeChild
|
|
1
|
+
import { PropType, VNodeChild } from 'vue';
|
|
2
2
|
import type { SubmenuInjection } from './use-menu-child';
|
|
3
3
|
import { MenuMixedOption, TmNode } from './interface';
|
|
4
4
|
export declare const submenuProps: {
|
|
@@ -33,7 +33,7 @@ export declare const submenuProps: {
|
|
|
33
33
|
readonly title: PropType<string | (() => VNodeChild)>;
|
|
34
34
|
readonly extra: PropType<string | (() => VNodeChild)>;
|
|
35
35
|
};
|
|
36
|
-
export declare const submenuInjectionKey: InjectionKey<SubmenuInjection>;
|
|
36
|
+
export declare const submenuInjectionKey: import("vue").InjectionKey<SubmenuInjection>;
|
|
37
37
|
declare const _default: import("vue").DefineComponent<{
|
|
38
38
|
readonly rawNodes: {
|
|
39
39
|
readonly type: PropType<MenuMixedOption[]>;
|
|
@@ -66,277 +66,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
readonly title: PropType<string | (() => VNodeChild)>;
|
|
67
67
|
readonly extra: PropType<string | (() => VNodeChild)>;
|
|
68
68
|
}, {
|
|
69
|
-
menuProps:
|
|
70
|
-
readonly options?: unknown;
|
|
71
|
-
readonly collapsed?: unknown;
|
|
72
|
-
readonly collapsedWidth?: unknown;
|
|
73
|
-
readonly iconSize?: unknown;
|
|
74
|
-
readonly collapsedIconSize?: unknown;
|
|
75
|
-
readonly rootIndent?: unknown;
|
|
76
|
-
readonly indent?: unknown;
|
|
77
|
-
readonly labelField?: unknown;
|
|
78
|
-
readonly keyField?: unknown;
|
|
79
|
-
readonly childrenField?: unknown;
|
|
80
|
-
readonly defaultExpandAll?: unknown;
|
|
81
|
-
readonly defaultExpandedKeys?: unknown;
|
|
82
|
-
readonly expandedKeys?: unknown;
|
|
83
|
-
readonly value?: unknown;
|
|
84
|
-
readonly defaultValue?: unknown;
|
|
85
|
-
readonly mode?: unknown;
|
|
86
|
-
readonly watchProps?: unknown;
|
|
87
|
-
readonly disabled?: unknown;
|
|
88
|
-
readonly inverted?: unknown;
|
|
89
|
-
readonly 'onUpdate:expandedKeys'?: unknown;
|
|
90
|
-
readonly onUpdateExpandedKeys?: unknown;
|
|
91
|
-
readonly onUpdateValue?: unknown;
|
|
92
|
-
readonly 'onUpdate:value'?: unknown;
|
|
93
|
-
readonly expandIcon?: unknown;
|
|
94
|
-
readonly renderIcon?: unknown;
|
|
95
|
-
readonly renderLabel?: unknown;
|
|
96
|
-
readonly renderExtra?: unknown;
|
|
97
|
-
readonly dropdownPlacement?: unknown;
|
|
98
|
-
readonly dropdownProps?: unknown;
|
|
99
|
-
readonly accordion?: unknown;
|
|
100
|
-
readonly items?: unknown;
|
|
101
|
-
readonly onOpenNamesChange?: unknown;
|
|
102
|
-
readonly onSelect?: unknown;
|
|
103
|
-
readonly onExpandedNamesChange?: unknown;
|
|
104
|
-
readonly expandedNames?: unknown;
|
|
105
|
-
readonly defaultExpandedNames?: unknown;
|
|
106
|
-
readonly theme?: unknown;
|
|
107
|
-
readonly themeOverrides?: unknown;
|
|
108
|
-
readonly builtinThemeOverrides?: unknown;
|
|
109
|
-
} & {
|
|
110
|
-
mode: "horizontal" | "vertical";
|
|
111
|
-
disabled: boolean;
|
|
112
|
-
keyField: string;
|
|
113
|
-
iconSize: number;
|
|
114
|
-
options: MenuMixedOption[];
|
|
115
|
-
defaultValue: import("treemate").Key | null;
|
|
116
|
-
indent: number;
|
|
117
|
-
labelField: string;
|
|
118
|
-
inverted: boolean;
|
|
119
|
-
childrenField: string;
|
|
120
|
-
accordion: boolean;
|
|
121
|
-
collapsedWidth: number;
|
|
122
|
-
collapsedIconSize: number;
|
|
123
|
-
defaultExpandAll: boolean;
|
|
124
|
-
dropdownPlacement: import("vueuc").FollowerPlacement;
|
|
125
|
-
} & {
|
|
126
|
-
value?: import("treemate").Key | null | undefined;
|
|
127
|
-
onSelect?: import("../../_utils").MaybeArray<import("./interface").OnUpdateValue> | undefined;
|
|
128
|
-
theme?: import("../../_mixins").Theme<"Menu", {
|
|
129
|
-
itemTextColorInverted: string;
|
|
130
|
-
itemTextColorHoverInverted: string;
|
|
131
|
-
itemTextColorChildActiveInverted: string;
|
|
132
|
-
itemTextColorActiveInverted: string;
|
|
133
|
-
itemIconColorInverted: string;
|
|
134
|
-
itemIconColorHoverInverted: string;
|
|
135
|
-
itemIconColorActiveInverted: string;
|
|
136
|
-
itemIconColorChildActiveInverted: string;
|
|
137
|
-
itemIconColorCollapsedInverted: string;
|
|
138
|
-
arrowColorInverted: string;
|
|
139
|
-
arrowColorHoverInverted: string;
|
|
140
|
-
arrowColorChildActiveInverted: string;
|
|
141
|
-
arrowColorActiveInverted: string;
|
|
142
|
-
groupTextColorInverted: string;
|
|
143
|
-
borderRadius: string;
|
|
144
|
-
color: string;
|
|
145
|
-
groupTextColor: string;
|
|
146
|
-
itemColorActive: string;
|
|
147
|
-
itemColorActiveCollapsed: string;
|
|
148
|
-
itemTextColor: string;
|
|
149
|
-
itemTextColorHover: string;
|
|
150
|
-
itemTextColorChildActive: string;
|
|
151
|
-
itemTextColorActive: string;
|
|
152
|
-
itemIconColor: string;
|
|
153
|
-
itemIconColorHover: string;
|
|
154
|
-
itemIconColorActive: string;
|
|
155
|
-
itemIconColorChildActive: string;
|
|
156
|
-
itemIconColorCollapsed: string;
|
|
157
|
-
itemHeight: string;
|
|
158
|
-
arrowColor: string;
|
|
159
|
-
arrowColorHover: string;
|
|
160
|
-
arrowColorChildActive: string;
|
|
161
|
-
arrowColorActive: string;
|
|
162
|
-
colorInverted: string;
|
|
163
|
-
itemColorActiveInverted: string;
|
|
164
|
-
itemColorActiveCollapsedInverted: string;
|
|
165
|
-
borderColorHorizontal: string;
|
|
166
|
-
fontSize: string;
|
|
167
|
-
dividerColor: string;
|
|
168
|
-
}, {
|
|
169
|
-
Tooltip: import("../../_mixins").Theme<"Tooltip", {
|
|
170
|
-
borderRadius: string;
|
|
171
|
-
boxShadow: string;
|
|
172
|
-
color: string;
|
|
173
|
-
textColor: string;
|
|
174
|
-
padding: string;
|
|
175
|
-
}, {
|
|
176
|
-
Popover: import("../../_mixins").Theme<"Popover", {
|
|
177
|
-
fontSize: string;
|
|
178
|
-
borderRadius: string;
|
|
179
|
-
color: string;
|
|
180
|
-
dividerColor: string;
|
|
181
|
-
textColor: string;
|
|
182
|
-
boxShadow: string;
|
|
183
|
-
space: string;
|
|
184
|
-
spaceArrow: string;
|
|
185
|
-
arrowOffset: string;
|
|
186
|
-
arrowOffsetVertical: string;
|
|
187
|
-
arrowHeight: string;
|
|
188
|
-
padding: string;
|
|
189
|
-
}, any>;
|
|
190
|
-
}>;
|
|
191
|
-
}> | undefined;
|
|
192
|
-
themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Menu", {
|
|
193
|
-
itemTextColorInverted: string;
|
|
194
|
-
itemTextColorHoverInverted: string;
|
|
195
|
-
itemTextColorChildActiveInverted: string;
|
|
196
|
-
itemTextColorActiveInverted: string;
|
|
197
|
-
itemIconColorInverted: string;
|
|
198
|
-
itemIconColorHoverInverted: string;
|
|
199
|
-
itemIconColorActiveInverted: string;
|
|
200
|
-
itemIconColorChildActiveInverted: string;
|
|
201
|
-
itemIconColorCollapsedInverted: string;
|
|
202
|
-
arrowColorInverted: string;
|
|
203
|
-
arrowColorHoverInverted: string;
|
|
204
|
-
arrowColorChildActiveInverted: string;
|
|
205
|
-
arrowColorActiveInverted: string;
|
|
206
|
-
groupTextColorInverted: string;
|
|
207
|
-
borderRadius: string;
|
|
208
|
-
color: string;
|
|
209
|
-
groupTextColor: string;
|
|
210
|
-
itemColorActive: string;
|
|
211
|
-
itemColorActiveCollapsed: string;
|
|
212
|
-
itemTextColor: string;
|
|
213
|
-
itemTextColorHover: string;
|
|
214
|
-
itemTextColorChildActive: string;
|
|
215
|
-
itemTextColorActive: string;
|
|
216
|
-
itemIconColor: string;
|
|
217
|
-
itemIconColorHover: string;
|
|
218
|
-
itemIconColorActive: string;
|
|
219
|
-
itemIconColorChildActive: string;
|
|
220
|
-
itemIconColorCollapsed: string;
|
|
221
|
-
itemHeight: string;
|
|
222
|
-
arrowColor: string;
|
|
223
|
-
arrowColorHover: string;
|
|
224
|
-
arrowColorChildActive: string;
|
|
225
|
-
arrowColorActive: string;
|
|
226
|
-
colorInverted: string;
|
|
227
|
-
itemColorActiveInverted: string;
|
|
228
|
-
itemColorActiveCollapsedInverted: string;
|
|
229
|
-
borderColorHorizontal: string;
|
|
230
|
-
fontSize: string;
|
|
231
|
-
dividerColor: string;
|
|
232
|
-
}, {
|
|
233
|
-
Tooltip: import("../../_mixins").Theme<"Tooltip", {
|
|
234
|
-
borderRadius: string;
|
|
235
|
-
boxShadow: string;
|
|
236
|
-
color: string;
|
|
237
|
-
textColor: string;
|
|
238
|
-
padding: string;
|
|
239
|
-
}, {
|
|
240
|
-
Popover: import("../../_mixins").Theme<"Popover", {
|
|
241
|
-
fontSize: string;
|
|
242
|
-
borderRadius: string;
|
|
243
|
-
color: string;
|
|
244
|
-
dividerColor: string;
|
|
245
|
-
textColor: string;
|
|
246
|
-
boxShadow: string;
|
|
247
|
-
space: string;
|
|
248
|
-
spaceArrow: string;
|
|
249
|
-
arrowOffset: string;
|
|
250
|
-
arrowOffsetVertical: string;
|
|
251
|
-
arrowHeight: string;
|
|
252
|
-
padding: string;
|
|
253
|
-
}, any>;
|
|
254
|
-
}>;
|
|
255
|
-
}>> | undefined;
|
|
256
|
-
builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Menu", {
|
|
257
|
-
itemTextColorInverted: string;
|
|
258
|
-
itemTextColorHoverInverted: string;
|
|
259
|
-
itemTextColorChildActiveInverted: string;
|
|
260
|
-
itemTextColorActiveInverted: string;
|
|
261
|
-
itemIconColorInverted: string;
|
|
262
|
-
itemIconColorHoverInverted: string;
|
|
263
|
-
itemIconColorActiveInverted: string;
|
|
264
|
-
itemIconColorChildActiveInverted: string;
|
|
265
|
-
itemIconColorCollapsedInverted: string;
|
|
266
|
-
arrowColorInverted: string;
|
|
267
|
-
arrowColorHoverInverted: string;
|
|
268
|
-
arrowColorChildActiveInverted: string;
|
|
269
|
-
arrowColorActiveInverted: string;
|
|
270
|
-
groupTextColorInverted: string;
|
|
271
|
-
borderRadius: string;
|
|
272
|
-
color: string;
|
|
273
|
-
groupTextColor: string;
|
|
274
|
-
itemColorActive: string;
|
|
275
|
-
itemColorActiveCollapsed: string;
|
|
276
|
-
itemTextColor: string;
|
|
277
|
-
itemTextColorHover: string;
|
|
278
|
-
itemTextColorChildActive: string;
|
|
279
|
-
itemTextColorActive: string;
|
|
280
|
-
itemIconColor: string;
|
|
281
|
-
itemIconColorHover: string;
|
|
282
|
-
itemIconColorActive: string;
|
|
283
|
-
itemIconColorChildActive: string;
|
|
284
|
-
itemIconColorCollapsed: string;
|
|
285
|
-
itemHeight: string;
|
|
286
|
-
arrowColor: string;
|
|
287
|
-
arrowColorHover: string;
|
|
288
|
-
arrowColorChildActive: string;
|
|
289
|
-
arrowColorActive: string;
|
|
290
|
-
colorInverted: string;
|
|
291
|
-
itemColorActiveInverted: string;
|
|
292
|
-
itemColorActiveCollapsedInverted: string;
|
|
293
|
-
borderColorHorizontal: string;
|
|
294
|
-
fontSize: string;
|
|
295
|
-
dividerColor: string;
|
|
296
|
-
}, {
|
|
297
|
-
Tooltip: import("../../_mixins").Theme<"Tooltip", {
|
|
298
|
-
borderRadius: string;
|
|
299
|
-
boxShadow: string;
|
|
300
|
-
color: string;
|
|
301
|
-
textColor: string;
|
|
302
|
-
padding: string;
|
|
303
|
-
}, {
|
|
304
|
-
Popover: import("../../_mixins").Theme<"Popover", {
|
|
305
|
-
fontSize: string;
|
|
306
|
-
borderRadius: string;
|
|
307
|
-
color: string;
|
|
308
|
-
dividerColor: string;
|
|
309
|
-
textColor: string;
|
|
310
|
-
boxShadow: string;
|
|
311
|
-
space: string;
|
|
312
|
-
spaceArrow: string;
|
|
313
|
-
arrowOffset: string;
|
|
314
|
-
arrowOffsetVertical: string;
|
|
315
|
-
arrowHeight: string;
|
|
316
|
-
padding: string;
|
|
317
|
-
}, any>;
|
|
318
|
-
}>;
|
|
319
|
-
}>> | undefined;
|
|
320
|
-
items?: (import("./interface").MenuOption | import("./interface").MenuGroupOption)[] | undefined;
|
|
321
|
-
renderIcon?: ((option: import("./interface").MenuOption) => VNodeChild) | undefined;
|
|
322
|
-
renderLabel?: ((option: import("./interface").MenuOption | import("./interface").MenuGroupOption) => VNodeChild) | undefined;
|
|
323
|
-
"onUpdate:value"?: import("../../_utils").MaybeArray<import("./interface").OnUpdateValue> | undefined;
|
|
324
|
-
onUpdateValue?: import("../../_utils").MaybeArray<import("./interface").OnUpdateValue> | undefined;
|
|
325
|
-
defaultExpandedNames?: import("treemate").Key[] | undefined;
|
|
326
|
-
expandedNames?: import("treemate").Key[] | undefined;
|
|
327
|
-
onExpandedNamesChange?: import("../../_utils").MaybeArray<import("./interface").OnUpdateKeys> | undefined;
|
|
328
|
-
collapsed?: boolean | undefined;
|
|
329
|
-
expandIcon?: ((option: import("./interface").MenuOption) => VNodeChild) | undefined;
|
|
330
|
-
defaultExpandedKeys?: import("treemate").Key[] | undefined;
|
|
331
|
-
rootIndent?: number | undefined;
|
|
332
|
-
expandedKeys?: import("treemate").Key[] | undefined;
|
|
333
|
-
watchProps?: ("defaultValue" | "defaultExpandedKeys")[] | undefined;
|
|
334
|
-
"onUpdate:expandedKeys"?: import("../../_utils").MaybeArray<import("./interface").OnUpdateKeys> | undefined;
|
|
335
|
-
onUpdateExpandedKeys?: import("../../_utils").MaybeArray<import("./interface").OnUpdateKeys> | undefined;
|
|
336
|
-
renderExtra?: ((option: import("./interface").MenuOption | import("./interface").MenuGroupOption) => VNodeChild) | undefined;
|
|
337
|
-
dropdownProps?: import("../../dropdown").DropdownProps | undefined;
|
|
338
|
-
onOpenNamesChange?: import("../../_utils").MaybeArray<import("./interface").OnUpdateKeys> | undefined;
|
|
339
|
-
};
|
|
69
|
+
menuProps: import("./Menu").MenuSetupProps;
|
|
340
70
|
doSelect: import("./interface").OnUpdateValueImpl;
|
|
341
71
|
inverted: import("vue").Ref<boolean>;
|
|
342
72
|
isHorizontal: import("vue").Ref<boolean>;
|
|
@@ -354,34 +84,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
354
84
|
dropdownEnabled: import("vue").ComputedRef<boolean>;
|
|
355
85
|
handlePopoverShowChange: (value: boolean) => void;
|
|
356
86
|
handleClick: () => void;
|
|
357
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
358
|
-
readonly rawNodes
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
readonly
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
readonly
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
87
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
|
+
readonly rawNodes: {
|
|
89
|
+
readonly type: PropType<MenuMixedOption[]>;
|
|
90
|
+
readonly default: () => never[];
|
|
91
|
+
};
|
|
92
|
+
readonly tmNodes: {
|
|
93
|
+
readonly type: PropType<TmNode[]>;
|
|
94
|
+
readonly default: () => never[];
|
|
95
|
+
};
|
|
96
|
+
readonly tmNode: {
|
|
97
|
+
readonly type: PropType<TmNode>;
|
|
98
|
+
readonly required: true;
|
|
99
|
+
};
|
|
100
|
+
readonly disabled: {
|
|
101
|
+
readonly type: BooleanConstructor;
|
|
102
|
+
readonly default: false;
|
|
103
|
+
};
|
|
104
|
+
readonly icon: PropType<() => VNodeChild>;
|
|
105
|
+
readonly onClick: PropType<() => void>;
|
|
106
|
+
readonly internalKey: {
|
|
107
|
+
readonly type: PropType<import("treemate").Key>;
|
|
108
|
+
readonly required: true;
|
|
109
|
+
};
|
|
110
|
+
readonly root: BooleanConstructor;
|
|
111
|
+
readonly isGroup: BooleanConstructor;
|
|
112
|
+
readonly level: {
|
|
113
|
+
readonly type: NumberConstructor;
|
|
114
|
+
readonly required: true;
|
|
115
|
+
};
|
|
116
|
+
readonly title: PropType<string | (() => VNodeChild)>;
|
|
117
|
+
readonly extra: PropType<string | (() => VNodeChild)>;
|
|
118
|
+
}>>, {
|
|
385
119
|
root: boolean;
|
|
386
120
|
disabled: boolean;
|
|
387
121
|
isGroup: boolean;
|
package/es/menu/src/Submenu.js
CHANGED
|
@@ -4,8 +4,10 @@ import { NFadeInExpandTransition } from '../../_internal';
|
|
|
4
4
|
import { NDropdown } from '../../dropdown';
|
|
5
5
|
import NMenuOptionContent from './MenuOptionContent';
|
|
6
6
|
import { itemRenderer } from './utils';
|
|
7
|
-
import { useMenuChild
|
|
7
|
+
import { useMenuChild } from './use-menu-child';
|
|
8
|
+
import { useMenuChildProps } from './use-menu-child-props';
|
|
8
9
|
import { menuItemGroupInjectionKey } from './MenuOptionGroup';
|
|
10
|
+
import { createInjectionKey } from '../../_utils';
|
|
9
11
|
export const submenuProps = Object.assign(Object.assign({}, useMenuChildProps), { rawNodes: {
|
|
10
12
|
type: Array,
|
|
11
13
|
default: () => []
|
|
@@ -19,7 +21,7 @@ export const submenuProps = Object.assign(Object.assign({}, useMenuChildProps),
|
|
|
19
21
|
type: Boolean,
|
|
20
22
|
default: false
|
|
21
23
|
}, icon: Function, onClick: Function });
|
|
22
|
-
export const submenuInjectionKey =
|
|
24
|
+
export const submenuInjectionKey = createInjectionKey('n-submenu');
|
|
23
25
|
export default defineComponent({
|
|
24
26
|
name: 'Submenu',
|
|
25
27
|
props: submenuProps,
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { c, cB, cE, cM, cNotM } from '../../../_utils/cssr';
|
|
2
2
|
import fadeInHeightExpandTransition from '../../../_styles/transitions/fade-in-height-expand.cssr'; // vars:
|
|
3
|
-
// --color
|
|
4
|
-
// --group-text-color
|
|
5
|
-
// --bezier
|
|
6
|
-
// --font-size
|
|
7
|
-
// --border-color-horizontal
|
|
8
|
-
// --border-radius
|
|
9
|
-
// --item-color-active
|
|
10
|
-
// --item-color-active-collapsed
|
|
11
|
-
// --arrow-color
|
|
12
|
-
// --arrow-color-hover
|
|
13
|
-
// --arrow-color-active
|
|
14
|
-
// --arrow-color-child-active
|
|
15
|
-
// --item-text-color
|
|
16
|
-
// --item-text-color-hover
|
|
17
|
-
// --item-text-color-active
|
|
18
|
-
// --item-text-color-child-active
|
|
19
|
-
// --item-icon-color
|
|
20
|
-
// --item-icon-color-hover
|
|
21
|
-
// --item-icon-color-active
|
|
22
|
-
// --item-icon-color-collapsed
|
|
23
|
-
// --item-icon-color-child-active
|
|
24
|
-
// --item-height
|
|
3
|
+
// --n-color
|
|
4
|
+
// --n-group-text-color
|
|
5
|
+
// --n-bezier
|
|
6
|
+
// --n-font-size
|
|
7
|
+
// --n-border-color-horizontal
|
|
8
|
+
// --n-border-radius
|
|
9
|
+
// --n-item-color-active
|
|
10
|
+
// --n-item-color-active-collapsed
|
|
11
|
+
// --n-arrow-color
|
|
12
|
+
// --n-arrow-color-hover
|
|
13
|
+
// --n-arrow-color-active
|
|
14
|
+
// --n-arrow-color-child-active
|
|
15
|
+
// --n-item-text-color
|
|
16
|
+
// --n-item-text-color-hover
|
|
17
|
+
// --n-item-text-color-active
|
|
18
|
+
// --n-item-text-color-child-active
|
|
19
|
+
// --n-item-icon-color
|
|
20
|
+
// --n-item-icon-color-hover
|
|
21
|
+
// --n-item-icon-color-active
|
|
22
|
+
// --n-item-icon-color-collapsed
|
|
23
|
+
// --n-item-icon-color-child-active
|
|
24
|
+
// --n-item-height
|
|
25
25
|
|
|
26
26
|
export default c([cB('menu', `
|
|
27
|
-
background-color: var(--color);
|
|
28
|
-
color: var(--item-text-color);
|
|
27
|
+
background-color: var(--n-color);
|
|
28
|
+
color: var(--n-item-text-color);
|
|
29
29
|
overflow: hidden;
|
|
30
|
-
transition: background-color .3s var(--bezier);
|
|
30
|
+
transition: background-color .3s var(--n-bezier);
|
|
31
31
|
box-sizing: border-box;
|
|
32
|
-
font-size: var(--font-size);
|
|
32
|
+
font-size: var(--n-font-size);
|
|
33
33
|
padding-bottom: 6px;
|
|
34
34
|
`, [cM('horizontal', {
|
|
35
35
|
display: 'inline-flex',
|
|
@@ -41,25 +41,25 @@ export default c([cB('menu', `
|
|
|
41
41
|
}, [c('&::before', {
|
|
42
42
|
backgroundColor: '#0000 !important'
|
|
43
43
|
}), cM('selected', [cB('menu-item-content', {
|
|
44
|
-
borderBottom: '2px solid var(--border-color-horizontal)'
|
|
44
|
+
borderBottom: '2px solid var(--n-border-color-horizontal)'
|
|
45
45
|
})])]), cB('menu-item-content', {
|
|
46
46
|
padding: '0 20px',
|
|
47
47
|
borderBottom: '2px solid #0000'
|
|
48
48
|
}, [cM('child-active', {
|
|
49
|
-
borderBottom: '2px solid var(--border-color-horizontal)'
|
|
49
|
+
borderBottom: '2px solid var(--n-border-color-horizontal)'
|
|
50
50
|
}), cNotM('disabled', [hoverStyle({
|
|
51
|
-
borderBottom: '2px solid var(--border-color-horizontal)'
|
|
51
|
+
borderBottom: '2px solid var(--n-border-color-horizontal)'
|
|
52
52
|
}, null)])])]), cM('collapsed', [cB('menu-item', [cM('selected', [c('&::before', {
|
|
53
|
-
backgroundColor: 'var(--item-color-active-collapsed) !important'
|
|
53
|
+
backgroundColor: 'var(--n-item-color-active-collapsed) !important'
|
|
54
54
|
})])]), cB('menu-item-content', [cB('menu-item-content-header', {
|
|
55
55
|
opacity: 0
|
|
56
56
|
}), cE('arrow', {
|
|
57
57
|
opacity: 0
|
|
58
58
|
}), cE('icon', {
|
|
59
|
-
color: 'var(--item-icon-color-collapsed)'
|
|
59
|
+
color: 'var(--n-item-icon-color-collapsed)'
|
|
60
60
|
})])]), cB('menu-item', `
|
|
61
|
-
transition: background-color .3s var(--bezier);
|
|
62
|
-
height: var(--item-height);
|
|
61
|
+
transition: background-color .3s var(--n-bezier);
|
|
62
|
+
height: var(--n-item-height);
|
|
63
63
|
margin-top: 6px;
|
|
64
64
|
position: relative;
|
|
65
65
|
`, [c('&::before', `
|
|
@@ -72,20 +72,20 @@ export default c([cB('menu', `
|
|
|
72
72
|
top: 0;
|
|
73
73
|
bottom: 0;
|
|
74
74
|
pointer-events: none;
|
|
75
|
-
border-radius: var(--border-radius);
|
|
76
|
-
transition: background-color .3s var(--bezier);
|
|
75
|
+
border-radius: var(--n-border-radius);
|
|
76
|
+
transition: background-color .3s var(--n-bezier);
|
|
77
77
|
`), cNotM('disabled', [c('&:active::before', {
|
|
78
|
-
backgroundColor: 'var(--item-color-active)'
|
|
78
|
+
backgroundColor: 'var(--n-item-color-active)'
|
|
79
79
|
})]), cM('selected', [c('&::before', {
|
|
80
|
-
backgroundColor: 'var(--item-color-active)'
|
|
80
|
+
backgroundColor: 'var(--n-item-color-active)'
|
|
81
81
|
}), cB('menu-item-content', [cE('arrow', {
|
|
82
|
-
color: 'var(--arrow-color-active)'
|
|
82
|
+
color: 'var(--n-arrow-color-active)'
|
|
83
83
|
}), cE('icon', {
|
|
84
|
-
color: 'var(--item-icon-color-active)'
|
|
84
|
+
color: 'var(--n-item-icon-color-active)'
|
|
85
85
|
}), cB('menu-item-content-header', {
|
|
86
|
-
color: 'var(--item-text-color-active)'
|
|
86
|
+
color: 'var(--n-item-text-color-active)'
|
|
87
87
|
}, [cE('extra', {
|
|
88
|
-
color: 'var(--item-text-color-active)'
|
|
88
|
+
color: 'var(--n-item-text-color-active)'
|
|
89
89
|
})])])])]), cB('menu-item-content', `
|
|
90
90
|
box-sizing: border-box;
|
|
91
91
|
line-height: 1.75;
|
|
@@ -99,37 +99,37 @@ export default c([cB('menu', `
|
|
|
99
99
|
z-index: auto;
|
|
100
100
|
padding-right: 18px;
|
|
101
101
|
transition:
|
|
102
|
-
background-color .3s var(--bezier),
|
|
103
|
-
padding-left .3s var(--bezier),
|
|
104
|
-
border-color .3s var(--bezier);
|
|
102
|
+
background-color .3s var(--n-bezier),
|
|
103
|
+
padding-left .3s var(--n-bezier),
|
|
104
|
+
border-color .3s var(--n-bezier);
|
|
105
105
|
`, [cM('disabled', {
|
|
106
106
|
opacity: '.45',
|
|
107
107
|
cursor: 'not-allowed'
|
|
108
108
|
}), cM('collapsed', [cE('arrow', {
|
|
109
109
|
transform: 'rotate(0)'
|
|
110
110
|
})]), cM('child-active', [cB('menu-item-content-header', {
|
|
111
|
-
color: 'var(--item-text-color-child-active)'
|
|
111
|
+
color: 'var(--n-item-text-color-child-active)'
|
|
112
112
|
}, [cE('extra', {
|
|
113
|
-
color: 'var(--item-text-color-child-active)'
|
|
113
|
+
color: 'var(--n-item-text-color-child-active)'
|
|
114
114
|
})]), cE('arrow', {
|
|
115
|
-
color: 'var(--arrow-color-child-active)'
|
|
115
|
+
color: 'var(--n-arrow-color-child-active)'
|
|
116
116
|
}), cE('icon', {
|
|
117
|
-
color: 'var(--item-icon-color-child-active)'
|
|
117
|
+
color: 'var(--n-item-icon-color-child-active)'
|
|
118
118
|
})]), cNotM('disabled', [hoverStyle(null, [cE('arrow', {
|
|
119
|
-
color: 'var(--arrow-color-hover)'
|
|
119
|
+
color: 'var(--n-arrow-color-hover)'
|
|
120
120
|
}), cE('icon', {
|
|
121
|
-
color: 'var(--item-icon-color-hover)'
|
|
121
|
+
color: 'var(--n-item-icon-color-hover)'
|
|
122
122
|
}), cB('menu-item-content-header', {
|
|
123
|
-
color: 'var(--item-text-color-hover)'
|
|
123
|
+
color: 'var(--n-item-text-color-hover)'
|
|
124
124
|
}, [cE('extra', {
|
|
125
|
-
color: 'var(--item-text-color-hover)'
|
|
125
|
+
color: 'var(--n-item-text-color-hover)'
|
|
126
126
|
})])])]), cE('icon', `
|
|
127
127
|
grid-area: icon;
|
|
128
|
-
color: var(--item-icon-color);
|
|
128
|
+
color: var(--n-item-icon-color);
|
|
129
129
|
transition:
|
|
130
|
-
color .3s var(--bezier),
|
|
131
|
-
font-size .3s var(--bezier),
|
|
132
|
-
margin-right .3s var(--bezier);
|
|
130
|
+
color .3s var(--n-bezier),
|
|
131
|
+
font-size .3s var(--n-bezier),
|
|
132
|
+
margin-right .3s var(--n-bezier);
|
|
133
133
|
box-sizing: content-box;
|
|
134
134
|
display: inline-flex;
|
|
135
135
|
align-items: center;
|
|
@@ -137,23 +137,23 @@ export default c([cB('menu', `
|
|
|
137
137
|
`), cE('arrow', `
|
|
138
138
|
grid-area: arrow;
|
|
139
139
|
font-size: 16px;
|
|
140
|
-
color: var(--arrow-color);
|
|
140
|
+
color: var(--n-arrow-color);
|
|
141
141
|
transform: rotate(180deg);
|
|
142
142
|
opacity: 1;
|
|
143
143
|
transition:
|
|
144
|
-
color .3s var(--bezier),
|
|
145
|
-
transform 0.2s var(--bezier),
|
|
146
|
-
opacity 0.2s var(--bezier);
|
|
144
|
+
color .3s var(--n-bezier),
|
|
145
|
+
transform 0.2s var(--n-bezier),
|
|
146
|
+
opacity 0.2s var(--n-bezier);
|
|
147
147
|
`), cB('menu-item-content-header', `
|
|
148
148
|
grid-area: content;
|
|
149
149
|
transition:
|
|
150
|
-
color .3s var(--bezier),
|
|
151
|
-
opacity .3s var(--bezier);
|
|
150
|
+
color .3s var(--n-bezier),
|
|
151
|
+
opacity .3s var(--n-bezier);
|
|
152
152
|
opacity: 1;
|
|
153
153
|
white-space: nowrap;
|
|
154
154
|
overflow: hidden;
|
|
155
155
|
text-overflow: ellipsis;
|
|
156
|
-
color: var(--item-text-color);
|
|
156
|
+
color: var(--n-item-text-color);
|
|
157
157
|
`, [c('a', `
|
|
158
158
|
text-decoration: none;
|
|
159
159
|
color: inherit;
|
|
@@ -166,14 +166,14 @@ export default c([cB('menu', `
|
|
|
166
166
|
bottom: 0;
|
|
167
167
|
`)]), cE('extra', `
|
|
168
168
|
font-size: .93em;
|
|
169
|
-
color: var(--group-text-color);
|
|
170
|
-
transition: color .3s var(--bezier);
|
|
169
|
+
color: var(--n-group-text-color);
|
|
170
|
+
transition: color .3s var(--n-bezier);
|
|
171
171
|
`)])]), cB('submenu', {
|
|
172
172
|
cursor: 'pointer',
|
|
173
173
|
position: 'relative',
|
|
174
174
|
marginTop: '6px'
|
|
175
175
|
}, [cB('menu-item-content', `
|
|
176
|
-
height: var(--item-height);
|
|
176
|
+
height: var(--n-item-height);
|
|
177
177
|
`), cB('submenu-children', {
|
|
178
178
|
overflow: 'hidden',
|
|
179
179
|
padding: 0
|
|
@@ -181,21 +181,21 @@ export default c([cB('menu', `
|
|
|
181
181
|
duration: '.2s'
|
|
182
182
|
})])]), cB('menu-item-group', [cB('menu-item-group-title', `
|
|
183
183
|
margin-top: 6px;
|
|
184
|
-
color: var(--group-text-color);
|
|
184
|
+
color: var(--n-group-text-color);
|
|
185
185
|
cursor: default;
|
|
186
186
|
font-size: .93em;
|
|
187
187
|
height: 36px;
|
|
188
188
|
display: flex;
|
|
189
189
|
align-items: center;
|
|
190
190
|
transition:
|
|
191
|
-
padding-left .3s var(--bezier),
|
|
192
|
-
color .3s var(--bezier);
|
|
191
|
+
padding-left .3s var(--n-bezier),
|
|
192
|
+
color .3s var(--n-bezier);
|
|
193
193
|
`)])]), cB('menu-tooltip', [c('a', `
|
|
194
194
|
color: inherit;
|
|
195
195
|
text-decoration: none;
|
|
196
196
|
`)]), cB('menu-divider', `
|
|
197
|
-
transition: background-color .3s var(--bezier);
|
|
198
|
-
background-color: var(--divider-color);
|
|
197
|
+
transition: background-color .3s var(--n-bezier);
|
|
198
|
+
background-color: var(--n-divider-color);
|
|
199
199
|
height: 1px;
|
|
200
200
|
margin: 6px 18px;
|
|
201
201
|
`)]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, VNodeChild } from 'vue';
|
|
1
|
+
import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
|
|
2
2
|
import { Key } from 'treemate';
|
|
3
3
|
export declare const useMenuChildProps: {
|
|
4
4
|
readonly internalKey: {
|
|
@@ -14,3 +14,4 @@ export declare const useMenuChildProps: {
|
|
|
14
14
|
readonly title: PropType<string | (() => VNodeChild)>;
|
|
15
15
|
readonly extra: PropType<string | (() => VNodeChild)>;
|
|
16
16
|
};
|
|
17
|
+
export declare type UseMenuChildProps = ExtractPropTypes<typeof useMenuChildProps>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Key } from 'treemate';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { MergedTheme } from '../../_mixins/use-theme';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
import { FollowerPlacement } from 'vueuc';
|
|
4
|
+
import type { MergedTheme } from '../../_mixins/use-theme';
|
|
5
5
|
import type { MenuTheme } from '../styles';
|
|
6
|
-
import { OnUpdateValueImpl } from './interface';
|
|
6
|
+
import type { OnUpdateValueImpl } from './interface';
|
|
7
7
|
import type { MenuSetupProps } from './Menu';
|
|
8
|
-
import {
|
|
8
|
+
import type { UseMenuChildProps } from './use-menu-child-props';
|
|
9
9
|
export interface MenuInjection {
|
|
10
10
|
props: MenuSetupProps;
|
|
11
11
|
mergedCollapsedRef: Ref<boolean>;
|
|
@@ -26,7 +26,6 @@ export interface SubmenuInjection {
|
|
|
26
26
|
export interface MenuOptionGroupInjection {
|
|
27
27
|
paddingLeftRef: Ref<number | undefined>;
|
|
28
28
|
}
|
|
29
|
-
export declare type UseMenuChildProps = ExtractPropTypes<typeof useMenuChildProps>;
|
|
30
29
|
export interface UseMenuChild {
|
|
31
30
|
dropdownPlacement: ComputedRef<FollowerPlacement>;
|
|
32
31
|
activeIconSize: ComputedRef<number>;
|
|
@@ -37,4 +36,3 @@ export interface UseMenuChild {
|
|
|
37
36
|
NSubmenu: SubmenuInjection | null;
|
|
38
37
|
}
|
|
39
38
|
export declare function useMenuChild(props: UseMenuChildProps): UseMenuChild;
|
|
40
|
-
export { useMenuChildProps };
|