@tmagic/table 1.8.0-manmanyu.8 → 1.8.0

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.
@@ -1,31 +1,32 @@
1
1
  (function(global, factory) {
2
- typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue"), require("@tmagic/design"), require("@tmagic/form"), require("@tmagic/utils")) : typeof define === "function" && define.amd ? define([
2
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue"), require("@tmagic/design"), require("@element-plus/icons-vue"), require("@tmagic/form"), require("@tmagic/utils")) : typeof define === "function" && define.amd ? define([
3
3
  "exports",
4
4
  "vue",
5
5
  "@tmagic/design",
6
+ "@element-plus/icons-vue",
6
7
  "@tmagic/form",
7
8
  "@tmagic/utils"
8
- ], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.TMagicTable = {}, global.Vue, global._tmagic_design, global._tmagic_form, global._tmagic_utils));
9
- })(this, function(exports, vue, _tmagic_design, _tmagic_form, _tmagic_utils) {
9
+ ], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.TMagicTable = {}, global.Vue, global._tmagic_design, global._element_plus_icons_vue, global._tmagic_form, global._tmagic_utils));
10
+ })(this, function(exports, vue, _tmagic_design, _element_plus_icons_vue, _tmagic_form, _tmagic_utils) {
10
11
  Object.defineProperties(exports, {
11
12
  __esModule: { value: true },
12
13
  [Symbol.toStringTag]: { value: "Module" }
13
14
  });
14
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js
15
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
15
16
  /** Detect free variable `global` from Node.js. */
16
17
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
17
18
  //#endregion
18
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js
19
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
19
20
  /** Detect free variable `self`. */
20
21
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
21
22
  /** Used as a reference to the global object. */
22
23
  var root = freeGlobal || freeSelf || Function("return this")();
23
24
  //#endregion
24
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js
25
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
25
26
  /** Built-in value references. */
26
- var Symbol = root.Symbol;
27
+ var Symbol$1 = root.Symbol;
27
28
  //#endregion
28
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js
29
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
29
30
  /** Used for built-in method references. */
30
31
  var objectProto$3 = Object.prototype;
31
32
  /** Used to check objects for own properties. */
@@ -37,7 +38,7 @@
37
38
  */
38
39
  var nativeObjectToString$1 = objectProto$3.toString;
39
40
  /** Built-in value references. */
40
- var symToStringTag$1 = Symbol ? Symbol.toStringTag : void 0;
41
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
41
42
  /**
42
43
  * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
43
44
  *
@@ -52,12 +53,14 @@
52
53
  var unmasked = true;
53
54
  } catch (e) {}
54
55
  var result = nativeObjectToString$1.call(value);
55
- if (unmasked) if (isOwn) value[symToStringTag$1] = tag;
56
- else delete value[symToStringTag$1];
56
+ if (unmasked) {
57
+ if (isOwn) value[symToStringTag$1] = tag;
58
+ else delete value[symToStringTag$1];
59
+ }
57
60
  return result;
58
61
  }
59
62
  //#endregion
60
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js
63
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
61
64
  /**
62
65
  * Used to resolve the
63
66
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
@@ -75,11 +78,12 @@
75
78
  return nativeObjectToString.call(value);
76
79
  }
77
80
  //#endregion
78
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js
81
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
79
82
  /** `Object#toString` result references. */
80
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
83
+ var nullTag = "[object Null]";
84
+ var undefinedTag = "[object Undefined]";
81
85
  /** Built-in value references. */
82
- var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
86
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
83
87
  /**
84
88
  * The base implementation of `getTag` without fallbacks for buggy environments.
85
89
  *
@@ -92,7 +96,7 @@
92
96
  return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
93
97
  }
94
98
  //#endregion
95
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js
99
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
96
100
  /**
97
101
  * Checks if `value` is object-like. A value is object-like if it's not `null`
98
102
  * and has a `typeof` result of "object".
@@ -121,7 +125,7 @@
121
125
  return value != null && typeof value == "object";
122
126
  }
123
127
  //#endregion
124
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js
128
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
125
129
  /**
126
130
  * Checks if `value` is classified as an `Array` object.
127
131
  *
@@ -147,7 +151,7 @@
147
151
  */
148
152
  var isArray = Array.isArray;
149
153
  //#endregion
150
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js
154
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
151
155
  /**
152
156
  * Checks if `value` is the
153
157
  * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
@@ -178,9 +182,12 @@
178
182
  return value != null && (type == "object" || type == "function");
179
183
  }
180
184
  //#endregion
181
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js
185
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
182
186
  /** `Object#toString` result references. */
183
- var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
187
+ var asyncTag = "[object AsyncFunction]";
188
+ var funcTag$2 = "[object Function]";
189
+ var genTag$1 = "[object GeneratorFunction]";
190
+ var proxyTag = "[object Proxy]";
184
191
  /**
185
192
  * Checks if `value` is classified as a `Function` object.
186
193
  *
@@ -204,11 +211,11 @@
204
211
  return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
205
212
  }
206
213
  //#endregion
207
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js
214
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
208
215
  /** Used to detect overreaching core-js shims. */
209
216
  var coreJsData = root["__core-js_shared__"];
210
217
  //#endregion
211
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js
218
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
212
219
  /** Used to detect methods masquerading as native. */
213
220
  var maskSrcKey = function() {
214
221
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
@@ -225,7 +232,7 @@
225
232
  return !!maskSrcKey && maskSrcKey in func;
226
233
  }
227
234
  //#endregion
228
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.js
235
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
229
236
  /** Used to resolve the decompiled source of functions. */
230
237
  var funcToString$1 = Function.prototype.toString;
231
238
  /**
@@ -247,7 +254,7 @@
247
254
  return "";
248
255
  }
249
256
  //#endregion
250
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.js
257
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
251
258
  /**
252
259
  * Used to match `RegExp`
253
260
  * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
@@ -256,7 +263,8 @@
256
263
  /** Used to detect host constructors (Safari). */
257
264
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
258
265
  /** Used for built-in method references. */
259
- var funcProto = Function.prototype, objectProto$2 = Object.prototype;
266
+ var funcProto = Function.prototype;
267
+ var objectProto$2 = Object.prototype;
260
268
  /** Used to resolve the decompiled source of functions. */
261
269
  var funcToString = funcProto.toString;
262
270
  /** Used to check objects for own properties. */
@@ -276,7 +284,7 @@
276
284
  return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
277
285
  }
278
286
  //#endregion
279
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js
287
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
280
288
  /**
281
289
  * Gets the value at `key` of `object`.
282
290
  *
@@ -289,7 +297,7 @@
289
297
  return object == null ? void 0 : object[key];
290
298
  }
291
299
  //#endregion
292
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.js
300
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
293
301
  /**
294
302
  * Gets the native function at `key` of `object`.
295
303
  *
@@ -303,10 +311,10 @@
303
311
  return baseIsNative(value) ? value : void 0;
304
312
  }
305
313
  //#endregion
306
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.js
314
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
307
315
  var WeakMap = getNative(root, "WeakMap");
308
316
  //#endregion
309
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.js
317
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
310
318
  /** Built-in value references. */
311
319
  var objectCreate = Object.create;
312
320
  /**
@@ -329,7 +337,7 @@
329
337
  };
330
338
  }();
331
339
  //#endregion
332
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.js
340
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
333
341
  /**
334
342
  * Copies the values of `source` to `array`.
335
343
  *
@@ -345,7 +353,7 @@
345
353
  return array;
346
354
  }
347
355
  //#endregion
348
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.js
356
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
349
357
  var defineProperty = function() {
350
358
  try {
351
359
  var func = getNative(Object, "defineProperty");
@@ -354,7 +362,7 @@
354
362
  } catch (e) {}
355
363
  }();
356
364
  //#endregion
357
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.js
365
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
358
366
  /**
359
367
  * A specialized version of `_.forEach` for arrays without support for
360
368
  * iteratee shorthands.
@@ -370,7 +378,7 @@
370
378
  return array;
371
379
  }
372
380
  //#endregion
373
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.js
381
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
374
382
  /** Used as references for various `Number` constants. */
375
383
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
376
384
  /** Used to detect unsigned integer values. */
@@ -389,7 +397,7 @@
389
397
  return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
390
398
  }
