@tmagic/utils 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/dom.js +2 -2
- package/dist/es/index.js +0 -1
- package/dist/tmagic-utils.umd.cjs +124 -125
- package/package.json +4 -4
- package/types/index.d.ts +1 -5
package/dist/es/dom.js
CHANGED
|
@@ -22,7 +22,7 @@ var asyncLoadJs = (() => {
|
|
|
22
22
|
};
|
|
23
23
|
setTimeout(() => {
|
|
24
24
|
reject(/* @__PURE__ */ new Error("timeout"));
|
|
25
|
-
},
|
|
25
|
+
}, 6e4);
|
|
26
26
|
}).catch((err) => {
|
|
27
27
|
loaded.delete(url);
|
|
28
28
|
throw err;
|
|
@@ -53,7 +53,7 @@ var asyncLoadCss = (() => {
|
|
|
53
53
|
};
|
|
54
54
|
setTimeout(() => {
|
|
55
55
|
reject(/* @__PURE__ */ new Error("timeout"));
|
|
56
|
-
},
|
|
56
|
+
}, 6e4);
|
|
57
57
|
}).catch((err) => {
|
|
58
58
|
loaded.delete(url);
|
|
59
59
|
throw err;
|
package/dist/es/index.js
CHANGED
|
@@ -282,7 +282,6 @@ var compiledCond = (op, fieldValue, inputValue, range = []) => {
|
|
|
282
282
|
case "not_between": return range.length < 2 || fieldValue < range[0] || fieldValue > range[1];
|
|
283
283
|
case "include": return fieldValue?.includes?.(inputValue);
|
|
284
284
|
case "not_include": return typeof fieldValue === "undefined" || !fieldValue.includes?.(inputValue);
|
|
285
|
-
default: break;
|
|
286
285
|
}
|
|
287
286
|
return false;
|
|
288
287
|
};
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@tmagic/schema")) : typeof define === "function" && define.amd ? define(["exports", "@tmagic/schema"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.TMagicUtils = {}, global._tmagic_schema));
|
|
3
3
|
})(this, function(exports, _tmagic_schema) {
|
|
4
4
|
Object.defineProperty(exports, globalThis.Symbol.toStringTag, { value: "Module" });
|
|
5
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
5
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
8
8
|
//#endregion
|
|
9
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
9
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
|
|
10
10
|
/** Detect free variable `self`. */
|
|
11
11
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
12
12
|
/** Used as a reference to the global object. */
|
|
13
13
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
14
14
|
//#endregion
|
|
15
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
15
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
|
|
16
16
|
/** Built-in value references. */
|
|
17
17
|
var Symbol = root.Symbol;
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
19
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
|
|
20
20
|
/** Used for built-in method references. */
|
|
21
21
|
var objectProto$3 = Object.prototype;
|
|
22
22
|
/** Used to check objects for own properties. */
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
return result;
|
|
49
49
|
}
|
|
50
50
|
//#endregion
|
|
51
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
51
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
52
52
|
/**
|
|
53
53
|
* Used to resolve the
|
|
54
54
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
return nativeObjectToString.call(value);
|
|
67
67
|
}
|
|
68
68
|
//#endregion
|
|
69
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
69
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
70
70
|
/** `Object#toString` result references. */
|
|
71
71
|
var nullTag = "[object Null]";
|
|
72
72
|
var undefinedTag = "[object Undefined]";
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
85
85
|
}
|
|
86
86
|
//#endregion
|
|
87
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
87
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
88
88
|
/**
|
|
89
89
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
90
90
|
* and has a `typeof` result of "object".
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
return value != null && typeof value == "object";
|
|
114
114
|
}
|
|
115
115
|
//#endregion
|
|
116
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
116
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
117
117
|
/** `Object#toString` result references. */
|
|
118
118
|
var symbolTag$2 = "[object Symbol]";
|
|
119
119
|
/**
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$2;
|
|
138
138
|
}
|
|
139
139
|
//#endregion
|
|
140
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
140
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
141
141
|
/**
|
|
142
142
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
143
143
|
* shorthands.
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
return result;
|
|
154
154
|
}
|
|
155
155
|
//#endregion
|
|
156
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
156
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
157
157
|
/**
|
|
158
158
|
* Checks if `value` is classified as an `Array` object.
|
|
159
159
|
*
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
*/
|
|
180
180
|
var isArray = Array.isArray;
|
|
181
181
|
//#endregion
|
|
182
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
182
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js
|
|
183
183
|
/** Used as references for various `Number` constants. */
|
|
184
184
|
var INFINITY$1 = Infinity;
|
|
185
185
|
/** Used to convert symbols to primitives and strings. */
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
|
|
202
202
|
}
|
|
203
203
|
//#endregion
|
|
204
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
204
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
205
205
|
/**
|
|
206
206
|
* Checks if `value` is the
|
|
207
207
|
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
return value != null && (type == "object" || type == "function");
|
|
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/isFunction.js
|
|
236
236
|
/** `Object#toString` result references. */
|
|
237
237
|
var asyncTag = "[object AsyncFunction]";
|
|
238
238
|
var funcTag$2 = "[object Function]";
|
|
@@ -261,11 +261,11 @@
|
|
|
261
261
|
return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
|
|
262
262
|
}
|
|
263
263
|
//#endregion
|
|
264
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
264
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
265
265
|
/** Used to detect overreaching core-js shims. */
|
|
266
266
|
var coreJsData = root["__core-js_shared__"];
|
|
267
267
|
//#endregion
|
|
268
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
268
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
|
|
269
269
|
/** Used to detect methods masquerading as native. */
|
|
270
270
|
var maskSrcKey = function() {
|
|
271
271
|
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
return !!maskSrcKey && maskSrcKey in func;
|
|
283
283
|
}
|
|
284
284
|
//#endregion
|
|
285
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
285
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
286
286
|
/** Used to resolve the decompiled source of functions. */
|
|
287
287
|
var funcToString$1 = Function.prototype.toString;
|
|
288
288
|
/**
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
return "";
|
|
305
305
|
}
|
|
306
306
|
//#endregion
|
|
307
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
307
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
308
308
|
/**
|
|
309
309
|
* Used to match `RegExp`
|
|
310
310
|
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
|
|
335
335
|
}
|
|
336
336
|
//#endregion
|
|
337
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
337
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
338
338
|
/**
|
|
339
339
|
* Gets the value at `key` of `object`.
|
|
340
340
|
*
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
return object == null ? void 0 : object[key];
|
|
348
348
|
}
|
|
349
349
|
//#endregion
|
|
350
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
350
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
351
351
|
/**
|
|
352
352
|
* Gets the native function at `key` of `object`.
|
|
353
353
|
*
|
|
@@ -361,10 +361,10 @@
|
|
|
361
361
|
return baseIsNative(value) ? value : void 0;
|
|
362
362
|
}
|
|
363
363
|
//#endregion
|
|
364
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
364
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
|
|
365
365
|
var WeakMap = getNative(root, "WeakMap");
|
|
366
366
|
//#endregion
|
|
367
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
367
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
|
|
368
368
|
/** Built-in value references. */
|
|
369
369
|
var objectCreate = Object.create;
|
|
370
370
|
/**
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
};
|
|
388
388
|
}();
|
|
389
389
|
//#endregion
|
|
390
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
390
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
|
|
391
391
|
/**
|
|
392
392
|
* Copies the values of `source` to `array`.
|
|
393
393
|
*
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
return array;
|
|
404
404
|
}
|
|
405
405
|
//#endregion
|
|
406
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
406
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
|
|
407
407
|
var defineProperty = function() {
|
|
408
408
|
try {
|
|
409
409
|
var func = getNative(Object, "defineProperty");
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
} catch (e) {}
|
|
413
413
|
}();
|
|
414
414
|
//#endregion
|
|
415
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
415
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
|
|
416
416
|
/**
|
|
417
417
|
* A specialized version of `_.forEach` for arrays without support for
|
|
418
418
|
* iteratee shorthands.
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
return array;
|
|
429
429
|
}
|
|
430
430
|
//#endregion
|
|
431
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
431
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
|
|
432
432
|
/** Used as references for various `Number` constants. */
|
|
433
433
|
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
434
434
|
/** Used to detect unsigned integer values. */
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
448
448
|
}
|
|
449
449
|
//#endregion
|
|
450
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
450
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
|
|
451
451
|
/**
|
|
452
452
|
* The base implementation of `assignValue` and `assignMergeValue` without
|
|
453
453
|
* value checks.
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
else object[key] = value;
|
|
468
468
|
}
|
|
469
469
|
//#endregion
|
|
470
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
470
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
471
471
|
/**
|
|
472
472
|
* Performs a
|
|
473
473
|
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
return value === other || value !== value && other !== other;
|
|
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/_assignValue.js
|
|
508
508
|
/** Used to check objects for own properties. */
|
|
509
509
|
var hasOwnProperty$7 = Object.prototype.hasOwnProperty;
|
|
510
510
|
/**
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
if (!(hasOwnProperty$7.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
|
|
523
523
|
}
|
|
524
524
|
//#endregion
|
|
525
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
525
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
|
|
526
526
|
/**
|
|
527
527
|
* Copies properties of `source` to `object`.
|
|
528
528
|
*
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
return object;
|
|
548
548
|
}
|
|
549
549
|
//#endregion
|
|
550
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
550
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
551
551
|
/** Used as references for various `Number` constants. */
|
|
552
552
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
553
553
|
/**
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
581
581
|
}
|
|
582
582
|
//#endregion
|
|
583
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
583
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
584
584
|
/**
|
|
585
585
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
586
586
|
* not a function and has a `value.length` that's an integer greater than or
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
return value != null && isLength(value.length) && !isFunction(value);
|
|
611
611
|
}
|
|
612
612
|
//#endregion
|
|
613
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
613
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
614
614
|
/** Used for built-in method references. */
|
|
615
615
|
var objectProto$1 = Object.prototype;
|
|
616
616
|
/**
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$1);
|
|
626
626
|
}
|
|
627
627
|
//#endregion
|
|
628
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
628
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
629
629
|
/**
|
|
630
630
|
* The base implementation of `_.times` without support for iteratee shorthands
|
|
631
631
|
* or max array length checks.
|
|
@@ -641,7 +641,7 @@
|
|
|
641
641
|
return result;
|
|
642
642
|
}
|
|
643
643
|
//#endregion
|
|
644
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
644
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
645
645
|
/** `Object#toString` result references. */
|
|
646
646
|
var argsTag$2 = "[object Arguments]";
|
|
647
647
|
/**
|
|
@@ -655,7 +655,7 @@
|
|
|
655
655
|
return isObjectLike(value) && baseGetTag(value) == argsTag$2;
|
|
656
656
|
}
|
|
657
657
|
//#endregion
|
|
658
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
658
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
659
659
|
/** Used for built-in method references. */
|
|
660
660
|
var objectProto = Object.prototype;
|
|
661
661
|
/** Used to check objects for own properties. */
|
|
@@ -686,7 +686,7 @@
|
|
|
686
686
|
return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
687
687
|
};
|
|
688
688
|
//#endregion
|
|
689
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
689
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
690
690
|
/**
|
|
691
691
|
* This method returns `false`.
|
|
692
692
|
*
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
return false;
|
|
705
705
|
}
|
|
706
706
|
//#endregion
|
|
707
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
707
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
708
708
|
/** Detect free variable `exports`. */
|
|
709
709
|
var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
710
710
|
/** Detect free variable `module`. */
|
|
@@ -730,7 +730,7 @@
|
|
|
730
730
|
*/
|
|
731
731
|
var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
|
|
732
732
|
//#endregion
|
|
733
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
733
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
|
|
734
734
|
/** `Object#toString` result references. */
|
|
735
735
|
var argsTag$1 = "[object Arguments]";
|
|
736
736
|
var arrayTag$1 = "[object Array]";
|
|
@@ -771,7 +771,7 @@
|
|
|
771
771
|
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
772
772
|
}
|
|
773
773
|
//#endregion
|
|
774
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
774
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
775
775
|
/**
|
|
776
776
|
* The base implementation of `_.unary` without support for storing metadata.
|
|
777
777
|
*
|
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
};
|
|
786
786
|
}
|
|
787
787
|
//#endregion
|
|
788
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
788
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
789
789
|
/** Detect free variable `exports`. */
|
|
790
790
|
var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
791
791
|
/** Detect free variable `module`. */
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
} catch (e) {}
|
|
802
802
|
}();
|
|
803
803
|
//#endregion
|
|
804
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
804
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
|
|
805
805
|
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
806
806
|
/**
|
|
807
807
|
* Checks if `value` is classified as a typed array.
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
*/
|
|
823
823
|
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
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/_arrayLikeKeys.js
|
|
826
826
|
/** Used to check objects for own properties. */
|
|
827
827
|
var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
|
|
828
828
|
/**
|
|
@@ -839,7 +839,7 @@
|
|
|
839
839
|
return result;
|
|
840
840
|
}
|
|
841
841
|
//#endregion
|
|
842
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
842
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
843
843
|
/**
|
|
844
844
|
* Creates a unary function that invokes `func` with its argument transformed.
|
|
845
845
|
*
|
|
@@ -854,10 +854,10 @@
|
|
|
854
854
|
};
|
|
855
855
|
}
|
|
856
856
|
//#endregion
|
|
857
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
857
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
858
858
|
var nativeKeys = overArg(Object.keys, Object);
|
|
859
859
|
//#endregion
|
|
860
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
860
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
|
|
861
861
|
/** Used to check objects for own properties. */
|
|
862
862
|
var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
|
|
863
863
|
/**
|
|
@@ -874,7 +874,7 @@
|
|
|
874
874
|
return result;
|
|
875
875
|
}
|
|
876
876
|
//#endregion
|
|
877
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
877
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
878
878
|
/**
|
|
879
879
|
* Creates an array of the own enumerable property names of `object`.
|
|
880
880
|
*
|
|
@@ -907,7 +907,7 @@
|
|
|
907
907
|
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
908
908
|
}
|
|
909
909
|
//#endregion
|
|
910
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
910
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
|
|
911
911
|
/**
|
|
912
912
|
* This function is like
|
|
913
913
|
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
return result;
|
|
924
924
|
}
|
|
925
925
|
//#endregion
|
|
926
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
926
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
|
|
927
927
|
/** Used to check objects for own properties. */
|
|
928
928
|
var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
|
|
929
929
|
/**
|
|
@@ -940,7 +940,7 @@
|
|
|
940
940
|
return result;
|
|
941
941
|
}
|
|
942
942
|
//#endregion
|
|
943
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
943
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
|
|
944
944
|
/**
|
|
945
945
|
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
946
946
|
*
|
|
@@ -968,7 +968,7 @@
|
|
|
968
968
|
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
969
969
|
}
|
|
970
970
|
//#endregion
|
|
971
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
971
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
|
|
972
972
|
/** Used to match property names within property paths. */
|
|
973
973
|
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
974
974
|
var reIsPlainProp = /^\w*$/;
|
|
@@ -987,10 +987,10 @@
|
|
|
987
987
|
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
|
|
988
988
|
}
|
|
989
989
|
//#endregion
|
|
990
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
990
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
991
991
|
var nativeCreate = getNative(Object, "create");
|
|
992
992
|
//#endregion
|
|
993
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
993
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
994
994
|
/**
|
|
995
995
|
* Removes all key-value entries from the hash.
|
|
996
996
|
*
|
|
@@ -1003,7 +1003,7 @@
|
|
|
1003
1003
|
this.size = 0;
|
|
1004
1004
|
}
|
|
1005
1005
|
//#endregion
|
|
1006
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1006
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Removes `key` and its value from the hash.
|
|
1009
1009
|
*
|
|
@@ -1020,7 +1020,7 @@
|
|
|
1020
1020
|
return result;
|
|
1021
1021
|
}
|
|
1022
1022
|
//#endregion
|
|
1023
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1023
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
1024
1024
|
/** Used to stand-in for `undefined` hash values. */
|
|
1025
1025
|
var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
|
|
1026
1026
|
/** Used to check objects for own properties. */
|
|
@@ -1043,7 +1043,7 @@
|
|
|
1043
1043
|
return hasOwnProperty$2.call(data, key) ? data[key] : void 0;
|
|
1044
1044
|
}
|
|
1045
1045
|
//#endregion
|
|
1046
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1046
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
1047
1047
|
/** Used to check objects for own properties. */
|
|
1048
1048
|
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
1049
1049
|
/**
|
|
@@ -1060,7 +1060,7 @@
|
|
|
1060
1060
|
return nativeCreate ? data[key] !== void 0 : hasOwnProperty$1.call(data, key);
|
|
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/_hashSet.js
|
|
1064
1064
|
/** Used to stand-in for `undefined` hash values. */
|
|
1065
1065
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
1066
1066
|
/**
|
|
@@ -1080,7 +1080,7 @@
|
|
|
1080
1080
|
return this;
|
|
1081
1081
|
}
|
|
1082
1082
|
//#endregion
|
|
1083
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1083
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Creates a hash object.
|
|
1086
1086
|
*
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
Hash.prototype.has = hashHas;
|
|
1103
1103
|
Hash.prototype.set = hashSet;
|
|
1104
1104
|
//#endregion
|
|
1105
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1105
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
1106
1106
|
/**
|
|
1107
1107
|
* Removes all key-value entries from the list cache.
|
|
1108
1108
|
*
|
|
@@ -1115,7 +1115,7 @@
|
|
|
1115
1115
|
this.size = 0;
|
|
1116
1116
|
}
|
|
1117
1117
|
//#endregion
|
|
1118
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1118
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
1119
1119
|
/**
|
|
1120
1120
|
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
1121
1121
|
*
|
|
@@ -1130,7 +1130,7 @@
|
|
|
1130
1130
|
return -1;
|
|
1131
1131
|
}
|
|
1132
1132
|
//#endregion
|
|
1133
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1133
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
1134
1134
|
/** Built-in value references. */
|
|
1135
1135
|
var splice = Array.prototype.splice;
|
|
1136
1136
|
/**
|
|
@@ -1151,7 +1151,7 @@
|
|
|
1151
1151
|
return true;
|
|
1152
1152
|
}
|
|
1153
1153
|
//#endregion
|
|
1154
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1154
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
1155
1155
|
/**
|
|
1156
1156
|
* Gets the list cache value for `key`.
|
|
1157
1157
|
*
|
|
@@ -1166,7 +1166,7 @@
|
|
|
1166
1166
|
return index < 0 ? void 0 : data[index][1];
|
|
1167
1167
|
}
|
|
1168
1168
|
//#endregion
|
|
1169
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1169
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
1170
1170
|
/**
|
|
1171
1171
|
* Checks if a list cache value for `key` exists.
|
|
1172
1172
|
*
|
|
@@ -1180,7 +1180,7 @@
|
|
|
1180
1180
|
return assocIndexOf(this.__data__, key) > -1;
|
|
1181
1181
|
}
|
|
1182
1182
|
//#endregion
|
|
1183
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1183
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
1184
1184
|
/**
|
|
1185
1185
|
* Sets the list cache `key` to `value`.
|
|
1186
1186
|
*
|
|
@@ -1200,7 +1200,7 @@
|
|
|
1200
1200
|
return this;
|
|
1201
1201
|
}
|
|
1202
1202
|
//#endregion
|
|
1203
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1203
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
1204
1204
|
/**
|
|
1205
1205
|
* Creates an list cache object.
|
|
1206
1206
|
*
|
|
@@ -1222,10 +1222,10 @@
|
|
|
1222
1222
|
ListCache.prototype.has = listCacheHas;
|
|
1223
1223
|
ListCache.prototype.set = listCacheSet;
|
|
1224
1224
|
//#endregion
|
|
1225
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1225
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
1226
1226
|
var Map$1 = getNative(root, "Map");
|
|
1227
1227
|
//#endregion
|
|
1228
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1228
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Removes all key-value entries from the map.
|
|
1231
1231
|
*
|
|
@@ -1242,7 +1242,7 @@
|
|
|
1242
1242
|
};
|
|
1243
1243
|
}
|
|
1244
1244
|
//#endregion
|
|
1245
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1245
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Checks if `value` is suitable for use as unique object key.
|
|
1248
1248
|
*
|
|
@@ -1255,7 +1255,7 @@
|
|
|
1255
1255
|
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
1256
1256
|
}
|
|
1257
1257
|
//#endregion
|
|
1258
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1258
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
1259
1259
|
/**
|
|
1260
1260
|
* Gets the data for `map`.
|
|
1261
1261
|
*
|
|
@@ -1269,7 +1269,7 @@
|
|
|
1269
1269
|
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
1270
1270
|
}
|
|
1271
1271
|
//#endregion
|
|
1272
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1272
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
1273
1273
|
/**
|
|
1274
1274
|
* Removes `key` and its value from the map.
|
|
1275
1275
|
*
|
|
@@ -1285,7 +1285,7 @@
|
|
|
1285
1285
|
return result;
|
|
1286
1286
|
}
|
|
1287
1287
|
//#endregion
|
|
1288
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1288
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
1289
1289
|
/**
|
|
1290
1290
|
* Gets the map value for `key`.
|
|
1291
1291
|
*
|
|
@@ -1299,7 +1299,7 @@
|
|
|
1299
1299
|
return getMapData(this, key).get(key);
|
|
1300
1300
|
}
|
|
1301
1301
|
//#endregion
|
|
1302
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1302
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
1303
1303
|
/**
|
|
1304
1304
|
* Checks if a map value for `key` exists.
|
|
1305
1305
|
*
|
|
@@ -1313,7 +1313,7 @@
|
|
|
1313
1313
|
return getMapData(this, key).has(key);
|
|
1314
1314
|
}
|
|
1315
1315
|
//#endregion
|
|
1316
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1316
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
1317
1317
|
/**
|
|
1318
1318
|
* Sets the map `key` to `value`.
|
|
1319
1319
|
*
|
|
@@ -1331,7 +1331,7 @@
|
|
|
1331
1331
|
return this;
|
|
1332
1332
|
}
|
|
1333
1333
|
//#endregion
|
|
1334
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1334
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Creates a map cache object to store key-value pairs.
|
|
1337
1337
|
*
|
|
@@ -1353,7 +1353,7 @@
|
|
|
1353
1353
|
MapCache.prototype.has = mapCacheHas;
|
|
1354
1354
|
MapCache.prototype.set = mapCacheSet;
|
|
1355
1355
|
//#endregion
|
|
1356
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1356
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
|
|
1357
1357
|
/** Error message constants. */
|
|
1358
1358
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
1359
1359
|
/**
|
|
@@ -1414,7 +1414,7 @@
|
|
|
1414
1414
|
}
|
|
1415
1415
|
memoize.Cache = MapCache;
|
|
1416
1416
|
//#endregion
|
|
1417
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1417
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
|
|
1418
1418
|
/** Used as the maximum memoize cache size. */
|
|
1419
1419
|
var MAX_MEMOIZE_SIZE = 500;
|
|
1420
1420
|
/**
|
|
@@ -1434,7 +1434,7 @@
|
|
|
1434
1434
|
return result;
|
|
1435
1435
|
}
|
|
1436
1436
|
//#endregion
|
|
1437
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1437
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
|
|
1438
1438
|
/** Used to match property names within property paths. */
|
|
1439
1439
|
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
1440
1440
|
/** Used to match backslashes in property paths. */
|
|
@@ -1455,7 +1455,7 @@
|
|
|
1455
1455
|
return result;
|
|
1456
1456
|
});
|
|
1457
1457
|
//#endregion
|
|
1458
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1458
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
|
|
1459
1459
|
/**
|
|
1460
1460
|
* Converts `value` to a string. An empty string is returned for `null`
|
|
1461
1461
|
* and `undefined` values. The sign of `-0` is preserved.
|
|
@@ -1481,7 +1481,7 @@
|
|
|
1481
1481
|
return value == null ? "" : baseToString(value);
|
|
1482
1482
|
}
|
|
1483
1483
|
//#endregion
|
|
1484
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1484
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Casts `value` to a path array if it's not one.
|
|
1487
1487
|
*
|
|
@@ -1495,7 +1495,7 @@
|
|
|
1495
1495
|
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
1496
1496
|
}
|
|
1497
1497
|
//#endregion
|
|
1498
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1498
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
|
|
1499
1499
|
/** Used as references for various `Number` constants. */
|
|
1500
1500
|
var INFINITY = Infinity;
|
|
1501
1501
|
/**
|
|
@@ -1511,7 +1511,7 @@
|
|
|
1511
1511
|
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
|
1512
1512
|
}
|
|
1513
1513
|
//#endregion
|
|
1514
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1514
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
|
|
1515
1515
|
/**
|
|
1516
1516
|
* The base implementation of `_.get` without support for default values.
|
|
1517
1517
|
*
|
|
@@ -1527,7 +1527,7 @@
|
|
|
1527
1527
|
return index && index == length ? object : void 0;
|
|
1528
1528
|
}
|
|
1529
1529
|
//#endregion
|
|
1530
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1530
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Gets the value at `path` of `object`. If the resolved value is
|
|
1533
1533
|
* `undefined`, the `defaultValue` is returned in its place.
|
|
@@ -1558,7 +1558,7 @@
|
|
|
1558
1558
|
return result === void 0 ? defaultValue : result;
|
|
1559
1559
|
}
|
|
1560
1560
|
//#endregion
|
|
1561
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1561
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
1562
1562
|
/**
|
|
1563
1563
|
* Appends the elements of `values` to `array`.
|
|
1564
1564
|
*
|
|
@@ -1573,11 +1573,11 @@
|
|
|
1573
1573
|
return array;
|
|
1574
1574
|
}
|
|
1575
1575
|
//#endregion
|
|
1576
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1576
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
|
|
1577
1577
|
/** Built-in value references. */
|
|
1578
1578
|
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
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/_stackClear.js
|
|
1581
1581
|
/**
|
|
1582
1582
|
* Removes all key-value entries from the stack.
|
|
1583
1583
|
*
|
|
@@ -1590,7 +1590,7 @@
|
|
|
1590
1590
|
this.size = 0;
|
|
1591
1591
|
}
|
|
1592
1592
|
//#endregion
|
|
1593
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1593
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
1594
1594
|
/**
|
|
1595
1595
|
* Removes `key` and its value from the stack.
|
|
1596
1596
|
*
|
|
@@ -1606,7 +1606,7 @@
|
|
|
1606
1606
|
return result;
|
|
1607
1607
|
}
|
|
1608
1608
|
//#endregion
|
|
1609
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1609
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Gets the stack value for `key`.
|
|
1612
1612
|
*
|
|
@@ -1620,7 +1620,7 @@
|
|
|
1620
1620
|
return this.__data__.get(key);
|
|
1621
1621
|
}
|
|
1622
1622
|
//#endregion
|
|
1623
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1623
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
1624
1624
|
/**
|
|
1625
1625
|
* Checks if a stack value for `key` exists.
|
|
1626
1626
|
*
|
|
@@ -1634,7 +1634,7 @@
|
|
|
1634
1634
|
return this.__data__.has(key);
|
|
1635
1635
|
}
|
|
1636
1636
|
//#endregion
|
|
1637
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1637
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
1638
1638
|
/** Used as the size to enable large array optimizations. */
|
|
1639
1639
|
var LARGE_ARRAY_SIZE = 200;
|
|
1640
1640
|
/**
|
|
@@ -1663,7 +1663,7 @@
|
|
|
1663
1663
|
return this;
|
|
1664
1664
|
}
|
|
1665
1665
|
//#endregion
|
|
1666
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1666
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
1667
1667
|
/**
|
|
1668
1668
|
* Creates a stack cache object to store key-value pairs.
|
|
1669
1669
|
*
|
|
@@ -1681,7 +1681,7 @@
|
|
|
1681
1681
|
Stack.prototype.has = stackHas;
|
|
1682
1682
|
Stack.prototype.set = stackSet;
|
|
1683
1683
|
//#endregion
|
|
1684
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1684
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
|
|
1685
1685
|
/**
|
|
1686
1686
|
* The base implementation of `_.assign` without support for multiple sources
|
|
1687
1687
|
* or `customizer` functions.
|
|
@@ -1695,7 +1695,7 @@
|
|
|
1695
1695
|
return object && copyObject(source, keys(source), object);
|
|
1696
1696
|
}
|
|
1697
1697
|
//#endregion
|
|
1698
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1698
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
|
|
1699
1699
|
/**
|
|
1700
1700
|
* The base implementation of `_.assignIn` without support for multiple sources
|
|
1701
1701
|
* or `customizer` functions.
|
|
@@ -1709,7 +1709,7 @@
|
|
|
1709
1709
|
return object && copyObject(source, keysIn(source), object);
|
|
1710
1710
|
}
|
|
1711
1711
|
//#endregion
|
|
1712
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1712
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
|
|
1713
1713
|
/** Detect free variable `exports`. */
|
|
1714
1714
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1715
1715
|
/** Detect free variable `module`. */
|
|
@@ -1732,7 +1732,7 @@
|
|
|
1732
1732
|
return result;
|
|
1733
1733
|
}
|
|
1734
1734
|
//#endregion
|
|
1735
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1735
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
|
|
1736
1736
|
/**
|
|
1737
1737
|
* A specialized version of `_.filter` for arrays without support for
|
|
1738
1738
|
* iteratee shorthands.
|
|
@@ -1751,7 +1751,7 @@
|
|
|
1751
1751
|
return result;
|
|
1752
1752
|
}
|
|
1753
1753
|
//#endregion
|
|
1754
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1754
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
|
|
1755
1755
|
/**
|
|
1756
1756
|
* This method returns a new empty array.
|
|
1757
1757
|
*
|
|
@@ -1774,7 +1774,7 @@
|
|
|
1774
1774
|
return [];
|
|
1775
1775
|
}
|
|
1776
1776
|
//#endregion
|
|
1777
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1777
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
|
|
1778
1778
|
/** Built-in value references. */
|
|
1779
1779
|
var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
1780
1780
|
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
@@ -1793,7 +1793,7 @@
|
|
|
1793
1793
|
});
|
|
1794
1794
|
};
|
|
1795
1795
|
//#endregion
|
|
1796
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1796
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
|
|
1797
1797
|
/**
|
|
1798
1798
|
* Copies own symbols of `source` to `object`.
|
|
1799
1799
|
*
|
|
@@ -1806,7 +1806,7 @@
|
|
|
1806
1806
|
return copyObject(source, getSymbols(source), object);
|
|
1807
1807
|
}
|
|
1808
1808
|
//#endregion
|
|
1809
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1809
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
|
|
1810
1810
|
/**
|
|
1811
1811
|
* Creates an array of the own and inherited enumerable symbols of `object`.
|
|
1812
1812
|
*
|
|
@@ -1823,7 +1823,7 @@
|
|
|
1823
1823
|
return result;
|
|
1824
1824
|
};
|
|
1825
1825
|
//#endregion
|
|
1826
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1826
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
|
|
1827
1827
|
/**
|
|
1828
1828
|
* Copies own and inherited symbols of `source` to `object`.
|
|
1829
1829
|
*
|
|
@@ -1836,7 +1836,7 @@
|
|
|
1836
1836
|
return copyObject(source, getSymbolsIn(source), object);
|
|
1837
1837
|
}
|
|
1838
1838
|
//#endregion
|
|
1839
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1839
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
|
|
1840
1840
|
/**
|
|
1841
1841
|
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
1842
1842
|
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
|
@@ -1853,7 +1853,7 @@
|
|
|
1853
1853
|
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
1854
1854
|
}
|
|
1855
1855
|
//#endregion
|
|
1856
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1856
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
|
|
1857
1857
|
/**
|
|
1858
1858
|
* Creates an array of own enumerable property names and symbols of `object`.
|
|
1859
1859
|
*
|
|
@@ -1865,7 +1865,7 @@
|
|
|
1865
1865
|
return baseGetAllKeys(object, keys, getSymbols);
|
|
1866
1866
|
}
|
|
1867
1867
|
//#endregion
|
|
1868
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1868
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
|
|
1869
1869
|
/**
|
|
1870
1870
|
* Creates an array of own and inherited enumerable property names and
|
|
1871
1871
|
* symbols of `object`.
|
|
@@ -1878,16 +1878,16 @@
|
|
|
1878
1878
|
return baseGetAllKeys(object, keysIn, getSymbolsIn);
|
|
1879
1879
|
}
|
|
1880
1880
|
//#endregion
|
|
1881
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1881
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
1882
1882
|
var DataView = getNative(root, "DataView");
|
|
1883
1883
|
//#endregion
|
|
1884
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1884
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
|
|
1885
1885
|
var Promise$1 = getNative(root, "Promise");
|
|
1886
1886
|
//#endregion
|
|
1887
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1887
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
|
|
1888
1888
|
var Set$1 = getNative(root, "Set");
|
|
1889
1889
|
//#endregion
|
|
1890
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1890
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
|
|
1891
1891
|
/** `Object#toString` result references. */
|
|
1892
1892
|
var mapTag$3 = "[object Map]";
|
|
1893
1893
|
var objectTag$1 = "[object Object]";
|
|
@@ -1922,7 +1922,7 @@
|
|
|
1922
1922
|
};
|
|
1923
1923
|
var _getTag_default = getTag;
|
|
1924
1924
|
//#endregion
|
|
1925
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1925
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
|
|
1926
1926
|
/** Used to check objects for own properties. */
|
|
1927
1927
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
1928
1928
|
/**
|
|
@@ -1941,11 +1941,11 @@
|
|
|
1941
1941
|
return result;
|
|
1942
1942
|
}
|
|
1943
1943
|
//#endregion
|
|
1944
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1944
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
|
|
1945
1945
|
/** Built-in value references. */
|
|
1946
1946
|
var Uint8Array = root.Uint8Array;
|
|
1947
1947
|
//#endregion
|
|
1948
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1948
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
|
|
1949
1949
|
/**
|
|
1950
1950
|
* Creates a clone of `arrayBuffer`.
|
|
1951
1951
|
*
|
|
@@ -1959,7 +1959,7 @@
|
|
|
1959
1959
|
return result;
|
|
1960
1960
|
}
|
|
1961
1961
|
//#endregion
|
|
1962
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1962
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
|
|
1963
1963
|
/**
|
|
1964
1964
|
* Creates a clone of `dataView`.
|
|
1965
1965
|
*
|
|
@@ -1973,7 +1973,7 @@
|
|
|
1973
1973
|
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
1974
1974
|
}
|
|
1975
1975
|
//#endregion
|
|
1976
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1976
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
|
|
1977
1977
|
/** Used to match `RegExp` flags from their coerced string values. */
|
|
1978
1978
|
var reFlags = /\w*$/;
|
|
1979
1979
|
/**
|
|
@@ -1989,7 +1989,7 @@
|
|
|
1989
1989
|
return result;
|
|
1990
1990
|
}
|
|
1991
1991
|
//#endregion
|
|
1992
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1992
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
|
|
1993
1993
|
/** Used to convert symbols to primitives and strings. */
|
|
1994
1994
|
var symbolProto = Symbol ? Symbol.prototype : void 0;
|
|
1995
1995
|
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
@@ -2004,7 +2004,7 @@
|
|
|
2004
2004
|
return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
|
|
2005
2005
|
}
|
|
2006
2006
|
//#endregion
|
|
2007
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2007
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
|
|
2008
2008
|
/**
|
|
2009
2009
|
* Creates a clone of `typedArray`.
|
|
2010
2010
|
*
|
|
@@ -2018,7 +2018,7 @@
|
|
|
2018
2018
|
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
2019
2019
|
}
|
|
2020
2020
|
//#endregion
|
|
2021
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2021
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
|
|
2022
2022
|
/** `Object#toString` result references. */
|
|
2023
2023
|
var boolTag$1 = "[object Boolean]";
|
|
2024
2024
|
var dateTag$1 = "[object Date]";
|
|
@@ -2076,7 +2076,7 @@
|
|
|
2076
2076
|
}
|
|
2077
2077
|
}
|
|
2078
2078
|
//#endregion
|
|
2079
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2079
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
|
|
2080
2080
|
/**
|
|
2081
2081
|
* Initializes an object clone.
|
|
2082
2082
|
*
|
|
@@ -2088,7 +2088,7 @@
|
|
|
2088
2088
|
return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
|
|
2089
2089
|
}
|
|
2090
2090
|
//#endregion
|
|
2091
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2091
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
|
|
2092
2092
|
/** `Object#toString` result references. */
|
|
2093
2093
|
var mapTag$1 = "[object Map]";
|
|
2094
2094
|
/**
|
|
@@ -2102,7 +2102,7 @@
|
|
|
2102
2102
|
return isObjectLike(value) && _getTag_default(value) == mapTag$1;
|
|
2103
2103
|
}
|
|
2104
2104
|
//#endregion
|
|
2105
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2105
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
|
|
2106
2106
|
var nodeIsMap = nodeUtil && nodeUtil.isMap;
|
|
2107
2107
|
/**
|
|
2108
2108
|
* Checks if `value` is classified as a `Map` object.
|
|
@@ -2123,7 +2123,7 @@
|
|
|
2123
2123
|
*/
|
|
2124
2124
|
var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
|
|
2125
2125
|
//#endregion
|
|
2126
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2126
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js
|
|
2127
2127
|
/** `Object#toString` result references. */
|
|
2128
2128
|
var setTag$1 = "[object Set]";
|
|
2129
2129
|
/**
|
|
@@ -2137,7 +2137,7 @@
|
|
|
2137
2137
|
return isObjectLike(value) && _getTag_default(value) == setTag$1;
|
|
2138
2138
|
}
|
|
2139
2139
|
//#endregion
|
|
2140
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2140
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
|
|
2141
2141
|
var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
|
2142
2142
|
/**
|
|
2143
2143
|
* Checks if `value` is classified as a `Set` object.
|
|
@@ -2158,7 +2158,7 @@
|
|
|
2158
2158
|
*/
|
|
2159
2159
|
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
2160
2160
|
//#endregion
|
|
2161
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2161
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
|
|
2162
2162
|
/** Used to compose bitmasks for cloning. */
|
|
2163
2163
|
var CLONE_DEEP_FLAG$1 = 1;
|
|
2164
2164
|
var CLONE_FLAT_FLAG = 2;
|
|
@@ -2251,7 +2251,7 @@
|
|
|
2251
2251
|
return result;
|
|
2252
2252
|
}
|
|
2253
2253
|
//#endregion
|
|
2254
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2254
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
|
|
2255
2255
|
/** Used to compose bitmasks for cloning. */
|
|
2256
2256
|
var CLONE_DEEP_FLAG = 1;
|
|
2257
2257
|
var CLONE_SYMBOLS_FLAG = 4;
|
|
@@ -2277,7 +2277,7 @@
|
|
|
2277
2277
|
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
2278
2278
|
}
|
|
2279
2279
|
//#endregion
|
|
2280
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2280
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js
|
|
2281
2281
|
/**
|
|
2282
2282
|
* The base implementation of `_.set`.
|
|
2283
2283
|
*
|
|
@@ -2306,7 +2306,7 @@
|
|
|
2306
2306
|
return object;
|
|
2307
2307
|
}
|
|
2308
2308
|
//#endregion
|
|
2309
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2309
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/set.js
|
|
2310
2310
|
/**
|
|
2311
2311
|
* Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
|
|
2312
2312
|
* it's created. Arrays are created for missing index properties while objects
|
|
@@ -2368,7 +2368,7 @@
|
|
|
2368
2368
|
};
|
|
2369
2369
|
setTimeout(() => {
|
|
2370
2370
|
reject(/* @__PURE__ */ new Error("timeout"));
|
|
2371
|
-
},
|
|
2371
|
+
}, 6e4);
|
|
2372
2372
|
}).catch((err) => {
|
|
2373
2373
|
loaded.delete(url);
|
|
2374
2374
|
throw err;
|
|
@@ -2399,7 +2399,7 @@
|
|
|
2399
2399
|
};
|
|
2400
2400
|
setTimeout(() => {
|
|
2401
2401
|
reject(/* @__PURE__ */ new Error("timeout"));
|
|
2402
|
-
},
|
|
2402
|
+
}, 6e4);
|
|
2403
2403
|
}).catch((err) => {
|
|
2404
2404
|
loaded.delete(url);
|
|
2405
2405
|
throw err;
|
|
@@ -2737,7 +2737,6 @@
|
|
|
2737
2737
|
case "not_between": return range.length < 2 || fieldValue < range[0] || fieldValue > range[1];
|
|
2738
2738
|
case "include": return fieldValue?.includes?.(inputValue);
|
|
2739
2739
|
case "not_include": return typeof fieldValue === "undefined" || !fieldValue.includes?.(inputValue);
|
|
2740
|
-
default: break;
|
|
2741
2740
|
}
|
|
2742
2741
|
return false;
|
|
2743
2742
|
};
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.8.0-beta.
|
|
2
|
+
"version": "1.8.0-beta.23",
|
|
3
3
|
"name": "@tmagic/utils",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"url": "https://github.com/Tencent/tmagic-editor.git"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"lodash-es": "^4.
|
|
31
|
+
"lodash-es": "^4.18.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@types/lodash-es": "^4.17.
|
|
34
|
+
"@types/lodash-es": "^4.17.12"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"typescript": "^6.0.3",
|
|
38
|
-
"@tmagic/schema": "1.8.0-beta.
|
|
38
|
+
"@tmagic/schema": "1.8.0-beta.23"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
|
41
41
|
"typescript": {
|
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DataSchema, DataSourceDeps, Id, MComponent, MNode, MNodeInstance } from "@tmagic/schema";
|
|
2
2
|
import { MContainer, MNode as MNode$1, MPage, MPageFragment } from "@tmagic/core";
|
|
3
|
-
|
|
4
3
|
//#region temp/packages/editor/src/type.d.ts
|
|
5
4
|
interface EditorNodeInfo {
|
|
6
5
|
node: MNode$1 | null;
|
|
@@ -16,10 +15,7 @@ declare const addClassName: (el: Element, doc: Document, className: string) => v
|
|
|
16
15
|
declare const removeClassName: (el: Element, ...className: string[]) => void;
|
|
17
16
|
declare const removeClassNameByClassName: (doc: Document, className: string) => HTMLElement | null;
|
|
18
17
|
declare const injectStyle: (doc: Document, style: string) => HTMLStyleElement;
|
|
19
|
-
declare const createDiv: ({
|
|
20
|
-
className,
|
|
21
|
-
cssText
|
|
22
|
-
}: {
|
|
18
|
+
declare const createDiv: ({ className, cssText }: {
|
|
23
19
|
className: string;
|
|
24
20
|
cssText: string;
|
|
25
21
|
}) => HTMLDivElement;
|