@tmagic/form 1.8.0-beta.21 → 1.8.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.js +3 -3
- package/dist/es/schema.js +0 -1
- package/dist/es/submitForm.js +3 -2
- package/dist/es/utils/form.js +3 -0
- package/dist/es/utils/typeMatch.js +9 -6
- package/dist/tmagic-form.umd.cjs +149 -137
- package/package.json +10 -10
- package/src/index.ts +3 -0
- package/src/utils/form.ts +41 -32
- package/src/utils/typeMatch.ts +13 -9
- package/types/index.d.ts +56 -32
- package/dist/es/_virtual/_rolldown/runtime.js +0 -27
package/dist/tmagic-form.umd.cjs
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
return to;
|
|
34
34
|
};
|
|
35
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
35
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
36
36
|
value: mod,
|
|
37
37
|
enumerable: true
|
|
38
38
|
}) : target, mod));
|
|
@@ -54,21 +54,21 @@
|
|
|
54
54
|
*/
|
|
55
55
|
var FORM_SILENT_MODE_KEY = Symbol("mFormSilentMode");
|
|
56
56
|
//#endregion
|
|
57
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
57
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
|
|
58
58
|
/** Detect free variable `global` from Node.js. */
|
|
59
59
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
60
60
|
//#endregion
|
|
61
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
61
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
|
|
62
62
|
/** Detect free variable `self`. */
|
|
63
63
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
64
64
|
/** Used as a reference to the global object. */
|
|
65
65
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
66
66
|
//#endregion
|
|
67
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
67
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
|
|
68
68
|
/** Built-in value references. */
|
|
69
69
|
var Symbol$1 = root.Symbol;
|
|
70
70
|
//#endregion
|
|
71
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
71
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
|
|
72
72
|
/** Used for built-in method references. */
|
|
73
73
|
var objectProto$3 = Object.prototype;
|
|
74
74
|
/** Used to check objects for own properties. */
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
return result;
|
|
101
101
|
}
|
|
102
102
|
//#endregion
|
|
103
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
103
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
104
104
|
/**
|
|
105
105
|
* Used to resolve the
|
|
106
106
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
return nativeObjectToString.call(value);
|
|
119
119
|
}
|
|
120
120
|
//#endregion
|
|
121
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
121
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
122
122
|
/** `Object#toString` result references. */
|
|
123
123
|
var nullTag = "[object Null]";
|
|
124
124
|
var undefinedTag = "[object Undefined]";
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
137
137
|
}
|
|
138
138
|
//#endregion
|
|
139
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
139
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
140
140
|
/**
|
|
141
141
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
142
142
|
* and has a `typeof` result of "object".
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
return value != null && typeof value == "object";
|
|
166
166
|
}
|
|
167
167
|
//#endregion
|
|
168
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
168
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
169
169
|
/** `Object#toString` result references. */
|
|
170
170
|
var symbolTag$3 = "[object Symbol]";
|
|
171
171
|
/**
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$3;
|
|
190
190
|
}
|
|
191
191
|
//#endregion
|
|
192
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
192
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
193
193
|
/**
|
|
194
194
|
* Checks if `value` is classified as an `Array` object.
|
|
195
195
|
*
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
*/
|
|
216
216
|
var isArray = Array.isArray;
|
|
217
217
|
//#endregion
|
|
218
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
218
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js
|
|
219
219
|
/** Used to match a single whitespace character. */
|
|
220
220
|
var reWhitespace = /\s/;
|
|
221
221
|
/**
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
return index;
|
|
233
233
|
}
|
|
234
234
|
//#endregion
|
|
235
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
235
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js
|
|
236
236
|
/** Used to match leading whitespace. */
|
|
237
237
|
var reTrimStart = /^\s+/;
|
|
238
238
|
/**
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
247
247
|
}
|
|
248
248
|
//#endregion
|
|
249
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
249
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
250
250
|
/**
|
|
251
251
|
* Checks if `value` is the
|
|
252
252
|
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
return value != null && (type == "object" || type == "function");
|
|
278
278
|
}
|
|
279
279
|
//#endregion
|
|
280
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
280
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js
|
|
281
281
|
/** Used as references for various `Number` constants. */
|
|
282
282
|
var NAN = NaN;
|
|
283
283
|
/** Used to detect bad signed hexadecimal string values. */
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
|
|
325
325
|
}
|
|
326
326
|
//#endregion
|
|
327
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
327
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
328
328
|
/** `Object#toString` result references. */
|
|
329
329
|
var asyncTag = "[object AsyncFunction]";
|
|
330
330
|
var funcTag$2 = "[object Function]";
|
|
@@ -353,11 +353,11 @@
|
|
|
353
353
|
return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
|
|
354
354
|
}
|
|
355
355
|
//#endregion
|
|
356
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
356
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
357
357
|
/** Used to detect overreaching core-js shims. */
|
|
358
358
|
var coreJsData = root["__core-js_shared__"];
|
|
359
359
|
//#endregion
|
|
360
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
360
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
|
|
361
361
|
/** Used to detect methods masquerading as native. */
|
|
362
362
|
var maskSrcKey = function() {
|
|
363
363
|
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
return !!maskSrcKey && maskSrcKey in func;
|
|
375
375
|
}
|
|
376
376
|
//#endregion
|
|
377
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
377
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
378
378
|
/** Used to resolve the decompiled source of functions. */
|
|
379
379
|
var funcToString$1 = Function.prototype.toString;
|
|
380
380
|
/**
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
return "";
|
|
397
397
|
}
|
|
398
398
|
//#endregion
|
|
399
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
399
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
400
400
|
/**
|
|
401
401
|
* Used to match `RegExp`
|
|
402
402
|
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
|
|
427
427
|
}
|
|
428
428
|
//#endregion
|
|
429
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
429
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
430
430
|
/**
|
|
431
431
|
* Gets the value at `key` of `object`.
|
|
432
432
|
*
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
return object == null ? void 0 : object[key];
|
|
440
440
|
}
|
|
441
441
|
//#endregion
|
|
442
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
442
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
443
443
|
/**
|
|
444
444
|
* Gets the native function at `key` of `object`.
|
|
445
445
|
*
|
|
@@ -453,10 +453,10 @@
|
|
|
453
453
|
return baseIsNative(value) ? value : void 0;
|
|
454
454
|
}
|
|
455
455
|
//#endregion
|
|
456
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
456
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
|
|
457
457
|
var WeakMap = getNative(root, "WeakMap");
|
|
458
458
|
//#endregion
|
|
459
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
459
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
|
|
460
460
|
/** Built-in value references. */
|
|
461
461
|
var objectCreate = Object.create;
|
|
462
462
|
/**
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
};
|
|
480
480
|
}();
|
|
481
481
|
//#endregion
|
|
482
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
482
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
|
|
483
483
|
/**
|
|
484
484
|
* Copies the values of `source` to `array`.
|
|
485
485
|
*
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
return array;
|
|
496
496
|
}
|
|
497
497
|
//#endregion
|
|
498
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
498
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
|
|
499
499
|
var defineProperty = function() {
|
|
500
500
|
try {
|
|
501
501
|
var func = getNative(Object, "defineProperty");
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
} catch (e) {}
|
|
505
505
|
}();
|
|
506
506
|
//#endregion
|
|
507
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
507
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
|
|
508
508
|
/**
|
|
509
509
|
* A specialized version of `_.forEach` for arrays without support for
|
|
510
510
|
* iteratee shorthands.
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
return array;
|
|
521
521
|
}
|
|
522
522
|
//#endregion
|
|
523
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
523
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
|
|
524
524
|
/** Used as references for various `Number` constants. */
|
|
525
525
|
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
526
526
|
/** Used to detect unsigned integer values. */
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
540
540
|
}
|
|
541
541
|
//#endregion
|
|
542
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
542
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
|
|
543
543
|
/**
|
|
544
544
|
* The base implementation of `assignValue` and `assignMergeValue` without
|
|
545
545
|
* value checks.
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
else object[key] = value;
|
|
560
560
|
}
|
|
561
561
|
//#endregion
|
|
562
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
562
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
563
563
|
/**
|
|
564
564
|
* Performs a
|
|
565
565
|
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
return value === other || value !== value && other !== other;
|
|
597
597
|
}
|
|
598
598
|
//#endregion
|
|
599
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
599
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js
|
|
600
600
|
/** Used to check objects for own properties. */
|
|
601
601
|
var hasOwnProperty$10 = Object.prototype.hasOwnProperty;
|
|
602
602
|
/**
|
|
@@ -614,7 +614,7 @@
|
|
|
614
614
|
if (!(hasOwnProperty$10.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
|
|
615
615
|
}
|
|
616
616
|
//#endregion
|
|
617
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
617
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
|
|
618
618
|
/**
|
|
619
619
|
* Copies properties of `source` to `object`.
|
|
620
620
|
*
|
|
@@ -639,7 +639,7 @@
|
|
|
639
639
|
return object;
|
|
640
640
|
}
|
|
641
641
|
//#endregion
|
|
642
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
642
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
643
643
|
/** Used as references for various `Number` constants. */
|
|
644
644
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
645
645
|
/**
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
673
673
|
}
|
|
674
674
|
//#endregion
|
|
675
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
675
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
676
676
|
/**
|
|
677
677
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
678
678
|
* not a function and has a `value.length` that's an integer greater than or
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
return value != null && isLength(value.length) && !isFunction(value);
|
|
703
703
|
}
|
|
704
704
|
//#endregion
|
|
705
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
705
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
706
706
|
/** Used for built-in method references. */
|
|
707
707
|
var objectProto$1 = Object.prototype;
|
|
708
708
|
/**
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$1);
|
|
718
718
|
}
|
|
719
719
|
//#endregion
|
|
720
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
720
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
721
721
|
/**
|
|
722
722
|
* The base implementation of `_.times` without support for iteratee shorthands
|
|
723
723
|
* or max array length checks.
|
|
@@ -733,7 +733,7 @@
|
|
|
733
733
|
return result;
|
|
734
734
|
}
|
|
735
735
|
//#endregion
|
|
736
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
736
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
737
737
|
/** `Object#toString` result references. */
|
|
738
738
|
var argsTag$3 = "[object Arguments]";
|
|
739
739
|
/**
|
|
@@ -747,7 +747,7 @@
|
|
|
747
747
|
return isObjectLike(value) && baseGetTag(value) == argsTag$3;
|
|
748
748
|
}
|
|
749
749
|
//#endregion
|
|
750
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
750
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
751
751
|
/** Used for built-in method references. */
|
|
752
752
|
var objectProto = Object.prototype;
|
|
753
753
|
/** Used to check objects for own properties. */
|
|
@@ -778,7 +778,7 @@
|
|
|
778
778
|
return isObjectLike(value) && hasOwnProperty$9.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
779
779
|
};
|
|
780
780
|
//#endregion
|
|
781
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
781
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
782
782
|
/**
|
|
783
783
|
* This method returns `false`.
|
|
784
784
|
*
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
return false;
|
|
797
797
|
}
|
|
798
798
|
//#endregion
|
|
799
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
799
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
800
800
|
/** Detect free variable `exports`. */
|
|
801
801
|
var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
802
802
|
/** Detect free variable `module`. */
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
*/
|
|
823
823
|
var isBuffer = (Buffer$2 ? Buffer$2.isBuffer : void 0) || stubFalse;
|
|
824
824
|
//#endregion
|
|
825
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
825
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
|
|
826
826
|
/** `Object#toString` result references. */
|
|
827
827
|
var argsTag$2 = "[object Arguments]";
|
|
828
828
|
var arrayTag$2 = "[object Array]";
|
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
864
864
|
}
|
|
865
865
|
//#endregion
|
|
866
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
866
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
867
867
|
/**
|
|
868
868
|
* The base implementation of `_.unary` without support for storing metadata.
|
|
869
869
|
*
|
|
@@ -877,7 +877,7 @@
|
|
|
877
877
|
};
|
|
878
878
|
}
|
|
879
879
|
//#endregion
|
|
880
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
880
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
881
881
|
/** Detect free variable `exports`. */
|
|
882
882
|
var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
883
883
|
/** Detect free variable `module`. */
|
|
@@ -893,7 +893,7 @@
|
|
|
893
893
|
} catch (e) {}
|
|
894
894
|
}();
|
|
895
895
|
//#endregion
|
|
896
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
896
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
|
|
897
897
|
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
898
898
|
/**
|
|
899
899
|
* Checks if `value` is classified as a typed array.
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
*/
|
|
915
915
|
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
916
916
|
//#endregion
|
|
917
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
917
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
|
|
918
918
|
/** Used to check objects for own properties. */
|
|
919
919
|
var hasOwnProperty$8 = Object.prototype.hasOwnProperty;
|
|
920
920
|
/**
|
|
@@ -931,7 +931,7 @@
|
|
|
931
931
|
return result;
|
|
932
932
|
}
|
|
933
933
|
//#endregion
|
|
934
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
934
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
935
935
|
/**
|
|
936
936
|
* Creates a unary function that invokes `func` with its argument transformed.
|
|
937
937
|
*
|
|
@@ -946,10 +946,10 @@
|
|
|
946
946
|
};
|
|
947
947
|
}
|
|
948
948
|
//#endregion
|
|
949
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
949
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
950
950
|
var nativeKeys = overArg(Object.keys, Object);
|
|
951
951
|
//#endregion
|
|
952
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
952
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
|
|
953
953
|
/** Used to check objects for own properties. */
|
|
954
954
|
var hasOwnProperty$7 = Object.prototype.hasOwnProperty;
|
|
955
955
|
/**
|
|
@@ -966,7 +966,7 @@
|
|
|
966
966
|
return result;
|
|
967
967
|
}
|
|
968
968
|
//#endregion
|
|
969
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
969
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
970
970
|
/**
|
|
971
971
|
* Creates an array of the own enumerable property names of `object`.
|
|
972
972
|
*
|
|
@@ -999,7 +999,7 @@
|
|
|
999
999
|
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
1000
1000
|
}
|
|
1001
1001
|
//#endregion
|
|
1002
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1002
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
|
|
1003
1003
|
/**
|
|
1004
1004
|
* This function is like
|
|
1005
1005
|
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
@@ -1015,7 +1015,7 @@
|
|
|
1015
1015
|
return result;
|
|
1016
1016
|
}
|
|
1017
1017
|
//#endregion
|
|
1018
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1018
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
|
|
1019
1019
|
/** Used to check objects for own properties. */
|
|
1020
1020
|
var hasOwnProperty$6 = Object.prototype.hasOwnProperty;
|
|
1021
1021
|
/**
|
|
@@ -1032,7 +1032,7 @@
|
|
|
1032
1032
|
return result;
|
|
1033
1033
|
}
|
|
1034
1034
|
//#endregion
|
|
1035
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1035
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
|
|
1036
1036
|
/**
|
|
1037
1037
|
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
1038
1038
|
*
|
|
@@ -1060,10 +1060,10 @@
|
|
|
1060
1060
|
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
1061
1061
|
}
|
|
1062
1062
|
//#endregion
|
|
1063
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1063
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
1064
1064
|
var nativeCreate = getNative(Object, "create");
|
|
1065
1065
|
//#endregion
|
|
1066
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1066
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
1067
1067
|
/**
|
|
1068
1068
|
* Removes all key-value entries from the hash.
|
|
1069
1069
|
*
|
|
@@ -1076,7 +1076,7 @@
|
|
|
1076
1076
|
this.size = 0;
|
|
1077
1077
|
}
|
|
1078
1078
|
//#endregion
|
|
1079
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1079
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
1080
1080
|
/**
|
|
1081
1081
|
* Removes `key` and its value from the hash.
|
|
1082
1082
|
*
|
|
@@ -1093,7 +1093,7 @@
|
|
|
1093
1093
|
return result;
|
|
1094
1094
|
}
|
|
1095
1095
|
//#endregion
|
|
1096
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1096
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
1097
1097
|
/** Used to stand-in for `undefined` hash values. */
|
|
1098
1098
|
var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
|
|
1099
1099
|
/** Used to check objects for own properties. */
|
|
@@ -1116,7 +1116,7 @@
|
|
|
1116
1116
|
return hasOwnProperty$5.call(data, key) ? data[key] : void 0;
|
|
1117
1117
|
}
|
|
1118
1118
|
//#endregion
|
|
1119
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1119
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
1120
1120
|
/** Used to check objects for own properties. */
|
|
1121
1121
|
var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
|
|
1122
1122
|
/**
|
|
@@ -1133,7 +1133,7 @@
|
|
|
1133
1133
|
return nativeCreate ? data[key] !== void 0 : hasOwnProperty$4.call(data, key);
|
|
1134
1134
|
}
|
|
1135
1135
|
//#endregion
|
|
1136
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1136
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
1137
1137
|
/** Used to stand-in for `undefined` hash values. */
|
|
1138
1138
|
var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
|
|
1139
1139
|
/**
|
|
@@ -1153,7 +1153,7 @@
|
|
|
1153
1153
|
return this;
|
|
1154
1154
|
}
|
|
1155
1155
|
//#endregion
|
|
1156
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1156
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
1157
1157
|
/**
|
|
1158
1158
|
* Creates a hash object.
|
|
1159
1159
|
*
|
|
@@ -1175,7 +1175,7 @@
|
|
|
1175
1175
|
Hash.prototype.has = hashHas;
|
|
1176
1176
|
Hash.prototype.set = hashSet;
|
|
1177
1177
|
//#endregion
|
|
1178
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1178
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Removes all key-value entries from the list cache.
|
|
1181
1181
|
*
|
|
@@ -1188,7 +1188,7 @@
|
|
|
1188
1188
|
this.size = 0;
|
|
1189
1189
|
}
|
|
1190
1190
|
//#endregion
|
|
1191
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1191
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
1192
1192
|
/**
|
|
1193
1193
|
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
1194
1194
|
*
|
|
@@ -1203,7 +1203,7 @@
|
|
|
1203
1203
|
return -1;
|
|
1204
1204
|
}
|
|
1205
1205
|
//#endregion
|
|
1206
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1206
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
1207
1207
|
/** Built-in value references. */
|
|
1208
1208
|
var splice = Array.prototype.splice;
|
|
1209
1209
|
/**
|
|
@@ -1224,7 +1224,7 @@
|
|
|
1224
1224
|
return true;
|
|
1225
1225
|
}
|
|
1226
1226
|
//#endregion
|
|
1227
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1227
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
1228
1228
|
/**
|
|
1229
1229
|
* Gets the list cache value for `key`.
|
|
1230
1230
|
*
|
|
@@ -1239,7 +1239,7 @@
|
|
|
1239
1239
|
return index < 0 ? void 0 : data[index][1];
|
|
1240
1240
|
}
|
|
1241
1241
|
//#endregion
|
|
1242
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1242
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Checks if a list cache value for `key` exists.
|
|
1245
1245
|
*
|
|
@@ -1253,7 +1253,7 @@
|
|
|
1253
1253
|
return assocIndexOf(this.__data__, key) > -1;
|
|
1254
1254
|
}
|
|
1255
1255
|
//#endregion
|
|
1256
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1256
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Sets the list cache `key` to `value`.
|
|
1259
1259
|
*
|
|
@@ -1273,7 +1273,7 @@
|
|
|
1273
1273
|
return this;
|
|
1274
1274
|
}
|
|
1275
1275
|
//#endregion
|
|
1276
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1276
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
1277
1277
|
/**
|
|
1278
1278
|
* Creates an list cache object.
|
|
1279
1279
|
*
|
|
@@ -1295,10 +1295,10 @@
|
|
|
1295
1295
|
ListCache.prototype.has = listCacheHas;
|
|
1296
1296
|
ListCache.prototype.set = listCacheSet;
|
|
1297
1297
|
//#endregion
|
|
1298
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1298
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
1299
1299
|
var Map$1 = getNative(root, "Map");
|
|
1300
1300
|
//#endregion
|
|
1301
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1301
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
1302
1302
|
/**
|
|
1303
1303
|
* Removes all key-value entries from the map.
|
|
1304
1304
|
*
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
};
|
|
1316
1316
|
}
|
|
1317
1317
|
//#endregion
|
|
1318
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1318
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
1319
1319
|
/**
|
|
1320
1320
|
* Checks if `value` is suitable for use as unique object key.
|
|
1321
1321
|
*
|
|
@@ -1328,7 +1328,7 @@
|
|
|
1328
1328
|
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
1329
1329
|
}
|
|
1330
1330
|
//#endregion
|
|
1331
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1331
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
1332
1332
|
/**
|
|
1333
1333
|
* Gets the data for `map`.
|
|
1334
1334
|
*
|
|
@@ -1342,7 +1342,7 @@
|
|
|
1342
1342
|
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
1343
1343
|
}
|
|
1344
1344
|
//#endregion
|
|
1345
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1345
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
1346
1346
|
/**
|
|
1347
1347
|
* Removes `key` and its value from the map.
|
|
1348
1348
|
*
|
|
@@ -1358,7 +1358,7 @@
|
|
|
1358
1358
|
return result;
|
|
1359
1359
|
}
|
|
1360
1360
|
//#endregion
|
|
1361
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1361
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
1362
1362
|
/**
|
|
1363
1363
|
* Gets the map value for `key`.
|
|
1364
1364
|
*
|
|
@@ -1372,7 +1372,7 @@
|
|
|
1372
1372
|
return getMapData(this, key).get(key);
|
|
1373
1373
|
}
|
|
1374
1374
|
//#endregion
|
|
1375
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1375
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
1376
1376
|
/**
|
|
1377
1377
|
* Checks if a map value for `key` exists.
|
|
1378
1378
|
*
|
|
@@ -1386,7 +1386,7 @@
|
|
|
1386
1386
|
return getMapData(this, key).has(key);
|
|
1387
1387
|
}
|
|
1388
1388
|
//#endregion
|
|
1389
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1389
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
1390
1390
|
/**
|
|
1391
1391
|
* Sets the map `key` to `value`.
|
|
1392
1392
|
*
|
|
@@ -1404,7 +1404,7 @@
|
|
|
1404
1404
|
return this;
|
|
1405
1405
|
}
|
|
1406
1406
|
//#endregion
|
|
1407
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1407
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
1408
1408
|
/**
|
|
1409
1409
|
* Creates a map cache object to store key-value pairs.
|
|
1410
1410
|
*
|
|
@@ -1426,7 +1426,7 @@
|
|
|
1426
1426
|
MapCache.prototype.has = mapCacheHas;
|
|
1427
1427
|
MapCache.prototype.set = mapCacheSet;
|
|
1428
1428
|
//#endregion
|
|
1429
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1429
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
1430
1430
|
/**
|
|
1431
1431
|
* Appends the elements of `values` to `array`.
|
|
1432
1432
|
*
|
|
@@ -1441,11 +1441,11 @@
|
|
|
1441
1441
|
return array;
|
|
1442
1442
|
}
|
|
1443
1443
|
//#endregion
|
|
1444
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1444
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
|
|
1445
1445
|
/** Built-in value references. */
|
|
1446
1446
|
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
1447
1447
|
//#endregion
|
|
1448
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1448
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
|
|
1449
1449
|
/**
|
|
1450
1450
|
* Removes all key-value entries from the stack.
|
|
1451
1451
|
*
|
|
@@ -1458,7 +1458,7 @@
|
|
|
1458
1458
|
this.size = 0;
|
|
1459
1459
|
}
|
|
1460
1460
|
//#endregion
|
|
1461
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1461
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
1462
1462
|
/**
|
|
1463
1463
|
* Removes `key` and its value from the stack.
|
|
1464
1464
|
*
|
|
@@ -1474,7 +1474,7 @@
|
|
|
1474
1474
|
return result;
|
|
1475
1475
|
}
|
|
1476
1476
|
//#endregion
|
|
1477
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1477
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Gets the stack value for `key`.
|
|
1480
1480
|
*
|
|
@@ -1488,7 +1488,7 @@
|
|
|
1488
1488
|
return this.__data__.get(key);
|
|
1489
1489
|
}
|
|
1490
1490
|
//#endregion
|
|
1491
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1491
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
1492
1492
|
/**
|
|
1493
1493
|
* Checks if a stack value for `key` exists.
|
|
1494
1494
|
*
|
|
@@ -1502,7 +1502,7 @@
|
|
|
1502
1502
|
return this.__data__.has(key);
|
|
1503
1503
|
}
|
|
1504
1504
|
//#endregion
|
|
1505
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1505
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
1506
1506
|
/** Used as the size to enable large array optimizations. */
|
|
1507
1507
|
var LARGE_ARRAY_SIZE = 200;
|
|
1508
1508
|
/**
|
|
@@ -1531,7 +1531,7 @@
|
|
|
1531
1531
|
return this;
|
|
1532
1532
|
}
|
|
1533
1533
|
//#endregion
|
|
1534
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1534
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
1535
1535
|
/**
|
|
1536
1536
|
* Creates a stack cache object to store key-value pairs.
|
|
1537
1537
|
*
|
|
@@ -1549,7 +1549,7 @@
|
|
|
1549
1549
|
Stack.prototype.has = stackHas;
|
|
1550
1550
|
Stack.prototype.set = stackSet;
|
|
1551
1551
|
//#endregion
|
|
1552
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1552
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
|
|
1553
1553
|
/**
|
|
1554
1554
|
* The base implementation of `_.assign` without support for multiple sources
|
|
1555
1555
|
* or `customizer` functions.
|
|
@@ -1563,7 +1563,7 @@
|
|
|
1563
1563
|
return object && copyObject(source, keys(source), object);
|
|
1564
1564
|
}
|
|
1565
1565
|
//#endregion
|
|
1566
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1566
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
|
|
1567
1567
|
/**
|
|
1568
1568
|
* The base implementation of `_.assignIn` without support for multiple sources
|
|
1569
1569
|
* or `customizer` functions.
|
|
@@ -1577,7 +1577,7 @@
|
|
|
1577
1577
|
return object && copyObject(source, keysIn(source), object);
|
|
1578
1578
|
}
|
|
1579
1579
|
//#endregion
|
|
1580
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1580
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
|
|
1581
1581
|
/** Detect free variable `exports`. */
|
|
1582
1582
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1583
1583
|
/** Detect free variable `module`. */
|
|
@@ -1600,7 +1600,7 @@
|
|
|
1600
1600
|
return result;
|
|
1601
1601
|
}
|
|
1602
1602
|
//#endregion
|
|
1603
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1603
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
|
|
1604
1604
|
/**
|
|
1605
1605
|
* A specialized version of `_.filter` for arrays without support for
|
|
1606
1606
|
* iteratee shorthands.
|
|
@@ -1619,7 +1619,7 @@
|
|
|
1619
1619
|
return result;
|
|
1620
1620
|
}
|
|
1621
1621
|
//#endregion
|
|
1622
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1622
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
|
|
1623
1623
|
/**
|
|
1624
1624
|
* This method returns a new empty array.
|
|
1625
1625
|
*
|
|
@@ -1642,7 +1642,7 @@
|
|
|
1642
1642
|
return [];
|
|
1643
1643
|
}
|
|
1644
1644
|
//#endregion
|
|
1645
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1645
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
|
|
1646
1646
|
/** Built-in value references. */
|
|
1647
1647
|
var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
1648
1648
|
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
@@ -1661,7 +1661,7 @@
|
|
|
1661
1661
|
});
|
|
1662
1662
|
};
|
|
1663
1663
|
//#endregion
|
|
1664
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1664
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
|
|
1665
1665
|
/**
|
|
1666
1666
|
* Copies own symbols of `source` to `object`.
|
|
1667
1667
|
*
|
|
@@ -1674,7 +1674,7 @@
|
|
|
1674
1674
|
return copyObject(source, getSymbols(source), object);
|
|
1675
1675
|
}
|
|
1676
1676
|
//#endregion
|
|
1677
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1677
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
|
|
1678
1678
|
/**
|
|
1679
1679
|
* Creates an array of the own and inherited enumerable symbols of `object`.
|
|
1680
1680
|
*
|
|
@@ -1691,7 +1691,7 @@
|
|
|
1691
1691
|
return result;
|
|
1692
1692
|
};
|
|
1693
1693
|
//#endregion
|
|
1694
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1694
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
|
|
1695
1695
|
/**
|
|
1696
1696
|
* Copies own and inherited symbols of `source` to `object`.
|
|
1697
1697
|
*
|
|
@@ -1704,7 +1704,7 @@
|
|
|
1704
1704
|
return copyObject(source, getSymbolsIn(source), object);
|
|
1705
1705
|
}
|
|
1706
1706
|
//#endregion
|
|
1707
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1707
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
|
|
1708
1708
|
/**
|
|
1709
1709
|
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
1710
1710
|
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
|
@@ -1721,7 +1721,7 @@
|
|
|
1721
1721
|
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
1722
1722
|
}
|
|
1723
1723
|
//#endregion
|
|
1724
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1724
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
|
|
1725
1725
|
/**
|
|
1726
1726
|
* Creates an array of own enumerable property names and symbols of `object`.
|
|
1727
1727
|
*
|
|
@@ -1733,7 +1733,7 @@
|
|
|
1733
1733
|
return baseGetAllKeys(object, keys, getSymbols);
|
|
1734
1734
|
}
|
|
1735
1735
|
//#endregion
|
|
1736
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1736
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
|
|
1737
1737
|
/**
|
|
1738
1738
|
* Creates an array of own and inherited enumerable property names and
|
|
1739
1739
|
* symbols of `object`.
|
|
@@ -1746,16 +1746,16 @@
|
|
|
1746
1746
|
return baseGetAllKeys(object, keysIn, getSymbolsIn);
|
|
1747
1747
|
}
|
|
1748
1748
|
//#endregion
|
|
1749
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1749
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
1750
1750
|
var DataView = getNative(root, "DataView");
|
|
1751
1751
|
//#endregion
|
|
1752
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1752
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
|
|
1753
1753
|
var Promise$1 = getNative(root, "Promise");
|
|
1754
1754
|
//#endregion
|
|
1755
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1755
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
|
|
1756
1756
|
var Set$1 = getNative(root, "Set");
|
|
1757
1757
|
//#endregion
|
|
1758
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1758
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
|
|
1759
1759
|
/** `Object#toString` result references. */
|
|
1760
1760
|
var mapTag$5 = "[object Map]";
|
|
1761
1761
|
var objectTag$2 = "[object Object]";
|
|
@@ -1790,7 +1790,7 @@
|
|
|
1790
1790
|
};
|
|
1791
1791
|
var _getTag_default = getTag;
|
|
1792
1792
|
//#endregion
|
|
1793
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1793
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
|
|
1794
1794
|
/** Used to check objects for own properties. */
|
|
1795
1795
|
var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
|
|
1796
1796
|
/**
|
|
@@ -1809,11 +1809,11 @@
|
|
|
1809
1809
|
return result;
|
|
1810
1810
|
}
|
|
1811
1811
|
//#endregion
|
|
1812
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1812
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
|
|
1813
1813
|
/** Built-in value references. */
|
|
1814
1814
|
var Uint8Array$1 = root.Uint8Array;
|
|
1815
1815
|
//#endregion
|
|
1816
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1816
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
|
|
1817
1817
|
/**
|
|
1818
1818
|
* Creates a clone of `arrayBuffer`.
|
|
1819
1819
|
*
|
|
@@ -1827,7 +1827,7 @@
|
|
|
1827
1827
|
return result;
|
|
1828
1828
|
}
|
|
1829
1829
|
//#endregion
|
|
1830
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1830
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
|
|
1831
1831
|
/**
|
|
1832
1832
|
* Creates a clone of `dataView`.
|
|
1833
1833
|
*
|
|
@@ -1841,7 +1841,7 @@
|
|
|
1841
1841
|
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
1842
1842
|
}
|
|
1843
1843
|
//#endregion
|
|
1844
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1844
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
|
|
1845
1845
|
/** Used to match `RegExp` flags from their coerced string values. */
|
|
1846
1846
|
var reFlags = /\w*$/;
|
|
1847
1847
|
/**
|
|
@@ -1857,7 +1857,7 @@
|
|
|
1857
1857
|
return result;
|
|
1858
1858
|
}
|
|
1859
1859
|
//#endregion
|
|
1860
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1860
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
|
|
1861
1861
|
/** Used to convert symbols to primitives and strings. */
|
|
1862
1862
|
var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
1863
1863
|
var symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : void 0;
|
|
@@ -1872,7 +1872,7 @@
|
|
|
1872
1872
|
return symbolValueOf$1 ? Object(symbolValueOf$1.call(symbol)) : {};
|
|
1873
1873
|
}
|
|
1874
1874
|
//#endregion
|
|
1875
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1875
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
|
|
1876
1876
|
/**
|
|
1877
1877
|
* Creates a clone of `typedArray`.
|
|
1878
1878
|
*
|
|
@@ -1886,7 +1886,7 @@
|
|
|
1886
1886
|
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
1887
1887
|
}
|
|
1888
1888
|
//#endregion
|
|
1889
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1889
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
|
|
1890
1890
|
/** `Object#toString` result references. */
|
|
1891
1891
|
var boolTag$2 = "[object Boolean]";
|
|
1892
1892
|
var dateTag$2 = "[object Date]";
|
|
@@ -1944,7 +1944,7 @@
|
|
|
1944
1944
|
}
|
|
1945
1945
|
}
|
|
1946
1946
|
//#endregion
|
|
1947
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1947
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
|
|
1948
1948
|
/**
|
|
1949
1949
|
* Initializes an object clone.
|
|
1950
1950
|
*
|
|
@@ -1956,7 +1956,7 @@
|
|
|
1956
1956
|
return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
|
|
1957
1957
|
}
|
|
1958
1958
|
//#endregion
|
|
1959
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1959
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
|
|
1960
1960
|
/** `Object#toString` result references. */
|
|
1961
1961
|
var mapTag$3 = "[object Map]";
|
|
1962
1962
|
/**
|
|
@@ -1970,7 +1970,7 @@
|
|
|
1970
1970
|
return isObjectLike(value) && _getTag_default(value) == mapTag$3;
|
|
1971
1971
|
}
|
|
1972
1972
|
//#endregion
|
|
1973
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1973
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
|
|
1974
1974
|
var nodeIsMap = nodeUtil && nodeUtil.isMap;
|
|
1975
1975
|
/**
|
|
1976
1976
|
* Checks if `value` is classified as a `Map` object.
|
|
@@ -1991,7 +1991,7 @@
|
|
|
1991
1991
|
*/
|
|
1992
1992
|
var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
|
|
1993
1993
|
//#endregion
|
|
1994
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1994
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js
|
|
1995
1995
|
/** `Object#toString` result references. */
|
|
1996
1996
|
var setTag$3 = "[object Set]";
|
|
1997
1997
|
/**
|
|
@@ -2005,7 +2005,7 @@
|
|
|
2005
2005
|
return isObjectLike(value) && _getTag_default(value) == setTag$3;
|
|
2006
2006
|
}
|
|
2007
2007
|
//#endregion
|
|
2008
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2008
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
|
|
2009
2009
|
var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
|
2010
2010
|
/**
|
|
2011
2011
|
* Checks if `value` is classified as a `Set` object.
|
|
@@ -2026,7 +2026,7 @@
|
|
|
2026
2026
|
*/
|
|
2027
2027
|
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
2028
2028
|
//#endregion
|
|
2029
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2029
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
|
|
2030
2030
|
/** Used to compose bitmasks for cloning. */
|
|
2031
2031
|
var CLONE_DEEP_FLAG$1 = 1;
|
|
2032
2032
|
var CLONE_FLAT_FLAG = 2;
|
|
@@ -2119,7 +2119,7 @@
|
|
|
2119
2119
|
return result;
|
|
2120
2120
|
}
|
|
2121
2121
|
//#endregion
|
|
2122
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2122
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
|
|
2123
2123
|
/** Used to compose bitmasks for cloning. */
|
|
2124
2124
|
var CLONE_DEEP_FLAG = 1;
|
|
2125
2125
|
var CLONE_SYMBOLS_FLAG = 4;
|
|
@@ -2145,7 +2145,7 @@
|
|
|
2145
2145
|
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
2146
2146
|
}
|
|
2147
2147
|
//#endregion
|
|
2148
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2148
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js
|
|
2149
2149
|
/** Used to stand-in for `undefined` hash values. */
|
|
2150
2150
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
2151
2151
|
/**
|
|
@@ -2163,7 +2163,7 @@
|
|
|
2163
2163
|
return this;
|
|
2164
2164
|
}
|
|
2165
2165
|
//#endregion
|
|
2166
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2166
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js
|
|
2167
2167
|
/**
|
|
2168
2168
|
* Checks if `value` is in the array cache.
|
|
2169
2169
|
*
|
|
@@ -2171,13 +2171,13 @@
|
|
|
2171
2171
|
* @name has
|
|
2172
2172
|
* @memberOf SetCache
|
|
2173
2173
|
* @param {*} value The value to search for.
|
|
2174
|
-
* @returns {
|
|
2174
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
2175
2175
|
*/
|
|
2176
2176
|
function setCacheHas(value) {
|
|
2177
2177
|
return this.__data__.has(value);
|
|
2178
2178
|
}
|
|
2179
2179
|
//#endregion
|
|
2180
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2180
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js
|
|
2181
2181
|
/**
|
|
2182
2182
|
*
|
|
2183
2183
|
* Creates an array cache object to store unique values.
|
|
@@ -2194,7 +2194,7 @@
|
|
|
2194
2194
|
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
2195
2195
|
SetCache.prototype.has = setCacheHas;
|
|
2196
2196
|
//#endregion
|
|
2197
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2197
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js
|
|
2198
2198
|
/**
|
|
2199
2199
|
* A specialized version of `_.some` for arrays without support for iteratee
|
|
2200
2200
|
* shorthands.
|
|
@@ -2211,7 +2211,7 @@
|
|
|
2211
2211
|
return false;
|
|
2212
2212
|
}
|
|
2213
2213
|
//#endregion
|
|
2214
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2214
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js
|
|
2215
2215
|
/**
|
|
2216
2216
|
* Checks if a `cache` value for `key` exists.
|
|
2217
2217
|
*
|
|
@@ -2224,7 +2224,7 @@
|
|
|
2224
2224
|
return cache.has(key);
|
|
2225
2225
|
}
|
|
2226
2226
|
//#endregion
|
|
2227
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2227
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
|
|
2228
2228
|
/** Used to compose bitmasks for value comparisons. */
|
|
2229
2229
|
var COMPARE_PARTIAL_FLAG$3 = 1;
|
|
2230
2230
|
var COMPARE_UNORDERED_FLAG$1 = 2;
|
|
@@ -2275,7 +2275,7 @@
|
|
|
2275
2275
|
return result;
|
|
2276
2276
|
}
|
|
2277
2277
|
//#endregion
|
|
2278
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2278
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js
|
|
2279
2279
|
/**
|
|
2280
2280
|
* Converts `map` to its key-value pairs.
|
|
2281
2281
|
*
|
|
@@ -2291,7 +2291,7 @@
|
|
|
2291
2291
|
return result;
|
|
2292
2292
|
}
|
|
2293
2293
|
//#endregion
|
|
2294
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2294
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js
|
|
2295
2295
|
/**
|
|
2296
2296
|
* Converts `set` to an array of its values.
|
|
2297
2297
|
*
|
|
@@ -2307,7 +2307,7 @@
|
|
|
2307
2307
|
return result;
|
|
2308
2308
|
}
|
|
2309
2309
|
//#endregion
|
|
2310
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2310
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
|
|
2311
2311
|
/** Used to compose bitmasks for value comparisons. */
|
|
2312
2312
|
var COMPARE_PARTIAL_FLAG$2 = 1;
|
|
2313
2313
|
var COMPARE_UNORDERED_FLAG = 2;
|
|
@@ -2375,7 +2375,7 @@
|
|
|
2375
2375
|
return false;
|
|
2376
2376
|
}
|
|
2377
2377
|
//#endregion
|
|
2378
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2378
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js
|
|
2379
2379
|
/** Used to compose bitmasks for value comparisons. */
|
|
2380
2380
|
var COMPARE_PARTIAL_FLAG$1 = 1;
|
|
2381
2381
|
/** Used to check objects for own properties. */
|
|
@@ -2427,7 +2427,7 @@
|
|
|
2427
2427
|
return result;
|
|
2428
2428
|
}
|
|
2429
2429
|
//#endregion
|
|
2430
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2430
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
|
|
2431
2431
|
/** Used to compose bitmasks for value comparisons. */
|
|
2432
2432
|
var COMPARE_PARTIAL_FLAG = 1;
|
|
2433
2433
|
/** `Object#toString` result references. */
|
|
@@ -2477,7 +2477,7 @@
|
|
|
2477
2477
|
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
2478
2478
|
}
|
|
2479
2479
|
//#endregion
|
|
2480
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2480
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
|
|
2481
2481
|
/**
|
|
2482
2482
|
* The base implementation of `_.isEqual` which supports partial comparisons
|
|
2483
2483
|
* and tracks traversed objects.
|
|
@@ -2498,7 +2498,7 @@
|
|
|
2498
2498
|
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
2499
2499
|
}
|
|
2500
2500
|
//#endregion
|
|
2501
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2501
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/now.js
|
|
2502
2502
|
/**
|
|
2503
2503
|
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
2504
2504
|
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
@@ -2519,7 +2519,7 @@
|
|
|
2519
2519
|
return root.Date.now();
|
|
2520
2520
|
};
|
|
2521
2521
|
//#endregion
|
|
2522
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2522
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js
|
|
2523
2523
|
/** Error message constants. */
|
|
2524
2524
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
2525
2525
|
var nativeMax = Math.max;
|
|
@@ -2648,7 +2648,7 @@
|
|
|
2648
2648
|
return debounced;
|
|
2649
2649
|
}
|
|
2650
2650
|
//#endregion
|
|
2651
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2651
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js
|
|
2652
2652
|
/** `Object#toString` result references. */
|
|
2653
2653
|
var mapTag = "[object Map]";
|
|
2654
2654
|
var setTag = "[object Set]";
|
|
@@ -2697,7 +2697,7 @@
|
|
|
2697
2697
|
return true;
|
|
2698
2698
|
}
|
|
2699
2699
|
//#endregion
|
|
2700
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2700
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js
|
|
2701
2701
|
/**
|
|
2702
2702
|
* Performs a deep comparison between two values to determine if they are
|
|
2703
2703
|
* equivalent.
|
|
@@ -2816,17 +2816,20 @@
|
|
|
2816
2816
|
}
|
|
2817
2817
|
return String(value);
|
|
2818
2818
|
};
|
|
2819
|
+
/** 参考建议中可选值全量展示上限;超出时仅举例 EXAMPLE_SUGGESTION_COUNT 个并标明总数。 */
|
|
2819
2820
|
var MAX_SUGGESTION_OPTIONS = 20;
|
|
2821
|
+
var EXAMPLE_SUGGESTION_COUNT = 5;
|
|
2820
2822
|
/**
|
|
2821
|
-
*
|
|
2822
|
-
*
|
|
2823
|
+
* 生成可选项参考建议;无可选值时返回空字符串(不追加建议)。
|
|
2824
|
+
* 未超过 MAX_SUGGESTION_OPTIONS 时全部列举;超过时仅举例前 EXAMPLE_SUGGESTION_COUNT 个并标明总数,避免 AI 误以为仅有举例值合法。
|
|
2823
2825
|
*/
|
|
2824
2826
|
var optionSuggestion = (optionValues) => {
|
|
2825
2827
|
const values = optionValues.filter((item) => typeof item !== "undefined");
|
|
2826
2828
|
if (!values.length) return "";
|
|
2827
|
-
const
|
|
2828
|
-
const
|
|
2829
|
-
return
|
|
2829
|
+
const truncated = values.length > 20;
|
|
2830
|
+
const shown = values.slice(0, truncated ? EXAMPLE_SUGGESTION_COUNT : values.length).map(stringifyExampleValue);
|
|
2831
|
+
if (truncated) return `请从可选项中选用合法值(共 ${values.length} 个,例如:${shown.join(";")})`;
|
|
2832
|
+
return `请使用以下某一个值:${shown.join(";")}`;
|
|
2830
2833
|
};
|
|
2831
2834
|
/**
|
|
2832
2835
|
* 基于真实 options 生成类型不匹配场景的「参考示例值」。
|
|
@@ -3368,6 +3371,9 @@
|
|
|
3368
3371
|
}, mForm));
|
|
3369
3372
|
}
|
|
3370
3373
|
return item;
|
|
3374
|
+
}).filter((item) => {
|
|
3375
|
+
if (item.typeMatch === false && typeof item.validator !== "function") return false;
|
|
3376
|
+
return true;
|
|
3371
3377
|
});
|
|
3372
3378
|
};
|
|
3373
3379
|
var initValue = async (mForm, { initValues, config }) => {
|
|
@@ -4584,13 +4590,14 @@
|
|
|
4584
4590
|
return () => (0, vue.h)(userWrapper);
|
|
4585
4591
|
}
|
|
4586
4592
|
}) : userWrapper;
|
|
4587
|
-
const
|
|
4593
|
+
const rootComponent = hidden ? (0, vue.defineComponent)({
|
|
4588
4594
|
name: "MFormSilentProvider",
|
|
4589
4595
|
setup() {
|
|
4590
4596
|
(0, vue.provide)(FORM_SILENT_MODE_KEY, true);
|
|
4591
4597
|
return () => (0, vue.h)(wrapperComponent);
|
|
4592
4598
|
}
|
|
4593
|
-
}) : wrapperComponent
|
|
4599
|
+
}) : wrapperComponent;
|
|
4600
|
+
const app = (0, vue.createApp)(rootComponent);
|
|
4594
4601
|
instance.app = app;
|
|
4595
4602
|
if (appContext) Object.assign(app._context, appContext);
|
|
4596
4603
|
if (!skipTimeout) timer = setTimeout(() => {
|
|
@@ -9360,11 +9367,14 @@
|
|
|
9360
9367
|
app.component("m-fields-cascader", Cascader_default);
|
|
9361
9368
|
app.component("m-fields-dynamic-field", DynamicField_default);
|
|
9362
9369
|
} };
|
|
9370
|
+
//#endregion
|
|
9371
|
+
//#region packages/form/src/index.ts
|
|
9363
9372
|
var createForm = (config) => config;
|
|
9364
9373
|
//#endregion
|
|
9365
9374
|
exports.FORM_DIFF_CONFIG_KEY = FORM_DIFF_CONFIG_KEY;
|
|
9366
9375
|
exports.FORM_SILENT_MODE_KEY = FORM_SILENT_MODE_KEY;
|
|
9367
9376
|
exports.FORM_TYPE_MATCH_VALID_KEY = FORM_TYPE_MATCH_VALID_KEY;
|
|
9377
|
+
exports.MAX_SUGGESTION_OPTIONS = MAX_SUGGESTION_OPTIONS;
|
|
9368
9378
|
exports.MCascader = Cascader_default;
|
|
9369
9379
|
exports.MCheckbox = Checkbox_default;
|
|
9370
9380
|
exports.MCheckboxGroup = CheckboxGroup_default;
|
|
@@ -9415,11 +9425,13 @@
|
|
|
9415
9425
|
exports.getRules = getRules;
|
|
9416
9426
|
exports.getTypeMatchRule = getTypeMatchRule;
|
|
9417
9427
|
exports.initValue = initValue;
|
|
9428
|
+
exports.optionSuggestion = optionSuggestion;
|
|
9418
9429
|
exports.registerFormField = registerField;
|
|
9419
9430
|
exports.registerTypeMatchRule = registerTypeMatchRule;
|
|
9420
9431
|
exports.registerTypeMatchRules = registerTypeMatchRules;
|
|
9421
9432
|
exports.sortArray = sortArray;
|
|
9422
9433
|
exports.sortChange = sortChange;
|
|
9434
|
+
exports.stringifyExampleValue = stringifyExampleValue;
|
|
9423
9435
|
exports.stripTabItemsLazy = stripTabItemsLazy;
|
|
9424
9436
|
exports.submitForm = submitForm;
|
|
9425
9437
|
exports.useAddField = useAddField;
|