@v2coding/ui 0.1.15 → 0.1.18
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/v2coding-ui.esm.js +93 -36
- package/dist/v2coding-ui.min.js +3 -1
- package/dist/v2coding-ui.ssr.js +520 -98
- package/package.json +1 -1
package/dist/v2coding-ui.ssr.js
CHANGED
|
@@ -127,14 +127,9 @@ var DefaultSetting$1 = DefaultSetting;function ownKeys(object, enumerableOnly) {
|
|
|
127
127
|
|
|
128
128
|
if (Object.getOwnPropertySymbols) {
|
|
129
129
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
keys.push.apply(keys, symbols);
|
|
130
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
131
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
132
|
+
})), keys.push.apply(keys, symbols);
|
|
138
133
|
}
|
|
139
134
|
|
|
140
135
|
return keys;
|
|
@@ -142,38 +137,370 @@ var DefaultSetting$1 = DefaultSetting;function ownKeys(object, enumerableOnly) {
|
|
|
142
137
|
|
|
143
138
|
function _objectSpread2(target) {
|
|
144
139
|
for (var i = 1; i < arguments.length; i++) {
|
|
145
|
-
var source = arguments[i]
|
|
140
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
141
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
142
|
+
_defineProperty(target, key, source[key]);
|
|
143
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
144
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
145
|
+
});
|
|
146
|
+
}
|
|
146
147
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
148
|
+
return target;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
function _regeneratorRuntime() {
|
|
152
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
153
|
+
|
|
154
|
+
_regeneratorRuntime = function () {
|
|
155
|
+
return exports;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
var exports = {},
|
|
159
|
+
Op = Object.prototype,
|
|
160
|
+
hasOwn = Op.hasOwnProperty,
|
|
161
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
162
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
163
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
164
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
165
|
+
|
|
166
|
+
function define(obj, key, value) {
|
|
167
|
+
return Object.defineProperty(obj, key, {
|
|
168
|
+
value: value,
|
|
169
|
+
enumerable: !0,
|
|
170
|
+
configurable: !0,
|
|
171
|
+
writable: !0
|
|
172
|
+
}), obj[key];
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
try {
|
|
176
|
+
define({}, "");
|
|
177
|
+
} catch (err) {
|
|
178
|
+
define = function (obj, key, value) {
|
|
179
|
+
return obj[key] = value;
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
184
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
185
|
+
generator = Object.create(protoGenerator.prototype),
|
|
186
|
+
context = new Context(tryLocsList || []);
|
|
187
|
+
return generator._invoke = function (innerFn, self, context) {
|
|
188
|
+
var state = "suspendedStart";
|
|
189
|
+
return function (method, arg) {
|
|
190
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
191
|
+
|
|
192
|
+
if ("completed" === state) {
|
|
193
|
+
if ("throw" === method) throw arg;
|
|
194
|
+
return doneResult();
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
for (context.method = method, context.arg = arg;;) {
|
|
198
|
+
var delegate = context.delegate;
|
|
199
|
+
|
|
200
|
+
if (delegate) {
|
|
201
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
202
|
+
|
|
203
|
+
if (delegateResult) {
|
|
204
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
205
|
+
return delegateResult;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
210
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
211
|
+
context.dispatchException(context.arg);
|
|
212
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
213
|
+
state = "executing";
|
|
214
|
+
var record = tryCatch(innerFn, self, context);
|
|
215
|
+
|
|
216
|
+
if ("normal" === record.type) {
|
|
217
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
218
|
+
return {
|
|
219
|
+
value: record.arg,
|
|
220
|
+
done: context.done
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
}(innerFn, self, context), generator;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
function tryCatch(fn, obj, arg) {
|
|
231
|
+
try {
|
|
232
|
+
return {
|
|
233
|
+
type: "normal",
|
|
234
|
+
arg: fn.call(obj, arg)
|
|
235
|
+
};
|
|
236
|
+
} catch (err) {
|
|
237
|
+
return {
|
|
238
|
+
type: "throw",
|
|
239
|
+
arg: err
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
exports.wrap = wrap;
|
|
245
|
+
var ContinueSentinel = {};
|
|
246
|
+
|
|
247
|
+
function Generator() {}
|
|
248
|
+
|
|
249
|
+
function GeneratorFunction() {}
|
|
250
|
+
|
|
251
|
+
function GeneratorFunctionPrototype() {}
|
|
252
|
+
|
|
253
|
+
var IteratorPrototype = {};
|
|
254
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
255
|
+
return this;
|
|
256
|
+
});
|
|
257
|
+
var getProto = Object.getPrototypeOf,
|
|
258
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
259
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
260
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
261
|
+
|
|
262
|
+
function defineIteratorMethods(prototype) {
|
|
263
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
264
|
+
define(prototype, method, function (arg) {
|
|
265
|
+
return this._invoke(method, arg);
|
|
156
266
|
});
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
271
|
+
function invoke(method, arg, resolve, reject) {
|
|
272
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
273
|
+
|
|
274
|
+
if ("throw" !== record.type) {
|
|
275
|
+
var result = record.arg,
|
|
276
|
+
value = result.value;
|
|
277
|
+
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
278
|
+
invoke("next", value, resolve, reject);
|
|
279
|
+
}, function (err) {
|
|
280
|
+
invoke("throw", err, resolve, reject);
|
|
281
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
282
|
+
result.value = unwrapped, resolve(result);
|
|
283
|
+
}, function (error) {
|
|
284
|
+
return invoke("throw", error, resolve, reject);
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
reject(record.arg);
|
|
157
289
|
}
|
|
290
|
+
|
|
291
|
+
var previousPromise;
|
|
292
|
+
|
|
293
|
+
this._invoke = function (method, arg) {
|
|
294
|
+
function callInvokeWithMethodAndArg() {
|
|
295
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
296
|
+
invoke(method, arg, resolve, reject);
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
301
|
+
};
|
|
158
302
|
}
|
|
159
303
|
|
|
160
|
-
|
|
161
|
-
|
|
304
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
305
|
+
var method = delegate.iterator[context.method];
|
|
162
306
|
|
|
163
|
-
|
|
164
|
-
|
|
307
|
+
if (undefined === method) {
|
|
308
|
+
if (context.delegate = null, "throw" === context.method) {
|
|
309
|
+
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
|
310
|
+
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
return ContinueSentinel;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
317
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
318
|
+
var info = record.arg;
|
|
319
|
+
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
|
|
320
|
+
}
|
|
165
321
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
322
|
+
function pushTryEntry(locs) {
|
|
323
|
+
var entry = {
|
|
324
|
+
tryLoc: locs[0]
|
|
169
325
|
};
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
326
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
function resetTryEntry(entry) {
|
|
330
|
+
var record = entry.completion || {};
|
|
331
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
function Context(tryLocsList) {
|
|
335
|
+
this.tryEntries = [{
|
|
336
|
+
tryLoc: "root"
|
|
337
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
function values(iterable) {
|
|
341
|
+
if (iterable) {
|
|
342
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
343
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
344
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
345
|
+
|
|
346
|
+
if (!isNaN(iterable.length)) {
|
|
347
|
+
var i = -1,
|
|
348
|
+
next = function next() {
|
|
349
|
+
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
350
|
+
|
|
351
|
+
return next.value = undefined, next.done = !0, next;
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
return next.next = next;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
return {
|
|
359
|
+
next: doneResult
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
function doneResult() {
|
|
364
|
+
return {
|
|
365
|
+
value: undefined,
|
|
366
|
+
done: !0
|
|
173
367
|
};
|
|
174
368
|
}
|
|
175
369
|
|
|
176
|
-
return
|
|
370
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
371
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
372
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
373
|
+
}, exports.mark = function (genFun) {
|
|
374
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
375
|
+
}, exports.awrap = function (arg) {
|
|
376
|
+
return {
|
|
377
|
+
__await: arg
|
|
378
|
+
};
|
|
379
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
380
|
+
return this;
|
|
381
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
382
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
383
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
384
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
385
|
+
return result.done ? result.value : iter.next();
|
|
386
|
+
});
|
|
387
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
388
|
+
return this;
|
|
389
|
+
}), define(Gp, "toString", function () {
|
|
390
|
+
return "[object Generator]";
|
|
391
|
+
}), exports.keys = function (object) {
|
|
392
|
+
var keys = [];
|
|
393
|
+
|
|
394
|
+
for (var key in object) keys.push(key);
|
|
395
|
+
|
|
396
|
+
return keys.reverse(), function next() {
|
|
397
|
+
for (; keys.length;) {
|
|
398
|
+
var key = keys.pop();
|
|
399
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
return next.done = !0, next;
|
|
403
|
+
};
|
|
404
|
+
}, exports.values = values, Context.prototype = {
|
|
405
|
+
constructor: Context,
|
|
406
|
+
reset: function (skipTempReset) {
|
|
407
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
408
|
+
},
|
|
409
|
+
stop: function () {
|
|
410
|
+
this.done = !0;
|
|
411
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
412
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
413
|
+
return this.rval;
|
|
414
|
+
},
|
|
415
|
+
dispatchException: function (exception) {
|
|
416
|
+
if (this.done) throw exception;
|
|
417
|
+
var context = this;
|
|
418
|
+
|
|
419
|
+
function handle(loc, caught) {
|
|
420
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
424
|
+
var entry = this.tryEntries[i],
|
|
425
|
+
record = entry.completion;
|
|
426
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
427
|
+
|
|
428
|
+
if (entry.tryLoc <= this.prev) {
|
|
429
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
430
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
431
|
+
|
|
432
|
+
if (hasCatch && hasFinally) {
|
|
433
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
434
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
435
|
+
} else if (hasCatch) {
|
|
436
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
437
|
+
} else {
|
|
438
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
439
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
abrupt: function (type, arg) {
|
|
445
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
446
|
+
var entry = this.tryEntries[i];
|
|
447
|
+
|
|
448
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
449
|
+
var finallyEntry = entry;
|
|
450
|
+
break;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
455
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
456
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
457
|
+
},
|
|
458
|
+
complete: function (record, afterLoc) {
|
|
459
|
+
if ("throw" === record.type) throw record.arg;
|
|
460
|
+
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
|
|
461
|
+
},
|
|
462
|
+
finish: function (finallyLoc) {
|
|
463
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
464
|
+
var entry = this.tryEntries[i];
|
|
465
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
catch: function (tryLoc) {
|
|
469
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
470
|
+
var entry = this.tryEntries[i];
|
|
471
|
+
|
|
472
|
+
if (entry.tryLoc === tryLoc) {
|
|
473
|
+
var record = entry.completion;
|
|
474
|
+
|
|
475
|
+
if ("throw" === record.type) {
|
|
476
|
+
var thrown = record.arg;
|
|
477
|
+
resetTryEntry(entry);
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
return thrown;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
throw new Error("illegal catch attempt");
|
|
485
|
+
},
|
|
486
|
+
delegateYield: function (iterable, resultName, nextLoc) {
|
|
487
|
+
return this.delegate = {
|
|
488
|
+
iterator: values(iterable),
|
|
489
|
+
resultName: resultName,
|
|
490
|
+
nextLoc: nextLoc
|
|
491
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
492
|
+
}
|
|
493
|
+
}, exports;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
function _typeof(obj) {
|
|
497
|
+
"@babel/helpers - typeof";
|
|
498
|
+
|
|
499
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
500
|
+
return typeof obj;
|
|
501
|
+
} : function (obj) {
|
|
502
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
503
|
+
}, _typeof(obj);
|
|
177
504
|
}
|
|
178
505
|
|
|
179
506
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -700,10 +1027,10 @@ var Iconfont = {
|
|
|
700
1027
|
document.body.appendChild(script);
|
|
701
1028
|
},
|
|
702
1029
|
getIcons: function () {
|
|
703
|
-
var _getIcons = _asyncToGenerator( /*#__PURE__*/
|
|
1030
|
+
var _getIcons = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
704
1031
|
var _yield$to, _yield$to2, res, _res$data, glyphs, callback;
|
|
705
1032
|
|
|
706
|
-
return
|
|
1033
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
707
1034
|
while (1) {
|
|
708
1035
|
switch (_context.prev = _context.next) {
|
|
709
1036
|
case 0:
|
|
@@ -1256,8 +1583,8 @@ var permission = function permission(identities) {
|
|
|
1256
1583
|
init: function init() {
|
|
1257
1584
|
var _this = this;
|
|
1258
1585
|
|
|
1259
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
1260
|
-
return
|
|
1586
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
1587
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1261
1588
|
while (1) {
|
|
1262
1589
|
switch (_context.prev = _context.next) {
|
|
1263
1590
|
case 0:
|
|
@@ -2831,8 +3158,8 @@ var CheckboxField = __vue_component__$C;var script$A = {
|
|
|
2831
3158
|
init: function init() {
|
|
2832
3159
|
var _this = this;
|
|
2833
3160
|
|
|
2834
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
2835
|
-
return
|
|
3161
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3162
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2836
3163
|
while (1) {
|
|
2837
3164
|
switch (_context.prev = _context.next) {
|
|
2838
3165
|
case 0:
|
|
@@ -2979,8 +3306,53 @@ var CheckboxField = __vue_component__$C;var script$A = {
|
|
|
2979
3306
|
filterMethod: function filterMethod(query) {
|
|
2980
3307
|
this.query = query;
|
|
2981
3308
|
},
|
|
2982
|
-
|
|
2983
|
-
|
|
3309
|
+
delay: function delay() {
|
|
3310
|
+
var _arguments = arguments;
|
|
3311
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
3312
|
+
var ms;
|
|
3313
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
3314
|
+
while (1) {
|
|
3315
|
+
switch (_context2.prev = _context2.next) {
|
|
3316
|
+
case 0:
|
|
3317
|
+
ms = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : 0;
|
|
3318
|
+
return _context2.abrupt("return", new Promise(function (resolve) {
|
|
3319
|
+
return setTimeout(resolve, ms);
|
|
3320
|
+
}));
|
|
3321
|
+
|
|
3322
|
+
case 2:
|
|
3323
|
+
case "end":
|
|
3324
|
+
return _context2.stop();
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
}, _callee2);
|
|
3328
|
+
}))();
|
|
3329
|
+
},
|
|
3330
|
+
onVisibleChange: function onVisibleChange(visible) {
|
|
3331
|
+
var _this5 = this;
|
|
3332
|
+
|
|
3333
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
3334
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
3335
|
+
while (1) {
|
|
3336
|
+
switch (_context3.prev = _context3.next) {
|
|
3337
|
+
case 0:
|
|
3338
|
+
if (visible) {
|
|
3339
|
+
_context3.next = 4;
|
|
3340
|
+
break;
|
|
3341
|
+
}
|
|
3342
|
+
|
|
3343
|
+
_context3.next = 3;
|
|
3344
|
+
return _this5.delay(300);
|
|
3345
|
+
|
|
3346
|
+
case 3:
|
|
3347
|
+
_this5.query = '';
|
|
3348
|
+
|
|
3349
|
+
case 4:
|
|
3350
|
+
case "end":
|
|
3351
|
+
return _context3.stop();
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
}, _callee3);
|
|
3355
|
+
}))();
|
|
2984
3356
|
}
|
|
2985
3357
|
}
|
|
2986
3358
|
};/* script */
|
|
@@ -3014,7 +3386,7 @@ var __vue_render__$A = function __vue_render__() {
|
|
|
3014
3386
|
},
|
|
3015
3387
|
on: {
|
|
3016
3388
|
"input": _vm.onChange,
|
|
3017
|
-
"
|
|
3389
|
+
"visible-change": _vm.onVisibleChange
|
|
3018
3390
|
}
|
|
3019
3391
|
}, 'el-select', _vm.$attrs, false), _vm._listeners), [_vm._l(_vm.displayOptions, function (item) {
|
|
3020
3392
|
return _c('el-option', _vm._b({
|
|
@@ -3065,7 +3437,7 @@ var __vue_render__$A = function __vue_render__() {
|
|
|
3065
3437
|
},
|
|
3066
3438
|
on: {
|
|
3067
3439
|
"input": _vm.onChange,
|
|
3068
|
-
"
|
|
3440
|
+
"visible-change": _vm.onVisibleChange
|
|
3069
3441
|
}
|
|
3070
3442
|
}, 'el-select', _vm.$attrs, false), _vm._listeners), [_vm._l(_vm.displayOptions, function (item) {
|
|
3071
3443
|
return _c('el-option', _vm._b({
|
|
@@ -3113,7 +3485,7 @@ var __vue_staticRenderFns__$A = [];
|
|
|
3113
3485
|
|
|
3114
3486
|
var __vue_inject_styles__$B = function __vue_inject_styles__(inject) {
|
|
3115
3487
|
if (!inject) return;
|
|
3116
|
-
inject("data-v-
|
|
3488
|
+
inject("data-v-5ed62eec_0", {
|
|
3117
3489
|
source: ".ui-field-select .el-select{width:100%}.ui-field-select .el-input-group--append .el-select .el-input.is-focus .el-input__inner{border-color:var(--color-primary)}.ui-field-select .empty{font-size:12px;color:#909399;display:flex;align-items:center}.ui-field-select .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
3118
3490
|
map: undefined,
|
|
3119
3491
|
media: undefined
|
|
@@ -3125,7 +3497,7 @@ var __vue_inject_styles__$B = function __vue_inject_styles__(inject) {
|
|
|
3125
3497
|
var __vue_scope_id__$B = undefined;
|
|
3126
3498
|
/* module identifier */
|
|
3127
3499
|
|
|
3128
|
-
var __vue_module_identifier__$B = "data-v-
|
|
3500
|
+
var __vue_module_identifier__$B = "data-v-5ed62eec";
|
|
3129
3501
|
/* functional template */
|
|
3130
3502
|
|
|
3131
3503
|
var __vue_is_functional_template__$B = false;
|
|
@@ -3295,9 +3667,9 @@ var script$y = {
|
|
|
3295
3667
|
init: function init() {
|
|
3296
3668
|
var _this = this;
|
|
3297
3669
|
|
|
3298
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
3670
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3299
3671
|
var data;
|
|
3300
|
-
return
|
|
3672
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
3301
3673
|
while (1) {
|
|
3302
3674
|
switch (_context.prev = _context.next) {
|
|
3303
3675
|
case 0:
|
|
@@ -4430,6 +4802,35 @@ var ColorField = __vue_component__$r;var Upload = {
|
|
|
4430
4802
|
};
|
|
4431
4803
|
});
|
|
4432
4804
|
});
|
|
4805
|
+
},
|
|
4806
|
+
aws: function aws(url, params, file) {
|
|
4807
|
+
var getSignature = function getSignature(params) {
|
|
4808
|
+
return Axios.getInstance().get(url, {
|
|
4809
|
+
params: params
|
|
4810
|
+
});
|
|
4811
|
+
};
|
|
4812
|
+
|
|
4813
|
+
return getSignature(params).then(function (result) {
|
|
4814
|
+
if (!result.success) {
|
|
4815
|
+
return result;
|
|
4816
|
+
}
|
|
4817
|
+
|
|
4818
|
+
var _result$data2 = result.data,
|
|
4819
|
+
url = _result$data2.url,
|
|
4820
|
+
putUrl = _result$data2.putUrl;
|
|
4821
|
+
return Axios.getInstance().put(putUrl, file.file, {
|
|
4822
|
+
headers: {
|
|
4823
|
+
'Content-Type': 'multipart/form-data'
|
|
4824
|
+
}
|
|
4825
|
+
}).then(function () {
|
|
4826
|
+
return {
|
|
4827
|
+
success: true,
|
|
4828
|
+
data: {
|
|
4829
|
+
url: url
|
|
4830
|
+
}
|
|
4831
|
+
};
|
|
4832
|
+
});
|
|
4833
|
+
});
|
|
4433
4834
|
}
|
|
4434
4835
|
};var _excluded$7 = ["upload"];
|
|
4435
4836
|
var quillRedefine = function quillRedefine(config) {
|
|
@@ -4721,6 +5122,7 @@ var script$p = {
|
|
|
4721
5122
|
type: Boolean,
|
|
4722
5123
|
default: false
|
|
4723
5124
|
},
|
|
5125
|
+
customUpload: Function,
|
|
4724
5126
|
needCreateAttachment: {
|
|
4725
5127
|
type: Boolean,
|
|
4726
5128
|
default: false
|
|
@@ -4780,41 +5182,61 @@ var script$p = {
|
|
|
4780
5182
|
}
|
|
4781
5183
|
|
|
4782
5184
|
this.uploading = true;
|
|
4783
|
-
var uploadServer = Upload[this.uploadType] || Upload.default;
|
|
4784
|
-
uploadServer(this.url, {
|
|
4785
|
-
filename: file.name
|
|
4786
|
-
}, {
|
|
4787
|
-
file: file,
|
|
4788
|
-
filename: this.filename
|
|
4789
|
-
}).then(function (result) {
|
|
4790
|
-
var _result$data;
|
|
4791
5185
|
|
|
4792
|
-
|
|
5186
|
+
if (typeof this.customUpload === 'function') {
|
|
5187
|
+
var done = function done(url) {
|
|
5188
|
+
_this.onChange([].concat(_toConsumableArray(_this.pickerValue), [url]).join(','));
|
|
4793
5189
|
|
|
4794
|
-
|
|
4795
|
-
|
|
5190
|
+
_this.handleAttachment(file, url);
|
|
5191
|
+
};
|
|
4796
5192
|
|
|
4797
|
-
|
|
4798
|
-
|
|
5193
|
+
this.customUpload({
|
|
5194
|
+
file: file,
|
|
5195
|
+
filename: this.filename,
|
|
5196
|
+
done: done
|
|
5197
|
+
});
|
|
5198
|
+
} else {
|
|
5199
|
+
var uploadServer = Upload[this.uploadType] || Upload.default;
|
|
5200
|
+
uploadServer(this.url, {
|
|
5201
|
+
filename: file.name
|
|
5202
|
+
}, {
|
|
5203
|
+
file: file,
|
|
5204
|
+
filename: this.filename
|
|
5205
|
+
}).then(function (result) {
|
|
5206
|
+
var _result$data;
|
|
4799
5207
|
|
|
4800
|
-
|
|
5208
|
+
_this.uploading = false;
|
|
4801
5209
|
|
|
4802
|
-
|
|
5210
|
+
if (!(result !== null && result !== void 0 && result.success)) {
|
|
5211
|
+
_this.$message.error(result.message || '上传失败');
|
|
4803
5212
|
|
|
4804
|
-
|
|
5213
|
+
return;
|
|
5214
|
+
}
|
|
4805
5215
|
|
|
4806
|
-
|
|
5216
|
+
_this.$message.success('上传成功');
|
|
4807
5217
|
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
5218
|
+
var url = result === null || result === void 0 ? void 0 : (_result$data = result.data) === null || _result$data === void 0 ? void 0 : _result$data.url;
|
|
5219
|
+
|
|
5220
|
+
_this.onChange([].concat(_toConsumableArray(_this.pickerValue), [url]).join(','));
|
|
5221
|
+
|
|
5222
|
+
_this.$emit('afterUpload', result);
|
|
5223
|
+
|
|
5224
|
+
_this.handleAttachment(file, url);
|
|
5225
|
+
}).catch(function () {
|
|
5226
|
+
_this.uploading = false;
|
|
5227
|
+
});
|
|
5228
|
+
}
|
|
5229
|
+
},
|
|
5230
|
+
handleAttachment: function handleAttachment(file, url) {
|
|
5231
|
+
var _this2 = this;
|
|
5232
|
+
|
|
5233
|
+
if (this.needCreateAttachment && typeof this.createAttachment === 'function') {
|
|
5234
|
+
this.createAttachment(file, url).then(function (result) {
|
|
5235
|
+
_this2.$emit('create-attachment', result);
|
|
5236
|
+
}).catch(function (error) {
|
|
5237
|
+
_this2.$emit('create-attachment', error);
|
|
5238
|
+
});
|
|
5239
|
+
}
|
|
4818
5240
|
},
|
|
4819
5241
|
remove: function remove(url) {
|
|
4820
5242
|
console.log(this.pickerValue);
|
|
@@ -4872,8 +5294,8 @@ var __vue_render__$o = function __vue_render__() {
|
|
|
4872
5294
|
class: {
|
|
4873
5295
|
disabled: _vm.uploading
|
|
4874
5296
|
}
|
|
4875
|
-
}, [_vm._v("浏览...")])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-
|
|
4876
|
-
return !!url ? "<div class=\"file\" data-v-
|
|
5297
|
+
}, [_vm._v("浏览...")])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-2e4cb775>" + _vm._ssrList(_vm.pickerValue, function (url, index) {
|
|
5298
|
+
return !!url ? "<div class=\"file\" data-v-2e4cb775><i class=\"el-icon-document\" data-v-2e4cb775> </i> <a" + _vm._ssrAttr("href", url) + " target=\"_blank\"" + _vm._ssrAttr("title", _vm.getFileName(url)) + " data-v-2e4cb775>" + _vm._ssrEscape(_vm._s(_vm.getFileName(url))) + "</a> " + (_vm.hasDeleteBtn ? "<span class=\"close\" data-v-2e4cb775><i class=\"el-icon-close\" data-v-2e4cb775></i></span>" : "<!---->") + "</div>" : "<!---->";
|
|
4877
5299
|
}) + "</div>")], 2);
|
|
4878
5300
|
};
|
|
4879
5301
|
|
|
@@ -4882,8 +5304,8 @@ var __vue_staticRenderFns__$o = [];
|
|
|
4882
5304
|
|
|
4883
5305
|
var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
|
|
4884
5306
|
if (!inject) return;
|
|
4885
|
-
inject("data-v-
|
|
4886
|
-
source: ".ui-file-upload-field[data-v-
|
|
5307
|
+
inject("data-v-2e4cb775_0", {
|
|
5308
|
+
source: ".ui-file-upload-field[data-v-2e4cb775]{width:100%}.ui-file-upload-field .uploader[data-v-2e4cb775]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-2e4cb775] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-2e4cb775] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-2e4cb775]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-2e4cb775]:hover{background-color:#0d84ff}.ui-file-upload-field .files[data-v-2e4cb775]{max-width:100%}.ui-file-upload-field .files .file[data-v-2e4cb775]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;display:flex;align-items:center;max-width:100%}.ui-file-upload-field .files .file a[data-v-2e4cb775]{flex:1;color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-2e4cb775]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-2e4cb775]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-2e4cb775]{color:var(--color-primary)}.ui-file-upload-field .files .file:hover .close[data-v-2e4cb775]{color:#409eff;visibility:visible}",
|
|
4887
5309
|
map: undefined,
|
|
4888
5310
|
media: undefined
|
|
4889
5311
|
});
|
|
@@ -4891,10 +5313,10 @@ var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
|
|
|
4891
5313
|
/* scoped */
|
|
4892
5314
|
|
|
4893
5315
|
|
|
4894
|
-
var __vue_scope_id__$p = "data-v-
|
|
5316
|
+
var __vue_scope_id__$p = "data-v-2e4cb775";
|
|
4895
5317
|
/* module identifier */
|
|
4896
5318
|
|
|
4897
|
-
var __vue_module_identifier__$p = "data-v-
|
|
5319
|
+
var __vue_module_identifier__$p = "data-v-2e4cb775";
|
|
4898
5320
|
/* functional template */
|
|
4899
5321
|
|
|
4900
5322
|
var __vue_is_functional_template__$p = false;
|
|
@@ -5265,9 +5687,9 @@ var PopoverTrigger = __vue_component__$m;var TriggerField = {
|
|
|
5265
5687
|
initIcons: function initIcons() {
|
|
5266
5688
|
var _this2 = this;
|
|
5267
5689
|
|
|
5268
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
5690
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5269
5691
|
var icons;
|
|
5270
|
-
return
|
|
5692
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5271
5693
|
while (1) {
|
|
5272
5694
|
switch (_context.prev = _context.next) {
|
|
5273
5695
|
case 0:
|
|
@@ -6357,10 +6779,10 @@ var script$j = {
|
|
|
6357
6779
|
handleClear: function handleClear(warn) {
|
|
6358
6780
|
var _this12 = this;
|
|
6359
6781
|
|
|
6360
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
6782
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6361
6783
|
var _yield$to, _yield$to2, confirm;
|
|
6362
6784
|
|
|
6363
|
-
return
|
|
6785
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6364
6786
|
while (1) {
|
|
6365
6787
|
switch (_context.prev = _context.next) {
|
|
6366
6788
|
case 0:
|
|
@@ -7453,8 +7875,8 @@ var script$g = {
|
|
|
7453
7875
|
onVisibleChange: function onVisibleChange(visible) {
|
|
7454
7876
|
var _this = this;
|
|
7455
7877
|
|
|
7456
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
7457
|
-
return
|
|
7878
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7879
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7458
7880
|
while (1) {
|
|
7459
7881
|
switch (_context.prev = _context.next) {
|
|
7460
7882
|
case 0:
|
|
@@ -8227,8 +8649,8 @@ var script$e = {
|
|
|
8227
8649
|
onVisibleChange: function onVisibleChange(visible) {
|
|
8228
8650
|
var _this = this;
|
|
8229
8651
|
|
|
8230
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
8231
|
-
return
|
|
8652
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8653
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
8232
8654
|
while (1) {
|
|
8233
8655
|
switch (_context.prev = _context.next) {
|
|
8234
8656
|
case 0:
|
|
@@ -9217,8 +9639,8 @@ var script$a = {
|
|
|
9217
9639
|
realData: function realData() {
|
|
9218
9640
|
var _this = this;
|
|
9219
9641
|
|
|
9220
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
9221
|
-
return
|
|
9642
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
9643
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9222
9644
|
while (1) {
|
|
9223
9645
|
switch (_context.prev = _context.next) {
|
|
9224
9646
|
case 0:
|
|
@@ -10325,9 +10747,9 @@ var script$9 = {
|
|
|
10325
10747
|
expandAll: function expandAll(row) {
|
|
10326
10748
|
var _this6 = this;
|
|
10327
10749
|
|
|
10328
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
10750
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
10329
10751
|
var children;
|
|
10330
|
-
return
|
|
10752
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10331
10753
|
while (1) {
|
|
10332
10754
|
switch (_context.prev = _context.next) {
|
|
10333
10755
|
case 0:
|
|
@@ -10610,10 +11032,10 @@ var DefaultTypes = {
|
|
|
10610
11032
|
return prev;
|
|
10611
11033
|
}
|
|
10612
11034
|
|
|
10613
|
-
var
|
|
10614
|
-
|
|
10615
|
-
isRequireProp =
|
|
10616
|
-
prop =
|
|
11035
|
+
var _exec = /^(!?)([\s\S]*)$/.exec(key),
|
|
11036
|
+
_exec2 = _slicedToArray(_exec, 3),
|
|
11037
|
+
isRequireProp = _exec2[1],
|
|
11038
|
+
prop = _exec2[2];
|
|
10617
11039
|
|
|
10618
11040
|
var hasProperty = Objects.hasProp(prev, prop);
|
|
10619
11041
|
|
|
@@ -12236,8 +12658,8 @@ var ScrollView = __vue_component__$4;var script$3 = {
|
|
|
12236
12658
|
current: function current() {
|
|
12237
12659
|
var _this = this;
|
|
12238
12660
|
|
|
12239
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
12240
|
-
return
|
|
12661
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
12662
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
12241
12663
|
while (1) {
|
|
12242
12664
|
switch (_context.prev = _context.next) {
|
|
12243
12665
|
case 0:
|
|
@@ -12969,8 +13391,8 @@ var mixin = {
|
|
|
12969
13391
|
var _this = this;
|
|
12970
13392
|
|
|
12971
13393
|
this.$router.beforeEach( /*#__PURE__*/function () {
|
|
12972
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
12973
|
-
return
|
|
13394
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(to, from, next) {
|
|
13395
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
12974
13396
|
while (1) {
|
|
12975
13397
|
switch (_context.prev = _context.next) {
|
|
12976
13398
|
case 0:
|
|
@@ -13002,9 +13424,9 @@ var mixin = {
|
|
|
13002
13424
|
enterRoute: function enterRoute(route) {
|
|
13003
13425
|
var _this2 = this;
|
|
13004
13426
|
|
|
13005
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
13427
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
13006
13428
|
var current;
|
|
13007
|
-
return
|
|
13429
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
13008
13430
|
while (1) {
|
|
13009
13431
|
switch (_context2.prev = _context2.next) {
|
|
13010
13432
|
case 0:
|