391
399
  //#endregion
392
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.js
400
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
393
401
  /**
394
402
  * The base implementation of `assignValue` and `assignMergeValue` without
395
403
  * value checks.
@@ -409,7 +417,7 @@
409
417
  else object[key] = value;
410
418
  }
411
419
  //#endregion
412
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js
420
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
413
421
  /**
414
422
  * Performs a
415
423
  * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
@@ -446,7 +454,7 @@
446
454
  return value === other || value !== value && other !== other;
447
455
  }
448
456
  //#endregion
449
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.js
457
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js
450
458
  /** Used to check objects for own properties. */
451
459
  var hasOwnProperty$7 = Object.prototype.hasOwnProperty;
452
460
  /**
@@ -464,7 +472,7 @@
464
472
  if (!(hasOwnProperty$7.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
465
473
  }
466
474
  //#endregion
467
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.js
475
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
468
476
  /**
469
477
  * Copies properties of `source` to `object`.
470
478
  *
@@ -489,7 +497,7 @@
489
497
  return object;
490
498
  }
491
499
  //#endregion
492
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js
500
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
493
501
  /** Used as references for various `Number` constants. */
494
502
  var MAX_SAFE_INTEGER = 9007199254740991;
495
503
  /**
@@ -522,7 +530,7 @@
522
530
  return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
523
531
  }
524
532
  //#endregion
525
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.js
533
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
526
534
  /**
527
535
  * Checks if `value` is array-like. A value is considered array-like if it's
528
536
  * not a function and has a `value.length` that's an integer greater than or
@@ -552,7 +560,7 @@
552
560
  return value != null && isLength(value.length) && !isFunction(value);
553
561
  }
554
562
  //#endregion
555
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.js
563
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
556
564
  /** Used for built-in method references. */
557
565
  var objectProto$1 = Object.prototype;
558
566
  /**
@@ -567,7 +575,7 @@
567
575
  return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$1);
568
576
  }
569
577
  //#endregion
570
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.js
578
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
571
579
  /**
572
580
  * The base implementation of `_.times` without support for iteratee shorthands
573
581
  * or max array length checks.
@@ -583,7 +591,7 @@
583
591
  return result;
584
592
  }
585
593
  //#endregion
586
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.js
594
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
587
595
  /** `Object#toString` result references. */
588
596
  var argsTag$2 = "[object Arguments]";
589
597
  /**
@@ -597,7 +605,7 @@
597
605
  return isObjectLike(value) && baseGetTag(value) == argsTag$2;
598
606
  }
599
607
  //#endregion
600
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js
608
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
601
609
  /** Used for built-in method references. */
602
610
  var objectProto = Object.prototype;
603
611
  /** Used to check objects for own properties. */
@@ -628,7 +636,7 @@
628
636
  return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
629
637
  };
630
638
  //#endregion
631
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.js
639
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
632
640
  /**
633
641
  * This method returns `false`.
634
642
  *
@@ -646,7 +654,7 @@
646
654
  return false;
647
655
  }
648
656
  //#endregion
649
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.js
657
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
650
658
  /** Detect free variable `exports`. */
651
659
  var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
652
660
  /** Detect free variable `module`. */
@@ -672,10 +680,32 @@
672
680
  */
673
681
  var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
674
682
  //#endregion
675
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.js
683
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
676
684
  /** `Object#toString` result references. */
677
- var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$2 = "[object Boolean]", dateTag$2 = "[object Date]", errorTag$1 = "[object Error]", funcTag$1 = "[object Function]", mapTag$4 = "[object Map]", numberTag$2 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$2 = "[object RegExp]", setTag$4 = "[object Set]", stringTag$2 = "[object String]", weakMapTag$2 = "[object WeakMap]";
678
- var arrayBufferTag$2 = "[object ArrayBuffer]", dataViewTag$3 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]";
685
+ var argsTag$1 = "[object Arguments]";
686
+ var arrayTag$1 = "[object Array]";
687
+ var boolTag$2 = "[object Boolean]";
688
+ var dateTag$2 = "[object Date]";
689
+ var errorTag$1 = "[object Error]";
690
+ var funcTag$1 = "[object Function]";
691
+ var mapTag$4 = "[object Map]";
692
+ var numberTag$2 = "[object Number]";
693
+ var objectTag$2 = "[object Object]";
694
+ var regexpTag$2 = "[object RegExp]";
695
+ var setTag$4 = "[object Set]";
696
+ var stringTag$2 = "[object String]";
697
+ var weakMapTag$2 = "[object WeakMap]";
698
+ var arrayBufferTag$2 = "[object ArrayBuffer]";
699
+ var dataViewTag$3 = "[object DataView]";
700
+ var float32Tag$2 = "[object Float32Array]";
701
+ var float64Tag$2 = "[object Float64Array]";
702
+ var int8Tag$2 = "[object Int8Array]";
703
+ var int16Tag$2 = "[object Int16Array]";
704
+ var int32Tag$2 = "[object Int32Array]";
705
+ var uint8Tag$2 = "[object Uint8Array]";
706
+ var uint8ClampedTag$2 = "[object Uint8ClampedArray]";
707
+ var uint16Tag$2 = "[object Uint16Array]";
708
+ var uint32Tag$2 = "[object Uint32Array]";
679
709
  /** Used to identify `toStringTag` values of typed arrays. */
680
710
  var typedArrayTags = {};
681
711
  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;
@@ -691,7 +721,7 @@
691
721
  return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
692
722
  }
693
723
  //#endregion
694
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.js
724
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
695
725
  /**
696
726
  * The base implementation of `_.unary` without support for storing metadata.
697
727
  *
@@ -705,7 +735,7 @@
705
735
  };
706
736
  }
707
737
  //#endregion
708
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.js
738
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
709
739
  /** Detect free variable `exports`. */
710
740
  var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
711
741
  /** Detect free variable `module`. */
