bkui-vue 0.0.1-beta.14 → 0.0.1-beta.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -19
- package/dist/index.cjs.js +171 -0
- package/dist/index.esm.js +31770 -0
- package/dist/index.umd.js +171 -0
- package/dist/style.css +1 -4190
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +116 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +5 -3
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.less +7 -3
- package/lib/alert/alert.variable.css +35 -6
- package/lib/alert/index.d.ts +96 -60
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +48 -28
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.d.ts +28 -14
- package/lib/backtop/backtop.variable.css +30 -3
- package/lib/backtop/index.d.ts +111 -55
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +64 -22
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +35 -8
- package/lib/badge/index.d.ts +202 -84
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +61 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +91 -4
- package/lib/breadcrumb/index.d.ts +117 -45
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +92 -44
- package/lib/button/button.d.ts +76 -26
- package/lib/button/button.less +88 -46
- package/lib/button/button.variable.css +122 -47
- package/lib/button/index.d.ts +191 -102
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +74 -18
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +126 -4
- package/lib/card/index.d.ts +225 -69
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +48 -0
- package/lib/cascader/cascader.css +130 -0
- package/lib/cascader/cascader.d.ts +274 -0
- package/lib/cascader/cascader.less +146 -0
- package/lib/cascader/cascader.variable.css +243 -0
- package/lib/cascader/index.d.ts +733 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +44 -0
- package/lib/cascader/node.d.ts +24 -0
- package/lib/cascader/store.d.ts +15 -0
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +33 -6
- package/lib/checkbox/checkbox.d.ts +43 -32
- package/lib/checkbox/checkbox.less +44 -6
- package/lib/checkbox/checkbox.variable.css +63 -9
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +150 -104
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +3 -7
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +299 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +17 -1
- package/lib/collapse/collapse.d.ts +51 -22
- package/lib/collapse/collapse.less +24 -2
- package/lib/collapse/collapse.variable.css +130 -1
- package/lib/collapse/index.d.ts +127 -75
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/components.d.ts +26 -5
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +204 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/date-picker.css +3 -2
- package/lib/date-picker/date-picker.d.ts +92 -137
- package/lib/date-picker/date-picker.less +5 -2
- package/lib/date-picker/date-picker.variable.css +33 -5
- package/lib/date-picker/index.d.ts +504 -276
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/props.d.ts +118 -0
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.css +76 -20
- package/lib/dialog/dialog.d.ts +285 -52
- package/lib/dialog/dialog.less +54 -21
- package/lib/dialog/dialog.variable.css +76 -20
- package/lib/dialog/index.d.ts +665 -115
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -23
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +21 -13
- package/lib/divider/divider.variable.css +30 -3
- package/lib/divider/index.d.ts +84 -52
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +6 -5
- package/lib/dropdown/dropdown-menu.d.ts +6 -5
- package/lib/dropdown/dropdown.css +4 -0
- package/lib/dropdown/dropdown.d.ts +28 -14
- package/lib/dropdown/dropdown.less +5 -0
- package/lib/dropdown/dropdown.variable.css +34 -3
- package/lib/dropdown/index.d.ts +109 -69
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +30 -3
- package/lib/exception/index.d.ts +44 -36
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +30 -3
- package/lib/fixed-navbar/index.d.ts +96 -37
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +61 -45
- package/lib/form/form.css +96 -10
- package/lib/form/form.d.ts +45 -40
- package/lib/form/form.less +136 -34
- package/lib/form/form.variable.css +209 -10
- package/lib/form/index.d.ts +303 -3
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +8 -6
- package/lib/form/validator.d.ts +1 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.js +1 -0
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/error.js +1 -0
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.d.ts +34 -3
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +406 -199
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +232 -16
- package/lib/input/input.d.ts +171 -51
- package/lib/input/input.less +182 -19
- package/lib/input/input.variable.css +259 -15
- package/lib/link/index.d.ts +102 -54
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +30 -3
- package/lib/loading/index.d.ts +187 -71
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +177 -98
- package/lib/loading/loading.d.ts +109 -25
- package/lib/loading/loading.less +84 -73
- package/lib/loading/loading.variable.css +207 -101
- package/lib/menu/index.d.ts +82 -71
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu-group.d.ts +6 -5
- package/lib/menu/menu-item.d.ts +6 -5
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +16 -21
- package/lib/menu/menu.variable.css +81 -3
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +6 -5
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +33 -3
- package/lib/menu/utils.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +24 -3
- package/lib/message/message.less +27 -2
- package/lib/message/message.variable.css +54 -6
- package/lib/message/messageConstructor.d.ts +69 -21
- package/lib/modal/index.d.ts +517 -68
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +25 -1
- package/lib/modal/modal.d.ts +191 -24
- package/lib/modal/modal.less +33 -1
- package/lib/modal/modal.variable.css +25 -1
- package/lib/modal/props.mixin.d.ts +77 -10
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation-title.d.ts +10 -7
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +50 -24
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +31 -4
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +24 -4
- package/lib/notify/notify.less +27 -4
- package/lib/notify/notify.variable.css +54 -7
- package/lib/notify/notifyConstructor.d.ts +84 -24
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +292 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +322 -137
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +26 -13
- package/lib/popover/popover.d.ts +122 -45
- package/lib/popover/popover.less +59 -45
- package/lib/popover/popover.variable.css +56 -16
- package/lib/popover/props.d.ts +104 -0
- package/lib/popover2/arrow.d.ts +2 -0
- package/lib/popover2/const.d.ts +10 -0
- package/lib/popover2/content.d.ts +24 -0
- package/lib/popover2/index.d.ts +495 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover2.css +25 -0
- package/lib/popover2/popover2.d.ts +209 -0
- package/lib/popover2/popover2.less +35 -0
- package/lib/popover2/popover2.variable.css +138 -0
- package/lib/popover2/props.d.ts +108 -0
- package/lib/popover2/reference.d.ts +2 -0
- package/lib/popover2/root.d.ts +16 -0
- package/lib/popover2/use-floating.d.ts +20 -0
- package/lib/popover2/use-platform.d.ts +30 -0
- package/lib/popover2/use-popper-id.d.ts +7 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +123 -63
- package/lib/process/index.js +1 -15
- package/lib/process/process.css +2 -3
- package/lib/process/process.d.ts +31 -16
- package/lib/process/process.less +2 -3
- package/lib/process/process.variable.css +32 -6
- package/lib/progress/index.d.ts +305 -135
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +51 -3
- package/lib/progress/progress.d.ts +89 -36
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +81 -6
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +145 -96
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +30 -23
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +62 -57
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +181 -172
- package/lib/radio/radio.variable.css +94 -62
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +52 -40
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +189 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +302 -0
- package/lib/select/common.d.ts +20 -22
- package/lib/select/index.d.ts +1061 -705
- package/lib/select/index.js +1 -15
- package/lib/select/option.d.ts +23 -19
- package/lib/select/optionGroup.d.ts +36 -97
- package/lib/select/select.css +238 -70
- package/lib/select/select.d.ts +376 -192
- package/lib/select/select.less +284 -130
- package/lib/select/select.variable.css +268 -73
- package/lib/select/selectTagInput.d.ts +72 -0
- package/lib/select/type.d.ts +38 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +26 -4
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +50 -5
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +18 -0
- package/lib/shared/vue-types.d.ts +11 -7
- package/lib/sideslider/index.d.ts +432 -80
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +54 -10
- package/lib/sideslider/sideslider.d.ts +185 -30
- package/lib/sideslider/sideslider.less +71 -13
- package/lib/sideslider/sideslider.variable.css +84 -13
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -15
- package/lib/slider/slider-button.d.ts +15 -7
- package/lib/slider/slider.d.ts +84 -42
- package/lib/slider/slider.variable.css +30 -3
- package/lib/steps/index.d.ts +160 -108
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +17 -3
- package/lib/steps/steps.d.ts +40 -27
- package/lib/steps/steps.less +27 -3
- package/lib/steps/steps.variable.css +47 -6
- package/lib/styles/index.d.ts +13 -0
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +130 -0
- package/lib/styles/themes/themes.less +40 -3
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +201 -137
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +200 -135
- package/lib/switcher/switcher.d.ts +52 -36
- package/lib/switcher/switcher.less +190 -155
- package/lib/switcher/switcher.variable.css +230 -138
- package/lib/tab/index.d.ts +306 -282
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +102 -87
- package/lib/tab/tab-panel.d.ts +53 -26
- package/lib/tab/tab.css +25 -1
- package/lib/tab/tab.d.ts +59 -51
- package/lib/tab/tab.less +31 -19
- package/lib/tab/tab.variable.css +55 -4
- package/lib/table/const.d.ts +67 -0
- package/lib/table/index.d.ts +498 -70
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +88 -0
- package/lib/table/plugins/head-filter.variable.css +181 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/lib/table/plugins/head-sort.less +28 -0
- package/lib/table/plugins/head-sort.variable.css +135 -0
- package/lib/table/plugins/settings.css +129 -0
- package/lib/table/plugins/settings.less +157 -0
- package/lib/table/plugins/settings.variable.css +242 -0
- package/lib/table/props.d.ts +210 -2
- package/lib/table/render.d.ts +76 -5
- package/lib/table/table.css +1094 -15
- package/lib/table/table.d.ts +221 -14
- package/lib/table/table.less +253 -24
- package/lib/table/table.variable.css +1125 -19
- package/lib/table/use-common.d.ts +72 -0
- package/lib/table/utils.d.ts +84 -2
- package/lib/tag/index.d.ts +165 -274
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.less +110 -2
- package/lib/tag/tag.variable.css +127 -3
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +894 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +209 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +251 -0
- package/lib/tag-input/tag-input.variable.css +322 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +240 -0
- package/lib/timeline/timeline.variable.css +348 -0
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +365 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +139 -0
- package/lib/transfer/transfer.d.ts +160 -0
- package/lib/transfer/transfer.less +144 -0
- package/lib/transfer/transfer.variable.css +252 -0
- package/lib/tree/constant.d.ts +45 -0
- package/lib/tree/index.d.ts +469 -94
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +184 -0
- package/lib/tree/tree.css +176 -15
- package/lib/tree/tree.d.ts +201 -31
- package/lib/tree/tree.less +75 -38
- package/lib/tree/tree.variable.css +289 -15
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +33 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +34 -57
- package/lib/upload/index.d.ts +580 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +113 -0
- package/lib/upload/upload-list.d.ts +46 -0
- package/lib/upload/upload-trigger.d.ts +54 -0
- package/lib/upload/upload.css +417 -0
- package/lib/upload/upload.d.ts +252 -0
- package/lib/upload/upload.less +455 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +530 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +579 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +167 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +6 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +255 -0
- package/lib/virtual-render/virtual-render.less +22 -0
- package/lib/virtual-render/virtual-render.variable.css +146 -0
- package/lib/volar.components.d.ts +100 -0
- package/package.json +107 -86
- package/dist/bkui-vue.cjs.js +0 -10327
- package/dist/bkui-vue.esm.js +0 -10283
- package/dist/bkui-vue.umd.js +0 -10330
- package/lib/form/common.d.ts +0 -3
- package/lib/styles/index.js +0 -1
@@ -5,16 +5,31 @@ declare const BkFixedNavbar: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
extCls: string;
|
7
7
|
position: string;
|
8
|
+
modelValue: boolean;
|
8
9
|
navItems: unknown[];
|
9
|
-
}> & Omit<Readonly<{
|
10
|
-
navItems
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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, "extCls" | "position" | "modelValue" | "navItems">;
|
18
33
|
$attrs: {
|
19
34
|
[x: string]: unknown;
|
20
35
|
};
|
@@ -26,19 +41,34 @@ declare const BkFixedNavbar: {
|
|
26
41
|
}>;
|
27
42
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
28
43
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
29
|
-
$emit: (event:
|
44
|
+
$emit: (event: "click" | "update:modelValue", ...args: any[]) => void;
|
30
45
|
$el: any;
|
31
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
32
|
-
navItems
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
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, {
|
40
69
|
extCls: string;
|
41
70
|
position: string;
|
71
|
+
modelValue: boolean;
|
42
72
|
navItems: unknown[];
|
43
73
|
}> & {
|
44
74
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -60,29 +90,58 @@ declare const BkFixedNavbar: {
|
|
60
90
|
$forceUpdate: () => void;
|
61
91
|
$nextTick: typeof import("vue").nextTick;
|
62
92
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
63
|
-
} & Readonly<{
|
64
|
-
navItems
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
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;
|
72
116
|
__isFragment?: never;
|
73
117
|
__isTeleport?: never;
|
74
118
|
__isSuspense?: never;
|
75
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
76
|
-
navItems
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
} & {
|
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", {
|
84
142
|
extCls: string;
|
85
143
|
position: string;
|
144
|
+
modelValue: boolean;
|
86
145
|
navItems: unknown[];
|
87
146
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
88
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;
|
package/lib/form/form-item.d.ts
CHANGED
@@ -3,12 +3,8 @@ declare const formItemProps: {
|
|
3
3
|
label: import("vue-types").VueTypeValidableDef<string> & {
|
4
4
|
default: string;
|
5
5
|
};
|
6
|
-
labelWidth: import("vue-types").
|
7
|
-
|
8
|
-
};
|
9
|
-
labelPosition: import("vue-types").VueTypeValidableDef<string> & {
|
10
|
-
default: string;
|
11
|
-
};
|
6
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
7
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
12
8
|
property: import("vue-types").VueTypeValidableDef<string> & {
|
13
9
|
default: string;
|
14
10
|
} & {
|
@@ -44,18 +40,17 @@ declare const formItemProps: {
|
|
44
40
|
description: import("vue-types").VueTypeValidableDef<string> & {
|
45
41
|
default: string;
|
46
42
|
};
|
43
|
+
errorDisplayType: import("vue-types").VueTypeDef<string> & {
|
44
|
+
default: string;
|
45
|
+
};
|
47
46
|
};
|
48
47
|
export declare type FormItemProps = Readonly<ExtractPropTypes<typeof formItemProps>>;
|
49
48
|
declare const _default: import("vue").DefineComponent<{
|
50
49
|
label: import("vue-types").VueTypeValidableDef<string> & {
|
51
50
|
default: string;
|
52
51
|
};
|
53
|
-
labelWidth: import("vue-types").
|
54
|
-
|
55
|
-
};
|
56
|
-
labelPosition: import("vue-types").VueTypeValidableDef<string> & {
|
57
|
-
default: string;
|
58
|
-
};
|
52
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
53
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
59
54
|
property: import("vue-types").VueTypeValidableDef<string> & {
|
60
55
|
default: string;
|
61
56
|
} & {
|
@@ -91,50 +86,71 @@ declare const _default: import("vue").DefineComponent<{
|
|
91
86
|
description: import("vue-types").VueTypeValidableDef<string> & {
|
92
87
|
default: string;
|
93
88
|
};
|
89
|
+
errorDisplayType: import("vue-types").VueTypeDef<string> & {
|
90
|
+
default: string;
|
91
|
+
};
|
94
92
|
}, {
|
95
|
-
labelStyles: import("vue").ComputedRef<
|
96
|
-
|
93
|
+
labelStyles: import("vue").ComputedRef<any>;
|
94
|
+
isFormTypeVertical: import("vue").ComputedRef<boolean>;
|
95
|
+
validate: (trigger?: String) => Promise<boolean>;
|
97
96
|
clearValidate: () => void;
|
98
97
|
isError: import("vue").Ref<boolean>;
|
99
98
|
errorMessage: import("vue").Ref<string>;
|
100
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
101
|
-
label
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
} & {
|
99
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
100
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
101
|
+
default: string;
|
102
|
+
};
|
103
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
104
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
105
|
+
property: import("vue-types").VueTypeValidableDef<string> & {
|
106
|
+
default: string;
|
107
|
+
} & {
|
108
|
+
default: string;
|
109
|
+
};
|
110
|
+
required: import("vue-types").VueTypeValidableDef<boolean> & {
|
111
|
+
default: boolean;
|
112
|
+
} & {
|
113
|
+
default: boolean;
|
114
|
+
};
|
115
|
+
email: import("vue-types").VueTypeValidableDef<boolean> & {
|
116
|
+
default: boolean;
|
117
|
+
} & {
|
118
|
+
default: boolean;
|
119
|
+
};
|
120
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
121
|
+
default: number;
|
122
|
+
};
|
123
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
124
|
+
default: number;
|
125
|
+
};
|
126
|
+
maxlength: import("vue-types").VueTypeValidableDef<number> & {
|
127
|
+
default: number;
|
128
|
+
};
|
129
|
+
rules: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
130
|
+
default: () => unknown[];
|
131
|
+
};
|
132
|
+
autoCheck: import("vue-types").VueTypeValidableDef<boolean> & {
|
133
|
+
default: boolean;
|
134
|
+
} & {
|
135
|
+
default: boolean;
|
136
|
+
};
|
137
|
+
description: import("vue-types").VueTypeValidableDef<string> & {
|
138
|
+
default: string;
|
139
|
+
};
|
140
|
+
errorDisplayType: import("vue-types").VueTypeDef<string> & {
|
141
|
+
default: string;
|
142
|
+
};
|
143
|
+
}>>, {
|
114
144
|
label: string;
|
115
|
-
property: string;
|
116
|
-
email: boolean;
|
117
|
-
labelWidth: number;
|
118
|
-
labelPosition: string;
|
119
|
-
rules: unknown[];
|
120
145
|
required: boolean;
|
121
|
-
max: number;
|
122
|
-
min: number;
|
123
|
-
maxlength: number;
|
124
|
-
autoCheck: boolean;
|
125
|
-
description: string;
|
126
|
-
} & {}> & {}, {
|
127
|
-
label: string;
|
128
146
|
property: string;
|
129
147
|
email: boolean;
|
130
|
-
labelWidth: number;
|
131
|
-
labelPosition: string;
|
132
|
-
rules: unknown[];
|
133
|
-
required: boolean;
|
134
|
-
max: number;
|
135
148
|
min: number;
|
149
|
+
max: number;
|
136
150
|
maxlength: number;
|
151
|
+
rules: unknown[];
|
137
152
|
autoCheck: boolean;
|
138
153
|
description: string;
|
154
|
+
errorDisplayType: string;
|
139
155
|
}>;
|
140
156
|
export default _default;
|
package/lib/form/form.css
CHANGED
@@ -1,11 +1,31 @@
|
|
1
1
|
.bk-form {
|
2
2
|
text-align: left;
|
3
3
|
}
|
4
|
-
.bk-form .bk-form-item {
|
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 {
|
5
16
|
display: flex;
|
6
17
|
margin-bottom: 24px;
|
7
18
|
}
|
8
|
-
.bk-form .bk-form-label {
|
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;
|
9
29
|
width: 150px;
|
10
30
|
padding-right: 24px;
|
11
31
|
font-size: 14px;
|
@@ -13,12 +33,18 @@
|
|
13
33
|
line-height: 32px;
|
14
34
|
color: #63656e;
|
15
35
|
text-align: right;
|
36
|
+
flex: 0 0 auto;
|
16
37
|
}
|
17
|
-
.bk-form
|
38
|
+
.bk-form-label-description {
|
39
|
+
cursor: pointer;
|
40
|
+
border-bottom: 1px dashed #979ba5;
|
41
|
+
}
|
42
|
+
.bk-form-content {
|
18
43
|
position: relative;
|
19
44
|
line-height: 32px;
|
45
|
+
flex: 1;
|
20
46
|
}
|
21
|
-
.bk-form
|
47
|
+
.bk-form-error {
|
22
48
|
position: absolute;
|
23
49
|
left: 0;
|
24
50
|
padding-top: 4px;
|
@@ -27,13 +53,73 @@
|
|
27
53
|
color: #ea3636;
|
28
54
|
text-align: left;
|
29
55
|
}
|
30
|
-
.bk-form
|
31
|
-
|
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;
|
32
63
|
}
|
33
|
-
.bk-
|
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;
|
34
77
|
width: auto;
|
35
|
-
|
78
|
+
margin-left: -1px;
|
36
79
|
}
|
37
|
-
.bk-form
|
38
|
-
|
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;
|
39
125
|
}
|
package/lib/form/form.d.ts
CHANGED
@@ -1,16 +1,10 @@
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
2
|
-
declare const formProps: {
|
3
|
-
formType: import("vue-types").
|
4
|
-
default: string;
|
5
|
-
};
|
6
|
-
labelWidth: import("vue-types").VueTypeValidableDef<number> & {
|
7
|
-
default: number;
|
8
|
-
};
|
9
|
-
labelPosition: import("vue-types").VueTypeValidableDef<string> & {
|
10
|
-
default: string;
|
11
|
-
} & {
|
2
|
+
export declare const formProps: {
|
3
|
+
formType: import("vue-types").VueTypeDef<string> & {
|
12
4
|
default: string;
|
13
5
|
};
|
6
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
7
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
14
8
|
model: import("vue-types").VueTypeValidableDef<{
|
15
9
|
[key: string]: any;
|
16
10
|
}> & {
|
@@ -18,23 +12,47 @@ declare const formProps: {
|
|
18
12
|
[key: string]: any;
|
19
13
|
};
|
20
14
|
};
|
21
|
-
rules: import("vue-types").VueTypeValidableDef<
|
22
|
-
|
15
|
+
rules: import("vue-types").VueTypeValidableDef<{
|
16
|
+
[key: string]: any;
|
17
|
+
}> & {
|
18
|
+
default: () => {
|
19
|
+
[key: string]: any;
|
20
|
+
};
|
23
21
|
};
|
24
22
|
};
|
25
23
|
export declare type FormProps = Readonly<ExtractPropTypes<typeof formProps>>;
|
26
24
|
declare const _default: import("vue").DefineComponent<{
|
27
|
-
formType: import("vue-types").
|
25
|
+
formType: import("vue-types").VueTypeDef<string> & {
|
28
26
|
default: string;
|
29
27
|
};
|
30
|
-
labelWidth: import("vue-types").
|
31
|
-
|
28
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
29
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
30
|
+
model: import("vue-types").VueTypeValidableDef<{
|
31
|
+
[key: string]: any;
|
32
|
+
}> & {
|
33
|
+
default: () => {
|
34
|
+
[key: string]: any;
|
35
|
+
};
|
32
36
|
};
|
33
|
-
|
34
|
-
|
35
|
-
} & {
|
37
|
+
rules: import("vue-types").VueTypeValidableDef<{
|
38
|
+
[key: string]: any;
|
39
|
+
}> & {
|
40
|
+
default: () => {
|
41
|
+
[key: string]: any;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
}, {
|
45
|
+
handleSubmit: (event: Event) => void;
|
46
|
+
validate: (fields?: string | Array<string>) => Promise<{
|
47
|
+
[key: string]: any;
|
48
|
+
}>;
|
49
|
+
clearValidate: (fields?: string | Array<string>) => void;
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
51
|
+
formType: import("vue-types").VueTypeDef<string> & {
|
36
52
|
default: string;
|
37
53
|
};
|
54
|
+
labelWidth: import("vue-types").VueTypeDef<string | number>;
|
55
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
38
56
|
model: import("vue-types").VueTypeValidableDef<{
|
39
57
|
[key: string]: any;
|
40
58
|
}> & {
|
@@ -42,35 +60,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
42
60
|
[key: string]: any;
|
43
61
|
};
|
44
62
|
};
|
45
|
-
rules: import("vue-types").VueTypeValidableDef<
|
46
|
-
|
63
|
+
rules: import("vue-types").VueTypeValidableDef<{
|
64
|
+
[key: string]: any;
|
65
|
+
}> & {
|
66
|
+
default: () => {
|
67
|
+
[key: string]: any;
|
68
|
+
};
|
47
69
|
};
|
70
|
+
}>> & {
|
71
|
+
onSubmit?: (...args: any[]) => any;
|
48
72
|
}, {
|
49
|
-
|
50
|
-
[key: string]: any;
|
51
|
-
}>;
|
52
|
-
clearValidate: (fields: string | Array<string>) => void;
|
53
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
54
|
-
formType?: unknown;
|
55
|
-
labelWidth?: unknown;
|
56
|
-
labelPosition?: unknown;
|
57
|
-
model?: unknown;
|
58
|
-
rules?: unknown;
|
59
|
-
} & {
|
60
|
-
formType: string;
|
61
|
-
labelWidth: number;
|
62
|
-
labelPosition: string;
|
63
|
-
model: {
|
73
|
+
rules: {
|
64
74
|
[key: string]: any;
|
65
75
|
};
|
66
|
-
rules: unknown[];
|
67
|
-
} & {}> & {}, {
|
68
76
|
formType: string;
|
69
|
-
labelWidth: number;
|
70
|
-
labelPosition: string;
|
71
77
|
model: {
|
72
78
|
[key: string]: any;
|
73
79
|
};
|
74
|
-
rules: unknown[];
|
75
80
|
}>;
|
76
81
|
export default _default;
|