bkui-vue 0.0.1-beta.7 → 0.0.1-beta.70
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 +31 -19
- package/dist/index.cjs.js +57 -0
- package/dist/index.esm.js +23796 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2312
- 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 +102 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +2 -0
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.less +2 -0
- package/lib/alert/alert.variable.css +40 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +38 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +64 -22
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +43 -5
- package/lib/badge/index.d.ts +267 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +18 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +56 -1
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +64 -31
- package/lib/button/button.d.ts +66 -30
- package/lib/button/button.less +53 -33
- package/lib/button/button.variable.css +102 -31
- package/lib/button/index.d.ts +237 -0
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +53 -1
- package/lib/card/card.d.ts +74 -18
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +91 -1
- package/lib/card/index.d.ts +283 -0
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +48 -0
- package/lib/cascader/cascader.css +130 -0
- package/lib/cascader/cascader.d.ts +271 -0
- package/lib/cascader/cascader.less +146 -0
- package/lib/cascader/cascader.variable.css +229 -0
- package/lib/cascader/index.d.ts +721 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +44 -0
- package/lib/cascader/node.d.ts +24 -0
- package/lib/cascader/store.d.ts +15 -0
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +15 -2
- package/lib/checkbox/checkbox.d.ts +33 -30
- package/lib/checkbox/checkbox.less +20 -2
- package/lib/checkbox/checkbox.variable.css +53 -2
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +253 -0
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +4 -8
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +285 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +25 -1
- package/lib/collapse/collapse.d.ts +51 -22
- package/lib/collapse/collapse.less +34 -2
- package/lib/collapse/collapse.variable.css +124 -1
- package/lib/collapse/index.d.ts +182 -0
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/components.d.ts +46 -0
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +48 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +147 -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/date-picker.css +408 -0
- package/lib/date-picker/date-picker.d.ts +311 -0
- package/lib/date-picker/date-picker.less +527 -0
- package/lib/date-picker/date-picker.variable.css +507 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +750 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +118 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +49 -0
- package/lib/dialog/dialog.d.ts +294 -52
- package/lib/dialog/dialog.less +16 -0
- package/lib/dialog/dialog.variable.css +49 -0
- package/lib/dialog/index.d.ts +749 -0
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -23
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +137 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +47 -0
- package/lib/dropdown/dropdown.d.ts +63 -0
- package/lib/dropdown/dropdown.less +59 -0
- package/lib/dropdown/dropdown.variable.css +146 -0
- package/lib/dropdown/index.d.ts +200 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +38 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +38 -0
- package/lib/fixed-navbar/index.d.ts +147 -0
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/common.d.ts +3 -0
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +155 -0
- package/lib/form/form.css +125 -0
- package/lib/form/form.d.ts +67 -0
- package/lib/form/form.less +152 -0
- package/lib/form/form.variable.css +224 -0
- package/lib/form/index.d.ts +280 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +22 -0
- package/lib/form/validator.d.ts +8 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.d.ts +4 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.d.ts +4 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +1 -0
- 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.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.d.ts +4 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- 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.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.d.ts +69 -0
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.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.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.d.ts +4 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- 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.d.ts +4 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +541 -0
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +78 -4
- package/lib/input/input.d.ts +178 -48
- package/lib/input/input.less +89 -8
- package/lib/input/input.variable.css +117 -4
- package/lib/link/index.d.ts +164 -0
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +38 -0
- package/lib/loading/index.d.ts +172 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +121 -75
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +78 -60
- package/lib/loading/loading.variable.css +159 -75
- package/lib/menu/index.d.ts +188 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +190 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +289 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +102 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +62 -0
- package/lib/message/message.less +72 -0
- package/lib/message/message.variable.css +161 -0
- package/lib/message/messageConstructor.d.ts +106 -0
- package/lib/modal/index.d.ts +627 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +30 -1
- package/lib/modal/modal.d.ts +204 -24
- package/lib/modal/modal.less +39 -1
- package/lib/modal/modal.variable.css +30 -1
- package/lib/modal/props.mixin.d.ts +87 -10
- package/lib/navigation/index.d.ts +292 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +111 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +283 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +65 -0
- package/lib/notify/notify.less +76 -0
- package/lib/notify/notify.variable.css +164 -0
- package/lib/notify/notifyConstructor.d.ts +135 -0
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +278 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +364 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +26 -14
- package/lib/popover/popover.d.ts +111 -45
- package/lib/popover/popover.less +59 -46
- package/lib/popover/popover.variable.css +64 -14
- package/lib/popover/props.d.ts +99 -0
- package/lib/preset.d.ts +7 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +237 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +8 -3
- package/lib/progress/progress.d.ts +88 -35
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +46 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +278 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +29 -20
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +14 -8
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +16 -9
- package/lib/radio/radio.variable.css +53 -9
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +113 -0
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +189 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +288 -0
- package/lib/select/common.d.ts +23 -17
- package/lib/select/index.d.ts +1377 -0
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +12 -19
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +245 -29
- package/lib/select/select.d.ts +282 -156
- package/lib/select/select.less +237 -40
- package/lib/select/select.variable.css +283 -29
- package/lib/select/type.d.ts +31 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +71 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +60 -6
- package/lib/shared/token.d.ts +2 -0
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +12 -7
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +531 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +48 -3
- package/lib/sideslider/sideslider.d.ts +205 -30
- package/lib/sideslider/sideslider.less +65 -6
- package/lib/sideslider/sideslider.variable.css +86 -3
- package/lib/slider/index.d.ts +440 -0
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +80 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +248 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +4 -1
- package/lib/steps/steps.d.ts +42 -29
- package/lib/steps/steps.less +5 -1
- package/lib/steps/steps.variable.css +42 -1
- package/lib/styles/index.d.ts +51 -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 +8 -0
- package/lib/styles/mixins/mixins.less +1 -0
- package/lib/styles/mixins/mixins.variable.css +8 -0
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +60 -2
- 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 +286 -0
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +157 -135
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.less +211 -153
- package/lib/switcher/switcher.variable.css +195 -135
- package/lib/tab/index.d.ts +440 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +169 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +167 -0
- package/lib/tab/tab.d.ts +139 -0
- package/lib/tab/tab.less +228 -0
- package/lib/tab/tab.variable.css +266 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +359 -0
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +83 -0
- package/lib/table/plugins/head-filter.variable.css +167 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/lib/table/plugins/head-sort.less +28 -0
- package/lib/table/plugins/head-sort.variable.css +121 -0
- package/lib/table/plugins/settings.css +110 -0
- package/lib/table/plugins/settings.less +136 -0
- package/lib/table/plugins/settings.variable.css +209 -0
- package/lib/table/props.d.ts +189 -0
- package/lib/table/render.d.ts +121 -0
- package/lib/table/table.css +387 -0
- package/lib/table/table.d.ts +114 -36
- package/lib/table/table.less +229 -1
- package/lib/table/table.variable.css +425 -0
- package/lib/table/use-common.d.ts +19 -0
- package/lib/table/utils.d.ts +93 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.less +110 -2
- package/lib/tag/tag.variable.css +135 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +894 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +209 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +251 -0
- package/lib/tag-input/tag-input.variable.css +308 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +334 -0
- package/lib/transfer/index.d.ts +351 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/transfer.css +158 -0
- package/lib/transfer/transfer.d.ts +185 -0
- package/lib/transfer/transfer.less +171 -0
- package/lib/transfer/transfer.variable.css +257 -0
- package/lib/tree/constant.d.ts +29 -0
- package/lib/tree/index.d.ts +404 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +145 -0
- package/lib/tree/tree.css +53 -0
- package/lib/tree/tree.d.ts +172 -0
- package/lib/tree/tree.less +66 -0
- package/lib/tree/tree.variable.css +152 -0
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +10 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +22 -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 +12 -0
- package/lib/tree/util.d.ts +66 -0
- package/lib/upload/index.d.ts +2 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +113 -0
- package/lib/upload/upload-list.d.ts +46 -0
- package/lib/upload/upload-trigger.d.ts +54 -0
- package/lib/upload/upload.css +374 -0
- package/lib/upload/upload.d.ts +252 -0
- package/lib/upload/upload.less +455 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +473 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +579 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +167 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +6 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +255 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +107 -78
- package/dist/bkui-vue.cjs.js +0 -4978
- package/dist/bkui-vue.esm.js +0 -4974
- package/dist/bkui-vue.umd.js +0 -4981
- package/lib/styles/index.js +0 -1
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
@@ -1,12 +1,15 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
6
7
|
--danger-color: #ea3636;
|
7
8
|
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
8
10
|
--light-gray: #c4c6cc;
|
9
11
|
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
10
13
|
--disable-color: #dcdee5;
|
11
14
|
--font-size-base: 12px;
|
12
15
|
--font-size-medium: 14px;
|
@@ -58,6 +61,41 @@
|
|
58
61
|
--link-success-disabled-color: #94f5a4;
|
59
62
|
--link-warning-disabled-color: #ffd695;
|
60
63
|
--link-danger-disabled-color: #fd9c9c;
|
64
|
+
--message-color: var(--default-color);
|
65
|
+
--message-primary-bg-color: #f0f8ff;
|
66
|
+
--message-primary-border-color: #e1ecff;
|
67
|
+
--message-warning-bg-color: #fff4e2;
|
68
|
+
--message-warning-border-color: #ffe8c3;
|
69
|
+
--message-success-bg-color: #f2fff4;
|
70
|
+
--message-success-border-color: #dcffe2;
|
71
|
+
--message-danger-bg-color: #ffeded;
|
72
|
+
--message-danger-border-color: #ffdddd;
|
73
|
+
--slider-default-bg: #dcdee5;
|
74
|
+
--slider-disable-bar-bg: #979ba5;
|
75
|
+
--menu-bg-color: #182132;
|
76
|
+
--submenu-bg-color: #151d2c;
|
77
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
78
|
+
--menu-color: #96a2b9;
|
79
|
+
--menu-group-color: var(--default-color);
|
80
|
+
--menu-width: 260px;
|
81
|
+
--menu-collapse-width: 60px;
|
82
|
+
--menu-active-color: white;
|
83
|
+
--nav-header-bg-color: #182132;
|
84
|
+
--nav-bg-color: #182132;
|
85
|
+
--date-picker-disabled-bg: #fafbfd;
|
86
|
+
--date-picker-dropdown-mb: 4px;
|
87
|
+
--date-picker-dropdown-bg: #fff;
|
88
|
+
--table-bg-color: var(--white-color);
|
89
|
+
--table-border-color: #dcdee5;
|
90
|
+
--table-head-bg-color: #fafbfd;
|
91
|
+
--table-head-font-color: #313238;
|
92
|
+
--table-body-font-color: #575961;
|
93
|
+
--table-row-hover-bg-color: #f5f7fa;
|
94
|
+
--table-row-active-bg-color: #f0f1f5;
|
95
|
+
--cascader-panel-border-color: #dcdee5;
|
96
|
+
--cascader-panel-hover: #eaf3ff;
|
97
|
+
--cascader-panel-active: #f4f6fa;
|
98
|
+
--cascader-panel-disabled-bg: #fff;
|
61
99
|
}
|
62
100
|
@keyframes loading-scale-animate {
|
63
101
|
0% {
|
@@ -80,39 +118,111 @@
|
|
80
118
|
.bk-fade-transtion .bk-fade-leave-to {
|
81
119
|
opacity: 0;
|
82
120
|
}
|
121
|
+
.clearfix-style::after {
|
122
|
+
display: block;
|
123
|
+
height: 0;
|
124
|
+
clear: both;
|
125
|
+
font-size: 0;
|
126
|
+
content: '';
|
127
|
+
visibility: hidden;
|
128
|
+
}
|
129
|
+
.bk-textarea {
|
130
|
+
width: 100%;
|
131
|
+
min-height: 70px;
|
132
|
+
font-size: var(--font-size-base);
|
133
|
+
line-height: 20px;
|
134
|
+
background-color: white;
|
135
|
+
border: var(--border-width-base) var(--border-style-base) var(--input-border-color);
|
136
|
+
border-radius: 2px;
|
137
|
+
border-radius: var(--border-radius-base);
|
138
|
+
box-sizing: border-box;
|
139
|
+
transition: all 0.3s;
|
140
|
+
}
|
141
|
+
.bk-textarea > textarea {
|
142
|
+
width: 100%;
|
143
|
+
padding: 5px 10px;
|
144
|
+
line-height: 1.5;
|
145
|
+
text-align: left;
|
146
|
+
vertical-align: middle;
|
147
|
+
border: 0;
|
148
|
+
outline: none;
|
149
|
+
resize: none;
|
150
|
+
}
|
151
|
+
.bk-textarea--max-length {
|
152
|
+
padding-right: var(--input-horizontal-padding);
|
153
|
+
margin: 0;
|
154
|
+
text-align: right;
|
155
|
+
}
|
156
|
+
.bk-textarea--max-length span {
|
157
|
+
color: var(--input-maxlength-color);
|
158
|
+
}
|
83
159
|
.bk-input {
|
84
160
|
display: flex;
|
85
161
|
align-items: stretch;
|
162
|
+
width: 100%;
|
86
163
|
height: var(--input-height-base);
|
87
164
|
font-size: var(--font-size-base);
|
88
165
|
border: var(--border-width-base) var(--border-style-base) var(--input-border-color);
|
89
166
|
border-radius: var(--border-radius-base);
|
90
167
|
transition: all 0.3s;
|
91
168
|
}
|
169
|
+
.bk-input:hover .show-clear-only-hover {
|
170
|
+
display: block;
|
171
|
+
}
|
172
|
+
.bk-input.is-simplicity {
|
173
|
+
background-color: transparent;
|
174
|
+
border-color: transparent;
|
175
|
+
border-bottom-color: var(--input-border-color);
|
176
|
+
}
|
92
177
|
.bk-input--suffix-icon {
|
93
178
|
padding-right: var(--input-horizontal-padding);
|
94
179
|
font-size: var(--input-icon-size);
|
180
|
+
line-height: 1;
|
95
181
|
color: var(--light-gray);
|
96
182
|
align-self: center;
|
97
183
|
}
|
184
|
+
.bk-input--suffix-icon.show-clear-only-hover {
|
185
|
+
display: none;
|
186
|
+
}
|
98
187
|
.bk-input--large {
|
99
188
|
height: var(--component-size-large);
|
189
|
+
font-size: var(--font-size-medium);
|
190
|
+
}
|
191
|
+
.bk-input--large .bk-input--max-length {
|
100
192
|
font-size: var(--font-size-large);
|
101
193
|
}
|
102
194
|
.bk-input--small {
|
103
195
|
height: var(--component-size-small);
|
104
196
|
font-size: var(--font-size-base);
|
105
197
|
}
|
198
|
+
.bk-input--small .bk-input--max-length {
|
199
|
+
font-size: var(--font-size-base);
|
200
|
+
}
|
201
|
+
.bk-input--default {
|
202
|
+
font-size: var(--font-size-base);
|
203
|
+
}
|
204
|
+
.bk-input--default .bk-input--max-length {
|
205
|
+
font-size: var(--font-size-base);
|
206
|
+
}
|
106
207
|
.bk-input.is-focused:not(.is-readonly) {
|
107
208
|
border-color: var(--primary-color);
|
108
209
|
outline: 0;
|
109
210
|
box-shadow: 0px 0px 3px 0px var(--input-shadow-color);
|
110
211
|
}
|
111
|
-
.bk-input.is-
|
212
|
+
.bk-input.is-focused:not(.is-readonly).is-simplicity {
|
213
|
+
border-color: transparent;
|
214
|
+
border-bottom-color: var(--primary-color);
|
215
|
+
box-shadow: none;
|
216
|
+
}
|
217
|
+
.bk-input.is-disabled input,
|
218
|
+
.bk-input.is-readonly input {
|
112
219
|
cursor: not-allowed;
|
113
220
|
background-color: var(--input-disabled-bg);
|
114
221
|
opacity: 1;
|
115
222
|
}
|
223
|
+
.bk-input.is-readonly input {
|
224
|
+
cursor: auto;
|
225
|
+
}
|
116
226
|
.bk-input--prefix-area,
|
117
227
|
.bk-input--suffix-area {
|
118
228
|
display: flex;
|
@@ -134,8 +244,8 @@
|
|
134
244
|
color: var(--input-maxlength-color);
|
135
245
|
}
|
136
246
|
.bk-input--text {
|
247
|
+
width: 100%;
|
137
248
|
padding: 0 var(--input-horizontal-padding);
|
138
|
-
font-size: var(--font-size-base);
|
139
249
|
line-height: 1;
|
140
250
|
color: var(--input-color);
|
141
251
|
background-color: var(--input-bg);
|
@@ -152,12 +262,12 @@
|
|
152
262
|
.bk-input--text[type='search']::-webkit-search-results-decoration {
|
153
263
|
appearance: none;
|
154
264
|
}
|
155
|
-
.bk-input--text [type=search]::-ms-clear {
|
265
|
+
.bk-input--text [type='search']::-ms-clear {
|
156
266
|
display: none;
|
157
267
|
width: 0;
|
158
268
|
height: 0;
|
159
269
|
}
|
160
|
-
.bk-input--text [type=search]::-ms-reveal {
|
270
|
+
.bk-input--text [type='search']::-ms-reveal {
|
161
271
|
display: none;
|
162
272
|
width: 0;
|
163
273
|
height: 0;
|
@@ -175,12 +285,15 @@
|
|
175
285
|
height: 100%;
|
176
286
|
font-size: 0;
|
177
287
|
flex-direction: column;
|
288
|
+
user-select: none;
|
178
289
|
}
|
179
290
|
.bk-input--number-control span {
|
180
291
|
display: block;
|
181
292
|
height: 50%;
|
182
293
|
overflow: hidden;
|
294
|
+
line-height: 1;
|
183
295
|
color: var(--light-gray);
|
296
|
+
text-align: center;
|
184
297
|
}
|
185
298
|
.bk-input--number-control svg {
|
186
299
|
font-size: var(--input-icon-size);
|
@@ -0,0 +1,164 @@
|
|
1
|
+
declare const BkLink: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
target: string;
|
7
|
+
theme: string;
|
8
|
+
underline: boolean;
|
9
|
+
disabled: boolean;
|
10
|
+
href: string;
|
11
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
12
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
16
|
+
default: string;
|
17
|
+
} & {
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
21
|
+
default: boolean;
|
22
|
+
} & {
|
23
|
+
default: boolean;
|
24
|
+
};
|
25
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
26
|
+
default: boolean;
|
27
|
+
} & {
|
28
|
+
default: boolean;
|
29
|
+
};
|
30
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
31
|
+
default: string;
|
32
|
+
} & {
|
33
|
+
default: string;
|
34
|
+
};
|
35
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "target" | "theme" | "underline" | "disabled" | "href">;
|
36
|
+
$attrs: {
|
37
|
+
[x: string]: unknown;
|
38
|
+
};
|
39
|
+
$refs: {
|
40
|
+
[x: string]: unknown;
|
41
|
+
};
|
42
|
+
$slots: Readonly<{
|
43
|
+
[name: string]: import("vue").Slot;
|
44
|
+
}>;
|
45
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
46
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
47
|
+
$emit: (event: string, ...args: any[]) => void;
|
48
|
+
$el: any;
|
49
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
50
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
54
|
+
default: string;
|
55
|
+
} & {
|
56
|
+
default: string;
|
57
|
+
};
|
58
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
59
|
+
default: boolean;
|
60
|
+
} & {
|
61
|
+
default: boolean;
|
62
|
+
};
|
63
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
64
|
+
default: boolean;
|
65
|
+
} & {
|
66
|
+
default: boolean;
|
67
|
+
};
|
68
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
69
|
+
default: string;
|
70
|
+
} & {
|
71
|
+
default: string;
|
72
|
+
};
|
73
|
+
}>>, {
|
74
|
+
handleClick: (event: Event) => boolean;
|
75
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
76
|
+
target: string;
|
77
|
+
theme: string;
|
78
|
+
underline: boolean;
|
79
|
+
disabled: boolean;
|
80
|
+
href: string;
|
81
|
+
}> & {
|
82
|
+
beforeCreate?: (() => void) | (() => void)[];
|
83
|
+
created?: (() => void) | (() => void)[];
|
84
|
+
beforeMount?: (() => void) | (() => void)[];
|
85
|
+
mounted?: (() => void) | (() => void)[];
|
86
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
87
|
+
updated?: (() => void) | (() => void)[];
|
88
|
+
activated?: (() => void) | (() => void)[];
|
89
|
+
deactivated?: (() => void) | (() => void)[];
|
90
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
91
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
92
|
+
destroyed?: (() => void) | (() => void)[];
|
93
|
+
unmounted?: (() => void) | (() => void)[];
|
94
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
95
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
96
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
97
|
+
};
|
98
|
+
$forceUpdate: () => void;
|
99
|
+
$nextTick: typeof import("vue").nextTick;
|
100
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
101
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
102
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
103
|
+
default: string;
|
104
|
+
};
|
105
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
106
|
+
default: string;
|
107
|
+
} & {
|
108
|
+
default: string;
|
109
|
+
};
|
110
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
111
|
+
default: boolean;
|
112
|
+
} & {
|
113
|
+
default: boolean;
|
114
|
+
};
|
115
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
116
|
+
default: boolean;
|
117
|
+
} & {
|
118
|
+
default: boolean;
|
119
|
+
};
|
120
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
121
|
+
default: string;
|
122
|
+
} & {
|
123
|
+
default: string;
|
124
|
+
};
|
125
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
126
|
+
handleClick: (event: Event) => boolean;
|
127
|
+
}> & {} & {} & import("vue").ComponentCustomProperties;
|
128
|
+
__isFragment?: never;
|
129
|
+
__isTeleport?: never;
|
130
|
+
__isSuspense?: never;
|
131
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
132
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
133
|
+
default: string;
|
134
|
+
};
|
135
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
136
|
+
default: string;
|
137
|
+
} & {
|
138
|
+
default: string;
|
139
|
+
};
|
140
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
141
|
+
default: boolean;
|
142
|
+
} & {
|
143
|
+
default: boolean;
|
144
|
+
};
|
145
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
146
|
+
default: boolean;
|
147
|
+
} & {
|
148
|
+
default: boolean;
|
149
|
+
};
|
150
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
151
|
+
default: string;
|
152
|
+
} & {
|
153
|
+
default: string;
|
154
|
+
};
|
155
|
+
}>>, {
|
156
|
+
handleClick: (event: Event) => boolean;
|
157
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
158
|
+
target: string;
|
159
|
+
theme: string;
|
160
|
+
underline: boolean;
|
161
|
+
disabled: boolean;
|
162
|
+
href: string;
|
163
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
164
|
+
export default BkLink;
|
package/lib/link/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue")):r(e["../shared"],e.vue);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r)=>(()=>{"use strict";var t={4212:r=>{r.exports=e},748:e=>{e.exports=r}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var s=o[e]={exports:{}};return t[e](s,s.exports,n),s.exports}n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{n.r(s),n.d(s,{default:()=>o});var e=n(4212),r=n(748);const t=(0,r.defineComponent)({name:"Link",props:{theme:e.PropTypes.theme(["danger","success","primary","warning","default"]).def("default"),href:e.PropTypes.string.def(""),disabled:e.PropTypes.bool.def(!1),underline:e.PropTypes.bool.def(!1),target:e.PropTypes.string.def("_self")},setup:function(e,r){var t=r.emit;return{handleClick:function(r){if(e.disabled)return r.preventDefault(),!1;t("click",r)}}},render:function(){var t,o,n=(0,e.classes)({"is-disabled":this.disabled,"has-underline":this.underline},"".concat(this.theme," bk-link"));return(0,r.createVNode)("a",{href:this.href,target:this.target,class:n,onClick:this.handleClick},[(0,r.createVNode)("span",null,[null===(o=(t=this.$slots).default)||void 0===o?void 0:o.call(t)])])}}),o=(0,e.withInstall)(t)})(),s})()));
|
package/lib/link/link.d.ts
CHANGED
@@ -24,21 +24,33 @@ declare const _default: import("vue").DefineComponent<{
|
|
24
24
|
};
|
25
25
|
}, {
|
26
26
|
handleClick: (event: Event) => boolean;
|
27
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
28
|
-
theme
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
} & {
|
34
|
-
|
27
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
28
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
29
|
+
default: string;
|
30
|
+
};
|
31
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
32
|
+
default: string;
|
33
|
+
} & {
|
34
|
+
default: string;
|
35
|
+
};
|
36
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
37
|
+
default: boolean;
|
38
|
+
} & {
|
39
|
+
default: boolean;
|
40
|
+
};
|
41
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
42
|
+
default: boolean;
|
43
|
+
} & {
|
44
|
+
default: boolean;
|
45
|
+
};
|
46
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
47
|
+
default: string;
|
48
|
+
} & {
|
49
|
+
default: string;
|
50
|
+
};
|
51
|
+
}>>, {
|
35
52
|
target: string;
|
36
|
-
underline: boolean;
|
37
|
-
disabled: boolean;
|
38
|
-
href: string;
|
39
|
-
} & {}> & {}, {
|
40
53
|
theme: string;
|
41
|
-
target: string;
|
42
54
|
underline: boolean;
|
43
55
|
disabled: boolean;
|
44
56
|
href: string;
|
@@ -1,12 +1,15 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
6
7
|
--danger-color: #ea3636;
|
7
8
|
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
8
10
|
--light-gray: #c4c6cc;
|
9
11
|
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
10
13
|
--disable-color: #dcdee5;
|
11
14
|
--font-size-base: 12px;
|
12
15
|
--font-size-medium: 14px;
|
@@ -58,6 +61,41 @@
|
|
58
61
|
--link-success-disabled-color: #94f5a4;
|
59
62
|
--link-warning-disabled-color: #ffd695;
|
60
63
|
--link-danger-disabled-color: #fd9c9c;
|
64
|
+
--message-color: var(--default-color);
|
65
|
+
--message-primary-bg-color: #f0f8ff;
|
66
|
+
--message-primary-border-color: #e1ecff;
|
67
|
+
--message-warning-bg-color: #fff4e2;
|
68
|
+
--message-warning-border-color: #ffe8c3;
|
69
|
+
--message-success-bg-color: #f2fff4;
|
70
|
+
--message-success-border-color: #dcffe2;
|
71
|
+
--message-danger-bg-color: #ffeded;
|
72
|
+
--message-danger-border-color: #ffdddd;
|
73
|
+
--slider-default-bg: #dcdee5;
|
74
|
+
--slider-disable-bar-bg: #979ba5;
|
75
|
+
--menu-bg-color: #182132;
|
76
|
+
--submenu-bg-color: #151d2c;
|
77
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
78
|
+
--menu-color: #96a2b9;
|
79
|
+
--menu-group-color: var(--default-color);
|
80
|
+
--menu-width: 260px;
|
81
|
+
--menu-collapse-width: 60px;
|
82
|
+
--menu-active-color: white;
|
83
|
+
--nav-header-bg-color: #182132;
|
84
|
+
--nav-bg-color: #182132;
|
85
|
+
--date-picker-disabled-bg: #fafbfd;
|
86
|
+
--date-picker-dropdown-mb: 4px;
|
87
|
+
--date-picker-dropdown-bg: #fff;
|
88
|
+
--table-bg-color: var(--white-color);
|
89
|
+
--table-border-color: #dcdee5;
|
90
|
+
--table-head-bg-color: #fafbfd;
|
91
|
+
--table-head-font-color: #313238;
|
92
|
+
--table-body-font-color: #575961;
|
93
|
+
--table-row-hover-bg-color: #f5f7fa;
|
94
|
+
--table-row-active-bg-color: #f0f1f5;
|
95
|
+
--cascader-panel-border-color: #dcdee5;
|
96
|
+
--cascader-panel-hover: #eaf3ff;
|
97
|
+
--cascader-panel-active: #f4f6fa;
|
98
|
+
--cascader-panel-disabled-bg: #fff;
|
61
99
|
}
|
62
100
|
.bk-link {
|
63
101
|
font-size: var(--font-size-medium);
|
@@ -0,0 +1,172 @@
|
|
1
|
+
import { BkLoadingMode, BkLoadingSize, setDefaultIndicator } from './loading';
|
2
|
+
declare const BkLoading: {
|
3
|
+
new (...args: any[]): {
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
5
|
+
$data: {};
|
6
|
+
$props: Partial<{
|
7
|
+
title: string;
|
8
|
+
inline: boolean;
|
9
|
+
size: string;
|
10
|
+
loading: boolean;
|
11
|
+
mode: string;
|
12
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
13
|
+
indicator: {
|
14
|
+
type: FunctionConstructor;
|
15
|
+
};
|
16
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
17
|
+
default: boolean;
|
18
|
+
} & {
|
19
|
+
default: boolean;
|
20
|
+
};
|
21
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
22
|
+
default: boolean;
|
23
|
+
} & {
|
24
|
+
default: boolean;
|
25
|
+
};
|
26
|
+
theme: import("vue-types").VueTypeDef<string>;
|
27
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
28
|
+
default: string;
|
29
|
+
} & {
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
size: import("vue-types").VueTypeDef<string> & {
|
33
|
+
default: string;
|
34
|
+
};
|
35
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
36
|
+
default: string;
|
37
|
+
};
|
38
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "inline" | "size" | "loading" | "mode">;
|
39
|
+
$attrs: {
|
40
|
+
[x: string]: unknown;
|
41
|
+
};
|
42
|
+
$refs: {
|
43
|
+
[x: string]: unknown;
|
44
|
+
};
|
45
|
+
$slots: Readonly<{
|
46
|
+
[name: string]: import("vue").Slot;
|
47
|
+
}>;
|
48
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
49
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
50
|
+
$emit: (event: string, ...args: any[]) => void;
|
51
|
+
$el: any;
|
52
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
53
|
+
indicator: {
|
54
|
+
type: FunctionConstructor;
|
55
|
+
};
|
56
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
57
|
+
default: boolean;
|
58
|
+
} & {
|
59
|
+
default: boolean;
|
60
|
+
};
|
61
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
62
|
+
default: boolean;
|
63
|
+
} & {
|
64
|
+
default: boolean;
|
65
|
+
};
|
66
|
+
theme: import("vue-types").VueTypeDef<string>;
|
67
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
68
|
+
default: string;
|
69
|
+
} & {
|
70
|
+
default: string;
|
71
|
+
};
|
72
|
+
size: import("vue-types").VueTypeDef<string> & {
|
73
|
+
default: string;
|
74
|
+
};
|
75
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
76
|
+
default: string;
|
77
|
+
};
|
78
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
79
|
+
title: string;
|
80
|
+
inline: boolean;
|
81
|
+
size: string;
|
82
|
+
loading: boolean;
|
83
|
+
mode: string;
|
84
|
+
}> & {
|
85
|
+
beforeCreate?: (() => void) | (() => void)[];
|
86
|
+
created?: (() => void) | (() => void)[];
|
87
|
+
beforeMount?: (() => void) | (() => void)[];
|
88
|
+
mounted?: (() => void) | (() => void)[];
|
89
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
90
|
+
updated?: (() => void) | (() => void)[];
|
91
|
+
activated?: (() => void) | (() => void)[];
|
92
|
+
deactivated?: (() => void) | (() => void)[];
|
93
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
94
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
95
|
+
destroyed?: (() => void) | (() => void)[];
|
96
|
+
unmounted?: (() => void) | (() => void)[];
|
97
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
98
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
99
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
100
|
+
};
|
101
|
+
$forceUpdate: () => void;
|
102
|
+
$nextTick: typeof import("vue").nextTick;
|
103
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
104
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
105
|
+
indicator: {
|
106
|
+
type: FunctionConstructor;
|
107
|
+
};
|
108
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
109
|
+
default: boolean;
|
110
|
+
} & {
|
111
|
+
default: boolean;
|
112
|
+
};
|
113
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
114
|
+
default: boolean;
|
115
|
+
} & {
|
116
|
+
default: boolean;
|
117
|
+
};
|
118
|
+
theme: import("vue-types").VueTypeDef<string>;
|
119
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
120
|
+
default: string;
|
121
|
+
} & {
|
122
|
+
default: string;
|
123
|
+
};
|
124
|
+
size: import("vue-types").VueTypeDef<string> & {
|
125
|
+
default: string;
|
126
|
+
};
|
127
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
128
|
+
default: string;
|
129
|
+
};
|
130
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
131
|
+
__isFragment?: never;
|
132
|
+
__isTeleport?: never;
|
133
|
+
__isSuspense?: never;
|
134
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
135
|
+
indicator: {
|
136
|
+
type: FunctionConstructor;
|
137
|
+
};
|
138
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
139
|
+
default: boolean;
|
140
|
+
} & {
|
141
|
+
default: boolean;
|
142
|
+
};
|
143
|
+
inline: import("vue-types").VueTypeValidableDef<boolean> & {
|
144
|
+
default: boolean;
|
145
|
+
} & {
|
146
|
+
default: boolean;
|
147
|
+
};
|
148
|
+
theme: import("vue-types").VueTypeDef<string>;
|
149
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
150
|
+
default: string;
|
151
|
+
} & {
|
152
|
+
default: string;
|
153
|
+
};
|
154
|
+
size: import("vue-types").VueTypeDef<string> & {
|
155
|
+
default: string;
|
156
|
+
};
|
157
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
158
|
+
default: string;
|
159
|
+
};
|
160
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
161
|
+
title: string;
|
162
|
+
inline: boolean;
|
163
|
+
size: string;
|
164
|
+
loading: boolean;
|
165
|
+
mode: string;
|
166
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
167
|
+
setDefaultIndicator: typeof setDefaultIndicator;
|
168
|
+
BkLoadingMode: typeof BkLoadingMode;
|
169
|
+
BkLoadingSize: typeof BkLoadingSize;
|
170
|
+
}>;
|
171
|
+
export default BkLoading;
|
172
|
+
export { BkLoading, setDefaultIndicator, BkLoadingMode, BkLoadingSize, };
|