bkui-vue 0.0.1-beta.14 → 0.0.1-beta.140
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 +171 -0
- package/dist/index.esm.js +31770 -0
- package/dist/index.umd.js +171 -0
- package/dist/style.css +1 -4190
- package/dist/style.variable.css +1 -0
- 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 +116 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +5 -3
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.less +7 -3
- package/lib/alert/alert.variable.css +35 -6
- package/lib/alert/index.d.ts +96 -60
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +48 -28
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.d.ts +28 -14
- package/lib/backtop/backtop.variable.css +30 -3
- package/lib/backtop/index.d.ts +111 -55
- 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 +35 -8
- package/lib/badge/index.d.ts +202 -84
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +61 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +91 -4
- package/lib/breadcrumb/index.d.ts +117 -45
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +92 -44
- package/lib/button/button.d.ts +76 -26
- package/lib/button/button.less +88 -46
- package/lib/button/button.variable.css +122 -47
- package/lib/button/index.d.ts +191 -102
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +74 -18
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +126 -4
- package/lib/card/index.d.ts +225 -69
- 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 +274 -0
- package/lib/cascader/cascader.less +146 -0
- package/lib/cascader/cascader.variable.css +243 -0
- package/lib/cascader/index.d.ts +733 -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 +33 -6
- package/lib/checkbox/checkbox.d.ts +43 -32
- package/lib/checkbox/checkbox.less +44 -6
- package/lib/checkbox/checkbox.variable.css +63 -9
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +150 -104
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +3 -7
- 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 +299 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +17 -1
- package/lib/collapse/collapse.d.ts +51 -22
- package/lib/collapse/collapse.less +24 -2
- package/lib/collapse/collapse.variable.css +130 -1
- package/lib/collapse/index.d.ts +127 -75
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/components.d.ts +26 -5
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +204 -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 +3 -2
- package/lib/date-picker/date-picker.d.ts +92 -137
- package/lib/date-picker/date-picker.less +5 -2
- package/lib/date-picker/date-picker.variable.css +33 -5
- package/lib/date-picker/index.d.ts +504 -276
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/props.d.ts +118 -0
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.css +76 -20
- package/lib/dialog/dialog.d.ts +285 -52
- package/lib/dialog/dialog.less +54 -21
- package/lib/dialog/dialog.variable.css +76 -20
- package/lib/dialog/index.d.ts +665 -115
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -23
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +21 -13
- package/lib/divider/divider.variable.css +30 -3
- package/lib/divider/index.d.ts +84 -52
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +6 -5
- package/lib/dropdown/dropdown-menu.d.ts +6 -5
- package/lib/dropdown/dropdown.css +4 -0
- package/lib/dropdown/dropdown.d.ts +28 -14
- package/lib/dropdown/dropdown.less +5 -0
- package/lib/dropdown/dropdown.variable.css +34 -3
- package/lib/dropdown/index.d.ts +109 -69
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +30 -3
- package/lib/exception/index.d.ts +44 -36
- 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 +30 -3
- package/lib/fixed-navbar/index.d.ts +96 -37
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +61 -45
- package/lib/form/form.css +96 -10
- package/lib/form/form.d.ts +45 -40
- package/lib/form/form.less +136 -34
- package/lib/form/form.variable.css +209 -10
- package/lib/form/index.d.ts +303 -3
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +8 -6
- package/lib/form/validator.d.ts +1 -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.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.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.js +1 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.js +1 -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.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.js +1 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.js +1 -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.js +1 -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.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.js +1 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.js +1 -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 +34 -3
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.js +1 -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.js +1 -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.js +1 -0
- package/lib/icon/search.js +1 -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.js +1 -0
- package/lib/icon/switcher-loading.js +1 -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.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.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +406 -199
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +232 -16
- package/lib/input/input.d.ts +171 -51
- package/lib/input/input.less +182 -19
- package/lib/input/input.variable.css +259 -15
- package/lib/link/index.d.ts +102 -54
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +30 -3
- package/lib/loading/index.d.ts +187 -71
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +177 -98
- package/lib/loading/loading.d.ts +109 -25
- package/lib/loading/loading.less +84 -73
- package/lib/loading/loading.variable.css +207 -101
- package/lib/menu/index.d.ts +82 -71
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu-group.d.ts +6 -5
- package/lib/menu/menu-item.d.ts +6 -5
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +16 -21
- package/lib/menu/menu.variable.css +81 -3
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +6 -5
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +33 -3
- package/lib/menu/utils.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +24 -3
- package/lib/message/message.less +27 -2
- package/lib/message/message.variable.css +54 -6
- package/lib/message/messageConstructor.d.ts +69 -21
- package/lib/modal/index.d.ts +517 -68
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +25 -1
- package/lib/modal/modal.d.ts +191 -24
- package/lib/modal/modal.less +33 -1
- package/lib/modal/modal.variable.css +25 -1
- package/lib/modal/props.mixin.d.ts +77 -10
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation-title.d.ts +10 -7
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +50 -24
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +31 -4
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +24 -4
- package/lib/notify/notify.less +27 -4
- package/lib/notify/notify.variable.css +54 -7
- package/lib/notify/notifyConstructor.d.ts +84 -24
- 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 +292 -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 +322 -137
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +26 -13
- package/lib/popover/popover.d.ts +122 -45
- package/lib/popover/popover.less +59 -45
- package/lib/popover/popover.variable.css +56 -16
- package/lib/popover/props.d.ts +104 -0
- package/lib/popover2/arrow.d.ts +2 -0
- package/lib/popover2/const.d.ts +10 -0
- package/lib/popover2/content.d.ts +24 -0
- package/lib/popover2/index.d.ts +495 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover2.css +25 -0
- package/lib/popover2/popover2.d.ts +209 -0
- package/lib/popover2/popover2.less +35 -0
- package/lib/popover2/popover2.variable.css +138 -0
- package/lib/popover2/props.d.ts +108 -0
- package/lib/popover2/reference.d.ts +2 -0
- package/lib/popover2/root.d.ts +16 -0
- package/lib/popover2/use-floating.d.ts +20 -0
- package/lib/popover2/use-platform.d.ts +30 -0
- package/lib/popover2/use-popper-id.d.ts +7 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +123 -63
- package/lib/process/index.js +1 -15
- package/lib/process/process.css +2 -3
- package/lib/process/process.d.ts +31 -16
- package/lib/process/process.less +2 -3
- package/lib/process/process.variable.css +32 -6
- package/lib/progress/index.d.ts +305 -135
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +51 -3
- package/lib/progress/progress.d.ts +89 -36
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +81 -6
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +145 -96
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +30 -23
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +62 -57
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +181 -172
- package/lib/radio/radio.variable.css +94 -62
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +52 -40
- 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 +302 -0
- package/lib/select/common.d.ts +20 -22
- package/lib/select/index.d.ts +1061 -705
- package/lib/select/index.js +1 -15
- package/lib/select/option.d.ts +23 -19
- package/lib/select/optionGroup.d.ts +36 -97
- package/lib/select/select.css +238 -70
- package/lib/select/select.d.ts +376 -192
- package/lib/select/select.less +284 -130
- package/lib/select/select.variable.css +268 -73
- package/lib/select/selectTagInput.d.ts +72 -0
- package/lib/select/type.d.ts +38 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +26 -4
- 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} +50 -5
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +18 -0
- package/lib/shared/vue-types.d.ts +11 -7
- package/lib/sideslider/index.d.ts +432 -80
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +54 -10
- package/lib/sideslider/sideslider.d.ts +185 -30
- package/lib/sideslider/sideslider.less +71 -13
- package/lib/sideslider/sideslider.variable.css +84 -13
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -15
- package/lib/slider/slider-button.d.ts +15 -7
- package/lib/slider/slider.d.ts +84 -42
- package/lib/slider/slider.variable.css +30 -3
- package/lib/steps/index.d.ts +160 -108
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +17 -3
- package/lib/steps/steps.d.ts +40 -27
- package/lib/steps/steps.less +27 -3
- package/lib/steps/steps.variable.css +47 -6
- package/lib/styles/index.d.ts +13 -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 +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +130 -0
- package/lib/styles/themes/themes.less +40 -3
- 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 +201 -137
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +200 -135
- package/lib/switcher/switcher.d.ts +52 -36
- package/lib/switcher/switcher.less +190 -155
- package/lib/switcher/switcher.variable.css +230 -138
- package/lib/tab/index.d.ts +306 -282
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +102 -87
- package/lib/tab/tab-panel.d.ts +53 -26
- package/lib/tab/tab.css +25 -1
- package/lib/tab/tab.d.ts +59 -51
- package/lib/tab/tab.less +31 -19
- package/lib/tab/tab.variable.css +55 -4
- package/lib/table/const.d.ts +67 -0
- package/lib/table/index.d.ts +498 -70
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +88 -0
- package/lib/table/plugins/head-filter.variable.css +181 -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 +135 -0
- package/lib/table/plugins/settings.css +129 -0
- package/lib/table/plugins/settings.less +157 -0
- package/lib/table/plugins/settings.variable.css +242 -0
- package/lib/table/props.d.ts +210 -2
- package/lib/table/render.d.ts +76 -5
- package/lib/table/table.css +1094 -15
- package/lib/table/table.d.ts +221 -14
- package/lib/table/table.less +253 -24
- package/lib/table/table.variable.css +1125 -19
- package/lib/table/use-common.d.ts +72 -0
- package/lib/table/utils.d.ts +84 -2
- package/lib/tag/index.d.ts +165 -274
- 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 +127 -3
- 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 +322 -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 +240 -0
- package/lib/timeline/timeline.variable.css +348 -0
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +365 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +139 -0
- package/lib/transfer/transfer.d.ts +160 -0
- package/lib/transfer/transfer.less +144 -0
- package/lib/transfer/transfer.variable.css +252 -0
- package/lib/tree/constant.d.ts +45 -0
- package/lib/tree/index.d.ts +469 -94
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +184 -0
- package/lib/tree/tree.css +176 -15
- package/lib/tree/tree.d.ts +201 -31
- package/lib/tree/tree.less +75 -38
- package/lib/tree/tree.variable.css +289 -15
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +33 -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 +34 -57
- package/lib/upload/index.d.ts +580 -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 +417 -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 +530 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -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 +22 -0
- package/lib/virtual-render/virtual-render.variable.css +146 -0
- package/lib/volar.components.d.ts +100 -0
- package/package.json +107 -86
- package/dist/bkui-vue.cjs.js +0 -10327
- package/dist/bkui-vue.esm.js +0 -10283
- package/dist/bkui-vue.umd.js +0 -10330
- package/lib/form/common.d.ts +0 -3
- package/lib/styles/index.js +0 -1
package/lib/collapse/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const
|
1
|
+
declare const BkCollapse: {
|
2
2
|
new (...args: any[]): {
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
@@ -8,24 +8,37 @@ declare const BkCollaspe: {
|
|
8
8
|
titleField: string;
|
9
9
|
contentField: string;
|
10
10
|
accordion: boolean;
|
11
|
-
}> & Omit<Readonly<{
|
12
|
-
list
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
11
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
12
|
+
list: import("vue-types").VueTypeDef<any[]> & {
|
13
|
+
default: () => any[];
|
14
|
+
};
|
15
|
+
idFiled: import("vue-types").VueTypeValidableDef<string> & {
|
16
|
+
default: string;
|
17
|
+
} & {
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
titleField: import("vue-types").VueTypeValidableDef<string> & {
|
21
|
+
default: string;
|
22
|
+
} & {
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
contentField: import("vue-types").VueTypeValidableDef<string> & {
|
26
|
+
default: string;
|
27
|
+
} & {
|
28
|
+
default: string;
|
29
|
+
};
|
30
|
+
modelValue: import("vue-types").VueTypeDef<number | string[] | number[]>;
|
31
|
+
accordion: import("vue-types").VueTypeValidableDef<boolean> & {
|
32
|
+
default: boolean;
|
33
|
+
} & {
|
34
|
+
default: boolean;
|
35
|
+
};
|
36
|
+
}>> & {
|
37
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
38
|
+
"onAfter-leave"?: (...args: any[]) => any;
|
39
|
+
"onBefore-enter"?: (...args: any[]) => any;
|
40
|
+
"onItem-click"?: (...args: any[]) => any;
|
41
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "list" | "idFiled" | "titleField" | "contentField" | "accordion">;
|
29
42
|
$attrs: {
|
30
43
|
[x: string]: unknown;
|
31
44
|
};
|
@@ -37,26 +50,39 @@ declare const BkCollaspe: {
|
|
37
50
|
}>;
|
38
51
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
39
52
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
40
|
-
$emit: (event:
|
53
|
+
$emit: (event: "update:modelValue" | "after-leave" | "before-enter" | "item-click", ...args: any[]) => void;
|
41
54
|
$el: any;
|
42
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
43
|
-
list
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
55
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
56
|
+
list: import("vue-types").VueTypeDef<any[]> & {
|
57
|
+
default: () => any[];
|
58
|
+
};
|
59
|
+
idFiled: import("vue-types").VueTypeValidableDef<string> & {
|
60
|
+
default: string;
|
61
|
+
} & {
|
62
|
+
default: string;
|
63
|
+
};
|
64
|
+
titleField: import("vue-types").VueTypeValidableDef<string> & {
|
65
|
+
default: string;
|
66
|
+
} & {
|
67
|
+
default: string;
|
68
|
+
};
|
69
|
+
contentField: import("vue-types").VueTypeValidableDef<string> & {
|
70
|
+
default: string;
|
71
|
+
} & {
|
72
|
+
default: string;
|
73
|
+
};
|
74
|
+
modelValue: import("vue-types").VueTypeDef<number | string[] | number[]>;
|
75
|
+
accordion: import("vue-types").VueTypeValidableDef<boolean> & {
|
76
|
+
default: boolean;
|
77
|
+
} & {
|
78
|
+
default: boolean;
|
79
|
+
};
|
80
|
+
}>> & {
|
81
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
82
|
+
"onAfter-leave"?: (...args: any[]) => any;
|
83
|
+
"onBefore-enter"?: (...args: any[]) => any;
|
84
|
+
"onItem-click"?: (...args: any[]) => any;
|
85
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "after-leave" | "before-enter" | "item-click")[], string, {
|
60
86
|
list: any[];
|
61
87
|
idFiled: string;
|
62
88
|
titleField: string;
|
@@ -82,49 +108,75 @@ declare const BkCollaspe: {
|
|
82
108
|
$forceUpdate: () => void;
|
83
109
|
$nextTick: typeof import("vue").nextTick;
|
84
110
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
85
|
-
} & Readonly<{
|
86
|
-
list
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
111
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
112
|
+
list: import("vue-types").VueTypeDef<any[]> & {
|
113
|
+
default: () => any[];
|
114
|
+
};
|
115
|
+
idFiled: import("vue-types").VueTypeValidableDef<string> & {
|
116
|
+
default: string;
|
117
|
+
} & {
|
118
|
+
default: string;
|
119
|
+
};
|
120
|
+
titleField: import("vue-types").VueTypeValidableDef<string> & {
|
121
|
+
default: string;
|
122
|
+
} & {
|
123
|
+
default: string;
|
124
|
+
};
|
125
|
+
contentField: import("vue-types").VueTypeValidableDef<string> & {
|
126
|
+
default: string;
|
127
|
+
} & {
|
128
|
+
default: string;
|
129
|
+
};
|
130
|
+
modelValue: import("vue-types").VueTypeDef<number | string[] | number[]>;
|
131
|
+
accordion: import("vue-types").VueTypeValidableDef<boolean> & {
|
132
|
+
default: boolean;
|
133
|
+
} & {
|
134
|
+
default: boolean;
|
135
|
+
};
|
136
|
+
}>> & {
|
137
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
138
|
+
"onAfter-leave"?: (...args: any[]) => any;
|
139
|
+
"onBefore-enter"?: (...args: any[]) => any;
|
140
|
+
"onItem-click"?: (...args: any[]) => any;
|
141
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
103
142
|
__isFragment?: never;
|
104
143
|
__isTeleport?: never;
|
105
144
|
__isSuspense?: never;
|
106
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
107
|
-
list
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
}
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
145
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
146
|
+
list: import("vue-types").VueTypeDef<any[]> & {
|
147
|
+
default: () => any[];
|
148
|
+
};
|
149
|
+
idFiled: import("vue-types").VueTypeValidableDef<string> & {
|
150
|
+
default: string;
|
151
|
+
} & {
|
152
|
+
default: string;
|
153
|
+
};
|
154
|
+
titleField: import("vue-types").VueTypeValidableDef<string> & {
|
155
|
+
default: string;
|
156
|
+
} & {
|
157
|
+
default: string;
|
158
|
+
};
|
159
|
+
contentField: import("vue-types").VueTypeValidableDef<string> & {
|
160
|
+
default: string;
|
161
|
+
} & {
|
162
|
+
default: string;
|
163
|
+
};
|
164
|
+
modelValue: import("vue-types").VueTypeDef<number | string[] | number[]>;
|
165
|
+
accordion: import("vue-types").VueTypeValidableDef<boolean> & {
|
166
|
+
default: boolean;
|
167
|
+
} & {
|
168
|
+
default: boolean;
|
169
|
+
};
|
170
|
+
}>> & {
|
171
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
172
|
+
"onAfter-leave"?: (...args: any[]) => any;
|
173
|
+
"onBefore-enter"?: (...args: any[]) => any;
|
174
|
+
"onItem-click"?: (...args: any[]) => any;
|
175
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "after-leave" | "before-enter" | "item-click")[], "update:modelValue" | "after-leave" | "before-enter" | "item-click", {
|
124
176
|
list: any[];
|
125
177
|
idFiled: string;
|
126
178
|
titleField: string;
|
127
179
|
contentField: string;
|
128
180
|
accordion: boolean;
|
129
181
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
130
|
-
export default
|
182
|
+
export default BkCollapse;
|
package/lib/collapse/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon/"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon/"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon/")):t(e["../shared"],e.vue,e["../icon/"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,((e,t,r)=>(()=>{"use strict";var o={7685:e=>{e.exports=r},4212:t=>{t.exports=e},748:e=>{e.exports=t}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,i),r.exports}i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{i.r(l),i.d(l,{default:()=>d});var e=i(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,r):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var o=i(748),n=i(7685),a=function(e){return(e||"").split(" ").filter((function(e){return!!e.trim()}))};function s(e,t){if(e&&t){var o=a(t),n=e.getAttribute("class")||"";if(e.classList){var i;(i=e.classList).remove.apply(i,r(o))}else{o.forEach((function(e){n=n.replace(" ".concat(e," ")," ")}));var l=a(n).join(" ");e.setAttribute("class",l)}}}function c(e,t){if(e){var o,n=e.getAttribute("class")||"",i=a(n),l=(t||"").split(" ").filter((function(e){return!i.includes(e)&&!!e.trim()}));e.classList?(o=e.classList).add.apply(o,r(l)):(n+=" ".concat(l.join(" ")),e.setAttribute("class",n))}}const u=(0,o.defineComponent)({name:"Collapse",props:{list:e.PropTypes.arrayOf(e.PropTypes.any).def([]),idFiled:e.PropTypes.string.def("$index"),titleField:e.PropTypes.string.def("name"),contentField:e.PropTypes.string.def("content"),modelValue:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.number).def([]),e.PropTypes.arrayOf(e.PropTypes.string).def([]),e.PropTypes.number.def(-1)]),accordion:e.PropTypes.bool.def(!1)},emits:["item-click","update:modelValue","after-leave","before-enter"],setup:function(e,t){var i=t.emit,l=t.slots,a=(0,o.ref)([]),u=(0,o.ref)(function(e){return{css:!0,onBeforeEnter:function(e){c(e,"collapse-transition"),e.dataset||(e.dataset={}),e.style.height="0px"},onEnter:function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height="".concat(e.scrollHeight,"px"),e.style.maxHeight="".concat(e.scrollHeight,"px")):e.style.height="0px",e.style.overflow="hidden"},onAfterEnter:function(t){t.style.height="",t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,s(t,"collapse-transition"),e("before-enter")},onBeforeLeave:function(e){e.dataset||(e.dataset={}),e.dataset.oldOverflow=e.style.overflow,e.style.height="".concat(e.scrollHeight,"px"),e.style.maxHeight="".concat(e.scrollHeight,"px"),e.style.overflow="hidden"},onLeave:function(e){0!==e.scrollHeight&&(c(e,"collapse-transition"),e.style.transitionProperty="height",e.style.height="0px")},onAfterLeave:function(t){s(t,"collapse-transition"),t.style.height="",t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,e("after-leave")}}}(i));(0,o.watch)((function(){return[e.modelValue]}),(function(){var t=e.modelValue;Array.isArray(t)?a.value=r(t):a.value=void 0!==t?[t]:[]}),{immediate:!0});var d=(0,o.computed)((function(){return(e.list||[]).map((function(e,t){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e?{$index:t,name:e}:Object.assign({$index:t},e)}))})),f=function(t){return a.value.includes(t[e.idFiled])};return function(){return(0,o.createVNode)("div",{class:"bk-collapse-wrapper"},[d.value.map((function(t){var r,s,c,d;return(0,o.createVNode)("div",{class:"bk-collapse-item ".concat(t.disabled?"is-disabled":""," ").concat(f(t)?"bk-collapse-item-active":"")},[(0,o.createVNode)("div",{class:"bk-collapse-header",onClick:function(){return function(t){if(!t.disabled){if(e.accordion){var r=a.value.findIndex((function(r){return r===t[e.idFiled]}));r>=0?a.value.splice(r,1):a.value=[t[e.idFiled]]}else{var o=a.value.findIndex((function(r){return r===t[e.idFiled]}));o>=0?a.value.splice(o,1):a.value.push(t[e.idFiled])}i("item-click",t),i("update:modelValue",a.value)}}(t)}},[(0,o.createVNode)("span",{class:"bk-collapse-title"},[null!==(s=null===(r=l.default)||void 0===r?void 0:r.call(l,t))&&void 0!==s?s:t[e.titleField]]),(0,o.createVNode)(n.AngleRight,{class:"bk-collapse-icon ".concat(f(t)?"rotate-icon":"")},null)]),(0,o.createVNode)(o.Transition,u.value,{default:function(){return[(0,o.withDirectives)((0,o.createVNode)("div",{class:"bk-collapse-content ".concat(f(t)?"active":"")},[null!==(d=null===(c=l.content)||void 0===c?void 0:c.call(l,t))&&void 0!==d?d:t[e.contentField]]),[[o.vShow,f(t)]])]}})])}))])}}}),d=(0,e.withInstall)(u)})(),l})()));
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare function removeClass(el: HTMLElement | Element, cls: string): void;
|
2
|
+
export declare function addClass(el: HTMLElement | Element, cls: string): void;
|
3
|
+
export declare const collapseMotion: (emit: any) => {
|
4
|
+
css: boolean;
|
5
|
+
onBeforeEnter: (el: any) => void;
|
6
|
+
onEnter: (el: any) => void;
|
7
|
+
onAfterEnter: (el: any) => void;
|
8
|
+
onBeforeLeave: (el: any) => void;
|
9
|
+
onLeave: (el: any) => void;
|
10
|
+
onAfterLeave: (el: any) => void;
|
11
|
+
};
|
package/lib/components.d.ts
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
export { default as Alert } from './alert';
|
2
2
|
export { default as AnimateNumber } from './animate-number';
|
3
|
+
export { default as Affix } from './affix';
|
3
4
|
export { default as Backtop } from './backtop';
|
4
5
|
export { default as Badge } from './badge';
|
5
|
-
export { default as Breadcrumb
|
6
|
-
export { default as Button
|
6
|
+
export { default as Breadcrumb } from './breadcrumb';
|
7
|
+
export { default as Button } from './button';
|
7
8
|
export { default as Card } from './card';
|
8
|
-
export { default as Checkbox
|
9
|
+
export { default as Checkbox } from './checkbox';
|
9
10
|
export { default as Collapse } from './collapse';
|
10
11
|
export { default as Dialog } from './dialog';
|
11
12
|
export { default as Exception } from './exception';
|
@@ -15,17 +16,37 @@ export { default as Link } from './link';
|
|
15
16
|
export { default as Loading } from './loading';
|
16
17
|
export { default as Modal } from './modal';
|
17
18
|
export { default as Popover } from './popover';
|
19
|
+
export { default as Popover2 } from './popover2';
|
18
20
|
export { default as Progress } from './progress';
|
19
|
-
export { default as Radio
|
21
|
+
export { default as Radio } from './radio';
|
20
22
|
export { default as Rate } from './rate';
|
21
|
-
export { default as
|
23
|
+
export { default as Swiper } from './swiper';
|
24
|
+
export { default as Select } from './select';
|
22
25
|
export { default as Sideslider } from './sideslider';
|
23
26
|
export { default as Steps } from './steps';
|
24
27
|
export { default as Switcher } from './switcher';
|
25
28
|
export { default as Table } from './table';
|
26
29
|
export { default as Tag } from './tag';
|
30
|
+
export { default as TagInput } from './tag-input';
|
31
|
+
export { default as Divider } from './divider';
|
32
|
+
export { default as Tab } from './tab';
|
27
33
|
export { default as Message } from './message';
|
28
34
|
export { default as Notify } from './notify';
|
29
35
|
export { default as Menu } from './menu';
|
30
36
|
export { default as Navigation } from './navigation';
|
31
37
|
export { default as DatePicker } from './date-picker';
|
38
|
+
export { default as Transfer } from './transfer';
|
39
|
+
export { default as Tree } from './tree';
|
40
|
+
export { default as VirtualRender } from './virtual-render';
|
41
|
+
export { default as Form } from './form';
|
42
|
+
export { default as Pagination } from './pagination';
|
43
|
+
export { default as Container } from './container';
|
44
|
+
export { default as containerProps } from './container';
|
45
|
+
export { default as Dropdown } from './dropdown';
|
46
|
+
export { default as Cascader } from './cascader';
|
47
|
+
export { default as Slider } from './slider';
|
48
|
+
export { default as ResizeLayout } from './resize-layout';
|
49
|
+
export { default as TimeLine } from './timeline';
|
50
|
+
export { default as Process } from './process';
|
51
|
+
export { default as Upload } from './upload';
|
52
|
+
export { default as CodeDiff } from './code-diff';
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("./alert"),require("./animate-number"),require("./affix"),require("./backtop"),require("./badge"),require("./breadcrumb"),require("./button"),require("./card"),require("./checkbox"),require("./collapse"),require("./dialog"),require("./exception"),require("./fixed-navbar"),require("./input"),require("./link"),require("./loading"),require("./modal"),require("./popover"),require("./popover2"),require("./progress"),require("./radio"),require("./rate"),require("./swiper"),require("./select"),require("./sideslider"),require("./steps"),require("./switcher"),require("./table"),require("./tag"),require("./tag-input"),require("./divider"),require("./tab"),require("./message"),require("./notify"),require("./menu"),require("./navigation"),require("./date-picker"),require("./transfer"),require("./tree"),require("./virtual-render"),require("./form"),require("./pagination"),require("./container"),require("./dropdown"),require("./cascader"),require("./slider"),require("./resize-layout"),require("./timeline"),require("./process"),require("./upload"),require("./code-diff"));else if("function"==typeof define&&define.amd)define(["./alert","./animate-number","./affix","./backtop","./badge","./breadcrumb","./button","./card","./checkbox","./collapse","./dialog","./exception","./fixed-navbar","./input","./link","./loading","./modal","./popover","./popover2","./progress","./radio","./rate","./swiper","./select","./sideslider","./steps","./switcher","./table","./tag","./tag-input","./divider","./tab","./message","./notify","./menu","./navigation","./date-picker","./transfer","./tree","./virtual-render","./form","./pagination","./container","./dropdown","./cascader","./slider","./resize-layout","./timeline","./process","./upload","./code-diff"],r);else{var i="object"==typeof exports?r(require("./alert"),require("./animate-number"),require("./affix"),require("./backtop"),require("./badge"),require("./breadcrumb"),require("./button"),require("./card"),require("./checkbox"),require("./collapse"),require("./dialog"),require("./exception"),require("./fixed-navbar"),require("./input"),require("./link"),require("./loading"),require("./modal"),require("./popover"),require("./popover2"),require("./progress"),require("./radio"),require("./rate"),require("./swiper"),require("./select"),require("./sideslider"),require("./steps"),require("./switcher"),require("./table"),require("./tag"),require("./tag-input"),require("./divider"),require("./tab"),require("./message"),require("./notify"),require("./menu"),require("./navigation"),require("./date-picker"),require("./transfer"),require("./tree"),require("./virtual-render"),require("./form"),require("./pagination"),require("./container"),require("./dropdown"),require("./cascader"),require("./slider"),require("./resize-layout"),require("./timeline"),require("./process"),require("./upload"),require("./code-diff")):r(e["./alert"],e["./animate-number"],e["./affix"],e["./backtop"],e["./badge"],e["./breadcrumb"],e["./button"],e["./card"],e["./checkbox"],e["./collapse"],e["./dialog"],e["./exception"],e["./fixed-navbar"],e["./input"],e["./link"],e["./loading"],e["./modal"],e["./popover"],e["./popover2"],e["./progress"],e["./radio"],e["./rate"],e["./swiper"],e["./select"],e["./sideslider"],e["./steps"],e["./switcher"],e["./table"],e["./tag"],e["./tag-input"],e["./divider"],e["./tab"],e["./message"],e["./notify"],e["./menu"],e["./navigation"],e["./date-picker"],e["./transfer"],e["./tree"],e["./virtual-render"],e["./form"],e["./pagination"],e["./container"],e["./dropdown"],e["./cascader"],e["./slider"],e["./resize-layout"],e["./timeline"],e["./process"],e["./upload"],e["./code-diff"]);for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(self,((e,r,i,a,o,t,n,u,s,p,d,q,l,c,x,f,b,g,m,v,y,k,w,h,P,S,T,j,C,M,z,D,O,B,L,N,R,_,A,F,I,E,U,V,G,H,J,K,Q,W,X)=>(()=>{"use strict";var Y={9649:e=>{e.exports=i},431:r=>{r.exports=e},4408:e=>{e.exports=r},5963:e=>{e.exports=a},7416:e=>{e.exports=o},8393:e=>{e.exports=t},2477:e=>{e.exports=n},1919:e=>{e.exports=u},2074:e=>{e.exports=G},8432:e=>{e.exports=s},9694:e=>{e.exports=X},8477:e=>{e.exports=p},2299:e=>{e.exports=U},5936:e=>{e.exports=R},9837:e=>{e.exports=d},6743:e=>{e.exports=z},6750:e=>{e.exports=V},1520:e=>{e.exports=q},5389:e=>{e.exports=l},9602:e=>{e.exports=I},2009:e=>{e.exports=c},5717:e=>{e.exports=x},8668:e=>{e.exports=f},3158:e=>{e.exports=L},3227:e=>{e.exports=O},3110:e=>{e.exports=b},6972:e=>{e.exports=N},2426:e=>{e.exports=B},6496:e=>{e.exports=E},5657:e=>{e.exports=g},8102:e=>{e.exports=m},2072:e=>{e.exports=Q},1633:e=>{e.exports=v},6154:e=>{e.exports=y},9495:e=>{e.exports=k},4218:e=>{e.exports=J},6414:e=>{e.exports=h},4819:e=>{e.exports=P},685:e=>{e.exports=H},1810:e=>{e.exports=S},4706:e=>{e.exports=w},946:e=>{e.exports=T},3612:e=>{e.exports=D},3294:e=>{e.exports=j},5899:e=>{e.exports=C},2144:e=>{e.exports=M},216:e=>{e.exports=K},9933:e=>{e.exports=_},4727:e=>{e.exports=A},6973:e=>{e.exports=W},1285:e=>{e.exports=F}},Z={};function $(e){var r=Z[e];if(void 0!==r)return r.exports;var i=Z[e]={exports:{}};return Y[e](i,i.exports,$),i.exports}$.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return $.d(r,{a:r}),r},$.d=(e,r)=>{for(var i in r)$.o(r,i)&&!$.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:r[i]})},$.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),$.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var ee={};return(()=>{$.r(ee),$.d(ee,{Affix:()=>t.a,Alert:()=>r.a,AnimateNumber:()=>a.a,Backtop:()=>u.a,Badge:()=>p.a,Breadcrumb:()=>q.a,Button:()=>c.a,Card:()=>f.a,Cascader:()=>_e.a,Checkbox:()=>g.a,CodeDiff:()=>We.a,Collapse:()=>v.a,Container:()=>Be.a,DatePicker:()=>ke.a,Dialog:()=>k.a,Divider:()=>pe.a,Dropdown:()=>Ne.a,Exception:()=>h.a,FixedNavbar:()=>S.a,Form:()=>Me.a,Input:()=>j.a,Link:()=>M.a,Loading:()=>D.a,Menu:()=>ge.a,Message:()=>ce.a,Modal:()=>B.a,Navigation:()=>ve.a,Notify:()=>fe.a,Pagination:()=>De.a,Popover:()=>N.a,Popover2:()=>_.a,Process:()=>He.a,Progress:()=>F.a,Radio:()=>E.a,Rate:()=>V.a,ResizeLayout:()=>Ee.a,Select:()=>K.a,Sideslider:()=>W.a,Slider:()=>Fe.a,Steps:()=>Y.a,Swiper:()=>H.a,Switcher:()=>re.a,Tab:()=>qe.a,Table:()=>ae.a,Tag:()=>te.a,TagInput:()=>ue.a,TimeLine:()=>Ve.a,Transfer:()=>he.a,Tree:()=>Se.a,Upload:()=>Ke.a,VirtualRender:()=>je.a,containerProps:()=>Be.a});var e=$(431),r=$.n(e),i=$(4408),a=$.n(i),o=$(9649),t=$.n(o),n=$(5963),u=$.n(n),s=$(7416),p=$.n(s),d=$(8393),q=$.n(d),l=$(2477),c=$.n(l),x=$(1919),f=$.n(x),b=$(8432),g=$.n(b),m=$(8477),v=$.n(m),y=$(9837),k=$.n(y),w=$(1520),h=$.n(w),P=$(5389),S=$.n(P),T=$(2009),j=$.n(T),C=$(5717),M=$.n(C),z=$(8668),D=$.n(z),O=$(3110),B=$.n(O),L=$(5657),N=$.n(L),R=$(8102),_=$.n(R),A=$(1633),F=$.n(A),I=$(6154),E=$.n(I),U=$(9495),V=$.n(U),G=$(4706),H=$.n(G),J=$(6414),K=$.n(J),Q=$(4819),W=$.n(Q),X=$(1810),Y=$.n(X),Z=$(946),re=$.n(Z),ie=$(3294),ae=$.n(ie),oe=$(5899),te=$.n(oe),ne=$(2144),ue=$.n(ne),se=$(6743),pe=$.n(se),de=$(3612),qe=$.n(de),le=$(3227),ce=$.n(le),xe=$(2426),fe=$.n(xe),be=$(3158),ge=$.n(be),me=$(6972),ve=$.n(me),ye=$(5936),ke=$.n(ye),we=$(9933),he=$.n(we),Pe=$(4727),Se=$.n(Pe),Te=$(1285),je=$.n(Te),Ce=$(9602),Me=$.n(Ce),ze=$(6496),De=$.n(ze),Oe=$(2299),Be=$.n(Oe),Le=$(6750),Ne=$.n(Le),Re=$(2074),_e=$.n(Re),Ae=$(685),Fe=$.n(Ae),Ie=$(4218),Ee=$.n(Ie),Ue=$(216),Ve=$.n(Ue),Ge=$(2072),He=$.n(Ge),Je=$(6973),Ke=$.n(Je),Qe=$(9694),We=$.n(Qe)})(),ee})()));
|
@@ -0,0 +1,51 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
span: import("vue-types").VueTypeValidableDef<number> & {
|
3
|
+
default: number;
|
4
|
+
} & {
|
5
|
+
default: number;
|
6
|
+
};
|
7
|
+
offset: import("vue-types").VueTypeValidableDef<number> & {
|
8
|
+
default: number;
|
9
|
+
} & {
|
10
|
+
default: number;
|
11
|
+
};
|
12
|
+
pull: import("vue-types").VueTypeValidableDef<number> & {
|
13
|
+
default: number;
|
14
|
+
} & {
|
15
|
+
default: number;
|
16
|
+
};
|
17
|
+
push: import("vue-types").VueTypeValidableDef<number> & {
|
18
|
+
default: number;
|
19
|
+
} & {
|
20
|
+
default: number;
|
21
|
+
};
|
22
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
23
|
+
span: import("vue-types").VueTypeValidableDef<number> & {
|
24
|
+
default: number;
|
25
|
+
} & {
|
26
|
+
default: number;
|
27
|
+
};
|
28
|
+
offset: import("vue-types").VueTypeValidableDef<number> & {
|
29
|
+
default: number;
|
30
|
+
} & {
|
31
|
+
default: number;
|
32
|
+
};
|
33
|
+
pull: import("vue-types").VueTypeValidableDef<number> & {
|
34
|
+
default: number;
|
35
|
+
} & {
|
36
|
+
default: number;
|
37
|
+
};
|
38
|
+
push: import("vue-types").VueTypeValidableDef<number> & {
|
39
|
+
default: number;
|
40
|
+
} & {
|
41
|
+
default: number;
|
42
|
+
};
|
43
|
+
}>> & {
|
44
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
45
|
+
}, {
|
46
|
+
span: number;
|
47
|
+
offset: number;
|
48
|
+
push: number;
|
49
|
+
pull: number;
|
50
|
+
}>;
|
51
|
+
export default _default;
|
@@ -0,0 +1,91 @@
|
|
1
|
+
@keyframes loading-scale-animate {
|
2
|
+
0% {
|
3
|
+
transform: scale(1);
|
4
|
+
}
|
5
|
+
100% {
|
6
|
+
transform: scale(0.6);
|
7
|
+
}
|
8
|
+
}
|
9
|
+
@keyframes fade {
|
10
|
+
100% {
|
11
|
+
background-color: transparent;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
.bk-fade-transtion .bk-fade-enter-active,
|
15
|
+
.bk-fade-transtion .bk-fade-leave-active {
|
16
|
+
transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
|
17
|
+
}
|
18
|
+
.bk-fade-transtion .bk-fade-enter,
|
19
|
+
.bk-fade-transtion .bk-fade-leave-to {
|
20
|
+
opacity: 0;
|
21
|
+
}
|
22
|
+
.clearfix-style::after {
|
23
|
+
display: block;
|
24
|
+
height: 0;
|
25
|
+
clear: both;
|
26
|
+
font-size: 0;
|
27
|
+
content: '';
|
28
|
+
visibility: hidden;
|
29
|
+
}
|
30
|
+
.bk-popper {
|
31
|
+
display: none;
|
32
|
+
padding: 7px 14px;
|
33
|
+
font-size: 12px;
|
34
|
+
color: #fff;
|
35
|
+
background: #333;
|
36
|
+
border-radius: 4px;
|
37
|
+
}
|
38
|
+
.bk-popper.light {
|
39
|
+
color: #63656e;
|
40
|
+
background: #fff;
|
41
|
+
box-shadow: #dcdee5 0px 0px 6px 0px;
|
42
|
+
}
|
43
|
+
.bk-popper .bk-popper-arrow,
|
44
|
+
.bk-popper .bk-popper-arrow::before {
|
45
|
+
position: absolute;
|
46
|
+
width: 8px;
|
47
|
+
height: 8px;
|
48
|
+
background: inherit;
|
49
|
+
}
|
50
|
+
.bk-popper .bk-popper-arrow {
|
51
|
+
visibility: hidden;
|
52
|
+
}
|
53
|
+
.bk-popper .bk-popper-arrow::before {
|
54
|
+
content: '';
|
55
|
+
visibility: visible;
|
56
|
+
transform: rotate(45deg);
|
57
|
+
}
|
58
|
+
.bk-popper[data-show] {
|
59
|
+
display: block;
|
60
|
+
}
|
61
|
+
.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
|
62
|
+
bottom: -4px;
|
63
|
+
}
|
64
|
+
.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
|
65
|
+
top: -4px;
|
66
|
+
}
|
67
|
+
.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
|
68
|
+
right: -4px;
|
69
|
+
}
|
70
|
+
.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
|
71
|
+
left: -4px;
|
72
|
+
}
|
73
|
+
.bk-grid-container {
|
74
|
+
margin-right: auto;
|
75
|
+
margin-left: auto;
|
76
|
+
}
|
77
|
+
.bk-grid-row::after {
|
78
|
+
display: block;
|
79
|
+
height: 0;
|
80
|
+
clear: both;
|
81
|
+
font-size: 0;
|
82
|
+
content: '';
|
83
|
+
visibility: hidden;
|
84
|
+
}
|
85
|
+
.bk-grid-row .bk-grid-col > .bk-grid-row {
|
86
|
+
margin: 0 auto;
|
87
|
+
}
|
88
|
+
.bk-grid-col {
|
89
|
+
position: relative;
|
90
|
+
float: left;
|
91
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
export declare const containerProps: {
|
2
|
+
col: import("vue-types").VueTypeValidableDef<number> & {
|
3
|
+
default: number;
|
4
|
+
} & {
|
5
|
+
default: number;
|
6
|
+
};
|
7
|
+
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
8
|
+
default: number;
|
9
|
+
} & {
|
10
|
+
default: number;
|
11
|
+
};
|
12
|
+
margin: import("vue-types").VueTypeValidableDef<number> & {
|
13
|
+
default: number;
|
14
|
+
} & {
|
15
|
+
default: number;
|
16
|
+
};
|
17
|
+
flex: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
|
+
default: boolean;
|
19
|
+
} & {
|
20
|
+
default: boolean;
|
21
|
+
};
|
22
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
declare const _default: import("vue").DefineComponent<{
|
27
|
+
col: import("vue-types").VueTypeValidableDef<number> & {
|
28
|
+
default: number;
|
29
|
+
} & {
|
30
|
+
default: number;
|
31
|
+
};
|
32
|
+
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
33
|
+
default: number;
|
34
|
+
} & {
|
35
|
+
default: number;
|
36
|
+
};
|
37
|
+
margin: import("vue-types").VueTypeValidableDef<number> & {
|
38
|
+
default: number;
|
39
|
+
} & {
|
40
|
+
default: number;
|
41
|
+
};
|
42
|
+
flex: import("vue-types").VueTypeValidableDef<boolean> & {
|
43
|
+
default: boolean;
|
44
|
+
} & {
|
45
|
+
default: boolean;
|
46
|
+
};
|
47
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
48
|
+
default: string;
|
49
|
+
};
|
50
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
51
|
+
col: import("vue-types").VueTypeValidableDef<number> & {
|
52
|
+
default: number;
|
53
|
+
} & {
|
54
|
+
default: number;
|
55
|
+
};
|
56
|
+
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
57
|
+
default: number;
|
58
|
+
} & {
|
59
|
+
default: number;
|
60
|
+
};
|
61
|
+
margin: import("vue-types").VueTypeValidableDef<number> & {
|
62
|
+
default: number;
|
63
|
+
} & {
|
64
|
+
default: number;
|
65
|
+
};
|
66
|
+
flex: 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
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
76
|
+
}, {
|
77
|
+
col: number;
|
78
|
+
extCls: string;
|
79
|
+
flex: boolean;
|
80
|
+
margin: number;
|
81
|
+
gutter: number;
|
82
|
+
}>;
|
83
|
+
export default _default;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
@import '../styles/themes/themes.less';
|
2
|
+
@import '../styles/mixins/mixins.less';
|
3
|
+
|
4
|
+
.bk-grid-container {
|
5
|
+
margin-right: auto;
|
6
|
+
margin-left: auto;
|
7
|
+
}
|
8
|
+
|
9
|
+
.bk-grid-row {
|
10
|
+
.clearfix-style();
|
11
|
+
|
12
|
+
.bk-grid-col > .bk-grid-row {
|
13
|
+
margin: 0 auto;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.bk-grid-col {
|
18
|
+
position: relative;
|
19
|
+
float: left;
|
20
|
+
}
|