@@ -721,7 +751,7 @@
721
751
  } catch (e) {}
722
752
  }();
723
753
  //#endregion
724
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.js
754
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
725
755
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
726
756
  /**
727
757
  * Checks if `value` is classified as a typed array.
@@ -742,7 +772,7 @@
742
772
  */
743
773
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
744
774
  //#endregion
745
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.js
775
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
746
776
  /** Used to check objects for own properties. */
747
777
  var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
748
778
  /**
@@ -759,7 +789,7 @@
759
789
  return result;
760
790
  }
761
791
  //#endregion
762
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.js
792
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
763
793
  /**
764
794
  * Creates a unary function that invokes `func` with its argument transformed.
765
795
  *
@@ -774,10 +804,10 @@
774
804
  };
775
805
  }
776
806
  //#endregion
777
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.js
807
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
778
808
  var nativeKeys = overArg(Object.keys, Object);
779
809
  //#endregion
780
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.js
810
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
781
811
  /** Used to check objects for own properties. */
782
812
  var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
783
813
  /**
@@ -794,7 +824,7 @@
794
824
  return result;
795
825
  }
796
826
  //#endregion
797
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.js
827
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
798
828
  /**
799
829
  * Creates an array of the own enumerable property names of `object`.
800
830
  *
@@ -827,7 +857,7 @@
827
857
  return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
828
858
  }
829
859
  //#endregion
830
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.js
860
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
831
861
  /**
832
862
  * This function is like
833
863
  * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
@@ -843,7 +873,7 @@
843
873
  return result;
844
874
  }
845
875
  //#endregion
846
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.js
876
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
847
877
  /** Used to check objects for own properties. */
848
878
  var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
849
879
  /**
@@ -860,7 +890,7 @@
860
890
  return result;
861
891
  }
862
892
  //#endregion
863
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.js
893
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
864
894
  /**
865
895
  * Creates an array of the own and inherited enumerable property names of `object`.
866
896
  *
@@ -888,10 +918,10 @@
888
918
  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
889
919
  }
890
920
  //#endregion
891
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js
921
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
892
922
  var nativeCreate = getNative(Object, "create");
893
923
  //#endregion
894
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js
924
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
895
925
  /**
896
926
  * Removes all key-value entries from the hash.
897
927
  *
@@ -904,7 +934,7 @@
904
934
  this.size = 0;
905
935
  }
906
936
  //#endregion
907
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.js
937
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
908
938
  /**
909
939
  * Removes `key` and its value from the hash.
910
940
  *
@@ -921,7 +951,7 @@
921
951
  return result;
922
952
  }
923
953
  //#endregion
924
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.js
954
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
925
955
  /** Used to stand-in for `undefined` hash values. */
926
956
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
927
957
  /** Used to check objects for own properties. */
@@ -944,7 +974,7 @@
944
974
  return hasOwnProperty$2.call(data, key) ? data[key] : void 0;
945
975
  }
946
976
  //#endregion
947
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.js
977
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
948
978
  /** Used to check objects for own properties. */
949
979
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
950
980
  /**
@@ -961,7 +991,7 @@
961
991
  return nativeCreate ? data[key] !== void 0 : hasOwnProperty$1.call(data, key);
962
992
  }
963
993
  //#endregion
964
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.js
994
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
965
995
  /** Used to stand-in for `undefined` hash values. */
966
996
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
967
997
  /**
@@ -981,7 +1011,7 @@
981
1011
  return this;
982
1012
  }
983
1013
  //#endregion
984
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js
1014
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
985
1015
  /**
986
1016
  * Creates a hash object.
987
1017
  *
@@ -1003,7 +1033,7 @@
1003
1033
  Hash.prototype.has = hashHas;
1004
1034
  Hash.prototype.set = hashSet;
1005
1035
  //#endregion
1006
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js
1036
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
1007
1037
  /**
1008
1038
  * Removes all key-value entries from the list cache.
1009
1039
  *
@@ -1016,7 +1046,7 @@
1016
1046
  this.size = 0;
1017
1047
  }
1018
1048
  //#endregion
1019
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js
1049
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
1020
1050
  /**
1021
1051
  * Gets the index at which the `key` is found in `array` of key-value pairs.
1022
1052
  *
@@ -1031,7 +1061,7 @@
1031
1061
  return -1;
1032
1062
  }
1033
1063
  //#endregion
1034
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js
1064
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
1035
1065
  /** Built-in value references. */
1036
1066
  var splice = Array.prototype.splice;
1037
1067
  /**
@@ -1052,7 +1082,7 @@
1052
1082
  return true;
1053
1083
  }
1054
1084
  //#endregion
1055
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js
1085
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
1056
1086
  /**
1057
1087
  * Gets the list cache value for `key`.
1058
1088
  *
@@ -1067,7 +1097,7 @@
1067
1097
  return index < 0 ? void 0 : data[index][1];
1068
1098
  }
1069
1099
  //#endregion
1070
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js
1100
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
1071
1101
  /**
1072
1102
  * Checks if a list cache value for `key` exists.
1073
1103
  *
@@ -1081,7 +1111,7 @@
1081
1111
  return assocIndexOf(this.__data__, key) > -1;
1082
1112
  }
1083
1113
  //#endregion
1084
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js
1114
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
1085
1115
  /**
1086
1116
  * Sets the list cache `key` to `value`.
1087
1117
  *
@@ -1101,7 +1131,7 @@
1101
1131
  return this;
1102
1132
  }
1103
1133
  //#endregion
1104
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js
1134
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
1105
1135
  /**
1106
1136
  * Creates an list cache object.
1107
1137
  *
@@ -1123,10 +1153,10 @@
1123
1153
  ListCache.prototype.has = listCacheHas;
1124
1154
  ListCache.prototype.set = listCacheSet;
1125
1155
  //#endregion
1126
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js
1156
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
1127
1157
  var Map = getNative(root, "Map");
1128
1158
  //#endregion
1129
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js
1159
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
1130
1160
  /**
1131
1161
  * Removes all key-value entries from the map.
1132
1162
  *
@@ -1143,7 +1173,7 @@
1143
1173
  };
1144
1174
  }
1145
1175
  //#endregion
1146
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.js
1176
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
1147
1177
  /**
1148
1178
  * Checks if `value` is suitable for use as unique object key.
1149
1179
  *
@@ -1156,7 +1186,7 @@
1156
1186
  return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
1157
1187
  }
1158
1188
  //#endregion
1159
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.js
1189
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
1160
1190
  /**
1161
1191
  * Gets the data for `map`.
1162
1192
  *
@@ -1170,7 +1200,7 @@
1170
1200
  return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
1171
1201
  }
1172
1202
  //#endregion
1173
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.js
1203
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
1174
1204
  /**
1175
1205
  * Removes `key` and its value from the map.
1176
1206
  *
@@ -1186,7 +1216,7 @@
1186
1216
  return result;
1187
1217
  }
1188
1218
  //#endregion
1189
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.js
1219
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
1190
1220
  /**
1191
1221
  * Gets the map value for `key`.
1192
1222
  *
@@ -1200,7 +1230,7 @@
1200
1230
  return getMapData(this, key).get(key);
1201
1231
  }
1202
1232
  //#endregion
1203
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.js
1233
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
1204
1234
  /**
1205
1235
  * Checks if a map value for `key` exists.
1206
1236
  *
@@ -1214,7 +1244,7 @@
1214
1244
  return getMapData(this, key).has(key);
1215
1245
  }
1216
1246
  //#endregion
1217
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.js
1247
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
1218
1248
  /**
1219
1249
  * Sets the map `key` to `value`.
1220
1250
  *
@@ -1232,7 +1262,7 @@
1232
1262
  return this;
1233
1263
  }
1234
1264
  //#endregion
1235
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.js
1265
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
1236
1266
  /**
1237
1267
  * Creates a map cache object to store key-value pairs.
1238
1268
  *
@@ -1254,7 +1284,7 @@
1254
1284
  MapCache.prototype.has = mapCacheHas;
1255
1285
  MapCache.prototype.set = mapCacheSet;
1256
1286
  //#endregion
1257
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.js
1287
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
1258
1288
  /**
1259
1289
  * Appends the elements of `values` to `array`.
1260
1290
  *
@@ -1269,11 +1299,11 @@
1269
1299
  return array;
1270
1300
  }
1271
1301
  //#endregion
1272
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.js
1302
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
1273
1303
  /** Built-in value references. */
