@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
package/es/empty/src/Empty.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type PropType, type VNodeChild } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare const emptyProps: {
|
|
4
|
+
title: StringConstructor;
|
|
4
5
|
description: StringConstructor;
|
|
5
6
|
showDescription: {
|
|
6
7
|
type: BooleanConstructor;
|
|
@@ -20,12 +21,18 @@ export declare const emptyProps: {
|
|
|
20
21
|
iconSizeMedium: string;
|
|
21
22
|
iconSizeLarge: string;
|
|
22
23
|
iconSizeHuge: string;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
titleFontSizeSmall: string;
|
|
25
|
+
titleFontSizeMedium: string;
|
|
26
|
+
titleFontSizeLarge: string;
|
|
27
|
+
titleFontSizeHuge: string;
|
|
28
|
+
descriptionFontSizeSmall: string;
|
|
29
|
+
descriptionFontSizeMedium: string;
|
|
30
|
+
descriptionFontSizeLarge: string;
|
|
31
|
+
descriptionFontSizeHuge: string;
|
|
32
|
+
titleColor: string;
|
|
33
|
+
descriptionColor: string;
|
|
28
34
|
iconColor: string;
|
|
35
|
+
iconBgColor: string;
|
|
29
36
|
extraTextColor: string;
|
|
30
37
|
}, any>>;
|
|
31
38
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
@@ -33,12 +40,18 @@ export declare const emptyProps: {
|
|
|
33
40
|
iconSizeMedium: string;
|
|
34
41
|
iconSizeLarge: string;
|
|
35
42
|
iconSizeHuge: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
titleFontSizeSmall: string;
|
|
44
|
+
titleFontSizeMedium: string;
|
|
45
|
+
titleFontSizeLarge: string;
|
|
46
|
+
titleFontSizeHuge: string;
|
|
47
|
+
descriptionFontSizeSmall: string;
|
|
48
|
+
descriptionFontSizeMedium: string;
|
|
49
|
+
descriptionFontSizeLarge: string;
|
|
50
|
+
descriptionFontSizeHuge: string;
|
|
51
|
+
titleColor: string;
|
|
52
|
+
descriptionColor: string;
|
|
41
53
|
iconColor: string;
|
|
54
|
+
iconBgColor: string;
|
|
42
55
|
extraTextColor: string;
|
|
43
56
|
}, any>>>;
|
|
44
57
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
@@ -46,17 +59,24 @@ export declare const emptyProps: {
|
|
|
46
59
|
iconSizeMedium: string;
|
|
47
60
|
iconSizeLarge: string;
|
|
48
61
|
iconSizeHuge: string;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
62
|
+
titleFontSizeSmall: string;
|
|
63
|
+
titleFontSizeMedium: string;
|
|
64
|
+
titleFontSizeLarge: string;
|
|
65
|
+
titleFontSizeHuge: string;
|
|
66
|
+
descriptionFontSizeSmall: string;
|
|
67
|
+
descriptionFontSizeMedium: string;
|
|
68
|
+
descriptionFontSizeLarge: string;
|
|
69
|
+
descriptionFontSizeHuge: string;
|
|
70
|
+
titleColor: string;
|
|
71
|
+
descriptionColor: string;
|
|
54
72
|
iconColor: string;
|
|
73
|
+
iconBgColor: string;
|
|
55
74
|
extraTextColor: string;
|
|
56
75
|
}, any>>>;
|
|
57
76
|
};
|
|
58
77
|
export type EmptyProps = ExtractPublicPropTypes<typeof emptyProps>;
|
|
59
78
|
declare const _default: import("vue").DefineComponent<{
|
|
79
|
+
title: StringConstructor;
|
|
60
80
|
description: StringConstructor;
|
|
61
81
|
showDescription: {
|
|
62
82
|
type: BooleanConstructor;
|
|
@@ -76,12 +96,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
96
|
iconSizeMedium: string;
|
|
77
97
|
iconSizeLarge: string;
|
|
78
98
|
iconSizeHuge: string;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
99
|
+
titleFontSizeSmall: string;
|
|
100
|
+
titleFontSizeMedium: string;
|
|
101
|
+
titleFontSizeLarge: string;
|
|
102
|
+
titleFontSizeHuge: string;
|
|
103
|
+
descriptionFontSizeSmall: string;
|
|
104
|
+
descriptionFontSizeMedium: string;
|
|
105
|
+
descriptionFontSizeLarge: string;
|
|
106
|
+
descriptionFontSizeHuge: string;
|
|
107
|
+
titleColor: string;
|
|
108
|
+
descriptionColor: string;
|
|
84
109
|
iconColor: string;
|
|
110
|
+
iconBgColor: string;
|
|
85
111
|
extraTextColor: string;
|
|
86
112
|
}, any>>;
|
|
87
113
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
@@ -89,12 +115,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
115
|
iconSizeMedium: string;
|
|
90
116
|
iconSizeLarge: string;
|
|
91
117
|
iconSizeHuge: string;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
118
|
+
titleFontSizeSmall: string;
|
|
119
|
+
titleFontSizeMedium: string;
|
|
120
|
+
titleFontSizeLarge: string;
|
|
121
|
+
titleFontSizeHuge: string;
|
|
122
|
+
descriptionFontSizeSmall: string;
|
|
123
|
+
descriptionFontSizeMedium: string;
|
|
124
|
+
descriptionFontSizeLarge: string;
|
|
125
|
+
descriptionFontSizeHuge: string;
|
|
126
|
+
titleColor: string;
|
|
127
|
+
descriptionColor: string;
|
|
97
128
|
iconColor: string;
|
|
129
|
+
iconBgColor: string;
|
|
98
130
|
extraTextColor: string;
|
|
99
131
|
}, any>>>;
|
|
100
132
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
@@ -102,29 +134,40 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
134
|
iconSizeMedium: string;
|
|
103
135
|
iconSizeLarge: string;
|
|
104
136
|
iconSizeHuge: string;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
137
|
+
titleFontSizeSmall: string;
|
|
138
|
+
titleFontSizeMedium: string;
|
|
139
|
+
titleFontSizeLarge: string;
|
|
140
|
+
titleFontSizeHuge: string;
|
|
141
|
+
descriptionFontSizeSmall: string;
|
|
142
|
+
descriptionFontSizeMedium: string;
|
|
143
|
+
descriptionFontSizeLarge: string;
|
|
144
|
+
descriptionFontSizeHuge: string;
|
|
145
|
+
titleColor: string;
|
|
146
|
+
descriptionColor: string;
|
|
110
147
|
iconColor: string;
|
|
148
|
+
iconBgColor: string;
|
|
111
149
|
extraTextColor: string;
|
|
112
150
|
}, any>>>;
|
|
113
151
|
}, {
|
|
114
152
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
115
153
|
mergedRenderIcon: import("vue").ComputedRef<() => VNodeChild>;
|
|
154
|
+
localizedTitle: import("vue").ComputedRef<string>;
|
|
116
155
|
localizedDescription: import("vue").ComputedRef<string>;
|
|
117
156
|
cssVars: import("vue").ComputedRef<{
|
|
118
157
|
'--u-icon-size': string;
|
|
119
|
-
'--u-font-size': string;
|
|
158
|
+
'--u-title-font-size': string;
|
|
159
|
+
'--u-description-font-size': string;
|
|
120
160
|
'--u-bezier': string;
|
|
121
|
-
'--u-
|
|
161
|
+
'--u-title-color': string;
|
|
162
|
+
'--u-description-color': string;
|
|
122
163
|
'--u-icon-color': string;
|
|
164
|
+
'--u-icon-bg-color': string;
|
|
123
165
|
'--u-extra-text-color': string;
|
|
124
166
|
}> | undefined;
|
|
125
167
|
themeClass: import("vue").Ref<string> | undefined;
|
|
126
168
|
onRender: (() => void) | undefined;
|
|
127
169
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
170
|
+
title: StringConstructor;
|
|
128
171
|
description: StringConstructor;
|
|
129
172
|
showDescription: {
|
|
130
173
|
type: BooleanConstructor;
|
|
@@ -144,12 +187,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
144
187
|
iconSizeMedium: string;
|
|
145
188
|
iconSizeLarge: string;
|
|
146
189
|
iconSizeHuge: string;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
190
|
+
titleFontSizeSmall: string;
|
|
191
|
+
titleFontSizeMedium: string;
|
|
192
|
+
titleFontSizeLarge: string;
|
|
193
|
+
titleFontSizeHuge: string;
|
|
194
|
+
descriptionFontSizeSmall: string;
|
|
195
|
+
descriptionFontSizeMedium: string;
|
|
196
|
+
descriptionFontSizeLarge: string;
|
|
197
|
+
descriptionFontSizeHuge: string;
|
|
198
|
+
titleColor: string;
|
|
199
|
+
descriptionColor: string;
|
|
152
200
|
iconColor: string;
|
|
201
|
+
iconBgColor: string;
|
|
153
202
|
extraTextColor: string;
|
|
154
203
|
}, any>>;
|
|
155
204
|
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
@@ -157,12 +206,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
157
206
|
iconSizeMedium: string;
|
|
158
207
|
iconSizeLarge: string;
|
|
159
208
|
iconSizeHuge: string;
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
209
|
+
titleFontSizeSmall: string;
|
|
210
|
+
titleFontSizeMedium: string;
|
|
211
|
+
titleFontSizeLarge: string;
|
|
212
|
+
titleFontSizeHuge: string;
|
|
213
|
+
descriptionFontSizeSmall: string;
|
|
214
|
+
descriptionFontSizeMedium: string;
|
|
215
|
+
descriptionFontSizeLarge: string;
|
|
216
|
+
descriptionFontSizeHuge: string;
|
|
217
|
+
titleColor: string;
|
|
218
|
+
descriptionColor: string;
|
|
165
219
|
iconColor: string;
|
|
220
|
+
iconBgColor: string;
|
|
166
221
|
extraTextColor: string;
|
|
167
222
|
}, any>>>;
|
|
168
223
|
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
@@ -170,17 +225,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
225
|
iconSizeMedium: string;
|
|
171
226
|
iconSizeLarge: string;
|
|
172
227
|
iconSizeHuge: string;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
228
|
+
titleFontSizeSmall: string;
|
|
229
|
+
titleFontSizeMedium: string;
|
|
230
|
+
titleFontSizeLarge: string;
|
|
231
|
+
titleFontSizeHuge: string;
|
|
232
|
+
descriptionFontSizeSmall: string;
|
|
233
|
+
descriptionFontSizeMedium: string;
|
|
234
|
+
descriptionFontSizeLarge: string;
|
|
235
|
+
descriptionFontSizeHuge: string;
|
|
236
|
+
titleColor: string;
|
|
237
|
+
descriptionColor: string;
|
|
178
238
|
iconColor: string;
|
|
239
|
+
iconBgColor: string;
|
|
179
240
|
extraTextColor: string;
|
|
180
241
|
}, any>>>;
|
|
181
242
|
}>>, {
|
|
182
|
-
size: "small" | "medium" | "large" | "huge";
|
|
183
243
|
showDescription: boolean;
|
|
184
244
|
showIcon: boolean;
|
|
245
|
+
size: "small" | "medium" | "large" | "huge";
|
|
185
246
|
}, {}>;
|
|
186
247
|
export default _default;
|
package/es/empty/src/Empty.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { h, defineComponent, computed, inject } from 'vue';
|
|
1
|
+
import { h, defineComponent, computed, inject, Fragment } from 'vue';
|
|
2
2
|
import { configProviderInjectionKey } from '../../config-provider/src/context';
|
|
3
3
|
import { UBaseIcon } from '../../_internal/icon';
|
|
4
|
-
import {
|
|
4
|
+
import { FileHeart } from '../../_internal/icons';
|
|
5
5
|
import { useConfig, useLocale, useTheme, useThemeClass } from '../../_mixins';
|
|
6
6
|
import { createKey } from '../../_utils';
|
|
7
7
|
import { emptyLight } from '../styles';
|
|
8
8
|
import style from './styles/index.cssr';
|
|
9
|
-
export const emptyProps = Object.assign(Object.assign({}, useTheme.props), { description: String, showDescription: {
|
|
9
|
+
export const emptyProps = Object.assign(Object.assign({}, useTheme.props), { title: String, description: String, showDescription: {
|
|
10
10
|
type: Boolean,
|
|
11
11
|
default: true
|
|
12
12
|
}, showIcon: {
|
|
@@ -24,6 +24,10 @@ export default defineComponent({
|
|
|
24
24
|
const themeRef = useTheme('Empty', '-empty', style, emptyLight, props, mergedClsPrefixRef);
|
|
25
25
|
const { localeRef } = useLocale('Empty');
|
|
26
26
|
const UConfigProvider = inject(configProviderInjectionKey, null);
|
|
27
|
+
const mergedTitleRef = computed(() => {
|
|
28
|
+
var _a, _b, _c;
|
|
29
|
+
return ((_a = props.title) !== null && _a !== void 0 ? _a : (_c = (_b = UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedComponentPropsRef.value) === null || _b === void 0 ? void 0 : _b.Empty) === null || _c === void 0 ? void 0 : _c.title);
|
|
30
|
+
});
|
|
27
31
|
const mergedDescriptionRef = computed(() => {
|
|
28
32
|
var _a, _b, _c;
|
|
29
33
|
return ((_a = props.description) !== null && _a !== void 0 ? _a : (_c = (_b = UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedComponentPropsRef.value) === null || _b === void 0 ? void 0 : _b.Empty) === null || _c === void 0 ? void 0 : _c.description);
|
|
@@ -31,17 +35,20 @@ export default defineComponent({
|
|
|
31
35
|
const mergedRenderIconRef = computed(() => {
|
|
32
36
|
var _a, _b;
|
|
33
37
|
return ((_b = (_a = UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedComponentPropsRef.value) === null || _a === void 0 ? void 0 : _a.Empty) === null || _b === void 0 ? void 0 : _b.renderIcon) ||
|
|
34
|
-
(() => h(
|
|
38
|
+
(() => h(FileHeart, null));
|
|
35
39
|
});
|
|
36
40
|
const cssVarsRef = computed(() => {
|
|
37
41
|
const { size } = props;
|
|
38
|
-
const { common: { cubicBezierEaseInOut }, self: { [createKey('iconSize', size)]: iconSize, [createKey('
|
|
42
|
+
const { common: { cubicBezierEaseInOut }, self: { titleColor, descriptionColor, iconColor, iconBgColor, extraTextColor, [createKey('iconSize', size)]: iconSize, [createKey('titleFontSize', size)]: titleFontSize, [createKey('descriptionFontSize', size)]: descriptionFontSize } } = themeRef.value;
|
|
39
43
|
return {
|
|
40
44
|
'--u-icon-size': iconSize,
|
|
41
|
-
'--u-font-size':
|
|
45
|
+
'--u-title-font-size': titleFontSize,
|
|
46
|
+
'--u-description-font-size': descriptionFontSize,
|
|
42
47
|
'--u-bezier': cubicBezierEaseInOut,
|
|
43
|
-
'--u-
|
|
48
|
+
'--u-title-color': titleColor,
|
|
49
|
+
'--u-description-color': descriptionColor,
|
|
44
50
|
'--u-icon-color': iconColor,
|
|
51
|
+
'--u-icon-bg-color': iconBgColor,
|
|
45
52
|
'--u-extra-text-color': extraTextColor
|
|
46
53
|
};
|
|
47
54
|
});
|
|
@@ -56,6 +63,9 @@ export default defineComponent({
|
|
|
56
63
|
return {
|
|
57
64
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
58
65
|
mergedRenderIcon: mergedRenderIconRef,
|
|
66
|
+
localizedTitle: computed(() => {
|
|
67
|
+
return mergedTitleRef.value || localeRef.value.title;
|
|
68
|
+
}),
|
|
59
69
|
localizedDescription: computed(() => {
|
|
60
70
|
return mergedDescriptionRef.value || localeRef.value.description;
|
|
61
71
|
}),
|
|
@@ -67,9 +77,17 @@ export default defineComponent({
|
|
|
67
77
|
render() {
|
|
68
78
|
const { $slots, mergedClsPrefix, onRender } = this;
|
|
69
79
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
70
|
-
return (h("div", { class: [
|
|
80
|
+
return (h("div", { class: [
|
|
81
|
+
`${mergedClsPrefix}-empty`,
|
|
82
|
+
`${mergedClsPrefix}-empty--${this.size}`,
|
|
83
|
+
this.themeClass
|
|
84
|
+
], style: this.cssVars },
|
|
71
85
|
this.showIcon ? (h("div", { class: `${mergedClsPrefix}-empty__icon` }, $slots.icon ? ($slots.icon()) : (h(UBaseIcon, { clsPrefix: mergedClsPrefix }, { default: this.mergedRenderIcon })))) : null,
|
|
72
|
-
this.showDescription ? (h(
|
|
86
|
+
this.showDescription ? (h(Fragment, null,
|
|
87
|
+
h("div", { class: `${mergedClsPrefix}-empty__title` }, $slots.title ? $slots.title() : this.localizedTitle),
|
|
88
|
+
h("div", { class: `${mergedClsPrefix}-empty__description` }, $slots.description
|
|
89
|
+
? $slots.description()
|
|
90
|
+
: this.localizedDescription))) : null,
|
|
73
91
|
$slots.extra ? (h("div", { class: `${mergedClsPrefix}-empty__extra` }, $slots.extra())) : null));
|
|
74
92
|
}
|
|
75
93
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cB, cE, cM } from '../../../_utils/cssr';
|
|
2
2
|
// vars:
|
|
3
|
-
// --u-font-size
|
|
3
|
+
// --u-title-font-size
|
|
4
|
+
// --u-description-font-size
|
|
4
5
|
// --u-icon-size
|
|
5
6
|
// --u-icon-color
|
|
6
7
|
// --u-bezier
|
|
@@ -10,23 +11,49 @@ export default cB('empty', `
|
|
|
10
11
|
display: flex;
|
|
11
12
|
flex-direction: column;
|
|
12
13
|
align-items: center;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
`, [cM('small', [cE('icon', `
|
|
15
|
+
width: 48px;
|
|
16
|
+
height: 48px;
|
|
17
|
+
margin-bottom: 16px;
|
|
18
|
+
`)]), cM('medium', [cE('icon', `
|
|
19
|
+
width: 48px;
|
|
20
|
+
height: 48px;
|
|
21
|
+
margin-bottom: 16px;
|
|
22
|
+
`)]), cM('large', [cE('icon', `
|
|
23
|
+
width: 80px;
|
|
24
|
+
height: 80px;
|
|
25
|
+
margin-bottom: 32px;
|
|
26
|
+
`)]), cM('huge', [cE('icon', `
|
|
27
|
+
width: 80px;
|
|
28
|
+
height: 80px;
|
|
29
|
+
margin-bottom: 32px;
|
|
30
|
+
`)]), cE('icon', `
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
align-items: center;
|
|
34
|
+
border-radius: 50%;
|
|
35
|
+
background-color: var(--u-icon-bg-color);
|
|
17
36
|
font-size: var(--u-icon-size);
|
|
18
37
|
line-height: var(--u-icon-size);
|
|
19
38
|
color: var(--u-icon-color);
|
|
20
39
|
transition:
|
|
21
40
|
color .3s var(--u-bezier);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
41
|
+
`), cE('title', `
|
|
42
|
+
text-align: center;
|
|
43
|
+
transition: color .3s var(--u-bezier);
|
|
44
|
+
font-size: var(--u-title-font-size);
|
|
45
|
+
color: var(--u-title-color);
|
|
46
|
+
max-width: 352px;
|
|
47
|
+
margin-bottom: 8px;
|
|
48
|
+
`), cE('description', `
|
|
49
|
+
text-align: center;
|
|
25
50
|
transition: color .3s var(--u-bezier);
|
|
26
|
-
|
|
51
|
+
font-size: var(--u-description-font-size);
|
|
52
|
+
color: var(--u-description-color);
|
|
53
|
+
max-width: 352px;
|
|
27
54
|
`), cE('extra', `
|
|
28
55
|
text-align: center;
|
|
29
56
|
transition: color .3s var(--u-bezier);
|
|
30
|
-
margin-top:
|
|
57
|
+
margin-top: 32px;
|
|
31
58
|
color: var(--u-extra-text-color);
|
|
32
59
|
`)]);
|
|
@@ -5,12 +5,18 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
5
5
|
iconSizeMedium: string;
|
|
6
6
|
iconSizeLarge: string;
|
|
7
7
|
iconSizeHuge: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
titleFontSizeSmall: string;
|
|
9
|
+
titleFontSizeMedium: string;
|
|
10
|
+
titleFontSizeLarge: string;
|
|
11
|
+
titleFontSizeHuge: string;
|
|
12
|
+
descriptionFontSizeSmall: string;
|
|
13
|
+
descriptionFontSizeMedium: string;
|
|
14
|
+
descriptionFontSizeLarge: string;
|
|
15
|
+
descriptionFontSizeHuge: string;
|
|
16
|
+
titleColor: string;
|
|
17
|
+
descriptionColor: string;
|
|
13
18
|
iconColor: string;
|
|
19
|
+
iconBgColor: string;
|
|
14
20
|
extraTextColor: string;
|
|
15
21
|
};
|
|
16
22
|
export type EmptyThemeVars = ReturnType<typeof self>;
|
package/es/empty/styles/light.js
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import { commonLight } from '../../_styles/common';
|
|
2
2
|
export const self = (vars) => {
|
|
3
|
-
const { fontBodyMedium,
|
|
3
|
+
const { fontBodyMedium, fontTitleLarge, fontTitleSmall, textSecondary, textPrimary, brandPrimary500, brandPrimary100 } = vars;
|
|
4
4
|
return {
|
|
5
|
-
iconSizeSmall: '
|
|
6
|
-
iconSizeMedium: '
|
|
7
|
-
iconSizeLarge: '
|
|
8
|
-
iconSizeHuge: '
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
iconSizeSmall: '16px',
|
|
6
|
+
iconSizeMedium: '16px',
|
|
7
|
+
iconSizeLarge: '32px',
|
|
8
|
+
iconSizeHuge: '32px',
|
|
9
|
+
titleFontSizeSmall: fontTitleSmall,
|
|
10
|
+
titleFontSizeMedium: fontTitleSmall,
|
|
11
|
+
titleFontSizeLarge: fontTitleLarge,
|
|
12
|
+
titleFontSizeHuge: fontTitleLarge,
|
|
13
|
+
descriptionFontSizeSmall: fontBodyMedium,
|
|
14
|
+
descriptionFontSizeMedium: fontBodyMedium,
|
|
15
|
+
descriptionFontSizeLarge: fontTitleSmall,
|
|
16
|
+
descriptionFontSizeHuge: fontTitleSmall,
|
|
17
|
+
titleColor: textPrimary,
|
|
18
|
+
descriptionColor: textSecondary,
|
|
19
|
+
iconColor: brandPrimary500,
|
|
20
|
+
iconBgColor: brandPrimary100,
|
|
15
21
|
extraTextColor: textPrimary
|
|
16
22
|
};
|
|
17
23
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import type { KatexOptions } from 'katex';
|
|
3
|
+
import type { Katex } from '../../config-provider/src/katex';
|
|
3
4
|
export declare const equationProps: {
|
|
4
5
|
readonly value: StringConstructor;
|
|
5
|
-
readonly katex: PropType<
|
|
6
|
+
readonly katex: PropType<Katex>;
|
|
6
7
|
readonly katexOptions: PropType<KatexOptions>;
|
|
7
8
|
};
|
|
8
9
|
export declare const Equation: import("vue").DefineComponent<{
|
|
9
10
|
readonly value: StringConstructor;
|
|
10
|
-
readonly katex: PropType<
|
|
11
|
+
readonly katex: PropType<Katex>;
|
|
11
12
|
readonly katexOptions: PropType<KatexOptions>;
|
|
12
13
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
14
|
[key: string]: any;
|
|
14
15
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
16
|
readonly value: StringConstructor;
|
|
16
|
-
readonly katex: PropType<
|
|
17
|
+
readonly katex: PropType<Katex>;
|
|
17
18
|
readonly katexOptions: PropType<KatexOptions>;
|
|
18
19
|
}>>, {}, {}>;
|
package/es/flex/src/Flex.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
|
+
import type { FlexAlign, FlexJustify } from './type';
|
|
3
4
|
export declare const flexProps: {
|
|
4
|
-
readonly align: PropType<
|
|
5
|
+
readonly align: PropType<FlexAlign>;
|
|
5
6
|
readonly justify: {
|
|
6
|
-
readonly type: PropType<
|
|
7
|
+
readonly type: PropType<FlexJustify>;
|
|
7
8
|
readonly default: "start";
|
|
8
9
|
};
|
|
9
10
|
readonly inline: BooleanConstructor;
|
|
10
11
|
readonly vertical: BooleanConstructor;
|
|
11
12
|
readonly reverse: BooleanConstructor;
|
|
12
13
|
readonly size: {
|
|
13
|
-
readonly type: PropType<
|
|
14
|
+
readonly type: PropType<"small" | "medium" | "large" | number | [number, number]>;
|
|
14
15
|
readonly default: "medium";
|
|
15
16
|
};
|
|
16
17
|
readonly wrap: {
|
|
@@ -35,16 +36,16 @@ export declare const flexProps: {
|
|
|
35
36
|
};
|
|
36
37
|
export type FlexProps = ExtractPublicPropTypes<typeof flexProps>;
|
|
37
38
|
declare const _default: import("vue").DefineComponent<{
|
|
38
|
-
readonly align: PropType<
|
|
39
|
+
readonly align: PropType<FlexAlign>;
|
|
39
40
|
readonly justify: {
|
|
40
|
-
readonly type: PropType<
|
|
41
|
+
readonly type: PropType<FlexJustify>;
|
|
41
42
|
readonly default: "start";
|
|
42
43
|
};
|
|
43
44
|
readonly inline: BooleanConstructor;
|
|
44
45
|
readonly vertical: BooleanConstructor;
|
|
45
46
|
readonly reverse: BooleanConstructor;
|
|
46
47
|
readonly size: {
|
|
47
|
-
readonly type: PropType<
|
|
48
|
+
readonly type: PropType<"small" | "medium" | "large" | number | [number, number]>;
|
|
48
49
|
readonly default: "medium";
|
|
49
50
|
};
|
|
50
51
|
readonly wrap: {
|
|
@@ -74,16 +75,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
75
|
vertical: number;
|
|
75
76
|
}>;
|
|
76
77
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
-
readonly align: PropType<
|
|
78
|
+
readonly align: PropType<FlexAlign>;
|
|
78
79
|
readonly justify: {
|
|
79
|
-
readonly type: PropType<
|
|
80
|
+
readonly type: PropType<FlexJustify>;
|
|
80
81
|
readonly default: "start";
|
|
81
82
|
};
|
|
82
83
|
readonly inline: BooleanConstructor;
|
|
83
84
|
readonly vertical: BooleanConstructor;
|
|
84
85
|
readonly reverse: BooleanConstructor;
|
|
85
86
|
readonly size: {
|
|
86
|
-
readonly type: PropType<
|
|
87
|
+
readonly type: PropType<"small" | "medium" | "large" | number | [number, number]>;
|
|
87
88
|
readonly default: "medium";
|
|
88
89
|
};
|
|
89
90
|
readonly wrap: {
|
|
@@ -106,11 +107,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
106
107
|
gapLarge: string;
|
|
107
108
|
}, any>>>;
|
|
108
109
|
}>>, {
|
|
109
|
-
readonly inline: boolean;
|
|
110
110
|
readonly reverse: boolean;
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
111
|
+
readonly inline: boolean;
|
|
112
|
+
readonly size: number | "small" | "medium" | "large" | [number, number];
|
|
113
113
|
readonly vertical: boolean;
|
|
114
|
+
readonly wrap: boolean;
|
|
114
115
|
readonly justify: import("csstype").Property.JustifyContent;
|
|
115
116
|
}, {}>;
|
|
116
117
|
export default _default;
|
package/es/form/src/Form.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { FormRules, LabelAlign, LabelPlacement, FormInst, Size, FormValidat
|
|
|
3
3
|
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
export declare const formProps: {
|
|
5
5
|
readonly inline: BooleanConstructor;
|
|
6
|
-
readonly labelWidth: PropType<
|
|
6
|
+
readonly labelWidth: PropType<number | string>;
|
|
7
7
|
readonly labelAlign: PropType<LabelAlign>;
|
|
8
8
|
readonly labelPlacement: {
|
|
9
9
|
readonly type: PropType<LabelPlacement>;
|
|
@@ -141,7 +141,7 @@ export type FormSetupProps = ExtractPropTypes<typeof formProps>;
|
|
|
141
141
|
export type FormProps = ExtractPublicPropTypes<typeof formProps>;
|
|
142
142
|
declare const _default: import("vue").DefineComponent<{
|
|
143
143
|
readonly inline: BooleanConstructor;
|
|
144
|
-
readonly labelWidth: PropType<
|
|
144
|
+
readonly labelWidth: PropType<number | string>;
|
|
145
145
|
readonly labelAlign: PropType<LabelAlign>;
|
|
146
146
|
readonly labelPlacement: {
|
|
147
147
|
readonly type: PropType<LabelPlacement>;
|
|
@@ -278,7 +278,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
278
278
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
279
279
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
280
280
|
readonly inline: BooleanConstructor;
|
|
281
|
-
readonly labelWidth: PropType<
|
|
281
|
+
readonly labelWidth: PropType<number | string>;
|
|
282
282
|
readonly labelAlign: PropType<LabelAlign>;
|
|
283
283
|
readonly labelPlacement: {
|
|
284
284
|
readonly type: PropType<LabelPlacement>;
|
|
@@ -413,8 +413,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
413
413
|
}, any>>>;
|
|
414
414
|
}>>, {
|
|
415
415
|
readonly inline: boolean;
|
|
416
|
-
readonly disabled: boolean;
|
|
417
416
|
readonly onSubmit: (e: Event) => void;
|
|
417
|
+
readonly disabled: boolean;
|
|
418
418
|
readonly labelPlacement: LabelPlacement;
|
|
419
419
|
readonly model: Record<string, any>;
|
|
420
420
|
readonly showRequireMark: boolean | undefined;
|
package/es/form/src/Form.js
CHANGED
|
@@ -51,8 +51,8 @@ export default defineComponent({
|
|
|
51
51
|
maxChildLabelWidthRef.value = currentWidth;
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
function validate(
|
|
55
|
-
return __awaiter(this,
|
|
54
|
+
function validate(validateCallback_1) {
|
|
55
|
+
return __awaiter(this, arguments, void 0, function* (validateCallback, shouldRuleBeApplied = () => true) {
|
|
56
56
|
yield new Promise((resolve, reject) => {
|
|
57
57
|
const formItemValidationPromises = [];
|
|
58
58
|
for (const key of keysOf(formItems)) {
|