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
|
@@ -90,9 +90,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
90
90
|
name: 'TimePickerPanel',
|
|
91
91
|
props: timePickerPanelProps,
|
|
92
92
|
setup(props) {
|
|
93
|
-
const { mergedThemeRef, mergedClsPrefixRef
|
|
94
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
95
|
-
} = (0, vue_1.inject)(interface_1.timePickerInjectionKey);
|
|
93
|
+
const { mergedThemeRef, mergedClsPrefixRef } = (0, vue_1.inject)(interface_1.timePickerInjectionKey);
|
|
96
94
|
const hoursRef = (0, vue_1.computed)(() => {
|
|
97
95
|
const { isHourDisabled, hours, use12Hours, amPmValue } = props;
|
|
98
96
|
if (!use12Hours) {
|
|
@@ -194,10 +192,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
194
192
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-time-picker-cols` },
|
|
195
193
|
this.showHour ? ((0, vue_1.h)("div", { class: [
|
|
196
194
|
`${mergedClsPrefix}-time-picker-col`,
|
|
197
|
-
this.isHourInvalid
|
|
198
|
-
`${mergedClsPrefix}-time-picker-col--invalid`,
|
|
199
|
-
this.transitionDisabled
|
|
200
|
-
`${mergedClsPrefix}-time-picker-col--transition-disabled`
|
|
195
|
+
this.isHourInvalid
|
|
196
|
+
&& `${mergedClsPrefix}-time-picker-col--invalid`,
|
|
197
|
+
this.transitionDisabled
|
|
198
|
+
&& `${mergedClsPrefix}-time-picker-col--transition-disabled`
|
|
201
199
|
] },
|
|
202
200
|
(0, vue_1.h)(_internal_1.NScrollbar, { ref: "hourScrollRef", theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar }, {
|
|
203
201
|
default: () => [
|
|
@@ -207,10 +205,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
207
205
|
}))) : null,
|
|
208
206
|
this.showMinute ? ((0, vue_1.h)("div", { class: [
|
|
209
207
|
`${mergedClsPrefix}-time-picker-col`,
|
|
210
|
-
this.transitionDisabled
|
|
211
|
-
`${mergedClsPrefix}-time-picker-col--transition-disabled`,
|
|
212
|
-
this.isMinuteInvalid
|
|
213
|
-
`${mergedClsPrefix}-time-picker-col--invalid`
|
|
208
|
+
this.transitionDisabled
|
|
209
|
+
&& `${mergedClsPrefix}-time-picker-col--transition-disabled`,
|
|
210
|
+
this.isMinuteInvalid
|
|
211
|
+
&& `${mergedClsPrefix}-time-picker-col--invalid`
|
|
214
212
|
] },
|
|
215
213
|
(0, vue_1.h)(_internal_1.NScrollbar, { ref: "minuteScrollRef", theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar }, {
|
|
216
214
|
default: () => [
|
|
@@ -220,10 +218,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
220
218
|
}))) : null,
|
|
221
219
|
this.showSecond ? ((0, vue_1.h)("div", { class: [
|
|
222
220
|
`${mergedClsPrefix}-time-picker-col`,
|
|
223
|
-
this.isSecondInvalid
|
|
224
|
-
`${mergedClsPrefix}-time-picker-col--invalid`,
|
|
225
|
-
this.transitionDisabled
|
|
226
|
-
`${mergedClsPrefix}-time-picker-col--transition-disabled`
|
|
221
|
+
this.isSecondInvalid
|
|
222
|
+
&& `${mergedClsPrefix}-time-picker-col--invalid`,
|
|
223
|
+
this.transitionDisabled
|
|
224
|
+
&& `${mergedClsPrefix}-time-picker-col--transition-disabled`
|
|
227
225
|
] },
|
|
228
226
|
(0, vue_1.h)(_internal_1.NScrollbar, { ref: "secondScrollRef", theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar }, {
|
|
229
227
|
default: () => [
|
|
@@ -233,10 +231,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
233
231
|
}))) : null,
|
|
234
232
|
this.use12Hours ? ((0, vue_1.h)("div", { class: [
|
|
235
233
|
`${mergedClsPrefix}-time-picker-col`,
|
|
236
|
-
this.isAmPmInvalid
|
|
237
|
-
`${mergedClsPrefix}-time-picker-col--invalid`,
|
|
238
|
-
this.transitionDisabled
|
|
239
|
-
`${mergedClsPrefix}-time-picker-col--transition-disabled`
|
|
234
|
+
this.isAmPmInvalid
|
|
235
|
+
&& `${mergedClsPrefix}-time-picker-col--invalid`,
|
|
236
|
+
this.transitionDisabled
|
|
237
|
+
&& `${mergedClsPrefix}-time-picker-col--transition-disabled`
|
|
240
238
|
] },
|
|
241
239
|
(0, vue_1.h)(_internal_1.NScrollbar, { ref: "amPmScrollRef", theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar }, {
|
|
242
240
|
default: () => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import type { Item } from './interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
clsPrefix: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -10,10 +10,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
12
|
activeValue: {
|
|
13
|
-
type: PropType<number | "am" | "pm"
|
|
13
|
+
type: PropType<number | null | "am" | "pm">;
|
|
14
14
|
default: null;
|
|
15
15
|
};
|
|
16
|
-
onItemClick: PropType<(value: number |
|
|
16
|
+
onItemClick: PropType<(value: number | "am" | "pm") => void>;
|
|
17
17
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
clsPrefix: {
|
|
19
19
|
type: StringConstructor;
|
|
@@ -24,10 +24,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
activeValue: {
|
|
27
|
-
type: PropType<number | "am" | "pm"
|
|
27
|
+
type: PropType<number | null | "am" | "pm">;
|
|
28
28
|
default: null;
|
|
29
29
|
};
|
|
30
|
-
onItemClick: PropType<(value: number |
|
|
30
|
+
onItemClick: PropType<(value: number | "am" | "pm") => void>;
|
|
31
31
|
}>>, {
|
|
32
32
|
activeValue: number | "am" | "pm" | null;
|
|
33
33
|
}, {}>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import { type FollowerPlacement } from 'vueuc';
|
|
3
3
|
import type { FormValidationStatus } from '../../form/src/interface';
|
|
4
|
-
import type {
|
|
4
|
+
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
5
5
|
import type { IsHourDisabled, IsMinuteDisabled, IsSecondDisabled, ItemValue, OnUpdateFormattedValue, OnUpdateValue, Size } from './interface';
|
|
6
6
|
export declare const timePickerProps: {
|
|
7
7
|
to: {
|
|
8
|
-
type: PropType<
|
|
8
|
+
type: PropType<HTMLElement | string | boolean>;
|
|
9
9
|
default: undefined;
|
|
10
10
|
};
|
|
11
11
|
bordered: {
|
|
12
12
|
type: PropType<boolean | undefined>;
|
|
13
13
|
default: undefined;
|
|
14
14
|
};
|
|
15
|
-
actions: PropType<
|
|
15
|
+
actions: PropType<Array<"clear" | "now" | "confirm"> | null>;
|
|
16
16
|
defaultValue: {
|
|
17
17
|
type: PropType<number | null>;
|
|
18
18
|
default: null;
|
|
@@ -101,8 +101,10 @@ export declare const timePickerProps: {
|
|
|
101
101
|
borderRadius: string;
|
|
102
102
|
color: string;
|
|
103
103
|
colorHover: string;
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
railInsetHorizontalBottom: string;
|
|
105
|
+
railInsetHorizontalTop: string;
|
|
106
|
+
railInsetVerticalRight: string;
|
|
107
|
+
railInsetVerticalLeft: string;
|
|
106
108
|
railColor: string;
|
|
107
109
|
}, any>;
|
|
108
110
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -394,8 +396,10 @@ export declare const timePickerProps: {
|
|
|
394
396
|
borderRadius: string;
|
|
395
397
|
color: string;
|
|
396
398
|
colorHover: string;
|
|
397
|
-
|
|
398
|
-
|
|
399
|
+
railInsetHorizontalBottom: string;
|
|
400
|
+
railInsetHorizontalTop: string;
|
|
401
|
+
railInsetVerticalRight: string;
|
|
402
|
+
railInsetVerticalLeft: string;
|
|
399
403
|
railColor: string;
|
|
400
404
|
}, any>;
|
|
401
405
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -687,8 +691,10 @@ export declare const timePickerProps: {
|
|
|
687
691
|
borderRadius: string;
|
|
688
692
|
color: string;
|
|
689
693
|
colorHover: string;
|
|
690
|
-
|
|
691
|
-
|
|
694
|
+
railInsetHorizontalBottom: string;
|
|
695
|
+
railInsetHorizontalTop: string;
|
|
696
|
+
railInsetVerticalRight: string;
|
|
697
|
+
railInsetVerticalLeft: string;
|
|
692
698
|
railColor: string;
|
|
693
699
|
}, any>;
|
|
694
700
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -961,14 +967,14 @@ export declare const timePickerProps: {
|
|
|
961
967
|
export type TimePickerProps = ExtractPublicPropTypes<typeof timePickerProps>;
|
|
962
968
|
declare const _default: import("vue").DefineComponent<{
|
|
963
969
|
to: {
|
|
964
|
-
type: PropType<
|
|
970
|
+
type: PropType<HTMLElement | string | boolean>;
|
|
965
971
|
default: undefined;
|
|
966
972
|
};
|
|
967
973
|
bordered: {
|
|
968
974
|
type: PropType<boolean | undefined>;
|
|
969
975
|
default: undefined;
|
|
970
976
|
};
|
|
971
|
-
actions: PropType<
|
|
977
|
+
actions: PropType<Array<"clear" | "now" | "confirm"> | null>;
|
|
972
978
|
defaultValue: {
|
|
973
979
|
type: PropType<number | null>;
|
|
974
980
|
default: null;
|
|
@@ -1000,7 +1006,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1000
1006
|
onUpdateFormattedValue: PropType<MaybeArray<OnUpdateFormattedValue>>;
|
|
1001
1007
|
'onUpdate:formattedValue': PropType<MaybeArray<OnUpdateFormattedValue>>;
|
|
1002
1008
|
onBlur: PropType<MaybeArray<(e: FocusEvent) => void>>;
|
|
1003
|
-
onConfirm: PropType<MaybeArray<(value:
|
|
1009
|
+
onConfirm: PropType<MaybeArray<(value: number & null, formattedValue: string & null) => void>>;
|
|
1004
1010
|
onClear: PropType<() => void>;
|
|
1005
1011
|
onFocus: PropType<MaybeArray<(e: FocusEvent) => void>>;
|
|
1006
1012
|
timeZone: StringConstructor;
|
|
@@ -1057,8 +1063,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1057
1063
|
borderRadius: string;
|
|
1058
1064
|
color: string;
|
|
1059
1065
|
colorHover: string;
|
|
1060
|
-
|
|
1061
|
-
|
|
1066
|
+
railInsetHorizontalBottom: string;
|
|
1067
|
+
railInsetHorizontalTop: string;
|
|
1068
|
+
railInsetVerticalRight: string;
|
|
1069
|
+
railInsetVerticalLeft: string;
|
|
1062
1070
|
railColor: string;
|
|
1063
1071
|
}, any>;
|
|
1064
1072
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -1350,8 +1358,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1350
1358
|
borderRadius: string;
|
|
1351
1359
|
color: string;
|
|
1352
1360
|
colorHover: string;
|
|
1353
|
-
|
|
1354
|
-
|
|
1361
|
+
railInsetHorizontalBottom: string;
|
|
1362
|
+
railInsetHorizontalTop: string;
|
|
1363
|
+
railInsetVerticalRight: string;
|
|
1364
|
+
railInsetVerticalLeft: string;
|
|
1355
1365
|
railColor: string;
|
|
1356
1366
|
}, any>;
|
|
1357
1367
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -1643,8 +1653,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1643
1653
|
borderRadius: string;
|
|
1644
1654
|
color: string;
|
|
1645
1655
|
colorHover: string;
|
|
1646
|
-
|
|
1647
|
-
|
|
1656
|
+
railInsetHorizontalBottom: string;
|
|
1657
|
+
railInsetHorizontalTop: string;
|
|
1658
|
+
railInsetVerticalRight: string;
|
|
1659
|
+
railInsetVerticalLeft: string;
|
|
1648
1660
|
railColor: string;
|
|
1649
1661
|
}, any>;
|
|
1650
1662
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -2030,111 +2042,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2030
2042
|
handleMenuKeydown: (e: KeyboardEvent) => void;
|
|
2031
2043
|
handleTriggerClick: (e: MouseEvent) => void;
|
|
2032
2044
|
mergedTheme: import("vue").ComputedRef<{
|
|
2033
|
-
common:
|
|
2034
|
-
baseColor: string;
|
|
2035
|
-
primaryColor: string;
|
|
2036
|
-
primaryColorHover: string;
|
|
2037
|
-
primaryColorPressed: string;
|
|
2038
|
-
primaryColorSuppl: string;
|
|
2039
|
-
infoColor: string;
|
|
2040
|
-
infoColorHover: string;
|
|
2041
|
-
infoColorPressed: string;
|
|
2042
|
-
infoColorSuppl: string;
|
|
2043
|
-
successColor: string;
|
|
2044
|
-
successColorHover: string;
|
|
2045
|
-
successColorPressed: string;
|
|
2046
|
-
successColorSuppl: string;
|
|
2047
|
-
warningColor: string;
|
|
2048
|
-
warningColorHover: string;
|
|
2049
|
-
warningColorPressed: string;
|
|
2050
|
-
warningColorSuppl: string;
|
|
2051
|
-
errorColor: string;
|
|
2052
|
-
errorColorHover: string;
|
|
2053
|
-
errorColorPressed: string;
|
|
2054
|
-
errorColorSuppl: string;
|
|
2055
|
-
textColorBase: string;
|
|
2056
|
-
textColor1: string;
|
|
2057
|
-
textColor2: string;
|
|
2058
|
-
textColor3: string;
|
|
2059
|
-
textColorDisabled: string;
|
|
2060
|
-
placeholderColor: string;
|
|
2061
|
-
placeholderColorDisabled: string;
|
|
2062
|
-
iconColor: string;
|
|
2063
|
-
iconColorHover: string;
|
|
2064
|
-
iconColorPressed: string;
|
|
2065
|
-
iconColorDisabled: string;
|
|
2066
|
-
opacity1: string;
|
|
2067
|
-
opacity2: string;
|
|
2068
|
-
opacity3: string;
|
|
2069
|
-
opacity4: string;
|
|
2070
|
-
opacity5: string;
|
|
2071
|
-
dividerColor: string;
|
|
2072
|
-
borderColor: string;
|
|
2073
|
-
closeIconColor: string;
|
|
2074
|
-
closeIconColorHover: string;
|
|
2075
|
-
closeIconColorPressed: string;
|
|
2076
|
-
closeColorHover: string;
|
|
2077
|
-
closeColorPressed: string;
|
|
2078
|
-
clearColor: string;
|
|
2079
|
-
clearColorHover: string;
|
|
2080
|
-
clearColorPressed: string;
|
|
2081
|
-
scrollbarColor: string;
|
|
2082
|
-
scrollbarColorHover: string;
|
|
2083
|
-
scrollbarWidth: string;
|
|
2084
|
-
scrollbarHeight: string;
|
|
2085
|
-
scrollbarBorderRadius: string;
|
|
2086
|
-
progressRailColor: string;
|
|
2087
|
-
railColor: string;
|
|
2088
|
-
popoverColor: string;
|
|
2089
|
-
tableColor: string;
|
|
2090
|
-
cardColor: string;
|
|
2091
|
-
modalColor: string;
|
|
2092
|
-
bodyColor: string;
|
|
2093
|
-
tagColor: string;
|
|
2094
|
-
avatarColor: string;
|
|
2095
|
-
invertedColor: string;
|
|
2096
|
-
inputColor: string;
|
|
2097
|
-
codeColor: string;
|
|
2098
|
-
tabColor: string;
|
|
2099
|
-
actionColor: string;
|
|
2100
|
-
tableHeaderColor: string;
|
|
2101
|
-
hoverColor: string;
|
|
2102
|
-
tableColorHover: string;
|
|
2103
|
-
tableColorStriped: string;
|
|
2104
|
-
pressedColor: string;
|
|
2105
|
-
opacityDisabled: string;
|
|
2106
|
-
inputColorDisabled: string;
|
|
2107
|
-
buttonColor2: string;
|
|
2108
|
-
buttonColor2Hover: string;
|
|
2109
|
-
buttonColor2Pressed: string;
|
|
2110
|
-
boxShadow1: string;
|
|
2111
|
-
boxShadow2: string;
|
|
2112
|
-
boxShadow3: string;
|
|
2113
|
-
fontFamily: string;
|
|
2114
|
-
fontFamilyMono: string;
|
|
2115
|
-
fontWeight: string;
|
|
2116
|
-
fontWeightStrong: string;
|
|
2117
|
-
cubicBezierEaseInOut: string;
|
|
2118
|
-
cubicBezierEaseOut: string;
|
|
2119
|
-
cubicBezierEaseIn: string;
|
|
2120
|
-
borderRadius: string;
|
|
2121
|
-
borderRadiusSmall: string;
|
|
2122
|
-
fontSize: string;
|
|
2123
|
-
fontSizeMini: string;
|
|
2124
|
-
fontSizeTiny: string;
|
|
2125
|
-
fontSizeSmall: string;
|
|
2126
|
-
fontSizeMedium: string;
|
|
2127
|
-
fontSizeLarge: string;
|
|
2128
|
-
fontSizeHuge: string;
|
|
2129
|
-
lineHeight: string;
|
|
2130
|
-
heightMini: string;
|
|
2131
|
-
heightTiny: string;
|
|
2132
|
-
heightSmall: string;
|
|
2133
|
-
heightMedium: string;
|
|
2134
|
-
heightLarge: string;
|
|
2135
|
-
heightHuge: string;
|
|
2136
|
-
name: "common";
|
|
2137
|
-
};
|
|
2045
|
+
common: import("../..").ThemeCommonVars;
|
|
2138
2046
|
self: {
|
|
2139
2047
|
panelColor: string;
|
|
2140
2048
|
panelBoxShadow: string;
|
|
@@ -2159,8 +2067,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2159
2067
|
borderRadius: string;
|
|
2160
2068
|
color: string;
|
|
2161
2069
|
colorHover: string;
|
|
2162
|
-
|
|
2163
|
-
|
|
2070
|
+
railInsetHorizontalBottom: string;
|
|
2071
|
+
railInsetHorizontalTop: string;
|
|
2072
|
+
railInsetVerticalRight: string;
|
|
2073
|
+
railInsetVerticalLeft: string;
|
|
2164
2074
|
railColor: string;
|
|
2165
2075
|
}, any>;
|
|
2166
2076
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -2475,14 +2385,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2475
2385
|
clearSelectedValue: () => void;
|
|
2476
2386
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2477
2387
|
to: {
|
|
2478
|
-
type: PropType<
|
|
2388
|
+
type: PropType<HTMLElement | string | boolean>;
|
|
2479
2389
|
default: undefined;
|
|
2480
2390
|
};
|
|
2481
2391
|
bordered: {
|
|
2482
2392
|
type: PropType<boolean | undefined>;
|
|
2483
2393
|
default: undefined;
|
|
2484
2394
|
};
|
|
2485
|
-
actions: PropType<
|
|
2395
|
+
actions: PropType<Array<"clear" | "now" | "confirm"> | null>;
|
|
2486
2396
|
defaultValue: {
|
|
2487
2397
|
type: PropType<number | null>;
|
|
2488
2398
|
default: null;
|
|
@@ -2514,7 +2424,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2514
2424
|
onUpdateFormattedValue: PropType<MaybeArray<OnUpdateFormattedValue>>;
|
|
2515
2425
|
'onUpdate:formattedValue': PropType<MaybeArray<OnUpdateFormattedValue>>;
|
|
2516
2426
|
onBlur: PropType<MaybeArray<(e: FocusEvent) => void>>;
|
|
2517
|
-
onConfirm: PropType<MaybeArray<(value:
|
|
2427
|
+
onConfirm: PropType<MaybeArray<(value: number & null, formattedValue: string & null) => void>>;
|
|
2518
2428
|
onClear: PropType<() => void>;
|
|
2519
2429
|
onFocus: PropType<MaybeArray<(e: FocusEvent) => void>>;
|
|
2520
2430
|
timeZone: StringConstructor;
|
|
@@ -2571,8 +2481,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2571
2481
|
borderRadius: string;
|
|
2572
2482
|
color: string;
|
|
2573
2483
|
colorHover: string;
|
|
2574
|
-
|
|
2575
|
-
|
|
2484
|
+
railInsetHorizontalBottom: string;
|
|
2485
|
+
railInsetHorizontalTop: string;
|
|
2486
|
+
railInsetVerticalRight: string;
|
|
2487
|
+
railInsetVerticalLeft: string;
|
|
2576
2488
|
railColor: string;
|
|
2577
2489
|
}, any>;
|
|
2578
2490
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -2864,8 +2776,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2864
2776
|
borderRadius: string;
|
|
2865
2777
|
color: string;
|
|
2866
2778
|
colorHover: string;
|
|
2867
|
-
|
|
2868
|
-
|
|
2779
|
+
railInsetHorizontalBottom: string;
|
|
2780
|
+
railInsetHorizontalTop: string;
|
|
2781
|
+
railInsetVerticalRight: string;
|
|
2782
|
+
railInsetVerticalLeft: string;
|
|
2869
2783
|
railColor: string;
|
|
2870
2784
|
}, any>;
|
|
2871
2785
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -3157,8 +3071,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3157
3071
|
borderRadius: string;
|
|
3158
3072
|
color: string;
|
|
3159
3073
|
colorHover: string;
|
|
3160
|
-
|
|
3161
|
-
|
|
3074
|
+
railInsetHorizontalBottom: string;
|
|
3075
|
+
railInsetHorizontalTop: string;
|
|
3076
|
+
railInsetVerticalRight: string;
|
|
3077
|
+
railInsetVerticalLeft: string;
|
|
3162
3078
|
railColor: string;
|
|
3163
3079
|
}, any>;
|
|
3164
3080
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -9,8 +9,8 @@ const vooks_1 = require("vooks");
|
|
|
9
9
|
const vueuc_1 = require("vueuc");
|
|
10
10
|
const vdirs_1 = require("vdirs");
|
|
11
11
|
const seemly_1 = require("seemly");
|
|
12
|
-
const date_fns_1 = require("date-fns");
|
|
13
|
-
const
|
|
12
|
+
const date_fns_1 = require("date-fns");
|
|
13
|
+
const date_fns_tz_1 = require("date-fns-tz");
|
|
14
14
|
const utils_1 = require("../../date-picker/src/utils");
|
|
15
15
|
const icons_1 = require("../../_internal/icons");
|
|
16
16
|
const input_1 = require("../../input");
|
|
@@ -28,7 +28,7 @@ function validateUnits(value, max) {
|
|
|
28
28
|
return true;
|
|
29
29
|
}
|
|
30
30
|
if (Array.isArray(value)) {
|
|
31
|
-
return value.every(
|
|
31
|
+
return value.every(v => v >= 0 && v <= max);
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
34
|
return value >= 0 && value <= max;
|
|
@@ -122,7 +122,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
122
122
|
const { timeZone } = props;
|
|
123
123
|
if (timeZone) {
|
|
124
124
|
return (date, format, options) => {
|
|
125
|
-
return (0,
|
|
125
|
+
return (0, date_fns_tz_1.formatInTimeZone)(date, timeZone, format, options);
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
else {
|
|
@@ -134,8 +134,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
134
134
|
const displayTimeStringRef = (0, vue_1.ref)('');
|
|
135
135
|
(0, vue_1.watch)(() => props.timeZone, () => {
|
|
136
136
|
const mergedValue = mergedValueRef.value;
|
|
137
|
-
displayTimeStringRef.value
|
|
138
|
-
mergedValue === null
|
|
137
|
+
displayTimeStringRef.value
|
|
138
|
+
= mergedValue === null
|
|
139
139
|
? ''
|
|
140
140
|
: mergedFormatRef.value(mergedValue, props.format, dateFnsOptionsRef.value);
|
|
141
141
|
}, {
|
|
@@ -172,6 +172,24 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
172
172
|
const secondInFormatRef = (0, vue_1.computed)(() => {
|
|
173
173
|
return props.format.includes('s');
|
|
174
174
|
});
|
|
175
|
+
const hourValueRef = (0, vue_1.computed)(() => {
|
|
176
|
+
const { value } = mergedValueRef;
|
|
177
|
+
if (value === null)
|
|
178
|
+
return null;
|
|
179
|
+
return Number(mergedFormatRef.value(value, 'HH', dateFnsOptionsRef.value));
|
|
180
|
+
});
|
|
181
|
+
const minuteValueRef = (0, vue_1.computed)(() => {
|
|
182
|
+
const { value } = mergedValueRef;
|
|
183
|
+
if (value === null)
|
|
184
|
+
return null;
|
|
185
|
+
return Number(mergedFormatRef.value(value, 'mm', dateFnsOptionsRef.value));
|
|
186
|
+
});
|
|
187
|
+
const secondValueRef = (0, vue_1.computed)(() => {
|
|
188
|
+
const { value } = mergedValueRef;
|
|
189
|
+
if (value === null)
|
|
190
|
+
return null;
|
|
191
|
+
return Number(mergedFormatRef.value(value, 'ss', dateFnsOptionsRef.value));
|
|
192
|
+
});
|
|
175
193
|
const isHourInvalidRef = (0, vue_1.computed)(() => {
|
|
176
194
|
const { isHourDisabled } = props;
|
|
177
195
|
if (hourValueRef.value === null)
|
|
@@ -209,9 +227,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
209
227
|
return isSecondDisabled(secondValue, minuteValue, hourValue);
|
|
210
228
|
});
|
|
211
229
|
const isValueInvalidRef = (0, vue_1.computed)(() => {
|
|
212
|
-
return (isHourInvalidRef.value
|
|
213
|
-
isMinuteInvalidRef.value
|
|
214
|
-
isSecondInvalidRef.value);
|
|
230
|
+
return (isHourInvalidRef.value
|
|
231
|
+
|| isMinuteInvalidRef.value
|
|
232
|
+
|| isSecondInvalidRef.value);
|
|
215
233
|
});
|
|
216
234
|
const mergedAttrSizeRef = (0, vue_1.computed)(() => {
|
|
217
235
|
return props.format.length + 4;
|
|
@@ -222,24 +240,6 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
222
240
|
return null;
|
|
223
241
|
return (0, date_fns_1.getHours)(value) < 12 ? 'am' : 'pm';
|
|
224
242
|
});
|
|
225
|
-
const hourValueRef = (0, vue_1.computed)(() => {
|
|
226
|
-
const { value } = mergedValueRef;
|
|
227
|
-
if (value === null)
|
|
228
|
-
return null;
|
|
229
|
-
return Number(mergedFormatRef.value(value, 'HH', dateFnsOptionsRef.value));
|
|
230
|
-
});
|
|
231
|
-
const minuteValueRef = (0, vue_1.computed)(() => {
|
|
232
|
-
const { value } = mergedValueRef;
|
|
233
|
-
if (value === null)
|
|
234
|
-
return null;
|
|
235
|
-
return Number(mergedFormatRef.value(value, 'mm', dateFnsOptionsRef.value));
|
|
236
|
-
});
|
|
237
|
-
const secondValueRef = (0, vue_1.computed)(() => {
|
|
238
|
-
const { value } = mergedValueRef;
|
|
239
|
-
if (value === null)
|
|
240
|
-
return null;
|
|
241
|
-
return Number(mergedFormatRef.value(value, 'ss', dateFnsOptionsRef.value));
|
|
242
|
-
});
|
|
243
243
|
function doUpdateFormattedValue(value, timestampValue) {
|
|
244
244
|
const { onUpdateFormattedValue, 'onUpdate:formattedValue': _onUpdateFormattedValue } = props;
|
|
245
245
|
if (onUpdateFormattedValue) {
|
|
@@ -407,8 +407,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
407
407
|
function deriveInputValue(time) {
|
|
408
408
|
if (time === undefined)
|
|
409
409
|
time = mergedValueRef.value;
|
|
410
|
-
if (time === null)
|
|
410
|
+
if (time === null) {
|
|
411
411
|
displayTimeStringRef.value = '';
|
|
412
|
+
}
|
|
412
413
|
else {
|
|
413
414
|
displayTimeStringRef.value = mergedFormatRef.value(time, props.format, dateFnsOptionsRef.value);
|
|
414
415
|
}
|
|
@@ -478,8 +479,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
478
479
|
}
|
|
479
480
|
function isInternalFocusSwitch(e) {
|
|
480
481
|
var _a, _b, _c;
|
|
481
|
-
return !!(((_b = (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.wrapperElRef) === null || _b === void 0 ? void 0 : _b.contains(e.relatedTarget))
|
|
482
|
-
((_c = panelInstRef.value) === null || _c === void 0 ? void 0 : _c.$el.contains(e.relatedTarget)));
|
|
482
|
+
return !!(((_b = (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.wrapperElRef) === null || _b === void 0 ? void 0 : _b.contains(e.relatedTarget))
|
|
483
|
+
|| ((_c = panelInstRef.value) === null || _c === void 0 ? void 0 : _c.$el.contains(e.relatedTarget)));
|
|
483
484
|
}
|
|
484
485
|
function openPanel() {
|
|
485
486
|
memorizedValueRef.value = mergedValueRef.value;
|
|
@@ -488,8 +489,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
488
489
|
}
|
|
489
490
|
function handleClickOutside(e) {
|
|
490
491
|
var _a, _b;
|
|
491
|
-
if (mergedShowRef.value
|
|
492
|
-
!((_b = (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.wrapperElRef) === null || _b === void 0 ? void 0 : _b.contains((0, seemly_1.getPreciseEventTarget)(e)))) {
|
|
492
|
+
if (mergedShowRef.value
|
|
493
|
+
&& !((_b = (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.wrapperElRef) === null || _b === void 0 ? void 0 : _b.contains((0, seemly_1.getPreciseEventTarget)(e)))) {
|
|
493
494
|
closePanel({
|
|
494
495
|
returnFocus: false
|
|
495
496
|
});
|
|
@@ -538,7 +539,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
538
539
|
minutes: date_fns_1.getMinutes,
|
|
539
540
|
seconds: date_fns_1.getSeconds
|
|
540
541
|
};
|
|
541
|
-
const [mergeHours, mergeMinutes, mergeSeconds] = ['hours', 'minutes', 'seconds'].map(
|
|
542
|
+
const [mergeHours, mergeMinutes, mergeSeconds] = ['hours', 'minutes', 'seconds'].map(i => !props[i] || (0, utils_2.isTimeInStep)(getNowTime[i](now), i, props[i])
|
|
542
543
|
? getNowTime[i](now)
|
|
543
544
|
: (0, utils_2.findSimilarTime)(getNowTime[i](now), i, props[i]));
|
|
544
545
|
const newValue = (0, date_fns_1.setSeconds)((0, date_fns_1.setMinutes)((0, date_fns_1.setHours)(mergedValueRef.value ? mergedValueRef.value : (0, date_fns_1.getTime)(now), mergeHours), mergeMinutes), mergeSeconds);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { ScrollbarInst } from '../../_internal';
|
|
3
3
|
import type { MergedTheme } from '../../_mixins';
|
|
4
4
|
import type { TimePickerTheme } from '../styles';
|
|
5
5
|
export type ItemValue = number | 'am' | 'pm';
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
3
|
+
exports.time = void 0;
|
|
4
|
+
exports.getFixValue = getFixValue;
|
|
5
|
+
exports.getTimeUnits = getTimeUnits;
|
|
6
|
+
exports.isTimeInStep = isTimeInStep;
|
|
7
|
+
exports.findSimilarTime = findSimilarTime;
|
|
8
|
+
exports.getAmPm = getAmPm;
|
|
9
|
+
const date_fns_1 = require("date-fns");
|
|
5
10
|
const _utils_1 = require("../../_utils");
|
|
6
11
|
exports.time = {
|
|
7
12
|
amHours: [
|
|
@@ -187,15 +192,16 @@ exports.time = {
|
|
|
187
192
|
function getFixValue(value) {
|
|
188
193
|
return `00${value}`.slice(-2);
|
|
189
194
|
}
|
|
190
|
-
exports.getFixValue = getFixValue;
|
|
191
195
|
// TODO: refactor the logic, it's somehow a patch logic
|
|
192
196
|
function getTimeUnits(defaultValue, stepOrList, isHourWithAmPm) {
|
|
193
197
|
if (Array.isArray(stepOrList)) {
|
|
194
198
|
return (isHourWithAmPm === 'am'
|
|
195
|
-
? stepOrList.filter(
|
|
199
|
+
? stepOrList.filter(v => v < 12)
|
|
196
200
|
: isHourWithAmPm === 'pm'
|
|
197
|
-
? stepOrList
|
|
198
|
-
|
|
201
|
+
? stepOrList
|
|
202
|
+
.filter(v => v >= 12)
|
|
203
|
+
.map(v => (v === 12 ? 12 : v - 12))
|
|
204
|
+
: stepOrList).map(v => getFixValue(v));
|
|
199
205
|
}
|
|
200
206
|
else if (typeof stepOrList === 'number') {
|
|
201
207
|
if (isHourWithAmPm === 'am') {
|
|
@@ -221,16 +227,15 @@ function getTimeUnits(defaultValue, stepOrList, isHourWithAmPm) {
|
|
|
221
227
|
}
|
|
222
228
|
else {
|
|
223
229
|
return isHourWithAmPm === 'am'
|
|
224
|
-
? defaultValue.filter(
|
|
230
|
+
? defaultValue.filter(hour => Number(hour) < 12)
|
|
225
231
|
: isHourWithAmPm === 'pm'
|
|
226
232
|
? defaultValue
|
|
227
|
-
.map(
|
|
228
|
-
.filter(
|
|
229
|
-
.map(
|
|
233
|
+
.map(hour => Number(hour))
|
|
234
|
+
.filter(hour => Number(hour) >= 12)
|
|
235
|
+
.map(v => getFixValue(v === 12 ? 12 : v - 12))
|
|
230
236
|
: defaultValue;
|
|
231
237
|
}
|
|
232
238
|
}
|
|
233
|
-
exports.getTimeUnits = getTimeUnits;
|
|
234
239
|
function isTimeInStep(value, type, stepOrList) {
|
|
235
240
|
if (!stepOrList) {
|
|
236
241
|
return true;
|
|
@@ -242,14 +247,14 @@ function isTimeInStep(value, type, stepOrList) {
|
|
|
242
247
|
return stepOrList.includes(value);
|
|
243
248
|
}
|
|
244
249
|
}
|
|
245
|
-
exports.isTimeInStep = isTimeInStep;
|
|
246
250
|
function findSimilarTime(value, type, stepOrList) {
|
|
247
251
|
const list = getTimeUnits(exports.time[type], stepOrList).map(Number);
|
|
248
252
|
let lowerBound, upperBound;
|
|
249
253
|
for (let i = 0; i < list.length; ++i) {
|
|
250
254
|
const v = list[i];
|
|
251
|
-
if (v === value)
|
|
255
|
+
if (v === value) {
|
|
252
256
|
return v;
|
|
257
|
+
}
|
|
253
258
|
else if (v > value) {
|
|
254
259
|
upperBound = v;
|
|
255
260
|
break;
|
|
@@ -258,7 +263,7 @@ function findSimilarTime(value, type, stepOrList) {
|
|
|
258
263
|
}
|
|
259
264
|
if (lowerBound === undefined) {
|
|
260
265
|
if (!upperBound) {
|
|
261
|
-
(0, _utils_1.throwError)('time-picker',
|
|
266
|
+
(0, _utils_1.throwError)('time-picker', 'Please set \'hours\' or \'minutes\' or \'seconds\' props');
|
|
262
267
|
}
|
|
263
268
|
return upperBound;
|
|
264
269
|
}
|
|
@@ -267,8 +272,6 @@ function findSimilarTime(value, type, stepOrList) {
|
|
|
267
272
|
}
|
|
268
273
|
return upperBound - value > value - lowerBound ? lowerBound : upperBound;
|
|
269
274
|
}
|
|
270
|
-
exports.findSimilarTime = findSimilarTime;
|
|
271
275
|
function getAmPm(value) {
|
|
272
276
|
return (0, date_fns_1.getHours)(value) < 12 ? 'am' : 'pm';
|
|
273
277
|
}
|
|
274
|
-
exports.getAmPm = getAmPm;
|