@v2coding/ui 0.1.15 → 0.1.16
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 +13 -5
- package/dist/v2coding-ui.min.js +3 -1
- package/dist/v2coding-ui.ssr.js +437 -65
- 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
|
+
}
|
|
165
315
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
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
|
+
}
|
|
321
|
+
|
|
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:
|
|
@@ -5265,9 +5637,9 @@ var PopoverTrigger = __vue_component__$m;var TriggerField = {
|
|
|
5265
5637
|
initIcons: function initIcons() {
|
|
5266
5638
|
var _this2 = this;
|
|
5267
5639
|
|
|
5268
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
5640
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5269
5641
|
var icons;
|
|
5270
|
-
return
|
|
5642
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5271
5643
|
while (1) {
|
|
5272
5644
|
switch (_context.prev = _context.next) {
|
|
5273
5645
|
case 0:
|
|
@@ -6357,10 +6729,10 @@ var script$j = {
|
|
|
6357
6729
|
handleClear: function handleClear(warn) {
|
|
6358
6730
|
var _this12 = this;
|
|
6359
6731
|
|
|
6360
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
6732
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6361
6733
|
var _yield$to, _yield$to2, confirm;
|
|
6362
6734
|
|
|
6363
|
-
return
|
|
6735
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6364
6736
|
while (1) {
|
|
6365
6737
|
switch (_context.prev = _context.next) {
|
|
6366
6738
|
case 0:
|
|
@@ -7453,8 +7825,8 @@ var script$g = {
|
|
|
7453
7825
|
onVisibleChange: function onVisibleChange(visible) {
|
|
7454
7826
|
var _this = this;
|
|
7455
7827
|
|
|
7456
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
7457
|
-
return
|
|
7828
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7829
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7458
7830
|
while (1) {
|
|
7459
7831
|
switch (_context.prev = _context.next) {
|
|
7460
7832
|
case 0:
|
|
@@ -8227,8 +8599,8 @@ var script$e = {
|
|
|
8227
8599
|
onVisibleChange: function onVisibleChange(visible) {
|
|
8228
8600
|
var _this = this;
|
|
8229
8601
|
|
|
8230
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
8231
|
-
return
|
|
8602
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8603
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
8232
8604
|
while (1) {
|
|
8233
8605
|
switch (_context.prev = _context.next) {
|
|
8234
8606
|
case 0:
|
|
@@ -9217,8 +9589,8 @@ var script$a = {
|
|
|
9217
9589
|
realData: function realData() {
|
|
9218
9590
|
var _this = this;
|
|
9219
9591
|
|
|
9220
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
9221
|
-
return
|
|
9592
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
9593
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9222
9594
|
while (1) {
|
|
9223
9595
|
switch (_context.prev = _context.next) {
|
|
9224
9596
|
case 0:
|
|
@@ -10325,9 +10697,9 @@ var script$9 = {
|
|
|
10325
10697
|
expandAll: function expandAll(row) {
|
|
10326
10698
|
var _this6 = this;
|
|
10327
10699
|
|
|
10328
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
10700
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
10329
10701
|
var children;
|
|
10330
|
-
return
|
|
10702
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10331
10703
|
while (1) {
|
|
10332
10704
|
switch (_context.prev = _context.next) {
|
|
10333
10705
|
case 0:
|
|
@@ -10610,10 +10982,10 @@ var DefaultTypes = {
|
|
|
10610
10982
|
return prev;
|
|
10611
10983
|
}
|
|
10612
10984
|
|
|
10613
|
-
var
|
|
10614
|
-
|
|
10615
|
-
isRequireProp =
|
|
10616
|
-
prop =
|
|
10985
|
+
var _exec = /^(!?)([\s\S]*)$/.exec(key),
|
|
10986
|
+
_exec2 = _slicedToArray(_exec, 3),
|
|
10987
|
+
isRequireProp = _exec2[1],
|
|
10988
|
+
prop = _exec2[2];
|
|
10617
10989
|
|
|
10618
10990
|
var hasProperty = Objects.hasProp(prev, prop);
|
|
10619
10991
|
|
|
@@ -12236,8 +12608,8 @@ var ScrollView = __vue_component__$4;var script$3 = {
|
|
|
12236
12608
|
current: function current() {
|
|
12237
12609
|
var _this = this;
|
|
12238
12610
|
|
|
12239
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
12240
|
-
return
|
|
12611
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
12612
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
12241
12613
|
while (1) {
|
|
12242
12614
|
switch (_context.prev = _context.next) {
|
|
12243
12615
|
case 0:
|
|
@@ -12969,8 +13341,8 @@ var mixin = {
|
|
|
12969
13341
|
var _this = this;
|
|
12970
13342
|
|
|
12971
13343
|
this.$router.beforeEach( /*#__PURE__*/function () {
|
|
12972
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
12973
|
-
return
|
|
13344
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(to, from, next) {
|
|
13345
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
12974
13346
|
while (1) {
|
|
12975
13347
|
switch (_context.prev = _context.next) {
|
|
12976
13348
|
case 0:
|
|
@@ -13002,9 +13374,9 @@ var mixin = {
|
|
|
13002
13374
|
enterRoute: function enterRoute(route) {
|
|
13003
13375
|
var _this2 = this;
|
|
13004
13376
|
|
|
13005
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
13377
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
13006
13378
|
var current;
|
|
13007
|
-
return
|
|
13379
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
13008
13380
|
while (1) {
|
|
13009
13381
|
switch (_context2.prev = _context2.next) {
|
|
13010
13382
|
case 0:
|