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