vue-2024-ui 0.2.20 → 0.2.21

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.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import Qt, { ElForm as pt, ElButtonGroup as mt, ElButton as Oe, ElPopover as wt, ElMessage as Ge, ElMessageBox as At, ElDialog as Zt, ElDrawer as Jt } from "element-plus";
2
- import { h as Ee, mergeModels as Xe, useModel as Qe, ref as oe, nextTick as at, onMounted as nt, computed as Ke, resolveComponent as H, openBlock as p, createElementBlock as R, Fragment as J, createElementVNode as Z, createBlock as B, createCommentVNode as ge, unref as N, mergeProps as I, withCtx as C, renderSlot as D, renderList as W, createTextVNode as Ye, toDisplayString as Ce, createSlots as he, createVNode as te, normalizeStyle as qe, normalizeProps as _t, useSlots as Bt, inject as Tt, useAttrs as Ft, onUnmounted as Kt, withModifiers as yt, resolveDynamicComponent as We, guardReactiveProps as el, Transition as tl, withDirectives as ll, vShow as al, onBeforeUnmount as rl, normalizeClass as Ot, watchEffect as ol, onBeforeMount as nl, watch as ul, createApp as sl } from "vue";
2
+ import { h as Ee, mergeModels as Xe, useModel as Qe, ref as re, nextTick as at, onMounted as nt, computed as Ke, resolveComponent as H, openBlock as p, createElementBlock as R, Fragment as J, createElementVNode as Z, createBlock as B, createCommentVNode as ye, unref as N, mergeProps as I, withCtx as C, renderSlot as D, renderList as W, createTextVNode as Ue, toDisplayString as Ce, createSlots as he, createVNode as te, normalizeStyle as qe, normalizeProps as _t, useSlots as Bt, inject as Tt, useAttrs as Ft, onUnmounted as Kt, withModifiers as yt, resolveDynamicComponent as We, guardReactiveProps as el, Transition as tl, withDirectives as ll, vShow as al, onBeforeUnmount as rl, normalizeClass as Ot, watchEffect as ol, onBeforeMount as nl, watch as ul, createApp as sl } from "vue";
3
3
  import { CircleCheck as It, CircleCheckFilled as il, Refresh as Ut, Plus as dl, ZoomIn as cl, Delete as Yt, More as fl, Search as vl, Download as Rt, DocumentCopy as pl, View as ml, Edit as hl, CirclePlus as yl, Setting as gl, FullScreen as bl, CopyDocument as $l } from "@element-plus/icons-vue";
4
4
  import Lt from "sortablejs";
5
5
  import { Dexie as wl } from "dexie";
@@ -189,7 +189,7 @@ var zt = { exports: {} };
189
189
  (function(a, t) {
190
190
  n.exports = t();
191
191
  })(_l, function() {
192
- var a = 1e3, t = 6e4, r = 36e5, e = "millisecond", h = "second", c = "minute", M = "hour", f = "day", v = "week", u = "month", d = "quarter", w = "year", L = "date", j = "Invalid Date", U = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, ue = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
192
+ var a = 1e3, t = 6e4, r = 36e5, e = "millisecond", h = "second", c = "minute", S = "hour", f = "day", v = "week", u = "month", d = "quarter", E = "year", L = "date", j = "Invalid Date", U = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, ue = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
193
193
  var b = ["th", "st", "nd", "rd"], i = _ % 100;
194
194
  return "[" + _ + (b[(i - 20) % 10] || b[i] || b[0]) + "]";
195
195
  } }, ne = function(_, b, i) {
@@ -205,16 +205,16 @@ var zt = { exports: {} };
205
205
  }, a: function(_) {
206
206
  return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
207
207
  }, p: function(_) {
208
- return { M: u, y: w, w: v, d: f, D: L, h: M, m: c, s: h, ms: e, Q: d }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
208
+ return { M: u, y: E, w: v, d: f, D: L, h: S, m: c, s: h, ms: e, Q: d }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
209
209
  }, u: function(_) {
210
210
  return _ === void 0;
211
- } }, ce = "en", se = {};
212
- se[ce] = ue;
213
- var ye = "$isDayjsObject", Fe = function(_) {
214
- return _ instanceof Ue || !(!_ || !_[ye]);
211
+ } }, fe = "en", se = {};
212
+ se[fe] = ue;
213
+ var ge = "$isDayjsObject", Fe = function(_) {
214
+ return _ instanceof Ie || !(!_ || !_[ge]);
215
215
  }, Se = function _(b, i, V) {
216
216
  var k;
217
- if (!b) return ce;
217
+ if (!b) return fe;
218
218
  if (typeof b == "string") {
219
219
  var A = b.toLowerCase();
220
220
  se[A] && (k = A), i && (se[A] = i, k = A);
@@ -224,18 +224,18 @@ var zt = { exports: {} };
224
224
  var X = b.name;
225
225
  se[X] = b, k = X;
226
226
  }
227
- return !V && k && (ce = k), k || !V && ce;
227
+ return !V && k && (fe = k), k || !V && fe;
228
228
  }, G = function(_, b) {
229
229
  if (Fe(_)) return _.clone();
230
230
  var i = typeof b == "object" ? b : {};
231
- return i.date = _, i.args = arguments, new Ue(i);
231
+ return i.date = _, i.args = arguments, new Ie(i);
232
232
  }, le = _e;
233
233
  le.l = Se, le.i = Fe, le.w = function(_, b) {
234
234
  return G(_, { locale: b.$L, utc: b.$u, x: b.$x, $offset: b.$offset });
235
235
  };
236
- var Ue = function() {
236
+ var Ie = function() {
237
237
  function _(i) {
238
- this.$L = Se(i.locale, null, !0), this.parse(i), this.$x = this.$x || i.x || {}, this[ye] = !0;
238
+ this.$L = Se(i.locale, null, !0), this.parse(i), this.$x = this.$x || i.x || {}, this[ge] = !0;
239
239
  }
240
240
  var b = _.prototype;
241
241
  return b.parse = function(i) {
@@ -279,32 +279,32 @@ var zt = { exports: {} };
279
279
  return A ? we : we.endOf(f);
280
280
  }, ae = function(be, $e) {
281
281
  return le.w(k.toDate()[be].apply(k.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($e)), k);
282
- }, ee = this.$W, E = this.$M, g = this.$D, fe = "set" + (this.$u ? "UTC" : "");
282
+ }, ee = this.$W, w = this.$M, g = this.$D, ie = "set" + (this.$u ? "UTC" : "");
283
283
  switch (F) {
284
- case w:
284
+ case E:
285
285
  return A ? X(1, 0) : X(31, 11);
286
286
  case u:
287
- return A ? X(1, E) : X(0, E + 1);
287
+ return A ? X(1, w) : X(0, w + 1);
288
288
  case v:
289
- var ie = this.$locale().weekStart || 0, me = (ee < ie ? ee + 7 : ee) - ie;
290
- return X(A ? g - me : g + (6 - me), E);
289
+ var de = this.$locale().weekStart || 0, me = (ee < de ? ee + 7 : ee) - de;
290
+ return X(A ? g - me : g + (6 - me), w);
291
291
  case f:
292
292
  case L:
293
- return ae(fe + "Hours", 0);
294
- case M:
295
- return ae(fe + "Minutes", 1);
293
+ return ae(ie + "Hours", 0);
294
+ case S:
295
+ return ae(ie + "Minutes", 1);
296
296
  case c:
297
- return ae(fe + "Seconds", 2);
297
+ return ae(ie + "Seconds", 2);
298
298
  case h:
299
- return ae(fe + "Milliseconds", 3);
299
+ return ae(ie + "Milliseconds", 3);
300
300
  default:
301
301
  return this.clone();
302
302
  }
303
303
  }, b.endOf = function(i) {
304
304
  return this.startOf(i, !1);
305
305
  }, b.$set = function(i, V) {
306
- var k, A = le.p(i), F = "set" + (this.$u ? "UTC" : ""), X = (k = {}, k[f] = F + "Date", k[L] = F + "Date", k[u] = F + "Month", k[w] = F + "FullYear", k[M] = F + "Hours", k[c] = F + "Minutes", k[h] = F + "Seconds", k[e] = F + "Milliseconds", k)[A], ae = A === f ? this.$D + (V - this.$W) : V;
307
- if (A === u || A === w) {
306
+ var k, A = le.p(i), F = "set" + (this.$u ? "UTC" : ""), X = (k = {}, k[f] = F + "Date", k[L] = F + "Date", k[u] = F + "Month", k[E] = F + "FullYear", k[S] = F + "Hours", k[c] = F + "Minutes", k[h] = F + "Seconds", k[e] = F + "Milliseconds", k)[A], ae = A === f ? this.$D + (V - this.$W) : V;
307
+ if (A === u || A === E) {
308
308
  var ee = this.clone().set(L, 1);
309
309
  ee.$d[X](ae), ee.init(), this.$d = ee.set(L, Math.min(this.$D, ee.daysInMonth())).$d;
310
310
  } else X && this.$d[X](ae);
@@ -316,26 +316,26 @@ var zt = { exports: {} };
316
316
  }, b.add = function(i, V) {
317
317
  var k, A = this;
318
318
  i = Number(i);
319
- var F = le.p(V), X = function(E) {
319
+ var F = le.p(V), X = function(w) {
320
320
  var g = G(A);
321
- return le.w(g.date(g.date() + Math.round(E * i)), A);
321
+ return le.w(g.date(g.date() + Math.round(w * i)), A);
322
322
  };
323
323
  if (F === u) return this.set(u, this.$M + i);
324
- if (F === w) return this.set(w, this.$y + i);
324
+ if (F === E) return this.set(E, this.$y + i);
325
325
  if (F === f) return X(1);
326
326
  if (F === v) return X(7);
327
- var ae = (k = {}, k[c] = t, k[M] = r, k[h] = a, k)[F] || 1, ee = this.$d.getTime() + i * ae;
327
+ var ae = (k = {}, k[c] = t, k[S] = r, k[h] = a, k)[F] || 1, ee = this.$d.getTime() + i * ae;
328
328
  return le.w(ee, this);
329
329
  }, b.subtract = function(i, V) {
330
330
  return this.add(-1 * i, V);
331
331
  }, b.format = function(i) {
332
332
  var V = this, k = this.$locale();
333
333
  if (!this.isValid()) return k.invalidDate || j;
334
- var A = i || "YYYY-MM-DDTHH:mm:ssZ", F = le.z(this), X = this.$H, ae = this.$m, ee = this.$M, E = k.weekdays, g = k.months, fe = k.meridiem, ie = function($e, we, xe, Te) {
334
+ var A = i || "YYYY-MM-DDTHH:mm:ssZ", F = le.z(this), X = this.$H, ae = this.$m, ee = this.$M, w = k.weekdays, g = k.months, ie = k.meridiem, de = function($e, we, xe, Te) {
335
335
  return $e && ($e[we] || $e(V, A)) || xe[we].slice(0, Te);
336
336
  }, me = function($e) {
337
337
  return le.s(X % 12 || 12, $e, "0");
338
- }, be = fe || function($e, we, xe) {
338
+ }, be = ie || function($e, we, xe) {
339
339
  var Te = $e < 12 ? "AM" : "PM";
340
340
  return xe ? Te.toLowerCase() : Te;
341
341
  };
@@ -351,9 +351,9 @@ var zt = { exports: {} };
351
351
  case "MM":
352
352
  return le.s(ee + 1, 2, "0");
353
353
  case "MMM":
354
- return ie(k.monthsShort, ee, g, 3);
354
+ return de(k.monthsShort, ee, g, 3);
355
355
  case "MMMM":
356
- return ie(g, ee);
356
+ return de(g, ee);
357
357
  case "D":
358
358
  return V.$D;
359
359
  case "DD":
@@ -361,11 +361,11 @@ var zt = { exports: {} };
361
361
  case "d":
362
362
  return String(V.$W);
363
363
  case "dd":
364
- return ie(k.weekdaysMin, V.$W, E, 2);
364
+ return de(k.weekdaysMin, V.$W, w, 2);
365
365
  case "ddd":
366
- return ie(k.weekdaysShort, V.$W, E, 3);
366
+ return de(k.weekdaysShort, V.$W, w, 3);
367
367
  case "dddd":
368
- return E[V.$W];
368
+ return w[V.$W];
369
369
  case "H":
370
370
  return String(X);
371
371
  case "HH":
@@ -397,11 +397,11 @@ var zt = { exports: {} };
397
397
  }, b.utcOffset = function() {
398
398
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
399
399
  }, b.diff = function(i, V, k) {
400
- var A, F = this, X = le.p(V), ae = G(i), ee = (ae.utcOffset() - this.utcOffset()) * t, E = this - ae, g = function() {
400
+ var A, F = this, X = le.p(V), ae = G(i), ee = (ae.utcOffset() - this.utcOffset()) * t, w = this - ae, g = function() {
401
401
  return le.m(F, ae);
402
402
  };
403
403
  switch (X) {
404
- case w:
404
+ case E:
405
405
  A = g() / 12;
406
406
  break;
407
407
  case u:
@@ -411,22 +411,22 @@ var zt = { exports: {} };
411
411
  A = g() / 3;
412
412
  break;
413
413
  case v:
414
- A = (E - ee) / 6048e5;
414
+ A = (w - ee) / 6048e5;
415
415
  break;
416
416
  case f:
417
- A = (E - ee) / 864e5;
417
+ A = (w - ee) / 864e5;
418
418
  break;
419
- case M:
420
- A = E / r;
419
+ case S:
420
+ A = w / r;
421
421
  break;
422
422
  case c:
423
- A = E / t;
423
+ A = w / t;
424
424
  break;
425
425
  case h:
426
- A = E / a;
426
+ A = w / a;
427
427
  break;
428
428
  default:
429
- A = E;
429
+ A = w;
430
430
  }
431
431
  return k ? A : le.a(A);
432
432
  }, b.daysInMonth = function() {
@@ -448,16 +448,16 @@ var zt = { exports: {} };
448
448
  }, b.toString = function() {
449
449
  return this.$d.toUTCString();
450
450
  }, _;
451
- }(), S = Ue.prototype;
452
- return G.prototype = S, [["$ms", e], ["$s", h], ["$m", c], ["$H", M], ["$W", f], ["$M", u], ["$y", w], ["$D", L]].forEach(function(_) {
453
- S[_[1]] = function(b) {
451
+ }(), M = Ie.prototype;
452
+ return G.prototype = M, [["$ms", e], ["$s", h], ["$m", c], ["$H", S], ["$W", f], ["$M", u], ["$y", E], ["$D", L]].forEach(function(_) {
453
+ M[_[1]] = function(b) {
454
454
  return this.$g(b, _[0], _[1]);
455
455
  };
456
456
  }), G.extend = function(_, b) {
457
- return _.$i || (_(b, Ue, G), _.$i = !0), G;
457
+ return _.$i || (_(b, Ie, G), _.$i = !0), G;
458
458
  }, G.locale = Se, G.isDayjs = Fe, G.unix = function(_) {
459
459
  return G(1e3 * _);
460
- }, G.en = se[ce], G.Ls = se, G.p = {}, G;
460
+ }, G.en = se[fe], G.Ls = se, G.p = {}, G;
461
461
  });
462
462
  })(zt);
463
463
  var kl = zt.exports;
@@ -530,20 +530,20 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
530
530
  }),
531
531
  emits: ["update:modelValue"],
