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