bk-magic-vue 2.4.1 → 2.4.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/dist/bk-magic-vue.js +23 -17
- package/dist/bk-magic-vue.min.js +1 -1
- package/dist/bk-magic-vue.min.js.gz +0 -0
- package/dist/bk-magic-vue.min.js.map +1 -1
- package/lib/back-top.js +1 -1
- package/lib/badge.js +5 -11
- package/lib/big-tree.js +8 -11
- package/lib/cascade.js +11 -1
- package/lib/checkbox.js +8 -1
- package/lib/date-picker.js +5 -11
- package/lib/directives/overflow-tips.js +8 -11
- package/lib/directives/tooltips.js +8 -11
- package/lib/form-item.js +8 -11
- package/lib/form.js +5 -11
- package/lib/image.js +5 -12
- package/lib/info-box.js +5 -11
- package/lib/loading.js +11 -14
- package/lib/locale/index.js +5 -11
- package/lib/message.js +5 -11
- package/lib/notify.js +5 -11
- package/lib/option-group.js +8 -1
- package/lib/pagination.js +14 -14
- package/lib/popconfirm.js +3 -0
- package/lib/popover.js +3 -0
- package/lib/process.js +5 -11
- package/lib/search-select.js +3 -0
- package/lib/select.js +14 -14
- package/lib/slider.js +8 -11
- package/lib/table-column.js +5 -11
- package/lib/table-setting-content.js +8 -1
- package/lib/table.js +22 -15
- package/lib/tag-input.js +14 -14
- package/lib/time-picker.js +5 -11
- package/lib/timeline.js +5 -11
- package/lib/transfer.js +8 -11
- package/lib/tree.js +5 -11
- package/lib/upload.js +8 -11
- package/lib/utils/deepmerge.js +5 -11
- package/lib/utils/pinyin.js +5 -11
- package/lib/utils/tippy.js +3 -0
- package/lib/version-detail.js +14 -14
- package/package.json +1 -1
package/lib/back-top.js
CHANGED
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
},
|
|
295
295
|
computed: {
|
|
296
296
|
positionStyle: function positionStyle() {
|
|
297
|
-
return "right: ".concat(this.right, "px
|
|
297
|
+
return "right: ".concat(this.right, "px; bottom: ").concat(this.bottom, "px; z-index: ").concat(this.zIndex);
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
watch: {
|
package/lib/badge.js
CHANGED
|
@@ -7,17 +7,11 @@
|
|
|
7
7
|
function _typeof(obj) {
|
|
8
8
|
"@babel/helpers - typeof";
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
_typeof = function (obj) {
|
|
16
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return _typeof(obj);
|
|
10
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
11
|
+
return typeof obj;
|
|
12
|
+
} : function (obj) {
|
|
13
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
14
|
+
}, _typeof(obj);
|
|
21
15
|
}
|
|
22
16
|
|
|
23
17
|
function _extends() {
|
package/lib/big-tree.js
CHANGED
|
@@ -517,17 +517,11 @@
|
|
|
517
517
|
function _typeof(obj) {
|
|
518
518
|
"@babel/helpers - typeof";
|
|
519
519
|
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
}
|
|
525
|
-
_typeof = function (obj) {
|
|
526
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
527
|
-
};
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
return _typeof(obj);
|
|
520
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
521
|
+
return typeof obj;
|
|
522
|
+
} : function (obj) {
|
|
523
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
524
|
+
}, _typeof(obj);
|
|
531
525
|
}
|
|
532
526
|
|
|
533
527
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -585,6 +579,9 @@
|
|
|
585
579
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
586
580
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
587
581
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
582
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
583
|
+
writable: false
|
|
584
|
+
});
|
|
588
585
|
return Constructor;
|
|
589
586
|
}
|
|
590
587
|
|
package/lib/cascade.js
CHANGED
|
@@ -250,6 +250,9 @@
|
|
|
250
250
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
251
251
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
252
252
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
253
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
254
|
+
writable: false
|
|
255
|
+
});
|
|
253
256
|
return Constructor;
|
|
254
257
|
}
|
|
255
258
|
|
|
@@ -4931,7 +4934,14 @@
|
|
|
4931
4934
|
var script$1 = {
|
|
4932
4935
|
name: 'bk-checkbox',
|
|
4933
4936
|
mixins: [emitter],
|
|
4934
|
-
inject:
|
|
4937
|
+
inject: {
|
|
4938
|
+
handleRemoveItem: {
|
|
4939
|
+
default: null
|
|
4940
|
+
},
|
|
4941
|
+
handleAddItem: {
|
|
4942
|
+
default: null
|
|
4943
|
+
}
|
|
4944
|
+
},
|
|
4935
4945
|
props: {
|
|
4936
4946
|
value: {
|
|
4937
4947
|
type: [String, Number, Boolean],
|
package/lib/checkbox.js
CHANGED
|
@@ -574,7 +574,14 @@
|
|
|
574
574
|
var script = {
|
|
575
575
|
name: 'bk-checkbox',
|
|
576
576
|
mixins: [emitter],
|
|
577
|
-
inject:
|
|
577
|
+
inject: {
|
|
578
|
+
handleRemoveItem: {
|
|
579
|
+
default: null
|
|
580
|
+
},
|
|
581
|
+
handleAddItem: {
|
|
582
|
+
default: null
|
|
583
|
+
}
|
|
584
|
+
},
|
|
578
585
|
props: {
|
|
579
586
|
value: {
|
|
580
587
|
type: [String, Number, Boolean],
|
package/lib/date-picker.js
CHANGED
|
@@ -10,17 +10,11 @@
|
|
|
10
10
|
function _typeof(obj) {
|
|
11
11
|
"@babel/helpers - typeof";
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
_typeof = function (obj) {
|
|
19
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return _typeof(obj);
|
|
13
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
14
|
+
return typeof obj;
|
|
15
|
+
} : function (obj) {
|
|
16
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
17
|
+
}, _typeof(obj);
|
|
24
18
|
}
|
|
25
19
|
|
|
26
20
|
function _defineProperty(obj, key, value) {
|
|
@@ -7,17 +7,11 @@
|
|
|
7
7
|
function _typeof(obj) {
|
|
8
8
|
"@babel/helpers - typeof";
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
_typeof = function (obj) {
|
|
16
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return _typeof(obj);
|
|
10
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
11
|
+
return typeof obj;
|
|
12
|
+
} : function (obj) {
|
|
13
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
14
|
+
}, _typeof(obj);
|
|
21
15
|
}
|
|
22
16
|
|
|
23
17
|
function _classCallCheck(instance, Constructor) {
|
|
@@ -39,6 +33,9 @@
|
|
|
39
33
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
40
34
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
41
35
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
36
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
37
|
+
writable: false
|
|
38
|
+
});
|
|
42
39
|
return Constructor;
|
|
43
40
|
}
|
|
44
41
|
|
|
@@ -9,17 +9,11 @@
|
|
|
9
9
|
function _typeof(obj) {
|
|
10
10
|
"@babel/helpers - typeof";
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
_typeof = function (obj) {
|
|
18
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return _typeof(obj);
|
|
12
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
13
|
+
return typeof obj;
|
|
14
|
+
} : function (obj) {
|
|
15
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
16
|
+
}, _typeof(obj);
|
|
23
17
|
}
|
|
24
18
|
|
|
25
19
|
function _classCallCheck(instance, Constructor) {
|
|
@@ -41,6 +35,9 @@
|
|
|
41
35
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
42
36
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
43
37
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
39
|
+
writable: false
|
|
40
|
+
});
|
|
44
41
|
return Constructor;
|
|
45
42
|
}
|
|
46
43
|
|
package/lib/form-item.js
CHANGED
|
@@ -1549,17 +1549,11 @@
|
|
|
1549
1549
|
function _typeof(obj) {
|
|
1550
1550
|
"@babel/helpers - typeof";
|
|
1551
1551
|
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
}
|
|
1557
|
-
_typeof = function (obj) {
|
|
1558
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
1559
|
-
};
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
return _typeof(obj);
|
|
1552
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
1553
|
+
return typeof obj;
|
|
1554
|
+
} : function (obj) {
|
|
1555
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
1556
|
+
}, _typeof(obj);
|
|
1563
1557
|
}
|
|
1564
1558
|
|
|
1565
1559
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -1617,6 +1611,9 @@
|
|
|
1617
1611
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
1618
1612
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1619
1613
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1614
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
1615
|
+
writable: false
|
|
1616
|
+
});
|
|
1620
1617
|
return Constructor;
|
|
1621
1618
|
}
|
|
1622
1619
|
|
package/lib/form.js
CHANGED
|
@@ -7,17 +7,11 @@
|
|
|
7
7
|
function _typeof(obj) {
|
|
8
8
|
"@babel/helpers - typeof";
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
_typeof = function (obj) {
|
|
16
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return _typeof(obj);
|
|
10
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
11
|
+
return typeof obj;
|
|
12
|
+
} : function (obj) {
|
|
13
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
14
|
+
}, _typeof(obj);
|
|
21
15
|
}
|
|
22
16
|
|
|
23
17
|
function _unsupportedIterableToArray(o, minLen) {
|
package/lib/image.js
CHANGED
|
@@ -340,17 +340,11 @@
|
|
|
340
340
|
function _typeof(obj) {
|
|
341
341
|
"@babel/helpers - typeof";
|
|
342
342
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
}
|
|
348
|
-
_typeof = function (obj) {
|
|
349
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
return _typeof(obj);
|
|
343
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
344
|
+
return typeof obj;
|
|
345
|
+
} : function (obj) {
|
|
346
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
347
|
+
}, _typeof(obj);
|
|
354
348
|
}
|
|
355
349
|
|
|
356
350
|
function _defineProperty(obj, key, value) {
|
|
@@ -1140,7 +1134,6 @@
|
|
|
1140
1134
|
bkImageViewer: __vue_component__
|
|
1141
1135
|
},
|
|
1142
1136
|
mixins: [locale.mixin],
|
|
1143
|
-
inheritAttrs: false,
|
|
1144
1137
|
props: {
|
|
1145
1138
|
src: String,
|
|
1146
1139
|
fallback: String,
|
package/lib/info-box.js
CHANGED
|
@@ -518,17 +518,11 @@
|
|
|
518
518
|
function _typeof(obj) {
|
|
519
519
|
"@babel/helpers - typeof";
|
|
520
520
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
}
|
|
526
|
-
_typeof = function (obj) {
|
|
527
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
return _typeof(obj);
|
|
521
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
522
|
+
return typeof obj;
|
|
523
|
+
} : function (obj) {
|
|
524
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
525
|
+
}, _typeof(obj);
|
|
532
526
|
}
|
|
533
527
|
|
|
534
528
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
package/lib/loading.js
CHANGED
|
@@ -9,17 +9,11 @@
|
|
|
9
9
|
function _typeof(obj) {
|
|
10
10
|
"@babel/helpers - typeof";
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
_typeof = function (obj) {
|
|
18
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return _typeof(obj);
|
|
12
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
13
|
+
return typeof obj;
|
|
14
|
+
} : function (obj) {
|
|
15
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
16
|
+
}, _typeof(obj);
|
|
23
17
|
}
|
|
24
18
|
|
|
25
19
|
function _extends() {
|
|
@@ -517,6 +511,9 @@
|
|
|
517
511
|
return;
|
|
518
512
|
}
|
|
519
513
|
return typeof this.zIndex === 'number' && !isNan$1(this.zIndex);
|
|
514
|
+
},
|
|
515
|
+
renderZIndex: function renderZIndex() {
|
|
516
|
+
return this.zIndex;
|
|
520
517
|
}
|
|
521
518
|
},
|
|
522
519
|
watch: {
|
|
@@ -536,7 +533,7 @@
|
|
|
536
533
|
},
|
|
537
534
|
isShow: function isShow(newVal) {
|
|
538
535
|
if (newVal && !this.hasZIndexOption) {
|
|
539
|
-
this.
|
|
536
|
+
this.renderZIndex = zIndexManager.nextZIndex();
|
|
540
537
|
}
|
|
541
538
|
},
|
|
542
539
|
isLoading: {
|
|
@@ -670,7 +667,7 @@
|
|
|
670
667
|
}],
|
|
671
668
|
staticClass: "bk-loading-wrapper",
|
|
672
669
|
style: {
|
|
673
|
-
|
|
670
|
+
renderZIndex: _vm.renderZIndex,
|
|
674
671
|
backgroundColor: _vm.bgColor
|
|
675
672
|
}
|
|
676
673
|
}, [_c('div', {
|
|
@@ -722,7 +719,7 @@
|
|
|
722
719
|
class: _vm.extCls,
|
|
723
720
|
style: {
|
|
724
721
|
position: _vm.type,
|
|
725
|
-
|
|
722
|
+
renderZIndex: _vm.renderZIndex,
|
|
726
723
|
backgroundColor: _vm.bgColor
|
|
727
724
|
}
|
|
728
725
|
}, [_c('div', {
|
package/lib/locale/index.js
CHANGED
|
@@ -693,17 +693,11 @@
|
|
|
693
693
|
function _typeof(obj) {
|
|
694
694
|
"@babel/helpers - typeof";
|
|
695
695
|
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
}
|
|
701
|
-
_typeof = function (obj) {
|
|
702
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
703
|
-
};
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
return _typeof(obj);
|
|
696
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
697
|
+
return typeof obj;
|
|
698
|
+
} : function (obj) {
|
|
699
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
700
|
+
}, _typeof(obj);
|
|
707
701
|
}
|
|
708
702
|
|
|
709
703
|
var _for = _core.Symbol['for'];
|
package/lib/message.js
CHANGED
|
@@ -10,17 +10,11 @@
|
|
|
10
10
|
function _typeof(obj) {
|
|
11
11
|
"@babel/helpers - typeof";
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
_typeof = function (obj) {
|
|
19
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return _typeof(obj);
|
|
13
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
14
|
+
return typeof obj;
|
|
15
|
+
} : function (obj) {
|
|
16
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
17
|
+
}, _typeof(obj);
|
|
24
18
|
}
|
|
25
19
|
|
|
26
20
|
function createCommonjsModule(fn, module) {
|
package/lib/notify.js
CHANGED
|
@@ -10,17 +10,11 @@
|
|
|
10
10
|
function _typeof(obj) {
|
|
11
11
|
"@babel/helpers - typeof";
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
_typeof = function (obj) {
|
|
19
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return _typeof(obj);
|
|
13
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
14
|
+
return typeof obj;
|
|
15
|
+
} : function (obj) {
|
|
16
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
17
|
+
}, _typeof(obj);
|
|
24
18
|
}
|
|
25
19
|
|
|
26
20
|
function _defineProperty(obj, key, value) {
|
package/lib/option-group.js
CHANGED
|
@@ -574,7 +574,14 @@
|
|
|
574
574
|
var script = {
|
|
575
575
|
name: 'bk-checkbox',
|
|
576
576
|
mixins: [emitter],
|
|
577
|
-
inject:
|
|
577
|
+
inject: {
|
|
578
|
+
handleRemoveItem: {
|
|
579
|
+
default: null
|
|
580
|
+
},
|
|
581
|
+
handleAddItem: {
|
|
582
|
+
default: null
|
|
583
|
+
}
|
|
584
|
+
},
|
|
578
585
|
props: {
|
|
579
586
|
value: {
|
|
580
587
|
type: [String, Number, Boolean],
|
package/lib/pagination.js
CHANGED
|
@@ -518,17 +518,11 @@
|
|
|
518
518
|
function _typeof(obj) {
|
|
519
519
|
"@babel/helpers - typeof";
|
|
520
520
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
}
|
|
526
|
-
_typeof = function (obj) {
|
|
527
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
return _typeof(obj);
|
|
521
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
522
|
+
return typeof obj;
|
|
523
|
+
} : function (obj) {
|
|
524
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
525
|
+
}, _typeof(obj);
|
|
532
526
|
}
|
|
533
527
|
|
|
534
528
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -586,6 +580,9 @@
|
|
|
586
580
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
587
581
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
588
582
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
583
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
584
|
+
writable: false
|
|
585
|
+
});
|
|
589
586
|
return Constructor;
|
|
590
587
|
}
|
|
591
588
|
|
|
@@ -4361,6 +4358,9 @@
|
|
|
4361
4358
|
return;
|
|
4362
4359
|
}
|
|
4363
4360
|
return typeof this.zIndex === 'number' && !isNan$1(this.zIndex);
|
|
4361
|
+
},
|
|
4362
|
+
renderZIndex: function renderZIndex() {
|
|
4363
|
+
return this.zIndex;
|
|
4364
4364
|
}
|
|
4365
4365
|
},
|
|
4366
4366
|
watch: {
|
|
@@ -4380,7 +4380,7 @@
|
|
|
4380
4380
|
},
|
|
4381
4381
|
isShow: function isShow(newVal) {
|
|
4382
4382
|
if (newVal && !this.hasZIndexOption) {
|
|
4383
|
-
this.
|
|
4383
|
+
this.renderZIndex = zIndexManager.nextZIndex();
|
|
4384
4384
|
}
|
|
4385
4385
|
},
|
|
4386
4386
|
isLoading: {
|
|
@@ -4455,7 +4455,7 @@
|
|
|
4455
4455
|
}],
|
|
4456
4456
|
staticClass: "bk-loading-wrapper",
|
|
4457
4457
|
style: {
|
|
4458
|
-
|
|
4458
|
+
renderZIndex: _vm.renderZIndex,
|
|
4459
4459
|
backgroundColor: _vm.bgColor
|
|
4460
4460
|
}
|
|
4461
4461
|
}, [_c('div', {
|
|
@@ -4507,7 +4507,7 @@
|
|
|
4507
4507
|
class: _vm.extCls,
|
|
4508
4508
|
style: {
|
|
4509
4509
|
position: _vm.type,
|
|
4510
|
-
|
|
4510
|
+
renderZIndex: _vm.renderZIndex,
|
|
4511
4511
|
backgroundColor: _vm.bgColor
|
|
4512
4512
|
}
|
|
4513
4513
|
}, [_c('div', {
|
package/lib/popconfirm.js
CHANGED
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
27
27
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
28
28
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
29
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
30
|
+
writable: false
|
|
31
|
+
});
|
|
29
32
|
return Constructor;
|
|
30
33
|
}
|
|
31
34
|
|
package/lib/popover.js
CHANGED
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
26
26
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
27
27
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
29
|
+
writable: false
|
|
30
|
+
});
|
|
28
31
|
return Constructor;
|
|
29
32
|
}
|
|
30
33
|
|
package/lib/process.js
CHANGED
|
@@ -7,17 +7,11 @@
|
|
|
7
7
|
function _typeof(obj) {
|
|
8
8
|
"@babel/helpers - typeof";
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
_typeof = function (obj) {
|
|
16
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return _typeof(obj);
|
|
10
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
11
|
+
return typeof obj;
|
|
12
|
+
} : function (obj) {
|
|
13
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
14
|
+
}, _typeof(obj);
|
|
21
15
|
}
|
|
22
16
|
|
|
23
17
|
function _toConsumableArray(arr) {
|
package/lib/search-select.js
CHANGED
|
@@ -361,6 +361,9 @@
|
|
|
361
361
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
362
362
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
363
363
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
364
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
365
|
+
writable: false
|
|
366
|
+
});
|
|
364
367
|
return Constructor;
|
|
365
368
|
}
|
|
366
369
|
|
package/lib/select.js
CHANGED
|
@@ -518,17 +518,11 @@
|
|
|
518
518
|
function _typeof(obj) {
|
|
519
519
|
"@babel/helpers - typeof";
|
|
520
520
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
}
|
|
526
|
-
_typeof = function (obj) {
|
|
527
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
return _typeof(obj);
|
|
521
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
522
|
+
return typeof obj;
|
|
523
|
+
} : function (obj) {
|
|
524
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
525
|
+
}, _typeof(obj);
|
|
532
526
|
}
|
|
533
527
|
|
|
534
528
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -586,6 +580,9 @@
|
|
|
586
580
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
587
581
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
588
582
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
583
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
584
|
+
writable: false
|
|
585
|
+
});
|
|
589
586
|
return Constructor;
|
|
590
587
|
}
|
|
591
588
|
|
|
@@ -4361,6 +4358,9 @@
|
|
|
4361
4358
|
return;
|
|
4362
4359
|
}
|
|
4363
4360
|
return typeof this.zIndex === 'number' && !isNan$1(this.zIndex);
|
|
4361
|
+
},
|
|
4362
|
+
renderZIndex: function renderZIndex() {
|
|
4363
|
+
return this.zIndex;
|
|
4364
4364
|
}
|
|
4365
4365
|
},
|
|
4366
4366
|
watch: {
|
|
@@ -4380,7 +4380,7 @@
|
|
|
4380
4380
|
},
|
|
4381
4381
|
isShow: function isShow(newVal) {
|
|
4382
4382
|
if (newVal && !this.hasZIndexOption) {
|
|
4383
|
-
this.
|
|
4383
|
+
this.renderZIndex = zIndexManager.nextZIndex();
|
|
4384
4384
|
}
|
|
4385
4385
|
},
|
|
4386
4386
|
isLoading: {
|
|
@@ -4455,7 +4455,7 @@
|
|
|
4455
4455
|
}],
|
|
4456
4456
|
staticClass: "bk-loading-wrapper",
|
|
4457
4457
|
style: {
|
|
4458
|
-
|
|
4458
|
+
renderZIndex: _vm.renderZIndex,
|
|
4459
4459
|
backgroundColor: _vm.bgColor
|
|
4460
4460
|
}
|
|
4461
4461
|
}, [_c('div', {
|
|
@@ -4507,7 +4507,7 @@
|
|
|
4507
4507
|
class: _vm.extCls,
|
|
4508
4508
|
style: {
|
|
4509
4509
|
position: _vm.type,
|
|
4510
|
-
|
|
4510
|
+
renderZIndex: _vm.renderZIndex,
|
|
4511
4511
|
backgroundColor: _vm.bgColor
|
|
4512
4512
|
}
|
|
4513
4513
|
}, [_c('div', {
|