guava-ui 0.1.5 → 0.1.6

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.
@@ -392,7 +392,7 @@ const {
392
392
  const v = l.value.matched.slice(-1)[0].path;
393
393
  i.value = Aa(m(o), (g) => g.path === v);
394
394
  }, d = () => Wa(m(i)).map((g) => {
395
- const R = !g.redirect || g.redirect === "noredirect", N = g.meta;
395
+ const R = !g.redirect || g.redirect === "noredirect", w = g.meta;
396
396
  return r(Ul, {
397
397
  to: {
398
398
  path: R ? "" : g.path
@@ -400,12 +400,12 @@ const {
400
400
  key: g.name
401
401
  }, {
402
402
  default: () => {
403
- var S, D;
404
- return [N != null && N.icon && n.value ? r(He, null, [r(Fe, {
403
+ var C, I;
404
+ return [w != null && w.icon && n.value ? r(He, null, [r(Fe, {
405
405
  iconType: "iconfont",
406
- iconName: N.icon,
406
+ iconName: w.icon,
407
407
  className: "text-[13px]"
408
- }, null), " ", a(((S = g == null ? void 0 : g.meta) == null ? void 0 : S.title) || "")]) : a(((D = g == null ? void 0 : g.meta) == null ? void 0 : D.title) || "")];
408
+ }, null), " ", a(((C = g == null ? void 0 : g.meta) == null ? void 0 : C.title) || "")]) : a(((I = g == null ? void 0 : g.meta) == null ? void 0 : I.title) || "")];
409
409
  }
410
410
  });
411
411
  });
@@ -632,11 +632,11 @@ const {
632
632
  } = bt(), a = pa(), i = Ye(), o = vt(), f = Je("size"), d = E(() => {
633
633
  var s;
634
634
  return (s = e.size) != null ? s : m(f);
635
- }), v = E(() => i.buttonConfirm), g = j(e.loading), R = j(!1), N = j(e.visible), S = j(!0), D = E(() => {
635
+ }), v = E(() => i.buttonConfirm), g = j(e.loading), R = j(!1), w = j(e.visible), C = j(!0), I = E(() => {
636
636
  var s;
637
637
  return e.text || ((s = n.default) == null ? void 0 : s.call(n));
638
638
  });
639
- ye(() => e.loading, (s) => g.value = s), ye(() => e.visible, (s) => N.value = s);
639
+ ye(() => e.loading, (s) => g.value = s), ye(() => e.visible, (s) => w.value = s);
640
640
  const k = () => e.icon ? e.icon.startsWith("el-icon") ? r(Fe, {
641
641
  iconType: "el",
642
642
  iconName: e.icon.replace("el-icon-", ""),
@@ -663,17 +663,17 @@ const {
663
663
  if (!O) return;
664
664
  const U = s.pm.split(",").filter((G) => G.includes(O));
665
665
  if (!U.length) return;
666
- const [I, z] = U[0].split("|");
667
- I !== " " && z === "f" && (N.value = !1, S.value = !1);
666
+ const [N, z] = U[0].split("|");
667
+ N !== " " && z === "f" && (w.value = !1, C.value = !1);
668
668
  }, y = (s, O) => ie(null, null, function* () {
669
- var C, U, I, z, H, G, _, ne, xe;
669
+ var D, U, N, z, H, G, _, ne, xe;
670
670
  if (e.bizType === "reset") {
671
- let Y = (C = o == null ? void 0 : o.proxy) == null ? void 0 : C.$parent;
672
- for (; Y && ((I = (U = Y.$) == null ? void 0 : U.type) == null ? void 0 : I.name) !== "ElForm"; ) Y = Y.$parent;
671
+ let Y = (D = o == null ? void 0 : o.proxy) == null ? void 0 : D.$parent;
672
+ for (; Y && ((N = (U = Y.$) == null ? void 0 : U.type) == null ? void 0 : N.name) !== "ElForm"; ) Y = Y.$parent;
673
673
  yield (z = Y == null ? void 0 : Y.resetFields) == null ? void 0 : z.call(Y);
674
674
  const Ne = (H = Y == null ? void 0 : Y.$parent) == null ? void 0 : H.originFormList, T = (G = Y == null ? void 0 : Y.$parent) == null ? void 0 : G.formList;
675
- Ne && Array.isArray(Ne) && Ne.forEach((L, Q) => {
676
- L.type === "dic" && (T[Q].filtercode = L.filtercode), T[Q].value = L.value, T[Q].showLabel = L.showLabel, T[Q].hidden = L.hidden, T[Q].disabled = L.disabled, (L.dateType === "daterange2" || L.dateType === "datetimerange2") && (Y.model[L.field + "-start"] = void 0, Y.model[L.field + "-end"] = void 0, Y.model[L.field] = void 0);
675
+ Ne && Array.isArray(Ne) && Ne.forEach((L, J) => {
676
+ L.type === "dic" && (T[J].filtercode = L.filtercode), T[J].value = L.value, T[J].showLabel = L.showLabel, T[J].hidden = L.hidden, T[J].disabled = L.disabled, (L.dateType === "daterange2" || L.dateType === "datetimerange2") && (Y.model[L.field + "-start"] = void 0, Y.model[L.field + "-end"] = void 0, Y.model[L.field] = void 0);
677
677
  }), (_ = e.cb) == null || _.call(e, e.args), g.value = !0, yield (xe = (ne = Y == null ? void 0 : Y.$el) == null ? void 0 : ne.querySelector(".gv-search__bar .el-button--primary")) == null ? void 0 : xe.click(), g.value = !1;
678
678
  return;
679
679
  }
@@ -695,12 +695,12 @@ const {
695
695
  });
696
696
  return B(), () => {
697
697
  const s = e.bizType ? `${An} ${e.bizType}` : `${An}`;
698
- if (S.value) {
698
+ if (C.value) {
699
699
  let O;
700
700
  return e.confirm === "true" || e.confirm === !0 ? v.value === !1 ? O = r(qt, {
701
701
  ref: "gv-button",
702
702
  style: {
703
- display: N.value ? "" : "none"
703
+ display: w.value ? "" : "none"
704
704
  },
705
705
  "data-ref-form": e.refForm,
706
706
  size: d.value,
@@ -709,18 +709,18 @@ const {
709
709
  disabled: !!e.disabled,
710
710
  icon: k(),
711
711
  "native-type": e.nativeType,
712
- onClick: (C) => y(C, "confirm"),
712
+ onClick: (D) => y(D, "confirm"),
713
713
  class: s
714
714
  }, {
715
- default: () => [D.value]
715
+ default: () => [I.value]
716
716
  }) : O = r(sn, {
717
717
  title: l("common.confirmMsg"),
718
- onConfirm: (C) => y(C, "confirm")
718
+ onConfirm: (D) => y(D, "confirm")
719
719
  }, {
720
720
  reference: () => r(qt, {
721
721
  ref: "gv-button",
722
722
  style: {
723
- display: N.value ? "" : "none"
723
+ display: w.value ? "" : "none"
724
724
  },
725
725
  "data-ref-form": e.refForm,
726
726
  size: d.value,
@@ -731,12 +731,12 @@ const {
731
731
  "native-type": e.nativeType,
732
732
  class: s
733
733
  }, {
734
- default: () => [D.value]
734
+ default: () => [I.value]
735
735
  })
736
736
  }) : O = r(qt, {
737
737
  ref: "gv-button",
738
738
  style: {
739
- display: N.value ? "" : "none"
739
+ display: w.value ? "" : "none"
740
740
  },
741
741
  "data-ref-form": e.refForm,
742
742
  size: d.value,
@@ -745,10 +745,10 @@ const {
745
745
  disabled: !!e.disabled,
746
746
  icon: k(),
747
747
  "native-type": e.nativeType,
748
- onClick: (C) => y(C),
748
+ onClick: (D) => y(D),
749
749
  class: s
750
750
  }, {
751
- default: () => [D.value]
751
+ default: () => [I.value]
752
752
  }), O;
753
753
  } else return null;
754
754
  };
@@ -853,22 +853,22 @@ const {
853
853
  const {
854
854
  t: n
855
855
  } = Qe(), l = e.options, a = j(e.value), i = Je("size"), o = E(() => {
856
- var N;
857
- return (N = e.size) != null ? N : m(i);
856
+ var w;
857
+ return (w = e.size) != null ? w : m(i);
858
858
  }), f = E(() => e.placeholder ? e.placeholder : n("common.pleaseInput")), d = E(() => e.disabled);
859
- ye(() => e.value, (N) => {
860
- a.value = N;
859
+ ye(() => e.value, (w) => {
860
+ a.value = w;
861
861
  });
862
- const v = (N) => {
863
- t("change", N);
864
- }, g = (N) => {
865
- t("blur", N);
866
- }, R = (N, S) => {
867
- const D = N.path, k = N.pathLabels, B = N.data;
868
- if (S) {
869
- if (D.join(",").indexOf(S) >= 0 || k.join(",").indexOf(S) >= 0) return !0;
870
- if (B.spell) return B.spell.indexOf(S) >= 0 ? !0 : N.pathNodes.some((s) => {
871
- if (s.data.spell && s.data.spell.indexOf(S) >= 0) return !0;
862
+ const v = (w) => {
863
+ t("change", w);
864
+ }, g = (w) => {
865
+ t("blur", w);
866
+ }, R = (w, C) => {
867
+ const I = w.path, k = w.pathLabels, B = w.data;
868
+ if (C) {
869
+ if (I.join(",").indexOf(C) >= 0 || k.join(",").indexOf(C) >= 0) return !0;
870
+ if (B.spell) return B.spell.indexOf(C) >= 0 ? !0 : w.pathNodes.some((s) => {
871
+ if (s.data.spell && s.data.spell.indexOf(C) >= 0) return !0;
872
872
  });
873
873
  }
874
874
  };
@@ -879,7 +879,7 @@ const {
879
879
  } : {}, {
880
880
  class: ui,
881
881
  modelValue: a.value,
882
- "onUpdate:modelValue": (N) => a.value = N,
882
+ "onUpdate:modelValue": (w) => a.value = w,
883
883
  style: {
884
884
  display: e.value ? "" : "none"
885
885
  },
@@ -1380,11 +1380,11 @@ const {
1380
1380
  if (e.disabledDateFunc.includes("afterToday")) return (y) => y.getTime() > Date.now();
1381
1381
  }), R = (y) => {
1382
1382
  t("update:modelValue", y);
1383
- }, N = (y) => {
1383
+ }, w = (y) => {
1384
1384
  t("change", y);
1385
- }, S = (y) => {
1385
+ }, C = (y) => {
1386
1386
  t("blur", y);
1387
- }, D = (y) => {
1387
+ }, I = (y) => {
1388
1388
  t("focus", y);
1389
1389
  }, k = (y) => {
1390
1390
  t("pick", y);
@@ -1409,9 +1409,9 @@ const {
1409
1409
  "unlink-panels": e.unlink,
1410
1410
  class: Ii,
1411
1411
  size: f.value,
1412
- onChange: N,
1413
- onBlur: S,
1414
- onFocus: D,
1412
+ onChange: w,
1413
+ onBlur: C,
1414
+ onFocus: I,
1415
1415
  onCalendarChange: k
1416
1416
  }, a), null);
1417
1417
  }
@@ -1515,45 +1515,45 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
1515
1515
  __name: "GvMenuList",
1516
1516
  emits: ["close"],
1517
1517
  setup(e, { emit: t }) {
1518
- const { getPrefixCls: n } = X(), l = n("expand-menu-list"), { t: a } = Qe(), i = Mt(), o = Ri(), f = E(() => i.getServerRouters), d = t, v = j(), g = j(""), R = j([]), N = (y, s = "/", O = [], C = []) => {
1519
- var I;
1518
+ const { getPrefixCls: n } = X(), l = n("expand-menu-list"), { t: a } = Qe(), i = Mt(), o = Ri(), f = E(() => i.getServerRouters), d = t, v = j(), g = j(""), R = j([]), w = (y, s = "/", O = [], D = []) => {
1519
+ var N;
1520
1520
  let U = [];
1521
1521
  for (const z of y) {
1522
- if (z.redirect === "/404" || (I = z.meta) != null && I.hidden) continue;
1522
+ if (z.redirect === "/404" || (N = z.meta) != null && N.hidden) continue;
1523
1523
  const H = {
1524
1524
  path: rt(s, z.path),
1525
1525
  title: [...O],
1526
1526
  pinyinTitle: o.getFirstLetter([...O].join("")),
1527
- code: [...C]
1527
+ code: [...D]
1528
1528
  };
1529
1529
  if (z.meta && z.meta.title) {
1530
1530
  const G = z.meta.title, _ = z.meta.code || "";
1531
1531
  H.title = [...H.title, G], H.pinyinTitle = o.getFirstLetter(H.title.join("")), H.code = [...H.code, String(_)], z.redirect !== "noredirect" ? U.push(H) : s === "/" && R.value.push(z);
1532
1532
  }
1533
1533
  if (z.children) {
1534
- const G = N(z.children, H.path, H.title);
1534
+ const G = w(z.children, H.path, H.title);
1535
1535
  G.length >= 1 && (U = [...U, ...G]);
1536
1536
  }
1537
1537
  }
1538
1538
  return U;
1539
- }, S = () => {
1539
+ }, C = () => {
1540
1540
  d("close");
1541
- }, D = (y) => {
1541
+ }, I = (y) => {
1542
1542
  jt(200).then(() => {
1543
1543
  g.value = "";
1544
1544
  });
1545
1545
  }, k = (y, s) => {
1546
- var C, U;
1546
+ var D, U;
1547
1547
  let O = [];
1548
- y !== "" ? Array.isArray(v.value) ? O = v.value.filter((I) => {
1549
- if (I.title.join("").indexOf(y) !== -1) return I;
1550
- if (I.pinyinTitle.indexOf(y.toLowerCase()) !== -1) return I;
1551
- if (I.path.indexOf(y) !== -1) return I;
1552
- }) : O = (C = v.value) != null ? C : [] : O = (U = v.value) != null ? U : [], s(O);
1553
- }, B = (y, s, O, C) => {
1548
+ y !== "" ? Array.isArray(v.value) ? O = v.value.filter((N) => {
1549
+ if (N.title.join("").indexOf(y) !== -1) return N;
1550
+ if (N.pinyinTitle.indexOf(y.toLowerCase()) !== -1) return N;
1551
+ if (N.path.indexOf(y) !== -1) return N;
1552
+ }) : O = (D = v.value) != null ? D : [] : O = (U = v.value) != null ? U : [], s(O);
1553
+ }, B = (y, s, O, D) => {
1554
1554
  };
1555
1555
  return lt(() => {
1556
- v.value = N(f.value);
1556
+ v.value = w(f.value);
1557
1557
  }), (y, s) => {
1558
1558
  const O = st("router-link");
1559
1559
  return A(), le("div", {
@@ -1563,11 +1563,11 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
1563
1563
  ge("div", Bi, [
1564
1564
  r(m(ta), {
1565
1565
  modelValue: g.value,
1566
- "onUpdate:modelValue": s[0] || (s[0] = (C) => g.value = C),
1566
+ "onUpdate:modelValue": s[0] || (s[0] = (D) => g.value = D),
1567
1567
  "value-key": "path",
1568
1568
  "fetch-suggestions": k,
1569
1569
  placeholder: m(a)("sideBar.menuSearch"),
1570
- onSelect: D
1570
+ onSelect: I
1571
1571
  }, {
1572
1572
  prefix: oe(() => [
1573
1573
  r(m(gt), null, {
@@ -1577,8 +1577,8 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
1577
1577
  _: 1
1578
1578
  })
1579
1579
  ]),
1580
- default: oe(({ item: C }) => [
1581
- ge("span", Wi, Ze(C.title.join(" > ")), 1)
1580
+ default: oe(({ item: D }) => [
1581
+ ge("span", Wi, Ze(D.title.join(" > ")), 1)
1582
1582
  ]),
1583
1583
  _: 1
1584
1584
  }, 8, ["modelValue", "placeholder"])
@@ -1587,60 +1587,60 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
1587
1587
  ge("div", Ai, [
1588
1588
  r(m(al), { "tab-position": "right" }, {
1589
1589
  default: oe(() => [
1590
- (A(!0), le(He, null, ht(R.value, (C) => {
1590
+ (A(!0), le(He, null, ht(R.value, (D) => {
1591
1591
  var U;
1592
1592
  return A(), Se(m(il), {
1593
- key: C.name,
1594
- label: (U = C.meta) == null ? void 0 : U.title,
1593
+ key: D.name,
1594
+ label: (U = D.meta) == null ? void 0 : U.title,
1595
1595
  lazy: ""
1596
1596
  }, {
1597
1597
  default: oe(() => [
1598
1598
  ge("div", Fi, [
1599
- (A(!0), le(He, null, ht(C.children, (I) => {
1599
+ (A(!0), le(He, null, ht(D.children, (N) => {
1600
1600
  var z, H;
1601
1601
  return A(), le("div", {
1602
- key: I.name,
1602
+ key: N.name,
1603
1603
  class: "box"
1604
1604
  }, [
1605
- !I.children || I.children.length === 0 ? (A(), le("ul", Yi, [
1605
+ !N.children || N.children.length === 0 ? (A(), le("ul", Yi, [
1606
1606
  ge("li", null, [
1607
1607
  r(m(gt), {
1608
1608
  onClick: en((G) => {
1609
1609
  var _, ne;
1610
- return B((_ = I.meta) == null ? void 0 : _.star, I.path, (ne = I.meta) == null ? void 0 : ne.title);
1610
+ return B((_ = N.meta) == null ? void 0 : _.star, N.path, (ne = N.meta) == null ? void 0 : ne.title);
1611
1611
  }, ["stop"])
1612
1612
  }, {
1613
1613
  default: oe(() => {
1614
1614
  var G;
1615
1615
  return [
1616
- (A(), Se($t((G = I.meta) != null && G.star ? m(Mn) : m(Zn))))
1616
+ (A(), Se($t((G = N.meta) != null && G.star ? m(Mn) : m(Zn))))
1617
1617
  ];
1618
1618
  }),
1619
1619
  _: 2
1620
1620
  }, 1032, ["onClick"]),
1621
- m(rn)(I.path) ? (A(), le("a", {
1621
+ m(rn)(N.path) ? (A(), le("a", {
1622
1622
  key: 1,
1623
- href: I.path,
1623
+ href: N.path,
1624
1624
  target: "_blank",
1625
1625
  rel: "noopener"
1626
- }, Ze((z = I.meta) == null ? void 0 : z.title), 9, Vi)) : (A(), Se(O, {
1626
+ }, Ze((z = N.meta) == null ? void 0 : z.title), 9, Vi)) : (A(), Se(O, {
1627
1627
  key: 0,
1628
- to: `${C.path}/${I.path}`,
1629
- onClick: S
1628
+ to: `${D.path}/${N.path}`,
1629
+ onClick: C
1630
1630
  }, {
1631
1631
  default: oe(() => {
1632
1632
  var G;
1633
1633
  return [
1634
- Ue(Ze((G = I.meta) == null ? void 0 : G.title), 1)
1634
+ Ue(Ze((G = N.meta) == null ? void 0 : G.title), 1)
1635
1635
  ];
1636
1636
  }),
1637
1637
  _: 2
1638
1638
  }, 1032, ["to"]))
1639
1639
  ])
1640
1640
  ])) : (A(), le(He, { key: 1 }, [
1641
- ge("h4", null, Ze((H = I.meta) == null ? void 0 : H.title), 1),
1641
+ ge("h4", null, Ze((H = N.meta) == null ? void 0 : H.title), 1),
1642
1642
  ge("ul", null, [
1643
- (A(!0), le(He, null, ht(I.children, (G) => {
1643
+ (A(!0), le(He, null, ht(N.children, (G) => {
1644
1644
  var _;
1645
1645
  return A(), le("li", {
1646
1646
  key: G.name
@@ -1659,15 +1659,15 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
1659
1659
  }),
1660
1660
  _: 2
1661
1661
  }, 1032, ["onClick"]),
1662
- m(rn)(I.path) ? (A(), le("a", {
1662
+ m(rn)(N.path) ? (A(), le("a", {
1663
1663
  key: 1,
1664
- href: I.path,
1664
+ href: N.path,
1665
1665
  target: "_blank",
1666
1666
  rel: "noopener"
1667
1667
  }, Ze((_ = G.meta) == null ? void 0 : _.title), 9, Hi)) : (A(), Se(O, {
1668
1668
  key: 0,
1669
- to: `${C.path}/${I.path}/${G.path}`,
1670
- onClick: S
1669
+ to: `${D.path}/${N.path}/${G.path}`,
1670
+ onClick: C
1671
1671
  }, {
1672
1672
  default: oe(() => {
1673
1673
  var ne;
@@ -1865,11 +1865,11 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
1865
1865
  a.value = k, t("update:modelValue", k), t("input", k);
1866
1866
  }, R = (k) => {
1867
1867
  e.bizType === "tableedit" ? t("blur", k, a.value, e.columnProp) : t("blur", k, a.value, e.vref);
1868
- }, N = (k) => {
1868
+ }, w = (k) => {
1869
1869
  k.target.select(), e.bizType === "tableedit" ? t("focus", k, a.value, e.columnProp) : t("focus", k, a.value, e.vref);
1870
- }, S = (k) => {
1870
+ }, C = (k) => {
1871
1871
  t("clear", k);
1872
- }, D = (k) => {
1872
+ }, I = (k) => {
1873
1873
  t("keydown", k);
1874
1874
  };
1875
1875
  return () => e.visible ? r(la, {
@@ -1896,9 +1896,9 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
1896
1896
  },
1897
1897
  onInput: g,
1898
1898
  onBlur: R,
1899
- onFocus: N,
1900
- onClear: S,
1901
- onKeydown: D
1899
+ onFocus: w,
1900
+ onClear: C,
1901
+ onKeydown: I
1902
1902
  }, {
1903
1903
  prefix: () => f(),
1904
1904
  suffix: () => d()
@@ -1984,22 +1984,20 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
1984
1984
  const {
1985
1985
  t: n
1986
1986
  } = Qe(), l = j(e.value), a = Je("size"), i = E(() => {
1987
- var S;
1988
- return (S = e.size) != null ? S : m(a);
1987
+ var w;
1988
+ return (w = e.size) != null ? w : m(a);
1989
1989
  }), o = E(() => e.placeholder ? e.placeholder : n("common.pleaseInput")), f = E(() => e.disabled);
1990
- ye(() => e.value, (S) => {
1991
- l.value = S;
1990
+ ye(() => e.value, (w) => {
1991
+ l.value = w;
1992
1992
  });
1993
- const d = (S) => {
1994
- t("input", S, e.vref);
1995
- }, v = (S) => {
1996
- e.bizType === "tableedit" ? t("blur", S, l.value, e.columnProp) : t("blur", S, l.value, e.vref);
1997
- }, g = (S) => {
1998
- S.target && S.target.select(), e.bizType === "tableedit" ? t("focus", S, l.value, e.columnProp) : t("focus", S, l.value, e.vref);
1999
- }, R = (S, D) => {
2000
- t("change", S, D);
2001
- }, N = (S) => {
2002
- l.value = S, t("update:modelValue", S);
1993
+ const d = (w) => {
1994
+ t("update:modelValue", w, e.vref), t("input", w, e.vref);
1995
+ }, v = (w) => {
1996
+ e.bizType === "tableedit" ? t("blur", w, l.value, e.columnProp) : t("blur", w, l.value, e.vref);
1997
+ }, g = (w) => {
1998
+ w.target && w.target.select(), e.bizType === "tableedit" ? t("focus", w, l.value, e.columnProp) : t("focus", w, l.value, e.vref);
1999
+ }, R = (w, C) => {
2000
+ t("change", w, C);
2003
2001
  };
2004
2002
  return (
2005
2003
  // nativeOnkeydown={(e) => this.inputKeydown(e)}
@@ -2008,7 +2006,7 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2008
2006
  ref: e.vref || "gv-input-number",
2009
2007
  name: e.name,
2010
2008
  modelValue: l,
2011
- "onUpdate:modelValue": [(S) => l = S, N],
2009
+ "onUpdate:modelValue": (w) => l = w,
2012
2010
  style: {
2013
2011
  display: e.visible ? "" : "none"
2014
2012
  },
@@ -2028,7 +2026,7 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2028
2026
  }, null)
2029
2027
  );
2030
2028
  }
2031
- }), dn = /* @__PURE__ */ se(lo, [["__scopeId", "data-v-1817612e"]]), ao = {
2029
+ }), dn = /* @__PURE__ */ se(lo, [["__scopeId", "data-v-1185d7f4"]]), ao = {
2032
2030
  install(e) {
2033
2031
  var t;
2034
2032
  e.component((t = dn.name) != null ? t : "GvInputNumber", dn);
@@ -2145,34 +2143,34 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2145
2143
  locale: o
2146
2144
  } = Qe(), f = o.value;
2147
2145
  let d, v = "iconfont gv-icon-shujuzidian3";
2148
- const g = j(!1), R = j(!1), N = j("loading..."), S = j(e.value || ""), D = j(e.showLabel), k = j(e.filterable), B = j(e.value), y = j([]), s = j([]), O = j(`${oo}-select`), C = Je("size"), U = E(() => {
2146
+ const g = j(!1), R = j(!1), w = j("loading..."), C = j(e.value || ""), I = j(e.showLabel), k = j(e.filterable), B = j(e.value), y = j([]), s = j([]), O = j(`${oo}-select`), D = Je("size"), U = E(() => {
2149
2147
  var u;
2150
- return (u = e.size) != null ? u : m(C);
2148
+ return (u = e.size) != null ? u : m(D);
2151
2149
  });
2152
2150
  ye(() => e.value, (u) => {
2153
- S.value = u || "", B.value = u;
2151
+ C.value = u || "", B.value = u;
2154
2152
  }), ye(() => e.showLabel, (u) => {
2155
- if (S.value && (D.value = u, S.value !== null && typeof S.value != "object" ? B.value = {
2156
- value: S.value,
2157
- label: u || S.value
2158
- } : B.value = S.value, y.value.some((w) => Array.isArray(S.value) ? S.value.some((V) => typeof V == "object" ? V.value + "" == w.c + "" : V + "" == w.c + "") : w.c + "" == S.value + "") === !1))
2159
- if (Array.isArray(S.value))
2160
- S.value.forEach((w, V) => {
2153
+ if (C.value && (I.value = u, C.value !== null && typeof C.value != "object" ? B.value = {
2154
+ value: C.value,
2155
+ label: u || C.value
2156
+ } : B.value = C.value, y.value.some((S) => Array.isArray(C.value) ? C.value.some((V) => typeof V == "object" ? V.value + "" == S.c + "" : V + "" == S.c + "") : S.c + "" == C.value + "") === !1))
2157
+ if (Array.isArray(C.value))
2158
+ C.value.forEach((S, V) => {
2161
2159
  const te = {};
2162
- te.c = w.value + "", u ? te.t = u[V] : te.t = w.label, y.value.push(te);
2160
+ te.c = S.value + "", u ? te.t = u[V] : te.t = S.label, y.value.push(te);
2163
2161
  });
2164
2162
  else {
2165
- const w = {};
2166
- w.c = S.value + "", w.t = u, y.value.push(w);
2163
+ const S = {};
2164
+ S.c = C.value + "", S.t = u, y.value.push(S);
2167
2165
  }
2168
2166
  });
2169
- const I = () => ie(null, null, function* () {
2167
+ const N = () => ie(null, null, function* () {
2170
2168
  var u;
2171
2169
  if (e.dicType) {
2172
2170
  let b = [];
2173
- const w = e.dicType.toLowerCase();
2174
- if (w.startsWith("e#"))
2175
- return w.split("#")[1].split(":").forEach((te) => {
2171
+ const S = e.dicType.toLowerCase();
2172
+ if (S.startsWith("e#"))
2173
+ return S.split("#")[1].split(":").forEach((te) => {
2176
2174
  const $ = {
2177
2175
  c: "",
2178
2176
  t: "",
@@ -2181,7 +2179,7 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2181
2179
  $.c = ue[0], $.t = ue[1], $.s = "", b.push($);
2182
2180
  }), b;
2183
2181
  {
2184
- const V = (u = n.dictCache) == null ? void 0 : u[w];
2182
+ const V = (u = n.dictCache) == null ? void 0 : u[S];
2185
2183
  if (e.filtercode === void 0 && V) b = V;
2186
2184
  else if (e.dicType === "xzqh") {
2187
2185
  const $ = l.getDictDivision;
@@ -2193,11 +2191,11 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2193
2191
  b = $;
2194
2192
  }
2195
2193
  } else {
2196
- const $ = l.getDict[w];
2194
+ const $ = l.getDict[S];
2197
2195
  if ($) {
2198
2196
  if (e.filtercode === void 0) {
2199
2197
  const ue = {};
2200
- ue.key = w, ue.dict = $, n.addDictCache(ue);
2198
+ ue.key = S, ue.dict = $, n.addDictCache(ue);
2201
2199
  }
2202
2200
  b = $;
2203
2201
  }
@@ -2212,25 +2210,25 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2212
2210
  } else
2213
2211
  return null;
2214
2212
  }), z = (u) => {
2215
- u ? I().then((b) => {
2216
- y.value = b.filter((w) => {
2217
- if (w.c.indexOf(u) !== -1 || // value检索
2218
- w.t.indexOf(u) !== -1 || // label检索
2219
- w.s.indexOf(u.toLowerCase()) !== -1) return !0;
2213
+ u ? N().then((b) => {
2214
+ y.value = b.filter((S) => {
2215
+ if (S.c.indexOf(u) !== -1 || // value检索
2216
+ S.t.indexOf(u) !== -1 || // label检索
2217
+ S.s.indexOf(u.toLowerCase()) !== -1) return !0;
2220
2218
  });
2221
- }) : I().then((b) => {
2219
+ }) : N().then((b) => {
2222
2220
  y.value = b;
2223
2221
  });
2224
2222
  }, H = (u) => {
2225
- g.value === !1 ? I().then((b) => {
2223
+ g.value === !1 ? N().then((b) => {
2226
2224
  y.value = b;
2227
2225
  }) : y.value = s.value, e.clear(B, e.vref, e.dicType), t("clear", u);
2228
2226
  }, G = (u) => ie(null, null, function* () {
2229
2227
  const b = e.dicType.substring(2), {
2230
- datas: w
2228
+ datas: S
2231
2229
  } = yield e.dicRemote(b, u, e.editRow), V = [];
2232
2230
  try {
2233
- JSON.parse(w).forEach((te) => {
2231
+ JSON.parse(S).forEach((te) => {
2234
2232
  const $ = {};
2235
2233
  $.c = te.c, $.t = te.t, V.push($);
2236
2234
  });
@@ -2241,25 +2239,25 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2241
2239
  }), _ = (u) => ie(null, null, function* () {
2242
2240
  R.value = !0;
2243
2241
  let b = !1;
2244
- m(S) && (b = !0), e.isreload === !0 || y.value.length === 0 || b === !0 ? (y.value = s.value.filter((w) => {
2245
- if (w.t) {
2246
- const V = w.t.split("]");
2242
+ m(C) && (b = !0), e.isreload === !0 || y.value.length === 0 || b === !0 ? (y.value = s.value.filter((S) => {
2243
+ if (S.t) {
2244
+ const V = S.t.split("]");
2247
2245
  if (u && V[0].indexOf(u) !== -1) return !0;
2248
2246
  }
2249
- if (w.c && u && w.c.indexOf(u) !== -1) return !0;
2250
- }), y.value.length === 0 && (y.value = y.value.filter((w) => {
2251
- if (w.t) {
2252
- const V = w.t.split("]");
2247
+ if (S.c && u && S.c.indexOf(u) !== -1) return !0;
2248
+ }), y.value.length === 0 && (y.value = y.value.filter((S) => {
2249
+ if (S.t) {
2250
+ const V = S.t.split("]");
2253
2251
  if (u && V[0].indexOf(u) !== -1) return !0;
2254
2252
  }
2255
- if (w.c && u && w.c.indexOf(u) !== -1) return !0;
2256
- })), yield G(u)) : u ? (y.value = s.value.filter((w) => {
2257
- if (w.t && w.t.split("]")[0].indexOf(u) !== -1 || w.c && w.c.indexOf(u) !== -1) return !0;
2258
- }), y.value.length === 0 && (y.value = y.value.filter((w) => {
2259
- if (w.t && w.t.split("]")[0].indexOf(u) !== -1 || w.c && w.c.indexOf(u) !== -1) return !0;
2260
- })), yield G(u)) : y.value = s.value, u ? R.value = !1 : y.value.length === 0 ? (R.value = !0, N.value = i("common.noData")) : (R.value = !1, N.value = i("common.loading"));
2253
+ if (S.c && u && S.c.indexOf(u) !== -1) return !0;
2254
+ })), yield G(u)) : u ? (y.value = s.value.filter((S) => {
2255
+ if (S.t && S.t.split("]")[0].indexOf(u) !== -1 || S.c && S.c.indexOf(u) !== -1) return !0;
2256
+ }), y.value.length === 0 && (y.value = y.value.filter((S) => {
2257
+ if (S.t && S.t.split("]")[0].indexOf(u) !== -1 || S.c && S.c.indexOf(u) !== -1) return !0;
2258
+ })), yield G(u)) : y.value = s.value, u ? R.value = !1 : y.value.length === 0 ? (R.value = !0, w.value = i("common.noData")) : (R.value = !1, w.value = i("common.loading"));
2261
2259
  }), ne = (u) => {
2262
- g.value === !1 ? I().then((b) => {
2260
+ g.value === !1 ? N().then((b) => {
2263
2261
  if (g.value === !1 && (b == null || b.length === 0)) return a("The dict value does not exist", "warning"), !1;
2264
2262
  y.value = b;
2265
2263
  }) : e.isreload === !0 || s.value.length === 0 ? _() : s.value.length && (y.value = s.value), t("focus", u);
@@ -2300,14 +2298,14 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2300
2298
  });
2301
2299
  }, T = (u) => {
2302
2300
  const b = u.t;
2303
- let w = b;
2301
+ let S = b;
2304
2302
  const V = [], te = {};
2305
2303
  let $ = !1;
2306
2304
  if (b) {
2307
2305
  if (b.indexOf("[") !== -1) {
2308
2306
  $ = !0;
2309
2307
  const qe = b.split("[");
2310
- w = qe[0];
2308
+ S = qe[0];
2311
2309
  let Pe = qe[1];
2312
2310
  Pe = Pe.split("]")[0];
2313
2311
  const Ke = Pe.split(",");
@@ -2318,7 +2316,7 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2318
2316
  }
2319
2317
  if (b.indexOf("{") !== -1) {
2320
2318
  const qe = b.split("{");
2321
- $ === !1 && (w = qe[0]);
2319
+ $ === !1 && (S = qe[0]);
2322
2320
  let Pe = qe[1];
2323
2321
  Pe = Pe.split("}")[0];
2324
2322
  const Ke = Pe.split(",");
@@ -2331,47 +2329,47 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2331
2329
  let ue = u.c + "";
2332
2330
  return e.multiple === !0 && (ue = u.val === void 0 ? u.c + "" : u.val), r(Ln, {
2333
2331
  key: ue,
2334
- label: w,
2332
+ label: S,
2335
2333
  value: {
2336
2334
  value: u.c + "",
2337
- label: w,
2335
+ label: S,
2338
2336
  row: te
2339
2337
  }
2340
2338
  }, {
2341
2339
  default: () => [r("span", {
2342
2340
  class: "ht-select__option--label"
2343
- }, [w]), r("span", {
2341
+ }, [S]), r("span", {
2344
2342
  class: "ht-select__option--value"
2345
2343
  }, [u.c]), V]
2346
2344
  });
2347
2345
  }, L = (u) => ie(null, null, function* () {
2348
2346
  let b = "";
2349
- const w = [];
2347
+ const S = [];
2350
2348
  u !== "" && (e.multiple === !0 ? y.value.forEach((V) => {
2351
- Array.isArray(u) && u.some((te) => te === V.c) && w.push(V.t);
2349
+ Array.isArray(u) && u.some((te) => te === V.c) && S.push(V.t);
2352
2350
  }) : u !== null && typeof u == "object" ? b = u.label : (b = y.value.filter((te) => {
2353
2351
  const $ = u + "";
2354
2352
  return te.c + "" === $;
2355
- })[0].t, b && (b = b.split("[")[0])), e.bizType === "tableedit" ? e.multiple === !0 ? (t("change", u, w, e.columnProp), yield e.cb(u, e.columnProp, e.dicType, w, e.editRow)) : (t("change", u, b, e.columnProp), yield e.cb(u, e.columnProp, e.dicType, b, e.editRow)) : e.multiple === !0 ? (t("change", u, w), yield e.cb(u, e.vref, e.dicType)) : (t("change", u, b), yield e.cb(u, e.vref, e.dicType)));
2356
- }), Q = (u) => {
2357
- S.value = u, t("update:modelValue", u);
2353
+ })[0].t, b && (b = b.split("[")[0])), e.bizType === "tableedit" ? e.multiple === !0 ? (t("change", u, S, e.columnProp), yield e.cb(u, e.columnProp, e.dicType, S, e.editRow)) : (t("change", u, b, e.columnProp), yield e.cb(u, e.columnProp, e.dicType, b, e.editRow)) : e.multiple === !0 ? (t("change", u, S), yield e.cb(u, e.vref, e.dicType)) : (t("change", u, b), yield e.cb(u, e.vref, e.dicType)));
2354
+ }), J = (u) => {
2355
+ C.value = u, t("update:modelValue", u);
2358
2356
  };
2359
- if (g.value === !0 && (O.value = "gv-select__table"), e.bizType === "tableedit" && (O.value += " tableedit"), S.value) if (Array.isArray(S))
2360
- B.value = [], S.value.forEach((u, b) => {
2357
+ if (g.value === !0 && (O.value = "gv-select__table"), e.bizType === "tableedit" && (O.value += " tableedit"), C.value) if (Array.isArray(C))
2358
+ B.value = [], C.value.forEach((u, b) => {
2361
2359
  if (u !== "") {
2362
- const w = {};
2363
- typeof u == "object" && u !== null && "value" in u ? w.c = u.value + "" : w.c = u + "", e.showLabel && (w.t = e.showLabel[b]), B.value && Array.isArray(B.value) && B.value.push({
2364
- value: w.c + "",
2365
- label: w.t || w.c
2366
- }), y.value.push(w);
2360
+ const S = {};
2361
+ typeof u == "object" && u !== null && "value" in u ? S.c = u.value + "" : S.c = u + "", e.showLabel && (S.t = e.showLabel[b]), B.value && Array.isArray(B.value) && B.value.push({
2362
+ value: S.c + "",
2363
+ label: S.t || S.c
2364
+ }), y.value.push(S);
2367
2365
  }
2368
2366
  });
2369
2367
  else {
2370
2368
  const u = {};
2371
- u.c = S.value + "", u.t = e.showLabel || S, S.value !== null && typeof S.value != "object" ? B.value = {
2372
- value: S.value + "",
2373
- label: e.showLabel || S.value + ""
2374
- } : B.value = S.value, y.value.push(u);
2369
+ u.c = C.value + "", u.t = e.showLabel || C, C.value !== null && typeof C.value != "object" ? B.value = {
2370
+ value: C.value + "",
2371
+ label: e.showLabel || C.value + ""
2372
+ } : B.value = C.value, y.value.push(u);
2375
2373
  }
2376
2374
  return lt(() => {
2377
2375
  if (d = Pa(_, 500), e.dicType === void 0 || e.dicType === null) {
@@ -2385,7 +2383,7 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2385
2383
  ref: "gv-select",
2386
2384
  name: e.name,
2387
2385
  modelValue: B.value,
2388
- "onUpdate:modelValue": [(b) => B.value = b, Q],
2386
+ "onUpdate:modelValue": [(b) => B.value = b, J],
2389
2387
  style: {
2390
2388
  display: e.visible ? "" : "none"
2391
2389
  },
@@ -2411,7 +2409,7 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2411
2409
  ref: "gv-select",
2412
2410
  name: e.name,
2413
2411
  modelValue: B.value,
2414
- "onUpdate:modelValue": (b) => B.value = b,
2412
+ "onUpdate:modelValue": [(b) => B.value = b, J],
2415
2413
  style: {
2416
2414
  display: e.visible ? "" : "none"
2417
2415
  },
@@ -2428,7 +2426,7 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2428
2426
  remote: !0,
2429
2427
  "remote-method": (b) => d(b),
2430
2428
  loading: R.value,
2431
- "loading-text": N,
2429
+ "loading-text": w,
2432
2430
  onChange: L,
2433
2431
  class: O.value
2434
2432
  }, {
@@ -2437,7 +2435,7 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2437
2435
  }, []), y.value.map((b) => T(b))]
2438
2436
  });
2439
2437
  }
2440
- }), fn = /* @__PURE__ */ se(ro, [["__scopeId", "data-v-68a425c7"]]), so = {
2438
+ }), fn = /* @__PURE__ */ se(ro, [["__scopeId", "data-v-795d6987"]]), so = {
2441
2439
  install(e) {
2442
2440
  var t;
2443
2441
  e.component((t = fn.name) != null ? t : "GvSelect", fn);
@@ -2546,20 +2544,20 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2546
2544
  const {
2547
2545
  t: n
2548
2546
  } = Qe(), l = Et(), a = Je("size"), i = j(e.modelValue), o = E(() => {
2549
- var D;
2550
- return (D = e.size) != null ? D : m(a);
2547
+ var I;
2548
+ return (I = e.size) != null ? I : m(a);
2551
2549
  });
2552
- ye(() => e.modelValue, (D) => {
2553
- i.value = D;
2550
+ ye(() => e.modelValue, (I) => {
2551
+ i.value = I;
2554
2552
  });
2555
- const f = (D) => {
2556
- i.value = D, t("update:modelValue", D);
2557
- }, d = () => e.disabledHours, v = () => e.disabledMinutes, g = () => e.disabledSeconds, R = (D) => {
2558
- t("change", D);
2559
- }, N = (D) => {
2560
- t("blur", D);
2561
- }, S = (D) => {
2562
- t("focus", D);
2553
+ const f = (I) => {
2554
+ i.value = I, t("update:modelValue", I);
2555
+ }, d = () => e.disabledHours, v = () => e.disabledMinutes, g = () => e.disabledSeconds, R = (I) => {
2556
+ t("change", I);
2557
+ }, w = (I) => {
2558
+ t("blur", I);
2559
+ }, C = (I) => {
2560
+ t("focus", I);
2563
2561
  };
2564
2562
  return () => r(fo, Ve({
2565
2563
  ref: e.vref || "gv-timepicker",
@@ -2583,8 +2581,8 @@ const Oi = { class: "search" }, Bi = { class: "top" }, Wi = { class: "name" }, A
2583
2581
  "disabled-minutes": v,
2584
2582
  "disabled-seconds": g,
2585
2583
  onChange: R,
2586
- onBlur: N,
2587
- onFocus: S
2584
+ onBlur: w,
2585
+ onFocus: C
2588
2586
  }, l), null);
2589
2587
  }
2590
2588
  }), mn = /* @__PURE__ */ se(mo, [["__scopeId", "data-v-07739ad2"]]), po = {
@@ -3061,9 +3059,9 @@ const {
3061
3059
  parent: null
3062
3060
  }, f = j({}), d = j(null), v = (h) => {
3063
3061
  d.value = h, h && e.refForm && (f.value[e.refForm] = h);
3064
- }, g = Je("size"), R = j({}), N = j(!0), S = j({}), D = j(!1), k = j(0), B = j(!1), y = j(!1);
3062
+ }, g = Je("size"), R = j({}), w = j(!0), C = j({}), I = j(!1), k = j(0), B = j(!1), y = j(!1);
3065
3063
  let s = nn({});
3066
- const O = j(!1), C = j(0), U = j("s"), I = j({}), z = E(() => {
3064
+ const O = j(!1), D = j(0), U = j("s"), N = j({}), z = E(() => {
3067
3065
  var h;
3068
3066
  return (h = e.size) != null ? h : m(g);
3069
3067
  }), H = E(() => n.labelPosition), G = E(() => n.searchDivider), _ = E(() => n.getDict), ne = E(() => l.dictCache), xe = (h, p) => {
@@ -3087,7 +3085,7 @@ const {
3087
3085
  }
3088
3086
  return x || (x = p.t), x;
3089
3087
  }, Y = (h) => {
3090
- N.value = h;
3088
+ w.value = h;
3091
3089
  }, Ne = E(() => {
3092
3090
  var h;
3093
3091
  return (h = t.editbar) != null && h.call(t) ? r(an, {
@@ -3123,7 +3121,7 @@ const {
3123
3121
  }
3124
3122
  }
3125
3123
  return p;
3126
- }, Q = (h) => {
3124
+ }, J = (h) => {
3127
3125
  var _e, $e, et;
3128
3126
  const p = [], x = h.format;
3129
3127
  if (h.type === "richtext" || !x) return p;
@@ -3134,14 +3132,14 @@ const {
3134
3132
  });
3135
3133
  let Z = "isAny";
3136
3134
  x[1] && (Z = On(String(x[1])));
3137
- const c = Number(($e = x[2]) != null ? $e : 30), J = x.length >= 4 ? Number((et = x[3]) != null ? et : 0) : 0, W = Un[Z];
3135
+ const c = Number(($e = x[2]) != null ? $e : 30), Q = x.length >= 4 ? Number((et = x[3]) != null ? et : 0) : 0, W = Un[Z];
3138
3136
  W && Z !== "isAny" && p.push({
3139
3137
  validator: W,
3140
3138
  trigger: ["change", "blur"],
3141
3139
  // Element Plus 透传参数(自定义字段)
3142
3140
  language: l.language,
3143
3141
  max: c,
3144
- decimal: J
3142
+ decimal: Q
3145
3143
  });
3146
3144
  const Ee = ["isDate", "isDateTime", "isTime", "isDic"];
3147
3145
  return x[2] && !Ee.includes(Z) && p.push({
@@ -3156,7 +3154,7 @@ const {
3156
3154
  jt(100).then(() => {
3157
3155
  Ia(h.$el.closest(".gv-daterange__single"), "is-active");
3158
3156
  });
3159
- }, w = (h) => {
3157
+ }, S = (h) => {
3160
3158
  Na(h.$el.closest(".gv-daterange__single"), "is-active");
3161
3159
  }, V = (h, p, x) => {
3162
3160
  if (h === "s" && p && s[x + "-end"]) {
@@ -3164,8 +3162,8 @@ const {
3164
3162
  new Date(p).getTime() >= c && (s[x + "-end"] = "", s[1] = "null");
3165
3163
  }
3166
3164
  if (h === "e" && p && s[x + "-start"]) {
3167
- const c = new Date(s[x + "-start"]).getTime(), J = new Date(p).getTime();
3168
- c >= J && (s[x + "-start"] = "", s[1] = "null");
3165
+ const c = new Date(s[x + "-start"]).getTime(), Q = new Date(p).getTime();
3166
+ c >= Q && (s[x + "-start"] = "", s[1] = "null");
3169
3167
  }
3170
3168
  if (!x) return;
3171
3169
  const M = s[x];
@@ -3197,7 +3195,7 @@ const {
3197
3195
  type: M = "text",
3198
3196
  label: Z,
3199
3197
  field: c,
3200
- hidden: J = !1,
3198
+ hidden: Q = !1,
3201
3199
  disabled: W,
3202
3200
  format: Ee = [],
3203
3201
  placeholder: _e,
@@ -3257,7 +3255,7 @@ const {
3257
3255
  // 自定义form样式
3258
3256
  } = h;
3259
3257
  let de;
3260
- const ke = J === !0, Dn = Ee[2] || 30;
3258
+ const ke = Q === !0, Dn = Ee[2] || 30;
3261
3259
  let kt = M;
3262
3260
  const Tt = On(String(Ee[1] || ""));
3263
3261
  let ee = et, zn = !1, tt = Ae.date.valueFormat, at = Ae.date.valueFormat;
@@ -3270,7 +3268,7 @@ const {
3270
3268
  let pe = 12, he = 8, fe = 6;
3271
3269
  O.value === !0 && (fe = 8);
3272
3270
  let me = 4;
3273
- O.value === !0 && (me = 6), C.value !== 0 ? (C.value === 12 && (ae = Be > 2 ? 2 : Be), C.value === 8 && (ae = Be > 3 ? 3 : Be), (C.value === 6 || C.value === 4) && (ae = Be > 4 ? 4 : Be), pe = ae * C.value > 24 ? 24 : ae * C.value, he = ae * C.value > 24 ? 24 : ae * C.value, fe = ae * C.value > 24 ? 24 : ae * C.value, me = ae * C.value > 24 ? 24 : ae * C.value) : (pe = ae * pe > 24 ? 24 : ae * pe, he = ae * he > 24 ? 24 : ae * he, fe = ae * fe > 24 ? 24 : ae * fe, me = ae * me > 24 ? 24 : ae * me);
3271
+ O.value === !0 && (me = 6), D.value !== 0 ? (D.value === 12 && (ae = Be > 2 ? 2 : Be), D.value === 8 && (ae = Be > 3 ? 3 : Be), (D.value === 6 || D.value === 4) && (ae = Be > 4 ? 4 : Be), pe = ae * D.value > 24 ? 24 : ae * D.value, he = ae * D.value > 24 ? 24 : ae * D.value, fe = ae * D.value > 24 ? 24 : ae * D.value, me = ae * D.value > 24 ? 24 : ae * D.value) : (pe = ae * pe > 24 ? 24 : ae * pe, he = ae * he > 24 ? 24 : ae * he, fe = ae * fe > 24 ? 24 : ae * fe, me = ae * me > 24 ? 24 : ae * me);
3274
3272
  let Ht = 2, Ut = "";
3275
3273
  if (!re) switch (Tt) {
3276
3274
  case "isMoney":
@@ -3581,7 +3579,7 @@ const {
3581
3579
  class: "gv-datepicker-range-start",
3582
3580
  onChange: (P) => V("s", P, c),
3583
3581
  onFocus: (P) => b(P),
3584
- onBlur: (P) => w(P)
3582
+ onBlur: (P) => S(P)
3585
3583
  }, null), r("span", {
3586
3584
  class: "gv-daterange__single-separator"
3587
3585
  }, [Vt]), r(yt, {
@@ -3603,7 +3601,7 @@ const {
3603
3601
  class: "gv-datepicker-range-end",
3604
3602
  onChange: (P) => V("e", P, c),
3605
3603
  onFocus: (P) => b(P),
3606
- onBlur: (P) => w(P)
3604
+ onBlur: (P) => S(P)
3607
3605
  }, null)])]
3608
3606
  })]
3609
3607
  }) : null;
@@ -3836,7 +3834,7 @@ const {
3836
3834
  h.push(ue(p, x));
3837
3835
  }), h;
3838
3836
  }), Pe = (h) => {
3839
- if (D.value) k.value = 0;
3837
+ if (I.value) k.value = 0;
3840
3838
  else if (e.scroller === !1) k.value = 0;
3841
3839
  else if (B.value)
3842
3840
  k.value = 0;
@@ -3858,37 +3856,37 @@ const {
3858
3856
  if (e.formStyle) {
3859
3857
  h = e.formStyle;
3860
3858
  let p = h.width || 0, x = h.height || 0;
3861
- p.lastIndexOf("%") === -1 ? (p = parseInt(p), p !== 0 && (p < 768 ? C.value = 24 : p < 992 ? C.value = 12 : p < 1200 ? C.value = 8 : p < 1920 ? C.value = 6 : C.value = 4, R.value.width = p + "px"), x !== "100%" && x !== 0 && (x = parseInt(x), R.value.height = x + "px")) : R.value.width = p;
3859
+ p.lastIndexOf("%") === -1 ? (p = parseInt(p), p !== 0 && (p < 768 ? D.value = 24 : p < 992 ? D.value = 12 : p < 1200 ? D.value = 8 : p < 1920 ? D.value = 6 : D.value = 4, R.value.width = p + "px"), x !== "100%" && x !== 0 && (x = parseInt(x), R.value.height = x + "px")) : R.value.width = p;
3862
3860
  }
3863
- I.value = h;
3861
+ N.value = h;
3864
3862
  }, ut = (h) => ie(null, null, function* () {
3865
3863
  const p = {}, x = {};
3866
3864
  e.formList.forEach((M) => {
3867
3865
  let Z;
3868
- h === "create" ? Z = M.value : Z = s[M.field] === void 0 ? M.value : s[M.field], p[M.field] = Z, (M.dateType === "daterange2" || M.dateType === "datetimerange2") && (Array.isArray(Z) ? (p[M.field + "-start"] = Z[0] === "null" ? void 0 : Z[0], p[M.field + "-end"] = Z[1] === "null" ? void 0 : Z[1]) : (p[M.field + "-start"] = "", p[M.field + "-end"] = "")), x[M.field] = Q(M), M.value = Z;
3869
- }), s = p, (h === "create" || h === "watch") && (S.value = x), Re(), yield ln(), Ke();
3866
+ h === "create" ? Z = M.value : Z = s[M.field] === void 0 ? M.value : s[M.field], p[M.field] = Z, (M.dateType === "daterange2" || M.dateType === "datetimerange2") && (Array.isArray(Z) ? (p[M.field + "-start"] = Z[0] === "null" ? void 0 : Z[0], p[M.field + "-end"] = Z[1] === "null" ? void 0 : Z[1]) : (p[M.field + "-start"] = "", p[M.field + "-end"] = "")), x[M.field] = J(M), M.value = Z;
3867
+ }), s = p, (h === "create" || h === "watch") && (C.value = x), Re(), yield ln(), Ke();
3870
3868
  }), Oe = (h, p) => {
3871
3869
  let x = !1;
3872
3870
  for (const M in h) {
3873
3871
  const Z = h[M], c = p[M];
3874
3872
  if (Z !== void 0)
3875
3873
  if (c) {
3876
- const J = Object.keys(Z);
3877
- for (const W in J) if (J[W] === "label" || J[W] === "hidden" || J[W] === "disabled" || J[W] === "format" || J[W] === "readonly" || J[W] === "filtercode" || J[W] === "multiple" || J[W] === "showLabel" || J[W] === "visible") {
3878
- if (J[W] === "format") {
3879
- if (Z[J[W]][0] !== c[J[W]][0]) {
3874
+ const Q = Object.keys(Z);
3875
+ for (const W in Q) if (Q[W] === "label" || Q[W] === "hidden" || Q[W] === "disabled" || Q[W] === "format" || Q[W] === "readonly" || Q[W] === "filtercode" || Q[W] === "multiple" || Q[W] === "showLabel" || Q[W] === "visible") {
3876
+ if (Q[W] === "format") {
3877
+ if (Z[Q[W]][0] !== c[Q[W]][0]) {
3880
3878
  x = !0;
3881
3879
  break;
3882
3880
  }
3883
- if (Z[J[W]][1] !== c[J[W]][1]) {
3881
+ if (Z[Q[W]][1] !== c[Q[W]][1]) {
3884
3882
  x = !0;
3885
3883
  break;
3886
3884
  }
3887
- if (Z[J[W]][2] !== c[J[W]][2]) {
3885
+ if (Z[Q[W]][2] !== c[Q[W]][2]) {
3888
3886
  x = !0;
3889
3887
  break;
3890
3888
  }
3891
- } else if (Z[J[W]] !== c[J[W]]) {
3889
+ } else if (Z[Q[W]] !== c[Q[W]]) {
3892
3890
  x = !0;
3893
3891
  break;
3894
3892
  }
@@ -3921,13 +3919,13 @@ const {
3921
3919
  }
3922
3920
  if (h && typeof h.closest == "function") {
3923
3921
  h.closest(".gv-anchor-wrap") && (y.value = !0);
3924
- const J = h.closest(".gv-drawer__body--inner");
3925
- if (J) B.value = Bn(J);
3922
+ const Q = h.closest(".gv-drawer__body--inner");
3923
+ if (Q) B.value = Bn(Q);
3926
3924
  else {
3927
3925
  const W = h.closest(".gv-dialog__body--inner");
3928
3926
  W && (B.value = Bn(W));
3929
3927
  }
3930
- h.closest(".gv-edit__container") && (D.value = !0);
3928
+ h.closest(".gv-edit__container") && (I.value = !0);
3931
3929
  }
3932
3930
  Pe(h), window.addEventListener("resize", () => Pe(h));
3933
3931
  });
@@ -3941,9 +3939,9 @@ const {
3941
3939
  inline: !1,
3942
3940
  "label-position": H.value,
3943
3941
  "label-width": `${e.labelWidth}px`,
3944
- rules: S.value,
3945
- style: pt(We({}, I.value), {
3946
- display: N.value ? "" : "none",
3942
+ rules: C.value,
3943
+ style: pt(We({}, N.value), {
3944
+ display: w.value ? "" : "none",
3947
3945
  width: "100%",
3948
3946
  maxHeight: k.value === 0 ? void 0 : k.value + "px"
3949
3947
  })
@@ -4124,12 +4122,12 @@ const {
4124
4122
  setup(e, {
4125
4123
  slots: t
4126
4124
  }) {
4127
- var N, S, D;
4125
+ var w, C, I;
4128
4126
  const n = Ye(), {
4129
4127
  t: l
4130
4128
  } = bt(), a = j(e.expand), i = Yl("refForm"), o = vt();
4131
- let f = (N = o == null ? void 0 : o.proxy) == null ? void 0 : N.$parent;
4132
- for (; f && ((D = (S = f.$) == null ? void 0 : S.type) == null ? void 0 : D.name) !== "ElForm"; ) f = f.$parent;
4129
+ let f = (w = o == null ? void 0 : o.proxy) == null ? void 0 : w.$parent;
4130
+ for (; f && ((I = (C = f.$) == null ? void 0 : C.type) == null ? void 0 : I.name) !== "ElForm"; ) f = f.$parent;
4133
4131
  const d = j([]);
4134
4132
  lt(() => {
4135
4133
  d.value = f.fields;
@@ -4138,32 +4136,32 @@ const {
4138
4136
  var B, y;
4139
4137
  const k = ((B = d.value) == null ? void 0 : B.length) || 0;
4140
4138
  (y = d.value) == null || y.forEach((s, O) => {
4141
- var C, U;
4142
- O > 2 && O < k - 1 && (U = (C = s == null ? void 0 : s.component) == null ? void 0 : C.proxy) != null && U.$el && (s.component.proxy.$el.style.display = "");
4139
+ var D, U;
4140
+ O > 2 && O < k - 1 && (U = (D = s == null ? void 0 : s.component) == null ? void 0 : D.proxy) != null && U.$el && (s.component.proxy.$el.style.display = "");
4143
4141
  }), a.value = !1;
4144
4142
  }, g = () => {
4145
4143
  var B;
4146
4144
  const k = ((B = d.value) == null ? void 0 : B.length) || 0;
4147
4145
  d.value.forEach((y, s) => {
4148
- var O, C;
4149
- s > 2 && s < k - 1 && (C = (O = y == null ? void 0 : y.component) == null ? void 0 : O.proxy) != null && C.$el && (y.component.proxy.$el.style.display = "none");
4146
+ var O, D;
4147
+ s > 2 && s < k - 1 && (D = (O = y == null ? void 0 : y.component) == null ? void 0 : O.proxy) != null && D.$el && (y.component.proxy.$el.style.display = "none");
4150
4148
  }), a.value = !0;
4151
4149
  }, R = E(() => {
4152
- var O, C;
4150
+ var O, D;
4153
4151
  if (!((O = d.value) != null && O.length)) return null;
4154
- const k = [], B = n.buttonQuick, y = n.buttonIcon, s = (C = t.default) == null ? void 0 : C.call(t);
4155
- if (s && (s.forEach((I) => {
4156
- const z = I.props, H = I.type;
4152
+ const k = [], B = n.buttonQuick, y = n.buttonIcon, s = (D = t.default) == null ? void 0 : D.call(t);
4153
+ if (s && (s.forEach((N) => {
4154
+ const z = N.props, H = N.type;
4157
4155
  if (typeof H == "object" && "name" in H && H.name === "GvButton") {
4158
- let G = on(I), _ = !1;
4156
+ let G = on(N), _ = !1;
4159
4157
  G === l("searchBar.search") ? (B && (G = l("searchBar.search2")), _ = !0, z && (z.text = G, z.otext = l("searchBar.search"), y && (z.icon = "el-icon-search"), z.bizType = "search")) : G === l("searchBar.seek") ? (B && (G = l("searchBar.seek2")), _ = !0, z && (z.text = G, z.otext = l("searchBar.seek"), y && (z.icon = "el-icon-search"), z.bizType = "search")) : G === l("searchBar.query") ? (B && (G = l("searchBar.query2")), _ = !0, z && (z.text = G, z.otext = l("searchBar.query"), y && (z.icon = "el-icon-search"), z.bizType = "search")) : G === l("searchBar.reset") && (B && (G = l("searchBar.reset2")), z && (z.text = G, z.otext = l("searchBar.reset"), y && (z.icon = "el-icon-refreshLeft"), z.bizType = "reset")), _ && z && z.type === void 0 && (z.type = "primary"), z && (z.refForm = i);
4160
4158
  }
4161
- k.push(I);
4162
- }), d.value.filter((I) => {
4163
- if (I.$el.hidden !== !0) return !0;
4159
+ k.push(N);
4160
+ }), d.value.filter((N) => {
4161
+ if (N.$el.hidden !== !0) return !0;
4164
4162
  }).length > 4)) {
4165
- let I = `${l("searchBar.expand")}`;
4166
- B && (I = `${l("searchBar.expand")}(E)`);
4163
+ let N = `${l("searchBar.expand")}`;
4164
+ B && (N = `${l("searchBar.expand")}(E)`);
4167
4165
  let z = `${l("searchBar.shrink")}`;
4168
4166
  B && (z = `${l("searchBar.shrink")}(E)`);
4169
4167
  const H = r(It, {
@@ -4173,7 +4171,7 @@ const {
4173
4171
  visible: a.value,
4174
4172
  onClick: v
4175
4173
  }, {
4176
- default: () => [I, Ue("  "), r("i", {
4174
+ default: () => [N, Ue("  "), r("i", {
4177
4175
  class: "el-icon-arrow-down"
4178
4176
  }, null)]
4179
4177
  });
@@ -4291,18 +4289,18 @@ const {
4291
4289
  currentRoute: a
4292
4290
  } = Zt(), i = Mt(), o = E(() => ["default", "topLeft", "cutMenu"].includes(m(n)) ? "vertical" : "horizontal"), f = E(() => (m(n) === "cutMenu", i.getRouters)), d = E(() => t.getCollapseMenus), v = E(() => t.getLeftMenuUniqueOpened), g = E(() => {
4293
4291
  const {
4294
- meta: D,
4292
+ meta: I,
4295
4293
  path: k
4296
4294
  } = m(a);
4297
- return D.activeMenu ? D.activeMenu : k;
4298
- }), R = (D) => {
4295
+ return I.activeMenu ? I.activeMenu : k;
4296
+ }), R = (I) => {
4299
4297
  var k;
4300
- if ((k = e.menuSelect) == null || k.call(e, D), hn(D)) {
4301
- window.open(D);
4298
+ if ((k = e.menuSelect) == null || k.call(e, I), hn(I)) {
4299
+ window.open(I);
4302
4300
  return;
4303
4301
  }
4304
- l(D);
4305
- }, N = () => r(ma, {
4302
+ l(I);
4303
+ }, w = () => r(ma, {
4306
4304
  defaultActive: m(g),
4307
4305
  mode: m(o),
4308
4306
  collapse: m(n) === "top" || m(n) === "cutMenu" ? !1 : m(d),
@@ -4315,14 +4313,14 @@ const {
4315
4313
  }, {
4316
4314
  default: () => {
4317
4315
  const {
4318
- renderMenuItem: D
4316
+ renderMenuItem: I
4319
4317
  } = Wo(o);
4320
- return D(m(f));
4318
+ return I(m(f));
4321
4319
  }
4322
- }), S = () => {
4323
- let D;
4324
- return m(n) === "top" ? N() : r(fa, null, Ao(D = N()) ? D : {
4325
- default: () => [D]
4320
+ }), C = () => {
4321
+ let I;
4322
+ return m(n) === "top" ? w() : r(fa, null, Ao(I = w()) ? I : {
4323
+ default: () => [I]
4326
4324
  });
4327
4325
  };
4328
4326
  return () => r("div", {
@@ -4331,7 +4329,7 @@ const {
4331
4329
  "w-[var(--left-menu-min-width)]": m(d) && m(n) !== "cutMenu",
4332
4330
  "w-[var(--left-menu-max-width)]": !m(d) && m(n) !== "cutMenu"
4333
4331
  }]
4334
- }, [S()]);
4332
+ }, [C()]);
4335
4333
  }
4336
4334
  }), $n = /* @__PURE__ */ se(Yo, [["__scopeId", "data-v-745cd5b1"]]), Vo = {
4337
4335
  install(e) {
@@ -4409,12 +4407,12 @@ const {
4409
4407
  replace: i
4410
4408
  } = Zt(), o = j(m(l).path || "/dashboard"), {
4411
4409
  t: f
4412
- } = Qe(), d = Ca(), v = Mt(), g = E(() => d.visitedViews), R = E(() => v.mainAppRoutes), N = (T) => T.startsWith("/redirect"), S = (T) => T.path === m(l).path, D = (T) => T.meta && T.meta.affix, k = (T, L = "/") => {
4413
- const Q = [];
4410
+ } = Qe(), d = Ca(), v = Mt(), g = E(() => d.visitedViews), R = E(() => v.mainAppRoutes), w = (T) => T.startsWith("/redirect"), C = (T) => T.path === m(l).path, I = (T) => T.meta && T.meta.affix, k = (T, L = "/") => {
4411
+ const J = [];
4414
4412
  return T.value.forEach((u) => {
4415
4413
  if (u.meta && u.meta.affix === !0) {
4416
4414
  const b = rt(L, u.path);
4417
- Q.push({
4415
+ J.push({
4418
4416
  fullPath: b,
4419
4417
  path: b,
4420
4418
  name: u.name,
@@ -4426,18 +4424,18 @@ const {
4426
4424
  redirectedFrom: void 0
4427
4425
  });
4428
4426
  }
4429
- }), Q;
4427
+ }), J;
4430
4428
  }, B = () => {
4431
4429
  const T = k(R);
4432
4430
  for (const L of T) L.name && d.addVisitedView(L);
4433
4431
  }, y = () => g.value.map((T) => {
4434
- var b, w, V;
4435
- const L = Ga((b = T.meta) == null ? void 0 : b.picon), Q = g.value.length > 1, u = f((V = (w = T.meta) == null ? void 0 : w.title) != null ? V : "no-name");
4432
+ var b, S, V;
4433
+ const L = Ga((b = T.meta) == null ? void 0 : b.picon), J = g.value.length > 1, u = f((V = (S = T.meta) == null ? void 0 : S.title) != null ? V : "no-name");
4436
4434
  return r(il, {
4437
4435
  key: String(T.path),
4438
4436
  name: String(T.path),
4439
4437
  label: u,
4440
- closable: Q
4438
+ closable: J
4441
4439
  }, {
4442
4440
  label: () => r("span", {
4443
4441
  class: "tab-label"
@@ -4449,26 +4447,26 @@ const {
4449
4447
  n.value = T, e.value = !0;
4450
4448
  }, O = () => {
4451
4449
  e.value = !1;
4452
- }, C = (T) => {
4450
+ }, D = (T) => {
4453
4451
  o.value = T || "/dashboard", a({
4454
4452
  path: T,
4455
4453
  query: {}
4456
4454
  });
4457
4455
  }, U = (T, L) => {
4458
- const Q = T.slice(-1)[0];
4459
- T ? (o.value = Q.path, a(Q.fullPath)) : L.name === "Dashboard" ? i({
4456
+ const J = T.slice(-1)[0];
4457
+ T ? (o.value = J.path, a(J.fullPath)) : L.name === "Dashboard" ? i({
4460
4458
  path: "/redirect" + L.fullPath
4461
4459
  }) : a("/");
4462
- }, I = () => {
4460
+ }, N = () => {
4463
4461
  l.value.name && d.addTagView(l.value);
4464
4462
  }, z = (T) => {
4465
4463
  }, H = (T) => {
4466
- C(T.props.name);
4464
+ D(T.props.name);
4467
4465
  }, G = (T) => ie(null, null, function* () {
4468
- const L = g.value.filter((Q) => Q.path === T);
4469
- D(L[0]) || (yield d.delTagView({
4466
+ const L = g.value.filter((J) => J.path === T);
4467
+ I(L[0]) || (yield d.delTagView({
4470
4468
  view: L[0]
4471
- }), S(L[0]) && U(g.value, L[0]));
4469
+ }), C(L[0]) && U(g.value, L[0]));
4472
4470
  }), _ = () => ie(null, null, function* () {
4473
4471
  d.delCachedView(m(l));
4474
4472
  const {
@@ -4482,24 +4480,24 @@ const {
4482
4480
  }), ne = () => g.value.findIndex((T) => T.path === n.value), xe = (T) => {
4483
4481
  const L = ne();
4484
4482
  if (L === -1) return;
4485
- let Q = !1;
4483
+ let J = !1;
4486
4484
  Da(g.value).map(({
4487
4485
  path: b
4488
- }, w) => {
4489
- T === "right" && w > L ? (b === m(o) && (Q = !0), G(b)) : T === "left" && w < L && (b === m(o) && (Q = !0), G(b));
4490
- }), Q && C(m(n));
4486
+ }, S) => {
4487
+ T === "right" && S > L ? (b === m(o) && (J = !0), G(b)) : T === "left" && S < L && (b === m(o) && (J = !0), G(b));
4488
+ }), J && D(m(n));
4491
4489
  }, Y = () => {
4492
4490
  ne() !== -1 && (a(n.value), d.delOthersViews(l.value).then(() => {
4493
4491
  z(m(l));
4494
4492
  }));
4495
4493
  };
4496
- ye(() => [l.value.path, l.value.name], ([T, L], [, Q]) => {
4497
- if (!N(T)) {
4498
- if (o.value = T || "/dashboard", Q !== L) {
4494
+ ye(() => [l.value.path, l.value.name], ([T, L], [, J]) => {
4495
+ if (!w(T)) {
4496
+ if (o.value = T || "/dashboard", J !== L) {
4499
4497
  const u = document.body.querySelector("body>.el-notification");
4500
4498
  u && u.remove();
4501
4499
  }
4502
- I();
4500
+ N();
4503
4501
  }
4504
4502
  });
4505
4503
  const Ne = j(null);
@@ -4507,15 +4505,15 @@ const {
4507
4505
  var b;
4508
4506
  T.preventDefault();
4509
4507
  let L = null;
4510
- const Q = T.target;
4511
- if (Q.tagName === "SPAN" ? L = Q.parentElement : L = Q, (L ? [...L.classList] : []).includes("el-tabs__item")) {
4512
- const w = ((b = L == null ? void 0 : L.getAttribute("aria-controls")) == null ? void 0 : b.replace(/^pane-/, "")) || "";
4513
- w !== m(l).path && C(w), t.x = T.clientX || T.pageX, t.y = T.clientY || T.pageY, s(w);
4508
+ const J = T.target;
4509
+ if (J.tagName === "SPAN" ? L = J.parentElement : L = J, (L ? [...L.classList] : []).includes("el-tabs__item")) {
4510
+ const S = ((b = L == null ? void 0 : L.getAttribute("aria-controls")) == null ? void 0 : b.replace(/^pane-/, "")) || "";
4511
+ S !== m(l).path && D(S), t.x = T.clientX || T.pageX, t.y = T.clientY || T.pageY, s(S);
4514
4512
  }
4515
4513
  }), jn(window, "click", () => {
4516
4514
  O();
4517
4515
  }), lt(() => {
4518
- B(), I();
4516
+ B(), N();
4519
4517
  }), () => {
4520
4518
  let T;
4521
4519
  return r("div", {