bkui-vue 0.0.1-beta.4 → 0.0.1-beta.40
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 +20295 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2009
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.js +1 -0
- package/lib/alert/alert.variable.css +32 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/animate-number.js +1 -0
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.js +1 -0
- package/lib/backtop/backtop.variable.css +32 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/badge/badge.d.ts +40 -19
- package/lib/badge/badge.js +1 -0
- package/lib/badge/badge.variable.css +32 -0
- package/lib/badge/index.d.ts +217 -0
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.js +1 -0
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +42 -1
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +12 -0
- package/lib/button/button.d.ts +57 -28
- package/lib/button/button.js +1 -0
- package/lib/button/button.less +26 -15
- package/lib/button/button.variable.css +44 -0
- package/lib/button/index.d.ts +226 -0
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.js +1 -0
- package/lib/card/card.variable.css +32 -0
- package/lib/card/index.d.ts +187 -0
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.d.ts +31 -22
- package/lib/checkbox/checkbox.js +1 -0
- package/lib/checkbox/checkbox.variable.css +32 -0
- package/lib/checkbox/common.d.ts +1 -1
- package/lib/checkbox/index.d.ts +261 -0
- package/lib/checkbox/type.d.ts +7 -6
- 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.js +1 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +279 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/collapse/collapse.css +8 -0
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/collapse.js +1 -0
- 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/components.d.ts +41 -0
- package/lib/date-picker/date-picker.css +407 -0
- package/lib/date-picker/date-picker.d.ts +294 -0
- package/lib/date-picker/date-picker.js +1 -0
- package/lib/date-picker/date-picker.less +526 -0
- package/lib/date-picker/date-picker.variable.css +500 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +713 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +111 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.d.ts +57 -27
- package/lib/dialog/dialog.js +1 -0
- package/lib/dialog/index.d.ts +286 -0
- package/lib/directives/clickoutside.d.ts +3 -0
- package/lib/directives/directives.js +2 -0
- package/lib/directives/directives.js.LICENSE.txt +14 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.js +1 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +131 -0
- package/lib/divider/index.d.ts +142 -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 +43 -0
- package/lib/dropdown/dropdown.d.ts +61 -0
- package/lib/dropdown/dropdown.js +1 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +136 -0
- package/lib/dropdown/index.d.ts +192 -0
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.js +1 -0
- package/lib/exception/exception.variable.css +32 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.js +1 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +32 -0
- package/lib/fixed-navbar/index.d.ts +112 -0
- package/lib/form/common.d.ts +3 -0
- package/lib/form/form-item.d.ts +145 -0
- package/lib/form/form.css +48 -0
- package/lib/form/form.d.ts +64 -0
- package/lib/form/form.js +1 -0
- package/lib/form/form.less +63 -0
- package/lib/form/form.variable.css +48 -0
- package/lib/form/index.d.ts +246 -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/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/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.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/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/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/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/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/icon.js +1 -0
- package/lib/icon/index.d.ts +53 -0
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/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/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/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/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 +4 -0
- package/lib/input/index.d.ts +443 -0
- package/lib/input/input.css +61 -3
- package/lib/input/input.d.ts +116 -47
- package/lib/input/input.js +1 -0
- package/lib/input/input.less +79 -7
- package/lib/input/input.variable.css +94 -3
- package/lib/link/index.d.ts +164 -0
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.js +1 -0
- package/lib/link/link.variable.css +32 -0
- package/lib/loading/index.d.ts +164 -0
- package/lib/loading/loading.css +109 -73
- package/lib/loading/loading.d.ts +61 -20
- package/lib/loading/loading.js +1 -0
- package/lib/loading/loading.less +74 -58
- package/lib/loading/loading.variable.css +141 -73
- package/lib/menu/index.d.ts +188 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +182 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.js +1 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +275 -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 +96 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/message.css +53 -0
- package/lib/message/message.js +1 -0
- package/lib/message/message.less +61 -0
- package/lib/message/message.variable.css +146 -0
- package/lib/message/messageConstructor.d.ts +73 -0
- package/lib/modal/index.d.ts +214 -0
- package/lib/modal/modal.d.ts +33 -15
- package/lib/modal/modal.js +1 -0
- package/lib/modal/props.mixin.d.ts +5 -1
- package/lib/navigation/index.d.ts +2 -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.js +1 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +277 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.js +1 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +142 -0
- package/lib/notify/notifyConstructor.d.ts +91 -0
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.js +1 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +272 -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 +287 -0
- package/lib/popover/popover.css +23 -14
- package/lib/popover/popover.d.ts +75 -46
- package/lib/popover/popover.js +1 -0
- package/lib/popover/popover.less +57 -46
- package/lib/popover/popover.variable.css +55 -14
- package/lib/popover/props.d.ts +77 -0
- package/lib/preset.d.ts +7 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.js +1 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +231 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/progress.css +0 -3
- package/lib/progress/progress.d.ts +88 -35
- package/lib/progress/progress.js +1 -0
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +32 -3
- package/lib/radio/common.d.ts +1 -1
- package/lib/radio/index.d.ts +277 -0
- package/lib/radio/radio-button.d.ts +24 -16
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +8 -2
- package/lib/radio/radio.d.ts +23 -13
- package/lib/radio/radio.js +1 -0
- package/lib/radio/radio.less +9 -2
- package/lib/radio/radio.variable.css +40 -2
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.d.ts +113 -0
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/rate.js +1 -0
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -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.js +1 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +282 -0
- package/lib/select/common.d.ts +23 -17
- package/lib/select/index.d.ts +1347 -0
- package/lib/select/option.d.ts +12 -19
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +243 -17
- package/lib/select/select.d.ts +268 -155
- package/lib/select/select.js +1 -0
- package/lib/select/select.less +245 -46
- package/lib/select/select.variable.css +275 -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 +52 -0
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +32 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -1
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +57 -6
- package/lib/shared/shared.js +1 -0
- 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 +206 -0
- package/lib/sideslider/sideslider.d.ts +39 -18
- package/lib/sideslider/sideslider.js +1 -0
- package/lib/sideslider/sideslider.variable.css +32 -0
- package/{changelog.config.js → lib/slider/index.d.ts} +2 -8
- 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.js +1 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +242 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/steps.css +288 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.js +1 -0
- package/lib/steps/steps.less +324 -0
- package/lib/steps/steps.variable.css +381 -0
- package/lib/styles/index.d.ts +47 -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 +52 -2
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.js +1 -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/switcher.css +149 -135
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.js +1 -0
- package/lib/switcher/switcher.less +210 -154
- package/lib/switcher/switcher.variable.css +181 -135
- package/lib/tab/index.d.ts +443 -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.js +1 -0
- package/lib/tab/tab.less +222 -0
- package/lib/tab/tab.variable.css +241 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +302 -0
- package/lib/table/props.d.ts +117 -0
- package/lib/table/render.d.ts +83 -0
- package/lib/table/table.css +91 -0
- package/lib/table/table.d.ts +88 -36
- package/lib/table/table.js +1 -0
- package/lib/table/table.less +111 -1
- package/lib/table/table.variable.css +123 -0
- package/lib/table/utils.d.ts +69 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.js +1 -0
- package/lib/tag/tag.less +110 -2
- package/lib/tag/tag.variable.css +129 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +2 -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.js +1 -0
- package/lib/tag-input/tag-input.less +250 -0
- package/lib/tag-input/tag-input.variable.css +301 -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/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.js +1 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +328 -0
- package/lib/transfer/index.d.ts +351 -0
- package/lib/transfer/transfer.css +158 -0
- package/lib/transfer/transfer.d.ts +185 -0
- package/lib/transfer/transfer.js +1 -0
- package/lib/transfer/transfer.less +171 -0
- package/lib/transfer/transfer.variable.css +251 -0
- package/lib/tree/index.d.ts +287 -0
- package/lib/tree/props.d.ts +89 -0
- package/lib/tree/tree.css +50 -0
- package/lib/tree/tree.d.ts +111 -0
- package/lib/tree/tree.js +1 -0
- package/lib/tree/tree.less +63 -0
- package/lib/tree/tree.variable.css +143 -0
- package/lib/tree/util.d.ts +70 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +556 -0
- package/lib/virtual-render/props.d.ts +157 -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 +244 -0
- package/lib/virtual-render/virtual-render.js +1 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +74 -74
- 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/alert/index.js +0 -1
- package/lib/animate-number/index.js +0 -1
- package/lib/backtop/index.js +0 -1
- package/lib/badge/index.js +0 -1
- package/lib/breadcrumb/index.js +0 -1
- package/lib/button/index.js +0 -1
- package/lib/card/index.js +0 -1
- package/lib/checkbox/index.js +0 -1
- package/lib/checkbox-group/index.js +0 -1
- package/lib/collapse/index.js +0 -1
- package/lib/dialog/index.js +0 -1
- package/lib/directives/index.js +0 -15
- package/lib/exception/index.js +0 -1
- package/lib/fixed-navbar/index.js +0 -1
- package/lib/icon/index.js +0 -15
- package/lib/input/index.js +0 -15
- package/lib/link/index.js +0 -1
- package/lib/loading/index.js +0 -1
- package/lib/modal/index.js +0 -1
- package/lib/popover/index.js +0 -1
- package/lib/progress/index.js +0 -1
- package/lib/radio/index.js +0 -1
- package/lib/radio-button/index.js +0 -1
- package/lib/radio-group/index.js +0 -1
- package/lib/rate/index.js +0 -1
- package/lib/select/index.js +0 -1
- package/lib/shared/index.js +0 -1
- package/lib/sideslider/index.js +0 -1
- package/lib/styles/index.js +0 -1
- package/lib/switcher/index.js +0 -1
- package/lib/table/common.d.ts +0 -3
- package/lib/table/index.js +0 -1
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
- package/lib/tag/index.js +0 -1
package/lib/input/input.d.ts
CHANGED
@@ -41,6 +41,9 @@ export declare const inputType: {
|
|
41
41
|
maxlength: import("vue-types").VueTypeDef<number> & {
|
42
42
|
default: number;
|
43
43
|
};
|
44
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
45
|
+
default: string;
|
46
|
+
};
|
44
47
|
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
48
|
default: boolean;
|
46
49
|
};
|
@@ -49,6 +52,11 @@ export declare const inputType: {
|
|
49
52
|
} & {
|
50
53
|
default: boolean;
|
51
54
|
};
|
55
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
56
|
+
default: boolean;
|
57
|
+
} & {
|
58
|
+
default: boolean;
|
59
|
+
};
|
52
60
|
precision: import("vue-types").VueTypeValidableDef<number> & {
|
53
61
|
default: number;
|
54
62
|
} & {
|
@@ -56,8 +64,13 @@ export declare const inputType: {
|
|
56
64
|
} & {
|
57
65
|
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
58
66
|
};
|
59
|
-
modelValue: import("vue-types").VueTypeDef<string | number
|
67
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
68
|
+
default: string | number;
|
69
|
+
};
|
60
70
|
size: import("vue-types").VueTypeDef<string>;
|
71
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
72
|
+
default: number;
|
73
|
+
};
|
61
74
|
};
|
62
75
|
export declare type InputType = ExtractPropTypes<typeof inputType>;
|
63
76
|
declare const _default: import("vue").DefineComponent<{
|
@@ -102,6 +115,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
102
115
|
maxlength: import("vue-types").VueTypeDef<number> & {
|
103
116
|
default: number;
|
104
117
|
};
|
118
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
119
|
+
default: string;
|
120
|
+
};
|
105
121
|
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
106
122
|
default: boolean;
|
107
123
|
};
|
@@ -110,6 +126,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
110
126
|
} & {
|
111
127
|
default: boolean;
|
112
128
|
};
|
129
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
130
|
+
default: boolean;
|
131
|
+
} & {
|
132
|
+
default: boolean;
|
133
|
+
};
|
113
134
|
precision: import("vue-types").VueTypeValidableDef<number> & {
|
114
135
|
default: number;
|
115
136
|
} & {
|
@@ -117,69 +138,117 @@ declare const _default: import("vue").DefineComponent<{
|
|
117
138
|
} & {
|
118
139
|
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
119
140
|
};
|
120
|
-
modelValue: import("vue-types").VueTypeDef<string | number
|
141
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
142
|
+
default: string | number;
|
143
|
+
};
|
121
144
|
size: import("vue-types").VueTypeDef<string>;
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
145
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
146
|
+
default: number;
|
147
|
+
};
|
148
|
+
}, () => 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", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
149
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
150
|
+
default: string;
|
151
|
+
} & {
|
152
|
+
default: string;
|
153
|
+
};
|
154
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
155
|
+
default: boolean;
|
156
|
+
};
|
157
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
158
|
+
default: boolean;
|
159
|
+
};
|
160
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
161
|
+
default: boolean;
|
162
|
+
};
|
163
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
164
|
+
default: string;
|
165
|
+
};
|
166
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
167
|
+
default: string;
|
168
|
+
};
|
169
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
170
|
+
default: string;
|
171
|
+
};
|
172
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
173
|
+
default: string;
|
174
|
+
};
|
175
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
176
|
+
default: string;
|
177
|
+
};
|
178
|
+
step: import("vue-types").VueTypeDef<number> & {
|
179
|
+
default: number;
|
180
|
+
};
|
181
|
+
max: import("vue-types").VueTypeDef<number> & {
|
182
|
+
default: number;
|
183
|
+
};
|
184
|
+
min: import("vue-types").VueTypeDef<number> & {
|
185
|
+
default: number;
|
186
|
+
};
|
187
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
188
|
+
default: number;
|
189
|
+
};
|
190
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
191
|
+
default: string;
|
192
|
+
};
|
193
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
194
|
+
default: boolean;
|
195
|
+
};
|
196
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
197
|
+
default: boolean;
|
198
|
+
} & {
|
199
|
+
default: boolean;
|
200
|
+
};
|
201
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
202
|
+
default: boolean;
|
203
|
+
} & {
|
204
|
+
default: boolean;
|
205
|
+
};
|
206
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
207
|
+
default: number;
|
208
|
+
} & {
|
209
|
+
default: number;
|
210
|
+
} & {
|
211
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
212
|
+
};
|
213
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
214
|
+
default: string | number;
|
215
|
+
};
|
216
|
+
size: import("vue-types").VueTypeDef<string>;
|
217
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
218
|
+
default: number;
|
219
|
+
};
|
220
|
+
}>> & {
|
221
|
+
onPaste?: (...args: any[]) => any;
|
162
222
|
onFocus?: (...args: any[]) => any;
|
163
223
|
onBlur?: (...args: any[]) => any;
|
164
224
|
onChange?: (...args: any[]) => any;
|
165
225
|
onInput?: (...args: any[]) => any;
|
226
|
+
onKeydown?: (...args: any[]) => any;
|
227
|
+
onKeypress?: (...args: any[]) => any;
|
228
|
+
onKeyup?: (...args: any[]) => any;
|
166
229
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
230
|
+
onClear?: (...args: any[]) => any;
|
231
|
+
onEnter?: (...args: any[]) => any;
|
167
232
|
}, {
|
233
|
+
type: string;
|
168
234
|
placeholder: string;
|
169
235
|
prefix: string;
|
170
236
|
step: number;
|
171
237
|
disabled: boolean;
|
172
|
-
|
173
|
-
clearable: boolean;
|
238
|
+
modelValue: string | number;
|
174
239
|
readonly: boolean;
|
175
|
-
|
176
|
-
|
177
|
-
suffix: string;
|
240
|
+
clearable: boolean;
|
241
|
+
behavior: string;
|
178
242
|
max: number;
|
179
243
|
min: number;
|
180
244
|
maxlength: number;
|
245
|
+
prefixIcon: string;
|
246
|
+
suffixIcon: string;
|
247
|
+
suffix: string;
|
181
248
|
showWordLimit: boolean;
|
182
249
|
showControl: boolean;
|
250
|
+
showClearOnlyHover: boolean;
|
183
251
|
precision: number;
|
252
|
+
rows: number;
|
184
253
|
}>;
|
185
254
|
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("@babel/runtime/helpers/slicedToArray"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","@babel/runtime/helpers/slicedToArray","@babel/runtime/helpers/defineProperty","vue","../icon"],r);else{var t="object"==typeof exports?r(require("../shared"),require("@babel/runtime/helpers/slicedToArray"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("../icon")):r(e["../shared"],e["@babel/runtime/helpers/slicedToArray"],e["@babel/runtime/helpers/defineProperty"],e.vue,e["../icon"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o,n)=>(()=>{"use strict";var a={6870:e=>{e.exports=n},4212:r=>{r.exports=e},311:e=>{e.exports=t},1673:e=>{e.exports=r},748:e=>{e.exports=o}},l={};function i(e){var r=l[e];if(void 0!==r)return r.exports;var t=l[e]={exports:{}};return a[e](t,t.exports,i),t.exports}i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{i.r(u),i.d(u,{default:()=>f});var e=i(4212),r=i(1673),t=i.n(r),o=i(311),n=i.n(o),a=i(748);Object.create,Object.create;var l=i(6870),s={type:e.PropTypes.string.def("text"),clearable:e.PropTypes.bool,disabled:e.PropTypes.bool,readonly:e.PropTypes.bool,placeholder:e.PropTypes.string,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},p=["update:modelValue","focus","blur","change","clear","input","keypress","keydown","keyup","enter","paste"],c=(0,e.stringEnum)([].concat(p));const d=(0,a.defineComponent)({name:"Input",inheritAttrs:!1,props:s,emits:[].concat(p),setup:function(r,o){this.$createElement;var i=(0,a.ref)(!1),u=(0,a.ref)(!1),s=(0,a.computed)((function(){return"textarea"===r.type})),p=(0,a.computed)((function(){return s.value?"bk-textarea":"bk-input"})),d=o.attrs,f=d.class,m=d.style,y=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,a.computed)((function(){var t;return(0,e.classes)((t={},n()(t,"".concat(p.value,"--").concat(r.size),!!r.size),n()(t,"is-focused",i.value),n()(t,"is-readonly",r.readonly),n()(t,"is-disabled",r.disabled),n()(t,"is-simplicity","simplicity"===r.behavior),n()(t,"".concat(f),!!f),t),p.value)})),b={search:function(){return(0,a.createVNode)(l.Search,null,null)},password:function(){return(0,a.createVNode)(l.Eye,{onClick:H},null)}},x=D("suffix-icon"),h=(0,a.computed)((function(){var e=b[r.type];return T.value?(0,a.createVNode)(l.Unvisible,{onClick:H,class:x},null):e?(0,a.createVNode)(e,{class:x},null):null})),g=(0,a.computed)((function(){return"number"===r.type})),P=(0,a.computed)((function(){return Math.floor(r.maxlength)})),T=(0,a.ref)(!1),V=(0,a.computed)((function(){return(0,e.classes)({"show-clear-only-hover":r.showClearOnlyHover},x)}));function w(){o.emit(c["update:modelValue"],""),o.emit(c.change,""),o.emit(c.clear)}function N(e){i.value=!0,o.emit(c.focus,e)}function O(e){i.value=!1,o.emit(c.blur,e)}var k=[c.keyup,c.keydown,c.keypress,c.paste,c.change,c.input].map((function(e){return function(r){var t=e;("Enter"!==r.code&&"Enter"!==r.key&&13!==r.keyCode||(t=c.enter,r.type===c.keyup))&&(u.value&&[c.input,c.change].some((function(r){return e===r}))||(e===c.input&&o.emit(c["update:modelValue"],g.value?+r.target.value:r.target.value),o.emit(t,r.target.value,r)))}})),C=t()(k,6),j=C[0],S=C[1],I=C[2],q=C[3],E=C[4],M=C[5];function A(){u.value=!0}function z(e){u.value=!1,M(e)}function _(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=parseInt(String(e),10),n=Number.isInteger(r.precision)?r.precision:0,a=parseFloat(r.modelValue.toString()),l=Number.isInteger(o)?o:1,i=a+(t?l:-1*l);return Number.isInteger(r.max)&&(i=Math.min(i,r.max)),Number.isInteger(r.min)&&(i=Math.max(i,r.min)),+i.toFixed(n)}function F(){var e=_(r.step);o.emit(c["update:modelValue"],e)}function K(){var e=_(r.step,!1);o.emit(c["update:modelValue"],e)}function D(e){return"".concat(p.value,"--").concat(e)}function H(){T.value=!T.value}var L=(0,a.computed)((function(){return{value:r.modelValue,maxlength:r.maxlength,placeholder:r.placeholder,readonly:r.readonly,disabled:r.disabled,onInput:M,onFocus:N,onBlur:O,onPaste:q,onChange:E,onKeypress:I,onKeydown:S,onKeyup:j,onCompositionstart:A,onCompositionend:z}}));return function(){var e,t,n,i,u,c;return(0,a.createVNode)("div",{class:v.value,style:m},[null!==(n=null===(t=null===(e=o.slots)||void 0===e?void 0:e.prefix)||void 0===t?void 0:t.call(e))&&void 0!==n?n:r.prefix&&(0,a.createVNode)("div",{class:D("prefix-area")},[(0,a.createVNode)("span",{class:D("prefix-area--text")},[r.prefix])]),s.value?(0,a.createVNode)("textarea",(0,a.mergeProps)(y,L.value,{rows:r.rows}),null):(0,a.createVNode)("input",(0,a.mergeProps)(y,{class:"".concat(p.value,"--text"),type:T.value&&"password"===r.type?"text":r.type,step:r.step,max:r.max,min:r.min},L.value),null),!s.value&&r.clearable&&!!r.modelValue&&(0,a.createVNode)(l.Close,{onClick:w,class:V.value},null),h.value,"number"==typeof r.maxlength&&(r.showWordLimit||s.value)&&(0,a.createVNode)("p",{class:D("max-length")},[r.modelValue.toString().length,(0,a.createTextVNode)("/"),(0,a.createVNode)("span",null,[P.value])]),g.value&&r.showControl&&(0,a.createVNode)("div",{class:D("number-control")},[(0,a.createVNode)(l.DownSmall,{onClick:F},null),(0,a.createVNode)(l.DownSmall,{onClick:K},null)]),null!==(c=null===(u=null===(i=o.slots)||void 0===i?void 0:i.suffix)||void 0===u?void 0:u.call(i))&&void 0!==c?c:r.suffix&&(0,a.createVNode)("div",{class:D("suffix-area")},[(0,a.createVNode)("span",{class:D("suffix-area--text")},[r.suffix])])])}}}),f=(0,e.withInstall)(d)})(),u})()));
|
package/lib/input/input.less
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
|
2
1
|
@import '../styles/themes/themes.less';
|
3
2
|
@import '../styles/mixins/mixins.less';
|
4
3
|
|
5
4
|
.active(@color: @primary-color) {
|
6
|
-
border-color: @primary-color;
|
5
|
+
border-color: @primary-color;
|
7
6
|
outline: 0;
|
8
7
|
box-shadow: 0px 0px 3px 0px @input-shadow-color;
|
9
8
|
}
|
@@ -14,6 +13,40 @@
|
|
14
13
|
opacity: 1;
|
15
14
|
}
|
16
15
|
|
16
|
+
.@{bk-prefix}-textarea {
|
17
|
+
width: 100%;
|
18
|
+
min-height: 70px;
|
19
|
+
font-size: @font-size-base;
|
20
|
+
line-height: 20px;
|
21
|
+
background-color: white;
|
22
|
+
border: @border-width-base @border-style-base @input-border-color;
|
23
|
+
border-radius: 2px;
|
24
|
+
border-radius: @border-radius-base;
|
25
|
+
box-sizing: border-box;
|
26
|
+
transition: all .3s;
|
27
|
+
|
28
|
+
> textarea {
|
29
|
+
width: 100%;
|
30
|
+
padding: 5px 10px;
|
31
|
+
line-height: 1.5;
|
32
|
+
text-align: left;
|
33
|
+
vertical-align: middle;
|
34
|
+
border: 0;
|
35
|
+
outline: none;
|
36
|
+
resize: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
&--max-length {
|
40
|
+
align-self: center;
|
41
|
+
padding-right: @input-horizontal-padding;
|
42
|
+
margin: 0;
|
43
|
+
|
44
|
+
span {
|
45
|
+
color: @input-maxlength-color;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
17
50
|
.@{bk-prefix}-input {
|
18
51
|
display: flex;
|
19
52
|
align-items: stretch;
|
@@ -23,23 +56,62 @@
|
|
23
56
|
border-radius: @border-radius-base;
|
24
57
|
transition: all .3s;
|
25
58
|
|
59
|
+
&:hover {
|
60
|
+
.show-clear-only-hover {
|
61
|
+
display: block;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&.is-simplicity {
|
66
|
+
background-color: transparent;
|
67
|
+
border-color: transparent;
|
68
|
+
border-bottom-color: @input-border-color;
|
69
|
+
}
|
70
|
+
|
26
71
|
&--suffix-icon {
|
27
72
|
padding-right: @input-horizontal-padding;
|
28
73
|
font-size: @input-icon-size;
|
74
|
+
line-height: 1;
|
29
75
|
color: @light-gray;
|
30
76
|
align-self: center;
|
77
|
+
|
78
|
+
&.show-clear-only-hover {
|
79
|
+
display: none;
|
80
|
+
}
|
31
81
|
}
|
32
82
|
|
33
83
|
&--large {
|
34
|
-
.component-size(@component-size-large, @font-size-
|
84
|
+
.component-size(@component-size-large, @font-size-medium);
|
85
|
+
|
86
|
+
&--max-length {
|
87
|
+
font-size: @font-size-large;
|
88
|
+
}
|
35
89
|
}
|
36
90
|
|
37
91
|
&--small {
|
38
92
|
.component-size(@component-size-small, @font-size-base);
|
93
|
+
|
94
|
+
&--max-length {
|
95
|
+
font-size: @font-size-base;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
&--default {
|
100
|
+
font-size: @font-size-base;
|
101
|
+
|
102
|
+
&--max-length {
|
103
|
+
font-size: @font-size-base;
|
104
|
+
}
|
39
105
|
}
|
40
106
|
|
41
107
|
&.is-focused:not(.is-readonly) {
|
42
108
|
.active();
|
109
|
+
|
110
|
+
&.is-simplicity {
|
111
|
+
border-color: transparent;
|
112
|
+
border-bottom-color: @primary-color;
|
113
|
+
box-shadow: none;
|
114
|
+
}
|
43
115
|
}
|
44
116
|
|
45
117
|
&.is-disabled {
|
@@ -69,10 +141,9 @@
|
|
69
141
|
color: @input-maxlength-color;
|
70
142
|
}
|
71
143
|
}
|
72
|
-
|
144
|
+
|
73
145
|
&--text {
|
74
146
|
padding: 0 @input-horizontal-padding;
|
75
|
-
font-size: @font-size-base;
|
76
147
|
line-height: 1;
|
77
148
|
color: @input-color;
|
78
149
|
background-color: @input-bg;
|
@@ -91,13 +162,13 @@
|
|
91
162
|
appearance: none;
|
92
163
|
}
|
93
164
|
// IE
|
94
|
-
[type=search]::-ms-clear {
|
165
|
+
[type='search']::-ms-clear {
|
95
166
|
display: none;
|
96
167
|
width: 0;
|
97
168
|
height: 0;
|
98
169
|
}
|
99
170
|
|
100
|
-
[type=search]::-ms-reveal {
|
171
|
+
[type='search']::-ms-reveal {
|
101
172
|
display: none;
|
102
173
|
width: 0;
|
103
174
|
height: 0;
|
@@ -125,6 +196,7 @@
|
|
125
196
|
height: 50%;
|
126
197
|
overflow: hidden;
|
127
198
|
color: @light-gray;
|
199
|
+
text-align: center;
|
128
200
|
}
|
129
201
|
|
130
202
|
svg {
|
@@ -1,10 +1,12 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
6
7
|
--danger-color: #ea3636;
|
7
8
|
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
8
10
|
--light-gray: #c4c6cc;
|
9
11
|
--white-color: white;
|
10
12
|
--disable-color: #dcdee5;
|
@@ -58,6 +60,36 @@
|
|
58
60
|
--link-success-disabled-color: #94f5a4;
|
59
61
|
--link-warning-disabled-color: #ffd695;
|
60
62
|
--link-danger-disabled-color: #fd9c9c;
|
63
|
+
--message-color: var(--default-color);
|
64
|
+
--message-primary-bg-color: #f0f8ff;
|
65
|
+
--message-primary-border-color: #e1ecff;
|
66
|
+
--message-warning-bg-color: #fff4e2;
|
67
|
+
--message-warning-border-color: #ffe8c3;
|
68
|
+
--message-success-bg-color: #f2fff4;
|
69
|
+
--message-success-border-color: #dcffe2;
|
70
|
+
--message-danger-bg-color: #ffeded;
|
71
|
+
--message-danger-border-color: #ffdddd;
|
72
|
+
--slider-default-bg: #dcdee5;
|
73
|
+
--slider-disable-bar-bg: #979ba5;
|
74
|
+
--menu-bg-color: #182132;
|
75
|
+
--submenu-bg-color: #151d2c;
|
76
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
77
|
+
--menu-color: #96a2b9;
|
78
|
+
--menu-group-color: var(--default-color);
|
79
|
+
--menu-width: 260px;
|
80
|
+
--menu-collapse-width: 60px;
|
81
|
+
--menu-active-color: white;
|
82
|
+
--nav-header-bg-color: #182132;
|
83
|
+
--nav-bg-color: #182132;
|
84
|
+
--date-picker-disabled-bg: #fafbfd;
|
85
|
+
--date-picker-dropdown-mb: 4px;
|
86
|
+
--date-picker-dropdown-bg: #fff;
|
87
|
+
--table-bg-color: var(--white-color);
|
88
|
+
--table-border-color: #dcdee5;
|
89
|
+
--table-head-bg-color: #fafbfd;
|
90
|
+
--table-head-font-color: #313238;
|
91
|
+
--table-body-font-color: #575961;
|
92
|
+
--table-row-hover-bg-color: #f5f7fa;
|
61
93
|
}
|
62
94
|
@keyframes loading-scale-animate {
|
63
95
|
0% {
|
@@ -80,6 +112,36 @@
|
|
80
112
|
.bk-fade-transtion .bk-fade-leave-to {
|
81
113
|
opacity: 0;
|
82
114
|
}
|
115
|
+
.bk-textarea {
|
116
|
+
width: 100%;
|
117
|
+
min-height: 70px;
|
118
|
+
font-size: var(--font-size-base);
|
119
|
+
line-height: 20px;
|
120
|
+
background-color: white;
|
121
|
+
border: var(--border-width-base) var(--border-style-base) var(--input-border-color);
|
122
|
+
border-radius: 2px;
|
123
|
+
border-radius: var(--border-radius-base);
|
124
|
+
box-sizing: border-box;
|
125
|
+
transition: all 0.3s;
|
126
|
+
}
|
127
|
+
.bk-textarea > textarea {
|
128
|
+
width: 100%;
|
129
|
+
padding: 5px 10px;
|
130
|
+
line-height: 1.5;
|
131
|
+
text-align: left;
|
132
|
+
vertical-align: middle;
|
133
|
+
border: 0;
|
134
|
+
outline: none;
|
135
|
+
resize: none;
|
136
|
+
}
|
137
|
+
.bk-textarea--max-length {
|
138
|
+
align-self: center;
|
139
|
+
padding-right: var(--input-horizontal-padding);
|
140
|
+
margin: 0;
|
141
|
+
}
|
142
|
+
.bk-textarea--max-length span {
|
143
|
+
color: var(--input-maxlength-color);
|
144
|
+
}
|
83
145
|
.bk-input {
|
84
146
|
display: flex;
|
85
147
|
align-items: stretch;
|
@@ -89,25 +151,54 @@
|
|
89
151
|
border-radius: var(--border-radius-base);
|
90
152
|
transition: all 0.3s;
|
91
153
|
}
|
154
|
+
.bk-input:hover .show-clear-only-hover {
|
155
|
+
display: block;
|
156
|
+
}
|
157
|
+
.bk-input.is-simplicity {
|
158
|
+
background-color: transparent;
|
159
|
+
border-color: transparent;
|
160
|
+
border-bottom-color: var(--input-border-color);
|
161
|
+
}
|
92
162
|
.bk-input--suffix-icon {
|
93
163
|
padding-right: var(--input-horizontal-padding);
|
94
164
|
font-size: var(--input-icon-size);
|
165
|
+
line-height: 1;
|
95
166
|
color: var(--light-gray);
|
96
167
|
align-self: center;
|
97
168
|
}
|
169
|
+
.bk-input--suffix-icon.show-clear-only-hover {
|
170
|
+
display: none;
|
171
|
+
}
|
98
172
|
.bk-input--large {
|
99
173
|
height: var(--component-size-large);
|
174
|
+
font-size: var(--font-size-medium);
|
175
|
+
}
|
176
|
+
.bk-input--large--max-length {
|
100
177
|
font-size: var(--font-size-large);
|
101
178
|
}
|
102
179
|
.bk-input--small {
|
103
180
|
height: var(--component-size-small);
|
104
181
|
font-size: var(--font-size-base);
|
105
182
|
}
|
183
|
+
.bk-input--small--max-length {
|
184
|
+
font-size: var(--font-size-base);
|
185
|
+
}
|
186
|
+
.bk-input--default {
|
187
|
+
font-size: var(--font-size-base);
|
188
|
+
}
|
189
|
+
.bk-input--default--max-length {
|
190
|
+
font-size: var(--font-size-base);
|
191
|
+
}
|
106
192
|
.bk-input.is-focused:not(.is-readonly) {
|
107
193
|
border-color: var(--primary-color);
|
108
194
|
outline: 0;
|
109
195
|
box-shadow: 0px 0px 3px 0px var(--input-shadow-color);
|
110
196
|
}
|
197
|
+
.bk-input.is-focused:not(.is-readonly).is-simplicity {
|
198
|
+
border-color: transparent;
|
199
|
+
border-bottom-color: var(--primary-color);
|
200
|
+
box-shadow: none;
|
201
|
+
}
|
111
202
|
.bk-input.is-disabled {
|
112
203
|
cursor: not-allowed;
|
113
204
|
background-color: var(--input-disabled-bg);
|
@@ -135,7 +226,6 @@
|
|
135
226
|
}
|
136
227
|
.bk-input--text {
|
137
228
|
padding: 0 var(--input-horizontal-padding);
|
138
|
-
font-size: var(--font-size-base);
|
139
229
|
line-height: 1;
|
140
230
|
color: var(--input-color);
|
141
231
|
background-color: var(--input-bg);
|
@@ -152,12 +242,12 @@
|
|
152
242
|
.bk-input--text[type='search']::-webkit-search-results-decoration {
|
153
243
|
appearance: none;
|
154
244
|
}
|
155
|
-
.bk-input--text [type=search]::-ms-clear {
|
245
|
+
.bk-input--text [type='search']::-ms-clear {
|
156
246
|
display: none;
|
157
247
|
width: 0;
|
158
248
|
height: 0;
|
159
249
|
}
|
160
|
-
.bk-input--text [type=search]::-ms-reveal {
|
250
|
+
.bk-input--text [type='search']::-ms-reveal {
|
161
251
|
display: none;
|
162
252
|
width: 0;
|
163
253
|
height: 0;
|
@@ -181,6 +271,7 @@
|
|
181
271
|
height: 50%;
|
182
272
|
overflow: hidden;
|
183
273
|
color: var(--light-gray);
|
274
|
+
text-align: center;
|
184
275
|
}
|
185
276
|
.bk-input--number-control svg {
|
186
277
|
font-size: var(--input-icon-size);
|