bkui-vue 0.0.1-beta.23 → 0.0.1-beta.230
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.cjs.js +173 -0
- package/dist/index.esm.js +38108 -0
- package/dist/index.umd.js +173 -0
- package/dist/style.css +1 -5099
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +122 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +5 -3
- package/lib/alert/alert.less +7 -3
- package/lib/alert/alert.variable.css +34 -6
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +2 -2
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +37 -3
- package/lib/backtop/index.d.ts +7 -7
- package/lib/backtop/index.js +1 -10
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +28 -7
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +34 -8
- package/lib/badge/index.d.ts +68 -18
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +51 -0
- package/lib/breadcrumb/breadcrumb.variable.css +80 -3
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button.css +87 -49
- package/lib/button/button.d.ts +28 -7
- package/lib/button/button.less +74 -41
- package/lib/button/button.variable.css +116 -52
- package/lib/button/index.d.ts +45 -12
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +47 -6
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +125 -4
- package/lib/card/index.d.ts +113 -17
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +100 -0
- package/lib/cascader/cascader.css +173 -0
- package/lib/cascader/cascader.d.ts +303 -0
- package/lib/cascader/cascader.less +196 -0
- package/lib/cascader/cascader.variable.css +292 -0
- package/lib/cascader/index.d.ts +868 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +23 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +38 -6
- package/lib/checkbox/checkbox.d.ts +16 -14
- package/lib/checkbox/checkbox.less +48 -6
- package/lib/checkbox/checkbox.variable.css +67 -9
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +40 -23
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +2 -6
- package/lib/code-diff/code-diff.css +72 -1
- package/lib/code-diff/code-diff.d.ts +10 -1
- package/lib/code-diff/code-diff.less +94 -1
- package/lib/code-diff/code-diff.variable.css +101 -4
- package/lib/code-diff/index.d.ts +151 -3
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse-panel.d.ts +72 -0
- package/lib/collapse/collapse.css +28 -12
- package/lib/collapse/collapse.d.ts +11 -52
- package/lib/collapse/collapse.less +54 -29
- package/lib/collapse/collapse.variable.css +147 -12
- package/lib/collapse/index.d.ts +113 -16
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +121 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +394 -0
- package/lib/color-picker/components/color-input.d.ts +42 -0
- package/lib/color-picker/components/hue-slider.d.ts +41 -0
- package/lib/color-picker/components/input-container.d.ts +42 -0
- package/lib/color-picker/components/recommend-colors.d.ts +51 -0
- package/lib/color-picker/components/saturation-panel.d.ts +41 -0
- package/lib/color-picker/index.d.ts +254 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +28 -7
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +210 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +102 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +73 -0
- package/lib/date-picker/base/time-spinner.d.ts +153 -0
- package/lib/date-picker/date-picker.css +18 -2
- package/lib/date-picker/date-picker.d.ts +40 -13
- package/lib/date-picker/date-picker.less +23 -2
- package/lib/date-picker/date-picker.variable.css +47 -5
- package/lib/date-picker/index.d.ts +100 -39
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +9 -0
- package/lib/date-picker/panel/date-range.d.ts +452 -0
- package/lib/date-picker/panel/date.d.ts +550 -0
- package/lib/date-picker/panel/time.d.ts +450 -0
- package/lib/date-picker/props.d.ts +51 -1
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -1
- package/lib/dialog/dialog.css +144 -22
- package/lib/dialog/dialog.d.ts +275 -58
- package/lib/dialog/dialog.less +97 -23
- package/lib/dialog/dialog.variable.css +144 -22
- package/lib/dialog/index.d.ts +607 -130
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.d.ts +138 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +1 -1
- package/lib/divider/divider.variable.css +29 -3
- package/lib/divider/index.d.ts +4 -4
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/const.d.ts +4 -0
- package/lib/dropdown/dropdown.css +13 -7
- package/lib/dropdown/dropdown.d.ts +34 -3
- package/lib/dropdown/dropdown.less +47 -34
- package/lib/dropdown/dropdown.variable.css +42 -10
- package/lib/dropdown/index.d.ts +71 -10
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +10 -3
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +69 -17
- package/lib/exception/index.d.ts +23 -8
- package/lib/exception/index.js +1 -1
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +29 -3
- package/lib/fixed-navbar/index.d.ts +40 -5
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +16 -5
- package/lib/form/form.css +96 -12
- package/lib/form/form.d.ts +28 -11
- package/lib/form/form.less +144 -45
- package/lib/form/form.variable.css +215 -12
- package/lib/form/index.d.ts +88 -30
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +8 -6
- package/lib/form/validator.d.ts +1 -0
- package/lib/icon/angle-double-down-line.js +1 -15
- package/lib/icon/angle-double-left-line.js +1 -15
- package/lib/icon/angle-double-left.js +1 -15
- package/lib/icon/angle-double-right-line.js +1 -15
- package/lib/icon/angle-double-right.js +1 -15
- package/lib/icon/angle-double-up-line.js +1 -15
- package/lib/icon/angle-down-fill.js +1 -15
- package/lib/icon/angle-down-line.js +1 -15
- package/lib/icon/angle-down.js +1 -15
- package/lib/icon/angle-left.js +1 -15
- package/lib/icon/angle-right.js +1 -15
- package/lib/icon/angle-up-fill.js +1 -15
- package/lib/icon/angle-up.js +1 -15
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -15
- package/lib/icon/arrows-right.js +1 -15
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -15
- package/lib/icon/circle.js +1 -15
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -15
- package/lib/icon/code.js +1 -15
- package/lib/icon/cog-shape.js +1 -15
- package/lib/icon/collapse-left.js +1 -15
- package/lib/icon/copy.js +1 -15
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -15
- package/lib/icon/down-shape.js +1 -15
- package/lib/icon/down-small.js +1 -15
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -15
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -15
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -15
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/folder-open.js +1 -15
- package/lib/icon/folder-shape-open.js +1 -15
- package/lib/icon/folder-shape.js +1 -15
- package/lib/icon/folder.js +1 -15
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -15
- package/lib/icon/help-fill.js +1 -15
- package/lib/icon/help.js +1 -15
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-error.js +1 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +27 -1
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.js +1 -15
- package/lib/icon/info.js +1 -15
- package/lib/icon/left-shape.js +1 -15
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original .d.ts +4 -0
- package/lib/icon/original .js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -15
- package/lib/icon/plus.js +1 -15
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -15
- package/lib/icon/right-shape.js +1 -15
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -15
- package/lib/icon/share.js +1 -15
- package/lib/icon/spinner.js +1 -15
- package/lib/icon/success.js +1 -15
- package/lib/icon/switcher-loading.js +1 -15
- package/lib/icon/text-file.js +1 -15
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -15
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -15
- package/lib/icon/up-shape.js +1 -15
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -15
- package/lib/icon/weixin.js +1 -15
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +6 -0
- package/lib/info-box/index.js +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +26 -0
- package/lib/info-box/info-box.less +50 -0
- package/lib/info-box/info-box.variable.css +37 -0
- package/lib/input/index.d.ts +171 -60
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +216 -18
- package/lib/input/input.d.ts +116 -16
- package/lib/input/input.less +157 -17
- package/lib/input/input.variable.css +242 -17
- package/lib/link/index.d.ts +4 -4
- package/lib/link/index.js +1 -1
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +1 -1
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +41 -15
- package/lib/loading/index.d.ts +107 -13
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +83 -31
- package/lib/loading/loading.d.ts +74 -5
- package/lib/loading/loading.less +28 -30
- package/lib/loading/loading.variable.css +112 -34
- package/lib/menu/index.d.ts +16 -24
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +7 -16
- package/lib/menu/menu.variable.css +80 -3
- package/lib/menu/submenu.variable.css +29 -3
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +24 -3
- package/lib/message/message.less +27 -2
- package/lib/message/message.variable.css +53 -6
- package/lib/message/messageConstructor.d.ts +43 -7
- package/lib/modal/index.d.ts +508 -78
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +63 -1
- package/lib/modal/modal.d.ts +194 -30
- package/lib/modal/modal.less +36 -1
- package/lib/modal/modal.variable.css +63 -1
- package/lib/modal/props.mixin.d.ts +82 -13
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +10 -1
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +30 -4
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +24 -4
- package/lib/notify/notify.less +27 -4
- package/lib/notify/notify.variable.css +53 -7
- package/lib/notify/notifyConstructor.d.ts +51 -7
- package/lib/pagination/index.d.ts +38 -23
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +17 -7
- package/lib/pagination/pagination.less +58 -31
- package/lib/pagination/pagination.variable.css +83 -31
- package/lib/pagination/type.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/popover/index.d.ts +146 -21
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +3 -0
- package/lib/popover/popover.d.ts +67 -8
- package/lib/popover/popover.less +2 -0
- package/lib/popover/popover.variable.css +32 -3
- package/lib/popover/props.d.ts +34 -2
- package/lib/popover2/arrow.d.ts +2 -0
- package/lib/popover2/const.d.ts +16 -0
- package/lib/popover2/content.d.ts +24 -0
- package/lib/popover2/index.d.ts +545 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/plugin-popover.d.ts +12 -0
- package/lib/popover2/popover2.css +25 -0
- package/lib/popover2/popover2.d.ts +228 -0
- package/lib/popover2/popover2.less +35 -0
- package/lib/popover2/popover2.variable.css +144 -0
- package/lib/popover2/props.d.ts +118 -0
- package/lib/popover2/reference.d.ts +2 -0
- package/lib/popover2/root.d.ts +16 -0
- package/lib/popover2/use-floating.d.ts +31 -0
- package/lib/popover2/use-platform.d.ts +30 -0
- package/lib/popover2/use-popover-init.d.ts +22 -0
- package/lib/popover2/use-popper-id.d.ts +6 -0
- package/lib/popover2/utils.d.ts +2 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +9 -9
- package/lib/process/index.js +1 -15
- package/lib/process/process.css +13 -0
- package/lib/process/process.d.ts +2 -2
- package/lib/process/process.less +17 -0
- package/lib/process/process.variable.css +42 -3
- package/lib/progress/index.d.ts +10 -10
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.variable.css +80 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +29 -18
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +7 -8
- package/lib/radio/radio-group.d.ts +16 -0
- package/lib/radio/radio.css +61 -56
- package/lib/radio/radio.d.ts +4 -4
- package/lib/radio/radio.less +181 -172
- package/lib/radio/radio.variable.css +93 -62
- package/lib/radio/type.d.ts +9 -4
- package/lib/rate/index.d.ts +24 -1
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +11 -0
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +177 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +217 -0
- package/lib/resize-layout/resize-layout.variable.css +296 -0
- package/lib/search-select/index.d.ts +681 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +85 -0
- package/lib/search-select/menu.d.ts +83 -0
- package/lib/search-select/search-select.css +423 -0
- package/lib/search-select/search-select.d.ts +273 -0
- package/lib/search-select/search-select.less +375 -0
- package/lib/search-select/search-select.variable.css +542 -0
- package/lib/search-select/selected.d.ts +137 -0
- package/lib/search-select/utils.d.ts +79 -0
- package/lib/select/common.d.ts +20 -31
- package/lib/select/index.d.ts +1422 -451
- package/lib/select/index.js +1 -15
- package/lib/select/option.d.ts +16 -4
- package/lib/select/optionGroup.d.ts +1 -77
- package/lib/select/select.css +265 -80
- package/lib/select/select.d.ts +553 -126
- package/lib/select/select.less +366 -185
- package/lib/select/select.variable.css +295 -84
- package/lib/select/selectTagInput.d.ts +93 -0
- package/lib/select/type.d.ts +39 -0
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +0 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +27 -4
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +6 -2
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -4
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +6 -2
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +13 -0
- package/lib/shared/vue-types.d.ts +4 -0
- package/lib/sideslider/index.d.ts +391 -76
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +55 -10
- package/lib/sideslider/sideslider.d.ts +181 -33
- package/lib/sideslider/sideslider.less +72 -13
- package/lib/sideslider/sideslider.variable.css +84 -13
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -15
- package/lib/slider/slider-button.d.ts +5 -0
- package/lib/slider/slider.d.ts +14 -2
- package/lib/slider/slider.variable.css +29 -3
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +14 -3
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.less +23 -3
- package/lib/steps/steps.variable.css +43 -6
- package/lib/styles/index.d.ts +12 -0
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +136 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -0
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +38 -3
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +34 -11
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +15 -4
- package/lib/switcher/switcher.less +5 -26
- package/lib/switcher/switcher.variable.css +86 -9
- package/lib/tab/index.d.ts +107 -219
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +66 -87
- package/lib/tab/tab-panel.d.ts +40 -15
- package/lib/tab/tab.css +25 -1
- package/lib/tab/tab.d.ts +17 -41
- package/lib/tab/tab.less +31 -19
- package/lib/tab/tab.variable.css +54 -4
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +38 -0
- package/lib/table/components/table-column.d.ts +142 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +108 -1
- package/lib/table/index.d.ts +781 -27
- package/lib/table/index.js +1 -10
- package/lib/table/plugins/body-empty.d.ts +40 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +71 -0
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +92 -0
- package/lib/table/plugins/head-filter.variable.css +190 -0
- package/lib/table/plugins/head-sort.css +25 -0
- package/lib/table/plugins/head-sort.d.ts +22 -0
- package/lib/table/plugins/head-sort.less +31 -0
- package/lib/table/plugins/head-sort.variable.css +144 -0
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +129 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +157 -0
- package/lib/table/plugins/settings.variable.css +248 -0
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +15 -0
- package/lib/table/plugins/use-fixed-column.d.ts +12 -0
- package/lib/table/plugins/use-pagination.d.ts +16 -0
- package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
- package/lib/table/props.d.ts +282 -7
- package/lib/table/render.d.ts +53 -6
- package/lib/table/table.css +1143 -17
- package/lib/table/table.d.ts +196 -13
- package/lib/table/table.less +237 -25
- package/lib/table/table.variable.css +1182 -30
- package/lib/table/use-column.d.ts +11 -0
- package/lib/table/use-common.d.ts +97 -0
- package/lib/table/utils.d.ts +65 -9
- package/lib/table-column/index.d.ts +336 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +7 -7
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +57 -18
- package/lib/tag/tag.d.ts +2 -2
- package/lib/tag/tag.less +58 -15
- package/lib/tag/tag.variable.css +86 -21
- package/lib/tag-input/common.d.ts +36 -0
- package/lib/tag-input/index.d.ts +1211 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +44 -0
- package/lib/tag-input/tag-input.css +209 -0
- package/lib/tag-input/tag-input.d.ts +536 -0
- package/lib/tag-input/tag-input.less +251 -0
- package/lib/tag-input/tag-input.variable.css +328 -0
- package/lib/tag-input/tag-props.d.ts +216 -0
- package/lib/tag-input/tag-render.d.ts +35 -0
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +334 -0
- package/lib/timeline/index.d.ts +6 -6
- package/lib/timeline/index.js +1 -1
- package/lib/timeline/timeline.css +5 -5
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.less +6 -5
- package/lib/timeline/timeline.variable.css +34 -8
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +339 -1
- package/lib/transfer/index.js +1 -1
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +89 -86
- package/lib/transfer/transfer.d.ts +70 -95
- package/lib/transfer/transfer.less +93 -113
- package/lib/transfer/transfer.variable.css +123 -94
- package/lib/tree/constant.d.ts +57 -0
- package/lib/tree/index.d.ts +419 -48
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +124 -0
- package/lib/tree/tree.css +183 -11
- package/lib/tree/tree.d.ts +194 -23
- package/lib/tree/tree.less +72 -10
- package/lib/tree/tree.variable.css +302 -11
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +33 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +5 -7
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +425 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +464 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +544 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +27 -4
- package/lib/virtual-render/index.js +1 -10
- package/lib/virtual-render/props.d.ts +10 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -24
- package/lib/virtual-render/virtual-render.d.ts +14 -3
- package/lib/virtual-render/virtual-render.less +2 -31
- package/lib/virtual-render/virtual-render.variable.css +136 -24
- package/lib/volar.components.d.ts +101 -0
- package/package.json +59 -46
- package/README_EN.md +0 -93
- package/dist/bkui-vue.cjs.js +0 -18938
- package/dist/bkui-vue.esm.js +0 -18887
- package/dist/bkui-vue.umd.js +0 -18941
- package/lib/form/common.d.ts +0 -3
- package/lib/icon/icon.js +0 -15
- package/lib/styles/index.js +0 -1
- package/lib/use-form.d.ts +0 -3
@@ -0,0 +1,194 @@
|
|
1
|
+
import { PropType, VNode } from 'vue';
|
2
|
+
export declare const tabNavEventProps: {
|
3
|
+
tabAdd: {
|
4
|
+
type: FunctionConstructor;
|
5
|
+
default: () => any;
|
6
|
+
};
|
7
|
+
tabChange: {
|
8
|
+
type: FunctionConstructor;
|
9
|
+
default: (name: string) => string;
|
10
|
+
};
|
11
|
+
tabRemove: {
|
12
|
+
type: FunctionConstructor;
|
13
|
+
default: (name: string) => string;
|
14
|
+
};
|
15
|
+
tabSort: {
|
16
|
+
type: FunctionConstructor;
|
17
|
+
default: () => any;
|
18
|
+
};
|
19
|
+
tabDrag: {
|
20
|
+
type: FunctionConstructor;
|
21
|
+
default: () => any;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
export declare const tabEventProps: {
|
25
|
+
add: {
|
26
|
+
type: FunctionConstructor;
|
27
|
+
default: () => any;
|
28
|
+
};
|
29
|
+
change: {
|
30
|
+
type: FunctionConstructor;
|
31
|
+
default: () => any;
|
32
|
+
};
|
33
|
+
remove: {
|
34
|
+
type: FunctionConstructor;
|
35
|
+
default: () => any;
|
36
|
+
};
|
37
|
+
sort: {
|
38
|
+
type: FunctionConstructor;
|
39
|
+
default: () => any;
|
40
|
+
};
|
41
|
+
drag: {
|
42
|
+
type: FunctionConstructor;
|
43
|
+
default: () => any;
|
44
|
+
};
|
45
|
+
};
|
46
|
+
export declare const tabProps: {
|
47
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
48
|
+
default: string | number;
|
49
|
+
};
|
50
|
+
type: import("vue-types").VueTypeDef<string> & {
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
tabPosition: import("vue-types").VueTypeDef<string> & {
|
54
|
+
default: string;
|
55
|
+
};
|
56
|
+
closable: BooleanConstructor;
|
57
|
+
addable: BooleanConstructor;
|
58
|
+
sortable: BooleanConstructor;
|
59
|
+
sortType: import("vue-types").VueTypeDef<string> & {
|
60
|
+
default: string;
|
61
|
+
};
|
62
|
+
labelHeight: import("vue-types").VueTypeValidableDef<number> & {
|
63
|
+
default: number;
|
64
|
+
} & {
|
65
|
+
default: number;
|
66
|
+
};
|
67
|
+
scrollStep: import("vue-types").VueTypeValidableDef<number> & {
|
68
|
+
default: number;
|
69
|
+
} & {
|
70
|
+
default: number;
|
71
|
+
};
|
72
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
73
|
+
default: string;
|
74
|
+
} & {
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
|
78
|
+
default: boolean;
|
79
|
+
} & {
|
80
|
+
default: boolean;
|
81
|
+
};
|
82
|
+
showHeader: import("vue-types").VueTypeValidableDef<boolean> & {
|
83
|
+
default: boolean;
|
84
|
+
} & {
|
85
|
+
default: boolean;
|
86
|
+
};
|
87
|
+
changeOnHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
88
|
+
default: boolean;
|
89
|
+
} & {
|
90
|
+
default: boolean;
|
91
|
+
};
|
92
|
+
changeOnHoverDelay: import("vue-types").VueTypeValidableDef<number> & {
|
93
|
+
default: number;
|
94
|
+
} & {
|
95
|
+
default: number;
|
96
|
+
};
|
97
|
+
};
|
98
|
+
export declare const tabNavProps: {
|
99
|
+
tabAdd: {
|
100
|
+
type: FunctionConstructor;
|
101
|
+
default: () => any;
|
102
|
+
};
|
103
|
+
tabChange: {
|
104
|
+
type: FunctionConstructor;
|
105
|
+
default: (name: string) => string;
|
106
|
+
};
|
107
|
+
tabRemove: {
|
108
|
+
type: FunctionConstructor;
|
109
|
+
default: (name: string) => string;
|
110
|
+
};
|
111
|
+
tabSort: {
|
112
|
+
type: FunctionConstructor;
|
113
|
+
default: () => any;
|
114
|
+
};
|
115
|
+
tabDrag: {
|
116
|
+
type: FunctionConstructor;
|
117
|
+
default: () => any;
|
118
|
+
};
|
119
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
120
|
+
default: string | number;
|
121
|
+
};
|
122
|
+
panels: {
|
123
|
+
type: PropType<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
124
|
+
[key: string]: any;
|
125
|
+
}>[]>;
|
126
|
+
default: () => any[];
|
127
|
+
};
|
128
|
+
tabPosition: import("vue-types").VueTypeDef<string> & {
|
129
|
+
default: string;
|
130
|
+
};
|
131
|
+
closable: BooleanConstructor;
|
132
|
+
addable: BooleanConstructor;
|
133
|
+
sortable: BooleanConstructor;
|
134
|
+
sortType: import("vue-types").VueTypeDef<string> & {
|
135
|
+
default: string;
|
136
|
+
};
|
137
|
+
labelHeight: import("vue-types").VueTypeValidableDef<number> & {
|
138
|
+
default: number;
|
139
|
+
} & {
|
140
|
+
default: number;
|
141
|
+
};
|
142
|
+
scrollStep: import("vue-types").VueTypeValidableDef<number> & {
|
143
|
+
default: number;
|
144
|
+
} & {
|
145
|
+
default: number;
|
146
|
+
};
|
147
|
+
validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
|
148
|
+
default: boolean;
|
149
|
+
} & {
|
150
|
+
default: boolean;
|
151
|
+
};
|
152
|
+
changeOnHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
153
|
+
default: boolean;
|
154
|
+
} & {
|
155
|
+
default: boolean;
|
156
|
+
};
|
157
|
+
changeOnHoverDelay: import("vue-types").VueTypeValidableDef<number> & {
|
158
|
+
default: number;
|
159
|
+
} & {
|
160
|
+
default: number;
|
161
|
+
};
|
162
|
+
};
|
163
|
+
export declare const tabPanelProps: {
|
164
|
+
name: import("vue-types").VueTypeDef<string | number> & {
|
165
|
+
default: string | number;
|
166
|
+
};
|
167
|
+
label: (import("vue-types").VueTypeValidableDef<string> & {
|
168
|
+
default: string;
|
169
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
170
|
+
default: (...args: any[]) => any;
|
171
|
+
});
|
172
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
173
|
+
default: boolean;
|
174
|
+
};
|
175
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
176
|
+
default: boolean;
|
177
|
+
} & {
|
178
|
+
default: boolean;
|
179
|
+
};
|
180
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
181
|
+
default: boolean;
|
182
|
+
};
|
183
|
+
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
184
|
+
default: boolean;
|
185
|
+
};
|
186
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
187
|
+
default: string;
|
188
|
+
};
|
189
|
+
panel: (import("vue-types").VueTypeValidableDef<string> & {
|
190
|
+
default: string;
|
191
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
192
|
+
default: (...args: any[]) => any;
|
193
|
+
});
|
194
|
+
};
|
package/lib/tab/tab-nav.d.ts
CHANGED
@@ -1,29 +1,39 @@
|
|
1
|
-
import { PropType, VNode } from 'vue';
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
3
|
-
|
4
|
-
type:
|
2
|
+
tabAdd: {
|
3
|
+
type: FunctionConstructor;
|
4
|
+
default: () => any;
|
5
|
+
};
|
6
|
+
tabChange: {
|
7
|
+
type: FunctionConstructor;
|
8
|
+
default: (name: string) => string;
|
9
|
+
};
|
10
|
+
tabRemove: {
|
11
|
+
type: FunctionConstructor;
|
12
|
+
default: (name: string) => string;
|
13
|
+
};
|
14
|
+
tabSort: {
|
15
|
+
type: FunctionConstructor;
|
16
|
+
default: () => any;
|
17
|
+
};
|
18
|
+
tabDrag: {
|
19
|
+
type: FunctionConstructor;
|
20
|
+
default: () => any;
|
21
|
+
};
|
22
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
23
|
+
default: string | number;
|
5
24
|
};
|
6
25
|
panels: {
|
7
|
-
type: PropType<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
26
|
+
type: import("vue").PropType<import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
8
27
|
[key: string]: any;
|
9
28
|
}>[]>;
|
10
29
|
default: () => any[];
|
11
30
|
};
|
12
|
-
|
13
|
-
default:
|
14
|
-
} & {
|
15
|
-
default: boolean;
|
16
|
-
};
|
17
|
-
addable: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
|
-
default: boolean;
|
19
|
-
} & {
|
20
|
-
default: boolean;
|
21
|
-
};
|
22
|
-
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
23
|
-
default: boolean;
|
24
|
-
} & {
|
25
|
-
default: boolean;
|
31
|
+
tabPosition: import("vue-types").VueTypeDef<string> & {
|
32
|
+
default: string;
|
26
33
|
};
|
34
|
+
closable: BooleanConstructor;
|
35
|
+
addable: BooleanConstructor;
|
36
|
+
sortable: BooleanConstructor;
|
27
37
|
sortType: import("vue-types").VueTypeDef<string> & {
|
28
38
|
default: string;
|
29
39
|
};
|
@@ -52,17 +62,37 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
62
|
} & {
|
53
63
|
default: number;
|
54
64
|
};
|
65
|
+
}, {
|
66
|
+
navs: import("vue").ComputedRef<any[]>;
|
67
|
+
dragenterIndex: import("vue").Ref<number>;
|
68
|
+
dragStartIndex: import("vue").Ref<number>;
|
69
|
+
draggingEle: import("vue").Ref<string>;
|
70
|
+
guid: string;
|
71
|
+
/**
|
72
|
+
* @description 判断拖动的元素是否是在同一个tab。
|
73
|
+
* 使用guid,相比 el1.parentNode === el2.parentNode 判断,性能要高
|
74
|
+
* @param e {event} 触发的元素
|
75
|
+
* @return {boolean}
|
76
|
+
*/
|
77
|
+
handleTabAdd(e: any): void;
|
78
|
+
dragstart(index: number, $event: DragEvent): void;
|
79
|
+
dragenter(index: any): void;
|
80
|
+
dragend(): void;
|
81
|
+
drop(index: any, sortType: any): boolean;
|
82
|
+
handleTabChange(name: string): void;
|
83
|
+
handleTabRemove(index: number, panel: any): void;
|
84
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
55
85
|
tabAdd: {
|
56
86
|
type: FunctionConstructor;
|
57
87
|
default: () => any;
|
58
88
|
};
|
59
89
|
tabChange: {
|
60
90
|
type: FunctionConstructor;
|
61
|
-
default: () =>
|
91
|
+
default: (name: string) => string;
|
62
92
|
};
|
63
93
|
tabRemove: {
|
64
94
|
type: FunctionConstructor;
|
65
|
-
default: () =>
|
95
|
+
default: (name: string) => string;
|
66
96
|
};
|
67
97
|
tabSort: {
|
68
98
|
type: FunctionConstructor;
|
@@ -72,54 +102,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
72
102
|
type: FunctionConstructor;
|
73
103
|
default: () => any;
|
74
104
|
};
|
75
|
-
|
76
|
-
|
77
|
-
dragenterIndex: import("vue").Ref<number>;
|
78
|
-
dragStartIndex: import("vue").Ref<number>;
|
79
|
-
draggingEle: import("vue").Ref<string>;
|
80
|
-
guid: string;
|
81
|
-
}, unknown, {}, {
|
82
|
-
/**
|
83
|
-
* @description 判断拖动的元素是否是在同一个tab。
|
84
|
-
* 使用guid,相比 el1.parentNode === el2.parentNode 判断,性能要高
|
85
|
-
* @param el1 {string} 拖动的元素
|
86
|
-
* @param el2 {string} 触发的元素
|
87
|
-
* @return {boolean}
|
88
|
-
*/
|
89
|
-
distinctRoots(el1: string, el2: string): boolean;
|
90
|
-
swapArr(arr: any[], a: number, b: number): void;
|
91
|
-
handleTabAdd(e: MouseEvent): void;
|
92
|
-
dragstart(index: number, $event: DragEvent): void;
|
93
|
-
dragenter(index: any): void;
|
94
|
-
dragend(): void;
|
95
|
-
drop(index: any, sortType: any): false;
|
96
|
-
handleTabChange(name: string): void;
|
97
|
-
handleTabRemove(index: number, panel: any): void;
|
98
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
99
|
-
active: {
|
100
|
-
type: NumberConstructor | StringConstructor;
|
105
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
106
|
+
default: string | number;
|
101
107
|
};
|
102
108
|
panels: {
|
103
|
-
type: PropType<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
109
|
+
type: import("vue").PropType<import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
104
110
|
[key: string]: any;
|
105
111
|
}>[]>;
|
106
112
|
default: () => any[];
|
107
113
|
};
|
108
|
-
|
109
|
-
default:
|
110
|
-
} & {
|
111
|
-
default: boolean;
|
112
|
-
};
|
113
|
-
addable: import("vue-types").VueTypeValidableDef<boolean> & {
|
114
|
-
default: boolean;
|
115
|
-
} & {
|
116
|
-
default: boolean;
|
117
|
-
};
|
118
|
-
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
119
|
-
default: boolean;
|
120
|
-
} & {
|
121
|
-
default: boolean;
|
114
|
+
tabPosition: import("vue-types").VueTypeDef<string> & {
|
115
|
+
default: string;
|
122
116
|
};
|
117
|
+
closable: BooleanConstructor;
|
118
|
+
addable: BooleanConstructor;
|
119
|
+
sortable: BooleanConstructor;
|
123
120
|
sortType: import("vue-types").VueTypeDef<string> & {
|
124
121
|
default: string;
|
125
122
|
};
|
@@ -148,32 +145,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
148
145
|
} & {
|
149
146
|
default: number;
|
150
147
|
};
|
151
|
-
tabAdd: {
|
152
|
-
type: FunctionConstructor;
|
153
|
-
default: () => any;
|
154
|
-
};
|
155
|
-
tabChange: {
|
156
|
-
type: FunctionConstructor;
|
157
|
-
default: () => any;
|
158
|
-
};
|
159
|
-
tabRemove: {
|
160
|
-
type: FunctionConstructor;
|
161
|
-
default: () => any;
|
162
|
-
};
|
163
|
-
tabSort: {
|
164
|
-
type: FunctionConstructor;
|
165
|
-
default: () => any;
|
166
|
-
};
|
167
|
-
tabDrag: {
|
168
|
-
type: FunctionConstructor;
|
169
|
-
default: () => any;
|
170
|
-
};
|
171
148
|
}>>, {
|
172
149
|
closable: boolean;
|
150
|
+
active: string | number;
|
173
151
|
sortType: string;
|
174
|
-
|
152
|
+
tabAdd: Function;
|
153
|
+
tabChange: Function;
|
154
|
+
tabRemove: Function;
|
155
|
+
tabSort: Function;
|
156
|
+
tabDrag: Function;
|
157
|
+
panels: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
175
158
|
[key: string]: any;
|
176
159
|
}>[];
|
160
|
+
tabPosition: string;
|
177
161
|
addable: boolean;
|
178
162
|
sortable: boolean;
|
179
163
|
labelHeight: number;
|
@@ -181,10 +165,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
181
165
|
validateActive: boolean;
|
182
166
|
changeOnHover: boolean;
|
183
167
|
changeOnHoverDelay: number;
|
184
|
-
tabAdd: Function;
|
185
|
-
tabChange: Function;
|
186
|
-
tabRemove: Function;
|
187
|
-
tabSort: Function;
|
188
|
-
tabDrag: Function;
|
189
168
|
}>;
|
190
169
|
export default _default;
|
package/lib/tab/tab-panel.d.ts
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
name: {
|
3
|
-
|
2
|
+
name: import("vue-types").VueTypeDef<string | number> & {
|
3
|
+
default: string | number;
|
4
|
+
};
|
5
|
+
label: (import("vue-types").VueTypeValidableDef<string> & {
|
6
|
+
default: string;
|
7
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
8
|
+
default: (...args: any[]) => any;
|
9
|
+
});
|
10
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
11
|
+
default: boolean;
|
4
12
|
};
|
5
|
-
label: StringConstructor | FunctionConstructor;
|
6
|
-
closable: BooleanConstructor | FunctionConstructor;
|
7
13
|
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
8
14
|
default: boolean;
|
9
15
|
} & {
|
@@ -11,20 +17,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
11
17
|
};
|
12
18
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
13
19
|
default: boolean;
|
14
|
-
}
|
20
|
+
};
|
21
|
+
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
15
22
|
default: boolean;
|
16
23
|
};
|
17
|
-
sortable: BooleanConstructor | FunctionConstructor;
|
18
24
|
renderDirective: import("vue-types").VueTypeDef<string> & {
|
19
25
|
default: string;
|
20
26
|
};
|
21
|
-
panel:
|
27
|
+
panel: (import("vue-types").VueTypeValidableDef<string> & {
|
28
|
+
default: string;
|
29
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
30
|
+
default: (...args: any[]) => any;
|
31
|
+
});
|
22
32
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
23
|
-
name: {
|
24
|
-
|
33
|
+
name: import("vue-types").VueTypeDef<string | number> & {
|
34
|
+
default: string | number;
|
35
|
+
};
|
36
|
+
label: (import("vue-types").VueTypeValidableDef<string> & {
|
37
|
+
default: string;
|
38
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
39
|
+
default: (...args: any[]) => any;
|
40
|
+
});
|
41
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
42
|
+
default: boolean;
|
25
43
|
};
|
26
|
-
label: StringConstructor | FunctionConstructor;
|
27
|
-
closable: BooleanConstructor | FunctionConstructor;
|
28
44
|
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
29
45
|
default: boolean;
|
30
46
|
} & {
|
@@ -32,17 +48,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
32
48
|
};
|
33
49
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
34
50
|
default: boolean;
|
35
|
-
}
|
51
|
+
};
|
52
|
+
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
36
53
|
default: boolean;
|
37
54
|
};
|
38
|
-
sortable: BooleanConstructor | FunctionConstructor;
|
39
55
|
renderDirective: import("vue-types").VueTypeDef<string> & {
|
40
56
|
default: string;
|
41
57
|
};
|
42
|
-
panel:
|
58
|
+
panel: (import("vue-types").VueTypeValidableDef<string> & {
|
59
|
+
default: string;
|
60
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
61
|
+
default: (...args: any[]) => any;
|
62
|
+
});
|
43
63
|
}>>, {
|
44
|
-
|
64
|
+
label: string | ((...args: any[]) => any);
|
65
|
+
name: string | number;
|
45
66
|
disabled: boolean;
|
67
|
+
visible: boolean;
|
68
|
+
closable: boolean;
|
46
69
|
renderDirective: string;
|
70
|
+
panel: string | ((...args: any[]) => any);
|
71
|
+
sortable: boolean;
|
47
72
|
}>;
|
48
73
|
export default _default;
|
package/lib/tab/tab.css
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
flex-direction: row-reverse;
|
11
11
|
}
|
12
12
|
.bk-tab-header {
|
13
|
+
position: relative;
|
13
14
|
display: flex;
|
14
15
|
color: #63656e;
|
15
16
|
}
|
@@ -22,6 +23,9 @@
|
|
22
23
|
.bk-tab--border-card .bk-tab-header > div {
|
23
24
|
border-right: 1px solid #dcdee5;
|
24
25
|
}
|
26
|
+
.bk-tab-header-navs {
|
27
|
+
flex: 1;
|
28
|
+
}
|
25
29
|
.bk-tab--top .bk-tab-header-nav {
|
26
30
|
overflow-x: auto;
|
27
31
|
overflow-y: visible;
|
@@ -40,9 +44,28 @@
|
|
40
44
|
width: 0;
|
41
45
|
height: 0;
|
42
46
|
}
|
47
|
+
.bk-tab-header-next,
|
48
|
+
.bk-tab-header-prev {
|
49
|
+
position: absolute;
|
50
|
+
top: 1px;
|
51
|
+
bottom: 1px;
|
52
|
+
width: 15px;
|
53
|
+
background: #fff;
|
54
|
+
content: '';
|
55
|
+
}
|
56
|
+
.bk-tab-header-prev {
|
57
|
+
left: 1px;
|
58
|
+
}
|
59
|
+
.bk-tab-header-next {
|
60
|
+
right: 1px;
|
61
|
+
}
|
43
62
|
.bk-tab-header-operation .bk-tab-header-item {
|
44
63
|
padding: 0 12px;
|
45
64
|
}
|
65
|
+
.bk-tab-header-setting {
|
66
|
+
justify-self: flex-end;
|
67
|
+
margin-left: auto;
|
68
|
+
}
|
46
69
|
.bk-tab--left .bk-tab-header {
|
47
70
|
border-right: 1px solid #dcdee5;
|
48
71
|
}
|
@@ -80,7 +103,7 @@
|
|
80
103
|
}
|
81
104
|
.bk-tab-header-item:hover .bk-tab-header-item-close {
|
82
105
|
display: block;
|
83
|
-
margin-left:
|
106
|
+
margin-left: 5px;
|
84
107
|
color: #ea3636;
|
85
108
|
}
|
86
109
|
.bk-tab--top .bk-tab-header-item {
|
@@ -111,6 +134,7 @@
|
|
111
134
|
}
|
112
135
|
.bk-tab-header-item-close {
|
113
136
|
display: none;
|
137
|
+
font-size: 16px;
|
114
138
|
color: #c4c6cc;
|
115
139
|
}
|
116
140
|
.bk-tab-header--active {
|
package/lib/tab/tab.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
active: {
|
3
|
-
|
2
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
3
|
+
default: string | number;
|
4
4
|
};
|
5
5
|
type: import("vue-types").VueTypeDef<string> & {
|
6
6
|
default: string;
|
@@ -8,21 +8,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
8
8
|
tabPosition: import("vue-types").VueTypeDef<string> & {
|
9
9
|
default: string;
|
10
10
|
};
|
11
|
-
closable:
|
12
|
-
|
13
|
-
|
14
|
-
default: boolean;
|
15
|
-
};
|
16
|
-
addable: import("vue-types").VueTypeValidableDef<boolean> & {
|
17
|
-
default: boolean;
|
18
|
-
} & {
|
19
|
-
default: boolean;
|
20
|
-
};
|
21
|
-
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
22
|
-
default: boolean;
|
23
|
-
} & {
|
24
|
-
default: boolean;
|
25
|
-
};
|
11
|
+
closable: BooleanConstructor;
|
12
|
+
addable: BooleanConstructor;
|
13
|
+
sortable: BooleanConstructor;
|
26
14
|
sortType: import("vue-types").VueTypeDef<string> & {
|
27
15
|
default: string;
|
28
16
|
};
|
@@ -64,15 +52,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
64
52
|
}, {
|
65
53
|
isMounted: import("vue").Ref<boolean>;
|
66
54
|
panels: import("vue").Ref<any[]>;
|
67
|
-
}, unknown, {}, {
|
68
55
|
tabAdd(e: MouseEvent): void;
|
69
56
|
tabChange(name: string): void;
|
70
57
|
tabRemove(index: number, panel: any): void;
|
71
|
-
tabSort(dragTabIndex: number, dropTabIndex: number):
|
58
|
+
tabSort(dragTabIndex: number, dropTabIndex: number, sortType: string): boolean;
|
72
59
|
tabDrag(dragTabIndex: number, dragEvent: DragEvent): void;
|
73
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "add-panel" | "tab-change" | "
|
74
|
-
active: {
|
75
|
-
|
60
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active" | "sort")[], "change" | "drag" | "sort" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
61
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
62
|
+
default: string | number;
|
76
63
|
};
|
77
64
|
type: import("vue-types").VueTypeDef<string> & {
|
78
65
|
default: string;
|
@@ -80,21 +67,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
80
67
|
tabPosition: import("vue-types").VueTypeDef<string> & {
|
81
68
|
default: string;
|
82
69
|
};
|
83
|
-
closable:
|
84
|
-
|
85
|
-
|
86
|
-
default: boolean;
|
87
|
-
};
|
88
|
-
addable: import("vue-types").VueTypeValidableDef<boolean> & {
|
89
|
-
default: boolean;
|
90
|
-
} & {
|
91
|
-
default: boolean;
|
92
|
-
};
|
93
|
-
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
94
|
-
default: boolean;
|
95
|
-
} & {
|
96
|
-
default: boolean;
|
97
|
-
};
|
70
|
+
closable: BooleanConstructor;
|
71
|
+
addable: BooleanConstructor;
|
72
|
+
sortable: BooleanConstructor;
|
98
73
|
sortType: import("vue-types").VueTypeDef<string> & {
|
99
74
|
default: string;
|
100
75
|
};
|
@@ -136,21 +111,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
136
111
|
}>> & {
|
137
112
|
onDrag?: (...args: any[]) => any;
|
138
113
|
onChange?: (...args: any[]) => any;
|
114
|
+
onRemove?: (...args: any[]) => any;
|
139
115
|
onAdd?: (...args: any[]) => any;
|
140
116
|
"onAdd-panel"?: (...args: any[]) => any;
|
141
117
|
"onTab-change"?: (...args: any[]) => any;
|
142
|
-
"
|
118
|
+
"onRemove-panel"?: (...args: any[]) => any;
|
143
119
|
"onSort-change"?: (...args: any[]) => any;
|
144
120
|
"onOn-drag-tab"?: (...args: any[]) => any;
|
145
|
-
onRemove?: (...args: any[]) => any;
|
146
121
|
"onUpdate:active"?: (...args: any[]) => any;
|
147
122
|
onSort?: (...args: any[]) => any;
|
148
123
|
}, {
|
149
124
|
type: string;
|
150
|
-
closable: boolean;
|
151
125
|
extCls: string;
|
126
|
+
closable: boolean;
|
127
|
+
active: string | number;
|
152
128
|
showHeader: boolean;
|
153
129
|
sortType: string;
|
130
|
+
tabPosition: string;
|
154
131
|
addable: boolean;
|
155
132
|
sortable: boolean;
|
156
133
|
labelHeight: number;
|
@@ -158,6 +135,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
158
135
|
validateActive: boolean;
|
159
136
|
changeOnHover: boolean;
|
160
137
|
changeOnHoverDelay: number;
|
161
|
-
tabPosition: string;
|
162
138
|
}>;
|
163
139
|
export default _default;
|