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
@@ -1,12 +1,15 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
6
7
|
--danger-color: #ea3636;
|
7
8
|
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
8
10
|
--light-gray: #c4c6cc;
|
9
11
|
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
10
13
|
--disable-color: #dcdee5;
|
11
14
|
--font-size-base: 12px;
|
12
15
|
--font-size-medium: 14px;
|
@@ -58,6 +61,41 @@
|
|
58
61
|
--link-success-disabled-color: #94f5a4;
|
59
62
|
--link-warning-disabled-color: #ffd695;
|
60
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;
|
61
99
|
}
|
62
100
|
.bk-fixed-navbar {
|
63
101
|
position: fixed;
|
@@ -0,0 +1,147 @@
|
|
1
|
+
declare const BkFixedNavbar: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
position: string;
|
7
|
+
extCls: string;
|
8
|
+
modelValue: boolean;
|
9
|
+
navItems: unknown[];
|
10
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
11
|
+
navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
12
|
+
default: () => unknown[];
|
13
|
+
} & {
|
14
|
+
default: () => unknown[];
|
15
|
+
};
|
16
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
17
|
+
default: string;
|
18
|
+
} & {
|
19
|
+
default: string;
|
20
|
+
};
|
21
|
+
position: import("vue-types").VueTypeDef<string> & {
|
22
|
+
default: string;
|
23
|
+
};
|
24
|
+
modelValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
25
|
+
default: boolean;
|
26
|
+
} & {
|
27
|
+
default: boolean;
|
28
|
+
};
|
29
|
+
}>> & {
|
30
|
+
onClick?: (...args: any[]) => any;
|
31
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
32
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "position" | "extCls" | "modelValue" | "navItems">;
|
33
|
+
$attrs: {
|
34
|
+
[x: string]: unknown;
|
35
|
+
};
|
36
|
+
$refs: {
|
37
|
+
[x: string]: unknown;
|
38
|
+
};
|
39
|
+
$slots: Readonly<{
|
40
|
+
[name: string]: import("vue").Slot;
|
41
|
+
}>;
|
42
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
43
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
44
|
+
$emit: (event: "click" | "update:modelValue", ...args: any[]) => void;
|
45
|
+
$el: any;
|
46
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
47
|
+
navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
48
|
+
default: () => unknown[];
|
49
|
+
} & {
|
50
|
+
default: () => unknown[];
|
51
|
+
};
|
52
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
53
|
+
default: string;
|
54
|
+
} & {
|
55
|
+
default: string;
|
56
|
+
};
|
57
|
+
position: import("vue-types").VueTypeDef<string> & {
|
58
|
+
default: string;
|
59
|
+
};
|
60
|
+
modelValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
61
|
+
default: boolean;
|
62
|
+
} & {
|
63
|
+
default: boolean;
|
64
|
+
};
|
65
|
+
}>> & {
|
66
|
+
onClick?: (...args: any[]) => any;
|
67
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
68
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue")[], string, {
|
69
|
+
position: string;
|
70
|
+
extCls: string;
|
71
|
+
modelValue: boolean;
|
72
|
+
navItems: unknown[];
|
73
|
+
}> & {
|
74
|
+
beforeCreate?: (() => void) | (() => void)[];
|
75
|
+
created?: (() => void) | (() => void)[];
|
76
|
+
beforeMount?: (() => void) | (() => void)[];
|
77
|
+
mounted?: (() => void) | (() => void)[];
|
78
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
79
|
+
updated?: (() => void) | (() => void)[];
|
80
|
+
activated?: (() => void) | (() => void)[];
|
81
|
+
deactivated?: (() => void) | (() => void)[];
|
82
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
83
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
84
|
+
destroyed?: (() => void) | (() => void)[];
|
85
|
+
unmounted?: (() => void) | (() => void)[];
|
86
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
87
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
88
|
+
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)[];
|
89
|
+
};
|
90
|
+
$forceUpdate: () => void;
|
91
|
+
$nextTick: typeof import("vue").nextTick;
|
92
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
93
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
94
|
+
navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
95
|
+
default: () => unknown[];
|
96
|
+
} & {
|
97
|
+
default: () => unknown[];
|
98
|
+
};
|
99
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
100
|
+
default: string;
|
101
|
+
} & {
|
102
|
+
default: string;
|
103
|
+
};
|
104
|
+
position: import("vue-types").VueTypeDef<string> & {
|
105
|
+
default: string;
|
106
|
+
};
|
107
|
+
modelValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
108
|
+
default: boolean;
|
109
|
+
} & {
|
110
|
+
default: boolean;
|
111
|
+
};
|
112
|
+
}>> & {
|
113
|
+
onClick?: (...args: any[]) => any;
|
114
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
115
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
116
|
+
__isFragment?: never;
|
117
|
+
__isTeleport?: never;
|
118
|
+
__isSuspense?: never;
|
119
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
120
|
+
navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
121
|
+
default: () => unknown[];
|
122
|
+
} & {
|
123
|
+
default: () => unknown[];
|
124
|
+
};
|
125
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
126
|
+
default: string;
|
127
|
+
} & {
|
128
|
+
default: string;
|
129
|
+
};
|
130
|
+
position: import("vue-types").VueTypeDef<string> & {
|
131
|
+
default: string;
|
132
|
+
};
|
133
|
+
modelValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
134
|
+
default: boolean;
|
135
|
+
} & {
|
136
|
+
default: boolean;
|
137
|
+
};
|
138
|
+
}>> & {
|
139
|
+
onClick?: (...args: any[]) => any;
|
140
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
141
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue")[], "click" | "update:modelValue", {
|
142
|
+
position: string;
|
143
|
+
extCls: string;
|
144
|
+
modelValue: boolean;
|
145
|
+
navItems: unknown[];
|
146
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
147
|
+
export default BkFixedNavbar;
|
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"
|
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 i=r[e]={exports:{}};return o[e](i,i.exports,n),i.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 i={};return(()=>{n.r(i),n.d(i,{default:()=>r});var e=n(4212),t=n(748);const o=(0,t.defineComponent)({name:"FixedNavbar",props:{navItems:e.PropTypes.array.def([]),extCls:e.PropTypes.string.def(""),position:e.PropTypes.oneOf(["middle","top","bottom"]).def("middle"),modelValue:e.PropTypes.bool.def(!0)},emits:["update:modelValue","click"],setup:function(o,r){var n=this,i=r.emit,a=o.navItems.map((function(e){return Object.assign({tooltip:{disabled:!0},action:function(){},icon:"",text:""},e)})),s=e.bkZIndexManager.getModalNextIndex(),d=function(e){i("click",e),e.action()};return function(){return o.modelValue&&(0,t.createVNode)("div",{class:"bk-fixed-navbar ".concat(o.extCls," ").concat(o.position),style:{zIndex:s}},[a.map((function(e){return(0,t.createVNode)("div",{class:"fixed-navbar-item",onClick:d.bind(n,e)},[e.icon?(0,t.createVNode)("i",{class:"".concat(e.icon," icon")},null):"",e.text?(0,t.createVNode)("span",{class:"text"},[e.text]):""])}))])}}}),r=(0,e.withInstall)(o)})(),i})()));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
headBackgroundColor: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
tailBackgroundColor: StringConstructor;
|
7
|
+
}, 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<{
|
8
|
+
headBackgroundColor: {
|
9
|
+
type: StringConstructor;
|
10
|
+
default: string;
|
11
|
+
};
|
12
|
+
tailBackgroundColor: StringConstructor;
|
13
|
+
}>>, {
|
14
|
+
headBackgroundColor: string;
|
15
|
+
}>;
|
16
|
+
export default _default;
|
@@ -0,0 +1,155 @@
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
2
|
+
declare const formItemProps: {
|
3
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
7
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
8
|
+
property: import("vue-types").VueTypeValidableDef<string> & {
|
9
|
+
default: string;
|
10
|
+
} & {
|
11
|
+
default: string;
|
12
|
+
};
|
13
|
+
required: import("vue-types").VueTypeValidableDef<boolean> & {
|
14
|
+
default: boolean;
|
15
|
+
} & {
|
16
|
+
default: boolean;
|
17
|
+
};
|
18
|
+
email: import("vue-types").VueTypeValidableDef<boolean> & {
|
19
|
+
default: boolean;
|
20
|
+
} & {
|
21
|
+
default: boolean;
|
22
|
+
};
|
23
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
24
|
+
default: number;
|
25
|
+
};
|
26
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
27
|
+
default: number;
|
28
|
+
};
|
29
|
+
maxlength: import("vue-types").VueTypeValidableDef<number> & {
|
30
|
+
default: number;
|
31
|
+
};
|
32
|
+
rules: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
33
|
+
default: () => unknown[];
|
34
|
+
};
|
35
|
+
autoCheck: import("vue-types").VueTypeValidableDef<boolean> & {
|
36
|
+
default: boolean;
|
37
|
+
} & {
|
38
|
+
default: boolean;
|
39
|
+
};
|
40
|
+
description: import("vue-types").VueTypeValidableDef<string> & {
|
41
|
+
default: string;
|
42
|
+
};
|
43
|
+
errorDisplayType: import("vue-types").VueTypeDef<string> & {
|
44
|
+
default: string;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
export declare type FormItemProps = Readonly<ExtractPropTypes<typeof formItemProps>>;
|
48
|
+
declare const _default: import("vue").DefineComponent<{
|
49
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
50
|
+
default: string;
|
51
|
+
};
|
52
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
53
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
54
|
+
property: import("vue-types").VueTypeValidableDef<string> & {
|
55
|
+
default: string;
|
56
|
+
} & {
|
57
|
+
default: string;
|
58
|
+
};
|
59
|
+
required: import("vue-types").VueTypeValidableDef<boolean> & {
|
60
|
+
default: boolean;
|
61
|
+
} & {
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
email: import("vue-types").VueTypeValidableDef<boolean> & {
|
65
|
+
default: boolean;
|
66
|
+
} & {
|
67
|
+
default: boolean;
|
68
|
+
};
|
69
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
70
|
+
default: number;
|
71
|
+
};
|
72
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
73
|
+
default: number;
|
74
|
+
};
|
75
|
+
maxlength: import("vue-types").VueTypeValidableDef<number> & {
|
76
|
+
default: number;
|
77
|
+
};
|
78
|
+
rules: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
79
|
+
default: () => unknown[];
|
80
|
+
};
|
81
|
+
autoCheck: import("vue-types").VueTypeValidableDef<boolean> & {
|
82
|
+
default: boolean;
|
83
|
+
} & {
|
84
|
+
default: boolean;
|
85
|
+
};
|
86
|
+
description: import("vue-types").VueTypeValidableDef<string> & {
|
87
|
+
default: string;
|
88
|
+
};
|
89
|
+
errorDisplayType: import("vue-types").VueTypeDef<string> & {
|
90
|
+
default: string;
|
91
|
+
};
|
92
|
+
}, {
|
93
|
+
labelStyles: import("vue").ComputedRef<object>;
|
94
|
+
validate: (trigger: String) => Promise<boolean>;
|
95
|
+
clearValidate: () => void;
|
96
|
+
isError: import("vue").Ref<boolean>;
|
97
|
+
errorMessage: import("vue").Ref<string>;
|
98
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
99
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
100
|
+
default: string;
|
101
|
+
};
|
102
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
103
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
104
|
+
property: import("vue-types").VueTypeValidableDef<string> & {
|
105
|
+
default: string;
|
106
|
+
} & {
|
107
|
+
default: string;
|
108
|
+
};
|
109
|
+
required: import("vue-types").VueTypeValidableDef<boolean> & {
|
110
|
+
default: boolean;
|
111
|
+
} & {
|
112
|
+
default: boolean;
|
113
|
+
};
|
114
|
+
email: import("vue-types").VueTypeValidableDef<boolean> & {
|
115
|
+
default: boolean;
|
116
|
+
} & {
|
117
|
+
default: boolean;
|
118
|
+
};
|
119
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
120
|
+
default: number;
|
121
|
+
};
|
122
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
123
|
+
default: number;
|
124
|
+
};
|
125
|
+
maxlength: import("vue-types").VueTypeValidableDef<number> & {
|
126
|
+
default: number;
|
127
|
+
};
|
128
|
+
rules: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
129
|
+
default: () => unknown[];
|
130
|
+
};
|
131
|
+
autoCheck: import("vue-types").VueTypeValidableDef<boolean> & {
|
132
|
+
default: boolean;
|
133
|
+
} & {
|
134
|
+
default: boolean;
|
135
|
+
};
|
136
|
+
description: import("vue-types").VueTypeValidableDef<string> & {
|
137
|
+
default: string;
|
138
|
+
};
|
139
|
+
errorDisplayType: import("vue-types").VueTypeDef<string> & {
|
140
|
+
default: string;
|
141
|
+
};
|
142
|
+
}>>, {
|
143
|
+
label: string;
|
144
|
+
required: boolean;
|
145
|
+
property: string;
|
146
|
+
email: boolean;
|
147
|
+
max: number;
|
148
|
+
min: number;
|
149
|
+
maxlength: number;
|
150
|
+
description: string;
|
151
|
+
rules: unknown[];
|
152
|
+
autoCheck: boolean;
|
153
|
+
errorDisplayType: string;
|
154
|
+
}>;
|
155
|
+
export default _default;
|
@@ -0,0 +1,125 @@
|
|
1
|
+
.bk-form {
|
2
|
+
text-align: left;
|
3
|
+
}
|
4
|
+
.bk-form--vertical .bk-form-item {
|
5
|
+
flex-direction: column;
|
6
|
+
}
|
7
|
+
.bk-form--vertical .bk-form-label {
|
8
|
+
width: auto;
|
9
|
+
padding-right: 0;
|
10
|
+
text-align: left;
|
11
|
+
}
|
12
|
+
.bk-form--vertical .bk-form-content {
|
13
|
+
text-align: left;
|
14
|
+
}
|
15
|
+
.bk-form-item {
|
16
|
+
display: flex;
|
17
|
+
margin-bottom: 24px;
|
18
|
+
}
|
19
|
+
.bk-form-item.is-required .bk-form-label:after {
|
20
|
+
position: absolute;
|
21
|
+
width: 14px;
|
22
|
+
line-height: 32px;
|
23
|
+
color: #ea3636;
|
24
|
+
text-align: center;
|
25
|
+
content: '*';
|
26
|
+
}
|
27
|
+
.bk-form-label {
|
28
|
+
position: relative;
|
29
|
+
width: 150px;
|
30
|
+
padding-right: 24px;
|
31
|
+
font-size: 14px;
|
32
|
+
font-weight: normal;
|
33
|
+
line-height: 32px;
|
34
|
+
color: #63656e;
|
35
|
+
text-align: right;
|
36
|
+
flex: 0 0 auto;
|
37
|
+
}
|
38
|
+
.bk-form-label-description {
|
39
|
+
cursor: pointer;
|
40
|
+
border-bottom: 1px dashed #979ba5;
|
41
|
+
}
|
42
|
+
.bk-form-content {
|
43
|
+
position: relative;
|
44
|
+
line-height: 32px;
|
45
|
+
flex: 1;
|
46
|
+
}
|
47
|
+
.bk-form-error {
|
48
|
+
position: absolute;
|
49
|
+
left: 0;
|
50
|
+
padding-top: 4px;
|
51
|
+
font-size: 12px;
|
52
|
+
line-height: 1;
|
53
|
+
color: #ea3636;
|
54
|
+
text-align: left;
|
55
|
+
}
|
56
|
+
.bk-form-error-tips {
|
57
|
+
position: absolute;
|
58
|
+
top: 8px;
|
59
|
+
right: 8px;
|
60
|
+
font-size: 16px;
|
61
|
+
line-height: 1;
|
62
|
+
color: #ea3636;
|
63
|
+
}
|
64
|
+
.bk-compose-form-item {
|
65
|
+
display: inline-block;
|
66
|
+
}
|
67
|
+
.bk-compose-form-item > .bk-input,
|
68
|
+
.bk-compose-form-item > .bk-textarea,
|
69
|
+
.bk-compose-form-item > .bk-select,
|
70
|
+
.bk-compose-form-item > .bk-cascade,
|
71
|
+
.bk-compose-form-item > .bk-color-picker,
|
72
|
+
.bk-compose-form-item > .bk-date-picker,
|
73
|
+
.bk-compose-form-item > .bk-tag-input,
|
74
|
+
.bk-compose-form-item > .bk-tag-selector,
|
75
|
+
.bk-compose-form-item > .bk-search-select {
|
76
|
+
float: left;
|
77
|
+
width: auto;
|
78
|
+
margin-left: -1px;
|
79
|
+
}
|
80
|
+
.bk-compose-form-item .bk-input,
|
81
|
+
.bk-compose-form-item .bk-form-password,
|
82
|
+
.bk-compose-form-item .bk-textarea,
|
83
|
+
.bk-compose-form-item .bk-select,
|
84
|
+
.bk-compose-form-item .bk-cascade,
|
85
|
+
.bk-compose-form-item .bk-color-picker,
|
86
|
+
.bk-compose-form-item .bk-date-picker .bk-date-picker-editor,
|
87
|
+
.bk-compose-form-item .bk-tag-input,
|
88
|
+
.bk-compose-form-item .bk-search-select {
|
89
|
+
border-radius: 0;
|
90
|
+
}
|
91
|
+
.bk-compose-form-item .bk-input.control-active,
|
92
|
+
.bk-compose-form-item .bk-select.is-focus,
|
93
|
+
.bk-compose-form-item .bk-cascade.is-focus,
|
94
|
+
.bk-compose-form-item .bk-color-picker.bk-color-picker-show-dropdown,
|
95
|
+
.bk-compose-form-item .bk-color-picker:hover,
|
96
|
+
.bk-compose-form-item .bk-date-picker .bk-date-picker-editor:focus,
|
97
|
+
.bk-compose-form-item .bk-tag-input.active,
|
98
|
+
.bk-compose-form-item .bk-tag-selector,
|
99
|
+
.bk-compose-form-item .bk-search-select.is-focus {
|
100
|
+
z-index: 1;
|
101
|
+
opacity: 1;
|
102
|
+
}
|
103
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-input,
|
104
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-select,
|
105
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-cascade,
|
106
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-color-picker,
|
107
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-date-picker .bk-date-picker-editor,
|
108
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-tag-input,
|
109
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-tag-input,
|
110
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-search-select {
|
111
|
+
margin-left: 0;
|
112
|
+
border-top-right-radius: 0px;
|
113
|
+
border-bottom-right-radius: 0px;
|
114
|
+
}
|
115
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-input,
|
116
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-select,
|
117
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-cascade,
|
118
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-color-picker,
|
119
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-date-picker,
|
120
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-tag-input,
|
121
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-tag-input,
|
122
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-search-select {
|
123
|
+
border-top-right-radius: 2px;
|
124
|
+
border-bottom-right-radius: 2px;
|
125
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const formProps: {
|
3
|
+
formType: import("vue-types").VueTypeDef<string> & {
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
7
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
8
|
+
model: import("vue-types").VueTypeValidableDef<{
|
9
|
+
[key: string]: any;
|
10
|
+
}> & {
|
11
|
+
default: () => {
|
12
|
+
[key: string]: any;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
rules: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
16
|
+
default: () => unknown[];
|
17
|
+
};
|
18
|
+
};
|
19
|
+
export declare type FormProps = Readonly<ExtractPropTypes<typeof formProps>>;
|
20
|
+
declare const _default: import("vue").DefineComponent<{
|
21
|
+
formType: import("vue-types").VueTypeDef<string> & {
|
22
|
+
default: string;
|
23
|
+
};
|
24
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
25
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
26
|
+
model: import("vue-types").VueTypeValidableDef<{
|
27
|
+
[key: string]: any;
|
28
|
+
}> & {
|
29
|
+
default: () => {
|
30
|
+
[key: string]: any;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
rules: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
34
|
+
default: () => unknown[];
|
35
|
+
};
|
36
|
+
}, {
|
37
|
+
handleSubmit: (event: Event) => void;
|
38
|
+
validate: (fields: string | Array<string>) => Promise<{
|
39
|
+
[key: string]: any;
|
40
|
+
}>;
|
41
|
+
clearValidate: (fields: string | Array<string>) => void;
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
43
|
+
formType: import("vue-types").VueTypeDef<string> & {
|
44
|
+
default: string;
|
45
|
+
};
|
46
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
47
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
48
|
+
model: import("vue-types").VueTypeValidableDef<{
|
49
|
+
[key: string]: any;
|
50
|
+
}> & {
|
51
|
+
default: () => {
|
52
|
+
[key: string]: any;
|
53
|
+
};
|
54
|
+
};
|
55
|
+
rules: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
56
|
+
default: () => unknown[];
|
57
|
+
};
|
58
|
+
}>> & {
|
59
|
+
onSubmit?: (...args: any[]) => any;
|
60
|
+
}, {
|
61
|
+
formType: string;
|
62
|
+
model: {
|
63
|
+
[key: string]: any;
|
64
|
+
};
|
65
|
+
rules: unknown[];
|
66
|
+
}>;
|
67
|
+
export default _default;
|