bkui-vue 0.0.1-beta.8 → 0.0.1-beta.82
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 +24606 -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 +2 -0
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.less +2 -0
- package/lib/alert/alert.variable.css +31 -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 +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 +66 -30
- 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 +52 -0
- package/lib/dialog/dialog.d.ts +305 -52
- package/lib/dialog/dialog.less +20 -0
- package/lib/dialog/dialog.variable.css +52 -0
- 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/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.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 +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 +108 -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 +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 +364 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +28 -16
- package/lib/popover/popover.d.ts +111 -45
- package/lib/popover/popover.less +59 -46
- package/lib/popover/popover.variable.css +57 -16
- package/lib/popover/props.d.ts +99 -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 +88 -35
- 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 +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 +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 +1728 -0
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +21 -21
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +229 -41
- package/lib/select/select.d.ts +388 -156
- 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 +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 +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 +48 -32
- 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 +30 -0
- package/lib/table/index.d.ts +389 -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 +190 -0
- package/lib/table/render.d.ts +115 -0
- package/lib/table/table.css +387 -0
- package/lib/table/table.d.ts +126 -36
- package/lib/table/table.less +229 -1
- package/lib/table/table.variable.css +416 -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 +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/index.d.ts +351 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/transfer.css +139 -0
- package/lib/transfer/transfer.d.ts +185 -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 +449 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +159 -0
- package/lib/tree/tree.css +53 -0
- package/lib/tree/tree.d.ts +193 -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-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 +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
@@ -0,0 +1,129 @@
|
|
1
|
+
declare const BkSteps: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
list: unknown[];
|
7
|
+
extCls: string;
|
8
|
+
titleAble: boolean;
|
9
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
10
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
11
|
+
default: () => unknown[];
|
12
|
+
} & {
|
13
|
+
default: () => unknown[];
|
14
|
+
};
|
15
|
+
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
16
|
+
default: boolean;
|
17
|
+
} & {
|
18
|
+
default: boolean;
|
19
|
+
};
|
20
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
21
|
+
default: string;
|
22
|
+
};
|
23
|
+
}>> & {
|
24
|
+
onSelect?: (...args: any[]) => any;
|
25
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "list" | "extCls" | "titleAble">;
|
26
|
+
$attrs: {
|
27
|
+
[x: string]: unknown;
|
28
|
+
};
|
29
|
+
$refs: {
|
30
|
+
[x: string]: unknown;
|
31
|
+
};
|
32
|
+
$slots: Readonly<{
|
33
|
+
[name: string]: import("vue").Slot;
|
34
|
+
}>;
|
35
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
36
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
37
|
+
$emit: (event: "select", ...args: any[]) => void;
|
38
|
+
$el: any;
|
39
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
40
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
41
|
+
default: () => unknown[];
|
42
|
+
} & {
|
43
|
+
default: () => unknown[];
|
44
|
+
};
|
45
|
+
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
46
|
+
default: boolean;
|
47
|
+
} & {
|
48
|
+
default: boolean;
|
49
|
+
};
|
50
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
}>> & {
|
54
|
+
onSelect?: (...args: any[]) => any;
|
55
|
+
}, {
|
56
|
+
defaultTimelines: import("vue").Ref<any[]>;
|
57
|
+
titleSelect: (item: any) => void;
|
58
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], string, {
|
59
|
+
list: unknown[];
|
60
|
+
extCls: string;
|
61
|
+
titleAble: boolean;
|
62
|
+
}> & {
|
63
|
+
beforeCreate?: (() => void) | (() => void)[];
|
64
|
+
created?: (() => void) | (() => void)[];
|
65
|
+
beforeMount?: (() => void) | (() => void)[];
|
66
|
+
mounted?: (() => void) | (() => void)[];
|
67
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
68
|
+
updated?: (() => void) | (() => void)[];
|
69
|
+
activated?: (() => void) | (() => void)[];
|
70
|
+
deactivated?: (() => void) | (() => void)[];
|
71
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
72
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
73
|
+
destroyed?: (() => void) | (() => void)[];
|
74
|
+
unmounted?: (() => void) | (() => void)[];
|
75
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
76
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
77
|
+
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)[];
|
78
|
+
};
|
79
|
+
$forceUpdate: () => void;
|
80
|
+
$nextTick: typeof import("vue").nextTick;
|
81
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
82
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
83
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
84
|
+
default: () => unknown[];
|
85
|
+
} & {
|
86
|
+
default: () => unknown[];
|
87
|
+
};
|
88
|
+
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
89
|
+
default: boolean;
|
90
|
+
} & {
|
91
|
+
default: boolean;
|
92
|
+
};
|
93
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
94
|
+
default: string;
|
95
|
+
};
|
96
|
+
}>> & {
|
97
|
+
onSelect?: (...args: any[]) => any;
|
98
|
+
} & import("vue").ShallowUnwrapRef<{
|
99
|
+
defaultTimelines: import("vue").Ref<any[]>;
|
100
|
+
titleSelect: (item: any) => void;
|
101
|
+
}> & {} & {} & import("vue").ComponentCustomProperties;
|
102
|
+
__isFragment?: never;
|
103
|
+
__isTeleport?: never;
|
104
|
+
__isSuspense?: never;
|
105
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
106
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
107
|
+
default: () => unknown[];
|
108
|
+
} & {
|
109
|
+
default: () => unknown[];
|
110
|
+
};
|
111
|
+
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
112
|
+
default: boolean;
|
113
|
+
} & {
|
114
|
+
default: boolean;
|
115
|
+
};
|
116
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
117
|
+
default: string;
|
118
|
+
};
|
119
|
+
}>> & {
|
120
|
+
onSelect?: (...args: any[]) => any;
|
121
|
+
}, {
|
122
|
+
defaultTimelines: import("vue").Ref<any[]>;
|
123
|
+
titleSelect: (item: any) => void;
|
124
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", {
|
125
|
+
list: unknown[];
|
126
|
+
extCls: string;
|
127
|
+
titleAble: boolean;
|
128
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
129
|
+
export default BkSteps;
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,((e,t)=>(()=>{"use strict";var o={4212:t=>{t.exports=e},748:e=>{e.exports=t}},n={};function c(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,c),r.exports}c.d=(e,t)=>{for(var o in t)c.o(t,o)&&!c.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{c.r(r),c.d(r,{default:()=>l});var e=c(4212),t=c(748),o={list:e.PropTypes.array.def([]),titleAble:e.PropTypes.bool.def(!1),extCls:e.PropTypes.string};const n=(0,t.defineComponent)({name:"Timeline",props:o,emits:["select"],setup:function(e,o){var n=o.emit,c=(0,t.ref)([]);return(0,t.onMounted)((function(){var t,o,n,r,l;(t=c.value).splice.apply(t,[0,c.value.length].concat([{tag:"步骤1",content:"内容1"},{tag:"步骤2",content:"内容2"},{tag:"步骤3",content:"内容3"}])),(null===(o=e.list)||void 0===o?void 0:o.length)&&(n=e.list,l=[],n.forEach((function(e){l.push({tag:e.tag,content:e.content,type:e.type,size:e.size,color:e.color,icon:e.icon,filled:e.filled})})),(r=c.value).splice.apply(r,[0,c.value.length].concat(l)))})),{defaultTimelines:c,titleSelect:function(e){try{n("select",e)}catch(e){console.warn(e)}}}},render:function(){var o=this,n=function(e){var t=e.icon;return!!t&&"[object Object]"===Object.prototype.toString.call(t)},c=function(t){var o="bk-timeline",n=t.type?"".concat(o,"-").concat(t.type):"".concat(o,"-default"),c=t.size?"".concat(o,"-").concat(t.size):"",r=t.filled?"".concat(o,"-filled"):"",l=t.color&&["blue","red","green","yellow","gray"].includes(t.color)?"".concat(o,"-").concat(t.color):"";return(0,e.classes)({},"".concat(o," ").concat(n," ").concat(c," ").concat(l," ").concat(r))};return(0,t.createVNode)("ul",{class:["bk-timeline",this.extCls]},[this.defaultTimelines.map((function(e){var r,l,i;return(0,t.createVNode)("li",{class:["bk-timeline-dot",c(e)]},[n(e)?(0,t.createVNode)("div",{class:"bk-timeline-icon"},[(0,t.createVNode)("span",{class:"bk-timeline-icon-inner"},[e.icon])]):"",(0,t.createVNode)("div",{class:"bk-timeline-section"},[(0,t.createVNode)("div",{class:"bk-timeline-title",onClick:function(){o.titleSelect(e)}},[null!==(i=null===(l=(r=o.$slots).default)||void 0===l?void 0:l.call(r))&&void 0!==i?i:(0,t.createVNode)("span",{innerHTML:e.tag},null)]),e.content?(0,t.createVNode)("div",{class:"bk-timeline-content",innerHTML:e.content},null):""])])}))])}}),l=(0,e.withInstall)(n)})(),r})()));
|
@@ -0,0 +1,235 @@
|
|
1
|
+
* {
|
2
|
+
box-sizing: border-box;
|
3
|
+
}
|
4
|
+
.bk-timeline {
|
5
|
+
padding: 0;
|
6
|
+
margin: 16px 0 0;
|
7
|
+
font-style: normal;
|
8
|
+
font-weight: 400;
|
9
|
+
line-height: normal;
|
10
|
+
text-align: left;
|
11
|
+
list-style: none;
|
12
|
+
}
|
13
|
+
.bk-timeline .bk-timeline-dot {
|
14
|
+
position: relative;
|
15
|
+
padding-bottom: 24px;
|
16
|
+
padding-left: 16px;
|
17
|
+
/* spacing 1px */
|
18
|
+
margin-top: 13px;
|
19
|
+
font-size: 0;
|
20
|
+
border-left: 1px solid #d8d8d8;
|
21
|
+
}
|
22
|
+
.bk-timeline .bk-timeline-dot::before {
|
23
|
+
position: absolute;
|
24
|
+
top: calc((11px + 1px) * -1);
|
25
|
+
left: -6px;
|
26
|
+
display: inline-block;
|
27
|
+
width: 11px;
|
28
|
+
height: 11px;
|
29
|
+
background: #fff;
|
30
|
+
border: 2px solid #d8d8d8;
|
31
|
+
border-radius: 50%;
|
32
|
+
content: '';
|
33
|
+
box-sizing: border-box;
|
34
|
+
}
|
35
|
+
.bk-timeline .bk-timeline-dot:last-child {
|
36
|
+
padding-bottom: 0;
|
37
|
+
/* 保留border使用间距保持一致 */
|
38
|
+
border-left: 1px solid transparent;
|
39
|
+
}
|
40
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-title {
|
41
|
+
display: inline-block;
|
42
|
+
padding-bottom: 10px;
|
43
|
+
margin-top: -3px;
|
44
|
+
font-size: 14px;
|
45
|
+
color: #63656e;
|
46
|
+
cursor: pointer;
|
47
|
+
}
|
48
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-content {
|
49
|
+
max-width: 300px;
|
50
|
+
font-size: 14px;
|
51
|
+
color: #666;
|
52
|
+
word-break: break-all;
|
53
|
+
}
|
54
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-icon {
|
55
|
+
position: absolute;
|
56
|
+
top: calc((15px + 1px) * -1);
|
57
|
+
left: -8px;
|
58
|
+
display: inline-block;
|
59
|
+
width: 15px;
|
60
|
+
height: 15px;
|
61
|
+
background: #fff;
|
62
|
+
border: 2px solid #d8d8d8;
|
63
|
+
border-radius: 50%;
|
64
|
+
box-sizing: border-box;
|
65
|
+
}
|
66
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner {
|
67
|
+
display: inline-block;
|
68
|
+
transform: scale(1) translate(-0.5px, -4px);
|
69
|
+
}
|
70
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner > :first-child {
|
71
|
+
font-size: 12px;
|
72
|
+
}
|
73
|
+
.bk-timeline .bk-timeline-dot .bk-timeline-section {
|
74
|
+
position: relative;
|
75
|
+
top: calc((11px + 2px) * -1);
|
76
|
+
}
|
77
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-large {
|
78
|
+
margin-top: calc(15px + 2px);
|
79
|
+
}
|
80
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-large::before {
|
81
|
+
top: calc((15px + 1px) * -1);
|
82
|
+
left: -8px;
|
83
|
+
width: 15px;
|
84
|
+
height: 15px;
|
85
|
+
}
|
86
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-large > .bk-timeline-section {
|
87
|
+
top: calc((15px + 1px) * -1);
|
88
|
+
}
|
89
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon {
|
90
|
+
margin-top: calc(15px + 2px);
|
91
|
+
}
|
92
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon::before {
|
93
|
+
display: none;
|
94
|
+
}
|
95
|
+
.bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon > .bk-timeline-section {
|
96
|
+
top: calc((15px + 1px) * -1);
|
97
|
+
}
|
98
|
+
.bk-timeline .bk-timeline-dot:first-child {
|
99
|
+
margin-top: 0;
|
100
|
+
}
|
101
|
+
.bk-timeline .bk-timeline-primary {
|
102
|
+
border-left: 1px solid #3a84ff;
|
103
|
+
}
|
104
|
+
.bk-timeline .bk-timeline-primary::before,
|
105
|
+
.bk-timeline .bk-timeline-primary .bk-timeline-icon {
|
106
|
+
color: #3a84ff;
|
107
|
+
border: 2px solid #3a84ff;
|
108
|
+
}
|
109
|
+
.bk-timeline .bk-timeline-primary.bk-timeline-filled::before,
|
110
|
+
.bk-timeline .bk-timeline-primary.bk-timeline-filled .bk-timeline-icon {
|
111
|
+
background: #3a84ff;
|
112
|
+
}
|
113
|
+
.bk-timeline .bk-timeline-warning {
|
114
|
+
border-left: 1px solid #ff9c01;
|
115
|
+
}
|
116
|
+
.bk-timeline .bk-timeline-warning::before,
|
117
|
+
.bk-timeline .bk-timeline-warning .bk-timeline-icon {
|
118
|
+
color: #ff9c01;
|
119
|
+
border: 2px solid #ff9c01;
|
120
|
+
}
|
121
|
+
.bk-timeline .bk-timeline-warning.bk-timeline-filled::before,
|
122
|
+
.bk-timeline .bk-timeline-warning.bk-timeline-filled .bk-timeline-icon {
|
123
|
+
background: #ff9c01;
|
124
|
+
}
|
125
|
+
.bk-timeline .bk-timeline-success {
|
126
|
+
border-left: 1px solid #2dcb56;
|
127
|
+
}
|
128
|
+
.bk-timeline .bk-timeline-success::before,
|
129
|
+
.bk-timeline .bk-timeline-success .bk-timeline-icon {
|
130
|
+
color: #2dcb56;
|
131
|
+
border: 2px solid #2dcb56;
|
132
|
+
}
|
133
|
+
.bk-timeline .bk-timeline-success.bk-timeline-filled::before,
|
134
|
+
.bk-timeline .bk-timeline-success.bk-timeline-filled .bk-timeline-icon {
|
135
|
+
background: #2dcb56;
|
136
|
+
}
|
137
|
+
.bk-timeline .bk-timeline-danger {
|
138
|
+
border-left: 1px solid #ea3636;
|
139
|
+
}
|
140
|
+
.bk-timeline .bk-timeline-danger::before,
|
141
|
+
.bk-timeline .bk-timeline-danger .bk-timeline-icon {
|
142
|
+
color: #ea3636;
|
143
|
+
border: 2px solid #ea3636;
|
144
|
+
}
|
145
|
+
.bk-timeline .bk-timeline-danger.bk-timeline-filled::before,
|
146
|
+
.bk-timeline .bk-timeline-danger.bk-timeline-filled .bk-timeline-icon {
|
147
|
+
background: #ea3636;
|
148
|
+
}
|
149
|
+
.bk-timeline .bk-timeline-blue::before,
|
150
|
+
.bk-timeline .bk-timeline-blue .bk-timeline-icon {
|
151
|
+
color: #3a84ff;
|
152
|
+
border: 2px solid #3a84ff;
|
153
|
+
}
|
154
|
+
.bk-timeline .bk-timeline-blue.bk-timeline-filled::before,
|
155
|
+
.bk-timeline .bk-timeline-blue.bk-timeline-filled .bk-timeline-icon {
|
156
|
+
background: #3a84ff;
|
157
|
+
}
|
158
|
+
.bk-timeline .bk-timeline-red::before,
|
159
|
+
.bk-timeline .bk-timeline-red .bk-timeline-icon {
|
160
|
+
color: #ea3636;
|
161
|
+
border: 2px solid #ea3636;
|
162
|
+
}
|
163
|
+
.bk-timeline .bk-timeline-red.bk-timeline-filled::before,
|
164
|
+
.bk-timeline .bk-timeline-red.bk-timeline-filled .bk-timeline-icon {
|
165
|
+
background: #ea3636;
|
166
|
+
}
|
167
|
+
.bk-timeline .bk-timeline-green::before,
|
168
|
+
.bk-timeline .bk-timeline-green .bk-timeline-icon {
|
169
|
+
color: #2dcb56;
|
170
|
+
border: 2px solid #2dcb56;
|
171
|
+
}
|
172
|
+
.bk-timeline .bk-timeline-green.bk-timeline-filled::before,
|
173
|
+
.bk-timeline .bk-timeline-green.bk-timeline-filled .bk-timeline-icon {
|
174
|
+
background: #2dcb56;
|
175
|
+
}
|
176
|
+
.bk-timeline .bk-timeline-yellow::before,
|
177
|
+
.bk-timeline .bk-timeline-yellow .bk-timeline-icon {
|
178
|
+
color: #ff9c01;
|
179
|
+
border: 2px solid #ff9c01;
|
180
|
+
}
|
181
|
+
.bk-timeline .bk-timeline-yellow.bk-timeline-filled::before,
|
182
|
+
.bk-timeline .bk-timeline-yellow.bk-timeline-filled .bk-timeline-icon {
|
183
|
+
background: #ff9c01;
|
184
|
+
}
|
185
|
+
.bk-timeline .bk-timeline-gray::before,
|
186
|
+
.bk-timeline .bk-timeline-gray .bk-timeline-icon {
|
187
|
+
color: #63656e;
|
188
|
+
border: 2px solid #63656e;
|
189
|
+
}
|
190
|
+
.bk-timeline .bk-timeline-gray.bk-timeline-filled::before,
|
191
|
+
.bk-timeline .bk-timeline-gray.bk-timeline-filled .bk-timeline-icon {
|
192
|
+
background: #63656e;
|
193
|
+
}
|
194
|
+
.bk-timeline-dashed .bk-step .bk-step-title::after,
|
195
|
+
.bk-timeline-dashed .bk-step .bk-step-indicator::after {
|
196
|
+
background-image: linear-gradient(to right, #c4c6cc 50%, transparent 0%);
|
197
|
+
background-position: bottom;
|
198
|
+
background-repeat: repeat-x;
|
199
|
+
background-size: 6px 1px;
|
200
|
+
}
|
201
|
+
.bk-timeline-solid .bk-step .bk-step-title::after,
|
202
|
+
.bk-timeline-solid .bk-step .bk-step-indicator::after {
|
203
|
+
background-color: #c4c6cc;
|
204
|
+
}
|
205
|
+
.bk-timeline-vertical {
|
206
|
+
height: 100%;
|
207
|
+
flex-direction: column;
|
208
|
+
}
|
209
|
+
.bk-timeline-vertical .bk-step {
|
210
|
+
margin-right: 0;
|
211
|
+
margin-bottom: 8px;
|
212
|
+
}
|
213
|
+
.bk-timeline-vertical .bk-step .bk-step-title::after,
|
214
|
+
.bk-timeline-vertical .bk-step .bk-step-indicator::after {
|
215
|
+
display: none;
|
216
|
+
}
|
217
|
+
.bk-timeline-vertical .bk-step::after {
|
218
|
+
position: absolute;
|
219
|
+
top: 32px;
|
220
|
+
left: 12px;
|
221
|
+
width: 1px;
|
222
|
+
height: 100%;
|
223
|
+
background-image: linear-gradient(#c4c6cc 50%, transparent 0%);
|
224
|
+
background-position: right;
|
225
|
+
background-repeat: repeat-y;
|
226
|
+
background-size: 1px 6px;
|
227
|
+
content: '';
|
228
|
+
}
|
229
|
+
.bk-timeline-vertical .bk-step .bk-step-title {
|
230
|
+
display: flex;
|
231
|
+
height: 100%;
|
232
|
+
margin-top: 0;
|
233
|
+
text-align: left;
|
234
|
+
align-items: center;
|
235
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
/**
|
2
|
+
* Tencent is pleased to support the open source community by making
|
3
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4
|
+
*
|
5
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
6
|
+
*
|
7
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
8
|
+
*
|
9
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
10
|
+
*
|
11
|
+
* ---------------------------------------------------
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
13
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
14
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
15
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
16
|
+
*
|
17
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
18
|
+
* the Software.
|
19
|
+
*
|
20
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
21
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
23
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
|
+
* IN THE SOFTWARE.
|
25
|
+
*/
|
26
|
+
import { ExtractPropTypes } from 'vue';
|
27
|
+
declare const timelineProps: {
|
28
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
29
|
+
default: () => unknown[];
|
30
|
+
} & {
|
31
|
+
default: () => unknown[];
|
32
|
+
};
|
33
|
+
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
34
|
+
default: boolean;
|
35
|
+
} & {
|
36
|
+
default: boolean;
|
37
|
+
};
|
38
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
39
|
+
default: string;
|
40
|
+
};
|
41
|
+
};
|
42
|
+
export declare type TimelinePropTypes = ExtractPropTypes<typeof timelineProps>;
|
43
|
+
declare const _default: import("vue").DefineComponent<{
|
44
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
45
|
+
default: () => unknown[];
|
46
|
+
} & {
|
47
|
+
default: () => unknown[];
|
48
|
+
};
|
49
|
+
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
50
|
+
default: boolean;
|
51
|
+
} & {
|
52
|
+
default: boolean;
|
53
|
+
};
|
54
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
55
|
+
default: string;
|
56
|
+
};
|
57
|
+
}, {
|
58
|
+
defaultTimelines: import("vue").Ref<any[]>;
|
59
|
+
titleSelect: (item: any) => void;
|
60
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
61
|
+
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
62
|
+
default: () => unknown[];
|
63
|
+
} & {
|
64
|
+
default: () => unknown[];
|
65
|
+
};
|
66
|
+
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
67
|
+
default: boolean;
|
68
|
+
} & {
|
69
|
+
default: boolean;
|
70
|
+
};
|
71
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
72
|
+
default: string;
|
73
|
+
};
|
74
|
+
}>> & {
|
75
|
+
onSelect?: (...args: any[]) => any;
|
76
|
+
}, {
|
77
|
+
list: unknown[];
|
78
|
+
extCls: string;
|
79
|
+
titleAble: boolean;
|
80
|
+
}>;
|
81
|
+
export default _default;
|
@@ -0,0 +1,239 @@
|
|
1
|
+
@import '../styles/themes/themes.less';
|
2
|
+
|
3
|
+
@themeSelectors: primary, warning, success, danger;
|
4
|
+
|
5
|
+
@colorSelectors: blue, red, green, yellow, gray;
|
6
|
+
|
7
|
+
@blue-color: #3a84ff;
|
8
|
+
@green-color: #2dcb56;
|
9
|
+
@yellow-color: #ff9c01;
|
10
|
+
@red-color: #ea3636;
|
11
|
+
@gray-color: #63656e;
|
12
|
+
|
13
|
+
* {
|
14
|
+
box-sizing: border-box;
|
15
|
+
}
|
16
|
+
|
17
|
+
.bk-timeline {
|
18
|
+
padding: 0;
|
19
|
+
margin: 16px 0 0;
|
20
|
+
font-style: normal;
|
21
|
+
font-weight: 400;
|
22
|
+
line-height: normal;
|
23
|
+
text-align: left;
|
24
|
+
list-style: none;
|
25
|
+
|
26
|
+
.bk-timeline-dot {
|
27
|
+
position: relative;
|
28
|
+
padding-bottom: 24px;
|
29
|
+
padding-left: 16px;
|
30
|
+
|
31
|
+
/* spacing 1px */
|
32
|
+
margin-top: 13px;
|
33
|
+
font-size: 0;
|
34
|
+
border-left: 1px solid #d8d8d8;
|
35
|
+
|
36
|
+
&::before {
|
37
|
+
position: absolute;
|
38
|
+
top: calc((11px + 1px) * -1);
|
39
|
+
left: -6px;
|
40
|
+
display: inline-block;
|
41
|
+
width: 11px;
|
42
|
+
height: 11px;
|
43
|
+
background: #fff;
|
44
|
+
border: 2px solid #d8d8d8;
|
45
|
+
border-radius: 50%;
|
46
|
+
content: '';
|
47
|
+
box-sizing: border-box;
|
48
|
+
}
|
49
|
+
|
50
|
+
&:last-child {
|
51
|
+
padding-bottom: 0;
|
52
|
+
|
53
|
+
/* 保留border使用间距保持一致 */
|
54
|
+
border-left: 1px solid transparent;
|
55
|
+
}
|
56
|
+
|
57
|
+
.bk-timeline-title {
|
58
|
+
display: inline-block;
|
59
|
+
padding-bottom: 10px;
|
60
|
+
margin-top: -3px;
|
61
|
+
font-size: 14px;
|
62
|
+
color: #63656e;
|
63
|
+
cursor: pointer;
|
64
|
+
|
65
|
+
}
|
66
|
+
|
67
|
+
.bk-timeline-content {
|
68
|
+
max-width: 300px;
|
69
|
+
font-size: 14px;
|
70
|
+
color: #666;
|
71
|
+
word-break: break-all;
|
72
|
+
}
|
73
|
+
|
74
|
+
.bk-timeline-icon {
|
75
|
+
position: absolute;
|
76
|
+
top: calc((15px + 1px) * -1);
|
77
|
+
left: -8px;
|
78
|
+
|
79
|
+
display: inline-block;
|
80
|
+
width: 15px;
|
81
|
+
height: 15px;
|
82
|
+
background: #fff;
|
83
|
+
border: 2px solid #d8d8d8;
|
84
|
+
border-radius: 50%;
|
85
|
+
box-sizing: border-box;
|
86
|
+
|
87
|
+
.bk-timeline-icon-inner {
|
88
|
+
display: inline-block;
|
89
|
+
transform: scale(1) translate(-.5px, -4px);
|
90
|
+
|
91
|
+
>:first-child {
|
92
|
+
font-size: 12px;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
.bk-timeline-section {
|
98
|
+
position: relative;
|
99
|
+
top: calc((11px + 2px) * -1);
|
100
|
+
}
|
101
|
+
|
102
|
+
&.bk-timeline-large {
|
103
|
+
margin-top: calc(15px + 2px);
|
104
|
+
|
105
|
+
&::before {
|
106
|
+
top: calc((15px + 1px) * -1);
|
107
|
+
left: -8px;
|
108
|
+
width: 15px;
|
109
|
+
height: 15px;
|
110
|
+
}
|
111
|
+
|
112
|
+
> .bk-timeline-section {
|
113
|
+
top: calc((15px + 1px) * -1);
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
&.bk-timeline-item-custom-icon {
|
118
|
+
margin-top: calc(15px + 2px);
|
119
|
+
|
120
|
+
&::before {
|
121
|
+
display: none;
|
122
|
+
}
|
123
|
+
|
124
|
+
> .bk-timeline-section {
|
125
|
+
top: calc((15px + 1px) * -1);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
&:first-child {
|
130
|
+
margin-top: 0;
|
131
|
+
}
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
each(@themeSelectors, {
|
137
|
+
@color: '@{value}-color';
|
138
|
+
|
139
|
+
.bk-timeline{
|
140
|
+
&-@{value} {
|
141
|
+
border-left: 1px solid @@color;
|
142
|
+
&::before,
|
143
|
+
.bk-timeline-icon {
|
144
|
+
color: @@color;
|
145
|
+
border: 2px solid @@color;
|
146
|
+
}
|
147
|
+
&.bk-timeline-filled {
|
148
|
+
&::before,
|
149
|
+
.bk-timeline-icon {
|
150
|
+
background: @@color;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
})
|
156
|
+
|
157
|
+
each(@colorSelectors, {
|
158
|
+
@color: '@{value}-color';
|
159
|
+
|
160
|
+
.bk-timeline{
|
161
|
+
&-@{value} {
|
162
|
+
&::before,
|
163
|
+
.bk-timeline-icon {
|
164
|
+
color: @@color;
|
165
|
+
border: 2px solid @@color;
|
166
|
+
}
|
167
|
+
&.bk-timeline-filled {
|
168
|
+
&::before,
|
169
|
+
.bk-timeline-icon {
|
170
|
+
background: @@color;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
})
|
176
|
+
|
177
|
+
&-dashed {
|
178
|
+
.bk-step {
|
179
|
+
.bk-step-title,
|
180
|
+
.bk-step-indicator {
|
181
|
+
&::after {
|
182
|
+
background-image: linear-gradient(to right, @light-gray 50%, transparent 0%);
|
183
|
+
background-position: bottom;
|
184
|
+
background-repeat: repeat-x;
|
185
|
+
background-size: 6px 1px;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
&-solid {
|
192
|
+
.bk-step {
|
193
|
+
.bk-step-title,
|
194
|
+
.bk-step-indicator {
|
195
|
+
&::after {
|
196
|
+
background-color: @light-gray;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
&-vertical {
|
203
|
+
height: 100%;
|
204
|
+
flex-direction: column;
|
205
|
+
|
206
|
+
.bk-step {
|
207
|
+
margin-right: 0;
|
208
|
+
margin-bottom: 8px;
|
209
|
+
|
210
|
+
.bk-step-title,
|
211
|
+
.bk-step-indicator {
|
212
|
+
&::after {
|
213
|
+
display: none;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
&::after {
|
218
|
+
position: absolute;
|
219
|
+
top: 32px;
|
220
|
+
left: 12px;
|
221
|
+
width: 1px;
|
222
|
+
height: 100%;
|
223
|
+
background-image: linear-gradient(@light-gray 50%, transparent 0%);
|
224
|
+
background-position: right;
|
225
|
+
background-repeat: repeat-y;
|
226
|
+
background-size: 1px 6px;
|
227
|
+
content: '';
|
228
|
+
}
|
229
|
+
|
230
|
+
.bk-step-title {
|
231
|
+
display: flex;
|
232
|
+
height: 100%;
|
233
|
+
margin-top: 0;
|
234
|
+
text-align: left;
|
235
|
+
align-items: center;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|