bkui-vue 2.0.2-beta.44 → 2.0.2-beta.46
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/index.cjs.js +47 -42
- package/dist/index.esm.js +7199 -7009
- package/dist/index.umd.js +50 -45
- 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 +1 -1
- package/dist/locale/ja-jp.esm.js.map +1 -1
- package/dist/locale/ja-jp.umd.js +1 -1
- package/dist/locale/ja-jp.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/lib/affix/index.js +14 -16
- package/lib/alert/index.js +14 -16
- package/lib/animate-number/index.js +13 -14
- package/lib/backtop/index.js +12 -13
- package/lib/badge/index.js +14 -16
- package/lib/breadcrumb/index.js +15 -17
- package/lib/button/button.d.ts +1 -1
- package/lib/button/index.js +15 -17
- package/lib/card/index.js +14 -16
- package/lib/cascader/index.js +104 -111
- package/lib/checkbox/index.js +41 -39
- package/lib/code-diff/index.js +1173 -677
- package/lib/collapse/index.js +47 -45
- package/lib/collapse-transition/index.js +5 -6
- package/lib/color-picker/index.js +72 -73
- package/lib/components.js +1 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +18 -20
- package/lib/container/index.js +26 -30
- package/lib/date-picker/index.js +79 -72
- package/lib/dialog/index.js +56 -477
- package/lib/directives/index.js +42 -39
- package/lib/dist.index.js +1 -1
- package/lib/divider/index.js +5 -6
- package/lib/dropdown/index.js +21 -25
- package/lib/exception/index.js +16 -19
- package/lib/fixed-navbar/index.js +4 -5
- package/lib/form/index.js +48 -45
- package/lib/hooks.js +1 -1
- package/lib/icon/angle-double-down-line.js +30 -37
- package/lib/icon/angle-double-left-line.js +30 -37
- package/lib/icon/angle-double-left.js +30 -37
- package/lib/icon/angle-double-right-line.js +30 -37
- package/lib/icon/angle-double-right.js +30 -37
- package/lib/icon/angle-double-up-line.js +30 -37
- package/lib/icon/angle-down-fill.js +30 -37
- package/lib/icon/angle-down-line.js +30 -37
- package/lib/icon/angle-down.js +30 -37
- package/lib/icon/angle-left.js +30 -37
- package/lib/icon/angle-right.js +30 -37
- package/lib/icon/angle-up-fill.js +30 -37
- package/lib/icon/angle-up.js +30 -37
- package/lib/icon/archive-fill.js +30 -37
- package/lib/icon/arrows-left.js +30 -37
- package/lib/icon/arrows-right.js +30 -37
- package/lib/icon/assistant.js +30 -37
- package/lib/icon/audio-fill.js +30 -37
- package/lib/icon/bk.js +30 -37
- package/lib/icon/circle.js +30 -37
- package/lib/icon/close-line.js +30 -37
- package/lib/icon/close.js +30 -37
- package/lib/icon/code.js +30 -37
- package/lib/icon/cog-shape.js +30 -37
- package/lib/icon/collapse-left.js +30 -37
- package/lib/icon/copy-shape.js +30 -37
- package/lib/icon/copy.js +30 -37
- package/lib/icon/data-shape.js +30 -37
- package/lib/icon/del.js +30 -37
- package/lib/icon/doc-fill.js +30 -37
- package/lib/icon/done.js +30 -37
- package/lib/icon/down-shape.js +30 -37
- package/lib/icon/down-small.js +30 -37
- package/lib/icon/edit-line.js +30 -37
- package/lib/icon/ellipsis.js +30 -37
- package/lib/icon/enlarge-line.js +30 -37
- package/lib/icon/error.js +30 -37
- package/lib/icon/excel-fill.js +30 -37
- package/lib/icon/exclamation-circle-shape.js +30 -37
- package/lib/icon/eye.js +30 -37
- package/lib/icon/filliscreen-line.js +30 -37
- package/lib/icon/fix-line.js +30 -37
- package/lib/icon/fix-shape.js +30 -37
- package/lib/icon/folder-open.js +30 -37
- package/lib/icon/folder-shape-open.js +30 -37
- package/lib/icon/folder-shape.js +30 -37
- package/lib/icon/folder.js +30 -37
- package/lib/icon/funnel.js +30 -37
- package/lib/icon/grag-fill.js +30 -37
- package/lib/icon/help-document-fill.js +30 -37
- package/lib/icon/help-fill.js +30 -37
- package/lib/icon/help.js +30 -37
- package/lib/icon/image-fill.js +30 -37
- package/lib/icon/img-error.js +30 -37
- package/lib/icon/img-placehoulder.js +30 -37
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +30 -37
- package/lib/icon/info.js +30 -37
- package/lib/icon/left-shape.js +30 -37
- package/lib/icon/left-turn-line.js +30 -37
- package/lib/icon/loading.js +30 -37
- package/lib/icon/narrow-line.js +30 -37
- package/lib/icon/original.js +30 -37
- package/lib/icon/pdf-fill.js +30 -37
- package/lib/icon/play-shape.js +30 -37
- package/lib/icon/plus.js +30 -37
- package/lib/icon/ppt-fill.js +30 -37
- package/lib/icon/qq.js +30 -37
- package/lib/icon/right-shape.js +30 -37
- package/lib/icon/right-turn-line.js +30 -37
- package/lib/icon/search.js +30 -37
- package/lib/icon/share.js +30 -37
- package/lib/icon/spinner.js +30 -37
- package/lib/icon/success.js +30 -37
- package/lib/icon/switcher-loading.js +30 -37
- package/lib/icon/text-all.js +30 -37
- package/lib/icon/text-file.js +30 -37
- package/lib/icon/text-fill.js +30 -37
- package/lib/icon/transfer.js +30 -37
- package/lib/icon/tree-application-shape.js +30 -37
- package/lib/icon/unfull-screen.js +30 -37
- package/lib/icon/unvisible.js +30 -37
- package/lib/icon/up-shape.js +30 -37
- package/lib/icon/upload.js +30 -37
- package/lib/icon/video-fill.js +30 -37
- package/lib/icon/warn.js +30 -37
- package/lib/icon/weixin-pro.js +30 -37
- package/lib/icon/weixin.js +30 -37
- package/lib/image/index.js +57 -55
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +65 -464
- package/lib/input/index.js +70 -68
- package/lib/link/index.js +4 -4
- package/lib/loading/index.js +25 -28
- package/lib/locale/index.js +16 -16
- package/lib/menu/index.js +42 -40
- package/lib/message/index.js +37 -34
- package/lib/modal/index.js +17 -19
- package/lib/navigation/index.js +10 -12
- package/lib/notify/index.js +15 -17
- package/lib/overflow-title/index.js +12 -13
- package/lib/pagination/index.js +38 -35
- package/lib/pop-confirm/index.js +7 -8
- package/lib/popover/index.js +226 -153
- package/lib/popover2/index.js +4 -4
- package/lib/preset.js +1 -1
- package/lib/process/index.js +61 -454
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.js +20 -23
- package/lib/radio/index.js +42 -39
- package/lib/rate/index.js +15 -17
- package/lib/resize-layout/index.js +20 -22
- package/lib/scrollbar/index.js +57 -64
- package/lib/search-select/index.js +233 -606
- package/lib/select/index.js +126 -478
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +93 -105
- package/lib/shared/z-index-manager.d.ts +1 -1
- package/lib/sideslider/index.js +45 -443
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +52 -449
- package/lib/slider/slider-button.d.ts +1 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/steps/index.js +62 -460
- package/lib/steps/steps.d.ts +1 -1
- package/lib/swiper/index.js +17 -19
- package/lib/switcher/index.js +14 -16
- package/lib/tab/index.js +50 -48
- package/lib/table/index.js +184 -533
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +14 -16
- package/lib/tag-input/index.js +58 -52
- package/lib/time-picker/index.js +1 -1
- package/lib/timeline/index.js +3 -2
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/transfer/index.d.ts +1 -1
- package/lib/transfer/index.js +26 -21
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/tree/index.js +85 -78
- package/lib/upload/index.js +144 -495
- package/lib/virtual-render/index.js +54 -58
- package/lib/volar.components.d.ts +1 -1
- package/package.json +13 -2
package/lib/swiper/index.js
CHANGED
@@ -46,6 +46,7 @@ function _typeof(o) {
|
|
46
46
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
47
47
|
}, _typeof(o);
|
48
48
|
}
|
49
|
+
|
49
50
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
50
51
|
|
51
52
|
function toPrimitive(t, r) {
|
@@ -58,29 +59,26 @@ function toPrimitive(t, r) {
|
|
58
59
|
}
|
59
60
|
return ("string" === r ? String : Number)(t);
|
60
61
|
}
|
62
|
+
|
61
63
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
62
64
|
|
63
65
|
|
64
66
|
function toPropertyKey(t) {
|
65
67
|
var i = toPrimitive(t, "string");
|
66
|
-
return "symbol" == _typeof(i) ? i :
|
68
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
67
69
|
}
|
70
|
+
|
68
71
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
69
72
|
|
70
|
-
function _defineProperty(
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
writable: true
|
78
|
-
});
|
79
|
-
} else {
|
80
|
-
obj[key] = value;
|
81
|
-
}
|
82
|
-
return obj;
|
73
|
+
function _defineProperty(e, r, t) {
|
74
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
75
|
+
value: t,
|
76
|
+
enumerable: !0,
|
77
|
+
configurable: !0,
|
78
|
+
writable: !0
|
79
|
+
}) : e[r] = t, e;
|
83
80
|
}
|
81
|
+
|
84
82
|
;// CONCATENATED MODULE: external "vue"
|
85
83
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
86
84
|
var external_vue_y = x => () => x
|
@@ -96,7 +94,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
96
94
|
* Tencent is pleased to support the open source community by making
|
97
95
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
98
96
|
*
|
99
|
-
* Copyright (C)
|
97
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
100
98
|
*
|
101
99
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
102
100
|
*
|
@@ -197,11 +195,11 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
197
195
|
var getRenderIndexStyle = function getRenderIndexStyle(index) {
|
198
196
|
return _defineProperty({}, "".concat(resolveClassName('current-index')), swiperIndex.value === index);
|
199
197
|
};
|
200
|
-
var
|
198
|
+
var _startLoop = function startLoop() {
|
201
199
|
if (isLoop.value) {
|
202
200
|
loopId.value = window.setTimeout(function () {
|
203
201
|
changeIndex(swiperIndex.value + 1);
|
204
|
-
|
202
|
+
_startLoop();
|
205
203
|
}, loopTime.value);
|
206
204
|
}
|
207
205
|
};
|
@@ -249,7 +247,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
249
247
|
(0,external_vue_namespaceObject.watch)([height, width], calcSize);
|
250
248
|
(0,external_vue_namespaceObject.onMounted)(function () {
|
251
249
|
calcSize();
|
252
|
-
|
250
|
+
_startLoop();
|
253
251
|
watchParentSizeChange();
|
254
252
|
});
|
255
253
|
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
@@ -309,7 +307,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
309
307
|
* Tencent is pleased to support the open source community by making
|
310
308
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
311
309
|
*
|
312
|
-
* Copyright (C)
|
310
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
313
311
|
*
|
314
312
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
315
313
|
*
|
package/lib/switcher/index.js
CHANGED
@@ -47,6 +47,7 @@ function _typeof(o) {
|
|
47
47
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
48
48
|
}, _typeof(o);
|
49
49
|
}
|
50
|
+
|
50
51
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
51
52
|
|
52
53
|
function toPrimitive(t, r) {
|
@@ -59,29 +60,26 @@ function toPrimitive(t, r) {
|
|
59
60
|
}
|
60
61
|
return ("string" === r ? String : Number)(t);
|
61
62
|
}
|
63
|
+
|
62
64
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
63
65
|
|
64
66
|
|
65
67
|
function toPropertyKey(t) {
|
66
68
|
var i = toPrimitive(t, "string");
|
67
|
-
return "symbol" == _typeof(i) ? i :
|
69
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
68
70
|
}
|
71
|
+
|
69
72
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
70
73
|
|
71
|
-
function _defineProperty(
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
writable: true
|
79
|
-
});
|
80
|
-
} else {
|
81
|
-
obj[key] = value;
|
82
|
-
}
|
83
|
-
return obj;
|
74
|
+
function _defineProperty(e, r, t) {
|
75
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
76
|
+
value: t,
|
77
|
+
enumerable: !0,
|
78
|
+
configurable: !0,
|
79
|
+
writable: !0
|
80
|
+
}) : e[r] = t, e;
|
84
81
|
}
|
82
|
+
|
85
83
|
;// CONCATENATED MODULE: external "vue"
|
86
84
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
87
85
|
var external_vue_y = x => () => x
|
@@ -101,7 +99,7 @@ const icon_namespaceObject = icon_x({ ["SwitcherLoading"]: () => __WEBPACK_EXTER
|
|
101
99
|
* Tencent is pleased to support the open source community by making
|
102
100
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
103
101
|
*
|
104
|
-
* Copyright (C)
|
102
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
105
103
|
*
|
106
104
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
107
105
|
*
|
@@ -248,7 +246,7 @@ var switcherEmitEventsType = _defineProperty(_defineProperty({}, EVENTS.UPDATE,
|
|
248
246
|
* Tencent is pleased to support the open source community by making
|
249
247
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
250
248
|
*
|
251
|
-
* Copyright (C)
|
249
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
252
250
|
*
|
253
251
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
254
252
|
*
|
package/lib/tab/index.js
CHANGED
@@ -700,6 +700,7 @@ function _typeof(o) {
|
|
700
700
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
701
701
|
}, _typeof(o);
|
702
702
|
}
|
703
|
+
|
703
704
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
704
705
|
|
705
706
|
function toPrimitive(t, r) {
|
@@ -712,29 +713,26 @@ function toPrimitive(t, r) {
|
|
712
713
|
}
|
713
714
|
return ("string" === r ? String : Number)(t);
|
714
715
|
}
|
716
|
+
|
715
717
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
716
718
|
|
717
719
|
|
718
720
|
function toPropertyKey(t) {
|
719
721
|
var i = toPrimitive(t, "string");
|
720
|
-
return "symbol" == _typeof(i) ? i :
|
722
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
721
723
|
}
|
724
|
+
|
722
725
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
723
726
|
|
724
|
-
function _defineProperty(
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
writable: true
|
732
|
-
});
|
733
|
-
} else {
|
734
|
-
obj[key] = value;
|
735
|
-
}
|
736
|
-
return obj;
|
727
|
+
function _defineProperty(e, r, t) {
|
728
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
729
|
+
value: t,
|
730
|
+
enumerable: !0,
|
731
|
+
configurable: !0,
|
732
|
+
writable: !0
|
733
|
+
}) : e[r] = t, e;
|
737
734
|
}
|
735
|
+
|
738
736
|
;// CONCATENATED MODULE: external "vue-types"
|
739
737
|
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
740
738
|
var external_vue_types_y = x => () => x
|
@@ -880,42 +878,47 @@ var tabNavProps = _objectSpread({
|
|
880
878
|
validateActive: shared_namespaceObject.PropTypes.bool.def(true)
|
881
879
|
}, tabNavEventProps);
|
882
880
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
883
|
-
function _arrayLikeToArray(
|
884
|
-
|
885
|
-
for (var
|
886
|
-
return
|
881
|
+
function _arrayLikeToArray(r, a) {
|
882
|
+
(null == a || a > r.length) && (a = r.length);
|
883
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
884
|
+
return n;
|
887
885
|
}
|
886
|
+
|
888
887
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
889
888
|
|
890
|
-
function _arrayWithoutHoles(
|
891
|
-
if (Array.isArray(
|
889
|
+
function _arrayWithoutHoles(r) {
|
890
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
892
891
|
}
|
892
|
+
|
893
893
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
894
|
-
function _iterableToArray(
|
895
|
-
if (typeof Symbol
|
894
|
+
function _iterableToArray(r) {
|
895
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
896
896
|
}
|
897
|
+
|
897
898
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
898
899
|
|
899
|
-
function _unsupportedIterableToArray(
|
900
|
-
if (
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
900
|
+
function _unsupportedIterableToArray(r, a) {
|
901
|
+
if (r) {
|
902
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
903
|
+
var t = {}.toString.call(r).slice(8, -1);
|
904
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
905
|
+
}
|
906
906
|
}
|
907
|
+
|
907
908
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
908
909
|
function _nonIterableSpread() {
|
909
910
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
910
911
|
}
|
912
|
+
|
911
913
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
912
914
|
|
913
915
|
|
914
916
|
|
915
917
|
|
916
|
-
function _toConsumableArray(
|
917
|
-
return _arrayWithoutHoles(
|
918
|
+
function _toConsumableArray(r) {
|
919
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
918
920
|
}
|
921
|
+
|
919
922
|
;// CONCATENATED MODULE: external "vue"
|
920
923
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
921
924
|
var external_vue_y = x => () => x
|
@@ -925,14 +928,14 @@ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x
|
|
925
928
|
var config_provider_y = x => () => x
|
926
929
|
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
927
930
|
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
928
|
-
function _createForOfIteratorHelper(
|
929
|
-
function clickoutside_unsupportedIterableToArray(
|
930
|
-
function clickoutside_arrayLikeToArray(
|
931
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = clickoutside_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
932
|
+
function clickoutside_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return clickoutside_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? clickoutside_arrayLikeToArray(r, a) : void 0; } }
|
933
|
+
function clickoutside_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
931
934
|
/*
|
932
935
|
* Tencent is pleased to support the open source community by making
|
933
936
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
934
937
|
*
|
935
|
-
* Copyright (C)
|
938
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
936
939
|
*
|
937
940
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
938
941
|
*
|
@@ -1060,7 +1063,7 @@ const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTE
|
|
1060
1063
|
* Tencent is pleased to support the open source community by making
|
1061
1064
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1062
1065
|
*
|
1063
|
-
* Copyright (C)
|
1066
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1064
1067
|
*
|
1065
1068
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1066
1069
|
*
|
@@ -1172,7 +1175,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
|
|
1172
1175
|
* Tencent is pleased to support the open source community by making
|
1173
1176
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1174
1177
|
*
|
1175
|
-
* Copyright (C)
|
1178
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1176
1179
|
*
|
1177
1180
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1178
1181
|
*
|
@@ -1223,7 +1226,7 @@ function tooltips_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
1223
1226
|
* Tencent is pleased to support the open source community by making
|
1224
1227
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1225
1228
|
*
|
1226
|
-
* Copyright (C)
|
1229
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1227
1230
|
*
|
1228
1231
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1229
1232
|
*
|
@@ -1515,7 +1518,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
1515
1518
|
* Tencent is pleased to support the open source community by making
|
1516
1519
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1517
1520
|
*
|
1518
|
-
* Copyright (C)
|
1521
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1519
1522
|
*
|
1520
1523
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1521
1524
|
*
|
@@ -1556,7 +1559,7 @@ function tab_nav_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
1556
1559
|
* Tencent is pleased to support the open source community by making
|
1557
1560
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1558
1561
|
*
|
1559
|
-
* Copyright (C)
|
1562
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1560
1563
|
*
|
1561
1564
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1562
1565
|
*
|
@@ -1904,7 +1907,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
1904
1907
|
* Tencent is pleased to support the open source community by making
|
1905
1908
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1906
1909
|
*
|
1907
|
-
* Copyright (C)
|
1910
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1908
1911
|
*
|
1909
1912
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1910
1913
|
*
|
@@ -1947,7 +1950,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
1947
1950
|
var panels = (0,external_vue_namespaceObject.ref)([]);
|
1948
1951
|
var instance = (0,external_vue_namespaceObject.getCurrentInstance)();
|
1949
1952
|
// 动态插入tabPanel
|
1950
|
-
var
|
1953
|
+
var _getPaneInstanceFromSlot = function getPaneInstanceFromSlot(vnode) {
|
1951
1954
|
var panelInstanceList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
1952
1955
|
var children = vnode.children;
|
1953
1956
|
(children || []).forEach(function (node) {
|
@@ -1956,7 +1959,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
1956
1959
|
if (type === 'TabPanel' && node.component) {
|
1957
1960
|
panelInstanceList.push(node.component);
|
1958
1961
|
} else if (type === external_vue_namespaceObject.Fragment || type === 'template') {
|
1959
|
-
|
1962
|
+
_getPaneInstanceFromSlot(node, panelInstanceList);
|
1960
1963
|
}
|
1961
1964
|
});
|
1962
1965
|
return panelInstanceList;
|
@@ -1966,7 +1969,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
1966
1969
|
var children = instance.subTree.children[1].children;
|
1967
1970
|
if (!children) return;
|
1968
1971
|
var content = children[0];
|
1969
|
-
var panelInstanceList =
|
1972
|
+
var panelInstanceList = _getPaneInstanceFromSlot(content);
|
1970
1973
|
var isChanged = panelInstanceList.length !== panels.value.length;
|
1971
1974
|
if (isChanged) {
|
1972
1975
|
panels.value = panelInstanceList;
|
@@ -2115,7 +2118,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
2115
2118
|
* Tencent is pleased to support the open source community by making
|
2116
2119
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2117
2120
|
*
|
2118
|
-
* Copyright (C)
|
2121
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2119
2122
|
*
|
2120
2123
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2121
2124
|
*
|
@@ -2138,8 +2141,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
2138
2141
|
*/
|
2139
2142
|
|
2140
2143
|
|
2141
|
-
|
2142
|
-
/* harmony default export */ const tab_panel = ((0,external_vue_namespaceObject.defineComponent)({
|
2144
|
+
/* harmony default export */ const tab_panel = (defineComponent({
|
2143
2145
|
name: 'TabPanel',
|
2144
2146
|
props: tabPanelProps,
|
2145
2147
|
render: function render() {
|
@@ -2151,7 +2153,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
2151
2153
|
return null;
|
2152
2154
|
}
|
2153
2155
|
if (typeof _this.panel === 'function') {
|
2154
|
-
return _this.panel(
|
2156
|
+
return _this.panel(h);
|
2155
2157
|
}
|
2156
2158
|
if (typeof _this.$slots["default"] === 'function') {
|
2157
2159
|
return _this.$slots["default"](null);
|