boka-human-cliend-v2 0.0.1 → 0.0.2

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.
@@ -96,409 +96,12 @@ return /******/ (function(modules) { // webpackBootstrap
96
96
  /************************************************************************/
97
97
  /******/ ({
98
98
 
99
- /***/ "24fb":
100
- /***/ (function(module, exports, __webpack_require__) {
101
-
102
- "use strict";
103
-
104
-
105
- /*
106
- MIT License http://www.opensource.org/licenses/mit-license.php
107
- Author Tobias Koppers @sokra
108
- */
109
- // css base code, injected by the css-loader
110
- // eslint-disable-next-line func-names
111
- module.exports = function (useSourceMap) {
112
- var list = []; // return the list of modules as css string
113
-
114
- list.toString = function toString() {
115
- return this.map(function (item) {
116
- var content = cssWithMappingToString(item, useSourceMap);
117
-
118
- if (item[2]) {
119
- return "@media ".concat(item[2], " {").concat(content, "}");
120
- }
121
-
122
- return content;
123
- }).join('');
124
- }; // import a list of modules into the list
125
- // eslint-disable-next-line func-names
126
-
127
-
128
- list.i = function (modules, mediaQuery, dedupe) {
129
- if (typeof modules === 'string') {
130
- // eslint-disable-next-line no-param-reassign
131
- modules = [[null, modules, '']];
132
- }
133
-
134
- var alreadyImportedModules = {};
135
-
136
- if (dedupe) {
137
- for (var i = 0; i < this.length; i++) {
138
- // eslint-disable-next-line prefer-destructuring
139
- var id = this[i][0];
140
-
141
- if (id != null) {
142
- alreadyImportedModules[id] = true;
143
- }
144
- }
145
- }
146
-
147
- for (var _i = 0; _i < modules.length; _i++) {
148
- var item = [].concat(modules[_i]);
149
-
150
- if (dedupe && alreadyImportedModules[item[0]]) {
151
- // eslint-disable-next-line no-continue
152
- continue;
153
- }
154
-
155
- if (mediaQuery) {
156
- if (!item[2]) {
157
- item[2] = mediaQuery;
158
- } else {
159
- item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
160
- }
161
- }
162
-
163
- list.push(item);
164
- }
165
- };
166
-
167
- return list;
168
- };
169
-
170
- function cssWithMappingToString(item, useSourceMap) {
171
- var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring
172
-
173
- var cssMapping = item[3];
174
-
175
- if (!cssMapping) {
176
- return content;
177
- }
178
-
179
- if (useSourceMap && typeof btoa === 'function') {
180
- var sourceMapping = toComment(cssMapping);
181
- var sourceURLs = cssMapping.sources.map(function (source) {
182
- return "/*# sourceURL=".concat(cssMapping.sourceRoot || '').concat(source, " */");
183
- });
184
- return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
185
- }
186
-
187
- return [content].join('\n');
188
- } // Adapted from convert-source-map (MIT)
189
-
190
-
191
- function toComment(sourceMap) {
192
- // eslint-disable-next-line no-undef
193
- var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
194
- var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
195
- return "/*# ".concat(data, " */");
196
- }
197
-
198
- /***/ }),
199
-
200
- /***/ "499e":
99
+ /***/ "7d71":
201
100
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
202
101
 
203
102
  "use strict";
204
- // ESM COMPAT FLAG
205
- __webpack_require__.r(__webpack_exports__);
206
-
207
- // EXPORTS
208
- __webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ addStylesClient; });
209
-
210
- // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
211
- /**
212
- * Translates the list format produced by css-loader into something
213
- * easier to manipulate.
214
- */
215
- function listToStyles (parentId, list) {
216
- var styles = []
217
- var newStyles = {}
218
- for (var i = 0; i < list.length; i++) {
219
- var item = list[i]
220
- var id = item[0]
221
- var css = item[1]
222
- var media = item[2]
223
- var sourceMap = item[3]
224
- var part = {
225
- id: parentId + ':' + i,
226
- css: css,
227
- media: media,
228
- sourceMap: sourceMap
229
- }
230
- if (!newStyles[id]) {
231
- styles.push(newStyles[id] = { id: id, parts: [part] })
232
- } else {
233
- newStyles[id].parts.push(part)
234
- }
235
- }
236
- return styles
237
- }
238
-
239
- // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
240
- /*
241
- MIT License http://www.opensource.org/licenses/mit-license.php
242
- Author Tobias Koppers @sokra
243
- Modified by Evan You @yyx990803
244
- */
245
-
246
-
247
-
248
- var hasDocument = typeof document !== 'undefined'
249
-
250
- if (typeof DEBUG !== 'undefined' && DEBUG) {
251
- if (!hasDocument) {
252
- throw new Error(
253
- 'vue-style-loader cannot be used in a non-browser environment. ' +
254
- "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
255
- ) }
256
- }
257
-
258
- /*
259
- type StyleObject = {
260
- id: number;
261
- parts: Array<StyleObjectPart>
262
- }
263
-
264
- type StyleObjectPart = {
265
- css: string;
266
- media: string;
267
- sourceMap: ?string
268
- }
269
- */
270
-
271
- var stylesInDom = {/*
272
- [id: number]: {
273
- id: number,
274
- refs: number,
275
- parts: Array<(obj?: StyleObjectPart) => void>
276
- }
277
- */}
278
-
279
- var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
280
- var singletonElement = null
281
- var singletonCounter = 0
282
- var isProduction = false
283
- var noop = function () {}
284
- var options = null
285
- var ssrIdKey = 'data-vue-ssr-id'
286
-
287
- // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
288
- // tags it will allow on a page
289
- var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
290
-
291
- function addStylesClient (parentId, list, _isProduction, _options) {
292
- isProduction = _isProduction
293
-
294
- options = _options || {}
295
-
296
- var styles = listToStyles(parentId, list)
297
- addStylesToDom(styles)
298
-
299
- return function update (newList) {
300
- var mayRemove = []
301
- for (var i = 0; i < styles.length; i++) {
302
- var item = styles[i]
303
- var domStyle = stylesInDom[item.id]
304
- domStyle.refs--
305
- mayRemove.push(domStyle)
306
- }
307
- if (newList) {
308
- styles = listToStyles(parentId, newList)
309
- addStylesToDom(styles)
310
- } else {
311
- styles = []
312
- }
313
- for (var i = 0; i < mayRemove.length; i++) {
314
- var domStyle = mayRemove[i]
315
- if (domStyle.refs === 0) {
316
- for (var j = 0; j < domStyle.parts.length; j++) {
317
- domStyle.parts[j]()
318
- }
319
- delete stylesInDom[domStyle.id]
320
- }
321
- }
322
- }
323
- }
324
-
325
- function addStylesToDom (styles /* Array<StyleObject> */) {
326
- for (var i = 0; i < styles.length; i++) {
327
- var item = styles[i]
328
- var domStyle = stylesInDom[item.id]
329
- if (domStyle) {
330
- domStyle.refs++
331
- for (var j = 0; j < domStyle.parts.length; j++) {
332
- domStyle.parts[j](item.parts[j])
333
- }
334
- for (; j < item.parts.length; j++) {
335
- domStyle.parts.push(addStyle(item.parts[j]))
336
- }
337
- if (domStyle.parts.length > item.parts.length) {
338
- domStyle.parts.length = item.parts.length
339
- }
340
- } else {
341
- var parts = []
342
- for (var j = 0; j < item.parts.length; j++) {
343
- parts.push(addStyle(item.parts[j]))
344
- }
345
- stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
346
- }
347
- }
348
- }
349
-
350
- function createStyleElement () {
351
- var styleElement = document.createElement('style')
352
- styleElement.type = 'text/css'
353
- head.appendChild(styleElement)
354
- return styleElement
355
- }
356
-
357
- function addStyle (obj /* StyleObjectPart */) {
358
- var update, remove
359
- var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
360
-
361
- if (styleElement) {
362
- if (isProduction) {
363
- // has SSR styles and in production mode.
364
- // simply do nothing.
365
- return noop
366
- } else {
367
- // has SSR styles but in dev mode.
368
- // for some reason Chrome can't handle source map in server-rendered
369
- // style tags - source maps in <style> only works if the style tag is
370
- // created and inserted dynamically. So we remove the server rendered
371
- // styles and inject new ones.
372
- styleElement.parentNode.removeChild(styleElement)
373
- }
374
- }
375
-
376
- if (isOldIE) {
377
- // use singleton mode for IE9.
378
- var styleIndex = singletonCounter++
379
- styleElement = singletonElement || (singletonElement = createStyleElement())
380
- update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
381
- remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
382
- } else {
383
- // use multi-style-tag mode in all other cases
384
- styleElement = createStyleElement()
385
- update = applyToTag.bind(null, styleElement)
386
- remove = function () {
387
- styleElement.parentNode.removeChild(styleElement)
388
- }
389
- }
390
-
391
- update(obj)
392
-
393
- return function updateStyle (newObj /* StyleObjectPart */) {
394
- if (newObj) {
395
- if (newObj.css === obj.css &&
396
- newObj.media === obj.media &&
397
- newObj.sourceMap === obj.sourceMap) {
398
- return
399
- }
400
- update(obj = newObj)
401
- } else {
402
- remove()
403
- }
404
- }
405
- }
406
-
407
- var replaceText = (function () {
408
- var textStore = []
409
-
410
- return function (index, replacement) {
411
- textStore[index] = replacement
412
- return textStore.filter(Boolean).join('\n')
413
- }
414
- })()
415
-
416
- function applyToSingletonTag (styleElement, index, remove, obj) {
417
- var css = remove ? '' : obj.css
418
-
419
- if (styleElement.styleSheet) {
420
- styleElement.styleSheet.cssText = replaceText(index, css)
421
- } else {
422
- var cssNode = document.createTextNode(css)
423
- var childNodes = styleElement.childNodes
424
- if (childNodes[index]) styleElement.removeChild(childNodes[index])
425
- if (childNodes.length) {
426
- styleElement.insertBefore(cssNode, childNodes[index])
427
- } else {
428
- styleElement.appendChild(cssNode)
429
- }
430
- }
431
- }
432
-
433
- function applyToTag (styleElement, obj) {
434
- var css = obj.css
435
- var media = obj.media
436
- var sourceMap = obj.sourceMap
437
-
438
- if (media) {
439
- styleElement.setAttribute('media', media)
440
- }
441
- if (options.ssrId) {
442
- styleElement.setAttribute(ssrIdKey, obj.id)
443
- }
444
-
445
- if (sourceMap) {
446
- // https://developer.chrome.com/devtools/docs/javascript-debugging
447
- // this makes source maps inside style tags work properly in Chrome
448
- css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
449
- // http://stackoverflow.com/a/26603875
450
- css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
451
- }
452
-
453
- if (styleElement.styleSheet) {
454
- styleElement.styleSheet.cssText = css
455
- } else {
456
- while (styleElement.firstChild) {
457
- styleElement.removeChild(styleElement.firstChild)
458
- }
459
- styleElement.appendChild(document.createTextNode(css))
460
- }
461
- }
462
-
463
-
464
- /***/ }),
465
-
466
- /***/ "86d2":
467
- /***/ (function(module, exports, __webpack_require__) {
468
-
469
- // style-loader: Adds some css to the DOM by adding a <style> tag
470
-
471
- // load the styles
472
- var content = __webpack_require__("8c99");
473
- if(content.__esModule) content = content.default;
474
- if(typeof content === 'string') content = [[module.i, content, '']];
475
- if(content.locals) module.exports = content.locals;
476
- // add the styles to the DOM
477
- var add = __webpack_require__("499e").default
478
- var update = add("12fcfc72", content, true, {"sourceMap":false,"shadowMode":false});
479
-
480
- /***/ }),
481
-
482
- /***/ "8c99":
483
- /***/ (function(module, exports, __webpack_require__) {
484
-
485
- // Imports
486
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
487
- exports = ___CSS_LOADER_API_IMPORT___(false);
488
- // Module
489
- exports.push([module.i, ".boka-human-v2[data-v-17dcc6ce]{width:320px;margin:0 auto}", ""]);
490
- // Exports
491
- module.exports = exports;
492
-
493
-
494
- /***/ }),
495
-
496
- /***/ "aafc":
497
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
498
-
499
- "use strict";
500
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_17dcc6ce_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("86d2");
501
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_17dcc6ce_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_17dcc6ce_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
103
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_4d6b21e0_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ffcf");
104
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_4d6b21e0_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_4d6b21e0_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
502
105
  /* unused harmony reexport * */