532
532
  setup(n) {
533
- var Ue, S, _, b, i, V, k, A, F, X, ae, ee;
534
- const s = Qe(n, "modelValue"), a = n, t = oe(a.item || {}), r = oe(a.ctrlKey), e = oe(a.ctrlType), h = oe(a.model), c = oe([]), M = oe([]), f = oe(!1), v = oe(!1);
535
- !((Ue = e.value) != null && Ue.startsWith("text")) && !((S = e.value) != null && S.startsWith("link")) && !((_ = e.value) != null && _.startsWith("tag")) && !((b = e.value) != null && b.startsWith("div")) && !((i = e.value) != null && i.startsWith("span")) && !((V = e.value) != null && V.startsWith("avatar")) && ((k = t.value) != null && k.style || (t.value.style = { width: ((F = (A = t.value) == null ? void 0 : A.style) == null ? void 0 : F.width) || "100%" }));
536
- const u = oe({ display: "flex", flex: 1 }), d = a.t === "t" ? "center" : "flex-start", w = ((X = t.value) == null ? void 0 : X.style) || {};
537
- u.value = { ...u.value, justifyContent: d, ...w };
533
+ var Ie, M, _, b, i, V, k, A, F, X, ae, ee;
534
+ const s = Qe(n, "modelValue"), a = n, t = re(a.item || {}), r = re(a.ctrlKey), e = re(a.ctrlType), h = re(a.model), c = re([]), S = re([]), f = re(!1), v = re(!1);
535
+ !((Ie = e.value) != null && Ie.startsWith("text")) && !((M = e.value) != null && M.startsWith("link")) && !((_ = e.value) != null && _.startsWith("tag")) && !((b = e.value) != null && b.startsWith("div")) && !((i = e.value) != null && i.startsWith("span")) && !((V = e.value) != null && V.startsWith("avatar")) && ((k = t.value) != null && k.style || (t.value.style = { width: ((F = (A = t.value) == null ? void 0 : A.style) == null ? void 0 : F.width) || "100%" }));
536
+ const u = re({ display: "flex", flex: 1 }), d = a.t === "t" ? "center" : "flex-start", E = ((X = t.value) == null ? void 0 : X.style) || {};
537
+ u.value = { ...u.value, justifyContent: d, ...E };
538
538
  const L = () => {
539
- const E = Bt(), g = Object.keys(E), fe = `${a.t}-${r.value}-`;
540
- return g.filter((be) => be.startsWith(fe)).map((be) => be.replace(fe, ""));
541
- }, j = oe({
539
+ const w = Bt(), g = Object.keys(w), ie = `${a.t}-${r.value}-`;
540
+ return g.filter((be) => be.startsWith(ie)).map((be) => be.replace(ie, ""));
541
+ }, j = re({
542
542
  multiple: !1,
543
543
  "show-file-list": !1,
544
544
  "file-list": [],
545
545
  showDel: (ae = t.value) != null && ae.showDel ? (ee = t.value) == null ? void 0 : ee.showDel : a.t !== "t"
546
- }), U = oe(t.value.innerHtml), O = (E) => [
546
+ }), U = re(t.value.innerHtml), O = (w) => [
547
547
  "year",
548
548
  "years",
549
549
  "month",
@@ -556,7 +556,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
556
556
  "daterange",
557
557
  "monthrange",
558
558
  "yearrange"
559
- ].includes(E), ue = (E) => ({
559
+ ].includes(w), ue = (w) => ({
560
560
  year: "YYYY",
561
561
  years: "YYYY",
562
562
  month: "YYYY-MM",
@@ -570,54 +570,54 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
570
570
  daterange: "YYYY-MM-DD",
571
571
  monthrange: "YYYY-MM",
572
572
  yearrange: "YYYY"
573
- })[E] || "YYYY-MM-DD", ne = oe({
573
+ })[w] || "YYYY-MM-DD", ne = re({
574
574
  filterable: !0,
575
575
  remote: !!(t.value && t.value["remote-method"]),
576
576
  ...t.value
577
- }), _e = oe((E) => {
578
- t.value["remote-method"](E, (g) => {
577
+ }), _e = re((w) => {
578
+ t.value["remote-method"](w, (g) => {
579
579
  at(() => {
580
- M.value = g;
580
+ S.value = g;
581
581
  });
582
582
  });
583
- }), ce = async (E = "options") => {
583
+ }), fe = async (w = "options") => {
584
584
  var g;
585
585
  try {
586
- const fe = await ((g = t.value) == null ? void 0 : g.getDicts(a.formInfo));
587
- if (typeof fe == "string")
588
- M.value = [{ label: fe, value: s.value }];
586
+ const ie = await ((g = t.value) == null ? void 0 : g.getDicts(a.formInfo));
587
+ if (typeof ie == "string")
588
+ S.value = [{ label: ie, value: s.value }];
589
589
  else {
590
- const ie = fe == null ? void 0 : fe.map((me, be) => ({
590
+ const de = ie == null ? void 0 : ie.map((me, be) => ({
591
591
  ...me,
592
592
  value: me.value ?? me.label ?? be,
593
593
  label: me.label || "未知选项"
594
594
  }));
595
- M.value = ie || [];
595
+ S.value = de || [];
596
596
  }
597
- } catch (fe) {
598
- throw console.error("获取选项失败:", fe), fe;
597
+ } catch (ie) {
598
+ throw console.error("获取选项失败:", ie), ie;
599
599
  }
600
600
  }, se = () => {
601
- var E, g;
602
- t.value.noSearch !== !0 && a.t === "q" && ((g = (E = h.value) == null ? void 0 : E.table) == null || g.load());
603
- }, ye = (E) => {
604
- E.preventDefault(), E.stopPropagation(), s.value = "";
605
- }, Fe = (E) => {
601
+ var w, g;
602
+ t.value.noSearch !== !0 && a.t === "q" && ((g = (w = h.value) == null ? void 0 : w.table) == null || g.load());
603
+ }, ge = (w) => {
604
+ w.preventDefault(), w.stopPropagation(), s.value = "";
605
+ }, Fe = (w) => {
606
606
  f.value = !0;
607
- }, Se = (E) => {
608
- E.preventDefault(), E.stopPropagation(), f.value = !0;
609
- }, G = oe(null);
607
+ }, Se = (w) => {
608
+ w.preventDefault(), w.stopPropagation(), f.value = !0;
609
+ }, G = re(null);
610
610
  nt(async () => {
611
- var fe, ie, me, be, $e;
612
- t.value && t.value["remote-method"] && (ne.value["remote-method"] = _e), (ie = (fe = h.value[r.value]) == null ? void 0 : fe.options) != null && ie.length && (M.value = h.value[r.value].options);
613
- const E = (we, xe = "options", Te = h.value[r.value]) => {
614
- typeof t.value.getDicts == "function" && ce(xe).catch((Le) => {
611
+ var ie, de, me, be, $e;
612
+ t.value && t.value["remote-method"] && (ne.value["remote-method"] = _e), (de = (ie = h.value[r.value]) == null ? void 0 : ie.options) != null && de.length && (S.value = h.value[r.value].options);
613
+ const w = (we, xe = "options", Te = h.value[r.value]) => {
614
+ typeof t.value.getDicts == "function" && fe(xe).catch((Le) => {
615
615
  console.error(`Failed to load ${xe} for ${we}:`, Le);
616
616
  });
617
617
  };
618
- if (["radio", "radio-button", "checkbox-group", "checkbox-group-button", "select", "cascader"].includes(e.value) && E(e.value), e.value === De.TREESELECT && await (async () => {
618
+ if (["radio", "radio-button", "checkbox-group", "checkbox-group-button", "select", "cascader"].includes(e.value) && w(e.value), e.value === De.TREESELECT && await (async () => {
619
619
  try {
620
- typeof t.value.getDicts == "function" ? c.value = await t.value.getDicts(a.formInfo) : c.value = M.value;
620
+ typeof t.value.getDicts == "function" ? c.value = await t.value.getDicts(a.formInfo) : c.value = S.value;
621
621
  } catch (xe) {
622
622
  console.error("Failed to load data for tree-select:", xe);
623
623
  }
@@ -650,20 +650,20 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
650
650
  e.value == "image" && (t.value.width && ((me = G.value) != null && me.$el) && G.value.$el.style.setProperty("--up-width", typeof t.value.width == "number" ? t.value.width + "px" : t.value.width), t.value.height && ((be = G.value) != null && be.$el) && G.value.$el.style.setProperty("--up-height", typeof t.value.height == "number" ? t.value.height + "px" : t.value.height), t.value.fontSize && (($e = G.value) != null && $e.$el) && G.value.$el.style.setProperty("--up-font-size", typeof t.value.fontSize == "number" ? t.value.fontSize + "px" : t.value.fontSize));
651
651
  });
652
652
  const le = Ke(() => {
653
- var E;
654
- return t.value["file-list"] && t.value["file-list"].length ? (E = t.value["file-list"]) == null ? void 0 : E.map((g) => g == null ? void 0 : g.url) : [s.value];
653
+ var w;
654
+ return t.value["file-list"] && t.value["file-list"].length ? (w = t.value["file-list"]) == null ? void 0 : w.map((g) => g == null ? void 0 : g.url) : [s.value];
655
655
  });
656
- return (E, g) => {
657
- var rt, ot, z, de, T, Q, re, Pe, Ne, ze;
658
- const fe = H("el-image-viewer"), ie = H("el-radio"), me = H("el-radio-group"), be = H("el-radio-button"), $e = H("el-checkbox"), we = H("el-checkbox-group"), xe = H("el-checkbox-button"), Te = H("g-select-option"), Le = H("el-option"), ut = H("el-select"), st = H("el-tree-select"), it = H("el-time-picker"), dt = H("el-time-select"), ct = H("el-date-picker"), ft = H("el-color-picker"), vt = H("el-rate"), l = H("el-slider"), o = H("el-switch"), m = H("el-transfer"), $ = H("el-cascader"), x = H("el-icon"), Y = H("el-image"), P = H("el-tooltip"), pe = H("el-upload"), ke = H("el-autocomplete"), Ae = H("el-input-number"), Be = H("el-input"), Re = H("el-link"), He = H("el-text"), Je = H("el-avatar"), lt = H("el-tag");
656
+ return (w, g) => {
657
+ var rt, ot, z, ce, T, Q, oe, Pe, Ne, ze;
658
+ const ie = H("el-image-viewer"), de = H("el-radio"), me = H("el-radio-group"), be = H("el-radio-button"), $e = H("el-checkbox"), we = H("el-checkbox-group"), xe = H("el-checkbox-button"), Te = H("g-select-option"), Le = H("el-option"), ut = H("el-select"), st = H("el-tree-select"), it = H("el-time-picker"), dt = H("el-time-select"), ct = H("el-date-picker"), ft = H("el-color-picker"), vt = H("el-rate"), l = H("el-slider"), o = H("el-switch"), m = H("el-transfer"), $ = H("el-cascader"), x = H("el-icon"), Y = H("el-image"), P = H("el-tooltip"), pe = H("el-upload"), ke = H("el-autocomplete"), Ae = H("el-input-number"), Be = H("el-input"), Ye = H("el-link"), He = H("el-text"), Je = H("el-avatar"), lt = H("el-tag");
659
659
  return p(), R(J, null, [
660
660
  Z("div", null, [
661
- f.value ? (p(), B(fe, {
661
+ f.value ? (p(), B(ie, {
662
662
  key: 0,
663
663
  teleported: !0,
664
664
  "url-list": le.value,
665
665
  onClose: g[0] || (g[0] = (y) => f.value = !1)
666
- }, null, 8, ["url-list"])) : ge("", !0)
666
+ }, null, 8, ["url-list"])) : ye("", !0)
667
667
  ]),
668
668
  Z("div", Cl, [
669
669
  e.value == N(De).RADIO ? (p(), B(me, I({
@@ -673,10 +673,10 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
673
673
  disabled: h.value[r.value].disabled
674
674
  }, t.value), {
675
675
  default: C(() => [
676
- D(E.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
677
- (p(!0), R(J, null, W(M.value, (y) => (p(), B(ie, I({ ref_for: !0 }, y), {
676
+ D(w.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
677
+ (p(!0), R(J, null, W(S.value, (y) => (p(), B(de, I({ ref_for: !0 }, y), {
678
678
  default: C(() => [
679
- D(E.$slots, `${a.t}-${r.value}-options`, { option: y }, void 0, !0)
679
+ D(w.$slots, `${a.t}-${r.value}-options`, { option: y }, void 0, !0)
680
680
  ]),
681
681
  _: 2
682
682
  }, 1040))), 256))
@@ -690,10 +690,10 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
690
690
  disabled: h.value[r.value].disabled
691
691
  }, t.value), {
692
692
  default: C(() => [
693
- D(E.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
694
- (p(!0), R(J, null, W(M.value, (y) => (p(), B(be, I({ ref_for: !0 }, y), {
693
+ D(w.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
694
+ (p(!0), R(J, null, W(S.value, (y) => (p(), B(be, I({ ref_for: !0 }, y), {
695
695
  default: C(() => [
696
- D(E.$slots, `${a.t}-${r.value}-options`, { option: y }, void 0, !0)
696
+ D(w.$slots, `${a.t}-${r.value}-options`, { option: y }, void 0, !0)
697
697
  ]),
698
698
  _: 2
699
699
  }, 1040))), 256))
@@ -707,8 +707,8 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
707
707
  disabled: h.value[r.value].disabled
708
708
  }, t.value), {
709
709
  default: C(() => [
710
- D(E.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
711
- g[27] || (g[27] = Ye(Ce(" ")))
710
+ D(w.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
711
+ g[27] || (g[27] = Ue(Ce(" ")))
712
712
  ], !0)
713
713
  ]),
714
714
  _: 3
@@ -719,11 +719,11 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
719
719
  disabled: h.value[r.value].disabled
720
720
  }, t.value), {
721
721
  default: C(() => [
722
- D(E.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
723
- (p(!0), R(J, null, W(M.value, (y) => (p(), B($e, I({ ref_for: !0 }, y), {
722
+ D(w.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
723
+ (p(!0), R(J, null, W(S.value, (y) => (p(), B($e, I({ ref_for: !0 }, y), {
724
724
  default: C(() => [
725
- D(E.$slots, `${a.t}-${r.value}-options`, { option: y }, () => [
726
- Ye(Ce(y.label), 1)
725
+ D(w.$slots, `${a.t}-${r.value}-options`, { option: y }, () => [
726
+ Ue(Ce(y.label), 1)
727
727
  ], !0)
728
728
  ]),
729
729
  _: 2
@@ -738,10 +738,10 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
738
738
  disabled: h.value[r.value].disabled
739
739
  }, t.value), {
740
740
  default: C(() => [
741
- D(E.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
742
- (p(!0), R(J, null, W(M.value, (y) => (p(), B(xe, I({ ref_for: !0 }, y), {
741
+ D(w.$slots, `${a.t}-${r.value}`, { data: t.value }, () => [
742
+ (p(!0), R(J, null, W(S.value, (y) => (p(), B(xe, I({ ref_for: !0 }, y), {
743
743
  default: C(() => [
744
- D(E.$slots, `${a.t}-${r.value}-options`, { option: y }, void 0, !0)
744
+ D(w.$slots, `${a.t}-${r.value}-options`, { option: y }, void 0, !0)
745
745
  ]),
746
746
  _: 2
747
747
  }, 1040))), 256))
@@ -760,11 +760,11 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
760
760
  disabled: h.value[r.value].disabled
761
761
  }, ne.value), he({
762
762
  default: C(() => [
763
- D(E.$slots, `${a.t}-${r.value}`, { options: M.value }, () => [
764
- (p(!0), R(J, null, W(M.value, (y) => (p(), R(J, {
763
+ D(w.$slots, `${a.t}-${r.value}`, { options: S.value }, () => [
764
+ (p(!0), R(J, null, W(S.value, (y) => (p(), R(J, {
765
765
  key: y.value
766
766
  }, [
767
- te(Le, I({ ref_for: !0 }, N(Ie)(y, (K) => K != "children"), {
767
+ te(Le, I({ ref_for: !0 }, N(Re)(y, (K) => K != "children"), {
768
768
  onClick: (K) => {
769
769
  ne.value.change && ne.value.change(y), se();
770
770
  }
@@ -772,7 +772,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
772
772
  default: C(() => {
773
773
  var K;
774
774
  return [
775
- (K = t.value) != null && K.columns ? D(E.$slots, `${a.t}-${r.value}-options`, {
775
+ (K = t.value) != null && K.columns ? D(w.$slots, `${a.t}-${r.value}-options`, {
776
776
  key: 0,
777
777
  option: y
778
778
  }, () => {
@@ -783,10 +783,10 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
783
783
  data: y,
784
784
  t: a.t
785
785
  }, he({ _: 2 }, [
786
- W(E.$slots, (Me, je) => ({
786
+ W(w.$slots, (Me, je) => ({
787
787
  name: je,
788
788
  fn: C((tt) => [
789
- D(E.$slots, je, {
789
+ D(w.$slots, je, {
790
790
  option: y,
791
791
  data: tt,
792
792
  form: n.formInfo
@@ -795,7 +795,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
795
795
  }))
796
796
  ]), 1032, ["columns", "data", "t"])
797
797
  ];
798
- }, !0) : ge("", !0)
798
+ }, !0) : ye("", !0)
799
799
  ];
800
800
  }),
801
801
  _: 2
@@ -804,7 +804,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
804
804
  style: { "margin-left": "20px" },
805
805
  key: K.value,
806
806
  ref_for: !0
807
- }, N(Ie)(K, (q) => q != "children"), {
807
+ }, N(Re)(K, (q) => q != "children"), {
808
808
  onClick: (q) => {
809
809
  ne.value.change && ne.value.change(K), se();
810
810
  }
@@ -812,7 +812,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
812
812
  default: C(() => {
813
813
  var q;
814
814
  return [
815
- (q = t.value) != null && q.columns ? D(E.$slots, `${a.t}-${r.value}-options`, {
815
+ (q = t.value) != null && q.columns ? D(w.$slots, `${a.t}-${r.value}-options`, {
816
816
  key: 0,
817
817
  option: K
818
818
  }, () => {
@@ -823,10 +823,10 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
823
823
  data: K,
824
824
  t: a.t
825
825
  }, he({ _: 2 }, [
826
- W(E.$slots, (je, tt) => ({
826
+ W(w.$slots, (je, tt) => ({
827
827
  name: tt,
828
828
  fn: C(($t) => [
829
- D(E.$slots, tt, {
829
+ D(w.$slots, tt, {
830
830
  option: K,
831
831
  data: $t,
832
832
  form: n.formInfo
@@ -835,11 +835,11 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
835
835
  }))
836
836
  ]), 1032, ["columns", "data", "t"])
837
837
  ];
838
- }, !0) : ge("", !0)
838
+ }, !0) : ye("", !0)
839
839
  ];
840
840
  }),
841
841
  _: 2
842
- }, 1040, ["onClick"]))), 128)) : ge("", !0)
842
+ }, 1040, ["onClick"]))), 128)) : ye("", !0)
843
843
  ], 64))), 128))
844
844
  ], !0)
845
845
  ]),
@@ -855,10 +855,10 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
855
855
  title: !0,
856
856
  t: a.t
857
857
  }, he({ _: 2 }, [
858
- W(E.$slots, (K, q) => ({
858
+ W(w.$slots, (K, q) => ({
859
859
  name: q,
860
860
  fn: C((Me) => [
861
- D(E.$slots, q, { data: Me }, void 0, !0)
861
+ D(w.$slots, q, { data: Me }, void 0, !0)
862
862
  ])
863
863
  }))
864
864
  ]), 1032, ["columns", "t"])
@@ -869,7 +869,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
869
869
  W(L(), (y) => ({
870
870
  name: y,
871
871
  fn: C((K) => [
872
- D(E.$slots, `${a.t}-${r.value}-${y}`, { form: n.formInfo }, void 0, !0)
872
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { form: n.formInfo }, void 0, !0)
873
873
  ])
874
874
  }))
875
875
  ]), 1040, ["modelValue", "placeholder", "disabled"])) : e.value == N(De).TREESELECT ? (p(), B(st, I({
@@ -882,7 +882,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
882
882
  W(L(), (y) => ({
883
883
  name: y,
884
884
  fn: C((K) => [
885
- D(E.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
885
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
886
886
  ])
887
887
  }))
888
888
  ]), 1040, ["modelValue", "placeholder", "disabled", "data"])) : e.value == N(De).TIME ? (p(), B(it, I({
@@ -914,7 +914,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
914
914
  W(L(), (y) => ({
915
915
  name: y,
916
916
  fn: C((K) => [
917
- D(E.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
917
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
918
918
  ])
919
919
  }))
920
920
  ]), 1040, ["modelValue", "type", "placeholder", "value-format", "disabled"])) : e.value == N(De).COLOR ? (p(), B(ft, I({
@@ -941,7 +941,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
941
941
  W(L(), (y) => ({
942
942
  name: y,
943
943
  fn: C((K) => [
944
- D(E.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
944
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
945
945
  ])
946
946
  }))
947
947
  ]), 1040, ["modelValue", "disabled"])) : e.value == N(De).TRANSFER ? (p(), B(m, I({
@@ -952,18 +952,18 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
952
952
  W(L(), (y) => ({
953
953
  name: y,
954
954
  fn: C((K) => [
955
- D(E.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
955
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
956
956
  ])
957
957
  }))
958
958
  ]), 1040, ["modelValue"])) : e.value == N(De).CASCADER ? (p(), B($, I({
959
959
  key: 15,
960
960
  modelValue: s.value,
961
961
  "onUpdate:modelValue": g[17] || (g[17] = (y) => s.value = y)
962
- }, t.value, { options: M.value }), he({ _: 2 }, [
962
+ }, t.value, { options: S.value }), he({ _: 2 }, [
963
963
  W(L(), (y) => ({
964
964
  name: y,
965
965
  fn: C((K) => [
966
- D(E.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
966
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { data: K }, void 0, !0)
967
967
  ])
968
968
  }))
969
969
  ]), 1040, ["modelValue", "options"])) : e.value == N(De).IMAGE ? (p(), B(pe, I({
@@ -993,7 +993,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
993
993
  W(L(), (K, q) => ({
994
994
  name: K,
995
995
  fn: C((Me) => [
996
- D(E.$slots, `${a.t}-${r.value}-${K}`, { data: Me }, void 0, !0)
996
+ D(w.$slots, `${a.t}-${r.value}-${K}`, { data: Me }, void 0, !0)
997
997
  ])
998
998
  }))
999
999
  ]), 1040, ["src"])
@@ -1017,7 +1017,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1017
1017
  })
1018
1018
  ]),
1019
1019
  _: 1
1020
- })) : ge("", !0),
1020
+ })) : ye("", !0),
1021
1021
  j.value.showDel && v.value ? (p(), B(P, {
1022
1022
  key: 1,
1023
1023
  content: "删除",
@@ -1027,11 +1027,11 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1027
1027
  te(N(Yt), {
1028
1028
  style: { width: "1.5em", height: "1.5em" },
1029
1029
  color: "white",
1030
- onClick: ye
1030
+ onClick: ge
1031
1031
  })
1032
1032
  ]),
1033
1033
  _: 1
1034
- })) : ge("", !0)
1034
+ })) : ye("", !0)
1035
1035
  ], 32)
1036
1036
  ])) : (p(), B(x, { key: 0 }, {
1037
1037
  default: C(() => [
@@ -1046,7 +1046,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1046
1046
  W(L(), (y, K) => ({
1047
1047
  name: y,
1048
1048
  fn: C((q) => [
1049
- D(E.$slots, `${a.t}-${r.value}-${y}`, { data: q }, void 0, !0)
1049
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { data: q }, void 0, !0)
1050
1050
  ])
1051
1051
  }))
1052
1052
  ]), 1040, ["file-list"])) : e.value == N(De).AUTOCOMPLETE ? (p(), B(ke, I({
@@ -1059,7 +1059,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1059
1059
  W(L(), (y, K) => ({
1060
1060
  name: y,
1061
1061
  fn: C((q) => [
1062
- D(E.$slots, `${a.t}-${r.value}-${y}`, { data: q }, void 0, !0)
1062
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { data: q }, void 0, !0)
1063
1063
  ])
1064
1064
  }))
1065
1065
  ]), 1040, ["modelValue", "placeholder"])) : e.value == N(De).INPUTNUMBER ? (p(), B(Ae, I({
@@ -1074,7 +1074,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1074
1074
  W(L(), (y, K) => ({
1075
1075
  name: y,
1076
1076
  fn: C((q) => [
1077
- D(E.$slots, `${a.t}-${r.value}-${y}`, { data: q }, void 0, !0)
1077
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { data: q }, void 0, !0)
1078
1078
  ])
1079
1079
  }))
1080
1080
  ]), 1040, ["modelValue", "placeholder", "disabled"])) : e.value == N(De).MONEY ? (p(), R("div", {
@@ -1099,7 +1099,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1099
1099
  W(L(), (y, K) => ({
1100
1100
  name: y,
1101
1101
  fn: C((q) => [
1102
- D(E.$slots, `${a.t}-${r.value}-${y}`, { data: q }, void 0, !0)
1102
+ D(w.$slots, `${a.t}-${r.value}-${y}`, { data: q }, void 0, !0)
1103
1103
  ])
1104
1104
  }))
1105
1105
  ]), 1040, ["modelValue", "placeholder", "maxlength"])
@@ -1107,11 +1107,11 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1107
1107
  key: 20,
1108
1108
  style: qe(u.value)
1109
1109
  }, [
1110
- te(Re, I(t.value, {
1110
+ te(Ye, I(t.value, {
1111
1111
  type: e.value.replace("link-", ""),
1112
1112
  innerHTML: U.value || s.value
1113
1113
  }), null, 16, ["type", "innerHTML"])
1114
- ], 4)) : e.value != "textarea" && ((de = e.value) != null && de.startsWith("text")) ? (p(), R("div", {
1114
+ ], 4)) : e.value != "textarea" && ((ce = e.value) != null && ce.startsWith("text")) ? (p(), R("div", {
1115
1115
  key: 21,
1116
1116
  style: qe(u.value)
1117
1117
  }, [
@@ -1169,8 +1169,8 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1169
1169
  a.t == "q" && h.value.table.load();
1170
1170
  }),
1171
1171
  disabled: h.value[r.value].disabled
1172
- }, { ...N(Ie)(t.value, (y) => !["suffix", "prefix", "append", "prepend"].includes(y)), type: e.value }), he({ _: 2 }, [
1173
- (re = t.value) != null && re.suffix ? {
1172
+ }, { ...N(Re)(t.value, (y) => !["suffix", "prefix", "append", "prepend"].includes(y)), type: e.value }), he({ _: 2 }, [
1173
+ (oe = t.value) != null && oe.suffix ? {
1174
1174
  name: "suffix",
1175
1175
  fn: C(() => {
1176
1176
  var y;
@@ -1221,7 +1221,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1221
1221
  W(L(), (y, K) => ({
1222
1222
  name: y,
1223
1223
  fn: C((q) => [
1224
- D(E.$slots, `${a.t}-${r.value}-${y}`, {
1224
+ D(w.$slots, `${a.t}-${r.value}-${y}`, {
1225
1225
  data: q,
1226
1226
  form: n.formInfo
1227
1227
  }, void 0, !0)
@@ -1243,34 +1243,34 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1243
1243
  }),
1244
1244
  emits: /* @__PURE__ */ Xe(["submit", "reset"], ["update:modelValue"]),
1245
1245
  setup(n, { expose: s, emit: a }) {
1246
- var ye, Fe, Se, G, le, Ue;
1247
- const t = Qe(n, "modelValue"), r = a, e = oe(null), h = Tt("options"), c = oe({}), M = oe(""), f = n;
1246
+ var ge, Fe, Se, G, le, Ie;
1247
+ const t = Qe(n, "modelValue"), r = a, e = re(null), h = Tt("options"), c = re({}), S = re(""), f = n;
1248
1248
  t.value.form = Ve(
1249
1249
  jt,
1250
1250
  h == null ? void 0 : h.form,
1251
- (ye = t.value) == null ? void 0 : ye.form
1251
+ (ge = t.value) == null ? void 0 : ge.form
1252
1252
  ), t.value.form.style = Ve(
1253
1253
  (Se = (Fe = t.value) == null ? void 0 : Fe.form) == null ? void 0 : Se.style,
1254
1254
  { ...(G = Ft()) == null ? void 0 : G.style }
1255
1255
  );
1256
- const v = async (S, _, b) => {
1256
+ const v = async (M, _, b) => {
1257
1257
  let i = 5;
1258
1258
  for (; i > 0; ) {
1259
1259
  if (await at(), e.value) {
1260
1260
  e.value.validate((V, k) => {
1261
- V ? r("submit", S, _, b) : console.error("表单验证不通过!", k);
1261
+ V ? r("submit", M, _, b) : console.error("表单验证不通过!", k);
1262
1262
  });
1263
1263
  return;
1264
1264
  }
1265
1265
  i--, await new Promise((V) => setTimeout(V, 50));
1266
1266
  }
1267
1267
  console.error("表单实例获取失败,请检查组件状态");
1268
- }, u = async (S, _) => {
1268
+ }, u = async (M, _) => {
1269
1269
  let b = 5;
1270
1270
  for (; b > 0; ) {
1271
1271
  if (await at(), e.value)
1272
1272
  try {
1273
- e.value.resetFields(), r("reset", S, _);
1273
+ e.value.resetFields(), r("reset", M, _);
1274
1274
  return;
1275
1275
  } catch (i) {
1276
1276
  console.error("表单重置失败:", i);
@@ -1293,19 +1293,19 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1293
1293
  h == null ? void 0 : h.formItems,
1294
1294
  (le = t == null ? void 0 : t.value) == null ? void 0 : le.formItems
1295
1295
  );
1296
- const w = {
1296
+ const E = {
1297
1297
  span: 12,
1298
1298
  offset: 0
1299
1299
  };
1300
1300
  t.value.form.cols = Ve(
1301
- w,
1302
- (Ue = h == null ? void 0 : h.form) == null ? void 0 : Ue.cols,
1301
+ E,
1302
+ (Ie = h == null ? void 0 : h.form) == null ? void 0 : Ie.cols,
1303
1303
  t.value.form.cols
1304
1304
  );
1305
- const L = (S) => {
1305
+ const L = (M) => {
1306
1306
  let _ = [];
1307
- if (S.rules)
1308
- _ = S.rules;
1307
+ if (M.rules)
1308
+ _ = M.rules;
1309
1309
  else {
1310
1310
  const i = { ...{
1311
1311
  required: void 0,
@@ -1315,7 +1315,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1315
1315
  url: void 0,
1316
1316
  pattern: void 0,
1317
1317
  validate: void 0
1318
- }, ...S };
1318
+ }, ...M };
1319
1319
  i.required && _.push({
1320
1320
  required: !0,
1321
1321
  message: `${i.label}不能为空!`,
@@ -1362,9 +1362,9 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1362
1362
  });
1363
1363
  }
1364
1364
  return _;
1365
- }, j = (S, _ = !1) => {
1365
+ }, j = (M, _ = !1) => {
1366
1366
  var V, k, A, F, X;
1367
- const b = _ ? S : S == null ? void 0 : S.item, i = typeof (b == null ? void 0 : b.editor) == "function" ? b.editor(c.value, (V = t.value.form) == null ? void 0 : V.modalState) : (b == null ? void 0 : b.editor) || {};
1367
+ const b = _ ? M : M == null ? void 0 : M.item, i = typeof (b == null ? void 0 : b.editor) == "function" ? b.editor(c.value, (V = t.value.form) == null ? void 0 : V.modalState) : (b == null ? void 0 : b.editor) || {};
1368
1368
  if (((k = t.value.form) == null ? void 0 : k.modalState) === "edit") {
1369
1369
  const ae = typeof (b == null ? void 0 : b.editor) == "object" ? (A = b.editor) == null ? void 0 : A.ep : typeof (b == null ? void 0 : b.editor) == "function" ? i == null ? void 0 : i.ep : {};
1370
1370
  return { ...i, ...ae };
@@ -1374,10 +1374,10 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1374
1374
  return { ...i, ...ae };
1375
1375
  }
1376
1376
  return i;
1377
- }, U = (S) => {
1377
+ }, U = (M) => {
1378
1378
  var b, i, V, k, A;
1379
- const _ = typeof S.editor == "function" ? S.editor(c.value, (b = t.value.form) == null ? void 0 : b.modalState) : S.editor;
1380
- return ((i = t.value.form) == null ? void 0 : i.modalState) === "edit" ? ((V = _ == null ? void 0 : _.ep) == null ? void 0 : V.type) ?? (_ == null ? void 0 : _.type) ?? S.type : ((k = t.value.form) == null ? void 0 : k.modalState) === "add" ? ((A = _ == null ? void 0 : _.ap) == null ? void 0 : A.type) ?? (_ == null ? void 0 : _.type) ?? S.type : (_ == null ? void 0 : _.type) ?? S.type;
1379
+ const _ = typeof M.editor == "function" ? M.editor(c.value, (b = t.value.form) == null ? void 0 : b.modalState) : M.editor;
1380
+ return ((i = t.value.form) == null ? void 0 : i.modalState) === "edit" ? ((V = _ == null ? void 0 : _.ep) == null ? void 0 : V.type) ?? (_ == null ? void 0 : _.type) ?? M.type : ((k = t.value.form) == null ? void 0 : k.modalState) === "add" ? ((A = _ == null ? void 0 : _.ap) == null ? void 0 : A.type) ?? (_ == null ? void 0 : _.type) ?? M.type : (_ == null ? void 0 : _.type) ?? M.type;
1381
1381
  };
1382
1382
  nt(() => {
1383
1383
  O(), f != null && f.editForm ? c.value = f.editForm : c.value = ne.value;
@@ -1385,49 +1385,50 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1385
1385
  e.value = null;
1386
1386
  });
1387
1387
  const O = () => {
1388
- M.value = Math.random().toString(36).substring(2);
1389
- for (const [S, _] of Object.entries(ue.value))
1390
- t.value[S].formItem = {
1391
- ...t.value[S].formItem,
1388
+ S.value = Math.random().toString(36).substring(2);
1389
+ for (const [M, _] of Object.entries(ue.value))
1390
+ t.value[M].formItem = {
1391
+ ...t.value[M].formItem,
1392
1392
  ..._.formItem
1393
- }, t.value[S].formItem.style = {
1394
- ...t.value[S].formItem.style,
1393
+ }, t.value[M].formItem.style = {
1394
+ ...t.value[M].formItem.style,
1395
1395
  ..._.formItem.style
1396
1396
  };
1397
1397
  }, ue = Ke(
1398
1398
  () => Object.fromEntries(
1399
- Object.entries(t.value).filter((S) => S[1].type != "hidden").filter((S) => S[1].hidden !== !0).filter((S) => S[1].edit !== !1).filter((S) => S[1].editor !== !1).filter((S) => S[1].type !== "control").filter((S) => !["table", "tableColumns", "query", "queryItems", "form", "formItems", "control", "dialog"].includes(S[0])).filter((S) => {
1399
+ Object.entries(t.value).filter((M) => M[1].type != "hidden").filter((M) => M[1].hidden !== !0).filter((M) => M[1].edit !== !1).filter((M) => M[1].editor !== !1).filter((M) => M[1].type !== "control").filter((M) => !["table", "tableColumns", "query", "queryItems", "form", "formItems", "control", "dialog"].includes(M[0])).filter((M) => {
1400
1400
  var b, i, V;
1401
- const _ = typeof S[1].editor == "function" ? S[1].editor(c.value, (b = t.value.form) == null ? void 0 : b.modalState) : S[1].editor;
1401
+ const _ = typeof M[1].editor == "function" ? M[1].editor(c.value, (b = t.value.form) == null ? void 0 : b.modalState) : M[1].editor;
1402
1402
  return t.value.form.modalState === "edit" ? ((i = _ == null ? void 0 : _.ep) == null ? void 0 : i.editor) !== !1 : t.value.form.modalState === "add" ? ((V = _ == null ? void 0 : _.ap) == null ? void 0 : V.editor) !== !1 : !0;
1403
- }).map((S) => [S[0], S[1]])
1403
+ }).map((M) => [M[0], M[1]])
1404
1404
  )
1405
1405
  ), ne = Ke(
1406
1406
  () => Object.fromEntries(
1407
- Object.entries(t.value).filter((S) => S[1].type != "hidden").filter((S) => S[1].type != "control").map((S) => [S[0], S[1].value])
1407
+ Object.entries(t.value).filter((M) => M[1].type != "hidden").filter((M) => M[1].type != "control").map((M) => [M[0], M[1].value])
1408
1408
  )
1409
1409
  ), _e = Ke(() => {
1410
- const S = /* @__PURE__ */ new Map();
1410
+ const M = /* @__PURE__ */ new Map();
1411
1411
  return Object.entries(ue.value).forEach(([_, b]) => {
1412
1412
  if (b.groupName) {
1413
1413
  const i = b.groupName;
1414
- S.has(i) || S.set(i, {
1414
+ M.has(i) || M.set(i, {
1415
1415
  groupName: i,
1416
1416
  items: []
1417
- }), S.get(i).items.push({ key: _, item: b });
1417
+ }), M.get(i).items.push({ key: _, item: b });
1418
1418
  }
1419
- }), S.forEach((_) => {
1419
+ }), M.forEach((_) => {
1420
1420
  _.tabPane = Ve(
1421
1421
  ..._.items.map(({ item: b }) => b.tabPane || {})
1422
1422
  );
1423
- }), Array.from(S.values());
1424
- }), ce = [
1423
+ }), Array.from(M.values());
1424
+ }), fe = re([
1425
1425
  {
1426
1426
  name: "f-submit",
1427
1427
  label: t.value.form.submit.label,
1428
1428
  click: t.value.form.submit.click,
1429
- hidden: t.value.form.submit.hidden,
1430
- info: Ie(t.value.form.submit, (S) => !["click"].includes(S)),
1429
+ hidden: f.flag === "view" ? !0 : t.value.form.submit.hidden,
1430
+ info: t.value.form.submit,
1431
+ // filterObject(model.value.form.submit, (k) => !["click"].includes(k)),
1431
1432
  sort: t.value.form.submit.sort ?? 1,
1432
1433
  // 使用空值合并运算符
1433
1434
  originalOrder: -1,
@@ -1439,7 +1440,8 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1439
1440
  label: t.value.form.saveSubmit.label,
1440
1441
  click: t.value.form.saveSubmit.click,
1441
1442
  hidden: !(f.flag == "add" && t.value.form.saveSubmit.hidden === !1),
1442
- info: Ie(t.value.form.saveSubmit, (S) => !["click"].includes(S)),
1443
+ info: t.value.form.saveSubmit,
1444
+ // filterObject(model.value.form.saveSubmit, (k) => !["click"].includes(k)),
1443
1445
  sort: t.value.form.saveSubmit.sort ?? 1,
1444
1446
  // 使用空值合并运算符
1445
1447
  originalOrder: 0,
@@ -1450,20 +1452,21 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1450
1452
  name: "f-reset",
1451
1453
  label: t.value.form.reset.label,
1452
1454
  click: t.value.form.reset.click,
1453
- info: Ie(t.value.form.reset, (S) => !["click"].includes(S)),
1455
+ info: t.value.form.reset,
1456
+ // filterObject(model.value.form.reset, (k) => !["click"].includes(k)),
1454
1457
  hidden: !(f.flag === "add" && t.value.form.reset.hidden === !1),
1455
1458
  sort: t.value.form.reset.sort ?? 2,
1456
1459
  // 使用空值合并运算符
1457
1460
  originalOrder: 1
1458
1461
  // 添加原始顺序标识
1459
1462
  }
1460
- ], se = Ke(() => ce.filter((S) => !S.hidden).sort((S, _) => S.sort - _.sort || S.originalOrder - _.originalOrder));
1463
+ ]), se = Ke(() => fe.value.filter((M) => !M.hidden).sort((M, _) => M.sort - _.sort || M.originalOrder - _.originalOrder));
1461
1464
  return s({
1462
1465
  submit: v,
1463
1466
  saveSubmit: v,
1464
1467
  reset: u,
1465
1468
  formData: c
1466
- }), (S, _) => {
1469
+ }), (M, _) => {
1467
1470
  var X, ae, ee;
1468
1471
  const b = H("el-form-item"), i = H("el-col"), V = H("el-tab-pane"), k = H("el-tabs"), A = H("el-form"), F = H("el-button");
1469
1472
  return p(), R("div", Ol, [
@@ -1479,43 +1482,43 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1479
1482
  "box-sizing": "border-box"
1480
1483
  }
1481
1484
  },
1482
- N(Ie)(
1485
+ N(Re)(
1483
1486
  t.value.form,
1484
- (E) => !["footer", "submit", "reset", "slots", "type", "sort"].includes(E)
1487
+ (w) => !["footer", "submit", "reset", "slots", "type", "sort"].includes(w)
1485
1488
  )
1486
1489
  ), {
1487
1490
  default: C(() => [
1488
- _e.value.length > 0 ? D(S.$slots, "default", { key: 0 }, () => [
1491
+ _e.value.length > 0 ? D(M.$slots, "default", { key: 0 }, () => [
1489
1492
  te(k, I({
1490
1493
  class: "demo-tabs",
1491
1494
  modelValue: _e.value[0].groupName,
1492
- "onUpdate:modelValue": _[0] || (_[0] = (E) => _e.value[0].groupName = E),
1495
+ "onUpdate:modelValue": _[0] || (_[0] = (w) => _e.value[0].groupName = w),
1493
1496
  style: { width: "100%" }
1494
1497
  }, t.value.form.tabs), {
1495
1498
  default: C(() => [
1496
- (p(!0), R(J, null, W(_e.value, (E) => (p(), B(V, I({
1497
- key: E.groupName,
1498
- label: E.groupName,
1499
- name: E.groupName,
1499
+ (p(!0), R(J, null, W(_e.value, (w) => (p(), B(V, I({
1500
+ key: w.groupName,
1501
+ label: w.groupName,
1502
+ name: w.groupName,
1500
1503
  style: { width: "100%", display: "flex", "flex-wrap": "wrap" },
1501
1504
  ref_for: !0
1502
- }, E.tabPane), {
1505
+ }, w.tabPane), {
1503
1506
  default: C(() => [
1504
- (p(!0), R(J, null, W(E.items, (g, fe) => (p(), B(i, I({ ref_for: !0 }, { ...t.value.form.cols, ...g == null ? void 0 : g.item.col }, {
1507
+ (p(!0), R(J, null, W(w.items, (g, ie) => (p(), B(i, I({ ref_for: !0 }, { ...t.value.form.cols, ...g == null ? void 0 : g.item.col }, {
1505
1508
  key: g.key,
1506
1509
  style: { width: "100%" }
1507
1510
  }), {
1508
1511
  default: C(() => {
1509
- var ie, me;
1512
+ var de, me;
1510
1513
  return [
1511
1514
  te(b, I({
1512
1515
  label: g == null ? void 0 : g.item.label,
1513
1516
  prop: g.key,
1514
1517
  rules: L(g == null ? void 0 : g.item),
1515
1518
  ref_for: !0
1516
- }, { ...(ie = t.value) == null ? void 0 : ie.formItems, ...(me = g == null ? void 0 : g.item) == null ? void 0 : me.formItem }, { style: { width: "100%" } }), {
1519
+ }, { ...(de = t.value) == null ? void 0 : de.formItems, ...(me = g == null ? void 0 : g.item) == null ? void 0 : me.formItem }, { style: { width: "100%" } }), {
1517
1520
  default: C(() => [
1518
- D(S.$slots, "f-" + g.key, {
1521
+ D(M.$slots, "f-" + g.key, {
1519
1522
  item: g == null ? void 0 : g.item,
1520
1523
  formInfo: c.value,
1521
1524
  model: t.value,
@@ -1528,15 +1531,15 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1528
1531
  ctrlKey: g.key,
1529
1532
  ctrlType: U(g == null ? void 0 : g.item),
1530
1533
  model: t.value,
1531
- key: `${g.key}-${M.value}`,
1534
+ key: `${g.key}-${S.value}`,
1532
1535
  class: "g-ctrl-container",
1533
1536
  t: "f",
1534
1537
  formInfo: c.value
1535
1538
  }, he({ _: 2 }, [
1536
- W(S.$slots, (be, $e) => ({
1539
+ W(M.$slots, (be, $e) => ({
1537
1540
  name: $e,
1538
1541
  fn: C((we) => [
1539
- D(S.$slots, $e, {
1542
+ D(M.$slots, $e, {
1540
1543
  data: we,
1541
1544
  item: g.item,
1542
1545
  model: t.value
@@ -1558,54 +1561,54 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1558
1561
  ]),
1559
1562
  _: 3
1560
1563
  }, 16, ["modelValue"])
1561
- ], !0) : D(S.$slots, "default", { key: 1 }, () => [
1562
- (p(!0), R(J, null, W(ue.value, (E, g) => (p(), B(i, I({ ref_for: !0 }, { ...t.value.form.cols, ...E.col }, {
1564
+ ], !0) : D(M.$slots, "default", { key: 1 }, () => [
1565
+ (p(!0), R(J, null, W(ue.value, (w, g) => (p(), B(i, I({ ref_for: !0 }, { ...t.value.form.cols, ...w.col }, {
1563
1566
  key: g,
1564
1567
  style: { width: "100%" }
1565
1568
  }), {
1566
1569
  default: C(() => {
1567
- var fe;
1570
+ var ie;
1568
1571
  return [
1569
1572
  te(b, I({
1570
- label: E.label,
1573
+ label: w.label,
1571
1574
  prop: g,
1572
- rules: L(E),
1575
+ rules: L(w),
1573
1576
  ref_for: !0
1574
- }, { ...(fe = t.value) == null ? void 0 : fe.formItems, ...E == null ? void 0 : E.formItem }, { style: { width: "100%" } }), {
1575
- label: C((ie) => [
1576
- D(S.$slots, `f-${g}-label`, {
1577
- data: ie,
1578
- item: E,
1577
+ }, { ...(ie = t.value) == null ? void 0 : ie.formItems, ...w == null ? void 0 : w.formItem }, { style: { width: "100%" } }), {
1578
+ label: C((de) => [
1579
+ D(M.$slots, `f-${g}-label`, {
1580
+ data: de,
1581
+ item: w,
1579
1582
  model: t.value
1580
1583
  }, () => [
1581
- Ye(Ce(E.label), 1)
1584
+ Ue(Ce(w.label), 1)
1582
1585
  ], !0)
1583
1586
  ]),
1584
1587
  default: C(() => [
1585
- D(S.$slots, "f-" + g, {
1586
- item: E,
1588
+ D(M.$slots, "f-" + g, {
1589
+ item: w,
1587
1590
  formInfo: c.value,
1588
1591
  model: t.value,
1589
1592
  form: c.value
1590
1593
  }, () => [
1591
1594
  (p(), B(bt, {
1592
1595
  modelValue: c.value[g],
1593
- "onUpdate:modelValue": (ie) => c.value[g] = ie,
1594
- item: j(E, !0),
1596
+ "onUpdate:modelValue": (de) => c.value[g] = de,
1597
+ item: j(w, !0),
1595
1598
  ctrlKey: g,
1596
- ctrlType: U(E),
1597
- key: `${g}-${M.value}`,
1599
+ ctrlType: U(w),
1600
+ key: `${g}-${S.value}`,
1598
1601
  model: t.value,
1599
1602
  class: "g-ctrl-container",
1600
1603
  t: "f",
1601
1604
  formInfo: c.value
1602
1605
  }, he({ _: 2 }, [
1603
- W(S.$slots, (ie, me) => ({
1606
+ W(M.$slots, (de, me) => ({
1604
1607
  name: me,
1605
1608
  fn: C((be) => [
1606
- D(S.$slots, me, {
1609
+ D(M.$slots, me, {
1607
1610
  data: be,
1608
- item: E,
1611
+ item: w,
1609
1612
  model: t.value
1610
1613
  }, void 0, !0)
1611
1614
  ])
@@ -1623,32 +1626,38 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1623
1626
  ]),
1624
1627
  _: 3
1625
1628
  }, 16, ["model"]),
1626
- (ee = (ae = (X = t.value) == null ? void 0 : X.form) == null ? void 0 : ae.footer) != null && ee.hidden ? ge("", !0) : D(S.$slots, "f-footer", { key: 0 }, () => [
1629
+ (ee = (ae = (X = t.value) == null ? void 0 : X.form) == null ? void 0 : ae.footer) != null && ee.hidden ? ye("", !0) : D(M.$slots, "f-footer", { key: 0 }, () => [
1627
1630
  Z("div", {
1628
1631
  style: qe(t.value.form.footer.style)
1629
1632
  }, [
1630
- D(S.$slots, "f-footer-left", {}, void 0, !0),
1631
- (p(!0), R(J, null, W(se.value, (E) => (p(), R(J, null, [
1632
- D(S.$slots, E.name + "-left", {}, void 0, !0),
1633
- D(S.$slots, E.name, {}, () => [
1634
- te(F, I({ ref_for: !0 }, E.info, {
1635
- onClick: yt((g) => E.click(c.value, t.value, E.flag), ["stop"])
1636
- }), {
1637
- default: C(() => [
1638
- Ye(Ce(E == null ? void 0 : E.label), 1)
1639
- ]),
1640
- _: 2
1641
- }, 1040, ["onClick"])
1642
- ], !0),
1643
- D(S.$slots, E.name + "-right", {}, void 0, !0)
1633
+ D(M.$slots, "f-footer-left", {}, void 0, !0),
1634
+ (p(!0), R(J, null, W(se.value, (w) => (p(), R(J, null, [
1635
+ D(M.$slots, w.name + "-left", {}, void 0, !0),
1636
+ D(M.$slots, w.name, {}, () => {
1637
+ var g;
1638
+ return [
1639
+ (g = w == null ? void 0 : w.info) != null && g.hidden ? ye("", !0) : (p(), B(F, I({
1640
+ key: 0,
1641
+ ref_for: !0
1642
+ }, w.info, {
1643
+ onClick: yt((ie) => w.click(c.value, t.value, w.flag), ["stop"])
1644
+ }), {
1645
+ default: C(() => [
1646
+ Ue(Ce(w == null ? void 0 : w.label), 1)
1647
+ ]),
1648
+ _: 2
1649
+ }, 1040, ["onClick"]))
1650
+ ];
1651
+ }, !0),
1652
+ D(M.$slots, w.name + "-right", {}, void 0, !0)
1644
1653
  ], 64))), 256)),
1645
- D(S.$slots, "f-footer-right", {}, void 0, !0)
1654
+ D(M.$slots, "f-footer-right", {}, void 0, !0)
1646
1655
  ], 4)
1647
1656
  ], !0)
1648
1657
  ]);
1649
1658
  };
1650
1659
  }
1651
- }), kt = /* @__PURE__ */ Ze(Il, [["__scopeId", "data-v-bfb4e60c"]]), xt = {
1660
+ }), kt = /* @__PURE__ */ Ze(Il, [["__scopeId", "data-v-a28ff0af"]]), xt = {
1652
1661
  __name: "g-query-item",
1653
1662
  props: /* @__PURE__ */ Xe(["more"], {
1654
1663
  modelValue: { required: !0 },
@@ -1658,24 +1667,24 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1658
1667
  }),
1659
1668
  emits: ["update:modelValue", "update:info"],
1660
1669
  setup(n) {
1661
- const s = Qe(n, "modelValue"), a = n, t = Qe(n, "info"), r = (M) => {
1670
+ const s = Qe(n, "modelValue"), a = n, t = Qe(n, "info"), r = (S) => {
1662
1671
  let f = Object.entries(s.value).filter((u) => {
1663
1672
  var d;
1664
- return typeof u[1].search == "function" ? u[1].search && ((d = u[1].search(t.value, s.value.table)) == null ? void 0 : d.more) === M : u[1].search && u[1].search.more === M;
1673
+ return typeof u[1].search == "function" ? u[1].search && ((d = u[1].search(t.value, s.value.table)) == null ? void 0 : d.more) === S : u[1].search && u[1].search.more === S;
1665
1674
  }).map((u) => [u[0], u[1]]), v = Object.fromEntries(f);
1666
1675
  return Ke(() => v).value;
1667
- }, e = (M) => typeof M.search == "function" ? M.search(t.value, s.value.table) : M.search || {}, h = (M) => {
1668
- const f = e(M);
1669
- return (f == null ? void 0 : f.type) || M.type;
1670
- }, c = (M) => {
1676
+ }, e = (S) => typeof S.search == "function" ? S.search(t.value, s.value.table) : S.search || {}, h = (S) => {
1677
+ const f = e(S);
1678
+ return (f == null ? void 0 : f.type) || S.type;
1679
+ }, c = (S) => {
1671
1680
  var u;
1672
- const f = e(M);
1681
+ const f = e(S);
1673
1682
  let v = (f == null ? void 0 : f.width) || ((u = s.value.queryItems) == null ? void 0 : u.width) || "100%";
1674
1683
  return isNaN(v) || (v += "px"), v;
1675
1684
  };
1676
- return (M, f) => {
1685
+ return (S, f) => {
1677
1686
  const v = H("el-form-item");
1678
- return p(!0), R(J, null, W(r(a.more), (u, d) => D(M.$slots, `q-${d}`, {
1687
+ return p(!0), R(J, null, W(r(a.more), (u, d) => D(S.$slots, `q-${d}`, {
1679
1688
  key: d,
1680
1689
  item: u,
1681
1690
  queryModel: t.value,
@@ -1687,7 +1696,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1687
1696
  ref_for: !0
1688
1697
  }, { ...s.value.queryItems, ...e(u) }), {
1689
1698
  label: C(() => [
1690
- D(M.$slots, `q-${d}-label`, {
1699
+ D(S.$slots, `q-${d}-label`, {
1691
1700
  item: u,
1692
1701
  model: s.value
1693
1702
  })
@@ -1695,7 +1704,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1695
1704
  default: C(() => [
1696
1705
  te(bt, {
1697
1706
  modelValue: t.value[d],
1698
- "onUpdate:modelValue": (w) => t.value[d] = w,
1707
+ "onUpdate:modelValue": (E) => t.value[d] = E,
1699
1708
  item: { ...u == null ? void 0 : u.editor, ...e(u) },
1700
1709
  ctrlKey: d,
1701
1710
  ctrlType: h(u),
@@ -1703,10 +1712,10 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1703
1712
  t: "q",
1704
1713
  formInfo: t.value
1705
1714
  }, he({ _: 2 }, [
1706
- W(Object.keys(M.$slots), (w) => ({
1707
- name: w,
1715
+ W(Object.keys(S.$slots), (E) => ({
1716
+ name: E,
1708
1717
  fn: C((L) => [
1709
- D(M.$slots, w, {
1718
+ D(S.$slots, E, {
1710
1719
  data: L,
1711
1720
  item: u,
1712
1721
  model: s.value
@@ -1733,7 +1742,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1733
1742
  },
1734
1743
  emits: /* @__PURE__ */ Xe(["query", "reset"], ["update:modelValue", "update:info"]),
1735
1744
  setup(n, { emit: s }) {
1736
- const a = Qe(n, "modelValue"), t = s, r = Tt("options"), e = oe(!1), h = Qe(n, "info"), c = {
1745
+ const a = Qe(n, "modelValue"), t = s, r = Tt("options"), e = re(!1), h = Qe(n, "info"), c = {
1737
1746
  hidden: !1,
1738
1747
  type: "hidden",
1739
1748
  labelWidth: 100,
@@ -1786,7 +1795,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1786
1795
  }
1787
1796
  };
1788
1797
  a.value.query = Ve(c, r == null ? void 0 : r.query, a.value.query);
1789
- const M = {
1798
+ const S = {
1790
1799
  2: {
1791
1800
  title: "更多查询",
1792
1801
  showClose: !1,
@@ -1804,7 +1813,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1804
1813
  }
1805
1814
  };
1806
1815
  a.value.query.more.dialog = Ve(
1807
- M[a.value.query.more.mode] || {},
1816
+ S[a.value.query.more.mode] || {},
1808
1817
  a.value.query.more.dialog
1809
1818
  );
1810
1819
  const f = {
@@ -1830,7 +1839,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1830
1839
  more: U
1831
1840
  }, O);
1832
1841
  }, u = Bt(), d = () => {
1833
- var O, ue, ne, _e, ce, se, ye, Fe, Se;
1842
+ var O, ue, ne, _e, fe, se, ge, Fe, Se;
1834
1843
  const j = [
1835
1844
  {
1836
1845
  key: "query",
@@ -1845,7 +1854,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1845
1854
  },
1846
1855
  {
1847
1856
  key: "reset",
1848
- hidden: (se = (ce = (_e = a.value) == null ? void 0 : _e.query) == null ? void 0 : ce.reset) == null ? void 0 : se.hidden,
1857
+ hidden: (se = (fe = (_e = a.value) == null ? void 0 : _e.query) == null ? void 0 : fe.reset) == null ? void 0 : se.hidden,
1849
1858
  component: Oe,
1850
1859
  props: {
1851
1860
  ...a.value.query.reset,
@@ -1856,7 +1865,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1856
1865
  },
1857
1866
  {
1858
1867
  key: "more",
1859
- hidden: (Se = (Fe = (ye = a.value) == null ? void 0 : ye.query) == null ? void 0 : Fe.more) == null ? void 0 : Se.hidden,
1868
+ hidden: (Se = (Fe = (ge = a.value) == null ? void 0 : ge.query) == null ? void 0 : Fe.more) == null ? void 0 : Se.hidden,
1860
1869
  component: a.value.query.more.mode === 3 ? wt : Oe,
1861
1870
  props: a.value.query.more.mode === 3 ? { ...a.value.query.more.dialog } : {
1862
1871
  ...a.value.query.more,
@@ -1866,7 +1875,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1866
1875
  sort: a.value.query.more.sort || 0,
1867
1876
  content: a.value.query.more.mode === 3 ? () => Ee(pt, {
1868
1877
  class: "query-form",
1869
- ...Ie(a.value.query, (G) => !["query", "more", "reset"].includes(G))
1878
+ ...Re(a.value.query, (G) => !["query", "more", "reset"].includes(G))
1870
1879
  }, () => v({ slots: u }, !0)) : null
1871
1880
  }
1872
1881
  ];
@@ -1874,54 +1883,54 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1874
1883
  reference: () => Ee(Oe, a.value.query.more, () => G.label),
1875
1884
  default: G.content
1876
1885
  }) : (G.props.slot = "query-" + G.key, G.label ? Ee(G.component, G.props, () => G.label) : Ee(G.component, G.props)));
1877
- }, w = Ke(() => ({
1886
+ }, E = Ke(() => ({
1878
1887
  diplay: "flex",
1879
1888
  flexDirection: a.value.query.container.mode === "row" ? "row" : "column"
1880
1889
  })), L = () => {
1881
1890
  alert("查询设置,正在开发中......");
1882
1891
  };
1883
1892
  return (j, U) => {
1884
- var ne, _e, ce, se, ye, Fe, Se, G, le, Ue, S, _, b, i, V, k, A;
1893
+ var ne, _e, fe, se, ge, Fe, Se, G, le, Ie, M, _, b, i, V, k, A;
1885
1894
  const O = H("el-form-item"), ue = H("el-drawer");
1886
1895
  return p(), R(J, null, [
1887
1896
  Z("div", {
1888
1897
  class: "g-query-container",
1889
- style: qe({ ...w.value, ...((_e = (ne = a.value.query) == null ? void 0 : ne.container) == null ? void 0 : _e.style) || {} }),
1898
+ style: qe({ ...E.value, ...((_e = (ne = a.value.query) == null ? void 0 : ne.container) == null ? void 0 : _e.style) || {} }),
1890
1899
  onDblclick: L
1891
1900
  }, [
1892
1901
  te(N(pt), I({
1893
1902
  onSubmit: U[0] || (U[0] = yt(() => {
1894
1903
  }, ["prevent"]))
1895
- }, N(Ie)(a.value.query, (F) => !["query", "more", "reset", "btns"].includes(F))), {
1904
+ }, N(Re)(a.value.query, (F) => !["query", "more", "reset", "btns"].includes(F))), {
1896
1905
  default: C(() => {
1897
1906
  var F, X;
1898
1907
  return [
1899
1908
  (p(), B(We(v({ slots: j.$slots }, void 0)))),
1900
1909
  ((X = (F = a.value.query) == null ? void 0 : F.container) == null ? void 0 : X.inline) === !0 ? (p(), B(O, { key: 0 }, {
1901
1910
  default: C(() => {
1902
- var ae, ee, E, g, fe;
1911
+ var ae, ee, w, g, ie;
1903
1912
  return [
1904
1913
  Z("div", {
1905
1914
  style: qe((ee = (ae = a.value.query) == null ? void 0 : ae.btns) == null ? void 0 : ee.style)
1906
1915
  }, [
1907
1916
  a.value.query.group ? (p(), B(N(mt), { key: 0 }, {
1908
1917
  default: C(() => [
1909
- (p(!0), R(J, null, W(d(), (ie) => D(j.$slots, ie.props.slot, {}, () => [
1910
- (p(), B(We(ie)))
1918
+ (p(!0), R(J, null, W(d(), (de) => D(j.$slots, de.props.slot, {}, () => [
1919
+ (p(), B(We(de)))
1911
1920
  ], !0)), 256)),
1912
1921
  D(j.$slots, "q-btns", {}, void 0, !0)
1913
1922
  ]),
1914
1923
  _: 3
1915
1924
  })) : (p(), R(J, { key: 1 }, [
1916
- (fe = (g = (E = a.value) == null ? void 0 : E.query) == null ? void 0 : g.btns) != null && fe.group ? (p(), B(N(mt), { key: 0 }, {
1925
+ (ie = (g = (w = a.value) == null ? void 0 : w.query) == null ? void 0 : g.btns) != null && ie.group ? (p(), B(N(mt), { key: 0 }, {
1917
1926
  default: C(() => [
1918
- (p(!0), R(J, null, W(d(), (ie) => D(j.$slots, ie.props.slot, {}, () => [
1919
- (p(), B(We(ie)))
1927
+ (p(!0), R(J, null, W(d(), (de) => D(j.$slots, de.props.slot, {}, () => [
1928
+ (p(), B(We(de)))
1920
1929
  ], !0)), 256))
1921
1930
  ]),
1922
1931
  _: 3
1923
- })) : (p(!0), R(J, { key: 1 }, W(d(), (ie) => D(j.$slots, ie.props.slot, {}, () => [
1924
- (p(), B(We(ie)))
1932
+ })) : (p(!0), R(J, { key: 1 }, W(d(), (de) => D(j.$slots, de.props.slot, {}, () => [
1933
+ (p(), B(We(de)))
1925
1934
  ], !0)), 256)),
1926
1935
  D(j.$slots, "q-btns", {}, void 0, !0)
1927
1936
  ], 64))
@@ -1929,12 +1938,12 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1929
1938
  ];
1930
1939
  }),
1931
1940
  _: 3
1932
- })) : ge("", !0)
1941
+ })) : ye("", !0)
1933
1942
  ];
1934
1943
  }),
1935
1944
  _: 3
1936
1945
  }, 16),
1937
- ((ye = (se = (ce = a.value) == null ? void 0 : ce.query) == null ? void 0 : se.container) == null ? void 0 : ye.inline) === !1 ? (p(), R("div", {
1946
+ ((ge = (se = (fe = a.value) == null ? void 0 : fe.query) == null ? void 0 : se.container) == null ? void 0 : ge.inline) === !1 ? (p(), R("div", {
1938
1947
  key: 0,
1939
1948
  style: qe((Se = (Fe = a.value.query) == null ? void 0 : Fe.btns) == null ? void 0 : Se.style)
1940
1949
  }, [
@@ -1959,9 +1968,9 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1959
1968
  ], !0)), 256)),
1960
1969
  D(j.$slots, "q-btns", {}, void 0, !0)
1961
1970
  ], 64))
1962
- ], 4)) : ge("", !0)
1971
+ ], 4)) : ye("", !0)
1963
1972
  ], 36),
1964
- e.value && !((_ = (S = (Ue = a.value) == null ? void 0 : Ue.query) == null ? void 0 : S.more) != null && _.hidden) && a.value.query.more.mode == 2 ? (p(), B(ue, I({
1973
+ e.value && !((_ = (M = (Ie = a.value) == null ? void 0 : Ie.query) == null ? void 0 : M.more) != null && _.hidden) && a.value.query.more.mode == 2 ? (p(), B(ue, I({
1965
1974
  key: 0,
1966
1975
  modelValue: e.value,
1967
1976
  "onUpdate:modelValue": U[6] || (U[6] = (F) => e.value = F),
@@ -1972,7 +1981,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
1972
1981
  te(N(pt), I({
1973
1982
  onSubmit: U[3] || (U[3] = yt(() => {
1974
1983
  }, ["prevent"]))
1975
- }, N(Ie)(a.value.query, (F) => !["query", "more", "reset"].includes(F)), { style: { width: "98%" } }), {
1984
+ }, N(Re)(a.value.query, (F) => !["query", "more", "reset"].includes(F)), { style: { width: "98%" } }), {
1976
1985
  default: C(() => [
1977
1986
  te(xt, {
1978
1987
  modelValue: a.value,
@@ -2002,7 +2011,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
2002
2011
  onClick: U[4] || (U[4] = (F) => a.value.query.query.click())
2003
2012
  }), {
2004
2013
  default: C(() => [
2005
- Ye(Ce(a.value.query.query.label), 1)
2014
+ Ue(Ce(a.value.query.query.label), 1)
2006
2015
  ]),
2007
2016
  _: 1
2008
2017
  }, 16),
@@ -2010,7 +2019,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
2010
2019
  onClick: U[5] || (U[5] = (F) => a.value.query.reset.click())
2011
2020
  }), {
2012
2021
  default: C(() => [
2013
- Ye(Ce(a.value.query.reset.label), 1)
2022
+ Ue(Ce(a.value.query.reset.label), 1)
2014
2023
  ]),
2015
2024
  _: 1
2016
2025
  }, 16)
@@ -2018,7 +2027,7 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
2018
2027
  ]),
2019
2028
  key: "0"
2020
2029
  }
2021
- ]), 1040, ["modelValue"])) : ge("", !0),
2030
+ ]), 1040, ["modelValue"])) : ye("", !0),
2022
2031
  te(tl, {
2023
2032
  duration: 300,
2024
2033
  name: "nested",
@@ -2033,16 +2042,16 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
2033
2042
  key: 0,
2034
2043
  onSubmit: U[7] || (U[7] = yt(() => {
2035
2044
  }, ["prevent"]))
2036
- }, N(Ie)(a.value.query, (ee) => !["query", "more", "reset"].includes(ee))), {
2045
+ }, N(Re)(a.value.query, (ee) => !["query", "more", "reset"].includes(ee))), {
2037
2046
  default: C(() => [
2038
2047
  (p(), B(We(v({ slots: j.$slots }, !0))))
2039
2048
  ]),
2040
2049
  _: 1
2041
2050
  }, 16)), [
2042
2051
  [al, e.value]
2043
- ]) : ge("", !0)
2052
+ ]) : ye("", !0)
2044
2053
  ])
2045
- ])) : ge("", !0)
2054
+ ])) : ye("", !0)
2046
2055
  ];
2047
2056
  }),
2048
2057
  _: 1
@@ -2061,40 +2070,40 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
2061
2070
  },
2062
2071
  emits: ["excel"],
2063
2072
  setup(n, { emit: s }) {
2064
- const a = n, t = s, r = oe(a.items), e = () => {
2065
- r.value.forEach((M) => {
2066
- M.value = !0;
2073
+ const a = n, t = s, r = re(a.items), e = () => {
2074
+ r.value.forEach((S) => {
2075
+ S.value = !0;
2067
2076
  });
2068
2077
  }, h = () => {
2069
- r.value.forEach((M) => {
2070
- M.value = !1;
2078
+ r.value.forEach((S) => {
2079
+ S.value = !1;
2071
2080
  });
2072
2081
  }, c = () => {
2073
- t("excel", r.value, (M, f = "excel.xls") => {
2074
- if (!M) {
2082
+ t("excel", r.value, (S, f = "excel.xls") => {
2083
+ if (!S) {
2075
2084
  console.error("下载链接无效");
2076
2085
  return;
2077
2086
  }
2078
2087
  try {
2079
2088
  const v = document.createElement("a");
2080
- v.href = M, v.download = f, v.style.display = "none", document.body.appendChild(v), v.click(), document.body.removeChild(v);
2089
+ v.href = S, v.download = f, v.style.display = "none", document.body.appendChild(v), v.click(), document.body.removeChild(v);
2081
2090
  } catch (v) {
2082
2091
  console.error("下载文件时出现错误:", v);
2083
2092
  }
2084
2093
  });
2085
2094
  };
2086
2095
  return nt(() => {
2087
- const M = new Lt(document.getElementById("excelSortEl"), {
2096
+ const S = new Lt(document.getElementById("excelSortEl"), {
2088
2097
  animation: 150,
2089
2098
  onEnd: () => {
2090
- M.toArray();
2099
+ S.toArray();
2091
2100
  }
2092
- }), f = M;
2101
+ }), f = S;
2093
2102
  rl(() => {
2094
2103
  f && f.destroy();
2095
2104
  });
2096
- }), (M, f) => {
2097
- const v = H("el-divider"), u = H("el-alert"), d = H("el-checkbox"), w = H("el-button");
2105
+ }), (S, f) => {
2106
+ const v = H("el-divider"), u = H("el-alert"), d = H("el-checkbox"), E = H("el-button");
2098
2107
  return p(), R("div", Hl, [
2099
2108
  Z("div", zl, [
2100
2109
  Z("div", jl, [
@@ -2137,14 +2146,14 @@ const Et = /* @__PURE__ */ Ht(kl), jt = {
2137
2146
  ])
2138
2147
  ]),
2139
2148
  Z("div", Wl, [
2140
- te(w, {
2149
+ te(E, {
2141
2150
  type: "primary",
2142
2151
  onClick: c,
2143
2152
  icon: N(Rt),
2144
2153
  disabled: r.value.filter((L) => L.value).length < 1
2145
2154
  }, {
2146
2155
  default: C(() => [
2147
- Ye(Ce(a.commitText), 1)
2156
+ Ue(Ce(a.commitText), 1)
2148
2157
  ]),
2149
2158
  _: 1
2150
2159
  }, 8, ["icon", "disabled"])
@@ -2271,7 +2280,7 @@ const na = {
2271
2280
  }),
2272
2281
  emits: /* @__PURE__ */ Xe(["setting-drag-end", "select-all"], ["update:modelValue"]),
2273
2282
  setup(n, { emit: s }) {
2274
- const a = n, t = s, r = oe([]), e = Qe(n, "modelValue"), h = async (u, d) => {
2283
+ const a = n, t = s, r = re([]), e = Qe(n, "modelValue"), h = async (u, d) => {
2275
2284
  u ? (e.value[d].showCol = !0, await ht(a.tuid, d, "del")) : (e.value[d].showCol = !1, await ht(a.tuid, d, "add"));
2276
2285
  }, c = () => {
2277
2286
  const u = document.getElementById("cols");
@@ -2281,9 +2290,9 @@ const na = {
2281
2290
  filter: ".filtered",
2282
2291
  sort: !0,
2283
2292
  onEnd: async () => {
2284
- let w = d.toArray();
2293
+ let E = d.toArray();
2285
2294
  try {
2286
- ra(a.tuid, w).then((L) => {
2295
+ ra(a.tuid, E).then((L) => {
2287
2296
  t("setting-drag-end");
2288
2297
  });
2289
2298
  } catch (L) {
@@ -2295,7 +2304,7 @@ const na = {
2295
2304
  }
2296
2305
  });
2297
2306
  }
2298
- }, M = async () => {
2307
+ }, S = async () => {
2299
2308
  try {
2300
2309
  r.value.forEach((u) => {
2301
2310
  u.showCol = !0;
@@ -2348,13 +2357,13 @@ const na = {
2348
2357
  width: d == null ? void 0 : d.width
2349
2358
  })).sort((u, d) => u.sort - d.sort), c();
2350
2359
  }), (u, d) => {
2351
- const w = H("el-divider"), L = H("el-alert"), j = H("el-checkbox");
2360
+ const E = H("el-divider"), L = H("el-alert"), j = H("el-checkbox");
2352
2361
  return p(), R("div", null, [
2353
2362
  Z("div", na, [
2354
- Z("a", { onClick: M }, "全选"),
2355
- te(w, { direction: "vertical" }),
2363
+ Z("a", { onClick: S }, "全选"),
2364
+ te(E, { direction: "vertical" }),
2356
2365
  Z("a", { onClick: f }, "全不选"),
2357
- te(w, { direction: "vertical" }),
2366
+ te(E, { direction: "vertical" }),
2358
2367
  Z("a", { onClick: v }, "复位")
2359
2368
  ]),
2360
2369
  te(L, {
@@ -2537,26 +2546,26 @@ function ya(n) {
2537
2546
  (function() {
2538
2547
  var n = ma, s = Vt.utf8, a = ha, t = Vt.bin, r = function(e, h) {
2539
2548
  e.constructor == String ? h && h.encoding === "binary" ? e = t.stringToBytes(e) : e = s.stringToBytes(e) : a(e) ? e = Array.prototype.slice.call(e, 0) : !Array.isArray(e) && e.constructor !== Uint8Array && (e = e.toString());
2540
- for (var c = n.bytesToWords(e), M = e.length * 8, f = 1732584193, v = -271733879, u = -1732584194, d = 271733878, w = 0; w < c.length; w++)
2541
- c[w] = (c[w] << 8 | c[w] >>> 24) & 16711935 | (c[w] << 24 | c[w] >>> 8) & 4278255360;
2542
- c[M >>> 5] |= 128 << M % 32, c[(M + 64 >>> 9 << 4) + 14] = M;
2543
- for (var L = r._ff, j = r._gg, U = r._hh, O = r._ii, w = 0; w < c.length; w += 16) {
2544
- var ue = f, ne = v, _e = u, ce = d;
2545
- f = L(f, v, u, d, c[w + 0], 7, -680876936), d = L(d, f, v, u, c[w + 1], 12, -389564586), u = L(u, d, f, v, c[w + 2], 17, 606105819), v = L(v, u, d, f, c[w + 3], 22, -1044525330), f = L(f, v, u, d, c[w + 4], 7, -176418897), d = L(d, f, v, u, c[w + 5], 12, 1200080426), u = L(u, d, f, v, c[w + 6], 17, -1473231341), v = L(v, u, d, f, c[w + 7], 22, -45705983), f = L(f, v, u, d, c[w + 8], 7, 1770035416), d = L(d, f, v, u, c[w + 9], 12, -1958414417), u = L(u, d, f, v, c[w + 10], 17, -42063), v = L(v, u, d, f, c[w + 11], 22, -1990404162), f = L(f, v, u, d, c[w + 12], 7, 1804603682), d = L(d, f, v, u, c[w + 13], 12, -40341101), u = L(u, d, f, v, c[w + 14], 17, -1502002290), v = L(v, u, d, f, c[w + 15], 22, 1236535329), f = j(f, v, u, d, c[w + 1], 5, -165796510), d = j(d, f, v, u, c[w + 6], 9, -1069501632), u = j(u, d, f, v, c[w + 11], 14, 643717713), v = j(v, u, d, f, c[w + 0], 20, -373897302), f = j(f, v, u, d, c[w + 5], 5, -701558691), d = j(d, f, v, u, c[w + 10], 9, 38016083), u = j(u, d, f, v, c[w + 15], 14, -660478335), v = j(v, u, d, f, c[w + 4], 20, -405537848), f = j(f, v, u, d, c[w + 9], 5, 568446438), d = j(d, f, v, u, c[w + 14], 9, -1019803690), u = j(u, d, f, v, c[w + 3], 14, -187363961), v = j(v, u, d, f, c[w + 8], 20, 1163531501), f = j(f, v, u, d, c[w + 13], 5, -1444681467), d = j(d, f, v, u, c[w + 2], 9, -51403784), u = j(u, d, f, v, c[w + 7], 14, 1735328473), v = j(v, u, d, f, c[w + 12], 20, -1926607734), f = U(f, v, u, d, c[w + 5], 4, -378558), d = U(d, f, v, u, c[w + 8], 11, -2022574463), u = U(u, d, f, v, c[w + 11], 16, 1839030562), v = U(v, u, d, f, c[w + 14], 23, -35309556), f = U(f, v, u, d, c[w + 1], 4, -1530992060), d = U(d, f, v, u, c[w + 4], 11, 1272893353), u = U(u, d, f, v, c[w + 7], 16, -155497632), v = U(v, u, d, f, c[w + 10], 23, -1094730640), f = U(f, v, u, d, c[w + 13], 4, 681279174), d = U(d, f, v, u, c[w + 0], 11, -358537222), u = U(u, d, f, v, c[w + 3], 16, -722521979), v = U(v, u, d, f, c[w + 6], 23, 76029189), f = U(f, v, u, d, c[w + 9], 4, -640364487), d = U(d, f, v, u, c[w + 12], 11, -421815835), u = U(u, d, f, v, c[w + 15], 16, 530742520), v = U(v, u, d, f, c[w + 2], 23, -995338651), f = O(f, v, u, d, c[w + 0], 6, -198630844), d = O(d, f, v, u, c[w + 7], 10, 1126891415), u = O(u, d, f, v, c[w + 14], 15, -1416354905), v = O(v, u, d, f, c[w + 5], 21, -57434055), f = O(f, v, u, d, c[w + 12], 6, 1700485571), d = O(d, f, v, u, c[w + 3], 10, -1894986606), u = O(u, d, f, v, c[w + 10], 15, -1051523), v = O(v, u, d, f, c[w + 1], 21, -2054922799), f = O(f, v, u, d, c[w + 8], 6, 1873313359), d = O(d, f, v, u, c[w + 15], 10, -30611744), u = O(u, d, f, v, c[w + 6], 15, -1560198380), v = O(v, u, d, f, c[w + 13], 21, 1309151649), f = O(f, v, u, d, c[w + 4], 6, -145523070), d = O(d, f, v, u, c[w + 11], 10, -1120210379), u = O(u, d, f, v, c[w + 2], 15, 718787259), v = O(v, u, d, f, c[w + 9], 21, -343485551), f = f + ue >>> 0, v = v + ne >>> 0, u = u + _e >>> 0, d = d + ce >>> 0;
2549
+ for (var c = n.bytesToWords(e), S = e.length * 8, f = 1732584193, v = -271733879, u = -1732584194, d = 271733878, E = 0; E < c.length; E++)
2550
+ c[E] = (c[E] << 8 | c[E] >>> 24) & 16711935 | (c[E] << 24 | c[E] >>> 8) & 4278255360;
2551
+ c[S >>> 5] |= 128 << S % 32, c[(S + 64 >>> 9 << 4) + 14] = S;
2552
+ for (var L = r._ff, j = r._gg, U = r._hh, O = r._ii, E = 0; E < c.length; E += 16) {
2553
+ var ue = f, ne = v, _e = u, fe = d;
2554
+ f = L(f, v, u, d, c[E + 0], 7, -680876936), d = L(d, f, v, u, c[E + 1], 12, -389564586), u = L(u, d, f, v, c[E + 2], 17, 606105819), v = L(v, u, d, f, c[E + 3], 22, -1044525330), f = L(f, v, u, d, c[E + 4], 7, -176418897), d = L(d, f, v, u, c[E + 5], 12, 1200080426), u = L(u, d, f, v, c[E + 6], 17, -1473231341), v = L(v, u, d, f, c[E + 7], 22, -45705983), f = L(f, v, u, d, c[E + 8], 7, 1770035416), d = L(d, f, v, u, c[E + 9], 12, -1958414417), u = L(u, d, f, v, c[E + 10], 17, -42063), v = L(v, u, d, f, c[E + 11], 22, -1990404162), f = L(f, v, u, d, c[E + 12], 7, 1804603682), d = L(d, f, v, u, c[E + 13], 12, -40341101), u = L(u, d, f, v, c[E + 14], 17, -1502002290), v = L(v, u, d, f, c[E + 15], 22, 1236535329), f = j(f, v, u, d, c[E + 1], 5, -165796510), d = j(d, f, v, u, c[E + 6], 9, -1069501632), u = j(u, d, f, v, c[E + 11], 14, 643717713), v = j(v, u, d, f, c[E + 0], 20, -373897302), f = j(f, v, u, d, c[E + 5], 5, -701558691), d = j(d, f, v, u, c[E + 10], 9, 38016083), u = j(u, d, f, v, c[E + 15], 14, -660478335), v = j(v, u, d, f, c[E + 4], 20, -405537848), f = j(f, v, u, d, c[E + 9], 5, 568446438), d = j(d, f, v, u, c[E + 14], 9, -1019803690), u = j(u, d, f, v, c[E + 3], 14, -187363961), v = j(v, u, d, f, c[E + 8], 20, 1163531501), f = j(f, v, u, d, c[E + 13], 5, -1444681467), d = j(d, f, v, u, c[E + 2], 9, -51403784), u = j(u, d, f, v, c[E + 7], 14, 1735328473), v = j(v, u, d, f, c[E + 12], 20, -1926607734), f = U(f, v, u, d, c[E + 5], 4, -378558), d = U(d, f, v, u, c[E + 8], 11, -2022574463), u = U(u, d, f, v, c[E + 11], 16, 1839030562), v = U(v, u, d, f, c[E + 14], 23, -35309556), f = U(f, v, u, d, c[E + 1], 4, -1530992060), d = U(d, f, v, u, c[E + 4], 11, 1272893353), u = U(u, d, f, v, c[E + 7], 16, -155497632), v = U(v, u, d, f, c[E + 10], 23, -1094730640), f = U(f, v, u, d, c[E + 13], 4, 681279174), d = U(d, f, v, u, c[E + 0], 11, -358537222), u = U(u, d, f, v, c[E + 3], 16, -722521979), v = U(v, u, d, f, c[E + 6], 23, 76029189), f = U(f, v, u, d, c[E + 9], 4, -640364487), d = U(d, f, v, u, c[E + 12], 11, -421815835), u = U(u, d, f, v, c[E + 15], 16, 530742520), v = U(v, u, d, f, c[E + 2], 23, -995338651), f = O(f, v, u, d, c[E + 0], 6, -198630844), d = O(d, f, v, u, c[E + 7], 10, 1126891415), u = O(u, d, f, v, c[E + 14], 15, -1416354905), v = O(v, u, d, f, c[E + 5], 21, -57434055), f = O(f, v, u, d, c[E + 12], 6, 1700485571), d = O(d, f, v, u, c[E + 3], 10, -1894986606), u = O(u, d, f, v, c[E + 10], 15, -1051523), v = O(v, u, d, f, c[E + 1], 21, -2054922799), f = O(f, v, u, d, c[E + 8], 6, 1873313359), d = O(d, f, v, u, c[E + 15], 10, -30611744), u = O(u, d, f, v, c[E + 6], 15, -1560198380), v = O(v, u, d, f, c[E + 13], 21, 1309151649), f = O(f, v, u, d, c[E + 4], 6, -145523070), d = O(d, f, v, u, c[E + 11], 10, -1120210379), u = O(u, d, f, v, c[E + 2], 15, 718787259), v = O(v, u, d, f, c[E + 9], 21, -343485551), f = f + ue >>> 0, v = v + ne >>> 0, u = u + _e >>> 0, d = d + fe >>> 0;
2546
2555
  }
2547
2556
  return n.endian([f, v, u, d]);
2548
2557
  };
2549
- r._ff = function(e, h, c, M, f, v, u) {
2550
- var d = e + (h & c | ~h & M) + (f >>> 0) + u;
2558
+ r._ff = function(e, h, c, S, f, v, u) {
2559
+ var d = e + (h & c | ~h & S) + (f >>> 0) + u;
2551
2560
  return (d << v | d >>> 32 - v) + h;
2552
- }, r._gg = function(e, h, c, M, f, v, u) {
2553
- var d = e + (h & M | c & ~M) + (f >>> 0) + u;
2561
+ }, r._gg = function(e, h, c, S, f, v, u) {
2562
+ var d = e + (h & S | c & ~S) + (f >>> 0) + u;
2554
2563
  return (d << v | d >>> 32 - v) + h;
2555
- }, r._hh = function(e, h, c, M, f, v, u) {
2556
- var d = e + (h ^ c ^ M) + (f >>> 0) + u;
2564
+ }, r._hh = function(e, h, c, S, f, v, u) {
2565
+ var d = e + (h ^ c ^ S) + (f >>> 0) + u;
2557
2566
  return (d << v | d >>> 32 - v) + h;
2558
- }, r._ii = function(e, h, c, M, f, v, u) {
2559
- var d = e + (c ^ (h | ~M)) + (f >>> 0) + u;
2567
+ }, r._ii = function(e, h, c, S, f, v, u) {
2568
+ var d = e + (c ^ (h | ~S)) + (f >>> 0) + u;
2560
2569
  return (d << v | d >>> 32 - v) + h;
2561
2570
  }, r._blocksize = 16, r._digestsize = 16, Pt.exports = function(e, h) {
2562
2571
  if (e == null)
@@ -2592,9 +2601,9 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
2592
2601
  ], ["update:modelValue"]),
2593
2602
  setup(n, { expose: s, emit: a }) {
2594
2603
  var ut, st, it, dt, ct, ft, vt;
2595
- const t = oe(""), r = a, e = Qe(n, "modelValue"), h = Tt("options"), c = oe({}), M = oe(null), f = oe(null), v = Object.entries(e.value).filter(([l, o]) => (o == null ? void 0 : o.search) !== void 0).map(([l, o]) => [l, o.value]);
2604
+ const t = re(""), r = a, e = Qe(n, "modelValue"), h = Tt("options"), c = re({}), S = re(null), f = re(null), v = Object.entries(e.value).filter(([l, o]) => (o == null ? void 0 : o.search) !== void 0).map(([l, o]) => [l, o.value]);
2596
2605
  c.value = Object.fromEntries(v);
2597
- const u = oe(!1), d = [
2606
+ const u = re(!1), d = [
2598
2607
  "type",
2599
2608
  "index",
2600
2609
  "label",
@@ -2623,7 +2632,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
2623
2632
  "filter-multiple",
2624
2633
  "filter-method",
2625
2634
  "filtered-value"
2626
- ], w = oe([]), L = Ft(), j = oe({}), U = oe([]), O = oe(null), ue = oe(""), ne = oe("/"), _e = oe({
2635
+ ], E = re([]), L = Ft(), j = re({}), U = re([]), O = re(null), ue = re(""), ne = re("/"), _e = re({
2627
2636
  autoWatch: !1,
2628
2637
  data: [],
2629
2638
  border: !0,
@@ -2697,7 +2706,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
2697
2706
  L
2698
2707
  // 继承父组件的属性
2699
2708
  );
2700
- const ce = {
2709
+ const fe = {
2701
2710
  type: "control",
2702
2711
  label: "操作",
2703
2712
  align: "center",
@@ -2796,37 +2805,37 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
2796
2805
  auth: () => !($.control.add(l, $).inline === !0 && m == 0),
2797
2806
  onClick: () => {
2798
2807
  var Y;
2799
- let x = (Y = ye(l, o, m, $)) == null ? void 0 : Y.operate;
2808
+ let x = (Y = ge(l, o, m, $)) == null ? void 0 : Y.operate;
2800
2809
  x === "edit" ? b(l, o, m, $) : x === "delete" ? i(l, o, m, $) : x === "view" && V(l, o, m, $);
2801
2810
  },
2802
2811
  "button-props": { round: !0, plain: !0 }
2803
2812
  })
2804
2813
  };
2805
2814
  e.value.control = Ve(
2806
- ce,
2815
+ fe,
2807
2816
  h == null ? void 0 : h.control,
2808
2817
  (it = e.value) == null ? void 0 : it.control
2809
2818
  );
2810
2819
  const se = (l, o = !0) => {
2811
2820
  const m = e.value.control[l], $ = o ? (x, Y, P, pe) => {
2812
- var Re, He, Je;
2821
+ var Ye, He, Je;
2813
2822
  if (!x || !Y || P == null)
2814
2823
  return console.warn(`merge${l.charAt(0).toUpperCase() + l.slice(1)}: 缺少必要的参数(row, column或index)`), {};
2815
- const ke = ((Re = ce[l]) == null ? void 0 : Re.call(ce, x, Y, P, pe)) || {}, Ae = ((Je = (He = h == null ? void 0 : h.control) == null ? void 0 : He[l]) == null ? void 0 : Je.call(He, x, Y, P, pe)) || {}, Be = (m == null ? void 0 : m(x, Y, P, pe)) || {};
2824
+ const ke = ((Ye = fe[l]) == null ? void 0 : Ye.call(fe, x, Y, P, pe)) || {}, Ae = ((Je = (He = h == null ? void 0 : h.control) == null ? void 0 : He[l]) == null ? void 0 : Je.call(He, x, Y, P, pe)) || {}, Be = (m == null ? void 0 : m(x, Y, P, pe)) || {};
2816
2825
  return Ve(ke, Ae, Be) || {};
2817
2826
  } : (x, Y) => {
2818
- var Ae, Be, Re;
2819
- const P = ((Ae = ce[l]) == null ? void 0 : Ae.call(ce, x, Y)) || {}, pe = ((Re = (Be = h == null ? void 0 : h.control) == null ? void 0 : Be[l]) == null ? void 0 : Re.call(Be, x, Y)) || {}, ke = (m == null ? void 0 : m(x, Y)) || {};
2827
+ var Ae, Be, Ye;
2828
+ const P = ((Ae = fe[l]) == null ? void 0 : Ae.call(fe, x, Y)) || {}, pe = ((Ye = (Be = h == null ? void 0 : h.control) == null ? void 0 : Be[l]) == null ? void 0 : Ye.call(Be, x, Y)) || {}, ke = (m == null ? void 0 : m(x, Y)) || {};
2820
2829
  return Ve(P, pe, ke) || {};
2821
2830
  };
2822
2831
  e.value.control[l] = $;
2823
2832
  };
2824
2833
  se("edit"), se("delete"), se("view"), se("save"), se("add", !1), se("download", !1), se("setting", !1);
2825
- const ye = (l, o, m, $) => {
2826
- var pe, ke, Ae, Be, Re, He;
2834
+ const ge = (l, o, m, $) => {
2835
+ var pe, ke, Ae, Be, Ye, He;
2827
2836
  if (!l || !o || m == null)
2828
2837
  return console.warn("mergeDropdown: 缺少必要的参数(row, column或index)"), {};
2829
- const x = ((pe = ce.dropdown) == null ? void 0 : pe.call(ce, l, o, m, $)) || {}, Y = ((Ae = (ke = h == null ? void 0 : h.control) == null ? void 0 : ke.dropdown) == null ? void 0 : Ae.call(ke, l, o, m, $)) || {}, P = ((He = (Re = (Be = e.value) == null ? void 0 : Be.control) == null ? void 0 : Re.dropdown) == null ? void 0 : He.call(Re, l, o, m, $)) || {};
2838
+ const x = ((pe = fe.dropdown) == null ? void 0 : pe.call(fe, l, o, m, $)) || {}, Y = ((Ae = (ke = h == null ? void 0 : h.control) == null ? void 0 : ke.dropdown) == null ? void 0 : Ae.call(ke, l, o, m, $)) || {}, P = ((He = (Ye = (Be = e.value) == null ? void 0 : Be.control) == null ? void 0 : Ye.dropdown) == null ? void 0 : He.call(Ye, l, o, m, $)) || {};
2830
2839
  return Ve(x, Y, P) || {};
2831
2840
  }, Fe = {
2832
2841
  type: "hidden",
@@ -2897,9 +2906,9 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
2897
2906
  return l.type === "money" && (l.align = l.align || "right", l.width = l.width || 130, m = `<span title="${Mt(
2898
2907
  parseFloat(m)
2899
2908
  )}">${Na(parseFloat(m))}</span>`), l.prefix && m && (m = `<span>${l.prefix}${m}</span>`), l.suffix && m && (m = `${m}<span>${l.suffix}</span>`), m;
2900
- }, Ue = (l) => {
2909
+ }, Ie = (l) => {
2901
2910
  c.value = Object.fromEntries(v), e.value.table.load();
2902
- }, S = (l) => {
2911
+ }, M = (l) => {
2903
2912
  c.value = l, e.value.table.load();
2904
2913
  }, _ = async (l, o) => {
2905
2914
  var m, $;
@@ -2910,7 +2919,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
2910
2919
  console.error("验证失败:", x);
2911
2920
  return;
2912
2921
  }
2913
- ($ = e.value.control.add(l, o)) != null && $.click ? e.value.control.add(l, o).click(O.value, o) : e.value.control.add(l, o).inline === !0 ? (e.value.table.data.unshift(O.value), r("open", "row-add", { row: O.value })) : (e.value.form.disabled = !1, e.value.form.submit.hidden = !1, e.value.dialog.mode = e.value.control.add(l, o).mode, e.value.dialog.title = e.value.control.add(l, o).title || e.value.control.add(l, o).label || "新增", Object.keys(O.value).forEach((x) => {
2922
+ ($ = e.value.control.add(l, o)) != null && $.click ? e.value.control.add(l, o).click(O.value, o) : e.value.control.add(l, o).inline === !0 ? (e.value.table.data.unshift(O.value), r("open", "row-add", { row: O.value })) : (e.value.form.disabled = !1, e.value.dialog.mode = e.value.control.add(l, o).mode, e.value.dialog.title = e.value.control.add(l, o).title || e.value.control.add(l, o).label || "新增", Object.keys(O.value).forEach((x) => {
2914
2923
  e.value[x] && (e.value[x].value = O.value[x]);
2915
2924
  }), u.value = !0, r("open", "add", { row: O.value, m: o }), gt());
2916
2925
  }, b = async (l, o, m, $) => {
@@ -2922,7 +2931,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
2922
2931
  console.error("验证失败:", P);
2923
2932
  return;
2924
2933
  }
2925
- (Y = e.value.control.edit(l, o, m, $)) != null && Y.click ? e.value.control.edit(l, o, m, $).click(l, o, m, $) : (e.value.form.disabled = !1, e.value.form.submit.hidden = !1, e.value.dialog.mode = e.value.control.edit(l, o, m, $).mode, e.value.dialog.title = e.value.control.edit(l, o, m, $).title || e.value.control.edit(l, o, m, $).label || "编辑", Object.keys(l).forEach((P) => {
2934
+ (Y = e.value.control.edit(l, o, m, $)) != null && Y.click ? e.value.control.edit(l, o, m, $).click(l, o, m, $) : (e.value.form.disabled = !1, e.value.dialog.mode = e.value.control.edit(l, o, m, $).mode, e.value.dialog.title = e.value.control.edit(l, o, m, $).title || e.value.control.edit(l, o, m, $).label || "编辑", Object.keys(l).forEach((P) => {
2926
2935
  e.value[P] && (e.value[P].value = l[P]);
2927
2936
  }), u.value = !0, r("open", "edit", { m: $, row: l, column: o, index: m }), gt());
2928
2937
  }, i = async (l, o, m, $) => {
@@ -2957,7 +2966,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
2957
2966
  console.error("验证失败:", P);
2958
2967
  return;
2959
2968
  }
2960
- (Y = e.value.control.view(l, o, m, $)) != null && Y.click ? e.value.control.view(l, o, m, $).click(l, o, m, $) : (e.value.form.disabled = !0, e.value.form.submit.hidden = !0, e.value.dialog.mode = e.value.control.view(l, o, m, $).mode, e.value.dialog.title = e.value.control.view(l, o, m, $).title || e.value.control.view(l, o, m, $).label || "查看", Object.keys(l).forEach((P) => {
2969
+ (Y = e.value.control.view(l, o, m, $)) != null && Y.click ? e.value.control.view(l, o, m, $).click(l, o, m, $) : (e.value.form.disabled = !0, e.value.dialog.mode = e.value.control.view(l, o, m, $).mode, e.value.dialog.title = e.value.control.view(l, o, m, $).title || e.value.control.view(l, o, m, $).label || "查看", Object.keys(l).forEach((P) => {
2961
2970
  e.value[P] && (e.value[P].value = l[P]);
2962
2971
  }), u.value = !0, r("open", "view", { m: $, row: l, column: o, index: m }), gt());
2963
2972
  }, k = (l, o, m, $) => {
@@ -2971,7 +2980,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
2971
2980
  {},
2972
2981
  Object.fromEntries(
2973
2982
  Object.entries(
2974
- Ie(e.value, (pe, ke) => ke.type != "control" && ke.editor !== !1 && ke.type != "hidden")
2983
+ Re(e.value, (pe, ke) => ke.type != "control" && ke.editor !== !1 && ke.type != "hidden")
2975
2984
  ).map(([pe, ke]) => [pe, ke.value])
2976
2985
  )
2977
2986
  );
@@ -3033,7 +3042,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3033
3042
  },
3034
3043
  o.control.setting(l, o).mode
3035
3044
  );
3036
- }, ee = e.value.control, E = [
3045
+ }, ee = e.value.control, w = [
3037
3046
  { type: "add", func: _ },
3038
3047
  { type: "download", func: X },
3039
3048
  { type: "setting", func: ae },
@@ -3041,7 +3050,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3041
3050
  { type: "edit", func: b },
3042
3051
  { type: "delete", func: i },
3043
3052
  { type: "save", func: k }
3044
- ], g = (l, o, m, $, x) => E.filter((Y) => l.includes(Y.type)).map(({ type: Y, func: P }) => {
3053
+ ], g = (l, o, m, $, x) => w.filter((Y) => l.includes(Y.type)).map(({ type: Y, func: P }) => {
3045
3054
  var pe, ke, Ae;
3046
3055
  return {
3047
3056
  name: `control-${Y}`,
@@ -3051,14 +3060,14 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3051
3060
  sort: ((ke = ee == null ? void 0 : ee[Y](o, m, $, x)) == null ? void 0 : ke.sort) || 0,
3052
3061
  groupName: ((Ae = ee == null ? void 0 : ee[Y](o, m, $, x)) == null ? void 0 : Ae.groupName) || "default"
3053
3062
  };
3054
- }).sort((Y, P) => Y.sort - P.sort), fe = (l, o, m, $, x) => g(l, o, m, $, x).reduce((Y, P) => {
3063
+ }).sort((Y, P) => Y.sort - P.sort), ie = (l, o, m, $, x) => g(l, o, m, $, x).reduce((Y, P) => {
3055
3064
  const pe = P.groupName || "default";
3056
3065
  return Y[pe] || (Y[pe] = []), Y[pe].push(P), Y;
3057
- }, {}), ie = Ke(
3066
+ }, {}), de = Ke(
3058
3067
  () => Object.fromEntries(
3059
3068
  Object.entries(e.value).filter(([l, o]) => o.type !== "hidden").filter(([l, o]) => o.hidden !== !0).filter(([l, o]) => o.visible !== !1).filter(([l, o]) => o.showCol !== !1).map(([l, o]) => (o.sort = typeof o.sort == "number" ? o.sort : 0, [l, o])).sort((l, o) => l[1].sort - o[1].sort)
3060
3069
  )
3061
- ), me = oe({}), be = (l, o) => {
3070
+ ), me = re({}), be = (l, o) => {
3062
3071
  const m = ($, x) => {
3063
3072
  for (const Y of $) {
3064
3073
  if (Y.value == x) return Y.label;
@@ -3104,7 +3113,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3104
3113
  f.value.handleClose();
3105
3114
  else if (e.value.dialog.mode == "dialog")
3106
3115
  try {
3107
- M.value.handleClose();
3116
+ S.value.handleClose();
3108
3117
  } catch {
3109
3118
  u.value = !1;
3110
3119
  }
@@ -3140,7 +3149,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3140
3149
  return nl(() => {
3141
3150
  ne.value = Le();
3142
3151
  }), nt(async () => {
3143
- w.value = Object.entries(e.value).filter(
3152
+ E.value = Object.entries(e.value).filter(
3144
3153
  ([l, o]) => o.type !== "hidden" && o.type !== "control" && o.visible !== !1
3145
3154
  ).map(([l, o]) => ({
3146
3155
  key: l || "",
@@ -3161,25 +3170,25 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3161
3170
  e.value.table.autoWatch || e.value.table.load();
3162
3171
  }), s({ addRow: _, editRow: b, deleteRow: i, readForm: V, saveRowData: k, closeDialog: xe }), (l, o) => {
3163
3172
  var He, Je, lt, rt, ot;
3164
- const m = H("el-icon"), $ = H("el-dialog"), x = H("el-drawer"), Y = H("el-button-group"), P = H("el-dropdown-item"), pe = H("el-dropdown-menu"), ke = H("el-dropdown"), Ae = H("el-table-column"), Be = H("el-table"), Re = H("el-pagination");
3173
+ const m = H("el-icon"), $ = H("el-dialog"), x = H("el-drawer"), Y = H("el-button-group"), P = H("el-dropdown-item"), pe = H("el-dropdown-menu"), ke = H("el-dropdown"), Ae = H("el-table-column"), Be = H("el-table"), Ye = H("el-pagination");
3165
3174
  return p(), R(J, null, [
3166
3175
  e.value.dialog.mode == "dialog" && u.value ? (p(), R("div", $a, [
3167
3176
  te($, I(
3168
3177
  {
3169
3178
  ref_key: "dialogRef",
3170
- ref: M,
3179
+ ref: S,
3171
3180
  id: "dialogRef",
3172
3181
  modelValue: u.value,
3173
3182
  "onUpdate:modelValue": o[3] || (o[3] = (z) => u.value = z),
3174
3183
  fullscreen: e.value.dialog.fullScreen
3175
3184
  },
3176
- N(Ie)(e.value.dialog, (z) => !["size", "max", "min"].includes(z)),
3185
+ N(Re)(e.value.dialog, (z) => !["size", "max", "min"].includes(z)),
3177
3186
  {
3178
3187
  width: N(Xt)(e.value.dialog.width) + 35
3179
3188
  }
3180
3189
  ), {
3181
3190
  header: C(() => {
3182
- var z, de, T, Q, re, Pe, Ne, ze, y, K;
3191
+ var z, ce, T, Q, oe, Pe, Ne, ze, y, K;
3183
3192
  return [
3184
3193
  Z("div", wa, [
3185
3194
  Z("div", Ea, [
@@ -3187,9 +3196,9 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3187
3196
  Z("div", null, Ce(e.value.dialog.title), 1)
3188
3197
  ], !0)
3189
3198
  ]),
3190
- ((de = (z = e.value) == null ? void 0 : z.dialog) == null ? void 0 : de.fullScreen) === !1 ? (p(), R("div", {
3199
+ ((ce = (z = e.value) == null ? void 0 : z.dialog) == null ? void 0 : ce.fullScreen) === !1 ? (p(), R("div", {
3191
3200
  key: 0,
3192
- style: qe((re = (Q = (T = e.value) == null ? void 0 : T.dialog) == null ? void 0 : Q.max) == null ? void 0 : re.style),
3201
+ style: qe((oe = (Q = (T = e.value) == null ? void 0 : T.dialog) == null ? void 0 : Q.max) == null ? void 0 : oe.style),
3193
3202
  onClick: o[0] || (o[0] = (q) => e.value.dialog.fullScreen = !0),
3194
3203
  class: "max"
3195
3204
  }, [
@@ -3202,7 +3211,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3202
3211
  }),
3203
3212
  _: 1
3204
3213
  })
3205
- ], 4)) : ge("", !0),
3214
+ ], 4)) : ye("", !0),
3206
3215
  ((Ne = (Pe = e.value) == null ? void 0 : Pe.dialog) == null ? void 0 : Ne.fullScreen) === !0 ? (p(), R("div", {
3207
3216
  key: 1,
3208
3217
  style: qe((K = (y = (ze = e.value) == null ? void 0 : ze.dialog) == null ? void 0 : y.min) == null ? void 0 : K.style),
@@ -3218,7 +3227,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3218
3227
  }),
3219
3228
  _: 1
3220
3229
  })
3221
- ], 4)) : ge("", !0)
3230
+ ], 4)) : ye("", !0)
3222
3231
  ])
3223
3232
  ];
3224
3233
  }),
@@ -3232,10 +3241,10 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3232
3241
  onReset: F,
3233
3242
  flag: t.value
3234
3243
  }, he({ _: 2 }, [
3235
- W(l.$slots, (z, de, T) => ({
3236
- name: de,
3244
+ W(l.$slots, (z, ce, T) => ({
3245
+ name: ce,
3237
3246
  fn: C((Q) => [
3238
- D(l.$slots, de, { model: Q }, void 0, !0)
3247
+ D(l.$slots, ce, { model: Q }, void 0, !0)
3239
3248
  ])
3240
3249
  }))
3241
3250
  ]), 1032, ["modelValue", "flag"])
@@ -3244,14 +3253,14 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3244
3253
  ]),
3245
3254
  _: 3
3246
3255
  }, 16, ["modelValue", "fullscreen", "width"])
3247
- ])) : ge("", !0),
3256
+ ])) : ye("", !0),
3248
3257
  e.value.dialog.mode == "drawer" && u.value ? (p(), R("div", ka, [
3249
3258
  te(x, I({
3250
3259
  ref_key: "drawerRef",
3251
3260
  ref: f,
3252
3261
  modelValue: u.value,
3253
3262
  "onUpdate:modelValue": o[5] || (o[5] = (z) => u.value = z)
3254
- }, N(Ie)(e.value.dialog, (z) => !["width"].includes(z))), {
3263
+ }, N(Re)(e.value.dialog, (z) => !["width"].includes(z))), {
3255
3264
  header: C(() => [
3256
3265
  Z("div", Ca, [
3257
3266
  Z("div", Da, [
@@ -3270,10 +3279,10 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3270
3279
  onReset: F,
3271
3280
  flag: t.value
3272
3281
  }, he({ _: 2 }, [
3273
- W(l.$slots, (z, de, T) => ({
3274
- name: de,
3282
+ W(l.$slots, (z, ce, T) => ({
3283
+ name: ce,
3275
3284
  fn: C((Q) => [
3276
- D(l.$slots, de, { model: Q }, void 0, !0)
3285
+ D(l.$slots, ce, { model: Q }, void 0, !0)
3277
3286
  ])
3278
3287
  }))
3279
3288
  ]), 1032, ["modelValue", "flag"])
@@ -3281,7 +3290,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3281
3290
  ]),
3282
3291
  _: 3
3283
3292
  }, 16, ["modelValue"])
3284
- ])) : ge("", !0),
3293
+ ])) : ye("", !0),
3285
3294
  Z("div", Sa, [
3286
3295
  ((Je = (He = e.value) == null ? void 0 : He.query) == null ? void 0 : Je.hidden) != !0 ? (p(), R("div", Ma, [
3287
3296
  D(l.$slots, "query", {}, () => [
@@ -3290,13 +3299,13 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3290
3299
  "onUpdate:modelValue": o[6] || (o[6] = (z) => e.value = z),
3291
3300
  info: c.value,
3292
3301
  "onUpdate:info": o[7] || (o[7] = (z) => c.value = z),
3293
- onQuery: S,
3294
- onReset: Ue
3302
+ onQuery: M,
3303
+ onReset: Ie
3295
3304
  }, he({
3296
3305
  "q-btns": C(() => [
3297
3306
  D(l.$slots, "q-btns", {}, () => [
3298
- (p(!0), R(J, null, W(fe(["add", "download", "setting"], O.value, e.value), (z, de) => (p(), R(J, null, [
3299
- de == "default" ? (p(!0), R(J, { key: 0 }, W(z, (T) => (p(), R(J, null, [
3307
+ (p(!0), R(J, null, W(ie(["add", "download", "setting"], O.value, e.value), (z, ce) => (p(), R(J, null, [
3308
+ ce == "default" ? (p(!0), R(J, { key: 0 }, W(z, (T) => (p(), R(J, null, [
3300
3309
  D(l.$slots, T.name + "-left", {}, void 0, !0),
3301
3310
  (T.name === "control-add" ? T.attr.auth() && T.attr.inline === !1 : T.attr.auth()) ? D(l.$slots, T.name, { key: 0 }, () => [
3302
3311
  T.label ? (p(), B(N(Oe), I({
@@ -3304,10 +3313,10 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3304
3313
  title: T.label,
3305
3314
  ref_for: !0
3306
3315
  }, T.attr, {
3307
- onClick: (Q) => T.func(O.value, e.value, w.value)
3316
+ onClick: (Q) => T.func(O.value, e.value, E.value)
3308
3317
  }), {
3309
3318
  default: C(() => [
3310
- Ye(Ce(T.label), 1)
3319
+ Ue(Ce(T.label), 1)
3311
3320
  ]),
3312
3321
  _: 2
3313
3322
  }, 1040, ["title", "onClick"])) : (p(), B(N(Oe), I({
@@ -3315,9 +3324,9 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3315
3324
  title: T.label,
3316
3325
  ref_for: !0
3317
3326
  }, T.attr, {
3318
- onClick: (Q) => T.func(O.value, e.value, w.value)
3327
+ onClick: (Q) => T.func(O.value, e.value, E.value)
3319
3328
  }), null, 16, ["title", "onClick"]))
3320
- ], !0) : ge("", !0),
3329
+ ], !0) : ye("", !0),
3321
3330
  D(l.$slots, T.name + "-right", {}, void 0, !0)
3322
3331
  ], 64))), 256)) : (p(), B(Y, { key: 1 }, {
3323
3332
  default: C(() => [
@@ -3329,10 +3338,10 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3329
3338
  title: T.label,
3330
3339
  ref_for: !0
3331
3340
  }, T.attr, {
3332
- onClick: (Q) => T.func(O.value, e.value, w.value)
3341
+ onClick: (Q) => T.func(O.value, e.value, E.value)
3333
3342
  }), {
3334
3343
  default: C(() => [
3335
- Ye(Ce(T.label), 1)
3344
+ Ue(Ce(T.label), 1)
3336
3345
  ]),
3337
3346
  _: 2
3338
3347
  }, 1040, ["title", "onClick"])) : (p(), B(N(Oe), I({
@@ -3340,9 +3349,9 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3340
3349
  title: T.label,
3341
3350
  ref_for: !0
3342
3351
  }, T.attr, {
3343
- onClick: (Q) => T.func(O.value, e.value, w.value)
3352
+ onClick: (Q) => T.func(O.value, e.value, E.value)
3344
3353
  }), null, 16, ["title", "onClick"]))
3345
- ], !0) : ge("", !0),
3354
+ ], !0) : ye("", !0),
3346
3355
  D(l.$slots, T.name + "-right", {}, void 0, !0)
3347
3356
  ], 64))), 256))
3348
3357
  ]),
@@ -3353,27 +3362,27 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3353
3362
  ]),
3354
3363
  _: 2
3355
3364
  }, [
3356
- W(l.$slots, (z, de, T) => ({
3357
- name: de,
3365
+ W(l.$slots, (z, ce, T) => ({
3366
+ name: ce,
3358
3367
  fn: C((Q) => [
3359
- D(l.$slots, de, { model: e.value }, void 0, !0)
3368
+ D(l.$slots, ce, { model: e.value }, void 0, !0)
3360
3369
  ])
3361
3370
  }))
3362
3371
  ]), 1032, ["modelValue", "info"])
3363
3372
  ], !0)
3364
- ])) : ge("", !0),
3373
+ ])) : ye("", !0),
3365
3374
  Z("div", Ta, [
3366
3375
  te(Be, I({
3367
3376
  ...l.$attrs,
3368
- ...N(Ie)(
3377
+ ...N(Re)(
3369
3378
  e.value.table,
3370
3379
  (z) => !["dblclickType", "page"].includes(z)
3371
3380
  )
3372
3381
  }, {
3373
3382
  "summary-method": (z) => e.value.table["summary-method"](z, { fields: U.value, sums: j.value }),
3374
3383
  onSortChange: o[8] || (o[8] = (z) => {
3375
- var de, T;
3376
- e.value.table.onSortChange(z, c.value), ((de = z == null ? void 0 : z.column) == null ? void 0 : de.sortable) === "custom" && ((T = e.value.table) == null || T.load());
3384
+ var ce, T;
3385
+ e.value.table.onSortChange(z, c.value), ((ce = z == null ? void 0 : z.column) == null ? void 0 : ce.sortable) === "custom" && ((T = e.value.table) == null || T.load());
3377
3386
  })
3378
3387
  }), {
3379
3388
  append: C(() => [
@@ -3384,45 +3393,45 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3384
3393
  ]),
3385
3394
  default: C(() => [
3386
3395
  D(l.$slots, "default", {}, () => [
3387
- (p(!0), R(J, null, W(ie.value, (z, de) => (p(), B(Ae, I({
3388
- prop: de,
3389
- key: de,
3396
+ (p(!0), R(J, null, W(de.value, (z, ce) => (p(), B(Ae, I({
3397
+ prop: ce,
3398
+ key: ce,
3390
3399
  ref_for: !0
3391
3400
  }, {
3392
3401
  ...e.value.tableColumns,
3393
- ...N(Ie)(z, (T) => d.includes(T))
3402
+ ...N(Re)(z, (T) => d.includes(T))
3394
3403
  }), he({
3395
3404
  header: C(({ column: T, $index: Q }) => [
3396
- de == "control" ? D(l.$slots, `${de}-header`, {
3405
+ ce == "control" ? D(l.$slots, `${ce}-header`, {
3397
3406
  key: 0,
3398
3407
  column: T,
3399
3408
  index: Q
3400
3409
  }, () => [
3401
3410
  Z("span", null, Ce(T.label), 1)
3402
- ], !0) : D(l.$slots, `${de}-header`, {
3411
+ ], !0) : D(l.$slots, `${ce}-header`, {
3403
3412
  key: 1,
3404
3413
  column: T,
3405
3414
  index: Q
3406
3415
  }, void 0, !0)
3407
3416
  ]),
3408
3417
  "filter-icon": C((T) => [
3409
- D(l.$slots, `${de}-filter-icon`, { data: T }, void 0, !0)
3418
+ D(l.$slots, `${ce}-filter-icon`, { data: T }, void 0, !0)
3410
3419
  ]),
3411
3420
  _: 2
3412
3421
  }, [
3413
3422
  z.type === "expand" ? {
3414
3423
  name: "default",
3415
- fn: C(({ row: T, column: Q, $index: re }) => [
3416
- D(l.$slots, `${de}`, {
3424
+ fn: C(({ row: T, column: Q, $index: oe }) => [
3425
+ D(l.$slots, `${ce}`, {
3417
3426
  row: T,
3418
3427
  column: Q,
3419
- index: re
3428
+ index: oe
3420
3429
  }, void 0, !0)
3421
3430
  ]),
3422
3431
  key: "0"
3423
3432
  } : z.type == "control" ? {
3424
3433
  name: "default",
3425
- fn: C(({ row: T, column: Q, $index: re }) => {
3434
+ fn: C(({ row: T, column: Q, $index: oe }) => {
3426
3435
  var Pe, Ne;
3427
3436
  return [
3428
3437
  Z("div", {
@@ -3433,32 +3442,32 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3433
3442
  D(l.$slots, "control-left", {
3434
3443
  row: T,
3435
3444
  column: Q,
3436
- index: re
3445
+ index: oe
3437
3446
  }, void 0, !0),
3438
- (p(!0), R(J, null, W(fe(["view", "edit", "delete", "save"], T, Q, re, e.value), (ze, y) => {
3447
+ (p(!0), R(J, null, W(ie(["view", "edit", "delete", "save"], T, Q, oe, e.value), (ze, y) => {
3439
3448
  var K;
3440
3449
  return p(), R(J, null, [
3441
3450
  y == "default" ? (p(!0), R(J, { key: 0 }, W(ze, (q) => (p(), R(J, null, [
3442
3451
  D(l.$slots, q.name + "-left", {
3443
3452
  row: T,
3444
3453
  column: Q,
3445
- index: re
3454
+ index: oe
3446
3455
  }, void 0, !0),
3447
3456
  q.attr.auth() ? D(l.$slots, q.name, {
3448
3457
  key: 0,
3449
3458
  row: T,
3450
3459
  column: Q,
3451
- index: re
3460
+ index: oe
3452
3461
  }, () => [
3453
3462
  q.label ? (p(), B(N(Oe), I({
3454
3463
  key: 0,
3455
3464
  title: q.label,
3456
3465
  ref_for: !0
3457
3466
  }, q.attr, {
3458
- onClick: (Me) => q.func(T, Q, re, e.value)
3467
+ onClick: (Me) => q.func(T, Q, oe, e.value)
3459
3468
  }), {
3460
3469
  default: C(() => [
3461
- Ye(Ce(q.label), 1)
3470
+ Ue(Ce(q.label), 1)
3462
3471
  ]),
3463
3472
  _: 2
3464
3473
  }, 1040, ["title", "onClick"])) : (p(), B(N(Oe), I({
@@ -3466,18 +3475,18 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3466
3475
  title: q.label,
3467
3476
  ref_for: !0
3468
3477
  }, q.attr, {
3469
- onClick: (Me) => q.func(T, Q, re, e.value)
3478
+ onClick: (Me) => q.func(T, Q, oe, e.value)
3470
3479
  }), null, 16, ["title", "onClick"]))
3471
- ], !0) : ge("", !0),
3480
+ ], !0) : ye("", !0),
3472
3481
  D(l.$slots, q.name + "-right", {
3473
3482
  row: T,
3474
3483
  column: Q,
3475
- index: re
3484
+ index: oe
3476
3485
  }, void 0, !0)
3477
- ], 64))), 256)) : y != null && y.startsWith("dropdown") && ((K = ye(T, Q, re, e.value)) != null && K.auth()) ? (p(), B(ke, I({
3486
+ ], 64))), 256)) : y != null && y.startsWith("dropdown") && ((K = ge(T, Q, oe, e.value)) != null && K.auth()) ? (p(), B(ke, I({
3478
3487
  key: 1,
3479
3488
  ref_for: !0
3480
- }, ye(T, Q, re, e.value)), {
3489
+ }, ge(T, Q, oe, e.value)), {
3481
3490
  dropdown: C(() => [
3482
3491
  te(pe, null, {
3483
3492
  default: C(() => [
@@ -3488,8 +3497,8 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3488
3497
  key: 0,
3489
3498
  row: T,
3490
3499
  column: Q,
3491
- index: re
3492
- }, void 0, !0) : ge("", !0),
3500
+ index: oe
3501
+ }, void 0, !0) : ye("", !0),
3493
3502
  q.attr.auth() ? (p(), B(P, I({
3494
3503
  key: 1,
3495
3504
  ref_for: !0
@@ -3502,17 +3511,17 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3502
3511
  D(l.$slots, q.name, {
3503
3512
  row: T,
3504
3513
  column: Q,
3505
- index: re
3514
+ index: oe
3506
3515
  }, () => [
3507
3516
  q.label ? (p(), B(N(Oe), I({
3508
3517
  key: 0,
3509
3518
  title: q.label,
3510
3519
  ref_for: !0
3511
3520
  }, q.attr, {
3512
- onClick: ($t) => q.func(T, Q, re, e.value)
3521
+ onClick: ($t) => q.func(T, Q, oe, e.value)
3513
3522
  }), {
3514
3523
  default: C(() => [
3515
- Ye(Ce(q.label), 1)
3524
+ Ue(Ce(q.label), 1)
3516
3525
  ]),
3517
3526
  _: 2
3518
3527
  }, 1040, ["title", "onClick"])) : (p(), B(N(Oe), I({
@@ -3520,18 +3529,18 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3520
3529
  title: q.label,
3521
3530
  ref_for: !0
3522
3531
  }, q.attr, {
3523
- onClick: ($t) => q.func(T, Q, re, e.value)
3532
+ onClick: ($t) => q.func(T, Q, oe, e.value)
3524
3533
  }), null, 16, ["title", "onClick"]))
3525
3534
  ], !0)
3526
3535
  ]),
3527
3536
  _: 2
3528
- }, 1040)) : ge("", !0),
3537
+ }, 1040)) : ye("", !0),
3529
3538
  l.$slots[q.name + "-right"] ? D(l.$slots, q.name + "-right", {
3530
3539
  key: 2,
3531
3540
  row: T,
3532
3541
  column: Q,
3533
- index: re
3534
- }, void 0, !0) : ge("", !0)
3542
+ index: oe
3543
+ }, void 0, !0) : ye("", !0)
3535
3544
  ], 64);
3536
3545
  }), 256))
3537
3546
  ]),
@@ -3541,7 +3550,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3541
3550
  default: C(() => {
3542
3551
  var q;
3543
3552
  return [
3544
- Ye(Ce((q = ye(T, Q, re, e.value)) == null ? void 0 : q.label) + " ", 1)
3553
+ Ue(Ce((q = ge(T, Q, oe, e.value)) == null ? void 0 : q.label) + " ", 1)
3545
3554
  ];
3546
3555
  }),
3547
3556
  _: 2
@@ -3551,23 +3560,23 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3551
3560
  D(l.$slots, q.name + "-left", {
3552
3561
  row: T,
3553
3562
  column: Q,
3554
- index: re
3563
+ index: oe
3555
3564
  }, void 0, !0),
3556
3565
  q.attr.auth() ? D(l.$slots, q.name, {
3557
3566
  key: 0,
3558
3567
  row: T,
3559
3568
  column: Q,
3560
- index: re
3569
+ index: oe
3561
3570
  }, () => [
3562
3571
  q.label ? (p(), B(N(Oe), I({
3563
3572
  key: 0,
3564
3573
  title: q.label,
3565
3574
  ref_for: !0
3566
3575
  }, q.attr, {
3567
- onClick: (Me) => q.func(T, Q, re, e.value)
3576
+ onClick: (Me) => q.func(T, Q, oe, e.value)
3568
3577
  }), {
3569
3578
  default: C(() => [
3570
- Ye(Ce(q.label), 1)
3579
+ Ue(Ce(q.label), 1)
3571
3580
  ]),
3572
3581
  _: 2
3573
3582
  }, 1040, ["title", "onClick"])) : (p(), B(N(Oe), I({
@@ -3575,13 +3584,13 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3575
3584
  title: q.label,
3576
3585
  ref_for: !0
3577
3586
  }, q.attr, {
3578
- onClick: (Me) => q.func(T, Q, re, e.value)
3587
+ onClick: (Me) => q.func(T, Q, oe, e.value)
3579
3588
  }), null, 16, ["title", "onClick"]))
3580
- ], !0) : ge("", !0),
3589
+ ], !0) : ye("", !0),
3581
3590
  D(l.$slots, q.name + "-right", {
3582
3591
  row: T,
3583
3592
  column: Q,
3584
- index: re
3593
+ index: oe
3585
3594
  }, void 0, !0)
3586
3595
  ], 64))), 256))
3587
3596
  ]),
@@ -3592,7 +3601,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3592
3601
  D(l.$slots, "control-right", {
3593
3602
  row: T,
3594
3603
  column: Q,
3595
- index: re
3604
+ index: oe
3596
3605
  }, void 0, !0)
3597
3606
  ], !0)
3598
3607
  ], 6)
@@ -3601,22 +3610,22 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3601
3610
  key: "1"
3602
3611
  } : z.type != "selection" && z.type != "index" ? {
3603
3612
  name: "default",
3604
- fn: C(({ row: T, column: Q, $index: re }) => [
3605
- we(z, T, Q, re) && re != -1 ? D(l.$slots, `${de}`, {
3613
+ fn: C(({ row: T, column: Q, $index: oe }) => [
3614
+ we(z, T, Q, oe) && oe != -1 ? D(l.$slots, `${ce}`, {
3606
3615
  key: 0,
3607
3616
  row: T,
3608
3617
  column: Q,
3609
- index: re
3618
+ index: oe
3610
3619
  }, () => {
3611
3620
  var Pe;
3612
3621
  return [
3613
3622
  (p(), B(bt, {
3614
- modelValue: T[de],
3615
- "onUpdate:modelValue": (Ne) => T[de] = Ne,
3616
- item: z == null ? void 0 : z.table(T, Q, re),
3617
- ctrlKey: de,
3618
- key: `${de}-${re} -${ue.value}`,
3619
- ctrlType: (Pe = z.table(T, Q, re)) != null && Pe.type ? z.table(T, Q, re).type : z.type,
3623
+ modelValue: T[ce],
3624
+ "onUpdate:modelValue": (Ne) => T[ce] = Ne,
3625
+ item: z == null ? void 0 : z.table(T, Q, oe),
3626
+ ctrlKey: ce,
3627
+ key: `${ce}-${oe} -${ue.value}`,
3628
+ ctrlType: (Pe = z.table(T, Q, oe)) != null && Pe.type ? z.table(T, Q, oe).type : z.type,
3620
3629
  model: e.value,
3621
3630
  class: "g-ctrl-container",
3622
3631
  t: "t",
@@ -3634,17 +3643,17 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3634
3643
  }))
3635
3644
  ]), 1032, ["modelValue", "onUpdate:modelValue", "item", "ctrlKey", "ctrlType", "model", "formInfo"]))
3636
3645
  ];
3637
- }, !0) : D(l.$slots, `${de}`, {
3646
+ }, !0) : D(l.$slots, `${ce}`, {
3638
3647
  key: 1,
3639
3648
  row: T,
3640
3649
  column: Q,
3641
- index: re
3650
+ index: oe
3642
3651
  }, () => [
3643
3652
  Z("div", {
3644
3653
  style: qe([{ width: "100%", "text-overflow": "ellipsis", overflow: "hidden" }, z == null ? void 0 : z.style]),
3645
3654
  innerHTML: le(
3646
3655
  z,
3647
- Q.formatter(T, Q, T[de], re)
3656
+ Q.formatter(T, Q, T[ce], oe)
3648
3657
  )
3649
3658
  }, null, 12, Fa)
3650
3659
  ], !0)
@@ -3656,8 +3665,8 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3656
3665
  ]),
3657
3666
  _: 3
3658
3667
  }, 16, ["summary-method"]),
3659
- (ot = (rt = (lt = e.value) == null ? void 0 : lt.table) == null ? void 0 : rt.page) != null && ot.hidden ? ge("", !0) : D(l.$slots, "page", { key: 0 }, () => [
3660
- te(Re, I({
3668
+ (ot = (rt = (lt = e.value) == null ? void 0 : lt.table) == null ? void 0 : rt.page) != null && ot.hidden ? ye("", !0) : D(l.$slots, "page", { key: 0 }, () => [
3669
+ te(Ye, I({
3661
3670
  "page-size": e.value.table.page.pageSize,
3662
3671
  "onUpdate:pageSize": o[9] || (o[9] = (z) => e.value.table.page.pageSize = z),
3663
3672
  "current-page": e.value.table.page.currentPage,
@@ -3674,7 +3683,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3674
3683
  ], 64);
3675
3684
  };
3676
3685
  }
3677
- }), Va = /* @__PURE__ */ Ze(xa, [["__scopeId", "data-v-5c8661be"]]), qa = { class: "g-tree-table" }, Aa = { class: "g-tree-container" }, Ba = { class: "g-tree-table-container" }, Oa = /* @__PURE__ */ Object.assign({
3686
+ }), Va = /* @__PURE__ */ Ze(xa, [["__scopeId", "data-v-fb56cac4"]]), qa = { class: "g-tree-table" }, Aa = { class: "g-tree-container" }, Ba = { class: "g-tree-table-container" }, Oa = /* @__PURE__ */ Object.assign({
3678
3687
  name: "g-tree-table",
3679
3688
  inheritAttrs: !1
3680
3689
  }, {
@@ -3685,23 +3694,23 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3685
3694
  },
3686
3695
  emits: /* @__PURE__ */ Xe(["load"], ["update:modelValue"]),
3687
3696
  setup(n, { emit: s }) {
3688
- var w, L, j, U;
3689
- const a = s, t = Qe(n, "modelValue"), r = Ft(), e = oe(
3690
- typeof ((w = r == null ? void 0 : r.tree) == null ? void 0 : w.width) == "number" ? `${r.tree.width}px` : ((L = r == null ? void 0 : r.tree) == null ? void 0 : L.width) || "180px"
3691
- ), h = oe(((j = r == null ? void 0 : r.tree) == null ? void 0 : j.search) === void 0 ? !0 : (U = r == null ? void 0 : r.tree) == null ? void 0 : U.search), c = oe({}), M = oe(""), f = oe(null), v = (O, ue) => {
3692
- var _e, ce;
3697
+ var E, L, j, U;
3698
+ const a = s, t = Qe(n, "modelValue"), r = Ft(), e = re(
3699
+ typeof ((E = r == null ? void 0 : r.tree) == null ? void 0 : E.width) == "number" ? `${r.tree.width}px` : ((L = r == null ? void 0 : r.tree) == null ? void 0 : L.width) || "180px"
3700
+ ), h = re(((j = r == null ? void 0 : r.tree) == null ? void 0 : j.search) === void 0 ? !0 : (U = r == null ? void 0 : r.tree) == null ? void 0 : U.search), c = re({}), S = re(""), f = re(null), v = (O, ue) => {
3701
+ var _e, fe;
3693
3702
  if (!O) return !0;
3694
- const ne = ((ce = (_e = r.tree) == null ? void 0 : _e.props) == null ? void 0 : ce.label) || "label";
3703
+ const ne = ((fe = (_e = r.tree) == null ? void 0 : _e.props) == null ? void 0 : fe.label) || "label";
3695
3704
  return ue[ne].includes(O);
3696
3705
  }, u = (O, ue) => {
3697
3706
  a("load", c.value, O, ue);
3698
3707
  }, d = (O) => {
3699
3708
  c.value = O, t.value.table.load();
3700
3709
  };
3701
- return ul(M, (O) => {
3710
+ return ul(S, (O) => {
3702
3711
  f.value.filter(O);
3703
3712
  }), (O, ue) => {
3704
- const ne = H("el-input"), _e = H("el-tree"), ce = H("g-table");
3713
+ const ne = H("el-input"), _e = H("el-tree"), fe = H("g-table");
3705
3714
  return p(), R("div", qa, [
3706
3715
  Z("div", {
3707
3716
  class: "g-tree-left",
@@ -3709,12 +3718,12 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3709
3718
  }, [
3710
3719
  h.value ? (p(), B(ne, {
3711
3720
  key: 0,
3712
- modelValue: M.value,
3713
- "onUpdate:modelValue": ue[0] || (ue[0] = (se) => M.value = se),
3721
+ modelValue: S.value,
3722
+ "onUpdate:modelValue": ue[0] || (ue[0] = (se) => S.value = se),
3714
3723
  style: { width: "100%", "box-sizing": "border-box", "margin-bottom": "10px" },
3715
3724
  placeholder: "输入节点查询",
3716
3725
  clearable: ""
3717
- }, null, 8, ["modelValue"])) : ge("", !0),
3726
+ }, null, 8, ["modelValue"])) : ye("", !0),
3718
3727
  Z("div", Aa, [
3719
3728
  te(_e, I({
3720
3729
  style: { width: e.value },
@@ -3724,34 +3733,34 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3724
3733
  ref: f,
3725
3734
  onNodeClick: d
3726
3735
  }, O.$attrs.tree), he({
3727
- default: C(({ node: se, data: ye }) => [
3736
+ default: C(({ node: se, data: ge }) => [
3728
3737
  D(O.$slots, "tree", {
3729
3738
  node: se,
3730
- data: ye
3739
+ data: ge
3731
3740
  }, () => [
3732
3741
  Z("span", null, Ce(se.label), 1)
3733
3742
  ], !0)
3734
3743
  ]),
3735
3744
  _: 2
3736
3745
  }, [
3737
- W(O.$slots, (se, ye, Fe) => ({
3738
- name: ye,
3746
+ W(O.$slots, (se, ge, Fe) => ({
3747
+ name: ge,
3739
3748
  fn: C((Se) => [
3740
- D(O.$slots, ye, { data: Se }, void 0, !0)
3749
+ D(O.$slots, ge, { data: Se }, void 0, !0)
3741
3750
  ])
3742
3751
  }))
3743
3752
  ]), 1040, ["style"])
3744
3753
  ])
3745
3754
  ], 4),
3746
3755
  Z("div", Ba, [
3747
- te(ce, I({
3756
+ te(fe, I({
3748
3757
  modelValue: t.value,
3749
3758
  "onUpdate:modelValue": ue[1] || (ue[1] = (se) => t.value = se)
3750
3759
  }, O.$attrs, { onLoad: u }), he({ _: 2 }, [
3751
- W(O.$slots, (se, ye, Fe) => ({
3752
- name: ye,
3760
+ W(O.$slots, (se, ge, Fe) => ({
3761
+ name: ge,
3753
3762
  fn: C((Se) => [
3754
- D(O.$slots, ye, { data: Se }, void 0, !0)
3763
+ D(O.$slots, ge, { data: Se }, void 0, !0)
3755
3764
  ])
3756
3765
  }))
3757
3766
  ]), 1040, ["modelValue"])
@@ -3794,7 +3803,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3794
3803
  key: r.key
3795
3804
  }, [
3796
3805
  D(a.$slots, `${n.t}-title-${r.key}`, { col: r }, () => [
3797
- Ye(Ce(r.label), 1)
3806
+ Ue(Ce(r.label), 1)
3798
3807
  ], !0)
3799
3808
  ], 4))), 128))
3800
3809
  ])) : (p(), R("div", Ya, [
@@ -3804,7 +3813,7 @@ const ba = /* @__PURE__ */ Ht(ga), $a = { key: 0 }, wa = { style: { display: "fl
3804
3813
  title: n.data[r.key]
3805
3814
  }, [
3806
3815
  D(a.$slots, `${n.t}-option-${r.key}`, { col: r }, () => [
3807
- Ye(Ce(n.data[r.key] ?? "-"), 1)
3816
+ Ue(Ce(n.data[r.key] ?? "-"), 1)
3808
3817
  ], !0)
3809
3818
  ], 12, Ra))), 128))
3810
3819
  ]));
@@ -3826,14 +3835,14 @@ const tr = {
3826
3835
  const r = ja(s);
3827
3836
  if (!r) return () => {
3828
3837
  };
3829
- const e = oe(!0), h = sl({
3838
+ const e = re(!0), h = sl({
3830
3839
  setup() {
3831
3840
  return t = () => {
3832
3841
  e.value = !1, setTimeout(() => {
3833
3842
  h.unmount(), a.remove();
3834
3843
  }, 300);
3835
3844
  }, () => {
3836
- var c, M, f;
3845
+ var c, S, f;
3837
3846
  return Ee(r, {
3838
3847
  modelValue: e.value,
3839
3848
  "onUpdate:modelValue": (v) => e.value = v,
@@ -3846,7 +3855,7 @@ const tr = {
3846
3855
  ...n
3847
3856
  }, {
3848
3857
  default: (c = n.slots) == null ? void 0 : c.default,
3849
- header: (M = n.slots) == null ? void 0 : M.header,
3858
+ header: (S = n.slots) == null ? void 0 : S.header,
3850
3859
  footer: (f = n.slots) == null ? void 0 : f.footer
3851
3860
  });
3852
3861
  };
@@ -3881,7 +3890,7 @@ function Xt(n, s = window.innerWidth) {
3881
3890
  throw new Error("Invalid calc expression");
3882
3891
  };
3883
3892
  const r = n.slice(5, -1).trim();
3884
- return e(r.replace(/([0-9.]+)([a-z%]+)/g, (c, M, f) => Xt(M + f, s)));
3893
+ return e(r.replace(/([0-9.]+)([a-z%]+)/g, (c, S, f) => Xt(S + f, s)));
3885
3894
  }
3886
3895
  throw new Error("Unsupported unit in value: " + n);
3887
3896
  }
@@ -3891,7 +3900,7 @@ const Ve = (...n) => {
3891
3900
  }), t);
3892
3901
  return n.forEach((t = {}) => a(s, t)), s;
3893
3902
  };
3894
- function Ie(n, s = (a, t) => s(a, t)) {
3903
+ function Re(n, s = (a, t) => s(a, t)) {
3895
3904
  const a = {};
3896
3905
  for (const t in n)
3897
3906
  n.hasOwnProperty(t) && s(t, n[t]) && (a[t] = n[t]);
@@ -3922,8 +3931,8 @@ function Mt(n) {
3922
3931
  e = e || "整", n = Math.floor(n);
3923
3932
  for (let h = 0; h < t[0].length && n > 0; h++) {
3924
3933
  let c = "";
3925
- for (let M = 0; M < t[1].length && n > 0; M++)
3926
- c = a[n % 10] + t[1][M] + c, n = Math.floor(n / 10);
3934
+ for (let S = 0; S < t[1].length && n > 0; S++)
3935
+ c = a[n % 10] + t[1][S] + c, n = Math.floor(n / 10);
3927
3936
  e = c.replace(/(零.)*零$/, "").replace(/^$/, "零") + t[0][h] + e;
3928
3937
  }
3929
3938
  return r + e.replace(/(零.)*零元/, "元").replace(/(零.)+/g, "零").replace(/^整$/, "零元整");
@@ -3993,13 +4002,13 @@ const De = {
3993
4002
  }, Xa = (n, s) => {
3994
4003
  let a = !1, t, r, e, h;
3995
4004
  const c = (v) => {
3996
- v.preventDefault(), a = !0, t = v.clientX, r = v.clientY, e = parseInt(document.defaultView.getComputedStyle(n).width), h = parseInt(document.defaultView.getComputedStyle(n).height), document.addEventListener("mousemove", M), document.addEventListener("mouseup", f);
3997
- }, M = (v) => {
4005
+ v.preventDefault(), a = !0, t = v.clientX, r = v.clientY, e = parseInt(document.defaultView.getComputedStyle(n).width), h = parseInt(document.defaultView.getComputedStyle(n).height), document.addEventListener("mousemove", S), document.addEventListener("mouseup", f);
4006
+ }, S = (v) => {
3998
4007
  if (!a) return;
3999
4008
  const u = Math.max(300, e + v.clientX - t), d = Math.max(200, h + v.clientY - r);
4000
4009
  n.style.width = `${u}px`, n.style.height = `${d}px`;
4001
4010
  }, f = () => {
4002
- a = !1, document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", f);
4011
+ a = !1, document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", f);
4003
4012
  };
4004
4013
  s.addEventListener("mousedown", c);
4005
4014
  };
@@ -4008,7 +4017,7 @@ export {
4008
4017
  gt as bindResize,
4009
4018
  Xt as convertToPx,
4010
4019
  tr as default,
4011
- Ie as filterObject,
4020
+ Re as filterObject,
4012
4021
  Pa as findTreeLabelByValue,
4013
4022
  Na as formatAmount,
4014
4023
  Ve as mergeObjects,