1274
1304
  var getPrototype = overArg(Object.getPrototypeOf, Object);
1275
1305
  //#endregion
1276
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.js
1306
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
1277
1307
  /**
1278
1308
  * Removes all key-value entries from the stack.
1279
1309
  *
@@ -1286,7 +1316,7 @@
1286
1316
  this.size = 0;
1287
1317
  }
1288
1318
  //#endregion
1289
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.js
1319
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
1290
1320
  /**
1291
1321
  * Removes `key` and its value from the stack.
1292
1322
  *
@@ -1302,7 +1332,7 @@
1302
1332
  return result;
1303
1333
  }
1304
1334
  //#endregion
1305
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.js
1335
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
1306
1336
  /**
1307
1337
  * Gets the stack value for `key`.
1308
1338
  *
@@ -1316,7 +1346,7 @@
1316
1346
  return this.__data__.get(key);
1317
1347
  }
1318
1348
  //#endregion
1319
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.js
1349
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
1320
1350
  /**
1321
1351
  * Checks if a stack value for `key` exists.
1322
1352
  *
@@ -1330,7 +1360,7 @@
1330
1360
  return this.__data__.has(key);
1331
1361
  }
1332
1362
  //#endregion
1333
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.js
1363
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
1334
1364
  /** Used as the size to enable large array optimizations. */
1335
1365
  var LARGE_ARRAY_SIZE = 200;
1336
1366
  /**
@@ -1359,7 +1389,7 @@
1359
1389
  return this;
1360
1390
  }
1361
1391
  //#endregion
1362
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.js
1392
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
1363
1393
  /**
1364
1394
  * Creates a stack cache object to store key-value pairs.
1365
1395
  *
@@ -1377,7 +1407,7 @@
1377
1407
  Stack.prototype.has = stackHas;
1378
1408
  Stack.prototype.set = stackSet;
1379
1409
  //#endregion
1380
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.js
1410
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
1381
1411
  /**
1382
1412
  * The base implementation of `_.assign` without support for multiple sources
1383
1413
  * or `customizer` functions.
@@ -1391,7 +1421,7 @@
1391
1421
  return object && copyObject(source, keys(source), object);
1392
1422
  }
1393
1423
  //#endregion
1394
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignIn.js
1424
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
1395
1425
  /**
1396
1426
  * The base implementation of `_.assignIn` without support for multiple sources
1397
1427
  * or `customizer` functions.
@@ -1405,13 +1435,14 @@
1405
1435
  return object && copyObject(source, keysIn(source), object);
1406
1436
  }
1407
1437
  //#endregion
1408
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.js
1438
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
1409
1439
  /** Detect free variable `exports`. */
1410
1440
  var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
1411
1441
  /** Detect free variable `module`. */
1412
1442
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
1413
1443
  /** Built-in value references. */
1414
- var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
1444
+ var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0;
1445
+ var allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
1415
1446
  /**
1416
1447
  * Creates a clone of `buffer`.
1417
1448
  *
@@ -1427,7 +1458,7 @@
1427
1458
  return result;
1428
1459
  }
1429
1460
  //#endregion
1430
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.js
1461
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
1431
1462
  /**
1432
1463
  * A specialized version of `_.filter` for arrays without support for
1433
1464
  * iteratee shorthands.
@@ -1446,7 +1477,7 @@
1446
1477
  return result;
1447
1478
  }
1448
1479
  //#endregion
1449
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.js
1480
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
1450
1481
  /**
1451
1482
  * This method returns a new empty array.
1452
1483
  *
@@ -1469,7 +1500,7 @@
1469
1500
  return [];
1470
1501
  }
1471
1502
  //#endregion
1472
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.js
1503
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
1473
1504
  /** Built-in value references. */
1474
1505
  var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
1475
1506
  var nativeGetSymbols = Object.getOwnPropertySymbols;
@@ -1488,7 +1519,7 @@
1488
1519
  });
1489
1520
  };
1490
1521
  //#endregion
1491
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.js
1522
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
1492
1523
  /**
1493
1524
  * Copies own symbols of `source` to `object`.
1494
1525
  *
@@ -1501,7 +1532,7 @@
1501
1532
  return copyObject(source, getSymbols(source), object);
1502
1533
  }
1503
1534
  //#endregion
1504
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbolsIn.js
1535
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
1505
1536
  /**
1506
1537
  * Creates an array of the own and inherited enumerable symbols of `object`.
1507
1538
  *
@@ -1518,7 +1549,7 @@
1518
1549
  return result;
1519
1550
  };
1520
1551
  //#endregion
1521
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbolsIn.js
1552
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
1522
1553
  /**
1523
1554
  * Copies own and inherited symbols of `source` to `object`.
1524
1555
  *
@@ -1531,7 +1562,7 @@
1531
1562
  return copyObject(source, getSymbolsIn(source), object);
1532
1563
  }
1533
1564
  //#endregion
1534
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.js
1565
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
1535
1566
  /**
1536
1567
  * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1537
1568
  * `keysFunc` and `symbolsFunc` to get the enumerable property names and
@@ -1548,7 +1579,7 @@
1548
1579
  return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
1549
1580
  }
1550
1581
  //#endregion
1551
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.js
1582
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
1552
1583
  /**
1553
1584
  * Creates an array of own enumerable property names and symbols of `object`.
1554
1585
  *
@@ -1560,7 +1591,7 @@
1560
1591
  return baseGetAllKeys(object, keys, getSymbols);
1561
1592
  }
1562
1593
  //#endregion
1563
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeysIn.js
1594
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
1564
1595
  /**
1565
1596
  * Creates an array of own and inherited enumerable property names and
1566
1597
  * symbols of `object`.
@@ -1573,21 +1604,29 @@
1573
1604
  return baseGetAllKeys(object, keysIn, getSymbolsIn);
1574
1605
  }
1575
1606
  //#endregion
1576
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.js
1607
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
1577
1608
  var DataView = getNative(root, "DataView");
1578
1609
  //#endregion
1579
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.js
1610
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
1580
1611
  var Promise$1 = getNative(root, "Promise");
1581
1612
  //#endregion
1582
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.js
1613
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
1583
1614
  var Set = getNative(root, "Set");
1584
1615
  //#endregion
1585
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.js
1616
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
1586
1617
  /** `Object#toString` result references. */
