bkui-vue 1.0.3-beta.62.dialog.1 → 1.0.3-beta.62.dialog.2
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/lib/affix/index.js +1 -1
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +8 -7
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/cascader/index.js +42 -38
- package/lib/checkbox/index.js +7 -6
- package/lib/collapse/index.js +12 -11
- package/lib/collapse-transition/index.js +4 -3
- package/lib/color-picker/index.js +13 -10
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +12 -10
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/index.js +4 -4
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +3 -2
- package/lib/dropdown/index.js +8 -6
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +3 -2
- package/lib/form/index.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/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/index.js +11 -10
- package/lib/info-box/index.js +4 -4
- package/lib/input/index.js +4 -4
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +12 -11
- package/lib/menu/index.js +3 -2
- package/lib/message/index.js +1 -1
- package/lib/modal/index.js +1 -1
- package/lib/navigation/index.js +9 -7
- package/lib/notify/index.js +1 -1
- package/lib/overflow-title/index.js +10 -9
- package/lib/pagination/index.js +1 -1
- package/lib/plugin-popover/index.js +30 -26
- package/lib/pop-confirm/index.js +5 -4
- package/lib/popover/index.js +30 -26
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +4 -4
- package/lib/progress/index.js +6 -5
- package/lib/radio/index.js +7 -6
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/scrollbar/index.js +8 -5
- package/lib/search-select/index.js +14 -11
- package/lib/select/index.js +4 -4
- package/lib/shared/index.js +8 -5
- package/lib/sideslider/index.js +4 -4
- package/lib/slider/index.js +20 -19
- package/lib/steps/index.js +4 -4
- package/lib/swiper/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.js +4 -3
- package/lib/table/index.js +8 -6
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +4 -3
- package/lib/tree/index.js +12 -10
- package/lib/upload/index.js +4 -4
- package/lib/virtual-render/index.js +3 -2
- package/package.json +1 -1
package/lib/slider/index.js
CHANGED
@@ -122,7 +122,7 @@ function _regeneratorRuntime() {
|
|
122
122
|
function makeInvokeMethod(e, r, n) {
|
123
123
|
var o = h;
|
124
124
|
return function (i, a) {
|
125
|
-
if (o === f) throw Error("Generator is already running");
|
125
|
+
if (o === f) throw new Error("Generator is already running");
|
126
126
|
if (o === s) {
|
127
127
|
if ("throw" === i) throw a;
|
128
128
|
return {
|
@@ -264,7 +264,7 @@ function _regeneratorRuntime() {
|
|
264
264
|
} else if (c) {
|
265
265
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
266
266
|
} else {
|
267
|
-
if (!u) throw Error("try statement without catch or finally");
|
267
|
+
if (!u) throw new Error("try statement without catch or finally");
|
268
268
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
269
269
|
}
|
270
270
|
}
|
@@ -304,7 +304,7 @@ function _regeneratorRuntime() {
|
|
304
304
|
return o;
|
305
305
|
}
|
306
306
|
}
|
307
|
-
throw Error("illegal catch attempt");
|
307
|
+
throw new Error("illegal catch attempt");
|
308
308
|
},
|
309
309
|
delegateYield: function delegateYield(e, r, n) {
|
310
310
|
return this.delegate = {
|
@@ -517,7 +517,8 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
517
517
|
|
518
518
|
|
519
519
|
|
520
|
-
|
520
|
+
|
521
|
+
/* harmony default export */ const slider_button = ((0,external_vue_namespaceObject.defineComponent)({
|
521
522
|
name: 'SliderButton',
|
522
523
|
props: {
|
523
524
|
modelValue: {
|
@@ -534,18 +535,18 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
534
535
|
emits: ['emitChange', 'resetSize', 'update:modelValue'],
|
535
536
|
setup: function setup(props, _ref) {
|
536
537
|
var emit = _ref.emit;
|
537
|
-
var dragging = ref(false);
|
538
|
-
var isClick = ref(false);
|
539
|
-
var startY = ref(0);
|
540
|
-
var startX = ref(0);
|
541
|
-
var startPosition = ref(0);
|
542
|
-
var newPosition = ref(null);
|
543
|
-
var oldValue = ref(props.modelValue);
|
544
|
-
var currentY = ref(0);
|
545
|
-
var currentX = ref(0);
|
546
|
-
var isMove = ref(false);
|
547
|
-
var button = ref(null);
|
548
|
-
var tip = computed(function () {
|
538
|
+
var dragging = (0,external_vue_namespaceObject.ref)(false);
|
539
|
+
var isClick = (0,external_vue_namespaceObject.ref)(false);
|
540
|
+
var startY = (0,external_vue_namespaceObject.ref)(0);
|
541
|
+
var startX = (0,external_vue_namespaceObject.ref)(0);
|
542
|
+
var startPosition = (0,external_vue_namespaceObject.ref)(0);
|
543
|
+
var newPosition = (0,external_vue_namespaceObject.ref)(null);
|
544
|
+
var oldValue = (0,external_vue_namespaceObject.ref)(props.modelValue);
|
545
|
+
var currentY = (0,external_vue_namespaceObject.ref)(0);
|
546
|
+
var currentX = (0,external_vue_namespaceObject.ref)(0);
|
547
|
+
var isMove = (0,external_vue_namespaceObject.ref)(false);
|
548
|
+
var button = (0,external_vue_namespaceObject.ref)(null);
|
549
|
+
var tip = (0,external_vue_namespaceObject.computed)(function () {
|
549
550
|
var _props$params$customC, _props$params;
|
550
551
|
var tip = '';
|
551
552
|
if ((_props$params$customC = props.params.customContent) !== null && _props$params$customC !== void 0 && _props$params$customC[props.modelValue]) {
|
@@ -564,17 +565,17 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
564
565
|
placement: placement
|
565
566
|
};
|
566
567
|
});
|
567
|
-
var currentPosition = computed(function () {
|
568
|
+
var currentPosition = (0,external_vue_namespaceObject.computed)(function () {
|
568
569
|
return "".concat((props.modelValue - props.params.minValue) / (props.params.maxValue - props.params.minValue) * 100, "%");
|
569
570
|
});
|
570
|
-
var wrapperStyle = computed(function () {
|
571
|
+
var wrapperStyle = (0,external_vue_namespaceObject.computed)(function () {
|
571
572
|
return props.params.vertical ? {
|
572
573
|
bottom: currentPosition.value
|
573
574
|
} : {
|
574
575
|
left: currentPosition.value
|
575
576
|
};
|
576
577
|
});
|
577
|
-
var buttonLabel = computed(function () {
|
578
|
+
var buttonLabel = (0,external_vue_namespaceObject.computed)(function () {
|
578
579
|
return props.params.formatterButtonLabel(props.modelValue);
|
579
580
|
});
|
580
581
|
var onButtonDown = function onButtonDown(event) {
|
package/lib/steps/index.js
CHANGED
@@ -120,7 +120,7 @@ function _regeneratorRuntime() {
|
|
120
120
|
function makeInvokeMethod(e, r, n) {
|
121
121
|
var o = h;
|
122
122
|
return function (i, a) {
|
123
|
-
if (o === f) throw Error("Generator is already running");
|
123
|
+
if (o === f) throw new Error("Generator is already running");
|
124
124
|
if (o === s) {
|
125
125
|
if ("throw" === i) throw a;
|
126
126
|
return {
|
@@ -262,7 +262,7 @@ function _regeneratorRuntime() {
|
|
262
262
|
} else if (c) {
|
263
263
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
264
264
|
} else {
|
265
|
-
if (!u) throw Error("try statement without catch or finally");
|
265
|
+
if (!u) throw new Error("try statement without catch or finally");
|
266
266
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
267
267
|
}
|
268
268
|
}
|
@@ -302,7 +302,7 @@ function _regeneratorRuntime() {
|
|
302
302
|
return o;
|
303
303
|
}
|
304
304
|
}
|
305
|
-
throw Error("illegal catch attempt");
|
305
|
+
throw new Error("illegal catch attempt");
|
306
306
|
},
|
307
307
|
delegateYield: function delegateYield(e, r, n) {
|
308
308
|
return this.delegate = {
|
@@ -452,7 +452,7 @@ function toPrimitive(t, r) {
|
|
452
452
|
|
453
453
|
function toPropertyKey(t) {
|
454
454
|
var i = toPrimitive(t, "string");
|
455
|
-
return "symbol" == _typeof(i) ? i : i
|
455
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
456
456
|
}
|
457
457
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
458
458
|
|
package/lib/swiper/index.js
CHANGED
@@ -63,7 +63,7 @@ function toPrimitive(t, r) {
|
|
63
63
|
|
64
64
|
function toPropertyKey(t) {
|
65
65
|
var i = toPrimitive(t, "string");
|
66
|
-
return "symbol" == _typeof(i) ? i : i
|
66
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
67
67
|
}
|
68
68
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
69
69
|
|
package/lib/switcher/index.js
CHANGED
@@ -64,7 +64,7 @@ function toPrimitive(t, r) {
|
|
64
64
|
|
65
65
|
function toPropertyKey(t) {
|
66
66
|
var i = toPrimitive(t, "string");
|
67
|
-
return "symbol" == _typeof(i) ? i : i
|
67
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
68
68
|
}
|
69
69
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
70
70
|
|
package/lib/tab/index.js
CHANGED
@@ -70,7 +70,7 @@ function toPrimitive(t, r) {
|
|
70
70
|
|
71
71
|
function toPropertyKey(t) {
|
72
72
|
var i = toPrimitive(t, "string");
|
73
|
-
return "symbol" == _typeof(i) ? i : i
|
73
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
74
74
|
}
|
75
75
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
76
76
|
|
@@ -865,7 +865,8 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
865
865
|
*/
|
866
866
|
|
867
867
|
|
868
|
-
|
868
|
+
|
869
|
+
/* harmony default export */ const tab_panel = ((0,external_vue_namespaceObject.defineComponent)({
|
869
870
|
name: 'TabPanel',
|
870
871
|
props: tabPanelProps,
|
871
872
|
render: function render() {
|
@@ -877,7 +878,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
877
878
|
return null;
|
878
879
|
}
|
879
880
|
if (typeof _this.panel === 'function') {
|
880
|
-
return _this.panel(h);
|
881
|
+
return _this.panel(external_vue_namespaceObject.h);
|
881
882
|
}
|
882
883
|
if (typeof _this.$slots["default"] === 'function') {
|
883
884
|
return _this.$slots["default"](null);
|
package/lib/table/index.js
CHANGED
@@ -101,7 +101,7 @@ function toPrimitive(t, r) {
|
|
101
101
|
|
102
102
|
function toPropertyKey(t) {
|
103
103
|
var i = toPrimitive(t, "string");
|
104
|
-
return "symbol" == typeof_typeof(i) ? i : i
|
104
|
+
return "symbol" == typeof_typeof(i) ? i : String(i);
|
105
105
|
}
|
106
106
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
107
107
|
|
@@ -1055,7 +1055,7 @@ var BkTableCache = /*#__PURE__*/function () {
|
|
1055
1055
|
defineProperty_defineProperty(this, "defKey", Symbol('bk-table-cache-def-key'));
|
1056
1056
|
this.storage = new WeakMap();
|
1057
1057
|
}
|
1058
|
-
|
1058
|
+
_createClass(BkTableCache, [{
|
1059
1059
|
key: "queueStack",
|
1060
1060
|
value: function queueStack(methodName) {
|
1061
1061
|
var _target$methodName;
|
@@ -1089,6 +1089,7 @@ var BkTableCache = /*#__PURE__*/function () {
|
|
1089
1089
|
}
|
1090
1090
|
}
|
1091
1091
|
}]);
|
1092
|
+
return BkTableCache;
|
1092
1093
|
}();
|
1093
1094
|
|
1094
1095
|
;// CONCATENATED MODULE: ../../packages/table/src/events.ts
|
@@ -4825,7 +4826,7 @@ const directives_namespaceObject = directives_x({ ["bkEllipsisInstance"]: () =>
|
|
4825
4826
|
* IN THE SOFTWARE.
|
4826
4827
|
*/
|
4827
4828
|
|
4828
|
-
/* harmony default export */ const table_row = (defineComponent({
|
4829
|
+
/* harmony default export */ const table_row = ((0,external_vue_namespaceObject.defineComponent)({
|
4829
4830
|
name: 'TableRow',
|
4830
4831
|
render: function render() {
|
4831
4832
|
var _this$$slots$default, _this$$slots;
|
@@ -4871,7 +4872,8 @@ const exception_less_namespaceObject = exception_less_x({ });
|
|
4871
4872
|
|
4872
4873
|
|
4873
4874
|
|
4874
|
-
|
4875
|
+
|
4876
|
+
/* harmony default export */ const body_empty = ((0,external_vue_namespaceObject.defineComponent)({
|
4875
4877
|
name: 'BodyEmpty',
|
4876
4878
|
props: {
|
4877
4879
|
list: shared_namespaceObject.PropTypes.array.def([]),
|
@@ -4881,13 +4883,13 @@ const exception_less_namespaceObject = exception_less_x({ });
|
|
4881
4883
|
emits: ['change'],
|
4882
4884
|
setup: function setup(props) {
|
4883
4885
|
var t = (0,config_provider_namespaceObject.useLocale)('table');
|
4884
|
-
var localEmptyText = computed(function () {
|
4886
|
+
var localEmptyText = (0,external_vue_namespaceObject.computed)(function () {
|
4885
4887
|
if (props.emptyText === undefined) {
|
4886
4888
|
return t.value.emptyText;
|
4887
4889
|
}
|
4888
4890
|
return props.emptyText;
|
4889
4891
|
});
|
4890
|
-
var type = computed(function () {
|
4892
|
+
var type = (0,external_vue_namespaceObject.computed)(function () {
|
4891
4893
|
return props.list.length === 0 ? 'empty' : 'search-empty';
|
4892
4894
|
});
|
4893
4895
|
return function () {
|
@@ -62,7 +62,7 @@ function toPrimitive(t, r) {
|
|
62
62
|
|
63
63
|
function toPropertyKey(t) {
|
64
64
|
var i = toPrimitive(t, "string");
|
65
|
-
return "symbol" == _typeof(i) ? i : i
|
65
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
66
66
|
}
|
67
67
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
68
68
|
|
package/lib/tag/index.js
CHANGED
@@ -65,7 +65,7 @@ function toPrimitive(t, r) {
|
|
65
65
|
|
66
66
|
function toPropertyKey(t) {
|
67
67
|
var i = toPrimitive(t, "string");
|
68
|
-
return "symbol" == _typeof(i) ? i : i
|
68
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
69
69
|
}
|
70
70
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
71
71
|
|
package/lib/tag-input/index.js
CHANGED
@@ -17424,7 +17424,7 @@ function toPrimitive(t, r) {
|
|
17424
17424
|
|
17425
17425
|
function toPropertyKey(t) {
|
17426
17426
|
var i = toPrimitive(t, "string");
|
17427
|
-
return "symbol" == _typeof(i) ? i : i
|
17427
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
17428
17428
|
}
|
17429
17429
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
17430
17430
|
|
@@ -17688,7 +17688,8 @@ var useTagsOverflow = function useTagsOverflow(tagInputRef, collapseTags, select
|
|
17688
17688
|
*/
|
17689
17689
|
|
17690
17690
|
|
17691
|
-
|
17691
|
+
|
17692
|
+
/* harmony default export */ const list_tag_render = ((0,external_vue_namespaceObject.defineComponent)({
|
17692
17693
|
name: 'ListTagRender',
|
17693
17694
|
props: {
|
17694
17695
|
node: shared_namespaceObject.PropTypes.object,
|
@@ -17712,7 +17713,7 @@ var useTagsOverflow = function useTagsOverflow(tagInputRef, collapseTags, select
|
|
17712
17713
|
return value;
|
17713
17714
|
};
|
17714
17715
|
if (this.tpl) {
|
17715
|
-
return this.tpl(this.node, highlightKeyword, h, this);
|
17716
|
+
return this.tpl(this.node, highlightKeyword, external_vue_namespaceObject.h, this);
|
17716
17717
|
}
|
17717
17718
|
var displayText = this.node[this.displayKey];
|
17718
17719
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
package/lib/tree/index.js
CHANGED
@@ -47,7 +47,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
|
|
47
47
|
;// CONCATENATED MODULE: external "vue"
|
48
48
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
49
49
|
var external_vue_y = x => () => x
|
50
|
-
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["onUnmounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onUnmounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
50
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["onUnmounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onUnmounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
51
51
|
;// CONCATENATED MODULE: external "../config-provider"
|
52
52
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
53
53
|
var config_provider_y = x => () => x
|
@@ -87,7 +87,7 @@ function toPrimitive(t, r) {
|
|
87
87
|
|
88
88
|
function toPropertyKey(t) {
|
89
89
|
var i = toPrimitive(t, "string");
|
90
|
-
return "symbol" == _typeof(i) ? i : i
|
90
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
91
91
|
}
|
92
92
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
93
93
|
|
@@ -1041,6 +1041,7 @@ var showCheckbox = function showCheckbox(props, node) {
|
|
1041
1041
|
|
1042
1042
|
|
1043
1043
|
var use_node_action_this = undefined;
|
1044
|
+
|
1044
1045
|
/*
|
1045
1046
|
* Tencent is pleased to support the open source community by making
|
1046
1047
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1131,7 +1132,7 @@ var use_node_action_this = undefined;
|
|
1131
1132
|
className = val.className,
|
1132
1133
|
text = val.text,
|
1133
1134
|
style = val.style;
|
1134
|
-
return h(node, {
|
1135
|
+
return (0,external_vue_namespaceObject.h)(node, {
|
1135
1136
|
"class": className,
|
1136
1137
|
style: style
|
1137
1138
|
}, text);
|
@@ -1425,7 +1426,7 @@ var use_node_action_this = undefined;
|
|
1425
1426
|
*/
|
1426
1427
|
if (getNodeAttr(resolvedItem, NODE_ATTRIBUTES.IS_ASYNC)) {
|
1427
1428
|
asyncNodeClick(resolvedItem).then(function () {
|
1428
|
-
nextTick(function () {
|
1429
|
+
(0,external_vue_namespaceObject.nextTick)(function () {
|
1429
1430
|
nodeList.shift();
|
1430
1431
|
setSelect(nodeList, selected, autoOpen);
|
1431
1432
|
});
|
@@ -2377,7 +2378,8 @@ var use_tree_init_this = undefined;
|
|
2377
2378
|
|
2378
2379
|
|
2379
2380
|
|
2380
|
-
|
2381
|
+
|
2382
|
+
/* harmony default export */ const tree = ((0,external_vue_namespaceObject.defineComponent)({
|
2381
2383
|
name: 'Tree',
|
2382
2384
|
props: treeProps,
|
2383
2385
|
emits: TreeEmitEventsType,
|
@@ -2402,7 +2404,7 @@ var use_tree_init_this = undefined;
|
|
2402
2404
|
isSearchDisabled = _useSearch.isSearchDisabled,
|
2403
2405
|
isTreeUI = _useSearch.isTreeUI,
|
2404
2406
|
showChildNodes = _useSearch.showChildNodes;
|
2405
|
-
var matchedNodePath = reactive([]);
|
2407
|
+
var matchedNodePath = (0,external_vue_namespaceObject.reactive)([]);
|
2406
2408
|
var filterFn = function filterFn(item) {
|
2407
2409
|
if (isSearchActive.value) {
|
2408
2410
|
if (showChildNodes) {
|
@@ -2416,7 +2418,7 @@ var use_tree_init_this = undefined;
|
|
2416
2418
|
return checkNodeIsOpen(item);
|
2417
2419
|
};
|
2418
2420
|
// 计算当前需要渲染的节点信息
|
2419
|
-
var renderData = computed(function () {
|
2421
|
+
var renderData = (0,external_vue_namespaceObject.computed)(function () {
|
2420
2422
|
return flatData.data.filter(function (item) {
|
2421
2423
|
return filterFn(item);
|
2422
2424
|
});
|
@@ -2443,14 +2445,14 @@ var use_tree_init_this = undefined;
|
|
2443
2445
|
});
|
2444
2446
|
});
|
2445
2447
|
if (!isSearchDisabled) {
|
2446
|
-
watch([refSearch], function () {
|
2448
|
+
(0,external_vue_namespaceObject.watch)([refSearch], function () {
|
2447
2449
|
handleSearch();
|
2448
2450
|
}, {
|
2449
2451
|
deep: true,
|
2450
2452
|
immediate: true
|
2451
2453
|
});
|
2452
2454
|
}
|
2453
|
-
var root = ref();
|
2455
|
+
var root = (0,external_vue_namespaceObject.ref)();
|
2454
2456
|
/**
|
2455
2457
|
* 设置指定节点是否选中
|
2456
2458
|
* @param item Node item | Node Id
|
@@ -2466,7 +2468,7 @@ var use_tree_init_this = undefined;
|
|
2466
2468
|
var getData = function getData() {
|
2467
2469
|
return flatData;
|
2468
2470
|
};
|
2469
|
-
watch(function () {
|
2471
|
+
(0,external_vue_namespaceObject.watch)(function () {
|
2470
2472
|
return [props.checked];
|
2471
2473
|
}, function () {
|
2472
2474
|
setChecked(props.checked, true);
|
package/lib/upload/index.js
CHANGED
@@ -867,7 +867,7 @@ function _regeneratorRuntime() {
|
|
867
867
|
function makeInvokeMethod(e, r, n) {
|
868
868
|
var o = h;
|
869
869
|
return function (i, a) {
|
870
|
-
if (o === f) throw Error("Generator is already running");
|
870
|
+
if (o === f) throw new Error("Generator is already running");
|
871
871
|
if (o === s) {
|
872
872
|
if ("throw" === i) throw a;
|
873
873
|
return {
|
@@ -1009,7 +1009,7 @@ function _regeneratorRuntime() {
|
|
1009
1009
|
} else if (c) {
|
1010
1010
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
1011
1011
|
} else {
|
1012
|
-
if (!u) throw Error("try statement without catch or finally");
|
1012
|
+
if (!u) throw new Error("try statement without catch or finally");
|
1013
1013
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
1014
1014
|
}
|
1015
1015
|
}
|
@@ -1049,7 +1049,7 @@ function _regeneratorRuntime() {
|
|
1049
1049
|
return o;
|
1050
1050
|
}
|
1051
1051
|
}
|
1052
|
-
throw Error("illegal catch attempt");
|
1052
|
+
throw new Error("illegal catch attempt");
|
1053
1053
|
},
|
1054
1054
|
delegateYield: function delegateYield(e, r, n) {
|
1055
1055
|
return this.delegate = {
|
@@ -1230,7 +1230,7 @@ function toPrimitive(t, r) {
|
|
1230
1230
|
|
1231
1231
|
function toPropertyKey(t) {
|
1232
1232
|
var i = toPrimitive(t, "string");
|
1233
|
-
return "symbol" == _typeof(i) ? i : i
|
1233
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
1234
1234
|
}
|
1235
1235
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1236
1236
|
|
@@ -103,7 +103,7 @@ function toPrimitive(t, r) {
|
|
103
103
|
|
104
104
|
function toPropertyKey(t) {
|
105
105
|
var i = toPrimitive(t, "string");
|
106
|
-
return "symbol" == _typeof(i) ? i : i
|
106
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
107
107
|
}
|
108
108
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
109
109
|
|
@@ -555,7 +555,7 @@ var VisibleRender = /*#__PURE__*/function () {
|
|
555
555
|
var throttleDelay = binding.value.throttleDelay;
|
556
556
|
this.delay = throttleDelay;
|
557
557
|
}
|
558
|
-
|
558
|
+
_createClass(VisibleRender, [{
|
559
559
|
key: "render",
|
560
560
|
value: function render(e) {
|
561
561
|
var _this$binding$value = this.binding.value,
|
@@ -614,6 +614,7 @@ var VisibleRender = /*#__PURE__*/function () {
|
|
614
614
|
this.binding = binding;
|
615
615
|
}
|
616
616
|
}]);
|
617
|
+
return VisibleRender;
|
617
618
|
}();
|
618
619
|
var instance = null;
|
619
620
|
/* harmony default export */ const v_virtual_render = ({
|