bkui-vue 0.0.1-beta.6 → 0.0.1-beta.60
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 +21606 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2009
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.variable.css +33 -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 +33 -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 +38 -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 +51 -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 +41 -21
- package/lib/button/button.d.ts +66 -30
- package/lib/button/button.less +44 -28
- package/lib/button/button.variable.css +74 -21
- 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 +86 -1
- package/lib/card/index.d.ts +283 -0
- package/lib/card/index.js +1 -1
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +12 -0
- package/lib/checkbox/checkbox.d.ts +33 -30
- package/lib/checkbox/checkbox.less +17 -0
- package/lib/checkbox/checkbox.variable.css +45 -0
- 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 +9 -12
- 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 +280 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +8 -0
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/collapse.less +10 -0
- package/lib/collapse/collapse.variable.css +8 -0
- package/lib/collapse/index.d.ts +166 -0
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +42 -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 +142 -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 +407 -0
- package/lib/date-picker/date-picker.d.ts +294 -0
- package/lib/date-picker/date-picker.less +526 -0
- package/lib/date-picker/date-picker.variable.css +501 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +713 -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 +111 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +40 -0
- package/lib/dialog/dialog.d.ts +226 -51
- package/lib/dialog/dialog.less +16 -0
- package/lib/dialog/dialog.variable.css +40 -0
- package/lib/dialog/index.d.ts +608 -0
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -0
- 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 +132 -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 +43 -0
- package/lib/dropdown/dropdown.d.ts +63 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +137 -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 +33 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +33 -0
- package/lib/fixed-navbar/index.d.ts +112 -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 +145 -0
- package/lib/form/form.css +113 -0
- package/lib/form/form.d.ts +64 -0
- package/lib/form/form.less +141 -0
- package/lib/form/form.variable.css +207 -0
- package/lib/form/index.d.ts +262 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +21 -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/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/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/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/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/folder.js +1 -0
- package/lib/icon/funnel.d.ts +4 -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/index.d.ts +57 -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/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/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/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/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 +451 -0
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +75 -4
- package/lib/input/input.d.ts +118 -43
- package/lib/input/input.less +86 -8
- package/lib/input/input.variable.css +109 -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 +33 -0
- package/lib/loading/index.d.ts +172 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +118 -73
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +75 -58
- package/lib/loading/loading.variable.css +151 -73
- 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 +284 -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 +97 -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 +156 -0
- package/lib/message/messageConstructor.d.ts +106 -0
- package/lib/modal/index.d.ts +374 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +20 -0
- package/lib/modal/modal.d.ts +108 -27
- package/lib/modal/modal.less +27 -0
- package/lib/modal/modal.variable.css +20 -0
- package/lib/modal/props.mixin.d.ts +44 -11
- package/lib/navigation/index.d.ts +2 -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 +278 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +143 -0
- package/lib/notify/notifyConstructor.d.ts +91 -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 +273 -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 +318 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +23 -14
- package/lib/popover/popover.d.ts +90 -46
- package/lib/popover/popover.less +57 -46
- package/lib/popover/popover.variable.css +56 -14
- package/lib/popover/props.d.ts +89 -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 +232 -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 +41 -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 +8 -2
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +9 -2
- package/lib/radio/radio.variable.css +41 -2
- 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 +283 -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 +248 -17
- package/lib/select/select.d.ts +282 -156
- package/lib/select/select.less +251 -46
- package/lib/select/select.variable.css +281 -17
- 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 +52 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +32 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -1
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +57 -6
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +8 -7
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +337 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +114 -30
- package/lib/sideslider/sideslider.variable.css +33 -0
- package/lib/slider/index.d.ts +27 -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 +243 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +288 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.less +324 -0
- package/lib/steps/steps.variable.css +382 -0
- package/lib/styles/index.d.ts +48 -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 +53 -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 +190 -135
- package/lib/tab/index.d.ts +443 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +165 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +148 -0
- package/lib/tab/tab.d.ts +140 -0
- package/lib/tab/tab.less +222 -0
- package/lib/tab/tab.variable.css +242 -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 +162 -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 +116 -0
- package/lib/table/plugins/settings.css +110 -0
- package/lib/table/plugins/settings.less +136 -0
- package/lib/table/plugins/settings.variable.css +204 -0
- package/lib/table/props.d.ts +184 -0
- package/lib/table/render.d.ts +120 -0
- package/lib/table/table.css +321 -0
- package/lib/table/table.d.ts +114 -36
- package/lib/table/table.less +160 -1
- package/lib/table/table.variable.css +354 -0
- package/lib/table/use-common.d.ts +20 -0
- package/lib/table/utils.d.ts +83 -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 +130 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +2 -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 +208 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +250 -0
- package/lib/tag-input/tag-input.variable.css +302 -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 +329 -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 +252 -0
- package/lib/tree/index.d.ts +266 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +99 -0
- package/lib/tree/tree.css +50 -0
- package/lib/tree/tree.d.ts +110 -0
- package/lib/tree/tree.less +63 -0
- package/lib/tree/tree.variable.css +144 -0
- package/lib/tree/use-async.d.ts +5 -0
- package/lib/tree/use-node-action.d.ts +6 -0
- package/lib/tree/use-node-attribute.d.ts +13 -0
- package/lib/tree/util.d.ts +70 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +556 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +157 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +244 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +108 -79
- package/dist/bkui-vue.cjs.js +0 -4887
- package/dist/bkui-vue.esm.js +0 -4883
- package/dist/bkui-vue.umd.js +0 -4890
- package/lib/checkbox-group/index.js +0 -1
- package/lib/radio-button/index.js +0 -1
- package/lib/radio-group/index.js +0 -1
- 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,10 +1,12 @@
|
|
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;
|
10
12
|
--disable-color: #dcdee5;
|
@@ -58,6 +60,37 @@
|
|
58
60
|
--link-success-disabled-color: #94f5a4;
|
59
61
|
--link-warning-disabled-color: #ffd695;
|
60
62
|
--link-danger-disabled-color: #fd9c9c;
|
63
|
+
--message-color: var(--default-color);
|
64
|
+
--message-primary-bg-color: #f0f8ff;
|
65
|
+
--message-primary-border-color: #e1ecff;
|
66
|
+
--message-warning-bg-color: #fff4e2;
|
67
|
+
--message-warning-border-color: #ffe8c3;
|
68
|
+
--message-success-bg-color: #f2fff4;
|
69
|
+
--message-success-border-color: #dcffe2;
|
70
|
+
--message-danger-bg-color: #ffeded;
|
71
|
+
--message-danger-border-color: #ffdddd;
|
72
|
+
--slider-default-bg: #dcdee5;
|
73
|
+
--slider-disable-bar-bg: #979ba5;
|
74
|
+
--menu-bg-color: #182132;
|
75
|
+
--submenu-bg-color: #151d2c;
|
76
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
77
|
+
--menu-color: #96a2b9;
|
78
|
+
--menu-group-color: var(--default-color);
|
79
|
+
--menu-width: 260px;
|
80
|
+
--menu-collapse-width: 60px;
|
81
|
+
--menu-active-color: white;
|
82
|
+
--nav-header-bg-color: #182132;
|
83
|
+
--nav-bg-color: #182132;
|
84
|
+
--date-picker-disabled-bg: #fafbfd;
|
85
|
+
--date-picker-dropdown-mb: 4px;
|
86
|
+
--date-picker-dropdown-bg: #fff;
|
87
|
+
--table-bg-color: var(--white-color);
|
88
|
+
--table-border-color: #dcdee5;
|
89
|
+
--table-head-bg-color: #fafbfd;
|
90
|
+
--table-head-font-color: #313238;
|
91
|
+
--table-body-font-color: #575961;
|
92
|
+
--table-row-hover-bg-color: #f5f7fa;
|
93
|
+
--table-row-active-bg-color: #f0f1f5;
|
61
94
|
}
|
62
95
|
@keyframes loading-scale-animate {
|
63
96
|
0% {
|
@@ -80,184 +113,192 @@
|
|
80
113
|
.bk-fade-transtion .bk-fade-leave-to {
|
81
114
|
opacity: 0;
|
82
115
|
}
|
116
|
+
.clearfix-style::after {
|
117
|
+
display: block;
|
118
|
+
height: 0;
|
119
|
+
clear: both;
|
120
|
+
font-size: 0;
|
121
|
+
content: '';
|
122
|
+
visibility: hidden;
|
123
|
+
}
|
83
124
|
.bk-switcher {
|
84
125
|
position: relative;
|
85
126
|
display: inline-block;
|
86
|
-
/* 默认尺寸 */
|
87
|
-
width: 36px;
|
88
127
|
height: 20px;
|
128
|
+
/* 默认尺寸 */
|
129
|
+
min-width: 36px;
|
130
|
+
padding: 0;
|
131
|
+
margin: 0;
|
132
|
+
font-size: 14px;
|
89
133
|
line-height: 20px;
|
90
134
|
text-align: left;
|
91
135
|
vertical-align: middle;
|
136
|
+
list-style: none;
|
137
|
+
cursor: pointer;
|
92
138
|
background-color: var(--switch-grey-color);
|
139
|
+
border: 1px solid transparent;
|
93
140
|
border-radius: 50px;
|
141
|
+
border-radius: 100px;
|
142
|
+
box-sizing: border-box;
|
94
143
|
transition: all 0.4s ease;
|
144
|
+
transition: all 0.36s;
|
145
|
+
user-select: none;
|
95
146
|
/* 显示文本时固定尺寸 */
|
96
147
|
}
|
97
|
-
.bk-switcher:focus {
|
98
|
-
box-shadow: 0px 0px 6px var(--switch-grey-color);
|
99
|
-
}
|
100
148
|
.bk-switcher:after {
|
101
149
|
position: absolute;
|
102
|
-
top:
|
103
|
-
left:
|
104
|
-
|
105
|
-
|
106
|
-
height: 24px;
|
150
|
+
top: 1px;
|
151
|
+
left: 1px;
|
152
|
+
width: 16px;
|
153
|
+
height: 16px;
|
107
154
|
cursor: pointer;
|
108
155
|
background: var(--switch-default-color);
|
109
|
-
|
110
|
-
|
111
|
-
|
156
|
+
background-color: #fff;
|
157
|
+
border-radius: 18px;
|
158
|
+
content: ' ';
|
112
159
|
transition: all 0.3s ease;
|
113
160
|
}
|
114
|
-
.bk-switcher
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
161
|
+
.bk-switcher .switcher-text {
|
162
|
+
display: block;
|
163
|
+
margin-right: 6px;
|
164
|
+
margin-left: 28px;
|
165
|
+
font-size: 12px;
|
166
|
+
font-weight: 400;
|
167
|
+
color: #fff;
|
168
|
+
text-align: center;
|
169
|
+
transition: all 0.3s ease;
|
123
170
|
}
|
124
|
-
.bk-switcher.
|
125
|
-
|
171
|
+
.bk-switcher .animating-node {
|
172
|
+
position: absolute;
|
173
|
+
top: 0;
|
174
|
+
right: 0;
|
175
|
+
bottom: 0;
|
176
|
+
left: 0;
|
177
|
+
display: block;
|
178
|
+
pointer-events: none;
|
179
|
+
border-radius: inherit;
|
180
|
+
content: '';
|
181
|
+
opacity: 0.2;
|
182
|
+
box-shadow: 0 0 0 0 #1890ff;
|
183
|
+
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
|
184
|
+
animation-fill-mode: forwards;
|
126
185
|
}
|
127
186
|
.bk-switcher .bk-switcher-loading {
|
128
187
|
position: absolute;
|
129
|
-
top:
|
188
|
+
top: 1px;
|
130
189
|
left: 1px;
|
131
|
-
z-index:
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
190
|
+
z-index: 1;
|
191
|
+
width: 16px;
|
192
|
+
height: 16px;
|
193
|
+
font-size: 12px;
|
194
|
+
color: var(--switch-grey-color);
|
195
|
+
cursor: pointer;
|
196
|
+
background: transparent;
|
197
|
+
border-radius: 16px;
|
198
|
+
content: ' ';
|
199
|
+
transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
136
200
|
}
|
137
201
|
.bk-switcher .bk-switcher-loading svg {
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
font-size: 12px;
|
146
|
-
font-weight: normal;
|
147
|
-
color: var(--switch-default-color);
|
148
|
-
text-align: center;
|
149
|
-
vertical-align: top;
|
150
|
-
transition: all ease 0.3s;
|
202
|
+
position: absolute;
|
203
|
+
top: 0;
|
204
|
+
right: 0;
|
205
|
+
bottom: 0;
|
206
|
+
left: 0;
|
207
|
+
margin: auto;
|
208
|
+
animation: loading 1s linear infinite;
|
151
209
|
}
|
152
|
-
.bk-switcher
|
153
|
-
|
210
|
+
.bk-switcher.is-loading {
|
211
|
+
cursor: defalt;
|
154
212
|
}
|
155
|
-
.bk-switcher
|
156
|
-
|
213
|
+
.bk-switcher.is-loading input[type=checkbox] {
|
214
|
+
cursor: default;
|
157
215
|
}
|
158
216
|
.bk-switcher.show-label {
|
159
|
-
width: 60px;
|
160
217
|
height: 28px;
|
218
|
+
min-width: 60px;
|
161
219
|
line-height: 28px;
|
162
220
|
}
|
163
|
-
.bk-switcher.show-label
|
164
|
-
|
221
|
+
.bk-switcher.show-label::after {
|
222
|
+
width: 24px;
|
223
|
+
height: 24px;
|
165
224
|
}
|
166
225
|
.bk-switcher.show-label .bk-switcher-loading {
|
167
|
-
width:
|
168
|
-
height:
|
169
|
-
|
170
|
-
justify-content: center;
|
226
|
+
width: 24px;
|
227
|
+
height: 24px;
|
228
|
+
font-size: 20px;
|
171
229
|
}
|
172
|
-
.bk-switcher.show-label .bk-switcher-loading
|
173
|
-
|
230
|
+
.bk-switcher.show-label.is-checked .bk-switcher-loading {
|
231
|
+
left: 100%;
|
232
|
+
margin-left: -25px;
|
174
233
|
}
|
175
234
|
.bk-switcher.is-disabled {
|
176
|
-
cursor:
|
177
|
-
/* background-color: #eee !important; */
|
235
|
+
cursor: not-allowed;
|
178
236
|
opacity: 0.3;
|
179
237
|
}
|
180
|
-
.bk-switcher.is-disabled
|
238
|
+
.bk-switcher.is-disabled .bk-switcher-loading {
|
239
|
+
cursor: not-allowed;
|
240
|
+
}
|
241
|
+
.bk-switcher.is-disabled::after {
|
181
242
|
cursor: not-allowed;
|
182
243
|
}
|
183
244
|
.bk-switcher.is-checked {
|
184
245
|
background: var(--success-color);
|
185
246
|
}
|
186
|
-
.bk-switcher.is-checked
|
187
|
-
|
247
|
+
.bk-switcher.is-checked .bk-switcher-loading svg {
|
248
|
+
color: var(--success-color);
|
188
249
|
}
|
189
|
-
.bk-switcher.is-checked.primary {
|
250
|
+
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.primary {
|
190
251
|
background: var(--primary-color);
|
191
252
|
}
|
192
|
-
.bk-switcher.is-checked.primary
|
193
|
-
|
253
|
+
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.primary .bk-switcher-loading svg {
|
254
|
+
color: var(--primary-color);
|
194
255
|
}
|
195
256
|
.bk-switcher.is-checked:after {
|
196
|
-
top: 2px;
|
197
257
|
left: 100%;
|
198
|
-
margin-left: -
|
199
|
-
|
200
|
-
.bk-switcher.is-checked .switcher-label {
|
201
|
-
margin-left: 4px;
|
202
|
-
}
|
203
|
-
.bk-switcher.is-checked .switcher-label .on-text {
|
204
|
-
display: inline-block;
|
258
|
+
margin-left: -1px;
|
259
|
+
transform: translateX(-100%);
|
205
260
|
}
|
206
|
-
.bk-switcher.is-checked .switcher-
|
207
|
-
|
261
|
+
.bk-switcher.is-checked .switcher-text {
|
262
|
+
margin-right: 28px;
|
263
|
+
margin-left: 6px;
|
208
264
|
}
|
209
|
-
.bk-switcher.is-checked .bk-switcher-loading {
|
210
|
-
|
211
|
-
left:
|
265
|
+
.bk-switcher:not(.show-label).is-checked .bk-switcher-loading {
|
266
|
+
left: 100%;
|
267
|
+
margin-left: -17px;
|
212
268
|
}
|
213
269
|
.bk-switcher.bk-switcher-outline {
|
214
270
|
background: var(--switch-default-color);
|
215
271
|
border: 1px solid var(--switch-grey-color);
|
216
272
|
}
|
217
273
|
.bk-switcher.bk-switcher-outline:after {
|
218
|
-
width:
|
219
|
-
height:
|
274
|
+
width: 24px;
|
275
|
+
height: 24px;
|
220
276
|
background-color: var(--switch-grey-color);
|
221
277
|
box-shadow: none;
|
222
278
|
}
|
223
|
-
.bk-switcher.bk-switcher-outline .switcher-
|
224
|
-
height: 26px;
|
225
|
-
margin-left: 24px;
|
279
|
+
.bk-switcher.bk-switcher-outline .switcher-text {
|
226
280
|
color: var(--switch-grey-color);
|
227
281
|
}
|
228
|
-
.bk-switcher.bk-switcher-outline .bk-switcher-loading {
|
229
|
-
width: 22px;
|
230
|
-
height: 22px;
|
231
|
-
align-items: center;
|
232
|
-
justify-content: center;
|
233
|
-
}
|
234
282
|
.bk-switcher.bk-switcher-outline.is-checked {
|
235
283
|
border: 1px solid var(--success-color);
|
236
284
|
}
|
237
285
|
.bk-switcher.bk-switcher-outline.is-checked:after {
|
238
|
-
margin-left: -24px;
|
239
286
|
background-color: var(--success-color);
|
240
287
|
}
|
241
|
-
.bk-switcher.bk-switcher-outline.is-checked .switcher-
|
242
|
-
margin-left: 4px;
|
288
|
+
.bk-switcher.bk-switcher-outline.is-checked .switcher-text {
|
243
289
|
color: var(--success-color);
|
244
290
|
}
|
245
|
-
.bk-switcher.bk-switcher-outline.
|
246
|
-
|
247
|
-
border-color: #eee;
|
248
|
-
}
|
249
|
-
.bk-switcher.bk-switcher-outline.is-disabled .switcher-label {
|
250
|
-
color: #eee;
|
291
|
+
.bk-switcher.bk-switcher-outline .bk-switcher-loading svg {
|
292
|
+
color: #fff;
|
251
293
|
}
|
252
|
-
.bk-switcher.bk-switcher-outline.is-
|
253
|
-
|
294
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked {
|
295
|
+
border: 1px solid var(--primary-color);
|
254
296
|
}
|
255
|
-
.bk-switcher.bk-switcher-outline.bk-switcher-
|
256
|
-
|
257
|
-
height: 18px;
|
297
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked:after {
|
298
|
+
background: var(--primary-color);
|
258
299
|
}
|
259
|
-
.bk-switcher.bk-switcher-outline.bk-switcher
|
260
|
-
|
300
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked .switcher-text {
|
301
|
+
color: var(--primary-color);
|
261
302
|
}
|
262
303
|
.bk-switcher.bk-switcher-square {
|
263
304
|
border-radius: 2px;
|
@@ -265,55 +306,69 @@
|
|
265
306
|
.bk-switcher.bk-switcher-square:after {
|
266
307
|
border-radius: 2px;
|
267
308
|
}
|
268
|
-
.bk-switcher.bk-switcher-square .switcher-label {
|
269
|
-
width: 35px;
|
270
|
-
}
|
271
309
|
.bk-switcher.bk-switcher-large {
|
272
|
-
width: 42px;
|
273
310
|
height: 24px;
|
311
|
+
min-width: 42px;
|
274
312
|
line-height: 22px;
|
275
|
-
border-radius: 12px;
|
276
313
|
}
|
277
314
|
.bk-switcher.bk-switcher-large:after {
|
278
315
|
width: 20px;
|
279
316
|
height: 20px;
|
280
317
|
}
|
281
|
-
.bk-switcher.bk-switcher-large.is-checked:after {
|
282
|
-
top: 2px;
|
283
|
-
left: 100%;
|
284
|
-
margin-left: -22px;
|
285
|
-
}
|
286
318
|
.bk-switcher.bk-switcher-large .bk-switcher-loading {
|
287
|
-
width:
|
288
|
-
height:
|
319
|
+
width: 20px;
|
320
|
+
height: 20px;
|
321
|
+
font-size: 16px;
|
322
|
+
}
|
323
|
+
.bk-switcher.bk-switcher-large.is-checked .bk-switcher-loading {
|
324
|
+
margin-left: -21px;
|
289
325
|
}
|
290
326
|
.bk-switcher.bk-switcher-small {
|
291
|
-
width: 26px;
|
292
327
|
height: 16px;
|
328
|
+
min-width: 26px;
|
293
329
|
line-height: 22px;
|
294
330
|
}
|
295
331
|
.bk-switcher.bk-switcher-small:after {
|
296
332
|
width: 12px;
|
297
333
|
height: 12px;
|
298
334
|
}
|
299
|
-
.bk-switcher.bk-switcher-small.is-checked:after {
|
300
|
-
top: 2px;
|
301
|
-
left: 100%;
|
302
|
-
margin-left: -14px;
|
303
|
-
}
|
304
335
|
.bk-switcher.bk-switcher-small .bk-switcher-loading {
|
305
|
-
width:
|
306
|
-
height:
|
336
|
+
width: 12px;
|
337
|
+
height: 12px;
|
338
|
+
font-weight: 700;
|
339
|
+
transform: scale(0.66667);
|
307
340
|
}
|
308
|
-
.bk-switcher
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
341
|
+
.bk-switcher.bk-switcher-small.is-checked .bk-switcher-loading {
|
342
|
+
margin-left: -13px;
|
343
|
+
}
|
344
|
+
:not(.show-label).bk-switcher-nomal.bk-switcher-outline::after {
|
345
|
+
width: 16px;
|
346
|
+
height: 16px;
|
347
|
+
}
|
348
|
+
:not(.show-label).bk-switcher-outline.is-checked.bk-switcher-small::after {
|
349
|
+
width: 12px;
|
350
|
+
height: 12px;
|
351
|
+
}
|
352
|
+
:not(.show-label).bk-switcher-outline.is-checked.bk-switcher-large::after {
|
353
|
+
width: 20px;
|
354
|
+
height: 20px;
|
355
|
+
}
|
356
|
+
:not(.show-label).bk-switcher-outline.is-checked::after {
|
357
|
+
width: 16px;
|
358
|
+
height: 16px;
|
359
|
+
}
|
360
|
+
@keyframes fadeEffect {
|
361
|
+
100% {
|
362
|
+
opacity: 0;
|
363
|
+
}
|
364
|
+
}
|
365
|
+
@keyframes waveEffect {
|
366
|
+
100% {
|
367
|
+
box-shadow: 0 0 0 #1890ff;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
@keyframes loading {
|
371
|
+
100% {
|
372
|
+
transform: rotate(1turn);
|
373
|
+
}
|
319
374
|
}
|