bkui-vue 2.0.2-beta.5 → 2.0.2-beta.51
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 +133 -132
- package/dist/index.esm.js +16844 -14959
- package/dist/index.umd.js +133 -132
- 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 +1 -0
- package/lib/affix/index.js +2 -2
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.js +2 -2
- package/lib/animate-number/index.js +2 -2
- package/lib/backtop/backtop.variable.css +1 -0
- package/lib/backtop/index.js +2 -2
- package/lib/badge/badge.variable.css +1 -0
- package/lib/badge/index.js +2 -2
- package/lib/breadcrumb/breadcrumb.variable.css +1 -0
- package/lib/breadcrumb/index.js +3 -3
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.variable.css +1 -0
- package/lib/button/index.js +3 -3
- package/lib/card/card.variable.css +1 -0
- package/lib/card/index.js +2 -2
- package/lib/cascader/cascader.css +26 -24
- package/lib/cascader/cascader.d.ts +12 -0
- package/lib/cascader/cascader.less +78 -76
- package/lib/cascader/cascader.variable.css +27 -24
- package/lib/cascader/index.d.ts +26 -0
- package/lib/cascader/index.js +120 -70
- package/lib/checkbox/checkbox.variable.css +1 -0
- package/lib/checkbox/index.js +5 -5
- package/lib/code-diff/code-diff.variable.css +1 -0
- package/lib/code-diff/index.js +2 -2
- package/lib/collapse/collapse.variable.css +1 -0
- package/lib/collapse/index.js +3 -3
- package/lib/collapse-transition/collapse-transition.variable.css +1 -0
- package/lib/collapse-transition/index.js +2 -2
- package/lib/color-picker/color-picker.variable.css +1 -0
- package/lib/color-picker/index.js +33 -29
- package/lib/components.d.ts +1 -2
- package/lib/components.js +2 -3
- package/lib/config-provider/config-provider.variable.css +1 -0
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +6 -6
- package/lib/container/container.variable.css +1 -0
- package/lib/container/index.js +5 -5
- package/lib/date-picker/date-picker.variable.css +1 -0
- package/lib/date-picker/index.js +74 -79
- 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 +21 -1
- package/lib/dialog/index.js +13 -36
- package/lib/directives/index.js +22 -18
- package/lib/dist.index.js +1 -1
- package/lib/divider/divider.variable.css +1 -0
- package/lib/divider/index.js +3 -3
- package/lib/dropdown/dropdown.d.ts +1 -0
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.d.ts +3 -0
- package/lib/dropdown/index.js +15 -10
- package/lib/exception/exception.variable.css +1 -0
- package/lib/exception/index.js +2 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form-item.d.ts +19 -0
- package/lib/form/form.css +16 -4
- package/lib/form/form.less +24 -6
- package/lib/form/form.variable.css +17 -4
- package/lib/form/index.d.ts +13 -0
- package/lib/form/index.js +44 -36
- 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 +1 -0
- package/lib/image/image.variable.css +1 -0
- package/lib/image/index.js +15 -18
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -2
- 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 +22 -2
- package/lib/input/index.d.ts +39 -20
- package/lib/input/index.js +33 -30
- package/lib/input/input.d.ts +30 -16
- package/lib/input/input.variable.css +1 -0
- package/lib/link/index.js +2 -2
- package/lib/link/link.variable.css +1 -0
- package/lib/loading/index.js +3 -3
- package/lib/loading/loading.variable.css +1 -0
- 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.variable.css +1 -0
- package/lib/menu/submenu.variable.css +1 -0
- package/lib/message/index.js +4 -4
- package/lib/message/message.variable.css +1 -0
- package/lib/modal/index.js +7 -6
- package/lib/modal/modal.css +20 -1
- package/lib/modal/modal.variable.css +21 -1
- package/lib/navigation/index.js +3 -3
- package/lib/navigation/navigation.variable.css +1 -0
- package/lib/notify/index.js +3 -3
- package/lib/notify/notify.variable.css +1 -0
- package/lib/overflow-title/index.js +3 -3
- package/lib/pagination/index.js +6 -6
- package/lib/pagination/pagination.variable.css +1 -0
- package/lib/pop-confirm/index.d.ts +584 -0
- package/lib/pop-confirm/index.js +10 -6
- package/lib/pop-confirm/pop-confirm.d.ts +292 -0
- package/lib/pop-confirm/pop-confirm.variable.css +1 -0
- package/lib/pop-confirm/props.d.ts +146 -0
- package/lib/popover/index.js +24 -27
- package/lib/popover/popover.variable.css +1 -0
- 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 +1 -0
- package/lib/progress/index.js +4 -4
- package/lib/progress/progress.variable.css +1 -0
- package/lib/radio/index.js +5 -5
- package/lib/radio/radio.variable.css +1 -0
- package/lib/rate/index.js +3 -3
- package/lib/rate/rate.variable.css +1 -0
- package/lib/resize-layout/index.js +2 -2
- package/lib/resize-layout/resize-layout.variable.css +1 -0
- package/lib/scrollbar/css/scrollbar.variable.css +1 -0
- package/lib/scrollbar/index.js +6 -6
- package/lib/search-select/index.d.ts +21 -3
- package/lib/search-select/index.js +73 -41
- package/lib/search-select/input.d.ts +3 -0
- package/lib/search-select/search-select.d.ts +7 -1
- package/lib/search-select/search-select.variable.css +1 -0
- package/lib/search-select/selected.d.ts +6 -0
- package/lib/select/index.d.ts +22 -3
- package/lib/select/index.js +39 -39
- package/lib/select/select.d.ts +11 -1
- package/lib/select/select.variable.css +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.js +5 -3
- package/lib/sideslider/sideslider.variable.css +1 -0
- 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 +1 -0
- package/lib/steps/index.js +2 -2
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.variable.css +1 -0
- package/lib/styles/mixins/animate.variable.css +1 -0
- package/lib/styles/mixins/popper.variable.css +1 -0
- package/lib/styles/mixins/scroll.variable.css +1 -0
- package/lib/styles/reset.variable.css +1 -0
- package/lib/styles/themes/themes.less +3 -0
- package/lib/swiper/index.js +2 -2
- package/lib/swiper/swiper.variable.css +1 -0
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.variable.css +1 -0
- package/lib/tab/index.d.ts +12 -0
- package/lib/tab/index.js +26 -23
- package/lib/tab/props.d.ts +3 -0
- package/lib/tab/tab.d.ts +6 -0
- package/lib/tab/tab.variable.css +1 -0
- package/lib/table/index.js +39 -47
- package/lib/table/plugins/head-filter.variable.css +1 -0
- package/lib/table/plugins/head-sort.variable.css +1 -0
- package/lib/table/plugins/settings.variable.css +1 -0
- package/lib/table/table.variable.css +1 -0
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.variable.css +1 -0
- package/lib/tag-input/index.d.ts +3 -0
- package/lib/tag-input/index.js +1398 -38
- package/lib/tag-input/tag-input.d.ts +1 -0
- package/lib/tag-input/tag-input.variable.css +1 -0
- package/lib/time-picker/index.js +1 -1
- package/lib/time-picker/time-picker.variable.css +1 -0
- package/lib/timeline/index.js +1353 -4
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.variable.css +1 -0
- package/lib/transfer/index.d.ts +1 -1
- package/lib/transfer/index.js +4 -4
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/transfer/transfer.variable.css +1 -0
- package/lib/tree/constant.d.ts +2 -0
- package/lib/tree/index.d.ts +48 -0
- package/lib/tree/index.js +221 -71
- package/lib/tree/props.d.ts +20 -0
- package/lib/tree/tree.css +46 -0
- package/lib/tree/tree.d.ts +22 -0
- package/lib/tree/tree.less +57 -2
- package/lib/tree/tree.variable.css +47 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/upload/index.js +8 -8
- package/lib/upload/upload.variable.css +1 -0
- package/lib/virtual-render/index.js +7 -7
- package/lib/virtual-render/virtual-render.variable.css +1 -0
- package/lib/volar.components.d.ts +1 -1
- package/package.json +13 -2
- package/dist/style.css +0 -1
- package/lib/plugin-popover/index.d.ts +0 -27
- package/lib/plugin-popover/index.js +0 -65
- package/lib/plugins/index.d.ts +0 -1
- package/lib/plugins/index.js +0 -64
@@ -3,12 +3,11 @@ import "./search-select.less";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
6
|
-
import * as
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
11
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
12
11
|
import "../popover/popover.less";
|
13
12
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__ from "../checkbox";
|
14
13
|
import "../checkbox/checkbox.less";
|
@@ -1101,7 +1100,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1101
1100
|
* Tencent is pleased to support the open source community by making
|
1102
1101
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1103
1102
|
*
|
1104
|
-
* Copyright (C)
|
1103
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1105
1104
|
*
|
1106
1105
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1107
1106
|
*
|
@@ -1219,17 +1218,17 @@ ClickOutside.install = function (app) {
|
|
1219
1218
|
app.directive('bkTooltips', ClickOutside);
|
1220
1219
|
};
|
1221
1220
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
1222
|
-
;// CONCATENATED MODULE: external "../
|
1223
|
-
var
|
1224
|
-
var
|
1225
|
-
const
|
1221
|
+
;// CONCATENATED MODULE: external "../popover"
|
1222
|
+
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1223
|
+
var popover_y = x => () => x
|
1224
|
+
const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
1226
1225
|
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
1227
1226
|
|
1228
1227
|
/*
|
1229
1228
|
* Tencent is pleased to support the open source community by making
|
1230
1229
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1231
1230
|
*
|
1232
|
-
* Copyright (C)
|
1231
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1233
1232
|
*
|
1234
1233
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1235
1234
|
*
|
@@ -1300,7 +1299,7 @@ var createInstance = function createInstance(el, binding) {
|
|
1300
1299
|
onContentMouseenter: handleContentEnter,
|
1301
1300
|
onContentMouseleave: handleContentLeave
|
1302
1301
|
});
|
1303
|
-
instance = (0,
|
1302
|
+
instance = (0,popover_namespaceObject.$bkPopover)(targetOptions);
|
1304
1303
|
}, 300);
|
1305
1304
|
};
|
1306
1305
|
var handleMouseLeave = function handleMouseLeave() {
|
@@ -1341,7 +1340,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
|
|
1341
1340
|
* Tencent is pleased to support the open source community by making
|
1342
1341
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1343
1342
|
*
|
1344
|
-
* Copyright (C)
|
1343
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1345
1344
|
*
|
1346
1345
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1347
1346
|
*
|
@@ -1429,7 +1428,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
1429
1428
|
* Tencent is pleased to support the open source community by making
|
1430
1429
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1431
1430
|
*
|
1432
|
-
* Copyright (C)
|
1431
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1433
1432
|
*
|
1434
1433
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1435
1434
|
*
|
@@ -1484,9 +1483,6 @@ var tooltips = {
|
|
1484
1483
|
hide(el);
|
1485
1484
|
}, 100);
|
1486
1485
|
});
|
1487
|
-
el.addEventListener('click', function () {
|
1488
|
-
hide(el);
|
1489
|
-
});
|
1490
1486
|
popper.addEventListener('mouseleave', function () {
|
1491
1487
|
clearTimeout(delayTimeout);
|
1492
1488
|
hideTimeout = setTimeout(function () {
|
@@ -1500,7 +1496,7 @@ var tooltips = {
|
|
1500
1496
|
show(el);
|
1501
1497
|
clearTimeout(delayTimeout);
|
1502
1498
|
}, opts.delay);
|
1503
|
-
} else if (popper.hasAttribute('data-show')) {
|
1499
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
1504
1500
|
hide(el);
|
1505
1501
|
}
|
1506
1502
|
});
|
@@ -1724,7 +1720,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
1724
1720
|
* Tencent is pleased to support the open source community by making
|
1725
1721
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1726
1722
|
*
|
1727
|
-
* Copyright (C)
|
1723
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1728
1724
|
*
|
1729
1725
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1730
1726
|
*
|
@@ -2150,10 +2146,6 @@ function _asyncToGenerator(fn) {
|
|
2150
2146
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
2151
2147
|
var regenerator = __webpack_require__(2841);
|
2152
2148
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
2153
|
-
;// CONCATENATED MODULE: external "../popover"
|
2154
|
-
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2155
|
-
var popover_y = x => () => x
|
2156
|
-
const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
2157
2149
|
;// CONCATENATED MODULE: external "../popover/popover.less"
|
2158
2150
|
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2159
2151
|
var popover_less_y = x => () => x
|
@@ -2208,7 +2200,7 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
2208
2200
|
* Tencent is pleased to support the open source community by making
|
2209
2201
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2210
2202
|
*
|
2211
|
-
* Copyright (C)
|
2203
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2212
2204
|
*
|
2213
2205
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2214
2206
|
*
|
@@ -2469,7 +2461,7 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
2469
2461
|
* Tencent is pleased to support the open source community by making
|
2470
2462
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2471
2463
|
*
|
2472
|
-
* Copyright (C)
|
2464
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2473
2465
|
*
|
2474
2466
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2475
2467
|
*
|
@@ -2588,11 +2580,11 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
2588
2580
|
var _keyword;
|
2589
2581
|
if (!str) return str;
|
2590
2582
|
var keyword = props.keyword;
|
2591
|
-
|
2592
|
-
|
2583
|
+
if (!((_keyword = keyword) !== null && _keyword !== void 0 && _keyword.trim().length) || !str.toLocaleLowerCase().includes(keyword.toLocaleLowerCase().trim())) return str;
|
2584
|
+
var len = keyword.trim().length;
|
2593
2585
|
var list = [];
|
2594
2586
|
var lastIndex = -1;
|
2595
|
-
keyword = keyword.replace(/([.*/]{1})/gim, '\\$1');
|
2587
|
+
keyword = keyword.replace(/([.*/]{1})/gim, '\\$1').trim();
|
2596
2588
|
str.replace(new RegExp("".concat(keyword), 'igm'), function (key, index) {
|
2597
2589
|
if (list.length === 0 && index !== 0) {
|
2598
2590
|
list.push(str.slice(0, index));
|
@@ -2720,7 +2712,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
2720
2712
|
* Tencent is pleased to support the open source community by making
|
2721
2713
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2722
2714
|
*
|
2723
|
-
* Copyright (C)
|
2715
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2724
2716
|
*
|
2725
2717
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2726
2718
|
*
|
@@ -2815,6 +2807,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
2815
2807
|
return ((_usingItem$value = usingItem.value) === null || _usingItem$value === void 0 ? void 0 : _usingItem$value.logical) || SearchLogical.OR;
|
2816
2808
|
});
|
2817
2809
|
var inputKey = (0,external_vue_namespaceObject.ref)((0,shared_namespaceObject.random)(10));
|
2810
|
+
var isComposition = (0,external_vue_namespaceObject.ref)(false);
|
2818
2811
|
(0,external_vue_namespaceObject.watch)(editKey, function () {
|
2819
2812
|
if (props.mode === SearchInputMode.DEFAULT && editKey.value) {
|
2820
2813
|
showPopover.value = false;
|
@@ -2964,7 +2957,9 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
2964
2957
|
debounceSetMenuList();
|
2965
2958
|
}
|
2966
2959
|
function handleInputChange(event) {
|
2967
|
-
|
2960
|
+
if (isComposition.value) return;
|
2961
|
+
clearInputBr();
|
2962
|
+
var text = event.target.innerText;
|
2968
2963
|
if (!usingItem.value) {
|
2969
2964
|
keyword.value = text;
|
2970
2965
|
debounceSetMenuList();
|
@@ -2983,7 +2978,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
2983
2978
|
return;
|
2984
2979
|
}
|
2985
2980
|
}
|
2986
|
-
keyword.value = usingItem.value.isSpecialType() ? text : text.replace(usingItem.value.name, '').replace(':', '')
|
2981
|
+
keyword.value = usingItem.value.isSpecialType() ? text : text.replace(usingItem.value.name, '').replace(':', '');
|
2987
2982
|
debounceSetMenuList();
|
2988
2983
|
}
|
2989
2984
|
function handleInputKeyup(event) {
|
@@ -2996,9 +2991,11 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
2996
2991
|
// }
|
2997
2992
|
// return;
|
2998
2993
|
// }
|
2994
|
+
if (isComposition.value) return;
|
2999
2995
|
switch (event.code) {
|
3000
2996
|
case 'Enter':
|
3001
2997
|
case 'NumpadEnter':
|
2998
|
+
event.preventDefault();
|
3002
2999
|
if (props.valueBehavior === ValueBehavior.NEED_KEY && menuList.value.some(function (item) {
|
3003
3000
|
return item.id === menuHoverId.value;
|
3004
3001
|
})) {
|
@@ -3013,7 +3010,9 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3013
3010
|
});
|
3014
3011
|
break;
|
3015
3012
|
case 'Backspace':
|
3013
|
+
case 'Delete':
|
3016
3014
|
handleKeyBackspace(event);
|
3015
|
+
break;
|
3017
3016
|
default:
|
3018
3017
|
showNoSelectValueError.value = false;
|
3019
3018
|
break;
|
@@ -3119,7 +3118,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3119
3118
|
setInputFocus(false, false);
|
3120
3119
|
return;
|
3121
3120
|
}
|
3122
|
-
} else if (!keyword.value) {
|
3121
|
+
} else if (!keyword.value || keyword.value.length === 1) {
|
3123
3122
|
usingItem.value = null;
|
3124
3123
|
keyword.value = '';
|
3125
3124
|
setMenuList();
|
@@ -3338,7 +3337,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3338
3337
|
}
|
3339
3338
|
loading.value = true;
|
3340
3339
|
_context5.next = 5;
|
3341
|
-
return props.getMenuList((_usingItem$value14 = usingItem.value) === null || _usingItem$value14 === void 0 ? void 0 : _usingItem$value14.searchItem, keyword.value)["catch"](function () {
|
3340
|
+
return props.getMenuList((_usingItem$value14 = usingItem.value) === null || _usingItem$value14 === void 0 ? void 0 : _usingItem$value14.searchItem, keyword.value.trim())["catch"](function () {
|
3342
3341
|
return [];
|
3343
3342
|
});
|
3344
3343
|
case 5:
|
@@ -3395,7 +3394,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3395
3394
|
try {
|
3396
3395
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
3397
3396
|
_child = _step3.value;
|
3398
|
-
if (_child.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase())) {
|
3397
|
+
if (_child.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase().trim())) {
|
3399
3398
|
_filterList.push(input_objectSpread(input_objectSpread({}, item), {}, {
|
3400
3399
|
realId: item.id,
|
3401
3400
|
id: (0,shared_namespaceObject.random)(10),
|
@@ -3429,11 +3428,12 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3429
3428
|
list = props.conditions;
|
3430
3429
|
} else if (!((_usingItem$value$valu = usingItem.value.values) !== null && _usingItem$value$valu !== void 0 && _usingItem$value$valu.length) || usingItem.value.multiple || props.mode === SearchInputMode.EDIT) {
|
3431
3430
|
list = usingItem.value.children.filter(function (item) {
|
3432
|
-
return item.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase());
|
3431
|
+
return item.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase().trim());
|
3433
3432
|
});
|
3434
3433
|
}
|
3435
3434
|
case 10:
|
3436
3435
|
menuList.value = list;
|
3436
|
+
console.log('list', list);
|
3437
3437
|
if (props.valueBehavior === ValueBehavior.NEED_KEY) {
|
3438
3438
|
hoverItem = list.find(function (item) {
|
3439
3439
|
return !item.disabled;
|
@@ -3444,7 +3444,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3444
3444
|
menuHoverId.value = hoverItem.id;
|
3445
3445
|
}
|
3446
3446
|
}
|
3447
|
-
case
|
3447
|
+
case 13:
|
3448
3448
|
case "end":
|
3449
3449
|
return _context5.stop();
|
3450
3450
|
}
|
@@ -3568,11 +3568,29 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3568
3568
|
(0,external_vue_namespaceObject.nextTick)(clearInput);
|
3569
3569
|
}
|
3570
3570
|
}
|
3571
|
+
function clearInputBr() {
|
3572
|
+
if (!inputRef.value) return;
|
3573
|
+
var brs = inputRef.value.querySelectorAll('br');
|
3574
|
+
brs === null || brs === void 0 || brs.forEach(function (br) {
|
3575
|
+
return br.remove();
|
3576
|
+
});
|
3577
|
+
}
|
3571
3578
|
function clearInput() {
|
3572
3579
|
if (!inputRef.value) return;
|
3580
|
+
// magic code 判断是否是 windows 系统
|
3581
|
+
// const isWindows = navigator.userAgent.includes('Windows');
|
3582
|
+
// if (isWindows) {
|
3583
|
+
// setTimeout(() => {
|
3584
|
+
// keyword.value = '';
|
3585
|
+
// inputRef.value.innerText = '';
|
3586
|
+
// clearInputBr();
|
3587
|
+
// }, 32);
|
3588
|
+
// return;
|
3589
|
+
// }
|
3573
3590
|
keyword.value = '';
|
3574
3591
|
(0,external_vue_namespaceObject.nextTick)(function () {
|
3575
|
-
|
3592
|
+
inputRef.value.innerText = '';
|
3593
|
+
clearInputBr();
|
3576
3594
|
});
|
3577
3595
|
}
|
3578
3596
|
function str2SelectedItem(str) {
|
@@ -3653,6 +3671,14 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3653
3671
|
menuHoverId.value = '';
|
3654
3672
|
}
|
3655
3673
|
}
|
3674
|
+
function handleCompositionEnd(event) {
|
3675
|
+
isComposition.value = false;
|
3676
|
+
keyword.value = event.data;
|
3677
|
+
handleInputChange(event);
|
3678
|
+
}
|
3679
|
+
function handleCompositionStart() {
|
3680
|
+
isComposition.value = true;
|
3681
|
+
}
|
3656
3682
|
// expose
|
3657
3683
|
expose({
|
3658
3684
|
inputFocusForWrapper: inputFocusForWrapper,
|
@@ -3671,6 +3697,7 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3671
3697
|
menuList: menuList,
|
3672
3698
|
menuHoverId: menuHoverId,
|
3673
3699
|
isFocus: isFocus,
|
3700
|
+
isComposition: isComposition,
|
3674
3701
|
usingItem: usingItem,
|
3675
3702
|
showPopover: showPopover,
|
3676
3703
|
showNoSelectValueError: showNoSelectValueError,
|
@@ -3693,7 +3720,9 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3693
3720
|
customPanelSubmit: customPanelSubmit,
|
3694
3721
|
refleshMenuHover: refleshMenuHover,
|
3695
3722
|
t: t,
|
3696
|
-
inputKey: inputKey
|
3723
|
+
inputKey: inputKey,
|
3724
|
+
handleCompositionEnd: handleCompositionEnd,
|
3725
|
+
handleCompositionStart: handleCompositionStart
|
3697
3726
|
};
|
3698
3727
|
},
|
3699
3728
|
render: function render() {
|
@@ -3720,9 +3749,11 @@ function input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
3720
3749
|
'input-after': showInputAfter
|
3721
3750
|
},
|
3722
3751
|
"contenteditable": true,
|
3723
|
-
"data-placeholder": !inputInnerHtml && !_this.keyword ? _this.placeholder : '',
|
3724
|
-
"data-tips": placeholder || '',
|
3752
|
+
"data-placeholder": !_this.isComposition && !inputInnerHtml && !_this.keyword ? _this.placeholder : '',
|
3753
|
+
"data-tips": !_this.isComposition ? placeholder || '' : '',
|
3725
3754
|
"spellcheck": "false",
|
3755
|
+
"onCompositionend": _this.handleCompositionEnd,
|
3756
|
+
"onCompositionstart": _this.handleCompositionStart,
|
3726
3757
|
"onFocus": _this.handleInputFocus,
|
3727
3758
|
"onInput": _this.handleInputChange,
|
3728
3759
|
"onKeydown": _this.handleInputKeyup,
|
@@ -3816,7 +3847,7 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
3816
3847
|
* Tencent is pleased to support the open source community by making
|
3817
3848
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3818
3849
|
*
|
3819
|
-
* Copyright (C)
|
3850
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3820
3851
|
*
|
3821
3852
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3822
3853
|
*
|
@@ -3986,7 +4017,7 @@ function search_select_arrayLikeToArray(arr, len) { if (len == null || len > arr
|
|
3986
4017
|
* Tencent is pleased to support the open source community by making
|
3987
4018
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3988
4019
|
*
|
3989
|
-
* Copyright (C)
|
4020
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3990
4021
|
*
|
3991
4022
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3992
4023
|
*
|
@@ -4290,7 +4321,8 @@ var SearchSelectProps = {
|
|
4290
4321
|
inputRef.value.inputFocusForWrapper();
|
4291
4322
|
}
|
4292
4323
|
}
|
4293
|
-
function handleClearAll() {
|
4324
|
+
function handleClearAll(e) {
|
4325
|
+
e.stopPropagation();
|
4294
4326
|
selectedList.value = [];
|
4295
4327
|
overflowIndex.value = -1;
|
4296
4328
|
inputRef.value.inputClearForWrapper();
|
@@ -4433,7 +4465,7 @@ var SearchSelectProps = {
|
|
4433
4465
|
* Tencent is pleased to support the open source community by making
|
4434
4466
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4435
4467
|
*
|
4436
|
-
* Copyright (C)
|
4468
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
4437
4469
|
*
|
4438
4470
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
4439
4471
|
*
|
@@ -49,6 +49,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
49
49
|
menuList: Ref<ISearchItem[]>;
|
50
50
|
menuHoverId: Ref<string>;
|
51
51
|
isFocus: Ref<boolean>;
|
52
|
+
isComposition: Ref<boolean>;
|
52
53
|
usingItem: Ref<SelectedItem>;
|
53
54
|
showPopover: Ref<boolean>;
|
54
55
|
showNoSelectValueError: Ref<boolean>;
|
@@ -84,6 +85,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
84
85
|
logical: string;
|
85
86
|
}>;
|
86
87
|
inputKey: Ref<string>;
|
88
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
89
|
+
handleCompositionStart: () => void;
|
87
90
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add" | "selectKey")[], "focus" | "delete" | "add" | "selectKey", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
88
91
|
data: {
|
89
92
|
type: PropType<ISearchItem[]>;
|
@@ -122,6 +122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
122
122
|
menuList: import("vue").Ref<ISearchItem[]>;
|
123
123
|
menuHoverId: import("vue").Ref<string>;
|
124
124
|
isFocus: import("vue").Ref<boolean>;
|
125
|
+
isComposition: import("vue").Ref<boolean>;
|
125
126
|
usingItem: import("vue").Ref<SelectedItem>;
|
126
127
|
showPopover: import("vue").Ref<boolean>;
|
127
128
|
showNoSelectValueError: import("vue").Ref<boolean>;
|
@@ -157,6 +158,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
157
158
|
logical: string;
|
158
159
|
}>;
|
159
160
|
inputKey: import("vue").Ref<string>;
|
161
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
162
|
+
handleCompositionStart: () => void;
|
160
163
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
161
164
|
data: {
|
162
165
|
type: PropType<ISearchItem[]>;
|
@@ -255,6 +258,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
255
258
|
menuList: import("vue").Ref<ISearchItem[]>;
|
256
259
|
menuHoverId: import("vue").Ref<string>;
|
257
260
|
isFocus: import("vue").Ref<boolean>;
|
261
|
+
isComposition: import("vue").Ref<boolean>;
|
258
262
|
usingItem: import("vue").Ref<SelectedItem>;
|
259
263
|
showPopover: import("vue").Ref<boolean>;
|
260
264
|
showNoSelectValueError: import("vue").Ref<boolean>;
|
@@ -290,6 +294,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
290
294
|
logical: string;
|
291
295
|
}>;
|
292
296
|
inputKey: import("vue").Ref<string>;
|
297
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
298
|
+
handleCompositionStart: () => void;
|
293
299
|
}, {}, {}, {}, {
|
294
300
|
maxHeight: number;
|
295
301
|
mode: import("./utils").SearchInputMode;
|
@@ -406,7 +412,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
406
412
|
handleWrapClick: () => void;
|
407
413
|
handleInputFocus: (v: boolean) => void;
|
408
414
|
handleResize: () => void;
|
409
|
-
handleClearAll: () => void;
|
415
|
+
handleClearAll: (e: MouseEvent) => void;
|
410
416
|
handleInputOutside: (target: Node) => boolean;
|
411
417
|
handleAddSelected: (item: SelectedItem) => void;
|
412
418
|
handleDeleteSelected: (index?: number) => void;
|
@@ -78,6 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
78
78
|
menuList: import("vue").Ref<ISearchItem[]>;
|
79
79
|
menuHoverId: import("vue").Ref<string>;
|
80
80
|
isFocus: import("vue").Ref<boolean>;
|
81
|
+
isComposition: import("vue").Ref<boolean>;
|
81
82
|
usingItem: import("vue").Ref<SelectedItem>;
|
82
83
|
showPopover: import("vue").Ref<boolean>;
|
83
84
|
showNoSelectValueError: import("vue").Ref<boolean>;
|
@@ -113,6 +114,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
113
114
|
logical: string;
|
114
115
|
}>;
|
115
116
|
inputKey: import("vue").Ref<string>;
|
117
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
118
|
+
handleCompositionStart: () => void;
|
116
119
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
117
120
|
data: {
|
118
121
|
type: PropType<ISearchItem[]>;
|
@@ -211,6 +214,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
211
214
|
menuList: import("vue").Ref<ISearchItem[]>;
|
212
215
|
menuHoverId: import("vue").Ref<string>;
|
213
216
|
isFocus: import("vue").Ref<boolean>;
|
217
|
+
isComposition: import("vue").Ref<boolean>;
|
214
218
|
usingItem: import("vue").Ref<SelectedItem>;
|
215
219
|
showPopover: import("vue").Ref<boolean>;
|
216
220
|
showNoSelectValueError: import("vue").Ref<boolean>;
|
@@ -246,6 +250,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
246
250
|
logical: string;
|
247
251
|
}>;
|
248
252
|
inputKey: import("vue").Ref<string>;
|
253
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
254
|
+
handleCompositionStart: () => void;
|
249
255
|
}, {}, {}, {}, {
|
250
256
|
maxHeight: number;
|
251
257
|
mode: SearchInputMode;
|
package/lib/select/index.d.ts
CHANGED
@@ -348,6 +348,10 @@ declare const BkSelect: {
|
|
348
348
|
} & {
|
349
349
|
default: boolean;
|
350
350
|
};
|
351
|
+
inputTooltipsOptions: {
|
352
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
353
|
+
default: () => {};
|
354
|
+
};
|
351
355
|
}>> & {
|
352
356
|
onFocus?: (...args: any[]) => any;
|
353
357
|
onBlur?: (...args: any[]) => any;
|
@@ -384,7 +388,7 @@ declare const BkSelect: {
|
|
384
388
|
inputRef: import("vue").Ref<HTMLElement>;
|
385
389
|
triggerRef: import("vue").Ref<HTMLElement>;
|
386
390
|
contentRef: import("vue").Ref<HTMLElement>;
|
387
|
-
searchRef: import("vue").Ref<
|
391
|
+
searchRef: import("vue").Ref<HTMLInputElement>;
|
388
392
|
scrollContainerRef: import("vue").Ref<HTMLElement>;
|
389
393
|
selectTagInputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
390
394
|
selected: {
|
@@ -1112,6 +1116,10 @@ declare const BkSelect: {
|
|
1112
1116
|
} & {
|
1113
1117
|
default: boolean;
|
1114
1118
|
};
|
1119
|
+
inputTooltipsOptions: {
|
1120
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
1121
|
+
default: () => {};
|
1122
|
+
};
|
1115
1123
|
}>> & {
|
1116
1124
|
onFocus?: (...args: any[]) => any;
|
1117
1125
|
onBlur?: (...args: any[]) => any;
|
@@ -1170,6 +1178,7 @@ declare const BkSelect: {
|
|
1170
1178
|
keepSearchValue: boolean;
|
1171
1179
|
searchWithPinyin: boolean;
|
1172
1180
|
disableScrollToSelectedOption: boolean;
|
1181
|
+
inputTooltipsOptions: {};
|
1173
1182
|
}, true, {}, {}, {
|
1174
1183
|
P: {};
|
1175
1184
|
B: {};
|
@@ -1523,6 +1532,10 @@ declare const BkSelect: {
|
|
1523
1532
|
} & {
|
1524
1533
|
default: boolean;
|
1525
1534
|
};
|
1535
|
+
inputTooltipsOptions: {
|
1536
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
1537
|
+
default: () => {};
|
1538
|
+
};
|
1526
1539
|
}>> & {
|
1527
1540
|
onFocus?: (...args: any[]) => any;
|
1528
1541
|
onBlur?: (...args: any[]) => any;
|
@@ -1559,7 +1572,7 @@ declare const BkSelect: {
|
|
1559
1572
|
inputRef: import("vue").Ref<HTMLElement>;
|
1560
1573
|
triggerRef: import("vue").Ref<HTMLElement>;
|
1561
1574
|
contentRef: import("vue").Ref<HTMLElement>;
|
1562
|
-
searchRef: import("vue").Ref<
|
1575
|
+
searchRef: import("vue").Ref<HTMLInputElement>;
|
1563
1576
|
scrollContainerRef: import("vue").Ref<HTMLElement>;
|
1564
1577
|
selectTagInputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
1565
1578
|
selected: {
|
@@ -1987,6 +2000,7 @@ declare const BkSelect: {
|
|
1987
2000
|
keepSearchValue: boolean;
|
1988
2001
|
searchWithPinyin: boolean;
|
1989
2002
|
disableScrollToSelectedOption: boolean;
|
2003
|
+
inputTooltipsOptions: {};
|
1990
2004
|
}>;
|
1991
2005
|
__isFragment?: never;
|
1992
2006
|
__isTeleport?: never;
|
@@ -2337,6 +2351,10 @@ declare const BkSelect: {
|
|
2337
2351
|
} & {
|
2338
2352
|
default: boolean;
|
2339
2353
|
};
|
2354
|
+
inputTooltipsOptions: {
|
2355
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
2356
|
+
default: () => {};
|
2357
|
+
};
|
2340
2358
|
}>> & {
|
2341
2359
|
onFocus?: (...args: any[]) => any;
|
2342
2360
|
onBlur?: (...args: any[]) => any;
|
@@ -2373,7 +2391,7 @@ declare const BkSelect: {
|
|
2373
2391
|
inputRef: import("vue").Ref<HTMLElement>;
|
2374
2392
|
triggerRef: import("vue").Ref<HTMLElement>;
|
2375
2393
|
contentRef: import("vue").Ref<HTMLElement>;
|
2376
|
-
searchRef: import("vue").Ref<
|
2394
|
+
searchRef: import("vue").Ref<HTMLInputElement>;
|
2377
2395
|
scrollContainerRef: import("vue").Ref<HTMLElement>;
|
2378
2396
|
selectTagInputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
2379
2397
|
selected: {
|
@@ -2801,6 +2819,7 @@ declare const BkSelect: {
|
|
2801
2819
|
keepSearchValue: boolean;
|
2802
2820
|
searchWithPinyin: boolean;
|
2803
2821
|
disableScrollToSelectedOption: boolean;
|
2822
|
+
inputTooltipsOptions: {};
|
2804
2823
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
2805
2824
|
Option: import("vue").DefineComponent<{
|
2806
2825
|
id: {
|