bkui-vue 2.0.1-beta.11 → 2.0.1-beta.111
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/README.md +15 -0
- package/dist/index.cjs.js +142 -168
- package/dist/index.esm.js +29125 -32074
- package/dist/index.umd.js +142 -168
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -0
- package/lib/affix/index.d.ts +111 -57
- package/lib/affix/index.js +24 -24
- package/lib/alert/alert.d.ts +5 -12
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.d.ts +131 -93
- package/lib/alert/index.js +25 -25
- package/lib/animate-number/index.d.ts +96 -33
- package/lib/animate-number/index.js +7 -8
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +1 -0
- package/lib/backtop/index.d.ts +118 -70
- package/lib/backtop/index.js +16 -17
- package/lib/badge/badge.variable.css +1 -0
- package/lib/badge/index.d.ts +152 -119
- package/lib/badge/index.js +20 -20
- package/lib/breadcrumb/breadcrumb.variable.css +1 -0
- package/lib/breadcrumb/index.d.ts +119 -67
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.css +188 -144
- package/lib/button/button.d.ts +10 -10
- package/lib/button/button.less +74 -71
- package/lib/button/button.variable.css +189 -144
- package/lib/button/index.d.ts +160 -124
- package/lib/button/index.js +26 -26
- package/lib/card/card.variable.css +1 -0
- package/lib/card/index.d.ts +157 -128
- package/lib/card/index.js +22 -20
- package/lib/cascader/cascader-panel.d.ts +6 -1
- package/lib/cascader/cascader.css +4 -0
- package/lib/cascader/cascader.d.ts +8 -4
- package/lib/cascader/cascader.less +5 -0
- package/lib/cascader/cascader.variable.css +5 -0
- package/lib/cascader/index.d.ts +355 -393
- package/lib/cascader/index.js +377 -308
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +0 -16
- package/lib/checkbox/checkbox.css +8 -0
- package/lib/checkbox/checkbox.d.ts +40 -8
- package/lib/checkbox/checkbox.less +12 -0
- package/lib/checkbox/checkbox.variable.css +9 -0
- package/lib/checkbox/index.d.ts +194 -127
- package/lib/checkbox/index.js +65 -52
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +1 -0
- package/lib/code-diff/index.d.ts +82 -65
- package/lib/code-diff/index.js +446 -389
- package/lib/collapse/collapse-panel.d.ts +5 -5
- package/lib/collapse/collapse.variable.css +1 -0
- package/lib/collapse/index.d.ts +180 -161
- package/lib/collapse/index.js +31 -30
- package/lib/collapse/props.d.ts +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +1 -0
- package/lib/collapse-transition/index.d.ts +94 -19
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/color-picker.d.ts +17 -1
- package/lib/color-picker/color-picker.variable.css +1 -0
- package/lib/color-picker/index.d.ts +168 -124
- package/lib/color-picker/index.js +93 -88
- package/lib/components.d.ts +30 -32
- package/lib/components.js +29 -31
- package/lib/config-provider/config-provider.variable.css +1 -0
- package/lib/config-provider/index.d.ts +228 -161
- package/lib/config-provider/index.js +17 -17
- package/lib/container/container.d.ts +1 -1
- package/lib/container/container.variable.css +1 -0
- package/lib/container/index.d.ts +85 -74
- package/lib/container/index.js +32 -35
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +2 -2
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/date-picker.d.ts +7 -15
- package/lib/date-picker/date-picker.variable.css +1 -0
- package/lib/date-picker/index.d.ts +356 -399
- package/lib/date-picker/index.js +343 -297
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +6 -6
- package/lib/date-picker/panel/date.d.ts +2 -2
- package/lib/date-picker/panel/time-range.d.ts +3 -12
- package/lib/date-picker/panel/time.d.ts +3 -12
- package/lib/date-picker/props.d.ts +1 -5
- package/lib/date-picker/time-picker.d.ts +7 -14
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +47 -31
- package/lib/dialog/dialog.variable.css +1 -0
- package/lib/dialog/index.d.ts +309 -305
- package/lib/dialog/index.js +252 -249
- package/lib/dialog/props.d.ts +20 -13
- package/lib/directives/index.d.ts +4 -3
- package/lib/directives/index.js +219 -197
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -4
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +1 -0
- package/lib/divider/index.d.ts +116 -62
- package/lib/divider/index.js +4 -5
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +1 -1
- package/lib/dropdown/dropdown.d.ts +7 -7
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.d.ts +144 -102
- package/lib/dropdown/index.js +32 -32
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +1 -0
- package/lib/exception/index.d.ts +107 -46
- package/lib/exception/index.js +31 -31
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
- package/lib/fixed-navbar/index.d.ts +113 -59
- package/lib/fixed-navbar/index.js +4 -5
- package/lib/form/form-item.d.ts +7 -19
- package/lib/form/form.d.ts +3 -3
- package/lib/form/form.variable.css +1 -0
- package/lib/form/index.d.ts +139 -94
- package/lib/form/index.js +44 -42
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/angle-double-down-line.js +17 -17
- package/lib/icon/angle-double-left-line.js +17 -17
- package/lib/icon/angle-double-left.js +17 -17
- package/lib/icon/angle-double-right-line.js +17 -17
- package/lib/icon/angle-double-right.js +17 -17
- package/lib/icon/angle-double-up-line.js +17 -17
- package/lib/icon/angle-down-fill.js +17 -17
- package/lib/icon/angle-down-line.js +17 -17
- package/lib/icon/angle-down.js +17 -17
- package/lib/icon/angle-left.js +17 -17
- package/lib/icon/angle-right.js +17 -17
- package/lib/icon/angle-up-fill.js +17 -17
- package/lib/icon/angle-up.js +17 -17
- package/lib/icon/archive-fill.js +17 -17
- package/lib/icon/arrows-left.js +17 -17
- package/lib/icon/arrows-right.js +17 -17
- package/lib/icon/assistant.js +17 -17
- package/lib/icon/audio-fill.js +17 -17
- package/lib/icon/bk.js +17 -17
- package/lib/icon/circle.js +17 -17
- package/lib/icon/close-line.js +17 -17
- package/lib/icon/close.js +17 -17
- package/lib/icon/code.js +17 -17
- package/lib/icon/cog-shape.js +17 -17
- package/lib/icon/collapse-left.js +17 -17
- package/lib/icon/copy-shape.js +17 -17
- package/lib/icon/copy.js +17 -17
- package/lib/icon/data-shape.js +17 -17
- package/lib/icon/del.js +17 -17
- package/lib/icon/doc-fill.js +17 -17
- package/lib/icon/done.js +17 -17
- package/lib/icon/down-shape.js +17 -17
- package/lib/icon/down-small.js +17 -17
- package/lib/icon/edit-line.js +17 -17
- package/lib/icon/ellipsis.js +17 -17
- package/lib/icon/enlarge-line.js +17 -17
- package/lib/icon/error.js +17 -17
- package/lib/icon/excel-fill.js +17 -17
- package/lib/icon/exclamation-circle-shape.js +17 -17
- package/lib/icon/eye.js +17 -17
- package/lib/icon/filliscreen-line.js +17 -17
- package/lib/icon/fix-line.js +17 -17
- package/lib/icon/fix-shape.js +17 -17
- package/lib/icon/folder-open.js +17 -17
- package/lib/icon/folder-shape-open.js +17 -17
- package/lib/icon/folder-shape.js +17 -17
- package/lib/icon/folder.js +17 -17
- package/lib/icon/funnel.js +17 -17
- package/lib/icon/grag-fill.js +17 -17
- package/lib/icon/help-document-fill.js +17 -17
- package/lib/icon/help-fill.js +17 -17
- package/lib/icon/help.js +17 -17
- package/lib/icon/image-fill.js +17 -17
- package/lib/icon/img-error.js +17 -17
- package/lib/icon/img-placehoulder.js +17 -17
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/icon/info-line.js +17 -17
- package/lib/icon/info.js +17 -17
- package/lib/icon/left-shape.js +17 -17
- package/lib/icon/left-turn-line.js +17 -17
- package/lib/icon/loading.js +17 -17
- package/lib/icon/narrow-line.js +17 -17
- package/lib/icon/original.js +17 -17
- package/lib/icon/pdf-fill.js +17 -17
- package/lib/icon/play-shape.js +17 -17
- package/lib/icon/plus.js +17 -17
- package/lib/icon/ppt-fill.js +17 -17
- package/lib/icon/qq.js +17 -17
- package/lib/icon/right-shape.js +17 -17
- package/lib/icon/right-turn-line.js +17 -17
- package/lib/icon/search.js +17 -17
- package/lib/icon/share.js +17 -17
- package/lib/icon/spinner.js +17 -17
- package/lib/icon/success.js +17 -17
- package/lib/icon/switcher-loading.js +17 -17
- package/lib/icon/text-all.js +17 -17
- package/lib/icon/text-file.js +17 -17
- package/lib/icon/text-fill.js +17 -17
- package/lib/icon/transfer.js +17 -17
- package/lib/icon/tree-application-shape.js +17 -17
- package/lib/icon/unfull-screen.js +17 -17
- package/lib/icon/unvisible.js +17 -17
- package/lib/icon/up-shape.js +17 -17
- package/lib/icon/upload.js +17 -17
- package/lib/icon/video-fill.js +17 -17
- package/lib/icon/warn.js +17 -17
- package/lib/icon/weixin-pro.js +17 -17
- package/lib/icon/weixin.js +17 -17
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +1 -0
- package/lib/image/image.variable.css +1 -0
- package/lib/image/index.d.ts +149 -113
- package/lib/image/index.js +46 -48
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- package/lib/info-box/index.js +250 -250
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/info-box/info-box.variable.css +1 -0
- package/lib/input/index.d.ts +299 -332
- package/lib/input/index.js +110 -561
- package/lib/input/input.css +23 -1
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.less +30 -1
- package/lib/input/input.variable.css +24 -1
- package/lib/link/index.d.ts +127 -78
- package/lib/link/index.js +5 -5
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +1 -0
- package/lib/loading/index.d.ts +162 -135
- package/lib/loading/index.js +43 -40
- package/lib/loading/loading.d.ts +9 -9
- package/lib/loading/loading.variable.css +1 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.d.ts +131 -51
- package/lib/menu/index.js +46 -27
- package/lib/menu/menu-group.d.ts +9 -0
- package/lib/menu/menu-item.d.ts +9 -0
- package/lib/menu/menu.css +29 -17
- package/lib/menu/menu.less +33 -18
- package/lib/menu/menu.variable.css +30 -17
- package/lib/menu/submenu.d.ts +1 -0
- package/lib/menu/submenu.variable.css +1 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +43 -42
- package/lib/message/message.css +2 -1
- package/lib/message/message.less +3 -2
- package/lib/message/message.variable.css +3 -1
- package/lib/message/messageConstructor.d.ts +21 -21
- package/lib/modal/index.d.ts +214 -159
- package/lib/modal/index.js +68 -47
- package/lib/modal/modal.d.ts +24 -8
- package/lib/modal/modal.variable.css +1 -0
- package/lib/modal/props.mixin.d.ts +10 -3
- package/lib/navigation/index.d.ts +188 -152
- package/lib/navigation/index.js +27 -29
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +1 -0
- package/lib/notify/index.js +25 -24
- package/lib/notify/notify.variable.css +1 -0
- package/lib/notify/notifyConstructor.d.ts +5 -5
- package/lib/overflow-title/components/overflow-title.d.ts +45 -16
- package/lib/overflow-title/index.d.ts +298 -328
- package/lib/overflow-title/index.js +85 -28
- package/lib/overflow-title/overflow-title.css +3 -0
- package/lib/overflow-title/overflow-title.less +4 -0
- package/lib/overflow-title/overflow-title.variable.css +3 -0
- package/lib/overflow-title/props.d.ts +36 -21
- package/lib/pagination/index.d.ts +198 -203
- package/lib/pagination/index.js +128 -68
- package/lib/pagination/pagination.css +8 -8
- package/lib/pagination/pagination.d.ts +0 -13
- package/lib/pagination/pagination.less +14 -13
- package/lib/pagination/pagination.variable.css +9 -8
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +328 -442
- package/lib/pop-confirm/index.d.ts +162 -148
- package/lib/pop-confirm/index.js +40 -35
- package/lib/pop-confirm/pop-confirm.css +3 -1
- package/lib/pop-confirm/pop-confirm.d.ts +10 -20
- package/lib/pop-confirm/pop-confirm.less +3 -1
- package/lib/pop-confirm/pop-confirm.variable.css +4 -1
- package/lib/pop-confirm/props.d.ts +8 -11
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +6 -3
- package/lib/popover/index.d.ts +411 -380
- package/lib/popover/index.js +328 -442
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +51 -8
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover/props.d.ts +28 -4
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +2 -1
- package/lib/popover/utils.d.ts +2 -0
- package/lib/popover2/index.d.ts +83 -8
- package/lib/popover2/index.js +2 -2
- package/lib/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.d.ts +137 -93
- package/lib/process/index.js +229 -229
- package/lib/process/process.variable.css +1 -0
- package/lib/progress/index.d.ts +192 -183
- package/lib/progress/index.js +31 -33
- package/lib/progress/progress.d.ts +9 -9
- package/lib/progress/progress.variable.css +1 -0
- package/lib/radio/index.d.ts +155 -106
- package/lib/radio/index.js +76 -63
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +1 -0
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.d.ts +112 -55
- package/lib/rate/index.js +28 -27
- package/lib/rate/rate.variable.css +1 -0
- package/lib/resize-layout/index.d.ts +204 -157
- package/lib/resize-layout/index.js +54 -34
- package/lib/resize-layout/resize-layout.d.ts +18 -7
- package/lib/resize-layout/resize-layout.variable.css +1 -0
- package/lib/scrollbar/css/scrollbar.css +109 -0
- package/lib/scrollbar/css/scrollbar.less +139 -0
- package/lib/scrollbar/{scrollbar.variable.css → css/scrollbar.variable.css} +96 -61
- package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
- package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
- package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
- package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
- package/lib/scrollbar/handlers/touch.d.ts +4 -0
- package/lib/scrollbar/helper/class-names.d.ts +21 -0
- package/lib/scrollbar/helper/css.d.ts +3 -0
- package/lib/scrollbar/helper/dom.d.ts +4 -0
- package/lib/scrollbar/helper/event-manager.d.ts +20 -0
- package/lib/scrollbar/helper/util.d.ts +11 -0
- package/lib/scrollbar/index.d.ts +133 -13
- package/lib/scrollbar/index.js +1380 -18482
- package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
- package/lib/scrollbar/update-geometry.d.ts +8 -0
- package/lib/search-select/index.d.ts +946 -701
- package/lib/search-select/index.js +644 -486
- package/lib/search-select/input.d.ts +20 -8
- package/lib/search-select/menu.d.ts +13 -1
- package/lib/search-select/search-select.css +45 -47
- package/lib/search-select/search-select.d.ts +207 -160
- package/lib/search-select/search-select.less +41 -41
- package/lib/search-select/search-select.variable.css +46 -47
- package/lib/search-select/selected.d.ts +209 -127
- package/lib/search-select/utils.d.ts +6 -6
- package/lib/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +1457 -1384
- package/lib/select/index.js +603 -477
- package/lib/select/option.d.ts +6 -6
- package/lib/select/select.css +9 -4
- package/lib/select/select.d.ts +285 -148
- package/lib/select/select.less +11 -4
- package/lib/select/select.variable.css +10 -4
- package/lib/select/selectTagInput.d.ts +9 -8
- package/lib/select/type.d.ts +10 -11
- package/lib/shared/frame-throttle.d.ts +15 -0
- package/lib/shared/index.d.ts +2 -1
- package/lib/shared/index.js +166 -101
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +50 -50
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +220 -182
- package/lib/sideslider/index.js +239 -237
- package/lib/sideslider/sideslider.css +7 -8
- package/lib/sideslider/sideslider.d.ts +24 -8
- package/lib/sideslider/sideslider.less +7 -8
- package/lib/sideslider/sideslider.variable.css +8 -8
- package/lib/slider/index.d.ts +210 -214
- package/lib/slider/index.js +246 -249
- package/lib/slider/slider.variable.css +1 -0
- package/lib/steps/index.d.ts +155 -131
- package/lib/steps/index.js +234 -234
- package/lib/steps/steps.d.ts +8 -18
- package/lib/steps/steps.variable.css +1 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.variable.css +1 -0
- package/lib/styles/mixins/popper.variable.css +1 -0
- package/lib/styles/mixins/scroll.variable.css +1 -0
- package/lib/styles/reset.variable.css +1 -0
- package/lib/styles/themes/themes.less +1 -0
- package/lib/swiper/index.d.ts +127 -81
- package/lib/swiper/index.js +23 -23
- package/lib/swiper/swiper.variable.css +1 -0
- package/lib/switcher/index.d.ts +179 -157
- package/lib/switcher/index.js +24 -22
- package/lib/switcher/switcher.d.ts +9 -9
- package/lib/switcher/switcher.variable.css +1 -0
- package/lib/tab/index.d.ts +220 -258
- package/lib/tab/index.js +79 -69
- package/lib/tab/props.d.ts +27 -52
- package/lib/tab/tab-nav.d.ts +26 -66
- package/lib/tab/tab-panel.d.ts +27 -5
- package/lib/tab/tab.css +64 -0
- package/lib/tab/tab.d.ts +10 -54
- package/lib/tab/tab.less +91 -4
- package/lib/tab/tab.variable.css +65 -0
- package/lib/table/components/ghost-body.d.ts +2 -0
- package/lib/table/components/table-cell.d.ts +22 -0
- package/lib/table/components/table-column.d.ts +24 -127
- package/lib/table/const.d.ts +23 -10
- package/lib/table/events.d.ts +16 -112
- package/lib/table/hooks/use-cell.d.ts +20 -0
- package/lib/table/hooks/use-checkbox-tooltip.d.ts +11 -0
- package/lib/table/hooks/use-column-resize.d.ts +7 -0
- package/lib/table/hooks/use-column-template.d.ts +5 -0
- package/lib/table/hooks/use-columns.d.ts +69 -0
- package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
- package/lib/table/hooks/use-fixed-column.d.ts +10 -0
- package/lib/table/hooks/use-head.d.ts +16 -0
- package/lib/table/hooks/use-layout.d.ts +25 -0
- package/lib/table/hooks/use-pagination.d.ts +16 -0
- package/lib/table/hooks/use-render.d.ts +21 -0
- package/lib/table/hooks/use-rows.d.ts +30 -0
- package/lib/table/hooks/use-settings.d.ts +138 -0
- package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
- package/lib/table/index.d.ts +412 -1029
- package/lib/table/index.js +4698 -20825
- package/lib/table/plugins/head-filter.css +5 -0
- package/lib/table/plugins/head-filter.d.ts +2 -1
- package/lib/table/plugins/head-filter.less +4 -0
- package/lib/table/plugins/head-filter.variable.css +6 -0
- package/lib/table/plugins/head-sort.variable.css +1 -0
- package/lib/table/plugins/settings.css +11 -1
- package/lib/table/plugins/settings.less +12 -1
- package/lib/table/plugins/settings.variable.css +12 -1
- package/lib/table/props.d.ts +127 -62
- package/lib/table/table.css +503 -302
- package/lib/table/table.d.ts +51 -185
- package/lib/table/table.less +244 -112
- package/lib/table/table.variable.css +504 -302
- package/lib/table/utils.d.ts +44 -21
- package/lib/table-column/index.d.ts +156 -369
- package/lib/table-column/index.js +143 -62
- package/lib/tag/index.d.ts +147 -100
- package/lib/tag/index.js +21 -22
- package/lib/tag/tag.css +1 -1
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.less +1 -1
- package/lib/tag/tag.variable.css +2 -1
- package/lib/tag-input/common.d.ts +2 -2
- package/lib/tag-input/index.d.ts +595 -712
- package/lib/tag-input/index.js +150 -17391
- package/lib/tag-input/tag-input.css +12 -9
- package/lib/tag-input/tag-input.d.ts +60 -24
- package/lib/tag-input/tag-input.less +13 -9
- package/lib/tag-input/tag-input.variable.css +13 -9
- package/lib/tag-input/tag-props.d.ts +25 -2
- package/lib/time-picker/index.d.ts +391 -455
- package/lib/time-picker/time-picker.variable.css +1 -0
- package/lib/timeline/index.d.ts +131 -64
- package/lib/timeline/index.js +8 -8
- package/lib/timeline/timeline.variable.css +1 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.d.ts +206 -191
- package/lib/transfer/index.js +3 -5
- package/lib/transfer/transfer.variable.css +1 -0
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +329 -357
- package/lib/tree/index.js +176 -17389
- package/lib/tree/props.d.ts +18 -11
- package/lib/tree/tree.css +103 -69
- package/lib/tree/tree.d.ts +16 -10
- package/lib/tree/tree.variable.css +104 -69
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +10 -9
- package/lib/tree/use-node-async.d.ts +2 -1
- package/lib/tree/use-node-attribute.d.ts +42 -34
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +8 -5
- package/lib/tree/util.d.ts +21 -21
- package/lib/upload/index.d.ts +294 -286
- package/lib/upload/index.js +398 -316
- package/lib/upload/props.d.ts +11 -2
- package/lib/upload/upload-list.d.ts +11 -1
- package/lib/upload/upload-trigger.d.ts +11 -1
- package/lib/upload/upload.d.ts +25 -4
- package/lib/upload/upload.type.d.ts +12 -6
- package/lib/upload/upload.variable.css +1 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +247 -373
- package/lib/virtual-render/index.js +223 -162
- package/lib/virtual-render/props.d.ts +2 -9
- package/lib/virtual-render/use-fix-top.d.ts +1 -1
- package/lib/virtual-render/use-scrollbar.d.ts +4 -17
- package/lib/virtual-render/v-virtual-render.d.ts +7 -1
- package/lib/virtual-render/virtual-render.css +96 -70
- package/lib/virtual-render/virtual-render.d.ts +7 -23
- package/lib/virtual-render/virtual-render.less +2 -11
- package/lib/virtual-render/virtual-render.variable.css +96 -69
- package/lib/volar.components.d.ts +2 -0
- package/package.json +17 -55
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -75
- package/lib/scrollbar/scrollbar.less +0 -94
- package/lib/table/plugins/col-group.d.ts +0 -38
- package/lib/table/plugins/settings.d.ts +0 -16
- package/lib/table/plugins/use-active-columns.d.ts +0 -16
- package/lib/table/plugins/use-column-resize.d.ts +0 -35
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-fixed-column.d.ts +0 -27
- package/lib/table/plugins/use-head-cell.d.ts +0 -7
- package/lib/table/plugins/use-pagination.d.ts +0 -23
- package/lib/table/use-attributes.d.ts +0 -62
- package/lib/table/use-column.d.ts +0 -275
- package/lib/table/use-common.d.ts +0 -1679
- package/lib/table/use-render.d.ts +0 -11
- /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -1,13 +1,17 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
2
|
declare enum MessageContentType {
|
3
|
-
|
4
|
-
|
3
|
+
JSON = "json",
|
4
|
+
KEY_VALUE = "key-value"
|
5
5
|
}
|
6
6
|
declare enum IMessageActionType {
|
7
7
|
/**
|
8
8
|
* 联系助手:默认直接拉起企业微信与助手的聊天,需要在 message.assistant 配置对应的企微群ID
|
9
9
|
*/
|
10
10
|
ASSISTANT = "assistant",
|
11
|
+
/**
|
12
|
+
* 关闭:点击关闭,Message 消失
|
13
|
+
*/
|
14
|
+
CLOSE = "close",
|
11
15
|
/**
|
12
16
|
* 展开详情:展开面向开发的详情
|
13
17
|
*/
|
@@ -15,11 +19,7 @@ declare enum IMessageActionType {
|
|
15
19
|
/**
|
16
20
|
* 图钉按钮:点击后,Message 不会自动消失
|
17
21
|
*/
|
18
|
-
FIX = "fix"
|
19
|
-
/**
|
20
|
-
* 关闭:点击关闭,Message 消失
|
21
|
-
*/
|
22
|
-
CLOSE = "close"
|
22
|
+
FIX = "fix"
|
23
23
|
}
|
24
24
|
type IMessageAction = {
|
25
25
|
/**
|
@@ -34,13 +34,13 @@ type IMessageAction = {
|
|
34
34
|
/**
|
35
35
|
* 需要展示的ICON,如果不设置显示默认
|
36
36
|
*/
|
37
|
-
icon?: () => VNode |
|
37
|
+
icon?: () => VNode | VNode | string;
|
38
38
|
/**
|
39
39
|
* 鼠标点击事件,如果返回false则阻止默认点击行为
|
40
40
|
* 如果返回其他,默认行为不会阻止
|
41
41
|
* @returns
|
42
42
|
*/
|
43
|
-
onClick?: (...args: any[]) =>
|
43
|
+
onClick?: (...args: any[]) => boolean | void;
|
44
44
|
/**
|
45
45
|
* 自定义渲染 & 事件处理
|
46
46
|
* 如果设置了render则整个渲染都需要自己处理,默认渲染将会被阻止
|
@@ -67,7 +67,7 @@ export type IMessage = {
|
|
67
67
|
/**
|
68
68
|
* 错误码
|
69
69
|
*/
|
70
|
-
code:
|
70
|
+
code: number | string;
|
71
71
|
/**
|
72
72
|
* 错误概述
|
73
73
|
*/
|
@@ -79,7 +79,7 @@ export type IMessage = {
|
|
79
79
|
/**
|
80
80
|
* 详情
|
81
81
|
*/
|
82
|
-
details:
|
82
|
+
details: Array<Record<string, any> | boolean | number | string> | Record<string, any> | string;
|
83
83
|
/**
|
84
84
|
* 助手
|
85
85
|
*/
|
@@ -99,8 +99,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
99
99
|
default: string;
|
100
100
|
};
|
101
101
|
message: import("vue-types").VueTypeDef<IMessageProp>;
|
102
|
-
theme: import("vue-types").VueTypeDef<"error" | "
|
103
|
-
default: "error" | "
|
102
|
+
theme: import("vue-types").VueTypeDef<"error" | "primary" | "success" | "warning"> & {
|
103
|
+
default: "error" | "primary" | "success" | "warning";
|
104
104
|
};
|
105
105
|
delay: import("vue-types").VueTypeValidableDef<number> & {
|
106
106
|
default: number;
|
@@ -159,14 +159,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
159
159
|
handleMouseenter: (_e: MouseEvent) => void;
|
160
160
|
handleMouseleave: (_e: MouseEvent) => void;
|
161
161
|
renderMessageActions: () => unknown[];
|
162
|
-
refJsonContent:
|
163
|
-
refCopyStatus:
|
164
|
-
refCopyMsgDiv:
|
162
|
+
refJsonContent: any;
|
163
|
+
refCopyStatus: any;
|
164
|
+
refCopyMsgDiv: any;
|
165
165
|
toolOperation: {
|
166
166
|
isFix: boolean;
|
167
167
|
isDetailShow: boolean;
|
168
168
|
};
|
169
|
-
copyStatus:
|
169
|
+
copyStatus: any;
|
170
170
|
t: import("vue").ComputedRef<{
|
171
171
|
assistant: string;
|
172
172
|
details: string;
|
@@ -182,8 +182,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
182
182
|
default: string;
|
183
183
|
};
|
184
184
|
message: import("vue-types").VueTypeDef<IMessageProp>;
|
185
|
-
theme: import("vue-types").VueTypeDef<"error" | "
|
186
|
-
default: "error" | "
|
185
|
+
theme: import("vue-types").VueTypeDef<"error" | "primary" | "success" | "warning"> & {
|
186
|
+
default: "error" | "primary" | "success" | "warning";
|
187
187
|
};
|
188
188
|
delay: import("vue-types").VueTypeValidableDef<number> & {
|
189
189
|
default: number;
|
@@ -226,13 +226,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
226
226
|
}, {
|
227
227
|
maxWidth: string | number;
|
228
228
|
extCls: string;
|
229
|
-
theme: "error" | "
|
229
|
+
theme: "error" | "primary" | "success" | "warning";
|
230
230
|
id: string;
|
231
231
|
onClose: (...args: any[]) => any;
|
232
|
+
minWidth: string | number;
|
232
233
|
delay: number;
|
233
234
|
offsetY: number;
|
234
235
|
spacing: number;
|
235
236
|
dismissable: boolean;
|
236
|
-
minWidth: string | number;
|
237
237
|
}, {}>;
|
238
238
|
export default _default;
|
package/lib/modal/index.d.ts
CHANGED
@@ -1,6 +1,189 @@
|
|
1
1
|
import { propsMixin } from './props.mixin';
|
2
2
|
declare const BkModal: {
|
3
|
-
new (...args: any[]):
|
3
|
+
new (...args: any[]): {
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
5
|
+
$data: {};
|
6
|
+
$props: {
|
7
|
+
extCls?: string;
|
8
|
+
left?: string;
|
9
|
+
top?: string;
|
10
|
+
isShow?: boolean;
|
11
|
+
renderDirective?: "if" | "show";
|
12
|
+
backgroundColor?: string;
|
13
|
+
transfer?: string | boolean | HTMLElement;
|
14
|
+
fullscreen?: boolean;
|
15
|
+
showMask?: boolean;
|
16
|
+
closeIcon?: boolean;
|
17
|
+
escClose?: boolean;
|
18
|
+
quickClose?: boolean;
|
19
|
+
animateType?: string;
|
20
|
+
beforeClose?: () => boolean | Promise<boolean>;
|
21
|
+
class?: unknown;
|
22
|
+
style?: unknown;
|
23
|
+
readonly width?: string | number;
|
24
|
+
ref?: import("vue").VNodeRef;
|
25
|
+
readonly zIndex?: string | number;
|
26
|
+
key?: string | number | symbol;
|
27
|
+
ref_for?: boolean;
|
28
|
+
ref_key?: string;
|
29
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
30
|
+
[key: string]: any;
|
31
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
32
|
+
[key: string]: any;
|
33
|
+
}>) => void)[];
|
34
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
35
|
+
[key: string]: any;
|
36
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
37
|
+
[key: string]: any;
|
38
|
+
}>) => void)[];
|
39
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
40
|
+
[key: string]: any;
|
41
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
42
|
+
[key: string]: any;
|
43
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
44
|
+
[key: string]: any;
|
45
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
46
|
+
[key: string]: any;
|
47
|
+
}>) => void)[];
|
48
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
51
|
+
[key: string]: any;
|
52
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
53
|
+
[key: string]: any;
|
54
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
55
|
+
[key: string]: any;
|
56
|
+
}>) => void)[];
|
57
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
58
|
+
[key: string]: any;
|
59
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
60
|
+
[key: string]: any;
|
61
|
+
}>) => void)[];
|
62
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
63
|
+
[key: string]: any;
|
64
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
65
|
+
[key: string]: any;
|
66
|
+
}>) => void)[];
|
67
|
+
onClose?: (...args: any[]) => any;
|
68
|
+
onHidden?: (...args: any[]) => any;
|
69
|
+
onShown?: (...args: any[]) => any;
|
70
|
+
"onQuick-close"?: (...args: any[]) => any;
|
71
|
+
};
|
72
|
+
$attrs: {
|
73
|
+
[x: string]: unknown;
|
74
|
+
};
|
75
|
+
$refs: {
|
76
|
+
[x: string]: unknown;
|
77
|
+
};
|
78
|
+
$slots: Readonly<{
|
79
|
+
[name: string]: import("vue").Slot<any>;
|
80
|
+
}>;
|
81
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
82
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
83
|
+
$emit: (event: "close" | "hidden" | "shown" | "quick-close", ...args: any[]) => void;
|
84
|
+
$el: any;
|
85
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
86
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
87
|
+
default: boolean;
|
88
|
+
} & {
|
89
|
+
default: boolean;
|
90
|
+
};
|
91
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
92
|
+
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
93
|
+
default: boolean;
|
94
|
+
} & {
|
95
|
+
default: boolean;
|
96
|
+
};
|
97
|
+
showMask: import("vue-types").VueTypeValidableDef<boolean> & {
|
98
|
+
default: boolean;
|
99
|
+
} & {
|
100
|
+
default: boolean;
|
101
|
+
};
|
102
|
+
closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
103
|
+
default: boolean;
|
104
|
+
} & {
|
105
|
+
default: boolean;
|
106
|
+
};
|
107
|
+
escClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
108
|
+
default: boolean;
|
109
|
+
} & {
|
110
|
+
default: boolean;
|
111
|
+
};
|
112
|
+
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
113
|
+
default: boolean;
|
114
|
+
} & {
|
115
|
+
default: boolean;
|
116
|
+
};
|
117
|
+
transfer: import("vue-types").VueTypeDef<string | boolean | HTMLElement> & {
|
118
|
+
default: string | boolean | (() => HTMLElement);
|
119
|
+
};
|
120
|
+
zIndex: import("vue-types").VueTypeDef<string | number>;
|
121
|
+
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
122
|
+
default: string;
|
123
|
+
} & {
|
124
|
+
default: string;
|
125
|
+
};
|
126
|
+
renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
|
127
|
+
default: "if" | "show";
|
128
|
+
};
|
129
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
|
130
|
+
default: () => boolean | Promise<boolean>;
|
131
|
+
};
|
132
|
+
left: import("vue-types").VueTypeValidableDef<string> & {
|
133
|
+
default: string;
|
134
|
+
};
|
135
|
+
top: import("vue-types").VueTypeValidableDef<string> & {
|
136
|
+
default: string;
|
137
|
+
};
|
138
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
139
|
+
default: string;
|
140
|
+
};
|
141
|
+
backgroundColor: import("vue-types").VueTypeValidableDef<string> & {
|
142
|
+
default: string;
|
143
|
+
} & {
|
144
|
+
default: string;
|
145
|
+
};
|
146
|
+
}>> & {
|
147
|
+
onClose?: (...args: any[]) => any;
|
148
|
+
onHidden?: (...args: any[]) => any;
|
149
|
+
onShown?: (...args: any[]) => any;
|
150
|
+
"onQuick-close"?: (...args: any[]) => any;
|
151
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "shown" | "quick-close")[], string, {
|
152
|
+
extCls: string;
|
153
|
+
left: string;
|
154
|
+
top: string;
|
155
|
+
isShow: boolean;
|
156
|
+
renderDirective: "if" | "show";
|
157
|
+
backgroundColor: string;
|
158
|
+
transfer: string | boolean | HTMLElement;
|
159
|
+
fullscreen: boolean;
|
160
|
+
showMask: boolean;
|
161
|
+
closeIcon: boolean;
|
162
|
+
escClose: boolean;
|
163
|
+
quickClose: boolean;
|
164
|
+
animateType: string;
|
165
|
+
beforeClose: () => boolean | Promise<boolean>;
|
166
|
+
}, {}, string, {}> & {
|
167
|
+
beforeCreate?: (() => void) | (() => void)[];
|
168
|
+
created?: (() => void) | (() => void)[];
|
169
|
+
beforeMount?: (() => void) | (() => void)[];
|
170
|
+
mounted?: (() => void) | (() => void)[];
|
171
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
172
|
+
updated?: (() => void) | (() => void)[];
|
173
|
+
activated?: (() => void) | (() => void)[];
|
174
|
+
deactivated?: (() => void) | (() => void)[];
|
175
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
176
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
177
|
+
destroyed?: (() => void) | (() => void)[];
|
178
|
+
unmounted?: (() => void) | (() => void)[];
|
179
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
180
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
181
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
182
|
+
};
|
183
|
+
$forceUpdate: () => void;
|
184
|
+
$nextTick: typeof import("vue").nextTick;
|
185
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
186
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
4
187
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
5
188
|
default: boolean;
|
6
189
|
} & {
|
@@ -41,69 +224,12 @@ declare const BkModal: {
|
|
41
224
|
} & {
|
42
225
|
default: string;
|
43
226
|
};
|
44
|
-
renderDirective: import("vue-types").VueTypeValidableDef<"
|
45
|
-
default: "
|
227
|
+
renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
|
228
|
+
default: "if" | "show";
|
46
229
|
};
|
47
|
-
beforeClose: import("vue-types").
|
48
|
-
|
49
|
-
default: string;
|
50
|
-
};
|
51
|
-
top: import("vue-types").VueTypeValidableDef<string> & {
|
52
|
-
default: string;
|
53
|
-
};
|
54
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
55
|
-
default: string;
|
56
|
-
};
|
57
|
-
}>> & {
|
58
|
-
onClose?: (...args: any[]) => any;
|
59
|
-
onHidden?: (...args: any[]) => any;
|
60
|
-
onShown?: (...args: any[]) => any;
|
61
|
-
"onQuick-close"?: (...args: any[]) => any;
|
62
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "shown" | "quick-close")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
63
|
-
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
64
|
-
default: boolean;
|
65
|
-
} & {
|
66
|
-
default: boolean;
|
230
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
|
231
|
+
default: () => boolean | Promise<boolean>;
|
67
232
|
};
|
68
|
-
width: import("vue-types").VueTypeDef<string | number>;
|
69
|
-
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
70
|
-
default: boolean;
|
71
|
-
} & {
|
72
|
-
default: boolean;
|
73
|
-
};
|
74
|
-
showMask: import("vue-types").VueTypeValidableDef<boolean> & {
|
75
|
-
default: boolean;
|
76
|
-
} & {
|
77
|
-
default: boolean;
|
78
|
-
};
|
79
|
-
closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
80
|
-
default: boolean;
|
81
|
-
} & {
|
82
|
-
default: boolean;
|
83
|
-
};
|
84
|
-
escClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
85
|
-
default: boolean;
|
86
|
-
} & {
|
87
|
-
default: boolean;
|
88
|
-
};
|
89
|
-
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
90
|
-
default: boolean;
|
91
|
-
} & {
|
92
|
-
default: boolean;
|
93
|
-
};
|
94
|
-
transfer: import("vue-types").VueTypeDef<string | boolean | HTMLElement> & {
|
95
|
-
default: string | boolean | (() => HTMLElement);
|
96
|
-
};
|
97
|
-
zIndex: import("vue-types").VueTypeDef<string | number>;
|
98
|
-
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
99
|
-
default: string;
|
100
|
-
} & {
|
101
|
-
default: string;
|
102
|
-
};
|
103
|
-
renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
|
104
|
-
default: "show" | "if";
|
105
|
-
};
|
106
|
-
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
107
233
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
108
234
|
default: string;
|
109
235
|
};
|
@@ -113,104 +239,17 @@ declare const BkModal: {
|
|
113
239
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
114
240
|
default: string;
|
115
241
|
};
|
116
|
-
|
117
|
-
onClose?: (...args: any[]) => any;
|
118
|
-
onHidden?: (...args: any[]) => any;
|
119
|
-
onShown?: (...args: any[]) => any;
|
120
|
-
"onQuick-close"?: (...args: any[]) => any;
|
121
|
-
}, {
|
122
|
-
extCls: string;
|
123
|
-
top: string;
|
124
|
-
left: string;
|
125
|
-
isShow: boolean;
|
126
|
-
transfer: string | boolean | HTMLElement;
|
127
|
-
renderDirective: "show" | "if";
|
128
|
-
fullscreen: boolean;
|
129
|
-
showMask: boolean;
|
130
|
-
closeIcon: boolean;
|
131
|
-
escClose: boolean;
|
132
|
-
quickClose: boolean;
|
133
|
-
animateType: string;
|
134
|
-
}, true, {}, {}, {
|
135
|
-
P: {};
|
136
|
-
B: {};
|
137
|
-
D: {};
|
138
|
-
C: {};
|
139
|
-
M: {};
|
140
|
-
Defaults: {};
|
141
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
142
|
-
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
143
|
-
default: boolean;
|
144
|
-
} & {
|
145
|
-
default: boolean;
|
146
|
-
};
|
147
|
-
width: import("vue-types").VueTypeDef<string | number>;
|
148
|
-
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
149
|
-
default: boolean;
|
150
|
-
} & {
|
151
|
-
default: boolean;
|
152
|
-
};
|
153
|
-
showMask: import("vue-types").VueTypeValidableDef<boolean> & {
|
154
|
-
default: boolean;
|
155
|
-
} & {
|
156
|
-
default: boolean;
|
157
|
-
};
|
158
|
-
closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
159
|
-
default: boolean;
|
160
|
-
} & {
|
161
|
-
default: boolean;
|
162
|
-
};
|
163
|
-
escClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
164
|
-
default: boolean;
|
165
|
-
} & {
|
166
|
-
default: boolean;
|
167
|
-
};
|
168
|
-
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
169
|
-
default: boolean;
|
170
|
-
} & {
|
171
|
-
default: boolean;
|
172
|
-
};
|
173
|
-
transfer: import("vue-types").VueTypeDef<string | boolean | HTMLElement> & {
|
174
|
-
default: string | boolean | (() => HTMLElement);
|
175
|
-
};
|
176
|
-
zIndex: import("vue-types").VueTypeDef<string | number>;
|
177
|
-
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
242
|
+
backgroundColor: import("vue-types").VueTypeValidableDef<string> & {
|
178
243
|
default: string;
|
179
244
|
} & {
|
180
245
|
default: string;
|
181
246
|
};
|
182
|
-
renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
|
183
|
-
default: "show" | "if";
|
184
|
-
};
|
185
|
-
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
186
|
-
left: import("vue-types").VueTypeValidableDef<string> & {
|
187
|
-
default: string;
|
188
|
-
};
|
189
|
-
top: import("vue-types").VueTypeValidableDef<string> & {
|
190
|
-
default: string;
|
191
|
-
};
|
192
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
193
|
-
default: string;
|
194
|
-
};
|
195
247
|
}>> & {
|
196
248
|
onClose?: (...args: any[]) => any;
|
197
249
|
onHidden?: (...args: any[]) => any;
|
198
250
|
onShown?: (...args: any[]) => any;
|
199
251
|
"onQuick-close"?: (...args: any[]) => any;
|
200
|
-
}
|
201
|
-
extCls: string;
|
202
|
-
top: string;
|
203
|
-
left: string;
|
204
|
-
isShow: boolean;
|
205
|
-
transfer: string | boolean | HTMLElement;
|
206
|
-
renderDirective: "show" | "if";
|
207
|
-
fullscreen: boolean;
|
208
|
-
showMask: boolean;
|
209
|
-
closeIcon: boolean;
|
210
|
-
escClose: boolean;
|
211
|
-
quickClose: boolean;
|
212
|
-
animateType: string;
|
213
|
-
}>;
|
252
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
214
253
|
__isFragment?: never;
|
215
254
|
__isTeleport?: never;
|
216
255
|
__isSuspense?: never;
|
@@ -255,10 +294,12 @@ declare const BkModal: {
|
|
255
294
|
} & {
|
256
295
|
default: string;
|
257
296
|
};
|
258
|
-
renderDirective: import("vue-types").VueTypeValidableDef<"
|
259
|
-
default: "
|
297
|
+
renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
|
298
|
+
default: "if" | "show";
|
299
|
+
};
|
300
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
|
301
|
+
default: () => boolean | Promise<boolean>;
|
260
302
|
};
|
261
|
-
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
262
303
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
263
304
|
default: string;
|
264
305
|
};
|
@@ -268,6 +309,11 @@ declare const BkModal: {
|
|
268
309
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
269
310
|
default: string;
|
270
311
|
};
|
312
|
+
backgroundColor: import("vue-types").VueTypeValidableDef<string> & {
|
313
|
+
default: string;
|
314
|
+
} & {
|
315
|
+
default: string;
|
316
|
+
};
|
271
317
|
}>> & {
|
272
318
|
onClose?: (...args: any[]) => any;
|
273
319
|
onHidden?: (...args: any[]) => any;
|
@@ -275,17 +321,19 @@ declare const BkModal: {
|
|
275
321
|
"onQuick-close"?: (...args: any[]) => any;
|
276
322
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "shown" | "quick-close")[], "close" | "hidden" | "shown" | "quick-close", {
|
277
323
|
extCls: string;
|
278
|
-
top: string;
|
279
324
|
left: string;
|
325
|
+
top: string;
|
280
326
|
isShow: boolean;
|
327
|
+
renderDirective: "if" | "show";
|
328
|
+
backgroundColor: string;
|
281
329
|
transfer: string | boolean | HTMLElement;
|
282
|
-
renderDirective: "show" | "if";
|
283
330
|
fullscreen: boolean;
|
284
331
|
showMask: boolean;
|
285
332
|
closeIcon: boolean;
|
286
333
|
escClose: boolean;
|
287
334
|
quickClose: boolean;
|
288
335
|
animateType: string;
|
336
|
+
beforeClose: () => boolean | Promise<boolean>;
|
289
337
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
290
338
|
propsMixin: {
|
291
339
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -328,10 +376,12 @@ declare const BkModal: {
|
|
328
376
|
} & {
|
329
377
|
default: string;
|
330
378
|
};
|
331
|
-
renderDirective: import("vue-types").VueTypeValidableDef<"
|
332
|
-
default: "
|
379
|
+
renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
|
380
|
+
default: "if" | "show";
|
381
|
+
};
|
382
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
|
383
|
+
default: () => boolean | Promise<boolean>;
|
333
384
|
};
|
334
|
-
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
335
385
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
336
386
|
default: string;
|
337
387
|
};
|
@@ -341,6 +391,11 @@ declare const BkModal: {
|
|
341
391
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
342
392
|
default: string;
|
343
393
|
};
|
394
|
+
backgroundColor: import("vue-types").VueTypeValidableDef<string> & {
|
395
|
+
default: string;
|
396
|
+
} & {
|
397
|
+
default: string;
|
398
|
+
};
|
344
399
|
};
|
345
400
|
}>;
|
346
401
|
export default BkModal;
|