503
106
 
504
107
 
@@ -527,13 +130,13 @@ if (typeof window !== 'undefined') {
527
130
  // Indicate to webpack that this file can be concatenated
528
131
  /* harmony default export */ var setPublicPath = (null);
529
132
 
530
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60e21ab6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/BokaHumanV2.vue?vue&type=template&id=17dcc6ce&scoped=true
133
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1986fa9a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/BokaHumanV2.vue?vue&type=template&id=4d6b21e0&scoped=true
531
134
  var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"boka-human-v2"},[_c('iframe',{staticStyle:{"width":"100%","height":"100%"},attrs:{"src":_vm.src,"frameborder":"0","allowfullscreen":""}})])
532
135
  }
533
136
  var staticRenderFns = []
534
137
 
535
138
 
536
- // CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=template&id=17dcc6ce&scoped=true
139
+ // CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=template&id=4d6b21e0&scoped=true
537
140
 
538
141
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/BokaHumanV2.vue?vue&type=script&lang=js
539
142
 
@@ -549,8 +152,8 @@ var staticRenderFns = []
549
152
 
550
153
  // CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=script&lang=js
551
154
  /* harmony default export */ var src_BokaHumanV2vue_type_script_lang_js = (BokaHumanV2vue_type_script_lang_js);
552
- // EXTERNAL MODULE: ./src/BokaHumanV2.vue?vue&type=style&index=0&id=17dcc6ce&prod&scoped=true&lang=css
553
- var BokaHumanV2vue_type_style_index_0_id_17dcc6ce_prod_scoped_true_lang_css = __webpack_require__("aafc");
155
+ // EXTERNAL MODULE: ./src/BokaHumanV2.vue?vue&type=style&index=0&id=4d6b21e0&prod&scoped=true&lang=css
156
+ var BokaHumanV2vue_type_style_index_0_id_4d6b21e0_prod_scoped_true_lang_css = __webpack_require__("7d71");
554
157
 
