boka-human-cliend-v2 0.0.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.
- package/dist/boka-human-v2.common.js +689 -0
- package/dist/boka-human-v2.umd.js +689 -0
- package/dist/boka-human-v2.umd.min.js +1 -0
- package/dist/demo.html +8 -0
- package/package.json +15 -0
- package/src/BokaHumanV2.vue +25 -0
- package/src/index.js +3 -0
- package/vue.config.js +30 -0
|
@@ -0,0 +1,689 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory();
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("bokaHumanV2", [], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["bokaHumanV2"] = factory();
|
|
8
|
+
else
|
|
9
|
+
root["bokaHumanV2"] = factory();
|
|
10
|
+
})((typeof self !== 'undefined' ? self : this), function() {
|
|
11
|
+
return /******/ (function(modules) { // webpackBootstrap
|
|
12
|
+
/******/ // The module cache
|
|
13
|
+
/******/ var installedModules = {};
|
|
14
|
+
/******/
|
|
15
|
+
/******/ // The require function
|
|
16
|
+
/******/ function __webpack_require__(moduleId) {
|
|
17
|
+
/******/
|
|
18
|
+
/******/ // Check if module is in cache
|
|
19
|
+
/******/ if(installedModules[moduleId]) {
|
|
20
|
+
/******/ return installedModules[moduleId].exports;
|
|
21
|
+
/******/ }
|
|
22
|
+
/******/ // Create a new module (and put it into the cache)
|
|
23
|
+
/******/ var module = installedModules[moduleId] = {
|
|
24
|
+
/******/ i: moduleId,
|
|
25
|
+
/******/ l: false,
|
|
26
|
+
/******/ exports: {}
|
|
27
|
+
/******/ };
|
|
28
|
+
/******/
|
|
29
|
+
/******/ // Execute the module function
|
|
30
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
31
|
+
/******/
|
|
32
|
+
/******/ // Flag the module as loaded
|
|
33
|
+
/******/ module.l = true;
|
|
34
|
+
/******/
|
|
35
|
+
/******/ // Return the exports of the module
|
|
36
|
+
/******/ return module.exports;
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/
|
|
39
|
+
/******/
|
|
40
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
41
|
+
/******/ __webpack_require__.m = modules;
|
|
42
|
+
/******/
|
|
43
|
+
/******/ // expose the module cache
|
|
44
|
+
/******/ __webpack_require__.c = installedModules;
|
|
45
|
+
/******/
|
|
46
|
+
/******/ // define getter function for harmony exports
|
|
47
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
48
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
49
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
50
|
+
/******/ }
|
|
51
|
+
/******/ };
|
|
52
|
+
/******/
|
|
53
|
+
/******/ // define __esModule on exports
|
|
54
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
55
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
56
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
57
|
+
/******/ }
|
|
58
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
59
|
+
/******/ };
|
|
60
|
+
/******/
|
|
61
|
+
/******/ // create a fake namespace object
|
|
62
|
+
/******/ // mode & 1: value is a module id, require it
|
|
63
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
64
|
+
/******/ // mode & 4: return value when already ns object
|
|
65
|
+
/******/ // mode & 8|1: behave like require
|
|
66
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
67
|
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
68
|
+
/******/ if(mode & 8) return value;
|
|
69
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
70
|
+
/******/ var ns = Object.create(null);
|
|
71
|
+
/******/ __webpack_require__.r(ns);
|
|
72
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
73
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
74
|
+
/******/ return ns;
|
|
75
|
+
/******/ };
|
|
76
|
+
/******/
|
|
77
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
78
|
+
/******/ __webpack_require__.n = function(module) {
|
|
79
|
+
/******/ var getter = module && module.__esModule ?
|
|
80
|
+
/******/ function getDefault() { return module['default']; } :
|
|
81
|
+
/******/ function getModuleExports() { return module; };
|
|
82
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
83
|
+
/******/ return getter;
|
|
84
|
+
/******/ };
|
|
85
|
+
/******/
|
|
86
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
87
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
88
|
+
/******/
|
|
89
|
+
/******/ // __webpack_public_path__
|
|
90
|
+
/******/ __webpack_require__.p = "";
|
|
91
|
+
/******/
|
|
92
|
+
/******/
|
|
93
|
+
/******/ // Load entry module and return exports
|
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = "fb15");
|
|
95
|
+
/******/ })
|
|
96
|
+
/************************************************************************/
|
|
97
|
+
/******/ ({
|
|
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":
|
|
201
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
202
|
+
|
|
203
|
+
"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__);
|
|
502
|
+
/* unused harmony reexport * */
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
/***/ }),
|
|
506
|
+
|
|
507
|
+
/***/ "fb15":
|
|
508
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
509
|
+
|
|
510
|
+
"use strict";
|
|
511
|
+
// ESM COMPAT FLAG
|
|
512
|
+
__webpack_require__.r(__webpack_exports__);
|
|
513
|
+
|
|
514
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
515
|
+
// This file is imported into lib/wc client bundles.
|
|
516
|
+
|
|
517
|
+
if (typeof window !== 'undefined') {
|
|
518
|
+
var currentScript = window.document.currentScript
|
|
519
|
+
if (false) { var getCurrentScript; }
|
|
520
|
+
|
|
521
|
+
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
522
|
+
if (src) {
|
|
523
|
+
__webpack_require__.p = src[1] // eslint-disable-line
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
// Indicate to webpack that this file can be concatenated
|
|
528
|
+
/* harmony default export */ var setPublicPath = (null);
|
|
529
|
+
|
|
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
|
|
531
|
+
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
|
+
}
|
|
533
|
+
var staticRenderFns = []
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
// CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=template&id=17dcc6ce&scoped=true
|
|
537
|
+
|
|
538
|
+
// 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
|
+
|
|
540
|
+
/* harmony default export */ var BokaHumanV2vue_type_script_lang_js = ({
|
|
541
|
+
name: 'boka-human-v2',
|
|
542
|
+
props: {
|
|
543
|
+
src: {
|
|
544
|
+
type: String,
|
|
545
|
+
default: 'https://m.baidu.com'
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
|
|
550
|
+
// CONCATENATED MODULE: ./src/BokaHumanV2.vue?vue&type=script&lang=js
|
|
551
|
+
/* 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");
|
|
554
|
+
|
|
555
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
556
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
557
|
+
|
|
558
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
559
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
560
|
+
// be included in the final webpack user bundle.
|
|
561
|
+
|
|
562
|
+
function normalizeComponent(
|
|
563
|
+
scriptExports,
|
|
564
|
+
render,
|
|
565
|
+
staticRenderFns,
|
|
566
|
+
functionalTemplate,
|
|
567
|
+
injectStyles,
|
|
568
|
+
scopeId,
|
|
569
|
+
moduleIdentifier /* server only */,
|
|
570
|
+
shadowMode /* vue-cli only */
|
|
571
|
+
) {
|
|
572
|
+
// Vue.extend constructor export interop
|
|
573
|
+
var options =
|
|
574
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
575
|
+
|
|
576
|
+
// render functions
|
|
577
|
+
if (render) {
|
|
578
|
+
options.render = render
|
|
579
|
+
options.staticRenderFns = staticRenderFns
|
|
580
|
+
options._compiled = true
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
// functional template
|
|
584
|
+
if (functionalTemplate) {
|
|
585
|
+
options.functional = true
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
// scopedId
|
|
589
|
+
if (scopeId) {
|
|
590
|
+
options._scopeId = 'data-v-' + scopeId
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
var hook
|
|
594
|
+
if (moduleIdentifier) {
|
|
595
|
+
// server build
|
|
596
|
+
hook = function (context) {
|
|
597
|
+
// 2.3 injection
|
|
598
|
+
context =
|
|
599
|
+
context || // cached call
|
|
600
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
601
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
602
|
+
// 2.2 with runInNewContext: true
|
|
603
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
604
|
+
context = __VUE_SSR_CONTEXT__
|
|
605
|
+
}
|
|
606
|
+
// inject component styles
|
|
607
|
+
if (injectStyles) {
|
|
608
|
+
injectStyles.call(this, context)
|
|
609
|
+
}
|
|
610
|
+
// register component module identifier for async chunk inferrence
|
|
611
|
+
if (context && context._registeredComponents) {
|
|
612
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
// used by ssr in case component is cached and beforeCreate
|
|
616
|
+
// never gets called
|
|
617
|
+
options._ssrRegister = hook
|
|
618
|
+
} else if (injectStyles) {
|
|
619
|
+
hook = shadowMode
|
|
620
|
+
? function () {
|
|
621
|
+
injectStyles.call(
|
|
622
|
+
this,
|
|
623
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
624
|
+
)
|
|
625
|
+
}
|
|
626
|
+
: injectStyles
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
if (hook) {
|
|
630
|
+
if (options.functional) {
|
|
631
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
632
|
+
// go through the normalizer
|
|
633
|
+
options._injectStyles = hook
|
|
634
|
+
// register for functional component in vue file
|
|
635
|
+
var originalRender = options.render
|
|
636
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
637
|
+
hook.call(context)
|
|
638
|
+
return originalRender(h, context)
|
|
639
|
+
}
|
|
640
|
+
} else {
|
|
641
|
+
// inject component registration as beforeCreate hook
|
|
642
|
+
var existing = options.beforeCreate
|
|
643
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
return {
|
|
648
|
+
exports: scriptExports,
|
|
649
|
+
options: options
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
// CONCATENATED MODULE: ./src/BokaHumanV2.vue
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
/* normalize component */
|
|
661
|
+
|
|
662
|
+
var component = normalizeComponent(
|
|
663
|
+
src_BokaHumanV2vue_type_script_lang_js,
|
|
664
|
+
render,
|
|
665
|
+
staticRenderFns,
|
|
666
|
+
false,
|
|
667
|
+
null,
|
|
668
|
+
"17dcc6ce",
|
|
669
|
+
null
|
|
670
|
+
|
|
671
|
+
)
|
|
672
|
+
|
|
673
|
+
/* harmony default export */ var BokaHumanV2 = (component.exports);
|
|
674
|
+
// CONCATENATED MODULE: ./src/index.js
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
/* harmony default export */ var src_0 = (BokaHumanV2);
|
|
678
|
+
|
|
679
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src_0);
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
/***/ })
|
|
687
|
+
|
|
688
|
+
/******/ });
|
|
689
|
+
});
|