sag-ubmp-pc 1.0.6 → 1.0.8

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,5 +1,5 @@
1
1
  import Je, { trim as $e, debounce as Mt } from "xe-utils";
2
- import { inject as ve, ref as V, h as ze, getCurrentInstance as Wr, nextTick as ot, reactive as le, defineComponent as Y, createVNode as D, openBlock as O, createElementBlock as U, Fragment as xe, createBlock as z, unref as S, createCommentVNode as q, onMounted as ue, resolveComponent as L, isRef as ct, createSlots as ke, withCtx as N, defineAsyncComponent as Gr, computed as Jr, createElementVNode as te, toDisplayString as re, resolveDynamicComponent as Qr, mergeProps as ne, useAttrs as Xr, provide as Ua, useSlots as Ee, watch as ye, withDirectives as Fa, createTextVNode as ge, renderList as Me, renderSlot as de, vShow as Ha, toHandlers as Zr, normalizeProps as Kr, guardReactiveProps as eo, normalizeStyle as Ya } from "vue";
2
+ import { inject as ve, ref as V, h as ze, getCurrentInstance as Wr, nextTick as ot, reactive as le, defineComponent as Y, createVNode as D, openBlock as O, createElementBlock as U, Fragment as xe, createBlock as z, unref as S, createCommentVNode as q, onMounted as ue, resolveComponent as L, isRef as ct, createSlots as ke, withCtx as B, defineAsyncComponent as Gr, computed as Jr, createElementVNode as te, toDisplayString as re, resolveDynamicComponent as Qr, mergeProps as ne, useAttrs as Xr, provide as Ua, useSlots as Ee, watch as ye, withDirectives as Fa, createTextVNode as ge, renderList as Me, renderSlot as de, vShow as Ha, toHandlers as Zr, normalizeProps as Kr, guardReactiveProps as eo, normalizeStyle as Ya } from "vue";
3
3
  import { Modal as to, notification as xt, message as no, Spin as ao } from "ant-design-vue";
4
4
  import M from "dayjs";
5
5
  const dt = "SAG_VXE_PAGE$", it = {
@@ -590,7 +590,7 @@ const oe = zt("log"), rr = zt("warn"), pt = zt("error"), nt = {
590
590
  const { field: d, datas: f, values: p } = u;
591
591
  o[d] = f ? f.join(",") : p ? p.join(",") : "";
592
592
  }), oe("表单查询参数:", o), o;
