bkui-vue 0.0.1-beta.6 → 0.0.1-beta.62
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 +22762 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2009
- 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.d.ts +24 -15
- package/lib/alert/alert.variable.css +38 -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 +43 -22
- package/lib/button/button.d.ts +66 -30
- package/lib/button/button.less +49 -32
- package/lib/button/button.variable.css +81 -22
- 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 +12 -0
- package/lib/checkbox/checkbox.d.ts +33 -30
- package/lib/checkbox/checkbox.less +17 -0
- package/lib/checkbox/checkbox.variable.css +50 -0
- 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 +9 -12
- 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 +8 -0
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/collapse.less +10 -0
- package/lib/collapse/collapse.variable.css +8 -0
- package/lib/collapse/index.d.ts +166 -0
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +45 -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 +301 -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 +728 -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 +114 -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 -0
- 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 +145 -0
- package/lib/form/form.css +117 -0
- package/lib/form/form.d.ts +67 -0
- package/lib/form/form.less +145 -0
- package/lib/form/form.variable.css +216 -0
- package/lib/form/index.d.ts +273 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +21 -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/eye.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.d.ts +68 -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 +451 -0
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +78 -4
- package/lib/input/input.d.ts +120 -45
- 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 +118 -73
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +75 -58
- package/lib/loading/loading.variable.css +156 -73
- 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 +8 -2
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +9 -2
- package/lib/radio/radio.variable.css +46 -2
- 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 +248 -17
- package/lib/select/select.d.ts +282 -156
- package/lib/select/select.less +251 -46
- package/lib/select/select.variable.css +286 -17
- 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 +70 -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/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +8 -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 -0
- package/lib/steps/steps.css +288 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.less +324 -0
- package/lib/steps/steps.variable.css +387 -0
- 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 +443 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +165 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +148 -0
- package/lib/tab/tab.d.ts +140 -0
- package/lib/tab/tab.less +222 -0
- package/lib/tab/tab.variable.css +247 -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 +188 -0
- package/lib/table/render.d.ts +121 -0
- package/lib/table/table.css +373 -0
- package/lib/table/table.d.ts +114 -36
- package/lib/table/table.less +210 -1
- package/lib/table/table.variable.css +411 -0
- package/lib/table/use-common.d.ts +22 -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 +208 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +250 -0
- package/lib/tag-input/tag-input.variable.css +307 -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/index.d.ts +304 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +118 -0
- package/lib/tree/tree.css +52 -0
- package/lib/tree/tree.d.ts +126 -0
- package/lib/tree/tree.less +65 -0
- package/lib/tree/tree.variable.css +151 -0
- package/lib/tree/use-async.d.ts +5 -0
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +7 -0
- package/lib/tree/use-node-attribute.d.ts +14 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/util.d.ts +87 -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 +7 -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 +108 -79
- package/dist/bkui-vue.cjs.js +0 -4887
- package/dist/bkui-vue.esm.js +0 -4883
- package/dist/bkui-vue.umd.js +0 -4890
- package/lib/checkbox-group/index.js +0 -1
- package/lib/radio-button/index.js +0 -1
- package/lib/radio-group/index.js +0 -1
- 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
@@ -0,0 +1,451 @@
|
|
1
|
+
declare const BkInput: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
prefix: string;
|
7
|
+
type: string;
|
8
|
+
placeholder: string;
|
9
|
+
step: number;
|
10
|
+
disabled: boolean;
|
11
|
+
clearable: boolean;
|
12
|
+
readonly: boolean;
|
13
|
+
prefixIcon: string;
|
14
|
+
suffixIcon: string;
|
15
|
+
suffix: string;
|
16
|
+
max: number;
|
17
|
+
min: number;
|
18
|
+
maxlength: number;
|
19
|
+
behavior: string;
|
20
|
+
showWordLimit: boolean;
|
21
|
+
showControl: boolean;
|
22
|
+
showClearOnlyHover: boolean;
|
23
|
+
precision: number;
|
24
|
+
modelValue: string | number;
|
25
|
+
rows: number;
|
26
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
27
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
28
|
+
default: string;
|
29
|
+
} & {
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
36
|
+
default: boolean;
|
37
|
+
};
|
38
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
+
default: boolean;
|
40
|
+
};
|
41
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
42
|
+
default: string;
|
43
|
+
} & {
|
44
|
+
default: string;
|
45
|
+
};
|
46
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
47
|
+
default: string;
|
48
|
+
};
|
49
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
50
|
+
default: string;
|
51
|
+
};
|
52
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
53
|
+
default: string;
|
54
|
+
};
|
55
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
56
|
+
default: string;
|
57
|
+
};
|
58
|
+
step: import("vue-types").VueTypeDef<number> & {
|
59
|
+
default: number;
|
60
|
+
};
|
61
|
+
max: import("vue-types").VueTypeDef<number> & {
|
62
|
+
default: number;
|
63
|
+
};
|
64
|
+
min: import("vue-types").VueTypeDef<number> & {
|
65
|
+
default: number;
|
66
|
+
};
|
67
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
68
|
+
default: number;
|
69
|
+
};
|
70
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
71
|
+
default: string;
|
72
|
+
};
|
73
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
74
|
+
default: boolean;
|
75
|
+
};
|
76
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
77
|
+
default: boolean;
|
78
|
+
} & {
|
79
|
+
default: boolean;
|
80
|
+
};
|
81
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
82
|
+
default: boolean;
|
83
|
+
} & {
|
84
|
+
default: boolean;
|
85
|
+
};
|
86
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
87
|
+
default: number;
|
88
|
+
} & {
|
89
|
+
default: number;
|
90
|
+
} & {
|
91
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
92
|
+
};
|
93
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
94
|
+
default: string | number;
|
95
|
+
};
|
96
|
+
size: import("vue-types").VueTypeDef<string>;
|
97
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
98
|
+
default: number;
|
99
|
+
};
|
100
|
+
}>> & {
|
101
|
+
onChange?: (...args: any[]) => any;
|
102
|
+
onPaste?: (...args: any[]) => any;
|
103
|
+
onFocus?: (...args: any[]) => any;
|
104
|
+
onBlur?: (...args: any[]) => any;
|
105
|
+
onInput?: (...args: any[]) => any;
|
106
|
+
onKeydown?: (...args: any[]) => any;
|
107
|
+
onKeypress?: (...args: any[]) => any;
|
108
|
+
onKeyup?: (...args: any[]) => any;
|
109
|
+
onEnter?: (...args: any[]) => any;
|
110
|
+
onClear?: (...args: any[]) => any;
|
111
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
112
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "prefix" | "type" | "placeholder" | "step" | "disabled" | "clearable" | "readonly" | "prefixIcon" | "suffixIcon" | "suffix" | "max" | "min" | "maxlength" | "behavior" | "showWordLimit" | "showControl" | "showClearOnlyHover" | "precision" | "modelValue" | "rows">;
|
113
|
+
$attrs: {
|
114
|
+
[x: string]: unknown;
|
115
|
+
};
|
116
|
+
$refs: {
|
117
|
+
[x: string]: unknown;
|
118
|
+
};
|
119
|
+
$slots: Readonly<{
|
120
|
+
[name: string]: import("vue").Slot;
|
121
|
+
}>;
|
122
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
123
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
124
|
+
$emit: (event: "input" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "clear" | "update:modelValue" | "enter", ...args: any[]) => void;
|
125
|
+
$el: any;
|
126
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
127
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
128
|
+
default: string;
|
129
|
+
} & {
|
130
|
+
default: string;
|
131
|
+
};
|
132
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
133
|
+
default: boolean;
|
134
|
+
};
|
135
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
136
|
+
default: boolean;
|
137
|
+
};
|
138
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
139
|
+
default: boolean;
|
140
|
+
};
|
141
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
142
|
+
default: string;
|
143
|
+
} & {
|
144
|
+
default: string;
|
145
|
+
};
|
146
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
147
|
+
default: string;
|
148
|
+
};
|
149
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
150
|
+
default: string;
|
151
|
+
};
|
152
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
153
|
+
default: string;
|
154
|
+
};
|
155
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
156
|
+
default: string;
|
157
|
+
};
|
158
|
+
step: import("vue-types").VueTypeDef<number> & {
|
159
|
+
default: number;
|
160
|
+
};
|
161
|
+
max: import("vue-types").VueTypeDef<number> & {
|
162
|
+
default: number;
|
163
|
+
};
|
164
|
+
min: import("vue-types").VueTypeDef<number> & {
|
165
|
+
default: number;
|
166
|
+
};
|
167
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
168
|
+
default: number;
|
169
|
+
};
|
170
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
171
|
+
default: string;
|
172
|
+
};
|
173
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
174
|
+
default: boolean;
|
175
|
+
};
|
176
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
177
|
+
default: boolean;
|
178
|
+
} & {
|
179
|
+
default: boolean;
|
180
|
+
};
|
181
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
182
|
+
default: boolean;
|
183
|
+
} & {
|
184
|
+
default: boolean;
|
185
|
+
};
|
186
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
187
|
+
default: number;
|
188
|
+
} & {
|
189
|
+
default: number;
|
190
|
+
} & {
|
191
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
192
|
+
};
|
193
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
194
|
+
default: string | number;
|
195
|
+
};
|
196
|
+
size: import("vue-types").VueTypeDef<string>;
|
197
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
198
|
+
default: number;
|
199
|
+
};
|
200
|
+
}>> & {
|
201
|
+
onChange?: (...args: any[]) => any;
|
202
|
+
onPaste?: (...args: any[]) => any;
|
203
|
+
onFocus?: (...args: any[]) => any;
|
204
|
+
onBlur?: (...args: any[]) => any;
|
205
|
+
onInput?: (...args: any[]) => any;
|
206
|
+
onKeydown?: (...args: any[]) => any;
|
207
|
+
onKeypress?: (...args: any[]) => any;
|
208
|
+
onKeyup?: (...args: any[]) => any;
|
209
|
+
onEnter?: (...args: any[]) => any;
|
210
|
+
onClear?: (...args: any[]) => any;
|
211
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
212
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "clear" | "update:modelValue" | "enter")[], string, {
|
213
|
+
prefix: string;
|
214
|
+
type: string;
|
215
|
+
placeholder: string;
|
216
|
+
step: number;
|
217
|
+
disabled: boolean;
|
218
|
+
clearable: boolean;
|
219
|
+
readonly: boolean;
|
220
|
+
prefixIcon: string;
|
221
|
+
suffixIcon: string;
|
222
|
+
suffix: string;
|
223
|
+
max: number;
|
224
|
+
min: number;
|
225
|
+
maxlength: number;
|
226
|
+
behavior: string;
|
227
|
+
showWordLimit: boolean;
|
228
|
+
showControl: boolean;
|
229
|
+
showClearOnlyHover: boolean;
|
230
|
+
precision: number;
|
231
|
+
modelValue: string | number;
|
232
|
+
rows: number;
|
233
|
+
}> & {
|
234
|
+
beforeCreate?: (() => void) | (() => void)[];
|
235
|
+
created?: (() => void) | (() => void)[];
|
236
|
+
beforeMount?: (() => void) | (() => void)[];
|
237
|
+
mounted?: (() => void) | (() => void)[];
|
238
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
239
|
+
updated?: (() => void) | (() => void)[];
|
240
|
+
activated?: (() => void) | (() => void)[];
|
241
|
+
deactivated?: (() => void) | (() => void)[];
|
242
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
243
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
244
|
+
destroyed?: (() => void) | (() => void)[];
|
245
|
+
unmounted?: (() => void) | (() => void)[];
|
246
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
247
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
248
|
+
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)[];
|
249
|
+
};
|
250
|
+
$forceUpdate: () => void;
|
251
|
+
$nextTick: typeof import("vue").nextTick;
|
252
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
253
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
254
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
255
|
+
default: string;
|
256
|
+
} & {
|
257
|
+
default: string;
|
258
|
+
};
|
259
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
260
|
+
default: boolean;
|
261
|
+
};
|
262
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
263
|
+
default: boolean;
|
264
|
+
};
|
265
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
266
|
+
default: boolean;
|
267
|
+
};
|
268
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
269
|
+
default: string;
|
270
|
+
} & {
|
271
|
+
default: string;
|
272
|
+
};
|
273
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
274
|
+
default: string;
|
275
|
+
};
|
276
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
277
|
+
default: string;
|
278
|
+
};
|
279
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
280
|
+
default: string;
|
281
|
+
};
|
282
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
283
|
+
default: string;
|
284
|
+
};
|
285
|
+
step: import("vue-types").VueTypeDef<number> & {
|
286
|
+
default: number;
|
287
|
+
};
|
288
|
+
max: import("vue-types").VueTypeDef<number> & {
|
289
|
+
default: number;
|
290
|
+
};
|
291
|
+
min: import("vue-types").VueTypeDef<number> & {
|
292
|
+
default: number;
|
293
|
+
};
|
294
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
295
|
+
default: number;
|
296
|
+
};
|
297
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
298
|
+
default: string;
|
299
|
+
};
|
300
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
301
|
+
default: boolean;
|
302
|
+
};
|
303
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
304
|
+
default: boolean;
|
305
|
+
} & {
|
306
|
+
default: boolean;
|
307
|
+
};
|
308
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
309
|
+
default: boolean;
|
310
|
+
} & {
|
311
|
+
default: boolean;
|
312
|
+
};
|
313
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
314
|
+
default: number;
|
315
|
+
} & {
|
316
|
+
default: number;
|
317
|
+
} & {
|
318
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
319
|
+
};
|
320
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
321
|
+
default: string | number;
|
322
|
+
};
|
323
|
+
size: import("vue-types").VueTypeDef<string>;
|
324
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
325
|
+
default: number;
|
326
|
+
};
|
327
|
+
}>> & {
|
328
|
+
onChange?: (...args: any[]) => any;
|
329
|
+
onPaste?: (...args: any[]) => any;
|
330
|
+
onFocus?: (...args: any[]) => any;
|
331
|
+
onBlur?: (...args: any[]) => any;
|
332
|
+
onInput?: (...args: any[]) => any;
|
333
|
+
onKeydown?: (...args: any[]) => any;
|
334
|
+
onKeypress?: (...args: any[]) => any;
|
335
|
+
onKeyup?: (...args: any[]) => any;
|
336
|
+
onEnter?: (...args: any[]) => any;
|
337
|
+
onClear?: (...args: any[]) => any;
|
338
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
339
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
340
|
+
__isFragment?: never;
|
341
|
+
__isTeleport?: never;
|
342
|
+
__isSuspense?: never;
|
343
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
344
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
345
|
+
default: string;
|
346
|
+
} & {
|
347
|
+
default: string;
|
348
|
+
};
|
349
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
350
|
+
default: boolean;
|
351
|
+
};
|
352
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
353
|
+
default: boolean;
|
354
|
+
};
|
355
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
356
|
+
default: boolean;
|
357
|
+
};
|
358
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
359
|
+
default: string;
|
360
|
+
} & {
|
361
|
+
default: string;
|
362
|
+
};
|
363
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
364
|
+
default: string;
|
365
|
+
};
|
366
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
367
|
+
default: string;
|
368
|
+
};
|
369
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
370
|
+
default: string;
|
371
|
+
};
|
372
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
373
|
+
default: string;
|
374
|
+
};
|
375
|
+
step: import("vue-types").VueTypeDef<number> & {
|
376
|
+
default: number;
|
377
|
+
};
|
378
|
+
max: import("vue-types").VueTypeDef<number> & {
|
379
|
+
default: number;
|
380
|
+
};
|
381
|
+
min: import("vue-types").VueTypeDef<number> & {
|
382
|
+
default: number;
|
383
|
+
};
|
384
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
385
|
+
default: number;
|
386
|
+
};
|
387
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
388
|
+
default: string;
|
389
|
+
};
|
390
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
391
|
+
default: boolean;
|
392
|
+
};
|
393
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
394
|
+
default: boolean;
|
395
|
+
} & {
|
396
|
+
default: boolean;
|
397
|
+
};
|
398
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
399
|
+
default: boolean;
|
400
|
+
} & {
|
401
|
+
default: boolean;
|
402
|
+
};
|
403
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
404
|
+
default: number;
|
405
|
+
} & {
|
406
|
+
default: number;
|
407
|
+
} & {
|
408
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
409
|
+
};
|
410
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
411
|
+
default: string | number;
|
412
|
+
};
|
413
|
+
size: import("vue-types").VueTypeDef<string>;
|
414
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
415
|
+
default: number;
|
416
|
+
};
|
417
|
+
}>> & {
|
418
|
+
onChange?: (...args: any[]) => any;
|
419
|
+
onPaste?: (...args: any[]) => any;
|
420
|
+
onFocus?: (...args: any[]) => any;
|
421
|
+
onBlur?: (...args: any[]) => any;
|
422
|
+
onInput?: (...args: any[]) => any;
|
423
|
+
onKeydown?: (...args: any[]) => any;
|
424
|
+
onKeypress?: (...args: any[]) => any;
|
425
|
+
onKeyup?: (...args: any[]) => any;
|
426
|
+
onEnter?: (...args: any[]) => any;
|
427
|
+
onClear?: (...args: any[]) => any;
|
428
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
429
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "clear" | "update:modelValue" | "enter")[], "input" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "clear" | "update:modelValue" | "enter", {
|
430
|
+
prefix: string;
|
431
|
+
type: string;
|
432
|
+
placeholder: string;
|
433
|
+
step: number;
|
434
|
+
disabled: boolean;
|
435
|
+
clearable: boolean;
|
436
|
+
readonly: boolean;
|
437
|
+
prefixIcon: string;
|
438
|
+
suffixIcon: string;
|
439
|
+
suffix: string;
|
440
|
+
max: number;
|
441
|
+
min: number;
|
442
|
+
maxlength: number;
|
443
|
+
behavior: string;
|
444
|
+
showWordLimit: boolean;
|
445
|
+
showControl: boolean;
|
446
|
+
showClearOnlyHover: boolean;
|
447
|
+
precision: number;
|
448
|
+
modelValue: string | number;
|
449
|
+
rows: number;
|
450
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
451
|
+
export default BkInput;
|
package/lib/input/index.js
CHANGED
@@ -1,15 +1 @@
|
|
1
|
-
!function(e,
|
2
|
-
/*! *****************************************************************************
|
3
|
-
Copyright (c) Microsoft Corporation.
|
4
|
-
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
6
|
-
purpose with or without fee is hereby granted.
|
7
|
-
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
15
|
-
***************************************************************************** */var i={type:o.PropTypes.string.def("text"),clearable:o.PropTypes.bool,disabled:o.PropTypes.bool,readonly:o.PropTypes.bool,placeholder:o.PropTypes.string,prefixIcon:o.PropTypes.string,suffixIcon:o.PropTypes.string,suffix:o.PropTypes.string,prefix:o.PropTypes.string,step:o.PropTypes.integer,max:o.PropTypes.integer,min:o.PropTypes.integer,maxlength:o.PropTypes.integer,showWordLimit:o.PropTypes.bool,showControl:o.PropTypes.bool.def(!0),precision:o.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]),size:o.PropTypes.size()},u=t.defineComponent({name:"BkInput",inheritAttrs:!1,emits:["update:modelValue","focus","blur","change","input"],props:i,setup:function(e,r){var l=t.ref(!1),i="bk-input",u=r.attrs,s=u.class,p=u.style,c=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}(u,["class","style"]),d=t.computed((function(){var t;return o.classes((a(t={},"".concat(i,"--").concat(e.size),!!e.size),a(t,"is-focused",l.value),a(t,"is-readonly",e.readonly),a(t,"is-disabled",e.disabled),a(t,"".concat(s),!!s),t),i)})),f={search:function(){return t.createVNode(n.Search,null,null)},password:function(){return t.createVNode(n.Eye,{onClick:I},null)}},m=k("suffix-icon"),v=t.computed((function(){var o=f[e.type];return x.value?t.createVNode(n.Unvisible,{onClick:I,class:m},null):o?t.createVNode(o,{class:m},null):null})),y=t.computed((function(){return"number"===e.type})),b=t.computed((function(){return Math.floor(e.maxlength)})),x=t.ref(!1);function g(){r.emit("update:modelValue",""),r.emit("change","")}function h(e){l.value=!0,r.emit("focus",e)}function V(e){l.value=!1,r.emit("blur",e)}function P(e){r.emit("update:modelValue",y.value?+e.target.value:e.target.value),r.emit("input",e.target.value)}function T(e){r.emit("change",e.target.value,e)}function N(t){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Number.isInteger(e.precision)?e.precision:0,r=parseFloat(e.modelValue.toString()),l=Number.isInteger(t)?t:1,a=r+(o?l:-1*l);return Number.isInteger(e.max)&&(a=Math.min(a,e.max)),Number.isInteger(e.min)&&(a=Math.max(a,e.min)),+a.toFixed(n)}function O(){var t=N(parseInt(String(e.step),10));r.emit("update:modelValue",t)}function w(){var t=N(parseInt(String(e.step),10),!1);r.emit("update:modelValue",t)}function k(e){return"".concat(i,"--").concat(e)}function I(){x.value=!x.value}return function(){var o,l,a,u,s,f;return t.createVNode("div",{class:d.value,style:p},[null!==(a=null===(l=null===(o=r.slots)||void 0===o?void 0:o.prefix)||void 0===l?void 0:l.call(o))&&void 0!==a?a:e.prefix&&t.createVNode("div",{class:k("prefix-area")},[t.createVNode("span",{class:k("prefix-area--text")},[e.prefix])]),t.createVNode("input",t.mergeProps(c,{class:"".concat(i,"--text"),value:e.modelValue,type:x.value&&"password"===e.type?"text":e.type,maxlength:e.maxlength,step:e.step,max:e.max,min:e.min,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled,onInput:P,onFocus:h,onBlur:V,onChange:T}),null),e.clearable&&!!e.modelValue&&t.createVNode(n.Close,{onClick:g,class:m},null),v.value,"number"==typeof e.maxlength&&e.showWordLimit&&t.createVNode("p",{class:k("max-length")},[e.modelValue.toString().length,t.createTextVNode("/"),t.createVNode("span",null,[b.value])]),y.value&&e.showControl&&t.createVNode("div",{class:k("number-control")},[t.createVNode(n.DownSmall,{onClick:O},null),t.createVNode(n.DownSmall,{onClick:w},null)]),null!==(f=null===(s=null===(u=r.slots)||void 0===u?void 0:u.suffix)||void 0===s?void 0:s.call(u))&&void 0!==f?f:e.suffix&&t.createVNode("div",{class:k("suffix-area")},[t.createVNode("span",{class:k("suffix-area--text")},[e.suffix])])])}}});u.install=function(e){e.component(u.name,u)},e.default=u,Object.defineProperty(e,"__esModule",{value:!0})}));
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue"),require("../icon")):r(e["../shared"],e.vue,e["../icon"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t)=>(()=>{"use strict";var o={6870:e=>{e.exports=t},4212:r=>{r.exports=e},748:e=>{e.exports=r}},n={};function a(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{a.r(l),a.d(l,{default:()=>p});var e=a(4212);function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function t(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var o=a(748);Object.create,Object.create;var n=a(6870),u={type:e.PropTypes.string.def("text"),clearable:e.PropTypes.bool,disabled:e.PropTypes.bool,readonly:e.PropTypes.bool,placeholder:e.PropTypes.string.def("Enter"),prefixIcon:e.PropTypes.string,suffixIcon:e.PropTypes.string,suffix:e.PropTypes.string,prefix:e.PropTypes.string,step:e.PropTypes.integer,max:e.PropTypes.integer,min:e.PropTypes.integer,maxlength:e.PropTypes.integer,behavior:e.PropTypes.commonType(["simplicity","normal"]).def("normal"),showWordLimit:e.PropTypes.bool,showControl:e.PropTypes.bool.def(!0),showClearOnlyHover:e.PropTypes.bool.def(!1),precision:e.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),size:e.PropTypes.size(),rows:e.PropTypes.number},i=["update:modelValue","focus","blur","change","clear","input","keypress","keydown","keyup","enter","paste"],s=(0,e.stringEnum)([].concat(i));const c=(0,o.defineComponent)({name:"Input",inheritAttrs:!1,props:u,emits:[].concat(i),setup:function(a,l){var u=(0,o.ref)(!1),i=(0,o.ref)(!1),c=(0,o.computed)((function(){return"textarea"===a.type})),p=(0,o.computed)((function(){return c.value?"bk-textarea":"bk-input"})),d=l.attrs,f=d.class,y=d.style,m=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t}(d,["class","style"]),v=(0,o.ref)(),b=(0,o.computed)((function(){var r;return(0,e.classes)((t(r={},"".concat(p.value,"--").concat(a.size),!!a.size),t(r,"is-focused",u.value),t(r,"is-readonly",a.readonly),t(r,"is-disabled",a.disabled),t(r,"is-simplicity","simplicity"===a.behavior),t(r,"".concat(f),!!f),r),p.value)})),g={search:function(){return(0,o.createVNode)(n.Search,null,null)},password:function(){return(0,o.createVNode)(n.Eye,{onClick:W},null)}},x=U("suffix-icon"),h=(0,o.computed)((function(){var e=g[a.type];return V.value?(0,o.createVNode)(n.Unvisible,{onClick:W,class:x},null):e?(0,o.createVNode)(e,{class:x},null):null})),P=(0,o.computed)((function(){return"number"===a.type})),T=(0,o.computed)((function(){return Math.floor(a.maxlength)})),V=(0,o.ref)(!1),w=(0,o.computed)((function(){return(0,e.classes)({"show-clear-only-hover":a.showClearOnlyHover},x)}));function N(){l.emit(s["update:modelValue"],""),l.emit(s.change,""),l.emit(s.clear)}function O(e){u.value=!0,l.emit(s.focus,e)}function j(e){u.value=!1,l.emit(s.blur,e)}l.expose({focus:function(){v.value.focus()},clear:N});var S,C,k=(S=[s.keyup,s.keydown,s.keypress,s.paste,s.change,s.input].map((function(e){return function(r){"Enter"!==r.code&&"Enter"!==r.key&&13!==r.keyCode||l.emit(s.enter,r.target.value,r),i.value&&[s.input,s.change].some((function(r){return e===r}))||(e===s.input&&l.emit(s["update:modelValue"],P.value?+r.target.value:r.target.value),l.emit(e,r.target.value,r))}})),C=6,function(e){if(Array.isArray(e))return e}(S)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a=[],l=!0,u=!1;try{for(t=t.call(e);!(l=(o=t.next()).done)&&(a.push(o.value),!r||a.length!==r);l=!0);}catch(e){u=!0,n=e}finally{try{l||null==t.return||t.return()}finally{if(u)throw n}}return a}}(S,C)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}(S,C)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),I=k[0],A=k[1],E=k[2],q=k[3],M=k[4],z=k[5];function F(){i.value=!0}function K(e){i.value=!1,z(e)}function D(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=parseInt(String(e),10),o=Number.isInteger(a.precision)?a.precision:0,n=parseFloat(a.modelValue.toString()),l=Number.isInteger(t)?t:1,u=n+(r?l:-1*l);return Number.isInteger(a.max)&&(u=Math.min(u,a.max)),Number.isInteger(a.min)&&(u=Math.max(u,a.min)),+u.toFixed(o)}function H(){var e=D(a.step);l.emit(s["update:modelValue"],e)}function L(){var e=D(a.step,!1);l.emit(s["update:modelValue"],e)}function U(e){return"".concat(p.value,"--").concat(e)}function W(){V.value=!V.value}var _=(0,o.computed)((function(){return{value:a.modelValue,maxlength:a.maxlength,placeholder:a.placeholder,readonly:a.readonly,disabled:a.disabled,onInput:z,onFocus:O,onBlur:j,onPaste:q,onChange:M,onKeypress:E,onKeydown:A,onKeyup:I,onCompositionstart:F,onCompositionend:K}}));return function(){var e,r,t,u,i,s;return(0,o.createVNode)("div",{class:b.value,style:y},[null!==(t=null===(r=null===(e=l.slots)||void 0===e?void 0:e.prefix)||void 0===r?void 0:r.call(e))&&void 0!==t?t:a.prefix&&(0,o.createVNode)("div",{class:U("prefix-area")},[(0,o.createVNode)("span",{class:U("prefix-area--text")},[a.prefix])]),c.value?(0,o.createVNode)("textarea",(0,o.mergeProps)({ref:v},m,_.value,{rows:a.rows}),null):(0,o.createVNode)("input",(0,o.mergeProps)(m,{ref:v,class:"".concat(p.value,"--text"),type:V.value&&"password"===a.type?"text":a.type,step:a.step,max:a.max,min:a.min},_.value),null),!c.value&&a.clearable&&!!a.modelValue&&(0,o.createVNode)(n.Close,{onClick:N,class:w.value},null),h.value,"number"==typeof a.maxlength&&(a.showWordLimit||c.value)&&(0,o.createVNode)("p",{class:U("max-length")},[a.modelValue.toString().length,(0,o.createTextVNode)("/"),(0,o.createVNode)("span",null,[T.value])]),P.value&&a.showControl&&(0,o.createVNode)("div",{class:U("number-control")},[(0,o.createVNode)(n.DownSmall,{onClick:H},null),(0,o.createVNode)(n.DownSmall,{onClick:L},null)]),null!==(s=null===(i=null===(u=l.slots)||void 0===u?void 0:u.suffix)||void 0===i?void 0:i.call(u))&&void 0!==s?s:a.suffix&&(0,o.createVNode)("div",{class:U("suffix-area")},[(0,o.createVNode)("span",{class:U("suffix-area--text")},[a.suffix])])])}}}),p=(0,e.withInstall)(c)})(),l})()));
|
package/lib/input/input.css
CHANGED
@@ -19,39 +19,110 @@
|
|
19
19
|
.bk-fade-transtion .bk-fade-leave-to {
|
20
20
|
opacity: 0;
|
21
21
|
}
|
22
|
+
.clearfix-style::after {
|
23
|
+
display: block;
|
24
|
+
height: 0;
|
25
|
+
clear: both;
|
26
|
+
font-size: 0;
|
27
|
+
content: '';
|
28
|
+
visibility: hidden;
|
29
|
+
}
|
30
|
+
.bk-textarea {
|
31
|
+
width: 100%;
|
32
|
+
min-height: 70px;
|
33
|
+
font-size: 12px;
|
34
|
+
line-height: 20px;
|
35
|
+
background-color: white;
|
36
|
+
border: 1px solid #c4c6cc;
|
37
|
+
border-radius: 2px;
|
38
|
+
box-sizing: border-box;
|
39
|
+
transition: all 0.3s;
|
40
|
+
}
|
41
|
+
.bk-textarea > textarea {
|
42
|
+
width: 100%;
|
43
|
+
padding: 5px 10px;
|
44
|
+
line-height: 1.5;
|
45
|
+
text-align: left;
|
46
|
+
vertical-align: middle;
|
47
|
+
border: 0;
|
48
|
+
outline: none;
|
49
|
+
resize: none;
|
50
|
+
}
|
51
|
+
.bk-textarea--max-length {
|
52
|
+
padding-right: 10px;
|
53
|
+
margin: 0;
|
54
|
+
text-align: right;
|
55
|
+
}
|
56
|
+
.bk-textarea--max-length span {
|
57
|
+
color: #979ba5;
|
58
|
+
}
|
22
59
|
.bk-input {
|
23
60
|
display: flex;
|
24
61
|
align-items: stretch;
|
62
|
+
width: 100%;
|
25
63
|
height: 32px;
|
26
64
|
font-size: 12px;
|
27
65
|
border: 1px solid #c4c6cc;
|
28
66
|
border-radius: 2px;
|
29
67
|
transition: all 0.3s;
|
30
68
|
}
|
69
|
+
.bk-input:hover .show-clear-only-hover {
|
70
|
+
display: block;
|
71
|
+
}
|
72
|
+
.bk-input.is-simplicity {
|
73
|
+
background-color: transparent;
|
74
|
+
border-color: transparent;
|
75
|
+
border-bottom-color: #c4c6cc;
|
76
|
+
}
|
31
77
|
.bk-input--suffix-icon {
|
32
78
|
padding-right: 10px;
|
33
79
|
font-size: 16px;
|
80
|
+
line-height: 1;
|
34
81
|
color: #c4c6cc;
|
35
82
|
align-self: center;
|
36
83
|
}
|
84
|
+
.bk-input--suffix-icon.show-clear-only-hover {
|
85
|
+
display: none;
|
86
|
+
}
|
37
87
|
.bk-input--large {
|
38
88
|
height: 38px;
|
89
|
+
font-size: 14px;
|
90
|
+
}
|
91
|
+
.bk-input--large .bk-input--max-length {
|
39
92
|
font-size: 16px;
|
40
93
|
}
|
41
94
|
.bk-input--small {
|
42
95
|
height: 26px;
|
43
96
|
font-size: 12px;
|
44
97
|
}
|
98
|
+
.bk-input--small .bk-input--max-length {
|
99
|
+
font-size: 12px;
|
100
|
+
}
|
101
|
+
.bk-input--default {
|
102
|
+
font-size: 12px;
|
103
|
+
}
|
104
|
+
.bk-input--default .bk-input--max-length {
|
105
|
+
font-size: 12px;
|
106
|
+
}
|
45
107
|
.bk-input.is-focused:not(.is-readonly) {
|
46
108
|
border-color: #3a84ff;
|
47
109
|
outline: 0;
|
48
110
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
49
111
|
}
|
50
|
-
.bk-input.is-
|
112
|
+
.bk-input.is-focused:not(.is-readonly).is-simplicity {
|
113
|
+
border-color: transparent;
|
114
|
+
border-bottom-color: #3a84ff;
|
115
|
+
box-shadow: none;
|
116
|
+
}
|
117
|
+
.bk-input.is-disabled input,
|
118
|
+
.bk-input.is-readonly input {
|
51
119
|
cursor: not-allowed;
|
52
120
|
background-color: #fafbfd;
|
53
121
|
opacity: 1;
|
54
122
|
}
|
123
|
+
.bk-input.is-readonly input {
|
124
|
+
cursor: auto;
|
125
|
+
}
|
55
126
|
.bk-input--prefix-area,
|
56
127
|
.bk-input--suffix-area {
|
57
128
|
display: flex;
|
@@ -73,8 +144,8 @@
|
|
73
144
|
color: #979ba5;
|
74
145
|
}
|
75
146
|
.bk-input--text {
|
147
|
+
width: 100%;
|
76
148
|
padding: 0 10px;
|
77
|
-
font-size: 12px;
|
78
149
|
line-height: 1;
|
79
150
|
color: #63656e;
|
80
151
|
background-color: white;
|
@@ -91,12 +162,12 @@
|
|
91
162
|
.bk-input--text[type='search']::-webkit-search-results-decoration {
|
92
163
|
appearance: none;
|
93
164
|
}
|
94
|
-
.bk-input--text [type=search]::-ms-clear {
|
165
|
+
.bk-input--text [type='search']::-ms-clear {
|
95
166
|
display: none;
|
96
167
|
width: 0;
|
97
168
|
height: 0;
|
98
169
|
}
|
99
|
-
.bk-input--text [type=search]::-ms-reveal {
|
170
|
+
.bk-input--text [type='search']::-ms-reveal {
|
100
171
|
display: none;
|
101
172
|
width: 0;
|
102
173
|
height: 0;
|
@@ -114,12 +185,15 @@
|
|
114
185
|
height: 100%;
|
115
186
|
font-size: 0;
|
116
187
|
flex-direction: column;
|
188
|
+
user-select: none;
|
117
189
|
}
|
118
190
|
.bk-input--number-control span {
|
119
191
|
display: block;
|
120
192
|
height: 50%;
|
121
193
|
overflow: hidden;
|
194
|
+
line-height: 1;
|
122
195
|
color: #c4c6cc;
|
196
|
+
text-align: center;
|
123
197
|
}
|
124
198
|
.bk-input--number-control svg {
|
125
199
|
font-size: 16px;
|