bkui-vue 0.0.1-beta.1 → 0.0.1-beta.101
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/LICENSE.txt +22 -0
- package/README.md +68 -1
- package/dist/index.cjs.js +57 -0
- package/dist/index.esm.js +26747 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -469
- 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 +77 -0
- package/lib/alert/alert.d.ts +62 -0
- package/lib/alert/alert.less +114 -0
- package/lib/alert/alert.variable.css +176 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/alert/index.js +1 -0
- package/lib/animate-number/animate-number.d.ts +27 -0
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/animate-number/index.js +1 -0
- package/lib/backtop/backtop.css +42 -0
- package/lib/backtop/backtop.d.ts +60 -0
- package/lib/backtop/backtop.less +18 -0
- package/lib/backtop/backtop.variable.css +141 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/backtop/index.js +1 -0
- package/lib/badge/badge.css +121 -0
- package/lib/badge/badge.d.ts +112 -0
- package/lib/badge/badge.less +136 -0
- package/lib/badge/badge.variable.css +220 -0
- package/lib/badge/index.d.ts +267 -0
- package/lib/badge/index.js +1 -0
- package/lib/breadcrumb/breadcrumb-item.d.ts +36 -0
- package/lib/breadcrumb/breadcrumb.css +76 -0
- package/lib/breadcrumb/breadcrumb.d.ts +54 -0
- package/lib/breadcrumb/breadcrumb.less +65 -0
- package/lib/breadcrumb/breadcrumb.variable.css +175 -0
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/breadcrumb/index.js +1 -0
- package/lib/breadcrumb/props.d.ts +4 -0
- package/lib/button/button-group.d.ts +6 -0
- package/lib/button/button.css +270 -21
- package/lib/button/button.d.ts +150 -0
- package/lib/button/button.less +195 -30
- package/lib/button/button.variable.css +381 -0
- package/lib/button/index.d.ts +237 -0
- package/lib/button/index.js +1 -206
- package/lib/card/card.css +115 -0
- package/lib/card/card.d.ts +110 -0
- package/lib/card/card.less +92 -0
- package/lib/card/card.variable.css +214 -0
- package/lib/card/index.d.ts +283 -0
- package/lib/card/index.js +1 -0
- 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 +48 -0
- package/lib/checkbox/checkbox.css +67 -125
- package/lib/checkbox/checkbox.d.ts +108 -0
- package/lib/checkbox/checkbox.less +84 -6
- package/lib/checkbox/checkbox.variable.css +176 -0
- package/lib/checkbox/common.d.ts +13 -0
- package/lib/checkbox/index.d.ts +253 -0
- package/lib/checkbox/index.js +1 -64
- package/lib/checkbox/type.d.ts +15 -0
- 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 +46 -0
- package/lib/collapse/collapse.d.ts +103 -0
- package/lib/collapse/collapse.less +59 -0
- package/lib/collapse/collapse.variable.css +145 -0
- package/lib/collapse/index.d.ts +182 -0
- package/lib/collapse/index.js +1 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/components.d.ts +50 -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 +312 -0
- package/lib/date-picker/date-picker.less +527 -0
- package/lib/date-picker/date-picker.variable.css +507 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +753 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +118 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +120 -0
- package/lib/dialog/dialog.d.ts +336 -0
- package/lib/dialog/dialog.less +100 -0
- package/lib/dialog/dialog.variable.css +120 -0
- package/lib/dialog/index.d.ts +772 -0
- package/lib/dialog/index.js +1 -0
- package/lib/directives/clickoutside.d.ts +3 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/index.js +2 -0
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/mousewheel.d.ts +3 -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.css +32 -0
- package/lib/exception/exception.d.ts +26 -0
- package/lib/exception/exception.less +39 -0
- package/lib/exception/exception.variable.css +131 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/exception/index.js +1 -0
- package/lib/fixed-navbar/fixed-navbar.css +42 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +48 -0
- package/lib/fixed-navbar/fixed-navbar.less +53 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +141 -0
- package/lib/fixed-navbar/index.d.ts +147 -0
- package/lib/fixed-navbar/index.js +1 -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 +81 -0
- package/lib/form/form.less +152 -0
- package/lib/form/form.variable.css +224 -0
- package/lib/form/index.d.ts +303 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +23 -0
- package/lib/form/validator.d.ts +9 -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/folder.js +1 -0
- package/lib/icon/funnel.d.ts +4 -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 -0
- 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 -60
- package/lib/input/input.css +193 -147
- package/lib/input/input.d.ts +315 -0
- package/lib/input/input.less +193 -39
- package/lib/input/input.variable.css +312 -0
- package/lib/link/index.d.ts +164 -0
- package/lib/link/index.js +1 -0
- package/lib/link/link.css +55 -0
- package/lib/link/link.d.ts +58 -0
- package/lib/link/link.less +74 -0
- package/lib/link/link.variable.css +154 -0
- package/lib/loading/index.d.ts +241 -0
- package/lib/loading/index.js +1 -0
- package/lib/loading/loading.css +259 -0
- package/lib/loading/loading.d.ts +148 -0
- package/lib/loading/loading.less +186 -0
- package/lib/loading/loading.variable.css +358 -0
- package/lib/menu/index.d.ts +176 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +190 -0
- package/lib/menu/menu.d.ts +55 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +289 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +102 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/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 +605 -0
- package/lib/modal/index.js +1 -0
- package/lib/modal/modal.css +40 -0
- package/lib/modal/modal.d.ts +218 -0
- package/lib/modal/modal.less +50 -0
- package/lib/modal/modal.variable.css +40 -0
- package/lib/modal/props.mixin.d.ts +94 -0
- package/lib/navigation/index.d.ts +311 -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 +120 -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 +387 -0
- package/lib/popover/index.js +1 -0
- package/lib/popover/popover.css +68 -0
- package/lib/popover/popover.d.ts +165 -0
- package/lib/popover/popover.less +84 -0
- package/lib/popover/popover.variable.css +167 -0
- 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 +478 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover2.css +25 -0
- package/lib/popover2/popover2.d.ts +200 -0
- package/lib/popover2/popover2.less +35 -0
- package/lib/popover2/popover2.variable.css +124 -0
- package/lib/popover2/props.d.ts +100 -0
- package/lib/popover2/reference.d.ts +2 -0
- package/lib/popover2/use-floating.d.ts +15 -0
- package/lib/popover2/use-popper-id.d.ts +5 -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/circle.d.ts +6 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/index.js +1 -0
- package/lib/progress/line.d.ts +6 -0
- package/lib/progress/progress.css +102 -0
- package/lib/progress/progress.d.ts +171 -0
- package/lib/progress/progress.less +90 -0
- package/lib/progress/progress.variable.css +201 -0
- package/lib/radio/common.d.ts +13 -0
- package/lib/radio/index.d.ts +277 -0
- package/lib/radio/index.js +1 -61
- package/lib/radio/radio-button.d.ts +91 -0
- package/lib/radio/radio-group.d.ts +41 -0
- package/lib/radio/radio.css +127 -124
- package/lib/radio/radio.d.ts +87 -0
- package/lib/radio/radio.less +173 -20
- package/lib/radio/radio.variable.css +237 -0
- package/lib/radio/type.d.ts +14 -0
- package/lib/rate/index.d.ts +113 -0
- package/lib/rate/index.js +1 -0
- package/lib/rate/rate.css +10 -0
- package/lib/rate/rate.d.ts +32 -0
- package/lib/rate/rate.less +11 -0
- package/lib/rate/rate.variable.css +10 -0
- package/lib/rate/star.css +24 -0
- package/lib/rate/star.d.ts +74 -0
- package/lib/rate/star.less +29 -0
- package/lib/rate/star.variable.css +24 -0
- 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 +33 -0
- package/lib/select/index.d.ts +1751 -0
- package/lib/select/index.js +1 -0
- package/lib/select/option.d.ts +27 -0
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +350 -0
- package/lib/select/select.d.ts +542 -0
- package/lib/select/select.less +327 -0
- package/lib/select/select.variable.css +449 -0
- package/lib/select/selectTagInput.d.ts +71 -0
- package/lib/select/type.d.ts +35 -0
- package/lib/shared/helper.d.ts +92 -0
- package/lib/shared/index.d.ts +73 -0
- package/lib/shared/index.js +1 -13
- package/lib/shared/mask-manager.d.ts +77 -0
- package/lib/shared/pop-manager.d.ts +27 -0
- package/lib/shared/popover.d.ts +131 -0
- package/lib/shared/scrollbar-width.d.ts +1 -0
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +119 -0
- package/lib/shared/z-index-manager.d.ts +93 -0
- package/lib/sideslider/index.d.ts +533 -0
- package/lib/sideslider/index.js +1 -0
- package/lib/sideslider/sideslider.css +114 -0
- package/lib/sideslider/sideslider.d.ts +229 -0
- package/lib/sideslider/sideslider.less +145 -0
- package/lib/sideslider/sideslider.variable.css +213 -0
- 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 -0
- package/lib/steps/steps.css +299 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.less +344 -0
- package/lib/steps/steps.variable.css +398 -0
- package/lib/styles/index.d.ts +52 -0
- package/lib/styles/mixins/animate.css +21 -0
- package/lib/styles/mixins/animate.less +27 -0
- package/lib/styles/mixins/animate.variable.css +21 -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/ellipsis.less +8 -0
- package/lib/styles/mixins/mixins.css +29 -0
- package/lib/styles/mixins/mixins.less +3 -0
- package/lib/styles/mixins/mixins.variable.css +29 -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 +10 -1
- 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 +103 -284
- 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 -0
- package/lib/switcher/switcher.css +280 -0
- package/lib/switcher/switcher.d.ts +113 -0
- package/lib/switcher/switcher.less +360 -0
- package/lib/switcher/switcher.variable.css +379 -0
- 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 +49 -0
- package/lib/table/index.d.ts +547 -0
- package/lib/table/index.js +1 -0
- 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 +243 -0
- package/lib/table/render.d.ts +118 -0
- package/lib/table/table.css +441 -0
- package/lib/table/table.d.ts +229 -0
- package/lib/table/table.less +292 -0
- package/lib/table/table.variable.css +540 -0
- package/lib/table/use-common.d.ts +54 -0
- package/lib/table/utils.d.ts +104 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +84 -0
- package/lib/tag/tag.less +113 -0
- package/lib/tag/tag.variable.css +196 -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 +240 -0
- package/lib/timeline/timeline.variable.css +334 -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 +238 -0
- package/lib/tree/constant.d.ts +43 -0
- package/lib/tree/index.d.ts +472 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +168 -0
- package/lib/tree/tree.css +53 -0
- package/lib/tree/tree.d.ts +204 -0
- package/lib/tree/tree.less +66 -0
- package/lib/tree/tree.variable.css +152 -0
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +11 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +31 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +66 -0
- package/lib/upload/index.d.ts +2 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +113 -0
- package/lib/upload/upload-list.d.ts +46 -0
- package/lib/upload/upload-trigger.d.ts +54 -0
- package/lib/upload/upload.css +374 -0
- package/lib/upload/upload.d.ts +252 -0
- package/lib/upload/upload.less +455 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +473 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/use-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 +128 -54
- package/dist/bkui-vue.cjs.js +0 -299
- package/dist/bkui-vue.esm.js +0 -296
- package/dist/bkui-vue.umd.js +0 -302
- package/lib/styles/mixins/size.css +0 -0
- package/lib/styles/themes/themes.css +0 -119
- package/lib/styles/themes/variables.css +0 -27
- package/lib/styles/themes/variables.less +0 -36
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t)=>(()=>{"use strict";var o={4212:t=>{t.exports=e},748:e=>{e.exports=t}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return o[e](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{n.r(a),n.d(a,{default:()=>s});var e=n(4212),t=n(748),o={onAfterHidden:Function,onAfterShow:Function},r=Object.assign({isShow:e.PropTypes.bool.def(!1),always:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),content:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),transition:e.PropTypes.string.def("fade-in"),placement:e.PropTypes.placement(["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"]).def("top"),theme:e.PropTypes.string.def("dark"),handleFirstUpdate:{type:Function,default:function(){}},trigger:e.PropTypes.string.def("hover"),arrow:e.PropTypes.bool.def(!0),modifiers:e.PropTypes.array.def([{name:"offset",options:{offset:[0,8]}}]),boundary:e.PropTypes.oneOfType([e.PropTypes.string.def("parent"),e.PropTypes.instanceOf(HTMLElement)]),fixOnBoundary:e.PropTypes.bool.def(!1),zIndex:e.PropTypes.number.def(void 0),stopBehaviors:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.commonType(["stopPropagation","stopImmediatePropagation","preventDefault"],"stopBehaviors")),e.PropTypes.string]).def([])},o);const i=(0,t.defineComponent)({name:"Popover",props:r,emits:["afterHidden","afterShow","update:isShow"],setup:function(o,r){var n=!1,a=Object.create(null),i=(0,t.ref)(0),s=(0,t.toRefs)(o),p=s.width,u=s.height,d=s.theme,f=s.trigger,l=s.isShow,c=s.placement,v=s.modifiers,y=s.arrow,m=s.content,h=(0,t.ref)(),b=(0,t.ref)(),T=(0,t.computed)((function(){return{width:/^\d+$/.test(String(p.value))?"".concat(p.value,"px"):p.value,height:/^\d+$/.test(String(u.value))?"".concat(u.value,"px"):u.value,zIndex:i.value}})),g=["dark","light"],P=(0,t.computed)((function(){var e=d.value.split(/\s+/);return e.sort((function(e,t){return Number(g.includes(t))-Number(g.includes(e))})),{systemThemes:e,customThemes:e.filter((function(e){return!g.includes(e)}))}})),w=function(t){var r,s;if(n){if(t)return i.value="number"==typeof o.zIndex?o.zIndex:e.bkZIndexManager.getModalNextIndex(),void(null===(r=a.show)||void 0===r||r.call(a));null===(s=a.hide)||void 0===s||s.call(a)}};(0,t.watch)((function(){return o.isShow}),(function(e){w(e)}),{immediate:!0});var x=function(){r.emit("update:isShow",!1),r.emit("afterHidden",!1)},O=function(){r.emit("update:isShow",!0),r.emit("afterShow",!1)},S=function(){var e=a;e.constructor&&(e.isShow&&e.hide(),e.destroy(),a=Object.create(null))},j=function(){a=new e.BKPopover(h.value,b.value,{theme:P.value.systemThemes.join(" "),placement:c.value,trigger:f.value,modifiers:v.value,onFirstUpdate:o.handleFirstUpdate,afterShow:O,afterHidden:x,appendTo:o.boundary,always:o.always,disabled:o.disabled,fixOnBoundary:o.fixOnBoundary}),n=!0,l.value&&w(l.value)},B=function(){S(),(0,t.nextTick)(j)};r.expose({update:B}),(0,t.onMounted)(B),(0,t.onBeforeUnmount)(S);var k=function(){r.emit("after-enter")},I=function(){r.emit("after-leave")},N=P.value.customThemes.join(" "),A=P.value.customThemes.reduce((function(e,t){return Object.assign((o={},!0,(r="data-".concat(t,"-theme"))in o?Object.defineProperty(o,r,{value:true,enumerable:!0,configurable:!0,writable:!0}):o[r]=true,o),e);var o,r}),{}),F="bk-popover-content ".concat(N),M=function(e){var t=function(t){"function"==typeof e[t]&&e[t]()};Array.isArray(o.stopBehaviors)&&o.stopBehaviors.forEach(t),"string"==typeof o.stopBehaviors&&t(o.stopBehaviors)};return function(){var e,n,a,i,s;return(0,t.createVNode)("div",{class:"bk-popover","data-bk-pop-container":!0},[(0,t.createVNode)("div",{ref:h,class:"bk-popover-reference"},[null===(n=(e=r.slots).default)||void 0===n?void 0:n.call(e)]),(0,t.createVNode)(t.Transition,{name:o.transition,onAfterEnter:k,onAfterLeave:I},{default:function(){return[(0,t.createVNode)("div",(0,t.mergeProps)({ref:b,class:F,style:T.value},A,{onClick:M}),[null!==(s=null===(i=(a=r.slots).content)||void 0===i?void 0:i.call(a))&&void 0!==s?s:m.value,y.value&&(0,t.createVNode)("div",{class:"arrow","data-popper-arrow":!0},null)])]}})])}}}),s=(0,e.withInstall)(i)})(),a})()));
|
@@ -0,0 +1,68 @@
|
|
1
|
+
.bk-popover {
|
2
|
+
display: inline-block;
|
3
|
+
}
|
4
|
+
.bk-popover .bk-popover-reference {
|
5
|
+
display: inline-block;
|
6
|
+
}
|
7
|
+
.bk-popover .fade-in-enter-active,
|
8
|
+
.bk-popover .fade-in-linear-leave-active {
|
9
|
+
transition: opacity 200ms linear;
|
10
|
+
}
|
11
|
+
.bk-popover .fade-in-enter,
|
12
|
+
.bk-popover .fade-in-leave,
|
13
|
+
.bk-popover .fade-in-leave-active {
|
14
|
+
opacity: 0;
|
15
|
+
}
|
16
|
+
.bk-popover-content {
|
17
|
+
display: none;
|
18
|
+
padding: 7px 14px;
|
19
|
+
font-size: 12px;
|
20
|
+
color: #fff;
|
21
|
+
background: #26323d;
|
22
|
+
border-radius: 4px;
|
23
|
+
box-sizing: border-box;
|
24
|
+
}
|
25
|
+
.bk-popover-content[data-theme^='dark'] {
|
26
|
+
color: #fff;
|
27
|
+
background: #26323d;
|
28
|
+
}
|
29
|
+
.bk-popover-content[data-theme^='light'] {
|
30
|
+
color: #26323d;
|
31
|
+
background-color: #fff;
|
32
|
+
box-shadow: 0 0 6px 0 #dcdee5;
|
33
|
+
}
|
34
|
+
.bk-popover-content[data-theme^='light'][data-show] {
|
35
|
+
box-shadow: 0 0 6px 0 #dcdee5;
|
36
|
+
}
|
37
|
+
.bk-popover-content[data-show] {
|
38
|
+
display: block;
|
39
|
+
}
|
40
|
+
.bk-popover-content .arrow {
|
41
|
+
position: absolute;
|
42
|
+
z-index: -1;
|
43
|
+
width: 8px;
|
44
|
+
height: 8px;
|
45
|
+
background: inherit;
|
46
|
+
visibility: hidden;
|
47
|
+
}
|
48
|
+
.bk-popover-content .arrow::before {
|
49
|
+
position: absolute;
|
50
|
+
width: 8px;
|
51
|
+
height: 8px;
|
52
|
+
background: inherit;
|
53
|
+
content: '';
|
54
|
+
visibility: visible;
|
55
|
+
transform: rotate(45deg);
|
56
|
+
}
|
57
|
+
.bk-popover-content[data-popper-placement^='top'] > .arrow {
|
58
|
+
bottom: -4px;
|
59
|
+
}
|
60
|
+
.bk-popover-content[data-popper-placement^='bottom'] > .arrow {
|
61
|
+
top: -4px;
|
62
|
+
}
|
63
|
+
.bk-popover-content[data-popper-placement^='left'] > .arrow {
|
64
|
+
right: -4px;
|
65
|
+
}
|
66
|
+
.bk-popover-content[data-popper-placement^='right'] > .arrow {
|
67
|
+
left: -4px;
|
68
|
+
}
|
@@ -0,0 +1,165 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
onAfterHidden: FunctionConstructor;
|
3
|
+
onAfterShow: FunctionConstructor;
|
4
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
5
|
+
default: boolean;
|
6
|
+
} & {
|
7
|
+
default: boolean;
|
8
|
+
};
|
9
|
+
always: import("vue-types").VueTypeValidableDef<boolean> & {
|
10
|
+
default: boolean;
|
11
|
+
} & {
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
15
|
+
default: boolean;
|
16
|
+
} & {
|
17
|
+
default: boolean;
|
18
|
+
};
|
19
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
20
|
+
default: string | number;
|
21
|
+
};
|
22
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
23
|
+
default: string | number;
|
24
|
+
};
|
25
|
+
content: import("vue-types").VueTypeDef<string | number> & {
|
26
|
+
default: string | number;
|
27
|
+
};
|
28
|
+
transition: import("vue-types").VueTypeValidableDef<string> & {
|
29
|
+
default: string;
|
30
|
+
} & {
|
31
|
+
default: string;
|
32
|
+
};
|
33
|
+
placement: import("vue-types").VueTypeDef<string> & {
|
34
|
+
default: string;
|
35
|
+
};
|
36
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
37
|
+
default: string;
|
38
|
+
} & {
|
39
|
+
default: string;
|
40
|
+
};
|
41
|
+
handleFirstUpdate: {
|
42
|
+
type: import("vue").PropType<import("@bkui-vue/shared").OnFirstUpdateFnType>;
|
43
|
+
default: () => void;
|
44
|
+
};
|
45
|
+
trigger: import("vue-types").VueTypeValidableDef<string> & {
|
46
|
+
default: string;
|
47
|
+
} & {
|
48
|
+
default: string;
|
49
|
+
};
|
50
|
+
arrow: import("vue-types").VueTypeValidableDef<boolean> & {
|
51
|
+
default: boolean;
|
52
|
+
} & {
|
53
|
+
default: boolean;
|
54
|
+
};
|
55
|
+
modifiers: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
56
|
+
default: () => unknown[];
|
57
|
+
} & {
|
58
|
+
default: () => unknown[];
|
59
|
+
};
|
60
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
|
61
|
+
fixOnBoundary: import("vue-types").VueTypeValidableDef<boolean> & {
|
62
|
+
default: boolean;
|
63
|
+
} & {
|
64
|
+
default: boolean;
|
65
|
+
};
|
66
|
+
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
67
|
+
default: number;
|
68
|
+
} & {
|
69
|
+
default: number;
|
70
|
+
};
|
71
|
+
stopBehaviors: import("vue-types").VueTypeDef<string | string[]> & {
|
72
|
+
default: string | (() => string[]);
|
73
|
+
};
|
74
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "afterHidden" | "afterShow" | "update:isShow", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
75
|
+
onAfterHidden: FunctionConstructor;
|
76
|
+
onAfterShow: FunctionConstructor;
|
77
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
78
|
+
default: boolean;
|
79
|
+
} & {
|
80
|
+
default: boolean;
|
81
|
+
};
|
82
|
+
always: import("vue-types").VueTypeValidableDef<boolean> & {
|
83
|
+
default: boolean;
|
84
|
+
} & {
|
85
|
+
default: boolean;
|
86
|
+
};
|
87
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
88
|
+
default: boolean;
|
89
|
+
} & {
|
90
|
+
default: boolean;
|
91
|
+
};
|
92
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
93
|
+
default: string | number;
|
94
|
+
};
|
95
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
96
|
+
default: string | number;
|
97
|
+
};
|
98
|
+
content: import("vue-types").VueTypeDef<string | number> & {
|
99
|
+
default: string | number;
|
100
|
+
};
|
101
|
+
transition: import("vue-types").VueTypeValidableDef<string> & {
|
102
|
+
default: string;
|
103
|
+
} & {
|
104
|
+
default: string;
|
105
|
+
};
|
106
|
+
placement: import("vue-types").VueTypeDef<string> & {
|
107
|
+
default: string;
|
108
|
+
};
|
109
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
110
|
+
default: string;
|
111
|
+
} & {
|
112
|
+
default: string;
|
113
|
+
};
|
114
|
+
handleFirstUpdate: {
|
115
|
+
type: import("vue").PropType<import("@bkui-vue/shared").OnFirstUpdateFnType>;
|
116
|
+
default: () => void;
|
117
|
+
};
|
118
|
+
trigger: import("vue-types").VueTypeValidableDef<string> & {
|
119
|
+
default: string;
|
120
|
+
} & {
|
121
|
+
default: string;
|
122
|
+
};
|
123
|
+
arrow: import("vue-types").VueTypeValidableDef<boolean> & {
|
124
|
+
default: boolean;
|
125
|
+
} & {
|
126
|
+
default: boolean;
|
127
|
+
};
|
128
|
+
modifiers: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
129
|
+
default: () => unknown[];
|
130
|
+
} & {
|
131
|
+
default: () => unknown[];
|
132
|
+
};
|
133
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
|
134
|
+
fixOnBoundary: import("vue-types").VueTypeValidableDef<boolean> & {
|
135
|
+
default: boolean;
|
136
|
+
} & {
|
137
|
+
default: boolean;
|
138
|
+
};
|
139
|
+
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
140
|
+
default: number;
|
141
|
+
} & {
|
142
|
+
default: number;
|
143
|
+
};
|
144
|
+
stopBehaviors: import("vue-types").VueTypeDef<string | string[]> & {
|
145
|
+
default: string | (() => string[]);
|
146
|
+
};
|
147
|
+
}>>, {
|
148
|
+
placement: string;
|
149
|
+
modifiers: unknown[];
|
150
|
+
zIndex: number;
|
151
|
+
content: string | number;
|
152
|
+
trigger: string;
|
153
|
+
disabled: boolean;
|
154
|
+
arrow: boolean;
|
155
|
+
theme: string;
|
156
|
+
width: string | number;
|
157
|
+
height: string | number;
|
158
|
+
always: boolean;
|
159
|
+
transition: string;
|
160
|
+
stopBehaviors: string | string[];
|
161
|
+
isShow: boolean;
|
162
|
+
handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
163
|
+
fixOnBoundary: boolean;
|
164
|
+
}>;
|
165
|
+
export default _default;
|
@@ -0,0 +1,84 @@
|
|
1
|
+
@import '../styles/themes/themes.less';
|
2
|
+
|
3
|
+
.@{bk-prefix}-popover {
|
4
|
+
display: inline-block;
|
5
|
+
|
6
|
+
.bk-popover-reference {
|
7
|
+
display: inline-block;
|
8
|
+
}
|
9
|
+
|
10
|
+
.fade-in-enter-active,
|
11
|
+
.fade-in-linear-leave-active {
|
12
|
+
transition: opacity 200ms linear;
|
13
|
+
}
|
14
|
+
|
15
|
+
.fade-in-enter,
|
16
|
+
.fade-in-leave,
|
17
|
+
.fade-in-leave-active {
|
18
|
+
opacity: 0;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.bk-popover-content {
|
23
|
+
display: none;
|
24
|
+
padding: 7px 14px;
|
25
|
+
font-size: 12px;
|
26
|
+
color: #fff;
|
27
|
+
background: #26323d;
|
28
|
+
border-radius: 4px;
|
29
|
+
box-sizing: border-box;
|
30
|
+
|
31
|
+
&[data-theme^='dark'] {
|
32
|
+
color: #fff;
|
33
|
+
background: #26323d;
|
34
|
+
}
|
35
|
+
|
36
|
+
&[data-theme^='light'] {
|
37
|
+
color: #26323d;
|
38
|
+
background-color: #fff;
|
39
|
+
box-shadow: 0 0 6px 0 #dcdee5;
|
40
|
+
|
41
|
+
&[data-show] {
|
42
|
+
box-shadow: 0 0 6px 0 #dcdee5;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
&[data-show] {
|
47
|
+
display: block;
|
48
|
+
}
|
49
|
+
|
50
|
+
.arrow {
|
51
|
+
position: absolute;
|
52
|
+
z-index: -1;
|
53
|
+
width: 8px;
|
54
|
+
height: 8px;
|
55
|
+
background: inherit;
|
56
|
+
visibility: hidden;
|
57
|
+
|
58
|
+
&::before {
|
59
|
+
position: absolute;
|
60
|
+
width: 8px;
|
61
|
+
height: 8px;
|
62
|
+
background: inherit;
|
63
|
+
content: '';
|
64
|
+
visibility: visible;
|
65
|
+
transform: rotate(45deg);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
&[data-popper-placement^='top'] > .arrow {
|
70
|
+
bottom: -4px;
|
71
|
+
}
|
72
|
+
|
73
|
+
&[data-popper-placement^='bottom'] > .arrow {
|
74
|
+
top: -4px;
|
75
|
+
}
|
76
|
+
|
77
|
+
&[data-popper-placement^='left'] > .arrow {
|
78
|
+
right: -4px;
|
79
|
+
}
|
80
|
+
|
81
|
+
&[data-popper-placement^='right'] > .arrow {
|
82
|
+
left: -4px;
|
83
|
+
}
|
84
|
+
}
|
@@ -0,0 +1,167 @@
|
|
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-popover {
|
101
|
+
display: inline-block;
|
102
|
+
}
|
103
|
+
.bk-popover .bk-popover-reference {
|
104
|
+
display: inline-block;
|
105
|
+
}
|
106
|
+
.bk-popover .fade-in-enter-active,
|
107
|
+
.bk-popover .fade-in-linear-leave-active {
|
108
|
+
transition: opacity 200ms linear;
|
109
|
+
}
|
110
|
+
.bk-popover .fade-in-enter,
|
111
|
+
.bk-popover .fade-in-leave,
|
112
|
+
.bk-popover .fade-in-leave-active {
|
113
|
+
opacity: 0;
|
114
|
+
}
|
115
|
+
.bk-popover-content {
|
116
|
+
display: none;
|
117
|
+
padding: 7px 14px;
|
118
|
+
font-size: 12px;
|
119
|
+
color: #fff;
|
120
|
+
background: #26323d;
|
121
|
+
border-radius: 4px;
|
122
|
+
box-sizing: border-box;
|
123
|
+
}
|
124
|
+
.bk-popover-content[data-theme^='dark'] {
|
125
|
+
color: #fff;
|
126
|
+
background: #26323d;
|
127
|
+
}
|
128
|
+
.bk-popover-content[data-theme^='light'] {
|
129
|
+
color: #26323d;
|
130
|
+
background-color: #fff;
|
131
|
+
box-shadow: 0 0 6px 0 #dcdee5;
|
132
|
+
}
|
133
|
+
.bk-popover-content[data-theme^='light'][data-show] {
|
134
|
+
box-shadow: 0 0 6px 0 #dcdee5;
|
135
|
+
}
|
136
|
+
.bk-popover-content[data-show] {
|
137
|
+
display: block;
|
138
|
+
}
|
139
|
+
.bk-popover-content .arrow {
|
140
|
+
position: absolute;
|
141
|
+
z-index: -1;
|
142
|
+
width: 8px;
|
143
|
+
height: 8px;
|
144
|
+
background: inherit;
|
145
|
+
visibility: hidden;
|
146
|
+
}
|
147
|
+
.bk-popover-content .arrow::before {
|
148
|
+
position: absolute;
|
149
|
+
width: 8px;
|
150
|
+
height: 8px;
|
151
|
+
background: inherit;
|
152
|
+
content: '';
|
153
|
+
visibility: visible;
|
154
|
+
transform: rotate(45deg);
|
155
|
+
}
|
156
|
+
.bk-popover-content[data-popper-placement^='top'] > .arrow {
|
157
|
+
bottom: -4px;
|
158
|
+
}
|
159
|
+
.bk-popover-content[data-popper-placement^='bottom'] > .arrow {
|
160
|
+
top: -4px;
|
161
|
+
}
|
162
|
+
.bk-popover-content[data-popper-placement^='left'] > .arrow {
|
163
|
+
right: -4px;
|
164
|
+
}
|
165
|
+
.bk-popover-content[data-popper-placement^='right'] > .arrow {
|
166
|
+
left: -4px;
|
167
|
+
}
|
@@ -0,0 +1,104 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import { OnFirstUpdateFnType } from '@bkui-vue/shared';
|
3
|
+
export declare const PopoverProps: {
|
4
|
+
onAfterHidden: FunctionConstructor;
|
5
|
+
onAfterShow: FunctionConstructor;
|
6
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
7
|
+
default: boolean;
|
8
|
+
} & {
|
9
|
+
default: boolean;
|
10
|
+
};
|
11
|
+
always: import("vue-types").VueTypeValidableDef<boolean> & {
|
12
|
+
default: boolean;
|
13
|
+
} & {
|
14
|
+
default: boolean;
|
15
|
+
};
|
16
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
17
|
+
default: boolean;
|
18
|
+
} & {
|
19
|
+
default: boolean;
|
20
|
+
};
|
21
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
22
|
+
default: string | number;
|
23
|
+
};
|
24
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
25
|
+
default: string | number;
|
26
|
+
};
|
27
|
+
content: import("vue-types").VueTypeDef<string | number> & {
|
28
|
+
default: string | number;
|
29
|
+
};
|
30
|
+
/**
|
31
|
+
* 动画展示方式
|
32
|
+
*/
|
33
|
+
transition: import("vue-types").VueTypeValidableDef<string> & {
|
34
|
+
default: string;
|
35
|
+
} & {
|
36
|
+
default: string;
|
37
|
+
};
|
38
|
+
/**
|
39
|
+
* 组件显示位置
|
40
|
+
*/
|
41
|
+
placement: import("vue-types").VueTypeDef<string> & {
|
42
|
+
default: string;
|
43
|
+
};
|
44
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
45
|
+
default: string;
|
46
|
+
} & {
|
47
|
+
default: string;
|
48
|
+
};
|
49
|
+
/**
|
50
|
+
* handleFirstUpdate
|
51
|
+
*/
|
52
|
+
handleFirstUpdate: {
|
53
|
+
type: PropType<OnFirstUpdateFnType>;
|
54
|
+
default: () => void;
|
55
|
+
};
|
56
|
+
/**
|
57
|
+
* 触发方式
|
58
|
+
* 支持 click hover manual
|
59
|
+
* manual: 通过isShow控制显示、隐藏
|
60
|
+
*/
|
61
|
+
trigger: import("vue-types").VueTypeValidableDef<string> & {
|
62
|
+
default: string;
|
63
|
+
} & {
|
64
|
+
default: string;
|
65
|
+
};
|
66
|
+
arrow: import("vue-types").VueTypeValidableDef<boolean> & {
|
67
|
+
default: boolean;
|
68
|
+
} & {
|
69
|
+
default: boolean;
|
70
|
+
};
|
71
|
+
modifiers: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
72
|
+
default: () => unknown[];
|
73
|
+
} & {
|
74
|
+
default: () => unknown[];
|
75
|
+
};
|
76
|
+
/**
|
77
|
+
* 弹出内容绑定元素
|
78
|
+
*/
|
79
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
|
80
|
+
/**
|
81
|
+
* 如果设置了boundary为指定DOM,此配置项生效
|
82
|
+
* 是否将弹出内容固定到目标元素位置
|
83
|
+
* 例如:boundary = document.body, fixOnBoundary = true,则弹出内容会一直固定到body
|
84
|
+
*/
|
85
|
+
fixOnBoundary: import("vue-types").VueTypeValidableDef<boolean> & {
|
86
|
+
default: boolean;
|
87
|
+
} & {
|
88
|
+
default: boolean;
|
89
|
+
};
|
90
|
+
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
91
|
+
default: number;
|
92
|
+
} & {
|
93
|
+
default: number;
|
94
|
+
};
|
95
|
+
/**
|
96
|
+
* 弹出框鼠标点击事件是否阻止的点击事件行为
|
97
|
+
* 支持 stopPropagation stopImmediatePropagation preventDefault
|
98
|
+
* 用于在嵌套弹出或者元素定位导致的点击触发关闭问题
|
99
|
+
*/
|
100
|
+
stopBehaviors: import("vue-types").VueTypeDef<string | string[]> & {
|
101
|
+
default: string | (() => string[]);
|
102
|
+
};
|
103
|
+
};
|
104
|
+
export declare type PopoverPropTypes = Readonly<ExtractPropTypes<typeof PopoverProps>>;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare const enum EMITEVENTS {
|
2
|
+
SHOW = "show",
|
3
|
+
HIDE = "hide",
|
4
|
+
CLICK_OUTSIDE = "clickoutside"
|
5
|
+
}
|
6
|
+
export declare const EMIT_EVENT_TYPES: {
|
7
|
+
show: (..._args: any[]) => boolean;
|
8
|
+
hide: (..._args: any[]) => boolean;
|
9
|
+
clickoutside: (..._args: any[]) => boolean;
|
10
|
+
};
|
@@ -0,0 +1,24 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
3
|
+
default: string | number;
|
4
|
+
};
|
5
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
6
|
+
default: string | number;
|
7
|
+
};
|
8
|
+
}, {
|
9
|
+
style: import("vue").ComputedRef<{
|
10
|
+
width: string | number;
|
11
|
+
height: string | number;
|
12
|
+
}>;
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
14
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
15
|
+
default: string | number;
|
16
|
+
};
|
17
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
18
|
+
default: string | number;
|
19
|
+
};
|
20
|
+
}>>, {
|
21
|
+
width: string | number;
|
22
|
+
height: string | number;
|
23
|
+
}>;
|
24
|
+
export default _default;
|