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