1587
- var mapTag$3 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$3 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
1618
+ var mapTag$3 = "[object Map]";
1619
+ var objectTag$1 = "[object Object]";
1620
+ var promiseTag = "[object Promise]";
1621
+ var setTag$3 = "[object Set]";
1622
+ var weakMapTag$1 = "[object WeakMap]";
1588
1623
  var dataViewTag$2 = "[object DataView]";
1589
1624
  /** Used to detect maps, sets, and weakmaps. */
1590
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
1625
+ var dataViewCtorString = toSource(DataView);
1626
+ var mapCtorString = toSource(Map);
1627
+ var promiseCtorString = toSource(Promise$1);
1628
+ var setCtorString = toSource(Set);
1629
+ var weakMapCtorString = toSource(WeakMap);
1591
1630
  /**
1592
1631
  * Gets the `toStringTag` of `value`.
1593
1632
  *
@@ -1609,7 +1648,7 @@
1609
1648
  };
1610
1649
  var _getTag_default = getTag;
1611
1650
  //#endregion
1612
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.js
1651
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
1613
1652
  /** Used to check objects for own properties. */
1614
1653
  var hasOwnProperty = Object.prototype.hasOwnProperty;
1615
1654
  /**
@@ -1628,11 +1667,11 @@
1628
1667
  return result;
1629
1668
  }
1630
1669
  //#endregion
1631
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.js
1670
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
1632
1671
  /** Built-in value references. */
1633
1672
  var Uint8Array = root.Uint8Array;
1634
1673
  //#endregion
1635
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.js
1674
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
1636
1675
  /**
1637
1676
  * Creates a clone of `arrayBuffer`.
1638
1677
  *
@@ -1646,7 +1685,7 @@
1646
1685
  return result;
1647
1686
  }
1648
1687
  //#endregion
1649
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.js
1688
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
1650
1689
  /**
1651
1690
  * Creates a clone of `dataView`.
1652
1691
  *
@@ -1660,7 +1699,7 @@
1660
1699
  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
1661
1700
  }
1662
1701
  //#endregion
1663
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.js
1702
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
1664
1703
  /** Used to match `RegExp` flags from their coerced string values. */
1665
1704
  var reFlags = /\w*$/;
1666
1705
  /**
@@ -1676,9 +1715,10 @@
1676
1715
  return result;
1677
1716
  }
1678
1717
  //#endregion
1679
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.js
1718
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
1680
1719
  /** Used to convert symbols to primitives and strings. */
1681
- var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
1720
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0;
1721
+ var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
1682
1722
  /**
1683
1723
  * Creates a clone of the `symbol` object.
1684
1724
  *
@@ -1690,7 +1730,7 @@
1690
1730
  return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
1691
1731
  }
1692
1732
  //#endregion
1693
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.js
1733
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
1694
1734
  /**
1695
1735
  * Creates a clone of `typedArray`.
1696
1736
  *
@@ -1704,10 +1744,27 @@
1704
1744
  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
1705
1745
  }
1706
1746
  //#endregion
1707
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.js
1747
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
1708
1748
  /** `Object#toString` result references. */
1709
- var boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", symbolTag$1 = "[object Symbol]";
1710
- var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]", float32Tag$1 = "[object Float32Array]", float64Tag$1 = "[object Float64Array]", int8Tag$1 = "[object Int8Array]", int16Tag$1 = "[object Int16Array]", int32Tag$1 = "[object Int32Array]", uint8Tag$1 = "[object Uint8Array]", uint8ClampedTag$1 = "[object Uint8ClampedArray]", uint16Tag$1 = "[object Uint16Array]", uint32Tag$1 = "[object Uint32Array]";
1749
+ var boolTag$1 = "[object Boolean]";
1750
+ var dateTag$1 = "[object Date]";
1751
+ var mapTag$2 = "[object Map]";
1752
+ var numberTag$1 = "[object Number]";
1753
+ var regexpTag$1 = "[object RegExp]";
1754
+ var setTag$2 = "[object Set]";
1755
+ var stringTag$1 = "[object String]";
1756
+ var symbolTag$1 = "[object Symbol]";
1757
+ var arrayBufferTag$1 = "[object ArrayBuffer]";
1758
+ var dataViewTag$1 = "[object DataView]";
1759
+ var float32Tag$1 = "[object Float32Array]";
1760
+ var float64Tag$1 = "[object Float64Array]";
1761
+ var int8Tag$1 = "[object Int8Array]";
1762
+ var int16Tag$1 = "[object Int16Array]";
1763
+ var int32Tag$1 = "[object Int32Array]";
1764
+ var uint8Tag$1 = "[object Uint8Array]";
1765
+ var uint8ClampedTag$1 = "[object Uint8ClampedArray]";
1766
+ var uint16Tag$1 = "[object Uint16Array]";
1767
+ var uint32Tag$1 = "[object Uint32Array]";
1711
1768
  /**
1712
1769
  * Initializes an object clone based on its `toStringTag`.
1713
1770
  *
@@ -1745,7 +1802,7 @@
1745
1802
  }
1746
1803
  }
1747
1804
  //#endregion
1748
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.js
1805
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
1749
1806
  /**
1750
1807
  * Initializes an object clone.
1751
1808
  *
@@ -1757,7 +1814,7 @@
1757
1814
  return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
1758
1815
  }
1759
1816
  //#endregion
1760
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.js
1817
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
1761
1818
  /** `Object#toString` result references. */
1762
1819
  var mapTag$1 = "[object Map]";
1763
1820
  /**
@@ -1771,7 +1828,7 @@
1771
1828
  return isObjectLike(value) && _getTag_default(value) == mapTag$1;
1772
1829
  }
1773
1830
  //#endregion
1774
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.js
1831
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
1775
1832
  var nodeIsMap = nodeUtil && nodeUtil.isMap;
1776
1833
  /**
1777
1834
  * Checks if `value` is classified as a `Map` object.
@@ -1792,7 +1849,7 @@
1792
1849
  */
1793
1850
  var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
1794
1851
  //#endregion
1795
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.js
1852
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js
1796
1853
  /** `Object#toString` result references. */
1797
1854
  var setTag$1 = "[object Set]";
1798
1855
  /**
@@ -1806,7 +1863,7 @@
1806
1863
  return isObjectLike(value) && _getTag_default(value) == setTag$1;
1807
1864
  }
1808
1865
  //#endregion
1809
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.js
1866
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
1810
1867
  var nodeIsSet = nodeUtil && nodeUtil.isSet;
1811
1868
  /**
1812
1869
  * Checks if `value` is classified as a `Set` object.
@@ -1827,12 +1884,38 @@
1827
1884
  */
