naive-ui 2.38.2 → 2.40.0
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/dist/index.js +31501 -32798
- package/dist/index.mjs +31486 -32787
- package/dist/index.prod.js +1 -9
- package/dist/index.prod.mjs +1 -9
- package/es/_internal/clear/src/Clear.mjs +1 -1
- package/es/_internal/clear/src/styles/index.cssr.mjs +1 -1
- package/es/_internal/close/src/Close.d.ts +0 -1
- package/es/_internal/close/src/Close.mjs +1 -1
- package/es/_internal/close/src/styles/index.cssr.mjs +1 -1
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +2 -2
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.mjs +1 -2
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +0 -1
- package/es/_internal/focus-detector/src/FocusDetector.mjs +1 -1
- package/es/_internal/icon/src/Icon.mjs +1 -1
- package/es/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +0 -1
- package/es/_internal/icon-switch-transition/src/IconSwitchTransition.mjs +1 -1
- package/es/_internal/icons/Add.mjs +1 -1
- package/es/_internal/icons/ArrowBack.mjs +1 -1
- package/es/_internal/icons/ArrowDown.mjs +1 -1
- package/es/_internal/icons/ArrowUp.mjs +1 -1
- package/es/_internal/icons/Backward.mjs +1 -1
- package/es/_internal/icons/Checkmark.mjs +1 -1
- package/es/_internal/icons/ChevronDown.mjs +1 -1
- package/es/_internal/icons/ChevronDownFilled.mjs +1 -1
- package/es/_internal/icons/ChevronLeft.mjs +1 -1
- package/es/_internal/icons/ChevronRight.mjs +1 -1
- package/es/_internal/icons/Empty.mjs +1 -1
- package/es/_internal/icons/Eye.mjs +1 -1
- package/es/_internal/icons/EyeOff.mjs +1 -1
- package/es/_internal/icons/FastBackward.mjs +1 -1
- package/es/_internal/icons/FastForward.mjs +1 -1
- package/es/_internal/icons/File.mjs +1 -1
- package/es/_internal/icons/Filter.mjs +1 -1
- package/es/_internal/icons/Forward.mjs +1 -1
- package/es/_internal/icons/More.mjs +1 -1
- package/es/_internal/icons/Photo.mjs +1 -1
- package/es/_internal/icons/Remove.mjs +1 -1
- package/es/_internal/icons/ResizeSmall.mjs +1 -1
- package/es/_internal/icons/Search.mjs +1 -1
- package/es/_internal/icons/Switcher.mjs +1 -1
- package/es/_internal/icons/replaceable.d.ts +0 -1
- package/es/_internal/icons/replaceable.mjs +0 -1
- package/es/_internal/loading/src/Loading.mjs +1 -1
- package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/es/_internal/menu-mask/src/MenuMask.mjs +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +70 -24
- package/es/_internal/scrollbar/src/Scrollbar.mjs +53 -42
- package/es/_internal/scrollbar/src/styles/index.cssr.mjs +11 -5
- package/es/_internal/scrollbar/src/styles/rtl.cssr.mjs +1 -1
- package/es/_internal/scrollbar/styles/common.d.ts +4 -2
- package/es/_internal/scrollbar/styles/common.mjs +4 -2
- package/es/_internal/scrollbar/styles/light.d.ts +5 -3
- package/es/_internal/scrollbar/styles/light.mjs +2 -2
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
- package/es/_internal/select-menu/src/SelectGroupHeader.mjs +1 -2
- package/es/_internal/select-menu/src/SelectMenu.d.ts +75 -123
- package/es/_internal/select-menu/src/SelectMenu.mjs +5 -4
- package/es/_internal/select-menu/src/SelectOption.d.ts +3 -3
- package/es/_internal/select-menu/src/SelectOption.mjs +2 -3
- package/es/_internal/select-menu/src/interface.d.ts +2 -2
- package/es/_internal/select-menu/styles/_common.d.ts +2 -0
- package/es/_internal/select-menu/styles/_common.mjs +2 -0
- package/es/_internal/select-menu/styles/light.d.ts +15 -3
- package/es/_internal/select-menu/styles/light.mjs +7 -3
- package/es/_internal/selection/src/Selection.d.ts +8 -112
- package/es/_internal/selection/src/Selection.mjs +5 -6
- package/es/_internal/selection/src/interface.d.ts +1 -1
- package/es/_internal/selection/styles/light.d.ts +1 -1
- package/es/_internal/selection/styles/light.mjs +3 -3
- package/es/_internal/slot-machine/src/SlotMachine.d.ts +0 -1
- package/es/_internal/slot-machine/src/SlotMachine.mjs +1 -1
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +0 -1
- package/es/_internal/slot-machine/src/SlotMachineNumber.mjs +1 -1
- package/es/_internal/suffix/src/Suffix.d.ts +0 -1
- package/es/_internal/suffix/src/Suffix.mjs +1 -1
- package/es/_internal/wave/src/Wave.mjs +1 -2
- package/es/_mixins/use-config.d.ts +1 -1
- package/es/_mixins/use-config.mjs +1 -1
- package/es/_mixins/use-css-vars-class.mjs +10 -8
- package/es/_mixins/use-form-item.mjs +1 -1
- package/es/_mixins/use-hljs.mjs +1 -1
- package/es/_mixins/use-locale.mjs +2 -2
- package/es/_mixins/use-rtl.mjs +5 -2
- package/es/_mixins/use-style.mjs +5 -3
- package/es/_mixins/use-theme.d.ts +1 -1
- package/es/_mixins/use-theme.mjs +5 -4
- package/es/_styles/common/dark.mjs +3 -3
- package/es/_styles/common/light.mjs +3 -3
- package/es/_styles/transitions/fade-in-height-expand.cssr.mjs +2 -2
- package/es/_styles/transitions/fade-in-scale-up.cssr.mjs +2 -2
- package/es/_styles/transitions/icon-switch.cssr.mjs +1 -1
- package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/es/_utils/composable/use-adjusted-to.mjs +1 -1
- package/es/_utils/composable/use-browser-location.d.ts +1 -1
- package/es/_utils/composable/use-browser-location.mjs +3 -3
- package/es/_utils/composable/use-collection.d.ts +1 -1
- package/es/_utils/composable/use-collection.mjs +1 -1
- package/es/_utils/composable/use-houdini.mjs +1 -1
- package/es/_utils/composable/use-is-composing.d.ts +1 -1
- package/es/_utils/composable/use-is-composing.mjs +7 -7
- package/es/_utils/composable/use-lock-html-scroll.mjs +1 -1
- package/es/_utils/cssr/index.mjs +0 -2
- package/es/_utils/dom/download.d.ts +1 -1
- package/es/_utils/dom/download.mjs +2 -2
- package/es/_utils/naive/extract-public-props.d.ts +2 -2
- package/es/_utils/naive/prop.mjs +1 -1
- package/es/_utils/naive/warn.d.ts +1 -0
- package/es/_utils/naive/warn.mjs +3 -0
- package/es/_utils/vue/call.mjs +3 -1
- package/es/_utils/vue/flatten.d.ts +1 -1
- package/es/_utils/vue/flatten.mjs +1 -1
- package/es/_utils/vue/get-first-slot-vnode.d.ts +1 -1
- package/es/_utils/vue/get-first-slot-vnode.mjs +1 -1
- package/es/_utils/vue/get-slot.d.ts +1 -1
- package/es/_utils/vue/merge-handlers.mjs +0 -1
- package/es/_utils/vue/render.d.ts +1 -1
- package/es/_utils/vue/render.mjs +2 -2
- package/es/_utils/vue/resolve-slot.mjs +1 -1
- package/es/affix/src/Affix.mjs +4 -4
- package/es/alert/src/Alert.d.ts +4 -108
- package/es/alert/src/Alert.mjs +4 -6
- package/es/alert/styles/light.d.ts +1 -1
- package/es/alert/styles/light.mjs +2 -2
- package/es/anchor/src/AnchorAdapter.d.ts +0 -1
- package/es/anchor/src/AnchorAdapter.mjs +3 -3
- package/es/anchor/src/BaseAnchor.mjs +6 -4
- package/es/anchor/src/Link.d.ts +0 -1
- package/es/anchor/src/Link.mjs +1 -2
- package/es/anchor/src/styles/index.cssr.mjs +1 -1
- package/es/anchor/styles/light.d.ts +1 -1
- package/es/anchor/styles/light.mjs +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +115 -135
- package/es/auto-complete/src/AutoComplete.mjs +4 -4
- package/es/auto-complete/src/interface.d.ts +1 -1
- package/es/auto-complete/styles/light.d.ts +10 -2
- package/es/avatar/src/Avatar.d.ts +2 -2
- package/es/avatar/src/Avatar.mjs +2 -2
- package/es/avatar/src/styles/index.cssr.mjs +1 -1
- package/es/avatar/styles/light.d.ts +1 -1
- package/es/avatar/styles/light.mjs +3 -3
- package/es/avatar-group/src/AvatarGroup.d.ts +5 -109
- package/es/avatar-group/src/AvatarGroup.mjs +2 -2
- package/es/avatar-group/styles/light.d.ts +1 -1
- package/es/avatar-group/styles/light.mjs +2 -2
- package/es/back-top/src/BackTop.d.ts +3 -3
- package/es/back-top/src/BackTop.mjs +2 -2
- package/es/back-top/src/BackTopIcon.d.ts +0 -1
- package/es/back-top/styles/dark.mjs +1 -1
- package/es/back-top/styles/light.d.ts +1 -1
- package/es/back-top/styles/light.mjs +3 -3
- package/es/badge/src/Badge.d.ts +6 -6
- package/es/badge/src/Badge.mjs +2 -2
- package/es/badge/src/styles/index.cssr.mjs +1 -1
- package/es/badge/styles/light.d.ts +1 -1
- package/es/badge/styles/light.mjs +2 -2
- package/es/breadcrumb/src/Breadcrumb.mjs +2 -2
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +0 -1
- package/es/breadcrumb/src/BreadcrumbItem.mjs +1 -1
- package/es/breadcrumb/styles/light.d.ts +1 -1
- package/es/breadcrumb/styles/light.mjs +3 -3
- package/es/button/src/Button.d.ts +6 -6
- package/es/button/src/Button.mjs +8 -8
- package/es/button/src/styles/rtl.cssr.mjs +1 -1
- package/es/button/styles/light.d.ts +1 -1
- package/es/button/styles/light.mjs +3 -3
- package/es/button/styles/rtl.d.ts +1 -1
- package/es/button-group/src/ButtonGroup.mjs +1 -1
- package/es/button-group/src/styles/index.cssr.d.ts +1 -1
- package/es/button-group/src/styles/index.cssr.mjs +3 -3
- package/es/button-group/src/styles/rtl.cssr.mjs +3 -3
- package/es/button-group/styles/rtl.d.ts +1 -1
- package/es/calendar/src/Calendar.d.ts +4 -108
- package/es/calendar/src/Calendar.mjs +2 -2
- package/es/calendar/src/styles/index.cssr.mjs +1 -1
- package/es/calendar/styles/dark.mjs +1 -1
- package/es/calendar/styles/light.d.ts +1 -1
- package/es/calendar/styles/light.mjs +3 -3
- package/es/card/src/Card.d.ts +18 -122
- package/es/card/src/Card.mjs +2 -2
- package/es/card/src/styles/rtl.cssr.mjs +1 -1
- package/es/card/styles/light.d.ts +2 -2
- package/es/card/styles/light.mjs +2 -2
- package/es/card/styles/rtl.d.ts +1 -1
- package/es/carousel/src/Carousel.d.ts +18 -20
- package/es/carousel/src/Carousel.mjs +38 -28
- package/es/carousel/src/CarouselArrow.mjs +1 -1
- package/es/carousel/src/CarouselContext.d.ts +2 -2
- package/es/carousel/src/CarouselContext.mjs +4 -4
- package/es/carousel/src/CarouselDots.d.ts +3 -3
- package/es/carousel/src/CarouselDots.mjs +1 -1
- package/es/carousel/src/CarouselItem.d.ts +1 -1
- package/es/carousel/src/CarouselItem.mjs +3 -3
- package/es/carousel/src/utils/index.mjs +2 -2
- package/es/carousel/styles/light.d.ts +1 -2
- package/es/carousel/styles/light.mjs +2 -2
- package/es/cascader/src/Cascader.d.ts +181 -169
- package/es/cascader/src/Cascader.mjs +12 -8
- package/es/cascader/src/CascaderMenu.d.ts +24 -112
- package/es/cascader/src/CascaderMenu.mjs +1 -2
- package/es/cascader/src/CascaderOption.d.ts +25 -117
- package/es/cascader/src/CascaderOption.mjs +4 -5
- package/es/cascader/src/CascaderSelectMenu.d.ts +25 -113
- package/es/cascader/src/CascaderSelectMenu.mjs +3 -4
- package/es/cascader/src/CascaderSubmenu.d.ts +24 -112
- package/es/cascader/src/CascaderSubmenu.mjs +3 -4
- package/es/cascader/src/interface.d.ts +1 -1
- package/es/cascader/src/utils.d.ts +1 -1
- package/es/cascader/styles/dark.mjs +1 -1
- package/es/cascader/styles/light.d.ts +17 -5
- package/es/cascader/styles/light.mjs +2 -2
- package/es/checkbox/src/CheckMark.d.ts +0 -1
- package/es/checkbox/src/Checkbox.d.ts +9 -113
- package/es/checkbox/src/Checkbox.mjs +19 -19
- package/es/checkbox/src/CheckboxGroup.d.ts +16 -16
- package/es/checkbox/src/CheckboxGroup.mjs +1 -1
- package/es/checkbox/src/LineMark.d.ts +0 -1
- package/es/checkbox/styles/light.d.ts +1 -1
- package/es/checkbox/styles/light.mjs +2 -2
- package/es/code/src/Code.mjs +2 -2
- package/es/code/src/styles/index.cssr.mjs +0 -1
- package/es/code/styles/light.d.ts +2 -2
- package/es/code/styles/light.mjs +2 -2
- package/es/collapse/src/Collapse.d.ts +15 -119
- package/es/collapse/src/Collapse.mjs +2 -2
- package/es/collapse/src/CollapseItem.d.ts +3 -3
- package/es/collapse/src/CollapseItem.mjs +3 -3
- package/es/collapse/src/CollapseItemContent.d.ts +2 -2
- package/es/collapse/src/CollapseItemContent.mjs +1 -1
- package/es/collapse/styles/light.d.ts +1 -1
- package/es/collapse/styles/light.mjs +2 -2
- package/es/collapse-transition/src/CollapseTransition.mjs +2 -2
- package/es/collapse-transition/styles/light.d.ts +1 -1
- package/es/collapse-transition/styles/light.mjs +2 -2
- package/es/color-picker/src/ColorInput.d.ts +3 -3
- package/es/color-picker/src/ColorInput.mjs +3 -3
- package/es/color-picker/src/ColorInputUnit.d.ts +3 -107
- package/es/color-picker/src/ColorInputUnit.mjs +4 -5
- package/es/color-picker/src/ColorPicker.d.ts +13 -10
- package/es/color-picker/src/ColorPicker.mjs +10 -10
- package/es/color-picker/src/ColorPickerSwatches.mjs +2 -2
- package/es/color-picker/src/ColorPickerTrigger.d.ts +0 -1
- package/es/color-picker/src/ColorPickerTrigger.mjs +0 -1
- package/es/color-picker/src/Pallete.mjs +1 -1
- package/es/color-picker/src/interface.d.ts +1 -0
- package/es/color-picker/styles/light.d.ts +1 -1
- package/es/color-picker/styles/light.mjs +2 -2
- package/es/components.d.ts +1 -0
- package/es/components.mjs +1 -0
- package/es/config-provider/src/ConfigProvider.d.ts +17 -389
- package/es/config-provider/src/ConfigProvider.mjs +6 -6
- package/es/config-provider/src/internal-interface.d.ts +4 -3
- package/es/countdown/src/Countdown.d.ts +4 -4
- package/es/countdown/src/Countdown.mjs +3 -3
- package/es/create.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +301 -173
- package/es/data-table/src/DataTable.mjs +35 -18
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +54 -115
- package/es/data-table/src/HeaderButton/FilterButton.mjs +12 -9
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +53 -115
- package/es/data-table/src/HeaderButton/FilterMenu.mjs +1 -2
- package/es/data-table/src/HeaderButton/ResizeButton.mjs +1 -2
- package/es/data-table/src/HeaderButton/SortButton.mjs +2 -3
- package/es/data-table/src/MainTable.d.ts +1 -0
- package/es/data-table/src/MainTable.mjs +8 -5
- package/es/data-table/src/TableParts/Body.d.ts +61 -120
- package/es/data-table/src/TableParts/Body.mjs +134 -26
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +0 -1
- package/es/data-table/src/TableParts/BodyCheckbox.mjs +0 -1
- package/es/data-table/src/TableParts/BodyRadio.d.ts +0 -1
- package/es/data-table/src/TableParts/BodyRadio.mjs +0 -1
- package/es/data-table/src/TableParts/Cell.d.ts +5 -2515
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +9 -1
- package/es/data-table/src/TableParts/ExpandTrigger.mjs +7 -2
- package/es/data-table/src/TableParts/Header.d.ts +61 -118
- package/es/data-table/src/TableParts/Header.mjs +211 -80
- package/es/data-table/src/TableParts/SelectionMenu.d.ts +0 -1
- package/es/data-table/src/TableParts/SelectionMenu.mjs +1 -2
- package/es/data-table/src/interface.d.ts +132 -30
- package/es/data-table/src/interface.mjs +12 -0
- package/es/data-table/src/styles/index.cssr.mjs +17 -1
- package/es/data-table/src/styles/rtl.cssr.mjs +1 -1
- package/es/data-table/src/use-check.d.ts +2 -2
- package/es/data-table/src/use-check.mjs +0 -2
- package/es/data-table/src/use-expand.d.ts +1 -1
- package/es/data-table/src/use-expand.mjs +1 -2
- package/es/data-table/src/use-group-header.d.ts +7 -1
- package/es/data-table/src/use-group-header.mjs +10 -5
- package/es/data-table/src/use-resizable.mjs +0 -1
- package/es/data-table/src/use-scroll.d.ts +1 -1
- package/es/data-table/src/use-scroll.mjs +2 -3
- package/es/data-table/src/use-sorter.d.ts +1 -1
- package/es/data-table/src/use-sorter.mjs +0 -3
- package/es/data-table/src/use-table-data.d.ts +1 -1
- package/es/data-table/src/use-table-data.mjs +1 -2
- package/es/data-table/src/utils.d.ts +1 -1
- package/es/data-table/src/utils.mjs +3 -4
- package/es/data-table/styles/light.d.ts +39 -7
- package/es/data-table/styles/light.mjs +9 -3
- package/es/date-picker/index.d.ts +3 -3
- package/es/date-picker/index.mjs +2 -1
- package/es/date-picker/src/DatePicker.d.ts +157 -2212
- package/es/date-picker/src/DatePicker.mjs +13 -90
- package/es/date-picker/src/config.d.ts +0 -1
- package/es/date-picker/src/config.mjs +0 -1
- package/es/date-picker/src/interface.d.ts +8 -7
- package/es/date-picker/src/panel/date.d.ts +25 -150
- package/es/date-picker/src/panel/date.mjs +12 -6
- package/es/date-picker/src/panel/daterange.d.ts +26 -121
- package/es/date-picker/src/panel/daterange.mjs +12 -5
- package/es/date-picker/src/panel/datetime.d.ts +24 -119
- package/es/date-picker/src/panel/datetime.mjs +18 -7
- package/es/date-picker/src/panel/datetimerange.d.ts +25 -120
- package/es/date-picker/src/panel/datetimerange.mjs +14 -5
- package/es/date-picker/src/panel/month.d.ts +27 -122
- package/es/date-picker/src/panel/month.mjs +24 -9
- package/es/date-picker/src/panel/monthrange.d.ts +29 -124
- package/es/date-picker/src/panel/monthrange.mjs +12 -5
- package/es/date-picker/src/panel/panelHeader.d.ts +51 -246
- package/es/date-picker/src/panel/panelHeader.mjs +2 -2
- package/es/date-picker/src/panel/use-calendar.d.ts +20 -117
- package/es/date-picker/src/panel/use-calendar.mjs +9 -10
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +24 -121
- package/es/date-picker/src/panel/use-dual-calendar.mjs +11 -12
- package/es/date-picker/src/panel/use-panel-common.d.ts +19 -116
- package/es/date-picker/src/panel/use-panel-common.mjs +2 -3
- package/es/date-picker/src/props.d.ts +2008 -0
- package/es/date-picker/src/props.mjs +87 -0
- package/es/date-picker/src/public-types.d.ts +23 -0
- package/es/date-picker/src/public-types.mjs +1 -0
- package/es/date-picker/src/utils.d.ts +2 -1
- package/es/date-picker/src/utils.mjs +7 -10
- package/es/date-picker/src/validation-utils.mjs +1 -2
- package/es/date-picker/styles/light.d.ts +9 -5
- package/es/date-picker/styles/light.mjs +3 -3
- package/es/descriptions/src/Descriptions.d.ts +1 -1
- package/es/descriptions/src/Descriptions.mjs +3 -3
- package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/es/descriptions/styles/light.d.ts +1 -1
- package/es/descriptions/styles/light.mjs +3 -3
- package/es/dialog/src/Dialog.d.ts +9 -113
- package/es/dialog/src/Dialog.mjs +4 -4
- package/es/dialog/src/DialogEnvironment.d.ts +19 -19
- package/es/dialog/src/DialogEnvironment.mjs +5 -3
- package/es/dialog/src/DialogProvider.d.ts +7 -7
- package/es/dialog/src/DialogProvider.mjs +2 -3
- package/es/dialog/src/composables.mjs +1 -1
- package/es/dialog/src/dialogProps.d.ts +4 -4
- package/es/dialog/styles/light.d.ts +1 -1
- package/es/dialog/styles/light.mjs +3 -3
- package/es/discrete/src/discrete.mjs +1 -1
- package/es/discrete/src/discreteApp.mjs +6 -6
- package/es/discrete/src/interface.d.ts +2 -2
- package/es/divider/src/Divider.d.ts +3 -3
- package/es/divider/src/Divider.mjs +1 -1
- package/es/divider/src/styles/index.cssr.mjs +1 -1
- package/es/divider/styles/light.d.ts +1 -1
- package/es/divider/styles/light.mjs +2 -2
- package/es/drawer/src/Drawer.d.ts +45 -129
- package/es/drawer/src/Drawer.mjs +6 -4
- package/es/drawer/src/DrawerBodyWrapper.d.ts +8 -110
- package/es/drawer/src/DrawerBodyWrapper.mjs +7 -8
- package/es/drawer/src/DrawerContent.d.ts +5 -107
- package/es/drawer/src/styles/index.cssr.mjs +3 -1
- package/es/drawer/styles/light.d.ts +5 -3
- package/es/drawer/styles/light.mjs +2 -2
- package/es/dropdown/src/Dropdown.d.ts +23 -127
- package/es/dropdown/src/Dropdown.mjs +3 -3
- package/es/dropdown/src/DropdownDivider.mjs +1 -1
- package/es/dropdown/src/DropdownGroup.d.ts +3 -2
- package/es/dropdown/src/DropdownGroup.mjs +1 -2
- package/es/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/es/dropdown/src/DropdownGroupHeader.mjs +1 -4
- package/es/dropdown/src/DropdownMenu.d.ts +5 -4
- package/es/dropdown/src/DropdownMenu.mjs +4 -7
- package/es/dropdown/src/DropdownOption.d.ts +7 -6
- package/es/dropdown/src/DropdownOption.mjs +4 -8
- package/es/dropdown/src/DropdownRenderOption.d.ts +3 -2
- package/es/dropdown/src/DropdownRenderOption.mjs +1 -1
- package/es/dropdown/src/interface.d.ts +1 -1
- package/es/dropdown/src/styles/index.cssr.mjs +1 -1
- package/es/dropdown/styles/dark.mjs +1 -1
- package/es/dropdown/styles/light.d.ts +1 -1
- package/es/dropdown/styles/light.mjs +3 -3
- package/es/dynamic-input/src/DynamicInput.d.ts +4 -108
- package/es/dynamic-input/src/DynamicInput.mjs +5 -5
- package/es/dynamic-input/src/InputPreset.d.ts +1 -105
- package/es/dynamic-input/src/InputPreset.mjs +1 -2
- package/es/dynamic-input/src/PairPreset.d.ts +1 -105
- package/es/dynamic-input/src/PairPreset.mjs +0 -1
- package/es/dynamic-input/src/styles/index.cssr.mjs +1 -1
- package/es/dynamic-input/styles/light.d.ts +1 -1
- package/es/dynamic-input/styles/light.mjs +3 -3
- package/es/dynamic-tags/src/DynamicTags.d.ts +13 -117
- package/es/dynamic-tags/src/DynamicTags.mjs +2 -2
- package/es/element/src/Element.mjs +1 -1
- package/es/element/styles/dark.d.ts +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +4 -109
- package/es/ellipsis/src/Ellipsis.mjs +4 -2
- package/es/ellipsis/src/PerformantEllipsis.d.ts +3 -4
- package/es/ellipsis/src/PerformantEllipsis.mjs +1 -1
- package/es/ellipsis/src/styles/index.cssr.mjs +1 -1
- package/es/ellipsis/styles/dark.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +22 -4
- package/es/empty/src/Empty.mjs +5 -6
- package/es/empty/styles/_common.d.ts +1 -0
- package/es/empty/styles/_common.mjs +1 -0
- package/es/empty/styles/light.d.ts +3 -1
- package/es/empty/styles/light.mjs +5 -3
- package/es/equation/src/Equation.d.ts +4 -3
- package/es/equation/src/Equation.mjs +1 -1
- package/es/flex/src/Flex.d.ts +10 -9
- package/es/flex/src/Flex.mjs +1 -1
- package/es/flex/src/type.d.ts +1 -1
- package/es/flex/styles/light.d.ts +1 -1
- package/es/flex/styles/light.mjs +2 -2
- package/es/flex/styles/rtl.d.ts +1 -1
- package/es/float-button/src/FloatButton.d.ts +12 -11
- package/es/float-button/src/FloatButton.mjs +22 -8
- package/es/float-button/styles/light.d.ts +2 -2
- package/es/float-button/styles/light.mjs +2 -2
- package/es/float-button-group/src/FloatButtonGroup.d.ts +6 -6
- package/es/float-button-group/src/FloatButtonGroup.mjs +2 -2
- package/es/float-button-group/styles/light.d.ts +3 -3
- package/es/float-button-group/styles/light.mjs +2 -2
- package/es/form/src/Form.d.ts +5 -5
- package/es/form/src/Form.mjs +2 -3
- package/es/form/src/FormItem.d.ts +9 -9
- package/es/form/src/FormItem.mjs +72 -72
- package/es/form/src/FormItemCol.d.ts +6 -6
- package/es/form/src/FormItemCol.mjs +3 -3
- package/es/form/src/FormItemGridItem.d.ts +6 -6
- package/es/form/src/FormItemGridItem.mjs +3 -3
- package/es/form/src/FormItemRow.d.ts +6 -6
- package/es/form/src/FormItemRow.mjs +3 -3
- package/es/form/src/interface.d.ts +1 -1
- package/es/form/src/styles/form-item.cssr.mjs +1 -1
- package/es/form/src/utils.d.ts +1 -1
- package/es/form/src/utils.mjs +2 -4
- package/es/form/styles/light.d.ts +1 -1
- package/es/form/styles/light.mjs +2 -2
- package/es/global-style/src/GlobalStyle.mjs +1 -1
- package/es/gradient-text/src/GradientText.d.ts +3 -3
- package/es/gradient-text/src/GradientText.mjs +1 -1
- package/es/gradient-text/styles/light.d.ts +1 -1
- package/es/gradient-text/styles/light.mjs +2 -2
- package/es/grid/src/Grid.d.ts +15 -15
- package/es/grid/src/Grid.mjs +3 -3
- package/es/grid/src/GridItem.mjs +1 -3
- package/es/highlight/index.d.ts +2 -0
- package/es/highlight/index.mjs +1 -0
- package/es/highlight/src/Highlight.d.ts +65 -0
- package/es/highlight/src/Highlight.mjs +75 -0
- package/es/highlight/src/public-types.d.ts +3 -0
- package/es/highlight/src/public-types.mjs +1 -0
- package/es/highlight/src/utils.d.ts +4 -0
- package/es/highlight/src/utils.mjs +30 -0
- package/es/icon/src/Icon.d.ts +3 -3
- package/es/icon/src/Icon.mjs +3 -3
- package/es/icon/styles/light.d.ts +1 -1
- package/es/icon/styles/light.mjs +2 -2
- package/es/icon-wrapper/src/IconWrapper.d.ts +0 -1
- package/es/icon-wrapper/styles/light.d.ts +1 -1
- package/es/icon-wrapper/styles/light.mjs +2 -2
- package/es/image/src/Image.d.ts +8 -8
- package/es/image/src/Image.mjs +1 -1
- package/es/image/src/ImageGroup.d.ts +1 -1
- package/es/image/src/ImageGroup.mjs +7 -3
- package/es/image/src/ImagePreview.d.ts +3 -3
- package/es/image/src/ImagePreview.mjs +14 -12
- package/es/image/src/icons.d.ts +0 -1
- package/es/image/src/utils.d.ts +2 -2
- package/es/image/src/utils.mjs +3 -5
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +3 -3
- package/es/infinite-scroll/src/InfiniteScroll.mjs +5 -5
- package/es/input/src/Input.d.ts +34 -138
- package/es/input/src/Input.mjs +22 -15
- package/es/input/src/InputGroup.mjs +1 -1
- package/es/input/src/WordCount.d.ts +0 -1
- package/es/input/src/WordCount.mjs +2 -4
- package/es/input/src/styles/input.cssr.mjs +1 -1
- package/es/input/src/utils.mjs +0 -1
- package/es/input/styles/dark.mjs +1 -1
- package/es/input/styles/light.d.ts +1 -1
- package/es/input/styles/light.mjs +3 -3
- package/es/input-number/src/InputNumber.d.ts +24 -115
- package/es/input-number/src/InputNumber.mjs +40 -35
- package/es/input-number/src/styles/input-number.cssr.mjs +1 -1
- package/es/input-number/src/utils.mjs +4 -2
- package/es/input-number/styles/light.d.ts +1 -1
- package/es/input-number/styles/light.mjs +2 -2
- package/es/layout/src/Layout.d.ts +59 -239
- package/es/layout/src/Layout.mjs +1 -5
- package/es/layout/src/LayoutContent.d.ts +29 -119
- package/es/layout/src/LayoutFooter.d.ts +36 -18
- package/es/layout/src/LayoutFooter.mjs +1 -1
- package/es/layout/src/LayoutHeader.d.ts +24 -12
- package/es/layout/src/LayoutHeader.mjs +1 -1
- package/es/layout/src/LayoutSider.d.ts +37 -127
- package/es/layout/src/LayoutSider.mjs +5 -8
- package/es/layout/src/ToggleBar.mjs +1 -1
- package/es/layout/src/ToggleButton.mjs +1 -1
- package/es/layout/src/interface.d.ts +1 -1
- package/es/layout/styles/dark.mjs +1 -1
- package/es/layout/styles/light.d.ts +5 -3
- package/es/layout/styles/light.mjs +2 -2
- package/es/legacy-grid/src/Col.mjs +1 -1
- package/es/legacy-grid/src/Row.mjs +1 -1
- package/es/legacy-grid/src/styles/index.cssr.mjs +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +63 -127
- package/es/legacy-transfer/src/Transfer.mjs +3 -3
- package/es/legacy-transfer/src/TransferFilter.d.ts +7 -107
- package/es/legacy-transfer/src/TransferFilter.mjs +1 -2
- package/es/legacy-transfer/src/TransferHeader.d.ts +0 -1
- package/es/legacy-transfer/src/TransferHeader.mjs +1 -2
- package/es/legacy-transfer/src/TransferList.d.ts +8 -108
- package/es/legacy-transfer/src/TransferList.mjs +1 -2
- package/es/legacy-transfer/src/TransferListItem.d.ts +7 -107
- package/es/legacy-transfer/src/TransferListItem.mjs +2 -3
- package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/es/legacy-transfer/src/use-transfer-data.mjs +1 -2
- package/es/legacy-transfer/styles/dark.mjs +1 -1
- package/es/legacy-transfer/styles/light.d.ts +7 -3
- package/es/legacy-transfer/styles/light.mjs +3 -3
- package/es/list/src/List.mjs +1 -1
- package/es/list/src/ListItem.mjs +1 -1
- package/es/list/src/styles/index.cssr.mjs +1 -1
- package/es/list/styles/light.d.ts +2 -2
- package/es/list/styles/light.mjs +2 -2
- package/es/loading-bar/src/LoadingBar.d.ts +2 -2
- package/es/loading-bar/src/LoadingBar.mjs +1 -3
- package/es/loading-bar/src/LoadingBarProvider.d.ts +10 -10
- package/es/loading-bar/src/LoadingBarProvider.mjs +1 -1
- package/es/loading-bar/src/use-loading-bar.mjs +1 -1
- package/es/loading-bar/styles/light.d.ts +1 -1
- package/es/loading-bar/styles/light.mjs +2 -2
- package/es/locales/common/arDZ.mjs +1 -1
- package/es/locales/common/azAZ.d.ts +3 -0
- package/es/locales/common/azAZ.mjs +124 -0
- package/es/locales/common/csCZ.mjs +1 -1
- package/es/locales/common/deDE.mjs +1 -1
- package/es/locales/common/enGB.mjs +1 -1
- package/es/locales/common/enUS.d.ts +1 -1
- package/es/locales/common/enUS.mjs +1 -1
- package/es/locales/common/eo.mjs +1 -1
- package/es/locales/common/esAR.mjs +1 -1
- package/es/locales/common/etEE.mjs +1 -1
- package/es/locales/common/faIR.mjs +1 -1
- package/es/locales/common/frFR.mjs +6 -6
- package/es/locales/common/idID.mjs +1 -1
- package/es/locales/common/itIT.mjs +3 -3
- package/es/locales/common/jaJP.mjs +1 -1
- package/es/locales/common/koKR.mjs +1 -1
- package/es/locales/common/nbNO.mjs +1 -1
- package/es/locales/common/nlNL.mjs +1 -1
- package/es/locales/common/plPL.mjs +1 -1
- package/es/locales/common/ptBR.mjs +1 -1
- package/es/locales/common/ruRU.mjs +1 -1
- package/es/locales/common/skSK.mjs +1 -1
- package/es/locales/common/svSE.mjs +1 -1
- package/es/locales/common/thTH.mjs +1 -1
- package/es/locales/common/trTR.mjs +1 -1
- package/es/locales/common/ukUA.mjs +1 -1
- package/es/locales/common/uzUZ.d.ts +3 -0
- package/es/locales/common/uzUZ.mjs +125 -0
- package/es/locales/common/viVN.mjs +1 -1
- package/es/locales/common/zhCN.mjs +1 -1
- package/es/locales/common/zhTW.mjs +1 -1
- package/es/locales/date/arDZ.mjs +1 -1
- package/es/locales/date/azAZ.d.ts +3 -0
- package/es/locales/date/azAZ.mjs +6 -0
- package/es/locales/date/csCZ.d.ts +1 -1
- package/es/locales/date/csCZ.mjs +1 -1
- package/es/locales/date/deDE.mjs +1 -1
- package/es/locales/date/enGB.d.ts +1 -1
- package/es/locales/date/enGB.mjs +1 -1
- package/es/locales/date/enUS.mjs +1 -1
- package/es/locales/date/eo.mjs +1 -1
- package/es/locales/date/esAR.d.ts +1 -1
- package/es/locales/date/esAR.mjs +2 -2
- package/es/locales/date/etEE.d.ts +1 -1
- package/es/locales/date/etEE.mjs +1 -1
- package/es/locales/date/faIR.d.ts +1 -1
- package/es/locales/date/faIR.mjs +1 -1
- package/es/locales/date/frFR.d.ts +1 -1
- package/es/locales/date/frFR.mjs +2 -2
- package/es/locales/date/idID.d.ts +1 -1
- package/es/locales/date/idID.mjs +2 -2
- package/es/locales/date/itIT.d.ts +1 -1
- package/es/locales/date/itIT.mjs +2 -2
- package/es/locales/date/jaJP.d.ts +1 -1
- package/es/locales/date/jaJP.mjs +1 -1
- package/es/locales/date/koKR.d.ts +1 -1
- package/es/locales/date/koKR.mjs +1 -1
- package/es/locales/date/nbNO.d.ts +1 -1
- package/es/locales/date/nbNO.mjs +1 -1
- package/es/locales/date/nlNL.d.ts +1 -1
- package/es/locales/date/nlNL.mjs +1 -1
- package/es/locales/date/plPL.d.ts +1 -1
- package/es/locales/date/plPL.mjs +2 -2
- package/es/locales/date/ptBR.d.ts +1 -1
- package/es/locales/date/ptBR.mjs +1 -1
- package/es/locales/date/ruRU.d.ts +1 -1
- package/es/locales/date/ruRU.mjs +1 -1
- package/es/locales/date/skSK.d.ts +1 -1
- package/es/locales/date/skSK.mjs +1 -1
- package/es/locales/date/svSE.d.ts +1 -1
- package/es/locales/date/svSE.mjs +1 -1
- package/es/locales/date/thTH.d.ts +1 -1
- package/es/locales/date/thTH.mjs +3 -3
- package/es/locales/date/trTR.d.ts +1 -1
- package/es/locales/date/trTR.mjs +3 -3
- package/es/locales/date/ukUA.d.ts +1 -1
- package/es/locales/date/ukUA.mjs +1 -1
- package/es/locales/date/uzUZ.d.ts +3 -0
- package/es/locales/date/uzUZ.mjs +6 -0
- package/es/locales/date/viVN.d.ts +1 -1
- package/es/locales/date/viVN.mjs +2 -2
- package/es/locales/date/zhCN.d.ts +1 -1
- package/es/locales/date/zhCN.mjs +1 -1
- package/es/locales/date/zhTW.d.ts +1 -1
- package/es/locales/date/zhTW.mjs +1 -1
- package/es/locales/index.d.ts +4 -0
- package/es/locales/index.mjs +4 -0
- package/es/locales/utils/index.d.ts +1 -1
- package/es/log/src/Log.d.ts +45 -129
- package/es/log/src/Log.mjs +4 -4
- package/es/log/src/LogLine.mjs +2 -4
- package/es/log/src/LogLoader.mjs +1 -1
- package/es/log/styles/light.d.ts +5 -3
- package/es/log/styles/light.mjs +2 -2
- package/es/mention/src/Mention.d.ts +121 -140
- package/es/mention/src/Mention.mjs +12 -10
- package/es/mention/src/utils.mjs +8 -8
- package/es/mention/styles/light.d.ts +11 -3
- package/es/mention/styles/light.mjs +2 -2
- package/es/menu/src/Menu.d.ts +13 -117
- package/es/menu/src/Menu.mjs +5 -4
- package/es/menu/src/MenuDivider.d.ts +0 -1
- package/es/menu/src/MenuDivider.mjs +1 -2
- package/es/menu/src/MenuOption.d.ts +1 -105
- package/es/menu/src/MenuOption.mjs +1 -1
- package/es/menu/src/MenuOptionContent.mjs +0 -1
- package/es/menu/src/MenuOptionGroup.d.ts +0 -1
- package/es/menu/src/MenuOptionGroup.mjs +3 -5
- package/es/menu/src/Submenu.d.ts +1 -105
- package/es/menu/src/Submenu.mjs +1 -2
- package/es/menu/src/interface.d.ts +2 -2
- package/es/menu/src/use-menu-child.mjs +2 -3
- package/es/menu/src/utils.d.ts +1 -1
- package/es/menu/src/utils.mjs +0 -2
- package/es/menu/styles/light.d.ts +1 -1
- package/es/menu/styles/light.mjs +2 -2
- package/es/message/src/Message.d.ts +2 -2
- package/es/message/src/Message.mjs +6 -6
- package/es/message/src/MessageEnvironment.d.ts +3 -3
- package/es/message/src/MessageEnvironment.mjs +1 -1
- package/es/message/src/MessageProvider.d.ts +4 -4
- package/es/message/src/MessageProvider.mjs +1 -2
- package/es/message/styles/light.d.ts +1 -1
- package/es/message/styles/light.mjs +3 -3
- package/es/modal/src/BodyWrapper.d.ts +26 -128
- package/es/modal/src/BodyWrapper.mjs +1 -2
- package/es/modal/src/Modal.d.ts +78 -60
- package/es/modal/src/Modal.mjs +6 -4
- package/es/modal/src/ModalEnvironment.d.ts +53 -41
- package/es/modal/src/ModalEnvironment.mjs +4 -2
- package/es/modal/src/ModalProvider.d.ts +5 -14924
- package/es/modal/src/ModalProvider.mjs +2 -3
- package/es/modal/src/composables.mjs +1 -1
- package/es/modal/src/interface.d.ts +1 -1
- package/es/modal/src/presetProps.d.ts +9 -9
- package/es/modal/src/styles/index.cssr.mjs +1 -1
- package/es/modal/styles/light.d.ts +5 -3
- package/es/modal/styles/light.mjs +2 -2
- package/es/notification/src/Notification.d.ts +3 -3
- package/es/notification/src/Notification.mjs +4 -5
- package/es/notification/src/NotificationContainer.d.ts +5 -107
- package/es/notification/src/NotificationContainer.mjs +1 -2
- package/es/notification/src/NotificationEnvironment.d.ts +4 -7
- package/es/notification/src/NotificationEnvironment.mjs +2 -3
- package/es/notification/src/NotificationProvider.d.ts +42 -24
- package/es/notification/src/NotificationProvider.mjs +5 -4
- package/es/notification/src/styles/index.cssr.d.ts +1 -1
- package/es/notification/src/styles/rtl.cssr.mjs +1 -1
- package/es/notification/src/use-notification.mjs +1 -1
- package/es/notification/styles/light.d.ts +5 -3
- package/es/notification/styles/light.mjs +2 -2
- package/es/notification/styles/rtl.d.ts +1 -1
- package/es/number-animation/src/NumberAnimation.mjs +2 -2
- package/es/number-animation/src/utils.mjs +1 -1
- package/es/page-header/src/PageHeader.mjs +2 -3
- package/es/page-header/src/styles/rtl.cssr.mjs +1 -1
- package/es/pagination/src/Pagination.d.ts +241 -169
- package/es/pagination/src/Pagination.mjs +9 -10
- package/es/pagination/src/styles/index.cssr.mjs +1 -1
- package/es/pagination/src/utils.d.ts +1 -1
- package/es/pagination/src/utils.mjs +2 -2
- package/es/pagination/styles/light.d.ts +21 -5
- package/es/pagination/styles/light.mjs +3 -3
- package/es/popconfirm/src/Popconfirm.d.ts +21 -125
- package/es/popconfirm/src/Popconfirm.mjs +2 -2
- package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/es/popconfirm/src/PopconfirmPanel.mjs +1 -2
- package/es/popconfirm/src/interface.d.ts +1 -1
- package/es/popconfirm/styles/light.d.ts +1 -1
- package/es/popconfirm/styles/light.mjs +2 -2
- package/es/popover/src/Popover.d.ts +23 -23
- package/es/popover/src/Popover.mjs +9 -6
- package/es/popover/src/PopoverBody.d.ts +17 -17
- package/es/popover/src/PopoverBody.mjs +34 -35
- package/es/popover/src/interface.d.ts +1 -1
- package/es/popover/src/styles/index.cssr.d.ts +1 -1
- package/es/popover/src/styles/index.cssr.mjs +1 -1
- package/es/popover/styles/light.d.ts +1 -1
- package/es/popover/styles/light.mjs +2 -2
- package/es/popselect/src/Popselect.d.ts +126 -146
- package/es/popselect/src/Popselect.mjs +3 -3
- package/es/popselect/src/PopselectPanel.d.ts +19 -111
- package/es/popselect/src/PopselectPanel.mjs +1 -3
- package/es/popselect/src/interface.d.ts +1 -1
- package/es/popselect/styles/light.d.ts +11 -3
- package/es/preset.d.ts +1 -1
- package/es/progress/src/Circle.d.ts +2 -3
- package/es/progress/src/Circle.mjs +2 -2
- package/es/progress/src/Line.d.ts +2 -3
- package/es/progress/src/Line.mjs +2 -2
- package/es/progress/src/MultipleCircle.d.ts +3 -4
- package/es/progress/src/MultipleCircle.mjs +1 -1
- package/es/progress/src/Progress.d.ts +9 -9
- package/es/progress/src/Progress.mjs +1 -1
- package/es/progress/styles/light.d.ts +1 -1
- package/es/progress/styles/light.mjs +2 -2
- package/es/qr-code/src/QrCode.mjs +4 -4
- package/es/qr-code/src/qrcodegen.mjs +6 -9
- package/es/qr-code/styles/dark.d.ts +1 -1
- package/es/qr-code/styles/light.d.ts +2 -2
- package/es/qr-code/styles/light.mjs +2 -2
- package/es/radio/src/Radio.d.ts +6 -6
- package/es/radio/src/Radio.mjs +2 -2
- package/es/radio/src/RadioButton.d.ts +6 -6
- package/es/radio/src/RadioButton.mjs +2 -2
- package/es/radio/src/RadioGroup.d.ts +1 -1
- package/es/radio/src/RadioGroup.mjs +4 -4
- package/es/radio/src/styles/radio-group.cssr.mjs +1 -1
- package/es/radio/src/styles/radio.cssr.mjs +1 -1
- package/es/radio/src/use-radio.d.ts +4 -4
- package/es/radio/src/use-radio.mjs +1 -1
- package/es/radio/styles/dark.mjs +1 -1
- package/es/radio/styles/light.d.ts +2 -2
- package/es/radio/styles/light.mjs +3 -3
- package/es/rate/src/Rate.mjs +2 -2
- package/es/rate/src/StarIcon.d.ts +0 -1
- package/es/rate/styles/dark.d.ts +1 -1
- package/es/rate/styles/light.d.ts +2 -2
- package/es/rate/styles/light.mjs +2 -2
- package/es/result/src/403.d.ts +0 -1
- package/es/result/src/404.d.ts +0 -1
- package/es/result/src/418.d.ts +0 -1
- package/es/result/src/500.d.ts +0 -1
- package/es/result/src/Result.d.ts +3 -3
- package/es/result/src/Result.mjs +2 -2
- package/es/result/styles/light.d.ts +1 -1
- package/es/result/styles/light.mjs +3 -3
- package/es/scrollbar/src/Scrollbar.d.ts +62 -18
- package/es/scrollbar/src/Scrollbar.mjs +10 -4
- package/es/select/src/Select.d.ts +133 -144
- package/es/select/src/Select.mjs +60 -55
- package/es/select/src/interface.d.ts +2 -2
- package/es/select/src/styles/index.cssr.mjs +1 -1
- package/es/select/src/utils.d.ts +1 -1
- package/es/select/src/utils.mjs +1 -2
- package/es/select/styles/light.d.ts +10 -2
- package/es/skeleton/src/Skeleton.mjs +1 -1
- package/es/skeleton/styles/dark.d.ts +1 -1
- package/es/skeleton/styles/light.d.ts +2 -2
- package/es/skeleton/styles/light.mjs +2 -2
- package/es/slider/src/Slider.d.ts +10 -9
- package/es/slider/src/Slider.mjs +10 -10
- package/es/slider/src/styles/index.cssr.mjs +2 -1
- package/es/slider/styles/dark.mjs +1 -1
- package/es/slider/styles/light.d.ts +2 -2
- package/es/slider/styles/light.mjs +3 -3
- package/es/space/src/Space.d.ts +4 -4
- package/es/space/src/Space.mjs +2 -2
- package/es/space/src/utils.d.ts +1 -1
- package/es/space/src/utils.mjs +2 -2
- package/es/space/styles/light.d.ts +1 -1
- package/es/space/styles/light.mjs +2 -2
- package/es/space/styles/rtl.d.ts +1 -1
- package/es/spin/src/Spin.d.ts +7 -7
- package/es/spin/src/Spin.mjs +1 -1
- package/es/spin/src/styles/index.cssr.mjs +1 -1
- package/es/spin/styles/light.d.ts +2 -2
- package/es/spin/styles/light.mjs +2 -2
- package/es/split/src/Split.d.ts +11 -11
- package/es/split/src/Split.mjs +6 -6
- package/es/split/src/styles/index.cssr.mjs +1 -1
- package/es/split/styles/dark.d.ts +1 -1
- package/es/split/styles/light.d.ts +2 -2
- package/es/split/styles/light.mjs +2 -2
- package/es/statistic/src/Statistic.mjs +2 -2
- package/es/statistic/styles/light.d.ts +2 -2
- package/es/statistic/styles/light.mjs +2 -2
- package/es/statistic/styles/rtl.d.ts +1 -1
- package/es/steps/src/Step.d.ts +3 -3
- package/es/steps/src/Step.mjs +4 -4
- package/es/steps/src/Steps.d.ts +4 -4
- package/es/steps/src/Steps.mjs +2 -2
- package/es/steps/src/styles/rtl.cssr.mjs +1 -1
- package/es/steps/styles/light.d.ts +1 -1
- package/es/steps/styles/light.mjs +3 -3
- package/es/steps/styles/rtl.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +1 -1
- package/es/switch/src/Switch.mjs +2 -2
- package/es/switch/styles/dark.mjs +1 -1
- package/es/switch/styles/light.d.ts +1 -1
- package/es/switch/styles/light.mjs +3 -3
- package/es/table/src/Table.mjs +1 -1
- package/es/table/styles/light.d.ts +2 -2
- package/es/table/styles/light.mjs +3 -3
- package/es/table/styles/rtl.d.ts +1 -1
- package/es/tabs/src/Tab.d.ts +6 -18
- package/es/tabs/src/Tab.mjs +3 -6
- package/es/tabs/src/TabPane.d.ts +10 -22
- package/es/tabs/src/TabPane.mjs +1 -1
- package/es/tabs/src/Tabs.d.ts +32 -32
- package/es/tabs/src/Tabs.mjs +38 -18
- package/es/tabs/src/interface.d.ts +1 -1
- package/es/tabs/src/styles/index.cssr.mjs +20 -8
- package/es/tabs/styles/light.d.ts +2 -2
- package/es/tabs/styles/light.mjs +3 -3
- package/es/tag/src/Tag.d.ts +8 -8
- package/es/tag/src/Tag.mjs +5 -5
- package/es/tag/src/common-props.d.ts +3 -3
- package/es/tag/src/styles/rtl.cssr.mjs +1 -1
- package/es/tag/styles/dark.mjs +1 -1
- package/es/tag/styles/light.d.ts +1 -1
- package/es/tag/styles/light.mjs +3 -3
- package/es/theme-editor/src/MaximizeIcon.mjs +1 -1
- package/es/theme-editor/src/MinimizeIcon.mjs +1 -1
- package/es/theme-editor/src/ThemeEditor.mjs +12 -11
- package/es/themes/interface.d.ts +1 -1
- package/es/themes/utils.d.ts +1 -1
- package/es/thing/src/Thing.d.ts +0 -1
- package/es/thing/src/Thing.mjs +2 -2
- package/es/thing/styles/light.d.ts +1 -1
- package/es/thing/styles/light.mjs +2 -2
- package/es/thing/styles/rtl.d.ts +1 -1
- package/es/time/src/Time.d.ts +1 -1
- package/es/time/src/Time.mjs +3 -3
- package/es/time-picker/src/Panel.d.ts +9 -111
- package/es/time-picker/src/Panel.mjs +3 -4
- package/es/time-picker/src/PanelCol.d.ts +5 -5
- package/es/time-picker/src/PanelCol.mjs +1 -1
- package/es/time-picker/src/TimePicker.d.ts +50 -134
- package/es/time-picker/src/TimePicker.mjs +29 -27
- package/es/time-picker/src/interface.d.ts +2 -2
- package/es/time-picker/src/styles/index.cssr.mjs +1 -1
- package/es/time-picker/src/utils.mjs +5 -3
- package/es/time-picker/styles/light.d.ts +5 -3
- package/es/time-picker/styles/light.mjs +3 -3
- package/es/timeline/src/Timeline.d.ts +1 -2
- package/es/timeline/src/Timeline.mjs +1 -1
- package/es/timeline/src/TimelineItem.d.ts +3 -3
- package/es/timeline/src/TimelineItem.mjs +2 -2
- package/es/timeline/styles/dark.mjs +1 -1
- package/es/timeline/styles/light.d.ts +1 -1
- package/es/timeline/styles/light.mjs +3 -3
- package/es/tooltip/src/Tooltip.d.ts +16 -120
- package/es/tooltip/src/Tooltip.mjs +1 -3
- package/es/tooltip/styles/light.d.ts +1 -1
- package/es/tooltip/styles/light.mjs +4 -4
- package/es/transfer/src/Transfer.d.ts +69 -133
- package/es/transfer/src/Transfer.mjs +5 -5
- package/es/transfer/src/TransferFilter.d.ts +7 -107
- package/es/transfer/src/TransferFilter.mjs +1 -2
- package/es/transfer/src/TransferHeader.d.ts +3 -4
- package/es/transfer/src/TransferHeader.mjs +3 -4
- package/es/transfer/src/TransferList.d.ts +8 -108
- package/es/transfer/src/TransferList.mjs +1 -2
- package/es/transfer/src/TransferListItem.d.ts +7 -107
- package/es/transfer/src/TransferListItem.mjs +1 -2
- package/es/transfer/src/use-transfer-data.d.ts +1 -1
- package/es/transfer/src/use-transfer-data.mjs +1 -2
- package/es/transfer/styles/dark.mjs +1 -1
- package/es/transfer/styles/light.d.ts +7 -3
- package/es/transfer/styles/light.mjs +3 -3
- package/es/tree/src/MotionWrapper.d.ts +3 -3
- package/es/tree/src/MotionWrapper.mjs +1 -1
- package/es/tree/src/Tree.d.ts +97 -161
- package/es/tree/src/Tree.mjs +11 -14
- package/es/tree/src/TreeNode.d.ts +1 -1
- package/es/tree/src/TreeNode.mjs +1 -6
- package/es/tree/src/TreeNodeCheckbox.d.ts +7 -107
- package/es/tree/src/TreeNodeCheckbox.mjs +1 -2
- package/es/tree/src/TreeNodeContent.d.ts +4 -4
- package/es/tree/src/TreeNodeContent.mjs +2 -4
- package/es/tree/src/TreeNodeSwitcher.d.ts +0 -1
- package/es/tree/src/TreeNodeSwitcher.mjs +2 -3
- package/es/tree/src/dnd.d.ts +1 -1
- package/es/tree/src/interface.d.ts +2 -2
- package/es/tree/src/keyboard.d.ts +2 -2
- package/es/tree/src/styles/rtl.cssr.mjs +1 -1
- package/es/tree/src/utils.d.ts +2 -2
- package/es/tree/src/utils.mjs +1 -1
- package/es/tree/styles/light.d.ts +7 -3
- package/es/tree/styles/light.mjs +2 -2
- package/es/tree-select/src/TreeSelect.d.ts +152 -159
- package/es/tree-select/src/TreeSelect.mjs +40 -25
- package/es/tree-select/src/interface.d.ts +3 -3
- package/es/tree-select/src/styles/index.cssr.mjs +10 -0
- package/es/tree-select/src/utils.d.ts +2 -2
- package/es/tree-select/styles/light.d.ts +15 -3
- package/es/tree-select/styles/light.mjs +6 -3
- package/es/typography/src/a.mjs +1 -1
- package/es/typography/src/blockquote.mjs +2 -2
- package/es/typography/src/create-header.d.ts +4 -4
- package/es/typography/src/create-header.mjs +3 -4
- package/es/typography/src/headers.d.ts +12 -12
- package/es/typography/src/hr.mjs +1 -1
- package/es/typography/src/ol.mjs +1 -1
- package/es/typography/src/p.d.ts +3 -3
- package/es/typography/src/p.mjs +1 -1
- package/es/typography/src/text.d.ts +3 -3
- package/es/typography/src/text.mjs +2 -2
- package/es/typography/src/ul.mjs +1 -1
- package/es/typography/styles/light.d.ts +1 -1
- package/es/typography/styles/light.mjs +3 -3
- package/es/upload/src/Upload.d.ts +12 -113
- package/es/upload/src/Upload.mjs +53 -50
- package/es/upload/src/UploadDragger.d.ts +0 -1
- package/es/upload/src/UploadDragger.mjs +1 -1
- package/es/upload/src/UploadFile.d.ts +6 -109
- package/es/upload/src/UploadFile.mjs +21 -9
- package/es/upload/src/UploadFileList.d.ts +0 -1
- package/es/upload/src/UploadFileList.mjs +3 -3
- package/es/upload/src/UploadProgress.d.ts +3 -107
- package/es/upload/src/UploadProgress.mjs +1 -2
- package/es/upload/src/UploadTrigger.d.ts +0 -1
- package/es/upload/src/UploadTrigger.mjs +1 -1
- package/es/upload/src/icons.d.ts +0 -1
- package/es/upload/src/interface.d.ts +9 -3
- package/es/upload/src/public-types.d.ts +1 -1
- package/es/upload/src/styles/index.cssr.mjs +1 -1
- package/es/upload/src/utils.d.ts +2 -2
- package/es/upload/src/utils.mjs +21 -9
- package/es/upload/styles/light.d.ts +1 -1
- package/es/upload/styles/light.mjs +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/virtual-list/src/VirtualList.d.ts +13 -13
- package/es/virtual-list/src/VirtualList.mjs +2 -2
- package/es/watermark/src/Watermark.d.ts +3 -4
- package/es/watermark/src/Watermark.mjs +1 -1
- package/es/watermark/src/styles/index.cssr.mjs +1 -1
- package/lib/_internal/close/src/Close.d.ts +0 -1
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +2 -2
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +0 -1
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +0 -1
- package/lib/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +0 -1
- package/lib/_internal/icons/replaceable.d.ts +0 -1
- package/lib/_internal/icons/replaceable.js +1 -3
- package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +70 -24
- package/lib/_internal/scrollbar/src/Scrollbar.js +73 -65
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +10 -4
- package/lib/_internal/scrollbar/styles/common.d.ts +4 -2
- package/lib/_internal/scrollbar/styles/common.js +4 -2
- package/lib/_internal/scrollbar/styles/light.d.ts +5 -3
- package/lib/_internal/scrollbar/styles/light.js +4 -5
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
- package/lib/_internal/select-menu/src/SelectGroupHeader.js +1 -3
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +75 -123
- package/lib/_internal/select-menu/src/SelectMenu.js +4 -4
- package/lib/_internal/select-menu/src/SelectOption.d.ts +3 -3
- package/lib/_internal/select-menu/src/SelectOption.js +1 -3
- package/lib/_internal/select-menu/src/interface.d.ts +2 -2
- package/lib/_internal/select-menu/styles/_common.d.ts +2 -0
- package/lib/_internal/select-menu/styles/_common.js +2 -0
- package/lib/_internal/select-menu/styles/light.d.ts +15 -3
- package/lib/_internal/select-menu/styles/light.js +7 -8
- package/lib/_internal/selection/src/Selection.d.ts +8 -112
- package/lib/_internal/selection/src/Selection.js +4 -5
- package/lib/_internal/selection/src/interface.d.ts +1 -1
- package/lib/_internal/selection/styles/light.d.ts +1 -1
- package/lib/_internal/selection/styles/light.js +3 -3
- package/lib/_internal/slot-machine/src/SlotMachine.d.ts +0 -1
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +0 -1
- package/lib/_internal/slot-machine/src/SlotMachineNumber.js +2 -2
- package/lib/_internal/suffix/src/Suffix.d.ts +0 -1
- package/lib/_internal/wave/src/Wave.js +0 -1
- package/lib/_mixins/use-config.d.ts +1 -1
- package/lib/_mixins/use-config.js +3 -3
- package/lib/_mixins/use-css-vars-class.js +10 -9
- package/lib/_mixins/use-form-item.js +1 -1
- package/lib/_mixins/use-hljs.js +1 -1
- package/lib/_mixins/use-locale.js +1 -1
- package/lib/_mixins/use-rtl.js +5 -3
- package/lib/_mixins/use-style.js +5 -3
- package/lib/_mixins/use-theme.d.ts +1 -1
- package/lib/_mixins/use-theme.js +5 -5
- package/lib/_styles/common/dark.js +2 -2
- package/lib/_styles/common/light.js +2 -2
- package/lib/_styles/transitions/fade-down.cssr.js +2 -3
- package/lib/_styles/transitions/fade-in-height-expand.cssr.js +4 -5
- package/lib/_styles/transitions/fade-in-scale-up.cssr.js +4 -5
- package/lib/_styles/transitions/fade-in-width-expand.cssr.js +2 -3
- package/lib/_styles/transitions/fade-in.cssr.js +2 -3
- package/lib/_styles/transitions/fade-up-width-expand.cssr.js +2 -3
- package/lib/_styles/transitions/icon-switch.cssr.js +3 -4
- package/lib/_styles/transitions/slide-in-from-bottom.js +1 -2
- package/lib/_styles/transitions/slide-in-from-left.js +1 -2
- package/lib/_styles/transitions/slide-in-from-right.js +1 -2
- package/lib/_styles/transitions/slide-in-from-top.js +1 -2
- package/lib/_utils/color/index.js +2 -3
- package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/lib/_utils/composable/use-adjusted-to.js +1 -2
- package/lib/_utils/composable/use-browser-location.d.ts +1 -1
- package/lib/_utils/composable/use-browser-location.js +4 -5
- package/lib/_utils/composable/use-collection.d.ts +1 -1
- package/lib/_utils/composable/use-collection.js +8 -9
- package/lib/_utils/composable/use-deferred-true.js +1 -2
- package/lib/_utils/composable/use-houdini.js +2 -3
- package/lib/_utils/composable/use-is-composing.d.ts +1 -1
- package/lib/_utils/composable/use-is-composing.js +7 -8
- package/lib/_utils/composable/use-lock-html-scroll.js +2 -2
- package/lib/_utils/composable/use-reactivated.js +1 -2
- package/lib/_utils/composable/use-resize.js +1 -2
- package/lib/_utils/css/color-to-class.js +1 -2
- package/lib/_utils/css/format-length.js +1 -2
- package/lib/_utils/css/rtl-inset.js +1 -2
- package/lib/_utils/cssr/index.js +8 -10
- package/lib/_utils/dom/download.d.ts +1 -1
- package/lib/_utils/dom/download.js +3 -4
- package/lib/_utils/dom/is-document.js +1 -2
- package/lib/_utils/env/is-jsdom.js +4 -5
- package/lib/_utils/event/index.js +2 -3
- package/lib/_utils/naive/attribute.js +1 -2
- package/lib/_utils/naive/extract-public-props.d.ts +2 -2
- package/lib/_utils/naive/prop.js +3 -4
- package/lib/_utils/naive/warn.d.ts +1 -0
- package/lib/_utils/naive/warn.js +7 -4
- package/lib/_utils/vue/call.js +4 -4
- package/lib/_utils/vue/create-data-key.js +1 -2
- package/lib/_utils/vue/create-injection-key.js +1 -2
- package/lib/_utils/vue/create-ref-setter.js +1 -2
- package/lib/_utils/vue/flatten.d.ts +1 -1
- package/lib/_utils/vue/flatten.js +1 -2
- package/lib/_utils/vue/get-first-slot-vnode.d.ts +1 -1
- package/lib/_utils/vue/get-first-slot-vnode.js +2 -3
- package/lib/_utils/vue/get-slot.d.ts +1 -1
- package/lib/_utils/vue/get-slot.js +1 -2
- package/lib/_utils/vue/get-v-node-children.js +4 -5
- package/lib/_utils/vue/is-node-v-show-false.js +1 -2
- package/lib/_utils/vue/keep.js +1 -2
- package/lib/_utils/vue/keysOf.js +1 -2
- package/lib/_utils/vue/merge-handlers.js +2 -4
- package/lib/_utils/vue/omit.js +1 -2
- package/lib/_utils/vue/render.d.ts +1 -1
- package/lib/_utils/vue/render.js +3 -4
- package/lib/_utils/vue/resolve-slot.js +8 -9
- package/lib/affix/src/Affix.js +16 -16
- package/lib/affix/src/utils.js +2 -3
- package/lib/alert/src/Alert.d.ts +4 -108
- package/lib/alert/src/Alert.js +6 -8
- package/lib/alert/styles/light.d.ts +1 -1
- package/lib/alert/styles/light.js +2 -2
- package/lib/anchor/src/AnchorAdapter.d.ts +0 -1
- package/lib/anchor/src/BaseAnchor.js +7 -6
- package/lib/anchor/src/Link.d.ts +0 -1
- package/lib/anchor/src/Link.js +0 -1
- package/lib/anchor/src/utils.js +1 -2
- package/lib/anchor/styles/light.d.ts +1 -1
- package/lib/anchor/styles/light.js +4 -5
- package/lib/auto-complete/src/AutoComplete.d.ts +115 -135
- package/lib/auto-complete/src/AutoComplete.js +3 -3
- package/lib/auto-complete/src/interface.d.ts +1 -1
- package/lib/auto-complete/src/utils.js +2 -3
- package/lib/auto-complete/styles/light.d.ts +10 -2
- package/lib/auto-complete/styles/light.js +1 -2
- package/lib/avatar/src/Avatar.d.ts +2 -2
- package/lib/avatar/src/Avatar.js +6 -6
- package/lib/avatar/styles/light.d.ts +1 -1
- package/lib/avatar/styles/light.js +5 -6
- package/lib/avatar-group/src/AvatarGroup.d.ts +5 -109
- package/lib/avatar-group/src/AvatarGroup.js +6 -6
- package/lib/avatar-group/styles/light.d.ts +1 -1
- package/lib/avatar-group/styles/light.js +4 -5
- package/lib/back-top/src/BackTop.d.ts +3 -3
- package/lib/back-top/src/BackTop.js +7 -7
- package/lib/back-top/src/BackTopIcon.d.ts +0 -1
- package/lib/back-top/styles/dark.js +1 -1
- package/lib/back-top/styles/light.d.ts +1 -1
- package/lib/back-top/styles/light.js +3 -3
- package/lib/badge/src/Badge.d.ts +6 -6
- package/lib/badge/src/Badge.js +6 -6
- package/lib/badge/src/styles/index.cssr.js +1 -1
- package/lib/badge/styles/light.d.ts +1 -1
- package/lib/badge/styles/light.js +2 -2
- package/lib/breadcrumb/src/Breadcrumb.js +1 -1
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +0 -1
- package/lib/breadcrumb/styles/light.d.ts +1 -1
- package/lib/breadcrumb/styles/light.js +5 -6
- package/lib/button/src/Button.d.ts +6 -6
- package/lib/button/src/Button.js +30 -30
- package/lib/button/styles/light.d.ts +1 -1
- package/lib/button/styles/light.js +5 -6
- package/lib/button/styles/rtl.d.ts +1 -1
- package/lib/button-group/src/styles/index.cssr.d.ts +1 -1
- package/lib/button-group/src/styles/index.cssr.js +2 -2
- package/lib/button-group/src/styles/rtl.cssr.js +1 -1
- package/lib/button-group/styles/rtl.d.ts +1 -1
- package/lib/calendar/src/Calendar.d.ts +4 -108
- package/lib/calendar/src/Calendar.js +5 -5
- package/lib/calendar/styles/dark.js +1 -1
- package/lib/calendar/styles/light.d.ts +1 -1
- package/lib/calendar/styles/light.js +5 -6
- package/lib/card/src/Card.d.ts +18 -122
- package/lib/card/src/Card.js +1 -1
- package/lib/card/styles/light.d.ts +2 -2
- package/lib/card/styles/light.js +4 -5
- package/lib/card/styles/rtl.d.ts +1 -1
- package/lib/carousel/src/Carousel.d.ts +18 -20
- package/lib/carousel/src/Carousel.js +57 -48
- package/lib/carousel/src/CarouselArrow.js +4 -4
- package/lib/carousel/src/CarouselContext.d.ts +2 -2
- package/lib/carousel/src/CarouselContext.js +6 -7
- package/lib/carousel/src/CarouselDots.d.ts +3 -3
- package/lib/carousel/src/CarouselDots.js +1 -1
- package/lib/carousel/src/CarouselItem.d.ts +1 -1
- package/lib/carousel/src/CarouselItem.js +5 -3
- package/lib/carousel/src/utils/duplicatedLogic.js +6 -7
- package/lib/carousel/src/utils/event.js +1 -2
- package/lib/carousel/src/utils/index.js +11 -12
- package/lib/carousel/styles/light.d.ts +1 -2
- package/lib/carousel/styles/light.js +4 -5
- package/lib/cascader/src/Cascader.d.ts +181 -169
- package/lib/cascader/src/Cascader.js +17 -15
- package/lib/cascader/src/CascaderMenu.d.ts +24 -112
- package/lib/cascader/src/CascaderMenu.js +2 -4
- package/lib/cascader/src/CascaderOption.d.ts +25 -117
- package/lib/cascader/src/CascaderOption.js +7 -9
- package/lib/cascader/src/CascaderSelectMenu.d.ts +25 -113
- package/lib/cascader/src/CascaderSelectMenu.js +7 -6
- package/lib/cascader/src/CascaderSubmenu.d.ts +24 -112
- package/lib/cascader/src/CascaderSubmenu.js +4 -6
- package/lib/cascader/src/interface.d.ts +1 -1
- package/lib/cascader/src/utils.d.ts +1 -1
- package/lib/cascader/src/utils.js +4 -5
- package/lib/cascader/styles/dark.js +1 -1
- package/lib/cascader/styles/light.d.ts +17 -5
- package/lib/cascader/styles/light.js +4 -5
- package/lib/checkbox/src/CheckMark.d.ts +0 -1
- package/lib/checkbox/src/Checkbox.d.ts +9 -113
- package/lib/checkbox/src/Checkbox.js +23 -23
- package/lib/checkbox/src/CheckboxGroup.d.ts +16 -16
- package/lib/checkbox/src/CheckboxGroup.js +1 -1
- package/lib/checkbox/src/LineMark.d.ts +0 -1
- package/lib/checkbox/styles/light.d.ts +1 -1
- package/lib/checkbox/styles/light.js +4 -5
- package/lib/code/src/styles/index.cssr.js +0 -1
- package/lib/code/styles/light.d.ts +2 -2
- package/lib/code/styles/light.js +2 -2
- package/lib/collapse/src/Collapse.d.ts +15 -119
- package/lib/collapse/src/Collapse.js +2 -2
- package/lib/collapse/src/CollapseItem.d.ts +3 -3
- package/lib/collapse/src/CollapseItem.js +2 -2
- package/lib/collapse/src/CollapseItemContent.d.ts +2 -2
- package/lib/collapse/styles/light.d.ts +1 -1
- package/lib/collapse/styles/light.js +4 -5
- package/lib/collapse-transition/src/CollapseTransition.js +3 -3
- package/lib/collapse-transition/styles/light.d.ts +1 -1
- package/lib/collapse-transition/styles/light.js +4 -5
- package/lib/color-picker/src/ColorInput.d.ts +3 -3
- package/lib/color-picker/src/ColorInput.js +3 -3
- package/lib/color-picker/src/ColorInputUnit.d.ts +3 -107
- package/lib/color-picker/src/ColorInputUnit.js +4 -5
- package/lib/color-picker/src/ColorPicker.d.ts +13 -10
- package/lib/color-picker/src/ColorPicker.js +6 -9
- package/lib/color-picker/src/ColorPickerSwatches.js +2 -2
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +0 -1
- package/lib/color-picker/src/ColorPickerTrigger.js +0 -1
- package/lib/color-picker/src/interface.d.ts +1 -0
- package/lib/color-picker/src/utils.js +7 -8
- package/lib/color-picker/styles/light.d.ts +1 -1
- package/lib/color-picker/styles/light.js +4 -5
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/composables/use-theme-vars.js +1 -2
- package/lib/config-provider/src/ConfigProvider.d.ts +17 -389
- package/lib/config-provider/src/ConfigProvider.js +5 -2
- package/lib/config-provider/src/internal-interface.d.ts +4 -3
- package/lib/countdown/src/Countdown.d.ts +4 -4
- package/lib/countdown/src/Countdown.js +2 -2
- package/lib/create.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +301 -173
- package/lib/data-table/src/DataTable.js +22 -11
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +54 -115
- package/lib/data-table/src/HeaderButton/FilterButton.js +8 -9
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +53 -115
- package/lib/data-table/src/HeaderButton/FilterMenu.js +8 -10
- package/lib/data-table/src/HeaderButton/ResizeButton.js +0 -1
- package/lib/data-table/src/HeaderButton/SortButton.js +8 -9
- package/lib/data-table/src/MainTable.d.ts +1 -0
- package/lib/data-table/src/MainTable.js +8 -6
- package/lib/data-table/src/TableParts/Body.d.ts +61 -120
- package/lib/data-table/src/TableParts/Body.js +158 -69
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +0 -1
- package/lib/data-table/src/TableParts/BodyCheckbox.js +1 -3
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +0 -1
- package/lib/data-table/src/TableParts/BodyRadio.js +1 -3
- package/lib/data-table/src/TableParts/Cell.d.ts +5 -2515
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +9 -1
- package/lib/data-table/src/TableParts/ExpandTrigger.js +6 -1
- package/lib/data-table/src/TableParts/Header.d.ts +61 -118
- package/lib/data-table/src/TableParts/Header.js +148 -61
- package/lib/data-table/src/TableParts/SelectionMenu.d.ts +0 -1
- package/lib/data-table/src/TableParts/SelectionMenu.js +1 -3
- package/lib/data-table/src/interface.d.ts +132 -30
- package/lib/data-table/src/interface.js +2 -2
- package/lib/data-table/src/styles/index.cssr.js +17 -1
- package/lib/data-table/src/use-check.d.ts +2 -2
- package/lib/data-table/src/use-check.js +9 -12
- package/lib/data-table/src/use-expand.d.ts +1 -1
- package/lib/data-table/src/use-expand.js +1 -3
- package/lib/data-table/src/use-group-header.d.ts +7 -1
- package/lib/data-table/src/use-group-header.js +10 -6
- package/lib/data-table/src/use-resizable.js +1 -3
- package/lib/data-table/src/use-scroll.d.ts +1 -1
- package/lib/data-table/src/use-scroll.js +12 -14
- package/lib/data-table/src/use-sorter.d.ts +1 -1
- package/lib/data-table/src/use-sorter.js +19 -23
- package/lib/data-table/src/use-table-data.d.ts +1 -1
- package/lib/data-table/src/use-table-data.js +21 -23
- package/lib/data-table/src/utils.d.ts +1 -1
- package/lib/data-table/src/utils.js +25 -24
- package/lib/data-table/styles/light.d.ts +39 -7
- package/lib/data-table/styles/light.js +8 -9
- package/lib/date-picker/index.d.ts +3 -3
- package/lib/date-picker/index.js +2 -1
- package/lib/date-picker/src/DatePicker.d.ts +157 -2212
- package/lib/date-picker/src/DatePicker.js +16 -32
- package/lib/date-picker/src/config.d.ts +0 -1
- package/lib/date-picker/src/config.js +1 -2
- package/lib/date-picker/src/interface.d.ts +8 -7
- package/lib/date-picker/src/panel/date.d.ts +25 -150
- package/lib/date-picker/src/panel/date.js +19 -5
- package/lib/date-picker/src/panel/daterange.d.ts +26 -121
- package/lib/date-picker/src/panel/daterange.js +23 -8
- package/lib/date-picker/src/panel/datetime.d.ts +24 -119
- package/lib/date-picker/src/panel/datetime.js +30 -8
- package/lib/date-picker/src/panel/datetimerange.d.ts +25 -120
- package/lib/date-picker/src/panel/datetimerange.js +25 -10
- package/lib/date-picker/src/panel/month.d.ts +27 -122
- package/lib/date-picker/src/panel/month.js +43 -17
- package/lib/date-picker/src/panel/monthrange.d.ts +29 -124
- package/lib/date-picker/src/panel/monthrange.js +30 -15
- package/lib/date-picker/src/panel/panelHeader.d.ts +51 -246
- package/lib/date-picker/src/panel/panelHeader.js +4 -4
- package/lib/date-picker/src/panel/use-calendar.d.ts +20 -117
- package/lib/date-picker/src/panel/use-calendar.js +17 -20
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +24 -121
- package/lib/date-picker/src/panel/use-dual-calendar.js +11 -14
- package/lib/date-picker/src/panel/use-panel-common.d.ts +19 -116
- package/lib/date-picker/src/panel/use-panel-common.js +7 -9
- package/lib/date-picker/src/props.d.ts +2008 -0
- package/lib/date-picker/src/props.js +26 -0
- package/lib/date-picker/src/public-types.d.ts +23 -0
- package/lib/date-picker/src/public-types.js +2 -0
- package/lib/date-picker/src/utils.d.ts +2 -1
- package/lib/date-picker/src/utils.js +28 -32
- package/lib/date-picker/src/validation-utils.js +27 -29
- package/lib/date-picker/styles/light.d.ts +9 -5
- package/lib/date-picker/styles/light.js +5 -6
- package/lib/descriptions/src/Descriptions.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.js +3 -3
- package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/lib/descriptions/src/utils.js +2 -2
- package/lib/descriptions/styles/light.d.ts +1 -1
- package/lib/descriptions/styles/light.js +5 -6
- package/lib/dialog/src/Dialog.d.ts +9 -113
- package/lib/dialog/src/Dialog.js +7 -7
- package/lib/dialog/src/DialogEnvironment.d.ts +19 -19
- package/lib/dialog/src/DialogEnvironment.js +3 -1
- package/lib/dialog/src/DialogProvider.d.ts +7 -7
- package/lib/dialog/src/DialogProvider.js +3 -4
- package/lib/dialog/src/composables.js +3 -4
- package/lib/dialog/src/dialogProps.d.ts +4 -4
- package/lib/dialog/styles/light.d.ts +1 -1
- package/lib/dialog/styles/light.js +5 -6
- package/lib/discrete/src/discrete.js +2 -3
- package/lib/discrete/src/discreteApp.js +7 -8
- package/lib/discrete/src/interface.d.ts +2 -2
- package/lib/divider/src/Divider.d.ts +3 -3
- package/lib/divider/styles/light.d.ts +1 -1
- package/lib/divider/styles/light.js +4 -5
- package/lib/drawer/src/Drawer.d.ts +45 -129
- package/lib/drawer/src/Drawer.js +5 -3
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +8 -110
- package/lib/drawer/src/DrawerBodyWrapper.js +15 -16
- package/lib/drawer/src/DrawerContent.d.ts +5 -107
- package/lib/drawer/src/DrawerContent.js +2 -2
- package/lib/drawer/src/styles/index.cssr.js +3 -1
- package/lib/drawer/styles/light.d.ts +5 -3
- package/lib/drawer/styles/light.js +4 -5
- package/lib/dropdown/src/Dropdown.d.ts +23 -127
- package/lib/dropdown/src/Dropdown.js +7 -7
- package/lib/dropdown/src/DropdownGroup.d.ts +3 -2
- package/lib/dropdown/src/DropdownGroup.js +0 -1
- package/lib/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/lib/dropdown/src/DropdownGroupHeader.js +4 -8
- package/lib/dropdown/src/DropdownMenu.d.ts +5 -4
- package/lib/dropdown/src/DropdownMenu.js +3 -6
- package/lib/dropdown/src/DropdownOption.d.ts +7 -6
- package/lib/dropdown/src/DropdownOption.js +12 -16
- package/lib/dropdown/src/DropdownRenderOption.d.ts +3 -2
- package/lib/dropdown/src/interface.d.ts +1 -1
- package/lib/dropdown/src/utils.js +6 -7
- package/lib/dropdown/styles/dark.js +1 -1
- package/lib/dropdown/styles/light.d.ts +1 -1
- package/lib/dropdown/styles/light.js +5 -6
- package/lib/dynamic-input/src/DynamicInput.d.ts +4 -108
- package/lib/dynamic-input/src/DynamicInput.js +9 -9
- package/lib/dynamic-input/src/InputPreset.d.ts +1 -105
- package/lib/dynamic-input/src/InputPreset.js +1 -3
- package/lib/dynamic-input/src/PairPreset.d.ts +1 -105
- package/lib/dynamic-input/src/PairPreset.js +0 -1
- package/lib/dynamic-input/styles/light.d.ts +1 -1
- package/lib/dynamic-input/styles/light.js +3 -3
- package/lib/dynamic-tags/src/DynamicTags.d.ts +13 -117
- package/lib/dynamic-tags/src/DynamicTags.js +2 -2
- package/lib/element/styles/dark.d.ts +1 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +4 -109
- package/lib/ellipsis/src/Ellipsis.js +8 -7
- package/lib/ellipsis/src/PerformantEllipsis.d.ts +3 -4
- package/lib/ellipsis/styles/dark.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +22 -4
- package/lib/empty/src/Empty.js +4 -6
- package/lib/empty/styles/_common.d.ts +1 -0
- package/lib/empty/styles/_common.js +1 -0
- package/lib/empty/styles/light.d.ts +3 -1
- package/lib/empty/styles/light.js +8 -8
- package/lib/equation/src/Equation.d.ts +4 -3
- package/lib/flex/src/Flex.d.ts +10 -9
- package/lib/flex/src/type.d.ts +1 -1
- package/lib/flex/styles/light.d.ts +1 -1
- package/lib/flex/styles/light.js +2 -2
- package/lib/flex/styles/rtl.d.ts +1 -1
- package/lib/float-button/src/FloatButton.d.ts +12 -11
- package/lib/float-button/src/FloatButton.js +19 -6
- package/lib/float-button/styles/light.d.ts +2 -2
- package/lib/float-button/styles/light.js +2 -2
- package/lib/float-button-group/src/FloatButtonGroup.d.ts +6 -6
- package/lib/float-button-group/src/FloatButtonGroup.js +1 -1
- package/lib/float-button-group/styles/light.d.ts +3 -3
- package/lib/float-button-group/styles/light.js +2 -2
- package/lib/form/src/Form.d.ts +5 -5
- package/lib/form/src/Form.js +4 -5
- package/lib/form/src/FormItem.d.ts +9 -9
- package/lib/form/src/FormItem.js +84 -85
- package/lib/form/src/FormItemCol.d.ts +6 -6
- package/lib/form/src/FormItemGridItem.d.ts +6 -6
- package/lib/form/src/FormItemRow.d.ts +6 -6
- package/lib/form/src/interface.d.ts +1 -1
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/form/src/utils.js +7 -10
- package/lib/form/styles/light.d.ts +1 -1
- package/lib/form/styles/light.js +4 -5
- package/lib/gradient-text/src/GradientText.d.ts +3 -3
- package/lib/gradient-text/styles/light.d.ts +1 -1
- package/lib/gradient-text/styles/light.js +2 -2
- package/lib/grid/src/Grid.d.ts +15 -15
- package/lib/grid/src/Grid.js +6 -6
- package/lib/grid/src/GridItem.js +2 -6
- package/lib/highlight/index.d.ts +2 -0
- package/lib/highlight/index.js +9 -0
- package/lib/highlight/src/Highlight.d.ts +65 -0
- package/lib/highlight/src/Highlight.js +67 -0
- package/lib/highlight/src/public-types.d.ts +3 -0
- package/lib/highlight/src/public-types.js +2 -0
- package/lib/highlight/src/utils.d.ts +4 -0
- package/lib/highlight/src/utils.js +33 -0
- package/lib/icon/src/Icon.d.ts +3 -3
- package/lib/icon/src/Icon.js +2 -2
- package/lib/icon/styles/light.d.ts +1 -1
- package/lib/icon/styles/light.js +4 -5
- package/lib/icon-wrapper/src/IconWrapper.d.ts +0 -1
- package/lib/icon-wrapper/styles/light.d.ts +1 -1
- package/lib/icon-wrapper/styles/light.js +4 -5
- package/lib/image/src/Image.d.ts +8 -8
- package/lib/image/src/Image.js +2 -2
- package/lib/image/src/ImageGroup.d.ts +1 -1
- package/lib/image/src/ImageGroup.js +8 -3
- package/lib/image/src/ImagePreview.d.ts +3 -3
- package/lib/image/src/ImagePreview.js +9 -15
- package/lib/image/src/icons.d.ts +0 -1
- package/lib/image/src/utils.d.ts +2 -2
- package/lib/image/src/utils.js +9 -11
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +3 -3
- package/lib/infinite-scroll/src/InfiniteScroll.js +7 -6
- package/lib/input/src/Input.d.ts +34 -138
- package/lib/input/src/Input.js +60 -55
- package/lib/input/src/WordCount.d.ts +0 -1
- package/lib/input/src/WordCount.js +1 -3
- package/lib/input/src/utils.js +3 -5
- package/lib/input/styles/dark.js +1 -1
- package/lib/input/styles/light.d.ts +1 -1
- package/lib/input/styles/light.js +3 -3
- package/lib/input-number/src/InputNumber.d.ts +24 -115
- package/lib/input-number/src/InputNumber.js +40 -37
- package/lib/input-number/src/utils.js +13 -13
- package/lib/input-number/styles/light.d.ts +1 -1
- package/lib/input-number/styles/light.js +2 -2
- package/lib/layout/src/Layout.d.ts +59 -239
- package/lib/layout/src/Layout.js +2 -6
- package/lib/layout/src/LayoutContent.d.ts +29 -119
- package/lib/layout/src/LayoutFooter.d.ts +36 -18
- package/lib/layout/src/LayoutFooter.js +2 -2
- package/lib/layout/src/LayoutHeader.d.ts +24 -12
- package/lib/layout/src/LayoutHeader.js +2 -2
- package/lib/layout/src/LayoutSider.d.ts +37 -127
- package/lib/layout/src/LayoutSider.js +7 -10
- package/lib/layout/src/interface.d.ts +1 -1
- package/lib/layout/styles/dark.js +1 -1
- package/lib/layout/styles/light.d.ts +5 -3
- package/lib/layout/styles/light.js +4 -5
- package/lib/legacy-transfer/src/Transfer.d.ts +63 -127
- package/lib/legacy-transfer/src/Transfer.js +6 -6
- package/lib/legacy-transfer/src/TransferFilter.d.ts +7 -107
- package/lib/legacy-transfer/src/TransferFilter.js +0 -1
- package/lib/legacy-transfer/src/TransferHeader.d.ts +0 -1
- package/lib/legacy-transfer/src/TransferHeader.js +1 -3
- package/lib/legacy-transfer/src/TransferList.d.ts +8 -108
- package/lib/legacy-transfer/src/TransferList.js +1 -2
- package/lib/legacy-transfer/src/TransferListItem.d.ts +7 -107
- package/lib/legacy-transfer/src/TransferListItem.js +2 -4
- package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/lib/legacy-transfer/src/use-transfer-data.js +12 -14
- package/lib/legacy-transfer/styles/dark.js +1 -1
- package/lib/legacy-transfer/styles/light.d.ts +7 -3
- package/lib/legacy-transfer/styles/light.js +3 -3
- package/lib/list/styles/light.d.ts +2 -2
- package/lib/list/styles/light.js +4 -5
- package/lib/loading-bar/src/LoadingBar.d.ts +2 -2
- package/lib/loading-bar/src/LoadingBar.js +2 -6
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +10 -10
- package/lib/loading-bar/src/use-loading-bar.js +2 -3
- package/lib/loading-bar/styles/light.d.ts +1 -1
- package/lib/loading-bar/styles/light.js +2 -2
- package/lib/locales/common/arDZ.js +1 -1
- package/lib/locales/common/azAZ.d.ts +3 -0
- package/lib/locales/common/azAZ.js +126 -0
- package/lib/locales/common/csCZ.js +1 -1
- package/lib/locales/common/deDE.js +1 -1
- package/lib/locales/common/enGB.js +1 -1
- package/lib/locales/common/enUS.d.ts +1 -1
- package/lib/locales/common/enUS.js +1 -1
- package/lib/locales/common/eo.js +1 -1
- package/lib/locales/common/esAR.js +1 -1
- package/lib/locales/common/etEE.js +1 -1
- package/lib/locales/common/faIR.js +1 -1
- package/lib/locales/common/frFR.js +6 -6
- package/lib/locales/common/idID.js +1 -1
- package/lib/locales/common/itIT.js +3 -3
- package/lib/locales/common/jaJP.js +1 -1
- package/lib/locales/common/koKR.js +1 -1
- package/lib/locales/common/nbNO.js +1 -1
- package/lib/locales/common/nlNL.js +1 -1
- package/lib/locales/common/plPL.js +1 -1
- package/lib/locales/common/ptBR.js +1 -1
- package/lib/locales/common/ruRU.js +1 -1
- package/lib/locales/common/skSK.js +1 -1
- package/lib/locales/common/svSE.js +1 -1
- package/lib/locales/common/thTH.js +1 -1
- package/lib/locales/common/trTR.js +1 -1
- package/lib/locales/common/ukUA.js +1 -1
- package/lib/locales/common/uzUZ.d.ts +3 -0
- package/lib/locales/common/uzUZ.js +126 -0
- package/lib/locales/common/viVN.js +1 -1
- package/lib/locales/common/zhCN.js +1 -1
- package/lib/locales/common/zhTW.js +1 -1
- package/lib/locales/date/arDZ.js +2 -5
- package/lib/locales/date/azAZ.d.ts +3 -0
- package/lib/locales/date/azAZ.js +8 -0
- package/lib/locales/date/csCZ.d.ts +1 -1
- package/lib/locales/date/csCZ.js +2 -5
- package/lib/locales/date/deDE.js +2 -5
- package/lib/locales/date/enGB.d.ts +1 -1
- package/lib/locales/date/enGB.js +2 -5
- package/lib/locales/date/enUS.js +2 -5
- package/lib/locales/date/eo.js +2 -5
- package/lib/locales/date/esAR.d.ts +1 -1
- package/lib/locales/date/esAR.js +2 -5
- package/lib/locales/date/etEE.d.ts +1 -1
- package/lib/locales/date/etEE.js +2 -5
- package/lib/locales/date/faIR.d.ts +1 -1
- package/lib/locales/date/faIR.js +2 -5
- package/lib/locales/date/frFR.d.ts +1 -1
- package/lib/locales/date/frFR.js +2 -5
- package/lib/locales/date/idID.d.ts +1 -1
- package/lib/locales/date/idID.js +2 -5
- package/lib/locales/date/itIT.d.ts +1 -1
- package/lib/locales/date/itIT.js +2 -5
- package/lib/locales/date/jaJP.d.ts +1 -1
- package/lib/locales/date/jaJP.js +2 -5
- package/lib/locales/date/koKR.d.ts +1 -1
- package/lib/locales/date/koKR.js +2 -5
- package/lib/locales/date/nbNO.d.ts +1 -1
- package/lib/locales/date/nbNO.js +2 -5
- package/lib/locales/date/nlNL.d.ts +1 -1
- package/lib/locales/date/nlNL.js +2 -5
- package/lib/locales/date/plPL.d.ts +1 -1
- package/lib/locales/date/plPL.js +2 -5
- package/lib/locales/date/ptBR.d.ts +1 -1
- package/lib/locales/date/ptBR.js +2 -5
- package/lib/locales/date/ruRU.d.ts +1 -1
- package/lib/locales/date/ruRU.js +2 -5
- package/lib/locales/date/skSK.d.ts +1 -1
- package/lib/locales/date/skSK.js +2 -5
- package/lib/locales/date/svSE.d.ts +1 -1
- package/lib/locales/date/svSE.js +2 -5
- package/lib/locales/date/thTH.d.ts +1 -1
- package/lib/locales/date/thTH.js +3 -6
- package/lib/locales/date/trTR.d.ts +1 -1
- package/lib/locales/date/trTR.js +3 -6
- package/lib/locales/date/ukUA.d.ts +1 -1
- package/lib/locales/date/ukUA.js +2 -5
- package/lib/locales/date/uzUZ.d.ts +3 -0
- package/lib/locales/date/uzUZ.js +8 -0
- package/lib/locales/date/viVN.d.ts +1 -1
- package/lib/locales/date/viVN.js +2 -5
- package/lib/locales/date/zhCN.d.ts +1 -1
- package/lib/locales/date/zhCN.js +2 -5
- package/lib/locales/date/zhTW.d.ts +1 -1
- package/lib/locales/date/zhTW.js +2 -5
- package/lib/locales/index.d.ts +4 -0
- package/lib/locales/index.js +10 -2
- package/lib/locales/utils/index.d.ts +1 -1
- package/lib/locales/utils/index.js +1 -2
- package/lib/log/src/Log.d.ts +45 -129
- package/lib/log/src/Log.js +2 -2
- package/lib/log/src/LogLine.js +1 -3
- package/lib/log/styles/light.d.ts +5 -3
- package/lib/log/styles/light.js +2 -2
- package/lib/mention/src/Mention.d.ts +121 -140
- package/lib/mention/src/Mention.js +23 -22
- package/lib/mention/src/utils.js +24 -25
- package/lib/mention/styles/light.d.ts +11 -3
- package/lib/mention/styles/light.js +2 -2
- package/lib/menu/src/Menu.d.ts +13 -117
- package/lib/menu/src/Menu.js +90 -85
- package/lib/menu/src/MenuDivider.d.ts +0 -1
- package/lib/menu/src/MenuDivider.js +0 -1
- package/lib/menu/src/MenuOption.d.ts +1 -105
- package/lib/menu/src/MenuOption.js +4 -4
- package/lib/menu/src/MenuOptionContent.js +0 -1
- package/lib/menu/src/MenuOptionGroup.d.ts +0 -1
- package/lib/menu/src/MenuOptionGroup.js +4 -6
- package/lib/menu/src/Submenu.d.ts +1 -105
- package/lib/menu/src/Submenu.js +3 -4
- package/lib/menu/src/interface.d.ts +2 -2
- package/lib/menu/src/use-menu-child.js +7 -9
- package/lib/menu/src/useCheckDeprecated.js +1 -2
- package/lib/menu/src/utils.d.ts +1 -1
- package/lib/menu/src/utils.js +3 -6
- package/lib/menu/styles/light.d.ts +1 -1
- package/lib/menu/styles/light.js +5 -6
- package/lib/message/src/Message.d.ts +2 -2
- package/lib/message/src/Message.js +4 -5
- package/lib/message/src/MessageEnvironment.d.ts +3 -3
- package/lib/message/src/MessageProvider.d.ts +4 -4
- package/lib/message/src/MessageProvider.js +1 -2
- package/lib/message/src/use-message.js +1 -2
- package/lib/message/styles/light.d.ts +1 -1
- package/lib/message/styles/light.js +5 -6
- package/lib/modal/src/BodyWrapper.d.ts +26 -128
- package/lib/modal/src/BodyWrapper.js +2 -3
- package/lib/modal/src/Modal.d.ts +78 -60
- package/lib/modal/src/Modal.js +3 -1
- package/lib/modal/src/ModalEnvironment.d.ts +53 -41
- package/lib/modal/src/ModalEnvironment.js +3 -1
- package/lib/modal/src/ModalProvider.d.ts +5 -14924
- package/lib/modal/src/ModalProvider.js +2 -3
- package/lib/modal/src/composables.js +3 -4
- package/lib/modal/src/interface.d.ts +1 -1
- package/lib/modal/src/presetProps.d.ts +9 -9
- package/lib/modal/styles/light.d.ts +5 -3
- package/lib/modal/styles/light.js +4 -5
- package/lib/notification/src/Notification.d.ts +3 -3
- package/lib/notification/src/Notification.js +1 -3
- package/lib/notification/src/NotificationContainer.d.ts +5 -107
- package/lib/notification/src/NotificationContainer.js +0 -1
- package/lib/notification/src/NotificationEnvironment.d.ts +4 -7
- package/lib/notification/src/NotificationEnvironment.js +1 -3
- package/lib/notification/src/NotificationProvider.d.ts +42 -24
- package/lib/notification/src/NotificationProvider.js +3 -3
- package/lib/notification/src/styles/index.cssr.d.ts +1 -1
- package/lib/notification/src/use-notification.js +2 -3
- package/lib/notification/styles/light.d.ts +5 -3
- package/lib/notification/styles/light.js +4 -5
- package/lib/notification/styles/rtl.d.ts +1 -1
- package/lib/number-animation/src/NumberAnimation.js +2 -2
- package/lib/number-animation/src/utils.js +3 -4
- package/lib/page-header/src/PageHeader.js +1 -2
- package/lib/page-header/styles/light.js +2 -2
- package/lib/pagination/src/Pagination.d.ts +241 -169
- package/lib/pagination/src/Pagination.js +42 -42
- package/lib/pagination/src/utils.d.ts +1 -1
- package/lib/pagination/src/utils.js +6 -7
- package/lib/pagination/styles/light.d.ts +21 -5
- package/lib/pagination/styles/light.js +5 -6
- package/lib/popconfirm/src/Popconfirm.d.ts +21 -125
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/lib/popconfirm/src/PopconfirmPanel.js +2 -4
- package/lib/popconfirm/src/interface.d.ts +1 -1
- package/lib/popconfirm/styles/light.d.ts +1 -1
- package/lib/popconfirm/styles/light.js +4 -5
- package/lib/popover/src/Popover.d.ts +23 -23
- package/lib/popover/src/Popover.js +6 -5
- package/lib/popover/src/PopoverBody.d.ts +17 -17
- package/lib/popover/src/PopoverBody.js +36 -37
- package/lib/popover/src/interface.d.ts +1 -1
- package/lib/popover/src/styles/index.cssr.d.ts +1 -1
- package/lib/popover/styles/light.d.ts +1 -1
- package/lib/popover/styles/light.js +4 -5
- package/lib/popselect/src/Popselect.d.ts +126 -146
- package/lib/popselect/src/Popselect.js +1 -1
- package/lib/popselect/src/PopselectPanel.d.ts +19 -111
- package/lib/popselect/src/PopselectPanel.js +3 -5
- package/lib/popselect/src/interface.d.ts +1 -1
- package/lib/popselect/styles/light.d.ts +11 -3
- package/lib/popselect/styles/light.js +1 -2
- package/lib/preset.d.ts +1 -1
- package/lib/preset.js +1 -1
- package/lib/progress/src/Circle.d.ts +2 -3
- package/lib/progress/src/Circle.js +2 -2
- package/lib/progress/src/Line.d.ts +2 -3
- package/lib/progress/src/Line.js +2 -2
- package/lib/progress/src/MultipleCircle.d.ts +3 -4
- package/lib/progress/src/MultipleCircle.js +13 -13
- package/lib/progress/src/Progress.d.ts +9 -9
- package/lib/progress/styles/dark.js +2 -2
- package/lib/progress/styles/light.d.ts +1 -1
- package/lib/progress/styles/light.js +4 -5
- package/lib/qr-code/src/QrCode.js +3 -3
- package/lib/qr-code/src/qrcodegen.js +370 -68
- package/lib/qr-code/styles/dark.d.ts +1 -1
- package/lib/qr-code/styles/light.d.ts +2 -2
- package/lib/qr-code/styles/light.js +2 -2
- package/lib/radio/src/Radio.d.ts +6 -6
- package/lib/radio/src/RadioButton.d.ts +6 -6
- package/lib/radio/src/RadioGroup.d.ts +1 -1
- package/lib/radio/src/RadioGroup.js +1 -1
- package/lib/radio/src/use-radio.d.ts +4 -4
- package/lib/radio/src/use-radio.js +3 -3
- package/lib/radio/styles/dark.js +1 -1
- package/lib/radio/styles/light.d.ts +2 -2
- package/lib/radio/styles/light.js +3 -3
- package/lib/rate/src/Rate.js +2 -2
- package/lib/rate/src/StarIcon.d.ts +0 -1
- package/lib/rate/styles/dark.d.ts +1 -1
- package/lib/rate/styles/light.d.ts +2 -2
- package/lib/rate/styles/light.js +2 -2
- package/lib/result/src/403.d.ts +0 -1
- package/lib/result/src/404.d.ts +0 -1
- package/lib/result/src/418.d.ts +0 -1
- package/lib/result/src/500.d.ts +0 -1
- package/lib/result/src/Result.d.ts +3 -3
- package/lib/result/styles/light.d.ts +1 -1
- package/lib/result/styles/light.js +5 -6
- package/lib/scrollbar/src/Scrollbar.d.ts +62 -18
- package/lib/scrollbar/src/Scrollbar.js +7 -3
- package/lib/select/src/Select.d.ts +133 -144
- package/lib/select/src/Select.js +60 -56
- package/lib/select/src/interface.d.ts +2 -2
- package/lib/select/src/utils.d.ts +1 -1
- package/lib/select/src/utils.js +10 -12
- package/lib/select/styles/light.d.ts +10 -2
- package/lib/select/styles/light.js +1 -2
- package/lib/skeleton/src/Skeleton.js +3 -3
- package/lib/skeleton/styles/dark.d.ts +1 -1
- package/lib/skeleton/styles/light.d.ts +2 -2
- package/lib/skeleton/styles/light.js +2 -2
- package/lib/slider/src/Slider.d.ts +10 -9
- package/lib/slider/src/Slider.js +16 -16
- package/lib/slider/src/styles/index.cssr.js +1 -0
- package/lib/slider/src/utils.js +2 -3
- package/lib/slider/styles/dark.js +1 -1
- package/lib/slider/styles/light.d.ts +2 -2
- package/lib/slider/styles/light.js +3 -3
- package/lib/space/src/Space.d.ts +4 -4
- package/lib/space/src/Space.js +5 -5
- package/lib/space/src/utils.d.ts +1 -1
- package/lib/space/src/utils.js +3 -4
- package/lib/space/styles/light.d.ts +1 -1
- package/lib/space/styles/light.js +2 -2
- package/lib/space/styles/rtl.d.ts +1 -1
- package/lib/spin/src/Spin.d.ts +7 -7
- package/lib/spin/styles/light.d.ts +2 -2
- package/lib/spin/styles/light.js +4 -5
- package/lib/split/src/Split.d.ts +11 -11
- package/lib/split/src/Split.js +6 -6
- package/lib/split/styles/dark.d.ts +1 -1
- package/lib/split/styles/light.d.ts +2 -2
- package/lib/split/styles/light.js +4 -5
- package/lib/statistic/src/Statistic.js +4 -4
- package/lib/statistic/styles/light.d.ts +2 -2
- package/lib/statistic/styles/light.js +4 -5
- package/lib/statistic/styles/rtl.d.ts +1 -1
- package/lib/steps/src/Step.d.ts +3 -3
- package/lib/steps/src/Step.js +1 -1
- package/lib/steps/src/Steps.d.ts +4 -4
- package/lib/steps/styles/light.d.ts +1 -1
- package/lib/steps/styles/light.js +5 -6
- package/lib/steps/styles/rtl.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +1 -1
- package/lib/switch/src/Switch.js +9 -9
- package/lib/switch/styles/dark.js +1 -1
- package/lib/switch/styles/light.d.ts +1 -1
- package/lib/switch/styles/light.js +3 -3
- package/lib/table/styles/light.d.ts +2 -2
- package/lib/table/styles/light.js +5 -6
- package/lib/table/styles/rtl.d.ts +1 -1
- package/lib/tabs/src/Tab.d.ts +6 -18
- package/lib/tabs/src/Tab.js +2 -6
- package/lib/tabs/src/TabPane.d.ts +10 -22
- package/lib/tabs/src/Tabs.d.ts +32 -32
- package/lib/tabs/src/Tabs.js +54 -32
- package/lib/tabs/src/interface.d.ts +1 -1
- package/lib/tabs/src/styles/index.cssr.js +19 -7
- package/lib/tabs/styles/light.d.ts +2 -2
- package/lib/tabs/styles/light.js +5 -6
- package/lib/tag/src/Tag.d.ts +8 -8
- package/lib/tag/src/Tag.js +4 -4
- package/lib/tag/src/common-props.d.ts +3 -3
- package/lib/tag/styles/dark.js +1 -1
- package/lib/tag/styles/light.d.ts +1 -1
- package/lib/tag/styles/light.js +3 -3
- package/lib/theme-editor/src/ThemeEditor.js +18 -18
- package/lib/themes/interface.d.ts +1 -1
- package/lib/themes/utils.d.ts +1 -1
- package/lib/themes/utils.js +1 -2
- package/lib/thing/src/Thing.d.ts +0 -1
- package/lib/thing/src/Thing.js +14 -14
- package/lib/thing/styles/light.d.ts +1 -1
- package/lib/thing/styles/light.js +4 -5
- package/lib/thing/styles/rtl.d.ts +1 -1
- package/lib/time/src/Time.d.ts +1 -1
- package/lib/time/src/Time.js +3 -6
- package/lib/time-picker/src/Panel.d.ts +9 -111
- package/lib/time-picker/src/Panel.js +17 -19
- package/lib/time-picker/src/PanelCol.d.ts +5 -5
- package/lib/time-picker/src/TimePicker.d.ts +50 -134
- package/lib/time-picker/src/TimePicker.js +34 -33
- package/lib/time-picker/src/interface.d.ts +2 -2
- package/lib/time-picker/src/utils.js +19 -16
- package/lib/time-picker/styles/light.d.ts +5 -3
- package/lib/time-picker/styles/light.js +5 -6
- package/lib/timeline/src/Timeline.d.ts +1 -2
- package/lib/timeline/src/Timeline.js +2 -2
- package/lib/timeline/src/TimelineItem.d.ts +3 -3
- package/lib/timeline/src/TimelineItem.js +1 -1
- package/lib/timeline/styles/dark.js +1 -1
- package/lib/timeline/styles/light.d.ts +1 -1
- package/lib/timeline/styles/light.js +3 -3
- package/lib/tooltip/src/Tooltip.d.ts +16 -120
- package/lib/tooltip/src/Tooltip.js +0 -2
- package/lib/tooltip/styles/light.d.ts +1 -1
- package/lib/tooltip/styles/light.js +4 -4
- package/lib/transfer/src/Transfer.d.ts +69 -133
- package/lib/transfer/src/Transfer.js +4 -4
- package/lib/transfer/src/TransferFilter.d.ts +7 -107
- package/lib/transfer/src/TransferFilter.js +0 -1
- package/lib/transfer/src/TransferHeader.d.ts +3 -4
- package/lib/transfer/src/TransferHeader.js +3 -5
- package/lib/transfer/src/TransferList.d.ts +8 -108
- package/lib/transfer/src/TransferList.js +1 -2
- package/lib/transfer/src/TransferListItem.d.ts +7 -107
- package/lib/transfer/src/TransferListItem.js +1 -3
- package/lib/transfer/src/use-transfer-data.d.ts +1 -1
- package/lib/transfer/src/use-transfer-data.js +9 -11
- package/lib/transfer/styles/dark.js +1 -1
- package/lib/transfer/styles/light.d.ts +7 -3
- package/lib/transfer/styles/light.js +3 -3
- package/lib/tree/src/MotionWrapper.d.ts +3 -3
- package/lib/tree/src/MotionWrapper.js +1 -1
- package/lib/tree/src/Tree.d.ts +97 -161
- package/lib/tree/src/Tree.js +62 -60
- package/lib/tree/src/TreeNode.d.ts +1 -1
- package/lib/tree/src/TreeNode.js +12 -17
- package/lib/tree/src/TreeNodeCheckbox.d.ts +7 -107
- package/lib/tree/src/TreeNodeCheckbox.js +0 -1
- package/lib/tree/src/TreeNodeContent.d.ts +4 -4
- package/lib/tree/src/TreeNodeContent.js +1 -3
- package/lib/tree/src/TreeNodeSwitcher.d.ts +0 -1
- package/lib/tree/src/TreeNodeSwitcher.js +0 -1
- package/lib/tree/src/dnd.d.ts +1 -1
- package/lib/tree/src/dnd.js +4 -5
- package/lib/tree/src/interface.d.ts +2 -2
- package/lib/tree/src/keyboard.d.ts +2 -2
- package/lib/tree/src/keyboard.js +6 -7
- package/lib/tree/src/utils.d.ts +2 -2
- package/lib/tree/src/utils.js +9 -9
- package/lib/tree/styles/light.d.ts +7 -3
- package/lib/tree/styles/light.js +4 -5
- package/lib/tree-select/src/TreeSelect.d.ts +152 -159
- package/lib/tree-select/src/TreeSelect.js +38 -29
- package/lib/tree-select/src/interface.d.ts +3 -3
- package/lib/tree-select/src/styles/index.cssr.js +10 -0
- package/lib/tree-select/src/utils.d.ts +2 -2
- package/lib/tree-select/src/utils.js +3 -4
- package/lib/tree-select/styles/light.d.ts +15 -3
- package/lib/tree-select/styles/light.js +8 -6
- package/lib/typography/src/blockquote.js +1 -1
- package/lib/typography/src/create-header.d.ts +4 -4
- package/lib/typography/src/create-header.js +0 -1
- package/lib/typography/src/headers.d.ts +12 -12
- package/lib/typography/src/p.d.ts +3 -3
- package/lib/typography/src/text.d.ts +3 -3
- package/lib/typography/styles/light.d.ts +1 -1
- package/lib/typography/styles/light.js +5 -6
- package/lib/upload/src/Upload.d.ts +12 -113
- package/lib/upload/src/Upload.js +47 -46
- package/lib/upload/src/UploadDragger.d.ts +0 -1
- package/lib/upload/src/UploadDragger.js +2 -1
- package/lib/upload/src/UploadFile.d.ts +6 -109
- package/lib/upload/src/UploadFile.js +27 -17
- package/lib/upload/src/UploadFileList.d.ts +0 -1
- package/lib/upload/src/UploadFileList.js +7 -7
- package/lib/upload/src/UploadProgress.d.ts +3 -107
- package/lib/upload/src/UploadProgress.js +0 -1
- package/lib/upload/src/UploadTrigger.d.ts +0 -1
- package/lib/upload/src/UploadTrigger.js +8 -8
- package/lib/upload/src/icons.d.ts +0 -1
- package/lib/upload/src/interface.d.ts +9 -3
- package/lib/upload/src/public-types.d.ts +1 -1
- package/lib/upload/src/utils.d.ts +2 -2
- package/lib/upload/src/utils.js +34 -22
- package/lib/upload/styles/light.d.ts +1 -1
- package/lib/upload/styles/light.js +4 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/src/VirtualList.d.ts +13 -13
- package/lib/virtual-list/src/VirtualList.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +3 -4
- package/lib/watermark/src/Watermark.js +15 -15
- package/package.json +77 -90
- package/volar.d.ts +5 -5
- package/web-types.json +329 -60
|
@@ -152,10 +152,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
152
152
|
ret = [treeMateRef.value.treeNodes];
|
|
153
153
|
}
|
|
154
154
|
else {
|
|
155
|
-
ret = treeNodePath.map(
|
|
156
|
-
if (!treeNode.isLeaf
|
|
157
|
-
!loadingKeySetRef.value.has(treeNode.key)
|
|
158
|
-
treeNode.children) {
|
|
155
|
+
ret = treeNodePath.map(treeNode => treeNode.siblings);
|
|
156
|
+
if (!treeNode.isLeaf
|
|
157
|
+
&& !loadingKeySetRef.value.has(treeNode.key)
|
|
158
|
+
&& treeNode.children) {
|
|
159
159
|
ret.push(treeNode.children);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
@@ -176,6 +176,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
+
const uncontrolledShowRef = (0, vue_1.ref)(false);
|
|
179
180
|
function doUpdateShow(value) {
|
|
180
181
|
const { onUpdateShow, 'onUpdate:show': _onUpdateShow } = props;
|
|
181
182
|
if (onUpdateShow) {
|
|
@@ -210,7 +211,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
210
211
|
}
|
|
211
212
|
function getOptionsByKeys(keys) {
|
|
212
213
|
const { value: { getNode } } = treeMateRef;
|
|
213
|
-
return keys.map(
|
|
214
|
+
return keys.map(keys => { var _a; return ((_a = getNode(keys)) === null || _a === void 0 ? void 0 : _a.rawNode) || null; });
|
|
214
215
|
}
|
|
215
216
|
function doCheck(key) {
|
|
216
217
|
var _a;
|
|
@@ -223,7 +224,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
223
224
|
checkStrategy: mergedCheckStrategyRef.value,
|
|
224
225
|
allowNotLoaded: props.allowCheckingNotLoaded
|
|
225
226
|
});
|
|
226
|
-
doUpdateValue(checkedKeys, getOptionsByKeys(checkedKeys), checkedKeys.map(
|
|
227
|
+
doUpdateValue(checkedKeys, getOptionsByKeys(checkedKeys), checkedKeys.map(checkedKey => { var _a; return (0, utils_1.getRawNodePath)((_a = getPath(checkedKey)) === null || _a === void 0 ? void 0 : _a.treeNodePath); }));
|
|
227
228
|
if (filterable)
|
|
228
229
|
focusSelectionInput();
|
|
229
230
|
keyboardKeyRef.value = key;
|
|
@@ -269,7 +270,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
269
270
|
checkStrategy: mergedCheckStrategyRef.value,
|
|
270
271
|
allowNotLoaded: props.allowCheckingNotLoaded
|
|
271
272
|
});
|
|
272
|
-
doUpdateValue(checkedKeys, checkedKeys.map(
|
|
273
|
+
doUpdateValue(checkedKeys, checkedKeys.map(checkedKey => { var _a; return ((_a = getNode(checkedKey)) === null || _a === void 0 ? void 0 : _a.rawNode) || null; }), checkedKeys.map(checkedKey => { var _a; return (0, utils_1.getRawNodePath)((_a = getPath(checkedKey)) === null || _a === void 0 ? void 0 : _a.treeNodePath); }));
|
|
273
274
|
keyboardKeyRef.value = key;
|
|
274
275
|
hoverKeyRef.value = key;
|
|
275
276
|
}
|
|
@@ -301,8 +302,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
301
302
|
}
|
|
302
303
|
});
|
|
303
304
|
}
|
|
304
|
-
else
|
|
305
|
+
else {
|
|
305
306
|
return [];
|
|
307
|
+
}
|
|
306
308
|
});
|
|
307
309
|
const selectedOptionRef = (0, vue_1.computed)(() => {
|
|
308
310
|
const { multiple, showPath, separator, labelField } = props;
|
|
@@ -328,10 +330,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
328
330
|
};
|
|
329
331
|
}
|
|
330
332
|
}
|
|
331
|
-
else
|
|
333
|
+
else {
|
|
332
334
|
return null;
|
|
335
|
+
}
|
|
333
336
|
});
|
|
334
|
-
const uncontrolledShowRef = (0, vue_1.ref)(false);
|
|
335
337
|
const controlledShowRef = (0, vue_1.toRef)(props, 'show');
|
|
336
338
|
const mergedShowRef = (0, vooks_1.useMergedState)(controlledShowRef, uncontrolledShowRef);
|
|
337
339
|
const localizedPlaceholderRef = (0, vue_1.computed)(() => {
|
|
@@ -539,8 +541,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
539
541
|
const { value: keyboardKey } = keyboardKeyRef;
|
|
540
542
|
if (!showSelectMenu) {
|
|
541
543
|
if (keyboardKey !== null) {
|
|
542
|
-
if (checkedKeysRef.value.includes(keyboardKey)
|
|
543
|
-
indeterminateKeysRef.value.includes(keyboardKey)) {
|
|
544
|
+
if (checkedKeysRef.value.includes(keyboardKey)
|
|
545
|
+
|| indeterminateKeysRef.value.includes(keyboardKey)) {
|
|
544
546
|
doUncheck(keyboardKey);
|
|
545
547
|
}
|
|
546
548
|
else {
|
|
@@ -676,9 +678,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
676
678
|
function handleDeleteOption(option) {
|
|
677
679
|
const { multiple } = props;
|
|
678
680
|
const { value: mergedValue } = mergedValueRef;
|
|
679
|
-
if (multiple
|
|
680
|
-
Array.isArray(mergedValue)
|
|
681
|
-
option.value !== undefined) {
|
|
681
|
+
if (multiple
|
|
682
|
+
&& Array.isArray(mergedValue)
|
|
683
|
+
&& option.value !== undefined) {
|
|
682
684
|
doUncheck(option.value);
|
|
683
685
|
}
|
|
684
686
|
else {
|
|
@@ -41,114 +41,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
selfElRef: import("vue").Ref<HTMLElement | null>;
|
|
42
42
|
submenuInstRefs: CascaderSubmenuInstance[];
|
|
43
43
|
maskInstRef: import("vue").Ref<{
|
|
44
|
-
showOnce: (message: string, duration?: number
|
|
44
|
+
showOnce: (message: string, duration?: number) => void;
|
|
45
45
|
} | null>;
|
|
46
46
|
mergedTheme: import("vue").Ref<{
|
|
47
|
-
common:
|
|
48
|
-
baseColor: string;
|
|
49
|
-
primaryColor: string;
|
|
50
|
-
primaryColorHover: string;
|
|
51
|
-
primaryColorPressed: string;
|
|
52
|
-
primaryColorSuppl: string;
|
|
53
|
-
infoColor: string;
|
|
54
|
-
infoColorHover: string;
|
|
55
|
-
infoColorPressed: string;
|
|
56
|
-
infoColorSuppl: string;
|
|
57
|
-
successColor: string;
|
|
58
|
-
successColorHover: string;
|
|
59
|
-
successColorPressed: string;
|
|
60
|
-
successColorSuppl: string;
|
|
61
|
-
warningColor: string;
|
|
62
|
-
warningColorHover: string;
|
|
63
|
-
warningColorPressed: string;
|
|
64
|
-
warningColorSuppl: string;
|
|
65
|
-
errorColor: string;
|
|
66
|
-
errorColorHover: string;
|
|
67
|
-
errorColorPressed: string;
|
|
68
|
-
errorColorSuppl: string;
|
|
69
|
-
textColorBase: string;
|
|
70
|
-
textColor1: string;
|
|
71
|
-
textColor2: string;
|
|
72
|
-
textColor3: string;
|
|
73
|
-
textColorDisabled: string;
|
|
74
|
-
placeholderColor: string;
|
|
75
|
-
placeholderColorDisabled: string;
|
|
76
|
-
iconColor: string;
|
|
77
|
-
iconColorHover: string;
|
|
78
|
-
iconColorPressed: string;
|
|
79
|
-
iconColorDisabled: string;
|
|
80
|
-
opacity1: string;
|
|
81
|
-
opacity2: string;
|
|
82
|
-
opacity3: string;
|
|
83
|
-
opacity4: string;
|
|
84
|
-
opacity5: string;
|
|
85
|
-
dividerColor: string;
|
|
86
|
-
borderColor: string;
|
|
87
|
-
closeIconColor: string;
|
|
88
|
-
closeIconColorHover: string;
|
|
89
|
-
closeIconColorPressed: string;
|
|
90
|
-
closeColorHover: string;
|
|
91
|
-
closeColorPressed: string;
|
|
92
|
-
clearColor: string;
|
|
93
|
-
clearColorHover: string;
|
|
94
|
-
clearColorPressed: string;
|
|
95
|
-
scrollbarColor: string;
|
|
96
|
-
scrollbarColorHover: string;
|
|
97
|
-
scrollbarWidth: string;
|
|
98
|
-
scrollbarHeight: string;
|
|
99
|
-
scrollbarBorderRadius: string;
|
|
100
|
-
progressRailColor: string;
|
|
101
|
-
railColor: string;
|
|
102
|
-
popoverColor: string;
|
|
103
|
-
tableColor: string;
|
|
104
|
-
cardColor: string;
|
|
105
|
-
modalColor: string;
|
|
106
|
-
bodyColor: string;
|
|
107
|
-
tagColor: string;
|
|
108
|
-
avatarColor: string;
|
|
109
|
-
invertedColor: string;
|
|
110
|
-
inputColor: string;
|
|
111
|
-
codeColor: string;
|
|
112
|
-
tabColor: string;
|
|
113
|
-
actionColor: string;
|
|
114
|
-
tableHeaderColor: string;
|
|
115
|
-
hoverColor: string;
|
|
116
|
-
tableColorHover: string;
|
|
117
|
-
tableColorStriped: string;
|
|
118
|
-
pressedColor: string;
|
|
119
|
-
opacityDisabled: string;
|
|
120
|
-
inputColorDisabled: string;
|
|
121
|
-
buttonColor2: string;
|
|
122
|
-
buttonColor2Hover: string;
|
|
123
|
-
buttonColor2Pressed: string;
|
|
124
|
-
boxShadow1: string;
|
|
125
|
-
boxShadow2: string;
|
|
126
|
-
boxShadow3: string;
|
|
127
|
-
fontFamily: string;
|
|
128
|
-
fontFamilyMono: string;
|
|
129
|
-
fontWeight: string;
|
|
130
|
-
fontWeightStrong: string;
|
|
131
|
-
cubicBezierEaseInOut: string;
|
|
132
|
-
cubicBezierEaseOut: string;
|
|
133
|
-
cubicBezierEaseIn: string;
|
|
134
|
-
borderRadius: string;
|
|
135
|
-
borderRadiusSmall: string;
|
|
136
|
-
fontSize: string;
|
|
137
|
-
fontSizeMini: string;
|
|
138
|
-
fontSizeTiny: string;
|
|
139
|
-
fontSizeSmall: string;
|
|
140
|
-
fontSizeMedium: string;
|
|
141
|
-
fontSizeLarge: string;
|
|
142
|
-
fontSizeHuge: string;
|
|
143
|
-
lineHeight: string;
|
|
144
|
-
heightMini: string;
|
|
145
|
-
heightTiny: string;
|
|
146
|
-
heightSmall: string;
|
|
147
|
-
heightMedium: string;
|
|
148
|
-
heightLarge: string;
|
|
149
|
-
heightHuge: string;
|
|
150
|
-
name: "common";
|
|
151
|
-
};
|
|
47
|
+
common: import("../..").ThemeCommonVars;
|
|
152
48
|
self: {
|
|
153
49
|
menuBorderRadius: string;
|
|
154
50
|
menuColor: string;
|
|
@@ -168,10 +64,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
168
64
|
};
|
|
169
65
|
peers: {
|
|
170
66
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
67
|
+
optionFontSizeTiny: string;
|
|
171
68
|
optionFontSizeSmall: string;
|
|
172
69
|
optionFontSizeMedium: string;
|
|
173
70
|
optionFontSizeLarge: string;
|
|
174
71
|
optionFontSizeHuge: string;
|
|
72
|
+
optionHeightTiny: string;
|
|
175
73
|
optionHeightSmall: string;
|
|
176
74
|
optionHeightMedium: string;
|
|
177
75
|
optionHeightLarge: string;
|
|
@@ -192,10 +90,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
192
90
|
actionTextColor: string;
|
|
193
91
|
loadingColor: string;
|
|
194
92
|
height: string;
|
|
93
|
+
paddingTiny: string;
|
|
195
94
|
paddingSmall: string;
|
|
196
95
|
paddingMedium: string;
|
|
197
96
|
paddingLarge: string;
|
|
198
97
|
paddingHuge: string;
|
|
98
|
+
optionPaddingTiny: string;
|
|
199
99
|
optionPaddingSmall: string;
|
|
200
100
|
optionPaddingMedium: string;
|
|
201
101
|
optionPaddingLarge: string;
|
|
@@ -208,11 +108,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
208
108
|
borderRadius: string;
|
|
209
109
|
color: string;
|
|
210
110
|
colorHover: string;
|
|
211
|
-
|
|
212
|
-
|
|
111
|
+
railInsetHorizontalBottom: string;
|
|
112
|
+
railInsetHorizontalTop: string;
|
|
113
|
+
railInsetVerticalRight: string;
|
|
114
|
+
railInsetVerticalLeft: string;
|
|
213
115
|
railColor: string;
|
|
214
116
|
}, any>;
|
|
215
117
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
118
|
+
fontSizeTiny: string;
|
|
216
119
|
fontSizeSmall: string;
|
|
217
120
|
fontSizeMedium: string;
|
|
218
121
|
fontSizeLarge: string;
|
|
@@ -220,6 +123,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
123
|
textColor: string;
|
|
221
124
|
iconColor: string;
|
|
222
125
|
extraTextColor: string;
|
|
126
|
+
iconSizeTiny: string;
|
|
223
127
|
iconSizeSmall: string;
|
|
224
128
|
iconSizeMedium: string;
|
|
225
129
|
iconSizeLarge: string;
|
|
@@ -301,8 +205,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
301
205
|
borderRadius: string;
|
|
302
206
|
color: string;
|
|
303
207
|
colorHover: string;
|
|
304
|
-
|
|
305
|
-
|
|
208
|
+
railInsetHorizontalBottom: string;
|
|
209
|
+
railInsetHorizontalTop: string;
|
|
210
|
+
railInsetVerticalRight: string;
|
|
211
|
+
railInsetVerticalLeft: string;
|
|
306
212
|
railColor: string;
|
|
307
213
|
}, any>;
|
|
308
214
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
@@ -336,6 +242,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
336
242
|
labelFontWeight: string;
|
|
337
243
|
}, any>;
|
|
338
244
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
245
|
+
fontSizeTiny: string;
|
|
339
246
|
fontSizeSmall: string;
|
|
340
247
|
fontSizeMedium: string;
|
|
341
248
|
fontSizeLarge: string;
|
|
@@ -343,6 +250,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
343
250
|
textColor: string;
|
|
344
251
|
iconColor: string;
|
|
345
252
|
extraTextColor: string;
|
|
253
|
+
iconSizeTiny: string;
|
|
346
254
|
iconSizeSmall: string;
|
|
347
255
|
iconSizeMedium: string;
|
|
348
256
|
iconSizeLarge: string;
|
|
@@ -358,11 +266,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
358
266
|
borderRadius: string;
|
|
359
267
|
color: string;
|
|
360
268
|
colorHover: string;
|
|
361
|
-
|
|
362
|
-
|
|
269
|
+
railInsetHorizontalBottom: string;
|
|
270
|
+
railInsetHorizontalTop: string;
|
|
271
|
+
railInsetVerticalRight: string;
|
|
272
|
+
railInsetVerticalLeft: string;
|
|
363
273
|
railColor: string;
|
|
364
274
|
}, any>> | undefined;
|
|
365
275
|
Empty?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
276
|
+
fontSizeTiny: string;
|
|
366
277
|
fontSizeSmall: string;
|
|
367
278
|
fontSizeMedium: string;
|
|
368
279
|
fontSizeLarge: string;
|
|
@@ -370,6 +281,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
370
281
|
textColor: string;
|
|
371
282
|
iconColor: string;
|
|
372
283
|
extraTextColor: string;
|
|
284
|
+
iconSizeTiny: string;
|
|
373
285
|
iconSizeSmall: string;
|
|
374
286
|
iconSizeMedium: string;
|
|
375
287
|
iconSizeLarge: string;
|
|
@@ -47,9 +47,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
setup(props) {
|
|
50
|
-
const { localeRef, isMountedRef, mergedClsPrefixRef, syncCascaderMenuPosition, handleCascaderMenuClickOutside, mergedThemeRef, getColumnStyleRef
|
|
51
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
52
|
-
} = (0, vue_1.inject)(interface_1.cascaderInjectionKey);
|
|
50
|
+
const { localeRef, isMountedRef, mergedClsPrefixRef, syncCascaderMenuPosition, handleCascaderMenuClickOutside, mergedThemeRef, getColumnStyleRef } = (0, vue_1.inject)(interface_1.cascaderInjectionKey);
|
|
53
51
|
const submenuInstRefs = [];
|
|
54
52
|
const maskInstRef = (0, vue_1.ref)(null);
|
|
55
53
|
const selfElRef = (0, vue_1.ref)(null);
|
|
@@ -115,7 +113,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
115
113
|
(0, vue_1.h)(_internal_1.NBaseMenuMask, { clsPrefix: mergedClsPrefix, ref: "maskInstRef" }))) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader-menu__empty` }, (0, _utils_1.resolveSlot)(this.$slots.empty, () => [
|
|
116
114
|
(0, vue_1.h)(empty_1.NEmpty, { theme: mergedTheme.peers.Empty, themeOverrides: mergedTheme.peerOverrides.Empty })
|
|
117
115
|
]))),
|
|
118
|
-
(0, _utils_1.resolveWrappedSlot)(this.$slots.action,
|
|
116
|
+
(0, _utils_1.resolveWrappedSlot)(this.$slots.action, children => children && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader-menu-action`, "data-action": true }, children))),
|
|
119
117
|
(0, vue_1.h)(focus_detector_1.default, { onFocus: this.onTabout })), [
|
|
120
118
|
[
|
|
121
119
|
vdirs_1.clickoutside,
|
|
@@ -20,111 +20,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
label: import("vue").ComputedRef<any>;
|
|
21
21
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
22
22
|
mergedTheme: import("vue").Ref<{
|
|
23
|
-
common:
|
|
24
|
-
baseColor: string;
|
|
25
|
-
primaryColor: string;
|
|
26
|
-
primaryColorHover: string;
|
|
27
|
-
primaryColorPressed: string;
|
|
28
|
-
primaryColorSuppl: string;
|
|
29
|
-
infoColor: string;
|
|
30
|
-
infoColorHover: string;
|
|
31
|
-
infoColorPressed: string;
|
|
32
|
-
infoColorSuppl: string;
|
|
33
|
-
successColor: string;
|
|
34
|
-
successColorHover: string;
|
|
35
|
-
successColorPressed: string;
|
|
36
|
-
successColorSuppl: string;
|
|
37
|
-
warningColor: string;
|
|
38
|
-
warningColorHover: string;
|
|
39
|
-
warningColorPressed: string;
|
|
40
|
-
warningColorSuppl: string;
|
|
41
|
-
errorColor: string;
|
|
42
|
-
errorColorHover: string;
|
|
43
|
-
errorColorPressed: string;
|
|
44
|
-
errorColorSuppl: string;
|
|
45
|
-
textColorBase: string;
|
|
46
|
-
textColor1: string;
|
|
47
|
-
textColor2: string;
|
|
48
|
-
textColor3: string;
|
|
49
|
-
textColorDisabled: string;
|
|
50
|
-
placeholderColor: string;
|
|
51
|
-
placeholderColorDisabled: string;
|
|
52
|
-
iconColor: string;
|
|
53
|
-
iconColorHover: string;
|
|
54
|
-
iconColorPressed: string;
|
|
55
|
-
iconColorDisabled: string;
|
|
56
|
-
opacity1: string;
|
|
57
|
-
opacity2: string;
|
|
58
|
-
opacity3: string;
|
|
59
|
-
opacity4: string;
|
|
60
|
-
opacity5: string;
|
|
61
|
-
dividerColor: string;
|
|
62
|
-
borderColor: string;
|
|
63
|
-
closeIconColor: string;
|
|
64
|
-
closeIconColorHover: string;
|
|
65
|
-
closeIconColorPressed: string;
|
|
66
|
-
closeColorHover: string;
|
|
67
|
-
closeColorPressed: string;
|
|
68
|
-
clearColor: string;
|
|
69
|
-
clearColorHover: string;
|
|
70
|
-
clearColorPressed: string;
|
|
71
|
-
scrollbarColor: string;
|
|
72
|
-
scrollbarColorHover: string;
|
|
73
|
-
scrollbarWidth: string;
|
|
74
|
-
scrollbarHeight: string;
|
|
75
|
-
scrollbarBorderRadius: string;
|
|
76
|
-
progressRailColor: string;
|
|
77
|
-
railColor: string;
|
|
78
|
-
popoverColor: string;
|
|
79
|
-
tableColor: string;
|
|
80
|
-
cardColor: string;
|
|
81
|
-
modalColor: string;
|
|
82
|
-
bodyColor: string;
|
|
83
|
-
tagColor: string;
|
|
84
|
-
avatarColor: string;
|
|
85
|
-
invertedColor: string;
|
|
86
|
-
inputColor: string;
|
|
87
|
-
codeColor: string;
|
|
88
|
-
tabColor: string;
|
|
89
|
-
actionColor: string;
|
|
90
|
-
tableHeaderColor: string;
|
|
91
|
-
hoverColor: string;
|
|
92
|
-
tableColorHover: string;
|
|
93
|
-
tableColorStriped: string;
|
|
94
|
-
pressedColor: string;
|
|
95
|
-
opacityDisabled: string;
|
|
96
|
-
inputColorDisabled: string;
|
|
97
|
-
buttonColor2: string;
|
|
98
|
-
buttonColor2Hover: string;
|
|
99
|
-
buttonColor2Pressed: string;
|
|
100
|
-
boxShadow1: string;
|
|
101
|
-
boxShadow2: string;
|
|
102
|
-
boxShadow3: string;
|
|
103
|
-
fontFamily: string;
|
|
104
|
-
fontFamilyMono: string;
|
|
105
|
-
fontWeight: string;
|
|
106
|
-
fontWeightStrong: string;
|
|
107
|
-
cubicBezierEaseInOut: string;
|
|
108
|
-
cubicBezierEaseOut: string;
|
|
109
|
-
cubicBezierEaseIn: string;
|
|
110
|
-
borderRadius: string;
|
|
111
|
-
borderRadiusSmall: string;
|
|
112
|
-
fontSize: string;
|
|
113
|
-
fontSizeMini: string;
|
|
114
|
-
fontSizeTiny: string;
|
|
115
|
-
fontSizeSmall: string;
|
|
116
|
-
fontSizeMedium: string;
|
|
117
|
-
fontSizeLarge: string;
|
|
118
|
-
fontSizeHuge: string;
|
|
119
|
-
lineHeight: string;
|
|
120
|
-
heightMini: string;
|
|
121
|
-
heightTiny: string;
|
|
122
|
-
heightSmall: string;
|
|
123
|
-
heightMedium: string;
|
|
124
|
-
heightLarge: string;
|
|
125
|
-
heightHuge: string;
|
|
126
|
-
name: "common";
|
|
127
|
-
};
|
|
23
|
+
common: import("../..").ThemeCommonVars;
|
|
128
24
|
self: {
|
|
129
25
|
menuBorderRadius: string;
|
|
130
26
|
menuColor: string;
|
|
@@ -144,10 +40,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
144
40
|
};
|
|
145
41
|
peers: {
|
|
146
42
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
43
|
+
optionFontSizeTiny: string;
|
|
147
44
|
optionFontSizeSmall: string;
|
|
148
45
|
optionFontSizeMedium: string;
|
|
149
46
|
optionFontSizeLarge: string;
|
|
150
47
|
optionFontSizeHuge: string;
|
|
48
|
+
optionHeightTiny: string;
|
|
151
49
|
optionHeightSmall: string;
|
|
152
50
|
optionHeightMedium: string;
|
|
153
51
|
optionHeightLarge: string;
|
|
@@ -168,10 +66,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
168
66
|
actionTextColor: string;
|
|
169
67
|
loadingColor: string;
|
|
170
68
|
height: string;
|
|
69
|
+
paddingTiny: string;
|
|
171
70
|
paddingSmall: string;
|
|
172
71
|
paddingMedium: string;
|
|
173
72
|
paddingLarge: string;
|
|
174
73
|
paddingHuge: string;
|
|
74
|
+
optionPaddingTiny: string;
|
|
175
75
|
optionPaddingSmall: string;
|
|
176
76
|
optionPaddingMedium: string;
|
|
177
77
|
optionPaddingLarge: string;
|
|
@@ -184,11 +84,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
184
84
|
borderRadius: string;
|
|
185
85
|
color: string;
|
|
186
86
|
colorHover: string;
|
|
187
|
-
|
|
188
|
-
|
|
87
|
+
railInsetHorizontalBottom: string;
|
|
88
|
+
railInsetHorizontalTop: string;
|
|
89
|
+
railInsetVerticalRight: string;
|
|
90
|
+
railInsetVerticalLeft: string;
|
|
189
91
|
railColor: string;
|
|
190
92
|
}, any>;
|
|
191
93
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
94
|
+
fontSizeTiny: string;
|
|
192
95
|
fontSizeSmall: string;
|
|
193
96
|
fontSizeMedium: string;
|
|
194
97
|
fontSizeLarge: string;
|
|
@@ -196,6 +99,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
196
99
|
textColor: string;
|
|
197
100
|
iconColor: string;
|
|
198
101
|
extraTextColor: string;
|
|
102
|
+
iconSizeTiny: string;
|
|
199
103
|
iconSizeSmall: string;
|
|
200
104
|
iconSizeMedium: string;
|
|
201
105
|
iconSizeLarge: string;
|
|
@@ -277,8 +181,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
277
181
|
borderRadius: string;
|
|
278
182
|
color: string;
|
|
279
183
|
colorHover: string;
|
|
280
|
-
|
|
281
|
-
|
|
184
|
+
railInsetHorizontalBottom: string;
|
|
185
|
+
railInsetHorizontalTop: string;
|
|
186
|
+
railInsetVerticalRight: string;
|
|
187
|
+
railInsetVerticalLeft: string;
|
|
282
188
|
railColor: string;
|
|
283
189
|
}, any>;
|
|
284
190
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
@@ -312,6 +218,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
312
218
|
labelFontWeight: string;
|
|
313
219
|
}, any>;
|
|
314
220
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
221
|
+
fontSizeTiny: string;
|
|
315
222
|
fontSizeSmall: string;
|
|
316
223
|
fontSizeMedium: string;
|
|
317
224
|
fontSizeLarge: string;
|
|
@@ -319,6 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
319
226
|
textColor: string;
|
|
320
227
|
iconColor: string;
|
|
321
228
|
extraTextColor: string;
|
|
229
|
+
iconSizeTiny: string;
|
|
322
230
|
iconSizeSmall: string;
|
|
323
231
|
iconSizeMedium: string;
|
|
324
232
|
iconSizeLarge: string;
|
|
@@ -334,11 +242,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
334
242
|
borderRadius: string;
|
|
335
243
|
color: string;
|
|
336
244
|
colorHover: string;
|
|
337
|
-
|
|
338
|
-
|
|
245
|
+
railInsetHorizontalBottom: string;
|
|
246
|
+
railInsetHorizontalTop: string;
|
|
247
|
+
railInsetVerticalRight: string;
|
|
248
|
+
railInsetVerticalLeft: string;
|
|
339
249
|
railColor: string;
|
|
340
250
|
}, any>> | undefined;
|
|
341
251
|
Empty?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
252
|
+
fontSizeTiny: string;
|
|
342
253
|
fontSizeSmall: string;
|
|
343
254
|
fontSizeMedium: string;
|
|
344
255
|
fontSizeLarge: string;
|
|
@@ -346,6 +257,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
346
257
|
textColor: string;
|
|
347
258
|
iconColor: string;
|
|
348
259
|
extraTextColor: string;
|
|
260
|
+
iconSizeTiny: string;
|
|
349
261
|
iconSizeSmall: string;
|
|
350
262
|
iconSizeMedium: string;
|
|
351
263
|
iconSizeLarge: string;
|
|
@@ -396,16 +308,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
396
308
|
renderPrefix: import("vue").Ref<((info: {
|
|
397
309
|
option: import("./interface").CascaderOption;
|
|
398
310
|
checked: boolean;
|
|
399
|
-
node: VNode
|
|
400
|
-
[key: string]: any;
|
|
401
|
-
}> | null;
|
|
311
|
+
node: VNode | null;
|
|
402
312
|
}) => import("vue").VNodeChild) | undefined>;
|
|
403
313
|
renderSuffix: import("vue").Ref<((info: {
|
|
404
314
|
option: import("./interface").CascaderOption;
|
|
405
315
|
checked: boolean;
|
|
406
|
-
node: VNode
|
|
407
|
-
[key: string]: any;
|
|
408
|
-
}> | null;
|
|
316
|
+
node: VNode | null;
|
|
409
317
|
}) => import("vue").VNodeChild) | undefined>;
|
|
410
318
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
411
319
|
tmNode: {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const vue_1 = require("vue");
|
|
4
4
|
const vooks_1 = require("vooks");
|
|
5
|
+
const seemly_1 = require("seemly");
|
|
5
6
|
const checkbox_1 = require("../../checkbox");
|
|
6
7
|
const _internal_1 = require("../../_internal");
|
|
7
8
|
const icons_1 = require("../../_internal/icons");
|
|
8
9
|
const interface_1 = require("./interface");
|
|
9
|
-
const seemly_1 = require("seemly");
|
|
10
10
|
exports.default = (0, vue_1.defineComponent)({
|
|
11
11
|
name: 'NCascaderOption',
|
|
12
12
|
props: {
|
|
@@ -16,9 +16,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(props) {
|
|
19
|
-
const { expandTriggerRef, remoteRef, multipleRef, mergedValueRef, checkedKeysRef, indeterminateKeysRef, hoverKeyPathRef, keyboardKeyRef, loadingKeySetRef, cascadeRef, mergedCheckStrategyRef, onLoadRef, mergedClsPrefixRef, mergedThemeRef, labelFieldRef, showCheckboxRef, renderPrefixRef, renderSuffixRef, updateHoverKey, updateKeyboardKey, addLoadingKey, deleteLoadingKey, closeMenu, doCheck, doUncheck, renderLabelRef
|
|
20
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
21
|
-
} = (0, vue_1.inject)(interface_1.cascaderInjectionKey);
|
|
19
|
+
const { expandTriggerRef, remoteRef, multipleRef, mergedValueRef, checkedKeysRef, indeterminateKeysRef, hoverKeyPathRef, keyboardKeyRef, loadingKeySetRef, cascadeRef, mergedCheckStrategyRef, onLoadRef, mergedClsPrefixRef, mergedThemeRef, labelFieldRef, showCheckboxRef, renderPrefixRef, renderSuffixRef, updateHoverKey, updateKeyboardKey, addLoadingKey, deleteLoadingKey, closeMenu, doCheck, doUncheck, renderLabelRef } = (0, vue_1.inject)(interface_1.cascaderInjectionKey);
|
|
22
20
|
const valueRef = (0, vue_1.computed)(() => props.tmNode.key);
|
|
23
21
|
const useHoverTriggerRef = (0, vue_1.computed)(() => {
|
|
24
22
|
const { value: expandTrigger } = expandTriggerRef;
|
|
@@ -171,8 +169,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
171
169
|
default: () => ((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: mergedClsPrefix, key: "arrow", class: `${mergedClsPrefix}-cascader-option-icon ${mergedClsPrefix}-cascader-option-icon--arrow` }, {
|
|
172
170
|
default: () => (0, vue_1.h)(icons_1.ChevronRightIcon, null)
|
|
173
171
|
}))
|
|
174
|
-
})) : this.checkStrategy === 'child'
|
|
175
|
-
!(this.multiple && this.cascade) ? ((0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition" }, {
|
|
172
|
+
})) : this.checkStrategy === 'child'
|
|
173
|
+
&& !(this.multiple && this.cascade) ? ((0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition" }, {
|
|
176
174
|
default: () => this.checked ? ((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-cascader-option-icon ${mergedClsPrefix}-cascader-option-icon--checkmark` }, { default: () => (0, vue_1.h)(icons_1.CheckmarkIcon, null) })) : null
|
|
177
175
|
})) : null));
|
|
178
176
|
suffixNode = ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader-option__suffix` }, renderSuffix
|
|
@@ -184,9 +182,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
184
182
|
: originalSuffixChild));
|
|
185
183
|
return ((0, vue_1.h)("div", { class: [
|
|
186
184
|
`${mergedClsPrefix}-cascader-option`,
|
|
187
|
-
this.keyboardPending
|
|
188
|
-
(this.hoverPending
|
|
189
|
-
`${mergedClsPrefix}-cascader-option--pending`),
|
|
185
|
+
this.keyboardPending
|
|
186
|
+
|| (this.hoverPending
|
|
187
|
+
&& `${mergedClsPrefix}-cascader-option--pending`),
|
|
190
188
|
this.disabled && `${mergedClsPrefix}-cascader-option--disabled`,
|
|
191
189
|
this.showCheckbox && `${mergedClsPrefix}-cascader-option--show-prefix`
|
|
192
190
|
], onMouseenter: this.mergedHandleMouseEnter, onMousemove: this.mergedHandleMouseMove, onClick: this.handleClick },
|