@baosight/er4j 0.0.47 → 0.0.48

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.
@@ -3,7 +3,7 @@ var Bl = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
5
  var Od = (e, a, t) => a in e ? Sd(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t;
6
- var j = (e, a, t) => Od(e, typeof a != "symbol" ? a + "" : a, t), Io = (e, a, t) => a.has(e) || Bl("Cannot " + t);
6
+ var q = (e, a, t) => Od(e, typeof a != "symbol" ? a + "" : a, t), Io = (e, a, t) => a.has(e) || Bl("Cannot " + t);
7
7
  var tt = (e, a, t) => (Io(e, a, "read from private field"), t ? t.call(e) : a.get(e)), ma = (e, a, t) => a.has(e) ? Bl("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(e) : a.set(e, t), sr = (e, a, t, o) => (Io(e, a, "write to private field"), o ? o.call(e, t) : a.set(e, t), t), Ea = (e, a, t) => (Io(e, a, "access private method"), t);
8
8
  import { defineComponent as Pt, ref as ge, onMounted as cr, nextTick as Tr, h as gt, resolveComponent as mt, resolveDirective as mc, createBlock as Qe, openBlock as fe, withCtx as Te, withDirectives as nr, createSlots as dr, createVNode as at, resolveDynamicComponent as za, onBeforeMount as Zo, createElementBlock as lt, normalizeStyle as wt, createElementVNode as nt, createCommentVNode as ht, createTextVNode as pr, toDisplayString as xt, vModelText as Id, withKeys as Fd, Fragment as or, renderList as Gr, withModifiers as Ec, onUnmounted as In, normalizeClass as zt, render as Oi, isProxy as Ul, toRaw as Gl, reactive as Or, isRef as Cc, createApp as pi, vShow as _r, getCurrentInstance as yd, computed as ka, renderSlot as Ma, onBeforeUnmount as _c, createStaticVNode as Dd, watch as ni, vModelSelect as Hl, useAttrs as ho, unref as it, mergeProps as Lr } from "vue";
9
9
  import Ad, { ConfigProvider as Xr, Input as Na, DatePicker as el, Button as Za, Tooltip as Xa, InputGroup as tl, InputNumber as po, Textarea as go, Badge as rl, Tag as mo, Image as wd, message as Rn, Modal as Ii, Spin as Md, Checkbox as al, Radio as Tc, SelectOption as kd, Select as vc, CheckboxGroup as bd, RadioGroup as xc, Popover as Sc, Form as Oc, FormItem as Rd, Divider as Nd, Switch as Pd, Dropdown as Ld, TimePicker as Bd, Menu as Ud, InputPassword as Gd, Tree as Hd, TabPane as Vd, Tabs as $d } from "ant-design-vue";
@@ -4523,18 +4523,18 @@ const p0 = /* @__PURE__ */ Ir(f0, [["render", h0]]), g0 = Pt({
4523
4523
  if (Re && Re.DropDownBindSource[e.params.configId] && Re.DropDownBindSource[e.params.configId][e.params.colDef.colId]) {
4524
4524
  const Ce = Re.DropDownBindSource[e.params.configId][e.params.colDef.colId], Ke = (ve = e.params.colDef.context) == null ? void 0 : ve.columnConfig;
4525
4525
  v = Ce.dataValueField || "CODE", x = Ce.dataTextField || "CODE_DESC_1_CONTENT", T = Ce.dataSource;
4526
- const Ne = ((Be = Ke == null ? void 0 : Ke.FATHER_FIELD) == null ? void 0 : Be.trim()) || "", Y = ((xe = Ke == null ? void 0 : Ke.FORM_FILTER) == null ? void 0 : xe.trim()) || "", he = ((Ye = Ke == null ? void 0 : Ke.LAYOUT_ID) == null ? void 0 : Ye.trim()) || e.params.configId;
4527
- if (Ne.length > 0 && Y.length > 0)
4526
+ const Ne = ((Be = Ke == null ? void 0 : Ke.FATHER_FIELD) == null ? void 0 : Be.trim()) || "", z = ((xe = Ke == null ? void 0 : Ke.FORM_FILTER) == null ? void 0 : xe.trim()) || "", he = ((Ye = Ke == null ? void 0 : Ke.LAYOUT_ID) == null ? void 0 : Ye.trim()) || e.params.configId;
4527
+ if (Ne.length > 0 && z.length > 0)
4528
4528
  if (he === e.params.configId && e.params.data)
4529
- T = Re.filterDropDownCascaderDataSource(Ce.dataSource, Y, e.params.data[Ne] || "");
4529
+ T = Re.filterDropDownCascaderDataSource(Ce.dataSource, z, e.params.data[Ne] || "");
4530
4530
  else {
4531
4531
  const r = Re.getGrid(he);
4532
4532
  if (r) {
4533
4533
  const i = Re.getGridCurrentRow(r, !0);
4534
- i && (T = Re.filterDropDownCascaderDataSource(Ce.dataSource, Y, i[Ne] || ""));
4534
+ i && (T = Re.filterDropDownCascaderDataSource(Ce.dataSource, z, i[Ne] || ""));
4535
4535
  } else {
4536
4536
  const i = Re.getLayoutBindModel(he);
4537
- i && (T = Re.filterDropDownCascaderDataSource(Ce.dataSource, Y, i[Ne] || ""));
4537
+ i && (T = Re.filterDropDownCascaderDataSource(Ce.dataSource, z, i[Ne] || ""));
4538
4538
  }
4539
4539
  }
4540
4540
  (T == null ? void 0 : T.length) > 10 && (u.value = {
@@ -4585,11 +4585,11 @@ const p0 = /* @__PURE__ */ Ir(f0, [["render", h0]]), g0 = Pt({
4585
4585
  suppressMenu: !0,
4586
4586
  floatingFilter: T && T.length > 10
4587
4587
  };
4588
- _ && (Ne.cellRenderer = (Y) => {
4588
+ _ && (Ne.cellRenderer = (z) => {
4589
4589
  var r, i, n;
4590
- const he = D.Core.toString(Y.value).replace(/</g, "&lt;");
4591
- if (((r = Y.value) == null ? void 0 : r.length) > 0)
4592
- return (i = _[Y.value]) != null && i.trim().startsWith("IconFont:") || (n = _[Y.value]) != null && n.startsWith("ImgUrl:") ? ue(_[Y.value], he) : he;
4590
+ const he = D.Core.toString(z.value).replace(/</g, "&lt;");
4591
+ if (((r = z.value) == null ? void 0 : r.length) > 0)
4592
+ return (i = _[z.value]) != null && i.trim().startsWith("IconFont:") || (n = _[z.value]) != null && n.startsWith("ImgUrl:") ? ue(_[z.value], he) : he;
4593
4593
  }), f.push(Ne), f.push({
4594
4594
  colId: "CODE_DESC_1_CONTENT",
4595
4595
  field: "CODE_DESC_1_CONTENT",
@@ -4632,14 +4632,14 @@ const p0 = /* @__PURE__ */ Ir(f0, [["render", h0]]), g0 = Pt({
4632
4632
  o.value = Ne.data[v], e.params.stopEditing();
4633
4633
  }), a.value.gridOptions.api.addEventListener("firstDataRendered", (Ne) => {
4634
4634
  if (D.Core.toString(o.value, !0).trim().length > 0) {
4635
- const Y = D.Core.toString(o.value, !0).split(",");
4635
+ const z = D.Core.toString(o.value, !0).split(",");
4636
4636
  let he = !1;
4637
4637
  Ne.api.forEachNodeAfterFilterAndSort((r) => {
4638
- Y.includes(r.data[v]) && (r.setSelected(!0), Ne.api.setFocusedCell(r.rowIndex, x), he || Ne.api.ensureIndexVisible(r.rowIndex, "top"), he = !0);
4638
+ z.includes(r.data[v]) && (r.setSelected(!0), Ne.api.setFocusedCell(r.rowIndex, x), he || Ne.api.ensureIndexVisible(r.rowIndex, "top"), he = !0);
4639
4639
  });
4640
4640
  }
4641
4641
  }), Tr(() => {
4642
- D.Core.jQuery(a.value).focus(), new ResizeObserver(D.Core.debounce((Y) => {
4642
+ D.Core.jQuery(a.value).focus(), new ResizeObserver(D.Core.debounce((z) => {
4643
4643
  var r, i, n, s;
4644
4644
  (n = (i = (r = a == null ? void 0 : a.value) == null ? void 0 : r.gridOptions) == null ? void 0 : i.api) == null || n.sizeColumnsToFit();
4645
4645
  let he = 0;
@@ -7380,7 +7380,7 @@ var Vh = /* @__PURE__ */ function() {
7380
7380
  return X;
7381
7381
  }
7382
7382
  var Ne;
7383
- function Y(P) {
7383
+ function z(P) {
7384
7384
  try {
7385
7385
  var re = P.InflateRaw, X = new re();
7386
7386
  if (X._processChunk(new Uint8Array([3, 0]), X._finishFlushFlag), X.bytesRead) Ne = P;
@@ -7431,11 +7431,11 @@ var Vh = /* @__PURE__ */ function() {
7431
7431
  var K = re & 7, ae = re >>> 3, ne = (1 << X) - 1, Pe = P[ae] >>> K;
7432
7432
  return X < 8 - K || (Pe |= P[ae + 1] << 8 - K, X < 16 - K) || (Pe |= P[ae + 2] << 16 - K, X < 24 - K) || (Pe |= P[ae + 3] << 24 - K), Pe & ne;
7433
7433
  }
7434
- function z(P, re, X) {
7434
+ function Y(P, re, X) {
7435
7435
  var K = re & 7, ae = re >>> 3;
7436
7436
  return K <= 5 ? P[ae] |= (X & 7) << K : (P[ae] |= X << K & 255, P[ae + 1] = (X & 7) >> 8 - K), re + 3;
7437
7437
  }
7438
- function q(P, re, X) {
7438
+ function j(P, re, X) {
7439
7439
  var K = re & 7, ae = re >>> 3;
7440
7440
  return X = (X & 1) << K, P[ae] |= X, re + 1;
7441
7441
  }
@@ -7521,11 +7521,11 @@ var Vh = /* @__PURE__ */ function() {
7521
7521
  Math.min(65535, We.length - Ge)
7522
7522
  );
7523
7523
  if (k < 10) {
7524
- for (be = z(Me, be, +(Ge + k == We.length)), be & 7 && (be += 8 - (be & 7)), Me.l = be / 8 | 0, Me.write_shift(2, k), Me.write_shift(2, ~k & 65535); k-- > 0; ) Me[Me.l++] = We[Ge++];
7524
+ for (be = Y(Me, be, +(Ge + k == We.length)), be & 7 && (be += 8 - (be & 7)), Me.l = be / 8 | 0, Me.write_shift(2, k), Me.write_shift(2, ~k & 65535); k-- > 0; ) Me[Me.l++] = We[Ge++];
7525
7525
  be = Me.l * 8;
7526
7526
  continue;
7527
7527
  }
7528
- be = z(Me, be, +(Ge + k == We.length) + 2);
7528
+ be = Y(Me, be, +(Ge + k == We.length) + 2);
7529
7529
  for (var ie = 0; k-- > 0; ) {
7530
7530
  var Ee = We[Ge];
7531
7531
  ie = (ie << 5 ^ Ee) & 32767;
@@ -7542,7 +7542,7 @@ var Vh = /* @__PURE__ */ function() {
7542
7542
  ct[ie] = Ge & 32767, ie = (ie << 5 ^ We[Ge]) & 32767, ++Ge;
7543
7543
  k -= Je - 1;
7544
7544
  } else
7545
- Ee <= 143 ? Ee = Ee + 48 : be = q(Me, be, 1), be = Fe(Me, be, p[Ee]), ct[ie] = Ge & 32767, ++Ge;
7545
+ Ee <= 143 ? Ee = Ee + 48 : be = j(Me, be, 1), be = Fe(Me, be, p[Ee]), ct[ie] = Ge & 32767, ++Ge;
7546
7546
  }
7547
7547
  be = Fe(Me, be, 0) - 1;
7548
7548
  }
@@ -7897,7 +7897,7 @@ var Vh = /* @__PURE__ */ function() {
7897
7897
  CheckField: _u,
7898
7898
  prep_blob: jr,
7899
7899
  bconcat: mi,
7900
- use_zlib: Y,
7900
+ use_zlib: z,
7901
7901
  _deflateRaw: oe,
7902
7902
  _inflateRaw: St,
7903
7903
  consts: Ie
@@ -11269,8 +11269,8 @@ var Fm = [2, 3, 48, 49, 131, 139, 140, 245], qs = /* @__PURE__ */ function() {
11269
11269
  break;
11270
11270
  case "E":
11271
11271
  Ce = !0;
11272
- var Y = Xi(ve[ee].slice(1), { r: O, c: w });
11273
- R[O][w] = [R[O][w], Y];
11272
+ var z = Xi(ve[ee].slice(1), { r: O, c: w });
11273
+ R[O][w] = [R[O][w], z];
11274
11274
  break;
11275
11275
  case "S":
11276
11276
  Re = !0, R[O][w] = [R[O][w], "S5S"];
@@ -11755,35 +11755,35 @@ function wm(e, a) {
11755
11755
  }
11756
11756
  }
11757
11757
  var hn = /* @__PURE__ */ function() {
11758
- function e(Y, he, r) {
11759
- if (Y) {
11760
- jr(Y, Y.l || 0);
11761
- for (var i = r.Enum || Ke; Y.l < Y.length; ) {
11762
- var n = Y.read_shift(2), s = i[n] || i[65535], c = Y.read_shift(2), h = Y.l + c, p = s.f && s.f(Y, c, r);
11763
- if (Y.l = h, he(p, s, n)) return;
11758
+ function e(z, he, r) {
11759
+ if (z) {
11760
+ jr(z, z.l || 0);
11761
+ for (var i = r.Enum || Ke; z.l < z.length; ) {
11762
+ var n = z.read_shift(2), s = i[n] || i[65535], c = z.read_shift(2), h = z.l + c, p = s.f && s.f(z, c, r);
11763
+ if (z.l = h, he(p, s, n)) return;
11764
11764
  }
11765
11765
  }
11766
11766
  }
11767
- function a(Y, he) {
11767
+ function a(z, he) {
11768
11768
  switch (he.type) {
11769
11769
  case "base64":
11770
- return t(Va(Oa(Y)), he);
11770
+ return t(Va(Oa(z)), he);
11771
11771
  case "binary":
11772
- return t(Va(Y), he);
11772
+ return t(Va(z), he);
11773
11773
  case "buffer":
11774
11774
  case "array":
11775
- return t(Y, he);
11775
+ return t(z, he);
11776
11776
  }
11777
11777
  throw "Unsupported type " + he.type;
11778
11778
  }
11779
- function t(Y, he) {
11780
- if (!Y) return Y;
11779
+ function t(z, he) {
11780
+ if (!z) return z;
11781
11781
  var r = he || {}, i = r.dense ? [] : {}, n = "Sheet1", s = "", c = 0, h = {}, p = [], E = [], m = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, I = r.sheetRows || 0;
11782
- if (Y[2] == 0 && (Y[3] == 8 || Y[3] == 9) && Y.length >= 16 && Y[14] == 5 && Y[15] === 108)
11782
+ if (z[2] == 0 && (z[3] == 8 || z[3] == 9) && z.length >= 16 && z[14] == 5 && z[15] === 108)
11783
11783
  throw new Error("Unsupported Works 3 for Mac file");
11784
- if (Y[2] == 2)
11785
- r.Enum = Ke, e(Y, function(N, G, z) {
11786
- switch (z) {
11784
+ if (z[2] == 2)
11785
+ r.Enum = Ke, e(z, function(N, G, Y) {
11786
+ switch (Y) {
11787
11787
  case 0:
11788
11788
  r.vers = N, N >= 4096 && (r.qpro = !0);
11789
11789
  break;
@@ -11809,19 +11809,19 @@ var hn = /* @__PURE__ */ function() {
11809
11809
  case 14:
11810
11810
  /* NUMBER */
11811
11811
  case 16:
11812
- z == 14 && (N[2] & 112) == 112 && (N[2] & 15) > 1 && (N[2] & 15) < 15 && (N[1].z = r.dateNF || Vt[14], r.cellDates && (N[1].t = "d", N[1].v = To(N[1].v))), r.qpro && N[3] > c && (i["!ref"] = Jt(m), h[n] = i, p.push(n), i = r.dense ? [] : {}, m = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, c = N[3], n = s || "Sheet" + (c + 1), s = "");
11813
- var q = r.dense ? (i[N[0].r] || [])[N[0].c] : i[Bt(N[0])];
11814
- if (q) {
11815
- q.t = N[1].t, q.v = N[1].v, N[1].z != null && (q.z = N[1].z), N[1].f != null && (q.f = N[1].f);
11812
+ Y == 14 && (N[2] & 112) == 112 && (N[2] & 15) > 1 && (N[2] & 15) < 15 && (N[1].z = r.dateNF || Vt[14], r.cellDates && (N[1].t = "d", N[1].v = To(N[1].v))), r.qpro && N[3] > c && (i["!ref"] = Jt(m), h[n] = i, p.push(n), i = r.dense ? [] : {}, m = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, c = N[3], n = s || "Sheet" + (c + 1), s = "");
11813
+ var j = r.dense ? (i[N[0].r] || [])[N[0].c] : i[Bt(N[0])];
11814
+ if (j) {
11815
+ j.t = N[1].t, j.v = N[1].v, N[1].z != null && (j.z = N[1].z), N[1].f != null && (j.f = N[1].f);
11816
11816
  break;
11817
11817
  }
11818
11818
  r.dense ? (i[N[0].r] || (i[N[0].r] = []), i[N[0].r][N[0].c] = N[1]) : i[Bt(N[0])] = N[1];
11819
11819
  break;
11820
11820
  }
11821
11821
  }, r);
11822
- else if (Y[2] == 26 || Y[2] == 14)
11823
- r.Enum = Ne, Y[2] == 14 && (r.qpro = !0, Y.l = 0), e(Y, function(N, G, z) {
11824
- switch (z) {
11822
+ else if (z[2] == 26 || z[2] == 14)
11823
+ r.Enum = Ne, z[2] == 14 && (r.qpro = !0, z.l = 0), e(z, function(N, G, Y) {
11824
+ switch (Y) {
11825
11825
  case 204:
11826
11826
  n = N;
11827
11827
  break;
@@ -11851,20 +11851,20 @@ var hn = /* @__PURE__ */ function() {
11851
11851
  break;
11852
11852
  }
11853
11853
  }, r);
11854
- else throw new Error("Unrecognized LOTUS BOF " + Y[2]);
11854
+ else throw new Error("Unrecognized LOTUS BOF " + z[2]);
11855
11855
  if (i["!ref"] = Jt(m), h[s || n] = i, p.push(s || n), !E.length) return { SheetNames: p, Sheets: h };
11856
11856
  for (var F = {}, M = [], Z = 0; Z < E.length; ++Z) h[p[Z]] ? (M.push(E[Z] || p[Z]), F[E[Z]] = h[E[Z]] || h[p[Z]]) : (M.push(E[Z]), F[E[Z]] = { "!ref": "A1" });
11857
11857
  return { SheetNames: M, Sheets: F };
11858
11858
  }
11859
- function o(Y, he) {
11859
+ function o(z, he) {
11860
11860
  var r = he || {};
11861
11861
  if (+r.codepage >= 0 && $a(+r.codepage), r.type == "string") throw new Error("Cannot write WK1 to JS string");
11862
- var i = Ho(), n = Ar(Y["!ref"]), s = Array.isArray(Y), c = [];
11862
+ var i = Ho(), n = Ar(z["!ref"]), s = Array.isArray(z), c = [];
11863
11863
  Ga(i, 0, u(1030)), Ga(i, 6, C(n));
11864
11864
  for (var h = Math.min(n.e.r, 8191), p = n.s.r; p <= h; ++p)
11865
11865
  for (var E = Kr(p), m = n.s.c; m <= n.e.c; ++m) {
11866
11866
  p === n.s.r && (c[m] = $r(m));
11867
- var I = c[m] + E, F = s ? (Y[p] || [])[m] : Y[I];
11867
+ var I = c[m] + E, F = s ? (z[p] || [])[m] : z[I];
11868
11868
  if (!(!F || F.t == "z"))
11869
11869
  if (F.t == "n")
11870
11870
  (F.v | 0) == F.v && F.v >= -32768 && F.v <= 32767 ? Ga(i, 13, S(p, m, F.v)) : Ga(i, 14, O(p, m, F.v));
@@ -11875,15 +11875,15 @@ var hn = /* @__PURE__ */ function() {
11875
11875
  }
11876
11876
  return Ga(i, 1), i.end();
11877
11877
  }
11878
- function l(Y, he) {
11878
+ function l(z, he) {
11879
11879
  var r = he || {};
11880
11880
  if (+r.codepage >= 0 && $a(+r.codepage), r.type == "string") throw new Error("Cannot write WK3 to JS string");
11881
11881
  var i = Ho();
11882
- Ga(i, 0, d(Y));
11883
- for (var n = 0, s = 0; n < Y.SheetNames.length; ++n) (Y.Sheets[Y.SheetNames[n]] || {})["!ref"] && Ga(i, 27, Ce(Y.SheetNames[n], s++));
11882
+ Ga(i, 0, d(z));
11883
+ for (var n = 0, s = 0; n < z.SheetNames.length; ++n) (z.Sheets[z.SheetNames[n]] || {})["!ref"] && Ga(i, 27, Ce(z.SheetNames[n], s++));
11884
11884
  var c = 0;
11885
- for (n = 0; n < Y.SheetNames.length; ++n) {
11886
- var h = Y.Sheets[Y.SheetNames[n]];
11885
+ for (n = 0; n < z.SheetNames.length; ++n) {
11886
+ var h = z.Sheets[z.SheetNames[n]];
11887
11887
  if (!(!h || !h["!ref"])) {
11888
11888
  for (var p = Ar(h["!ref"]), E = Array.isArray(h), m = [], I = Math.min(p.e.r, 8191), F = p.s.r; F <= I; ++F)
11889
11889
  for (var M = Kr(F), Z = p.s.c; Z <= p.e.c; ++Z) {
@@ -11893,8 +11893,8 @@ var hn = /* @__PURE__ */ function() {
11893
11893
  if (G.t == "n")
11894
11894
  Ga(i, 23, Q(F, Z, c, G.v));
11895
11895
  else {
11896
- var z = oi(G);
11897
- Ga(i, 22, W(F, Z, c, z.slice(0, 239)));
11896
+ var Y = oi(G);
11897
+ Ga(i, 22, W(F, Z, c, Y.slice(0, 239)));
11898
11898
  }
11899
11899
  }
11900
11900
  ++c;
@@ -11902,15 +11902,15 @@ var hn = /* @__PURE__ */ function() {
11902
11902
  }
11903
11903
  return Ga(i, 1), i.end();
11904
11904
  }
11905
- function u(Y) {
11905
+ function u(z) {
11906
11906
  var he = Vr(2);
11907
- return he.write_shift(2, Y), he;
11907
+ return he.write_shift(2, z), he;
11908
11908
  }
11909
- function d(Y) {
11909
+ function d(z) {
11910
11910
  var he = Vr(26);
11911
11911
  he.write_shift(2, 4096), he.write_shift(2, 4), he.write_shift(4, 0);
11912
- for (var r = 0, i = 0, n = 0, s = 0; s < Y.SheetNames.length; ++s) {
11913
- var c = Y.SheetNames[s], h = Y.Sheets[c];
11912
+ for (var r = 0, i = 0, n = 0, s = 0; s < z.SheetNames.length; ++s) {
11913
+ var c = z.SheetNames[s], h = z.Sheets[c];
11914
11914
  if (!(!h || !h["!ref"])) {
11915
11915
  ++n;
11916
11916
  var p = Ji(h["!ref"]);
@@ -11919,64 +11919,64 @@ var hn = /* @__PURE__ */ function() {
11919
11919
  }
11920
11920
  return r > 8191 && (r = 8191), he.write_shift(2, r), he.write_shift(1, n), he.write_shift(1, i), he.write_shift(2, 0), he.write_shift(2, 0), he.write_shift(1, 1), he.write_shift(1, 2), he.write_shift(4, 0), he.write_shift(4, 0), he;
11921
11921
  }
11922
- function f(Y, he, r) {
11922
+ function f(z, he, r) {
11923
11923
  var i = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } };
11924
- return he == 8 && r.qpro ? (i.s.c = Y.read_shift(1), Y.l++, i.s.r = Y.read_shift(2), i.e.c = Y.read_shift(1), Y.l++, i.e.r = Y.read_shift(2), i) : (i.s.c = Y.read_shift(2), i.s.r = Y.read_shift(2), he == 12 && r.qpro && (Y.l += 2), i.e.c = Y.read_shift(2), i.e.r = Y.read_shift(2), he == 12 && r.qpro && (Y.l += 2), i.s.c == 65535 && (i.s.c = i.e.c = i.s.r = i.e.r = 0), i);
11924
+ return he == 8 && r.qpro ? (i.s.c = z.read_shift(1), z.l++, i.s.r = z.read_shift(2), i.e.c = z.read_shift(1), z.l++, i.e.r = z.read_shift(2), i) : (i.s.c = z.read_shift(2), i.s.r = z.read_shift(2), he == 12 && r.qpro && (z.l += 2), i.e.c = z.read_shift(2), i.e.r = z.read_shift(2), he == 12 && r.qpro && (z.l += 2), i.s.c == 65535 && (i.s.c = i.e.c = i.s.r = i.e.r = 0), i);
11925
11925
  }
11926
- function C(Y) {
11926
+ function C(z) {
11927
11927
  var he = Vr(8);
11928
- return he.write_shift(2, Y.s.c), he.write_shift(2, Y.s.r), he.write_shift(2, Y.e.c), he.write_shift(2, Y.e.r), he;
11928
+ return he.write_shift(2, z.s.c), he.write_shift(2, z.s.r), he.write_shift(2, z.e.c), he.write_shift(2, z.e.r), he;
11929
11929
  }
11930
- function _(Y, he, r) {
11930
+ function _(z, he, r) {
11931
11931
  var i = [{ c: 0, r: 0 }, { t: "n", v: 0 }, 0, 0];
11932
- return r.qpro && r.vers != 20768 ? (i[0].c = Y.read_shift(1), i[3] = Y.read_shift(1), i[0].r = Y.read_shift(2), Y.l += 2) : (i[2] = Y.read_shift(1), i[0].c = Y.read_shift(2), i[0].r = Y.read_shift(2)), i;
11932
+ return r.qpro && r.vers != 20768 ? (i[0].c = z.read_shift(1), i[3] = z.read_shift(1), i[0].r = z.read_shift(2), z.l += 2) : (i[2] = z.read_shift(1), i[0].c = z.read_shift(2), i[0].r = z.read_shift(2)), i;
11933
11933
  }
11934
- function T(Y, he, r) {
11935
- var i = Y.l + he, n = _(Y, he, r);
11934
+ function T(z, he, r) {
11935
+ var i = z.l + he, n = _(z, he, r);
11936
11936
  if (n[1].t = "s", r.vers == 20768) {
11937
- Y.l++;
11938
- var s = Y.read_shift(1);
11939
- return n[1].v = Y.read_shift(s, "utf8"), n;
11937
+ z.l++;
11938
+ var s = z.read_shift(1);
11939
+ return n[1].v = z.read_shift(s, "utf8"), n;
11940
11940
  }
11941
- return r.qpro && Y.l++, n[1].v = Y.read_shift(i - Y.l, "cstr"), n;
11941
+ return r.qpro && z.l++, n[1].v = z.read_shift(i - z.l, "cstr"), n;
11942
11942
  }
11943
- function v(Y, he, r) {
11943
+ function v(z, he, r) {
11944
11944
  var i = Vr(7 + r.length);
11945
- i.write_shift(1, 255), i.write_shift(2, he), i.write_shift(2, Y), i.write_shift(1, 39);
11945
+ i.write_shift(1, 255), i.write_shift(2, he), i.write_shift(2, z), i.write_shift(1, 39);
11946
11946
  for (var n = 0; n < i.length; ++n) {
11947
11947
  var s = r.charCodeAt(n);
11948
11948
  i.write_shift(1, s >= 128 ? 95 : s);
11949
11949
  }
11950
11950
  return i.write_shift(1, 0), i;
11951
11951
  }
11952
- function x(Y, he, r) {
11953
- var i = _(Y, he, r);
11954
- return i[1].v = Y.read_shift(2, "i"), i;
11952
+ function x(z, he, r) {
11953
+ var i = _(z, he, r);
11954
+ return i[1].v = z.read_shift(2, "i"), i;
11955
11955
  }
11956
- function S(Y, he, r) {
11956
+ function S(z, he, r) {
11957
11957
  var i = Vr(7);
11958
- return i.write_shift(1, 255), i.write_shift(2, he), i.write_shift(2, Y), i.write_shift(2, r, "i"), i;
11958
+ return i.write_shift(1, 255), i.write_shift(2, he), i.write_shift(2, z), i.write_shift(2, r, "i"), i;
11959
11959
  }
11960
- function y(Y, he, r) {
11961
- var i = _(Y, he, r);
11962
- return i[1].v = Y.read_shift(8, "f"), i;
11960
+ function y(z, he, r) {
11961
+ var i = _(z, he, r);
11962
+ return i[1].v = z.read_shift(8, "f"), i;
11963
11963
  }
11964
- function O(Y, he, r) {
11964
+ function O(z, he, r) {
11965
11965
  var i = Vr(13);
11966
- return i.write_shift(1, 255), i.write_shift(2, he), i.write_shift(2, Y), i.write_shift(8, r, "f"), i;
11966
+ return i.write_shift(1, 255), i.write_shift(2, he), i.write_shift(2, z), i.write_shift(8, r, "f"), i;
11967
11967
  }
11968
- function w(Y, he, r) {
11969
- var i = Y.l + he, n = _(Y, he, r);
11970
- if (n[1].v = Y.read_shift(8, "f"), r.qpro) Y.l = i;
11968
+ function w(z, he, r) {
11969
+ var i = z.l + he, n = _(z, he, r);
11970
+ if (n[1].v = z.read_shift(8, "f"), r.qpro) z.l = i;
11971
11971
  else {
11972
- var s = Y.read_shift(2);
11973
- L(Y.slice(Y.l, Y.l + s), n), Y.l += s;
11972
+ var s = z.read_shift(2);
11973
+ L(z.slice(z.l, z.l + s), n), z.l += s;
11974
11974
  }
11975
11975
  return n;
11976
11976
  }
11977
- function H(Y, he, r) {
11977
+ function H(z, he, r) {
11978
11978
  var i = he & 32768;
11979
- return he &= -32769, he = (i ? Y : 0) + (he >= 8192 ? he - 16384 : he), (i ? "" : "$") + (r ? $r(he) : Kr(he));
11979
+ return he &= -32769, he = (i ? z : 0) + (he >= 8192 ? he - 16384 : he), (i ? "" : "$") + (r ? $r(he) : Kr(he));
11980
11980
  }
11981
11981
  var ee = {
11982
11982
  51: ["FALSE", 0],
@@ -12026,25 +12026,25 @@ var hn = /* @__PURE__ */ function() {
12026
12026
  ""
12027
12027
  // eslint-disable-line no-mixed-spaces-and-tabs
12028
12028
  ];
12029
- function L(Y, he) {
12030
- jr(Y, 0);
12031
- for (var r = [], i = 0, n = "", s = "", c = "", h = ""; Y.l < Y.length; ) {
12032
- var p = Y[Y.l++];
12029
+ function L(z, he) {
12030
+ jr(z, 0);
12031
+ for (var r = [], i = 0, n = "", s = "", c = "", h = ""; z.l < z.length; ) {
12032
+ var p = z[z.l++];
12033
12033
  switch (p) {
12034
12034
  case 0:
12035
- r.push(Y.read_shift(8, "f"));
12035
+ r.push(z.read_shift(8, "f"));
12036
12036
  break;
12037
12037
  case 1:
12038
- s = H(he[0].c, Y.read_shift(2), !0), n = H(he[0].r, Y.read_shift(2), !1), r.push(s + n);
12038
+ s = H(he[0].c, z.read_shift(2), !0), n = H(he[0].r, z.read_shift(2), !1), r.push(s + n);
12039
12039
  break;
12040
12040
  case 2:
12041
12041
  {
12042
- var E = H(he[0].c, Y.read_shift(2), !0), m = H(he[0].r, Y.read_shift(2), !1);
12043
- s = H(he[0].c, Y.read_shift(2), !0), n = H(he[0].r, Y.read_shift(2), !1), r.push(E + m + ":" + s + n);
12042
+ var E = H(he[0].c, z.read_shift(2), !0), m = H(he[0].r, z.read_shift(2), !1);
12043
+ s = H(he[0].c, z.read_shift(2), !0), n = H(he[0].r, z.read_shift(2), !1), r.push(E + m + ":" + s + n);
12044
12044
  }
12045
12045
  break;
12046
12046
  case 3:
12047
- if (Y.l < Y.length) {
12047
+ if (z.l < z.length) {
12048
12048
  console.error("WK1 premature formula end");
12049
12049
  return;
12050
12050
  }
@@ -12053,11 +12053,11 @@ var hn = /* @__PURE__ */ function() {
12053
12053
  r.push("(" + r.pop() + ")");
12054
12054
  break;
12055
12055
  case 5:
12056
- r.push(Y.read_shift(2));
12056
+ r.push(z.read_shift(2));
12057
12057
  break;
12058
12058
  case 6:
12059
12059
  {
12060
- for (var I = ""; p = Y[Y.l++]; ) I += String.fromCharCode(p);
12060
+ for (var I = ""; p = z[z.l++]; ) I += String.fromCharCode(p);
12061
12061
  r.push('"' + I.replace(/"/g, '""') + '"');
12062
12062
  }
12063
12063
  break;
@@ -12078,7 +12078,7 @@ var hn = /* @__PURE__ */ function() {
12078
12078
  if (p < 32 && R[p])
12079
12079
  h = r.pop(), c = r.pop(), r.push(c + R[p] + h);
12080
12080
  else if (ee[p]) {
12081
- if (i = ee[p][1], i == 69 && (i = Y[Y.l++]), i > r.length) {
12081
+ if (i = ee[p][1], i == 69 && (i = z[z.l++]), i > r.length) {
12082
12082
  console.error("WK1 bad formula parse 0x" + p.toString(16) + ":|" + r.join("|") + "|");
12083
12083
  return;
12084
12084
  }
@@ -12089,26 +12089,26 @@ var hn = /* @__PURE__ */ function() {
12089
12089
  }
12090
12090
  r.length == 1 ? he[1].f = "" + r[0] : console.error("WK1 bad formula parse |" + r.join("|") + "|");
12091
12091
  }
12092
- function pe(Y) {
12092
+ function pe(z) {
12093
12093
  var he = [{ c: 0, r: 0 }, { t: "n", v: 0 }, 0];
12094
- return he[0].r = Y.read_shift(2), he[3] = Y[Y.l++], he[0].c = Y[Y.l++], he;
12094
+ return he[0].r = z.read_shift(2), he[3] = z[z.l++], he[0].c = z[z.l++], he;
12095
12095
  }
12096
- function se(Y, he) {
12097
- var r = pe(Y);
12098
- return r[1].t = "s", r[1].v = Y.read_shift(he - 4, "cstr"), r;
12096
+ function se(z, he) {
12097
+ var r = pe(z);
12098
+ return r[1].t = "s", r[1].v = z.read_shift(he - 4, "cstr"), r;
12099
12099
  }
12100
- function W(Y, he, r, i) {
12100
+ function W(z, he, r, i) {
12101
12101
  var n = Vr(6 + i.length);
12102
- n.write_shift(2, Y), n.write_shift(1, r), n.write_shift(1, he), n.write_shift(1, 39);
12102
+ n.write_shift(2, z), n.write_shift(1, r), n.write_shift(1, he), n.write_shift(1, 39);
12103
12103
  for (var s = 0; s < i.length; ++s) {
12104
12104
  var c = i.charCodeAt(s);
12105
12105
  n.write_shift(1, c >= 128 ? 95 : c);
12106
12106
  }
12107
12107
  return n.write_shift(1, 0), n;
12108
12108
  }
12109
- function ue(Y, he) {
12110
- var r = pe(Y);
12111
- r[1].v = Y.read_shift(2);
12109
+ function ue(z, he) {
12110
+ var r = pe(z);
12111
+ r[1].v = z.read_shift(2);
12112
12112
  var i = r[1].v >> 1;
12113
12113
  if (r[1].v & 1)
12114
12114
  switch (i & 7) {
@@ -12139,69 +12139,69 @@ var hn = /* @__PURE__ */ function() {
12139
12139
  }
12140
12140
  return r[1].v = i, r;
12141
12141
  }
12142
- function b(Y, he) {
12143
- var r = pe(Y), i = Y.read_shift(4), n = Y.read_shift(4), s = Y.read_shift(2);
12142
+ function b(z, he) {
12143
+ var r = pe(z), i = z.read_shift(4), n = z.read_shift(4), s = z.read_shift(2);
12144
12144
  if (s == 65535)
12145
12145
  return i === 0 && n === 3221225472 ? (r[1].t = "e", r[1].v = 15) : i === 0 && n === 3489660928 ? (r[1].t = "e", r[1].v = 42) : r[1].v = 0, r;
12146
12146
  var c = s & 32768;
12147
12147
  return s = (s & 32767) - 16446, r[1].v = (1 - c * 2) * (n * Math.pow(2, s + 32) + i * Math.pow(2, s)), r;
12148
12148
  }
12149
- function Q(Y, he, r, i) {
12149
+ function Q(z, he, r, i) {
12150
12150
  var n = Vr(14);
12151
- if (n.write_shift(2, Y), n.write_shift(1, r), n.write_shift(1, he), i == 0)
12151
+ if (n.write_shift(2, z), n.write_shift(1, r), n.write_shift(1, he), i == 0)
12152
12152
  return n.write_shift(4, 0), n.write_shift(4, 0), n.write_shift(2, 65535), n;
12153
12153
  var s = 0, c = 0, h = 0, p = 0;
12154
12154
  return i < 0 && (s = 1, i = -i), c = Math.log2(i) | 0, i /= Math.pow(2, c - 31), p = i >>> 0, (p & 2147483648) == 0 && (i /= 2, ++c, p = i >>> 0), i -= p, p |= 2147483648, p >>>= 0, i *= Math.pow(2, 32), h = i >>> 0, n.write_shift(4, h), n.write_shift(4, p), c += 16383 + (s ? 32768 : 0), n.write_shift(2, c), n;
12155
12155
  }
12156
- function ce(Y, he) {
12157
- var r = b(Y);
12158
- return Y.l += he - 14, r;
12156
+ function ce(z, he) {
12157
+ var r = b(z);
12158
+ return z.l += he - 14, r;
12159
12159
  }
12160
- function J(Y, he) {
12161
- var r = pe(Y), i = Y.read_shift(4);
12160
+ function J(z, he) {
12161
+ var r = pe(z), i = z.read_shift(4);
12162
12162
  return r[1].v = i >> 6, r;
12163
12163
  }
12164
- function ve(Y, he) {
12165
- var r = pe(Y), i = Y.read_shift(8, "f");
12164
+ function ve(z, he) {
12165
+ var r = pe(z), i = z.read_shift(8, "f");
12166
12166
  return r[1].v = i, r;
12167
12167
  }
12168
- function Be(Y, he) {
12169
- var r = ve(Y);
12170
- return Y.l += he - 10, r;
12168
+ function Be(z, he) {
12169
+ var r = ve(z);
12170
+ return z.l += he - 10, r;
12171
12171
  }
12172
- function xe(Y, he) {
12173
- return Y[Y.l + he - 1] == 0 ? Y.read_shift(he, "cstr") : "";
12172
+ function xe(z, he) {
12173
+ return z[z.l + he - 1] == 0 ? z.read_shift(he, "cstr") : "";
12174
12174
  }
12175
- function Ye(Y, he) {
12176
- var r = Y[Y.l++];
12175
+ function Ye(z, he) {
12176
+ var r = z[z.l++];
12177
12177
  r > he - 1 && (r = he - 1);
12178
- for (var i = ""; i.length < r; ) i += String.fromCharCode(Y[Y.l++]);
12178
+ for (var i = ""; i.length < r; ) i += String.fromCharCode(z[z.l++]);
12179
12179
  return i;
12180
12180
  }
12181
- function Ie(Y, he, r) {
12181
+ function Ie(z, he, r) {
12182
12182
  if (!(!r.qpro || he < 21)) {
12183
- var i = Y.read_shift(1);
12184
- Y.l += 17, Y.l += 1, Y.l += 2;
12185
- var n = Y.read_shift(he - 21, "cstr");
12183
+ var i = z.read_shift(1);
12184
+ z.l += 17, z.l += 1, z.l += 2;
12185
+ var n = z.read_shift(he - 21, "cstr");
12186
12186
  return [i, n];
12187
12187
  }
12188
12188
  }
12189
- function Re(Y, he) {
12190
- for (var r = {}, i = Y.l + he; Y.l < i; ) {
12191
- var n = Y.read_shift(2);
12189
+ function Re(z, he) {
12190
+ for (var r = {}, i = z.l + he; z.l < i; ) {
12191
+ var n = z.read_shift(2);
12192
12192
  if (n == 14e3) {
12193
- for (r[n] = [0, ""], r[n][0] = Y.read_shift(2); Y[Y.l]; )
12194
- r[n][1] += String.fromCharCode(Y[Y.l]), Y.l++;
12195
- Y.l++;
12193
+ for (r[n] = [0, ""], r[n][0] = z.read_shift(2); z[z.l]; )
12194
+ r[n][1] += String.fromCharCode(z[z.l]), z.l++;
12195
+ z.l++;
12196
12196
  }
12197
12197
  }
12198
12198
  return r;
12199
12199
  }
12200
- function Ce(Y, he) {
12201
- var r = Vr(5 + Y.length);
12200
+ function Ce(z, he) {
12201
+ var r = Vr(5 + z.length);
12202
12202
  r.write_shift(2, 14e3), r.write_shift(2, he);
12203
- for (var i = 0; i < Y.length; ++i) {
12204
- var n = Y.charCodeAt(i);
12203
+ for (var i = 0; i < z.length; ++i) {
12204
+ var n = z.charCodeAt(i);
12205
12205
  r[r.l++] = n > 127 ? 95 : n;
12206
12206
  }
12207
12207
  return r[r.l++] = 0, r;
@@ -16684,7 +16684,7 @@ function rT(e, a) {
16684
16684
  var aT = /* @__PURE__ */ function() {
16685
16685
  var e = /<(?:\w+:)?c[ \/>]/, a = /<\/(?:\w+:)?row>/, t = /r=["']([^"']*)["']/, o = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/, l = /ref=["']([^"']*)["']/, u = Cn("v"), d = Cn("f");
16686
16686
  return function(C, _, T, v, x, S) {
16687
- for (var y = 0, O = "", w = [], H = [], ee = 0, R = 0, L = 0, pe = "", se, W, ue = 0, b = 0, Q, ce, J = 0, ve = 0, Be = Array.isArray(S.CellXf), xe, Ye = [], Ie = [], Re = Array.isArray(_), Ce = [], Ke = {}, Ne = !1, Y = !!T.sheetStubs, he = C.split(a), r = 0, i = he.length; r != i; ++r) {
16687
+ for (var y = 0, O = "", w = [], H = [], ee = 0, R = 0, L = 0, pe = "", se, W, ue = 0, b = 0, Q, ce, J = 0, ve = 0, Be = Array.isArray(S.CellXf), xe, Ye = [], Ie = [], Re = Array.isArray(_), Ce = [], Ke = {}, Ne = !1, z = !!T.sheetStubs, he = C.split(a), r = 0, i = he.length; r != i; ++r) {
16688
16688
  O = he[r].trim();
16689
16689
  var n = O.length;
16690
16690
  if (n !== 0) {
@@ -16746,19 +16746,19 @@ var aT = /* @__PURE__ */ function() {
16746
16746
  if (W.t == null && se.v === void 0)
16747
16747
  if (se.f || se.F)
16748
16748
  se.v = 0, se.t = "n";
16749
- else if (Y) se.t = "z";
16749
+ else if (z) se.t = "z";
16750
16750
  else continue;
16751
16751
  else se.t = W.t || "n";
16752
16752
  switch (v.s.c > b && (v.s.c = b), v.e.c < b && (v.e.c = b), se.t) {
16753
16753
  case "n":
16754
16754
  if (se.v == "" || se.v == null) {
16755
- if (!Y) continue;
16755
+ if (!z) continue;
16756
16756
  se.t = "z";
16757
16757
  } else se.v = parseFloat(se.v);
16758
16758
  break;
16759
16759
  case "s":
16760
16760
  if (typeof se.v > "u") {
16761
- if (!Y) continue;
16761
+ if (!z) continue;
16762
16762
  se.t = "z";
16763
16763
  } else
16764
16764
  Q = pn[parseInt(se.v, 10)], se.v = Q.t, se.r = Q.r, T.cellHTML && (se.h = Q.h);
@@ -17033,8 +17033,8 @@ function PT(e, a, t, o, l, u, d) {
17033
17033
  }
17034
17034
  if ((O = d.CellXf[Ce[0].iStyleRef]) && rd(y, O.numFmtId, null, f, u, d), H = Ce[0].c == -1 ? H + 1 : Ce[0].c, f.dense ? (C[w] || (C[w] = []), C[w][H] = y) : C[$r(H) + L] = y, f.cellFormula) {
17035
17035
  for (ue = !1, W = 0; W < b.length; ++W) {
17036
- var Y = b[W];
17037
- S.r >= Y[0].s.r && S.r <= Y[0].e.r && H >= Y[0].s.c && H <= Y[0].e.c && (y.F = Jt(Y[0]), ue = !0);
17036
+ var z = b[W];
17037
+ S.r >= z[0].s.r && S.r <= z[0].e.r && H >= z[0].s.c && H <= z[0].e.c && (y.F = Jt(z[0]), ue = !0);
17038
17038
  }
17039
17039
  !ue && Ce.length > 3 && (y.f = Ce[3]);
17040
17040
  }
@@ -17917,7 +17917,7 @@ function bo(e, a) {
17917
17917
  "True/False": '"True";"True";"False";@',
17918
17918
  "On/Off": '"Yes";"Yes";"No";@'
17919
17919
  };
17920
- var f, C = [], _, T = {}, v = [], x = t.dense ? [] : {}, S = "", y = {}, O = {}, w = Ua('<Data ss:Type="String">'), H = 0, ee = 0, R = 0, L = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }, pe = {}, se = {}, W = "", ue = 0, b = [], Q = {}, ce = {}, J = 0, ve = [], Be = [], xe = {}, Ye = [], Ie, Re = !1, Ce = [], Ke = [], Ne = {}, Y = 0, he = 0, r = { Sheets: [], WBProps: { date1904: !1 } }, i = {};
17920
+ var f, C = [], _, T = {}, v = [], x = t.dense ? [] : {}, S = "", y = {}, O = {}, w = Ua('<Data ss:Type="String">'), H = 0, ee = 0, R = 0, L = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }, pe = {}, se = {}, W = "", ue = 0, b = [], Q = {}, ce = {}, J = 0, ve = [], Be = [], xe = {}, Ye = [], Ie, Re = !1, Ce = [], Ke = [], Ne = {}, z = 0, he = 0, r = { Sheets: [], WBProps: { date1904: !1 } }, i = {};
17921
17921
  _n.lastIndex = 0, o = o.replace(/<!--([\s\S]*?)-->/mg, "");
17922
17922
  for (var n = ""; f = _n.exec(o); ) switch (f[3] = (n = f[3]).toLowerCase()) {
17923
17923
  case "data":
@@ -17933,13 +17933,13 @@ function bo(e, a) {
17933
17933
  break;
17934
17934
  case "cell":
17935
17935
  if (f[1] === "/")
17936
- if (Be.length > 0 && (y.c = Be), (!t.sheetRows || t.sheetRows > R) && y.v !== void 0 && (t.dense ? (x[R] || (x[R] = []), x[R][ee] = y) : x[$r(ee) + Kr(R)] = y), y.HRef && (y.l = { Target: rr(y.HRef) }, y.HRefScreenTip && (y.l.Tooltip = y.HRefScreenTip), delete y.HRef, delete y.HRefScreenTip), (y.MergeAcross || y.MergeDown) && (Y = ee + (parseInt(y.MergeAcross, 10) | 0), he = R + (parseInt(y.MergeDown, 10) | 0), b.push({ s: { c: ee, r: R }, e: { c: Y, r: he } })), !t.sheetStubs)
17937
- y.MergeAcross ? ee = Y + 1 : ++ee;
17936
+ if (Be.length > 0 && (y.c = Be), (!t.sheetRows || t.sheetRows > R) && y.v !== void 0 && (t.dense ? (x[R] || (x[R] = []), x[R][ee] = y) : x[$r(ee) + Kr(R)] = y), y.HRef && (y.l = { Target: rr(y.HRef) }, y.HRefScreenTip && (y.l.Tooltip = y.HRefScreenTip), delete y.HRef, delete y.HRefScreenTip), (y.MergeAcross || y.MergeDown) && (z = ee + (parseInt(y.MergeAcross, 10) | 0), he = R + (parseInt(y.MergeDown, 10) | 0), b.push({ s: { c: ee, r: R }, e: { c: z, r: he } })), !t.sheetStubs)
17937
+ y.MergeAcross ? ee = z + 1 : ++ee;
17938
17938
  else if (y.MergeAcross || y.MergeDown) {
17939
- for (var s = ee; s <= Y; ++s)
17939
+ for (var s = ee; s <= z; ++s)
17940
17940
  for (var c = R; c <= he; ++c)
17941
17941
  (s > ee || c > R) && (t.dense ? (x[c] || (x[c] = []), x[c][s] = { t: "z" }) : x[$r(s) + Kr(c)] = { t: "z" });
17942
- ee = Y + 1;
17942
+ ee = z + 1;
17943
17943
  } else ++ee;
17944
17944
  else
17945
17945
  y = fv(f[0]), y.Index && (ee = +y.Index - 1), ee < L.s.c && (L.s.c = ee), ee > L.e.c && (L.e.c = ee), f[0].slice(-2) === "/>" && ++ee, Be = [];
@@ -18936,7 +18936,7 @@ function xv(e, a) {
18936
18936
  a.password && (J.password = a.password);
18937
18937
  var ve, Be = [], xe = [], Ye = [], Ie = [], Re = !1, Ce = [];
18938
18938
  Ce.SheetNames = J.snames, Ce.sharedf = J.sharedf, Ce.arrayf = J.arrayf, Ce.names = [], Ce.XTI = [];
18939
- var Ke = 0, Ne = 0, Y = 0, he = [], r = [], i;
18939
+ var Ke = 0, Ne = 0, z = 0, he = [], r = [], i;
18940
18940
  J.codepage = 1200, $a(1200);
18941
18941
  for (var n = !1; e.l < e.length - 1; ) {
18942
18942
  var s = e.l, c = e.read_shift(2);
@@ -19114,19 +19114,19 @@ function xv(e, a) {
19114
19114
  case 515:
19115
19115
  case 3:
19116
19116
  case 2:
19117
- l["!type"] == "chart" && (a.dense ? (l[m.r] || [])[m.c] : l[Bt({ c: m.c, r: m.r })]) && ++m.c, R = { ixfe: m.ixfe, XF: pe[m.ixfe] || {}, v: m.val, t: "n" }, Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19117
+ l["!type"] == "chart" && (a.dense ? (l[m.r] || [])[m.c] : l[Bt({ c: m.c, r: m.r })]) && ++m.c, R = { ixfe: m.ixfe, XF: pe[m.ixfe] || {}, v: m.val, t: "n" }, z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19118
19118
  break;
19119
19119
  case 5:
19120
19120
  case 517:
19121
- R = { ixfe: m.ixfe, XF: pe[m.ixfe], v: m.val, t: m.t }, Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19121
+ R = { ixfe: m.ixfe, XF: pe[m.ixfe], v: m.val, t: m.t }, z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19122
19122
  break;
19123
19123
  case 638:
19124
- R = { ixfe: m.ixfe, XF: pe[m.ixfe], v: m.rknum, t: "n" }, Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19124
+ R = { ixfe: m.ixfe, XF: pe[m.ixfe], v: m.rknum, t: "n" }, z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19125
19125
  break;
19126
19126
  case 189:
19127
19127
  for (var Z = m.c; Z <= m.C; ++Z) {
19128
19128
  var N = m.rkrec[Z - m.c][0];
19129
- R = { ixfe: N, XF: pe[N], v: m.rkrec[Z - m.c][1], t: "n" }, Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: Z, r: m.r }, R, a);
19129
+ R = { ixfe: N, XF: pe[N], v: m.rkrec[Z - m.c][1], t: "n" }, z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: Z, r: m.r }, R, a);
19130
19130
  }
19131
19131
  break;
19132
19132
  case 6:
@@ -19140,17 +19140,17 @@ function xv(e, a) {
19140
19140
  if (R = Wn(m.val, m.cell.ixfe, m.tt), R.XF = pe[R.ixfe], a.cellFormula) {
19141
19141
  var G = m.formula;
19142
19142
  if (G && G[0] && G[0][0] && G[0][0][0] == "PtgExp") {
19143
- var z = G[0][0][1][0], q = G[0][0][1][1], Fe = Bt({ r: z, c: q });
19144
- H[Fe] ? R.f = "" + ra(m.formula, d, m.cell, Ce, J) : R.F = ((a.dense ? (l[z] || [])[q] : l[Fe]) || {}).F;
19143
+ var Y = G[0][0][1][0], j = G[0][0][1][1], Fe = Bt({ r: Y, c: j });
19144
+ H[Fe] ? R.f = "" + ra(m.formula, d, m.cell, Ce, J) : R.F = ((a.dense ? (l[Y] || [])[j] : l[Fe]) || {}).F;
19145
19145
  } else R.f = "" + ra(m.formula, d, m.cell, Ce, J);
19146
19146
  }
19147
- Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce(m.cell, R, a), f = m;
19147
+ z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce(m.cell, R, a), f = m;
19148
19148
  }
19149
19149
  break;
19150
19150
  case 7:
19151
19151
  case 519:
19152
19152
  if (f)
19153
- f.val = m, R = Wn(m, f.cell.ixfe, "s"), R.XF = pe[R.ixfe], a.cellFormula && (R.f = "" + ra(f.formula, d, f.cell, Ce, J)), Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce(f.cell, R, a), f = null;
19153
+ f.val = m, R = Wn(m, f.cell.ixfe, "s"), R.XF = pe[R.ixfe], a.cellFormula && (R.f = "" + ra(f.formula, d, f.cell, Ce, J)), z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce(f.cell, R, a), f = null;
19154
19154
  else throw new Error("String record expects Formula");
19155
19155
  break;
19156
19156
  case 33:
@@ -19174,22 +19174,22 @@ function xv(e, a) {
19174
19174
  }
19175
19175
  break;
19176
19176
  case 253:
19177
- R = Wn(C[m.isst].t, m.ixfe, "s"), C[m.isst].h && (R.h = C[m.isst].h), R.XF = pe[R.ixfe], Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19177
+ R = Wn(C[m.isst].t, m.ixfe, "s"), C[m.isst].h && (R.h = C[m.isst].h), R.XF = pe[R.ixfe], z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19178
19178
  break;
19179
19179
  case 513:
19180
- a.sheetStubs && (R = { ixfe: m.ixfe, XF: pe[m.ixfe], t: "z" }, Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a));
19180
+ a.sheetStubs && (R = { ixfe: m.ixfe, XF: pe[m.ixfe], t: "z" }, z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a));
19181
19181
  break;
19182
19182
  case 190:
19183
19183
  if (a.sheetStubs)
19184
19184
  for (var Se = m.c; Se <= m.C; ++Se) {
19185
19185
  var de = m.ixfe[Se - m.c];
19186
- R = { ixfe: de, XF: pe[de], t: "z" }, Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: Se, r: m.r }, R, a);
19186
+ R = { ixfe: de, XF: pe[de], t: "z" }, z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: Se, r: m.r }, R, a);
19187
19187
  }
19188
19188
  break;
19189
19189
  case 214:
19190
19190
  case 516:
19191
19191
  case 4:
19192
- R = Wn(m.val, m.ixfe, "s"), R.XF = pe[R.ixfe], Y > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19192
+ R = Wn(m.val, m.ixfe, "s"), R.XF = pe[R.ixfe], z > 0 && (R.z = he[R.ixfe >> 8 & 63]), ja(R, a, t.opts.Date1904), ce({ c: m.c, r: m.r }, R, a);
19193
19193
  break;
19194
19194
  case 0:
19195
19195
  case 512:
@@ -19200,16 +19200,16 @@ function xv(e, a) {
19200
19200
  break;
19201
19201
  case 1054:
19202
19202
  if (J.biff == 4) {
19203
- he[Y++] = m[1];
19204
- for (var _e = 0; _e < Y + 163 && Vt[_e] != m[1]; ++_e) ;
19205
- _e >= 163 && Ai(m[1], Y + 163);
19203
+ he[z++] = m[1];
19204
+ for (var _e = 0; _e < z + 163 && Vt[_e] != m[1]; ++_e) ;
19205
+ _e >= 163 && Ai(m[1], z + 163);
19206
19206
  } else Ai(m[1], m[0]);
19207
19207
  break;
19208
19208
  case 30:
19209
19209
  {
19210
- he[Y++] = m;
19211
- for (var te = 0; te < Y + 163 && Vt[te] != m; ++te) ;
19212
- te >= 163 && Ai(m, Y + 163);
19210
+ he[z++] = m;
19211
+ for (var te = 0; te < z + 163 && Vt[te] != m; ++te) ;
19212
+ te >= 163 && Ai(m, z + 163);
19213
19213
  }
19214
19214
  break;
19215
19215
  case 229:
@@ -25483,7 +25483,7 @@ var sc = {
25483
25483
  quarter: ["\\Qm", 'm\\"th quarter"']
25484
25484
  };
25485
25485
  function fd(e, a) {
25486
- var t = a || {}, o = gl(e), l = [], u, d, f = { name: "" }, C = "", _ = 0, T, v, x = {}, S = [], y = t.dense ? [] : {}, O, w, H = { value: "" }, ee = "", R = 0, L = [], pe = -1, se = -1, W = { s: { r: 1e6, c: 1e7 }, e: { r: 0, c: 0 } }, ue = 0, b = {}, Q = [], ce = {}, J = 0, ve = 0, Be = [], xe = 1, Ye = 1, Ie = [], Re = { Names: [] }, Ce = {}, Ke = ["", ""], Ne = [], Y = {}, he = "", r = 0, i = !1, n = !1, s = 0;
25486
+ var t = a || {}, o = gl(e), l = [], u, d, f = { name: "" }, C = "", _ = 0, T, v, x = {}, S = [], y = t.dense ? [] : {}, O, w, H = { value: "" }, ee = "", R = 0, L = [], pe = -1, se = -1, W = { s: { r: 1e6, c: 1e7 }, e: { r: 0, c: 0 } }, ue = 0, b = {}, Q = [], ce = {}, J = 0, ve = 0, Be = [], xe = 1, Ye = 1, Ie = [], Re = { Names: [] }, Ce = {}, Ke = ["", ""], Ne = [], z = {}, he = "", r = 0, i = !1, n = !1, s = 0;
25487
25487
  for (_n.lastIndex = 0, o = o.replace(/<!--([\s\S]*?)-->/mg, "").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm, ""); O = _n.exec(o); ) switch (O[3] = O[3].replace(/_.*$/, "")) {
25488
25488
  case "table":
25489
25489
  case "工作表":
@@ -25516,7 +25516,7 @@ function fd(e, a) {
25516
25516
  else if (O[1] !== "/") {
25517
25517
  ++se, ee = "", R = 0, L = [], Ye = 1;
25518
25518
  var c = xe ? pe + xe - 1 : pe;
25519
- if (se > W.e.c && (W.e.c = se), se < W.s.c && (W.s.c = se), pe < W.s.r && (W.s.r = pe), c > W.e.r && (W.e.r = c), H = Lt(O[0], !1), Ne = [], Y = {}, w = {
25519
+ if (se > W.e.c && (W.e.c = se), se < W.s.c && (W.s.c = se), pe < W.s.r && (W.s.r = pe), c > W.e.r && (W.e.r = c), H = Lt(O[0], !1), Ne = [], z = {}, w = {
25520
25520
  t: H.数据类型 || H["value-type"],
25521
25521
  v: null
25522
25522
  /*:: , z:null, w:"",c:[]*/
@@ -25590,7 +25590,7 @@ function fd(e, a) {
25590
25590
  case "annotation":
25591
25591
  if (O[1] === "/") {
25592
25592
  if ((u = l.pop())[0] !== O[3]) throw "Bad state: " + u;
25593
- Y.t = ee, L.length && (Y.R = L), Y.a = he, Ne.push(Y);
25593
+ z.t = ee, L.length && (z.R = L), z.a = he, Ne.push(z);
25594
25594
  } else O[0].charAt(O[0].length - 2) !== "/" && l.push([O[3], !1]);
25595
25595
  he = "", r = 0, ee = "", R = 0, L = [];
25596
25596
  break;
@@ -27130,7 +27130,7 @@ var D;
27130
27130
  class a {
27131
27131
  constructor() {
27132
27132
  ma(this, ue);
27133
- j(this, "_events", {});
27133
+ q(this, "_events", {});
27134
27134
  sr(this, ue, t.guid()), this._events = {};
27135
27135
  }
27136
27136
  }
@@ -27403,8 +27403,8 @@ var D;
27403
27403
  const s = /* @__PURE__ */ new Date(), c = s.getFullYear().toString();
27404
27404
  let h = (s.getMonth() + 1).toString(), p = s.getDate().toString(), E = s.getHours().toString(), m = s.getMinutes().toString(), I = s.getSeconds().toString();
27405
27405
  h = h.length === 1 ? "0" + h : h, p = p.length === 1 ? "0" + p : p, E = E.length === 1 ? "0" + E : E, m = m.length === 1 ? "0" + m : m, I = I.length === 1 ? "0" + I : I, r = r.trim().replaceAll(" ", "").replaceAll("/", "").replaceAll("-", "").replaceAll(":", "").replaceAll("T", "").replaceAll("yyyy", c).replaceAll("MM", h).replaceAll("dd", p).replaceAll("HH", E).replaceAll("mm", m).replaceAll("ss", I);
27406
- let F = 1, M = 1, Z = 1, N = 0, G = 0, z = 0;
27407
- r.length >= 4 && (F = this.toNumber(r.substring(0, 4)) || 1), r.length >= 6 && (M = this.toNumber(r.substring(4, 6)) || 1), r.length >= 8 && (Z = this.toNumber(r.substring(6, 8)) || 1), r.length >= 10 && (N = this.toNumber(r.substring(8, 10))), r.length >= 12 && (G = this.toNumber(r.substring(10, 12))), r.length >= 14 && (z = this.toNumber(r.substring(12, 14))), F !== 1 && F !== 1900 && (n = new Date(F, M - 1, Z, N, G, z));
27406
+ let F = 1, M = 1, Z = 1, N = 0, G = 0, Y = 0;
27407
+ r.length >= 4 && (F = this.toNumber(r.substring(0, 4)) || 1), r.length >= 6 && (M = this.toNumber(r.substring(4, 6)) || 1), r.length >= 8 && (Z = this.toNumber(r.substring(6, 8)) || 1), r.length >= 10 && (N = this.toNumber(r.substring(8, 10))), r.length >= 12 && (G = this.toNumber(r.substring(10, 12))), r.length >= 14 && (Y = this.toNumber(r.substring(12, 14))), F !== 1 && F !== 1900 && (n = new Date(F, M - 1, Z, N, G, Y));
27408
27408
  } else if (r instanceof Date)
27409
27409
  n = r;
27410
27410
  else if (tr.isDayjs(r)) {
@@ -27563,8 +27563,8 @@ var D;
27563
27563
  (M = m.radios) != null && M.importSheet && p.Sheets[(Z = m.radios) == null ? void 0 : Z.importSheet] ? I = p.Sheets[(N = m.radios) == null ? void 0 : N.importSheet] : I = p.Sheets[p.SheetNames[0]];
27564
27564
  const F = ((G = m.inputs) == null ? void 0 : G.headerRowsCount) || 1;
27565
27565
  if (I) {
27566
- const z = p1.sheet_to_json(I, { range: F - 1 });
27567
- r && r(z);
27566
+ const Y = p1.sheet_to_json(I, { range: F - 1 });
27567
+ r && r(Y);
27568
27568
  } else
27569
27569
  Rn.error("Read Excel File Error");
27570
27570
  }
@@ -27585,31 +27585,31 @@ var D;
27585
27585
  ((c = (s = r == null ? void 0 : r.gridOptions) == null ? void 0 : s.context) == null ? void 0 : c.bindingSource) instanceof T && this.readExcelFile((h) => {
27586
27586
  var p, E, m;
27587
27587
  if (h.length > 0) {
27588
- const I = {}, F = {}, M = (p = r == null ? void 0 : r.gridOptions) == null ? void 0 : p.columnApi.getColumns(), Z = (m = (E = r == null ? void 0 : r.gridOptions) == null ? void 0 : E.context) == null ? void 0 : m.bindingSource, N = {}, G = (q, Fe) => {
27588
+ const I = {}, F = {}, M = (p = r == null ? void 0 : r.gridOptions) == null ? void 0 : p.columnApi.getColumns(), Z = (m = (E = r == null ? void 0 : r.gridOptions) == null ? void 0 : E.context) == null ? void 0 : m.bindingSource, N = {}, G = (j, Fe) => {
27589
27589
  var me, Se, de;
27590
- if (q == null)
27590
+ if (j == null)
27591
27591
  return "";
27592
- if (N[Fe.field] = N[Fe.field] || {}, N[q])
27593
- return N[q];
27594
- if ((me = Fe.refData) != null && me[q])
27595
- return q;
27592
+ if (N[Fe.field] = N[Fe.field] || {}, N[j])
27593
+ return N[j];
27594
+ if ((me = Fe.refData) != null && me[j])
27595
+ return j;
27596
27596
  {
27597
- if (b.toString(q).includes("|")) {
27598
- const te = q.split("|");
27597
+ if (b.toString(j).includes("|")) {
27598
+ const te = j.split("|");
27599
27599
  if ((Se = Fe.refData) != null && Se[te[0]])
27600
27600
  return te[0];
27601
- } else if (b.toString(q).includes("-")) {
27602
- const te = q.split("-");
27601
+ } else if (b.toString(j).includes("-")) {
27602
+ const te = j.split("-");
27603
27603
  if ((de = Fe.refData) != null && de[te[0]])
27604
27604
  return te[0];
27605
27605
  }
27606
- const _e = Object.keys(Fe.refData).find((te) => Fe.refData[te] === b.toString(q) || Fe.refData[te] === `${te}|${b.toString(q)}` || Fe.refData[te] === `${te}-${b.toString(q)}`);
27607
- return _e ? (N[Fe.field][q] = _e, _e) : "";
27606
+ const _e = Object.keys(Fe.refData).find((te) => Fe.refData[te] === b.toString(j) || Fe.refData[te] === `${te}|${b.toString(j)}` || Fe.refData[te] === `${te}-${b.toString(j)}`);
27607
+ return _e ? (N[Fe.field][j] = _e, _e) : "";
27608
27608
  }
27609
- }, z = [];
27610
- h.forEach((q) => {
27611
- if (q.__EMPTY !== (e.Core.$t("ERX.Aggregate") || "总计") && q.__EMPTY !== (e.Core.$t("ERX.GroupAggregate") || "小计")) {
27612
- Object.keys(q).forEach((me) => {
27609
+ }, Y = [];
27610
+ h.forEach((j) => {
27611
+ if (j.__EMPTY !== (e.Core.$t("ERX.Aggregate") || "总计") && j.__EMPTY !== (e.Core.$t("ERX.GroupAggregate") || "小计")) {
27612
+ Object.keys(j).forEach((me) => {
27613
27613
  var Se, de;
27614
27614
  if (me && !me.startsWith("__EMPTY") && !F[me])
27615
27615
  for (let _e = 0; _e < M.length; _e++) {
@@ -27626,10 +27626,10 @@ var D;
27626
27626
  const Fe = {};
27627
27627
  Object.keys(I).forEach((me) => {
27628
27628
  var Se;
27629
- q[I[me].dataKey] && (Fe[I[me].colDef.field] = q[I[me].dataKey], I[me].colDef.refData && ((Se = I[me].colDef.cellEditor) == null ? void 0 : Se.name) === "DropdownEditor" && (Fe[I[me].colDef.field] = G(Fe[I[me].colDef.field], I[me].colDef)));
27630
- }), i && i instanceof Function ? i(Fe) && z.push(Fe) : z.push(Fe);
27629
+ j[I[me].dataKey] && (Fe[I[me].colDef.field] = j[I[me].dataKey], I[me].colDef.refData && ((Se = I[me].colDef.cellEditor) == null ? void 0 : Se.name) === "DropdownEditor" && (Fe[I[me].colDef.field] = G(Fe[I[me].colDef.field], I[me].colDef)));
27630
+ }), i && i instanceof Function ? i(Fe) && Y.push(Fe) : Y.push(Fe);
27631
27631
  }
27632
- }), n && n instanceof Function ? n(z) : Z.import(z);
27632
+ }), n && n instanceof Function ? n(Y) : Z.import(Y);
27633
27633
  }
27634
27634
  });
27635
27635
  }
@@ -27657,9 +27657,9 @@ var D;
27657
27657
  },
27658
27658
  shouldRowBeSkipped: (h) => !!(c != null && c.skipSummaryRows && h.node.footer === !0 && h.node.group === !0 && h.node.level >= 0 || c != null && c.skipFooterRows && h.node.footer === !0 && h.node.group === !0 && h.node.level < 0),
27659
27659
  processCellCallback: (h) => {
27660
- var m, I, F, M, Z, N, G, z, q, Fe, me;
27660
+ var m, I, F, M, Z, N, G, Y, j, Fe, me;
27661
27661
  const p = e.Core.toString(h.value).includes("->") ? " -> " : "", E = e.Core.toString(h.value).replace(p, "").trimStart();
27662
- return h.value && ya.isPlainObject(h.value) && h.formatValue instanceof Function ? h.formatValue(h.value) : h.node.group && h.node.footer !== !0 ? (m = h.column.colDef) != null && m.rowGroup && h.node.key ? ((I = h.column.colDef.refData) == null ? void 0 : I[h.node.key]) || h.node.key : ((M = (F = h.column.colDef) == null ? void 0 : F.context) == null ? void 0 : M.dataType) === "number" ? c != null && c.numberAsText ? h.formatValue(h.value) : h.value : p + (((G = (N = (Z = h.node.rowGroupColumn) == null ? void 0 : Z.colDef) == null ? void 0 : N.refData) == null ? void 0 : G[E]) || h.formatValue(E) || E) : ((q = (z = h.column.colDef) == null ? void 0 : z.context) == null ? void 0 : q.dataType) === "number" ? c != null && c.numberAsText ? h.formatValue(h.value) : h.value : ((me = (Fe = h.column.colDef) == null ? void 0 : Fe.context) == null ? void 0 : me.dataType) === "boolean" ? h.value ? "R" : "£" : h.formatValue(h.value) || h.value;
27662
+ return h.value && ya.isPlainObject(h.value) && h.formatValue instanceof Function ? h.formatValue(h.value) : h.node.group && h.node.footer !== !0 ? (m = h.column.colDef) != null && m.rowGroup && h.node.key ? ((I = h.column.colDef.refData) == null ? void 0 : I[h.node.key]) || h.node.key : ((M = (F = h.column.colDef) == null ? void 0 : F.context) == null ? void 0 : M.dataType) === "number" ? c != null && c.numberAsText ? h.formatValue(h.value) : h.value : p + (((G = (N = (Z = h.node.rowGroupColumn) == null ? void 0 : Z.colDef) == null ? void 0 : N.refData) == null ? void 0 : G[E]) || h.formatValue(E) || E) : ((j = (Y = h.column.colDef) == null ? void 0 : Y.context) == null ? void 0 : j.dataType) === "number" ? c != null && c.numberAsText ? h.formatValue(h.value) : h.value : ((me = (Fe = h.column.colDef) == null ? void 0 : Fe.context) == null ? void 0 : me.dataType) === "boolean" ? h.value ? "R" : "£" : h.formatValue(h.value) || h.value;
27663
27663
  }
27664
27664
  });
27665
27665
  };
@@ -27788,7 +27788,7 @@ var D;
27788
27788
  * @param onConfirm 用户点击“确认”后的回调,返回 { checkboxes, radios }
27789
27789
  */
27790
27790
  static openSelectOptionsModal(r, i) {
27791
- var N, G, z;
27791
+ var N, G, Y;
27792
27792
  const {
27793
27793
  checkboxOptions: n = [],
27794
27794
  radioGroups: s = [],
@@ -27797,37 +27797,37 @@ var D;
27797
27797
  width: p = 450,
27798
27798
  okText: E = this.$t("ERX.OK") || "OK",
27799
27799
  cancelText: m = this.$t("ERX.Cancel") || "Cancel"
27800
- } = r, I = ge(((N = r.default) == null ? void 0 : N.checkboxOptions) || []), F = ge(((G = r.default) == null ? void 0 : G.radioGroups) || {}), M = ge(((z = r.default) == null ? void 0 : z.inputOptions) || {}), Z = () => gt("div", { style: r.style }, [
27800
+ } = r, I = ge(((N = r.default) == null ? void 0 : N.checkboxOptions) || []), F = ge(((G = r.default) == null ? void 0 : G.radioGroups) || {}), M = ge(((Y = r.default) == null ? void 0 : Y.inputOptions) || {}), Z = () => gt("div", { style: r.style }, [
27801
27801
  n.length > 0 && gt("div", { style: "margin-bottom: 24px;" }, [
27802
27802
  gt(al.Group, {
27803
27803
  options: n,
27804
27804
  value: I.value,
27805
- "onUpdate:value": (q) => {
27806
- I.value = q;
27805
+ "onUpdate:value": (j) => {
27806
+ I.value = j;
27807
27807
  }
27808
27808
  })
27809
27809
  ]),
27810
27810
  ...s.map(
27811
- (q) => gt("div", { style: "margin-bottom: 20px;" }, [
27812
- gt("div", { style: "margin-bottom: 8px; font-weight: bold;" }, q.title),
27811
+ (j) => gt("div", { style: "margin-bottom: 20px;" }, [
27812
+ gt("div", { style: "margin-bottom: 8px; font-weight: bold;" }, j.title),
27813
27813
  gt(Tc.Group, {
27814
- options: q.options,
27815
- value: F.value[q.key],
27814
+ options: j.options,
27815
+ value: F.value[j.key],
27816
27816
  "onUpdate:value": (Fe) => {
27817
- F.value[q.key] = Fe;
27817
+ F.value[j.key] = Fe;
27818
27818
  }
27819
27819
  })
27820
27820
  ])
27821
27821
  ),
27822
27822
  ...c.map(
27823
- (q) => gt("div", { style: "margin-bottom: 20px;" }, [
27824
- gt("div", { style: "margin-bottom: 8px; font-weight: bold;" }, q.title),
27825
- gt(q.type === "input" ? Na : q.type === "inputNumber" ? po : el, {
27826
- value: M.value[q.key],
27823
+ (j) => gt("div", { style: "margin-bottom: 20px;" }, [
27824
+ gt("div", { style: "margin-bottom: 8px; font-weight: bold;" }, j.title),
27825
+ gt(j.type === "input" ? Na : j.type === "inputNumber" ? po : el, {
27826
+ value: M.value[j.key],
27827
27827
  "onUpdate:value": (Fe) => {
27828
- M.value[q.key] = Fe;
27828
+ M.value[j.key] = Fe;
27829
27829
  },
27830
- style: q.style
27830
+ style: j.style
27831
27831
  })
27832
27832
  ])
27833
27833
  )
@@ -27966,12 +27966,12 @@ var D;
27966
27966
  var i, n, s, c, h;
27967
27967
  if ((s = (n = (i = r == null ? void 0 : r.gridOptions) == null ? void 0 : i.api) == null ? void 0 : n.gridBodyCtrl) != null && s.scrollVisibleService && ((h = (c = r == null ? void 0 : r.gridOptions) == null ? void 0 : c.api) != null && h.gridBodyCtrl.eGridBody)) {
27968
27968
  const p = (Z) => {
27969
- const { height: N, width: G, borderTopWidth: z, borderRightWidth: q, borderBottomWidth: Fe, borderLeftWidth: me, paddingTop: Se, paddingRight: de, paddingBottom: _e, paddingLeft: te, marginTop: ze, marginRight: $e, marginBottom: st, marginLeft: oe, boxSizing: V } = window.getComputedStyle(Z);
27969
+ const { height: N, width: G, borderTopWidth: Y, borderRightWidth: j, borderBottomWidth: Fe, borderLeftWidth: me, paddingTop: Se, paddingRight: de, paddingBottom: _e, paddingLeft: te, marginTop: ze, marginRight: $e, marginBottom: st, marginLeft: oe, boxSizing: V } = window.getComputedStyle(Z);
27970
27970
  return {
27971
27971
  height: parseFloat(N),
27972
27972
  width: parseFloat(G),
27973
- borderTopWidth: parseFloat(z),
27974
- borderRightWidth: parseFloat(q),
27973
+ borderTopWidth: parseFloat(Y),
27974
+ borderRightWidth: parseFloat(j),
27975
27975
  borderBottomWidth: parseFloat(Fe),
27976
27976
  borderLeftWidth: parseFloat(me),
27977
27977
  paddingTop: parseFloat(Se),
@@ -28232,7 +28232,7 @@ var D;
28232
28232
  * @returns ObservableObject or Json array
28233
28233
  */
28234
28234
  static getGridRows(r, i, n = !1, s = !1) {
28235
- var h, p, E, m, I, F, M, Z, N, G, z, q, Fe, me, Se, de, _e, te, ze, $e, st, oe, V;
28235
+ var h, p, E, m, I, F, M, Z, N, G, Y, j, Fe, me, Se, de, _e, te, ze, $e, st, oe, V;
28236
28236
  let c = [];
28237
28237
  if ((h = r == null ? void 0 : r.gridOptions) != null && h.api && i && i.toString().length > 0) {
28238
28238
  const ye = (p = r == null ? void 0 : r.gridOptions) == null ? void 0 : p.api, De = (E = r == null ? void 0 : r.gridOptions) == null ? void 0 : E.columnApi;
@@ -28270,7 +28270,7 @@ var D;
28270
28270
  }
28271
28271
  break;
28272
28272
  case "modify":
28273
- if ((q = (z = r == null ? void 0 : r.gridOptions) == null ? void 0 : z.context) != null && q.bindingSource) {
28273
+ if ((j = (Y = r == null ? void 0 : r.gridOptions) == null ? void 0 : Y.context) != null && j.bindingSource) {
28274
28274
  const Ae = (me = (Fe = r == null ? void 0 : r.gridOptions) == null ? void 0 : Fe.context) == null ? void 0 : me.bindingSource;
28275
28275
  c = Ae == null ? void 0 : Ae.getRows("updated", n);
28276
28276
  }
@@ -28315,23 +28315,23 @@ var D;
28315
28315
  if (E && E.length > 0) {
28316
28316
  const G = (I = (m = r == null ? void 0 : r.gridOptions) == null ? void 0 : m.context) == null ? void 0 : I.bindingSource;
28317
28317
  if ((F = G == null ? void 0 : G.options) != null && F.schema) {
28318
- const z = (Fe) => {
28318
+ const Y = (Fe) => {
28319
28319
  const me = new Nn(Fe.name);
28320
28320
  return me.type = Fe.type === "number" ? "N" : "C", me.name = Fe.name, me.descName = Fe.caption, me;
28321
- }, q = [];
28321
+ }, j = [];
28322
28322
  c ? (Z = (M = r == null ? void 0 : r.gridOptions) == null ? void 0 : M.columnApi.getAllGridColumns()) == null || Z.forEach((Fe) => {
28323
28323
  var me, Se, de, _e, te, ze;
28324
28324
  if ((Se = G == null ? void 0 : G.options) != null && Se.schema[(me = Fe.colDef) == null ? void 0 : me.field]) {
28325
- const $e = z((_e = G == null ? void 0 : G.options) == null ? void 0 : _e.schema[(de = Fe.colDef) == null ? void 0 : de.field]);
28326
- $e.descName = (ze = (te = Fe.colDef) == null ? void 0 : te.headerName) == null ? void 0 : ze.replaceAll("<br>", "").replaceAll("</br>", "").replaceAll("<br/>", ""), p.addColumn($e), q.push({ name: $e.name, type: $e.type });
28325
+ const $e = Y((_e = G == null ? void 0 : G.options) == null ? void 0 : _e.schema[(de = Fe.colDef) == null ? void 0 : de.field]);
28326
+ $e.descName = (ze = (te = Fe.colDef) == null ? void 0 : te.headerName) == null ? void 0 : ze.replaceAll("<br>", "").replaceAll("</br>", "").replaceAll("<br/>", ""), p.addColumn($e), j.push({ name: $e.name, type: $e.type });
28327
28327
  }
28328
28328
  }) : Object.keys((N = G == null ? void 0 : G.options) == null ? void 0 : N.schema).forEach((Fe) => {
28329
28329
  var Se;
28330
- const me = z((Se = G == null ? void 0 : G.options) == null ? void 0 : Se.schema[Fe]);
28331
- p.addColumn(me), q.push({ name: me.name, type: me.type });
28330
+ const me = Y((Se = G == null ? void 0 : G.options) == null ? void 0 : Se.schema[Fe]);
28331
+ p.addColumn(me), j.push({ name: me.name, type: me.type });
28332
28332
  }), E.forEach((Fe) => {
28333
28333
  const me = [];
28334
- q.forEach((Se) => {
28334
+ j.forEach((Se) => {
28335
28335
  me.push(Fe[Se.name]);
28336
28336
  }), p.addRow(me);
28337
28337
  });
@@ -28602,9 +28602,9 @@ var D;
28602
28602
  i.trim().startsWith("-1=?") && r === "\uFEFF" ? s = -1 : i.trim().startsWith("0=?") && r === "\uFEFF" ? s = 0 : i.trim().toLowerCase() === "percent" ? s = this.toNumber(r) / 100 : i.trim().toLowerCase() === "permille" ? s = this.toNumber(r) / 1e3 : s = this.toNumber(r);
28603
28603
  else {
28604
28604
  const G = i;
28605
- let z = "";
28606
- const q = i.match(/\{0:\s*([^}]+)\}/g);
28607
- if (q && q.length > 0 && (z = q[0], i = q[0].replaceAll("{0:", "").replaceAll("}", "")), i.trim().length === 0)
28605
+ let Y = "";
28606
+ const j = i.match(/\{0:\s*([^}]+)\}/g);
28607
+ if (j && j.length > 0 && (Y = j[0], i = j[0].replaceAll("{0:", "").replaceAll("}", "")), i.trim().length === 0)
28608
28608
  s = b.toString(r);
28609
28609
  else if (i.trim().toLowerCase() === "percent")
28610
28610
  s = Intl.NumberFormat("en-US", { minimumFractionDigits: 0, maximumFractionDigits: 8, style: "percent" }).format(r);
@@ -28660,7 +28660,7 @@ var D;
28660
28660
  }
28661
28661
  s = E.replace(/^,+/, "").replace(/\.$/, ""), s.startsWith("-,") && (s = "-" + s.substring(2));
28662
28662
  }
28663
- z.length > 0 && (s = G.replace(z, s));
28663
+ Y.length > 0 && (s = G.replace(Y, s));
28664
28664
  }
28665
28665
  return s;
28666
28666
  }
@@ -28734,17 +28734,17 @@ var D;
28734
28734
  });
28735
28735
  for (let G = 0; G < m.length; G++) {
28736
28736
  m[G] instanceof e.Model && (m[G] = m[G].toJSON());
28737
- for (const z of F)
28737
+ for (const Y of F)
28738
28738
  if (n === "weakly")
28739
- m[G][z] = m[G][z] ? "1" : "0";
28739
+ m[G][Y] = m[G][Y] ? "1" : "0";
28740
28740
  else {
28741
- const q = b.toString(m[G][z], !0, "toLower");
28742
- m[G][z] = q.length > 0 && q !== "0" && q !== "false";
28741
+ const j = b.toString(m[G][Y], !0, "toLower");
28742
+ m[G][Y] = j.length > 0 && j !== "0" && j !== "false";
28743
28743
  }
28744
- for (const z of M)
28745
- b.toString(m[G][z], !0).length > 0 ? n === "weakly" ? (m[G][z] = b.getDateTimeFormatString(m[G][z], "yyyyMMddHHmmss"), (m[G][z].substring(0, 4) === "1901" || m[G][z].substring(0, 4) === "0001") && (m[G][z] = null)) : m[G][z] = b.toDateTime(m[G][z]) : m[G][z] = null;
28746
- for (const z of Z)
28747
- m[G][z] = b.toNumber(m[G][z]);
28744
+ for (const Y of M)
28745
+ b.toString(m[G][Y], !0).length > 0 ? n === "weakly" ? (m[G][Y] = b.getDateTimeFormatString(m[G][Y], "yyyyMMddHHmmss"), (m[G][Y].substring(0, 4) === "1901" || m[G][Y].substring(0, 4) === "0001") && (m[G][Y] = null)) : m[G][Y] = b.toDateTime(m[G][Y]) : m[G][Y] = null;
28746
+ for (const Y of Z)
28747
+ m[G][Y] = b.toNumber(m[G][Y]);
28748
28748
  n === "strongly" && N && (m[G] = { ...N, ...m[G] });
28749
28749
  }
28750
28750
  }
@@ -28882,11 +28882,11 @@ var D;
28882
28882
  let G = !0;
28883
28883
  if (i && (G = await b.messageConfirm(this.$t("ERX.RemoveConfirmMessage") || "是否确认删除?")), G) {
28884
28884
  if ((c = r == null ? void 0 : r.gridOptions) != null && c.treeData) {
28885
- const z = [];
28886
- (p = (h = r == null ? void 0 : r.gridOptions) == null ? void 0 : h.api) == null || p.forEachNode((q) => {
28885
+ const Y = [];
28886
+ (p = (h = r == null ? void 0 : r.gridOptions) == null ? void 0 : h.api) == null || p.forEachNode((j) => {
28887
28887
  for (let Fe = 0; Fe < N.length; Fe++)
28888
- N[Fe][o.TreeHierarchyFieldName].every((me) => new Set(q.data[o.TreeHierarchyFieldName]).has(me)) && z.push(q.data);
28889
- }), (I = (m = (E = r == null ? void 0 : r.gridOptions) == null ? void 0 : E.context) == null ? void 0 : m.bindingSource) == null || I.remove(z);
28888
+ N[Fe][o.TreeHierarchyFieldName].every((me) => new Set(j.data[o.TreeHierarchyFieldName]).has(me)) && Y.push(j.data);
28889
+ }), (I = (m = (E = r == null ? void 0 : r.gridOptions) == null ? void 0 : E.context) == null ? void 0 : m.bindingSource) == null || I.remove(Y);
28890
28890
  } else
28891
28891
  (Z = (M = (F = r == null ? void 0 : r.gridOptions) == null ? void 0 : F.context) == null ? void 0 : M.bindingSource) == null || Z.remove(N);
28892
28892
  return !0;
@@ -29277,11 +29277,11 @@ var D;
29277
29277
  });
29278
29278
  }
29279
29279
  };
29280
- j(b, "spinId", "er-global-spin"), // 固定 ID
29281
- j(b, "spinCurrentContainer", null), // 当前容器
29282
- j(b, "spinVnode", null), // 当前 VNode
29283
- j(b, "spinCurrentTarget", null), // 当前目标元素
29284
- j(b, "spinTimeoutId", null);
29280
+ q(b, "spinId", "er-global-spin"), // 固定 ID
29281
+ q(b, "spinCurrentContainer", null), // 当前容器
29282
+ q(b, "spinVnode", null), // 当前 VNode
29283
+ q(b, "spinCurrentTarget", null), // 当前目标元素
29284
+ q(b, "spinTimeoutId", null);
29285
29285
  let t = b;
29286
29286
  e.Core = t;
29287
29287
  class o {
@@ -29387,7 +29387,7 @@ var D;
29387
29387
  constructor(i) {
29388
29388
  var n;
29389
29389
  super();
29390
- j(this, "sys");
29390
+ q(this, "sys");
29391
29391
  this.sys = {
29392
29392
  status: 0,
29393
29393
  name: "",
@@ -29413,7 +29413,7 @@ var D;
29413
29413
  class u extends a {
29414
29414
  constructor(i) {
29415
29415
  super();
29416
- j(this, "translateOptions", {});
29416
+ q(this, "translateOptions", {});
29417
29417
  i && (this.translateOptions = i);
29418
29418
  }
29419
29419
  setOptions(i) {
@@ -29472,12 +29472,12 @@ var D;
29472
29472
  constructor(i) {
29473
29473
  var n, s;
29474
29474
  super();
29475
- j(this, "_uploadOptions", {});
29476
- j(this, "_uploadConfigInfo", {});
29477
- j(this, "_initialized", !1);
29478
- j(this, "_maxBlobSize", 204800);
29475
+ q(this, "_uploadOptions", {});
29476
+ q(this, "_uploadConfigInfo", {});
29477
+ q(this, "_initialized", !1);
29478
+ q(this, "_maxBlobSize", 204800);
29479
29479
  // 200KB
29480
- j(this, "_maxFileSize", 10485760);
29480
+ q(this, "_maxFileSize", 10485760);
29481
29481
  i && (this._uploadOptions = i), this._maxBlobSize = this._uploadOptions.maxBlobSize || this._maxBlobSize, this._maxFileSize = this._uploadOptions.maxFileSize || this._maxFileSize, this._uploadOptions.url && ((n = this._uploadOptions.url) == null ? void 0 : n.trim().length) > 0 && this._uploadOptions.rootDirectory && ((s = this._uploadOptions.rootDirectory) == null ? void 0 : s.trim().length) > 0 && (this._uploadConfigInfo = {
29482
29482
  url: this._uploadOptions.url,
29483
29483
  rootDirectory: this._uploadOptions.rootDirectory
@@ -29567,7 +29567,7 @@ var D;
29567
29567
  }
29568
29568
  const p = Math.ceil(n.size / (this._uploadOptions.maxBlobSize || this._maxBlobSize)), E = (/* @__PURE__ */ new Date()).valueOf();
29569
29569
  for (let G = 0; G < p; G++) {
29570
- const z = n.slice(G * (this._uploadOptions.maxBlobSize || this._maxBlobSize), (G + 1) * (this._uploadOptions.maxBlobSize || 2e5)), q = {
29570
+ const Y = n.slice(G * (this._uploadOptions.maxBlobSize || this._maxBlobSize), (G + 1) * (this._uploadOptions.maxBlobSize || 2e5)), j = {
29571
29571
  destinationPathInfo: [{ key: i, name: i }],
29572
29572
  chunkMetadata: {
29573
29573
  UploadId: E,
@@ -29577,7 +29577,7 @@ var D;
29577
29577
  FileSize: n.size
29578
29578
  }
29579
29579
  }, Fe = new FormData();
29580
- Fe.append("command", "UploadChunk"), Fe.append("arguments", JSON.stringify(q)), Fe.append("chunk", z), Fe.append("rootDirectory", this._uploadOptions.rootDirectory || "");
29580
+ Fe.append("command", "UploadChunk"), Fe.append("arguments", JSON.stringify(j)), Fe.append("chunk", Y), Fe.append("rootDirectory", this._uploadOptions.rootDirectory || "");
29581
29581
  const me = await Hi.post(this._uploadOptions.url || "", Fe, {
29582
29582
  headers: {
29583
29583
  "Content-Type": "multipart/form-data"
@@ -29630,12 +29630,12 @@ var D;
29630
29630
  e.UploadHelper = d;
29631
29631
  class f {
29632
29632
  constructor(r, i, n, s) {
29633
- j(this, "_partition");
29634
- j(this, "_companyCode");
29635
- j(this, "_serviceName", e.SysInfo.queryDevConfigService);
29636
- j(this, "_paraFilter");
29637
- j(this, "_initializeSuccessed", !1);
29638
- j(this, "_sysParasValue", {});
29633
+ q(this, "_partition");
29634
+ q(this, "_companyCode");
29635
+ q(this, "_serviceName", e.SysInfo.queryDevConfigService);
29636
+ q(this, "_paraFilter");
29637
+ q(this, "_initializeSuccessed", !1);
29638
+ q(this, "_sysParasValue", {});
29639
29639
  r ? this._partition = r : this._partition = o.Partiton, n ? this._companyCode = n : this._companyCode = o.CompanyCode, s && s.trim().length > 0 && (this._serviceName = s.trim()), this._paraFilter = i;
29640
29640
  }
29641
29641
  get Partiton() {
@@ -29732,13 +29732,13 @@ var D;
29732
29732
  class _ extends a {
29733
29733
  constructor(i, n, s) {
29734
29734
  super();
29735
- j(this, "dirty", !1);
29736
- j(this, "dirtyFields", {});
29737
- j(this, "uid", "");
29738
- j(this, "isNew", !1);
29739
- j(this, "_dataTable");
29740
- j(this, "_schemaFields", {});
29741
- j(this, "_backup", {});
29735
+ q(this, "dirty", !1);
29736
+ q(this, "dirtyFields", {});
29737
+ q(this, "uid", "");
29738
+ q(this, "isNew", !1);
29739
+ q(this, "_dataTable");
29740
+ q(this, "_schemaFields", {});
29741
+ q(this, "_backup", {});
29742
29742
  this._schemaFields = n || {}, this._dataTable = s, this.accept(i, this._schemaFields);
29743
29743
  }
29744
29744
  get schemaFields() {
@@ -29917,7 +29917,7 @@ var D;
29917
29917
  ma(this, Ie);
29918
29918
  ma(this, Re, []);
29919
29919
  ma(this, Ce, {});
29920
- j(this, "tableName", "");
29920
+ q(this, "tableName", "");
29921
29921
  this.tableName = "Table0", i = i || { schema: {} }, this.init(i);
29922
29922
  }
29923
29923
  get options() {
@@ -30120,7 +30120,7 @@ var D;
30120
30120
  var p, E, m, I, F;
30121
30121
  const c = [], h = tt(this, Q).length > 0;
30122
30122
  if (n && (sr(this, Q, []), sr(this, ce, []), sr(this, J, []), sr(this, ve, [])), i !== void 0 && i.length > 0 && ((p = this.options) != null && p.schema)) {
30123
- const M = this.options.schema, Z = Object.keys(i[0]), N = Object.keys(M), G = N.filter((de) => Z.includes(de) || Z.includes(t.camelCase(de))), z = N.filter((de) => !Z.includes(de) && !Z.includes(t.camelCase(de))), q = /* @__PURE__ */ new Map(), Fe = t.toString((m = (E = tt(this, Be)) == null ? void 0 : E.hierarchy) == null ? void 0 : m.primaryField, !0), me = t.toString((F = (I = tt(this, Be)) == null ? void 0 : I.hierarchy) == null ? void 0 : F.parentField, !0), Se = Fe.length > 0 && me.length > 0 && M[Fe] && M[me];
30123
+ const M = this.options.schema, Z = Object.keys(i[0]), N = Object.keys(M), G = N.filter((de) => Z.includes(de) || Z.includes(t.camelCase(de))), Y = N.filter((de) => !Z.includes(de) && !Z.includes(t.camelCase(de))), j = /* @__PURE__ */ new Map(), Fe = t.toString((m = (E = tt(this, Be)) == null ? void 0 : E.hierarchy) == null ? void 0 : m.primaryField, !0), me = t.toString((F = (I = tt(this, Be)) == null ? void 0 : I.hierarchy) == null ? void 0 : F.parentField, !0), Se = Fe.length > 0 && me.length > 0 && M[Fe] && M[me];
30124
30124
  for (let de = 0; de < i.length; de++) {
30125
30125
  const _e = new _(void 0, void 0, this);
30126
30126
  _e.setSchema(M, !1), G.forEach((te) => {
@@ -30141,7 +30141,7 @@ var D;
30141
30141
  _e[te] = i[de][te] ?? i[de][t.camelCase(te)];
30142
30142
  break;
30143
30143
  }
30144
- }), z.forEach((te) => {
30144
+ }), Y.forEach((te) => {
30145
30145
  switch (M[te].type) {
30146
30146
  case "datetime":
30147
30147
  _e[te] = null;
@@ -30159,13 +30159,13 @@ var D;
30159
30159
  _e[te] = null;
30160
30160
  break;
30161
30161
  }
30162
- }), _e.isNew = s, c.push(_e), tt(this, Q).push(_e), Se && _e[Fe] && q.set(_e[Fe], _e);
30162
+ }), _e.isNew = s, c.push(_e), tt(this, Q).push(_e), Se && _e[Fe] && j.set(_e[Fe], _e);
30163
30163
  }
30164
30164
  if (Se) {
30165
30165
  const de = (_e) => {
30166
30166
  const te = [];
30167
30167
  for (; _e; )
30168
- te.unshift(_e[Fe]), _e = q.get(_e[me]);
30168
+ te.unshift(_e[Fe]), _e = j.get(_e[me]);
30169
30169
  return te;
30170
30170
  };
30171
30171
  for (let _e = 0; _e < tt(this, Q).length; _e++)
@@ -30210,7 +30210,7 @@ var D;
30210
30210
  Q = new WeakMap(), ce = new WeakMap(), J = new WeakMap(), ve = new WeakMap(), Be = new WeakMap(), xe = new WeakMap(), Ye = new WeakMap(), Ie = new WeakMap(), Re = new WeakMap(), Ce = new WeakMap(), Ke = new WeakSet(), Ha = function(i, n) {
30211
30211
  var c;
30212
30212
  (c = tt(this, Re)) == null || c.forEach((h) => {
30213
- var p, E, m, I, F, M, Z, N, G, z, q, Fe, me, Se, de, _e, te, ze, $e, st, oe, V, ye, De, Ae, je, ut, Et, St, yt, _t, U, Ot, It, rt, Ze, Ue, pt, Ft, kt, Ut, qt, Mt, gr;
30213
+ var p, E, m, I, F, M, Z, N, G, Y, j, Fe, me, Se, de, _e, te, ze, $e, st, oe, V, ye, De, Ae, je, ut, Et, St, yt, _t, U, Ot, It, rt, Ze, Ue, pt, Ft, kt, Ut, qt, Mt, gr;
30214
30214
  if (h.formHelper && h.configId)
30215
30215
  if (h.controlType === "Grid") {
30216
30216
  const ot = h.formHelper.getGrid(h.configId);
@@ -30220,7 +30220,7 @@ var D;
30220
30220
  const Gt = ot.gridOptions.api.getFilterModel(), P = ot.gridOptions.columnApi.getColumnState().filter((ae) => ae.sort !== null);
30221
30221
  Object.keys(Gt).length === 0 && P.length === 0 && ot.gridOptions.context.calculateRowSpan && ot.gridOptions.context.calculateRowSpan instanceof Function && ot.gridOptions.context.calculateRowSpan(!0), (m = (E = ot.gridOptions) == null ? void 0 : E.api) == null || m.clearRangeSelection(), ot.gridOptions.context.focusRowId = "", ot.gridOptions.context.focusColId = "", ot.gridOptions.context.dataMerged = !0, (F = (I = ot.gridOptions) == null ? void 0 : I.api) == null || F.setRowData(tt(this, Q)), tt(this, Q).length > 0 && Object.keys(Gt).length === 0 && P.length === 0 ? (sr(this, xe, void 0), this.setCurrent(tt(this, Q)[0])) : (Z = (M = ot.gridOptions) == null ? void 0 : M.api) == null || Z.setFocusedCell(0, o.GridCheckColumnFieldName);
30222
30222
  let re = tt(this, Q).length.toString().length * 7 + 20;
30223
- ((G = (N = ot.gridOptions.context) == null ? void 0 : N.viewConfig) == null ? void 0 : G.SHOW_SELECTION) === "1" && (re += 20), (z = ot.gridOptions.context) != null && z.allowDragRow && (re += 21), ((Fe = (q = ot.gridOptions.context) == null ? void 0 : q.options) == null ? void 0 : Fe.masterDetail) === !0 && (re += 22);
30223
+ ((G = (N = ot.gridOptions.context) == null ? void 0 : N.viewConfig) == null ? void 0 : G.SHOW_SELECTION) === "1" && (re += 20), (Y = ot.gridOptions.context) != null && Y.allowDragRow && (re += 21), ((Fe = (j = ot.gridOptions.context) == null ? void 0 : j.options) == null ? void 0 : Fe.masterDetail) === !0 && (re += 22);
30224
30224
  const X = (Se = (me = ot.gridOptions.columnApi) == null ? void 0 : me.columnModel) == null ? void 0 : Se.gridColumns, K = X == null ? void 0 : X.find((ae) => ae.colId === o.GridCheckColumnFieldName);
30225
30225
  K && ot.gridOptions.columnApi.setColumnWidth(K, re);
30226
30226
  break;
@@ -30265,9 +30265,9 @@ var D;
30265
30265
  }, e.DataTable = T;
30266
30266
  class v {
30267
30267
  constructor(r) {
30268
- j(this, "dataSetName", "");
30269
- j(this, "dataTables");
30270
- j(this, "relations");
30268
+ q(this, "dataSetName", "");
30269
+ q(this, "dataTables");
30270
+ q(this, "relations");
30271
30271
  this.dataTables = {}, this.relations = {}, this.dataSetName = (r == null ? void 0 : r.trim()) || "";
30272
30272
  }
30273
30273
  /**
@@ -30472,73 +30472,73 @@ var D;
30472
30472
  /**
30473
30473
  * 系统配置参数
30474
30474
  */
30475
- j(this, "SysDefinedParas");
30476
- j(this, "_app");
30477
- j(this, "_currentFormRegitInfo", {});
30478
- j(this, "_currentConfigCompanyCode");
30479
- j(this, "_serverPartition", "");
30480
- j(this, "_customPartition", "");
30481
- j(this, "_moduleName", "");
30482
- j(this, "_formId", "");
30483
- j(this, "_formName", "");
30484
- j(this, "_formCaption", "");
30485
- j(this, "_formWidth", -1);
30486
- j(this, "_formHeight", -1);
30487
- j(this, "_maxmizeBox", !0);
30488
- j(this, "_minimizeBox", !0);
30489
- j(this, "_resizable", !0);
30490
- j(this, "_initializeFlag", 0);
30491
- j(this, "_layoutIds");
30492
- j(this, "_dataSetName", "");
30493
- j(this, "_tableNames", "");
30494
- j(this, "_serviceName", "JAER01/getFormConfig");
30495
- j(this, "_initialConfiParas", {});
30496
- j(this, "_configInfo", {});
30497
- j(this, "_systemInfo", {});
30498
- j(this, "_customDefaultValues", {});
30499
- j(this, "_dropDownRefreshKey", Or({}));
30500
- j(this, "_dropDownBindSource", {});
30501
- j(this, "_dropDownCascader", {});
30502
- j(this, "_gridOptions", {});
30503
- j(this, "_gridReactiveOptions", Or({}));
30504
- j(this, "_gridToolbarOptions", Or({}));
30505
- j(this, "_hiddenFields", {});
30506
- j(this, "_requiredFields", {});
30507
- j(this, "_requiredFieldsByCondition", {});
30508
- j(this, "_formDataSet", new v());
30509
- j(this, "_formBindingRelation", {});
30510
- j(this, "_formAuthButtons", {});
30511
- j(this, "_groupCompanyCode", "");
30512
- j(this, "_groupCompanyName", "");
30513
- j(this, "_formConfigLicens", "");
30514
- j(this, "_formConfigLicensErrorMsg", "WMyNCZMrw9FY9qti+0p7zA==");
30515
- j(this, "_privateEncryptKey", "QTS8kH81A2Do4qfezJ9cCEM4lZifC7Ym");
30516
- j(this, "_developPermisson", "0");
30517
- j(this, "_tempSingleConfigInfo", {});
30518
- j(this, "_gridInstanceInfo", {});
30519
- j(this, "_gridColumnsInfo", {});
30520
- j(this, "_gridColumnsConfigInfo", {});
30521
- j(this, "_gridStyleInfo", {});
30522
- j(this, "_allowMergeColumnFields", {});
30523
- j(this, "_widgetInstanceInfo", {});
30524
- j(this, "_layoutConditionStyleInfo", {});
30525
- j(this, "_layoutConfigRelationInfo", {});
30526
- j(this, "_sysParaInfo", {});
30527
- j(this, "_gridCustomEvent", {});
30528
- j(this, "_formOptions", {});
30529
- j(this, "_layoutOpitons", Or({}));
30530
- j(this, "_layoutItemOpitons", Or({}));
30531
- j(this, "_layoutBindModelUid", Or({}));
30532
- j(this, "_layoutBindModel", {});
30533
- j(this, "_controlConditionProps", {});
30534
- j(this, "_erxGlobalConfig", {});
30475
+ q(this, "SysDefinedParas");
30476
+ q(this, "_app");
30477
+ q(this, "_currentFormRegitInfo", {});
30478
+ q(this, "_currentConfigCompanyCode");
30479
+ q(this, "_serverPartition", "");
30480
+ q(this, "_customPartition", "");
30481
+ q(this, "_moduleName", "");
30482
+ q(this, "_formId", "");
30483
+ q(this, "_formName", "");
30484
+ q(this, "_formCaption", "");
30485
+ q(this, "_formWidth", -1);
30486
+ q(this, "_formHeight", -1);
30487
+ q(this, "_maxmizeBox", !0);
30488
+ q(this, "_minimizeBox", !0);
30489
+ q(this, "_resizable", !0);
30490
+ q(this, "_initializeFlag", 0);
30491
+ q(this, "_layoutIds");
30492
+ q(this, "_dataSetName", "");
30493
+ q(this, "_tableNames", "");
30494
+ q(this, "_serviceName", "JAER01/getFormConfig");
30495
+ q(this, "_initialConfiParas", {});
30496
+ q(this, "_configInfo", {});
30497
+ q(this, "_systemInfo", {});
30498
+ q(this, "_customDefaultValues", {});
30499
+ q(this, "_dropDownRefreshKey", Or({}));
30500
+ q(this, "_dropDownBindSource", {});
30501
+ q(this, "_dropDownCascader", {});
30502
+ q(this, "_gridOptions", {});
30503
+ q(this, "_gridReactiveOptions", Or({}));
30504
+ q(this, "_gridToolbarOptions", Or({}));
30505
+ q(this, "_hiddenFields", {});
30506
+ q(this, "_requiredFields", {});
30507
+ q(this, "_requiredFieldsByCondition", {});
30508
+ q(this, "_formDataSet", new v());
30509
+ q(this, "_formBindingRelation", {});
30510
+ q(this, "_formAuthButtons", {});
30511
+ q(this, "_groupCompanyCode", "");
30512
+ q(this, "_groupCompanyName", "");
30513
+ q(this, "_formConfigLicens", "");
30514
+ q(this, "_formConfigLicensErrorMsg", "WMyNCZMrw9FY9qti+0p7zA==");
30515
+ q(this, "_privateEncryptKey", "QTS8kH81A2Do4qfezJ9cCEM4lZifC7Ym");
30516
+ q(this, "_developPermisson", "0");
30517
+ q(this, "_tempSingleConfigInfo", {});
30518
+ q(this, "_gridInstanceInfo", {});
30519
+ q(this, "_gridColumnsInfo", {});
30520
+ q(this, "_gridColumnsConfigInfo", {});
30521
+ q(this, "_gridStyleInfo", {});
30522
+ q(this, "_allowMergeColumnFields", {});
30523
+ q(this, "_widgetInstanceInfo", {});
30524
+ q(this, "_layoutConditionStyleInfo", {});
30525
+ q(this, "_layoutConfigRelationInfo", {});
30526
+ q(this, "_sysParaInfo", {});
30527
+ q(this, "_gridCustomEvent", {});
30528
+ q(this, "_formOptions", {});
30529
+ q(this, "_layoutOpitons", Or({}));
30530
+ q(this, "_layoutItemOpitons", Or({}));
30531
+ q(this, "_layoutBindModelUid", Or({}));
30532
+ q(this, "_layoutBindModel", {});
30533
+ q(this, "_controlConditionProps", {});
30534
+ q(this, "_erxGlobalConfig", {});
30535
30535
  /**
30536
30536
  * 执行Grid列配置的计算公式
30537
30537
  * @param data 相关行数据
30538
30538
  * @param expression 表达式
30539
30539
  * @returns result
30540
30540
  */
30541
- j(this, "excuteGridColumnExpressions", (r, i) => {
30541
+ q(this, "excuteGridColumnExpressions", (r, i) => {
30542
30542
  const n = { ...r }, s = Object.keys(n).sort((h, p) => h.length > p.length ? -1 : h.length < p.length ? 1 : 0);
30543
30543
  let c = i;
30544
30544
  s.forEach((h) => {
@@ -30830,20 +30830,20 @@ var D;
30830
30830
  "Table0"
30831
30831
  )
30832
30832
  ), this._initialConfiParas && Object.keys(this._initialConfiParas).length > 0) {
30833
- const z = new ha("InitializeFormParas");
30834
- z.addColumn("PARA_NAME"), z.addColumn("PARA_VALUE"), Object.keys(this._initialConfiParas).forEach((q) => {
30835
- z.addRow([{ PARA_NAME: q, PARA_VALUE: this._initialConfiParas ? this._initialConfiParas[q] : "" }]);
30836
- }), N.addBlock(z);
30833
+ const Y = new ha("InitializeFormParas");
30834
+ Y.addColumn("PARA_NAME"), Y.addColumn("PARA_VALUE"), Object.keys(this._initialConfiParas).forEach((j) => {
30835
+ Y.addRow([{ PARA_NAME: j, PARA_VALUE: this._initialConfiParas ? this._initialConfiParas[j] : "" }]);
30836
+ }), N.addBlock(Y);
30837
30837
  }
30838
30838
  this.callService(this._serviceName, N).then(
30839
- (z) => {
30840
- var q, Fe, me;
30841
- z.getStatus() >= 0 ? (Object.keys(z.getBlocks()).forEach((Se) => {
30842
- this._configInfo[Se] = z.getBlock(Se);
30843
- }), ((me = (Fe = (q = this._configInfo) == null ? void 0 : q.TSI00FORM) == null ? void 0 : Fe.getMappedRows()) == null ? void 0 : me.length) > 0 ? (this.InitializeWithData(), F({ flag: this._initializeFlag, msg: "success" })) : (this._initializeFlag = -1, F({ flag: this._initializeFlag, msg: `The configuration information for the form [${this._formName}] was not found!` }))) : (this._initializeFlag = -1, F({ flag: this._initializeFlag, msg: z.getMsg() ?? "unknown error" }));
30839
+ (Y) => {
30840
+ var j, Fe, me;
30841
+ Y.getStatus() >= 0 ? (Object.keys(Y.getBlocks()).forEach((Se) => {
30842
+ this._configInfo[Se] = Y.getBlock(Se);
30843
+ }), ((me = (Fe = (j = this._configInfo) == null ? void 0 : j.TSI00FORM) == null ? void 0 : Fe.getMappedRows()) == null ? void 0 : me.length) > 0 ? (this.InitializeWithData(), F({ flag: this._initializeFlag, msg: "success" })) : (this._initializeFlag = -1, F({ flag: this._initializeFlag, msg: `The configuration information for the form [${this._formName}] was not found!` }))) : (this._initializeFlag = -1, F({ flag: this._initializeFlag, msg: Y.getMsg() ?? "unknown error" }));
30844
30844
  },
30845
- (z) => {
30846
- F({ ...z, flag: -1, msg: "unknown error" });
30845
+ (Y) => {
30846
+ F({ ...Y, flag: -1, msg: "unknown error" });
30847
30847
  }
30848
30848
  );
30849
30849
  });
@@ -30929,12 +30929,12 @@ var D;
30929
30929
  }), ["TSI00GRIDVIEW", "TSI00GRIDCOLUMN", "TSI00GRIDCOLUMNURL", "TSI00GRIDSTYLE", "TSI00GRIDBAND", "TSI00GRIDCONDITION"].forEach((N) => {
30930
30930
  F.getBlock(N) && this._configInfo[N] && F.getBlock(N).getMappedRows().length > 0 && this._configInfo[N].addRow(F.getBlock(N).getRows());
30931
30931
  }), m.split(",").forEach((N) => {
30932
- var q;
30933
- const G = this.getSingleViewConfigInfo(N), z = t.toString(G.TABLE_NAME).trim();
30934
- if (G && z.length > 0 && !this._formDataSet.contains(z)) {
30935
- this._configInfo.TSI00DATATABLE.data.some((me) => me.TABLE_NAME === z) || F.getBlock("TSI00DATATABLE").getMappedRows().length > 0 && this._configInfo.TSI00DATATABLE.addRow(F.getBlock("TSI00DATATABLE").getRows());
30932
+ var j;
30933
+ const G = this.getSingleViewConfigInfo(N), Y = t.toString(G.TABLE_NAME).trim();
30934
+ if (G && Y.length > 0 && !this._formDataSet.contains(Y)) {
30935
+ this._configInfo.TSI00DATATABLE.data.some((me) => me.TABLE_NAME === Y) || F.getBlock("TSI00DATATABLE").getMappedRows().length > 0 && this._configInfo.TSI00DATATABLE.addRow(F.getBlock("TSI00DATATABLE").getRows());
30936
30936
  const Fe = {};
30937
- G.FUNCTION_TYPE === "T" && ((q = G.CURRENT_NODE_DESC) == null ? void 0 : q.trim().length) > 0 && G.FATHER_NODE_DESC.trim().length > 0 && (Fe.hierarchy = { primaryField: G.CURRENT_NODE_DESC.trim(), parentField: G.CURRENT_NODE_DESC }), this.createDataTable(z, Fe);
30937
+ G.FUNCTION_TYPE === "T" && ((j = G.CURRENT_NODE_DESC) == null ? void 0 : j.trim().length) > 0 && G.FATHER_NODE_DESC.trim().length > 0 && (Fe.hierarchy = { primaryField: G.CURRENT_NODE_DESC.trim(), parentField: G.CURRENT_NODE_DESC }), this.createDataTable(Y, Fe);
30938
30938
  }
30939
30939
  this.setDropDownBindSourceAndRequiredFields(G);
30940
30940
  })), n({ flag: F.getStatus() >= 0 ? 1 : -1, msg: F.getMsg() ?? "unknown error" });
@@ -31440,7 +31440,7 @@ var D;
31440
31440
  p.trim().length > 0 && (N = p.trim());
31441
31441
  let G = "CODE_DESC_1_CONTENT";
31442
31442
  E.trim().length > 0 && (G = E.trim()), F.push(N, G);
31443
- const z = {
31443
+ const Y = {
31444
31444
  dataValueField: "",
31445
31445
  dataTextField: "",
31446
31446
  dataSource: [],
@@ -31453,7 +31453,7 @@ var D;
31453
31453
  layoutType: r,
31454
31454
  columnConfig: i
31455
31455
  };
31456
- let q = [];
31456
+ let j = [];
31457
31457
  n && n instanceof Function && (n = n());
31458
31458
  const Fe = n || this.getItemDropDownDataSource(i.FUNCTION_ID, i.ITEM_CODE) || [];
31459
31459
  if (s.length > 0 && c.length > 0) {
@@ -31466,19 +31466,19 @@ var D;
31466
31466
  const $e = { field: de[ze], title: _e[ze].trim(), width: 150 };
31467
31467
  $e.title.startsWith("$t(") && $e.title.endsWith(")") ? $e.title = this.$t($e.title.substring(3, $e.title.length - 1)) : h && ($e.title = this.$t($e.title)), te.push($e), F.push($e.field);
31468
31468
  }
31469
- p.trim().length > 0 && E.trim().length > 0 ? (N = p.trim(), G = E.trim()) : (m >= 0 && m < de.length ? N = de[m] : N = de[0], I >= 0 && m < de.length ? G = de[I] : de.length > 1 ? G = de[1] : G = de[0]), z.columns = te, z.dropDownWidth = te.length * 150, z.dataValueField = N, z.dataTextField = G;
31469
+ p.trim().length > 0 && E.trim().length > 0 ? (N = p.trim(), G = E.trim()) : (m >= 0 && m < de.length ? N = de[m] : N = de[0], I >= 0 && m < de.length ? G = de[I] : de.length > 1 ? G = de[1] : G = de[0]), Y.columns = te, Y.dropDownWidth = te.length * 150, Y.dataValueField = N, Y.dataTextField = G;
31470
31470
  }
31471
31471
  } else if (Fe.length > 0) {
31472
31472
  const de = Object.keys(Fe[0]);
31473
- (Fe[0][N] === void 0 || Fe[0][G] === void 0) && (Fe[0][N] === void 0 && (N = de[0]), Fe[0][G] === void 0 && (de.length > 1 ? G = de[1] : G = de[0])), z.columns = i.VALUE_VISIBLE === "1" ? [
31473
+ (Fe[0][N] === void 0 || Fe[0][G] === void 0) && (Fe[0][N] === void 0 && (N = de[0]), Fe[0][G] === void 0 && (de.length > 1 ? G = de[1] : G = de[0])), Y.columns = i.VALUE_VISIBLE === "1" ? [
31474
31474
  { field: N, title: M, width: 150 },
31475
31475
  { field: G, title: Z, width: 150 }
31476
31476
  ] : [{ field: G, title: Z, width: 150 }], i.VALUE_VISIBLE === "1" && F.push(N);
31477
- } else p.trim().length > 0 && E.trim().length > 0 && (N = p.trim(), G = E.trim(), z.columns = i.VALUE_VISIBLE === "1" ? [
31477
+ } else p.trim().length > 0 && E.trim().length > 0 && (N = p.trim(), G = E.trim(), Y.columns = i.VALUE_VISIBLE === "1" ? [
31478
31478
  { field: N, title: M, width: 150 },
31479
31479
  { field: G, title: Z, width: 150 }
31480
31480
  ] : [{ field: G, title: Z, width: 150 }], i.VALUE_VISIBLE === "1" && F.push(N));
31481
- return i.ADD_EMPTY_ITEM === "1" && (z.optionLabel = "—-—"), i.FORMAT_TYPE === "Custom" && ((me = i.FORMAT_STRING) == null ? void 0 : me.trim().length) > 0 ? z.displayFormat = (Se = i.FORMAT_STRING) == null ? void 0 : Se.trim() : i.DISPLAY_POSITION === i.VALUE_POSITION && t.toNumber(i.VALUE_POSITION) >= 0 || i.DISPLAY_MEMBER === i.VALUE_MEMBER && i.VALUE_MEMBER.trim().length > 0 ? z.displayFormat = "{0}" : i.VALUE_VISIBLE === "1" ? z.displayFormat = "{0}|{1}" : z.displayFormat = "{1}", Fe && Fe instanceof Array && (q = Fe.map((de) => ({ ...de, value: de[N], label: de[G] }))), F.push(G), z.autoWidth = !0, z.dataSource = q, z.dataValueField = N, z.dataTextField = G, z;
31481
+ return i.ADD_EMPTY_ITEM === "1" && (Y.optionLabel = "—-—"), i.FORMAT_TYPE === "Custom" && ((me = i.FORMAT_STRING) == null ? void 0 : me.trim().length) > 0 ? Y.displayFormat = (Se = i.FORMAT_STRING) == null ? void 0 : Se.trim() : i.DISPLAY_POSITION === i.VALUE_POSITION && t.toNumber(i.VALUE_POSITION) >= 0 || i.DISPLAY_MEMBER === i.VALUE_MEMBER && i.VALUE_MEMBER.trim().length > 0 ? Y.displayFormat = "{0}" : i.VALUE_VISIBLE === "1" ? Y.displayFormat = "{0}|{1}" : Y.displayFormat = "{1}", Fe && Fe instanceof Array && (j = Fe.map((de) => ({ ...de, value: de[N], label: de[G] }))), F.push(G), Y.autoWidth = !0, Y.dataSource = j, Y.dataValueField = N, Y.dataTextField = G, Y;
31482
31482
  }
31483
31483
  /**
31484
31484
  * 设置下拉框及联筛选
@@ -31592,9 +31592,9 @@ var D;
31592
31592
  var c, h, p, E, m, I, F, M, Z, N;
31593
31593
  const s = this.getGrid(r);
31594
31594
  if (s && ((c = n == null ? void 0 : n.data) != null && c.uid)) {
31595
- const G = (h = s.gridOptions.context) == null ? void 0 : h.configId, z = (E = (p = s.gridOptions.context) == null ? void 0 : p.viewConfig) == null ? void 0 : E.AUTO_SELECT_MODE, q = this.getGridColumn(r, i);
31596
- if ((I = (m = q == null ? void 0 : q.colDef) == null ? void 0 : m.context) != null && I.columnConfig) {
31597
- const Fe = (M = (F = q == null ? void 0 : q.colDef) == null ? void 0 : F.context) == null ? void 0 : M.columnConfig;
31595
+ const G = (h = s.gridOptions.context) == null ? void 0 : h.configId, Y = (E = (p = s.gridOptions.context) == null ? void 0 : p.viewConfig) == null ? void 0 : E.AUTO_SELECT_MODE, j = this.getGridColumn(r, i);
31596
+ if ((I = (m = j == null ? void 0 : j.colDef) == null ? void 0 : m.context) != null && I.columnConfig) {
31597
+ const Fe = (M = (F = j == null ? void 0 : j.colDef) == null ? void 0 : F.context) == null ? void 0 : M.columnConfig;
31598
31598
  let me = [], Se = {};
31599
31599
  if (Fe && Fe.AUTOFILL_COLS && Fe.COLUMN_EDIT !== "3") {
31600
31600
  const de = Fe.AUTOFILL_COLS;
@@ -31614,7 +31614,7 @@ var D;
31614
31614
  }
31615
31615
  }));
31616
31616
  }
31617
- if (n.isSelected() && Fe.MULTI_ROW_EDIT === "1" && z !== "1" && z !== "3") {
31617
+ if (n.isSelected() && Fe.MULTI_ROW_EDIT === "1" && Y !== "1" && Y !== "3") {
31618
31618
  const de = this.getGridOptions(G, "multiRowEdit");
31619
31619
  if (de !== !1 && de !== "0")
31620
31620
  if (((N = (Z = s.gridOptions.context) == null ? void 0 : Z.options) == null ? void 0 : N.multiRowEditType) === "all") {
@@ -31938,10 +31938,10 @@ var D;
31938
31938
  if (n === !0 || n === "top")
31939
31939
  c = G.insert(0, Z, N);
31940
31940
  else if (n === "afterCurrent" || n === "beforeCurrent") {
31941
- const z = this.getGridCurrentRow(r);
31942
- if (z) {
31943
- let q = G.indexOf(z);
31944
- q >= 0 && q < G.rowCount && n === "afterCurrent" ? q = q + 1 : q > 0 && n === "beforeCurrent" && (q = q - 1), c = G.insert(q, Z, N);
31941
+ const Y = this.getGridCurrentRow(r);
31942
+ if (Y) {
31943
+ let j = G.indexOf(Y);
31944
+ j >= 0 && j < G.rowCount && n === "afterCurrent" ? j = j + 1 : j > 0 && n === "beforeCurrent" && (j = j - 1), c = G.insert(j, Z, N);
31945
31945
  } else
31946
31946
  c = G.add(Z, N);
31947
31947
  } else typeof n == "number" && n >= 0 ? c = G.insert(n, Z, N) : c = G.add(Z, N);
@@ -32556,8 +32556,8 @@ var D;
32556
32556
  var c, h, p, E, m, I, F;
32557
32557
  if ((c = s == null ? void 0 : s.gridOptions) != null && c.api && ((p = (h = s == null ? void 0 : s.gridOptions) == null ? void 0 : h.context) != null && p.bindingSource)) {
32558
32558
  const M = (E = s == null ? void 0 : s.gridOptions) == null ? void 0 : E.api, N = ((I = (m = s == null ? void 0 : s.gridOptions) == null ? void 0 : m.context) == null ? void 0 : I.bindingSource).data().find((G) => {
32559
- for (const z in i)
32560
- if (G[z] !== i[z])
32559
+ for (const Y in i)
32560
+ if (G[Y] !== i[Y])
32561
32561
  return !1;
32562
32562
  return !0;
32563
32563
  });
@@ -33340,8 +33340,8 @@ var D;
33340
33340
  var m, I;
33341
33341
  if (E.OPERATOR.trim().length > 0 && E.OPERATOR.trim() !== "None" && E.PARA_GROUP.trim().length > 0 && E.PARA_GROUP.trim() !== "None") {
33342
33342
  const F = this.getLayoutItemOption(h, E.ITEM_CODE, "controlType"), M = {};
33343
- i && Object.keys(i).length > 0 ? Object.keys(i).forEach((z) => {
33344
- M[z] = i[z];
33343
+ i && Object.keys(i).length > 0 ? Object.keys(i).forEach((Y) => {
33344
+ M[Y] = i[Y];
33345
33345
  }) : M.QUERY_TYPE = "", M.COMPANY_CODE = E.COMPANY_CODE, M.FORM_NAME = E.FORM_NAME, M.FUNCTION_ID = E.FUNCTION_ID, M.ITEM_CODE = t.toString(E.ITEM_CODE, !0, "toLower"), M.ORIGIN_CODE = E.ORIGIN_CODE, M.TABLE_NAME = E.TABLE_NAME, M.FIELD_NAME = t.toString(E.PARA_NAME, !0, "toLower"), M.OPERATOR = E.OPERATOR, M.PARA_GROUP = E.PARA_GROUP, M.SQL_CONTENT = E.SQL_CONTENT, M.OP_VALUE = null, M.DATA_TYPE = "String";
33346
33346
  const Z = t.toString(M.PARA_GROUP, !0), N = t.toString(M.OPERATOR, !0);
33347
33347
  let G = this.getControlValue(h, E.ITEM_CODE) || "";
@@ -33375,8 +33375,8 @@ var D;
33375
33375
  case "antDatePicker":
33376
33376
  case "antDateTimePicker": {
33377
33377
  if (G) {
33378
- const z = t.toString(E.DATE_TIME_FORMAT, !0) || "yyyyMMddHHmmss";
33379
- M.OP_VALUE = t.getDateTimeFormatString(G, z), M.OP_VALUE.length >= 4 && (M.OP_VALUE.substring(0, 4) === "0001" || M.OP_VALUE.substring(0, 4) === "1900") && (M.OP_VALUE = ""), (Z === "2" || ((I = M.OP_VALUE) == null ? void 0 : I.length) > 0) && s.push(M);
33378
+ const Y = t.toString(E.DATE_TIME_FORMAT, !0) || "yyyyMMddHHmmss";
33379
+ M.OP_VALUE = t.getDateTimeFormatString(G, Y), M.OP_VALUE.length >= 4 && (M.OP_VALUE.substring(0, 4) === "0001" || M.OP_VALUE.substring(0, 4) === "1900") && (M.OP_VALUE = ""), (Z === "2" || ((I = M.OP_VALUE) == null ? void 0 : I.length) > 0) && s.push(M);
33380
33380
  }
33381
33381
  break;
33382
33382
  }
@@ -33546,7 +33546,7 @@ var D;
33546
33546
  let N = "";
33547
33547
  const G = this.getGridConfig(r);
33548
33548
  ((m = G == null ? void 0 : G.SVC_NAME) == null ? void 0 : m.trim().length) > 0 && (E = r, r = G.SVC_NAME.trim(), N = G.FILTER_STRING.trim(), p = !0);
33549
- const z = new Rt();
33549
+ const Y = new Rt();
33550
33550
  if (i && i.filterConfigId && ((I = i.filterConfigId) == null ? void 0 : I.trim().length) > 0) {
33551
33551
  let me = this.getAllControlValueAsBlock(
33552
33552
  i.filterConfigId,
@@ -33556,7 +33556,7 @@ var D;
33556
33556
  i.filterConfigId,
33557
33557
  i.queryType
33558
33558
  );
33559
- z.addBlock(me), Se.getMappedRows().length > 0 && z.addBlock(Se);
33559
+ Y.addBlock(me), Se.getMappedRows().length > 0 && Y.addBlock(Se);
33560
33560
  }
33561
33561
  if (t.toString(i == null ? void 0 : i.customFilter, !0).length > 0 && (N.trim().length > 0 ? N = N + " and " + t.toString(i == null ? void 0 : i.customFilter, !0) : N = t.toString(i == null ? void 0 : i.customFilter, !0)), N.trim().length > 0) {
33562
33562
  const me = [
@@ -33572,37 +33572,37 @@ var D;
33572
33572
  OP_VALUE: "*"
33573
33573
  }
33574
33574
  ];
33575
- if (!z.getBlock("QUERY_FILTER")) {
33575
+ if (!Y.getBlock("QUERY_FILTER")) {
33576
33576
  const Se = t.buildEiBlock(me, "QUERY_FILTER");
33577
- z.addBlock(Se);
33577
+ Y.addBlock(Se);
33578
33578
  }
33579
33579
  }
33580
- const q = (Z = (M = (F = this._configInfo) == null ? void 0 : F.TSI00DATASOURCE) == null ? void 0 : M.getMappedRows()) == null ? void 0 : Z.find((me) => me.FUNC_ID === r), Fe = (me) => {
33581
- this.callService(me, z, { messageError: !0, loadingOptions: { show: i == null ? void 0 : i.showLoading } }).then((Se) => {
33580
+ const j = (Z = (M = (F = this._configInfo) == null ? void 0 : F.TSI00DATASOURCE) == null ? void 0 : M.getMappedRows()) == null ? void 0 : Z.find((me) => me.FUNC_ID === r), Fe = (me) => {
33581
+ this.callService(me, Y, { messageError: !0, loadingOptions: { show: i == null ? void 0 : i.showLoading } }).then((Se) => {
33582
33582
  var de, _e, te;
33583
33583
  h = Se, e.Core.toNumber((de = h.SysInfo) == null ? void 0 : de.Flag) >= 0 && (i && i.dataTable ? i.dataTable instanceof T ? this.mergeDataToDataTable(h, i.dataTable, i.clearTable) : typeof i.dataTable == "string" && i.dataTable.trim().length > 0 && ((_e = this._formDataSet) != null && _e.contains(i.dataTable.trim())) && this.mergeDataToDataTable(h, (te = this._formDataSet) == null ? void 0 : te.getDataTable(i.dataTable.trim()), i.clearTable) : p === !0 && this.mergeDataToGrid(h, E, i == null ? void 0 : i.clearTable)), s(h);
33584
33584
  });
33585
33585
  };
33586
- if (q != null && q.FUNC_ID) {
33587
- if (q.ORIGIN_CODE === "SVC" && q.SVC_NAME.trim().length > 0)
33588
- Fe(q.SVC_NAME.trim());
33589
- else if (q.SQL_CONTENT.trim().length > 0) {
33586
+ if (j != null && j.FUNC_ID) {
33587
+ if (j.ORIGIN_CODE === "SVC" && j.SVC_NAME.trim().length > 0)
33588
+ Fe(j.SVC_NAME.trim());
33589
+ else if (j.SQL_CONTENT.trim().length > 0) {
33590
33590
  const me = t.buildEiBlock([{
33591
33591
  OPERATE_TYPE: "sql_query",
33592
- FUNCTION_ID: q.FUNC_ID,
33593
- SQL: this.getQuerySqlFormat(q.SQL_CONTENT),
33592
+ FUNCTION_ID: j.FUNC_ID,
33593
+ SQL: this.getQuerySqlFormat(j.SQL_CONTENT),
33594
33594
  FILTER_STRING: "",
33595
- GROUP_COL: q.GROUP_KEY_VALUE,
33596
- SORT_COL: q.PRI_KEY_SQL
33595
+ GROUP_COL: j.GROUP_KEY_VALUE,
33596
+ SORT_COL: j.PRI_KEY_SQL
33597
33597
  }], "DATA_SOURCE");
33598
- z.addBlock(me), t.toString(n).trim().length === 0 && q.SVC_NAME.trim().length > 0 && (n = q.SVC_NAME.trim()), t.toString(n).trim().length === 0 && (n = "JAER01/query"), Fe(n);
33598
+ Y.addBlock(me), t.toString(n).trim().length === 0 && j.SVC_NAME.trim().length > 0 && (n = j.SVC_NAME.trim()), t.toString(n).trim().length === 0 && (n = "JAER01/query"), Fe(n);
33599
33599
  }
33600
33600
  } else {
33601
33601
  const me = t.buildEiBlock([{
33602
33602
  FUNCTION_ID: r,
33603
33603
  COMPANY_CODE: e.SysInfo.CompanyCode
33604
33604
  }], "DATA_SOURCE");
33605
- z.addBlock(me), t.toString(n).trim().length === 0 && (n = "JAER01/query"), Fe(n);
33605
+ Y.addBlock(me), t.toString(n).trim().length === 0 && (n = "JAER01/query"), Fe(n);
33606
33606
  }
33607
33607
  } else
33608
33608
  h.SysInfo.Flag = -603, h.SysInfo.Msg = "DataSoureId is null or empty!", s(h);
@@ -33854,10 +33854,10 @@ var D;
33854
33854
  excel: G.SHOW_EXPORT === "1",
33855
33855
  import: G.ALLOW_IMPORT === "1"
33856
33856
  }), this._gridColumnsConfigInfo[r] = {}, this._gridColumnsInfo[r] = {}, this._allowMergeColumnFields[r] = [], this._gridStyleInfo[r] = this._gridStyleInfo[r] || [], this._gridOptions[r] = this._gridOptions[r] || {};
33857
- const z = this.getConfigInfo(r);
33858
- if ((h = i == null ? void 0 : i.gridOptions) != null && h.api && z.TSI00GRIDVIEW && z.TSI00GRIDVIEW.length > 0) {
33859
- const q = z.TSI00GRIDVIEW[0];
33860
- ((p = n == null ? void 0 : n.cloneTableName) == null ? void 0 : p.trim().length) > 0 && this.cloneTableForLayoutOrGrid(((E = n == null ? void 0 : n.originTableName) == null ? void 0 : E.trim()) || q.TABLE_NAME.trim(), n.cloneTableName.trim(), r), i.gridOptions.context = { configId: r, configCaption: q.FUNCNAME_RES || q.FUNCNAME }, n = n || {}, ((m = q.CUS_EXT_OPTIONS) == null ? void 0 : m.trim().length) > 0 && (n = { ...JSON.parse(q.CUS_EXT_OPTIONS), ...n }), ((I = q.EXT_OPTIONS) == null ? void 0 : I.trim().length) > 0 && (n = { ...JSON.parse(q.EXT_OPTIONS), ...n });
33857
+ const Y = this.getConfigInfo(r);
33858
+ if ((h = i == null ? void 0 : i.gridOptions) != null && h.api && Y.TSI00GRIDVIEW && Y.TSI00GRIDVIEW.length > 0) {
33859
+ const j = Y.TSI00GRIDVIEW[0];
33860
+ ((p = n == null ? void 0 : n.cloneTableName) == null ? void 0 : p.trim().length) > 0 && this.cloneTableForLayoutOrGrid(((E = n == null ? void 0 : n.originTableName) == null ? void 0 : E.trim()) || j.TABLE_NAME.trim(), n.cloneTableName.trim(), r), i.gridOptions.context = { configId: r, configCaption: j.FUNCNAME_RES || j.FUNCNAME }, n = n || {}, ((m = j.CUS_EXT_OPTIONS) == null ? void 0 : m.trim().length) > 0 && (n = { ...JSON.parse(j.CUS_EXT_OPTIONS), ...n }), ((I = j.EXT_OPTIONS) == null ? void 0 : I.trim().length) > 0 && (n = { ...JSON.parse(j.EXT_OPTIONS), ...n });
33861
33861
  const Fe = this.getFormSysInfo("GridDefaultOptions");
33862
33862
  Fe.trim().length > 0 && (n = { ...JSON.parse(Fe), ...n }), ["rowDragManaged", "groupIncludeFooter", "groupIncludeTotalFooter", "suppressRowTransform", "suppressRowClickSelection", "rowMultiSelectWithClick", "singleClickEdit"].forEach((de) => {
33863
33863
  n[de] = i.gridOptions[de] ?? n[de];
@@ -33865,7 +33865,7 @@ var D;
33865
33865
  const Se = this.getGridConfigOptions(r, n, s, c);
33866
33866
  if (Se.context = { ...i.gridOptions.context, ...Se.context }, Se && Object.keys(Se).forEach((de) => {
33867
33867
  i.gridOptions[de] = Se[de] !== void 0 ? Se[de] : i.gridOptions[de];
33868
- }), i.gridOptions.defaultColDef = i.gridOptions.defaultColDef || {}, i.gridOptions.rowSelection = z.TSI00GRIDVIEW[0].MULTI_SELECT_MODE.toString() !== "1" ? "multiple" : "single", i.gridOptions.api.selectionService.rowSelection = z.TSI00GRIDVIEW[0].MULTI_SELECT_MODE.toString() !== "1" ? "multiple" : "single", i.gridOptions.api.selectionService.groupSelectsChildren = !0, i.gridOptions.api.setColumnDefs(Se.columnDefs), i.gridOptions.api.setRowData([]), q.ALLOW_CELLMERGE === "1" && ((F = i.gridOptions.context.mergeColumns) == null ? void 0 : F.length) > 0) {
33868
+ }), i.gridOptions.defaultColDef = i.gridOptions.defaultColDef || {}, i.gridOptions.rowSelection = Y.TSI00GRIDVIEW[0].MULTI_SELECT_MODE.toString() !== "1" ? "multiple" : "single", i.gridOptions.api.selectionService.rowSelection = Y.TSI00GRIDVIEW[0].MULTI_SELECT_MODE.toString() !== "1" ? "multiple" : "single", i.gridOptions.api.selectionService.groupSelectsChildren = !0, i.gridOptions.api.setColumnDefs(Se.columnDefs), i.gridOptions.api.setRowData([]), j.ALLOW_CELLMERGE === "1" && ((F = i.gridOptions.context.mergeColumns) == null ? void 0 : F.length) > 0) {
33869
33869
  let de = [];
33870
33870
  i.gridOptions.context.calculateRowSpan = (_e = !0) => {
33871
33871
  var $e, st, oe, V, ye, De;
@@ -33907,14 +33907,14 @@ var D;
33907
33907
  }), i.gridOptions.context.rowSpanMap = te, de[0];
33908
33908
  };
33909
33909
  }
33910
- if ((q == null ? void 0 : q.SHOW_FOOTER) === "1" && i.gridOptions.api.setPinnedBottomRowData([{ pinndeRowType: "ErGridSummaryFooter" }]), Tr(() => {
33910
+ if ((j == null ? void 0 : j.SHOW_FOOTER) === "1" && i.gridOptions.api.setPinnedBottomRowData([{ pinndeRowType: "ErGridSummaryFooter" }]), Tr(() => {
33911
33911
  var de;
33912
- i.gridOptions.defaultColDef.floatingFilter === void 0 && i.gridOptions.api.setDefaultColDef({ floatingFilter: (q == null ? void 0 : q.SHOW_FILTER_ROW) === "1" }), ((de = n == null ? void 0 : n.initialData) == null ? void 0 : de.length) > 0 && this.mergeDataToGrid(n.initialData, i);
33912
+ i.gridOptions.defaultColDef.floatingFilter === void 0 && i.gridOptions.api.setDefaultColDef({ floatingFilter: (j == null ? void 0 : j.SHOW_FILTER_ROW) === "1" }), ((de = n == null ? void 0 : n.initialData) == null ? void 0 : de.length) > 0 && this.mergeDataToGrid(n.initialData, i);
33913
33913
  }), i.gridOptions.processCellForClipboard = (de) => {
33914
33914
  var _e, te, ze, $e, st;
33915
33915
  return (_e = de.node) != null && _e.footer && ((te = de.node) != null && te.group) && ((ze = de.context) != null && ze.focusColId) && de.node.aggData && de.node.aggData[de.context.focusColId] ? ya.isPlainObject(de.node.aggData[de.context.focusColId]) ? `☑️ ${t.formatNumberValue(de.node.aggData[de.context.focusColId].aggValueOfChecked, "")}
33916
33916
  ∑ ${t.formatNumberValue(de.node.aggData[de.context.focusColId].aggValue, "")}` : de.node.aggData[de.context.focusColId] : (($e = de.context) == null ? void 0 : $e.copyValue) !== !1 && ((st = de.column) != null && st.colDef.valueFormatter) ? de.column.colDef.valueFormatter(de) : de.value;
33917
- }, n.SORT_FIELD_NAME = ((M = n.SORT_FIELD_NAME) == null ? void 0 : M.trim()) || q.SORT_FIELD_NAME, ((Z = n.SORT_FIELD_NAME) == null ? void 0 : Z.trim().length) > 0) {
33917
+ }, n.SORT_FIELD_NAME = ((M = n.SORT_FIELD_NAME) == null ? void 0 : M.trim()) || j.SORT_FIELD_NAME, ((Z = n.SORT_FIELD_NAME) == null ? void 0 : Z.trim().length) > 0) {
33918
33918
  const de = n.SORT_FIELD_NAME.split(","), _e = [];
33919
33919
  de.forEach((ze, $e) => {
33920
33920
  const st = ze.trim().split(" ");
@@ -34022,11 +34022,11 @@ var D;
34022
34022
  checkbox: m === "multiple" && p.SHOW_SELECTION.toString() === "1",
34023
34023
  suppressCount: i.aggDataInGroupRow === !0,
34024
34024
  innerRenderer: (I) => {
34025
- var F, M, Z, N, G, z, q, Fe, me;
34025
+ var F, M, Z, N, G, Y, j, Fe, me;
34026
34026
  if ((M = (F = I.node) == null ? void 0 : F.rowGroupColumn) != null && M.colDef) {
34027
34027
  const Se = (N = (Z = I.node) == null ? void 0 : Z.rowGroupColumn) == null ? void 0 : N.colDef;
34028
34028
  let de = I.node.key;
34029
- if (Se.cellDataType === "number" ? de = t.formatNumberValue(I.value, (z = (G = Se.context) == null ? void 0 : G.columnConfig) == null ? void 0 : z.FORMAT_STRING) : ((q = Se.cellEditor) == null ? void 0 : q.name) === "DatetimeEditor" ? de = t.getDateTimeFormatString(I.value, (me = (Fe = Se.context) == null ? void 0 : Fe.columnConfig) == null ? void 0 : me.FORMAT_STRING) : Se.refData && (de = Se.refData[I.value] || I.value), i.aggDataInGroupRow === !0) {
34029
+ if (Se.cellDataType === "number" ? de = t.formatNumberValue(I.value, (Y = (G = Se.context) == null ? void 0 : G.columnConfig) == null ? void 0 : Y.FORMAT_STRING) : ((j = Se.cellEditor) == null ? void 0 : j.name) === "DatetimeEditor" ? de = t.getDateTimeFormatString(I.value, (me = (Fe = Se.context) == null ? void 0 : Fe.columnConfig) == null ? void 0 : me.FORMAT_STRING) : Se.refData && (de = Se.refData[I.value] || I.value), i.aggDataInGroupRow === !0) {
34030
34030
  let te = `
34031
34031
  <div style="display: inline-block">
34032
34032
  <span>${`${de}(${I.node.allChildrenCount})`}</span>`;
@@ -34076,34 +34076,34 @@ var D;
34076
34076
  r.gridOptions.api.addEventListener("firstDataRendered", (p) => {
34077
34077
  var F, M, Z, N, G;
34078
34078
  h.TSI00GRIDVIEW[0].AUTO_EXPAND_GROUP === "1" && p.api.expandAll();
34079
- const E = r.gridOptions.api.getFilterModel(), m = r.gridOptions.columnApi.getColumnState().filter((z) => z.sort !== null);
34079
+ const E = r.gridOptions.api.getFilterModel(), m = r.gridOptions.columnApi.getColumnState().filter((Y) => Y.sort !== null);
34080
34080
  if (Object.keys(E).length > 0 || m.length > 0)
34081
34081
  if (r.gridOptions.context.calculateRowSpan && r.gridOptions.context.calculateRowSpan instanceof Function) {
34082
- const z = r.gridOptions.context.calculateRowSpan(!1);
34083
- r.gridOptions.api.redrawRows(), r.gridOptions.context.bindingSource.setCurrent(z);
34082
+ const Y = r.gridOptions.context.calculateRowSpan(!1);
34083
+ r.gridOptions.api.redrawRows(), r.gridOptions.context.bindingSource.setCurrent(Y);
34084
34084
  } else
34085
34085
  t.setGridFocusedCell(r, 0);
34086
34086
  else {
34087
- const z = r.gridOptions.context.bindingSource.data()[0];
34088
- r.gridOptions.context.bindingSource.setCurrent(z);
34087
+ const Y = r.gridOptions.context.bindingSource.data()[0];
34088
+ r.gridOptions.context.bindingSource.setCurrent(Y);
34089
34089
  }
34090
34090
  if ((M = (F = r == null ? void 0 : r.gridOptions) == null ? void 0 : F.context) != null && M.showPreview && ((N = (Z = r == null ? void 0 : r.gridOptions) == null ? void 0 : Z.context) != null && N.previewField) && !i.detailConfigId) {
34091
- const z = r.gridOptions.context.previewField.split(","), q = {};
34092
- z.forEach((me) => {
34091
+ const Y = r.gridOptions.context.previewField.split(","), j = {};
34092
+ Y.forEach((me) => {
34093
34093
  var Se;
34094
34094
  if (me.trim().length > 0) {
34095
34095
  let de = "";
34096
34096
  const _e = (Se = r.gridOptions.context.columnsConfig) == null ? void 0 : Se.find((te) => te.FIELD_NAME === me.trim());
34097
- _e && (de = _e.COL_CAPTION.replaceAll("<br>", "").replaceAll("</br>", "").replaceAll("<br/>", "")), q[me.trim()] = de;
34097
+ _e && (de = _e.COL_CAPTION.replaceAll("<br>", "").replaceAll("</br>", "").replaceAll("<br/>", "")), j[me.trim()] = de;
34098
34098
  }
34099
34099
  });
34100
- const Fe = Object.keys(q);
34101
- Fe.length > 0 && (r.gridOptions.context.previewFieldMap = q, p.api.forEachNode((me) => {
34100
+ const Fe = Object.keys(j);
34101
+ Fe.length > 0 && (r.gridOptions.context.previewFieldMap = j, p.api.forEachNode((me) => {
34102
34102
  const Se = [];
34103
34103
  Fe.forEach((de) => {
34104
34104
  var _e;
34105
34105
  (_e = me.data) != null && _e[de] && Se.push({
34106
- label: q[de],
34106
+ label: j[de],
34107
34107
  value: me.data[de]
34108
34108
  });
34109
34109
  }), Se.length > 0 && (me.data._preview_row_data = Se, me.setExpanded(!0));
@@ -34168,22 +34168,22 @@ var D;
34168
34168
  else if (((I = (m = (E = p.colDef) == null ? void 0 : E.context) == null ? void 0 : m.columnConfig) == null ? void 0 : I.MULTI_ROW_EDIT) === "1" && ((F = p.node) != null && F.selected)) {
34169
34169
  const G = this.getGridOptions(c, "multiRowEdit");
34170
34170
  if (G !== !1 && G !== "0") {
34171
- let z = !1;
34171
+ let Y = !1;
34172
34172
  if ((i == null ? void 0 : i.multiRowEditType) === "all") {
34173
- const q = this.getGridSelectRows(r);
34174
- (q == null ? void 0 : q.length) > 0 && q.forEach((Fe) => {
34175
- p.data.uid !== Fe.uid && (Fe.set(p.colDef.field, p.data[p.colDef.field]), z = !0);
34173
+ const j = this.getGridSelectRows(r);
34174
+ (j == null ? void 0 : j.length) > 0 && j.forEach((Fe) => {
34175
+ p.data.uid !== Fe.uid && (Fe.set(p.colDef.field, p.data[p.colDef.field]), Y = !0);
34176
34176
  });
34177
34177
  } else {
34178
- const q = [];
34178
+ const j = [];
34179
34179
  r.gridOptions.api.forEachNodeAfterFilter((Fe) => {
34180
34180
  var me;
34181
- Fe != null && Fe.selected && ((me = Fe.data) != null && me.uid) && Fe.data.uid !== p.data.uid && q.push(Fe);
34182
- }), q.forEach((Fe) => {
34183
- Fe.data.set(p.colDef.field, p.data[p.colDef.field]), z = !0;
34181
+ Fe != null && Fe.selected && ((me = Fe.data) != null && me.uid) && Fe.data.uid !== p.data.uid && j.push(Fe);
34182
+ }), j.forEach((Fe) => {
34183
+ Fe.data.set(p.colDef.field, p.data[p.colDef.field]), Y = !0;
34184
34184
  });
34185
34185
  }
34186
- z && p.api.refreshCells({ columns: [p.colDef.colId, e.SysInfo.GridCheckColumnFieldName] });
34186
+ Y && p.api.refreshCells({ columns: [p.colDef.colId, e.SysInfo.GridCheckColumnFieldName] });
34187
34187
  }
34188
34188
  }
34189
34189
  if (((M = p == null ? void 0 : p.context) == null ? void 0 : M.viewConfig.SHOW_FOOTER) === "1") {
@@ -34213,7 +34213,7 @@ var D;
34213
34213
  }
34214
34214
  }
34215
34215
  getGridContextMenuItems(r, i) {
34216
- var s, c, h, p, E, m, I, F, M, Z, N, G, z, q, Fe, me, Se;
34216
+ var s, c, h, p, E, m, I, F, M, Z, N, G, Y, j, Fe, me, Se;
34217
34217
  const n = [];
34218
34218
  if (r.api.getDisplayedRowCount() > 0) {
34219
34219
  n.push("copy", "copyWithHeaders");
@@ -34279,7 +34279,7 @@ var D;
34279
34279
  icon: e.Core.createErSvgElement("show-detail")
34280
34280
  })), ((c = (s = r.node) == null ? void 0 : s.childrenAfterFilter) == null ? void 0 : c.length) > 0 && r.node.group === !0 && r.node.footer !== !0 && n.push("separator", "expandAll", "contractAll"), i != null && i.allowImageUpload && ((E = (p = (h = r.column) == null ? void 0 : h.colDef) == null ? void 0 : p.cellRenderer) == null ? void 0 : E.name) === "ImagePreview" && ((I = (m = r.node) == null ? void 0 : m.data) != null && I.uid) && !((M = (F = r.node) == null ? void 0 : F.data) != null && M.isNew) && ((N = (Z = r.column) == null ? void 0 : Z.colDef.context.columnConfig.EXT_OPTIONS) == null ? void 0 : N.trim().length) > 0) {
34281
34281
  const te = JSON.parse((G = r.column) == null ? void 0 : G.colDef.context.columnConfig.EXT_OPTIONS);
34282
- if (((z = te == null ? void 0 : te.imageUploadDir) == null ? void 0 : z.trim().length) > 0 && ((q = te.imageUploadKeyField) == null ? void 0 : q.trim().length) > 0) {
34282
+ if (((Y = te == null ? void 0 : te.imageUploadDir) == null ? void 0 : Y.trim().length) > 0 && ((j = te.imageUploadKeyField) == null ? void 0 : j.trim().length) > 0) {
34283
34283
  const ze = r.node.data[te.imageUploadKeyField];
34284
34284
  if ((ze == null ? void 0 : ze.trim().length) > 0) {
34285
34285
  let $e = "";
@@ -34338,12 +34338,12 @@ var D;
34338
34338
  * @param closeDialogWhenOkClick 是否关闭
34339
34339
  */
34340
34340
  async showExtOptionsEdit(r, i, n, s, c, h, p = !1) {
34341
- var N, G, z;
34341
+ var N, G, Y;
34342
34342
  const E = new e.PopRichEditor({ width: 450, height: 550, extension: "json" });
34343
34343
  let m = "";
34344
34344
  if (s && s.trim().length > 0) {
34345
- const q = s.split(",");
34346
- s = q[0], q.length > 1 && (m = q[1]);
34345
+ const j = s.split(",");
34346
+ s = j[0], j.length > 1 && (m = j[1]);
34347
34347
  }
34348
34348
  const I = {
34349
34349
  QUERY_TYPE: r,
@@ -34353,13 +34353,13 @@ var D;
34353
34353
  COMPANY_CODE: h || this.DefaultConfigCompanyCode,
34354
34354
  ITEM_CODE: m
34355
34355
  }, F = async () => {
34356
- const q = e.Core.buildEiInfo([I]);
34357
- return await e.Core.callService(e.SysInfo.queryDevConfigService, q);
34356
+ const j = e.Core.buildEiInfo([I]);
34357
+ return await e.Core.callService(e.SysInfo.queryDevConfigService, j);
34358
34358
  };
34359
34359
  let M = "";
34360
34360
  const Z = await F();
34361
- Z.getStatus() >= 0 && (M = e.Core.toString((z = (G = (N = Z.getBlockByIndex(0)) == null ? void 0 : N.getMappedRows()) == null ? void 0 : G[0]) == null ? void 0 : z.EXT_OPTIONS, !0)), E.CancelButtonCaption = e.Core.$t("ERX.Close") || "关闭", E.CloseDialogWhenOkClick = p, E.setEvent("ok", async () => {
34362
- const q = E.Content, Fe = e.Core.buildEiInfo([{ ...I, EXT_OPTIONS: q }], I.QUERY_TYPE.toUpperCase()), me = await e.Core.callService(e.SysInfo.saveDevConfigService, Fe);
34361
+ Z.getStatus() >= 0 && (M = e.Core.toString((Y = (G = (N = Z.getBlockByIndex(0)) == null ? void 0 : N.getMappedRows()) == null ? void 0 : G[0]) == null ? void 0 : Y.EXT_OPTIONS, !0)), E.CancelButtonCaption = e.Core.$t("ERX.Close") || "关闭", E.CloseDialogWhenOkClick = p, E.setEvent("ok", async () => {
34362
+ const j = E.Content, Fe = e.Core.buildEiInfo([{ ...I, EXT_OPTIONS: j }], I.QUERY_TYPE.toUpperCase()), me = await e.Core.callService(e.SysInfo.saveDevConfigService, Fe);
34363
34363
  return me.getStatus() < 0 ? e.Core.messageError(me.getMsg()) : e.Core.messageSuccess(e.Core.$t("ERX.OperateSuccess") || "操作成功!"), me.getStatus() >= 0;
34364
34364
  }), E.setOptions({
34365
34365
  title: I.QUERY_TYPE === "tsi00formext" ? `Form Extend Options [${I.FORM_NAME}]` : I.QUERY_TYPE === "tsi00gridviewext" ? `View Extend Options [${I.FORM_NAME}.${I.FUNCTION_ID}]` : `Item Extend Options [${I.FORM_NAME}.${I.FUNCTION_ID}.${m}]`
@@ -34398,13 +34398,13 @@ var D;
34398
34398
  else {
34399
34399
  const G = new e.PopTreeHelper("CURRENT_NODE_CODE", "PARENT_NODE_CODE", "CURRENT_NODE_DESC", { title: "DataSet Config List", nodeRenderer: ln });
34400
34400
  G.BordStyle = "Fixed";
34401
- const z = async () => {
34401
+ const Y = async () => {
34402
34402
  var Fe;
34403
- const q = await m.FormHelper.callService(e.SysInfo.queryDevConfigService, e.Core.buildEiInfo({ OPERATE_TYPE: "tsi00datasettree" }));
34404
- return q.getStatus() < 0 ? (e.Core.messageError(q.getMsg()), []) : ((Fe = q.getBlockByIndex(0)) == null ? void 0 : Fe.getMappedRows()) || [];
34403
+ const j = await m.FormHelper.callService(e.SysInfo.queryDevConfigService, e.Core.buildEiInfo({ OPERATE_TYPE: "tsi00datasettree" }));
34404
+ return j.getStatus() < 0 ? (e.Core.messageError(j.getMsg()), []) : ((Fe = j.getBlockByIndex(0)) == null ? void 0 : Fe.getMappedRows()) || [];
34405
34405
  };
34406
- G.receiveData(z), G.BeforeOkButtonClick = (q) => (q == null ? void 0 : q.NODE_TYPE) !== "DataTable" ? !1 : q, G.show(null, (q) => {
34407
- q != null && q.data && (m.FormHelper.setControlValue("LayoutGroupMain", "DATASET_NAME", q.data.DATASET_NAME), m.FormHelper.setControlValue("LayoutGroupMain", "TABLE_NAME", q.data.DATATABLE_NAME));
34406
+ G.receiveData(Y), G.BeforeOkButtonClick = (j) => (j == null ? void 0 : j.NODE_TYPE) !== "DataTable" ? !1 : j, G.show(null, (j) => {
34407
+ j != null && j.data && (m.FormHelper.setControlValue("LayoutGroupMain", "DATASET_NAME", j.data.DATASET_NAME), m.FormHelper.setControlValue("LayoutGroupMain", "TABLE_NAME", j.data.DATATABLE_NAME));
34408
34408
  });
34409
34409
  }
34410
34410
  }), m.show(null);
@@ -34423,9 +34423,9 @@ var D;
34423
34423
  e.Core.messageError(E.getMsg());
34424
34424
  return;
34425
34425
  } else
34426
- h = (F = (I = E.getBlockByIndex(0)) == null ? void 0 : I.getMappedRows()) == null ? void 0 : F.map((z) => ({
34427
- CODE: z.MODULE_ENAME,
34428
- CODE_DESC_1_CONTENT: z.MODULE_CNAME
34426
+ h = (F = (I = E.getBlockByIndex(0)) == null ? void 0 : I.getMappedRows()) == null ? void 0 : F.map((Y) => ({
34427
+ CODE: Y.MODULE_ENAME,
34428
+ CODE_DESC_1_CONTENT: Y.MODULE_CNAME
34429
34429
  }));
34430
34430
  const m = new e.PopFreeHelper(i || this._serverPartition, "SI00FormEdit", "LayoutGroupMain", this.InitialService);
34431
34431
  if (m.EditType = "Modify", m.OkButtonService = e.SysInfo.saveDevConfigService, m.OkButtonCaption = e.Core.$t("ERX.Save") || "Save", m.CancelButtonCaption = e.Core.$t("ERX.Close") || "Close", m.CloseDialogWhenOkClick = n, p = e.Core.buildEiInfo({ QUERY_TYPE: "tsi00form", FORM_NAME: r }), E = await this.callService(e.SysInfo.queryDevConfigService, p), E.getStatus() < 0) {
@@ -34438,10 +34438,10 @@ var D;
34438
34438
  c = (G = (N = E.getBlockByIndex(0)) == null ? void 0 : N.getMappedRows()) == null ? void 0 : G[0];
34439
34439
  m.ReceiveData(c), m.setEvent("initial", () => {
34440
34440
  m.FormHelper.reloadDropDownDataSource("LayoutGroupMain", "MODULE_TYPE", h);
34441
- }), m.setEvent("open", (z) => {
34442
- s != null && s.open && s.open instanceof Function && s.open(z);
34443
- }), s != null && s.colse && s.colse instanceof Function && m.setEvent("close", (z) => {
34444
- s.colse(z);
34441
+ }), m.setEvent("open", (Y) => {
34442
+ s != null && s.open && s.open instanceof Function && s.open(Y);
34443
+ }), s != null && s.colse && s.colse instanceof Function && m.setEvent("close", (Y) => {
34444
+ s.colse(Y);
34445
34445
  }), m.show(null);
34446
34446
  }
34447
34447
  /**
@@ -34453,12 +34453,12 @@ var D;
34453
34453
  * @returns ColumnDefs
34454
34454
  */
34455
34455
  getGridColumnDefs(r, i, n, s) {
34456
- var q, Fe, me, Se, de, _e, te, ze, $e, st;
34456
+ var j, Fe, me, Se, de, _e, te, ze, $e, st;
34457
34457
  let c = [];
34458
34458
  this._gridColumnsConfigInfo[r] = {}, this._gridColumnsInfo[r] = {}, this._gridOptions[r] = this._gridOptions[r] || {};
34459
34459
  const h = i.TSI00GRIDVIEW[0], p = i.TSI00GRIDCOLUMN, E = i.TSI00GRIDVIEW[0].TABLE_NAME;
34460
34460
  this.setBindingTableName(r);
34461
- const m = (q = this._formDataSet) == null ? void 0 : q.dataTables[E];
34461
+ const m = (j = this._formDataSet) == null ? void 0 : j.dataTables[E];
34462
34462
  m ? (m.setBindingInfo(this, r, "Grid"), m.setAllowCancelChanges(s == null ? void 0 : s.allowCancelChanges)) : console.error("ER: Could not find binding table of configuration [" + r + "]"), n.context = { bindingSource: m, bindTableName: E, mergeColumns: [] };
34463
34463
  const I = [];
34464
34464
  this._gridOptions[r].styleConfigInfo = { rowStyle: [], cellStyle: {} }, i.TSI00GRIDSTYLE && i.TSI00GRIDSTYLE.length > 0 && i.TSI00GRIDSTYLE.forEach((oe) => {
@@ -34483,7 +34483,7 @@ var D;
34483
34483
  const F = this.getModelFields(m), M = [], Z = {};
34484
34484
  let N, G;
34485
34485
  (((Fe = s == null ? void 0 : s.viewType) == null ? void 0 : Fe.toLowerCase()) === "band" || ((me = s == null ? void 0 : s.viewType) == null ? void 0 : me.toLowerCase()) === "bandview" && i.TSI00GRIDBAND && i.TSI00GRIDBAND.length > 0) && this.createGridBandColumn(i.TSI00GRIDBAND, M, Z, void 0, s), M.length > 0 && (c = M);
34486
- let z = {};
34486
+ let Y = {};
34487
34487
  for (let oe = 0; oe < p.length; oe++) {
34488
34488
  const V = p[oe];
34489
34489
  if (V.FUNCTION_TYPE = h.FUNCTION_TYPE, this._gridColumnsConfigInfo[r][V.ITEM_CODE] = V, M.length > 0 && (V.BAND_NAME.toString().trim().length === 0 || Z[V.BAND_NAME.toString().trim()] === void 0))
@@ -34519,12 +34519,12 @@ var D;
34519
34519
  });
34520
34520
  Ze && (Et = t.toHexColor(Ze.FILL_COLOR));
34521
34521
  }
34522
- z = s != null && s.columnOptions ? s.columnOptions[V.ITEM_CODE] : {};
34522
+ Y = s != null && s.columnOptions ? s.columnOptions[V.ITEM_CODE] : {};
34523
34523
  let St = V.ALLOW_EDIT === "1";
34524
34524
  ye === "boolean" && (St = V.ALLOW_EDIT === "1" && V.READ_ONLY !== "1"), s != null && s.columnOptions && s.columnOptions[V.ITEM_CODE] && s.columnOptions[V.ITEM_CODE].editable !== void 0 && (St = s.columnOptions[V.ITEM_CODE].editable);
34525
34525
  const yt = h.ALLOW_CELLMERGE !== "1" && ye !== "boolean" && ((s == null ? void 0 : s.wrapText) === !0 || e.Core.toString(s == null ? void 0 : s.wrapText).split(",").includes(V.ITEM_CODE)), _t = { simpleHeader: s == null ? void 0 : s.simpleHeader, fontSize: ut > 0 ? `${ut}px` : "unset", color: Et || Ae, backgroundColor: je, title: V.COL_CAPTION }, U = V.CUS_GROUP_SORT_TYPE || V.GROUP_SORT_TYPE;
34526
- z = {
34527
- ...z,
34526
+ Y = {
34527
+ ...Y,
34528
34528
  pinned: De,
34529
34529
  lockPosition: De,
34530
34530
  colId: V.ITEM_CODE,
@@ -34582,7 +34582,7 @@ var D;
34582
34582
  hide: V.IS_VISIBLE !== "1" || V.CUS_IS_VISIBLE !== "1" || (s == null ? void 0 : s.groupDisplayType) === "multipleColumns" && (U === "1" || V.GROUP_SORT_TYPE === "2"),
34583
34583
  // hide: columnConfig['CUS_IS_VISIBLE'] !== '1' || (groupSortType === '1' || groupSortType === '2'),
34584
34584
  context: { viewOptions: s, viewConfig: h, columnConfig: V, editable: St, titleInfo: _t }
34585
- }, (s == null ? void 0 : s.groupDisplayType) === "multipleColumns" && (U === "1" || V.GROUP_SORT_TYPE === "2") ? z.hide = !0 : V.ALLOW_SHOWHIDE === "0" ? z.hide = V.IS_VISIBLE === "0" : V.ALLOW_SHOWHIDE === "1" && (z.hide = V.CUS_IS_VISIBLE === "0" || V.CUS_IS_VISIBLE === "" && V.IS_VISIBLE === "0"), z.filter = "agMultiColumnFilter", z.filterParams = {
34585
+ }, (s == null ? void 0 : s.groupDisplayType) === "multipleColumns" && (U === "1" || V.GROUP_SORT_TYPE === "2") ? Y.hide = !0 : V.ALLOW_SHOWHIDE === "0" ? Y.hide = V.IS_VISIBLE === "0" : V.ALLOW_SHOWHIDE === "1" && (Y.hide = V.CUS_IS_VISIBLE === "0" || V.CUS_IS_VISIBLE === "" && V.IS_VISIBLE === "0"), Y.filter = "agMultiColumnFilter", Y.filterParams = {
34586
34586
  filters: [
34587
34587
  {
34588
34588
  filter: "agTextColumnFilter",
@@ -34606,20 +34606,20 @@ var D;
34606
34606
  }
34607
34607
  }
34608
34608
  ]
34609
- }, V.AUTO_FILTER_CONDITION === "Default" || V.AUTO_FILTER_CONDITION === "Contains" ? z.filterParams.defaultOption = "contains" : V.AUTO_FILTER_CONDITION === "Like" || V.AUTO_FILTER_CONDITION === "StartsWith" ? z.filterParams.defaultOption = "startsWith" : V.AUTO_FILTER_CONDITION === "EndsWith" ? z.filterParams.defaultOption = "endsWith" : z.filterParams.defaultOption = "equals";
34609
+ }, V.AUTO_FILTER_CONDITION === "Default" || V.AUTO_FILTER_CONDITION === "Contains" ? Y.filterParams.defaultOption = "contains" : V.AUTO_FILTER_CONDITION === "Like" || V.AUTO_FILTER_CONDITION === "StartsWith" ? Y.filterParams.defaultOption = "startsWith" : V.AUTO_FILTER_CONDITION === "EndsWith" ? Y.filterParams.defaultOption = "endsWith" : Y.filterParams.defaultOption = "equals";
34610
34610
  const Ot = {};
34611
34611
  switch (V.CELL_TEXTCOLOR.trim().length > 0 && (Ot.color = t.toHexColor(V.CELL_TEXTCOLOR)), V.CELL_BACKCOLOR.trim().length > 0 && (Ot.background = t.toHexColor(V.CELL_BACKCOLOR)), t.toNumber(V.CELL_FONTSIZE) > 0 && (Ot.fontSize = `${t.toNumber(V.CELL_FONTSIZE)}px`), yt ? Ot.whiteSpace = "pre-wrap" : V.SUMMARY_TYPE.includes("&") && (Ot.whiteSpace = "pre"), V.HALIGNMENT) {
34612
34612
  case "Center":
34613
- Ot.textAlign = "center", Ot.justifyContent = "center", ye === "boolean" && (Ot.display = "flex", Ot.justifyContent = "center"), z.cellClass = "center-cell";
34613
+ Ot.textAlign = "center", Ot.justifyContent = "center", ye === "boolean" && (Ot.display = "flex", Ot.justifyContent = "center"), Y.cellClass = "center-cell";
34614
34614
  break;
34615
34615
  case "Far":
34616
- Ot.textAlign = "right", Ot.justifyContent = "flex-end", ye === "boolean" && (Ot.display = "flex", Ot.justifyContent = "flex-end"), z.cellClass = "right-cell";
34616
+ Ot.textAlign = "right", Ot.justifyContent = "flex-end", ye === "boolean" && (Ot.display = "flex", Ot.justifyContent = "flex-end"), Y.cellClass = "right-cell";
34617
34617
  break;
34618
34618
  case "Near":
34619
- Ot.textAlign = "left", Ot.justifyContent = "flex-start", ye === "boolean" && (Ot.display = "flex", Ot.justifyContent = "flex-start"), z.cellClass = "left-cell";
34619
+ Ot.textAlign = "left", Ot.justifyContent = "flex-start", ye === "boolean" && (Ot.display = "flex", Ot.justifyContent = "flex-start"), Y.cellClass = "left-cell";
34620
34620
  break;
34621
34621
  default: {
34622
- ye === "number" ? (Ot.textAlign = "right", Ot.justifyContent = "flex-end", z.cellClass = "right-cell") : ye === "datetime" || ye === "time" ? (Ot.textAlign = "center", Ot.justifyContent = "center", z.cellClass = "center-cell") : ye === "boolean" ? (Ot.display = "flex", Ot.justifyContent = "center", z.cellClass = "center-cell") : z.cellClass = "left-cell";
34622
+ ye === "number" ? (Ot.textAlign = "right", Ot.justifyContent = "flex-end", Y.cellClass = "right-cell") : ye === "datetime" || ye === "time" ? (Ot.textAlign = "center", Ot.justifyContent = "center", Y.cellClass = "center-cell") : ye === "boolean" ? (Ot.display = "flex", Ot.justifyContent = "center", Y.cellClass = "center-cell") : Y.cellClass = "left-cell";
34623
34623
  break;
34624
34624
  }
34625
34625
  }
@@ -34633,9 +34633,9 @@ var D;
34633
34633
  break;
34634
34634
  }
34635
34635
  }
34636
- N === void 0 && !z.hide && (N = z), G === void 0 && !z.hide && ((this.IsRtl && z.pinned) === "right" || !this.IsRtl && z.pinned === "right") && (G = z), z.context.dataType = ye, z.context.cellStyles = Ot;
34636
+ N === void 0 && !Y.hide && (N = Y), G === void 0 && !Y.hide && ((this.IsRtl && Y.pinned) === "right" || !this.IsRtl && Y.pinned === "right") && (G = Y), Y.context.dataType = ye, Y.context.cellStyles = Ot;
34637
34637
  const It = this._gridOptions[r].styleConfigInfo.cellStyle[V.ITEM_CODE];
34638
- if ((Object.keys(Ot).length > 0 || It) && (z.cellStyle = (Ze) => {
34638
+ if ((Object.keys(Ot).length > 0 || It) && (Y.cellStyle = (Ze) => {
34639
34639
  var pt, Ft, kt, Ut;
34640
34640
  const Ue = { ...Ze.colDef.context.cellStyles };
34641
34641
  if (Ze.data && !((pt = Ze.node) != null && pt.rowPinned) && (It == null ? void 0 : It.length) > 0)
@@ -34664,10 +34664,10 @@ var D;
34664
34664
  return Ue == null || (typeof Ue == "string" ? pt = t.toString(Ue) : typeof Ue == "number" ? pt = t.formatNumberValue(Ue, "") : ya.isPlainObject(Ue) && (pt = `☑️ ${t.formatNumberValue(Ue.aggValueOfChecked, "")}
34665
34665
  ∑ ${t.formatNumberValue(Ue.aggValue, "")}`)), pt;
34666
34666
  };
34667
- if (z.valueFormatter = (Ue) => {
34667
+ if (Y.valueFormatter = (Ue) => {
34668
34668
  if (Ue.value)
34669
34669
  return Ze(Ue.value);
34670
- }, (V.CALL_FORM.trim().length > 0 || (s == null ? void 0 : s.allowHtmlTags) === !0 || (Se = s == null ? void 0 : s.allowHtmlTags) != null && Se.includes(V.ITEM_CODE)) && (z.cellRenderer = (Ue) => {
34670
+ }, (V.CALL_FORM.trim().length > 0 || (s == null ? void 0 : s.allowHtmlTags) === !0 || (Se = s == null ? void 0 : s.allowHtmlTags) != null && Se.includes(V.ITEM_CODE)) && (Y.cellRenderer = (Ue) => {
34671
34671
  var pt;
34672
34672
  if (Ue.node.rowPinned)
34673
34673
  return Ze(Ue.node.data[Ue.colDef.colId]);
@@ -34690,27 +34690,27 @@ var D;
34690
34690
  }
34691
34691
  })) : t.isUrl(Ft) ? `<a href="${Ft}" target="_blank">${Ft}</a>` : Ft;
34692
34692
  }
34693
- }), z.tooltipField = void 0, z.tooltipValueGetter = s != null && s.enableCellTooltip ? (Ue) => Ze(Ue.value).replaceAll("<br>", `
34693
+ }), Y.tooltipField = void 0, Y.tooltipValueGetter = s != null && s.enableCellTooltip ? (Ue) => Ze(Ue.value).replaceAll("<br>", `
34694
34694
  `) : void 0, ye === "datetime")
34695
- this.setGridColumnDateTimePicker(r, z, V.FORMAT_STRING);
34695
+ this.setGridColumnDateTimePicker(r, Y, V.FORMAT_STRING);
34696
34696
  else if (ye === "boolean")
34697
- z.context.cellEditType = "checkEditor", z.cellEditor = "agCheckboxCellEditor", z.cellDataType = "boolean", z.cellRenderer = void 0, z.cellClass = "center-cell-boolean";
34697
+ Y.context.cellEditType = "checkEditor", Y.cellEditor = "agCheckboxCellEditor", Y.cellDataType = "boolean", Y.cellRenderer = void 0, Y.cellClass = "center-cell-boolean";
34698
34698
  else if (ye === "number") {
34699
34699
  const Ue = {};
34700
34700
  t.toNumber(V.DATA_ACCU) >= 0 && (Ue.precision = t.toNumber(V.DATA_ACCU));
34701
34701
  const pt = t.toNumber(V.MAX_LENGTH) > 0 ? t.getMaxNumber(t.toNumber(V.MAX_LENGTH), t.toNumber(V.DATA_ACCU)) : void 0;
34702
- (t.toNumber(V.MAX_VAL) !== -1 || pt !== void 0) && (pt !== void 0 && t.toNumber(V.MAX_VAL) !== -1 && pt > t.toNumber(V.MAX_VAL) ? Ue.max = t.toNumber(V.MAX_VAL) : Ue.max = pt), (t.toNumber(V.MIN_VAL) !== -1 || pt !== void 0) && (pt !== void 0 && t.toNumber(V.MIN_VAL) !== -1 && -1 * pt < t.toNumber(V.MIN_VAL) ? Ue.min = t.toNumber(V.MIN_VAL) : pt !== void 0 && (Ue.min = -1 * pt)), V.COLUMN_EDIT === "G" ? Ue.progressBar = !0 : (Ue.format = V.FORMAT_STRING, Ue.summaryFormat = V.SUMMARY_FORMAT_STRING, Ue.groupFormat = V.GROUP_FORMAT_STRING), this.setGridColumnNumberEditor(r, z, Ue);
34702
+ (t.toNumber(V.MAX_VAL) !== -1 || pt !== void 0) && (pt !== void 0 && t.toNumber(V.MAX_VAL) !== -1 && pt > t.toNumber(V.MAX_VAL) ? Ue.max = t.toNumber(V.MAX_VAL) : Ue.max = pt), (t.toNumber(V.MIN_VAL) !== -1 || pt !== void 0) && (pt !== void 0 && t.toNumber(V.MIN_VAL) !== -1 && -1 * pt < t.toNumber(V.MIN_VAL) ? Ue.min = t.toNumber(V.MIN_VAL) : pt !== void 0 && (Ue.min = -1 * pt)), V.COLUMN_EDIT === "G" ? Ue.progressBar = !0 : (Ue.format = V.FORMAT_STRING, Ue.summaryFormat = V.SUMMARY_FORMAT_STRING, Ue.groupFormat = V.GROUP_FORMAT_STRING), this.setGridColumnNumberEditor(r, Y, Ue);
34703
34703
  } else if (["1", "2", "4", "D", "P"].includes(V.COLUMN_EDIT)) {
34704
- if (z.enablePivot = !0, z.context.columnEditable = V.ALLOW_EDIT === "1", z.context.cellEditType = ["4", "D"].includes(V.COLUMN_EDIT) ? "checkGridLookUpEdit" : "gridLookUpEdit", this._dropDownBindSource[r] && this._dropDownBindSource[r][z.colId]) {
34705
- const Ue = this._dropDownBindSource[r][z.colId];
34706
- Ue.dataSource && Ue.dataValueField && Ue.dataTextField && this.setGridColumnDropdown(r, z, Ue.dataSource, Ue.dataValueField, Ue.dataTextField, Ue.displayFormat);
34704
+ if (Y.enablePivot = !0, Y.context.columnEditable = V.ALLOW_EDIT === "1", Y.context.cellEditType = ["4", "D"].includes(V.COLUMN_EDIT) ? "checkGridLookUpEdit" : "gridLookUpEdit", this._dropDownBindSource[r] && this._dropDownBindSource[r][Y.colId]) {
34705
+ const Ue = this._dropDownBindSource[r][Y.colId];
34706
+ Ue.dataSource && Ue.dataValueField && Ue.dataTextField && this.setGridColumnDropdown(r, Y, Ue.dataSource, Ue.dataValueField, Ue.dataTextField, Ue.displayFormat);
34707
34707
  }
34708
- } else V.COLUMN_EDIT === "X" ? (z.enablePivot = !0, z.context.columnEditable = V.ALLOW_EDIT === "1", this.setGridColumnImageUpload(r, z, s)) : V.COLUMN_EDIT === "3" ? (z.context.cellEditType = "buttonEditor", z.cellEditor = x0, z.cellEditorParams = {
34708
+ } else V.COLUMN_EDIT === "X" ? (Y.enablePivot = !0, Y.context.columnEditable = V.ALLOW_EDIT === "1", this.setGridColumnImageUpload(r, Y, s)) : V.COLUMN_EDIT === "3" ? (Y.context.cellEditType = "buttonEditor", Y.cellEditor = x0, Y.cellEditorParams = {
34709
34709
  readonly: V.READ_ONLY === "1",
34710
34710
  maxLength: t.toNumber(V.MAX_LENGTH),
34711
34711
  formHelper: this,
34712
34712
  configId: r
34713
- }, ((de = V.POP_FORM) != null && de.trim().startsWith("MenuForm:") || (_e = V.POP_FORM) != null && _e.trim().startsWith("PopFormINQ:")) && ((te = V.AUTOFILL_COLS) == null ? void 0 : te.trim().length) > 0 && (z.cellEditorParams.event = (Ue) => {
34713
+ }, ((de = V.POP_FORM) != null && de.trim().startsWith("MenuForm:") || (_e = V.POP_FORM) != null && _e.trim().startsWith("PopFormINQ:")) && ((te = V.AUTOFILL_COLS) == null ? void 0 : te.trim().length) > 0 && (Y.cellEditorParams.event = (Ue) => {
34714
34714
  var qt, Mt, gr, ot;
34715
34715
  const pt = V.AUTOFILL_COLS;
34716
34716
  let Ft = "", kt = !0;
@@ -34730,29 +34730,29 @@ var D;
34730
34730
  P.checkedItem && Ut(P.checkedItem);
34731
34731
  });
34732
34732
  }
34733
- })) : V.COLUMN_EDIT === "Z" ? (z.context.cellEditType = "colorEditor", z.cellRenderer = G0, z.cellEditor = y0, z.cellEditorParams = {
34733
+ })) : V.COLUMN_EDIT === "Z" ? (Y.context.cellEditType = "colorEditor", Y.cellRenderer = G0, Y.cellEditor = y0, Y.cellEditorParams = {
34734
34734
  readonly: V.READ_ONLY === "1",
34735
34735
  formHelper: this,
34736
34736
  configId: r
34737
- }) : ["5", "8"].includes(V.COLUMN_EDIT) ? (z.enablePivot = !0, z.context.cellEditType = "largeTextEditor", z.cellEditor = P0, z.cellEditorPopup = !0, z.cellEditorParams = {
34737
+ }) : ["5", "8"].includes(V.COLUMN_EDIT) ? (Y.enablePivot = !0, Y.context.cellEditType = "largeTextEditor", Y.cellEditor = P0, Y.cellEditorPopup = !0, Y.cellEditorParams = {
34738
34738
  readonly: V.READ_ONLY === "1",
34739
34739
  maxLength: t.toNumber(V.MAX_LENGTH) > 0 ? t.toNumber(V.MAX_LENGTH) : void 0,
34740
34740
  rows: 10,
34741
34741
  cols: 50
34742
- }) : (z.enablePivot = !0, z.context.cellEditType = "textEditor", z.cellEditor = b0, z.cellEditorParams = {
34742
+ }) : (Y.enablePivot = !0, Y.context.cellEditType = "textEditor", Y.cellEditor = b0, Y.cellEditorParams = {
34743
34743
  readonly: V.READ_ONLY === "1",
34744
34744
  formHelper: this,
34745
34745
  configId: r,
34746
34746
  maxLength: t.toNumber(V.MAX_LENGTH) > 0 ? t.toNumber(V.MAX_LENGTH) : void 0
34747
34747
  });
34748
- } else V.UNBOUND_TYPE !== "0" && this.setGridColumnUnboundExpression(r, z, s);
34748
+ } else V.UNBOUND_TYPE !== "0" && this.setGridColumnUnboundExpression(r, Y, s);
34749
34749
  if (V.COLUMN_EDIT === "B") {
34750
34750
  let Ze = ["button"], Ue = ["按钮"];
34751
34751
  ((ze = V.DISPLAY_COLS) == null ? void 0 : ze.trim().length) > 0 && (Ze = V.DISPLAY_COLS.split(",")), (($e = V.DISPLAY_CAPTIONS) == null ? void 0 : $e.trim().length) > 0 && (Ue = V.DISPLAY_CAPTIONS.split(","));
34752
34752
  const pt = [];
34753
34753
  Ue.forEach((Ft, kt) => {
34754
34754
  pt.push({ name: Ze[kt], caption: Ft });
34755
- }), z.enablePivot = !0, z.editable = !1, z.floatingFilter = !1, z.filter = !1, z.sortable = !1, z.cellRenderer = Y0, z.cellRendererParams = {
34755
+ }), Y.enablePivot = !0, Y.editable = !1, Y.floatingFilter = !1, Y.filter = !1, Y.sortable = !1, Y.cellRenderer = Y0, Y.cellRendererParams = {
34756
34756
  buttons: pt,
34757
34757
  formHelper: this,
34758
34758
  configId: r,
@@ -34762,14 +34762,14 @@ var D;
34762
34762
  };
34763
34763
  }
34764
34764
  const rt = {};
34765
- V.ALLOW_CELLMERGE === "1" && V.ALLOW_EDIT !== "1" && h.ALLOW_CELLMERGE === "1" && (n.context.mergeColumns.push(V.ITEM_CODE), z.rowSpan = (Ze) => {
34765
+ V.ALLOW_CELLMERGE === "1" && V.ALLOW_EDIT !== "1" && h.ALLOW_CELLMERGE === "1" && (n.context.mergeColumns.push(V.ITEM_CODE), Y.rowSpan = (Ze) => {
34766
34766
  var Ue, pt, Ft;
34767
34767
  return Ze.colDef && ((Ue = Ze.data) != null && Ue.uid) && ((pt = Ze.context) != null && pt.rowSpanMap) ? ((Ft = Ze.context.rowSpanMap[Ze.colDef.field]) == null ? void 0 : Ft[Ze.data.uid]) ?? 1 : 1;
34768
34768
  }, rt["er-grid-cell-span"] = (Ze) => {
34769
34769
  var pt, Ft, kt;
34770
34770
  let Ue = 1;
34771
34771
  return Ze.colDef && ((pt = Ze.data) != null && pt.uid) && ((Ft = Ze.context) != null && Ft.rowSpanMap) && (Ue = ((kt = Ze.context.rowSpanMap[Ze.colDef.field]) == null ? void 0 : kt[Ze.data.uid]) ?? 1), Ue > 1;
34772
- }), Object.keys(rt).length > 0 && (z.cellClassRules = rt), this.setGridColumnAggFunc(r, z, V.SUMMARY_TYPE, n, V), M.length > 0 ? (z.enablePivot = !1, Z[V.BAND_NAME.toString().trim()].children.push(z)) : c.push(z), !n.treeData && z.rowGroup && I.push({ field: z.field, caption: z.headerTooltip, sort: V.GROUP_SORT_TYPE, editorType: z.context.cellEditType });
34772
+ }), Object.keys(rt).length > 0 && (Y.cellClassRules = rt), this.setGridColumnAggFunc(r, Y, V.SUMMARY_TYPE, n, V), M.length > 0 ? (Y.enablePivot = !1, Z[V.BAND_NAME.toString().trim()].children.push(Y)) : c.push(Y), !n.treeData && Y.rowGroup && I.push({ field: Y.field, caption: Y.headerTooltip, sort: V.GROUP_SORT_TYPE, editorType: Y.context.cellEditType });
34773
34773
  }
34774
34774
  if (n.context.allowDragRow = s == null ? void 0 : s.rowDragManaged, (s == null ? void 0 : s.groupDisplayType) !== "multipleColumns" && (s == null ? void 0 : s.groupDisplayType) !== "singleColumn" && I.length > 1 && (s == null ? void 0 : s.mergeColumnsGroup) !== !1) {
34775
34775
  c.forEach((De) => {
@@ -34794,7 +34794,7 @@ var D;
34794
34794
  }
34795
34795
  }), Ae;
34796
34796
  };
34797
- z = {
34797
+ Y = {
34798
34798
  colId: oe,
34799
34799
  field: oe,
34800
34800
  headerName: V,
@@ -34810,9 +34810,9 @@ var D;
34810
34810
  valueGetter: ye,
34811
34811
  tootipField: oe,
34812
34812
  tootipValueGetter: ye
34813
- }, c.push(z);
34813
+ }, c.push(Y);
34814
34814
  }
34815
- if (z = {
34815
+ if (Y = {
34816
34816
  colId: e.SysInfo.GridCheckColumnFieldName,
34817
34817
  pinned: this.IsRtl ? "right" : "left",
34818
34818
  rowDrag: s != null && s.rowDragManaged ? (oe) => {
@@ -34836,13 +34836,13 @@ var D;
34836
34836
  suppressMovable: !0,
34837
34837
  floatingFilter: !1,
34838
34838
  lockPosition: this.IsRtl ? "right" : "left"
34839
- }, this.getGridOptions(r, "RowSelection", !0) === "multiple" && (z.headerCheckboxSelectionFilteredOnly = (s == null ? void 0 : s.headerCheckboxSelectionFilteredOnly) ?? !0, z.headerCheckboxSelectionFilteredOnly !== !0 ? z.headerCheckboxSelectionCurrentPageOnly = s == null ? void 0 : s.headerCheckboxSelectionCurrentPageOnly : delete z.headerCheckboxSelectionCurrentPageOnly, z.headerCheckboxSelection = (s == null ? void 0 : s.headerCheckboxSelection) === !1 ? !1 : h.SHOW_SELECTION === "1"), (s == null ? void 0 : s.showRowNo) !== !1 && !n.treeData && (z.valueFormatter = (oe) => {
34839
+ }, this.getGridOptions(r, "RowSelection", !0) === "multiple" && (Y.headerCheckboxSelectionFilteredOnly = (s == null ? void 0 : s.headerCheckboxSelectionFilteredOnly) ?? !0, Y.headerCheckboxSelectionFilteredOnly !== !0 ? Y.headerCheckboxSelectionCurrentPageOnly = s == null ? void 0 : s.headerCheckboxSelectionCurrentPageOnly : delete Y.headerCheckboxSelectionCurrentPageOnly, Y.headerCheckboxSelection = (s == null ? void 0 : s.headerCheckboxSelection) === !1 ? !1 : h.SHOW_SELECTION === "1"), (s == null ? void 0 : s.showRowNo) !== !1 && !n.treeData && (Y.valueFormatter = (oe) => {
34840
34840
  var V, ye;
34841
34841
  return oe.node.rowPinned ? ((V = oe.node.data) == null ? void 0 : V.pinndeRowType) === "ErGridSummaryFooter" && (s == null ? void 0 : s.showAggreateTitle) !== !1 ? e.Core.$t("ERX.Aggregate") || "总计" : "" : oe.node.footer && oe.node.level >= 0 ? (s == null ? void 0 : s.showAggreateTitle) !== !1 ? e.Core.$t("ERX.GroupAggregate") || "小计" : "" : oe.node.footer ? (s == null ? void 0 : s.showAggreateTitle) !== !1 ? e.Core.$t("ERX.Aggregate") || "总计" : "" : oe.node.group ? s != null && s.showGroupRowNo || s != null && s.showGroupNo ? (e.Core.$t("ERX.GroupAggregate") || "分组") + this.getGroupIndexName(oe.node, "") : "" : ((ye = oe.node) == null ? void 0 : ye.childIndex) + 1;
34842
- }, z.cellClass = (oe) => {
34842
+ }, Y.cellClass = (oe) => {
34843
34843
  var V, ye, De, Ae;
34844
34844
  return oe.node.rowPinned ? "er-grid-indicator-rowno-group" : oe.node.footer && oe.node.level >= 0 ? "er-grid-indicator-rowno" : oe.node.footer || oe.node.group ? "er-grid-indicator-rowno-group" : (ye = (V = oe.node) == null ? void 0 : V.data) != null && ye.isNew ? "er-grid-indicator-rowno-add" : (Ae = (De = oe.node) == null ? void 0 : De.data) != null && Ae.dirty ? "er-grid-indicator-rowno-modify" : "er-grid-indicator-rowno";
34845
- }, ((st = s.detailConfigId) == null ? void 0 : st.trim().length) > 0 && s.masterDetail && (z.cellRenderer = "agGroupCellRenderer", z.width = s != null && s.rowDragManaged ? 90 : 70), z.tooltipValueGetter = s != null && s.enableCellTooltip ? (oe) => {
34845
+ }, ((st = s.detailConfigId) == null ? void 0 : st.trim().length) > 0 && s.masterDetail && (Y.cellRenderer = "agGroupCellRenderer", Y.width = s != null && s.rowDragManaged ? 90 : 70), Y.tooltipValueGetter = s != null && s.enableCellTooltip ? (oe) => {
34846
34846
  var V;
34847
34847
  if (!oe.node.footer && !oe.node.rowPinned && !oe.node.group)
34848
34848
  return ((V = oe.node) == null ? void 0 : V.childIndex) + 1;
@@ -34875,7 +34875,7 @@ var D;
34875
34875
  break;
34876
34876
  }
34877
34877
  }
34878
- return s != null && s.indicatorWidth && typeof (s == null ? void 0 : s.indicatorWidth) == "number" && (s == null ? void 0 : s.indicatorWidth) > 0 && (z.width = s == null ? void 0 : s.indicatorWidth), (h.SHOW_SELECTION.toString() === "1" || (s == null ? void 0 : s.showRowNo) !== !1) && c.unshift(z), (s == null ? void 0 : s.showSingleColumnBand) !== !0 && Z && Object.keys(Z).length > 0 && c.forEach((oe, V, ye) => {
34878
+ return s != null && s.indicatorWidth && typeof (s == null ? void 0 : s.indicatorWidth) == "number" && (s == null ? void 0 : s.indicatorWidth) > 0 && (Y.width = s == null ? void 0 : s.indicatorWidth), (h.SHOW_SELECTION.toString() === "1" || (s == null ? void 0 : s.showRowNo) !== !1) && c.unshift(Y), (s == null ? void 0 : s.showSingleColumnBand) !== !0 && Z && Object.keys(Z).length > 0 && c.forEach((oe, V, ye) => {
34879
34879
  var De;
34880
34880
  ((De = oe.children) == null ? void 0 : De.length) === 1 && (ye[V] = oe.children[0], ye[V].autoHeaderHeight = void 0);
34881
34881
  }), c;
@@ -34959,7 +34959,7 @@ var D;
34959
34959
  * @returns colDef
34960
34960
  */
34961
34961
  setGridColumnAggFunc(r, i, n, s, c) {
34962
- var h, p, E, m, I, F, M, Z, N, G, z, q;
34962
+ var h, p, E, m, I, F, M, Z, N, G, Y, j;
34963
34963
  if (n instanceof Function)
34964
34964
  i.aggFunc = n;
34965
34965
  else if ((n == null ? void 0 : n.trim().length) > 0) {
@@ -35089,7 +35089,7 @@ var D;
35089
35089
  if (((E = c.WEIGHT_COLUMN) == null ? void 0 : E.trim().length) > 0) {
35090
35090
  let me = "", Se = "";
35091
35091
  const de = (m = c.WEIGHT_COLUMN) == null ? void 0 : m.trim().split("/");
35092
- de.length > 1 ? (me = de[0], Se = de[1]) : (me = c.FIELD_NAME, Se = de[0]), (Z = (M = (F = (I = s.context) == null ? void 0 : I.bindingSource) == null ? void 0 : F.options) == null ? void 0 : M.schema) != null && Z[me] && ((q = (z = (G = (N = s.context) == null ? void 0 : N.bindingSource) == null ? void 0 : G.options) == null ? void 0 : z.schema) != null && q[Se]) && (i.context.weightColumnField = Se, i.aggFunc = (_e) => {
35092
+ de.length > 1 ? (me = de[0], Se = de[1]) : (me = c.FIELD_NAME, Se = de[0]), (Z = (M = (F = (I = s.context) == null ? void 0 : I.bindingSource) == null ? void 0 : F.options) == null ? void 0 : M.schema) != null && Z[me] && ((j = (Y = (G = (N = s.context) == null ? void 0 : N.bindingSource) == null ? void 0 : G.options) == null ? void 0 : Y.schema) != null && j[Se]) && (i.context.weightColumnField = Se, i.aggFunc = (_e) => {
35093
35093
  try {
35094
35094
  let te = new er(0), ze = new er(0);
35095
35095
  const $e = [];
@@ -35157,7 +35157,7 @@ var D;
35157
35157
  * @returns this
35158
35158
  */
35159
35159
  setGridColumnDropdown(r, i, n, s = "CODE", c, h = "default") {
35160
- var I, F, M, Z, N, G, z, q, Fe, me, Se, de, _e, te, ze, $e, st, oe, V;
35160
+ var I, F, M, Z, N, G, Y, j, Fe, me, Se, de, _e, te, ze, $e, st, oe, V;
35161
35161
  i.cellEditorPopup = ((F = (I = i.context) == null ? void 0 : I.columnConfig) == null ? void 0 : F.READ_ONLY) !== "1", i.cellEditor = _0, i.cellEditorParams = {
35162
35162
  readonly: ((Z = (M = i.context) == null ? void 0 : M.columnConfig) == null ? void 0 : Z.READ_ONLY) === "1",
35163
35163
  formHelper: this,
@@ -35186,7 +35186,7 @@ var D;
35186
35186
  }) : De = p[It] || ((Ot = i.context) != null && Ot.viewOptions.nullSelectOptionTag ? `❓${It}` : It));
35187
35187
  }
35188
35188
  return De;
35189
- }, (((G = i.context.columnConfig) == null ? void 0 : G.COLUMN_EDIT) === "P" || ((q = (z = i.context) == null ? void 0 : z.columnConfig) == null ? void 0 : q.CALL_FORM.trim().length) > 0) && (i.cellRenderer = (ye) => {
35189
+ }, (((G = i.context.columnConfig) == null ? void 0 : G.COLUMN_EDIT) === "P" || ((j = (Y = i.context) == null ? void 0 : Y.columnConfig) == null ? void 0 : j.CALL_FORM.trim().length) > 0) && (i.cellRenderer = (ye) => {
35190
35190
  var Et, St, yt, _t, U, Ot, It, rt, Ze, Ue;
35191
35191
  const De = i.valueFormatter(ye).replace(/</g, "&lt;");
35192
35192
  let Ae = "", je = "";
@@ -35271,7 +35271,7 @@ var D;
35271
35271
  * @returns this
35272
35272
  */
35273
35273
  setGridColumnDateTimePicker(r, i, n = "yyyy-MM-dd HH:mm:ss") {
35274
- var c, h, p, E, m, I, F, M, Z, N, G, z, q, Fe, me, Se, de;
35274
+ var c, h, p, E, m, I, F, M, Z, N, G, Y, j, Fe, me, Se, de;
35275
35275
  i.enablePivot = !0, i.context.cellEditType = "dateEditor", i.cellDataType = !1, i.cellEditor = p0, i.cellEditorParams = {
35276
35276
  readonly: ((h = (c = i.context) == null ? void 0 : c.columnConfig) == null ? void 0 : h.READ_ONLY) === "1",
35277
35277
  formHelper: this,
@@ -35307,8 +35307,8 @@ var D;
35307
35307
  } : void 0,
35308
35308
  showTooltips: !0,
35309
35309
  excelMode: ((N = (Z = i.context) == null ? void 0 : Z.viewOptions) == null ? void 0 : N.excelMode) === "mac" ? "mac" : "windows",
35310
- buttons: ((z = (G = i.context) == null ? void 0 : G.viewOptions) == null ? void 0 : z.showApplyFilterButton) !== !1 ? ["reset", "apply"] : void 0,
35311
- closeOnApply: (Fe = (q = i.context) == null ? void 0 : q.viewOptions) == null ? void 0 : Fe.closeOnApplyFilter
35310
+ buttons: ((Y = (G = i.context) == null ? void 0 : G.viewOptions) == null ? void 0 : Y.showApplyFilterButton) !== !1 ? ["reset", "apply"] : void 0,
35311
+ closeOnApply: (Fe = (j = i.context) == null ? void 0 : j.viewOptions) == null ? void 0 : Fe.closeOnApplyFilter
35312
35312
  }
35313
35313
  }
35314
35314
  ]
@@ -35354,7 +35354,7 @@ var D;
35354
35354
  * @returns this
35355
35355
  */
35356
35356
  setGridColumnNumberEditor(r, i, n) {
35357
- var E, m, I, F, M, Z, N, G, z, q, Fe, me, Se, de, _e, te, ze, $e, st, oe, V, ye, De;
35357
+ var E, m, I, F, M, Z, N, G, Y, j, Fe, me, Se, de, _e, te, ze, $e, st, oe, V, ye, De;
35358
35358
  let s = {}, c = {};
35359
35359
  const h = t.toString((m = (E = i.context) == null ? void 0 : E.viewConfig) == null ? void 0 : m.EXT_OPTIONS).trim(), p = t.toString((F = (I = i.context) == null ? void 0 : I.columnConfig) == null ? void 0 : F.EXT_OPTIONS).trim();
35360
35360
  return h.length > 0 && (s = JSON.parse(h)), p.length > 0 && (c = JSON.parse(p)), i.context.cellEditType = "numberEditor", i.enableValue = !0, i.cellEditor = w0, i.cellDataType = "number", i.cellEditorParams = {
@@ -35368,7 +35368,7 @@ var D;
35368
35368
  {
35369
35369
  filter: "agNumberColumnFilter",
35370
35370
  filterParams: {
35371
- buttons: ((q = (z = i.context) == null ? void 0 : z.viewOptions) == null ? void 0 : q.showApplyFilterButton) !== !1 ? ["reset", "apply"] : void 0,
35371
+ buttons: ((j = (Y = i.context) == null ? void 0 : Y.viewOptions) == null ? void 0 : j.showApplyFilterButton) !== !1 ? ["reset", "apply"] : void 0,
35372
35372
  closeOnApply: (me = (Fe = i.context) == null ? void 0 : Fe.viewOptions) == null ? void 0 : me.closeOnApplyFilter
35373
35373
  }
35374
35374
  },
@@ -35476,10 +35476,10 @@ var D;
35476
35476
  callFormLink: Z,
35477
35477
  antTooltip: !0,
35478
35478
  click: Z ? (N) => {
35479
- var q;
35479
+ var j;
35480
35480
  let G = i.context.columnConfig.CALL_FORM;
35481
- const z = (q = N.node) == null ? void 0 : q.data.toJSON();
35482
- G.endsWith("??") ? (G = G.replace("??", ""), encodeURIComponent(encodeURIComponent(JSON.stringify(z)))) : G.endsWith("?") && (G = G.replace("?", ""), encodeURIComponent(JSON.stringify(z))), this.setLocalStorage(G, { senderType: "gridCell", value: N.value, data: z, formNameFrom: this.FormName });
35481
+ const Y = (j = N.node) == null ? void 0 : j.data.toJSON();
35482
+ G.endsWith("??") ? (G = G.replace("??", ""), encodeURIComponent(encodeURIComponent(JSON.stringify(Y)))) : G.endsWith("?") && (G = G.replace("?", ""), encodeURIComponent(JSON.stringify(Y))), this.setLocalStorage(G, { senderType: "gridCell", value: N.value, data: Y, formNameFrom: this.FormName });
35483
35483
  } : void 0
35484
35484
  }
35485
35485
  })) : M;
@@ -35511,7 +35511,7 @@ var D;
35511
35511
  }, this;
35512
35512
  }
35513
35513
  getGridMenuItems(r) {
35514
- var p, E, m, I, F, M, Z, N, G, z, q, Fe, me, Se, de, _e, te, ze, $e, st, oe, V, ye, De, Ae, je, ut, Et, St, yt, _t, U, Ot, It, rt, Ze, Ue, pt, Ft, kt, Ut, qt, Mt, gr, ot, Gt, P, re, X, K, ae, ne, Pe, We, Me, be, Ge, ct, k, ie, Ee, Le, Je, Tt, B, le, A, we, qe, He, Oe, et, ft, Ve, dt, vt, Dt, Nt, Wt, Ht, Xt, g, ir, Zt, La, ci, ui, di, fi;
35514
+ var p, E, m, I, F, M, Z, N, G, Y, j, Fe, me, Se, de, _e, te, ze, $e, st, oe, V, ye, De, Ae, je, ut, Et, St, yt, _t, U, Ot, It, rt, Ze, Ue, pt, Ft, kt, Ut, qt, Mt, gr, ot, Gt, P, re, X, K, ae, ne, Pe, We, Me, be, Ge, ct, k, ie, Ee, Le, Je, Tt, B, le, A, we, qe, He, Oe, et, ft, Ve, dt, vt, Dt, Nt, Wt, Ht, Xt, g, ir, Zt, La, ci, ui, di, fi;
35515
35515
  const i = (E = (p = r.column) == null ? void 0 : p.gridOptionsService) == null ? void 0 : E.gridOptions, n = (m = r == null ? void 0 : r.context) == null ? void 0 : m.options, s = (I = i == null ? void 0 : i.context) == null ? void 0 : I.configId, c = r.defaultItems;
35516
35516
  c.length = 0, c.push("pinSubMenu", "separator", "autoSizeThis", "autoSizeAll", "separator");
35517
35517
  const h = ($t = !1) => {
@@ -35571,7 +35571,7 @@ var D;
35571
35571
  }), console.info("ER: The grid custom configuration synchronization was successful!")) : this.messageError(this.$t("ERX.ErGrid.SaveUserConfigFailed") || "保存用户配置失败"));
35572
35572
  }), lr.show(null);
35573
35573
  };
35574
- if (r.api.getDisplayedRowCount() > 0 && ((M = (F = r.columnApi) == null ? void 0 : F.getRowGroupColumns()) == null ? void 0 : M.length) > 0 && c.push("expandAll", "contractAll", "separator"), ((Z = r == null ? void 0 : r.context) == null ? void 0 : Z.isDetailGrid) !== !0 && ((n == null ? void 0 : n.allowAdvanceFilter) !== !1 && ((N = n == null ? void 0 : n.advanceFilter) == null ? void 0 : N.allow) !== !1 && (((G = n == null ? void 0 : n.advanceFilterService) == null ? void 0 : G.length) > 0 || ((q = (z = n == null ? void 0 : n.advanceFilter) == null ? void 0 : z.service) == null ? void 0 : q.length) > 0), this.getGridOptions(s, "ShowQuickFilter", !0) !== "2" && (this.getGridOptions(s, "ShowQuickFilter", !0) === "1" ? c.push({
35574
+ if (r.api.getDisplayedRowCount() > 0 && ((M = (F = r.columnApi) == null ? void 0 : F.getRowGroupColumns()) == null ? void 0 : M.length) > 0 && c.push("expandAll", "contractAll", "separator"), ((Z = r == null ? void 0 : r.context) == null ? void 0 : Z.isDetailGrid) !== !0 && ((n == null ? void 0 : n.allowAdvanceFilter) !== !1 && ((N = n == null ? void 0 : n.advanceFilter) == null ? void 0 : N.allow) !== !1 && (((G = n == null ? void 0 : n.advanceFilterService) == null ? void 0 : G.length) > 0 || ((j = (Y = n == null ? void 0 : n.advanceFilter) == null ? void 0 : Y.service) == null ? void 0 : j.length) > 0), this.getGridOptions(s, "ShowQuickFilter", !0) !== "2" && (this.getGridOptions(s, "ShowQuickFilter", !0) === "1" ? c.push({
35575
35575
  name: this.$t("ERX.ErGrid.HideQuickFilter") || "隐藏快速搜索栏",
35576
35576
  action: () => {
35577
35577
  this.setGridOptions(s, "ShowQuickFilter", "0", !0);
@@ -36583,11 +36583,11 @@ var D;
36583
36583
  FORM_NAME: this._formName,
36584
36584
  FUNCTION_ID: r,
36585
36585
  DEVICE_ID: e.SysInfo.Culture
36586
- }, M = i.columnApi.getColumnState().filter((z) => z.sort !== null).sort((z, q) => (z.sortIndex ?? 0) - (q.sortIndex ?? 0));
36586
+ }, M = i.columnApi.getColumnState().filter((Y) => Y.sort !== null).sort((Y, j) => (Y.sortIndex ?? 0) - (j.sortIndex ?? 0));
36587
36587
  let Z = "";
36588
- M.length > 0 && (M.forEach((z) => {
36589
- const q = z.sort === "desc" ? z.colId + " desc" : z.colId;
36590
- Z += q + ",";
36588
+ M.length > 0 && (M.forEach((Y) => {
36589
+ const j = Y.sort === "desc" ? Y.colId + " desc" : Y.colId;
36590
+ Z += j + ",";
36591
36591
  }), Z = Z.substring(0, Z.length - 1)), F.EXT_OPTIONS = JSON.stringify({
36592
36592
  SORT_FIELD_NAME: Z
36593
36593
  });
@@ -36595,8 +36595,8 @@ var D;
36595
36595
  I.addBlock(N);
36596
36596
  let G = !0;
36597
36597
  n && (G = await t.messageConfirm(this.$t("ERX.ErGrid.SaveUserConfig") || "是否确定同步个人配置?")), G ? t.callService(e.SysInfo.saveDevConfigService, I).then(
36598
- (z) => {
36599
- h = z, s(h);
36598
+ (Y) => {
36599
+ h = Y, s(h);
36600
36600
  }
36601
36601
  ) : n && (h.setStatus(999), h.setMsg("Cancel operation"), s(h));
36602
36602
  } else
@@ -36671,20 +36671,20 @@ var D;
36671
36671
  }), N.length > 0)
36672
36672
  if (M.setFilterModel(null), i === "CheckedRows") {
36673
36673
  const G = M.getSelectedNodes();
36674
- for (let z = 0; z < G.length; z++)
36675
- if (c = this.checkGridRowInput(M, G[z], N, n, s), !c)
36674
+ for (let Y = 0; Y < G.length; Y++)
36675
+ if (c = this.checkGridRowInput(M, G[Y], N, n, s), !c)
36676
36676
  return c;
36677
36677
  } else if (i === "AllRows") {
36678
36678
  const G = M.getModel().getRowCount();
36679
- for (let z = 0; z < G; z++) {
36680
- const q = M.getModel().getRow(z);
36681
- if (q != null && q.data && (c = this.checkGridRowInput(M, q, N, n, s), !c))
36679
+ for (let Y = 0; Y < G; Y++) {
36680
+ const j = M.getModel().getRow(Y);
36681
+ if (j != null && j.data && (c = this.checkGridRowInput(M, j, N, n, s), !c))
36682
36682
  return c;
36683
36683
  }
36684
36684
  } else {
36685
- const G = this.getGridCreatedRows(r), z = this.getGridModifyRows(r), q = [...G, ...z];
36686
- for (let Fe = 0; Fe < q.length; Fe++) {
36687
- const me = M.getModel().getRowNode(q[Fe].uid);
36685
+ const G = this.getGridCreatedRows(r), Y = this.getGridModifyRows(r), j = [...G, ...Y];
36686
+ for (let Fe = 0; Fe < j.length; Fe++) {
36687
+ const me = M.getModel().getRowNode(j[Fe].uid);
36688
36688
  if (me != null && me.data && (c = this.checkGridRowInput(M, me, N, n, s), !c))
36689
36689
  return c;
36690
36690
  }
@@ -36700,12 +36700,12 @@ var D;
36700
36700
  const M = n[F].ITEM_CODE, Z = n[F].FIELD_NAME, N = n[F].CONDITION_TABLE;
36701
36701
  let G = {};
36702
36702
  t.toString(n[F].EXT_OPTIONS).trim().length > 0 && (G = JSON.parse(t.toString(n[F].EXT_OPTIONS)));
36703
- const z = G.requireCondition || n[F].MUST_INPUT_CONDITION, q = r.getColumnDef(M);
36704
- if (q && (!q.visible || !s))
36705
- if (z.trim().length === 0) {
36706
- if (i.rowIndex && (i == null ? void 0 : i.data[Z]) === void 0 || (i == null ? void 0 : i.data[Z]) === null || t.toString(i == null ? void 0 : i.data[Z]).trim().length === 0 || ((p = q.context) == null ? void 0 : p.dataType) === "number" && (i == null ? void 0 : i.data[Z]) === 0)
36707
- return c && (r.ensureNodeVisible(i, "top"), r.ensureColumnVisible(q.colId, "auto"), r.startEditingCell({ rowIndex: i.rowIndex || 0, colKey: q.colId }), t.messageWarning(e.Core.$t("ERX.InputEmptyMessage"))), r.getCellEditorInstances({
36708
- columns: [q],
36703
+ const Y = G.requireCondition || n[F].MUST_INPUT_CONDITION, j = r.getColumnDef(M);
36704
+ if (j && (!j.visible || !s))
36705
+ if (Y.trim().length === 0) {
36706
+ if (i.rowIndex && (i == null ? void 0 : i.data[Z]) === void 0 || (i == null ? void 0 : i.data[Z]) === null || t.toString(i == null ? void 0 : i.data[Z]).trim().length === 0 || ((p = j.context) == null ? void 0 : p.dataType) === "number" && (i == null ? void 0 : i.data[Z]) === 0)
36707
+ return c && (r.ensureNodeVisible(i, "top"), r.ensureColumnVisible(j.colId, "auto"), r.startEditingCell({ rowIndex: i.rowIndex || 0, colKey: j.colId }), t.messageWarning(e.Core.$t("ERX.InputEmptyMessage"))), r.getCellEditorInstances({
36708
+ columns: [j],
36709
36709
  // 列的field
36710
36710
  rowNodes: [i]
36711
36711
  // 行节点
@@ -36714,8 +36714,8 @@ var D;
36714
36714
  }), !1;
36715
36715
  } else {
36716
36716
  let Fe = i == null ? void 0 : i.data;
36717
- if (N.trim().length > 0 && ((E = this._formDataSet) != null && E.contains(N.trim())) && (Fe = (m = this._formDataSet) == null ? void 0 : m.getCurrentDataObject(N.trim())), t.checkExpressionValid(Fe, e.Core.getSystemFormatString(z)) && ((i == null ? void 0 : i.data[Z]) === void 0 || (i == null ? void 0 : i.data[Z]) === null || t.toString(i == null ? void 0 : i.data[Z]).trim().length === 0 || ((I = q.context) == null ? void 0 : I.dataType) === "number" && (i == null ? void 0 : i.data[Z]) === 0))
36718
- return c && (r.ensureNodeVisible(i, "top"), r.ensureColumnVisible(q.colId, "auto"), r.startEditingCell({ rowIndex: i.rowIndex || 0, colKey: q.colId }), t.messageWarning(e.Core.$t("ERX.InputEmptyMessage"))), !1;
36717
+ if (N.trim().length > 0 && ((E = this._formDataSet) != null && E.contains(N.trim())) && (Fe = (m = this._formDataSet) == null ? void 0 : m.getCurrentDataObject(N.trim())), t.checkExpressionValid(Fe, e.Core.getSystemFormatString(Y)) && ((i == null ? void 0 : i.data[Z]) === void 0 || (i == null ? void 0 : i.data[Z]) === null || t.toString(i == null ? void 0 : i.data[Z]).trim().length === 0 || ((I = j.context) == null ? void 0 : I.dataType) === "number" && (i == null ? void 0 : i.data[Z]) === 0))
36718
+ return c && (r.ensureNodeVisible(i, "top"), r.ensureColumnVisible(j.colId, "auto"), r.startEditingCell({ rowIndex: i.rowIndex || 0, colKey: j.colId }), t.messageWarning(e.Core.$t("ERX.InputEmptyMessage"))), !1;
36719
36719
  }
36720
36720
  }
36721
36721
  return !0;
@@ -37146,9 +37146,9 @@ var D;
37146
37146
  return Z.type = M.type === "number" ? "N" : "C", Z.name = M.name, Z.descName = M.caption, Z;
37147
37147
  }, F = [];
37148
37148
  i ? (E = (p = r == null ? void 0 : r.gridOptions) == null ? void 0 : p.columnApi.getAllGridColumns()) == null || E.forEach((M) => {
37149
- var Z, N, G, z, q, Fe, me;
37149
+ var Z, N, G, Y, j, Fe, me;
37150
37150
  if ((G = (Z = c == null ? void 0 : c.options) == null ? void 0 : Z.schema) != null && G[(N = M.colDef) == null ? void 0 : N.field]) {
37151
- const Se = I((q = c == null ? void 0 : c.options) == null ? void 0 : q.schema[(z = M.colDef) == null ? void 0 : z.field]);
37151
+ const Se = I((j = c == null ? void 0 : c.options) == null ? void 0 : j.schema[(Y = M.colDef) == null ? void 0 : Y.field]);
37152
37152
  Se.descName = (me = (Fe = M.colDef) == null ? void 0 : Fe.headerName) == null ? void 0 : me.replaceAll("<br>", "").replaceAll("</br>", "").replaceAll("<br/>", ""), s.addColumn(Se), F.push({ name: Se.name, type: Se.type });
37153
37153
  }
37154
37154
  }) : Object.keys((m = c == null ? void 0 : c.options) == null ? void 0 : m.schema).forEach((M) => {
@@ -37637,7 +37637,12 @@ var D;
37637
37637
  });
37638
37638
  const m = { flag: -1, msg: "", data: void 0, total: 0 }, F = (Z = (M = this.getGrid(r).gridOptions.context) == null ? void 0 : M.pageOptions) == null ? void 0 : Z.pageSize;
37639
37639
  E.addBlock(e.Core.buildEiBlock([{ PAGE_NUM: c, PAGE_SIZE: F }], "PAGEINFO")), await this.callService(n.trim(), E, { messageError: !0 }).then((N) => {
37640
- N.getStatus() >= 0 && (m.flag = 0, m.data = N.getBlockByIndex(0), m.total = N.getBlockByIndex(0).length, N.containsBlock("PAGEINFO") && (m.total = N.getBlock("PAGEINFO").getMappedRows()[0].TOTAL_RECORD));
37640
+ var G;
37641
+ if (N.getStatus() >= 0) {
37642
+ m.flag = 0;
37643
+ const Y = N.getBlockByIndex(0);
37644
+ m.data = Y, m.total = ((G = Y == null ? void 0 : Y.getMappedRows()) == null ? void 0 : G.length) || 0, N.containsBlock("PAGEINFO") && (m.total = N.getBlock("PAGEINFO").getMappedRows()[0].TOTAL_RECORD);
37645
+ }
37641
37646
  }), h(m);
37642
37647
  }), s);
37643
37648
  }
@@ -37658,7 +37663,12 @@ var D;
37658
37663
  });
37659
37664
  const I = { flag: -1, msg: "", data: void 0, total: 0 }, M = (N = (Z = this.getGrid(r).gridOptions.context) == null ? void 0 : Z.pageOptions) == null ? void 0 : N.pageSize;
37660
37665
  m.addBlock(e.Core.buildEiBlock([{ FUNCTION_ID: n }], "DATA_SOURCE")), m.addBlock(e.Core.buildEiBlock([{ PAGE_NUM: h, PAGE_SIZE: M }], "PAGEINFO")), await this.callService(s.trim(), m).then((G) => {
37661
- G.getStatus() >= 0 && (I.flag = 0, I.data = G.getBlockByIndex(0), I.total = G.getBlockByIndex(0).length, G.containsBlock("PAGEINFO") && (I.total = G.getBlock("PAGEINFO").getMappedRows()[0].TOTAL_RECORD));
37666
+ var Y;
37667
+ if (G.getStatus() >= 0) {
37668
+ I.flag = 0;
37669
+ const j = G.getBlockByIndex(0);
37670
+ I.data = j, I.total = ((Y = j == null ? void 0 : j.getMappedRows()) == null ? void 0 : Y.length) || 0, G.containsBlock("PAGEINFO") && (I.total = G.getBlock("PAGEINFO").getMappedRows()[0].TOTAL_RECORD);
37671
+ }
37662
37672
  }), p(I);
37663
37673
  }), c);
37664
37674
  }
@@ -37691,7 +37701,7 @@ var D;
37691
37701
  * @param serviceName 服务名称
37692
37702
  */
37693
37703
  constructor(r, i) {
37694
- j(this, "_formHelper");
37704
+ q(this, "_formHelper");
37695
37705
  this._formHelper = r;
37696
37706
  }
37697
37707
  }
@@ -37709,96 +37719,96 @@ var D;
37709
37719
  /**
37710
37720
  * MasterDetailView
37711
37721
  */
37712
- j(this, "MasterDetailView", !0);
37722
+ q(this, "MasterDetailView", !0);
37713
37723
  /**
37714
37724
  * 画面配置查询服务
37715
37725
  */
37716
- j(this, "FormConfigQueryService", "");
37726
+ q(this, "FormConfigQueryService", "");
37717
37727
  /**
37718
37728
  * 画面Caption
37719
37729
  */
37720
- j(this, "FormCaption", "");
37730
+ q(this, "FormCaption", "");
37721
37731
  /**
37722
37732
  * 自定义查询条件脚本
37723
37733
  */
37724
- j(this, "CustomFilterString", "");
37734
+ q(this, "CustomFilterString", "");
37725
37735
  /**
37726
37736
  * 自定义查询条件信息
37727
37737
  */
37728
- j(this, "CustomFilterJson");
37738
+ q(this, "CustomFilterJson");
37729
37739
  /**
37730
37740
  * 弹出窗口类型
37731
37741
  */
37732
- j(this, "BordStyle");
37742
+ q(this, "BordStyle");
37733
37743
  /**
37734
37744
  * app
37735
37745
  */
37736
- j(this, "app");
37746
+ q(this, "app");
37737
37747
  /**
37738
37748
  * div
37739
37749
  */
37740
- j(this, "div");
37750
+ q(this, "div");
37741
37751
  /**
37742
37752
  * 自定义查询条件信息
37743
37753
  */
37744
- j(this, "DefaultValues", {
37754
+ q(this, "DefaultValues", {
37745
37755
  values: {},
37746
37756
  readonly: {}
37747
37757
  });
37748
37758
  /**
37749
37759
  * 画面上下文
37750
37760
  */
37751
- j(this, "Context");
37761
+ q(this, "Context");
37752
37762
  /**
37753
37763
  * 获取画面是否打开状态
37754
37764
  */
37755
- j(this, "WindowOpened", ge(!1));
37756
- j(this, "DataModelId", "");
37757
- j(this, "ShowCheckBoxColumn");
37758
- j(this, "SelectMode");
37759
- j(this, "ShowQueryButton", !0);
37760
- j(this, "ShowOkButton", !0);
37761
- j(this, "ShowCancelButton", !0);
37762
- j(this, "QueryButtonCaption", "");
37763
- j(this, "OkButtonCaption", "");
37764
- j(this, "CancelButtonCaption", "");
37765
- j(this, "CloseDialogWhenOkClick", !0);
37766
- j(this, "ShowQueryNoDetailInfoMsg", !0);
37767
- j(this, "ButtonPreventDefault", { ok: !1, cancel: !1, query: !1, mainViewFocusChanged: !1 });
37768
- j(this, "UnMountWhenCloseDialog", !1);
37769
- j(this, "AutoQuery", !1);
37770
- j(this, "AutoRefresh", !1);
37771
- j(this, "KeyFieldName", "");
37772
- j(this, "DescFieldName", "");
37773
- j(this, "ChooseKeyValues", "");
37774
- j(this, "ReceiveJsonData");
37775
- j(this, "LayoutGroupFilterId", "LayoutGroupFilter");
37776
- j(this, "MainViewConfigId", "gridView1");
37777
- j(this, "DetailViewConfigId", "gridView2");
37778
- j(this, "LayoutFilterOptions", {});
37779
- j(this, "MainViewOptions", Or({ groupDisplayType: "groupRows" }));
37780
- j(this, "DetailViewOptions", Or({ groupDisplayType: "groupRows" }));
37781
- j(this, "MainInfoQueryMethod");
37782
- j(this, "DetailInfoQueryMethod");
37783
- j(this, "_partition");
37784
- j(this, "_queryPartition");
37785
- j(this, "_formName", "");
37786
- j(this, "_layoutConfigIds", "");
37787
- j(this, "_sysConfiParas");
37788
- j(this, "_serviceName", "JAER01/getFormConfig");
37789
- j(this, "_initializeFlag", 0);
37790
- j(this, "_formHelper");
37791
- j(this, "_dialogReturnInfo");
37792
- j(this, "_mainTableame", "");
37793
- j(this, "_detailTableame", "");
37794
- j(this, "_queryService", "");
37795
- j(this, "_serviceFilter", "");
37796
- j(this, "_keyFieldValue", {});
37797
- j(this, "_events", {});
37798
- j(this, "_formOptions", ge({}));
37799
- j(this, "_component");
37800
- j(this, "_resolveDialogResult");
37801
- j(this, "queryMainGridInfo", (r = !0) => {
37765
+ q(this, "WindowOpened", ge(!1));
37766
+ q(this, "DataModelId", "");
37767
+ q(this, "ShowCheckBoxColumn");
37768
+ q(this, "SelectMode");
37769
+ q(this, "ShowQueryButton", !0);
37770
+ q(this, "ShowOkButton", !0);
37771
+ q(this, "ShowCancelButton", !0);
37772
+ q(this, "QueryButtonCaption", "");
37773
+ q(this, "OkButtonCaption", "");
37774
+ q(this, "CancelButtonCaption", "");
37775
+ q(this, "CloseDialogWhenOkClick", !0);
37776
+ q(this, "ShowQueryNoDetailInfoMsg", !0);
37777
+ q(this, "ButtonPreventDefault", { ok: !1, cancel: !1, query: !1, mainViewFocusChanged: !1 });
37778
+ q(this, "UnMountWhenCloseDialog", !1);
37779
+ q(this, "AutoQuery", !1);
37780
+ q(this, "AutoRefresh", !1);
37781
+ q(this, "KeyFieldName", "");
37782
+ q(this, "DescFieldName", "");
37783
+ q(this, "ChooseKeyValues", "");
37784
+ q(this, "ReceiveJsonData");
37785
+ q(this, "LayoutGroupFilterId", "LayoutGroupFilter");
37786
+ q(this, "MainViewConfigId", "gridView1");
37787
+ q(this, "DetailViewConfigId", "gridView2");
37788
+ q(this, "LayoutFilterOptions", {});
37789
+ q(this, "MainViewOptions", Or({ groupDisplayType: "groupRows" }));
37790
+ q(this, "DetailViewOptions", Or({ groupDisplayType: "groupRows" }));
37791
+ q(this, "MainInfoQueryMethod");
37792
+ q(this, "DetailInfoQueryMethod");
37793
+ q(this, "_partition");
37794
+ q(this, "_queryPartition");
37795
+ q(this, "_formName", "");
37796
+ q(this, "_layoutConfigIds", "");
37797
+ q(this, "_sysConfiParas");
37798
+ q(this, "_serviceName", "JAER01/getFormConfig");
37799
+ q(this, "_initializeFlag", 0);
37800
+ q(this, "_formHelper");
37801
+ q(this, "_dialogReturnInfo");
37802
+ q(this, "_mainTableame", "");
37803
+ q(this, "_detailTableame", "");
37804
+ q(this, "_queryService", "");
37805
+ q(this, "_serviceFilter", "");
37806
+ q(this, "_keyFieldValue", {});
37807
+ q(this, "_events", {});
37808
+ q(this, "_formOptions", ge({}));
37809
+ q(this, "_component");
37810
+ q(this, "_resolveDialogResult");
37811
+ q(this, "queryMainGridInfo", (r = !0) => {
37802
37812
  const i = this.ErFormHelper.getGridCurrentRow(this.MainViewConfigId, !0);
37803
37813
  if (i && this.KeyFieldName.trim().length > 0 && this.KeyFieldName.trim().split(",").forEach((s) => {
37804
37814
  s.trim().length > 0 && i[s.trim().toUpperCase()] && (this._keyFieldValue[s.trim().toUpperCase()] = i[s.trim().toUpperCase()]);
@@ -37850,7 +37860,7 @@ var D;
37850
37860
  /**
37851
37861
  * 自动勾选记录
37852
37862
  */
37853
- j(this, "autoCheckRows", () => {
37863
+ q(this, "autoCheckRows", () => {
37854
37864
  if (this.KeyFieldName.trim().length > 0 && this.ChooseKeyValues && this.ChooseKeyValues.trim().length > 0) {
37855
37865
  const r = this.ChooseKeyValues.trim().split(","), i = this.ErFormHelper.getGrid(this.MainViewConfigId);
37856
37866
  i && this.ErFormHelper.getGridAllRows(i).forEach((s) => {
@@ -38041,96 +38051,96 @@ var D;
38041
38051
  /**
38042
38052
  * 画面配置区域panel的描述
38043
38053
  */
38044
- j(this, "LayoutCaption", {});
38054
+ q(this, "LayoutCaption", {});
38045
38055
  /**
38046
38056
  * 画面接收的是否可编辑属性
38047
38057
  */
38048
- j(this, "EditType", "Add");
38058
+ q(this, "EditType", "Add");
38049
38059
  /**
38050
38060
  * 画面上下文
38051
38061
  */
38052
- j(this, "Context", {});
38062
+ q(this, "Context", {});
38053
38063
  /**
38054
38064
  * 获取画面是否打开状态
38055
38065
  */
38056
- j(this, "WindowOpened", ge(!1));
38066
+ q(this, "WindowOpened", ge(!1));
38057
38067
  /**
38058
38068
  * 是否显示确定按钮
38059
38069
  */
38060
- j(this, "ShowOkButton", !0);
38070
+ q(this, "ShowOkButton", !0);
38061
38071
  /**
38062
38072
  * 是否显示取消按钮
38063
38073
  */
38064
- j(this, "ShowCancelButton", !0);
38074
+ q(this, "ShowCancelButton", !0);
38065
38075
  /**
38066
38076
  * 设置确定按钮的Caption信息
38067
38077
  */
38068
- j(this, "OkButtonCaption", "确定");
38078
+ q(this, "OkButtonCaption", "确定");
38069
38079
  /**
38070
38080
  * 设置取消按钮的Caption信息
38071
38081
  */
38072
- j(this, "CancelButtonCaption", "取消");
38082
+ q(this, "CancelButtonCaption", "取消");
38073
38083
  /**
38074
38084
  * 点击确定按钮时弹出画面是否自动关闭
38075
38085
  */
38076
- j(this, "CloseDialogWhenOkClick", !0);
38086
+ q(this, "CloseDialogWhenOkClick", !0);
38077
38087
  /**
38078
38088
  * 是否阻止确定按钮的默认事件
38079
38089
  */
38080
- j(this, "OkButtonPreventDefault", !1);
38090
+ q(this, "OkButtonPreventDefault", !1);
38081
38091
  /**
38082
38092
  * 是否阻止取消按钮的默认事件
38083
38093
  */
38084
- j(this, "CancelButtonPreventDefault", !1);
38094
+ q(this, "CancelButtonPreventDefault", !1);
38085
38095
  /**
38086
38096
  * 接收确定按钮调用的后台服务service
38087
38097
  */
38088
- j(this, "OkButtonService", "");
38098
+ q(this, "OkButtonService", "");
38089
38099
  /**
38090
38100
  * 关闭窗口后是否卸载组件
38091
38101
  */
38092
- j(this, "UnMountWhenCloseDialog", !1);
38102
+ q(this, "UnMountWhenCloseDialog", !1);
38093
38103
  /**
38094
38104
  * 弹出窗口类型
38095
38105
  */
38096
- j(this, "BordStyle");
38106
+ q(this, "BordStyle");
38097
38107
  /**
38098
38108
  * 调用服务时传入后台附加列数据
38099
38109
  */
38100
- j(this, "ExtendJsonData");
38110
+ q(this, "ExtendJsonData");
38101
38111
  /**
38102
38112
  * 调用服务之前对EIInfo的处理
38103
38113
  */
38104
- j(this, "BeforeCallService");
38114
+ q(this, "BeforeCallService");
38105
38115
  /**
38106
38116
  * app
38107
38117
  */
38108
- j(this, "app");
38118
+ q(this, "app");
38109
38119
  /**
38110
38120
  * div
38111
38121
  */
38112
- j(this, "div");
38113
- j(this, "_partition");
38114
- j(this, "_savePartition");
38115
- j(this, "_formName", "");
38116
- j(this, "_tableName", "");
38117
- j(this, "_layoutConfigId", "");
38118
- j(this, "_layoutGroupIdArray", []);
38119
- j(this, "_layoutGroupInfo", {});
38120
- j(this, "_sysConfiParas");
38121
- j(this, "_serviceName", "JAER01/getFormConfig");
38122
- j(this, "_initializeFlag", 0);
38123
- j(this, "_formHelper");
38124
- j(this, "_dataSet");
38125
- j(this, "_dataTable");
38126
- j(this, "_mainLayoutId", "");
38127
- j(this, "_dialogReturnInfo");
38128
- j(this, "_receiveData");
38129
- j(this, "_readOnlys");
38130
- j(this, "_events", {});
38131
- j(this, "_formOptions", ge({}));
38132
- j(this, "_component");
38133
- j(this, "_resolveDialogResult");
38122
+ q(this, "div");
38123
+ q(this, "_partition");
38124
+ q(this, "_savePartition");
38125
+ q(this, "_formName", "");
38126
+ q(this, "_tableName", "");
38127
+ q(this, "_layoutConfigId", "");
38128
+ q(this, "_layoutGroupIdArray", []);
38129
+ q(this, "_layoutGroupInfo", {});
38130
+ q(this, "_sysConfiParas");
38131
+ q(this, "_serviceName", "JAER01/getFormConfig");
38132
+ q(this, "_initializeFlag", 0);
38133
+ q(this, "_formHelper");
38134
+ q(this, "_dataSet");
38135
+ q(this, "_dataTable");
38136
+ q(this, "_mainLayoutId", "");
38137
+ q(this, "_dialogReturnInfo");
38138
+ q(this, "_receiveData");
38139
+ q(this, "_readOnlys");
38140
+ q(this, "_events", {});
38141
+ q(this, "_formOptions", ge({}));
38142
+ q(this, "_component");
38143
+ q(this, "_resolveDialogResult");
38134
38144
  this._initializeFlag = 0, this._partition = r, this._formName = i, n && (this._layoutConfigId = n), s && s.trim().length > 0 && (this._serviceName = s), this._sysConfiParas = c, this._formHelper = new x(this._partition, this._formName, this._serviceName);
38135
38145
  }
38136
38146
  /**
@@ -38226,11 +38236,11 @@ var D;
38226
38236
  this._serviceName,
38227
38237
  this._sysConfiParas
38228
38238
  ).then((c) => {
38229
- var h, p, E, m, I, F, M, Z, N, G, z, q, Fe, me, Se, de, _e, te, ze, $e, st;
38239
+ var h, p, E, m, I, F, M, Z, N, G, Y, j, Fe, me, Se, de, _e, te, ze, $e, st;
38230
38240
  if (c.flag === 1) {
38231
38241
  if (((m = (E = (p = (h = this._formHelper) == null ? void 0 : h.ConfigInfo) == null ? void 0 : p.TSI00FORM) == null ? void 0 : E.getMappedRows()) == null ? void 0 : m.length) > 0) {
38232
38242
  const oe = (M = (F = (I = this._formHelper) == null ? void 0 : I.ConfigInfo) == null ? void 0 : F.TSI00FORM) == null ? void 0 : M.getMappedRows()[0];
38233
- if (this._formOptions.value.title = this._formOptions.value.title ?? oe.FORM_FUNC_DESC, this._formOptions.value.width = this._formOptions.value.width ?? t.toNumber(oe.FORM_WIDTH), this._formOptions.value.height = this._formOptions.value.height ?? t.toNumber(oe.FORM_HEIGHT), this.BordStyle = this.BordStyle ?? (oe.FORM_STYLE === "3" ? "Fixed" : "Sizable"), ((z = (G = (N = (Z = this._formHelper) == null ? void 0 : Z.ConfigInfo) == null ? void 0 : N.TSI00FORMBUTTON) == null ? void 0 : G.getMappedRows()) == null ? void 0 : z.length) > 0 && this._formHelper.ConfigInfo.TSI00FORMBUTTON.getMappedRows().every((V) => V.BUTTON_NAME === "btnOk" ? (this.OkButtonService = V.SVC_NAME, !1) : !0), ((Se = (me = (Fe = (q = this._formHelper) == null ? void 0 : q.ConfigInfo) == null ? void 0 : Fe.TSI00GRIDVIEW) == null ? void 0 : me.getMappedRows()) == null ? void 0 : Se.length) > 0)
38243
+ if (this._formOptions.value.title = this._formOptions.value.title ?? oe.FORM_FUNC_DESC, this._formOptions.value.width = this._formOptions.value.width ?? t.toNumber(oe.FORM_WIDTH), this._formOptions.value.height = this._formOptions.value.height ?? t.toNumber(oe.FORM_HEIGHT), this.BordStyle = this.BordStyle ?? (oe.FORM_STYLE === "3" ? "Fixed" : "Sizable"), ((Y = (G = (N = (Z = this._formHelper) == null ? void 0 : Z.ConfigInfo) == null ? void 0 : N.TSI00FORMBUTTON) == null ? void 0 : G.getMappedRows()) == null ? void 0 : Y.length) > 0 && this._formHelper.ConfigInfo.TSI00FORMBUTTON.getMappedRows().every((V) => V.BUTTON_NAME === "btnOk" ? (this.OkButtonService = V.SVC_NAME, !1) : !0), ((Se = (me = (Fe = (j = this._formHelper) == null ? void 0 : j.ConfigInfo) == null ? void 0 : Fe.TSI00GRIDVIEW) == null ? void 0 : me.getMappedRows()) == null ? void 0 : Se.length) > 0)
38234
38244
  for (let V = 0; V < ((te = (_e = (de = this._formHelper) == null ? void 0 : de.ConfigInfo) == null ? void 0 : _e.TSI00GRIDVIEW) == null ? void 0 : te.getMappedRows().length); V++) {
38235
38245
  const ye = (st = ($e = (ze = this._formHelper) == null ? void 0 : ze.ConfigInfo) == null ? void 0 : $e.TSI00GRIDVIEW) == null ? void 0 : st.getMappedRows()[V];
38236
38246
  V == 0 && (this._mainLayoutId = ye.FUNCTION_ID, this._tableName = this._formHelper.setBindingTableName(this._mainLayoutId), this._dataSet = this._formHelper.FormDataSet, this._dataTable = this._formHelper.getBindingTable(this._mainLayoutId)), this._layoutGroupIdArray.push(ye.FUNCTION_ID), this._layoutGroupInfo[ye.FUNCTION_ID] = ye;
@@ -38387,99 +38397,99 @@ var D;
38387
38397
  /**
38388
38398
  * 单记录区域Options
38389
38399
  */
38390
- j(this, "LayoutOptions", {});
38400
+ q(this, "LayoutOptions", {});
38391
38401
  /**
38392
38402
  * Grid区域Options
38393
38403
  */
38394
- j(this, "GridOptions", Or({ groupDisplayType: "groupRows" }));
38404
+ q(this, "GridOptions", Or({ groupDisplayType: "groupRows" }));
38395
38405
  /**
38396
38406
  * 画面配置区域panel的描述
38397
38407
  */
38398
- j(this, "LayoutCaption");
38408
+ q(this, "LayoutCaption");
38399
38409
  /**
38400
38410
  * 画面接收的是否可编辑属性
38401
38411
  */
38402
- j(this, "EditType", "Add");
38412
+ q(this, "EditType", "Add");
38403
38413
  /**
38404
38414
  * 画面上下文
38405
38415
  */
38406
- j(this, "Context", {});
38416
+ q(this, "Context", {});
38407
38417
  /**
38408
38418
  * 获取画面是否打开状态
38409
38419
  */
38410
- j(this, "WindowOpened", ge(!1));
38420
+ q(this, "WindowOpened", ge(!1));
38411
38421
  /**
38412
38422
  * 是否显示确定按钮
38413
38423
  */
38414
- j(this, "ShowSaveButton", !0);
38424
+ q(this, "ShowSaveButton", !0);
38415
38425
  /**
38416
38426
  * 是否显示取消按钮
38417
38427
  */
38418
- j(this, "ShowCloseButton", !0);
38428
+ q(this, "ShowCloseButton", !0);
38419
38429
  /**
38420
38430
  * 设置保存按钮的Caption信息
38421
38431
  */
38422
- j(this, "SaveButtonCaption", "");
38432
+ q(this, "SaveButtonCaption", "");
38423
38433
  /**
38424
38434
  * 设置关闭按钮的Caption信息
38425
38435
  */
38426
- j(this, "CloseButtonCaption", "");
38436
+ q(this, "CloseButtonCaption", "");
38427
38437
  /**
38428
38438
  * 点击确定按钮时弹出画面是否自动关闭
38429
38439
  */
38430
- j(this, "CloseDialogWhenSaveClick", !1);
38440
+ q(this, "CloseDialogWhenSaveClick", !1);
38431
38441
  /**
38432
38442
  * 阻止默认事件
38433
38443
  */
38434
- j(this, "PreventDefaultEvent", {});
38444
+ q(this, "PreventDefaultEvent", {});
38435
38445
  /**
38436
38446
  * 接收确定按钮调用的后台服务service
38437
38447
  */
38438
- j(this, "OkButtonService", "");
38448
+ q(this, "OkButtonService", "");
38439
38449
  /**
38440
38450
  * 关闭窗口后是否卸载组件
38441
38451
  */
38442
- j(this, "UnMountWhenCloseDialog", !1);
38452
+ q(this, "UnMountWhenCloseDialog", !1);
38443
38453
  /**
38444
38454
  * 弹出窗口类型
38445
38455
  */
38446
- j(this, "BordStyle");
38456
+ q(this, "BordStyle");
38447
38457
  /**
38448
38458
  * 调用服务时传入后台附加列数据
38449
38459
  */
38450
- j(this, "ExtendJsonData");
38460
+ q(this, "ExtendJsonData");
38451
38461
  /**
38452
38462
  * 调用服务之前对EIInfo的处理
38453
38463
  */
38454
- j(this, "BeforeCallService");
38464
+ q(this, "BeforeCallService");
38455
38465
  /**
38456
38466
  * app
38457
38467
  */
38458
- j(this, "app");
38468
+ q(this, "app");
38459
38469
  /**
38460
38470
  * div
38461
38471
  */
38462
- j(this, "div");
38463
- j(this, "_partition");
38464
- j(this, "_savePartition");
38465
- j(this, "_formName", "");
38466
- j(this, "_mainTableName", "");
38467
- j(this, "_detailTableName", "");
38468
- j(this, "_layoutConfigId", "LayoutGroupMain");
38469
- j(this, "_gridConfigId", "gridView1");
38470
- j(this, "_sysConfiParas");
38471
- j(this, "_serviceName", "JAER01/getFormConfig");
38472
- j(this, "_initializeFlag", 0);
38473
- j(this, "_formHelper");
38474
- j(this, "_dataSet");
38475
- j(this, "_mainDataTable");
38476
- j(this, "_detailDataTable");
38477
- j(this, "_dialogReturnInfo");
38478
- j(this, "_receiveData");
38479
- j(this, "_readOnlys");
38480
- j(this, "_events", {});
38481
- j(this, "_formOptions", ge({}));
38482
- j(this, "_resolveDialogResult");
38472
+ q(this, "div");
38473
+ q(this, "_partition");
38474
+ q(this, "_savePartition");
38475
+ q(this, "_formName", "");
38476
+ q(this, "_mainTableName", "");
38477
+ q(this, "_detailTableName", "");
38478
+ q(this, "_layoutConfigId", "LayoutGroupMain");
38479
+ q(this, "_gridConfigId", "gridView1");
38480
+ q(this, "_sysConfiParas");
38481
+ q(this, "_serviceName", "JAER01/getFormConfig");
38482
+ q(this, "_initializeFlag", 0);
38483
+ q(this, "_formHelper");
38484
+ q(this, "_dataSet");
38485
+ q(this, "_mainDataTable");
38486
+ q(this, "_detailDataTable");
38487
+ q(this, "_dialogReturnInfo");
38488
+ q(this, "_receiveData");
38489
+ q(this, "_readOnlys");
38490
+ q(this, "_events", {});
38491
+ q(this, "_formOptions", ge({}));
38492
+ q(this, "_resolveDialogResult");
38483
38493
  this._initializeFlag = 0, this._partition = r, this._formName = i, this._layoutConfigId = (n == null ? void 0 : n.layoutConfigId) || this._layoutConfigId, this._gridConfigId = (n == null ? void 0 : n.gridConfigId) || this._gridConfigId, s && s.trim().length > 0 && (this._serviceName = s), this._sysConfiParas = c, this._formHelper = new x(this._partition, this._formName, this._serviceName);
38484
38494
  }
38485
38495
  /**
@@ -38738,62 +38748,62 @@ var D;
38738
38748
  /**
38739
38749
  * 画面上下文
38740
38750
  */
38741
- j(this, "Context", {});
38751
+ q(this, "Context", {});
38742
38752
  /**
38743
38753
  * 弹出窗口类型
38744
38754
  */
38745
- j(this, "BordStyle");
38755
+ q(this, "BordStyle");
38746
38756
  /**
38747
38757
  * 自动刷新画面
38748
38758
  */
38749
- j(this, "AutoRefresh", !1);
38759
+ q(this, "AutoRefresh", !1);
38750
38760
  /**
38751
38761
  * 是否显示确定按钮
38752
38762
  */
38753
- j(this, "ShowOkButton", !0);
38763
+ q(this, "ShowOkButton", !0);
38754
38764
  /**
38755
38765
  * 是否显示取消按钮
38756
38766
  */
38757
- j(this, "ShowCancelButton", !0);
38767
+ q(this, "ShowCancelButton", !0);
38758
38768
  /**
38759
38769
  * 设置确定按钮的Caption信息
38760
38770
  */
38761
- j(this, "OkButtonCaption", "确定");
38771
+ q(this, "OkButtonCaption", "确定");
38762
38772
  /**
38763
38773
  * 设置取消按钮的Caption信息
38764
38774
  */
38765
- j(this, "CancelButtonCaption", "取消");
38775
+ q(this, "CancelButtonCaption", "取消");
38766
38776
  /**
38767
38777
  * 点击确定按钮时弹出画面是否自动关闭
38768
38778
  */
38769
- j(this, "CloseDialogWhenOkClick", !0);
38779
+ q(this, "CloseDialogWhenOkClick", !0);
38770
38780
  /**
38771
38781
  * 是否阻止确定按钮的默认事件
38772
38782
  */
38773
- j(this, "OkButtonPreventDefault", !1);
38783
+ q(this, "OkButtonPreventDefault", !1);
38774
38784
  /**
38775
38785
  * 是否阻止取消按钮的默认事件
38776
38786
  */
38777
- j(this, "CancelButtonPreventDefault", !1);
38787
+ q(this, "CancelButtonPreventDefault", !1);
38778
38788
  /**
38779
38789
  * 关闭窗口后是否卸载组件
38780
38790
  */
38781
- j(this, "UnMountWhenCloseDialog", !1);
38791
+ q(this, "UnMountWhenCloseDialog", !1);
38782
38792
  /**
38783
38793
  * 确定按钮之前的数据校验计处理
38784
38794
  */
38785
- j(this, "BeforeOkButtonClick");
38786
- j(this, "_app");
38787
- j(this, "_dialogReturnInfo");
38788
- j(this, "_receiveData");
38789
- j(this, "_events", {});
38790
- j(this, "_windowOpened", ge(!1));
38791
- j(this, "_options", Or({ title: "标题", width: 360, height: 630 }));
38792
- j(this, "_component");
38793
- j(this, "_resolveDialogResult");
38794
- j(this, "_primaryField");
38795
- j(this, "_parentField");
38796
- j(this, "_displayField");
38795
+ q(this, "BeforeOkButtonClick");
38796
+ q(this, "_app");
38797
+ q(this, "_dialogReturnInfo");
38798
+ q(this, "_receiveData");
38799
+ q(this, "_events", {});
38800
+ q(this, "_windowOpened", ge(!1));
38801
+ q(this, "_options", Or({ title: "标题", width: 360, height: 630 }));
38802
+ q(this, "_component");
38803
+ q(this, "_resolveDialogResult");
38804
+ q(this, "_primaryField");
38805
+ q(this, "_parentField");
38806
+ q(this, "_displayField");
38797
38807
  this._primaryField = r, this._parentField = i, this._displayField = n, this.setOptions(s || {});
38798
38808
  }
38799
38809
  /**
@@ -38936,50 +38946,50 @@ var D;
38936
38946
  /**
38937
38947
  * 编辑内容
38938
38948
  */
38939
- j(this, "Content", "");
38949
+ q(this, "Content", "");
38940
38950
  /**
38941
38951
  * 画面上下文
38942
38952
  */
38943
- j(this, "Context", {});
38953
+ q(this, "Context", {});
38944
38954
  /**
38945
38955
  * 弹出窗口类型
38946
38956
  */
38947
- j(this, "BordStyle");
38957
+ q(this, "BordStyle");
38948
38958
  /**
38949
38959
  * 是否显示确定按钮
38950
38960
  */
38951
- j(this, "ShowOkButton", !0);
38961
+ q(this, "ShowOkButton", !0);
38952
38962
  /**
38953
38963
  * 是否显示取消按钮
38954
38964
  */
38955
- j(this, "ShowCancelButton", !0);
38965
+ q(this, "ShowCancelButton", !0);
38956
38966
  /**
38957
38967
  * 设置确定按钮的Caption信息
38958
38968
  */
38959
- j(this, "OkButtonCaption", "确定");
38969
+ q(this, "OkButtonCaption", "确定");
38960
38970
  /**
38961
38971
  * 设置取消按钮的Caption信息
38962
38972
  */
38963
- j(this, "CancelButtonCaption", "取消");
38973
+ q(this, "CancelButtonCaption", "取消");
38964
38974
  /**
38965
38975
  * 点击确定按钮时弹出画面是否自动关闭
38966
38976
  */
38967
- j(this, "CloseDialogWhenOkClick", !0);
38977
+ q(this, "CloseDialogWhenOkClick", !0);
38968
38978
  /**
38969
38979
  * 关闭窗口后是否卸载组件
38970
38980
  */
38971
- j(this, "UnMountWhenCloseDialog", !1);
38981
+ q(this, "UnMountWhenCloseDialog", !1);
38972
38982
  /**
38973
38983
  * 确定按钮之前的数据校验计处理
38974
38984
  */
38975
- j(this, "BeforeOkButtonClick");
38976
- j(this, "_app");
38977
- j(this, "_windowOpened", ge(!1));
38978
- j(this, "_options", Or({ title: "标题" }));
38979
- j(this, "_resolveDialogResult");
38980
- j(this, "_dialogReturnInfo");
38981
- j(this, "_events", {});
38982
- j(this, "_component");
38985
+ q(this, "BeforeOkButtonClick");
38986
+ q(this, "_app");
38987
+ q(this, "_windowOpened", ge(!1));
38988
+ q(this, "_options", Or({ title: "标题" }));
38989
+ q(this, "_resolveDialogResult");
38990
+ q(this, "_dialogReturnInfo");
38991
+ q(this, "_events", {});
38992
+ q(this, "_component");
38983
38993
  this.setOptions(r || {});
38984
38994
  }
38985
38995
  /**
@@ -39071,14 +39081,14 @@ var D;
39071
39081
  * @param options 自定义选项
39072
39082
  */
39073
39083
  constructor(r, i, n) {
39074
- j(this, "_app");
39075
- j(this, "_component");
39076
- j(this, "_windowOpened", ge(!1));
39077
- j(this, "_partition", "");
39078
- j(this, "_formName", "");
39079
- j(this, "_gridConfigId", "");
39080
- j(this, "_erGrid", "");
39081
- j(this, "_resolveDialogResult");
39084
+ q(this, "_app");
39085
+ q(this, "_component");
39086
+ q(this, "_windowOpened", ge(!1));
39087
+ q(this, "_partition", "");
39088
+ q(this, "_formName", "");
39089
+ q(this, "_gridConfigId", "");
39090
+ q(this, "_erGrid", "");
39091
+ q(this, "_resolveDialogResult");
39082
39092
  var s, c;
39083
39093
  this._erGrid = n, this._partition = r, this._formName = i, this._gridConfigId = (c = (s = n == null ? void 0 : n.gridOptions) == null ? void 0 : s.context) == null ? void 0 : c.configId;
39084
39094
  }
@@ -39142,66 +39152,66 @@ var D;
39142
39152
  /**
39143
39153
  * 画面接收需要显示的画面名称
39144
39154
  */
39145
- j(this, "FormCaption");
39155
+ q(this, "FormCaption");
39146
39156
  /**
39147
39157
  * 画面上下文
39148
39158
  */
39149
- j(this, "Context");
39159
+ q(this, "Context");
39150
39160
  /**
39151
39161
  * 获取画面是否打开状态
39152
39162
  */
39153
- j(this, "WindowOpened", ge(!1));
39163
+ q(this, "WindowOpened", ge(!1));
39154
39164
  /**
39155
39165
  * 是否显示确定按钮
39156
39166
  */
39157
- j(this, "ShowOkButton", !0);
39167
+ q(this, "ShowOkButton", !0);
39158
39168
  /**
39159
39169
  * 是否显示取消按钮
39160
39170
  */
39161
- j(this, "ShowCancelButton", !0);
39171
+ q(this, "ShowCancelButton", !0);
39162
39172
  /**
39163
39173
  * 设置确定按钮的Caption信息
39164
39174
  */
39165
- j(this, "OkButtonCaption", "确定");
39175
+ q(this, "OkButtonCaption", "确定");
39166
39176
  /**
39167
39177
  * 设置取消按钮的Caption信息
39168
39178
  */
39169
- j(this, "CancelButtonCaption", "取消");
39179
+ q(this, "CancelButtonCaption", "取消");
39170
39180
  /**
39171
39181
  * 点击确定按钮时弹出画面是否自动关闭
39172
39182
  */
39173
- j(this, "CloseDialogWhenOkClick", !0);
39183
+ q(this, "CloseDialogWhenOkClick", !0);
39174
39184
  /**
39175
39185
  * 是否阻止确定按钮的默认事件
39176
39186
  */
39177
- j(this, "OkButtonPreventDefault", !1);
39187
+ q(this, "OkButtonPreventDefault", !1);
39178
39188
  /**
39179
39189
  * 关闭窗口后是否卸载组件
39180
39190
  */
39181
- j(this, "UnMountWhenCloseDialog", !1);
39191
+ q(this, "UnMountWhenCloseDialog", !1);
39182
39192
  /**
39183
39193
  * 弹出窗口类型
39184
39194
  */
39185
- j(this, "BordStyle");
39195
+ q(this, "BordStyle");
39186
39196
  /**
39187
39197
  * app
39188
39198
  */
39189
- j(this, "app");
39199
+ q(this, "app");
39190
39200
  /**
39191
39201
  * div
39192
39202
  */
39193
- j(this, "_partition");
39194
- j(this, "_formName", "");
39195
- j(this, "_configIds", "");
39196
- j(this, "_sysConfiParas");
39197
- j(this, "_serviceName", "JAER01/getFormConfig");
39198
- j(this, "_initializeFlag", ge(0));
39199
- j(this, "_formHelper");
39200
- j(this, "_dataSet");
39201
- j(this, "_dialogReturnInfo");
39202
- j(this, "_events", {});
39203
- j(this, "_formOptions", ge({}));
39204
- j(this, "_resolveDialogResult");
39203
+ q(this, "_partition");
39204
+ q(this, "_formName", "");
39205
+ q(this, "_configIds", "");
39206
+ q(this, "_sysConfiParas");
39207
+ q(this, "_serviceName", "JAER01/getFormConfig");
39208
+ q(this, "_initializeFlag", ge(0));
39209
+ q(this, "_formHelper");
39210
+ q(this, "_dataSet");
39211
+ q(this, "_dialogReturnInfo");
39212
+ q(this, "_events", {});
39213
+ q(this, "_formOptions", ge({}));
39214
+ q(this, "_resolveDialogResult");
39205
39215
  this._initializeFlag.value = 0, this._partition = r, this._formName = i, n && (this._configIds = n), s && s.trim().length > 0 && (this._serviceName = s), this._sysConfiParas = c, this._formHelper = new e.FormHelper(this._partition, this._formName, this._serviceName);
39206
39216
  }
39207
39217
  /**
@@ -39388,21 +39398,21 @@ var D;
39388
39398
  e.PopUtils = pe;
39389
39399
  class se {
39390
39400
  constructor() {
39391
- j(this, "_app");
39392
- j(this, "_partition", "");
39393
- j(this, "_instanceId", "");
39394
- j(this, "_companyCode", "");
39395
- j(this, "_bizBillNo", "");
39396
- j(this, "_tableName", "");
39397
- j(this, "_sysInfoFlag", 0);
39398
- j(this, "_sysInfoMsg", "");
39399
- j(this, "_popWindowOpened", ge(!1));
39400
- j(this, "_isEmpty", ge(!0));
39401
- j(this, "_haveSteps", ge(!1));
39402
- j(this, "_activeSteps", ge(0));
39403
- j(this, "_workStepsInfo", ge([]));
39404
- j(this, "_approveInfo", ge([]));
39405
- j(this, "_approveResultMap", {
39401
+ q(this, "_app");
39402
+ q(this, "_partition", "");
39403
+ q(this, "_instanceId", "");
39404
+ q(this, "_companyCode", "");
39405
+ q(this, "_bizBillNo", "");
39406
+ q(this, "_tableName", "");
39407
+ q(this, "_sysInfoFlag", 0);
39408
+ q(this, "_sysInfoMsg", "");
39409
+ q(this, "_popWindowOpened", ge(!1));
39410
+ q(this, "_isEmpty", ge(!0));
39411
+ q(this, "_haveSteps", ge(!1));
39412
+ q(this, "_activeSteps", ge(0));
39413
+ q(this, "_workStepsInfo", ge([]));
39414
+ q(this, "_approveInfo", ge([]));
39415
+ q(this, "_approveResultMap", {
39406
39416
  S: "报批",
39407
39417
  C: "撤销",
39408
39418
  Y: "通过",
@@ -39466,9 +39476,9 @@ var D;
39466
39476
  this._partition = r, this._instanceId = i, this._companyCode = n, this._bizBillNo = s, this._tableName = c, this._sysInfoFlag = 0, this._sysInfoMsg = "", h === void 0 && (h = {}), h.WF_REC_ID = i, h.BIZ_BILL_NO = s, h.COMPANY_CODE = n, h.TABLE_NAME = c;
39467
39477
  const M = new Rt(), Z = t.buildEiBlock([h]);
39468
39478
  M.addBlock(Z), await t.callService("si00wf_inq", M).then((N) => {
39469
- var G, z, q, Fe, me;
39479
+ var G, Y, j, Fe, me;
39470
39480
  if (e.Core.toNumber((G = N == null ? void 0 : N.SysInfo) == null ? void 0 : G.Flag) !== 0)
39471
- this._sysInfoFlag = ((z = N == null ? void 0 : N.SysInfo) == null ? void 0 : z.Flag) || -1, this._sysInfoMsg = ((q = N == null ? void 0 : N.SysInfo) == null ? void 0 : q.Msg) || "", t.messageError(
39481
+ this._sysInfoFlag = ((Y = N == null ? void 0 : N.SysInfo) == null ? void 0 : Y.Flag) || -1, this._sysInfoMsg = ((j = N == null ? void 0 : N.SysInfo) == null ? void 0 : j.Msg) || "", t.messageError(
39472
39482
  "获取审批信息出错,业务单据号[" + s + "],流程实例[" + i + "],错误信息[" + this._sysInfoMsg + "]"
39473
39483
  );
39474
39484
  else if (((Fe = N.getBlock("WORKFLOW")) == null ? void 0 : Fe.getMappedRows().length) > 0) {
@@ -39548,10 +39558,10 @@ var D;
39548
39558
  e.ApprovalStepsHelper = se;
39549
39559
  class W {
39550
39560
  constructor(r) {
39551
- j(this, "UnMountWhenCloseDialog", !0);
39552
- j(this, "_app");
39553
- j(this, "_options", {});
39554
- j(this, "_popWindowOpened", ge(!1));
39561
+ q(this, "UnMountWhenCloseDialog", !0);
39562
+ q(this, "_app");
39563
+ q(this, "_options", {});
39564
+ q(this, "_popWindowOpened", ge(!1));
39555
39565
  this._options = r || {}, this.UnMountWhenCloseDialog = !0;
39556
39566
  }
39557
39567
  get Options() {
@@ -40026,7 +40036,7 @@ const ta = /* @__PURE__ */ Ir(x1, [["render", w1]]), M1 = Pt({
40026
40036
  });
40027
40037
  }, ue = () => {
40028
40038
  var r, i, n;
40029
- (r = l.value) == null || r.removeEventListener("mousedown", Ie), (i = t.value) == null || i.removeEventListener("mousedown", Ke), (n = t.value) == null || n.removeEventListener("mousemove", Ne), document == null || document.removeEventListener("mousemove", Ne), document == null || document.removeEventListener("mouseup", Y);
40039
+ (r = l.value) == null || r.removeEventListener("mousedown", Ie), (i = t.value) == null || i.removeEventListener("mousedown", Ke), (n = t.value) == null || n.removeEventListener("mousemove", Ne), document == null || document.removeEventListener("mousemove", Ne), document == null || document.removeEventListener("mouseup", z);
40030
40040
  }, b = () => {
40031
40041
  pe(), t.value && ee.unobserve(t.value), e.sameApp ? (ue(), T.value = !1) : (e.parentFormRef && window.addEventListener(
40032
40042
  "keydown",
@@ -40093,7 +40103,7 @@ const ta = /* @__PURE__ */ Ir(x1, [["render", w1]]), M1 = Pt({
40093
40103
  d.value = !1, x.value && (x.value.style.pointerEvents = "auto");
40094
40104
  }, Ke = (r) => {
40095
40105
  let i = he(r);
40096
- i !== "" && (C.value = !0, _.value = i, f.value.startX = r.clientX, f.value.startY = r.clientY, f.value.width = t.value.offsetWidth, f.value.height = t.value.offsetHeight, f.value.left = t.value.offsetLeft, f.value.top = t.value.offsetTop), C.value && (document.body.style.userSelect = "none"), document.addEventListener("mousemove", Ne), document.addEventListener("mouseup", Y);
40106
+ i !== "" && (C.value = !0, _.value = i, f.value.startX = r.clientX, f.value.startY = r.clientY, f.value.width = t.value.offsetWidth, f.value.height = t.value.offsetHeight, f.value.left = t.value.offsetLeft, f.value.top = t.value.offsetTop), C.value && (document.body.style.userSelect = "none"), document.addEventListener("mousemove", Ne), document.addEventListener("mouseup", z);
40097
40107
  }, Ne = (r) => {
40098
40108
  const i = he(r);
40099
40109
  let n;
@@ -40115,7 +40125,7 @@ const ta = /* @__PURE__ */ Ir(x1, [["render", w1]]), M1 = Pt({
40115
40125
  t.value.style.height = f.value.height + s + "px", t.value.style.top = f.value.top + "px";
40116
40126
  }
40117
40127
  }
40118
- }, Y = () => {
40128
+ }, z = () => {
40119
40129
  x.value && (x.value.style.pointerEvents = "auto"), C.value = !1, C.value || (document.body.style.userSelect = "auto");
40120
40130
  }, he = (r) => {
40121
40131
  var n, s, c;
@@ -40529,7 +40539,7 @@ const si = /* @__PURE__ */ Ir(G1, [["render", V1], ["__scopeId", "data-v-d82869d
40529
40539
  let x = !1, S = C.action, y = !1;
40530
40540
  const O = {};
40531
40541
  e.params[C.name] ? (S = e.params[C.name].action, x = e.params[C.name].preventDefault, y = e.params[C.name].messageConfirm) : S || (S = d(C.name, "action"), x = d(C.name, "preventDefault"), y = d(C.name, "messageConfirm")), (v = (_ = e.params) == null ? void 0 : _.formHelper) == null || v.stopGridEditing((T = e.params) == null ? void 0 : T.configId, async () => {
40532
- var w, H, ee, R, L, pe, se, W, ue, b, Q, ce, J, ve, Be, xe, Ye, Ie, Re, Ce, Ke, Ne, Y, he, r, i, n, s, c, h, p, E, m, I, F, M, Z, N, G, z, q, Fe;
40542
+ var w, H, ee, R, L, pe, se, W, ue, b, Q, ce, J, ve, Be, xe, Ye, Ie, Re, Ce, Ke, Ne, z, he, r, i, n, s, c, h, p, E, m, I, F, M, Z, N, G, Y, j, Fe;
40533
40543
  if (x !== !0)
40534
40544
  switch (C.name) {
40535
40545
  case "refresh":
@@ -40559,7 +40569,7 @@ const si = /* @__PURE__ */ Ir(G1, [["render", V1], ["__scopeId", "data-v-d82869d
40559
40569
  break;
40560
40570
  }
40561
40571
  case "excel": {
40562
- const me = (Y = e.params) == null ? void 0 : Y.formHelper.FormName, Se = (he = e.params) == null ? void 0 : he.formHelper.FormCaption, de = (i = e.params) == null ? void 0 : i.formHelper.getGrid((r = e.params) == null ? void 0 : r.configId), _e = {
40572
+ const me = (z = e.params) == null ? void 0 : z.formHelper.FormName, Se = (he = e.params) == null ? void 0 : he.formHelper.FormCaption, de = (i = e.params) == null ? void 0 : i.formHelper.getGrid((r = e.params) == null ? void 0 : r.configId), _e = {
40563
40573
  fileName: `${(n = e.params) == null ? void 0 : n.formHelper.FormName}-${D.Core.getDateTimeFormatString(/* @__PURE__ */ new Date(), "yyyy-MM-dd HH-mm-ss")}`,
40564
40574
  exportData: (c = (s = de == null ? void 0 : de.gridOptions) == null ? void 0 : s.context) == null ? void 0 : c.bindingSource,
40565
40575
  header: {
@@ -40570,12 +40580,12 @@ const si = /* @__PURE__ */ Ir(G1, [["render", V1], ["__scopeId", "data-v-d82869d
40570
40580
  fileName: _e.fileName,
40571
40581
  isBandView: ((Z = (M = de.gridOptions.context) == null ? void 0 : M.options) == null ? void 0 : Z.viewType) === "BandView",
40572
40582
  isShowFooter: ((G = (N = de.gridOptions.context) == null ? void 0 : N.viewConfig) == null ? void 0 : G.SHOW_FOOTER) === "1",
40573
- isCheckedRows: ((z = D.Core.getGridRows(de, "checkedAfterFilter")) == null ? void 0 : z.length) > 0
40583
+ isCheckedRows: ((Y = D.Core.getGridRows(de, "checkedAfterFilter")) == null ? void 0 : Y.length) > 0
40574
40584
  });
40575
40585
  break;
40576
40586
  }
40577
40587
  case "import": {
40578
- const me = (Fe = e.params) == null ? void 0 : Fe.formHelper.getGrid((q = e.params) == null ? void 0 : q.configId);
40588
+ const me = (Fe = e.params) == null ? void 0 : Fe.formHelper.getGrid((j = e.params) == null ? void 0 : j.configId);
40579
40589
  D.Core.importExcelFile(me, void 0, (Se) => {
40580
40590
  O.models = Se;
40581
40591
  });
@@ -41087,8 +41097,8 @@ const _d = /* @__PURE__ */ Ir(Dx, [["render", Rx]]), Nx = {
41087
41097
  t.toolbarOptions,
41088
41098
  t.pageOptions
41089
41099
  );
41090
- const Y = (J = b.api) == null ? void 0 : J.getStatusPanel("ToolbarPanel");
41091
- Y && Y.setToolbarStyle(((ve = t.toolbarOptions) == null ? void 0 : ve.style) ?? ((Be = t.options) == null ? void 0 : Be.toolbarStyle) ?? "both");
41100
+ const z = (J = b.api) == null ? void 0 : J.getStatusPanel("ToolbarPanel");
41101
+ z && z.setToolbarStyle(((ve = t.toolbarOptions) == null ? void 0 : ve.style) ?? ((Be = t.options) == null ? void 0 : Be.toolbarStyle) ?? "both");
41092
41102
  const he = t.erFormHelperProp.getSingleViewConfigInfo(t.configId);
41093
41103
  (xe = t.erFormHelperProp) == null || xe.setGridToolbarVisible(t.configId, {
41094
41104
  refresh: t.erFormHelperProp.getGridToolbarVisible(t.configId, "refresh") ?? he.SHOW_REFRESH === "1",
@@ -41108,7 +41118,7 @@ const _d = /* @__PURE__ */ Ir(Dx, [["render", Rx]]), Nx = {
41108
41118
  F && n && (i.data = Or(i.data), F.setCurrent(i.data, t.configId));
41109
41119
  }
41110
41120
  const I = () => {
41111
- var M, Z, N, G, z, q;
41121
+ var M, Z, N, G, Y, j;
41112
41122
  const F = {
41113
41123
  ...r,
41114
41124
  rowChanged: i.id !== n,
@@ -41118,12 +41128,12 @@ const _d = /* @__PURE__ */ Ir(Dx, [["render", Rx]]), Nx = {
41118
41128
  configId: t.configId,
41119
41129
  erFormHelper: t.erFormHelperProp
41120
41130
  };
41121
- F.colDefEditable = ((G = (N = (Z = r.column) == null ? void 0 : Z.colDef) == null ? void 0 : N.context) == null ? void 0 : G.ALLOW_EDIT) === "1" && ((q = (z = r.column) == null ? void 0 : z.colDef) == null ? void 0 : q.context.READ_ONLY) !== "1" || !1, u("focusChanged", F), r.context.focusRowId = i.id, r.context.focusColId = r.column.colId;
41131
+ F.colDefEditable = ((G = (N = (Z = r.column) == null ? void 0 : Z.colDef) == null ? void 0 : N.context) == null ? void 0 : G.ALLOW_EDIT) === "1" && ((j = (Y = r.column) == null ? void 0 : Y.colDef) == null ? void 0 : j.context.READ_ONLY) !== "1" || !1, u("focusChanged", F), r.context.focusRowId = i.id, r.context.focusColId = r.column.colId;
41122
41132
  };
41123
41133
  ((m = (E = f.value) == null ? void 0 : E.gridOptions) == null ? void 0 : m.rowSelection) === "single" ? setTimeout(I, 250) : I();
41124
41134
  }
41125
41135
  }), f.value.gridOptions.api.addEventListener("rowDataUpdated", (r) => {
41126
- var i, n, s, c, h, p, E, m, I, F, M, Z, N, G, z;
41136
+ var i, n, s, c, h, p, E, m, I, F, M, Z, N, G, Y;
41127
41137
  if (r.context.bindingSource.rowCount === 0)
41128
41138
  (i = r == null ? void 0 : r.api) == null || i.clearFocusedCell(), (n = r == null ? void 0 : r.api) == null || n.clearRangeSelection(), r.context.focusRowId = "", r.context.focusColId = "", ((s = t.options) == null ? void 0 : s.suppressDefaultFocusedCell) !== !0 && u("focusChanged", {
41129
41139
  rowChanged: !0,
@@ -41134,17 +41144,17 @@ const _d = /* @__PURE__ */ Ir(Dx, [["render", Rx]]), Nx = {
41134
41144
  }), ((h = (c = r == null ? void 0 : r.context) == null ? void 0 : c.viewConfig) == null ? void 0 : h.SHOW_FOOTER) === "1" && r.api.setPinnedBottomRowData([{ pinndeRowType: "ErGridSummaryFooter" }]);
41135
41145
  else {
41136
41146
  r.context.filterCountsMap = {};
41137
- let q;
41147
+ let j;
41138
41148
  const Fe = r.api.getFilterModel(), me = r.columnApi.getColumnState().filter((Se) => Se.sort !== null);
41139
- if (Object.keys(Fe).length > 0 || me.length > 0 ? f.value.gridOptions.context.calculateRowSpan && f.value.gridOptions.context.calculateRowSpan instanceof Function ? q = f.value.gridOptions.context.calculateRowSpan(!1) : r.api.forEachNodeAfterFilterAndSort((Se) => {
41149
+ if (Object.keys(Fe).length > 0 || me.length > 0 ? f.value.gridOptions.context.calculateRowSpan && f.value.gridOptions.context.calculateRowSpan instanceof Function ? j = f.value.gridOptions.context.calculateRowSpan(!1) : r.api.forEachNodeAfterFilterAndSort((Se) => {
41140
41150
  var de;
41141
- (de = Se.data) != null && de.uid && q === void 0 && (Se.data = Or(Se.data), q = Se.data);
41142
- }) : (q = f.value.gridOptions.context.bindingSource.Current, r.api.forEachNodeAfterFilterAndSort((Se) => {
41151
+ (de = Se.data) != null && de.uid && j === void 0 && (Se.data = Or(Se.data), j = Se.data);
41152
+ }) : (j = f.value.gridOptions.context.bindingSource.Current, r.api.forEachNodeAfterFilterAndSort((Se) => {
41143
41153
  var de;
41144
- ((de = Se.data) == null ? void 0 : de.uid) === (q == null ? void 0 : q.uid) && (Se.data = Or(Se.data));
41145
- })), q ? (setTimeout(() => {
41154
+ ((de = Se.data) == null ? void 0 : de.uid) === (j == null ? void 0 : j.uid) && (Se.data = Or(Se.data));
41155
+ })), j ? (setTimeout(() => {
41146
41156
  r.api.redrawRows();
41147
- }, 250), f.value.gridOptions.context.bindingSource.setCurrent(q)) : ((p = r == null ? void 0 : r.api) == null || p.clearFocusedCell(), (E = r == null ? void 0 : r.api) == null || E.clearRangeSelection(), r.context.focusRowId = "", r.context.focusColId = "", ((m = t.options) == null ? void 0 : m.suppressDefaultFocusedCell) !== !0 && u("focusChanged", {
41157
+ }, 250), f.value.gridOptions.context.bindingSource.setCurrent(j)) : ((p = r == null ? void 0 : r.api) == null || p.clearFocusedCell(), (E = r == null ? void 0 : r.api) == null || E.clearRangeSelection(), r.context.focusRowId = "", r.context.focusColId = "", ((m = t.options) == null ? void 0 : m.suppressDefaultFocusedCell) !== !0 && u("focusChanged", {
41148
41158
  rowChanged: !0,
41149
41159
  columnChanged: !0,
41150
41160
  data: void 0,
@@ -41172,7 +41182,7 @@ const _d = /* @__PURE__ */ Ir(Dx, [["render", Rx]]), Nx = {
41172
41182
  }), _e.length > 0 && (de.data._preview_row_data = _e, de.setExpanded(!0));
41173
41183
  });
41174
41184
  }
41175
- ((z = (G = r == null ? void 0 : r.context) == null ? void 0 : G.viewConfig) == null ? void 0 : z.AUTO_EXPAND_GROUP) === "1" && b.api.expandAll();
41185
+ ((Y = (G = r == null ? void 0 : r.context) == null ? void 0 : G.viewConfig) == null ? void 0 : Y.AUTO_EXPAND_GROUP) === "1" && b.api.expandAll();
41176
41186
  }
41177
41187
  });
41178
41188
  } else
@@ -41210,16 +41220,16 @@ const _d = /* @__PURE__ */ Ir(Dx, [["render", Rx]]), Nx = {
41210
41220
  if (Re.data._children_data)
41211
41221
  Re.successCallback(Re.data._children_data);
41212
41222
  else {
41213
- const Y = {};
41223
+ const z = {};
41214
41224
  if ((Ke = (Ce = t.erFormHelperProp) == null ? void 0 : Ce.FormDataSet.relations[xe.RELATION_NAME.trim()]) == null || Ke.forEach((he) => {
41215
- Y[he.ChildColumn] = Re.data[he.ParentColumn];
41216
- }), Object.keys(Y).length === 0)
41225
+ z[he.ChildColumn] = Re.data[he.ParentColumn];
41226
+ }), Object.keys(z).length === 0)
41217
41227
  t.erFormHelperProp.messageError(
41218
41228
  "The master-detail relation information was not found!"
41219
41229
  ), Re.data._children_data = [], Re.successCallback(Re.data._children_data);
41220
41230
  else {
41221
- ((Ne = t.detailOptions.service) == null ? void 0 : Ne.trim().length) > 0 ? Y.QUERY_TYPE = xe.TABLE_NAME : Y.TABLE_NAME = xe.TABLE_NAME;
41222
- const he = D.Core.buildEiInfo(Y, "DETAIL_TABLE"), r = await t.erFormHelperProp.callService(
41231
+ ((Ne = t.detailOptions.service) == null ? void 0 : Ne.trim().length) > 0 ? z.QUERY_TYPE = xe.TABLE_NAME : z.TABLE_NAME = xe.TABLE_NAME;
41232
+ const he = D.Core.buildEiInfo(z, "DETAIL_TABLE"), r = await t.erFormHelperProp.callService(
41223
41233
  t.detailOptions.service || "si00_dyn_inq",
41224
41234
  he
41225
41235
  );
@@ -41412,8 +41422,8 @@ const Rl = /* @__PURE__ */ Ir(Lx, [["render", Bx]]), Ux = { style: { "padding-le
41412
41422
  },
41413
41423
  emits: ["dropdownOpen", "update:modelValue", "change", "focus", "blur"],
41414
41424
  setup(e, { expose: a, emit: t }) {
41415
- var F, M, Z, N, G, z, q, Fe, me, Se, de, _e, te, ze, $e, st;
41416
- const o = e, l = t, u = ho(), d = ge(null), f = ge([]), C = ge(!1), _ = {}, T = ge(null), v = ge(o.multiple ? "multiple" : "single"), x = [], S = ge(""), y = ((F = o.dataSource) == null ? void 0 : F.length) > 10, O = ((M = o.options) == null ? void 0 : M.valueField) || ((Z = o.options) == null ? void 0 : Z.dataValueField) || ((N = o.options) == null ? void 0 : N.valueMember) || "CODE", w = ((G = o.options) == null ? void 0 : G.textField) || ((z = o.options) == null ? void 0 : z.dataTextField) || ((q = o.options) == null ? void 0 : q.displayMember) || "CODE_DESC_1_CONTENT", H = ((Fe = o.options) == null ? void 0 : Fe.parentField) || ((Se = (me = o.options) == null ? void 0 : me.dropdownOptions) == null ? void 0 : Se.parentField) || "PARENT_NODE", ee = [];
41425
+ var F, M, Z, N, G, Y, j, Fe, me, Se, de, _e, te, ze, $e, st;
41426
+ const o = e, l = t, u = ho(), d = ge(null), f = ge([]), C = ge(!1), _ = {}, T = ge(null), v = ge(o.multiple ? "multiple" : "single"), x = [], S = ge(""), y = ((F = o.dataSource) == null ? void 0 : F.length) > 10, O = ((M = o.options) == null ? void 0 : M.valueField) || ((Z = o.options) == null ? void 0 : Z.dataValueField) || ((N = o.options) == null ? void 0 : N.valueMember) || "CODE", w = ((G = o.options) == null ? void 0 : G.textField) || ((Y = o.options) == null ? void 0 : Y.dataTextField) || ((j = o.options) == null ? void 0 : j.displayMember) || "CODE_DESC_1_CONTENT", H = ((Fe = o.options) == null ? void 0 : Fe.parentField) || ((Se = (me = o.options) == null ? void 0 : me.dropdownOptions) == null ? void 0 : Se.parentField) || "PARENT_NODE", ee = [];
41417
41427
  let R = ((de = o.options) == null ? void 0 : de.displayRows) || 0, L = 500, pe = 500, se = !0, W, ue;
41418
41428
  const b = ka({
41419
41429
  get() {
@@ -41580,7 +41590,7 @@ const Rl = /* @__PURE__ */ Ir(Lx, [["render", Bx]]), Ux = { style: { "padding-le
41580
41590
  ee.push(Ae);
41581
41591
  }), W.setRowData(ee);
41582
41592
  }, Ne = (oe) => {
41583
- }, Y = (oe) => {
41593
+ }, z = (oe) => {
41584
41594
  C.value = !1;
41585
41595
  }, he = (oe) => {
41586
41596
  o.readonly !== !0 && Tr(() => {
@@ -41778,7 +41788,7 @@ const Rl = /* @__PURE__ */ Ir(Lx, [["render", Bx]]), Ux = { style: { "padding-le
41778
41788
  onClick: Ne,
41779
41789
  onInputKeyDown: Ye,
41780
41790
  onDropdownVisibleChange: Ie,
41781
- onChange: Y,
41791
+ onChange: z,
41782
41792
  onSearch: he,
41783
41793
  onFocus: r,
41784
41794
  onBlur: i
@@ -42479,7 +42489,7 @@ const gS = Pt({
42479
42489
  ],
42480
42490
  setup(e, { emit: a }) {
42481
42491
  const t = e, o = a, l = ge(!1), u = ge(null), d = ge(""), f = ge(!1), C = ge("swap"), _ = Or({}), T = ge(!1), v = ge([]), x = ge(null), S = [], y = [], O = ge(""), w = ge(!1), H = ge(0), ee = ge(!1), R = ge("small"), L = ge(new D.Model()), pe = ge([]), se = ge(-603), W = ge(!1), ue = ge(""), b = Or({}), Q = [], ce = [], J = ge(t.options || {}), ve = Or({}), Be = ge([]);
42482
- let xe = 5, Ye = 5, Ie = 4, Re = "F", Ce = 0, Ke = !1, Ne = {}, Y = [], he = -1, r = "1fr", i = {}, n = !0, s = !1, c;
42492
+ let xe = 5, Ye = 5, Ie = 4, Re = "F", Ce = 0, Ke = !1, Ne = {}, z = [], he = -1, r = "1fr", i = {}, n = !0, s = !1, c;
42483
42493
  const h = new D.PopTreeHelper("CURRENT_NODE_CODE", "PARENT_NODE_CODE", "CURRENT_NODE_DESC", { title: "DataSet Config List", nodeRenderer: ln }), p = ge(Jr()), E = ge(ar()), m = Oc.useForm(
42484
42494
  L,
42485
42495
  b
@@ -42497,14 +42507,14 @@ const gS = Pt({
42497
42507
  }, F = (k) => {
42498
42508
  o("codeMirrorReady", k);
42499
42509
  }, M = (k, ie) => {
42500
- const Ee = Y.findIndex((Je) => Je.ROW_GUID === k), Le = Y.findIndex((Je) => Je.ROW_GUID === ie);
42510
+ const Ee = z.findIndex((Je) => Je.ROW_GUID === k), Le = z.findIndex((Je) => Je.ROW_GUID === ie);
42501
42511
  if (Ee >= 0 && Le >= 0 && Ee !== Le) {
42502
- const Je = Y[Ee];
42503
- Y[Ee] = Y[Le], Y[Le] = Je;
42512
+ const Je = z[Ee];
42513
+ z[Ee] = z[Le], z[Le] = Je;
42504
42514
  }
42505
42515
  }, Z = (k, ie) => {
42506
- const Ee = Y.findIndex((Je) => Je.ROW_GUID === k), Le = Y.findIndex((Je) => Je.ROW_GUID === ie);
42507
- Ee >= 0 && Le >= 0 && Ee !== Le && (Ee < Le, Y.splice(Le, 0, Y.splice(Ee, 1)[0]));
42516
+ const Ee = z.findIndex((Je) => Je.ROW_GUID === k), Le = z.findIndex((Je) => Je.ROW_GUID === ie);
42517
+ Ee >= 0 && Le >= 0 && Ee !== Le && (Ee < Le, z.splice(Le, 0, z.splice(Ee, 1)[0]));
42508
42518
  }, N = () => {
42509
42519
  document.querySelectorAll(".layout-item-drag-enter").forEach((k) => {
42510
42520
  k.classList.remove("layout-item-drag-enter");
@@ -42513,10 +42523,10 @@ const gS = Pt({
42513
42523
  document.querySelectorAll(".layout-item-drag-move").forEach((k) => {
42514
42524
  k.classList.remove("layout-item-drag-move");
42515
42525
  });
42516
- }, z = (k, ie) => {
42526
+ }, Y = (k, ie) => {
42517
42527
  var Ee;
42518
42528
  if (l.value) {
42519
- if (Y.length > 0 && Y[Y.length - 1].ITEM_CODE === "erQueryButton" && Y.pop(), G(), ie.ITEM_CODE) {
42529
+ if (z.length > 0 && z[z.length - 1].ITEM_CODE === "erQueryButton" && z.pop(), G(), ie.ITEM_CODE) {
42520
42530
  (Ee = t.erFormHelperProp.getLayoutLabelSpan(t.configId, ie.ITEM_CODE)) == null || Ee.addClass("layout-item-drag-move");
42521
42531
  const Le = document.getElementsByName(t.erFormHelperProp.FormId + t.configId + ie.ITEM_CODE + "_empty");
42522
42532
  Le.length > 0 && Le.forEach((Je) => {
@@ -42525,7 +42535,7 @@ const gS = Pt({
42525
42535
  }
42526
42536
  k.dataTransfer.effectAllowed = "move", i = ie;
42527
42537
  }
42528
- }, q = (k, ie) => {
42538
+ }, j = (k, ie) => {
42529
42539
  var Ee;
42530
42540
  if (l.value && (N(), ie.ITEM_CODE)) {
42531
42541
  (Ee = t.erFormHelperProp.getLayoutLabelSpan(t.configId, ie.ITEM_CODE)) == null || Ee.addClass("layout-item-drag-enter");
@@ -42535,7 +42545,7 @@ const gS = Pt({
42535
42545
  });
42536
42546
  }
42537
42547
  }, Fe = (k, ie) => {
42538
- l.value && (N(), G(), i.ROW_GUID !== ie.ROW_GUID && (C.value === "insert" ? Z(i.ROW_GUID, ie.ROW_GUID) : M(i.ROW_GUID, ie.ROW_GUID), pe.value = P(Y), v.value = [], f.value = !0, Tr(() => {
42548
+ l.value && (N(), G(), i.ROW_GUID !== ie.ROW_GUID && (C.value === "insert" ? Z(i.ROW_GUID, ie.ROW_GUID) : M(i.ROW_GUID, ie.ROW_GUID), pe.value = P(z), v.value = [], f.value = !0, Tr(() => {
42539
42549
  ae();
42540
42550
  })));
42541
42551
  }, me = (k) => {
@@ -42694,20 +42704,20 @@ const gS = Pt({
42694
42704
  return k.ORIGIN_CODE && ie[k.ORIGIN_CODE] ? `${ie[k.ORIGIN_CODE]}.${k.SVC_NAME}` : "";
42695
42705
  }, Ae = async () => {
42696
42706
  const k = [];
42697
- for (let ie = 0; ie < Y.length; ie++)
42707
+ for (let ie = 0; ie < z.length; ie++)
42698
42708
  k.push({
42699
- ROW_GUID: Y[ie].ROW_GUID,
42700
- COMPANY_CODE: Y[ie].COMPANY_CODE,
42701
- FORM_NAME: Y[ie].FORM_NAME,
42702
- FUNCTION_ID: Y[ie].FUNCTION_ID,
42709
+ ROW_GUID: z[ie].ROW_GUID,
42710
+ COMPANY_CODE: z[ie].COMPANY_CODE,
42711
+ FORM_NAME: z[ie].FORM_NAME,
42712
+ FUNCTION_ID: z[ie].FUNCTION_ID,
42703
42713
  DISPLAY_WIDTH: Ne.DISPLAY_WIDTH,
42704
42714
  BESTFIT: Ne.BESTFIT,
42705
42715
  SHOW_COLUMN_HEADER: Ne.SHOW_COLUMN_HEADER,
42706
- ITEM_CODE: Y[ie].ITEM_CODE,
42707
- COL_CAPTION: Y[ie].COL_CAPTION,
42708
- COL_WIDTH: Y[ie].COL_WIDTH,
42709
- ROWHIGH: Y[ie].ROWHIGH,
42710
- EMPTY_ITEM_NUM: Y[ie].EMPTY_ITEM_NUM
42716
+ ITEM_CODE: z[ie].ITEM_CODE,
42717
+ COL_CAPTION: z[ie].COL_CAPTION,
42718
+ COL_WIDTH: z[ie].COL_WIDTH,
42719
+ ROWHIGH: z[ie].ROWHIGH,
42720
+ EMPTY_ITEM_NUM: z[ie].EMPTY_ITEM_NUM
42711
42721
  });
42712
42722
  if (k.length > 0) {
42713
42723
  const ie = D.Core.buildEiInfo(k, "TSI00GRIDCOLUMN_UPDATE_SEQ");
@@ -42743,7 +42753,7 @@ const gS = Pt({
42743
42753
  else if (ie.key === "layoutExtOptions")
42744
42754
  t.erFormHelperProp.showExtOptionsEdit("tsi00gridviewext", Ne.FORM_NAME, Ne.FUNCTION_ID, k.ITEM_CODE, "", "", !1);
42745
42755
  else if ((Ee = ie.key) != null && Ee.startsWith("controlsPerRow"))
42746
- Ie = D.Core.toNumber(ie.key.replace("controlsPerRow-", "")) || 4, Ne.DISPLAY_WIDTH = Ie, pe.value = P(Y), f.value = !0;
42756
+ Ie = D.Core.toNumber(ie.key.replace("controlsPerRow-", "")) || 4, Ne.DISPLAY_WIDTH = Ie, pe.value = P(z), f.value = !0;
42747
42757
  else if ((Le = ie.key) != null && Le.startsWith("display")) {
42748
42758
  const Oe = (Tt = (Je = ie == null ? void 0 : ie.item) == null ? void 0 : Je.originItemValue) == null ? void 0 : Tt.label;
42749
42759
  if ((Oe == null ? void 0 : Oe.length) > 0) {
@@ -42757,28 +42767,28 @@ const gS = Pt({
42757
42767
  else if ((A = ie.key) != null && A.startsWith("labelOnTop"))
42758
42768
  Ne.SHOW_COLUMN_HEADER = ie.key.replace("labelOnTop-", ""), W.value = ie.key.replace("labelOnTop-", "") === "1", f.value = !0;
42759
42769
  else if ((we = ie.key) != null && we.startsWith("controlGridSize")) {
42760
- for (let Oe = 0; Oe < Y.length; Oe++)
42761
- if (Y[Oe].ITEM_CODE === k.ITEM_CODE) {
42762
- Y[Oe].COL_WIDTH = D.Core.toNumber(ie.key.replace("controlGridSize-", ""));
42770
+ for (let Oe = 0; Oe < z.length; Oe++)
42771
+ if (z[Oe].ITEM_CODE === k.ITEM_CODE) {
42772
+ z[Oe].COL_WIDTH = D.Core.toNumber(ie.key.replace("controlGridSize-", ""));
42763
42773
  break;
42764
42774
  }
42765
- pe.value = P(Y), f.value = !0;
42775
+ pe.value = P(z), f.value = !0;
42766
42776
  } else if ((qe = ie.key) != null && qe.startsWith("controlEmptySize")) {
42767
- for (let Oe = 0; Oe < Y.length; Oe++)
42768
- if (Y[Oe].ITEM_CODE === k.ITEM_CODE) {
42769
- Y[Oe].EMPTY_ITEM_NUM = D.Core.toNumber(ie.key.replace("controlEmptySize-", ""));
42777
+ for (let Oe = 0; Oe < z.length; Oe++)
42778
+ if (z[Oe].ITEM_CODE === k.ITEM_CODE) {
42779
+ z[Oe].EMPTY_ITEM_NUM = D.Core.toNumber(ie.key.replace("controlEmptySize-", ""));
42770
42780
  break;
42771
42781
  }
42772
- pe.value = P(Y), f.value = !0;
42782
+ pe.value = P(z), f.value = !0;
42773
42783
  } else if (ie.key === "layoutItemExtOptions")
42774
42784
  t.erFormHelperProp.showExtOptionsEdit("tsi00gridcolumnext", k.FORM_NAME, k.FUNCTION_ID, k.ROW_GUID + "," + k.ITEM_CODE, "", k.COMPANY_CODE, !1);
42775
42785
  else if ((He = ie.key) != null && He.startsWith("controlRowSize")) {
42776
- for (let Oe = 0; Oe < Y.length; Oe++)
42777
- if (Y[Oe].ITEM_CODE === k.ITEM_CODE) {
42778
- Y[Oe].ROWHIGH = D.Core.toNumber(ie.key.replace("controlRowSize-", ""));
42786
+ for (let Oe = 0; Oe < z.length; Oe++)
42787
+ if (z[Oe].ITEM_CODE === k.ITEM_CODE) {
42788
+ z[Oe].ROWHIGH = D.Core.toNumber(ie.key.replace("controlRowSize-", ""));
42779
42789
  break;
42780
42790
  }
42781
- pe.value = P(Y), f.value = !0;
42791
+ pe.value = P(z), f.value = !0;
42782
42792
  } else ie.key === "cancelChanges" ? (re(), Tr(() => {
42783
42793
  ae();
42784
42794
  }), f.value = !1) : ie.key === "saveLayout" && Ae();
@@ -43148,10 +43158,10 @@ const gS = Pt({
43148
43158
  const Wt = Dt.buttonRegionId || ((Le = Dt.blockName) == null ? void 0 : Le.trim()) || t.configId;
43149
43159
  Be.value = t.erFormHelperProp.FormAuthButtons[Wt] || [], J.value = { ...vt, ...Dt, ...J.value }, J.value.componentSize ? R.value = J.value.componentSize === "large" ? "large" : J.value.componentSize === "middle" ? "middle" : "small" : D.Core.toNumber(Ne.FONTSIZE) >= 16 ? R.value = "large" : D.Core.toNumber(Ne.FONTSIZE) >= 14 ? R.value = "middle" : R.value = "small", n = J.value.hasFeedback !== "false", O.value = Ne.TABLE_NAME, t.configCaption === void 0 || t.configCaption.length === 0 ? ue.value = Ne.FUNCNAME : ue.value = t.configCaption, se.value = Ne.ROWHIGH || -1, w.value = Re === "F" && Ne.BESTFIT === "1", D.Core.toNumber(Ne.FORM_WIDTH) > 0 && (r = Ne.FORM_WIDTH + "px"), Re !== "F" ? (Ie = D.Core.toNumber(Ne.EDIT_COLS_COUNT), Ie = Ie > 0 ? Ie : 3) : (Ie = D.Core.toNumber(Ne.DISPLAY_WIDTH), Ie = Ie > 0 ? Ie : 4), xe = D.Core.toNumber((Je = J.value) == null ? void 0 : Je.gridGap), xe = xe > 0 ? xe : D.Core.toNumber(t.erFormHelperProp.getFormSysInfo("LAYOUTPADDING")), xe = xe > 0 ? xe : 5;
43150
43160
  const Ht = Re !== "F" ? t.erFormHelperProp.getBindingTable(t.configId) : void 0;
43151
- Ht ? Y = (B = (Tt = dt.TSI00GRIDCOLUMN) == null ? void 0 : Tt.filter((Xt) => {
43161
+ Ht ? z = (B = (Tt = dt.TSI00GRIDCOLUMN) == null ? void 0 : Tt.filter((Xt) => {
43152
43162
  var g, ir;
43153
43163
  return Xt.IS_VISIBLE === "1" && Xt.FIELD_NAME && ((ir = (g = Ht.options) == null ? void 0 : g.schema) == null ? void 0 : ir[Xt.FIELD_NAME]);
43154
- })) == null ? void 0 : B.map((Xt) => ({ ...Xt })) : Y = (A = (le = dt.TSI00GRIDCOLUMN) == null ? void 0 : le.filter((Xt) => Xt.IS_VISIBLE === "1")) == null ? void 0 : A.map((Xt) => ({ ...Xt })), pe.value = P(Y), t.erFormHelperProp.setLayoutConfigRelationInfo(t.configId.trim(), t.layoutName.trim()), D.Core.toNumber((we = J.value) == null ? void 0 : we.labelWidth) > 0 ? H.value = D.Core.toNumber((qe = J.value) == null ? void 0 : qe.labelWidth) : D.Core.toNumber((He = J.value) == null ? void 0 : He.maxLabelWidth) > 0 && D.Core.toNumber((Oe = J.value) == null ? void 0 : Oe.maxLabelWidth) < Ce ? H.value = D.Core.toNumber((et = J.value) == null ? void 0 : et.maxLabelWidth) : H.value = Ce, ee.value = Ke ? !0 : ((ft = J.value) == null ? void 0 : ft.labelWrap) ?? D.Core.toNumber((Ve = J.value) == null ? void 0 : Ve.maxLabelWidth) < Ce, t.displayRows > 0 && t.displayRows < he ? se.value = t.displayRows : se.value = -1, Re === "F" && (W.value = t.labelAlignTop === !0 ? !0 : dt.TSI00GRIDVIEW[0].SHOW_COLUMN_HEADER === "1"), t.autoBind && t.erFormHelperProp.setBindingTableName(t.configId.trim());
43164
+ })) == null ? void 0 : B.map((Xt) => ({ ...Xt })) : z = (A = (le = dt.TSI00GRIDCOLUMN) == null ? void 0 : le.filter((Xt) => Xt.IS_VISIBLE === "1")) == null ? void 0 : A.map((Xt) => ({ ...Xt })), pe.value = P(z), t.erFormHelperProp.setLayoutConfigRelationInfo(t.configId.trim(), t.layoutName.trim()), D.Core.toNumber((we = J.value) == null ? void 0 : we.labelWidth) > 0 ? H.value = D.Core.toNumber((qe = J.value) == null ? void 0 : qe.labelWidth) : D.Core.toNumber((He = J.value) == null ? void 0 : He.maxLabelWidth) > 0 && D.Core.toNumber((Oe = J.value) == null ? void 0 : Oe.maxLabelWidth) < Ce ? H.value = D.Core.toNumber((et = J.value) == null ? void 0 : et.maxLabelWidth) : H.value = Ce, ee.value = Ke ? !0 : ((ft = J.value) == null ? void 0 : ft.labelWrap) ?? D.Core.toNumber((Ve = J.value) == null ? void 0 : Ve.maxLabelWidth) < Ce, t.displayRows > 0 && t.displayRows < he ? se.value = t.displayRows : se.value = -1, Re === "F" && (W.value = t.labelAlignTop === !0 ? !0 : dt.TSI00GRIDVIEW[0].SHOW_COLUMN_HEADER === "1"), t.autoBind && t.erFormHelperProp.setBindingTableName(t.configId.trim());
43155
43165
  }
43156
43166
  }
43157
43167
  };
@@ -43378,10 +43388,10 @@ const gS = Pt({
43378
43388
  default: Te(() => [
43379
43389
  (fe(!0), lt(or, null, Gr(pe.value, (g, ir) => (fe(), lt("div", {
43380
43390
  draggable: l.value && g.WIDGET_TYPE !== "NA",
43381
- onDragstart: (Zt) => z(Zt, pe.value[ir]),
43391
+ onDragstart: (Zt) => Y(Zt, pe.value[ir]),
43382
43392
  onDragover: ie[0] || (ie[0] = Ec(() => {
43383
43393
  }, ["prevent"])),
43384
- onDragenter: (Zt) => q(Zt, pe.value[ir]),
43394
+ onDragenter: (Zt) => j(Zt, pe.value[ir]),
43385
43395
  onDrop: (Zt) => Fe(Zt, pe.value[ir]),
43386
43396
  key: ir,
43387
43397
  style: wt({ gridColumnStart: g.COL_START, gridColumnEnd: g.COL_END, gridRowStart: g.ROW_START, gridRowEnd: g.ROW_END, border: l.value ? "1px dotted red" : void 0 })
@@ -44794,7 +44804,7 @@ const gS = Pt({
44794
44804
  }), t.popFreeHelperProp.doEvent("open");
44795
44805
  }, 360);
44796
44806
  }, R = async (ue) => {
44797
- var J, ve, Be, xe, Ye, Ie, Re, Ce, Ke, Ne, Y, he, r, i, n, s, c, h;
44807
+ var J, ve, Be, xe, Ye, Ie, Re, Ce, Ke, Ne, z, he, r, i, n, s, c, h;
44798
44808
  const b = {
44799
44809
  sender: f,
44800
44810
  dialogResult: "ok",
@@ -44811,7 +44821,7 @@ const gS = Pt({
44811
44821
  return;
44812
44822
  if (((Ye = t.popFreeHelperProp) == null ? void 0 : Ye.OkButtonService.trim().length) > 0) {
44813
44823
  var Q = new Rt(), ce = l.convertModelAsBlock(t.popFreeHelperProp.DataModel, t.popFreeHelperProp.ExtendJsonData);
44814
- if (((Ie = t.popFreeHelperProp) == null ? void 0 : Ie.EditType) === "Modify" ? (Re = t.popFreeHelperProp) != null && Re.TableName && ((Ce = t.popFreeHelperProp) == null ? void 0 : Ce.TableName.trim().length) > 0 ? ce.rename(((Ke = t.popFreeHelperProp) == null ? void 0 : Ke.TableName.trim()) + "_MODIFY") : u && u.TABLE_NAME && u.TABLE_NAME.trim().length > 0 && ce.rename(u.TABLE_NAME.trim() + "_MODIFY") : ((Y = (Ne = t.popFreeHelperProp) == null ? void 0 : Ne.TableName) == null ? void 0 : Y.trim().length) > 0 ? ce.rename(((he = t.popFreeHelperProp) == null ? void 0 : he.TableName.trim()) + "_ADD") : ((r = u.TABLE_NAME) == null ? void 0 : r.trim().length) > 0 && ce.rename(u.TABLE_NAME.trim() + "_ADD"), Q.addBlock(ce), (i = t.popFreeHelperProp) != null && i.BeforeCallService && (Q = t.popFreeHelperProp.BeforeCallService(Q)), !await l.messageConfirm(""))
44824
+ if (((Ie = t.popFreeHelperProp) == null ? void 0 : Ie.EditType) === "Modify" ? (Re = t.popFreeHelperProp) != null && Re.TableName && ((Ce = t.popFreeHelperProp) == null ? void 0 : Ce.TableName.trim().length) > 0 ? ce.rename(((Ke = t.popFreeHelperProp) == null ? void 0 : Ke.TableName.trim()) + "_MODIFY") : u && u.TABLE_NAME && u.TABLE_NAME.trim().length > 0 && ce.rename(u.TABLE_NAME.trim() + "_MODIFY") : ((z = (Ne = t.popFreeHelperProp) == null ? void 0 : Ne.TableName) == null ? void 0 : z.trim().length) > 0 ? ce.rename(((he = t.popFreeHelperProp) == null ? void 0 : he.TableName.trim()) + "_ADD") : ((r = u.TABLE_NAME) == null ? void 0 : r.trim().length) > 0 && ce.rename(u.TABLE_NAME.trim() + "_ADD"), Q.addBlock(ce), (i = t.popFreeHelperProp) != null && i.BeforeCallService && (Q = t.popFreeHelperProp.BeforeCallService(Q)), !await l.messageConfirm(""))
44815
44825
  return;
44816
44826
  const p = await l.callService((n = t.popFreeHelperProp) == null ? void 0 : n.OkButtonService.trim(), Q);
44817
44827
  if (p.getStatus() < 0) {
@@ -45150,8 +45160,8 @@ const gS = Pt({
45150
45160
  var Ne = new Rt();
45151
45161
  Ne.addBlock(n), Ke = await l.callService(s.SVC_NAME.trim(), Ne);
45152
45162
  } else {
45153
- var Y = `select * from ${ee} where ${Re}`;
45154
- Ke = await l.querySql("", Y);
45163
+ var z = `select * from ${ee} where ${Re}`;
45164
+ Ke = await l.querySql("", z);
45155
45165
  }
45156
45166
  var he = Ke.getBlock(ee);
45157
45167
  he || (he = Ke.getBlockByIndex(0)), l.mergeEiBlockToGrid(he, t.popQueryHelperProp.DetailViewConfigId), l.getGridDataCount(t.popQueryHelperProp.DetailViewConfigId) === 0 && t.popQueryHelperProp.ShowQueryNoDetailInfoMsg === !0 && l.messageWarning("未查到明细数据!");
@@ -45166,9 +45176,9 @@ const gS = Pt({
45166
45176
  t.popQueryHelperProp.ErFormHelper.setAllControlDefalutValue(_.value), t.popQueryHelperProp.ErFormHelper.setControlValueEx(_.value, (Re = t.popQueryHelperProp.DefaultValues) == null ? void 0 : Re.values), t.popQueryHelperProp.ErFormHelper.setControlReadOnlyEx(_.value, (Ce = t.popQueryHelperProp.DefaultValues) == null ? void 0 : Ce.readonly), t.popQueryHelperProp.ErFormHelper.clearGridData(T.value, v.value), t.popQueryHelperProp.ShowCheckBoxColumn === !1 && t.popQueryHelperProp.ErFormHelper.showOrHideGridCheckColumn(T.value, "hide");
45167
45177
  const Ne = t.popQueryHelperProp.ErFormHelper.getGrid(T.value);
45168
45178
  if ((Ke = Ne == null ? void 0 : Ne.gridOptions) != null && Ke.api) {
45169
- const Y = Ne.gridOptions.api.getColumnDefs();
45179
+ const z = Ne.gridOptions.api.getColumnDefs();
45170
45180
  let he = !1;
45171
- Y.forEach((r) => {
45181
+ z.forEach((r) => {
45172
45182
  const i = Ne.gridOptions.api.getFilterInstance(r.field);
45173
45183
  i && (i.setModel(null), he = !0);
45174
45184
  }), he && Ne.gridOptions.api.onFilterChanged();
@@ -45183,7 +45193,7 @@ const gS = Pt({
45183
45193
  return;
45184
45194
  await l.checkRequiredInput(t.popQueryHelperProp.LayoutGroupFilterId) && t.popQueryHelperProp.queryMainGridInfo();
45185
45195
  }, ce = () => {
45186
- var Y, he;
45196
+ var z, he;
45187
45197
  let Ie = {
45188
45198
  sender: void 0,
45189
45199
  formHelper: t.popQueryHelperProp,
@@ -45209,7 +45219,7 @@ const gS = Pt({
45209
45219
  for (let p = 0; p < c.length; p++)
45210
45220
  if (Ke.getColumn(c[p]) && Ke.getMappedRows()[h][c[p]] !== Ke.getMappedRows()[0][c[p]]) {
45211
45221
  const E = l.getGridColumn(T.value, c[p]).title;
45212
- l.messageWarning("所选记录中[" + E + "]->[" + ((Y = Ke.getMappedRows()[h][c[p]]) == null ? void 0 : Y.toString()) + "]与[" + ((he = Ke.getMappedRows()[0][c[p]]) == null ? void 0 : he.toString()) + "]不相同!");
45222
+ l.messageWarning("所选记录中[" + E + "]->[" + ((z = Ke.getMappedRows()[h][c[p]]) == null ? void 0 : z.toString()) + "]与[" + ((he = Ke.getMappedRows()[0][c[p]]) == null ? void 0 : he.toString()) + "]不相同!");
45213
45223
  return;
45214
45224
  }
45215
45225
  }
@@ -45298,7 +45308,7 @@ const gS = Pt({
45298
45308
  Ne.visible === void 0 || Ne.visible(t.popQueryHelperProp) ? (fe(), lt("button", {
45299
45309
  key: Ne.name,
45300
45310
  class: "xr-er-button",
45301
- onClick: (Y) => Ye(Ne)
45311
+ onClick: (z) => Ye(Ne)
45302
45312
  }, xt(Ne.caption), 9, MS)) : ht("", !0)
45303
45313
  ], 64))), 256)),
45304
45314
  t.popQueryHelperProp.ShowQueryButton && !t.popQueryHelperProp.ReceiveJsonData ? (fe(), lt("button", {
@@ -45320,7 +45330,7 @@ const gS = Pt({
45320
45330
  Ne.visible === void 0 || Ne.visible(t.popQueryHelperProp) ? (fe(), lt("button", {
45321
45331
  key: Ne.name,
45322
45332
  class: "xr-er-button",
45323
- onClick: (Y) => Ye(Ne)
45333
+ onClick: (z) => Ye(Ne)
45324
45334
  }, xt(Ne.caption), 9, kS)) : ht("", !0)
45325
45335
  ], 64))), 256))
45326
45336
  ]),
@@ -45343,7 +45353,7 @@ const gS = Pt({
45343
45353
  nt("div", AS, [
45344
45354
  at(it(zn), {
45345
45355
  horizontal: !d.value,
45346
- onResize: Re[0] || (Re[0] = (Y) => f.value = Y[0].size)
45356
+ onResize: Re[0] || (Re[0] = (z) => f.value = z[0].size)
45347
45357
  }, {
45348
45358
  default: Te(() => [
45349
45359
  at(it(on), { size: f.value }, {
@@ -45379,7 +45389,7 @@ const gS = Pt({
45379
45389
  })) : ht("", !0)
45380
45390
  ]),
45381
45391
  contentSlot: Te(() => {
45382
- var Y;
45392
+ var z;
45383
45393
  return [
45384
45394
  at(Rr, {
45385
45395
  "config-id": T.value,
@@ -45387,7 +45397,7 @@ const gS = Pt({
45387
45397
  "detail-options": { service: t.popQueryHelperProp.FormConfigQueryService },
45388
45398
  "er-form-helper-prop": it(l),
45389
45399
  "page-options": R.value,
45390
- options: (Y = t.popQueryHelperProp) == null ? void 0 : Y.MainViewOptions,
45400
+ options: (z = t.popQueryHelperProp) == null ? void 0 : z.MainViewOptions,
45391
45401
  onFocusChanged: ue,
45392
45402
  onDoubleClick: xe
45393
45403
  }, null, 8, ["config-id", "detail-config-id", "detail-options", "er-form-helper-prop", "page-options", "options"])
@@ -45409,12 +45419,12 @@ const gS = Pt({
45409
45419
  style: { height: "100%" }
45410
45420
  }, {
45411
45421
  contentSlot: Te(() => {
45412
- var Y;
45422
+ var z;
45413
45423
  return [
45414
45424
  at(Rr, {
45415
45425
  "config-id": v.value,
45416
45426
  "er-form-helper-prop": it(l),
45417
- options: (Y = t.popQueryHelperProp) == null ? void 0 : Y.DetailViewOptions
45427
+ options: (z = t.popQueryHelperProp) == null ? void 0 : z.DetailViewOptions
45418
45428
  }, null, 8, ["config-id", "er-form-helper-prop", "options"])
45419
45429
  ];
45420
45430
  }),
@@ -45439,7 +45449,7 @@ const gS = Pt({
45439
45449
  Ne.visible === void 0 || Ne.visible(t.popQueryHelperProp) ? (fe(), lt("button", {
45440
45450
  key: Ne.name,
45441
45451
  class: "xr-er-button",
45442
- onClick: (Y) => Ye(Ne)
45452
+ onClick: (z) => Ye(Ne)
45443
45453
  }, xt(Ne.caption), 9, wS)) : ht("", !0)
45444
45454
  ], 64))), 256))
45445
45455
  ]),
@@ -45646,9 +45656,9 @@ const gS = Pt({
45646
45656
  ve.value = ar();
45647
45657
  }));
45648
45658
  const Be = window.lang ?? { list: [] }, xe = ge([]), Ye = ge({}), Ie = ge(""), Re = ge("zh_Hans"), Ce = ge(!0), Ke = ge("");
45649
- let Ne = "", Y = "", he = "";
45659
+ let Ne = "", z = "", he = "";
45650
45660
  const r = "JAER01/queryDevConfig", i = "JAER01/saveDevConfig", n = new D.FormHelper(), s = ge(0);
45651
- let c = [], h, p, E, m = "JAER01/query", I, F, M, Z, N, G, z, q, Fe, me, Se;
45661
+ let c = [], h, p, E, m = "JAER01/query", I, F, M, Z, N, G, Y, j, Fe, me, Se;
45652
45662
  const de = new D.PopTreeHelper("CURRENT_NODE_CODE", "PARENT_NODE_CODE", "CURRENT_NODE_DESC", { title: "DataSet Config List", nodeRenderer: ln }), _e = new D.PopTreeHelper("CURRENT_NODE_CODE", "PARENT_NODE_CODE", "CURRENT_NODE_DESC", { title: "Form Config List", nodeRenderer: ln });
45653
45663
  let te;
45654
45664
  const ze = () => {
@@ -45758,7 +45768,7 @@ const gS = Pt({
45758
45768
  }), we.push({
45759
45769
  name: D.Core.$t("ERX.ErMenuDevPlat.AddDataRelation") || "Add DataRelations",
45760
45770
  action: async () => {
45761
- gr(A.DATASET_NAME), q.Context.IsChanged && Mt(E);
45771
+ gr(A.DATASET_NAME), j.Context.IsChanged && Mt(E);
45762
45772
  },
45763
45773
  icon: D.Core.createErSvgElement("add-relation"),
45764
45774
  disabled: !1
@@ -46215,7 +46225,7 @@ const gS = Pt({
46215
46225
  icon: D.Core.createErSvgElement("relation"),
46216
46226
  action: async (qe) => {
46217
46227
  const He = B.node.childrenAfterFilter[0].data.DATASET_NAME, Oe = B.node.childrenAfterFilter[0].data.RELATION_NAME;
46218
- He && Oe && (gr(He, Oe), await q.show(null), q.Context.IsChanged && Mt(E));
46228
+ He && Oe && (gr(He, Oe), await j.show(null), j.Context.IsChanged && Mt(E));
46219
46229
  }
46220
46230
  },
46221
46231
  {
@@ -46279,14 +46289,14 @@ const gS = Pt({
46279
46289
  }]);
46280
46290
  return (await D.Core.callService(r, He, { messageError: !0 })).getBlock("TSI00DATATABLE");
46281
46291
  };
46282
- q.setEvent("load", async (we) => {
46283
- const qe = q.ErFormHelper.getGridApi(q.GridConfigId);
46284
- q.ErFormHelper.setLayoutItemValidateRules(
46285
- q.LayoutConfigId,
46292
+ j.setEvent("load", async (we) => {
46293
+ const qe = j.ErFormHelper.getGridApi(j.GridConfigId);
46294
+ j.ErFormHelper.setLayoutItemValidateRules(
46295
+ j.LayoutConfigId,
46286
46296
  "RESERVE7",
46287
46297
  [{
46288
46298
  validator: (He, Oe) => {
46289
- const et = q.ErFormHelper.getControlValue(q.LayoutConfigId, "RESERVE1");
46299
+ const et = j.ErFormHelper.getControlValue(j.LayoutConfigId, "RESERVE1");
46290
46300
  return Oe && et === Oe ? (He.message = "Child table cannot be the same as the parent table!", Promise.reject()) : Promise.resolve();
46291
46301
  }
46292
46302
  }]
@@ -46295,34 +46305,34 @@ const gS = Pt({
46295
46305
  if (He.data && (((Oe = He.colDef) == null ? void 0 : Oe.field) === "RESERVE1" || ((et = He.colDef) == null ? void 0 : et.field) === "RESERVE7")) {
46296
46306
  const Ve = D.Core.buildEiInfo([{
46297
46307
  QUERY_TYPE: "tsi00datatable",
46298
- DATASET_NAME: q.ErFormHelper.getControlValue(q.LayoutConfigId, "DATASET_NAME"),
46308
+ DATASET_NAME: j.ErFormHelper.getControlValue(j.LayoutConfigId, "DATASET_NAME"),
46299
46309
  TABLE_NAME: He.value
46300
46310
  }]), dt = await D.Core.callService(r, Ve, { messageError: !0 });
46301
46311
  if (dt.SysInfo && dt.SysInfo.Flag >= 0) {
46302
46312
  const vt = dt.getBlock("TSI00DATATABLE");
46303
- vt.getMappedRows().length > 0 && q.ErFormHelper.reloadDropDownDataSource(q.GridConfigId, ((ft = He.colDef) == null ? void 0 : ft.field) === "RESERVE1" ? "RESERVE2" : "RESERVE8", vt.getMappedRows());
46313
+ vt.getMappedRows().length > 0 && j.ErFormHelper.reloadDropDownDataSource(j.GridConfigId, ((ft = He.colDef) == null ? void 0 : ft.field) === "RESERVE1" ? "RESERVE2" : "RESERVE8", vt.getMappedRows());
46304
46314
  }
46305
46315
  }
46306
46316
  });
46307
- }), q.setEvent("query", async (we) => {
46317
+ }), j.setEvent("query", async (we) => {
46308
46318
  const qe = D.Core.buildEiInfo([{
46309
46319
  QUERY_TYPE: "tsi00datarelation",
46310
46320
  DATASET_NAME: B,
46311
- RELATION_NAME: le || q.ErFormHelper.getControlValue(q.LayoutConfigId, "RELATION_NAME")
46321
+ RELATION_NAME: le || j.ErFormHelper.getControlValue(j.LayoutConfigId, "RELATION_NAME")
46312
46322
  }]), He = await D.Core.callService(r, qe, { messageError: !0 });
46313
46323
  if (He.SysInfo && He.SysInfo.Flag >= 0) {
46314
46324
  const Oe = He.getBlock("TSI00DATARELATION");
46315
46325
  if (Oe.getMappedRows().length > 0) {
46316
46326
  const Ve = [{ ...Oe.getMappedRows()[0] }];
46317
- q.ErFormHelper.mergeDataToLayoutOrGrid(Ve, !0, q.LayoutConfigId), q.ErFormHelper.mergeDataToLayoutOrGrid(Oe, !0, q.GridConfigId);
46327
+ j.ErFormHelper.mergeDataToLayoutOrGrid(Ve, !0, j.LayoutConfigId), j.ErFormHelper.mergeDataToLayoutOrGrid(Oe, !0, j.GridConfigId);
46318
46328
  }
46319
- const et = ["RESERVE1", "RESERVE7"], ft = q.ErFormHelper.getControlValue(q.LayoutConfigId, "DATASET_NAME");
46329
+ const et = ["RESERVE1", "RESERVE7"], ft = j.ErFormHelper.getControlValue(j.LayoutConfigId, "DATASET_NAME");
46320
46330
  et.forEach(async (Ve) => {
46321
- const dt = q.ErFormHelper.getControlValue(q.LayoutConfigId, Ve), vt = await A(ft, dt);
46322
- vt && q.ErFormHelper.reloadDropDownDataSource(q.GridConfigId, Ve === "RESERVE1" ? "RESERVE2" : "RESERVE8", vt.getMappedRows());
46331
+ const dt = j.ErFormHelper.getControlValue(j.LayoutConfigId, Ve), vt = await A(ft, dt);
46332
+ vt && j.ErFormHelper.reloadDropDownDataSource(j.GridConfigId, Ve === "RESERVE1" ? "RESERVE2" : "RESERVE8", vt.getMappedRows());
46323
46333
  });
46324
46334
  }
46325
- }), q.setEvent("open", async (we) => {
46335
+ }), j.setEvent("open", async (we) => {
46326
46336
  const qe = D.Core.buildEiInfo([{
46327
46337
  QUERY_TYPE: "tsi00dataset",
46328
46338
  DATASET_NAME: B,
@@ -46330,31 +46340,31 @@ const gS = Pt({
46330
46340
  }]), He = await D.Core.callService(r, qe, { messageError: !0 });
46331
46341
  if (He.SysInfo && He.SysInfo.Flag >= 0) {
46332
46342
  const Oe = He.getBlock("TSI00DATASET");
46333
- Oe.getMappedRows().length > 0 && (q.ErFormHelper.reloadDropDownDataSource(q.LayoutConfigId, "RESERVE1", Oe.getMappedRows()), q.ErFormHelper.reloadDropDownDataSource(q.LayoutConfigId, "RESERVE7", Oe.getMappedRows()));
46343
+ Oe.getMappedRows().length > 0 && (j.ErFormHelper.reloadDropDownDataSource(j.LayoutConfigId, "RESERVE1", Oe.getMappedRows()), j.ErFormHelper.reloadDropDownDataSource(j.LayoutConfigId, "RESERVE7", Oe.getMappedRows()));
46334
46344
  }
46335
46345
  if (le && (le == null ? void 0 : le.trim().length) > 0)
46336
- q.EditType = "Modify", q.ErFormHelper.setControlReadOnly(q.LayoutConfigId, !0, "RESERVE1,RESERVE7"), q.doEvent("query");
46346
+ j.EditType = "Modify", j.ErFormHelper.setControlReadOnly(j.LayoutConfigId, !0, "RESERVE1,RESERVE7"), j.doEvent("query");
46337
46347
  else {
46338
- q.EditType = "Add", q.ErFormHelper.clearLayoutOrGridData(q.LayoutConfigId, q.GridConfigId);
46339
- const Oe = q.ErFormHelper.addModelToLayout(q.LayoutConfigId);
46348
+ j.EditType = "Add", j.ErFormHelper.clearLayoutOrGridData(j.LayoutConfigId, j.GridConfigId);
46349
+ const Oe = j.ErFormHelper.addModelToLayout(j.LayoutConfigId);
46340
46350
  Oe.DATASET_NAME = B;
46341
46351
  }
46342
- }), q.setEvent("save", async (we) => {
46343
- const qe = q.ErFormHelper.getGridAllRowsAsBlock(q.GridConfigId);
46352
+ }), j.setEvent("save", async (we) => {
46353
+ const qe = j.ErFormHelper.getGridAllRowsAsBlock(j.GridConfigId);
46344
46354
  if (qe.getMappedRows().length === 0) {
46345
46355
  D.Core.messageError("No relation detail info!");
46346
46356
  return;
46347
46357
  }
46348
46358
  const He = qe.getMappedRows();
46349
46359
  for (let ft = 0; ft < He.length; ft++)
46350
- He[ft].DATASET_NAME = B, He[ft].RELATION_NAME = q.ErFormHelper.getControlValue(q.LayoutConfigId, "RELATION_NAME"), He[ft].RESERVE1 = q.ErFormHelper.getControlValue(q.LayoutConfigId, "RESERVE1"), He[ft].RESERVE7 = q.ErFormHelper.getControlValue(q.LayoutConfigId, "RESERVE7"), He[ft].C_SEQ_ID = String(ft + 1).padStart(3, "0");
46360
+ He[ft].DATASET_NAME = B, He[ft].RELATION_NAME = j.ErFormHelper.getControlValue(j.LayoutConfigId, "RELATION_NAME"), He[ft].RESERVE1 = j.ErFormHelper.getControlValue(j.LayoutConfigId, "RESERVE1"), He[ft].RESERVE7 = j.ErFormHelper.getControlValue(j.LayoutConfigId, "RESERVE7"), He[ft].C_SEQ_ID = String(ft + 1).padStart(3, "0");
46351
46361
  const Oe = new D.EIInfo();
46352
- qe.rename(q.EditType === "Modify" ? "TSI00DATARELATION_MODIFY" : "TSI00DATARELATION_ADD"), Oe.addBlock(qe), (await D.Core.callService(i, Oe, { messageError: !0, loadingOptions: { show: !0 } })).getStatus() >= 0 && (q.EditType = "Modify", q.ErFormHelper.setControlReadOnly(q.LayoutConfigId, !0, "RESERVE1,RESERVE7"), q.doEvent("query"));
46353
- }), q.setEvent("itemValueChanged", async (we) => {
46362
+ qe.rename(j.EditType === "Modify" ? "TSI00DATARELATION_MODIFY" : "TSI00DATARELATION_ADD"), Oe.addBlock(qe), (await D.Core.callService(i, Oe, { messageError: !0, loadingOptions: { show: !0 } })).getStatus() >= 0 && (j.EditType = "Modify", j.ErFormHelper.setControlReadOnly(j.LayoutConfigId, !0, "RESERVE1,RESERVE7"), j.doEvent("query"));
46363
+ }), j.setEvent("itemValueChanged", async (we) => {
46354
46364
  if (we.itemCode === "RESERVE1" || we.itemCode === "RESERVE7") {
46355
- const qe = q.ErFormHelper.getControlValue(q.LayoutConfigId, we.itemCode), He = await A(B, qe);
46356
- He && q.ErFormHelper.reloadDropDownDataSource(q.GridConfigId, we.itemCode === "RESERVE1" ? "RESERVE2" : "RESERVE8", He.getMappedRows());
46357
- const Oe = q.ErFormHelper.getGridApi(q.GridConfigId);
46365
+ const qe = j.ErFormHelper.getControlValue(j.LayoutConfigId, we.itemCode), He = await A(B, qe);
46366
+ He && j.ErFormHelper.reloadDropDownDataSource(j.GridConfigId, we.itemCode === "RESERVE1" ? "RESERVE2" : "RESERVE8", He.getMappedRows());
46367
+ const Oe = j.ErFormHelper.getGridApi(j.GridConfigId);
46358
46368
  Oe == null || Oe.forEachLeafNode((et) => {
46359
46369
  et.data.set(we.itemCode, we.value);
46360
46370
  const ft = we.itemCode === "RESERVE1" ? "RESERVE2" : "RESERVE8", Ve = et.data[ft];
@@ -46646,13 +46656,13 @@ const gS = Pt({
46646
46656
  qe.onload = async (He) => {
46647
46657
  var ft, Ve;
46648
46658
  const Oe = new D.EIInfo();
46649
- z = new D.PopQueryHelper(
46659
+ Y = new D.PopQueryHelper(
46650
46660
  Ne,
46651
46661
  le.popFormName,
46652
46662
  "gridView1",
46653
46663
  he
46654
- ), z.ShowCheckBoxColumn = !0, z.ReceiveJsonData = (ft = Oe.blocks[le.checkBlockName]) == null ? void 0 : ft.data, le.popFormName === "SI00DataSetInfo" && (z.ReceiveJsonData = z.ReceiveJsonData.filter((dt) => dt.TYPE === "DataSet"));
46655
- const et = await z.show(null);
46664
+ ), Y.ShowCheckBoxColumn = !0, Y.ReceiveJsonData = (ft = Oe.blocks[le.checkBlockName]) == null ? void 0 : ft.data, le.popFormName === "SI00DataSetInfo" && (Y.ReceiveJsonData = Y.ReceiveJsonData.filter((dt) => dt.TYPE === "DataSet"));
46665
+ const et = await Y.show(null);
46656
46666
  if (et.dialogResult === "ok" && et.checkedItemArray) {
46657
46667
  if (!await D.Core.messageConfirm(D.Core.$t("ERX.ImportOverwriteMessage")))
46658
46668
  return;
@@ -46944,11 +46954,11 @@ const gS = Pt({
46944
46954
  }, k = async () => {
46945
46955
  const B = await n.Initialize(
46946
46956
  Ne,
46947
- Y,
46957
+ z,
46948
46958
  "",
46949
46959
  he
46950
46960
  );
46951
- B.flag > 0 ? (s.value = 1, N = new D.PopQueryHelper(Ne, "SI00SysTabCols", "LayoutGroupFilter,gridView1", he), G = new D.PopQueryHelper(Ne, "SI00DataTableCols", "LayoutGroupFilter,gridView1", he), q = new D.PopFormHelper(Ne, "SI00DataRelationEdit", void 0, he), Fe = new D.PopQueryHelper(Ne, "SI00ColumnMultiEdit", "LayoutGroupFilter,gridView_GridView", he), Fe.MainViewConfigId = "gridView_GridView", me = new D.PopQueryHelper(Ne, "SI00ColumnMultiEdit", "LayoutGroupFilter,gridView_Layout", he), me.MainViewConfigId = "gridView_Layout", Se = new D.PopQueryHelper(Ne, "SI00ColumnMultiEdit", "LayoutGroupFilter,gridView_TreeList", he), Se.MainViewConfigId = "gridView_TreeList", await Tr(() => {
46961
+ B.flag > 0 ? (s.value = 1, N = new D.PopQueryHelper(Ne, "SI00SysTabCols", "LayoutGroupFilter,gridView1", he), G = new D.PopQueryHelper(Ne, "SI00DataTableCols", "LayoutGroupFilter,gridView1", he), j = new D.PopFormHelper(Ne, "SI00DataRelationEdit", void 0, he), Fe = new D.PopQueryHelper(Ne, "SI00ColumnMultiEdit", "LayoutGroupFilter,gridView_GridView", he), Fe.MainViewConfigId = "gridView_GridView", me = new D.PopQueryHelper(Ne, "SI00ColumnMultiEdit", "LayoutGroupFilter,gridView_Layout", he), me.MainViewConfigId = "gridView_Layout", Se = new D.PopQueryHelper(Ne, "SI00ColumnMultiEdit", "LayoutGroupFilter,gridView_TreeList", he), Se.MainViewConfigId = "gridView_TreeList", await Tr(() => {
46952
46962
  ie();
46953
46963
  })) : n.messageError(
46954
46964
  "ErFormHelper initialize faild, error msg is [" + B.msg + "]!"
@@ -47003,7 +47013,7 @@ const gS = Pt({
47003
47013
  };
47004
47014
  cr(async () => {
47005
47015
  var le;
47006
- if (Y = "SI00AllDevConfig", he = "JAER01/getFormConfig", new ResizeObserver((A) => {
47016
+ if (z = "SI00AllDevConfig", he = "JAER01/getFormConfig", new ResizeObserver((A) => {
47007
47017
  var qe;
47008
47018
  const we = A[0].contentRect.width;
47009
47019
  f.value = A[0].contentRect.height - ((qe = t.options) != null && qe.isDevPlat ? 50 : 150), Je(we, 350);