@uzum-tech/ui 1.3.1 → 1.4.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 +83297 -64805
- package/dist/index.prod.js +12 -2
- package/es/__mocks__/vueuse-core.d.ts +5 -0
- package/es/__mocks__/vueuse-core.js +9 -0
- package/es/_internal/checkbox/src/use-checkbox.d.ts +4 -4
- package/es/_internal/close/src/Close.d.ts +2 -2
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +3 -3
- package/es/_internal/icons/ContentCopy.d.ts +2 -0
- package/es/_internal/icons/ContentCopy.js +8 -0
- package/es/_internal/icons/FileHeart.d.ts +2 -0
- package/es/_internal/icons/FileHeart.js +8 -0
- package/es/_internal/icons/SiderUnionBorder.d.ts +2 -0
- package/es/_internal/icons/SiderUnionBorder.js +8 -0
- package/es/_internal/icons/index.d.ts +3 -0
- package/es/_internal/icons/index.js +3 -0
- package/es/_internal/loading/src/Loading.d.ts +2 -2
- package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/es/_internal/radio/src/use-radio.d.ts +2 -2
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
- package/es/_internal/select-menu/src/SelectMenu.d.ts +83 -152
- package/es/_internal/select-menu/src/SelectOption.d.ts +2 -2
- package/es/_internal/select-menu/styles/light.d.ts +11 -5
- package/es/_internal/selection/src/Selection.d.ts +13 -124
- package/es/_internal/skeleton/src/Skeleton.d.ts +1 -1
- package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/es/_utils/cssr/index.d.ts +1 -1
- package/es/_utils/debounce/index.d.ts +1 -0
- package/es/_utils/debounce/index.js +10 -0
- package/es/_utils/inject/index.d.ts +1 -1
- package/es/_utils/vue/render.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +4 -4
- package/es/alert/src/Alert.d.ts +8 -120
- package/es/anchor/src/AnchorAdapter.d.ts +4 -4
- package/es/anchor/src/BaseAnchor.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +130 -175
- package/es/auto-complete/styles/light.d.ts +11 -5
- package/es/avatar/src/Avatar.d.ts +3 -3
- package/es/avatar-group/src/AvatarGroup.d.ts +6 -117
- package/es/back-top/src/BackTop.d.ts +4 -4
- package/es/badge/src/Badge.d.ts +7 -7
- package/es/button/src/Button.d.ts +14 -14
- package/es/calendar/src/Calendar.d.ts +3 -114
- package/es/card/src/Card.d.ts +19 -130
- package/es/card-list/index.d.ts +2 -0
- package/es/card-list/index.js +1 -0
- package/es/card-list/src/CardList.d.ts +259 -0
- package/es/card-list/src/CardList.js +69 -0
- package/es/card-list/src/CardListItem.d.ts +70 -0
- package/es/card-list/src/CardListItem.js +112 -0
- package/es/card-list/src/interface.d.ts +12 -0
- package/es/card-list/src/interface.js +1 -0
- package/es/card-list/src/styles/index.cssr.d.ts +2 -0
- package/es/card-list/src/styles/index.cssr.js +101 -0
- package/es/card-list/styles/dark.d.ts +3 -0
- package/es/card-list/styles/dark.js +8 -0
- package/es/card-list/styles/index.d.ts +3 -0
- package/es/card-list/styles/index.js +2 -0
- package/es/card-list/styles/light.d.ts +22 -0
- package/es/card-list/styles/light.js +26 -0
- package/es/carousel/src/Carousel.d.ts +23 -25
- package/es/carousel/src/CarouselDots.d.ts +5 -5
- package/es/cascader/src/Cascader.d.ts +246 -231
- package/es/cascader/src/CascaderMenu.d.ts +36 -129
- package/es/cascader/src/CascaderOption.d.ts +34 -127
- package/es/cascader/src/CascaderSelectMenu.d.ts +35 -128
- package/es/cascader/src/CascaderSubmenu.d.ts +34 -127
- package/es/cascader/styles/light.d.ts +22 -10
- package/es/checkbox/src/Checkbox.d.ts +18 -129
- package/es/checkbox/src/CheckboxGroup.d.ts +14 -14
- package/es/code/src/Code.d.ts +1 -1
- package/es/collapse/src/Collapse.d.ts +10 -121
- package/es/collapse/src/CollapseItem.d.ts +3 -3
- package/es/collapse/src/CollapseItemContent.d.ts +2 -2
- package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/es/color-picker/src/ColorInput.d.ts +2 -2
- package/es/color-picker/src/ColorInputUnit.d.ts +3 -114
- package/es/color-picker/src/ColorPicker.d.ts +7 -7
- package/es/components.d.ts +1 -0
- package/es/components.js +1 -0
- package/es/config-provider/src/ConfigProvider.d.ts +10 -366
- package/es/config-provider/src/config.js +5 -5
- package/es/config-provider/src/internal-interface.d.ts +3 -1
- package/es/countdown/src/Countdown.d.ts +4 -4
- package/es/data-table/src/DataTable.d.ts +308 -255
- package/es/data-table/src/DataTable.js +153 -5
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +59 -137
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +62 -140
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
- package/es/data-table/src/MainTable.d.ts +4 -1
- package/es/data-table/src/MainTable.js +6 -4
- package/es/data-table/src/TableParts/Body.d.ts +68 -142
- package/es/data-table/src/TableParts/Body.js +27 -7
- package/es/data-table/src/TableParts/Cell.d.ts +8 -2828
- package/es/data-table/src/TableParts/Cell.js +64 -6
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
- package/es/data-table/src/TableParts/Header.d.ts +60 -138
- package/es/data-table/src/TableParts/Header.js +7 -5
- package/es/data-table/src/interface.d.ts +135 -53
- package/es/data-table/src/styles/index.cssr.js +25 -1
- package/es/data-table/src/use-check.d.ts +1 -1
- package/es/data-table/src/use-expand.d.ts +1 -1
- package/es/data-table/src/use-group-header.js +4 -0
- package/es/data-table/src/use-mask.d.ts +10 -0
- package/es/data-table/src/use-mask.js +58 -0
- package/es/data-table/src/utils.d.ts +4 -0
- package/es/data-table/src/utils.js +4 -0
- package/es/data-table/styles/light.d.ts +39 -15
- package/es/data-table/styles/light.js +4 -1
- package/es/date-picker/src/DatePicker.d.ts +14 -125
- package/es/date-picker/src/panel/date.d.ts +6 -129
- package/es/date-picker/src/panel/daterange.d.ts +7 -118
- package/es/date-picker/src/panel/datetime.d.ts +6 -117
- package/es/date-picker/src/panel/datetimerange.d.ts +7 -118
- package/es/date-picker/src/panel/panelMonth.d.ts +41 -299
- package/es/date-picker/src/panel/panelMonthContent.d.ts +6 -123
- package/es/date-picker/src/panel/panelYear.d.ts +41 -299
- package/es/date-picker/src/panel/panelYearContent.d.ts +6 -135
- package/es/date-picker/src/panel/use-calendar.d.ts +3 -114
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +8 -119
- package/es/date-picker/src/panel/use-panel-common.d.ts +2 -113
- package/es/date-picker/styles/_common.js +1 -1
- package/es/descriptions/src/Descriptions.d.ts +2 -2
- package/es/dialog/src/Dialog.d.ts +4 -115
- package/es/dialog/src/Dialog.js +1 -1
- package/es/dialog/src/DialogEnvironment.d.ts +5 -5
- package/es/dialog/src/DialogProvider.d.ts +40 -40
- package/es/dialog/src/dialogProps.d.ts +2 -2
- package/es/divider/src/Divider.d.ts +4 -4
- package/es/drawer/src/Drawer.d.ts +21 -119
- package/es/drawer/src/Drawer.js +4 -1
- package/es/drawer/src/DrawerBodyWrapper.d.ts +12 -114
- package/es/drawer/src/DrawerBodyWrapper.js +6 -0
- package/es/drawer/src/DrawerContent.d.ts +1 -112
- package/es/drawer/src/styles/index.cssr.js +3 -2
- package/es/drawer/styles/_common.js +2 -2
- package/es/dropdown/src/Dropdown.d.ts +31 -142
- package/es/dropdown/src/DropdownGroup.d.ts +3 -2
- package/es/dropdown/src/DropdownMenu.d.ts +3 -2
- package/es/dropdown/src/DropdownOption.d.ts +4 -3
- package/es/dropdown/src/DropdownRenderOption.d.ts +3 -2
- package/es/dynamic-input/src/DynamicInput.d.ts +3 -114
- package/es/dynamic-input/src/InputPreset.d.ts +1 -112
- package/es/dynamic-input/src/PairPreset.d.ts +1 -112
- package/es/dynamic-tags/src/DynamicTags.d.ts +14 -125
- package/es/ellipsis/src/Ellipsis.d.ts +4 -115
- package/es/ellipsis/src/PerformantEllipsis.d.ts +2 -2
- package/es/empty/src/Empty.d.ts +109 -48
- package/es/empty/src/Empty.js +27 -9
- package/es/empty/src/styles/index.cssr.js +38 -11
- package/es/empty/styles/light.d.ts +11 -5
- package/es/empty/styles/light.js +17 -11
- package/es/equation/src/Equation.d.ts +4 -3
- package/es/flex/src/Flex.d.ts +13 -12
- package/es/form/src/Form.d.ts +4 -4
- package/es/form/src/Form.js +2 -2
- package/es/form/src/FormItem.d.ts +23 -10
- package/es/form/src/FormItem.js +20 -7
- package/es/form/src/FormItemCol.d.ts +22 -9
- package/es/form/src/FormItemGridItem.d.ts +24 -11
- package/es/form/src/FormItemRow.d.ts +21 -8
- package/es/form/src/utils.d.ts +3 -2
- package/es/form/src/utils.js +16 -0
- package/es/gradient-text/src/GradientText.d.ts +5 -5
- package/es/grid/src/Grid.d.ts +18 -18
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/icon/src/Icon.d.ts +3 -3
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/es/image/src/Image.d.ts +5 -5
- package/es/image/src/ImageGroup.d.ts +1 -1
- package/es/image/src/ImagePreview.d.ts +1 -1
- package/es/input/src/Input.d.ts +79 -155
- package/es/input/src/Input.js +54 -17
- package/es/input/src/InputGroupLabel.d.ts +1 -1
- package/es/input/src/use-clipboard.d.ts +9 -0
- package/es/input/src/use-clipboard.js +47 -0
- package/es/input-number/src/InputNumber.d.ts +14 -125
- package/es/layout/src/Layout.d.ts +4 -226
- package/es/layout/src/LayoutContent.d.ts +2 -113
- package/es/layout/src/LayoutFooter.d.ts +1 -1
- package/es/layout/src/LayoutHeader.d.ts +2 -2
- package/es/layout/src/LayoutHeader.js +5 -1
- package/es/layout/src/LayoutSider.d.ts +10 -121
- package/es/layout/src/LayoutSider.js +3 -3
- package/es/layout/src/ToggleSidebarButton.d.ts +15 -0
- package/es/layout/src/ToggleSidebarButton.js +23 -0
- package/es/layout/src/interface.d.ts +1 -1
- package/es/layout/src/styles/layout-header.cssr.js +4 -1
- package/es/layout/src/styles/layout-sider.cssr.js +64 -6
- package/es/layout/src/utils/resolveTriggerComponent.d.ts +51 -0
- package/es/layout/src/utils/resolveTriggerComponent.js +13 -0
- package/es/legacy-transfer/src/Transfer.d.ts +112 -163
- package/es/legacy-transfer/src/TransferFilter.d.ts +12 -117
- package/es/legacy-transfer/src/TransferList.d.ts +12 -117
- package/es/legacy-transfer/src/TransferListItem.d.ts +13 -118
- package/es/legacy-transfer/styles/light.d.ts +11 -5
- package/es/list/src/List.d.ts +6 -6
- package/es/list/src/ListItem.d.ts +5 -5
- package/es/loading-bar/src/LoadingBar.d.ts +1 -1
- package/es/loading-bar/src/LoadingBar.js +2 -2
- package/es/loading-bar/src/LoadingBarProvider.d.ts +9 -9
- package/es/locales/common/arDZ.js +9 -2
- package/es/locales/common/deDE.js +9 -2
- package/es/locales/common/enGB.js +9 -2
- package/es/locales/common/enUS.d.ts +8 -1
- package/es/locales/common/enUS.js +9 -2
- package/es/locales/common/eo.js +9 -2
- package/es/locales/common/esAR.js +9 -2
- package/es/locales/common/faIR.js +9 -2
- package/es/locales/common/frFR.js +9 -2
- package/es/locales/common/idID.js +9 -2
- package/es/locales/common/itIT.js +9 -2
- package/es/locales/common/jaJP.js +9 -2
- package/es/locales/common/koKR.js +9 -2
- package/es/locales/common/nbNO.js +9 -2
- package/es/locales/common/nlNL.js +9 -2
- package/es/locales/common/plPL.js +9 -2
- package/es/locales/common/ptBR.js +9 -2
- package/es/locales/common/ruRU.js +9 -2
- package/es/locales/common/skSK.js +9 -2
- package/es/locales/common/svSE.js +9 -2
- package/es/locales/common/thTH.js +9 -2
- package/es/locales/common/trTR.js +9 -2
- package/es/locales/common/ukUA.js +9 -2
- package/es/locales/common/viVN.js +9 -2
- package/es/locales/common/zhCN.js +9 -2
- package/es/locales/common/zhTW.js +9 -2
- package/es/log/src/Log.d.ts +8 -120
- package/es/mention/src/Mention.d.ts +140 -185
- package/es/mention/src/utils.js +4 -4
- package/es/mention/styles/light.d.ts +11 -5
- package/es/menu/src/Menu.d.ts +16 -127
- package/es/menu/src/MenuOption.d.ts +2 -113
- package/es/menu/src/MenuOptionGroup.d.ts +1 -1
- package/es/menu/src/Submenu.d.ts +2 -113
- package/es/message/src/Message.d.ts +1 -1
- package/es/message/src/MessageEnvironment.d.ts +1 -1
- package/es/message/src/MessageProvider.d.ts +5 -5
- package/es/modal/src/BodyWrapper.d.ts +8 -119
- package/es/modal/src/Modal.d.ts +17 -17
- package/es/modal/src/presetProps.d.ts +2 -2
- package/es/notification/src/Notification.d.ts +5 -5
- package/es/notification/src/NotificationContainer.d.ts +1 -112
- package/es/notification/src/NotificationEnvironment.d.ts +4 -4
- package/es/notification/src/NotificationProvider.d.ts +17 -17
- package/es/number-animation/src/NumberAnimation.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +263 -242
- package/es/pagination/styles/light.d.ts +22 -10
- package/es/popconfirm/src/Popconfirm.d.ts +29 -140
- package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/es/popover/src/Popover.d.ts +30 -30
- package/es/popover/src/PopoverBody.d.ts +19 -19
- package/es/popselect/src/Popselect.d.ts +195 -240
- package/es/popselect/src/PopselectPanel.d.ts +26 -125
- package/es/popselect/styles/light.d.ts +11 -5
- package/es/preset.d.ts +1 -1
- package/es/progress/src/Line.d.ts +1 -1
- package/es/progress/src/MultipleCircle.d.ts +2 -2
- package/es/progress/src/Progress.d.ts +6 -6
- package/es/radio/src/Radio.d.ts +10 -10
- package/es/radio/src/RadioButton.d.ts +6 -6
- package/es/rate/src/Rate.d.ts +1 -1
- package/es/result/src/Result.d.ts +4 -4
- package/es/select/src/Select.d.ts +141 -186
- package/es/select/styles/light.d.ts +11 -5
- package/es/skeleton/src/Skeleton.d.ts +1 -1
- package/es/slider/src/Slider.d.ts +9 -9
- package/es/space/src/Space.d.ts +5 -5
- package/es/spin/src/Spin.d.ts +8 -8
- package/es/styles.d.ts +1 -0
- package/es/styles.js +1 -0
- package/es/switch/src/Switch.d.ts +11 -11
- package/es/table/src/Table.d.ts +1 -1
- package/es/tabs/src/Tab.d.ts +10 -22
- package/es/tabs/src/TabPane.d.ts +9 -21
- package/es/tabs/src/Tabs.d.ts +29 -30
- package/es/tag/src/Tag.d.ts +11 -11
- package/es/tag/src/common-props.d.ts +2 -2
- package/es/themes/dark.js +2 -0
- package/es/themes/light.js +2 -0
- package/es/time/src/Time.d.ts +2 -2
- package/es/time-picker/src/Panel.d.ts +3 -114
- package/es/time-picker/src/PanelCol.d.ts +4 -4
- package/es/time-picker/src/TimePicker.d.ts +17 -128
- package/es/timeline/src/TimelineItem.d.ts +4 -4
- package/es/toggle-button/src/ToggleButton.d.ts +12 -12
- package/es/tooltip/src/Tooltip.d.ts +25 -136
- package/es/transfer/src/Transfer.d.ts +112 -163
- package/es/transfer/src/TransferFilter.d.ts +12 -117
- package/es/transfer/src/TransferList.d.ts +12 -117
- package/es/transfer/src/TransferListItem.d.ts +13 -118
- package/es/transfer/styles/light.d.ts +11 -5
- package/es/tree/src/MotionWrapper.d.ts +2 -2
- package/es/tree/src/Tree.d.ts +148 -199
- package/es/tree/src/TreeNodeCheckbox.d.ts +13 -118
- package/es/tree/src/TreeNodeContent.d.ts +1 -1
- package/es/tree/src/TreeNodeSwitcher.d.ts +3 -3
- package/es/tree/styles/light.d.ts +11 -5
- package/es/tree-select/src/TreeSelect.d.ts +269 -260
- package/es/tree-select/styles/light.d.ts +22 -10
- package/es/typography/src/create-header.d.ts +5 -5
- package/es/typography/src/headers.d.ts +18 -18
- package/es/typography/src/p.d.ts +3 -3
- package/es/typography/src/text.d.ts +6 -6
- package/es/upload/src/Upload.d.ts +137 -137
- package/es/upload/src/Upload.js +60 -188
- package/es/upload/src/UploadFile.d.ts +17 -115
- package/es/upload/src/UploadFile.js +57 -54
- package/es/upload/src/UploadFileList.js +2 -2
- package/es/upload/src/UploadProgress.d.ts +9 -114
- package/es/upload/src/UploadTrigger.js +20 -7
- package/es/upload/src/interface.d.ts +42 -0
- package/es/upload/src/styles/index.cssr.js +159 -34
- package/es/upload/src/useUpload.d.ts +2 -0
- package/es/upload/src/useUpload.js +163 -0
- package/es/upload/src/useUploadActionsRender.d.ts +26 -0
- package/es/upload/src/useUploadActionsRender.js +85 -0
- package/es/upload/src/useUploadInternals.d.ts +25 -0
- package/es/upload/src/useUploadInternals.js +37 -0
- package/es/upload/src/utils.d.ts +2 -1
- package/es/upload/src/utils.js +5 -0
- package/es/upload/styles/light.d.ts +12 -0
- package/es/upload/styles/light.js +8 -2
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/src/Watermark.d.ts +6 -6
- package/lib/__mocks__/vueuse-core.d.ts +5 -0
- package/lib/__mocks__/vueuse-core.js +9 -0
- package/lib/_internal/checkbox/src/use-checkbox.d.ts +4 -4
- package/lib/_internal/close/src/Close.d.ts +2 -2
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +3 -3
- package/lib/_internal/icons/ContentCopy.d.ts +2 -0
- package/lib/_internal/icons/ContentCopy.js +10 -0
- package/lib/_internal/icons/FileHeart.d.ts +2 -0
- package/lib/_internal/icons/FileHeart.js +10 -0
- package/lib/_internal/icons/SiderUnionBorder.d.ts +2 -0
- package/lib/_internal/icons/SiderUnionBorder.js +10 -0
- package/lib/_internal/icons/index.d.ts +3 -0
- package/lib/_internal/icons/index.js +8 -1
- package/lib/_internal/icons/replaceable.js +1 -2
- package/lib/_internal/loading/src/Loading.d.ts +2 -2
- package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/lib/_internal/radio/src/use-radio.d.ts +2 -2
- package/lib/_internal/radio/src/use-radio.js +2 -2
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +83 -152
- package/lib/_internal/select-menu/src/SelectOption.d.ts +2 -2
- package/lib/_internal/select-menu/styles/light.d.ts +11 -5
- package/lib/_internal/selection/src/Selection.d.ts +13 -124
- package/lib/_internal/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/_mixins/use-config.js +3 -3
- package/lib/_mixins/use-css-vars-class.js +1 -2
- package/lib/_mixins/use-form-item.js +1 -1
- package/lib/_mixins/use-hljs.js +1 -1
- package/lib/_mixins/use-locale.js +1 -1
- package/lib/_mixins/use-rtl.js +1 -2
- package/lib/_mixins/use-style.js +1 -1
- package/lib/_mixins/use-theme.js +1 -2
- package/lib/_resolvers/auto-import/auto-import-resolver.js +1 -2
- package/lib/_styles/transitions/fade-down.cssr.js +2 -3
- package/lib/_styles/transitions/fade-in-height-expand.cssr.js +2 -3
- package/lib/_styles/transitions/fade-in-scale-up.cssr.js +2 -3
- package/lib/_styles/transitions/fade-in-width-expand.cssr.js +2 -3
- package/lib/_styles/transitions/fade-in.cssr.js +2 -3
- package/lib/_styles/transitions/fade-up-width-expand.cssr.js +2 -3
- package/lib/_styles/transitions/icon-switch.cssr.js +2 -3
- package/lib/_styles/transitions/slide-in-from-bottom.js +1 -2
- package/lib/_styles/transitions/slide-in-from-left.js +1 -2
- package/lib/_styles/transitions/slide-in-from-right.js +1 -2
- package/lib/_styles/transitions/slide-in-from-top.js +1 -2
- package/lib/_utils/color/index.js +3 -4
- package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/lib/_utils/composable/use-adjusted-to.js +1 -2
- package/lib/_utils/composable/use-collection.js +3 -4
- package/lib/_utils/composable/use-deferred-true.js +1 -2
- package/lib/_utils/composable/use-houdini.js +1 -2
- package/lib/_utils/composable/use-lock-html-scroll.js +2 -2
- package/lib/_utils/composable/use-reactivated.js +1 -2
- package/lib/_utils/composable/use-resize.js +1 -2
- package/lib/_utils/css/color-to-class.js +1 -2
- package/lib/_utils/css/format-length.js +1 -2
- package/lib/_utils/cssr/create-key.js +1 -2
- package/lib/_utils/cssr/index.d.ts +1 -1
- package/lib/_utils/cssr/index.js +4 -4
- package/lib/_utils/debounce/index.d.ts +1 -0
- package/lib/_utils/debounce/index.js +13 -0
- package/lib/_utils/dom/is-document.js +1 -2
- package/lib/_utils/env/is-jsdom.js +1 -2
- package/lib/_utils/event/index.js +2 -3
- package/lib/_utils/inject/index.d.ts +1 -1
- package/lib/_utils/uzum/attribute.js +1 -2
- package/lib/_utils/uzum/prop.js +2 -3
- package/lib/_utils/uzum/warn.js +3 -4
- package/lib/_utils/vue/call.js +1 -2
- package/lib/_utils/vue/create-data-key.js +1 -2
- package/lib/_utils/vue/create-injection-key.js +1 -2
- package/lib/_utils/vue/create-ref-setter.js +1 -2
- package/lib/_utils/vue/flatten.js +1 -2
- package/lib/_utils/vue/get-first-slot-vnode.js +1 -2
- package/lib/_utils/vue/get-slot.js +1 -2
- package/lib/_utils/vue/get-v-node-children.js +1 -2
- package/lib/_utils/vue/is-node-v-show-false.js +1 -2
- package/lib/_utils/vue/keep.js +1 -2
- package/lib/_utils/vue/keysOf.js +1 -2
- package/lib/_utils/vue/merge-handlers.js +1 -2
- package/lib/_utils/vue/omit.js +1 -2
- package/lib/_utils/vue/render.d.ts +1 -1
- package/lib/_utils/vue/resolve-slot.js +5 -6
- package/lib/affix/src/Affix.d.ts +4 -4
- package/lib/affix/src/utils.js +2 -3
- package/lib/alert/src/Alert.d.ts +8 -120
- package/lib/anchor/src/AnchorAdapter.d.ts +4 -4
- package/lib/anchor/src/BaseAnchor.d.ts +2 -2
- package/lib/anchor/src/utils.js +1 -2
- package/lib/auto-complete/src/AutoComplete.d.ts +130 -175
- package/lib/auto-complete/src/utils.js +1 -2
- package/lib/auto-complete/styles/light.d.ts +11 -5
- package/lib/auto-complete/styles/light.js +1 -2
- package/lib/avatar/src/Avatar.d.ts +3 -3
- package/lib/avatar-group/src/AvatarGroup.d.ts +6 -117
- package/lib/back-top/src/BackTop.d.ts +4 -4
- package/lib/badge/src/Badge.d.ts +7 -7
- package/lib/button/src/Button.d.ts +14 -14
- package/lib/calendar/src/Calendar.d.ts +3 -114
- package/lib/card/src/Card.d.ts +19 -130
- package/lib/card-list/index.d.ts +2 -0
- package/lib/card-list/index.js +9 -0
- package/lib/card-list/src/CardList.d.ts +259 -0
- package/lib/card-list/src/CardList.js +75 -0
- package/lib/card-list/src/CardListItem.d.ts +70 -0
- package/lib/card-list/src/CardListItem.js +117 -0
- package/lib/card-list/src/interface.d.ts +12 -0
- package/lib/card-list/src/interface.js +2 -0
- package/lib/card-list/src/styles/index.cssr.d.ts +2 -0
- package/lib/card-list/src/styles/index.cssr.js +106 -0
- package/lib/card-list/styles/dark.d.ts +3 -0
- package/lib/card-list/styles/dark.js +10 -0
- package/lib/card-list/styles/index.d.ts +3 -0
- package/lib/card-list/styles/index.js +10 -0
- package/lib/card-list/styles/light.d.ts +22 -0
- package/lib/card-list/styles/light.js +30 -0
- package/lib/carousel/src/Carousel.d.ts +23 -25
- package/lib/carousel/src/CarouselDots.d.ts +5 -5
- package/lib/carousel/src/utils/duplicatedLogic.js +6 -7
- package/lib/carousel/src/utils/event.js +1 -2
- package/lib/carousel/src/utils/index.js +3 -4
- package/lib/cascader/src/Cascader.d.ts +246 -231
- package/lib/cascader/src/CascaderMenu.d.ts +36 -129
- package/lib/cascader/src/CascaderOption.d.ts +34 -127
- package/lib/cascader/src/CascaderSelectMenu.d.ts +35 -128
- package/lib/cascader/src/CascaderSubmenu.d.ts +34 -127
- package/lib/cascader/src/utils.js +3 -4
- package/lib/cascader/styles/light.d.ts +22 -10
- package/lib/checkbox/src/Checkbox.d.ts +18 -129
- package/lib/checkbox/src/CheckboxGroup.d.ts +14 -14
- package/lib/code/src/Code.d.ts +1 -1
- package/lib/collapse/src/Collapse.d.ts +10 -121
- package/lib/collapse/src/CollapseItem.d.ts +3 -3
- package/lib/collapse/src/CollapseItemContent.d.ts +2 -2
- package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/lib/color-picker/src/ColorInput.d.ts +2 -2
- package/lib/color-picker/src/ColorInputUnit.d.ts +3 -114
- package/lib/color-picker/src/ColorPicker.d.ts +7 -7
- package/lib/color-picker/src/utils.js +6 -7
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/composables/use-theme-vars.js +1 -2
- package/lib/config-provider/src/ConfigProvider.d.ts +10 -366
- package/lib/config-provider/src/config.js +5 -5
- package/lib/config-provider/src/internal-interface.d.ts +3 -1
- package/lib/countdown/src/Countdown.d.ts +4 -4
- package/lib/data-table/src/DataTable.d.ts +308 -255
- package/lib/data-table/src/DataTable.js +153 -5
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +59 -137
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +62 -140
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
- package/lib/data-table/src/MainTable.d.ts +4 -1
- package/lib/data-table/src/MainTable.js +6 -4
- package/lib/data-table/src/TableParts/Body.d.ts +68 -142
- package/lib/data-table/src/TableParts/Body.js +27 -7
- package/lib/data-table/src/TableParts/Cell.d.ts +8 -2828
- package/lib/data-table/src/TableParts/Cell.js +65 -7
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
- package/lib/data-table/src/TableParts/Header.d.ts +60 -138
- package/lib/data-table/src/TableParts/Header.js +7 -5
- package/lib/data-table/src/interface.d.ts +135 -53
- package/lib/data-table/src/styles/index.cssr.js +25 -1
- package/lib/data-table/src/use-check.d.ts +1 -1
- package/lib/data-table/src/use-check.js +1 -2
- package/lib/data-table/src/use-expand.d.ts +1 -1
- package/lib/data-table/src/use-expand.js +1 -2
- package/lib/data-table/src/use-group-header.js +5 -2
- package/lib/data-table/src/use-mask.d.ts +10 -0
- package/lib/data-table/src/use-mask.js +63 -0
- package/lib/data-table/src/use-resizable.js +1 -2
- package/lib/data-table/src/use-scroll.js +1 -2
- package/lib/data-table/src/use-sorter.js +1 -2
- package/lib/data-table/src/use-table-data.js +1 -2
- package/lib/data-table/src/utils.d.ts +4 -0
- package/lib/data-table/src/utils.js +19 -15
- package/lib/data-table/styles/light.d.ts +39 -15
- package/lib/data-table/styles/light.js +4 -1
- package/lib/date-picker/src/DatePicker.d.ts +14 -125
- package/lib/date-picker/src/panel/date.d.ts +6 -129
- package/lib/date-picker/src/panel/daterange.d.ts +7 -118
- package/lib/date-picker/src/panel/datetime.d.ts +6 -117
- package/lib/date-picker/src/panel/datetimerange.d.ts +7 -118
- package/lib/date-picker/src/panel/panelMonth.d.ts +41 -299
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +6 -123
- package/lib/date-picker/src/panel/panelYear.d.ts +41 -299
- package/lib/date-picker/src/panel/panelYearContent.d.ts +6 -135
- package/lib/date-picker/src/panel/use-calendar.d.ts +3 -114
- package/lib/date-picker/src/panel/use-calendar.js +2 -2
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +8 -119
- package/lib/date-picker/src/panel/use-dual-calendar.js +2 -2
- package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -113
- package/lib/date-picker/src/panel/use-panel-common.js +2 -2
- package/lib/date-picker/src/utils.js +9 -10
- package/lib/date-picker/src/validation-utils.js +2 -3
- package/lib/date-picker/styles/_common.js +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +2 -2
- package/lib/descriptions/src/utils.js +2 -2
- package/lib/dialog/src/Dialog.d.ts +4 -115
- package/lib/dialog/src/Dialog.js +1 -1
- package/lib/dialog/src/DialogEnvironment.d.ts +5 -5
- package/lib/dialog/src/DialogProvider.d.ts +40 -40
- package/lib/dialog/src/composables.js +2 -3
- package/lib/dialog/src/dialogProps.d.ts +2 -2
- package/lib/discrete/src/discrete.js +1 -2
- package/lib/discrete/src/discreteApp.js +1 -2
- package/lib/divider/src/Divider.d.ts +4 -4
- package/lib/drawer/src/Drawer.d.ts +21 -119
- package/lib/drawer/src/Drawer.js +4 -1
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +12 -114
- package/lib/drawer/src/DrawerBodyWrapper.js +6 -0
- package/lib/drawer/src/DrawerContent.d.ts +1 -112
- package/lib/drawer/src/styles/index.cssr.js +3 -2
- package/lib/drawer/styles/_common.js +2 -2
- package/lib/dropdown/src/Dropdown.d.ts +31 -142
- package/lib/dropdown/src/DropdownGroup.d.ts +3 -2
- package/lib/dropdown/src/DropdownMenu.d.ts +3 -2
- package/lib/dropdown/src/DropdownOption.d.ts +4 -3
- package/lib/dropdown/src/DropdownRenderOption.d.ts +3 -2
- package/lib/dropdown/src/utils.js +4 -5
- package/lib/dynamic-input/src/DynamicInput.d.ts +3 -114
- package/lib/dynamic-input/src/InputPreset.d.ts +1 -112
- package/lib/dynamic-input/src/PairPreset.d.ts +1 -112
- package/lib/dynamic-tags/src/DynamicTags.d.ts +14 -125
- package/lib/ellipsis/src/Ellipsis.d.ts +4 -115
- package/lib/ellipsis/src/Ellipsis.js +3 -3
- package/lib/ellipsis/src/PerformantEllipsis.d.ts +2 -2
- package/lib/empty/src/Empty.d.ts +109 -48
- package/lib/empty/src/Empty.js +25 -7
- package/lib/empty/src/styles/index.cssr.js +37 -10
- package/lib/empty/styles/light.d.ts +11 -5
- package/lib/empty/styles/light.js +17 -11
- package/lib/equation/src/Equation.d.ts +4 -3
- package/lib/flex/src/Flex.d.ts +13 -12
- package/lib/form/src/Form.d.ts +4 -4
- package/lib/form/src/Form.js +2 -2
- package/lib/form/src/FormItem.d.ts +23 -10
- package/lib/form/src/FormItem.js +19 -6
- package/lib/form/src/FormItemCol.d.ts +22 -9
- package/lib/form/src/FormItemGridItem.d.ts +24 -11
- package/lib/form/src/FormItemRow.d.ts +21 -8
- package/lib/form/src/utils.d.ts +3 -2
- package/lib/form/src/utils.js +20 -4
- package/lib/gradient-text/src/GradientText.d.ts +5 -5
- package/lib/grid/src/Grid.d.ts +18 -18
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/icon/src/Icon.d.ts +3 -3
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/lib/image/src/Image.d.ts +5 -5
- package/lib/image/src/ImageGroup.d.ts +1 -1
- package/lib/image/src/ImagePreview.d.ts +1 -1
- package/lib/input/src/Input.d.ts +79 -155
- package/lib/input/src/Input.js +54 -17
- package/lib/input/src/InputGroupLabel.d.ts +1 -1
- package/lib/input/src/use-clipboard.d.ts +9 -0
- package/lib/input/src/use-clipboard.js +50 -0
- package/lib/input/src/utils.js +3 -4
- package/lib/input-number/src/InputNumber.d.ts +14 -125
- package/lib/input-number/src/utils.js +5 -6
- package/lib/layout/src/Layout.d.ts +4 -226
- package/lib/layout/src/Layout.js +2 -2
- package/lib/layout/src/LayoutContent.d.ts +2 -113
- package/lib/layout/src/LayoutFooter.d.ts +1 -1
- package/lib/layout/src/LayoutHeader.d.ts +2 -2
- package/lib/layout/src/LayoutHeader.js +5 -1
- package/lib/layout/src/LayoutSider.d.ts +10 -121
- package/lib/layout/src/LayoutSider.js +3 -3
- package/lib/layout/src/ToggleSidebarButton.d.ts +15 -0
- package/lib/layout/src/ToggleSidebarButton.js +25 -0
- package/lib/layout/src/interface.d.ts +1 -1
- package/lib/layout/src/styles/layout-header.cssr.js +3 -0
- package/lib/layout/src/styles/layout-sider.cssr.js +64 -6
- package/lib/layout/src/utils/resolveTriggerComponent.d.ts +51 -0
- package/lib/layout/src/utils/resolveTriggerComponent.js +19 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +112 -163
- package/lib/legacy-transfer/src/TransferFilter.d.ts +12 -117
- package/lib/legacy-transfer/src/TransferList.d.ts +12 -117
- package/lib/legacy-transfer/src/TransferListItem.d.ts +13 -118
- package/lib/legacy-transfer/src/use-transfer-data.js +1 -2
- package/lib/legacy-transfer/styles/light.d.ts +11 -5
- package/lib/list/src/List.d.ts +6 -6
- package/lib/list/src/ListItem.d.ts +5 -5
- package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBar.js +2 -2
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +9 -9
- package/lib/loading-bar/src/use-loading-bar.js +1 -2
- package/lib/locales/common/arDZ.js +9 -2
- package/lib/locales/common/deDE.js +9 -2
- package/lib/locales/common/enGB.js +9 -2
- package/lib/locales/common/enUS.d.ts +8 -1
- package/lib/locales/common/enUS.js +9 -2
- package/lib/locales/common/eo.js +9 -2
- package/lib/locales/common/esAR.js +9 -2
- package/lib/locales/common/faIR.js +9 -2
- package/lib/locales/common/frFR.js +9 -2
- package/lib/locales/common/idID.js +9 -2
- package/lib/locales/common/itIT.js +9 -2
- package/lib/locales/common/jaJP.js +9 -2
- package/lib/locales/common/koKR.js +9 -2
- package/lib/locales/common/nbNO.js +9 -2
- package/lib/locales/common/nlNL.js +9 -2
- package/lib/locales/common/plPL.js +9 -2
- package/lib/locales/common/ptBR.js +9 -2
- package/lib/locales/common/ruRU.js +9 -2
- package/lib/locales/common/skSK.js +9 -2
- package/lib/locales/common/svSE.js +9 -2
- package/lib/locales/common/thTH.js +9 -2
- package/lib/locales/common/trTR.js +9 -2
- package/lib/locales/common/ukUA.js +9 -2
- package/lib/locales/common/viVN.js +9 -2
- package/lib/locales/common/zhCN.js +9 -2
- package/lib/locales/common/zhTW.js +9 -2
- package/lib/locales/utils/index.js +1 -2
- package/lib/log/src/Log.d.ts +8 -120
- package/lib/mention/src/Mention.d.ts +140 -185
- package/lib/mention/src/utils.js +7 -8
- package/lib/mention/styles/light.d.ts +11 -5
- package/lib/menu/src/Menu.d.ts +16 -127
- package/lib/menu/src/MenuOption.d.ts +2 -113
- package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
- package/lib/menu/src/Submenu.d.ts +2 -113
- package/lib/menu/src/use-menu-child.js +1 -2
- package/lib/menu/src/useCheckDeprecated.js +1 -2
- package/lib/menu/src/utils.js +3 -4
- package/lib/menu/styles/light.js +2 -2
- package/lib/message/src/Message.d.ts +1 -1
- package/lib/message/src/MessageEnvironment.d.ts +1 -1
- package/lib/message/src/MessageProvider.d.ts +5 -5
- package/lib/message/src/use-message.js +1 -2
- package/lib/modal/src/BodyWrapper.d.ts +8 -119
- package/lib/modal/src/Modal.d.ts +17 -17
- package/lib/modal/src/presetProps.d.ts +2 -2
- package/lib/notification/src/Notification.d.ts +5 -5
- package/lib/notification/src/NotificationContainer.d.ts +1 -112
- package/lib/notification/src/NotificationEnvironment.d.ts +4 -4
- package/lib/notification/src/NotificationProvider.d.ts +17 -17
- package/lib/notification/src/use-notification.js +1 -2
- package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
- package/lib/number-animation/src/utils.js +1 -2
- package/lib/page-header/styles/light.js +2 -2
- package/lib/pagination/src/Pagination.d.ts +263 -242
- package/lib/pagination/src/utils.js +1 -2
- package/lib/pagination/styles/light.d.ts +22 -10
- package/lib/popconfirm/src/Popconfirm.d.ts +29 -140
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/lib/popover/src/Popover.d.ts +30 -30
- package/lib/popover/src/PopoverBody.d.ts +19 -19
- package/lib/popselect/src/Popselect.d.ts +195 -240
- package/lib/popselect/src/PopselectPanel.d.ts +26 -125
- package/lib/popselect/styles/light.d.ts +11 -5
- package/lib/popselect/styles/light.js +1 -2
- package/lib/preset.d.ts +1 -1
- package/lib/progress/src/Line.d.ts +1 -1
- package/lib/progress/src/MultipleCircle.d.ts +2 -2
- package/lib/progress/src/Progress.d.ts +6 -6
- package/lib/radio/src/Radio.d.ts +10 -10
- package/lib/radio/src/RadioButton.d.ts +6 -6
- package/lib/rate/src/Rate.d.ts +1 -1
- package/lib/result/src/Result.d.ts +4 -4
- package/lib/select/src/Select.d.ts +141 -186
- package/lib/select/src/utils.js +6 -7
- package/lib/select/styles/light.d.ts +11 -5
- package/lib/select/styles/light.js +1 -2
- package/lib/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/slider/src/Slider.d.ts +9 -9
- package/lib/slider/src/utils.js +2 -3
- package/lib/space/src/Space.d.ts +5 -5
- package/lib/spin/src/Spin.d.ts +8 -8
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +153 -151
- package/lib/switch/src/Switch.d.ts +11 -11
- package/lib/table/src/Table.d.ts +1 -1
- package/lib/tabs/src/Tab.d.ts +10 -22
- package/lib/tabs/src/TabPane.d.ts +9 -21
- package/lib/tabs/src/Tabs.d.ts +29 -30
- package/lib/tag/src/Tag.d.ts +11 -11
- package/lib/tag/src/common-props.d.ts +2 -2
- package/lib/themes/dark.js +148 -146
- package/lib/themes/light.js +148 -146
- package/lib/themes/utils.js +1 -2
- package/lib/time/src/Time.d.ts +2 -2
- package/lib/time-picker/src/Panel.d.ts +3 -114
- package/lib/time-picker/src/PanelCol.d.ts +4 -4
- package/lib/time-picker/src/TimePicker.d.ts +17 -128
- package/lib/time-picker/src/utils.js +6 -6
- package/lib/timeline/src/TimelineItem.d.ts +4 -4
- package/lib/toggle-button/src/ToggleButton.d.ts +12 -12
- package/lib/tooltip/src/Tooltip.d.ts +25 -136
- package/lib/transfer/src/Transfer.d.ts +112 -163
- package/lib/transfer/src/TransferFilter.d.ts +12 -117
- package/lib/transfer/src/TransferList.d.ts +12 -117
- package/lib/transfer/src/TransferListItem.d.ts +13 -118
- package/lib/transfer/src/use-transfer-data.js +1 -2
- package/lib/transfer/styles/light.d.ts +11 -5
- package/lib/tree/src/MotionWrapper.d.ts +2 -2
- package/lib/tree/src/Tree.d.ts +148 -199
- package/lib/tree/src/Tree.js +2 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +13 -118
- package/lib/tree/src/TreeNodeContent.d.ts +1 -1
- package/lib/tree/src/TreeNodeSwitcher.d.ts +3 -3
- package/lib/tree/src/dnd.js +2 -3
- package/lib/tree/src/keyboard.js +1 -2
- package/lib/tree/src/utils.js +5 -5
- package/lib/tree/styles/light.d.ts +11 -5
- package/lib/tree-select/src/TreeSelect.d.ts +269 -260
- package/lib/tree-select/src/utils.js +2 -3
- package/lib/tree-select/styles/light.d.ts +22 -10
- package/lib/typography/src/create-header.d.ts +5 -5
- package/lib/typography/src/headers.d.ts +18 -18
- package/lib/typography/src/p.d.ts +3 -3
- package/lib/typography/src/text.d.ts +6 -6
- package/lib/upload/src/Upload.d.ts +137 -137
- package/lib/upload/src/Upload.js +58 -209
- package/lib/upload/src/UploadFile.d.ts +17 -115
- package/lib/upload/src/UploadFile.js +55 -55
- package/lib/upload/src/UploadFileList.js +2 -2
- package/lib/upload/src/UploadProgress.d.ts +9 -114
- package/lib/upload/src/UploadTrigger.js +19 -6
- package/lib/upload/src/interface.d.ts +42 -0
- package/lib/upload/src/styles/index.cssr.js +159 -34
- package/lib/upload/src/useUpload.d.ts +2 -0
- package/lib/upload/src/useUpload.js +166 -0
- package/lib/upload/src/useUploadActionsRender.d.ts +26 -0
- package/lib/upload/src/useUploadActionsRender.js +88 -0
- package/lib/upload/src/useUploadInternals.d.ts +25 -0
- package/lib/upload/src/useUploadInternals.js +43 -0
- package/lib/upload/src/utils.d.ts +2 -1
- package/lib/upload/src/utils.js +13 -7
- package/lib/upload/styles/light.d.ts +12 -0
- package/lib/upload/styles/light.js +8 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +6 -6
- package/package.json +53 -50
- package/volar.d.ts +2 -1
- package/web-types.json +259 -9
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { h, Ref } from 'vue';
|
|
2
|
+
export declare function useCopyableText(options: {
|
|
3
|
+
mergedClsPrefixRef: Ref<string>;
|
|
4
|
+
mergedValueRef: Ref<string | [string, string] | null>;
|
|
5
|
+
}, defaultCallback?: (value: string | [string, string] | null) => void): {
|
|
6
|
+
copyText: (value: string | [string, string] | null, cb?: (value: string | [string, string] | null) => void) => Promise<void>;
|
|
7
|
+
handleClick: (e: MouseEvent, cb?: (value: string | [string, string] | null) => void) => Promise<void>;
|
|
8
|
+
renderCopyButton: (cb?: (value: string | [string, string] | null) => void) => ReturnType<typeof h>;
|
|
9
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { h } from 'vue';
|
|
11
|
+
import { useClipboard as useVueuseClipboard } from '@vueuse/core';
|
|
12
|
+
import { UButton } from '../../button';
|
|
13
|
+
import { UIcon } from '../../icon';
|
|
14
|
+
import { ContentCopy } from '../../_internal/icons';
|
|
15
|
+
import { useMessage } from '../../message';
|
|
16
|
+
import { useLocale } from '../../_mixins';
|
|
17
|
+
export function useCopyableText(options, defaultCallback) {
|
|
18
|
+
const { mergedClsPrefixRef, mergedValueRef } = options;
|
|
19
|
+
const message = useMessage();
|
|
20
|
+
const { localeRef } = useLocale('Input');
|
|
21
|
+
const { copy } = useVueuseClipboard();
|
|
22
|
+
const copyText = (value_1, ...args_1) => __awaiter(this, [value_1, ...args_1], void 0, function* (value, cb = defaultCallback ||
|
|
23
|
+
(() => message.info(localeRef.value.copied))) {
|
|
24
|
+
yield copy(String(value || ''));
|
|
25
|
+
cb(value);
|
|
26
|
+
});
|
|
27
|
+
const handleClick = (e, callback) => __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
e.stopPropagation();
|
|
29
|
+
yield copyText(mergedValueRef.value, callback);
|
|
30
|
+
});
|
|
31
|
+
const renderCopyButton = (callback) => {
|
|
32
|
+
return h(UButton, {
|
|
33
|
+
onClick: (e) => {
|
|
34
|
+
void handleClick(e, callback);
|
|
35
|
+
},
|
|
36
|
+
text: true,
|
|
37
|
+
class: `${mergedClsPrefixRef.value}-input-copyable`
|
|
38
|
+
}, {
|
|
39
|
+
default: () => h(UIcon, null, { default: () => h(ContentCopy) })
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
return {
|
|
43
|
+
copyText,
|
|
44
|
+
handleClick,
|
|
45
|
+
renderCopyButton
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -43,8 +43,8 @@ export declare const inputNumberProps: {
|
|
|
43
43
|
clearable: BooleanConstructor;
|
|
44
44
|
keyboard: {
|
|
45
45
|
type: PropType<{
|
|
46
|
-
ArrowUp?: boolean
|
|
47
|
-
ArrowDown?: boolean
|
|
46
|
+
ArrowUp?: boolean;
|
|
47
|
+
ArrowDown?: boolean;
|
|
48
48
|
}>;
|
|
49
49
|
default: {};
|
|
50
50
|
};
|
|
@@ -935,8 +935,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
935
935
|
clearable: BooleanConstructor;
|
|
936
936
|
keyboard: {
|
|
937
937
|
type: PropType<{
|
|
938
|
-
ArrowUp?: boolean
|
|
939
|
-
ArrowDown?: boolean
|
|
938
|
+
ArrowUp?: boolean;
|
|
939
|
+
ArrowDown?: boolean;
|
|
940
940
|
}>;
|
|
941
941
|
default: {};
|
|
942
942
|
};
|
|
@@ -1811,7 +1811,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1811
1811
|
mergedValue: import("vue").ComputedRef<number | null>;
|
|
1812
1812
|
mergedPlaceholder: import("vue").ComputedRef<string>;
|
|
1813
1813
|
displayedValueInvalid: import("vue").ComputedRef<boolean>;
|
|
1814
|
-
mergedSize: import("vue").ComputedRef<"small" | "
|
|
1814
|
+
mergedSize: import("vue").ComputedRef<"small" | "tiny" | "medium" | "large" | "huge">;
|
|
1815
1815
|
mergedDisabled: import("vue").ComputedRef<boolean>;
|
|
1816
1816
|
displayedValue: import("vue").Ref<string>;
|
|
1817
1817
|
addable: import("vue").ComputedRef<boolean>;
|
|
@@ -1828,118 +1828,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1828
1828
|
handleKeyDown: (e: KeyboardEvent) => void;
|
|
1829
1829
|
handleUpdateDisplayedValue: (value: string) => void;
|
|
1830
1830
|
mergedTheme: import("vue").ComputedRef<{
|
|
1831
|
-
common:
|
|
1832
|
-
scrollbarColor: string;
|
|
1833
|
-
scrollbarColorHover: string;
|
|
1834
|
-
scrollbarWidth: string;
|
|
1835
|
-
scrollbarHeight: string;
|
|
1836
|
-
scrollbarBorderRadius: string;
|
|
1837
|
-
opacityDisabled: string;
|
|
1838
|
-
brandPrimary50: string;
|
|
1839
|
-
brandPrimary100: string;
|
|
1840
|
-
brandPrimary200: string;
|
|
1841
|
-
brandPrimary300: string;
|
|
1842
|
-
brandPrimary400: string;
|
|
1843
|
-
brandPrimary500: string;
|
|
1844
|
-
brandPrimary550: string;
|
|
1845
|
-
brandPrimary600: string;
|
|
1846
|
-
brandSecondary500: string;
|
|
1847
|
-
brandSecondary300: string;
|
|
1848
|
-
brandSecondary600: string;
|
|
1849
|
-
brandTertiary500: string;
|
|
1850
|
-
brandTertiary300: string;
|
|
1851
|
-
brandTertiary600: string;
|
|
1852
|
-
brandQuaternary500: string;
|
|
1853
|
-
brandQuaternary300: string;
|
|
1854
|
-
brandQuaternary600: string;
|
|
1855
|
-
brandQuinary500: string;
|
|
1856
|
-
brandQuinary300: string;
|
|
1857
|
-
brandQuinary600: string;
|
|
1858
|
-
brandQuinary100: string;
|
|
1859
|
-
surfacePrimary: string;
|
|
1860
|
-
surfaceSecondary: string;
|
|
1861
|
-
containerPrimary: string;
|
|
1862
|
-
containerSecondary: string;
|
|
1863
|
-
textPrimary: string;
|
|
1864
|
-
textSecondary: string;
|
|
1865
|
-
textTertiary: string;
|
|
1866
|
-
textQuaternary: string;
|
|
1867
|
-
textBrand: string;
|
|
1868
|
-
elementsPrimary: string;
|
|
1869
|
-
elementsSecondary: string;
|
|
1870
|
-
elementsTertiary: string;
|
|
1871
|
-
elementsQuaternary: string;
|
|
1872
|
-
elementsQuinary: string;
|
|
1873
|
-
elementsDarkQuinary: string;
|
|
1874
|
-
elementsSenary: string;
|
|
1875
|
-
elementsOnContainer: string;
|
|
1876
|
-
transparencyPrimary: string;
|
|
1877
|
-
transparencySecondary: string;
|
|
1878
|
-
transparencyTertiary: string;
|
|
1879
|
-
transparencyQuinary: string;
|
|
1880
|
-
transparencyModal: string;
|
|
1881
|
-
staticBlack: string;
|
|
1882
|
-
staticDarkGrey: string;
|
|
1883
|
-
staticWhite: string;
|
|
1884
|
-
staticRed: string;
|
|
1885
|
-
staticOrange: string;
|
|
1886
|
-
staticGreen: string;
|
|
1887
|
-
staticDeepBlue: string;
|
|
1888
|
-
staticErrorAccent: string;
|
|
1889
|
-
shadowDepth2: string;
|
|
1890
|
-
shadowDepth: string;
|
|
1891
|
-
fontFamily: string;
|
|
1892
|
-
fontFamilyMono: string;
|
|
1893
|
-
cubicBezierEaseInOut: string;
|
|
1894
|
-
cubicBezierEaseOut: string;
|
|
1895
|
-
cubicBezierEaseIn: string;
|
|
1896
|
-
borderRadiusLarge: string;
|
|
1897
|
-
borderRadius: string;
|
|
1898
|
-
borderRadiusMedium: string;
|
|
1899
|
-
borderRadiusSmall: string;
|
|
1900
|
-
borderRadiusTiny: string;
|
|
1901
|
-
heightMini: string;
|
|
1902
|
-
heightTiny: string;
|
|
1903
|
-
heightSmall: string;
|
|
1904
|
-
heightMedium: string;
|
|
1905
|
-
heightLarge: string;
|
|
1906
|
-
heightHuge: string;
|
|
1907
|
-
fontDisplayLarge: string;
|
|
1908
|
-
fontDisplaySmall: string;
|
|
1909
|
-
fontHeadingLarge: string;
|
|
1910
|
-
fontHeadingMedium: string;
|
|
1911
|
-
fontHeadingSmall: string;
|
|
1912
|
-
fontTitleLarge: string;
|
|
1913
|
-
fontTitleMedium: string;
|
|
1914
|
-
fontTitleSmall: string;
|
|
1915
|
-
fontBodyLarge: string;
|
|
1916
|
-
fontBodyMedium: string;
|
|
1917
|
-
fontBodySmall: string;
|
|
1918
|
-
lineHeightDisplayLarge: string;
|
|
1919
|
-
lineHeightDisplaySmall: string;
|
|
1920
|
-
lineHeightHeadingLarge: string;
|
|
1921
|
-
lineHeightHeadingMedium: string;
|
|
1922
|
-
lineHeightHeadingSmall: string;
|
|
1923
|
-
lineHeightTitleLarge: string;
|
|
1924
|
-
lineHeightTitleMedium: string;
|
|
1925
|
-
lineHeightTitleSmall: string;
|
|
1926
|
-
lineHeightBodyLarge: string;
|
|
1927
|
-
lineHeightBodyMedium: string;
|
|
1928
|
-
lineHeightBodySmall: string;
|
|
1929
|
-
fontWeight: string;
|
|
1930
|
-
fontWeightStrong: string;
|
|
1931
|
-
fontWeightBold: string;
|
|
1932
|
-
iconSmall: string;
|
|
1933
|
-
iconMedium: string;
|
|
1934
|
-
iconLarge: string;
|
|
1935
|
-
iconHuge: string;
|
|
1936
|
-
closeSmall: string;
|
|
1937
|
-
closeMedium: string;
|
|
1938
|
-
closeLarge: string;
|
|
1939
|
-
closeHuge: string;
|
|
1940
|
-
closeBorderRadius: string;
|
|
1941
|
-
name: "common";
|
|
1942
|
-
};
|
|
1831
|
+
common: import("../..").ThemeCommonVars;
|
|
1943
1832
|
self: {};
|
|
1944
1833
|
peers: {
|
|
1945
1834
|
Button: import("../../_mixins").Theme<"Button", {
|
|
@@ -2279,8 +2168,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2279
2168
|
clearable: BooleanConstructor;
|
|
2280
2169
|
keyboard: {
|
|
2281
2170
|
type: PropType<{
|
|
2282
|
-
ArrowUp?: boolean
|
|
2283
|
-
ArrowDown?: boolean
|
|
2171
|
+
ArrowUp?: boolean;
|
|
2172
|
+
ArrowDown?: boolean;
|
|
2284
2173
|
}>;
|
|
2285
2174
|
default: {};
|
|
2286
2175
|
};
|
|
@@ -3130,18 +3019,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3130
3019
|
}, any>;
|
|
3131
3020
|
}>>>;
|
|
3132
3021
|
}>>, {
|
|
3133
|
-
readonly: boolean;
|
|
3134
3022
|
disabled: boolean | undefined;
|
|
3135
|
-
step: string | number;
|
|
3136
|
-
autofocus: boolean;
|
|
3137
3023
|
loading: boolean;
|
|
3138
3024
|
bordered: boolean | undefined;
|
|
3025
|
+
step: string | number;
|
|
3026
|
+
autofocus: boolean;
|
|
3139
3027
|
clearable: boolean;
|
|
3140
|
-
defaultValue: number | null;
|
|
3141
3028
|
keyboard: {
|
|
3142
|
-
ArrowUp?: boolean
|
|
3143
|
-
ArrowDown?: boolean
|
|
3029
|
+
ArrowUp?: boolean;
|
|
3030
|
+
ArrowDown?: boolean;
|
|
3144
3031
|
};
|
|
3032
|
+
defaultValue: number | null;
|
|
3033
|
+
readonly: boolean;
|
|
3145
3034
|
showButton: boolean;
|
|
3146
3035
|
buttonPlacement: "right" | "both";
|
|
3147
3036
|
updateValueOnInput: boolean;
|
|
@@ -181,118 +181,7 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
|
|
|
181
181
|
} | null>;
|
|
182
182
|
hasSiderStyle: CSSProperties;
|
|
183
183
|
mergedTheme: import("vue").ComputedRef<{
|
|
184
|
-
common:
|
|
185
|
-
scrollbarColor: string;
|
|
186
|
-
scrollbarColorHover: string;
|
|
187
|
-
scrollbarWidth: string;
|
|
188
|
-
scrollbarHeight: string;
|
|
189
|
-
scrollbarBorderRadius: string;
|
|
190
|
-
opacityDisabled: string;
|
|
191
|
-
brandPrimary50: string;
|
|
192
|
-
brandPrimary100: string;
|
|
193
|
-
brandPrimary200: string;
|
|
194
|
-
brandPrimary300: string;
|
|
195
|
-
brandPrimary400: string;
|
|
196
|
-
brandPrimary500: string;
|
|
197
|
-
brandPrimary550: string;
|
|
198
|
-
brandPrimary600: string;
|
|
199
|
-
brandSecondary500: string;
|
|
200
|
-
brandSecondary300: string;
|
|
201
|
-
brandSecondary600: string;
|
|
202
|
-
brandTertiary500: string;
|
|
203
|
-
brandTertiary300: string;
|
|
204
|
-
brandTertiary600: string;
|
|
205
|
-
brandQuaternary500: string;
|
|
206
|
-
brandQuaternary300: string;
|
|
207
|
-
brandQuaternary600: string;
|
|
208
|
-
brandQuinary500: string;
|
|
209
|
-
brandQuinary300: string;
|
|
210
|
-
brandQuinary600: string;
|
|
211
|
-
brandQuinary100: string;
|
|
212
|
-
surfacePrimary: string;
|
|
213
|
-
surfaceSecondary: string;
|
|
214
|
-
containerPrimary: string;
|
|
215
|
-
containerSecondary: string;
|
|
216
|
-
textPrimary: string;
|
|
217
|
-
textSecondary: string;
|
|
218
|
-
textTertiary: string;
|
|
219
|
-
textQuaternary: string;
|
|
220
|
-
textBrand: string;
|
|
221
|
-
elementsPrimary: string;
|
|
222
|
-
elementsSecondary: string;
|
|
223
|
-
elementsTertiary: string;
|
|
224
|
-
elementsQuaternary: string;
|
|
225
|
-
elementsQuinary: string;
|
|
226
|
-
elementsDarkQuinary: string;
|
|
227
|
-
elementsSenary: string;
|
|
228
|
-
elementsOnContainer: string;
|
|
229
|
-
transparencyPrimary: string;
|
|
230
|
-
transparencySecondary: string;
|
|
231
|
-
transparencyTertiary: string;
|
|
232
|
-
transparencyQuinary: string;
|
|
233
|
-
transparencyModal: string;
|
|
234
|
-
staticBlack: string;
|
|
235
|
-
staticDarkGrey: string;
|
|
236
|
-
staticWhite: string;
|
|
237
|
-
staticRed: string;
|
|
238
|
-
staticOrange: string;
|
|
239
|
-
staticGreen: string;
|
|
240
|
-
staticDeepBlue: string;
|
|
241
|
-
staticErrorAccent: string;
|
|
242
|
-
shadowDepth2: string;
|
|
243
|
-
shadowDepth: string;
|
|
244
|
-
fontFamily: string;
|
|
245
|
-
fontFamilyMono: string;
|
|
246
|
-
cubicBezierEaseInOut: string;
|
|
247
|
-
cubicBezierEaseOut: string;
|
|
248
|
-
cubicBezierEaseIn: string;
|
|
249
|
-
borderRadiusLarge: string;
|
|
250
|
-
borderRadius: string;
|
|
251
|
-
borderRadiusMedium: string;
|
|
252
|
-
borderRadiusSmall: string;
|
|
253
|
-
borderRadiusTiny: string;
|
|
254
|
-
heightMini: string;
|
|
255
|
-
heightTiny: string;
|
|
256
|
-
heightSmall: string;
|
|
257
|
-
heightMedium: string;
|
|
258
|
-
heightLarge: string;
|
|
259
|
-
heightHuge: string;
|
|
260
|
-
fontDisplayLarge: string;
|
|
261
|
-
fontDisplaySmall: string;
|
|
262
|
-
fontHeadingLarge: string;
|
|
263
|
-
fontHeadingMedium: string;
|
|
264
|
-
fontHeadingSmall: string;
|
|
265
|
-
fontTitleLarge: string;
|
|
266
|
-
fontTitleMedium: string;
|
|
267
|
-
fontTitleSmall: string;
|
|
268
|
-
fontBodyLarge: string;
|
|
269
|
-
fontBodyMedium: string;
|
|
270
|
-
fontBodySmall: string;
|
|
271
|
-
lineHeightDisplayLarge: string;
|
|
272
|
-
lineHeightDisplaySmall: string;
|
|
273
|
-
lineHeightHeadingLarge: string;
|
|
274
|
-
lineHeightHeadingMedium: string;
|
|
275
|
-
lineHeightHeadingSmall: string;
|
|
276
|
-
lineHeightTitleLarge: string;
|
|
277
|
-
lineHeightTitleMedium: string;
|
|
278
|
-
lineHeightTitleSmall: string;
|
|
279
|
-
lineHeightBodyLarge: string;
|
|
280
|
-
lineHeightBodyMedium: string;
|
|
281
|
-
lineHeightBodySmall: string;
|
|
282
|
-
fontWeight: string;
|
|
283
|
-
fontWeightStrong: string;
|
|
284
|
-
fontWeightBold: string;
|
|
285
|
-
iconSmall: string;
|
|
286
|
-
iconMedium: string;
|
|
287
|
-
iconLarge: string;
|
|
288
|
-
iconHuge: string;
|
|
289
|
-
closeSmall: string;
|
|
290
|
-
closeMedium: string;
|
|
291
|
-
closeLarge: string;
|
|
292
|
-
closeHuge: string;
|
|
293
|
-
closeBorderRadius: string;
|
|
294
|
-
name: "common";
|
|
295
|
-
};
|
|
184
|
+
common: import("../..").ThemeCommonVars;
|
|
296
185
|
self: {
|
|
297
186
|
textColor: string;
|
|
298
187
|
textColorInverted: string;
|
|
@@ -460,7 +349,7 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
|
|
|
460
349
|
}, any>;
|
|
461
350
|
}>>>;
|
|
462
351
|
}>>, {
|
|
463
|
-
position: "
|
|
352
|
+
position: "absolute" | "static";
|
|
464
353
|
contentStyle: string | CSSProperties;
|
|
465
354
|
embedded: boolean;
|
|
466
355
|
nativeScrollbar: boolean;
|
|
@@ -602,118 +491,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
602
491
|
} | null>;
|
|
603
492
|
hasSiderStyle: CSSProperties;
|
|
604
493
|
mergedTheme: import("vue").ComputedRef<{
|
|
605
|
-
common:
|
|
606
|
-
scrollbarColor: string;
|
|
607
|
-
scrollbarColorHover: string;
|
|
608
|
-
scrollbarWidth: string;
|
|
609
|
-
scrollbarHeight: string;
|
|
610
|
-
scrollbarBorderRadius: string;
|
|
611
|
-
opacityDisabled: string;
|
|
612
|
-
brandPrimary50: string;
|
|
613
|
-
brandPrimary100: string;
|
|
614
|
-
brandPrimary200: string;
|
|
615
|
-
brandPrimary300: string;
|
|
616
|
-
brandPrimary400: string;
|
|
617
|
-
brandPrimary500: string;
|
|
618
|
-
brandPrimary550: string;
|
|
619
|
-
brandPrimary600: string;
|
|
620
|
-
brandSecondary500: string;
|
|
621
|
-
brandSecondary300: string;
|
|
622
|
-
brandSecondary600: string;
|
|
623
|
-
brandTertiary500: string;
|
|
624
|
-
brandTertiary300: string;
|
|
625
|
-
brandTertiary600: string;
|
|
626
|
-
brandQuaternary500: string;
|
|
627
|
-
brandQuaternary300: string;
|
|
628
|
-
brandQuaternary600: string;
|
|
629
|
-
brandQuinary500: string;
|
|
630
|
-
brandQuinary300: string;
|
|
631
|
-
brandQuinary600: string;
|
|
632
|
-
brandQuinary100: string;
|
|
633
|
-
surfacePrimary: string;
|
|
634
|
-
surfaceSecondary: string;
|
|
635
|
-
containerPrimary: string;
|
|
636
|
-
containerSecondary: string;
|
|
637
|
-
textPrimary: string;
|
|
638
|
-
textSecondary: string;
|
|
639
|
-
textTertiary: string;
|
|
640
|
-
textQuaternary: string;
|
|
641
|
-
textBrand: string;
|
|
642
|
-
elementsPrimary: string;
|
|
643
|
-
elementsSecondary: string;
|
|
644
|
-
elementsTertiary: string;
|
|
645
|
-
elementsQuaternary: string;
|
|
646
|
-
elementsQuinary: string;
|
|
647
|
-
elementsDarkQuinary: string;
|
|
648
|
-
elementsSenary: string;
|
|
649
|
-
elementsOnContainer: string;
|
|
650
|
-
transparencyPrimary: string;
|
|
651
|
-
transparencySecondary: string;
|
|
652
|
-
transparencyTertiary: string;
|
|
653
|
-
transparencyQuinary: string;
|
|
654
|
-
transparencyModal: string;
|
|
655
|
-
staticBlack: string;
|
|
656
|
-
staticDarkGrey: string;
|
|
657
|
-
staticWhite: string;
|
|
658
|
-
staticRed: string;
|
|
659
|
-
staticOrange: string;
|
|
660
|
-
staticGreen: string;
|
|
661
|
-
staticDeepBlue: string;
|
|
662
|
-
staticErrorAccent: string;
|
|
663
|
-
shadowDepth2: string;
|
|
664
|
-
shadowDepth: string;
|
|
665
|
-
fontFamily: string;
|
|
666
|
-
fontFamilyMono: string;
|
|
667
|
-
cubicBezierEaseInOut: string;
|
|
668
|
-
cubicBezierEaseOut: string;
|
|
669
|
-
cubicBezierEaseIn: string;
|
|
670
|
-
borderRadiusLarge: string;
|
|
671
|
-
borderRadius: string;
|
|
672
|
-
borderRadiusMedium: string;
|
|
673
|
-
borderRadiusSmall: string;
|
|
674
|
-
borderRadiusTiny: string;
|
|
675
|
-
heightMini: string;
|
|
676
|
-
heightTiny: string;
|
|
677
|
-
heightSmall: string;
|
|
678
|
-
heightMedium: string;
|
|
679
|
-
heightLarge: string;
|
|
680
|
-
heightHuge: string;
|
|
681
|
-
fontDisplayLarge: string;
|
|
682
|
-
fontDisplaySmall: string;
|
|
683
|
-
fontHeadingLarge: string;
|
|
684
|
-
fontHeadingMedium: string;
|
|
685
|
-
fontHeadingSmall: string;
|
|
686
|
-
fontTitleLarge: string;
|
|
687
|
-
fontTitleMedium: string;
|
|
688
|
-
fontTitleSmall: string;
|
|
689
|
-
fontBodyLarge: string;
|
|
690
|
-
fontBodyMedium: string;
|
|
691
|
-
fontBodySmall: string;
|
|
692
|
-
lineHeightDisplayLarge: string;
|
|
693
|
-
lineHeightDisplaySmall: string;
|
|
694
|
-
lineHeightHeadingLarge: string;
|
|
695
|
-
lineHeightHeadingMedium: string;
|
|
696
|
-
lineHeightHeadingSmall: string;
|
|
697
|
-
lineHeightTitleLarge: string;
|
|
698
|
-
lineHeightTitleMedium: string;
|
|
699
|
-
lineHeightTitleSmall: string;
|
|
700
|
-
lineHeightBodyLarge: string;
|
|
701
|
-
lineHeightBodyMedium: string;
|
|
702
|
-
lineHeightBodySmall: string;
|
|
703
|
-
fontWeight: string;
|
|
704
|
-
fontWeightStrong: string;
|
|
705
|
-
fontWeightBold: string;
|
|
706
|
-
iconSmall: string;
|
|
707
|
-
iconMedium: string;
|
|
708
|
-
iconLarge: string;
|
|
709
|
-
iconHuge: string;
|
|
710
|
-
closeSmall: string;
|
|
711
|
-
closeMedium: string;
|
|
712
|
-
closeLarge: string;
|
|
713
|
-
closeHuge: string;
|
|
714
|
-
closeBorderRadius: string;
|
|
715
|
-
name: "common";
|
|
716
|
-
};
|
|
494
|
+
common: import("../..").ThemeCommonVars;
|
|
717
495
|
self: {
|
|
718
496
|
textColor: string;
|
|
719
497
|
textColorInverted: string;
|
|
@@ -881,7 +659,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
881
659
|
}, any>;
|
|
882
660
|
}>>>;
|
|
883
661
|
}>>, {
|
|
884
|
-
position: "
|
|
662
|
+
position: "absolute" | "static";
|
|
885
663
|
contentStyle: string | CSSProperties;
|
|
886
664
|
embedded: boolean;
|
|
887
665
|
nativeScrollbar: boolean;
|
|
@@ -133,118 +133,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
133
133
|
} | null>;
|
|
134
134
|
hasSiderStyle: import("vue").CSSProperties;
|
|
135
135
|
mergedTheme: import("vue").ComputedRef<{
|
|
136
|
-
common:
|
|
137
|
-
scrollbarColor: string;
|
|
138
|
-
scrollbarColorHover: string;
|
|
139
|
-
scrollbarWidth: string;
|
|
140
|
-
scrollbarHeight: string;
|
|
141
|
-
scrollbarBorderRadius: string;
|
|
142
|
-
opacityDisabled: string;
|
|
143
|
-
brandPrimary50: string;
|
|
144
|
-
brandPrimary100: string;
|
|
145
|
-
brandPrimary200: string;
|
|
146
|
-
brandPrimary300: string;
|
|
147
|
-
brandPrimary400: string;
|
|
148
|
-
brandPrimary500: string;
|
|
149
|
-
brandPrimary550: string;
|
|
150
|
-
brandPrimary600: string;
|
|
151
|
-
brandSecondary500: string;
|
|
152
|
-
brandSecondary300: string;
|
|
153
|
-
brandSecondary600: string;
|
|
154
|
-
brandTertiary500: string;
|
|
155
|
-
brandTertiary300: string;
|
|
156
|
-
brandTertiary600: string;
|
|
157
|
-
brandQuaternary500: string;
|
|
158
|
-
brandQuaternary300: string;
|
|
159
|
-
brandQuaternary600: string;
|
|
160
|
-
brandQuinary500: string;
|
|
161
|
-
brandQuinary300: string;
|
|
162
|
-
brandQuinary600: string;
|
|
163
|
-
brandQuinary100: string;
|
|
164
|
-
surfacePrimary: string;
|
|
165
|
-
surfaceSecondary: string;
|
|
166
|
-
containerPrimary: string;
|
|
167
|
-
containerSecondary: string;
|
|
168
|
-
textPrimary: string;
|
|
169
|
-
textSecondary: string;
|
|
170
|
-
textTertiary: string;
|
|
171
|
-
textQuaternary: string;
|
|
172
|
-
textBrand: string;
|
|
173
|
-
elementsPrimary: string;
|
|
174
|
-
elementsSecondary: string;
|
|
175
|
-
elementsTertiary: string;
|
|
176
|
-
elementsQuaternary: string;
|
|
177
|
-
elementsQuinary: string;
|
|
178
|
-
elementsDarkQuinary: string;
|
|
179
|
-
elementsSenary: string;
|
|
180
|
-
elementsOnContainer: string;
|
|
181
|
-
transparencyPrimary: string;
|
|
182
|
-
transparencySecondary: string;
|
|
183
|
-
transparencyTertiary: string;
|
|
184
|
-
transparencyQuinary: string;
|
|
185
|
-
transparencyModal: string;
|
|
186
|
-
staticBlack: string;
|
|
187
|
-
staticDarkGrey: string;
|
|
188
|
-
staticWhite: string;
|
|
189
|
-
staticRed: string;
|
|
190
|
-
staticOrange: string;
|
|
191
|
-
staticGreen: string;
|
|
192
|
-
staticDeepBlue: string;
|
|
193
|
-
staticErrorAccent: string;
|
|
194
|
-
shadowDepth2: string;
|
|
195
|
-
shadowDepth: string;
|
|
196
|
-
fontFamily: string;
|
|
197
|
-
fontFamilyMono: string;
|
|
198
|
-
cubicBezierEaseInOut: string;
|
|
199
|
-
cubicBezierEaseOut: string;
|
|
200
|
-
cubicBezierEaseIn: string;
|
|
201
|
-
borderRadiusLarge: string;
|
|
202
|
-
borderRadius: string;
|
|
203
|
-
borderRadiusMedium: string;
|
|
204
|
-
borderRadiusSmall: string;
|
|
205
|
-
borderRadiusTiny: string;
|
|
206
|
-
heightMini: string;
|
|
207
|
-
heightTiny: string;
|
|
208
|
-
heightSmall: string;
|
|
209
|
-
heightMedium: string;
|
|
210
|
-
heightLarge: string;
|
|
211
|
-
heightHuge: string;
|
|
212
|
-
fontDisplayLarge: string;
|
|
213
|
-
fontDisplaySmall: string;
|
|
214
|
-
fontHeadingLarge: string;
|
|
215
|
-
fontHeadingMedium: string;
|
|
216
|
-
fontHeadingSmall: string;
|
|
217
|
-
fontTitleLarge: string;
|
|
218
|
-
fontTitleMedium: string;
|
|
219
|
-
fontTitleSmall: string;
|
|
220
|
-
fontBodyLarge: string;
|
|
221
|
-
fontBodyMedium: string;
|
|
222
|
-
fontBodySmall: string;
|
|
223
|
-
lineHeightDisplayLarge: string;
|
|
224
|
-
lineHeightDisplaySmall: string;
|
|
225
|
-
lineHeightHeadingLarge: string;
|
|
226
|
-
lineHeightHeadingMedium: string;
|
|
227
|
-
lineHeightHeadingSmall: string;
|
|
228
|
-
lineHeightTitleLarge: string;
|
|
229
|
-
lineHeightTitleMedium: string;
|
|
230
|
-
lineHeightTitleSmall: string;
|
|
231
|
-
lineHeightBodyLarge: string;
|
|
232
|
-
lineHeightBodyMedium: string;
|
|
233
|
-
lineHeightBodySmall: string;
|
|
234
|
-
fontWeight: string;
|
|
235
|
-
fontWeightStrong: string;
|
|
236
|
-
fontWeightBold: string;
|
|
237
|
-
iconSmall: string;
|
|
238
|
-
iconMedium: string;
|
|
239
|
-
iconLarge: string;
|
|
240
|
-
iconHuge: string;
|
|
241
|
-
closeSmall: string;
|
|
242
|
-
closeMedium: string;
|
|
243
|
-
closeLarge: string;
|
|
244
|
-
closeHuge: string;
|
|
245
|
-
closeBorderRadius: string;
|
|
246
|
-
name: "common";
|
|
247
|
-
};
|
|
136
|
+
common: import("../..").ThemeCommonVars;
|
|
248
137
|
self: {
|
|
249
138
|
textColor: string;
|
|
250
139
|
textColorInverted: string;
|
|
@@ -412,7 +301,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
412
301
|
}, any>;
|
|
413
302
|
}>>>;
|
|
414
303
|
}>>, {
|
|
415
|
-
position: "
|
|
304
|
+
position: "absolute" | "static";
|
|
416
305
|
contentStyle: string | import("vue").CSSProperties;
|
|
417
306
|
embedded: boolean;
|
|
418
307
|
nativeScrollbar: boolean;
|
|
@@ -316,8 +316,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
316
316
|
}, any>;
|
|
317
317
|
}>>>;
|
|
318
318
|
}>>, {
|
|
319
|
-
position: "static" | "absolute";
|
|
320
319
|
bordered: boolean;
|
|
320
|
+
position: "absolute" | "static";
|
|
321
321
|
inverted: boolean;
|
|
322
322
|
}, {}>;
|
|
323
323
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
2
2
|
export declare const headerProps: {
|
|
3
3
|
readonly position: {
|
|
4
4
|
readonly type: import("vue").PropType<"static" | "absolute">;
|
|
@@ -229,8 +229,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
229
|
}, any>;
|
|
230
230
|
}>>>;
|
|
231
231
|
}>>, {
|
|
232
|
-
position: "static" | "absolute";
|
|
233
232
|
bordered: boolean;
|
|
233
|
+
position: "absolute" | "static";
|
|
234
234
|
inverted: boolean;
|
|
235
235
|
}, {}>;
|
|
236
236
|
export default _default;
|
|
@@ -3,6 +3,7 @@ import { useConfig, useTheme, useThemeClass } from '../../_mixins';
|
|
|
3
3
|
import { layoutLight } from '../styles';
|
|
4
4
|
import { positionProp } from './interface';
|
|
5
5
|
import style from './styles/layout-header.cssr';
|
|
6
|
+
import { resolveWrappedSlot } from '../../_utils';
|
|
6
7
|
export const headerProps = {
|
|
7
8
|
position: positionProp,
|
|
8
9
|
inverted: Boolean,
|
|
@@ -47,6 +48,7 @@ export default defineComponent({
|
|
|
47
48
|
render() {
|
|
48
49
|
var _a;
|
|
49
50
|
const { mergedClsPrefix } = this;
|
|
51
|
+
const $slots = this.$slots;
|
|
50
52
|
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
51
53
|
return (h("div", { class: [
|
|
52
54
|
`${mergedClsPrefix}-layout-header`,
|
|
@@ -54,6 +56,8 @@ export default defineComponent({
|
|
|
54
56
|
this.position &&
|
|
55
57
|
`${mergedClsPrefix}-layout-header--${this.position}-positioned`,
|
|
56
58
|
this.bordered && `${mergedClsPrefix}-layout-header--bordered`
|
|
57
|
-
], style: this.cssVars },
|
|
59
|
+
], style: this.cssVars }, !$slots.default ? (h("div", { class: `${mergedClsPrefix}-layout-header__wrapper` },
|
|
60
|
+
resolveWrappedSlot($slots.left, (children) => children && (h("div", { class: `${mergedClsPrefix}-layout-header-left` }, children))),
|
|
61
|
+
resolveWrappedSlot($slots.right, (children) => children && (h("div", { class: `${mergedClsPrefix}-layout-header-right` }, children))))) : (resolveWrappedSlot($slots.default, (children) => children))));
|
|
58
62
|
}
|
|
59
63
|
});
|