sag-vxe-pc 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { inject as fe, ref as V, h as Oe, getCurrentInstance as qr, nextTick as ft, reactive as te, defineComponent as oe, createVNode as q, openBlock as k, createElementBlock as J, Fragment as xe, createBlock as j, unref as T, createCommentVNode as L, onMounted as Te, resolveComponent as H, isRef as Wa, createSlots as dt, withCtx as E, mergeProps as ee, defineAsyncComponent as $r, useAttrs as Ga, computed as Er, createElementVNode as Q, toDisplayString as _e, resolveDynamicComponent as jr, provide as ma, useSlots as Nr, watch as Rr, withDirectives as Lr, createTextVNode as he, renderList as Me, renderSlot as pa, toHandlers as Ir, normalizeProps as Ur, guardReactiveProps as Fr, vShow as Br } from "vue";
1
+ import { inject as fe, ref as V, h as Oe, getCurrentInstance as Ar, nextTick as ft, reactive as te, defineComponent as le, createVNode as q, openBlock as k, createElementBlock as J, Fragment as xe, createBlock as j, unref as T, createCommentVNode as L, onMounted as Te, resolveComponent as H, isRef as Wa, createSlots as dt, withCtx as E, mergeProps as ee, defineAsyncComponent as qr, computed as $r, createElementVNode as Q, toDisplayString as _e, resolveDynamicComponent as Er, useAttrs as jr, provide as ma, useSlots as Nr, watch as Rr, withDirectives as Lr, createTextVNode as he, renderList as Me, renderSlot as pa, toHandlers as Ir, normalizeProps as Ur, guardReactiveProps as Br, vShow as Fr } from "vue";
2
2
  import Re, { trim as ze, debounce as Hr } from "xe-utils";
3
3
  import { Modal as Yr, notification as mt, message as Wr, Spin as Gr } from "ant-design-vue";
4
4
  import R from "dayjs";
@@ -8,7 +8,7 @@ function bt(e) {
8
8
  console[e]("[sag-vxe-pc]" + a, t);
9
9
  };
10
10
  }
