bk-magic-vue 2.4.8 → 2.4.9

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.
Files changed (45) hide show
  1. package/bkui-vue2-helper/attributes.json +1 -0
  2. package/bkui-vue2-helper/tags.json +1 -0
  3. package/dist/bk-magic-vue.css +81 -10
  4. package/dist/bk-magic-vue.js +245 -115
  5. package/dist/bk-magic-vue.min.css +1 -1
  6. package/dist/bk-magic-vue.min.css.gz +0 -0
  7. package/dist/bk-magic-vue.min.css.map +1 -1
  8. package/dist/bk-magic-vue.min.js +1 -1
  9. package/dist/bk-magic-vue.min.js.gz +0 -0
  10. package/dist/bk-magic-vue.min.js.map +1 -1
  11. package/lib/button.js +1 -1
  12. package/lib/date-picker.js +1 -22
  13. package/lib/dialog.js +30 -8
  14. package/lib/image-viewer.js +84 -8
  15. package/lib/image.js +94 -13
  16. package/lib/info-box.js +31 -8
  17. package/lib/loading.js +6 -2
  18. package/lib/pagination.js +871 -51
  19. package/lib/resize-layout.js +24 -22
  20. package/lib/select.js +7 -3
  21. package/lib/spin.js +1 -1
  22. package/lib/tab.js +241 -210
  23. package/lib/table-setting-content.js +1 -1
  24. package/lib/table.js +782 -66
  25. package/lib/tag-input.js +6 -2
  26. package/lib/time-picker.js +1 -22
  27. package/lib/ui/bk-magic-vue.css +81 -10
  28. package/lib/ui/bk-magic-vue.min.css +1 -1
  29. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  30. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  31. package/lib/ui/pagination.css +14 -0
  32. package/lib/ui/pagination.min.css +1 -1
  33. package/lib/ui/pagination.min.css.map +1 -1
  34. package/lib/ui/select.css +4 -0
  35. package/lib/ui/select.min.css +1 -1
  36. package/lib/ui/select.min.css.map +1 -1
  37. package/lib/ui/spin.css +38 -5
  38. package/lib/ui/spin.min.css +1 -1
  39. package/lib/ui/spin.min.css.map +1 -1
  40. package/lib/ui/tab.css +41 -5
  41. package/lib/ui/tab.min.css +1 -1
  42. package/lib/ui/tab.min.css.map +1 -1
  43. package/lib/version-detail.js +36 -10
  44. package/lib/zoom-image.js +372 -176
  45. package/package.json +2 -2
