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/lib/slider.js CHANGED
@@ -355,17 +355,11 @@
355
355
  function _typeof(obj) {
356
356
  "@babel/helpers - typeof";
357
357
 
358
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
359
- _typeof = function (obj) {
360
- return typeof obj;
361
- };
362
- } else {
363
- _typeof = function (obj) {
364
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
365
- };
366
- }
367
-
368
- return _typeof(obj);
358
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
359
+ return typeof obj;
360
+ } : function (obj) {
361
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
362
+ }, _typeof(obj);
369
363
  }
370
364
 
371
365
  function _classCallCheck(instance, Constructor) {
@@ -387,6 +381,9 @@
387
381
  function _createClass(Constructor, protoProps, staticProps) {
388
382
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
389
383
  if (staticProps) _defineProperties(Constructor, staticProps);
384
+ Object.defineProperty(Constructor, "prototype", {
385
+ writable: false
386
+ });
390
387
  return Constructor;
391
388
  }
392
389
 
@@ -7,17 +7,11 @@
7
7
  function _typeof(obj) {
8
8
  "@babel/helpers - typeof";
9
9
 
10
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
11
- _typeof = function (obj) {
12
- return typeof obj;
13
- };
14
- } else {
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 asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@@ -1079,7 +1079,14 @@
1079
1079
  var script$1 = {
1080
1080
  name: 'bk-checkbox',
1081
1081
  mixins: [emitter],
1082
- inject: ['handleRemoveItem', 'handleAddItem'],
1082
+ inject: {
1083
+ handleRemoveItem: {
1084
+ default: null
1085
+ },
1086
+ handleAddItem: {
1087
+ default: null
1088
+ }
1089
+ },
1083
1090
  props: {
1084
1091
  value: {
1085
1092
  type: [String, Number, Boolean],
package/lib/table.js CHANGED
@@ -309,17 +309,11 @@
309
309
  function _typeof(obj) {
310
310
  "@babel/helpers - typeof";
311
311
 
312
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
313
- _typeof = function (obj) {
314
- return typeof obj;
315
- };
316
- } else {
317
- _typeof = function (obj) {
318
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
319
- };
320
- }
321
-
322
- return _typeof(obj);
312
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
313
+ return typeof obj;
314
+ } : function (obj) {
315
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
316
+ }, _typeof(obj);
323
317
  }
324
318
 
325
319
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@@ -377,6 +371,9 @@
377
371
  function _createClass(Constructor, protoProps, staticProps) {
378
372
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
379
373
  if (staticProps) _defineProperties(Constructor, staticProps);
374
+ Object.defineProperty(Constructor, "prototype", {
375
+ writable: false
376
+ });
380
377
  return Constructor;
381
378
  }
382
379
 
@@ -6717,7 +6714,14 @@
6717
6714
  var script$1 = {
6718
6715
  name: 'bk-checkbox',
6719
6716
  mixins: [emitter],
6720
- inject: ['handleRemoveItem', 'handleAddItem'],
6717
+ inject: {
6718
+ handleRemoveItem: {
6719
+ default: null
6720
+ },
6721
+ handleAddItem: {
6722
+ default: null
6723
+ }
6724
+ },
6721
6725
  props: {
6722
6726
  value: {
6723
6727
  type: [String, Number, Boolean],
@@ -9566,6 +9570,9 @@
9566
9570
  return;
9567
9571
  }
9568
9572
  return typeof this.zIndex === 'number' && !isNan$1(this.zIndex);
9573
+ },
9574
+ renderZIndex: function renderZIndex() {
9575
+ return this.zIndex;
9569
9576
  }
9570
9577
  },
9571
9578
  watch: {
@@ -9585,7 +9592,7 @@
9585
9592
  },
9586
9593
  isShow: function isShow(newVal) {
9587
9594
  if (newVal && !this.hasZIndexOption) {
9588
- this.zIndex = zIndexManager.nextZIndex();
9595
+ this.renderZIndex = zIndexManager.nextZIndex();
9589
9596
  }
9590
9597
  },
9591
9598
  isLoading: {
@@ -9660,7 +9667,7 @@
9660
9667
  }],
9661
9668
  staticClass: "bk-loading-wrapper",
9662
9669
  style: {
9663
- zIndex: _vm.zIndex,
9670
+ renderZIndex: _vm.renderZIndex,
9664
9671
  backgroundColor: _vm.bgColor
9665
9672
  }
9666
9673
  }, [_c('div', {
@@ -9712,7 +9719,7 @@
9712
9719
  class: _vm.extCls,
9713
9720
  style: {
9714
9721
  position: _vm.type,
9715
- zIndex: _vm.zIndex,
9722
+ renderZIndex: _vm.renderZIndex,
9716
9723
  backgroundColor: _vm.bgColor
9717
9724
  }
9718
9725
  }, [_c('div', {
package/lib/tag-input.js CHANGED
@@ -293,17 +293,11 @@
293
293
  function _typeof(obj) {
294
294
  "@babel/helpers - typeof";
295
295
 
296
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
297
- _typeof = function (obj) {
298
- return typeof obj;
299
- };
300
- } else {
301
- _typeof = function (obj) {
302
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
303
- };
304
- }
305
-
306
- return _typeof(obj);
296
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
297
+ return typeof obj;
298
+ } : function (obj) {
299
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
300
+ }, _typeof(obj);
307
301
  }
308
302
 
309
303
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@@ -361,6 +355,9 @@
361
355
  function _createClass(Constructor, protoProps, staticProps) {
362
356
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
363
357
  if (staticProps) _defineProperties(Constructor, staticProps);
358
+ Object.defineProperty(Constructor, "prototype", {
359
+ writable: false
360
+ });
364
361
  return Constructor;
365
362
  }
366
363
 
@@ -1906,6 +1903,9 @@
1906
1903
  return;
1907
1904
  }
1908
1905
  return typeof this.zIndex === 'number' && !isNan$1(this.zIndex);
1906
+ },
1907
+ renderZIndex: function renderZIndex() {
1908
+ return this.zIndex;
1909
1909
  }
1910
1910
  },
1911
1911
  watch: {
@@ -1925,7 +1925,7 @@
1925
1925
  },
1926
1926
  isShow: function isShow(newVal) {
1927
1927
  if (newVal && !this.hasZIndexOption) {
1928
- this.zIndex = zIndexManager.nextZIndex();
1928
+ this.renderZIndex = zIndexManager.nextZIndex();
1929
1929
  }
1930
1930
  },
1931
1931
  isLoading: {
@@ -2059,7 +2059,7 @@
2059
2059
  }],
