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
|
@@ -30,7 +30,20 @@ export declare const imageLight: import("../../_mixins").Theme<"Image", {
|
|
|
30
30
|
arrowOffsetVertical: string;
|
|
31
31
|
arrowHeight: string;
|
|
32
32
|
padding: string;
|
|
33
|
-
},
|
|
33
|
+
}, {
|
|
34
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
35
|
+
height: string;
|
|
36
|
+
width: string;
|
|
37
|
+
borderRadius: string;
|
|
38
|
+
color: string;
|
|
39
|
+
colorHover: string;
|
|
40
|
+
railInsetHorizontalBottom: string;
|
|
41
|
+
railInsetHorizontalTop: string;
|
|
42
|
+
railInsetVerticalRight: string;
|
|
43
|
+
railInsetVerticalLeft: string;
|
|
44
|
+
railColor: string;
|
|
45
|
+
}, any>;
|
|
46
|
+
}>;
|
|
34
47
|
}>;
|
|
35
48
|
}>;
|
|
36
49
|
export type ImageTheme = typeof imageLight;
|
package/es/input/src/Input.d.ts
CHANGED
|
@@ -159,7 +159,20 @@ export declare const inputProps: {
|
|
|
159
159
|
paddingMedium: string;
|
|
160
160
|
paddingLarge: string;
|
|
161
161
|
clearSize: string;
|
|
162
|
-
},
|
|
162
|
+
}, {
|
|
163
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
164
|
+
height: string;
|
|
165
|
+
width: string;
|
|
166
|
+
borderRadius: string;
|
|
167
|
+
color: string;
|
|
168
|
+
colorHover: string;
|
|
169
|
+
railInsetHorizontalBottom: string;
|
|
170
|
+
railInsetHorizontalTop: string;
|
|
171
|
+
railInsetVerticalRight: string;
|
|
172
|
+
railInsetVerticalLeft: string;
|
|
173
|
+
railColor: string;
|
|
174
|
+
}, any>;
|
|
175
|
+
}>>;
|
|
163
176
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
164
177
|
fontWeight: string;
|
|
165
178
|
countTextColorDisabled: string;
|
|
@@ -221,7 +234,20 @@ export declare const inputProps: {
|
|
|
221
234
|
paddingMedium: string;
|
|
222
235
|
paddingLarge: string;
|
|
223
236
|
clearSize: string;
|
|
224
|
-
},
|
|
237
|
+
}, {
|
|
238
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
239
|
+
height: string;
|
|
240
|
+
width: string;
|
|
241
|
+
borderRadius: string;
|
|
242
|
+
color: string;
|
|
243
|
+
colorHover: string;
|
|
244
|
+
railInsetHorizontalBottom: string;
|
|
245
|
+
railInsetHorizontalTop: string;
|
|
246
|
+
railInsetVerticalRight: string;
|
|
247
|
+
railInsetVerticalLeft: string;
|
|
248
|
+
railColor: string;
|
|
249
|
+
}, any>;
|
|
250
|
+
}>>>;
|
|
225
251
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
226
252
|
fontWeight: string;
|
|
227
253
|
countTextColorDisabled: string;
|
|
@@ -283,7 +309,20 @@ export declare const inputProps: {
|
|
|
283
309
|
paddingMedium: string;
|
|
284
310
|
paddingLarge: string;
|
|
285
311
|
clearSize: string;
|
|
286
|
-
},
|
|
312
|
+
}, {
|
|
313
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
314
|
+
height: string;
|
|
315
|
+
width: string;
|
|
316
|
+
borderRadius: string;
|
|
317
|
+
color: string;
|
|
318
|
+
colorHover: string;
|
|
319
|
+
railInsetHorizontalBottom: string;
|
|
320
|
+
railInsetHorizontalTop: string;
|
|
321
|
+
railInsetVerticalRight: string;
|
|
322
|
+
railInsetVerticalLeft: string;
|
|
323
|
+
railColor: string;
|
|
324
|
+
}, any>;
|
|
325
|
+
}>>>;
|
|
287
326
|
};
|
|
288
327
|
export type InputProps = ExtractPublicPropTypes<typeof inputProps>;
|
|
289
328
|
export interface InputSlots {
|
|
@@ -453,7 +492,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
453
492
|
paddingMedium: string;
|
|
454
493
|
paddingLarge: string;
|
|
455
494
|
clearSize: string;
|
|
456
|
-
},
|
|
495
|
+
}, {
|
|
496
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
497
|
+
height: string;
|
|
498
|
+
width: string;
|
|
499
|
+
borderRadius: string;
|
|
500
|
+
color: string;
|
|
501
|
+
colorHover: string;
|
|
502
|
+
railInsetHorizontalBottom: string;
|
|
503
|
+
railInsetHorizontalTop: string;
|
|
504
|
+
railInsetVerticalRight: string;
|
|
505
|
+
railInsetVerticalLeft: string;
|
|
506
|
+
railColor: string;
|
|
507
|
+
}, any>;
|
|
508
|
+
}>>;
|
|
457
509
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
458
510
|
fontWeight: string;
|
|
459
511
|
countTextColorDisabled: string;
|
|
@@ -515,7 +567,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
515
567
|
paddingMedium: string;
|
|
516
568
|
paddingLarge: string;
|
|
517
569
|
clearSize: string;
|
|
518
|
-
},
|
|
570
|
+
}, {
|
|
571
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
572
|
+
height: string;
|
|
573
|
+
width: string;
|
|
574
|
+
borderRadius: string;
|
|
575
|
+
color: string;
|
|
576
|
+
colorHover: string;
|
|
577
|
+
railInsetHorizontalBottom: string;
|
|
578
|
+
railInsetHorizontalTop: string;
|
|
579
|
+
railInsetVerticalRight: string;
|
|
580
|
+
railInsetVerticalLeft: string;
|
|
581
|
+
railColor: string;
|
|
582
|
+
}, any>;
|
|
583
|
+
}>>>;
|
|
519
584
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
520
585
|
fontWeight: string;
|
|
521
586
|
countTextColorDisabled: string;
|
|
@@ -577,7 +642,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
577
642
|
paddingMedium: string;
|
|
578
643
|
paddingLarge: string;
|
|
579
644
|
clearSize: string;
|
|
580
|
-
},
|
|
645
|
+
}, {
|
|
646
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
647
|
+
height: string;
|
|
648
|
+
width: string;
|
|
649
|
+
borderRadius: string;
|
|
650
|
+
color: string;
|
|
651
|
+
colorHover: string;
|
|
652
|
+
railInsetHorizontalBottom: string;
|
|
653
|
+
railInsetHorizontalTop: string;
|
|
654
|
+
railInsetVerticalRight: string;
|
|
655
|
+
railInsetVerticalLeft: string;
|
|
656
|
+
railColor: string;
|
|
657
|
+
}, any>;
|
|
658
|
+
}>>>;
|
|
581
659
|
}>, {
|
|
582
660
|
wrapperElRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
583
661
|
inputElRef: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
@@ -720,9 +798,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
720
798
|
paddingLarge: string;
|
|
721
799
|
clearSize: string;
|
|
722
800
|
};
|
|
723
|
-
peers:
|
|
801
|
+
peers: {
|
|
802
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
803
|
+
height: string;
|
|
804
|
+
width: string;
|
|
805
|
+
borderRadius: string;
|
|
806
|
+
color: string;
|
|
807
|
+
colorHover: string;
|
|
808
|
+
railInsetHorizontalBottom: string;
|
|
809
|
+
railInsetHorizontalTop: string;
|
|
810
|
+
railInsetVerticalRight: string;
|
|
811
|
+
railInsetVerticalLeft: string;
|
|
812
|
+
railColor: string;
|
|
813
|
+
}, any>;
|
|
814
|
+
};
|
|
724
815
|
peerOverrides: {
|
|
725
|
-
|
|
816
|
+
Scrollbar?: {
|
|
817
|
+
peers?: {
|
|
818
|
+
[x: string]: any;
|
|
819
|
+
} | undefined;
|
|
820
|
+
} | undefined;
|
|
726
821
|
};
|
|
727
822
|
}>;
|
|
728
823
|
cssVars: import("vue").ComputedRef<{
|
|
@@ -942,7 +1037,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
942
1037
|
paddingMedium: string;
|
|
943
1038
|
paddingLarge: string;
|
|
944
1039
|
clearSize: string;
|
|
945
|
-
},
|
|
1040
|
+
}, {
|
|
1041
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1042
|
+
height: string;
|
|
1043
|
+
width: string;
|
|
1044
|
+
borderRadius: string;
|
|
1045
|
+
color: string;
|
|
1046
|
+
colorHover: string;
|
|
1047
|
+
railInsetHorizontalBottom: string;
|
|
1048
|
+
railInsetHorizontalTop: string;
|
|
1049
|
+
railInsetVerticalRight: string;
|
|
1050
|
+
railInsetVerticalLeft: string;
|
|
1051
|
+
railColor: string;
|
|
1052
|
+
}, any>;
|
|
1053
|
+
}>>;
|
|
946
1054
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
947
1055
|
fontWeight: string;
|
|
948
1056
|
countTextColorDisabled: string;
|
|
@@ -1004,7 +1112,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1004
1112
|
paddingMedium: string;
|
|
1005
1113
|
paddingLarge: string;
|
|
1006
1114
|
clearSize: string;
|
|
1007
|
-
},
|
|
1115
|
+
}, {
|
|
1116
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1117
|
+
height: string;
|
|
1118
|
+
width: string;
|
|
1119
|
+
borderRadius: string;
|
|
1120
|
+
color: string;
|
|
1121
|
+
colorHover: string;
|
|
1122
|
+
railInsetHorizontalBottom: string;
|
|
1123
|
+
railInsetHorizontalTop: string;
|
|
1124
|
+
railInsetVerticalRight: string;
|
|
1125
|
+
railInsetVerticalLeft: string;
|
|
1126
|
+
railColor: string;
|
|
1127
|
+
}, any>;
|
|
1128
|
+
}>>>;
|
|
1008
1129
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
1009
1130
|
fontWeight: string;
|
|
1010
1131
|
countTextColorDisabled: string;
|
|
@@ -1066,7 +1187,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1066
1187
|
paddingMedium: string;
|
|
1067
1188
|
paddingLarge: string;
|
|
1068
1189
|
clearSize: string;
|
|
1069
|
-
},
|
|
1190
|
+
}, {
|
|
1191
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1192
|
+
height: string;
|
|
1193
|
+
width: string;
|
|
1194
|
+
borderRadius: string;
|
|
1195
|
+
color: string;
|
|
1196
|
+
colorHover: string;
|
|
1197
|
+
railInsetHorizontalBottom: string;
|
|
1198
|
+
railInsetHorizontalTop: string;
|
|
1199
|
+
railInsetVerticalRight: string;
|
|
1200
|
+
railInsetVerticalLeft: string;
|
|
1201
|
+
railColor: string;
|
|
1202
|
+
}, any>;
|
|
1203
|
+
}>>>;
|
|
1070
1204
|
}>> & Readonly<{}>, {
|
|
1071
1205
|
type: "textarea" | "text" | "password";
|
|
1072
1206
|
readonly: string | boolean;
|
|
@@ -1082,10 +1216,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1082
1216
|
clearable: boolean;
|
|
1083
1217
|
defaultValue: string | [string, string] | null;
|
|
1084
1218
|
resizable: boolean;
|
|
1219
|
+
stateful: boolean;
|
|
1085
1220
|
pair: boolean;
|
|
1086
1221
|
rows: string | number;
|
|
1087
1222
|
passivelyActivated: boolean;
|
|
1088
|
-
stateful: boolean;
|
|
1089
1223
|
showCount: boolean;
|
|
1090
1224
|
attrSize: number;
|
|
1091
1225
|
internalDeactivateOnEnter: boolean;
|
package/es/input/src/Input.mjs
CHANGED
|
@@ -1002,7 +1002,7 @@ export default defineComponent({
|
|
|
1002
1002
|
});
|
|
1003
1003
|
},
|
|
1004
1004
|
render() {
|
|
1005
|
-
var _a, _b;
|
|
1005
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1006
1006
|
const {
|
|
1007
1007
|
mergedClsPrefix,
|
|
1008
1008
|
mergedStatus,
|
|
@@ -1046,6 +1046,8 @@ export default defineComponent({
|
|
|
1046
1046
|
ref: "textareaScrollbarInstRef",
|
|
1047
1047
|
class: `${mergedClsPrefix}-input__textarea`,
|
|
1048
1048
|
container: this.getTextareaScrollContainer,
|
|
1049
|
+
theme: (_b = (_a = this.theme) === null || _a === void 0 ? void 0 : _a.peers) === null || _b === void 0 ? void 0 : _b.Scrollbar,
|
|
1050
|
+
themeOverrides: (_d = (_c = this.themeOverrides) === null || _c === void 0 ? void 0 : _c.peers) === null || _d === void 0 ? void 0 : _d.Scrollbar,
|
|
1049
1051
|
triggerDisplayManually: true,
|
|
1050
1052
|
useUnifiedContainer: true,
|
|
1051
1053
|
internalHoistYRail: true
|
|
@@ -1098,9 +1100,9 @@ export default defineComponent({
|
|
|
1098
1100
|
type: type === 'password' && this.mergedShowPasswordOn && this.passwordVisible ? 'text' : type
|
|
1099
1101
|
}, this.inputProps, {
|
|
1100
1102
|
ref: "inputElRef",
|
|
1101
|
-
class: [`${mergedClsPrefix}-input__input-el`, (
|
|
1102
|
-
style: [this.textDecorationStyle[0], (
|
|
1103
|
-
tabindex: this.passivelyActivated && !this.activated ? -1 :
|
|
1103
|
+
class: [`${mergedClsPrefix}-input__input-el`, (_e = this.inputProps) === null || _e === void 0 ? void 0 : _e.class],
|
|
1104
|
+
style: [this.textDecorationStyle[0], (_f = this.inputProps) === null || _f === void 0 ? void 0 : _f.style],
|
|
1105
|
+
tabindex: this.passivelyActivated && !this.activated ? -1 : (_g = this.inputProps) === null || _g === void 0 ? void 0 : _g.tabindex,
|
|
1104
1106
|
placeholder: this.mergedPlaceholder[0],
|
|
1105
1107
|
disabled: this.mergedDisabled,
|
|
1106
1108
|
maxlength: countGraphemes ? undefined : this.maxlength,
|
|
@@ -2,10 +2,7 @@ import type { ExtractPublicPropTypes } from '../../_utils';
|
|
|
2
2
|
import type { Size } from './interface';
|
|
3
3
|
import { type PropType } from 'vue';
|
|
4
4
|
export declare const inputGroupLabelProps: {
|
|
5
|
-
readonly size:
|
|
6
|
-
readonly type: PropType<Size>;
|
|
7
|
-
readonly default: "medium";
|
|
8
|
-
};
|
|
5
|
+
readonly size: PropType<Size>;
|
|
9
6
|
readonly bordered: {
|
|
10
7
|
readonly type: PropType<boolean | undefined>;
|
|
11
8
|
readonly default: undefined;
|
|
@@ -71,7 +68,20 @@ export declare const inputGroupLabelProps: {
|
|
|
71
68
|
paddingMedium: string;
|
|
72
69
|
paddingLarge: string;
|
|
73
70
|
clearSize: string;
|
|
74
|
-
},
|
|
71
|
+
}, {
|
|
72
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
73
|
+
height: string;
|
|
74
|
+
width: string;
|
|
75
|
+
borderRadius: string;
|
|
76
|
+
color: string;
|
|
77
|
+
colorHover: string;
|
|
78
|
+
railInsetHorizontalBottom: string;
|
|
79
|
+
railInsetHorizontalTop: string;
|
|
80
|
+
railInsetVerticalRight: string;
|
|
81
|
+
railInsetVerticalLeft: string;
|
|
82
|
+
railColor: string;
|
|
83
|
+
}, any>;
|
|
84
|
+
}>>;
|
|
75
85
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
76
86
|
fontWeight: string;
|
|
77
87
|
countTextColorDisabled: string;
|
|
@@ -133,7 +143,20 @@ export declare const inputGroupLabelProps: {
|
|
|
133
143
|
paddingMedium: string;
|
|
134
144
|
paddingLarge: string;
|
|
135
145
|
clearSize: string;
|
|
136
|
-
},
|
|
146
|
+
}, {
|
|
147
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
148
|
+
height: string;
|
|
149
|
+
width: string;
|
|
150
|
+
borderRadius: string;
|
|
151
|
+
color: string;
|
|
152
|
+
colorHover: string;
|
|
153
|
+
railInsetHorizontalBottom: string;
|
|
154
|
+
railInsetHorizontalTop: string;
|
|
155
|
+
railInsetVerticalRight: string;
|
|
156
|
+
railInsetVerticalLeft: string;
|
|
157
|
+
railColor: string;
|
|
158
|
+
}, any>;
|
|
159
|
+
}>>>;
|
|
137
160
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
138
161
|
fontWeight: string;
|
|
139
162
|
countTextColorDisabled: string;
|
|
@@ -195,14 +218,24 @@ export declare const inputGroupLabelProps: {
|
|
|
195
218
|
paddingMedium: string;
|
|
196
219
|
paddingLarge: string;
|
|
197
220
|
clearSize: string;
|
|
198
|
-
},
|
|
221
|
+
}, {
|
|
222
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
223
|
+
height: string;
|
|
224
|
+
width: string;
|
|
225
|
+
borderRadius: string;
|
|
226
|
+
color: string;
|
|
227
|
+
colorHover: string;
|
|
228
|
+
railInsetHorizontalBottom: string;
|
|
229
|
+
railInsetHorizontalTop: string;
|
|
230
|
+
railInsetVerticalRight: string;
|
|
231
|
+
railInsetVerticalLeft: string;
|
|
232
|
+
railColor: string;
|
|
233
|
+
}, any>;
|
|
234
|
+
}>>>;
|
|
199
235
|
};
|
|
200
236
|
export type InputGroupLabelProps = ExtractPublicPropTypes<typeof inputGroupLabelProps>;
|
|
201
237
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
202
|
-
readonly size:
|
|
203
|
-
readonly type: PropType<Size>;
|
|
204
|
-
readonly default: "medium";
|
|
205
|
-
};
|
|
238
|
+
readonly size: PropType<Size>;
|
|
206
239
|
readonly bordered: {
|
|
207
240
|
readonly type: PropType<boolean | undefined>;
|
|
208
241
|
readonly default: undefined;
|
|
@@ -268,7 +301,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
268
301
|
paddingMedium: string;
|
|
269
302
|
paddingLarge: string;
|
|
270
303
|
clearSize: string;
|
|
271
|
-
},
|
|
304
|
+
}, {
|
|
305
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
306
|
+
height: string;
|
|
307
|
+
width: string;
|
|
308
|
+
borderRadius: string;
|
|
309
|
+
color: string;
|
|
310
|
+
colorHover: string;
|
|
311
|
+
railInsetHorizontalBottom: string;
|
|
312
|
+
railInsetHorizontalTop: string;
|
|
313
|
+
railInsetVerticalRight: string;
|
|
314
|
+
railInsetVerticalLeft: string;
|
|
315
|
+
railColor: string;
|
|
316
|
+
}, any>;
|
|
317
|
+
}>>;
|
|
272
318
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
273
319
|
fontWeight: string;
|
|
274
320
|
countTextColorDisabled: string;
|
|
@@ -330,7 +376,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
330
376
|
paddingMedium: string;
|
|
331
377
|
paddingLarge: string;
|
|
332
378
|
clearSize: string;
|
|
333
|
-
},
|
|
379
|
+
}, {
|
|
380
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
381
|
+
height: string;
|
|
382
|
+
width: string;
|
|
383
|
+
borderRadius: string;
|
|
384
|
+
color: string;
|
|
385
|
+
colorHover: string;
|
|
386
|
+
railInsetHorizontalBottom: string;
|
|
387
|
+
railInsetHorizontalTop: string;
|
|
388
|
+
railInsetVerticalRight: string;
|
|
389
|
+
railInsetVerticalLeft: string;
|
|
390
|
+
railColor: string;
|
|
391
|
+
}, any>;
|
|
392
|
+
}>>>;
|
|
334
393
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
335
394
|
fontWeight: string;
|
|
336
395
|
countTextColorDisabled: string;
|
|
@@ -392,7 +451,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
392
451
|
paddingMedium: string;
|
|
393
452
|
paddingLarge: string;
|
|
394
453
|
clearSize: string;
|
|
395
|
-
},
|
|
454
|
+
}, {
|
|
455
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
456
|
+
height: string;
|
|
457
|
+
width: string;
|
|
458
|
+
borderRadius: string;
|
|
459
|
+
color: string;
|
|
460
|
+
colorHover: string;
|
|
461
|
+
railInsetHorizontalBottom: string;
|
|
462
|
+
railInsetHorizontalTop: string;
|
|
463
|
+
railInsetVerticalRight: string;
|
|
464
|
+
railInsetVerticalLeft: string;
|
|
465
|
+
railColor: string;
|
|
466
|
+
}, any>;
|
|
467
|
+
}>>>;
|
|
396
468
|
}>, {
|
|
397
469
|
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
398
470
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
@@ -409,10 +481,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
409
481
|
themeClass: import("vue").Ref<string, string> | undefined;
|
|
410
482
|
onRender: (() => void) | undefined;
|
|
411
483
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
412
|
-
readonly size:
|
|
413
|
-
readonly type: PropType<Size>;
|
|
414
|
-
readonly default: "medium";
|
|
415
|
-
};
|
|
484
|
+
readonly size: PropType<Size>;
|
|
416
485
|
readonly bordered: {
|
|
417
486
|
readonly type: PropType<boolean | undefined>;
|
|
418
487
|
readonly default: undefined;
|
|
@@ -478,7 +547,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
478
547
|
paddingMedium: string;
|
|
479
548
|
paddingLarge: string;
|
|
480
549
|
clearSize: string;
|
|
481
|
-
},
|
|
550
|
+
}, {
|
|
551
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
552
|
+
height: string;
|
|
553
|
+
width: string;
|
|
554
|
+
borderRadius: string;
|
|
555
|
+
color: string;
|
|
556
|
+
colorHover: string;
|
|
557
|
+
railInsetHorizontalBottom: string;
|
|
558
|
+
railInsetHorizontalTop: string;
|
|
559
|
+
railInsetVerticalRight: string;
|
|
560
|
+
railInsetVerticalLeft: string;
|
|
561
|
+
railColor: string;
|
|
562
|
+
}, any>;
|
|
563
|
+
}>>;
|
|
482
564
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
483
565
|
fontWeight: string;
|
|
484
566
|
countTextColorDisabled: string;
|
|
@@ -540,7 +622,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
540
622
|
paddingMedium: string;
|
|
541
623
|
paddingLarge: string;
|
|
542
624
|
clearSize: string;
|
|
543
|
-
},
|
|
625
|
+
}, {
|
|
626
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
627
|
+
height: string;
|
|
628
|
+
width: string;
|
|
629
|
+
borderRadius: string;
|
|
630
|
+
color: string;
|
|
631
|
+
colorHover: string;
|
|
632
|
+
railInsetHorizontalBottom: string;
|
|
633
|
+
railInsetHorizontalTop: string;
|
|
634
|
+
railInsetVerticalRight: string;
|
|
635
|
+
railInsetVerticalLeft: string;
|
|
636
|
+
railColor: string;
|
|
637
|
+
}, any>;
|
|
638
|
+
}>>>;
|
|
544
639
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
|
|
545
640
|
fontWeight: string;
|
|
546
641
|
countTextColorDisabled: string;
|
|
@@ -602,9 +697,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
602
697
|
paddingMedium: string;
|
|
603
698
|
paddingLarge: string;
|
|
604
699
|
clearSize: string;
|
|
605
|
-
},
|
|
700
|
+
}, {
|
|
701
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
702
|
+
height: string;
|
|
703
|
+
width: string;
|
|
704
|
+
borderRadius: string;
|
|
705
|
+
color: string;
|
|
706
|
+
colorHover: string;
|
|
707
|
+
railInsetHorizontalBottom: string;
|
|
708
|
+
railInsetHorizontalTop: string;
|
|
709
|
+
railInsetVerticalRight: string;
|
|
710
|
+
railInsetVerticalLeft: string;
|
|
711
|
+
railColor: string;
|
|
712
|
+
}, any>;
|
|
713
|
+
}>>>;
|
|
606
714
|
}>> & Readonly<{}>, {
|
|
607
|
-
readonly size: Size;
|
|
608
715
|
readonly bordered: boolean | undefined;
|
|
609
716
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
610
717
|
export default _default;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { computed, defineComponent, h } from 'vue';
|
|
2
|
-
import { useConfig, useTheme, useThemeClass } from "../../_mixins/index.mjs";
|
|
2
|
+
import { useConfig, useFormItem, useTheme, useThemeClass } from "../../_mixins/index.mjs";
|
|
3
3
|
import { createKey } from "../../_utils/index.mjs";
|
|
4
4
|
import { inputLight } from "../styles/index.mjs";
|
|
5
5
|
import style from "./styles/input-group-label.cssr.mjs";
|
|
6
6
|
export const inputGroupLabelProps = Object.assign(Object.assign({}, useTheme.props), {
|
|
7
|
-
size:
|
|
8
|
-
type: String,
|
|
9
|
-
default: 'medium'
|
|
10
|
-
},
|
|
7
|
+
size: String,
|
|
11
8
|
bordered: {
|
|
12
9
|
type: Boolean,
|
|
13
10
|
default: undefined
|
|
@@ -22,11 +19,15 @@ export default defineComponent({
|
|
|
22
19
|
mergedClsPrefixRef,
|
|
23
20
|
inlineThemeDisabled
|
|
24
21
|
} = useConfig(props);
|
|
22
|
+
const formItem = useFormItem(props);
|
|
23
|
+
const {
|
|
24
|
+
mergedSizeRef
|
|
25
|
+
} = formItem;
|
|
25
26
|
const themeRef = useTheme('Input', '-input-group-label', style, inputLight, props, mergedClsPrefixRef);
|
|
26
27
|
const cssVarsRef = computed(() => {
|
|
27
28
|
const {
|
|
28
|
-
size
|
|
29
|
-
} =
|
|
29
|
+
value: size
|
|
30
|
+
} = mergedSizeRef;
|
|
30
31
|
const {
|
|
31
32
|
common: {
|
|
32
33
|
cubicBezierEaseInOut
|
|
@@ -52,7 +53,12 @@ export default defineComponent({
|
|
|
52
53
|
'--n-height': height
|
|
53
54
|
};
|
|
54
55
|
});
|
|
55
|
-
const themeClassHandle = inlineThemeDisabled ? useThemeClass('input-group-label', computed(() =>
|
|
56
|
+
const themeClassHandle = inlineThemeDisabled ? useThemeClass('input-group-label', computed(() => {
|
|
57
|
+
const {
|
|
58
|
+
value: size
|
|
59
|
+
} = mergedSizeRef;
|
|
60
|
+
return size[0];
|
|
61
|
+
}), cssVarsRef, props) : undefined;
|
|
56
62
|
return {
|
|
57
63
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
58
64
|
mergedBordered: mergedBorderedRef,
|