555
158
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
556
159
  /* globals __VUE_SSR_CONTEXT__ */
@@ -665,7 +268,7 @@ var component = normalizeComponent(
665
268
  staticRenderFns,
666
269
  false,
667
270
  null,
668
- "17dcc6ce",
271
+ "4d6b21e0",
669
272
  null
670
273
 
671
274
  )
@@ -683,6 +286,13 @@ var component = normalizeComponent(
683
286
 
684
287
 
685
288
 
289
+ /***/ }),
290
+
291
+ /***/ "ffcf":
292
+ /***/ (function(module, exports, __webpack_require__) {
293
+
294
+ // extracted by mini-css-extract-plugin
295
+
686
296
  /***/ })
687
297
 
688
298
  /******/ });
@@ -0,0 +1 @@
1
+ .boka-human-v2[data-v-4d6b21e0]{width:320px;min-height:480px;margin:0 auto}
@@ -96,409 +96,12 @@ return /******/ (function(modules) { // webpackBootstrap
96
96
  /************************************************************************/
97
97
  /******/ ({
98
98
 
99
- /***/ "24fb":
100
- /***/ (function(module, exports, __webpack_require__) {
101
-
102
- "use strict";
103
-
104
-
105
- /*
106
- MIT License http://www.opensource.org/licenses/mit-license.php
107
- Author Tobias Koppers @sokra
108
- */
109
- // css base code, injected by the css-loader
110
- // eslint-disable-next-line func-names
111
- module.exports = function (useSourceMap) {
112
- var list = []; // return the list of modules as css string
113
-
114
- list.toString = function toString() {
115
- return this.map(function (item) {
116
- var content = cssWithMappingToString(item, useSourceMap);
117
-
118
- if (item[2]) {
119
- return "@media ".concat(item[2], " {").concat(content, "}");
120
- }
121
-
122
- return content;
123
- }).join('');
124
- }; // import a list of modules into the list
125
- // eslint-disable-next-line func-names
126
-
127
-
128
- list.i = function (modules, mediaQuery, dedupe) {
129
- if (typeof modules === 'string') {
130
- // eslint-disable-next-line no-param-reassign
131
- modules = [[null, modules, '']];
132
- }
133
-
134
- var alreadyImportedModules = {};
135
-
136
- if (dedupe) {
137
- for (var i = 0; i < this.length; i++) {
138
- // eslint-disable-next-line prefer-destructuring
139
- var id = this[i][0];
140
-
141
- if (id != null) {
142
- alreadyImportedModules[id] = true;
143
- }
144
- }
145
- }
146
-
147
- for (var _i = 0; _i < modules.length; _i++) {
148
- var item = [].concat(modules[_i]);
149
-
150
- if (dedupe && alreadyImportedModules[item[0]]) {
151
- // eslint-disable-next-line no-continue
152
- continue;
153
- }
154
-
155
- if (mediaQuery) {
156
- if (!item[2]) {
157
- item[2] = mediaQuery;
158
- } else {
159
- item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
160
- }
161
- }
162
-
163
- list.push(item);
164
- }
165
- };
166
-
167
- return list;
168
- };
169
-
170
- function cssWithMappingToString(item, useSourceMap) {
171
- var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring
172
-
173
- var cssMapping = item[3];
174
-
175
- if (!cssMapping) {
176
- return content;
177
- }
178
-
179
- if (useSourceMap && typeof btoa === 'function') {
180
- var sourceMapping = toComment(cssMapping);
181
- var sourceURLs = cssMapping.sources.map(function (source) {
182
- return "/*# sourceURL=".concat(cssMapping.sourceRoot || '').concat(source, " */");
183
- });
184
- return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
185
- }
186
-
187
- return [content].join('\n');
188
- } // Adapted from convert-source-map (MIT)
189
-
190
-
191
- function toComment(sourceMap) {
192
- // eslint-disable-next-line no-undef
193
- var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
194
- var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
195
- return "/*# ".concat(data, " */");
196
- }
197
-
198
- /***/ }),
199
-
200
- /***/ "499e":
99
+ /***/ "7d71":
201
100
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
202
101
 
203
102
  "use strict";
204
- // ESM COMPAT FLAG
205
- __webpack_require__.r(__webpack_exports__);
206
-
207
- // EXPORTS
208
- __webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ addStylesClient; });
209
-
210
- // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
211
- /**
212
- * Translates the list format produced by css-loader into something
213
- * easier to manipulate.
214
- */
215
- function listToStyles (parentId, list) {
216
- var styles = []
217
- var newStyles = {}
218
- for (var i = 0; i < list.length; i++) {
219
- var item = list[i]
220
- var id = item[0]
221
- var css = item[1]
222
- var media = item[2]
223
- var sourceMap = item[3]
224
- var part = {
225
- id: parentId + ':' + i,
226
- css: css,
227
- media: media,
228
- sourceMap: sourceMap
229
- }
230
- if (!newStyles[id]) {
231
- styles.push(newStyles[id] = { id: id, parts: [part] })
232
- } else {
233
- newStyles[id].parts.push(part)
234
- }
235
- }
236
- return styles
237
- }
238
-
239
- // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
240
- /*
241
- MIT License http://www.opensource.org/licenses/mit-license.php
242
- Author Tobias Koppers @sokra
243
- Modified by Evan You @yyx990803
244
- */
245
-
246
-
247
-
248
- var hasDocument = typeof document !== 'undefined'
249
-
250
- if (typeof DEBUG !== 'undefined' && DEBUG) {
251
- if (!hasDocument) {
252
- throw new Error(
253
- 'vue-style-loader cannot be used in a non-browser environment. ' +
254
- "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
255
- ) }
256
- }
257
-
258
- /*
259
- type StyleObject = {
260
- id: number;
261
- parts: Array<StyleObjectPart>
262
- }
263
-
264
- type StyleObjectPart = {
265
- css: string;
266
- media: string;
267
- sourceMap: ?string
268
- }
269
- */
270
-
271
- var stylesInDom = {/*
272
- [id: number]: {
273
- id: number,
274
- refs: number,
275
- parts: Array<(obj?: StyleObjectPart) => void>
276
- }
277
- */}
278
-
279
- var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
280
- var singletonElement = null
281
- var singletonCounter = 0
282
- var isProduction = false
283
- var noop = function () {}
284
- var options = null
285
- var ssrIdKey = 'data-vue-ssr-id'
286
-
287
- // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
288
- // tags it will allow on a page
289
- var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
290
-
291
- function addStylesClient (parentId, list, _isProduction, _options) {
292
- isProduction = _isProduction
293
-
294
- options = _options || {}
295
-
296
- var styles = listToStyles(parentId, list)
297
- addStylesToDom(styles)
298
-
299
- return function update (newList) {
300
- var mayRemove = []
301
- for (var i = 0; i < styles.length; i++) {
302
- var item = styles[i]
303
- var domStyle = stylesInDom[item.id]
304
- domStyle.refs--
305
- mayRemove.push(domStyle)
306
- }
307
- if (newList) {
308
- styles = listToStyles(parentId, newList)
309
- addStylesToDom(styles)
310
- } else {
311
- styles = []
312
- }
313
- for (var i = 0; i < mayRemove.length; i++) {
314
- var domStyle = mayRemove[i]
315
- if (domStyle.refs === 0) {
316
- for (var j = 0; j < domStyle.parts.length; j++) {
317
- domStyle.parts[j]()
318
- }
319
- delete stylesInDom[domStyle.id]
320
- }
321
- }
322
- }
323
- }
324
-
325
- function addStylesToDom (styles /* Array<StyleObject> */) {
326
- for (var i = 0; i < styles.length; i++) {
327
- var item = styles[i]
328
- var domStyle = stylesInDom[item.id]
329
- if (domStyle) {
330
- domStyle.refs++
331
- for (var j = 0; j < domStyle.parts.length; j++) {
332
- domStyle.parts[j](item.parts[j])
333
- }
334
- for (; j < item.parts.length; j++) {
335
- domStyle.parts.push(addStyle(item.parts[j]))
336
- }
337
- if (domStyle.parts.length > item.parts.length) {
338
- domStyle.parts.length = item.parts.length
339
- }
340
- } else {
341
- var parts = []
342
- for (var j = 0; j < item.parts.length; j++) {
343
- parts.push(addStyle(item.parts[j]))
344
- }
345
- stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
346
- }
347
- }
348
- }
349
-
350
- function createStyleElement () {
351
- var styleElement = document.createElement('style')
352
- styleElement.type = 'text/css'
353
- head.appendChild(styleElement)
354
- return styleElement
355
- }
356
-
357
- function addStyle (obj /* StyleObjectPart */) {
358
- var update, remove
359
- var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
360
-
361
- if (styleElement) {
362
- if (isProduction) {
363
- // has SSR styles and in production mode.
364
- // simply do nothing.
365
- return noop
366
- } else {
367
- // has SSR styles but in dev mode.
368
- // for some reason Chrome can't handle source map in server-rendered
369
- // style tags - source maps in <style> only works if the style tag is
370
- // created and inserted dynamically. So we remove the server rendered
371
- // styles and inject new ones.
372
- styleElement.parentNode.removeChild(styleElement)
373
- }
374
- }
375
-
376
- if (isOldIE) {
377
- // use singleton mode for IE9.
378
- var styleIndex = singletonCounter++
379
- styleElement = singletonElement || (singletonElement = createStyleElement())
380
- update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
381
- remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
382
- } else {
383
- // use multi-style-tag mode in all other cases
384
- styleElement = createStyleElement()
385
- update = applyToTag.bind(null, styleElement)
386
- remove = function () {
387
- styleElement.parentNode.removeChild(styleElement)
388
- }
389
- }
390
-
391
- update(obj)
392
-
393
- return function updateStyle (newObj /* StyleObjectPart */) {
394
- if (newObj) {
395
- if (newObj.css === obj.css &&
396
- newObj.media === obj.media &&
397
- newObj.sourceMap === obj.sourceMap) {
398
- return
399
- }
400
- update(obj = newObj)
401
- } else {
402
- remove()
403
- }
404
- }
405
- }
406
-
407
- var replaceText = (function () {
408
- var textStore = []
409
-
410
- return function (index, replacement) {
411
- textStore[index] = replacement
412
- return textStore.filter(Boolean).join('\n')
413
- }
414
- })()
415
-
416
- function applyToSingletonTag (styleElement, index, remove, obj) {
417
- var css = remove ? '' : obj.css
418
-
419
- if (styleElement.styleSheet) {
420
- styleElement.styleSheet.cssText = replaceText(index, css)
421
- } else {
422
- var cssNode = document.createTextNode(css)
423
- var childNodes = styleElement.childNodes
424
- if (childNodes[index]) styleElement.removeChild(childNodes[index])
425
- if (childNodes.length) {
426
- styleElement.insertBefore(cssNode, childNodes[index])
427
- } else {
428
- styleElement.appendChild(cssNode)
429
- }
430
- }
431
- }
432
-
433
- function applyToTag (styleElement, obj) {
434
- var css = obj.css
435
- var media = obj.media
436
- var sourceMap = obj.sourceMap
437
-
438
- if (media) {
439
- styleElement.setAttribute('media', media)
440
- }
441
- if (options.ssrId) {
442
- styleElement.setAttribute(ssrIdKey, obj.id)
443
- }
444
-
445
- if (sourceMap) {
446
- // https://developer.chrome.com/devtools/docs/javascript-debugging
447
- // this makes source maps inside style tags work properly in Chrome
448
- css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
449
- // http://stackoverflow.com/a/26603875
450
- css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
451
- }
452
-
453
- if (styleElement.styleSheet) {
454
- styleElement.styleSheet.cssText = css
455
- } else {
456
- while (styleElement.firstChild) {
457
- styleElement.removeChild(styleElement.firstChild)
458
- }
459
- styleElement.appendChild(document.createTextNode(css))
460
- }
461
- }
462
-
463
-
464
- /***/ }),
465
-
466
- /***/ "86d2":
467
- /***/ (function(module, exports, __webpack_require__) {
468
-
469
- // style-loader: Adds some css to the DOM by adding a <style> tag
470
-
471
- // load the styles
472
- var content = __webpack_require__("8c99");
473
- if(content.__esModule) content = content.default;
474
- if(typeof content === 'string') content = [[module.i, content, '']];
475
- if(content.locals) module.exports = content.locals;
476
- // add the styles to the DOM
477
- var add = __webpack_require__("499e").default
478
- var update = add("12fcfc72", content, true, {"sourceMap":false,"shadowMode":false});
479
-
480
- /***/ }),
481
-
482
- /***/ "8c99":
483
- /***/ (function(module, exports, __webpack_require__) {
484
-
485
- // Imports
486
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
487
- exports = ___CSS_LOADER_API_IMPORT___(false);
488
- // Module
489
- exports.push([module.i, ".boka-human-v2[data-v-17dcc6ce]{width:320px;margin:0 auto}", ""]);
490
- // Exports
491
- module.exports = exports;
492
-
493
-
494
- /***/ }),
495
-
496
- /***/ "aafc":
497
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
498
-
499
- "use strict";
500
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_17dcc6ce_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("86d2");
501
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_17dcc6ce_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_17dcc6ce_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
103
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_4d6b21e0_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ffcf");
104
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_4d6b21e0_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BokaHumanV2_vue_vue_type_style_index_0_id_4d6b21e0_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
502
105
  /* unused harmony reexport * */
