bkui-vue 1.0.3-beta.9 → 2.0.1-beta.10
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/dist/index.cjs.js +162 -164
- package/dist/index.esm.js +31999 -29678
- package/dist/index.umd.js +162 -164
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.variable.css +3 -0
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.variable.css +3 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.d.ts +7 -7
- package/lib/button/button.variable.css +3 -0
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -6
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +6 -3
- package/lib/cascader/index.js +35 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +7 -7
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/collapse.css +11 -0
- package/lib/collapse/collapse.d.ts +11 -0
- package/lib/collapse/collapse.less +15 -1
- package/lib/collapse/collapse.variable.css +14 -0
- package/lib/collapse/index.d.ts +23 -0
- package/lib/collapse/index.js +11 -3
- package/lib/collapse/props.d.ts +8 -0
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +6 -3
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -30
- package/lib/components.js +31 -29
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +5 -1
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/container/index.js +6 -6
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +3 -3
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +340 -224
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +2 -64
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +9 -1
- package/lib/dialog/dialog.css +172 -150
- package/lib/dialog/dialog.d.ts +55 -124
- package/lib/dialog/dialog.less +51 -124
- package/lib/dialog/dialog.variable.css +175 -150
- package/lib/dialog/index.d.ts +132 -296
- package/lib/dialog/index.js +244 -246
- package/lib/dialog/props.d.ts +16 -41
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -167
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +3 -0
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +3 -0
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +17 -15
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +12 -11
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +25 -22
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +257 -516
- package/lib/info-box/info-box.css +58 -28
- package/lib/info-box/info-box.d.ts +25 -23
- package/lib/info-box/info-box.less +82 -51
- package/lib/info-box/info-box.variable.css +61 -28
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +23 -17
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.variable.css +3 -0
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.variable.css +3 -0
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +44 -312
- package/lib/modal/index.js +286 -672
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +151 -76
- package/lib/modal/modal.d.ts +19 -117
- package/lib/modal/modal.less +103 -56
- package/lib/modal/modal.variable.css +154 -76
- package/lib/modal/props.mixin.d.ts +5 -41
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +107 -63
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -15
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +62 -44
- package/lib/pop-confirm/index.js +17 -14
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/pop-confirm/props.d.ts +2 -2
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +62 -44
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +2 -0
- package/lib/process/index.js +3 -3
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -10
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.d.ts +29 -0
- package/lib/radio/index.js +49 -31
- package/lib/radio/radio-button.d.ts +10 -0
- package/lib/radio/radio-group.d.ts +10 -0
- package/lib/radio/radio.d.ts +10 -0
- package/lib/radio/radio.variable.css +3 -0
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +27 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +30 -0
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +8 -9
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18762 -0
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/{rate/star.variable.css → scrollbar/scrollbar.variable.css} +70 -19
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +754 -419
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +117 -7
- package/lib/search-select/utils.d.ts +22 -9
- package/lib/select/index.d.ts +185 -67
- package/lib/select/index.js +1396 -136
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +56 -14
- package/lib/select/select.d.ts +74 -26
- package/lib/select/select.less +70 -21
- package/lib/select/select.variable.css +59 -14
- package/lib/select/selectTagInput.d.ts +13 -6
- package/lib/select/type.d.ts +4 -5
- package/lib/shared/index.d.ts +1 -2
- package/lib/shared/index.js +108 -96
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +51 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +58 -188
- package/lib/sideslider/index.js +83 -57
- package/lib/sideslider/sideslider.css +26 -90
- package/lib/sideslider/sideslider.d.ts +26 -88
- package/lib/sideslider/sideslider.less +56 -132
- package/lib/sideslider/sideslider.variable.css +29 -90
- package/lib/slider/index.d.ts +19 -0
- package/lib/slider/index.js +64 -26
- package/lib/slider/slider.css +14 -0
- package/lib/slider/slider.d.ts +9 -0
- package/lib/slider/slider.less +15 -0
- package/lib/slider/slider.variable.css +17 -0
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/index.d.ts +0 -1
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/index.js +5 -5
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-cell.d.ts +3 -2
- package/lib/table/components/table-column.d.ts +30 -100
- package/lib/table/const.d.ts +12 -12
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +220 -305
- package/lib/table/index.js +18165 -688
- package/lib/table/plugins/head-filter.css +8 -4
- package/lib/table/plugins/head-filter.less +6 -3
- package/lib/table/plugins/head-filter.variable.css +11 -4
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/plugins/use-shift-key.d.ts +13 -0
- package/lib/table/props.d.ts +49 -39
- package/lib/table/table.css +112 -58
- package/lib/table/table.d.ts +58 -47
- package/lib/table/table.less +46 -58
- package/lib/table/table.variable.css +115 -58
- package/lib/table/use-attributes.d.ts +9 -46
- package/lib/table/use-column.d.ts +18 -139
- package/lib/table/use-common.d.ts +5 -5
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +6 -6
- package/lib/table-column/index.d.ts +127 -431
- package/lib/table-column/index.js +43 -117
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +12 -12
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +6 -6
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +3 -3
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +56 -67
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +12 -9
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +64 -20
- package/lib/tree/index.js +17595 -72
- package/lib/tree/props.d.ts +24 -6
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +34 -8
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +79 -2
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-intersection-observer.d.ts +27 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-node-attribute.d.ts +9 -0
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +62 -65
- package/lib/upload/props.d.ts +4 -1
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/upload.variable.css +3 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +36 -9
- package/lib/virtual-render/index.js +295 -80
- package/lib/virtual-render/props.d.ts +16 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +24 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +76 -2
- package/lib/virtual-render/virtual-render.d.ts +16 -3
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +79 -2
- package/package.json +13 -49
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/shared/mask.d.ts +0 -11
@@ -1,39 +1,69 @@
|
|
1
|
-
.bk-
|
2
|
-
|
1
|
+
.bk-infobox {
|
2
|
+
font-size: 12px;
|
3
3
|
}
|
4
|
-
.bk-
|
5
|
-
|
4
|
+
.bk-infobox .bk-modal-wrapper {
|
5
|
+
top: 50%;
|
6
|
+
left: 50%;
|
7
|
+
transform: translate(-50%, -50%);
|
6
8
|
}
|
7
|
-
.bk-
|
8
|
-
|
9
|
+
.bk-infobox-header {
|
10
|
+
padding-top: 24px;
|
9
11
|
}
|
10
|
-
.bk-
|
11
|
-
|
12
|
+
.bk-infobox-type {
|
13
|
+
display: flex;
|
14
|
+
justify-content: center;
|
15
|
+
align-items: center;
|
12
16
|
}
|
13
|
-
.bk-
|
14
|
-
|
17
|
+
.bk-infobox-icon {
|
18
|
+
width: 42px;
|
19
|
+
height: 42px;
|
20
|
+
font-size: 42px;
|
15
21
|
}
|
16
|
-
.bk-
|
17
|
-
|
18
|
-
margin: 15px 0 10px;
|
22
|
+
.bk-infobox-icon.success {
|
23
|
+
color: #2dcb56;
|
19
24
|
}
|
20
|
-
.bk-
|
21
|
-
|
22
|
-
max-height: 100%;
|
23
|
-
min-height: 100%;
|
24
|
-
padding: 0 50px 10px;
|
25
|
-
word-break: break-all;
|
25
|
+
.bk-infobox-icon.warning {
|
26
|
+
color: #ff9c01;
|
26
27
|
}
|
27
|
-
.bk-
|
28
|
-
|
29
|
-
text-align: center;
|
30
|
-
word-break: break-all;
|
28
|
+
.bk-infobox-icon.danger {
|
29
|
+
color: #ea3636;
|
31
30
|
}
|
32
|
-
.bk-
|
33
|
-
|
34
|
-
background-color: #fff;
|
35
|
-
border-top: none;
|
31
|
+
.bk-infobox-icon.loading {
|
32
|
+
color: #3a84ff;
|
36
33
|
}
|
37
|
-
.bk-
|
34
|
+
.bk-infobox-title {
|
35
|
+
padding-right: 24px;
|
36
|
+
padding-left: 24px;
|
37
|
+
margin-top: 24px;
|
38
|
+
font-size: 20px;
|
39
|
+
line-height: 32px;
|
40
|
+
color: #313238;
|
41
|
+
}
|
42
|
+
.bk-infobox-content {
|
43
|
+
padding-right: 24px;
|
44
|
+
padding-left: 24px;
|
45
|
+
margin-top: 16px;
|
46
|
+
}
|
47
|
+
.bk-infobox-footer {
|
48
|
+
display: flex;
|
49
|
+
padding-right: 24px;
|
50
|
+
padding-bottom: 24px;
|
51
|
+
padding-left: 24px;
|
52
|
+
margin-top: 24px;
|
53
|
+
align-content: center;
|
54
|
+
}
|
55
|
+
.bk-infobox-footer.is-position-right {
|
56
|
+
justify-content: right;
|
57
|
+
}
|
58
|
+
.bk-infobox-footer.is-position-center {
|
59
|
+
justify-content: center;
|
60
|
+
}
|
61
|
+
.bk-infobox-footer.is-position-left {
|
62
|
+
justify-content: left;
|
63
|
+
}
|
64
|
+
.bk-infobox-footer .bk-button {
|
38
65
|
min-width: 88px;
|
39
66
|
}
|
67
|
+
.bk-infobox-footer .bk-button ~ .bk-button {
|
68
|
+
margin-left: 8px;
|
69
|
+
}
|
@@ -1,33 +1,35 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
-
export interface
|
2
|
+
export interface Props {
|
3
3
|
isShow?: boolean;
|
4
|
-
width?:
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
title?:
|
10
|
-
subTitle?:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
draggable?: boolean;
|
17
|
-
maskClose?: boolean;
|
18
|
-
escClose?: boolean;
|
19
|
-
closeIcon?: boolean;
|
20
|
-
headerAlign?: 'left' | 'center' | 'right';
|
21
|
-
footerAlign?: 'left' | 'center' | 'right';
|
22
|
-
contentAlign?: 'left' | 'center' | 'right';
|
23
|
-
dialogType?: 'show' | 'operation' | 'confirm';
|
4
|
+
width?: number | string;
|
5
|
+
extCls?: string | string[];
|
6
|
+
class?: string | string[];
|
7
|
+
infoType?: 'danger' | 'loading' | 'success' | 'warning';
|
8
|
+
type?: 'danger' | 'loading' | 'success' | 'warning';
|
9
|
+
title?: (() => VNode | string) | VNode | string;
|
10
|
+
subTitle?: (() => VNode) | VNode | string;
|
11
|
+
content?: (() => VNode) | VNode | string;
|
12
|
+
footer?: (() => VNode) | VNode | string;
|
13
|
+
headerAlign?: 'center' | 'left' | 'right';
|
14
|
+
footerAlign?: 'center' | 'left' | 'right';
|
15
|
+
contentAlign?: 'center' | 'left' | 'right';
|
24
16
|
showMask?: boolean;
|
25
17
|
quickClose?: boolean;
|
18
|
+
escClose?: boolean;
|
19
|
+
closeIcon?: boolean;
|
20
|
+
confirmText?: (() => VNode) | VNode | string;
|
21
|
+
theme?: 'danger' | 'primary' | 'success' | 'warning';
|
22
|
+
confirmButtonTheme?: 'danger' | 'primary' | 'success' | 'warning';
|
23
|
+
cancelText?: (() => VNode) | VNode | string;
|
24
|
+
beforeClose?: (action: string) => Promise<boolean> | boolean;
|
25
|
+
onConfirm?: () => void;
|
26
|
+
onCancel?: () => void;
|
27
|
+
onClose?: () => void;
|
26
28
|
}
|
27
|
-
declare const InfoBox: (config: Partial<
|
29
|
+
declare const InfoBox: (config: Partial<Props>) => {
|
28
30
|
show: () => void;
|
29
31
|
hide: () => void;
|
30
|
-
update: (config: Partial<
|
32
|
+
update: (config: Partial<Props>) => void;
|
31
33
|
destroy: () => void;
|
32
34
|
};
|
33
35
|
export default InfoBox;
|
@@ -1,55 +1,86 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
|
-
.@{bk-prefix}-modal-ctx {
|
3
|
-
&.@{bk-prefix}-info-wrapper {
|
4
|
-
.@{bk-prefix}-modal-wrapper {
|
5
|
-
width: 440px;
|
6
|
-
|
7
|
-
&.normal {
|
8
|
-
width: 440px;
|
9
|
-
}
|
10
|
-
|
11
|
-
&.small {
|
12
|
-
width: 400px;
|
13
|
-
}
|
14
|
-
|
15
|
-
.@{bk-prefix}-modal-body {
|
16
|
-
border-radius: 2px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.@{bk-prefix}-dialog-header {
|
20
|
-
padding: 24px 24px 0;
|
21
|
-
|
22
|
-
.@{bk-prefix}-dialog-title {
|
23
|
-
height: 27px;
|
24
|
-
margin: 15px 0 10px;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
.@{bk-prefix}-modal-content {
|
29
|
-
height: 100%;
|
30
|
-
max-height: 100%;
|
31
|
-
min-height: 100%;
|
32
|
-
padding: 0 50px 10px;
|
33
|
-
word-break: break-all;
|
34
|
-
.@{bk-prefix}-info-sub-title {
|
35
|
-
margin-bottom: 10px;
|
36
|
-
text-align: center;
|
37
|
-
word-break: break-all;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
.@{bk-prefix}-modal-footer {
|
42
|
-
padding: 0 65px 33px;
|
43
|
-
background-color: #fff;
|
44
|
-
border-top: none;
|
45
|
-
|
46
|
-
.@{bk-prefix}-dialog-footer {
|
47
|
-
button {
|
48
|
-
min-width: 88px;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
2
|
|
3
|
+
.@{bk-prefix}-infobox {
|
4
|
+
font-size: 12px;
|
5
|
+
|
6
|
+
.@{bk-prefix}-modal-wrapper {
|
7
|
+
top: 50%;
|
8
|
+
left: 50%;
|
9
|
+
transform: translate(-50%, -50%);
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.@{bk-prefix}-infobox-header {
|
14
|
+
padding-top: 24px;
|
15
|
+
}
|
16
|
+
|
17
|
+
.@{bk-prefix}-infobox-type {
|
18
|
+
display: flex;
|
19
|
+
justify-content: center;
|
20
|
+
align-items: center;
|
21
|
+
}
|
22
|
+
|
23
|
+
.@{bk-prefix}-infobox-icon {
|
24
|
+
width: 42px;
|
25
|
+
height: 42px;
|
26
|
+
font-size: 42px;
|
27
|
+
|
28
|
+
&.success {
|
29
|
+
color: @success-color;
|
30
|
+
}
|
31
|
+
|
32
|
+
&.warning {
|
33
|
+
color: @warning-color;
|
34
|
+
}
|
35
|
+
|
36
|
+
&.danger {
|
37
|
+
color: @danger-color;
|
38
|
+
}
|
39
|
+
|
40
|
+
&.loading {
|
41
|
+
color: @primary-color;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.@{bk-prefix}-infobox-title {
|
46
|
+
padding-right: 24px;
|
47
|
+
padding-left: 24px;
|
48
|
+
margin-top: 24px;
|
49
|
+
font-size: 20px;
|
50
|
+
line-height: 32px;
|
51
|
+
color: #313238;
|
52
|
+
}
|
53
|
+
|
54
|
+
.@{bk-prefix}-infobox-content {
|
55
|
+
padding-right: 24px;
|
56
|
+
padding-left: 24px;
|
57
|
+
margin-top: 16px;
|
58
|
+
}
|
59
|
+
|
60
|
+
.@{bk-prefix}-infobox-footer {
|
61
|
+
display: flex;
|
62
|
+
padding-right: 24px;
|
63
|
+
padding-bottom: 24px;
|
64
|
+
padding-left: 24px;
|
65
|
+
margin-top: 24px;
|
66
|
+
align-content: center;
|
67
|
+
|
68
|
+
&.is-position-right {
|
69
|
+
justify-content: right;
|
70
|
+
}
|
71
|
+
|
72
|
+
&.is-position-center {
|
73
|
+
justify-content: center;
|
74
|
+
}
|
75
|
+
|
76
|
+
&.is-position-left {
|
77
|
+
justify-content: left;
|
78
|
+
}
|
79
|
+
|
80
|
+
.@{bk-prefix}-button {
|
81
|
+
min-width: 88px;
|
82
|
+
& ~ .@{bk-prefix}-button {
|
83
|
+
margin-left: 8px;
|
84
|
+
}
|
54
85
|
}
|
55
86
|
}
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,43 +124,75 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
|
-
.bk-
|
128
|
-
|
130
|
+
.bk-infobox {
|
131
|
+
font-size: 12px;
|
129
132
|
}
|
130
|
-
.bk-
|
131
|
-
|
133
|
+
.bk-infobox .bk-modal-wrapper {
|
134
|
+
top: 50%;
|
135
|
+
left: 50%;
|
136
|
+
transform: translate(-50%, -50%);
|
132
137
|
}
|
133
|
-
.bk-
|
134
|
-
|
138
|
+
.bk-infobox-header {
|
139
|
+
padding-top: 24px;
|
135
140
|
}
|
136
|
-
.bk-
|
137
|
-
|
141
|
+
.bk-infobox-type {
|
142
|
+
display: flex;
|
143
|
+
justify-content: center;
|
144
|
+
align-items: center;
|
138
145
|
}
|
139
|
-
.bk-
|
140
|
-
|
146
|
+
.bk-infobox-icon {
|
147
|
+
width: 42px;
|
148
|
+
height: 42px;
|
149
|
+
font-size: 42px;
|
141
150
|
}
|
142
|
-
.bk-
|
143
|
-
|
144
|
-
margin: 15px 0 10px;
|
151
|
+
.bk-infobox-icon.success {
|
152
|
+
color: var(--success-color);
|
145
153
|
}
|
146
|
-
.bk-
|
147
|
-
|
148
|
-
max-height: 100%;
|
149
|
-
min-height: 100%;
|
150
|
-
padding: 0 50px 10px;
|
151
|
-
word-break: break-all;
|
154
|
+
.bk-infobox-icon.warning {
|
155
|
+
color: var(--warning-color);
|
152
156
|
}
|
153
|
-
.bk-
|
154
|
-
|
155
|
-
text-align: center;
|
156
|
-
word-break: break-all;
|
157
|
+
.bk-infobox-icon.danger {
|
158
|
+
color: var(--danger-color);
|
157
159
|
}
|
158
|
-
.bk-
|
159
|
-
|
160
|
-
background-color: #fff;
|
161
|
-
border-top: none;
|
160
|
+
.bk-infobox-icon.loading {
|
161
|
+
color: var(--primary-color);
|
162
162
|
}
|
163
|
-
.bk-
|
163
|
+
.bk-infobox-title {
|
164
|
+
padding-right: 24px;
|
165
|
+
padding-left: 24px;
|
166
|
+
margin-top: 24px;
|
167
|
+
font-size: 20px;
|
168
|
+
line-height: 32px;
|
169
|
+
color: #313238;
|
170
|
+
}
|
171
|
+
.bk-infobox-content {
|
172
|
+
padding-right: 24px;
|
173
|
+
padding-left: 24px;
|
174
|
+
margin-top: 16px;
|
175
|
+
}
|
176
|
+
.bk-infobox-footer {
|
177
|
+
display: flex;
|
178
|
+
padding-right: 24px;
|
179
|
+
padding-bottom: 24px;
|
180
|
+
padding-left: 24px;
|
181
|
+
margin-top: 24px;
|
182
|
+
align-content: center;
|
183
|
+
}
|
184
|
+
.bk-infobox-footer.is-position-right {
|
185
|
+
justify-content: right;
|
186
|
+
}
|
187
|
+
.bk-infobox-footer.is-position-center {
|
188
|
+
justify-content: center;
|
189
|
+
}
|
190
|
+
.bk-infobox-footer.is-position-left {
|
191
|
+
justify-content: left;
|
192
|
+
}
|
193
|
+
.bk-infobox-footer .bk-button {
|
164
194
|
min-width: 88px;
|
165
195
|
}
|
196
|
+
.bk-infobox-footer .bk-button ~ .bk-button {
|
197
|
+
margin-left: 8px;
|
198
|
+
}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { Props } from './info-box';
|
2
|
+
export declare const genDefaultState: () => Required<Props>;
|
3
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
4
|
+
export default _default;
|
package/lib/input/index.d.ts
CHANGED
@@ -99,8 +99,8 @@ declare const BkInput: {
|
|
99
99
|
} & {
|
100
100
|
default: boolean;
|
101
101
|
};
|
102
|
-
autosize: import("vue-types").VueTypeDef<
|
103
|
-
default:
|
102
|
+
autosize: import("vue-types").VueTypeDef<boolean | import("./input").InputAutoSize> & {
|
103
|
+
default: boolean | (() => import("./input").InputAutoSize);
|
104
104
|
};
|
105
105
|
stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
|
106
106
|
default: boolean;
|
@@ -120,8 +120,8 @@ declare const BkInput: {
|
|
120
120
|
onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
|
121
121
|
onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
|
122
122
|
onClear?: () => any;
|
123
|
-
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
124
123
|
onEnter?: (_value: any, _evt: KeyboardEvent) => any;
|
124
|
+
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
125
125
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
126
126
|
"update:modelValue": (_value: any, _evt: KeyboardEvent) => any;
|
127
127
|
focus: (evt: FocusEvent) => FocusEvent;
|
@@ -237,8 +237,8 @@ declare const BkInput: {
|
|
237
237
|
} & {
|
238
238
|
default: boolean;
|
239
239
|
};
|
240
|
-
autosize: import("vue-types").VueTypeDef<
|
241
|
-
default:
|
240
|
+
autosize: import("vue-types").VueTypeDef<boolean | import("./input").InputAutoSize> & {
|
241
|
+
default: boolean | (() => import("./input").InputAutoSize);
|
242
242
|
};
|
243
243
|
stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
|
244
244
|
default: boolean;
|
@@ -258,8 +258,8 @@ declare const BkInput: {
|
|
258
258
|
onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
|
259
259
|
onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
|
260
260
|
onClear?: () => any;
|
261
|
-
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
262
261
|
onEnter?: (_value: any, _evt: KeyboardEvent) => any;
|
262
|
+
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
263
263
|
}, {
|
264
264
|
type: string;
|
265
265
|
prefix: string;
|
@@ -286,7 +286,7 @@ declare const BkInput: {
|
|
286
286
|
withValidate: boolean;
|
287
287
|
overMaxLengthLimit: boolean;
|
288
288
|
showOverflowTooltips: boolean;
|
289
|
-
autosize:
|
289
|
+
autosize: boolean | import("./input").InputAutoSize;
|
290
290
|
stopPropagation: boolean;
|
291
291
|
}, true, {}, {}, {
|
292
292
|
P: {};
|
@@ -395,8 +395,8 @@ declare const BkInput: {
|
|
395
395
|
} & {
|
396
396
|
default: boolean;
|
397
397
|
};
|
398
|
-
autosize: import("vue-types").VueTypeDef<
|
399
|
-
default:
|
398
|
+
autosize: import("vue-types").VueTypeDef<boolean | import("./input").InputAutoSize> & {
|
399
|
+
default: boolean | (() => import("./input").InputAutoSize);
|
400
400
|
};
|
401
401
|
stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
|
402
402
|
default: boolean;
|
@@ -416,8 +416,8 @@ declare const BkInput: {
|
|
416
416
|
onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
|
417
417
|
onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
|
418
418
|
onClear?: () => any;
|
419
|
-
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
420
419
|
onEnter?: (_value: any, _evt: KeyboardEvent) => any;
|
420
|
+
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
421
421
|
}, () => JSX.Element, {}, {}, {}, {
|
422
422
|
type: string;
|
423
423
|
prefix: string;
|
@@ -444,7 +444,7 @@ declare const BkInput: {
|
|
444
444
|
withValidate: boolean;
|
445
445
|
overMaxLengthLimit: boolean;
|
446
446
|
showOverflowTooltips: boolean;
|
447
|
-
autosize:
|
447
|
+
autosize: boolean | import("./input").InputAutoSize;
|
448
448
|
stopPropagation: boolean;
|
449
449
|
}>;
|
450
450
|
__isFragment?: never;
|
@@ -550,8 +550,8 @@ declare const BkInput: {
|
|
550
550
|
} & {
|
551
551
|
default: boolean;
|
552
552
|
};
|
553
|
-
autosize: import("vue-types").VueTypeDef<
|
554
|
-
default:
|
553
|
+
autosize: import("vue-types").VueTypeDef<boolean | import("./input").InputAutoSize> & {
|
554
|
+
default: boolean | (() => import("./input").InputAutoSize);
|
555
555
|
};
|
556
556
|
stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
|
557
557
|
default: boolean;
|
@@ -571,8 +571,8 @@ declare const BkInput: {
|
|
571
571
|
onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
|
572
572
|
onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
|
573
573
|
onClear?: () => any;
|
574
|
-
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
575
574
|
onEnter?: (_value: any, _evt: KeyboardEvent) => any;
|
575
|
+
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
576
576
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
577
577
|
"update:modelValue": (_value: any, _evt: KeyboardEvent) => any;
|
578
578
|
focus: (evt: FocusEvent) => FocusEvent;
|
@@ -614,7 +614,7 @@ declare const BkInput: {
|
|
614
614
|
withValidate: boolean;
|
615
615
|
overMaxLengthLimit: boolean;
|
616
616
|
showOverflowTooltips: boolean;
|
617
|
-
autosize:
|
617
|
+
autosize: boolean | import("./input").InputAutoSize;
|
618
618
|
stopPropagation: boolean;
|
619
619
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
620
620
|
export default BkInput;
|
package/lib/input/index.js
CHANGED
@@ -776,20 +776,20 @@ var inputType = {
|
|
776
776
|
};
|
777
777
|
var EVENTS;
|
778
778
|
(function (EVENTS) {
|
779
|
-
EVENTS["UPDATE"] = "update:modelValue";
|
780
|
-
EVENTS["FOCUS"] = "focus";
|
781
779
|
EVENTS["BLUR"] = "blur";
|
782
780
|
EVENTS["CHANGE"] = "change";
|
783
781
|
EVENTS["CLEAR"] = "clear";
|
782
|
+
EVENTS["COMPOSITIONEND"] = "compositionend";
|
783
|
+
EVENTS["COMPOSITIONSTART"] = "compositionstart";
|
784
|
+
EVENTS["COMPOSITIONUPDATE"] = "compositionupdate";
|
785
|
+
EVENTS["ENTER"] = "enter";
|
786
|
+
EVENTS["FOCUS"] = "focus";
|
784
787
|
EVENTS["INPUT"] = "input";
|
785
|
-
EVENTS["KEYPRESS"] = "keypress";
|
786
788
|
EVENTS["KEYDOWN"] = "keydown";
|
789
|
+
EVENTS["KEYPRESS"] = "keypress";
|
787
790
|
EVENTS["KEYUP"] = "keyup";
|
788
|
-
EVENTS["ENTER"] = "enter";
|
789
791
|
EVENTS["PASTE"] = "paste";
|
790
|
-
EVENTS["
|
791
|
-
EVENTS["COMPOSITIONUPDATE"] = "compositionupdate";
|
792
|
-
EVENTS["COMPOSITIONEND"] = "compositionend";
|
792
|
+
EVENTS["UPDATE"] = "update:modelValue";
|
793
793
|
})(EVENTS || (EVENTS = {}));
|
794
794
|
function EventFunction(_value, _evt) {
|
795
795
|
return true;
|
@@ -881,8 +881,8 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
|
|
881
881
|
},
|
882
882
|
password: function password() {
|
883
883
|
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Unvisible, {
|
884
|
-
"
|
885
|
-
"
|
884
|
+
"class": suffixCls,
|
885
|
+
"onClick": handleVisibleChange
|
886
886
|
}, null);
|
887
887
|
}
|
888
888
|
};
|
@@ -948,8 +948,14 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
|
|
948
948
|
});
|
949
949
|
});
|
950
950
|
var tooltips = (0,external_vue_namespaceObject.computed)(function () {
|
951
|
+
var _props$modelValue2;
|
952
|
+
if (showMaxLimit.value && ceilMaxLength.value - modelValueLength.value === 0) {
|
953
|
+
return {
|
954
|
+
content: t.value.maxlengthLimitTips
|
955
|
+
};
|
956
|
+
}
|
951
957
|
return props.showOverflowTooltips && isOverflow.value && props.modelValue ? {
|
952
|
-
content: props.modelValue,
|
958
|
+
content: (_props$modelValue2 = props.modelValue) === null || _props$modelValue2 === void 0 ? void 0 : _props$modelValue2.toString(),
|
953
959
|
sameWidth: true
|
954
960
|
} : {
|
955
961
|
disabled: true
|
@@ -1155,8 +1161,8 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
|
|
1155
1161
|
return function () {
|
1156
1162
|
var _ctx$slots$prefix, _ctx$slots, _ctx$slots$prefix2, _ctx$slots$suffix, _ctx$slots2, _ctx$slots2$suffix;
|
1157
1163
|
return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
1158
|
-
"
|
1159
|
-
"
|
1164
|
+
"style": style,
|
1165
|
+
"class": inputCls.value
|
1160
1166
|
}, [(_ctx$slots$prefix = (_ctx$slots = ctx.slots) === null || _ctx$slots === void 0 || (_ctx$slots$prefix2 = _ctx$slots.prefix) === null || _ctx$slots$prefix2 === void 0 ? void 0 : _ctx$slots$prefix2.call(_ctx$slots)) !== null && _ctx$slots$prefix !== void 0 ? _ctx$slots$prefix : props.prefix && (0,external_vue_namespaceObject.createVNode)("div", {
|
1161
1167
|
"class": getCls('prefix-area')
|
1162
1168
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -1165,17 +1171,17 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
|
|
1165
1171
|
"ref": inputRef,
|
1166
1172
|
"spellcheck": false
|
1167
1173
|
}, inputAttrs, eventListener, bindProps.value, {
|
1168
|
-
"
|
1169
|
-
"
|
1174
|
+
"style": textareaCalcStyle.value,
|
1175
|
+
"rows": props.rows
|
1170
1176
|
}, innerInputValue.value), null) : (0,external_vue_namespaceObject.createVNode)("input", (0,external_vue_namespaceObject.mergeProps)({
|
1171
1177
|
"spellcheck": false
|
1172
1178
|
}, inputAttrs, {
|
1173
1179
|
"ref": inputRef,
|
1174
1180
|
"class": "".concat(inputClsPrefix.value, "--text"),
|
1175
|
-
"type": pwdVisible.value && props.type === 'password' ? 'text' : props.type,
|
1176
|
-
"step": props.step,
|
1177
1181
|
"max": props.max,
|
1178
|
-
"min": props.min
|
1182
|
+
"min": props.min,
|
1183
|
+
"step": props.step,
|
1184
|
+
"type": pwdVisible.value && props.type === 'password' ? 'text' : props.type
|
1179
1185
|
}, eventListener, bindProps.value, innerInputValue.value), null), !isTextArea.value && props.clearable && !!props.modelValue && (0,external_vue_namespaceObject.createVNode)("span", {
|
1180
1186
|
"class": clearCls.value,
|
1181
1187
|
"onClick": clear
|