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
|
@@ -14,16 +14,22 @@ const fixedColumnStyle = createFixedColumnStyle();
|
|
|
14
14
|
// --n-border-color-popover
|
|
15
15
|
// --n-th-color
|
|
16
16
|
// --n-th-color-hover
|
|
17
|
+
// --n-th-color-sorting
|
|
17
18
|
// --n-th-color-modal
|
|
18
19
|
// --n-th-color-hover-modal
|
|
20
|
+
// --n-th-color-sorting-modal
|
|
19
21
|
// --n-th-color-popover
|
|
20
22
|
// --n-th-color-hover-popover
|
|
23
|
+
// --n-th-color-sorting-popover
|
|
21
24
|
// --n-td-color
|
|
22
25
|
// --n-td-color-hover
|
|
26
|
+
// --n-td-color-sorting
|
|
23
27
|
// --n-td-color-modal
|
|
24
28
|
// --n-td-color-hover-modal
|
|
29
|
+
// --n-td-color-sorting-modal
|
|
25
30
|
// --n-td-color-popover
|
|
26
31
|
// --n-td-color-hover-popover
|
|
32
|
+
// --n-td-color-sorting-popover
|
|
27
33
|
// --n-th-text-color
|
|
28
34
|
// --n-td-text-color
|
|
29
35
|
// --n-th-font-weight
|
|
@@ -54,8 +60,9 @@ export default c([cB('data-table', `
|
|
|
54
60
|
--n-merged-th-color: var(--n-th-color);
|
|
55
61
|
--n-merged-td-color: var(--n-td-color);
|
|
56
62
|
--n-merged-border-color: var(--n-border-color);
|
|
57
|
-
--n-merged-th-color-
|
|
63
|
+
--n-merged-th-color-sorting: var(--n-th-color-sorting);
|
|
58
64
|
--n-merged-td-color-hover: var(--n-td-color-hover);
|
|
65
|
+
--n-merged-td-color-sorting: var(--n-td-color-sorting);
|
|
59
66
|
--n-merged-td-color-striped: var(--n-td-color-striped);
|
|
60
67
|
`, [cB('data-table-wrapper', `
|
|
61
68
|
flex-grow: 1;
|
|
@@ -128,6 +135,7 @@ c('&:last-child', 'flex-grow: 1;')])])])])])])]), c('>', [cB('data-table-loading
|
|
|
128
135
|
transition: background-color .3s var(--n-bezier);
|
|
129
136
|
background-color: var(--n-merged-th-color);
|
|
130
137
|
`), cB('data-table-tr', `
|
|
138
|
+
position: relative;
|
|
131
139
|
box-sizing: border-box;
|
|
132
140
|
background-clip: padding-box;
|
|
133
141
|
transition: background-color .3s var(--n-bezier);
|
|
@@ -178,6 +186,8 @@ c('&:last-child', 'flex-grow: 1;')])])])])])])]), c('>', [cB('data-table-loading
|
|
|
178
186
|
max-width: 100%;
|
|
179
187
|
`), cM('hover', `
|
|
180
188
|
background-color: var(--n-merged-th-color-hover);
|
|
189
|
+
`), cM('sorting', `
|
|
190
|
+
background-color: var(--n-merged-th-color-sorting);
|
|
181
191
|
`), cM('sortable', `
|
|
182
192
|
cursor: pointer;
|
|
183
193
|
`, [cE('ellipsis', `
|
|
@@ -276,6 +286,8 @@ c('&::after', `
|
|
|
276
286
|
background-color: var(--n-merged-th-color);
|
|
277
287
|
`), cM('hover', `
|
|
278
288
|
background-color: var(--n-merged-td-color-hover);
|
|
289
|
+
`), cM('sorting', `
|
|
290
|
+
background-color: var(--n-merged-td-color-sorting);
|
|
279
291
|
`), cE('ellipsis', `
|
|
280
292
|
display: inline-block;
|
|
281
293
|
text-overflow: ellipsis;
|
|
@@ -391,6 +403,8 @@ c('&::after', `
|
|
|
391
403
|
--n-merged-border-color: var(--n-border-color-modal);
|
|
392
404
|
--n-merged-th-color-hover: var(--n-th-color-hover-modal);
|
|
393
405
|
--n-merged-td-color-hover: var(--n-td-color-hover-modal);
|
|
406
|
+
--n-merged-th-color-sorting: var(--n-th-color-hover-modal);
|
|
407
|
+
--n-merged-td-color-sorting: var(--n-td-color-hover-modal);
|
|
394
408
|
--n-merged-td-color-striped: var(--n-td-color-striped-modal);
|
|
395
409
|
`)), insidePopover(cB('data-table', `
|
|
396
410
|
--n-merged-th-color: var(--n-th-color-popover);
|
|
@@ -398,6 +412,8 @@ c('&::after', `
|
|
|
398
412
|
--n-merged-border-color: var(--n-border-color-popover);
|
|
399
413
|
--n-merged-th-color-hover: var(--n-th-color-hover-popover);
|
|
400
414
|
--n-merged-td-color-hover: var(--n-td-color-hover-popover);
|
|
415
|
+
--n-merged-th-color-sorting: var(--n-th-color-hover-popover);
|
|
416
|
+
--n-merged-td-color-sorting: var(--n-td-color-hover-popover);
|
|
401
417
|
--n-merged-td-color-striped: var(--n-td-color-striped-popover);
|
|
402
418
|
`))]);
|
|
403
419
|
function createFixedColumnStyle() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ComputedRef } from 'vue';
|
|
2
|
-
import type { DataTableSetupProps, RowKey, RowData, TableSelectionColumn, InternalRowData, TmNode } from './interface';
|
|
3
2
|
import type { TreeMate } from 'treemate';
|
|
3
|
+
import type { DataTableSetupProps, InternalRowData, RowData, RowKey, TableSelectionColumn, TmNode } from './interface';
|
|
4
4
|
export declare function useCheck(props: DataTableSetupProps, data: {
|
|
5
5
|
selectionColumnRef: ComputedRef<TableSelectionColumn | null>;
|
|
6
6
|
paginatedDataRef: ComputedRef<TmNode[]>;
|
|
@@ -12,7 +12,7 @@ export declare function useCheck(props: DataTableSetupProps, data: {
|
|
|
12
12
|
someRowsCheckedRef: ComputedRef<boolean>;
|
|
13
13
|
allRowsCheckedRef: ComputedRef<boolean>;
|
|
14
14
|
headerCheckboxDisabledRef: ComputedRef<boolean>;
|
|
15
|
-
doUpdateCheckedRowKeys: (keys: RowKey[], row: RowData | undefined, action:
|
|
15
|
+
doUpdateCheckedRowKeys: (keys: RowKey[], row: RowData | undefined, action: "check" | "uncheck" | "checkAll" | "uncheckAll") => void;
|
|
16
16
|
doCheckAll: (checkWholeTable?: boolean) => void;
|
|
17
17
|
doUncheckAll: (checkWholeTable?: boolean) => void;
|
|
18
18
|
doCheck: (rowKey: RowKey | RowKey[], single: boolean | undefined, rowInfo: RowData) => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { computed, ref } from 'vue';
|
|
2
2
|
import { call } from "../../_utils/index.mjs";
|
|
3
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
4
3
|
export function useCheck(props, data) {
|
|
5
4
|
const {
|
|
6
5
|
paginatedDataRef,
|
|
@@ -81,7 +80,6 @@ export function useCheck(props, data) {
|
|
|
81
80
|
keys.forEach(key => {
|
|
82
81
|
var _a;
|
|
83
82
|
const row = (_a = getNode(key)) === null || _a === void 0 ? void 0 : _a.rawNode;
|
|
84
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
85
83
|
rows.push(row);
|
|
86
84
|
});
|
|
87
85
|
if (_onUpdateCheckedRowKeys) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
import type { TreeMate } from 'treemate';
|
|
3
|
-
import type { Expandable, InternalRowData, RowKey
|
|
3
|
+
import type { DataTableSetupProps, Expandable, InternalRowData, RowKey } from './interface';
|
|
4
4
|
export declare function useExpand(props: DataTableSetupProps, treeMateRef: Ref<TreeMate<InternalRowData, InternalRowData, InternalRowData>>): {
|
|
5
5
|
stickyExpandedRowsRef: Ref<boolean>;
|
|
6
6
|
mergedExpandedRowKeysRef: import("vue").ComputedRef<import("treemate").Key[]>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ref, toRef } from 'vue';
|
|
2
2
|
import { useMemo, useMergedState } from 'vooks';
|
|
3
3
|
import { call, warn } from "../../_utils/index.mjs";
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
5
4
|
export function useExpand(props, treeMateRef) {
|
|
6
5
|
const renderExpandRef = useMemo(() => {
|
|
7
6
|
for (const col of props.columns) {
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { type CSSProperties, type ComputedRef } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ColumnKey, DataTableSetupProps, TableBaseColumn, TableColumn, TableExpandColumn, TableSelectionColumn } from './interface';
|
|
3
3
|
export interface RowItem {
|
|
4
4
|
colSpan: number;
|
|
5
5
|
rowSpan: number;
|
|
6
6
|
column: TableColumn;
|
|
7
|
+
colIndex: number;
|
|
7
8
|
isLast: boolean;
|
|
8
9
|
}
|
|
9
10
|
export interface ColItem {
|
|
10
11
|
key: string | number;
|
|
11
12
|
style: CSSProperties;
|
|
12
13
|
column: TableSelectionColumn | TableExpandColumn | TableBaseColumn;
|
|
14
|
+
index: number;
|
|
15
|
+
/**
|
|
16
|
+
* The width property is only applied to horizontally virtual scroll table
|
|
17
|
+
*/
|
|
18
|
+
width: number;
|
|
13
19
|
}
|
|
14
20
|
export declare function useGroupHeader(props: DataTableSetupProps, getResizableWidth: (key: ColumnKey) => number | undefined): {
|
|
15
21
|
rowsRef: ComputedRef<RowItem[][]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed } from 'vue';
|
|
2
2
|
import { formatLength } from "../../_utils/index.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { createCustomWidthStyle, getColKey } from "./utils.mjs";
|
|
4
4
|
function getRowsAndCols(columns, getResizableWidth) {
|
|
5
5
|
const rows = [];
|
|
6
6
|
const cols = [];
|
|
@@ -14,7 +14,7 @@ function getRowsAndCols(columns, getResizableWidth) {
|
|
|
14
14
|
rows[currentDepth] = [];
|
|
15
15
|
maxDepth = currentDepth;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
columns.forEach((column, index) => {
|
|
18
18
|
if ('children' in column) {
|
|
19
19
|
ensureMaxDepth(column.children, currentDepth + 1);
|
|
20
20
|
} else {
|
|
@@ -22,7 +22,10 @@ function getRowsAndCols(columns, getResizableWidth) {
|
|
|
22
22
|
cols.push({
|
|
23
23
|
key: getColKey(column),
|
|
24
24
|
style: createCustomWidthStyle(column, key !== undefined ? formatLength(getResizableWidth(key)) : undefined),
|
|
25
|
-
column
|
|
25
|
+
column,
|
|
26
|
+
index,
|
|
27
|
+
// The width property is only applied to horizontally virtual scroll table
|
|
28
|
+
width: column.width === undefined ? 128 : Number(column.width)
|
|
26
29
|
});
|
|
27
30
|
totalRowSpan += 1;
|
|
28
31
|
if (!hasEllipsis) {
|
|
@@ -30,13 +33,13 @@ function getRowsAndCols(columns, getResizableWidth) {
|
|
|
30
33
|
}
|
|
31
34
|
dataRelatedCols.push(column);
|
|
32
35
|
}
|
|
33
|
-
}
|
|
36
|
+
});
|
|
34
37
|
}
|
|
35
38
|
ensureMaxDepth(columns, 0);
|
|
36
39
|
let currentLeafIndex = 0;
|
|
37
40
|
function ensureColLayout(columns, currentDepth) {
|
|
38
41
|
let hideUntilIndex = 0;
|
|
39
|
-
columns.forEach(
|
|
42
|
+
columns.forEach(column => {
|
|
40
43
|
var _a;
|
|
41
44
|
if ('children' in column) {
|
|
42
45
|
// do not allow colSpan > 1 for non-leaf th
|
|
@@ -44,6 +47,7 @@ function getRowsAndCols(columns, getResizableWidth) {
|
|
|
44
47
|
const cachedCurrentLeafIndex = currentLeafIndex;
|
|
45
48
|
const rowItem = {
|
|
46
49
|
column,
|
|
50
|
+
colIndex: currentLeafIndex,
|
|
47
51
|
colSpan: 0,
|
|
48
52
|
rowSpan: 1,
|
|
49
53
|
isLast: false
|
|
@@ -74,6 +78,7 @@ function getRowsAndCols(columns, getResizableWidth) {
|
|
|
74
78
|
const rowItem = {
|
|
75
79
|
column,
|
|
76
80
|
colSpan,
|
|
81
|
+
colIndex: currentLeafIndex,
|
|
77
82
|
rowSpan: maxDepth - currentDepth + 1,
|
|
78
83
|
isLast
|
|
79
84
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComputedRef, type Ref } from 'vue';
|
|
2
|
-
import type { ColumnKey, MainTableRef, TableColumn
|
|
2
|
+
import type { ColumnKey, DataTableSetupProps, MainTableRef, TableColumn } from './interface';
|
|
3
3
|
export declare function useScroll(props: DataTableSetupProps, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef }: {
|
|
4
4
|
bodyWidthRef: Ref<null | number>;
|
|
5
5
|
mainTableInstRef: Ref<MainTableRef | null>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { beforeNextFrameOnce } from 'seemly';
|
|
2
|
-
import { computed,
|
|
2
|
+
import { computed, ref, watch } from 'vue';
|
|
3
3
|
import { formatLength } from "../../_utils/index.mjs";
|
|
4
|
-
import {
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
4
|
+
import { getColKey, getNumberColWidth } from "./utils.mjs";
|
|
6
5
|
export function useScroll(props, {
|
|
7
6
|
mainTableInstRef,
|
|
8
7
|
mergedCurrentPageRef,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComputedRef } from 'vue';
|
|
2
|
-
import type { ColumnKey, InternalRowData, SortOrder, SortState,
|
|
2
|
+
import type { ColumnKey, CompareFn, DataTableSetupProps, InternalRowData, SortOrder, SortState, TableBaseColumn, TableExpandColumn, TableSelectionColumn, TmNode } from './interface';
|
|
3
3
|
export declare function useSorter(props: DataTableSetupProps, { dataRelatedColsRef, filteredDataRef }: {
|
|
4
4
|
dataRelatedColsRef: ComputedRef<Array<TableSelectionColumn | TableBaseColumn | TableExpandColumn>>;
|
|
5
5
|
filteredDataRef: ComputedRef<TmNode[]>;
|
|
@@ -36,7 +36,6 @@ function getDefaultSorterFn(columnKey) {
|
|
|
36
36
|
return 0;
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
40
39
|
export function useSorter(props, {
|
|
41
40
|
dataRelatedColsRef,
|
|
42
41
|
filteredDataRef
|
|
@@ -66,9 +65,7 @@ export function useSorter(props, {
|
|
|
66
65
|
columnKey: column.key,
|
|
67
66
|
// column to sort has controlled sorter
|
|
68
67
|
// sorter && sort order won't be undefined
|
|
69
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
70
68
|
order: column.sortOrder,
|
|
71
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
72
69
|
sorter: column.sorter
|
|
73
70
|
};
|
|
74
71
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ComputedRef } from 'vue';
|
|
2
2
|
import type { PaginationProps } from '../../pagination/src/Pagination';
|
|
3
|
-
import type { ColumnKey,
|
|
3
|
+
import type { ColumnKey, DataTableSetupProps, FilterState, InternalRowData, RowKey, TableBaseColumn, TableExpandColumn, TableSelectionColumn, TmNode } from './interface';
|
|
4
4
|
export declare function useTableData(props: DataTableSetupProps, { dataRelatedColsRef }: {
|
|
5
5
|
dataRelatedColsRef: ComputedRef<Array<TableSelectionColumn | TableBaseColumn | TableExpandColumn>>;
|
|
6
6
|
}): {
|
|
@@ -2,11 +2,10 @@ import { computed, ref } from 'vue';
|
|
|
2
2
|
import { useMemo, useMergedState } from 'vooks';
|
|
3
3
|
import { createTreeMate } from 'treemate';
|
|
4
4
|
import { call, warn } from "../../_utils/index.mjs";
|
|
5
|
+
import { getDefaultPageSize } from "../../pagination/src/utils.mjs";
|
|
5
6
|
import { createShallowClonedObject } from "./utils.mjs";
|
|
6
7
|
import { useSorter } from "./use-sorter.mjs";
|
|
7
|
-
import { getDefaultPageSize } from "../../pagination/src/utils.mjs";
|
|
8
8
|
// useTableData combines filter, sorter and pagination
|
|
9
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
10
9
|
export function useTableData(props, {
|
|
11
10
|
dataRelatedColsRef
|
|
12
11
|
}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CreateRowClassName, InternalRowData, RowData, SortOrder, SortOrderFlag, SortState, TableBaseColumn, TableColumn, TableExpandColumn, TableSelectionColumn } from './interface';
|
|
3
3
|
export declare const SELECTION_COL_WIDTH = 40;
|
|
4
4
|
export declare const EXPAND_COL_WIDTH = 40;
|
|
5
5
|
export declare function getNumberColWidth(col: TableColumn): number | undefined;
|
|
@@ -47,10 +47,10 @@ export function getFlagOfOrder(order) {
|
|
|
47
47
|
// priority: min-width > max-width > width
|
|
48
48
|
export function clampValueFollowCSSRules(value, min, max) {
|
|
49
49
|
if (max !== undefined) {
|
|
50
|
-
value = Math.min(value, typeof max === 'number' ? max : parseFloat(max));
|
|
50
|
+
value = Math.min(value, typeof max === 'number' ? max : Number.parseFloat(max));
|
|
51
51
|
}
|
|
52
52
|
if (min !== undefined) {
|
|
53
|
-
value = Math.max(value, typeof min === 'number' ? min : parseFloat(min));
|
|
53
|
+
value = Math.max(value, typeof min === 'number' ? min : Number.parseFloat(min));
|
|
54
54
|
}
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
@@ -122,12 +122,11 @@ function formatCsvCell(value) {
|
|
|
122
122
|
} else if (value === null || value === undefined) {
|
|
123
123
|
return '';
|
|
124
124
|
} else {
|
|
125
|
-
// eslint-disable-next-line @typescript-eslint/no-base-to-string, @typescript-eslint/restrict-template-expressions
|
|
126
125
|
return `${value}`.replace(/,/g, '\\,');
|
|
127
126
|
}
|
|
128
127
|
}
|
|
129
128
|
export function generateCsv(columns, data) {
|
|
130
|
-
const exportableColumns = columns.filter(column => column.type !== 'expand' && column.type !== 'selection');
|
|
129
|
+
const exportableColumns = columns.filter(column => column.type !== 'expand' && column.type !== 'selection' && column.allowExport !== false);
|
|
131
130
|
const header = exportableColumns.map(col => col.title).join(',');
|
|
132
131
|
const rows = data.map(row => {
|
|
133
132
|
return exportableColumns.map(col => formatCsvCell(row[col.key])).join(',');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../_styles/common';
|
|
2
|
-
export declare
|
|
2
|
+
export declare function self(vars: ThemeCommonVars): {
|
|
3
3
|
actionDividerColor: string;
|
|
4
4
|
lineHeight: string;
|
|
5
5
|
borderRadius: string;
|
|
@@ -8,9 +8,11 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
8
8
|
fontSizeLarge: string;
|
|
9
9
|
borderColor: string;
|
|
10
10
|
tdColorHover: string;
|
|
11
|
+
tdColorSorting: string;
|
|
11
12
|
tdColorStriped: string;
|
|
12
13
|
thColor: string;
|
|
13
14
|
thColorHover: string;
|
|
15
|
+
thColorSorting: string;
|
|
14
16
|
tdColor: string;
|
|
15
17
|
tdTextColor: string;
|
|
16
18
|
thTextColor: string;
|
|
@@ -20,15 +22,19 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
20
22
|
thIconColorActive: string;
|
|
21
23
|
borderColorModal: string;
|
|
22
24
|
tdColorHoverModal: string;
|
|
25
|
+
tdColorSortingModal: string;
|
|
23
26
|
tdColorStripedModal: string;
|
|
24
27
|
thColorModal: string;
|
|
25
28
|
thColorHoverModal: string;
|
|
29
|
+
thColorSortingModal: string;
|
|
26
30
|
tdColorModal: string;
|
|
27
31
|
borderColorPopover: string;
|
|
28
32
|
tdColorHoverPopover: string;
|
|
33
|
+
tdColorSortingPopover: string;
|
|
29
34
|
tdColorStripedPopover: string;
|
|
30
35
|
thColorPopover: string;
|
|
31
36
|
thColorHoverPopover: string;
|
|
37
|
+
thColorSortingPopover: string;
|
|
32
38
|
tdColorPopover: string;
|
|
33
39
|
boxShadowBefore: string;
|
|
34
40
|
boxShadowAfter: string;
|
|
@@ -60,9 +66,11 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
60
66
|
fontSizeLarge: string;
|
|
61
67
|
borderColor: string;
|
|
62
68
|
tdColorHover: string;
|
|
69
|
+
tdColorSorting: string;
|
|
63
70
|
tdColorStriped: string;
|
|
64
71
|
thColor: string;
|
|
65
72
|
thColorHover: string;
|
|
73
|
+
thColorSorting: string;
|
|
66
74
|
tdColor: string;
|
|
67
75
|
tdTextColor: string;
|
|
68
76
|
thTextColor: string;
|
|
@@ -72,15 +80,19 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
72
80
|
thIconColorActive: string;
|
|
73
81
|
borderColorModal: string;
|
|
74
82
|
tdColorHoverModal: string;
|
|
83
|
+
tdColorSortingModal: string;
|
|
75
84
|
tdColorStripedModal: string;
|
|
76
85
|
thColorModal: string;
|
|
77
86
|
thColorHoverModal: string;
|
|
87
|
+
thColorSortingModal: string;
|
|
78
88
|
tdColorModal: string;
|
|
79
89
|
borderColorPopover: string;
|
|
80
90
|
tdColorHoverPopover: string;
|
|
91
|
+
tdColorSortingPopover: string;
|
|
81
92
|
tdColorStripedPopover: string;
|
|
82
93
|
thColorPopover: string;
|
|
83
94
|
thColorHoverPopover: string;
|
|
95
|
+
thColorSortingPopover: string;
|
|
84
96
|
tdColorPopover: string;
|
|
85
97
|
boxShadowBefore: string;
|
|
86
98
|
boxShadowAfter: string;
|
|
@@ -520,10 +532,12 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
520
532
|
}, any>;
|
|
521
533
|
}>;
|
|
522
534
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
535
|
+
optionFontSizeTiny: string;
|
|
523
536
|
optionFontSizeSmall: string;
|
|
524
537
|
optionFontSizeMedium: string;
|
|
525
538
|
optionFontSizeLarge: string;
|
|
526
539
|
optionFontSizeHuge: string;
|
|
540
|
+
optionHeightTiny: string;
|
|
527
541
|
optionHeightSmall: string;
|
|
528
542
|
optionHeightMedium: string;
|
|
529
543
|
optionHeightLarge: string;
|
|
@@ -544,10 +558,12 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
544
558
|
actionTextColor: string;
|
|
545
559
|
loadingColor: string;
|
|
546
560
|
height: string;
|
|
561
|
+
paddingTiny: string;
|
|
547
562
|
paddingSmall: string;
|
|
548
563
|
paddingMedium: string;
|
|
549
564
|
paddingLarge: string;
|
|
550
565
|
paddingHuge: string;
|
|
566
|
+
optionPaddingTiny: string;
|
|
551
567
|
optionPaddingSmall: string;
|
|
552
568
|
optionPaddingMedium: string;
|
|
553
569
|
optionPaddingLarge: string;
|
|
@@ -560,11 +576,14 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
560
576
|
borderRadius: string;
|
|
561
577
|
color: string;
|
|
562
578
|
colorHover: string;
|
|
563
|
-
|
|
564
|
-
|
|
579
|
+
railInsetHorizontalBottom: string;
|
|
580
|
+
railInsetHorizontalTop: string;
|
|
581
|
+
railInsetVerticalRight: string;
|
|
582
|
+
railInsetVerticalLeft: string;
|
|
565
583
|
railColor: string;
|
|
566
584
|
}, any>;
|
|
567
585
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
586
|
+
fontSizeTiny: string;
|
|
568
587
|
fontSizeSmall: string;
|
|
569
588
|
fontSizeMedium: string;
|
|
570
589
|
fontSizeLarge: string;
|
|
@@ -572,6 +591,7 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
572
591
|
textColor: string;
|
|
573
592
|
iconColor: string;
|
|
574
593
|
extraTextColor: string;
|
|
594
|
+
iconSizeTiny: string;
|
|
575
595
|
iconSizeSmall: string;
|
|
576
596
|
iconSizeMedium: string;
|
|
577
597
|
iconSizeLarge: string;
|
|
@@ -658,10 +678,12 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
658
678
|
padding: string;
|
|
659
679
|
}, any>;
|
|
660
680
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
681
|
+
optionFontSizeTiny: string;
|
|
661
682
|
optionFontSizeSmall: string;
|
|
662
683
|
optionFontSizeMedium: string;
|
|
663
684
|
optionFontSizeLarge: string;
|
|
664
685
|
optionFontSizeHuge: string;
|
|
686
|
+
optionHeightTiny: string;
|
|
665
687
|
optionHeightSmall: string;
|
|
666
688
|
optionHeightMedium: string;
|
|
667
689
|
optionHeightLarge: string;
|
|
@@ -682,10 +704,12 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
682
704
|
actionTextColor: string;
|
|
683
705
|
loadingColor: string;
|
|
684
706
|
height: string;
|
|
707
|
+
paddingTiny: string;
|
|
685
708
|
paddingSmall: string;
|
|
686
709
|
paddingMedium: string;
|
|
687
710
|
paddingLarge: string;
|
|
688
711
|
paddingHuge: string;
|
|
712
|
+
optionPaddingTiny: string;
|
|
689
713
|
optionPaddingSmall: string;
|
|
690
714
|
optionPaddingMedium: string;
|
|
691
715
|
optionPaddingLarge: string;
|
|
@@ -698,11 +722,14 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
698
722
|
borderRadius: string;
|
|
699
723
|
color: string;
|
|
700
724
|
colorHover: string;
|
|
701
|
-
|
|
702
|
-
|
|
725
|
+
railInsetHorizontalBottom: string;
|
|
726
|
+
railInsetHorizontalTop: string;
|
|
727
|
+
railInsetVerticalRight: string;
|
|
728
|
+
railInsetVerticalLeft: string;
|
|
703
729
|
railColor: string;
|
|
704
730
|
}, any>;
|
|
705
731
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
732
|
+
fontSizeTiny: string;
|
|
706
733
|
fontSizeSmall: string;
|
|
707
734
|
fontSizeMedium: string;
|
|
708
735
|
fontSizeLarge: string;
|
|
@@ -710,6 +737,7 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
710
737
|
textColor: string;
|
|
711
738
|
iconColor: string;
|
|
712
739
|
extraTextColor: string;
|
|
740
|
+
iconSizeTiny: string;
|
|
713
741
|
iconSizeSmall: string;
|
|
714
742
|
iconSizeMedium: string;
|
|
715
743
|
iconSizeLarge: string;
|
|
@@ -724,11 +752,14 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
724
752
|
borderRadius: string;
|
|
725
753
|
color: string;
|
|
726
754
|
colorHover: string;
|
|
727
|
-
|
|
728
|
-
|
|
755
|
+
railInsetHorizontalBottom: string;
|
|
756
|
+
railInsetHorizontalTop: string;
|
|
757
|
+
railInsetVerticalRight: string;
|
|
758
|
+
railInsetVerticalLeft: string;
|
|
729
759
|
railColor: string;
|
|
730
760
|
}, any>;
|
|
731
761
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
762
|
+
fontSizeTiny: string;
|
|
732
763
|
fontSizeSmall: string;
|
|
733
764
|
fontSizeMedium: string;
|
|
734
765
|
fontSizeLarge: string;
|
|
@@ -736,6 +767,7 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
736
767
|
textColor: string;
|
|
737
768
|
iconColor: string;
|
|
738
769
|
extraTextColor: string;
|
|
770
|
+
iconSizeTiny: string;
|
|
739
771
|
iconSizeSmall: string;
|
|
740
772
|
iconSizeMedium: string;
|
|
741
773
|
iconSizeLarge: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { composite } from 'seemly';
|
|
2
|
-
import commonVariables from "./_common.mjs";
|
|
3
2
|
import { ellipsisLight } from "../../ellipsis/styles/index.mjs";
|
|
4
3
|
import { buttonLight } from "../../button/styles/index.mjs";
|
|
5
4
|
import { checkboxLight } from "../../checkbox/styles/index.mjs";
|
|
@@ -11,7 +10,8 @@ import { emptyLight } from "../../empty/styles/index.mjs";
|
|
|
11
10
|
import { dropdownLight } from "../../dropdown/styles/index.mjs";
|
|
12
11
|
import { commonLight } from "../../_styles/common/index.mjs";
|
|
13
12
|
import { createTheme } from "../../_mixins/index.mjs";
|
|
14
|
-
|
|
13
|
+
import commonVariables from "./_common.mjs";
|
|
14
|
+
export function self(vars) {
|
|
15
15
|
const {
|
|
16
16
|
cardColor,
|
|
17
17
|
modalColor,
|
|
@@ -42,9 +42,11 @@ export const self = vars => {
|
|
|
42
42
|
fontSizeLarge,
|
|
43
43
|
borderColor: composite(cardColor, dividerColor),
|
|
44
44
|
tdColorHover: composite(cardColor, tableColorHover),
|
|
45
|
+
tdColorSorting: composite(cardColor, tableColorHover),
|
|
45
46
|
tdColorStriped: composite(cardColor, tableColorStriped),
|
|
46
47
|
thColor: composite(cardColor, tableHeaderColor),
|
|
47
48
|
thColorHover: composite(composite(cardColor, tableHeaderColor), tableColorHover),
|
|
49
|
+
thColorSorting: composite(composite(cardColor, tableHeaderColor), tableColorHover),
|
|
48
50
|
tdColor: cardColor,
|
|
49
51
|
tdTextColor: textColor2,
|
|
50
52
|
thTextColor: textColor1,
|
|
@@ -55,16 +57,20 @@ export const self = vars => {
|
|
|
55
57
|
// modal
|
|
56
58
|
borderColorModal: composite(modalColor, dividerColor),
|
|
57
59
|
tdColorHoverModal: composite(modalColor, tableColorHover),
|
|
60
|
+
tdColorSortingModal: composite(modalColor, tableColorHover),
|
|
58
61
|
tdColorStripedModal: composite(modalColor, tableColorStriped),
|
|
59
62
|
thColorModal: composite(modalColor, tableHeaderColor),
|
|
60
63
|
thColorHoverModal: composite(composite(modalColor, tableHeaderColor), tableColorHover),
|
|
64
|
+
thColorSortingModal: composite(composite(modalColor, tableHeaderColor), tableColorHover),
|
|
61
65
|
tdColorModal: modalColor,
|
|
62
66
|
// popover
|
|
63
67
|
borderColorPopover: composite(popoverColor, dividerColor),
|
|
64
68
|
tdColorHoverPopover: composite(popoverColor, tableColorHover),
|
|
69
|
+
tdColorSortingPopover: composite(popoverColor, tableColorHover),
|
|
65
70
|
tdColorStripedPopover: composite(popoverColor, tableColorStriped),
|
|
66
71
|
thColorPopover: composite(popoverColor, tableHeaderColor),
|
|
67
72
|
thColorHoverPopover: composite(composite(popoverColor, tableHeaderColor), tableColorHover),
|
|
73
|
+
thColorSortingPopover: composite(composite(popoverColor, tableHeaderColor), tableColorHover),
|
|
68
74
|
tdColorPopover: popoverColor,
|
|
69
75
|
boxShadowBefore: 'inset -12px 0 8px -12px rgba(0, 0, 0, .18)',
|
|
70
76
|
boxShadowAfter: 'inset 12px 0 8px -12px rgba(0, 0, 0, .18)',
|
|
@@ -73,7 +79,7 @@ export const self = vars => {
|
|
|
73
79
|
loadingSize: heightSmall,
|
|
74
80
|
opacityLoading: opacityDisabled
|
|
75
81
|
});
|
|
76
|
-
}
|
|
82
|
+
}
|
|
77
83
|
const dataTableLight = createTheme({
|
|
78
84
|
name: 'DataTable',
|
|
79
85
|
common: commonLight,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as NDatePicker
|
|
2
|
-
export
|
|
3
|
-
export type
|
|
1
|
+
export { default as NDatePicker } from './src/DatePicker';
|
|
2
|
+
export { datePickerProps } from './src/props';
|
|
3
|
+
export type * from './src/public-types';
|
package/es/date-picker/index.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default as NDatePicker
|
|
1
|
+
export { default as NDatePicker } from "./src/DatePicker.mjs";
|
|
2
|
+
export { datePickerProps } from "./src/props.mjs";
|