naive-ui 2.24.0 → 2.24.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/es/_internal/clear/src/Clear.d.ts +8 -10
- package/es/_internal/close/src/Close.d.ts +11 -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/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/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 +54 -58
- package/es/_internal/scrollbar/src/ScrollBar.js +90 -68
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +10 -7
- package/es/_internal/select-menu/src/SelectMenu.d.ts +67 -63
- package/es/_internal/select-menu/src/SelectMenu.js +22 -21
- 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/selection/src/Selection.d.ts +67 -69
- package/es/_internal/selection/src/Selection.js +25 -8
- package/es/_internal/selection/src/styles/index.cssr.js +2 -1
- package/es/_internal/selection/styles/_common.d.ts +1 -0
- package/es/_internal/selection/styles/_common.js +1 -0
- 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/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/_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 +34 -27
- 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 +52 -59
- package/es/avatar/src/Avatar.d.ts +27 -30
- package/es/avatar/src/AvatarGroup.d.ts +13 -17
- package/es/avatar/src/AvatarGroup.js +5 -2
- package/es/back-top/src/BackTop.d.ts +48 -33
- 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 +15 -18
- package/es/breadcrumb/src/Breadcrumb.js +2 -1
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +4 -7
- 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 +21 -26
- package/es/calendar/src/Calendar.js +15 -2
- package/es/card/src/Card.d.ts +32 -37
- package/es/card/src/Card.js +6 -6
- package/es/carousel/src/Carousel.d.ts +74 -64
- package/es/carousel/src/Carousel.js +42 -45
- package/es/carousel/src/CarouselArrow.d.ts +1 -1
- package/es/carousel/src/CarouselDots.d.ts +19 -13
- package/es/carousel/src/CarouselItem.d.ts +2 -2
- package/es/carousel/src/CarouselItem.js +7 -4
- package/es/carousel/src/interface.d.ts +10 -3
- package/es/carousel/src/interface.js +2 -1
- package/es/carousel/src/styles/index.cssr.js +2 -2
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/src/Cascader.d.ts +105 -84
- package/es/cascader/src/Cascader.js +14 -26
- package/es/cascader/src/CascaderMenu.d.ts +34 -24
- package/es/cascader/src/CascaderMenu.js +2 -4
- package/es/cascader/src/CascaderOption.d.ts +7 -5
- 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 +6 -2
- package/es/cascader/src/interface.js +2 -1
- package/es/cascader/styles/light.d.ts +1 -0
- package/es/checkbox/index.d.ts +1 -0
- package/es/checkbox/src/Checkbox.d.ts +43 -43
- package/es/checkbox/src/Checkbox.js +17 -5
- 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/code/src/Code.d.ts +24 -32
- package/es/code/src/styles/index.cssr.js +4 -1
- package/es/collapse/src/Collapse.d.ts +35 -33
- package/es/collapse/src/Collapse.js +2 -2
- 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-transition/src/CollapseTransition.d.ts +18 -19
- 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/ColorPicker.d.ts +46 -51
- package/es/color-picker/src/ColorPicker.js +3 -5
- 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/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/composables/use-theme-vars.d.ts +2 -1
- package/es/config-provider/src/ConfigProvider.d.ts +30 -37
- package/es/config-provider/src/ConfigProvider.js +6 -5
- package/es/config-provider/src/interface.d.ts +4 -1
- package/es/countdown/src/Countdown.d.ts +18 -17
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +104 -104
- 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 +2 -4
- 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 +9 -6
- package/es/data-table/src/interface.js +2 -1
- package/es/data-table/src/styles/index.cssr.js +7 -7
- 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 +72 -93
- package/es/date-picker/src/DatePicker.js +18 -63
- package/es/date-picker/src/interface.d.ts +6 -3
- 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 +42 -3
- 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 +5 -2
- package/es/descriptions/src/Descriptions.d.ts +33 -33
- package/es/descriptions/src/DescriptionsItem.d.ts +9 -12
- package/es/dialog/src/Dialog.d.ts +32 -43
- package/es/dialog/src/Dialog.js +27 -20
- package/es/dialog/src/DialogEnvironment.d.ts +41 -46
- package/es/dialog/src/DialogProvider.d.ts +7 -10
- package/es/dialog/src/DialogProvider.js +3 -3
- package/es/divider/src/Divider.d.ts +14 -19
- package/es/drawer/src/Drawer.d.ts +89 -52
- package/es/drawer/src/Drawer.js +17 -6
- package/es/drawer/src/DrawerBodyWrapper.d.ts +40 -16
- package/es/drawer/src/DrawerBodyWrapper.js +11 -2
- package/es/drawer/src/DrawerContent.d.ts +15 -20
- package/es/drawer/src/interface.d.ts +3 -3
- package/es/drawer/src/interface.js +3 -2
- package/es/dropdown/src/Dropdown.d.ts +110 -101
- package/es/dropdown/src/Dropdown.js +2 -2
- 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/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 +23 -24
- package/es/empty/src/Empty.js +5 -9
- package/es/form/src/Feedbacks.d.ts +8 -10
- package/es/form/src/Form.d.ts +39 -39
- package/es/form/src/FormItem.d.ts +36 -51
- package/es/form/src/FormItem.js +7 -3
- package/es/form/src/FormItemCol.d.ts +52 -59
- package/es/form/src/FormItemGridItem.d.ts +52 -65
- package/es/form/src/FormItemRow.d.ts +58 -65
- package/es/form/src/interface.d.ts +3 -3
- package/es/form/src/interface.js +3 -2
- package/es/global-style/src/GlobalStyle.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +16 -23
- 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 +11 -18
- package/es/image/src/Image.d.ts +28 -41
- package/es/image/src/ImageGroup.d.ts +15 -19
- package/es/image/src/ImageGroup.js +2 -1
- package/es/image/src/ImagePreview.d.ts +20 -23
- package/es/image/src/ImagePreview.js +10 -6
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/input/src/Input.d.ts +108 -110
- package/es/input/src/Input.js +75 -34
- package/es/input/src/InputGroup.d.ts +5 -9
- package/es/input/src/InputGroupLabel.d.ts +16 -17
- package/es/input/src/InputGroupLabel.js +4 -3
- 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.cssr.js +45 -62
- package/es/input-number/src/InputNumber.d.ts +59 -58
- package/es/layout/src/Layout.d.ts +90 -65
- package/es/layout/src/Layout.js +2 -1
- package/es/layout/src/LayoutContent.d.ts +33 -31
- package/es/layout/src/LayoutFooter.d.ts +14 -19
- package/es/layout/src/LayoutHeader.d.ts +17 -19
- package/es/layout/src/LayoutSider.d.ts +64 -61
- package/es/layout/src/LayoutSider.js +2 -1
- 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-sider.cssr.js +15 -7
- 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 +19 -20
- package/es/list/src/List.js +7 -5
- package/es/list/src/ListItem.d.ts +1 -1
- package/es/list/src/ListItem.js +3 -3
- package/es/loading-bar/src/LoadingBar.d.ts +1 -1
- package/es/loading-bar/src/LoadingBarProvider.d.ts +22 -23
- package/es/loading-bar/src/LoadingBarProvider.js +7 -6
- package/es/locales/common/esAR.d.ts +109 -0
- package/es/locales/common/esAR.js +110 -0
- package/es/locales/common/itIT.d.ts +3 -0
- package/es/locales/common/itIT.js +109 -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 +55 -56
- package/es/menu/src/Menu.d.ts +87 -88
- package/es/menu/src/Menu.js +2 -2
- 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/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/src/Message.d.ts +15 -35
- package/es/message/src/MessageEnvironment.d.ts +26 -34
- package/es/message/src/MessageProvider.d.ts +24 -30
- package/es/message/src/MessageProvider.js +8 -8
- package/es/modal/src/BodyWrapper.d.ts +96 -72
- package/es/modal/src/BodyWrapper.js +12 -9
- package/es/modal/src/Modal.d.ts +125 -968
- package/es/modal/src/Modal.js +18 -6
- package/es/modal/src/interface.d.ts +3 -3
- package/es/modal/src/interface.js +3 -2
- package/es/notification/src/Notification.d.ts +20 -22
- 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/number-animation/src/NumberAnimation.d.ts +27 -15
- package/es/number-animation/src/NumberAnimation.js +19 -4
- package/es/page-header/src/PageHeader.d.ts +12 -20
- package/es/page-header/src/PageHeader.js +4 -5
- package/es/pagination/src/Pagination.d.ts +59 -59
- package/es/pagination/styles/light.d.ts +1 -0
- package/es/popconfirm/src/Popconfirm.d.ts +90 -87
- package/es/popconfirm/src/PopconfirmPanel.d.ts +16 -14
- package/es/popconfirm/src/PopconfirmPanel.js +4 -5
- package/es/popconfirm/src/interface.d.ts +2 -2
- package/es/popconfirm/src/interface.js +2 -1
- package/es/popover/src/Popover.d.ts +88 -79
- package/es/popover/src/PopoverBody.d.ts +32 -53
- package/es/popover/src/PopoverBody.js +16 -13
- package/es/popover/src/interface.d.ts +2 -2
- package/es/popover/src/interface.js +2 -1
- package/es/popselect/src/Popselect.d.ts +92 -97
- 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 +35 -28
- package/es/progress/src/Line.d.ts +37 -32
- package/es/progress/src/MultipleCircle.d.ts +38 -21
- package/es/progress/src/Progress.d.ts +54 -51
- package/es/radio/src/Radio.d.ts +30 -31
- package/es/radio/src/RadioButton.d.ts +24 -22
- package/es/radio/src/RadioGroup.d.ts +21 -27
- 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 +26 -31
- package/es/result/src/Result.d.ts +18 -21
- package/es/scrollbar/src/ScrollBar.d.ts +10 -17
- package/es/select/index.d.ts +1 -1
- package/es/select/src/Select.d.ts +127 -95
- package/es/select/src/Select.js +25 -40
- package/es/select/src/interface.d.ts +4 -0
- package/es/select/styles/light.d.ts +1 -0
- package/es/skeleton/src/Skeleton.d.ts +26 -31
- package/es/slider/src/Slider.d.ts +49 -47
- package/es/slider/src/Slider.js +2 -1
- package/es/space/src/Space.d.ts +24 -27
- package/es/spin/src/Spin.d.ts +28 -27
- package/es/statistic/src/Statistic.d.ts +11 -19
- package/es/statistic/src/Statistic.js +3 -3
- 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 +26 -25
- 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/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 +37 -52
- package/es/tabs/src/Tabs.js +3 -3
- package/es/tabs/src/interface.d.ts +2 -2
- package/es/tabs/src/interface.js +2 -1
- package/es/tag/src/Tag.d.ts +42 -47
- package/es/tag/src/Tag.js +2 -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 +20 -24
- 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 +99 -86
- package/es/time-picker/src/TimePicker.js +17 -41
- package/es/time-picker/src/interface.d.ts +6 -2
- 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 +82 -77
- package/es/transfer/src/Transfer.d.ts +39 -43
- 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/TransferListItem.d.ts +18 -11
- package/es/transfer/src/interface.d.ts +2 -2
- package/es/transfer/src/interface.js +2 -1
- package/es/tree/src/MotionWrapper.d.ts +19 -14
- package/es/tree/src/Tree.d.ts +124 -135
- 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/interface.d.ts +2 -2
- package/es/tree/src/interface.js +2 -1
- 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 +85 -84
- package/es/upload/src/Upload.js +5 -2
- package/es/upload/src/UploadDragger.d.ts +1 -1
- package/es/upload/src/UploadFile.d.ts +14 -9
- package/es/upload/src/UploadFileList.d.ts +1 -1
- 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 +3 -2
- 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/close/src/Close.d.ts +11 -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/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/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 +54 -58
- package/lib/_internal/scrollbar/src/ScrollBar.js +89 -67
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +10 -7
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +67 -63
- package/lib/_internal/select-menu/src/SelectMenu.js +21 -20
- 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/selection/src/Selection.d.ts +67 -69
- package/lib/_internal/selection/src/Selection.js +25 -8
- package/lib/_internal/selection/src/styles/index.cssr.js +2 -1
- package/lib/_internal/selection/styles/_common.d.ts +1 -0
- package/lib/_internal/selection/styles/_common.js +1 -0
- 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/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/_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 +34 -27
- 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 +52 -59
- package/lib/avatar/src/Avatar.d.ts +27 -30
- package/lib/avatar/src/AvatarGroup.d.ts +13 -17
- package/lib/avatar/src/AvatarGroup.js +5 -2
- package/lib/back-top/src/BackTop.d.ts +48 -33
- 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 +15 -18
- package/lib/breadcrumb/src/Breadcrumb.js +2 -1
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +4 -7
- 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 +21 -26
- package/lib/calendar/src/Calendar.js +15 -2
- package/lib/card/src/Card.d.ts +32 -37
- package/lib/card/src/Card.js +5 -5
- package/lib/carousel/src/Carousel.d.ts +74 -64
- package/lib/carousel/src/Carousel.js +42 -45
- package/lib/carousel/src/CarouselArrow.d.ts +1 -1
- package/lib/carousel/src/CarouselDots.d.ts +19 -13
- package/lib/carousel/src/CarouselItem.d.ts +2 -2
- package/lib/carousel/src/CarouselItem.js +6 -3
- package/lib/carousel/src/interface.d.ts +10 -3
- package/lib/carousel/src/interface.js +2 -1
- package/lib/carousel/src/styles/index.cssr.js +2 -2
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/src/Cascader.d.ts +105 -84
- package/lib/cascader/src/Cascader.js +14 -26
- package/lib/cascader/src/CascaderMenu.d.ts +34 -24
- package/lib/cascader/src/CascaderMenu.js +1 -3
- package/lib/cascader/src/CascaderOption.d.ts +7 -5
- 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 +6 -2
- package/lib/cascader/src/interface.js +2 -1
- package/lib/cascader/styles/light.d.ts +1 -0
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/checkbox/src/Checkbox.d.ts +43 -43
- package/lib/checkbox/src/Checkbox.js +16 -4
- 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/code/src/Code.d.ts +24 -32
- package/lib/code/src/styles/index.cssr.js +4 -1
- package/lib/collapse/src/Collapse.d.ts +35 -33
- package/lib/collapse/src/Collapse.js +1 -1
- 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-transition/src/CollapseTransition.d.ts +18 -19
- 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/ColorPicker.d.ts +46 -51
- package/lib/color-picker/src/ColorPicker.js +1 -3
- 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/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/composables/use-theme-vars.d.ts +2 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +30 -37
- package/lib/config-provider/src/ConfigProvider.js +4 -3
- package/lib/config-provider/src/interface.d.ts +4 -1
- package/lib/countdown/src/Countdown.d.ts +18 -17
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +104 -104
- 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 +1 -3
- 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 +9 -6
- package/lib/data-table/src/interface.js +2 -1
- package/lib/data-table/src/styles/index.cssr.js +7 -7
- 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 +72 -93
- package/lib/date-picker/src/DatePicker.js +16 -61
- package/lib/date-picker/src/interface.d.ts +6 -3
- 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 +41 -2
- 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 +5 -2
- package/lib/descriptions/src/Descriptions.d.ts +33 -33
- package/lib/descriptions/src/DescriptionsItem.d.ts +9 -12
- package/lib/dialog/src/Dialog.d.ts +32 -43
- package/lib/dialog/src/Dialog.js +26 -19
- package/lib/dialog/src/DialogEnvironment.d.ts +41 -46
- package/lib/dialog/src/DialogProvider.d.ts +7 -10
- package/lib/dialog/src/DialogProvider.js +2 -2
- package/lib/divider/src/Divider.d.ts +14 -19
- package/lib/drawer/src/Drawer.d.ts +89 -52
- package/lib/drawer/src/Drawer.js +17 -6
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +40 -16
- package/lib/drawer/src/DrawerBodyWrapper.js +11 -2
- package/lib/drawer/src/DrawerContent.d.ts +15 -20
- package/lib/drawer/src/interface.d.ts +3 -3
- package/lib/drawer/src/interface.js +3 -2
- package/lib/dropdown/src/Dropdown.d.ts +110 -101
- package/lib/dropdown/src/Dropdown.js +1 -1
- 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/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 +23 -24
- package/lib/empty/src/Empty.js +4 -8
- package/lib/form/src/Feedbacks.d.ts +8 -10
- package/lib/form/src/Form.d.ts +39 -39
- package/lib/form/src/FormItem.d.ts +36 -51
- package/lib/form/src/FormItem.js +6 -2
- package/lib/form/src/FormItemCol.d.ts +52 -59
- package/lib/form/src/FormItemGridItem.d.ts +52 -65
- package/lib/form/src/FormItemRow.d.ts +58 -65
- package/lib/form/src/interface.d.ts +3 -3
- package/lib/form/src/interface.js +3 -2
- package/lib/global-style/src/GlobalStyle.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +16 -23
- 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 +11 -18
- package/lib/image/src/Image.d.ts +28 -41
- package/lib/image/src/ImageGroup.d.ts +15 -19
- package/lib/image/src/ImageGroup.js +2 -1
- package/lib/image/src/ImagePreview.d.ts +20 -23
- package/lib/image/src/ImagePreview.js +9 -5
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -1
- package/lib/input/src/Input.d.ts +108 -110
- package/lib/input/src/Input.js +74 -33
- package/lib/input/src/InputGroup.d.ts +5 -9
- package/lib/input/src/InputGroupLabel.d.ts +16 -17
- package/lib/input/src/InputGroupLabel.js +3 -2
- 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.cssr.js +45 -62
- package/lib/input-number/src/InputNumber.d.ts +59 -58
- package/lib/layout/src/Layout.d.ts +90 -65
- package/lib/layout/src/Layout.js +2 -1
- package/lib/layout/src/LayoutContent.d.ts +33 -31
- package/lib/layout/src/LayoutFooter.d.ts +14 -19
- package/lib/layout/src/LayoutHeader.d.ts +17 -19
- package/lib/layout/src/LayoutSider.d.ts +64 -61
- package/lib/layout/src/LayoutSider.js +2 -1
- 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-sider.cssr.js +15 -7
- 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 +19 -20
- package/lib/list/src/List.js +6 -4
- package/lib/list/src/ListItem.d.ts +1 -1
- package/lib/list/src/ListItem.js +2 -2
- package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +22 -23
- package/lib/loading-bar/src/LoadingBarProvider.js +6 -5
- package/lib/locales/common/esAR.d.ts +109 -0
- package/lib/locales/common/esAR.js +112 -0
- package/lib/locales/common/itIT.d.ts +3 -0
- package/lib/locales/common/itIT.js +111 -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 +55 -56
- package/lib/menu/src/Menu.d.ts +87 -88
- package/lib/menu/src/Menu.js +1 -1
- 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/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/src/Message.d.ts +15 -35
- package/lib/message/src/MessageEnvironment.d.ts +26 -34
- package/lib/message/src/MessageProvider.d.ts +24 -30
- package/lib/message/src/MessageProvider.js +6 -6
- package/lib/modal/src/BodyWrapper.d.ts +96 -72
- package/lib/modal/src/BodyWrapper.js +12 -9
- package/lib/modal/src/Modal.d.ts +125 -968
- package/lib/modal/src/Modal.js +18 -6
- package/lib/modal/src/interface.d.ts +3 -3
- package/lib/modal/src/interface.js +3 -2
- package/lib/notification/src/Notification.d.ts +20 -22
- 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/number-animation/src/NumberAnimation.d.ts +27 -15
- package/lib/number-animation/src/NumberAnimation.js +19 -4
- package/lib/page-header/src/PageHeader.d.ts +12 -20
- package/lib/page-header/src/PageHeader.js +4 -5
- package/lib/pagination/src/Pagination.d.ts +59 -59
- package/lib/pagination/styles/light.d.ts +1 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +90 -87
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +16 -14
- package/lib/popconfirm/src/PopconfirmPanel.js +3 -4
- package/lib/popconfirm/src/interface.d.ts +2 -2
- package/lib/popconfirm/src/interface.js +2 -1
- package/lib/popover/src/Popover.d.ts +88 -79
- package/lib/popover/src/PopoverBody.d.ts +32 -53
- package/lib/popover/src/PopoverBody.js +15 -12
- package/lib/popover/src/interface.d.ts +2 -2
- package/lib/popover/src/interface.js +2 -1
- package/lib/popselect/src/Popselect.d.ts +92 -97
- 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 +35 -28
- package/lib/progress/src/Line.d.ts +37 -32
- package/lib/progress/src/MultipleCircle.d.ts +38 -21
- package/lib/progress/src/Progress.d.ts +54 -51
- package/lib/radio/src/Radio.d.ts +30 -31
- package/lib/radio/src/RadioButton.d.ts +24 -22
- package/lib/radio/src/RadioGroup.d.ts +21 -27
- 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 +26 -31
- package/lib/result/src/Result.d.ts +18 -21
- package/lib/scrollbar/src/ScrollBar.d.ts +10 -17
- package/lib/select/index.d.ts +1 -1
- package/lib/select/src/Select.d.ts +127 -95
- package/lib/select/src/Select.js +25 -40
- package/lib/select/src/interface.d.ts +4 -0
- package/lib/select/styles/light.d.ts +1 -0
- package/lib/skeleton/src/Skeleton.d.ts +26 -31
- package/lib/slider/src/Slider.d.ts +49 -47
- package/lib/slider/src/Slider.js +2 -1
- package/lib/space/src/Space.d.ts +24 -27
- package/lib/spin/src/Spin.d.ts +28 -27
- package/lib/statistic/src/Statistic.d.ts +11 -19
- package/lib/statistic/src/Statistic.js +2 -2
- 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 +26 -25
- 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/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 +37 -52
- package/lib/tabs/src/Tabs.js +3 -3
- package/lib/tabs/src/interface.d.ts +2 -2
- package/lib/tabs/src/interface.js +2 -1
- package/lib/tag/src/Tag.d.ts +42 -47
- package/lib/tag/src/Tag.js +1 -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 +19 -23
- 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 +99 -86
- package/lib/time-picker/src/TimePicker.js +17 -41
- package/lib/time-picker/src/interface.d.ts +6 -2
- 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 +82 -77
- package/lib/transfer/src/Transfer.d.ts +39 -43
- 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/TransferListItem.d.ts +18 -11
- package/lib/transfer/src/interface.d.ts +2 -2
- package/lib/transfer/src/interface.js +2 -1
- package/lib/tree/src/MotionWrapper.d.ts +19 -14
- package/lib/tree/src/Tree.d.ts +124 -135
- 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/interface.d.ts +2 -2
- package/lib/tree/src/interface.js +2 -1
- 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 +85 -84
- package/lib/upload/src/Upload.js +5 -2
- package/lib/upload/src/UploadDragger.d.ts +1 -1
- package/lib/upload/src/UploadFile.d.ts +14 -9
- package/lib/upload/src/UploadFileList.d.ts +1 -1
- 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 +3 -2
- package/lib/upload/src/interface.js +2 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +9 -9
- package/volar.d.ts +144 -0
- package/web-types.json +125 -18
|
@@ -1075,50 +1075,52 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1075
1075
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
1076
1076
|
namespace: import("vue").ComputedRef<string | undefined>;
|
|
1077
1077
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
1078
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1079
|
-
readonly to
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
readonly
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
readonly
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
readonly
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
readonly
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
readonly
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
readonly
|
|
1104
|
-
readonly
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1078
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1079
|
+
readonly to: {
|
|
1080
|
+
type: PropType<string | boolean | HTMLElement>;
|
|
1081
|
+
default: undefined;
|
|
1082
|
+
};
|
|
1083
|
+
readonly bordered: {
|
|
1084
|
+
readonly type: PropType<boolean | undefined>;
|
|
1085
|
+
readonly default: undefined;
|
|
1086
|
+
};
|
|
1087
|
+
readonly clearable: {
|
|
1088
|
+
readonly type: BooleanConstructor;
|
|
1089
|
+
readonly default: undefined;
|
|
1090
|
+
};
|
|
1091
|
+
readonly defaultValue: {
|
|
1092
|
+
readonly type: PropType<string | null>;
|
|
1093
|
+
readonly default: null;
|
|
1094
|
+
};
|
|
1095
|
+
readonly loading: {
|
|
1096
|
+
readonly type: BooleanConstructor;
|
|
1097
|
+
readonly default: undefined;
|
|
1098
|
+
};
|
|
1099
|
+
readonly disabled: {
|
|
1100
|
+
readonly type: PropType<boolean | undefined>;
|
|
1101
|
+
readonly default: undefined;
|
|
1102
|
+
};
|
|
1103
|
+
readonly placeholder: StringConstructor;
|
|
1104
|
+
readonly value: StringConstructor;
|
|
1105
|
+
readonly blurAfterSelect: BooleanConstructor;
|
|
1106
|
+
readonly clearAfterSelect: BooleanConstructor;
|
|
1107
|
+
readonly getShow: PropType<(inputValue: string) => boolean>;
|
|
1108
|
+
readonly inputProps: PropType<InputHTMLAttributes>;
|
|
1109
|
+
readonly renderOption: PropType<RenderOption>;
|
|
1110
|
+
readonly renderLabel: PropType<RenderLabel>;
|
|
1111
|
+
readonly size: PropType<"small" | "medium" | "large">;
|
|
1112
|
+
readonly options: {
|
|
1113
|
+
readonly type: PropType<AutoCompleteOptions>;
|
|
1114
|
+
readonly default: () => never[];
|
|
1115
|
+
};
|
|
1116
|
+
readonly zIndex: NumberConstructor;
|
|
1117
|
+
readonly 'onUpdate:value': PropType<MaybeArray<OnUpdateValue>>;
|
|
1118
|
+
readonly onUpdateValue: PropType<MaybeArray<OnUpdateValue>>;
|
|
1119
|
+
readonly onSelect: PropType<MaybeArray<OnSelect>>;
|
|
1120
|
+
readonly onBlur: PropType<MaybeArray<(e: FocusEvent) => void>>;
|
|
1121
|
+
readonly onFocus: PropType<MaybeArray<(e: FocusEvent) => void>>;
|
|
1122
|
+
readonly onInput: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
1123
|
+
readonly theme: PropType<import("../../_mixins").Theme<"AutoComplete", {
|
|
1122
1124
|
menuBoxShadow: string;
|
|
1123
1125
|
}, {
|
|
1124
1126
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
@@ -1233,8 +1235,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1233
1235
|
paddingLarge: string;
|
|
1234
1236
|
clearSize: string;
|
|
1235
1237
|
}, any>;
|
|
1236
|
-
}
|
|
1237
|
-
themeOverrides
|
|
1238
|
+
}>>;
|
|
1239
|
+
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"AutoComplete", {
|
|
1238
1240
|
menuBoxShadow: string;
|
|
1239
1241
|
}, {
|
|
1240
1242
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
@@ -1349,8 +1351,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1349
1351
|
paddingLarge: string;
|
|
1350
1352
|
clearSize: string;
|
|
1351
1353
|
}, any>;
|
|
1352
|
-
}
|
|
1353
|
-
builtinThemeOverrides
|
|
1354
|
+
}>>>;
|
|
1355
|
+
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"AutoComplete", {
|
|
1354
1356
|
menuBoxShadow: string;
|
|
1355
1357
|
}, {
|
|
1356
1358
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
@@ -1465,17 +1467,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1465
1467
|
paddingLarge: string;
|
|
1466
1468
|
clearSize: string;
|
|
1467
1469
|
}, any>;
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
bordered?: boolean | undefined;
|
|
1471
|
-
renderLabel?: RenderLabel | undefined;
|
|
1472
|
-
renderOption?: RenderOption | undefined;
|
|
1473
|
-
clearable?: boolean | undefined;
|
|
1474
|
-
inputProps?: InputHTMLAttributes | undefined;
|
|
1475
|
-
"onUpdate:value"?: MaybeArray<OnUpdateValue> | undefined;
|
|
1476
|
-
onUpdateValue?: MaybeArray<OnUpdateValue> | undefined;
|
|
1477
|
-
getShow?: ((inputValue: string) => boolean) | undefined;
|
|
1478
|
-
}>, {
|
|
1470
|
+
}>>>;
|
|
1471
|
+
}>>, {
|
|
1479
1472
|
disabled: boolean | undefined;
|
|
1480
1473
|
to: string | boolean | HTMLElement;
|
|
1481
1474
|
loading: boolean;
|
|
@@ -139,28 +139,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
139
|
}>;
|
|
140
140
|
hasLoadError: import("vue").Ref<boolean>;
|
|
141
141
|
handleError: (e: Event) => void;
|
|
142
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
143
|
-
readonly size
|
|
144
|
-
readonly src
|
|
145
|
-
readonly circle
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
readonly
|
|
150
|
-
readonly
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
readonly
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
theme?: import("../../_mixins").Theme<"Avatar", {
|
|
142
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
143
|
+
readonly size: PropType<Size>;
|
|
144
|
+
readonly src: StringConstructor;
|
|
145
|
+
readonly circle: {
|
|
146
|
+
readonly type: BooleanConstructor;
|
|
147
|
+
readonly default: undefined;
|
|
148
|
+
};
|
|
149
|
+
readonly objectFit: PropType<ObjectFit>;
|
|
150
|
+
readonly round: {
|
|
151
|
+
readonly type: BooleanConstructor;
|
|
152
|
+
readonly default: undefined;
|
|
153
|
+
};
|
|
154
|
+
readonly bordered: {
|
|
155
|
+
readonly type: BooleanConstructor;
|
|
156
|
+
readonly default: undefined;
|
|
157
|
+
};
|
|
158
|
+
readonly onError: PropType<(e: Event) => void>;
|
|
159
|
+
readonly fallbackSrc: StringConstructor;
|
|
160
|
+
/** @deprecated */
|
|
161
|
+
readonly color: StringConstructor;
|
|
162
|
+
readonly theme: PropType<import("../../_mixins").Theme<"Avatar", {
|
|
164
163
|
borderRadius: string;
|
|
165
164
|
fontSize: string;
|
|
166
165
|
border: string;
|
|
@@ -172,8 +171,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
172
171
|
color: string;
|
|
173
172
|
colorModal: string;
|
|
174
173
|
colorPopover: string;
|
|
175
|
-
}, any
|
|
176
|
-
themeOverrides
|
|
174
|
+
}, any>>;
|
|
175
|
+
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Avatar", {
|
|
177
176
|
borderRadius: string;
|
|
178
177
|
fontSize: string;
|
|
179
178
|
border: string;
|
|
@@ -185,8 +184,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
185
184
|
color: string;
|
|
186
185
|
colorModal: string;
|
|
187
186
|
colorPopover: string;
|
|
188
|
-
}, any
|
|
189
|
-
builtinThemeOverrides
|
|
187
|
+
}, any>>>;
|
|
188
|
+
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Avatar", {
|
|
190
189
|
borderRadius: string;
|
|
191
190
|
fontSize: string;
|
|
192
191
|
border: string;
|
|
@@ -198,10 +197,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
197
|
color: string;
|
|
199
198
|
colorModal: string;
|
|
200
199
|
colorPopover: string;
|
|
201
|
-
}, any
|
|
202
|
-
|
|
203
|
-
fallbackSrc?: string | undefined;
|
|
204
|
-
}>, {
|
|
200
|
+
}, any>>>;
|
|
201
|
+
}>>, {
|
|
205
202
|
round: boolean;
|
|
206
203
|
circle: boolean;
|
|
207
204
|
bordered: boolean;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { PropType, CSSProperties
|
|
1
|
+
import { PropType, CSSProperties } from 'vue';
|
|
2
2
|
import type { Size } from './interface';
|
|
3
|
-
import
|
|
3
|
+
import { ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
export interface AvatarGroupInjection {
|
|
5
5
|
size?: Size | undefined;
|
|
6
6
|
}
|
|
7
7
|
interface AvatarOption {
|
|
8
8
|
src: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const avatarGroupInjectionKey: InjectionKey<AvatarGroupInjection>;
|
|
10
|
+
export declare const avatarGroupInjectionKey: import("vue").InjectionKey<AvatarGroupInjection>;
|
|
11
11
|
declare const avatarGroupProps: {
|
|
12
12
|
readonly max: NumberConstructor;
|
|
13
13
|
readonly maxStyle: PropType<string | CSSProperties>;
|
|
@@ -32,20 +32,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
33
33
|
restOptions: import("vue").ComputedRef<AvatarOption[] | undefined>;
|
|
34
34
|
displayedOptions: import("vue").ComputedRef<AvatarOption[]>;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
36
|
-
readonly max
|
|
37
|
-
readonly maxStyle
|
|
38
|
-
readonly options
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
vertical:
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
size?: Size | undefined;
|
|
46
|
-
max?: number | undefined;
|
|
47
|
-
maxStyle?: string | CSSProperties | undefined;
|
|
48
|
-
}>, {
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
readonly max: NumberConstructor;
|
|
37
|
+
readonly maxStyle: PropType<string | CSSProperties>;
|
|
38
|
+
readonly options: {
|
|
39
|
+
readonly type: PropType<AvatarOption[]>;
|
|
40
|
+
readonly default: () => never[];
|
|
41
|
+
};
|
|
42
|
+
readonly vertical: BooleanConstructor;
|
|
43
|
+
readonly size: PropType<Size | undefined>;
|
|
44
|
+
}>>, {
|
|
49
45
|
vertical: boolean;
|
|
50
46
|
options: AvatarOption[];
|
|
51
47
|
}>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { h, defineComponent, provide, computed } from 'vue';
|
|
2
2
|
import NAvatar from './Avatar';
|
|
3
3
|
import { useConfig, useStyle } from '../../_mixins';
|
|
4
|
+
import { createInjectionKey } from '../../_utils';
|
|
4
5
|
import style from './styles/avatar-group.cssr';
|
|
5
|
-
export const avatarGroupInjectionKey =
|
|
6
|
+
export const avatarGroupInjectionKey = createInjectionKey('n-avatar-group');
|
|
6
7
|
const avatarGroupProps = {
|
|
7
8
|
max: Number,
|
|
8
9
|
maxStyle: [Object, String],
|
|
@@ -25,7 +26,9 @@ export default defineComponent({
|
|
|
25
26
|
if (max === undefined)
|
|
26
27
|
return undefined;
|
|
27
28
|
const { options } = props;
|
|
28
|
-
|
|
29
|
+
if (options.length > max)
|
|
30
|
+
return options.slice(max - 1, options.length);
|
|
31
|
+
return [];
|
|
29
32
|
});
|
|
30
33
|
const displayedOptionsRef = computed(() => {
|
|
31
34
|
const { options, max } = props;
|
|
@@ -199,30 +199,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
199
|
'--n-icon-color-pressed': string;
|
|
200
200
|
'--n-text-color': string;
|
|
201
201
|
}>;
|
|
202
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
203
|
-
readonly show
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
readonly
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
readonly
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
readonly
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
202
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
203
|
+
readonly show: {
|
|
204
|
+
readonly type: PropType<boolean | undefined>;
|
|
205
|
+
readonly default: undefined;
|
|
206
|
+
};
|
|
207
|
+
readonly right: {
|
|
208
|
+
readonly type: PropType<string | number>;
|
|
209
|
+
readonly default: 40;
|
|
210
|
+
};
|
|
211
|
+
readonly bottom: {
|
|
212
|
+
readonly type: PropType<string | number>;
|
|
213
|
+
readonly default: 40;
|
|
214
|
+
};
|
|
215
|
+
readonly to: {
|
|
216
|
+
readonly type: PropType<string | HTMLElement>;
|
|
217
|
+
readonly default: "body";
|
|
218
|
+
};
|
|
219
|
+
readonly visibilityHeight: {
|
|
220
|
+
readonly type: NumberConstructor;
|
|
221
|
+
readonly default: 180;
|
|
222
|
+
};
|
|
223
|
+
readonly listenTo: PropType<string | HTMLElement | Document | (() => HTMLElement | Document)>;
|
|
224
|
+
readonly 'onUpdate:show': {
|
|
225
|
+
readonly type: FunctionConstructor;
|
|
226
|
+
readonly default: () => void;
|
|
227
|
+
};
|
|
228
|
+
readonly target: {
|
|
229
|
+
readonly type: PropType<() => HTMLElement | undefined>;
|
|
230
|
+
readonly validator: () => boolean;
|
|
231
|
+
readonly default: undefined;
|
|
232
|
+
};
|
|
233
|
+
readonly onShow: {
|
|
234
|
+
readonly type: PropType<(() => void) | undefined>;
|
|
235
|
+
readonly validator: () => boolean;
|
|
236
|
+
readonly default: undefined;
|
|
237
|
+
};
|
|
238
|
+
readonly onHide: {
|
|
239
|
+
readonly type: PropType<(() => void) | undefined>;
|
|
240
|
+
readonly validator: () => boolean;
|
|
241
|
+
readonly default: undefined;
|
|
242
|
+
};
|
|
243
|
+
readonly theme: PropType<import("../../_mixins").Theme<"BackTop", {
|
|
226
244
|
color: string;
|
|
227
245
|
textColor: string;
|
|
228
246
|
iconColor: string;
|
|
@@ -235,8 +253,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
235
253
|
height: string;
|
|
236
254
|
borderRadius: string;
|
|
237
255
|
iconSize: string;
|
|
238
|
-
}, any
|
|
239
|
-
themeOverrides
|
|
256
|
+
}, any>>;
|
|
257
|
+
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"BackTop", {
|
|
240
258
|
color: string;
|
|
241
259
|
textColor: string;
|
|
242
260
|
iconColor: string;
|
|
@@ -249,8 +267,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
249
267
|
height: string;
|
|
250
268
|
borderRadius: string;
|
|
251
269
|
iconSize: string;
|
|
252
|
-
}, any
|
|
253
|
-
builtinThemeOverrides
|
|
270
|
+
}, any>>>;
|
|
271
|
+
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"BackTop", {
|
|
254
272
|
color: string;
|
|
255
273
|
textColor: string;
|
|
256
274
|
iconColor: string;
|
|
@@ -263,11 +281,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
263
281
|
height: string;
|
|
264
282
|
borderRadius: string;
|
|
265
283
|
iconSize: string;
|
|
266
|
-
}, any
|
|
267
|
-
|
|
268
|
-
onHide?: (() => void) | undefined;
|
|
269
|
-
listenTo?: string | HTMLElement | Document | (() => HTMLElement | Document) | undefined;
|
|
270
|
-
}>, {
|
|
284
|
+
}, any>>>;
|
|
285
|
+
}>>, {
|
|
271
286
|
right: string | number;
|
|
272
287
|
bottom: string | number;
|
|
273
288
|
show: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, ref, computed, toRef, watch, nextTick, defineComponent,
|
|
1
|
+
import { h, ref, computed, toRef, watch, nextTick, defineComponent, mergeProps, Transition, onMounted, onBeforeUnmount } from 'vue';
|
|
2
2
|
import { VLazyTeleport } from 'vueuc';
|
|
3
3
|
import { useIsMounted, useMergedState } from 'vooks';
|
|
4
4
|
import { getScrollParent, unwrapElement } from 'seemly';
|
|
@@ -206,9 +206,7 @@ export default defineComponent({
|
|
|
206
206
|
style: Object.assign(Object.assign({}, this.style), this.cssVars),
|
|
207
207
|
onClick: this.handleClick
|
|
208
208
|
}), [
|
|
209
|
-
|
|
210
|
-
h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => BackTopIcon })
|
|
211
|
-
])
|
|
209
|
+
this.$slots.default ? (this.$slots.default()) : (h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => BackTopIcon }))
|
|
212
210
|
])
|
|
213
211
|
: null
|
|
214
212
|
}))
|
package/es/badge/src/Badge.d.ts
CHANGED
|
@@ -118,29 +118,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
'--n-bezier': string;
|
|
119
119
|
'--n-ripple-bezier': string;
|
|
120
120
|
}>;
|
|
121
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
122
|
-
readonly value
|
|
123
|
-
readonly max
|
|
124
|
-
readonly dot
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
readonly
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
readonly
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
121
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
122
|
+
readonly value: PropType<string | number>;
|
|
123
|
+
readonly max: NumberConstructor;
|
|
124
|
+
readonly dot: {
|
|
125
|
+
readonly type: BooleanConstructor;
|
|
126
|
+
readonly default: false;
|
|
127
|
+
};
|
|
128
|
+
readonly type: {
|
|
129
|
+
readonly type: PropType<"default" | "error" | "info" | "success" | "warning">;
|
|
130
|
+
readonly default: "default";
|
|
131
|
+
};
|
|
132
|
+
readonly show: {
|
|
133
|
+
readonly type: BooleanConstructor;
|
|
134
|
+
readonly default: true;
|
|
135
|
+
};
|
|
136
|
+
readonly showZero: {
|
|
137
|
+
readonly type: BooleanConstructor;
|
|
138
|
+
readonly default: false;
|
|
139
|
+
};
|
|
140
|
+
readonly processing: {
|
|
141
|
+
readonly type: BooleanConstructor;
|
|
142
|
+
readonly default: false;
|
|
143
|
+
};
|
|
144
|
+
readonly color: StringConstructor;
|
|
145
|
+
readonly theme: PropType<import("../../_mixins").Theme<"Badge", {
|
|
144
146
|
color: string;
|
|
145
147
|
colorInfo: string;
|
|
146
148
|
colorSuccess: string;
|
|
@@ -148,8 +150,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
148
150
|
colorWarning: string;
|
|
149
151
|
fontSize: string;
|
|
150
152
|
fontFamily: string;
|
|
151
|
-
}, any
|
|
152
|
-
themeOverrides
|
|
153
|
+
}, any>>;
|
|
154
|
+
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Badge", {
|
|
153
155
|
color: string;
|
|
154
156
|
colorInfo: string;
|
|
155
157
|
colorSuccess: string;
|
|
@@ -157,8 +159,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
157
159
|
colorWarning: string;
|
|
158
160
|
fontSize: string;
|
|
159
161
|
fontFamily: string;
|
|
160
|
-
}, any
|
|
161
|
-
builtinThemeOverrides
|
|
162
|
+
}, any>>>;
|
|
163
|
+
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Badge", {
|
|
162
164
|
color: string;
|
|
163
165
|
colorInfo: string;
|
|
164
166
|
colorSuccess: string;
|
|
@@ -166,8 +168,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
166
168
|
colorWarning: string;
|
|
167
169
|
fontSize: string;
|
|
168
170
|
fontFamily: string;
|
|
169
|
-
}, any
|
|
170
|
-
}
|
|
171
|
+
}, any>>>;
|
|
172
|
+
}>>, {
|
|
171
173
|
type: "default" | "error" | "info" | "success" | "warning";
|
|
172
174
|
show: boolean;
|
|
173
175
|
dot: boolean;
|
package/es/badge/src/Badge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, computed, onMounted, ref, defineComponent,
|
|
1
|
+
import { h, computed, onMounted, ref, defineComponent, Transition } from 'vue';
|
|
2
2
|
import { useConfig, useTheme } from '../../_mixins';
|
|
3
3
|
import { NBaseSlotMachine, NBaseWave } from '../../_internal';
|
|
4
4
|
import { createKey, getTitleAttribute } from '../../_utils';
|
|
@@ -63,15 +63,16 @@ export default defineComponent({
|
|
|
63
63
|
};
|
|
64
64
|
},
|
|
65
65
|
render() {
|
|
66
|
-
|
|
66
|
+
var _a;
|
|
67
|
+
const { mergedClsPrefix, $slots } = this;
|
|
67
68
|
return (h("div", { class: [
|
|
68
69
|
`${mergedClsPrefix}-badge`,
|
|
69
70
|
{
|
|
70
71
|
[`${mergedClsPrefix}-badge--dot`]: this.dot,
|
|
71
|
-
[`${mergedClsPrefix}-badge--as-is`]:
|
|
72
|
+
[`${mergedClsPrefix}-badge--as-is`]: !$slots.default
|
|
72
73
|
}
|
|
73
|
-
], style: this.cssVars },
|
|
74
|
-
|
|
74
|
+
], style: this.cssVars }, (_a = $slots.default) === null || _a === void 0 ? void 0 :
|
|
75
|
+
_a.call($slots),
|
|
75
76
|
h(Transition, { name: "fade-in-scale-up-transition", onAfterEnter: this.handleAfterEnter, onAfterLeave: this.handleAfterLeave }, {
|
|
76
77
|
default: () => this.showBadge ? (h("sup", { class: `${mergedClsPrefix}-badge-sup`, title: getTitleAttribute(this.value) },
|
|
77
78
|
!this.dot ? (h(NBaseSlotMachine, { clsPrefix: mergedClsPrefix, appeared: this.appeared, max: this.max, value: this.value })) : null,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export interface BreadcrumbInjection {
|
|
4
4
|
separatorRef: Ref<string>;
|
|
5
5
|
mergedClsPrefixRef: Ref<string>;
|
|
6
6
|
}
|
|
7
|
-
export declare const breadcrumbInjectionKey: InjectionKey<BreadcrumbInjection>;
|
|
7
|
+
export declare const breadcrumbInjectionKey: import("vue").InjectionKey<BreadcrumbInjection>;
|
|
8
8
|
declare const breadcrumbProps: {
|
|
9
9
|
readonly separator: {
|
|
10
10
|
readonly type: StringConstructor;
|
|
@@ -83,15 +83,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
83
|
'--n-separator-color': string;
|
|
84
84
|
'--n-font-weight-active': string;
|
|
85
85
|
}>;
|
|
86
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
87
|
-
readonly separator
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
separator: string;
|
|
93
|
-
} & {
|
|
94
|
-
theme?: import("../../_mixins").Theme<"Breadcrumb", {
|
|
86
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
+
readonly separator: {
|
|
88
|
+
readonly type: StringConstructor;
|
|
89
|
+
readonly default: "/";
|
|
90
|
+
};
|
|
91
|
+
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Breadcrumb", {
|
|
95
92
|
fontSize: string;
|
|
96
93
|
itemTextColor: string;
|
|
97
94
|
itemTextColorHover: string;
|
|
@@ -99,8 +96,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
96
|
itemTextColorActive: string;
|
|
100
97
|
separatorColor: string;
|
|
101
98
|
fontWeightActive: string;
|
|
102
|
-
}, any
|
|
103
|
-
themeOverrides
|
|
99
|
+
}, any>>;
|
|
100
|
+
readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Breadcrumb", {
|
|
104
101
|
fontSize: string;
|
|
105
102
|
itemTextColor: string;
|
|
106
103
|
itemTextColorHover: string;
|
|
@@ -108,8 +105,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
108
105
|
itemTextColorActive: string;
|
|
109
106
|
separatorColor: string;
|
|
110
107
|
fontWeightActive: string;
|
|
111
|
-
}, any
|
|
112
|
-
builtinThemeOverrides
|
|
108
|
+
}, any>>>;
|
|
109
|
+
readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Breadcrumb", {
|
|
113
110
|
fontSize: string;
|
|
114
111
|
itemTextColor: string;
|
|
115
112
|
itemTextColorHover: string;
|
|
@@ -117,8 +114,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
114
|
itemTextColorActive: string;
|
|
118
115
|
separatorColor: string;
|
|
119
116
|
fontWeightActive: string;
|
|
120
|
-
}, any
|
|
121
|
-
}
|
|
117
|
+
}, any>>>;
|
|
118
|
+
}>>, {
|
|
122
119
|
separator: string;
|
|
123
120
|
}>;
|
|
124
121
|
export default _default;
|
|
@@ -2,7 +2,8 @@ import { h, computed, defineComponent, provide, toRef } from 'vue';
|
|
|
2
2
|
import { useConfig, useTheme } from '../../_mixins';
|
|
3
3
|
import { breadcrumbLight } from '../styles';
|
|
4
4
|
import style from './styles/index.cssr';
|
|
5
|
-
|
|
5
|
+
import { createInjectionKey } from '../../_utils';
|
|
6
|
+
export const breadcrumbInjectionKey = createInjectionKey('n-breadcrumb');
|
|
6
7
|
const breadcrumbProps = Object.assign(Object.assign({}, useTheme.props), { separator: {
|
|
7
8
|
type: String,
|
|
8
9
|
default: '/'
|
|
@@ -7,11 +7,8 @@ export declare type BreadcrumbItemProps = Partial<ExtractPropTypes<typeof breadc
|
|
|
7
7
|
declare const _default: import("vue").DefineComponent<{
|
|
8
8
|
readonly separator: StringConstructor;
|
|
9
9
|
readonly href: StringConstructor;
|
|
10
|
-
}, (() => null) | (() => JSX.Element), unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
11
|
-
readonly separator
|
|
12
|
-
readonly href
|
|
13
|
-
}
|
|
14
|
-
separator?: string | undefined;
|
|
15
|
-
href?: string | undefined;
|
|
16
|
-
}>, {}>;
|
|
10
|
+
}, (() => null) | (() => JSX.Element), unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
11
|
+
readonly separator: StringConstructor;
|
|
12
|
+
readonly href: StringConstructor;
|
|
13
|
+
}>>, {}>;
|
|
17
14
|
export default _default;
|