@cclr/utils 1.0.5 → 1.0.8
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/lib/index.js +503 -47
- package/lib/index.js.map +1 -1
- package/lib/src/averType.d.ts +2 -2
- package/lib/src/index.d.ts +1 -0
- package/lib/src/tool.d.ts +13 -0
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 593:
|
|
15
15
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16
16
|
|
|
17
17
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
18
18
|
if (true) {
|
|
19
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(
|
|
19
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(854)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
20
20
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
21
21
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
22
22
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -41,12 +41,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
41
41
|
|
|
42
42
|
/***/ }),
|
|
43
43
|
|
|
44
|
-
/***/
|
|
44
|
+
/***/ 744:
|
|
45
45
|
/***/ (function(module, exports, __webpack_require__) {
|
|
46
46
|
|
|
47
47
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
48
48
|
if (true) {
|
|
49
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(
|
|
49
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(306), __webpack_require__(693)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
50
50
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
51
51
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
52
52
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -54,7 +54,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
54
54
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _typeof2, _valType) {
|
|
55
55
|
"use strict";
|
|
56
56
|
|
|
57
|
-
var _interopRequireDefault = __webpack_require__(
|
|
57
|
+
var _interopRequireDefault = __webpack_require__(151);
|
|
58
58
|
Object.defineProperty(_exports, "__esModule", {
|
|
59
59
|
value: true
|
|
60
60
|
});
|
|
@@ -96,12 +96,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
96
96
|
|
|
97
97
|
/***/ }),
|
|
98
98
|
|
|
99
|
-
/***/
|
|
99
|
+
/***/ 780:
|
|
100
100
|
/***/ (function(module, exports, __webpack_require__) {
|
|
101
101
|
|
|
102
102
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
103
103
|
if (true) {
|
|
104
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(
|
|
104
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(456), __webpack_require__(553), __webpack_require__(853), __webpack_require__(826), __webpack_require__(554), __webpack_require__(577)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
105
105
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
106
106
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
107
107
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -109,7 +109,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
109
109
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _inherits2, _possibleConstructorReturn2, _getPrototypeOf2, _slicedToArray2, _classCallCheck2, _createClass2) {
|
|
110
110
|
"use strict";
|
|
111
111
|
|
|
112
|
-
var _interopRequireDefault = __webpack_require__(
|
|
112
|
+
var _interopRequireDefault = __webpack_require__(151);
|
|
113
113
|
Object.defineProperty(_exports, "__esModule", {
|
|
114
114
|
value: true
|
|
115
115
|
});
|
|
@@ -195,12 +195,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
195
195
|
|
|
196
196
|
/***/ }),
|
|
197
197
|
|
|
198
|
-
/***/
|
|
198
|
+
/***/ 996:
|
|
199
199
|
/***/ (function(module, exports, __webpack_require__) {
|
|
200
200
|
|
|
201
201
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
202
202
|
if (true) {
|
|
203
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(
|
|
203
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(826), __webpack_require__(693), __webpack_require__(744)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
204
204
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
205
205
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
206
206
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -208,7 +208,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
208
208
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _slicedToArray2, _valType, _averType) {
|
|
209
209
|
"use strict";
|
|
210
210
|
|
|
211
|
-
var _interopRequireDefault = __webpack_require__(
|
|
211
|
+
var _interopRequireDefault = __webpack_require__(151);
|
|
212
212
|
Object.defineProperty(_exports, "__esModule", {
|
|
213
213
|
value: true
|
|
214
214
|
});
|
|
@@ -234,18 +234,18 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
234
234
|
|
|
235
235
|
/***/ }),
|
|
236
236
|
|
|
237
|
-
/***/
|
|
237
|
+
/***/ 854:
|
|
238
238
|
/***/ (function(module, exports, __webpack_require__) {
|
|
239
239
|
|
|
240
|
-
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(
|
|
240
|
+
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(306);
|
|
241
241
|
(function (global, factory) {
|
|
242
242
|
if (true) {
|
|
243
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(
|
|
243
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(780), __webpack_require__(744), __webpack_require__(996), __webpack_require__(465), __webpack_require__(15)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
244
244
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
245
245
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
246
246
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
247
247
|
} else { var mod; }
|
|
248
|
-
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _event, _averType, _format, _obj) {
|
|
248
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _event, _averType, _format, _tool, _obj) {
|
|
249
249
|
"use strict";
|
|
250
250
|
|
|
251
251
|
Object.defineProperty(_exports, "__esModule", {
|
|
@@ -288,6 +288,17 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
288
288
|
}
|
|
289
289
|
});
|
|
290
290
|
});
|
|
291
|
+
Object.keys(_tool).forEach(function (key) {
|
|
292
|
+
if (key === "default" || key === "__esModule") return;
|
|
293
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
294
|
+
if (key in _exports && _exports[key] === _tool[key]) return;
|
|
295
|
+
Object.defineProperty(_exports, key, {
|
|
296
|
+
enumerable: true,
|
|
297
|
+
get: function get() {
|
|
298
|
+
return _tool[key];
|
|
299
|
+
}
|
|
300
|
+
});
|
|
301
|
+
});
|
|
291
302
|
_obj = _interopRequireWildcard(_obj);
|
|
292
303
|
_exports.obj = _obj;
|
|
293
304
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -296,7 +307,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
296
307
|
|
|
297
308
|
/***/ }),
|
|
298
309
|
|
|
299
|
-
/***/
|
|
310
|
+
/***/ 15:
|
|
300
311
|
/***/ (function(module, exports) {
|
|
301
312
|
|
|
302
313
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -333,7 +344,95 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
333
344
|
|
|
334
345
|
/***/ }),
|
|
335
346
|
|
|
336
|
-
/***/
|
|
347
|
+
/***/ 465:
|
|
348
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
349
|
+
|
|
350
|
+
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
351
|
+
if (true) {
|
|
352
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(404)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
353
|
+
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
354
|
+
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
355
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
356
|
+
} else { var mod; }
|
|
357
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _index) {
|
|
358
|
+
"use strict";
|
|
359
|
+
|
|
360
|
+
var _interopRequireDefault = __webpack_require__(151);
|
|
361
|
+
Object.defineProperty(_exports, "__esModule", {
|
|
362
|
+
value: true
|
|
363
|
+
});
|
|
364
|
+
_exports.sleep = _exports.promiseTimeout = void 0;
|
|
365
|
+
_index = _interopRequireDefault(_index);
|
|
366
|
+
var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
|
|
367
|
+
function adopt(value) {
|
|
368
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
369
|
+
resolve(value);
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
373
|
+
function fulfilled(value) {
|
|
374
|
+
try {
|
|
375
|
+
step(generator.next(value));
|
|
376
|
+
} catch (e) {
|
|
377
|
+
reject(e);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
function rejected(value) {
|
|
381
|
+
try {
|
|
382
|
+
step(generator["throw"](value));
|
|
383
|
+
} catch (e) {
|
|
384
|
+
reject(e);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
function step(result) {
|
|
388
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
389
|
+
}
|
|
390
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
391
|
+
});
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
* 延迟的promise
|
|
395
|
+
* @param fun
|
|
396
|
+
* @param delay
|
|
397
|
+
* @returns
|
|
398
|
+
*/
|
|
399
|
+
var promiseTimeout = function promiseTimeout(fun) {
|
|
400
|
+
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3000;
|
|
401
|
+
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_index["default"].mark(function _callee() {
|
|
402
|
+
return _index["default"].wrap(function _callee$(_context) {
|
|
403
|
+
while (1) switch (_context.prev = _context.next) {
|
|
404
|
+
case 0:
|
|
405
|
+
_context.next = 2;
|
|
406
|
+
return sleep(delay);
|
|
407
|
+
case 2:
|
|
408
|
+
return _context.abrupt("return", fun());
|
|
409
|
+
case 3:
|
|
410
|
+
case "end":
|
|
411
|
+
return _context.stop();
|
|
412
|
+
}
|
|
413
|
+
}, _callee);
|
|
414
|
+
}));
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* 休息一会
|
|
418
|
+
* @param delay 时长,ms
|
|
419
|
+
* @returns
|
|
420
|
+
*/
|
|
421
|
+
_exports.promiseTimeout = promiseTimeout;
|
|
422
|
+
var sleep = function sleep() {
|
|
423
|
+
var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 3000;
|
|
424
|
+
return new Promise(function (res) {
|
|
425
|
+
setTimeout(function () {
|
|
426
|
+
res();
|
|
427
|
+
}, delay);
|
|
428
|
+
});
|
|
429
|
+
};
|
|
430
|
+
_exports.sleep = sleep;
|
|
431
|
+
});
|
|
432
|
+
|
|
433
|
+
/***/ }),
|
|
434
|
+
|
|
435
|
+
/***/ 693:
|
|
337
436
|
/***/ (function(module, exports) {
|
|
338
437
|
|
|
339
438
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -421,7 +520,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
421
520
|
|
|
422
521
|
/***/ }),
|
|
423
522
|
|
|
424
|
-
/***/
|
|
523
|
+
/***/ 891:
|
|
425
524
|
/***/ (function(module, exports) {
|
|
426
525
|
|
|
427
526
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -444,7 +543,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
444
543
|
|
|
445
544
|
/***/ }),
|
|
446
545
|
|
|
447
|
-
/***/
|
|
546
|
+
/***/ 42:
|
|
448
547
|
/***/ (function(module, exports) {
|
|
449
548
|
|
|
450
549
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -465,7 +564,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
465
564
|
|
|
466
565
|
/***/ }),
|
|
467
566
|
|
|
468
|
-
/***/
|
|
567
|
+
/***/ 43:
|
|
469
568
|
/***/ (function(module, exports) {
|
|
470
569
|
|
|
471
570
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -489,7 +588,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
489
588
|
|
|
490
589
|
/***/ }),
|
|
491
590
|
|
|
492
|
-
/***/
|
|
591
|
+
/***/ 554:
|
|
493
592
|
/***/ (function(module, exports) {
|
|
494
593
|
|
|
495
594
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -512,7 +611,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
512
611
|
|
|
513
612
|
/***/ }),
|
|
514
613
|
|
|
515
|
-
/***/
|
|
614
|
+
/***/ 577:
|
|
516
615
|
/***/ (function(module, exports, __webpack_require__) {
|
|
517
616
|
|
|
518
617
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -525,7 +624,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
525
624
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
|
|
526
625
|
"use strict";
|
|
527
626
|
|
|
528
|
-
var toPropertyKey = __webpack_require__(
|
|
627
|
+
var toPropertyKey = __webpack_require__(517);
|
|
529
628
|
function _defineProperties(target, props) {
|
|
530
629
|
for (var i = 0; i < props.length; i++) {
|
|
531
630
|
var descriptor = props[i];
|
|
@@ -548,7 +647,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
548
647
|
|
|
549
648
|
/***/ }),
|
|
550
649
|
|
|
551
|
-
/***/
|
|
650
|
+
/***/ 853:
|
|
552
651
|
/***/ (function(module, exports) {
|
|
553
652
|
|
|
554
653
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -572,7 +671,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
572
671
|
|
|
573
672
|
/***/ }),
|
|
574
673
|
|
|
575
|
-
/***/
|
|
674
|
+
/***/ 456:
|
|
576
675
|
/***/ (function(module, exports, __webpack_require__) {
|
|
577
676
|
|
|
578
677
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -585,7 +684,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
585
684
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
|
|
586
685
|
"use strict";
|
|
587
686
|
|
|
588
|
-
var setPrototypeOf = __webpack_require__(
|
|
687
|
+
var setPrototypeOf = __webpack_require__(917);
|
|
589
688
|
function _inherits(subClass, superClass) {
|
|
590
689
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
591
690
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -607,7 +706,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
607
706
|
|
|
608
707
|
/***/ }),
|
|
609
708
|
|
|
610
|
-
/***/
|
|
709
|
+
/***/ 151:
|
|
611
710
|
/***/ (function(module, exports) {
|
|
612
711
|
|
|
613
712
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -630,7 +729,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
630
729
|
|
|
631
730
|
/***/ }),
|
|
632
731
|
|
|
633
|
-
/***/
|
|
732
|
+
/***/ 734:
|
|
634
733
|
/***/ (function(module, exports) {
|
|
635
734
|
|
|
636
735
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -675,7 +774,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
675
774
|
|
|
676
775
|
/***/ }),
|
|
677
776
|
|
|
678
|
-
/***/
|
|
777
|
+
/***/ 261:
|
|
679
778
|
/***/ (function(module, exports) {
|
|
680
779
|
|
|
681
780
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -696,7 +795,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
696
795
|
|
|
697
796
|
/***/ }),
|
|
698
797
|
|
|
699
|
-
/***/
|
|
798
|
+
/***/ 553:
|
|
700
799
|
/***/ (function(module, exports, __webpack_require__) {
|
|
701
800
|
|
|
702
801
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -709,8 +808,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
709
808
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
|
|
710
809
|
"use strict";
|
|
711
810
|
|
|
712
|
-
var _typeof = (__webpack_require__(
|
|
713
|
-
var assertThisInitialized = __webpack_require__(
|
|
811
|
+
var _typeof = (__webpack_require__(306)["default"]);
|
|
812
|
+
var assertThisInitialized = __webpack_require__(43);
|
|
714
813
|
function _possibleConstructorReturn(self, call) {
|
|
715
814
|
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
716
815
|
return call;
|
|
@@ -724,7 +823,330 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
724
823
|
|
|
725
824
|
/***/ }),
|
|
726
825
|
|
|
727
|
-
/***/
|
|
826
|
+
/***/ 416:
|
|
827
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
828
|
+
|
|
829
|
+
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
830
|
+
if (true) {
|
|
831
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
832
|
+
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
833
|
+
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
834
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
835
|
+
} else { var mod; }
|
|
836
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
|
|
837
|
+
"use strict";
|
|
838
|
+
|
|
839
|
+
var _typeof = (__webpack_require__(306)["default"]);
|
|
840
|
+
function _regeneratorRuntime() {
|
|
841
|
+
"use strict";
|
|
842
|
+
|
|
843
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
844
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
845
|
+
return exports;
|
|
846
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
847
|
+
var exports = {},
|
|
848
|
+
Op = Object.prototype,
|
|
849
|
+
hasOwn = Op.hasOwnProperty,
|
|
850
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
851
|
+
obj[key] = desc.value;
|
|
852
|
+
},
|
|
853
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
854
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
855
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
856
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
857
|
+
function define(obj, key, value) {
|
|
858
|
+
return Object.defineProperty(obj, key, {
|
|
859
|
+
value: value,
|
|
860
|
+
enumerable: !0,
|
|
861
|
+
configurable: !0,
|
|
862
|
+
writable: !0
|
|
863
|
+
}), obj[key];
|
|
864
|
+
}
|
|
865
|
+
try {
|
|
866
|
+
define({}, "");
|
|
867
|
+
} catch (err) {
|
|
868
|
+
define = function define(obj, key, value) {
|
|
869
|
+
return obj[key] = value;
|
|
870
|
+
};
|
|
871
|
+
}
|
|
872
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
873
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
874
|
+
generator = Object.create(protoGenerator.prototype),
|
|
875
|
+
context = new Context(tryLocsList || []);
|
|
876
|
+
return defineProperty(generator, "_invoke", {
|
|
877
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
878
|
+
}), generator;
|
|
879
|
+
}
|
|
880
|
+
function tryCatch(fn, obj, arg) {
|
|
881
|
+
try {
|
|
882
|
+
return {
|
|
883
|
+
type: "normal",
|
|
884
|
+
arg: fn.call(obj, arg)
|
|
885
|
+
};
|
|
886
|
+
} catch (err) {
|
|
887
|
+
return {
|
|
888
|
+
type: "throw",
|
|
889
|
+
arg: err
|
|
890
|
+
};
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
exports.wrap = wrap;
|
|
894
|
+
var ContinueSentinel = {};
|
|
895
|
+
function Generator() {}
|
|
896
|
+
function GeneratorFunction() {}
|
|
897
|
+
function GeneratorFunctionPrototype() {}
|
|
898
|
+
var IteratorPrototype = {};
|
|
899
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
900
|
+
return this;
|
|
901
|
+
});
|
|
902
|
+
var getProto = Object.getPrototypeOf,
|
|
903
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
904
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
905
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
906
|
+
function defineIteratorMethods(prototype) {
|
|
907
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
908
|
+
define(prototype, method, function (arg) {
|
|
909
|
+
return this._invoke(method, arg);
|
|
910
|
+
});
|
|
911
|
+
});
|
|
912
|
+
}
|
|
913
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
914
|
+
function invoke(method, arg, resolve, reject) {
|
|
915
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
916
|
+
if ("throw" !== record.type) {
|
|
917
|
+
var result = record.arg,
|
|
918
|
+
value = result.value;
|
|
919
|
+
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
920
|
+
invoke("next", value, resolve, reject);
|
|
921
|
+
}, function (err) {
|
|
922
|
+
invoke("throw", err, resolve, reject);
|
|
923
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
924
|
+
result.value = unwrapped, resolve(result);
|
|
925
|
+
}, function (error) {
|
|
926
|
+
return invoke("throw", error, resolve, reject);
|
|
927
|
+
});
|
|
928
|
+
}
|
|
929
|
+
reject(record.arg);
|
|
930
|
+
}
|
|
931
|
+
var previousPromise;
|
|
932
|
+
defineProperty(this, "_invoke", {
|
|
933
|
+
value: function value(method, arg) {
|
|
934
|
+
function callInvokeWithMethodAndArg() {
|
|
935
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
936
|
+
invoke(method, arg, resolve, reject);
|
|
937
|
+
});
|
|
938
|
+
}
|
|
939
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
940
|
+
}
|
|
941
|
+
});
|
|
942
|
+
}
|
|
943
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
944
|
+
var state = "suspendedStart";
|
|
945
|
+
return function (method, arg) {
|
|
946
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
947
|
+
if ("completed" === state) {
|
|
948
|
+
if ("throw" === method) throw arg;
|
|
949
|
+
return doneResult();
|
|
950
|
+
}
|
|
951
|
+
for (context.method = method, context.arg = arg;;) {
|
|
952
|
+
var delegate = context.delegate;
|
|
953
|
+
if (delegate) {
|
|
954
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
955
|
+
if (delegateResult) {
|
|
956
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
957
|
+
return delegateResult;
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
961
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
962
|
+
context.dispatchException(context.arg);
|
|
963
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
964
|
+
state = "executing";
|
|
965
|
+
var record = tryCatch(innerFn, self, context);
|
|
966
|
+
if ("normal" === record.type) {
|
|
967
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
968
|
+
return {
|
|
969
|
+
value: record.arg,
|
|
970
|
+
done: context.done
|
|
971
|
+
};
|
|
972
|
+
}
|
|
973
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
974
|
+
}
|
|
975
|
+
};
|
|
976
|
+
}
|
|
977
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
978
|
+
var methodName = context.method,
|
|
979
|
+
method = delegate.iterator[methodName];
|
|
980
|
+
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
|
981
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
982
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
983
|
+
var info = record.arg;
|
|
984
|
+
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);
|
|
985
|
+
}
|
|
986
|
+
function pushTryEntry(locs) {
|
|
987
|
+
var entry = {
|
|
988
|
+
tryLoc: locs[0]
|
|
989
|
+
};
|
|
990
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
991
|
+
}
|
|
992
|
+
function resetTryEntry(entry) {
|
|
993
|
+
var record = entry.completion || {};
|
|
994
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
995
|
+
}
|
|
996
|
+
function Context(tryLocsList) {
|
|
997
|
+
this.tryEntries = [{
|
|
998
|
+
tryLoc: "root"
|
|
999
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
1000
|
+
}
|
|
1001
|
+
function values(iterable) {
|
|
1002
|
+
if (iterable) {
|
|
1003
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
1004
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
1005
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
1006
|
+
if (!isNaN(iterable.length)) {
|
|
1007
|
+
var i = -1,
|
|
1008
|
+
next = function next() {
|
|
1009
|
+
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
1010
|
+
return next.value = undefined, next.done = !0, next;
|
|
1011
|
+
};
|
|
1012
|
+
return next.next = next;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
return {
|
|
1016
|
+
next: doneResult
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
function doneResult() {
|
|
1020
|
+
return {
|
|
1021
|
+
value: undefined,
|
|
1022
|
+
done: !0
|
|
1023
|
+
};
|
|
1024
|
+
}
|
|
1025
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
1026
|
+
value: GeneratorFunctionPrototype,
|
|
1027
|
+
configurable: !0
|
|
1028
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
1029
|
+
value: GeneratorFunction,
|
|
1030
|
+
configurable: !0
|
|
1031
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
1032
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
1033
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
1034
|
+
}, exports.mark = function (genFun) {
|
|
1035
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
1036
|
+
}, exports.awrap = function (arg) {
|
|
1037
|
+
return {
|
|
1038
|
+
__await: arg
|
|
1039
|
+
};
|
|
1040
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
1041
|
+
return this;
|
|
1042
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
1043
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
1044
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
1045
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
1046
|
+
return result.done ? result.value : iter.next();
|
|
1047
|
+
});
|
|
1048
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
1049
|
+
return this;
|
|
1050
|
+
}), define(Gp, "toString", function () {
|
|
1051
|
+
return "[object Generator]";
|
|
1052
|
+
}), exports.keys = function (val) {
|
|
1053
|
+
var object = Object(val),
|
|
1054
|
+
keys = [];
|
|
1055
|
+
for (var key in object) keys.push(key);
|
|
1056
|
+
return keys.reverse(), function next() {
|
|
1057
|
+
for (; keys.length;) {
|
|
1058
|
+
var key = keys.pop();
|
|
1059
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
1060
|
+
}
|
|
1061
|
+
return next.done = !0, next;
|
|
1062
|
+
};
|
|
1063
|
+
}, exports.values = values, Context.prototype = {
|
|
1064
|
+
constructor: Context,
|
|
1065
|
+
reset: function reset(skipTempReset) {
|
|
1066
|
+
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);
|
|
1067
|
+
},
|
|
1068
|
+
stop: function stop() {
|
|
1069
|
+
this.done = !0;
|
|
1070
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
1071
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
1072
|
+
return this.rval;
|
|
1073
|
+
},
|
|
1074
|
+
dispatchException: function dispatchException(exception) {
|
|
1075
|
+
if (this.done) throw exception;
|
|
1076
|
+
var context = this;
|
|
1077
|
+
function handle(loc, caught) {
|
|
1078
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
1079
|
+
}
|
|
1080
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
1081
|
+
var entry = this.tryEntries[i],
|
|
1082
|
+
record = entry.completion;
|
|
1083
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
1084
|
+
if (entry.tryLoc <= this.prev) {
|
|
1085
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
1086
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
1087
|
+
if (hasCatch && hasFinally) {
|
|
1088
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
1089
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
1090
|
+
} else if (hasCatch) {
|
|
1091
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
1092
|
+
} else {
|
|
1093
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
1094
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
abrupt: function abrupt(type, arg) {
|
|
1100
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
1101
|
+
var entry = this.tryEntries[i];
|
|
1102
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
1103
|
+
var finallyEntry = entry;
|
|
1104
|
+
break;
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
1108
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
1109
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
1110
|
+
},
|
|
1111
|
+
complete: function complete(record, afterLoc) {
|
|
1112
|
+
if ("throw" === record.type) throw record.arg;
|
|
1113
|
+
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;
|
|
1114
|
+
},
|
|
1115
|
+
finish: function finish(finallyLoc) {
|
|
1116
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
1117
|
+
var entry = this.tryEntries[i];
|
|
1118
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
1119
|
+
}
|
|
1120
|
+
},
|
|
1121
|
+
"catch": function _catch(tryLoc) {
|
|
1122
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
1123
|
+
var entry = this.tryEntries[i];
|
|
1124
|
+
if (entry.tryLoc === tryLoc) {
|
|
1125
|
+
var record = entry.completion;
|
|
1126
|
+
if ("throw" === record.type) {
|
|
1127
|
+
var thrown = record.arg;
|
|
1128
|
+
resetTryEntry(entry);
|
|
1129
|
+
}
|
|
1130
|
+
return thrown;
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
throw new Error("illegal catch attempt");
|
|
1134
|
+
},
|
|
1135
|
+
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
1136
|
+
return this.delegate = {
|
|
1137
|
+
iterator: values(iterable),
|
|
1138
|
+
resultName: resultName,
|
|
1139
|
+
nextLoc: nextLoc
|
|
1140
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
1141
|
+
}
|
|
1142
|
+
}, exports;
|
|
1143
|
+
}
|
|
1144
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1145
|
+
});
|
|
1146
|
+
|
|
1147
|
+
/***/ }),
|
|
1148
|
+
|
|
1149
|
+
/***/ 917:
|
|
728
1150
|
/***/ (function(module, exports) {
|
|
729
1151
|
|
|
730
1152
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -749,7 +1171,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
749
1171
|
|
|
750
1172
|
/***/ }),
|
|
751
1173
|
|
|
752
|
-
/***/
|
|
1174
|
+
/***/ 826:
|
|
753
1175
|
/***/ (function(module, exports, __webpack_require__) {
|
|
754
1176
|
|
|
755
1177
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -762,10 +1184,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
762
1184
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
|
|
763
1185
|
"use strict";
|
|
764
1186
|
|
|
765
|
-
var arrayWithHoles = __webpack_require__(
|
|
766
|
-
var iterableToArrayLimit = __webpack_require__(
|
|
767
|
-
var unsupportedIterableToArray = __webpack_require__(
|
|
768
|
-
var nonIterableRest = __webpack_require__(
|
|
1187
|
+
var arrayWithHoles = __webpack_require__(42);
|
|
1188
|
+
var iterableToArrayLimit = __webpack_require__(734);
|
|
1189
|
+
var unsupportedIterableToArray = __webpack_require__(390);
|
|
1190
|
+
var nonIterableRest = __webpack_require__(261);
|
|
769
1191
|
function _slicedToArray(arr, i) {
|
|
770
1192
|
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
|
771
1193
|
}
|
|
@@ -774,7 +1196,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
774
1196
|
|
|
775
1197
|
/***/ }),
|
|
776
1198
|
|
|
777
|
-
/***/
|
|
1199
|
+
/***/ 837:
|
|
778
1200
|
/***/ (function(module, exports, __webpack_require__) {
|
|
779
1201
|
|
|
780
1202
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -787,7 +1209,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
787
1209
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
|
|
788
1210
|
"use strict";
|
|
789
1211
|
|
|
790
|
-
var _typeof = (__webpack_require__(
|
|
1212
|
+
var _typeof = (__webpack_require__(306)["default"]);
|
|
791
1213
|
function _toPrimitive(input, hint) {
|
|
792
1214
|
if (_typeof(input) !== "object" || input === null) return input;
|
|
793
1215
|
var prim = input[Symbol.toPrimitive];
|
|
@@ -803,7 +1225,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
803
1225
|
|
|
804
1226
|
/***/ }),
|
|
805
1227
|
|
|
806
|
-
/***/
|
|
1228
|
+
/***/ 517:
|
|
807
1229
|
/***/ (function(module, exports, __webpack_require__) {
|
|
808
1230
|
|
|
809
1231
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -816,8 +1238,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
816
1238
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
|
|
817
1239
|
"use strict";
|
|
818
1240
|
|
|
819
|
-
var _typeof = (__webpack_require__(
|
|
820
|
-
var toPrimitive = __webpack_require__(
|
|
1241
|
+
var _typeof = (__webpack_require__(306)["default"]);
|
|
1242
|
+
var toPrimitive = __webpack_require__(837);
|
|
821
1243
|
function _toPropertyKey(arg) {
|
|
822
1244
|
var key = toPrimitive(arg, "string");
|
|
823
1245
|
return _typeof(key) === "symbol" ? key : String(key);
|
|
@@ -827,7 +1249,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
827
1249
|
|
|
828
1250
|
/***/ }),
|
|
829
1251
|
|
|
830
|
-
/***/
|
|
1252
|
+
/***/ 306:
|
|
831
1253
|
/***/ (function(module, exports) {
|
|
832
1254
|
|
|
833
1255
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -854,7 +1276,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
854
1276
|
|
|
855
1277
|
/***/ }),
|
|
856
1278
|
|
|
857
|
-
/***/
|
|
1279
|
+
/***/ 390:
|
|
858
1280
|
/***/ (function(module, exports, __webpack_require__) {
|
|
859
1281
|
|
|
860
1282
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
@@ -867,7 +1289,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
867
1289
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () {
|
|
868
1290
|
"use strict";
|
|
869
1291
|
|
|
870
|
-
var arrayLikeToArray = __webpack_require__(
|
|
1292
|
+
var arrayLikeToArray = __webpack_require__(891);
|
|
871
1293
|
function _unsupportedIterableToArray(o, minLen) {
|
|
872
1294
|
if (!o) return;
|
|
873
1295
|
if (typeof o === "string") return arrayLikeToArray(o, minLen);
|
|
@@ -879,6 +1301,40 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
879
1301
|
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
880
1302
|
});
|
|
881
1303
|
|
|
1304
|
+
/***/ }),
|
|
1305
|
+
|
|
1306
|
+
/***/ 404:
|
|
1307
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1308
|
+
|
|
1309
|
+
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
|
|
1310
|
+
if (true) {
|
|
1311
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(306)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
1312
|
+
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
1313
|
+
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
1314
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1315
|
+
} else { var mod; }
|
|
1316
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_typeof2) {
|
|
1317
|
+
"use strict";
|
|
1318
|
+
|
|
1319
|
+
var _interopRequireDefault = __webpack_require__(151);
|
|
1320
|
+
_typeof2 = _interopRequireDefault(_typeof2);
|
|
1321
|
+
// TODO(Babel 8): Remove this file.
|
|
1322
|
+
|
|
1323
|
+
var runtime = __webpack_require__(416)();
|
|
1324
|
+
module.exports = runtime;
|
|
1325
|
+
|
|
1326
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
1327
|
+
try {
|
|
1328
|
+
regeneratorRuntime = runtime;
|
|
1329
|
+
} catch (accidentalStrictMode) {
|
|
1330
|
+
if ((typeof globalThis === "undefined" ? "undefined" : (0, _typeof2["default"])(globalThis)) === "object") {
|
|
1331
|
+
globalThis.regeneratorRuntime = runtime;
|
|
1332
|
+
} else {
|
|
1333
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
});
|
|
1337
|
+
|
|
882
1338
|
/***/ })
|
|
883
1339
|
|
|
884
1340
|
/******/ });
|
|
@@ -912,7 +1368,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
912
1368
|
/******/ // startup
|
|
913
1369
|
/******/ // Load entry module and return exports
|
|
914
1370
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
915
|
-
/******/ var __webpack_exports__ = __webpack_require__(
|
|
1371
|
+
/******/ var __webpack_exports__ = __webpack_require__(593);
|
|
916
1372
|
/******/
|
|
917
1373
|
/******/ return __webpack_exports__;
|
|
918
1374
|
/******/ })()
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O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AC,EAAEwH,MAAM,CAAC;IAC7D,IAAIC,CAAC,GAAG7L,MAAM,CAACa,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACqD,CAAC,CAAC,CAAC0H,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACtD,IAAID,CAAC,KAAK,QAAQ,IAAIzH,CAAC,CAACmF,WAAW,EAAEsC,CAAC,GAAGzH,CAAC,CAACmF,WAAW,CAACwC,IAAI;IAC3D,IAAIF,CAAC,KAAK,KAAK,IAAIA,CAAC,KAAK,KAAK,EAAE,OAAOlK,KAAK,CAACqK,IAAI,CAAC5H,CAAC,CAAC;IACpD,IAAIyH,CAAC,KAAK,WAAW,IAAI,0CAA0C,CAACI,IAAI,CAACJ,CAAC,CAAC,EAAE,OAAOH,gBAAgB,CAACtH,CAAC,EAAEwH,MAAM,CAAC;EACjH;EACAnE,MAAM,CAACC,OAAO,GAAGiE,2BAA2B,EAAElE,yBAAyB,GAAG,IAAI,EAAEA,yBAAyB,GAAGA,MAAM,CAACC,OAAO;AAAC;;;;;;UCT3H;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;UEtBA;UACA;UACA;UACA","sources":["webpack://Utils/webpack/universalModuleDefinition","webpack://Utils/./packages/utils/index.ts","webpack://Utils/./packages/utils/src/averType.ts","webpack://Utils/./packages/utils/src/event.ts","webpack://Utils/./packages/utils/src/format.ts","webpack://Utils/./packages/utils/src/index.ts","webpack://Utils/./packages/utils/src/object.ts","webpack://Utils/./packages/utils/src/valType.ts","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/classCallCheck.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/createClass.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/getPrototypeOf.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/inherits.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/slicedToArray.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/toPrimitive.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/typeof.js","webpack://Utils/../cclr-magic-cli/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack://Utils/webpack/bootstrap","webpack://Utils/webpack/before-startup","webpack://Utils/webpack/startup","webpack://Utils/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Utils\"] = factory();\n\telse\n\t\troot[\"Utils\"] = factory();\n})(self, () => {\nreturn ","export * from './src'","import { TVal, VAL_TYPE } from \"./valType\";\n\n/**\n * 获取参数类型\n * @param p 参数\n * @returns\n */\nfunction getParamType(p: unknown): TVal {\n return (\n VAL_TYPE[typeof p] ||\n VAL_TYPE[Object.prototype.toString.call(p)] ||\n (p ? \"object\" : \"null\")\n );\n}\n\nfunction isType(params: any, type: TVal) {\n return getParamType(params) === type;\n}\n\nfunction isString(s): s is String {\n return getParamType(s) === \"string\";\n}\n\nfunction isBoolean(b): b is Boolean {\n return getParamType(b) === \"boolean\";\n}\n\nfunction isFunction(b): b is Function {\n return getParamType(b) === \"function\";\n}\n\nfunction isPlainObject(b): b is Record<string, unknown> {\n return getParamType(b) === \"object\";\n}\n\nfunction isArray(a): a is any[] {\n return Array.isArray(a);\n}\n\nexport {\n getParamType,\n isType,\n isString,\n isBoolean,\n isFunction,\n isArray,\n isPlainObject,\n};\n","type EventHandler<T> = (...args: T[]) => void;\n\nexport abstract class EventBase<T extends { [K in keyof T]: EventHandler<any> }> {\n private handlers: {\n [K in keyof T]: Array<T[K]>\n } = {} as any;\n\n constructor(eventMap: Partial<T> = {} as T) {\n Object.entries(eventMap).forEach(([key, handle]) => {\n this.handlers[key] = [handle];\n });\n }\n\n on<K extends keyof T>(eventName: K, handler: T[K]) {\n this.handlers[eventName] ??= [] as T[K][];\n this.handlers[eventName].push(handler);\n }\n\n off<K extends keyof T>(eventName: K, handler: T[K]) {\n const eventHandlers = this.handlers[eventName];\n if (eventHandlers) {\n const index = eventHandlers.indexOf(handler);\n if (index !== -1) {\n eventHandlers.splice(index, 1);\n }\n }\n }\n\n emit<K extends keyof T>(eventName: K, ...args: Parameters<T[K]>) {\n const eventHandlers = this.handlers[eventName];\n if (eventHandlers) {\n eventHandlers.forEach(handler => {\n handler(...args);\n });\n }\n }\n}\n\nexport class Event<T extends { [K in keyof T]: EventHandler<any> }> extends EventBase<T> {}\n\nexport class EventFree extends EventBase<any> {}\n","import { defaultValueMap, TVal } from \"./valType\";\nimport { isFunction, isType } from \"./averType\";\nimport { TPlainObject } from \"@cclr/ts\";\n\n/**\n * 对象格式化\n * @param o\n * @param maps\n */\nexport function formatObj<T extends TPlainObject>(\n o: T,\n maps: Array<[string, TVal, unknown?]>\n): T & TPlainObject;\nexport function formatObj<T extends TPlainObject>(\n o: T,\n maps: Array<[keyof T, TVal, unknown?]>\n): T {\n const resetRes: Partial<T> = {};\n maps.forEach(([key, type, defaultValue]) => {\n if (!isType(o[key], type)) {\n if (isFunction(defaultValue) && type !== \"function\") {\n defaultValue = defaultValue();\n }\n resetRes[key] = defaultValue || defaultValueMap[type];\n }\n });\n\n return {\n ...o,\n ...resetRes,\n };\n}\n","export * from './event';\nexport * from \"./averType\";\nexport * from \"./format\";\nexport * as obj from \"./object\";\n","/**\n * 对象挑选\n * @param obj\n * @param keys\n * @returns\n */\nexport const objPick = <T extends keyof any>(\n obj: Partial<Record<T, any>>,\n keys: T[]\n) => {\n return keys.reduce((pre, key) => {\n const val = obj[key];\n if (val) {\n pre[key] = val;\n }\n return pre;\n }, {} as Partial<Record<T, any>>);\n};\n","export const VAL_TYPE = {\n boolean: \"boolean\",\n undefined: \"undefined\",\n number: \"undefined\",\n string: \"string\",\n null: \"null\",\n \"[object Object]\": \"object\",\n \"[object Function]\": \"function\",\n \"[object RegExp]\": \"regexp\",\n \"[object Array]\": \"array\",\n \"[object Date]\": \"date\",\n \"[object Error]\": \"error\",\n \"[object Blob]\": \"blob\",\n \"[object File]\": \"file\",\n \"[object ArrayBuffer]\": \"arrayBuffer\",\n} as const;\n\nexport const defaultValueMap = {\n boolean: false,\n undefined: undefined,\n number: 0,\n string: \"\",\n null: null,\n object: {},\n function: () => {},\n regexp: /^.*$/,\n array: [],\n arrayBuffer: new ArrayBuffer(4),\n};\n\n// 只有需要使用时才创建\nlet dateObj: Date;\nlet errorObj: Error;\nlet blobObj: Blob;\nlet fileObj: File;\nObject.defineProperty(defaultValueMap, \"date\", {\n get() {\n if (!dateObj) {\n dateObj = new Date();\n }\n return dateObj;\n },\n});\nObject.defineProperty(defaultValueMap, \"error\", {\n get() {\n if (!errorObj) {\n errorObj = new Error();\n }\n return errorObj;\n },\n});\nObject.defineProperty(defaultValueMap, \"blob\", {\n get() {\n if (!blobObj) {\n blobObj = new Blob([]);\n }\n return blobObj;\n },\n});\nObject.defineProperty(defaultValueMap, \"file\", {\n get() {\n if (!fileObj) {\n fileObj = new File([], \"file\");\n }\n return fileObj;\n },\n});\n\nexport type TVal = typeof VAL_TYPE[keyof typeof VAL_TYPE];\n\n","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _getPrototypeOf(o);\n}\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _setPrototypeOf(o, p);\n}\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nmodule.exports = _toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nmodule.exports = _toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(286);\n",""],"names":["Object","keys","_src","forEach","key","_exports","defineProperty","enumerable","get","getParamType","p","VAL_TYPE","_typeof2","prototype","toString","call","isType","params","type","isString","s","isBoolean","b","isFunction","isPlainObject","isArray","a","Array","EventBase","_this","eventMap","arguments","length","undefined","_classCallCheck2","handlers","entries","_ref","_ref2","_slicedToArray2","handle","_createClass2","value","on","eventName","handler","_a","_b","push","off","eventHandlers","index","indexOf","splice","emit","_len","args","_key","apply","Event","_EventBase","_inherits2","_super","_createSuper","EventFree","_EventBase2","_super2","formatObj","o","maps","resetRes","defaultValue","defaultValueMap","assign","_event","hasOwnProperty","_exportNames","_averType","_format","_obj","_interopRequireWildcard","obj","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","__esModule","_typeof","cache","has","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","desc","set","objPick","reduce","pre","val","number","string","object","_function","regexp","array","arrayBuffer","ArrayBuffer","dateObj","errorObj","blobObj","fileObj","Date","Error","Blob","File","_arrayLikeToArray","arr","len","i","arr2","module","exports","_arrayWithHoles","_assertThisInitialized","self","ReferenceError","_classCallCheck","instance","Constructor","TypeError","toPropertyKey","require","_defineProperties","target","props","descriptor","configurable","writable","_createClass","protoProps","staticProps","_getPrototypeOf","setPrototypeOf","getPrototypeOf","bind","__proto__","_inherits","subClass","superClass","create","constructor","_interopRequireDefault","_iterableToArrayLimit","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","err","_nonIterableRest","assertThisInitialized","_possibleConstructorReturn","_setPrototypeOf","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_slicedToArray","_toPrimitive","input","hint","prim","toPrimitive","res","String","Number","_toPropertyKey","arg","arrayLikeToArray","_unsupportedIterableToArray","minLen","n","slice","name","from","test"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;ECVA;IAAA;IAAA;IAAA;MAAA;MAAA;QAAA;MAAA;IAAA;EAAA;AAAqB;;;;;;;;;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AE;IAC7B,IAAI,QAAOC,UAAU,0DAAVA,UAAU,OAAK,QAAQ,EAAE;MAClCA,UAAU,CAACF,kBAAkB,GAAGD,OAAO;IACzC,CAAC,MAAM;MACLI,QAAQ,CAAC,GAAG,EAAE,wBAAwB,CAAC,CAACJ,OAAO,CAAC;IAClD;EACF;AAAC;;;;;;UCdD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;UEtBA;UACA;UACA;UACA","sources":["webpack://Utils/webpack/universalModuleDefinition","webpack://Utils/./packages/utils/index.ts","webpack://Utils/./packages/utils/src/averType.ts","webpack://Utils/./packages/utils/src/event.ts","webpack://Utils/./packages/utils/src/format.ts","webpack://Utils/./packages/utils/src/index.ts","webpack://Utils/./packages/utils/src/object.ts","webpack://Utils/./packages/utils/src/tool.ts","webpack://Utils/./packages/utils/src/valType.ts","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/classCallCheck.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/createClass.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/inherits.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/slicedToArray.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toPrimitive.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/typeof.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack://Utils/../cclr-magic-cli/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/regenerator/index.js","webpack://Utils/webpack/bootstrap","webpack://Utils/webpack/before-startup","webpack://Utils/webpack/startup","webpack://Utils/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Utils\"] = factory();\n\telse\n\t\troot[\"Utils\"] = factory();\n})(self, () => {\nreturn ","export * from './src'","import { TVal, VAL_TYPE } from \"./valType\";\n\n/**\n * 获取参数类型\n * @param p 参数\n * @returns\n */\nfunction getParamType(p: unknown): TVal {\n return (\n VAL_TYPE[typeof p] ||\n VAL_TYPE[Object.prototype.toString.call(p)] ||\n (p ? \"object\" : \"null\")\n );\n}\n\nfunction isType(params: any, type: TVal) {\n return getParamType(params) === type;\n}\n\nfunction isString(s): s is string {\n return getParamType(s) === \"string\";\n}\n\nfunction isBoolean(b): b is boolean {\n return getParamType(b) === \"boolean\";\n}\n\nfunction isFunction(b): b is Function {\n return getParamType(b) === \"function\";\n}\n\nfunction isPlainObject(b): b is Record<string, unknown> {\n return getParamType(b) === \"object\";\n}\n\nfunction isArray(a): a is any[] {\n return Array.isArray(a);\n}\n\nexport {\n getParamType,\n isType,\n isString,\n isBoolean,\n isFunction,\n isArray,\n isPlainObject,\n};\n","type EventHandler<T> = (...args: T[]) => void;\n\nexport abstract class EventBase<T extends { [K in keyof T]: EventHandler<any> }> {\n private handlers: {\n [K in keyof T]: Array<T[K]>\n } = {} as any;\n\n constructor(eventMap: Partial<T> = {} as T) {\n Object.entries(eventMap).forEach(([key, handle]) => {\n this.handlers[key] = [handle];\n });\n }\n\n on<K extends keyof T>(eventName: K, handler: T[K]) {\n this.handlers[eventName] ??= [] as T[K][];\n this.handlers[eventName].push(handler);\n }\n\n off<K extends keyof T>(eventName: K, handler: T[K]) {\n const eventHandlers = this.handlers[eventName];\n if (eventHandlers) {\n const index = eventHandlers.indexOf(handler);\n if (index !== -1) {\n eventHandlers.splice(index, 1);\n }\n }\n }\n\n emit<K extends keyof T>(eventName: K, ...args: Parameters<T[K]>) {\n const eventHandlers = this.handlers[eventName];\n if (eventHandlers) {\n eventHandlers.forEach(handler => {\n handler(...args);\n });\n }\n }\n}\n\nexport class Event<T extends { [K in keyof T]: EventHandler<any> }> extends EventBase<T> {}\n\nexport class EventFree extends EventBase<any> {}\n","import { defaultValueMap, TVal } from \"./valType\";\nimport { isFunction, isType } from \"./averType\";\nimport { TPlainObject } from \"@cclr/ts\";\n\n/**\n * 对象格式化\n * @param o\n * @param maps\n */\nexport function formatObj<T extends TPlainObject>(\n o: T,\n maps: Array<[string, TVal, unknown?]>\n): T & TPlainObject;\nexport function formatObj<T extends TPlainObject>(\n o: T,\n maps: Array<[keyof T, TVal, unknown?]>\n): T {\n const resetRes: Partial<T> = {};\n maps.forEach(([key, type, defaultValue]) => {\n if (!isType(o[key], type)) {\n if (isFunction(defaultValue) && type !== \"function\") {\n defaultValue = defaultValue();\n }\n resetRes[key] = defaultValue || defaultValueMap[type];\n }\n });\n\n return {\n ...o,\n ...resetRes,\n };\n}\n","export * from './event';\nexport * from \"./averType\";\nexport * from \"./format\";\nexport * from './tool';\nexport * as obj from \"./object\";","/**\n * 对象挑选\n * @param obj\n * @param keys\n * @returns\n */\nexport const objPick = <T extends keyof any>(\n obj: Partial<Record<T, any>>,\n keys: T[]\n) => {\n return keys.reduce((pre, key) => {\n const val = obj[key];\n if (val) {\n pre[key] = val;\n }\n return pre;\n }, {} as Partial<Record<T, any>>);\n};\n","\n/**\n * 延迟的promise\n * @param fun \n * @param delay \n * @returns \n */\nexport const promiseTimeout = async (fun, delay = 3000) => {\n await sleep(delay);\n return fun();\n}\n\n/**\n * 休息一会\n * @param delay 时长,ms\n * @returns \n */\nexport const sleep = (delay = 3000) => {\n return new Promise<void>((res) => {\n setTimeout(() => {\n res();\n }, delay);\n })\n}","export const VAL_TYPE = {\n boolean: \"boolean\",\n undefined: \"undefined\",\n number: \"undefined\",\n string: \"string\",\n null: \"null\",\n \"[object Object]\": \"object\",\n \"[object Function]\": \"function\",\n \"[object RegExp]\": \"regexp\",\n \"[object Array]\": \"array\",\n \"[object Date]\": \"date\",\n \"[object Error]\": \"error\",\n \"[object Blob]\": \"blob\",\n \"[object File]\": \"file\",\n \"[object ArrayBuffer]\": \"arrayBuffer\",\n} as const;\n\nexport const defaultValueMap = {\n boolean: false,\n undefined: undefined,\n number: 0,\n string: \"\",\n null: null,\n object: {},\n function: () => {},\n regexp: /^.*$/,\n array: [],\n arrayBuffer: new ArrayBuffer(4),\n};\n\n// 只有需要使用时才创建\nlet dateObj: Date;\nlet errorObj: Error;\nlet blobObj: Blob;\nlet fileObj: File;\nObject.defineProperty(defaultValueMap, \"date\", {\n get() {\n if (!dateObj) {\n dateObj = new Date();\n }\n return dateObj;\n },\n});\nObject.defineProperty(defaultValueMap, \"error\", {\n get() {\n if (!errorObj) {\n errorObj = new Error();\n }\n return errorObj;\n },\n});\nObject.defineProperty(defaultValueMap, \"blob\", {\n get() {\n if (!blobObj) {\n blobObj = new Blob([]);\n }\n return blobObj;\n },\n});\nObject.defineProperty(defaultValueMap, \"file\", {\n get() {\n if (!fileObj) {\n fileObj = new File([], \"file\");\n }\n return fileObj;\n },\n});\n\nexport type TVal = typeof VAL_TYPE[keyof typeof VAL_TYPE];\n\n","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _getPrototypeOf(o);\n}\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n defineProperty = Object.defineProperty || function (obj, key, desc) {\n obj[key] = desc.value;\n },\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return defineProperty(generator, \"_invoke\", {\n value: makeInvokeMethod(innerFn, self, context)\n }), generator;\n }\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n exports.wrap = wrap;\n var ContinueSentinel = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n reject(record.arg);\n }\n var previousPromise;\n defineProperty(this, \"_invoke\", {\n value: function value(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method,\n method = delegate.iterator[methodName];\n if (undefined === method) return context.delegate = null, \"throw\" === methodName && delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method) || \"return\" !== methodName && (context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a '\" + methodName + \"' method\")), ContinueSentinel;\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n 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);\n }\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n return next.value = undefined, next.done = !0, next;\n };\n return next.next = next;\n }\n }\n return {\n next: doneResult\n };\n }\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), defineProperty(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (val) {\n var object = Object(val),\n keys = [];\n for (var key in object) keys.push(key);\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n 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);\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n 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;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _setPrototypeOf(o, p);\n}\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nmodule.exports = _toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nmodule.exports = _toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// TODO(Babel 8): Remove this file.\n\nvar runtime = require(\"../helpers/regeneratorRuntime\")();\nmodule.exports = runtime;\n\n// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(593);\n",""],"names":["getParamType","p","VAL_TYPE","Object","prototype","toString","call","isType","params","type","isString","s","isBoolean","b","isFunction","isPlainObject","isArray","a","Array","EventBase","eventMap","entries","forEach","key","handle","handlers","eventName","handler","push","eventHandlers","index","indexOf","splice","args","Event","EventFree","formatObj","o","maps","resetRes","defaultValue","defaultValueMap","objPick","obj","keys","reduce","pre","val","promiseTimeout","fun","delay","__awaiter","sleep","Promise","res","setTimeout","undefined","number","string","object","regexp","array","arrayBuffer","ArrayBuffer","dateObj","errorObj","blobObj","fileObj","defineProperty","get","Date","Error","Blob","File","_arrayLikeToArray","arr","len","length","i","arr2","module","exports","__esModule","_arrayWithHoles","_assertThisInitialized","self","ReferenceError","_classCallCheck","instance","Constructor","TypeError","toPropertyKey","require","_defineProperties","target","props","descriptor","enumerable","configurable","writable","_createClass","protoProps","staticProps","_getPrototypeOf","setPrototypeOf","getPrototypeOf","bind","__proto__","_inherits","subClass","superClass","create","constructor","value","_interopRequireDefault","_iterableToArrayLimit","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","err","_nonIterableRest","_typeof","assertThisInitialized","_possibleConstructorReturn","_regeneratorRuntime","Op","hasOwn","hasOwnProperty","desc","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","context","Context","makeInvokeMethod","tryCatch","fn","arg","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","values","Gp","defineIteratorMethods","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","methodName","info","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","name","mark","awrap","async","iter","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","_catch","thrown","delegateYield","_setPrototypeOf","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_slicedToArray","_toPrimitive","input","hint","prim","toPrimitive","String","Number","_toPropertyKey","arrayLikeToArray","_unsupportedIterableToArray","minLen","n","from","test","runtime","regeneratorRuntime","accidentalStrictMode","globalThis","Function"],"sourceRoot":""}
|
package/lib/src/averType.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { TVal } from "./valType";
|
|
|
6
6
|
*/
|
|
7
7
|
declare function getParamType(p: unknown): TVal;
|
|
8
8
|
declare function isType(params: any, type: TVal): boolean;
|
|
9
|
-
declare function isString(s: any): s is
|
|
10
|
-
declare function isBoolean(b: any): b is
|
|
9
|
+
declare function isString(s: any): s is string;
|
|
10
|
+
declare function isBoolean(b: any): b is boolean;
|
|
11
11
|
declare function isFunction(b: any): b is Function;
|
|
12
12
|
declare function isPlainObject(b: any): b is Record<string, unknown>;
|
|
13
13
|
declare function isArray(a: any): a is any[];
|
package/lib/src/index.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 延迟的promise
|
|
3
|
+
* @param fun
|
|
4
|
+
* @param delay
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare const promiseTimeout: (fun: any, delay?: number) => Promise<any>;
|
|
8
|
+
/**
|
|
9
|
+
* 休息一会
|
|
10
|
+
* @param delay 时长,ms
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
export declare const sleep: (delay?: number) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cclr/utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "基础方法",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@cclr/ts": "^1.0.
|
|
25
|
+
"@cclr/ts": "^1.0.8"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "56f93db4c8e3bed40bd437596ebf4bf261b2705d"
|
|
28
28
|
}
|