bkui-vue 0.0.1-beta.13 → 0.0.1-beta.130
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 +31715 -0
- package/dist/index.umd.js +171 -0
- package/dist/style.css +1 -4051
- 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 +105 -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 +24 -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 +19 -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 +24 -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 +80 -4
- package/lib/breadcrumb/index.d.ts +118 -46
- 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 +89 -47
- package/lib/button/button.variable.css +111 -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 +115 -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 +271 -0
- package/lib/cascader/cascader.less +146 -0
- package/lib/cascader/cascader.variable.css +232 -0
- package/lib/cascader/index.d.ts +721 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +44 -0
- package/lib/cascader/node.d.ts +24 -0
- package/lib/cascader/store.d.ts +15 -0
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +33 -6
- package/lib/checkbox/checkbox.d.ts +43 -32
- package/lib/checkbox/checkbox.less +44 -6
- package/lib/checkbox/checkbox.variable.css +52 -9
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +151 -105
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +4 -8
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +288 -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 +119 -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 +193 -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 +22 -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 +68 -16
- package/lib/dialog/dialog.d.ts +285 -52
- package/lib/dialog/dialog.less +43 -17
- package/lib/dialog/dialog.variable.css +68 -16
- 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 +19 -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 +29 -15
- package/lib/dropdown/dropdown.less +5 -0
- package/lib/dropdown/dropdown.variable.css +23 -3
- package/lib/dropdown/index.d.ts +112 -72
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +19 -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 +19 -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 +198 -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 +1 -1
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +462 -196
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +232 -16
- package/lib/input/input.d.ts +182 -52
- package/lib/input/input.less +182 -19
- package/lib/input/input.variable.css +248 -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 +19 -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 +196 -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 +70 -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 +22 -3
- package/lib/menu/utils.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +16 -2
- package/lib/message/message.less +18 -1
- package/lib/message/message.variable.css +35 -5
- package/lib/message/messageConstructor.d.ts +68 -20
- 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 +20 -4
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +17 -1
- package/lib/notify/notify.less +19 -1
- package/lib/notify/notify.variable.css +36 -4
- package/lib/notify/notifyConstructor.d.ts +83 -23
- 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 +281 -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 +45 -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 +127 -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.d.ts +2 -3
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +240 -0
- 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 +70 -6
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +147 -98
- 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 +12 -13
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +13 -14
- package/lib/radio/radio.variable.css +32 -17
- 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 +291 -0
- package/lib/select/common.d.ts +20 -22
- package/lib/select/index.d.ts +1062 -706
- 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 +226 -71
- package/lib/select/select.d.ts +376 -192
- package/lib/select/select.less +270 -130
- package/lib/select/select.variable.css +245 -74
- 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 +424 -80
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +48 -3
- package/lib/sideslider/sideslider.d.ts +181 -30
- package/lib/sideslider/sideslider.less +65 -6
- package/lib/sideslider/sideslider.variable.css +67 -6
- 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 +19 -3
- package/lib/steps/index.d.ts +162 -110
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +17 -3
- package/lib/steps/steps.d.ts +41 -28
- package/lib/steps/steps.less +27 -3
- package/lib/steps/steps.variable.css +36 -6
- package/lib/styles/index.d.ts +14 -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 +119 -0
- package/lib/styles/themes/themes.less +27 -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 +211 -153
- package/lib/switcher/switcher.variable.css +219 -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 +44 -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 +170 -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 +124 -0
- package/lib/table/plugins/settings.css +129 -0
- package/lib/table/plugins/settings.less +157 -0
- package/lib/table/plugins/settings.variable.css +231 -0
- package/lib/table/props.d.ts +210 -2
- package/lib/table/render.d.ts +76 -5
- package/lib/table/table.css +1089 -15
- package/lib/table/table.d.ts +221 -14
- package/lib/table/table.less +251 -24
- package/lib/table/table.variable.css +1109 -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 +116 -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 +311 -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 +337 -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 +241 -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 +278 -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 +2 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +113 -0
- package/lib/upload/upload-list.d.ts +46 -0
- package/lib/upload/upload-trigger.d.ts +54 -0
- package/lib/upload/upload.css +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 +519 -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 +135 -0
- package/lib/volar.components.d.ts +29 -0
- package/package.json +107 -84
- package/dist/bkui-vue.cjs.js +0 -9999
- package/dist/bkui-vue.esm.js +0 -9958
- package/dist/bkui-vue.umd.js +0 -10002
- package/lib/form/common.d.ts +0 -3
- package/lib/styles/index.js +0 -1
@@ -0,0 +1,193 @@
|
|
1
|
+
:root {
|
2
|
+
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
4
|
+
--primary-color: #3a84ff;
|
5
|
+
--success-color: #2dcb56;
|
6
|
+
--warning-color: #ff9c01;
|
7
|
+
--danger-color: #ea3636;
|
8
|
+
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
10
|
+
--light-gray: #c4c6cc;
|
11
|
+
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
13
|
+
--disable-color: #dcdee5;
|
14
|
+
--font-size-base: 12px;
|
15
|
+
--font-size-medium: 14px;
|
16
|
+
--font-size-large: 16px;
|
17
|
+
--line-height-base: 16px;
|
18
|
+
--line-height-medium: 16px;
|
19
|
+
--line-height-large: 18px;
|
20
|
+
--component-size-small: 26px;
|
21
|
+
--component-size-base: 32px;
|
22
|
+
--component-size-large: 40px;
|
23
|
+
--border-width-base: 1px;
|
24
|
+
--border-style-base: solid;
|
25
|
+
--border-radius-base: 2px;
|
26
|
+
--input-disabled-bg: #fafbfd;
|
27
|
+
--input-disabled-border: var(--disable-color);
|
28
|
+
--input-height-base: var(--component-size-base);
|
29
|
+
--input-color: var(--default-color);
|
30
|
+
--input-bg: white;
|
31
|
+
--input-border-color: var(--light-gray);
|
32
|
+
--input-broder-radius: 3px;
|
33
|
+
--input-shadow-color: #a3c5fd;
|
34
|
+
--input-horizontal-padding: 10px;
|
35
|
+
--input-block-color: #f5f7fa;
|
36
|
+
--input-block-hover-color: #eaebf0;
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
|
+
--input-maxlength-color: #979ba5;
|
39
|
+
--button-primary-hover-color: #5594fa;
|
40
|
+
--button-danger-hover-color: #ff5656;
|
41
|
+
--button-success-hover-color: #45e35f;
|
42
|
+
--button-warning-hover-color: #ffb848;
|
43
|
+
--button-default-hover-border-color: #979ba5;
|
44
|
+
--button-primary-active-color: #2c77f4;
|
45
|
+
--button-danger-active-color: #db2626;
|
46
|
+
--button-success-active-color: #1ab943;
|
47
|
+
--button-warning-active-color: #eb9000;
|
48
|
+
--button-selected-bg-color: #e1ecff;
|
49
|
+
--button-disabled-selected-bg-color: #f0f1f5;
|
50
|
+
--fixed-navbar-background: #fff;
|
51
|
+
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
52
|
+
--switch-default-color: #fff;
|
53
|
+
--switch-grey-color: #c4c6cc;
|
54
|
+
--breadcrumb-black-color: #979ba5;
|
55
|
+
--breadcrumb-primary-hover-color: #0082ff;
|
56
|
+
--breadcrumb-fn-main-color: #63656e;
|
57
|
+
--link-default-hover-color: #979ba5;
|
58
|
+
--link-primary-hover-color: #699df4;
|
59
|
+
--link-success-hover-color: #45e35f;
|
60
|
+
--link-warning-hover-color: #ffb848;
|
61
|
+
--link-danger-hover-color: #ff5656;
|
62
|
+
--link-default-disabled-color: #dcdee5;
|
63
|
+
--link-primary-disabled-color: #a3c5fd;
|
64
|
+
--link-success-disabled-color: #94f5a4;
|
65
|
+
--link-warning-disabled-color: #ffd695;
|
66
|
+
--link-danger-disabled-color: #fd9c9c;
|
67
|
+
--message-color: var(--default-color);
|
68
|
+
--message-primary-bg-color: #f0f8ff;
|
69
|
+
--message-primary-border-color: #e1ecff;
|
70
|
+
--message-warning-bg-color: #fff4e2;
|
71
|
+
--message-warning-border-color: #ffe8c3;
|
72
|
+
--message-success-bg-color: #f2fff4;
|
73
|
+
--message-success-border-color: #dcffe2;
|
74
|
+
--message-danger-bg-color: #ffeded;
|
75
|
+
--message-danger-border-color: #ffdddd;
|
76
|
+
--slider-default-bg: #dcdee5;
|
77
|
+
--slider-disable-bar-bg: #979ba5;
|
78
|
+
--menu-bg-color: #182132;
|
79
|
+
--submenu-bg-color: #151d2c;
|
80
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
81
|
+
--menu-color: #96a2b9;
|
82
|
+
--menu-group-color: var(--default-color);
|
83
|
+
--menu-width: 260px;
|
84
|
+
--menu-collapse-width: 60px;
|
85
|
+
--menu-active-color: white;
|
86
|
+
--nav-header-bg-color: #182132;
|
87
|
+
--nav-bg-color: #182132;
|
88
|
+
--date-picker-disabled-bg: #fafbfd;
|
89
|
+
--date-picker-dropdown-mb: 4px;
|
90
|
+
--date-picker-dropdown-bg: #fff;
|
91
|
+
--table-bg-color: var(--white-color);
|
92
|
+
--table-border-color: #dcdee5;
|
93
|
+
--table-head-bg-color: #fafbfd;
|
94
|
+
--table-head-font-color: #313238;
|
95
|
+
--table-body-font-color: #575961;
|
96
|
+
--table-row-hover-bg-color: #f5f7fa;
|
97
|
+
--table-row-active-bg-color: #f0f1f5;
|
98
|
+
--cascader-panel-border-color: #dcdee5;
|
99
|
+
--cascader-panel-hover: #eaf3ff;
|
100
|
+
--cascader-panel-active: #f4f6fa;
|
101
|
+
--cascader-panel-disabled-bg: #fff;
|
102
|
+
}
|
103
|
+
@keyframes loading-scale-animate {
|
104
|
+
0% {
|
105
|
+
transform: scale(1);
|
106
|
+
}
|
107
|
+
100% {
|
108
|
+
transform: scale(0.6);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
@keyframes fade {
|
112
|
+
100% {
|
113
|
+
background-color: transparent;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
.bk-fade-transtion .bk-fade-enter-active,
|
117
|
+
.bk-fade-transtion .bk-fade-leave-active {
|
118
|
+
transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
|
119
|
+
}
|
120
|
+
.bk-fade-transtion .bk-fade-enter,
|
121
|
+
.bk-fade-transtion .bk-fade-leave-to {
|
122
|
+
opacity: 0;
|
123
|
+
}
|
124
|
+
.clearfix-style::after {
|
125
|
+
display: block;
|
126
|
+
height: 0;
|
127
|
+
clear: both;
|
128
|
+
font-size: 0;
|
129
|
+
content: '';
|
130
|
+
visibility: hidden;
|
131
|
+
}
|
132
|
+
.bk-popper {
|
133
|
+
display: none;
|
134
|
+
padding: 7px 14px;
|
135
|
+
font-size: 12px;
|
136
|
+
color: #fff;
|
137
|
+
background: #333;
|
138
|
+
border-radius: 4px;
|
139
|
+
}
|
140
|
+
.bk-popper.light {
|
141
|
+
color: #63656e;
|
142
|
+
background: #fff;
|
143
|
+
box-shadow: #dcdee5 0px 0px 6px 0px;
|
144
|
+
}
|
145
|
+
.bk-popper .bk-popper-arrow,
|
146
|
+
.bk-popper .bk-popper-arrow::before {
|
147
|
+
position: absolute;
|
148
|
+
width: 8px;
|
149
|
+
height: 8px;
|
150
|
+
background: inherit;
|
151
|
+
}
|
152
|
+
.bk-popper .bk-popper-arrow {
|
153
|
+
visibility: hidden;
|
154
|
+
}
|
155
|
+
.bk-popper .bk-popper-arrow::before {
|
156
|
+
content: '';
|
157
|
+
visibility: visible;
|
158
|
+
transform: rotate(45deg);
|
159
|
+
}
|
160
|
+
.bk-popper[data-show] {
|
161
|
+
display: block;
|
162
|
+
}
|
163
|
+
.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
|
164
|
+
bottom: -4px;
|
165
|
+
}
|
166
|
+
.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
|
167
|
+
top: -4px;
|
168
|
+
}
|
169
|
+
.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
|
170
|
+
right: -4px;
|
171
|
+
}
|
172
|
+
.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
|
173
|
+
left: -4px;
|
174
|
+
}
|
175
|
+
.bk-grid-container {
|
176
|
+
margin-right: auto;
|
177
|
+
margin-left: auto;
|
178
|
+
}
|
179
|
+
.bk-grid-row::after {
|
180
|
+
display: block;
|
181
|
+
height: 0;
|
182
|
+
clear: both;
|
183
|
+
font-size: 0;
|
184
|
+
content: '';
|
185
|
+
visibility: hidden;
|
186
|
+
}
|
187
|
+
.bk-grid-row .bk-grid-col > .bk-grid-row {
|
188
|
+
margin: 0 auto;
|
189
|
+
}
|
190
|
+
.bk-grid-col {
|
191
|
+
position: relative;
|
192
|
+
float: left;
|
193
|
+
}
|
@@ -0,0 +1,223 @@
|
|
1
|
+
import Col from './col';
|
2
|
+
import Row from './row';
|
3
|
+
declare const BkContainer: {
|
4
|
+
new (...args: any[]): {
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
6
|
+
$data: {};
|
7
|
+
$props: Partial<{
|
8
|
+
col: number;
|
9
|
+
extCls: string;
|
10
|
+
flex: boolean;
|
11
|
+
margin: number;
|
12
|
+
gutter: number;
|
13
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
14
|
+
col: import("vue-types").VueTypeValidableDef<number> & {
|
15
|
+
default: number;
|
16
|
+
} & {
|
17
|
+
default: number;
|
18
|
+
};
|
19
|
+
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
20
|
+
default: number;
|
21
|
+
} & {
|
22
|
+
default: number;
|
23
|
+
};
|
24
|
+
margin: import("vue-types").VueTypeValidableDef<number> & {
|
25
|
+
default: number;
|
26
|
+
} & {
|
27
|
+
default: number;
|
28
|
+
};
|
29
|
+
flex: import("vue-types").VueTypeValidableDef<boolean> & {
|
30
|
+
default: boolean;
|
31
|
+
} & {
|
32
|
+
default: boolean;
|
33
|
+
};
|
34
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
35
|
+
default: string;
|
36
|
+
};
|
37
|
+
}>> & {
|
38
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
39
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "col" | "extCls" | "flex" | "margin" | "gutter">;
|
40
|
+
$attrs: {
|
41
|
+
[x: string]: unknown;
|
42
|
+
};
|
43
|
+
$refs: {
|
44
|
+
[x: string]: unknown;
|
45
|
+
};
|
46
|
+
$slots: Readonly<{
|
47
|
+
[name: string]: import("vue").Slot;
|
48
|
+
}>;
|
49
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
50
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
51
|
+
$emit: (event: any, ...args: any[]) => void;
|
52
|
+
$el: any;
|
53
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
54
|
+
col: import("vue-types").VueTypeValidableDef<number> & {
|
55
|
+
default: number;
|
56
|
+
} & {
|
57
|
+
default: number;
|
58
|
+
};
|
59
|
+
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
60
|
+
default: number;
|
61
|
+
} & {
|
62
|
+
default: number;
|
63
|
+
};
|
64
|
+
margin: import("vue-types").VueTypeValidableDef<number> & {
|
65
|
+
default: number;
|
66
|
+
} & {
|
67
|
+
default: number;
|
68
|
+
};
|
69
|
+
flex: import("vue-types").VueTypeValidableDef<boolean> & {
|
70
|
+
default: boolean;
|
71
|
+
} & {
|
72
|
+
default: boolean;
|
73
|
+
};
|
74
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
}>> & {
|
78
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
79
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], string, {
|
80
|
+
col: number;
|
81
|
+
extCls: string;
|
82
|
+
flex: boolean;
|
83
|
+
margin: number;
|
84
|
+
gutter: number;
|
85
|
+
}> & {
|
86
|
+
beforeCreate?: (() => void) | (() => void)[];
|
87
|
+
created?: (() => void) | (() => void)[];
|
88
|
+
beforeMount?: (() => void) | (() => void)[];
|
89
|
+
mounted?: (() => void) | (() => void)[];
|
90
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
91
|
+
updated?: (() => void) | (() => void)[];
|
92
|
+
activated?: (() => void) | (() => void)[];
|
93
|
+
deactivated?: (() => void) | (() => void)[];
|
94
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
95
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
96
|
+
destroyed?: (() => void) | (() => void)[];
|
97
|
+
unmounted?: (() => void) | (() => void)[];
|
98
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
99
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
100
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
101
|
+
};
|
102
|
+
$forceUpdate: () => void;
|
103
|
+
$nextTick: typeof import("vue").nextTick;
|
104
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
105
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
106
|
+
col: import("vue-types").VueTypeValidableDef<number> & {
|
107
|
+
default: number;
|
108
|
+
} & {
|
109
|
+
default: number;
|
110
|
+
};
|
111
|
+
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
112
|
+
default: number;
|
113
|
+
} & {
|
114
|
+
default: number;
|
115
|
+
};
|
116
|
+
margin: import("vue-types").VueTypeValidableDef<number> & {
|
117
|
+
default: number;
|
118
|
+
} & {
|
119
|
+
default: number;
|
120
|
+
};
|
121
|
+
flex: import("vue-types").VueTypeValidableDef<boolean> & {
|
122
|
+
default: boolean;
|
123
|
+
} & {
|
124
|
+
default: boolean;
|
125
|
+
};
|
126
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
127
|
+
default: string;
|
128
|
+
};
|
129
|
+
}>> & {
|
130
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
131
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
132
|
+
__isFragment?: never;
|
133
|
+
__isTeleport?: never;
|
134
|
+
__isSuspense?: never;
|
135
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
136
|
+
col: import("vue-types").VueTypeValidableDef<number> & {
|
137
|
+
default: number;
|
138
|
+
} & {
|
139
|
+
default: number;
|
140
|
+
};
|
141
|
+
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
142
|
+
default: number;
|
143
|
+
} & {
|
144
|
+
default: number;
|
145
|
+
};
|
146
|
+
margin: import("vue-types").VueTypeValidableDef<number> & {
|
147
|
+
default: number;
|
148
|
+
} & {
|
149
|
+
default: number;
|
150
|
+
};
|
151
|
+
flex: import("vue-types").VueTypeValidableDef<boolean> & {
|
152
|
+
default: boolean;
|
153
|
+
} & {
|
154
|
+
default: boolean;
|
155
|
+
};
|
156
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
157
|
+
default: string;
|
158
|
+
};
|
159
|
+
}>> & {
|
160
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
161
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, {
|
162
|
+
col: number;
|
163
|
+
extCls: string;
|
164
|
+
flex: boolean;
|
165
|
+
margin: number;
|
166
|
+
gutter: number;
|
167
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
168
|
+
Row: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
169
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
170
|
+
}, {}>;
|
171
|
+
Col: import("vue").DefineComponent<{
|
172
|
+
span: import("vue-types").VueTypeValidableDef<number> & {
|
173
|
+
default: number;
|
174
|
+
} & {
|
175
|
+
default: number;
|
176
|
+
};
|
177
|
+
offset: import("vue-types").VueTypeValidableDef<number> & {
|
178
|
+
default: number;
|
179
|
+
} & {
|
180
|
+
default: number;
|
181
|
+
};
|
182
|
+
pull: import("vue-types").VueTypeValidableDef<number> & {
|
183
|
+
default: number;
|
184
|
+
} & {
|
185
|
+
default: number;
|
186
|
+
};
|
187
|
+
push: import("vue-types").VueTypeValidableDef<number> & {
|
188
|
+
default: number;
|
189
|
+
} & {
|
190
|
+
default: number;
|
191
|
+
};
|
192
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
193
|
+
span: import("vue-types").VueTypeValidableDef<number> & {
|
194
|
+
default: number;
|
195
|
+
} & {
|
196
|
+
default: number;
|
197
|
+
};
|
198
|
+
offset: import("vue-types").VueTypeValidableDef<number> & {
|
199
|
+
default: number;
|
200
|
+
} & {
|
201
|
+
default: number;
|
202
|
+
};
|
203
|
+
pull: import("vue-types").VueTypeValidableDef<number> & {
|
204
|
+
default: number;
|
205
|
+
} & {
|
206
|
+
default: number;
|
207
|
+
};
|
208
|
+
push: import("vue-types").VueTypeValidableDef<number> & {
|
209
|
+
default: number;
|
210
|
+
} & {
|
211
|
+
default: number;
|
212
|
+
};
|
213
|
+
}>> & {
|
214
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
215
|
+
}, {
|
216
|
+
span: number;
|
217
|
+
offset: number;
|
218
|
+
push: number;
|
219
|
+
pull: number;
|
220
|
+
}>;
|
221
|
+
}>;
|
222
|
+
export default BkContainer;
|
223
|
+
export { BkContainer, Row as BkRow, Col as BkCol, };
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue")):r(e["../shared"],e.vue);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r)=>(()=>{"use strict";var t={4212:r=>{r.exports=e},748:e=>{e.exports=r}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var u=o[e]={exports:{}};return t[e](u,u.exports,n),u.exports}n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{n.r(u),n.d(u,{BkCol:()=>o,BkContainer:()=>p,BkRow:()=>l,default:()=>s});var e=n(4212),r=n(748),t={span:e.PropTypes.number.def(1),offset:e.PropTypes.number.def(0),pull:e.PropTypes.number.def(0),push:e.PropTypes.number.def(0)};const o=(0,r.defineComponent)({name:"Col",props:t,emits:[],setup:function(e,t){var o=(0,r.inject)("containerProps"),n=o.col,u=o.gutter,i=o.flex,a=e.span,l=e.offset,p=e.pull,s=e.push,c=(0,r.computed)((function(){return a||n}));(0,r.provide)("containerProps",{col:c.value,gutter:u,flex:i});var d=function(e){return"".concat(Number((100*e).toFixed(3)),"%")},f=(0,r.computed)((function(){return{width:d(c.value/n),"padding-right":"".concat(u/2,"px"),"padding-left":"".concat(u/2,"px"),"margin-left":l?d(l/n):null,right:p?d(p/n):null,left:s?d(s/n):null}}));return function(){var e,o;return(0,r.createVNode)("div",{class:"bk-grid-col",style:f.value},[null===(o=(e=t.slots).default)||void 0===o?void 0:o.call(e)])}}});var i={col:e.PropTypes.number.def(24),gutter:e.PropTypes.number.def(20),margin:e.PropTypes.number.def(20),flex:e.PropTypes.bool.def(!1),extCls:e.PropTypes.string};const a=(0,r.defineComponent)({name:"Container",props:i,emits:[],setup:function(e,t){var o=e.col,n=e.gutter,u=e.flex,i=e.extCls;(0,r.provide)("containerProps",{col:o,gutter:n,flex:u});var a=(0,r.computed)((function(){return i?"bk-grid-container ".concat(i):"bk-grid-container"})),l=(0,r.computed)((function(){var r=e.margin;return{"padding-right":"".concat(r,"px"),"padding-left":"".concat(r,"px")}}));return function(){var e,o;return(0,r.createVNode)("div",{class:a.value,style:l.value},[null===(o=(e=t.slots).default)||void 0===o?void 0:o.call(e)])}}}),l=(0,r.defineComponent)({name:"Row",emits:[],setup:function(e,t){var o=(0,r.inject)("containerProps"),n=o.col,u=o.gutter,i=o.flex;(0,r.provide)("containerProps",{col:n,gutter:u,flex:i});var a=(0,r.computed)((function(){var e=i?{display:["-webkit-box","-ms-flexbox","flex"]}:{};return Object.assign(Object.assign({},e),{"margin-right":"-".concat(u/2,"px"),"margin-left":"-".concat(u/2,"px")})}));return function(){var e,o;return(0,r.createVNode)("div",{class:"bk-grid-row",style:a.value},[null===(o=(e=t.slots).default)||void 0===o?void 0:o.call(e)])}}});var p=(0,e.withInstallProps)(a,{Row:l,Col:o});const s=p})(),u})()));
|
@@ -0,0 +1,4 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
2
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
3
|
+
}, {}>;
|
4
|
+
export default _default;
|
@@ -27,6 +27,7 @@
|
|
27
27
|
border: 1px solid #c4c6cc;
|
28
28
|
border-radius: 2px;
|
29
29
|
outline: none;
|
30
|
+
box-sizing: border-box;
|
30
31
|
}
|
31
32
|
.bk-date-picker-rel .bk-date-picker-editor.only-bottom-border {
|
32
33
|
border-color: transparent transparent #c4c6cc transparent;
|
@@ -63,12 +64,12 @@
|
|
63
64
|
}
|
64
65
|
.bk-date-picker-rel .clear-action {
|
65
66
|
position: absolute;
|
66
|
-
top:
|
67
|
+
top: 0;
|
67
68
|
right: 10px;
|
69
|
+
padding: 5px 0;
|
68
70
|
font-size: 14px;
|
69
71
|
color: #c4c6cc;
|
70
72
|
cursor: pointer;
|
71
|
-
transform: translateY(-50%);
|
72
73
|
}
|
73
74
|
.bk-date-picker-rel .clear-action:hover {
|
74
75
|
color: #979ba5;
|