bkui-vue 0.0.1-beta.35 → 0.0.1-beta.38
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/dist/index.cjs.js +57 -0
- package/dist/{bkui-vue.esm.js → index.esm.js} +54 -41
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -5865
- package/package.json +17 -29
- package/README_EN.md +0 -93
- package/dist/bkui-vue.cjs.js +0 -20339
- package/dist/bkui-vue.umd.js +0 -20342
- package/lib/alert/alert.css +0 -75
- package/lib/alert/alert.d.ts +0 -62
- package/lib/alert/alert.js +0 -1
- package/lib/alert/alert.less +0 -110
- package/lib/alert/alert.variable.css +0 -168
- package/lib/alert/index.d.ts +0 -180
- package/lib/animate-number/animate-number.d.ts +0 -27
- package/lib/animate-number/animate-number.js +0 -1
- package/lib/animate-number/index.d.ts +0 -97
- package/lib/backtop/backtop.css +0 -42
- package/lib/backtop/backtop.d.ts +0 -60
- package/lib/backtop/backtop.js +0 -1
- package/lib/backtop/backtop.less +0 -18
- package/lib/backtop/backtop.variable.css +0 -135
- package/lib/backtop/index.d.ts +0 -166
- package/lib/badge/badge.css +0 -121
- package/lib/badge/badge.d.ts +0 -91
- package/lib/badge/badge.js +0 -1
- package/lib/badge/badge.less +0 -137
- package/lib/badge/badge.variable.css +0 -214
- package/lib/badge/index.d.ts +0 -217
- package/lib/breadcrumb/breadcrumb-item.d.ts +0 -36
- package/lib/breadcrumb/breadcrumb.css +0 -68
- package/lib/breadcrumb/breadcrumb.d.ts +0 -54
- package/lib/breadcrumb/breadcrumb.js +0 -1
- package/lib/breadcrumb/breadcrumb.less +0 -65
- package/lib/breadcrumb/breadcrumb.variable.css +0 -161
- package/lib/breadcrumb/index.d.ts +0 -194
- package/lib/breadcrumb/props.d.ts +0 -4
- package/lib/button/button-group.d.ts +0 -6
- package/lib/button/button.css +0 -262
- package/lib/button/button.d.ts +0 -143
- package/lib/button/button.js +0 -1
- package/lib/button/button.less +0 -192
- package/lib/button/button.variable.css +0 -355
- package/lib/button/index.d.ts +0 -226
- package/lib/card/card.css +0 -63
- package/lib/card/card.d.ts +0 -69
- package/lib/card/card.js +0 -1
- package/lib/card/card.less +0 -44
- package/lib/card/card.variable.css +0 -156
- package/lib/card/index.d.ts +0 -187
- package/lib/checkbox/checkbox-group.d.ts +0 -48
- package/lib/checkbox/checkbox.css +0 -64
- package/lib/checkbox/checkbox.d.ts +0 -114
- package/lib/checkbox/checkbox.js +0 -1
- package/lib/checkbox/checkbox.less +0 -80
- package/lib/checkbox/checkbox.variable.css +0 -157
- package/lib/checkbox/common.d.ts +0 -13
- package/lib/checkbox/index.d.ts +0 -261
- package/lib/checkbox/type.d.ts +0 -19
- package/lib/code-diff/code-diff.css +0 -186
- package/lib/code-diff/code-diff.d.ts +0 -80
- package/lib/code-diff/code-diff.js +0 -1
- package/lib/code-diff/code-diff.less +0 -238
- package/lib/code-diff/code-diff.variable.css +0 -279
- package/lib/code-diff/index.d.ts +0 -154
- package/lib/collapse/collapse.css +0 -30
- package/lib/collapse/collapse.d.ts +0 -106
- package/lib/collapse/collapse.js +0 -1
- package/lib/collapse/collapse.less +0 -37
- package/lib/collapse/collapse.variable.css +0 -30
- package/lib/collapse/index.d.ts +0 -166
- package/lib/components.d.ts +0 -41
- package/lib/date-picker/date-picker.css +0 -407
- package/lib/date-picker/date-picker.d.ts +0 -294
- package/lib/date-picker/date-picker.js +0 -1
- package/lib/date-picker/date-picker.less +0 -526
- package/lib/date-picker/date-picker.variable.css +0 -500
- package/lib/date-picker/fecha.d.ts +0 -6
- package/lib/date-picker/index.d.ts +0 -713
- package/lib/date-picker/interface.d.ts +0 -22
- package/lib/date-picker/props.d.ts +0 -111
- package/lib/date-picker/utils.d.ts +0 -97
- package/lib/dialog/dialog.css +0 -68
- package/lib/dialog/dialog.d.ts +0 -113
- package/lib/dialog/dialog.js +0 -1
- package/lib/dialog/dialog.less +0 -80
- package/lib/dialog/dialog.variable.css +0 -68
- package/lib/dialog/index.d.ts +0 -286
- package/lib/directives/clickoutside.d.ts +0 -3
- package/lib/directives/directives.js +0 -2
- package/lib/directives/directives.js.LICENSE.txt +0 -14
- package/lib/directives/index.d.ts +0 -3
- package/lib/directives/mousewheel.d.ts +0 -3
- package/lib/directives/tooltips.d.ts +0 -17
- package/lib/divider/divider.css +0 -38
- package/lib/divider/divider.d.ts +0 -48
- package/lib/divider/divider.js +0 -1
- package/lib/divider/divider.less +0 -53
- package/lib/divider/divider.variable.css +0 -131
- package/lib/divider/index.d.ts +0 -142
- package/lib/divider/props.d.ts +0 -21
- package/lib/dropdown/dropdown-item.d.ts +0 -19
- package/lib/dropdown/dropdown-menu.d.ts +0 -16
- package/lib/dropdown/dropdown.css +0 -43
- package/lib/dropdown/dropdown.d.ts +0 -61
- package/lib/dropdown/dropdown.js +0 -1
- package/lib/dropdown/dropdown.less +0 -54
- package/lib/dropdown/dropdown.variable.css +0 -136
- package/lib/dropdown/index.d.ts +0 -192
- package/lib/exception/exception.css +0 -32
- package/lib/exception/exception.d.ts +0 -26
- package/lib/exception/exception.js +0 -1
- package/lib/exception/exception.less +0 -39
- package/lib/exception/exception.variable.css +0 -125
- package/lib/exception/index.d.ts +0 -96
- package/lib/fixed-navbar/fixed-navbar.css +0 -42
- package/lib/fixed-navbar/fixed-navbar.d.ts +0 -34
- package/lib/fixed-navbar/fixed-navbar.js +0 -1
- package/lib/fixed-navbar/fixed-navbar.less +0 -53
- package/lib/fixed-navbar/fixed-navbar.variable.css +0 -135
- package/lib/fixed-navbar/index.d.ts +0 -112
- package/lib/form/common.d.ts +0 -3
- package/lib/form/form-item.d.ts +0 -145
- package/lib/form/form.css +0 -48
- package/lib/form/form.d.ts +0 -64
- package/lib/form/form.js +0 -1
- package/lib/form/form.less +0 -63
- package/lib/form/form.variable.css +0 -48
- package/lib/form/index.d.ts +0 -246
- package/lib/form/type.d.ts +0 -21
- package/lib/form/validator.d.ts +0 -8
- package/lib/icon/angle-double-down-line.d.ts +0 -4
- package/lib/icon/angle-double-down-line.js +0 -1
- package/lib/icon/angle-double-left-line.d.ts +0 -4
- package/lib/icon/angle-double-left-line.js +0 -1
- package/lib/icon/angle-double-left.d.ts +0 -4
- package/lib/icon/angle-double-left.js +0 -1
- package/lib/icon/angle-double-right-line.d.ts +0 -4
- package/lib/icon/angle-double-right-line.js +0 -1
- package/lib/icon/angle-double-right.d.ts +0 -4
- package/lib/icon/angle-double-right.js +0 -1
- package/lib/icon/angle-double-up-line.d.ts +0 -4
- package/lib/icon/angle-double-up-line.js +0 -1
- package/lib/icon/angle-down-fill.d.ts +0 -4
- package/lib/icon/angle-down-fill.js +0 -1
- package/lib/icon/angle-down-line.d.ts +0 -4
- package/lib/icon/angle-down-line.js +0 -1
- package/lib/icon/angle-down.d.ts +0 -4
- package/lib/icon/angle-down.js +0 -1
- package/lib/icon/angle-left.d.ts +0 -4
- package/lib/icon/angle-left.js +0 -1
- package/lib/icon/angle-right.d.ts +0 -4
- package/lib/icon/angle-right.js +0 -1
- package/lib/icon/angle-up-fill.d.ts +0 -4
- package/lib/icon/angle-up-fill.js +0 -1
- package/lib/icon/angle-up.d.ts +0 -4
- package/lib/icon/angle-up.js +0 -1
- package/lib/icon/arrows-left.d.ts +0 -4
- package/lib/icon/arrows-left.js +0 -1
- package/lib/icon/arrows-right.d.ts +0 -4
- package/lib/icon/arrows-right.js +0 -1
- package/lib/icon/bk.d.ts +0 -4
- package/lib/icon/bk.js +0 -1
- package/lib/icon/circle.d.ts +0 -4
- package/lib/icon/circle.js +0 -1
- package/lib/icon/close.d.ts +0 -4
- package/lib/icon/close.js +0 -1
- package/lib/icon/code.d.ts +0 -4
- package/lib/icon/code.js +0 -1
- package/lib/icon/cog-shape.d.ts +0 -4
- package/lib/icon/cog-shape.js +0 -1
- package/lib/icon/collapse-left.d.ts +0 -4
- package/lib/icon/collapse-left.js +0 -1
- package/lib/icon/copy.d.ts +0 -4
- package/lib/icon/copy.js +0 -1
- package/lib/icon/done.d.ts +0 -4
- package/lib/icon/done.js +0 -1
- package/lib/icon/down-shape.d.ts +0 -4
- package/lib/icon/down-shape.js +0 -1
- package/lib/icon/down-small.d.ts +0 -4
- package/lib/icon/down-small.js +0 -1
- package/lib/icon/ellipsis.d.ts +0 -4
- package/lib/icon/ellipsis.js +0 -1
- package/lib/icon/error.d.ts +0 -4
- package/lib/icon/error.js +0 -1
- package/lib/icon/eye.d.ts +0 -4
- package/lib/icon/eye.js +0 -1
- package/lib/icon/folder-open.d.ts +0 -4
- package/lib/icon/folder-open.js +0 -1
- package/lib/icon/folder-shape-open.d.ts +0 -4
- package/lib/icon/folder-shape-open.js +0 -1
- package/lib/icon/folder-shape.d.ts +0 -4
- package/lib/icon/folder-shape.js +0 -1
- package/lib/icon/folder.d.ts +0 -4
- package/lib/icon/folder.js +0 -1
- package/lib/icon/help-document-fill.d.ts +0 -4
- package/lib/icon/help-document-fill.js +0 -1
- package/lib/icon/help-fill.d.ts +0 -4
- package/lib/icon/help-fill.js +0 -1
- package/lib/icon/help.d.ts +0 -4
- package/lib/icon/help.js +0 -1
- package/lib/icon/icon.d.ts +0 -12
- package/lib/icon/icon.js +0 -1
- package/lib/icon/index.d.ts +0 -53
- package/lib/icon/info-line.d.ts +0 -4
- package/lib/icon/info-line.js +0 -1
- package/lib/icon/info.d.ts +0 -4
- package/lib/icon/info.js +0 -1
- package/lib/icon/left-shape.d.ts +0 -4
- package/lib/icon/left-shape.js +0 -1
- package/lib/icon/play-shape.d.ts +0 -4
- package/lib/icon/play-shape.js +0 -1
- package/lib/icon/plus.d.ts +0 -4
- package/lib/icon/plus.js +0 -1
- package/lib/icon/qq.d.ts +0 -4
- package/lib/icon/qq.js +0 -1
- package/lib/icon/right-shape.d.ts +0 -4
- package/lib/icon/right-shape.js +0 -1
- package/lib/icon/search.d.ts +0 -4
- package/lib/icon/search.js +0 -1
- package/lib/icon/share.d.ts +0 -4
- package/lib/icon/share.js +0 -1
- package/lib/icon/spinner.d.ts +0 -4
- package/lib/icon/spinner.js +0 -1
- package/lib/icon/success.d.ts +0 -4
- package/lib/icon/success.js +0 -1
- package/lib/icon/switcher-loading.d.ts +0 -4
- package/lib/icon/switcher-loading.js +0 -1
- package/lib/icon/text-file.d.ts +0 -4
- package/lib/icon/text-file.js +0 -1
- package/lib/icon/tree-application-shape.d.ts +0 -4
- package/lib/icon/tree-application-shape.js +0 -1
- package/lib/icon/unvisible.d.ts +0 -4
- package/lib/icon/unvisible.js +0 -1
- package/lib/icon/up-shape.d.ts +0 -4
- package/lib/icon/up-shape.js +0 -1
- package/lib/icon/warn.d.ts +0 -4
- package/lib/icon/warn.js +0 -1
- package/lib/icon/weixin.d.ts +0 -4
- package/lib/icon/weixin.js +0 -1
- package/lib/index.d.ts +0 -4
- package/lib/input/index.d.ts +0 -417
- package/lib/input/input.css +0 -150
- package/lib/input/input.d.ts +0 -237
- package/lib/input/input.js +0 -1
- package/lib/input/input.less +0 -165
- package/lib/input/input.variable.css +0 -243
- package/lib/link/index.d.ts +0 -164
- package/lib/link/link.css +0 -55
- package/lib/link/link.d.ts +0 -58
- package/lib/link/link.js +0 -1
- package/lib/link/link.less +0 -74
- package/lib/link/link.variable.css +0 -148
- package/lib/loading/index.d.ts +0 -164
- package/lib/loading/loading.css +0 -261
- package/lib/loading/loading.d.ts +0 -94
- package/lib/loading/loading.js +0 -1
- package/lib/loading/loading.less +0 -197
- package/lib/loading/loading.variable.css +0 -354
- package/lib/menu/index.d.ts +0 -188
- package/lib/menu/menu-group.d.ts +0 -14
- package/lib/menu/menu-item.d.ts +0 -16
- package/lib/menu/menu.css +0 -182
- package/lib/menu/menu.d.ts +0 -64
- package/lib/menu/menu.js +0 -1
- package/lib/menu/menu.less +0 -180
- package/lib/menu/menu.variable.css +0 -275
- package/lib/menu/submenu.css +0 -3
- package/lib/menu/submenu.d.ts +0 -22
- package/lib/menu/submenu.less +0 -5
- package/lib/menu/submenu.variable.css +0 -96
- package/lib/menu/utils.d.ts +0 -41
- package/lib/message/index.d.ts +0 -2
- package/lib/message/message.css +0 -53
- package/lib/message/message.js +0 -1
- package/lib/message/message.less +0 -61
- package/lib/message/message.variable.css +0 -146
- package/lib/message/messageConstructor.d.ts +0 -73
- package/lib/modal/index.d.ts +0 -214
- package/lib/modal/modal.css +0 -11
- package/lib/modal/modal.d.ts +0 -65
- package/lib/modal/modal.js +0 -1
- package/lib/modal/modal.less +0 -12
- package/lib/modal/modal.variable.css +0 -11
- package/lib/modal/props.mixin.d.ts +0 -26
- package/lib/navigation/index.d.ts +0 -2
- package/lib/navigation/navigation-title.d.ts +0 -25
- package/lib/navigation/navigation.css +0 -184
- package/lib/navigation/navigation.d.ts +0 -111
- package/lib/navigation/navigation.js +0 -1
- package/lib/navigation/navigation.less +0 -210
- package/lib/navigation/navigation.variable.css +0 -277
- package/lib/notify/index.d.ts +0 -2
- package/lib/notify/notify.css +0 -49
- package/lib/notify/notify.js +0 -1
- package/lib/notify/notify.less +0 -58
- package/lib/notify/notify.variable.css +0 -142
- package/lib/notify/notifyConstructor.d.ts +0 -91
- package/lib/pagination/index.d.ts +0 -395
- package/lib/pagination/pagination.css +0 -179
- package/lib/pagination/pagination.d.ts +0 -220
- package/lib/pagination/pagination.js +0 -1
- package/lib/pagination/pagination.less +0 -201
- package/lib/pagination/pagination.variable.css +0 -272
- package/lib/pagination/type.d.ts +0 -6
- package/lib/pagination/use-limit.d.ts +0 -8
- package/lib/pagination/use-list.d.ts +0 -8
- package/lib/pagination/use-small-list.d.ts +0 -5
- package/lib/pagination/use-total.d.ts +0 -5
- package/lib/popover/index.d.ts +0 -287
- package/lib/popover/popover.css +0 -65
- package/lib/popover/popover.d.ts +0 -117
- package/lib/popover/popover.js +0 -1
- package/lib/popover/popover.less +0 -82
- package/lib/popover/popover.variable.css +0 -158
- package/lib/popover/props.d.ts +0 -77
- package/lib/preset.d.ts +0 -7
- package/lib/process/index.d.ts +0 -205
- package/lib/process/process.css +0 -138
- package/lib/process/process.d.ts +0 -131
- package/lib/process/process.js +0 -1
- package/lib/process/process.less +0 -178
- package/lib/process/process.variable.css +0 -231
- package/lib/progress/circle.d.ts +0 -6
- package/lib/progress/index.d.ts +0 -398
- package/lib/progress/line.d.ts +0 -6
- package/lib/progress/progress.css +0 -94
- package/lib/progress/progress.d.ts +0 -171
- package/lib/progress/progress.js +0 -1
- package/lib/progress/progress.less +0 -90
- package/lib/progress/progress.variable.css +0 -187
- package/lib/radio/common.d.ts +0 -13
- package/lib/radio/index.d.ts +0 -277
- package/lib/radio/radio-button.d.ts +0 -91
- package/lib/radio/radio-group.d.ts +0 -41
- package/lib/radio/radio.css +0 -138
- package/lib/radio/radio.d.ts +0 -87
- package/lib/radio/radio.js +0 -1
- package/lib/radio/radio.less +0 -173
- package/lib/radio/radio.variable.css +0 -231
- package/lib/radio/type.d.ts +0 -9
- package/lib/rate/index.d.ts +0 -113
- package/lib/rate/rate.css +0 -10
- package/lib/rate/rate.d.ts +0 -32
- package/lib/rate/rate.js +0 -1
- package/lib/rate/rate.less +0 -11
- package/lib/rate/rate.variable.css +0 -10
- package/lib/rate/star.css +0 -24
- package/lib/rate/star.d.ts +0 -74
- package/lib/rate/star.less +0 -29
- package/lib/rate/star.variable.css +0 -24
- package/lib/resize-layout/index.d.ts +0 -336
- package/lib/resize-layout/resize-layout.css +0 -189
- package/lib/resize-layout/resize-layout.d.ts +0 -127
- package/lib/resize-layout/resize-layout.js +0 -1
- package/lib/resize-layout/resize-layout.less +0 -233
- package/lib/resize-layout/resize-layout.variable.css +0 -282
- package/lib/select/common.d.ts +0 -33
- package/lib/select/index.d.ts +0 -1347
- package/lib/select/option.d.ts +0 -25
- package/lib/select/optionGroup.d.ts +0 -54
- package/lib/select/select.css +0 -325
- package/lib/select/select.d.ts +0 -395
- package/lib/select/select.js +0 -1
- package/lib/select/select.less +0 -324
- package/lib/select/select.variable.css +0 -418
- package/lib/select/type.d.ts +0 -31
- package/lib/shared/helper.d.ts +0 -92
- package/lib/shared/index.d.ts +0 -51
- package/lib/shared/mask-manager.d.ts +0 -76
- package/lib/shared/pop-manager.d.ts +0 -26
- package/lib/shared/popover.d.ts +0 -127
- package/lib/shared/scrollbar-width.d.ts +0 -1
- package/lib/shared/shared.js +0 -1
- package/lib/shared/utils.d.ts +0 -6
- package/lib/shared/vue-types.d.ts +0 -115
- package/lib/shared/z-index-manager.d.ts +0 -93
- package/lib/sideslider/index.d.ts +0 -206
- package/lib/sideslider/sideslider.css +0 -69
- package/lib/sideslider/sideslider.d.ts +0 -75
- package/lib/sideslider/sideslider.js +0 -1
- package/lib/sideslider/sideslider.less +0 -86
- package/lib/sideslider/sideslider.variable.css +0 -162
- package/lib/slider/index.d.ts +0 -27
- package/lib/slider/slider-button.d.ts +0 -80
- package/lib/slider/slider.css +0 -149
- package/lib/slider/slider.d.ts +0 -201
- package/lib/slider/slider.js +0 -1
- package/lib/slider/slider.less +0 -179
- package/lib/slider/slider.variable.css +0 -242
- package/lib/steps/index.d.ts +0 -250
- package/lib/steps/steps.css +0 -288
- package/lib/steps/steps.d.ts +0 -161
- package/lib/steps/steps.js +0 -1
- package/lib/steps/steps.less +0 -324
- package/lib/steps/steps.variable.css +0 -381
- package/lib/styles/index.d.ts +0 -47
- package/lib/styles/mixins/animate.css +0 -21
- package/lib/styles/mixins/animate.less +0 -27
- package/lib/styles/mixins/animate.variable.css +0 -21
- package/lib/styles/mixins/ellipsis.less +0 -8
- package/lib/styles/mixins/mixins.css +0 -21
- package/lib/styles/mixins/mixins.less +0 -3
- package/lib/styles/mixins/mixins.variable.css +0 -21
- package/lib/styles/mixins/popper.css +0 -43
- package/lib/styles/mixins/popper.less +0 -52
- package/lib/styles/mixins/popper.variable.css +0 -43
- package/lib/styles/mixins/size.less +0 -13
- package/lib/styles/reset.css +0 -273
- package/lib/styles/reset.less +0 -313
- package/lib/styles/reset.variable.css +0 -273
- package/lib/styles/themes/themes.less +0 -126
- package/lib/swiper/index.d.ts +0 -181
- package/lib/swiper/swiper.css +0 -91
- package/lib/swiper/swiper.d.ts +0 -65
- package/lib/swiper/swiper.js +0 -1
- package/lib/swiper/swiper.less +0 -107
- package/lib/swiper/swiper.variable.css +0 -91
- package/lib/switcher/index.d.ts +0 -286
- package/lib/switcher/switcher.css +0 -272
- package/lib/switcher/switcher.d.ts +0 -113
- package/lib/switcher/switcher.js +0 -1
- package/lib/switcher/switcher.less +0 -358
- package/lib/switcher/switcher.variable.css +0 -365
- package/lib/tab/index.d.ts +0 -443
- package/lib/tab/props.d.ts +0 -191
- package/lib/tab/tab-nav.d.ts +0 -165
- package/lib/tab/tab-panel.d.ts +0 -73
- package/lib/tab/tab.css +0 -148
- package/lib/tab/tab.d.ts +0 -140
- package/lib/tab/tab.js +0 -1
- package/lib/tab/tab.less +0 -222
- package/lib/tab/tab.variable.css +0 -241
- package/lib/table/const.d.ts +0 -4
- package/lib/table/index.d.ts +0 -302
- package/lib/table/props.d.ts +0 -117
- package/lib/table/render.d.ts +0 -81
- package/lib/table/table.css +0 -90
- package/lib/table/table.d.ts +0 -119
- package/lib/table/table.js +0 -1
- package/lib/table/table.less +0 -120
- package/lib/table/table.variable.css +0 -183
- package/lib/table/utils.d.ts +0 -69
- package/lib/tag/index.d.ts +0 -229
- package/lib/tag/tag.css +0 -97
- package/lib/tag/tag.d.ts +0 -84
- package/lib/tag/tag.js +0 -1
- package/lib/tag/tag.less +0 -113
- package/lib/tag/tag.variable.css +0 -190
- package/lib/tag-input/common.d.ts +0 -24
- package/lib/tag-input/index.d.ts +0 -2
- package/lib/tag-input/list-tag-render.d.ts +0 -47
- package/lib/tag-input/tag-input.css +0 -208
- package/lib/tag-input/tag-input.d.ts +0 -374
- package/lib/tag-input/tag-input.js +0 -1
- package/lib/tag-input/tag-input.less +0 -250
- package/lib/tag-input/tag-input.variable.css +0 -301
- package/lib/tag-input/tag-props.d.ts +0 -131
- package/lib/tag-input/tag-render.d.ts +0 -38
- package/lib/timeline/index.d.ts +0 -129
- package/lib/timeline/timeline.css +0 -235
- package/lib/timeline/timeline.d.ts +0 -81
- package/lib/timeline/timeline.js +0 -1
- package/lib/timeline/timeline.less +0 -239
- package/lib/timeline/timeline.variable.css +0 -328
- package/lib/transfer/index.d.ts +0 -351
- package/lib/transfer/transfer.css +0 -158
- package/lib/transfer/transfer.d.ts +0 -185
- package/lib/transfer/transfer.js +0 -1
- package/lib/transfer/transfer.less +0 -171
- package/lib/transfer/transfer.variable.css +0 -251
- package/lib/tree/index.d.ts +0 -287
- package/lib/tree/props.d.ts +0 -89
- package/lib/tree/tree.css +0 -50
- package/lib/tree/tree.d.ts +0 -111
- package/lib/tree/tree.js +0 -1
- package/lib/tree/tree.less +0 -63
- package/lib/tree/tree.variable.css +0 -143
- package/lib/tree/util.d.ts +0 -70
- package/lib/use-form.d.ts +0 -3
- package/lib/use-message.d.ts +0 -2
- package/lib/virtual-render/index.d.ts +0 -556
- package/lib/virtual-render/props.d.ts +0 -157
- package/lib/virtual-render/v-virtual-render.d.ts +0 -7
- package/lib/virtual-render/virtual-render.css +0 -40
- package/lib/virtual-render/virtual-render.d.ts +0 -244
- package/lib/virtual-render/virtual-render.js +0 -1
- package/lib/virtual-render/virtual-render.less +0 -51
- package/lib/virtual-render/virtual-render.variable.css +0 -40
package/lib/steps/steps.css
DELETED
@@ -1,288 +0,0 @@
|
|
1
|
-
* {
|
2
|
-
box-sizing: border-box;
|
3
|
-
}
|
4
|
-
@keyframes loadingCircle {
|
5
|
-
100% {
|
6
|
-
transform: rotate(360deg);
|
7
|
-
}
|
8
|
-
}
|
9
|
-
.bk-steps {
|
10
|
-
display: flex;
|
11
|
-
width: 100%;
|
12
|
-
font-size: 0;
|
13
|
-
}
|
14
|
-
.bk-steps .icon-circle-4-1 {
|
15
|
-
width: 12px;
|
16
|
-
height: 12px;
|
17
|
-
border: 2px solid #fff;
|
18
|
-
border-right: 0;
|
19
|
-
border-bottom: 0;
|
20
|
-
border-left: 0;
|
21
|
-
border-radius: 7px;
|
22
|
-
}
|
23
|
-
.bk-steps .bk-icon {
|
24
|
-
font-size: 24px;
|
25
|
-
line-height: 24px;
|
26
|
-
}
|
27
|
-
.bk-steps .bk-icon.icon-loading {
|
28
|
-
display: inline-block;
|
29
|
-
font-size: 14px;
|
30
|
-
animation: loadingCircle 1s infinite linear;
|
31
|
-
}
|
32
|
-
.bk-steps .bk-step {
|
33
|
-
position: relative;
|
34
|
-
margin-right: 8px;
|
35
|
-
overflow: hidden;
|
36
|
-
text-align: left;
|
37
|
-
white-space: nowrap;
|
38
|
-
flex: 1;
|
39
|
-
}
|
40
|
-
.bk-steps .bk-step .bk-step-indicator {
|
41
|
-
z-index: 1;
|
42
|
-
display: inline-flex;
|
43
|
-
width: 24px;
|
44
|
-
height: 24px;
|
45
|
-
padding: 0;
|
46
|
-
margin-right: 8px;
|
47
|
-
line-height: 24px;
|
48
|
-
color: #979ba5;
|
49
|
-
text-align: center;
|
50
|
-
vertical-align: top;
|
51
|
-
background-color: #fff;
|
52
|
-
border: 1px solid #979ba5;
|
53
|
-
border-radius: 50%;
|
54
|
-
box-sizing: border-box;
|
55
|
-
align-items: center;
|
56
|
-
justify-content: center;
|
57
|
-
}
|
58
|
-
.bk-steps .bk-step .bk-step-number {
|
59
|
-
font-family: arial;
|
60
|
-
font-size: 14px;
|
61
|
-
}
|
62
|
-
.bk-steps .bk-step .bk-step-content {
|
63
|
-
display: inline-block;
|
64
|
-
vertical-align: top;
|
65
|
-
}
|
66
|
-
.bk-steps .bk-step .bk-step-title {
|
67
|
-
position: relative;
|
68
|
-
display: inline-block;
|
69
|
-
padding-right: 8px;
|
70
|
-
font-size: 14px;
|
71
|
-
line-height: 24px;
|
72
|
-
color: #63656e;
|
73
|
-
word-break: break-all;
|
74
|
-
}
|
75
|
-
.bk-steps .bk-step .bk-step-title::after {
|
76
|
-
position: absolute;
|
77
|
-
top: 12px;
|
78
|
-
left: 100%;
|
79
|
-
width: 99999px;
|
80
|
-
height: 1px;
|
81
|
-
background-color: transparent;
|
82
|
-
content: '';
|
83
|
-
}
|
84
|
-
.bk-steps .bk-step .bk-step-description {
|
85
|
-
max-width: 140px;
|
86
|
-
font-size: 12px;
|
87
|
-
color: #979ba5;
|
88
|
-
white-space: normal;
|
89
|
-
}
|
90
|
-
.bk-steps .bk-step.bk-step-no-content .bk-step-indicator {
|
91
|
-
margin-right: 0;
|
92
|
-
}
|
93
|
-
.bk-steps .bk-step.bk-step-no-content .bk-step-indicator::after {
|
94
|
-
position: absolute;
|
95
|
-
top: 12px;
|
96
|
-
left: 100%;
|
97
|
-
width: 99999px;
|
98
|
-
height: 1px;
|
99
|
-
background-color: transparent;
|
100
|
-
content: '';
|
101
|
-
}
|
102
|
-
.bk-steps .bk-step.bk-step-no-content .bk-step-indicator::after {
|
103
|
-
top: 10px;
|
104
|
-
left: 32px;
|
105
|
-
}
|
106
|
-
.bk-steps .bk-step:last-child {
|
107
|
-
margin-right: 0;
|
108
|
-
flex: none;
|
109
|
-
}
|
110
|
-
.bk-steps .bk-step:last-child .bk-step-title {
|
111
|
-
padding-right: 0;
|
112
|
-
}
|
113
|
-
.bk-steps .bk-step:last-child .bk-step-title::after {
|
114
|
-
display: none;
|
115
|
-
}
|
116
|
-
.bk-steps .bk-step.done .bk-step-title,
|
117
|
-
.bk-steps .bk-step.done .bk-step-description {
|
118
|
-
color: #63656e;
|
119
|
-
}
|
120
|
-
.bk-steps .bk-step.done .bk-steps-icon {
|
121
|
-
font-size: 22px;
|
122
|
-
}
|
123
|
-
.bk-steps .bk-step.current .bk-step-number,
|
124
|
-
.bk-steps .bk-step.current .bk-step-icon,
|
125
|
-
.bk-steps .bk-step.current .bk-step-text {
|
126
|
-
border-width: 2px;
|
127
|
-
}
|
128
|
-
.bk-steps .bk-step.current .bk-step-title,
|
129
|
-
.bk-steps .bk-step.current .bk-step-description {
|
130
|
-
color: #63656e;
|
131
|
-
}
|
132
|
-
.bk-steps .bk-step.current.bk-step-error .bk-step-indicator {
|
133
|
-
background-color: #ea3636;
|
134
|
-
border-color: #ea3636;
|
135
|
-
}
|
136
|
-
.bk-steps .bk-step.current.bk-step-error .bk-step-title,
|
137
|
-
.bk-steps .bk-step.current.bk-step-error .bk-step-description {
|
138
|
-
color: #ea3636;
|
139
|
-
}
|
140
|
-
.bk-steps-primary .bk-step.done .bk-step-number,
|
141
|
-
.bk-steps-primary .bk-step.done .bk-step-icon,
|
142
|
-
.bk-steps-primary .bk-step.done .bk-step-text {
|
143
|
-
color: #3a84ff;
|
144
|
-
border-color: #3a84ff;
|
145
|
-
}
|
146
|
-
.bk-steps-primary .bk-step.done .bk-step-title::after,
|
147
|
-
.bk-steps-primary .bk-step.done .bk-step-indicator::after {
|
148
|
-
background-image: linear-gradient(to right, #3a84ff 50%, transparent 0%);
|
149
|
-
}
|
150
|
-
.bk-steps-primary .bk-step.done::after {
|
151
|
-
background-image: linear-gradient(#3a84ff 50%, transparent 0%);
|
152
|
-
}
|
153
|
-
.bk-steps-primary .bk-step.current .bk-step-number,
|
154
|
-
.bk-steps-primary .bk-step.current .bk-step-icon,
|
155
|
-
.bk-steps-primary .bk-step.current .bk-step-text {
|
156
|
-
color: #fff;
|
157
|
-
background-color: #3a84ff;
|
158
|
-
border-color: #3a84ff;
|
159
|
-
}
|
160
|
-
.bk-steps-warning .bk-step.done .bk-step-number,
|
161
|
-
.bk-steps-warning .bk-step.done .bk-step-icon,
|
162
|
-
.bk-steps-warning .bk-step.done .bk-step-text {
|
163
|
-
color: #ff9c01;
|
164
|
-
border-color: #ff9c01;
|
165
|
-
}
|
166
|
-
.bk-steps-warning .bk-step.done .bk-step-title::after,
|
167
|
-
.bk-steps-warning .bk-step.done .bk-step-indicator::after {
|
168
|
-
background-image: linear-gradient(to right, #ff9c01 50%, transparent 0%);
|
169
|
-
}
|
170
|
-
.bk-steps-warning .bk-step.done::after {
|
171
|
-
background-image: linear-gradient(#ff9c01 50%, transparent 0%);
|
172
|
-
}
|
173
|
-
.bk-steps-warning .bk-step.current .bk-step-number,
|
174
|
-
.bk-steps-warning .bk-step.current .bk-step-icon,
|
175
|
-
.bk-steps-warning .bk-step.current .bk-step-text {
|
176
|
-
color: #fff;
|
177
|
-
background-color: #ff9c01;
|
178
|
-
border-color: #ff9c01;
|
179
|
-
}
|
180
|
-
.bk-steps-success .bk-step.done .bk-step-number,
|
181
|
-
.bk-steps-success .bk-step.done .bk-step-icon,
|
182
|
-
.bk-steps-success .bk-step.done .bk-step-text {
|
183
|
-
color: #2dcb56;
|
184
|
-
border-color: #2dcb56;
|
185
|
-
}
|
186
|
-
.bk-steps-success .bk-step.done .bk-step-title::after,
|
187
|
-
.bk-steps-success .bk-step.done .bk-step-indicator::after {
|
188
|
-
background-image: linear-gradient(to right, #2dcb56 50%, transparent 0%);
|
189
|
-
}
|
190
|
-
.bk-steps-success .bk-step.done::after {
|
191
|
-
background-image: linear-gradient(#2dcb56 50%, transparent 0%);
|
192
|
-
}
|
193
|
-
.bk-steps-success .bk-step.current .bk-step-number,
|
194
|
-
.bk-steps-success .bk-step.current .bk-step-icon,
|
195
|
-
.bk-steps-success .bk-step.current .bk-step-text {
|
196
|
-
color: #fff;
|
197
|
-
background-color: #2dcb56;
|
198
|
-
border-color: #2dcb56;
|
199
|
-
}
|
200
|
-
.bk-steps-danger .bk-step.done .bk-step-number,
|
201
|
-
.bk-steps-danger .bk-step.done .bk-step-icon,
|
202
|
-
.bk-steps-danger .bk-step.done .bk-step-text {
|
203
|
-
color: #ea3636;
|
204
|
-
border-color: #ea3636;
|
205
|
-
}
|
206
|
-
.bk-steps-danger .bk-step.done .bk-step-title::after,
|
207
|
-
.bk-steps-danger .bk-step.done .bk-step-indicator::after {
|
208
|
-
background-image: linear-gradient(to right, #ea3636 50%, transparent 0%);
|
209
|
-
}
|
210
|
-
.bk-steps-danger .bk-step.done::after {
|
211
|
-
background-image: linear-gradient(#ea3636 50%, transparent 0%);
|
212
|
-
}
|
213
|
-
.bk-steps-danger .bk-step.current .bk-step-number,
|
214
|
-
.bk-steps-danger .bk-step.current .bk-step-icon,
|
215
|
-
.bk-steps-danger .bk-step.current .bk-step-text {
|
216
|
-
color: #fff;
|
217
|
-
background-color: #ea3636;
|
218
|
-
border-color: #ea3636;
|
219
|
-
}
|
220
|
-
.bk-steps-dashed .bk-step .bk-step-title::after,
|
221
|
-
.bk-steps-dashed .bk-step .bk-step-indicator::after {
|
222
|
-
background-image: linear-gradient(to right, #c4c6cc 50%, transparent 0%);
|
223
|
-
background-position: bottom;
|
224
|
-
background-repeat: repeat-x;
|
225
|
-
background-size: 6px 1px;
|
226
|
-
}
|
227
|
-
.bk-steps-solid .bk-step .bk-step-title::after,
|
228
|
-
.bk-steps-solid .bk-step .bk-step-indicator::after {
|
229
|
-
background-color: #c4c6cc;
|
230
|
-
}
|
231
|
-
.bk-steps-vertical {
|
232
|
-
flex-direction: column;
|
233
|
-
height: 100%;
|
234
|
-
}
|
235
|
-
.bk-steps-vertical .bk-step {
|
236
|
-
margin-right: 0;
|
237
|
-
margin-bottom: 8px;
|
238
|
-
}
|
239
|
-
.bk-steps-vertical .bk-step .bk-step-title::after,
|
240
|
-
.bk-steps-vertical .bk-step .bk-step-indicator::after {
|
241
|
-
display: none;
|
242
|
-
}
|
243
|
-
.bk-steps-vertical .bk-step::after {
|
244
|
-
position: absolute;
|
245
|
-
top: 32px;
|
246
|
-
left: 12px;
|
247
|
-
width: 1px;
|
248
|
-
height: 100%;
|
249
|
-
background-image: linear-gradient(#c4c6cc 50%, transparent 0%);
|
250
|
-
background-position: right;
|
251
|
-
background-repeat: repeat-y;
|
252
|
-
background-size: 1px 6px;
|
253
|
-
content: '';
|
254
|
-
}
|
255
|
-
.bk-steps-vertical .bk-step .bk-step-title {
|
256
|
-
display: flex;
|
257
|
-
height: 100%;
|
258
|
-
margin-top: 0;
|
259
|
-
text-align: left;
|
260
|
-
align-items: center;
|
261
|
-
}
|
262
|
-
.bk-steps-small .bk-step .bk-step-indicator {
|
263
|
-
width: 20px;
|
264
|
-
height: 20px;
|
265
|
-
line-height: 20px;
|
266
|
-
}
|
267
|
-
.bk-steps-small .bk-step .bk-step-title {
|
268
|
-
font-size: 12px;
|
269
|
-
line-height: 20px;
|
270
|
-
}
|
271
|
-
.bk-steps-small .bk-step .bk-step-number {
|
272
|
-
font-size: 12px;
|
273
|
-
}
|
274
|
-
.bk-steps-small .bk-step .bk-icon {
|
275
|
-
font-size: 20px;
|
276
|
-
line-height: 24px;
|
277
|
-
}
|
278
|
-
.bk-steps-small .bk-step::after {
|
279
|
-
top: 28px;
|
280
|
-
left: 10px;
|
281
|
-
}
|
282
|
-
.bk-steps-small .bk-step .bk-step-title::after {
|
283
|
-
top: 10px;
|
284
|
-
}
|
285
|
-
.bk-steps-small .bk-step.bk-step-no-content .bk-step-indicator::after {
|
286
|
-
top: 8px;
|
287
|
-
left: 28px;
|
288
|
-
}
|
package/lib/steps/steps.d.ts
DELETED
@@ -1,161 +0,0 @@
|
|
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 stepsProps: {
|
28
|
-
theme: import("vue-types").VueTypeDef<string> & {
|
29
|
-
default: string;
|
30
|
-
};
|
31
|
-
size: import("vue-types").VueTypeDef<string>;
|
32
|
-
curStep: import("vue-types").VueTypeValidableDef<number> & {
|
33
|
-
default: number;
|
34
|
-
} & {
|
35
|
-
default: number;
|
36
|
-
};
|
37
|
-
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
38
|
-
default: boolean;
|
39
|
-
} & {
|
40
|
-
default: boolean;
|
41
|
-
};
|
42
|
-
direction: import("vue-types").VueTypeDef<string> & {
|
43
|
-
default: string;
|
44
|
-
};
|
45
|
-
status: import("vue-types").VueTypeDef<string> & {
|
46
|
-
default: string;
|
47
|
-
};
|
48
|
-
lineType: import("vue-types").VueTypeDef<string> & {
|
49
|
-
default: string;
|
50
|
-
};
|
51
|
-
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
52
|
-
default: boolean;
|
53
|
-
};
|
54
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
55
|
-
default: string;
|
56
|
-
};
|
57
|
-
steps: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
58
|
-
default: () => unknown[];
|
59
|
-
} & {
|
60
|
-
default: () => unknown[];
|
61
|
-
};
|
62
|
-
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
63
|
-
default: (...args: any[]) => any;
|
64
|
-
};
|
65
|
-
};
|
66
|
-
export declare type StepsPropTypes = ExtractPropTypes<typeof stepsProps>;
|
67
|
-
declare const _default: import("vue").DefineComponent<{
|
68
|
-
theme: import("vue-types").VueTypeDef<string> & {
|
69
|
-
default: string;
|
70
|
-
};
|
71
|
-
size: import("vue-types").VueTypeDef<string>;
|
72
|
-
curStep: import("vue-types").VueTypeValidableDef<number> & {
|
73
|
-
default: number;
|
74
|
-
} & {
|
75
|
-
default: number;
|
76
|
-
};
|
77
|
-
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
78
|
-
default: boolean;
|
79
|
-
} & {
|
80
|
-
default: boolean;
|
81
|
-
};
|
82
|
-
direction: import("vue-types").VueTypeDef<string> & {
|
83
|
-
default: string;
|
84
|
-
};
|
85
|
-
status: import("vue-types").VueTypeDef<string> & {
|
86
|
-
default: string;
|
87
|
-
};
|
88
|
-
lineType: import("vue-types").VueTypeDef<string> & {
|
89
|
-
default: string;
|
90
|
-
};
|
91
|
-
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
92
|
-
default: boolean;
|
93
|
-
};
|
94
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
95
|
-
default: string;
|
96
|
-
};
|
97
|
-
steps: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
98
|
-
default: () => unknown[];
|
99
|
-
} & {
|
100
|
-
default: () => unknown[];
|
101
|
-
};
|
102
|
-
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
103
|
-
default: (...args: any[]) => any;
|
104
|
-
};
|
105
|
-
}, {
|
106
|
-
defaultSteps: import("vue").Ref<any[]>;
|
107
|
-
jumpTo: (index: any) => Promise<void>;
|
108
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curStep")[], "click" | "update:curStep", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
109
|
-
theme: import("vue-types").VueTypeDef<string> & {
|
110
|
-
default: string;
|
111
|
-
};
|
112
|
-
size: import("vue-types").VueTypeDef<string>;
|
113
|
-
curStep: import("vue-types").VueTypeValidableDef<number> & {
|
114
|
-
default: number;
|
115
|
-
} & {
|
116
|
-
default: number;
|
117
|
-
};
|
118
|
-
controllable: import("vue-types").VueTypeValidableDef<boolean> & {
|
119
|
-
default: boolean;
|
120
|
-
} & {
|
121
|
-
default: boolean;
|
122
|
-
};
|
123
|
-
direction: import("vue-types").VueTypeDef<string> & {
|
124
|
-
default: string;
|
125
|
-
};
|
126
|
-
status: import("vue-types").VueTypeDef<string> & {
|
127
|
-
default: string;
|
128
|
-
};
|
129
|
-
lineType: import("vue-types").VueTypeDef<string> & {
|
130
|
-
default: string;
|
131
|
-
};
|
132
|
-
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
133
|
-
default: boolean;
|
134
|
-
};
|
135
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
136
|
-
default: string;
|
137
|
-
};
|
138
|
-
steps: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
139
|
-
default: () => unknown[];
|
140
|
-
} & {
|
141
|
-
default: () => unknown[];
|
142
|
-
};
|
143
|
-
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
144
|
-
default: (...args: any[]) => any;
|
145
|
-
};
|
146
|
-
}>> & {
|
147
|
-
onClick?: (...args: any[]) => any;
|
148
|
-
"onUpdate:curStep"?: (...args: any[]) => any;
|
149
|
-
}, {
|
150
|
-
text: boolean;
|
151
|
-
theme: string;
|
152
|
-
extCls: string;
|
153
|
-
direction: string;
|
154
|
-
beforeChange: (...args: any[]) => any;
|
155
|
-
lineType: string;
|
156
|
-
controllable: boolean;
|
157
|
-
status: string;
|
158
|
-
curStep: number;
|
159
|
-
steps: unknown[];
|
160
|
-
}>;
|
161
|
-
export default _default;
|
package/lib/steps/steps.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("@babel/runtime/regenerator"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","@babel/runtime/helpers/defineProperty","vue","@babel/runtime/regenerator","../icon"],t);else{var r="object"==typeof exports?t(require("../shared"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("@babel/runtime/regenerator"),require("../icon")):t(e["../shared"],e["@babel/runtime/helpers/defineProperty"],e.vue,e["@babel/runtime/regenerator"],e["../icon"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,((e,t,r,n,o)=>(()=>{"use strict";var i={6870:e=>{e.exports=o},4212:t=>{t.exports=e},311:e=>{e.exports=t},8395:e=>{e.exports=n},748:e=>{e.exports=r}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return i[e](r,r.exports,c),r.exports}c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 a={};return(()=>{c.r(a),c.d(a,{default:()=>d});var e=c(4212),t=c(311),r=c.n(t),n=c(748),o=c(8395),i=c.n(o);function s(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{a(n.next(e))}catch(e){i(e)}}function c(e){try{a(n.throw(e))}catch(e){i(e)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,c)}a((n=n.apply(e,t||[])).next())}))}Object.create,Object.create;var u=c(6870),p={theme:e.PropTypes.theme().def("primary"),size:e.PropTypes.size(),curStep:e.PropTypes.number.def(1),controllable:e.PropTypes.bool.def(!1),direction:e.PropTypes.commonType(["horizontal","vertical"],"direction").def("horizontal"),status:e.PropTypes.commonType(["","error","loading"],"status").def(""),lineType:e.PropTypes.commonType(["dashed","solid"],"lineType").def("dashed"),text:e.PropTypes.bool,extCls:e.PropTypes.string,steps:e.PropTypes.array.def([]),beforeChange:e.PropTypes.func};const l=(0,n.defineComponent)({name:"Steps",props:p,emits:["update:curStep","click"],setup:function(e,t){var r=this,o=t.emit,c=(0,n.ref)([]);return(0,n.onMounted)((function(){var t,r;(t=c.value).splice.apply(t,[0,c.value.length].concat([{title:"步骤1",icon:1},{title:"步骤2",icon:2},{title:"步骤3",icon:3}])),(null===(r=e.steps)||void 0===r?void 0:r.length)&&function(e){var t,r=[];e.forEach((function(e){"string"==typeof e?r.push(e):r.push({title:e.title,icon:e.icon,description:e.description,status:e.status})})),(t=c.value).splice.apply(t,[0,c.value.length].concat(r))}(e.steps)})),{defaultSteps:c,jumpTo:function(t){return s(r,void 0,void 0,i().mark((function r(){var n=this;return i().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,!e.controllable||t===e.curStep){r.next=7;break}if("function"!=typeof e.beforeChange){r.next=5;break}return r.next=5,new Promise((function(r,o){return s(n,void 0,void 0,i().mark((function n(){var s;return i().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.beforeChange(t);case 2:(s=n.sent)?r(s):o(s);case 4:case"end":return n.stop()}}),n)})))}));case 5:o("update:curStep",t),o("click",t);case 7:r.next=12;break;case 9:r.prev=9,r.t0=r.catch(0),console.warn(r.t0);case 12:case"end":return r.stop()}}),r,null,[[0,9]])})))}}},render:function(){var t,o=this,i="bk-steps",s=this.theme?"".concat(i,"-").concat(this.theme):"",c=this.size?"".concat(i,"-").concat(this.size):"",a=(0,e.classes)((t={},r()(t,"".concat(this.extCls),!!this.extCls),r()(t,"bk-steps-".concat(this.direction),this.direction),r()(t,"bk-steps-".concat(this.lineType),this.lineType),t),"".concat(s," ").concat(i," ").concat(c)),p=function(e){return o.curStep>e+1||"done"===o.defaultSteps[e].status},l=function(e){return o.curStep===e+1},d=function(e){var t=e.icon;return t?"[object Object]"===Object.prototype.toString.call(t):"string"==typeof e},f=function(e,t){return t.icon?t.icon:e+1},b=function(e,t){return l(e)&&"loading"===o.status||function(e){return"loading"===e.status}(t)?(0,n.createVNode)(u.Circle,{class:"bk-icon bk-steps-icon icon-loading"},null):l(e)&&"error"===o.status||function(e){return"error"===e.status}(t)?(0,n.createVNode)(u.Error,{class:"bk-steps-icon"},null):p(e)?(0,n.createVNode)(u.Done,{class:"bk-steps-icon"},null):(0,n.createVNode)("span",{class:"number"},[f(e,t)])};return(0,n.createVNode)("div",{class:a},[this.defaultSteps.map((function(e,t){var r,i,s;return(0,n.createVNode)("div",{class:["bk-step",e.title?"":"bk-step-no-content",p(t)?"done":"",l(t)?"current":"",e.status&&l(t)?["bk-step-".concat(e.status)]:""]},[(0,n.createVNode)("span",{class:["bk-step-indicator","bk-step-".concat(d(e)?"icon":"number")],style:{cursor:o.controllable?"pointer":""},onClick:function(){o.jumpTo(t+1)}},[null!==(s=null===(i=(r=o.$slots)[t+1])||void 0===i?void 0:i.call(r))&&void 0!==s?s:b(t,e)]),e.title?(0,n.createVNode)("div",{class:"bk-step-content"},[(0,n.createVNode)("div",{class:"bk-step-title",style:{cursor:o.controllable?"pointer":""},onClick:function(){o.jumpTo(t+1)}},[e.title]),e.description&&(0,n.createVNode)("div",{class:"bk-step-description",title:e.description},[e.description])]):""])}))])}}),d=(0,e.withInstall)(l)})(),a})()));
|