bk-magic-vue 2.4.0 → 2.4.1

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 (84) hide show
  1. package/dist/bk-magic-vue.css +113 -24
  2. package/dist/bk-magic-vue.js +1091 -839
  3. package/dist/bk-magic-vue.min.css +1 -1
  4. package/dist/bk-magic-vue.min.css.gz +0 -0
  5. package/dist/bk-magic-vue.min.css.map +1 -1
  6. package/dist/bk-magic-vue.min.js +1 -1
  7. package/dist/bk-magic-vue.min.js.gz +0 -0
  8. package/dist/bk-magic-vue.min.js.map +1 -1
  9. package/lib/alert.js +472 -472
  10. package/lib/back-top.js +1 -1
  11. package/lib/big-tree.js +3 -3
  12. package/lib/breadcrumb-item.js +426 -426
  13. package/lib/breadcrumb.js +438 -438
  14. package/lib/button.js +509 -509
  15. package/lib/cascade.js +36 -2
  16. package/lib/checkbox-group.js +16 -9
  17. package/lib/checkbox.js +9 -1
  18. package/lib/container.js +454 -454
  19. package/lib/date-picker.js +5 -8
  20. package/lib/dialog.js +8 -9
  21. package/lib/directives/clickoutside.js +61 -61
  22. package/lib/directives/copy.js +51 -51
  23. package/lib/divider.js +446 -446
  24. package/lib/dropdown-menu.js +1747 -1747
  25. package/lib/form-item.js +1 -1
  26. package/lib/image-viewer.js +67 -2
  27. package/lib/image.js +73 -3
  28. package/lib/info-box.js +8 -9
  29. package/lib/link.js +430 -430
  30. package/lib/locale/lang/en-US.js +153 -143
  31. package/lib/locale/lang/zh-CN.js +151 -143
  32. package/lib/message.js +1 -1
  33. package/lib/mixins/emitter.js +18 -18
  34. package/lib/navigation-menu-group.js +412 -412
  35. package/lib/navigation-menu-item.js +722 -722
  36. package/lib/navigation.js +668 -668
  37. package/lib/notify.js +1 -1
  38. package/lib/option-group.js +9 -1
  39. package/lib/option.js +1 -1
  40. package/lib/pagination.js +13 -13
  41. package/lib/process.js +233 -51
  42. package/lib/progress.js +499 -499
  43. package/lib/radio-button.js +541 -541
  44. package/lib/radio.js +555 -555
  45. package/lib/rate.js +607 -607
  46. package/lib/round-progress.js +502 -502
  47. package/lib/search-select.js +5 -5
  48. package/lib/select.js +6 -6
  49. package/lib/sideslider.js +1 -1
  50. package/lib/slider.js +5 -5
  51. package/lib/spin.js +500 -500
  52. package/lib/star.js +496 -496
  53. package/lib/steps.js +3 -3
  54. package/lib/switcher.js +538 -538
  55. package/lib/tab-panel.js +456 -456
  56. package/lib/table-setting-content.js +35 -20
  57. package/lib/table.js +764 -575
  58. package/lib/tag.js +459 -459
  59. package/lib/time-picker.js +2 -2
  60. package/lib/transfer.js +6 -6
  61. package/lib/ui/bk-magic-vue.css +113 -24
  62. package/lib/ui/bk-magic-vue.min.css +1 -1
  63. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  64. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  65. package/lib/ui/image-viewer.css +38 -17
  66. package/lib/ui/image-viewer.min.css +1 -1
  67. package/lib/ui/image-viewer.min.css.map +1 -1
  68. package/lib/ui/process.css +76 -0
  69. package/lib/ui/process.min.css +1 -1
  70. package/lib/ui/process.min.css.map +1 -1
  71. package/lib/ui/slider.css +4 -2
  72. package/lib/ui/slider.min.css +1 -1
  73. package/lib/ui/slider.min.css.map +1 -1
  74. package/lib/ui/spin.css +5 -1
  75. package/lib/ui/spin.min.css +1 -1
  76. package/lib/ui/spin.min.css.map +1 -1
  77. package/lib/ui/table.css +16 -5
  78. package/lib/ui/table.min.css +1 -1
  79. package/lib/ui/table.min.css.map +1 -1
  80. package/lib/upload.js +2 -2
  81. package/lib/version-detail.js +9 -10
  82. package/lib/virtual-scroll.js +805 -805
  83. package/lib/zoom-image.js +502 -502
  84. package/package.json +1 -1
