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/rate.js CHANGED
@@ -1,663 +1,663 @@
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-star',
9
- props: {
10
- rate: {
11
- type: Number,
12
- default: 0
13
- },
14
- width: {
15
- type: Number,
16
- default: 15
17
- },
18
- height: {
19
- type: Number,
20
- default: 16
21
- },
22
- edit: {
23
- type: Boolean,
24
- default: true
25
- },
26
- hoverRate: {
27
- type: Number,
28
- default: 0
29
- },
30
- tooltips: {
31
- type: Array,
32
- default: function _default() {
33
- return [];
34
- }
35
- },
36
- maxStars: {
37
- type: Number,
38
- default: 5
39
- }
7
+ var script = {
8
+ name: 'bk-star',
9
+ props: {
10
+ rate: {
11
+ type: Number,
12
+ default: 0
40
13
  },
41
- computed: {
42
- displayRate: function displayRate() {
43
- return this.hoverRate || this.rate;
44
- }
14
+ width: {
15
+ type: Number,
16
+ default: 15
45
17
  },
46
- methods: {
47
- chooseRate: function chooseRate(index) {
48
- if (!this.edit) return;
49
- var rate = index + 1;
50
- this.$emit('chooseRate', rate);
51
- },
52
- changeHover: function changeHover(index) {
53
- if (!this.edit) return;
54
- var rate = index + 1;
55
- this.$emit('changeHover', rate);
18
+ height: {
19
+ type: Number,
20
+ default: 16
21
+ },
22
+ edit: {
23
+ type: Boolean,
24
+ default: true
25
+ },
26
+ hoverRate: {
27
+ type: Number,
28
+ default: 0
29
+ },
30
+ tooltips: {
31
+ type: Array,
32
+ default: function _default() {
33
+ return [];
56
34
  }
35
+ },
36
+ maxStars: {
37
+ type: Number,
38
+ default: 5
57
39
  }
58
- };
59
-
60
- function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
61
- , shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
62
- if (typeof shadowMode !== 'boolean') {
63
- createInjectorSSR = createInjector;
64
- createInjector = shadowMode;
65
- shadowMode = false;
66
- }
67
- var options = typeof script === 'function' ? script.options : script;
68
- if (template && template.render) {
69
- options.render = template.render;
70
- options.staticRenderFns = template.staticRenderFns;
71
- options._compiled = true;
72
- if (isFunctionalTemplate) {
73
- options.functional = true;
74
- }
40
+ },
41
+ computed: {
42
+ displayRate: function displayRate() {
43
+ return this.hoverRate || this.rate;
75
44
  }
76
- if (scopeId) {
77
- options._scopeId = scopeId;
45
+ },
46
+ methods: {
47
+ chooseRate: function chooseRate(index) {
48
+ if (!this.edit) return;
49
+ var rate = index + 1;
50
+ this.$emit('chooseRate', rate);
51
+ },
52
+ changeHover: function changeHover(index) {
53
+ if (!this.edit) return;
54
+ var rate = index + 1;
55
+ this.$emit('changeHover', rate);
78
56
  }
79
- var hook;
80
- if (moduleIdentifier) {
81
- hook = function hook(context) {
82
- context = context ||
83
- this.$vnode && this.$vnode.ssrContext ||
84
- this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
85
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
86
- context = __VUE_SSR_CONTEXT__;
87
- }
88
- if (style) {
89
- style.call(this, createInjectorSSR(context));
90
- }
91
- if (context && context._registeredComponents) {
92
- context._registeredComponents.add(moduleIdentifier);
93
- }
94
- };
95
- options._ssrRegister = hook;
96
- } else if (style) {
97
- hook = shadowMode ? function () {
98
- style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
99
- } : function (context) {
100
- style.call(this, createInjector(context));
101
- };
57
+ }
58
+ };
59
+
60
+ function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
61
+ , shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
62
+ if (typeof shadowMode !== 'boolean') {
63
+ createInjectorSSR = createInjector;
64
+ createInjector = shadowMode;
65
+ shadowMode = false;
66
+ }
67
+ var options = typeof script === 'function' ? script.options : script;
68
+ if (template && template.render) {
69
+ options.render = template.render;
70
+ options.staticRenderFns = template.staticRenderFns;
71
+ options._compiled = true;
72
+ if (isFunctionalTemplate) {
73
+ options.functional = true;
102
74
  }
103
- if (hook) {
104
- if (options.functional) {
105
- var originalRender = options.render;
106
- options.render = function renderWithStyleInjection(h, context) {
107
- hook.call(context);
108
- return originalRender(h, context);
109
- };
110
- } else {
111
- var existing = options.beforeCreate;
112
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
75
+ }
76
+ if (scopeId) {
77
+ options._scopeId = scopeId;
78
+ }
79
+ var hook;
80
+ if (moduleIdentifier) {
81
+ hook = function hook(context) {
82
+ context = context ||
83
+ this.$vnode && this.$vnode.ssrContext ||
84
+ this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
85
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
86
+ context = __VUE_SSR_CONTEXT__;
87
+ }
88
+ if (style) {
89
+ style.call(this, createInjectorSSR(context));
113
90
  }
91
+ if (context && context._registeredComponents) {
92
+ context._registeredComponents.add(moduleIdentifier);
93
+ }
94
+ };
95
+ options._ssrRegister = hook;
96
+ } else if (style) {
97
+ hook = shadowMode ? function () {
98
+ style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
99
+ } : function (context) {
100
+ style.call(this, createInjector(context));
101
+ };
102
+ }
103
+ if (hook) {
104
+ if (options.functional) {
105
+ var originalRender = options.render;
106
+ options.render = function renderWithStyleInjection(h, context) {
107
+ hook.call(context);
108
+ return originalRender(h, context);
109
+ };
110
+ } else {
111
+ var existing = options.beforeCreate;
112
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
114
113
  }
115
- return script;
116
114
  }
117
- var normalizeComponent_1 = normalizeComponent;
118
-
119
- /* script */
120
- var __vue_script__ = script;
121
- /* template */
122
-
123
- var __vue_render__ = function __vue_render__() {
124
- var _vm = this;
125
-
126
- var _h = _vm.$createElement;
127
-
128
- var _c = _vm._self._c || _h;
129
-
130
- return _c('p', {
131
- staticClass: "bk-rate-stars"
132
- }, _vm._l(_vm.maxStars, function (item, index) {
133
- return _c('svg', {
134
- directives: [{
135
- name: "bk-tooltips",
136
- rawName: "v-bk-tooltips",
137
- value: {
138
- content: _vm.tooltips[index],
139
- disabled: !_vm.tooltips[index]
140
- },
141
- expression: "{ content: tooltips[index], disabled: !tooltips[index] }"
142
- }],
143
- key: index,
144
- class: [{
145
- 'bk-yellow': index < Math.floor(_vm.displayRate)
146
- }, {
147
- 'bk-is-edit': _vm.edit
148
- }, 'bk-rate-star'],
149
- style: {
150
- width: _vm.width + 'px',
151
- height: _vm.height + 'px',
152
- 'min-width': _vm.width + 'px'
115
+ return script;
116
+ }
117
+ var normalizeComponent_1 = normalizeComponent;
118
+
119
+ /* script */
120
+ var __vue_script__ = script;
121
+ /* template */
122
+
123
+ var __vue_render__ = function __vue_render__() {
124
+ var _vm = this;
125
+
126
+ var _h = _vm.$createElement;
127
+
128
+ var _c = _vm._self._c || _h;
129
+
130
+ return _c('p', {
131
+ staticClass: "bk-rate-stars"
132
+ }, _vm._l(_vm.maxStars, function (item, index) {
133
+ return _c('svg', {
134
+ directives: [{
135
+ name: "bk-tooltips",
136
+ rawName: "v-bk-tooltips",
137
+ value: {
138
+ content: _vm.tooltips[index],
139
+ disabled: !_vm.tooltips[index]
153
140
  },
154
- attrs: {
155
- "x": "0px",
156
- "y": "0px",
157
- "viewBox": "0 0 64 64"
158
- },
159
- on: {
160
- "click": function click($event) {
161
- _vm.chooseRate(index);
162
- },
163
- "mouseenter": function mouseenter($event) {
164
- _vm.changeHover(index);
165
- }
166
- }
167
- }, [_c('g', {
168
- attrs: {
169
- "transform": "translate(-143.000000, -635.000000)"
170
- }
171
- }, [_c('g', {
172
- attrs: {
173
- "transform": "translate(83.000000, 114.000000)"
174
- }
175
- }, [_c('g', {
176
- attrs: {
177
- "transform": "translate(15.000000, 384.000000)"
178
- }
179
- }, [_c('g', {
180
- attrs: {
181
- "transform": "translate(29.000000, 137.000000)"
182
- }
183
- }, [_c('polygon', {
184
- staticClass: "st1",
185
- attrs: {
186
- "points": "48,53 28.2,63.9 32,40.8 16,24.4 38.1,21 48,-0.1 57.8,21 79.9,24.4 63.9,40.8 67.7,63.9"
187
- }
188
- })])])])])]);
189
- }), 0);
190
- };
191
-
192
- var __vue_staticRenderFns__ = [];
193
- /* style */
194
-
195
- var __vue_inject_styles__ = undefined;
196
- /* scoped */
197
-
198
- var __vue_scope_id__ = undefined;
199
- /* module identifier */
200
-
201
- var __vue_module_identifier__ = undefined;
202
- /* functional template */
203
-
204
- var __vue_is_functional_template__ = false;
205
- /* style inject */
206
-
207
- /* style inject SSR */
208
-
209
- /* style inject shadow dom */
210
-
211
- var __vue_component__ = /*#__PURE__*/normalizeComponent_1({
212
- render: __vue_render__,
213
- staticRenderFns: __vue_staticRenderFns__
214
- }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
215
-
216
- var script$1 = {
217
- name: 'bk-rate',
218
- components: {
219
- bkStar: __vue_component__
220
- },
221
- props: {
222
- rate: {
223
- type: Number,
224
- default: 0
225
- },
226
- width: {
227
- type: Number,
228
- default: 15
229
- },
230
- height: {
231
- type: Number,
232
- default: 16
141
+ expression: "{ content: tooltips[index], disabled: !tooltips[index] }"
142
+ }],
143
+ key: index,
144
+ class: [{
145
+ 'bk-yellow': index < Math.floor(_vm.displayRate)
146
+ }, {
147
+ 'bk-is-edit': _vm.edit
148
+ }, 'bk-rate-star'],
149
+ style: {
150
+ width: _vm.width + 'px',
151
+ height: _vm.height + 'px',
152
+ 'min-width': _vm.width + 'px'
233
153
  },
234
- edit: {
235
- type: Boolean,
236
- default: true
154
+ attrs: {
155
+ "x": "0px",
156
+ "y": "0px",
157
+ "viewBox": "0 0 64 64"
237
158
  },
238
- tooltips: {
239
- type: Array,
240
- default: function _default() {
241
- return [];
159
+ on: {
160
+ "click": function click($event) {
161
+ _vm.chooseRate(index);
162
+ },
163
+ "mouseenter": function mouseenter($event) {
164
+ _vm.changeHover(index);
242
165
  }
243
- },
244
- extCls: {
245
- type: String,
246
- default: ''
247
166
  }
248
- },
249
- data: function data() {
250
- return {
251
- hoverRate: 0
252
- };
253
- },
254
- computed: {
255
- starWidth: function starWidth() {
256
- var integer = Math.floor(this.rate);
257
- var fixWidth = (this.width + 3) * integer;
258
- var rateWidth = this.width * (this.rate - integer);
259
- return "".concat(fixWidth + rateWidth, "px");
167
+ }, [_c('g', {
168
+ attrs: {
169
+ "transform": "translate(-143.000000, -635.000000)"
260
170
  }
261
- },
262
- methods: {
263
- chooseRate: function chooseRate(val) {
264
- if (!this.edit) return;
265
- this.$emit('update:rate', val);
266
- this.$emit('score', val);
267
- },
268
- changeHover: function changeHover(val) {
269
- this.hoverRate = val;
171
+ }, [_c('g', {
172
+ attrs: {
173
+ "transform": "translate(83.000000, 114.000000)"
270
174
  }
271
- }
272
- };
273
-
274
- /* script */
275
- var __vue_script__$1 = script$1;
276
- /* template */
277
-
278
- var __vue_render__$1 = function __vue_render__() {
279
- var _vm = this;
280
-
281
- var _h = _vm.$createElement;
282
-
283
- var _c = _vm._self._c || _h;
284
-
285
- return _c('p', {
286
- staticClass: "bk-score-group",
287
- class: _vm.extCls
288
- }, [_vm.edit ? [_c('bk-star', {
175
+ }, [_c('g', {
289
176
  attrs: {
290
- "rate": _vm.rate,
291
- "hover-rate": _vm.hoverRate,
292
- "width": _vm.width,
293
- "height": _vm.height,
294
- "tooltips": _vm.tooltips
295
- },
296
- on: {
297
- "chooseRate": _vm.chooseRate,
298
- "changeHover": _vm.changeHover
299
- },
300
- nativeOn: {
301
- "mouseleave": function mouseleave($event) {
302
- _vm.changeHover(0);
303
- }
177
+ "transform": "translate(15.000000, 384.000000)"
304
178
  }
305
- })] : [_c('bk-star', {
306
- staticClass: "bk-score-real",
307
- style: {
308
- width: _vm.starWidth
309
- },
179
+ }, [_c('g', {
310
180
  attrs: {
311
- "rate": 5,
312
- "width": _vm.width,
313
- "height": _vm.height,
314
- "edit": false,
315
- "tooltips": _vm.tooltips
181
+ "transform": "translate(29.000000, 137.000000)"
316
182
  }
317
- }), _c('bk-star', {
183
+ }, [_c('polygon', {
184
+ staticClass: "st1",
318
185
  attrs: {
319
- "rate": 0,
320
- "width": _vm.width,
321
- "height": _vm.height,
322
- "edit": false,
323
- "tooltips": _vm.tooltips
186
+ "points": "48,53 28.2,63.9 32,40.8 16,24.4 38.1,21 48,-0.1 57.8,21 79.9,24.4 63.9,40.8 67.7,63.9"
324
187
  }
325
- })]], 2);
326
- };
188
+ })])])])])]);
189
+ }), 0);
190
+ };
327
191
 
328
- var __vue_staticRenderFns__$1 = [];
329
- /* style */
192
+ var __vue_staticRenderFns__ = [];
193
+ /* style */
330
194
 
331
- var __vue_inject_styles__$1 = undefined;
332
- /* scoped */
195
+ var __vue_inject_styles__ = undefined;
196
+ /* scoped */
333
197
 
334
- var __vue_scope_id__$1 = undefined;
335
- /* module identifier */
198
+ var __vue_scope_id__ = undefined;
199
+ /* module identifier */
336
200
 
337
- var __vue_module_identifier__$1 = undefined;
338
- /* functional template */
201
+ var __vue_module_identifier__ = undefined;
202
+ /* functional template */
339
203
 
340
- var __vue_is_functional_template__$1 = false;
341
- /* style inject */
204
+ var __vue_is_functional_template__ = false;
205
+ /* style inject */
342
206
 
343
- /* style inject SSR */
207
+ /* style inject SSR */
344
208
 
345
- /* style inject shadow dom */
209
+ /* style inject shadow dom */
346
210
 
347
- var __vue_component__$1 = /*#__PURE__*/normalizeComponent_1({
348
- render: __vue_render__$1,
349
- staticRenderFns: __vue_staticRenderFns__$1
350
- }, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
211
+ var __vue_component__ = /*#__PURE__*/normalizeComponent_1({
212
+ render: __vue_render__,
213
+ staticRenderFns: __vue_staticRenderFns__
214
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
351
215
 
352
- var _defined = function (it) {
353
- if (it == undefined) throw TypeError("Can't call method on " + it);
354
- return it;
355
- };
356
-
357
- var _toObject = function (it) {
358
- return Object(_defined(it));
359
- };
360
-
361
- var hasOwnProperty = {}.hasOwnProperty;
362
- var _has = function (it, key) {
363
- return hasOwnProperty.call(it, key);
364
- };
365
-
366
- var toString = {}.toString;
367
- var _cof = function (it) {
368
- return toString.call(it).slice(8, -1);
369
- };
370
-
371
- var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
372
- return _cof(it) == 'String' ? it.split('') : Object(it);
373
- };
374
-
375
- var _toIobject = function (it) {
376
- return _iobject(_defined(it));
377
- };
378
-
379
- var ceil = Math.ceil;
380
- var floor = Math.floor;
381
- var _toInteger = function (it) {
382
- return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
383
- };
384
-
385
- var min = Math.min;
386
- var _toLength = function (it) {
387
- return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0;
388
- };
389
-
390
- var max = Math.max;
391
- var min$1 = Math.min;
392
- var _toAbsoluteIndex = function (index, length) {
393
- index = _toInteger(index);
394
- return index < 0 ? max(index + length, 0) : min$1(index, length);
395
- };
396
-
397
- var _arrayIncludes = function (IS_INCLUDES) {
398
- return function ($this, el, fromIndex) {
399
- var O = _toIobject($this);
400
- var length = _toLength(O.length);
401
- var index = _toAbsoluteIndex(fromIndex, length);
402
- var value;
403
- if (IS_INCLUDES && el != el) while (length > index) {
404
- value = O[index++];
405
- if (value != value) return true;
406
- } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
407
- if (O[index] === el) return IS_INCLUDES || index || 0;
408
- } return !IS_INCLUDES && -1;
216
+ var script$1 = {
217
+ name: 'bk-rate',
218
+ components: {
219
+ bkStar: __vue_component__
220
+ },
221
+ props: {
222
+ rate: {
223
+ type: Number,
224
+ default: 0
225
+ },
226
+ width: {
227
+ type: Number,
228
+ default: 15
229
+ },
230
+ height: {
231
+ type: Number,
232
+ default: 16
233
+ },
234
+ edit: {
235
+ type: Boolean,
236
+ default: true
237
+ },
238
+ tooltips: {
239
+ type: Array,
240
+ default: function _default() {
241
+ return [];
242
+ }
243
+ },
244
+ extCls: {
245
+ type: String,
246
+ default: ''
247
+ }
248
+ },
249
+ data: function data() {
250
+ return {
251
+ hoverRate: 0
409
252
  };
410
- };
411
-
412
- function createCommonjsModule(fn, module) {
413
- return module = { exports: {} }, fn(module, module.exports), module.exports;
253
+ },
254
+ computed: {
255
+ starWidth: function starWidth() {
256
+ var integer = Math.floor(this.rate);
257
+ var fixWidth = (this.width + 3) * integer;
258
+ var rateWidth = this.width * (this.rate - integer);
259
+ return "".concat(fixWidth + rateWidth, "px");
260
+ }
261
+ },
262
+ methods: {
263
+ chooseRate: function chooseRate(val) {
264
+ if (!this.edit) return;
265
+ this.$emit('update:rate', val);
266
+ this.$emit('score', val);
267
+ },
268
+ changeHover: function changeHover(val) {
269
+ this.hoverRate = val;
270
+ }
414
271
  }
272
+ };
415
273
 
416
- var _core = createCommonjsModule(function (module) {
417
- var core = module.exports = { version: '2.6.12' };
418
- if (typeof __e == 'number') __e = core;
419
- });
420
- var _core_1 = _core.version;
421
-
422
- var _global = createCommonjsModule(function (module) {
423
- var global = module.exports = typeof window != 'undefined' && window.Math == Math
424
- ? window : typeof self != 'undefined' && self.Math == Math ? self
425
- : Function('return this')();
426
- if (typeof __g == 'number') __g = global;
427
- });
428
-
429
- var _shared = createCommonjsModule(function (module) {
430
- var SHARED = '__core-js_shared__';
431
- var store = _global[SHARED] || (_global[SHARED] = {});
432
- (module.exports = function (key, value) {
433
- return store[key] || (store[key] = value !== undefined ? value : {});
434
- })('versions', []).push({
435
- version: _core.version,
436
- mode: 'pure' ,
437
- copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
438
- });
439
- });
440
-
441
- var id = 0;
442
- var px = Math.random();
443
- var _uid = function (key) {
444
- return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
445
- };
446
-
447
- var shared = _shared('keys');
448
- var _sharedKey = function (key) {
449
- return shared[key] || (shared[key] = _uid(key));
450
- };
451
-
452
- var arrayIndexOf = _arrayIncludes(false);
453
- var IE_PROTO = _sharedKey('IE_PROTO');
454
- var _objectKeysInternal = function (object, names) {
455
- var O = _toIobject(object);
456
- var i = 0;
457
- var result = [];
458
- var key;
459
- for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
460
- while (names.length > i) if (_has(O, key = names[i++])) {
461
- ~arrayIndexOf(result, key) || result.push(key);
462
- }
463
- return result;
464
- };
274
+ /* script */
275
+ var __vue_script__$1 = script$1;
276
+ /* template */
465
277
 
466
- var _enumBugKeys = (
467
- 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
468
- ).split(',');
278
+ var __vue_render__$1 = function __vue_render__() {
279
+ var _vm = this;
469
280
 
470
- var _objectKeys = Object.keys || function keys(O) {
471
- return _objectKeysInternal(O, _enumBugKeys);
472
- };
281
+ var _h = _vm.$createElement;
473
282
 
474
- var _aFunction = function (it) {
475
- if (typeof it != 'function') throw TypeError(it + ' is not a function!');
476
- return it;
477
- };
283
+ var _c = _vm._self._c || _h;
478
284
 
479
- var _ctx = function (fn, that, length) {
480
- _aFunction(fn);
481
- if (that === undefined) return fn;
482
- switch (length) {
483
- case 1: return function (a) {
484
- return fn.call(that, a);
485
- };
486
- case 2: return function (a, b) {
487
- return fn.call(that, a, b);
488
- };
489
- case 3: return function (a, b, c) {
490
- return fn.call(that, a, b, c);
491
- };
285
+ return _c('p', {
286
+ staticClass: "bk-score-group",
287
+ class: _vm.extCls
288
+ }, [_vm.edit ? [_c('bk-star', {
289
+ attrs: {
290
+ "rate": _vm.rate,
291
+ "hover-rate": _vm.hoverRate,
292
+ "width": _vm.width,
293
+ "height": _vm.height,
294
+ "tooltips": _vm.tooltips
295
+ },
296
+ on: {
297
+ "chooseRate": _vm.chooseRate,
298
+ "changeHover": _vm.changeHover
299
+ },
300
+ nativeOn: {
301
+ "mouseleave": function mouseleave($event) {
302
+ _vm.changeHover(0);
303
+ }
492
304
  }
493
- return function () {
494
- return fn.apply(that, arguments);
495
- };
496
- };
497
-
498
- var _isObject = function (it) {
499
- return typeof it === 'object' ? it !== null : typeof it === 'function';
500
- };
501
-
502
- var _anObject = function (it) {
503
- if (!_isObject(it)) throw TypeError(it + ' is not an object!');
504
- return it;
505
- };
506
-
507
- var _fails = function (exec) {
508
- try {
509
- return !!exec();
510
- } catch (e) {
511
- return true;
305
+ })] : [_c('bk-star', {
306
+ staticClass: "bk-score-real",
307
+ style: {
308
+ width: _vm.starWidth
309
+ },
310
+ attrs: {
311
+ "rate": 5,
312
+ "width": _vm.width,
313
+ "height": _vm.height,
314
+ "edit": false,
315
+ "tooltips": _vm.tooltips
512
316
  }
317
+ }), _c('bk-star', {
318
+ attrs: {
319
+ "rate": 0,
320
+ "width": _vm.width,
321
+ "height": _vm.height,
322
+ "edit": false,
323
+ "tooltips": _vm.tooltips
324
+ }
325
+ })]], 2);
326
+ };
327
+
328
+ var __vue_staticRenderFns__$1 = [];
329
+ /* style */
330
+
331
+ var __vue_inject_styles__$1 = undefined;
332
+ /* scoped */
333
+
334
+ var __vue_scope_id__$1 = undefined;
335
+ /* module identifier */
336
+
337
+ var __vue_module_identifier__$1 = undefined;
338
+ /* functional template */
339
+
340
+ var __vue_is_functional_template__$1 = false;
341
+ /* style inject */
342
+
343
+ /* style inject SSR */
344
+
345
+ /* style inject shadow dom */
346
+
347
+ var __vue_component__$1 = /*#__PURE__*/normalizeComponent_1({
348
+ render: __vue_render__$1,
349
+ staticRenderFns: __vue_staticRenderFns__$1
350
+ }, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
351
+
352
+ var _defined = function (it) {
353
+ if (it == undefined) throw TypeError("Can't call method on " + it);
354
+ return it;
355
+ };
356
+
357
+ var _toObject = function (it) {
358
+ return Object(_defined(it));
359
+ };
360
+
361
+ var hasOwnProperty = {}.hasOwnProperty;
362
+ var _has = function (it, key) {
363
+ return hasOwnProperty.call(it, key);
364
+ };
365
+
366
+ var toString = {}.toString;
367
+ var _cof = function (it) {
368
+ return toString.call(it).slice(8, -1);
369
+ };
370
+
371
+ var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
372
+ return _cof(it) == 'String' ? it.split('') : Object(it);
373
+ };
374
+
375
+ var _toIobject = function (it) {
376
+ return _iobject(_defined(it));
377
+ };
378
+
379
+ var ceil = Math.ceil;
380
+ var floor = Math.floor;
381
+ var _toInteger = function (it) {
382
+ return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
383
+ };
384
+
385
+ var min = Math.min;
386
+ var _toLength = function (it) {
387
+ return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0;
388
+ };
389
+
390
+ var max = Math.max;
391
+ var min$1 = Math.min;
392
+ var _toAbsoluteIndex = function (index, length) {
393
+ index = _toInteger(index);
394
+ return index < 0 ? max(index + length, 0) : min$1(index, length);
395
+ };
396
+
397
+ var _arrayIncludes = function (IS_INCLUDES) {
398
+ return function ($this, el, fromIndex) {
399
+ var O = _toIobject($this);
400
+ var length = _toLength(O.length);
401
+ var index = _toAbsoluteIndex(fromIndex, length);
402
+ var value;
403
+ if (IS_INCLUDES && el != el) while (length > index) {
404
+ value = O[index++];
405
+ if (value != value) return true;
406
+ } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
407
+ if (O[index] === el) return IS_INCLUDES || index || 0;
408
+ } return !IS_INCLUDES && -1;
513
409
  };
514
-
515
- var _descriptors = !_fails(function () {
516
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
517
- });
518
-
519
- var document = _global.document;
520
- var is = _isObject(document) && _isObject(document.createElement);
521
- var _domCreate = function (it) {
522
- return is ? document.createElement(it) : {};
523
- };
524
-
525
- var _ie8DomDefine = !_descriptors && !_fails(function () {
526
- return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
527
- });
528
-
529
- var _toPrimitive = function (it, S) {
530
- if (!_isObject(it)) return it;
531
- var fn, val;
532
- if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
533
- if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
534
- if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
535
- throw TypeError("Can't convert object to primitive value");
536
- };
537
-
538
- var dP = Object.defineProperty;
539
- var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
540
- _anObject(O);
541
- P = _toPrimitive(P, true);
542
- _anObject(Attributes);
543
- if (_ie8DomDefine) try {
544
- return dP(O, P, Attributes);
545
- } catch (e) { }
546
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
547
- if ('value' in Attributes) O[P] = Attributes.value;
548
- return O;
549
- };
550
- var _objectDp = {
551
- f: f
552
- };
553
-
554
- var _propertyDesc = function (bitmap, value) {
555
- return {
556
- enumerable: !(bitmap & 1),
557
- configurable: !(bitmap & 2),
558
- writable: !(bitmap & 4),
559
- value: value
410
+ };
411
+
412
+ function createCommonjsModule(fn, module) {
413
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
414
+ }
415
+
416
+ var _core = createCommonjsModule(function (module) {
417
+ var core = module.exports = { version: '2.6.12' };
418
+ if (typeof __e == 'number') __e = core;
419
+ });
420
+ var _core_1 = _core.version;
421
+
422
+ var _global = createCommonjsModule(function (module) {
423
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
424
+ ? window : typeof self != 'undefined' && self.Math == Math ? self
425
+ : Function('return this')();
426
+ if (typeof __g == 'number') __g = global;
427
+ });
428
+
429
+ var _shared = createCommonjsModule(function (module) {
430
+ var SHARED = '__core-js_shared__';
431
+ var store = _global[SHARED] || (_global[SHARED] = {});
432
+ (module.exports = function (key, value) {
433
+ return store[key] || (store[key] = value !== undefined ? value : {});
434
+ })('versions', []).push({
435
+ version: _core.version,
436
+ mode: 'pure' ,
437
+ copyright: 2020 Denis Pushkarev (zloirock.ru)'
438
+ });
439
+ });
440
+
441
+ var id = 0;
442
+ var px = Math.random();
443
+ var _uid = function (key) {
444
+ return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
445
+ };
446
+
447
+ var shared = _shared('keys');
448
+ var _sharedKey = function (key) {
449
+ return shared[key] || (shared[key] = _uid(key));
450
+ };
451
+
452
+ var arrayIndexOf = _arrayIncludes(false);
453
+ var IE_PROTO = _sharedKey('IE_PROTO');
454
+ var _objectKeysInternal = function (object, names) {
455
+ var O = _toIobject(object);
456
+ var i = 0;
457
+ var result = [];
458
+ var key;
459
+ for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
460
+ while (names.length > i) if (_has(O, key = names[i++])) {
461
+ ~arrayIndexOf(result, key) || result.push(key);
462
+ }
463
+ return result;
464
+ };
465
+
466
+ var _enumBugKeys = (
467
+ 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
468
+ ).split(',');
469
+
470
+ var _objectKeys = Object.keys || function keys(O) {
471
+ return _objectKeysInternal(O, _enumBugKeys);
472
+ };
473
+
474
+ var _aFunction = function (it) {
475
+ if (typeof it != 'function') throw TypeError(it + ' is not a function!');
476
+ return it;
477
+ };
478
+
479
+ var _ctx = function (fn, that, length) {
480
+ _aFunction(fn);
481
+ if (that === undefined) return fn;
482
+ switch (length) {
483
+ case 1: return function (a) {
484
+ return fn.call(that, a);
485
+ };
486
+ case 2: return function (a, b) {
487
+ return fn.call(that, a, b);
560
488
  };
489
+ case 3: return function (a, b, c) {
490
+ return fn.call(that, a, b, c);
491
+ };
492
+ }
493
+ return function () {
494
+ return fn.apply(that, arguments);
561
495
  };
562
-
563
- var _hide = _descriptors ? function (object, key, value) {
564
- return _objectDp.f(object, key, _propertyDesc(1, value));
565
- } : function (object, key, value) {
566
- object[key] = value;
567
- return object;
496
+ };
497
+
498
+ var _isObject = function (it) {
499
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
500
+ };
501
+
502
+ var _anObject = function (it) {
503
+ if (!_isObject(it)) throw TypeError(it + ' is not an object!');
504
+ return it;
505
+ };
506
+
507
+ var _fails = function (exec) {
508
+ try {
509
+ return !!exec();
510
+ } catch (e) {
511
+ return true;
512
+ }
513
+ };
514
+
515
+ var _descriptors = !_fails(function () {
516
+ return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
517
+ });
518
+
519
+ var document = _global.document;
520
+ var is = _isObject(document) && _isObject(document.createElement);
521
+ var _domCreate = function (it) {
522
+ return is ? document.createElement(it) : {};
523
+ };
524
+
525
+ var _ie8DomDefine = !_descriptors && !_fails(function () {
526
+ return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
527
+ });
528
+
529
+ var _toPrimitive = function (it, S) {
530
+ if (!_isObject(it)) return it;
531
+ var fn, val;
532
+ if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
533
+ if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
534
+ if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
535
+ throw TypeError("Can't convert object to primitive value");
536
+ };
537
+
538
+ var dP = Object.defineProperty;
539
+ var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
540
+ _anObject(O);
541
+ P = _toPrimitive(P, true);
542
+ _anObject(Attributes);
543
+ if (_ie8DomDefine) try {
544
+ return dP(O, P, Attributes);
545
+ } catch (e) { }
546
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
547
+ if ('value' in Attributes) O[P] = Attributes.value;
548
+ return O;
549
+ };
550
+ var _objectDp = {
551
+ f: f
552
+ };
553
+
554
+ var _propertyDesc = function (bitmap, value) {
555
+ return {
556
+ enumerable: !(bitmap & 1),
557
+ configurable: !(bitmap & 2),
558
+ writable: !(bitmap & 4),
559
+ value: value
568
560
  };
569
-
570
- var PROTOTYPE = 'prototype';
571
- var $export = function (type, name, source) {
572
- var IS_FORCED = type & $export.F;
573
- var IS_GLOBAL = type & $export.G;
574
- var IS_STATIC = type & $export.S;
575
- var IS_PROTO = type & $export.P;
576
- var IS_BIND = type & $export.B;
577
- var IS_WRAP = type & $export.W;
578
- var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
579
- var expProto = exports[PROTOTYPE];
580
- var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
581
- var key, own, out;
582
- if (IS_GLOBAL) source = name;
583
- for (key in source) {
584
- own = !IS_FORCED && target && target[key] !== undefined;
585
- if (own && _has(exports, key)) continue;
586
- out = own ? target[key] : source[key];
587
- exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
588
- : IS_BIND && own ? _ctx(out, _global)
589
- : IS_WRAP && target[key] == out ? (function (C) {
590
- var F = function (a, b, c) {
591
- if (this instanceof C) {
592
- switch (arguments.length) {
593
- case 0: return new C();
594
- case 1: return new C(a);
595
- case 2: return new C(a, b);
596
- } return new C(a, b, c);
597
- } return C.apply(this, arguments);
598
- };
599
- F[PROTOTYPE] = C[PROTOTYPE];
600
- return F;
601
- })(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
602
- if (IS_PROTO) {
603
- (exports.virtual || (exports.virtual = {}))[key] = out;
604
- if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
605
- }
561
+ };
562
+
563
+ var _hide = _descriptors ? function (object, key, value) {
564
+ return _objectDp.f(object, key, _propertyDesc(1, value));
565
+ } : function (object, key, value) {
566
+ object[key] = value;
567
+ return object;
568
+ };
569
+
570
+ var PROTOTYPE = 'prototype';
571
+ var $export = function (type, name, source) {
572
+ var IS_FORCED = type & $export.F;
573
+ var IS_GLOBAL = type & $export.G;
574
+ var IS_STATIC = type & $export.S;
575
+ var IS_PROTO = type & $export.P;
576
+ var IS_BIND = type & $export.B;
577
+ var IS_WRAP = type & $export.W;
578
+ var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
579
+ var expProto = exports[PROTOTYPE];
580
+ var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
581
+ var key, own, out;
582
+ if (IS_GLOBAL) source = name;
583
+ for (key in source) {
584
+ own = !IS_FORCED && target && target[key] !== undefined;
585
+ if (own && _has(exports, key)) continue;
586
+ out = own ? target[key] : source[key];
587
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
588
+ : IS_BIND && own ? _ctx(out, _global)
589
+ : IS_WRAP && target[key] == out ? (function (C) {
590
+ var F = function (a, b, c) {
591
+ if (this instanceof C) {
592
+ switch (arguments.length) {
593
+ case 0: return new C();
594
+ case 1: return new C(a);
595
+ case 2: return new C(a, b);
596
+ } return new C(a, b, c);
597
+ } return C.apply(this, arguments);
598
+ };
599
+ F[PROTOTYPE] = C[PROTOTYPE];
600
+ return F;
601
+ })(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
602
+ if (IS_PROTO) {
603
+ (exports.virtual || (exports.virtual = {}))[key] = out;
604
+ if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
606
605
  }
606
+ }
607
+ };
608
+ $export.F = 1;
609
+ $export.G = 2;
610
+ $export.S = 4;
611
+ $export.P = 8;
612
+ $export.B = 16;
613
+ $export.W = 32;
614
+ $export.U = 64;
615
+ $export.R = 128;
616
+ var _export = $export;
617
+
618
+ var _objectSap = function (KEY, exec) {
619
+ var fn = (_core.Object || {})[KEY] || Object[KEY];
620
+ var exp = {};
621
+ exp[KEY] = exec(fn);
622
+ _export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
623
+ };
624
+
625
+ _objectSap('keys', function () {
626
+ return function keys(it) {
627
+ return _objectKeys(_toObject(it));
607
628
  };
608
- $export.F = 1;
609
- $export.G = 2;
610
- $export.S = 4;
611
- $export.P = 8;
612
- $export.B = 16;
613
- $export.W = 32;
614
- $export.U = 64;
615
- $export.R = 128;
616
- var _export = $export;
617
-
618
- var _objectSap = function (KEY, exec) {
619
- var fn = (_core.Object || {})[KEY] || Object[KEY];
620
- var exp = {};
621
- exp[KEY] = exec(fn);
622
- _export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
623
- };
624
-
625
- _objectSap('keys', function () {
626
- return function keys(it) {
627
- return _objectKeys(_toObject(it));
628
- };
629
- });
630
-
631
- var keys = _core.Object.keys;
632
-
633
- var keys$1 = keys;
634
-
635
- function setInstaller (component, afterInstall) {
636
- component.install = function (Vue) {
637
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
638
- var props = component.props || {};
639
- keys$1(options).forEach(function (key) {
640
- if (props.hasOwnProperty(key)) {
641
- if (typeof props[key] === 'function' || props[key] instanceof Array) {
642
- props[key] = {
643
- type: props[key],
644
- default: options[key]
645
- };
646
- } else {
647
- props[key].default = options[key];
648
- }
629
+ });
630
+
631
+ var keys = _core.Object.keys;
632
+
633
+ var keys$1 = keys;
634
+
635
+ function setInstaller (component, afterInstall) {
636
+ component.install = function (Vue) {
637
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
638
+ var props = component.props || {};
639
+ keys$1(options).forEach(function (key) {
640
+ if (props.hasOwnProperty(key)) {
641
+ if (typeof props[key] === 'function' || props[key] instanceof Array) {
642
+ props[key] = {
643
+ type: props[key],
644
+ default: options[key]
645
+ };
646
+ } else {
647
+ props[key].default = options[key];
649
648
  }
650
- });
651
- component.name = options.namespace ? component.name.replace('bk', options.namespace) : component.name;
652
- Vue.component(component.name, component);
653
- typeof afterInstall === 'function' && afterInstall(Vue, options);
654
- };
655
- }
649
+ }
650
+ });
651
+ component.name = options.namespace ? component.name.replace('bk', options.namespace) : component.name;
652
+ Vue.component(component.name, component);
653
+ typeof afterInstall === 'function' && afterInstall(Vue, options);
654
+ };
655
+ }
656
656
 
657
- setInstaller(__vue_component__$1);
657
+ setInstaller(__vue_component__$1);
658
658
 
659
- exports.default = __vue_component__$1;
659
+ exports.default = __vue_component__$1;
660
660
 
661
- Object.defineProperty(exports, '__esModule', { value: true });
661
+ Object.defineProperty(exports, '__esModule', { value: true });
662
662
 
663
663
  }));