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
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { hash } from 'css-render';
|
|
2
|
+
import { computed, defineComponent, h } from 'vue';
|
|
2
3
|
import { NBaseIcon } from "../../_internal/index.mjs";
|
|
3
4
|
import { ErrorIcon, InfoIcon, SuccessIcon, WarningIcon } from "../../_internal/icons/index.mjs";
|
|
4
5
|
const iconMap = {
|
|
@@ -55,6 +56,16 @@ export default defineComponent({
|
|
|
55
56
|
setup(props, {
|
|
56
57
|
slots
|
|
57
58
|
}) {
|
|
59
|
+
const gradientIdRef = computed(() => {
|
|
60
|
+
const base = 'gradient';
|
|
61
|
+
const {
|
|
62
|
+
fillColor
|
|
63
|
+
} = props;
|
|
64
|
+
if (typeof fillColor === 'object') {
|
|
65
|
+
return `${base}-${hash(JSON.stringify(fillColor))}`;
|
|
66
|
+
}
|
|
67
|
+
return base;
|
|
68
|
+
});
|
|
58
69
|
function getPathStyles(percent, offsetDegree, strokeColor, type) {
|
|
59
70
|
const {
|
|
60
71
|
gapDegree,
|
|
@@ -72,7 +83,7 @@ export default defineComponent({
|
|
|
72
83
|
a ${radius},${radius} 0 1 1 ${-endPositionX},${endPositionY}`;
|
|
73
84
|
const len = Math.PI * 2 * radius;
|
|
74
85
|
const pathStyle = {
|
|
75
|
-
stroke: type === 'rail' ? strokeColor : typeof props.fillColor === 'object' ?
|
|
86
|
+
stroke: type === 'rail' ? strokeColor : typeof props.fillColor === 'object' ? `url(#${gradientIdRef.value})` : strokeColor,
|
|
76
87
|
strokeDasharray: `${percent / 100 * (len - gapDegree)}px ${viewBoxWidth * 8}px`,
|
|
77
88
|
strokeDashoffset: `-${gapDegree / 2}px`,
|
|
78
89
|
transformOrigin: offsetDegree ? 'center' : undefined,
|
|
@@ -88,7 +99,7 @@ export default defineComponent({
|
|
|
88
99
|
const from = isGradient ? props.fillColor.stops[0] : '';
|
|
89
100
|
const to = isGradient ? props.fillColor.stops[1] : '';
|
|
90
101
|
return isGradient && h("defs", null, h("linearGradient", {
|
|
91
|
-
id:
|
|
102
|
+
id: gradientIdRef.value,
|
|
92
103
|
x1: "0%",
|
|
93
104
|
y1: "100%",
|
|
94
105
|
x2: "100%",
|
|
@@ -383,8 +383,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
383
383
|
readonly type: "circle" | "line" | "multiple-circle" | "dashboard";
|
|
384
384
|
readonly status: ProgressStatus;
|
|
385
385
|
readonly strokeWidth: number;
|
|
386
|
-
readonly unit: string;
|
|
387
386
|
readonly processing: boolean;
|
|
387
|
+
readonly unit: string;
|
|
388
388
|
readonly viewBoxWidth: number;
|
|
389
389
|
readonly showIndicator: boolean;
|
|
390
390
|
readonly indicatorPosition: "inside" | "outside";
|
package/es/radio/src/Radio.mjs
CHANGED
|
@@ -88,7 +88,11 @@ export default defineComponent({
|
|
|
88
88
|
return h("label", {
|
|
89
89
|
class: [`${mergedClsPrefix}-radio`, this.themeClass, this.rtlEnabled && `${mergedClsPrefix}-radio--rtl`, this.mergedDisabled && `${mergedClsPrefix}-radio--disabled`, this.renderSafeChecked && `${mergedClsPrefix}-radio--checked`, this.focus && `${mergedClsPrefix}-radio--focus`],
|
|
90
90
|
style: this.cssVars
|
|
91
|
-
}, h("
|
|
91
|
+
}, h("div", {
|
|
92
|
+
class: `${mergedClsPrefix}-radio__dot-wrapper`
|
|
93
|
+
}, "\u00A0", h("div", {
|
|
94
|
+
class: [`${mergedClsPrefix}-radio__dot`, this.renderSafeChecked && `${mergedClsPrefix}-radio__dot--checked`]
|
|
95
|
+
}), h("input", {
|
|
92
96
|
ref: "inputRef",
|
|
93
97
|
type: "radio",
|
|
94
98
|
class: `${mergedClsPrefix}-radio-input`,
|
|
@@ -99,10 +103,6 @@ export default defineComponent({
|
|
|
99
103
|
onChange: this.handleRadioInputChange,
|
|
100
104
|
onFocus: this.handleRadioInputFocus,
|
|
101
105
|
onBlur: this.handleRadioInputBlur
|
|
102
|
-
}), h("div", {
|
|
103
|
-
class: `${mergedClsPrefix}-radio__dot-wrapper`
|
|
104
|
-
}, "\u00A0", h("div", {
|
|
105
|
-
class: [`${mergedClsPrefix}-radio__dot`, this.renderSafeChecked && `${mergedClsPrefix}-radio__dot--checked`]
|
|
106
106
|
})), resolveWrappedSlot($slots.default, children => {
|
|
107
107
|
if (!children && !label) return null;
|
|
108
108
|
return h("div", {
|
|
@@ -33,9 +33,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
readonly size?: "small" | "medium" | "large" | undefined;
|
|
34
34
|
readonly disabled?: boolean | undefined;
|
|
35
35
|
readonly checked?: boolean | undefined;
|
|
36
|
+
readonly checkedValue?: boolean | undefined;
|
|
36
37
|
readonly 'onUpdate:checked'?: import("../../_utils").MaybeArray<(value: boolean) => void> | undefined;
|
|
37
38
|
readonly onUpdateChecked?: import("../../_utils").MaybeArray<(value: boolean) => void> | undefined;
|
|
38
|
-
readonly checkedValue?: boolean | undefined;
|
|
39
39
|
}, import("./use-radio").UseRadio, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
40
40
|
readonly value: string | number | boolean;
|
|
41
41
|
readonly defaultChecked: boolean;
|
|
@@ -44,9 +44,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
readonly size?: "small" | "medium" | "large" | undefined;
|
|
45
45
|
readonly disabled?: boolean | undefined;
|
|
46
46
|
readonly checked?: boolean | undefined;
|
|
47
|
+
readonly checkedValue?: boolean | undefined;
|
|
47
48
|
readonly 'onUpdate:checked'?: import("../../_utils").MaybeArray<(value: boolean) => void> | undefined;
|
|
48
49
|
readonly onUpdateChecked?: import("../../_utils").MaybeArray<(value: boolean) => void> | undefined;
|
|
49
|
-
readonly checkedValue?: boolean | undefined;
|
|
50
50
|
}> & Readonly<{}>, {
|
|
51
51
|
readonly value: string | number | boolean;
|
|
52
52
|
readonly disabled: boolean | undefined;
|
|
@@ -38,14 +38,10 @@ export default cB('radio', `
|
|
|
38
38
|
`), cB('radio-input', `
|
|
39
39
|
position: absolute;
|
|
40
40
|
border: 0;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
right: 0;
|
|
44
|
-
top: 0;
|
|
45
|
-
bottom: 0;
|
|
41
|
+
width: 0;
|
|
42
|
+
height: 0;
|
|
46
43
|
opacity: 0;
|
|
47
|
-
|
|
48
|
-
cursor: pointer;
|
|
44
|
+
margin: 0;
|
|
49
45
|
`), cE('dot', `
|
|
50
46
|
position: absolute;
|
|
51
47
|
top: 50%;
|
package/es/rate/src/Rate.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
150
150
|
readonly size: number | "small" | "medium" | "large";
|
|
151
151
|
readonly clearable: boolean;
|
|
152
152
|
readonly defaultValue: number | null;
|
|
153
|
-
readonly count: number;
|
|
154
153
|
readonly allowHalf: boolean;
|
|
154
|
+
readonly count: number;
|
|
155
155
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
156
156
|
export default _default;
|
|
@@ -291,6 +291,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
291
291
|
}, any>>>;
|
|
292
292
|
}>> & Readonly<{}>, {
|
|
293
293
|
size: "small" | "medium" | "large" | "huge";
|
|
294
|
-
status: "error" | "500" | "info" | "
|
|
294
|
+
status: "error" | "500" | "info" | "warning" | "success" | "404" | "403" | "418";
|
|
295
295
|
}, SlotsType<ResultSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
296
296
|
export default _default;
|
|
@@ -200,7 +200,20 @@ export declare const selectProps: {
|
|
|
200
200
|
arrowOffsetVertical: string;
|
|
201
201
|
arrowHeight: string;
|
|
202
202
|
padding: string;
|
|
203
|
-
},
|
|
203
|
+
}, {
|
|
204
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
205
|
+
height: string;
|
|
206
|
+
width: string;
|
|
207
|
+
borderRadius: string;
|
|
208
|
+
color: string;
|
|
209
|
+
colorHover: string;
|
|
210
|
+
railInsetHorizontalBottom: string;
|
|
211
|
+
railInsetHorizontalTop: string;
|
|
212
|
+
railInsetVerticalRight: string;
|
|
213
|
+
railInsetVerticalLeft: string;
|
|
214
|
+
railColor: string;
|
|
215
|
+
}, any>;
|
|
216
|
+
}>;
|
|
204
217
|
}>;
|
|
205
218
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
206
219
|
optionFontSizeTiny: string;
|
|
@@ -341,7 +354,20 @@ export declare const selectProps: {
|
|
|
341
354
|
arrowOffsetVertical: string;
|
|
342
355
|
arrowHeight: string;
|
|
343
356
|
padding: string;
|
|
344
|
-
},
|
|
357
|
+
}, {
|
|
358
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
359
|
+
height: string;
|
|
360
|
+
width: string;
|
|
361
|
+
borderRadius: string;
|
|
362
|
+
color: string;
|
|
363
|
+
colorHover: string;
|
|
364
|
+
railInsetHorizontalBottom: string;
|
|
365
|
+
railInsetHorizontalTop: string;
|
|
366
|
+
railInsetVerticalRight: string;
|
|
367
|
+
railInsetVerticalLeft: string;
|
|
368
|
+
railColor: string;
|
|
369
|
+
}, any>;
|
|
370
|
+
}>;
|
|
345
371
|
}>;
|
|
346
372
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
347
373
|
optionFontSizeTiny: string;
|
|
@@ -482,7 +508,20 @@ export declare const selectProps: {
|
|
|
482
508
|
arrowOffsetVertical: string;
|
|
483
509
|
arrowHeight: string;
|
|
484
510
|
padding: string;
|
|
485
|
-
},
|
|
511
|
+
}, {
|
|
512
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
513
|
+
height: string;
|
|
514
|
+
width: string;
|
|
515
|
+
borderRadius: string;
|
|
516
|
+
color: string;
|
|
517
|
+
colorHover: string;
|
|
518
|
+
railInsetHorizontalBottom: string;
|
|
519
|
+
railInsetHorizontalTop: string;
|
|
520
|
+
railInsetVerticalRight: string;
|
|
521
|
+
railInsetVerticalLeft: string;
|
|
522
|
+
railColor: string;
|
|
523
|
+
}, any>;
|
|
524
|
+
}>;
|
|
486
525
|
}>;
|
|
487
526
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
488
527
|
optionFontSizeTiny: string;
|
|
@@ -753,7 +792,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
753
792
|
arrowOffsetVertical: string;
|
|
754
793
|
arrowHeight: string;
|
|
755
794
|
padding: string;
|
|
756
|
-
},
|
|
795
|
+
}, {
|
|
796
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
797
|
+
height: string;
|
|
798
|
+
width: string;
|
|
799
|
+
borderRadius: string;
|
|
800
|
+
color: string;
|
|
801
|
+
colorHover: string;
|
|
802
|
+
railInsetHorizontalBottom: string;
|
|
803
|
+
railInsetHorizontalTop: string;
|
|
804
|
+
railInsetVerticalRight: string;
|
|
805
|
+
railInsetVerticalLeft: string;
|
|
806
|
+
railColor: string;
|
|
807
|
+
}, any>;
|
|
808
|
+
}>;
|
|
757
809
|
}>;
|
|
758
810
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
759
811
|
optionFontSizeTiny: string;
|
|
@@ -894,7 +946,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
894
946
|
arrowOffsetVertical: string;
|
|
895
947
|
arrowHeight: string;
|
|
896
948
|
padding: string;
|
|
897
|
-
},
|
|
949
|
+
}, {
|
|
950
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
951
|
+
height: string;
|
|
952
|
+
width: string;
|
|
953
|
+
borderRadius: string;
|
|
954
|
+
color: string;
|
|
955
|
+
colorHover: string;
|
|
956
|
+
railInsetHorizontalBottom: string;
|
|
957
|
+
railInsetHorizontalTop: string;
|
|
958
|
+
railInsetVerticalRight: string;
|
|
959
|
+
railInsetVerticalLeft: string;
|
|
960
|
+
railColor: string;
|
|
961
|
+
}, any>;
|
|
962
|
+
}>;
|
|
898
963
|
}>;
|
|
899
964
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
900
965
|
optionFontSizeTiny: string;
|
|
@@ -1035,7 +1100,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1035
1100
|
arrowOffsetVertical: string;
|
|
1036
1101
|
arrowHeight: string;
|
|
1037
1102
|
padding: string;
|
|
1038
|
-
},
|
|
1103
|
+
}, {
|
|
1104
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1105
|
+
height: string;
|
|
1106
|
+
width: string;
|
|
1107
|
+
borderRadius: string;
|
|
1108
|
+
color: string;
|
|
1109
|
+
colorHover: string;
|
|
1110
|
+
railInsetHorizontalBottom: string;
|
|
1111
|
+
railInsetHorizontalTop: string;
|
|
1112
|
+
railInsetVerticalRight: string;
|
|
1113
|
+
railInsetVerticalLeft: string;
|
|
1114
|
+
railColor: string;
|
|
1115
|
+
}, any>;
|
|
1116
|
+
}>;
|
|
1039
1117
|
}>;
|
|
1040
1118
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
1041
1119
|
optionFontSizeTiny: string;
|
|
@@ -1255,7 +1333,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1255
1333
|
arrowOffsetVertical: string;
|
|
1256
1334
|
arrowHeight: string;
|
|
1257
1335
|
padding: string;
|
|
1258
|
-
},
|
|
1336
|
+
}, {
|
|
1337
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1338
|
+
height: string;
|
|
1339
|
+
width: string;
|
|
1340
|
+
borderRadius: string;
|
|
1341
|
+
color: string;
|
|
1342
|
+
colorHover: string;
|
|
1343
|
+
railInsetHorizontalBottom: string;
|
|
1344
|
+
railInsetHorizontalTop: string;
|
|
1345
|
+
railInsetVerticalRight: string;
|
|
1346
|
+
railInsetVerticalLeft: string;
|
|
1347
|
+
railColor: string;
|
|
1348
|
+
}, any>;
|
|
1349
|
+
}>;
|
|
1259
1350
|
}>;
|
|
1260
1351
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
1261
1352
|
optionFontSizeTiny: string;
|
|
@@ -1341,7 +1432,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1341
1432
|
arrowOffsetVertical: string;
|
|
1342
1433
|
arrowHeight: string;
|
|
1343
1434
|
padding: string;
|
|
1344
|
-
},
|
|
1435
|
+
}, {
|
|
1436
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1437
|
+
height: string;
|
|
1438
|
+
width: string;
|
|
1439
|
+
borderRadius: string;
|
|
1440
|
+
color: string;
|
|
1441
|
+
colorHover: string;
|
|
1442
|
+
railInsetHorizontalBottom: string;
|
|
1443
|
+
railInsetHorizontalTop: string;
|
|
1444
|
+
railInsetVerticalRight: string;
|
|
1445
|
+
railInsetVerticalLeft: string;
|
|
1446
|
+
railColor: string;
|
|
1447
|
+
}, any>;
|
|
1448
|
+
}>> | undefined;
|
|
1345
1449
|
} | undefined;
|
|
1346
1450
|
} | undefined;
|
|
1347
1451
|
InternalSelectMenu?: {
|
|
@@ -1578,7 +1682,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1578
1682
|
arrowOffsetVertical: string;
|
|
1579
1683
|
arrowHeight: string;
|
|
1580
1684
|
padding: string;
|
|
1581
|
-
},
|
|
1685
|
+
}, {
|
|
1686
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1687
|
+
height: string;
|
|
1688
|
+
width: string;
|
|
1689
|
+
borderRadius: string;
|
|
1690
|
+
color: string;
|
|
1691
|
+
colorHover: string;
|
|
1692
|
+
railInsetHorizontalBottom: string;
|
|
1693
|
+
railInsetHorizontalTop: string;
|
|
1694
|
+
railInsetVerticalRight: string;
|
|
1695
|
+
railInsetVerticalLeft: string;
|
|
1696
|
+
railColor: string;
|
|
1697
|
+
}, any>;
|
|
1698
|
+
}>;
|
|
1582
1699
|
}>;
|
|
1583
1700
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
1584
1701
|
optionFontSizeTiny: string;
|
|
@@ -1719,7 +1836,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1719
1836
|
arrowOffsetVertical: string;
|
|
1720
1837
|
arrowHeight: string;
|
|
1721
1838
|
padding: string;
|
|
1722
|
-
},
|
|
1839
|
+
}, {
|
|
1840
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1841
|
+
height: string;
|
|
1842
|
+
width: string;
|
|
1843
|
+
borderRadius: string;
|
|
1844
|
+
color: string;
|
|
1845
|
+
colorHover: string;
|
|
1846
|
+
railInsetHorizontalBottom: string;
|
|
1847
|
+
railInsetHorizontalTop: string;
|
|
1848
|
+
railInsetVerticalRight: string;
|
|
1849
|
+
railInsetVerticalLeft: string;
|
|
1850
|
+
railColor: string;
|
|
1851
|
+
}, any>;
|
|
1852
|
+
}>;
|
|
1723
1853
|
}>;
|
|
1724
1854
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
1725
1855
|
optionFontSizeTiny: string;
|
|
@@ -1860,7 +1990,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1860
1990
|
arrowOffsetVertical: string;
|
|
1861
1991
|
arrowHeight: string;
|
|
1862
1992
|
padding: string;
|
|
1863
|
-
},
|
|
1993
|
+
}, {
|
|
1994
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1995
|
+
height: string;
|
|
1996
|
+
width: string;
|
|
1997
|
+
borderRadius: string;
|
|
1998
|
+
color: string;
|
|
1999
|
+
colorHover: string;
|
|
2000
|
+
railInsetHorizontalBottom: string;
|
|
2001
|
+
railInsetHorizontalTop: string;
|
|
2002
|
+
railInsetVerticalRight: string;
|
|
2003
|
+
railInsetVerticalLeft: string;
|
|
2004
|
+
railColor: string;
|
|
2005
|
+
}, any>;
|
|
2006
|
+
}>;
|
|
1864
2007
|
}>;
|
|
1865
2008
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
1866
2009
|
optionFontSizeTiny: string;
|
|
@@ -1939,25 +2082,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1939
2082
|
readonly multiple: boolean;
|
|
1940
2083
|
readonly loading: boolean;
|
|
1941
2084
|
readonly bordered: boolean | undefined;
|
|
2085
|
+
readonly clearable: boolean;
|
|
2086
|
+
readonly defaultValue: Value | null;
|
|
1942
2087
|
readonly placement: FollowerPlacement;
|
|
1943
|
-
readonly
|
|
1944
|
-
readonly showCheckmark: boolean;
|
|
1945
|
-
readonly virtualScroll: boolean;
|
|
1946
|
-
readonly valueField: string;
|
|
1947
|
-
readonly resetMenuOnOptionsChange: boolean;
|
|
2088
|
+
readonly keyboard: boolean;
|
|
1948
2089
|
readonly showArrow: boolean;
|
|
1949
2090
|
readonly displayDirective: "show" | "if";
|
|
1950
2091
|
readonly filterable: boolean;
|
|
1951
|
-
readonly clearable: boolean;
|
|
1952
|
-
readonly ignoreComposition: boolean;
|
|
1953
2092
|
readonly clearFilterAfterSelect: boolean;
|
|
1954
|
-
readonly defaultValue: Value | null;
|
|
1955
|
-
readonly keyboard: boolean;
|
|
1956
2093
|
readonly remote: boolean;
|
|
2094
|
+
readonly virtualScroll: boolean;
|
|
2095
|
+
readonly valueField: string;
|
|
2096
|
+
readonly labelField: string;
|
|
2097
|
+
readonly childrenField: string;
|
|
1957
2098
|
readonly widthMode: string;
|
|
1958
2099
|
readonly fallbackOption: false | SelectFallbackOption | undefined;
|
|
1959
2100
|
readonly consistentMenuWidth: boolean;
|
|
1960
|
-
readonly
|
|
2101
|
+
readonly ignoreComposition: boolean;
|
|
1961
2102
|
readonly showOnFocus: boolean;
|
|
2103
|
+
readonly resetMenuOnOptionsChange: boolean;
|
|
2104
|
+
readonly showCheckmark: boolean;
|
|
1962
2105
|
}, SlotsType<SelectSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1963
2106
|
export default _default;
|
|
@@ -73,7 +73,20 @@ declare const selectLight: import("../../_mixins").Theme<"Select", {
|
|
|
73
73
|
arrowOffsetVertical: string;
|
|
74
74
|
arrowHeight: string;
|
|
75
75
|
padding: string;
|
|
76
|
-
},
|
|
76
|
+
}, {
|
|
77
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
78
|
+
height: string;
|
|
79
|
+
width: string;
|
|
80
|
+
borderRadius: string;
|
|
81
|
+
color: string;
|
|
82
|
+
colorHover: string;
|
|
83
|
+
railInsetHorizontalBottom: string;
|
|
84
|
+
railInsetHorizontalTop: string;
|
|
85
|
+
railInsetVerticalRight: string;
|
|
86
|
+
railInsetVerticalLeft: string;
|
|
87
|
+
railColor: string;
|
|
88
|
+
}, any>;
|
|
89
|
+
}>;
|
|
77
90
|
}>;
|
|
78
91
|
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
79
92
|
optionFontSizeTiny: string;
|
package/es/styles.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export { notificationDark } from './notification/styles';
|
|
|
53
53
|
export { pageHeaderRtl as unstablePageHeaderRtl } from './page-header/styles';
|
|
54
54
|
export { paginationDark, paginationRtl as unstablePaginationRtl } from './pagination/styles';
|
|
55
55
|
export { popconfirmDark } from './popconfirm/styles';
|
|
56
|
-
export { popoverDark } from './popover/styles';
|
|
56
|
+
export { popoverDark, popoverRtl as unstablePopoverRtl } from './popover/styles';
|
|
57
57
|
export { popselectDark } from './popselect/styles';
|
|
58
58
|
export { progressDark } from './progress/styles';
|
|
59
59
|
export { radioDark, radioRtl as unstableRadioRtl } from './radio/styles';
|
|
@@ -74,8 +74,8 @@ export { timePickerDark } from './time-picker/styles';
|
|
|
74
74
|
export { timelineDark } from './timeline/styles';
|
|
75
75
|
export { tooltipDark } from './tooltip/styles';
|
|
76
76
|
export { transferDark } from './transfer/styles';
|
|
77
|
-
export { treeSelectDark } from './tree-select/styles';
|
|
77
|
+
export { treeSelectDark, treeSelectRtl as unstableTreeSelectRtl } from './tree-select/styles';
|
|
78
78
|
export { treeDark, treeRtl as unstableTreeRtl } from './tree/styles';
|
|
79
79
|
export { typographyDark } from './typography/styles';
|
|
80
|
-
export { uploadDark } from './upload/styles';
|
|
80
|
+
export { uploadRtl as unstableUploadsRtl, uploadDark } from './upload/styles';
|
|
81
81
|
export { watermarkDark } from './watermark/styles';
|
package/es/styles.mjs
CHANGED
|
@@ -54,7 +54,7 @@ export { notificationDark } from "./notification/styles/index.mjs";
|
|
|
54
54
|
export { pageHeaderRtl as unstablePageHeaderRtl } from "./page-header/styles/index.mjs";
|
|
55
55
|
export { paginationDark, paginationRtl as unstablePaginationRtl } from "./pagination/styles/index.mjs";
|
|
56
56
|
export { popconfirmDark } from "./popconfirm/styles/index.mjs";
|
|
57
|
-
export { popoverDark } from "./popover/styles/index.mjs";
|
|
57
|
+
export { popoverDark, popoverRtl as unstablePopoverRtl } from "./popover/styles/index.mjs";
|
|
58
58
|
export { popselectDark } from "./popselect/styles/index.mjs";
|
|
59
59
|
export { progressDark } from "./progress/styles/index.mjs";
|
|
60
60
|
export { radioDark, radioRtl as unstableRadioRtl } from "./radio/styles/index.mjs";
|
|
@@ -75,8 +75,8 @@ export { timePickerDark } from "./time-picker/styles/index.mjs";
|
|
|
75
75
|
export { timelineDark } from "./timeline/styles/index.mjs";
|
|
76
76
|
export { tooltipDark } from "./tooltip/styles/index.mjs";
|
|
77
77
|
export { transferDark } from "./transfer/styles/index.mjs";
|
|
78
|
-
export { treeSelectDark } from "./tree-select/styles/index.mjs";
|
|
78
|
+
export { treeSelectDark, treeSelectRtl as unstableTreeSelectRtl } from "./tree-select/styles/index.mjs";
|
|
79
79
|
export { treeDark, treeRtl as unstableTreeRtl } from "./tree/styles/index.mjs";
|
|
80
80
|
export { typographyDark } from "./typography/styles/index.mjs";
|
|
81
|
-
export { uploadDark } from "./upload/styles/index.mjs";
|
|
81
|
+
export { uploadRtl as unstableUploadsRtl, uploadDark } from "./upload/styles/index.mjs";
|
|
82
82
|
export { watermarkDark } from "./watermark/styles/index.mjs";
|
package/es/tabs/src/Tab.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ export declare const tabProps: {
|
|
|
7
7
|
readonly label: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
8
8
|
readonly disabled: BooleanConstructor;
|
|
9
9
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
10
|
+
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
10
11
|
readonly closable: {
|
|
11
12
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
12
13
|
readonly default: undefined;
|
|
13
14
|
};
|
|
14
|
-
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
15
15
|
readonly internalLeftPadded: BooleanConstructor;
|
|
16
16
|
readonly internalAddable: BooleanConstructor;
|
|
17
17
|
readonly internalCreatedByPane: BooleanConstructor;
|
|
@@ -25,11 +25,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
25
|
readonly label: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
26
26
|
readonly disabled: BooleanConstructor;
|
|
27
27
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
28
|
+
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
28
29
|
readonly closable: {
|
|
29
30
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
30
31
|
readonly default: undefined;
|
|
31
32
|
};
|
|
32
|
-
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
33
33
|
readonly internalLeftPadded: BooleanConstructor;
|
|
34
34
|
readonly internalAddable: BooleanConstructor;
|
|
35
35
|
readonly internalCreatedByPane: BooleanConstructor;
|
|
@@ -53,11 +53,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
53
|
readonly label: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
54
54
|
readonly disabled: BooleanConstructor;
|
|
55
55
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
56
|
+
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
56
57
|
readonly closable: {
|
|
57
58
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
58
59
|
readonly default: undefined;
|
|
59
60
|
};
|
|
60
|
-
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
61
61
|
readonly internalLeftPadded: BooleanConstructor;
|
|
62
62
|
readonly internalAddable: BooleanConstructor;
|
|
63
63
|
readonly internalCreatedByPane: BooleanConstructor;
|
package/es/tabs/src/Tabs.d.ts
CHANGED
|
@@ -1105,9 +1105,9 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
1105
1105
|
}>> & Readonly<{}>, {
|
|
1106
1106
|
readonly type: TabsType;
|
|
1107
1107
|
readonly size: "small" | "medium" | "large";
|
|
1108
|
+
readonly closable: boolean;
|
|
1108
1109
|
readonly placement: "left" | "right" | "top" | "bottom";
|
|
1109
1110
|
readonly trigger: "click" | "hover";
|
|
1110
|
-
readonly closable: boolean;
|
|
1111
1111
|
readonly animated: boolean;
|
|
1112
1112
|
readonly tabsPadding: number;
|
|
1113
1113
|
}, SlotsType<TabsSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/es/tabs/src/Tabs.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { throttle } from 'lodash
|
|
1
|
+
import { throttle } from 'lodash';
|
|
2
2
|
import { depx, getPadding } from 'seemly';
|
|
3
3
|
import { onFontsReady, useCompitable, useMergedState } from 'vooks';
|
|
4
4
|
import { cloneVNode, computed, defineComponent, h, nextTick, onMounted, provide, ref, toRef, TransitionGroup, vShow, watch, watchEffect, withDirectives } from 'vue';
|
|
@@ -117,7 +117,7 @@ export default cB('tabs', `
|
|
|
117
117
|
`, [cE('prefix, suffix', `
|
|
118
118
|
display: flex;
|
|
119
119
|
align-items: center;
|
|
120
|
-
`), cE('prefix', 'padding-right: 16px;'), cE('suffix', 'padding-left: 16px;')]), cM('top, bottom', [cB('tabs-nav-scroll-wrapper', [c('&::before', `
|
|
120
|
+
`), cE('prefix', 'padding-right: 16px;'), cE('suffix', 'padding-left: 16px;')]), cM('top, bottom', [c('>', [cB('tabs-nav', [cB('tabs-nav-scroll-wrapper', [c('&::before', `
|
|
121
121
|
top: 0;
|
|
122
122
|
bottom: 0;
|
|
123
123
|
left: 0;
|
|
@@ -131,9 +131,9 @@ export default cB('tabs', `
|
|
|
131
131
|
box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
132
132
|
`)]), cM('shadow-end', [c('&::after', `
|
|
133
133
|
box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
134
|
-
`)])])]), cM('left, right', [cB('tabs-nav-scroll-content', `
|
|
134
|
+
`)])])])])]), cM('left, right', [cB('tabs-nav-scroll-content', `
|
|
135
135
|
flex-direction: column;
|
|
136
|
-
`), cB('tabs-nav-scroll-wrapper', [c('&::before', `
|
|
136
|
+
`), c('>', [cB('tabs-nav', [cB('tabs-nav-scroll-wrapper', [c('&::before', `
|
|
137
137
|
top: 0;
|
|
138
138
|
left: 0;
|
|
139
139
|
right: 0;
|
|
@@ -147,7 +147,7 @@ export default cB('tabs', `
|
|
|
147
147
|
box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12);
|
|
148
148
|
`)]), cM('shadow-end', [c('&::after', `
|
|
149
149
|
box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12);
|
|
150
|
-
`)])])]), cB('tabs-nav-scroll-wrapper', `
|
|
150
|
+
`)])])])])]), cB('tabs-nav-scroll-wrapper', `
|
|
151
151
|
flex: 1;
|
|
152
152
|
position: relative;
|
|
153
153
|
overflow: hidden;
|
package/es/tag/src/Tag.d.ts
CHANGED
|
@@ -970,7 +970,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
970
970
|
closeMargin: string;
|
|
971
971
|
}, any>>>;
|
|
972
972
|
}>> & Readonly<{}>, {
|
|
973
|
-
type: "error" | "default" | "
|
|
973
|
+
type: "error" | "default" | "info" | "warning" | "success" | "primary";
|
|
974
974
|
size: "small" | "medium" | "large" | "tiny";
|
|
975
975
|
disabled: boolean | undefined;
|
|
976
976
|
strong: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cloneDeep, merge } from 'lodash
|
|
1
|
+
import { cloneDeep, merge } from 'lodash';
|
|
2
2
|
import { computed, defineComponent, Fragment, h, inject, ref, toRaw, watch } from 'vue';
|
|
3
3
|
import { useLocale } from "../../_mixins/index.mjs";
|
|
4
4
|
import { download, lockHtmlScrollRightCompensationRef } from "../../_utils/index.mjs";
|
package/es/themes/dark.mjs
CHANGED
|
@@ -36,6 +36,7 @@ import { floatButtonGroupDark } from "../float-button-group/styles/index.mjs";
|
|
|
36
36
|
import { floatButtonDark } from "../float-button/styles/index.mjs";
|
|
37
37
|
import { formDark } from "../form/styles/index.mjs";
|
|
38
38
|
import { gradientTextDark } from "../gradient-text/styles/index.mjs";
|
|
39
|
+
import { heatmapDark } from "../heatmap/styles/index.mjs";
|
|
39
40
|
import { iconWrapperDark } from "../icon-wrapper/styles/index.mjs";
|
|
40
41
|
import { iconDark } from "../icon/styles/index.mjs";
|
|
41
42
|
import { imageDark } from "../image/styles/index.mjs";
|
|
@@ -124,6 +125,7 @@ export const darkTheme = {
|
|
|
124
125
|
Flex: flexDark,
|
|
125
126
|
Form: formDark,
|
|
126
127
|
GradientText: gradientTextDark,
|
|
128
|
+
Heatmap: heatmapDark,
|
|
127
129
|
Icon: iconDark,
|
|
128
130
|
IconWrapper: iconWrapperDark,
|
|
129
131
|
Image: imageDark,
|
package/es/themes/light.mjs
CHANGED
|
@@ -39,6 +39,7 @@ import { floatButtonGroupLight } from "../float-button-group/styles/index.mjs";
|
|
|
39
39
|
import { floatButtonLight } from "../float-button/styles/index.mjs";
|
|
40
40
|
import { formLight } from "../form/styles/index.mjs";
|
|
41
41
|
import { gradientTextLight } from "../gradient-text/styles/index.mjs";
|
|
42
|
+
import { heatmapLight } from "../heatmap/styles/index.mjs";
|
|
42
43
|
import { iconWrapperLight } from "../icon-wrapper/styles/index.mjs";
|
|
43
44
|
import { iconLight } from "../icon/styles/index.mjs";
|
|
44
45
|
import { imageLight } from "../image/styles/index.mjs";
|
|
@@ -127,6 +128,7 @@ export const lightTheme = {
|
|
|
127
128
|
Flex: flexLight,
|
|
128
129
|
Form: formLight,
|
|
129
130
|
GradientText: gradientTextLight,
|
|
131
|
+
Heatmap: heatmapLight,
|
|
130
132
|
Icon: iconLight,
|
|
131
133
|
IconWrapper: iconWrapperLight,
|
|
132
134
|
Image: imageLight,
|