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.
@@ -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 asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@@ -78,6 +72,9 @@
78
72
  function _createClass(Constructor, protoProps, staticProps) {
79
73
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
80
74
  if (staticProps) _defineProperties(Constructor, staticProps);
75
+ Object.defineProperty(Constructor, "prototype", {
76
+ writable: false
77
+ });
81
78
  return Constructor;
82
79
  }
83
80
 
@@ -738,7 +735,7 @@
738
735
  },
739
736
  computed: {
740
737
  positionStyle: function positionStyle() {
741
- return "right: ".concat(this.right, "px;\n bottom: ").concat(this.bottom, "px;\n z-index: ").concat(this.zIndex);
738
+ return "right: ".concat(this.right, "px; bottom: ").concat(this.bottom, "px; z-index: ").concat(this.zIndex);
742
739
  }
743
740
  },
744
741
  watch: {
@@ -2744,7 +2741,14 @@
2744
2741
  var script$8 = {
2745
2742
  name: 'bk-checkbox',
2746
2743
  mixins: [emitter],
2747
- inject: ['handleRemoveItem', 'handleAddItem'],
2744
+ inject: {
2745
+ handleRemoveItem: {
2746
+ default: null
2747
+ },
2748
+ handleAddItem: {
2749
+ default: null
2750
+ }
2751
+ },
2748
2752
  props: {
2749
2753
  value: {
2750
2754
  type: [String, Number, Boolean],
@@ -30070,6 +30074,9 @@
30070
30074
  return;
30071
30075
  }
30072
30076
  return typeof this.zIndex === 'number' && !isNan$1(this.zIndex);
30077
+ },
30078
+ renderZIndex: function renderZIndex() {
30079
+ return this.zIndex;
30073
30080
  }
30074
30081
  },
30075
30082
  watch: {
@@ -30089,7 +30096,7 @@
30089
30096
  },
30090
30097
  isShow: function isShow(newVal) {
30091
30098
  if (newVal && !this.hasZIndexOption) {
30092
- this.zIndex = zIndexManager.nextZIndex();
30099
+ this.renderZIndex = zIndexManager.nextZIndex();
30093
30100
  }
30094
30101
  },
30095
30102
  isLoading: {
@@ -30164,7 +30171,7 @@
30164
30171
  }],
30165
30172
  staticClass: "bk-loading-wrapper",
30166
30173
  style: {
30167
- zIndex: _vm.zIndex,
30174
+ renderZIndex: _vm.renderZIndex,
30168
30175
  backgroundColor: _vm.bgColor
30169
30176
  }
30170
30177
  }, [_c('div', {
@@ -30216,7 +30223,7 @@
30216
30223
  class: _vm.extCls,
30217
30224
  style: {
30218
30225
  position: _vm.type,
30219
- zIndex: _vm.zIndex,
30226
+ renderZIndex: _vm.renderZIndex,
30220
30227
  backgroundColor: _vm.bgColor
30221
30228
  }
30222
30229
  }, [_c('div', {
@@ -54477,7 +54484,6 @@
54477
54484
  bkImageViewer: __vue_component__$1w
54478
54485
  },
54479
54486
  mixins: [locale.mixin],
54480
- inheritAttrs: false,
54481
54487
  props: {
54482
54488
  src: String,
54483
54489
  fallback: String,