1828
1885
  var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
1829
1886
  //#endregion
1830
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.js
1887
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
1831
1888
  /** Used to compose bitmasks for cloning. */
1832
- var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
1889
+ var CLONE_DEEP_FLAG$1 = 1;
1890
+ var CLONE_FLAT_FLAG = 2;
1891
+ var CLONE_SYMBOLS_FLAG$1 = 4;
1833
1892
  /** `Object#toString` result references. */
1834
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
1835
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
1893
+ var argsTag = "[object Arguments]";
1894
+ var arrayTag = "[object Array]";
1895
+ var boolTag = "[object Boolean]";
1896
+ var dateTag = "[object Date]";
1897
+ var errorTag = "[object Error]";
1898
+ var funcTag = "[object Function]";
1899
+ var genTag = "[object GeneratorFunction]";
1900
+ var mapTag = "[object Map]";
1901
+ var numberTag = "[object Number]";
1902
+ var objectTag = "[object Object]";
1903
+ var regexpTag = "[object RegExp]";
1904
+ var setTag = "[object Set]";
1905
+ var stringTag = "[object String]";
1906
+ var symbolTag = "[object Symbol]";
1907
+ var weakMapTag = "[object WeakMap]";
1908
+ var arrayBufferTag = "[object ArrayBuffer]";
1909
+ var dataViewTag = "[object DataView]";
1910
+ var float32Tag = "[object Float32Array]";
1911
+ var float64Tag = "[object Float64Array]";
1912
+ var int8Tag = "[object Int8Array]";
1913
+ var int16Tag = "[object Int16Array]";
1914
+ var int32Tag = "[object Int32Array]";
1915
+ var uint8Tag = "[object Uint8Array]";
1916
+ var uint8ClampedTag = "[object Uint8ClampedArray]";
1917
+ var uint16Tag = "[object Uint16Array]";
1918
+ var uint32Tag = "[object Uint32Array]";
1836
1919
  /** Used to identify `toStringTag` values supported by `_.clone`. */
1837
1920
  var cloneableTags = {};
1838
1921
  cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
@@ -1894,9 +1977,10 @@
1894
1977
  return result;
1895
1978
  }
1896
1979
  //#endregion
1897
- //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.js
1980
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
1898
1981
  /** Used to compose bitmasks for cloning. */
1899
- var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
1982
+ var CLONE_DEEP_FLAG = 1;
1983
+ var CLONE_SYMBOLS_FLAG = 4;
1900
1984
  /**
1901
1985
  * This method is like `_.clone` except that it recursively clones `value`.
1902
1986
  *
@@ -1919,8 +2003,117 @@
1919
2003
  return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
1920
2004
  }
1921
2005
  //#endregion
2006
+ //#region packages/table/src/actionHelpers.ts
2007
+ var display = (fuc, row) => {
2008
+ if (typeof fuc === "function") return fuc(row);
2009
+ if (typeof fuc === "boolean") return fuc;
2010
+ return true;
2011
+ };
2012
+ var disabled = (fuc, row) => {
2013
+ if (typeof fuc === "function") return fuc(row);
2014
+ if (typeof fuc === "boolean") return fuc;
2015
+ return false;
2016
+ };
2017
+ var formatActionText = (fuc, row) => {
2018
+ if (typeof fuc === "function") return fuc(row);
2019
+ return fuc;
2020
+ };
2021
+ //#endregion
2022
+ //#region packages/table/src/ActionButton.vue
2023
+ var ActionButton_default = (0, vue.defineComponent)({
2024
+ name: "MTableActionButton",
2025
+ props: {
2026
+ action: {
2027
+ type: Object,
2028
+ required: true
2029
+ },
2030
+ row: {
2031
+ type: null,
2032
+ required: true
2033
+ },
2034
+ index: {
2035
+ type: Number,
2036
+ required: true
2037
+ },
2038
+ btnClass: {
2039
+ type: String,
2040
+ default: "action-btn"
2041
+ },
2042
+ visible: {
2043
+ type: Boolean,
2044
+ default: true
2045
+ }
2046
+ },
2047
+ emits: ["click"],
2048
+ setup(props, { emit }) {
2049
+ const onClick = () => emit("click", props.action, props.row, props.index);
2050
+ return () => {
2051
+ const button = (0, vue.withDirectives)((0, vue.h)(_tmagic_design.TMagicButton, {
2052
+ class: props.btnClass,
2053
+ link: true,
2054
+ size: "small",
2055
+ type: props.action.buttonType || "primary",
2056
+ icon: props.action.icon,
2057
+ disabled: disabled(props.action.disabled, props.row),
2058
+ onClick
2059
+ }, () => (0, vue.h)("span", { innerHTML: formatActionText(props.action.text, props.row) })), [[vue.vShow, props.visible]]);
2060
+ if (!props.action.tooltip) return button;
2061
+ return (0, vue.h)(_tmagic_design.TMagicTooltip, {
2062
+ placement: props.action.tooltipPlacement || "top",
2063
+ content: props.action.tooltip
2064
+ }, () => button);
2065
+ };
2066
+ }
2067
+ });
2068
+ //#endregion
2069
+ //#region packages/table/src/ActionPopconfirm.vue
2070
+ var ActionPopconfirm_default = /* @__PURE__ */ (0, vue.defineComponent)({
2071
+ name: "MTableActionPopconfirm",
2072
+ __name: "ActionPopconfirm",
2073
+ props: {
2074
+ action: {},
2075
+ row: {},
2076
+ index: {},
2077
+ btnClass: { default: "action-btn" },
2078
+ visible: {
2079
+ type: Boolean,
2080
+ default: true
2081
+ }
2082
+ },
2083
+ emits: ["confirm"],
2084
+ setup(__props, { emit: __emit }) {
2085
+ const props = __props;
2086
+ const emit = __emit;
2087
+ const onConfirm = () => emit("confirm", props.action, props.row, props.index);
2088
+ return (_ctx, _cache) => {
2089
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicPopconfirm), {
2090
+ placement: "top",
2091
+ width: __props.action.popconfirmWidth,
2092
+ title: (0, vue.unref)(formatActionText)(__props.action.confirmText, __props.row) || "确定执行此操作?",
2093
+ onConfirm
2094
+ }, {
2095
+ reference: (0, vue.withCtx)(() => [(0, vue.createVNode)(ActionButton_default, {
2096
+ action: __props.action,
2097
+ row: __props.row,
2098
+ index: __props.index,
2099
+ "btn-class": __props.btnClass,
2100
+ visible: __props.visible
2101
+ }, null, 8, [
2102
+ "action",
2103
+ "row",
2104
+ "index",
2105
+ "btn-class",
2106
+ "visible"
2107
+ ])]),
2108
+ _: 1
2109
+ }, 8, ["width", "title"]);
2110
+ };
2111
+ }
2112
+ });
2113
+ //#endregion
1922
2114
  //#region packages/table/src/ActionsColumn.vue?vue&type=script&setup=true&lang.ts
