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