package/lib/zoom-image.js CHANGED
@@ -1,14 +1,356 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
- (global = global || self, factory(global.library = {}));
5
- }(this, function (exports) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) :
4
+ (global = global || self, factory(global.library = {}, global.Vue));
5
+ }(this, function (exports, Vue) { 'use strict';
6
+
7
+ Vue = Vue && Vue.hasOwnProperty('default') ? Vue['default'] : Vue;
8
+
9
+ function _extends() {
10
+ _extends = Object.assign || function (target) {
11
+ for (var i = 1; i < arguments.length; i++) {
12
+ var source = arguments[i];
13
+
14
+ for (var key in source) {
15
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
16
+ target[key] = source[key];
17
+ }
18
+ }
19
+ }
20
+
21
+ return target;
22
+ };
23
+
24
+ return _extends.apply(this, arguments);
25
+ }
26
+
27
+ function getTarget(node) {
28
+ if (node === void 0) {
29
+ node = document.body;
30
+ }
31
+ if (node === true) {
32
+ return document.body;
33
+ }
34
+ return node instanceof window.Node ? node : document.querySelector(node);
35
+ }
36
+ var transferDom = {
37
+ inserted: function inserted(el, _ref, vnode) {
38
+ var value = _ref.value;
39
+ if (el.dataset.transfer !== 'true') {
40
+ return false;
41
+ }
42
+ el.className = el.className ? el.className + ' v-transfer-dom' : 'v-transfer-dom';
43
+ var parentNode = el.parentNode;
44
+ if (!parentNode) {
45
+ return;
46
+ }
47
+ var home = document.createComment('');
48
+ var hasMovedOut = false;
49
+ if (value !== false) {
50
+ parentNode.replaceChild(home, el);
51
+ getTarget(value).appendChild(el);
52
+ hasMovedOut = true;
53
+ }
54
+ if (!el.__transferDomData) {
55
+ el.__transferDomData = {
56
+ parentNode: parentNode,
57
+ home: home,
58
+ target: getTarget(value),
59
+ hasMovedOut: hasMovedOut
60
+ };
61
+ }
62
+ },
63
+ componentUpdated: function componentUpdated(el, _ref2) {
64
+ var value = _ref2.value;
65
+ if (el.dataset.transfer !== 'true') {
66
+ return false;
67
+ }
68
+ var ref$1 = el.__transferDomData;
69
+ if (!ref$1) {
70
+ return;
71
+ }
72
+ var parentNode = ref$1.parentNode;
73
+ var home = ref$1.home;
74
+ var hasMovedOut = ref$1.hasMovedOut;
75
+ if (!hasMovedOut && value) {
76
+ parentNode.replaceChild(home, el);
77
+ getTarget(value).appendChild(el);
78
+ el.__transferDomData = _extends({}, el.__transferDomData, {
79
+ hasMovedOut: true,
80
+ target: getTarget(value)
81
+ });
82
+ } else if (hasMovedOut && value === false) {
83
+ parentNode.replaceChild(el, home);
84
+ el.__transferDomData = _extends({}, el.__transferDomData, {
85
+ hasMovedOut: false,
86
+ target: getTarget(value)
87
+ });
88
+ } else if (value) {
89
+ getTarget(value).appendChild(el);
90
+ }
91
+ },
92
+ unbind: function unbind(el) {
93
+ if (el.dataset.transfer !== 'true') {
94
+ return false;
95
+ }
96
+ el.className = el.className.replace('v-transfer-dom', '');
97
+ var ref$1 = el.__transferDomData;
98
+ if (!ref$1) {
99
+ return;
100
+ }
101
+ if (el.__transferDomData.hasMovedOut === true) {
102
+ el.__transferDomData.parentNode && el.__transferDomData.parentNode.appendChild(el);
103
+ }
104
+ el.__transferDomData = null;
105
+ }
106
+ };
107
+ transferDom.install = function (Vue) {
108
+ Vue.directive('bk-transfer-dom', transferDom);
109
+ };
110
+
111
+ function createCommonjsModule(fn, module) {
112
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
113
+ }
114
+
115
+ var _global = createCommonjsModule(function (module) {
116
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
117
+ ? window : typeof self != 'undefined' && self.Math == Math ? self
118
+ : Function('return this')();
119
+ if (typeof __g == 'number') __g = global;
120
+ });
121
+
122
+ var _core = createCommonjsModule(function (module) {
123
+ var core = module.exports = { version: '2.6.12' };
124
+ if (typeof __e == 'number') __e = core;
125
+ });
126
+ var _core_1 = _core.version;
127
+
128
+ var _aFunction = function (it) {
129
+ if (typeof it != 'function') throw TypeError(it + ' is not a function!');
130
+ return it;
131
+ };
132
+
133
+ var _ctx = function (fn, that, length) {
134
+ _aFunction(fn);
135
+ if (that === undefined) return fn;
136
+ switch (length) {
137
+ case 1: return function (a) {
138
+ return fn.call(that, a);
139
+ };
140
+ case 2: return function (a, b) {
141
+ return fn.call(that, a, b);
142
+ };
143
+ case 3: return function (a, b, c) {
144
+ return fn.call(that, a, b, c);
145
+ };
146
+ }
147
+ return function () {
148
+ return fn.apply(that, arguments);
149
+ };
150
+ };
151
+
152
+ var _isObject = function (it) {
153
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
154
+ };
155
+
156
+ var _anObject = function (it) {
157
+ if (!_isObject(it)) throw TypeError(it + ' is not an object!');
158
+ return it;
159
+ };
160
+
161
+ var _fails = function (exec) {
162
+ try {
163
+ return !!exec();
164
+ } catch (e) {
165
+ return true;
166
+ }
167
+ };
168
+
169
+ var _descriptors = !_fails(function () {
170
+ return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
171
+ });
172
+
173
+ var document$1 = _global.document;
174
+ var is = _isObject(document$1) && _isObject(document$1.createElement);
175
+ var _domCreate = function (it) {
176
+ return is ? document$1.createElement(it) : {};
177
+ };
178
+
179
+ var _ie8DomDefine = !_descriptors && !_fails(function () {
180
+ return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
181
+ });
182
+
183
+ var _toPrimitive = function (it, S) {
184
+ if (!_isObject(it)) return it;
185
+ var fn, val;
186
+ if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
187
+ if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
188
+ if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
189
+ throw TypeError("Can't convert object to primitive value");
190
+ };
191
+
192
+ var dP = Object.defineProperty;
193
+ var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
194
+ _anObject(O);
195
+ P = _toPrimitive(P, true);
196
+ _anObject(Attributes);
197
+ if (_ie8DomDefine) try {
198
+ return dP(O, P, Attributes);
199
+ } catch (e) { }
200
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
201
+ if ('value' in Attributes) O[P] = Attributes.value;
202
+ return O;
203
+ };
204
+ var _objectDp = {
205
+ f: f
206
+ };
207
+
208
+ var _propertyDesc = function (bitmap, value) {
209
+ return {
210
+ enumerable: !(bitmap & 1),
211
+ configurable: !(bitmap & 2),
212
+ writable: !(bitmap & 4),
213
+ value: value
214
+ };
215
+ };
216
+
217
+ var _hide = _descriptors ? function (object, key, value) {
218
+ return _objectDp.f(object, key, _propertyDesc(1, value));
219
+ } : function (object, key, value) {
220
+ object[key] = value;
221
+ return object;
222
+ };
223
+
224
+ var hasOwnProperty = {}.hasOwnProperty;
225
+ var _has = function (it, key) {
226
+ return hasOwnProperty.call(it, key);
227
+ };
228
+
229
+ var PROTOTYPE = 'prototype';
230
+ var $export = function (type, name, source) {
231
+ var IS_FORCED = type & $export.F;
232
+ var IS_GLOBAL = type & $export.G;
233
+ var IS_STATIC = type & $export.S;
234
+ var IS_PROTO = type & $export.P;
235
+ var IS_BIND = type & $export.B;
236
+ var IS_WRAP = type & $export.W;
237
+ var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
238
+ var expProto = exports[PROTOTYPE];
239
+ var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
240
+ var key, own, out;
241
+ if (IS_GLOBAL) source = name;
242
+ for (key in source) {
243
+ own = !IS_FORCED && target && target[key] !== undefined;
244
+ if (own && _has(exports, key)) continue;
245
+ out = own ? target[key] : source[key];
246
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
247
+ : IS_BIND && own ? _ctx(out, _global)
248
+ : IS_WRAP && target[key] == out ? (function (C) {
249
+ var F = function (a, b, c) {
250
+ if (this instanceof C) {
251
+ switch (arguments.length) {
252
+ case 0: return new C();
253
+ case 1: return new C(a);
254
+ case 2: return new C(a, b);
255
+ } return new C(a, b, c);
256
+ } return C.apply(this, arguments);
257
+ };
258
+ F[PROTOTYPE] = C[PROTOTYPE];
259
+ return F;
260
+ })(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
261
+ if (IS_PROTO) {
262
+ (exports.virtual || (exports.virtual = {}))[key] = out;
263
+ if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
264
+ }
265
+ }
266
+ };
267
+ $export.F = 1;
268
+ $export.G = 2;
269
+ $export.S = 4;
270
+ $export.P = 8;
271
+ $export.B = 16;
272
+ $export.W = 32;
273
+ $export.U = 64;
274
+ $export.R = 128;
275
+ var _export = $export;
276
+
277
+ _export(_export.S + _export.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
278
+
279
+ var $Object = _core.Object;
280
+ var defineProperty = function defineProperty(it, key, desc) {
281
+ return $Object.defineProperty(it, key, desc);
282
+ };
283
+
284
+ var defineProperty$1 = defineProperty;
285
+
286
+ var hasInitZIndex = false;
287
+ var zIndex;
288
+ (function () {
289
+ if (!window['__bk_zIndex_manager']) {
290
+ var zIndexManager = {
291
+ nextZIndex: function nextZIndex() {
292
+ var zIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'default';
293
+ return zIndex === 'default' ? zIndexManager.zIndex++ : zIndex;
294
+ },
295
+ nextTickIndex: function nextTickIndex() {
296
+ var tick = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
297
+ var zIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
298
+ if (zIndex === 'default') {
299
+ zIndexManager.zIndex += tick;
300
+ return zIndexManager.zIndex;
301
+ }
302
+ return zIndex;
303
+ }
304
+ };
305
+ defineProperty$1(zIndexManager, 'zIndex', {
306
+ configurable: true,
307
+ get: function get() {
308
+ if (!hasInitZIndex) {
309
+ zIndex = zIndex || (Vue.prototype.$BK_EL || {}).zIndex || 2000;
310
+ hasInitZIndex = true;
311
+ }
312
+ return zIndex;
313
+ },
314
+ set: function set(value) {
315
+ zIndex = value;
316
+ }
317
+ });
318
+ window['__bk_zIndex_manager'] = zIndexManager;
319
+ }
320
+ })();
321
+ var zIndexManager = window['__bk_zIndex_manager'];
322
+
323
+ var zIndex$1 = {
324
+ props: {
325
+ zIndex: {
326
+ type: [Number, String],
327
+ default: 'default'
328
+ }
329
+ },
330
+ methods: {
331
+ getLocalZIndex: function getLocalZIndex(zIndex) {
332
+ return zIndexManager.nextTickIndex(2, zIndex);
333
+ }
334
+ }
335
+ };
6
336
 
7
337
  var script = {
8
338
  name: 'bk-zoom-image',
339
+ directives: {
340
+ transferDom: transferDom
341
+ },
342
+ mixins: [zIndex$1],
9
343
  props: {
10
344
  src: String,
11
- extCls: String
345
+ extCls: String,
346
+ zIndex: {
347
+ type: Number,
348
+ default: 2000
349
+ },
350
+ transfer: {
351
+ type: Boolean,
352
+ default: true
353
+ }
12
354
  },
13
355
  data: function data() {
14
356
  return {
@@ -21,7 +363,8 @@
21
363
  width: 0,
22
364
  height: 0,
23
365
  top: 0,
24
- left: 0
366
+ left: 0,
367
+ popIndex: 0
25
368
  };
26
369
  },
27
370
  watch: {
@@ -36,6 +379,10 @@
36
379
  }
37
380
  },
38
381
  methods: {
382
+ showImg: function showImg() {
383
+ this.imgSrc = this.src;
384
+ this.popIndex = this.transfer ? this.getLocalZIndex() : this.zIndex;
385
+ },
39
386
  startChange: function startChange(event) {
40
387
  if (!this.isInit) return;
41
388
  this.top = event.clientY - event.offsetY;
@@ -157,16 +504,31 @@
157
504
  "src": _vm.src
158
505
  },
159
506
  on: {
160
- "click": function click($event) {
161
- _vm.imgSrc = _vm.src;
162
- }
507
+ "click": _vm.showImg
163
508
  }
164
509
  }), _c('transition', {
165
510
  attrs: {
166
511
  "name": "fade"
167
512
  }
513
+ }, [_c('div', {
514
+ directives: [{
515
+ name: "transfer-dom",
516
+ rawName: "v-transfer-dom"
517
+ }],
518
+ staticClass: "bk-zoom-image",
519
+ staticStyle: {
520
+ "position": "absolute",
521
+ "top": "-100000px",
522
+ "left": "-100000px"
523
+ },
524
+ attrs: {
525
+ "data-transfer": _vm.transfer
526
+ }
168
527
  }, [_vm.imgSrc ? _c('section', {
169
528
  staticClass: "bk-full-screen",
529
+ style: {
530
+ zIndex: _vm.popIndex
531
+ },
170
532
  on: {
171
533
  "mousemove": _vm.mouseMove,
172
534
  "mouseup": _vm.mouseUp
@@ -196,7 +558,7 @@
196
558
  },
197
559
  "mousedown": _vm.mouseDown
198
560
  }
199
- })]) : _vm._e()])], 1);
561
+ })]) : _vm._e()])])], 1);
200
562
  };