503
106
 
504
107
 
@@ -527,13 +130,13 @@ if (typeof window !== 'undefined') {
527
130
  // Indicate to webpack that this file can be concatenated
528
131
  /* harmony default export */ var setPublicPath = (null);
529
132
 
530
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60e21ab6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/BokaHumanV2.vue?vue&type=template&id=17dcc6ce&scoped=true
133
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1986fa9a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/BokaHumanV2.vue?vue&type=template&id=4d6b21e0&scoped=true
531
134
  var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"boka-human-v2"},[_c('iframe',{staticStyle:{"width":"100%","height":"100%"},attrs:{"src":_vm.src,"frameborder":"0","allowfullscreen":""}})])
532
135
  }
533
136
  var staticRenderFns = []
534
137
 
535
138
 
536
- // CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=template&id=17dcc6ce&scoped=true
139
+ // CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=template&id=4d6b21e0&scoped=true
537
140
 
538
141
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/BokaHumanV2.vue?vue&type=script&lang=js
539
142
 
@@ -549,8 +152,8 @@ var staticRenderFns = []
549
152
 
550
153
  // CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=script&lang=js
551
154
  /* harmony default export */ var src_BokaHumanV2vue_type_script_lang_js = (BokaHumanV2vue_type_script_lang_js);
552
- // EXTERNAL MODULE: ./src/BokaHumanV2.vue?vue&type=style&index=0&id=17dcc6ce&prod&scoped=true&lang=css
553
- var BokaHumanV2vue_type_style_index_0_id_17dcc6ce_prod_scoped_true_lang_css = __webpack_require__("aafc");
155
+ // EXTERNAL MODULE: ./src/BokaHumanV2.vue?vue&type=style&index=0&id=4d6b21e0&prod&scoped=true&lang=css
156
+ var BokaHumanV2vue_type_style_index_0_id_4d6b21e0_prod_scoped_true_lang_css = __webpack_require__("7d71");
554
157
 
