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
package/lib/cascader/index.js
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
import "../styles/reset.css";
|
2
2
|
import "./cascader.less";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-popover";
|
4
3
|
import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
|
5
4
|
import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
|
6
5
|
import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
11
11
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
12
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
13
12
|
import "../popover/popover.less";
|
14
13
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__ from "../select";
|
15
14
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__ from "../tag";
|
@@ -19,7 +18,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__ from "../
|
|
19
18
|
import "../checkbox/checkbox.less";
|
20
19
|
/******/ var __webpack_modules__ = ({
|
21
20
|
|
22
|
-
/***/
|
21
|
+
/***/ 668:
|
23
22
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
24
23
|
|
25
24
|
|
@@ -38,7 +37,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
38
37
|
* Tencent is pleased to support the open source community by making
|
39
38
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
40
39
|
*
|
41
|
-
* Copyright (C)
|
40
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
42
41
|
*
|
43
42
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
44
43
|
*
|
@@ -158,17 +157,15 @@ ClickOutside.install = function (app) {
|
|
158
157
|
/* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
|
159
158
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
160
159
|
var esm_typeof = __webpack_require__(6522);
|
161
|
-
|
162
|
-
var
|
163
|
-
var y = x => () => x
|
164
|
-
const plugin_popover_namespaceObject = x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
|
160
|
+
// EXTERNAL MODULE: external "../popover"
|
161
|
+
var popover_ = __webpack_require__(563);
|
165
162
|
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
166
163
|
|
167
164
|
/*
|
168
165
|
* Tencent is pleased to support the open source community by making
|
169
166
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
170
167
|
*
|
171
|
-
* Copyright (C)
|
168
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
172
169
|
*
|
173
170
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
174
171
|
*
|
@@ -239,7 +236,7 @@ var createInstance = function createInstance(el, binding) {
|
|
239
236
|
onContentMouseenter: handleContentEnter,
|
240
237
|
onContentMouseleave: handleContentLeave
|
241
238
|
});
|
242
|
-
instance = (0,
|
239
|
+
instance = (0,popover_.$bkPopover)(targetOptions);
|
243
240
|
}, 300);
|
244
241
|
};
|
245
242
|
var handleMouseLeave = function handleMouseLeave() {
|
@@ -280,7 +277,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
|
|
280
277
|
* Tencent is pleased to support the open source community by making
|
281
278
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
282
279
|
*
|
283
|
-
* Copyright (C)
|
280
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
284
281
|
*
|
285
282
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
286
283
|
*
|
@@ -326,9 +323,9 @@ var external_vue_ = __webpack_require__(6609);
|
|
326
323
|
// EXTERNAL MODULE: external "../shared"
|
327
324
|
var shared_ = __webpack_require__(9253);
|
328
325
|
;// CONCATENATED MODULE: external "@popperjs/core"
|
329
|
-
var
|
330
|
-
var
|
331
|
-
const core_namespaceObject =
|
326
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
327
|
+
var y = x => () => x
|
328
|
+
const core_namespaceObject = x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
332
329
|
;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
|
333
330
|
|
334
331
|
|
@@ -339,7 +336,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
339
336
|
* Tencent is pleased to support the open source community by making
|
340
337
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
341
338
|
*
|
342
|
-
* Copyright (C)
|
339
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
343
340
|
*
|
344
341
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
345
342
|
*
|
@@ -394,9 +391,6 @@ var tooltips = {
|
|
394
391
|
hide(el);
|
395
392
|
}, 100);
|
396
393
|
});
|
397
|
-
el.addEventListener('click', function () {
|
398
|
-
hide(el);
|
399
|
-
});
|
400
394
|
popper.addEventListener('mouseleave', function () {
|
401
395
|
clearTimeout(delayTimeout);
|
402
396
|
hideTimeout = setTimeout(function () {
|
@@ -410,7 +404,7 @@ var tooltips = {
|
|
410
404
|
show(el);
|
411
405
|
clearTimeout(delayTimeout);
|
412
406
|
}, opts.delay);
|
413
|
-
} else if (popper.hasAttribute('data-show')) {
|
407
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
414
408
|
hide(el);
|
415
409
|
}
|
416
410
|
});
|
@@ -634,7 +628,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
634
628
|
* Tencent is pleased to support the open source community by making
|
635
629
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
636
630
|
*
|
637
|
-
* Copyright (C)
|
631
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
638
632
|
*
|
639
633
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
640
634
|
*
|
@@ -1268,6 +1262,15 @@ normalizeWheel.getEventType = function() /*string*/ {
|
|
1268
1262
|
module.exports = normalizeWheel;
|
1269
1263
|
|
1270
1264
|
|
1265
|
+
/***/ }),
|
1266
|
+
|
1267
|
+
/***/ 563:
|
1268
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1269
|
+
|
1270
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1271
|
+
var y = x => () => x
|
1272
|
+
module.exports = x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
1273
|
+
|
1271
1274
|
/***/ }),
|
1272
1275
|
|
1273
1276
|
/***/ 9253:
|
@@ -1540,16 +1543,14 @@ const external_vue_types_namespaceObject = x({ ["array"]: () => __WEBPACK_EXTERN
|
|
1540
1543
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1541
1544
|
var config_provider_y = x => () => x
|
1542
1545
|
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
1543
|
-
// EXTERNAL MODULE: ../../packages/directives/src/index.ts +
|
1544
|
-
var src = __webpack_require__(
|
1546
|
+
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1547
|
+
var src = __webpack_require__(668);
|
1545
1548
|
;// CONCATENATED MODULE: external "../icon"
|
1546
1549
|
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1547
1550
|
var icon_y = x => () => x
|
1548
1551
|
const icon_namespaceObject = icon_x({ ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight, ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["Spinner"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner });
|
1549
|
-
|
1550
|
-
var
|
1551
|
-
var popover_y = x => () => x
|
1552
|
-
const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
1552
|
+
// EXTERNAL MODULE: external "../popover"
|
1553
|
+
var popover_ = __webpack_require__(563);
|
1553
1554
|
;// CONCATENATED MODULE: external "../popover/popover.less"
|
1554
1555
|
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1555
1556
|
var popover_less_y = x => () => x
|
@@ -1587,7 +1588,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1587
1588
|
* Tencent is pleased to support the open source community by making
|
1588
1589
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1589
1590
|
*
|
1590
|
-
* Copyright (C)
|
1591
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1591
1592
|
*
|
1592
1593
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1593
1594
|
*
|
@@ -1637,7 +1638,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1637
1638
|
var t = (0,config_provider_namespaceObject.useLocale)('cascader');
|
1638
1639
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
1639
1640
|
resolveClassName = _usePrefix.resolveClassName;
|
1640
|
-
var
|
1641
|
+
var _toRefs = (0,external_vue_.toRefs)(props),
|
1642
|
+
store = _toRefs.store;
|
1641
1643
|
var menus = (0,external_vue_.reactive)({
|
1642
1644
|
list: [props.store.getNodes()]
|
1643
1645
|
});
|
@@ -1661,7 +1663,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1661
1663
|
* @param value - 选中的值数组
|
1662
1664
|
*/
|
1663
1665
|
var updateCheckValue = function updateCheckValue(value) {
|
1664
|
-
if (value.length === 0) {
|
1666
|
+
if (!value || value.length === 0) {
|
1665
1667
|
menus.list = menus.list.slice(0, 1);
|
1666
1668
|
activePath.value = [];
|
1667
1669
|
}
|
@@ -1673,31 +1675,63 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1673
1675
|
* @param value - 节点ID数组
|
1674
1676
|
*/
|
1675
1677
|
var expandByNodeList = function expandByNodeList(value) {
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1678
|
+
// 判断是否为初始加载
|
1679
|
+
var isInitialLoad = checkValue.value.length === 0;
|
1680
|
+
// 如果是初始加载或单选情况,按原来的逻辑处理
|
1681
|
+
if (isInitialLoad || !store.value.config.multiple) {
|
1682
|
+
var targetList = [];
|
1683
|
+
// 处理多选情况
|
1684
|
+
if (store.value.config.multiple) {
|
1685
|
+
var _iterator = _createForOfIteratorHelper(value),
|
1686
|
+
_step;
|
1687
|
+
try {
|
1688
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
1689
|
+
var subArray = _step.value;
|
1690
|
+
if (subArray.length > targetList.length) {
|
1691
|
+
targetList = subArray;
|
1692
|
+
}
|
1686
1693
|
}
|
1694
|
+
} catch (err) {
|
1695
|
+
_iterator.e(err);
|
1696
|
+
} finally {
|
1697
|
+
_iterator.f();
|
1687
1698
|
}
|
1688
|
-
}
|
1689
|
-
|
1690
|
-
|
1691
|
-
_iterator.f();
|
1699
|
+
} else {
|
1700
|
+
// 单选情况
|
1701
|
+
targetList = value;
|
1692
1702
|
}
|
1693
|
-
|
1694
|
-
targetList
|
1703
|
+
// 执行展开操作
|
1704
|
+
targetList.forEach(function (id) {
|
1705
|
+
var node = store.value.getNodeById(id);
|
1706
|
+
if (node) {
|
1707
|
+
// 只展开,不需要重复触发
|
1708
|
+
var expandNode = function expandNode(node) {
|
1709
|
+
var _node$children;
|
1710
|
+
if (!node || node !== null && node !== void 0 && node.isDisabled) return;
|
1711
|
+
var level = node.level;
|
1712
|
+
// 确保面板只更新到当前节点层级
|
1713
|
+
menus.list = menus.list.slice(0, level);
|
1714
|
+
activePath.value = activePath.value.slice(0, level - 1);
|
1715
|
+
// 如果节点有子节点,直接添加到面板
|
1716
|
+
if ((_node$children = node.children) !== null && _node$children !== void 0 && _node$children.length) {
|
1717
|
+
if (menus.list.length === level) {
|
1718
|
+
menus.list.push(node.children);
|
1719
|
+
activePath.value.push(node);
|
1720
|
+
}
|
1721
|
+
}
|
1722
|
+
};
|
1723
|
+
// 展开节点的所有父节点
|
1724
|
+
var expandParents = function expandParents(node) {
|
1725
|
+
if (node.parent) {
|
1726
|
+
expandParents(node.parent);
|
1727
|
+
}
|
1728
|
+
expandNode(node);
|
1729
|
+
};
|
1730
|
+
expandParents(node);
|
1731
|
+
}
|
1732
|
+
});
|
1695
1733
|
}
|
1696
|
-
//
|
1697
|
-
targetList.forEach(function (id) {
|
1698
|
-
var node = store.getNodeById(id);
|
1699
|
-
nodeExpandHandler(node);
|
1700
|
-
});
|
1734
|
+
// 用户交互过程中的选择由nodeExpandHandler单独处理,这里不干预
|
1701
1735
|
};
|
1702
1736
|
/** 节点选中回调
|
1703
1737
|
* 根据单选、多选配置checkValue
|
@@ -1709,7 +1743,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1709
1743
|
}
|
1710
1744
|
if (node.config.multiple) {
|
1711
1745
|
// 如果checkAnyLevel,返回所有check的节点; 否则只check 叶子节点
|
1712
|
-
var targets = store.config.checkAnyLevel ? store.getCheckedNodes() : store.getCheckedLeafNodes();
|
1746
|
+
var targets = store.value.config.checkAnyLevel ? store.value.getCheckedNodes() : store.value.getCheckedLeafNodes();
|
1713
1747
|
checkValue.value = targets.map(function (node) {
|
1714
1748
|
return node.path;
|
1715
1749
|
}); // 如果任意级别可选,当前节点即为所选内容
|
@@ -1720,27 +1754,27 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1720
1754
|
};
|
1721
1755
|
/** node点击展开回调 */
|
1722
1756
|
var nodeExpandHandler = function nodeExpandHandler(node) {
|
1723
|
-
var _node$
|
1757
|
+
var _node$children2;
|
1724
1758
|
if (!node || node !== null && node !== void 0 && node.isDisabled) return;
|
1725
1759
|
menus.list = menus.list.slice(0, node.level);
|
1726
1760
|
activePath.value = activePath.value.slice(0, node.level - 1);
|
1727
1761
|
/** 如果所点击的node具有children元素,则直接展开
|
1728
1762
|
* 否则判断是否开启了远程加载,进行远程加载列表
|
1729
1763
|
*/
|
1730
|
-
if ((_node$
|
1764
|
+
if ((_node$children2 = node.children) !== null && _node$children2 !== void 0 && _node$children2.length) {
|
1731
1765
|
menus.list.push(node.children);
|
1732
1766
|
activePath.value.push(node);
|
1733
1767
|
return;
|
1734
1768
|
}
|
1735
|
-
if (store.config.isRemote && !node.isLeaf) {
|
1769
|
+
if (store.value.config.isRemote && !node.isLeaf) {
|
1736
1770
|
node.loading = true;
|
1737
1771
|
var updateNodes = function updateNodes(nodeData) {
|
1738
|
-
store.appendNodes(nodeData, node || null);
|
1772
|
+
store.value.appendNodes(nodeData, node || null);
|
1739
1773
|
menus.list.push(node.children);
|
1740
1774
|
activePath.value.push(node);
|
1741
1775
|
node.loading = false;
|
1742
1776
|
};
|
1743
|
-
store.config.remoteMethod(node, updateNodes);
|
1777
|
+
store.value.config.remoteMethod(node, updateNodes);
|
1744
1778
|
}
|
1745
1779
|
};
|
1746
1780
|
/**
|
@@ -1979,7 +2013,7 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
1979
2013
|
* Tencent is pleased to support the open source community by making
|
1980
2014
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1981
2015
|
*
|
1982
|
-
* Copyright (C)
|
2016
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1983
2017
|
*
|
1984
2018
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1985
2019
|
*
|
@@ -2176,7 +2210,7 @@ var Node = /*#__PURE__*/function () {
|
|
2176
2210
|
* Tencent is pleased to support the open source community by making
|
2177
2211
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2178
2212
|
*
|
2179
|
-
* Copyright (C)
|
2213
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2180
2214
|
*
|
2181
2215
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2182
2216
|
*
|
@@ -2329,7 +2363,7 @@ var Store = /*#__PURE__*/function () {
|
|
2329
2363
|
* Tencent is pleased to support the open source community by making
|
2330
2364
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2331
2365
|
*
|
2332
|
-
* Copyright (C)
|
2366
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2333
2367
|
*
|
2334
2368
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2335
2369
|
*
|
@@ -2398,6 +2432,7 @@ var Store = /*#__PURE__*/function () {
|
|
2398
2432
|
scrollWidth: shared_.PropTypes.oneOfType([shared_.PropTypes.number, shared_.PropTypes.string]).def('auto'),
|
2399
2433
|
customTextFillback: shared_.PropTypes.func,
|
2400
2434
|
customTagsFillback: shared_.PropTypes.func,
|
2435
|
+
changeEmitsNodes: shared_.PropTypes.bool.def(false),
|
2401
2436
|
collapseTags: {
|
2402
2437
|
type: Boolean,
|
2403
2438
|
"default": true
|
@@ -2421,6 +2456,8 @@ var Store = /*#__PURE__*/function () {
|
|
2421
2456
|
setHover = _useHover.setHover,
|
2422
2457
|
cancelHover = _useHover.cancelHover;
|
2423
2458
|
var store = (0,external_vue_.ref)(new src_store(props));
|
2459
|
+
// 用于处理在 removeTag 时, popOver panel 触发 clickOutside 消失的问题
|
2460
|
+
var isAlways = (0,external_vue_.ref)(false);
|
2424
2461
|
// 定义selectedText变量用于记录当前选择的值的文本
|
2425
2462
|
var selectedText = (0,external_vue_.ref)('');
|
2426
2463
|
// 定义selectedTags变量用于记录多选模式下已选的tag
|
@@ -2457,7 +2494,8 @@ var Store = /*#__PURE__*/function () {
|
|
2457
2494
|
var inputRef = (0,external_vue_.ref)(null);
|
2458
2495
|
// 用computed定义placeholder变量,用于处理props中的placeholder属性
|
2459
2496
|
var placeholder = (0,external_vue_.computed)(function () {
|
2460
|
-
|
2497
|
+
var placeholder = props.placeholder ? props.placeholder : t.value.pleaseSelect;
|
2498
|
+
return modelValue.value.length === 0 ? placeholder : '';
|
2461
2499
|
});
|
2462
2500
|
var displayText = (0,external_vue_.computed)(function () {
|
2463
2501
|
if (props.customTextFillback) {
|
@@ -2522,18 +2560,25 @@ var Store = /*#__PURE__*/function () {
|
|
2522
2560
|
};
|
2523
2561
|
// 移除tag
|
2524
2562
|
var removeTag = function removeTag(value, index, e) {
|
2563
|
+
isAlways.value = true;
|
2525
2564
|
e.stopPropagation();
|
2526
2565
|
var current = JSON.parse(JSON.stringify(value));
|
2527
2566
|
var tag = current.splice(index, 1)[0];
|
2528
2567
|
isEdit.value = true; // 删除时也在编辑态,触发overflowTagIndex的计算
|
2529
2568
|
store.value.removeTag(tag);
|
2530
2569
|
updateValue(current);
|
2531
|
-
emit('update:modelValue', store.value.getCheckedNodes()
|
2570
|
+
emit('update:modelValue', store.value.getCheckedNodes()
|
2571
|
+
// a. 开启 checkAnyLevel 后,不过滤任何节点
|
2572
|
+
// b. 关闭 checkAnyLevel 后,只返回叶子节点,避免父节点在子节点全部选中后,同时出现在 modelValue 中
|
2573
|
+
.filter(function (node) {
|
2574
|
+
return store.value.config.checkAnyLevel || node.isLeaf;
|
2575
|
+
}).map(function (node) {
|
2532
2576
|
return node.path;
|
2533
2577
|
}));
|
2534
2578
|
// 计算过后,关闭编辑状态
|
2535
2579
|
setTimeout(function () {
|
2536
2580
|
isEdit.value = isFocus.value;
|
2581
|
+
isAlways.value = false;
|
2537
2582
|
});
|
2538
2583
|
};
|
2539
2584
|
// modelValue的监听函数
|
@@ -2542,7 +2587,8 @@ var Store = /*#__PURE__*/function () {
|
|
2542
2587
|
updateValue(value);
|
2543
2588
|
// 派发相关事件
|
2544
2589
|
emit('update:modelValue', value);
|
2545
|
-
|
2590
|
+
var emitValue = props.changeEmitsNodes ? store.value.getNodeByValue(value) : value;
|
2591
|
+
oldValue !== undefined && emit('change', emitValue); // oldValue = undefined代表初始化,init不派发change事件
|
2546
2592
|
// 如果有过滤搜索,选择后,自动focus到input
|
2547
2593
|
inputRef === null || inputRef === void 0 || (_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 || _inputRef$value.focus();
|
2548
2594
|
// 选择后过滤条件清除,面板初始化渲染
|
@@ -2561,10 +2607,9 @@ var Store = /*#__PURE__*/function () {
|
|
2561
2607
|
// popover激活后,focus相应事件
|
2562
2608
|
isFocus.value = val.isShow;
|
2563
2609
|
(0,external_vue_.nextTick)(function () {
|
2564
|
-
var _inputRef$value2;
|
2565
|
-
val && ((_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 ? void 0 : _inputRef$value2.focus());
|
2566
2610
|
if (val.isShow) {
|
2567
|
-
var _cascaderPanel$value;
|
2611
|
+
var _inputRef$value2, _cascaderPanel$value;
|
2612
|
+
(_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 || _inputRef$value2.focus();
|
2568
2613
|
(_cascaderPanel$value = cascaderPanel.value) === null || _cascaderPanel$value === void 0 || _cascaderPanel$value.scrollToSelected(); // 滚动到选中的节点
|
2569
2614
|
}
|
2570
2615
|
});
|
@@ -2647,6 +2692,7 @@ var Store = /*#__PURE__*/function () {
|
|
2647
2692
|
overflowTagIndex: overflowTagIndex,
|
2648
2693
|
isCollapse: isCollapse,
|
2649
2694
|
isFocus: isFocus,
|
2695
|
+
isAlways: isAlways,
|
2650
2696
|
store: store,
|
2651
2697
|
updateValue: updateValue,
|
2652
2698
|
selectedText: selectedText,
|
@@ -2677,7 +2723,8 @@ var Store = /*#__PURE__*/function () {
|
|
2677
2723
|
var _this = this;
|
2678
2724
|
// 定义suffixIcon函数,用于根据不同情况渲染后缀图标
|
2679
2725
|
var suffixIcon = function suffixIcon() {
|
2680
|
-
|
2726
|
+
var _this$modelValue;
|
2727
|
+
if (_this.clearable && _this.isHover && !_this.disabled && ((_this$modelValue = _this.modelValue) === null || _this$modelValue === void 0 ? void 0 : _this$modelValue.length) > 0) {
|
2681
2728
|
// 当可清空、鼠标悬浮且未禁用时,渲染清空图标
|
2682
2729
|
return (0,external_vue_.createVNode)(icon_namespaceObject.Close, {
|
2683
2730
|
"class": _this.resolveClassName('icon-clear-icon'),
|
@@ -2742,12 +2789,14 @@ var Store = /*#__PURE__*/function () {
|
|
2742
2789
|
};
|
2743
2790
|
// 定义popoverRender函数,用于渲染弹出框
|
2744
2791
|
var popoverRender = function popoverRender() {
|
2745
|
-
return (0,external_vue_.createVNode)(
|
2792
|
+
return (0,external_vue_.createVNode)(popover_["default"], {
|
2746
2793
|
"ref": "popover",
|
2747
2794
|
"class": _this.resolveClassName('cascader-popover-wrapper'),
|
2795
|
+
"always": _this.isAlways,
|
2748
2796
|
"arrow": false,
|
2749
2797
|
"boundary": "body",
|
2750
2798
|
"disabled": _this.disabled,
|
2799
|
+
"hideIgnoreReference": true,
|
2751
2800
|
"offset": 4,
|
2752
2801
|
"placement": "bottom-start",
|
2753
2802
|
"referenceCls": _this.resolveClassName('cascader-popover-reference'),
|
@@ -2776,6 +2825,7 @@ var Store = /*#__PURE__*/function () {
|
|
2776
2825
|
}, null) : textRender()]);
|
2777
2826
|
},
|
2778
2827
|
content: function content() {
|
2828
|
+
var _this$$slots$extensio, _this$$slots;
|
2779
2829
|
return (0,external_vue_.createVNode)("div", {
|
2780
2830
|
"class": _this.resolveClassName('cascader-popover')
|
2781
2831
|
}, [(0,external_vue_.createVNode)(cascader_panel, {
|
@@ -2797,7 +2847,7 @@ var Store = /*#__PURE__*/function () {
|
|
2797
2847
|
"class": _this.resolveClassName('cascader-node-name')
|
2798
2848
|
}, [scope.node.name]);
|
2799
2849
|
}
|
2800
|
-
})]);
|
2850
|
+
}), (_this$$slots$extensio = (_this$$slots = _this.$slots).extension) === null || _this$$slots$extensio === void 0 ? void 0 : _this$$slots$extensio.call(_this$$slots)]);
|
2801
2851
|
}
|
2802
2852
|
});
|
2803
2853
|
};
|
@@ -2806,7 +2856,7 @@ var Store = /*#__PURE__*/function () {
|
|
2806
2856
|
}, [this.$slots.trigger ? popoverRender() : (0,external_vue_.createVNode)("div", {
|
2807
2857
|
"ref": "bkCascaderRef",
|
2808
2858
|
"class": [this.resolveClassName('cascader'), this.extCls, {
|
2809
|
-
'is-unselected': this.modelValue.length === 0,
|
2859
|
+
'is-unselected': !this.modelValue || this.modelValue.length === 0,
|
2810
2860
|
'is-hover': this.isHover,
|
2811
2861
|
'is-filterable': this.filterable,
|
2812
2862
|
'is-focus': this.isFocus,
|
@@ -2825,7 +2875,7 @@ var Store = /*#__PURE__*/function () {
|
|
2825
2875
|
* Tencent is pleased to support the open source community by making
|
2826
2876
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2827
2877
|
*
|
2828
|
-
* Copyright (C)
|
2878
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2829
2879
|
*
|
2830
2880
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2831
2881
|
*
|
package/lib/checkbox/index.js
CHANGED
@@ -166,7 +166,7 @@ const icon_namespaceObject = icon_x({ ["Loading"]: () => __WEBPACK_EXTERNAL_MODU
|
|
166
166
|
* Tencent is pleased to support the open source community by making
|
167
167
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
168
168
|
*
|
169
|
-
* Copyright (C)
|
169
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
170
170
|
*
|
171
171
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
172
172
|
*
|
@@ -232,7 +232,7 @@ var useCheckbox = function useCheckbox() {
|
|
232
232
|
}
|
233
233
|
(0,external_vue_namespaceObject.nextTick)(function () {
|
234
234
|
// 选中状态保持同步
|
235
|
-
if (inputRef.value.checked !== isChecked.value) {
|
235
|
+
if (inputRef.value && inputRef.value.checked !== isChecked.value) {
|
236
236
|
inputRef.value.checked = isChecked.value;
|
237
237
|
}
|
238
238
|
});
|
@@ -322,7 +322,7 @@ var useCheckbox = function useCheckbox() {
|
|
322
322
|
* Tencent is pleased to support the open source community by making
|
323
323
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
324
324
|
*
|
325
|
-
* Copyright (C)
|
325
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
326
326
|
*
|
327
327
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
328
328
|
*
|
@@ -443,7 +443,7 @@ var checkboxProps = {
|
|
443
443
|
* Tencent is pleased to support the open source community by making
|
444
444
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
445
445
|
*
|
446
|
-
* Copyright (C)
|
446
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
447
447
|
*
|
448
448
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
449
449
|
*
|
@@ -547,7 +547,7 @@ var checkboxGroupProps = {
|
|
547
547
|
* Tencent is pleased to support the open source community by making
|
548
548
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
549
549
|
*
|
550
|
-
* Copyright (C)
|
550
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
551
551
|
*
|
552
552
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
553
553
|
*
|
package/lib/code-diff/index.js
CHANGED
@@ -5435,7 +5435,7 @@ var diff2html_min = __webpack_require__(9003);
|
|
5435
5435
|
* Tencent is pleased to support the open source community by making
|
5436
5436
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
5437
5437
|
*
|
5438
|
-
* Copyright (C)
|
5438
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
5439
5439
|
*
|
5440
5440
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
5441
5441
|
*
|
@@ -5551,7 +5551,7 @@ function changeCodeCls(htmlStr, lang) {
|
|
5551
5551
|
* Tencent is pleased to support the open source community by making
|
5552
5552
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
5553
5553
|
*
|
5554
|
-
* Copyright (C)
|
5554
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
5555
5555
|
*
|
5556
5556
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
5557
5557
|
*
|
package/lib/collapse/index.js
CHANGED
@@ -146,7 +146,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
146
146
|
* Tencent is pleased to support the open source community by making
|
147
147
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
148
148
|
*
|
149
|
-
* Copyright (C)
|
149
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
150
150
|
*
|
151
151
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
152
152
|
*
|
@@ -242,7 +242,7 @@ var propsCollapsePanel = _objectSpread({
|
|
242
242
|
* Tencent is pleased to support the open source community by making
|
243
243
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
244
244
|
*
|
245
|
-
* Copyright (C)
|
245
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
246
246
|
*
|
247
247
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
248
248
|
*
|
@@ -402,7 +402,7 @@ function collapse_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
402
402
|
* Tencent is pleased to support the open source community by making
|
403
403
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
404
404
|
*
|
405
|
-
* Copyright (C)
|
405
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
406
406
|
*
|
407
407
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
408
408
|
*
|
@@ -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-collapse-transitioncollapse-transition {
|
132
133
|
transition: 0.3s height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out;
|
@@ -49,7 +49,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
49
49
|
* Tencent is pleased to support the open source community by making
|
50
50
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
51
51
|
*
|
52
|
-
* Copyright (C)
|
52
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
53
53
|
*
|
54
54
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
55
55
|
*
|
@@ -149,7 +149,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
149
149
|
* Tencent is pleased to support the open source community by making
|
150
150
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
151
151
|
*
|
152
|
-
* Copyright (C)
|
152
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
153
153
|
*
|
154
154
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
155
155
|
*
|