@kengic/vue 0.23.8 → 0.23.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  var Ee = Object.defineProperty;
2
2
  var Se = (e, t, r) => t in e ? Ee(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var v = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
3
+ var b = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
4
4
  import { h, nextTick, createVNode, defineComponent, toRaw, unref, Fragment, createTextVNode, inject, isVNode, getCurrentInstance, markRaw, ref, watch, reactive, effectScope, isRef, isReactive, toRef, computed, onUnmounted, toRefs, onMounted, onBeforeUnmount, onBeforeMount, getCurrentScope, onScopeDispose, provide, mergeProps, onActivated, onDeactivated } from "vue";
5
5
  import { Modal, message, Select, Spin, Tooltip, SelectOption, Image as Image$1, Button, Progress, Checkbox, Form, Divider, Row, Col, DatePicker, Input, InputNumber, Radio, Switch, Textarea, Menu, Transfer, Table, Tabs, Dropdown, Tag, Pagination, TableSummary, TabPane, Upload, ConfigProvider, TreeSelect, Steps } from "ant-design-vue";
6
6
  const index$b = "";
@@ -378,8 +378,8 @@ function generate$1(e) {
378
378
  r.push(u);
379
379
  }
380
380
  return t.theme === "dark" ? darkColorMap.map(function(c) {
381
- var g = c.index, d = c.opacity, b = toHex(mix(inputToRGB(t.backgroundColor || "#141414"), inputToRGB(r[g]), d * 100));
382
- return b;
381
+ var g = c.index, d = c.opacity, v = toHex(mix(inputToRGB(t.backgroundColor || "#141414"), inputToRGB(r[g]), d * 100));
382
+ return v;
383
383
  }) : r;
384
384
  }
