bkui-vue 0.0.1-beta.9 → 0.0.1-beta.90
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 +24736 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2348
- 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 +5 -3
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.less +7 -3
- package/lib/alert/alert.variable.css +34 -3
- 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 +29 -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 +34 -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 +47 -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 +73 -44
- package/lib/button/button.d.ts +67 -31
- package/lib/button/button.less +68 -47
- package/lib/button/button.variable.css +102 -44
- 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 +82 -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 +44 -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 +25 -4
- 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 +312 -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 +753 -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 +66 -14
- package/lib/dialog/dialog.d.ts +305 -52
- package/lib/dialog/dialog.less +34 -14
- package/lib/dialog/dialog.variable.css +66 -14
- package/lib/dialog/index.d.ts +772 -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 +29 -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 +29 -0
- package/lib/fixed-navbar/index.d.ts +147 -0
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +155 -0
- package/lib/form/form.css +125 -0
- package/lib/form/form.d.ts +81 -0
- package/lib/form/form.less +152 -0
- package/lib/form/form.variable.css +224 -0
- package/lib/form/index.d.ts +303 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +23 -0
- package/lib/form/validator.d.ts +9 -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.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.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.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.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.js +1 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.js +1 -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.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.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.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.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 +1 -1
- 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 +82 -5
- package/lib/input/input.d.ts +181 -51
- package/lib/input/input.less +93 -9
- package/lib/input/input.variable.css +112 -5
- 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 +29 -0
- package/lib/loading/index.d.ts +172 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +122 -75
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +79 -60
- package/lib/loading/loading.variable.css +151 -75
- package/lib/menu/index.d.ts +176 -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 +55 -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/{message.d.ts → index.d.ts} +0 -0
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +27 -1
- package/lib/message/message.less +30 -1
- package/lib/message/message.variable.css +56 -1
- package/lib/message/messageConstructor.d.ts +71 -20
- package/lib/modal/index.d.ts +605 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +30 -1
- package/lib/modal/modal.d.ts +195 -24
- package/lib/modal/modal.less +39 -1
- package/lib/modal/modal.variable.css +30 -1
- package/lib/modal/props.mixin.d.ts +82 -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 +387 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +28 -16
- package/lib/popover/popover.d.ts +122 -45
- package/lib/popover/popover.less +59 -46
- package/lib/popover/popover.variable.css +57 -16
- package/lib/popover/props.d.ts +104 -0
- package/lib/preset.d.ts +2 -3
- 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 +89 -36
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +37 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +277 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +28 -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 +44 -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 +1675 -0
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +15 -20
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +229 -41
- package/lib/select/select.d.ts +381 -157
- package/lib/select/select.less +242 -53
- package/lib/select/select.variable.css +258 -41
- package/lib/select/selectTagInput.d.ts +71 -0
- package/lib/select/type.d.ts +35 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +73 -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 +4 -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 +533 -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 +77 -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 +33 -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 +45 -1
- 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 +51 -35
- package/lib/switcher/switcher.less +211 -153
- package/lib/switcher/switcher.variable.css +186 -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 +43 -0
- package/lib/table/index.d.ts +547 -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 +243 -0
- package/lib/table/render.d.ts +118 -0
- package/lib/table/table.css +436 -0
- package/lib/table/table.d.ts +194 -32
- package/lib/table/table.less +282 -1
- package/lib/table/table.variable.css +465 -0
- package/lib/table/use-common.d.ts +71 -0
- package/lib/table/utils.d.ts +102 -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 +126 -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/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +365 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +139 -0
- package/lib/transfer/transfer.d.ts +160 -0
- package/lib/transfer/transfer.less +144 -0
- package/lib/transfer/transfer.variable.css +238 -0
- package/lib/tree/constant.d.ts +43 -0
- package/lib/tree/index.d.ts +472 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +168 -0
- package/lib/tree/tree.css +53 -0
- package/lib/tree/tree.d.ts +204 -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 +31 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +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-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 +108 -81
- package/dist/bkui-vue.cjs.js +0 -5171
- package/dist/bkui-vue.esm.js +0 -5137
- package/dist/bkui-vue.umd.js +0 -5174
- 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;
|
@@ -67,6 +70,32 @@
|
|
67
70
|
--message-success-border-color: #dcffe2;
|
68
71
|
--message-danger-bg-color: #ffeded;
|
69
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;
|
70
99
|
}
|
71
100
|
@keyframes loading-scale-animate {
|
72
101
|
0% {
|
@@ -89,184 +118,192 @@
|
|
89
118
|
.bk-fade-transtion .bk-fade-leave-to {
|
90
119
|
opacity: 0;
|
91
120
|
}
|
121
|
+
.clearfix-style::after {
|
122
|
+
display: block;
|
123
|
+
height: 0;
|
124
|
+
clear: both;
|
125
|
+
font-size: 0;
|
126
|
+
content: '';
|
127
|
+
visibility: hidden;
|
128
|
+
}
|
92
129
|
.bk-switcher {
|
93
130
|
position: relative;
|
94
131
|
display: inline-block;
|
95
|
-
/* 默认尺寸 */
|
96
|
-
width: 36px;
|
97
132
|
height: 20px;
|
133
|
+
/* 默认尺寸 */
|
134
|
+
min-width: 36px;
|
135
|
+
padding: 0;
|
136
|
+
margin: 0;
|
137
|
+
font-size: 14px;
|
98
138
|
line-height: 20px;
|
99
139
|
text-align: left;
|
100
140
|
vertical-align: middle;
|
141
|
+
list-style: none;
|
142
|
+
cursor: pointer;
|
101
143
|
background-color: var(--switch-grey-color);
|
144
|
+
border: 1px solid transparent;
|
102
145
|
border-radius: 50px;
|
146
|
+
border-radius: 100px;
|
147
|
+
box-sizing: border-box;
|
103
148
|
transition: all 0.4s ease;
|
149
|
+
transition: all 0.36s;
|
150
|
+
user-select: none;
|
104
151
|
/* 显示文本时固定尺寸 */
|
105
152
|
}
|
106
|
-
.bk-switcher:focus {
|
107
|
-
box-shadow: 0px 0px 6px var(--switch-grey-color);
|
108
|
-
}
|
109
153
|
.bk-switcher:after {
|
110
154
|
position: absolute;
|
111
|
-
top:
|
112
|
-
left:
|
113
|
-
|
114
|
-
|
115
|
-
height: 24px;
|
155
|
+
top: 1px;
|
156
|
+
left: 1px;
|
157
|
+
width: 16px;
|
158
|
+
height: 16px;
|
116
159
|
cursor: pointer;
|
117
160
|
background: var(--switch-default-color);
|
118
|
-
|
119
|
-
|
120
|
-
|
161
|
+
background-color: #fff;
|
162
|
+
border-radius: 18px;
|
163
|
+
content: ' ';
|
121
164
|
transition: all 0.3s ease;
|
122
165
|
}
|
123
|
-
.bk-switcher
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
166
|
+
.bk-switcher .switcher-text {
|
167
|
+
display: block;
|
168
|
+
margin-right: 6px;
|
169
|
+
margin-left: 28px;
|
170
|
+
font-size: 12px;
|
171
|
+
font-weight: 400;
|
172
|
+
color: #fff;
|
173
|
+
text-align: center;
|
174
|
+
transition: all 0.3s ease;
|
132
175
|
}
|
133
|
-
.bk-switcher.
|
134
|
-
|
176
|
+
.bk-switcher .animating-node {
|
177
|
+
position: absolute;
|
178
|
+
top: 0;
|
179
|
+
right: 0;
|
180
|
+
bottom: 0;
|
181
|
+
left: 0;
|
182
|
+
display: block;
|
183
|
+
pointer-events: none;
|
184
|
+
border-radius: inherit;
|
185
|
+
content: '';
|
186
|
+
opacity: 0.2;
|
187
|
+
box-shadow: 0 0 0 0 #1890ff;
|
188
|
+
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
|
189
|
+
animation-fill-mode: forwards;
|
135
190
|
}
|
136
191
|
.bk-switcher .bk-switcher-loading {
|
137
192
|
position: absolute;
|
138
|
-
top:
|
193
|
+
top: 1px;
|
139
194
|
left: 1px;
|
140
|
-
z-index:
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
195
|
+
z-index: 1;
|
196
|
+
width: 16px;
|
197
|
+
height: 16px;
|
198
|
+
font-size: 12px;
|
199
|
+
color: var(--switch-grey-color);
|
200
|
+
cursor: pointer;
|
201
|
+
background: transparent;
|
202
|
+
border-radius: 16px;
|
203
|
+
content: ' ';
|
204
|
+
transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
145
205
|
}
|
146
206
|
.bk-switcher .bk-switcher-loading svg {
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
font-size: 12px;
|
155
|
-
font-weight: normal;
|
156
|
-
color: var(--switch-default-color);
|
157
|
-
text-align: center;
|
158
|
-
vertical-align: top;
|
159
|
-
transition: all ease 0.3s;
|
207
|
+
position: absolute;
|
208
|
+
top: 0;
|
209
|
+
right: 0;
|
210
|
+
bottom: 0;
|
211
|
+
left: 0;
|
212
|
+
margin: auto;
|
213
|
+
animation: loading 1s linear infinite;
|
160
214
|
}
|
161
|
-
.bk-switcher
|
162
|
-
|
215
|
+
.bk-switcher.is-loading {
|
216
|
+
cursor: defalt;
|
163
217
|
}
|
164
|
-
.bk-switcher
|
165
|
-
|
218
|
+
.bk-switcher.is-loading input[type=checkbox] {
|
219
|
+
cursor: default;
|
166
220
|
}
|
167
221
|
.bk-switcher.show-label {
|
168
|
-
width: 60px;
|
169
222
|
height: 28px;
|
223
|
+
min-width: 60px;
|
170
224
|
line-height: 28px;
|
171
225
|
}
|
172
|
-
.bk-switcher.show-label
|
173
|
-
|
226
|
+
.bk-switcher.show-label::after {
|
227
|
+
width: 24px;
|
228
|
+
height: 24px;
|
174
229
|
}
|
175
230
|
.bk-switcher.show-label .bk-switcher-loading {
|
176
|
-
width:
|
177
|
-
height:
|
178
|
-
|
179
|
-
justify-content: center;
|
231
|
+
width: 24px;
|
232
|
+
height: 24px;
|
233
|
+
font-size: 20px;
|
180
234
|
}
|
181
|
-
.bk-switcher.show-label .bk-switcher-loading
|
182
|
-
|
235
|
+
.bk-switcher.show-label.is-checked .bk-switcher-loading {
|
236
|
+
left: 100%;
|
237
|
+
margin-left: -25px;
|
183
238
|
}
|
184
239
|
.bk-switcher.is-disabled {
|
185
|
-
cursor:
|
186
|
-
/* background-color: #eee !important; */
|
240
|
+
cursor: not-allowed;
|
187
241
|
opacity: 0.3;
|
188
242
|
}
|
189
|
-
.bk-switcher.is-disabled
|
243
|
+
.bk-switcher.is-disabled .bk-switcher-loading {
|
244
|
+
cursor: not-allowed;
|
245
|
+
}
|
246
|
+
.bk-switcher.is-disabled::after {
|
190
247
|
cursor: not-allowed;
|
191
248
|
}
|
192
249
|
.bk-switcher.is-checked {
|
193
250
|
background: var(--success-color);
|
194
251
|
}
|
195
|
-
.bk-switcher.is-checked
|
196
|
-
|
252
|
+
.bk-switcher.is-checked .bk-switcher-loading svg {
|
253
|
+
color: var(--success-color);
|
197
254
|
}
|
198
|
-
.bk-switcher.is-checked.primary {
|
255
|
+
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.bk-primary {
|
199
256
|
background: var(--primary-color);
|
200
257
|
}
|
201
|
-
.bk-switcher.is-checked.primary
|
202
|
-
|
258
|
+
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.bk-primary .bk-switcher-loading svg {
|
259
|
+
color: var(--primary-color);
|
203
260
|
}
|
204
261
|
.bk-switcher.is-checked:after {
|
205
|
-
top: 2px;
|
206
262
|
left: 100%;
|
207
|
-
margin-left: -
|
208
|
-
|
209
|
-
.bk-switcher.is-checked .switcher-label {
|
210
|
-
margin-left: 4px;
|
211
|
-
}
|
212
|
-
.bk-switcher.is-checked .switcher-label .on-text {
|
213
|
-
display: inline-block;
|
263
|
+
margin-left: -1px;
|
264
|
+
transform: translateX(-100%);
|
214
265
|
}
|
215
|
-
.bk-switcher.is-checked .switcher-
|
216
|
-
|
266
|
+
.bk-switcher.is-checked .switcher-text {
|
267
|
+
margin-right: 28px;
|
268
|
+
margin-left: 6px;
|
217
269
|
}
|
218
|
-
.bk-switcher.is-checked .bk-switcher-loading {
|
219
|
-
|
220
|
-
left:
|
270
|
+
.bk-switcher:not(.show-label).is-checked .bk-switcher-loading {
|
271
|
+
left: 100%;
|
272
|
+
margin-left: -17px;
|
221
273
|
}
|
222
274
|
.bk-switcher.bk-switcher-outline {
|
223
275
|
background: var(--switch-default-color);
|
224
276
|
border: 1px solid var(--switch-grey-color);
|
225
277
|
}
|
226
278
|
.bk-switcher.bk-switcher-outline:after {
|
227
|
-
width:
|
228
|
-
height:
|
279
|
+
width: 24px;
|
280
|
+
height: 24px;
|
229
281
|
background-color: var(--switch-grey-color);
|
230
282
|
box-shadow: none;
|
231
283
|
}
|
232
|
-
.bk-switcher.bk-switcher-outline .switcher-
|
233
|
-
height: 26px;
|
234
|
-
margin-left: 24px;
|
284
|
+
.bk-switcher.bk-switcher-outline .switcher-text {
|
235
285
|
color: var(--switch-grey-color);
|
236
286
|
}
|
237
|
-
.bk-switcher.bk-switcher-outline .bk-switcher-loading {
|
238
|
-
width: 22px;
|
239
|
-
height: 22px;
|
240
|
-
align-items: center;
|
241
|
-
justify-content: center;
|
242
|
-
}
|
243
287
|
.bk-switcher.bk-switcher-outline.is-checked {
|
244
288
|
border: 1px solid var(--success-color);
|
245
289
|
}
|
246
290
|
.bk-switcher.bk-switcher-outline.is-checked:after {
|
247
|
-
margin-left: -24px;
|
248
291
|
background-color: var(--success-color);
|
249
292
|
}
|
250
|
-
.bk-switcher.bk-switcher-outline.is-checked .switcher-
|
251
|
-
margin-left: 4px;
|
293
|
+
.bk-switcher.bk-switcher-outline.is-checked .switcher-text {
|
252
294
|
color: var(--success-color);
|
253
295
|
}
|
254
|
-
.bk-switcher.bk-switcher-outline.
|
255
|
-
|
256
|
-
border-color: #eee;
|
257
|
-
}
|
258
|
-
.bk-switcher.bk-switcher-outline.is-disabled .switcher-label {
|
259
|
-
color: #eee;
|
296
|
+
.bk-switcher.bk-switcher-outline .bk-switcher-loading svg {
|
297
|
+
color: #fff;
|
260
298
|
}
|
261
|
-
.bk-switcher.bk-switcher-outline.is-
|
262
|
-
|
299
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked {
|
300
|
+
border: 1px solid var(--primary-color);
|
263
301
|
}
|
264
|
-
.bk-switcher.bk-switcher-outline.bk-switcher-
|
265
|
-
|
266
|
-
height: 18px;
|
302
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked:after {
|
303
|
+
background: var(--primary-color);
|
267
304
|
}
|
268
|
-
.bk-switcher.bk-switcher-outline.bk-switcher-
|
269
|
-
|
305
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked .switcher-text {
|
306
|
+
color: var(--primary-color);
|
270
307
|
}
|
271
308
|
.bk-switcher.bk-switcher-square {
|
272
309
|
border-radius: 2px;
|
@@ -274,55 +311,69 @@
|
|
274
311
|
.bk-switcher.bk-switcher-square:after {
|
275
312
|
border-radius: 2px;
|
276
313
|
}
|
277
|
-
.bk-switcher.bk-switcher-square .switcher-label {
|
278
|
-
width: 35px;
|
279
|
-
}
|
280
314
|
.bk-switcher.bk-switcher-large {
|
281
|
-
width: 42px;
|
282
315
|
height: 24px;
|
316
|
+
min-width: 42px;
|
283
317
|
line-height: 22px;
|
284
|
-
border-radius: 12px;
|
285
318
|
}
|
286
319
|
.bk-switcher.bk-switcher-large:after {
|
287
320
|
width: 20px;
|
288
321
|
height: 20px;
|
289
322
|
}
|
290
|
-
.bk-switcher.bk-switcher-large.is-checked:after {
|
291
|
-
top: 2px;
|
292
|
-
left: 100%;
|
293
|
-
margin-left: -22px;
|
294
|
-
}
|
295
323
|
.bk-switcher.bk-switcher-large .bk-switcher-loading {
|
296
|
-
width:
|
297
|
-
height:
|
324
|
+
width: 20px;
|
325
|
+
height: 20px;
|
326
|
+
font-size: 16px;
|
327
|
+
}
|
328
|
+
.bk-switcher.bk-switcher-large.is-checked .bk-switcher-loading {
|
329
|
+
margin-left: -21px;
|
298
330
|
}
|
299
331
|
.bk-switcher.bk-switcher-small {
|
300
|
-
width: 26px;
|
301
332
|
height: 16px;
|
333
|
+
min-width: 26px;
|
302
334
|
line-height: 22px;
|
303
335
|
}
|
304
336
|
.bk-switcher.bk-switcher-small:after {
|
305
337
|
width: 12px;
|
306
338
|
height: 12px;
|
307
339
|
}
|
308
|
-
.bk-switcher.bk-switcher-small.is-checked:after {
|
309
|
-
top: 2px;
|
310
|
-
left: 100%;
|
311
|
-
margin-left: -14px;
|
312
|
-
}
|
313
340
|
.bk-switcher.bk-switcher-small .bk-switcher-loading {
|
314
|
-
width:
|
315
|
-
height:
|
341
|
+
width: 12px;
|
342
|
+
height: 12px;
|
343
|
+
font-weight: 700;
|
344
|
+
transform: scale(0.66667);
|
316
345
|
}
|
317
|
-
.bk-switcher
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
346
|
+
.bk-switcher.bk-switcher-small.is-checked .bk-switcher-loading {
|
347
|
+
margin-left: -13px;
|
348
|
+
}
|
349
|
+
:not(.show-label).bk-switcher-nomal.bk-switcher-outline::after {
|
350
|
+
width: 16px;
|
351
|
+
height: 16px;
|
352
|
+
}
|
353
|
+
:not(.show-label).bk-switcher-outline.is-checked.bk-switcher-small::after {
|
354
|
+
width: 12px;
|
355
|
+
height: 12px;
|
356
|
+
}
|
357
|
+
:not(.show-label).bk-switcher-outline.is-checked.bk-switcher-large::after {
|
358
|
+
width: 20px;
|
359
|
+
height: 20px;
|
360
|
+
}
|
361
|
+
:not(.show-label).bk-switcher-outline.is-checked::after {
|
362
|
+
width: 16px;
|
363
|
+
height: 16px;
|
364
|
+
}
|
365
|
+
@keyframes fadeEffect {
|
366
|
+
100% {
|
367
|
+
opacity: 0;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
@keyframes waveEffect {
|
371
|
+
100% {
|
372
|
+
box-shadow: 0 0 0 #1890ff;
|
373
|
+
}
|
374
|
+
}
|
375
|
+
@keyframes loading {
|
376
|
+
100% {
|
377
|
+
transform: rotate(1turn);
|
378
|
+
}
|
328
379
|
}
|