@uzum-tech/ui 1.3.1 → 1.4.1
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 +3 -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 +109 -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 +3 -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 +114 -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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const UDialog: import("vue").DefineComponent<{
|
|
2
2
|
icon: import("vue").PropType<() => import("vue").VNodeChild>;
|
|
3
3
|
type: {
|
|
4
|
-
readonly type: import("vue").PropType<"
|
|
4
|
+
readonly type: import("vue").PropType<"info" | "success" | "warning" | "error" | "default">;
|
|
5
5
|
readonly default: "default";
|
|
6
6
|
};
|
|
7
7
|
title: import("vue").PropType<string | (() => import("vue").VNodeChild)>;
|
|
@@ -768,118 +768,7 @@ export declare const UDialog: import("vue").DefineComponent<{
|
|
|
768
768
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
769
769
|
mergedIconPlacement: import("vue").ComputedRef<import("./interface").IconPlacement>;
|
|
770
770
|
mergedTheme: import("vue").ComputedRef<{
|
|
771
|
-
common:
|
|
772
|
-
scrollbarColor: string;
|
|
773
|
-
scrollbarColorHover: string;
|
|
774
|
-
scrollbarWidth: string;
|
|
775
|
-
scrollbarHeight: string;
|
|
776
|
-
scrollbarBorderRadius: string;
|
|
777
|
-
opacityDisabled: string;
|
|
778
|
-
brandPrimary50: string;
|
|
779
|
-
brandPrimary100: string;
|
|
780
|
-
brandPrimary200: string;
|
|
781
|
-
brandPrimary300: string;
|
|
782
|
-
brandPrimary400: string;
|
|
783
|
-
brandPrimary500: string;
|
|
784
|
-
brandPrimary550: string;
|
|
785
|
-
brandPrimary600: string;
|
|
786
|
-
brandSecondary500: string;
|
|
787
|
-
brandSecondary300: string;
|
|
788
|
-
brandSecondary600: string;
|
|
789
|
-
brandTertiary500: string;
|
|
790
|
-
brandTertiary300: string;
|
|
791
|
-
brandTertiary600: string;
|
|
792
|
-
brandQuaternary500: string;
|
|
793
|
-
brandQuaternary300: string;
|
|
794
|
-
brandQuaternary600: string;
|
|
795
|
-
brandQuinary500: string;
|
|
796
|
-
brandQuinary300: string;
|
|
797
|
-
brandQuinary600: string;
|
|
798
|
-
brandQuinary100: string;
|
|
799
|
-
surfacePrimary: string;
|
|
800
|
-
surfaceSecondary: string;
|
|
801
|
-
containerPrimary: string;
|
|
802
|
-
containerSecondary: string;
|
|
803
|
-
textPrimary: string;
|
|
804
|
-
textSecondary: string;
|
|
805
|
-
textTertiary: string;
|
|
806
|
-
textQuaternary: string;
|
|
807
|
-
textBrand: string;
|
|
808
|
-
elementsPrimary: string;
|
|
809
|
-
elementsSecondary: string;
|
|
810
|
-
elementsTertiary: string;
|
|
811
|
-
elementsQuaternary: string;
|
|
812
|
-
elementsQuinary: string;
|
|
813
|
-
elementsDarkQuinary: string;
|
|
814
|
-
elementsSenary: string;
|
|
815
|
-
elementsOnContainer: string;
|
|
816
|
-
transparencyPrimary: string;
|
|
817
|
-
transparencySecondary: string;
|
|
818
|
-
transparencyTertiary: string;
|
|
819
|
-
transparencyQuinary: string;
|
|
820
|
-
transparencyModal: string;
|
|
821
|
-
staticBlack: string;
|
|
822
|
-
staticDarkGrey: string;
|
|
823
|
-
staticWhite: string;
|
|
824
|
-
staticRed: string;
|
|
825
|
-
staticOrange: string;
|
|
826
|
-
staticGreen: string;
|
|
827
|
-
staticDeepBlue: string;
|
|
828
|
-
staticErrorAccent: string;
|
|
829
|
-
shadowDepth2: string;
|
|
830
|
-
shadowDepth: string;
|
|
831
|
-
fontFamily: string;
|
|
832
|
-
fontFamilyMono: string;
|
|
833
|
-
cubicBezierEaseInOut: string;
|
|
834
|
-
cubicBezierEaseOut: string;
|
|
835
|
-
cubicBezierEaseIn: string;
|
|
836
|
-
borderRadiusLarge: string;
|
|
837
|
-
borderRadius: string;
|
|
838
|
-
borderRadiusMedium: string;
|
|
839
|
-
borderRadiusSmall: string;
|
|
840
|
-
borderRadiusTiny: string;
|
|
841
|
-
heightMini: string;
|
|
842
|
-
heightTiny: string;
|
|
843
|
-
heightSmall: string;
|
|
844
|
-
heightMedium: string;
|
|
845
|
-
heightLarge: string;
|
|
846
|
-
heightHuge: string;
|
|
847
|
-
fontDisplayLarge: string;
|
|
848
|
-
fontDisplaySmall: string;
|
|
849
|
-
fontHeadingLarge: string;
|
|
850
|
-
fontHeadingMedium: string;
|
|
851
|
-
fontHeadingSmall: string;
|
|
852
|
-
fontTitleLarge: string;
|
|
853
|
-
fontTitleMedium: string;
|
|
854
|
-
fontTitleSmall: string;
|
|
855
|
-
fontBodyLarge: string;
|
|
856
|
-
fontBodyMedium: string;
|
|
857
|
-
fontBodySmall: string;
|
|
858
|
-
lineHeightDisplayLarge: string;
|
|
859
|
-
lineHeightDisplaySmall: string;
|
|
860
|
-
lineHeightHeadingLarge: string;
|
|
861
|
-
lineHeightHeadingMedium: string;
|
|
862
|
-
lineHeightHeadingSmall: string;
|
|
863
|
-
lineHeightTitleLarge: string;
|
|
864
|
-
lineHeightTitleMedium: string;
|
|
865
|
-
lineHeightTitleSmall: string;
|
|
866
|
-
lineHeightBodyLarge: string;
|
|
867
|
-
lineHeightBodyMedium: string;
|
|
868
|
-
lineHeightBodySmall: string;
|
|
869
|
-
fontWeight: string;
|
|
870
|
-
fontWeightStrong: string;
|
|
871
|
-
fontWeightBold: string;
|
|
872
|
-
iconSmall: string;
|
|
873
|
-
iconMedium: string;
|
|
874
|
-
iconLarge: string;
|
|
875
|
-
iconHuge: string;
|
|
876
|
-
closeSmall: string;
|
|
877
|
-
closeMedium: string;
|
|
878
|
-
closeLarge: string;
|
|
879
|
-
closeHuge: string;
|
|
880
|
-
closeBorderRadius: string;
|
|
881
|
-
name: "common";
|
|
882
|
-
};
|
|
771
|
+
common: import("../..").ThemeCommonVars;
|
|
883
772
|
self: {
|
|
884
773
|
border: string;
|
|
885
774
|
titleTextColor: string;
|
|
@@ -1172,7 +1061,7 @@ export declare const UDialog: import("vue").DefineComponent<{
|
|
|
1172
1061
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1173
1062
|
icon: import("vue").PropType<() => import("vue").VNodeChild>;
|
|
1174
1063
|
type: {
|
|
1175
|
-
readonly type: import("vue").PropType<"
|
|
1064
|
+
readonly type: import("vue").PropType<"info" | "success" | "warning" | "error" | "default">;
|
|
1176
1065
|
readonly default: "default";
|
|
1177
1066
|
};
|
|
1178
1067
|
title: import("vue").PropType<string | (() => import("vue").VNodeChild)>;
|
|
@@ -1936,7 +1825,7 @@ export declare const UDialog: import("vue").DefineComponent<{
|
|
|
1936
1825
|
}, any>;
|
|
1937
1826
|
}>>>;
|
|
1938
1827
|
}>>, {
|
|
1939
|
-
type: "default" | "
|
|
1828
|
+
type: "default" | "info" | "success" | "warning" | "error";
|
|
1940
1829
|
loading: boolean;
|
|
1941
1830
|
bordered: boolean;
|
|
1942
1831
|
showIcon: boolean;
|
package/lib/dialog/src/Dialog.js
CHANGED
|
@@ -23,7 +23,7 @@ const iconRenderMap = {
|
|
|
23
23
|
exports.UDialog = (0, vue_1.defineComponent)({
|
|
24
24
|
name: 'Dialog',
|
|
25
25
|
alias: [
|
|
26
|
-
'NimbusConfirmCard',
|
|
26
|
+
'NimbusConfirmCard', // deprecated
|
|
27
27
|
'Confirm' // deprecated
|
|
28
28
|
],
|
|
29
29
|
props: Object.assign(Object.assign({}, _mixins_1.useTheme.props), dialogProps_1.dialogProps),
|
|
@@ -27,7 +27,7 @@ export declare const exposedDialogEnvProps: {
|
|
|
27
27
|
readonly onMaskClick: PropType<(e: MouseEvent) => void>;
|
|
28
28
|
readonly icon: PropType<() => import("vue").VNodeChild>;
|
|
29
29
|
readonly type: {
|
|
30
|
-
readonly type: PropType<"
|
|
30
|
+
readonly type: PropType<"info" | "success" | "warning" | "error" | "default">;
|
|
31
31
|
readonly default: "default";
|
|
32
32
|
};
|
|
33
33
|
readonly title: PropType<string | (() => import("vue").VNodeChild)>;
|
|
@@ -87,7 +87,7 @@ export declare const UDialogEnvironment: import("vue").DefineComponent<{
|
|
|
87
87
|
onMaskClick: PropType<(e: MouseEvent) => void>;
|
|
88
88
|
icon: PropType<() => import("vue").VNodeChild>;
|
|
89
89
|
type: {
|
|
90
|
-
readonly type: PropType<"
|
|
90
|
+
readonly type: PropType<"info" | "success" | "warning" | "error" | "default">;
|
|
91
91
|
readonly default: "default";
|
|
92
92
|
};
|
|
93
93
|
title: PropType<string | (() => import("vue").VNodeChild)>;
|
|
@@ -156,7 +156,7 @@ export declare const UDialogEnvironment: import("vue").DefineComponent<{
|
|
|
156
156
|
onMaskClick: PropType<(e: MouseEvent) => void>;
|
|
157
157
|
icon: PropType<() => import("vue").VNodeChild>;
|
|
158
158
|
type: {
|
|
159
|
-
readonly type: PropType<"
|
|
159
|
+
readonly type: PropType<"info" | "success" | "warning" | "error" | "default">;
|
|
160
160
|
readonly default: "default";
|
|
161
161
|
};
|
|
162
162
|
title: PropType<string | (() => import("vue").VNodeChild)>;
|
|
@@ -179,12 +179,12 @@ export declare const UDialogEnvironment: import("vue").DefineComponent<{
|
|
|
179
179
|
bordered: BooleanConstructor;
|
|
180
180
|
iconPlacement: PropType<import("./interface").IconPlacement>;
|
|
181
181
|
}>>, {
|
|
182
|
-
type: "default" | "
|
|
183
|
-
autoFocus: boolean;
|
|
182
|
+
type: "default" | "info" | "success" | "warning" | "error";
|
|
184
183
|
loading: boolean;
|
|
185
184
|
bordered: boolean;
|
|
186
185
|
showIcon: boolean;
|
|
187
186
|
closable: boolean;
|
|
187
|
+
autoFocus: boolean;
|
|
188
188
|
blockScroll: boolean;
|
|
189
189
|
maskClosable: boolean;
|
|
190
190
|
closeOnEsc: boolean;
|
|
@@ -41,39 +41,28 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
|
|
|
41
41
|
dialogList: Ref<{
|
|
42
42
|
readonly key: string;
|
|
43
43
|
readonly destroy: () => void;
|
|
44
|
-
type?: "default" | "
|
|
45
|
-
body?: (() => import("vue").VNodeChild) | undefined;
|
|
46
|
-
content?: string | (() => import("vue").VNodeChild) | undefined;
|
|
47
|
-
icon?: (() => import("vue").VNodeChild) | undefined;
|
|
48
|
-
transformOrigin?: "center" | "mouse" | undefined;
|
|
49
|
-
onAfterEnter?: (() => void) | undefined;
|
|
50
|
-
onAfterLeave?: (() => void) | undefined;
|
|
44
|
+
type?: "default" | "info" | "success" | "warning" | "error" | undefined;
|
|
51
45
|
title?: string | (() => import("vue").VNodeChild) | undefined;
|
|
52
|
-
|
|
53
|
-
|
|
46
|
+
icon?: (() => import("vue").VNodeChild) | undefined;
|
|
47
|
+
body?: (() => import("vue").VNodeChild) | undefined;
|
|
54
48
|
positiveText?: string | undefined;
|
|
55
49
|
negativeText?: string | undefined;
|
|
56
50
|
loading?: boolean | undefined;
|
|
57
51
|
bordered?: boolean | undefined;
|
|
58
52
|
showIcon?: boolean | undefined;
|
|
53
|
+
content?: string | (() => import("vue").VNodeChild) | undefined;
|
|
54
|
+
action?: (() => import("vue").VNodeChild) | undefined;
|
|
59
55
|
closable?: boolean | undefined;
|
|
56
|
+
onAfterLeave?: (() => void) | undefined;
|
|
57
|
+
onAfterEnter?: (() => void) | undefined;
|
|
58
|
+
transformOrigin?: "center" | "mouse" | undefined;
|
|
59
|
+
onClose?: (() => Promise<unknown> | unknown) | undefined;
|
|
60
|
+
autoFocus?: boolean | undefined;
|
|
60
61
|
onEsc?: (() => void) | undefined;
|
|
61
|
-
onClose?: (() => unknown) | undefined;
|
|
62
62
|
iconPlacement?: import("./interface").IconPlacement | undefined;
|
|
63
63
|
positiveButtonProps?: {
|
|
64
64
|
type?: import("../../button/src/interface").Type | undefined;
|
|
65
|
-
tag?: keyof HTMLElementTagNameMap | undefined;
|
|
66
|
-
block?: boolean | undefined;
|
|
67
|
-
color?: string | undefined;
|
|
68
|
-
round?: boolean | undefined;
|
|
69
|
-
dashed?: boolean | undefined;
|
|
70
|
-
size?: import("../../button/src/interface").Size | undefined;
|
|
71
|
-
text?: boolean | undefined;
|
|
72
|
-
circle?: boolean | undefined;
|
|
73
|
-
disabled?: boolean | undefined;
|
|
74
65
|
onClick?: import("../../_utils").MaybeArray<(e: MouseEvent) => void> | undefined;
|
|
75
|
-
focusable?: boolean | undefined;
|
|
76
|
-
strong?: boolean | undefined;
|
|
77
66
|
themeOverrides?: {
|
|
78
67
|
heightTiny?: string | undefined;
|
|
79
68
|
heightSmall?: string | undefined;
|
|
@@ -400,34 +389,34 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
|
|
|
400
389
|
name: "common";
|
|
401
390
|
} | undefined;
|
|
402
391
|
} | undefined;
|
|
392
|
+
disabled?: boolean | undefined;
|
|
403
393
|
loading?: boolean | undefined;
|
|
404
394
|
bordered?: boolean | undefined;
|
|
405
|
-
|
|
395
|
+
tag?: keyof HTMLElementTagNameMap | undefined;
|
|
396
|
+
size?: import("../../button/src/interface").Size | undefined;
|
|
406
397
|
renderIcon?: (() => import("vue").VNodeChild) | undefined;
|
|
398
|
+
color?: string | undefined;
|
|
399
|
+
textColor?: string | undefined;
|
|
407
400
|
tertiary?: boolean | undefined;
|
|
408
401
|
ghost?: boolean | undefined;
|
|
402
|
+
round?: boolean | undefined;
|
|
403
|
+
strong?: boolean | undefined;
|
|
404
|
+
circle?: boolean | undefined;
|
|
405
|
+
text?: boolean | undefined;
|
|
406
|
+
focusable?: boolean | undefined;
|
|
407
|
+
dashed?: boolean | undefined;
|
|
408
|
+
block?: boolean | undefined;
|
|
409
409
|
secondary?: boolean | undefined;
|
|
410
410
|
loadingSkeleton?: boolean | undefined;
|
|
411
|
-
keyboard?: boolean | undefined;
|
|
412
411
|
quaternary?: boolean | undefined;
|
|
412
|
+
keyboard?: boolean | undefined;
|
|
413
413
|
iconPlacement?: "left" | "right" | undefined;
|
|
414
|
-
attrType?: "button" | "
|
|
414
|
+
attrType?: "button" | "submit" | "reset" | undefined;
|
|
415
415
|
nativeFocusBehavior?: boolean | undefined;
|
|
416
416
|
} | undefined;
|
|
417
417
|
negativeButtonProps?: {
|
|
418
418
|
type?: import("../../button/src/interface").Type | undefined;
|
|
419
|
-
tag?: keyof HTMLElementTagNameMap | undefined;
|
|
420
|
-
block?: boolean | undefined;
|
|
421
|
-
color?: string | undefined;
|
|
422
|
-
round?: boolean | undefined;
|
|
423
|
-
dashed?: boolean | undefined;
|
|
424
|
-
size?: import("../../button/src/interface").Size | undefined;
|
|
425
|
-
text?: boolean | undefined;
|
|
426
|
-
circle?: boolean | undefined;
|
|
427
|
-
disabled?: boolean | undefined;
|
|
428
419
|
onClick?: import("../../_utils").MaybeArray<(e: MouseEvent) => void> | undefined;
|
|
429
|
-
focusable?: boolean | undefined;
|
|
430
|
-
strong?: boolean | undefined;
|
|
431
420
|
themeOverrides?: {
|
|
432
421
|
heightTiny?: string | undefined;
|
|
433
422
|
heightSmall?: string | undefined;
|
|
@@ -754,22 +743,33 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
|
|
|
754
743
|
name: "common";
|
|
755
744
|
} | undefined;
|
|
756
745
|
} | undefined;
|
|
746
|
+
disabled?: boolean | undefined;
|
|
757
747
|
loading?: boolean | undefined;
|
|
758
748
|
bordered?: boolean | undefined;
|
|
759
|
-
|
|
749
|
+
tag?: keyof HTMLElementTagNameMap | undefined;
|
|
750
|
+
size?: import("../../button/src/interface").Size | undefined;
|
|
760
751
|
renderIcon?: (() => import("vue").VNodeChild) | undefined;
|
|
752
|
+
color?: string | undefined;
|
|
753
|
+
textColor?: string | undefined;
|
|
761
754
|
tertiary?: boolean | undefined;
|
|
762
755
|
ghost?: boolean | undefined;
|
|
756
|
+
round?: boolean | undefined;
|
|
757
|
+
strong?: boolean | undefined;
|
|
758
|
+
circle?: boolean | undefined;
|
|
759
|
+
text?: boolean | undefined;
|
|
760
|
+
focusable?: boolean | undefined;
|
|
761
|
+
dashed?: boolean | undefined;
|
|
762
|
+
block?: boolean | undefined;
|
|
763
763
|
secondary?: boolean | undefined;
|
|
764
764
|
loadingSkeleton?: boolean | undefined;
|
|
765
|
-
keyboard?: boolean | undefined;
|
|
766
765
|
quaternary?: boolean | undefined;
|
|
766
|
+
keyboard?: boolean | undefined;
|
|
767
767
|
iconPlacement?: "left" | "right" | undefined;
|
|
768
|
-
attrType?: "button" | "
|
|
768
|
+
attrType?: "button" | "submit" | "reset" | undefined;
|
|
769
769
|
nativeFocusBehavior?: boolean | undefined;
|
|
770
770
|
} | undefined;
|
|
771
|
-
onPositiveClick?: ((e: MouseEvent) => unknown) | undefined;
|
|
772
|
-
onNegativeClick?: ((e: MouseEvent) => unknown) | undefined;
|
|
771
|
+
onPositiveClick?: ((e: MouseEvent) => Promise<unknown> | unknown) | undefined;
|
|
772
|
+
onNegativeClick?: ((e: MouseEvent) => Promise<unknown> | unknown) | undefined;
|
|
773
773
|
blockScroll?: boolean | undefined;
|
|
774
774
|
onMaskClick?: ((e: MouseEvent) => void) | undefined;
|
|
775
775
|
maskClosable?: boolean | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.useDialog = useDialog;
|
|
4
|
+
exports.useDialogReactiveList = useDialogReactiveList;
|
|
4
5
|
const vue_1 = require("vue");
|
|
5
6
|
const context_1 = require("./context");
|
|
6
7
|
const _utils_1 = require("../../_utils");
|
|
@@ -11,7 +12,6 @@ function useDialog() {
|
|
|
11
12
|
}
|
|
12
13
|
return dialog;
|
|
13
14
|
}
|
|
14
|
-
exports.useDialog = useDialog;
|
|
15
15
|
function useDialogReactiveList() {
|
|
16
16
|
const dialogReactiveList = (0, vue_1.inject)(context_1.dialogReactiveListInjectionKey, null);
|
|
17
17
|
if (dialogReactiveList === null) {
|
|
@@ -19,4 +19,3 @@ function useDialogReactiveList() {
|
|
|
19
19
|
}
|
|
20
20
|
return dialogReactiveList;
|
|
21
21
|
}
|
|
22
|
-
exports.useDialogReactiveList = useDialogReactiveList;
|
|
@@ -5,7 +5,7 @@ import type { IconPlacement } from './interface';
|
|
|
5
5
|
declare const dialogProps: {
|
|
6
6
|
readonly icon: PropType<() => VNodeChild>;
|
|
7
7
|
readonly type: {
|
|
8
|
-
readonly type: PropType<"
|
|
8
|
+
readonly type: PropType<"info" | "success" | "warning" | "error" | "default">;
|
|
9
9
|
readonly default: "default";
|
|
10
10
|
};
|
|
11
11
|
readonly title: PropType<string | (() => VNodeChild)>;
|
|
@@ -33,4 +33,4 @@ declare const dialogProps: {
|
|
|
33
33
|
};
|
|
34
34
|
export type DialogProps = ExtractPublicPropTypes<typeof dialogProps>;
|
|
35
35
|
export { dialogProps };
|
|
36
|
-
export declare const dialogPropKeys: ("type" | "
|
|
36
|
+
export declare const dialogPropKeys: ("type" | "title" | "icon" | "body" | "positiveText" | "negativeText" | "loading" | "bordered" | "showIcon" | "content" | "action" | "closable" | "onClose" | "iconPlacement" | "positiveButtonProps" | "negativeButtonProps" | "onPositiveClick" | "onNegativeClick")[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createDiscreteApi =
|
|
3
|
+
exports.createDiscreteApi = createDiscreteApi;
|
|
4
4
|
const message_1 = require("../../message");
|
|
5
5
|
const dialog_1 = require("../../dialog");
|
|
6
6
|
const notification_1 = require("../../notification");
|
|
@@ -46,4 +46,3 @@ function createDiscreteApi(includes, { configProviderProps, messageProviderProps
|
|
|
46
46
|
});
|
|
47
47
|
return discreteApp;
|
|
48
48
|
}
|
|
49
|
-
exports.createDiscreteApi = createDiscreteApi;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createDiscreteApp =
|
|
3
|
+
exports.createDiscreteApp = createDiscreteApp;
|
|
4
4
|
const vue_1 = require("vue");
|
|
5
5
|
const config_provider_1 = require("../../config-provider");
|
|
6
6
|
const dialog_1 = require("../../dialog");
|
|
@@ -50,4 +50,3 @@ function createDiscreteApp({ providersAndProps, configProviderProps }) {
|
|
|
50
50
|
};
|
|
51
51
|
return Object.assign({ unmount }, extractedApi);
|
|
52
52
|
}
|
|
53
|
-
exports.createDiscreteApp = createDiscreteApp;
|
|
@@ -2,7 +2,7 @@ import { type PropType } from 'vue';
|
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare const dividerProps: {
|
|
4
4
|
readonly titlePlacement: {
|
|
5
|
-
readonly type: PropType<"left" | "
|
|
5
|
+
readonly type: PropType<"left" | "center" | "right">;
|
|
6
6
|
readonly default: "center";
|
|
7
7
|
};
|
|
8
8
|
readonly dashed: BooleanConstructor;
|
|
@@ -35,7 +35,7 @@ export declare const dividerProps: {
|
|
|
35
35
|
export type DividerProps = ExtractPublicPropTypes<typeof dividerProps>;
|
|
36
36
|
declare const _default: import("vue").DefineComponent<{
|
|
37
37
|
readonly titlePlacement: {
|
|
38
|
-
readonly type: PropType<"left" | "
|
|
38
|
+
readonly type: PropType<"left" | "center" | "right">;
|
|
39
39
|
readonly default: "center";
|
|
40
40
|
};
|
|
41
41
|
readonly dashed: BooleanConstructor;
|
|
@@ -79,7 +79,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
79
|
onRender: (() => void) | undefined;
|
|
80
80
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
81
|
readonly titlePlacement: {
|
|
82
|
-
readonly type: PropType<"left" | "
|
|
82
|
+
readonly type: PropType<"left" | "center" | "right">;
|
|
83
83
|
readonly default: "center";
|
|
84
84
|
};
|
|
85
85
|
readonly dashed: BooleanConstructor;
|
|
@@ -109,8 +109,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
fontSize: string;
|
|
110
110
|
}, any>>>;
|
|
111
111
|
}>>, {
|
|
112
|
-
readonly dashed: boolean;
|
|
113
112
|
readonly vertical: boolean;
|
|
113
|
+
readonly dashed: boolean;
|
|
114
114
|
readonly titlePlacement: "left" | "right" | "center";
|
|
115
115
|
}, {}>;
|
|
116
116
|
export default _default;
|
|
@@ -17,6 +17,10 @@ export declare const drawerProps: {
|
|
|
17
17
|
readonly type: PropType<Placement>;
|
|
18
18
|
readonly default: "right";
|
|
19
19
|
};
|
|
20
|
+
readonly rounded: {
|
|
21
|
+
readonly type: BooleanConstructor;
|
|
22
|
+
readonly default: false;
|
|
23
|
+
};
|
|
20
24
|
readonly maskClosable: {
|
|
21
25
|
readonly type: BooleanConstructor;
|
|
22
26
|
readonly default: true;
|
|
@@ -27,7 +31,7 @@ export declare const drawerProps: {
|
|
|
27
31
|
};
|
|
28
32
|
readonly to: PropType<string | HTMLElement>;
|
|
29
33
|
readonly displayDirective: {
|
|
30
|
-
readonly type: PropType<"
|
|
34
|
+
readonly type: PropType<"if" | "show">;
|
|
31
35
|
readonly default: "if";
|
|
32
36
|
};
|
|
33
37
|
readonly nativeScrollbar: {
|
|
@@ -201,6 +205,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
201
205
|
readonly type: PropType<Placement>;
|
|
202
206
|
readonly default: "right";
|
|
203
207
|
};
|
|
208
|
+
readonly rounded: {
|
|
209
|
+
readonly type: BooleanConstructor;
|
|
210
|
+
readonly default: false;
|
|
211
|
+
};
|
|
204
212
|
readonly maskClosable: {
|
|
205
213
|
readonly type: BooleanConstructor;
|
|
206
214
|
readonly default: true;
|
|
@@ -211,7 +219,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
211
219
|
};
|
|
212
220
|
readonly to: PropType<string | HTMLElement>;
|
|
213
221
|
readonly displayDirective: {
|
|
214
|
-
readonly type: PropType<"
|
|
222
|
+
readonly type: PropType<"if" | "show">;
|
|
215
223
|
readonly default: "if";
|
|
216
224
|
};
|
|
217
225
|
readonly nativeScrollbar: {
|
|
@@ -376,118 +384,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
376
384
|
handleMaskClick: (e: MouseEvent) => void;
|
|
377
385
|
handleEsc: (e: KeyboardEvent) => void;
|
|
378
386
|
mergedTheme: import("vue").ComputedRef<{
|
|
379
|
-
common:
|
|
380
|
-
scrollbarColor: string;
|
|
381
|
-
scrollbarColorHover: string;
|
|
382
|
-
scrollbarWidth: string;
|
|
383
|
-
scrollbarHeight: string;
|
|
384
|
-
scrollbarBorderRadius: string;
|
|
385
|
-
opacityDisabled: string;
|
|
386
|
-
brandPrimary50: string;
|
|
387
|
-
brandPrimary100: string;
|
|
388
|
-
brandPrimary200: string;
|
|
389
|
-
brandPrimary300: string;
|
|
390
|
-
brandPrimary400: string;
|
|
391
|
-
brandPrimary500: string;
|
|
392
|
-
brandPrimary550: string;
|
|
393
|
-
brandPrimary600: string;
|
|
394
|
-
brandSecondary500: string;
|
|
395
|
-
brandSecondary300: string;
|
|
396
|
-
brandSecondary600: string;
|
|
397
|
-
brandTertiary500: string;
|
|
398
|
-
brandTertiary300: string;
|
|
399
|
-
brandTertiary600: string;
|
|
400
|
-
brandQuaternary500: string;
|
|
401
|
-
brandQuaternary300: string;
|
|
402
|
-
brandQuaternary600: string;
|
|
403
|
-
brandQuinary500: string;
|
|
404
|
-
brandQuinary300: string;
|
|
405
|
-
brandQuinary600: string;
|
|
406
|
-
brandQuinary100: string;
|
|
407
|
-
surfacePrimary: string;
|
|
408
|
-
surfaceSecondary: string;
|
|
409
|
-
containerPrimary: string;
|
|
410
|
-
containerSecondary: string;
|
|
411
|
-
textPrimary: string;
|
|
412
|
-
textSecondary: string;
|
|
413
|
-
textTertiary: string;
|
|
414
|
-
textQuaternary: string;
|
|
415
|
-
textBrand: string;
|
|
416
|
-
elementsPrimary: string;
|
|
417
|
-
elementsSecondary: string;
|
|
418
|
-
elementsTertiary: string;
|
|
419
|
-
elementsQuaternary: string;
|
|
420
|
-
elementsQuinary: string;
|
|
421
|
-
elementsDarkQuinary: string;
|
|
422
|
-
elementsSenary: string;
|
|
423
|
-
elementsOnContainer: string;
|
|
424
|
-
transparencyPrimary: string;
|
|
425
|
-
transparencySecondary: string;
|
|
426
|
-
transparencyTertiary: string;
|
|
427
|
-
transparencyQuinary: string;
|
|
428
|
-
transparencyModal: string;
|
|
429
|
-
staticBlack: string;
|
|
430
|
-
staticDarkGrey: string;
|
|
431
|
-
staticWhite: string;
|
|
432
|
-
staticRed: string;
|
|
433
|
-
staticOrange: string;
|
|
434
|
-
staticGreen: string;
|
|
435
|
-
staticDeepBlue: string;
|
|
436
|
-
staticErrorAccent: string;
|
|
437
|
-
shadowDepth2: string;
|
|
438
|
-
shadowDepth: string;
|
|
439
|
-
fontFamily: string;
|
|
440
|
-
fontFamilyMono: string;
|
|
441
|
-
cubicBezierEaseInOut: string;
|
|
442
|
-
cubicBezierEaseOut: string;
|
|
443
|
-
cubicBezierEaseIn: string;
|
|
444
|
-
borderRadiusLarge: string;
|
|
445
|
-
borderRadius: string;
|
|
446
|
-
borderRadiusMedium: string;
|
|
447
|
-
borderRadiusSmall: string;
|
|
448
|
-
borderRadiusTiny: string;
|
|
449
|
-
heightMini: string;
|
|
450
|
-
heightTiny: string;
|
|
451
|
-
heightSmall: string;
|
|
452
|
-
heightMedium: string;
|
|
453
|
-
heightLarge: string;
|
|
454
|
-
heightHuge: string;
|
|
455
|
-
fontDisplayLarge: string;
|
|
456
|
-
fontDisplaySmall: string;
|
|
457
|
-
fontHeadingLarge: string;
|
|
458
|
-
fontHeadingMedium: string;
|
|
459
|
-
fontHeadingSmall: string;
|
|
460
|
-
fontTitleLarge: string;
|
|
461
|
-
fontTitleMedium: string;
|
|
462
|
-
fontTitleSmall: string;
|
|
463
|
-
fontBodyLarge: string;
|
|
464
|
-
fontBodyMedium: string;
|
|
465
|
-
fontBodySmall: string;
|
|
466
|
-
lineHeightDisplayLarge: string;
|
|
467
|
-
lineHeightDisplaySmall: string;
|
|
468
|
-
lineHeightHeadingLarge: string;
|
|
469
|
-
lineHeightHeadingMedium: string;
|
|
470
|
-
lineHeightHeadingSmall: string;
|
|
471
|
-
lineHeightTitleLarge: string;
|
|
472
|
-
lineHeightTitleMedium: string;
|
|
473
|
-
lineHeightTitleSmall: string;
|
|
474
|
-
lineHeightBodyLarge: string;
|
|
475
|
-
lineHeightBodyMedium: string;
|
|
476
|
-
lineHeightBodySmall: string;
|
|
477
|
-
fontWeight: string;
|
|
478
|
-
fontWeightStrong: string;
|
|
479
|
-
fontWeightBold: string;
|
|
480
|
-
iconSmall: string;
|
|
481
|
-
iconMedium: string;
|
|
482
|
-
iconLarge: string;
|
|
483
|
-
iconHuge: string;
|
|
484
|
-
closeSmall: string;
|
|
485
|
-
closeMedium: string;
|
|
486
|
-
closeLarge: string;
|
|
487
|
-
closeHuge: string;
|
|
488
|
-
closeBorderRadius: string;
|
|
489
|
-
name: "common";
|
|
490
|
-
};
|
|
387
|
+
common: import("../..").ThemeCommonVars;
|
|
491
388
|
self: {
|
|
492
389
|
color: string;
|
|
493
390
|
textColor: string;
|
|
@@ -586,6 +483,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
586
483
|
readonly type: PropType<Placement>;
|
|
587
484
|
readonly default: "right";
|
|
588
485
|
};
|
|
486
|
+
readonly rounded: {
|
|
487
|
+
readonly type: BooleanConstructor;
|
|
488
|
+
readonly default: false;
|
|
489
|
+
};
|
|
589
490
|
readonly maskClosable: {
|
|
590
491
|
readonly type: BooleanConstructor;
|
|
591
492
|
readonly default: true;
|
|
@@ -596,7 +497,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
596
497
|
};
|
|
597
498
|
readonly to: PropType<string | HTMLElement>;
|
|
598
499
|
readonly displayDirective: {
|
|
599
|
-
readonly type: PropType<"
|
|
500
|
+
readonly type: PropType<"if" | "show">;
|
|
600
501
|
readonly default: "if";
|
|
601
502
|
};
|
|
602
503
|
readonly nativeScrollbar: {
|
|
@@ -755,14 +656,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
755
656
|
}, any>;
|
|
756
657
|
}>>>;
|
|
757
658
|
}>>, {
|
|
758
|
-
readonly size: DrawerSizes;
|
|
759
|
-
readonly show: boolean;
|
|
760
659
|
readonly disabled: boolean;
|
|
761
|
-
readonly autoFocus: boolean;
|
|
762
660
|
readonly loading: boolean;
|
|
763
|
-
readonly
|
|
661
|
+
readonly size: DrawerSizes;
|
|
662
|
+
readonly show: boolean;
|
|
764
663
|
readonly displayDirective: "show" | "if";
|
|
664
|
+
readonly placement: Placement;
|
|
665
|
+
readonly autoFocus: boolean;
|
|
765
666
|
readonly resizable: boolean;
|
|
667
|
+
readonly rounded: boolean;
|
|
766
668
|
readonly trapFocus: boolean;
|
|
767
669
|
readonly blockScroll: boolean;
|
|
768
670
|
readonly maskClosable: boolean;
|
package/lib/drawer/src/Drawer.js
CHANGED
|
@@ -30,6 +30,9 @@ exports.drawerProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
|
|
|
30
30
|
}, placement: {
|
|
31
31
|
type: String,
|
|
32
32
|
default: 'right'
|
|
33
|
+
}, rounded: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: false
|
|
33
36
|
}, maskClosable: {
|
|
34
37
|
type: Boolean,
|
|
35
38
|
default: true
|
|
@@ -253,7 +256,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
253
256
|
`${mergedClsPrefix}-drawer-mask--invisible`
|
|
254
257
|
], onClick: this.handleMaskClick })) : null
|
|
255
258
|
})) : null,
|
|
256
|
-
(0, vue_1.h)(DrawerBodyWrapper_1.default, Object.assign({}, this.$attrs, { class: [this.drawerClass, this.$attrs.class], style: [this.mergedBodyStyle, this.$attrs.style], blockScroll: this.blockScroll, contentStyle: this.contentStyle, placement: this.placement, scrollbarProps: this.scrollbarProps, show: this.show, displayDirective: this.displayDirective, nativeScrollbar: this.nativeScrollbar, onAfterEnter: this.onAfterEnter, onAfterLeave: this.onAfterLeave, trapFocus: this.trapFocus, autoFocus: this.autoFocus, resizable: this.resizable, showMask: this.showMask, onEsc: this.handleEsc, onClickoutside: this.handleMaskClick }), this.$slots)), [[vdirs_1.zindexable, { zIndex: this.zIndex, enabled: this.show }]]);
|
|
259
|
+
(0, vue_1.h)(DrawerBodyWrapper_1.default, Object.assign({}, this.$attrs, { class: [this.drawerClass, this.$attrs.class], style: [this.mergedBodyStyle, this.$attrs.style], blockScroll: this.blockScroll, contentStyle: this.contentStyle, placement: this.placement, rounded: this.rounded, scrollbarProps: this.scrollbarProps, show: this.show, displayDirective: this.displayDirective, nativeScrollbar: this.nativeScrollbar, onAfterEnter: this.onAfterEnter, onAfterLeave: this.onAfterLeave, trapFocus: this.trapFocus, autoFocus: this.autoFocus, resizable: this.resizable, showMask: this.showMask, onEsc: this.handleEsc, onClickoutside: this.handleMaskClick }), this.$slots)), [[vdirs_1.zindexable, { zIndex: this.zIndex, enabled: this.show }]]);
|
|
257
260
|
}
|
|
258
261
|
}));
|
|
259
262
|
}
|