bkui-vue 2.0.1-beta.113 → 2.0.1-beta.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +54 -54
- package/dist/index.esm.js +13950 -13941
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +47 -39
- package/lib/alert/index.d.ts +73 -126
- package/lib/alert/index.js +50 -42
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +21 -16
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +42 -31
- package/lib/badge/index.d.ts +119 -152
- package/lib/badge/index.js +43 -37
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +48 -40
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +55 -46
- package/lib/card/index.d.ts +128 -157
- package/lib/card/index.js +67 -55
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +149 -119
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +143 -175
- package/lib/checkbox/index.js +89 -79
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +464 -517
- package/lib/collapse/index.d.ts +156 -175
- package/lib/collapse/index.js +67 -60
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +23 -16
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +144 -165
- package/lib/color-picker/index.js +98 -82
- package/lib/config-provider/index.d.ts +160 -227
- package/lib/config-provider/index.js +51 -43
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +55 -47
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +4 -4
- package/lib/date-picker/index.d.ts +380 -351
- package/lib/date-picker/index.js +171 -150
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/index.d.ts +299 -269
- package/lib/dialog/index.js +323 -310
- package/lib/directives/index.js +344 -336
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +23 -16
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +66 -52
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +76 -70
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +22 -15
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +104 -83
- package/lib/icon/angle-double-down-line.js +31 -29
- package/lib/icon/angle-double-left-line.js +31 -29
- package/lib/icon/angle-double-left.js +31 -29
- package/lib/icon/angle-double-right-line.js +31 -29
- package/lib/icon/angle-double-right.js +31 -29
- package/lib/icon/angle-double-up-line.js +31 -29
- package/lib/icon/angle-down-fill.js +31 -29
- package/lib/icon/angle-down-line.js +31 -29
- package/lib/icon/angle-down.js +31 -29
- package/lib/icon/angle-left.js +31 -29
- package/lib/icon/angle-right.js +31 -29
- package/lib/icon/angle-up-fill.js +31 -29
- package/lib/icon/angle-up.js +31 -29
- package/lib/icon/archive-fill.js +31 -29
- package/lib/icon/arrows-left.js +31 -29
- package/lib/icon/arrows-right.js +31 -29
- package/lib/icon/assistant.js +31 -29
- package/lib/icon/audio-fill.js +31 -29
- package/lib/icon/bk.js +31 -29
- package/lib/icon/circle.js +31 -29
- package/lib/icon/close-line.js +31 -29
- package/lib/icon/close.js +31 -29
- package/lib/icon/code.js +31 -29
- package/lib/icon/cog-shape.js +31 -29
- package/lib/icon/collapse-left.js +31 -29
- package/lib/icon/copy-shape.js +31 -29
- package/lib/icon/copy.js +31 -29
- package/lib/icon/data-shape.js +31 -29
- package/lib/icon/del.js +31 -29
- package/lib/icon/doc-fill.js +31 -29
- package/lib/icon/done.js +31 -29
- package/lib/icon/down-shape.js +31 -29
- package/lib/icon/down-small.js +31 -29
- package/lib/icon/edit-line.js +31 -29
- package/lib/icon/ellipsis.js +31 -29
- package/lib/icon/enlarge-line.js +31 -29
- package/lib/icon/error.js +31 -29
- package/lib/icon/excel-fill.js +31 -29
- package/lib/icon/exclamation-circle-shape.js +31 -29
- package/lib/icon/eye.js +31 -29
- package/lib/icon/filliscreen-line.js +31 -29
- package/lib/icon/fix-line.js +31 -29
- package/lib/icon/fix-shape.js +31 -29
- package/lib/icon/folder-open.js +31 -29
- package/lib/icon/folder-shape-open.js +31 -29
- package/lib/icon/folder-shape.js +31 -29
- package/lib/icon/folder.js +31 -29
- package/lib/icon/funnel.js +31 -29
- package/lib/icon/grag-fill.js +31 -29
- package/lib/icon/help-document-fill.js +31 -29
- package/lib/icon/help-fill.js +31 -29
- package/lib/icon/help.js +31 -29
- package/lib/icon/image-fill.js +31 -29
- package/lib/icon/img-error.js +31 -29
- package/lib/icon/img-placehoulder.js +31 -29
- package/lib/icon/info-line.js +31 -29
- package/lib/icon/info.js +31 -29
- package/lib/icon/left-shape.js +31 -29
- package/lib/icon/left-turn-line.js +31 -29
- package/lib/icon/loading.js +31 -29
- package/lib/icon/narrow-line.js +31 -29
- package/lib/icon/original.js +31 -29
- package/lib/icon/pdf-fill.js +31 -29
- package/lib/icon/play-shape.js +31 -29
- package/lib/icon/plus.js +31 -29
- package/lib/icon/ppt-fill.js +31 -29
- package/lib/icon/qq.js +31 -29
- package/lib/icon/right-shape.js +31 -29
- package/lib/icon/right-turn-line.js +31 -29
- package/lib/icon/search.js +31 -29
- package/lib/icon/share.js +31 -29
- package/lib/icon/spinner.js +31 -29
- package/lib/icon/success.js +31 -29
- package/lib/icon/switcher-loading.js +31 -29
- package/lib/icon/text-all.js +31 -29
- package/lib/icon/text-file.js +31 -29
- package/lib/icon/text-fill.js +31 -29
- package/lib/icon/transfer.js +31 -29
- package/lib/icon/tree-application-shape.js +31 -29
- package/lib/icon/unfull-screen.js +31 -29
- package/lib/icon/unvisible.js +31 -29
- package/lib/icon/up-shape.js +31 -29
- package/lib/icon/upload.js +31 -29
- package/lib/icon/video-fill.js +31 -29
- package/lib/icon/warn.js +31 -29
- package/lib/icon/weixin-pro.js +31 -29
- package/lib/icon/weixin.js +31 -29
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +76 -61
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +328 -315
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +91 -83
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +27 -19
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +56 -51
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.d.ts +55 -116
- package/lib/menu/index.js +67 -58
- package/lib/message/index.js +72 -67
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +171 -185
- package/lib/modal/index.js +58 -48
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +35 -25
- package/lib/notify/index.js +57 -48
- package/lib/overflow-title/index.d.ts +343 -256
- package/lib/overflow-title/index.js +51 -38
- package/lib/pagination/index.d.ts +184 -198
- package/lib/pagination/index.js +112 -103
- package/lib/plugin-popover/index.js +7 -5
- package/lib/plugins/index.js +7 -5
- package/lib/pop-confirm/index.d.ts +115 -153
- package/lib/pop-confirm/index.js +53 -36
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +421 -359
- package/lib/popover/index.js +291 -179
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +15 -11
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +299 -295
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +47 -40
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +91 -140
- package/lib/radio/index.js +85 -79
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +44 -39
- package/lib/resize-layout/index.d.ts +168 -192
- package/lib/resize-layout/index.js +50 -43
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +63 -63
- package/lib/search-select/index.d.ts +678 -895
- package/lib/search-select/index.js +397 -379
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +133 -188
- package/lib/search-select/selected.d.ts +133 -188
- package/lib/select/index.d.ts +1375 -1217
- package/lib/select/index.js +456 -419
- package/lib/select/select.d.ts +132 -169
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +109 -103
- package/lib/sideslider/index.d.ts +197 -201
- package/lib/sideslider/index.js +311 -302
- package/lib/slider/index.d.ts +214 -210
- package/lib/slider/index.js +305 -294
- package/lib/steps/index.d.ts +110 -149
- package/lib/steps/index.js +303 -298
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +42 -36
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +50 -44
- package/lib/tab/index.d.ts +151 -183
- package/lib/tab/index.js +72 -59
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +457 -362
- package/lib/table/index.js +589 -547
- package/lib/table/table.d.ts +1 -1
- package/lib/table-column/index.d.ts +104 -150
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +56 -46
- package/lib/tag-input/index.d.ts +744 -529
- package/lib/tag-input/index.js +148 -128
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +439 -386
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.d.ts +64 -131
- package/lib/timeline/index.js +27 -21
- package/lib/transfer/index.d.ts +191 -206
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.d.ts +350 -308
- package/lib/tree/index.js +171 -150
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +311 -273
- package/lib/upload/index.js +474 -465
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +333 -241
- package/lib/virtual-render/index.js +84 -72
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
package/lib/shared/index.js
CHANGED
@@ -116,7 +116,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
116
116
|
withInstallProps: () => (/* binding */ withInstallProps)
|
117
117
|
});
|
118
118
|
|
119
|
-
;//
|
119
|
+
;// ../../packages/shared/src/dom.ts
|
120
120
|
/*
|
121
121
|
* Tencent is pleased to support the open source community by making
|
122
122
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -181,7 +181,7 @@ function scrollTop(el) {
|
|
181
181
|
var step = Math.ceil(difference / duration * 50);
|
182
182
|
function scroll(start, end, step) {
|
183
183
|
if (start === end) {
|
184
|
-
endCallback === null || endCallback === void 0
|
184
|
+
endCallback === null || endCallback === void 0 || endCallback();
|
185
185
|
return;
|
186
186
|
}
|
187
187
|
var d = start + step > end ? end : start + step;
|
@@ -199,17 +199,17 @@ function scrollTop(el) {
|
|
199
199
|
}
|
200
200
|
scroll(from, to, step);
|
201
201
|
}
|
202
|
-
;//
|
203
|
-
function _typeof(
|
202
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
203
|
+
function _typeof(o) {
|
204
204
|
"@babel/helpers - typeof";
|
205
205
|
|
206
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
207
|
-
return typeof
|
208
|
-
} : function (
|
209
|
-
return
|
210
|
-
}, _typeof(
|
206
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
207
|
+
return typeof o;
|
208
|
+
} : function (o) {
|
209
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
210
|
+
}, _typeof(o);
|
211
211
|
}
|
212
|
-
;//
|
212
|
+
;// ../../packages/shared/src/helper.ts
|
213
213
|
|
214
214
|
/*
|
215
215
|
* Tencent is pleased to support the open source community by making
|
@@ -467,11 +467,13 @@ var isSymbol = function isSymbol(val) {
|
|
467
467
|
var isPromise = function isPromise(val) {
|
468
468
|
return isObject(val) && isFunction(val.then) && isFunction(val["catch"]);
|
469
469
|
};
|
470
|
-
;//
|
471
|
-
var x = y => {
|
472
|
-
var
|
473
|
-
|
474
|
-
|
470
|
+
;// external "vue"
|
471
|
+
var x = (y) => {
|
472
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
473
|
+
}
|
474
|
+
var y = (x) => (() => (x))
|
475
|
+
const external_vue_namespaceObject = x({ ["inject"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.inject) });
|
476
|
+
;// ../../packages/shared/src/token.ts
|
475
477
|
/*
|
476
478
|
* Tencent is pleased to support the open source community by making
|
477
479
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -499,7 +501,7 @@ const external_vue_namespaceObject = x({ ["inject"]: () => __WEBPACK_EXTERNAL_MO
|
|
499
501
|
*/
|
500
502
|
var formKey = Symbol('form');
|
501
503
|
var formItemKey = Symbol('formItem');
|
502
|
-
;//
|
504
|
+
;// ../../packages/shared/src/hooks/use-form.ts
|
503
505
|
/*
|
504
506
|
* Tencent is pleased to support the open source community by making
|
505
507
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -530,7 +532,7 @@ var formItemKey = Symbol('formItem');
|
|
530
532
|
var useForm = function useForm() {
|
531
533
|
return (0,external_vue_namespaceObject.inject)(formKey);
|
532
534
|
};
|
533
|
-
;//
|
535
|
+
;// ../../packages/shared/src/hooks/use-form-item.ts
|
534
536
|
/*
|
535
537
|
* Tencent is pleased to support the open source community by making
|
536
538
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -561,22 +563,22 @@ var useForm = function useForm() {
|
|
561
563
|
var useFormItem = function useFormItem() {
|
562
564
|
return (0,external_vue_namespaceObject.inject)(formItemKey, undefined);
|
563
565
|
};
|
564
|
-
;//
|
566
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
565
567
|
function _arrayLikeToArray(arr, len) {
|
566
568
|
if (len == null || len > arr.length) len = arr.length;
|
567
569
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
568
570
|
return arr2;
|
569
571
|
}
|
570
|
-
;//
|
572
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
571
573
|
|
572
574
|
function _arrayWithoutHoles(arr) {
|
573
575
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
574
576
|
}
|
575
|
-
;//
|
577
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
576
578
|
function _iterableToArray(iter) {
|
577
579
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
578
580
|
}
|
579
|
-
;//
|
581
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
580
582
|
|
581
583
|
function _unsupportedIterableToArray(o, minLen) {
|
582
584
|
if (!o) return;
|
@@ -586,11 +588,11 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
586
588
|
if (n === "Map" || n === "Set") return Array.from(o);
|
587
589
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
588
590
|
}
|
589
|
-
;//
|
591
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
590
592
|
function _nonIterableSpread() {
|
591
593
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
592
594
|
}
|
593
|
-
;//
|
595
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
594
596
|
|
595
597
|
|
596
598
|
|
@@ -598,32 +600,32 @@ function _nonIterableSpread() {
|
|
598
600
|
function _toConsumableArray(arr) {
|
599
601
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
600
602
|
}
|
601
|
-
;//
|
603
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
602
604
|
function _classCallCheck(instance, Constructor) {
|
603
605
|
if (!(instance instanceof Constructor)) {
|
604
606
|
throw new TypeError("Cannot call a class as a function");
|
605
607
|
}
|
606
608
|
}
|
607
|
-
;//
|
608
|
-
|
609
|
-
function
|
610
|
-
if (
|
611
|
-
var
|
612
|
-
if (
|
613
|
-
var
|
614
|
-
if (
|
609
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
610
|
+
|
611
|
+
function toPrimitive(t, r) {
|
612
|
+
if ("object" != _typeof(t) || !t) return t;
|
613
|
+
var e = t[Symbol.toPrimitive];
|
614
|
+
if (void 0 !== e) {
|
615
|
+
var i = e.call(t, r || "default");
|
616
|
+
if ("object" != _typeof(i)) return i;
|
615
617
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
616
618
|
}
|
617
|
-
return (
|
619
|
+
return ("string" === r ? String : Number)(t);
|
618
620
|
}
|
619
|
-
;//
|
621
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
620
622
|
|
621
623
|
|
622
|
-
function
|
623
|
-
var
|
624
|
-
return _typeof(
|
624
|
+
function toPropertyKey(t) {
|
625
|
+
var i = toPrimitive(t, "string");
|
626
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
625
627
|
}
|
626
|
-
;//
|
628
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
627
629
|
|
628
630
|
function _defineProperties(target, props) {
|
629
631
|
for (var i = 0; i < props.length; i++) {
|
@@ -631,7 +633,7 @@ function _defineProperties(target, props) {
|
|
631
633
|
descriptor.enumerable = descriptor.enumerable || false;
|
632
634
|
descriptor.configurable = true;
|
633
635
|
if ("value" in descriptor) descriptor.writable = true;
|
634
|
-
Object.defineProperty(target,
|
636
|
+
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
635
637
|
}
|
636
638
|
}
|
637
639
|
function _createClass(Constructor, protoProps, staticProps) {
|
@@ -642,10 +644,10 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
642
644
|
});
|
643
645
|
return Constructor;
|
644
646
|
}
|
645
|
-
;//
|
647
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
646
648
|
|
647
649
|
function _defineProperty(obj, key, value) {
|
648
|
-
key =
|
650
|
+
key = toPropertyKey(key);
|
649
651
|
if (key in obj) {
|
650
652
|
Object.defineProperty(obj, key, {
|
651
653
|
value: value,
|
@@ -658,16 +660,18 @@ function _defineProperty(obj, key, value) {
|
|
658
660
|
}
|
659
661
|
return obj;
|
660
662
|
}
|
661
|
-
;//
|
662
|
-
var core_x = y => {
|
663
|
-
var
|
664
|
-
|
665
|
-
|
663
|
+
;// external "@popperjs/core"
|
664
|
+
var core_x = (y) => {
|
665
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
666
|
+
}
|
667
|
+
var core_y = (x) => (() => (x))
|
668
|
+
const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
669
|
+
;// ../../node_modules/uuid/dist/esm-browser/native.js
|
666
670
|
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
667
671
|
/* harmony default export */ const esm_browser_native = ({
|
668
672
|
randomUUID
|
669
673
|
});
|
670
|
-
;//
|
674
|
+
;// ../../node_modules/uuid/dist/esm-browser/rng.js
|
671
675
|
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
672
676
|
// require the crypto API and do not support built-in fallback to lower quality random number
|
673
677
|
// generators (like Math.random()).
|
@@ -686,7 +690,7 @@ function rng() {
|
|
686
690
|
|
687
691
|
return getRandomValues(rnds8);
|
688
692
|
}
|
689
|
-
;//
|
693
|
+
;// ../../node_modules/uuid/dist/esm-browser/stringify.js
|
690
694
|
|
691
695
|
/**
|
692
696
|
* Convert array of 16 byte values to UUID string format of the form:
|
@@ -720,7 +724,7 @@ function stringify(arr, offset = 0) {
|
|
720
724
|
}
|
721
725
|
|
722
726
|
/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
|
723
|
-
;//
|
727
|
+
;// ../../node_modules/uuid/dist/esm-browser/v4.js
|
724
728
|
|
725
729
|
|
726
730
|
|
@@ -750,7 +754,7 @@ function v4(options, buf, offset) {
|
|
750
754
|
}
|
751
755
|
|
752
756
|
/* harmony default export */ const esm_browser_v4 = (v4);
|
753
|
-
;//
|
757
|
+
;// ../../packages/shared/src/popover.ts
|
754
758
|
|
755
759
|
|
756
760
|
|
@@ -848,7 +852,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
848
852
|
key: "forceUpdate",
|
849
853
|
value: function forceUpdate() {
|
850
854
|
var _this$instance;
|
851
|
-
(_this$instance = this.instance) === null || _this$instance === void 0
|
855
|
+
(_this$instance = this.instance) === null || _this$instance === void 0 || _this$instance.forceUpdate();
|
852
856
|
}
|
853
857
|
// Asynchronously updates the popper instance, and returns a promise. Use this
|
854
858
|
// for high-frequency updates.
|
@@ -856,7 +860,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
856
860
|
key: "update",
|
857
861
|
value: function update() {
|
858
862
|
var _this$instance2;
|
859
|
-
(_this$instance2 = this.instance) === null || _this$instance2 === void 0
|
863
|
+
(_this$instance2 = this.instance) === null || _this$instance2 === void 0 || _this$instance2.update();
|
860
864
|
}
|
861
865
|
}, {
|
862
866
|
key: "updateOptions",
|
@@ -873,14 +877,14 @@ var BKPopover = /*#__PURE__*/function () {
|
|
873
877
|
key: "setOptions",
|
874
878
|
value: function setOptions(options) {
|
875
879
|
var _this$instance3;
|
876
|
-
(_this$instance3 = this.instance) === null || _this$instance3 === void 0
|
880
|
+
(_this$instance3 = this.instance) === null || _this$instance3 === void 0 || _this$instance3.setOptions(options);
|
877
881
|
}
|
878
882
|
// Cleans up the instance.
|
879
883
|
}, {
|
880
884
|
key: "destroy",
|
881
885
|
value: function destroy() {
|
882
886
|
var _this$instance4;
|
883
|
-
(_this$instance4 = this.instance) === null || _this$instance4 === void 0
|
887
|
+
(_this$instance4 = this.instance) === null || _this$instance4 === void 0 || _this$instance4.destroy();
|
884
888
|
}
|
885
889
|
// 更新禁用状态
|
886
890
|
}, {
|
@@ -899,7 +903,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
899
903
|
if (!this.disabled) {
|
900
904
|
var _this$popperRefer2;
|
901
905
|
// Make the tooltip visible
|
902
|
-
(_this$popperRefer2 = this.popperRefer) === null || _this$popperRefer2 === void 0
|
906
|
+
(_this$popperRefer2 = this.popperRefer) === null || _this$popperRefer2 === void 0 || _this$popperRefer2.setAttribute('data-show', '');
|
903
907
|
// Enable the event listeners
|
904
908
|
this.setOptions({
|
905
909
|
modifiers: [].concat(_toConsumableArray(this.instanceOptions.modifiers || []), [{
|
@@ -926,7 +930,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
926
930
|
var _this$popperRefer3;
|
927
931
|
if (this.always) return;
|
928
932
|
// Hide the tooltip
|
929
|
-
(_this$popperRefer3 = this.popperRefer) === null || _this$popperRefer3 === void 0
|
933
|
+
(_this$popperRefer3 = this.popperRefer) === null || _this$popperRefer3 === void 0 || _this$popperRefer3.removeAttribute('data-show');
|
930
934
|
// Disable the event listeners
|
931
935
|
this.setOptions({
|
932
936
|
modifiers: [].concat(_toConsumableArray(this.instanceOptions.modifiers || []), [{
|
@@ -1045,7 +1049,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
1045
1049
|
if (this.referenceTarget && this.popperRefer) {
|
1046
1050
|
var _this$popperRefer4, _this$instanceOptions3;
|
1047
1051
|
this.instance = (0,core_namespaceObject.createPopper)(this.referenceTarget, this.popperRefer, this.instanceOptions);
|
1048
|
-
(_this$popperRefer4 = this.popperRefer) === null || _this$popperRefer4 === void 0
|
1052
|
+
(_this$popperRefer4 = this.popperRefer) === null || _this$popperRefer4 === void 0 || _this$popperRefer4.setAttribute('data-theme', (_this$instanceOptions3 = this.instanceOptions.theme) !== null && _this$instanceOptions3 !== void 0 ? _this$instanceOptions3 : 'dark');
|
1049
1053
|
} else {
|
1050
1054
|
console.error('reference or popperRefer is null, please check html element.');
|
1051
1055
|
}
|
@@ -1153,7 +1157,7 @@ var getPopContainerId = function getPopContainerId() {
|
|
1153
1157
|
}
|
1154
1158
|
return "".concat(prefix).concat(popContainerId);
|
1155
1159
|
};
|
1156
|
-
;//
|
1160
|
+
;// ../../packages/shared/src/scrollbar-width.ts
|
1157
1161
|
/*
|
1158
1162
|
* Tencent is pleased to support the open source community by making
|
1159
1163
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1199,11 +1203,13 @@ function scrollbarWidth() {
|
|
1199
1203
|
scrollBarWidth = widthNoScroll - widthWithScroll;
|
1200
1204
|
return scrollBarWidth;
|
1201
1205
|
}
|
1202
|
-
;//
|
1203
|
-
var throttle_x = y => {
|
1204
|
-
var
|
1205
|
-
|
1206
|
-
|
1206
|
+
;// external "lodash/throttle"
|
1207
|
+
var throttle_x = (y) => {
|
1208
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1209
|
+
}
|
1210
|
+
var throttle_y = (x) => (() => (x))
|
1211
|
+
const throttle_namespaceObject = throttle_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"]) });
|
1212
|
+
;// ../../packages/shared/src/utils.ts
|
1207
1213
|
/*
|
1208
1214
|
* Tencent is pleased to support the open source community by making
|
1209
1215
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1355,7 +1361,32 @@ var getFullscreenRoot = function getFullscreenRoot(selector) {
|
|
1355
1361
|
}
|
1356
1362
|
return helper_isElement(document.body) ? document.body : 'body';
|
1357
1363
|
};
|
1358
|
-
;//
|
1364
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
1365
|
+
function _assertThisInitialized(self) {
|
1366
|
+
if (self === void 0) {
|
1367
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
1368
|
+
}
|
1369
|
+
return self;
|
1370
|
+
}
|
1371
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
1372
|
+
|
1373
|
+
|
1374
|
+
function _possibleConstructorReturn(self, call) {
|
1375
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
1376
|
+
return call;
|
1377
|
+
} else if (call !== void 0) {
|
1378
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
1379
|
+
}
|
1380
|
+
return _assertThisInitialized(self);
|
1381
|
+
}
|
1382
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
1383
|
+
function _getPrototypeOf(o) {
|
1384
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
1385
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
1386
|
+
};
|
1387
|
+
return _getPrototypeOf(o);
|
1388
|
+
}
|
1389
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
1359
1390
|
function _setPrototypeOf(o, p) {
|
1360
1391
|
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
1361
1392
|
o.__proto__ = p;
|
@@ -1363,7 +1394,7 @@ function _setPrototypeOf(o, p) {
|
|
1363
1394
|
};
|
1364
1395
|
return _setPrototypeOf(o, p);
|
1365
1396
|
}
|
1366
|
-
;//
|
1397
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/inherits.js
|
1367
1398
|
|
1368
1399
|
function _inherits(subClass, superClass) {
|
1369
1400
|
if (typeof superClass !== "function" && superClass !== null) {
|
@@ -1381,42 +1412,19 @@ function _inherits(subClass, superClass) {
|
|
1381
1412
|
});
|
1382
1413
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
1383
1414
|
}
|
1384
|
-
;//
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
1392
|
-
|
1393
|
-
|
1394
|
-
function _possibleConstructorReturn(self, call) {
|
1395
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
1396
|
-
return call;
|
1397
|
-
} else if (call !== void 0) {
|
1398
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
1399
|
-
}
|
1400
|
-
return _assertThisInitialized(self);
|
1401
|
-
}
|
1402
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
1403
|
-
function _getPrototypeOf(o) {
|
1404
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
1405
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
1406
|
-
};
|
1407
|
-
return _getPrototypeOf(o);
|
1408
|
-
}
|
1409
|
-
;// CONCATENATED MODULE: external "vue-types"
|
1410
|
-
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1411
|
-
var external_vue_types_y = x => () => x
|
1412
|
-
const external_vue_types_namespaceObject = external_vue_types_x({ ["createTypes"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.createTypes, ["string"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.string, ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
|
1413
|
-
;// CONCATENATED MODULE: ../../packages/shared/src/vue-types.ts
|
1415
|
+
;// external "vue-types"
|
1416
|
+
var external_vue_types_x = (y) => {
|
1417
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1418
|
+
}
|
1419
|
+
var external_vue_types_y = (x) => (() => (x))
|
1420
|
+
const external_vue_types_namespaceObject = external_vue_types_x({ ["createTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.createTypes), ["string"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.string), ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
|
1421
|
+
;// ../../packages/shared/src/vue-types.ts
|
1414
1422
|
|
1415
1423
|
|
1416
1424
|
|
1417
1425
|
|
1418
1426
|
|
1419
|
-
function
|
1427
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
1420
1428
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
1421
1429
|
/*
|
1422
1430
|
* Tencent is pleased to support the open source community by making
|
@@ -1610,10 +1618,9 @@ function InputBehaviorType() {
|
|
1610
1618
|
}
|
1611
1619
|
var PropTypes = /*#__PURE__*/function (_propTypesNS) {
|
1612
1620
|
_inherits(PropTypes, _propTypesNS);
|
1613
|
-
var _super = _createSuper(PropTypes);
|
1614
1621
|
function PropTypes() {
|
1615
1622
|
_classCallCheck(this, PropTypes);
|
1616
|
-
return
|
1623
|
+
return _callSuper(this, PropTypes, arguments);
|
1617
1624
|
}
|
1618
1625
|
_createClass(PropTypes, null, [{
|
1619
1626
|
key: "size",
|
@@ -1718,11 +1725,10 @@ var SelectedTypeEnum;
|
|
1718
1725
|
function SelectedType() {
|
1719
1726
|
return (0,external_vue_types_namespaceObject.toType)('selectedStyle', {}).def(SelectedTypeEnum.CHECK);
|
1720
1727
|
}
|
1721
|
-
;//
|
1728
|
+
;// ../../packages/shared/src/z-index-manager.ts
|
1722
1729
|
|
1723
1730
|
|
1724
1731
|
|
1725
|
-
var _BKLAYERD_INDEX_EFAUL;
|
1726
1732
|
/**
|
1727
1733
|
* Tencent is pleased to support the open source community by making
|
1728
1734
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1771,7 +1777,7 @@ var BKLAYERTYPE;
|
|
1771
1777
|
BKLAYERTYPE["POPPER"] = "popper";
|
1772
1778
|
})(BKLAYERTYPE || (BKLAYERTYPE = {}));
|
1773
1779
|
/** 定义不同分层默认值 */
|
1774
|
-
var BKLAYERD_INDEX_EFAULT_VALUE = (
|
1780
|
+
var BKLAYERD_INDEX_EFAULT_VALUE = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, BKLAYERTYPE.BOTTOM, 0), BKLAYERTYPE.CONTENT, 1), BKLAYERTYPE.NAVI, 100), BKLAYERTYPE.FULLSCREEN, 1000), BKLAYERTYPE.MODAL, 2000), BKLAYERTYPE.PLUGINS, 5000), BKLAYERTYPE.MESSAGE, 6000), BKLAYERTYPE.POPPER, 8000);
|
1775
1781
|
var BKZIndexManager = /*#__PURE__*/function () {
|
1776
1782
|
function BKZIndexManager() {
|
1777
1783
|
_classCallCheck(this, BKZIndexManager);
|
@@ -1870,7 +1876,7 @@ var BKZIndexManager = /*#__PURE__*/function () {
|
|
1870
1876
|
return BKZIndexManager;
|
1871
1877
|
}();
|
1872
1878
|
var bkZIndexManager = new BKZIndexManager();
|
1873
|
-
;//
|
1879
|
+
;// ../../packages/shared/src/frame-throttle.ts
|
1874
1880
|
var wrapperFactory = function wrapperFactory() {
|
1875
1881
|
var state = {
|
1876
1882
|
cancelToken: 0
|
@@ -1938,7 +1944,7 @@ var throttle = function throttle(callback) {
|
|
1938
1944
|
throttledCallback.bind = throttleFactory.bind(null, callback);
|
1939
1945
|
return throttledCallback;
|
1940
1946
|
};
|
1941
|
-
;//
|
1947
|
+
;// ../../packages/shared/src/index.ts
|
1942
1948
|
|
1943
1949
|
|
1944
1950
|
|