1923
- var _hoisted_1$2 = ["innerHTML"];
2115
+ var _hoisted_1$2 = { class: "tmagic-table-sub-actions" };
2116
+ var activePopoverId = (0, vue.ref)(null);
1924
2117
  //#endregion
1925
2118
  //#region packages/table/src/ActionsColumn.vue
1926
2119
  var ActionsColumn_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -1935,28 +2128,27 @@
1935
2128
  index: {}
1936
2129
  },
1937
2130
  emits: ["after-action", "after-action-cancel"],
1938
- setup(__props, { emit: __emit }) {
2131
+ setup(__props, { expose: __expose, emit: __emit }) {
1939
2132
  const props = __props;
1940
- const emit = __emit;
1941
- const display = (fuc, row) => {
1942
- if (typeof fuc === "function") return fuc(row);
1943
- if (typeof fuc === "boolean") return fuc;
1944
- return true;
1945
- };
1946
- const disabled = (fuc, row) => {
1947
- if (typeof fuc === "function") return fuc(row);
1948
- if (typeof fuc === "boolean") return fuc;
1949
- return false;
1950
- };
1951
- const formatter = (fuc, row) => {
1952
- if (typeof fuc === "function") return fuc(row);
1953
- return fuc;
2133
+ const popoverId = Symbol("sub-actions-popover");
2134
+ const popoverVisible = (0, vue.ref)(false);
2135
+ (0, vue.watch)(popoverVisible, (visible) => {
2136
+ if (visible) activePopoverId.value = popoverId;
2137
+ else if (activePopoverId.value === popoverId) activePopoverId.value = null;
2138
+ });
2139
+ (0, vue.watch)(activePopoverId, (id) => {
2140
+ if (id !== popoverId && popoverVisible.value) popoverVisible.value = false;
2141
+ });
2142
+ const togglePopover = () => {
2143
+ popoverVisible.value = !popoverVisible.value;
1954
2144
  };
2145
+ const emit = __emit;
1955
2146
  const actionHandler = async (action, row, index) => {
1956
2147
  await action.before?.(row, index);
1957
2148
  if (action.type === "edit") props.editState[index] = cloneDeep(row);
1958
2149
  else await action.handler?.(row, index);
1959
- action.after?.(row, index);
2150
+ await action.after?.(row, index);
2151
+ popoverVisible.value = false;
1960
2152
  };
1961
2153
  const save = async (index, config) => {
1962
2154
  const action = config.actions?.find((item) => item.type === "edit")?.action;
@@ -1965,12 +2157,13 @@
1965
2157
  data: props.editState[index],
1966
2158
  index
1967
2159
  });
1968
- if (res) if (res.ret === 0) {
1969
- _tmagic_design.tMagicMessage.success("保存成功");
1970
- props.editState[index] = void 0;
1971
- emit("after-action", { index });
1972
- } else _tmagic_design.tMagicMessage.error(res.msg || "保存失败");
1973
- else {
2160
+ if (res) {
2161
+ if (res.ret === 0) {
2162
+ _tmagic_design.tMagicMessage.success("保存成功");
2163
+ props.editState[index] = void 0;
2164
+ emit("after-action", { index });
2165
+ } else _tmagic_design.tMagicMessage.error(res.msg || "保存失败");
2166
+ } else {
1974
2167
  props.editState[index] = void 0;
1975
2168
  emit("after-action", { index });
1976
2169
  }
@@ -1981,47 +2174,103 @@
1981
2174
  if (cancel) await cancel({ index });
1982
2175
  emit("after-action-cancel", { index });
1983
2176
  };
2177
+ __expose({
2178
+ actionHandler,
2179
+ save,
2180
+ cancel
2181
+ });
1984
2182
  return (_ctx, _cache) => {
1985
2183
  return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [
1986
2184
  ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(__props.config.actions, (action, actionIndex) => {
1987
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicTooltip), {
1988
- placement: action.tooltipPlacement || "top",
1989
- key: actionIndex,
1990
- disabled: !Boolean(action.tooltip),
1991
- content: action.tooltip
2185
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: actionIndex }, [action.popconfirm ? ((0, vue.openBlock)(), (0, vue.createBlock)(ActionPopconfirm_default, {
2186
+ key: 0,
2187
+ action,
2188
+ row: __props.row,
2189
+ index: __props.index,
2190
+ visible: (0, vue.unref)(display)(action.display, __props.row) && !__props.editState[__props.index],
2191
+ onConfirm: actionHandler
2192
+ }, null, 8, [
2193
+ "action",
2194
+ "row",
2195
+ "index",
2196
+ "visible"
2197
+ ])) : action.type === "sub-actions" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicPopover), {
2198
+ key: 1,
2199
+ visible: popoverVisible.value,
2200
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => popoverVisible.value = $event),
2201
+ trigger: "click",
2202
+ placement: action.subActionConfig?.placement || "bottom",
2203
+ width: action.subActionConfig?.popoverWidth,
2204
+ "popper-class": action.subActionConfig?.popoverClass,
2205
+ "destroy-on-close": action.subActionConfig?.popoverDestroyOnClose ?? true,
2206
+ onClickoutside: _cache[1] || (_cache[1] = ($event) => popoverVisible.value = false)
1992
2207
  }, {
1993
- default: (0, vue.withCtx)(() => [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicButton), {
2208
+ reference: (0, vue.withCtx)(() => [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicButton), {
1994
2209
  class: "action-btn",
1995
2210
  link: "",
1996
2211
  size: "small",
1997
2212
  type: action.buttonType || "primary",
1998
- icon: action.icon,
1999
- disabled: disabled(action.disabled, __props.row),
2000
- onClick: ($event) => actionHandler(action, __props.row, __props.index)
2001
- }, {
2002
- default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("span", { innerHTML: formatter(action.text, __props.row) }, null, 8, _hoisted_1$2)]),
2003
- _: 2
2004
- }, 1032, [
2005
- "type",
2006
- "icon",
2007
- "disabled",
2008
- "onClick"
2009
- ]), [[vue.vShow, display(action.display, __props.row) && !__props.editState[__props.index]]])]),
2213
+ icon: popoverVisible.value ? (0, vue.unref)(_element_plus_icons_vue.ArrowDown) : (0, vue.unref)(_element_plus_icons_vue.ArrowRight),
2214
+ onClick: (0, vue.withModifiers)(togglePopover, ["stop"])
2215
+ }, null, 8, ["type", "icon"]), [[vue.vShow, action.subActionConfig?.items?.length && (0, vue.unref)(display)(action.display, __props.row) && !__props.editState[__props.index]]])]),
2216
+ default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$2, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(action.subActionConfig?.items, (subAction, subIndex) => {
2217
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: subIndex }, [subAction.popconfirm ? ((0, vue.openBlock)(), (0, vue.createBlock)(ActionPopconfirm_default, {
2218
+ key: 0,
2219
+ action: subAction,
2220
+ row: __props.row,
2221
+ index: __props.index,
2222
+ "btn-class": "sub-action-btn",
2223
+ visible: (0, vue.unref)(display)(subAction.display, __props.row),
2224
+ onConfirm: actionHandler
2225
+ }, null, 8, [
2226
+ "action",
2227
+ "row",
2228
+ "index",
2229
+ "visible"
2230
+ ])) : ((0, vue.openBlock)(), (0, vue.createBlock)(ActionButton_default, {
2231
+ key: 1,
2232
+ action: subAction,
2233
+ row: __props.row,
2234
+ index: __props.index,
2235
+ "btn-class": "sub-action-btn",
2236
+ visible: (0, vue.unref)(display)(subAction.display, __props.row),
2237
+ onClick: actionHandler
2238
+ }, null, 8, [
2239
+ "action",
2240
+ "row",
2241
+ "index",
2242
+ "visible"
2243
+ ]))], 64);
2244
+ }), 128))])]),
2010
2245
  _: 2