package/lib/tag.js CHANGED
@@ -1,494 +1,494 @@
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 = {}));
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
5
  }(this, function (exports) { 'use strict';
6
6
 
7
- var script = {
8
- name: 'bk-tag',
9
- props: {
10
- icon: {
11
- type: String,
12
- default: ''
13
- },
14
- closable: {
15
- type: Boolean,
16
- default: false
17
- },
18
- theme: {
19
- type: String,
20
- default: ''
21
- },
22
- type: {
23
- type: String,
24
- default: ''
25
- },
26
- checkable: {
27
- type: Boolean,
28
- default: false
29
- },
30
- checked: {
31
- type: Boolean,
32
- default: false
33
- },
34
- radius: {
35
- type: String,
36
- default: '2px'
37
- },
38
- extCls: {
39
- type: String,
40
- default: ''
41
- }
7
+ var script = {
8
+ name: 'bk-tag',
9
+ props: {
10
+ icon: {
11
+ type: String,
12
+ default: ''
42
13
  },
43
- data: function data() {
44
- return {};
14
+ closable: {
15
+ type: Boolean,
16
+ default: false
45
17
  },
46
- computed: {
47
- classes: function classes() {
48
- return ['bk-tag', this.closable ? "bk-tag-closable" : '', this.type ? "bk-tag-".concat(this.type) : '', this.theme ? "bk-tag-".concat(this.theme) : '', this.checkable ? "bk-tag-checkable" : '', this.checked ? "bk-tag-check" : '', this.extCls];
49
- },
50
- style: function style() {
51
- return {
52
- 'border-radius': this.radius
53
- };
54
- }
18
+ theme: {
19
+ type: String,
20
+ default: ''
55
21
  },
56
- watch: {},
57
- methods: {
58
- handleClose: function handleClose(e) {
59
- e.stopPropagation();
60
- this.$emit('close', e);
61
- },
62
- handleClick: function handleClick(e) {
63
- if (this.checkable) {
64
- this.$emit('change', !this.checked);
65
- }
66
- }
67
- }
68
- };
69
-
70
- function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
71
- , shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
72
- if (typeof shadowMode !== 'boolean') {
73
- createInjectorSSR = createInjector;
74
- createInjector = shadowMode;
75
- shadowMode = false;
76
- }
77
- var options = typeof script === 'function' ? script.options : script;
78
- if (template && template.render) {
79
- options.render = template.render;
80
- options.staticRenderFns = template.staticRenderFns;
81
- options._compiled = true;
82
- if (isFunctionalTemplate) {
83
- options.functional = true;
84
- }
85
- }
86
- if (scopeId) {
87
- options._scopeId = scopeId;
22
+ type: {
23
+ type: String,
24
+ default: ''
25
+ },
26
+ checkable: {
27
+ type: Boolean,
28
+ default: false
29
+ },
30
+ checked: {
31
+ type: Boolean,
32
+ default: false
33
+ },
34
+ radius: {
35
+ type: String,
36
+ default: '2px'
37
+ },
38
+ extCls: {
39
+ type: String,
40
+ default: ''
88
41
  }
89
- var hook;
90
- if (moduleIdentifier) {
91
- hook = function hook(context) {
92
- context = context ||
93
- this.$vnode && this.$vnode.ssrContext ||
94
- this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
95
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
96
- context = __VUE_SSR_CONTEXT__;
97
- }
98
- if (style) {
99
- style.call(this, createInjectorSSR(context));
100
- }
101
- if (context && context._registeredComponents) {
102
- context._registeredComponents.add(moduleIdentifier);
103
- }
104
- };
105
- options._ssrRegister = hook;
106
- } else if (style) {
107
- hook = shadowMode ? function () {
108
- style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
109
- } : function (context) {
110
- style.call(this, createInjector(context));
42
+ },
43
+ data: function data() {
44
+ return {};
45
+ },
46
+ computed: {
47
+ classes: function classes() {
48
+ return ['bk-tag', this.closable ? "bk-tag-closable" : '', this.type ? "bk-tag-".concat(this.type) : '', this.theme ? "bk-tag-".concat(this.theme) : '', this.checkable ? "bk-tag-checkable" : '', this.checked ? "bk-tag-check" : '', this.extCls];
49
+ },
50
+ style: function style() {
51
+ return {
52
+ 'border-radius': this.radius
111
53
  };
112
54
  }
113
- if (hook) {
114
- if (options.functional) {
115
- var originalRender = options.render;
116
- options.render = function renderWithStyleInjection(h, context) {
117
- hook.call(context);
118
- return originalRender(h, context);
119
- };
120
- } else {
121
- var existing = options.beforeCreate;
122
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
55
+ },
56
+ watch: {},
57
+ methods: {
58
+ handleClose: function handleClose(e) {
59
+ e.stopPropagation();
60
+ this.$emit('close', e);
61
+ },
62
+ handleClick: function handleClick(e) {
63
+ if (this.checkable) {
64
+ this.$emit('change', !this.checked);
123
65
  }
124
66
  }
125
- return script;
126
67
  }
127
- var normalizeComponent_1 = normalizeComponent;
128
-
129
- /* script */
130
- var __vue_script__ = script;
131
- /* template */
132
-
133
- var __vue_render__ = function __vue_render__() {
134
- var _vm = this;
135
-
136
- var _h = _vm.$createElement;
137
-
138
- var _c = _vm._self._c || _h;
139
-
140
- return _c('section', {
141
- class: _vm.classes,
142
- style: _vm.style,
143
- on: {
144
- "click": _vm.handleClick
68
+ };
69
+
70
+ function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
71
+ , shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
72
+ if (typeof shadowMode !== 'boolean') {
73
+ createInjectorSSR = createInjector;
74
+ createInjector = shadowMode;
75
+ shadowMode = false;
76
+ }
77
+ var options = typeof script === 'function' ? script.options : script;
78
+ if (template && template.render) {
79
+ options.render = template.render;
80
+ options.staticRenderFns = template.staticRenderFns;
81
+ options._compiled = true;
82
+ if (isFunctionalTemplate) {
83
+ options.functional = true;
84
+ }
85
+ }
86
+ if (scopeId) {
87
+ options._scopeId = scopeId;
88
+ }
89
+ var hook;
90
+ if (moduleIdentifier) {
91
+ hook = function hook(context) {
92
+ context = context ||
93
+ this.$vnode && this.$vnode.ssrContext ||
94
+ this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
95
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
96
+ context = __VUE_SSR_CONTEXT__;
145
97
  }
146
- }, [_vm.icon ? _c('i', {
147
- class: "bk-icon bk-tag-icon " + _vm.icon
148
- }) : _vm._e(), _c('span', [_vm._t("default")], 2), _vm.closable ? _c('i', {
149
- staticClass: "bk-icon icon-close bk-tag-close",
150
- on: {
151
- "click": function click($event) {
152
- $event.stopPropagation();
153
- return _vm.handleClose($event);
154
- }
98
+ if (style) {
99
+ style.call(this, createInjectorSSR(context));
100
+ }
101
+ if (context && context._registeredComponents) {
102
+ context._registeredComponents.add(moduleIdentifier);
155
103
  }
156
- }) : _vm._e()]);
157
- };
158
-
159
- var __vue_staticRenderFns__ = [];
160
- /* style */
161
-
162
- var __vue_inject_styles__ = undefined;
163
- /* scoped */
164
-
165
- var __vue_scope_id__ = undefined;
166
- /* module identifier */
167
-
168
- var __vue_module_identifier__ = undefined;
169
- /* functional template */
170
-
171
- var __vue_is_functional_template__ = false;
172
- /* style inject */
173
-
174
- /* style inject SSR */
175
-
176
- /* style inject shadow dom */
177
-
178
- var __vue_component__ = /*#__PURE__*/normalizeComponent_1({
179
- render: __vue_render__,
180
- staticRenderFns: __vue_staticRenderFns__
181
- }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
182
-
183
- var _defined = function (it) {
184
- if (it == undefined) throw TypeError("Can't call method on " + it);
185
- return it;
186
- };
187
-
188
- var _toObject = function (it) {
189
- return Object(_defined(it));
190
- };
191
-
192
- var hasOwnProperty = {}.hasOwnProperty;
193
- var _has = function (it, key) {
194
- return hasOwnProperty.call(it, key);
195
- };
196
-
197
- var toString = {}.toString;
198
- var _cof = function (it) {
199
- return toString.call(it).slice(8, -1);
200
- };
201
-
202
- var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
203
- return _cof(it) == 'String' ? it.split('') : Object(it);
204
- };
205
-
206
- var _toIobject = function (it) {
207
- return _iobject(_defined(it));
208
- };
209
-
210
- var ceil = Math.ceil;
211
- var floor = Math.floor;
212
- var _toInteger = function (it) {
213
- return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
214
- };
215
-
216
- var min = Math.min;
217
- var _toLength = function (it) {
218
- return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0;
219
- };
220
-
221
- var max = Math.max;
222
- var min$1 = Math.min;
223
- var _toAbsoluteIndex = function (index, length) {
224
- index = _toInteger(index);
225
- return index < 0 ? max(index + length, 0) : min$1(index, length);
226
- };
227
-
228
- var _arrayIncludes = function (IS_INCLUDES) {
229
- return function ($this, el, fromIndex) {
230
- var O = _toIobject($this);
231
- var length = _toLength(O.length);
232
- var index = _toAbsoluteIndex(fromIndex, length);
233
- var value;
234
- if (IS_INCLUDES && el != el) while (length > index) {
235
- value = O[index++];
236
- if (value != value) return true;
237
- } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
238
- if (O[index] === el) return IS_INCLUDES || index || 0;
239
- } return !IS_INCLUDES && -1;
240
104
  };
241
- };
242
-
243
- function createCommonjsModule(fn, module) {
244
- return module = { exports: {} }, fn(module, module.exports), module.exports;
105
+ options._ssrRegister = hook;
106
+ } else if (style) {
107
+ hook = shadowMode ? function () {
108
+ style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
109
+ } : function (context) {
110
+ style.call(this, createInjector(context));
111
+ };
245
112
  }
246
-
247
- var _core = createCommonjsModule(function (module) {
248
- var core = module.exports = { version: '2.6.12' };
249
- if (typeof __e == 'number') __e = core;
250
- });
251
- var _core_1 = _core.version;
252
-
253
- var _global = createCommonjsModule(function (module) {
254
- var global = module.exports = typeof window != 'undefined' && window.Math == Math
255
- ? window : typeof self != 'undefined' && self.Math == Math ? self
256
- : Function('return this')();
257
- if (typeof __g == 'number') __g = global;
258
- });
259
-
260
- var _shared = createCommonjsModule(function (module) {
261
- var SHARED = '__core-js_shared__';
262
- var store = _global[SHARED] || (_global[SHARED] = {});
263
- (module.exports = function (key, value) {
264
- return store[key] || (store[key] = value !== undefined ? value : {});
265
- })('versions', []).push({
266
- version: _core.version,
267
- mode: 'pure' ,
268
- copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
269
- });
270
- });
271
-
272
- var id = 0;
273
- var px = Math.random();
274
- var _uid = function (key) {
275
- return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
276
- };
277
-
278
- var shared = _shared('keys');
279
- var _sharedKey = function (key) {
280
- return shared[key] || (shared[key] = _uid(key));
281
- };
282
-
283
- var arrayIndexOf = _arrayIncludes(false);
284
- var IE_PROTO = _sharedKey('IE_PROTO');
285
- var _objectKeysInternal = function (object, names) {
286
- var O = _toIobject(object);
287
- var i = 0;
288
- var result = [];
289
- var key;
290
- for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
291
- while (names.length > i) if (_has(O, key = names[i++])) {
292
- ~arrayIndexOf(result, key) || result.push(key);
293
- }
294
- return result;
295
- };
296
-
297
- var _enumBugKeys = (
298
- 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
299
- ).split(',');
300
-
301
- var _objectKeys = Object.keys || function keys(O) {
302
- return _objectKeysInternal(O, _enumBugKeys);
303
- };
304
-
305
- var _aFunction = function (it) {
306
- if (typeof it != 'function') throw TypeError(it + ' is not a function!');
307
- return it;
308
- };
309
-
310
- var _ctx = function (fn, that, length) {
311
- _aFunction(fn);
312
- if (that === undefined) return fn;
313
- switch (length) {
314
- case 1: return function (a) {
315
- return fn.call(that, a);
316
- };
317
- case 2: return function (a, b) {
318
- return fn.call(that, a, b);
319
- };
320
- case 3: return function (a, b, c) {
321
- return fn.call(that, a, b, c);
113
+ if (hook) {
114
+ if (options.functional) {
115
+ var originalRender = options.render;
116
+ options.render = function renderWithStyleInjection(h, context) {
117
+ hook.call(context);
118
+ return originalRender(h, context);
322
119
  };
120
+ } else {
121
+ var existing = options.beforeCreate;
122
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
323
123
  }
324
- return function () {
325
- return fn.apply(that, arguments);
326
- };
327
- };
328
-
329
- var _isObject = function (it) {
330
- return typeof it === 'object' ? it !== null : typeof it === 'function';
331
- };
332
-
333
- var _anObject = function (it) {
334
- if (!_isObject(it)) throw TypeError(it + ' is not an object!');
335
- return it;
336
- };
124
+ }
125
+ return script;
126
+ }
127
+ var normalizeComponent_1 = normalizeComponent;
337
128
 
338
- var _fails = function (exec) {
339
- try {
340
- return !!exec();
341
- } catch (e) {
342
- return true;
343
- }
344
- };
129
+ /* script */
130
+ var __vue_script__ = script;
131
+ /* template */
345
132
 
346
- var _descriptors = !_fails(function () {
347
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
348
- });
133
+ var __vue_render__ = function __vue_render__() {
134
+ var _vm = this;
349
135
 
350
- var document = _global.document;
351
- var is = _isObject(document) && _isObject(document.createElement);
352
- var _domCreate = function (it) {
353
- return is ? document.createElement(it) : {};
354
- };
136
+ var _h = _vm.$createElement;
355
137
 
356
- var _ie8DomDefine = !_descriptors && !_fails(function () {
357
- return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
358
- });
359
-
360
- var _toPrimitive = function (it, S) {
361
- if (!_isObject(it)) return it;
362
- var fn, val;
363
- if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
364
- if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
365
- if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
366
- throw TypeError("Can't convert object to primitive value");
367
- };
138
+ var _c = _vm._self._c || _h;
368
139
 
369
- var dP = Object.defineProperty;
370
- var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
371
- _anObject(O);
372
- P = _toPrimitive(P, true);
373
- _anObject(Attributes);
374
- if (_ie8DomDefine) try {
375
- return dP(O, P, Attributes);
376
- } catch (e) { }
377
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
378
- if ('value' in Attributes) O[P] = Attributes.value;
379
- return O;
380
- };
381
- var _objectDp = {
382
- f: f
140
+ return _c('section', {
141
+ class: _vm.classes,
142
+ style: _vm.style,
143
+ on: {
144
+ "click": _vm.handleClick
145
+ }
146
+ }, [_vm.icon ? _c('i', {
147
+ class: "bk-icon bk-tag-icon " + _vm.icon
148
+ }) : _vm._e(), _c('span', [_vm._t("default")], 2), _vm.closable ? _c('i', {
149
+ staticClass: "bk-icon icon-close bk-tag-close",
150
+ on: {
151
+ "click": function click($event) {
152
+ $event.stopPropagation();
153
+ return _vm.handleClose($event);
154
+ }
155
+ }
156
+ }) : _vm._e()]);
157
+ };
158
+
159
+ var __vue_staticRenderFns__ = [];
160
+ /* style */
161
+
162
+ var __vue_inject_styles__ = undefined;
163
+ /* scoped */
164
+
165
+ var __vue_scope_id__ = undefined;
166
+ /* module identifier */
167
+
168
+ var __vue_module_identifier__ = undefined;
169
+ /* functional template */
170
+
171
+ var __vue_is_functional_template__ = false;
172
+ /* style inject */
173
+
174
+ /* style inject SSR */
175
+
176
+ /* style inject shadow dom */
177
+
178
+ var __vue_component__ = /*#__PURE__*/normalizeComponent_1({
179
+ render: __vue_render__,
180
+ staticRenderFns: __vue_staticRenderFns__
181
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
182
+
183
+ var _defined = function (it) {
184
+ if (it == undefined) throw TypeError("Can't call method on " + it);
185
+ return it;
186
+ };
187
+
188
+ var _toObject = function (it) {
189
+ return Object(_defined(it));
190
+ };
191
+
192
+ var hasOwnProperty = {}.hasOwnProperty;
193
+ var _has = function (it, key) {
194
+ return hasOwnProperty.call(it, key);
195
+ };
196
+
197
+ var toString = {}.toString;
198
+ var _cof = function (it) {
199
+ return toString.call(it).slice(8, -1);
200
+ };
201
+
202
+ var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
203
+ return _cof(it) == 'String' ? it.split('') : Object(it);
204
+ };
205
+
206
+ var _toIobject = function (it) {
207
+ return _iobject(_defined(it));
208
+ };
209
+
210
+ var ceil = Math.ceil;
211
+ var floor = Math.floor;
212
+ var _toInteger = function (it) {
213
+ return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
214
+ };
215
+
216
+ var min = Math.min;
217
+ var _toLength = function (it) {
218
+ return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0;
219
+ };
220
+
221
+ var max = Math.max;
222
+ var min$1 = Math.min;
223
+ var _toAbsoluteIndex = function (index, length) {
224
+ index = _toInteger(index);
225
+ return index < 0 ? max(index + length, 0) : min$1(index, length);
226
+ };
227
+
228
+ var _arrayIncludes = function (IS_INCLUDES) {
229
+ return function ($this, el, fromIndex) {
230
+ var O = _toIobject($this);
231
+ var length = _toLength(O.length);
232
+ var index = _toAbsoluteIndex(fromIndex, length);
233
+ var value;
234
+ if (IS_INCLUDES && el != el) while (length > index) {
235
+ value = O[index++];
236
+ if (value != value) return true;
237
+ } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
238
+ if (O[index] === el) return IS_INCLUDES || index || 0;
239
+ } return !IS_INCLUDES && -1;
383
240
  };
384
-
385
- var _propertyDesc = function (bitmap, value) {
386
- return {
387
- enumerable: !(bitmap & 1),
388
- configurable: !(bitmap & 2),
389
- writable: !(bitmap & 4),
390
- value: value
241
+ };
242
+
243
+ function createCommonjsModule(fn, module) {
244
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
245
+ }
246
+
247
+ var _core = createCommonjsModule(function (module) {
248
+ var core = module.exports = { version: '2.6.12' };
249
+ if (typeof __e == 'number') __e = core;
250
+ });
251
+ var _core_1 = _core.version;
252
+
253
+ var _global = createCommonjsModule(function (module) {
254
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
255
+ ? window : typeof self != 'undefined' && self.Math == Math ? self
256
+ : Function('return this')();
257
+ if (typeof __g == 'number') __g = global;
258
+ });
259
+
260
+ var _shared = createCommonjsModule(function (module) {
261
+ var SHARED = '__core-js_shared__';
262
+ var store = _global[SHARED] || (_global[SHARED] = {});
263
+ (module.exports = function (key, value) {
264
+ return store[key] || (store[key] = value !== undefined ? value : {});
265
+ })('versions', []).push({
266
+ version: _core.version,
267
+ mode: 'pure' ,
268
+ copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
269
+ });
270
+ });
271
+
272
+ var id = 0;
273
+ var px = Math.random();
274
+ var _uid = function (key) {
275
+ return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
276
+ };
277
+
278
+ var shared = _shared('keys');
279
+ var _sharedKey = function (key) {
280
+ return shared[key] || (shared[key] = _uid(key));
281
+ };
282
+
283
+ var arrayIndexOf = _arrayIncludes(false);
284
+ var IE_PROTO = _sharedKey('IE_PROTO');
285
+ var _objectKeysInternal = function (object, names) {
286
+ var O = _toIobject(object);
287
+ var i = 0;
288
+ var result = [];
289
+ var key;
290
+ for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
291
+ while (names.length > i) if (_has(O, key = names[i++])) {
292
+ ~arrayIndexOf(result, key) || result.push(key);
293
+ }
294
+ return result;
295
+ };
296
+
297
+ var _enumBugKeys = (
298
+ 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
299
+ ).split(',');
300
+
301
+ var _objectKeys = Object.keys || function keys(O) {
302
+ return _objectKeysInternal(O, _enumBugKeys);
303
+ };
304
+
305
+ var _aFunction = function (it) {
306
+ if (typeof it != 'function') throw TypeError(it + ' is not a function!');
307
+ return it;
308
+ };
309
+
310
+ var _ctx = function (fn, that, length) {
311
+ _aFunction(fn);
312
+ if (that === undefined) return fn;
313
+ switch (length) {
314
+ case 1: return function (a) {
315
+ return fn.call(that, a);
391
316
  };
317
+ case 2: return function (a, b) {
318
+ return fn.call(that, a, b);
319
+ };
320
+ case 3: return function (a, b, c) {
321
+ return fn.call(that, a, b, c);
322
+ };
323
+ }
324
+ return function () {
325
+ return fn.apply(that, arguments);
392
326
  };
393
-
394
- var _hide = _descriptors ? function (object, key, value) {
395
- return _objectDp.f(object, key, _propertyDesc(1, value));
396
- } : function (object, key, value) {
397
- object[key] = value;
398
- return object;
327
+ };
328
+
329
+ var _isObject = function (it) {
330
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
331
+ };
332
+
333
+ var _anObject = function (it) {
334
+ if (!_isObject(it)) throw TypeError(it + ' is not an object!');
335
+ return it;
336
+ };
337
+
338
+ var _fails = function (exec) {
339
+ try {
340
+ return !!exec();
341
+ } catch (e) {
342
+ return true;
343
+ }
344
+ };
345
+
346
+ var _descriptors = !_fails(function () {
347
+ return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
348
+ });
349
+
350
+ var document = _global.document;
351
+ var is = _isObject(document) && _isObject(document.createElement);
352
+ var _domCreate = function (it) {
353
+ return is ? document.createElement(it) : {};
354
+ };
355
+
356
+ var _ie8DomDefine = !_descriptors && !_fails(function () {
357
+ return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
358
+ });
359
+
360
+ var _toPrimitive = function (it, S) {
361
+ if (!_isObject(it)) return it;
362
+ var fn, val;
363
+ if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
364
+ if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
365
+ if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
366
+ throw TypeError("Can't convert object to primitive value");
367
+ };
368
+
369
+ var dP = Object.defineProperty;
370
+ var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
371
+ _anObject(O);
372
+ P = _toPrimitive(P, true);
373
+ _anObject(Attributes);
374
+ if (_ie8DomDefine) try {
375
+ return dP(O, P, Attributes);
376
+ } catch (e) { }
377
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
378
+ if ('value' in Attributes) O[P] = Attributes.value;
379
+ return O;
380
+ };
381
+ var _objectDp = {
382
+ f: f
383
+ };
384
+
385
+ var _propertyDesc = function (bitmap, value) {
386
+ return {
387
+ enumerable: !(bitmap & 1),
388
+ configurable: !(bitmap & 2),
389
+ writable: !(bitmap & 4),
390
+ value: value
399
391
  };
400
-
401
- var PROTOTYPE = 'prototype';
402
- var $export = function (type, name, source) {
403
- var IS_FORCED = type & $export.F;
404
- var IS_GLOBAL = type & $export.G;
405
- var IS_STATIC = type & $export.S;
406
- var IS_PROTO = type & $export.P;
407
- var IS_BIND = type & $export.B;
408
- var IS_WRAP = type & $export.W;
409
- var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
410
- var expProto = exports[PROTOTYPE];
411
- var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
412
- var key, own, out;
413
- if (IS_GLOBAL) source = name;
414
- for (key in source) {
415
- own = !IS_FORCED && target && target[key] !== undefined;
416
- if (own && _has(exports, key)) continue;
417
- out = own ? target[key] : source[key];
418
- exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
419
- : IS_BIND && own ? _ctx(out, _global)
420
- : IS_WRAP && target[key] == out ? (function (C) {
421
- var F = function (a, b, c) {
422
- if (this instanceof C) {
423
- switch (arguments.length) {
424
- case 0: return new C();
425
- case 1: return new C(a);
426
- case 2: return new C(a, b);
427
- } return new C(a, b, c);
428
- } return C.apply(this, arguments);
429
- };
430
- F[PROTOTYPE] = C[PROTOTYPE];
431
- return F;
432
- })(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
433
- if (IS_PROTO) {
434
- (exports.virtual || (exports.virtual = {}))[key] = out;
435
- if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
436
- }
392
+ };
393
+
394
+ var _hide = _descriptors ? function (object, key, value) {
395
+ return _objectDp.f(object, key, _propertyDesc(1, value));
396
+ } : function (object, key, value) {
397
+ object[key] = value;
398
+ return object;
399
+ };
400
+
401
+ var PROTOTYPE = 'prototype';
402
+ var $export = function (type, name, source) {
403
+ var IS_FORCED = type & $export.F;
404
+ var IS_GLOBAL = type & $export.G;
405
+ var IS_STATIC = type & $export.S;
406
+ var IS_PROTO = type & $export.P;
407
+ var IS_BIND = type & $export.B;
408
+ var IS_WRAP = type & $export.W;
409
+ var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
410
+ var expProto = exports[PROTOTYPE];
411
+ var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
412
+ var key, own, out;
413
+ if (IS_GLOBAL) source = name;
414
+ for (key in source) {
415
+ own = !IS_FORCED && target && target[key] !== undefined;
416
+ if (own && _has(exports, key)) continue;
417
+ out = own ? target[key] : source[key];
418
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
419
+ : IS_BIND && own ? _ctx(out, _global)
420
+ : IS_WRAP && target[key] == out ? (function (C) {
421
+ var F = function (a, b, c) {
422
+ if (this instanceof C) {
423
+ switch (arguments.length) {
424
+ case 0: return new C();
425
+ case 1: return new C(a);
426
+ case 2: return new C(a, b);
427
+ } return new C(a, b, c);
428
+ } return C.apply(this, arguments);
429
+ };
430
+ F[PROTOTYPE] = C[PROTOTYPE];
431
+ return F;
432
+ })(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
433
+ if (IS_PROTO) {
434
+ (exports.virtual || (exports.virtual = {}))[key] = out;
435
+ if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
437
436
  }
437
+ }
438
+ };
439
+ $export.F = 1;
440
+ $export.G = 2;
441
+ $export.S = 4;
442
+ $export.P = 8;
443
+ $export.B = 16;
444
+ $export.W = 32;
445
+ $export.U = 64;
446
+ $export.R = 128;
447
+ var _export = $export;
448
+
449
+ var _objectSap = function (KEY, exec) {
450
+ var fn = (_core.Object || {})[KEY] || Object[KEY];
451
+ var exp = {};
452
+ exp[KEY] = exec(fn);
453
+ _export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
454
+ };
455
+
456
+ _objectSap('keys', function () {
457
+ return function keys(it) {
458
+ return _objectKeys(_toObject(it));
438
459
  };
439
- $export.F = 1;
440
- $export.G = 2;
441
- $export.S = 4;
442
- $export.P = 8;
443
- $export.B = 16;
444
- $export.W = 32;
445
- $export.U = 64;
446
- $export.R = 128;
447
- var _export = $export;
448
-
449
- var _objectSap = function (KEY, exec) {
450
- var fn = (_core.Object || {})[KEY] || Object[KEY];
451
- var exp = {};
452
- exp[KEY] = exec(fn);
453
- _export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
454
- };
455
-
456
- _objectSap('keys', function () {
457
- return function keys(it) {
458
- return _objectKeys(_toObject(it));
459
- };
460
- });
461
-
462
- var keys = _core.Object.keys;
463
-
464
- var keys$1 = keys;
465
-
466
- function setInstaller (component, afterInstall) {
467
- component.install = function (Vue) {
468
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
469
- var props = component.props || {};
470
- keys$1(options).forEach(function (key) {
471
- if (props.hasOwnProperty(key)) {
472
- if (typeof props[key] === 'function' || props[key] instanceof Array) {
473
- props[key] = {
474
- type: props[key],
475
- default: options[key]
476
- };
477
- } else {
478
- props[key].default = options[key];
479
- }
460
+ });
461
+
462
+ var keys = _core.Object.keys;
463
+
464
+ var keys$1 = keys;
465
+
466
+ function setInstaller (component, afterInstall) {
467
+ component.install = function (Vue) {
468
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
469
+ var props = component.props || {};
470
+ keys$1(options).forEach(function (key) {
471
+ if (props.hasOwnProperty(key)) {
472
+ if (typeof props[key] === 'function' || props[key] instanceof Array) {
473
+ props[key] = {
474
+ type: props[key],
475
+ default: options[key]
476
+ };
477
+ } else {
478
+ props[key].default = options[key];
480
479
  }
481
- });
482
- component.name = options.namespace ? component.name.replace('bk', options.namespace) : component.name;
483
- Vue.component(component.name, component);
484
- typeof afterInstall === 'function' && afterInstall(Vue, options);
485
- };
486
- }
480
+ }
481
+ });
482
+ component.name = options.namespace ? component.name.replace('bk', options.namespace) : component.name;
483
+ Vue.component(component.name, component);
484
+ typeof afterInstall === 'function' && afterInstall(Vue, options);
485
+ };
486
+ }
487
487
 
488
- setInstaller(__vue_component__);
488
+ setInstaller(__vue_component__);
489
489
 
490
- exports.default = __vue_component__;
490
+ exports.default = __vue_component__;
491
491
 
492
- Object.defineProperty(exports, '__esModule', { value: true });
492
+ Object.defineProperty(exports, '__esModule', { value: true });
493
493
 
494
494
  }));