naive-ui 2.41.1 → 2.43.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/dist/index.js +3349 -1068
- package/dist/index.mjs +3339 -1070
- package/dist/index.prod.js +1 -1
- package/dist/index.prod.mjs +1 -1
- package/es/_internal/icon/src/styles/index.cssr.mjs +0 -1
- package/es/_internal/icons/replaceable.mjs +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
- package/es/_internal/select-menu/src/SelectMenu.d.ts +4 -4
- package/es/_internal/selection/src/Selection.d.ts +115 -13
- package/es/_internal/selection/styles/light.d.ts +14 -1
- package/es/_mixins/use-theme.mjs +1 -1
- package/es/_utils/index.d.ts +1 -0
- package/es/_utils/naive/prop.d.ts +19 -10
- package/es/_utils/naive/prop.mjs +21 -21
- package/es/_utils/ts/ts.d.ts +3 -0
- package/es/alert/src/Alert.d.ts +2 -2
- package/es/anchor/index.d.ts +1 -0
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.mjs +29 -5
- package/es/anchor/src/Link.d.ts +3 -2
- package/es/anchor/src/Link.mjs +5 -2
- package/es/anchor/src/public-types.d.ts +5 -0
- package/es/anchor/src/public-types.mjs +1 -0
- package/es/auto-complete/src/AutoComplete.d.ts +155 -14
- package/es/auto-complete/styles/light.d.ts +14 -1
- package/es/avatar-group/index.d.ts +3 -2
- package/es/avatar-group/src/AvatarGroup.d.ts +1 -4
- package/es/avatar-group/src/generic-public-types.d.ts +18 -0
- package/es/avatar-group/src/generic-public-types.mjs +1 -0
- package/es/avatar-group/src/public-types.d.ts +10 -0
- package/es/avatar-group/src/public-types.mjs +1 -0
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/badge/src/Badge.d.ts +1 -1
- package/es/button/src/Button.d.ts +1 -1
- package/es/card/src/Card.d.ts +7 -2
- package/es/card/src/Card.mjs +3 -1
- package/es/carousel/src/Carousel.d.ts +4 -4
- package/es/carousel/src/Carousel.mjs +2 -2
- package/es/carousel/src/CarouselDots.d.ts +2 -2
- package/es/carousel/src/CarouselItem.mjs +1 -1
- package/es/cascader/src/Cascader.d.ts +163 -20
- package/es/cascader/src/CascaderMenu.d.ts +56 -4
- package/es/cascader/src/CascaderOption.d.ts +56 -4
- package/es/cascader/src/CascaderSelectMenu.d.ts +57 -5
- package/es/cascader/src/CascaderSubmenu.d.ts +56 -4
- package/es/cascader/styles/light.d.ts +14 -1
- package/es/color-picker/src/ColorInputUnit.d.ts +26 -2
- package/es/color-picker/src/ColorPicker.d.ts +128 -11
- package/es/color-picker/src/ColorPickerTrigger.mjs +2 -1
- package/es/color-picker/src/utils.d.ts +2 -0
- package/es/color-picker/src/utils.mjs +23 -0
- package/es/color-picker/styles/light.d.ts +17 -4
- package/es/components.d.ts +1 -0
- package/es/components.mjs +1 -0
- package/es/config-provider/src/ConfigProvider.d.ts +1 -1
- package/es/config-provider/src/ConfigProvider.mjs +1 -1
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/src/DataTable.d.ts +690 -68
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +334 -26
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +332 -24
- package/es/data-table/src/TableParts/Body.d.ts +332 -24
- package/es/data-table/src/TableParts/Cell.mjs +1 -1
- package/es/data-table/src/TableParts/Header.d.ts +332 -24
- package/es/data-table/src/interface.d.ts +253 -18
- package/es/data-table/src/use-sorter.d.ts +2 -5
- package/es/data-table/src/use-table-data.d.ts +1 -4
- package/es/data-table/src/utils.mjs +4 -1
- package/es/data-table/styles/light.d.ts +84 -6
- package/es/date-picker/src/DatePicker.d.ts +229 -23
- package/es/date-picker/src/DatePicker.mjs +1 -1
- package/es/date-picker/src/panel/date.d.ts +110 -10
- package/es/date-picker/src/panel/daterange.d.ts +111 -11
- package/es/date-picker/src/panel/datetime.d.ts +111 -11
- package/es/date-picker/src/panel/datetime.mjs +1 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +112 -12
- package/es/date-picker/src/panel/datetimerange.mjs +2 -2
- package/es/date-picker/src/panel/month.d.ts +110 -10
- package/es/date-picker/src/panel/monthrange.d.ts +111 -11
- package/es/date-picker/src/panel/panelHeader.d.ts +436 -36
- package/es/date-picker/src/panel/use-calendar.d.ts +109 -9
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +110 -10
- package/es/date-picker/src/panel/use-dual-calendar.mjs +3 -3
- package/es/date-picker/src/panel/use-panel-common.d.ts +109 -9
- package/es/date-picker/src/panel/use-panel-common.mjs +1 -1
- package/es/date-picker/src/props.d.ts +85 -7
- package/es/date-picker/src/props.mjs +1 -1
- package/es/date-picker/src/utils.d.ts +2 -1
- package/es/date-picker/src/utils.mjs +4 -1
- package/es/date-picker/styles/light.d.ts +28 -2
- package/es/dialog/src/Dialog.d.ts +9 -6
- package/es/dialog/src/Dialog.mjs +1 -0
- package/es/dialog/src/DialogEnvironment.d.ts +11 -4
- package/es/dialog/src/DialogEnvironment.mjs +3 -0
- package/es/dialog/src/DialogProvider.d.ts +38 -34
- package/es/dialog/src/dialogProps.d.ts +2 -1
- package/es/dialog/src/dialogProps.mjs +2 -1
- package/es/drawer/src/Drawer.d.ts +4 -4
- package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +165 -24
- package/es/dropdown/src/DropdownMenu.d.ts +2 -2
- package/es/dropdown/src/DropdownOption.d.ts +2 -2
- package/es/dropdown/styles/light.d.ts +16 -3
- package/es/dynamic-input/src/DynamicInput.d.ts +153 -12
- package/es/dynamic-input/src/InputPreset.d.ts +52 -4
- package/es/dynamic-input/src/PairPreset.d.ts +52 -4
- package/es/dynamic-input/styles/light.d.ts +14 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +153 -12
- package/es/dynamic-tags/styles/light.d.ts +14 -1
- package/es/element/src/Element.mjs +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +154 -11
- package/es/ellipsis/src/PerformantEllipsis.d.ts +84 -6
- package/es/ellipsis/styles/light.d.ts +14 -1
- package/es/empty/src/Empty.d.ts +1 -1
- package/es/form/src/FormItem.d.ts +8 -2
- package/es/form/src/FormItem.mjs +6 -3
- package/es/form/src/FormItemCol.d.ts +7 -1
- package/es/form/src/FormItemGridItem.d.ts +7 -1
- package/es/form/src/FormItemRow.d.ts +7 -1
- package/es/form/src/utils.d.ts +1 -1
- package/es/form/src/utils.mjs +1 -1
- package/es/global-style/src/GlobalStyle.mjs +1 -1
- package/es/gradient-text/src/GradientText.d.ts +2 -2
- package/es/grid/src/GridItem.d.ts +1 -1
- package/es/heatmap/index.d.ts +6 -0
- package/es/heatmap/index.mjs +4 -0
- package/es/heatmap/src/ColorIndicator.d.ts +25 -0
- package/es/heatmap/src/ColorIndicator.mjs +41 -0
- package/es/heatmap/src/Heatmap.d.ts +385 -0
- package/es/heatmap/src/Heatmap.mjs +333 -0
- package/es/heatmap/src/Rect.d.ts +57 -0
- package/es/heatmap/src/Rect.mjs +67 -0
- package/es/heatmap/src/animationStyle.d.ts +6 -0
- package/es/heatmap/src/animationStyle.mjs +51 -0
- package/es/heatmap/src/interface.d.ts +7 -0
- package/es/heatmap/src/interface.mjs +1 -0
- package/es/heatmap/src/public-types.d.ts +16 -0
- package/es/heatmap/src/public-types.mjs +1 -0
- package/es/heatmap/src/styles/index.cssr.d.ts +2 -0
- package/es/heatmap/src/styles/index.cssr.mjs +102 -0
- package/es/heatmap/src/styles/rtl.cssr.d.ts +2 -0
- package/es/heatmap/src/styles/rtl.cssr.mjs +4 -0
- package/es/heatmap/src/theme.d.ts +8 -0
- package/es/heatmap/src/theme.mjs +7 -0
- package/es/heatmap/src/utils/index.d.ts +32 -0
- package/es/heatmap/src/utils/index.mjs +148 -0
- package/es/heatmap/styles/dark.d.ts +3 -0
- package/es/heatmap/styles/dark.mjs +16 -0
- package/es/heatmap/styles/index.d.ts +3 -0
- package/es/heatmap/styles/index.mjs +2 -0
- package/es/heatmap/styles/light.d.ts +31 -0
- package/es/heatmap/styles/light.mjs +45 -0
- package/es/heatmap/styles/rtl.d.ts +2 -0
- package/es/heatmap/styles/rtl.mjs +5 -0
- package/es/highlight/src/utils.mjs +10 -10
- package/es/icon/src/styles/index.cssr.mjs +0 -1
- package/es/image/index.d.ts +3 -1
- package/es/image/index.mjs +2 -1
- package/es/image/src/Image.d.ts +133 -23
- package/es/image/src/Image.mjs +48 -23
- package/es/image/src/ImageGroup.d.ts +200 -35
- package/es/image/src/ImageGroup.mjs +130 -26
- package/es/image/src/ImagePreview.d.ts +258 -23
- package/es/image/src/ImagePreview.mjs +84 -42
- package/es/image/src/interface.d.ts +42 -3
- package/es/image/src/public-types.d.ts +14 -0
- package/es/image/styles/light.d.ts +14 -1
- package/es/input/src/Input.d.ts +146 -12
- package/es/input/src/Input.mjs +6 -4
- package/es/input/src/InputGroupLabel.d.ts +129 -22
- package/es/input/src/InputGroupLabel.mjs +14 -8
- package/es/input/styles/dark.d.ts +139 -2
- package/es/input/styles/dark.mjs +114 -108
- package/es/input/styles/light.d.ts +76 -3
- package/es/input/styles/light.mjs +7 -2
- package/es/input-number/src/InputNumber.d.ts +152 -11
- package/es/input-number/styles/light.d.ts +14 -1
- package/es/input-otp/src/InputOtp.d.ts +158 -12
- package/es/input-otp/src/InputOtp.mjs +12 -4
- package/es/input-otp/src/public-types.d.ts +1 -0
- package/es/input-otp/src/styles/index.cssr.mjs +12 -3
- package/es/input-otp/styles/dark.mjs +1 -1
- package/es/input-otp/styles/light.d.ts +14 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +154 -13
- package/es/legacy-transfer/src/TransferFilter.d.ts +52 -4
- package/es/legacy-transfer/src/TransferList.d.ts +52 -4
- package/es/legacy-transfer/src/TransferListItem.d.ts +52 -4
- package/es/legacy-transfer/styles/light.d.ts +14 -1
- package/es/locales/common/arDZ.mjs +6 -0
- package/es/locales/common/azAZ.mjs +6 -0
- package/es/locales/common/csCZ.mjs +6 -0
- package/es/locales/common/daDK.d.ts +3 -0
- package/es/locales/common/daDK.mjs +130 -0
- package/es/locales/common/deDE.mjs +6 -0
- package/es/locales/common/enGB.mjs +6 -0
- package/es/locales/common/enUS.d.ts +6 -0
- package/es/locales/common/enUS.mjs +6 -0
- package/es/locales/common/eo.mjs +6 -0
- package/es/locales/common/esAR.mjs +6 -0
- package/es/locales/common/etEE.mjs +6 -0
- package/es/locales/common/faIR.mjs +6 -0
- package/es/locales/common/frFR.mjs +6 -0
- package/es/locales/common/idID.mjs +6 -0
- package/es/locales/common/itIT.mjs +6 -0
- package/es/locales/common/jaJP.mjs +6 -0
- package/es/locales/common/kmKH.mjs +6 -0
- package/es/locales/common/koKR.mjs +6 -0
- package/es/locales/common/nbNO.mjs +6 -0
- package/es/locales/common/nlNL.mjs +6 -0
- package/es/locales/common/plPL.mjs +6 -0
- package/es/locales/common/ptBR.mjs +6 -0
- package/es/locales/common/ruRU.mjs +6 -0
- package/es/locales/common/skSK.mjs +6 -0
- package/es/locales/common/svSE.mjs +8 -2
- package/es/locales/common/thTH.mjs +6 -0
- package/es/locales/common/trTR.mjs +6 -0
- package/es/locales/common/ugCN.mjs +6 -0
- package/es/locales/common/ukUA.mjs +6 -0
- package/es/locales/common/uzUZ.mjs +6 -0
- package/es/locales/common/viVN.mjs +6 -0
- package/es/locales/common/zhCN.mjs +6 -0
- package/es/locales/common/zhTW.mjs +6 -0
- package/es/locales/date/daDK.d.ts +3 -0
- package/es/locales/date/daDK.mjs +6 -0
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.mjs +2 -0
- package/es/locales/utils/index.mjs +1 -1
- package/es/log/src/Log.d.ts +1 -1
- package/es/log/src/Log.mjs +1 -1
- package/es/marquee/src/Marquee.mjs +12 -10
- package/es/mention/src/Mention.d.ts +155 -14
- package/es/mention/styles/light.d.ts +14 -1
- package/es/menu/src/Menu.d.ts +314 -28
- package/es/menu/src/MenuOption.d.ts +113 -9
- package/es/menu/src/MenuOption.mjs +4 -3
- package/es/menu/src/MenuOptionContent.d.ts +1 -1
- package/es/menu/src/MenuOptionGroup.d.ts +1 -1
- package/es/menu/src/MenuOptionGroup.mjs +11 -4
- package/es/menu/src/Submenu.d.ts +114 -10
- package/es/menu/src/use-menu-child.d.ts +2 -0
- package/es/menu/src/use-menu-child.mjs +2 -1
- package/es/menu/styles/light.d.ts +33 -7
- package/es/message/src/Message.d.ts +1 -0
- package/es/message/src/Message.mjs +3 -1
- package/es/message/src/MessageProvider.d.ts +10 -1
- package/es/message/src/styles/index.cssr.mjs +1 -0
- package/es/message/styles/light.d.ts +1 -0
- package/es/message/styles/light.mjs +2 -1
- package/es/modal/src/BodyWrapper.d.ts +13 -7
- package/es/modal/src/BodyWrapper.mjs +4 -3
- package/es/modal/src/Modal.d.ts +32 -15
- package/es/modal/src/Modal.mjs +14 -6
- package/es/modal/src/ModalEnvironment.d.ts +22 -10
- package/es/modal/src/ModalEnvironment.mjs +1 -1
- package/es/modal/src/ModalProvider.d.ts +2 -1
- package/es/modal/src/ModalProvider.mjs +4 -2
- package/es/modal/src/presetProps.d.ts +3 -2
- package/es/modal/src/styles/index.cssr.mjs +4 -2
- package/es/notification/src/Notification.d.ts +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +1 -1
- package/es/notification/src/NotificationProvider.d.ts +5 -5
- package/es/number-animation/src/NumberAnimation.mjs +1 -1
- package/es/pagination/src/Pagination.d.ts +460 -33
- package/es/pagination/styles/light.d.ts +42 -3
- package/es/popconfirm/src/Popconfirm.d.ts +163 -22
- package/es/popconfirm/src/Popconfirm.mjs +3 -3
- package/es/popconfirm/src/PopconfirmPanel.d.ts +3 -3
- package/es/popconfirm/styles/light.d.ts +14 -1
- package/es/popover/src/Popover.d.ts +133 -16
- package/es/popover/src/PopoverBody.d.ts +129 -12
- package/es/popover/src/PopoverBody.mjs +8 -4
- package/es/popover/src/styles/index.cssr.mjs +1 -1
- package/es/popover/src/styles/rtl.cssr.d.ts +2 -0
- package/es/popover/src/styles/rtl.cssr.mjs +5 -0
- package/es/popover/styles/dark.mjs +4 -0
- package/es/popover/styles/index.d.ts +1 -0
- package/es/popover/styles/index.mjs +2 -1
- package/es/popover/styles/light.d.ts +27 -2
- package/es/popover/styles/light.mjs +7 -2
- package/es/popover/styles/rtl.d.ts +2 -0
- package/es/popover/styles/rtl.mjs +7 -0
- package/es/popselect/src/Popselect.d.ts +217 -76
- package/es/popselect/src/PopselectPanel.d.ts +55 -7
- package/es/popselect/styles/light.d.ts +14 -1
- package/es/progress/src/Circle.d.ts +1 -1
- package/es/progress/src/Circle.mjs +14 -3
- package/es/progress/src/Progress.d.ts +1 -1
- package/es/radio/src/Radio.mjs +5 -5
- package/es/radio/src/RadioButton.d.ts +2 -2
- package/es/radio/src/styles/radio.cssr.mjs +3 -7
- package/es/rate/src/Rate.d.ts +1 -1
- package/es/result/src/Result.d.ts +1 -1
- package/es/select/src/Select.d.ts +164 -21
- package/es/select/styles/light.d.ts +14 -1
- package/es/styles.d.ts +3 -3
- package/es/styles.mjs +3 -3
- package/es/tabs/src/Tab.d.ts +3 -3
- package/es/tabs/src/Tabs.d.ts +1 -1
- package/es/tabs/src/Tabs.mjs +1 -1
- package/es/tabs/src/styles/index.cssr.mjs +4 -4
- package/es/tag/src/Tag.d.ts +1 -1
- package/es/theme-editor/src/ThemeEditor.mjs +1 -1
- package/es/themes/dark.mjs +2 -0
- package/es/themes/light.mjs +2 -0
- package/es/time-picker/src/Panel.d.ts +59 -11
- package/es/time-picker/src/TimePicker.d.ts +156 -15
- package/es/time-picker/styles/light.d.ts +14 -1
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/tooltip/src/Tooltip.d.ts +166 -25
- package/es/tooltip/styles/light.d.ts +16 -3
- package/es/transfer/src/Transfer.d.ts +154 -13
- package/es/transfer/src/TransferFilter.d.ts +52 -4
- package/es/transfer/src/TransferList.d.ts +52 -4
- package/es/transfer/src/TransferListItem.d.ts +52 -4
- package/es/transfer/styles/light.d.ts +14 -1
- package/es/tree/src/Tree.d.ts +42 -38
- package/es/tree/src/Tree.mjs +3 -1
- package/es/tree/src/TreeNode.d.ts +2 -2
- package/es/tree/src/TreeNodeContent.d.ts +3 -3
- package/es/tree/src/styles/index.cssr.mjs +7 -2
- package/es/tree/styles/light.d.ts +4 -4
- package/es/tree-select/src/TreeSelect.d.ts +172 -29
- package/es/tree-select/styles/index.d.ts +1 -0
- package/es/tree-select/styles/index.mjs +2 -1
- package/es/tree-select/styles/light.d.ts +22 -9
- package/es/tree-select/styles/rtl.d.ts +2 -0
- package/es/tree-select/styles/rtl.mjs +11 -0
- package/es/typography/src/create-header.d.ts +1 -1
- package/es/typography/src/headers.d.ts +6 -6
- package/es/upload/src/Upload.d.ts +1 -0
- package/es/upload/src/Upload.mjs +6 -3
- package/es/upload/src/UploadFile.d.ts +8 -6
- package/es/upload/src/UploadFile.mjs +1 -1
- package/es/upload/src/icons.d.ts +2 -2
- package/es/upload/src/icons.mjs +22 -18
- package/es/upload/src/styles/rtl.cssr.d.ts +2 -0
- package/es/upload/src/styles/rtl.cssr.mjs +5 -0
- package/es/upload/styles/index.d.ts +1 -0
- package/es/upload/styles/index.mjs +2 -1
- package/es/upload/styles/rtl.d.ts +2 -0
- package/es/upload/styles/rtl.mjs +5 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/virtual-list/src/VirtualList.d.ts +1 -1
- package/generic/AvatarGroup.vue +26 -0
- package/generic/index.ts +1 -0
- package/lib/_internal/icon/src/styles/index.cssr.js +0 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +4 -4
- package/lib/_internal/selection/src/Selection.d.ts +115 -13
- package/lib/_internal/selection/styles/light.d.ts +14 -1
- package/lib/_utils/index.d.ts +1 -0
- package/lib/_utils/naive/prop.d.ts +19 -10
- package/lib/_utils/naive/prop.js +21 -21
- package/lib/_utils/ts/ts.d.ts +3 -0
- package/lib/alert/src/Alert.d.ts +2 -2
- package/lib/anchor/index.d.ts +1 -0
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/AnchorAdapter.js +17 -7
- package/lib/anchor/src/BaseAnchor.js +30 -5
- package/lib/anchor/src/Link.d.ts +3 -2
- package/lib/anchor/src/Link.js +4 -1
- package/lib/anchor/src/public-types.d.ts +5 -0
- package/lib/anchor/src/public-types.js +2 -0
- package/lib/auto-complete/src/AutoComplete.d.ts +155 -14
- package/lib/auto-complete/styles/light.d.ts +14 -1
- package/lib/avatar-group/index.d.ts +3 -2
- package/lib/avatar-group/src/AvatarGroup.d.ts +1 -4
- package/lib/avatar-group/src/generic-public-types.d.ts +18 -0
- package/lib/avatar-group/src/generic-public-types.js +2 -0
- package/lib/avatar-group/src/public-types.d.ts +10 -0
- package/lib/avatar-group/src/public-types.js +2 -0
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/badge/src/Badge.d.ts +1 -1
- package/lib/button/src/Button.d.ts +1 -1
- package/lib/card/src/Card.d.ts +7 -2
- package/lib/card/src/Card.js +3 -2
- package/lib/carousel/src/Carousel.d.ts +4 -4
- package/lib/carousel/src/Carousel.js +19 -9
- package/lib/carousel/src/CarouselDots.d.ts +2 -2
- package/lib/cascader/src/Cascader.d.ts +163 -20
- package/lib/cascader/src/CascaderMenu.d.ts +56 -4
- package/lib/cascader/src/CascaderOption.d.ts +56 -4
- package/lib/cascader/src/CascaderSelectMenu.d.ts +57 -5
- package/lib/cascader/src/CascaderSubmenu.d.ts +56 -4
- package/lib/cascader/styles/light.d.ts +14 -1
- package/lib/color-picker/src/ColorInputUnit.d.ts +26 -2
- package/lib/color-picker/src/ColorPicker.d.ts +128 -11
- package/lib/color-picker/src/ColorPickerTrigger.js +2 -1
- package/lib/color-picker/src/utils.d.ts +2 -0
- package/lib/color-picker/src/utils.js +26 -0
- package/lib/color-picker/styles/light.d.ts +14 -1
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/src/DataTable.d.ts +674 -52
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +333 -25
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +332 -24
- package/lib/data-table/src/TableParts/Body.d.ts +332 -24
- package/lib/data-table/src/TableParts/Header.d.ts +332 -24
- package/lib/data-table/src/interface.d.ts +253 -18
- package/lib/data-table/src/use-sorter.d.ts +2 -5
- package/lib/data-table/src/use-table-data.d.ts +1 -4
- package/lib/data-table/src/utils.js +2 -1
- package/lib/data-table/styles/light.d.ts +84 -6
- package/lib/date-picker/src/DatePicker.d.ts +229 -23
- package/lib/date-picker/src/DatePicker.js +1 -1
- package/lib/date-picker/src/panel/date.d.ts +110 -10
- package/lib/date-picker/src/panel/daterange.d.ts +111 -11
- package/lib/date-picker/src/panel/datetime.d.ts +110 -10
- package/lib/date-picker/src/panel/datetime.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +111 -11
- package/lib/date-picker/src/panel/datetimerange.js +2 -2
- package/lib/date-picker/src/panel/month.d.ts +110 -10
- package/lib/date-picker/src/panel/monthrange.d.ts +111 -11
- package/lib/date-picker/src/panel/panelHeader.d.ts +436 -36
- package/lib/date-picker/src/panel/use-calendar.d.ts +109 -9
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +110 -10
- package/lib/date-picker/src/panel/use-dual-calendar.js +3 -3
- package/lib/date-picker/src/panel/use-panel-common.d.ts +109 -9
- package/lib/date-picker/src/panel/use-panel-common.js +1 -1
- package/lib/date-picker/src/props.d.ts +85 -7
- package/lib/date-picker/src/props.js +1 -1
- package/lib/date-picker/src/utils.d.ts +2 -1
- package/lib/date-picker/src/utils.js +5 -1
- package/lib/date-picker/styles/light.d.ts +28 -2
- package/lib/dialog/src/Dialog.d.ts +5 -2
- package/lib/dialog/src/Dialog.js +1 -1
- package/lib/dialog/src/DialogEnvironment.d.ts +11 -4
- package/lib/dialog/src/DialogEnvironment.js +3 -3
- package/lib/dialog/src/DialogProvider.d.ts +38 -34
- package/lib/dialog/src/dialogProps.d.ts +2 -1
- package/lib/dialog/src/dialogProps.js +2 -1
- package/lib/drawer/src/Drawer.d.ts +4 -4
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +162 -21
- package/lib/dropdown/src/DropdownMenu.d.ts +2 -2
- package/lib/dropdown/styles/light.d.ts +14 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +153 -12
- package/lib/dynamic-input/src/InputPreset.d.ts +52 -4
- package/lib/dynamic-input/src/PairPreset.d.ts +52 -4
- package/lib/dynamic-input/styles/light.d.ts +14 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +153 -12
- package/lib/dynamic-tags/styles/light.d.ts +14 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +154 -11
- package/lib/ellipsis/src/PerformantEllipsis.d.ts +84 -6
- package/lib/ellipsis/src/PerformantEllipsis.js +17 -7
- package/lib/ellipsis/styles/light.d.ts +14 -1
- package/lib/empty/src/Empty.d.ts +1 -1
- package/lib/form/src/FormItem.d.ts +8 -2
- package/lib/form/src/FormItem.js +3 -2
- package/lib/form/src/FormItemCol.d.ts +7 -1
- package/lib/form/src/FormItemCol.js +17 -7
- package/lib/form/src/FormItemGridItem.d.ts +7 -1
- package/lib/form/src/FormItemGridItem.js +17 -7
- package/lib/form/src/FormItemRow.d.ts +7 -1
- package/lib/form/src/FormItemRow.js +17 -7
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +2 -2
- package/lib/grid/src/GridItem.d.ts +1 -1
- package/lib/heatmap/index.d.ts +6 -0
- package/lib/heatmap/index.js +27 -0
- package/lib/heatmap/src/ColorIndicator.d.ts +25 -0
- package/lib/heatmap/src/ColorIndicator.js +27 -0
- package/lib/heatmap/src/Heatmap.d.ts +385 -0
- package/lib/heatmap/src/Heatmap.js +248 -0
- package/lib/heatmap/src/Rect.d.ts +57 -0
- package/lib/heatmap/src/Rect.js +64 -0
- package/lib/heatmap/src/animationStyle.d.ts +6 -0
- package/lib/heatmap/src/animationStyle.js +52 -0
- package/lib/heatmap/src/interface.d.ts +7 -0
- package/lib/heatmap/src/interface.js +2 -0
- package/lib/heatmap/src/public-types.d.ts +16 -0
- package/lib/heatmap/src/public-types.js +2 -0
- package/lib/heatmap/src/styles/index.cssr.d.ts +2 -0
- package/lib/heatmap/src/styles/index.cssr.js +107 -0
- package/lib/heatmap/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/heatmap/src/styles/rtl.cssr.js +9 -0
- package/lib/heatmap/src/theme.d.ts +8 -0
- package/lib/heatmap/src/theme.js +10 -0
- package/lib/heatmap/src/utils/index.d.ts +32 -0
- package/lib/heatmap/src/utils/index.js +135 -0
- package/lib/heatmap/styles/dark.d.ts +3 -0
- package/lib/heatmap/styles/dark.js +13 -0
- package/lib/heatmap/styles/index.d.ts +3 -0
- package/lib/heatmap/styles/index.js +10 -0
- package/lib/heatmap/styles/light.d.ts +31 -0
- package/lib/heatmap/styles/light.js +39 -0
- package/lib/heatmap/styles/rtl.d.ts +2 -0
- package/lib/heatmap/styles/rtl.js +11 -0
- package/lib/highlight/src/utils.js +10 -21
- package/lib/icon/src/styles/index.cssr.js +0 -1
- package/lib/image/index.d.ts +3 -1
- package/lib/image/index.js +4 -1
- package/lib/image/src/Image.d.ts +133 -23
- package/lib/image/src/Image.js +43 -23
- package/lib/image/src/ImageGroup.d.ts +200 -35
- package/lib/image/src/ImageGroup.js +111 -26
- package/lib/image/src/ImagePreview.d.ts +258 -23
- package/lib/image/src/ImagePreview.js +60 -33
- package/lib/image/src/interface.d.ts +42 -3
- package/lib/image/src/public-types.d.ts +14 -0
- package/lib/image/styles/light.d.ts +14 -1
- package/lib/input/src/Input.d.ts +146 -12
- package/lib/input/src/Input.js +24 -12
- package/lib/input/src/InputGroupLabel.d.ts +129 -22
- package/lib/input/src/InputGroupLabel.js +8 -6
- package/lib/input/styles/dark.d.ts +139 -2
- package/lib/input/styles/dark.js +35 -29
- package/lib/input/styles/light.d.ts +76 -3
- package/lib/input/styles/light.js +7 -2
- package/lib/input-number/src/InputNumber.d.ts +152 -11
- package/lib/input-number/styles/light.d.ts +14 -1
- package/lib/input-otp/src/InputOtp.d.ts +158 -12
- package/lib/input-otp/src/InputOtp.js +12 -16
- package/lib/input-otp/src/public-types.d.ts +1 -0
- package/lib/input-otp/src/styles/index.cssr.js +11 -2
- package/lib/input-otp/styles/dark.js +1 -1
- package/lib/input-otp/styles/light.d.ts +14 -1
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +154 -13
- package/lib/legacy-transfer/src/TransferFilter.d.ts +52 -4
- package/lib/legacy-transfer/src/TransferList.d.ts +52 -4
- package/lib/legacy-transfer/src/TransferListItem.d.ts +52 -4
- package/lib/legacy-transfer/styles/light.d.ts +14 -1
- package/lib/locales/common/arDZ.js +6 -0
- package/lib/locales/common/azAZ.js +6 -0
- package/lib/locales/common/csCZ.js +6 -0
- package/lib/locales/common/daDK.d.ts +3 -0
- package/lib/locales/common/daDK.js +132 -0
- package/lib/locales/common/deDE.js +6 -0
- package/lib/locales/common/enGB.js +6 -0
- package/lib/locales/common/enUS.d.ts +6 -0
- package/lib/locales/common/enUS.js +6 -0
- package/lib/locales/common/eo.js +6 -0
- package/lib/locales/common/esAR.js +6 -0
- package/lib/locales/common/etEE.js +6 -0
- package/lib/locales/common/faIR.js +6 -0
- package/lib/locales/common/frFR.js +6 -0
- package/lib/locales/common/idID.js +6 -0
- package/lib/locales/common/itIT.js +6 -0
- package/lib/locales/common/jaJP.js +6 -0
- package/lib/locales/common/kmKH.js +6 -0
- package/lib/locales/common/koKR.js +6 -0
- package/lib/locales/common/nbNO.js +6 -0
- package/lib/locales/common/nlNL.js +6 -0
- package/lib/locales/common/plPL.js +6 -0
- package/lib/locales/common/ptBR.js +6 -0
- package/lib/locales/common/ruRU.js +6 -0
- package/lib/locales/common/skSK.js +6 -0
- package/lib/locales/common/svSE.js +8 -2
- package/lib/locales/common/thTH.js +6 -0
- package/lib/locales/common/trTR.js +6 -0
- package/lib/locales/common/ugCN.js +6 -0
- package/lib/locales/common/ukUA.js +6 -0
- package/lib/locales/common/uzUZ.js +6 -0
- package/lib/locales/common/viVN.js +6 -0
- package/lib/locales/common/zhCN.js +6 -0
- package/lib/locales/common/zhTW.js +6 -0
- package/lib/locales/date/daDK.d.ts +3 -0
- package/lib/locales/date/daDK.js +8 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +6 -2
- package/lib/log/src/Log.d.ts +1 -1
- package/lib/marquee/src/Marquee.js +4 -3
- package/lib/mention/src/Mention.d.ts +155 -14
- package/lib/mention/styles/light.d.ts +14 -1
- package/lib/menu/src/Menu.d.ts +314 -28
- package/lib/menu/src/MenuOption.d.ts +113 -9
- package/lib/menu/src/MenuOption.js +6 -4
- package/lib/menu/src/MenuOptionContent.d.ts +1 -1
- package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
- package/lib/menu/src/MenuOptionGroup.js +8 -2
- package/lib/menu/src/Submenu.d.ts +114 -10
- package/lib/menu/src/use-menu-child.d.ts +2 -0
- package/lib/menu/src/use-menu-child.js +2 -1
- package/lib/menu/styles/light.d.ts +28 -2
- package/lib/message/src/Message.d.ts +1 -0
- package/lib/message/src/Message.js +3 -2
- package/lib/message/src/MessageProvider.d.ts +10 -1
- package/lib/message/src/styles/index.cssr.js +1 -0
- package/lib/message/styles/light.d.ts +1 -0
- package/lib/message/styles/light.js +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +10 -4
- package/lib/modal/src/BodyWrapper.js +7 -3
- package/lib/modal/src/Modal.d.ts +28 -11
- package/lib/modal/src/Modal.js +10 -4
- package/lib/modal/src/ModalEnvironment.d.ts +22 -10
- package/lib/modal/src/ModalEnvironment.js +18 -8
- package/lib/modal/src/ModalProvider.d.ts +2 -1
- package/lib/modal/src/ModalProvider.js +4 -2
- package/lib/modal/src/presetProps.d.ts +2 -1
- package/lib/modal/src/styles/index.cssr.js +3 -1
- package/lib/notification/src/Notification.d.ts +2 -2
- package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +5 -5
- package/lib/pagination/src/Pagination.d.ts +460 -33
- package/lib/pagination/styles/light.d.ts +42 -3
- package/lib/popconfirm/src/Popconfirm.d.ts +159 -18
- package/lib/popconfirm/src/Popconfirm.js +20 -15
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/lib/popconfirm/styles/light.d.ts +14 -1
- package/lib/popover/src/Popover.d.ts +133 -16
- package/lib/popover/src/Popover.js +17 -7
- package/lib/popover/src/PopoverBody.d.ts +129 -12
- package/lib/popover/src/PopoverBody.js +5 -2
- package/lib/popover/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/popover/src/styles/rtl.cssr.js +10 -0
- package/lib/popover/styles/dark.js +4 -0
- package/lib/popover/styles/index.d.ts +1 -0
- package/lib/popover/styles/index.js +3 -1
- package/lib/popover/styles/light.d.ts +27 -2
- package/lib/popover/styles/light.js +7 -2
- package/lib/popover/styles/rtl.d.ts +2 -0
- package/lib/popover/styles/rtl.js +13 -0
- package/lib/popselect/src/Popselect.d.ts +213 -72
- package/lib/popselect/src/Popselect.js +17 -7
- package/lib/popselect/src/PopselectPanel.d.ts +55 -7
- package/lib/popselect/styles/light.d.ts +14 -1
- package/lib/preset.js +17 -7
- package/lib/progress/src/Circle.d.ts +1 -1
- package/lib/progress/src/Circle.js +11 -2
- package/lib/progress/src/Progress.d.ts +1 -1
- package/lib/radio/src/Radio.js +2 -2
- package/lib/radio/src/RadioButton.d.ts +2 -2
- package/lib/radio/src/styles/radio.cssr.js +3 -7
- package/lib/rate/src/Rate.d.ts +1 -1
- package/lib/result/src/Result.d.ts +1 -1
- package/lib/select/src/Select.d.ts +164 -21
- package/lib/select/styles/light.d.ts +14 -1
- package/lib/styles.d.ts +3 -3
- package/lib/styles.js +5 -2
- package/lib/tabs/src/Tab.d.ts +3 -3
- package/lib/tabs/src/Tabs.d.ts +1 -1
- package/lib/tabs/src/styles/index.cssr.js +4 -4
- package/lib/tag/src/Tag.d.ts +1 -1
- package/lib/themes/dark.js +103 -101
- package/lib/themes/light.js +102 -100
- package/lib/time-picker/src/Panel.d.ts +59 -11
- package/lib/time-picker/src/TimePicker.d.ts +156 -15
- package/lib/time-picker/styles/light.d.ts +14 -1
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +159 -18
- package/lib/tooltip/styles/light.d.ts +14 -1
- package/lib/transfer/src/Transfer.d.ts +154 -13
- package/lib/transfer/src/TransferFilter.d.ts +52 -4
- package/lib/transfer/src/TransferList.d.ts +52 -4
- package/lib/transfer/src/TransferListItem.d.ts +52 -4
- package/lib/transfer/styles/light.d.ts +14 -1
- package/lib/tree/src/Tree.d.ts +42 -38
- package/lib/tree/src/Tree.js +4 -3
- package/lib/tree/src/TreeNode.d.ts +2 -2
- package/lib/tree/src/TreeNodeContent.d.ts +3 -3
- package/lib/tree/src/styles/index.cssr.js +7 -2
- package/lib/tree-select/src/TreeSelect.d.ts +169 -26
- package/lib/tree-select/styles/index.d.ts +1 -0
- package/lib/tree-select/styles/index.js +3 -1
- package/lib/tree-select/styles/light.d.ts +14 -1
- package/lib/tree-select/styles/rtl.d.ts +2 -0
- package/lib/tree-select/styles/rtl.js +20 -0
- package/lib/typography/src/create-header.d.ts +1 -1
- package/lib/typography/src/headers.d.ts +6 -6
- package/lib/upload/src/Upload.d.ts +1 -0
- package/lib/upload/src/Upload.js +4 -3
- package/lib/upload/src/UploadFile.d.ts +4 -2
- package/lib/upload/src/UploadFile.js +1 -1
- package/lib/upload/src/icons.d.ts +2 -2
- package/lib/upload/src/icons.js +12 -7
- package/lib/upload/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/upload/src/styles/rtl.cssr.js +10 -0
- package/lib/upload/styles/index.d.ts +1 -0
- package/lib/upload/styles/index.js +3 -1
- package/lib/upload/styles/rtl.d.ts +2 -0
- package/lib/upload/styles/rtl.js +11 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/src/VirtualList.d.ts +1 -1
- package/package.json +30 -19
- package/volar.d.ts +24 -22
- package/web-types.json +599 -61
- package/es/avatar-group/src/interface.d.ts +0 -8
- package/lib/avatar-group/src/interface.d.ts +0 -8
- /package/es/{avatar-group/src/interface.mjs → _utils/ts/ts.mjs} +0 -0
- /package/lib/{avatar-group/src/interface.js → _utils/ts/ts.js} +0 -0
|
@@ -61,7 +61,7 @@ export declare const treeSelectProps: {
|
|
|
61
61
|
readonly 'onUpdate:indeterminateKeys': PropType<MaybeArray<import("../../tree/src/Tree").OnUpdateIndeterminateKeys>>;
|
|
62
62
|
readonly onUpdateExpandedKeys: PropType<MaybeArray<import("../../tree/src/Tree").onUpdateExpandedKeys>>;
|
|
63
63
|
readonly 'onUpdate:expandedKeys': PropType<MaybeArray<import("../../tree/src/Tree").onUpdateExpandedKeys>>;
|
|
64
|
-
readonly overrideDefaultNodeClickBehavior: PropType<import("
|
|
64
|
+
readonly overrideDefaultNodeClickBehavior: PropType<import("..").TreeSelectOverrideNodeClickBehavior>;
|
|
65
65
|
readonly bordered: {
|
|
66
66
|
readonly type: BooleanConstructor;
|
|
67
67
|
readonly default: true;
|
|
@@ -296,7 +296,20 @@ export declare const treeSelectProps: {
|
|
|
296
296
|
arrowOffsetVertical: string;
|
|
297
297
|
arrowHeight: string;
|
|
298
298
|
padding: string;
|
|
299
|
-
},
|
|
299
|
+
}, {
|
|
300
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
301
|
+
height: string;
|
|
302
|
+
width: string;
|
|
303
|
+
borderRadius: string;
|
|
304
|
+
color: string;
|
|
305
|
+
colorHover: string;
|
|
306
|
+
railInsetHorizontalBottom: string;
|
|
307
|
+
railInsetHorizontalTop: string;
|
|
308
|
+
railInsetVerticalRight: string;
|
|
309
|
+
railInsetVerticalLeft: string;
|
|
310
|
+
railColor: string;
|
|
311
|
+
}, any>;
|
|
312
|
+
}>;
|
|
300
313
|
}>;
|
|
301
314
|
}>>;
|
|
302
315
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"TreeSelect", {
|
|
@@ -469,7 +482,20 @@ export declare const treeSelectProps: {
|
|
|
469
482
|
arrowOffsetVertical: string;
|
|
470
483
|
arrowHeight: string;
|
|
471
484
|
padding: string;
|
|
472
|
-
},
|
|
485
|
+
}, {
|
|
486
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
487
|
+
height: string;
|
|
488
|
+
width: string;
|
|
489
|
+
borderRadius: string;
|
|
490
|
+
color: string;
|
|
491
|
+
colorHover: string;
|
|
492
|
+
railInsetHorizontalBottom: string;
|
|
493
|
+
railInsetHorizontalTop: string;
|
|
494
|
+
railInsetVerticalRight: string;
|
|
495
|
+
railInsetVerticalLeft: string;
|
|
496
|
+
railColor: string;
|
|
497
|
+
}, any>;
|
|
498
|
+
}>;
|
|
473
499
|
}>;
|
|
474
500
|
}>>>;
|
|
475
501
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"TreeSelect", {
|
|
@@ -642,7 +668,20 @@ export declare const treeSelectProps: {
|
|
|
642
668
|
arrowOffsetVertical: string;
|
|
643
669
|
arrowHeight: string;
|
|
644
670
|
padding: string;
|
|
645
|
-
},
|
|
671
|
+
}, {
|
|
672
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
673
|
+
height: string;
|
|
674
|
+
width: string;
|
|
675
|
+
borderRadius: string;
|
|
676
|
+
color: string;
|
|
677
|
+
colorHover: string;
|
|
678
|
+
railInsetHorizontalBottom: string;
|
|
679
|
+
railInsetHorizontalTop: string;
|
|
680
|
+
railInsetVerticalRight: string;
|
|
681
|
+
railInsetVerticalLeft: string;
|
|
682
|
+
railColor: string;
|
|
683
|
+
}, any>;
|
|
684
|
+
}>;
|
|
646
685
|
}>;
|
|
647
686
|
}>>>;
|
|
648
687
|
};
|
|
@@ -705,7 +744,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
705
744
|
readonly 'onUpdate:indeterminateKeys': PropType<MaybeArray<import("../../tree/src/Tree").OnUpdateIndeterminateKeys>>;
|
|
706
745
|
readonly onUpdateExpandedKeys: PropType<MaybeArray<import("../../tree/src/Tree").onUpdateExpandedKeys>>;
|
|
707
746
|
readonly 'onUpdate:expandedKeys': PropType<MaybeArray<import("../../tree/src/Tree").onUpdateExpandedKeys>>;
|
|
708
|
-
readonly overrideDefaultNodeClickBehavior: PropType<import("
|
|
747
|
+
readonly overrideDefaultNodeClickBehavior: PropType<import("..").TreeSelectOverrideNodeClickBehavior>;
|
|
709
748
|
readonly bordered: {
|
|
710
749
|
readonly type: BooleanConstructor;
|
|
711
750
|
readonly default: true;
|
|
@@ -940,7 +979,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
940
979
|
arrowOffsetVertical: string;
|
|
941
980
|
arrowHeight: string;
|
|
942
981
|
padding: string;
|
|
943
|
-
},
|
|
982
|
+
}, {
|
|
983
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
984
|
+
height: string;
|
|
985
|
+
width: string;
|
|
986
|
+
borderRadius: string;
|
|
987
|
+
color: string;
|
|
988
|
+
colorHover: string;
|
|
989
|
+
railInsetHorizontalBottom: string;
|
|
990
|
+
railInsetHorizontalTop: string;
|
|
991
|
+
railInsetVerticalRight: string;
|
|
992
|
+
railInsetVerticalLeft: string;
|
|
993
|
+
railColor: string;
|
|
994
|
+
}, any>;
|
|
995
|
+
}>;
|
|
944
996
|
}>;
|
|
945
997
|
}>>;
|
|
946
998
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"TreeSelect", {
|
|
@@ -1113,7 +1165,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1113
1165
|
arrowOffsetVertical: string;
|
|
1114
1166
|
arrowHeight: string;
|
|
1115
1167
|
padding: string;
|
|
1116
|
-
},
|
|
1168
|
+
}, {
|
|
1169
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1170
|
+
height: string;
|
|
1171
|
+
width: string;
|
|
1172
|
+
borderRadius: string;
|
|
1173
|
+
color: string;
|
|
1174
|
+
colorHover: string;
|
|
1175
|
+
railInsetHorizontalBottom: string;
|
|
1176
|
+
railInsetHorizontalTop: string;
|
|
1177
|
+
railInsetVerticalRight: string;
|
|
1178
|
+
railInsetVerticalLeft: string;
|
|
1179
|
+
railColor: string;
|
|
1180
|
+
}, any>;
|
|
1181
|
+
}>;
|
|
1117
1182
|
}>;
|
|
1118
1183
|
}>>>;
|
|
1119
1184
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"TreeSelect", {
|
|
@@ -1286,7 +1351,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1286
1351
|
arrowOffsetVertical: string;
|
|
1287
1352
|
arrowHeight: string;
|
|
1288
1353
|
padding: string;
|
|
1289
|
-
},
|
|
1354
|
+
}, {
|
|
1355
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1356
|
+
height: string;
|
|
1357
|
+
width: string;
|
|
1358
|
+
borderRadius: string;
|
|
1359
|
+
color: string;
|
|
1360
|
+
colorHover: string;
|
|
1361
|
+
railInsetHorizontalBottom: string;
|
|
1362
|
+
railInsetHorizontalTop: string;
|
|
1363
|
+
railInsetVerticalRight: string;
|
|
1364
|
+
railInsetVerticalLeft: string;
|
|
1365
|
+
railColor: string;
|
|
1366
|
+
}, any>;
|
|
1367
|
+
}>;
|
|
1290
1368
|
}>;
|
|
1291
1369
|
}>>>;
|
|
1292
1370
|
}>, {
|
|
@@ -1335,8 +1413,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1335
1413
|
treeCheckedKeys: import("vue").ComputedRef<Key[]>;
|
|
1336
1414
|
mergedSize: import("vue").ComputedRef<"small" | "medium" | "large">;
|
|
1337
1415
|
mergedDisabled: import("vue").ComputedRef<boolean>;
|
|
1338
|
-
selectedOption: import("vue").ComputedRef<SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => VNodeChild)> | null>;
|
|
1339
|
-
selectedOptions: import("vue").ComputedRef<SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => VNodeChild)>[] | null>;
|
|
1416
|
+
selectedOption: import("vue").ComputedRef<SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | /*elided*/ any>, selected: boolean) => VNodeChild)> | null>;
|
|
1417
|
+
selectedOptions: import("vue").ComputedRef<SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | /*elided*/ any>, selected: boolean) => VNodeChild)>[] | null>;
|
|
1340
1418
|
pattern: import("vue").Ref<string, string>;
|
|
1341
1419
|
pendingNodeKey: import("vue").Ref<string | number | null, string | number | null>;
|
|
1342
1420
|
mergedCascade: import("vue").ComputedRef<boolean>;
|
|
@@ -1544,7 +1622,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1544
1622
|
arrowOffsetVertical: string;
|
|
1545
1623
|
arrowHeight: string;
|
|
1546
1624
|
padding: string;
|
|
1547
|
-
},
|
|
1625
|
+
}, {
|
|
1626
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1627
|
+
height: string;
|
|
1628
|
+
width: string;
|
|
1629
|
+
borderRadius: string;
|
|
1630
|
+
color: string;
|
|
1631
|
+
colorHover: string;
|
|
1632
|
+
railInsetHorizontalBottom: string;
|
|
1633
|
+
railInsetHorizontalTop: string;
|
|
1634
|
+
railInsetVerticalRight: string;
|
|
1635
|
+
railInsetVerticalLeft: string;
|
|
1636
|
+
railColor: string;
|
|
1637
|
+
}, any>;
|
|
1638
|
+
}>;
|
|
1548
1639
|
}>;
|
|
1549
1640
|
};
|
|
1550
1641
|
peerOverrides: {
|
|
@@ -1629,7 +1720,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1629
1720
|
arrowOffsetVertical: string;
|
|
1630
1721
|
arrowHeight: string;
|
|
1631
1722
|
padding: string;
|
|
1632
|
-
},
|
|
1723
|
+
}, {
|
|
1724
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1725
|
+
height: string;
|
|
1726
|
+
width: string;
|
|
1727
|
+
borderRadius: string;
|
|
1728
|
+
color: string;
|
|
1729
|
+
colorHover: string;
|
|
1730
|
+
railInsetHorizontalBottom: string;
|
|
1731
|
+
railInsetHorizontalTop: string;
|
|
1732
|
+
railInsetVerticalRight: string;
|
|
1733
|
+
railInsetVerticalLeft: string;
|
|
1734
|
+
railColor: string;
|
|
1735
|
+
}, any>;
|
|
1736
|
+
}>> | undefined;
|
|
1633
1737
|
} | undefined;
|
|
1634
1738
|
} | undefined;
|
|
1635
1739
|
};
|
|
@@ -1713,7 +1817,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1713
1817
|
readonly 'onUpdate:indeterminateKeys': PropType<MaybeArray<import("../../tree/src/Tree").OnUpdateIndeterminateKeys>>;
|
|
1714
1818
|
readonly onUpdateExpandedKeys: PropType<MaybeArray<import("../../tree/src/Tree").onUpdateExpandedKeys>>;
|
|
1715
1819
|
readonly 'onUpdate:expandedKeys': PropType<MaybeArray<import("../../tree/src/Tree").onUpdateExpandedKeys>>;
|
|
1716
|
-
readonly overrideDefaultNodeClickBehavior: PropType<import("
|
|
1820
|
+
readonly overrideDefaultNodeClickBehavior: PropType<import("..").TreeSelectOverrideNodeClickBehavior>;
|
|
1717
1821
|
readonly bordered: {
|
|
1718
1822
|
readonly type: BooleanConstructor;
|
|
1719
1823
|
readonly default: true;
|
|
@@ -1948,7 +2052,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1948
2052
|
arrowOffsetVertical: string;
|
|
1949
2053
|
arrowHeight: string;
|
|
1950
2054
|
padding: string;
|
|
1951
|
-
},
|
|
2055
|
+
}, {
|
|
2056
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2057
|
+
height: string;
|
|
2058
|
+
width: string;
|
|
2059
|
+
borderRadius: string;
|
|
2060
|
+
color: string;
|
|
2061
|
+
colorHover: string;
|
|
2062
|
+
railInsetHorizontalBottom: string;
|
|
2063
|
+
railInsetHorizontalTop: string;
|
|
2064
|
+
railInsetVerticalRight: string;
|
|
2065
|
+
railInsetVerticalLeft: string;
|
|
2066
|
+
railColor: string;
|
|
2067
|
+
}, any>;
|
|
2068
|
+
}>;
|
|
1952
2069
|
}>;
|
|
1953
2070
|
}>>;
|
|
1954
2071
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"TreeSelect", {
|
|
@@ -2121,7 +2238,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2121
2238
|
arrowOffsetVertical: string;
|
|
2122
2239
|
arrowHeight: string;
|
|
2123
2240
|
padding: string;
|
|
2124
|
-
},
|
|
2241
|
+
}, {
|
|
2242
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2243
|
+
height: string;
|
|
2244
|
+
width: string;
|
|
2245
|
+
borderRadius: string;
|
|
2246
|
+
color: string;
|
|
2247
|
+
colorHover: string;
|
|
2248
|
+
railInsetHorizontalBottom: string;
|
|
2249
|
+
railInsetHorizontalTop: string;
|
|
2250
|
+
railInsetVerticalRight: string;
|
|
2251
|
+
railInsetVerticalLeft: string;
|
|
2252
|
+
railColor: string;
|
|
2253
|
+
}, any>;
|
|
2254
|
+
}>;
|
|
2125
2255
|
}>;
|
|
2126
2256
|
}>>>;
|
|
2127
2257
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"TreeSelect", {
|
|
@@ -2294,7 +2424,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2294
2424
|
arrowOffsetVertical: string;
|
|
2295
2425
|
arrowHeight: string;
|
|
2296
2426
|
padding: string;
|
|
2297
|
-
},
|
|
2427
|
+
}, {
|
|
2428
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2429
|
+
height: string;
|
|
2430
|
+
width: string;
|
|
2431
|
+
borderRadius: string;
|
|
2432
|
+
color: string;
|
|
2433
|
+
colorHover: string;
|
|
2434
|
+
railInsetHorizontalBottom: string;
|
|
2435
|
+
railInsetHorizontalTop: string;
|
|
2436
|
+
railInsetVerticalRight: string;
|
|
2437
|
+
railInsetVerticalLeft: string;
|
|
2438
|
+
railColor: string;
|
|
2439
|
+
}, any>;
|
|
2440
|
+
}>;
|
|
2298
2441
|
}>;
|
|
2299
2442
|
}>>>;
|
|
2300
2443
|
}>> & Readonly<{}>, {
|
|
@@ -2306,26 +2449,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2306
2449
|
readonly multiple: boolean;
|
|
2307
2450
|
readonly loading: boolean;
|
|
2308
2451
|
readonly bordered: boolean;
|
|
2452
|
+
readonly clearable: boolean;
|
|
2453
|
+
readonly defaultValue: string | number | (string | number)[] | null;
|
|
2309
2454
|
readonly placement: FollowerPlacement;
|
|
2310
|
-
readonly keyField: string;
|
|
2311
|
-
readonly labelField: string;
|
|
2312
|
-
readonly virtualScroll: boolean;
|
|
2313
|
-
readonly checkable: boolean;
|
|
2314
2455
|
readonly defaultShow: boolean;
|
|
2456
|
+
readonly allowCheckingNotLoaded: boolean;
|
|
2315
2457
|
readonly filterable: boolean;
|
|
2316
|
-
readonly
|
|
2458
|
+
readonly disabledField: string;
|
|
2317
2459
|
readonly clearFilterAfterSelect: boolean;
|
|
2318
|
-
readonly defaultValue: string | number | (string | number)[] | null;
|
|
2319
|
-
readonly consistentMenuWidth: boolean;
|
|
2320
|
-
readonly childrenField: string;
|
|
2321
|
-
readonly defaultExpandAll: boolean;
|
|
2322
|
-
readonly allowCheckingNotLoaded: boolean;
|
|
2323
2460
|
readonly cascade: boolean;
|
|
2324
|
-
readonly indent: number;
|
|
2325
|
-
readonly checkStrategy: CheckStrategy;
|
|
2326
|
-
readonly disabledField: string;
|
|
2327
2461
|
readonly leafOnly: boolean;
|
|
2328
2462
|
readonly showPath: boolean;
|
|
2463
|
+
readonly virtualScroll: boolean;
|
|
2464
|
+
readonly checkStrategy: CheckStrategy;
|
|
2465
|
+
readonly labelField: string;
|
|
2466
|
+
readonly childrenField: string;
|
|
2467
|
+
readonly consistentMenuWidth: boolean;
|
|
2468
|
+
readonly defaultExpandAll: boolean;
|
|
2469
|
+
readonly indent: number;
|
|
2470
|
+
readonly keyField: string;
|
|
2329
2471
|
readonly defaultExpandedKeys: Key[];
|
|
2472
|
+
readonly checkable: boolean;
|
|
2330
2473
|
}, SlotsType<TreeSelectSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2331
2474
|
export default _default;
|
|
@@ -13,7 +13,7 @@ export declare function self(vars: ThemeCommonVars): {
|
|
|
13
13
|
headerPadding: string;
|
|
14
14
|
};
|
|
15
15
|
export type TreeSelectThemeVars = ReturnType<typeof self>;
|
|
16
|
-
declare const treeSelectLight: import("../../_mixins
|
|
16
|
+
declare const treeSelectLight: import("../../_mixins").Theme<"TreeSelect", {
|
|
17
17
|
menuPadding: string;
|
|
18
18
|
menuColor: string;
|
|
19
19
|
menuBoxShadow: string;
|
|
@@ -26,7 +26,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
26
26
|
headerTextColor: string;
|
|
27
27
|
headerPadding: string;
|
|
28
28
|
}, {
|
|
29
|
-
Tree: import("../../_mixins
|
|
29
|
+
Tree: import("../../_mixins").Theme<"Tree", {
|
|
30
30
|
fontSize: string;
|
|
31
31
|
lineHeight: string;
|
|
32
32
|
nodeHeight: string;
|
|
@@ -42,7 +42,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
42
42
|
dropMarkColor: string;
|
|
43
43
|
lineColor: string;
|
|
44
44
|
}, {
|
|
45
|
-
Checkbox: import("../../_mixins
|
|
45
|
+
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
46
46
|
labelLineHeight: string;
|
|
47
47
|
fontSizeSmall: string;
|
|
48
48
|
fontSizeMedium: string;
|
|
@@ -72,7 +72,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
72
72
|
labelPadding: string;
|
|
73
73
|
labelFontWeight: string;
|
|
74
74
|
}, any>;
|
|
75
|
-
Scrollbar: import("../../_mixins
|
|
75
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
76
76
|
height: string;
|
|
77
77
|
width: string;
|
|
78
78
|
borderRadius: string;
|
|
@@ -84,7 +84,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
84
84
|
railInsetVerticalLeft: string;
|
|
85
85
|
railColor: string;
|
|
86
86
|
}, any>;
|
|
87
|
-
Empty: import("../../_mixins
|
|
87
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
88
88
|
fontSizeTiny: string;
|
|
89
89
|
fontSizeSmall: string;
|
|
90
90
|
fontSizeMedium: string;
|
|
@@ -100,7 +100,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
100
100
|
iconSizeHuge: string;
|
|
101
101
|
}, any>;
|
|
102
102
|
}>;
|
|
103
|
-
Empty: import("../../_mixins
|
|
103
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
104
104
|
fontSizeTiny: string;
|
|
105
105
|
fontSizeSmall: string;
|
|
106
106
|
fontSizeMedium: string;
|
|
@@ -115,7 +115,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
115
115
|
iconSizeLarge: string;
|
|
116
116
|
iconSizeHuge: string;
|
|
117
117
|
}, any>;
|
|
118
|
-
InternalSelection: import("../../_mixins
|
|
118
|
+
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
|
|
119
119
|
fontSizeTiny: string;
|
|
120
120
|
fontSizeSmall: string;
|
|
121
121
|
fontSizeMedium: string;
|
|
@@ -170,7 +170,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
170
170
|
clearSize: string;
|
|
171
171
|
arrowSize: string;
|
|
172
172
|
}, {
|
|
173
|
-
Popover: import("../../_mixins
|
|
173
|
+
Popover: import("../../_mixins").Theme<"Popover", {
|
|
174
174
|
fontSize: string;
|
|
175
175
|
borderRadius: string;
|
|
176
176
|
color: string;
|
|
@@ -183,7 +183,20 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
183
183
|
arrowOffsetVertical: string;
|
|
184
184
|
arrowHeight: string;
|
|
185
185
|
padding: string;
|
|
186
|
-
},
|
|
186
|
+
}, {
|
|
187
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
188
|
+
height: string;
|
|
189
|
+
width: string;
|
|
190
|
+
borderRadius: string;
|
|
191
|
+
color: string;
|
|
192
|
+
colorHover: string;
|
|
193
|
+
railInsetHorizontalBottom: string;
|
|
194
|
+
railInsetHorizontalTop: string;
|
|
195
|
+
railInsetVerticalRight: string;
|
|
196
|
+
railInsetVerticalLeft: string;
|
|
197
|
+
railColor: string;
|
|
198
|
+
}, any>;
|
|
199
|
+
}>;
|
|
187
200
|
}>;
|
|
188
201
|
}>;
|
|
189
202
|
export default treeSelectLight;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { scrollbarRtl } from "../../_internal/scrollbar/styles/index.mjs";
|
|
2
|
+
import { internalSelectMenuRtl } from "../../_internal/select-menu/styles/index.mjs";
|
|
3
|
+
import { internalSelectionRtl } from "../../_internal/selection/styles/index.mjs";
|
|
4
|
+
import { c } from "../../_utils/cssr/index.mjs";
|
|
5
|
+
import { tagRtl } from "../../tag/styles/index.mjs";
|
|
6
|
+
import { treeRtl } from "../../tree/styles/index.mjs";
|
|
7
|
+
export const treeSelectRtl = {
|
|
8
|
+
name: 'Select',
|
|
9
|
+
style: c([]),
|
|
10
|
+
peers: [internalSelectionRtl, internalSelectMenuRtl, tagRtl, scrollbarRtl, treeRtl]
|
|
11
|
+
};
|
|
@@ -632,7 +632,7 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
|
|
|
632
632
|
ulPadding: string;
|
|
633
633
|
}, any>>>;
|
|
634
634
|
}>> & Readonly<{}>, {
|
|
635
|
-
readonly type: "error" | "default" | "info" | "
|
|
635
|
+
readonly type: "error" | "default" | "info" | "warning" | "success";
|
|
636
636
|
readonly alignText: boolean;
|
|
637
637
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
638
638
|
export default _default;
|
|
@@ -423,7 +423,7 @@ export declare const NH1: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
423
423
|
ulPadding: string;
|
|
424
424
|
}, any>>>;
|
|
425
425
|
}>> & Readonly<{}>, {
|
|
426
|
-
readonly type: "error" | "default" | "info" | "
|
|
426
|
+
readonly type: "error" | "default" | "info" | "warning" | "success";
|
|
427
427
|
readonly alignText: boolean;
|
|
428
428
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
429
429
|
export declare const NH2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -851,7 +851,7 @@ export declare const NH2: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
851
851
|
ulPadding: string;
|
|
852
852
|
}, any>>>;
|
|
853
853
|
}>> & Readonly<{}>, {
|
|
854
|
-
readonly type: "error" | "default" | "info" | "
|
|
854
|
+
readonly type: "error" | "default" | "info" | "warning" | "success";
|
|
855
855
|
readonly alignText: boolean;
|
|
856
856
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
857
857
|
export declare const NH3: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -1279,7 +1279,7 @@ export declare const NH3: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1279
1279
|
ulPadding: string;
|
|
1280
1280
|
}, any>>>;
|
|
1281
1281
|
}>> & Readonly<{}>, {
|
|
1282
|
-
readonly type: "error" | "default" | "info" | "
|
|
1282
|
+
readonly type: "error" | "default" | "info" | "warning" | "success";
|
|
1283
1283
|
readonly alignText: boolean;
|
|
1284
1284
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1285
1285
|
export declare const NH4: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -1707,7 +1707,7 @@ export declare const NH4: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1707
1707
|
ulPadding: string;
|
|
1708
1708
|
}, any>>>;
|
|
1709
1709
|
}>> & Readonly<{}>, {
|
|
1710
|
-
readonly type: "error" | "default" | "info" | "
|
|
1710
|
+
readonly type: "error" | "default" | "info" | "warning" | "success";
|
|
1711
1711
|
readonly alignText: boolean;
|
|
1712
1712
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1713
1713
|
export declare const NH5: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -2135,7 +2135,7 @@ export declare const NH5: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
2135
2135
|
ulPadding: string;
|
|
2136
2136
|
}, any>>>;
|
|
2137
2137
|
}>> & Readonly<{}>, {
|
|
2138
|
-
readonly type: "error" | "default" | "info" | "
|
|
2138
|
+
readonly type: "error" | "default" | "info" | "warning" | "success";
|
|
2139
2139
|
readonly alignText: boolean;
|
|
2140
2140
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2141
2141
|
export declare const NH6: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -2563,6 +2563,6 @@ export declare const NH6: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
2563
2563
|
ulPadding: string;
|
|
2564
2564
|
}, any>>>;
|
|
2565
2565
|
}>> & Readonly<{}>, {
|
|
2566
|
-
readonly type: "error" | "default" | "info" | "
|
|
2566
|
+
readonly type: "error" | "default" | "info" | "warning" | "success";
|
|
2567
2567
|
readonly alignText: boolean;
|
|
2568
2568
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1671,6 +1671,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1671
1671
|
draggerInsideRef: {
|
|
1672
1672
|
value: boolean;
|
|
1673
1673
|
};
|
|
1674
|
+
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined, import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
1674
1675
|
inputElRef: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
1675
1676
|
mergedTheme: import("vue").ComputedRef<{
|
|
1676
1677
|
common: import("../..").ThemeCommonVars;
|
package/es/upload/src/Upload.mjs
CHANGED
|
@@ -28,7 +28,7 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
|
|
|
28
28
|
import { createId } from 'seemly';
|
|
29
29
|
import { useMergedState } from 'vooks';
|
|
30
30
|
import { computed, defineComponent, Fragment, h, nextTick, provide, ref, Teleport, toRef } from 'vue';
|
|
31
|
-
import { useConfig, useFormItem, useTheme, useThemeClass } from "../../_mixins/index.mjs";
|
|
31
|
+
import { useConfig, useFormItem, useRtl, useTheme, useThemeClass } from "../../_mixins/index.mjs";
|
|
32
32
|
import { call, throwError, warn } from "../../_utils/index.mjs";
|
|
33
33
|
import { uploadLight } from "../styles/index.mjs";
|
|
34
34
|
import { uploadInjectionKey } from "./interface.mjs";
|
|
@@ -328,9 +328,11 @@ export default defineComponent({
|
|
|
328
328
|
}
|
|
329
329
|
const {
|
|
330
330
|
mergedClsPrefixRef,
|
|
331
|
-
inlineThemeDisabled
|
|
331
|
+
inlineThemeDisabled,
|
|
332
|
+
mergedRtlRef
|
|
332
333
|
} = useConfig(props);
|
|
333
334
|
const themeRef = useTheme('Upload', '-upload', style, uploadLight, props, mergedClsPrefixRef);
|
|
335
|
+
const rtlEnabledRef = useRtl('Upload', mergedRtlRef, mergedClsPrefixRef);
|
|
334
336
|
const formItem = useFormItem(props);
|
|
335
337
|
const uncontrolledFileListRef = ref(props.defaultFileList);
|
|
336
338
|
const controlledFileListRef = toRef(props, 'fileList');
|
|
@@ -636,6 +638,7 @@ export default defineComponent({
|
|
|
636
638
|
return Object.assign({
|
|
637
639
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
638
640
|
draggerInsideRef,
|
|
641
|
+
rtlEnabled: rtlEnabledRef,
|
|
639
642
|
inputElRef,
|
|
640
643
|
mergedTheme: themeRef,
|
|
641
644
|
dragOver: dragOverRef,
|
|
@@ -679,7 +682,7 @@ export default defineComponent({
|
|
|
679
682
|
}
|
|
680
683
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
681
684
|
return h("div", {
|
|
682
|
-
class: [`${mergedClsPrefix}-upload`, draggerInsideRef.value && `${mergedClsPrefix}-upload--dragger-inside`, this.dragOver && `${mergedClsPrefix}-upload--drag-over`, this.themeClass],
|
|
685
|
+
class: [`${mergedClsPrefix}-upload`, this.rtlEnabled && `${mergedClsPrefix}-upload--rtl`, draggerInsideRef.value && `${mergedClsPrefix}-upload--dragger-inside`, this.dragOver && `${mergedClsPrefix}-upload--drag-over`, this.themeClass],
|
|
683
686
|
style: this.cssVars
|
|
684
687
|
}, inputNode, this.showTrigger && this.listType !== 'image-card' && h(NUploadTrigger, null, $slots), this.showFileList && h(NUploadFileList, null, $slots));
|
|
685
688
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImageInst } from '../../image
|
|
1
|
+
import type { ImageInst } from '../../image';
|
|
2
2
|
import type { ListType } from './interface';
|
|
3
3
|
import type { UploadSettledFileInfo } from './public-types';
|
|
4
4
|
import { type PropType } from 'vue';
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
40
40
|
itemBorderImageCard: string;
|
|
41
41
|
};
|
|
42
42
|
peers: {
|
|
43
|
-
Button: import("../../_mixins
|
|
43
|
+
Button: import("../../_mixins").Theme<"Button", {
|
|
44
44
|
heightTiny: string;
|
|
45
45
|
heightSmall: string;
|
|
46
46
|
heightMedium: string;
|
|
@@ -244,7 +244,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
244
244
|
iconSizeLarge: string;
|
|
245
245
|
rippleDuration: string;
|
|
246
246
|
}, any>;
|
|
247
|
-
Progress: import("../../_mixins
|
|
247
|
+
Progress: import("../../_mixins").Theme<"Progress", {
|
|
248
248
|
fontSize: string;
|
|
249
249
|
fontSizeCircle: string;
|
|
250
250
|
fontWeightCircle: string;
|
|
@@ -300,7 +300,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
300
300
|
itemBorderImageCard: string;
|
|
301
301
|
};
|
|
302
302
|
peers: {
|
|
303
|
-
Button: import("../../_mixins
|
|
303
|
+
Button: import("../../_mixins").Theme<"Button", {
|
|
304
304
|
heightTiny: string;
|
|
305
305
|
heightSmall: string;
|
|
306
306
|
heightMedium: string;
|
|
@@ -504,7 +504,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
504
504
|
iconSizeLarge: string;
|
|
505
505
|
rippleDuration: string;
|
|
506
506
|
}, any>;
|
|
507
|
-
Progress: import("../../_mixins
|
|
507
|
+
Progress: import("../../_mixins").Theme<"Progress", {
|
|
508
508
|
fontSize: string;
|
|
509
509
|
fontSizeCircle: string;
|
|
510
510
|
fontWeightCircle: string;
|
|
@@ -541,7 +541,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
541
541
|
} | undefined;
|
|
542
542
|
};
|
|
543
543
|
}>;
|
|
544
|
-
progressStatus: import("vue").ComputedRef<"info" | "
|
|
544
|
+
progressStatus: import("vue").ComputedRef<"info" | "error" | "success">;
|
|
545
545
|
buttonType: import("vue").ComputedRef<"error" | undefined>;
|
|
546
546
|
showProgress: import("vue").ComputedRef<boolean>;
|
|
547
547
|
disabled: import("vue").Ref<boolean, boolean>;
|
|
@@ -555,8 +555,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
555
555
|
renderIcon: import("vue").Ref<import("./interface").RenderIcon | undefined, import("./interface").RenderIcon | undefined>;
|
|
556
556
|
imageRef: import("vue").Ref<{
|
|
557
557
|
click: () => void;
|
|
558
|
+
showPreview: () => void;
|
|
558
559
|
} | null, ImageInst | {
|
|
559
560
|
click: () => void;
|
|
561
|
+
showPreview: () => void;
|
|
560
562
|
} | null>;
|
|
561
563
|
handleRemoveOrCancelClick: (e: MouseEvent) => void;
|
|
562
564
|
handleDownloadClick: (e: MouseEvent) => void;
|
package/es/upload/src/icons.d.ts
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Since image is too large compared with normal icons, we keep it inside upload
|
|
3
3
|
* now.
|
|
4
4
|
*/
|
|
5
|
-
export declare
|
|
6
|
-
export declare
|
|
5
|
+
export declare function renderImageIcon(): JSX.Element;
|
|
6
|
+
export declare function renderDocumentIcon(): JSX.Element;
|