2060
2060
  staticClass: "bk-loading-wrapper",
2061
2061
  style: {
2062
- zIndex: _vm.zIndex,
2062
+ renderZIndex: _vm.renderZIndex,
2063
2063
  backgroundColor: _vm.bgColor
2064
2064
  }
2065
2065
  }, [_c('div', {
@@ -2111,7 +2111,7 @@
2111
2111
  class: _vm.extCls,
2112
2112
  style: {
2113
2113
  position: _vm.type,
2114
- zIndex: _vm.zIndex,
2114
+ renderZIndex: _vm.renderZIndex,
2115
2115
  backgroundColor: _vm.bgColor
2116
2116
  }
2117
2117
  }, [_c('div', {
@@ -10,17 +10,11 @@
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
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/timeline.js CHANGED
@@ -7,17 +7,11 @@
7
7
  function _typeof(obj) {
8
8
  "@babel/helpers - typeof";
9
9
 
10
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
11
- _typeof = function (obj) {
12
- return typeof obj;
13
- };
14
- } else {
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 _defineProperty(obj, key, value) {
package/lib/transfer.js CHANGED
@@ -9,17 +9,11 @@
9
9
  function _typeof(obj) {
10
10
  "@babel/helpers - typeof";
11
11
 
12
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
13
- _typeof = function (obj) {
14
- return typeof obj;
15
- };
16
- } else {
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/tree.js CHANGED
@@ -190,17 +190,11 @@
190
190
  function _typeof(obj) {
191
191
  "@babel/helpers - typeof";
192
192
 
193
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
194
- _typeof = function (obj) {
195
- return typeof obj;
196
- };
197
- } else {
198
- _typeof = function (obj) {
199
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
200
- };
201
- }
202
-
203
- return _typeof(obj);
193
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
194
+ return typeof obj;
195
+ } : function (obj) {
196
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
197
+ }, _typeof(obj);
204
198
  }
205
199
 
206
200
  function _extends() {
package/lib/upload.js CHANGED
@@ -530,17 +530,11 @@
530
530
  function _typeof(obj) {
531
531
  "@babel/helpers - typeof";
532
532
 
533
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
534
- _typeof = function (obj) {
535
- return typeof obj;
536
- };
537
- } else {
538
- _typeof = function (obj) {
539
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
540
- };
541
- }
542
-
543
- return _typeof(obj);
533
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
534
+ return typeof obj;
535
+ } : function (obj) {
536
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
537
+ }, _typeof(obj);
544
538
  }
545
539
 
546
540
  function _classCallCheck(instance, Constructor) {
@@ -562,6 +556,9 @@
562
556
  function _createClass(Constructor, protoProps, staticProps) {
563
557
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
564
558
  if (staticProps) _defineProperties(Constructor, staticProps);
559
+ Object.defineProperty(Constructor, "prototype", {
560
+ writable: false
561
+ });
565
562
  return Constructor;
566
563
  }
567
564
 
@@ -670,17 +670,11 @@
670
670
  function _typeof(obj) {
671
671
  "@babel/helpers - typeof";
672
672
 
673
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
674
- _typeof = function (obj) {
675
- return typeof obj;
676
- };
677
- } else {
678
- _typeof = function (obj) {
679
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
680
- };
681
- }
682
-
683
- return _typeof(obj);
673
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
674
+ return typeof obj;
675
+ } : function (obj) {
676
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
677
+ }, _typeof(obj);
684
678
  }
685
679
 
686
680
  var _for = _core.Symbol['for'];
@@ -7,17 +7,11 @@
7
7
  function _typeof(obj) {
8
8
  "@babel/helpers - typeof";
9
9
 
10
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
11
- _typeof = function (obj) {
12
- return typeof obj;
13
- };
14
- } else {
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
  var UNIHANS = ["\u963F", "\u54CE", "\u5B89", "\u80AE", "\u51F9", "\u516B", "\u6300", "\u6273", "\u90A6", "\u52F9", "\u9642", "\u5954", "\u4F3B", "\u5C44", "\u8FB9", "\u706C", "\u618B", "\u6C43", "\u51AB", "\u7676", "\u5CEC", "\u5693", "\u5072", "\u53C2", "\u4ED3", "\u64A1", "\u518A", "\u5D7E", "\u66FD", "\u53C9", "\u8286", "\u8FBF", "\u4F25", "\u6284", "\u8F66", "\u62BB", "\u9637", "\u5403", "\u5145", "\u62BD", "\u51FA", "\u6B3B", "\u63E3", "\u5DDB", "\u5205", "\u5439", "\u65FE", "\u9034", "\u5472", "\u5306", "\u51D1", "\u7C97", "\u6C46", "\u5D14", "\u90A8", "\u6413", "\u5491", "\u5446", "\u4E39", "\u5F53", "\u5200", "\u561A", "\u6265", "\u706F", "\u6C10", "\u7538", "\u5201", "\u7239", "\u4E01", "\u4E1F", "\u4E1C", "\u543A", "\u53BE", "\u8011", "\u5796", "\u5428", "\u591A", "\u59B8", "\u8BF6", "\u5940", "\u97A5", "\u513F", "\u53D1", "\u5E06", "\u531A", "\u98DE", "\u5206", "\u4E30", "\u8985", "\u4ECF", "\u7D11", "\u592B", "\u65EE", "\u4F85", "\u7518", "\u5188", "\u768B", "\u6208", "\u7ED9", "\u6839", "\u522F", "\u5DE5", "\u52FE", "\u4F30", "\u74DC", "\u4E56", "\u5173", "\u5149", "\u5F52", "\u4E28", "\u5459", "\u54C8", "\u548D", "\u4F44", "\u592F", "\u8320", "\u8BC3", "\u9ED2", "\u62EB", "\u4EA8", "\u5677", "\u53FF", "\u9F41", "\u4E4E", "\u82B1", "\u6000", "\u6B22", "\u5DDF", "\u7070", "\u660F", "\u5419", "\u4E0C", "\u52A0", "\u620B", "\u6C5F", "\u827D", "\u9636", "\u5DFE", "\u5755", "\u5182", "\u4E29", "\u51E5", "\u59E2", "\u5658", "\u519B", "\u5494", "\u5F00", "\u520A", "\u5FFC", "\u5C3B", "\u533C", "\u808E", "\u52A5", "\u7A7A", "\u62A0", "\u625D", "\u5938", "\u84AF", "\u5BBD", "\u5321", "\u4E8F", "\u5764", "\u6269", "\u5783", "\u6765", "\u5170", "\u5577", "\u635E", "\u808B", "\u52D2", "\u5D1A", "\u54E9", "\u4FE9", "\u5941", "\u826F", "\u64A9", "\u6BDF", "\u62CE", "\u4F36", "\u6E9C", "\u56D6", "\u9F99", "\u779C", "\u565C", "\u9A74", "\u5A08", "\u63A0", "\u62A1", "\u7F57", "\u5463", "\u5988", "\u57CB", "\u5ADA", "\u7264", "\u732B", "\u4E48", "\u5445", "\u95E8", "\u753F", "\u54AA", "\u5B80", "\u55B5", "\u4E5C", "\u6C11", "\u540D", "\u8C2C", "\u6478", "\u54DE", "\u6BEA", "\u55EF", "\u62CF", "\u8149", "\u56E1", "\u56D4", "\u5B6C", "\u7592", "\u5A1E", "\u6041", "\u80FD", "\u59AE", "\u62C8", "\u5A18", "\u9E1F", "\u634F", "\u56DC", "\u5B81", "\u599E", "\u519C", "\u7FBA", "\u5974", "\u5973", "\u597B", "\u759F", "\u9EC1", "\u632A", "\u5594", "\u8BB4", "\u5991", "\u62CD", "\u7705", "\u4E53", "\u629B", "\u5478", "\u55B7", "\u5309", "\u4E15", "\u56E8", "\u527D", "\u6C15", "\u59D8", "\u4E52", "\u948B", "\u5256", "\u4EC6", "\u4E03", "\u6390", "\u5343", "\u545B", "\u6084", "\u767F", "\u4EB2", "\u9751", "\u536D", "\u4E18", "\u533A", "\u5CD1", "\u7F3A", "\u590B", "\u5465", "\u7A63", "\u5A06", "\u60F9", "\u4EBA", "\u6254", "\u65E5", "\u8338", "\u53B9", "\u909A", "\u633C", "\u5827", "\u5A51", "\u77A4", "\u637C", "\u4EE8", "\u6BE2", "\u4E09", "\u6852", "\u63BB", "\u95AA", "\u68EE", "\u50E7", "\u6740", "\u7B5B", "\u5C71", "\u4F24", "\u5F30", "\u5962", "\u7533", "\u5347", "\u5C38", "\u53CE", "\u4E66", "\u5237", "\u8870", "\u95E9", "\u53CC", "\u813D", "\u542E", "\u8BF4", "\u53B6", "\u5FEA", "\u635C", "\u82CF", "\u72FB", "\u590A", "\u5B59", "\u5506", "\u4ED6", "\u56FC", "\u574D", "\u6C64", "\u5932", "\u5FD1", "\u71A5", "\u5254", "\u5929", "\u65EB", "\u5E16", "\u5385", "\u56F2", "\u5077", "\u51F8", "\u6E4D", "\u63A8", "\u541E", "\u4E47", "\u7A75", "\u6B6A", "\u5F2F", "\u5C23", "\u5371", "\u6637", "\u7FC1", "\u631D", "\u4E4C", "\u5915", "\u8672", "\u4ED9", "\u4E61", "\u7071", "\u4E9B", "\u5FC3", "\u661F", "\u51F6", "\u4F11", "\u5401", "\u5405", "\u524A", "\u5743", "\u4E2B", "\u6079", "\u592E", "\u5E7A", "\u503B", "\u4E00", "\u56D9", "\u5E94", "\u54DF", "\u4F63", "\u4F18", "\u625C", "\u56E6", "\u66F0", "\u6655", "\u5E00", "\u707D", "\u5142", "\u5328", "\u50AE", "\u5219", "\u8D3C", "\u600E", "\u5897", "\u624E", "\u635A", "\u6CBE", "\u5F20", "\u4F4B", "\u8707", "\u8D1E", "\u4E89", "\u4E4B", "\u4E2D", "\u5DDE", "\u6731", "\u6293", "\u62FD", "\u4E13", "\u5986", "\u96B9", "\u5B92", "\u5353", "\u4E72", "\u5B97", "\u90B9", "\u79DF", "\u94BB", "\u539C", "\u5C0A", "\u6628", "\u5159"];
@@ -398,6 +398,9 @@
398
398
  function _createClass(Constructor, protoProps, staticProps) {
399
399
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
400
400
  if (staticProps) _defineProperties(Constructor, staticProps);
401
+ Object.defineProperty(Constructor, "prototype", {
402
+ writable: false
403
+ });
401
404
  return Constructor;
402
405
  }
403
406
 
@@ -518,17 +518,11 @@
518
518
  function _typeof(obj) {
519
519
  "@babel/helpers - typeof";
520
520
 
521
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
522
- _typeof = function (obj) {
523
- return typeof obj;
524
- };
525
- } else {
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
 
@@ -3750,6 +3747,9 @@
3750
3747
  return;
3751
3748
  }
3752
3749
  return typeof this.zIndex === 'number' && !isNan$1(this.zIndex);
3750
+ },
3751
+ renderZIndex: function renderZIndex() {
3752
+ return this.zIndex;
3753
3753
  }
3754
3754
  },
3755
3755
  watch: {
@@ -3769,7 +3769,7 @@
3769
3769
  },
3770
3770
  isShow: function isShow(newVal) {
3771
3771
  if (newVal && !this.hasZIndexOption) {
3772
- this.zIndex = zIndexManager.nextZIndex();
3772
+ this.renderZIndex = zIndexManager.nextZIndex();
3773
3773
  }
3774
3774
  },
3775
3775
  isLoading: {
@@ -3903,7 +3903,7 @@
3903
3903
  }],
3904
3904
  staticClass: "bk-loading-wrapper",
3905
3905
  style: {
3906
- zIndex: _vm.zIndex,
3906
+ renderZIndex: _vm.renderZIndex,
3907
3907
  backgroundColor: _vm.bgColor
3908
3908
  }
3909
3909
  }, [_c('div', {
@@ -3955,7 +3955,7 @@
3955
3955
  class: _vm.extCls,
3956
3956
  style: {
3957
3957
  position: _vm.type,
3958
- zIndex: _vm.zIndex,
3958
+ renderZIndex: _vm.renderZIndex,
3959
3959
  backgroundColor: _vm.bgColor
3960
3960
  }
3961
3961
  }, [_c('div', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bk-magic-vue",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "基于蓝鲸 Magicbox 和 Vue 的前端组件库",
5
5
  "main": "dist/bk-magic-vue.min.js",
6
6
  "files": [