11
- const le = bt("log"), Ja = bt("warn"), Ke = bt("error"), ga = (e) => {
11
+ const ue = bt("log"), Ga = bt("warn"), Ke = bt("error"), ga = (e) => {
12
12
  const { mergeKey: a, seqKey: t, fields: r } = e;
13
13
  return ({ row: l, _rowIndex: o, column: u, visibleData: i }) => {
14
14
  if (a) {
@@ -56,7 +56,7 @@ const le = bt("log"), Ja = bt("warn"), Ke = bt("error"), ga = (e) => {
56
56
  }), t && t.forEach((i) => {
57
57
  const { field: f, datas: m, values: g } = i;
58
58
  o[f] = m ? m.join(",") : g ? g.join(",") : "";
59
- }), le("表单查询参数:", o), o;
59
+ }), ue("表单查询参数:", o), o;
60
60
  }, ha = (e, a, t = 1) => {
61
61
  const r = document.documentElement.clientHeight * t, n = e && e.$el ? e.$el.offsetHeight : 0, l = r - n - 50;
62
62
  a.height = l > a.minHeight ? l : a.minHeight;
@@ -142,7 +142,7 @@ function Qr(e) {
142
142
  function Xr(e) {
143
143
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
144
144
  }
145
- function Fe(e) {
145
+ function Be(e) {
146
146
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
147
147
  }
148
148
  function rt(e) {
@@ -360,7 +360,7 @@ var ba = {
360
360
  };
361
361
  function Ee(e) {
362
362
  var a = { r: 0, g: 0, b: 0 }, t = 1, r = null, n = null, l = null, o = !1, u = !1;
363
- return typeof e == "string" && (e = ll(e)), typeof e == "object" && (we(e.r) && we(e.g) && we(e.b) ? (a = Zr(e.r, e.g, e.b), o = !0, u = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : we(e.h) && we(e.s) && we(e.v) ? (r = Fe(e.s), n = Fe(e.v), a = tl(e.h, r, n), o = !0, u = "hsv") : we(e.h) && we(e.s) && we(e.l) && (r = Fe(e.s), l = Fe(e.l), a = Kr(e.h, r, l), o = !0, u = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = Xr(t), {
363
+ return typeof e == "string" && (e = ll(e)), typeof e == "object" && (we(e.r) && we(e.g) && we(e.b) ? (a = Zr(e.r, e.g, e.b), o = !0, u = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : we(e.h) && we(e.s) && we(e.v) ? (r = Be(e.s), n = Be(e.v), a = tl(e.h, r, n), o = !0, u = "hsv") : we(e.h) && we(e.s) && we(e.l) && (r = Be(e.s), l = Be(e.l), a = Kr(e.h, r, l), o = !0, u = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = Xr(t), {
364
364
  ok: o,
365
365
  format: e.format || u,
366
366
  r: Math.min(255, Math.max(a.r, 0)),
@@ -418,7 +418,7 @@ function ll(e) {
418
418
  function we(e) {
419
419
  return !!ge.CSS_UNIT.exec(String(e));
420
420
  }
421
- var Be = 2, wa = 0.16, ol = 0.05, il = 0.05, ul = 0.15, Qa = 5, Xa = 4, sl = [{
421
+ var Fe = 2, wa = 0.16, ol = 0.05, il = 0.05, ul = 0.15, Ja = 5, Qa = 4, sl = [{
422
422
  index: 7,
423
423
  opacity: 0.15
424
424
  }, {
@@ -471,20 +471,20 @@ function cl(e, a, t) {
471
471
  }
472
472
  function Ca(e, a, t) {
473
473
  var r;
474
- return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? r = t ? Math.round(e.h) - Be * a : Math.round(e.h) + Be * a : r = t ? Math.round(e.h) + Be * a : Math.round(e.h) - Be * a, r < 0 ? r += 360 : r >= 360 && (r -= 360), r;
474
+ return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? r = t ? Math.round(e.h) - Fe * a : Math.round(e.h) + Fe * a : r = t ? Math.round(e.h) + Fe * a : Math.round(e.h) - Fe * a, r < 0 ? r += 360 : r >= 360 && (r -= 360), r;
475
475
  }
476
476
  function xa(e, a, t) {
477
477
  if (e.h === 0 && e.s === 0)
478
478
  return e.s;
479
479
  var r;
480
- return t ? r = e.s - wa * a : a === Xa ? r = e.s + wa : r = e.s + ol * a, r > 1 && (r = 1), t && a === Qa && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Number(r.toFixed(2));
480
+ return t ? r = e.s - wa * a : a === Qa ? r = e.s + wa : r = e.s + ol * a, r > 1 && (r = 1), t && a === Ja && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Number(r.toFixed(2));
481
481
  }
482
482
  function Oa(e, a, t) {
483
483
  var r;
484
484
  return t ? r = e.v + il * a : r = e.v - ul * a, r > 1 && (r = 1), Number(r.toFixed(2));
485
485
  }
486
486
  function gt(e) {
487
- for (var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], r = Ee(e), n = Qa; n > 0; n -= 1) {
487
+ for (var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], r = Ee(e), n = Ja; n > 0; n -= 1) {
488
488
  var l = _a(r), o = He(Ee({
489
489
  h: Ca(l, n, !0),
490
490
  s: xa(l, n, !0),
@@ -493,7 +493,7 @@ function gt(e) {
493
493
  t.push(o);
494
494
  }
495
495
  t.push(He(r));
496
- for (var u = 1; u <= Xa; u += 1) {
496
+ for (var u = 1; u <= Qa; u += 1) {
497
497
  var i = _a(r), f = He(Ee({
498
498
  h: Ca(i, u),
499
499
  s: xa(i, u),
@@ -527,7 +527,7 @@ Object.keys(ut).forEach(function(e) {
527
527
  backgroundColor: "#141414"
528
528
  }), st[e].primary = st[e][5];
529
529
  });
530
- var fl = Ge.blue, dl = Symbol("iconContext"), Za = function() {
530
+ var fl = Ge.blue, dl = Symbol("iconContext"), Xa = function() {
531
531
  return fe(dl, {
532
532
  prefixCls: V("anticon"),
533
533
  rootClassName: V(""),
@@ -541,7 +541,7 @@ function ml(e, a) {
541
541
  return e && e.contains ? e.contains(a) : !1;
542
542
  }
543
543
  var Sa = "data-vc-order", pl = "vc-icon-key", ht = /* @__PURE__ */ new Map();
544
- function Ka() {
544
+ function Za() {
545
545
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.mark;
546
546
  return a ? a.startsWith("data-") ? a : "data-".concat(a) : pl;
547
547
  }
@@ -554,12 +554,12 @@ function _t(e) {
554
554
  function gl(e) {
555
555
  return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
556
556
  }
557
- function er(e) {
557
+ function Ka(e) {
558
558
  return Array.from((ht.get(e) || e).children).filter(function(a) {
559
559
  return a.tagName === "STYLE";
560
560
  });
561
561
  }
562
- function tr(e) {
562
+ function er(e) {
563
563
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
564
564
  if (!wt())
565
565
  return null;
@@ -568,7 +568,7 @@ function tr(e) {
568
568
  var l = _t(a), o = l.firstChild;
569
569
  if (r) {
570
570
  if (r === "queue") {
571
- var u = er(l).filter(function(i) {
571
+ var u = Ka(l).filter(function(i) {
572
572
  return ["prepend", "prependQueue"].includes(i.getAttribute(Sa));
573
573
  });
574
574
  if (u.length)
@@ -581,14 +581,14 @@ function tr(e) {
581
581
  }
582
582
  function hl(e) {
583
583
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = _t(a);
584
- return er(t).find(function(r) {
585
- return r.getAttribute(Ka(a)) === e;
584
+ return Ka(t).find(function(r) {
585
+ return r.getAttribute(Za(a)) === e;
586
586
  });
587
587
  }
588
588
  function vl(e, a) {
589
589
  var t = ht.get(e);
590
590
  if (!t || !ml(document, t)) {
591
- var r = tr("", a), n = r.parentNode;
591
+ var r = er("", a), n = r.parentNode;
592
592
  ht.set(e, n), e.removeChild(r);
593
593
  }
594
594
  }
@@ -598,8 +598,8 @@ function yl(e, a) {
598
598
  var n = hl(a, t);
599
599
  if (n)
600
600
  return t.csp && t.csp.nonce && n.nonce !== t.csp.nonce && (n.nonce = t.csp.nonce), n.innerHTML !== e && (n.innerHTML = e), n;
601
- var l = tr(e, t);
602
- return l.setAttribute(Ka(t), a), l;
601
+ var l = er(e, t);
602
+ return l.setAttribute(Za(t), a), l;
603
603
  }
604
604
  function Ta(e) {
605
605
  for (var a = 1; a < arguments.length; a++) {
@@ -635,10 +635,10 @@ function vt(e, a, t) {
635
635
  return vt(r, "".concat(a, "-").concat(e.tag, "-").concat(n));
636
636
  }));
637
637
  }
638
- function nr(e) {
638
+ function tr(e) {
639
639
  return gt(e)[0];
640
640
  }
641
- function ar(e) {
641
+ function nr(e) {
642
642
  return e ? Array.isArray(e) ? e : [e] : [];
643
643
  }
644
644
  var Cl = `
@@ -696,17 +696,17 @@ var Cl = `
696
696
  }
697
697
  }
698
698
  `;
699
- function rr(e) {
699
+ function ar(e) {
700
700
  return e && e.getRootNode && e.getRootNode();
701
701
  }
702
702
  function xl(e) {
703
- return wt() ? rr(e) instanceof ShadowRoot : !1;
703
+ return wt() ? ar(e) instanceof ShadowRoot : !1;
704
704
  }
705
705
  function Ol(e) {
706
- return xl(e) ? rr(e) : null;
706
+ return xl(e) ? ar(e) : null;
707
707
  }
708
708
  var Sl = function() {
709
- var a = Za(), t = a.prefixCls, r = a.csp, n = qr(), l = Cl;
709
+ var a = Xa(), t = a.prefixCls, r = a.csp, n = Ar(), l = Cl;
710
710
  t && (l = l.replace(/anticon/g, t.value)), ft(function() {
711
711
  if (wt()) {
712
712
  var o = n.vnode.el, u = Ol(o);
@@ -758,7 +758,7 @@ var Ne = te({
758
758
  });
759
759
  function Dl(e) {
760
760
  var a = e.primaryColor, t = e.secondaryColor;
761
- Ne.primaryColor = a, Ne.secondaryColor = t || nr(a), Ne.calculated = !!t;
761
+ Ne.primaryColor = a, Ne.secondaryColor = t || tr(a), Ne.calculated = !!t;
762
762
  }
763
763
  function zl() {
764
764
  return Je({}, Ne);
@@ -767,7 +767,7 @@ var Ve = function(a, t) {
767
767
  var r = Je({}, a, t.attrs), n = r.icon, l = r.primaryColor, o = r.secondaryColor, u = kl(r, Tl), i = Ne;
768
768
  if (l && (i = {
769
769
  primaryColor: l,
770
- secondaryColor: o || nr(l)
770
+ secondaryColor: o || tr(l)
771
771
  }), _l(ka(n), "icon should be icon definiton, but got ".concat(n)), !ka(n))
772
772
  return null;
773
773
  var f = n;
@@ -840,8 +840,8 @@ function El(e) {
840
840
  if (Array.isArray(e))
841
841
  return e;
842
842
  }
843
- function lr(e) {
844
- var a = ar(e), t = Vl(a, 2), r = t[0], n = t[1];
843
+ function rr(e) {
844
+ var a = nr(e), t = Vl(a, 2), r = t[0], n = t[1];
845
845
  return Ct.setTwoToneColors({
846
846
  primaryColor: r,
847
847
  secondaryColor: n
@@ -851,7 +851,7 @@ function jl() {
851
851
  var e = Ct.getTwoToneColors();
852
852
  return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
853
853
  }
854
- var Nl = oe({
854
+ var Nl = le({
855
855
  name: "InsertStyles",
856
856
  setup: function() {
857
857
  return Sl(), function() {
@@ -860,7 +860,7 @@ var Nl = oe({
860
860
  }
861
861
  }), Rl = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
862
862
  function Ll(e, a) {
863
- return Bl(e) || Fl(e, a) || Ul(e, a) || Il();
863
+ return Fl(e) || Bl(e, a) || Ul(e, a) || Il();
864
864
  }
865
865
  function Il() {
866
866
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -883,7 +883,7 @@ function Ma(e, a) {
883
883
  r[t] = e[t];
884
884
  return r;
885
885
  }
886
- function Fl(e, a) {
886
+ function Bl(e, a) {
887
887
  var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
888
888
  if (t != null) {
889
889
  var r = [], n = !0, l = !1, o, u;
@@ -903,7 +903,7 @@ function Fl(e, a) {
903
903
  return r;
904
904
  }
905
905
  }
906
- function Bl(e) {
906
+ function Fl(e) {
907
907
  if (Array.isArray(e))
908
908
  return e;
909
909
  }
@@ -940,21 +940,21 @@ function Yl(e, a) {
940
940
  n = r[l], !(a.indexOf(n) >= 0) && (t[n] = e[n]);
941
941
  return t;
942
942
  }
943
- lr(fl.primary);
943
+ rr(fl.primary);
944
944
  var Ae = function(a, t) {
945
- var r, n = Da({}, a, t.attrs), l = n.class, o = n.icon, u = n.spin, i = n.rotate, f = n.tabindex, m = n.twoToneColor, g = n.onClick, p = Hl(n, Rl), P = Za(), d = P.prefixCls, c = P.rootClassName, v = (r = {}, je(r, c.value, !!c.value), je(r, d.value, !0), je(r, "".concat(d.value, "-").concat(o.name), !!o.name), je(r, "".concat(d.value, "-spin"), !!u || o.name === "loading"), r), _ = f;
946
- _ === void 0 && g && (_ = -1);
945
+ var r, n = Da({}, a, t.attrs), l = n.class, o = n.icon, u = n.spin, i = n.rotate, f = n.tabindex, m = n.twoToneColor, g = n.onClick, p = Hl(n, Rl), P = Xa(), d = P.prefixCls, c = P.rootClassName, v = (r = {}, je(r, c.value, !!c.value), je(r, d.value, !0), je(r, "".concat(d.value, "-").concat(o.name), !!o.name), je(r, "".concat(d.value, "-spin"), !!u || o.name === "loading"), r), C = f;
946
+ C === void 0 && g && (C = -1);
947
947
  var y = i ? {
948
948
  msTransform: "rotate(".concat(i, "deg)"),
949
949
  transform: "rotate(".concat(i, "deg)")
950
- } : void 0, C = ar(m), h = Ll(C, 2), b = h[0], $ = h[1];
950
+ } : void 0, _ = nr(m), h = Ll(_, 2), b = h[0], $ = h[1];
951
951
  return q("span", Da({
952
952
  role: "img",
953
953
  "aria-label": o.name
954
954
  }, p, {
955
955
  onClick: g,
956
956
  class: [v, l],
957
- tabindex: _
957
+ tabindex: C
958
958
  }), [q(Ct, {
959
959
  icon: o,
960
960
  primaryColor: b,
@@ -971,7 +971,7 @@ Ae.props = {
971
971
  Ae.displayName = "AntdIcon";
972
972
  Ae.inheritAttrs = !1;
973
973
  Ae.getTwoToneColor = jl;
974
- Ae.setTwoToneColor = lr;
974
+ Ae.setTwoToneColor = rr;
975
975
  const me = Ae;
976
976
  var Wl = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z" } }] }, name: "audit", theme: "outlined" };
977
977
  const Gl = Wl;
@@ -1304,7 +1304,7 @@ const Io = qt, re = (e, a) => D(a) ? a.startsWith("/") ? a : e.endsWith("/") ? e
1304
1304
  onCancel() {
1305
1305
  }
1306
1306
  });
1307
- }, B = (e, a) => e != null && e !== "" ? e : a, Fo = (e, a, t) => {
1307
+ }, F = (e, a) => e != null && e !== "" ? e : a, Bo = (e, a, t) => {
1308
1308
  e ? (mt.success({
1309
1309
  message: "操作成功",
1310
1310
  description: a && a !== "操作成功" ? a : ""
@@ -1321,10 +1321,10 @@ const Io = qt, re = (e, a) => D(a) ? a.startsWith("/") ? a : e.endsWith("/") ? e
1321
1321
  message: "操作提示",
1322
1322
  description: e
1323
1323
  });
1324
- }, ke = (e) => e === "mini" ? "small" : e === "small" ? "middle" : e === "medium" ? "large" : "middle", Bo = (e) => {
1324
+ }, ke = (e) => e === "mini" ? "small" : e === "small" ? "middle" : e === "medium" ? "large" : "middle", Fo = (e) => {
1325
1325
  const a = /{([^}]+)}/g, t = e.match(a);
1326
1326
  return t ? t.map((r) => r.slice(1, -1)) : [];
1327
- }, or = (e, a) => {
1327
+ }, lr = (e, a) => {
1328
1328
  var r;
1329
1329
  const t = e.value;
1330
1330
  if (t) {
@@ -1341,14 +1341,14 @@ const Io = qt, re = (e, a) => D(a) ? a.startsWith("/") ? a : e.endsWith("/") ? e
1341
1341
  return n;
1342
1342
  }
1343
1343
  return null;
1344
- }, Fa = (e, a, t, r, n = !1) => {
1344
+ }, Ba = (e, a, t, r, n = !1) => {
1345
1345
  a.loading = !0, Le(t, r).then((l) => {
1346
- if (a.loading = !1, (x.messageResp || l.success) && Fo(l.success, l.message), l.success || n) {
1346
+ if (a.loading = !1, (x.messageResp || l.success) && Bo(l.success, l.message), l.success || n) {
1347
1347
  const o = e.value;
1348
1348
  o && o.commitProxy("query");
1349
1349
  }
1350
1350
  }).catch(function(l) {
1351
- a.loading = !1, Ja("列表数据请求服务器失败", l);
1351
+ a.loading = !1, Ga("列表数据请求服务器失败", l);
1352
1352
  });
1353
1353
  };
1354
1354
  function Ho(e) {
@@ -1373,50 +1373,50 @@ function Ho(e) {
1373
1373
  const v = c.params.requestType;
1374
1374
  !D(v) || typeof v == "string" ? v === "custom" ? n.onButtonClickModule({ gridRef: a, gridOptions: r, formData: l, column: c, row: d }) : m(d, c) : v({ gridRef: a, gridOptions: r, formData: l, column: c, row: d });
1375
1375
  }, m = (d, c) => {
1376
- if (t.title = B(c.params.title, o.title), t.width = B(c.params.width, o.width), t.height = B(c.params.height, o.height), t.maximize = B(c.params.maximize, !1), t.autoLoad = B(c.params.autoLoad, !1), t.componentType = B(c.params.componentType, o.componentType), t.componentUrl = c.params.requestUrl, t.componentType === "iframe") {
1376
+ if (t.title = F(c.params.title, o.title), t.width = F(c.params.width, o.width), t.height = F(c.params.height, o.height), t.maximize = F(c.params.maximize, !1), t.autoLoad = F(c.params.autoLoad, !1), t.componentType = F(c.params.componentType, o.componentType), t.componentUrl = c.params.requestUrl, t.componentType === "iframe") {
1377
1377
  let v = re(n.ctxPath, t.componentUrl);
1378
- for (const _ in d)
1379
- v = v.replace("{" + _ + "}", d[_]);
1378
+ for (const C in d)
1379
+ v = v.replace("{" + C + "}", d[C]);
1380
1380
  t.componentUrl = v;
1381
1381
  } else
1382
1382
  d[x.buttonKeyName] = c.params;
1383
1383
  t.componentParams = d, t.visible = !0;
1384
1384
  }, g = async (d, c) => {
1385
1385
  if (a.value) {
1386
- const _ = await P(c);
1387
- if (c.requestRow && !D(_))
1386
+ const C = await P(c);
1387
+ if (c.requestRow && !D(C))
1388
1388
  return;
1389
1389
  if (c.requestType === "modal" || c.requestType === "open") {
1390
1390
  let y = c.requestUrl;
1391
- const C = B(c.componentType, o.componentType);
1392
- if ((C === "iframe" || c.requestType === "open") && (y = re(n.ctxPath, y), c.requestRow && y.split("?").length > 1)) {
1393
- const h = Bo(y.split("?")[1]);
1391
+ const _ = F(c.componentType, o.componentType);
1392
+ if ((_ === "iframe" || c.requestType === "open") && (y = re(n.ctxPath, y), c.requestRow && y.split("?").length > 1)) {
1393
+ const h = Fo(y.split("?")[1]);
1394
1394
  for (const b in h) {
1395
1395
  const $ = h[b];
1396
1396
  if (r.checkboxConfig) {
1397
1397
  let Z = [];
1398
- for (const Y in _)
1399
- for (const X in _[Y])
1400
- X === $ && _[Y][X] && (Z[_[Y][X]] = _[Y][X]);
1398
+ for (const Y in C)
1399
+ for (const X in C[Y])
1400
+ X === $ && C[Y][X] && (Z[C[Y][X]] = C[Y][X]);
1401
1401
  let A = "";
1402
1402
  for (const Y in Z)
1403
1403
  A = (A ? A + "," : "") + Y;
1404
1404
  y = y.replace("{" + $ + "}", A);
1405
1405
  } else
1406
- y = y.replace("{" + $ + "}", _[$]);
1406
+ y = y.replace("{" + $ + "}", C[$]);
1407
1407
  }
1408
1408
  }
1409
1409
  if (c.requestType === "modal") {
1410
- if (t.title = B(c.title, o.title), t.width = B(c.width, o.width), t.height = B(c.height, o.height), t.maximize = B(c.maximize, !1), t.autoLoad = B(c.autoLoad, !0), t.componentType = C, t.componentUrl = y, t.componentParams = {}, c.requestRow)
1410
+ if (t.title = F(c.title, o.title), t.width = F(c.width, o.width), t.height = F(c.height, o.height), t.maximize = F(c.maximize, !1), t.autoLoad = F(c.autoLoad, !0), t.componentType = _, t.componentUrl = y, t.componentParams = {}, c.requestRow)
1411
1411
  if (r.checkboxConfig)
1412
1412
  if (c.requestRadio)
1413
- _[0][x.buttonKeyName] = c, t.componentParams = _[0];
1413
+ C[0][x.buttonKeyName] = c, t.componentParams = C[0];
1414
1414
  else {
1415
1415
  const h = {};
1416
- h[x.buttonKeyName] = c, h._X_ROWS = _, t.componentParams = h;
1416
+ h[x.buttonKeyName] = c, h._X_ROWS = C, t.componentParams = h;
1417
1417
  }
1418
1418
  else
1419
- _[x.buttonKeyName] = c, t.componentParams = _;
1419
+ C[x.buttonKeyName] = c, t.componentParams = C;
1420
1420
  else
1421
1421
  t.componentParams[x.buttonKeyName] = c;
1422
1422
  t.visible = !0;
@@ -1429,18 +1429,18 @@ function Ho(e) {
1429
1429
  let y = re(n.ctxPath, c.requestUrl);
1430
1430
  if (y.split("?").length > 1) {
1431
1431
  if (r.radioConfig)
1432
- for (const C in _)
1433
- y = y.replace("{" + C + "}", _[C]);
1432
+ for (const _ in C)
1433
+ y = y.replace("{" + _ + "}", C[_]);
1434
1434
  else if (r.checkboxConfig && c.requestRadio)
1435
- for (const C in _[0])
1436
- y = y.replace("{" + C + "}", _[0][C]);
1435
+ for (const _ in C[0])
1436
+ y = y.replace("{" + _ + "}", C[0][_]);
1437
1437
  }
1438
- Fa(
1438
+ Ba(
1439
1439
  a,
1440
1440
  r,
1441
1441
  y,
1442
- c.requestRow ? _ : d,
1443
- !!(r.checkboxConfig && c.requestRow && _.length !== 1)
1442
+ c.requestRow ? C : d,
1443
+ !!(r.checkboxConfig && c.requestRow && C.length !== 1)
1444
1444
  );
1445
1445
  },
1446
1446
  c.requestConfirmContent
@@ -1449,23 +1449,23 @@ function Ho(e) {
1449
1449
  }, p = (d, c) => {
1450
1450
  if (d.requestType === "modal" || d.requestType === "open") {
1451
1451
  let v = d.requestUrl;
1452
- const _ = B(d.componentType, o.componentType);
1452
+ const C = F(d.componentType, o.componentType);
1453
1453
  let y = !1;
1454
- if (_ === "iframe")
1454
+ if (C === "iframe")
1455
1455
  if (v = re(n.ctxPath, v), v.split("?").length > 1)
1456
- for (const C in c) {
1457
- if (v.indexOf("{" + C + "}") > -1 && (y = !0, c[C] === "")) {
1456
+ for (const _ in c) {
1457
+ if (v.indexOf("{" + _ + "}") > -1 && (y = !0, c[_] === "")) {
1458
1458
  De("该单据没有相应数据,无法进行本次操作");
1459
1459
  return;
1460
1460
  }
1461
- v = v.replace("{" + C + "}", c[C]);
1461
+ v = v.replace("{" + _ + "}", c[_]);
1462
1462
  }
1463
1463
  else
1464
1464
  y = !0;
1465
1465
  else
1466
1466
  y = !0;
1467
1467
  if (y)
1468
- d.requestType === "modal" ? (c[x.buttonKeyName] = d, t.title = B(d.title, o.title), t.width = B(d.width, o.width), t.height = B(d.height, o.height), t.maximize = B(d.maximize, !1), t.autoLoad = B(d.autoLoad, !0), t.componentType = _, t.componentUrl = v, t.componentParams = c, t.visible = !0) : window.open(v, "_blank");
1468
+ d.requestType === "modal" ? (c[x.buttonKeyName] = d, t.title = F(d.title, o.title), t.width = F(d.width, o.width), t.height = F(d.height, o.height), t.maximize = F(d.maximize, !1), t.autoLoad = F(d.autoLoad, !0), t.componentType = C, t.componentUrl = v, t.componentParams = c, t.visible = !0) : window.open(v, "_blank");
1469
1469
  else {
1470
1470
  De("该单据没有相应数据,无法进行本次操作");
1471
1471
  return;
@@ -1475,15 +1475,15 @@ function Ho(e) {
1475
1475
  d.requestTitle,
1476
1476
  () => {
1477
1477
  let v = re(n.ctxPath, d.requestUrl);
1478
- for (const _ in c)
1479
- v = v.replace("{" + _ + "}", c[_]);
1480
- Fa(a, r, v, c);
1478
+ for (const C in c)
1479
+ v = v.replace("{" + C + "}", c[C]);
1480
+ Ba(a, r, v, c);
1481
1481
  },
1482
1482
  d.requestConfirmContent
1483
1483
  );
1484
1484
  }, P = async (d) => {
1485
1485
  if (d.requestRow) {
1486
- const c = await or(a, r);
1486
+ const c = await lr(a, r);
1487
1487
  let v = null;
1488
1488
  if (r.checkboxConfig ? !c || c.length === 0 ? v = "请至少选择一行数据" : d.requestRadio && c.length !== 1 && (v = "请只选择一条数据") : r.radioConfig ? c || (v = "请选择一行数据") : v = "请设置表格【rowType】类型参数", v) {
1489
1489
  De(v);
@@ -1551,11 +1551,11 @@ const et = "SAG_VXE_PAGE$", Xe = {
1551
1551
  }
1552
1552
  });
1553
1553
  Object.assign(Xe, Wo(window.localStorage));
1554
- const tt = (e) => D(e) ? e + "$" : "", ir = "DICT_TYPE", $t = (e, a, t) => {
1555
- Qo(e, ir, a, t);
1556
- }, Et = (e, a) => Xo(e, ir, a), ur = "COLUMNS_SWITCH", Go = (e, a, t) => {
1557
- Zo(e, ur, a, t);
1558
- }, Jo = (e, a) => Ko(e, ur, a), Qo = (e, a, t, r) => {
1554
+ const tt = (e) => D(e) ? e + "$" : "", or = "DICT_TYPE", $t = (e, a, t) => {
1555
+ Qo(e, or, a, t);
1556
+ }, Et = (e, a) => Xo(e, or, a), ir = "COLUMNS_SWITCH", Go = (e, a, t) => {
1557
+ Zo(e, ir, a, t);
1558
+ }, Jo = (e, a) => Ko(e, ir, a), Qo = (e, a, t, r) => {
1559
1559
  const n = et + tt(e) + a, l = sessionStorage.getItem(n), o = D(l) ? JSON.parse(l) : {};
1560
1560
  o[t] = r, sessionStorage.setItem(n, JSON.stringify(o));
1561
1561
  }, Xo = (e, a, t) => {
@@ -1585,8 +1585,8 @@ function ei(e) {
1585
1585
  return {
1586
1586
  downloadEvent: (c) => {
1587
1587
  const v = a.value;
1588
- v && v.validate().then((_) => {
1589
- if (!_ || _.length === 0) {
1588
+ v && v.validate().then((C) => {
1589
+ if (!C || C.length === 0) {
1590
1590
  let y = g.requestDownload;
1591
1591
  if (D(y)) {
1592
1592
  if (n.loading) {
@@ -1598,7 +1598,7 @@ function ei(e) {
1598
1598
  return;
1599
1599
  }
1600
1600
  Qe("确定要导出表格所有内容吗?", () => {
1601
- const C = Wr.loading(
1601
+ const _ = Wr.loading(
1602
1602
  {
1603
1603
  content: () => "下载中,请稍后... 不要连续点击下载",
1604
1604
  style: {
@@ -1607,7 +1607,7 @@ function ei(e) {
1607
1607
  },
1608
1608
  0
1609
1609
  );
1610
- setTimeout(C, 2e3);
1610
+ setTimeout(_, 2e3);
1611
1611
  const h = r.value;
1612
1612
  if (h) {
1613
1613
  const { filter: b, form: $, sort: Z } = h.getProxyInfo(), Y = pt({
@@ -1619,7 +1619,7 @@ function ei(e) {
1619
1619
  let X = "";
1620
1620
  Object.keys(Y).forEach((ne) => {
1621
1621
  D(Y[ne]) && (typeof Y[ne] == "string" && (X += "&" + ne + "=" + Y[ne]), typeof Y[ne] == "object" && Array.isArray(Y[ne]) && (X += "&" + ne + "=" + Y[ne].join(",")));
1622
- }), le("导出表格参数", [y, X]), Uo(y + X);
1622
+ }), ue("导出表格参数", [y, X]), Uo(y + X);
1623
1623
  } else
1624
1624
  n.loading = !0, Y.exportFlag = !0, l(Y, g.requestData, !0).then(async (X) => {
1625
1625
  if (X == null || X.rows.length == 0) {
@@ -1650,12 +1650,12 @@ function ei(e) {
1650
1650
  columns: D(n.params.exportColumns) ? n.params.exportColumns : n.columns,
1651
1651
  isFooter: m.isFooter,
1652
1652
  isMerge: m.isMerge,
1653
- columnFilterMethod(ie) {
1653
+ columnFilterMethod(oe) {
1654
1654
  var ye;
1655
- return !x.templateTable.ignoreExportColumnsTitle.includes((ye = ie == null ? void 0 : ie.column) == null ? void 0 : ye.title);
1655
+ return !x.templateTable.ignoreExportColumnsTitle.includes((ye = oe == null ? void 0 : oe.column) == null ? void 0 : ye.title);
1656
1656
  }
1657
1657
  };
1658
- le("导出参数", qe), h.exportData(qe).then(() => {
1658
+ ue("导出参数", qe), h.exportData(qe).then(() => {
1659
1659
  n.loading = !1;
1660
1660
  });
1661
1661
  }
@@ -1678,12 +1678,12 @@ function ei(e) {
1678
1678
  },
1679
1679
  switchColumsEvent: (c, v = !1) => {
1680
1680
  if (D(f.tableColumnsExtra)) {
1681
- const _ = f.tableColumns, y = f.tableColumnsExtra;
1681
+ const C = f.tableColumns, y = f.tableColumnsExtra;
1682
1682
  if (v) {
1683
- const C = Jo(c, i.templateType);
1684
- D(C) ? (n.params.switchType = C.switchType, n.columns = C.switchType === "1" ? _ : y, n.showOverflow = C.switchShowOverflow) : (n.params.switchType = "1", n.columns = _, n.showOverflow = B(f.showOverflow, !0));
1683
+ const _ = Jo(c, i.templateType);
1684
+ D(_) ? (n.params.switchType = _.switchType, n.columns = _.switchType === "1" ? C : y, n.showOverflow = _.switchShowOverflow) : (n.params.switchType = "1", n.columns = C, n.showOverflow = F(f.showOverflow, !0));
1685
1685
  } else
1686
- n.params.switchType = n.params.switchType === "1" ? "2" : "1", n.columns = n.params.switchType === "2" ? y : _, n.showOverflow = !n.showOverflow, Go(c, i.templateType, {
1686
+ n.params.switchType = n.params.switchType === "1" ? "2" : "1", n.columns = n.params.switchType === "2" ? y : C, n.showOverflow = !n.showOverflow, Go(c, i.templateType, {
1687
1687
  switchType: n.params.switchType,
1688
1688
  switchShowOverflow: n.showOverflow
1689
1689
  });
@@ -1692,7 +1692,7 @@ function ei(e) {
1692
1692
  }
1693
1693
  };
1694
1694
  }
1695
- const We = /* @__PURE__ */ oe({
1695
+ const We = /* @__PURE__ */ le({
1696
1696
  __name: "TemplateOutlind",
1697
1697
  props: {
1698
1698
  icon: { type: String, default: null }
@@ -1714,7 +1714,7 @@ const We = /* @__PURE__ */ oe({
1714
1714
  }
1715
1715
  });
1716
1716
  var jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1717
- function sr(e) {
1717
+ function ur(e) {
1718
1718
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1719
1719
  }
1720
1720
  var ti = { exports: {} };
@@ -1774,7 +1774,7 @@ const ni = {
1774
1774
  }, ai = ni, ri = {
1775
1775
  placeholder: "请选择时间",
1776
1776
  rangePlaceholder: ["开始时间", "结束时间"]
1777
- }, li = ri, cr = {
1777
+ }, li = ri, sr = {
1778
1778
  lang: Ze({
1779
1779
  placeholder: "请选择日期",
1780
1780
  yearPlaceholder: "请选择年份",
@@ -1789,9 +1789,9 @@ const ni = {
1789
1789
  }, ai),
1790
1790
  timePickerLocale: Ze({}, li)
1791
1791
  };
1792
- cr.lang.ok = "确定";
1793
- const fr = cr;
1794
- var dr = { exports: {} };
1792
+ sr.lang.ok = "确定";
1793
+ const cr = sr;
1794
+ var fr = { exports: {} };
1795
1795
  (function(e, a) {
1796
1796
  (function(t, r) {
1797
1797
  e.exports = r();
@@ -1803,10 +1803,10 @@ var dr = { exports: {} };
1803
1803
  };
1804
1804
  };
1805
1805
  });
1806
- })(dr);
1807
- var oi = dr.exports;
1808
- const mr = /* @__PURE__ */ sr(oi);
1809
- var pr = { exports: {} };
1806
+ })(fr);
1807
+ var oi = fr.exports;
1808
+ const dr = /* @__PURE__ */ ur(oi);
1809
+ var mr = { exports: {} };
1810
1810
  (function(e, a) {
1811
1811
  (function(t, r) {
1812
1812
  e.exports = r();
@@ -1815,14 +1815,14 @@ var pr = { exports: {} };
1815
1815
  var l = r.prototype, o = function(g) {
1816
1816
  return g && (g.indexOf ? g : g.s);
1817
1817
  }, u = function(g, p, P, d, c) {
1818
- var v = g.name ? g : g.$locale(), _ = o(v[p]), y = o(v[P]), C = _ || y.map(function(b) {
1818
+ var v = g.name ? g : g.$locale(), C = o(v[p]), y = o(v[P]), _ = C || y.map(function(b) {
1819
1819
  return b.slice(0, d);
1820
1820
  });
1821
1821
  if (!c)
1822
- return C;
1822
+ return _;
1823
1823
  var h = v.weekStart;
1824
- return C.map(function(b, $) {
1825
- return C[($ + (h || 0)) % 7];
1824
+ return _.map(function(b, $) {
1825
+ return _[($ + (h || 0)) % 7];
1826
1826
  });
1827
1827
  }, i = function() {
1828
1828
  return n.Ls[n.locale()];
@@ -1882,9 +1882,9 @@ var pr = { exports: {} };
1882
1882
  };
1883
1883
  };
1884
1884
  });
1885
- })(pr);
1886
- var ii = pr.exports;
1887
- const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONSTANT_PAGE_OPTIONS", S = (e, a) => D(e) ? e : a, ui = (e, a) => typeof a == "string" ? a === "number" ? Ba(e) : a === "date" ? si(e) : a === "datetime" ? ci(e) : ct(e, 200) : typeof a == "object" && a instanceof Array && a[0] === "number" ? Ba(e, a[1]) : ct(e, 200), Ba = (e, a = 2) => D(e) ? `${Re.commafy(Number(e), { digits: a })}` : e, si = (e) => Re.toDateString(e, "yyyy-MM-dd"), ci = (e) => Re.toDateString(e, "yyyy-MM-dd HH:mm:ss"), ct = (e, a) => e && e.length > a ? e.substring(0, a) + "..." : e, fi = /* @__PURE__ */ oe({
1885
+ })(mr);
1886
+ var ii = mr.exports;
1887
+ const pr = /* @__PURE__ */ ur(ii), gr = "CONSTANT_DIALOG_CONTAINER", pe = "CONSTANT_PAGE_OPTIONS", S = (e, a) => D(e) ? e : a, ui = (e, a) => typeof a == "string" ? a === "number" ? Fa(e) : a === "date" ? si(e) : a === "datetime" ? ci(e) : ct(e, 200) : typeof a == "object" && a instanceof Array && a[0] === "number" ? Fa(e, a[1]) : ct(e, 200), Fa = (e, a = 2) => D(e) ? `${Re.commafy(Number(e), { digits: a })}` : e, si = (e) => Re.toDateString(e, "yyyy-MM-dd"), ci = (e) => Re.toDateString(e, "yyyy-MM-dd HH:mm:ss"), ct = (e, a) => e && e.length > a ? e.substring(0, a) + "..." : e, fi = /* @__PURE__ */ le({
1888
1888
  __name: "AntDateRange",
1889
1889
  props: {
1890
1890
  value: {
@@ -1899,7 +1899,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
1899
1899
  },
1900
1900
  emits: ["update:value"],
1901
1901
  setup(e, { expose: a, emit: t }) {
1902
- R.locale("zh-cn"), R.extend(mr), R.extend(gr);
1902
+ R.locale("zh-cn"), R.extend(dr), R.extend(pr);
1903
1903
  const r = e, n = S(r.picker, "date"), l = r.picker === "date" ? "day" : r.picker, o = S(r.format, "YYYY-MM-DD"), u = fe(pe), i = ke(u == null ? void 0 : u.size);
1904
1904
  let f = V();
1905
1905
  const m = [
@@ -1926,25 +1926,25 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
1926
1926
  { label: "近三年", value: [R().add(-3, l)] },
1927
1927
  { label: "近五年", value: [R().add(-5, l)] }
1928
1928
  ], P = V(n === "year" ? p : n === "month" ? g : m), d = t, c = (h, b) => {
1929
- le("日期区间选值", b), b && b[0] == "" && b[1] == "" ? d("update:value", null) : d("update:value", b);
1929
+ ue("日期区间选值", b), b && b[0] == "" && b[1] == "" ? d("update:value", null) : d("update:value", b);
1930
1930
  }, v = () => {
1931
1931
  let h = null, b = null;
1932
1932
  return f.value && f.value[0] && (h = R(f.value[0]).format(o)), f.value && f.value[1] && (b = R(f.value[1]).format(o)), !h && !b ? null : [h, b];
1933
- }, _ = (h, b) => {
1933
+ }, C = (h, b) => {
1934
1934
  typeof h == "number" || typeof b == "number" ? f.value = [
1935
1935
  D(h) ? R().add(h, l) : null,
1936
1936
  D(b) ? R().add(b, l) : null
1937
1937
  ] : f.value = [D(h) ? R(h) : null, D(b) ? R(b) : null], d("update:value", v());
1938
1938
  }, y = () => {
1939
- D(r.defaultValue) ? _(r.defaultValue, null) : _(null, null);
1940
- }, C = () => "dateRange";
1939
+ D(r.defaultValue) ? C(r.defaultValue, null) : C(null, null);
1940
+ }, _ = () => "dateRange";
1941
1941
  return Te(() => {
1942
1942
  y();
1943
1943
  }), a({
1944
- setValue: _,
1944
+ setValue: C,
1945
1945
  getValue: v,
1946
1946
  resetValue: y,
1947
- getRefType: C
1947
+ getRefType: _
1948
1948
  }), (h, b) => {
1949
1949
  const $ = H("a-range-picker");
1950
1950
  return k(), j($, {
@@ -1952,7 +1952,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
1952
1952
  "onUpdate:value": b[0] || (b[0] = (Z) => Wa(f) ? f.value = Z : f = Z),
1953
1953
  onChange: c,
1954
1954
  presets: P.value,
1955
- locale: T(fr),
1955
+ locale: T(cr),
1956
1956
  allowEmpty: [!0, !0],
1957
1957
  format: T(o),
1958
1958
  picker: T(n),
@@ -1961,7 +1961,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
1961
1961
  }, null, 8, ["value", "presets", "locale", "format", "picker", "size"]);
1962
1962
  };
1963
1963
  }
1964
- }), di = /* @__PURE__ */ oe({
1964
+ }), di = /* @__PURE__ */ le({
1965
1965
  __name: "AntDatePicker",
1966
1966
  props: {
1967
1967
  value: {
@@ -1976,11 +1976,11 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
1976
1976
  },
1977
1977
  emits: ["update:value"],
1978
1978
  setup(e, { expose: a, emit: t }) {
1979
- R.locale("zh-cn"), R.extend(mr), R.extend(gr);
1979
+ R.locale("zh-cn"), R.extend(dr), R.extend(pr);
1980
1980
  const r = e, n = fe(pe), l = ke(n == null ? void 0 : n.size), o = S(r.picker, "date"), u = S(r.format, "YYYY-MM-DD"), i = t;
1981
1981
  let f = V();
1982
1982
  const m = (d, c) => {
1983
- le("日期选值", c), !c || c == "" ? i("update:value", null) : i("update:value", c);
1983
+ ue("日期选值", c), !c || c == "" ? i("update:value", null) : i("update:value", c);
1984
1984
  }, g = () => {
1985
1985
  let d = null;
1986
1986
  return f.value && (d = R(f.value).format(u)), d || null;
@@ -1999,9 +1999,9 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
1999
1999
  const v = H("a-date-picker");
2000
2000
  return k(), j(v, {
2001
2001
  value: T(f),
2002
- "onUpdate:value": c[0] || (c[0] = (_) => Wa(f) ? f.value = _ : f = _),
2002
+ "onUpdate:value": c[0] || (c[0] = (C) => Wa(f) ? f.value = C : f = C),
2003
2003
  onChange: m,
2004
- locale: T(fr),
2004
+ locale: T(cr),
2005
2005
  format: T(u),
2006
2006
  picker: T(o),
2007
2007
  size: T(l),
@@ -2010,7 +2010,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2010
2010
  }, null, 8, ["value", "locale", "format", "picker", "size", "allowClear"]);
2011
2011
  };
2012
2012
  }
2013
- }), mi = /* @__PURE__ */ oe({
2013
+ }), mi = /* @__PURE__ */ le({
2014
2014
  __name: "AntInput",
2015
2015
  props: {
2016
2016
  value: { type: String, default: null },
@@ -2024,7 +2024,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2024
2024
  },
2025
2025
  emits: ["update:value"],
2026
2026
  setup(e, { expose: a, emit: t }) {
2027
- const r = e, n = fe(pe), l = ke(n == null ? void 0 : n.size), o = V(r.defaultValue || null), u = B(r.placeholder, "请输入" + r.title), i = t, f = () => {
2027
+ const r = e, n = fe(pe), l = ke(n == null ? void 0 : n.size), o = V(r.defaultValue || null), u = F(r.placeholder, "请输入" + r.title), i = t, f = () => {
2028
2028
  i("update:value", o.value);
2029
2029
  };
2030
2030
  return a({
@@ -2051,7 +2051,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2051
2051
  }, null, 8, ["value", "placeholder", "disabled", "type", "size"]);
2052
2052
  };
2053
2053
  }
2054
- }), vr = async (e, a, t) => {
2054
+ }), hr = async (e, a, t) => {
2055
2055
  const r = Et(e, t.dictType);
2056
2056
  if (D(r))
2057
2057
  return r;
@@ -2088,7 +2088,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2088
2088
  const l = await Le(e, a);
2089
2089
  return l.success && l.data && l.data.length > 0 ? ($t(t, r, l.data), l.data) : [];
2090
2090
  }
2091
- }, gi = { class: "sag-vxe-page-ant-selectPull" }, hi = /* @__PURE__ */ oe({
2091
+ }, gi = { class: "sag-vxe-page-ant-selectPull" }, hi = /* @__PURE__ */ le({
2092
2092
  __name: "AntSelect",
2093
2093
  props: {
2094
2094
  value: { type: [String, Array, Object], default: null },
@@ -2104,25 +2104,25 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2104
2104
  },
2105
2105
  emits: ["update:value"],
2106
2106
  setup(e, { expose: a, emit: t }) {
2107
- const r = e, n = fe(pe), l = (n == null ? void 0 : n.application) || "", o = (n == null ? void 0 : n.ctxPath) || "", u = (n == null ? void 0 : n.requestDictUrl) || "", i = ke(n == null ? void 0 : n.size), f = B(r.defaultValue, r.multiple ? [] : null), m = V(f || null), g = t, p = V([]), P = async () => {
2108
- let C = r.request.requestUrl;
2109
- return !C && l && (C = u), C ? (C = re(o, C), await vr(l, C, r.request)) : (le("下拉框插槽未获取到请求地址"), []);
2110
- }, d = (C, h) => h.label.toLowerCase().indexOf(C.toLowerCase()) >= 0, c = () => {
2107
+ const r = e, n = fe(pe), l = (n == null ? void 0 : n.application) || "", o = (n == null ? void 0 : n.ctxPath) || "", u = (n == null ? void 0 : n.requestDictUrl) || "", i = ke(n == null ? void 0 : n.size), f = F(r.defaultValue, r.multiple ? [] : null), m = V(f || null), g = t, p = V([]), P = async () => {
2108
+ let _ = r.request.requestUrl;
2109
+ return !_ && l && (_ = u), _ ? (_ = re(o, _), await hr(l, _, r.request)) : (ue("下拉框插槽未获取到请求地址"), []);
2110
+ }, d = (_, h) => h.label.toLowerCase().indexOf(_.toLowerCase()) >= 0, c = () => {
2111
2111
  g("update:value", m.value);
2112
- }, v = () => m.value, _ = (C) => {
2113
- m.value = C, g("update:value", m.value);
2112
+ }, v = () => m.value, C = (_) => {
2113
+ m.value = _, g("update:value", m.value);
2114
2114
  };
2115
2115
  return a({
2116
2116
  getValue: v,
2117
- setValue: _,
2117
+ setValue: C,
2118
2118
  resetValue: () => {
2119
- r.multiple ? _(f || []) : _(f || null);
2119
+ r.multiple ? C(f || []) : C(f || null);
2120
2120
  }
2121
2121
  }), Te(() => {
2122
- g("update:value", m.value), P().then((C) => {
2123
- p.value = C;
2122
+ g("update:value", m.value), P().then((_) => {
2123
+ p.value = _;
2124
2124
  });
2125
- }), (C, h) => {
2125
+ }), (_, h) => {
2126
2126
  const b = H("a-select");
2127
2127
  return k(), J("div", gi, [
2128
2128
  q(b, {
@@ -2145,7 +2145,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2145
2145
  ]);
2146
2146
  };
2147
2147
  }
2148
- }), vi = { class: "sag-vxe-page-ant-selectPull" }, yi = /* @__PURE__ */ oe({
2148
+ }), vi = { class: "sag-vxe-page-ant-selectPull" }, yi = /* @__PURE__ */ le({
2149
2149
  __name: "AntSelectPull",
2150
2150
  props: {
2151
2151
  value: { type: String, default: null },
@@ -2182,12 +2182,12 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2182
2182
  });
2183
2183
  }, 500), c = (h) => {
2184
2184
  i.value = h, g("update:value", h);
2185
- }, v = () => f.value, _ = () => i.value, y = (h, b) => {
2185
+ }, v = () => f.value, C = () => i.value, y = (h, b) => {
2186
2186
  i.value = b, f.value = b, g("update:value", h);
2187
2187
  };
2188
2188
  return a({
2189
2189
  getName: v,
2190
- getValue: _,
2190
+ getValue: C,
2191
2191
  setValue: y,
2192
2192
  resetValue: () => {
2193
2193
  y(r.defaultValue, r.defaultName);
@@ -2222,7 +2222,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2222
2222
  ]);
2223
2223
  };
2224
2224
  }
2225
- }), bi = { class: "sag-vxe-page-ant-selectPull" }, wi = /* @__PURE__ */ oe({
2225
+ }), bi = { class: "sag-vxe-page-ant-selectPull" }, wi = /* @__PURE__ */ le({
2226
2226
  __name: "AntSelectList",
2227
2227
  props: {
2228
2228
  value: { type: String, default: null },
@@ -2241,14 +2241,14 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2241
2241
  setup(e, { expose: a, emit: t }) {
2242
2242
  const r = e, n = fe(pe), l = (n == null ? void 0 : n.ctxPath) || "", o = ke(n == null ? void 0 : n.size), u = "请输入" + r.title + "搜索", i = V(""), f = V(""), m = V([]), g = V([]), p = t, P = (h, b) => b.label.toLowerCase().indexOf(ze(h).toLowerCase()) >= 0, d = async () => await nt(re(l, r.requestUrl), r.requestParams), c = (h) => {
2243
2243
  p("update:value", h);
2244
- }, v = () => f.value, _ = () => i.value, y = (h) => {
2244
+ }, v = () => f.value, C = () => i.value, y = (h) => {
2245
2245
  i.value = h, p("update:value", i.value);
2246
2246
  let b = g.value.filter(($) => $.value === i.value);
2247
2247
  b.length === 1 && (f.value = b[0].label);
2248
2248
  };
2249
2249
  return a({
2250
2250
  getName: v,
2251
- getValue: _,
2251
+ getValue: C,
2252
2252
  setValue: y,
2253
2253
  resetValue: () => {
2254
2254
  y(r.defaultValue);
@@ -2274,7 +2274,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2274
2274
  ]);
2275
2275
  };
2276
2276
  }
2277
- }), _i = { class: "sag-vxe-page-ant-selectPull" }, Ci = /* @__PURE__ */ oe({
2277
+ }), _i = { class: "sag-vxe-page-ant-selectPull" }, Ci = /* @__PURE__ */ le({
2278
2278
  __name: "AntCascader",
2279
2279
  props: {
2280
2280
  value: { type: String, default: null },
@@ -2309,15 +2309,15 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2309
2309
  p.value = h;
2310
2310
  }, d = t, c = (h, b) => {
2311
2311
  D(b) ? (d("update:value", h[h.length - 1]), d("change", b[b.length - 1])) : (d("update:value", null), d("change", null));
2312
- }, v = (h, b) => b.some(($) => $[f].indexOf(h) > -1), _ = () => p.value.filter((b) => b[m] === g.value[g.value.length - 1])[f], y = () => g.value, C = () => {
2312
+ }, v = (h, b) => b.some(($) => $[f].indexOf(h) > -1), C = () => p.value.filter((b) => b[m] === g.value[g.value.length - 1])[f], y = () => g.value, _ = () => {
2313
2313
  g.value = null, d("update:value", null), d("change", null);
2314
2314
  };
2315
2315
  return Te(() => {
2316
2316
  P();
2317
2317
  }), a({
2318
- getName: _,
2318
+ getName: C,
2319
2319
  getValue: y,
2320
- resetValue: C
2320
+ resetValue: _
2321
2321
  }), (h, b) => {
2322
2322
  const $ = H("a-cascader");
2323
2323
  return k(), J("div", _i, [
@@ -2338,7 +2338,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2338
2338
  ]);
2339
2339
  };
2340
2340
  }
2341
- }), xi = /* @__PURE__ */ oe({
2341
+ }), xi = /* @__PURE__ */ le({
2342
2342
  __name: "VxeInput",
2343
2343
  props: {
2344
2344
  value: { type: String, default: null },
@@ -2351,7 +2351,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2351
2351
  },
2352
2352
  emits: ["update:value"],
2353
2353
  setup(e, { expose: a, emit: t }) {
2354
- const r = e, n = fe(pe), l = V(r.defaultValue || null), o = B(r.placeholder, "请输入" + r.title), u = t, i = (p) => {
2354
+ const r = e, n = fe(pe), l = V(r.defaultValue || null), o = F(r.placeholder, "请输入" + r.title), u = t, i = (p) => {
2355
2355
  m(p.value);
2356
2356
  }, f = () => l.value, m = (p) => {
2357
2357
  l.value = p, u("update:value", l.value);
@@ -2377,7 +2377,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2377
2377
  }, null, 8, ["model-value", "placeholder", "disabled", "size"]);
2378
2378
  };
2379
2379
  }
2380
- }), Oi = /* @__PURE__ */ oe({
2380
+ }), Oi = /* @__PURE__ */ le({
2381
2381
  __name: "VxeSelect",
2382
2382
  props: {
2383
2383
  value: { type: String, default: null },
@@ -2410,17 +2410,17 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2410
2410
  }
2411
2411
  }), d = async () => {
2412
2412
  let h = r.request.requestUrl;
2413
- return !h && o && (h = u), h ? (h = re(l, h), await vr(o, h, r.request)) : (le("下拉框插槽未获取到请求地址"), []);
2413
+ return !h && o && (h = u), h ? (h = re(l, h), await hr(o, h, r.request)) : (ue("下拉框插槽未获取到请求地址"), []);
2414
2414
  }, c = ({ value: h }) => {
2415
2415
  p("update:value", h);
2416
- }, v = () => m.value, _ = () => f.value, y = (h) => {
2416
+ }, v = () => m.value, C = () => f.value, y = (h) => {
2417
2417
  f.value = h, p("update:value", f.value);
2418
2418
  let b = g.value.filter(($) => $.value === f.value);
2419
2419
  b.length === 1 && (m.value = b[0].label);
2420
2420
  };
2421
2421
  return a({
2422
2422
  getName: v,
2423
- getValue: _,
2423
+ getValue: C,
2424
2424
  setValue: y,
2425
2425
  resetValue: () => {
2426
2426
  y(r.defaultValue);
@@ -2440,7 +2440,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2440
2440
  }), null, 16, ["modelValue", "size"]);
2441
2441
  };
2442
2442
  }
2443
- }), Si = /* @__PURE__ */ oe({
2443
+ }), Si = /* @__PURE__ */ le({
2444
2444
  __name: "VxeSelectPull",
2445
2445
  props: {
2446
2446
  value: { type: String, default: null },
@@ -2470,18 +2470,18 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2470
2470
  remoteConfig: {
2471
2471
  autoLoad: !1,
2472
2472
  async queryMethod({ searchValue: y }) {
2473
- const C = await p(y);
2474
- g.options = C, f.value = C;
2473
+ const _ = await p(y);
2474
+ g.options = _, f.value = _;
2475
2475
  }
2476
2476
  }
2477
2477
  }), p = async (y) => {
2478
2478
  if (f.value = [], y) {
2479
- const C = {
2479
+ const _ = {
2480
2480
  searchValue: ze(y)
2481
2481
  };
2482
2482
  return await nt(re(l, r.requestUrl), {
2483
2483
  ...r.requestParams,
2484
- ...C
2484
+ ..._
2485
2485
  });
2486
2486
  } else
2487
2487
  return [];
@@ -2489,8 +2489,8 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2489
2489
  m("update:value", y);
2490
2490
  }, d = () => i.value, c = () => u.value, v = (y) => {
2491
2491
  u.value = y, m("update:value", u.value);
2492
- let C = f.value.filter((h) => h.value === u.value);
2493
- C.length === 1 && (i.value = C[0].label);
2492
+ let _ = f.value.filter((h) => h.value === u.value);
2493
+ _.length === 1 && (i.value = _[0].label);
2494
2494
  };
2495
2495
  return a({
2496
2496
  getName: d,
@@ -2499,12 +2499,12 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2499
2499
  resetValue: () => {
2500
2500
  v(r.defaultValue);
2501
2501
  }
2502
- }), (y, C) => {
2502
+ }), (y, _) => {
2503
2503
  var b;
2504
2504
  const h = H("vxe-select");
2505
2505
  return k(), j(h, ee({
2506
2506
  modelValue: u.value,
2507
- "onUpdate:modelValue": C[0] || (C[0] = ($) => u.value = $)
2507
+ "onUpdate:modelValue": _[0] || (_[0] = ($) => u.value = $)
2508
2508
  }, g, {
2509
2509
  size: (b = T(n)) == null ? void 0 : b.size,
2510
2510
  onChange: P,
@@ -2512,7 +2512,7 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2512
2512
  }), null, 16, ["modelValue", "size"]);
2513
2513
  };
2514
2514
  }
2515
- }), Ti = /* @__PURE__ */ oe({
2515
+ }), Ti = /* @__PURE__ */ le({
2516
2516
  __name: "VxeSelectList",
2517
2517
  props: {
2518
2518
  value: { type: String, default: null },
@@ -2538,15 +2538,15 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2538
2538
  transfer: r.transfer,
2539
2539
  placeholder: o,
2540
2540
  options: [],
2541
- filterMethod({ searchValue: y, option: C }) {
2542
- return C.label.toLowerCase().indexOf(ze(y).toLowerCase()) >= 0;
2541
+ filterMethod({ searchValue: y, option: _ }) {
2542
+ return _.label.toLowerCase().indexOf(ze(y).toLowerCase()) >= 0;
2543
2543
  }
2544
2544
  }), p = async () => await nt(re(l, r.requestUrl), r.requestParams), P = ({ value: y }) => {
2545
2545
  m("update:value", y);
2546
2546
  }, d = () => i.value, c = () => u.value, v = (y) => {
2547
2547
  u.value = y, m("update:value", u.value);
2548
- let C = f.value.filter((h) => h.value === u.value);
2549
- C.length === 1 && (i.value = C[0].label);
2548
+ let _ = f.value.filter((h) => h.value === u.value);
2549
+ _.length === 1 && (i.value = _[0].label);
2550
2550
  };
2551
2551
  return a({
2552
2552
  getName: d,
@@ -2557,12 +2557,12 @@ const gr = /* @__PURE__ */ sr(ii), hr = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
2557
2557
  }
2558
2558
  }), p().then((y) => {
2559
2559
  f.value = y, g.options = y, r.defaultValue && v(r.defaultValue);
2560
- }), (y, C) => {
2560
+ }), (y, _) => {
2561
2561
  var b;
2562
2562
  const h = H("vxe-select");
2563
2563
  return k(), j(h, ee({
2564
2564
  modelValue: u.value,
2565
- "onUpdate:modelValue": C[0] || (C[0] = ($) => u.value = $)
2565
+ "onUpdate:modelValue": _[0] || (_[0] = ($) => u.value = $)
2566
2566
  }, g, {
2567
2567
  size: (b = T(n)) == null ? void 0 : b.size,
2568
2568
  onChange: P,
@@ -2582,7 +2582,7 @@ function Mi(e, a) {
2582
2582
  const Di = /* @__PURE__ */ ki(Pi, [["render", Mi]]);
2583
2583
  function Ha(e, a = {}) {
2584
2584
  const { size: t = "large", delay: r = 100, timeout: n = 3e4, loading: l = !0, retry: o = !0 } = a;
2585
- return $r({
2585
+ return qr({
2586
2586
  loader: e,
2587
2587
  timeout: n,
2588
2588
  delay: r,
@@ -2624,56 +2624,49 @@ function zi(e) {
2624
2624
  return Di;
2625
2625
  if ((t == null ? void 0 : t.length) === 1)
2626
2626
  return Ha(x.dynamicViewsModules[t[0]]);
2627
- (t == null ? void 0 : t.length) > 1 && Ja("异步加载组件通过路径匹配到多个组件,请确保组件路径唯一", t);
2627
+ (t == null ? void 0 : t.length) > 1 && Ga("异步加载组件通过路径匹配到多个组件,请确保组件路径唯一", t);
2628
2628
  } else
2629
2629
  return Ha(e);
2630
2630
  }
2631
- const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left": "5px" } }, qi = { style: { float: "right", "padding-right": "15px", "padding-bottom": "3px" } }, $i = ["src"], yt = /* @__PURE__ */ oe({
2631
+ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left": "5px" } }, qi = { style: { float: "right", "padding-right": "15px", "padding-bottom": "3px" } }, $i = ["src"], yt = /* @__PURE__ */ le({
2632
2632
  name: "SagVxeDialog",
2633
2633
  __name: "SagDialogModal",
2634
+ props: {
2635
+ visible: { type: Boolean, default: !1 },
2636
+ // 默认值
2637
+ maximize: { type: Boolean, default: !1 },
2638
+ //
2639
+ componentUrl: { type: String, default: null },
2640
+ componentParams: { type: Object, default: {} },
2641
+ componentType: { type: String, default: x.targetModal.componentType },
2642
+ title: { type: String, default: x.targetModal.title },
2643
+ width: { type: String, default: x.targetModal.width },
2644
+ height: { type: String, default: x.targetModal.height },
2645
+ maskClosable: { type: Boolean, default: x.targetModal.maskClosable },
2646
+ mountainTop: { type: Boolean, default: x.targetModal.mountainTop }
2647
+ },
2634
2648
  emits: ["cancel", "submit"],
2635
2649
  setup(e, { emit: a }) {
2636
- const t = te({
2637
- title: x.targetModal.title,
2638
- width: x.targetModal.width,
2639
- height: x.targetModal.height,
2640
- maskClosable: x.targetModal.maskClosable,
2641
- visible: !1,
2642
- maximize: !1,
2643
- mountainTop: x.targetModal.mountainTop,
2644
- componentUrl: null,
2645
- componentType: x.targetModal.componentType,
2646
- componentParams: {}
2647
- });
2648
- Object.assign(t, Ga());
2649
- let r = () => document.body;
2650
- const n = V("sag-vxe-page-dialog-default");
2651
- if (!t.mountainTop) {
2652
- const _ = fe(
2653
- x.targetModal.dialogContainer ? x.targetModal.dialogContainer : hr
2654
- );
2655
- D(_) ? (n.value = n.value + " sag-vxe-page-dialog-wrap", r = _) : le("未使用provide方法设置弹窗挂载位置,同时可在全局变量里设置参数dialogContainer指定注册名称");
2656
- }
2657
- const l = t.componentType === "vue" && typeof t.componentUrl == "string" ? Er(() => zi(t.componentUrl)) : t.componentUrl, o = t.componentType === "iframe" ? t.componentUrl : "", u = t.mountainTop ? "calc(100vh - 88px)" : "calc(100vh - 188px)", i = a, f = () => {
2650
+ const t = e, r = V("sag-vxe-page-dialog-default " + (t.mountainTop ? "" : "sag-dialog-wrap")), n = t.mountainTop ? () => document.body : fe(S(x.targetModal.dialogContainer, gr)), l = t.componentType === "vue" && typeof t.componentUrl == "string" ? $r(() => zi(t.componentUrl)) : t.componentUrl, o = t.componentType === "iframe" ? t.componentUrl : "", u = t.mountainTop ? "calc(100vh - 88px)" : "calc(100vh - 188px)", i = a, f = () => {
2658
2651
  i("cancel");
2659
- }, m = (_) => {
2660
- i("submit", _);
2652
+ }, m = (C) => {
2653
+ i("submit", C);
2661
2654
  }, g = V(null), p = te({
2662
2655
  width: t.maximize ? "100%" : t.width,
2663
2656
  height: t.maximize ? u : t.height,
2664
2657
  maxZoomIcon: t.maximize ? "vxe-icon-maximize" : "vxe-icon-square"
2665
2658
  }), P = () => {
2666
- let _ = !g.value.fullScreen;
2667
- _ ? (p.maxZoomIcon = "vxe-icon-maximize", p.width = "100%", p.height = u) : (p.maxZoomIcon = "vxe-icon-square", p.width = t.width, p.height = t.height), g.value.fullScreen = _;
2659
+ let C = !g.value.fullScreen;
2660
+ C ? (p.maxZoomIcon = "vxe-icon-maximize", p.width = "100%", p.height = u) : (p.maxZoomIcon = "vxe-icon-square", p.width = t.width, p.height = t.height), g.value.fullScreen = C;
2668
2661
  }, d = "vue_iframe_" + Math.round(Math.random() * 1e8), c = V(), v = () => {
2669
- console.log("iframe加载完毕", d), c.value.contentWindow.addEventListener("closeSagDialogModal", function(_) {
2670
- console.log("iframe关闭触发", _), f();
2662
+ console.log("iframe加载完毕", d), c.value.contentWindow.addEventListener("closeSagDialogModal", function(C) {
2663
+ console.log("iframe关闭触发", C), f();
2671
2664
  });
2672
2665
  };
2673
2666
  return Te(() => {
2674
- le("SagVxeDialog弹出参数", t), t.maximize && (g.value.fullScreen = !0);
2675
- }), (_, y) => {
2676
- const C = H("vxe-button"), h = H("a-modal"), b = H("a-style-provider");
2667
+ ue("SagVxeDialog弹出参数", t), t.maximize && (g.value.fullScreen = !0);
2668
+ }), (C, y) => {
2669
+ const _ = H("vxe-button"), h = H("a-modal"), b = H("a-style-provider");
2677
2670
  return k(), j(b, { "hash-priority": "high" }, {
2678
2671
  default: E(() => [
2679
2672
  Q("div", Vi, [
@@ -2682,7 +2675,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2682
2675
  ref: g,
2683
2676
  open: t.visible,
2684
2677
  "onUpdate:open": y[0] || (y[0] = ($) => t.visible = $),
2685
- "get-container": T(r),
2678
+ "get-container": T(n),
2686
2679
  width: p.width,
2687
2680
  "body-style": {
2688
2681
  height: p.height,
@@ -2692,7 +2685,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2692
2685
  },
2693
2686
  onCancel: f,
2694
2687
  style: { "max-width": "99%", "max-height": "99%" },
2695
- "wrap-class-name": n.value,
2688
+ "wrap-class-name": r.value,
2696
2689
  footer: null,
2697
2690
  "mask-closable": t.maskClosable,
2698
2691
  centered: "",
@@ -2701,7 +2694,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2701
2694
  title: E(() => [
2702
2695
  Q("span", Ai, _e(t.title), 1),
2703
2696
  Q("span", qi, [
2704
- q(C, {
2697
+ q(_, {
2705
2698
  mode: "text",
2706
2699
  icon: p.maxZoomIcon,
2707
2700
  onClick: P
@@ -2709,7 +2702,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2709
2702
  ])
2710
2703
  ]),
2711
2704
  default: E(() => [
2712
- t.componentType === "vue" ? (k(), j(jr(T(l)), ee({ key: 0 }, t.componentParams, {
2705
+ t.componentType === "vue" ? (k(), j(Er(T(l)), ee({ key: 0 }, t.componentParams, {
2713
2706
  onCancel: f,
2714
2707
  onSubmit: m
2715
2708
  }), null, 16)) : L("", !0),
@@ -2731,14 +2724,14 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2731
2724
  });
2732
2725
  };
2733
2726
  }
2734
- }), Ei = /* @__PURE__ */ Q("i", { class: "vxe-button--icon vxe-icon-download" }, null, -1), ji = /* @__PURE__ */ oe({
2727
+ }), Ei = /* @__PURE__ */ Q("i", { class: "vxe-button--icon vxe-icon-download" }, null, -1), ji = /* @__PURE__ */ le({
2735
2728
  __name: "ExportExcel",
2736
2729
  emits: ["export"],
2737
2730
  setup(e, { emit: a }) {
2738
2731
  const t = a, r = () => {
2739
2732
  t("export", (l) => {
2740
2733
  try {
2741
- le("excel下载参数", l), import("exceljs").then(({ default: o }) => {
2734
+ ue("excel下载参数", l), import("exceljs").then(({ default: o }) => {
2742
2735
  import("file-saver").then(({ default: u }) => {
2743
2736
  const i = new o.Workbook(), f = i.addWorksheet(l.sheetName);
2744
2737
  let m = [], g = 0;
@@ -2761,15 +2754,15 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2761
2754
  const c = n[d];
2762
2755
  if (D(p[c]) ? p[c] = p[c] + P.rowspan : p[c] = P.rowspan + 1, P.col >= g && P.rowspan != 1) {
2763
2756
  let v = P.row + 2;
2764
- const _ = "'" + c + v + ":" + c + p[c] + "'";
2765
- f.mergeCells(_);
2757
+ const C = "'" + c + v + ":" + c + p[c] + "'";
2758
+ f.mergeCells(C);
2766
2759
  }
2767
2760
  });
2768
2761
  }
2769
2762
  i.xlsx.writeBuffer().then((p) => {
2770
2763
  let P = new Blob([p], { type: "application/octet-stream" });
2771
2764
  u.saveAs(P, l.filename + ".xlsx");
2772
- }).catch((p) => le("Error writing excel export", p));
2765
+ }).catch((p) => ue("Error writing excel export", p));
2773
2766
  });
2774
2767
  });
2775
2768
  } catch (o) {
@@ -2845,7 +2838,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2845
2838
  });
2846
2839
  };
2847
2840
  }
2848
- }), Ni = { class: "sag-vxe-page-search-wrapper" }, Ri = { class: "sag-vxe-page-table-wrapper" }, Li = ["onClick"], Ii = { key: 0 }, Ui = ["onClick"], Fi = { key: 1 }, Bi = { style: { display: "inline" } }, Hi = { key: 0 }, Yi = ["onClick"], Wi = ["onClick"], Gi = /* @__PURE__ */ Q("i", { class: "vxe-button--icon vxe-icon-refresh" }, null, -1), Ji = /* @__PURE__ */ Q("i", { class: "vxe-button--icon vxe-icon-download" }, null, -1), Qi = /* @__PURE__ */ Q("i", { class: "vxe-button--icon vxe-icon-upload" }, null, -1), Xi = { key: 0 }, Zi = /* @__PURE__ */ Q("span", { style: { "font-size": "24px", color: "red" } }, "您好,数据获取出现异常,请您稍后再次尝试!", -1), Ki = [
2841
+ }), Ni = { class: "sag-vxe-page-search-wrapper" }, Ri = { class: "sag-vxe-page-table-wrapper" }, Li = ["onClick"], Ii = { key: 0 }, Ui = ["onClick"], Bi = { key: 1 }, Fi = { style: { display: "inline" } }, Hi = { key: 0 }, Yi = ["onClick"], Wi = ["onClick"], Gi = /* @__PURE__ */ Q("i", { class: "vxe-button--icon vxe-icon-refresh" }, null, -1), Ji = /* @__PURE__ */ Q("i", { class: "vxe-button--icon vxe-icon-download" }, null, -1), Qi = /* @__PURE__ */ Q("i", { class: "vxe-button--icon vxe-icon-upload" }, null, -1), Xi = { key: 0 }, Zi = /* @__PURE__ */ Q("span", { style: { "font-size": "24px", color: "red" } }, "您好,数据获取出现异常,请您稍后再次尝试!", -1), Ki = [
2849
2842
  Zi
2850
2843
  ], eu = { key: 1 }, tu = /* @__PURE__ */ Q("span", { style: { "font-size": "24px", color: "red" } }, "没有更多数据了!", -1), nu = [
2851
2844
  tu
@@ -2855,12 +2848,12 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2855
2848
  /* @__PURE__ */ he(" 模式,建议您调整查询条件后重新查询! ")
2856
2849
  ], -1), lu = /* @__PURE__ */ Q("br", null, null, -1), ou = /* @__PURE__ */ Q("span", { style: { "font-size": "24px", color: "red" } }, "是否强制显示?", -1), iu = [
2857
2850
  ou
2858
- ], Ya = /* @__PURE__ */ oe({
2851
+ ], Ya = /* @__PURE__ */ le({
2859
2852
  name: "SagVxePage",
2860
2853
  __name: "SagVxePage",
2861
2854
  emits: ["submit", "resetValue"],
2862
2855
  setup(e, { expose: a, emit: t }) {
2863
- var Gt, Jt, Qt, Xt, Zt, Kt, en, tn, nn, an, rn, ln, on, un, sn, cn, fn, dn, mn, pn, gn, hn, vn, yn, bn, wn, _n, Cn, xn, On, Sn, Tn, kn, Pn, Mn, Dn, zn, Vn, An, qn, $n, En, jn, Nn, Rn, Ln, In, Un, Fn, Bn, Hn, Yn, Wn, Gn, Jn, Qn, Xn, Zn, Kn, ea, ta, na, aa, ra, la, oa, ia, ua, sa, ca, fa, da;
2856
+ var Gt, Jt, Qt, Xt, Zt, Kt, en, tn, nn, an, rn, ln, on, un, sn, cn, fn, dn, mn, pn, gn, hn, vn, yn, bn, wn, _n, Cn, xn, On, Sn, Tn, kn, Pn, Mn, Dn, zn, Vn, An, qn, $n, En, jn, Nn, Rn, Ln, In, Un, Bn, Fn, Hn, Yn, Wn, Gn, Jn, Qn, Xn, Zn, Kn, ea, ta, na, aa, ra, la, oa, ia, ua, sa, ca, fa, da;
2864
2857
  const r = te({
2865
2858
  visible: !1,
2866
2859
  maximize: !1,
@@ -2873,7 +2866,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2873
2866
  height: x.targetModal.height,
2874
2867
  maskClosable: x.targetModal.maskClosable,
2875
2868
  mountainTop: x.targetModal.mountainTop
2876
- }), n = Ga(), l = te({
2869
+ }), n = jr(), l = te({
2877
2870
  application: S(n.application, x.application),
2878
2871
  ctxPath: S(n.ctxPath, x.ctxPath),
2879
2872
  size: S(n.size, x.size),
@@ -2938,7 +2931,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2938
2931
  fields: S((Ln = (Rn = n == null ? void 0 : n.templateTable) == null ? void 0 : Rn.tableColumnMerge) == null ? void 0 : Ln.fields, []),
2939
2932
  backgroundColor: S(
2940
2933
  (Un = (In = n == null ? void 0 : n.templateTable) == null ? void 0 : In.tableColumnMerge) == null ? void 0 : Un.backgroundColor,
2941
- (Bn = (Fn = x == null ? void 0 : x.templateTable) == null ? void 0 : Fn.tableColumnMerge) == null ? void 0 : Bn.backgroundColor
2934
+ (Fn = (Bn = x == null ? void 0 : x.templateTable) == null ? void 0 : Bn.tableColumnMerge) == null ? void 0 : Fn.backgroundColor
2942
2935
  )
2943
2936
  }), g = te({
2944
2937
  formButtons: S((Yn = (Hn = n == null ? void 0 : n.templateTable) == null ? void 0 : Hn.tableButtons) == null ? void 0 : Yn.formButtons, []),
@@ -2964,8 +2957,8 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2964
2957
  )
2965
2958
  }
2966
2959
  }), P = x.application + "_" + l.templateType, d = "sag_vxe_page_div_panel_" + P;
2967
- ma(pe, l), ma(hr, () => document.getElementById(T(d)));
2968
- const c = Object.keys(Nr()), v = V(), _ = V(!0), y = V(!1), C = V("none"), h = V(["1"]), b = V(0), $ = ke(l.size), Z = V(), A = te({}), Y = V([]), X = V(), ne = V([]), qe = t, ie = (w, O) => {
2960
+ ma(pe, l), ma(gr, () => document.getElementById(T(d)));
2961
+ const c = Object.keys(Nr()), v = V(), C = V(!0), y = V(!1), _ = V("none"), h = V(["1"]), b = V(0), $ = ke(l.size), Z = V(), A = te({}), Y = V([]), X = V(), ne = V([]), qe = t, oe = (w, O) => {
2969
2962
  Y.value[O] = w;
2970
2963
  }, ye = async () => {
2971
2964
  const w = X.value;
@@ -2977,7 +2970,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
2977
2970
  });
2978
2971
  }, Nt = () => {
2979
2972
  va(ne.value[0].children, Y, A), qe("resetValue");
2980
- }, yr = () => {
2973
+ }, vr = () => {
2981
2974
  ft(() => {
2982
2975
  ha(Z.value, U, f.clientScale);
2983
2976
  });
@@ -3020,23 +3013,23 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3020
3013
  //是否代理表单
3021
3014
  ajax: {
3022
3015
  // 接收 Promise 对象
3023
- query: ({ page: w, sorts: O, filters: z, form: F }) => {
3024
- const N = pt(w, O, z, F, A, Y);
3016
+ query: ({ page: w, sorts: O, filters: z, form: B }) => {
3017
+ const N = pt(w, O, z, B, A, Y);
3025
3018
  return Rt(N, o.requestData, !1);
3026
3019
  },
3027
- querySuccess: ({ page: w, sort: O, sorts: z, filters: F, form: N, response: K }) => {
3020
+ querySuccess: ({ page: w, sort: O, sorts: z, filters: B, form: N, response: K }) => {
3028
3021
  m != null && m.isMerge && (U.mergeCells = It(K == null ? void 0 : K.rows));
3029
3022
  }
3030
3023
  }
3031
3024
  },
3032
3025
  footerMethod: f.footerMethod
3033
- }), at = V(!1), br = () => {
3026
+ }), at = V(!1), yr = () => {
3034
3027
  Qe("确定要强制显示数据内容吗?", () => {
3035
3028
  m != null && m.isMerge ? U.mergeCells = null : U.spanMethod = ga({}), U.virtualYConfig = { enabled: !0 }, at.value = !0, ye();
3036
3029
  });
3037
3030
  }, Rt = async (w, O, z) => {
3038
- var F;
3039
- if (C.value = "none", at.value)
3031
+ var B;
3032
+ if (_.value = "none", at.value)
3040
3033
  return at.value = !1, U.params.data;
3041
3034
  {
3042
3035
  y.value = !0, l.onLoadBeforeModule && l.onLoadBeforeModule({
@@ -3052,54 +3045,54 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3052
3045
  y.value = !1;
3053
3046
  });
3054
3047
  if (N.success) {
3055
- if (U.params.dataSum = (F = N.data) == null ? void 0 : F.dataSum, m != null && m.mergeKey) {
3048
+ if (U.params.dataSum = (B = N.data) == null ? void 0 : B.dataSum, m != null && m.mergeKey) {
3056
3049
  if (!z && N.data.rows.length > 800)
3057
- return C.value = "more", U.params.data = Lt(N.data), null;
3050
+ return _.value = "more", U.params.data = Lt(N.data), null;
3058
3051
  m != null && m.isMerge || (U.virtualYConfig = { enabled: !1 });
3059
3052
  }
3060
3053
  return Lt(N.data);
3061
3054
  } else
3062
- return C.value = "error", null;
3055
+ return _.value = "error", null;
3063
3056
  }
3064
- }, wr = (w) => {
3057
+ }, br = (w) => {
3065
3058
  if (f.rowType === "checkbox") {
3066
- le("checkboxChange", w);
3059
+ ue("checkboxChange", w);
3067
3060
  const O = m == null ? void 0 : m.mergeKey;
3068
3061
  if (O) {
3069
3062
  const z = v.value;
3070
3063
  if (z) {
3071
- const F = z.getTableData();
3072
- for (let N in F.tableData)
3073
- w.row[O] === F.tableData[N][O] && z.setCheckboxRow(F.tableData[N], w.checked);
3064
+ const B = z.getTableData();
3065
+ for (let N in B.tableData)
3066
+ w.row[O] === B.tableData[N][O] && z.setCheckboxRow(B.tableData[N], w.checked);
3074
3067
  }
3075
3068
  }
3076
3069
  }
3077
- }, _r = (w) => {
3070
+ }, wr = (w) => {
3078
3071
  if (f.rowType === "radio") {
3079
- le("radioChange", w);
3072
+ ue("radioChange", w);
3080
3073
  const O = m == null ? void 0 : m.mergeKey;
3081
3074
  if (O) {
3082
3075
  const z = v.value;
3083
3076
  if (z) {
3084
- const F = z.getTableData();
3085
- for (let N in F.tableData)
3086
- if (w.row[O] === F.tableData[N][O]) {
3087
- z.setRadioRow(F.tableData[N]);
3077
+ const B = z.getTableData();
3078
+ for (let N in B.tableData)
3079
+ if (w.row[O] === B.tableData[N][O]) {
3080
+ z.setRadioRow(B.tableData[N]);
3088
3081
  break;
3089
3082
  }
3090
3083
  }
3091
3084
  }
3092
3085
  }
3093
- }, Cr = (w) => {
3086
+ }, _r = (w) => {
3094
3087
  U.params.currentRow = w == null ? void 0 : w.row;
3095
- }, xr = () => {
3088
+ }, Cr = () => {
3096
3089
  U.params.currentRow = null;
3097
3090
  }, Lt = (w) => {
3098
3091
  const O = m == null ? void 0 : m.seqKey, z = m == null ? void 0 : m.mergeKey;
3099
3092
  if (z && O) {
3100
- let F = [""], N = 0 + w.pageSize * (w.pageNo - 1);
3093
+ let B = [""], N = 0 + w.pageSize * (w.pageNo - 1);
3101
3094
  for (let K in w.rows)
3102
- F.includes(w.rows[K][z]) || (N++, F.push(w.rows[K][z])), w.rows[K][O] = N;
3095
+ B.includes(w.rows[K][z]) || (N++, B.push(w.rows[K][z])), w.rows[K][O] = N;
3103
3096
  }
3104
3097
  return l.onLoadAfterModule ? l.onLoadAfterModule({
3105
3098
  gridRef: v,
@@ -3110,7 +3103,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3110
3103
  const O = m == null ? void 0 : m.mergeKey;
3111
3104
  if (O && m.isMerge) {
3112
3105
  const z = v.value;
3113
- let F = [], N = {}, K = {};
3106
+ let B = [], N = {}, K = {};
3114
3107
  for (let ve = 0; ve < w.length; ve++) {
3115
3108
  const se = w[ve], Pe = w[ve - 1];
3116
3109
  let be = w[ve + 1];
@@ -3120,14 +3113,14 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3120
3113
  for (let ve in Ue) {
3121
3114
  let se = z == null ? void 0 : z.getColumnByField(Ue[ve]), Pe = z == null ? void 0 : z.getColumnIndex(se);
3122
3115
  for (let be in K)
3123
- F = F.concat([
3116
+ B = B.concat([
3124
3117
  { row: K[be], col: Pe, rowspan: N[be], colspan: 1 }
3125
3118
  ]);
3126
3119
  }
3127
- return F;
3120
+ return B;
3128
3121
  }
3129
3122
  return null;
3130
- }, Or = te({
3123
+ }, xr = te({
3131
3124
  cellMenu(w) {
3132
3125
  const O = v.value;
3133
3126
  O && O.setCurrentRow(w.row);
@@ -3142,13 +3135,13 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3142
3135
  return {
3143
3136
  backgroundColor: m == null ? void 0 : m.backgroundColor
3144
3137
  };
3145
- }, Sr = () => {
3138
+ }, Or = () => {
3146
3139
  const w = document.getElementById(d);
3147
3140
  if (w) {
3148
3141
  const O = w.getElementsByTagName("form");
3149
3142
  O && O.length > 0 && (O[0].submit = () => (r.visible = !1, ye(), !1));
3150
3143
  }
3151
- }, { clickFormButton: Tr, clickTableButton: Ie, clickHerf: Ft } = Ho({
3144
+ }, { clickFormButton: Sr, clickTableButton: Ie, clickHerf: Bt } = Ho({
3152
3145
  gridRef: v,
3153
3146
  targetModal: r,
3154
3147
  gridOptions: U,
@@ -3158,7 +3151,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3158
3151
  pageModal: u,
3159
3152
  pageTableMerge: m,
3160
3153
  pageRequest: o
3161
- }), { downloadEvent: Bt, importEvent: kr, switchColumsEvent: Ht } = ei({
3154
+ }), { downloadEvent: Ft, importEvent: Tr, switchColumsEvent: Ht } = ei({
3162
3155
  formRef: X,
3163
3156
  formData: A,
3164
3157
  gridRef: v,
@@ -3171,9 +3164,9 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3171
3164
  pageModal: u,
3172
3165
  pageTableMerge: m,
3173
3166
  pageRequest: o
3174
- }), Pr = async () => {
3167
+ }), kr = async () => {
3175
3168
  const w = i.formItems, O = i.formProps.foldingLength;
3176
- if (Object.keys(w).forEach((F, N) => {
3169
+ if (Object.keys(w).forEach((B, N) => {
3177
3170
  w[N].folding = !(N < O);
3178
3171
  }), ne.value = [
3179
3172
  { span: 24, align: "right", children: w },
@@ -3184,8 +3177,8 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3184
3177
  slots: { default: "toolbar_tools" }
3185
3178
  }
3186
3179
  ], document.documentElement.clientHeight < 680) {
3187
- const F = f.tableColumns;
3188
- Object.keys(F).forEach((K) => F[K].fixed = !1);
3180
+ const B = f.tableColumns;
3181
+ Object.keys(B).forEach((K) => B[K].fixed = !1);
3189
3182
  const N = f.tableColumnsExtra;
3190
3183
  N && Object.keys(N).forEach((K) => N[K].fixed = !1);
3191
3184
  }
@@ -3195,13 +3188,13 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3195
3188
  trigger: "click",
3196
3189
  mode: "row",
3197
3190
  showStatus: !0
3198
- }), D(m) && D(m.mergeKey) && (U.cellStyle = Ut, U.params.mergeField = m.mergeKey, m.isMerge ? U.columnDragConfig.dragStartMethod = () => !1 : (U.virtualYConfig = { enabled: !1 }, U.spanMethod = ga(m))), _.value = !1;
3199
- }, Mr = (w, O) => w && w.length > 0 ? w && O ? w.some((z) => $e(O[z.buttonName]) && $e(z.auth)) : !0 : !1;
3191
+ }), D(m) && D(m.mergeKey) && (U.cellStyle = Ut, U.params.mergeField = m.mergeKey, m.isMerge ? U.columnDragConfig.dragStartMethod = () => !1 : (U.virtualYConfig = { enabled: !1 }, U.spanMethod = ga(m))), C.value = !1;
3192
+ }, Pr = (w, O) => w && w.length > 0 ? w && O ? w.some((z) => $e(O[z.buttonName]) && $e(z.auth)) : !0 : !1;
3200
3193
  Te(async () => {
3201
- le("加载页面模板", l), await Pr(), await va(i.formItems, Y, A), l.onMountedModule && await l.onMountedModule({ formRef: X, gridRef: v, gridOptions: U, templateItemRefs: Y, pageOptions: l, formData: A }), Sr(), await ye(), Yt();
3194
+ ue("加载页面模板", l), await kr(), await va(i.formItems, Y, A), l.onMountedModule && await l.onMountedModule({ formRef: X, gridRef: v, gridOptions: U, templateItemRefs: Y, pageOptions: l, formData: A }), Or(), await ye(), Yt();
3202
3195
  });
3203
3196
  const Yt = Re.debounce(() => {
3204
- le("屏幕高度出现变化,重新计算表格高度"), f.clientScale === 1 && b.value == 0 && (window.onresize = () => {
3197
+ ue("屏幕高度出现变化,重新计算表格高度"), f.clientScale === 1 && b.value == 0 && (window.onresize = () => {
3205
3198
  b.value = document.body.clientWidth;
3206
3199
  }), ft(() => {
3207
3200
  ha(Z.value, U, f.clientScale);
@@ -3214,11 +3207,11 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3214
3207
  },
3215
3208
  { deep: !0, immediate: !0 }
3216
3209
  );
3217
- const Dr = (w) => {
3218
- r.title = B(w.title, x.targetModal.title), r.width = B(w.width, x.targetModal.width), r.height = B(w.height, x.targetModal.height), r.maximize = B(w.maximize, !1), r.autoLoad = B(w.autoLoad, !1), r.componentType = B(w.componentType, x.targetModal.componentType), r.componentParams = w.componentParams, r.componentUrl = w.componentUrl, r.visible = !0;
3210
+ const Mr = (w) => {
3211
+ r.title = F(w.title, x.targetModal.title), r.width = F(w.width, x.targetModal.width), r.height = F(w.height, x.targetModal.height), r.maximize = F(w.maximize, !1), r.autoLoad = F(w.autoLoad, !1), r.componentType = F(w.componentType, x.targetModal.componentType), r.componentParams = w.componentParams, r.componentUrl = w.componentUrl, r.visible = !0;
3219
3212
  }, Wt = () => {
3220
3213
  r.visible = !1, r.autoLoad && ye();
3221
- }, zr = (w) => {
3214
+ }, Dr = (w) => {
3222
3215
  r.visible = !1;
3223
3216
  const O = r.componentParams;
3224
3217
  qe("submit", { data: w, params: O, button: O[x.buttonKeyName] });
@@ -3226,15 +3219,15 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3226
3219
  return a({
3227
3220
  doSearch: ye,
3228
3221
  resetFrom: Nt,
3229
- showViewModal: Dr,
3222
+ showViewModal: Mr,
3230
3223
  hideViewModal: Wt,
3231
3224
  getMergeCellStyle: Ut,
3232
- getRequestData: async () => await or(v, U),
3225
+ getRequestData: async () => await lr(v, U),
3233
3226
  getFormData: async () => {
3234
3227
  const w = v.value;
3235
3228
  if (w) {
3236
- const { pager: O, filter: z, form: F, sort: N } = w.getProxyInfo();
3237
- return pt(O, N, z, F, A, Y);
3229
+ const { pager: O, filter: z, form: B, sort: N } = w.getProxyInfo();
3230
+ return pt(O, N, z, B, A, Y);
3238
3231
  } else
3239
3232
  return null;
3240
3233
  },
@@ -3245,8 +3238,8 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3245
3238
  U.params.exportColumns = w;
3246
3239
  }
3247
3240
  }), (w, O) => {
3248
- const z = H("a-button"), F = H("a-space"), N = H("vxe-form"), K = H("a-collapse-panel"), Ue = H("a-collapse"), ve = H("a-menu-item"), se = H("a-menu"), Pe = H("a-dropdown"), be = H("vxe-button"), Vr = H("vxe-grid"), Ar = H("a-style-provider");
3249
- return k(), j(Ar, { "hash-priority": "high" }, {
3241
+ const z = H("a-button"), B = H("a-space"), N = H("vxe-form"), K = H("a-collapse-panel"), Ue = H("a-collapse"), ve = H("a-menu-item"), se = H("a-menu"), Pe = H("a-dropdown"), be = H("vxe-button"), zr = H("vxe-grid"), Vr = H("a-style-provider");
3242
+ return k(), j(Vr, { "hash-priority": "high" }, {
3250
3243
  default: E(() => [
3251
3244
  Lr(Q("div", {
3252
3245
  id: d,
@@ -3280,11 +3273,11 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3280
3273
  "title-align": i.formProps.titleAlign,
3281
3274
  "title-colon": i.formProps.titleColon,
3282
3275
  vertical: i.formProps.vertical,
3283
- onCollapse: yr,
3276
+ onCollapse: vr,
3284
3277
  class: "sag-vxe-page-form"
3285
3278
  }, dt({
3286
3279
  toolbar_tools: E(() => [
3287
- q(F, null, {
3280
+ q(B, null, {
3288
3281
  default: E(() => [
3289
3282
  q(z, {
3290
3283
  type: "primary",
@@ -3316,7 +3309,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3316
3309
  q(fi, ee({
3317
3310
  value: A[s.field],
3318
3311
  "onUpdate:value": (W) => A[s.field] = W,
3319
- ref: (W) => ie(W, s.field)
3312
+ ref: (W) => oe(W, s.field)
3320
3313
  }, (I = (M = s == null ? void 0 : s.item) == null ? void 0 : M.itemRender) == null ? void 0 : I.props), null, 16, ["value", "onUpdate:value"])
3321
3314
  ];
3322
3315
  }),
@@ -3326,81 +3319,81 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3326
3319
  q(di, ee({
3327
3320
  value: A[s.field],
3328
3321
  "onUpdate:value": (W) => A[s.field] = W,
3329
- ref: (W) => ie(W, s.field)
3322
+ ref: (W) => oe(W, s.field)
3330
3323
  }, (I = (M = s == null ? void 0 : s.item) == null ? void 0 : M.itemRender) == null ? void 0 : I.props), null, 16, ["value", "onUpdate:value"])
3331
3324
  ];
3332
3325
  }),
3333
3326
  input: E((s) => {
3334
- var M, I, W, ue, ae, Ce;
3327
+ var M, I, W, ie, ae, Ce;
3335
3328
  return [
3336
3329
  i.vxeSlot ? (k(), j(xi, ee({
3337
3330
  key: 0,
3338
3331
  value: A[s.field],
3339
3332
  "onUpdate:value": (G) => A[s.field] = G,
3340
- ref: (G) => ie(G, s.field),
3333
+ ref: (G) => oe(G, s.field),
3341
3334
  title: (M = s == null ? void 0 : s.item) == null ? void 0 : M.title
3342
3335
  }, (W = (I = s == null ? void 0 : s.item) == null ? void 0 : I.itemRender) == null ? void 0 : W.props), null, 16, ["value", "onUpdate:value", "title"])) : L("", !0),
3343
3336
  i.vxeSlot ? L("", !0) : (k(), j(mi, ee({
3344
3337
  key: 1,
3345
3338
  value: A[s.field],
3346
3339
  "onUpdate:value": (G) => A[s.field] = G,
3347
- ref: (G) => ie(G, s.field),
3348
- title: (ue = s == null ? void 0 : s.item) == null ? void 0 : ue.title
3340
+ ref: (G) => oe(G, s.field),
3341
+ title: (ie = s == null ? void 0 : s.item) == null ? void 0 : ie.title
3349
3342
  }, (Ce = (ae = s == null ? void 0 : s.item) == null ? void 0 : ae.itemRender) == null ? void 0 : Ce.props), null, 16, ["value", "onUpdate:value", "title"]))
3350
3343
  ];
3351
3344
  }),
3352
3345
  select: E((s) => {
3353
- var M, I, W, ue;
3346
+ var M, I, W, ie;
3354
3347
  return [
3355
3348
  i.vxeSlot ? (k(), j(Oi, ee({
3356
3349
  key: 0,
3357
3350
  value: A[s.field],
3358
3351
  "onUpdate:value": (ae) => A[s.field] = ae,
3359
- ref: (ae) => ie(ae, s.field)
3352
+ ref: (ae) => oe(ae, s.field)
3360
3353
  }, (I = (M = s == null ? void 0 : s.item) == null ? void 0 : M.itemRender) == null ? void 0 : I.props), null, 16, ["value", "onUpdate:value"])) : L("", !0),
3361
3354
  i.vxeSlot ? L("", !0) : (k(), j(hi, ee({
3362
3355
  key: 1,
3363
3356
  value: A[s.field],
3364
3357
  "onUpdate:value": (ae) => A[s.field] = ae,
3365
- ref: (ae) => ie(ae, s.field)
3366
- }, (ue = (W = s == null ? void 0 : s.item) == null ? void 0 : W.itemRender) == null ? void 0 : ue.props), null, 16, ["value", "onUpdate:value"]))
3358
+ ref: (ae) => oe(ae, s.field)
3359
+ }, (ie = (W = s == null ? void 0 : s.item) == null ? void 0 : W.itemRender) == null ? void 0 : ie.props), null, 16, ["value", "onUpdate:value"]))
3367
3360
  ];
3368
3361
  }),
3369
3362
  selectList: E((s) => {
3370
- var M, I, W, ue, ae, Ce;
3363
+ var M, I, W, ie, ae, Ce;
3371
3364
  return [
3372
3365
  i.vxeSlot ? (k(), j(Ti, ee({
3373
3366
  key: 0,
3374
3367
  value: A[s.field],
3375
3368
  "onUpdate:value": (G) => A[s.field] = G,
3376
- ref: (G) => ie(G, s.field),
3369
+ ref: (G) => oe(G, s.field),
3377
3370
  title: (M = s == null ? void 0 : s.item) == null ? void 0 : M.title
3378
3371
  }, (W = (I = s == null ? void 0 : s.item) == null ? void 0 : I.itemRender) == null ? void 0 : W.props), null, 16, ["value", "onUpdate:value", "title"])) : L("", !0),
3379
3372
  i.vxeSlot ? L("", !0) : (k(), j(wi, ee({
3380
3373
  key: 1,
3381
3374
  value: A[s.field],
3382
3375
  "onUpdate:value": (G) => A[s.field] = G,
3383
- ref: (G) => ie(G, s.field),
3384
- title: (ue = s == null ? void 0 : s.item) == null ? void 0 : ue.title
3376
+ ref: (G) => oe(G, s.field),
3377
+ title: (ie = s == null ? void 0 : s.item) == null ? void 0 : ie.title
3385
3378
  }, (Ce = (ae = s == null ? void 0 : s.item) == null ? void 0 : ae.itemRender) == null ? void 0 : Ce.props), null, 16, ["value", "onUpdate:value", "title"]))
3386
3379
  ];
3387
3380
  }),
3388
3381
  selectPull: E((s) => {
3389
- var M, I, W, ue, ae, Ce;
3382
+ var M, I, W, ie, ae, Ce;
3390
3383
  return [
3391
3384
  i.vxeSlot ? (k(), j(Si, ee({
3392
3385
  key: 0,
3393
3386
  value: A[s.field],
3394
3387
  "onUpdate:value": (G) => A[s.field] = G,
3395
- ref: (G) => ie(G, s.field),
3388
+ ref: (G) => oe(G, s.field),
3396
3389
  title: (M = s == null ? void 0 : s.item) == null ? void 0 : M.title
3397
3390
  }, (W = (I = s == null ? void 0 : s.item) == null ? void 0 : I.itemRender) == null ? void 0 : W.props), null, 16, ["value", "onUpdate:value", "title"])) : L("", !0),
3398
3391
  i.vxeSlot ? L("", !0) : (k(), j(yi, ee({
3399
3392
  key: 1,
3400
3393
  value: A[s.field],
3401
3394
  "onUpdate:value": (G) => A[s.field] = G,
3402
- ref: (G) => ie(G, s.field),
3403
- title: (ue = s == null ? void 0 : s.item) == null ? void 0 : ue.title
3395
+ ref: (G) => oe(G, s.field),
3396
+ title: (ie = s == null ? void 0 : s.item) == null ? void 0 : ie.title
3404
3397
  }, (Ce = (ae = s == null ? void 0 : s.item) == null ? void 0 : ae.itemRender) == null ? void 0 : Ce.props), null, 16, ["value", "onUpdate:value", "title"]))
3405
3398
  ];
3406
3399
  }),
@@ -3409,9 +3402,9 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3409
3402
  return [
3410
3403
  q(Ci, ee({
3411
3404
  value: A[s.field],
3412
- "onUpdate:value": (ue) => A[s.field] = ue,
3405
+ "onUpdate:value": (ie) => A[s.field] = ie,
3413
3406
  title: (M = s == null ? void 0 : s.item) == null ? void 0 : M.title,
3414
- ref: (ue) => ie(ue, s.field)
3407
+ ref: (ie) => oe(ie, s.field)
3415
3408
  }, (W = (I = s == null ? void 0 : s.item) == null ? void 0 : I.itemRender) == null ? void 0 : W.props), null, 16, ["value", "onUpdate:value", "title"])
3416
3409
  ];
3417
3410
  }),
@@ -3434,24 +3427,24 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3434
3427
  }, 8, ["activeKey"])
3435
3428
  ]),
3436
3429
  Q("div", Ri, [
3437
- q(Vr, ee({
3430
+ q(zr, ee({
3438
3431
  ref_key: "gridRef",
3439
3432
  ref: v
3440
- }, U, Ir(Or), {
3433
+ }, U, Ir(xr), {
3441
3434
  size: l.size,
3442
3435
  id: P,
3443
3436
  style: { "z-index": "1" },
3444
3437
  class: "sag-vxe-page-table",
3445
- onCellMouseenter: Cr,
3446
- onCellMouseleave: xr,
3447
- onCheckboxChange: wr,
3448
- onRadioChange: _r
3438
+ onCellMouseenter: _r,
3439
+ onCellMouseleave: Cr,
3440
+ onCheckboxChange: br,
3441
+ onRadioChange: wr
3449
3442
  }), dt({
3450
3443
  operate: E(({ row: s, column: M }) => [
3451
3444
  Q("a", {
3452
3445
  href: "javascript:void(0)",
3453
3446
  class: "sag-vxe-page-link",
3454
- onClick: (I) => T(Ft)(s, M)
3447
+ onClick: (I) => T(Bt)(s, M)
3455
3448
  }, _e(s[M.property]), 9, Li)
3456
3449
  ]),
3457
3450
  vertical: E(({ row: s, column: M }) => [
@@ -3464,13 +3457,13 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3464
3457
  Q("a", {
3465
3458
  href: "javascript:void(0)",
3466
3459
  class: "sag-vxe-page-link",
3467
- onClick: (W) => T(Ft)(s, I)
3460
+ onClick: (W) => T(Bt)(s, I)
3468
3461
  }, _e(s[I.field]), 9, Ui)
3469
- ])) : (k(), J("span", Fi, _e(T(ui)(s[I.field], I.formatter)), 1))
3462
+ ])) : (k(), J("span", Bi, _e(T(ui)(s[I.field], I.formatter)), 1))
3470
3463
  ]))), 128))
3471
3464
  ]),
3472
3465
  button: E(({ row: s }) => [
3473
- Q("div", Bi, [
3466
+ Q("div", Fi, [
3474
3467
  (k(!0), J(xe, null, Me(g.tableButtons, (M) => (k(), J(xe, { key: M }, [
3475
3468
  T(S)(s[M.buttonName], !0) && T($e)(M.auth) ? (k(), J("span", Hi, [
3476
3469
  f.showButtonLink ? L("", !0) : (k(), j(z, {
@@ -3504,7 +3497,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3504
3497
  ])) : L("", !0)
3505
3498
  ], 64))), 128))
3506
3499
  ]),
3507
- Mr(g.tableMoreButtons, s) ? (k(), j(Pe, {
3500
+ Pr(g.tableMoreButtons, s) ? (k(), j(Pe, {
3508
3501
  key: 0,
3509
3502
  destroyPopupOnHide: !0
3510
3503
  }, {
@@ -3548,7 +3541,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3548
3541
  }, 1024)) : L("", !0)
3549
3542
  ]),
3550
3543
  toolbar_buttons: E(() => [
3551
- q(F, {
3544
+ q(B, {
3552
3545
  wrap: !0,
3553
3546
  style: { "margin-bottom": "0px" }
3554
3547
  }, {
@@ -3559,7 +3552,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3559
3552
  round: "",
3560
3553
  size: T($),
3561
3554
  type: T(S)(s.status, "primary"),
3562
- onClick: (M) => T(Tr)(s)
3555
+ onClick: (M) => T(Sr)(s)
3563
3556
  }, {
3564
3557
  icon: E(() => [
3565
3558
  q(We, {
@@ -3591,13 +3584,13 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3591
3584
  })) : L("", !0),
3592
3585
  T(D)(o.requestDownload) && typeof o.requestDownload == "object" ? (k(), j(ji, {
3593
3586
  key: 1,
3594
- onExport: T(Bt)
3587
+ onExport: T(Ft)
3595
3588
  }, null, 8, ["onExport"])) : L("", !0),
3596
3589
  o.requestDownload === !0 || typeof o.requestDownload == "string" ? (k(), j(be, {
3597
3590
  key: 2,
3598
3591
  size: "small",
3599
3592
  circle: !0,
3600
- onClick: T(Bt),
3593
+ onClick: T(Ft),
3601
3594
  title: "下载"
3602
3595
  }, {
3603
3596
  default: E(() => [
@@ -3609,7 +3602,7 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3609
3602
  key: 3,
3610
3603
  size: "small",
3611
3604
  circle: !0,
3612
- onClick: O[4] || (O[4] = (s) => T(kr)()),
3605
+ onClick: O[4] || (O[4] = (s) => T(Tr)()),
3613
3606
  title: "导入"
3614
3607
  }, {
3615
3608
  default: E(() => [
@@ -3619,13 +3612,13 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3619
3612
  })) : L("", !0)
3620
3613
  ]),
3621
3614
  empty: E(() => [
3622
- C.value === "error" ? (k(), J("h2", Xi, Ki)) : L("", !0),
3623
- C.value === "none" ? (k(), J("h2", eu, nu)) : L("", !0),
3624
- C.value === "more" ? (k(), J("h2", au, [
3615
+ _.value === "error" ? (k(), J("h2", Xi, Ki)) : L("", !0),
3616
+ _.value === "none" ? (k(), J("h2", eu, nu)) : L("", !0),
3617
+ _.value === "more" ? (k(), J("h2", au, [
3625
3618
  ru,
3626
3619
  lu,
3627
3620
  Q("a", {
3628
- onClick: br,
3621
+ onClick: yr,
3629
3622
  href: "javascript:void(0)",
3630
3623
  class: "link"
3631
3624
  }, iu)
@@ -3636,17 +3629,17 @@ const Vi = { id: "div_view_modal" }, Ai = { style: { color: "red", "padding-left
3636
3629
  Me(T(c), (s) => ({
3637
3630
  name: s,
3638
3631
  fn: E((M) => [
3639
- pa(w.$slots, s, Ur(Fr(M)))
3632
+ pa(w.$slots, s, Ur(Br(M)))
3640
3633
  ])
3641
3634
  }))
3642
3635
  ]), 1040, ["size"])
3643
3636
  ]),
3644
3637
  r.visible ? (k(), j(yt, ee({ key: 0 }, r, {
3645
3638
  onCancel: Wt,
3646
- onSubmit: zr
3639
+ onSubmit: Dr
3647
3640
  }), null, 16)) : L("", !0)
3648
3641
  ], 512), [
3649
- [Br, !_.value]
3642
+ [Fr, !C.value]
3650
3643
  ])
3651
3644
  ]),
3652
3645
  _: 3
@@ -3664,7 +3657,7 @@ const hu = {
3664
3657
  }
3665
3658
  }, yu = {
3666
3659
  setupConfig: function(e) {
3667
- Re.merge(x, e), le("加载公共参数", x);
3660
+ Re.merge(x, e), ue("加载公共参数", x);
3668
3661
  },
3669
3662
  getDictDetail: function(e, a = x.application) {
3670
3663
  return Et(a, e);