593
- }, No = (e, n, t, l) => {
593
+ }, Bo = (e, n, t, l) => {
594
594
  const a = Object.assign({}, t);
595
595
  Object.assign(a, l), Object.keys(a).forEach((o) => {
596
596
  typeof a[o] == "string" && (a[o] = $e(a[o]));
@@ -618,11 +618,11 @@ const oe = zt("log"), rr = zt("warn"), pt = zt("error"), nt = {
618
618
  }
619
619
  };
620
620
  function be(e, n) {
621
- Bo(e) && (e = "100%");
621
+ No(e) && (e = "100%");
622
622
  var t = Ro(e);
623
623
  return e = n === 360 ? e : Math.min(n, Math.max(0, parseFloat(e))), t && (e = parseInt(String(e * n), 10) / 100), Math.abs(e - n) < 1e-6 ? 1 : (n === 360 ? e = (e < 0 ? e % n + n : e % n) / parseFloat(String(n)) : e = e % n / parseFloat(String(n)), e);
624
624
  }
625
- function Bo(e) {
625
+ function No(e) {
626
626
  return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
627
627
  }
628
628
  function Ro(e) {
@@ -1463,30 +1463,30 @@ Ie.getTwoToneColor = Pi;
1463
1463
  Ie.setTwoToneColor = yr;
1464
1464
  const Z = Ie;
1465
1465
  var Di = { 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" };
1466
- const Ni = Di;
1466
+ const Bi = Di;
1467
1467
  function sl(e) {
1468
1468
  for (var n = 1; n < arguments.length; n++) {
1469
1469
  var t = arguments[n] != null ? Object(arguments[n]) : {}, l = Object.keys(t);
1470
1470
  typeof Object.getOwnPropertySymbols == "function" && (l = l.concat(Object.getOwnPropertySymbols(t).filter(function(a) {
1471
1471
  return Object.getOwnPropertyDescriptor(t, a).enumerable;
1472
1472
  }))), l.forEach(function(a) {
1473
- Bi(e, a, t[a]);
1473
+ Ni(e, a, t[a]);
1474
1474
  });
1475
1475
  }
1476
1476
  return e;
1477
1477
  }
1478
- function Bi(e, n, t) {
1478
+ function Ni(e, n, t) {
1479
1479
  return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
1480
1480
  }
1481
- var Nt = function(n, t) {
1481
+ var Bt = function(n, t) {
1482
1482
  var l = sl({}, n, t.attrs);
1483
1483
  return D(Z, sl({}, l, {
1484
- icon: Ni
1484
+ icon: Bi
1485
1485
  }), null);
1486
1486
  };
1487
- Nt.displayName = "AuditOutlined";
1488
- Nt.inheritAttrs = !1;
1489
- const Ri = Nt;
1487
+ Bt.displayName = "AuditOutlined";
1488
+ Bt.inheritAttrs = !1;
1489
+ const Ri = Bt;
1490
1490
  var Ei = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, name: "check", theme: "outlined" };
1491
1491
  const Li = Ei;
1492
1492
  function cl(e) {
@@ -1503,15 +1503,15 @@ function cl(e) {
1503
1503
  function Ii(e, n, t) {
1504
1504
  return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
1505
1505
  }
1506
- var Bt = function(n, t) {
1506
+ var Nt = function(n, t) {
1507
1507
  var l = cl({}, n, t.attrs);
1508
1508
  return D(Z, cl({}, l, {
1509
1509
  icon: Li
1510
1510
  }), null);
1511
1511
  };
1512
- Bt.displayName = "CheckOutlined";
1513
- Bt.inheritAttrs = !1;
1514
- const Ui = Bt;
1512
+ Nt.displayName = "CheckOutlined";
1513
+ Nt.inheritAttrs = !1;
1514
+ const Ui = Nt;
1515
1515
  var Fi = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" };
1516
1516
  const Hi = Fi;
1517
1517
  function dl(e) {
@@ -1812,8 +1812,8 @@ var Qt = function(n, t) {
1812
1812
  Qt.displayName = "MenuOutlined";
1813
1813
  Qt.inheritAttrs = !1;
1814
1814
  const Du = Qt;
1815
- var Nu = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, name: "minus", theme: "outlined" };
1816
- const Bu = Nu;
1815
+ var Bu = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, name: "minus", theme: "outlined" };
1816
+ const Nu = Bu;
1817
1817
  function wl(e) {
1818
1818
  for (var n = 1; n < arguments.length; n++) {
1819
1819
  var t = arguments[n] != null ? Object(arguments[n]) : {}, l = Object.keys(t);
@@ -1831,7 +1831,7 @@ function Ru(e, n, t) {
1831
1831
  var Xt = function(n, t) {
1832
1832
  var l = wl({}, n, t.attrs);
1833
1833
  return D(Z, wl({}, l, {
1834
- icon: Bu
1834
+ icon: Nu
1835
1835
  }), null);
1836
1836
  };
1837
1837
  Xt.displayName = "MinusOutlined";
@@ -2381,8 +2381,8 @@ function $s(e) {
2381
2381
  if (typeof b == "string") {
2382
2382
  b = ae(u.ctxPath, p.requestDownload);
2383
2383
  let Q = "";
2384
- Object.keys(F).forEach((B) => {
2385
- s(F[B]) && (typeof F[B] == "string" && (Q += "&" + B + "=" + F[B]), typeof F[B] == "object" && Array.isArray(F[B]) && (Q += "&" + B + "=" + F[B].join(",")));
2384
+ Object.keys(F).forEach((N) => {
2385
+ s(F[N]) && (typeof F[N] == "string" && (Q += "&" + N + "=" + F[N]), typeof F[N] == "object" && Array.isArray(F[N]) && (Q += "&" + N + "=" + F[N].join(",")));
2386
2386
  }), oe("导出表格参数", [b, Q]), ks(b + Q);
2387
2387
  } else
2388
2388
  a.loading = !0, F.exportFlag = !0, r(F, p.requestData, !0).then(async (Q) => {
@@ -2396,20 +2396,20 @@ function $s(e) {
2396
2396
  }
2397
2397
  setTimeout(() => {
2398
2398
  if (m && typeof m == "function") {
2399
- const B = {
2399
+ const N = {
2400
2400
  filename: u.templateTitle + (/* @__PURE__ */ new Date()).getTime(),
2401
2401
  sheetName: u.templateTitle,
2402
2402
  data: Q.rows,
2403
2403
  columns: s(a.params.exportColumns) ? a.params.exportColumns : b,
2404
2404
  mergeCells: i(Q.rows)
2405
2405
  };
2406
- m(B), a.loading = !1;
2406
+ m(N), a.loading = !1;
2407
2407
  } else {
2408
- const B = Q.rows.concat([]), se = {
2408
+ const N = Q.rows.concat([]), se = {
2409
2409
  filename: u.templateTitle + (/* @__PURE__ */ new Date()).getTime(),
2410
2410
  sheetName: u.templateTitle,
2411
2411
  type: "xlsx",
2412
- data: B,
2412
+ data: N,
2413
2413
  message: !1,
2414
2414
  columns: s(a.params.exportColumns) ? a.params.exportColumns : a.columns,
2415
2415
  isFooter: f.isFooter,
@@ -2585,8 +2585,8 @@ var Cr = { exports: {} };
2585
2585
  };
2586
2586
  });
2587
2587
  })(Cr);
2588
- var Ns = Cr.exports;
2589
- const dn = /* @__PURE__ */ wr(Ns);
2588
+ var Bs = Cr.exports;
2589
+ const dn = /* @__PURE__ */ wr(Bs);
2590
2590
  var Pr = { exports: {} };
2591
2591
  (function(e, n) {
2592
2592
  (function(t, l) {
@@ -2664,8 +2664,8 @@ var Pr = { exports: {} };
2664
2664
  };
2665
2665
  });
2666
2666
  })(Pr);
2667
- var Bs = Pr.exports;
2668
- const gt = /* @__PURE__ */ wr(Bs), kr = "CONSTANT_DIALOG_CONTAINER", Se = "CONSTANT_PAGE_OPTIONS", Rs = (e, n = "") => s(e) ? e : n, Es = (e, n) => (n = s(n) ? n : 2, s(e) ? e.toFixed(n) : 0), At = (e, n) => (n = s(n) ? n : 2, s(e) ? `${Je.commafy(Number(e), { digits: n })}` : e), Tr = (e) => fn(e, "yyyy-MM-dd"), Ar = (e) => fn(e, "yyyy-MM-dd HH:mm:ss"), fn = (e, n) => Je.toDateString(e, n), rt = (e, n) => e && e.length > n ? e.substring(0, n) + "..." : e, Ls = (e, n) => typeof n == "string" ? n === "number" ? At(e) : n === "date" ? Tr(e) : n === "datetime" ? Ar(e) : rt(e, 200) : typeof n == "object" && n instanceof Array && n[0] === "number" ? At(e, n[1]) : rt(e, 200), $ = {
2667
+ var Ns = Pr.exports;
2668
+ const gt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", Se = "CONSTANT_PAGE_OPTIONS", Rs = (e, n = "") => s(e) ? e : n, Es = (e, n) => (n = s(n) ? n : 2, s(e) ? e.toFixed(n) : 0), At = (e, n) => (n = s(n) ? n : 2, s(e) ? `${Je.commafy(Number(e), { digits: n })}` : e), Tr = (e) => fn(e, "yyyy-MM-dd"), Ar = (e) => fn(e, "yyyy-MM-dd HH:mm:ss"), fn = (e, n) => Je.toDateString(e, n), rt = (e, n) => e && e.length > n ? e.substring(0, n) + "..." : e, Ls = (e, n) => typeof n == "string" ? n === "number" ? At(e) : n === "date" ? Tr(e) : n === "datetime" ? Ar(e) : rt(e, 200) : typeof n == "object" && n instanceof Array && n[0] === "number" ? At(e, n[1]) : rt(e, 200), $ = {
2669
2669
  toString: Rs,
2670
2670
  toDateString: Tr,
2671
2671
  toDatetimeString: Ar,
@@ -2971,7 +2971,7 @@ const gt = /* @__PURE__ */ wr(Bs), kr = "CONSTANT_DIALOG_CONTAINER", Se = "CONST
2971
2971
  }, ke({ _: 2 }, [
2972
2972
  g.value ? {
2973
2973
  name: "notFoundContent",
2974
- fn: N(() => [
2974
+ fn: B(() => [
2975
2975
  D(k, { size: "small" })
2976
2976
  ]),
2977
2977
  key: "0"
@@ -3226,7 +3226,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3226
3226
  centered: "",
3227
3227
  "destroy-on-close": ""
3228
3228
  }, {
3229
- title: N(() => [
3229
+ title: B(() => [
3230
3230
  te("span", rc, re(t.title), 1),
3231
3231
  te("span", oc, [
3232
3232
  D(w, {
@@ -3236,7 +3236,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3236
3236
  }, null, 8, ["icon"])
3237
3237
  ])
3238
3238
  ]),
3239
- default: N(() => [
3239
+ default: B(() => [
3240
3240
  t.componentType === "vue" ? (O(), z(Qr(S(r)), ne({ key: 0 }, t.componentParams, {
3241
3241
  onCancel: d,
3242
3242
  onSubmit: f
@@ -3601,7 +3601,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3601
3601
  onClick: o[0] || (o[0] = (u) => l()),
3602
3602
  title: "导出"
3603
3603
  }, {
3604
- default: N(() => [
3604
+ default: B(() => [
3605
3605
  pc
3606
3606
  ]),
3607
3607
  _: 1
@@ -3616,15 +3616,15 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3616
3616
  /* @__PURE__ */ ge(" 您好,因数据量过大,强制显示将会 "),
3617
3617
  /* @__PURE__ */ te("span", { style: { color: "red" } }, "取消合并列"),
3618
3618
  /* @__PURE__ */ ge(" 模式,建议您调整查询条件后重新查询! ")
3619
- ], -1), Nc = /* @__PURE__ */ te("br", null, null, -1), Bc = /* @__PURE__ */ te("span", { style: { "font-size": "24px", color: "red" } }, "是否强制显示?", -1), Rc = [
3620
- Bc
3619
+ ], -1), Bc = /* @__PURE__ */ te("br", null, null, -1), Nc = /* @__PURE__ */ te("span", { style: { "font-size": "24px", color: "red" } }, "是否强制显示?", -1), Rc = [
3620
+ Nc
3621
3621
  ], Dl = /* @__PURE__ */ Y({
3622
3622
  name: "SagVxePage",
3623
3623
  inheritAttrs: !1,
3624
3624
  __name: "SagVxePage",
3625
3625
  emits: ["submit", "resetValue", "search"],
3626
3626
  setup(e, { expose: n, emit: t }) {
3627
- var xn, Cn, Pn, kn, Tn, An, Mn, $n, Vn, zn, jn, qn, Dn, Nn, Bn, Rn, En, Ln, In, Un, Fn, Hn, Yn, Wn, Gn, Jn, Qn, Xn, Zn, Kn, ea, ta, na, aa, la, ra, oa, ia, ua, sa, ca, da, fa, pa, ma, ga, va, ha, ba, ya, Sa, _a, Oa, wa, xa, Ca, Pa, ka, Ta, Aa, Ma, $a, Va, za, ja, qa, Da, Na, Ba, Ra, Ea, La, Ia;
3627
+ var xn, Cn, Pn, kn, Tn, An, Mn, $n, Vn, zn, jn, qn, Dn, Bn, Nn, Rn, En, Ln, In, Un, Fn, Hn, Yn, Wn, Gn, Jn, Qn, Xn, Zn, Kn, ea, ta, na, aa, la, ra, oa, ia, ua, sa, ca, da, fa, pa, ma, ga, va, ha, ba, ya, Sa, _a, Oa, wa, xa, Ca, Pa, ka, Ta, Aa, Ma, $a, Va, za, ja, qa, Da, Ba, Na, Ra, Ea, La, Ia;
3628
3628
  const l = le({
3629
3629
  visible: !1,
3630
3630
  maximize: !1,
@@ -3672,7 +3672,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3672
3672
  T.templateForm.formProps.vertical
3673
3673
  ),
3674
3674
  titleColon: $.toString(
3675
- (Bn = (Nn = a == null ? void 0 : a.templateForm) == null ? void 0 : Nn.formProps) == null ? void 0 : Bn.titleColon,
3675
+ (Nn = (Bn = a == null ? void 0 : a.templateForm) == null ? void 0 : Bn.formProps) == null ? void 0 : Nn.titleColon,
3676
3676
  T.templateForm.formProps.titleColon
3677
3677
  ),
3678
3678
  titleWidth: $.toString(
@@ -3741,7 +3741,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3741
3741
  zoom: $.toString((Da = (qa = a == null ? void 0 : a.templateTable) == null ? void 0 : qa.toolbarConfig) == null ? void 0 : Da.zoom, T.templateTable.toolbarConfig.zoom),
3742
3742
  slots: {
3743
3743
  buttons: $.toString(
3744
- (Ra = (Ba = (Na = a == null ? void 0 : a.templateTable) == null ? void 0 : Na.toolbarConfig) == null ? void 0 : Ba.slots) == null ? void 0 : Ra.buttons,
3744
+ (Ra = (Na = (Ba = a == null ? void 0 : a.templateTable) == null ? void 0 : Ba.toolbarConfig) == null ? void 0 : Na.slots) == null ? void 0 : Ra.buttons,
3745
3745
  T.templateTable.toolbarConfig.slots.buttons
3746
3746
  ),
3747
3747
  tools: $.toString(
@@ -3751,9 +3751,9 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3751
3751
  }
3752
3752
  }), x = T.application + "_" + r.templateType, c = "sag_vxe_page_div_panel_" + x;
3753
3753
  Ua(Se, r), Ua(kr, () => document.getElementById(S(c)));
3754
- const m = Object.keys(Ee()), C = m.filter((P) => P.startsWith("items_")), _ = m.filter((P) => P.startsWith("cols_")), b = m.filter((P) => P.startsWith("tools_")), w = V(), v = V(!0), y = V(!1), k = V("none"), j = V(["1"]), I = V(0), F = De(r.size), Q = V(), B = le({}), se = V([]), he = V(), Ce = V([]), Fe = t, _e = (P, A) => {
3754
+ const m = Object.keys(Ee()), C = m.filter((P) => P.startsWith("items_")), _ = m.filter((P) => P.startsWith("cols_")), b = m.filter((P) => P.startsWith("tools_")), w = V(), v = V(!0), y = V(!1), k = V("none"), j = V(["1"]), I = V(0), F = De(r.size), Q = V(), N = le({}), se = V([]), he = V(), Ce = V([]), Fe = t, _e = (P, A) => {
3755
3755
  se.value[A] = P;
3756
- }, Ne = async () => {
3756
+ }, Be = async () => {
3757
3757
  const P = w.value;
3758
3758
  if (!y.value && P) {
3759
3759
  const A = he.value;
@@ -3762,7 +3762,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3762
3762
  }) : P.commitProxy("query");
3763
3763
  }
3764
3764
  }, pn = () => {
3765
- u.storage && Wa(r.application, r.templateType, {}), ht(Ce.value[0].children, se, B), Fe("resetValue");
3765
+ u.storage && Wa(r.application, r.templateType, {}), ht(Ce.value[0].children, se, N), Fe("resetValue");
3766
3766
  }, Mr = () => {
3767
3767
  ot(() => {
3768
3768
  Ja(Q.value, W, d.clientScale);
@@ -3807,9 +3807,9 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3807
3807
  ajax: {
3808
3808
  // 接收 Promise 对象
3809
3809
  query: (P) => {
3810
- const { page: A, sorts: R, filters: J, form: H } = P, pe = Ct(A, R, J, H, B, se);
3810
+ const { page: A, sorts: R, filters: J, form: H } = P, pe = Ct(A, R, J, H, N, se);
3811
3811
  if (u.storage) {
3812
- const Oe = No(R, J, H, B);
3812
+ const Oe = Bo(R, J, H, N);
3813
3813
  Wa(r.application, r.templateType, Oe);
3814
3814
  }
3815
3815
  return mn(pe, o.requestData, !1);
@@ -3823,7 +3823,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3823
3823
  footerMethod: d.footerMethod
3824
3824
  }), vt = V(!1), $r = () => {
3825
3825
  ut("确定要强制显示数据内容吗?", () => {
3826
- f != null && f.isMerge ? W.mergeCells = null : W.spanMethod = Ga({}), W.virtualYConfig = { enabled: !0 }, vt.value = !0, Ne();
3826
+ f != null && f.isMerge ? W.mergeCells = null : W.spanMethod = Ga({}), W.virtualYConfig = { enabled: !0 }, vt.value = !0, Be();
3827
3827
  });
3828
3828
  }, mn = async (P, A, R) => {
3829
3829
  var J;
@@ -3905,16 +3905,16 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3905
3905
  const R = w.value;
3906
3906
  let J = [], H = {}, pe = {};
3907
3907
  for (let Pe = 0; Pe < P.length; Pe++) {
3908
- const fe = P[Pe], Be = P[Pe - 1];
3908
+ const fe = P[Pe], Ne = P[Pe - 1];
3909
3909
  let Te = P[Pe + 1];
3910
- s(pe[fe[A]]) || (pe[fe[A]] = Pe + 0), s(H[fe[A]]) ? (s(Te) && Te[A] === fe[A] || s(Be) && Be[A] === fe[A]) && (H[fe[A]] = H[fe[A]] + 1) : H[fe[A]] = 1;
3910
+ s(pe[fe[A]]) || (pe[fe[A]] = Pe + 0), s(H[fe[A]]) ? (s(Te) && Te[A] === fe[A] || s(Ne) && Ne[A] === fe[A]) && (H[fe[A]] = H[fe[A]] + 1) : H[fe[A]] = 1;
3911
3911
  }
3912
3912
  let Oe = f == null ? void 0 : f.fields;
3913
3913
  for (let Pe in Oe) {
3914
- let fe = R == null ? void 0 : R.getColumnByField(Oe[Pe]), Be = R == null ? void 0 : R.getColumnIndex(fe);
3914
+ let fe = R == null ? void 0 : R.getColumnByField(Oe[Pe]), Ne = R == null ? void 0 : R.getColumnIndex(fe);
3915
3915
  for (let Te in pe)
3916
3916
  J = J.concat([
3917
- { row: pe[Te], col: Be, rowspan: H[Te], colspan: 1 }
3917
+ { row: pe[Te], col: Ne, rowspan: H[Te], colspan: 1 }
3918
3918
  ]);
3919
3919
  }
3920
3920
  return J;
@@ -3935,25 +3935,25 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3935
3935
  return {
3936
3936
  backgroundColor: f == null ? void 0 : f.backgroundColor
3937
3937
  };
3938
- }, Nr = () => {
3938
+ }, Br = () => {
3939
3939
  const P = document.getElementById(c);
3940
3940
  if (P) {
3941
3941
  const A = P.getElementsByTagName("form");
3942
- A && A.length > 0 && (A[0].submit = () => (l.visible = !1, Ne(), !1));
3942
+ A && A.length > 0 && (A[0].submit = () => (l.visible = !1, Be(), !1));
3943
3943
  }
3944
- }, { clickFormButton: Br, clickTableButton: Xe, clickHerf: bn } = Ms({
3944
+ }, { clickFormButton: Nr, clickTableButton: Xe, clickHerf: bn } = Ms({
3945
3945
  gridRef: w,
3946
3946
  targetModal: l,
3947
3947
  gridOptions: W,
3948
3948
  pageOptions: r,
3949
- formData: B,
3949
+ formData: N,
3950
3950
  pageTable: d,
3951
3951
  pageModal: i,
3952
3952
  pageTableMerge: f,
3953
3953
  pageRequest: o
3954
3954
  }), { downloadEvent: yn, importEvent: Rr, switchColumsEvent: Sn } = $s({
3955
3955
  formRef: he,
3956
- formData: B,
3956
+ formData: N,
3957
3957
  gridRef: w,
3958
3958
  gridOptions: W,
3959
3959
  loadData: mn,
@@ -3996,16 +3996,16 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
3996
3996
  ue(async () => {
3997
3997
  if (oe("加载页面模板", r), await Er(), u.storage) {
3998
3998
  const P = uo(r.application, r.templateType);
3999
- s(P) ? wn(P) : await ht(u.formItems, se, B);
3999
+ s(P) ? wn(P) : await ht(u.formItems, se, N);
4000
4000
  } else
4001
- await ht(u.formItems, se, B);
4001
+ await ht(u.formItems, se, N);
4002
4002
  r.onMountedModule && await r.onMountedModule({
4003
4003
  $formRef: he.value,
4004
4004
  $gridRef: w.value,
4005
4005
  gridOptions: W,
4006
4006
  pageOptions: r,
4007
- formData: B
4008
- }), Nr(), await Ne(), _n();
4007
+ formData: N
4008
+ }), Br(), await Be(), _n();
4009
4009
  });
4010
4010
  const _n = Je.debounce(() => {
4011
4011
  oe("屏幕高度出现变化,重新计算表格高度"), d.clientScale === 1 && I.value == 0 && (window.onresize = () => {
@@ -4024,7 +4024,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4024
4024
  const Ir = (P) => {
4025
4025
  l.title = X(P.title, T.targetModal.title), l.width = X(P.width, T.targetModal.width), l.height = X(P.height, T.targetModal.height), l.maximize = X(P.maximize, !1), l.autoLoad = X(P.autoLoad, !1), l.componentType = X(P.componentType, T.targetModal.componentType), l.componentParams = P.componentParams, l.componentUrl = P.componentUrl, l.visible = !0;
4026
4026
  }, On = () => {
4027
- l.visible = !1, l.autoLoad && Ne();
4027
+ l.visible = !1, l.autoLoad && Be();
4028
4028
  }, Ur = (P) => {
4029
4029
  l.visible = !1;
4030
4030
  const A = l.componentParams;
@@ -4033,15 +4033,15 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4033
4033
  const P = w.value;
4034
4034
  if (P) {
4035
4035
  const { pager: A, filter: R, form: J, sort: H } = P.getProxyInfo();
4036
- return Ct(A, H, R, J, B, se);
4036
+ return Ct(A, H, R, J, N, se);
4037
4037
  } else
4038
4038
  return null;
4039
4039
  }, wn = (P) => {
4040
4040
  for (let A in P)
4041
- se.value[A] ? se.value[A].setValue(P[A]) : B[A] = P[A];
4041
+ se.value[A] ? se.value[A].setValue(P[A]) : N[A] = P[A];
4042
4042
  };
4043
4043
  return n({
4044
- doSearch: Ne,
4044
+ doSearch: Be,
4045
4045
  resetFrom: pn,
4046
4046
  showViewModal: Ir,
4047
4047
  hideViewModal: On,
@@ -4053,7 +4053,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4053
4053
  W.params.exportColumns = P;
4054
4054
  }
4055
4055
  }), (P, A) => {
4056
- const R = L("a-button"), J = L("a-space"), H = L("vxe-form"), pe = L("a-collapse-panel"), Oe = L("a-collapse"), Pe = L("a-menu-item"), fe = L("a-menu"), Be = L("a-dropdown"), Te = L("vxe-button"), Yr = L("vxe-grid");
4056
+ const R = L("a-button"), J = L("a-space"), H = L("vxe-form"), pe = L("a-collapse-panel"), Oe = L("a-collapse"), Pe = L("a-menu-item"), fe = L("a-menu"), Ne = L("a-dropdown"), Te = L("vxe-button"), Yr = L("vxe-grid");
4057
4057
  return Fa((O(), U("div", {
4058
4058
  id: c,
4059
4059
  class: "sag-vxe-page-wrapper"
@@ -4065,7 +4065,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4065
4065
  expandIconPosition: "end",
4066
4066
  accordion: ""
4067
4067
  }, {
4068
- default: N(() => [
4068
+ default: B(() => [
4069
4069
  D(pe, {
4070
4070
  ref_key: "formCardRef",
4071
4071
  ref: Q,
@@ -4074,11 +4074,11 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4074
4074
  align: "left",
4075
4075
  forceRender: ""
4076
4076
  }, {
4077
- default: N(() => [
4077
+ default: B(() => [
4078
4078
  D(H, {
4079
4079
  ref_key: "formRef",
4080
4080
  ref: he,
4081
- data: B,
4081
+ data: N,
4082
4082
  items: Ce.value,
4083
4083
  size: r.size,
4084
4084
  rules: u.formRules,
@@ -4089,16 +4089,16 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4089
4089
  onCollapse: Mr,
4090
4090
  class: "sag-vxe-page-form"
4091
4091
  }, ke({
4092
- toolbar_tools: N(() => [
4092
+ toolbar_tools: B(() => [
4093
4093
  D(J, null, {
4094
- default: N(() => [
4094
+ default: B(() => [
4095
4095
  D(R, {
4096
4096
  type: "primary",
4097
4097
  size: S(F),
4098
- onClick: A[0] || (A[0] = (h) => Ne()),
4098
+ onClick: A[0] || (A[0] = (h) => Be()),
4099
4099
  disabled: y.value
4100
4100
  }, {
4101
- default: N(() => [
4101
+ default: B(() => [
4102
4102
  ge(" 查询 ")
4103
4103
  ]),
4104
4104
  _: 1
@@ -4107,7 +4107,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4107
4107
  size: S(F),
4108
4108
  onClick: A[1] || (A[1] = (h) => pn())
4109
4109
  }, {
4110
- default: N(() => [
4110
+ default: B(() => [
4111
4111
  ge("重置")
4112
4112
  ]),
4113
4113
  _: 1
@@ -4116,106 +4116,106 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4116
4116
  _: 1
4117
4117
  })
4118
4118
  ]),
4119
- dateRange: N((h) => {
4119
+ dateRange: B((h) => {
4120
4120
  var E, G;
4121
4121
  return [
4122
4122
  D(Is, ne({
4123
- value: B[h.field],
4124
- "onUpdate:value": (K) => B[h.field] = K,
4123
+ value: N[h.field],
4124
+ "onUpdate:value": (K) => N[h.field] = K,
4125
4125
  ref: (K) => _e(K, h.field)
4126
4126
  }, (G = (E = h == null ? void 0 : h.item) == null ? void 0 : E.itemRender) == null ? void 0 : G.props), null, 16, ["value", "onUpdate:value"])
4127
4127
  ];
4128
4128
  }),
4129
- date: N((h) => {
4129
+ date: B((h) => {
4130
4130
  var E, G;
4131
4131
  return [
4132
4132
  D(Us, ne({
4133
- value: B[h.field],
4134
- "onUpdate:value": (K) => B[h.field] = K,
4133
+ value: N[h.field],
4134
+ "onUpdate:value": (K) => N[h.field] = K,
4135
4135
  ref: (K) => _e(K, h.field)
4136
4136
  }, (G = (E = h == null ? void 0 : h.item) == null ? void 0 : E.itemRender) == null ? void 0 : G.props), null, 16, ["value", "onUpdate:value"])
4137
4137
  ];
4138
4138
  }),
4139
- input: N((h) => {
4139
+ input: B((h) => {
4140
4140
  var E, G, K, ce, ie, Ve;
4141
4141
  return [
4142
4142
  u.vxeSlot ? (O(), z(sc, ne({
4143
4143
  key: 0,
4144
- value: B[h.field],
4145
- "onUpdate:value": (ee) => B[h.field] = ee,
4144
+ value: N[h.field],
4145
+ "onUpdate:value": (ee) => N[h.field] = ee,
4146
4146
  ref: (ee) => _e(ee, h.field),
4147
4147
  title: (E = h == null ? void 0 : h.item) == null ? void 0 : E.title
4148
4148
  }, (K = (G = h == null ? void 0 : h.item) == null ? void 0 : G.itemRender) == null ? void 0 : K.props), null, 16, ["value", "onUpdate:value", "title"])) : q("", !0),
4149
4149
  u.vxeSlot ? q("", !0) : (O(), z(Fs, ne({
4150
4150
  key: 1,
4151
- value: B[h.field],
4152
- "onUpdate:value": (ee) => B[h.field] = ee,
4151
+ value: N[h.field],
4152
+ "onUpdate:value": (ee) => N[h.field] = ee,
4153
4153
  ref: (ee) => _e(ee, h.field),
4154
4154
  title: (ce = h == null ? void 0 : h.item) == null ? void 0 : ce.title
4155
4155
  }, (Ve = (ie = h == null ? void 0 : h.item) == null ? void 0 : ie.itemRender) == null ? void 0 : Ve.props), null, 16, ["value", "onUpdate:value", "title"]))
4156
4156
  ];
4157
4157
  }),
4158
- select: N((h) => {
4158
+ select: B((h) => {
4159
4159
  var E, G, K, ce;
4160
4160
  return [
4161
4161
  u.vxeSlot ? (O(), z(cc, ne({
4162
4162
  key: 0,
4163
- value: B[h.field],
4164
- "onUpdate:value": (ie) => B[h.field] = ie,
4163
+ value: N[h.field],
4164
+ "onUpdate:value": (ie) => N[h.field] = ie,
4165
4165
  ref: (ie) => _e(ie, h.field)
4166
4166
  }, (G = (E = h == null ? void 0 : h.item) == null ? void 0 : E.itemRender) == null ? void 0 : G.props), null, 16, ["value", "onUpdate:value"])) : q("", !0),
4167
4167
  u.vxeSlot ? q("", !0) : (O(), z(Ys, ne({
4168
4168
  key: 1,
4169
- value: B[h.field],
4170
- "onUpdate:value": (ie) => B[h.field] = ie,
4169
+ value: N[h.field],
4170
+ "onUpdate:value": (ie) => N[h.field] = ie,
4171
4171
  ref: (ie) => _e(ie, h.field)
4172
4172
  }, (ce = (K = h == null ? void 0 : h.item) == null ? void 0 : K.itemRender) == null ? void 0 : ce.props), null, 16, ["value", "onUpdate:value"]))
4173
4173
  ];
4174
4174
  }),
4175
- selectList: N((h) => {
4175
+ selectList: B((h) => {
4176
4176
  var E, G, K, ce, ie, Ve;
4177
4177
  return [
4178
4178
  u.vxeSlot ? (O(), z(fc, ne({
4179
4179
  key: 0,
4180
- value: B[h.field],
4181
- "onUpdate:value": (ee) => B[h.field] = ee,
4180
+ value: N[h.field],
4181
+ "onUpdate:value": (ee) => N[h.field] = ee,
4182
4182
  ref: (ee) => _e(ee, h.field),
4183
4183
  title: (E = h == null ? void 0 : h.item) == null ? void 0 : E.title
4184
4184
  }, (K = (G = h == null ? void 0 : h.item) == null ? void 0 : G.itemRender) == null ? void 0 : K.props), null, 16, ["value", "onUpdate:value", "title"])) : q("", !0),
4185
4185
  u.vxeSlot ? q("", !0) : (O(), z(Qs, ne({
4186
4186
  key: 1,
4187
- value: B[h.field],
4188
- "onUpdate:value": (ee) => B[h.field] = ee,
4187
+ value: N[h.field],
4188
+ "onUpdate:value": (ee) => N[h.field] = ee,
4189
4189
  ref: (ee) => _e(ee, h.field),
4190
4190
  title: (ce = h == null ? void 0 : h.item) == null ? void 0 : ce.title
4191
4191
  }, (Ve = (ie = h == null ? void 0 : h.item) == null ? void 0 : ie.itemRender) == null ? void 0 : Ve.props), null, 16, ["value", "onUpdate:value", "title"]))
4192
4192
  ];
4193
4193
  }),
4194
- selectPull: N((h) => {
4194
+ selectPull: B((h) => {
4195
4195
  var E, G, K, ce, ie, Ve;
4196
4196
  return [
4197
4197
  u.vxeSlot ? (O(), z(dc, ne({
4198
4198
  key: 0,
4199
- value: B[h.field],
4200
- "onUpdate:value": (ee) => B[h.field] = ee,
4199
+ value: N[h.field],
4200
+ "onUpdate:value": (ee) => N[h.field] = ee,
4201
4201
  ref: (ee) => _e(ee, h.field),
4202
4202
  title: (E = h == null ? void 0 : h.item) == null ? void 0 : E.title
4203
4203
  }, (K = (G = h == null ? void 0 : h.item) == null ? void 0 : G.itemRender) == null ? void 0 : K.props), null, 16, ["value", "onUpdate:value", "title"])) : q("", !0),
4204
4204
  u.vxeSlot ? q("", !0) : (O(), z(Gs, ne({
4205
4205
  key: 1,
4206
- value: B[h.field],
4207
- "onUpdate:value": (ee) => B[h.field] = ee,
4206
+ value: N[h.field],
4207
+ "onUpdate:value": (ee) => N[h.field] = ee,
4208
4208
  ref: (ee) => _e(ee, h.field),
4209
4209
  title: (ce = h == null ? void 0 : h.item) == null ? void 0 : ce.title
4210
4210
  }, (Ve = (ie = h == null ? void 0 : h.item) == null ? void 0 : ie.itemRender) == null ? void 0 : Ve.props), null, 16, ["value", "onUpdate:value", "title"]))
4211
4211
  ];
4212
4212
  }),
4213
- cascader: N((h) => {
4213
+ cascader: B((h) => {
4214
4214
  var E, G, K;
4215
4215
  return [
4216
4216
  D(Zs, ne({
4217
- value: B[h.field],
4218
- "onUpdate:value": (ce) => B[h.field] = ce,
4217
+ value: N[h.field],
4218
+ "onUpdate:value": (ce) => N[h.field] = ce,
4219
4219
  title: (E = h == null ? void 0 : h.item) == null ? void 0 : E.title,
4220
4220
  ref: (ce) => _e(ce, h.field)
4221
4221
  }, (K = (G = h == null ? void 0 : h.item) == null ? void 0 : G.itemRender) == null ? void 0 : K.props), null, 16, ["value", "onUpdate:value", "title"])
@@ -4225,9 +4225,9 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4225
4225
  }, [
4226
4226
  Me(S(C), (h) => ({
4227
4227
  name: h,
4228
- fn: N((E) => [
4228
+ fn: B((E) => [
4229
4229
  de(P.$slots, h, ne(E, {
4230
- value: B[E.field]
4230
+ value: N[E.field]
4231
4231
  }))
4232
4232
  ])
4233
4233
  }))
@@ -4255,14 +4255,14 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4255
4255
  onCheckboxChange: Vr,
4256
4256
  onRadioChange: zr
4257
4257
  }), ke({
4258
- operate: N(({ row: h, column: E }) => [
4258
+ operate: B(({ row: h, column: E }) => [
4259
4259
  te("a", {
4260
4260
  href: "javascript:void(0)",
4261
4261
  class: "sag-vxe-page-link",
4262
4262
  onClick: (G) => S(bn)(h, E)
4263
4263
  }, re(h[E.property]), 9, hc)
4264
4264
  ]),
4265
- vertical: N(({ row: h, column: E }) => [
4265
+ vertical: B(({ row: h, column: E }) => [
4266
4266
  (O(!0), U(xe, null, Me(E.params.childColumns, (G) => (O(), U("div", {
4267
4267
  key: G.value
4268
4268
  }, [
@@ -4277,7 +4277,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4277
4277
  ])) : (O(), U("span", _c, re(S($).stringFormat(h[G.field], G.formatter)), 1))
4278
4278
  ]))), 128))
4279
4279
  ]),
4280
- button: N(({ row: h }) => [
4280
+ button: B(({ row: h }) => [
4281
4281
  te("div", Oc, [
4282
4282
  (O(!0), U(xe, null, Me(p.tableButtons, (E) => (O(), U(xe, { key: E }, [
4283
4283
  S($).toString(h[E.buttonName], !0) && S(He)(E.auth) ? (O(), U("span", wc, [
@@ -4287,12 +4287,12 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4287
4287
  type: S($).toString(E.status, "primary"),
4288
4288
  onClick: (G) => S(Xe)(E, h)
4289
4289
  }, {
4290
- icon: N(() => [
4290
+ icon: B(() => [
4291
4291
  D(qe, {
4292
4292
  icon: E.icon
4293
4293
  }, null, 8, ["icon"])
4294
4294
  ]),
4295
- default: N(() => [
4295
+ default: B(() => [
4296
4296
  ge(" " + re(E.buttonName), 1)
4297
4297
  ]),
4298
4298
  _: 2
@@ -4312,17 +4312,17 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4312
4312
  ])) : q("", !0)
4313
4313
  ], 64))), 128))
4314
4314
  ]),
4315
- Lr(p.tableMoreButtons, h) ? (O(), z(Be, {
4315
+ Lr(p.tableMoreButtons, h) ? (O(), z(Ne, {
4316
4316
  key: 0,
4317
4317
  destroyPopupOnHide: !0
4318
4318
  }, {
4319
- overlay: N(() => [
4319
+ overlay: B(() => [
4320
4320
  D(fe, null, {
4321
- default: N(() => [
4321
+ default: B(() => [
4322
4322
  (O(!0), U(xe, null, Me(p.tableMoreButtons, (E) => (O(), U(xe, { key: E }, [
4323
4323
  S(He)(E.auth) ? (O(), U(xe, { key: 0 }, [
4324
4324
  S($).toString(h[E.buttonName], !0) ? (O(), z(Pe, { key: 0 }, {
4325
- default: N(() => [
4325
+ default: B(() => [
4326
4326
  te("a", {
4327
4327
  onClick: (G) => S(Xe)(E, h)
4328
4328
  }, [
@@ -4340,12 +4340,12 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4340
4340
  _: 2
4341
4341
  }, 1024)
4342
4342
  ]),
4343
- default: N(() => [
4343
+ default: B(() => [
4344
4344
  D(R, {
4345
4345
  type: d.showButtonLink ? "link" : "default",
4346
4346
  size: "small"
4347
4347
  }, {
4348
- default: N(() => [
4348
+ default: B(() => [
4349
4349
  ge(" 更多操作 "),
4350
4350
  D(S(Sr))
4351
4351
  ]),
@@ -4355,27 +4355,27 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4355
4355
  _: 2
4356
4356
  }, 1024)) : q("", !0)
4357
4357
  ]),
4358
- toolbar_buttons: N(() => [
4358
+ toolbar_buttons: B(() => [
4359
4359
  S(s)(p.formButtons) && p.formButtons.length > 0 ? (O(), z(J, {
4360
4360
  key: 0,
4361
4361
  wrap: !0,
4362
4362
  style: { "margin-bottom": "0px" }
4363
4363
  }, {
4364
- default: N(() => [
4364
+ default: B(() => [
4365
4365
  (O(!0), U(xe, null, Me(p.formButtons, (h) => (O(), U("span", { key: h }, [
4366
4366
  S(He)(h.auth) ? (O(), z(R, {
4367
4367
  key: 0,
4368
4368
  round: "",
4369
4369
  size: S(F),
4370
4370
  type: S($).toString(h.status, "primary"),
4371
- onClick: (E) => S(Br)(h)
4371
+ onClick: (E) => S(Nr)(h)
4372
4372
  }, {
4373
- icon: N(() => [
4373
+ icon: B(() => [
4374
4374
  D(qe, {
4375
4375
  icon: h.icon
4376
4376
  }, null, 8, ["icon"])
4377
4377
  ]),
4378
- default: N(() => [
4378
+ default: B(() => [
4379
4379
  ge(" " + re(h.buttonName), 1)
4380
4380
  ]),
4381
4381
  _: 2
@@ -4386,7 +4386,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4386
4386
  })) : q("", !0),
4387
4387
  (O(!0), U(xe, null, Me(S(b), (h) => de(P.$slots, h)), 256))
4388
4388
  ]),
4389
- toolbar_tools: N(() => [
4389
+ toolbar_tools: B(() => [
4390
4390
  S(s)(d.tableColumnsExtra) ? (O(), z(Te, {
4391
4391
  key: 0,
4392
4392
  size: "small",
@@ -4394,7 +4394,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4394
4394
  onClick: A[3] || (A[3] = (h) => S(Sn)(r.application, !1)),
4395
4395
  title: "切换"
4396
4396
  }, {
4397
- default: N(() => [
4397
+ default: B(() => [
4398
4398
  Pc
4399
4399
  ]),
4400
4400
  _: 1
@@ -4410,7 +4410,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4410
4410
  onClick: S(yn),
4411
4411
  title: "下载"
4412
4412
  }, {
4413
- default: N(() => [
4413
+ default: B(() => [
4414
4414
  kc
4415
4415
  ]),
4416
4416
  _: 1
@@ -4422,18 +4422,18 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4422
4422
  onClick: A[4] || (A[4] = (h) => S(Rr)()),
4423
4423
  title: "导入"
4424
4424
  }, {
4425
- default: N(() => [
4425
+ default: B(() => [
4426
4426
  Tc
4427
4427
  ]),
4428
4428
  _: 1
4429
4429
  })) : q("", !0)
4430
4430
  ]),
4431
- empty: N(() => [
4431
+ empty: B(() => [
4432
4432
  k.value === "error" ? (O(), U("h2", Ac, $c)) : q("", !0),
4433
4433
  k.value === "none" ? (O(), U("h2", Vc, jc)) : q("", !0),
4434
4434
  k.value === "more" ? (O(), U("h2", qc, [
4435
4435
  Dc,
4436
- Nc,
4436
+ Bc,
4437
4437
  te("a", {
4438
4438
  onClick: $r,
4439
4439
  href: "javascript:void(0)",
@@ -4445,7 +4445,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
4445
4445
  }, [
4446
4446
  Me(S(_), (h) => ({
4447
4447
  name: h,
4448
- fn: N((E) => [
4448
+ fn: B((E) => [
4449
4449
  de(P.$slots, h, Kr(eo(E)))
4450
4450
  ])
4451
4451
  }))
@@ -4465,7 +4465,7 @@ const ad = {
4465
4465
  install: (e, n) => {
4466
4466
  e.component(Dl.name, Dl);
4467
4467
  }
4468
- }, Nl = /* @__PURE__ */ Y({
4468
+ }, Bl = /* @__PURE__ */ Y({
4469
4469
  name: "SagAntdDatePicker",
4470
4470
  inheritAttrs: !1,
4471
4471
  __name: "SagAntdDatePicker",
@@ -4527,9 +4527,9 @@ const ad = {
4527
4527
  }
4528
4528
  }), ld = {
4529
4529
  install: (e, n) => {
4530
- e.component(Nl.name, Nl);
4530
+ e.component(Bl.name, Bl);
4531
4531
  }
4532
- }, Bl = /* @__PURE__ */ Y({
4532
+ }, Nl = /* @__PURE__ */ Y({
4533
4533
  name: "SagAntdDateRange",
4534
4534
  inheritAttrs: !1,
4535
4535
  __name: "SagAntdDateRange",
@@ -4610,7 +4610,7 @@ const ad = {
4610
4610
  }
4611
4611
  }), rd = {
4612
4612
  install: (e, n) => {
4613
- e.component(Bl.name, Bl);
4613
+ e.component(Nl.name, Nl);
4614
4614
  }
4615
4615
  }, Rl = /* @__PURE__ */ Y({
4616
4616
  name: "SagAntdButton",
@@ -4642,13 +4642,13 @@ const ad = {
4642
4642
  onClick: a,
4643
4643
  disabled: t.disabled
4644
4644
  }, {
4645
- icon: N(() => [
4645
+ icon: B(() => [
4646
4646
  t.icon !== "none" ? (O(), z(qe, {
4647
4647
  key: 0,
4648
4648
  icon: t.icon
4649
4649
  }, null, 8, ["icon"])) : q("", !0)
4650
4650
  ]),
4651
- default: N(() => [
4651
+ default: B(() => [
4652
4652
  ge(" " + re(t.name), 1)
4653
4653
  ]),
4654
4654
  _: 1
@@ -4757,14 +4757,14 @@ const ad = {
4757
4757
  hoverable: n.hoverable,
4758
4758
  loading: n.loading
4759
4759
  }, ke({
4760
- default: N(() => [
4760
+ default: B(() => [
4761
4761
  de(r.$slots, "default")
4762
4762
  ]),
4763
4763
  _: 2
4764
4764
  }, [
4765
4765
  S(a).length === 1 || S(s)(n.title) ? {
4766
4766
  name: "title",
4767
- fn: N(() => [
4767
+ fn: B(() => [
4768
4768
  S(a).length === 1 ? de(r.$slots, "title", { key: 0 }) : q("", !0),
4769
4769
  S(a).length !== 1 ? (O(), U("span", Lc, re(n.title), 1)) : q("", !0)
4770
4770
  ]),
@@ -4772,7 +4772,7 @@ const ad = {
4772
4772
  } : void 0,
4773
4773
  S(l).length === 1 ? {
4774
4774
  name: "extra",
4775
- fn: N(() => [
4775
+ fn: B(() => [
4776
4776
  de(r.$slots, "extra")
4777
4777
  ]),
4778
4778
  key: "1"
@@ -4844,16 +4844,16 @@ const ad = {
4844
4844
  }, ke({ _: 2 }, [
4845
4845
  S(i).length === 1 || S(s)(l.addonAfter) ? {
4846
4846
  name: "addonAfter",
4847
- fn: N(() => [
4848
- S(i).length === 1 ? de(c.$slots, "title", { key: 0 }) : q("", !0),
4847
+ fn: B(() => [
4848
+ S(i).length === 1 ? de(c.$slots, "addonAfter", { key: 0 }) : q("", !0),
4849
4849
  S(i).length !== 1 ? (O(), U("span", Ic, re(l.addonAfter), 1)) : q("", !0)
4850
4850
  ]),
4851
4851
  key: "0"
4852
4852
  } : void 0,
4853
4853
  S(u).length === 1 || S(s)(l.addonBefore) ? {
4854
4854
  name: "addonBefore",
4855
- fn: N(() => [
4856
- S(u).length === 1 ? de(c.$slots, "title", { key: 0 }) : q("", !0),
4855
+ fn: B(() => [
4856
+ S(u).length === 1 ? de(c.$slots, "addonBefore", { key: 0 }) : q("", !0),
4857
4857
  S(u).length !== 1 ? (O(), U("span", Uc, re(l.addonBefore), 1)) : q("", !0)
4858
4858
  ]),
4859
4859
  key: "1"
@@ -4888,7 +4888,7 @@ const ad = {
4888
4888
  //
4889
4889
  step: { type: [String, Number], default: 1 },
4890
4890
  //
4891
- precision: { type: Number, default: null },
4891
+ precision: { type: Number, default: -1 },
4892
4892
  //
4893
4893
  stringMode: { type: Boolean, default: !1 },
4894
4894
  //
@@ -4935,16 +4935,16 @@ const ad = {
4935
4935
  }, ke({ _: 2 }, [
4936
4936
  S(i).length === 1 || S(s)(l.addonAfter) ? {
4937
4937
  name: "addonAfter",
4938
- fn: N(() => [
4939
- S(i).length === 1 ? de(c.$slots, "title", { key: 0 }) : q("", !0),
4938
+ fn: B(() => [
4939
+ S(i).length === 1 ? de(c.$slots, "addonAfter", { key: 0 }) : q("", !0),
4940
4940
  S(i).length !== 1 ? (O(), U("span", Fc, re(l.addonAfter), 1)) : q("", !0)
4941
4941
  ]),
4942
4942
  key: "0"
4943
4943
  } : void 0,
4944
4944
  S(u).length === 1 || S(s)(l.addonBefore) ? {
4945
4945
  name: "addonBefore",
4946
- fn: N(() => [
4947
- S(u).length === 1 ? de(c.$slots, "title", { key: 0 }) : q("", !0),
4946
+ fn: B(() => [
4947
+ S(u).length === 1 ? de(c.$slots, "addonBefore", { key: 0 }) : q("", !0),
4948
4948
  S(u).length !== 1 ? (O(), U("span", Hc, re(l.addonBefore), 1)) : q("", !0)
4949
4949
  ]),
4950
4950
  key: "1"
@@ -4994,7 +4994,7 @@ const ad = {
4994
4994
  }, ke({ _: 2 }, [
4995
4995
  t.showSuffix && !t.disabled ? {
4996
4996
  name: "suffix",
4997
- fn: N(() => [
4997
+ fn: B(() => [
4998
4998
  te("a", { onClick: o }, [
4999
4999
  D(qe, { icon: "close" })
5000
5000
  ])
@@ -5235,8 +5235,8 @@ const ad = {
5235
5235
  };
5236
5236
  return ye(
5237
5237
  () => [l.tenantId, l.corpId, l.value],
5238
- async ([j, I, F], [Q, B, se]) => {
5239
- const he = j !== Q, Ce = I !== B, Fe = F !== a.value;
5238
+ async ([j, I, F], [Q, N, se]) => {
5239
+ const he = j !== Q, Ce = I !== N, Fe = F !== a.value;
5240
5240
  (Ce || he) && (v(), await g()), Fe && w(F);
5241
5241
  }
5242
5242
  ), ue(async () => {
@@ -5252,7 +5252,7 @@ const ad = {
5252
5252
  return O(), U("div", Yc, [
5253
5253
  D(Q, {
5254
5254
  value: a.value,
5255
- "onUpdate:value": I[0] || (I[0] = (B) => a.value = B),
5255
+ "onUpdate:value": I[0] || (I[0] = (N) => a.value = N),
5256
5256
  placeholder: f,
5257
5257
  style: { width: "100%" },
5258
5258
  "filter-option": m,
@@ -5267,7 +5267,7 @@ const ad = {
5267
5267
  }, ke({ _: 2 }, [
5268
5268
  u.value ? {
5269
5269
  name: "notFoundContent",
5270
- fn: N(() => [
5270
+ fn: B(() => [
5271
5271
  D(F, { size: "small" })
5272
5272
  ]),
5273
5273
  key: "0"
@@ -5344,8 +5344,8 @@ const ad = {
5344
5344
  return ye(
5345
5345
  () => [l.tenantId, l.corpId, l.value],
5346
5346
  async ([y, k, j], [I, F, Q]) => {
5347
- const B = y !== I, se = k !== F, he = j !== a.value;
5348
- (se || B) && (i.value = [], w()), he && m(j).then((Ce) => {
5347
+ const N = y !== I, se = k !== F, he = j !== a.value;
5348
+ (se || N) && (i.value = [], w()), he && m(j).then((Ce) => {
5349
5349
  Ce || g(j).then(() => {
5350
5350
  b(j);
5351
5351
  });
@@ -5384,7 +5384,7 @@ const ad = {
5384
5384
  }, ke({ _: 2 }, [
5385
5385
  u.value ? {
5386
5386
  name: "notFoundContent",
5387
- fn: N(() => [
5387
+ fn: B(() => [
5388
5388
  D(j, { size: "small" })
5389
5389
  ]),
5390
5390
  key: "0"
@@ -5420,16 +5420,16 @@ const ad = {
5420
5420
  collapsible: n.showArrow ? "" : "disabled",
5421
5421
  accordion: ""
5422
5422
  }, {
5423
- default: N(() => [
5423
+ default: B(() => [
5424
5424
  (O(!0), U(xe, null, Me(S(l), (p) => (O(), z(d, {
5425
5425
  key: p,
5426
5426
  forceRender: "",
5427
5427
  showArrow: n.showArrow
5428
5428
  }, {
5429
- header: N(() => [
5429
+ header: B(() => [
5430
5430
  S(a).length === 1 ? de(i.$slots, "header", { key: 0 }) : (O(), U("span", Gc, re(o.value[p]), 1))
5431
5431
  ]),
5432
- default: N(() => [
5432
+ default: B(() => [
5433
5433
  de(i.$slots, p)
5434
5434
  ]),
5435
5435
  _: 2
@@ -5541,7 +5541,7 @@ const hd = {
5541
5541
  tabBarStyle: { margin: 0, backgroundColor: S(l) },
5542
5542
  onChange: d
5543
5543
  }, ke({
5544
- default: N(() => [
5544
+ default: B(() => [
5545
5545
  (O(!0), U(xe, null, Me(S(r), (c, m) => {
5546
5546
  var C;
5547
5547
  return O(), z(g, {
@@ -5549,7 +5549,7 @@ const hd = {
5549
5549
  forceRender: t.forceRender && !((C = t.notForceRender) != null && C.includes(c)),
5550
5550
  style: Ya(t.position === "left" ? { paddingLeft: "0" } : {})
5551
5551
  }, {
5552
- tab: N(() => [
5552
+ tab: B(() => [
5553
5553
  te("span", {
5554
5554
  style: Ya(m === 0 && t.position === "top" ? { marginLeft: "10px" } : {})
5555
5555
  }, [
@@ -5557,7 +5557,7 @@ const hd = {
5557
5557
  ge(" " + re(i.value[c]), 1)
5558
5558
  ], 4)
5559
5559
  ]),
5560
- default: N(() => [
5560
+ default: B(() => [
5561
5561
  de(f.$slots, c)
5562
5562
  ]),
5563
5563
  _: 2
@@ -5568,7 +5568,7 @@ const hd = {
5568
5568
  }, [
5569
5569
  S(a).length !== S(r).length ? {
5570
5570
  name: "rightExtra",
5571
- fn: N(() => [
5571
+ fn: B(() => [
5572
5572
  de(f.$slots, "rightExtra")
5573
5573
  ]),
5574
5574
  key: "0"