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
|
@@ -3,11 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.datePickerProps = void 0;
|
|
7
6
|
const vue_1 = require("vue");
|
|
8
7
|
const vueuc_1 = require("vueuc");
|
|
9
8
|
const vdirs_1 = require("vdirs");
|
|
10
|
-
const date_fns_1 = require("date-fns");
|
|
9
|
+
const date_fns_1 = require("date-fns");
|
|
11
10
|
const vooks_1 = require("vooks");
|
|
12
11
|
const seemly_1 = require("seemly");
|
|
13
12
|
const icons_1 = require("../../_internal/icons");
|
|
@@ -26,27 +25,10 @@ const daterange_1 = __importDefault(require("./panel/daterange"));
|
|
|
26
25
|
const month_1 = __importDefault(require("./panel/month"));
|
|
27
26
|
const monthrange_1 = __importDefault(require("./panel/monthrange"));
|
|
28
27
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
29
|
-
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: undefined
|
|
32
|
-
}, clearable: Boolean, updateValueOnClose: Boolean, defaultValue: [Number, Array], defaultFormattedValue: [String, Array], defaultTime: [Number, String, Array], disabled: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: undefined
|
|
35
|
-
}, placement: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: 'bottom-start'
|
|
38
|
-
}, value: [Number, Array], formattedValue: [String, Array], size: String, type: {
|
|
39
|
-
type: String,
|
|
40
|
-
default: 'date'
|
|
41
|
-
}, valueFormat: String, separator: String, placeholder: String, startPlaceholder: String, endPlaceholder: String, format: String, dateFormat: String, timerPickerFormat: String, actions: Array, shortcuts: Object, isDateDisabled: Function, isTimeDisabled: Function, show: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: undefined
|
|
44
|
-
}, panel: Boolean, ranges: Object, firstDayOfWeek: Number, inputReadonly: Boolean, closeOnSelect: Boolean, status: String, timePickerProps: [Object, Array], onClear: Function, onConfirm: Function, defaultCalendarStartTime: Number, defaultCalendarEndTime: Number, bindCalendarMonths: Boolean, monthFormat: { type: String, default: 'M' }, yearFormat: { type: String, default: 'y' }, quarterFormat: { type: String, default: "'Q'Q" }, 'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], 'onUpdate:formattedValue': [Function, Array], onUpdateFormattedValue: [Function, Array], 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onFocus: [Function, Array], onBlur: [Function, Array], onNextMonth: Function, onPrevMonth: Function, onNextYear: Function, onPrevYear: Function,
|
|
45
|
-
// deprecated
|
|
46
|
-
onChange: [Function, Array] });
|
|
28
|
+
const props_1 = require("./props");
|
|
47
29
|
exports.default = (0, vue_1.defineComponent)({
|
|
48
30
|
name: 'DatePicker',
|
|
49
|
-
props:
|
|
31
|
+
props: props_1.datePickerProps,
|
|
50
32
|
setup(props, { slots }) {
|
|
51
33
|
var _a;
|
|
52
34
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -68,7 +50,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
68
50
|
const mergedShowRef = (0, vooks_1.useMergedState)(controlledShowRef, uncontrolledShowRef);
|
|
69
51
|
const dateFnsOptionsRef = (0, vue_1.computed)(() => {
|
|
70
52
|
return {
|
|
71
|
-
locale: dateLocaleRef.value.locale
|
|
53
|
+
locale: dateLocaleRef.value.locale,
|
|
54
|
+
useAdditionalWeekYearTokens: true
|
|
72
55
|
};
|
|
73
56
|
});
|
|
74
57
|
const mergedFormatRef = (0, vue_1.computed)(() => {
|
|
@@ -249,7 +232,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
249
232
|
return result;
|
|
250
233
|
}
|
|
251
234
|
default: {
|
|
252
|
-
(0, _utils_1.warn)('date-picker',
|
|
235
|
+
(0, _utils_1.warn)('date-picker', 'The type is wrong, n-date-picker\'s type only supports `date`, `datetime`, `daterange` and `datetimerange`.');
|
|
253
236
|
break;
|
|
254
237
|
}
|
|
255
238
|
}
|
|
@@ -373,8 +356,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
373
356
|
}
|
|
374
357
|
function handleClickOutside(e) {
|
|
375
358
|
var _a;
|
|
376
|
-
if (mergedShowRef.value
|
|
377
|
-
!((_a = triggerElRef.value) === null || _a === void 0 ? void 0 : _a.contains((0, seemly_1.getPreciseEventTarget)(e)))) {
|
|
359
|
+
if (mergedShowRef.value
|
|
360
|
+
&& !((_a = triggerElRef.value) === null || _a === void 0 ? void 0 : _a.contains((0, seemly_1.getPreciseEventTarget)(e)))) {
|
|
378
361
|
closeCalendar({
|
|
379
362
|
returnFocus: false
|
|
380
363
|
});
|
|
@@ -535,9 +518,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
535
518
|
var _a;
|
|
536
519
|
if (mergedShowRef.value) {
|
|
537
520
|
doUpdateShow(false);
|
|
538
|
-
if (props.type !== 'date'
|
|
539
|
-
props.updateValueOnClose
|
|
540
|
-
!disableUpdateOnClose) {
|
|
521
|
+
if (props.type !== 'date'
|
|
522
|
+
&& props.updateValueOnClose
|
|
523
|
+
&& !disableUpdateOnClose) {
|
|
541
524
|
handlePanelConfirm();
|
|
542
525
|
}
|
|
543
526
|
if (returnFocus) {
|
|
@@ -566,7 +549,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
566
549
|
const dualValidation = (0, validation_utils_1.dualCalendarValidation)(props, pendingValueRef);
|
|
567
550
|
(0, vue_1.provide)(interface_1.datePickerInjectionKey, Object.assign(Object.assign(Object.assign({ mergedClsPrefixRef, mergedThemeRef: themeRef, timePickerSizeRef,
|
|
568
551
|
localeRef,
|
|
569
|
-
dateLocaleRef, firstDayOfWeekRef: (0, vue_1.toRef)(props, 'firstDayOfWeek'), isDateDisabledRef: (0, vue_1.toRef)(props, 'isDateDisabled'), rangesRef: (0, vue_1.toRef)(props, 'ranges'), timePickerPropsRef: (0, vue_1.toRef)(props, 'timePickerProps'), closeOnSelectRef: (0, vue_1.toRef)(props, 'closeOnSelect'), updateValueOnCloseRef: (0, vue_1.toRef)(props, 'updateValueOnClose'), monthFormatRef: (0, vue_1.toRef)(props, 'monthFormat'), yearFormatRef: (0, vue_1.toRef)(props, 'yearFormat'), quarterFormatRef: (0, vue_1.toRef)(props, 'quarterFormat') }, uniVaidation), dualValidation), { datePickerSlots: slots }));
|
|
552
|
+
dateLocaleRef, firstDayOfWeekRef: (0, vue_1.toRef)(props, 'firstDayOfWeek'), isDateDisabledRef: (0, vue_1.toRef)(props, 'isDateDisabled'), rangesRef: (0, vue_1.toRef)(props, 'ranges'), timePickerPropsRef: (0, vue_1.toRef)(props, 'timePickerProps'), closeOnSelectRef: (0, vue_1.toRef)(props, 'closeOnSelect'), updateValueOnCloseRef: (0, vue_1.toRef)(props, 'updateValueOnClose'), monthFormatRef: (0, vue_1.toRef)(props, 'monthFormat'), yearFormatRef: (0, vue_1.toRef)(props, 'yearFormat'), quarterFormatRef: (0, vue_1.toRef)(props, 'quarterFormat'), yearRangeRef: (0, vue_1.toRef)(props, 'yearRange') }, uniVaidation), dualValidation), { datePickerSlots: slots }));
|
|
570
553
|
const exposedMethods = {
|
|
571
554
|
focus: () => {
|
|
572
555
|
var _a;
|
|
@@ -686,6 +669,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
686
669
|
defaultTime: this.defaultTime,
|
|
687
670
|
themeClass: this.themeClass,
|
|
688
671
|
panel: this.panel,
|
|
672
|
+
inputReadonly: this.inputReadonly || this.mergedDisabled,
|
|
689
673
|
onRender: this.onRender,
|
|
690
674
|
onNextMonth: this.onNextMonth,
|
|
691
675
|
onPrevMonth: this.onPrevMonth,
|
|
@@ -695,9 +679,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
695
679
|
};
|
|
696
680
|
const renderPanel = () => {
|
|
697
681
|
const { type } = this;
|
|
698
|
-
return type === 'datetime' ? ((0, vue_1.h)(datetime_1.default, Object.assign({}, commonPanelProps, { defaultCalendarStartTime: this.defaultCalendarStartTime }), $slots)) : type === 'daterange' ? ((0, vue_1.h)(daterange_1.default, Object.assign({}, commonPanelProps, { defaultCalendarStartTime: this.defaultCalendarStartTime, defaultCalendarEndTime: this.defaultCalendarEndTime, bindCalendarMonths: this.bindCalendarMonths }), $slots)) : type === 'datetimerange' ? ((0, vue_1.h)(datetimerange_1.default, Object.assign({}, commonPanelProps, { defaultCalendarStartTime: this.defaultCalendarStartTime, defaultCalendarEndTime: this.defaultCalendarEndTime, bindCalendarMonths: this.bindCalendarMonths }), $slots)) : type === 'month' || type === 'year' || type === 'quarter' ? ((0, vue_1.h)(month_1.default, Object.assign({}, commonPanelProps, { type: type, key: type }))) : type === 'monthrange'
|
|
699
|
-
type === 'yearrange'
|
|
700
|
-
type === 'quarterrange' ? ((0, vue_1.h)(monthrange_1.default, Object.assign({}, commonPanelProps, { type: type }))) : ((0, vue_1.h)(date_1.default, Object.assign({}, commonPanelProps, { type: type, defaultCalendarStartTime: this.defaultCalendarStartTime }), $slots));
|
|
682
|
+
return type === 'datetime' ? ((0, vue_1.h)(datetime_1.default, Object.assign({}, commonPanelProps, { defaultCalendarStartTime: this.defaultCalendarStartTime }), $slots)) : type === 'daterange' ? ((0, vue_1.h)(daterange_1.default, Object.assign({}, commonPanelProps, { defaultCalendarStartTime: this.defaultCalendarStartTime, defaultCalendarEndTime: this.defaultCalendarEndTime, bindCalendarMonths: this.bindCalendarMonths }), $slots)) : type === 'datetimerange' ? ((0, vue_1.h)(datetimerange_1.default, Object.assign({}, commonPanelProps, { defaultCalendarStartTime: this.defaultCalendarStartTime, defaultCalendarEndTime: this.defaultCalendarEndTime, bindCalendarMonths: this.bindCalendarMonths }), $slots)) : type === 'month' || type === 'year' || type === 'quarter' ? ((0, vue_1.h)(month_1.default, Object.assign({}, commonPanelProps, { type: type, key: type }))) : type === 'monthrange'
|
|
683
|
+
|| type === 'yearrange'
|
|
684
|
+
|| type === 'quarterrange' ? ((0, vue_1.h)(monthrange_1.default, Object.assign({}, commonPanelProps, { type: type }))) : ((0, vue_1.h)(date_1.default, Object.assign({}, commonPanelProps, { type: type, defaultCalendarStartTime: this.defaultCalendarStartTime }), $slots));
|
|
701
685
|
};
|
|
702
686
|
if (this.panel) {
|
|
703
687
|
return renderPanel();
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MONTH_ITEM_HEIGHT =
|
|
4
|
-
exports.START_YEAR = 1901;
|
|
3
|
+
exports.MONTH_ITEM_HEIGHT = void 0;
|
|
5
4
|
// TODO: we need to remove it to make height customizable
|
|
6
5
|
exports.MONTH_ITEM_HEIGHT = 40;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import type { Ref, Slots, UnwrapNestedRefs } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import type {
|
|
2
|
+
import type { VirtualListInst } from 'vueuc';
|
|
3
|
+
import type { NDateLocale, NLocale } from '../../locales';
|
|
4
4
|
import type { ScrollbarInst } from '../../_internal';
|
|
5
5
|
import type { IsHourDisabled, IsMinuteDisabled, IsSecondDisabled } from '../../time-picker/src/interface';
|
|
6
6
|
import type { TimePickerProps } from '../../time-picker/src/TimePicker';
|
|
7
7
|
import type { MergedTheme } from '../../_mixins';
|
|
8
8
|
import type { DatePickerTheme } from '../styles/light';
|
|
9
|
-
import type {
|
|
9
|
+
import type { ButtonProps } from '../../button';
|
|
10
|
+
import type { dualCalendarValidation, uniCalendarValidation } from './validation-utils';
|
|
10
11
|
export type Value = number | [number, number];
|
|
11
12
|
export type DefaultTime = string | [string | undefined, string | undefined];
|
|
12
13
|
export type FormattedValue = string | [string, string];
|
|
14
|
+
export type NowButtonProps = Pick<ButtonProps, 'size' | 'onClick'>;
|
|
15
|
+
export type ClearButtonProps = Pick<ButtonProps, 'size' | 'onClick'>;
|
|
16
|
+
export type ConfirmButtonProps = Pick<ButtonProps, 'size' | 'onClick' | 'type' | 'disabled'>;
|
|
13
17
|
export type Shortcuts = Record<string, number | (() => number)> | Record<string, [number, number] | readonly [number, number] | (() => [number, number] | readonly [number, number])>;
|
|
14
18
|
export type OnUpdateValue = (value: number & (number | null) & [
|
|
15
19
|
number,
|
|
@@ -68,6 +72,7 @@ export type DatePickerInjection = {
|
|
|
68
72
|
yearFormatRef: Ref<string>;
|
|
69
73
|
quarterFormatRef: Ref<string>;
|
|
70
74
|
datePickerSlots: Slots;
|
|
75
|
+
yearRangeRef: Ref<[number, number]>;
|
|
71
76
|
} & ReturnType<typeof uniCalendarValidation> & ReturnType<typeof dualCalendarValidation>;
|
|
72
77
|
export declare const datePickerInjectionKey: import("vue").InjectionKey<DatePickerInjection>;
|
|
73
78
|
export type IsDateDisabled = IsSingleDateDisabled | IsRangeDateDisabled;
|
|
@@ -100,7 +105,3 @@ export interface TimeValidator {
|
|
|
100
105
|
export type IsTimeDisabled = IsSingleTimeDisabled | IsRangeTimeDisabled;
|
|
101
106
|
export type IsSingleTimeDisabled = (date: number) => TimeValidator;
|
|
102
107
|
export type IsRangeTimeDisabled = (date: number, position: 'start' | 'end', value: [number, number]) => TimeValidator;
|
|
103
|
-
export interface DatePickerInst {
|
|
104
|
-
focus: () => void;
|
|
105
|
-
blur: () => void;
|
|
106
|
-
}
|
|
@@ -18,12 +18,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
active: BooleanConstructor;
|
|
19
19
|
dateFormat: StringConstructor;
|
|
20
20
|
timerPickerFormat: {
|
|
21
|
-
/**
|
|
22
|
-
* Date Panel
|
|
23
|
-
* Update picker value on:
|
|
24
|
-
* 1. item click
|
|
25
|
-
* 2. clear click
|
|
26
|
-
*/
|
|
27
21
|
readonly type: StringConstructor;
|
|
28
22
|
readonly value: "HH:mm:ss";
|
|
29
23
|
};
|
|
@@ -33,6 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
27
|
};
|
|
34
28
|
shortcuts: PropType<import("../interface").Shortcuts>;
|
|
35
29
|
defaultTime: PropType<import("../interface").DefaultTime>;
|
|
30
|
+
inputReadonly: BooleanConstructor;
|
|
36
31
|
onClear: FunctionConstructor;
|
|
37
32
|
onConfirm: PropType<(value: import("../interface").Value | null) => void>;
|
|
38
33
|
onClose: PropType<import("../interface").OnClose>;
|
|
@@ -58,125 +53,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
53
|
clearSelectedDateTime: () => void;
|
|
59
54
|
virtualListContainer: () => HTMLElement | null;
|
|
60
55
|
virtualListContent: () => HTMLElement | null;
|
|
61
|
-
handleVirtualListScroll: (
|
|
56
|
+
handleVirtualListScroll: () => void;
|
|
62
57
|
timePickerSize: import("vue").Ref<"small" | "medium" | "large">;
|
|
63
58
|
dateInputValue: import("vue").Ref<string>;
|
|
64
59
|
datePickerSlots: Readonly<{
|
|
65
60
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
66
61
|
}>;
|
|
67
62
|
handleQuickMonthClick: (dateItem: import("../utils").MonthItem | import("../utils").YearItem | import("../utils").QuarterItem, updatePanelValue: (value: number) => void) => void;
|
|
68
|
-
justifyColumnsScrollState: (value?: number
|
|
63
|
+
justifyColumnsScrollState: (value?: number) => void;
|
|
69
64
|
calendarValue: import("vue").Ref<number>;
|
|
70
65
|
onUpdateCalendarValue: (value: number) => void;
|
|
71
66
|
monthScrollbarRef: import("vue").Ref<import("../../../_internal").ScrollbarInst | null>;
|
|
72
67
|
yearScrollbarRef: import("vue").Ref<import("../../../_internal").ScrollbarInst | null>;
|
|
73
|
-
yearVlRef: import("vue").Ref<import("vueuc").
|
|
68
|
+
yearVlRef: import("vue").Ref<import("vueuc").VVirtualListInst | null>;
|
|
74
69
|
mergedTheme: import("vue").Ref<{
|
|
75
|
-
common:
|
|
76
|
-
baseColor: string;
|
|
77
|
-
primaryColor: string;
|
|
78
|
-
primaryColorHover: string;
|
|
79
|
-
primaryColorPressed: string;
|
|
80
|
-
primaryColorSuppl: string;
|
|
81
|
-
infoColor: string;
|
|
82
|
-
infoColorHover: string;
|
|
83
|
-
infoColorPressed: string;
|
|
84
|
-
infoColorSuppl: string;
|
|
85
|
-
successColor: string;
|
|
86
|
-
successColorHover: string;
|
|
87
|
-
successColorPressed: string;
|
|
88
|
-
successColorSuppl: string;
|
|
89
|
-
warningColor: string;
|
|
90
|
-
warningColorHover: string;
|
|
91
|
-
warningColorPressed: string;
|
|
92
|
-
warningColorSuppl: string;
|
|
93
|
-
errorColor: string;
|
|
94
|
-
errorColorHover: string;
|
|
95
|
-
errorColorPressed: string;
|
|
96
|
-
errorColorSuppl: string;
|
|
97
|
-
textColorBase: string;
|
|
98
|
-
textColor1: string;
|
|
99
|
-
textColor2: string;
|
|
100
|
-
textColor3: string;
|
|
101
|
-
textColorDisabled: string;
|
|
102
|
-
placeholderColor: string;
|
|
103
|
-
placeholderColorDisabled: string;
|
|
104
|
-
iconColor: string;
|
|
105
|
-
iconColorHover: string;
|
|
106
|
-
iconColorPressed: string;
|
|
107
|
-
iconColorDisabled: string;
|
|
108
|
-
opacity1: string;
|
|
109
|
-
opacity2: string;
|
|
110
|
-
opacity3: string;
|
|
111
|
-
opacity4: string;
|
|
112
|
-
opacity5: string;
|
|
113
|
-
dividerColor: string;
|
|
114
|
-
borderColor: string;
|
|
115
|
-
closeIconColor: string;
|
|
116
|
-
closeIconColorHover: string;
|
|
117
|
-
closeIconColorPressed: string;
|
|
118
|
-
closeColorHover: string;
|
|
119
|
-
closeColorPressed: string;
|
|
120
|
-
clearColor: string;
|
|
121
|
-
clearColorHover: string;
|
|
122
|
-
clearColorPressed: string;
|
|
123
|
-
scrollbarColor: string;
|
|
124
|
-
scrollbarColorHover: string;
|
|
125
|
-
scrollbarWidth: string;
|
|
126
|
-
scrollbarHeight: string;
|
|
127
|
-
scrollbarBorderRadius: string;
|
|
128
|
-
progressRailColor: string;
|
|
129
|
-
railColor: string;
|
|
130
|
-
popoverColor: string;
|
|
131
|
-
tableColor: string;
|
|
132
|
-
cardColor: string;
|
|
133
|
-
modalColor: string;
|
|
134
|
-
bodyColor: string;
|
|
135
|
-
tagColor: string;
|
|
136
|
-
avatarColor: string;
|
|
137
|
-
invertedColor: string;
|
|
138
|
-
inputColor: string;
|
|
139
|
-
codeColor: string;
|
|
140
|
-
tabColor: string;
|
|
141
|
-
actionColor: string;
|
|
142
|
-
tableHeaderColor: string;
|
|
143
|
-
hoverColor: string;
|
|
144
|
-
tableColorHover: string;
|
|
145
|
-
tableColorStriped: string;
|
|
146
|
-
pressedColor: string;
|
|
147
|
-
opacityDisabled: string;
|
|
148
|
-
inputColorDisabled: string;
|
|
149
|
-
buttonColor2: string;
|
|
150
|
-
buttonColor2Hover: string;
|
|
151
|
-
buttonColor2Pressed: string;
|
|
152
|
-
boxShadow1: string;
|
|
153
|
-
boxShadow2: string;
|
|
154
|
-
boxShadow3: string;
|
|
155
|
-
fontFamily: string;
|
|
156
|
-
fontFamilyMono: string;
|
|
157
|
-
fontWeight: string;
|
|
158
|
-
fontWeightStrong: string;
|
|
159
|
-
cubicBezierEaseInOut: string;
|
|
160
|
-
cubicBezierEaseOut: string;
|
|
161
|
-
cubicBezierEaseIn: string;
|
|
162
|
-
borderRadius: string;
|
|
163
|
-
borderRadiusSmall: string;
|
|
164
|
-
fontSize: string;
|
|
165
|
-
fontSizeMini: string;
|
|
166
|
-
fontSizeTiny: string;
|
|
167
|
-
fontSizeSmall: string;
|
|
168
|
-
fontSizeMedium: string;
|
|
169
|
-
fontSizeLarge: string;
|
|
170
|
-
fontSizeHuge: string;
|
|
171
|
-
lineHeight: string;
|
|
172
|
-
heightMini: string;
|
|
173
|
-
heightTiny: string;
|
|
174
|
-
heightSmall: string;
|
|
175
|
-
heightMedium: string;
|
|
176
|
-
heightLarge: string;
|
|
177
|
-
heightHuge: string;
|
|
178
|
-
name: "common";
|
|
179
|
-
};
|
|
70
|
+
common: import("../../..").ThemeCommonVars;
|
|
180
71
|
self: {
|
|
181
72
|
itemFontSize: string;
|
|
182
73
|
calendarDaysFontSize: string;
|
|
@@ -506,12 +397,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
506
397
|
iconSizeSmall: string;
|
|
507
398
|
iconSizeMedium: string;
|
|
508
399
|
iconSizeLarge: string;
|
|
509
|
-
/**
|
|
510
|
-
* Date Panel
|
|
511
|
-
* Update picker value on:
|
|
512
|
-
* 1. item click
|
|
513
|
-
* 2. clear click
|
|
514
|
-
*/
|
|
515
400
|
rippleDuration: string;
|
|
516
401
|
}, any>;
|
|
517
402
|
TimePicker: import("../../../_mixins").Theme<"TimePicker", {
|
|
@@ -537,8 +422,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
537
422
|
borderRadius: string;
|
|
538
423
|
color: string;
|
|
539
424
|
colorHover: string;
|
|
540
|
-
|
|
541
|
-
|
|
425
|
+
railInsetHorizontalBottom: string;
|
|
426
|
+
railInsetHorizontalTop: string;
|
|
427
|
+
railInsetVerticalRight: string;
|
|
428
|
+
railInsetVerticalLeft: string;
|
|
542
429
|
railColor: string;
|
|
543
430
|
}, any>;
|
|
544
431
|
Button: import("../../../_mixins").Theme<"Button", {
|
|
@@ -743,12 +630,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
743
630
|
iconSizeSmall: string;
|
|
744
631
|
iconSizeMedium: string;
|
|
745
632
|
iconSizeLarge: string;
|
|
746
|
-
/**
|
|
747
|
-
* Date Panel
|
|
748
|
-
* Update picker value on:
|
|
749
|
-
* 1. item click
|
|
750
|
-
* 2. clear click
|
|
751
|
-
*/
|
|
752
633
|
rippleDuration: string;
|
|
753
634
|
}, any>;
|
|
754
635
|
Input: import("../../../_mixins").Theme<"Input", {
|
|
@@ -819,8 +700,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
819
700
|
borderRadius: string;
|
|
820
701
|
color: string;
|
|
821
702
|
colorHover: string;
|
|
822
|
-
|
|
823
|
-
|
|
703
|
+
railInsetHorizontalBottom: string;
|
|
704
|
+
railInsetHorizontalTop: string;
|
|
705
|
+
railInsetVerticalRight: string;
|
|
706
|
+
railInsetVerticalLeft: string;
|
|
824
707
|
railColor: string;
|
|
825
708
|
}, any>;
|
|
826
709
|
};
|
|
@@ -843,8 +726,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
843
726
|
borderRadius: string;
|
|
844
727
|
color: string;
|
|
845
728
|
colorHover: string;
|
|
846
|
-
|
|
847
|
-
|
|
729
|
+
railInsetHorizontalBottom: string;
|
|
730
|
+
railInsetHorizontalTop: string;
|
|
731
|
+
railInsetVerticalRight: string;
|
|
732
|
+
railInsetVerticalLeft: string;
|
|
848
733
|
railColor: string;
|
|
849
734
|
}, any>> | undefined;
|
|
850
735
|
Button?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Button", {
|
|
@@ -1049,12 +934,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1049
934
|
iconSizeSmall: string;
|
|
1050
935
|
iconSizeMedium: string;
|
|
1051
936
|
iconSizeLarge: string;
|
|
1052
|
-
/**
|
|
1053
|
-
* Date Panel
|
|
1054
|
-
* Update picker value on:
|
|
1055
|
-
* 1. item click
|
|
1056
|
-
* 2. clear click
|
|
1057
|
-
*/
|
|
1058
937
|
rippleDuration: string;
|
|
1059
938
|
}, any>> | undefined;
|
|
1060
939
|
Input?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Input", {
|
|
@@ -1129,9 +1008,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1129
1008
|
}>;
|
|
1130
1009
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
1131
1010
|
dateFnsOptions: import("vue").ComputedRef<{
|
|
1132
|
-
locale: Locale;
|
|
1011
|
+
locale: import("date-fns").Locale;
|
|
1133
1012
|
}>;
|
|
1134
|
-
timePickerProps: import("vue").Ref<import("
|
|
1013
|
+
timePickerProps: import("vue").Ref<import("../../..").TimePickerProps | [import("../../..").TimePickerProps, import("../../..").TimePickerProps] | undefined>;
|
|
1135
1014
|
selfRef: import("vue").Ref<HTMLElement | null>;
|
|
1136
1015
|
locale: import("vue").Ref<{
|
|
1137
1016
|
yearFormat: string;
|
|
@@ -1161,7 +1040,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1161
1040
|
startMonthPlaceholder: string;
|
|
1162
1041
|
endMonthPlaceholder: string;
|
|
1163
1042
|
monthBeforeYear: boolean;
|
|
1164
|
-
firstDayOfWeek: 0 | 1 |
|
|
1043
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
1165
1044
|
today: string;
|
|
1166
1045
|
}>;
|
|
1167
1046
|
doConfirm: () => void;
|
|
@@ -1176,7 +1055,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1176
1055
|
cachePendingValue: () => void;
|
|
1177
1056
|
clearPendingValue: () => void;
|
|
1178
1057
|
restorePendingValue: () => void;
|
|
1179
|
-
getShortcutValue: (shortcut:
|
|
1058
|
+
getShortcutValue: (shortcut: import("../interface").Shortcuts[string]) => number | [number, number] | readonly [number, number];
|
|
1180
1059
|
handleShortcutMouseleave: () => void;
|
|
1181
1060
|
showMonthYearPanel: import("vue").Ref<boolean>;
|
|
1182
1061
|
handleOpenQuickSelectMonthPanel: () => void;
|
|
@@ -1202,8 +1081,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1202
1081
|
prevMonth: () => void;
|
|
1203
1082
|
handleNowClick: () => void;
|
|
1204
1083
|
handleConfirmClick: () => void;
|
|
1205
|
-
handleSingleShortcutMouseenter: (shortcut:
|
|
1206
|
-
handleSingleShortcutClick: (shortcut:
|
|
1084
|
+
handleSingleShortcutMouseenter: (shortcut: import("../interface").Shortcuts[string]) => void;
|
|
1085
|
+
handleSingleShortcutClick: (shortcut: import("../interface").Shortcuts[string]) => void;
|
|
1207
1086
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1208
1087
|
type: {
|
|
1209
1088
|
type: PropType<"date" | "week">;
|
|
@@ -1217,12 +1096,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1217
1096
|
active: BooleanConstructor;
|
|
1218
1097
|
dateFormat: StringConstructor;
|
|
1219
1098
|
timerPickerFormat: {
|
|
1220
|
-
/**
|
|
1221
|
-
* Date Panel
|
|
1222
|
-
* Update picker value on:
|
|
1223
|
-
* 1. item click
|
|
1224
|
-
* 2. clear click
|
|
1225
|
-
*/
|
|
1226
1099
|
readonly type: StringConstructor;
|
|
1227
1100
|
readonly value: "HH:mm:ss";
|
|
1228
1101
|
};
|
|
@@ -1232,6 +1105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1232
1105
|
};
|
|
1233
1106
|
shortcuts: PropType<import("../interface").Shortcuts>;
|
|
1234
1107
|
defaultTime: PropType<import("../interface").DefaultTime>;
|
|
1108
|
+
inputReadonly: BooleanConstructor;
|
|
1235
1109
|
onClear: FunctionConstructor;
|
|
1236
1110
|
onConfirm: PropType<(value: import("../interface").Value | null) => void>;
|
|
1237
1111
|
onClose: PropType<import("../interface").OnClose>;
|
|
@@ -1251,6 +1125,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1251
1125
|
value: import("../interface").Value | null;
|
|
1252
1126
|
active: boolean;
|
|
1253
1127
|
actions: string[];
|
|
1128
|
+
inputReadonly: boolean;
|
|
1254
1129
|
panel: boolean;
|
|
1255
1130
|
}, {}>;
|
|
1256
1131
|
export default _default;
|
|
@@ -50,7 +50,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
50
50
|
(0, vue_1.h)(panelHeader_1.default, { monthBeforeYear: this.locale.monthBeforeYear, value: this.calendarValue, onUpdateValue: this.onUpdateCalendarValue, mergedClsPrefix: mergedClsPrefix, calendarMonth: this.calendarMonth, calendarYear: this.calendarYear }),
|
|
51
51
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-month__next`, onClick: this.nextMonth }, (0, _utils_1.resolveSlot)($slots['next-month'], () => [(0, vue_1.h)(icons_1.ForwardIcon, null)])),
|
|
52
52
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-month__fast-next`, onClick: this.nextYear }, (0, _utils_1.resolveSlot)($slots['next-year'], () => [(0, vue_1.h)(icons_1.FastForwardIcon, null)]))),
|
|
53
|
-
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-weekdays` }, this.weekdays.map(
|
|
53
|
+
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-weekdays` }, this.weekdays.map(weekday => ((0, vue_1.h)("div", { key: weekday, class: `${mergedClsPrefix}-date-panel-weekdays__day` }, weekday)))),
|
|
54
54
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-dates` }, this.dateArray.map((dateItem, i) => ((0, vue_1.h)("div", { "data-n-date": true, key: i, class: [
|
|
55
55
|
`${mergedClsPrefix}-date-panel-date`,
|
|
56
56
|
{
|
|
@@ -76,8 +76,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
76
76
|
dateItem.isCurrentDate ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-date__sup` })) : null))))),
|
|
77
77
|
this.datePickerSlots.footer ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-footer` }, this.datePickerSlots.footer())) : null,
|
|
78
78
|
((_a = this.actions) === null || _a === void 0 ? void 0 : _a.length) || shortcuts ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-actions` },
|
|
79
|
-
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-actions__prefix` }, shortcuts
|
|
80
|
-
Object.keys(shortcuts).map((key) => {
|
|
79
|
+
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-actions__prefix` }, shortcuts
|
|
80
|
+
&& Object.keys(shortcuts).map((key) => {
|
|
81
81
|
const shortcut = shortcuts[key];
|
|
82
82
|
return Array.isArray(shortcut) ? null : ((0, vue_1.h)(button_1.NxButton, { size: "tiny", onMouseenter: () => {
|
|
83
83
|
this.handleSingleShortcutMouseenter(shortcut);
|
|
@@ -88,8 +88,22 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
88
88
|
} }, { default: () => key }));
|
|
89
89
|
})),
|
|
90
90
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-date-panel-actions__suffix` },
|
|
91
|
-
((_b = this.actions) === null || _b === void 0 ? void 0 : _b.includes('clear'))
|
|
92
|
-
|
|
91
|
+
((_b = this.actions) === null || _b === void 0 ? void 0 : _b.includes('clear'))
|
|
92
|
+
? (0, _utils_1.resolveSlotWithProps)(this.$slots.clear, {
|
|
93
|
+
onClear: this.handleClearClick,
|
|
94
|
+
text: this.locale.clear
|
|
95
|
+
}, () => [
|
|
96
|
+
(0, vue_1.h)(button_1.NButton, { theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, size: "tiny", onClick: this.handleClearClick }, { default: () => this.locale.clear })
|
|
97
|
+
])
|
|
98
|
+
: null,
|
|
99
|
+
((_c = this.actions) === null || _c === void 0 ? void 0 : _c.includes('now'))
|
|
100
|
+
? (0, _utils_1.resolveSlotWithProps)(this.$slots.now, {
|
|
101
|
+
onNow: this.handleNowClick,
|
|
102
|
+
text: this.locale.now
|
|
103
|
+
}, () => [
|
|
104
|
+
(0, vue_1.h)(button_1.NButton, { theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, size: "tiny", onClick: this.handleNowClick }, { default: () => this.locale.now })
|
|
105
|
+
])
|
|
106
|
+
: null))) : null,
|
|
93
107
|
(0, vue_1.h)(_internal_1.NBaseFocusDetector, { onFocus: this.handleFocusDetectorFocus })));
|
|
94
108
|
}
|
|
95
109
|
});
|