bkui-vue 2.0.2-beta.9 → 2.0.2-beta.90
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/License.txt +1 -2
- package/dist/cli.css +1 -0
- package/dist/index.cjs.js +166 -138
- package/dist/index.esm.js +24631 -18441
- package/dist/index.umd.js +166 -138
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/ja-jp.esm.js +2 -0
- package/dist/locale/ja-jp.esm.js.map +1 -0
- package/dist/locale/ja-jp.umd.js +2 -0
- package/dist/locale/ja-jp.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +2 -1
- package/lib/affix/index.js +2 -2
- package/lib/alert/alert.variable.css +2 -1
- package/lib/alert/index.js +16 -5
- package/lib/animate-number/index.js +2 -2
- package/lib/backtop/backtop.variable.css +2 -1
- package/lib/backtop/index.js +2 -2
- package/lib/badge/badge.variable.css +2 -1
- package/lib/badge/index.js +2 -2
- package/lib/breadcrumb/breadcrumb.variable.css +2 -1
- package/lib/breadcrumb/index.js +3 -3
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.variable.css +2 -1
- package/lib/button/index.js +3 -3
- package/lib/card/card.variable.css +2 -1
- package/lib/card/index.js +2 -2
- package/lib/cascader/cascader.css +52 -25
- package/lib/cascader/cascader.d.ts +309 -0
- package/lib/cascader/cascader.less +109 -75
- package/lib/cascader/cascader.variable.css +54 -26
- package/lib/cascader/index.d.ts +618 -0
- package/lib/cascader/index.js +147 -65
- package/lib/checkbox/checkbox.variable.css +2 -1
- package/lib/checkbox/index.js +5 -5
- package/lib/code-diff/code-diff.variable.css +2 -1
- package/lib/code-diff/index.js +2 -2
- package/lib/collapse/collapse.variable.css +2 -1
- package/lib/collapse/index.js +3 -3
- package/lib/collapse-transition/collapse-transition.variable.css +2 -1
- package/lib/collapse-transition/index.js +2 -2
- package/lib/color-picker/color-picker.variable.css +2 -1
- package/lib/color-picker/index.js +64 -55
- package/lib/components.js +1 -1
- package/lib/config-provider/config-provider.variable.css +2 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +6 -6
- package/lib/container/container.variable.css +2 -1
- package/lib/container/index.js +5 -5
- package/lib/date-picker/date-picker.d.ts +2 -1
- package/lib/date-picker/date-picker.variable.css +2 -1
- package/lib/date-picker/index.d.ts +6 -2
- package/lib/date-picker/index.js +79 -76
- package/lib/date-picker/panel/date-range.d.ts +2 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +5 -17
- package/lib/dialog/dialog.css +20 -1
- package/lib/dialog/dialog.variable.css +22 -2
- package/lib/dialog/index.js +13 -36
- package/lib/directives/index.js +8 -9
- package/lib/dist.index.js +1 -1
- package/lib/divider/divider.variable.css +2 -1
- package/lib/divider/index.js +3 -3
- package/lib/dropdown/dropdown.d.ts +1 -0
- package/lib/dropdown/dropdown.variable.css +2 -1
- package/lib/dropdown/index.d.ts +3 -0
- package/lib/dropdown/index.js +15 -10
- package/lib/exception/exception.variable.css +2 -1
- package/lib/exception/index.js +2 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form-item.d.ts +19 -0
- package/lib/form/form.css +17 -4
- package/lib/form/form.less +25 -6
- package/lib/form/form.variable.css +19 -5
- package/lib/form/index.d.ts +13 -0
- package/lib/form/index.js +43 -50
- package/lib/hooks.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/image-viewer.variable.css +2 -1
- package/lib/image/image.variable.css +2 -1
- package/lib/image/index.js +11 -12
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +22 -7
- package/lib/info-box/info-box.css +20 -1
- package/lib/info-box/info-box.d.ts +1 -0
- package/lib/info-box/info-box.less +28 -2
- package/lib/info-box/info-box.variable.css +23 -3
- package/lib/input/index.d.ts +45 -20
- package/lib/input/index.js +57 -29
- package/lib/input/input.css +6 -0
- package/lib/input/input.d.ts +35 -17
- package/lib/input/input.less +7 -0
- package/lib/input/input.variable.css +8 -1
- package/lib/link/index.js +2 -2
- package/lib/link/link.variable.css +2 -1
- package/lib/loading/index.js +15 -7
- package/lib/loading/loading.variable.css +2 -1
- package/lib/locale/index.d.ts +1 -0
- package/lib/locale/index.js +172 -4
- package/lib/locale/lang/ja-jp.d.ts +3 -0
- package/lib/menu/index.js +12 -9
- package/lib/menu/menu.css +5 -4
- package/lib/menu/menu.less +1 -0
- package/lib/menu/menu.variable.css +7 -5
- package/lib/menu/submenu.variable.css +2 -1
- package/lib/message/index.js +62 -28
- package/lib/message/message.variable.css +2 -1
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/modal/index.js +19 -8
- package/lib/modal/modal.css +20 -1
- package/lib/modal/modal.variable.css +22 -2
- package/lib/navigation/index.js +3 -3
- package/lib/navigation/navigation.css +29 -29
- package/lib/navigation/navigation.less +29 -29
- package/lib/navigation/navigation.variable.css +31 -30
- package/lib/notify/index.js +43 -24
- package/lib/notify/notify.variable.css +2 -1
- package/lib/overflow-title/components/overflow-title.d.ts +6 -2
- package/lib/overflow-title/index.d.ts +12 -4
- package/lib/overflow-title/index.js +3 -3
- package/lib/overflow-title/props.d.ts +3 -1
- package/lib/pagination/index.js +22 -14
- package/lib/pagination/pagination.css +1 -0
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +3 -1
- package/lib/pop-confirm/index.d.ts +592 -0
- package/lib/pop-confirm/index.js +10 -6
- package/lib/pop-confirm/pop-confirm.d.ts +296 -0
- package/lib/pop-confirm/pop-confirm.variable.css +2 -1
- package/lib/pop-confirm/props.d.ts +148 -0
- package/lib/popover/index.d.ts +18 -10
- package/lib/popover/index.js +281 -76
- package/lib/popover/popover.d.ts +8 -4
- package/lib/popover/popover.variable.css +2 -1
- package/lib/popover/props.d.ts +3 -1
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +2 -2
- package/lib/popover/use-popper-id.d.ts +3 -1
- package/lib/popover2/index.js +2 -2
- package/lib/preset.js +1 -1
- package/lib/process/index.js +2 -2
- package/lib/process/process.d.ts +1 -1
- package/lib/process/process.variable.css +2 -1
- package/lib/progress/index.js +4 -4
- package/lib/progress/progress.variable.css +2 -1
- package/lib/radio/index.js +5 -5
- package/lib/radio/radio.variable.css +2 -1
- package/lib/rate/index.js +3 -3
- package/lib/rate/rate.variable.css +2 -1
- package/lib/resize-layout/index.js +2 -2
- package/lib/resize-layout/resize-layout.css +1 -0
- package/lib/resize-layout/resize-layout.less +1 -0
- package/lib/resize-layout/resize-layout.variable.css +3 -1
- package/lib/scrollbar/css/scrollbar.variable.css +2 -1
- package/lib/scrollbar/index.js +6 -6
- package/lib/search-select/index.d.ts +43 -15
- package/lib/search-select/index.js +88 -37
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/search-select.d.ts +14 -5
- package/lib/search-select/search-select.variable.css +2 -1
- package/lib/search-select/selected.d.ts +10 -2
- package/lib/search-select/utils.d.ts +1 -0
- package/lib/select/common.d.ts +0 -1
- package/lib/select/index.d.ts +58 -11
- package/lib/select/index.js +68 -66
- package/lib/select/optionGroup.d.ts +12 -1
- package/lib/select/select.d.ts +21 -4
- package/lib/select/select.variable.css +2 -1
- package/lib/select/type.d.ts +1 -0
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +10 -10
- package/lib/shared/z-index-manager.d.ts +1 -1
- package/lib/sideslider/index.d.ts +129 -2
- package/lib/sideslider/index.js +149 -11
- package/lib/sideslider/sideslider.css +62 -0
- package/lib/sideslider/sideslider.d.ts +59 -1
- package/lib/sideslider/sideslider.less +83 -0
- package/lib/sideslider/sideslider.variable.css +64 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +5 -4
- package/lib/slider/slider-button.d.ts +1 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/slider/slider.variable.css +2 -1
- package/lib/steps/index.js +13 -14
- package/lib/steps/steps.css +24 -11
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.less +28 -10
- package/lib/steps/steps.variable.css +26 -12
- package/lib/styles/mixins/animate.variable.css +2 -1
- package/lib/styles/mixins/popper.variable.css +2 -1
- package/lib/styles/mixins/scroll.variable.css +2 -1
- package/lib/styles/reset.variable.css +2 -1
- package/lib/styles/themes/themes.less +4 -1
- package/lib/swiper/index.js +2 -2
- package/lib/swiper/swiper.variable.css +2 -1
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.variable.css +2 -1
- package/lib/tab/index.d.ts +12 -0
- package/lib/tab/index.js +22 -17
- package/lib/tab/props.d.ts +3 -0
- package/lib/tab/tab.d.ts +6 -0
- package/lib/tab/tab.variable.css +2 -1
- package/lib/table/index.js +35 -36
- package/lib/table/plugins/head-filter.variable.css +2 -1
- package/lib/table/plugins/head-sort.variable.css +2 -1
- package/lib/table/plugins/settings.variable.css +2 -1
- package/lib/table/table.css +1 -0
- package/lib/table/table.variable.css +3 -1
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.d.ts +23 -0
- package/lib/tag/index.js +10 -5
- package/lib/tag/tag.d.ts +11 -0
- package/lib/tag/tag.variable.css +2 -1
- package/lib/tag-input/index.d.ts +82 -9
- package/lib/tag-input/index.js +1639 -54
- package/lib/tag-input/tag-input.css +31 -0
- package/lib/tag-input/tag-input.d.ts +36 -4
- package/lib/tag-input/tag-input.less +36 -0
- package/lib/tag-input/tag-input.variable.css +33 -1
- package/lib/tag-input/tag-props.d.ts +13 -1
- package/lib/tag-input/tag-render.d.ts +24 -2
- package/lib/time-picker/index.js +1 -1
- package/lib/time-picker/time-picker.variable.css +2 -1
- package/lib/timeline/index.d.ts +7 -7
- package/lib/timeline/index.js +1375 -9
- package/lib/timeline/timeline.d.ts +5 -5
- package/lib/timeline/timeline.variable.css +2 -1
- package/lib/transfer/index.d.ts +1 -24
- package/lib/transfer/index.js +21 -11
- package/lib/transfer/props.d.ts +0 -5
- package/lib/transfer/transfer.css +26 -8
- package/lib/transfer/transfer.d.ts +1 -12
- package/lib/transfer/transfer.less +18 -8
- package/lib/transfer/transfer.variable.css +28 -9
- package/lib/tree/constant.d.ts +2 -0
- package/lib/tree/index.d.ts +67 -11
- package/lib/tree/index.js +17694 -103
- package/lib/tree/props.d.ts +37 -3
- package/lib/tree/tree.css +34 -0
- package/lib/tree/tree.d.ts +31 -5
- package/lib/tree/tree.less +41 -2
- package/lib/tree/tree.variable.css +36 -1
- package/lib/tree/use-array-move.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +3 -1
- package/lib/tree/use-node-attribute.d.ts +3 -0
- package/lib/upload/index.js +8 -8
- package/lib/upload/upload.variable.css +2 -1
- package/lib/virtual-render/index.js +7 -7
- package/lib/virtual-render/virtual-render.variable.css +2 -1
- package/lib/volar.components.d.ts +2 -1
- package/package.json +13 -2
- package/dist/style.css +0 -1
package/lib/icon/weixin-pro.js
CHANGED
|
@@ -118,7 +118,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
118
118
|
* Tencent is pleased to support the open source community by making
|
|
119
119
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
120
120
|
*
|
|
121
|
-
* Copyright (C)
|
|
121
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
122
122
|
*
|
|
123
123
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
124
124
|
*
|
package/lib/icon/weixin.js
CHANGED
|
@@ -118,7 +118,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
118
118
|
* Tencent is pleased to support the open source community by making
|
|
119
119
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
120
120
|
*
|
|
121
|
-
* Copyright (C)
|
|
121
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
122
122
|
*
|
|
123
123
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
124
124
|
*
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
--submenu-bg-color: #151d2c;
|
|
99
99
|
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
|
100
100
|
--menu-color: #96a2b9;
|
|
101
|
-
--menu-group-color:
|
|
101
|
+
--menu-group-color: #6E788B;
|
|
102
102
|
--menu-width: 260px;
|
|
103
103
|
--menu-collapse-width: 60px;
|
|
104
104
|
--menu-active-color: white;
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
--search-select-menu-border-color: var(--disable-color);
|
|
128
128
|
--select-active-color: #e1ecff;
|
|
129
129
|
--select-hover-color: #f5f7fa;
|
|
130
|
+
--sub-title-bg-color: #f5f6fa;
|
|
130
131
|
}
|
|
131
132
|
.bk-image-viewer-wrapper {
|
|
132
133
|
position: fixed;
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
--submenu-bg-color: #151d2c;
|
|
99
99
|
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
|
100
100
|
--menu-color: #96a2b9;
|
|
101
|
-
--menu-group-color:
|
|
101
|
+
--menu-group-color: #6E788B;
|
|
102
102
|
--menu-width: 260px;
|
|
103
103
|
--menu-collapse-width: 60px;
|
|
104
104
|
--menu-active-color: white;
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
--search-select-menu-border-color: var(--disable-color);
|
|
128
128
|
--select-active-color: #e1ecff;
|
|
129
129
|
--select-hover-color: #f5f7fa;
|
|
130
|
+
--sub-title-bg-color: #f5f6fa;
|
|
130
131
|
}
|
|
131
132
|
.bk-image-viewer-wrapper {
|
|
132
133
|
position: fixed;
|
package/lib/image/index.js
CHANGED
|
@@ -753,7 +753,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
753
753
|
* Tencent is pleased to support the open source community by making
|
|
754
754
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
755
755
|
*
|
|
756
|
-
* Copyright (C)
|
|
756
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
757
757
|
*
|
|
758
758
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
759
759
|
*
|
|
@@ -881,7 +881,7 @@ const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTE
|
|
|
881
881
|
* Tencent is pleased to support the open source community by making
|
|
882
882
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
883
883
|
*
|
|
884
|
-
* Copyright (C)
|
|
884
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
885
885
|
*
|
|
886
886
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
887
887
|
*
|
|
@@ -993,7 +993,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
|
|
|
993
993
|
* Tencent is pleased to support the open source community by making
|
|
994
994
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
995
995
|
*
|
|
996
|
-
* Copyright (C)
|
|
996
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
997
997
|
*
|
|
998
998
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
999
999
|
*
|
|
@@ -1081,7 +1081,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
1081
1081
|
* Tencent is pleased to support the open source community by making
|
|
1082
1082
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1083
1083
|
*
|
|
1084
|
-
* Copyright (C)
|
|
1084
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1085
1085
|
*
|
|
1086
1086
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1087
1087
|
*
|
|
@@ -1136,9 +1136,6 @@ var tooltips = {
|
|
|
1136
1136
|
hide(el);
|
|
1137
1137
|
}, 100);
|
|
1138
1138
|
});
|
|
1139
|
-
el.addEventListener('click', function () {
|
|
1140
|
-
hide(el);
|
|
1141
|
-
});
|
|
1142
1139
|
popper.addEventListener('mouseleave', function () {
|
|
1143
1140
|
clearTimeout(delayTimeout);
|
|
1144
1141
|
hideTimeout = setTimeout(function () {
|
|
@@ -1152,7 +1149,7 @@ var tooltips = {
|
|
|
1152
1149
|
show(el);
|
|
1153
1150
|
clearTimeout(delayTimeout);
|
|
1154
1151
|
}, opts.delay);
|
|
1155
|
-
} else if (popper.hasAttribute('data-show')) {
|
|
1152
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
|
1156
1153
|
hide(el);
|
|
1157
1154
|
}
|
|
1158
1155
|
});
|
|
@@ -1261,6 +1258,7 @@ function renderArrow() {
|
|
|
1261
1258
|
* @returns popper实例
|
|
1262
1259
|
*/
|
|
1263
1260
|
function createPopperInstance(el, popper) {
|
|
1261
|
+
if (!tooltips_nodeList.get(el)) return;
|
|
1264
1262
|
var _nodeList$get = tooltips_nodeList.get(el),
|
|
1265
1263
|
opts = _nodeList$get.opts;
|
|
1266
1264
|
var placement = opts.placement,
|
|
@@ -1301,6 +1299,7 @@ function createPopperInstance(el, popper) {
|
|
|
1301
1299
|
* @param el
|
|
1302
1300
|
*/
|
|
1303
1301
|
function show(el) {
|
|
1302
|
+
if (!tooltips_nodeList.get(el)) return;
|
|
1304
1303
|
var _nodeList$get2 = tooltips_nodeList.get(el),
|
|
1305
1304
|
popper = _nodeList$get2.popper,
|
|
1306
1305
|
opts = _nodeList$get2.opts;
|
|
@@ -1376,7 +1375,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
|
1376
1375
|
* Tencent is pleased to support the open source community by making
|
|
1377
1376
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1378
1377
|
*
|
|
1379
|
-
* Copyright (C)
|
|
1378
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1380
1379
|
*
|
|
1381
1380
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1382
1381
|
*
|
|
@@ -1456,7 +1455,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
|
|
|
1456
1455
|
* Tencent is pleased to support the open source community by making
|
|
1457
1456
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1458
1457
|
*
|
|
1459
|
-
* Copyright (C)
|
|
1458
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1460
1459
|
*
|
|
1461
1460
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1462
1461
|
*
|
|
@@ -1804,7 +1803,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
|
|
|
1804
1803
|
* Tencent is pleased to support the open source community by making
|
|
1805
1804
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1806
1805
|
*
|
|
1807
|
-
* Copyright (C)
|
|
1806
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1808
1807
|
*
|
|
1809
1808
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1810
1809
|
*
|
|
@@ -1913,7 +1912,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
|
|
|
1913
1912
|
* Tencent is pleased to support the open source community by making
|
|
1914
1913
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
1915
1914
|
*
|
|
1916
|
-
* Copyright (C)
|
|
1915
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
1917
1916
|
*
|
|
1918
1917
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
1919
1918
|
*
|
package/lib/index.js
CHANGED
package/lib/info-box/index.js
CHANGED
|
@@ -549,7 +549,7 @@ const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_E
|
|
|
549
549
|
* Tencent is pleased to support the open source community by making
|
|
550
550
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
551
551
|
*
|
|
552
|
-
* Copyright (C)
|
|
552
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
553
553
|
*
|
|
554
554
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
555
555
|
*
|
|
@@ -593,6 +593,7 @@ var genDefaultState = function genDefaultState() {
|
|
|
593
593
|
headerAlign: 'center',
|
|
594
594
|
contentAlign: 'center',
|
|
595
595
|
footerAlign: 'center',
|
|
596
|
+
showContentBgColor: false,
|
|
596
597
|
showMask: true,
|
|
597
598
|
quickClose: false,
|
|
598
599
|
escClose: false,
|
|
@@ -772,9 +773,20 @@ var genDefaultState = function genDefaultState() {
|
|
|
772
773
|
}
|
|
773
774
|
})]);
|
|
774
775
|
};
|
|
776
|
+
var renderWidth = function renderWidth() {
|
|
777
|
+
// 如果有辅助文案类型和有引用内容类型默认宽480px
|
|
778
|
+
if (!!renderContent() && [400].includes(state.width)) {
|
|
779
|
+
return 480;
|
|
780
|
+
}
|
|
781
|
+
return state.width;
|
|
782
|
+
};
|
|
775
783
|
return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], {
|
|
776
|
-
"width":
|
|
777
|
-
"class": [resolveClassName('infobox'),
|
|
784
|
+
"width": renderWidth(),
|
|
785
|
+
"class": [_defineProperty({}, resolveClassName('infobox'), true),
|
|
786
|
+
// 处理无提示内容modal-content还会占位高度
|
|
787
|
+
{
|
|
788
|
+
'no-content-infobox': !state.content
|
|
789
|
+
}, state["class"]],
|
|
778
790
|
"animateType": "fadein",
|
|
779
791
|
"closeIcon": state.closeIcon,
|
|
780
792
|
"isShow": isShow.value,
|
|
@@ -796,7 +808,7 @@ var genDefaultState = function genDefaultState() {
|
|
|
796
808
|
"style": {
|
|
797
809
|
textAlign: state.contentAlign
|
|
798
810
|
},
|
|
799
|
-
"class": resolveClassName('infobox-content')
|
|
811
|
+
"class": _defineProperty(_defineProperty({}, resolveClassName('infobox-content'), true), "set-bg-color", state.showContentBgColor)
|
|
800
812
|
}, [renderContent()]);
|
|
801
813
|
},
|
|
802
814
|
footer: function footer() {
|
|
@@ -806,7 +818,10 @@ var genDefaultState = function genDefaultState() {
|
|
|
806
818
|
},
|
|
807
819
|
close: function close() {
|
|
808
820
|
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
|
|
809
|
-
"onClick":
|
|
821
|
+
"onClick": function onClick() {
|
|
822
|
+
// 使用 void 明确忽略返回值
|
|
823
|
+
void handleCancel();
|
|
824
|
+
}
|
|
810
825
|
}, null);
|
|
811
826
|
}
|
|
812
827
|
});
|
|
@@ -818,7 +833,7 @@ var genDefaultState = function genDefaultState() {
|
|
|
818
833
|
* Tencent is pleased to support the open source community by making
|
|
819
834
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
820
835
|
*
|
|
821
|
-
* Copyright (C)
|
|
836
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
822
837
|
*
|
|
823
838
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
824
839
|
*
|
|
@@ -891,7 +906,7 @@ var InfoBox = function InfoBox(config) {
|
|
|
891
906
|
* Tencent is pleased to support the open source community by making
|
|
892
907
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
893
908
|
*
|
|
894
|
-
* Copyright (C)
|
|
909
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
|
895
910
|
*
|
|
896
911
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
|
897
912
|
*
|
|
@@ -6,6 +6,16 @@
|
|
|
6
6
|
left: 50%;
|
|
7
7
|
transform: translate(-50%, -50%);
|
|
8
8
|
}
|
|
9
|
+
.bk-infobox .bk-modal-wrapper .bk-modal-body {
|
|
10
|
+
min-height: 176px;
|
|
11
|
+
}
|
|
12
|
+
.bk-infobox .bk-modal-wrapper .bk-modal-body .bk-modal-content {
|
|
13
|
+
color: #63656e;
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
}
|
|
16
|
+
.bk-infobox.no-content-infobox .bk-modal-content {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
9
19
|
.bk-infobox-header {
|
|
10
20
|
padding-top: 24px;
|
|
11
21
|
}
|
|
@@ -40,10 +50,19 @@
|
|
|
40
50
|
color: #313238;
|
|
41
51
|
}
|
|
42
52
|
.bk-infobox-content {
|
|
43
|
-
padding-right: 24px;
|
|
44
53
|
padding-left: 24px;
|
|
54
|
+
padding-right: 24px;
|
|
45
55
|
margin-top: 16px;
|
|
46
56
|
}
|
|
57
|
+
.bk-infobox-content.set-bg-color {
|
|
58
|
+
background-color: #f5f6fa;
|
|
59
|
+
margin-left: 32px;
|
|
60
|
+
margin-right: 32px;
|
|
61
|
+
padding-top: 12px;
|
|
62
|
+
padding-bottom: 12px;
|
|
63
|
+
padding-left: 16px;
|
|
64
|
+
padding-right: 16px;
|
|
65
|
+
}
|
|
47
66
|
.bk-infobox-footer {
|
|
48
67
|
display: flex;
|
|
49
68
|
padding-right: 24px;
|
|
@@ -13,6 +13,7 @@ export interface Props {
|
|
|
13
13
|
headerAlign?: 'center' | 'left' | 'right';
|
|
14
14
|
footerAlign?: 'center' | 'left' | 'right';
|
|
15
15
|
contentAlign?: 'center' | 'left' | 'right';
|
|
16
|
+
showContentBgColor?: boolean;
|
|
16
17
|
showMask?: boolean;
|
|
17
18
|
quickClose?: boolean;
|
|
18
19
|
escClose?: boolean;
|
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
@import '../styles/themes/themes.less';
|
|
2
2
|
|
|
3
3
|
.@{bk-prefix}-infobox {
|
|
4
|
-
font-size:
|
|
4
|
+
font-size: @font-size-base;
|
|
5
5
|
|
|
6
6
|
.@{bk-prefix}-modal-wrapper {
|
|
7
7
|
top: 50%;
|
|
8
8
|
left: 50%;
|
|
9
9
|
transform: translate(-50%, -50%);
|
|
10
|
+
|
|
11
|
+
.@{bk-prefix}-modal-body {
|
|
12
|
+
min-height: 176px;
|
|
13
|
+
|
|
14
|
+
.@{bk-prefix}-modal-content {
|
|
15
|
+
color: @default-color;
|
|
16
|
+
font-size: @font-size-medium;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.no-content-infobox {
|
|
23
|
+
.@{bk-prefix}-modal-content {
|
|
24
|
+
display: none;
|
|
25
|
+
}
|
|
10
26
|
}
|
|
11
27
|
}
|
|
12
28
|
|
|
@@ -52,9 +68,19 @@
|
|
|
52
68
|
}
|
|
53
69
|
|
|
54
70
|
.@{bk-prefix}-infobox-content {
|
|
55
|
-
padding-right: 24px;
|
|
56
71
|
padding-left: 24px;
|
|
72
|
+
padding-right: 24px;
|
|
57
73
|
margin-top: 16px;
|
|
74
|
+
|
|
75
|
+
&.set-bg-color {
|
|
76
|
+
background-color: @sub-title-bg-color;
|
|
77
|
+
margin-left: 32px;
|
|
78
|
+
margin-right: 32px;
|
|
79
|
+
padding-top: 12px;
|
|
80
|
+
padding-bottom: 12px;
|
|
81
|
+
padding-left: 16px;
|
|
82
|
+
padding-right: 16px;
|
|
83
|
+
}
|
|
58
84
|
}
|
|
59
85
|
|
|
60
86
|
.@{bk-prefix}-infobox-footer {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
--submenu-bg-color: #151d2c;
|
|
99
99
|
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
|
100
100
|
--menu-color: #96a2b9;
|
|
101
|
-
--menu-group-color:
|
|
101
|
+
--menu-group-color: #6E788B;
|
|
102
102
|
--menu-width: 260px;
|
|
103
103
|
--menu-collapse-width: 60px;
|
|
104
104
|
--menu-active-color: white;
|
|
@@ -127,15 +127,26 @@
|
|
|
127
127
|
--search-select-menu-border-color: var(--disable-color);
|
|
128
128
|
--select-active-color: #e1ecff;
|
|
129
129
|
--select-hover-color: #f5f7fa;
|
|
130
|
+
--sub-title-bg-color: #f5f6fa;
|
|
130
131
|
}
|
|
131
132
|
.bk-infobox {
|
|
132
|
-
font-size:
|
|
133
|
+
font-size: var(--font-size-base);
|
|
133
134
|
}
|
|
134
135
|
.bk-infobox .bk-modal-wrapper {
|
|
135
136
|
top: 50%;
|
|
136
137
|
left: 50%;
|
|
137
138
|
transform: translate(-50%, -50%);
|
|
138
139
|
}
|
|
140
|
+
.bk-infobox .bk-modal-wrapper .bk-modal-body {
|
|
141
|
+
min-height: 176px;
|
|
142
|
+
}
|
|
143
|
+
.bk-infobox .bk-modal-wrapper .bk-modal-body .bk-modal-content {
|
|
144
|
+
color: var(--default-color);
|
|
145
|
+
font-size: var(--font-size-medium);
|
|
146
|
+
}
|
|
147
|
+
.bk-infobox.no-content-infobox .bk-modal-content {
|
|
148
|
+
display: none;
|
|
149
|
+
}
|
|
139
150
|
.bk-infobox-header {
|
|
140
151
|
padding-top: 24px;
|
|
141
152
|
}
|
|
@@ -170,10 +181,19 @@
|
|
|
170
181
|
color: #313238;
|
|
171
182
|
}
|
|
172
183
|
.bk-infobox-content {
|
|
173
|
-
padding-right: 24px;
|
|
174
184
|
padding-left: 24px;
|
|
185
|
+
padding-right: 24px;
|
|
175
186
|
margin-top: 16px;
|
|
176
187
|
}
|
|
188
|
+
.bk-infobox-content.set-bg-color {
|
|
189
|
+
background-color: var(--sub-title-bg-color);
|
|
190
|
+
margin-left: 32px;
|
|
191
|
+
margin-right: 32px;
|
|
192
|
+
padding-top: 12px;
|
|
193
|
+
padding-bottom: 12px;
|
|
194
|
+
padding-left: 16px;
|
|
195
|
+
padding-right: 16px;
|
|
196
|
+
}
|
|
177
197
|
.bk-infobox-footer {
|
|
178
198
|
display: flex;
|
|
179
199
|
padding-right: 24px;
|
package/lib/input/index.d.ts
CHANGED
|
@@ -31,19 +31,19 @@ declare const BkInput: {
|
|
|
31
31
|
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
|
-
step: import("vue-types").
|
|
34
|
+
step: import("vue-types").VueTypeValidableDef<number> & {
|
|
35
35
|
default: number;
|
|
36
36
|
};
|
|
37
|
-
max: import("vue-types").
|
|
37
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
|
38
38
|
default: number;
|
|
39
39
|
};
|
|
40
|
-
min: import("vue-types").
|
|
40
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
|
41
41
|
default: number;
|
|
42
42
|
};
|
|
43
|
-
maxlength: import("vue-types").
|
|
43
|
+
maxlength: import("vue-types").VueTypeValidableDef<number> & {
|
|
44
44
|
default: number;
|
|
45
45
|
};
|
|
46
|
-
maxcharacter: import("vue-types").
|
|
46
|
+
maxcharacter: import("vue-types").VueTypeValidableDef<number> & {
|
|
47
47
|
default: number;
|
|
48
48
|
};
|
|
49
49
|
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
|
@@ -94,6 +94,10 @@ declare const BkInput: {
|
|
|
94
94
|
} & {
|
|
95
95
|
default: boolean;
|
|
96
96
|
};
|
|
97
|
+
tooltipsOptions: {
|
|
98
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
99
|
+
default: () => {};
|
|
100
|
+
};
|
|
97
101
|
resize: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
98
102
|
default: boolean;
|
|
99
103
|
} & {
|
|
@@ -120,6 +124,7 @@ declare const BkInput: {
|
|
|
120
124
|
onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
|
|
121
125
|
onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
|
|
122
126
|
onClear?: () => any;
|
|
127
|
+
onSearch?: (evt: Event) => any;
|
|
123
128
|
onEnter?: (_value: any, _evt: KeyboardEvent) => any;
|
|
124
129
|
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
|
125
130
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -137,6 +142,7 @@ declare const BkInput: {
|
|
|
137
142
|
compositionstart: (evt: CompositionEvent) => CompositionEvent;
|
|
138
143
|
compositionupdate: (evt: CompositionEvent) => CompositionEvent;
|
|
139
144
|
compositionend: (evt: CompositionEvent) => CompositionEvent;
|
|
145
|
+
search: (evt: Event) => Event;
|
|
140
146
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
141
147
|
type: import("vue-types").VueTypeValidableDef<string> & {
|
|
142
148
|
default: string;
|
|
@@ -169,19 +175,19 @@ declare const BkInput: {
|
|
|
169
175
|
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
|
170
176
|
default: string;
|
|
171
177
|
};
|
|
172
|
-
step: import("vue-types").
|
|
178
|
+
step: import("vue-types").VueTypeValidableDef<number> & {
|
|
173
179
|
default: number;
|
|
174
180
|
};
|
|
175
|
-
max: import("vue-types").
|
|
181
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
|
176
182
|
default: number;
|
|
177
183
|
};
|
|
178
|
-
min: import("vue-types").
|
|
184
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
|
179
185
|
default: number;
|
|
180
186
|
};
|
|
181
|
-
maxlength: import("vue-types").
|
|
187
|
+
maxlength: import("vue-types").VueTypeValidableDef<number> & {
|
|
182
188
|
default: number;
|
|
183
189
|
};
|
|
184
|
-
maxcharacter: import("vue-types").
|
|
190
|
+
maxcharacter: import("vue-types").VueTypeValidableDef<number> & {
|
|
185
191
|
default: number;
|
|
186
192
|
};
|
|
187
193
|
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
|
@@ -232,6 +238,10 @@ declare const BkInput: {
|
|
|
232
238
|
} & {
|
|
233
239
|
default: boolean;
|
|
234
240
|
};
|
|
241
|
+
tooltipsOptions: {
|
|
242
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
243
|
+
default: () => {};
|
|
244
|
+
};
|
|
235
245
|
resize: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
236
246
|
default: boolean;
|
|
237
247
|
} & {
|
|
@@ -258,6 +268,7 @@ declare const BkInput: {
|
|
|
258
268
|
onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
|
|
259
269
|
onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
|
|
260
270
|
onClear?: () => any;
|
|
271
|
+
onSearch?: (evt: Event) => any;
|
|
261
272
|
onEnter?: (_value: any, _evt: KeyboardEvent) => any;
|
|
262
273
|
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
|
263
274
|
}, {
|
|
@@ -286,6 +297,7 @@ declare const BkInput: {
|
|
|
286
297
|
withValidate: boolean;
|
|
287
298
|
overMaxLengthLimit: boolean;
|
|
288
299
|
showOverflowTooltips: boolean;
|
|
300
|
+
tooltipsOptions: {};
|
|
289
301
|
autosize: boolean | import("./input").InputAutoSize;
|
|
290
302
|
stopPropagation: boolean;
|
|
291
303
|
}, true, {}, {}, {
|
|
@@ -327,19 +339,19 @@ declare const BkInput: {
|
|
|
327
339
|
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
|
328
340
|
default: string;
|
|
329
341
|
};
|
|
330
|
-
step: import("vue-types").
|
|
342
|
+
step: import("vue-types").VueTypeValidableDef<number> & {
|
|
331
343
|
default: number;
|
|
332
344
|
};
|
|
333
|
-
max: import("vue-types").
|
|
345
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
|
334
346
|
default: number;
|
|
335
347
|
};
|
|
336
|
-
min: import("vue-types").
|
|
348
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
|
337
349
|
default: number;
|
|
338
350
|
};
|
|
339
|
-
maxlength: import("vue-types").
|
|
351
|
+
maxlength: import("vue-types").VueTypeValidableDef<number> & {
|
|
340
352
|
default: number;
|
|
341
353
|
};
|
|
342
|
-
maxcharacter: import("vue-types").
|
|
354
|
+
maxcharacter: import("vue-types").VueTypeValidableDef<number> & {
|
|
343
355
|
default: number;
|
|
344
356
|
};
|
|
345
357
|
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
|
@@ -390,6 +402,10 @@ declare const BkInput: {
|
|
|
390
402
|
} & {
|
|
391
403
|
default: boolean;
|
|
392
404
|
};
|
|
405
|
+
tooltipsOptions: {
|
|
406
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
407
|
+
default: () => {};
|
|
408
|
+
};
|
|
393
409
|
resize: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
394
410
|
default: boolean;
|
|
395
411
|
} & {
|
|
@@ -416,6 +432,7 @@ declare const BkInput: {
|
|
|
416
432
|
onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
|
|
417
433
|
onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
|
|
418
434
|
onClear?: () => any;
|
|
435
|
+
onSearch?: (evt: Event) => any;
|
|
419
436
|
onEnter?: (_value: any, _evt: KeyboardEvent) => any;
|
|
420
437
|
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
|
421
438
|
}, () => JSX.Element, {}, {}, {}, {
|
|
@@ -444,6 +461,7 @@ declare const BkInput: {
|
|
|
444
461
|
withValidate: boolean;
|
|
445
462
|
overMaxLengthLimit: boolean;
|
|
446
463
|
showOverflowTooltips: boolean;
|
|
464
|
+
tooltipsOptions: {};
|
|
447
465
|
autosize: boolean | import("./input").InputAutoSize;
|
|
448
466
|
stopPropagation: boolean;
|
|
449
467
|
}>;
|
|
@@ -482,19 +500,19 @@ declare const BkInput: {
|
|
|
482
500
|
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
|
483
501
|
default: string;
|
|
484
502
|
};
|
|
485
|
-
step: import("vue-types").
|
|
503
|
+
step: import("vue-types").VueTypeValidableDef<number> & {
|
|
486
504
|
default: number;
|
|
487
505
|
};
|
|
488
|
-
max: import("vue-types").
|
|
506
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
|
489
507
|
default: number;
|
|
490
508
|
};
|
|
491
|
-
min: import("vue-types").
|
|
509
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
|
492
510
|
default: number;
|
|
493
511
|
};
|
|
494
|
-
maxlength: import("vue-types").
|
|
512
|
+
maxlength: import("vue-types").VueTypeValidableDef<number> & {
|
|
495
513
|
default: number;
|
|
496
514
|
};
|
|
497
|
-
maxcharacter: import("vue-types").
|
|
515
|
+
maxcharacter: import("vue-types").VueTypeValidableDef<number> & {
|
|
498
516
|
default: number;
|
|
499
517
|
};
|
|
500
518
|
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
|
@@ -545,6 +563,10 @@ declare const BkInput: {
|
|
|
545
563
|
} & {
|
|
546
564
|
default: boolean;
|
|
547
565
|
};
|
|
566
|
+
tooltipsOptions: {
|
|
567
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
568
|
+
default: () => {};
|
|
569
|
+
};
|
|
548
570
|
resize: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
549
571
|
default: boolean;
|
|
550
572
|
} & {
|
|
@@ -571,6 +593,7 @@ declare const BkInput: {
|
|
|
571
593
|
onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
|
|
572
594
|
onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
|
|
573
595
|
onClear?: () => any;
|
|
596
|
+
onSearch?: (evt: Event) => any;
|
|
574
597
|
onEnter?: (_value: any, _evt: KeyboardEvent) => any;
|
|
575
598
|
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
|
576
599
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -588,6 +611,7 @@ declare const BkInput: {
|
|
|
588
611
|
compositionstart: (evt: CompositionEvent) => CompositionEvent;
|
|
589
612
|
compositionupdate: (evt: CompositionEvent) => CompositionEvent;
|
|
590
613
|
compositionend: (evt: CompositionEvent) => CompositionEvent;
|
|
614
|
+
search: (evt: Event) => Event;
|
|
591
615
|
}, string, {
|
|
592
616
|
type: string;
|
|
593
617
|
prefix: string;
|
|
@@ -614,6 +638,7 @@ declare const BkInput: {
|
|
|
614
638
|
withValidate: boolean;
|
|
615
639
|
overMaxLengthLimit: boolean;
|
|
616
640
|
showOverflowTooltips: boolean;
|
|
641
|
+
tooltipsOptions: {};
|
|
617
642
|
autosize: boolean | import("./input").InputAutoSize;
|
|
618
643
|
stopPropagation: boolean;
|
|
619
644
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|