2011
2246
  }, 1032, [
2247
+ "visible",
2012
2248
  "placement",
2013
- "disabled",
2014
- "content"
2015
- ]);
2249
+ "width",
2250
+ "popper-class",
2251
+ "destroy-on-close"
2252
+ ])) : ((0, vue.openBlock)(), (0, vue.createBlock)(ActionButton_default, {
2253
+ key: 2,
2254
+ action,
2255
+ row: __props.row,
2256
+ index: __props.index,
2257
+ visible: (0, vue.unref)(display)(action.display, __props.row) && !__props.editState[__props.index],
2258
+ onClick: actionHandler
2259
+ }, null, 8, [
2260
+ "action",
2261
+ "row",
2262
+ "index",
2263
+ "visible"
2264
+ ]))], 64);
2016
2265
  }), 128)),
2017
2266
  (0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicButton), {
2018
2267
  class: "action-btn",
2019
2268
  link: "",
2020
2269
  type: "primary",
2021
2270
  size: "small",
2022
- onClick: _cache[0] || (_cache[0] = ($event) => save(__props.index, __props.config))
2271
+ onClick: _cache[2] || (_cache[2] = ($event) => save(__props.index, __props.config))
2023
2272
  }, {
2024
- default: (0, vue.withCtx)(() => [..._cache[2] || (_cache[2] = [(0, vue.createTextVNode)("保存", -1)])]),
2273
+ default: (0, vue.withCtx)(() => [..._cache[4] || (_cache[4] = [(0, vue.createTextVNode)("保存", -1)])]),
2025
2274
  _: 1
2026
2275
  }, 512), [[vue.vShow, __props.editState[__props.index]]]),
2027
2276
  (0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicButton), {
@@ -2029,9 +2278,9 @@
2029
2278
  link: "",
2030
2279
  type: "danger",
2031
2280
  size: "small",
2032
- onClick: _cache[1] || (_cache[1] = ($event) => cancel(__props.index, __props.config))
2281
+ onClick: _cache[3] || (_cache[3] = ($event) => cancel(__props.index, __props.config))
2033
2282
  }, {
2034
- default: (0, vue.withCtx)(() => [..._cache[3] || (_cache[3] = [(0, vue.createTextVNode)("取消", -1)])]),
2283
+ default: (0, vue.withCtx)(() => [..._cache[5] || (_cache[5] = [(0, vue.createTextVNode)("取消", -1)])]),
2035
2284
  _: 1
2036
2285
  }, 512), [[vue.vShow, __props.editState[__props.index]]])
2037
2286
  ], 64);
@@ -2039,6 +2288,16 @@
2039
2288
  }
2040
2289
  });
2041
2290
  //#endregion
2291
+ //#region packages/table/src/componentHelpers.ts
2292
+ var resolveComponentProps = (config, row, index) => {
2293
+ if (typeof config.props === "function") return config.props(row, index) || {};
2294
+ return config.props || {};
2295
+ };
2296
+ var resolveComponentListeners = (config, row, index) => {
2297
+ if (typeof config.listeners === "function") return config.listeners(row, index) || {};
2298
+ return config.listeners || {};
2299
+ };
2300
+ //#endregion
2042
2301
  //#region packages/table/src/ComponentColumn.vue
2043
2302
  var ComponentColumn_default = /* @__PURE__ */ (0, vue.defineComponent)({
2044
2303
  name: "MTableColumn",
@@ -2049,17 +2308,8 @@
2049
2308
  index: {}
2050
2309
  },
2051
2310
  setup(__props) {
2052
- const props = __props;
2053
- const componentProps = (row, index) => {
2054
- if (typeof props.config.props === "function") return props.config.props(row, index) || {};
2055
- return props.config.props || {};
2056
- };
2057
- const componentListeners = (row, index) => {
2058
- if (typeof props.config.listeners === "function") return props.config.listeners(row, index) || {};
2059
- return props.config.listeners || {};
2060
- };
2061
2311
  return (_ctx, _cache) => {
2062
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.config.component), (0, vue.mergeProps)(componentProps(__props.row, __props.index), (0, vue.toHandlers)(componentListeners(__props.row, __props.index))), null, 16);
2312
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.config.component), (0, vue.mergeProps)((0, vue.unref)(resolveComponentProps)(__props.config, __props.row, __props.index), (0, vue.toHandlers)((0, vue.unref)(resolveComponentListeners)(__props.config, __props.row, __props.index))), null, 16);
2063
2313
  };
2064
2314
  }
2065
2315
  });
@@ -2165,6 +2415,13 @@
2165
2415
  }
2166
2416
  });
2167
2417
  //#endregion
2418
+ //#region packages/table/src/formHelpers.ts
2419
+ var applyInlineEditChange = (target, eventData) => {
2420
+ if (eventData.changeRecords?.length) {
2421
+ for (const record of eventData.changeRecords) if (record.propPath) (0, _tmagic_utils.setValueByKeyPath)(record.propPath, record.value, target);
2422
+ }
2423
+ };
2424
+ //#endregion
2168
2425
  //#region packages/table/src/TextColumn.vue?vue&type=script&setup=true&lang.ts
2169
2426
  var _hoisted_1 = { key: 0 };
2170
2427
  var _hoisted_2 = ["innerHTML"];
@@ -2186,9 +2443,7 @@
2186
2443
  setup(__props) {
2187
2444
  const props = __props;
2188
2445
  const formChangeHandler = (v, eventData) => {
2189
- if (eventData.changeRecords?.length) {
2190
- for (const record of eventData.changeRecords) if (record.propPath) (0, _tmagic_utils.setValueByKeyPath)(record.propPath, record.value, props.editState[props.index]);
2191
- }
2446
+ applyInlineEditChange(props.editState[props.index], eventData);
2192
2447
  };
2193
2448
  return (_ctx, _cache) => {
2194
2449
  return __props.config.type === "index" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1, (0, vue.toDisplayString)(__props.config.pageIndex && __props.config.pageSize ? __props.config.pageIndex * __props.config.pageSize + __props.index + 1 : __props.index + 1), 1)) : (__props.config.type || __props.config.editInlineFormConfig) && __props.editState[__props.index] ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_form.MForm), {