@tailor-cms/ce-table-edit 2.0.0 → 2.0.3
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/index.cjs +221 -90
- package/dist/index.css +7 -10
- package/dist/index.js +222 -91
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require('./index.css');let vue = require("vue");
|
|
6
|
-
//#region ../manifest/dist/
|
|
6
|
+
//#region ../manifest/dist/rolldown-runtime-D7D4PA-g.mjs
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __exportAll = (all, no_symbols) => {
|
|
9
9
|
let target = {};
|
|
@@ -81,7 +81,8 @@ function objectToString(value) {
|
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
83
83
|
/** `Object#toString` result references. */
|
|
84
|
-
var nullTag = "[object Null]"
|
|
84
|
+
var nullTag = "[object Null]";
|
|
85
|
+
var undefinedTag = "[object Undefined]";
|
|
85
86
|
/** Built-in value references. */
|
|
86
87
|
var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
|
|
87
88
|
/**
|
|
@@ -195,7 +196,8 @@ var isArray = Array.isArray;
|
|
|
195
196
|
/** Used as references for various `Number` constants. */
|
|
196
197
|
var INFINITY$2 = Infinity;
|
|
197
198
|
/** Used to convert symbols to primitives and strings. */
|
|
198
|
-
var symbolProto$2 = Symbol$1 ? Symbol$1.prototype : void 0
|
|
199
|
+
var symbolProto$2 = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
200
|
+
var symbolToString = symbolProto$2 ? symbolProto$2.toString : void 0;
|
|
199
201
|
/**
|
|
200
202
|
* The base implementation of `_.toString` which doesn't convert nullish
|
|
201
203
|
* values to empty strings.
|
|
@@ -323,7 +325,8 @@ function toNumber(value) {
|
|
|
323
325
|
//#endregion
|
|
324
326
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
|
|
325
327
|
/** Used as references for various `Number` constants. */
|
|
326
|
-
var INFINITY$1 = Infinity
|
|
328
|
+
var INFINITY$1 = Infinity;
|
|
329
|
+
var MAX_INTEGER = 17976931348623157e292;
|
|
327
330
|
/**
|
|
328
331
|
* Converts `value` to a finite number.
|
|
329
332
|
*
|
|
@@ -409,7 +412,10 @@ function identity(value) {
|
|
|
409
412
|
//#endregion
|
|
410
413
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
411
414
|
/** `Object#toString` result references. */
|
|
412
|
-
var asyncTag = "[object AsyncFunction]"
|
|
415
|
+
var asyncTag = "[object AsyncFunction]";
|
|
416
|
+
var funcTag$2 = "[object Function]";
|
|
417
|
+
var genTag$1 = "[object GeneratorFunction]";
|
|
418
|
+
var proxyTag = "[object Proxy]";
|
|
413
419
|
/**
|
|
414
420
|
* Checks if `value` is classified as a `Function` object.
|
|
415
421
|
*
|
|
@@ -485,7 +491,8 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
|
485
491
|
/** Used to detect host constructors (Safari). */
|
|
486
492
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
487
493
|
/** Used for built-in method references. */
|
|
488
|
-
var funcProto = Function.prototype
|
|
494
|
+
var funcProto = Function.prototype;
|
|
495
|
+
var objectProto$2 = Object.prototype;
|
|
489
496
|
/** Used to resolve the decompiled source of functions. */
|
|
490
497
|
var funcToString = funcProto.toString;
|
|
491
498
|
/** Used to check objects for own properties. */
|
|
@@ -597,7 +604,8 @@ function copyArray(source, array) {
|
|
|
597
604
|
//#endregion
|
|
598
605
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
|
|
599
606
|
/** Used to detect hot functions by number of calls within a span of milliseconds. */
|
|
600
|
-
var HOT_COUNT = 800
|
|
607
|
+
var HOT_COUNT = 800;
|
|
608
|
+
var HOT_SPAN = 16;
|
|
601
609
|
var nativeNow = Date.now;
|
|
602
610
|
/**
|
|
603
611
|
* Creates a function that'll short out and invoke `identity` instead
|
|
@@ -1066,8 +1074,30 @@ var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
|
|
|
1066
1074
|
//#endregion
|
|
1067
1075
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
|
|
1068
1076
|
/** `Object#toString` result references. */
|
|
1069
|
-
var argsTag$2 = "[object Arguments]"
|
|
1070
|
-
var
|
|
1077
|
+
var argsTag$2 = "[object Arguments]";
|
|
1078
|
+
var arrayTag$2 = "[object Array]";
|
|
1079
|
+
var boolTag$3 = "[object Boolean]";
|
|
1080
|
+
var dateTag$3 = "[object Date]";
|
|
1081
|
+
var errorTag$2 = "[object Error]";
|
|
1082
|
+
var funcTag$1 = "[object Function]";
|
|
1083
|
+
var mapTag$6 = "[object Map]";
|
|
1084
|
+
var numberTag$3 = "[object Number]";
|
|
1085
|
+
var objectTag$3 = "[object Object]";
|
|
1086
|
+
var regexpTag$3 = "[object RegExp]";
|
|
1087
|
+
var setTag$6 = "[object Set]";
|
|
1088
|
+
var stringTag$4 = "[object String]";
|
|
1089
|
+
var weakMapTag$2 = "[object WeakMap]";
|
|
1090
|
+
var arrayBufferTag$3 = "[object ArrayBuffer]";
|
|
1091
|
+
var dataViewTag$4 = "[object DataView]";
|
|
1092
|
+
var float32Tag$2 = "[object Float32Array]";
|
|
1093
|
+
var float64Tag$2 = "[object Float64Array]";
|
|
1094
|
+
var int8Tag$2 = "[object Int8Array]";
|
|
1095
|
+
var int16Tag$2 = "[object Int16Array]";
|
|
1096
|
+
var int32Tag$2 = "[object Int32Array]";
|
|
1097
|
+
var uint8Tag$2 = "[object Uint8Array]";
|
|
1098
|
+
var uint8ClampedTag$2 = "[object Uint8ClampedArray]";
|
|
1099
|
+
var uint16Tag$2 = "[object Uint16Array]";
|
|
1100
|
+
var uint32Tag$2 = "[object Uint32Array]";
|
|
1071
1101
|
/** Used to identify `toStringTag` values of typed arrays. */
|
|
1072
1102
|
var typedArrayTags = {};
|
|
1073
1103
|
typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
|
|
@@ -1282,7 +1312,8 @@ function keysIn(object) {
|
|
|
1282
1312
|
//#endregion
|
|
1283
1313
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
|
|
1284
1314
|
/** Used to match property names within property paths. */
|
|
1285
|
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]
|
|
1315
|
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
1316
|
+
var reIsPlainProp = /^\w*$/;
|
|
1286
1317
|
/**
|
|
1287
1318
|
* Checks if `value` is a property name and not a property path.
|
|
1288
1319
|
*
|
|
@@ -2079,7 +2110,8 @@ var freeExports = typeof exports == "object" && exports && !exports.nodeType &&
|
|
|
2079
2110
|
/** Detect free variable `module`. */
|
|
2080
2111
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
2081
2112
|
/** Built-in value references. */
|
|
2082
|
-
var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0
|
|
2113
|
+
var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0;
|
|
2114
|
+
var allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
|
|
2083
2115
|
/**
|
|
2084
2116
|
* Creates a clone of `buffer`.
|
|
2085
2117
|
*
|
|
@@ -2252,10 +2284,18 @@ var Set = getNative(root, "Set");
|
|
|
2252
2284
|
//#endregion
|
|
2253
2285
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
|
|
2254
2286
|
/** `Object#toString` result references. */
|
|
2255
|
-
var mapTag$5 = "[object Map]"
|
|
2287
|
+
var mapTag$5 = "[object Map]";
|
|
2288
|
+
var objectTag$2 = "[object Object]";
|
|
2289
|
+
var promiseTag = "[object Promise]";
|
|
2290
|
+
var setTag$5 = "[object Set]";
|
|
2291
|
+
var weakMapTag$1 = "[object WeakMap]";
|
|
2256
2292
|
var dataViewTag$3 = "[object DataView]";
|
|
2257
2293
|
/** Used to detect maps, sets, and weakmaps. */
|
|
2258
|
-
var dataViewCtorString = toSource(DataView)
|
|
2294
|
+
var dataViewCtorString = toSource(DataView);
|
|
2295
|
+
var mapCtorString = toSource(Map);
|
|
2296
|
+
var promiseCtorString = toSource(Promise$1);
|
|
2297
|
+
var setCtorString = toSource(Set);
|
|
2298
|
+
var weakMapCtorString = toSource(WeakMap);
|
|
2259
2299
|
/**
|
|
2260
2300
|
* Gets the `toStringTag` of `value`.
|
|
2261
2301
|
*
|
|
@@ -2346,7 +2386,8 @@ function cloneRegExp(regexp) {
|
|
|
2346
2386
|
//#endregion
|
|
2347
2387
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
|
|
2348
2388
|
/** Used to convert symbols to primitives and strings. */
|
|
2349
|
-
var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0
|
|
2389
|
+
var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
2390
|
+
var symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : void 0;
|
|
2350
2391
|
/**
|
|
2351
2392
|
* Creates a clone of the `symbol` object.
|
|
2352
2393
|
*
|
|
@@ -2374,8 +2415,25 @@ function cloneTypedArray(typedArray, isDeep) {
|
|
|
2374
2415
|
//#endregion
|
|
2375
2416
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
|
|
2376
2417
|
/** `Object#toString` result references. */
|
|
2377
|
-
var boolTag$2 = "[object Boolean]"
|
|
2378
|
-
var
|
|
2418
|
+
var boolTag$2 = "[object Boolean]";
|
|
2419
|
+
var dateTag$2 = "[object Date]";
|
|
2420
|
+
var mapTag$4 = "[object Map]";
|
|
2421
|
+
var numberTag$2 = "[object Number]";
|
|
2422
|
+
var regexpTag$2 = "[object RegExp]";
|
|
2423
|
+
var setTag$4 = "[object Set]";
|
|
2424
|
+
var stringTag$3 = "[object String]";
|
|
2425
|
+
var symbolTag$2 = "[object Symbol]";
|
|
2426
|
+
var arrayBufferTag$2 = "[object ArrayBuffer]";
|
|
2427
|
+
var dataViewTag$2 = "[object DataView]";
|
|
2428
|
+
var float32Tag$1 = "[object Float32Array]";
|
|
2429
|
+
var float64Tag$1 = "[object Float64Array]";
|
|
2430
|
+
var int8Tag$1 = "[object Int8Array]";
|
|
2431
|
+
var int16Tag$1 = "[object Int16Array]";
|
|
2432
|
+
var int32Tag$1 = "[object Int32Array]";
|
|
2433
|
+
var uint8Tag$1 = "[object Uint8Array]";
|
|
2434
|
+
var uint8ClampedTag$1 = "[object Uint8ClampedArray]";
|
|
2435
|
+
var uint16Tag$1 = "[object Uint16Array]";
|
|
2436
|
+
var uint32Tag$1 = "[object Uint32Array]";
|
|
2379
2437
|
/**
|
|
2380
2438
|
* Initializes an object clone based on its `toStringTag`.
|
|
2381
2439
|
*
|
|
@@ -2497,10 +2555,36 @@ var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
|
2497
2555
|
//#endregion
|
|
2498
2556
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
|
|
2499
2557
|
/** Used to compose bitmasks for cloning. */
|
|
2500
|
-
var CLONE_DEEP_FLAG$1 = 1
|
|
2558
|
+
var CLONE_DEEP_FLAG$1 = 1;
|
|
2559
|
+
var CLONE_FLAT_FLAG = 2;
|
|
2560
|
+
var CLONE_SYMBOLS_FLAG$1 = 4;
|
|
2501
2561
|
/** `Object#toString` result references. */
|
|
2502
|
-
var argsTag$1 = "[object Arguments]"
|
|
2503
|
-
var
|
|
2562
|
+
var argsTag$1 = "[object Arguments]";
|
|
2563
|
+
var arrayTag$1 = "[object Array]";
|
|
2564
|
+
var boolTag$1 = "[object Boolean]";
|
|
2565
|
+
var dateTag$1 = "[object Date]";
|
|
2566
|
+
var errorTag$1 = "[object Error]";
|
|
2567
|
+
var funcTag = "[object Function]";
|
|
2568
|
+
var genTag = "[object GeneratorFunction]";
|
|
2569
|
+
var mapTag$2 = "[object Map]";
|
|
2570
|
+
var numberTag$1 = "[object Number]";
|
|
2571
|
+
var objectTag$1 = "[object Object]";
|
|
2572
|
+
var regexpTag$1 = "[object RegExp]";
|
|
2573
|
+
var setTag$2 = "[object Set]";
|
|
2574
|
+
var stringTag$2 = "[object String]";
|
|
2575
|
+
var symbolTag$1 = "[object Symbol]";
|
|
2576
|
+
var weakMapTag = "[object WeakMap]";
|
|
2577
|
+
var arrayBufferTag$1 = "[object ArrayBuffer]";
|
|
2578
|
+
var dataViewTag$1 = "[object DataView]";
|
|
2579
|
+
var float32Tag = "[object Float32Array]";
|
|
2580
|
+
var float64Tag = "[object Float64Array]";
|
|
2581
|
+
var int8Tag = "[object Int8Array]";
|
|
2582
|
+
var int16Tag = "[object Int16Array]";
|
|
2583
|
+
var int32Tag = "[object Int32Array]";
|
|
2584
|
+
var uint8Tag = "[object Uint8Array]";
|
|
2585
|
+
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
|
2586
|
+
var uint16Tag = "[object Uint16Array]";
|
|
2587
|
+
var uint32Tag = "[object Uint32Array]";
|
|
2504
2588
|
/** Used to identify `toStringTag` values supported by `_.clone`. */
|
|
2505
2589
|
var cloneableTags = {};
|
|
2506
2590
|
cloneableTags[argsTag$1] = cloneableTags[arrayTag$1] = cloneableTags[arrayBufferTag$1] = cloneableTags[dataViewTag$1] = cloneableTags[boolTag$1] = cloneableTags[dateTag$1] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag$2] = cloneableTags[numberTag$1] = cloneableTags[objectTag$1] = cloneableTags[regexpTag$1] = cloneableTags[setTag$2] = cloneableTags[stringTag$2] = cloneableTags[symbolTag$1] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
|
|
@@ -2564,7 +2648,8 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
|
|
|
2564
2648
|
//#endregion
|
|
2565
2649
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
|
|
2566
2650
|
/** Used to compose bitmasks for cloning. */
|
|
2567
|
-
var CLONE_DEEP_FLAG = 1
|
|
2651
|
+
var CLONE_DEEP_FLAG = 1;
|
|
2652
|
+
var CLONE_SYMBOLS_FLAG = 4;
|
|
2568
2653
|
/**
|
|
2569
2654
|
* This method is like `_.clone` except that it recursively clones `value`.
|
|
2570
2655
|
*
|
|
@@ -2668,7 +2753,8 @@ function cacheHas(cache, key) {
|
|
|
2668
2753
|
//#endregion
|
|
2669
2754
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
|
|
2670
2755
|
/** Used to compose bitmasks for value comparisons. */
|
|
2671
|
-
var COMPARE_PARTIAL_FLAG$5 = 1
|
|
2756
|
+
var COMPARE_PARTIAL_FLAG$5 = 1;
|
|
2757
|
+
var COMPARE_UNORDERED_FLAG$3 = 2;
|
|
2672
2758
|
/**
|
|
2673
2759
|
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
|
2674
2760
|
* partial deep comparisons.
|
|
@@ -2750,12 +2836,23 @@ function setToArray(set) {
|
|
|
2750
2836
|
//#endregion
|
|
2751
2837
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
|
|
2752
2838
|
/** Used to compose bitmasks for value comparisons. */
|
|
2753
|
-
var COMPARE_PARTIAL_FLAG$4 = 1
|
|
2839
|
+
var COMPARE_PARTIAL_FLAG$4 = 1;
|
|
2840
|
+
var COMPARE_UNORDERED_FLAG$2 = 2;
|
|
2754
2841
|
/** `Object#toString` result references. */
|
|
2755
|
-
var boolTag = "[object Boolean]"
|
|
2756
|
-
var
|
|
2842
|
+
var boolTag = "[object Boolean]";
|
|
2843
|
+
var dateTag = "[object Date]";
|
|
2844
|
+
var errorTag = "[object Error]";
|
|
2845
|
+
var mapTag$1 = "[object Map]";
|
|
2846
|
+
var numberTag = "[object Number]";
|
|
2847
|
+
var regexpTag = "[object RegExp]";
|
|
2848
|
+
var setTag$1 = "[object Set]";
|
|
2849
|
+
var stringTag$1 = "[object String]";
|
|
2850
|
+
var symbolTag = "[object Symbol]";
|
|
2851
|
+
var arrayBufferTag = "[object ArrayBuffer]";
|
|
2852
|
+
var dataViewTag = "[object DataView]";
|
|
2757
2853
|
/** Used to convert symbols to primitives and strings. */
|
|
2758
|
-
var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0
|
|
2854
|
+
var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
2855
|
+
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
2759
2856
|
/**
|
|
2760
2857
|
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
2761
2858
|
* the same `toStringTag`.
|
|
@@ -2861,7 +2958,9 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
2861
2958
|
/** Used to compose bitmasks for value comparisons. */
|
|
2862
2959
|
var COMPARE_PARTIAL_FLAG$2 = 1;
|
|
2863
2960
|
/** `Object#toString` result references. */
|
|
2864
|
-
var argsTag = "[object Arguments]"
|
|
2961
|
+
var argsTag = "[object Arguments]";
|
|
2962
|
+
var arrayTag = "[object Array]";
|
|
2963
|
+
var objectTag = "[object Object]";
|
|
2865
2964
|
/** Used to check objects for own properties. */
|
|
2866
2965
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
2867
2966
|
/**
|
|
@@ -2928,7 +3027,8 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
|
2928
3027
|
//#endregion
|
|
2929
3028
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
|
|
2930
3029
|
/** Used to compose bitmasks for value comparisons. */
|
|
2931
|
-
var COMPARE_PARTIAL_FLAG$1 = 1
|
|
3030
|
+
var COMPARE_PARTIAL_FLAG$1 = 1;
|
|
3031
|
+
var COMPARE_UNORDERED_FLAG$1 = 2;
|
|
2932
3032
|
/**
|
|
2933
3033
|
* The base implementation of `_.isMatch` without support for iteratee shorthands.
|
|
2934
3034
|
*
|
|
@@ -3097,7 +3197,8 @@ function hasIn(object, path) {
|
|
|
3097
3197
|
//#endregion
|
|
3098
3198
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
|
|
3099
3199
|
/** Used to compose bitmasks for value comparisons. */
|
|
3100
|
-
var COMPARE_PARTIAL_FLAG = 1
|
|
3200
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
|
3201
|
+
var COMPARE_UNORDERED_FLAG = 2;
|
|
3101
3202
|
/**
|
|
3102
3203
|
* The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
|
|
3103
3204
|
*
|
|
@@ -3498,6 +3599,39 @@ function isString(value) {
|
|
|
3498
3599
|
return typeof value == "string" || !isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag;
|
|
3499
3600
|
}
|
|
3500
3601
|
//#endregion
|
|
3602
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js
|
|
3603
|
+
/**
|
|
3604
|
+
* Performs a deep comparison between two values to determine if they are
|
|
3605
|
+
* equivalent.
|
|
3606
|
+
*
|
|
3607
|
+
* **Note:** This method supports comparing arrays, array buffers, booleans,
|
|
3608
|
+
* date objects, error objects, maps, numbers, `Object` objects, regexes,
|
|
3609
|
+
* sets, strings, symbols, and typed arrays. `Object` objects are compared
|
|
3610
|
+
* by their own, not inherited, enumerable properties. Functions and DOM
|
|
3611
|
+
* nodes are compared by strict equality, i.e. `===`.
|
|
3612
|
+
*
|
|
3613
|
+
* @static
|
|
3614
|
+
* @memberOf _
|
|
3615
|
+
* @since 0.1.0
|
|
3616
|
+
* @category Lang
|
|
3617
|
+
* @param {*} value The value to compare.
|
|
3618
|
+
* @param {*} other The other value to compare.
|
|
3619
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
3620
|
+
* @example
|
|
3621
|
+
*
|
|
3622
|
+
* var object = { 'a': 1 };
|
|
3623
|
+
* var other = { 'a': 1 };
|
|
3624
|
+
*
|
|
3625
|
+
* _.isEqual(object, other);
|
|
3626
|
+
* // => true
|
|
3627
|
+
*
|
|
3628
|
+
* object === other;
|
|
3629
|
+
* // => false
|
|
3630
|
+
*/
|
|
3631
|
+
function isEqual(value, other) {
|
|
3632
|
+
return baseIsEqual(value, other);
|
|
3633
|
+
}
|
|
3634
|
+
//#endregion
|
|
3501
3635
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSortBy.js
|
|
3502
3636
|
/**
|
|
3503
3637
|
* The base implementation of `_.sortBy` which uses `comparer` to define the
|
|
@@ -3607,15 +3741,28 @@ var asciiSize = baseProperty("length");
|
|
|
3607
3741
|
//#endregion
|
|
3608
3742
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_unicodeSize.js
|
|
3609
3743
|
/** Used to compose unicode character classes. */
|
|
3610
|
-
var rsAstralRange = "\\ud800-\\udfff"
|
|
3744
|
+
var rsAstralRange = "\\ud800-\\udfff";
|
|
3745
|
+
var rsComboRange = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff";
|
|
3746
|
+
var rsVarRange = "\\ufe0e\\ufe0f";
|
|
3611
3747
|
/** Used to compose unicode capture groups. */
|
|
3612
|
-
var rsAstral = "[" + rsAstralRange + "]"
|
|
3748
|
+
var rsAstral = "[" + rsAstralRange + "]";
|
|
3749
|
+
var rsCombo = "[" + rsComboRange + "]";
|
|
3750
|
+
var rsFitz = "\\ud83c[\\udffb-\\udfff]";
|
|
3751
|
+
var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
|
|
3752
|
+
var rsNonAstral = "[^" + rsAstralRange + "]";
|
|
3753
|
+
var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
|
|
3754
|
+
var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
|
|
3755
|
+
var rsZWJ = "\\u200d";
|
|
3613
3756
|
/** Used to compose unicode regexes. */
|
|
3614
|
-
var reOptMod = rsModifier + "?"
|
|
3757
|
+
var reOptMod = rsModifier + "?";
|
|
3758
|
+
var rsOptVar = "[" + rsVarRange + "]?";
|
|
3759
|
+
var rsOptJoin = "(?:" + rsZWJ + "(?:" + [
|
|
3615
3760
|
rsNonAstral,
|
|
3616
3761
|
rsRegional,
|
|
3617
3762
|
rsSurrPair
|
|
3618
|
-
].join("|") + ")" + rsOptVar + reOptMod + ")*"
|
|
3763
|
+
].join("|") + ")" + rsOptVar + reOptMod + ")*";
|
|
3764
|
+
var rsSeq = rsOptVar + reOptMod + rsOptJoin;
|
|
3765
|
+
var rsSymbol = "(?:" + [
|
|
3619
3766
|
rsNonAstral + rsCombo + "?",
|
|
3620
3767
|
rsCombo,
|
|
3621
3768
|
rsRegional,
|
|
@@ -3651,7 +3798,8 @@ function stringSize(string) {
|
|
|
3651
3798
|
//#endregion
|
|
3652
3799
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/size.js
|
|
3653
3800
|
/** `Object#toString` result references. */
|
|
3654
|
-
var mapTag = "[object Map]"
|
|
3801
|
+
var mapTag = "[object Map]";
|
|
3802
|
+
var setTag = "[object Set]";
|
|
3655
3803
|
/**
|
|
3656
3804
|
* Gets the size of `collection` by returning its length for array-like
|
|
3657
3805
|
* values or the number of own enumerable string keyed properties for objects.
|
|
@@ -3755,20 +3903,20 @@ function times(n, iteratee) {
|
|
|
3755
3903
|
return result;
|
|
3756
3904
|
}
|
|
3757
3905
|
//#endregion
|
|
3758
|
-
//#region ../../node_modules/.pnpm/uuid@14.0.
|
|
3906
|
+
//#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/stringify.js
|
|
3759
3907
|
var byteToHex = [];
|
|
3760
3908
|
for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).slice(1));
|
|
3761
3909
|
function unsafeStringify(arr, offset = 0) {
|
|
3762
3910
|
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
3763
3911
|
}
|
|
3764
3912
|
//#endregion
|
|
3765
|
-
//#region ../../node_modules/.pnpm/uuid@14.0.
|
|
3766
|
-
var rnds8 = new Uint8Array(16);
|
|
3913
|
+
//#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/rng.js
|
|
3914
|
+
var rnds8 = /* @__PURE__ */ new Uint8Array(16);
|
|
3767
3915
|
function rng() {
|
|
3768
3916
|
return crypto.getRandomValues(rnds8);
|
|
3769
3917
|
}
|
|
3770
3918
|
//#endregion
|
|
3771
|
-
//#region ../../node_modules/.pnpm/uuid@14.0.
|
|
3919
|
+
//#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/v4.js
|
|
3772
3920
|
function v4(options, buf, offset) {
|
|
3773
3921
|
if (!buf && !options && crypto.randomUUID) return crypto.randomUUID();
|
|
3774
3922
|
return _v4(options, buf, offset);
|
|
@@ -3943,7 +4091,7 @@ var manifest$1 = {
|
|
|
3943
4091
|
};
|
|
3944
4092
|
//#endregion
|
|
3945
4093
|
//#region src/components/TableCell.vue?vue&type=script&setup=true&lang.ts
|
|
3946
|
-
var TableCell_vue_vue_type_script_setup_true_lang_default =
|
|
4094
|
+
var TableCell_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
3947
4095
|
__name: "TableCell",
|
|
3948
4096
|
props: {
|
|
3949
4097
|
cell: {},
|
|
@@ -4013,6 +4161,7 @@ var TableCell_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0,
|
|
|
4013
4161
|
parent: __props.table,
|
|
4014
4162
|
"show-placeholder": false,
|
|
4015
4163
|
class: "table-cell",
|
|
4164
|
+
variant: "field",
|
|
4016
4165
|
onSave: save
|
|
4017
4166
|
}, null, 8, [
|
|
4018
4167
|
"id",
|
|
@@ -4059,16 +4208,15 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
|
4059
4208
|
};
|
|
4060
4209
|
//#endregion
|
|
4061
4210
|
//#region src/components/TableCell.vue
|
|
4062
|
-
var TableCell_default =
|
|
4211
|
+
var TableCell_default = /*#__PURE__*/ _plugin_vue_export_helper_default(TableCell_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-3d763687"]]);
|
|
4063
4212
|
//#endregion
|
|
4064
4213
|
//#region src/components/Edit.vue?vue&type=script&setup=true&lang.ts
|
|
4065
|
-
var _hoisted_1 = { class: "
|
|
4066
|
-
var _hoisted_2 = { class: "body" };
|
|
4214
|
+
var _hoisted_1 = { class: "tce-table" };
|
|
4067
4215
|
var MIN_ROWS = 1;
|
|
4068
4216
|
var MIN_COLUMNS = 1;
|
|
4069
4217
|
//#endregion
|
|
4070
4218
|
//#region src/components/Edit.vue
|
|
4071
|
-
var Edit_default =
|
|
4219
|
+
var Edit_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
4072
4220
|
__name: "Edit",
|
|
4073
4221
|
props: {
|
|
4074
4222
|
element: {},
|
|
@@ -4181,57 +4329,40 @@ var Edit_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
4181
4329
|
elementData.embeds[element.id] = element;
|
|
4182
4330
|
emit("save", elementData);
|
|
4183
4331
|
};
|
|
4332
|
+
(0, vue.watch)(() => props.element.data, (data) => {
|
|
4333
|
+
if (isEqual(data, elementData)) return;
|
|
4334
|
+
Object.assign(elementData, cloneDeep(data));
|
|
4335
|
+
});
|
|
4184
4336
|
return (_ctx, _cache) => {
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
cell: embeds.value[cell.id],
|
|
4212
|
-
"is-readonly": __props.isReadonly,
|
|
4213
|
-
table: __props.element,
|
|
4214
|
-
"onCol:add": ($event) => addColumn(cell.id, $event),
|
|
4215
|
-
"onCol:remove": ($event) => removeColumn(cell.id),
|
|
4216
|
-
"onRow:add": ($event) => addRow(cell.id, $event),
|
|
4217
|
-
"onRow:remove": ($event) => removeRow(cell.id),
|
|
4218
|
-
onSave: saveCell
|
|
4219
|
-
}, null, 8, [
|
|
4220
|
-
"cell",
|
|
4221
|
-
"is-readonly",
|
|
4222
|
-
"table",
|
|
4223
|
-
"onCol:add",
|
|
4224
|
-
"onCol:remove",
|
|
4225
|
-
"onRow:add",
|
|
4226
|
-
"onRow:remove"
|
|
4227
|
-
]);
|
|
4228
|
-
}), 128))]);
|
|
4229
|
-
}), 128))], 2)])]),
|
|
4230
|
-
_: 1
|
|
4231
|
-
});
|
|
4337
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1, [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)([{ readonly: __props.isReadonly }, "table"]) }, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(table.value, (row) => {
|
|
4338
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
4339
|
+
key: row.id,
|
|
4340
|
+
class: "table-row"
|
|
4341
|
+
}, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(cells(row), (cell) => {
|
|
4342
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)(TableCell_default, {
|
|
4343
|
+
key: cell.id,
|
|
4344
|
+
cell: embeds.value[cell.id],
|
|
4345
|
+
"is-readonly": __props.isReadonly,
|
|
4346
|
+
table: __props.element,
|
|
4347
|
+
"onCol:add": ($event) => addColumn(cell.id, $event),
|
|
4348
|
+
"onCol:remove": ($event) => removeColumn(cell.id),
|
|
4349
|
+
"onRow:add": ($event) => addRow(cell.id, $event),
|
|
4350
|
+
"onRow:remove": ($event) => removeRow(cell.id),
|
|
4351
|
+
onSave: saveCell
|
|
4352
|
+
}, null, 8, [
|
|
4353
|
+
"cell",
|
|
4354
|
+
"is-readonly",
|
|
4355
|
+
"table",
|
|
4356
|
+
"onCol:add",
|
|
4357
|
+
"onCol:remove",
|
|
4358
|
+
"onRow:add",
|
|
4359
|
+
"onRow:remove"
|
|
4360
|
+
]);
|
|
4361
|
+
}), 128))]);
|
|
4362
|
+
}), 128))], 2)]);
|
|
4232
4363
|
};
|
|
4233
4364
|
}
|
|
4234
|
-
}), [["__scopeId", "data-v-
|
|
4365
|
+
}), [["__scopeId", "data-v-2c198b5d"]]);
|
|
4235
4366
|
//#endregion
|
|
4236
4367
|
//#region src/index.ts
|
|
4237
4368
|
var manifest = {
|
package/dist/index.css
CHANGED
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
.table-cell[data-v-
|
|
1
|
+
.table-cell[data-v-3d763687] {
|
|
2
2
|
display: table-cell;
|
|
3
3
|
border: 1px solid black;
|
|
4
|
-
width:
|
|
5
|
-
max-width:
|
|
4
|
+
width: 24rem;
|
|
5
|
+
max-width: 24rem;
|
|
6
6
|
height: 100%;
|
|
7
7
|
vertical-align: top;
|
|
8
|
-
}.tce-
|
|
8
|
+
}.tce-table[data-v-2c198b5d] {
|
|
9
9
|
text-align: left;
|
|
10
|
-
margin: 1rem 0;
|
|
11
|
-
}
|
|
12
|
-
.body[data-v-8f7ed988] {
|
|
13
10
|
overflow-y: auto;
|
|
14
11
|
}
|
|
15
|
-
.table[data-v-
|
|
12
|
+
.table[data-v-2c198b5d] {
|
|
16
13
|
display: table;
|
|
17
14
|
border-collapse: collapse;
|
|
18
15
|
}
|
|
19
|
-
.table .table-row[data-v-
|
|
16
|
+
.table .table-row[data-v-2c198b5d] {
|
|
20
17
|
display: table-row;
|
|
21
18
|
}
|
|
22
|
-
.readonly[data-v-
|
|
19
|
+
.readonly[data-v-2c198b5d] {
|
|
23
20
|
pointer-events: none;
|
|
24
21
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, reactive, renderList, resolveComponent, resolveDirective,
|
|
2
|
-
import './index.css';//#region ../manifest/dist/
|
|
1
|
+
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, reactive, renderList, resolveComponent, resolveDirective, watch, withCtx, withDirectives } from "vue";
|
|
2
|
+
import './index.css';//#region ../manifest/dist/rolldown-runtime-D7D4PA-g.mjs
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __exportAll = (all, no_symbols) => {
|
|
5
5
|
let target = {};
|
|
@@ -77,7 +77,8 @@ function objectToString(value) {
|
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
79
79
|
/** `Object#toString` result references. */
|
|
80
|
-
var nullTag = "[object Null]"
|
|
80
|
+
var nullTag = "[object Null]";
|
|
81
|
+
var undefinedTag = "[object Undefined]";
|
|
81
82
|
/** Built-in value references. */
|
|
82
83
|
var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
|
|
83
84
|
/**
|
|
@@ -191,7 +192,8 @@ var isArray = Array.isArray;
|
|
|
191
192
|
/** Used as references for various `Number` constants. */
|
|
192
193
|
var INFINITY$2 = Infinity;
|
|
193
194
|
/** Used to convert symbols to primitives and strings. */
|
|
194
|
-
var symbolProto$2 = Symbol$1 ? Symbol$1.prototype : void 0
|
|
195
|
+
var symbolProto$2 = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
196
|
+
var symbolToString = symbolProto$2 ? symbolProto$2.toString : void 0;
|
|
195
197
|
/**
|
|
196
198
|
* The base implementation of `_.toString` which doesn't convert nullish
|
|
197
199
|
* values to empty strings.
|
|
@@ -319,7 +321,8 @@ function toNumber(value) {
|
|
|
319
321
|
//#endregion
|
|
320
322
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
|
|
321
323
|
/** Used as references for various `Number` constants. */
|
|
322
|
-
var INFINITY$1 = Infinity
|
|
324
|
+
var INFINITY$1 = Infinity;
|
|
325
|
+
var MAX_INTEGER = 17976931348623157e292;
|
|
323
326
|
/**
|
|
324
327
|
* Converts `value` to a finite number.
|
|
325
328
|
*
|
|
@@ -405,7 +408,10 @@ function identity(value) {
|
|
|
405
408
|
//#endregion
|
|
406
409
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
407
410
|
/** `Object#toString` result references. */
|
|
408
|
-
var asyncTag = "[object AsyncFunction]"
|
|
411
|
+
var asyncTag = "[object AsyncFunction]";
|
|
412
|
+
var funcTag$2 = "[object Function]";
|
|
413
|
+
var genTag$1 = "[object GeneratorFunction]";
|
|
414
|
+
var proxyTag = "[object Proxy]";
|
|
409
415
|
/**
|
|
410
416
|
* Checks if `value` is classified as a `Function` object.
|
|
411
417
|
*
|
|
@@ -481,7 +487,8 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
|
481
487
|
/** Used to detect host constructors (Safari). */
|
|
482
488
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
483
489
|
/** Used for built-in method references. */
|
|
484
|
-
var funcProto = Function.prototype
|
|
490
|
+
var funcProto = Function.prototype;
|
|
491
|
+
var objectProto$2 = Object.prototype;
|
|
485
492
|
/** Used to resolve the decompiled source of functions. */
|
|
486
493
|
var funcToString = funcProto.toString;
|
|
487
494
|
/** Used to check objects for own properties. */
|
|
@@ -593,7 +600,8 @@ function copyArray(source, array) {
|
|
|
593
600
|
//#endregion
|
|
594
601
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
|
|
595
602
|
/** Used to detect hot functions by number of calls within a span of milliseconds. */
|
|
596
|
-
var HOT_COUNT = 800
|
|
603
|
+
var HOT_COUNT = 800;
|
|
604
|
+
var HOT_SPAN = 16;
|
|
597
605
|
var nativeNow = Date.now;
|
|
598
606
|
/**
|
|
599
607
|
* Creates a function that'll short out and invoke `identity` instead
|
|
@@ -1062,8 +1070,30 @@ var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
|
|
|
1062
1070
|
//#endregion
|
|
1063
1071
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
|
|
1064
1072
|
/** `Object#toString` result references. */
|
|
1065
|
-
var argsTag$2 = "[object Arguments]"
|
|
1066
|
-
var
|
|
1073
|
+
var argsTag$2 = "[object Arguments]";
|
|
1074
|
+
var arrayTag$2 = "[object Array]";
|
|
1075
|
+
var boolTag$3 = "[object Boolean]";
|
|
1076
|
+
var dateTag$3 = "[object Date]";
|
|
1077
|
+
var errorTag$2 = "[object Error]";
|
|
1078
|
+
var funcTag$1 = "[object Function]";
|
|
1079
|
+
var mapTag$6 = "[object Map]";
|
|
1080
|
+
var numberTag$3 = "[object Number]";
|
|
1081
|
+
var objectTag$3 = "[object Object]";
|
|
1082
|
+
var regexpTag$3 = "[object RegExp]";
|
|
1083
|
+
var setTag$6 = "[object Set]";
|
|
1084
|
+
var stringTag$4 = "[object String]";
|
|
1085
|
+
var weakMapTag$2 = "[object WeakMap]";
|
|
1086
|
+
var arrayBufferTag$3 = "[object ArrayBuffer]";
|
|
1087
|
+
var dataViewTag$4 = "[object DataView]";
|
|
1088
|
+
var float32Tag$2 = "[object Float32Array]";
|
|
1089
|
+
var float64Tag$2 = "[object Float64Array]";
|
|
1090
|
+
var int8Tag$2 = "[object Int8Array]";
|
|
1091
|
+
var int16Tag$2 = "[object Int16Array]";
|
|
1092
|
+
var int32Tag$2 = "[object Int32Array]";
|
|
1093
|
+
var uint8Tag$2 = "[object Uint8Array]";
|
|
1094
|
+
var uint8ClampedTag$2 = "[object Uint8ClampedArray]";
|
|
1095
|
+
var uint16Tag$2 = "[object Uint16Array]";
|
|
1096
|
+
var uint32Tag$2 = "[object Uint32Array]";
|
|
1067
1097
|
/** Used to identify `toStringTag` values of typed arrays. */
|
|
1068
1098
|
var typedArrayTags = {};
|
|
1069
1099
|
typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
|
|
@@ -1278,7 +1308,8 @@ function keysIn(object) {
|
|
|
1278
1308
|
//#endregion
|
|
1279
1309
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
|
|
1280
1310
|
/** Used to match property names within property paths. */
|
|
1281
|
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]
|
|
1311
|
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
1312
|
+
var reIsPlainProp = /^\w*$/;
|
|
1282
1313
|
/**
|
|
1283
1314
|
* Checks if `value` is a property name and not a property path.
|
|
1284
1315
|
*
|
|
@@ -2075,7 +2106,8 @@ var freeExports = typeof exports == "object" && exports && !exports.nodeType &&
|
|
|
2075
2106
|
/** Detect free variable `module`. */
|
|
2076
2107
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
2077
2108
|
/** Built-in value references. */
|
|
2078
|
-
var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0
|
|
2109
|
+
var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0;
|
|
2110
|
+
var allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
|
|
2079
2111
|
/**
|
|
2080
2112
|
* Creates a clone of `buffer`.
|
|
2081
2113
|
*
|
|
@@ -2248,10 +2280,18 @@ var Set = getNative(root, "Set");
|
|
|
2248
2280
|
//#endregion
|
|
2249
2281
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
|
|
2250
2282
|
/** `Object#toString` result references. */
|
|
2251
|
-
var mapTag$5 = "[object Map]"
|
|
2283
|
+
var mapTag$5 = "[object Map]";
|
|
2284
|
+
var objectTag$2 = "[object Object]";
|
|
2285
|
+
var promiseTag = "[object Promise]";
|
|
2286
|
+
var setTag$5 = "[object Set]";
|
|
2287
|
+
var weakMapTag$1 = "[object WeakMap]";
|
|
2252
2288
|
var dataViewTag$3 = "[object DataView]";
|
|
2253
2289
|
/** Used to detect maps, sets, and weakmaps. */
|
|
2254
|
-
var dataViewCtorString = toSource(DataView)
|
|
2290
|
+
var dataViewCtorString = toSource(DataView);
|
|
2291
|
+
var mapCtorString = toSource(Map);
|
|
2292
|
+
var promiseCtorString = toSource(Promise$1);
|
|
2293
|
+
var setCtorString = toSource(Set);
|
|
2294
|
+
var weakMapCtorString = toSource(WeakMap);
|
|
2255
2295
|
/**
|
|
2256
2296
|
* Gets the `toStringTag` of `value`.
|
|
2257
2297
|
*
|
|
@@ -2342,7 +2382,8 @@ function cloneRegExp(regexp) {
|
|
|
2342
2382
|
//#endregion
|
|
2343
2383
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
|
|
2344
2384
|
/** Used to convert symbols to primitives and strings. */
|
|
2345
|
-
var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0
|
|
2385
|
+
var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
2386
|
+
var symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : void 0;
|
|
2346
2387
|
/**
|
|
2347
2388
|
* Creates a clone of the `symbol` object.
|
|
2348
2389
|
*
|
|
@@ -2370,8 +2411,25 @@ function cloneTypedArray(typedArray, isDeep) {
|
|
|
2370
2411
|
//#endregion
|
|
2371
2412
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
|
|
2372
2413
|
/** `Object#toString` result references. */
|
|
2373
|
-
var boolTag$2 = "[object Boolean]"
|
|
2374
|
-
var
|
|
2414
|
+
var boolTag$2 = "[object Boolean]";
|
|
2415
|
+
var dateTag$2 = "[object Date]";
|
|
2416
|
+
var mapTag$4 = "[object Map]";
|
|
2417
|
+
var numberTag$2 = "[object Number]";
|
|
2418
|
+
var regexpTag$2 = "[object RegExp]";
|
|
2419
|
+
var setTag$4 = "[object Set]";
|
|
2420
|
+
var stringTag$3 = "[object String]";
|
|
2421
|
+
var symbolTag$2 = "[object Symbol]";
|
|
2422
|
+
var arrayBufferTag$2 = "[object ArrayBuffer]";
|
|
2423
|
+
var dataViewTag$2 = "[object DataView]";
|
|
2424
|
+
var float32Tag$1 = "[object Float32Array]";
|
|
2425
|
+
var float64Tag$1 = "[object Float64Array]";
|
|
2426
|
+
var int8Tag$1 = "[object Int8Array]";
|
|
2427
|
+
var int16Tag$1 = "[object Int16Array]";
|
|
2428
|
+
var int32Tag$1 = "[object Int32Array]";
|
|
2429
|
+
var uint8Tag$1 = "[object Uint8Array]";
|
|
2430
|
+
var uint8ClampedTag$1 = "[object Uint8ClampedArray]";
|
|
2431
|
+
var uint16Tag$1 = "[object Uint16Array]";
|
|
2432
|
+
var uint32Tag$1 = "[object Uint32Array]";
|
|
2375
2433
|
/**
|
|
2376
2434
|
* Initializes an object clone based on its `toStringTag`.
|
|
2377
2435
|
*
|
|
@@ -2493,10 +2551,36 @@ var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
|
2493
2551
|
//#endregion
|
|
2494
2552
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
|
|
2495
2553
|
/** Used to compose bitmasks for cloning. */
|
|
2496
|
-
var CLONE_DEEP_FLAG$1 = 1
|
|
2554
|
+
var CLONE_DEEP_FLAG$1 = 1;
|
|
2555
|
+
var CLONE_FLAT_FLAG = 2;
|
|
2556
|
+
var CLONE_SYMBOLS_FLAG$1 = 4;
|
|
2497
2557
|
/** `Object#toString` result references. */
|
|
2498
|
-
var argsTag$1 = "[object Arguments]"
|
|
2499
|
-
var
|
|
2558
|
+
var argsTag$1 = "[object Arguments]";
|
|
2559
|
+
var arrayTag$1 = "[object Array]";
|
|
2560
|
+
var boolTag$1 = "[object Boolean]";
|
|
2561
|
+
var dateTag$1 = "[object Date]";
|
|
2562
|
+
var errorTag$1 = "[object Error]";
|
|
2563
|
+
var funcTag = "[object Function]";
|
|
2564
|
+
var genTag = "[object GeneratorFunction]";
|
|
2565
|
+
var mapTag$2 = "[object Map]";
|
|
2566
|
+
var numberTag$1 = "[object Number]";
|
|
2567
|
+
var objectTag$1 = "[object Object]";
|
|
2568
|
+
var regexpTag$1 = "[object RegExp]";
|
|
2569
|
+
var setTag$2 = "[object Set]";
|
|
2570
|
+
var stringTag$2 = "[object String]";
|
|
2571
|
+
var symbolTag$1 = "[object Symbol]";
|
|
2572
|
+
var weakMapTag = "[object WeakMap]";
|
|
2573
|
+
var arrayBufferTag$1 = "[object ArrayBuffer]";
|
|
2574
|
+
var dataViewTag$1 = "[object DataView]";
|
|
2575
|
+
var float32Tag = "[object Float32Array]";
|
|
2576
|
+
var float64Tag = "[object Float64Array]";
|
|
2577
|
+
var int8Tag = "[object Int8Array]";
|
|
2578
|
+
var int16Tag = "[object Int16Array]";
|
|
2579
|
+
var int32Tag = "[object Int32Array]";
|
|
2580
|
+
var uint8Tag = "[object Uint8Array]";
|
|
2581
|
+
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
|
2582
|
+
var uint16Tag = "[object Uint16Array]";
|
|
2583
|
+
var uint32Tag = "[object Uint32Array]";
|
|
2500
2584
|
/** Used to identify `toStringTag` values supported by `_.clone`. */
|
|
2501
2585
|
var cloneableTags = {};
|
|
2502
2586
|
cloneableTags[argsTag$1] = cloneableTags[arrayTag$1] = cloneableTags[arrayBufferTag$1] = cloneableTags[dataViewTag$1] = cloneableTags[boolTag$1] = cloneableTags[dateTag$1] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag$2] = cloneableTags[numberTag$1] = cloneableTags[objectTag$1] = cloneableTags[regexpTag$1] = cloneableTags[setTag$2] = cloneableTags[stringTag$2] = cloneableTags[symbolTag$1] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
|
|
@@ -2560,7 +2644,8 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
|
|
|
2560
2644
|
//#endregion
|
|
2561
2645
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
|
|
2562
2646
|
/** Used to compose bitmasks for cloning. */
|
|
2563
|
-
var CLONE_DEEP_FLAG = 1
|
|
2647
|
+
var CLONE_DEEP_FLAG = 1;
|
|
2648
|
+
var CLONE_SYMBOLS_FLAG = 4;
|
|
2564
2649
|
/**
|
|
2565
2650
|
* This method is like `_.clone` except that it recursively clones `value`.
|
|
2566
2651
|
*
|
|
@@ -2664,7 +2749,8 @@ function cacheHas(cache, key) {
|
|
|
2664
2749
|
//#endregion
|
|
2665
2750
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
|
|
2666
2751
|
/** Used to compose bitmasks for value comparisons. */
|
|
2667
|
-
var COMPARE_PARTIAL_FLAG$5 = 1
|
|
2752
|
+
var COMPARE_PARTIAL_FLAG$5 = 1;
|
|
2753
|
+
var COMPARE_UNORDERED_FLAG$3 = 2;
|
|
2668
2754
|
/**
|
|
2669
2755
|
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
|
2670
2756
|
* partial deep comparisons.
|
|
@@ -2746,12 +2832,23 @@ function setToArray(set) {
|
|
|
2746
2832
|
//#endregion
|
|
2747
2833
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
|
|
2748
2834
|
/** Used to compose bitmasks for value comparisons. */
|
|
2749
|
-
var COMPARE_PARTIAL_FLAG$4 = 1
|
|
2835
|
+
var COMPARE_PARTIAL_FLAG$4 = 1;
|
|
2836
|
+
var COMPARE_UNORDERED_FLAG$2 = 2;
|
|
2750
2837
|
/** `Object#toString` result references. */
|
|
2751
|
-
var boolTag = "[object Boolean]"
|
|
2752
|
-
var
|
|
2838
|
+
var boolTag = "[object Boolean]";
|
|
2839
|
+
var dateTag = "[object Date]";
|
|
2840
|
+
var errorTag = "[object Error]";
|
|
2841
|
+
var mapTag$1 = "[object Map]";
|
|
2842
|
+
var numberTag = "[object Number]";
|
|
2843
|
+
var regexpTag = "[object RegExp]";
|
|
2844
|
+
var setTag$1 = "[object Set]";
|
|
2845
|
+
var stringTag$1 = "[object String]";
|
|
2846
|
+
var symbolTag = "[object Symbol]";
|
|
2847
|
+
var arrayBufferTag = "[object ArrayBuffer]";
|
|
2848
|
+
var dataViewTag = "[object DataView]";
|
|
2753
2849
|
/** Used to convert symbols to primitives and strings. */
|
|
2754
|
-
var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0
|
|
2850
|
+
var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
2851
|
+
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
2755
2852
|
/**
|
|
2756
2853
|
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
2757
2854
|
* the same `toStringTag`.
|
|
@@ -2857,7 +2954,9 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
2857
2954
|
/** Used to compose bitmasks for value comparisons. */
|
|
2858
2955
|
var COMPARE_PARTIAL_FLAG$2 = 1;
|
|
2859
2956
|
/** `Object#toString` result references. */
|
|
2860
|
-
var argsTag = "[object Arguments]"
|
|
2957
|
+
var argsTag = "[object Arguments]";
|
|
2958
|
+
var arrayTag = "[object Array]";
|
|
2959
|
+
var objectTag = "[object Object]";
|
|
2861
2960
|
/** Used to check objects for own properties. */
|
|
2862
2961
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
2863
2962
|
/**
|
|
@@ -2924,7 +3023,8 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
|
2924
3023
|
//#endregion
|
|
2925
3024
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
|
|
2926
3025
|
/** Used to compose bitmasks for value comparisons. */
|
|
2927
|
-
var COMPARE_PARTIAL_FLAG$1 = 1
|
|
3026
|
+
var COMPARE_PARTIAL_FLAG$1 = 1;
|
|
3027
|
+
var COMPARE_UNORDERED_FLAG$1 = 2;
|
|
2928
3028
|
/**
|
|
2929
3029
|
* The base implementation of `_.isMatch` without support for iteratee shorthands.
|
|
2930
3030
|
*
|
|
@@ -3093,7 +3193,8 @@ function hasIn(object, path) {
|
|
|
3093
3193
|
//#endregion
|
|
3094
3194
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
|
|
3095
3195
|
/** Used to compose bitmasks for value comparisons. */
|
|
3096
|
-
var COMPARE_PARTIAL_FLAG = 1
|
|
3196
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
|
3197
|
+
var COMPARE_UNORDERED_FLAG = 2;
|
|
3097
3198
|
/**
|
|
3098
3199
|
* The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
|
|
3099
3200
|
*
|
|
@@ -3494,6 +3595,39 @@ function isString(value) {
|
|
|
3494
3595
|
return typeof value == "string" || !isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag;
|
|
3495
3596
|
}
|
|
3496
3597
|
//#endregion
|
|
3598
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js
|
|
3599
|
+
/**
|
|
3600
|
+
* Performs a deep comparison between two values to determine if they are
|
|
3601
|
+
* equivalent.
|
|
3602
|
+
*
|
|
3603
|
+
* **Note:** This method supports comparing arrays, array buffers, booleans,
|
|
3604
|
+
* date objects, error objects, maps, numbers, `Object` objects, regexes,
|
|
3605
|
+
* sets, strings, symbols, and typed arrays. `Object` objects are compared
|
|
3606
|
+
* by their own, not inherited, enumerable properties. Functions and DOM
|
|
3607
|
+
* nodes are compared by strict equality, i.e. `===`.
|
|
3608
|
+
*
|
|
3609
|
+
* @static
|
|
3610
|
+
* @memberOf _
|
|
3611
|
+
* @since 0.1.0
|
|
3612
|
+
* @category Lang
|
|
3613
|
+
* @param {*} value The value to compare.
|
|
3614
|
+
* @param {*} other The other value to compare.
|
|
3615
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
3616
|
+
* @example
|
|
3617
|
+
*
|
|
3618
|
+
* var object = { 'a': 1 };
|
|
3619
|
+
* var other = { 'a': 1 };
|
|
3620
|
+
*
|
|
3621
|
+
* _.isEqual(object, other);
|
|
3622
|
+
* // => true
|
|
3623
|
+
*
|
|
3624
|
+
* object === other;
|
|
3625
|
+
* // => false
|
|
3626
|
+
*/
|
|
3627
|
+
function isEqual(value, other) {
|
|
3628
|
+
return baseIsEqual(value, other);
|
|
3629
|
+
}
|
|
3630
|
+
//#endregion
|
|
3497
3631
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSortBy.js
|
|
3498
3632
|
/**
|
|
3499
3633
|
* The base implementation of `_.sortBy` which uses `comparer` to define the
|
|
@@ -3603,15 +3737,28 @@ var asciiSize = baseProperty("length");
|
|
|
3603
3737
|
//#endregion
|
|
3604
3738
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_unicodeSize.js
|
|
3605
3739
|
/** Used to compose unicode character classes. */
|
|
3606
|
-
var rsAstralRange = "\\ud800-\\udfff"
|
|
3740
|
+
var rsAstralRange = "\\ud800-\\udfff";
|
|
3741
|
+
var rsComboRange = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff";
|
|
3742
|
+
var rsVarRange = "\\ufe0e\\ufe0f";
|
|
3607
3743
|
/** Used to compose unicode capture groups. */
|
|
3608
|
-
var rsAstral = "[" + rsAstralRange + "]"
|
|
3744
|
+
var rsAstral = "[" + rsAstralRange + "]";
|
|
3745
|
+
var rsCombo = "[" + rsComboRange + "]";
|
|
3746
|
+
var rsFitz = "\\ud83c[\\udffb-\\udfff]";
|
|
3747
|
+
var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
|
|
3748
|
+
var rsNonAstral = "[^" + rsAstralRange + "]";
|
|
3749
|
+
var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
|
|
3750
|
+
var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
|
|
3751
|
+
var rsZWJ = "\\u200d";
|
|
3609
3752
|
/** Used to compose unicode regexes. */
|
|
3610
|
-
var reOptMod = rsModifier + "?"
|
|
3753
|
+
var reOptMod = rsModifier + "?";
|
|
3754
|
+
var rsOptVar = "[" + rsVarRange + "]?";
|
|
3755
|
+
var rsOptJoin = "(?:" + rsZWJ + "(?:" + [
|
|
3611
3756
|
rsNonAstral,
|
|
3612
3757
|
rsRegional,
|
|
3613
3758
|
rsSurrPair
|
|
3614
|
-
].join("|") + ")" + rsOptVar + reOptMod + ")*"
|
|
3759
|
+
].join("|") + ")" + rsOptVar + reOptMod + ")*";
|
|
3760
|
+
var rsSeq = rsOptVar + reOptMod + rsOptJoin;
|
|
3761
|
+
var rsSymbol = "(?:" + [
|
|
3615
3762
|
rsNonAstral + rsCombo + "?",
|
|
3616
3763
|
rsCombo,
|
|
3617
3764
|
rsRegional,
|
|
@@ -3647,7 +3794,8 @@ function stringSize(string) {
|
|
|
3647
3794
|
//#endregion
|
|
3648
3795
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/size.js
|
|
3649
3796
|
/** `Object#toString` result references. */
|
|
3650
|
-
var mapTag = "[object Map]"
|
|
3797
|
+
var mapTag = "[object Map]";
|
|
3798
|
+
var setTag = "[object Set]";
|
|
3651
3799
|
/**
|
|
3652
3800
|
* Gets the size of `collection` by returning its length for array-like
|
|
3653
3801
|
* values or the number of own enumerable string keyed properties for objects.
|
|
@@ -3751,20 +3899,20 @@ function times(n, iteratee) {
|
|
|
3751
3899
|
return result;
|
|
3752
3900
|
}
|
|
3753
3901
|
//#endregion
|
|
3754
|
-
//#region ../../node_modules/.pnpm/uuid@14.0.
|
|
3902
|
+
//#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/stringify.js
|
|
3755
3903
|
var byteToHex = [];
|
|
3756
3904
|
for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).slice(1));
|
|
3757
3905
|
function unsafeStringify(arr, offset = 0) {
|
|
3758
3906
|
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
3759
3907
|
}
|
|
3760
3908
|
//#endregion
|
|
3761
|
-
//#region ../../node_modules/.pnpm/uuid@14.0.
|
|
3762
|
-
var rnds8 = new Uint8Array(16);
|
|
3909
|
+
//#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/rng.js
|
|
3910
|
+
var rnds8 = /* @__PURE__ */ new Uint8Array(16);
|
|
3763
3911
|
function rng() {
|
|
3764
3912
|
return crypto.getRandomValues(rnds8);
|
|
3765
3913
|
}
|
|
3766
3914
|
//#endregion
|
|
3767
|
-
//#region ../../node_modules/.pnpm/uuid@14.0.
|
|
3915
|
+
//#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/v4.js
|
|
3768
3916
|
function v4(options, buf, offset) {
|
|
3769
3917
|
if (!buf && !options && crypto.randomUUID) return crypto.randomUUID();
|
|
3770
3918
|
return _v4(options, buf, offset);
|
|
@@ -3939,7 +4087,7 @@ var manifest$1 = {
|
|
|
3939
4087
|
};
|
|
3940
4088
|
//#endregion
|
|
3941
4089
|
//#region src/components/TableCell.vue?vue&type=script&setup=true&lang.ts
|
|
3942
|
-
var TableCell_vue_vue_type_script_setup_true_lang_default =
|
|
4090
|
+
var TableCell_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
3943
4091
|
__name: "TableCell",
|
|
3944
4092
|
props: {
|
|
3945
4093
|
cell: {},
|
|
@@ -4009,6 +4157,7 @@ var TableCell_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
4009
4157
|
parent: __props.table,
|
|
4010
4158
|
"show-placeholder": false,
|
|
4011
4159
|
class: "table-cell",
|
|
4160
|
+
variant: "field",
|
|
4012
4161
|
onSave: save
|
|
4013
4162
|
}, null, 8, [
|
|
4014
4163
|
"id",
|
|
@@ -4055,16 +4204,15 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
|
4055
4204
|
};
|
|
4056
4205
|
//#endregion
|
|
4057
4206
|
//#region src/components/TableCell.vue
|
|
4058
|
-
var TableCell_default =
|
|
4207
|
+
var TableCell_default = /*#__PURE__*/ _plugin_vue_export_helper_default(TableCell_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-3d763687"]]);
|
|
4059
4208
|
//#endregion
|
|
4060
4209
|
//#region src/components/Edit.vue?vue&type=script&setup=true&lang.ts
|
|
4061
|
-
var _hoisted_1 = { class: "
|
|
4062
|
-
var _hoisted_2 = { class: "body" };
|
|
4210
|
+
var _hoisted_1 = { class: "tce-table" };
|
|
4063
4211
|
var MIN_ROWS = 1;
|
|
4064
4212
|
var MIN_COLUMNS = 1;
|
|
4065
4213
|
//#endregion
|
|
4066
4214
|
//#region src/components/Edit.vue
|
|
4067
|
-
var Edit_default =
|
|
4215
|
+
var Edit_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
4068
4216
|
__name: "Edit",
|
|
4069
4217
|
props: {
|
|
4070
4218
|
element: {},
|
|
@@ -4177,57 +4325,40 @@ var Edit_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
4177
4325
|
elementData.embeds[element.id] = element;
|
|
4178
4326
|
emit("save", elementData);
|
|
4179
4327
|
};
|
|
4328
|
+
watch(() => props.element.data, (data) => {
|
|
4329
|
+
if (isEqual(data, elementData)) return;
|
|
4330
|
+
Object.assign(elementData, cloneDeep(data));
|
|
4331
|
+
});
|
|
4180
4332
|
return (_ctx, _cache) => {
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
cell: embeds.value[cell.id],
|
|
4208
|
-
"is-readonly": __props.isReadonly,
|
|
4209
|
-
table: __props.element,
|
|
4210
|
-
"onCol:add": ($event) => addColumn(cell.id, $event),
|
|
4211
|
-
"onCol:remove": ($event) => removeColumn(cell.id),
|
|
4212
|
-
"onRow:add": ($event) => addRow(cell.id, $event),
|
|
4213
|
-
"onRow:remove": ($event) => removeRow(cell.id),
|
|
4214
|
-
onSave: saveCell
|
|
4215
|
-
}, null, 8, [
|
|
4216
|
-
"cell",
|
|
4217
|
-
"is-readonly",
|
|
4218
|
-
"table",
|
|
4219
|
-
"onCol:add",
|
|
4220
|
-
"onCol:remove",
|
|
4221
|
-
"onRow:add",
|
|
4222
|
-
"onRow:remove"
|
|
4223
|
-
]);
|
|
4224
|
-
}), 128))]);
|
|
4225
|
-
}), 128))], 2)])]),
|
|
4226
|
-
_: 1
|
|
4227
|
-
});
|
|
4333
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", { class: normalizeClass([{ readonly: __props.isReadonly }, "table"]) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(table.value, (row) => {
|
|
4334
|
+
return openBlock(), createElementBlock("div", {
|
|
4335
|
+
key: row.id,
|
|
4336
|
+
class: "table-row"
|
|
4337
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(cells(row), (cell) => {
|
|
4338
|
+
return openBlock(), createBlock(TableCell_default, {
|
|
4339
|
+
key: cell.id,
|
|
4340
|
+
cell: embeds.value[cell.id],
|
|
4341
|
+
"is-readonly": __props.isReadonly,
|
|
4342
|
+
table: __props.element,
|
|
4343
|
+
"onCol:add": ($event) => addColumn(cell.id, $event),
|
|
4344
|
+
"onCol:remove": ($event) => removeColumn(cell.id),
|
|
4345
|
+
"onRow:add": ($event) => addRow(cell.id, $event),
|
|
4346
|
+
"onRow:remove": ($event) => removeRow(cell.id),
|
|
4347
|
+
onSave: saveCell
|
|
4348
|
+
}, null, 8, [
|
|
4349
|
+
"cell",
|
|
4350
|
+
"is-readonly",
|
|
4351
|
+
"table",
|
|
4352
|
+
"onCol:add",
|
|
4353
|
+
"onCol:remove",
|
|
4354
|
+
"onRow:add",
|
|
4355
|
+
"onRow:remove"
|
|
4356
|
+
]);
|
|
4357
|
+
}), 128))]);
|
|
4358
|
+
}), 128))], 2)]);
|
|
4228
4359
|
};
|
|
4229
4360
|
}
|
|
4230
|
-
}), [["__scopeId", "data-v-
|
|
4361
|
+
}), [["__scopeId", "data-v-2c198b5d"]]);
|
|
4231
4362
|
//#endregion
|
|
4232
4363
|
//#region src/index.ts
|
|
4233
4364
|
var manifest = {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Tailor CMS table authoring component",
|
|
4
4
|
"author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "2.0.
|
|
6
|
+
"version": "2.0.3",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./dist/index.js",
|
|
@@ -19,26 +19,26 @@
|
|
|
19
19
|
"vue": "^3.5.29"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@tailor-cms/eslint-config": "2.0.
|
|
22
|
+
"@tailor-cms/eslint-config": "2.0.3",
|
|
23
23
|
"@types/lodash-es": "^4.17.12",
|
|
24
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
24
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
25
25
|
"typescript": "^6.0.3",
|
|
26
|
-
"vite": "^8.
|
|
26
|
+
"vite": "^8.1.5",
|
|
27
27
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
28
|
-
"vue-tsc": "^3.
|
|
29
|
-
"vuetify": "^4.
|
|
30
|
-
"@tailor-cms/ce-table-manifest": "2.0.
|
|
28
|
+
"vue-tsc": "^3.3.8",
|
|
29
|
+
"vuetify": "^4.1.6",
|
|
30
|
+
"@tailor-cms/ce-table-manifest": "2.0.3"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@tailor-cms/cek-common": "2.0.
|
|
33
|
+
"@tailor-cms/cek-common": "2.0.3",
|
|
34
34
|
"lodash-es": "^4.18.1",
|
|
35
|
-
"uuid": "^14.0.
|
|
35
|
+
"uuid": "^14.0.1"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
|
-
"node": ">=
|
|
41
|
+
"node": ">=26"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"dev": "vite build --watch",
|