bkui-vue 0.0.1-beta.7 → 0.0.1-beta.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -19
- package/dist/index.cjs.js +57 -0
- package/dist/index.esm.js +23860 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2312
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +102 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +2 -0
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.less +2 -0
- package/lib/alert/alert.variable.css +40 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +38 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +64 -22
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +43 -5
- package/lib/badge/index.d.ts +267 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +18 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +56 -1
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +64 -31
- package/lib/button/button.d.ts +66 -30
- package/lib/button/button.less +53 -33
- package/lib/button/button.variable.css +102 -31
- package/lib/button/index.d.ts +237 -0
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +53 -1
- package/lib/card/card.d.ts +74 -18
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +91 -1
- package/lib/card/index.d.ts +283 -0
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +48 -0
- package/lib/cascader/cascader.css +130 -0
- package/lib/cascader/cascader.d.ts +271 -0
- package/lib/cascader/cascader.less +146 -0
- package/lib/cascader/cascader.variable.css +229 -0
- package/lib/cascader/index.d.ts +721 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +44 -0
- package/lib/cascader/node.d.ts +24 -0
- package/lib/cascader/store.d.ts +15 -0
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +15 -2
- package/lib/checkbox/checkbox.d.ts +33 -30
- package/lib/checkbox/checkbox.less +20 -2
- package/lib/checkbox/checkbox.variable.css +53 -2
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +253 -0
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +4 -8
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +285 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +25 -1
- package/lib/collapse/collapse.d.ts +51 -22
- package/lib/collapse/collapse.less +34 -2
- package/lib/collapse/collapse.variable.css +124 -1
- package/lib/collapse/index.d.ts +182 -0
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/components.d.ts +46 -0
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +48 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +147 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/date-picker.css +408 -0
- package/lib/date-picker/date-picker.d.ts +311 -0
- package/lib/date-picker/date-picker.less +527 -0
- package/lib/date-picker/date-picker.variable.css +507 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +750 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +118 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +49 -0
- package/lib/dialog/dialog.d.ts +294 -52
- package/lib/dialog/dialog.less +16 -0
- package/lib/dialog/dialog.variable.css +49 -0
- package/lib/dialog/index.d.ts +749 -0
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -23
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +137 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +47 -0
- package/lib/dropdown/dropdown.d.ts +63 -0
- package/lib/dropdown/dropdown.less +59 -0
- package/lib/dropdown/dropdown.variable.css +146 -0
- package/lib/dropdown/index.d.ts +200 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +38 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +38 -0
- package/lib/fixed-navbar/index.d.ts +147 -0
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/common.d.ts +3 -0
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +155 -0
- package/lib/form/form.css +125 -0
- package/lib/form/form.d.ts +67 -0
- package/lib/form/form.less +152 -0
- package/lib/form/form.variable.css +224 -0
- package/lib/form/index.d.ts +280 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +22 -0
- package/lib/form/validator.d.ts +8 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.d.ts +4 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.d.ts +4 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +1 -0
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.d.ts +4 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- package/lib/icon/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.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.d.ts +69 -0
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.d.ts +4 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +541 -0
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +78 -4
- package/lib/input/input.d.ts +178 -48
- package/lib/input/input.less +89 -8
- package/lib/input/input.variable.css +117 -4
- package/lib/link/index.d.ts +164 -0
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +38 -0
- package/lib/loading/index.d.ts +172 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +121 -75
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +78 -60
- package/lib/loading/loading.variable.css +159 -75
- package/lib/menu/index.d.ts +188 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +190 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +289 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +102 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +62 -0
- package/lib/message/message.less +72 -0
- package/lib/message/message.variable.css +161 -0
- package/lib/message/messageConstructor.d.ts +106 -0
- package/lib/modal/index.d.ts +627 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +30 -1
- package/lib/modal/modal.d.ts +204 -24
- package/lib/modal/modal.less +39 -1
- package/lib/modal/modal.variable.css +30 -1
- package/lib/modal/props.mixin.d.ts +87 -10
- package/lib/navigation/index.d.ts +292 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +111 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +283 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +65 -0
- package/lib/notify/notify.less +76 -0
- package/lib/notify/notify.variable.css +164 -0
- package/lib/notify/notifyConstructor.d.ts +135 -0
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +278 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +364 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +26 -14
- package/lib/popover/popover.d.ts +111 -45
- package/lib/popover/popover.less +59 -46
- package/lib/popover/popover.variable.css +64 -14
- package/lib/popover/props.d.ts +99 -0
- package/lib/preset.d.ts +7 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +237 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +8 -3
- package/lib/progress/progress.d.ts +88 -35
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +46 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +278 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +29 -20
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +14 -8
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +16 -9
- package/lib/radio/radio.variable.css +53 -9
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +113 -0
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +189 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +288 -0
- package/lib/select/common.d.ts +23 -17
- package/lib/select/index.d.ts +1377 -0
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +12 -19
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +245 -29
- package/lib/select/select.d.ts +282 -156
- package/lib/select/select.less +237 -40
- package/lib/select/select.variable.css +283 -29
- package/lib/select/type.d.ts +31 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +71 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +60 -6
- package/lib/shared/token.d.ts +2 -0
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +12 -7
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +531 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +48 -3
- package/lib/sideslider/sideslider.d.ts +205 -30
- package/lib/sideslider/sideslider.less +65 -6
- package/lib/sideslider/sideslider.variable.css +86 -3
- package/lib/slider/index.d.ts +440 -0
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +80 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +248 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +4 -1
- package/lib/steps/steps.d.ts +42 -29
- package/lib/steps/steps.less +5 -1
- package/lib/steps/steps.variable.css +42 -1
- package/lib/styles/index.d.ts +51 -0
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +8 -0
- package/lib/styles/mixins/mixins.less +1 -0
- package/lib/styles/mixins/mixins.variable.css +8 -0
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +60 -2
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +286 -0
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +157 -135
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.less +211 -153
- package/lib/switcher/switcher.variable.css +195 -135
- package/lib/tab/index.d.ts +440 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +169 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +167 -0
- package/lib/tab/tab.d.ts +139 -0
- package/lib/tab/tab.less +228 -0
- package/lib/tab/tab.variable.css +266 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +359 -0
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +83 -0
- package/lib/table/plugins/head-filter.variable.css +167 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/lib/table/plugins/head-sort.less +28 -0
- package/lib/table/plugins/head-sort.variable.css +121 -0
- package/lib/table/plugins/settings.css +110 -0
- package/lib/table/plugins/settings.less +136 -0
- package/lib/table/plugins/settings.variable.css +209 -0
- package/lib/table/props.d.ts +189 -0
- package/lib/table/render.d.ts +121 -0
- package/lib/table/table.css +387 -0
- package/lib/table/table.d.ts +114 -36
- package/lib/table/table.less +229 -1
- package/lib/table/table.variable.css +425 -0
- package/lib/table/use-common.d.ts +19 -0
- package/lib/table/utils.d.ts +93 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.less +110 -2
- package/lib/tag/tag.variable.css +135 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +894 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +209 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +251 -0
- package/lib/tag-input/tag-input.variable.css +308 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +334 -0
- package/lib/transfer/index.d.ts +351 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/transfer.css +158 -0
- package/lib/transfer/transfer.d.ts +185 -0
- package/lib/transfer/transfer.less +171 -0
- package/lib/transfer/transfer.variable.css +257 -0
- package/lib/tree/constant.d.ts +31 -0
- package/lib/tree/index.d.ts +426 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +149 -0
- package/lib/tree/tree.css +53 -0
- package/lib/tree/tree.d.ts +182 -0
- package/lib/tree/tree.less +66 -0
- package/lib/tree/tree.variable.css +152 -0
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +11 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +22 -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 +13 -0
- package/lib/tree/util.d.ts +66 -0
- package/lib/upload/index.d.ts +2 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +113 -0
- package/lib/upload/upload-list.d.ts +46 -0
- package/lib/upload/upload-trigger.d.ts +54 -0
- package/lib/upload/upload.css +374 -0
- package/lib/upload/upload.d.ts +252 -0
- package/lib/upload/upload.less +455 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +473 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +579 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +167 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +6 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +255 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +107 -78
- package/dist/bkui-vue.cjs.js +0 -4978
- package/dist/bkui-vue.esm.js +0 -4974
- package/dist/bkui-vue.umd.js +0 -4981
- package/lib/styles/index.js +0 -1
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
package/lib/dialog/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,
|
1
|
+
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"),require("../button"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../modal"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue"),require("../button"),require("../modal")):o(e["../shared"],e.vue,e["../button"],e["../modal"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(self,((e,o,t,n)=>(()=>{"use strict";var r={4976:e=>{e.exports=t},8014:e=>{e.exports=n},4212:o=>{o.exports=e},748:e=>{e.exports=o}},i={};function l(e){var o=i[e];if(void 0!==o)return o.exports;var t=i[e]={exports:{}};return r[e](t,t.exports,l),t.exports}l.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return l.d(o,{a:o}),o},l.d=(e,o)=>{for(var t in o)l.o(o,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},l.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{l.r(a),l.d(a,{default:()=>c});var e=l(4212),o=l(748),t=l(4976),n=l.n(t),r=l(8014),i=l.n(r);const d=(0,o.defineComponent)({name:"Dialog",components:{BkModal:i(),BkButton:n()},props:Object.assign(Object.assign({},r.propsMixin),{width:e.PropTypes.oneOfType([String,Number]).def(""),height:e.PropTypes.oneOfType([String,Number]).def(""),confirmText:e.PropTypes.string.def("确定"),cancelText:e.PropTypes.string.def("取消"),prevText:e.PropTypes.string.def("上一步"),nextText:e.PropTypes.string.def("下一步"),current:e.PropTypes.number.def(1),totalStep:e.PropTypes.number,title:e.PropTypes.string.def("title"),headerAlign:e.PropTypes.commonType(["left","center","right"],"headerAlign").def("left"),footerAlign:e.PropTypes.commonType(["left","center","right"],"footerAlign").def("right"),theme:e.PropTypes.commonType(["primary","warning","success","danger"],"theme").def("primary"),dialogType:e.PropTypes.commonType(["show","operation","confirm","process"],"dialogType").def("operation"),isLoading:e.PropTypes.bool.def(!1)}),emits:["closed","update:isShow","confirm","prev","next"],setup:function(e,t){var n=t.emit,r=(0,o.reactive)({positionX:0,positionY:0,moveStyle:{top:"",left:""}});(0,o.onMounted)((function(){e.escClose&&addEventListener("keydown",l)})),(0,o.onBeforeUnmount)((function(){e.escClose&&removeEventListener("keydown",l)})),(0,o.watch)((function(){return e.isShow}),(function(e){e||(r.moveStyle={top:"50%",left:"50%"},r.positionX=0,r.positionY=0)}));var i=function(){n("update:isShow",!1),n("closed")},l=function(o){e.isShow&&e.closeIcon&&27===o.keyCode&&i()};return{data:r,handleClose:i,handleConfirm:function(){n("update:isShow",!1),n("confirm")},escCloseHandler:l,moveHandler:function(o){if(e.fullscreen)return!1;var t,n,i=o.target,l=o.currentTarget.parentNode.parentNode.offsetHeight,a=o.currentTarget.parentNode.parentNode.offsetWidth;0!==r.positionX&&0!==r.positionY?(t=o.clientX-r.positionX,n=o.clientY-r.positionY):(t=o.clientX-i.offsetLeft,n=o.clientY-i.offsetTop),document.onmousemove=function(e){var o=window.innerWidth-a,i=window.innerHeight-l,d=e.clientX-t,c=e.clientY-n;o/2-d<=0?d=o/2:o/2+d<=0&&(d=-o/2),i/2-c<=0?c=i/2:i/2+c<=0&&(c=-i/2),r.positionX=d,r.positionY=c,r.moveStyle.left="calc(50% + ".concat(d,"px)"),r.moveStyle.top="calc(50% + ".concat(c,"px)")},document.onmouseup=function(){document.onmousemove=null,document.onmouseup=null}},handlePrevStep:function(){n("prev")},handleNextStep:function(){n("next")}}},render:function(){var e,t=this,r={header:function(){var e,n,r;return[(0,o.createVNode)("div",{class:["bk-dialog-tool",t.fullscreen||!t.draggable?"":"move",t.draggable?"content-dragging":""],onMousedown:t.moveHandler},[(0,o.createVNode)("span",{class:["bk-dialog-close",t.closeIcon?"":"close-icon"],onClick:t.handleClose},[(0,o.createTextVNode)("+")])]),(0,o.createVNode)("div",{class:"bk-dialog-header"},[(0,o.createVNode)("span",{class:"bk-dialog-title",style:"text-align: ".concat(t.headerAlign)},[null!==(r=null===(n=(e=t.$slots).header)||void 0===n?void 0:n.call(e))&&void 0!==r?r:t.title])])]},default:function(){var e,o,n;return null!==(n=null===(o=(e=t.$slots).default)||void 0===o?void 0:o.call(e))&&void 0!==n?n:"default"},footer:function(){var e,r,i,l,a,d,c,s,u;return(0,o.createVNode)("div",{class:"bk-dialog-footer",style:"text-align: ".concat(t.footerAlign)},["process"===t.dialogType?null!==(i=null===(r=(e=t.$slots).footer)||void 0===r?void 0:r.call(e))&&void 0!==i?i:(0,o.createVNode)(o.Fragment,null,[1===t.current?"":(0,o.createVNode)(n(),{style:"float: left;margin-right: 8px",onClick:t.handlePrevStep},{default:function(){return[t.prevText]}}),t.current===t.totalStep?"":(0,o.createVNode)(n(),{style:"float: left",onClick:t.handleNextStep},{default:function(){return[t.nextText]}}),t.current===t.totalStep?(0,o.createVNode)(n(),{onClick:t.handleConfirm,theme:t.theme,loading:t.isLoading},{default:function(){return[t.confirmText]}}):"",(0,o.createVNode)(n(),{style:"margin-left: 8px",onClick:t.handleClose},{default:function(){return[t.cancelText]}})]):"","operation"===t.dialogType?null!==(d=null===(a=(l=t.$slots).footer)||void 0===a?void 0:a.call(l))&&void 0!==d?d:(0,o.createVNode)(o.Fragment,null,[(0,o.createVNode)(n(),{onClick:t.handleConfirm,theme:t.theme,loading:t.isLoading},{default:function(){return[t.confirmText]}}),(0,o.createVNode)(n(),{style:"margin-left: 8px",onClick:t.handleClose},{default:function(){return[t.cancelText]}})]):"","confirm"===t.dialogType?null!==(u=null===(s=(c=t.$slots).footer)||void 0===s?void 0:s.call(c))&&void 0!==u?u:(0,o.createVNode)(o.Fragment,null,[(0,o.createVNode)(n(),{onClick:t.handleConfirm,theme:t.theme,loading:t.isLoading},{default:function(){return[t.confirmText]}})]):""])}},l="bk-dialog-wrapper ".concat(this.scrollable?"scroll-able":"");return(0,o.createVNode)(i(),(0,o.mergeProps)(this.$props,{class:[l,this.fullscreen?"bk-model-fullscreen":this.size],style:this.data.moveStyle}),"function"==typeof(e=r)||"[object Object]"===Object.prototype.toString.call(e)&&!(0,o.isVNode)(e)?r:{default:function(){return[r]}})}}),c=(0,e.withInstall)(d)})(),a})()));
|
@@ -1,23 +1,3 @@
|
|
1
|
-
import { ObjectDirective } from 'vue';
|
2
|
-
|
3
|
-
|
4
|
-
capture: boolean;
|
5
|
-
disabled: boolean;
|
6
|
-
events: string[];
|
7
|
-
detectIframe: boolean;
|
8
|
-
exclude: Node[];
|
9
|
-
}
|
10
|
-
export interface IEventData {
|
11
|
-
el: HTMLElement;
|
12
|
-
event: Event;
|
13
|
-
handler: Function;
|
14
|
-
disabled: boolean;
|
15
|
-
}
|
16
|
-
export interface IEventConfig {
|
17
|
-
event: string;
|
18
|
-
target: HTMLElement | Window;
|
19
|
-
capture: boolean;
|
20
|
-
handler: (event: Event) => any;
|
21
|
-
}
|
22
|
-
declare const clickoutside: ObjectDirective;
|
23
|
-
export default clickoutside;
|
1
|
+
import type { ObjectDirective } from 'vue';
|
2
|
+
declare const ClickOutside: ObjectDirective;
|
3
|
+
export default ClickOutside;
|
package/lib/directives/index.js
CHANGED
@@ -1,15 +1,2 @@
|
|
1
|
-
|
2
|
-
/**
|
3
|
-
* Checks if an event is supported in the current execution environment.
|
4
|
-
*
|
5
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
6
|
-
* `reset`, `load`, `error`, and `select`.
|
7
|
-
*
|
8
|
-
* Borrows from Modernizr.
|
9
|
-
*
|
10
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
11
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
12
|
-
* @return {boolean} True if the event is supported.
|
13
|
-
* @internal
|
14
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
15
|
-
*/;var N=M,F=function(e,n){if(!E.canUseDOM||n&&!("addEventListener"in document))return!1;var t="on"+e,a=t in document;if(!a){var i=document.createElement("div");i.setAttribute(t,"return;"),a="function"==typeof i[t]}return!a&&x&&"wheel"===e&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a};function O(e){var n=0,t=0,a=0,i=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(n=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(n=t,t=0),a=10*n,i=10*t,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||i)&&e.deltaMode&&(1==e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!n&&(n=a<1?-1:1),i&&!t&&(t=i<1?-1:1),{spinX:n,spinY:t,pixelX:a,pixelY:i}}O.getEventType=function(){return N.firefox()?"DOMMouseScroll":F("wheel")?"wheel":"mousewheel"};var y=O,D="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,A={beforeMount:function(e,n){var t,a;console.error(e,n),t=e,a=n.value,(null==t?void 0:t.addEventListener)&&t.addEventListener(D?"DOMMouseScroll":"mousewheel",(function(e){var n=y(e);null==a||a.apply(this,[e,n])}))}},L=new Map;function X(e){var n={handler:function(){},capture:!0,disabled:!1,detectIframe:!0,exclude:[],events:"ontouchstart"in window||(null===navigator||void 0===navigator?void 0:navigator.msMaxTouchPoints)>0?["ontouchstart"]:["click"]};return"function"==typeof e?(n.handler=e,n):Object.assign({},n)}function k(e){var n=document.activeElement,t=e.el,a=e.handler,i=e.disabled;!n||"IFRAME"!==n.tagName||t.contains(n)||i||a(event)}function I(e,n){var t=n.events.map((function(t){return{event:t,target:document.documentElement,capture:n.capture,handler:function(t){return function(e){var n,t=e.el,a=e.event,i=e.handler,r=e.disabled,o=null===(n=a.composedPath)||void 0===n?void 0:n.call(a);(o?o.indexOf(t)<0:!t.contains(a.target))&&!r&&i(a)}({el:e,event:t,handler:n.handler,disabled:n.disabled})}}}));return n.detectIframe&&t.push({event:"blur",target:window,capture:n.capture,handler:function(t){return k({el:e,event:t,handler:n.handler,disabled:n.disabled})}}),t}function P(e){var n;(null!==(n=L.get(e))&&void 0!==n?n:[]).forEach((function(e){var n=e.target,t=e.event,a=e.handler,i=e.capture;n.removeEventListener(t,a,i)})),L.delete(e)}var T={beforeMount:function(e,n){var t=X(n.value);t.disabled||L.set(e,I(e,t))},updated:function(e,n){var t=X(n.value);t.disabled&&!L.has(e)||function(e,n){L.has(e)&&P(e);var t=I(e,n);L.set(e,t),t.forEach((function(e){var n=e.target,t=e.event,a=e.handler,i=e.capture;n.addEventListener(t,a,i)}))}(e,t)},unmounted:function(e){P(e)}};e.clickoutside=T,e.mousewheel=A,Object.defineProperty(e,"__esModule",{value:!0})}));
|
1
|
+
/*! For license information please see index.js.LICENSE.txt */
|
2
|
+
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("../shared"),require("@popperjs/core"));else if("function"==typeof define&&define.amd)define(["../shared","@popperjs/core"],n);else{var t="object"==typeof exports?n(require("../shared"),require("@popperjs/core")):n(e["../shared"],e["@popperjs/core"]);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(self,((e,n)=>(()=>{var t={1147:(e,n,t)=>{"use strict";var r=t(9601),o=t.n(r),i=t(2609);t.n(i)()(o()).push([e.id,".bk-popper {\n display: none;\n padding: 7px 14px;\n font-size: 12px;\n color: #fff;\n background: #333;\n border-radius: 4px;\n}\n.bk-popper.light {\n color: #63656e;\n background: #fff;\n box-shadow: #dcdee5 0px 0px 6px 0px;\n}\n.bk-popper .bk-popper-arrow,\n.bk-popper .bk-popper-arrow::before {\n position: absolute;\n width: 8px;\n height: 8px;\n background: inherit;\n}\n.bk-popper .bk-popper-arrow {\n visibility: hidden;\n}\n.bk-popper .bk-popper-arrow::before {\n content: '';\n visibility: visible;\n transform: rotate(45deg);\n}\n.bk-popper[data-show] {\n display: block;\n}\n.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {\n bottom: -4px;\n}\n.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {\n top: -4px;\n}\n.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {\n right: -4px;\n}\n.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {\n left: -4px;\n}\n",""])},2609:e=>{"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t="",r=void 0!==n[5];return n[4]&&(t+="@supports (".concat(n[4],") {")),n[2]&&(t+="@media ".concat(n[2]," {")),r&&(t+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),t+=e(n),r&&(t+="}"),n[2]&&(t+="}"),n[4]&&(t+="}"),t})).join("")},n.i=function(e,t,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var u=this[c][0];null!=u&&(a[u]=!0)}for(var p=0;p<e.length;p++){var s=[].concat(e[p]);r&&a[s[0]]||(void 0!==i&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=i),t&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=t):s[2]=t),o&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=o):s[4]="".concat(o)),n.push(s))}},n}},9601:e=>{"use strict";e.exports=function(e){return e[1]}},2439:(e,n,t)=>{e.exports=t(2527)},7430:e=>{"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),t={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=t},6377:e=>{var n,t,r,o,i,a,c,u,p,s,d,l,f,m,v,b=!1;function h(){if(!b){b=!0;var e=navigator.userAgent,h=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(l=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),s=/Android/i.exec(e),m=/FBAN\/\w+;/i.exec(e),v=/Mobile/i.exec(e),d=!!/Win64/.exec(e),h){(n=h[1]?parseFloat(h[1]):h[5]?parseFloat(h[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(e);a=w?parseFloat(w[1])+4:n,t=h[2]?parseFloat(h[2]):NaN,r=h[3]?parseFloat(h[3]):NaN,(o=h[4]?parseFloat(h[4]):NaN)?(h=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=h&&h[1]?parseFloat(h[1]):NaN):i=NaN}else n=t=r=i=o=NaN;if(y){if(y[1]){var g=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);c=!g||parseFloat(g[1].replace("_","."))}else c=!1;u=!!y[2],p=!!y[3]}else c=u=p=!1}}var y={ie:function(){return h()||n},ieCompatibilityMode:function(){return h()||a>n},ie64:function(){return y.ie()&&d},firefox:function(){return h()||t},opera:function(){return h()||r},webkit:function(){return h()||o},safari:function(){return y.webkit()},chrome:function(){return h()||i},windows:function(){return h()||u},osx:function(){return h()||c},linux:function(){return h()||p},iphone:function(){return h()||l},mobile:function(){return h()||l||f||s||v},nativeApp:function(){return h()||m},android:function(){return h()||s},ipad:function(){return h()||f}};e.exports=y},3541:(e,n,t)=>{"use strict";var r,o=t(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,n){if(!o.canUseDOM||n&&!("addEventListener"in document))return!1;var t="on"+e,i=t in document;if(!i){var a=document.createElement("div");a.setAttribute(t,"return;"),i="function"==typeof a[t]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,n,t)=>{"use strict";var r=t(6377),o=t(3541);function i(e){var n=0,t=0,r=0,o=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(n=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(n=t,t=0),r=10*n,o=10*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!n&&(n=r<1?-1:1),o&&!t&&(t=o<1?-1:1),{spinX:n,spinY:t,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},4212:n=>{"use strict";n.exports=e},5798:e=>{"use strict";e.exports=n}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e](i,i.exports,o),i.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.r(i),o.d(i,{bkTooltips:()=>h,clickoutside:()=>d,mousewheel:()=>r});var e=o(2439),n=o.n(e),t="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const r={beforeMount:function(e,r){var o,i;console.error(e,r),o=e,i=r.value,(null==o?void 0:o.addEventListener)&&o.addEventListener(t?"DOMMouseScroll":"mousewheel",(function(e){var t=n()(e);null==i||i.apply(this,[e,t])}))}};function a(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return c(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?c(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw i}}}}function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var u,p=new Map;function s(e,n){var t,r=[];return Array.isArray(n.arg)?r=n.arg:(t=n.arg,"undefined"!=typeof Element&&t instanceof Element&&r.push(n.arg)),function(t,o){var i=n.instance.popperRef,a=t.target,c=null==o?void 0:o.target,u=!n||!n.instance,p=!a||!c,s=e.contains(a)||e.contains(c),d=e===a,l=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(c),f=i&&(i.contains(a)||i.contains(c));u||p||s||d||l||f||n.value(t,o)}}document.addEventListener("mousedown",(function(e){return u=e})),document.addEventListener("mouseup",(function(e){var n,t=a(p.values());try{for(t.s();!(n=t.n()).done;){var r,o=a(n.value);try{for(o.s();!(r=o.n()).done;)(0,r.value.documentHandler)(e,u)}catch(e){o.e(e)}finally{o.f()}}}catch(e){t.e(e)}finally{t.f()}}));const d={beforeMount:function(e,n){p.has(e)||p.set(e,[]),p.get(e).push({documentHandler:s(e,n),bindingFn:n.value})},updated:function(e,n){p.has(e)||p.set(e,[]);var t=p.get(e),r=t.findIndex((function(e){return e.bindingFn===n.oldValue})),o={documentHandler:s(e,n),bindingFn:n.value};r>=0?t.splice(r,1,o):t.push(o)},unmounted:function(e){p.delete(e)}};function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function f(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return l(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?l(e,n):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.")}()}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}var v=o(4212),b=o(5798);const h=(o(1147),{mounted:function(e,n){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,onShow:function(){},onHide:function(){}};"object"===m(n.value)?Object.assign(t,n.value):t.content=n.value;var r=t.disabled,o=t.arrow,i=t.theme;if(!r){var a=function(e,n,t){var r=v.bkZIndexManager.getPopperIndex(),o=document.createElement("div");if(o.className="bk-popper ".concat(t?"light":"dark"),o.innerText=e,o.style.zIndex=String(r),n){var i=function(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}();o.appendChild(i)}return document.body.appendChild(o),o}(t.content,o,"light"===i);!function(e,n,t){var r=t.placement,o=t.distance,i=t.trigger,a=t.showOnInit,c=t.onShow,u=t.onHide,p=(0,b.createPopper)(e,n,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});if("hover"===i){["mouseenter","focus"].forEach((function(n){e.addEventListener(n,s)})),["mouseleave","blur"].forEach((function(n){e.addEventListener(n,d)}))}else"click"===i&&document.body.addEventListener("click",(function(t){e.contains(t.target)&&!n.hasAttribute("data-show")?s():n.hasAttribute("data-show")&&d()}));function s(){n.setAttribute("data-show",""),c(),p.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(f(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),p.update()}function d(){n.removeAttribute("data-show"),u(),p.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(f(e.modifiers),[{name:"eventListeners",enabled:!1}])})}))}a&&s()}(e,a,t)}}})})(),i})()));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if an event is supported in the current execution environment.
|
3
|
+
*
|
4
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
5
|
+
* `reset`, `load`, `error`, and `select`.
|
6
|
+
*
|
7
|
+
* Borrows from Modernizr.
|
8
|
+
*
|
9
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
10
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
11
|
+
* @return {boolean} True if the event is supported.
|
12
|
+
* @internal
|
13
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
14
|
+
*/
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { ObjectDirective } from 'vue';
|
2
|
+
import { Placement } from '@popperjs/core';
|
3
|
+
import '../../styles/src/mixins/popper.less';
|
4
|
+
export declare type IOptions = {
|
5
|
+
arrow: boolean;
|
6
|
+
disabled: boolean;
|
7
|
+
placement: Placement;
|
8
|
+
content: string;
|
9
|
+
showOnInit: boolean;
|
10
|
+
theme: string;
|
11
|
+
trigger: string;
|
12
|
+
distance: number;
|
13
|
+
onShow: () => void;
|
14
|
+
onHide: () => void;
|
15
|
+
};
|
16
|
+
declare const tooltips: ObjectDirective;
|
17
|
+
export default tooltips;
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("./styles"),require("./preset"),require("./components"),require("./directives"));else if("function"==typeof define&&define.amd)define(["./styles","./preset","./components","./directives"],r);else{var t="object"==typeof exports?r(require("./styles"),require("./preset"),require("./components"),require("./directives")):r(e["./styles"],e["./preset"],e["./components"],e["./directives"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o)=>(()=>{"use strict";var s={4689:e=>{e.exports=t},7257:e=>{e.exports=o},9887:e=>{e.exports=r},9243:r=>{r.exports=e}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return s[e](t,t.exports,i),t.exports}i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{i.r(p),i.d(p,{default:()=>r.a}),i(9243);var e=i(9887),r=i.n(e),t=i(4689),o={};for(const e in t)"default"!==e&&(o[e]=()=>t[e]);i.d(p,o);var s=i(7257);o={};for(const e in s)"default"!==e&&(o[e]=()=>s[e]);i.d(p,o)})(),p})()));
|
@@ -0,0 +1,38 @@
|
|
1
|
+
.bk-divider {
|
2
|
+
position: relative;
|
3
|
+
background: #c4c6cc;
|
4
|
+
}
|
5
|
+
.bk-divider-horizontal {
|
6
|
+
width: 100%;
|
7
|
+
height: 1px;
|
8
|
+
margin: 1em 0;
|
9
|
+
}
|
10
|
+
.bk-divider-info {
|
11
|
+
position: absolute;
|
12
|
+
top: 50%;
|
13
|
+
padding: 0 1.4em;
|
14
|
+
color: #63656e;
|
15
|
+
background-color: white;
|
16
|
+
transform: translateY(-50%);
|
17
|
+
}
|
18
|
+
.bk-divider-info-center {
|
19
|
+
left: 50%;
|
20
|
+
transform: translateX(-50%) translateY(-50%);
|
21
|
+
}
|
22
|
+
.bk-divider-info .bk-divider-horizontal-left {
|
23
|
+
left: 2em;
|
24
|
+
}
|
25
|
+
.bk-divider-info .bk-divider-horizontal-right {
|
26
|
+
right: 2em;
|
27
|
+
}
|
28
|
+
.bk-divider-vertical .bk-divider-info {
|
29
|
+
padding: 20px 0;
|
30
|
+
}
|
31
|
+
.bk-divider-vertical {
|
32
|
+
display: inline-block;
|
33
|
+
width: 1px;
|
34
|
+
height: 100%;
|
35
|
+
min-height: 1em;
|
36
|
+
margin: 0 8px;
|
37
|
+
vertical-align: middle;
|
38
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
3
|
+
default: string;
|
4
|
+
};
|
5
|
+
align: import("vue-types").VueTypeDef<string> & {
|
6
|
+
default: string;
|
7
|
+
};
|
8
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
9
|
+
default: string;
|
10
|
+
} & {
|
11
|
+
default: string;
|
12
|
+
};
|
13
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
14
|
+
default: number;
|
15
|
+
} & {
|
16
|
+
default: number;
|
17
|
+
};
|
18
|
+
type: import("vue-types").VueTypeDef<string> & {
|
19
|
+
default: string;
|
20
|
+
};
|
21
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
22
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
align: import("vue-types").VueTypeDef<string> & {
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
29
|
+
default: string;
|
30
|
+
} & {
|
31
|
+
default: string;
|
32
|
+
};
|
33
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
34
|
+
default: number;
|
35
|
+
} & {
|
36
|
+
default: number;
|
37
|
+
};
|
38
|
+
type: import("vue-types").VueTypeDef<string> & {
|
39
|
+
default: string;
|
40
|
+
};
|
41
|
+
}>>, {
|
42
|
+
type: string;
|
43
|
+
width: number;
|
44
|
+
color: string;
|
45
|
+
direction: string;
|
46
|
+
align: string;
|
47
|
+
}>;
|
48
|
+
export default _default;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
@import '../styles/themes/themes.less';
|
2
|
+
.@{bk-prefix}-divider {
|
3
|
+
position: relative;
|
4
|
+
background: @light-gray;
|
5
|
+
|
6
|
+
&-horizontal {
|
7
|
+
width: 100%;
|
8
|
+
height: 1px;
|
9
|
+
margin: 1em 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
&-info {
|
13
|
+
position: absolute;
|
14
|
+
top: 50%;
|
15
|
+
padding: 0 1.4em;
|
16
|
+
color: @default-color;
|
17
|
+
background-color: @white-color;
|
18
|
+
transform: translateY(-50%);
|
19
|
+
|
20
|
+
&-center {
|
21
|
+
left: 50%;
|
22
|
+
transform: translateX(-50%) translateY(-50%)
|
23
|
+
}
|
24
|
+
|
25
|
+
.bk-divider-horizontal {
|
26
|
+
&-left {
|
27
|
+
left: 2em;
|
28
|
+
}
|
29
|
+
|
30
|
+
&-right {
|
31
|
+
right: 2em;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.bk-divider-vertical & {
|
36
|
+
padding: 20px 0;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&-vertical {
|
41
|
+
display: inline-block;
|
42
|
+
width: 1px;
|
43
|
+
height: 100%;
|
44
|
+
min-height: 1em;
|
45
|
+
margin: 0 8px;
|
46
|
+
vertical-align: middle;
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
|
@@ -0,0 +1,137 @@
|
|
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: 38px;
|
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: #f4f6fa;
|
36
|
+
--input-icon-size: var(--font-size-large);
|
37
|
+
--input-maxlength-color: #979ba5;
|
38
|
+
--button-primary-hover-color: #5594fa;
|
39
|
+
--button-danger-hover-color: #ff5656;
|
40
|
+
--button-success-hover-color: #45e35f;
|
41
|
+
--button-warning-hover-color: #ffb848;
|
42
|
+
--button-default-hover-border-color: #979ba5;
|
43
|
+
--button-primary-active-color: #2c77f4;
|
44
|
+
--button-danger-active-color: #db2626;
|
45
|
+
--button-success-active-color: #1ab943;
|
46
|
+
--button-warning-active-color: #eb9000;
|
47
|
+
--fixed-navbar-background: #fff;
|
48
|
+
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
49
|
+
--switch-default-color: #fff;
|
50
|
+
--switch-grey-color: #c4c6cc;
|
51
|
+
--breadcrumb-black-color: #979ba5;
|
52
|
+
--breadcrumb-primary-hover-color: #0082ff;
|
53
|
+
--breadcrumb-fn-main-color: #63656e;
|
54
|
+
--link-default-hover-color: #979ba5;
|
55
|
+
--link-primary-hover-color: #699df4;
|
56
|
+
--link-success-hover-color: #45e35f;
|
57
|
+
--link-warning-hover-color: #ffb848;
|
58
|
+
--link-danger-hover-color: #ff5656;
|
59
|
+
--link-default-disabled-color: #dcdee5;
|
60
|
+
--link-primary-disabled-color: #a3c5fd;
|
61
|
+
--link-success-disabled-color: #94f5a4;
|
62
|
+
--link-warning-disabled-color: #ffd695;
|
63
|
+
--link-danger-disabled-color: #fd9c9c;
|
64
|
+
--message-color: var(--default-color);
|
65
|
+
--message-primary-bg-color: #f0f8ff;
|
66
|
+
--message-primary-border-color: #e1ecff;
|
67
|
+
--message-warning-bg-color: #fff4e2;
|
68
|
+
--message-warning-border-color: #ffe8c3;
|
69
|
+
--message-success-bg-color: #f2fff4;
|
70
|
+
--message-success-border-color: #dcffe2;
|
71
|
+
--message-danger-bg-color: #ffeded;
|
72
|
+
--message-danger-border-color: #ffdddd;
|
73
|
+
--slider-default-bg: #dcdee5;
|
74
|
+
--slider-disable-bar-bg: #979ba5;
|
75
|
+
--menu-bg-color: #182132;
|
76
|
+
--submenu-bg-color: #151d2c;
|
77
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
78
|
+
--menu-color: #96a2b9;
|
79
|
+
--menu-group-color: var(--default-color);
|
80
|
+
--menu-width: 260px;
|
81
|
+
--menu-collapse-width: 60px;
|
82
|
+
--menu-active-color: white;
|
83
|
+
--nav-header-bg-color: #182132;
|
84
|
+
--nav-bg-color: #182132;
|
85
|
+
--date-picker-disabled-bg: #fafbfd;
|
86
|
+
--date-picker-dropdown-mb: 4px;
|
87
|
+
--date-picker-dropdown-bg: #fff;
|
88
|
+
--table-bg-color: var(--white-color);
|
89
|
+
--table-border-color: #dcdee5;
|
90
|
+
--table-head-bg-color: #fafbfd;
|
91
|
+
--table-head-font-color: #313238;
|
92
|
+
--table-body-font-color: #575961;
|
93
|
+
--table-row-hover-bg-color: #f5f7fa;
|
94
|
+
--table-row-active-bg-color: #f0f1f5;
|
95
|
+
--cascader-panel-border-color: #dcdee5;
|
96
|
+
--cascader-panel-hover: #eaf3ff;
|
97
|
+
--cascader-panel-active: #f4f6fa;
|
98
|
+
--cascader-panel-disabled-bg: #fff;
|
99
|
+
}
|
100
|
+
.bk-divider {
|
101
|
+
position: relative;
|
102
|
+
background: var(--light-gray);
|
103
|
+
}
|
104
|
+
.bk-divider-horizontal {
|
105
|
+
width: 100%;
|
106
|
+
height: 1px;
|
107
|
+
margin: 1em 0;
|
108
|
+
}
|
109
|
+
.bk-divider-info {
|
110
|
+
position: absolute;
|
111
|
+
top: 50%;
|
112
|
+
padding: 0 1.4em;
|
113
|
+
color: var(--default-color);
|
114
|
+
background-color: var(--white-color);
|
115
|
+
transform: translateY(-50%);
|
116
|
+
}
|
117
|
+
.bk-divider-info-center {
|
118
|
+
left: 50%;
|
119
|
+
transform: translateX(-50%) translateY(-50%);
|
120
|
+
}
|
121
|
+
.bk-divider-info .bk-divider-horizontal-left {
|
122
|
+
left: 2em;
|
123
|
+
}
|
124
|
+
.bk-divider-info .bk-divider-horizontal-right {
|
125
|
+
right: 2em;
|
126
|
+
}
|
127
|
+
.bk-divider-vertical .bk-divider-info {
|
128
|
+
padding: 20px 0;
|
129
|
+
}
|
130
|
+
.bk-divider-vertical {
|
131
|
+
display: inline-block;
|
132
|
+
width: 1px;
|
133
|
+
height: 100%;
|
134
|
+
min-height: 1em;
|
135
|
+
margin: 0 8px;
|
136
|
+
vertical-align: middle;
|
137
|
+
}
|
@@ -0,0 +1,142 @@
|
|
1
|
+
declare const BkDivider: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
type: string;
|
7
|
+
width: number;
|
8
|
+
color: string;
|
9
|
+
direction: string;
|
10
|
+
align: string;
|
11
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
12
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
align: import("vue-types").VueTypeDef<string> & {
|
16
|
+
default: string;
|
17
|
+
};
|
18
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
19
|
+
default: string;
|
20
|
+
} & {
|
21
|
+
default: string;
|
22
|
+
};
|
23
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
24
|
+
default: number;
|
25
|
+
} & {
|
26
|
+
default: number;
|
27
|
+
};
|
28
|
+
type: import("vue-types").VueTypeDef<string> & {
|
29
|
+
default: string;
|
30
|
+
};
|
31
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "width" | "color" | "direction" | "align">;
|
32
|
+
$attrs: {
|
33
|
+
[x: string]: unknown;
|
34
|
+
};
|
35
|
+
$refs: {
|
36
|
+
[x: string]: unknown;
|
37
|
+
};
|
38
|
+
$slots: Readonly<{
|
39
|
+
[name: string]: import("vue").Slot;
|
40
|
+
}>;
|
41
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
42
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
43
|
+
$emit: (event: string, ...args: any[]) => void;
|
44
|
+
$el: any;
|
45
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
46
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
47
|
+
default: string;
|
48
|
+
};
|
49
|
+
align: import("vue-types").VueTypeDef<string> & {
|
50
|
+
default: string;
|
51
|
+
};
|
52
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
53
|
+
default: string;
|
54
|
+
} & {
|
55
|
+
default: string;
|
56
|
+
};
|
57
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
58
|
+
default: number;
|
59
|
+
} & {
|
60
|
+
default: number;
|
61
|
+
};
|
62
|
+
type: import("vue-types").VueTypeDef<string> & {
|
63
|
+
default: string;
|
64
|
+
};
|
65
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
66
|
+
type: string;
|
67
|
+
width: number;
|
68
|
+
color: string;
|
69
|
+
direction: string;
|
70
|
+
align: string;
|
71
|
+
}> & {
|
72
|
+
beforeCreate?: (() => void) | (() => void)[];
|
73
|
+
created?: (() => void) | (() => void)[];
|
74
|
+
beforeMount?: (() => void) | (() => void)[];
|
75
|
+
mounted?: (() => void) | (() => void)[];
|
76
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
77
|
+
updated?: (() => void) | (() => void)[];
|
78
|
+
activated?: (() => void) | (() => void)[];
|
79
|
+
deactivated?: (() => void) | (() => void)[];
|
80
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
81
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
82
|
+
destroyed?: (() => void) | (() => void)[];
|
83
|
+
unmounted?: (() => void) | (() => void)[];
|
84
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
85
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
86
|
+
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)[];
|
87
|
+
};
|
88
|
+
$forceUpdate: () => void;
|
89
|
+
$nextTick: typeof import("vue").nextTick;
|
90
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
91
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
92
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
93
|
+
default: string;
|
94
|
+
};
|
95
|
+
align: import("vue-types").VueTypeDef<string> & {
|
96
|
+
default: string;
|
97
|
+
};
|
98
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
99
|
+
default: string;
|
100
|
+
} & {
|
101
|
+
default: string;
|
102
|
+
};
|
103
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
104
|
+
default: number;
|
105
|
+
} & {
|
106
|
+
default: number;
|
107
|
+
};
|
108
|
+
type: import("vue-types").VueTypeDef<string> & {
|
109
|
+
default: string;
|
110
|
+
};
|
111
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & {} & import("vue").ComponentCustomProperties;
|
112
|
+
__isFragment?: never;
|
113
|
+
__isTeleport?: never;
|
114
|
+
__isSuspense?: never;
|
115
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
116
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
117
|
+
default: string;
|
118
|
+
};
|
119
|
+
align: import("vue-types").VueTypeDef<string> & {
|
120
|
+
default: string;
|
121
|
+
};
|
122
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
123
|
+
default: string;
|
124
|
+
} & {
|
125
|
+
default: string;
|
126
|
+
};
|
127
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
128
|
+
default: number;
|
129
|
+
} & {
|
130
|
+
default: number;
|
131
|
+
};
|
132
|
+
type: import("vue-types").VueTypeDef<string> & {
|
133
|
+
default: string;
|
134
|
+
};
|
135
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
136
|
+
type: string;
|
137
|
+
width: number;
|
138
|
+
color: string;
|
139
|
+
direction: string;
|
140
|
+
align: string;
|
141
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
142
|
+
export default BkDivider;
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue")):o(e["../shared"],e.vue);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(self,((e,o)=>(()=>{"use strict";var t={4212:o=>{o.exports=e},748:e=>{e.exports=o}},r={};function i(e){var o=r[e];if(void 0!==o)return o.exports;var n=r[e]={exports:{}};return t[e](n,n.exports,i),n.exports}i.d=(e,o)=>{for(var t in o)i.o(o,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},i.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{i.r(n),i.d(n,{default:()=>d});var e=i(4212),o=i(748),t={direction:e.PropTypes.commonType(["horizontal","vertical"],"direction").def("horizontal"),align:e.PropTypes.commonType(["left","center","right"],"align").def("center"),color:e.PropTypes.string.def("#dde4eb"),width:e.PropTypes.number.def(1),type:e.PropTypes.commonType(["dashed","solid"],"lineType").def("dashed")};const r=(0,o.defineComponent)({name:"Divider",props:t,render:function(){var e,t=this;return this.$slots.default&&(e=(0,o.createVNode)("div",{class:["bk-divider-info","bk-divider-info-".concat(this.align)]},[this.$slots.default()])),(0,o.createVNode)("div",{class:["bk-divider","bk-divider-".concat(this.direction)],style:"vertical"===t.direction?{borderRight:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}:{borderBottom:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}},[e])}}),d=(0,e.withInstall)(r)})(),n})()));
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare const dividerProps: {
|
2
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
3
|
+
default: string;
|
4
|
+
};
|
5
|
+
align: import("vue-types").VueTypeDef<string> & {
|
6
|
+
default: string;
|
7
|
+
};
|
8
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
9
|
+
default: string;
|
10
|
+
} & {
|
11
|
+
default: string;
|
12
|
+
};
|
13
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
14
|
+
default: number;
|
15
|
+
} & {
|
16
|
+
default: number;
|
17
|
+
};
|
18
|
+
type: import("vue-types").VueTypeDef<string> & {
|
19
|
+
default: string;
|
20
|
+
};
|
21
|
+
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
/** 外部设置的 class name */
|
3
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
}, {
|
7
|
+
wrapperCLasses: import("vue").ComputedRef<any[]>;
|
8
|
+
handleClick: (evt: MouseEvent) => void;
|
9
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
10
|
+
/** 外部设置的 class name */
|
11
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
12
|
+
default: string;
|
13
|
+
};
|
14
|
+
}>> & {
|
15
|
+
onClick?: (...args: any[]) => any;
|
16
|
+
}, {
|
17
|
+
extCls: string;
|
18
|
+
}>;
|
19
|
+
export default _default;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
/** 外部设置的 class name */
|
3
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
}, {
|
7
|
+
wrapperCLasses: import("vue").ComputedRef<any[]>;
|
8
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
9
|
+
/** 外部设置的 class name */
|
10
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
11
|
+
default: string;
|
12
|
+
};
|
13
|
+
}>>, {
|
14
|
+
extCls: string;
|
15
|
+
}>;
|
16
|
+
export default _default;
|