vue-2024-ui 0.2.99 → 0.2.100

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
@@ -179,15 +179,15 @@ var Sl = {
179
179
  }
180
180
  }
181
181
  }, sa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
182
- function Tl(n) {
183
- return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
182
+ function Tl(r) {
183
+ return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
184
184
  }
185
185
  var El = { exports: {} };
186
- (function(n, i) {
186
+ (function(r, i) {
187
187
  (function(e, l) {
188
- n.exports = l();
188
+ r.exports = l();
189
189
  })(sa, function() {
190
- var e = 1e3, l = 6e4, r = 36e5, u = "millisecond", t = "second", d = "minute", M = "hour", f = "day", v = "week", c = "month", o = "quarter", p = "year", q = "date", L = "Invalid Date", T = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|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(N) {
190
+ var e = 1e3, l = 6e4, n = 36e5, u = "millisecond", t = "second", d = "minute", M = "hour", f = "day", v = "week", c = "month", o = "quarter", p = "year", q = "date", L = "Invalid Date", T = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|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(N) {
191
191
  var I = ["th", "st", "nd", "rd"], g = N % 100;
192
192
  return "[" + N + (I[(g - 20) % 10] || I[g] || I[0]) + "]";
193
193
  } }, le = function(N, I, g) {
@@ -208,8 +208,8 @@ var El = { exports: {} };
208
208
  return N === void 0;
209
209
  } }, Q = "en", de = {};
210
210
  de[Q] = ue;
211
- var we = "$isDayjsObject", Te = function(N) {
212
- return N instanceof he || !(!N || !N[we]);
211
+ var me = "$isDayjsObject", Se = function(N) {
212
+ return N instanceof ye || !(!N || !N[me]);
213
213
  }, Ye = function N(I, g, _) {
214
214
  var w;
215
215
  if (!I) return Q;
@@ -223,17 +223,17 @@ var El = { exports: {} };
223
223
  de[S] = I, w = S;
224
224
  }
225
225
  return !_ && w && (Q = w), w || !_ && Q;
226
- }, me = function(N, I) {
227
- if (Te(N)) return N.clone();
226
+ }, he = function(N, I) {
227
+ if (Se(N)) return N.clone();
228
228
  var g = typeof I == "object" ? I : {};
229
- return g.date = N, g.args = arguments, new he(g);
229
+ return g.date = N, g.args = arguments, new ye(g);
230
230
  }, R = H;
231
- R.l = Ye, R.i = Te, R.w = function(N, I) {
232
- return me(N, { locale: I.$L, utc: I.$u, x: I.$x, $offset: I.$offset });
231
+ R.l = Ye, R.i = Se, R.w = function(N, I) {
232
+ return he(N, { locale: I.$L, utc: I.$u, x: I.$x, $offset: I.$offset });
233
233
  };
234
- var he = function() {
234
+ var ye = function() {
235
235
  function N(g) {
236
- this.$L = Ye(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[we] = !0;
236
+ this.$L = Ye(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[me] = !0;
237
237
  }
238
238
  var I = N.prototype;
239
239
  return I.parse = function(g) {
@@ -259,12 +259,12 @@ var El = { exports: {} };
259
259
  }, I.isValid = function() {
260
260
  return this.$d.toString() !== L;
261
261
  }, I.isSame = function(g, _) {
262
- var w = me(g);
262
+ var w = he(g);
263
263
  return this.startOf(_) <= w && w <= this.endOf(_);
264
264
  }, I.isAfter = function(g, _) {
265
- return me(g) < this.startOf(_);
265
+ return he(g) < this.startOf(_);
266
266
  }, I.isBefore = function(g, _) {
267
- return this.endOf(_) < me(g);
267
+ return this.endOf(_) < he(g);
268
268
  }, I.$g = function(g, _, w) {
269
269
  return R.u(g) ? this[_] : this.set(w, g);
270
270
  }, I.unix = function() {
@@ -272,11 +272,11 @@ var El = { exports: {} };
272
272
  }, I.valueOf = function() {
273
273
  return this.$d.getTime();
274
274
  }, I.startOf = function(g, _) {
275
- var w = this, m = !!R.u(_) || _, V = R.p(g), S = function(ze, be) {
276
- var se = R.w(w.$u ? Date.UTC(w.$y, be, ze) : new Date(w.$y, be, ze), w);
275
+ var w = this, m = !!R.u(_) || _, V = R.p(g), S = function(ze, we) {
276
+ var se = R.w(w.$u ? Date.UTC(w.$y, we, ze) : new Date(w.$y, we, ze), w);
277
277
  return m ? se : se.endOf(f);
278
- }, A = function(ze, be) {
279
- return R.w(w.toDate()[ze].apply(w.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(be)), w);
278
+ }, A = function(ze, we) {
279
+ return R.w(w.toDate()[ze].apply(w.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(we)), w);
280
280
  }, J = this.$W, ee = this.$M, ke = this.$D, Ae = "set" + (this.$u ? "UTC" : "");
281
281
  switch (V) {
282
282
  case p:
@@ -315,29 +315,29 @@ var El = { exports: {} };
315
315
  var w, m = this;
316
316
  g = Number(g);
317
317
  var V = R.p(_), S = function(ee) {
318
- var ke = me(m);
318
+ var ke = he(m);
319
319
  return R.w(ke.date(ke.date() + Math.round(ee * g)), m);
320
320
  };
321
321
  if (V === c) return this.set(c, this.$M + g);
322
322
  if (V === p) return this.set(p, this.$y + g);
323
323
  if (V === f) return S(1);
324
324
  if (V === v) return S(7);
325
- var A = (w = {}, w[d] = l, w[M] = r, w[t] = e, w)[V] || 1, J = this.$d.getTime() + g * A;
325
+ var A = (w = {}, w[d] = l, w[M] = n, w[t] = e, w)[V] || 1, J = this.$d.getTime() + g * A;
326
326
  return R.w(J, this);
327
327
  }, I.subtract = function(g, _) {
328
328
  return this.add(-1 * g, _);
329
329
  }, I.format = function(g) {
330
330
  var _ = this, w = this.$locale();
331
331
  if (!this.isValid()) return w.invalidDate || L;
332
- var m = g || "YYYY-MM-DDTHH:mm:ssZ", V = R.z(this), S = this.$H, A = this.$m, J = this.$M, ee = w.weekdays, ke = w.months, Ae = w.meridiem, ae = function(be, se, Ge, z) {
333
- return be && (be[se] || be(_, m)) || Ge[se].slice(0, z);
334
- }, ve = function(be) {
335
- return R.s(S % 12 || 12, be, "0");
336
- }, ze = Ae || function(be, se, Ge) {
337
- var z = be < 12 ? "AM" : "PM";
332
+ var m = g || "YYYY-MM-DDTHH:mm:ssZ", V = R.z(this), S = this.$H, A = this.$m, J = this.$M, ee = w.weekdays, ke = w.months, Ae = w.meridiem, ae = function(we, se, Ge, z) {
333
+ return we && (we[se] || we(_, m)) || Ge[se].slice(0, z);
334
+ }, ve = function(we) {
335
+ return R.s(S % 12 || 12, we, "0");
336
+ }, ze = Ae || function(we, se, Ge) {
337
+ var z = we < 12 ? "AM" : "PM";
338
338
  return Ge ? z.toLowerCase() : z;
339
339
  };
340
- return m.replace(k, function(be, se) {
340
+ return m.replace(k, function(we, se) {
341
341
  return se || function(Ge) {
342
342
  switch (Ge) {
343
343
  case "YY":
@@ -390,12 +390,12 @@ var El = { exports: {} };
390
390
  return V;
391
391
  }
392
392
  return null;
393
- }(be) || V.replace(":", "");
393
+ }(we) || V.replace(":", "");
394
394
  });
395
395
  }, I.utcOffset = function() {
396
396
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
397
397
  }, I.diff = function(g, _, w) {
398
- var m, V = this, S = R.p(_), A = me(g), J = (A.utcOffset() - this.utcOffset()) * l, ee = this - A, ke = function() {
398
+ var m, V = this, S = R.p(_), A = he(g), J = (A.utcOffset() - this.utcOffset()) * l, ee = this - A, ke = function() {
399
399
  return R.m(V, A);
400
400
  };
401
401
  switch (S) {
@@ -415,7 +415,7 @@ var El = { exports: {} };
415
415
  m = (ee - J) / 864e5;
416
416
  break;
417
417
  case M:
418
- m = ee / r;
418
+ m = ee / n;
419
419
  break;
420
420
  case d:
421
421
  m = ee / l;
@@ -446,23 +446,23 @@ var El = { exports: {} };
446
446
  }, I.toString = function() {
447
447
  return this.$d.toUTCString();
448
448
  }, N;
449
- }(), Oe = he.prototype;
450
- return me.prototype = Oe, [["$ms", u], ["$s", t], ["$m", d], ["$H", M], ["$W", f], ["$M", c], ["$y", p], ["$D", q]].forEach(function(N) {
449
+ }(), Oe = ye.prototype;
450
+ return he.prototype = Oe, [["$ms", u], ["$s", t], ["$m", d], ["$H", M], ["$W", f], ["$M", c], ["$y", p], ["$D", q]].forEach(function(N) {
451
451
  Oe[N[1]] = function(I) {
452
452
  return this.$g(I, N[0], N[1]);
453
453
  };
454
- }), me.extend = function(N, I) {
455
- return N.$i || (N(I, he, me), N.$i = !0), me;
456
- }, me.locale = Ye, me.isDayjs = Te, me.unix = function(N) {
457
- return me(1e3 * N);
458
- }, me.en = de[Q], me.Ls = de, me.p = {}, me;
454
+ }), he.extend = function(N, I) {
455
+ return N.$i || (N(I, ye, he), N.$i = !0), he;
456
+ }, he.locale = Ye, he.isDayjs = Se, he.unix = function(N) {
457
+ return he(1e3 * N);
458
+ }, he.en = de[Q], he.Ls = de, he.p = {}, he;
459
459
  });
460
460
  })(El);
461
461
  var ia = El.exports;
462
- const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
463
- const e = n.__vccOpts || n;
464
- for (const [l, r] of i)
465
- e[l] = r;
462
+ const Yt = /* @__PURE__ */ Tl(ia), rt = (r, i) => {
463
+ const e = r.__vccOpts || r;
464
+ for (const [l, n] of i)
465
+ e[l] = n;
466
466
  return e;
467
467
  }, da = { style: { width: "var(--up-width)", height: "var(--up-height)", position: "relative", "box-sizing": "border-box" } }, ca = ["innerHTML"], fa = ["innerHTML"], va = ["title"], pa = ["innerHTML"], ma = ["innerHTML"], ha = ["innerHTML"], ya = ["innerHTML"], ga = ["innerHTML"], ba = ["innerHTML"], wa = ["innerHTML"], $a = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
468
468
  __name: "g-ctrl",
@@ -471,17 +471,17 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
471
471
  modelModifiers: {}
472
472
  }),
473
473
  emits: ["update:modelValue"],
474
- setup(n) {
475
- var I, g, _, w, m, V, S, A, J, ee, ke, Ae, ae, ve, ze, be, se, Ge;
476
- const i = n, e = ne(i.item || {}), l = ot(n, "modelValue"), r = ne(i.ctrlKey), u = ne(i.ctrlType), t = ne(i.model), d = ne([]), M = ne([]), f = ne(!1), v = ne(!1), c = ne(0), o = ne((g = (I = t == null ? void 0 : t.value) == null ? void 0 : I.form) != null && g["default-placeholder"] ? (w = (_ = t == null ? void 0 : t.value) == null ? void 0 : _[r == null ? void 0 : r.value]) == null ? void 0 : w.label : "");
474
+ setup(r) {
475
+ var I, g, _, w, m, V, S, A, J, ee, ke, Ae, ae, ve, ze, we, se, Ge;
476
+ const i = r, e = ne(i.item || {}), l = ot(r, "modelValue"), n = ne(i.ctrlKey), u = ne(i.ctrlType), t = ne(i.model), d = ne([]), M = ne([]), f = ne(!1), v = ne(!1), c = ne(0), o = ne((g = (I = t == null ? void 0 : t.value) == null ? void 0 : I.form) != null && g["default-placeholder"] ? (w = (_ = t == null ? void 0 : t.value) == null ? void 0 : _[n == null ? void 0 : n.value]) == null ? void 0 : w.label : "");
477
477
  !((m = u.value) != null && m.startsWith("text")) && !((V = u.value) != null && V.startsWith("link")) && !((S = u.value) != null && S.startsWith("tag")) && !((A = u.value) != null && A.startsWith("div")) && !((J = u.value) != null && J.startsWith("span")) && !((ee = u.value) != null && ee.startsWith("avatar")) && ((ke = e.value) != null && ke.style || (e.value.style = { width: ((ae = (Ae = e.value) == null ? void 0 : Ae.style) == null ? void 0 : ae.width) || "100%" }));
478
478
  const p = ne({ display: "flex", flex: 1 });
479
479
  let q = i.t === "t" ? "center" : "flex-start";
480
- ((ve = e.value) == null ? void 0 : ve.align) == "right" ? q = "flex-end" : ((ze = e.value) == null ? void 0 : ze.align) == "left" ? q = "flex-start" : ((be = e.value) == null ? void 0 : be.align) == "center" && (q = "center");
480
+ ((ve = e.value) == null ? void 0 : ve.align) == "right" ? q = "flex-end" : ((ze = e.value) == null ? void 0 : ze.align) == "left" ? q = "flex-start" : ((we = e.value) == null ? void 0 : we.align) == "center" && (q = "center");
481
481
  const L = ((se = e.value) == null ? void 0 : se.style) || {};
482
482
  p.value = { ...p.value, justifyContent: q, ...L };
483
483
  const T = () => {
484
- const z = yl(), E = Object.keys(z), G = `${i.t}-${r.value}-`;
484
+ const z = yl(), E = Object.keys(z), G = `${i.t}-${n.value}-`;
485
485
  return E.filter((Re) => Re.startsWith(G)).map((Re) => Re.replace(G, ""));
486
486
  }, k = ne({
487
487
  multiple: !1,
@@ -529,7 +529,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
529
529
  M.value = E;
530
530
  });
531
531
  });
532
- }), we = async (z = "options") => {
532
+ }), me = async (z = "options") => {
533
533
  var E;
534
534
  try {
535
535
  const G = await ((E = e.value) == null ? void 0 : E.getDicts(i.formInfo));
@@ -546,12 +546,12 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
546
546
  } catch (G) {
547
547
  throw console.error("获取选项失败:", G), G;
548
548
  }
549
- }, Te = () => {
549
+ }, Se = () => {
550
550
  var z, E;
551
551
  e.value.noSearch !== !0 && i.t === "q" && ((E = (z = t.value) == null ? void 0 : z.table) == null || E.load());
552
552
  }, Ye = (z) => {
553
553
  z.preventDefault(), z.stopPropagation(), l.value = "";
554
- }, me = (z) => {
554
+ }, he = (z) => {
555
555
  var E;
556
556
  if (e.value["file-list"] && e.value["file-list"].length > 0) {
557
557
  const G = e.value["file-list"].findIndex(
@@ -575,7 +575,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
575
575
  } else
576
576
  c.value = 0;
577
577
  f.value = !0;
578
- }, he = ne(null), Oe = (z, E = 2) => {
578
+ }, ye = ne(null), Oe = (z, E = 2) => {
579
579
  if (z === "") {
580
580
  l.value = "";
581
581
  return;
@@ -593,9 +593,9 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
593
593
  };
594
594
  xt(async () => {
595
595
  var G, De, qe, Re, lt;
596
- e.value && e.value["remote-method"] && (Q.value["remote-method"] = de), (De = (G = t.value[r.value]) == null ? void 0 : G.options) != null && De.length && (M.value = t.value[r.value].options);
597
- const z = (Xe, Je = "options", Ke = t.value[r.value]) => {
598
- typeof e.value.getDicts == "function" && we(Je).catch((et) => {
596
+ e.value && e.value["remote-method"] && (Q.value["remote-method"] = de), (De = (G = t.value[n.value]) == null ? void 0 : G.options) != null && De.length && (M.value = t.value[n.value].options);
597
+ const z = (Xe, Je = "options", Ke = t.value[n.value]) => {
598
+ typeof e.value.getDicts == "function" && me(Je).catch((et) => {
599
599
  console.error(`Failed to load ${Je} for ${Xe}:`, et);
600
600
  });
601
601
  };
@@ -631,7 +631,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
631
631
  (et = (Ke = t.value) == null ? void 0 : Ke.table) == null || et.load();
632
632
  });
633
633
  }
634
- u.value == "image" && (e.value.width && ((qe = he.value) != null && qe.$el) && he.value.$el.style.setProperty("--up-width", typeof e.value.width == "number" ? e.value.width + "px" : e.value.width), e.value.height && ((Re = he.value) != null && Re.$el) && he.value.$el.style.setProperty("--up-height", typeof e.value.height == "number" ? e.value.height + "px" : e.value.height), e.value.fontSize && ((lt = he.value) != null && lt.$el) && he.value.$el.style.setProperty("--up-font-size", typeof e.value.fontSize == "number" ? e.value.fontSize + "px" : e.value.fontSize));
634
+ u.value == "image" && (e.value.width && ((qe = ye.value) != null && qe.$el) && ye.value.$el.style.setProperty("--up-width", typeof e.value.width == "number" ? e.value.width + "px" : e.value.width), e.value.height && ((Re = ye.value) != null && Re.$el) && ye.value.$el.style.setProperty("--up-height", typeof e.value.height == "number" ? e.value.height + "px" : e.value.height), e.value.fontSize && ((lt = ye.value) != null && lt.$el) && ye.value.$el.style.setProperty("--up-font-size", typeof e.value.fontSize == "number" ? e.value.fontSize + "px" : e.value.fontSize));
635
635
  });
636
636
  const N = We(() => {
637
637
  var z;
@@ -639,7 +639,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
639
639
  });
640
640
  return (z, E) => {
641
641
  var st, te, ce, fe, vt, pt, it, dt, bt, X, ct, wt, $t, Vt, Zt, Jt, Kt, el, tl, ll, al, nl, rl, ol, ul, sl, il, dl;
642
- const G = F("el-image-viewer"), De = F("el-radio"), qe = F("el-radio-group"), Re = F("el-radio-button"), lt = F("el-checkbox"), Xe = F("el-checkbox-group"), Je = F("el-checkbox-button"), Ke = F("g-select-option"), et = F("el-option"), Mt = F("el-select"), St = F("el-tree-select"), a = F("el-time-picker"), s = F("el-time-select"), y = F("el-date-picker"), C = F("el-color-picker"), O = F("el-rate"), B = F("el-slider"), P = F("el-switch"), $e = F("el-transfer"), Se = F("el-cascader"), Ie = F("el-icon"), Ue = F("el-image"), Be = F("el-tooltip"), tt = F("el-upload"), ht = F("el-autocomplete"), Tt = F("el-input-number"), Et = F("el-input-tag"), K = F("el-input"), ye = F("el-link"), re = F("el-text"), He = F("el-avatar"), Qe = F("el-tag");
642
+ const G = F("el-image-viewer"), De = F("el-radio"), qe = F("el-radio-group"), Re = F("el-radio-button"), lt = F("el-checkbox"), Xe = F("el-checkbox-group"), Je = F("el-checkbox-button"), Ke = F("g-select-option"), et = F("el-option"), Mt = F("el-select"), St = F("el-tree-select"), a = F("el-time-picker"), s = F("el-time-select"), y = F("el-date-picker"), C = F("el-color-picker"), O = F("el-rate"), B = F("el-slider"), P = F("el-switch"), $e = F("el-transfer"), Te = F("el-cascader"), Ie = F("el-icon"), Ue = F("el-image"), Be = F("el-tooltip"), tt = F("el-upload"), ht = F("el-autocomplete"), Tt = F("el-input-number"), Et = F("el-input-tag"), K = F("el-input"), ge = F("el-link"), re = F("el-text"), He = F("el-avatar"), Qe = F("el-tag");
643
643
  return h(), j(oe, null, [
644
644
  Z("div", null, [
645
645
  f.value ? (h(), D(G, {
@@ -658,13 +658,13 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
658
658
  key: 0,
659
659
  modelValue: l.value,
660
660
  "onUpdate:modelValue": E[1] || (E[1] = (b) => l.value = b),
661
- disabled: (st = t.value[r.value]) == null ? void 0 : st.disabled
661
+ disabled: (st = t.value[n.value]) == null ? void 0 : st.disabled
662
662
  }, e.value), {
663
663
  default: $(() => [
664
- x(z.$slots, `${i.t}-${r.value}`, { data: e.value }, () => [
664
+ x(z.$slots, `${i.t}-${n.value}`, { data: e.value }, () => [
665
665
  (h(!0), j(oe, null, W(M.value, (b) => (h(), D(De, Y({ ref_for: !0 }, b), {
666
666
  default: $(() => [
667
- x(z.$slots, `${i.t}-${r.value}-options`, { option: b }, void 0, !0)
667
+ x(z.$slots, `${i.t}-${n.value}-options`, { option: b }, void 0, !0)
668
668
  ]),
669
669
  _: 2
670
670
  }, 1040))), 256))
@@ -675,13 +675,13 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
675
675
  key: 1,
676
676
  modelValue: l.value,
677
677
  "onUpdate:modelValue": E[2] || (E[2] = (b) => l.value = b),
678
- disabled: (te = t.value[r.value]) == null ? void 0 : te.disabled
678
+ disabled: (te = t.value[n.value]) == null ? void 0 : te.disabled
679
679
  }, e.value), {
680
680
  default: $(() => [
681
- x(z.$slots, `${i.t}-${r.value}`, { data: e.value }, () => [
681
+ x(z.$slots, `${i.t}-${n.value}`, { data: e.value }, () => [
682
682
  (h(!0), j(oe, null, W(M.value, (b) => (h(), D(Re, Y({ ref_for: !0 }, b), {
683
683
  default: $(() => [
684
- x(z.$slots, `${i.t}-${r.value}-options`, { option: b }, void 0, !0)
684
+ x(z.$slots, `${i.t}-${n.value}-options`, { option: b }, void 0, !0)
685
685
  ]),
686
686
  _: 2
687
687
  }, 1040))), 256))
@@ -692,10 +692,10 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
692
692
  key: 2,
693
693
  modelValue: l.value,
694
694
  "onUpdate:modelValue": E[3] || (E[3] = (b) => l.value = b),
695
- disabled: (ce = t.value[r.value]) == null ? void 0 : ce.disabled
695
+ disabled: (ce = t.value[n.value]) == null ? void 0 : ce.disabled
696
696
  }, e.value), {
697
697
  default: $(() => [
698
- x(z.$slots, `${i.t}-${r.value}`, { data: e.value }, () => [
698
+ x(z.$slots, `${i.t}-${n.value}`, { data: e.value }, () => [
699
699
  E[30] || (E[30] = Fe(Ve(" "), -1))
700
700
  ], !0)
701
701
  ]),
@@ -704,13 +704,13 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
704
704
  key: 3,
705
705
  modelValue: l.value,
706
706
  "onUpdate:modelValue": E[4] || (E[4] = (b) => l.value = b),
707
- disabled: (fe = t.value[r.value]) == null ? void 0 : fe.disabled
707
+ disabled: (fe = t.value[n.value]) == null ? void 0 : fe.disabled
708
708
  }, e.value), {
709
709
  default: $(() => [
710
- x(z.$slots, `${i.t}-${r.value}`, { data: e.value }, () => [
710
+ x(z.$slots, `${i.t}-${n.value}`, { data: e.value }, () => [
711
711
  (h(!0), j(oe, null, W(M.value, (b) => (h(), D(lt, Y({ ref_for: !0 }, b), {
712
712
  default: $(() => [
713
- x(z.$slots, `${i.t}-${r.value}-options`, { option: b }, () => [
713
+ x(z.$slots, `${i.t}-${n.value}-options`, { option: b }, () => [
714
714
  Fe(Ve(b.label), 1)
715
715
  ], !0)
716
716
  ]),
@@ -723,13 +723,13 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
723
723
  key: 4,
724
724
  modelValue: l.value,
725
725
  "onUpdate:modelValue": E[5] || (E[5] = (b) => l.value = b),
726
- disabled: (vt = t.value[r.value]) == null ? void 0 : vt.disabled
726
+ disabled: (vt = t.value[n.value]) == null ? void 0 : vt.disabled
727
727
  }, U(Pe)(e.value, (b) => b != "type")), {
728
728
  default: $(() => [
729
- x(z.$slots, `${i.t}-${r.value}`, { data: e.value }, () => [
729
+ x(z.$slots, `${i.t}-${n.value}`, { data: e.value }, () => [
730
730
  (h(!0), j(oe, null, W(M.value, (b) => (h(), D(Je, Y({ ref_for: !0 }, b), {
731
731
  default: $(() => [
732
- x(z.$slots, `${i.t}-${r.value}-options`, { option: b }, void 0, !0)
732
+ x(z.$slots, `${i.t}-${n.value}-options`, { option: b }, void 0, !0)
733
733
  ]),
734
734
  _: 2
735
735
  }, 1040))), 256))
@@ -745,27 +745,27 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
745
745
  onClear: E[7] || (E[7] = () => {
746
746
  i.t == "q" && t.value.table.load();
747
747
  }),
748
- disabled: (pt = t.value[r.value]) == null ? void 0 : pt.disabled
748
+ disabled: (pt = t.value[n.value]) == null ? void 0 : pt.disabled
749
749
  }, Q.value), _e({
750
750
  default: $(() => {
751
751
  var b;
752
752
  return [
753
- ((b = M.value) == null ? void 0 : b.length) > 0 ? x(z.$slots, `${i.t}-${r.value}`, {
753
+ ((b = M.value) == null ? void 0 : b.length) > 0 ? x(z.$slots, `${i.t}-${n.value}`, {
754
754
  key: 0,
755
755
  options: M.value
756
756
  }, () => [
757
757
  (h(!0), j(oe, null, W(M.value, (pe) => (h(), j(oe, {
758
758
  key: pe.value
759
759
  }, [
760
- ie(et, Y({ ref_for: !0 }, U(Pe)(pe, (ge) => ge != "children"), {
761
- onClick: (ge) => {
762
- Q.value.change && Q.value.change(pe), Te();
760
+ ie(et, Y({ ref_for: !0 }, U(Pe)(pe, (be) => be != "children"), {
761
+ onClick: (be) => {
762
+ Q.value.change && Q.value.change(pe), Se();
763
763
  }
764
764
  }), {
765
765
  default: $(() => {
766
- var ge;
766
+ var be;
767
767
  return [
768
- (ge = e.value) != null && ge.columns ? x(z.$slots, `${i.t}-${r.value}-options`, {
768
+ (be = e.value) != null && be.columns ? x(z.$slots, `${i.t}-${n.value}-options`, {
769
769
  key: 0,
770
770
  option: pe
771
771
  }, () => {
@@ -782,7 +782,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
782
782
  x(z.$slots, Ft, {
783
783
  option: pe,
784
784
  data: Dt,
785
- form: n.formInfo
785
+ form: r.formInfo
786
786
  }, void 0, !0)
787
787
  ])
788
788
  }))
@@ -793,35 +793,35 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
793
793
  }),
794
794
  _: 2
795
795
  }, 1040, ["onClick"]),
796
- pe.children && pe.children.length ? (h(!0), j(oe, { key: 0 }, W(pe.children, (ge) => (h(), D(et, Y({
796
+ pe.children && pe.children.length ? (h(!0), j(oe, { key: 0 }, W(pe.children, (be) => (h(), D(et, Y({
797
797
  style: { "margin-left": "20px" },
798
- key: ge.value
799
- }, { ref_for: !0 }, U(Pe)(ge, (at) => at != "children"), {
798
+ key: be.value
799
+ }, { ref_for: !0 }, U(Pe)(be, (at) => at != "children"), {
800
800
  onClick: (at) => {
801
- Q.value.change && Q.value.change(ge), Te();
801
+ Q.value.change && Q.value.change(be), Se();
802
802
  }
803
803
  }), {
804
804
  default: $(() => {
805
805
  var at;
806
806
  return [
807
- (at = e.value) != null && at.columns ? x(z.$slots, `${i.t}-${r.value}-options`, {
807
+ (at = e.value) != null && at.columns ? x(z.$slots, `${i.t}-${n.value}-options`, {
808
808
  key: 0,
809
- option: ge
809
+ option: be
810
810
  }, () => {
811
811
  var kt;
812
812
  return [
813
813
  ie(Ke, {
814
814
  columns: (kt = e.value) == null ? void 0 : kt.columns,
815
- data: ge,
815
+ data: be,
816
816
  t: i.t
817
817
  }, _e({ _: 2 }, [
818
818
  W(z.$slots, (Ft, Dt) => ({
819
819
  name: Dt,
820
820
  fn: $((Yl) => [
821
821
  x(z.$slots, Dt, {
822
- option: ge,
822
+ option: be,
823
823
  data: Yl,
824
- form: n.formInfo
824
+ form: r.formInfo
825
825
  }, void 0, !0)
826
826
  ])
827
827
  }))
@@ -848,10 +848,10 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
848
848
  title: !0,
849
849
  t: i.t
850
850
  }, _e({ _: 2 }, [
851
- W(z.$slots, (pe, ge) => ({
852
- name: ge,
851
+ W(z.$slots, (pe, be) => ({
852
+ name: be,
853
853
  fn: $((at) => [
854
- x(z.$slots, ge, { data: at }, void 0, !0)
854
+ x(z.$slots, be, { data: at }, void 0, !0)
855
855
  ])
856
856
  }))
857
857
  ]), 1032, ["columns", "t"])
@@ -862,7 +862,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
862
862
  W(T(), (b) => ({
863
863
  name: b,
864
864
  fn: $((pe) => [
865
- x(z.$slots, `${i.t}-${r.value}-${b}`, { form: n.formInfo }, void 0, !0)
865
+ x(z.$slots, `${i.t}-${n.value}-${b}`, { form: r.formInfo }, void 0, !0)
866
866
  ])
867
867
  }))
868
868
  ]), 1040, ["modelValue", "placeholder", "clearable", "disabled"])) : u.value == U(Ee).TREESELECT ? (h(), D(St, Y({
@@ -870,12 +870,12 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
870
870
  modelValue: l.value,
871
871
  "onUpdate:modelValue": E[8] || (E[8] = (b) => l.value = b),
872
872
  placeholder: o.value,
873
- disabled: (dt = t.value[r.value]) == null ? void 0 : dt.disabled
873
+ disabled: (dt = t.value[n.value]) == null ? void 0 : dt.disabled
874
874
  }, e.value, { data: d.value }), _e({ _: 2 }, [
875
875
  W(T(), (b) => ({
876
876
  name: b,
877
877
  fn: $((pe) => [
878
- x(z.$slots, `${i.t}-${r.value}-${b}`, { data: pe }, void 0, !0)
878
+ x(z.$slots, `${i.t}-${n.value}-${b}`, { data: pe }, void 0, !0)
879
879
  ])
880
880
  }))
881
881
  ]), 1040, ["modelValue", "placeholder", "disabled", "data"])) : u.value == U(Ee).TIME ? (h(), D(a, Y({
@@ -884,7 +884,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
884
884
  "onUpdate:modelValue": E[9] || (E[9] = (b) => l.value = b),
885
885
  "arrow-control": "",
886
886
  format: "HH:mm:ss",
887
- disabled: (bt = t.value[r.value]) == null ? void 0 : bt.disabled
887
+ disabled: (bt = t.value[n.value]) == null ? void 0 : bt.disabled
888
888
  }, e.value, { placeholder: o.value }), null, 16, ["modelValue", "disabled", "placeholder"])) : u.value == U(Ee).TIMESELECT ? (h(), D(s, Y({
889
889
  key: 8,
890
890
  modelValue: l.value,
@@ -894,7 +894,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
894
894
  step: "00:15",
895
895
  end: "23:30",
896
896
  placeholder: o.value,
897
- disabled: (X = t.value[r.value]) == null ? void 0 : X.disabled
897
+ disabled: (X = t.value[n.value]) == null ? void 0 : X.disabled
898
898
  }, e.value), null, 16, ["modelValue", "placeholder", "disabled"])) : le(u.value) ? (h(), D(y, Y({
899
899
  key: 9,
900
900
  modelValue: l.value,
@@ -903,12 +903,12 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
903
903
  format: u.value === U(Ee).DATE ? "YYYY-MM-DD" : u.value === U(Ee).DATETIME ? "YYYY-MM-DD HH:mm:ss" : "",
904
904
  placeholder: o.value,
905
905
  "value-format": H(u.value),
906
- disabled: (ct = t.value[r.value]) == null ? void 0 : ct.disabled
906
+ disabled: (ct = t.value[n.value]) == null ? void 0 : ct.disabled
907
907
  }, e.value), _e({ _: 2 }, [
908
908
  W(T(), (b) => ({
909
909
  name: b,
910
910
  fn: $((pe) => [
911
- x(z.$slots, `${i.t}-${r.value}-${b}`, { data: pe }, void 0, !0)
911
+ x(z.$slots, `${i.t}-${n.value}-${b}`, { data: pe }, void 0, !0)
912
912
  ])
913
913
  }))
914
914
  ]), 1040, ["modelValue", "type", "format", "placeholder", "value-format", "disabled"])) : u.value == U(Ee).COLOR ? (h(), D(C, Y({
@@ -919,23 +919,23 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
919
919
  key: 11,
920
920
  modelValue: l.value,
921
921
  "onUpdate:modelValue": E[13] || (E[13] = (b) => l.value = b),
922
- disabled: (wt = t.value[r.value]) == null ? void 0 : wt.disabled
922
+ disabled: (wt = t.value[n.value]) == null ? void 0 : wt.disabled
923
923
  }, e.value), null, 16, ["modelValue", "disabled"])) : u.value == U(Ee).SLIDER ? (h(), D(B, Y({
924
924
  key: 12,
925
925
  modelValue: l.value,
926
926
  "onUpdate:modelValue": E[14] || (E[14] = (b) => l.value = b),
927
- disabled: ($t = t.value[r.value]) == null ? void 0 : $t.disabled
927
+ disabled: ($t = t.value[n.value]) == null ? void 0 : $t.disabled
928
928
  }, e.value), null, 16, ["modelValue", "disabled"])) : u.value == U(Ee).SWITCH ? (h(), D(P, Y({
929
929
  key: 13,
930
930
  modelValue: l.value,
931
931
  "onUpdate:modelValue": E[15] || (E[15] = (b) => l.value = b),
932
932
  inlinePrompt: !0,
933
- disabled: (Vt = t.value[r.value]) == null ? void 0 : Vt.disabled
933
+ disabled: (Vt = t.value[n.value]) == null ? void 0 : Vt.disabled
934
934
  }, e.value), _e({ _: 2 }, [
935
935
  W(T(), (b) => ({
936
936
  name: b,
937
937
  fn: $((pe) => [
938
- x(z.$slots, `${i.t}-${r.value}-${b}`, { data: pe }, void 0, !0)
938
+ x(z.$slots, `${i.t}-${n.value}-${b}`, { data: pe }, void 0, !0)
939
939
  ])
940
940
  }))
941
941
  ]), 1040, ["modelValue", "disabled"])) : u.value == U(Ee).TRANSFER ? (h(), D($e, Y({
@@ -946,10 +946,10 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
946
946
  W(T(), (b) => ({
947
947
  name: b,
948
948
  fn: $((pe) => [
949
- x(z.$slots, `${i.t}-${r.value}-${b}`, { data: pe }, void 0, !0)
949
+ x(z.$slots, `${i.t}-${n.value}-${b}`, { data: pe }, void 0, !0)
950
950
  ])
951
951
  }))
952
- ]), 1040, ["modelValue"])) : u.value == U(Ee).CASCADER ? (h(), D(Se, Y({
952
+ ]), 1040, ["modelValue"])) : u.value == U(Ee).CASCADER ? (h(), D(Te, Y({
953
953
  key: 15,
954
954
  modelValue: l.value,
955
955
  "onUpdate:modelValue": E[17] || (E[17] = (b) => l.value = b)
@@ -957,7 +957,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
957
957
  W(T(), (b) => ({
958
958
  name: b,
959
959
  fn: $((pe) => [
960
- x(z.$slots, `${i.t}-${r.value}-${b}`, { data: pe }, void 0, !0)
960
+ x(z.$slots, `${i.t}-${n.value}-${b}`, { data: pe }, void 0, !0)
961
961
  ])
962
962
  }))
963
963
  ]), 1040, ["modelValue", "options"])) : u.value == U(Ee).IMAGE ? (h(), D(tt, Y({
@@ -966,10 +966,10 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
966
966
  "onUpdate:fileList": E[21] || (E[21] = (b) => e.value["file-list"] = b),
967
967
  "list-type": "picture-card",
968
968
  class: "custom-upload",
969
- "on-preview": me
969
+ "on-preview": he
970
970
  }, { ...k.value, ...e.value }, {
971
971
  ref_key: "uploadRef",
972
- ref: he
972
+ ref: ye
973
973
  }), _e({
974
974
  default: $(() => {
975
975
  var b, pe;
@@ -981,7 +981,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
981
981
  _: 1
982
982
  })) : (h(), j("div", {
983
983
  key: 1,
984
- onClick: E[20] || (E[20] = (ge) => ge.stopPropagation()),
984
+ onClick: E[20] || (E[20] = (be) => be.stopPropagation()),
985
985
  style: { display: "flex", width: "var(--up-width)", height: "var(--up-height)", position: "relative", "align-items": "center", "justify-content": "center", "box-sizing": "border-box" }
986
986
  }, [
987
987
  Z("div", da, [
@@ -989,18 +989,18 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
989
989
  style: { width: "var(--up-width)", height: "var(--up-height)" },
990
990
  src: l.value
991
991
  }, { fit: "cover", lazy: !0, ...(pe = e.value) == null ? void 0 : pe.img }), _e({ _: 2 }, [
992
- W(T(), (ge, at) => ({
993
- name: ge,
992
+ W(T(), (be, at) => ({
993
+ name: be,
994
994
  fn: $((kt) => [
995
- x(z.$slots, `${i.t}-${r.value}-${ge}`, { data: kt }, void 0, !0)
995
+ x(z.$slots, `${i.t}-${n.value}-${be}`, { data: kt }, void 0, !0)
996
996
  ])
997
997
  }))
998
998
  ]), 1040, ["src"])
999
999
  ]),
1000
1000
  Z("div", {
1001
1001
  style: { display: "flex", width: "var(--up-width)", height: "var(--up-height)", position: "absolute", "align-items": "center", "justify-content": "center" },
1002
- onMouseenter: E[18] || (E[18] = (ge) => v.value = !0),
1003
- onMouseleave: E[19] || (E[19] = (ge) => v.value = !1),
1002
+ onMouseenter: E[18] || (E[18] = (be) => v.value = !0),
1003
+ onMouseleave: E[19] || (E[19] = (be) => v.value = !1),
1004
1004
  class: "up-view"
1005
1005
  }, [
1006
1006
  v.value ? (h(), D(Be, {
@@ -1039,8 +1039,8 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1039
1039
  }, [
1040
1040
  W(T(), (b, pe) => ({
1041
1041
  name: b,
1042
- fn: $((ge) => [
1043
- x(z.$slots, `${i.t}-${r.value}-${b}`, { data: ge }, void 0, !0)
1042
+ fn: $((be) => [
1043
+ x(z.$slots, `${i.t}-${n.value}-${b}`, { data: be }, void 0, !0)
1044
1044
  ])
1045
1045
  }))
1046
1046
  ]), 1040, ["file-list"])) : u.value == U(Ee).AUTOCOMPLETE ? (h(), D(ht, Y({
@@ -1050,8 +1050,8 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1050
1050
  }, e.value, { placeholder: o.value }), _e({ _: 2 }, [
1051
1051
  W(T(), (b, pe) => ({
1052
1052
  name: b,
1053
- fn: $((ge) => [
1054
- x(z.$slots, `${i.t}-${r.value}-${b}`, { data: ge }, void 0, !0)
1053
+ fn: $((be) => [
1054
+ x(z.$slots, `${i.t}-${n.value}-${b}`, { data: be }, void 0, !0)
1055
1055
  ])
1056
1056
  }))
1057
1057
  ]), 1040, ["modelValue", "placeholder"])) : u.value == U(Ee).INPUTNUMBER ? (h(), D(Tt, Y({
@@ -1059,14 +1059,14 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1059
1059
  modelValue: l.value,
1060
1060
  "onUpdate:modelValue": E[23] || (E[23] = (b) => l.value = b),
1061
1061
  placeholder: o.value,
1062
- disabled: (Zt = t.value[r.value]) == null ? void 0 : Zt.disabled
1062
+ disabled: (Zt = t.value[n.value]) == null ? void 0 : Zt.disabled
1063
1063
  }, e.value), _e({ _: 2 }, [
1064
1064
  W(T(), (b, pe) => ({
1065
1065
  name: b,
1066
- fn: $((ge) => [
1067
- x(z.$slots, `${i.t}-${r.value}-${b}`, {
1068
- data: ge,
1069
- form: n.formInfo
1066
+ fn: $((be) => [
1067
+ x(z.$slots, `${i.t}-${n.value}-${b}`, {
1068
+ data: be,
1069
+ form: r.formInfo
1070
1070
  }, void 0, !0)
1071
1071
  ])
1072
1072
  }))
@@ -1075,7 +1075,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1075
1075
  modelValue: l.value,
1076
1076
  "onUpdate:modelValue": E[24] || (E[24] = (b) => l.value = b),
1077
1077
  placeholder: o.value,
1078
- disabled: (Jt = t.value[r.value]) == null ? void 0 : Jt.disabled,
1078
+ disabled: (Jt = t.value[n.value]) == null ? void 0 : Jt.disabled,
1079
1079
  draggable: ""
1080
1080
  }, e.value), _e({ _: 2 }, [
1081
1081
  (Kt = e.value) != null && Kt.suffix ? {
@@ -1104,10 +1104,10 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1104
1104
  } : void 0,
1105
1105
  W(T(), (b, pe) => ({
1106
1106
  name: b,
1107
- fn: $((ge) => [
1108
- x(z.$slots, `${i.t}-${r.value}-${b}`, {
1109
- data: ge,
1110
- form: n.formInfo
1107
+ fn: $((be) => [
1108
+ x(z.$slots, `${i.t}-${n.value}-${b}`, {
1109
+ data: be,
1110
+ form: r.formInfo
1111
1111
  }, void 0, !0)
1112
1112
  ])
1113
1113
  }))
@@ -1133,8 +1133,8 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1133
1133
  }, [
1134
1134
  W(T(), (b, pe) => ({
1135
1135
  name: b,
1136
- fn: $((ge) => [
1137
- x(z.$slots, `${i.t}-${r.value}-${b}`, { data: ge }, void 0, !0)
1136
+ fn: $((be) => [
1137
+ x(z.$slots, `${i.t}-${n.value}-${b}`, { data: be }, void 0, !0)
1138
1138
  ])
1139
1139
  }))
1140
1140
  ]), 1040, ["modelValue", "placeholder", "maxlength"])
@@ -1142,7 +1142,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1142
1142
  key: 21,
1143
1143
  style: Le(p.value)
1144
1144
  }, [
1145
- ie(ye, Y(e.value, {
1145
+ ie(ge, Y(e.value, {
1146
1146
  type: u.value.replace("link-", ""),
1147
1147
  innerHTML: ue.value || l.value
1148
1148
  }), null, 16, ["type", "innerHTML"])
@@ -1215,7 +1215,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1215
1215
  onClear: E[29] || (E[29] = () => {
1216
1216
  i.t == "q" && t.value.table.load();
1217
1217
  }),
1218
- disabled: (ol = t.value[r.value]) == null ? void 0 : ol.disabled
1218
+ disabled: (ol = t.value[n.value]) == null ? void 0 : ol.disabled
1219
1219
  }, { ...U(Pe)(e.value, (b) => !["suffix", "prefix", "append", "prepend"].includes(b)), type: u.value }), _e({ _: 2 }, [
1220
1220
  (ul = e.value) != null && ul.suffix ? {
1221
1221
  name: "suffix",
@@ -1267,10 +1267,10 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1267
1267
  } : void 0,
1268
1268
  W(T(), (b, pe) => ({
1269
1269
  name: b,
1270
- fn: $((ge) => [
1271
- x(z.$slots, `${i.t}-${r.value}-${b}`, {
1272
- data: ge,
1273
- form: n.formInfo
1270
+ fn: $((be) => [
1271
+ x(z.$slots, `${i.t}-${n.value}-${b}`, {
1272
+ data: be,
1273
+ form: r.formInfo
1274
1274
  }, void 0, !0)
1275
1275
  ])
1276
1276
  }))
@@ -1288,8 +1288,8 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1288
1288
  infoModifiers: {}
1289
1289
  }),
1290
1290
  emits: ["update:modelValue", "update:info"],
1291
- setup(n) {
1292
- const i = ot(n, "modelValue"), e = n, l = ot(n, "info"), r = (f) => {
1291
+ setup(r) {
1292
+ const i = ot(r, "modelValue"), e = r, l = ot(r, "info"), n = (f) => {
1293
1293
  if (typeof f.search != "function") return f.search;
1294
1294
  try {
1295
1295
  return f.search(l.value, i.value.table);
@@ -1298,11 +1298,11 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1298
1298
  }
1299
1299
  }, u = (f) => {
1300
1300
  const v = Object.entries(i.value).filter(([, c]) => {
1301
- const o = r(c);
1301
+ const o = n(c);
1302
1302
  return c.search && (o == null ? void 0 : o.more) === f && (o == null ? void 0 : o.hidden) !== !0 && (o == null ? void 0 : o.visible) !== !1;
1303
1303
  }).sort(([c, o], [p, q]) => {
1304
1304
  var k, ue;
1305
- const L = Number((k = r(o)) == null ? void 0 : k.sort) || 0, T = Number((ue = r(q)) == null ? void 0 : ue.sort) || 0;
1305
+ const L = Number((k = n(o)) == null ? void 0 : k.sort) || 0, T = Number((ue = n(q)) == null ? void 0 : ue.sort) || 0;
1306
1306
  return L - T;
1307
1307
  });
1308
1308
  return Object.fromEntries(v);
@@ -1374,10 +1374,10 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1374
1374
  infoModifiers: {}
1375
1375
  },
1376
1376
  emits: /* @__PURE__ */ ut(["query", "reset"], ["update:modelValue", "update:info"]),
1377
- setup(n, { emit: i }) {
1378
- const e = ot(n, "modelValue"), l = i, r = jt("options"), u = ne(!1), t = ot(n, "info"), d = We(() => {
1377
+ setup(r, { emit: i }) {
1378
+ const e = ot(r, "modelValue"), l = i, n = jt("options"), u = ne(!1), t = ot(r, "info"), d = We(() => {
1379
1379
  var ue, le, H;
1380
- const T = je((ue = r == null ? void 0 : r.query) == null ? void 0 : ue.btns, (H = (le = e.value) == null ? void 0 : le.query) == null ? void 0 : H.btns) || { align: "left" };
1380
+ const T = je((ue = n == null ? void 0 : n.query) == null ? void 0 : ue.btns, (H = (le = e.value) == null ? void 0 : le.query) == null ? void 0 : H.btns) || { align: "left" };
1381
1381
  return {
1382
1382
  justifyContent: { left: "flex-start", right: "flex-end", center: "center" }[T.align] || "flex-start"
1383
1383
  };
@@ -1433,7 +1433,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1433
1433
  }
1434
1434
  }
1435
1435
  };
1436
- e.value.query = je(M, r == null ? void 0 : r.query, e.value.query);
1436
+ e.value.query = je(M, n == null ? void 0 : n.query, e.value.query);
1437
1437
  const f = {
1438
1438
  2: {
1439
1439
  title: "更多查询",
@@ -1466,7 +1466,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1466
1466
  alignItems: "flex-start"
1467
1467
  }
1468
1468
  };
1469
- e.value.queryItems = je(v, r == null ? void 0 : r.queryItems, e.value.queryItems);
1469
+ e.value.queryItems = je(v, n == null ? void 0 : n.queryItems, e.value.queryItems);
1470
1470
  const c = (T, k) => {
1471
1471
  const ue = Object.keys(T.slots).filter((le) => le !== "default").reduce((le, H) => (le[H] = (Q) => T.slots[H]({
1472
1472
  model: e.value
@@ -1480,7 +1480,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1480
1480
  more: k
1481
1481
  }, ue);
1482
1482
  }, o = yl(), p = () => {
1483
- var ue, le, H, Q, de, we, Te, Ye, me;
1483
+ var ue, le, H, Q, de, me, Se, Ye, he;
1484
1484
  const T = [
1485
1485
  {
1486
1486
  key: "query",
@@ -1495,7 +1495,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1495
1495
  },
1496
1496
  {
1497
1497
  key: "reset",
1498
- hidden: (we = (de = (Q = e.value) == null ? void 0 : Q.query) == null ? void 0 : de.reset) == null ? void 0 : we.hidden,
1498
+ hidden: (me = (de = (Q = e.value) == null ? void 0 : Q.query) == null ? void 0 : de.reset) == null ? void 0 : me.hidden,
1499
1499
  component: Ne,
1500
1500
  props: {
1501
1501
  ...e.value.query.reset,
@@ -1506,7 +1506,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1506
1506
  },
1507
1507
  {
1508
1508
  key: "more",
1509
- hidden: (me = (Ye = (Te = e.value) == null ? void 0 : Te.query) == null ? void 0 : Ye.more) == null ? void 0 : me.hidden,
1509
+ hidden: (he = (Ye = (Se = e.value) == null ? void 0 : Se.query) == null ? void 0 : Ye.more) == null ? void 0 : he.hidden,
1510
1510
  component: e.value.query.more.mode === 3 ? Ht : Ne,
1511
1511
  props: e.value.query.more.mode === 3 ? { ...e.value.query.more.dialog } : {
1512
1512
  ...e.value.query.more,
@@ -1520,7 +1520,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1520
1520
  }, () => c({ slots: o }, !0)) : null
1521
1521
  }
1522
1522
  ];
1523
- return T.sort((R, he) => R.sort - he.sort), T.filter((R) => !R.hidden).map((R) => R.key === "more" && R.component === Ht ? Ce(Ht, R.props, {
1523
+ return T.sort((R, ye) => R.sort - ye.sort), T.filter((R) => !R.hidden).map((R) => R.key === "more" && R.component === Ht ? Ce(Ht, R.props, {
1524
1524
  reference: () => Ce(Ne, e.value.query.more, () => R.label),
1525
1525
  default: R.content
1526
1526
  }) : (R.props.slot = "query-" + R.key, R.label ? Ce(R.component, R.props, () => R.label) : Ce(R.component, R.props)));
@@ -1530,7 +1530,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1530
1530
  })), L = () => {
1531
1531
  };
1532
1532
  return (T, k) => {
1533
- var H, Q, de, we, Te, Ye, me, R, he, Oe, N, I, g, _, w, m, V;
1533
+ var H, Q, de, me, Se, Ye, he, R, ye, Oe, N, I, g, _, w, m, V;
1534
1534
  const ue = F("el-form-item"), le = F("el-drawer");
1535
1535
  return h(), j(oe, null, [
1536
1536
  Z("div", {
@@ -1583,9 +1583,9 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1583
1583
  }),
1584
1584
  _: 3
1585
1585
  }, 16),
1586
- ((Te = (we = (de = e.value) == null ? void 0 : de.query) == null ? void 0 : we.container) == null ? void 0 : Te.inline) === !1 ? (h(), j("div", {
1586
+ ((Se = (me = (de = e.value) == null ? void 0 : de.query) == null ? void 0 : me.container) == null ? void 0 : Se.inline) === !1 ? (h(), j("div", {
1587
1587
  key: 0,
1588
- style: Le([{ "margin-bottom": "18px" }, (me = (Ye = e.value.query) == null ? void 0 : Ye.btns) == null ? void 0 : me.style])
1588
+ style: Le([{ "margin-bottom": "18px" }, (he = (Ye = e.value.query) == null ? void 0 : Ye.btns) == null ? void 0 : he.style])
1589
1589
  }, [
1590
1590
  e.value.query.group ? (h(), D(U(It), { key: 0 }, {
1591
1591
  default: $(() => [
@@ -1596,7 +1596,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1596
1596
  ]),
1597
1597
  _: 3
1598
1598
  })) : (h(), j(oe, { key: 1 }, [
1599
- (he = (R = e.value.query) == null ? void 0 : R.btns) != null && he.group ? (h(), D(U(It), { key: 0 }, {
1599
+ (ye = (R = e.value.query) == null ? void 0 : R.btns) != null && ye.group ? (h(), D(U(It), { key: 0 }, {
1600
1600
  default: $(() => [
1601
1601
  (h(!0), j(oe, null, W(p(), (S) => x(T.$slots, S.props.slot, {}, () => [
1602
1602
  (h(), D(Ze(S)))
@@ -1773,23 +1773,23 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1773
1773
  modelModifiers: {}
1774
1774
  }),
1775
1775
  emits: /* @__PURE__ */ ut(["submit", "reset"], ["update:modelValue"]),
1776
- setup(n, { expose: i, emit: e }) {
1777
- var Ye, me, R, he, Oe, N, I;
1778
- const l = ot(n, "modelValue"), r = e, u = ne(null), t = jt("options"), d = ne({}), M = ne(""), f = n;
1776
+ setup(r, { expose: i, emit: e }) {
1777
+ var Ye, he, R, ye, Oe, N, I;
1778
+ const l = ot(r, "modelValue"), n = e, u = ne(null), t = jt("options"), d = ne({}), M = ne(""), f = r;
1779
1779
  l.value.form = je(
1780
1780
  Vl,
1781
1781
  t == null ? void 0 : t.form,
1782
1782
  (Ye = l.value) == null ? void 0 : Ye.form
1783
1783
  ), l.value.form.style = je(
1784
- (R = (me = l.value) == null ? void 0 : me.form) == null ? void 0 : R.style,
1785
- { ...(he = Lt()) == null ? void 0 : he.style }
1784
+ (R = (he = l.value) == null ? void 0 : he.form) == null ? void 0 : R.style,
1785
+ { ...(ye = Lt()) == null ? void 0 : ye.style }
1786
1786
  );
1787
1787
  const v = async (g, _, w) => {
1788
1788
  let m = 5;
1789
1789
  for (; m > 0; ) {
1790
1790
  if (await nt(), u.value) {
1791
1791
  u.value.validate((V, S) => {
1792
- V ? r("submit", g, _, w) : console.error("表单验证不通过!", S);
1792
+ V ? n("submit", g, _, w) : console.error("表单验证不通过!", S);
1793
1793
  });
1794
1794
  return;
1795
1795
  }
@@ -1801,7 +1801,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1801
1801
  for (; w > 0; ) {
1802
1802
  if (await nt(), u.value)
1803
1803
  try {
1804
- u.value.resetFields(), r("reset", g, _);
1804
+ u.value.resetFields(), n("reset", g, _);
1805
1805
  return;
1806
1806
  } catch (m) {
1807
1807
  console.error("表单重置失败:", m);
@@ -1967,7 +1967,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
1967
1967
  ..._.items.map(({ item: w }) => w.tabPane || {})
1968
1968
  );
1969
1969
  }), Array.from(g.values());
1970
- }), de = ne(((I = l.value.form.tabs) == null ? void 0 : I.activeTab) || (Q.value.length > 0 ? Q.value[0].groupName : null)), we = ne([
1970
+ }), de = ne(((I = l.value.form.tabs) == null ? void 0 : I.activeTab) || (Q.value.length > 0 ? Q.value[0].groupName : null)), me = ne([
1971
1971
  {
1972
1972
  name: "f-submit",
1973
1973
  label: l.value.form.submit.label,
@@ -2009,7 +2009,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2009
2009
  sort: l.value.form.cancel.sort ?? 2,
2010
2010
  originalOrder: 1
2011
2011
  }
2012
- ]), Te = We(() => we.value.filter((g) => !g.hidden).sort((g, _) => g.sort - _.sort || g.originalOrder - _.originalOrder));
2012
+ ]), Se = We(() => me.value.filter((g) => !g.hidden).sort((g, _) => g.sort - _.sort || g.originalOrder - _.originalOrder));
2013
2013
  return i({
2014
2014
  submit: v,
2015
2015
  saveSubmit: v,
@@ -2042,18 +2042,18 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2042
2042
  return [
2043
2043
  ie(S, Y({
2044
2044
  modelValue: de.value,
2045
- "onUpdate:modelValue": _[0] || (_[0] = (be) => de.value = be),
2045
+ "onUpdate:modelValue": _[0] || (_[0] = (we) => de.value = we),
2046
2046
  style: [{ width: "100%" }, { height: (ze = (ve = (ae = l.value) == null ? void 0 : ae.form) == null ? void 0 : ve.tabs) == null ? void 0 : ze.height }]
2047
2047
  }, l.value.form.tabs), {
2048
2048
  default: $(() => [
2049
- (h(!0), j(oe, null, W(Q.value, (be) => (h(), D(V, Y({
2050
- key: be.groupName,
2051
- label: be.groupName,
2052
- name: be.groupName,
2049
+ (h(!0), j(oe, null, W(Q.value, (we) => (h(), D(V, Y({
2050
+ key: we.groupName,
2051
+ label: we.groupName,
2052
+ name: we.groupName,
2053
2053
  style: { width: "100%", display: "flex", "flex-wrap": "wrap", "overflow-y": "auto", "overflow-x": "hidden" }
2054
- }, { ref_for: !0 }, be.tabPane), {
2054
+ }, { ref_for: !0 }, we.tabPane), {
2055
2055
  default: $(() => [
2056
- (h(!0), j(oe, null, W(be.items, (se, Ge) => (h(), D(m, Y({ ref_for: !0 }, { ...l.value.form.cols, ...se == null ? void 0 : se.item.col }, {
2056
+ (h(!0), j(oe, null, W(we.items, (se, Ge) => (h(), D(m, Y({ ref_for: !0 }, { ...l.value.form.cols, ...se == null ? void 0 : se.item.col }, {
2057
2057
  key: se.key,
2058
2058
  style: { width: "100%" }
2059
2059
  }), {
@@ -2123,9 +2123,9 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2123
2123
  prop: ve,
2124
2124
  rules: q(ae)
2125
2125
  }, { ref_for: !0 }, { ...(ze = l.value) == null ? void 0 : ze.formItems, ...ae == null ? void 0 : ae.formItem }, { style: { width: "100%" } }), {
2126
- label: $((be) => [
2126
+ label: $((we) => [
2127
2127
  x(g.$slots, `f-${ve}-label`, {
2128
- data: be,
2128
+ data: we,
2129
2129
  item: ae,
2130
2130
  model: l.value
2131
2131
  }, () => [
@@ -2141,7 +2141,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2141
2141
  }, () => [
2142
2142
  (h(), D(Ct, {
2143
2143
  modelValue: d.value[ve],
2144
- "onUpdate:modelValue": (be) => d.value[ve] = be,
2144
+ "onUpdate:modelValue": (we) => d.value[ve] = we,
2145
2145
  item: L(ae, !0),
2146
2146
  ctrlKey: ve,
2147
2147
  ctrlType: T(ae),
@@ -2151,7 +2151,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2151
2151
  t: "f",
2152
2152
  formInfo: d.value
2153
2153
  }, _e({ _: 2 }, [
2154
- W(g.$slots, (be, se) => ({
2154
+ W(g.$slots, (we, se) => ({
2155
2155
  name: se,
2156
2156
  fn: $((Ge) => [
2157
2157
  x(g.$slots, se, {
@@ -2179,7 +2179,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2179
2179
  style: Le({ justifyContent: k(l.value.form.footer.align), ...l.value.form.footer.style })
2180
2180
  }, [
2181
2181
  x(g.$slots, "f-footer-left", {}, void 0, !0),
2182
- (h(!0), j(oe, null, W(Te.value, (ae) => (h(), j(oe, null, [
2182
+ (h(!0), j(oe, null, W(Se.value, (ae) => (h(), j(oe, null, [
2183
2183
  x(g.$slots, ae.name + "-left", {}, void 0, !0),
2184
2184
  x(g.$slots, ae.name, {}, () => {
2185
2185
  var ve;
@@ -2218,12 +2218,12 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2218
2218
  modelValue: { type: Boolean, default: !1 },
2219
2219
  title: { type: String, default: "标题" },
2220
2220
  // 组件类型:dialog 或 drawer
2221
- type: { type: String, default: "dialog", validator: (n) => ["dialog", "drawer"].includes(n) },
2221
+ type: { type: String, default: "dialog", validator: (r) => ["dialog", "drawer"].includes(r) },
2222
2222
  // 对话框属性
2223
2223
  width: { type: [String, Number], default: "50%" },
2224
2224
  top: { type: String, default: "15vh" },
2225
2225
  // 抽屉属性
2226
- direction: { type: String, default: "rtl", validator: (n) => ["ltr", "rtl", "ttb", "btt"].includes(n) },
2226
+ direction: { type: String, default: "rtl", validator: (r) => ["ltr", "rtl", "ttb", "btt"].includes(r) },
2227
2227
  size: { type: [String, Number], default: "30%" },
2228
2228
  // 通用属性
2229
2229
  modal: { type: Boolean, default: !0 },
@@ -2252,12 +2252,12 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2252
2252
  "maximize",
2253
2253
  "restore"
2254
2254
  ],
2255
- setup(n, { expose: i, emit: e }) {
2256
- const l = n, r = Lt(), u = e, t = ne(l.fullscreen), d = We(() => l.type === "drawer" ? "el-drawer" : "el-dialog"), M = We(() => {
2255
+ setup(r, { expose: i, emit: e }) {
2256
+ const l = r, n = Lt(), u = e, t = ne(l.fullscreen), d = We(() => l.type === "drawer" ? "el-drawer" : "el-dialog"), M = We(() => {
2257
2257
  const H = {
2258
2258
  modal: l.modal,
2259
2259
  closeOnClickModal: l.type !== "dialog",
2260
- ...r
2260
+ ...n
2261
2261
  };
2262
2262
  return l.type === "dialog" ? {
2263
2263
  ...H,
@@ -2305,7 +2305,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2305
2305
  key: 0,
2306
2306
  class: "minimize-ball",
2307
2307
  onClick: le
2308
- }, Ve(n.title), 1)) : (h(), j("div", Ea, [
2308
+ }, Ve(r.title), 1)) : (h(), j("div", Ea, [
2309
2309
  (h(), D(Ze(d.value), Y({
2310
2310
  ref_key: "dialogExtend",
2311
2311
  ref: v,
@@ -2321,46 +2321,46 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2321
2321
  fullscreen: t.value,
2322
2322
  "show-close": !1
2323
2323
  }), _e({
2324
- header: $(({ titleClass: de, closeIconClass: we }) => [
2324
+ header: $(({ titleClass: de, closeIconClass: me }) => [
2325
2325
  x(H.$slots, "header", {
2326
2326
  titleClass: de,
2327
- closeIconClass: we
2327
+ closeIconClass: me
2328
2328
  }, () => [
2329
2329
  Z("div", {
2330
2330
  class: "custom-header",
2331
2331
  style: Le(l.headerStyle)
2332
2332
  }, [
2333
2333
  x(H.$slots, "title", {}, () => [
2334
- Z("span", Va, Ve(n.title), 1)
2334
+ Z("span", Va, Ve(r.title), 1)
2335
2335
  ], !0),
2336
2336
  Z("div", null, [
2337
- n.minimize ? (h(), D(U(Rt), {
2337
+ r.minimize ? (h(), D(U(Rt), {
2338
2338
  key: 0,
2339
2339
  class: "btn-icon",
2340
2340
  onClick: yt(ue, ["stop"])
2341
2341
  }, {
2342
2342
  default: $(() => [
2343
- (h(), D(Ze(n.minIcon)))
2343
+ (h(), D(Ze(r.minIcon)))
2344
2344
  ]),
2345
2345
  _: 1
2346
2346
  })) : xe("", !0),
2347
- n.maximize ? (h(), D(U(Rt), {
2347
+ r.maximize ? (h(), D(U(Rt), {
2348
2348
  key: 1,
2349
2349
  class: "btn-icon",
2350
2350
  onClick: yt(k, ["stop"])
2351
2351
  }, {
2352
2352
  default: $(() => [
2353
- (h(), D(Ze(c.value ? n.resizeIcon : n.maxIcon)))
2353
+ (h(), D(Ze(c.value ? r.resizeIcon : r.maxIcon)))
2354
2354
  ]),
2355
2355
  _: 1
2356
2356
  })) : xe("", !0),
2357
2357
  l.showClose ? (h(), D(U(Rt), {
2358
2358
  key: 2,
2359
2359
  class: "btn-icon",
2360
- onClick: Q[0] || (Q[0] = yt((Te) => v.value.handleClose(), ["stop"]))
2360
+ onClick: Q[0] || (Q[0] = yt((Se) => v.value.handleClose(), ["stop"]))
2361
2361
  }, {
2362
2362
  default: $(() => [
2363
- (h(), D(Ze(n.closeIcon)))
2363
+ (h(), D(Ze(r.closeIcon)))
2364
2364
  ]),
2365
2365
  _: 1
2366
2366
  })) : xe("", !0)
@@ -2401,17 +2401,17 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2401
2401
  commitText: String
2402
2402
  },
2403
2403
  emits: ["excel"],
2404
- setup(n, { emit: i }) {
2405
- const e = n, l = i, r = ne(e.items), u = () => {
2406
- r.value.forEach((M) => {
2404
+ setup(r, { emit: i }) {
2405
+ const e = r, l = i, n = ne(e.items), u = () => {
2406
+ n.value.forEach((M) => {
2407
2407
  M.value = !0;
2408
2408
  });
2409
2409
  }, t = () => {
2410
- r.value.forEach((M) => {
2410
+ n.value.forEach((M) => {
2411
2411
  M.value = !1;
2412
2412
  });
2413
2413
  }, d = () => {
2414
- l("excel", r.value, (M, f = "excel.xls") => {
2414
+ l("excel", n.value, (M, f = "excel.xls") => {
2415
2415
  if (!M) {
2416
2416
  console.error("下载链接无效");
2417
2417
  return;
@@ -2470,7 +2470,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2470
2470
  ]),
2471
2471
  f[1] || (f[1] = Z("div", { style: { margin: "1px 0" } }, null, -1)),
2472
2472
  Z("div", Aa, [
2473
- (h(!0), j(oe, null, W(r.value, (L) => (h(), D(p, {
2473
+ (h(!0), j(oe, null, W(n.value, (L) => (h(), D(p, {
2474
2474
  class: "check-box-hover",
2475
2475
  style: { width: "120px !important", height: "30px !important", border: "1px solid #dfe6ec", margin: "5px !important", "border-radius": "3px !important", "padding-left": "5px !important", display: "flex !important", "align-items": "center !important" },
2476
2476
  "data-id": L.key,
@@ -2494,7 +2494,7 @@ const Yt = /* @__PURE__ */ Tl(ia), rt = (n, i) => {
2494
2494
  type: "primary",
2495
2495
  onClick: d,
2496
2496
  icon: U(Cl),
2497
- disabled: r.value.filter((L) => L.value).length < 1
2497
+ disabled: n.value.filter((L) => L.value).length < 1
2498
2498
  }, {
2499
2499
  default: $(() => [
2500
2500
  Fe(Ve(e.commitText), 1)
@@ -2516,93 +2516,93 @@ Me.version(Fa).stores({
2516
2516
  // 记录表格列显示状态
2517
2517
  tableColsState: "++id,[page+key], page, key"
2518
2518
  });
2519
- const mt = (n, i) => {
2520
- if (!n || typeof n != "string")
2519
+ const mt = (r, i) => {
2520
+ if (!r || typeof r != "string")
2521
2521
  throw new Error("page参数必须是非空字符串");
2522
2522
  };
2523
- async function qt(n, i, e) {
2523
+ async function qt(r, i, e) {
2524
2524
  try {
2525
- const l = await Me.tableColsState.where({ page: n }).first();
2526
- l ? e === "add" ? l.keys.includes(i) || (l.keys.push(i), await Me.tableColsState.put(l)) : e === "del" ? (l.keys = l.keys.filter((r) => r !== i), await Me.tableColsState.put(l)) : e === "delAll" ? (l.keys = i, await Me.tableColsState.put(l)) : e === "selectAll" && await Me.tableColsState.where({ page: n }).delete() : e === "add" ? await Me.tableColsState.add({ page: n, keys: [i] }) : e === "delAll" && await Me.tableColsState.add({ page: n, keys: i });
2525
+ const l = await Me.tableColsState.where({ page: r }).first();
2526
+ l ? e === "add" ? l.keys.includes(i) || (l.keys.push(i), await Me.tableColsState.put(l)) : e === "del" ? (l.keys = l.keys.filter((n) => n !== i), await Me.tableColsState.put(l)) : e === "delAll" ? (l.keys = i, await Me.tableColsState.put(l)) : e === "selectAll" && await Me.tableColsState.where({ page: r }).delete() : e === "add" ? await Me.tableColsState.add({ page: r, keys: [i] }) : e === "delAll" && await Me.tableColsState.add({ page: r, keys: i });
2527
2527
  } catch (l) {
2528
- throw console.error(`处理表格列状态时出错 (page: ${n}, key: ${i}, state: ${e}):`, l), l;
2528
+ throw console.error(`处理表格列状态时出错 (page: ${r}, key: ${i}, state: ${e}):`, l), l;
2529
2529
  }
2530
2530
  }
2531
- async function Ha(n, i, e) {
2532
- mt(n);
2531
+ async function Ha(r, i, e) {
2532
+ mt(r);
2533
2533
  try {
2534
- const l = await Me.tableWidths.where({ page: n, key: i }).first();
2535
- return l ? (await Me.tableWidths.put({ ...l, width: e }), "update success") : (await Me.tableWidths.add({ page: n, key: i, width: e }), "add success");
2534
+ const l = await Me.tableWidths.where({ page: r, key: i }).first();
2535
+ return l ? (await Me.tableWidths.put({ ...l, width: e }), "update success") : (await Me.tableWidths.add({ page: r, key: i, width: e }), "add success");
2536
2536
  } catch (l) {
2537
- throw console.error(`保存表格项设置信息时出错 (page: ${n}, key: ${i}):`, l), l;
2537
+ throw console.error(`保存表格项设置信息时出错 (page: ${r}, key: ${i}):`, l), l;
2538
2538
  }
2539
2539
  }
2540
- async function Ra(n) {
2541
- mt(n);
2540
+ async function Ra(r) {
2541
+ mt(r);
2542
2542
  try {
2543
- return await Me.tableWidths.where({ page: n }).toArray();
2543
+ return await Me.tableWidths.where({ page: r }).toArray();
2544
2544
  } catch (i) {
2545
- throw console.error(`获取表格项设置信息时出错 (page: ${n}):`, i), i;
2545
+ throw console.error(`获取表格项设置信息时出错 (page: ${r}):`, i), i;
2546
2546
  }
2547
2547
  }
2548
- async function Ba(n) {
2549
- mt(n);
2548
+ async function Ba(r) {
2549
+ mt(r);
2550
2550
  try {
2551
- const i = await Me.tableColsState.where({ page: n }).toArray();
2551
+ const i = await Me.tableColsState.where({ page: r }).toArray();
2552
2552
  return !i || i.length === 0 ? [] : i[0].keys;
2553
2553
  } catch (i) {
2554
- throw console.error(`获取表格列状态时出错 (page: ${n}):`, i), i;
2554
+ throw console.error(`获取表格列状态时出错 (page: ${r}):`, i), i;
2555
2555
  }
2556
2556
  }
2557
- async function Na(n) {
2558
- mt(n);
2557
+ async function Na(r) {
2558
+ mt(r);
2559
2559
  try {
2560
2560
  return await Me.transaction("rw", Me.tableWidths, Me.pageInfo, Me.sorts, Me.tableColsState, async () => {
2561
2561
  await Promise.all([
2562
- Me.tableWidths.where({ page: n }).delete(),
2563
- Me.pageInfo.where({ page: n }).delete(),
2564
- Me.sorts.where({ page: n }).delete(),
2565
- Me.tableColsState.where({ page: n }).delete()
2562
+ Me.tableWidths.where({ page: r }).delete(),
2563
+ Me.pageInfo.where({ page: r }).delete(),
2564
+ Me.sorts.where({ page: r }).delete(),
2565
+ Me.tableColsState.where({ page: r }).delete()
2566
2566
  ]);
2567
2567
  });
2568
2568
  } catch (i) {
2569
- throw console.error(`删除页面"${n}"的表格设置信息时出错:`, i), i;
2569
+ throw console.error(`删除页面"${r}"的表格设置信息时出错:`, i), i;
2570
2570
  }
2571
2571
  }
2572
- async function Pa({ page: n, size: i }) {
2573
- mt(n);
2572
+ async function Pa({ page: r, size: i }) {
2573
+ mt(r);
2574
2574
  try {
2575
- const e = await Me.pageInfo.where({ page: n }).first();
2576
- return e ? (await Me.pageInfo.put({ ...e, size: i }), "update success") : (await Me.pageInfo.add({ page: n, size: i }), "add success");
2575
+ const e = await Me.pageInfo.where({ page: r }).first();
2576
+ return e ? (await Me.pageInfo.put({ ...e, size: i }), "update success") : (await Me.pageInfo.add({ page: r, size: i }), "add success");
2577
2577
  } catch (e) {
2578
- throw console.error(`保存分页条数时出错 (page: ${n}):`, e), e;
2578
+ throw console.error(`保存分页条数时出错 (page: ${r}):`, e), e;
2579
2579
  }
2580
2580
  }
2581
- async function Wa(n) {
2582
- mt(n);
2581
+ async function Wa(r) {
2582
+ mt(r);
2583
2583
  try {
2584
- const i = await Me.pageInfo.where({ page: n }).first();
2584
+ const i = await Me.pageInfo.where({ page: r }).first();
2585
2585
  return i == null ? void 0 : i.size;
2586
2586
  } catch (i) {
2587
- throw console.error(`获取分页条数时出错 (page: ${n}):`, i), i;
2587
+ throw console.error(`获取分页条数时出错 (page: ${r}):`, i), i;
2588
2588
  }
2589
2589
  }
2590
- async function Ga(n, i) {
2591
- mt(n);
2590
+ async function Ga(r, i) {
2591
+ mt(r);
2592
2592
  try {
2593
- const e = await Me.sorts.where({ page: n }).first();
2594
- return e ? (await Me.sorts.put({ ...e, keys: i }), "update success") : (await Me.sorts.add({ page: n, keys: i }), "add success");
2593
+ const e = await Me.sorts.where({ page: r }).first();
2594
+ return e ? (await Me.sorts.put({ ...e, keys: i }), "update success") : (await Me.sorts.add({ page: r, keys: i }), "add success");
2595
2595
  } catch (e) {
2596
- throw console.error(`保存表格字段顺序时出错 (page: ${n}):`, e), e;
2596
+ throw console.error(`保存表格字段顺序时出错 (page: ${r}):`, e), e;
2597
2597
  }
2598
2598
  }
2599
- async function Xa(n) {
2600
- mt(n);
2599
+ async function Xa(r) {
2600
+ mt(r);
2601
2601
  try {
2602
- const i = await Me.sorts.where({ page: n }).first();
2602
+ const i = await Me.sorts.where({ page: r }).first();
2603
2603
  return (i == null ? void 0 : i.keys) || [];
2604
2604
  } catch (i) {
2605
- throw console.error(`获取表格字段顺序时出错 (page: ${n}):`, i), i;
2605
+ throw console.error(`获取表格字段顺序时出错 (page: ${r}):`, i), i;
2606
2606
  }
2607
2607
  }
2608
2608
  const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { style: { display: "flex", "align-items": "center", height: "30px" } }, Ja = {
@@ -2623,10 +2623,10 @@ const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { st
2623
2623
  modelModifiers: {}
2624
2624
  }),
2625
2625
  emits: /* @__PURE__ */ ut(["setting-drag-end", "select-all"], ["update:modelValue"]),
2626
- setup(n, { emit: i }) {
2627
- const e = n, l = i;
2628
- let r = ne([]);
2629
- const u = ot(n, "modelValue"), t = async (c, o) => {
2626
+ setup(r, { emit: i }) {
2627
+ const e = r, l = i;
2628
+ let n = ne([]);
2629
+ const u = ot(r, "modelValue"), t = async (c, o) => {
2630
2630
  c ? (u.value[o].showCol = !0, await qt(e.tuid, o, "del")) : (u.value[o].showCol = !1, await qt(e.tuid, o, "add"));
2631
2631
  }, d = () => {
2632
2632
  const c = document.getElementById("cols");
@@ -2652,7 +2652,7 @@ const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { st
2652
2652
  }
2653
2653
  }, M = async () => {
2654
2654
  try {
2655
- r.value.forEach((c) => {
2655
+ n.value.forEach((c) => {
2656
2656
  c.showCol = !0;
2657
2657
  }), qt(e.tuid, [], "selectAll").then((c) => {
2658
2658
  l("select-all");
@@ -2665,7 +2665,7 @@ const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { st
2665
2665
  }
2666
2666
  }, f = async () => {
2667
2667
  try {
2668
- let c = r.value.filter((o) => !o.alwaysShow && o.value != "control" && o.value != "hidden");
2668
+ let c = n.value.filter((o) => !o.alwaysShow && o.value != "control" && o.value != "hidden");
2669
2669
  c.forEach((o) => {
2670
2670
  o.showCol = !1;
2671
2671
  }), qt(e.tuid, c.map((o) => o.value), "delAll").then((o) => {
@@ -2694,7 +2694,7 @@ const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { st
2694
2694
  });
2695
2695
  };
2696
2696
  return xt(async () => {
2697
- r.value = Object.entries(u.value).filter(([, c]) => c.visible !== !1).filter(([, c]) => !["selection", "index", "expand", "control"].includes(c.type)).filter(([, c]) => c.type != "hidden").map(([c, o]) => ({
2697
+ n.value = Object.entries(u.value).filter(([, c]) => c.visible !== !1).filter(([, c]) => !["selection", "index", "expand", "control"].includes(c.type)).filter(([, c]) => c.type != "hidden").map(([c, o]) => ({
2698
2698
  label: o.label,
2699
2699
  value: c,
2700
2700
  alwaysShow: o.alwaysShow,
@@ -2728,7 +2728,7 @@ const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { st
2728
2728
  ]),
2729
2729
  Z("div", null, [
2730
2730
  Z("div", Ka, [
2731
- (h(!0), j(oe, null, W(U(r), (k) => (h(), D(T, {
2731
+ (h(!0), j(oe, null, W(U(n), (k) => (h(), D(T, {
2732
2732
  modelValue: k.showCol,
2733
2733
  "onUpdate:modelValue": (ue) => k.showCol = ue,
2734
2734
  "data-id": k.value,
@@ -2765,16 +2765,16 @@ const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { st
2765
2765
  default: () => ({})
2766
2766
  }
2767
2767
  },
2768
- setup(n) {
2769
- const i = n, e = () => {
2768
+ setup(r) {
2769
+ const i = r, e = () => {
2770
2770
  i.content ? (navigator.clipboard.writeText(i.content), ft.success("复制成功")) : ft.warning("没有内容可复制");
2771
2771
  };
2772
- return (l, r) => (h(), j("div", {
2772
+ return (l, n) => (h(), j("div", {
2773
2773
  class: "g-cell-toopTip",
2774
2774
  style: Le({ width: i.column.width + "px" })
2775
2775
  }, [
2776
2776
  Z("div", an, [
2777
- r[0] || (r[0] = Z("span", { class: "title-text" }, "内容", -1)),
2777
+ n[0] || (n[0] = Z("span", { class: "title-text" }, "内容", -1)),
2778
2778
  Z("span", {
2779
2779
  class: "copy-btn",
2780
2780
  onClick: e,
@@ -2806,12 +2806,12 @@ const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { st
2806
2806
  default: () => ({})
2807
2807
  }
2808
2808
  },
2809
- setup(n) {
2810
- const i = n, e = jt("options"), l = {
2809
+ setup(r) {
2810
+ const i = r, e = jt("options"), l = {
2811
2811
  border: !0,
2812
2812
  labelWidth: "100px",
2813
2813
  column: 2
2814
- }, r = We(() => {
2814
+ }, n = We(() => {
2815
2815
  var o, p;
2816
2816
  return {
2817
2817
  ...l,
@@ -2857,9 +2857,9 @@ const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { st
2857
2857
  const q = F("el-descriptions-item"), L = F("el-descriptions");
2858
2858
  return h(), j("div", {
2859
2859
  class: "g-detail-container",
2860
- style: Le(((T = r.value) == null ? void 0 : T.style) || {})
2860
+ style: Le(((T = n.value) == null ? void 0 : T.style) || {})
2861
2861
  }, [
2862
- ie(L, Y({ border: "" }, U(Pe)(r.value, (k) => !["container"].includes(k))), _e({
2862
+ ie(L, Y({ border: "" }, U(Pe)(n.value, (k) => !["container"].includes(k))), _e({
2863
2863
  default: $(() => [
2864
2864
  (h(!0), j(oe, null, W(f.value, ([k, ue]) => {
2865
2865
  var le, H;
@@ -2911,7 +2911,7 @@ const Qa = { style: { padding: "15px", "box-sizing": "border-box" } }, Za = { st
2911
2911
  }), Ol = /* @__PURE__ */ rt(un, [["__scopeId", "data-v-4902ce5a"]]);
2912
2912
  var Il = { exports: {} }, ql = { exports: {} };
2913
2913
  (function() {
2914
- var n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", i = {
2914
+ var r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", i = {
2915
2915
  // Bit-wise rotation left
2916
2916
  rotl: function(e, l) {
2917
2917
  return e << l | e >>> 32 - l;
@@ -2936,40 +2936,40 @@ var Il = { exports: {} }, ql = { exports: {} };
2936
2936
  },
2937
2937
  // Convert a byte array to big-endian 32-bit words
2938
2938
  bytesToWords: function(e) {
2939
- for (var l = [], r = 0, u = 0; r < e.length; r++, u += 8)
2940
- l[u >>> 5] |= e[r] << 24 - u % 32;
2939
+ for (var l = [], n = 0, u = 0; n < e.length; n++, u += 8)
2940
+ l[u >>> 5] |= e[n] << 24 - u % 32;
2941
2941
  return l;
2942
2942
  },
2943
2943
  // Convert big-endian 32-bit words to a byte array
2944
2944
  wordsToBytes: function(e) {
2945
- for (var l = [], r = 0; r < e.length * 32; r += 8)
2946
- l.push(e[r >>> 5] >>> 24 - r % 32 & 255);
2945
+ for (var l = [], n = 0; n < e.length * 32; n += 8)
2946
+ l.push(e[n >>> 5] >>> 24 - n % 32 & 255);
2947
2947
  return l;
2948
2948
  },
2949
2949
  // Convert a byte array to a hex string
2950
2950
  bytesToHex: function(e) {
2951
- for (var l = [], r = 0; r < e.length; r++)
2952
- l.push((e[r] >>> 4).toString(16)), l.push((e[r] & 15).toString(16));
2951
+ for (var l = [], n = 0; n < e.length; n++)
2952
+ l.push((e[n] >>> 4).toString(16)), l.push((e[n] & 15).toString(16));
2953
2953
  return l.join("");
2954
2954
  },
2955
2955
  // Convert a hex string to a byte array
2956
2956
  hexToBytes: function(e) {
2957
- for (var l = [], r = 0; r < e.length; r += 2)
2958
- l.push(parseInt(e.substr(r, 2), 16));
2957
+ for (var l = [], n = 0; n < e.length; n += 2)
2958
+ l.push(parseInt(e.substr(n, 2), 16));
2959
2959
  return l;
2960
2960
  },
2961
2961
  // Convert a byte array to a base-64 string
2962
2962
  bytesToBase64: function(e) {
2963
- for (var l = [], r = 0; r < e.length; r += 3)
2964
- for (var u = e[r] << 16 | e[r + 1] << 8 | e[r + 2], t = 0; t < 4; t++)
2965
- r * 8 + t * 6 <= e.length * 8 ? l.push(n.charAt(u >>> 6 * (3 - t) & 63)) : l.push("=");
2963
+ for (var l = [], n = 0; n < e.length; n += 3)
2964
+ for (var u = e[n] << 16 | e[n + 1] << 8 | e[n + 2], t = 0; t < 4; t++)
2965
+ n * 8 + t * 6 <= e.length * 8 ? l.push(r.charAt(u >>> 6 * (3 - t) & 63)) : l.push("=");
2966
2966
  return l.join("");
2967
2967
  },
2968
2968
  // Convert a base-64 string to a byte array
2969
2969
  base64ToBytes: function(e) {
2970
2970
  e = e.replace(/[^A-Z0-9+\/]/ig, "");
2971
- for (var l = [], r = 0, u = 0; r < e.length; u = ++r % 4)
2972
- u != 0 && l.push((n.indexOf(e.charAt(r - 1)) & Math.pow(2, -2 * u + 8) - 1) << u * 2 | n.indexOf(e.charAt(r)) >>> 6 - u * 2);
2971
+ for (var l = [], n = 0, u = 0; n < e.length; u = ++n % 4)
2972
+ u != 0 && l.push((r.indexOf(e.charAt(n - 1)) & Math.pow(2, -2 * u + 8) - 1) << u * 2 | r.indexOf(e.charAt(n)) >>> 6 - u * 2);
2973
2973
  return l;
2974
2974
  }
2975
2975
  };
@@ -2979,26 +2979,26 @@ var sn = ql.exports, Nt = {
2979
2979
  // UTF-8 encoding
2980
2980
  utf8: {
2981
2981
  // Convert a string to a byte array
2982
- stringToBytes: function(n) {
2983
- return Nt.bin.stringToBytes(unescape(encodeURIComponent(n)));
2982
+ stringToBytes: function(r) {
2983
+ return Nt.bin.stringToBytes(unescape(encodeURIComponent(r)));
2984
2984
  },
2985
2985
  // Convert a byte array to a string
2986
- bytesToString: function(n) {
2987
- return decodeURIComponent(escape(Nt.bin.bytesToString(n)));
2986
+ bytesToString: function(r) {
2987
+ return decodeURIComponent(escape(Nt.bin.bytesToString(r)));
2988
2988
  }
2989
2989
  },
2990
2990
  // Binary encoding
2991
2991
  bin: {
2992
2992
  // Convert a string to a byte array
2993
- stringToBytes: function(n) {
2994
- for (var i = [], e = 0; e < n.length; e++)
2995
- i.push(n.charCodeAt(e) & 255);
2993
+ stringToBytes: function(r) {
2994
+ for (var i = [], e = 0; e < r.length; e++)
2995
+ i.push(r.charCodeAt(e) & 255);
2996
2996
  return i;
2997
2997
  },
2998
2998
  // Convert a byte array to a string
2999
- bytesToString: function(n) {
3000
- for (var i = [], e = 0; e < n.length; e++)
3001
- i.push(String.fromCharCode(n[e]));
2999
+ bytesToString: function(r) {
3000
+ for (var i = [], e = 0; e < r.length; e++)
3001
+ i.push(String.fromCharCode(r[e]));
3002
3002
  return i.join("");
3003
3003
  }
3004
3004
  }
@@ -3009,44 +3009,44 @@ var sn = ql.exports, Nt = {
3009
3009
  * @author Feross Aboukhadijeh <https://feross.org>
3010
3010
  * @license MIT
3011
3011
  */
3012
- var dn = function(n) {
3013
- return n != null && (Al(n) || cn(n) || !!n._isBuffer);
3012
+ var dn = function(r) {
3013
+ return r != null && (Al(r) || cn(r) || !!r._isBuffer);
3014
3014
  };
3015
- function Al(n) {
3016
- return !!n.constructor && typeof n.constructor.isBuffer == "function" && n.constructor.isBuffer(n);
3015
+ function Al(r) {
3016
+ return !!r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
3017
3017
  }
3018
- function cn(n) {
3019
- return typeof n.readFloatLE == "function" && typeof n.slice == "function" && Al(n.slice(0, 0));
3018
+ function cn(r) {
3019
+ return typeof r.readFloatLE == "function" && typeof r.slice == "function" && Al(r.slice(0, 0));
3020
3020
  }
3021
3021
  (function() {
3022
- var n = sn, i = fl.utf8, e = dn, l = fl.bin, r = function(u, t) {
3022
+ var r = sn, i = fl.utf8, e = dn, l = fl.bin, n = function(u, t) {
3023
3023
  u.constructor == String ? t && t.encoding === "binary" ? u = l.stringToBytes(u) : u = i.stringToBytes(u) : e(u) ? u = Array.prototype.slice.call(u, 0) : !Array.isArray(u) && u.constructor !== Uint8Array && (u = u.toString());
3024
- for (var d = n.bytesToWords(u), M = u.length * 8, f = 1732584193, v = -271733879, c = -1732584194, o = 271733878, p = 0; p < d.length; p++)
3024
+ for (var d = r.bytesToWords(u), M = u.length * 8, f = 1732584193, v = -271733879, c = -1732584194, o = 271733878, p = 0; p < d.length; p++)
3025
3025
  d[p] = (d[p] << 8 | d[p] >>> 24) & 16711935 | (d[p] << 24 | d[p] >>> 8) & 4278255360;
3026
3026
  d[M >>> 5] |= 128 << M % 32, d[(M + 64 >>> 9 << 4) + 14] = M;
3027
- for (var q = r._ff, L = r._gg, T = r._hh, k = r._ii, p = 0; p < d.length; p += 16) {
3027
+ for (var q = n._ff, L = n._gg, T = n._hh, k = n._ii, p = 0; p < d.length; p += 16) {
3028
3028
  var ue = f, le = v, H = c, Q = o;
3029
3029
  f = q(f, v, c, o, d[p + 0], 7, -680876936), o = q(o, f, v, c, d[p + 1], 12, -389564586), c = q(c, o, f, v, d[p + 2], 17, 606105819), v = q(v, c, o, f, d[p + 3], 22, -1044525330), f = q(f, v, c, o, d[p + 4], 7, -176418897), o = q(o, f, v, c, d[p + 5], 12, 1200080426), c = q(c, o, f, v, d[p + 6], 17, -1473231341), v = q(v, c, o, f, d[p + 7], 22, -45705983), f = q(f, v, c, o, d[p + 8], 7, 1770035416), o = q(o, f, v, c, d[p + 9], 12, -1958414417), c = q(c, o, f, v, d[p + 10], 17, -42063), v = q(v, c, o, f, d[p + 11], 22, -1990404162), f = q(f, v, c, o, d[p + 12], 7, 1804603682), o = q(o, f, v, c, d[p + 13], 12, -40341101), c = q(c, o, f, v, d[p + 14], 17, -1502002290), v = q(v, c, o, f, d[p + 15], 22, 1236535329), f = L(f, v, c, o, d[p + 1], 5, -165796510), o = L(o, f, v, c, d[p + 6], 9, -1069501632), c = L(c, o, f, v, d[p + 11], 14, 643717713), v = L(v, c, o, f, d[p + 0], 20, -373897302), f = L(f, v, c, o, d[p + 5], 5, -701558691), o = L(o, f, v, c, d[p + 10], 9, 38016083), c = L(c, o, f, v, d[p + 15], 14, -660478335), v = L(v, c, o, f, d[p + 4], 20, -405537848), f = L(f, v, c, o, d[p + 9], 5, 568446438), o = L(o, f, v, c, d[p + 14], 9, -1019803690), c = L(c, o, f, v, d[p + 3], 14, -187363961), v = L(v, c, o, f, d[p + 8], 20, 1163531501), f = L(f, v, c, o, d[p + 13], 5, -1444681467), o = L(o, f, v, c, d[p + 2], 9, -51403784), c = L(c, o, f, v, d[p + 7], 14, 1735328473), v = L(v, c, o, f, d[p + 12], 20, -1926607734), f = T(f, v, c, o, d[p + 5], 4, -378558), o = T(o, f, v, c, d[p + 8], 11, -2022574463), c = T(c, o, f, v, d[p + 11], 16, 1839030562), v = T(v, c, o, f, d[p + 14], 23, -35309556), f = T(f, v, c, o, d[p + 1], 4, -1530992060), o = T(o, f, v, c, d[p + 4], 11, 1272893353), c = T(c, o, f, v, d[p + 7], 16, -155497632), v = T(v, c, o, f, d[p + 10], 23, -1094730640), f = T(f, v, c, o, d[p + 13], 4, 681279174), o = T(o, f, v, c, d[p + 0], 11, -358537222), c = T(c, o, f, v, d[p + 3], 16, -722521979), v = T(v, c, o, f, d[p + 6], 23, 76029189), f = T(f, v, c, o, d[p + 9], 4, -640364487), o = T(o, f, v, c, d[p + 12], 11, -421815835), c = T(c, o, f, v, d[p + 15], 16, 530742520), v = T(v, c, o, f, d[p + 2], 23, -995338651), f = k(f, v, c, o, d[p + 0], 6, -198630844), o = k(o, f, v, c, d[p + 7], 10, 1126891415), c = k(c, o, f, v, d[p + 14], 15, -1416354905), v = k(v, c, o, f, d[p + 5], 21, -57434055), f = k(f, v, c, o, d[p + 12], 6, 1700485571), o = k(o, f, v, c, d[p + 3], 10, -1894986606), c = k(c, o, f, v, d[p + 10], 15, -1051523), v = k(v, c, o, f, d[p + 1], 21, -2054922799), f = k(f, v, c, o, d[p + 8], 6, 1873313359), o = k(o, f, v, c, d[p + 15], 10, -30611744), c = k(c, o, f, v, d[p + 6], 15, -1560198380), v = k(v, c, o, f, d[p + 13], 21, 1309151649), f = k(f, v, c, o, d[p + 4], 6, -145523070), o = k(o, f, v, c, d[p + 11], 10, -1120210379), c = k(c, o, f, v, d[p + 2], 15, 718787259), v = k(v, c, o, f, d[p + 9], 21, -343485551), f = f + ue >>> 0, v = v + le >>> 0, c = c + H >>> 0, o = o + Q >>> 0;
3030
3030
  }
3031
- return n.endian([f, v, c, o]);
3031
+ return r.endian([f, v, c, o]);
3032
3032
  };
3033
- r._ff = function(u, t, d, M, f, v, c) {
3033
+ n._ff = function(u, t, d, M, f, v, c) {
3034
3034
  var o = u + (t & d | ~t & M) + (f >>> 0) + c;
3035
3035
  return (o << v | o >>> 32 - v) + t;
3036
- }, r._gg = function(u, t, d, M, f, v, c) {
3036
+ }, n._gg = function(u, t, d, M, f, v, c) {
3037
3037
  var o = u + (t & M | d & ~M) + (f >>> 0) + c;
3038
3038
  return (o << v | o >>> 32 - v) + t;
3039
- }, r._hh = function(u, t, d, M, f, v, c) {
3039
+ }, n._hh = function(u, t, d, M, f, v, c) {
3040
3040
  var o = u + (t ^ d ^ M) + (f >>> 0) + c;
3041
3041
  return (o << v | o >>> 32 - v) + t;
3042
- }, r._ii = function(u, t, d, M, f, v, c) {
3042
+ }, n._ii = function(u, t, d, M, f, v, c) {
3043
3043
  var o = u + (d ^ (t | ~M)) + (f >>> 0) + c;
3044
3044
  return (o << v | o >>> 32 - v) + t;
3045
- }, r._blocksize = 16, r._digestsize = 16, Il.exports = function(u, t) {
3045
+ }, n._blocksize = 16, n._digestsize = 16, Il.exports = function(u, t) {
3046
3046
  if (u == null)
3047
3047
  throw new Error("Illegal argument " + u);
3048
- var d = n.wordsToBytes(r(u, t));
3049
- return t && t.asBytes ? d : t && t.asString ? l.bytesToString(d) : n.bytesToHex(d);
3048
+ var d = r.wordsToBytes(n(u, t));
3049
+ return t && t.asBytes ? d : t && t.asString ? l.bytesToString(d) : r.bytesToHex(d);
3050
3050
  };
3051
3051
  })();
3052
3052
  var fn = Il.exports;
@@ -3081,9 +3081,9 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3081
3081
  "toggleExpand",
3082
3082
  "node-init"
3083
3083
  ], ["update:modelValue", "update:selectedRows"]),
3084
- setup(n, { expose: i, emit: e }) {
3084
+ setup(r, { expose: i, emit: e }) {
3085
3085
  var lt, Xe, Je, Ke, et, Mt, St;
3086
- const l = ne(""), r = n, u = e, t = ot(n, "modelValue"), d = jt("options"), M = ne({}), f = ne(!0), v = Object.entries(t.value).filter(([a, s]) => (s == null ? void 0 : s.search) !== void 0).map(([a, s]) => {
3086
+ const l = ne(""), n = r, u = e, t = ot(r, "modelValue"), d = jt("options"), M = ne({}), f = ne(!0), v = Object.entries(t.value).filter(([a, s]) => (s == null ? void 0 : s.search) !== void 0).map(([a, s]) => {
3087
3087
  var C;
3088
3088
  let y;
3089
3089
  if (typeof s.search == "function") {
@@ -3123,7 +3123,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3123
3123
  "filter-multiple",
3124
3124
  "filter-method",
3125
3125
  "filtered-value"
3126
- ], p = ne([]), q = Lt(), L = ne({}), T = ne([]), k = ne(null), ue = ne(""), le = ne("/"), H = ot(n, "selectedRows"), Q = ne({
3126
+ ], p = ne([]), q = Lt(), L = ne({}), T = ne([]), k = ne(null), ue = ne(""), le = ne("/"), H = ot(r, "selectedRows"), Q = ne({
3127
3127
  autoWatch: !1,
3128
3128
  data: [],
3129
3129
  border: !0,
@@ -3319,7 +3319,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3319
3319
  auth: () => !(C.control.add(a, C).inline === !0 && y == 0),
3320
3320
  onClick: () => {
3321
3321
  var B;
3322
- let O = (B = Te(a, s, y, C)) == null ? void 0 : B.operate;
3322
+ let O = (B = Se(a, s, y, C)) == null ? void 0 : B.operate;
3323
3323
  O === "edit" ? w(a, s, y, C) : O === "delete" ? m(a, s, y, C) : O === "view" && V(a, s, y, C);
3324
3324
  },
3325
3325
  "button-props": { round: !0, plain: !0 }
@@ -3330,26 +3330,26 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3330
3330
  d == null ? void 0 : d.control,
3331
3331
  (Je = t.value) == null ? void 0 : Je.control
3332
3332
  );
3333
- const we = (a, s = !0) => {
3333
+ const me = (a, s = !0) => {
3334
3334
  const y = t.value.control[a], C = s ? (O, B, P, $e) => {
3335
3335
  var Be, tt, ht;
3336
3336
  if (!O || !B || P == null)
3337
3337
  return console.warn(`merge${a.charAt(0).toUpperCase() + a.slice(1)}: 缺少必要的参数(row, column或index)`), {};
3338
- const Se = ((Be = de[a]) == null ? void 0 : Be.call(de, O, B, P, $e)) || {}, Ie = ((ht = (tt = d == null ? void 0 : d.control) == null ? void 0 : tt[a]) == null ? void 0 : ht.call(tt, O, B, P, $e)) || {}, Ue = (y == null ? void 0 : y(O, B, P, $e)) || {};
3339
- return je(Se, Ie, Ue) || {};
3338
+ const Te = ((Be = de[a]) == null ? void 0 : Be.call(de, O, B, P, $e)) || {}, Ie = ((ht = (tt = d == null ? void 0 : d.control) == null ? void 0 : tt[a]) == null ? void 0 : ht.call(tt, O, B, P, $e)) || {}, Ue = (y == null ? void 0 : y(O, B, P, $e)) || {};
3339
+ return je(Te, Ie, Ue) || {};
3340
3340
  } : (O, B) => {
3341
3341
  var Ie, Ue, Be;
3342
- const P = ((Ie = de[a]) == null ? void 0 : Ie.call(de, O, B)) || {}, $e = ((Be = (Ue = d == null ? void 0 : d.control) == null ? void 0 : Ue[a]) == null ? void 0 : Be.call(Ue, O, B)) || {}, Se = (y == null ? void 0 : y(O, B)) || {};
3343
- return je(P, $e, Se) || {};
3342
+ const P = ((Ie = de[a]) == null ? void 0 : Ie.call(de, O, B)) || {}, $e = ((Be = (Ue = d == null ? void 0 : d.control) == null ? void 0 : Ue[a]) == null ? void 0 : Be.call(Ue, O, B)) || {}, Te = (y == null ? void 0 : y(O, B)) || {};
3343
+ return je(P, $e, Te) || {};
3344
3344
  };
3345
3345
  t.value.control[a] = C;
3346
3346
  };
3347
- we("edit"), we("delete"), we("view"), we("save"), we("add", !1), we("download", !1), we("setting", !1), we("batch", !1), we("toggleExpand", !1);
3348
- const Te = (a, s, y, C) => {
3349
- var $e, Se, Ie, Ue, Be, tt;
3347
+ me("edit"), me("delete"), me("view"), me("save"), me("add", !1), me("download", !1), me("setting", !1), me("batch", !1), me("toggleExpand", !1);
3348
+ const Se = (a, s, y, C) => {
3349
+ var $e, Te, Ie, Ue, Be, tt;
3350
3350
  if (!a || !s || y == null)
3351
3351
  return console.warn("mergeDropdown: 缺少必要的参数(row, column或index)"), {};
3352
- const O = (($e = de.dropdown) == null ? void 0 : $e.call(de, a, s, y, C)) || {}, B = ((Ie = (Se = d == null ? void 0 : d.control) == null ? void 0 : Se.dropdown) == null ? void 0 : Ie.call(Se, a, s, y, C)) || {}, P = ((tt = (Be = (Ue = t.value) == null ? void 0 : Ue.control) == null ? void 0 : Be.dropdown) == null ? void 0 : tt.call(Be, a, s, y, C)) || {};
3352
+ const O = (($e = de.dropdown) == null ? void 0 : $e.call(de, a, s, y, C)) || {}, B = ((Ie = (Te = d == null ? void 0 : d.control) == null ? void 0 : Te.dropdown) == null ? void 0 : Ie.call(Te, a, s, y, C)) || {}, P = ((tt = (Be = (Ue = t.value) == null ? void 0 : Ue.control) == null ? void 0 : Be.dropdown) == null ? void 0 : tt.call(Be, a, s, y, C)) || {};
3353
3353
  return je(O, B, P) || {};
3354
3354
  }, Ye = {
3355
3355
  type: "hidden",
@@ -3373,7 +3373,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3373
3373
  d == null ? void 0 : d.form,
3374
3374
  (et = t.value) == null ? void 0 : et.form
3375
3375
  );
3376
- const me = {
3376
+ const he = {
3377
3377
  type: "hidden",
3378
3378
  labelPosition: "right",
3379
3379
  style: {
@@ -3381,7 +3381,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3381
3381
  }
3382
3382
  };
3383
3383
  t.value.formItems = je(
3384
- me,
3384
+ he,
3385
3385
  d == null ? void 0 : d.formItems,
3386
3386
  (Mt = t == null ? void 0 : t.value) == null ? void 0 : Mt.formItems
3387
3387
  );
@@ -3402,7 +3402,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3402
3402
  d == null ? void 0 : d.dialog,
3403
3403
  (St = t.value) == null ? void 0 : St.dialog
3404
3404
  );
3405
- const he = (a, s) => {
3405
+ const ye = (a, s) => {
3406
3406
  let y = s;
3407
3407
  if (a.precision && !isNaN(parseFloat(s)) && (typeof a.precision == "number" ? y = parseFloat(y).toFixed(a.precision) : typeof a.precision == "object" && a.precision.num && (a.precision.pad ? y = parseFloat(y).toFixed(a.precision.num) : y = parseFloat(
3408
3408
  parseFloat(y).toFixed(a.precision.num)
@@ -3425,14 +3425,14 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3425
3425
  var y, C;
3426
3426
  t.value.form.modalState = "add", l.value = "add";
3427
3427
  try {
3428
- if (!await ((y = t.value.control) == null ? void 0 : y.validate("add", { row: k.value, m: s, node: r.node }))) return;
3428
+ if (!await ((y = t.value.control) == null ? void 0 : y.validate("add", { row: k.value, m: s, node: n.node }))) return;
3429
3429
  } catch (O) {
3430
3430
  console.error("验证失败:", O);
3431
3431
  return;
3432
3432
  }
3433
- (C = t.value.control.add(k.value, s)) != null && C.click ? t.value.control.add(k.value, s).click(k.value, s) : (t.value.control.add(k.value, s).inline === !0 ? (t.value.table.data.unshift({ ...k.value }), await nt(), u("open", "row-add", { row: k.value, node: r.node })) : (t.value.form.disabled = !1, t.value.dialog.mode = t.value.control.add(k.value, s).mode, t.value.dialog.title = t.value.control.add(k.value, s).title || t.value.control.add(k.value, s).label || "新增", Object.keys(k.value).forEach((O) => {
3433
+ (C = t.value.control.add(k.value, s)) != null && C.click ? t.value.control.add(k.value, s).click(k.value, s) : (t.value.control.add(k.value, s).inline === !0 ? (t.value.table.data.unshift({ ...k.value }), await nt(), u("open", "row-add", { row: k.value, node: n.node })) : (t.value.form.disabled = !1, t.value.dialog.mode = t.value.control.add(k.value, s).mode, t.value.dialog.title = t.value.control.add(k.value, s).title || t.value.control.add(k.value, s).label || "新增", Object.keys(k.value).forEach((O) => {
3434
3434
  t.value[O] && (t.value[O].value = k.value[O]);
3435
- }), c.value = !0, await nt(), u("open", "add", { row: k.value, node: r.node, m: s }), _t()), await nt(), u("node-init", { row: k.value, node: r.node, m: s }));
3435
+ }), c.value = !0, await nt(), u("open", "add", { row: k.value, node: n.node, m: s }), _t()), await nt(), u("node-init", { row: k.value, node: n.node, m: s }));
3436
3436
  }, g = () => {
3437
3437
  u("batch", H.value);
3438
3438
  }, _ = (a, s) => {
@@ -3462,8 +3462,8 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3462
3462
  if ((B = t.value.control.delete(a, s, y, C)) != null && B.click)
3463
3463
  t.value.control.delete(a, s, y, C).click(a, s, y, C);
3464
3464
  else {
3465
- let { message: P, title: $e, options: Se } = t.value.control.delete(a, s, y, C).dialog;
3466
- ml.confirm(P, $e, Se).then(() => {
3465
+ let { message: P, title: $e, options: Te } = t.value.control.delete(a, s, y, C).dialog;
3466
+ ml.confirm(P, $e, Te).then(() => {
3467
3467
  u(
3468
3468
  "delete",
3469
3469
  { row: a, column: s, index: y, m: C },
@@ -3479,22 +3479,22 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3479
3479
  t.value.form.modalState = void 0, l.value = "view";
3480
3480
  try {
3481
3481
  if (!await ((O = t.value.control) == null ? void 0 : O.validate("view", { row: a, column: s, index: y, m: C }))) return;
3482
- } catch (Se) {
3483
- console.error("验证失败:", Se);
3482
+ } catch (Te) {
3483
+ console.error("验证失败:", Te);
3484
3484
  return;
3485
3485
  }
3486
- (B = t.value.control.view(a, s, y, C)) != null && B.click ? t.value.control.view(a, s, y, C).click(a, s, y, C) : (t.value.form.disabled = !0, t.value.dialog.mode = t.value.control.view(a, s, y, C).mode, t.value.dialog.title = t.value.control.view(a, s, y, C).title || t.value.control.view(a, s, y, C).label || "详情", Object.keys(a).forEach((Se) => {
3487
- t.value[Se] && (t.value[Se].value = a[Se]);
3486
+ (B = t.value.control.view(a, s, y, C)) != null && B.click ? t.value.control.view(a, s, y, C).click(a, s, y, C) : (t.value.form.disabled = !0, t.value.dialog.mode = t.value.control.view(a, s, y, C).mode, t.value.dialog.title = t.value.control.view(a, s, y, C).title || t.value.control.view(a, s, y, C).label || "详情", Object.keys(a).forEach((Te) => {
3487
+ t.value[Te] && (t.value[Te].value = a[Te]);
3488
3488
  }), ((P = t.value.control.view(a, s, y, C)) == null ? void 0 : P["view-mode"]) === "description" ? gt({
3489
3489
  ...t.value.dialog,
3490
3490
  type: t.value.dialog.mode,
3491
3491
  slots: {
3492
3492
  default: () => {
3493
- var Se, Ie, Ue;
3493
+ var Te, Ie, Ue;
3494
3494
  return Ce(Ol, {
3495
3495
  row: a,
3496
3496
  m: C,
3497
- container: ((Se = t.value.control.view(a, s, y, C)) == null ? void 0 : Se.container) || {}
3497
+ container: ((Te = t.value.control.view(a, s, y, C)) == null ? void 0 : Te.container) || {}
3498
3498
  }, ((Ue = (Ie = t.value.control.view(a, s, y, C)) == null ? void 0 : Ie.container) == null ? void 0 : Ue.slots) || {});
3499
3499
  }
3500
3500
  }
@@ -3509,11 +3509,11 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3509
3509
  async (B = !0, P = !0) => {
3510
3510
  if (B && t.value.table.load(), P && y === 0) {
3511
3511
  const $e = Object.entries(t.value).filter(
3512
- ([Se, Ie]) => Ie.type !== "control" && Ie.type !== "hidden"
3512
+ ([Te, Ie]) => Ie.type !== "control" && Ie.type !== "hidden"
3513
3513
  // && val.editor !== false
3514
3514
  );
3515
3515
  k.value = Object.fromEntries(
3516
- $e.map(([Se, Ie]) => [Se, Ie.value])
3516
+ $e.map(([Te, Ie]) => [Te, Ie.value])
3517
3517
  ), t.value.table.data[y] = { ...k.value };
3518
3518
  }
3519
3519
  }
@@ -3591,7 +3591,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3591
3591
  sort: (P == null ? void 0 : P.sort) || 0,
3592
3592
  groupName: (P == null ? void 0 : P.groupName) || "default"
3593
3593
  };
3594
- }).sort((B, P) => B.sort - P.sort), be = (a, s, y, C, O) => ze(a, s, y, C, O).reduce((B, P) => {
3594
+ }).sort((B, P) => B.sort - P.sort), we = (a, s, y, C, O) => ze(a, s, y, C, O).reduce((B, P) => {
3595
3595
  const $e = P.groupName || "default";
3596
3596
  return B[$e] || (B[$e] = []), B[$e].push(P), B;
3597
3597
  }, {}), se = We(() => Object.fromEntries(
@@ -3612,7 +3612,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3612
3612
  if (a.getDicts) {
3613
3613
  const C = s.toString();
3614
3614
  return Ge.value[C] ? (a.options = Ge.value[C], a.formatter || (a.formatter = (O, B, P, $e) => a.options && y(a.options, P) || P), Promise.resolve()) : a.getDicts(t.value.table.data).then((O) => {
3615
- Ge.value[C] = O, a.options = O, a.formatter || (a.formatter = (B, P, $e, Se) => a.options && y(a.options, $e) || $e);
3615
+ Ge.value[C] = O, a.options = O, a.formatter || (a.formatter = (B, P, $e, Te) => a.options && y(a.options, $e) || $e);
3616
3616
  });
3617
3617
  }
3618
3618
  return Promise.resolve();
@@ -3681,7 +3681,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3681
3681
  }
3682
3682
  }), i({ addRow: I, editRow: w, deleteRow: m, readForm: V, saveRowData: A, closeDialog: De, formData: k }), (a, s) => {
3683
3683
  var Ie, Ue, Be, tt, ht, Tt, Et;
3684
- const y = F("el-button-group"), C = F("el-dropdown-item"), O = F("el-dropdown-menu"), B = F("el-dropdown"), P = F("el-table-column"), $e = F("el-table"), Se = F("el-pagination");
3684
+ const y = F("el-button-group"), C = F("el-dropdown-item"), O = F("el-dropdown-menu"), B = F("el-dropdown"), P = F("el-table-column"), $e = F("el-table"), Te = F("el-pagination");
3685
3685
  return h(), j(oe, null, [
3686
3686
  c.value ? (h(), D(Xt, Y({
3687
3687
  key: 0,
@@ -3695,16 +3695,16 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3695
3695
  key: 0,
3696
3696
  modelValue: t.value,
3697
3697
  "onUpdate:modelValue": s[0] || (s[0] = (K) => t.value = K),
3698
- onSubmit: s[1] || (s[1] = (K, ye, re) => U(J)(K, ye, re)),
3698
+ onSubmit: s[1] || (s[1] = (K, ge, re) => U(J)(K, ge, re)),
3699
3699
  onReset: ee,
3700
3700
  flag: l.value
3701
3701
  }, _e({ _: 2 }, [
3702
- W(a.$slots, (K, ye, re) => ({
3703
- name: ye,
3702
+ W(a.$slots, (K, ge, re) => ({
3703
+ name: ge,
3704
3704
  fn: $((He) => {
3705
3705
  var Qe;
3706
3706
  return [
3707
- x(a.$slots, ye, {
3707
+ x(a.$slots, ge, {
3708
3708
  model: He,
3709
3709
  form: (Qe = He == null ? void 0 : He.data) == null ? void 0 : Qe.form
3710
3710
  }, void 0, !0)
@@ -3717,10 +3717,10 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3717
3717
  }, [
3718
3718
  a.$slots.header ? {
3719
3719
  name: "header",
3720
- fn: $(({ titleClass: K, closeIconClass: ye }) => [
3720
+ fn: $(({ titleClass: K, closeIconClass: ge }) => [
3721
3721
  x(a.$slots, "header", {
3722
3722
  titleClass: K,
3723
- closeIconClass: ye
3723
+ closeIconClass: ge
3724
3724
  }, void 0, !0)
3725
3725
  ]),
3726
3726
  key: "0"
@@ -3760,8 +3760,8 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3760
3760
  }, _e({
3761
3761
  "q-btns": $(() => [
3762
3762
  x(a.$slots, "q-btns", {}, () => [
3763
- (h(!0), j(oe, null, W(be(["add", "toggleExpand", "batch", "download", "setting"], k.value, t.value), (K, ye) => (h(), j(oe, null, [
3764
- ye == "default" ? (h(!0), j(oe, { key: 0 }, W(K, (re) => (h(), j(oe, null, [
3763
+ (h(!0), j(oe, null, W(we(["add", "toggleExpand", "batch", "download", "setting"], k.value, t.value), (K, ge) => (h(), j(oe, null, [
3764
+ ge == "default" ? (h(!0), j(oe, { key: 0 }, W(K, (re) => (h(), j(oe, null, [
3765
3765
  x(a.$slots, re.name + "-left", {}, void 0, !0),
3766
3766
  (re.name === "control-add" ? re.attr.auth() && re.attr.inline === !1 : re.attr.auth()) ? x(a.$slots, re.name, { key: 0 }, () => {
3767
3767
  var He, Qe;
@@ -3825,10 +3825,10 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3825
3825
  ]),
3826
3826
  _: 2
3827
3827
  }, [
3828
- W(a.$slots, (K, ye, re) => ({
3829
- name: ye,
3828
+ W(a.$slots, (K, ge, re) => ({
3829
+ name: ge,
3830
3830
  fn: $((He) => [
3831
- x(a.$slots, ye, {
3831
+ x(a.$slots, ge, {
3832
3832
  model: He,
3833
3833
  form: M.value
3834
3834
  }, void 0, !0)
@@ -3851,8 +3851,8 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3851
3851
  }, {
3852
3852
  "summary-method": (K) => t.value.table["summary-method"](K, { fields: T.value, sums: L.value }),
3853
3853
  onSortChange: s[5] || (s[5] = (K) => {
3854
- var ye, re;
3855
- t.value.table.onSortChange(K, M.value), ((ye = K == null ? void 0 : K.column) == null ? void 0 : ye.sortable) === "custom" && ((re = t.value.table) == null || re.load());
3854
+ var ge, re;
3855
+ t.value.table.onSortChange(K, M.value), ((ge = K == null ? void 0 : K.column) == null ? void 0 : ge.sortable) === "custom" && ((re = t.value.table) == null || re.load());
3856
3856
  })
3857
3857
  }), {
3858
3858
  append: $(() => [
@@ -3863,39 +3863,39 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3863
3863
  ]),
3864
3864
  default: $(() => [
3865
3865
  x(a.$slots, "default", {}, () => [
3866
- (h(!0), j(oe, null, W(se.value, (K, ye) => {
3866
+ (h(!0), j(oe, null, W(se.value, (K, ge) => {
3867
3867
  var re, He, Qe, st;
3868
3868
  return h(), D(P, Y({
3869
- prop: ye,
3870
- "column-key": ye
3871
- }, { ref_for: !0 }, ((He = (re = t.value) == null ? void 0 : re.table) == null ? void 0 : He["row-key"]) == ye ? {
3869
+ prop: ge,
3870
+ "column-key": ge
3871
+ }, { ref_for: !0 }, ((He = (re = t.value) == null ? void 0 : re.table) == null ? void 0 : He["row-key"]) == ge ? {
3872
3872
  ...U(Pe)(K, (te) => ["label", "width", "min-width", "align", "header-align", "formatter"].includes(te))
3873
3873
  } : {
3874
3874
  ...t.value.tableColumns,
3875
3875
  ...U(Pe)(K, (te) => o.includes(te))
3876
3876
  }), _e({
3877
3877
  header: $(({ column: te, $index: ce }) => [
3878
- ye == "control" ? x(a.$slots, `${ye}-header`, {
3878
+ ge == "control" ? x(a.$slots, `${ge}-header`, {
3879
3879
  key: 0,
3880
3880
  column: te,
3881
3881
  index: ce
3882
3882
  }, () => [
3883
3883
  Z("span", null, Ve(te.label), 1)
3884
- ], !0) : x(a.$slots, `${ye}-header`, {
3884
+ ], !0) : x(a.$slots, `${ge}-header`, {
3885
3885
  key: 1,
3886
3886
  column: te,
3887
3887
  index: ce
3888
3888
  }, void 0, !0)
3889
3889
  ]),
3890
3890
  "filter-icon": $((te) => [
3891
- x(a.$slots, `${ye}-filter-icon`, { data: te }, void 0, !0)
3891
+ x(a.$slots, `${ge}-filter-icon`, { data: te }, void 0, !0)
3892
3892
  ]),
3893
3893
  _: 2
3894
3894
  }, [
3895
3895
  K.type === "expand" ? {
3896
3896
  name: "default",
3897
3897
  fn: $(({ row: te, column: ce, $index: fe }) => [
3898
- x(a.$slots, `${ye}`, {
3898
+ x(a.$slots, `${ge}`, {
3899
3899
  row: te,
3900
3900
  column: ce,
3901
3901
  index: fe
@@ -3917,7 +3917,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3917
3917
  column: ce,
3918
3918
  index: fe
3919
3919
  }, void 0, !0),
3920
- (h(!0), j(oe, null, W(be(["view", "edit", "delete", "save"], te, ce, fe, t.value), (it, dt) => {
3920
+ (h(!0), j(oe, null, W(we(["view", "edit", "delete", "save"], te, ce, fe, t.value), (it, dt) => {
3921
3921
  var bt;
3922
3922
  return h(), j(oe, null, [
3923
3923
  dt == "default" ? (h(!0), j(oe, { key: 0 }, W(it, (X) => (h(), j(oe, null, [
@@ -3954,10 +3954,10 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
3954
3954
  column: ce,
3955
3955
  index: fe
3956
3956
  }, void 0, !0)
3957
- ], 64))), 256)) : dt != null && dt.startsWith("dropdown") && ((bt = Te(te, ce, fe, t.value)) != null && bt.auth()) ? (h(), D(B, Y({
3957
+ ], 64))), 256)) : dt != null && dt.startsWith("dropdown") && ((bt = Se(te, ce, fe, t.value)) != null && bt.auth()) ? (h(), D(B, Y({
3958
3958
  key: 1,
3959
3959
  ref_for: !0
3960
- }, Te(te, ce, fe, t.value)), {
3960
+ }, Se(te, ce, fe, t.value)), {
3961
3961
  dropdown: $(() => [
3962
3962
  ie(O, null, {
3963
3963
  default: $(() => [
@@ -4019,7 +4019,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4019
4019
  default: $(() => {
4020
4020
  var X;
4021
4021
  return [
4022
- Fe(Ve((X = Te(te, ce, fe, t.value)) == null ? void 0 : X.label) + " ", 1)
4022
+ Fe(Ve((X = Se(te, ce, fe, t.value)) == null ? void 0 : X.label) + " ", 1)
4023
4023
  ];
4024
4024
  }),
4025
4025
  _: 2
@@ -4075,10 +4075,10 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4075
4075
  ];
4076
4076
  }),
4077
4077
  key: "1"
4078
- } : K.type != "selection" && K.type != "index" && ((st = (Qe = t.value) == null ? void 0 : Qe.table) == null ? void 0 : st["row-key"]) != ye ? {
4078
+ } : K.type != "selection" && K.type != "index" && ((st = (Qe = t.value) == null ? void 0 : Qe.table) == null ? void 0 : st["row-key"]) != ge ? {
4079
4079
  name: "default",
4080
4080
  fn: $(({ row: te, column: ce, $index: fe }) => [
4081
- G(K, te, ce, fe) && fe != -1 ? x(a.$slots, `${ye}`, {
4081
+ G(K, te, ce, fe) && fe != -1 ? x(a.$slots, `${ge}`, {
4082
4082
  key: 0,
4083
4083
  row: te,
4084
4084
  column: ce,
@@ -4087,11 +4087,11 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4087
4087
  var vt;
4088
4088
  return [
4089
4089
  (h(), D(Ct, {
4090
- modelValue: te[ye],
4091
- "onUpdate:modelValue": (pt) => te[ye] = pt,
4090
+ modelValue: te[ge],
4091
+ "onUpdate:modelValue": (pt) => te[ge] = pt,
4092
4092
  item: K == null ? void 0 : K.table(te, ce, fe),
4093
- ctrlKey: ye,
4094
- key: `${ye}-${fe} -${ue.value}`,
4093
+ ctrlKey: ge,
4094
+ key: `${ge}-${fe} -${ue.value}`,
4095
4095
  ctrlType: (vt = K.table(te, ce, fe)) != null && vt.type ? K.table(te, ce, fe).type : K.type,
4096
4096
  model: t.value,
4097
4097
  class: "g-ctrl-container",
@@ -4110,7 +4110,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4110
4110
  }))
4111
4111
  ]), 1032, ["modelValue", "onUpdate:modelValue", "item", "ctrlKey", "ctrlType", "model", "formInfo"]))
4112
4112
  ];
4113
- }, !0) : x(a.$slots, `${ye}`, {
4113
+ }, !0) : x(a.$slots, `${ge}`, {
4114
4114
  key: 1,
4115
4115
  row: te,
4116
4116
  column: ce,
@@ -4118,9 +4118,9 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4118
4118
  }, () => [
4119
4119
  Z("div", {
4120
4120
  style: Le([{ width: "100%", "text-overflow": "ellipsis", overflow: "hidden" }, K == null ? void 0 : K.style]),
4121
- innerHTML: he(
4121
+ innerHTML: ye(
4122
4122
  K,
4123
- typeof ce.formatter == "function" ? ce.formatter(te, ce, te[ye], fe) : te[ye]
4123
+ typeof ce.formatter == "function" ? ce.formatter(te, ce, te[ge], fe) : te[ge]
4124
4124
  )
4125
4125
  }, null, 12, yn)
4126
4126
  ], !0)
@@ -4134,7 +4134,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4134
4134
  _: 3
4135
4135
  }, 16, ["summary-method"])) : xe("", !0),
4136
4136
  (Et = (Tt = (ht = t.value) == null ? void 0 : ht.table) == null ? void 0 : Tt.page) != null && Et.hidden ? xe("", !0) : x(a.$slots, "page", { key: 1 }, () => [
4137
- ie(Se, Y({
4137
+ ie(Te, Y({
4138
4138
  "page-size": t.value.table.page.pageSize,
4139
4139
  "onUpdate:pageSize": s[6] || (s[6] = (K) => t.value.table.page.pageSize = K),
4140
4140
  "current-page": t.value.table.page.currentPage,
@@ -4168,8 +4168,8 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4168
4168
  }
4169
4169
  },
4170
4170
  emits: ["menu-command"],
4171
- setup(n, { emit: i }) {
4172
- const e = n, l = i, u = je({
4171
+ setup(r, { emit: i }) {
4172
+ const e = r, l = i, u = je({
4173
4173
  add: { icon: $l, label: "新增", type: "primary" },
4174
4174
  edit: { icon: xl, label: "编辑", type: "success" },
4175
4175
  delete: { icon: Wt, label: "删除", type: "danger" },
@@ -4280,29 +4280,35 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4280
4280
  modelModifiers: {}
4281
4281
  },
4282
4282
  emits: /* @__PURE__ */ ut(["load", "menu-command"], ["update:modelValue"]),
4283
- setup(n, { emit: i }) {
4283
+ setup(r, { emit: i }) {
4284
4284
  var T, k, ue, le;
4285
- const e = i, l = ot(n, "modelValue"), r = Lt(), u = ne(
4286
- typeof ((T = r == null ? void 0 : r.tree) == null ? void 0 : T.width) == "number" ? `${r.tree.width}px` : ((k = r == null ? void 0 : r.tree) == null ? void 0 : k.width) || "180px"
4287
- ), t = ne(((ue = r == null ? void 0 : r.tree) == null ? void 0 : ue.search) === void 0 ? !0 : (le = r == null ? void 0 : r.tree) == null ? void 0 : le.search), d = ne({}), M = ne(""), f = ne(null), v = ne({}), c = (H, Q) => {
4288
- var we, Te;
4285
+ const e = i, l = ot(r, "modelValue"), n = Lt(), u = ne(
4286
+ typeof ((T = n == null ? void 0 : n.tree) == null ? void 0 : T.width) == "number" ? `${n.tree.width}px` : ((k = n == null ? void 0 : n.tree) == null ? void 0 : k.width) || "180px"
4287
+ ), t = ne(((ue = n == null ? void 0 : n.tree) == null ? void 0 : ue.search) === void 0 ? !0 : (le = n == null ? void 0 : n.tree) == null ? void 0 : le.search), d = ne({}), M = ne(""), f = ne(null), v = ne({}), c = (H, Q) => {
4288
+ var me, Se;
4289
4289
  if (!H) return !0;
4290
- const de = ((Te = (we = r.tree) == null ? void 0 : we.props) == null ? void 0 : Te.label) || "label";
4290
+ const de = ((Se = (me = n == null ? void 0 : n.tree) == null ? void 0 : me.props) == null ? void 0 : Se.label) || "label";
4291
4291
  return Q[de].includes(H);
4292
4292
  }, o = (H, Q) => {
4293
4293
  e("load", d.value, H, Q);
4294
4294
  }, p = (H) => {
4295
4295
  d.value = H, l.value.table.load();
4296
- }, q = (H, Q, de) => {
4297
- H.preventDefault(), v.value = { data: Q, node: de };
4298
- }, L = (H, { data: Q, node: de, m: we }, Te) => {
4299
- e("menu-command", H, { data: Q, node: de, m: we }, Te);
4296
+ }, q = async (H, Q, de) => {
4297
+ var me;
4298
+ if (H.preventDefault(), !((me = n == null ? void 0 : n.tree) != null && me.getTreeEditData))
4299
+ v.value = { data: Q, node: de };
4300
+ else {
4301
+ const Se = await n.tree.getTreeEditData(Q, de);
4302
+ v.value = { data: Se, node: de };
4303
+ }
4304
+ }, L = (H, { data: Q, node: de, m: me }, Se) => {
4305
+ e("menu-command", H, { data: Q, node: de, m: me }, Se);
4300
4306
  };
4301
4307
  return bl(M, (H) => {
4302
4308
  f.value.filter(H);
4303
4309
  }), (H, Q) => {
4304
- var me, R;
4305
- const de = F("el-input"), we = F("el-dropdown"), Te = F("el-tree"), Ye = F("g-table");
4310
+ var he, R;
4311
+ const de = F("el-input"), me = F("el-dropdown"), Se = F("el-tree"), Ye = F("g-table");
4306
4312
  return h(), j("div", $n, [
4307
4313
  Z("div", {
4308
4314
  class: "g-tree-left",
@@ -4311,13 +4317,13 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4311
4317
  t.value ? (h(), D(de, Y({
4312
4318
  key: 0,
4313
4319
  modelValue: M.value,
4314
- "onUpdate:modelValue": Q[0] || (Q[0] = (he) => M.value = he),
4320
+ "onUpdate:modelValue": Q[0] || (Q[0] = (ye) => M.value = ye),
4315
4321
  style: { width: "100%", "box-sizing": "border-box", "margin-bottom": "10px" },
4316
4322
  placeholder: "输入节点查询",
4317
4323
  clearable: ""
4318
- }, (R = (me = U(r)) == null ? void 0 : me.tree) == null ? void 0 : R.search), null, 16, ["modelValue"])) : xe("", !0),
4324
+ }, (R = (he = U(n)) == null ? void 0 : he.tree) == null ? void 0 : R.search), null, 16, ["modelValue"])) : xe("", !0),
4319
4325
  Z("div", kn, [
4320
- ie(Te, Y({
4326
+ ie(Se, Y({
4321
4327
  style: { width: u.value },
4322
4328
  "filter-node-method": c,
4323
4329
  "expand-on-click-node": !1,
@@ -4326,21 +4332,21 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4326
4332
  onNodeClick: p,
4327
4333
  onNodeContextmenu: q
4328
4334
  }, H.$attrs.tree), _e({
4329
- default: $(({ node: he, data: Oe }) => [
4335
+ default: $(({ node: ye, data: Oe }) => [
4330
4336
  x(H.$slots, "tree", {
4331
- node: he,
4337
+ node: ye,
4332
4338
  data: Oe
4333
4339
  }, () => [
4334
- ie(we, { trigger: "contextmenu" }, {
4340
+ ie(me, { trigger: "contextmenu" }, {
4335
4341
  dropdown: $(() => {
4336
4342
  var N, I;
4337
4343
  return [
4338
4344
  ie(wn, {
4339
4345
  "node-info": v.value,
4340
- columns: (I = (N = U(r)) == null ? void 0 : N.tree) == null ? void 0 : I.columns,
4346
+ columns: (I = (N = U(n)) == null ? void 0 : N.tree) == null ? void 0 : I.columns,
4341
4347
  menu: () => {
4342
4348
  var g, _, w, m;
4343
- return ((_ = (g = U(r)) == null ? void 0 : g.tree) == null ? void 0 : _.menu) && ((m = (w = U(r)) == null ? void 0 : w.tree) == null ? void 0 : m.menu({ node: he, data: Oe }));
4349
+ return ((_ = (g = U(n)) == null ? void 0 : g.tree) == null ? void 0 : _.menu) && ((m = (w = U(n)) == null ? void 0 : w.tree) == null ? void 0 : m.menu({ node: ye, data: Oe }));
4344
4350
  },
4345
4351
  onMenuCommand: L
4346
4352
  }, null, 8, ["node-info", "columns", "menu"])
@@ -4348,7 +4354,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4348
4354
  }),
4349
4355
  default: $(() => [
4350
4356
  Z("span", _n, [
4351
- Z("span", null, Ve(he.label), 1),
4357
+ Z("span", null, Ve(ye.label), 1),
4352
4358
  Q[2] || (Q[2] = Z("i", { class: "el-icon-arrow-down el-icon--right" }, null, -1))
4353
4359
  ])
4354
4360
  ]),
@@ -4358,7 +4364,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4358
4364
  ]),
4359
4365
  _: 2
4360
4366
  }, [
4361
- W(H.$slots, (he, Oe, N) => ({
4367
+ W(H.$slots, (ye, Oe, N) => ({
4362
4368
  name: Oe,
4363
4369
  fn: $((I) => [
4364
4370
  x(H.$slots, Oe, { data: I }, void 0, !0)
@@ -4370,12 +4376,12 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4370
4376
  Z("div", Cn, [
4371
4377
  ie(Ye, Y({
4372
4378
  modelValue: l.value,
4373
- "onUpdate:modelValue": Q[1] || (Q[1] = (he) => l.value = he)
4374
- }, U(Pe)(H.$attrs, (he) => he !== "tree"), {
4379
+ "onUpdate:modelValue": Q[1] || (Q[1] = (ye) => l.value = ye)
4380
+ }, U(Pe)(H.$attrs, (ye) => ye !== "tree"), {
4375
4381
  onLoad: o,
4376
4382
  node: d.value
4377
4383
  }), _e({ _: 2 }, [
4378
- W(H.$slots, (he, Oe, N) => ({
4384
+ W(H.$slots, (ye, Oe, N) => ({
4379
4385
  name: Oe,
4380
4386
  fn: $((I) => [
4381
4387
  x(H.$slots, Oe, { data: I }, void 0, !0)
@@ -4386,7 +4392,7 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4386
4392
  ]);
4387
4393
  };
4388
4394
  }
4389
- }), Mn = /* @__PURE__ */ rt(xn, [["__scopeId", "data-v-1d793d04"]]), Sn = {
4395
+ }), Mn = /* @__PURE__ */ rt(xn, [["__scopeId", "data-v-e4fed2dd"]]), Sn = {
4390
4396
  key: 0,
4391
4397
  class: "op-group"
4392
4398
  }, Tn = {
@@ -4413,25 +4419,25 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4413
4419
  default: ""
4414
4420
  }
4415
4421
  },
4416
- setup(n) {
4417
- const i = n;
4422
+ setup(r) {
4423
+ const i = r;
4418
4424
  return (e, l) => i.title ? (h(), j("div", Sn, [
4419
- (h(!0), j(oe, null, W(i.columns, (r) => (h(), j("span", {
4420
- style: Le({ width: (r == null ? void 0 : r.width) || vl, ...r == null ? void 0 : r.titleStyle, textAlign: (r == null ? void 0 : r.align) || "center" }),
4421
- key: r.key
4425
+ (h(!0), j(oe, null, W(i.columns, (n) => (h(), j("span", {
4426
+ style: Le({ width: (n == null ? void 0 : n.width) || vl, ...n == null ? void 0 : n.titleStyle, textAlign: (n == null ? void 0 : n.align) || "center" }),
4427
+ key: n.key
4422
4428
  }, [
4423
- x(e.$slots, `${n.t}-title-${r.key}`, { col: r }, () => [
4424
- Fe(Ve(r.label), 1)
4429
+ x(e.$slots, `${r.t}-title-${n.key}`, { col: n }, () => [
4430
+ Fe(Ve(n.label), 1)
4425
4431
  ], !0)
4426
4432
  ], 4))), 128))
4427
4433
  ])) : (h(), j("div", Tn, [
4428
- (h(!0), j(oe, null, W(i.columns, (r) => (h(), j("span", {
4429
- style: Le({ width: (r == null ? void 0 : r.width) || vl, textAlign: (r == null ? void 0 : r.align) || "center", ...r == null ? void 0 : r.style }),
4430
- key: r.key,
4431
- title: n.data[r.key]
4434
+ (h(!0), j(oe, null, W(i.columns, (n) => (h(), j("span", {
4435
+ style: Le({ width: (n == null ? void 0 : n.width) || vl, textAlign: (n == null ? void 0 : n.align) || "center", ...n == null ? void 0 : n.style }),
4436
+ key: n.key,
4437
+ title: r.data[n.key]
4432
4438
  }, [
4433
- x(e.$slots, `${n.t}-option-${r.key}`, { col: r }, () => [
4434
- Fe(Ve(n.data[r.key] ?? "-"), 1)
4439
+ x(e.$slots, `${r.t}-option-${n.key}`, { col: n }, () => [
4440
+ Fe(Ve(r.data[n.key] ?? "-"), 1)
4435
4441
  ], !0)
4436
4442
  ], 12, En))), 128))
4437
4443
  ]));
@@ -4439,19 +4445,19 @@ const vn = /* @__PURE__ */ Tl(fn), pn = { class: "g-table-container" }, mn = {
4439
4445
  }), Dn = /* @__PURE__ */ rt(Vn, [["__scopeId", "data-v-c0ac6b77"]]), On = Object.freeze({}), Qt = [bn, zt, Mn, Dn, Xt, Ol];
4440
4446
  let Ut = {};
4441
4447
  const Wn = {
4442
- install: (n, i = {}) => {
4448
+ install: (r, i = {}) => {
4443
4449
  Ut = Object.freeze({ ...On, ...i }), Qt.forEach((e) => {
4444
- n.component(e.name, e);
4445
- }), n.provide("options", Ut), n.config.globalProperties.$openModal = qn, n.config.globalProperties.$open = gt;
4450
+ r.component(e.name, e);
4451
+ }), r.provide("options", Ut), r.config.globalProperties.$openModal = qn, r.config.globalProperties.$open = gt;
4446
4452
  }
4447
- }, In = (n) => ({ dialog: jl, drawer: Ul })[n] || null, qn = (n = {}, i = "dialog") => {
4453
+ }, In = (r) => ({ dialog: jl, drawer: Ul })[r] || null, qn = (r = {}, i = "dialog") => {
4448
4454
  if (typeof document > "u") return () => {
4449
4455
  };
4450
4456
  const e = document.createElement("div");
4451
4457
  let l = () => {
4452
4458
  };
4453
- const r = In(i);
4454
- if (!r) return () => {
4459
+ const n = In(i);
4460
+ if (!n) return () => {
4455
4461
  };
4456
4462
  const u = ne(!0), t = wl({
4457
4463
  setup() {
@@ -4461,7 +4467,7 @@ const Wn = {
4461
4467
  }, 300);
4462
4468
  }, () => {
4463
4469
  var d, M, f;
4464
- return Ce(r, {
4470
+ return Ce(n, {
4465
4471
  modelValue: u.value,
4466
4472
  "onUpdate:modelValue": (v) => u.value = v,
4467
4473
  appendToBody: !0,
@@ -4470,11 +4476,11 @@ const Wn = {
4470
4476
  overflow: !0,
4471
4477
  destroyOnClose: !0,
4472
4478
  "close-on-click-modal": !1,
4473
- ...n
4479
+ ...r
4474
4480
  }, {
4475
- default: (d = n.slots) == null ? void 0 : d.default,
4476
- header: (M = n.slots) == null ? void 0 : M.header,
4477
- footer: (f = n.slots) == null ? void 0 : f.footer
4481
+ default: (d = r.slots) == null ? void 0 : d.default,
4482
+ header: (M = r.slots) == null ? void 0 : M.header,
4483
+ footer: (f = r.slots) == null ? void 0 : f.footer
4478
4484
  });
4479
4485
  };
4480
4486
  },
@@ -4485,132 +4491,132 @@ const Wn = {
4485
4491
  return Qt.forEach((d) => {
4486
4492
  t.component(d.name, d);
4487
4493
  }), t.provide("options", Ut), t.use(pl, { locale: Sl }), document.body.appendChild(e), t.mount(e), l;
4488
- }, gt = (n = {}) => {
4494
+ }, gt = (r = {}) => {
4489
4495
  if (typeof document > "u") return () => {
4490
4496
  };
4491
4497
  const i = document.createElement("div");
4492
4498
  let e = () => {
4493
4499
  };
4494
- const l = ne(!0), r = wl({
4500
+ const l = ne(!0), n = wl({
4495
4501
  setup() {
4496
4502
  e = () => {
4497
4503
  l.value = !1, setTimeout(() => {
4498
- r.unmount(), i.remove();
4504
+ n.unmount(), i.remove();
4499
4505
  }, 300);
4500
4506
  }, bl(l, (M) => {
4501
4507
  M || setTimeout(() => {
4502
- r.unmount(), i.remove();
4508
+ n.unmount(), i.remove();
4503
4509
  }, 300);
4504
4510
  });
4505
- const { close: u, ...t } = n, d = {
4511
+ const { close: u, ...t } = r, d = {
4506
4512
  modelValue: l.value,
4507
4513
  "onUpdate:modelValue": (M) => l.value = M,
4508
4514
  //'close-on-click-modal': false,
4509
4515
  ...t
4510
4516
  };
4511
- return u && (d.onClose = u), () => Ce(Xt, d, n.slots);
4517
+ return u && (d.onClose = u), () => Ce(Xt, d, r.slots);
4512
4518
  },
4513
4519
  mounted: () => {
4514
4520
  _t();
4515
4521
  }
4516
4522
  });
4517
4523
  return Qt.forEach((u) => {
4518
- r.component(u.name, u);
4519
- }), r.provide("options", Ut), r.use(pl, { locale: Sl }), document.body.appendChild(i), r.mount(i), e;
4524
+ n.component(u.name, u);
4525
+ }), n.provide("options", Ut), n.use(pl, { locale: Sl }), document.body.appendChild(i), n.mount(i), e;
4520
4526
  };
4521
- function An(n, i = window.innerWidth) {
4522
- if (typeof n == "number")
4523
- return n;
4524
- if (n.endsWith("px"))
4525
- return parseFloat(n);
4527
+ function An(r, i = window.innerWidth) {
4528
+ if (typeof r == "number")
4529
+ return r;
4530
+ if (r.endsWith("px"))
4531
+ return parseFloat(r);
4526
4532
  const e = window.innerHeight, l = window.innerWidth;
4527
- if (n.endsWith("vh"))
4528
- return e * parseFloat(n) / 100;
4529
- if (n.endsWith("vw"))
4530
- return l * parseFloat(n) / 100;
4531
- if (n.endsWith("%")) {
4533
+ if (r.endsWith("vh"))
4534
+ return e * parseFloat(r) / 100;
4535
+ if (r.endsWith("vw"))
4536
+ return l * parseFloat(r) / 100;
4537
+ if (r.endsWith("%")) {
4532
4538
  if (typeof i != "number")
4533
4539
  throw new Error("Reference size is required to convert % to px");
4534
- return i * parseFloat(n) / 100;
4540
+ return i * parseFloat(r) / 100;
4535
4541
  }
4536
- if (n.startsWith("calc(") && n.endsWith(")")) {
4542
+ if (r.startsWith("calc(") && r.endsWith(")")) {
4537
4543
  let u = function(d) {
4538
4544
  if (/[0-9+\-*/().\s]+$/.test(d))
4539
4545
  return new Function("return " + d)();
4540
4546
  throw new Error("Invalid calc expression");
4541
4547
  };
4542
- const r = n.slice(5, -1).trim();
4543
- return u(r.replace(/([0-9.]+)([a-z%]+)/g, (d, M, f) => An(M + f, i)));
4548
+ const n = r.slice(5, -1).trim();
4549
+ return u(n.replace(/([0-9.]+)([a-z%]+)/g, (d, M, f) => An(M + f, i)));
4544
4550
  }
4545
- throw new Error("Unsupported unit in value: " + n);
4551
+ throw new Error("Unsupported unit in value: " + r);
4546
4552
  }
4547
- const je = (...n) => {
4548
- const i = {}, e = (l, r) => (Object.keys(r).forEach((u) => {
4549
- l[u] = typeof r[u] == "object" && !Array.isArray(r[u]) ? e(l[u] || {}, r[u]) : r[u];
4553
+ const je = (...r) => {
4554
+ const i = {}, e = (l, n) => (Object.keys(n).forEach((u) => {
4555
+ l[u] = typeof n[u] == "object" && !Array.isArray(n[u]) ? e(l[u] || {}, n[u]) : n[u];
4550
4556
  }), l);
4551
- return n.forEach((l = {}) => e(i, l)), i;
4557
+ return r.forEach((l = {}) => e(i, l)), i;
4552
4558
  };
4553
- function Pe(n, i = (e, l) => l != null) {
4559
+ function Pe(r, i = (e, l) => l != null) {
4554
4560
  const e = {};
4555
- for (const l in n)
4556
- n.hasOwnProperty(l) && i(l, n[l]) && (e[l] = n[l]);
4561
+ for (const l in r)
4562
+ r.hasOwnProperty(l) && i(l, r[l]) && (e[l] = r[l]);
4557
4563
  return e;
4558
4564
  }
4559
- function Yn(n, i, e = "value", l = "label", r = "children") {
4560
- for (const u of n) {
4565
+ function Yn(r, i, e = "value", l = "label", n = "children") {
4566
+ for (const u of r) {
4561
4567
  if (u[e] === i)
4562
4568
  return u[l];
4563
- if (u[r] && u[r].length > 0) {
4564
- const t = Yn(u[r], i, e, l, r);
4569
+ if (u[n] && u[n].length > 0) {
4570
+ const t = Yn(u[n], i, e, l, n);
4565
4571
  if (t)
4566
4572
  return t;
4567
4573
  }
4568
4574
  }
4569
4575
  return null;
4570
4576
  }
4571
- function Pt(n) {
4572
- if (!n || isNaN(n)) return "零";
4577
+ function Pt(r) {
4578
+ if (!r || isNaN(r)) return "零";
4573
4579
  const i = ["角", "分"], e = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"], l = [
4574
4580
  ["元", "万", "亿"],
4575
4581
  ["", "拾", "佰", "仟"]
4576
- ], r = n < 0 ? "欠" : "";
4577
- n = Math.abs(n);
4582
+ ], n = r < 0 ? "欠" : "";
4583
+ r = Math.abs(r);
4578
4584
  let u = "";
4579
4585
  for (let t = 0; t < i.length; t++)
4580
- u += (e[Math.floor(n * 10 * Math.pow(10, t)) % 10] + i[t]).replace(/零./, "");
4581
- u = u || "整", n = Math.floor(n);
4582
- for (let t = 0; t < l[0].length && n > 0; t++) {
4586
+ u += (e[Math.floor(r * 10 * Math.pow(10, t)) % 10] + i[t]).replace(/零./, "");
4587
+ u = u || "整", r = Math.floor(r);
4588
+ for (let t = 0; t < l[0].length && r > 0; t++) {
4583
4589
  let d = "";
4584
- for (let M = 0; M < l[1].length && n > 0; M++)
4585
- d = e[n % 10] + l[1][M] + d, n = Math.floor(n / 10);
4590
+ for (let M = 0; M < l[1].length && r > 0; M++)
4591
+ d = e[r % 10] + l[1][M] + d, r = Math.floor(r / 10);
4586
4592
  u = d.replace(/(零.)*零$/, "").replace(/^$/, "零") + l[0][t] + u;
4587
4593
  }
4588
- return r + u.replace(/(零.)*零元/, "元").replace(/(零.)+/g, "零").replace(/^整$/, "零元整");
4594
+ return n + u.replace(/(零.)*零元/, "元").replace(/(零.)+/g, "零").replace(/^整$/, "零元整");
4589
4595
  }
4590
- function zn(n, i = 2, e = !1) {
4591
- let l = Number(n);
4596
+ function zn(r, i = 2, e = !1) {
4597
+ let l = Number(r);
4592
4598
  if (isNaN(l) || !isFinite(l))
4593
4599
  return "0.00";
4594
- const r = l < 0;
4600
+ const n = l < 0;
4595
4601
  l = Math.abs(l);
4596
4602
  let u = l.toFixed(i);
4597
4603
  e && (u = u.replace(/\.?0+$/, ""));
4598
4604
  const [t, d] = u.split("."), M = t.replace(/\B(?=(\d{3})+(?!\d))/g, ","), f = d ? `${M}.${d}` : M;
4599
- return r ? `-${f}` : f;
4605
+ return n ? `-${f}` : f;
4600
4606
  }
4601
- function Un(n, i) {
4607
+ function Un(r, i) {
4602
4608
  let e = null;
4603
4609
  return function(...l) {
4604
4610
  e && clearTimeout(e), e = setTimeout(() => {
4605
- n.apply(this, l);
4611
+ r.apply(this, l);
4606
4612
  }, i);
4607
4613
  };
4608
4614
  }
4609
- function Gn(n, i) {
4615
+ function Gn(r, i) {
4610
4616
  let e = null;
4611
4617
  return function(...l) {
4612
4618
  e || (e = setTimeout(() => {
4613
- n.apply(this, l), e = null;
4619
+ r.apply(this, l), e = null;
4614
4620
  }, i));
4615
4621
  };
4616
4622
  }
@@ -4645,15 +4651,15 @@ const Ee = {
4645
4651
  INPUTTAG: "input-tag"
4646
4652
  }, _t = () => {
4647
4653
  nt(() => {
4648
- const n = document.querySelector(".el-dialog");
4649
- if (!n || n.querySelector(".dialog-resize-handle"))
4654
+ const r = document.querySelector(".el-dialog");
4655
+ if (!r || r.querySelector(".dialog-resize-handle"))
4650
4656
  return;
4651
4657
  const i = jn();
4652
- n.appendChild(i), Ln(n), Fn(n, i);
4658
+ r.appendChild(i), Ln(r), Fn(r, i);
4653
4659
  });
4654
4660
  }, jn = () => {
4655
- const n = document.createElement("div");
4656
- return Object.assign(n.style, {
4661
+ const r = document.createElement("div");
4662
+ return Object.assign(r.style, {
4657
4663
  position: "absolute",
4658
4664
  right: "0",
4659
4665
  bottom: "0",
@@ -4662,23 +4668,23 @@ const Ee = {
4662
4668
  background: "transparent",
4663
4669
  cursor: "nwse-resize",
4664
4670
  zIndex: "999999999999"
4665
- }), n.className = "dialog-resize-handle", n;
4666
- }, Ln = (n) => {
4667
- Object.assign(n.style, {
4671
+ }), r.className = "dialog-resize-handle", r;
4672
+ }, Ln = (r) => {
4673
+ Object.assign(r.style, {
4668
4674
  transition: "none",
4669
4675
  minWidth: "300px",
4670
4676
  minHeight: "200px",
4671
4677
  resize: "none"
4672
4678
  // 防止与原生resize冲突
4673
4679
  });
4674
- }, Fn = (n, i) => {
4675
- let e = !1, l, r, u, t;
4680
+ }, Fn = (r, i) => {
4681
+ let e = !1, l, n, u, t;
4676
4682
  const d = (v) => {
4677
- v.preventDefault(), e = !0, l = v.clientX, r = v.clientY, u = parseInt(document.defaultView.getComputedStyle(n).width), t = parseInt(document.defaultView.getComputedStyle(n).height), document.addEventListener("mousemove", M), document.addEventListener("mouseup", f);
4683
+ v.preventDefault(), e = !0, l = v.clientX, n = v.clientY, u = parseInt(document.defaultView.getComputedStyle(r).width), t = parseInt(document.defaultView.getComputedStyle(r).height), document.addEventListener("mousemove", M), document.addEventListener("mouseup", f);
4678
4684
  }, M = (v) => {
4679
4685
  if (!e) return;
4680
- const c = Math.max(300, u + v.clientX - l), o = Math.max(200, t + v.clientY - r);
4681
- n.style.width = `${c}px`, n.style.height = `${o}px`;
4686
+ const c = Math.max(300, u + v.clientX - l), o = Math.max(200, t + v.clientY - n);
4687
+ r.style.width = `${c}px`, r.style.height = `${o}px`;
4682
4688
  }, f = () => {
4683
4689
  e = !1, document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", f);
4684
4690
  };