bkui-vue 0.0.1-beta.7 → 0.0.1-beta.72
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 +23860 -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 +31 -0
- package/lib/tree/index.d.ts +426 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +149 -0
- package/lib/tree/tree.css +53 -0
- package/lib/tree/tree.d.ts +182 -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 +11 -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 +13 -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
@@ -0,0 +1,194 @@
|
|
1
|
+
import BreadcrumbItem from './breadcrumb-item';
|
2
|
+
declare const BkBreadcrumb: {
|
3
|
+
new (...args: any[]): {
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
5
|
+
$data: {};
|
6
|
+
$props: Partial<{
|
7
|
+
replace: boolean;
|
8
|
+
extCls: string;
|
9
|
+
separator: string;
|
10
|
+
separatorClass: string;
|
11
|
+
backRouter: string | {
|
12
|
+
[key: string]: any;
|
13
|
+
};
|
14
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
16
|
+
default: string;
|
17
|
+
};
|
18
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
19
|
+
default: string;
|
20
|
+
} & {
|
21
|
+
default: string;
|
22
|
+
};
|
23
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
24
|
+
default: string;
|
25
|
+
};
|
26
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
27
|
+
default: boolean;
|
28
|
+
};
|
29
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
30
|
+
[key: string]: any;
|
31
|
+
}> & {
|
32
|
+
default: string | (() => {
|
33
|
+
[key: string]: any;
|
34
|
+
});
|
35
|
+
};
|
36
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "replace" | "extCls" | "separator" | "separatorClass" | "backRouter">;
|
37
|
+
$attrs: {
|
38
|
+
[x: string]: unknown;
|
39
|
+
};
|
40
|
+
$refs: {
|
41
|
+
[x: string]: unknown;
|
42
|
+
};
|
43
|
+
$slots: Readonly<{
|
44
|
+
[name: string]: import("vue").Slot;
|
45
|
+
}>;
|
46
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
47
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
48
|
+
$emit: (event: string, ...args: any[]) => void;
|
49
|
+
$el: any;
|
50
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
51
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
52
|
+
default: string;
|
53
|
+
};
|
54
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
55
|
+
default: string;
|
56
|
+
} & {
|
57
|
+
default: string;
|
58
|
+
};
|
59
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
60
|
+
default: string;
|
61
|
+
};
|
62
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
63
|
+
default: boolean;
|
64
|
+
};
|
65
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
66
|
+
[key: string]: any;
|
67
|
+
}> & {
|
68
|
+
default: string | (() => {
|
69
|
+
[key: string]: any;
|
70
|
+
});
|
71
|
+
};
|
72
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
73
|
+
replace: boolean;
|
74
|
+
extCls: string;
|
75
|
+
separator: string;
|
76
|
+
separatorClass: string;
|
77
|
+
backRouter: string | {
|
78
|
+
[key: string]: any;
|
79
|
+
};
|
80
|
+
}> & {
|
81
|
+
beforeCreate?: (() => void) | (() => void)[];
|
82
|
+
created?: (() => void) | (() => void)[];
|
83
|
+
beforeMount?: (() => void) | (() => void)[];
|
84
|
+
mounted?: (() => void) | (() => void)[];
|
85
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
86
|
+
updated?: (() => void) | (() => void)[];
|
87
|
+
activated?: (() => void) | (() => void)[];
|
88
|
+
deactivated?: (() => void) | (() => void)[];
|
89
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
90
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
91
|
+
destroyed?: (() => void) | (() => void)[];
|
92
|
+
unmounted?: (() => void) | (() => void)[];
|
93
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
94
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
95
|
+
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)[];
|
96
|
+
};
|
97
|
+
$forceUpdate: () => void;
|
98
|
+
$nextTick: typeof import("vue").nextTick;
|
99
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
100
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
101
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
102
|
+
default: string;
|
103
|
+
};
|
104
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
105
|
+
default: string;
|
106
|
+
} & {
|
107
|
+
default: string;
|
108
|
+
};
|
109
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
110
|
+
default: string;
|
111
|
+
};
|
112
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
113
|
+
default: boolean;
|
114
|
+
};
|
115
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
116
|
+
[key: string]: any;
|
117
|
+
}> & {
|
118
|
+
default: string | (() => {
|
119
|
+
[key: string]: any;
|
120
|
+
});
|
121
|
+
};
|
122
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
123
|
+
__isFragment?: never;
|
124
|
+
__isTeleport?: never;
|
125
|
+
__isSuspense?: never;
|
126
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
127
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
128
|
+
default: string;
|
129
|
+
};
|
130
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
131
|
+
default: string;
|
132
|
+
} & {
|
133
|
+
default: string;
|
134
|
+
};
|
135
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
136
|
+
default: string;
|
137
|
+
};
|
138
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
139
|
+
default: boolean;
|
140
|
+
};
|
141
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
142
|
+
[key: string]: any;
|
143
|
+
}> & {
|
144
|
+
default: string | (() => {
|
145
|
+
[key: string]: any;
|
146
|
+
});
|
147
|
+
};
|
148
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
149
|
+
replace: boolean;
|
150
|
+
extCls: string;
|
151
|
+
separator: string;
|
152
|
+
separatorClass: string;
|
153
|
+
backRouter: string | {
|
154
|
+
[key: string]: any;
|
155
|
+
};
|
156
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
157
|
+
Item: import("vue").DefineComponent<{
|
158
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
159
|
+
default: string;
|
160
|
+
};
|
161
|
+
to: import("vue-types").VueTypeDef<string | {
|
162
|
+
[key: string]: any;
|
163
|
+
}> & {
|
164
|
+
default: string | (() => {
|
165
|
+
[key: string]: any;
|
166
|
+
});
|
167
|
+
};
|
168
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
169
|
+
default: boolean;
|
170
|
+
};
|
171
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
172
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
173
|
+
default: string;
|
174
|
+
};
|
175
|
+
to: import("vue-types").VueTypeDef<string | {
|
176
|
+
[key: string]: any;
|
177
|
+
}> & {
|
178
|
+
default: string | (() => {
|
179
|
+
[key: string]: any;
|
180
|
+
});
|
181
|
+
};
|
182
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
183
|
+
default: boolean;
|
184
|
+
};
|
185
|
+
}>>, {
|
186
|
+
replace: boolean;
|
187
|
+
extCls: string;
|
188
|
+
to: string | {
|
189
|
+
[key: string]: any;
|
190
|
+
};
|
191
|
+
}>;
|
192
|
+
}>;
|
193
|
+
export { BkBreadcrumb, BreadcrumbItem as BkBreadcrumbItem, };
|
194
|
+
export default BkBreadcrumb;
|
package/lib/breadcrumb/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,r){"object"==typeof exports&&"
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],r);else{var o="object"==typeof exports?r(require("../shared"),require("vue"),require("../icon")):r(e["../shared"],e.vue,e["../icon"]);for(var t in o)("object"==typeof exports?exports:e)[t]=o[t]}}(self,((e,r,o)=>(()=>{"use strict";var t={6870:e=>{e.exports=o},4212:r=>{r.exports=e},748:e=>{e.exports=r}},a={};function n(e){var r=a[e];if(void 0!==r)return r.exports;var o=a[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.d=(e,r)=>{for(var o in r)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},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,{BkBreadcrumb:()=>c,BkBreadcrumbItem:()=>a,default:()=>p});var e=n(4212),r=n(748),o=n(6870);const t=(0,r.defineComponent)({name:"Breadcrumb",props:{extCls:e.PropTypes.string,separator:e.PropTypes.string.def("/"),separatorClass:e.PropTypes.string,replace:e.PropTypes.bool,backRouter:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.object]).def("")},setup:function(t,a){var n=a.slots,s=(0,r.getCurrentInstance)(),c=s.proxy,p=s.appContext;(0,r.provide)("breadcrumb",t),(0,r.onMounted)((function(){var e=c.$el.querySelectorAll(".bk-breadcrumb-item");e.length&&e[e.length-1].setAttribute("aria-current","page")}));var l=(0,e.classes)({"bk-breadcrumb":!0},"".concat(t.extCls||"")),i=function(){var e=t.backRouter,r=t.replace,o=p.config.globalProperties.$router;o&&(r?o.replace(e):o.push(e))};return function(){var e;return(0,r.createVNode)("div",{class:l,"aria-label":"Breadcrumb",role:"navigation"},[!n.prefix&&t.backRouter?(0,r.createVNode)("div",{class:"bk-breadcrumb-goback"},[(0,r.createVNode)(o.ArrowsLeft,{onClick:i},null)]):"",n.prefix?(0,r.createVNode)("div",{class:"bk-breadcrumb-goback"},[n.prefix()]):"",null===(e=n.default)||void 0===e?void 0:e.call(n)])}}}),a=(0,r.defineComponent)({name:"BreadcrumbItem",props:{extCls:e.PropTypes.string,to:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.object]).def(""),replace:e.PropTypes.bool},setup:function(o,t){var a=t.slots,n=(0,r.getCurrentInstance)().appContext,s=(0,r.inject)("breadcrumb"),c=n.config.globalProperties.$router,p=o.to,l=o.replace,i=function(){p&&c&&(l?c.replace(p):c.push(p))},u=(0,e.classes)({"bk-breadcrumb-item":!0},"".concat(o.extCls||""));return function(){var e;return(0,r.createVNode)("span",{class:u},[(0,r.createVNode)("span",{ref:"link",class:"bk-breadcrumb-item-inner ".concat(p?"is-link":""),role:"link",onClick:i},[null===(e=null==a?void 0:a.default)||void 0===e?void 0:e.call(a)]),(null==s?void 0:s.separatorClass)?(0,r.createVNode)("i",{class:"bk-breadcrumb-separator ".concat(s.separatorClass)},null):(0,r.createVNode)("span",{class:"bk-breadcrumb-separator",role:"presentation"},[null==s?void 0:s.separator])])}}});var c=(0,e.withInstallProps)(t,{Item:a});const p=c})(),s})()));
|
@@ -1,8 +1,6 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
2
|
size: import("vue-types").VueTypeDef<string>;
|
3
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
4
|
-
size
|
5
|
-
}
|
6
|
-
size?: string;
|
7
|
-
}> & {}, {}>;
|
3
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
4
|
+
size: import("vue-types").VueTypeDef<string>;
|
5
|
+
}>>, {}>;
|
8
6
|
export default _default;
|
package/lib/button/button.css
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
text-align: center;
|
9
9
|
text-decoration: none;
|
10
10
|
white-space: nowrap;
|
11
|
-
vertical-align: middle;
|
12
11
|
cursor: pointer;
|
13
12
|
background-color: white;
|
14
13
|
border: 1px solid #c4c6cc;
|
@@ -30,10 +29,7 @@
|
|
30
29
|
.bk-button.bk-button-primary:active {
|
31
30
|
background-color: #2c77f4;
|
32
31
|
border-color: #2c77f4;
|
33
|
-
|
34
|
-
.bk-button.bk-button-primary.is-disabled {
|
35
|
-
background-color: #dcdee5;
|
36
|
-
border-color: #dcdee5;
|
32
|
+
color: white;
|
37
33
|
}
|
38
34
|
.bk-button.bk-button-primary.is-outline {
|
39
35
|
color: #3a84ff;
|
@@ -47,12 +43,21 @@
|
|
47
43
|
}
|
48
44
|
.bk-button.bk-button-primary.is-text {
|
49
45
|
color: #3a84ff;
|
50
|
-
background:
|
46
|
+
background-color: transparent;
|
51
47
|
border: none;
|
52
48
|
}
|
53
|
-
.bk-button.bk-button-primary.is-text:hover {
|
49
|
+
.bk-button.bk-button-primary.is-text:not(.is-disabled):hover {
|
54
50
|
color: #5594fa;
|
55
51
|
}
|
52
|
+
.bk-button.bk-button-primary.is-disabled {
|
53
|
+
color: #dcdee5;
|
54
|
+
cursor: not-allowed;
|
55
|
+
}
|
56
|
+
.bk-button.bk-button-primary.is-disabled:not(.is-text) {
|
57
|
+
background-color: #dcdee5;
|
58
|
+
color: white;
|
59
|
+
border-color: #dcdee5;
|
60
|
+
}
|
56
61
|
.bk-button.bk-button-hover-primary:hover {
|
57
62
|
background-color: #5594fa;
|
58
63
|
border-color: #5594fa;
|
@@ -70,10 +75,7 @@
|
|
70
75
|
.bk-button.bk-button-warning:active {
|
71
76
|
background-color: #eb9000;
|
72
77
|
border-color: #eb9000;
|
73
|
-
|
74
|
-
.bk-button.bk-button-warning.is-disabled {
|
75
|
-
background-color: #dcdee5;
|
76
|
-
border-color: #dcdee5;
|
78
|
+
color: white;
|
77
79
|
}
|
78
80
|
.bk-button.bk-button-warning.is-outline {
|
79
81
|
color: #ff9c01;
|
@@ -87,12 +89,21 @@
|
|
87
89
|
}
|
88
90
|
.bk-button.bk-button-warning.is-text {
|
89
91
|
color: #ff9c01;
|
90
|
-
background:
|
92
|
+
background-color: transparent;
|
91
93
|
border: none;
|
92
94
|
}
|
93
|
-
.bk-button.bk-button-warning.is-text:hover {
|
95
|
+
.bk-button.bk-button-warning.is-text:not(.is-disabled):hover {
|
94
96
|
color: #ffb848;
|
95
97
|
}
|
98
|
+
.bk-button.bk-button-warning.is-disabled {
|
99
|
+
color: #dcdee5;
|
100
|
+
cursor: not-allowed;
|
101
|
+
}
|
102
|
+
.bk-button.bk-button-warning.is-disabled:not(.is-text) {
|
103
|
+
background-color: #dcdee5;
|
104
|
+
color: white;
|
105
|
+
border-color: #dcdee5;
|
106
|
+
}
|
96
107
|
.bk-button.bk-button-hover-warning:hover {
|
97
108
|
background-color: #ffb848;
|
98
109
|
border-color: #ffb848;
|
@@ -110,10 +121,7 @@
|
|
110
121
|
.bk-button.bk-button-success:active {
|
111
122
|
background-color: #1ab943;
|
112
123
|
border-color: #1ab943;
|
113
|
-
|
114
|
-
.bk-button.bk-button-success.is-disabled {
|
115
|
-
background-color: #dcdee5;
|
116
|
-
border-color: #dcdee5;
|
124
|
+
color: white;
|
117
125
|
}
|
118
126
|
.bk-button.bk-button-success.is-outline {
|
119
127
|
color: #2dcb56;
|
@@ -127,12 +135,21 @@
|
|
127
135
|
}
|
128
136
|
.bk-button.bk-button-success.is-text {
|
129
137
|
color: #2dcb56;
|
130
|
-
background:
|
138
|
+
background-color: transparent;
|
131
139
|
border: none;
|
132
140
|
}
|
133
|
-
.bk-button.bk-button-success.is-text:hover {
|
141
|
+
.bk-button.bk-button-success.is-text:not(.is-disabled):hover {
|
134
142
|
color: #45e35f;
|
135
143
|
}
|
144
|
+
.bk-button.bk-button-success.is-disabled {
|
145
|
+
color: #dcdee5;
|
146
|
+
cursor: not-allowed;
|
147
|
+
}
|
148
|
+
.bk-button.bk-button-success.is-disabled:not(.is-text) {
|
149
|
+
background-color: #dcdee5;
|
150
|
+
color: white;
|
151
|
+
border-color: #dcdee5;
|
152
|
+
}
|
136
153
|
.bk-button.bk-button-hover-success:hover {
|
137
154
|
background-color: #45e35f;
|
138
155
|
border-color: #45e35f;
|
@@ -150,10 +167,7 @@
|
|
150
167
|
.bk-button.bk-button-danger:active {
|
151
168
|
background-color: #db2626;
|
152
169
|
border-color: #db2626;
|
153
|
-
|
154
|
-
.bk-button.bk-button-danger.is-disabled {
|
155
|
-
background-color: #dcdee5;
|
156
|
-
border-color: #dcdee5;
|
170
|
+
color: white;
|
157
171
|
}
|
158
172
|
.bk-button.bk-button-danger.is-outline {
|
159
173
|
color: #ea3636;
|
@@ -167,12 +181,21 @@
|
|
167
181
|
}
|
168
182
|
.bk-button.bk-button-danger.is-text {
|
169
183
|
color: #ea3636;
|
170
|
-
background:
|
184
|
+
background-color: transparent;
|
171
185
|
border: none;
|
172
186
|
}
|
173
|
-
.bk-button.bk-button-danger.is-text:hover {
|
187
|
+
.bk-button.bk-button-danger.is-text:not(.is-disabled):hover {
|
174
188
|
color: #ff5656;
|
175
189
|
}
|
190
|
+
.bk-button.bk-button-danger.is-disabled {
|
191
|
+
color: #dcdee5;
|
192
|
+
cursor: not-allowed;
|
193
|
+
}
|
194
|
+
.bk-button.bk-button-danger.is-disabled:not(.is-text) {
|
195
|
+
background-color: #dcdee5;
|
196
|
+
color: white;
|
197
|
+
border-color: #dcdee5;
|
198
|
+
}
|
176
199
|
.bk-button.bk-button-hover-danger:hover {
|
177
200
|
background-color: #ff5656;
|
178
201
|
border-color: #ff5656;
|
@@ -181,13 +204,18 @@
|
|
181
204
|
.bk-button.bk-button-small {
|
182
205
|
min-width: 48px;
|
183
206
|
height: 26px;
|
207
|
+
line-height: 26px;
|
184
208
|
padding: 0 12px;
|
185
209
|
}
|
186
210
|
.bk-button.bk-button-large {
|
187
211
|
min-width: 74px;
|
188
212
|
height: 38px;
|
213
|
+
line-height: 38px;
|
189
214
|
padding: 0 20px;
|
190
215
|
}
|
216
|
+
.bk-button:not(.is-text) .bk-button-loading:not(:last-child) {
|
217
|
+
margin-right: 6px;
|
218
|
+
}
|
191
219
|
.bk-button:hover {
|
192
220
|
border-color: #979ba5;
|
193
221
|
}
|
@@ -195,20 +223,25 @@
|
|
195
223
|
color: #3a84ff;
|
196
224
|
border-color: #3a84ff;
|
197
225
|
}
|
198
|
-
.bk-button.is-disabled {
|
199
|
-
color: #dcdee5;
|
200
|
-
cursor: auto;
|
201
|
-
border-color: #dcdee5;
|
202
|
-
}
|
203
226
|
.bk-button.is-text {
|
227
|
+
height: auto;
|
228
|
+
min-width: auto;
|
229
|
+
padding: 0;
|
204
230
|
font-size: 14px;
|
231
|
+
font-size: inherit;
|
232
|
+
line-height: 1;
|
205
233
|
color: #63656e;
|
206
234
|
text-decoration: none;
|
207
235
|
cursor: pointer;
|
208
|
-
background:
|
236
|
+
background-color: transparent;
|
209
237
|
border: none;
|
210
238
|
outline: none;
|
211
239
|
}
|
240
|
+
.bk-button.is-disabled {
|
241
|
+
color: #dcdee5;
|
242
|
+
cursor: not-allowed;
|
243
|
+
border-color: #dcdee5;
|
244
|
+
}
|
212
245
|
.bk-button-group {
|
213
246
|
display: inline-block;
|
214
247
|
font-size: 0;
|
package/lib/button/button.d.ts
CHANGED
@@ -23,7 +23,8 @@
|
|
23
23
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
24
|
* IN THE SOFTWARE.
|
25
25
|
*/
|
26
|
-
import { ExtractPropTypes } from 'vue';
|
26
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
27
|
+
declare type IButtonNativeType = PropType<'button' | 'submit' | 'reset'>;
|
27
28
|
declare const buttonProps: {
|
28
29
|
theme: import("vue-types").VueTypeDef<string> & {
|
29
30
|
default: string;
|
@@ -31,11 +32,16 @@ declare const buttonProps: {
|
|
31
32
|
hoverTheme: import("vue-types").VueTypeDef<string> & {
|
32
33
|
default: string;
|
33
34
|
};
|
34
|
-
size: import("vue-types").VueTypeDef<string
|
35
|
+
size: import("vue-types").VueTypeDef<string> & {
|
36
|
+
default: string;
|
37
|
+
};
|
35
38
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
36
39
|
default: string;
|
37
40
|
};
|
38
|
-
|
41
|
+
icon: import("vue-types").VueTypeValidableDef<string> & {
|
42
|
+
default: string;
|
43
|
+
};
|
44
|
+
iconRight: import("vue-types").VueTypeValidableDef<string> & {
|
39
45
|
default: string;
|
40
46
|
};
|
41
47
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -44,12 +50,16 @@ declare const buttonProps: {
|
|
44
50
|
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
51
|
default: boolean;
|
46
52
|
};
|
53
|
+
loadingMode: import("vue-types").VueTypeDef<string>;
|
47
54
|
outline: import("vue-types").VueTypeValidableDef<boolean> & {
|
48
55
|
default: boolean;
|
49
56
|
};
|
50
57
|
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
51
58
|
default: boolean;
|
52
59
|
};
|
60
|
+
nativeType: {
|
61
|
+
type: IButtonNativeType;
|
62
|
+
};
|
53
63
|
};
|
54
64
|
export declare type ButtonPropTypes = ExtractPropTypes<typeof buttonProps>;
|
55
65
|
declare const _default: import("vue").DefineComponent<{
|
@@ -59,11 +69,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
59
69
|
hoverTheme: import("vue-types").VueTypeDef<string> & {
|
60
70
|
default: string;
|
61
71
|
};
|
62
|
-
size: import("vue-types").VueTypeDef<string
|
72
|
+
size: import("vue-types").VueTypeDef<string> & {
|
73
|
+
default: string;
|
74
|
+
};
|
63
75
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
64
76
|
default: string;
|
65
77
|
};
|
66
|
-
|
78
|
+
icon: import("vue-types").VueTypeValidableDef<string> & {
|
79
|
+
default: string;
|
80
|
+
};
|
81
|
+
iconRight: import("vue-types").VueTypeValidableDef<string> & {
|
67
82
|
default: string;
|
68
83
|
};
|
69
84
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -72,43 +87,64 @@ declare const _default: import("vue").DefineComponent<{
|
|
72
87
|
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
73
88
|
default: boolean;
|
74
89
|
};
|
90
|
+
loadingMode: import("vue-types").VueTypeDef<string>;
|
75
91
|
outline: import("vue-types").VueTypeValidableDef<boolean> & {
|
76
92
|
default: boolean;
|
77
93
|
};
|
78
94
|
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
79
95
|
default: boolean;
|
80
96
|
};
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
}
|
97
|
+
nativeType: {
|
98
|
+
type: IButtonNativeType;
|
99
|
+
};
|
100
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseover")[], "click" | "mouseover", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
101
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
102
|
+
default: string;
|
103
|
+
};
|
104
|
+
hoverTheme: import("vue-types").VueTypeDef<string> & {
|
105
|
+
default: string;
|
106
|
+
};
|
107
|
+
size: import("vue-types").VueTypeDef<string> & {
|
108
|
+
default: string;
|
109
|
+
};
|
110
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
111
|
+
default: string;
|
112
|
+
};
|
113
|
+
icon: import("vue-types").VueTypeValidableDef<string> & {
|
114
|
+
default: string;
|
115
|
+
};
|
116
|
+
iconRight: import("vue-types").VueTypeValidableDef<string> & {
|
117
|
+
default: string;
|
118
|
+
};
|
119
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
120
|
+
default: boolean;
|
121
|
+
};
|
122
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
123
|
+
default: boolean;
|
124
|
+
};
|
125
|
+
loadingMode: import("vue-types").VueTypeDef<string>;
|
126
|
+
outline: import("vue-types").VueTypeValidableDef<boolean> & {
|
127
|
+
default: boolean;
|
128
|
+
};
|
129
|
+
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
130
|
+
default: boolean;
|
131
|
+
};
|
132
|
+
nativeType: {
|
133
|
+
type: IButtonNativeType;
|
134
|
+
};
|
135
|
+
}>> & {
|
103
136
|
onClick?: (...args: any[]) => any;
|
137
|
+
onMouseover?: (...args: any[]) => any;
|
104
138
|
}, {
|
105
139
|
title: string;
|
106
140
|
text: boolean;
|
107
141
|
theme: string;
|
108
|
-
|
142
|
+
size: string;
|
143
|
+
icon: string;
|
144
|
+
outline: boolean;
|
109
145
|
disabled: boolean;
|
110
|
-
hoverTheme: string;
|
111
146
|
loading: boolean;
|
112
|
-
|
147
|
+
hoverTheme: string;
|
148
|
+
iconRight: string;
|
113
149
|
}>;
|
114
150
|
export default _default;
|