yc-ui2 0.1.2-beta25 → 0.1.2-beta26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/yc-ui2.common.js +529 -369
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -1
- package/dist/yc-ui2.umd.js +529 -369
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.js +1 -1
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/css/286.00e562fe.css +0 -1
- package/dist/css/774.de9a931f.css +0 -139
- package/dist/css/94.de9a931f.css +0 -139
- package/dist/yc-ui2.common.94.js +0 -442
- package/dist/yc-ui2.common.94.js.map +0 -1
- package/dist/yc-ui2.umd.774.js +0 -442
- package/dist/yc-ui2.umd.774.js.map +0 -1
- package/dist/yc-ui2.umd.min.286.js +0 -2
- package/dist/yc-ui2.umd.min.286.js.map +0 -1
package/dist/yc-ui2.common.js
CHANGED
@@ -1,113 +1,6 @@
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
2
2
|
/******/ var __webpack_modules__ = ({
|
3
3
|
|
4
|
-
/***/ 1001:
|
5
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
6
|
-
|
7
|
-
"use strict";
|
8
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
9
|
-
/* harmony export */ Z: function() { return /* binding */ normalizeComponent; }
|
10
|
-
/* harmony export */ });
|
11
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
12
|
-
|
13
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
14
|
-
// This module is a runtime utility for cleaner component module output and will
|
15
|
-
// be included in the final webpack user bundle.
|
16
|
-
|
17
|
-
function normalizeComponent(
|
18
|
-
scriptExports,
|
19
|
-
render,
|
20
|
-
staticRenderFns,
|
21
|
-
functionalTemplate,
|
22
|
-
injectStyles,
|
23
|
-
scopeId,
|
24
|
-
moduleIdentifier /* server only */,
|
25
|
-
shadowMode /* vue-cli only */
|
26
|
-
) {
|
27
|
-
// Vue.extend constructor export interop
|
28
|
-
var options =
|
29
|
-
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
30
|
-
|
31
|
-
// render functions
|
32
|
-
if (render) {
|
33
|
-
options.render = render
|
34
|
-
options.staticRenderFns = staticRenderFns
|
35
|
-
options._compiled = true
|
36
|
-
}
|
37
|
-
|
38
|
-
// functional template
|
39
|
-
if (functionalTemplate) {
|
40
|
-
options.functional = true
|
41
|
-
}
|
42
|
-
|
43
|
-
// scopedId
|
44
|
-
if (scopeId) {
|
45
|
-
options._scopeId = 'data-v-' + scopeId
|
46
|
-
}
|
47
|
-
|
48
|
-
var hook
|
49
|
-
if (moduleIdentifier) {
|
50
|
-
// server build
|
51
|
-
hook = function (context) {
|
52
|
-
// 2.3 injection
|
53
|
-
context =
|
54
|
-
context || // cached call
|
55
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
56
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
57
|
-
// 2.2 with runInNewContext: true
|
58
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
59
|
-
context = __VUE_SSR_CONTEXT__
|
60
|
-
}
|
61
|
-
// inject component styles
|
62
|
-
if (injectStyles) {
|
63
|
-
injectStyles.call(this, context)
|
64
|
-
}
|
65
|
-
// register component module identifier for async chunk inferrence
|
66
|
-
if (context && context._registeredComponents) {
|
67
|
-
context._registeredComponents.add(moduleIdentifier)
|
68
|
-
}
|
69
|
-
}
|
70
|
-
// used by ssr in case component is cached and beforeCreate
|
71
|
-
// never gets called
|
72
|
-
options._ssrRegister = hook
|
73
|
-
} else if (injectStyles) {
|
74
|
-
hook = shadowMode
|
75
|
-
? function () {
|
76
|
-
injectStyles.call(
|
77
|
-
this,
|
78
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
79
|
-
)
|
80
|
-
}
|
81
|
-
: injectStyles
|
82
|
-
}
|
83
|
-
|
84
|
-
if (hook) {
|
85
|
-
if (options.functional) {
|
86
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
87
|
-
// go through the normalizer
|
88
|
-
options._injectStyles = hook
|
89
|
-
// register for functional component in vue file
|
90
|
-
var originalRender = options.render
|
91
|
-
options.render = function renderWithStyleInjection(h, context) {
|
92
|
-
hook.call(context)
|
93
|
-
return originalRender(h, context)
|
94
|
-
}
|
95
|
-
} else {
|
96
|
-
// inject component registration as beforeCreate hook
|
97
|
-
var existing = options.beforeCreate
|
98
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
return {
|
103
|
-
exports: scriptExports,
|
104
|
-
options: options
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
|
109
|
-
/***/ }),
|
110
|
-
|
111
4
|
/***/ 9662:
|
112
5
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
113
6
|
|
@@ -6368,9 +6261,6 @@ module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgI
|
|
6368
6261
|
/******/ return module.exports;
|
6369
6262
|
/******/ }
|
6370
6263
|
/******/
|
6371
|
-
/******/ // expose the modules object (__webpack_modules__)
|
6372
|
-
/******/ __webpack_require__.m = __webpack_modules__;
|
6373
|
-
/******/
|
6374
6264
|
/************************************************************************/
|
6375
6265
|
/******/ /* webpack/runtime/compat get default export */
|
6376
6266
|
/******/ !function() {
|
@@ -6396,37 +6286,6 @@ module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgI
|
|
6396
6286
|
/******/ };
|
6397
6287
|
/******/ }();
|
6398
6288
|
/******/
|
6399
|
-
/******/ /* webpack/runtime/ensure chunk */
|
6400
|
-
/******/ !function() {
|
6401
|
-
/******/ __webpack_require__.f = {};
|
6402
|
-
/******/ // This file contains only the entry chunk.
|
6403
|
-
/******/ // The chunk loading function for additional chunks
|
6404
|
-
/******/ __webpack_require__.e = function(chunkId) {
|
6405
|
-
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
|
6406
|
-
/******/ __webpack_require__.f[key](chunkId, promises);
|
6407
|
-
/******/ return promises;
|
6408
|
-
/******/ }, []));
|
6409
|
-
/******/ };
|
6410
|
-
/******/ }();
|
6411
|
-
/******/
|
6412
|
-
/******/ /* webpack/runtime/get javascript chunk filename */
|
6413
|
-
/******/ !function() {
|
6414
|
-
/******/ // This function allow to reference async chunks
|
6415
|
-
/******/ __webpack_require__.u = function(chunkId) {
|
6416
|
-
/******/ // return url for filenames based on template
|
6417
|
-
/******/ return "yc-ui2.common." + chunkId + ".js";
|
6418
|
-
/******/ };
|
6419
|
-
/******/ }();
|
6420
|
-
/******/
|
6421
|
-
/******/ /* webpack/runtime/get mini-css chunk filename */
|
6422
|
-
/******/ !function() {
|
6423
|
-
/******/ // This function allow to reference async chunks
|
6424
|
-
/******/ __webpack_require__.miniCssF = function(chunkId) {
|
6425
|
-
/******/ // return url for filenames based on template
|
6426
|
-
/******/ return "css/" + chunkId + "." + "de9a931f" + ".css";
|
6427
|
-
/******/ };
|
6428
|
-
/******/ }();
|
6429
|
-
/******/
|
6430
6289
|
/******/ /* webpack/runtime/global */
|
6431
6290
|
/******/ !function() {
|
6432
6291
|
/******/ __webpack_require__.g = (function() {
|
@@ -6444,52 +6303,6 @@ module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgI
|
|
6444
6303
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
6445
6304
|
/******/ }();
|
6446
6305
|
/******/
|
6447
|
-
/******/ /* webpack/runtime/load script */
|
6448
|
-
/******/ !function() {
|
6449
|
-
/******/ var inProgress = {};
|
6450
|
-
/******/ var dataWebpackPrefix = "yc-ui2:";
|
6451
|
-
/******/ // loadScript function to load a script via script tag
|
6452
|
-
/******/ __webpack_require__.l = function(url, done, key, chunkId) {
|
6453
|
-
/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
|
6454
|
-
/******/ var script, needAttach;
|
6455
|
-
/******/ if(key !== undefined) {
|
6456
|
-
/******/ var scripts = document.getElementsByTagName("script");
|
6457
|
-
/******/ for(var i = 0; i < scripts.length; i++) {
|
6458
|
-
/******/ var s = scripts[i];
|
6459
|
-
/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
|
6460
|
-
/******/ }
|
6461
|
-
/******/ }
|
6462
|
-
/******/ if(!script) {
|
6463
|
-
/******/ needAttach = true;
|
6464
|
-
/******/ script = document.createElement('script');
|
6465
|
-
/******/
|
6466
|
-
/******/ script.charset = 'utf-8';
|
6467
|
-
/******/ script.timeout = 120;
|
6468
|
-
/******/ if (__webpack_require__.nc) {
|
6469
|
-
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
6470
|
-
/******/ }
|
6471
|
-
/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
|
6472
|
-
/******/
|
6473
|
-
/******/ script.src = url;
|
6474
|
-
/******/ }
|
6475
|
-
/******/ inProgress[url] = [done];
|
6476
|
-
/******/ var onScriptComplete = function(prev, event) {
|
6477
|
-
/******/ // avoid mem leaks in IE.
|
6478
|
-
/******/ script.onerror = script.onload = null;
|
6479
|
-
/******/ clearTimeout(timeout);
|
6480
|
-
/******/ var doneFns = inProgress[url];
|
6481
|
-
/******/ delete inProgress[url];
|
6482
|
-
/******/ script.parentNode && script.parentNode.removeChild(script);
|
6483
|
-
/******/ doneFns && doneFns.forEach(function(fn) { return fn(event); });
|
6484
|
-
/******/ if(prev) return prev(event);
|
6485
|
-
/******/ }
|
6486
|
-
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
|
6487
|
-
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
|
6488
|
-
/******/ script.onload = onScriptComplete.bind(null, script.onload);
|
6489
|
-
/******/ needAttach && document.head.appendChild(script);
|
6490
|
-
/******/ };
|
6491
|
-
/******/ }();
|
6492
|
-
/******/
|
6493
6306
|
/******/ /* webpack/runtime/make namespace object */
|
6494
6307
|
/******/ !function() {
|
6495
6308
|
/******/ // define __esModule on exports
|
@@ -6506,175 +6319,6 @@ module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgI
|
|
6506
6319
|
/******/ __webpack_require__.p = "";
|
6507
6320
|
/******/ }();
|
6508
6321
|
/******/
|
6509
|
-
/******/ /* webpack/runtime/css loading */
|
6510
|
-
/******/ !function() {
|
6511
|
-
/******/ if (typeof document === "undefined") return;
|
6512
|
-
/******/ var createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {
|
6513
|
-
/******/ var linkTag = document.createElement("link");
|
6514
|
-
/******/
|
6515
|
-
/******/ linkTag.rel = "stylesheet";
|
6516
|
-
/******/ linkTag.type = "text/css";
|
6517
|
-
/******/ var onLinkComplete = function(event) {
|
6518
|
-
/******/ // avoid mem leaks.
|
6519
|
-
/******/ linkTag.onerror = linkTag.onload = null;
|
6520
|
-
/******/ if (event.type === 'load') {
|
6521
|
-
/******/ resolve();
|
6522
|
-
/******/ } else {
|
6523
|
-
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
6524
|
-
/******/ var realHref = event && event.target && event.target.href || fullhref;
|
6525
|
-
/******/ var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + realHref + ")");
|
6526
|
-
/******/ err.code = "CSS_CHUNK_LOAD_FAILED";
|
6527
|
-
/******/ err.type = errorType;
|
6528
|
-
/******/ err.request = realHref;
|
6529
|
-
/******/ if (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)
|
6530
|
-
/******/ reject(err);
|
6531
|
-
/******/ }
|
6532
|
-
/******/ }
|
6533
|
-
/******/ linkTag.onerror = linkTag.onload = onLinkComplete;
|
6534
|
-
/******/ linkTag.href = fullhref;
|
6535
|
-
/******/
|
6536
|
-
/******/ if (oldTag) {
|
6537
|
-
/******/ oldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);
|
6538
|
-
/******/ } else {
|
6539
|
-
/******/ document.head.appendChild(linkTag);
|
6540
|
-
/******/ }
|
6541
|
-
/******/ return linkTag;
|
6542
|
-
/******/ };
|
6543
|
-
/******/ var findStylesheet = function(href, fullhref) {
|
6544
|
-
/******/ var existingLinkTags = document.getElementsByTagName("link");
|
6545
|
-
/******/ for(var i = 0; i < existingLinkTags.length; i++) {
|
6546
|
-
/******/ var tag = existingLinkTags[i];
|
6547
|
-
/******/ var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
|
6548
|
-
/******/ if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return tag;
|
6549
|
-
/******/ }
|
6550
|
-
/******/ var existingStyleTags = document.getElementsByTagName("style");
|
6551
|
-
/******/ for(var i = 0; i < existingStyleTags.length; i++) {
|
6552
|
-
/******/ var tag = existingStyleTags[i];
|
6553
|
-
/******/ var dataHref = tag.getAttribute("data-href");
|
6554
|
-
/******/ if(dataHref === href || dataHref === fullhref) return tag;
|
6555
|
-
/******/ }
|
6556
|
-
/******/ };
|
6557
|
-
/******/ var loadStylesheet = function(chunkId) {
|
6558
|
-
/******/ return new Promise(function(resolve, reject) {
|
6559
|
-
/******/ var href = __webpack_require__.miniCssF(chunkId);
|
6560
|
-
/******/ var fullhref = __webpack_require__.p + href;
|
6561
|
-
/******/ if(findStylesheet(href, fullhref)) return resolve();
|
6562
|
-
/******/ createStylesheet(chunkId, fullhref, null, resolve, reject);
|
6563
|
-
/******/ });
|
6564
|
-
/******/ }
|
6565
|
-
/******/ // object to store loaded CSS chunks
|
6566
|
-
/******/ var installedCssChunks = {
|
6567
|
-
/******/ 61: 0
|
6568
|
-
/******/ };
|
6569
|
-
/******/
|
6570
|
-
/******/ __webpack_require__.f.miniCss = function(chunkId, promises) {
|
6571
|
-
/******/ var cssChunks = {"94":1};
|
6572
|
-
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
|
6573
|
-
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
6574
|
-
/******/ promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {
|
6575
|
-
/******/ installedCssChunks[chunkId] = 0;
|
6576
|
-
/******/ }, function(e) {
|
6577
|
-
/******/ delete installedCssChunks[chunkId];
|
6578
|
-
/******/ throw e;
|
6579
|
-
/******/ }));
|
6580
|
-
/******/ }
|
6581
|
-
/******/ };
|
6582
|
-
/******/
|
6583
|
-
/******/ // no hmr
|
6584
|
-
/******/ }();
|
6585
|
-
/******/
|
6586
|
-
/******/ /* webpack/runtime/jsonp chunk loading */
|
6587
|
-
/******/ !function() {
|
6588
|
-
/******/ // no baseURI
|
6589
|
-
/******/
|
6590
|
-
/******/ // object to store loaded and loading chunks
|
6591
|
-
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
6592
|
-
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
6593
|
-
/******/ var installedChunks = {
|
6594
|
-
/******/ 61: 0
|
6595
|
-
/******/ };
|
6596
|
-
/******/
|
6597
|
-
/******/ __webpack_require__.f.j = function(chunkId, promises) {
|
6598
|
-
/******/ // JSONP chunk loading for javascript
|
6599
|
-
/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
6600
|
-
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
6601
|
-
/******/
|
6602
|
-
/******/ // a Promise means "currently loading".
|
6603
|
-
/******/ if(installedChunkData) {
|
6604
|
-
/******/ promises.push(installedChunkData[2]);
|
6605
|
-
/******/ } else {
|
6606
|
-
/******/ if(true) { // all chunks have JS
|
6607
|
-
/******/ // setup Promise in chunk cache
|
6608
|
-
/******/ var promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });
|
6609
|
-
/******/ promises.push(installedChunkData[2] = promise);
|
6610
|
-
/******/
|
6611
|
-
/******/ // start chunk loading
|
6612
|
-
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
|
6613
|
-
/******/ // create error before stack unwound to get useful stacktrace later
|
6614
|
-
/******/ var error = new Error();
|
6615
|
-
/******/ var loadingEnded = function(event) {
|
6616
|
-
/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
|
6617
|
-
/******/ installedChunkData = installedChunks[chunkId];
|
6618
|
-
/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
|
6619
|
-
/******/ if(installedChunkData) {
|
6620
|
-
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
6621
|
-
/******/ var realSrc = event && event.target && event.target.src;
|
6622
|
-
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
6623
|
-
/******/ error.name = 'ChunkLoadError';
|
6624
|
-
/******/ error.type = errorType;
|
6625
|
-
/******/ error.request = realSrc;
|
6626
|
-
/******/ installedChunkData[1](error);
|
6627
|
-
/******/ }
|
6628
|
-
/******/ }
|
6629
|
-
/******/ };
|
6630
|
-
/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
|
6631
|
-
/******/ }
|
6632
|
-
/******/ }
|
6633
|
-
/******/ }
|
6634
|
-
/******/ };
|
6635
|
-
/******/
|
6636
|
-
/******/ // no prefetching
|
6637
|
-
/******/
|
6638
|
-
/******/ // no preloaded
|
6639
|
-
/******/
|
6640
|
-
/******/ // no HMR
|
6641
|
-
/******/
|
6642
|
-
/******/ // no HMR manifest
|
6643
|
-
/******/
|
6644
|
-
/******/ // no on chunks loaded
|
6645
|
-
/******/
|
6646
|
-
/******/ // install a JSONP callback for chunk loading
|
6647
|
-
/******/ var webpackJsonpCallback = function(parentChunkLoadingFunction, data) {
|
6648
|
-
/******/ var chunkIds = data[0];
|
6649
|
-
/******/ var moreModules = data[1];
|
6650
|
-
/******/ var runtime = data[2];
|
6651
|
-
/******/ // add "moreModules" to the modules object,
|
6652
|
-
/******/ // then flag all "chunkIds" as loaded and fire callback
|
6653
|
-
/******/ var moduleId, chunkId, i = 0;
|
6654
|
-
/******/ if(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {
|
6655
|
-
/******/ for(moduleId in moreModules) {
|
6656
|
-
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
6657
|
-
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
6658
|
-
/******/ }
|
6659
|
-
/******/ }
|
6660
|
-
/******/ if(runtime) var result = runtime(__webpack_require__);
|
6661
|
-
/******/ }
|
6662
|
-
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
6663
|
-
/******/ for(;i < chunkIds.length; i++) {
|
6664
|
-
/******/ chunkId = chunkIds[i];
|
6665
|
-
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
6666
|
-
/******/ installedChunks[chunkId][0]();
|
6667
|
-
/******/ }
|
6668
|
-
/******/ installedChunks[chunkId] = 0;
|
6669
|
-
/******/ }
|
6670
|
-
/******/
|
6671
|
-
/******/ }
|
6672
|
-
/******/
|
6673
|
-
/******/ var chunkLoadingGlobal = (typeof self !== 'undefined' ? self : this)["webpackChunkyc_ui2"] = (typeof self !== 'undefined' ? self : this)["webpackChunkyc_ui2"] || [];
|
6674
|
-
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
6675
|
-
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
6676
|
-
/******/ }();
|
6677
|
-
/******/
|
6678
6322
|
/************************************************************************/
|
6679
6323
|
var __webpack_exports__ = {};
|
6680
6324
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
@@ -6705,7 +6349,7 @@ if (typeof window !== 'undefined') {
|
|
6705
6349
|
// Indicate to webpack that this file can be concatenated
|
6706
6350
|
/* harmony default export */ var setPublicPath = (null);
|
6707
6351
|
|
6708
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcSlideVerify/index.vue?vue&type=template&id=
|
6352
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcSlideVerify/index.vue?vue&type=template&id=2c1e2525&scoped=true&
|
6709
6353
|
var render = function render() {
|
6710
6354
|
var _vm = this,
|
6711
6355
|
_c = _vm._self._c;
|
@@ -6743,12 +6387,530 @@ var staticRenderFns = [];
|
|
6743
6387
|
|
6744
6388
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
6745
6389
|
var es_array_push = __webpack_require__(7658);
|
6390
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=template&id=b67196d8&scoped=true&
|
6391
|
+
var slide_verifyvue_type_template_id_b67196d8_scoped_true_render = function render() {
|
6392
|
+
var _vm = this,
|
6393
|
+
_c = _vm._self._c;
|
6394
|
+
return _c('div', {
|
6395
|
+
staticClass: "slide-verify",
|
6396
|
+
style: {
|
6397
|
+
width: _vm.w + 'px'
|
6398
|
+
},
|
6399
|
+
attrs: {
|
6400
|
+
"id": "slideVerify",
|
6401
|
+
"onselectstart": "return false;"
|
6402
|
+
}
|
6403
|
+
}, [_c('div', {
|
6404
|
+
class: {
|
6405
|
+
'slider-verify-loading': _vm.loadBlock
|
6406
|
+
}
|
6407
|
+
}), _c('canvas', {
|
6408
|
+
ref: "canvas",
|
6409
|
+
attrs: {
|
6410
|
+
"width": _vm.w,
|
6411
|
+
"height": _vm.h
|
6412
|
+
}
|
6413
|
+
}), _vm.show ? _c('div', {
|
6414
|
+
staticClass: "slide-verify-refresh-icon",
|
6415
|
+
on: {
|
6416
|
+
"click": _vm.refresh
|
6417
|
+
}
|
6418
|
+
}) : _vm._e(), _c('canvas', {
|
6419
|
+
ref: "block",
|
6420
|
+
staticClass: "slide-verify-block",
|
6421
|
+
attrs: {
|
6422
|
+
"width": _vm.w,
|
6423
|
+
"height": _vm.h
|
6424
|
+
}
|
6425
|
+
}), _c('div', {
|
6426
|
+
staticClass: "slide-verify-slider",
|
6427
|
+
class: {
|
6428
|
+
'container-active': _vm.containerActive,
|
6429
|
+
'container-success': _vm.containerSuccess,
|
6430
|
+
'container-fail': _vm.containerFail
|
6431
|
+
}
|
6432
|
+
}, [_c('div', {
|
6433
|
+
staticClass: "slide-verify-slider-mask",
|
6434
|
+
style: {
|
6435
|
+
width: _vm.sliderMaskWidth
|
6436
|
+
}
|
6437
|
+
}, [_c('div', {
|
6438
|
+
staticClass: "slide-verify-slider-mask-item",
|
6439
|
+
style: {
|
6440
|
+
left: _vm.sliderLeft
|
6441
|
+
},
|
6442
|
+
on: {
|
6443
|
+
"mousedown": _vm.sliderDown,
|
6444
|
+
"touchstart": _vm.touchStartEvent,
|
6445
|
+
"touchmove": function ($event) {
|
6446
|
+
return _vm.handleMoveEvent($event, 'touch');
|
6447
|
+
},
|
6448
|
+
"touchend": function ($event) {
|
6449
|
+
return _vm.handleMoveEndEvent($event, 'touch');
|
6450
|
+
}
|
6451
|
+
}
|
6452
|
+
}, [_c('div', {
|
6453
|
+
staticClass: "slide-verify-slider-mask-item-icon"
|
6454
|
+
})])]), _c('span', {
|
6455
|
+
staticClass: "slide-verify-slider-text"
|
6456
|
+
}, [_vm._v(_vm._s(_vm.sliderText))])])]);
|
6457
|
+
};
|
6458
|
+
var slide_verifyvue_type_template_id_b67196d8_scoped_true_staticRenderFns = [];
|
6459
|
+
|
6460
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=script&lang=js&
|
6461
|
+
|
6462
|
+
const PI = Math.PI;
|
6463
|
+
function sum(x, y) {
|
6464
|
+
return x + y;
|
6465
|
+
}
|
6466
|
+
function square(x) {
|
6467
|
+
return x * x;
|
6468
|
+
}
|
6469
|
+
/* harmony default export */ var slide_verifyvue_type_script_lang_js_ = ({
|
6470
|
+
name: "SlideVerify",
|
6471
|
+
props: {
|
6472
|
+
// block length
|
6473
|
+
l: {
|
6474
|
+
type: Number,
|
6475
|
+
default: 42
|
6476
|
+
},
|
6477
|
+
// block radius
|
6478
|
+
r: {
|
6479
|
+
type: Number,
|
6480
|
+
default: 10
|
6481
|
+
},
|
6482
|
+
// canvas width
|
6483
|
+
w: {
|
6484
|
+
type: Number,
|
6485
|
+
default: 310
|
6486
|
+
},
|
6487
|
+
// canvas height
|
6488
|
+
h: {
|
6489
|
+
type: Number,
|
6490
|
+
default: 155
|
6491
|
+
},
|
6492
|
+
sliderText: {
|
6493
|
+
type: String,
|
6494
|
+
default: "Slide filled right"
|
6495
|
+
},
|
6496
|
+
accuracy: {
|
6497
|
+
type: Number,
|
6498
|
+
default: 5 // 若为 -1 则不进行机器判断
|
6499
|
+
},
|
6500
|
+
|
6501
|
+
show: {
|
6502
|
+
type: Boolean,
|
6503
|
+
default: true
|
6504
|
+
},
|
6505
|
+
imgs: {
|
6506
|
+
type: Array,
|
6507
|
+
default: () => []
|
6508
|
+
}
|
6509
|
+
},
|
6510
|
+
data() {
|
6511
|
+
return {
|
6512
|
+
containerActive: false,
|
6513
|
+
// container active class
|
6514
|
+
containerSuccess: false,
|
6515
|
+
// container success class
|
6516
|
+
containerFail: false,
|
6517
|
+
// container fail class
|
6518
|
+
canvasCtx: null,
|
6519
|
+
blockCtx: null,
|
6520
|
+
block: null,
|
6521
|
+
block_x: undefined,
|
6522
|
+
// container random position
|
6523
|
+
block_y: undefined,
|
6524
|
+
L: this.l + this.r * 2 + 3,
|
6525
|
+
// block real length
|
6526
|
+
img: undefined,
|
6527
|
+
originX: undefined,
|
6528
|
+
originY: undefined,
|
6529
|
+
isMouseDown: false,
|
6530
|
+
trail: [],
|
6531
|
+
sliderLeft: 0,
|
6532
|
+
// block right offset
|
6533
|
+
sliderMaskWidth: 0,
|
6534
|
+
// mask width,
|
6535
|
+
success: false,
|
6536
|
+
// Bug Fixes 修复了验证成功后还能滑动
|
6537
|
+
loadBlock: true,
|
6538
|
+
// Features 图片加载提示,防止图片没加载完就开始验证
|
6539
|
+
timestamp: null
|
6540
|
+
};
|
6541
|
+
},
|
6542
|
+
mounted() {
|
6543
|
+
this.init();
|
6544
|
+
},
|
6545
|
+
methods: {
|
6546
|
+
init() {
|
6547
|
+
this.initDom();
|
6548
|
+
this.initImg();
|
6549
|
+
this.bindEvents();
|
6550
|
+
},
|
6551
|
+
initDom() {
|
6552
|
+
this.block = this.$refs.block;
|
6553
|
+
this.canvasCtx = this.$refs.canvas.getContext("2d");
|
6554
|
+
this.blockCtx = this.block.getContext("2d");
|
6555
|
+
},
|
6556
|
+
initImg() {
|
6557
|
+
const img = this.createImg(() => {
|
6558
|
+
// 图片加载完关闭遮蔽罩
|
6559
|
+
this.loadBlock = false;
|
6560
|
+
this.drawBlock();
|
6561
|
+
this.canvasCtx.drawImage(img, 0, 0, this.w, this.h);
|
6562
|
+
this.blockCtx.drawImage(img, 0, 0, this.w, this.h);
|
6563
|
+
let {
|
6564
|
+
block_x: x,
|
6565
|
+
block_y: y,
|
6566
|
+
r,
|
6567
|
+
L
|
6568
|
+
} = this;
|
6569
|
+
let _y = y - r * 2 - 1;
|
6570
|
+
let ImageData = this.blockCtx.getImageData(x, _y, L, L);
|
6571
|
+
this.block.width = L;
|
6572
|
+
this.blockCtx.putImageData(ImageData, 0, _y);
|
6573
|
+
});
|
6574
|
+
this.img = img;
|
6575
|
+
},
|
6576
|
+
drawBlock() {
|
6577
|
+
this.block_x = this.getRandomNumberByRange(this.L + 10, this.w - (this.L + 10));
|
6578
|
+
this.block_y = this.getRandomNumberByRange(10 + this.r * 2, this.h - (this.L + 10));
|
6579
|
+
this.draw(this.canvasCtx, this.block_x, this.block_y, "fill");
|
6580
|
+
this.draw(this.blockCtx, this.block_x, this.block_y, "clip");
|
6581
|
+
},
|
6582
|
+
draw(ctx, x, y, operation) {
|
6583
|
+
let {
|
6584
|
+
l,
|
6585
|
+
r
|
6586
|
+
} = this;
|
6587
|
+
ctx.beginPath();
|
6588
|
+
ctx.moveTo(x, y);
|
6589
|
+
ctx.arc(x + l / 2, y - r + 2, r, 0.72 * PI, 2.26 * PI);
|
6590
|
+
ctx.lineTo(x + l, y);
|
6591
|
+
ctx.arc(x + l + r - 2, y + l / 2, r, 1.21 * PI, 2.78 * PI);
|
6592
|
+
ctx.lineTo(x + l, y + l);
|
6593
|
+
ctx.lineTo(x, y + l);
|
6594
|
+
ctx.arc(x + r - 2, y + l / 2, r + 0.4, 2.76 * PI, 1.24 * PI, true);
|
6595
|
+
ctx.lineTo(x, y);
|
6596
|
+
ctx.lineWidth = 2;
|
6597
|
+
ctx.fillStyle = "rgba(255, 255, 255, 0.7)";
|
6598
|
+
ctx.strokeStyle = "rgba(255, 255, 255, 0.7)";
|
6599
|
+
ctx.stroke();
|
6600
|
+
ctx[operation]();
|
6601
|
+
// Bug Fixes 修复了火狐和ie显示问题
|
6602
|
+
ctx.globalCompositeOperation = "destination-over";
|
6603
|
+
},
|
6604
|
+
createImg(onload) {
|
6605
|
+
const img = document.createElement("img");
|
6606
|
+
img.crossOrigin = "Anonymous";
|
6607
|
+
img.onload = onload;
|
6608
|
+
img.onerror = () => {
|
6609
|
+
img.src = this.getRandomImg();
|
6610
|
+
};
|
6611
|
+
img.src = this.getRandomImg();
|
6612
|
+
return img;
|
6613
|
+
},
|
6614
|
+
// 随机生成img src
|
6615
|
+
getRandomImg() {
|
6616
|
+
// return require('../assets/img.jpg')
|
6617
|
+
const len = this.imgs.length;
|
6618
|
+
return len > 0 ? this.imgs[this.getRandomNumberByRange(0, len - 1)] :
|
6619
|
+
// "https://bing.ioliu.cn/v1/rand?w=300&h=150";
|
6620
|
+
"https://source.unsplash.com/300x150/?book,library";
|
6621
|
+
// "https://api.dujin.org/pic/fengjing";
|
6622
|
+
},
|
6623
|
+
|
6624
|
+
getRandomNumberByRange(start, end) {
|
6625
|
+
return Math.round(Math.random() * (end - start) + start);
|
6626
|
+
},
|
6627
|
+
refresh() {
|
6628
|
+
this.reset();
|
6629
|
+
this.$emit("refresh");
|
6630
|
+
},
|
6631
|
+
sliderDown(event) {
|
6632
|
+
if (this.success) return;
|
6633
|
+
this.originX = event.clientX;
|
6634
|
+
this.originY = event.clientY;
|
6635
|
+
this.isMouseDown = true;
|
6636
|
+
this.timestamp = +new Date();
|
6637
|
+
},
|
6638
|
+
touchStartEvent(e) {
|
6639
|
+
if (this.success) return;
|
6640
|
+
this.originX = e.changedTouches[0].pageX;
|
6641
|
+
this.originY = e.changedTouches[0].pageY;
|
6642
|
+
this.isMouseDown = true;
|
6643
|
+
this.timestamp = +new Date();
|
6644
|
+
},
|
6645
|
+
bindEvents() {
|
6646
|
+
document.addEventListener("mousemove", this.handleMoveEvent);
|
6647
|
+
document.addEventListener("mouseup", this.handleMoveEndEvent);
|
6648
|
+
},
|
6649
|
+
// 处理函数抽离
|
6650
|
+
handleMoveEvent: throttle(function (e, type = "mouse") {
|
6651
|
+
if (!this.isMouseDown) return false;
|
6652
|
+
const moveX = type === "mouse" ? e.clientX - this.originX : e.changedTouches[0].pageX - this.originX;
|
6653
|
+
const moveY = type === "mouse" ? e.clientY - this.originY : e.changedTouches[0].pageY - this.originY;
|
6654
|
+
if (moveX < 0 || moveX + 38 >= this.w) return false;
|
6655
|
+
this.sliderLeft = moveX + "px";
|
6656
|
+
let blockLeft = (this.w - 40 - 20) / (this.w - 40) * moveX;
|
6657
|
+
this.block.style.left = blockLeft + "px";
|
6658
|
+
this.containerActive = true; // add active
|
6659
|
+
this.sliderMaskWidth = moveX + "px";
|
6660
|
+
this.trail.push(moveY);
|
6661
|
+
}),
|
6662
|
+
handleMoveEndEvent(e, type = "mouse") {
|
6663
|
+
if (!this.isMouseDown) return false;
|
6664
|
+
this.isMouseDown = false;
|
6665
|
+
if (type === "mouse" && e.clientX === this.originX || type === "touch" && e.changedTouches[0].pageX === this.originX) return false;
|
6666
|
+
this.containerActive = false; // remove active
|
6667
|
+
this.timestamp = +new Date() - this.timestamp;
|
6668
|
+
const {
|
6669
|
+
spliced,
|
6670
|
+
TuringTest
|
6671
|
+
} = this.verify();
|
6672
|
+
if (spliced) {
|
6673
|
+
if (this.accuracy === -1) {
|
6674
|
+
this.containerSuccess = true;
|
6675
|
+
this.success = true;
|
6676
|
+
this.$emit("success", this.timestamp);
|
6677
|
+
return;
|
6678
|
+
}
|
6679
|
+
if (TuringTest) {
|
6680
|
+
// succ
|
6681
|
+
this.containerSuccess = true;
|
6682
|
+
this.success = true;
|
6683
|
+
this.$emit("success", this.timestamp);
|
6684
|
+
} else {
|
6685
|
+
this.containerFail = true;
|
6686
|
+
this.$emit("again");
|
6687
|
+
}
|
6688
|
+
} else {
|
6689
|
+
this.containerFail = true;
|
6690
|
+
this.$emit("fail");
|
6691
|
+
setTimeout(() => {
|
6692
|
+
this.reset();
|
6693
|
+
}, 1000);
|
6694
|
+
}
|
6695
|
+
},
|
6696
|
+
verify() {
|
6697
|
+
const arr = this.trail; // drag y move distance
|
6698
|
+
const average = arr.reduce(sum) / arr.length; // average
|
6699
|
+
const deviations = arr.map(x => x - average); // deviation array
|
6700
|
+
const stddev = Math.sqrt(deviations.map(square).reduce(sum) / arr.length); // standard deviation
|
6701
|
+
const left = parseInt(this.block.style.left);
|
6702
|
+
const accuracy = this.accuracy <= 1 ? 1 : this.accuracy > 10 ? 10 : this.accuracy;
|
6703
|
+
return {
|
6704
|
+
spliced: Math.abs(left - this.block_x) <= accuracy,
|
6705
|
+
TuringTest: average !== stddev // equal => not person operate
|
6706
|
+
};
|
6707
|
+
},
|
6708
|
+
|
6709
|
+
reset() {
|
6710
|
+
this.success = false;
|
6711
|
+
this.containerActive = false;
|
6712
|
+
this.containerSuccess = false;
|
6713
|
+
this.containerFail = false;
|
6714
|
+
this.sliderLeft = 0;
|
6715
|
+
this.block.style.left = 0;
|
6716
|
+
this.sliderMaskWidth = 0;
|
6717
|
+
// canvas
|
6718
|
+
let {
|
6719
|
+
w,
|
6720
|
+
h
|
6721
|
+
} = this;
|
6722
|
+
this.canvasCtx.clearRect(0, 0, w, h);
|
6723
|
+
this.blockCtx.clearRect(0, 0, w, h);
|
6724
|
+
this.block.width = w;
|
6725
|
+
|
6726
|
+
// generate img
|
6727
|
+
this.img.src = this.getRandomImg();
|
6728
|
+
this.$emit("fulfilled");
|
6729
|
+
}
|
6730
|
+
},
|
6731
|
+
destroyed() {
|
6732
|
+
document.removeEventListener("mousemove", this.handleMoveEvent);
|
6733
|
+
document.removeEventListener("mouseup", this.handleMoveEndEvent);
|
6734
|
+
}
|
6735
|
+
});
|
6736
|
+
function throttle(fn, interval = 50, options = {
|
6737
|
+
leading: true,
|
6738
|
+
trailing: true
|
6739
|
+
}) {
|
6740
|
+
const {
|
6741
|
+
leading,
|
6742
|
+
trailing,
|
6743
|
+
resultCallback
|
6744
|
+
} = options;
|
6745
|
+
let lastTime = 0;
|
6746
|
+
let timer = null;
|
6747
|
+
const _throttle = function (...args) {
|
6748
|
+
return new Promise((resolve, reject) => {
|
6749
|
+
const nowTime = new Date().getTime();
|
6750
|
+
if (!lastTime && !leading) lastTime = nowTime;
|
6751
|
+
const remainTime = interval - (nowTime - lastTime);
|
6752
|
+
if (remainTime <= 0) {
|
6753
|
+
if (timer) {
|
6754
|
+
clearTimeout(timer);
|
6755
|
+
timer = null;
|
6756
|
+
}
|
6757
|
+
const result = fn.apply(this, args);
|
6758
|
+
if (resultCallback) resultCallback(result);
|
6759
|
+
resolve(result);
|
6760
|
+
lastTime = nowTime;
|
6761
|
+
return;
|
6762
|
+
}
|
6763
|
+
if (trailing && !timer) {
|
6764
|
+
timer = setTimeout(() => {
|
6765
|
+
timer = null;
|
6766
|
+
lastTime = !leading ? 0 : new Date().getTime();
|
6767
|
+
const result = fn.apply(this, args);
|
6768
|
+
if (resultCallback) resultCallback(result);
|
6769
|
+
resolve(result);
|
6770
|
+
}, remainTime);
|
6771
|
+
}
|
6772
|
+
});
|
6773
|
+
};
|
6774
|
+
_throttle.cancel = function () {
|
6775
|
+
if (timer) clearTimeout(timer);
|
6776
|
+
timer = null;
|
6777
|
+
lastTime = 0;
|
6778
|
+
};
|
6779
|
+
return _throttle;
|
6780
|
+
}
|
6781
|
+
;// CONCATENATED MODULE: ./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=script&lang=js&
|
6782
|
+
/* harmony default export */ var lib_slide_verifyvue_type_script_lang_js_ = (slide_verifyvue_type_script_lang_js_);
|
6783
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=style&index=0&id=b67196d8&prod&scoped=true&lang=css&
|
6784
|
+
// extracted by mini-css-extract-plugin
|
6785
|
+
|
6786
|
+
;// CONCATENATED MODULE: ./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=style&index=0&id=b67196d8&prod&scoped=true&lang=css&
|
6787
|
+
|
6788
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
6789
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
6790
|
+
|
6791
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
6792
|
+
// This module is a runtime utility for cleaner component module output and will
|
6793
|
+
// be included in the final webpack user bundle.
|
6794
|
+
|
6795
|
+
function normalizeComponent(
|
6796
|
+
scriptExports,
|
6797
|
+
render,
|
6798
|
+
staticRenderFns,
|
6799
|
+
functionalTemplate,
|
6800
|
+
injectStyles,
|
6801
|
+
scopeId,
|
6802
|
+
moduleIdentifier /* server only */,
|
6803
|
+
shadowMode /* vue-cli only */
|
6804
|
+
) {
|
6805
|
+
// Vue.extend constructor export interop
|
6806
|
+
var options =
|
6807
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
6808
|
+
|
6809
|
+
// render functions
|
6810
|
+
if (render) {
|
6811
|
+
options.render = render
|
6812
|
+
options.staticRenderFns = staticRenderFns
|
6813
|
+
options._compiled = true
|
6814
|
+
}
|
6815
|
+
|
6816
|
+
// functional template
|
6817
|
+
if (functionalTemplate) {
|
6818
|
+
options.functional = true
|
6819
|
+
}
|
6820
|
+
|
6821
|
+
// scopedId
|
6822
|
+
if (scopeId) {
|
6823
|
+
options._scopeId = 'data-v-' + scopeId
|
6824
|
+
}
|
6825
|
+
|
6826
|
+
var hook
|
6827
|
+
if (moduleIdentifier) {
|
6828
|
+
// server build
|
6829
|
+
hook = function (context) {
|
6830
|
+
// 2.3 injection
|
6831
|
+
context =
|
6832
|
+
context || // cached call
|
6833
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
6834
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
6835
|
+
// 2.2 with runInNewContext: true
|
6836
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
6837
|
+
context = __VUE_SSR_CONTEXT__
|
6838
|
+
}
|
6839
|
+
// inject component styles
|
6840
|
+
if (injectStyles) {
|
6841
|
+
injectStyles.call(this, context)
|
6842
|
+
}
|
6843
|
+
// register component module identifier for async chunk inferrence
|
6844
|
+
if (context && context._registeredComponents) {
|
6845
|
+
context._registeredComponents.add(moduleIdentifier)
|
6846
|
+
}
|
6847
|
+
}
|
6848
|
+
// used by ssr in case component is cached and beforeCreate
|
6849
|
+
// never gets called
|
6850
|
+
options._ssrRegister = hook
|
6851
|
+
} else if (injectStyles) {
|
6852
|
+
hook = shadowMode
|
6853
|
+
? function () {
|
6854
|
+
injectStyles.call(
|
6855
|
+
this,
|
6856
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
6857
|
+
)
|
6858
|
+
}
|
6859
|
+
: injectStyles
|
6860
|
+
}
|
6861
|
+
|
6862
|
+
if (hook) {
|
6863
|
+
if (options.functional) {
|
6864
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
6865
|
+
// go through the normalizer
|
6866
|
+
options._injectStyles = hook
|
6867
|
+
// register for functional component in vue file
|
6868
|
+
var originalRender = options.render
|
6869
|
+
options.render = function renderWithStyleInjection(h, context) {
|
6870
|
+
hook.call(context)
|
6871
|
+
return originalRender(h, context)
|
6872
|
+
}
|
6873
|
+
} else {
|
6874
|
+
// inject component registration as beforeCreate hook
|
6875
|
+
var existing = options.beforeCreate
|
6876
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
6877
|
+
}
|
6878
|
+
}
|
6879
|
+
|
6880
|
+
return {
|
6881
|
+
exports: scriptExports,
|
6882
|
+
options: options
|
6883
|
+
}
|
6884
|
+
}
|
6885
|
+
|
6886
|
+
;// CONCATENATED MODULE: ./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue
|
6887
|
+
|
6888
|
+
|
6889
|
+
|
6890
|
+
;
|
6891
|
+
|
6892
|
+
|
6893
|
+
/* normalize component */
|
6894
|
+
|
6895
|
+
var component = normalizeComponent(
|
6896
|
+
lib_slide_verifyvue_type_script_lang_js_,
|
6897
|
+
slide_verifyvue_type_template_id_b67196d8_scoped_true_render,
|
6898
|
+
slide_verifyvue_type_template_id_b67196d8_scoped_true_staticRenderFns,
|
6899
|
+
false,
|
6900
|
+
null,
|
6901
|
+
"b67196d8",
|
6902
|
+
null
|
6903
|
+
|
6904
|
+
)
|
6905
|
+
|
6906
|
+
/* harmony default export */ var slide_verify = (component.exports);
|
6746
6907
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcSlideVerify/index.vue?vue&type=script&lang=js&
|
6747
6908
|
|
6909
|
+
|
6748
6910
|
/* harmony default export */ var YcSlideVerifyvue_type_script_lang_js_ = ({
|
6749
6911
|
name: "YcSlideVerify",
|
6750
6912
|
components: {
|
6751
|
-
|
6913
|
+
SlideVerify: slide_verify
|
6752
6914
|
},
|
6753
6915
|
props: {
|
6754
6916
|
title: {
|
@@ -6798,13 +6960,11 @@ var es_array_push = __webpack_require__(7658);
|
|
6798
6960
|
});
|
6799
6961
|
;// CONCATENATED MODULE: ./src/components/YcSlideVerify/index.vue?vue&type=script&lang=js&
|
6800
6962
|
/* harmony default export */ var components_YcSlideVerifyvue_type_script_lang_js_ = (YcSlideVerifyvue_type_script_lang_js_);
|
6801
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcSlideVerify/index.vue?vue&type=style&index=0&id=
|
6963
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcSlideVerify/index.vue?vue&type=style&index=0&id=2c1e2525&prod&lang=scss&scoped=true&
|
6802
6964
|
// extracted by mini-css-extract-plugin
|
6803
6965
|
|
6804
|
-
;// CONCATENATED MODULE: ./src/components/YcSlideVerify/index.vue?vue&type=style&index=0&id=
|
6966
|
+
;// CONCATENATED MODULE: ./src/components/YcSlideVerify/index.vue?vue&type=style&index=0&id=2c1e2525&prod&lang=scss&scoped=true&
|
6805
6967
|
|
6806
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
6807
|
-
var componentNormalizer = __webpack_require__(1001);
|
6808
6968
|
;// CONCATENATED MODULE: ./src/components/YcSlideVerify/index.vue
|
6809
6969
|
|
6810
6970
|
|
@@ -6814,18 +6974,18 @@ var componentNormalizer = __webpack_require__(1001);
|
|
6814
6974
|
|
6815
6975
|
/* normalize component */
|
6816
6976
|
|
6817
|
-
var
|
6977
|
+
var YcSlideVerify_component = normalizeComponent(
|
6818
6978
|
components_YcSlideVerifyvue_type_script_lang_js_,
|
6819
6979
|
render,
|
6820
6980
|
staticRenderFns,
|
6821
6981
|
false,
|
6822
6982
|
null,
|
6823
|
-
"
|
6983
|
+
"2c1e2525",
|
6824
6984
|
null
|
6825
6985
|
|
6826
6986
|
)
|
6827
6987
|
|
6828
|
-
/* harmony default export */ var YcSlideVerify = (
|
6988
|
+
/* harmony default export */ var YcSlideVerify = (YcSlideVerify_component.exports);
|
6829
6989
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcCustomerService/index.vue?vue&type=template&id=849349a0&scoped=true&
|
6830
6990
|
var YcCustomerServicevue_type_template_id_849349a0_scoped_true_render = function render() {
|
6831
6991
|
var _vm = this,
|
@@ -7113,7 +7273,7 @@ var chatvue_type_template_id_755436e0_scoped_true_staticRenderFns = [];
|
|
7113
7273
|
|
7114
7274
|
/* normalize component */
|
7115
7275
|
|
7116
|
-
var chat_component = (
|
7276
|
+
var chat_component = normalizeComponent(
|
7117
7277
|
YcCustomerService_chatvue_type_script_lang_js_,
|
7118
7278
|
chatvue_type_template_id_755436e0_scoped_true_render,
|
7119
7279
|
chatvue_type_template_id_755436e0_scoped_true_staticRenderFns,
|
@@ -7177,7 +7337,7 @@ var chat_component = (0,componentNormalizer/* default */.Z)(
|
|
7177
7337
|
|
7178
7338
|
/* normalize component */
|
7179
7339
|
|
7180
|
-
var YcCustomerService_component = (
|
7340
|
+
var YcCustomerService_component = normalizeComponent(
|
7181
7341
|
components_YcCustomerServicevue_type_script_lang_js_,
|
7182
7342
|
YcCustomerServicevue_type_template_id_849349a0_scoped_true_render,
|
7183
7343
|
YcCustomerServicevue_type_template_id_849349a0_scoped_true_staticRenderFns,
|
@@ -7366,7 +7526,7 @@ var YcQuestionvue_type_template_id_6185ef7a_scoped_true_staticRenderFns = [];
|
|
7366
7526
|
|
7367
7527
|
/* normalize component */
|
7368
7528
|
|
7369
|
-
var YcQuestion_component = (
|
7529
|
+
var YcQuestion_component = normalizeComponent(
|
7370
7530
|
components_YcQuestionvue_type_script_lang_js_,
|
7371
7531
|
YcQuestionvue_type_template_id_6185ef7a_scoped_true_render,
|
7372
7532
|
YcQuestionvue_type_template_id_6185ef7a_scoped_true_staticRenderFns,
|
@@ -9385,7 +9545,7 @@ function formateTime(dateStr) {
|
|
9385
9545
|
|
9386
9546
|
/* normalize component */
|
9387
9547
|
|
9388
|
-
var YcCA_component = (
|
9548
|
+
var YcCA_component = normalizeComponent(
|
9389
9549
|
components_YcCAvue_type_script_lang_js_,
|
9390
9550
|
YcCAvue_type_template_id_eeb04946_scoped_true_render,
|
9391
9551
|
YcCAvue_type_template_id_eeb04946_scoped_true_staticRenderFns,
|