385
385
  var presetPrimaryColors = {
@@ -735,7 +735,7 @@ function _objectWithoutPropertiesLoose(e, t) {
735
735
  }
736
736
  setTwoToneColor("#1890ff");
737
737
  var Icon$1 = function(t, r) {
738
- var a, n = _objectSpread$k({}, t, r.attrs), i = n.class, s = n.icon, o = n.spin, l = n.rotate, u = n.tabindex, c = n.twoToneColor, g = n.onClick, d = _objectWithoutProperties(n, _excluded), b = (a = {
738
+ var a, n = _objectSpread$k({}, t, r.attrs), i = n.class, s = n.icon, o = n.spin, l = n.rotate, u = n.tabindex, c = n.twoToneColor, g = n.onClick, d = _objectWithoutProperties(n, _excluded), v = (a = {
739
739
  anticon: !0
740
740
  }, _defineProperty$k(a, "anticon-".concat(s.name), Boolean(s.name)), _defineProperty$k(a, i, i), a), _ = o === "" || !!o || s.name === "loading" ? "anticon-spin" : "", m = u;
741
741
  m === void 0 && g && (m = -1, d.tabindex = m);
@@ -748,7 +748,7 @@ var Icon$1 = function(t, r) {
748
748
  "aria-label": s.name
749
749
  }, d, {
750
750
  onClick: g,
751
- class: b
751
+ class: v
752
752
  }), [createVNode(VueIcon, {
753
753
  class: _,
754
754
  icon: s,
@@ -1549,10 +1549,10 @@ function iconToSVG(e, t) {
1549
1549
  const s = a.width, o = a.height, l = n.width, u = n.height;
1550
1550
  let c, g;
1551
1551
  s === null ? (g = o === null ? "1em" : o === "auto" ? u : o, c = calculateSize(g, l / u)) : (c = s === "auto" ? l : s, g = o === null ? calculateSize(c, u / l) : o === "auto" ? u : o);
1552
- const d = {}, b = (_, m) => {
1552
+ const d = {}, v = (_, m) => {
1553
1553
  isUnsetKeyword(m) || (d[_] = m.toString());
1554
1554
  };
1555
- return b("width", c), b("height", g), d.viewBox = n.left.toString() + " " + n.top.toString() + " " + l.toString() + " " + u.toString(), {
1555
+ return v("width", c), v("height", g), d.viewBox = n.left.toString() + " " + n.top.toString() + " " + l.toString() + " " + u.toString(), {
1556
1556
  attributes: d,
1557
1557
  body: i
1558
1558
  };
@@ -1833,8 +1833,8 @@ function sendQuery(e, t, r, a) {
1833
1833
  } else
1834
1834
  s = e.resources.slice(i).concat(e.resources.slice(0, i));
1835
1835
  const o = Date.now();
1836
- let l = "pending", u = 0, c, g = null, d = [], b = [];
1837
- typeof a == "function" && b.push(a);
1836
+ let l = "pending", u = 0, c, g = null, d = [], v = [];
1837
+ typeof a == "function" && v.push(a);
1838
1838
  function _() {
1839
1839
  g && (clearTimeout(g), g = null);
1840
1840
  }
@@ -1844,7 +1844,7 @@ function sendQuery(e, t, r, a) {
1844
1844
  }), d = [];
1845
1845
  }
1846
1846
  function p(k, R) {
1847
- R && (b = []), typeof k == "function" && b.push(k);
1847
+ R && (v = []), typeof k == "function" && v.push(k);
1848
1848
  }
1849
1849
  function T() {
1850
1850
  return {
@@ -1858,7 +1858,7 @@ function sendQuery(e, t, r, a) {
1858
1858
  };
1859
1859
  }
1860
1860
  function E() {
1861
- l = "failed", b.forEach((k) => {
1861
+ l = "failed", v.forEach((k) => {
1862
1862
  k(void 0, c);
1863
1863
  });
1864
1864
  }
@@ -1891,7 +1891,7 @@ function sendQuery(e, t, r, a) {
1891
1891
  const V = e.resources.indexOf(k.resource);
1892
1892
  V !== -1 && V !== e.index && (e.index = V);
1893
1893
  }
1894
- l = "completed", b.forEach((V) => {
1894
+ l = "completed", v.forEach((V) => {
1895
1895
  V(A);
1896
1896
  });
1897
1897
  }
@@ -2184,8 +2184,8 @@ const loadIcons = (e, t) => {
2184
2184
  const g = n[u] || (n[u] = /* @__PURE__ */ Object.create(null));
2185
2185
  g[c] || (g[c] = []);
2186
2186
  }), a.pending.forEach((l) => {
2187
- const { provider: u, prefix: c, name: g } = l, d = getStorage(u, c), b = d.pendingIcons || (d.pendingIcons = /* @__PURE__ */ new Set());
2188
- b.has(g) || (b.add(g), n[u][c].push(g));
2187
+ const { provider: u, prefix: c, name: g } = l, d = getStorage(u, c), v = d.pendingIcons || (d.pendingIcons = /* @__PURE__ */ new Set());
2188
+ v.has(g) || (v.add(g), n[u][c].push(g));
2189
2189
  }), i.forEach((l) => {
2190
2190
  const { provider: u, prefix: c } = l;
2191
2191
  n[u][c].length && loadNewIcons(l, n[u][c]);
@@ -2335,7 +2335,7 @@ const render = (e, t) => {
2335
2335
  let m = 0, p = t.id;
2336
2336
  return typeof p == "string" && (p = p.replace(/-/g, "_")), a.innerHTML = replaceIDs(l.body, p ? () => p + "ID" + m++ : "iconifyVue"), h("svg", a);
2337
2337
  }
2338
- const { body: c, width: g, height: d } = e, b = n === "mask" || (n === "bg" ? !1 : c.indexOf("currentColor") !== -1), _ = iconToHTML(c, {
2338
+ const { body: c, width: g, height: d } = e, v = n === "mask" || (n === "bg" ? !1 : c.indexOf("currentColor") !== -1), _ = iconToHTML(c, {
2339
2339
  ...u,
2340
2340
  width: g + "",
2341
2341
  height: d + ""
@@ -2346,7 +2346,7 @@ const render = (e, t) => {
2346
2346
  width: fixSize(u.width),
2347
2347
  height: fixSize(u.height),
2348
2348
  ...commonProps,
2349
- ...b ? monotoneProps : coloredProps,
2349
+ ...v ? monotoneProps : coloredProps,
2350
2350
  ...o
2351
2351
  }, h("span", a);
2352
2352
  };
@@ -2437,7 +2437,7 @@ const emptyIcon = {
2437
2437
  ...t.data
2438
2438
  }, r);
2439
2439
  }
2440
- }), version = "0.23.8";
2440
+ }), version = "0.23.9";
2441
2441
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
2442
2442
  const freeGlobal$1 = freeGlobal;
2443
2443
  var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
@@ -3481,9 +3481,9 @@ function baseClone(e, t, r, a, n, i) {
3481
3481
  }
3482
3482
  }
3483
3483
  i || (i = new Stack());
3484
- var b = i.get(e);
3485
- if (b)
3486
- return b;
3484
+ var v = i.get(e);
3485
+ if (v)
3486
+ return v;
3487
3487
  i.set(e, s), isSet$1(e) ? e.forEach(function(p) {
3488
3488
  s.add(baseClone(p, t, r, p, e, i));
3489
3489
  }) : isMap$1(e) && e.forEach(function(p, T) {
@@ -3536,7 +3536,7 @@ function equalArrays(e, t, r, a, n, i) {
3536
3536
  var u = i.get(e), c = i.get(t);
3537
3537
  if (u && c)
3538
3538
  return u == t && c == e;
3539
- var g = -1, d = !0, b = r & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
3539
+ var g = -1, d = !0, v = r & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
3540
3540
  for (i.set(e, t), i.set(t, e); ++g < o; ) {
3541
3541
  var _ = e[g], m = t[g];
3542
3542
  if (a)
@@ -3547,10 +3547,10 @@ function equalArrays(e, t, r, a, n, i) {
3547
3547
  d = !1;
3548
3548
  break;
3549
3549
  }
3550
- if (b) {
3550
+ if (v) {
3551
3551
  if (!arraySome(t, function(T, E) {
3552
- if (!cacheHas(b, E) && (_ === T || n(_, T, r, a, i)))
3553
- return b.push(E);
3552
+ if (!cacheHas(v, E) && (_ === T || n(_, T, r, a, i)))
3553
+ return v.push(E);
3554
3554
  })) {
3555
3555
  d = !1;
3556
3556
  break;
@@ -3620,9 +3620,9 @@ function equalObjects(e, t, r, a, n, i) {
3620
3620
  if (!(s ? d in t : hasOwnProperty$3.call(t, d)))
3621
3621
  return !1;
3622
3622
  }
3623
- var b = i.get(e), _ = i.get(t);
3624
- if (b && _)
3625
- return b == t && _ == e;
3623
+ var v = i.get(e), _ = i.get(t);
3624
+ if (v && _)
3625
+ return v == t && _ == e;
3626
3626
  var m = !0;
3627
3627
  i.set(e, t), i.set(t, e);
3628
3628
  for (var p = s; ++g < l; ) {
@@ -3655,9 +3655,9 @@ function baseIsEqualDeep(e, t, r, a, n, i) {
3655
3655
  if (d && !c)
3656
3656
  return i || (i = new Stack()), s || isTypedArray$1(e) ? equalArrays(e, t, r, a, n, i) : equalByTag(e, t, l, r, a, n, i);
3657
3657
  if (!(r & COMPARE_PARTIAL_FLAG$2)) {
3658
- var b = c && hasOwnProperty$2.call(e, "__wrapped__"), _ = g && hasOwnProperty$2.call(t, "__wrapped__");
3659
- if (b || _) {
3660
- var m = b ? e.value() : e, p = _ ? t.value() : t;
3658
+ var v = c && hasOwnProperty$2.call(e, "__wrapped__"), _ = g && hasOwnProperty$2.call(t, "__wrapped__");
3659
+ if (v || _) {
3660
+ var m = v ? e.value() : e, p = _ ? t.value() : t;
3661
3661
  return i || (i = new Stack()), n(m, p, r, a, i);
3662
3662
  }
3663
3663
  }
@@ -3808,12 +3808,12 @@ function debounce(e, t, r) {
3808
3808
  if (typeof e != "function")
3809
3809
  throw new TypeError(FUNC_ERROR_TEXT);
3810
3810
  t = toNumber(t) || 0, isObject$2(r) && (c = !!r.leading, g = "maxWait" in r, i = g ? nativeMax$3(toNumber(r.maxWait) || 0, t) : i, d = "trailing" in r ? !!r.trailing : d);
3811
- function b(k) {
3811
+ function v(k) {
3812
3812
  var R = a, A = n;
3813
3813
  return a = n = void 0, u = k, s = e.apply(A, R), s;
3814
3814
  }
3815
3815
  function _(k) {
3816
- return u = k, o = setTimeout(T, t), c ? b(k) : s;
3816
+ return u = k, o = setTimeout(T, t), c ? v(k) : s;
3817
3817
  }
3818
3818
  function m(k) {
3819
3819
  var R = k - l, A = k - u, I = t - R;
@@ -3830,7 +3830,7 @@ function debounce(e, t, r) {
3830
3830
  o = setTimeout(T, m(k));
3831
3831
  }
3832
3832
  function E(k) {
3833
- return o = void 0, d && a ? b(k) : (a = n = void 0, s);
3833
+ return o = void 0, d && a ? v(k) : (a = n = void 0, s);
3834
3834
  }
3835
3835
  function C() {
3836
3836
  o !== void 0 && clearTimeout(o), u = 0, a = l = n = o = void 0;
@@ -3844,7 +3844,7 @@ function debounce(e, t, r) {
3844
3844
  if (o === void 0)
3845
3845
  return _(l);
3846
3846
  if (g)
3847
- return clearTimeout(o), o = setTimeout(T, t), b(l);
3847
+ return clearTimeout(o), o = setTimeout(T, t), v(l);
3848
3848
  }
3849
3849
  return o === void 0 && (o = setTimeout(T, t)), s;
3850
3850
  }
@@ -3955,14 +3955,14 @@ function baseIntersection(e, t, r) {
3955
3955
  var g = -1, d = o[0];
3956
3956
  e:
3957
3957
  for (; ++g < n && u.length < l; ) {
3958
- var b = c[g], _ = t ? t(b) : b;
3959
- if (b = r || b !== 0 ? b : 0, !(d ? cacheHas(d, _) : a(u, _, r))) {
3958
+ var v = c[g], _ = t ? t(v) : v;
3959
+ if (v = r || v !== 0 ? v : 0, !(d ? cacheHas(d, _) : a(u, _, r))) {
3960
3960
  for (s = i; --s; ) {
3961
3961
  var m = o[s];
3962
3962
  if (!(m ? cacheHas(m, _) : a(e[s], _, r)))
3963
3963
  continue e;
3964
3964
  }
3965
- d && d.push(_), u.push(b);
3965
+ d && d.push(_), u.push(v);
3966
3966
  }
3967
3967
  }
3968
3968
  return u;
@@ -4767,7 +4767,7 @@ class KgRouteUtil {
4767
4767
  }), t;
4768
4768
  }
4769
4769
  static transformMenus(t) {
4770
- var d, b, _, m, p, T, E, C, y, O, k, R, A, I, V, P, w, G, L, K, N, B, M, U, D, x, W, z, X, te, ie, oe, Y, q;
4770
+ var d, v, _, m, p, T, E, C, y, O, k, R, A, I, V, P, w, G, L, K, N, B, M, U, D, x, W, z, X, te, ie, oe, Y, q;
4771
4771
  if (!t)
4772
4772
  return [];
4773
4773
  const r = useKg(), a = (F) => {
@@ -4805,7 +4805,7 @@ class KgRouteUtil {
4805
4805
  children: [],
4806
4806
  id: KG_TMP_MENU_ID__DATA_MANAGER,
4807
4807
  key: KG_TMP_MENU_ID__DATA_MANAGER,
4808
- name: (b = (d = r.option.value.appTitle) == null ? void 0 : d[KG_APP.WMS_DATA_MANAGER]) != null ? b : "\u6570\u636E\u7BA1\u7406",
4808
+ name: (v = (d = r.option.value.appTitle) == null ? void 0 : d[KG_APP.WMS_DATA_MANAGER]) != null ? v : "\u6570\u636E\u7BA1\u7406",
4809
4809
  slotTitle: (m = (_ = r.option.value.appTitle) == null ? void 0 : _[KG_APP.WMS_DATA_MANAGER]) != null ? m : "\u6570\u636E\u7BA1\u7406",
4810
4810
  sortNo: 1,
4811
4811
  title: (T = (p = r.option.value.appTitle) == null ? void 0 : p[KG_APP.WMS_DATA_MANAGER]) != null ? T : "\u6570\u636E\u7BA1\u7406",
@@ -4970,7 +4970,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4970
4970
  (function(r, a) {
4971
4971
  e.exports = a();
4972
4972
  })(commonjsGlobal, function() {
4973
- var r = 1e3, a = 6e4, n = 36e5, i = "millisecond", s = "second", o = "minute", l = "hour", u = "day", c = "week", g = "month", d = "quarter", b = "year", _ = "date", m = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(L) {
4973
+ var r = 1e3, a = 6e4, n = 36e5, i = "millisecond", s = "second", o = "minute", l = "hour", u = "day", c = "week", g = "month", d = "quarter", v = "year", _ = "date", m = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(L) {
4974
4974
  var K = ["th", "st", "nd", "rd"], N = L % 100;
4975
4975
  return "[" + L + (K[(N - 20) % 10] || K[N] || K[0]) + "]";
4976
4976
  } }, C = function(L, K, N) {
@@ -4987,7 +4987,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4987
4987
  }, a: function(L) {
4988
4988
  return L < 0 ? Math.ceil(L) || 0 : Math.floor(L);
4989
4989
  }, p: function(L) {
4990
- return { M: g, y: b, w: c, d: u, D: _, h: l, m: o, s, ms: i, Q: d }[L] || String(L || "").toLowerCase().replace(/s$/, "");
4990
+ return { M: g, y: v, w: c, d: u, D: _, h: l, m: o, s, ms: i, Q: d }[L] || String(L || "").toLowerCase().replace(/s$/, "");
4991
4991
  }, u: function(L) {
4992
4992
  return L === void 0;
4993
4993
  } }, O = "en", k = {};
@@ -5069,7 +5069,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5069
5069
  return P.w(M.toDate()[q].apply(M.toDate("s"), (U ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), M);
5070
5070
  }, z = this.$W, X = this.$M, te = this.$D, ie = "set" + (this.$u ? "UTC" : "");
5071
5071
  switch (D) {
5072
- case b:
5072
+ case v:
5073
5073
  return U ? x(1, 0) : x(31, 11);
5074
5074
  case g:
5075
5075
  return U ? x(1, X) : x(0, X + 1);
@@ -5091,8 +5091,8 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5091
5091
  }, K.endOf = function(N) {
5092
5092
  return this.startOf(N, !1);
5093
5093
  }, K.$set = function(N, B) {
5094
- var M, U = P.p(N), D = "set" + (this.$u ? "UTC" : ""), x = (M = {}, M[u] = D + "Date", M[_] = D + "Date", M[g] = D + "Month", M[b] = D + "FullYear", M[l] = D + "Hours", M[o] = D + "Minutes", M[s] = D + "Seconds", M[i] = D + "Milliseconds", M)[U], W = U === u ? this.$D + (B - this.$W) : B;
5095
- if (U === g || U === b) {
5094
+ var M, U = P.p(N), D = "set" + (this.$u ? "UTC" : ""), x = (M = {}, M[u] = D + "Date", M[_] = D + "Date", M[g] = D + "Month", M[v] = D + "FullYear", M[l] = D + "Hours", M[o] = D + "Minutes", M[s] = D + "Seconds", M[i] = D + "Milliseconds", M)[U], W = U === u ? this.$D + (B - this.$W) : B;
5095
+ if (U === g || U === v) {
5096
5096
  var z = this.clone().set(_, 1);
5097
5097
  z.$d[x](W), z.init(), this.$d = z.set(_, Math.min(this.$D, z.daysInMonth())).$d;
5098
5098
  } else
@@ -5111,8 +5111,8 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5111
5111
  };
5112
5112
  if (D === g)
5113
5113
  return this.set(g, this.$M + N);
5114
- if (D === b)
5115
- return this.set(b, this.$y + N);
5114
+ if (D === v)
5115
+ return this.set(v, this.$y + N);
5116
5116
  if (D === u)
5117
5117
  return x(1);
5118
5118
  if (D === c)
@@ -5195,7 +5195,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5195
5195
  return P.m(D, W);
5196
5196
  };
5197
5197
  switch (x) {
5198
- case b:
5198
+ case v:
5199
5199
  U = te() / 12;
5200
5200
  break;
5201
5201
  case g:
@@ -5244,7 +5244,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5244
5244
  return this.$d.toUTCString();
5245
5245
  }, L;
5246
5246
  }(), G = w.prototype;
5247
- return V.prototype = G, [["$ms", i], ["$s", s], ["$m", o], ["$H", l], ["$W", u], ["$M", g], ["$y", b], ["$D", _]].forEach(function(L) {
5247
+ return V.prototype = G, [["$ms", i], ["$s", s], ["$m", o], ["$H", l], ["$W", u], ["$M", g], ["$y", v], ["$D", _]].forEach(function(L) {
5248
5248
  G[L[1]] = function(K) {
5249
5249
  return this.$g(K, L[0], L[1]);
5250
5250
  };
@@ -5292,7 +5292,7 @@ function filesize(e, {
5292
5292
  standard: c = EMPTY,
5293
5293
  output: g = STRING,
5294
5294
  fullform: d = !1,
5295
- fullforms: b = [],
5295
+ fullforms: v = [],
5296
5296
  exponent: _ = -1,
5297
5297
  roundingMethod: m = ROUND,
5298
5298
  precision: p = 0
@@ -5317,7 +5317,7 @@ function filesize(e, {
5317
5317
  const V = o || PERIOD, P = C[0].toString().split(V), w = P[1] || EMPTY, G = w.length, L = n - G;
5318
5318
  C[0] = `${P[0]}${V}${w.padEnd(G + L, ZERO)}`;
5319
5319
  }
5320
- return R && (C[1] = b[T] ? b[T] : STRINGS.fullform[c][T] + (t ? BIT : BYTE) + (C[0] === 1 ? EMPTY : S)), g === ARRAY ? C : g === OBJECT ? {
5320
+ return R && (C[1] = v[T] ? v[T] : STRINGS.fullform[c][T] + (t ? BIT : BYTE) + (C[0] === 1 ? EMPTY : S)), g === ARRAY ? C : g === OBJECT ? {
5321
5321
  value: C[0],
5322
5322
  symbol: C[1],
5323
5323
  exponent: T,
@@ -5597,8 +5597,8 @@ class KgUtil {
5597
5597
  marginRight: "6px"
5598
5598
  }
5599
5599
  }, [(o = a.errorFields) == null ? void 0 : o.map((u) => u.errors.map((c, g) => {
5600
- var d, b;
5601
- return createVNode("div", null, [g === 0 ? s ? s.t((d = u.name) == null ? void 0 : d[0]).value : (b = u.name) == null ? void 0 : b[0] : " ", createTextVNode(":")]);
5600
+ var d, v;
5601
+ return createVNode("div", null, [g === 0 ? s ? s.t((d = u.name) == null ? void 0 : d[0]).value : (v = u.name) == null ? void 0 : v[0] : " ", createTextVNode(":")]);
5602
5602
  }))]), createVNode("div", {
5603
5603
  style: {
5604
5604
  flex: "1 1 0%",
@@ -5667,7 +5667,7 @@ class KgVarUtil {
5667
5667
  return r;
5668
5668
  }
5669
5669
  static transformFormItemValue(t) {
5670
- var b, _, m, p;
5670
+ var v, _, m, p;
5671
5671
  const {
5672
5672
  formID: r,
5673
5673
  varName: a,
@@ -5684,7 +5684,7 @@ class KgVarUtil {
5684
5684
  u = u.replace("{NOW}", n().format("YYYY-MM-DD HH:mm:ss"));
5685
5685
  break;
5686
5686
  case "{USER.username}":
5687
- u = u.replace("{USER.username}", (p = (m = (_ = (b = o.store).getUseUserStore) == null ? void 0 : _.call(b)) == null ? void 0 : m.userInfo) == null ? void 0 : p.username);
5687
+ u = u.replace("{USER.username}", (p = (m = (_ = (v = o.store).getUseUserStore) == null ? void 0 : _.call(v)) == null ? void 0 : m.userInfo) == null ? void 0 : p.username);
5688
5688
  break;
5689
5689
  }
5690
5690
  }
@@ -5919,62 +5919,62 @@ class KgVarUtil {
5919
5919
  }
5920
5920
  static getDynamicQueryOperatorSelectOptions(t) {
5921
5921
  let r, a, n, i, s, o, l, u, c, g, d;
5922
- const b = useKg();
5922
+ const v = useKg();
5923
5923
  let _ = KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT;
5924
5924
  return t && (_ = t), createVNode(Fragment, null, [[KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.TEXT_AREA, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_NUMBER, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_WEEK, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_MONTH, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_YEAR, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.CHECKBOX, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SWITCH, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SELECT, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.RADIO_GROUP].includes(_) && createVNode(Fragment, null, [createVNode(Select.Option, {
5925
- title: b.t("kg.KgSearchConfigModal.EQ-desc"),
5925
+ title: v.t("kg.KgSearchConfigModal.EQ-desc"),
5926
5926
  value: KG_DYNAMIC_QUERY_OPERATOR.EQ
5927
- }, _isSlot$f(r = b.t("kg.KgSearchConfigModal.EQ")) ? r : {
5927
+ }, _isSlot$f(r = v.t("kg.KgSearchConfigModal.EQ")) ? r : {
5928
5928
  default: () => [r]
5929
5929
  }), createVNode(Select.Option, {
5930
- title: b.t("kg.KgSearchConfigModal.NE-desc"),
5930
+ title: v.t("kg.KgSearchConfigModal.NE-desc"),
5931
5931
  value: KG_DYNAMIC_QUERY_OPERATOR.NE
5932
- }, _isSlot$f(a = b.t("kg.KgSearchConfigModal.NE")) ? a : {
5932
+ }, _isSlot$f(a = v.t("kg.KgSearchConfigModal.NE")) ? a : {
5933
5933
  default: () => [a]
5934
5934
  })]), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_NUMBER, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_WEEK, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_MONTH, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_YEAR].includes(_) && createVNode(Fragment, null, [createVNode(Select.Option, {
5935
- title: b.t("kg.KgSearchConfigModal.GT-desc"),
5935
+ title: v.t("kg.KgSearchConfigModal.GT-desc"),
5936
5936
  value: KG_DYNAMIC_QUERY_OPERATOR.GT
5937
- }, _isSlot$f(n = b.t("kg.KgSearchConfigModal.GT")) ? n : {
5937
+ }, _isSlot$f(n = v.t("kg.KgSearchConfigModal.GT")) ? n : {
5938
5938
  default: () => [n]
5939
5939
  }), createVNode(Select.Option, {
5940
- title: b.t("kg.KgSearchConfigModal.GTE-desc"),
5940
+ title: v.t("kg.KgSearchConfigModal.GTE-desc"),
5941
5941
  value: KG_DYNAMIC_QUERY_OPERATOR.GTE
5942
- }, _isSlot$f(i = b.t("kg.KgSearchConfigModal.GTE")) ? i : {
5942
+ }, _isSlot$f(i = v.t("kg.KgSearchConfigModal.GTE")) ? i : {
5943
5943
  default: () => [i]
5944
5944
  }), createVNode(Select.Option, {
5945
- title: b.t("kg.KgSearchConfigModal.LT-desc"),
5945
+ title: v.t("kg.KgSearchConfigModal.LT-desc"),
5946
5946
  value: KG_DYNAMIC_QUERY_OPERATOR.LT
5947
- }, _isSlot$f(s = b.t("kg.KgSearchConfigModal.LT")) ? s : {
5947
+ }, _isSlot$f(s = v.t("kg.KgSearchConfigModal.LT")) ? s : {
5948
5948
  default: () => [s]
5949
5949
  }), createVNode(Select.Option, {
5950
- title: b.t("kg.KgSearchConfigModal.LTE-desc"),
5950
+ title: v.t("kg.KgSearchConfigModal.LTE-desc"),
5951
5951
  value: KG_DYNAMIC_QUERY_OPERATOR.LTE
5952
- }, _isSlot$f(o = b.t("kg.KgSearchConfigModal.LTE")) ? o : {
5952
+ }, _isSlot$f(o = v.t("kg.KgSearchConfigModal.LTE")) ? o : {
5953
5953
  default: () => [o]
5954
5954
  })]), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.TEXT_AREA].includes(_) && createVNode(Fragment, null, [createVNode(Select.Option, {
5955
- title: b.t("kg.KgSearchConfigModal.START_WITH-desc"),
5955
+ title: v.t("kg.KgSearchConfigModal.START_WITH-desc"),
5956
5956
  value: KG_DYNAMIC_QUERY_OPERATOR.START_WITH
5957
- }, _isSlot$f(l = b.t("kg.KgSearchConfigModal.START_WITH")) ? l : {
5957
+ }, _isSlot$f(l = v.t("kg.KgSearchConfigModal.START_WITH")) ? l : {
5958
5958
  default: () => [l]
5959
5959
  }), createVNode(Select.Option, {
5960
- title: b.t("kg.KgSearchConfigModal.END_WITH-desc"),
5960
+ title: v.t("kg.KgSearchConfigModal.END_WITH-desc"),
5961
5961
  value: KG_DYNAMIC_QUERY_OPERATOR.END_WITH
5962
- }, _isSlot$f(u = b.t("kg.KgSearchConfigModal.END_WITH")) ? u : {
5962
+ }, _isSlot$f(u = v.t("kg.KgSearchConfigModal.END_WITH")) ? u : {
5963
5963
  default: () => [u]
5964
5964
  }), createVNode(Select.Option, {
5965
- title: b.t("kg.KgSearchConfigModal.CONTAIN-desc"),
5965
+ title: v.t("kg.KgSearchConfigModal.CONTAIN-desc"),
5966
5966
  value: KG_DYNAMIC_QUERY_OPERATOR.CONTAIN
5967
- }, _isSlot$f(c = b.t("kg.KgSearchConfigModal.CONTAIN")) ? c : {
5967
+ }, _isSlot$f(c = v.t("kg.KgSearchConfigModal.CONTAIN")) ? c : {
5968
5968
  default: () => [c]
5969
5969
  })]), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.CHECKBOX_GROUP, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SELECT_MULTIPLE].includes(_) && createVNode(Select.Option, {
5970
- title: b.t("kg.KgSearchConfigModal.IN-desc"),
5970
+ title: v.t("kg.KgSearchConfigModal.IN-desc"),
5971
5971
  value: KG_DYNAMIC_QUERY_OPERATOR.IN
5972
- }, _isSlot$f(g = b.t("kg.KgSearchConfigModal.IN")) ? g : {
5972
+ }, _isSlot$f(g = v.t("kg.KgSearchConfigModal.IN")) ? g : {
5973
5973
  default: () => [g]
5974
5974
  }), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE_RANGE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME_RANGE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME_RANGE].includes(_) && createVNode(Select.Option, {
5975
- title: b.t("kg.KgSearchConfigModal.BETWEEN-desc"),
5975
+ title: v.t("kg.KgSearchConfigModal.BETWEEN-desc"),
5976
5976
  value: KG_DYNAMIC_QUERY_OPERATOR.BETWEEN
5977
- }, _isSlot$f(d = b.t("kg.KgSearchConfigModal.BETWEEN")) ? d : {
5977
+ }, _isSlot$f(d = v.t("kg.KgSearchConfigModal.BETWEEN")) ? d : {
5978
5978
  default: () => [d]
5979
5979
  })]);
5980
5980
  }
@@ -6000,7 +6000,7 @@ class KgVarUtil {
6000
6000
  sql: "",
6001
6001
  whereSql: ""
6002
6002
  };
6003
- const l = ["pageNo", "pageSize", "column", "order"], u = useKg(), c = n ? useKgVar(n) : null, g = a ? useKgVar(a) : null, d = a ? (E = g == null ? void 0 : g.kgSearch) == null ? void 0 : E.dynamicQueryOperatorModel.value : i, b = {};
6003
+ const l = ["pageNo", "pageSize", "column", "order"], u = useKg(), c = n ? useKgVar(n) : null, g = a ? useKgVar(a) : null, d = a ? (E = g == null ? void 0 : g.kgSearch) == null ? void 0 : E.dynamicQueryOperatorModel.value : i, v = {};
6004
6004
  Object.keys(o).sort().forEach((R) => {
6005
6005
  var w, G, L, K, N, B;
6006
6006
  if (l.includes(R) || R.endsWith("_obj"))
@@ -6142,7 +6142,7 @@ class KgVarUtil {
6142
6142
  break;
6143
6143
  }
6144
6144
  }
6145
- b[R] = U;
6145
+ v[R] = U;
6146
6146
  break;
6147
6147
  }
6148
6148
  case (!!s && isArray$1(V) && V.length === 2 && s.isDayjs(V[0]) && s.isDayjs(V[1])): {
@@ -6175,16 +6175,16 @@ class KgVarUtil {
6175
6175
  break;
6176
6176
  }
6177
6177
  }
6178
- x && (D += ` AND (${I} >= N'${x}')`), W && (D += ` AND (${I} < N'${W}')`), b[R] = D;
6178
+ x && (D += ` AND (${I} >= N'${x}')`), W && (D += ` AND (${I} < N'${W}')`), v[R] = D;
6179
6179
  break;
6180
6180
  }
6181
6181
  case Array.isArray(V): {
6182
6182
  if (V.length === 0) {
6183
- b[R] = void 0;
6183
+ v[R] = void 0;
6184
6184
  break;
6185
6185
  }
6186
6186
  const M = V.map((U) => `N'${String(U)}'`).join(", ");
6187
- b[R] = ` AND (${I} IN (${M}))`;
6187
+ v[R] = ` AND (${I} IN (${M}))`;
6188
6188
  break;
6189
6189
  }
6190
6190
  case isObjectLike(V):
@@ -6193,7 +6193,7 @@ class KgVarUtil {
6193
6193
  }), new Error("\u4E0D\u652F\u6301\u7684\u53C2\u6570\u7C7B\u578B.");
6194
6194
  case typeof V == "string": {
6195
6195
  if (V.trim() === "") {
6196
- b[R] = void 0;
6196
+ v[R] = void 0;
6197
6197
  break;
6198
6198
  }
6199
6199
  let M = KgUtil.parseParamFromString(V);
@@ -6220,7 +6220,7 @@ class KgVarUtil {
6220
6220
  break;
6221
6221
  }
6222
6222
  }
6223
- b[R] = M;
6223
+ v[R] = M;
6224
6224
  break;
6225
6225
  }
6226
6226
  case typeof V == "number": {
@@ -6252,7 +6252,7 @@ class KgVarUtil {
6252
6252
  break;
6253
6253
  }
6254
6254
  }
6255
- b[R] = M;
6255
+ v[R] = M;
6256
6256
  break;
6257
6257
  }
6258
6258
  case typeof V == "boolean": {
@@ -6268,16 +6268,16 @@ class KgVarUtil {
6268
6268
  break;
6269
6269
  }
6270
6270
  }
6271
- b[R] = M;
6271
+ v[R] = M;
6272
6272
  break;
6273
6273
  }
6274
6274
  default: {
6275
- b[R] = V;
6275
+ v[R] = V;
6276
6276
  break;
6277
6277
  }
6278
6278
  }
6279
6279
  });
6280
- let m = `WHERE (1 = 1)${reduce(b, (R, A, I) => {
6280
+ let m = `WHERE (1 = 1)${reduce(v, (R, A, I) => {
6281
6281
  var P, w, G, L;
6282
6282
  const V = a ? (P = g == null ? void 0 : g.store) == null ? void 0 : P.getVarProfileDetail(a, I) : null;
6283
6283
  return (V == null ? void 0 : V.exclude_from_where_sql_flag) === 1 || !V && Object.keys(KgVarUtil.parseRequestParamsToJSON((L = (G = (w = c == null ? void 0 : c.varGridConfig) == null ? void 0 : w.value) == null ? void 0 : G.cmd_prm) != null ? L : "")).includes(I) || !A ? R : R + A;
@@ -6443,8 +6443,8 @@ function createOptionsStore(e, t, r, a) {
6443
6443
  const c = process.env.NODE_ENV !== "production" && a ? toRefs(ref(n ? n() : {}).value) : toRefs(r.state.value[e]);
6444
6444
  return assign$1(c, i, Object.keys(s || {}).reduce((g, d) => (g[d] = markRaw(computed(() => {
6445
6445
  setActivePinia(r);
6446
- const b = r._s.get(e);
6447
- return s[d].call(b, b);
6446
+ const v = r._s.get(e);
6447
+ return s[d].call(v, v);
6448
6448
  })), g), {}));
6449
6449
  }
6450
6450
  return l = createSetupStore(e, u, t, r, a), l.$reset = function() {
@@ -6463,23 +6463,23 @@ function createSetupStore(e, t, r = {}, a, n) {
6463
6463
  deep: !0
6464
6464
  };
6465
6465
  process.env.NODE_ENV !== "production" && !isVue2 && (l.onTrigger = (A) => {
6466
- u ? b = A : u == !1 && !k._hotUpdating && (Array.isArray(b) ? b.push(A) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
6466
+ u ? v = A : u == !1 && !k._hotUpdating && (Array.isArray(v) ? v.push(A) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
6467
6467
  });
6468
- let u, c, g = markRaw([]), d = markRaw([]), b;
6468
+ let u, c, g = markRaw([]), d = markRaw([]), v;
6469
6469
  const _ = a.state.value[e];
6470
6470
  !s && !_ && (process.env.NODE_ENV === "production" || !n) && (a.state.value[e] = {});
6471
6471
  const m = ref({});
6472
6472
  function p(A) {
6473
6473
  let I;
6474
- u = c = !1, process.env.NODE_ENV !== "production" && (b = []), typeof A == "function" ? (A(a.state.value[e]), I = {
6474
+ u = c = !1, process.env.NODE_ENV !== "production" && (v = []), typeof A == "function" ? (A(a.state.value[e]), I = {
6475
6475
  type: MutationType.patchFunction,
6476
6476
  storeId: e,
6477
- events: b
6477
+ events: v
6478
6478
  }) : (mergeReactiveObjects(a.state.value[e], A), I = {
6479
6479
  type: MutationType.patchObject,
6480
6480
  payload: A,
6481
6481
  storeId: e,
6482
- events: b
6482
+ events: v
6483
6483
  }), nextTick().then(() => {
6484
6484
  u = !0;
6485
6485
  }), c = !0, triggerSubscriptions(g, I, a.state.value[e]);
@@ -6532,7 +6532,7 @@ function createSetupStore(e, t, r = {}, a, n) {
6532
6532
  (I.flush === "sync" ? c : u) && A({
6533
6533
  storeId: e,
6534
6534
  type: MutationType.direct,
6535
- events: b
6535
+ events: v
6536
6536
  }, w);
6537
6537
  }, assign$1({}, l, I)));
6538
6538
  return V;
@@ -7307,7 +7307,7 @@ function useMagicKeys(e = {}) {
7307
7307
  for (const m of c)
7308
7308
  g(m, !1);
7309
7309
  }
7310
- function b(m, p) {
7310
+ function v(m, p) {
7311
7311
  var T, E;
7312
7312
  const C = (T = m.key) == null ? void 0 : T.toLowerCase(), y = (E = m.code) == null ? void 0 : E.toLowerCase(), O = [y, C].filter(Boolean);
7313
7313
  y && (p ? s.add(m.code) : s.delete(m.code));
@@ -7317,7 +7317,7 @@ function useMagicKeys(e = {}) {
7317
7317
  s.delete(k), g(k, !1);
7318
7318
  }), u.clear()) : typeof m.getModifierState == "function" && m.getModifierState("Meta") && p && [...s, ...O].forEach((k) => u.add(k));
7319
7319
  }
7320
- r && (useEventListener(r, "keydown", (m) => (b(m, !0), i(m)), { passive: n }), useEventListener(r, "keyup", (m) => (b(m, !1), i(m)), { passive: n }), useEventListener("blur", d, { passive: !0 }), useEventListener("focus", d, { passive: !0 }));
7320
+ r && (useEventListener(r, "keydown", (m) => (v(m, !0), i(m)), { passive: n }), useEventListener(r, "keyup", (m) => (v(m, !1), i(m)), { passive: n }), useEventListener("blur", d, { passive: !0 }), useEventListener("focus", d, { passive: !0 }));
7321
7321
  const _ = new Proxy(l, {
7322
7322
  get(m, p, T) {
7323
7323
  if (typeof p != "string")
@@ -7371,7 +7371,7 @@ function useDragToMove(e) {
7371
7371
  }), l = computed(() => {
7372
7372
  var w, G;
7373
7373
  return (G = (w = s.value) == null ? void 0 : w.querySelector(".ant-modal-header")) != null ? G : null;
7374
- }), u = 0, c = 0, g = 0, d = 0, b = 0, _ = 0, m = 0, p = 0, T = {
7374
+ }), u = 0, c = 0, g = 0, d = 0, v = 0, _ = 0, m = 0, p = 0, T = {
7375
7375
  remove: () => {
7376
7376
  }
7377
7377
  }, E = {
@@ -7397,13 +7397,13 @@ function useDragToMove(e) {
7397
7397
  } = w != null ? w : {};
7398
7398
  if (!o.value)
7399
7399
  return;
7400
- let L = G.clientX - b, K = G.clientY - _;
7400
+ let L = G.clientX - v, K = G.clientY - _;
7401
7401
  -L > u ? L = -u : L > c && (L = c), -K > g ? K = -g : K > d && (K = d);
7402
7402
  const N = m + L, B = p + K;
7403
7403
  o.value.style.left = `${N}px`, o.value.style.top = `${B}px`;
7404
7404
  }
7405
7405
  function k(w) {
7406
- !w || !s.value || !o.value || !l.value || (document.body.classList.add("kg-modal-dragging"), b = w.clientX, _ = w.clientY, u = o.value.offsetLeft, c = n.value - o.value.offsetLeft - l.value.offsetWidth - KG_MODAL_BORDER_WIDTH * 2, g = o.value.offsetTop, d = i.value - o.value.offsetTop - l.value.offsetHeight - KG_MODAL_BORDER_WIDTH, m = Number(getComputedStyle(o.value).left.replace(/px/g, "")), p = Number(getComputedStyle(o.value).top.replace(/px/g, "")), T = C(document.documentElement, "mousemove", (G) => R({
7406
+ !w || !s.value || !o.value || !l.value || (document.body.classList.add("kg-modal-dragging"), v = w.clientX, _ = w.clientY, u = o.value.offsetLeft, c = n.value - o.value.offsetLeft - l.value.offsetWidth - KG_MODAL_BORDER_WIDTH * 2, g = o.value.offsetTop, d = i.value - o.value.offsetTop - l.value.offsetHeight - KG_MODAL_BORDER_WIDTH, m = Number(getComputedStyle(o.value).left.replace(/px/g, "")), p = Number(getComputedStyle(o.value).top.replace(/px/g, "")), T = C(document.documentElement, "mousemove", (G) => R({
7407
7407
  event: G
7408
7408
  })), E = C(document.documentElement, "mouseup", (G) => A({
7409
7409
  event: G
@@ -7447,7 +7447,7 @@ function useDragToResize(e) {
7447
7447
  var K;
7448
7448
  const L = (K = t.value.kgMaxWidth) != null ? K : a.value;
7449
7449
  return Math.min(L, a.value);
7450
- }), b = computed(() => {
7450
+ }), v = computed(() => {
7451
7451
  var K;
7452
7452
  const L = (K = t.value.kgMaxHeight) != null ? K : n.value;
7453
7453
  return Math.min(L, n.value);
@@ -7469,7 +7469,7 @@ function useDragToResize(e) {
7469
7469
  }, {
7470
7470
  immediate: !0
7471
7471
  });
7472
- watch([l, b, _], ([L, K, N]) => {
7472
+ watch([l, v, _], ([L, K, N]) => {
7473
7473
  L && N > K && (L.style.height = `${K}px`);
7474
7474
  }, {
7475
7475
  immediate: !0
@@ -7504,7 +7504,7 @@ function useDragToResize(e) {
7504
7504
  const {
7505
7505
  event: K
7506
7506
  } = L != null ? L : {}, N = K.pageY, B = (te = (X = u.value) == null ? void 0 : X.clientHeight) != null ? te : i, M = (oe = (ie = c.value) == null ? void 0 : ie.clientHeight) != null ? oe : 0, U = Math.min((q = (Y = t.value) == null ? void 0 : Y.kgMinHeight) != null ? q : B + M + KG_MODAL_BORDER_WIDTH * 2, n.value);
7507
- let D = Math.min(b.value, Math.max(U, p + N - E));
7507
+ let D = Math.min(v.value, Math.max(U, p + N - E));
7508
7508
  l.value.offsetTop + D > n.value && (D = n.value - l.value.offsetTop);
7509
7509
  const x = l.value.offsetHeight, z = Number(getComputedStyle(l.value).top.replace(/px/g, "")) + (D - x) / 2;
7510
7510
  D !== x && (l.value.style.height = `${D}px`, l.value.style.top = `${z}px`);
@@ -7844,7 +7844,7 @@ const getProps$G = () => ({
7844
7844
  width: Math.min(_.value, Math.max(m.value, e.kgHeight)) + "px"
7845
7845
  };
7846
7846
  }
7847
- }), b = computed(() => {
7847
+ }), v = computed(() => {
7848
7848
  let R = "";
7849
7849
  switch (e.kgClass && (R += `${e.kgClass} `), R += "kg-resizable", e.kgDisabled && (R += " kg-resizable--disabled"), e.kgType) {
7850
7850
  case "left":
@@ -7917,7 +7917,7 @@ const getProps$G = () => ({
7917
7917
  var R;
7918
7918
  return createVNode("div", {
7919
7919
  ref: a,
7920
- class: b.value,
7920
+ class: v.value,
7921
7921
  style: d.value
7922
7922
  }, [createVNode("div", {
7923
7923
  class: "kg-resizable-handle",
@@ -7995,7 +7995,7 @@ const getProps$G = () => ({
7995
7995
  var p, T;
7996
7996
  return (T = (p = c == null ? void 0 : c.value) == null ? void 0 : p.ret_fld) != null ? T : "";
7997
7997
  });
7998
- function b() {
7998
+ function v() {
7999
7999
  r("update:visible", !1);
8000
8000
  }
8001
8001
  async function _() {
@@ -8052,7 +8052,7 @@ const getProps$G = () => ({
8052
8052
  disabled: ((T = (p = u.kgTable.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) === 0
8053
8053
  },
8054
8054
  wrapClassName: "kg-form-item--addon--lookup--modal",
8055
- onCancel: b,
8055
+ onCancel: v,
8056
8056
  onOk: _
8057
8057
  }, {
8058
8058
  default: () => [createVNode(KgVar, null, null)]
@@ -8216,7 +8216,7 @@ function _useFormRules(e) {
8216
8216
  }
8217
8217
  case UPPER_CASE_LETTER: {
8218
8218
  A.push({
8219
- validator: b
8219
+ validator: v
8220
8220
  }), A.push({
8221
8221
  validator: E
8222
8222
  }), A.push({
@@ -8263,7 +8263,7 @@ function _useFormRules(e) {
8263
8263
  function d(y, O) {
8264
8264
  return u(O) || /^[A-Za-z]*$/.test(O) ? Promise.resolve() : Promise.reject(t.t("kg.KgFormItem.formValidationMessageForInvalidLetter"));
8265
8265
  }
8266
- function b(y, O) {
8266
+ function v(y, O) {
8267
8267
  return u(O) || /^[A-Z]*$/.test(O) ? Promise.resolve() : Promise.reject(t.t("kg.KgFormItem.formValidationMessageForInvalidUpperLetter"));
8268
8268
  }
8269
8269
  function _(y, O) {
@@ -8361,7 +8361,7 @@ function useKgFormItemSelect(e) {
8361
8361
  }), d = computed(() => {
8362
8362
  var p, T;
8363
8363
  return (T = (p = s.value) == null ? void 0 : p.lbl_clm) != null ? T : "";
8364
- }), b = computed(() => {
8364
+ }), v = computed(() => {
8365
8365
  var T;
8366
8366
  let p = KgVarUtil.parseRequestParamsToJSON((T = s.value) == null ? void 0 : T.cmd_prm);
8367
8367
  return p = mapValues(p, (E) => {
@@ -8384,7 +8384,7 @@ function useKgFormItemSelect(e) {
8384
8384
  const T = (O = s.value) == null ? void 0 : O.data_source_type, E = (R = (k = s.value) == null ? void 0 : k.val_clm) != null ? R : "", C = (I = (A = s.value) == null ? void 0 : A.lbl_clm) != null ? I : "", y = ref({});
8385
8385
  try {
8386
8386
  u.value = !0;
8387
- const M = KgUtil.parseParams(b.value, null, r);
8387
+ const M = KgUtil.parseParams(v.value, null, r);
8388
8388
  if (!await i.kgForm.store.emit(i.formID, "selectBeforeRequest", {
8389
8389
  context: (V = t.kgContext) != null ? V : KG_FORM_CONTEXT.SUBMIT,
8390
8390
  params: M,
@@ -8513,7 +8513,7 @@ function useKgFormItemSelect(e) {
8513
8513
  isDatasRequesting: u,
8514
8514
  lbl_clm: d,
8515
8515
  requestDatas: _,
8516
- requestParams: b,
8516
+ requestParams: v,
8517
8517
  transformDatas: m,
8518
8518
  val_clm: g,
8519
8519
  varConfigPossibility: s
@@ -8540,7 +8540,7 @@ const KgFormItemCheckboxGroup = defineComponent({
8540
8540
  requestDatas: g
8541
8541
  } = useKgFormItemSelect({
8542
8542
  props: e
8543
- }), d = ref(!1), b = ref(!1);
8543
+ }), d = ref(!1), v = ref(!1);
8544
8544
  watch(l, () => _(), {
8545
8545
  immediate: !0
8546
8546
  }), watch([() => e.value, c], ([T, E]) => {
@@ -8554,13 +8554,13 @@ const KgFormItemCheckboxGroup = defineComponent({
8554
8554
  }
8555
8555
  switch (!0) {
8556
8556
  case (C > 0 && C === E.length):
8557
- d.value = !0, b.value = !1;
8557
+ d.value = !0, v.value = !1;
8558
8558
  break;
8559
8559
  case (C > 0 && C !== E.length):
8560
- d.value = !1, b.value = !0;
8560
+ d.value = !1, v.value = !0;
8561
8561
  break;
8562
8562
  default:
8563
- d.value = !1, b.value = !1;
8563
+ d.value = !1, v.value = !1;
8564
8564
  break;
8565
8565
  }
8566
8566
  }, {
@@ -8572,7 +8572,7 @@ const KgFormItemCheckboxGroup = defineComponent({
8572
8572
  }
8573
8573
  function m(T) {
8574
8574
  var E, C, y;
8575
- T.target.checked ? p((C = (E = c.value) == null ? void 0 : E.map((O) => O[u.value])) != null ? C : []) : p([]), b.value = !1, (y = i.value) == null || y.validate(e.kgVarName);
8575
+ T.target.checked ? p((C = (E = c.value) == null ? void 0 : E.map((O) => O[u.value])) != null ? C : []) : p([]), v.value = !1, (y = i.value) == null || y.validate(e.kgVarName);
8576
8576
  }
8577
8577
  function p(T) {
8578
8578
  var E, C;
@@ -8594,7 +8594,7 @@ const KgFormItemCheckboxGroup = defineComponent({
8594
8594
  default: () => [createVNode(Checkbox, {
8595
8595
  checked: d.value,
8596
8596
  "onUpdate:checked": (C) => d.value = C,
8597
- indeterminate: b.value,
8597
+ indeterminate: v.value,
8598
8598
  onChange: m
8599
8599
  }, _isSlot$d(T = a.t("kg.selectAll")) ? T : {
8600
8600
  default: () => [T]
@@ -8830,12 +8830,12 @@ const KgFormItemRadioGroup = defineComponent({
8830
8830
  });
8831
8831
  async function c() {
8832
8832
  var d;
8833
- !((d = i.value) != null && d.id) || (await u(), l.value.find((b) => b[o.value] === e.value) || r("update:value", void 0));
8833
+ !((d = i.value) != null && d.id) || (await u(), l.value.find((v) => v[o.value] === e.value) || r("update:value", void 0));
8834
8834
  }
8835
8835
  function g(d) {
8836
- var b, _;
8836
+ var v, _;
8837
8837
  r("update:value", d), r("kgChange", d), a.kgForm.store.emit(a.kgForm.formID, "change", {
8838
- context: (b = e.kgContext) != null ? b : KG_FORM_CONTEXT.SUBMIT,
8838
+ context: (v = e.kgContext) != null ? v : KG_FORM_CONTEXT.SUBMIT,
8839
8839
  isCopying: a.isCopying.value,
8840
8840
  isCreating: a.isCreating.value,
8841
8841
  isDeleting: a.isDeleting.value,
@@ -8854,18 +8854,18 @@ const KgFormItemRadioGroup = defineComponent({
8854
8854
  }, {
8855
8855
  default: () => [createVNode(Row, {
8856
8856
  gutter: 12
8857
- }, _isSlot$c(d = l.value.map((b) => {
8857
+ }, _isSlot$c(d = l.value.map((v) => {
8858
8858
  var _, m;
8859
8859
  return createVNode(Col, {
8860
8860
  span: (m = (_ = n.value) == null ? void 0 : _.span) != null ? m : 24
8861
8861
  }, {
8862
8862
  default: () => [createVNode(Radio, {
8863
- "kg-value": b[o.value],
8864
- value: b[o.value]
8863
+ "kg-value": v[o.value],
8864
+ value: v[o.value]
8865
8865
  }, {
8866
8866
  default: () => {
8867
8867
  var p, T;
8868
- return [b[(T = (p = i.value) == null ? void 0 : p.lbl_clm) != null ? T : ""]];
8868
+ return [v[(T = (p = i.value) == null ? void 0 : p.lbl_clm) != null ? T : ""]];
8869
8869
  }
8870
8870
  })]
8871
8871
  });
@@ -8892,7 +8892,7 @@ const KgFormItemRadioGroup = defineComponent({
8892
8892
  isDatasRequesting: c,
8893
8893
  datas: g,
8894
8894
  requestDatas: d,
8895
- requestParams: b
8895
+ requestParams: v
8896
8896
  } = useKgFormItemSelect({
8897
8897
  props: e
8898
8898
  }), _ = computed(() => {
@@ -8900,7 +8900,7 @@ const KgFormItemRadioGroup = defineComponent({
8900
8900
  let E = !0;
8901
8901
  return e.kgAllowClear !== void 0 ? E = e.kgAllowClear : isNil((C = s.value) == null ? void 0 : C.allowClear) || (E = (y = s.value) == null ? void 0 : y.allowClear), E;
8902
8902
  });
8903
- watch(b, () => {
8903
+ watch(v, () => {
8904
8904
  m();
8905
8905
  }, {
8906
8906
  immediate: !0
@@ -9161,7 +9161,7 @@ const KgFormItem = defineComponent({
9161
9161
  }
9162
9162
  }), {
9163
9163
  formRules: d,
9164
- isFormRulesChange: b
9164
+ isFormRulesChange: v
9165
9165
  } = _useFormRules(e), {
9166
9166
  controlType: _
9167
9167
  } = useKgFormItem(e), m = computed(() => {
@@ -9339,7 +9339,7 @@ const KgFormItem = defineComponent({
9339
9339
  return !1;
9340
9340
  }), A = computed(() => encodeURIComponent(`${e.kgContext}~${s.formID}~${e.kgVarName}`)), I = ref(null);
9341
9341
  function V() {
9342
- return b.value ? null : createVNode(Form.Item, {
9342
+ return v.value ? null : createVNode(Form.Item, {
9343
9343
  name: e.kgVarName,
9344
9344
  rules: d.value,
9345
9345
  validateFirst: !0,
@@ -9701,7 +9701,7 @@ function _useFormModel$1() {
9701
9701
  }
9702
9702
  const n = t.kgTable.selectedRow.value;
9703
9703
  a.forEach((i) => {
9704
- var o, l, u, c, g, d, b, _, m, p, T, E;
9704
+ var o, l, u, c, g, d, v, _, m, p, T, E;
9705
9705
  const s = (o = i.var_nam) != null ? o : "";
9706
9706
  switch (r.value[s] = void 0, !0) {
9707
9707
  case t.isCreating.value: {
@@ -9729,7 +9729,7 @@ function _useFormModel$1() {
9729
9729
  formID: t.formID,
9730
9730
  varName: s,
9731
9731
  $dayjs: e,
9732
- value: (_ = (b = i.default_value) != null ? b : n == null ? void 0 : n[s]) != null ? _ : void 0,
9732
+ value: (_ = (v = i.default_value) != null ? v : n == null ? void 0 : n[s]) != null ? _ : void 0,
9733
9733
  buttonVarName: (m = t.kgButton.currentButton.value) == null ? void 0 : m.var_nam
9734
9734
  });
9735
9735
  break;
@@ -9866,7 +9866,7 @@ const getProps$B = () => ({
9866
9866
  const s = computed(() => i.isDeleting.value && i.kgSubmit.currentVarSubmitDetailsForKey.value.length === 0 && i.kgSubmit.currentVarSubmitDetailsForNotKey.value.length === 0), o = computed(() => i.kgSubmit.store.isLoading(i.formID)), l = computed(() => i.kgButton.isCurrentButtonRequesting.value || !!i.store.isCreatingRequesting(i.formID) || !!i.store.isUpdatingRequesting(i.formID) || !!i.store.isCopyingRequesting(i.formID) || !!i.store.isDeletingRequesting(i.formID)), u = computed(() => l.value || o.value), c = computed(() => o.value), g = ref(!1), d = computed(() => {
9867
9867
  var F;
9868
9868
  return s.value ? SUBMIT_DEFAULT_MIN_WIDTH : (F = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : F.min_width;
9869
- }), b = computed(() => {
9869
+ }), v = computed(() => {
9870
9870
  var F, $;
9871
9871
  return s.value ? SUBMIT_DEFAULT_MIN_WIDTH : ($ = (F = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : F.max_width) != null ? $ : void 0;
9872
9872
  }), _ = computed(() => {
@@ -10385,7 +10385,7 @@ const getProps$B = () => ({
10385
10385
  wrapClassName: k.value,
10386
10386
  kgFullHeight: !1,
10387
10387
  kgMinWidth: d.value,
10388
- kgMaxWidth: b.value,
10388
+ kgMaxWidth: v.value,
10389
10389
  kgMinHeight: _.value,
10390
10390
  kgMaxHeight: m.value,
10391
10391
  kgIsShowFullscreenButton: p.value,
@@ -10486,16 +10486,16 @@ const getProps$B = () => ({
10486
10486
  let l = (u = o.store.varSubmitDetailMap.get(e)) != null ? u : [];
10487
10487
  if (isNil(t))
10488
10488
  return l;
10489
- if (a !== void 0 && (l = l.filter((b) => b.button_var_name === a)), a === void 0 && r === KG__VAR_BUTTON__TYPE.OTHER)
10489
+ if (a !== void 0 && (l = l.filter((v) => v.button_var_name === a)), a === void 0 && r === KG__VAR_BUTTON__TYPE.OTHER)
10490
10490
  return KgLogger.error(
10491
10491
  "KgSubmit.store.getVarSubmitDetails() | \u53C2\u6570 param.buttonType \u4E3A KG__VAR_BUTTON__TYPE.OTHER \u65F6, \u53C2\u6570 param.buttonVarName \u4E0D\u80FD\u4E3A\u7A7A.",
10492
10492
  { formID: e, param: t }
10493
10493
  ), [];
10494
10494
  if (a === void 0 && r !== void 0) {
10495
- const b = (d = (g = (c = o.store.varButtonMap.get(e)) == null ? void 0 : c.filter((_) => _.typ === r)) == null ? void 0 : g.map((_) => _.var_nam)) != null ? d : [];
10496
- l = l.filter((_) => b.includes(_.button_var_name));
10495
+ const v = (d = (g = (c = o.store.varButtonMap.get(e)) == null ? void 0 : c.filter((_) => _.typ === r)) == null ? void 0 : g.map((_) => _.var_nam)) != null ? d : [];
10496
+ l = l.filter((_) => v.includes(_.button_var_name));
10497
10497
  }
10498
- return n !== void 0 && (l = l.filter((b) => b.var_nam === n)), i !== void 0 && (l = l.filter((b) => b.key_flg === i)), s !== void 0 && (l = l.filter((b) => b.visible_flag === s)), l;
10498
+ return n !== void 0 && (l = l.filter((v) => v.var_nam === n)), i !== void 0 && (l = l.filter((v) => v.key_flg === i)), s !== void 0 && (l = l.filter((v) => v.visible_flag === s)), l;
10499
10499
  };
10500
10500
  },
10501
10501
  isLoading() {
@@ -10616,8 +10616,8 @@ const getProps$B = () => ({
10616
10616
  if (c) {
10617
10617
  const d = (g = this.getVarSubmitDetails(e, { buttonType: r, buttonVarName: o, varName: n })[0]) != null ? g : null;
10618
10618
  d && setTimeout(() => {
10619
- l(), Object.entries(i).forEach(([b, _]) => {
10620
- b in d && (d[b] = _);
10619
+ l(), Object.entries(i).forEach(([v, _]) => {
10620
+ v in d && (d[v] = _);
10621
10621
  });
10622
10622
  });
10623
10623
  }
@@ -10829,20 +10829,20 @@ function useKgSubmit(e) {
10829
10829
  }
10830
10830
  class CreateVarDdaQuery {
10831
10831
  constructor(t) {
10832
- v(this, "frmId");
10833
- v(this, "sysPermissions");
10834
- v(this, "varButtons");
10835
- v(this, "varConfigDescriptions");
10836
- v(this, "varDda");
10837
- v(this, "varGridConfig");
10838
- v(this, "varGridDetails");
10839
- v(this, "varGridMaster");
10840
- v(this, "varProfileConfig");
10841
- v(this, "varProfileDetails");
10842
- v(this, "varProfileMaster");
10843
- v(this, "varSubmitConfigs");
10844
- v(this, "varSubmitDetails");
10845
- v(this, "varVariables");
10832
+ b(this, "frmId");
10833
+ b(this, "sysPermissions");
10834
+ b(this, "varButtons");
10835
+ b(this, "varConfigDescriptions");
10836
+ b(this, "varDda");
10837
+ b(this, "varGridConfig");
10838
+ b(this, "varGridDetails");
10839
+ b(this, "varGridMaster");
10840
+ b(this, "varProfileConfig");
10841
+ b(this, "varProfileDetails");
10842
+ b(this, "varProfileMaster");
10843
+ b(this, "varSubmitConfigs");
10844
+ b(this, "varSubmitDetails");
10845
+ b(this, "varVariables");
10846
10846
  keys(t != null ? t : {}).forEach((r) => {
10847
10847
  switch (r) {
10848
10848
  case "frmId":
@@ -10867,13 +10867,13 @@ class CreateVarDdaQuery {
10867
10867
  }
10868
10868
  class CreateVarGridMasterQuery {
10869
10869
  constructor(t) {
10870
- v(this, "def_flg");
10871
- v(this, "frm_id");
10872
- v(this, "grd_var_nam");
10873
- v(this, "grd_var_nam_dsc");
10874
- v(this, "grp_nam");
10875
- v(this, "usr_id");
10876
- v(this, "varGridDetails");
10870
+ b(this, "def_flg");
10871
+ b(this, "frm_id");
10872
+ b(this, "grd_var_nam");
10873
+ b(this, "grd_var_nam_dsc");
10874
+ b(this, "grp_nam");
10875
+ b(this, "usr_id");
10876
+ b(this, "varGridDetails");
10877
10877
  keys(t != null ? t : {}).forEach((r) => {
10878
10878
  switch (r) {
10879
10879
  case "def_flg":
@@ -10891,14 +10891,14 @@ class CreateVarGridMasterQuery {
10891
10891
  }
10892
10892
  class CreateVarProfileMasterQuery {
10893
10893
  constructor(t) {
10894
- v(this, "def_flg");
10895
- v(this, "dyn_flg");
10896
- v(this, "frm_id");
10897
- v(this, "grp_nam");
10898
- v(this, "prf_var_nam");
10899
- v(this, "prf_var_nam_dsc");
10900
- v(this, "usr_id");
10901
- v(this, "varProfileDetails");
10894
+ b(this, "def_flg");
10895
+ b(this, "dyn_flg");
10896
+ b(this, "frm_id");
10897
+ b(this, "grp_nam");
10898
+ b(this, "prf_var_nam");
10899
+ b(this, "prf_var_nam_dsc");
10900
+ b(this, "usr_id");
10901
+ b(this, "varProfileDetails");
10902
10902
  keys(t != null ? t : {}).forEach((r) => {
10903
10903
  switch (r) {
10904
10904
  case "def_flg":
@@ -10917,18 +10917,18 @@ class CreateVarProfileMasterQuery {
10917
10917
  }
10918
10918
  class Description {
10919
10919
  constructor(t) {
10920
- v(this, "codnam");
10921
- v(this, "codval");
10922
- v(this, "grpNam");
10923
- v(this, "id");
10924
- v(this, "lngDsc");
10925
- v(this, "localeId");
10926
- v(this, "modUsrCod");
10927
- v(this, "moddte");
10928
- v(this, "shortDsc");
10929
- v(this, "srtseq");
10930
- v(this, "sysDefFlg");
10931
- v(this, "version");
10920
+ b(this, "codnam");
10921
+ b(this, "codval");
10922
+ b(this, "grpNam");
10923
+ b(this, "id");
10924
+ b(this, "lngDsc");
10925
+ b(this, "localeId");
10926
+ b(this, "modUsrCod");
10927
+ b(this, "moddte");
10928
+ b(this, "shortDsc");
10929
+ b(this, "srtseq");
10930
+ b(this, "sysDefFlg");
10931
+ b(this, "version");
10932
10932
  keys(t != null ? t : {}).forEach((r) => {
10933
10933
  switch (r) {
10934
10934
  case "codnam":
@@ -10951,8 +10951,8 @@ class Description {
10951
10951
  }
10952
10952
  class DescriptionBatchQuery {
10953
10953
  constructor(t) {
10954
- v(this, "codeName");
10955
- v(this, "codeValues");
10954
+ b(this, "codeName");
10955
+ b(this, "codeValues");
10956
10956
  keys(t != null ? t : {}).forEach((r) => {
10957
10957
  switch (r) {
10958
10958
  case "codeName":
@@ -10965,7 +10965,7 @@ class DescriptionBatchQuery {
10965
10965
  }
10966
10966
  class GetResultSetMetadataFromSqlQuery$1 {
10967
10967
  constructor(t) {
10968
- v(this, "sql");
10968
+ b(this, "sql");
10969
10969
  keys(t != null ? t : {}).forEach((r) => {
10970
10970
  switch (r) {
10971
10971
  case "sql":
@@ -10977,11 +10977,11 @@ class GetResultSetMetadataFromSqlQuery$1 {
10977
10977
  }
10978
10978
  class IPage {
10979
10979
  constructor(t) {
10980
- v(this, "current");
10981
- v(this, "pages");
10982
- v(this, "records");
10983
- v(this, "size");
10984
- v(this, "total");
10980
+ b(this, "current");
10981
+ b(this, "pages");
10982
+ b(this, "records");
10983
+ b(this, "size");
10984
+ b(this, "total");
10985
10985
  keys(t != null ? t : {}).forEach((r) => {
10986
10986
  switch (r) {
10987
10987
  case "current":
@@ -10997,12 +10997,12 @@ class IPage {
10997
10997
  }
10998
10998
  class ResultSetMetadataColumn {
10999
10999
  constructor(t) {
11000
- v(this, "columnDesc");
11001
- v(this, "columnLabel");
11002
- v(this, "columnName");
11003
- v(this, "columnType");
11004
- v(this, "id");
11005
- v(this, "tableName");
11000
+ b(this, "columnDesc");
11001
+ b(this, "columnLabel");
11002
+ b(this, "columnName");
11003
+ b(this, "columnType");
11004
+ b(this, "id");
11005
+ b(this, "tableName");
11006
11006
  keys(t != null ? t : {}).forEach((r) => {
11007
11007
  switch (r) {
11008
11008
  case "columnDesc":
@@ -11019,7 +11019,7 @@ class ResultSetMetadataColumn {
11019
11019
  }
11020
11020
  class ResultSetMetadataFromSqlDTO {
11021
11021
  constructor(t) {
11022
- v(this, "columns");
11022
+ b(this, "columns");
11023
11023
  keys(t != null ? t : {}).forEach((r) => {
11024
11024
  switch (r) {
11025
11025
  case "columns":
@@ -11031,34 +11031,34 @@ class ResultSetMetadataFromSqlDTO {
11031
11031
  }
11032
11032
  class SysPermission {
11033
11033
  constructor(t) {
11034
- v(this, "alwaysShow");
11035
- v(this, "app");
11036
- v(this, "component");
11037
- v(this, "componentName");
11038
- v(this, "createBy");
11039
- v(this, "createTime");
11040
- v(this, "delFlag");
11041
- v(this, "description");
11042
- v(this, "hidden");
11043
- v(this, "hideTab");
11044
- v(this, "icon");
11045
- v(this, "id");
11046
- v(this, "internalOrExternal");
11047
- v(this, "keepAlive");
11048
- v(this, "leaf");
11049
- v(this, "menuType");
11050
- v(this, "name");
11051
- v(this, "parentId");
11052
- v(this, "perms");
11053
- v(this, "permsType");
11054
- v(this, "redirect");
11055
- v(this, "route");
11056
- v(this, "ruleFlag");
11057
- v(this, "sortNo");
11058
- v(this, "status");
11059
- v(this, "updateBy");
11060
- v(this, "updateTime");
11061
- v(this, "url");
11034
+ b(this, "alwaysShow");
11035
+ b(this, "app");
11036
+ b(this, "component");
11037
+ b(this, "componentName");
11038
+ b(this, "createBy");
11039
+ b(this, "createTime");
11040
+ b(this, "delFlag");
11041
+ b(this, "description");
11042
+ b(this, "hidden");
11043
+ b(this, "hideTab");
11044
+ b(this, "icon");
11045
+ b(this, "id");
11046
+ b(this, "internalOrExternal");
11047
+ b(this, "keepAlive");
11048
+ b(this, "leaf");
11049
+ b(this, "menuType");
11050
+ b(this, "name");
11051
+ b(this, "parentId");
11052
+ b(this, "perms");
11053
+ b(this, "permsType");
11054
+ b(this, "redirect");
11055
+ b(this, "route");
11056
+ b(this, "ruleFlag");
11057
+ b(this, "sortNo");
11058
+ b(this, "status");
11059
+ b(this, "updateBy");
11060
+ b(this, "updateTime");
11061
+ b(this, "url");
11062
11062
  keys(t != null ? t : {}).forEach((r) => {
11063
11063
  switch (r) {
11064
11064
  case "alwaysShow":
@@ -11097,36 +11097,36 @@ class SysPermission {
11097
11097
  }
11098
11098
  class SysPermissionTree {
11099
11099
  constructor(t) {
11100
- v(this, "alwaysShow");
11101
- v(this, "app");
11102
- v(this, "children");
11103
- v(this, "component");
11104
- v(this, "componentName");
11105
- v(this, "createBy");
11106
- v(this, "createTime");
11107
- v(this, "delFlag");
11108
- v(this, "description");
11109
- v(this, "hidden");
11110
- v(this, "icon");
11111
- v(this, "id");
11112
- v(this, "internalOrExternal");
11113
- v(this, "isLeaf");
11114
- v(this, "keepAlive");
11115
- v(this, "key");
11116
- v(this, "leaf");
11117
- v(this, "menuType");
11118
- v(this, "name");
11119
- v(this, "parentId");
11120
- v(this, "perms");
11121
- v(this, "permsType");
11122
- v(this, "redirect");
11123
- v(this, "route");
11124
- v(this, "sortNo");
11125
- v(this, "status");
11126
- v(this, "title");
11127
- v(this, "updateBy");
11128
- v(this, "updateTime");
11129
- v(this, "url");
11100
+ b(this, "alwaysShow");
11101
+ b(this, "app");
11102
+ b(this, "children");
11103
+ b(this, "component");
11104
+ b(this, "componentName");
11105
+ b(this, "createBy");
11106
+ b(this, "createTime");
11107
+ b(this, "delFlag");
11108
+ b(this, "description");
11109
+ b(this, "hidden");
11110
+ b(this, "icon");
11111
+ b(this, "id");
11112
+ b(this, "internalOrExternal");
11113
+ b(this, "isLeaf");
11114
+ b(this, "keepAlive");
11115
+ b(this, "key");
11116
+ b(this, "leaf");
11117
+ b(this, "menuType");
11118
+ b(this, "name");
11119
+ b(this, "parentId");
11120
+ b(this, "perms");
11121
+ b(this, "permsType");
11122
+ b(this, "redirect");
11123
+ b(this, "route");
11124
+ b(this, "sortNo");
11125
+ b(this, "status");
11126
+ b(this, "title");
11127
+ b(this, "updateBy");
11128
+ b(this, "updateTime");
11129
+ b(this, "url");
11130
11130
  keys(t != null ? t : {}).forEach((r) => {
11131
11131
  switch (r) {
11132
11132
  case "alwaysShow":
@@ -11167,15 +11167,15 @@ class SysPermissionTree {
11167
11167
  }
11168
11168
  class SysUserWarehouseDTO {
11169
11169
  constructor(t) {
11170
- v(this, "default_flag");
11171
- v(this, "id");
11172
- v(this, "ins_dt");
11173
- v(this, "ins_usr_id");
11174
- v(this, "mod_usr_id");
11175
- v(this, "moddte");
11176
- v(this, "user_id");
11177
- v(this, "wh_dsc");
11178
- v(this, "wh_id");
11170
+ b(this, "default_flag");
11171
+ b(this, "id");
11172
+ b(this, "ins_dt");
11173
+ b(this, "ins_usr_id");
11174
+ b(this, "mod_usr_id");
11175
+ b(this, "moddte");
11176
+ b(this, "user_id");
11177
+ b(this, "wh_dsc");
11178
+ b(this, "wh_id");
11179
11179
  keys(t != null ? t : {}).forEach((r) => {
11180
11180
  switch (r) {
11181
11181
  case "default_flag":
@@ -11195,14 +11195,14 @@ class SysUserWarehouseDTO {
11195
11195
  }
11196
11196
  class UpdateVarGridMasterQuery {
11197
11197
  constructor(t) {
11198
- v(this, "cust_lvl");
11199
- v(this, "def_flg");
11200
- v(this, "frm_id");
11201
- v(this, "grd_var_nam");
11202
- v(this, "grp_nam");
11203
- v(this, "id");
11204
- v(this, "usr_id");
11205
- v(this, "varGridDetails");
11198
+ b(this, "cust_lvl");
11199
+ b(this, "def_flg");
11200
+ b(this, "frm_id");
11201
+ b(this, "grd_var_nam");
11202
+ b(this, "grp_nam");
11203
+ b(this, "id");
11204
+ b(this, "usr_id");
11205
+ b(this, "varGridDetails");
11206
11206
  keys(t != null ? t : {}).forEach((r) => {
11207
11207
  switch (r) {
11208
11208
  case "cust_lvl":
@@ -11221,7 +11221,7 @@ class UpdateVarGridMasterQuery {
11221
11221
  }
11222
11222
  class ValidateFrmIdQuery$1 {
11223
11223
  constructor(t) {
11224
- v(this, "frmId");
11224
+ b(this, "frmId");
11225
11225
  keys(t != null ? t : {}).forEach((r) => {
11226
11226
  switch (r) {
11227
11227
  case "frmId":
@@ -11233,7 +11233,7 @@ class ValidateFrmIdQuery$1 {
11233
11233
  }
11234
11234
  class ValidateSqlQuery {
11235
11235
  constructor(t) {
11236
- v(this, "sql");
11236
+ b(this, "sql");
11237
11237
  keys(t != null ? t : {}).forEach((r) => {
11238
11238
  switch (r) {
11239
11239
  case "sql":
@@ -11245,7 +11245,7 @@ class ValidateSqlQuery {
11245
11245
  }
11246
11246
  class ValidateVarButtonVarNameQuery$1 {
11247
11247
  constructor(t) {
11248
- v(this, "varName");
11248
+ b(this, "varName");
11249
11249
  keys(t != null ? t : {}).forEach((r) => {
11250
11250
  switch (r) {
11251
11251
  case "varName":
@@ -11257,30 +11257,30 @@ class ValidateVarButtonVarNameQuery$1 {
11257
11257
  }
11258
11258
  class VarButton {
11259
11259
  constructor(t) {
11260
- v(this, "available_flag");
11261
- v(this, "cmd");
11262
- v(this, "cmd_method");
11263
- v(this, "cmd_prm");
11264
- v(this, "color");
11265
- v(this, "del_param_clm");
11266
- v(this, "dis_mult_select_flg");
11267
- v(this, "dis_no_select_flg");
11268
- v(this, "export_excel_filename");
11269
- v(this, "export_excel_suffix");
11270
- v(this, "frm_id");
11271
- v(this, "icon");
11272
- v(this, "id");
11273
- v(this, "modal_props");
11274
- v(this, "permission_code");
11275
- v(this, "primary_flg");
11276
- v(this, "re_select_after_reload_flg");
11277
- v(this, "reload_all_after_done_flg");
11278
- v(this, "show_modal_flg");
11279
- v(this, "show_success_message_flg");
11280
- v(this, "sql");
11281
- v(this, "srtseq");
11282
- v(this, "typ");
11283
- v(this, "var_nam");
11260
+ b(this, "available_flag");
11261
+ b(this, "cmd");
11262
+ b(this, "cmd_method");
11263
+ b(this, "cmd_prm");
11264
+ b(this, "color");
11265
+ b(this, "del_param_clm");
11266
+ b(this, "dis_mult_select_flg");
11267
+ b(this, "dis_no_select_flg");
11268
+ b(this, "export_excel_filename");
11269
+ b(this, "export_excel_suffix");
11270
+ b(this, "frm_id");
11271
+ b(this, "icon");
11272
+ b(this, "id");
11273
+ b(this, "modal_props");
11274
+ b(this, "permission_code");
11275
+ b(this, "primary_flg");
11276
+ b(this, "re_select_after_reload_flg");
11277
+ b(this, "reload_all_after_done_flg");
11278
+ b(this, "show_modal_flg");
11279
+ b(this, "show_success_message_flg");
11280
+ b(this, "sql");
11281
+ b(this, "srtseq");
11282
+ b(this, "typ");
11283
+ b(this, "var_nam");
11284
11284
  keys(t != null ? t : {}).forEach((r) => {
11285
11285
  switch (r) {
11286
11286
  case "available_flag":
@@ -11315,10 +11315,10 @@ class VarButton {
11315
11315
  }
11316
11316
  class VarButtonConfig {
11317
11317
  constructor(t) {
11318
- v(this, "available_flg");
11319
- v(this, "display_type");
11320
- v(this, "frm_id");
11321
- v(this, "id");
11318
+ b(this, "available_flg");
11319
+ b(this, "display_type");
11320
+ b(this, "frm_id");
11321
+ b(this, "id");
11322
11322
  keys(t != null ? t : {}).forEach((r) => {
11323
11323
  switch (r) {
11324
11324
  case "available_flg":
@@ -11333,15 +11333,15 @@ class VarButtonConfig {
11333
11333
  }
11334
11334
  class VarConfigControl {
11335
11335
  constructor(t) {
11336
- v(this, "button_var_name");
11337
- v(this, "ctrl_prop");
11338
- v(this, "ctrl_typ");
11339
- v(this, "cust_lvl");
11340
- v(this, "frm_id");
11341
- v(this, "grp_nam");
11342
- v(this, "id");
11343
- v(this, "locale_id");
11344
- v(this, "var_nam");
11336
+ b(this, "button_var_name");
11337
+ b(this, "ctrl_prop");
11338
+ b(this, "ctrl_typ");
11339
+ b(this, "cust_lvl");
11340
+ b(this, "frm_id");
11341
+ b(this, "grp_nam");
11342
+ b(this, "id");
11343
+ b(this, "locale_id");
11344
+ b(this, "var_nam");
11345
11345
  keys(t != null ? t : {}).forEach((r) => {
11346
11346
  switch (r) {
11347
11347
  case "button_var_name":
@@ -11361,13 +11361,13 @@ class VarConfigControl {
11361
11361
  }
11362
11362
  class VarConfigDescription {
11363
11363
  constructor(t) {
11364
- v(this, "cust_lvl");
11365
- v(this, "frm_id");
11366
- v(this, "grp_nam");
11367
- v(this, "id");
11368
- v(this, "locale_id");
11369
- v(this, "var_nam");
11370
- v(this, "var_text");
11364
+ b(this, "cust_lvl");
11365
+ b(this, "frm_id");
11366
+ b(this, "grp_nam");
11367
+ b(this, "id");
11368
+ b(this, "locale_id");
11369
+ b(this, "var_nam");
11370
+ b(this, "var_text");
11371
11371
  keys(t != null ? t : {}).forEach((r) => {
11372
11372
  switch (r) {
11373
11373
  case "cust_lvl":
@@ -11385,21 +11385,21 @@ class VarConfigDescription {
11385
11385
  }
11386
11386
  class VarConfigInput {
11387
11387
  constructor(t) {
11388
- v(this, "cust_lvl");
11389
- v(this, "data_type");
11390
- v(this, "frm_id");
11391
- v(this, "grp_nam");
11392
- v(this, "id");
11393
- v(this, "locale_id");
11394
- v(this, "max");
11395
- v(this, "max_include_flg");
11396
- v(this, "max_length");
11397
- v(this, "min");
11398
- v(this, "min_include_flg");
11399
- v(this, "min_length");
11400
- v(this, "regular_expression");
11401
- v(this, "validation_type");
11402
- v(this, "var_nam");
11388
+ b(this, "cust_lvl");
11389
+ b(this, "data_type");
11390
+ b(this, "frm_id");
11391
+ b(this, "grp_nam");
11392
+ b(this, "id");
11393
+ b(this, "locale_id");
11394
+ b(this, "max");
11395
+ b(this, "max_include_flg");
11396
+ b(this, "max_length");
11397
+ b(this, "min");
11398
+ b(this, "min_include_flg");
11399
+ b(this, "min_length");
11400
+ b(this, "regular_expression");
11401
+ b(this, "validation_type");
11402
+ b(this, "var_nam");
11403
11403
  keys(t != null ? t : {}).forEach((r) => {
11404
11404
  switch (r) {
11405
11405
  case "cust_lvl":
@@ -11425,15 +11425,15 @@ class VarConfigInput {
11425
11425
  }
11426
11426
  class VarConfigLookup {
11427
11427
  constructor(t) {
11428
- v(this, "cust_lvl");
11429
- v(this, "frm_id");
11430
- v(this, "grp_nam");
11431
- v(this, "id");
11432
- v(this, "lkp_id");
11433
- v(this, "locale_id");
11434
- v(this, "mult_flg");
11435
- v(this, "ret_fld");
11436
- v(this, "var_nam");
11428
+ b(this, "cust_lvl");
11429
+ b(this, "frm_id");
11430
+ b(this, "grp_nam");
11431
+ b(this, "id");
11432
+ b(this, "lkp_id");
11433
+ b(this, "locale_id");
11434
+ b(this, "mult_flg");
11435
+ b(this, "ret_fld");
11436
+ b(this, "var_nam");
11437
11437
  keys(t != null ? t : {}).forEach((r) => {
11438
11438
  switch (r) {
11439
11439
  case "cust_lvl":
@@ -11453,20 +11453,20 @@ class VarConfigLookup {
11453
11453
  }
11454
11454
  class VarConfigPossibility {
11455
11455
  constructor(t) {
11456
- v(this, "cmd");
11457
- v(this, "cmd_method");
11458
- v(this, "cmd_prm");
11459
- v(this, "cust_lvl");
11460
- v(this, "data_source_type");
11461
- v(this, "frm_id");
11462
- v(this, "grp_nam");
11463
- v(this, "id");
11464
- v(this, "lbl_clm");
11465
- v(this, "locale_id");
11466
- v(this, "sql");
11467
- v(this, "val_clm");
11468
- v(this, "val_data_type");
11469
- v(this, "var_nam");
11456
+ b(this, "cmd");
11457
+ b(this, "cmd_method");
11458
+ b(this, "cmd_prm");
11459
+ b(this, "cust_lvl");
11460
+ b(this, "data_source_type");
11461
+ b(this, "frm_id");
11462
+ b(this, "grp_nam");
11463
+ b(this, "id");
11464
+ b(this, "lbl_clm");
11465
+ b(this, "locale_id");
11466
+ b(this, "sql");
11467
+ b(this, "val_clm");
11468
+ b(this, "val_data_type");
11469
+ b(this, "var_nam");
11470
11470
  keys(t != null ? t : {}).forEach((r) => {
11471
11471
  switch (r) {
11472
11472
  case "cmd":
@@ -11491,13 +11491,13 @@ class VarConfigPossibility {
11491
11491
  }
11492
11492
  class VarConfigTip {
11493
11493
  constructor(t) {
11494
- v(this, "cust_lvl");
11495
- v(this, "frm_id");
11496
- v(this, "id");
11497
- v(this, "locale_id");
11498
- v(this, "placement");
11499
- v(this, "tip");
11500
- v(this, "var_nam");
11494
+ b(this, "cust_lvl");
11495
+ b(this, "frm_id");
11496
+ b(this, "id");
11497
+ b(this, "locale_id");
11498
+ b(this, "placement");
11499
+ b(this, "tip");
11500
+ b(this, "var_nam");
11501
11501
  keys(t != null ? t : {}).forEach((r) => {
11502
11502
  switch (r) {
11503
11503
  case "cust_lvl":
@@ -11515,21 +11515,21 @@ class VarConfigTip {
11515
11515
  }
11516
11516
  class VarDTO {
11517
11517
  constructor(t) {
11518
- v(this, "varButtonConfig");
11519
- v(this, "varButtons");
11520
- v(this, "varConfigControls");
11521
- v(this, "varConfigDescriptions");
11522
- v(this, "varConfigInputs");
11523
- v(this, "varConfigLookups");
11524
- v(this, "varConfigPossibilities");
11525
- v(this, "varConfigTips");
11526
- v(this, "varGridConfig");
11527
- v(this, "varGridMasters");
11528
- v(this, "varProfileConfig");
11529
- v(this, "varProfileMasters");
11530
- v(this, "varSubmitConfigs");
11531
- v(this, "varSubmitDetails");
11532
- v(this, "varVariables");
11518
+ b(this, "varButtonConfig");
11519
+ b(this, "varButtons");
11520
+ b(this, "varConfigControls");
11521
+ b(this, "varConfigDescriptions");
11522
+ b(this, "varConfigInputs");
11523
+ b(this, "varConfigLookups");
11524
+ b(this, "varConfigPossibilities");
11525
+ b(this, "varConfigTips");
11526
+ b(this, "varGridConfig");
11527
+ b(this, "varGridMasters");
11528
+ b(this, "varProfileConfig");
11529
+ b(this, "varProfileMasters");
11530
+ b(this, "varSubmitConfigs");
11531
+ b(this, "varSubmitDetails");
11532
+ b(this, "varVariables");
11533
11533
  keys(t != null ? t : {}).forEach((r) => {
11534
11534
  switch (r) {
11535
11535
  case "varButtonConfig":
@@ -11555,9 +11555,9 @@ class VarDTO {
11555
11555
  }
11556
11556
  class VarDda {
11557
11557
  constructor(t) {
11558
- v(this, "frm_id");
11559
- v(this, "frm_nam");
11560
- v(this, "id");
11558
+ b(this, "frm_id");
11559
+ b(this, "frm_nam");
11560
+ b(this, "id");
11561
11561
  keys(t != null ? t : {}).forEach((r) => {
11562
11562
  switch (r) {
11563
11563
  case "frm_id":
@@ -11571,25 +11571,25 @@ class VarDda {
11571
11571
  }
11572
11572
  class VarGridConfig {
11573
11573
  constructor(t) {
11574
- v(this, "aut_load_flg");
11575
- v(this, "available_flg");
11576
- v(this, "button_display_type");
11577
- v(this, "check_first_row_after_retrieve");
11578
- v(this, "cmd_prm");
11579
- v(this, "convert_sort_field_to_under_score_flg");
11580
- v(this, "expand_accordion_flg");
11581
- v(this, "frm_id");
11582
- v(this, "id");
11583
- v(this, "id_clm");
11584
- v(this, "mult_flg");
11585
- v(this, "operation_on_row_click");
11586
- v(this, "pg_size_opt");
11587
- v(this, "pg_size_opts");
11588
- v(this, "prf_frm_id");
11589
- v(this, "show_bottom_border_flg");
11590
- v(this, "show_bottom_left_flg");
11591
- v(this, "show_bottom_right_flg");
11592
- v(this, "show_check_column_flg");
11574
+ b(this, "aut_load_flg");
11575
+ b(this, "available_flg");
11576
+ b(this, "button_display_type");
11577
+ b(this, "check_first_row_after_retrieve");
11578
+ b(this, "cmd_prm");
11579
+ b(this, "convert_sort_field_to_under_score_flg");
11580
+ b(this, "expand_accordion_flg");
11581
+ b(this, "frm_id");
11582
+ b(this, "id");
11583
+ b(this, "id_clm");
11584
+ b(this, "mult_flg");
11585
+ b(this, "operation_on_row_click");
11586
+ b(this, "pg_size_opt");
11587
+ b(this, "pg_size_opts");
11588
+ b(this, "prf_frm_id");
11589
+ b(this, "show_bottom_border_flg");
11590
+ b(this, "show_bottom_left_flg");
11591
+ b(this, "show_bottom_right_flg");
11592
+ b(this, "show_check_column_flg");
11593
11593
  keys(t != null ? t : {}).forEach((r) => {
11594
11594
  switch (r) {
11595
11595
  case "aut_load_flg":
@@ -11619,23 +11619,23 @@ class VarGridConfig {
11619
11619
  }
11620
11620
  class VarGridDetail {
11621
11621
  constructor(t) {
11622
- v(this, "align");
11623
- v(this, "display_type");
11624
- v(this, "display_type_properties");
11625
- v(this, "ellipsis_flg");
11626
- v(this, "filter_flag");
11627
- v(this, "fix_left_flg");
11628
- v(this, "fix_right_flg");
11629
- v(this, "frm_id");
11630
- v(this, "grd_var_nam");
11631
- v(this, "grp_nam");
11632
- v(this, "id");
11633
- v(this, "ord");
11634
- v(this, "ord_flg");
11635
- v(this, "srtseq");
11636
- v(this, "var_nam");
11637
- v(this, "vis_flg");
11638
- v(this, "width");
11622
+ b(this, "align");
11623
+ b(this, "display_type");
11624
+ b(this, "display_type_properties");
11625
+ b(this, "ellipsis_flg");
11626
+ b(this, "filter_flag");
11627
+ b(this, "fix_left_flg");
11628
+ b(this, "fix_right_flg");
11629
+ b(this, "frm_id");
11630
+ b(this, "grd_var_nam");
11631
+ b(this, "grp_nam");
11632
+ b(this, "id");
11633
+ b(this, "ord");
11634
+ b(this, "ord_flg");
11635
+ b(this, "srtseq");
11636
+ b(this, "var_nam");
11637
+ b(this, "vis_flg");
11638
+ b(this, "width");
11639
11639
  keys(t != null ? t : {}).forEach((r) => {
11640
11640
  switch (r) {
11641
11641
  case "align":
@@ -11663,13 +11663,13 @@ class VarGridDetail {
11663
11663
  }
11664
11664
  class VarGridMaster {
11665
11665
  constructor(t) {
11666
- v(this, "cust_lvl");
11667
- v(this, "def_flg");
11668
- v(this, "frm_id");
11669
- v(this, "grd_var_nam");
11670
- v(this, "grp_nam");
11671
- v(this, "id");
11672
- v(this, "usr_id");
11666
+ b(this, "cust_lvl");
11667
+ b(this, "def_flg");
11668
+ b(this, "frm_id");
11669
+ b(this, "grd_var_nam");
11670
+ b(this, "grp_nam");
11671
+ b(this, "id");
11672
+ b(this, "usr_id");
11673
11673
  keys(t != null ? t : {}).forEach((r) => {
11674
11674
  switch (r) {
11675
11675
  case "cust_lvl":
@@ -11687,15 +11687,15 @@ class VarGridMaster {
11687
11687
  }
11688
11688
  class VarGridMasterDTO {
11689
11689
  constructor(t) {
11690
- v(this, "cust_lvl");
11691
- v(this, "def_flg");
11692
- v(this, "frm_id");
11693
- v(this, "grd_var_nam");
11694
- v(this, "grd_var_nam_dsc");
11695
- v(this, "grp_nam");
11696
- v(this, "id");
11697
- v(this, "usr_id");
11698
- v(this, "varGridDetails");
11690
+ b(this, "cust_lvl");
11691
+ b(this, "def_flg");
11692
+ b(this, "frm_id");
11693
+ b(this, "grd_var_nam");
11694
+ b(this, "grd_var_nam_dsc");
11695
+ b(this, "grp_nam");
11696
+ b(this, "id");
11697
+ b(this, "usr_id");
11698
+ b(this, "varGridDetails");
11699
11699
  keys(t != null ? t : {}).forEach((r) => {
11700
11700
  switch (r) {
11701
11701
  case "cust_lvl":
@@ -11715,13 +11715,13 @@ class VarGridMasterDTO {
11715
11715
  }
11716
11716
  class VarProfileConfig {
11717
11717
  constructor(t) {
11718
- v(this, "available_flg");
11719
- v(this, "frm_id");
11720
- v(this, "header_teleport_flg");
11721
- v(this, "id");
11722
- v(this, "resizable_flg");
11723
- v(this, "show_config_button_flag");
11724
- v(this, "vis_flg");
11718
+ b(this, "available_flg");
11719
+ b(this, "frm_id");
11720
+ b(this, "header_teleport_flg");
11721
+ b(this, "id");
11722
+ b(this, "resizable_flg");
11723
+ b(this, "show_config_button_flag");
11724
+ b(this, "vis_flg");
11725
11725
  keys(t != null ? t : {}).forEach((r) => {
11726
11726
  switch (r) {
11727
11727
  case "available_flg":
@@ -11739,21 +11739,21 @@ class VarProfileConfig {
11739
11739
  }
11740
11740
  class VarProfileDetail {
11741
11741
  constructor(t) {
11742
- v(this, "dft_dyn_op");
11743
- v(this, "dft_val");
11744
- v(this, "ena_flg");
11745
- v(this, "exclude_from_where_sql_flag");
11746
- v(this, "frm_id");
11747
- v(this, "grp_nam");
11748
- v(this, "id");
11749
- v(this, "placeholder");
11750
- v(this, "prf_var_nam");
11751
- v(this, "rqr_flg");
11752
- v(this, "srtseq");
11753
- v(this, "use_underscore_when_dynamic_query_flag");
11754
- v(this, "var_nam");
11755
- v(this, "vis_flg");
11756
- v(this, "width");
11742
+ b(this, "dft_dyn_op");
11743
+ b(this, "dft_val");
11744
+ b(this, "ena_flg");
11745
+ b(this, "exclude_from_where_sql_flag");
11746
+ b(this, "frm_id");
11747
+ b(this, "grp_nam");
11748
+ b(this, "id");
11749
+ b(this, "placeholder");
11750
+ b(this, "prf_var_nam");
11751
+ b(this, "rqr_flg");
11752
+ b(this, "srtseq");
11753
+ b(this, "use_underscore_when_dynamic_query_flag");
11754
+ b(this, "var_nam");
11755
+ b(this, "vis_flg");
11756
+ b(this, "width");
11757
11757
  keys(t != null ? t : {}).forEach((r) => {
11758
11758
  switch (r) {
11759
11759
  case "dft_dyn_op":
@@ -11779,14 +11779,14 @@ class VarProfileDetail {
11779
11779
  }
11780
11780
  class VarProfileMaster {
11781
11781
  constructor(t) {
11782
- v(this, "cust_lvl");
11783
- v(this, "def_flg");
11784
- v(this, "dyn_flg");
11785
- v(this, "frm_id");
11786
- v(this, "grp_nam");
11787
- v(this, "id");
11788
- v(this, "prf_var_nam");
11789
- v(this, "usr_id");
11782
+ b(this, "cust_lvl");
11783
+ b(this, "def_flg");
11784
+ b(this, "dyn_flg");
11785
+ b(this, "frm_id");
11786
+ b(this, "grp_nam");
11787
+ b(this, "id");
11788
+ b(this, "prf_var_nam");
11789
+ b(this, "usr_id");
11790
11790
  keys(t != null ? t : {}).forEach((r) => {
11791
11791
  switch (r) {
11792
11792
  case "cust_lvl":
@@ -11805,16 +11805,16 @@ class VarProfileMaster {
11805
11805
  }
11806
11806
  class VarProfileMasterDTO {
11807
11807
  constructor(t) {
11808
- v(this, "cust_lvl");
11809
- v(this, "def_flg");
11810
- v(this, "dyn_flg");
11811
- v(this, "frm_id");
11812
- v(this, "grp_nam");
11813
- v(this, "id");
11814
- v(this, "prf_var_nam");
11815
- v(this, "prf_var_nam_dsc");
11816
- v(this, "usr_id");
11817
- v(this, "varProfileDetails");
11808
+ b(this, "cust_lvl");
11809
+ b(this, "def_flg");
11810
+ b(this, "dyn_flg");
11811
+ b(this, "frm_id");
11812
+ b(this, "grp_nam");
11813
+ b(this, "id");
11814
+ b(this, "prf_var_nam");
11815
+ b(this, "prf_var_nam_dsc");
11816
+ b(this, "usr_id");
11817
+ b(this, "varProfileDetails");
11818
11818
  keys(t != null ? t : {}).forEach((r) => {
11819
11819
  switch (r) {
11820
11820
  case "cust_lvl":
@@ -11835,23 +11835,23 @@ class VarProfileMasterDTO {
11835
11835
  }
11836
11836
  class VarSubmitConfig {
11837
11837
  constructor(t) {
11838
- v(this, "button_var_name");
11839
- v(this, "cust_lvl");
11840
- v(this, "dft_fullscreen_flg");
11841
- v(this, "dft_width");
11842
- v(this, "display_type");
11843
- v(this, "frm_id");
11844
- v(this, "fullscreen_flg");
11845
- v(this, "id");
11846
- v(this, "label_col");
11847
- v(this, "label_col_unit");
11848
- v(this, "layout");
11849
- v(this, "max_width");
11850
- v(this, "min_width");
11851
- v(this, "props");
11852
- v(this, "resizable_flg");
11853
- v(this, "responsive_flg");
11854
- v(this, "set_id_to_null_flag");
11838
+ b(this, "button_var_name");
11839
+ b(this, "cust_lvl");
11840
+ b(this, "dft_fullscreen_flg");
11841
+ b(this, "dft_width");
11842
+ b(this, "display_type");
11843
+ b(this, "frm_id");
11844
+ b(this, "fullscreen_flg");
11845
+ b(this, "id");
11846
+ b(this, "label_col");
11847
+ b(this, "label_col_unit");
11848
+ b(this, "layout");
11849
+ b(this, "max_width");
11850
+ b(this, "min_width");
11851
+ b(this, "props");
11852
+ b(this, "resizable_flg");
11853
+ b(this, "responsive_flg");
11854
+ b(this, "set_id_to_null_flag");
11855
11855
  keys(t != null ? t : {}).forEach((r) => {
11856
11856
  switch (r) {
11857
11857
  case "button_var_name":
@@ -11879,21 +11879,21 @@ class VarSubmitConfig {
11879
11879
  }
11880
11880
  class VarSubmitDetail {
11881
11881
  constructor(t) {
11882
- v(this, "button_var_name");
11883
- v(this, "cust_lvl");
11884
- v(this, "default_value");
11885
- v(this, "enable_flag");
11886
- v(this, "frm_id");
11887
- v(this, "grp_nam");
11888
- v(this, "id");
11889
- v(this, "key_flg");
11890
- v(this, "placeholder");
11891
- v(this, "required_flag");
11892
- v(this, "section");
11893
- v(this, "srtseq");
11894
- v(this, "var_nam");
11895
- v(this, "visible_flag");
11896
- v(this, "width");
11882
+ b(this, "button_var_name");
11883
+ b(this, "cust_lvl");
11884
+ b(this, "default_value");
11885
+ b(this, "enable_flag");
11886
+ b(this, "frm_id");
11887
+ b(this, "grp_nam");
11888
+ b(this, "id");
11889
+ b(this, "key_flg");
11890
+ b(this, "placeholder");
11891
+ b(this, "required_flag");
11892
+ b(this, "section");
11893
+ b(this, "srtseq");
11894
+ b(this, "var_nam");
11895
+ b(this, "visible_flag");
11896
+ b(this, "width");
11897
11897
  keys(t != null ? t : {}).forEach((r) => {
11898
11898
  switch (r) {
11899
11899
  case "button_var_name":
@@ -11919,10 +11919,10 @@ class VarSubmitDetail {
11919
11919
  }
11920
11920
  class VarVariable {
11921
11921
  constructor(t) {
11922
- v(this, "frm_id");
11923
- v(this, "grp_nam");
11924
- v(this, "id");
11925
- v(this, "var_nam");
11922
+ b(this, "frm_id");
11923
+ b(this, "grp_nam");
11924
+ b(this, "id");
11925
+ b(this, "var_nam");
11926
11926
  keys(t != null ? t : {}).forEach((r) => {
11927
11927
  switch (r) {
11928
11928
  case "frm_id":
@@ -11937,20 +11937,20 @@ class VarVariable {
11937
11937
  }
11938
11938
  class WhDTO {
11939
11939
  constructor(t) {
11940
- v(this, "activeFlg");
11941
- v(this, "adrId");
11942
- v(this, "adrnam");
11943
- v(this, "comCod");
11944
- v(this, "defWhFlg");
11945
- v(this, "id");
11946
- v(this, "orgcod");
11947
- v(this, "permAdjLod");
11948
- v(this, "permAdjSub");
11949
- v(this, "permCreLod");
11950
- v(this, "permCreSub");
11951
- v(this, "version");
11952
- v(this, "whDsc");
11953
- v(this, "whId");
11940
+ b(this, "activeFlg");
11941
+ b(this, "adrId");
11942
+ b(this, "adrnam");
11943
+ b(this, "comCod");
11944
+ b(this, "defWhFlg");
11945
+ b(this, "id");
11946
+ b(this, "orgcod");
11947
+ b(this, "permAdjLod");
11948
+ b(this, "permAdjSub");
11949
+ b(this, "permCreLod");
11950
+ b(this, "permCreSub");
11951
+ b(this, "version");
11952
+ b(this, "whDsc");
11953
+ b(this, "whId");
11954
11954
  keys(t != null ? t : {}).forEach((r) => {
11955
11955
  switch (r) {
11956
11956
  case "activeFlg":
@@ -12719,7 +12719,7 @@ function _useTransferColumns(e, t) {
12719
12719
  class: "kg-not-clickable"
12720
12720
  }, {
12721
12721
  default: () => {
12722
- let u, c, g, d, b, _, m, p;
12722
+ let u, c, g, d, v, _, m, p;
12723
12723
  return createVNode(Fragment, null, [createVNode(Select.Option, {
12724
12724
  value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.DESC
12725
12725
  }, _isSlot$9(u = r.t("kg.KgVarConfigModalTableVarGridMaster.DESC")) ? u : {
@@ -12738,8 +12738,8 @@ function _useTransferColumns(e, t) {
12738
12738
  default: () => [d]
12739
12739
  }), createVNode(Select.Option, {
12740
12740
  value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.UPDATE_LINK
12741
- }, _isSlot$9(b = r.t("kg.KgVarConfigModalTableVarGridMaster.UPDATE_LINK")) ? b : {
12742
- default: () => [b]
12741
+ }, _isSlot$9(v = r.t("kg.KgVarConfigModalTableVarGridMaster.UPDATE_LINK")) ? v : {
12742
+ default: () => [v]
12743
12743
  }), createVNode(Select.Option, {
12744
12744
  value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.ROUTE_LINK
12745
12745
  }, _isSlot$9(_ = r.t("kg.KgVarConfigModalTableVarGridMaster.ROUTE_LINK")) ? _ : {
@@ -12825,10 +12825,10 @@ function _useDragToSortRow$2(e, t, r) {
12825
12825
  const d = document.createElement("span");
12826
12826
  d.setAttribute("id", "__kg_var_config__modal__table__var_grid_master__kg_submit__fields__drag_image__");
12827
12827
  const {
12828
- width: b,
12828
+ width: v,
12829
12829
  height: _
12830
12830
  } = c.parentElement.getBoundingClientRect();
12831
- b && _ && (d.style.width = `${b + 2}px`, d.style.height = `${_ + 2}px`), (p = g.dataTransfer) == null || p.setDragImage(d, -10, (_ + 2) / 2);
12831
+ v && _ && (d.style.width = `${v + 2}px`, d.style.height = `${_ + 2}px`), (p = g.dataTransfer) == null || p.setDragImage(d, -10, (_ + 2) / 2);
12832
12832
  const m = await toCanvas(c.parentElement);
12833
12833
  d.appendChild(m), document.body.appendChild(d), (T = g.dataTransfer) == null || T.setDragImage(d, -10, (_ + 2) / 2);
12834
12834
  }, c.addEventListener("dragstart", c.__kg__dragstart__), c.__kg__dragend__ = (g) => {
@@ -12843,19 +12843,19 @@ function _useDragToSortRow$2(e, t, r) {
12843
12843
  if (a = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"]`), () => !0), a)
12844
12844
  for (let c of a)
12845
12845
  c.__kg__dragover__ = (g) => {
12846
- var d, b;
12847
- g.preventDefault(), c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((b = i == null ? void 0 : i.rowIndex) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
12846
+ var d, v;
12847
+ g.preventDefault(), c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((v = i == null ? void 0 : i.rowIndex) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
12848
12848
  }, c.addEventListener("dragover", c.__kg__dragover__, !1), c.__kg__dragenter__ = (g) => {
12849
- var d, b;
12850
- c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((b = i == null ? void 0 : i.rowIndex) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
12849
+ var d, v;
12850
+ c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((v = i == null ? void 0 : i.rowIndex) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
12851
12851
  }, c.addEventListener("dragenter", c.__kg__dragenter__), c.__kg__dragleave__ = (g) => {
12852
12852
  c.classList.remove("dragover", "dragover-right", "dragover-left");
12853
12853
  }, c.addEventListener("dragleave", c.__kg__dragleave__), c.__kg__drop__ = (g) => {
12854
12854
  g.preventDefault();
12855
12855
  const d = document.querySelector("#__kg_var_config__modal__table__var_grid_master__kg_submit__fields__drag_image__");
12856
12856
  d && document.body.removeChild(d), c.classList.remove("dragover", "dragover-right", "dragover-left");
12857
- const b = i == null ? void 0 : i.getAttribute("kg-var_name"), _ = c.getAttribute("kg-var_name");
12858
- b !== _ && (KgUtil.showLoading(), l(b, _));
12857
+ const v = i == null ? void 0 : i.getAttribute("kg-var_name"), _ = c.getAttribute("kg-var_name");
12858
+ v !== _ && (KgUtil.showLoading(), l(v, _));
12859
12859
  }, c.addEventListener("drop", c.__kg__drop__);
12860
12860
  }
12861
12861
  function o() {
@@ -12874,12 +12874,12 @@ function _useDragToSortRow$2(e, t, r) {
12874
12874
  }
12875
12875
  function l(c, g) {
12876
12876
  setTimeout(() => {
12877
- const d = t.value.findIndex((p) => p.var_nam === c), b = t.value.findIndex((p) => p.var_nam === g);
12878
- if (d === -1 || b === -1)
12877
+ const d = t.value.findIndex((p) => p.var_nam === c), v = t.value.findIndex((p) => p.var_nam === g);
12878
+ if (d === -1 || v === -1)
12879
12879
  return;
12880
12880
  const _ = t.value.find((p) => p.var_nam === c), m = [];
12881
12881
  t.value.forEach((p, T) => {
12882
- d > b ? T < b ? m.push(p) : T === b ? (m.push(_), m.push(p)) : T > b && T !== d && m.push(p) : d < b && (T < d ? m.push(p) : T === d || (T === b ? (m.push(p), m.push(_)) : m.push(p)));
12882
+ d > v ? T < v ? m.push(p) : T === v ? (m.push(_), m.push(p)) : T > v && T !== d && m.push(p) : d < v && (T < d ? m.push(p) : T === d || (T === v ? (m.push(p), m.push(_)) : m.push(p)));
12883
12883
  }), m.forEach((p, T) => {
12884
12884
  p.srtseq = T + 1;
12885
12885
  }), t.value = m, nextTick().finally(() => {
@@ -13041,7 +13041,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13041
13041
  dataSource: k,
13042
13042
  customRow: (R) => {
13043
13043
  let A = {
13044
- onClick: (I) => b(I, R, p, E)
13044
+ onClick: (I) => v(I, R, p, E)
13045
13045
  };
13046
13046
  return p === "right" && (A["kg-host-frm_id"] = a.formID, A["kg-var_name"] = R.var_nam), A;
13047
13047
  },
@@ -13079,7 +13079,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13079
13079
  selectedRowKeys: T,
13080
13080
  columnWidth: 32
13081
13081
  });
13082
- function b(p, T, E, C) {
13082
+ function v(p, T, E, C) {
13083
13083
  if (!KgDomUtil.isNotClickable(p.target, ["ant-input"]))
13084
13084
  switch (C.length = 0, p.detail) {
13085
13085
  case 1:
@@ -13197,10 +13197,10 @@ function _useDragToSortRow$1(e) {
13197
13197
  const d = document.createElement("span");
13198
13198
  d.setAttribute("id", "__kg_table__setting__columns__drag_image__");
13199
13199
  const {
13200
- width: b,
13200
+ width: v,
13201
13201
  height: _
13202
13202
  } = c.parentElement.getBoundingClientRect();
13203
- b && _ && (d.style.width = `${b + 2}px`, d.style.height = `${_ + 2}px`), (p = g.dataTransfer) == null || p.setDragImage(d, -10, (_ + 2) / 2);
13203
+ v && _ && (d.style.width = `${v + 2}px`, d.style.height = `${_ + 2}px`), (p = g.dataTransfer) == null || p.setDragImage(d, -10, (_ + 2) / 2);
13204
13204
  const m = await toCanvas(c.parentElement);
13205
13205
  d.appendChild(m), document.body.appendChild(d), (T = g.dataTransfer) == null || T.setDragImage(d, -10, (_ + 2) / 2);
13206
13206
  }, c.addEventListener("dragstart", c.__kg__dragstart__), c.__kg__dragend__ = (g) => {
@@ -13215,19 +13215,19 @@ function _useDragToSortRow$1(e) {
13215
13215
  if (a = filter((u = t.value) == null ? void 0 : u.querySelectorAll("& > li"), () => !0), a)
13216
13216
  for (let c of a)
13217
13217
  c.__kg__dragover__ = (g) => {
13218
- var d, b;
13219
- g.preventDefault(), Number(c.getAttribute("kg-index")) > ((d = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : Number(c.getAttribute("kg-index")) < ((b = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
13218
+ var d, v;
13219
+ g.preventDefault(), Number(c.getAttribute("kg-index")) > ((d = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : Number(c.getAttribute("kg-index")) < ((v = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
13220
13220
  }, c.addEventListener("dragover", c.__kg__dragover__, !1), c.__kg__dragenter__ = (g) => {
13221
- var d, b;
13222
- Number(c.getAttribute("kg-index")) > ((d = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : Number(c.getAttribute("kg-index")) < ((b = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
13221
+ var d, v;
13222
+ Number(c.getAttribute("kg-index")) > ((d = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : Number(c.getAttribute("kg-index")) < ((v = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
13223
13223
  }, c.addEventListener("dragenter", c.__kg__dragenter__), c.__kg__dragleave__ = (g) => {
13224
13224
  c.classList.remove("dragover", "dragover-right", "dragover-left");
13225
13225
  }, c.addEventListener("dragleave", c.__kg__dragleave__), c.__kg__drop__ = (g) => {
13226
13226
  g.preventDefault(), KgUtil.showLoading();
13227
13227
  const d = document.querySelector("#__kg_table__setting__columns__drag_image__");
13228
13228
  d && document.body.removeChild(d), c.classList.remove("dragover", "dragover-right", "dragover-left");
13229
- const b = i == null ? void 0 : i.getAttribute("kg-var_name"), _ = c.getAttribute("kg-var_name");
13230
- b !== _ && (r.store.dragSortCurrentVarGridDetails(r.formID, b, _), nextTick().finally(() => {
13229
+ const v = i == null ? void 0 : i.getAttribute("kg-var_name"), _ = c.getAttribute("kg-var_name");
13230
+ v !== _ && (r.store.dragSortCurrentVarGridDetails(r.formID, v, _), nextTick().finally(() => {
13231
13231
  KgUtil.hideLoading();
13232
13232
  }));
13233
13233
  }, c.addEventListener("drop", c.__kg__drop__);
@@ -13262,9 +13262,9 @@ const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save", KgTableSet
13262
13262
  KgUtil.showLoading();
13263
13263
  const a = inject(KG__DI__FORM_ID, null), n = useKg(), i = useKgVar(a), s = useKgVar(FORM_ID__VAR_GRID_MASTER__SAVE, !0, i.store.getLevel(i.formID) + 1);
13264
13264
  return s.kgSubmit.onOpen(async () => {
13265
- var l, u, c, g, d, b, _;
13265
+ var l, u, c, g, d, v, _;
13266
13266
  const o = i.currentVarGridMaster.value;
13267
- return s.kgSubmit.formModel.value && (s.kgSubmit.formModel.value.grd_var_nam = `${(l = o == null ? void 0 : o.grd_var_nam) != null ? l : ""}_COPY`, s.kgSubmit.formModel.value.grd_var_nam_dsc = `${(c = (u = o == null ? void 0 : o.grd_var_nam_dsc) != null ? u : o == null ? void 0 : o.grd_var_nam) != null ? c : ""}_COPY`, s.kgSubmit.formModel.value.frm_id = (g = o == null ? void 0 : o.frm_id) != null ? g : "", s.kgSubmit.formModel.value.usr_id = (d = o == null ? void 0 : o.usr_id) != null ? d : "", s.kgSubmit.formModel.value.grp_nam = (b = o == null ? void 0 : o.grp_nam) != null ? b : "", s.kgSubmit.formModel.value.varGridDetails = (_ = o == null ? void 0 : o.varGridDetails) != null ? _ : []), KgUtil.hideLoading(), !1;
13267
+ return s.kgSubmit.formModel.value && (s.kgSubmit.formModel.value.grd_var_nam = `${(l = o == null ? void 0 : o.grd_var_nam) != null ? l : ""}_COPY`, s.kgSubmit.formModel.value.grd_var_nam_dsc = `${(c = (u = o == null ? void 0 : o.grd_var_nam_dsc) != null ? u : o == null ? void 0 : o.grd_var_nam) != null ? c : ""}_COPY`, s.kgSubmit.formModel.value.frm_id = (g = o == null ? void 0 : o.frm_id) != null ? g : "", s.kgSubmit.formModel.value.usr_id = (d = o == null ? void 0 : o.usr_id) != null ? d : "", s.kgSubmit.formModel.value.grp_nam = (v = o == null ? void 0 : o.grp_nam) != null ? v : "", s.kgSubmit.formModel.value.varGridDetails = (_ = o == null ? void 0 : o.varGridDetails) != null ? _ : []), KgUtil.hideLoading(), !1;
13268
13268
  }), s.kgSubmit.onBeforeOk(async () => (s.kgSubmit.formModel.value, !1)), s.kgSubmit.onOk(async () => (message.success(n.t("kg.KgTable.save-var-grid-master-as-success-message")), i.requestAll({
13269
13269
  isForceRequest: !0
13270
13270
  }), !1)), s.kgSubmit.onClose(async () => (r("kgClose"), !1)), s.kgButton.setCurrentButton({
@@ -13294,9 +13294,9 @@ const getProps$w = () => ({
13294
13294
  visible: !1
13295
13295
  }), g = ref({
13296
13296
  visible: !1
13297
- }), d = computed(() => isNil(e.kgDisabled) ? !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value : e.kgDisabled), b = ref(null);
13297
+ }), d = computed(() => isNil(e.kgDisabled) ? !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value : e.kgDisabled), v = ref(null);
13298
13298
  _useObserveMenuItemColumns(o), ((P = (V = (I = (A = (R = a.option.value) == null ? void 0 : R.KgTable) == null ? void 0 : A.Setting) == null ? void 0 : I.columns) == null ? void 0 : V.dragToSort) == null ? void 0 : P.isOn) === !0 && _useDragToSortRow$1({
13299
- columnsRef: b
13299
+ columnsRef: v
13300
13300
  }), watch(o, (w) => {
13301
13301
  w || (l.value = "");
13302
13302
  }, {
@@ -13351,7 +13351,7 @@ const getProps$w = () => ({
13351
13351
  "onUpdate:value": (G) => l.value = G,
13352
13352
  allowClear: !0
13353
13353
  }, null), createVNode("ul", {
13354
- ref: b,
13354
+ ref: v,
13355
13355
  class: "ant-dropdown-menu ant-dropdown-menu-vertical"
13356
13356
  }, [(w = n.currentVarGridDetails.value) == null ? void 0 : w.map((G, L) => createVNode("li", {
13357
13357
  class: "ant-dropdown-menu-item ant-dropdown-menu-item-only-child",
@@ -13685,7 +13685,7 @@ const getProps$v = () => ({
13685
13685
  }
13686
13686
  });
13687
13687
  }
13688
- function b() {
13688
+ function v() {
13689
13689
  return createVNode(Menu.Item, {
13690
13690
  key: "fix-to-right"
13691
13691
  }, {
@@ -13780,7 +13780,7 @@ const getProps$v = () => ({
13780
13780
  triggerSubMenuAction: "click",
13781
13781
  selectable: !1
13782
13782
  }, {
13783
- default: () => [l(), u(), c(), g(), d(), b(), _()]
13783
+ default: () => [l(), u(), c(), g(), d(), v(), _()]
13784
13784
  })
13785
13785
  });
13786
13786
  }
@@ -13814,16 +13814,29 @@ const getProps$u = () => ({
13814
13814
  emit: r
13815
13815
  }) {
13816
13816
  const a = useKg(), n = useKgVar();
13817
- function i() {
13817
+ let i = 0;
13818
+ watch(n.kgTable.selectedRows, () => {
13819
+ i = 0;
13820
+ });
13821
+ function s() {
13818
13822
  n.kgTable.store.setSelectedRows(n.formID, []);
13819
13823
  }
13820
- function s() {
13824
+ function o() {
13821
13825
  n.kgTable.store.clearDatas(n.formID);
13822
13826
  }
13823
- function o() {
13827
+ function l() {
13828
+ var g, d, v, _;
13829
+ if (((_ = (v = (d = (g = a.option.value) == null ? void 0 : g.KgTable) == null ? void 0 : d.Info) == null ? void 0 : v.locateSelectedRows) == null ? void 0 : _.isOn) !== !0)
13830
+ return;
13831
+ const u = document.querySelectorAll(`.kg-table[kg-form_id="${n.formID}"] tr.ant-table-row-selected`);
13832
+ i >= u.length && (i = 0);
13833
+ const c = u[i];
13834
+ c && (c.scrollIntoView({
13835
+ block: "end"
13836
+ }), i += 1);
13824
13837
  }
13825
13838
  return () => {
13826
- let l, u, c;
13839
+ let u, c, g;
13827
13840
  return createVNode("div", {
13828
13841
  class: "kg-table-info"
13829
13842
  }, [createVNode("div", {
@@ -13835,25 +13848,25 @@ const getProps$u = () => ({
13835
13848
  }, [e.kgTotal]), a.t("kg.KgTableInfo.row")]), createVNode(Button.Group, null, {
13836
13849
  default: () => [e.kgShowClearCheck && createVNode(Button, {
13837
13850
  disabled: e.kgDisabled,
13838
- onClick: i,
13851
+ onClick: s,
13839
13852
  class: "btn-clear-check",
13840
13853
  type: "link"
13841
- }, _isSlot$6(l = a.t("kg.KgTableInfo.clearCheck")) ? l : {
13842
- default: () => [l]
13854
+ }, _isSlot$6(u = a.t("kg.KgTableInfo.clearCheck")) ? u : {
13855
+ default: () => [u]
13843
13856
  }), e.kgShowLocate && createVNode(Button, {
13844
- onClick: o,
13857
+ onClick: l,
13845
13858
  class: "btn-locate-check",
13846
13859
  type: "link"
13847
- }, _isSlot$6(u = a.t("kg.KgTableInfo.locate")) ? u : {
13848
- default: () => [u]
13860
+ }, _isSlot$6(c = a.t("kg.KgTableInfo.locate")) ? c : {
13861
+ default: () => [c]
13849
13862
  })]
13850
13863
  })]), e.kgShowClearTable && createVNode(Button, {
13851
13864
  disabled: e.kgDisabled,
13852
- onClick: s,
13865
+ onClick: o,
13853
13866
  class: "btn-clear-table",
13854
13867
  danger: !0
13855
- }, _isSlot$6(c = a.t("kg.KgTableInfo.clearTable")) ? c : {
13856
- default: () => [c]
13868
+ }, _isSlot$6(g = a.t("kg.KgTableInfo.clearTable")) ? g : {
13869
+ default: () => [g]
13857
13870
  })]);
13858
13871
  };
13859
13872
  }
@@ -14105,8 +14118,8 @@ const getProps$s = () => ({
14105
14118
  src: props.kgValue,
14106
14119
  width: g,
14107
14120
  height: d,
14108
- onClick: (b) => {
14109
- b.preventDefault(), b.stopPropagation();
14121
+ onClick: (v) => {
14122
+ v.preventDefault(), v.stopPropagation();
14110
14123
  }
14111
14124
  }, null);
14112
14125
  }
@@ -14178,7 +14191,7 @@ function _useRenderBodyCell() {
14178
14191
  value: c,
14179
14192
  renderIndex: o
14180
14193
  }) : d = c;
14181
- const b = createVNode(KgTableBodyCell, {
14194
+ const v = createVNode(KgTableBodyCell, {
14182
14195
  kgContext: i,
14183
14196
  kgRow: l,
14184
14197
  kgValue: d,
@@ -14186,7 +14199,7 @@ function _useRenderBodyCell() {
14186
14199
  onKgUpdateLinkClick: () => r(l)
14187
14200
  }, null);
14188
14201
  if (!((m = e == null ? void 0 : e.KgTable) != null && m.bodyCell))
14189
- return b;
14202
+ return v;
14190
14203
  const _ = g ? t.kgTable.getVarGridDetail({
14191
14204
  varName: g
14192
14205
  }) : null;
@@ -14198,7 +14211,7 @@ function _useRenderBodyCell() {
14198
14211
  value: c,
14199
14212
  row: l,
14200
14213
  varGridDetail: _,
14201
- defaultRender: b
14214
+ defaultRender: v
14202
14215
  });
14203
14216
  }
14204
14217
  return {
@@ -14213,7 +14226,7 @@ function _useColumns(e) {
14213
14226
  return ((c = r.store.getVarGridConfig(r.formID)) == null ? void 0 : c.show_check_column_flg) === 1;
14214
14227
  }), o = computed(() => {
14215
14228
  var p, T, E;
14216
- const c = useKg(), g = r.kgTable.datas.value, d = (p = r.kgTable.store.getTableWidth(r.formID)) != null ? p : 0, b = (T = r.store.getCurrentVisibleVarGridDetailsTotalWidth(r.formID)) != null ? T : 0, _ = r.store.getCurrentVisibleVarGridDetails(r.formID), m = [{
14229
+ const c = useKg(), g = r.kgTable.datas.value, d = (p = r.kgTable.store.getTableWidth(r.formID)) != null ? p : 0, v = (T = r.store.getCurrentVisibleVarGridDetailsTotalWidth(r.formID)) != null ? T : 0, _ = r.store.getCurrentVisibleVarGridDetails(r.formID), m = [{
14217
14230
  dataIndex: "index",
14218
14231
  width: KG_TABLE_TD_INDEX_WIDTH,
14219
14232
  fixed: "left",
@@ -14315,7 +14328,7 @@ function _useColumns(e) {
14315
14328
  }
14316
14329
  };
14317
14330
  })) != null ? E : []];
14318
- return (b === 0 || d > b && !(_ != null && _.find((C) => C.width === "auto"))) && m.push({
14331
+ return (v === 0 || d > v && !(_ != null && _.find((C) => C.width === "auto"))) && m.push({
14319
14332
  width: "auto",
14320
14333
  customRender: () => null
14321
14334
  }), m;
@@ -14369,7 +14382,7 @@ function _useDragColumn(e, t) {
14369
14382
  if (a = filter((o = e.value) == null ? void 0 : o.querySelectorAll("div.ant-table-header > table > thead > tr >th"), (l) => l.hasAttribute("kg-var_name")), a)
14370
14383
  for (let l of a)
14371
14384
  l.__kg__dragstart__ = (u) => {
14372
- var b;
14385
+ var v;
14373
14386
  n = l, l.classList.add("dragging"), l.parentElement.classList.add("dragging");
14374
14387
  const c = document.createElement("span");
14375
14388
  c.setAttribute("id", "__kg_table_header_drag_image__");
@@ -14377,7 +14390,7 @@ function _useDragColumn(e, t) {
14377
14390
  width: g,
14378
14391
  height: d
14379
14392
  } = l.getBoundingClientRect();
14380
- g && d && (c.style.width = `${g + 2}px`, c.style.height = `${d + 2}px`), (b = u.dataTransfer) == null || b.setDragImage(c, -10, (d + 2) / 2), toCanvas(l).then((_) => {
14393
+ g && d && (c.style.width = `${g + 2}px`, c.style.height = `${d + 2}px`), (v = u.dataTransfer) == null || v.setDragImage(c, -10, (d + 2) / 2), toCanvas(l).then((_) => {
14381
14394
  var m;
14382
14395
  c.appendChild(_), document.body.appendChild(c), (m = u.dataTransfer) == null || m.setDragImage(c, -10, (d + 2) / 2);
14383
14396
  });
@@ -14401,8 +14414,8 @@ function _useDragColumn(e, t) {
14401
14414
  u.preventDefault(), l.classList.remove("dragover", "dragover-right", "dragover-left");
14402
14415
  const c = n == null ? void 0 : n.getAttribute("kg-form_id"), g = l.getAttribute("kg-form_id");
14403
14416
  if (c === g) {
14404
- const d = n == null ? void 0 : n.getAttribute("kg-var_name"), b = l.getAttribute("kg-var_name");
14405
- d !== b && r.store.dragSortCurrentVarGridDetails(r.formID, d, b);
14417
+ const d = n == null ? void 0 : n.getAttribute("kg-var_name"), v = l.getAttribute("kg-var_name");
14418
+ d !== v && r.store.dragSortCurrentVarGridDetails(r.formID, d, v);
14406
14419
  }
14407
14420
  }, l.addEventListener("drop", l.__kg__drop__);
14408
14421
  }
@@ -14556,7 +14569,7 @@ const KgTable$1 = "", getProps$r = () => ({
14556
14569
  } = _useColumns(e), {
14557
14570
  isLoading: g
14558
14571
  } = _useLoading(), d = ref(null), {
14559
- renderBodyCell: b
14572
+ renderBodyCell: v
14560
14573
  } = _useRenderBodyCell();
14561
14574
  _useResizeObserver(d), _useDragColumn(d, o);
14562
14575
  const {
@@ -14965,7 +14978,7 @@ const KgTable$1 = "", getProps$r = () => ({
14965
14978
  onExpand: W
14966
14979
  }, {
14967
14980
  headerCell: X,
14968
- bodyCell: b,
14981
+ bodyCell: v,
14969
14982
  emptyText: ie,
14970
14983
  expandedRowRender: (F = r == null ? void 0 : r.KgTable) == null ? void 0 : F.expandedRowRender,
14971
14984
  summary: te
@@ -14976,7 +14989,7 @@ const KgTable$1 = "", getProps$r = () => ({
14976
14989
  }, [i.kgTable.isShowBottomLeft.value && createVNode(KgTableInfo, {
14977
14990
  kgShowClearCheck: P.value.length > 0,
14978
14991
  kgShowClearTable: w.total > 0,
14979
- kgShowLocate: P.value.length === 1,
14992
+ kgShowLocate: P.value.length > 0,
14980
14993
  kgTotal: P.value.length,
14981
14994
  kgDisabled: y.value
14982
14995
  }, null)]), createVNode("div", {
@@ -16108,10 +16121,10 @@ function _useDragToSortRow(e, t, r) {
16108
16121
  const d = document.createElement("span");
16109
16122
  d.setAttribute("id", "__kg_var_config__modal__search__var_profile_master__kg_submit__fields__drag_image__");
16110
16123
  const {
16111
- width: b,
16124
+ width: v,
16112
16125
  height: _
16113
16126
  } = c.parentElement.getBoundingClientRect();
16114
- b && _ && (d.style.width = `${b + 2}px`, d.style.height = `${_ + 2}px`), (p = g.dataTransfer) == null || p.setDragImage(d, -10, (_ + 2) / 2);
16127
+ v && _ && (d.style.width = `${v + 2}px`, d.style.height = `${_ + 2}px`), (p = g.dataTransfer) == null || p.setDragImage(d, -10, (_ + 2) / 2);
16115
16128
  const m = await toCanvas(c.parentElement);
16116
16129
  d.appendChild(m), document.body.appendChild(d), (T = g.dataTransfer) == null || T.setDragImage(d, -10, (_ + 2) / 2);
16117
16130
  }, c.addEventListener("dragstart", c.__kg__dragstart__), c.__kg__dragend__ = (g) => {
@@ -16126,19 +16139,19 @@ function _useDragToSortRow(e, t, r) {
16126
16139
  if (a = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"]`), () => !0), a)
16127
16140
  for (let c of a)
16128
16141
  c.__kg__dragover__ = (g) => {
16129
- var d, b;
16130
- g.preventDefault(), c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((b = i == null ? void 0 : i.rowIndex) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
16142
+ var d, v;
16143
+ g.preventDefault(), c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((v = i == null ? void 0 : i.rowIndex) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
16131
16144
  }, c.addEventListener("dragover", c.__kg__dragover__, !1), c.__kg__dragenter__ = (g) => {
16132
- var d, b;
16133
- c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((b = i == null ? void 0 : i.rowIndex) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
16145
+ var d, v;
16146
+ c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((v = i == null ? void 0 : i.rowIndex) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
16134
16147
  }, c.addEventListener("dragenter", c.__kg__dragenter__), c.__kg__dragleave__ = (g) => {
16135
16148
  c.classList.remove("dragover", "dragover-right", "dragover-left");
16136
16149
  }, c.addEventListener("dragleave", c.__kg__dragleave__), c.__kg__drop__ = (g) => {
16137
16150
  g.preventDefault();
16138
16151
  const d = document.querySelector("#__kg_var_config__modal__search__var_profile_master__kg_submit__fields__drag_image__");
16139
16152
  d && document.body.removeChild(d), c.classList.remove("dragover", "dragover-right", "dragover-left");
16140
- const b = i == null ? void 0 : i.getAttribute("kg-var_name"), _ = c.getAttribute("kg-var_name");
16141
- b !== _ && (KgUtil.showLoading(), l(b, _));
16153
+ const v = i == null ? void 0 : i.getAttribute("kg-var_name"), _ = c.getAttribute("kg-var_name");
16154
+ v !== _ && (KgUtil.showLoading(), l(v, _));
16142
16155
  }, c.addEventListener("drop", c.__kg__drop__);
16143
16156
  }
16144
16157
  function o() {
@@ -16157,12 +16170,12 @@ function _useDragToSortRow(e, t, r) {
16157
16170
  }
16158
16171
  function l(c, g) {
16159
16172
  setTimeout(() => {
16160
- const d = t.value.findIndex((p) => p.var_nam === c), b = t.value.findIndex((p) => p.var_nam === g);
16161
- if (d === -1 || b === -1)
16173
+ const d = t.value.findIndex((p) => p.var_nam === c), v = t.value.findIndex((p) => p.var_nam === g);
16174
+ if (d === -1 || v === -1)
16162
16175
  return;
16163
16176
  const _ = t.value.find((p) => p.var_nam === c), m = [];
16164
16177
  t.value.forEach((p, T) => {
16165
- d > b ? T < b ? m.push(p) : T === b ? (m.push(_), m.push(p)) : T > b && T !== d && m.push(p) : d < b && (T < d ? m.push(p) : T === d || (T === b ? (m.push(p), m.push(_)) : m.push(p)));
16178
+ d > v ? T < v ? m.push(p) : T === v ? (m.push(_), m.push(p)) : T > v && T !== d && m.push(p) : d < v && (T < d ? m.push(p) : T === d || (T === v ? (m.push(p), m.push(_)) : m.push(p)));
16166
16179
  }), m.forEach((p, T) => {
16167
16180
  p.srtseq = T + 1;
16168
16181
  }), t.value = m, nextTick().finally(() => {
@@ -16184,8 +16197,8 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
16184
16197
  name: "KgVarConfigModalSearchVarProfileMaster",
16185
16198
  props: getProps$m(),
16186
16199
  setup(e) {
16187
- var d, b;
16188
- const t = (b = inject(KG__DI__FORM_ID, null)) != null ? b : (d = inject(KG__DI__KG_VAR_CONFIG__HOST_FORM_ID, null)) == null ? void 0 : d.value, r = useKg(), a = useKgVar(t), n = useKgVar(FORM_ID__SEARCH__VAR_PROFILE_MASTER, !0, a ? a.store.getLevel(a.formID) + 1 : 1);
16200
+ var d, v;
16201
+ const t = (v = inject(KG__DI__FORM_ID, null)) != null ? v : (d = inject(KG__DI__KG_VAR_CONFIG__HOST_FORM_ID, null)) == null ? void 0 : d.value, r = useKg(), a = useKgVar(t), n = useKgVar(FORM_ID__SEARCH__VAR_PROFILE_MASTER, !0, a ? a.store.getLevel(a.formID) + 1 : 1);
16189
16202
  n.kgSearch.onReady(async () => (await n.store.patchVarProfileDetail(n.formID, "frm_id", {
16190
16203
  dft_val: a.formID
16191
16204
  }), !1)), n.kgSubmit.onOpen(async () => {
@@ -16429,13 +16442,13 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
16429
16442
  }) => {
16430
16443
  switch (d) {
16431
16444
  case "button_var_name":
16432
- return g.value = a.kgButton.varButtons.value.filter((b) => {
16445
+ return g.value = a.kgButton.varButtons.value.filter((v) => {
16433
16446
  var _;
16434
- return [KG__VAR_BUTTON__TYPE.CREATE, KG__VAR_BUTTON__TYPE.UPDATE, KG__VAR_BUTTON__TYPE.COPY, KG__VAR_BUTTON__TYPE.DELETE, KG__VAR_BUTTON__TYPE.OTHER].includes((_ = b.typ) != null ? _ : "");
16435
- }).map((b) => ({
16436
- value: b.var_nam,
16447
+ return [KG__VAR_BUTTON__TYPE.CREATE, KG__VAR_BUTTON__TYPE.UPDATE, KG__VAR_BUTTON__TYPE.COPY, KG__VAR_BUTTON__TYPE.DELETE, KG__VAR_BUTTON__TYPE.OTHER].includes((_ = v.typ) != null ? _ : "");
16448
+ }).map((v) => ({
16449
+ value: v.var_nam,
16437
16450
  label: a.kgButton.getButtonDescription({
16438
- varName: b.var_nam
16451
+ varName: v.var_nam
16439
16452
  })
16440
16453
  })), !0;
16441
16454
  }
@@ -16463,14 +16476,14 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
16463
16476
  }
16464
16477
  return !1;
16465
16478
  }), n.kgSubmit.onOpen(async () => {
16466
- var c, g, d, b;
16479
+ var c, g, d, v;
16467
16480
  switch (!0) {
16468
16481
  case n.isCreating.value: {
16469
16482
  n.kgSubmit.formModel.value && (n.kgSubmit.formModel.value.frm_id = t), s((c = n.kgSubmit.formModel.value) == null ? void 0 : c.display_type), o((g = n.kgSubmit.formModel.value) == null ? void 0 : g.layout);
16470
16483
  break;
16471
16484
  }
16472
16485
  case n.isUpdating.value: {
16473
- s((d = n.kgSubmit.formModel.value) == null ? void 0 : d.display_type), o((b = n.kgSubmit.formModel.value) == null ? void 0 : b.layout);
16486
+ s((d = n.kgSubmit.formModel.value) == null ? void 0 : d.display_type), o((v = n.kgSubmit.formModel.value) == null ? void 0 : v.layout);
16474
16487
  break;
16475
16488
  }
16476
16489
  }
@@ -16845,10 +16858,10 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
16845
16858
  case KG_FORM_CONTEXT.SEARCH: {
16846
16859
  switch (u) {
16847
16860
  case "button_var_name":
16848
- return l.value = r.kgButton.varButtons.value.map((b) => ({
16849
- value: b.var_nam,
16861
+ return l.value = r.kgButton.varButtons.value.map((v) => ({
16862
+ value: v.var_nam,
16850
16863
  label: r.kgButton.getButtonDescription({
16851
- varName: b.var_nam
16864
+ varName: v.var_nam
16852
16865
  })
16853
16866
  })), !0;
16854
16867
  }
@@ -16866,23 +16879,23 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
16866
16879
  label: `${t.t("kg.KgVarConfig.currentForm")} \uFF08${e == null ? void 0 : e.value}\uFF09`
16867
16880
  }], !0;
16868
16881
  case "locale_id": {
16869
- const b = [{
16882
+ const v = [{
16870
16883
  value: "ALL",
16871
16884
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
16872
16885
  }, {
16873
16886
  value: (c = t.locale) == null ? void 0 : c.value,
16874
16887
  label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(g = t.locale) == null ? void 0 : g.value}\uFF09`
16875
16888
  }], _ = a.kgSubmit.formModel.value.locale_id;
16876
- return _ !== ((d = t.locale) == null ? void 0 : d.value) && _ !== "ALL" && b.push({
16889
+ return _ !== ((d = t.locale) == null ? void 0 : d.value) && _ !== "ALL" && v.push({
16877
16890
  value: _,
16878
16891
  label: _
16879
- }), l.value = b, !0;
16892
+ }), l.value = v, !0;
16880
16893
  }
16881
16894
  case "button_var_name":
16882
- return l.value = r.kgButton.varButtons.value.map((b) => ({
16883
- value: b.var_nam,
16895
+ return l.value = r.kgButton.varButtons.value.map((v) => ({
16896
+ value: v.var_nam,
16884
16897
  label: r.kgButton.getButtonDescription({
16885
- varName: b.var_nam
16898
+ varName: v.var_nam
16886
16899
  })
16887
16900
  })), !0;
16888
16901
  }
@@ -16968,10 +16981,10 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
16968
16981
  }, {
16969
16982
  value: (u = t.locale) == null ? void 0 : u.value,
16970
16983
  label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(c = t.locale) == null ? void 0 : c.value}\uFF09`
16971
- }], b = a.kgSubmit.formModel.value.locale_id;
16972
- return b !== ((g = t.locale) == null ? void 0 : g.value) && b !== "ALL" && d.push({
16973
- value: b,
16974
- label: b
16984
+ }], v = a.kgSubmit.formModel.value.locale_id;
16985
+ return v !== ((g = t.locale) == null ? void 0 : g.value) && v !== "ALL" && d.push({
16986
+ value: v,
16987
+ label: v
16975
16988
  }), o.value = d, !0;
16976
16989
  }
16977
16990
  }
@@ -17037,7 +17050,7 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17037
17050
  response: u,
17038
17051
  varName: c
17039
17052
  }) => {
17040
- var g, d, b;
17053
+ var g, d, v;
17041
17054
  switch (c) {
17042
17055
  case "frm_id":
17043
17056
  return u.value = [{
@@ -17055,7 +17068,7 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17055
17068
  value: (g = t.locale) == null ? void 0 : g.value,
17056
17069
  label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(d = t.locale) == null ? void 0 : d.value}\uFF09`
17057
17070
  }], m = a.kgSubmit.formModel.value.locale_id;
17058
- return m !== ((b = t.locale) == null ? void 0 : b.value) && m !== "ALL" && _.push({
17071
+ return m !== ((v = t.locale) == null ? void 0 : v.value) && m !== "ALL" && _.push({
17059
17072
  value: m,
17060
17073
  label: m
17061
17074
  }), u.value = _, !0;
@@ -17107,8 +17120,8 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17107
17120
  })[0]) != null ? m : null;
17108
17121
  if ((g == null ? void 0 : g.visible_flag) !== 1)
17109
17122
  return Promise.resolve();
17110
- const d = (p = a.kgSubmit.formModel.value) == null ? void 0 : p.min, b = (T = a.kgSubmit.formModel.value) == null ? void 0 : T.max;
17111
- return !isNil(b) && !isNil(d) && Number(b) < Number(d) ? Promise.reject(t.t("kg.KgVarConfig.formValidationMessageForMaxAndMin")) : Promise.resolve();
17123
+ const d = (p = a.kgSubmit.formModel.value) == null ? void 0 : p.min, v = (T = a.kgSubmit.formModel.value) == null ? void 0 : T.max;
17124
+ return !isNil(v) && !isNil(d) && Number(v) < Number(d) ? Promise.reject(t.t("kg.KgVarConfig.formValidationMessageForMaxAndMin")) : Promise.resolve();
17112
17125
  }
17113
17126
  }],
17114
17127
  max_length: [{
@@ -17120,8 +17133,8 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17120
17133
  })[0]) != null ? m : null;
17121
17134
  if ((g == null ? void 0 : g.visible_flag) !== 1)
17122
17135
  return Promise.resolve();
17123
- const d = (p = a.kgSubmit.formModel.value) == null ? void 0 : p.min_length, b = (T = a.kgSubmit.formModel.value) == null ? void 0 : T.max_length;
17124
- return !isNil(b) && !isNil(d) && Number(b) < Number(d) ? Promise.reject(t.t("kg.KgVarConfig.formValidationMessageForMaxLengthAndMinLength")) : Promise.resolve();
17136
+ const d = (p = a.kgSubmit.formModel.value) == null ? void 0 : p.min_length, v = (T = a.kgSubmit.formModel.value) == null ? void 0 : T.max_length;
17137
+ return !isNil(v) && !isNil(d) && Number(v) < Number(d) ? Promise.reject(t.t("kg.KgVarConfig.formValidationMessageForMaxLengthAndMinLength")) : Promise.resolve();
17125
17138
  }
17126
17139
  }]
17127
17140
  }, !1)), a.kgSubmit.onOk(async ({}) => (r.requestAll({
@@ -17425,7 +17438,7 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17425
17438
  response: c,
17426
17439
  varName: g
17427
17440
  }) => {
17428
- var d, b, _;
17441
+ var d, v, _;
17429
17442
  switch (u) {
17430
17443
  case KG_FORM_CONTEXT.SEARCH:
17431
17444
  break;
@@ -17446,7 +17459,7 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17446
17459
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
17447
17460
  }, {
17448
17461
  value: (d = t.locale) == null ? void 0 : d.value,
17449
- label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(b = t.locale) == null ? void 0 : b.value}\uFF09`
17462
+ label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(v = t.locale) == null ? void 0 : v.value}\uFF09`
17450
17463
  }], p = a.kgSubmit.formModel.value.locale_id;
17451
17464
  return p !== ((_ = t.locale) == null ? void 0 : _.value) && p !== "ALL" && m.push({
17452
17465
  value: p,
@@ -17519,7 +17532,7 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17519
17532
  }
17520
17533
  }
17521
17534
  })), l = debounce(async (u) => {
17522
- var g, d, b, _, m, p, T, E, C;
17535
+ var g, d, v, _, m, p, T, E, C;
17523
17536
  const {
17524
17537
  lookupID: c
17525
17538
  } = u != null ? u : {};
@@ -17530,7 +17543,7 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17530
17543
  params: {
17531
17544
  frm_id: c
17532
17545
  }
17533
- }), O = (m = (_ = ((g = y.varGridMasters) == null ? void 0 : g.find((k) => k.def_flg === 1)) || ((d = y.varGridMasters) == null ? void 0 : d.find((k) => k.cust_lvl === KG_CUSTOM_LEVEL.L0)) || ((b = y.varGridMasters) == null ? void 0 : b.find(() => !0))) == null ? void 0 : _.id) != null ? m : null;
17546
+ }), O = (m = (_ = ((g = y.varGridMasters) == null ? void 0 : g.find((k) => k.def_flg === 1)) || ((d = y.varGridMasters) == null ? void 0 : d.find((k) => k.cust_lvl === KG_CUSTOM_LEVEL.L0)) || ((v = y.varGridMasters) == null ? void 0 : v.find(() => !0))) == null ? void 0 : _.id) != null ? m : null;
17534
17547
  s.value = uniq(compact((C = (E = (T = (p = y.varGridMasters) == null ? void 0 : p.find((k) => k.id === O)) == null ? void 0 : T.varGridDetails) == null ? void 0 : E.map((k) => {
17535
17548
  var R;
17536
17549
  return (R = k.var_nam) != null ? R : "";
@@ -17592,17 +17605,17 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17592
17605
  label: `${t.t("kg.KgVarConfig.currentForm")} \uFF08${e == null ? void 0 : e.value}\uFF09`
17593
17606
  }], !0;
17594
17607
  case "locale_id": {
17595
- const b = [{
17608
+ const v = [{
17596
17609
  value: "ALL",
17597
17610
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
17598
17611
  }, {
17599
17612
  value: (c = t.locale) == null ? void 0 : c.value,
17600
17613
  label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(g = t.locale) == null ? void 0 : g.value}\uFF09`
17601
17614
  }], _ = a.kgSubmit.formModel.value.locale_id;
17602
- return _ !== ((d = t.locale) == null ? void 0 : d.value) && _ !== "ALL" && b.push({
17615
+ return _ !== ((d = t.locale) == null ? void 0 : d.value) && _ !== "ALL" && v.push({
17603
17616
  value: _,
17604
17617
  label: _
17605
- }), l.value = b, !0;
17618
+ }), l.value = v, !0;
17606
17619
  }
17607
17620
  }
17608
17621
  break;
@@ -17837,17 +17850,17 @@ const getProps$m = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17837
17850
  label: `${t.t("kg.KgVarConfig.currentForm")} \uFF08${e == null ? void 0 : e.value}\uFF09`
17838
17851
  }], !0;
17839
17852
  case "locale_id": {
17840
- const b = [{
17853
+ const v = [{
17841
17854
  value: "ALL",
17842
17855
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
17843
17856
  }, {
17844
17857
  value: (c = t.locale) == null ? void 0 : c.value,
17845
17858
  label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(g = t.locale) == null ? void 0 : g.value}\uFF09`
17846
17859
  }], _ = a.kgSubmit.formModel.value.locale_id;
17847
- return _ !== ((d = t.locale) == null ? void 0 : d.value) && _ !== "ALL" && b.push({
17860
+ return _ !== ((d = t.locale) == null ? void 0 : d.value) && _ !== "ALL" && v.push({
17848
17861
  value: _,
17849
17862
  label: _
17850
- }), l.value = b, !0;
17863
+ }), l.value = v, !0;
17851
17864
  }
17852
17865
  }
17853
17866
  break;
@@ -18633,7 +18646,7 @@ const useKgVarStore = defineStore("KgVar", {
18633
18646
  }
18634
18647
  const o = (u = this.varConfigControlMap.get(e)) != null ? u : [];
18635
18648
  if (s !== void 0)
18636
- return (c = o.find((b) => b.button_var_name === s && b.var_nam === n)) != null ? c : null;
18649
+ return (c = o.find((v) => v.button_var_name === s && v.var_nam === n)) != null ? c : null;
18637
18650
  if (s === void 0 && r === KG__VAR_BUTTON__TYPE.OTHER)
18638
18651
  return KgLogger.error(
18639
18652
  `${e} | KgVar.store.getVarConfigControl() | \u53C2\u6570 param.buttonType \u4E3A KG__VAR_BUTTON__TYPE.OTHER \u65F6, \u53C2\u6570 param.buttonVarName \u4E0D\u80FD\u4E3A\u7A7A.`,
@@ -18651,8 +18664,8 @@ const useKgVarStore = defineStore("KgVar", {
18651
18664
  }
18652
18665
  ), null;
18653
18666
  if (s === void 0 && r !== void 0) {
18654
- const b = (g = this.varButtonMap.get(e)) == null ? void 0 : g.find((_) => _.typ === r);
18655
- return b ? (d = o.find((_) => _.button_var_name === (b == null ? void 0 : b.var_nam) && _.var_nam === n)) != null ? d : null : (KgLogger.error(`${e} | KgVar.store.getVarConfigControl() | \u7C7B\u578B\u4E3A\u300C${r}\u300D\u7684\u6309\u94AE\u4E0D\u5B58\u5728.`, {
18667
+ const v = (g = this.varButtonMap.get(e)) == null ? void 0 : g.find((_) => _.typ === r);
18668
+ return v ? (d = o.find((_) => _.button_var_name === (v == null ? void 0 : v.var_nam) && _.var_nam === n)) != null ? d : null : (KgLogger.error(`${e} | KgVar.store.getVarConfigControl() | \u7C7B\u578B\u4E3A\u300C${r}\u300D\u7684\u6309\u94AE\u4E0D\u5B58\u5728.`, {
18656
18669
  formID: e,
18657
18670
  param: t
18658
18671
  }), null);
@@ -18930,7 +18943,7 @@ const useKgVarStore = defineStore("KgVar", {
18930
18943
  const {
18931
18944
  varConfigDescriptions: g,
18932
18945
  varConfigLookups: d,
18933
- varConfigControls: b,
18946
+ varConfigControls: v,
18934
18947
  varConfigInputs: _,
18935
18948
  varConfigPossibilities: m,
18936
18949
  varConfigTips: p,
@@ -18944,7 +18957,7 @@ const useKgVarStore = defineStore("KgVar", {
18944
18957
  varGridMasters: A,
18945
18958
  varVariables: I
18946
18959
  } = await GetAll({ params: { frm_id: e } });
18947
- this.varVariableMap.set(e, I != null ? I : []), this.varConfigDescriptionMap.set(e, g != null ? g : []), this.varConfigControlMap.set(e, b != null ? b : []), this.varConfigInputMap.set(e, _ != null ? _ : []), this.varConfigPossibilityMap.set(e, transformVarConfigPossibilities(m != null ? m : [])), this.varConfigLookupMap.set(e, d != null ? d : []), this.varConfigTipMap.set(e, p != null ? p : []), this.varButtonMap.set(e, transformVarButtons(E)), this.varButtonConfigMap.set(e, transformVarButtonConfig(T != null ? T : null)), this.varSubmitConfigMap.set(e, transformVarSubmitConfigs(C)), this.varSubmitDetailMap.set(e, transformVarSubmitDetails(y)), this.varProfileConfigMap.set(e, transformVarProfileConfig(O != null ? O : null)), this.varProfileMasterMap.set(e, {
18960
+ this.varVariableMap.set(e, I != null ? I : []), this.varConfigDescriptionMap.set(e, g != null ? g : []), this.varConfigControlMap.set(e, v != null ? v : []), this.varConfigInputMap.set(e, _ != null ? _ : []), this.varConfigPossibilityMap.set(e, transformVarConfigPossibilities(m != null ? m : [])), this.varConfigLookupMap.set(e, d != null ? d : []), this.varConfigTipMap.set(e, p != null ? p : []), this.varButtonMap.set(e, transformVarButtons(E)), this.varButtonConfigMap.set(e, transformVarButtonConfig(T != null ? T : null)), this.varSubmitConfigMap.set(e, transformVarSubmitConfigs(C)), this.varSubmitDetailMap.set(e, transformVarSubmitDetails(y)), this.varProfileConfigMap.set(e, transformVarProfileConfig(O != null ? O : null)), this.varProfileMasterMap.set(e, {
18948
18961
  varProfileMasters: transformVarProfileMasterDTOs(k),
18949
18962
  currentVarProfileMasterID: (i = (n = (k == null ? void 0 : k.find((P) => P.id === this.getCurrentVarProfileMasterID(e))) || (k == null ? void 0 : k.find((P) => P.def_flg === 1)) || (k == null ? void 0 : k.find((P) => P.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (k == null ? void 0 : k.find(() => !0))) == null ? void 0 : n.id) != null ? i : null
18950
18963
  }), this.varGridConfigMap.set(e, transformVarGridConfig(R != null ? R : null)), this.varGridMasterMap.set(e, {
@@ -19068,7 +19081,7 @@ function useKgVar(e, t, r = 0) {
19068
19081
  var m, p, T, E, C;
19069
19082
  s.dispose(i), (m = l == null ? void 0 : l.store) == null || m.dispose(i), (p = u == null ? void 0 : u.store) == null || p.dispose(i), (T = c == null ? void 0 : c.store) == null || T.dispose(i), (E = g == null ? void 0 : g.store) == null || E.dispose(i), (C = d == null ? void 0 : d.store) == null || C.dispose(i);
19070
19083
  }));
19071
- let l = null, u = null, c = null, g = null, d = null, b = null, _ = {
19084
+ let l = null, u = null, c = null, g = null, d = null, v = null, _ = {
19072
19085
  currentVarGridDetails: computed(() => s.getCurrentVarGridDetails(i)),
19073
19086
  currentVarGridMasteID: computed(() => s.getCurrentVarGridMasterID(i)),
19074
19087
  currentVarGridMaster: computed(() => s.getCurrentVarGridMaster(i)),
@@ -19130,7 +19143,7 @@ function useKgVar(e, t, r = 0) {
19130
19143
  case "kgTable":
19131
19144
  return d || (d = useKgTable(i)), d;
19132
19145
  case "kgVarConfig":
19133
- return b || (b = useKgVarConfig(i)), b;
19146
+ return v || (v = useKgVarConfig(i)), v;
19134
19147
  }
19135
19148
  return Reflect.get(m, p);
19136
19149
  }
@@ -19151,25 +19164,25 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19151
19164
  }) {
19152
19165
  provide(KG__DI__KG_VAR__KG_PROPS, computed(() => e.kgProps)), provide(KG__DI__KG_VAR__KG_SLOTS, e.kgSlots);
19153
19166
  const r = useKg(), a = useKgVar(), n = computed(() => a.store.getVarProfileConfig(a.formID)), i = computed(() => a.store.getVarGridConfig(a.formID)), s = computed(() => !a.isRequested.value || a.kgButton.isCurrentButtonClickIntercepted.value ? !1 : !!a.kgButton.currentButton.value && !!a.kgSubmit.currentVarSubmitConfig.value ? !0 : (!!a.kgButton.currentButton.value && !a.kgSubmit.currentVarSubmitConfig.value && (a.kgButton.setCurrentButton(null), message.error(r.t("kg.KgButton.noVarSubmitConfig"))), !1)), o = computed(() => {
19154
- var b;
19155
- return !(!a.isRequested.value || ((b = n.value) == null ? void 0 : b.available_flg) === 0);
19167
+ var v;
19168
+ return !(!a.isRequested.value || ((v = n.value) == null ? void 0 : v.available_flg) === 0);
19156
19169
  }), l = computed(() => {
19157
- var b;
19158
- return !(!a.isRequested.value || ((b = a.kgButton.varButtonConfig.value) == null ? void 0 : b.available_flg) === 0);
19170
+ var v;
19171
+ return !(!a.isRequested.value || ((v = a.kgButton.varButtonConfig.value) == null ? void 0 : v.available_flg) === 0);
19159
19172
  }), u = computed(() => {
19160
- var b;
19161
- return !(!a.isRequested.value || ((b = i.value) == null ? void 0 : b.available_flg) === 0);
19173
+ var v;
19174
+ return !(!a.isRequested.value || ((v = i.value) == null ? void 0 : v.available_flg) === 0);
19162
19175
  }), c = computed(() => !!a.isOtherRequesting.value), g = computed(() => {
19163
- let b = "kg-var";
19164
- return e.KgBackgroundGray && (b += " kg-var--bg-gray"), !o.value && !l.value && !u.value && (b += " kg-var--empty"), b;
19176
+ let v = "kg-var";
19177
+ return e.KgBackgroundGray && (v += " kg-var--bg-gray"), !o.value && !l.value && !u.value && (v += " kg-var--empty"), v;
19165
19178
  });
19166
19179
  function d() {
19167
19180
  return createVNode(Spin, {
19168
19181
  spinning: c.value
19169
19182
  }, {
19170
19183
  default: () => {
19171
- var b, _;
19172
- return [t.default ? t.default() : createVNode(Fragment, null, [o.value && createVNode(KgSearch, null, null), l.value && createVNode(KgButton, null, null), u.value && createVNode(Fragment, null, [createVNode(KgTable, null, null), (_ = (b = e.kgSlots) == null ? void 0 : b.afterKgTable) == null ? void 0 : _.call(b)]), s.value && createVNode(KgSubmit, null, null)])];
19184
+ var v, _;
19185
+ return [t.default ? t.default() : createVNode(Fragment, null, [o.value && createVNode(KgSearch, null, null), l.value && createVNode(KgButton, null, null), u.value && createVNode(Fragment, null, [createVNode(KgTable, null, null), (_ = (v = e.kgSlots) == null ? void 0 : v.afterKgTable) == null ? void 0 : _.call(v)]), s.value && createVNode(KgSubmit, null, null)])];
19173
19186
  }
19174
19187
  });
19175
19188
  }
@@ -19214,8 +19227,8 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19214
19227
  }
19215
19228
  });
19216
19229
  const n = computed(() => a.store.getVarButton(a.formID, e.kgVarName)), i = computed(() => {
19217
- var u, c, g, d, b, _, m, p;
19218
- return isNil(e.kgDisabled) ? !!(a.isCreating.value || a.isUpdating.value || a.isDeleting.value || a.kgTable.isRetrieving.value || ((u = n.value) == null ? void 0 : u.dis_no_select_flg) === 1 && ((g = (c = a.kgTable.selectedRows.value) == null ? void 0 : c.length) != null ? g : 0) === 0 || ((d = n.value) == null ? void 0 : d.dis_mult_select_flg) === 1 && ((_ = (b = a.kgTable.selectedRows.value) == null ? void 0 : b.length) != null ? _ : 0) > 1 || KgAuthUtil.getPermissionType((m = n.value) == null ? void 0 : m.permission_code) === 2 && !r.p((p = n.value) == null ? void 0 : p.permission_code)) : e.kgDisabled;
19230
+ var u, c, g, d, v, _, m, p;
19231
+ return isNil(e.kgDisabled) ? !!(a.isCreating.value || a.isUpdating.value || a.isDeleting.value || a.kgTable.isRetrieving.value || ((u = n.value) == null ? void 0 : u.dis_no_select_flg) === 1 && ((g = (c = a.kgTable.selectedRows.value) == null ? void 0 : c.length) != null ? g : 0) === 0 || ((d = n.value) == null ? void 0 : d.dis_mult_select_flg) === 1 && ((_ = (v = a.kgTable.selectedRows.value) == null ? void 0 : v.length) != null ? _ : 0) > 1 || KgAuthUtil.getPermissionType((m = n.value) == null ? void 0 : m.permission_code) === 2 && !r.p((p = n.value) == null ? void 0 : p.permission_code)) : e.kgDisabled;
19219
19232
  });
19220
19233
  async function s() {
19221
19234
  if (e.onKgClick && await e.onKgClick()) {
@@ -19251,13 +19264,13 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19251
19264
  return e.kgText ? e.kgText : r.t("kg.copy");
19252
19265
  }
19253
19266
  return () => {
19254
- var u, c, g, d, b, _;
19267
+ var u, c, g, d, v, _;
19255
19268
  return createVNode(Button, {
19256
19269
  "kg-id": (u = n.value) == null ? void 0 : u.id,
19257
19270
  "kg-form_id": (c = n.value) == null ? void 0 : c.frm_id,
19258
19271
  "kg-var_name": (g = n.value) == null ? void 0 : g.var_nam,
19259
19272
  "kg-cmd": (d = n.value) == null ? void 0 : d.cmd,
19260
- "kg-permission": (_ = (b = n.value) == null ? void 0 : b.permission_code) != null ? _ : "",
19273
+ "kg-permission": (_ = (v = n.value) == null ? void 0 : v.permission_code) != null ? _ : "",
19261
19274
  type: "primary",
19262
19275
  disabled: i.value,
19263
19276
  ghost: !e.kgPrimary && !i.value,
@@ -19328,7 +19341,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19328
19341
  icon: "ant-design:plus-outlined"
19329
19342
  }, null);
19330
19343
  }
19331
- function b() {
19344
+ function v() {
19332
19345
  return e.kgText ? e.kgText : n.t("kg.create");
19333
19346
  }
19334
19347
  function _() {
@@ -19346,7 +19359,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19346
19359
  onClick: u,
19347
19360
  class: a.class
19348
19361
  }, {
19349
- default: () => [d(), b()]
19362
+ default: () => [d(), v()]
19350
19363
  });
19351
19364
  }
19352
19365
  function m() {
@@ -19383,8 +19396,8 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19383
19396
  }
19384
19397
  });
19385
19398
  const a = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), n = computed(() => {
19386
- var l, u, c, g, d, b, _, m;
19387
- return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.kgTable.isRetrieving.value || ((l = a.value) == null ? void 0 : l.dis_no_select_flg) === 1 && ((c = (u = r.kgTable.selectedRows.value) == null ? void 0 : u.length) != null ? c : 0) === 0 || ((g = a.value) == null ? void 0 : g.dis_mult_select_flg) === 1 && ((b = (d = r.kgTable.selectedRows.value) == null ? void 0 : d.length) != null ? b : 0) > 1 || KgAuthUtil.getPermissionType((_ = a.value) == null ? void 0 : _.permission_code) === 2 && !t.p((m = a.value) == null ? void 0 : m.permission_code)) : e.kgDisabled;
19399
+ var l, u, c, g, d, v, _, m;
19400
+ return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.kgTable.isRetrieving.value || ((l = a.value) == null ? void 0 : l.dis_no_select_flg) === 1 && ((c = (u = r.kgTable.selectedRows.value) == null ? void 0 : u.length) != null ? c : 0) === 0 || ((g = a.value) == null ? void 0 : g.dis_mult_select_flg) === 1 && ((v = (d = r.kgTable.selectedRows.value) == null ? void 0 : d.length) != null ? v : 0) > 1 || KgAuthUtil.getPermissionType((_ = a.value) == null ? void 0 : _.permission_code) === 2 && !t.p((m = a.value) == null ? void 0 : m.permission_code)) : e.kgDisabled;
19388
19401
  });
19389
19402
  async function i() {
19390
19403
  if (e.onKgClick && await e.onKgClick()) {
@@ -19420,13 +19433,13 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19420
19433
  return e.kgText ? e.kgText : t.t("kg.delete");
19421
19434
  }
19422
19435
  return () => {
19423
- var l, u, c, g, d, b;
19436
+ var l, u, c, g, d, v;
19424
19437
  return createVNode(Button, {
19425
19438
  "kg-id": (l = a.value) == null ? void 0 : l.id,
19426
19439
  "kg-form_id": (u = a.value) == null ? void 0 : u.frm_id,
19427
19440
  "kg-var_name": (c = a.value) == null ? void 0 : c.var_nam,
19428
19441
  "kg-cmd": (g = a.value) == null ? void 0 : g.cmd,
19429
- "kg-permission": (b = (d = a.value) == null ? void 0 : d.permission_code) != null ? b : "",
19442
+ "kg-permission": (v = (d = a.value) == null ? void 0 : d.permission_code) != null ? v : "",
19430
19443
  type: "primary",
19431
19444
  disabled: n.value,
19432
19445
  danger: e.kgColor === KG__VAR_BUTTON__COLOR.RED || !e.kgColor,
@@ -19443,36 +19456,36 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19443
19456
  setup(e) {
19444
19457
  const t = inject("$dayjs", dayjs), r = useKg(), a = useKgVar();
19445
19458
  a.kgButton.store.$onAction(async ({
19446
- name: b,
19459
+ name: v,
19447
19460
  args: _
19448
19461
  }) => {
19449
- switch (b) {
19462
+ switch (v) {
19450
19463
  case "click":
19451
19464
  _[0] === a.formID && _[1] === KG__VAR_BUTTON__TYPE.EXPORT && await c();
19452
19465
  break;
19453
19466
  }
19454
19467
  });
19455
19468
  const n = computed(() => a.store.getVarButton(a.formID, e.kgVarName)), i = computed(() => {
19456
- var b, _;
19457
- return n.value ? (_ = (b = n.value) == null ? void 0 : b.cmd) != null ? _ : "" : null;
19469
+ var v, _;
19470
+ return n.value ? (_ = (v = n.value) == null ? void 0 : v.cmd) != null ? _ : "" : null;
19458
19471
  }), s = computed(() => {
19459
- var b, _;
19460
- return (_ = (b = n.value) == null ? void 0 : b.cmd_method) != null ? _ : "GET";
19472
+ var v, _;
19473
+ return (_ = (v = n.value) == null ? void 0 : v.cmd_method) != null ? _ : "GET";
19461
19474
  }), o = computed(() => {
19462
19475
  var _, m;
19463
- let b = {
19476
+ let v = {
19464
19477
  ...a.kgTable.requestParams.value
19465
19478
  };
19466
- return n.value && (b = {
19467
- ...b,
19479
+ return n.value && (v = {
19480
+ ...v,
19468
19481
  ...KgVarUtil.parseRequestParamsToJSON((m = (_ = n.value) == null ? void 0 : _.cmd_prm) != null ? m : "")
19469
- }), b;
19482
+ }), v;
19470
19483
  }), l = computed(() => {
19471
- var b, _, m, p, T, E, C, y;
19472
- return isNil(e.kgDisabled) ? !!(a.isCreating.value || a.isUpdating.value || a.isCopying.value || a.isDeleting.value || a.kgTable.isRetrieving.value || ((b = n.value) == null ? void 0 : b.dis_no_select_flg) === 1 && ((m = (_ = a.kgTable.selectedRows.value) == null ? void 0 : _.length) != null ? m : 0) === 0 || ((p = n.value) == null ? void 0 : p.dis_mult_select_flg) === 1 && ((E = (T = a.kgTable.selectedRows.value) == null ? void 0 : T.length) != null ? E : 0) > 1 || KgAuthUtil.getPermissionType((C = n.value) == null ? void 0 : C.permission_code) === 2 && !r.p((y = n.value) == null ? void 0 : y.permission_code)) : e.kgDisabled;
19484
+ var v, _, m, p, T, E, C, y;
19485
+ return isNil(e.kgDisabled) ? !!(a.isCreating.value || a.isUpdating.value || a.isCopying.value || a.isDeleting.value || a.kgTable.isRetrieving.value || ((v = n.value) == null ? void 0 : v.dis_no_select_flg) === 1 && ((m = (_ = a.kgTable.selectedRows.value) == null ? void 0 : _.length) != null ? m : 0) === 0 || ((p = n.value) == null ? void 0 : p.dis_mult_select_flg) === 1 && ((E = (T = a.kgTable.selectedRows.value) == null ? void 0 : T.length) != null ? E : 0) > 1 || KgAuthUtil.getPermissionType((C = n.value) == null ? void 0 : C.permission_code) === 2 && !r.p((y = n.value) == null ? void 0 : y.permission_code)) : e.kgDisabled;
19473
19486
  }), u = ref(!1);
19474
19487
  async function c() {
19475
- var b, _, m, p, T;
19488
+ var v, _, m, p, T;
19476
19489
  if (e.onKgClick && await e.onKgClick()) {
19477
19490
  a.kgButton.setIsClickIntercepted({
19478
19491
  type: KG__VAR_BUTTON__TYPE.EXPORT,
@@ -19495,7 +19508,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19495
19508
  url: i.value,
19496
19509
  method: s.value,
19497
19510
  params: KgUtil.parseParams(o.value, a.kgTable.kgSearchFormID.value, t),
19498
- data: (b = a.kgTable.selectedRows.value) != null ? b : [],
19511
+ data: (v = a.kgTable.selectedRows.value) != null ? v : [],
19499
19512
  responseType: "blob"
19500
19513
  }, {
19501
19514
  isTransformResponse: !1
@@ -19530,9 +19543,9 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19530
19543
  return e.kgText ? e.kgText : r.t("kg.export");
19531
19544
  }
19532
19545
  return () => {
19533
- var b, _, m, p, T, E;
19546
+ var v, _, m, p, T, E;
19534
19547
  return createVNode(Button, {
19535
- "kg-id": (b = n.value) == null ? void 0 : b.id,
19548
+ "kg-id": (v = n.value) == null ? void 0 : v.id,
19536
19549
  "kg-form_id": (_ = n.value) == null ? void 0 : _.frm_id,
19537
19550
  "kg-var_name": (m = n.value) == null ? void 0 : m.var_nam,
19538
19551
  "kg-cmd": (p = n.value) == null ? void 0 : p.cmd,
@@ -19628,7 +19641,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19628
19641
  icon: "ant-design:upload-outlined"
19629
19642
  }, null);
19630
19643
  }
19631
- function b() {
19644
+ function v() {
19632
19645
  return e.kgText ? e.kgText : a.t("kg.import");
19633
19646
  }
19634
19647
  return () => createVNode(Upload, {
@@ -19651,7 +19664,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19651
19664
  loading: c.value,
19652
19665
  class: r.class
19653
19666
  }, {
19654
- default: () => [d(), b()]
19667
+ default: () => [d(), v()]
19655
19668
  })];
19656
19669
  }
19657
19670
  });
@@ -19663,35 +19676,35 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19663
19676
  const t = useKg(), r = useKgVar();
19664
19677
  r.kgButton.store.$onAction(async ({
19665
19678
  name: d,
19666
- args: b
19679
+ args: v
19667
19680
  }) => {
19668
19681
  switch (d) {
19669
19682
  case "click":
19670
- b[0] === r.formID && (b[1], KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE);
19683
+ v[0] === r.formID && (v[1], KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE);
19671
19684
  break;
19672
19685
  }
19673
19686
  });
19674
19687
  const a = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), n = computed(() => {
19675
- var d, b;
19676
- return a.value ? (b = (d = a.value) == null ? void 0 : d.cmd) != null ? b : "" : null;
19688
+ var d, v;
19689
+ return a.value ? (v = (d = a.value) == null ? void 0 : d.cmd) != null ? v : "" : null;
19677
19690
  }), i = computed(() => {
19678
- var d, b;
19679
- return (b = (d = a.value) == null ? void 0 : d.cmd_method) != null ? b : "GET";
19691
+ var d, v;
19692
+ return (v = (d = a.value) == null ? void 0 : d.cmd_method) != null ? v : "GET";
19680
19693
  }), s = computed(() => {
19681
- var b, _;
19694
+ var v, _;
19682
19695
  let d = {
19683
19696
  ...r.kgTable.requestParams.value
19684
19697
  };
19685
19698
  return a.value && (d = {
19686
19699
  ...d,
19687
- ...KgVarUtil.parseRequestParamsToJSON((_ = (b = a.value) == null ? void 0 : b.cmd_prm) != null ? _ : "")
19700
+ ...KgVarUtil.parseRequestParamsToJSON((_ = (v = a.value) == null ? void 0 : v.cmd_prm) != null ? _ : "")
19688
19701
  }), d;
19689
19702
  }), o = computed(() => {
19690
- var d, b, _, m, p, T, E, C;
19691
- return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || r.kgTable.isRetrieving.value || ((d = a.value) == null ? void 0 : d.dis_no_select_flg) === 1 && ((_ = (b = r.kgTable.selectedRows.value) == null ? void 0 : b.length) != null ? _ : 0) === 0 || ((m = a.value) == null ? void 0 : m.dis_mult_select_flg) === 1 && ((T = (p = r.kgTable.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((E = a.value) == null ? void 0 : E.permission_code) === 2 && !t.p((C = a.value) == null ? void 0 : C.permission_code)) : e.kgDisabled;
19703
+ var d, v, _, m, p, T, E, C;
19704
+ return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || r.kgTable.isRetrieving.value || ((d = a.value) == null ? void 0 : d.dis_no_select_flg) === 1 && ((_ = (v = r.kgTable.selectedRows.value) == null ? void 0 : v.length) != null ? _ : 0) === 0 || ((m = a.value) == null ? void 0 : m.dis_mult_select_flg) === 1 && ((T = (p = r.kgTable.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((E = a.value) == null ? void 0 : E.permission_code) === 2 && !t.p((C = a.value) == null ? void 0 : C.permission_code)) : e.kgDisabled;
19692
19705
  }), l = ref(!1);
19693
19706
  async function u() {
19694
- var d, b, _;
19707
+ var d, v, _;
19695
19708
  if (e.onKgClick && await e.onKgClick()) {
19696
19709
  r.kgButton.setIsClickIntercepted({
19697
19710
  type: KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE,
@@ -19719,7 +19732,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19719
19732
  joinParamsToUrl: !0,
19720
19733
  isTransformResponse: !1
19721
19734
  }), p = (d = a.value) == null ? void 0 : d.export_excel_filename;
19722
- KgUtil.downloadFile(m, `${p ? r.t(p).value : t.t("kg.importTemplate")}.${(_ = (b = a.value) == null ? void 0 : b.export_excel_suffix) == null ? void 0 : _.toLowerCase()}`);
19735
+ KgUtil.downloadFile(m, `${p ? r.t(p).value : t.t("kg.importTemplate")}.${(_ = (v = a.value) == null ? void 0 : v.export_excel_suffix) == null ? void 0 : _.toLowerCase()}`);
19723
19736
  } catch (m) {
19724
19737
  throw m;
19725
19738
  } finally {
@@ -19739,10 +19752,10 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19739
19752
  return e.kgText ? e.kgText : t.t("kg.import-template");
19740
19753
  }
19741
19754
  return () => {
19742
- var d, b, _, m, p, T;
19755
+ var d, v, _, m, p, T;
19743
19756
  return createVNode(Button, {
19744
19757
  "kg-id": (d = a.value) == null ? void 0 : d.id,
19745
- "kg-form_id": (b = a.value) == null ? void 0 : b.frm_id,
19758
+ "kg-form_id": (v = a.value) == null ? void 0 : v.frm_id,
19746
19759
  "kg-var_name": (_ = a.value) == null ? void 0 : _.var_nam,
19747
19760
  "kg-cmd": (m = a.value) == null ? void 0 : m.cmd,
19748
19761
  "kg-permission": (T = (p = a.value) == null ? void 0 : p.permission_code) != null ? T : "",
@@ -19761,11 +19774,11 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19761
19774
  props: getProps$e(),
19762
19775
  setup(e) {
19763
19776
  const t = useKg(), r = useKgVar(), a = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), n = computed(() => {
19764
- var l, u, c, g, d, b, _, m;
19765
- return isNil(e.kgDisabled) ? !!(e.kgLoading || r.kgTable.isRetrieving.value || ((l = a.value) == null ? void 0 : l.dis_no_select_flg) === 1 && ((c = (u = r.kgTable.selectedRows.value) == null ? void 0 : u.length) != null ? c : 0) === 0 || ((g = a.value) == null ? void 0 : g.dis_mult_select_flg) === 1 && ((b = (d = r.kgTable.selectedRows.value) == null ? void 0 : d.length) != null ? b : 0) > 1 || KgAuthUtil.getPermissionType((_ = a.value) == null ? void 0 : _.permission_code) === 2 && !t.p((m = a.value) == null ? void 0 : m.permission_code) || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) : e.kgDisabled;
19777
+ var l, u, c, g, d, v, _, m;
19778
+ return isNil(e.kgDisabled) ? !!(e.kgLoading || r.kgTable.isRetrieving.value || ((l = a.value) == null ? void 0 : l.dis_no_select_flg) === 1 && ((c = (u = r.kgTable.selectedRows.value) == null ? void 0 : u.length) != null ? c : 0) === 0 || ((g = a.value) == null ? void 0 : g.dis_mult_select_flg) === 1 && ((v = (d = r.kgTable.selectedRows.value) == null ? void 0 : d.length) != null ? v : 0) > 1 || KgAuthUtil.getPermissionType((_ = a.value) == null ? void 0 : _.permission_code) === 2 && !t.p((m = a.value) == null ? void 0 : m.permission_code) || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) : e.kgDisabled;
19766
19779
  });
19767
19780
  async function i() {
19768
- var g, d, b;
19781
+ var g, d, v;
19769
19782
  if (e.onKgClick && await e.onKgClick()) {
19770
19783
  r.kgButton.setIsClickIntercepted({
19771
19784
  varName: e.kgVarName,
@@ -19823,7 +19836,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19823
19836
  }
19824
19837
  };
19825
19838
  if (((d = e.kgButton) == null ? void 0 : d.show_modal_flg) === 1) {
19826
- const _ = KgUtil.tryParseJSON((b = e.kgButton) == null ? void 0 : b.modal_props);
19839
+ const _ = KgUtil.tryParseJSON((v = e.kgButton) == null ? void 0 : v.modal_props);
19827
19840
  typeof _.content == "string" && (_.content = r.t(_.content).value), u = KgUtil.confirm({
19828
19841
  onOk: () => c(),
19829
19842
  ..._
@@ -19844,13 +19857,13 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19844
19857
  return e.kgText ? e.kgText : e.kgVarName;
19845
19858
  }
19846
19859
  return () => {
19847
- var l, u, c, g, d, b;
19860
+ var l, u, c, g, d, v;
19848
19861
  return createVNode(Button, {
19849
19862
  "kg-id": (l = a.value) == null ? void 0 : l.id,
19850
19863
  "kg-form_id": (u = a.value) == null ? void 0 : u.frm_id,
19851
19864
  "kg-var_name": (c = a.value) == null ? void 0 : c.var_nam,
19852
19865
  "kg-cmd": (g = a.value) == null ? void 0 : g.cmd,
19853
- "kg-permission": (b = (d = a.value) == null ? void 0 : d.permission_code) != null ? b : "",
19866
+ "kg-permission": (v = (d = a.value) == null ? void 0 : d.permission_code) != null ? v : "",
19854
19867
  type: "primary",
19855
19868
  disabled: n.value,
19856
19869
  danger: e.kgColor === KG__VAR_BUTTON__COLOR.RED,
@@ -19906,13 +19919,13 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19906
19919
  return e.kgText ? e.kgText : t.t("kg.query");
19907
19920
  }
19908
19921
  return () => {
19909
- var l, u, c, g, d, b;
19922
+ var l, u, c, g, d, v;
19910
19923
  return createVNode(Button, {
19911
19924
  "kg-id": (l = a.value) == null ? void 0 : l.id,
19912
19925
  "kg-form_id": (u = a.value) == null ? void 0 : u.frm_id,
19913
19926
  "kg-var_name": (c = a.value) == null ? void 0 : c.var_nam,
19914
19927
  "kg-cmd": (g = a.value) == null ? void 0 : g.cmd,
19915
- "kg-permission": (b = (d = a.value) == null ? void 0 : d.permission_code) != null ? b : "",
19928
+ "kg-permission": (v = (d = a.value) == null ? void 0 : d.permission_code) != null ? v : "",
19916
19929
  type: "primary",
19917
19930
  disabled: n.value,
19918
19931
  danger: e.kgColor === KG__VAR_BUTTON__COLOR.RED,
@@ -19983,7 +19996,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
19983
19996
  icon: "ant-design:edit-outlined"
19984
19997
  }, null);
19985
19998
  }
19986
- function b() {
19999
+ function v() {
19987
20000
  return e.kgText ? e.kgText : n.t("kg.update");
19988
20001
  }
19989
20002
  function _() {
@@ -20000,7 +20013,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
20000
20013
  onClick: u,
20001
20014
  class: a.class
20002
20015
  }, {
20003
- default: () => [d(), b()]
20016
+ default: () => [d(), v()]
20004
20017
  });
20005
20018
  }
20006
20019
  function m() {
@@ -20138,7 +20151,7 @@ const getProps$d = () => ({
20138
20151
  case KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE.SELECT:
20139
20152
  return _();
20140
20153
  default:
20141
- return b();
20154
+ return v();
20142
20155
  }
20143
20156
  }
20144
20157
  function d(m) {
@@ -20155,7 +20168,7 @@ const getProps$d = () => ({
20155
20168
  onKgClick: () => s(m)
20156
20169
  }, null);
20157
20170
  }
20158
- function b() {
20171
+ function v() {
20159
20172
  var m, p;
20160
20173
  return (p = (m = n.kgButton.varButtons.value) == null ? void 0 : m.filter((T) => T.typ !== KG__VAR_BUTTON__TYPE.SEARCH)) == null ? void 0 : p.filter((T) => T.available_flag !== 0).map((T) => d(T));
20161
20174
  }
@@ -20434,8 +20447,8 @@ const getProps$d = () => ({
20434
20447
  KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE,
20435
20448
  KG__VAR_BUTTON__TYPE.EXPORT
20436
20449
  ].includes(a)) {
20437
- const b = (c = (u = n.store.varButtonMap.get(e)) == null ? void 0 : u.find((_) => _.typ === a)) != null ? c : null;
20438
- return b ? (this.currentButtonMap.set(e, b), i()) : (KgLogger.error(`${e} | KgButton.store.setCurrentButton() | \u627E\u4E0D\u5230\u7C7B\u578B\u4E3A\u300C${a}\u300D\u7684\u6309\u94AE.`, {
20450
+ const v = (c = (u = n.store.varButtonMap.get(e)) == null ? void 0 : u.find((_) => _.typ === a)) != null ? c : null;
20451
+ return v ? (this.currentButtonMap.set(e, v), i()) : (KgLogger.error(`${e} | KgButton.store.setCurrentButton() | \u627E\u4E0D\u5230\u7C7B\u578B\u4E3A\u300C${a}\u300D\u7684\u6309\u94AE.`, {
20439
20452
  formID: e,
20440
20453
  param: t
20441
20454
  }), i());
@@ -20456,7 +20469,7 @@ const getProps$d = () => ({
20456
20469
  param: t
20457
20470
  }
20458
20471
  ), i();
20459
- const l = (d = (g = n.store.varButtonMap.get(e)) == null ? void 0 : g.find((b) => b.var_nam === r)) != null ? d : null;
20472
+ const l = (d = (g = n.store.varButtonMap.get(e)) == null ? void 0 : g.find((v) => v.var_nam === r)) != null ? d : null;
20460
20473
  return l ? (this.currentButtonMap.set(e, l), i()) : (KgLogger.error(`${e} | KgButton.store.setCurrentButton() | \u627E\u4E0D\u5230\u53D8\u91CF\u540D\u4E3A\u300C${r}\u300D\u7684\u6309\u94AE.`, {
20461
20474
  formID: e,
20462
20475
  param: t
@@ -20636,8 +20649,8 @@ function _useFormModel(e) {
20636
20649
  const l = ref({}), u = ref({});
20637
20650
  async function c() {
20638
20651
  n.kgSearch.currentVarProfileDetails.value.forEach((g) => {
20639
- var b, _, m, p, T;
20640
- const d = (b = g.var_nam) != null ? b : "";
20652
+ var v, _, m, p, T;
20653
+ const d = (v = g.var_nam) != null ? v : "";
20641
20654
  l.value[d] = KgVarUtil.transformFormItemValue({
20642
20655
  $dayjs: a,
20643
20656
  buttonVarName: (m = (_ = n.kgButton.searchButton.value) == null ? void 0 : _.var_nam) != null ? m : null,
@@ -20697,7 +20710,7 @@ const getProps$b = () => ({
20697
20710
  minHeight: d
20698
20711
  } = _useHeight({
20699
20712
  formContainerRef: o
20700
- }), b = ref({
20713
+ }), v = ref({
20701
20714
  kgHeight: d.value
20702
20715
  }), _ = computed(() => {
20703
20716
  var D, x, W, z;
@@ -20713,7 +20726,7 @@ const getProps$b = () => ({
20713
20726
  return !!(_.value || n.kgTable.isRetrieving.value || KgAuthUtil.getPermissionType((D = n.kgButton.searchButton.value) == null ? void 0 : D.permission_code) === 2 && !a.p((x = n.kgButton.searchButton.value) == null ? void 0 : x.permission_code) || n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value);
20714
20727
  }), T = computed(() => !!(_.value || n.kgTable.isRetrieving.value || n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value)), E = computed(() => !!n.kgTable.isRetrieving.value), C = ref({
20715
20728
  visible: !1
20716
- }), y = computed(() => b.value.kgHeight === d.value), O = computed(() => {
20729
+ }), y = computed(() => v.value.kgHeight === d.value), O = computed(() => {
20717
20730
  var W;
20718
20731
  if (!n.kgButton.searchButton.value)
20719
20732
  return;
@@ -20768,7 +20781,7 @@ const getProps$b = () => ({
20768
20781
  }
20769
20782
  });
20770
20783
  watch(c, (D) => {
20771
- b.value.kgHeight = D;
20784
+ v.value.kgHeight = D;
20772
20785
  }, {
20773
20786
  immediate: !0
20774
20787
  });
@@ -20904,15 +20917,15 @@ const getProps$b = () => ({
20904
20917
  });
20905
20918
  }
20906
20919
  function U() {
20907
- y.value ? b.value.kgHeight = c.value : b.value.kgHeight = d.value;
20920
+ y.value ? v.value.kgHeight = c.value : v.value.kgHeight = d.value;
20908
20921
  }
20909
20922
  return onUnmounted(async () => {
20910
20923
  n.kgSearch.store.dispose(n.formID);
20911
20924
  }), () => createVNode(KgResizable, {
20912
20925
  "kg-form_id": n.formID,
20913
20926
  ref: s,
20914
- kgHeight: b.value.kgHeight,
20915
- "onUpdate:kgHeight": (D) => b.value.kgHeight = D,
20927
+ kgHeight: v.value.kgHeight,
20928
+ "onUpdate:kgHeight": (D) => v.value.kgHeight = D,
20916
20929
  kgMinHeight: d.value,
20917
20930
  kgMaxHeight: g.value,
20918
20931
  kgDisabled: m.value,
@@ -21374,15 +21387,15 @@ function createStore(e, t, r) {
21374
21387
  _assignPluginFnProp: function(l, u) {
21375
21388
  var c = this[u];
21376
21389
  this[u] = function() {
21377
- var d = slice(arguments, 0), b = this;
21390
+ var d = slice(arguments, 0), v = this;
21378
21391
  function _() {
21379
21392
  if (!!c)
21380
21393
  return each$6(arguments, function(p, T) {
21381
21394
  d[T] = p;
21382
- }), c.apply(b, d);
21395
+ }), c.apply(v, d);
21383
21396
  }
21384
21397
  var m = [_].concat(d);
21385
- return l.apply(b, m);
21398
+ return l.apply(v, m);
21386
21399
  };
21387
21400
  },
21388
21401
  _serialize: function(l) {
@@ -21419,10 +21432,10 @@ function createStore(e, t, r) {
21419
21432
  var g = l.call(this);
21420
21433
  if (!isObject(g))
21421
21434
  throw new Error("Plugins must return an object of function properties");
21422
- each$6(g, function(d, b) {
21435
+ each$6(g, function(d, v) {
21423
21436
  if (!isFunction(d))
21424
- throw new Error("Bad plugin property: " + b + " from plugin " + l.name + ". Plugins should only return functions.");
21425
- u._assignPluginFnProp(d, b);
21437
+ throw new Error("Bad plugin property: " + v + " from plugin " + l.name + ". Plugins should only return functions.");
21438
+ u._assignPluginFnProp(d, v);
21426
21439
  });
21427
21440
  }
21428
21441
  },
@@ -21898,7 +21911,7 @@ const KgWarehouse$1 = "", getProps$a = () => ({
21898
21911
  }), onMounted(() => {
21899
21912
  KgLogger.debug("KgWarehouse | onMounted()"), a.store.emit("mounted");
21900
21913
  });
21901
- function b() {
21914
+ function v() {
21902
21915
  !g.value || a.store.setVisible(!0);
21903
21916
  }
21904
21917
  function _() {
@@ -22013,7 +22026,7 @@ const KgWarehouse$1 = "", getProps$a = () => ({
22013
22026
  }
22014
22027
  return () => createVNode("div", {
22015
22028
  class: n.value,
22016
- onClick: b
22029
+ onClick: v
22017
22030
  }, [C()]);
22018
22031
  }
22019
22032
  });
@@ -22044,11 +22057,11 @@ function createKgWarehouseGuard(e, t) {
22044
22057
  return;
22045
22058
  }
22046
22059
  if (((c = s == null ? void 0 : s.getUserWarehouses) == null ? void 0 : c.length) === 1) {
22047
- const b = (g = s.getUserWarehouses) == null ? void 0 : g[0];
22048
- n.store.setWarehouse(new WhDTO({ whId: b.wh_id, whDsc: b.wh_dsc })), KgLogger.debug(`createKgWarehouseGuard() | ${r.path} | \u9009\u62E9\u552F\u4E00\u4ED3\u5E93: ${b.wh_id}`);
22060
+ const v = (g = s.getUserWarehouses) == null ? void 0 : g[0];
22061
+ n.store.setWarehouse(new WhDTO({ whId: v.wh_id, whDsc: v.wh_dsc })), KgLogger.debug(`createKgWarehouseGuard() | ${r.path} | \u9009\u62E9\u552F\u4E00\u4ED3\u5E93: ${v.wh_id}`);
22049
22062
  } else {
22050
- const b = (d = s == null ? void 0 : s.getUserWarehouses) == null ? void 0 : d.find((_) => _.default_flag === 1);
22051
- b ? (n.store.setWarehouse(new WhDTO({ whId: b.wh_id, whDsc: b.wh_dsc })), KgLogger.debug(`createKgWarehouseGuard() | ${r.path} | \u9009\u62E9\u9ED8\u8BA4\u4ED3\u5E93: ${b.wh_id}`)) : (n.store.setVisible(!0), KgLogger.debug(`createKgWarehouseGuard() | ${r.path} | \u6253\u5F00\u4ED3\u5E93\u9009\u62E9\u5F39\u7A97.`));
22063
+ const v = (d = s == null ? void 0 : s.getUserWarehouses) == null ? void 0 : d.find((_) => _.default_flag === 1);
22064
+ v ? (n.store.setWarehouse(new WhDTO({ whId: v.wh_id, whDsc: v.wh_dsc })), KgLogger.debug(`createKgWarehouseGuard() | ${r.path} | \u9009\u62E9\u9ED8\u8BA4\u4ED3\u5E93: ${v.wh_id}`)) : (n.store.setVisible(!0), KgLogger.debug(`createKgWarehouseGuard() | ${r.path} | \u6253\u5F00\u4ED3\u5E93\u9009\u62E9\u5F39\u7A97.`));
22052
22065
  }
22053
22066
  }), !0;
22054
22067
  });
@@ -22066,7 +22079,7 @@ function httpClient() {
22066
22079
  throw new Error("\u6CA1\u6709\u8BBE\u7F6E httpClient \u5B9E\u4F8B.");
22067
22080
  return _httpClient.request = new Proxy(_httpClient.request, {
22068
22081
  apply(e, t, r) {
22069
- var b, _, m, p;
22082
+ var v, _, m, p;
22070
22083
  const a = useKg(), n = r[0], i = r[1];
22071
22084
  n.headers || (n.headers = {});
22072
22085
  const s = KG_HTTP_HEADERS.KG_FORM_ID, o = KG_HTTP_HEADERS.KG_IS_DYNAMIC_QUERY, l = KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL, u = KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL, c = KG_HTTP_HEADERS.KG_QUERY_OFFSET_SQL, g = KG_HTTP_HEADERS.KG_QUERY_SQL, d = KG_HTTP_HEADERS.KG_QUERY_OPERATOR;
@@ -22083,7 +22096,7 @@ function httpClient() {
22083
22096
  params: T
22084
22097
  });
22085
22098
  n.headers = {
22086
- ...(b = n.headers) != null ? b : {},
22099
+ ...(v = n.headers) != null ? v : {},
22087
22100
  [o]: !0,
22088
22101
  [c]: O,
22089
22102
  [d]: k,
@@ -22102,22 +22115,22 @@ function httpClient() {
22102
22115
  }
22103
22116
  class ListQuery$2 {
22104
22117
  constructor(t) {
22105
- v(this, "codnam");
22106
- v(this, "codval");
22107
- v(this, "grpNam");
22108
- v(this, "id");
22109
- v(this, "lngDsc");
22110
- v(this, "localeId");
22111
- v(this, "modUsrCod");
22112
- v(this, "moddte");
22113
- v(this, "shortDsc");
22114
- v(this, "srtseq");
22115
- v(this, "sysDefFlg");
22116
- v(this, "version");
22117
- v(this, "column");
22118
- v(this, "order");
22119
- v(this, "pageNo");
22120
- v(this, "pageSize");
22118
+ b(this, "codnam");
22119
+ b(this, "codval");
22120
+ b(this, "grpNam");
22121
+ b(this, "id");
22122
+ b(this, "lngDsc");
22123
+ b(this, "localeId");
22124
+ b(this, "modUsrCod");
22125
+ b(this, "moddte");
22126
+ b(this, "shortDsc");
22127
+ b(this, "srtseq");
22128
+ b(this, "sysDefFlg");
22129
+ b(this, "version");
22130
+ b(this, "column");
22131
+ b(this, "order");
22132
+ b(this, "pageNo");
22133
+ b(this, "pageSize");
22121
22134
  keys(t != null ? t : {}).forEach((r) => {
22122
22135
  switch (r) {
22123
22136
  case "codnam":
@@ -22177,34 +22190,34 @@ const index$a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
22177
22190
  }, Symbol.toStringTag, { value: "Module" }));
22178
22191
  class ListQuery$1 {
22179
22192
  constructor(t) {
22180
- v(this, "alwaysShow");
22181
- v(this, "app");
22182
- v(this, "component");
22183
- v(this, "componentName");
22184
- v(this, "createBy");
22185
- v(this, "createTime");
22186
- v(this, "delFlag");
22187
- v(this, "description");
22188
- v(this, "hidden");
22189
- v(this, "hideTab");
22190
- v(this, "icon");
22191
- v(this, "id");
22192
- v(this, "internalOrExternal");
22193
- v(this, "keepAlive");
22194
- v(this, "leaf");
22195
- v(this, "menuType");
22196
- v(this, "name");
22197
- v(this, "parentId");
22198
- v(this, "perms");
22199
- v(this, "permsType");
22200
- v(this, "redirect");
22201
- v(this, "route");
22202
- v(this, "ruleFlag");
22203
- v(this, "sortNo");
22204
- v(this, "status");
22205
- v(this, "updateBy");
22206
- v(this, "updateTime");
22207
- v(this, "url");
22193
+ b(this, "alwaysShow");
22194
+ b(this, "app");
22195
+ b(this, "component");
22196
+ b(this, "componentName");
22197
+ b(this, "createBy");
22198
+ b(this, "createTime");
22199
+ b(this, "delFlag");
22200
+ b(this, "description");
22201
+ b(this, "hidden");
22202
+ b(this, "hideTab");
22203
+ b(this, "icon");
22204
+ b(this, "id");
22205
+ b(this, "internalOrExternal");
22206
+ b(this, "keepAlive");
22207
+ b(this, "leaf");
22208
+ b(this, "menuType");
22209
+ b(this, "name");
22210
+ b(this, "parentId");
22211
+ b(this, "perms");
22212
+ b(this, "permsType");
22213
+ b(this, "redirect");
22214
+ b(this, "route");
22215
+ b(this, "ruleFlag");
22216
+ b(this, "sortNo");
22217
+ b(this, "status");
22218
+ b(this, "updateBy");
22219
+ b(this, "updateTime");
22220
+ b(this, "url");
22208
22221
  keys(t != null ? t : {}).forEach((r) => {
22209
22222
  switch (r) {
22210
22223
  case "alwaysShow":
@@ -22260,7 +22273,7 @@ const index$9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
22260
22273
  }, Symbol.toStringTag, { value: "Module" }));
22261
22274
  class GetAllQuery {
22262
22275
  constructor(t) {
22263
- v(this, "frm_id");
22276
+ b(this, "frm_id");
22264
22277
  keys(t != null ? t : {}).forEach((r) => {
22265
22278
  switch (r) {
22266
22279
  case "frm_id":
@@ -22308,7 +22321,7 @@ const index$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
22308
22321
  }, Symbol.toStringTag, { value: "Module" }));
22309
22322
  class ExecuteQueryQuery {
22310
22323
  constructor(t) {
22311
- v(this, "id");
22324
+ b(this, "id");
22312
22325
  keys(t != null ? t : {}).forEach((r) => {
22313
22326
  switch (r) {
22314
22327
  case "id":
@@ -22484,7 +22497,7 @@ const index$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
22484
22497
  }, Symbol.toStringTag, { value: "Module" }));
22485
22498
  class QueryByIDQuery$1 {
22486
22499
  constructor(t) {
22487
- v(this, "id");
22500
+ b(this, "id");
22488
22501
  keys(t != null ? t : {}).forEach((r) => {
22489
22502
  switch (r) {
22490
22503
  case "id":
@@ -22529,7 +22542,7 @@ const index$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
22529
22542
  }, Symbol.toStringTag, { value: "Module" }));
22530
22543
  class QueryByIDQuery {
22531
22544
  constructor(t) {
22532
- v(this, "id");
22545
+ b(this, "id");
22533
22546
  keys(t != null ? t : {}).forEach((r) => {
22534
22547
  switch (r) {
22535
22548
  case "id":
@@ -22572,7 +22585,7 @@ Add.method = "POST";
22572
22585
  Add.url = "/var/VarVariable/add";
22573
22586
  class DeleteQuery {
22574
22587
  constructor(t) {
22575
- v(this, "id");
22588
+ b(this, "id");
22576
22589
  keys(t != null ? t : {}).forEach((r) => {
22577
22590
  switch (r) {
22578
22591
  case "id":
@@ -22596,7 +22609,7 @@ Delete.method = "DELETE";
22596
22609
  Delete.url = "/var/VarVariable/delete";
22597
22610
  class DeleteBatchQuery {
22598
22611
  constructor(t) {
22599
- v(this, "ids");
22612
+ b(this, "ids");
22600
22613
  keys(t != null ? t : {}).forEach((r) => {
22601
22614
  switch (r) {
22602
22615
  case "ids":
@@ -22634,10 +22647,10 @@ Edit.method = "POST";
22634
22647
  Edit.url = "/var/VarVariable/edit";
22635
22648
  class ExportXlsQuery {
22636
22649
  constructor(t) {
22637
- v(this, "frm_id");
22638
- v(this, "grp_nam");
22639
- v(this, "id");
22640
- v(this, "var_nam");
22650
+ b(this, "frm_id");
22651
+ b(this, "grp_nam");
22652
+ b(this, "id");
22653
+ b(this, "var_nam");
22641
22654
  keys(t != null ? t : {}).forEach((r) => {
22642
22655
  switch (r) {
22643
22656
  case "frm_id":
@@ -22678,13 +22691,13 @@ ImportExcel.method = "POST";
22678
22691
  ImportExcel.url = "/var/VarVariable/importExcel";
22679
22692
  class ListQuery {
22680
22693
  constructor(t) {
22681
- v(this, "frm_id");
22682
- v(this, "grp_nam");
22683
- v(this, "var_nam");
22684
- v(this, "column");
22685
- v(this, "order");
22686
- v(this, "pageNo");
22687
- v(this, "pageSize");
22694
+ b(this, "frm_id");
22695
+ b(this, "grp_nam");
22696
+ b(this, "var_nam");
22697
+ b(this, "column");
22698
+ b(this, "order");
22699
+ b(this, "pageNo");
22700
+ b(this, "pageSize");
22688
22701
  keys(t != null ? t : {}).forEach((r) => {
22689
22702
  switch (r) {
22690
22703
  case "frm_id":
@@ -22714,7 +22727,7 @@ List.method = "GET";
22714
22727
  List.url = "/var/VarVariable/list";
22715
22728
  class QueryByIdQuery {
22716
22729
  constructor(t) {
22717
- v(this, "id");
22730
+ b(this, "id");
22718
22731
  keys(t != null ? t : {}).forEach((r) => {
22719
22732
  switch (r) {
22720
22733
  case "id":
@@ -22757,24 +22770,24 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
22757
22770
  }, Symbol.toStringTag, { value: "Module" }));
22758
22771
  class ListVOQuery {
22759
22772
  constructor(t) {
22760
- v(this, "activeFlg");
22761
- v(this, "adrId");
22762
- v(this, "adrnam");
22763
- v(this, "comCod");
22764
- v(this, "defWhFlg");
22765
- v(this, "id");
22766
- v(this, "orgcod");
22767
- v(this, "permAdjLod");
22768
- v(this, "permAdjSub");
22769
- v(this, "permCreLod");
22770
- v(this, "permCreSub");
22771
- v(this, "version");
22772
- v(this, "whDsc");
22773
- v(this, "whId");
22774
- v(this, "column");
22775
- v(this, "order");
22776
- v(this, "pageNo");
22777
- v(this, "pageSize");
22773
+ b(this, "activeFlg");
22774
+ b(this, "adrId");
22775
+ b(this, "adrnam");
22776
+ b(this, "comCod");
22777
+ b(this, "defWhFlg");
22778
+ b(this, "id");
22779
+ b(this, "orgcod");
22780
+ b(this, "permAdjLod");
22781
+ b(this, "permAdjSub");
22782
+ b(this, "permCreLod");
22783
+ b(this, "permCreSub");
22784
+ b(this, "version");
22785
+ b(this, "whDsc");
22786
+ b(this, "whId");
22787
+ b(this, "column");
22788
+ b(this, "order");
22789
+ b(this, "pageNo");
22790
+ b(this, "pageSize");
22778
22791
  keys(t != null ? t : {}).forEach((r) => {
22779
22792
  switch (r) {
22780
22793
  case "activeFlg":
@@ -22883,7 +22896,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
22883
22896
  function d(V) {
22884
22897
  n.value.frmId = V != null ? V : "", n.value.varButtons.forEach((P) => P.frm_id = V), n.value.varVariables.forEach((P) => P.frm_id = V), n.value.varDda.frm_id = V != null ? V : "", n.value.varGridConfig.frm_id = V != null ? V : "", n.value.varGridDetails.forEach((P) => P.frm_id = V), n.value.varGridMaster.frm_id = V != null ? V : "", n.value.varProfileConfig.frm_id = V != null ? V : "", n.value.varProfileDetails.forEach((P) => P.frm_id = V), n.value.varProfileMaster.frm_id = V != null ? V : "", n.value.varSubmitConfigs.forEach((P) => P.frm_id = V), n.value.varSubmitDetails.forEach((P) => P.frm_id = V), n.value.varConfigDescriptions.forEach((P) => P.frm_id = V);
22885
22898
  }
22886
- function b(V) {
22899
+ function v(V) {
22887
22900
  const { properties: P = {} } = V;
22888
22901
  Object.entries(P).forEach(([w, G]) => {
22889
22902
  w in n.value.sysPermissions[0] && n.value.sysPermissions[0][w] !== G && (n.value.sysPermissions[0][w] = G);
@@ -23105,7 +23118,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23105
23118
  getVarText: k,
23106
23119
  initCreateVarDdaQuery: R,
23107
23120
  isLoading: r,
23108
- patchSysPermission: b,
23121
+ patchSysPermission: v,
23109
23122
  patchVarButton: p,
23110
23123
  resultSetMetadataColumns: a,
23111
23124
  setFormID: d,
@@ -23138,7 +23151,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23138
23151
  frmId: [{
23139
23152
  trigger: "blur",
23140
23153
  required: !0,
23141
- validator: (g, d) => new Promise(async (b, _) => {
23154
+ validator: (g, d) => new Promise(async (v, _) => {
23142
23155
  if (!d)
23143
23156
  return _(r.t("kg.required"));
23144
23157
  try {
@@ -23148,7 +23161,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23148
23161
  }
23149
23162
  }, {
23150
23163
  errorMessageMode: "none"
23151
- }), b();
23164
+ }), v();
23152
23165
  } catch (m) {
23153
23166
  m != null && m.message ? _(m == null ? void 0 : m.message) : _(m);
23154
23167
  } finally {
@@ -23163,7 +23176,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23163
23176
  sql: [{
23164
23177
  trigger: "blur",
23165
23178
  required: !0,
23166
- validator: (g, d) => new Promise(async (b, _) => {
23179
+ validator: (g, d) => new Promise(async (v, _) => {
23167
23180
  if (!d)
23168
23181
  return _(r.t("kg.required"));
23169
23182
  try {
@@ -23173,7 +23186,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23173
23186
  }
23174
23187
  }, {
23175
23188
  errorMessageMode: "none"
23176
- }), b();
23189
+ }), v();
23177
23190
  } catch (m) {
23178
23191
  m != null && m.message ? _(m == null ? void 0 : m.message) : _(m);
23179
23192
  } finally {
@@ -23313,7 +23326,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23313
23326
  }), !0)), a.kgForm.onSelectBeforeSetDatas(async ({
23314
23327
  varName: g,
23315
23328
  isCreating: d,
23316
- isUpdating: b,
23329
+ isUpdating: v,
23317
23330
  datas: _
23318
23331
  }) => {
23319
23332
  switch (g) {
@@ -23332,14 +23345,14 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23332
23345
  }), a.kgForm.onSelectChange(async ({
23333
23346
  var_nam: g,
23334
23347
  values: d,
23335
- isCreating: b,
23348
+ isCreating: v,
23336
23349
  isUpdating: _,
23337
23350
  model: m
23338
23351
  }) => {
23339
23352
  switch (g) {
23340
23353
  case "typ": {
23341
23354
  switch (!0) {
23342
- case b: {
23355
+ case v: {
23343
23356
  if (!(m != null && m.value))
23344
23357
  break;
23345
23358
  const p = d == null ? void 0 : d[0];
@@ -23461,18 +23474,18 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23461
23474
  var_nam: [
23462
23475
  {
23463
23476
  trigger: "blur",
23464
- validator: (g, d) => new Promise((b, _) => {
23477
+ validator: (g, d) => new Promise((v, _) => {
23465
23478
  var m;
23466
23479
  if (n.getVarButtons.find((p) => p.var_nam === d))
23467
23480
  return _(r.t("kg.KgPageDdaCreateButton.button-var-name-used"));
23468
23481
  if (((m = a.kgSubmit.formModel.value) == null ? void 0 : m.typ) === KG__VAR_BUTTON__TYPE.OTHER && [KG__VAR_BUTTON__TYPE.SEARCH, KG__VAR_BUTTON__TYPE.CREATE, KG__VAR_BUTTON__TYPE.UPDATE, KG__VAR_BUTTON__TYPE.COPY, KG__VAR_BUTTON__TYPE.DELETE, KG__VAR_BUTTON__TYPE.IMPORT, KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE, KG__VAR_BUTTON__TYPE.EXPORT].includes(d))
23469
23482
  return _(r.t("kg.KgPageDdaCreateButton.button-var-name-reserved"));
23470
- b();
23483
+ v();
23471
23484
  })
23472
23485
  },
23473
23486
  {
23474
23487
  trigger: "blur",
23475
- validator: (g, d) => new Promise(async (b, _) => {
23488
+ validator: (g, d) => new Promise(async (v, _) => {
23476
23489
  try {
23477
23490
  n.setIsLoading(!0), await ValidateVarButtonVarName({
23478
23491
  data: {
@@ -23480,7 +23493,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23480
23493
  }
23481
23494
  }, {
23482
23495
  errorMessageMode: "none"
23483
- }), b();
23496
+ }), v();
23484
23497
  } catch (m) {
23485
23498
  m != null && m.message ? _(m == null ? void 0 : m.message) : _(m);
23486
23499
  } finally {
@@ -23497,7 +23510,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23497
23510
  }), a.kgSubmit.onBeforeRequest(async ({
23498
23511
  isCreating: g,
23499
23512
  isUpdating: d,
23500
- isDeleting: b,
23513
+ isDeleting: v,
23501
23514
  data: _
23502
23515
  }) => {
23503
23516
  var m, p, T, E;
@@ -23527,7 +23540,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23527
23540
  }), a.kgButton.setCurrentButton(null);
23528
23541
  break;
23529
23542
  }
23530
- case b: {
23543
+ case v: {
23531
23544
  (E = _.value) == null || E.forEach(({
23532
23545
  var_nam: C
23533
23546
  }) => {
@@ -23563,14 +23576,14 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23563
23576
  bodyCell: ({
23564
23577
  row: g,
23565
23578
  column: d,
23566
- defaultRender: b
23579
+ defaultRender: v
23567
23580
  }) => {
23568
23581
  const _ = g;
23569
23582
  switch (d.dataIndex) {
23570
23583
  case "var_text":
23571
23584
  return n.getVarText(_.var_nam);
23572
23585
  default:
23573
- return b;
23586
+ return v;
23574
23587
  }
23575
23588
  }
23576
23589
  },
@@ -23913,7 +23926,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23913
23926
  break;
23914
23927
  }
23915
23928
  }
23916
- function b() {
23929
+ function v() {
23917
23930
  a.setVarProfileDetails(s.value.filter((_) => _.id !== __KG__CREATE_ROW_ID__).map((_, m) => new VarProfileDetail({
23918
23931
  ena_flg: 1,
23919
23932
  prf_var_nam: "defaultProfile",
@@ -23929,7 +23942,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
23929
23942
  });
23930
23943
  }
23931
23944
  return t({
23932
- onSubmit: b
23945
+ onSubmit: v
23933
23946
  }), () => createVNode("div", null, [createVNode(Transfer, {
23934
23947
  dataSource: n.value,
23935
23948
  targetKeys: i.value,
@@ -24157,7 +24170,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24157
24170
  break;
24158
24171
  }
24159
24172
  }
24160
- function b() {
24173
+ function v() {
24161
24174
  const _ = s.value.filter((m) => m.id !== __KG__CREATE_ROW_ID__);
24162
24175
  a.setVarSubmitDetails(_.map((m, p) => new VarSubmitDetail({
24163
24176
  srtseq: p + 1,
@@ -24171,7 +24184,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24171
24184
  });
24172
24185
  }
24173
24186
  return t({
24174
- onSubmit: b
24187
+ onSubmit: v
24175
24188
  }), () => createVNode("div", null, [createVNode(Transfer, {
24176
24189
  dataSource: n.value,
24177
24190
  targetKeys: i.value,
@@ -24397,7 +24410,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24397
24410
  break;
24398
24411
  }
24399
24412
  }
24400
- function b() {
24413
+ function v() {
24401
24414
  a.setVarGridDetails(s.value.filter((_) => _.id !== __KG__CREATE_ROW_ID__).map((_, m) => new VarGridDetail({
24402
24415
  grd_var_nam: "defaultGrid",
24403
24416
  srtseq: m + 1,
@@ -24412,7 +24425,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24412
24425
  });
24413
24426
  }
24414
24427
  return t({
24415
- onSubmit: b
24428
+ onSubmit: v
24416
24429
  }), () => createVNode("div", null, [createVNode(Transfer, {
24417
24430
  dataSource: n.value,
24418
24431
  targetKeys: i.value,
@@ -24481,7 +24494,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24481
24494
  const r = useKg(), a = useKgPageDdaCreateStore(getPinia()), n = ref(1), i = computed(() => {
24482
24495
  let O = "kg-page-dda-create";
24483
24496
  return O += ` kg-page-dda-create--step-${n.value}`, O;
24484
- }), s = computed(() => !!a.getIsLoading), o = computed(() => !!a.getIsLoading), l = computed(() => !!a.getIsLoading), u = computed(() => !1), c = ref(null), g = ref(null), d = ref(null), b = ref(null), _ = ref(null), m = ref(null), p = ref(null);
24497
+ }), s = computed(() => !!a.getIsLoading), o = computed(() => !!a.getIsLoading), l = computed(() => !!a.getIsLoading), u = computed(() => !1), c = ref(null), g = ref(null), d = ref(null), v = ref(null), _ = ref(null), m = ref(null), p = ref(null);
24485
24498
  function T() {
24486
24499
  n.value !== 1 && (n.value -= 1);
24487
24500
  }
@@ -24508,7 +24521,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24508
24521
  break;
24509
24522
  case 4:
24510
24523
  try {
24511
- await ((A = b.value) == null ? void 0 : A.onSubmit()), n.value += 1;
24524
+ await ((A = v.value) == null ? void 0 : A.onSubmit()), n.value += 1;
24512
24525
  } catch {
24513
24526
  }
24514
24527
  break;
@@ -24611,7 +24624,7 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24611
24624
  ref: d,
24612
24625
  class: "kg-page-dda-create--table"
24613
24626
  }, null), createVNode(KgPageDdaCreateSubmit, {
24614
- ref: b,
24627
+ ref: v,
24615
24628
  class: "kg-page-dda-create--submit"
24616
24629
  }, null), createVNode(KgPageDdaCreateButton, {
24617
24630
  ref: _,