555
158
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
556
159
  /* globals __VUE_SSR_CONTEXT__ */
@@ -665,7 +268,7 @@ var component = normalizeComponent(
665
268
  staticRenderFns,
666
269
  false,
667
270
  null,
668
- "17dcc6ce",
271
+ "4d6b21e0",
669
272
  null
670
273
 
671
274
  )
@@ -683,6 +286,13 @@ var component = normalizeComponent(
683
286
 
684
287
 
685
288
 
289
+ /***/ }),
290
+
291
+ /***/ "ffcf":
292
+ /***/ (function(module, exports, __webpack_require__) {
293
+
294
+ // extracted by mini-css-extract-plugin
295
+
686
296
  /***/ })
687
297
 
688
298
  /******/ });
@@ -1 +1 @@
1
- (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define("bokaHumanV2",[],t):"object"===typeof exports?exports["bokaHumanV2"]=t():e["bokaHumanV2"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var a=o(r),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([a]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var a=t[o],i=a[0],s=a[1],u=a[2],c=a[3],f={id:e+":"+o,css:s,media:u,sourceMap:c};r[i]?r[i].parts.push(f):n.push(r[i]={id:i,parts:[f]})}return n}n.r(t),n.d(t,"default",(function(){return v}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},i=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,u=0,c=!1,f=function(){},d=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,o){c=n,d=o||{};var i=r(e,t);return h(i),function(t){for(var n=[],o=0;o<i.length;o++){var s=i[o],u=a[s.id];u.refs--,n.push(u)}t?(i=r(e,t),h(i)):i=[];for(o=0;o<n.length;o++){u=n[o];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete a[u.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],r=a[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(b(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(o=0;o<n.parts.length;o++)i.push(b(n.parts[o]));a[n.id]={id:n.id,refs:1,parts:i}}}}function m(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function b(e){var t,n,r=document.querySelector("style["+l+'~="'+e.id+'"]');if(r){if(c)return f;r.parentNode.removeChild(r)}if(p){var o=u++;r=s||(s=m()),t=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=m(),t=_.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function _(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(l,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"86d2":function(e,t,n){var r=n("8c99");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("499e").default;o("12fcfc72",r,!0,{sourceMap:!1,shadowMode:!1})},"8c99":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".boka-human-v2[data-v-17dcc6ce]{width:320px;margin:0 auto}",""]),e.exports=t},aafc:function(e,t,n){"use strict";n("86d2")},fb15:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"boka-human-v2"},[t("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.src,frameborder:"0",allowfullscreen:""}})])},i=[],s={name:"boka-human-v2",props:{src:{type:String,default:"https://m.baidu.com"}}},u=s;n("aafc");function c(e,t,n,r,o,a,i,s){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),i?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(e,t){return u.call(t),f(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}var f=c(u,a,i,!1,null,"17dcc6ce",null),d=f.exports,l=d;t["default"]=l}})}));
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define("bokaHumanV2",[],t):"object"===typeof exports?exports["bokaHumanV2"]=t():e["bokaHumanV2"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"7d71":function(e,t,n){"use strict";n("ffcf")},fb15:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"boka-human-v2"},[t("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.src,frameborder:"0",allowfullscreen:""}})])},f=[],u={name:"boka-human-v2",props:{src:{type:String,default:"https://m.baidu.com"}}},s=u;n("7d71");function a(e,t,n,r,o,i,f,u){var s,a="function"===typeof e?e.options:e;if(t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),f?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(f)},a._ssrRegister=s):o&&(s=u?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(a.functional){a._injectStyles=s;var c=a.render;a.render=function(e,t){return s.call(t),c(e,t)}}else{var d=a.beforeCreate;a.beforeCreate=d?[].concat(d,s):[s]}return{exports:e,options:a}}var c=a(s,i,f,!1,null,"4d6b21e0",null),d=c.exports,l=d;t["default"]=l},ffcf:function(e,t,n){}})}));
package/dist/demo.html CHANGED
@@ -2,6 +2,8 @@
2
2
  <title>boka-human-v2 demo</title>
3
3
  <script src="./boka-human-v2.umd.js"></script>
4
4
 
5
+ <link rel="stylesheet" href="./boka-human-v2.css">
6
+
5
7
 
6
8
  <script>
7
9
  console.log(boka-human-v2)
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "boka-human-cliend-v2",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "main": "dist/boka-human-v2.umd.js",
5
5
  "scripts": {
6
+ "serve": "vue-cli-service serve src/demo/main.js",
6
7
  "build": "vue-cli-service build --target lib --name boka-human-v2 src/index.js"
7
8
  },
8
9
  "peerDependencies": {
@@ -20,6 +20,7 @@ export default {
20
20
  /* 可根据需要添加样式 */
21
21
  .boka-human-v2{
22
22
  width: 320px;
23
+ min-height: 480px;
23
24
  margin: 0 auto;
24
25
  }
25
26
  </style>
package/vue.config.js CHANGED
@@ -1,30 +1,30 @@
1
1
  const path = require('path')
2
2
 
3
3
  module.exports = {
4
- productionSourceMap: false, // 关闭 source map,减小体积
5
-
6
- css: {
7
- extract: false // 关闭 CSS 单独提取,内联到 JS
8
- },
4
+ // 关闭生产环境的 source map,减小包体积
5
+ productionSourceMap: false,
9
6
 
10
7
  configureWebpack: {
11
8
  output: {
9
+ // 打包生成的库名,用户通过 script 标签引入时的全局变量名
12
10
  library: 'bokaHumanV2',
13
11
  libraryTarget: 'umd',
12
+ // 让 UMD 构建支持在浏览器和 Node.js 环境中使用
14
13
  umdNamedDefine: true
15
14
  },
16
15
  externals: {
16
+ // 告诉打包工具 vue 是外部依赖,不打包进去
17
17
  vue: {
18
18
  commonjs: 'vue',
19
19
  commonjs2: 'vue',
20
20
  amd: 'vue',
21
- root: 'Vue'
21
+ root: 'Vue' // 全局变量名
22
22
  }
23
23
  }
24
24
  },
25
25
 
26
26
  chainWebpack: config => {
27
- // 修改入口文件为 src/index.js
27
+ // 修改入口文件
28
28
  config.entry('app').clear().add(path.resolve(__dirname, 'src/index.js'))
29
29
  }
30
30
  }