201
563
 
202
564
  var __vue_staticRenderFns__ = [];
@@ -232,11 +594,6 @@
232
594
  return Object(_defined(it));
233
595
  };
234
596
 
235
- var hasOwnProperty = {}.hasOwnProperty;
236
- var _has = function (it, key) {
237
- return hasOwnProperty.call(it, key);
238
- };
239
-
240
597
  var toString = {}.toString;
241
598
  var _cof = function (it) {
242
599
  return toString.call(it).slice(8, -1);
@@ -283,23 +640,6 @@
283
640
  };
284
641
  };
285
642
 
286
- function createCommonjsModule(fn, module) {
287
- return module = { exports: {} }, fn(module, module.exports), module.exports;
288
- }
289
-
290
- var _core = createCommonjsModule(function (module) {
291
- var core = module.exports = { version: '2.6.12' };
292
- if (typeof __e == 'number') __e = core;
293
- });
294
- var _core_1 = _core.version;
295
-
296
- var _global = createCommonjsModule(function (module) {
297
- var global = module.exports = typeof window != 'undefined' && window.Math == Math
298
- ? window : typeof self != 'undefined' && self.Math == Math ? self
299
- : Function('return this')();
300
- if (typeof __g == 'number') __g = global;
301
- });
302
-
303
643
  var _shared = createCommonjsModule(function (module) {
304
644
  var SHARED = '__core-js_shared__';
305
645
  var store = _global[SHARED] || (_global[SHARED] = {});
@@ -345,150 +685,6 @@
345
685
  return _objectKeysInternal(O, _enumBugKeys);
346
686
  };
347
687
 
348
- var _aFunction = function (it) {
349
- if (typeof it != 'function') throw TypeError(it + ' is not a function!');
350
- return it;
351
- };
352
-
353
- var _ctx = function (fn, that, length) {
354
- _aFunction(fn);
355
- if (that === undefined) return fn;
356
- switch (length) {
357
- case 1: return function (a) {
358
- return fn.call(that, a);
359
- };
360
- case 2: return function (a, b) {
361
- return fn.call(that, a, b);
362
- };
363
- case 3: return function (a, b, c) {
364
- return fn.call(that, a, b, c);
365
- };
366
- }
367
- return function () {
368
- return fn.apply(that, arguments);
369
- };
370
- };
371
-
372
- var _isObject = function (it) {
373
- return typeof it === 'object' ? it !== null : typeof it === 'function';
374
- };
375
-
376
- var _anObject = function (it) {
377
- if (!_isObject(it)) throw TypeError(it + ' is not an object!');
378
- return it;
379
- };
380
-
381
- var _fails = function (exec) {
382
- try {
383
- return !!exec();
384
- } catch (e) {
385
- return true;
386
- }
387
- };
388
-
389
- var _descriptors = !_fails(function () {
390
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
391
- });
392
-
393
- var document = _global.document;
394
- var is = _isObject(document) && _isObject(document.createElement);
395
- var _domCreate = function (it) {
396
- return is ? document.createElement(it) : {};
397
- };
398
-
399
- var _ie8DomDefine = !_descriptors && !_fails(function () {
400
- return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
401
- });
402
-
403
- var _toPrimitive = function (it, S) {
404
- if (!_isObject(it)) return it;
405
- var fn, val;
406
- if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
407
- if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
408
- if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
409
- throw TypeError("Can't convert object to primitive value");
410
- };
411
-
412
- var dP = Object.defineProperty;
413
- var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
414
- _anObject(O);
415
- P = _toPrimitive(P, true);
416
- _anObject(Attributes);
417
- if (_ie8DomDefine) try {
418
- return dP(O, P, Attributes);
419
- } catch (e) { }
420
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
421
- if ('value' in Attributes) O[P] = Attributes.value;
422
- return O;
423
- };
424
- var _objectDp = {
425
- f: f
426
- };
427
-
428
- var _propertyDesc = function (bitmap, value) {
429
- return {
430
- enumerable: !(bitmap & 1),
431
- configurable: !(bitmap & 2),
432
- writable: !(bitmap & 4),
433
- value: value
434
- };
435
- };
436
-
437
- var _hide = _descriptors ? function (object, key, value) {
438
- return _objectDp.f(object, key, _propertyDesc(1, value));
439
- } : function (object, key, value) {
440
- object[key] = value;
441
- return object;
442
- };
443
-
444
- var PROTOTYPE = 'prototype';
445
- var $export = function (type, name, source) {
446
- var IS_FORCED = type & $export.F;
447
- var IS_GLOBAL = type & $export.G;
448
- var IS_STATIC = type & $export.S;
449
- var IS_PROTO = type & $export.P;
450
- var IS_BIND = type & $export.B;
451
- var IS_WRAP = type & $export.W;
452
- var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
453
- var expProto = exports[PROTOTYPE];
454
- var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
455
- var key, own, out;
456
- if (IS_GLOBAL) source = name;
457
- for (key in source) {
458
- own = !IS_FORCED && target && target[key] !== undefined;
459
- if (own && _has(exports, key)) continue;
460
- out = own ? target[key] : source[key];
461
- exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
462
- : IS_BIND && own ? _ctx(out, _global)
463
- : IS_WRAP && target[key] == out ? (function (C) {
464
- var F = function (a, b, c) {
465
- if (this instanceof C) {
466
- switch (arguments.length) {
467
- case 0: return new C();
468
- case 1: return new C(a);
469
- case 2: return new C(a, b);
470
- } return new C(a, b, c);
471
- } return C.apply(this, arguments);
472
- };
473
- F[PROTOTYPE] = C[PROTOTYPE];
474
- return F;
475
- })(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
476
- if (IS_PROTO) {
477
- (exports.virtual || (exports.virtual = {}))[key] = out;
478
- if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
479
- }
480
- }
481
- };
482
- $export.F = 1;
483
- $export.G = 2;
484
- $export.S = 4;
485
- $export.P = 8;
486
- $export.B = 16;
487
- $export.W = 32;
488
- $export.U = 64;
489
- $export.R = 128;
490
- var _export = $export;
491
-
492
688
  var _objectSap = function (KEY, exec) {
493
689
  var fn = (_core.Object || {})[KEY] || Object[KEY];
494
690
  var exp = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bk-magic-vue",
3
- "version": "2.4.8",
3
+ "version": "2.4.9",
4
4
  "description": "基于蓝鲸 Magicbox 和 Vue 的前端组件库",
5
5
  "main": "dist/bk-magic-vue.min.js",
6
6
  "files": [
@@ -58,7 +58,7 @@
58
58
  "@babel/register": "~7.4.4",
59
59
  "@babel/runtime": "~7.4.5",
60
60
  "@babel/runtime-corejs2": "~7.4.5",
61
- "@blueking/magicbox-header": "^1.1.47",
61
+ "@blueking/magicbox-header": "^1.1.48",
62
62
  "@commitlint/cli": "^11.0.0",
63
63
  "@commitlint/config-conventional": "^11.0.0",
64
64
  "@vue/babel-helper-vue-jsx-merge-props": "~1.0.0",