@kengic/vue 0.24.1-beta.1 → 0.24.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/kengic-vue.js +864 -693
  2. package/dist/src/components/KgForm/KgForm.d.ts +3 -3
  3. package/dist/src/components/KgForm/index.d.ts +4 -4
  4. package/dist/src/config/index.store.d.ts +1 -16
  5. package/dist/src/helpers/ant-design-vue.d.ts +1 -1
  6. package/dist/src/index.d.ts +1 -0
  7. package/dist/src/project/index.d.ts +1 -0
  8. package/dist/src/project/src/api/index.d.ts +3 -0
  9. package/dist/{project/src/api/sys/model/menuModel.ts → src/project/src/api/sys/model/menuModel.d.ts} +1 -3
  10. package/dist/{project/src/api/sys/model/userModel.ts → src/project/src/api/sys/model/userModel.d.ts} +0 -12
  11. package/dist/src/project/src/components/Dropdown/index.d.ts +1 -0
  12. package/dist/src/project/src/components/Dropdown/src/typing.d.ts +9 -0
  13. package/dist/src/project/src/components/index.d.ts +1 -0
  14. package/dist/src/project/src/enums/CompTypeEnum.d.ts +19 -0
  15. package/dist/src/project/src/enums/DateTypeEnum.d.ts +8 -0
  16. package/dist/src/project/src/enums/appEnum.d.ts +40 -0
  17. package/dist/src/project/src/enums/breakpointEnum.d.ts +18 -0
  18. package/dist/src/project/src/enums/cacheEnum.d.ts +18 -0
  19. package/dist/src/project/src/enums/exceptionEnum.d.ts +17 -0
  20. package/dist/src/project/src/enums/httpEnum.d.ts +38 -0
  21. package/dist/src/project/src/enums/index.d.ts +13 -0
  22. package/dist/src/project/src/enums/jeecgEnum.d.ts +16 -0
  23. package/dist/src/project/src/enums/menuEnum.d.ts +35 -0
  24. package/dist/src/project/src/enums/pageEnum.d.ts +14 -0
  25. package/dist/src/project/src/enums/roleEnum.d.ts +4 -0
  26. package/dist/src/project/src/enums/sizeEnum.d.ts +18 -0
  27. package/dist/src/project/src/index.d.ts +3 -0
  28. package/dist/src/project/src/settings/componentSetting.d.ts +44 -0
  29. package/dist/src/project/src/settings/designSetting.d.ts +6 -0
  30. package/dist/src/project/src/settings/encryptionSetting.d.ts +6 -0
  31. package/dist/src/project/src/settings/index.d.ts +4 -0
  32. package/dist/src/project/src/settings/localeSetting.d.ts +7 -0
  33. package/package.json +1 -1
  34. package/dist/project/src/enums/CompTypeEnum.ts +0 -32
  35. package/dist/project/src/enums/DateTypeEnum.ts +0 -8
  36. package/dist/project/src/enums/appEnum.ts +0 -58
  37. package/dist/project/src/enums/breakpointEnum.ts +0 -28
  38. package/dist/project/src/enums/cacheEnum.ts +0 -39
  39. package/dist/project/src/enums/exceptionEnum.ts +0 -27
  40. package/dist/project/src/enums/httpEnum.ts +0 -50
  41. package/dist/project/src/enums/jeecgEnum.ts +0 -23
  42. package/dist/project/src/enums/menuEnum.ts +0 -50
  43. package/dist/project/src/enums/pageEnum.ts +0 -19
  44. package/dist/project/src/enums/roleEnum.ts +0 -7
  45. package/dist/project/src/enums/sizeEnum.ts +0 -27
  46. package/dist/project/types/axios.d.ts +0 -57
  47. package/dist/project/types/config.d.ts +0 -178
  48. package/dist/project/types/global.d.ts +0 -92
  49. package/dist/project/types/index.d.ts +0 -27
  50. package/dist/project/types/module.d.ts +0 -18
  51. package/dist/project/types/store.d.ts +0 -59
  52. package/dist/project/types/utils.d.ts +0 -5
  53. package/dist/project/types/vue-router.d.ts +0 -47
  54. /package/dist/{project/src/api/sys/model/uploadModel.ts → src/project/src/api/sys/model/uploadModel.d.ts} +0 -0
@@ -1824,12 +1824,12 @@ function sendQuery(e, t, a, r) {
1824
1824
  const n = e.resources.length, i = e.random ? Math.floor(Math.random() * n) : e.index;
1825
1825
  let l;
1826
1826
  if (e.random) {
1827
- let y = e.resources.slice(0);
1828
- for (l = []; y.length > 1; ) {
1829
- const A = Math.floor(Math.random() * y.length);
1830
- l.push(y[A]), y = y.slice(0, A).concat(y.slice(A + 1));
1827
+ let N = e.resources.slice(0);
1828
+ for (l = []; N.length > 1; ) {
1829
+ const A = Math.floor(Math.random() * N.length);
1830
+ l.push(N[A]), N = N.slice(0, A).concat(N.slice(A + 1));
1831
1831
  }
1832
- l = l.concat(y);
1832
+ l = l.concat(N);
1833
1833
  } else
1834
1834
  l = e.resources.slice(i).concat(e.resources.slice(0, i));
1835
1835
  const s = Date.now();
@@ -1839,12 +1839,12 @@ function sendQuery(e, t, a, r) {
1839
1839
  _ && (clearTimeout(_), _ = null);
1840
1840
  }
1841
1841
  function m() {
1842
- o === "pending" && (o = "aborted"), d(), g.forEach((y) => {
1843
- y.status === "pending" && (y.status = "aborted");
1842
+ o === "pending" && (o = "aborted"), d(), g.forEach((N) => {
1843
+ N.status === "pending" && (N.status = "aborted");
1844
1844
  }), g = [];
1845
1845
  }
1846
- function p(y, A) {
1847
- A && (v = []), typeof y == "function" && v.push(y);
1846
+ function p(N, A) {
1847
+ A && (v = []), typeof N == "function" && v.push(N);
1848
1848
  }
1849
1849
  function T() {
1850
1850
  return {
@@ -1858,18 +1858,18 @@ function sendQuery(e, t, a, r) {
1858
1858
  };
1859
1859
  }
1860
1860
  function E() {
1861
- o = "failed", v.forEach((y) => {
1862
- y(void 0, c);
1861
+ o = "failed", v.forEach((N) => {
1862
+ N(void 0, c);
1863
1863
  });
1864
1864
  }
1865
1865
  function R() {
1866
- g.forEach((y) => {
1867
- y.status === "pending" && (y.status = "aborted");
1866
+ g.forEach((N) => {
1867
+ N.status === "pending" && (N.status = "aborted");
1868
1868
  }), g = [];
1869
1869
  }
1870
- function k(y, A, V) {
1870
+ function k(N, A, V) {
1871
1871
  const I = A !== "success";
1872
- switch (g = g.filter((O) => O !== y), o) {
1872
+ switch (g = g.filter((O) => O !== N), o) {
1873
1873
  case "pending":
1874
1874
  break;
1875
1875
  case "failed":
@@ -1888,7 +1888,7 @@ function sendQuery(e, t, a, r) {
1888
1888
  return;
1889
1889
  }
1890
1890
  if (d(), R(), !e.random) {
1891
- const O = e.resources.indexOf(y.resource);
1891
+ const O = e.resources.indexOf(N.resource);
1892
1892
  O !== -1 && O !== e.index && (e.index = O);
1893
1893
  }
1894
1894
  o = "completed", v.forEach((O) => {
@@ -1899,8 +1899,8 @@ function sendQuery(e, t, a, r) {
1899
1899
  if (o !== "pending")
1900
1900
  return;
1901
1901
  d();
1902
- const y = l.shift();
1903
- if (y === void 0) {
1902
+ const N = l.shift();
1903
+ if (N === void 0) {
1904
1904
  if (g.length) {
1905
1905
  _ = setTimeout(() => {
1906
1906
  d(), o === "pending" && (R(), E());
@@ -1912,12 +1912,12 @@ function sendQuery(e, t, a, r) {
1912
1912
  }
1913
1913
  const A = {
1914
1914
  status: "pending",
1915
- resource: y,
1915
+ resource: N,
1916
1916
  callback: (V, I) => {
1917
1917
  k(A, V, I);
1918
1918
  }
1919
1919
  };
1920
- g.push(A), u++, _ = setTimeout(C, e.rotate), a(y, t, A.callback);
1920
+ g.push(A), u++, _ = setTimeout(C, e.rotate), a(N, t, A.callback);
1921
1921
  }
1922
1922
  return setTimeout(C), T;
1923
1923
  }
@@ -2437,7 +2437,7 @@ const emptyIcon = {
2437
2437
  ...t.data
2438
2438
  }, a);
2439
2439
  }
2440
- }), version = "0.24.1-beta.1";
2440
+ }), version = "0.24.1-beta.2";
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")();
@@ -3808,29 +3808,29 @@ function debounce(e, t, a) {
3808
3808
  if (typeof e != "function")
3809
3809
  throw new TypeError(FUNC_ERROR_TEXT);
3810
3810
  t = toNumber(t) || 0, isObject$2(a) && (c = !!a.leading, _ = "maxWait" in a, i = _ ? nativeMax$3(toNumber(a.maxWait) || 0, t) : i, g = "trailing" in a ? !!a.trailing : g);
3811
- function v(y) {
3811
+ function v(N) {
3812
3812
  var A = r, V = n;
3813
- return r = n = void 0, u = y, l = e.apply(V, A), l;
3813
+ return r = n = void 0, u = N, l = e.apply(V, A), l;
3814
3814
  }
3815
- function d(y) {
3816
- return u = y, s = setTimeout(T, t), c ? v(y) : l;
3815
+ function d(N) {
3816
+ return u = N, s = setTimeout(T, t), c ? v(N) : l;
3817
3817
  }
3818
- function m(y) {
3819
- var A = y - o, V = y - u, I = t - A;
3818
+ function m(N) {
3819
+ var A = N - o, V = N - u, I = t - A;
3820
3820
  return _ ? nativeMin$2(I, i - V) : I;
3821
3821
  }
3822
- function p(y) {
3823
- var A = y - o, V = y - u;
3822
+ function p(N) {
3823
+ var A = N - o, V = N - u;
3824
3824
  return o === void 0 || A >= t || A < 0 || _ && V >= i;
3825
3825
  }
3826
3826
  function T() {
3827
- var y = now$1();
3828
- if (p(y))
3829
- return E(y);
3830
- s = setTimeout(T, m(y));
3827
+ var N = now$1();
3828
+ if (p(N))
3829
+ return E(N);
3830
+ s = setTimeout(T, m(N));
3831
3831
  }
3832
- function E(y) {
3833
- return s = void 0, g && r ? v(y) : (r = n = void 0, l);
3832
+ function E(N) {
3833
+ return s = void 0, g && r ? v(N) : (r = n = void 0, l);
3834
3834
  }
3835
3835
  function R() {
3836
3836
  s !== void 0 && clearTimeout(s), u = 0, r = o = n = s = void 0;
@@ -3839,8 +3839,8 @@ function debounce(e, t, a) {
3839
3839
  return s === void 0 ? l : E(now$1());
3840
3840
  }
3841
3841
  function C() {
3842
- var y = now$1(), A = p(y);
3843
- if (r = arguments, n = this, o = y, A) {
3842
+ var N = now$1(), A = p(N);
3843
+ if (r = arguments, n = this, o = N, A) {
3844
3844
  if (s === void 0)
3845
3845
  return d(o);
3846
3846
  if (_)
@@ -4793,7 +4793,7 @@ class KgRouteUtil {
4793
4793
  }), t;
4794
4794
  }
4795
4795
  static transformMenus(t) {
4796
- var g, v, d, m, p, T, E, R, k, C, y, A, V, I, O, L, K, B, G, F, N, P, D, $, M, x, W, z, J, ae, se, ue, _e, oe;
4796
+ var g, v, d, m, p, T, E, R, k, C, N, A, V, I, O, K, L, B, G, F, y, P, D, $, M, x, W, z, J, ae, se, ue, _e, oe;
4797
4797
  if (!t)
4798
4798
  return [];
4799
4799
  const a = useKg(), r = (Y) => {
@@ -4845,7 +4845,7 @@ class KgRouteUtil {
4845
4845
  name: (R = (E = a.option.value.appTitle) == null ? void 0 : E[KG_APP.WMS_BUSINESS_MANAGER]) != null ? R : "\u4ED3\u5E93\u7BA1\u7406",
4846
4846
  slotTitle: (C = (k = a.option.value.appTitle) == null ? void 0 : k[KG_APP.WMS_BUSINESS_MANAGER]) != null ? C : "\u4ED3\u5E93\u7BA1\u7406",
4847
4847
  sortNo: 2,
4848
- title: (A = (y = a.option.value.appTitle) == null ? void 0 : y[KG_APP.WMS_BUSINESS_MANAGER]) != null ? A : "\u4ED3\u5E93\u7BA1\u7406",
4848
+ title: (A = (N = a.option.value.appTitle) == null ? void 0 : N[KG_APP.WMS_BUSINESS_MANAGER]) != null ? A : "\u4ED3\u5E93\u7BA1\u7406",
4849
4849
  ...n,
4850
4850
  url: KG_APP_PREFIX.WMS_BUSINESS_MANAGER,
4851
4851
  value: KG_TMP_MENU_ID__BUSINESS_MANAGER
@@ -4854,9 +4854,9 @@ class KgRouteUtil {
4854
4854
  id: KG_TMP_MENU_ID__WCS,
4855
4855
  key: KG_TMP_MENU_ID__WCS,
4856
4856
  name: (I = (V = a.option.value.appTitle) == null ? void 0 : V[KG_APP.WCS]) != null ? I : "WCS",
4857
- slotTitle: (L = (O = a.option.value.appTitle) == null ? void 0 : O[KG_APP.WCS]) != null ? L : "WCS",
4857
+ slotTitle: (K = (O = a.option.value.appTitle) == null ? void 0 : O[KG_APP.WCS]) != null ? K : "WCS",
4858
4858
  sortNo: 3,
4859
- title: (B = (K = a.option.value.appTitle) == null ? void 0 : K[KG_APP.WCS]) != null ? B : "WCS",
4859
+ title: (B = (L = a.option.value.appTitle) == null ? void 0 : L[KG_APP.WCS]) != null ? B : "WCS",
4860
4860
  ...n,
4861
4861
  url: KG_APP_PREFIX.WCS,
4862
4862
  value: KG_TMP_MENU_ID__WCS
@@ -4864,7 +4864,7 @@ class KgRouteUtil {
4864
4864
  id: KG_TMP_MENU_ID__SYS,
4865
4865
  key: KG_TMP_MENU_ID__SYS,
4866
4866
  title: (F = (G = a.option.value.appTitle) == null ? void 0 : G[KG_APP.SYS]) != null ? F : "\u7CFB\u7EDF\u914D\u7F6E",
4867
- name: (P = (N = a.option.value.appTitle) == null ? void 0 : N[KG_APP.SYS]) != null ? P : "\u7CFB\u7EDF\u914D\u7F6E",
4867
+ name: (P = (y = a.option.value.appTitle) == null ? void 0 : y[KG_APP.SYS]) != null ? P : "\u7CFB\u7EDF\u914D\u7F6E",
4868
4868
  slotTitle: ($ = (D = a.option.value.appTitle) == null ? void 0 : D[KG_APP.SYS]) != null ? $ : "\u7CFB\u7EDF\u914D\u7F6E",
4869
4869
  sortNo: 4,
4870
4870
  children: [],
@@ -4905,8 +4905,8 @@ class KgRouteUtil {
4905
4905
  ((x = (M = i.children) == null ? void 0 : M.length) != null ? x : 0 > 0) && c.push(i), ((z = (W = l.children) == null ? void 0 : W.length) != null ? z : 0 > 0) && c.push(l), ((ae = (J = s.children) == null ? void 0 : J.length) != null ? ae : 0 > 0) && c.push(s), ((ue = (se = o.children) == null ? void 0 : se.length) != null ? ue : 0 > 0) && c.push(o), ((oe = (_e = u.children) == null ? void 0 : _e.length) != null ? oe : 0 > 0) && c.push(u);
4906
4906
  const _ = (Y) => {
4907
4907
  Y.sort((w, U) => {
4908
- var H, q;
4909
- return Number((H = w == null ? void 0 : w.sortNo) != null ? H : 0) - Number((q = U == null ? void 0 : U.sortNo) != null ? q : 0);
4908
+ var q, H;
4909
+ return Number((q = w == null ? void 0 : w.sortNo) != null ? q : 0) - Number((H = U == null ? void 0 : U.sortNo) != null ? H : 0);
4910
4910
  }), Y.forEach((w) => {
4911
4911
  w.children && _(w.children);
4912
4912
  });
@@ -4997,64 +4997,64 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4997
4997
  e.exports = r();
4998
4998
  })(commonjsGlobal, function() {
4999
4999
  var a = 1e3, r = 6e4, n = 36e5, i = "millisecond", l = "second", s = "minute", o = "hour", u = "day", c = "week", _ = "month", g = "quarter", v = "year", d = "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(G) {
5000
- var F = ["th", "st", "nd", "rd"], N = G % 100;
5001
- return "[" + G + (F[(N - 20) % 10] || F[N] || F[0]) + "]";
5002
- } }, R = function(G, F, N) {
5000
+ var F = ["th", "st", "nd", "rd"], y = G % 100;
5001
+ return "[" + G + (F[(y - 20) % 10] || F[y] || F[0]) + "]";
5002
+ } }, R = function(G, F, y) {
5003
5003
  var P = String(G);
5004
- return !P || P.length >= F ? G : "" + Array(F + 1 - P.length).join(N) + G;
5004
+ return !P || P.length >= F ? G : "" + Array(F + 1 - P.length).join(y) + G;
5005
5005
  }, k = { s: R, z: function(G) {
5006
- var F = -G.utcOffset(), N = Math.abs(F), P = Math.floor(N / 60), D = N % 60;
5006
+ var F = -G.utcOffset(), y = Math.abs(F), P = Math.floor(y / 60), D = y % 60;
5007
5007
  return (F <= 0 ? "+" : "-") + R(P, 2, "0") + ":" + R(D, 2, "0");
5008
- }, m: function G(F, N) {
5009
- if (F.date() < N.date())
5010
- return -G(N, F);
5011
- var P = 12 * (N.year() - F.year()) + (N.month() - F.month()), D = F.clone().add(P, _), $ = N - D < 0, M = F.clone().add(P + ($ ? -1 : 1), _);
5012
- return +(-(P + (N - D) / ($ ? D - M : M - D)) || 0);
5008
+ }, m: function G(F, y) {
5009
+ if (F.date() < y.date())
5010
+ return -G(y, F);
5011
+ var P = 12 * (y.year() - F.year()) + (y.month() - F.month()), D = F.clone().add(P, _), $ = y - D < 0, M = F.clone().add(P + ($ ? -1 : 1), _);
5012
+ return +(-(P + (y - D) / ($ ? D - M : M - D)) || 0);
5013
5013
  }, a: function(G) {
5014
5014
  return G < 0 ? Math.ceil(G) || 0 : Math.floor(G);
5015
5015
  }, p: function(G) {
5016
5016
  return { M: _, y: v, w: c, d: u, D: d, h: o, m: s, s: l, ms: i, Q: g }[G] || String(G || "").toLowerCase().replace(/s$/, "");
5017
5017
  }, u: function(G) {
5018
5018
  return G === void 0;
5019
- } }, C = "en", y = {};
5020
- y[C] = E;
5019
+ } }, C = "en", N = {};
5020
+ N[C] = E;
5021
5021
  var A = "$isDayjsObject", V = function(G) {
5022
- return G instanceof K || !(!G || !G[A]);
5023
- }, I = function G(F, N, P) {
5022
+ return G instanceof L || !(!G || !G[A]);
5023
+ }, I = function G(F, y, P) {
5024
5024
  var D;
5025
5025
  if (!F)
5026
5026
  return C;
5027
5027
  if (typeof F == "string") {
5028
5028
  var $ = F.toLowerCase();
5029
- y[$] && (D = $), N && (y[$] = N, D = $);
5029
+ N[$] && (D = $), y && (N[$] = y, D = $);
5030
5030
  var M = F.split("-");
5031
5031
  if (!D && M.length > 1)
5032
5032
  return G(M[0]);
5033
5033
  } else {
5034
5034
  var x = F.name;
5035
- y[x] = F, D = x;
5035
+ N[x] = F, D = x;
5036
5036
  }
5037
5037
  return !P && D && (C = D), D || !P && C;
5038
5038
  }, O = function(G, F) {
5039
5039
  if (V(G))
5040
5040
  return G.clone();
5041
- var N = typeof F == "object" ? F : {};
5042
- return N.date = G, N.args = arguments, new K(N);
5043
- }, L = k;
5044
- L.l = I, L.i = V, L.w = function(G, F) {
5041
+ var y = typeof F == "object" ? F : {};
5042
+ return y.date = G, y.args = arguments, new L(y);
5043
+ }, K = k;
5044
+ K.l = I, K.i = V, K.w = function(G, F) {
5045
5045
  return O(G, { locale: F.$L, utc: F.$u, x: F.$x, $offset: F.$offset });
5046
5046
  };
5047
- var K = function() {
5048
- function G(N) {
5049
- this.$L = I(N.locale, null, !0), this.parse(N), this.$x = this.$x || N.x || {}, this[A] = !0;
5047
+ var L = function() {
5048
+ function G(y) {
5049
+ this.$L = I(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[A] = !0;
5050
5050
  }
5051
5051
  var F = G.prototype;
5052
- return F.parse = function(N) {
5052
+ return F.parse = function(y) {
5053
5053
  this.$d = function(P) {
5054
5054
  var D = P.date, $ = P.utc;
5055
5055
  if (D === null)
5056
5056
  return new Date(NaN);
5057
- if (L.u(D))
5057
+ if (K.u(D))
5058
5058
  return new Date();
5059
5059
  if (D instanceof Date)
5060
5060
  return new Date(D);
@@ -5066,33 +5066,33 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5066
5066
  }
5067
5067
  }
5068
5068
  return new Date(D);
5069
- }(N), this.init();
5069
+ }(y), this.init();
5070
5070
  }, F.init = function() {
5071
- var N = this.$d;
5072
- this.$y = N.getFullYear(), this.$M = N.getMonth(), this.$D = N.getDate(), this.$W = N.getDay(), this.$H = N.getHours(), this.$m = N.getMinutes(), this.$s = N.getSeconds(), this.$ms = N.getMilliseconds();
5071
+ var y = this.$d;
5072
+ this.$y = y.getFullYear(), this.$M = y.getMonth(), this.$D = y.getDate(), this.$W = y.getDay(), this.$H = y.getHours(), this.$m = y.getMinutes(), this.$s = y.getSeconds(), this.$ms = y.getMilliseconds();
5073
5073
  }, F.$utils = function() {
5074
- return L;
5074
+ return K;
5075
5075
  }, F.isValid = function() {
5076
5076
  return this.$d.toString() !== m;
5077
- }, F.isSame = function(N, P) {
5078
- var D = O(N);
5077
+ }, F.isSame = function(y, P) {
5078
+ var D = O(y);
5079
5079
  return this.startOf(P) <= D && D <= this.endOf(P);
5080
- }, F.isAfter = function(N, P) {
5081
- return O(N) < this.startOf(P);
5082
- }, F.isBefore = function(N, P) {
5083
- return this.endOf(P) < O(N);
5084
- }, F.$g = function(N, P, D) {
5085
- return L.u(N) ? this[P] : this.set(D, N);
5080
+ }, F.isAfter = function(y, P) {
5081
+ return O(y) < this.startOf(P);
5082
+ }, F.isBefore = function(y, P) {
5083
+ return this.endOf(P) < O(y);
5084
+ }, F.$g = function(y, P, D) {
5085
+ return K.u(y) ? this[P] : this.set(D, y);
5086
5086
  }, F.unix = function() {
5087
5087
  return Math.floor(this.valueOf() / 1e3);
5088
5088
  }, F.valueOf = function() {
5089
5089
  return this.$d.getTime();
5090
- }, F.startOf = function(N, P) {
5091
- var D = this, $ = !!L.u(P) || P, M = L.p(N), x = function(oe, Y) {
5092
- var w = L.w(D.$u ? Date.UTC(D.$y, Y, oe) : new Date(D.$y, Y, oe), D);
5090
+ }, F.startOf = function(y, P) {
5091
+ var D = this, $ = !!K.u(P) || P, M = K.p(y), x = function(oe, Y) {
5092
+ var w = K.w(D.$u ? Date.UTC(D.$y, Y, oe) : new Date(D.$y, Y, oe), D);
5093
5093
  return $ ? w : w.endOf(u);
5094
5094
  }, W = function(oe, Y) {
5095
- return L.w(D.toDate()[oe].apply(D.toDate("s"), ($ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), D);
5095
+ return K.w(D.toDate()[oe].apply(D.toDate("s"), ($ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), D);
5096
5096
  }, z = this.$W, J = this.$M, ae = this.$D, se = "set" + (this.$u ? "UTC" : "");
5097
5097
  switch (M) {
5098
5098
  case v:
@@ -5114,50 +5114,50 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5114
5114
  default:
5115
5115
  return this.clone();
5116
5116
  }
5117
- }, F.endOf = function(N) {
5118
- return this.startOf(N, !1);
5119
- }, F.$set = function(N, P) {
5120
- var D, $ = L.p(N), M = "set" + (this.$u ? "UTC" : ""), x = (D = {}, D[u] = M + "Date", D[d] = M + "Date", D[_] = M + "Month", D[v] = M + "FullYear", D[o] = M + "Hours", D[s] = M + "Minutes", D[l] = M + "Seconds", D[i] = M + "Milliseconds", D)[$], W = $ === u ? this.$D + (P - this.$W) : P;
5117
+ }, F.endOf = function(y) {
5118
+ return this.startOf(y, !1);
5119
+ }, F.$set = function(y, P) {
5120
+ var D, $ = K.p(y), M = "set" + (this.$u ? "UTC" : ""), x = (D = {}, D[u] = M + "Date", D[d] = M + "Date", D[_] = M + "Month", D[v] = M + "FullYear", D[o] = M + "Hours", D[s] = M + "Minutes", D[l] = M + "Seconds", D[i] = M + "Milliseconds", D)[$], W = $ === u ? this.$D + (P - this.$W) : P;
5121
5121
  if ($ === _ || $ === v) {
5122
5122
  var z = this.clone().set(d, 1);
5123
5123
  z.$d[x](W), z.init(), this.$d = z.set(d, Math.min(this.$D, z.daysInMonth())).$d;
5124
5124
  } else
5125
5125
  x && this.$d[x](W);
5126
5126
  return this.init(), this;
5127
- }, F.set = function(N, P) {
5128
- return this.clone().$set(N, P);
5129
- }, F.get = function(N) {
5130
- return this[L.p(N)]();
5131
- }, F.add = function(N, P) {
5127
+ }, F.set = function(y, P) {
5128
+ return this.clone().$set(y, P);
5129
+ }, F.get = function(y) {
5130
+ return this[K.p(y)]();
5131
+ }, F.add = function(y, P) {
5132
5132
  var D, $ = this;
5133
- N = Number(N);
5134
- var M = L.p(P), x = function(J) {
5133
+ y = Number(y);
5134
+ var M = K.p(P), x = function(J) {
5135
5135
  var ae = O($);
5136
- return L.w(ae.date(ae.date() + Math.round(J * N)), $);
5136
+ return K.w(ae.date(ae.date() + Math.round(J * y)), $);
5137
5137
  };
5138
5138
  if (M === _)
5139
- return this.set(_, this.$M + N);
5139
+ return this.set(_, this.$M + y);
5140
5140
  if (M === v)
5141
- return this.set(v, this.$y + N);
5141
+ return this.set(v, this.$y + y);
5142
5142
  if (M === u)
5143
5143
  return x(1);
5144
5144
  if (M === c)
5145
5145
  return x(7);
5146
- var W = (D = {}, D[s] = r, D[o] = n, D[l] = a, D)[M] || 1, z = this.$d.getTime() + N * W;
5147
- return L.w(z, this);
5148
- }, F.subtract = function(N, P) {
5149
- return this.add(-1 * N, P);
5150
- }, F.format = function(N) {
5146
+ var W = (D = {}, D[s] = r, D[o] = n, D[l] = a, D)[M] || 1, z = this.$d.getTime() + y * W;
5147
+ return K.w(z, this);
5148
+ }, F.subtract = function(y, P) {
5149
+ return this.add(-1 * y, P);
5150
+ }, F.format = function(y) {
5151
5151
  var P = this, D = this.$locale();
5152
5152
  if (!this.isValid())
5153
5153
  return D.invalidDate || m;
5154
- var $ = N || "YYYY-MM-DDTHH:mm:ssZ", M = L.z(this), x = this.$H, W = this.$m, z = this.$M, J = D.weekdays, ae = D.months, se = D.meridiem, ue = function(Y, w, U, H) {
5155
- return Y && (Y[w] || Y(P, $)) || U[w].slice(0, H);
5154
+ var $ = y || "YYYY-MM-DDTHH:mm:ssZ", M = K.z(this), x = this.$H, W = this.$m, z = this.$M, J = D.weekdays, ae = D.months, se = D.meridiem, ue = function(Y, w, U, q) {
5155
+ return Y && (Y[w] || Y(P, $)) || U[w].slice(0, q);
5156
5156
  }, _e = function(Y) {
5157
- return L.s(x % 12 || 12, Y, "0");
5157
+ return K.s(x % 12 || 12, Y, "0");
5158
5158
  }, oe = se || function(Y, w, U) {
5159
- var H = Y < 12 ? "AM" : "PM";
5160
- return U ? H.toLowerCase() : H;
5159
+ var q = Y < 12 ? "AM" : "PM";
5160
+ return U ? q.toLowerCase() : q;
5161
5161
  };
5162
5162
  return $.replace(T, function(Y, w) {
5163
5163
  return w || function(U) {
@@ -5165,11 +5165,11 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5165
5165
  case "YY":
5166
5166
  return String(P.$y).slice(-2);
5167
5167
  case "YYYY":
5168
- return L.s(P.$y, 4, "0");
5168
+ return K.s(P.$y, 4, "0");
5169
5169
  case "M":
5170
5170
  return z + 1;
5171
5171
  case "MM":
5172
- return L.s(z + 1, 2, "0");
5172
+ return K.s(z + 1, 2, "0");
5173
5173
  case "MMM":
5174
5174
  return ue(D.monthsShort, z, ae, 3);
5175
5175
  case "MMMM":
@@ -5177,7 +5177,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5177
5177
  case "D":
5178
5178
  return P.$D;
5179
5179
  case "DD":
5180
- return L.s(P.$D, 2, "0");
5180
+ return K.s(P.$D, 2, "0");
5181
5181
  case "d":
5182
5182
  return String(P.$W);
5183
5183
  case "dd":
@@ -5189,7 +5189,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5189
5189
  case "H":
5190
5190
  return String(x);
5191
5191
  case "HH":
5192
- return L.s(x, 2, "0");
5192
+ return K.s(x, 2, "0");
5193
5193
  case "h":
5194
5194
  return _e(1);
5195
5195
  case "hh":
@@ -5201,13 +5201,13 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5201
5201
  case "m":
5202
5202
  return String(W);
5203
5203
  case "mm":
5204
- return L.s(W, 2, "0");
5204
+ return K.s(W, 2, "0");
5205
5205
  case "s":
5206
5206
  return String(P.$s);
5207
5207
  case "ss":
5208
- return L.s(P.$s, 2, "0");
5208
+ return K.s(P.$s, 2, "0");
5209
5209
  case "SSS":
5210
- return L.s(P.$ms, 3, "0");
5210
+ return K.s(P.$ms, 3, "0");
5211
5211
  case "Z":
5212
5212
  return M;
5213
5213
  }
@@ -5216,9 +5216,9 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5216
5216
  });
5217
5217
  }, F.utcOffset = function() {
5218
5218
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5219
- }, F.diff = function(N, P, D) {
5220
- var $, M = this, x = L.p(P), W = O(N), z = (W.utcOffset() - this.utcOffset()) * r, J = this - W, ae = function() {
5221
- return L.m(M, W);
5219
+ }, F.diff = function(y, P, D) {
5220
+ var $, M = this, x = K.p(P), W = O(y), z = (W.utcOffset() - this.utcOffset()) * r, J = this - W, ae = function() {
5221
+ return K.m(M, W);
5222
5222
  };
5223
5223
  switch (x) {
5224
5224
  case v:
@@ -5248,18 +5248,18 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5248
5248
  default:
5249
5249
  $ = J;
5250
5250
  }
5251
- return D ? $ : L.a($);
5251
+ return D ? $ : K.a($);
5252
5252
  }, F.daysInMonth = function() {
5253
5253
  return this.endOf(_).$D;
5254
5254
  }, F.$locale = function() {
5255
- return y[this.$L];
5256
- }, F.locale = function(N, P) {
5257
- if (!N)
5255
+ return N[this.$L];
5256
+ }, F.locale = function(y, P) {
5257
+ if (!y)
5258
5258
  return this.$L;
5259
- var D = this.clone(), $ = I(N, P, !0);
5259
+ var D = this.clone(), $ = I(y, P, !0);
5260
5260
  return $ && (D.$L = $), D;
5261
5261
  }, F.clone = function() {
5262
- return L.w(this.$d, this);
5262
+ return K.w(this.$d, this);
5263
5263
  }, F.toDate = function() {
5264
5264
  return new Date(this.valueOf());
5265
5265
  }, F.toJSON = function() {
@@ -5269,16 +5269,16 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5269
5269
  }, F.toString = function() {
5270
5270
  return this.$d.toUTCString();
5271
5271
  }, G;
5272
- }(), B = K.prototype;
5272
+ }(), B = L.prototype;
5273
5273
  return O.prototype = B, [["$ms", i], ["$s", l], ["$m", s], ["$H", o], ["$W", u], ["$M", _], ["$y", v], ["$D", d]].forEach(function(G) {
5274
5274
  B[G[1]] = function(F) {
5275
5275
  return this.$g(F, G[0], G[1]);
5276
5276
  };
5277
5277
  }), O.extend = function(G, F) {
5278
- return G.$i || (G(F, K, O), G.$i = !0), O;
5278
+ return G.$i || (G(F, L, O), G.$i = !0), O;
5279
5279
  }, O.locale = I, O.isDayjs = V, O.unix = function(G) {
5280
5280
  return O(1e3 * G);
5281
- }, O.en = y[C], O.Ls = y, O.p = {}, O;
5281
+ }, O.en = N[C], O.Ls = N, O.p = {}, O;
5282
5282
  });
5283
5283
  })(dayjs_min);
5284
5284
  const dayjs = dayjs_min.exports;
@@ -5325,23 +5325,23 @@ function filesize(e, {
5325
5325
  } = {}) {
5326
5326
  let T = d, E = Number(e), R = [], k = 0, C = EMPTY;
5327
5327
  c === SI ? (r = 10, c = JEDEC) : c === IEC || c === JEDEC ? r = 2 : r === 2 ? c = IEC : (r = 10, c = JEDEC);
5328
- const y = r === 10 ? 1e3 : 1024, A = g === !0, V = E < 0, I = Math[m];
5328
+ const N = r === 10 ? 1e3 : 1024, A = g === !0, V = E < 0, I = Math[m];
5329
5329
  if (typeof e != "bigint" && isNaN(e))
5330
5330
  throw new TypeError(INVALID_NUMBER);
5331
5331
  if (typeof I !== FUNCTION)
5332
5332
  throw new TypeError(INVALID_ROUND);
5333
- if (V && (E = -E), (T === -1 || isNaN(T)) && (T = Math.floor(Math.log(E) / Math.log(y)), T < 0 && (T = 0)), T > 8 && (p > 0 && (p += 8 - T), T = 8), _ === EXPONENT)
5333
+ if (V && (E = -E), (T === -1 || isNaN(T)) && (T = Math.floor(Math.log(E) / Math.log(N)), T < 0 && (T = 0)), T > 8 && (p > 0 && (p += 8 - T), T = 8), _ === EXPONENT)
5334
5334
  return T;
5335
5335
  if (E === 0)
5336
5336
  R[0] = 0, C = R[1] = STRINGS.symbol[c][t ? BITS : BYTES][T];
5337
5337
  else {
5338
- k = E / (r === 2 ? Math.pow(2, T * 10) : Math.pow(1e3, T)), t && (k = k * 8, k >= y && T < 8 && (k = k / y, T++));
5338
+ k = E / (r === 2 ? Math.pow(2, T * 10) : Math.pow(1e3, T)), t && (k = k * 8, k >= N && T < 8 && (k = k / N, T++));
5339
5339
  const O = Math.pow(10, T > 0 ? n : 0);
5340
- R[0] = I(k * O) / O, R[0] === y && T < 8 && d === -1 && (R[0] = 1, T++), C = R[1] = r === 10 && T === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[c][t ? BITS : BYTES][T];
5340
+ R[0] = I(k * O) / O, R[0] === N && T < 8 && d === -1 && (R[0] = 1, T++), C = R[1] = r === 10 && T === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[c][t ? BITS : BYTES][T];
5341
5341
  }
5342
5342
  if (V && (R[0] = -R[0]), p > 0 && (R[0] = R[0].toPrecision(p)), R[1] = u[R[1]] || R[1], i === !0 ? R[0] = R[0].toLocaleString() : i.length > 0 ? R[0] = R[0].toLocaleString(i, l) : s.length > 0 && (R[0] = R[0].toString().replace(PERIOD, s)), a && Number.isInteger(R[0]) === !1 && n > 0) {
5343
- const O = s || PERIOD, L = R[0].toString().split(O), K = L[1] || EMPTY, B = K.length, G = n - B;
5344
- R[0] = `${L[0]}${O}${K.padEnd(B + G, ZERO)}`;
5343
+ const O = s || PERIOD, K = R[0].toString().split(O), L = K[1] || EMPTY, B = L.length, G = n - B;
5344
+ R[0] = `${K[0]}${O}${L.padEnd(B + G, ZERO)}`;
5345
5345
  }
5346
5346
  return A && (R[1] = v[T] ? v[T] : STRINGS.fullform[c][T] + (t ? BIT : BYTE) + (R[0] === 1 ? EMPTY : S)), _ === ARRAY ? R : _ === OBJECT ? {
5347
5347
  value: R[0],
@@ -6005,7 +6005,7 @@ class KgVarUtil {
6005
6005
  })]);
6006
6006
  }
6007
6007
  static getQueryHeaders(t) {
6008
- var E, R, k, C, y;
6008
+ var E, R, k, C, N;
6009
6009
  const {
6010
6010
  params: a,
6011
6011
  kgSearchFormID: r,
@@ -6028,14 +6028,14 @@ class KgVarUtil {
6028
6028
  };
6029
6029
  const o = ["pageNo", "pageSize", "column", "order"], u = useKg(), c = n ? useKgVar(n) : null, _ = r ? useKgVar(r) : null, g = r ? (E = _ == null ? void 0 : _.kgSearch) == null ? void 0 : E.dynamicQueryOperatorModel.value : i, v = {};
6030
6030
  Object.keys(s).sort().forEach((A) => {
6031
- var K, B, G, F, N, P;
6031
+ var L, B, G, F, y, P;
6032
6032
  if (o.includes(A) || A.endsWith("_obj"))
6033
6033
  return;
6034
- const V = r ? (K = _ == null ? void 0 : _.store) == null ? void 0 : K.getVarProfileDetail(r, A) : null;
6034
+ const V = r ? (L = _ == null ? void 0 : _.store) == null ? void 0 : L.getVarProfileDetail(r, A) : null;
6035
6035
  let I = A;
6036
6036
  const O = s[A];
6037
- let L = g == null ? void 0 : g[A];
6038
- switch ((((G = (B = u.option.value.KgSearch) == null ? void 0 : B.dynamicQuery) == null ? void 0 : G.on) !== !0 || r && ((P = (N = (F = _ == null ? void 0 : _.kgSearch) == null ? void 0 : F.currentVarProfileMaster) == null ? void 0 : N.value) == null ? void 0 : P.dyn_flg) !== 1) && (L = KG_DYNAMIC_QUERY_OPERATOR.EQ), r && (V == null ? void 0 : V.use_underscore_when_dynamic_query_flag) !== 0 && (I = A.split(".").map((D) => snakeCase$1(D)).join(".")), !0) {
6037
+ let K = g == null ? void 0 : g[A];
6038
+ switch ((((G = (B = u.option.value.KgSearch) == null ? void 0 : B.dynamicQuery) == null ? void 0 : G.on) !== !0 || r && ((P = (y = (F = _ == null ? void 0 : _.kgSearch) == null ? void 0 : F.currentVarProfileMaster) == null ? void 0 : y.value) == null ? void 0 : P.dyn_flg) !== 1) && (K = KG_DYNAMIC_QUERY_OPERATOR.EQ), r && (V == null ? void 0 : V.use_underscore_when_dynamic_query_flag) !== 0 && (I = A.split(".").map((D) => snakeCase$1(D)).join(".")), !0) {
6039
6039
  case (!!l && l.isDayjs(O)): {
6040
6040
  const D = O;
6041
6041
  let $ = r ? KgUtil.parseParamFromDayjs({
@@ -6043,7 +6043,7 @@ class KgVarUtil {
6043
6043
  key: A,
6044
6044
  value: D
6045
6045
  }) : D.format("YYYY-MM-DD HH:mm:ss");
6046
- switch (L) {
6046
+ switch (K) {
6047
6047
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
6048
6048
  let M = $, x = "";
6049
6049
  switch (!0) {
@@ -6223,7 +6223,7 @@ class KgVarUtil {
6223
6223
  break;
6224
6224
  }
6225
6225
  let D = KgUtil.parseParamFromString(O);
6226
- switch (L) {
6226
+ switch (K) {
6227
6227
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
6228
6228
  D = ` AND (${I} <> N'${D}')`;
6229
6229
  break;
@@ -6251,7 +6251,7 @@ class KgVarUtil {
6251
6251
  }
6252
6252
  case typeof O == "number": {
6253
6253
  let D = "";
6254
- switch (L) {
6254
+ switch (K) {
6255
6255
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
6256
6256
  D = ` AND (${I} <> ${O})`;
6257
6257
  break;
@@ -6283,7 +6283,7 @@ class KgVarUtil {
6283
6283
  }
6284
6284
  case typeof O == "boolean": {
6285
6285
  let D = "";
6286
- switch (L) {
6286
+ switch (K) {
6287
6287
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
6288
6288
  D = ` AND (${I} <> ${O ? 1 : 0})`;
6289
6289
  break;
@@ -6304,9 +6304,9 @@ class KgVarUtil {
6304
6304
  }
6305
6305
  });
6306
6306
  let m = `WHERE (1 = 1)${reduce(v, (A, V, I) => {
6307
- var L, K, B, G;
6308
- const O = r ? (L = _ == null ? void 0 : _.store) == null ? void 0 : L.getVarProfileDetail(r, I) : null;
6309
- return (O == null ? void 0 : O.exclude_from_where_sql_flag) === 1 || !O && Object.keys(KgVarUtil.parseRequestParamsToJSON((G = (B = (K = c == null ? void 0 : c.varGridConfig) == null ? void 0 : K.value) == null ? void 0 : B.cmd_prm) != null ? G : "")).includes(I) || !V ? A : A + V;
6307
+ var K, L, B, G;
6308
+ const O = r ? (K = _ == null ? void 0 : _.store) == null ? void 0 : K.getVarProfileDetail(r, I) : null;
6309
+ return (O == null ? void 0 : O.exclude_from_where_sql_flag) === 1 || !O && Object.keys(KgVarUtil.parseRequestParamsToJSON((G = (B = (L = c == null ? void 0 : c.varGridConfig) == null ? void 0 : L.value) == null ? void 0 : B.cmd_prm) != null ? G : "")).includes(I) || !V ? A : A + V;
6310
6310
  }, "")}`;
6311
6311
  m = encodeURIComponent(m);
6312
6312
  let p = "";
@@ -6374,7 +6374,7 @@ class KgVarUtil {
6374
6374
  }
6375
6375
  }
6376
6376
  let A = s.column;
6377
- ((y = c == null ? void 0 : c.varGridConfig.value) == null ? void 0 : y.convert_sort_field_to_under_score_flg) === 1 && (A = s.column.split(".").map((V) => snakeCase$1(V)).join(".")), A && (p = `ORDER BY ${A}`, s.order === "asc" ? p += " ASC" : s.order === "desc" && (p += " DESC"), p = encodeURIComponent(p.trim()));
6377
+ ((N = c == null ? void 0 : c.varGridConfig.value) == null ? void 0 : N.convert_sort_field_to_under_score_flg) === 1 && (A = s.column.split(".").map((V) => snakeCase$1(V)).join(".")), A && (p = `ORDER BY ${A}`, s.order === "asc" ? p += " ASC" : s.order === "desc" && (p += " DESC"), p = encodeURIComponent(p.trim()));
6378
6378
  }
6379
6379
  let T = "";
6380
6380
  if (!isNil(s.pageNo)) {
@@ -6489,7 +6489,7 @@ function createSetupStore(e, t, a = {}, r, n) {
6489
6489
  deep: !0
6490
6490
  };
6491
6491
  process.env.NODE_ENV !== "production" && !isVue2 && (o.onTrigger = (V) => {
6492
- u ? v = V : u == !1 && !y._hotUpdating && (Array.isArray(v) ? v.push(V) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
6492
+ u ? v = V : u == !1 && !N._hotUpdating && (Array.isArray(v) ? v.push(V) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
6493
6493
  });
6494
6494
  let u, c, _ = markRaw([]), g = markRaw([]), v;
6495
6495
  const d = r.state.value[e];
@@ -6519,27 +6519,27 @@ function createSetupStore(e, t, a = {}, r, n) {
6519
6519
  function R(V, I) {
6520
6520
  return function() {
6521
6521
  setActivePinia(r);
6522
- const O = Array.from(arguments), L = [], K = [];
6523
- function B(N) {
6524
- L.push(N);
6522
+ const O = Array.from(arguments), K = [], L = [];
6523
+ function B(y) {
6524
+ K.push(y);
6525
6525
  }
6526
- function G(N) {
6527
- K.push(N);
6526
+ function G(y) {
6527
+ L.push(y);
6528
6528
  }
6529
6529
  triggerSubscriptions(g, {
6530
6530
  args: O,
6531
6531
  name: V,
6532
- store: y,
6532
+ store: N,
6533
6533
  after: B,
6534
6534
  onError: G
6535
6535
  });
6536
6536
  let F;
6537
6537
  try {
6538
- F = I.apply(this && this.$id === e ? this : y, O);
6539
- } catch (N) {
6540
- throw triggerSubscriptions(K, N), N;
6538
+ F = I.apply(this && this.$id === e ? this : N, O);
6539
+ } catch (y) {
6540
+ throw triggerSubscriptions(L, y), y;
6541
6541
  }
6542
- return F instanceof Promise ? F.then((N) => (triggerSubscriptions(L, N), N)).catch((N) => (triggerSubscriptions(K, N), Promise.reject(N))) : (triggerSubscriptions(L, F), F);
6542
+ return F instanceof Promise ? F.then((y) => (triggerSubscriptions(K, y), y)).catch((y) => (triggerSubscriptions(L, y), Promise.reject(y))) : (triggerSubscriptions(K, F), F);
6543
6543
  };
6544
6544
  }
6545
6545
  const k = /* @__PURE__ */ markRaw({
@@ -6554,24 +6554,24 @@ function createSetupStore(e, t, a = {}, r, n) {
6554
6554
  $patch: p,
6555
6555
  $reset: T,
6556
6556
  $subscribe(V, I = {}) {
6557
- const O = addSubscription(_, V, I.detached, () => L()), L = i.run(() => watch(() => r.state.value[e], (K) => {
6557
+ const O = addSubscription(_, V, I.detached, () => K()), K = i.run(() => watch(() => r.state.value[e], (L) => {
6558
6558
  (I.flush === "sync" ? c : u) && V({
6559
6559
  storeId: e,
6560
6560
  type: MutationType.direct,
6561
6561
  events: v
6562
- }, K);
6562
+ }, L);
6563
6563
  }, assign$1({}, o, I)));
6564
6564
  return O;
6565
6565
  },
6566
6566
  $dispose: E
6567
- }, y = reactive(assign$1(
6567
+ }, N = reactive(assign$1(
6568
6568
  process.env.NODE_ENV !== "production" && IS_CLIENT ? {
6569
6569
  _customProperties: markRaw(/* @__PURE__ */ new Set()),
6570
6570
  _hmrPayload: k
6571
6571
  } : {},
6572
6572
  C
6573
6573
  ));
6574
- r._s.set(e, y);
6574
+ r._s.set(e, N);
6575
6575
  const A = r._e.run(() => (i = effectScope(), i.run(() => t())));
6576
6576
  for (const V in A) {
6577
6577
  const I = A[V];
@@ -6583,7 +6583,7 @@ function createSetupStore(e, t, a = {}, r, n) {
6583
6583
  } else
6584
6584
  process.env.NODE_ENV !== "production" && isComputed(I) && (k.getters[V] = l ? a.getters[V] : I, IS_CLIENT && (A._getters || (A._getters = markRaw([]))).push(V));
6585
6585
  }
6586
- if (assign$1(y, A), assign$1(toRaw(y), A), Object.defineProperty(y, "$state", {
6586
+ if (assign$1(N, A), assign$1(toRaw(N), A), Object.defineProperty(N, "$state", {
6587
6587
  get: () => process.env.NODE_ENV !== "production" && n ? m.value : r.state.value[e],
6588
6588
  set: (V) => {
6589
6589
  if (process.env.NODE_ENV !== "production" && n)
@@ -6593,31 +6593,31 @@ function createSetupStore(e, t, a = {}, r, n) {
6593
6593
  });
6594
6594
  }
6595
6595
  }), process.env.NODE_ENV !== "production") {
6596
- y._hotUpdate = markRaw((I) => {
6597
- y._hotUpdating = !0, I._hmrPayload.state.forEach((O) => {
6598
- if (O in y.$state) {
6599
- const L = I.$state[O], K = y.$state[O];
6600
- typeof L == "object" && isPlainObject(L) && isPlainObject(K) ? patchObject(L, K) : I.$state[O] = K;
6596
+ N._hotUpdate = markRaw((I) => {
6597
+ N._hotUpdating = !0, I._hmrPayload.state.forEach((O) => {
6598
+ if (O in N.$state) {
6599
+ const K = I.$state[O], L = N.$state[O];
6600
+ typeof K == "object" && isPlainObject(K) && isPlainObject(L) ? patchObject(K, L) : I.$state[O] = L;
6601
6601
  }
6602
- set(y, O, toRef(I.$state, O));
6603
- }), Object.keys(y.$state).forEach((O) => {
6604
- O in I.$state || del(y, O);
6602
+ set(N, O, toRef(I.$state, O));
6603
+ }), Object.keys(N.$state).forEach((O) => {
6604
+ O in I.$state || del(N, O);
6605
6605
  }), u = !1, c = !1, r.state.value[e] = toRef(I._hmrPayload, "hotState"), c = !0, nextTick().then(() => {
6606
6606
  u = !0;
6607
6607
  });
6608
6608
  for (const O in I._hmrPayload.actions) {
6609
- const L = I[O];
6610
- set(y, O, R(O, L));
6609
+ const K = I[O];
6610
+ set(N, O, R(O, K));
6611
6611
  }
6612
6612
  for (const O in I._hmrPayload.getters) {
6613
- const L = I._hmrPayload.getters[O], K = l ? computed(() => (setActivePinia(r), L.call(y, y))) : L;
6614
- set(y, O, K);
6615
- }
6616
- Object.keys(y._hmrPayload.getters).forEach((O) => {
6617
- O in I._hmrPayload.getters || del(y, O);
6618
- }), Object.keys(y._hmrPayload.actions).forEach((O) => {
6619
- O in I._hmrPayload.actions || del(y, O);
6620
- }), y._hmrPayload = I._hmrPayload, y._getters = I._getters, y._hotUpdating = !1;
6613
+ const K = I._hmrPayload.getters[O], L = l ? computed(() => (setActivePinia(r), K.call(N, N))) : K;
6614
+ set(N, O, L);
6615
+ }
6616
+ Object.keys(N._hmrPayload.getters).forEach((O) => {
6617
+ O in I._hmrPayload.getters || del(N, O);
6618
+ }), Object.keys(N._hmrPayload.actions).forEach((O) => {
6619
+ O in I._hmrPayload.actions || del(N, O);
6620
+ }), N._hmrPayload = I._hmrPayload, N._getters = I._getters, N._hotUpdating = !1;
6621
6621
  });
6622
6622
  const V = {
6623
6623
  writable: !0,
@@ -6625,8 +6625,8 @@ function createSetupStore(e, t, a = {}, r, n) {
6625
6625
  enumerable: !1
6626
6626
  };
6627
6627
  IS_CLIENT && ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((I) => {
6628
- Object.defineProperty(y, I, {
6629
- value: y[I],
6628
+ Object.defineProperty(N, I, {
6629
+ value: N[I],
6630
6630
  ...V
6631
6631
  });
6632
6632
  });
@@ -6634,22 +6634,22 @@ function createSetupStore(e, t, a = {}, r, n) {
6634
6634
  return r._p.forEach((V) => {
6635
6635
  if (process.env.NODE_ENV !== "production" && IS_CLIENT) {
6636
6636
  const I = i.run(() => V({
6637
- store: y,
6637
+ store: N,
6638
6638
  app: r._a,
6639
6639
  pinia: r,
6640
6640
  options: s
6641
6641
  }));
6642
- Object.keys(I || {}).forEach((O) => y._customProperties.add(O)), assign$1(y, I);
6642
+ Object.keys(I || {}).forEach((O) => N._customProperties.add(O)), assign$1(N, I);
6643
6643
  } else
6644
- assign$1(y, i.run(() => V({
6645
- store: y,
6644
+ assign$1(N, i.run(() => V({
6645
+ store: N,
6646
6646
  app: r._a,
6647
6647
  pinia: r,
6648
6648
  options: s
6649
6649
  })));
6650
- }), process.env.NODE_ENV !== "production" && y.$state && typeof y.$state == "object" && typeof y.$state.constructor == "function" && !y.$state.constructor.toString().includes("[native code]") && console.warn(`[\u{1F34D}]: The "state" must be a plain object. It cannot be
6650
+ }), process.env.NODE_ENV !== "production" && N.$state && typeof N.$state == "object" && typeof N.$state.constructor == "function" && !N.$state.constructor.toString().includes("[native code]") && console.warn(`[\u{1F34D}]: The "state" must be a plain object. It cannot be
6651
6651
  state: () => new MyClass()
6652
- Found in store "${y.$id}".`), d && l && a.hydrate && a.hydrate(y.$state, d), u = !0, c = !0, y;
6652
+ Found in store "${N.$id}".`), d && l && a.hydrate && a.hydrate(N.$state, d), u = !0, c = !0, N;
6653
6653
  }
6654
6654
  function defineStore(e, t, a) {
6655
6655
  let r, n;
@@ -7337,11 +7337,11 @@ function useMagicKeys(e = {}) {
7337
7337
  var T, E;
7338
7338
  const R = (T = m.key) == null ? void 0 : T.toLowerCase(), k = (E = m.code) == null ? void 0 : E.toLowerCase(), C = [k, R].filter(Boolean);
7339
7339
  k && (p ? l.add(m.code) : l.delete(m.code));
7340
- for (const y of C)
7341
- c.add(y), _(y, p);
7342
- R === "meta" && !p ? (u.forEach((y) => {
7343
- l.delete(y), _(y, !1);
7344
- }), u.clear()) : typeof m.getModifierState == "function" && m.getModifierState("Meta") && p && [...l, ...C].forEach((y) => u.add(y));
7340
+ for (const N of C)
7341
+ c.add(N), _(N, p);
7342
+ R === "meta" && !p ? (u.forEach((N) => {
7343
+ l.delete(N), _(N, !1);
7344
+ }), u.clear()) : typeof m.getModifierState == "function" && m.getModifierState("Meta") && p && [...l, ...C].forEach((N) => u.add(N));
7345
7345
  }
7346
7346
  a && (useEventListener(a, "keydown", (m) => (v(m, !0), i(m)), { passive: n }), useEventListener(a, "keyup", (m) => (v(m, !1), i(m)), { passive: n }), useEventListener("blur", g, { passive: !0 }), useEventListener("focus", g, { passive: !0 }));
7347
7347
  const d = new Proxy(o, {
@@ -7377,26 +7377,26 @@ function useWindowSize(e = {}) {
7377
7377
  }
7378
7378
  const KG_MODAL_BORDER_WIDTH = 1, KG_MODAL_SCROLL_WIDTH = 17;
7379
7379
  function useDragToMove(e) {
7380
- var I, O, L;
7380
+ var I, O, K;
7381
7381
  const {
7382
7382
  getProps: t,
7383
7383
  domRef: a
7384
7384
  } = e;
7385
- if (((L = (O = (I = useKg().option.value) == null ? void 0 : I.KgModal) == null ? void 0 : O.drag) == null ? void 0 : L.on) !== !0)
7385
+ if (((K = (O = (I = useKg().option.value) == null ? void 0 : I.KgModal) == null ? void 0 : O.drag) == null ? void 0 : K.on) !== !0)
7386
7386
  return;
7387
7387
  const {
7388
7388
  width: n,
7389
7389
  height: i
7390
7390
  } = useWindowSize();
7391
7391
  let l = computed(() => {
7392
- var K, B, G, F, N;
7393
- return (N = (F = (G = (B = (K = a.value) == null ? void 0 : K.parentElement) == null ? void 0 : B.parentElement) == null ? void 0 : G.parentElement) == null ? void 0 : F.parentElement) != null ? N : null;
7392
+ var L, B, G, F, y;
7393
+ return (y = (F = (G = (B = (L = a.value) == null ? void 0 : L.parentElement) == null ? void 0 : B.parentElement) == null ? void 0 : G.parentElement) == null ? void 0 : F.parentElement) != null ? y : null;
7394
7394
  }), s = computed(() => {
7395
- var K, B, G, F;
7396
- return (F = (G = (B = (K = a.value) == null ? void 0 : K.parentElement) == null ? void 0 : B.parentElement) == null ? void 0 : G.parentElement) != null ? F : null;
7395
+ var L, B, G, F;
7396
+ return (F = (G = (B = (L = a.value) == null ? void 0 : L.parentElement) == null ? void 0 : B.parentElement) == null ? void 0 : G.parentElement) != null ? F : null;
7397
7397
  }), o = computed(() => {
7398
- var K, B;
7399
- return (B = (K = l.value) == null ? void 0 : K.querySelector(".ant-modal-header")) != null ? B : null;
7398
+ var L, B;
7399
+ return (B = (L = l.value) == null ? void 0 : L.querySelector(".ant-modal-header")) != null ? B : null;
7400
7400
  }), u = 0, c = 0, _ = 0, g = 0, v = 0, d = 0, m = 0, p = 0, T = {
7401
7401
  remove: () => {
7402
7402
  }
@@ -7404,42 +7404,42 @@ function useDragToMove(e) {
7404
7404
  remove: () => {
7405
7405
  }
7406
7406
  };
7407
- watch([() => t.value.visible, () => t.value.kgIsDragToMove, l, s, o], ([K, B, G, F, N]) => {
7408
- !K || !B || !G || !F || !N || getComputedStyle(G).display === "none" || G.getAttribute("data-drag") !== null && !t.value.destroyOnClose || (G.setAttribute("data-drag", "true"), N.style.cursor = "move", N.onmousedown = y);
7407
+ watch([() => t.value.visible, () => t.value.kgIsDragToMove, l, s, o], ([L, B, G, F, y]) => {
7408
+ !L || !B || !G || !F || !y || getComputedStyle(G).display === "none" || G.getAttribute("data-drag") !== null && !t.value.destroyOnClose || (G.setAttribute("data-drag", "true"), y.style.cursor = "move", y.onmousedown = N);
7409
7409
  }, {
7410
7410
  immediate: !0
7411
7411
  });
7412
- function R(K, B, G) {
7413
- return K.addEventListener(B, G), {
7414
- remove: () => K.removeEventListener(B, G)
7412
+ function R(L, B, G) {
7413
+ return L.addEventListener(B, G), {
7414
+ remove: () => L.removeEventListener(B, G)
7415
7415
  };
7416
7416
  }
7417
7417
  function k() {
7418
7418
  T.remove(), E.remove();
7419
7419
  }
7420
- function C(K) {
7420
+ function C(L) {
7421
7421
  const {
7422
7422
  event: B
7423
- } = K != null ? K : {};
7423
+ } = L != null ? L : {};
7424
7424
  if (!s.value)
7425
7425
  return;
7426
7426
  let G = B.clientX - v, F = B.clientY - d;
7427
7427
  -G > u ? G = -u : G > c && (G = c), -F > _ ? F = -_ : F > g && (F = g);
7428
- const N = m + G, P = p + F;
7429
- s.value.style.left = `${N}px`, s.value.style.top = `${P}px`;
7428
+ const y = m + G, P = p + F;
7429
+ s.value.style.left = `${y}px`, s.value.style.top = `${P}px`;
7430
7430
  }
7431
- function y(K) {
7432
- !K || !l.value || !s.value || !o.value || (document.body.classList.add("kg-modal-dragging"), v = K.clientX, d = K.clientY, u = s.value.offsetLeft, c = n.value - s.value.offsetLeft - o.value.offsetWidth - KG_MODAL_BORDER_WIDTH * 2, _ = s.value.offsetTop, g = i.value - s.value.offsetTop - o.value.offsetHeight - KG_MODAL_BORDER_WIDTH, m = Number(getComputedStyle(s.value).left.replace(/px/g, "")), p = Number(getComputedStyle(s.value).top.replace(/px/g, "")), T = R(document.documentElement, "mousemove", (B) => A({
7431
+ function N(L) {
7432
+ !L || !l.value || !s.value || !o.value || (document.body.classList.add("kg-modal-dragging"), v = L.clientX, d = L.clientY, u = s.value.offsetLeft, c = n.value - s.value.offsetLeft - o.value.offsetWidth - KG_MODAL_BORDER_WIDTH * 2, _ = s.value.offsetTop, g = i.value - s.value.offsetTop - o.value.offsetHeight - KG_MODAL_BORDER_WIDTH, m = Number(getComputedStyle(s.value).left.replace(/px/g, "")), p = Number(getComputedStyle(s.value).top.replace(/px/g, "")), T = R(document.documentElement, "mousemove", (B) => A({
7433
7433
  event: B
7434
7434
  })), E = R(document.documentElement, "mouseup", (B) => V({
7435
7435
  event: B
7436
7436
  })));
7437
7437
  }
7438
- function A(K) {
7439
- C(K);
7438
+ function A(L) {
7439
+ C(L);
7440
7440
  }
7441
- function V(K) {
7442
- C(K), k(), document.body.classList.remove("kg-modal-dragging");
7441
+ function V(L) {
7442
+ C(L), k(), document.body.classList.remove("kg-modal-dragging");
7443
7443
  }
7444
7444
  onUnmounted(() => {
7445
7445
  k();
@@ -7455,41 +7455,41 @@ function useDragToResize(e) {
7455
7455
  height: i
7456
7456
  } = useWindowSize(), l = 48, s = 400;
7457
7457
  let o = null, u = computed(() => {
7458
- var N, P, D, $;
7459
- return ($ = (D = (P = (N = r.value) == null ? void 0 : N.parentElement) == null ? void 0 : P.parentElement) == null ? void 0 : D.parentElement) != null ? $ : null;
7458
+ var y, P, D, $;
7459
+ return ($ = (D = (P = (y = r.value) == null ? void 0 : y.parentElement) == null ? void 0 : P.parentElement) == null ? void 0 : D.parentElement) != null ? $ : null;
7460
7460
  }), c = computed(() => {
7461
- var N, P;
7462
- return (P = (N = u.value) == null ? void 0 : N.querySelector(".ant-modal-header")) != null ? P : null;
7461
+ var y, P;
7462
+ return (P = (y = u.value) == null ? void 0 : y.querySelector(".ant-modal-header")) != null ? P : null;
7463
7463
  }), _ = computed(() => {
7464
- var N, P;
7465
- return (P = (N = u.value) == null ? void 0 : N.querySelector(".ant-modal-footer")) != null ? P : null;
7464
+ var y, P;
7465
+ return (P = (y = u.value) == null ? void 0 : y.querySelector(".ant-modal-footer")) != null ? P : null;
7466
7466
  });
7467
7467
  const g = ref(t.width !== void 0 ? t.width : "80%"), v = computed(() => {
7468
7468
  var P;
7469
- const N = (P = a.value.kgMinWidth) != null ? P : s;
7470
- return Math.min(N, n.value);
7469
+ const y = (P = a.value.kgMinWidth) != null ? P : s;
7470
+ return Math.min(y, n.value);
7471
7471
  }), d = computed(() => {
7472
7472
  var P;
7473
- const N = (P = a.value.kgMaxWidth) != null ? P : n.value;
7474
- return Math.min(N, n.value);
7473
+ const y = (P = a.value.kgMaxWidth) != null ? P : n.value;
7474
+ return Math.min(y, n.value);
7475
7475
  }), m = computed(() => {
7476
7476
  var P;
7477
- const N = (P = a.value.kgMaxHeight) != null ? P : i.value;
7478
- return Math.min(N, i.value);
7477
+ const y = (P = a.value.kgMaxHeight) != null ? P : i.value;
7478
+ return Math.min(y, i.value);
7479
7479
  }), p = ref(0);
7480
7480
  let T = 0, E = 0, R = 0, k = 0, C = {
7481
7481
  remove: () => {
7482
7482
  }
7483
- }, y = {
7483
+ }, N = {
7484
7484
  remove: () => {
7485
7485
  }
7486
7486
  };
7487
- watch(() => t.width, (N) => {
7488
- N !== void 0 && (g.value = N);
7487
+ watch(() => t.width, (y) => {
7488
+ y !== void 0 && (g.value = y);
7489
7489
  });
7490
- const A = watch([u], ([N]) => {
7491
- if (N) {
7492
- const P = N.querySelector("div.ant-modal-content");
7490
+ const A = watch([u], ([y]) => {
7491
+ if (y) {
7492
+ const P = y.querySelector("div.ant-modal-content");
7493
7493
  P ? (A(), o = new ResizeObserver(() => {
7494
7494
  p.value = P.offsetHeight;
7495
7495
  }), o.observe(P)) : o == null || o.disconnect();
@@ -7497,33 +7497,33 @@ function useDragToResize(e) {
7497
7497
  }, {
7498
7498
  immediate: !0
7499
7499
  });
7500
- watch([u, m, p], ([N, P, D]) => {
7501
- N && D > P && (N.style.height = `${P}px`);
7500
+ watch([u, m, p], ([y, P, D]) => {
7501
+ y && D > P && (y.style.height = `${P}px`);
7502
7502
  }, {
7503
7503
  immediate: !0
7504
7504
  });
7505
- function V(N, P, D) {
7506
- return N.addEventListener(P, D), {
7507
- remove: () => N.removeEventListener(P, D)
7505
+ function V(y, P, D) {
7506
+ return y.addEventListener(P, D), {
7507
+ remove: () => y.removeEventListener(P, D)
7508
7508
  };
7509
7509
  }
7510
7510
  function I() {
7511
- C.remove(), y.remove();
7511
+ C.remove(), N.remove();
7512
7512
  }
7513
- function O(N) {
7513
+ function O(y) {
7514
7514
  if (!u.value) {
7515
7515
  ____ERROR____("\u5F39\u7A97\u5143\u7D20\u4E3A\u7A7A.");
7516
7516
  return;
7517
7517
  }
7518
7518
  const {
7519
7519
  event: P
7520
- } = N != null ? N : {}, D = P.pageX;
7520
+ } = y != null ? y : {}, D = P.pageX;
7521
7521
  let $ = Math.min(d.value, Math.max(v.value, T + D - R));
7522
7522
  u.value.offsetLeft + $ > n.value && ($ = n.value - u.value.offsetLeft);
7523
7523
  const M = u.value.offsetWidth, W = Number(getComputedStyle(u.value).left.replace(/px/g, "")) + ($ - M) / 2;
7524
7524
  $ !== M && (g.value = `${$}px`, u.value.style.width = `${$}px`, u.value.style.left = `${W}px`);
7525
7525
  }
7526
- function L(N) {
7526
+ function K(y) {
7527
7527
  var se, ue, _e, oe, Y, w;
7528
7528
  if (!u.value) {
7529
7529
  ____ERROR____("\u5F39\u7A97\u5143\u7D20\u4E3A\u7A7A.");
@@ -7531,17 +7531,17 @@ function useDragToResize(e) {
7531
7531
  }
7532
7532
  const {
7533
7533
  event: P
7534
- } = N != null ? N : {}, D = P.pageY, $ = (ue = (se = c.value) == null ? void 0 : se.clientHeight) != null ? ue : l, M = (oe = (_e = _.value) == null ? void 0 : _e.clientHeight) != null ? oe : 0, x = Math.min((w = (Y = a.value) == null ? void 0 : Y.kgMinHeight) != null ? w : $ + M + KG_MODAL_BORDER_WIDTH * 2, i.value);
7534
+ } = y != null ? y : {}, D = P.pageY, $ = (ue = (se = c.value) == null ? void 0 : se.clientHeight) != null ? ue : l, M = (oe = (_e = _.value) == null ? void 0 : _e.clientHeight) != null ? oe : 0, x = Math.min((w = (Y = a.value) == null ? void 0 : Y.kgMinHeight) != null ? w : $ + M + KG_MODAL_BORDER_WIDTH * 2, i.value);
7535
7535
  let W = Math.min(m.value, Math.max(x, E + D - k));
7536
7536
  u.value.offsetTop + W > i.value && (W = i.value - u.value.offsetTop);
7537
7537
  const z = u.value.offsetHeight, ae = Number(getComputedStyle(u.value).top.replace(/px/g, "")) + (W - z) / 2;
7538
7538
  W !== z && (u.value.style.height = `${W}px`, u.value.style.top = `${ae}px`);
7539
7539
  }
7540
- function K(N) {
7540
+ function L(y) {
7541
7541
  const {
7542
7542
  event: P,
7543
7543
  handleType: D
7544
- } = N != null ? N : {};
7544
+ } = y != null ? y : {};
7545
7545
  if (!u.value) {
7546
7546
  ____ERROR____("\u5F39\u7A97\u5143\u7D20\u4E3A\u7A7A.");
7547
7547
  return;
@@ -7562,24 +7562,24 @@ function useDragToResize(e) {
7562
7562
  case "bottom-right": {
7563
7563
  O({
7564
7564
  event: P
7565
- }), L({
7565
+ }), K({
7566
7566
  event: P
7567
7567
  });
7568
7568
  break;
7569
7569
  }
7570
7570
  case "bottom": {
7571
- L({
7571
+ K({
7572
7572
  event: P
7573
7573
  });
7574
7574
  break;
7575
7575
  }
7576
7576
  }
7577
7577
  }
7578
- function B(N) {
7578
+ function B(y) {
7579
7579
  const {
7580
7580
  event: P,
7581
7581
  handleType: D
7582
- } = N != null ? N : {};
7582
+ } = y != null ? y : {};
7583
7583
  if (P.stopPropagation(), P.preventDefault(), I(), !(P instanceof MouseEvent && P.which !== 1)) {
7584
7584
  if (!u.value) {
7585
7585
  ____ERROR____("\u5F39\u7A97\u5143\u7D20\u4E3A\u7A7A.");
@@ -7588,17 +7588,17 @@ function useDragToResize(e) {
7588
7588
  R = P.pageX, k = P.pageY, T = u.value.offsetWidth, E = u.value.offsetHeight, Number(getComputedStyle(u.value).top.replace(/px/g, "")), C = V(document.documentElement, "mousemove", ($) => G({
7589
7589
  event: $,
7590
7590
  handleType: D
7591
- })), y = V(document.documentElement, "mouseup", ($) => F({
7591
+ })), N = V(document.documentElement, "mouseup", ($) => F({
7592
7592
  event: $,
7593
7593
  handleType: D
7594
7594
  }));
7595
7595
  }
7596
7596
  }
7597
- function G(N) {
7598
- K(N);
7597
+ function G(y) {
7598
+ L(y);
7599
7599
  }
7600
- function F(N) {
7601
- K(N), I();
7600
+ function F(y) {
7601
+ L(y), I();
7602
7602
  }
7603
7603
  return onBeforeUnmount(() => {
7604
7604
  o == null || o.disconnect();
@@ -7940,7 +7940,7 @@ const getProps$G = () => ({
7940
7940
  remove: () => A.removeEventListener(V, I)
7941
7941
  };
7942
7942
  }
7943
- function y(A) {
7943
+ function N(A) {
7944
7944
  A.stopPropagation(), A.preventDefault();
7945
7945
  }
7946
7946
  return onUnmounted(() => {
@@ -7953,7 +7953,7 @@ const getProps$G = () => ({
7953
7953
  style: g.value
7954
7954
  }, [createVNode("div", {
7955
7955
  class: "kg-resizable-handle",
7956
- onClick: y,
7956
+ onClick: N,
7957
7957
  onMousedown: k
7958
7958
  }, [createVNode("div", {
7959
7959
  class: "kg-resizable-handle-line"
@@ -8031,7 +8031,7 @@ const getProps$G = () => ({
8031
8031
  a("update:visible", !1);
8032
8032
  }
8033
8033
  async function d() {
8034
- var p, T, E, R, k, C, y;
8034
+ var p, T, E, R, k, C, N;
8035
8035
  if (_.value) {
8036
8036
  const A = (T = (p = u.kgTable.selectedRows) == null ? void 0 : p.value) != null ? T : [], V = (E = A.map((O) => O[g.value])) != null ? E : [];
8037
8037
  if (await o.kgForm.store.emit(o.kgForm.formID, "lookupBeforeOk", {
@@ -8051,7 +8051,7 @@ const getProps$G = () => ({
8051
8051
  var_nam: n
8052
8052
  }), a("update:visible", !1);
8053
8053
  } else {
8054
- const A = (C = (k = (R = u.kgTable.selectedRows) == null ? void 0 : R.value) == null ? void 0 : k[0]) != null ? C : null, V = (y = A == null ? void 0 : A[g.value]) != null ? y : "", I = A ? [A] : [], O = [V];
8054
+ const A = (C = (k = (R = u.kgTable.selectedRows) == null ? void 0 : R.value) == null ? void 0 : k[0]) != null ? C : null, V = (N = A == null ? void 0 : A[g.value]) != null ? N : "", I = A ? [A] : [], O = [V];
8055
8055
  if (await o.kgForm.store.emit(o.kgForm.formID, "lookupBeforeOk", {
8056
8056
  context: l,
8057
8057
  isMultiple: !1,
@@ -8180,7 +8180,7 @@ function _useFormRules(e) {
8180
8180
  isEqual(k, C) || (o.value = !0, nextTick().then(() => {
8181
8181
  o.value = !1;
8182
8182
  }));
8183
- }, {}), watch([r, i, n], async ([k, C, y]) => {
8183
+ }, {}), watch([r, i, n], async ([k, C, N]) => {
8184
8184
  var A;
8185
8185
  (A = a.kgSubmit.formRef.value) == null || A.clearValidate(), await nextTick(), setTimeout(() => {
8186
8186
  l.value = (() => {
@@ -8209,9 +8209,9 @@ function _useFormRules(e) {
8209
8209
  });
8210
8210
  break;
8211
8211
  }
8212
- switch (y == null ? void 0 : y.validation_type) {
8212
+ switch (N == null ? void 0 : N.validation_type) {
8213
8213
  case OPTIONS: {
8214
- switch (y == null ? void 0 : y.data_type) {
8214
+ switch (N == null ? void 0 : N.data_type) {
8215
8215
  case ANY: {
8216
8216
  V.push({
8217
8217
  validator: E
@@ -8316,28 +8316,28 @@ function _useFormRules(e) {
8316
8316
  return Promise.resolve();
8317
8317
  }
8318
8318
  function p(k, C) {
8319
- var A, V, I, O, L, K, B, G;
8319
+ var A, V, I, O, K, L, B, G;
8320
8320
  if (u(C))
8321
8321
  return Promise.resolve();
8322
- const y = Number(C);
8323
- return !isNil((A = n.value) == null ? void 0 : A.min) && ((V = n.value) == null ? void 0 : V.min_include_flg) === 1 && y < ((I = n.value) == null ? void 0 : I.min) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForGTE", [(O = n.value) == null ? void 0 : O.min])) : !isNil((L = n.value) == null ? void 0 : L.min) && ((K = n.value) == null ? void 0 : K.min_include_flg) !== 1 && y <= ((B = n.value) == null ? void 0 : B.min) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForGT", [(G = n.value) == null ? void 0 : G.min])) : Promise.resolve();
8322
+ const N = Number(C);
8323
+ return !isNil((A = n.value) == null ? void 0 : A.min) && ((V = n.value) == null ? void 0 : V.min_include_flg) === 1 && N < ((I = n.value) == null ? void 0 : I.min) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForGTE", [(O = n.value) == null ? void 0 : O.min])) : !isNil((K = n.value) == null ? void 0 : K.min) && ((L = n.value) == null ? void 0 : L.min_include_flg) !== 1 && N <= ((B = n.value) == null ? void 0 : B.min) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForGT", [(G = n.value) == null ? void 0 : G.min])) : Promise.resolve();
8324
8324
  }
8325
8325
  function T(k, C) {
8326
- var A, V, I, O, L, K, B, G;
8326
+ var A, V, I, O, K, L, B, G;
8327
8327
  if (u(C))
8328
8328
  return Promise.resolve();
8329
- const y = Number(C);
8330
- return !isNil((A = n.value) == null ? void 0 : A.max) && ((V = n.value) == null ? void 0 : V.max_include_flg) === 1 && y > ((I = n.value) == null ? void 0 : I.max) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForLTE", [(O = n.value) == null ? void 0 : O.max])) : !isNil((L = n.value) == null ? void 0 : L.max) && ((K = n.value) == null ? void 0 : K.max_include_flg) !== 1 && y >= ((B = n.value) == null ? void 0 : B.max) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForLT", [(G = n.value) == null ? void 0 : G.max])) : Promise.resolve();
8329
+ const N = Number(C);
8330
+ return !isNil((A = n.value) == null ? void 0 : A.max) && ((V = n.value) == null ? void 0 : V.max_include_flg) === 1 && N > ((I = n.value) == null ? void 0 : I.max) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForLTE", [(O = n.value) == null ? void 0 : O.max])) : !isNil((K = n.value) == null ? void 0 : K.max) && ((L = n.value) == null ? void 0 : L.max_include_flg) !== 1 && N >= ((B = n.value) == null ? void 0 : B.max) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForLT", [(G = n.value) == null ? void 0 : G.max])) : Promise.resolve();
8331
8331
  }
8332
8332
  function E(k, C) {
8333
8333
  var A, V, I;
8334
- const y = String(C);
8335
- return !isNil((A = n.value) == null ? void 0 : A.min_length) && y.length < ((V = n.value) == null ? void 0 : V.min_length) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForMinLength", [(I = n.value) == null ? void 0 : I.min_length])) : Promise.resolve();
8334
+ const N = String(C);
8335
+ return !isNil((A = n.value) == null ? void 0 : A.min_length) && N.length < ((V = n.value) == null ? void 0 : V.min_length) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForMinLength", [(I = n.value) == null ? void 0 : I.min_length])) : Promise.resolve();
8336
8336
  }
8337
8337
  function R(k, C) {
8338
8338
  var A, V, I;
8339
- const y = String(C);
8340
- return !isNil((A = n.value) == null ? void 0 : A.max_length) && y.length > ((V = n.value) == null ? void 0 : V.max_length) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForMaxLength", [(I = n.value) == null ? void 0 : I.max_length])) : Promise.resolve();
8339
+ const N = String(C);
8340
+ return !isNil((A = n.value) == null ? void 0 : A.max_length) && N.length > ((V = n.value) == null ? void 0 : V.max_length) ? Promise.reject(t.t("kg.KgFormItem.formValidationMessageForMaxLength", [(I = n.value) == null ? void 0 : I.max_length])) : Promise.resolve();
8341
8341
  }
8342
8342
  return {
8343
8343
  formRules: s,
@@ -8404,20 +8404,20 @@ function useKgFormItemSelect(e) {
8404
8404
  var k, C;
8405
8405
  let R = E;
8406
8406
  if (typeof E == "string" && E.startsWith("{") && E.endsWith("}")) {
8407
- let y = E.slice(1, -1), A = "";
8408
- if (y.includes(".")) {
8409
- const V = y.split(".");
8410
- y = V[0], A = V[1];
8407
+ let N = E.slice(1, -1), A = "";
8408
+ if (N.includes(".")) {
8409
+ const V = N.split(".");
8410
+ N = V[0], A = V[1];
8411
8411
  }
8412
- n.value && y in n.value && (A ? R = (C = (k = n.value[`${y}_obj`]) == null ? void 0 : k[A]) != null ? C : void 0 : R = n.value[y], R || (R = "__KG__FORM_ITEM_SELECT__PID__"));
8412
+ n.value && N in n.value && (A ? R = (C = (k = n.value[`${N}_obj`]) == null ? void 0 : k[A]) != null ? C : void 0 : R = n.value[N], R || (R = "__KG__FORM_ITEM_SELECT__PID__"));
8413
8413
  }
8414
8414
  return R;
8415
8415
  }), p;
8416
8416
  });
8417
8417
  async function d() {
8418
- var C, y, A, V, I, O, L, K, B, G, F, N, P;
8418
+ var C, N, A, V, I, O, K, L, B, G, F, y, P;
8419
8419
  let p = ref([]);
8420
- const T = (C = l.value) == null ? void 0 : C.data_source_type, E = (A = (y = l.value) == null ? void 0 : y.val_clm) != null ? A : "", R = (I = (V = l.value) == null ? void 0 : V.lbl_clm) != null ? I : "", k = ref({});
8420
+ const T = (C = l.value) == null ? void 0 : C.data_source_type, E = (A = (N = l.value) == null ? void 0 : N.val_clm) != null ? A : "", R = (I = (V = l.value) == null ? void 0 : V.lbl_clm) != null ? I : "", k = ref({});
8421
8421
  try {
8422
8422
  u.value = !0;
8423
8423
  const D = KgUtil.parseParams(v.value, null, a);
@@ -8429,7 +8429,7 @@ function useKgFormItemSelect(e) {
8429
8429
  }))
8430
8430
  switch (T) {
8431
8431
  case KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE.API: {
8432
- const M = (L = l.value) == null ? void 0 : L.cmd, x = (B = (K = l.value) == null ? void 0 : K.cmd_method) != null ? B : "GET";
8432
+ const M = (K = l.value) == null ? void 0 : K.cmd, x = (B = (L = l.value) == null ? void 0 : L.cmd_method) != null ? B : "GET";
8433
8433
  if (!M || !E || !R) {
8434
8434
  ____ERROR____("KgFormItemSelect.requestDatas() | \u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF.", {
8435
8435
  cmd: M,
@@ -8454,7 +8454,7 @@ function useKgFormItemSelect(e) {
8454
8454
  case KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE.SQL: {
8455
8455
  k.value = await ExecuteQuery({
8456
8456
  params: {
8457
- id: (N = (F = l.value) == null ? void 0 : F.id) != null ? N : ""
8457
+ id: (y = (F = l.value) == null ? void 0 : F.id) != null ? y : ""
8458
8458
  }
8459
8459
  });
8460
8460
  break;
@@ -8499,10 +8499,10 @@ function useKgFormItemSelect(e) {
8499
8499
  }
8500
8500
  }
8501
8501
  function m(p) {
8502
- var R, k, C, y, A;
8502
+ var R, k, C, N, A;
8503
8503
  if (!p)
8504
8504
  return [];
8505
- const T = (k = (R = l.value) == null ? void 0 : R.val_clm) != null ? k : "", E = (y = (C = l.value) == null ? void 0 : C.val_data_type) != null ? y : KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE.DEFAULT;
8505
+ const T = (k = (R = l.value) == null ? void 0 : R.val_clm) != null ? k : "", E = (N = (C = l.value) == null ? void 0 : C.val_data_type) != null ? N : KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE.DEFAULT;
8506
8506
  switch (E) {
8507
8507
  case KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE.STRING:
8508
8508
  p.forEach((V) => {
@@ -8652,8 +8652,8 @@ const KgFormItemCheckboxGroup = defineComponent({
8652
8652
  value: R[u.value]
8653
8653
  }, {
8654
8654
  default: () => {
8655
- var y, A;
8656
- return [R[(A = (y = s.value) == null ? void 0 : y.lbl_clm) != null ? A : ""]];
8655
+ var N, A;
8656
+ return [R[(A = (N = s.value) == null ? void 0 : N.lbl_clm) != null ? A : ""]];
8657
8657
  }
8658
8658
  })]
8659
8659
  });
@@ -8964,7 +8964,7 @@ const KgFormItemRadioGroup = defineComponent({
8964
8964
  }
8965
8965
  }
8966
8966
  async function p(E) {
8967
- var R, k, C, y, A, V;
8967
+ var R, k, C, N, A, V;
8968
8968
  switch (e.kgMode) {
8969
8969
  case "multiple": {
8970
8970
  if (Array.isArray(E)) {
@@ -8986,7 +8986,7 @@ const KgFormItemRadioGroup = defineComponent({
8986
8986
  break;
8987
8987
  }
8988
8988
  default: {
8989
- const I = (y = toRaw(_.value.find((O) => O[o.value] === E))) != null ? y : null;
8989
+ const I = (N = toRaw(_.value.find((O) => O[o.value] === E))) != null ? N : null;
8990
8990
  a("kgSelectChange", I), await i.kgForm.store.emit(i.kgForm.formID, "selectChange", {
8991
8991
  context: (A = e.kgContext) != null ? A : KG_FORM_CONTEXT.SUBMIT,
8992
8992
  formModel: e.kgContext === KG_FORM_CONTEXT.SEARCH ? i.kgSearch.formModel : i.kgSubmit.formModel,
@@ -9145,13 +9145,13 @@ const KgFormItem = defineComponent({
9145
9145
  provide(KG__DI__KG_FORM_ITEM__VAR_NAME, e.kgVarName), provide(KG__DI__KG_FORM_ITEM__CONTEXT, e.kgContext);
9146
9146
  const i = useKg(), l = useKgVar();
9147
9147
  l.kgForm.onLookupOk(async ({
9148
- var_nam: N,
9148
+ var_nam: y,
9149
9149
  model: P,
9150
9150
  isMultiple: D,
9151
9151
  values: $
9152
9152
  }) => {
9153
9153
  var M, x, W, z, J;
9154
- switch (N) {
9154
+ switch (y) {
9155
9155
  case e.kgVarName: {
9156
9156
  if (P.value) {
9157
9157
  let ae;
@@ -9194,14 +9194,14 @@ const KgFormItem = defineComponent({
9194
9194
  return null;
9195
9195
  }
9196
9196
  }), _ = computed(() => {
9197
- var N, P;
9197
+ var y, P;
9198
9198
  switch (e.kgContext) {
9199
9199
  case KG_FORM_CONTEXT.SEARCH:
9200
9200
  return null;
9201
9201
  case KG_FORM_CONTEXT.SUBMIT:
9202
9202
  case KG_FORM_CONTEXT.TABLE:
9203
9203
  return (P = l.kgSubmit.getVarSubmitDetails({
9204
- buttonVarName: (N = l.kgButton.currentButton.value) == null ? void 0 : N.var_nam,
9204
+ buttonVarName: (y = l.kgButton.currentButton.value) == null ? void 0 : y.var_nam,
9205
9205
  varName: e.kgVarName
9206
9206
  })[0]) != null ? P : null;
9207
9207
  }
@@ -9214,75 +9214,75 @@ const KgFormItem = defineComponent({
9214
9214
  var P, D;
9215
9215
  if (l.isRetrieving.value)
9216
9216
  return !0;
9217
- let N = !1;
9217
+ let y = !1;
9218
9218
  if (e.kgDisabled !== void 0)
9219
- N = e.kgDisabled;
9219
+ y = e.kgDisabled;
9220
9220
  else
9221
9221
  switch (e.kgContext) {
9222
9222
  case KG_FORM_CONTEXT.SEARCH:
9223
- N = ((P = c.value) == null ? void 0 : P.ena_flg) === 0;
9223
+ y = ((P = c.value) == null ? void 0 : P.ena_flg) === 0;
9224
9224
  break;
9225
9225
  case KG_FORM_CONTEXT.SUBMIT:
9226
9226
  case KG_FORM_CONTEXT.TABLE:
9227
- N = ((D = _.value) == null ? void 0 : D.enable_flag) === 0;
9227
+ y = ((D = _.value) == null ? void 0 : D.enable_flag) === 0;
9228
9228
  break;
9229
9229
  }
9230
- return N;
9230
+ return y;
9231
9231
  }), p = computed(() => {
9232
9232
  var P, D, $, M;
9233
- let N = " ";
9233
+ let y = " ";
9234
9234
  if (e.kgPlaceholder)
9235
- N = e.kgPlaceholder;
9235
+ y = e.kgPlaceholder;
9236
9236
  else
9237
9237
  switch (e.kgContext) {
9238
9238
  case KG_FORM_CONTEXT.SEARCH:
9239
- N = l.t((D = (P = c.value) == null ? void 0 : P.placeholder) != null ? D : " ").value;
9239
+ y = l.t((D = (P = c.value) == null ? void 0 : P.placeholder) != null ? D : " ").value;
9240
9240
  break;
9241
9241
  case KG_FORM_CONTEXT.SUBMIT:
9242
9242
  case KG_FORM_CONTEXT.TABLE:
9243
- N = l.t((M = ($ = _.value) == null ? void 0 : $.placeholder) != null ? M : " ").value;
9243
+ y = l.t((M = ($ = _.value) == null ? void 0 : $.placeholder) != null ? M : " ").value;
9244
9244
  break;
9245
9245
  }
9246
- return N;
9246
+ return y;
9247
9247
  }), T = computed(() => {
9248
9248
  var P, D, $, M;
9249
- let N = KG__SPAN._12;
9249
+ let y = KG__SPAN._12;
9250
9250
  if (e.kgSpan !== void 0)
9251
- N = e.kgSpan;
9251
+ y = e.kgSpan;
9252
9252
  else
9253
9253
  switch (e.kgContext) {
9254
9254
  case KG_FORM_CONTEXT.SEARCH:
9255
- N = (D = (P = c.value) == null ? void 0 : P.width) != null ? D : KG__SPAN._12;
9255
+ y = (D = (P = c.value) == null ? void 0 : P.width) != null ? D : KG__SPAN._12;
9256
9256
  break;
9257
9257
  case KG_FORM_CONTEXT.SUBMIT:
9258
- N = (M = ($ = _.value) == null ? void 0 : $.width) != null ? M : KG__SPAN._12;
9258
+ y = (M = ($ = _.value) == null ? void 0 : $.width) != null ? M : KG__SPAN._12;
9259
9259
  break;
9260
9260
  case KG_FORM_CONTEXT.TABLE:
9261
9261
  break;
9262
9262
  }
9263
- return N = Number(N), N;
9263
+ return y = Number(y), y;
9264
9264
  }), E = computed(() => {
9265
9265
  var P, D, $, M;
9266
- let N = null;
9266
+ let y = null;
9267
9267
  if (e.kgSpan !== void 0)
9268
- N = e.kgSpan;
9268
+ y = e.kgSpan;
9269
9269
  else
9270
9270
  switch (e.kgContext) {
9271
9271
  case KG_FORM_CONTEXT.SEARCH:
9272
- N = (D = (P = c.value) == null ? void 0 : P.width) != null ? D : null;
9272
+ y = (D = (P = c.value) == null ? void 0 : P.width) != null ? D : null;
9273
9273
  break;
9274
9274
  case KG_FORM_CONTEXT.SUBMIT:
9275
- N = (M = ($ = _.value) == null ? void 0 : $.width) != null ? M : null;
9275
+ y = (M = ($ = _.value) == null ? void 0 : $.width) != null ? M : null;
9276
9276
  break;
9277
9277
  case KG_FORM_CONTEXT.TABLE:
9278
- N = null;
9278
+ y = null;
9279
9279
  break;
9280
9280
  }
9281
- return N = Number(N), N;
9281
+ return y = Number(y), y;
9282
9282
  }), R = computed(() => {
9283
9283
  var $, M;
9284
- const N = get(I.value, "$el.parentElement");
9285
- if (N && !(($ = N.classList) != null && $.contains("ant-row")))
9284
+ const y = get(I.value, "$el.parentElement");
9285
+ if (y && !(($ = y.classList) != null && $.contains("ant-row")))
9286
9286
  throw new Error("<KgForm.Item> \u7684\u7236\u5143\u7D20\u5FC5\u987B\u662F <Row> \u6216\u8005 <a-row>.");
9287
9287
  let P = {};
9288
9288
  const D = Math.abs(Number.parseInt((M = get(I.value, "$el.parentElement.style.marginLeft")) != null ? M : "0px"));
@@ -9292,22 +9292,22 @@ const KgFormItem = defineComponent({
9292
9292
  }), P;
9293
9293
  }), k = computed(() => {
9294
9294
  var P, D;
9295
- let N = "kg-form-item";
9296
- switch (o.value && (N += " kg-form-item-lookup"), E.value && (N += " kg-form-item--col-fixed"), e.kgContext) {
9295
+ let y = "kg-form-item";
9296
+ switch (o.value && (y += " kg-form-item-lookup"), E.value && (y += " kg-form-item--col-fixed"), e.kgContext) {
9297
9297
  case KG_FORM_CONTEXT.SEARCH: {
9298
- ((P = c.value) == null ? void 0 : P.vis_flg) === 0 && (N += " kg-form-item--invisible");
9298
+ ((P = c.value) == null ? void 0 : P.vis_flg) === 0 && (y += " kg-form-item--invisible");
9299
9299
  break;
9300
9300
  }
9301
9301
  case KG_FORM_CONTEXT.SUBMIT:
9302
9302
  case KG_FORM_CONTEXT.TABLE: {
9303
- ((D = _.value) == null ? void 0 : D.visible_flag) === 0 && (N += " kg-form-item--invisible");
9303
+ ((D = _.value) == null ? void 0 : D.visible_flag) === 0 && (y += " kg-form-item--invisible");
9304
9304
  break;
9305
9305
  }
9306
9306
  }
9307
- return N;
9307
+ return y;
9308
9308
  }), C = computed(() => {
9309
9309
  var P;
9310
- const N = {
9310
+ const y = {
9311
9311
  ...e,
9312
9312
  value: (P = r.value) == null ? void 0 : P[e.kgVarName],
9313
9313
  "onUpdate:value": (D) => {
@@ -9323,33 +9323,33 @@ const KgFormItem = defineComponent({
9323
9323
  case KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SELECT:
9324
9324
  break;
9325
9325
  case KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SELECT_MULTIPLE:
9326
- N.kgMode = "multiple";
9326
+ y.kgMode = "multiple";
9327
9327
  break;
9328
9328
  case KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SWITCH:
9329
9329
  break;
9330
9330
  case KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE:
9331
- N.kgShowTime = !1;
9331
+ y.kgShowTime = !1;
9332
9332
  break;
9333
9333
  case KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE_RANGE:
9334
- N.kgShowTime = !1;
9334
+ y.kgShowTime = !1;
9335
9335
  break;
9336
9336
  case KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME:
9337
- N.kgPicker = "time";
9337
+ y.kgPicker = "time";
9338
9338
  break;
9339
9339
  case KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME_RANGE:
9340
- N.kgPicker = "time";
9340
+ y.kgPicker = "time";
9341
9341
  break;
9342
9342
  case KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME:
9343
- N.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
9343
+ y.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
9344
9344
  break;
9345
9345
  case KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME_RANGE:
9346
- N.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
9346
+ y.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
9347
9347
  break;
9348
9348
  }
9349
- return N;
9350
- }), y = computed(() => {
9351
- var N, P, D;
9352
- if (!((N = s.value) != null && N.tip))
9349
+ return y;
9350
+ }), N = computed(() => {
9351
+ var y, P, D;
9352
+ if (!((y = s.value) != null && y.tip))
9353
9353
  return !1;
9354
9354
  switch (e.kgContext) {
9355
9355
  case KG_FORM_CONTEXT.SEARCH: {
@@ -9366,8 +9366,8 @@ const KgFormItem = defineComponent({
9366
9366
  }
9367
9367
  return !0;
9368
9368
  }), A = computed(() => {
9369
- var N, P, D;
9370
- if (!((N = s.value) != null && N.tip))
9369
+ var y, P, D;
9370
+ if (!((y = s.value) != null && y.tip))
9371
9371
  return !1;
9372
9372
  switch (e.kgContext) {
9373
9373
  case KG_FORM_CONTEXT.SEARCH: {
@@ -9391,11 +9391,11 @@ const KgFormItem = defineComponent({
9391
9391
  validateFirst: !0,
9392
9392
  htmlFor: V.value
9393
9393
  }, {
9394
- default: () => createVNode(Fragment, null, [K(), L(), G(), F()]),
9394
+ default: () => createVNode(Fragment, null, [L(), K(), G(), F()]),
9395
9395
  label: () => B()
9396
9396
  });
9397
9397
  }
9398
- function L() {
9398
+ function K() {
9399
9399
  if (isFunction$2(t.control))
9400
9400
  return t.control({
9401
9401
  formID: l.formID,
@@ -9442,9 +9442,9 @@ const KgFormItem = defineComponent({
9442
9442
  return createVNode(KgFormItemInput, C.value, null);
9443
9443
  }
9444
9444
  }
9445
- function K() {
9446
- var N, P, D;
9447
- return ((P = (N = i.option.value.KgSearch) == null ? void 0 : N.dynamicQuery) == null ? void 0 : P.on) !== !0 || e.kgContext !== KG_FORM_CONTEXT.SEARCH || ((D = l.kgSearch.currentVarProfileMaster.value) == null ? void 0 : D.dyn_flg) !== 1 ? null : createVNode(Form.ItemRest, null, {
9445
+ function L() {
9446
+ var y, P, D;
9447
+ return ((P = (y = i.option.value.KgSearch) == null ? void 0 : y.dynamicQuery) == null ? void 0 : P.on) !== !0 || e.kgContext !== KG_FORM_CONTEXT.SEARCH || ((D = l.kgSearch.currentVarProfileMaster.value) == null ? void 0 : D.dyn_flg) !== 1 ? null : createVNode(Form.ItemRest, null, {
9448
9448
  default: () => {
9449
9449
  var $;
9450
9450
  return [createVNode(Select, {
@@ -9470,11 +9470,11 @@ const KgFormItem = defineComponent({
9470
9470
  });
9471
9471
  }
9472
9472
  function B() {
9473
- var N, P;
9473
+ var y, P;
9474
9474
  return e.kgShowLabel ? createVNode("div", null, [createVNode("div", null, [createVNode("div", {
9475
9475
  class: "title",
9476
9476
  title: l.t(e.kgVarName).value
9477
- }, [l.t(e.kgVarName).value]), y.value && createVNode(Tooltip, {
9477
+ }, [l.t(e.kgVarName).value]), N.value && createVNode(Tooltip, {
9478
9478
  placement: "top",
9479
9479
  overlayClassName: "kg-form-item--tip--tooltip"
9480
9480
  }, {
@@ -9487,12 +9487,12 @@ const KgFormItem = defineComponent({
9487
9487
  }
9488
9488
  })]), A.value && createVNode("div", {
9489
9489
  class: "tip",
9490
- innerHTML: (P = (N = s.value) == null ? void 0 : N.tip) != null ? P : ""
9490
+ innerHTML: (P = (y = s.value) == null ? void 0 : y.tip) != null ? P : ""
9491
9491
  }, null)]) : null;
9492
9492
  }
9493
9493
  function G() {
9494
- var N;
9495
- return !o.value || !((N = o.value) != null && N.lkp_id) ? null : createVNode(Form.ItemRest, null, {
9494
+ var y;
9495
+ return !o.value || !((y = o.value) != null && y.lkp_id) ? null : createVNode(Form.ItemRest, null, {
9496
9496
  default: () => [createVNode(KgFormItemAddonLookup, {
9497
9497
  kgDisabled: m.value,
9498
9498
  kgLookupID: o.value.lkp_id
@@ -9513,7 +9513,7 @@ const KgFormItem = defineComponent({
9513
9513
  }
9514
9514
  return () => {
9515
9515
  var P, D;
9516
- let N;
9516
+ let y;
9517
9517
  return l.isRetrieving.value ? null : createVNode(Col, {
9518
9518
  "kg-form_id": l.formID,
9519
9519
  "kg-var_name": e.kgVarName,
@@ -9523,8 +9523,8 @@ const KgFormItem = defineComponent({
9523
9523
  class: k.value,
9524
9524
  span: T.value,
9525
9525
  style: R.value
9526
- }, _isSlot$c(N = O()) ? N : {
9527
- default: () => [N]
9526
+ }, _isSlot$c(y = O()) ? y : {
9527
+ default: () => [y]
9528
9528
  });
9529
9529
  };
9530
9530
  }
@@ -9932,7 +9932,7 @@ const getProps$B = () => ({
9932
9932
  title: E
9933
9933
  } = _useTitle(), R = computed(() => l.value ? SUBMIT_DEFAULT_MIN_WIDTH : A.value), k = computed(() => R.value !== 0), {
9934
9934
  getClass: C,
9935
- getWrapClass: y
9935
+ getWrapClass: N
9936
9936
  } = _useClass(e), {
9937
9937
  getDefaultWidth: A
9938
9938
  } = _useDefaultWidth(), V = computed(() => {
@@ -9973,13 +9973,13 @@ const getProps$B = () => ({
9973
9973
  }), O = computed(() => {
9974
9974
  var Y, w;
9975
9975
  return (Y = i.kgSubmit.currentVarSubmitConfig$Props.value.okButton) != null && Y.textVarName ? i.t((w = i.kgSubmit.currentVarSubmitConfig$Props.value.okButton) == null ? void 0 : w.textVarName).value : n.t("kg.ok");
9976
- }), L = ref([(oe = i.kgSubmit.currentVarSubmitDetailSectionsForVisible.value[0]) != null ? oe : ""]);
9976
+ }), K = ref([(oe = i.kgSubmit.currentVarSubmitDetailSectionsForVisible.value[0]) != null ? oe : ""]);
9977
9977
  watch(k, (Y, w) => {
9978
- Y === !0 && K(), w === !0 && Y === !1 && B();
9978
+ Y === !0 && L(), w === !0 && Y === !1 && B();
9979
9979
  }, {
9980
9980
  immediate: !0
9981
9981
  });
9982
- async function K() {
9982
+ async function L() {
9983
9983
  if (!await i.kgSubmit.store.emit(i.formID, "beforeOpen", {
9984
9984
  isCopying: i.isCopying.value,
9985
9985
  isCreating: i.isCreating.value,
@@ -9988,9 +9988,9 @@ const getProps$B = () => ({
9988
9988
  row: i.kgTable.selectedRow.value
9989
9989
  }))
9990
9990
  return new Promise((w, U) => {
9991
- var q;
9992
- const H = watch(i.kgSubmit.formModel, async (Q) => {
9993
- Q && Object.keys(Q).length > 0 && (setTimeout(() => H()), await i.kgSubmit.store.emit(i.formID, "open", {
9991
+ var H;
9992
+ const q = watch(i.kgSubmit.formModel, async (Q) => {
9993
+ Q && Object.keys(Q).length > 0 && (setTimeout(() => q()), await i.kgSubmit.store.emit(i.formID, "open", {
9994
9994
  isCopying: i.isCopying.value,
9995
9995
  isCreating: i.isCreating.value,
9996
9996
  isDeleting: i.isDeleting.value,
@@ -10001,7 +10001,7 @@ const getProps$B = () => ({
10001
10001
  }, {
10002
10002
  immediate: !0
10003
10003
  });
10004
- ((q = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : q.dft_fullscreen_flg) === 1 && !l.value && (_.value = !0);
10004
+ ((H = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : H.dft_fullscreen_flg) === 1 && !l.value && (_.value = !0);
10005
10005
  });
10006
10006
  }
10007
10007
  async function B() {
@@ -10020,9 +10020,9 @@ const getProps$B = () => ({
10020
10020
  await nextTick();
10021
10021
  try {
10022
10022
  await ((Y = i.kgSubmit.formRef.value) == null ? void 0 : Y.validate());
10023
- } catch (q) {
10023
+ } catch (H) {
10024
10024
  KgUtil.throwNotFormValidationError({
10025
- error: q,
10025
+ error: H,
10026
10026
  formID: i.formID,
10027
10027
  isShowFormValidationErrorMessage: !1
10028
10028
  });
@@ -10039,7 +10039,7 @@ const getProps$B = () => ({
10039
10039
  return;
10040
10040
  switch (!0) {
10041
10041
  case i.isCreating.value:
10042
- await N();
10042
+ await y();
10043
10043
  break;
10044
10044
  case i.isUpdating.value:
10045
10045
  await P();
@@ -10062,8 +10062,8 @@ const getProps$B = () => ({
10062
10062
  });
10063
10063
  }
10064
10064
  }
10065
- async function N() {
10066
- var Y, w, U, H, q, Q, Z, ee, X, re;
10065
+ async function y() {
10066
+ var Y, w, U, q, H, Q, Z, ee, X, re;
10067
10067
  i.store.setIsCreatingRequesting(i.formID, !0);
10068
10068
  try {
10069
10069
  let te = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((w = (Y = i.varButtonCreate.value) == null ? void 0 : Y.cmd_prm) != null ? w : ""), i.formID, a)), ne = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, a));
@@ -10082,8 +10082,8 @@ const getProps$B = () => ({
10082
10082
  const ie = (U = i.varButtonCreate.value) == null ? void 0 : U.cmd;
10083
10083
  if (!ie)
10084
10084
  throw message.error(n.t("\u300C\u521B\u5EFA\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.")), new Error("\u300C\u521B\u5EFA\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740");
10085
- ne.value.selectedRows = (H = i.kgTable.selectedRows.value) != null ? H : [];
10086
- const ge = (Q = (q = i.varButtonCreate.value) == null ? void 0 : q.cmd_method) != null ? Q : "POST", ce = await httpClient().request({
10085
+ ne.value.selectedRows = (q = i.kgTable.selectedRows.value) != null ? q : [];
10086
+ const ge = (Q = (H = i.varButtonCreate.value) == null ? void 0 : H.cmd_method) != null ? Q : "POST", ce = await httpClient().request({
10087
10087
  url: ie,
10088
10088
  method: ge,
10089
10089
  params: te.value,
@@ -10111,7 +10111,7 @@ const getProps$B = () => ({
10111
10111
  }
10112
10112
  }
10113
10113
  async function P() {
10114
- var Y, w, U, H, q, Q, Z, ee, X, re;
10114
+ var Y, w, U, q, H, Q, Z, ee, X, re;
10115
10115
  try {
10116
10116
  i.store.setIsUpdatingRequesting(i.formID, !0);
10117
10117
  let te = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((w = (Y = i.varButtonUpdate.value) == null ? void 0 : Y.cmd_prm) != null ? w : ""), i.formID, a)), ne = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, a));
@@ -10130,8 +10130,8 @@ const getProps$B = () => ({
10130
10130
  const ie = (U = i.varButtonUpdate.value) == null ? void 0 : U.cmd;
10131
10131
  if (!ie)
10132
10132
  throw message.error(n.t("\u300C\u66F4\u65B0\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.")), new Error("\u300C\u66F4\u65B0\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740");
10133
- ne.value.selectedRows = (H = i.kgTable.selectedRows.value) != null ? H : [];
10134
- const ge = (Q = (q = i.varButtonUpdate.value) == null ? void 0 : q.cmd_method) != null ? Q : "POST", ce = await httpClient().request({
10133
+ ne.value.selectedRows = (q = i.kgTable.selectedRows.value) != null ? q : [];
10134
+ const ge = (Q = (H = i.varButtonUpdate.value) == null ? void 0 : H.cmd_method) != null ? Q : "POST", ce = await httpClient().request({
10135
10135
  url: ie,
10136
10136
  method: ge,
10137
10137
  params: te.value,
@@ -10159,14 +10159,14 @@ const getProps$B = () => ({
10159
10159
  }
10160
10160
  }
10161
10161
  async function D() {
10162
- var Y, w, U, H, q, Q, Z, ee, X, re, te, ne;
10162
+ var Y, w, U, q, H, Q, Z, ee, X, re, te, ne;
10163
10163
  try {
10164
10164
  i.store.setIsCopyingRequesting(i.formID, !0);
10165
10165
  let le = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((w = (Y = i.varButtonCopy.value) == null ? void 0 : Y.cmd_prm) != null ? w : ""), i.formID, a)), ie = ref(KgUtil.parseParams({
10166
10166
  ...(U = i.kgTable.selectedFirstRow.value) != null ? U : {},
10167
10167
  ...toRaw(i.kgSubmit.formModel.value)
10168
10168
  }, i.formID, a));
10169
- if (((H = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : H.set_id_to_null_flag) !== 0 && delete ie.value.id, await i.kgSubmit.store.emit(i.formID, "beforeRequest", {
10169
+ if (((q = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : q.set_id_to_null_flag) !== 0 && delete ie.value.id, await i.kgSubmit.store.emit(i.formID, "beforeRequest", {
10170
10170
  isCreating: i.isCreating.value,
10171
10171
  isUpdating: i.isUpdating.value,
10172
10172
  isCopying: i.isCopying.value,
@@ -10178,7 +10178,7 @@ const getProps$B = () => ({
10178
10178
  data: ie
10179
10179
  }))
10180
10180
  return;
10181
- const ce = (q = i.varButtonCopy.value) == null ? void 0 : q.cmd;
10181
+ const ce = (H = i.varButtonCopy.value) == null ? void 0 : H.cmd;
10182
10182
  if (!ce)
10183
10183
  throw message.error(n.t("\u300C\u590D\u5236\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.")), new Error("\u300C\u590D\u5236\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740");
10184
10184
  ie.value.selectedRows = (Q = i.kgTable.selectedRows.value) != null ? Q : [];
@@ -10210,12 +10210,12 @@ const getProps$B = () => ({
10210
10210
  }
10211
10211
  }
10212
10212
  async function $() {
10213
- var Y, w, U, H, q, Q, Z, ee, X, re, te, ne, le;
10213
+ var Y, w, U, q, H, Q, Z, ee, X, re, te, ne, le;
10214
10214
  try {
10215
10215
  i.store.setIsDeletingRequesting(i.formID, !0);
10216
10216
  let ie = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((w = (Y = i.varButtonDelete.value) == null ? void 0 : Y.cmd_prm) != null ? w : ""), i.formID, a)), ge = ref((U = i.kgTable.selectedRows.value) != null ? U : []);
10217
- if (((H = i.varButtonDelete.value) == null ? void 0 : H.del_param_clm) !== "__kg__new_delete_param" && (ie = ref({
10218
- ids: (Q = (q = i.kgTable.selectedRows.value) == null ? void 0 : q.map((Te) => {
10217
+ if (((q = i.varButtonDelete.value) == null ? void 0 : q.del_param_clm) !== "__kg__new_delete_param" && (ie = ref({
10218
+ ids: (Q = (H = i.kgTable.selectedRows.value) == null ? void 0 : H.map((Te) => {
10219
10219
  var de, me, ve;
10220
10220
  return (ve = Te[(me = (de = i.varButtonDelete.value) == null ? void 0 : de.del_param_clm) != null ? me : "id"]) != null ? ve : "";
10221
10221
  })) != null ? Q : []
@@ -10264,13 +10264,13 @@ const getProps$B = () => ({
10264
10264
  }
10265
10265
  }
10266
10266
  async function M() {
10267
- var Y, w, U, H;
10267
+ var Y, w, U, q;
10268
10268
  try {
10269
10269
  i.kgButton.setIsCurrentButtonRequesting({
10270
10270
  isRequesting: !0
10271
10271
  });
10272
- const q = i.kgButton.currentButton.value;
10273
- let Q = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((Y = q == null ? void 0 : q.cmd_prm) != null ? Y : ""), i.formID, a)), Z = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, a));
10272
+ const H = i.kgButton.currentButton.value;
10273
+ let Q = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((Y = H == null ? void 0 : H.cmd_prm) != null ? Y : ""), i.formID, a)), Z = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, a));
10274
10274
  if (await i.kgSubmit.store.emit(i.formID, "beforeRequest", {
10275
10275
  data: Z,
10276
10276
  isCopying: i.isCopying.value,
@@ -10283,21 +10283,21 @@ const getProps$B = () => ({
10283
10283
  rows: i.kgTable.selectedRows.value
10284
10284
  }))
10285
10285
  return;
10286
- const X = q == null ? void 0 : q.cmd;
10286
+ const X = H == null ? void 0 : H.cmd;
10287
10287
  if (!X)
10288
10288
  throw message.error(n.t("\u6309\u94AE\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.")), new Error("\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740");
10289
10289
  Z.value.selectedRows = (w = i.kgTable.selectedRows.value) != null ? w : [];
10290
- const re = (U = q == null ? void 0 : q.cmd_method) != null ? U : "POST", te = await httpClient().request({
10290
+ const re = (U = H == null ? void 0 : H.cmd_method) != null ? U : "POST", te = await httpClient().request({
10291
10291
  url: X,
10292
10292
  method: re,
10293
10293
  params: Q.value,
10294
10294
  data: Z.value,
10295
10295
  headers: {
10296
- [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (H = q == null ? void 0 : q.var_nam) != null ? H : "",
10296
+ [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (q = H == null ? void 0 : H.var_nam) != null ? q : "",
10297
10297
  [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID
10298
10298
  }
10299
10299
  });
10300
- (q == null ? void 0 : q.show_success_message_flg) !== 0 && message.success(n.t("kg.execute-success")), i.kgButton.setCurrentButton(null), (q == null ? void 0 : q.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10300
+ (H == null ? void 0 : H.show_success_message_flg) !== 0 && message.success(n.t("kg.execute-success")), i.kgButton.setCurrentButton(null), (H == null ? void 0 : H.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10301
10301
  isSearchFirstPage: !0
10302
10302
  }), await i.kgSubmit.store.emit(i.formID, "ok", {
10303
10303
  isCopying: !1,
@@ -10308,8 +10308,8 @@ const getProps$B = () => ({
10308
10308
  result: te,
10309
10309
  row: i.kgTable.selectedFirstRow.value
10310
10310
  });
10311
- } catch (q) {
10312
- console.error(q), i.kgSubmit.store.emit(i.formID, "error", q);
10311
+ } catch (H) {
10312
+ console.error(H), i.kgSubmit.store.emit(i.formID, "error", H);
10313
10313
  } finally {
10314
10314
  i.kgButton.setIsCurrentButtonRequesting({
10315
10315
  isRequesting: !1
@@ -10317,8 +10317,8 @@ const getProps$B = () => ({
10317
10317
  }
10318
10318
  }
10319
10319
  function x(Y) {
10320
- var q, Q, Z, ee;
10321
- const w = Y.var_nam, U = (Q = (q = r == null ? void 0 : r.KgSubmit) == null ? void 0 : q["KgForm.Item.control"]) == null ? void 0 : Q[w], H = (ee = (Z = r == null ? void 0 : r.KgSubmit) == null ? void 0 : Z["KgForm.Item.controlRight"]) == null ? void 0 : ee[w];
10320
+ var H, Q, Z, ee;
10321
+ const w = Y.var_nam, U = (Q = (H = r == null ? void 0 : r.KgSubmit) == null ? void 0 : H["KgForm.Item.control"]) == null ? void 0 : Q[w], q = (ee = (Z = r == null ? void 0 : r.KgSubmit) == null ? void 0 : Z["KgForm.Item.controlRight"]) == null ? void 0 : ee[w];
10322
10322
  return createVNode(KgForm.Item, {
10323
10323
  key: w,
10324
10324
  kgVarName: w,
@@ -10326,7 +10326,7 @@ const getProps$B = () => ({
10326
10326
  onKgSubmit: F
10327
10327
  }, {
10328
10328
  control: isFunction$2(U) ? (X) => U(X) : void 0,
10329
- controlRight: isFunction$2(H) ? (X) => H(X) : void 0
10329
+ controlRight: isFunction$2(q) ? (X) => q(X) : void 0
10330
10330
  });
10331
10331
  }
10332
10332
  function W() {
@@ -10352,7 +10352,7 @@ const getProps$B = () => ({
10352
10352
  class: "section"
10353
10353
  }, [createVNode(Menu, {
10354
10354
  mode: "inline",
10355
- selectedKeys: L.value,
10355
+ selectedKeys: K.value,
10356
10356
  onSelect: _e
10357
10357
  }, _isSlot$b(Y = i.kgSubmit.currentVarSubmitDetailSectionsForVisible.value.map((w) => createVNode(Menu.Item, {
10358
10358
  key: w
@@ -10367,7 +10367,7 @@ const getProps$B = () => ({
10367
10367
  }, {
10368
10368
  default: () => {
10369
10369
  var U;
10370
- return [(U = i.kgSubmit.currentVarSubmitDetailsForVisible.value.filter((H) => H.section === w)) == null ? void 0 : U.map(x)];
10370
+ return [(U = i.kgSubmit.currentVarSubmitDetailsForVisible.value.filter((q) => q.section === w)) == null ? void 0 : U.map(x)];
10371
10371
  }
10372
10372
  })]))])]);
10373
10373
  }
@@ -10417,7 +10417,7 @@ const getProps$B = () => ({
10417
10417
  }, null);
10418
10418
  }
10419
10419
  function _e(Y) {
10420
- L.value = Y.selectedKeys;
10420
+ K.value = Y.selectedKeys;
10421
10421
  }
10422
10422
  return onUnmounted(async () => {
10423
10423
  i.kgSubmit.store.dispose(i.formID), await B();
@@ -10430,7 +10430,7 @@ const getProps$B = () => ({
10430
10430
  destroyOnClose: !0,
10431
10431
  width: R.value,
10432
10432
  class: C.value,
10433
- wrapClassName: y.value,
10433
+ wrapClassName: N.value,
10434
10434
  kgFullHeight: !1,
10435
10435
  kgMinWidth: g.value,
10436
10436
  kgMaxWidth: v.value,
@@ -12980,7 +12980,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
12980
12980
  n.kgSearch.onReady(async () => (await n.store.patchVarProfileDetail(n.formID, "frm_id", {
12981
12981
  dft_val: r.formID
12982
12982
  }), !1)), n.kgSubmit.onOpen(async () => {
12983
- var T, E, R, k, C, y, A;
12983
+ var T, E, R, k, C, N, A;
12984
12984
  const p = r.store.getSystemVarGridDetails(r.formID);
12985
12985
  switch (i.value = p ? cloneDeep(toRaw(p)) : [], !0) {
12986
12986
  case n.isCreating.value: {
@@ -12998,11 +12998,11 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
12998
12998
  }
12999
12999
  });
13000
13000
  i.value = i.value.map((O) => {
13001
- var K;
13002
- const L = (K = V == null ? void 0 : V.varGridDetails) == null ? void 0 : K.find((B) => B.var_nam === O.var_nam);
13003
- return L ? {
13001
+ var L;
13002
+ const K = (L = V == null ? void 0 : V.varGridDetails) == null ? void 0 : L.find((B) => B.var_nam === O.var_nam);
13003
+ return K ? {
13004
13004
  ...O,
13005
- ...L,
13005
+ ...K,
13006
13006
  id: O.id
13007
13007
  } : O;
13008
13008
  });
@@ -13020,7 +13020,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13020
13020
  }
13021
13021
  switch (!0) {
13022
13022
  case n.isCopying.value: {
13023
- n.kgSubmit.formModel.value.grd_var_nam = ((C = n.kgSubmit.formModel.value.grd_var_nam) != null ? C : "") + "_COPY", n.kgSubmit.formModel.value.grd_var_nam_dsc = ((A = (y = n.kgSubmit.formModel.value.grd_var_nam_dsc) != null ? y : n.kgSubmit.formModel.value.grd_var_nam) != null ? A : "") + "_COPY";
13023
+ n.kgSubmit.formModel.value.grd_var_nam = ((C = n.kgSubmit.formModel.value.grd_var_nam) != null ? C : "") + "_COPY", n.kgSubmit.formModel.value.grd_var_nam_dsc = ((A = (N = n.kgSubmit.formModel.value.grd_var_nam_dsc) != null ? N : n.kgSubmit.formModel.value.grd_var_nam) != null ? A : "") + "_COPY";
13024
13024
  break;
13025
13025
  }
13026
13026
  }
@@ -13098,11 +13098,11 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13098
13098
  onItemSelectAll: k,
13099
13099
  onItemSelect: C
13100
13100
  }) => {
13101
- const y = T.sort((A, V) => {
13101
+ const N = T.sort((A, V) => {
13102
13102
  var I, O;
13103
13103
  return ((I = A.srtseq) != null ? I : 0) - ((O = V.srtseq) != null ? O : 0);
13104
13104
  });
13105
- return s.value = y, createVNode(Table, {
13105
+ return s.value = N, createVNode(Table, {
13106
13106
  pagination: !1,
13107
13107
  class: "kg-flex-table",
13108
13108
  size: "small",
@@ -13112,7 +13112,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13112
13112
  },
13113
13113
  columns: p === "left" ? o() : u(),
13114
13114
  rowKey: "id",
13115
- dataSource: y,
13115
+ dataSource: N,
13116
13116
  customRow: (A) => {
13117
13117
  let V = {
13118
13118
  onClick: (I) => v(I, A, p, E)
@@ -13140,10 +13140,10 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13140
13140
  disabled: p || k.disabled
13141
13141
  }),
13142
13142
  onSelectAll(k, C) {
13143
- const y = C.filter((A) => !A.disabled).map(({
13143
+ const N = C.filter((A) => !A.disabled).map(({
13144
13144
  key: A
13145
13145
  }) => A);
13146
- E(y, k);
13146
+ E(N, k);
13147
13147
  },
13148
13148
  onSelect({
13149
13149
  key: k
@@ -13366,7 +13366,7 @@ const getProps$w = () => ({
13366
13366
  slots: t,
13367
13367
  emit: a
13368
13368
  }) {
13369
- var A, V, I, O, L;
13369
+ var A, V, I, O, K;
13370
13370
  const r = useKg(), n = useKgVar(), {
13371
13371
  filterVarGridDetailByKey: i
13372
13372
  } = _useServices(), l = ref([]), s = computed(() => l.value.includes("1")), o = ref(""), u = computed(() => n.kgTable.store.getRowHeight(n.formID)), c = ref({
@@ -13374,27 +13374,27 @@ const getProps$w = () => ({
13374
13374
  }), _ = ref({
13375
13375
  visible: !1
13376
13376
  }), g = computed(() => isNil(e.kgDisabled) ? !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value : e.kgDisabled), v = ref(null);
13377
- _useObserveMenuItemColumns(s), ((L = (O = (I = (V = (A = r.option.value) == null ? void 0 : A.KgTable) == null ? void 0 : V.Setting) == null ? void 0 : I.columns) == null ? void 0 : O.dragToSort) == null ? void 0 : L.isOn) === !0 && _useDragToSortRow$1({
13377
+ _useObserveMenuItemColumns(s), ((K = (O = (I = (V = (A = r.option.value) == null ? void 0 : A.KgTable) == null ? void 0 : V.Setting) == null ? void 0 : I.columns) == null ? void 0 : O.dragToSort) == null ? void 0 : K.isOn) === !0 && _useDragToSortRow$1({
13378
13378
  columnsRef: v
13379
- }), watch(s, (K) => {
13380
- K || (o.value = "");
13379
+ }), watch(s, (L) => {
13380
+ L || (o.value = "");
13381
13381
  }, {
13382
13382
  immediate: !0
13383
13383
  });
13384
- function d(K) {
13384
+ function d(L) {
13385
13385
  n.kgTable.patchVarGridDetail({
13386
- varName: K.var_nam,
13386
+ varName: L.var_nam,
13387
13387
  properties: {
13388
- vis_flg: K.vis_flg === 1 ? 0 : 1
13388
+ vis_flg: L.vis_flg === 1 ? 0 : 1
13389
13389
  }
13390
13390
  });
13391
13391
  }
13392
- function m(K) {
13393
- n.store.setCurrentVarGridMasterID(n.formID, K.id);
13392
+ function m(L) {
13393
+ n.store.setCurrentVarGridMasterID(n.formID, L.id);
13394
13394
  }
13395
13395
  async function p() {
13396
- var K;
13397
- if (((K = n.currentVarGridMaster.value) == null ? void 0 : K.cust_lvl) === KG_CUSTOM_LEVEL.L0) {
13396
+ var L;
13397
+ if (((L = n.currentVarGridMaster.value) == null ? void 0 : L.cust_lvl) === KG_CUSTOM_LEVEL.L0) {
13398
13398
  KgUtil.confirm({
13399
13399
  content: r.t("kg.KgVarConfig.canNotUpdateSystemVarGridMaster"),
13400
13400
  okButtonProps: {
@@ -13422,7 +13422,7 @@ const getProps$w = () => ({
13422
13422
  popupClassName: "kg-table--setting--submenu-popup--columns"
13423
13423
  }, {
13424
13424
  default: () => {
13425
- var K;
13425
+ var L;
13426
13426
  return createVNode("div", {
13427
13427
  class: "columns"
13428
13428
  }, [createVNode(Input, {
@@ -13432,7 +13432,7 @@ const getProps$w = () => ({
13432
13432
  }, null), createVNode("ul", {
13433
13433
  ref: v,
13434
13434
  class: "ant-dropdown-menu ant-dropdown-menu-vertical"
13435
- }, [(K = n.currentVarGridDetails.value) == null ? void 0 : K.map((B, G) => createVNode("li", {
13435
+ }, [(L = n.currentVarGridDetails.value) == null ? void 0 : L.map((B, G) => createVNode("li", {
13436
13436
  class: "ant-dropdown-menu-item ant-dropdown-menu-item-only-child",
13437
13437
  onClick: (F) => {
13438
13438
  F.preventDefault(), F.stopPropagation(), d(B);
@@ -13465,12 +13465,12 @@ const getProps$w = () => ({
13465
13465
  }, {
13466
13466
  default: () => {
13467
13467
  var G;
13468
- let K, B;
13468
+ let L, B;
13469
13469
  return createVNode(Fragment, null, [(G = n.varGridMasters.value) == null ? void 0 : G.map((F) => {
13470
- var N;
13470
+ var y;
13471
13471
  return createVNode(Menu.Item, {
13472
13472
  key: F.id,
13473
- class: F.id === ((N = n.currentVarGridMaster.value) == null ? void 0 : N.id) ? "selected" : "",
13473
+ class: F.id === ((y = n.currentVarGridMaster.value) == null ? void 0 : y.id) ? "selected" : "",
13474
13474
  "kg-var_name": F.grd_var_nam,
13475
13475
  onClick: () => m(F)
13476
13476
  }, {
@@ -13482,8 +13482,8 @@ const getProps$w = () => ({
13482
13482
  icon: createVNode(Icon, {
13483
13483
  icon: "material-symbols:save-outline-rounded"
13484
13484
  }, null)
13485
- }, _isSlot$9(K = r.t("kg.KgTable.saveVarGridMaster")) ? K : {
13486
- default: () => [K]
13485
+ }, _isSlot$9(L = r.t("kg.KgTable.saveVarGridMaster")) ? L : {
13486
+ default: () => [L]
13487
13487
  }), createVNode(Menu.Item, {
13488
13488
  key: "save-grid-view-as",
13489
13489
  onClick: T,
@@ -13501,14 +13501,14 @@ const getProps$w = () => ({
13501
13501
  });
13502
13502
  }
13503
13503
  function k() {
13504
- var K, B, G;
13505
- return ((G = (B = (K = r.option.value.KgTable) == null ? void 0 : K.Setting) == null ? void 0 : B.rowHeight) == null ? void 0 : G.on) !== !0 ? null : createVNode(Menu.SubMenu, {
13504
+ var L, B, G;
13505
+ return ((G = (B = (L = r.option.value.KgTable) == null ? void 0 : L.Setting) == null ? void 0 : B.rowHeight) == null ? void 0 : G.on) !== !0 ? null : createVNode(Menu.SubMenu, {
13506
13506
  key: "row-height",
13507
13507
  title: r.t("kg.KgTable.rowHeight"),
13508
13508
  popupClassName: "kg-table--setting--submenu-popup--row-height"
13509
13509
  }, {
13510
13510
  default: () => {
13511
- let F, N, P;
13511
+ let F, y, P;
13512
13512
  return createVNode(Fragment, null, [createVNode(Menu.Item, {
13513
13513
  key: "L",
13514
13514
  class: u.value === "L" ? "selected" : "",
@@ -13519,8 +13519,8 @@ const getProps$w = () => ({
13519
13519
  key: "M",
13520
13520
  class: u.value === "M" ? "selected" : "",
13521
13521
  onClick: () => n.kgTable.store.setRowHeight(n.formID, "M")
13522
- }, _isSlot$9(N = r.t("kg.KgTable.rowHeightM")) ? N : {
13523
- default: () => [N]
13522
+ }, _isSlot$9(y = r.t("kg.KgTable.rowHeightM")) ? y : {
13523
+ default: () => [y]
13524
13524
  }), createVNode(Menu.Item, {
13525
13525
  key: "H",
13526
13526
  class: u.value === "H" ? "selected" : "",
@@ -13543,14 +13543,14 @@ const getProps$w = () => ({
13543
13543
  }, {
13544
13544
  default: () => [createVNode(Checkbox, {
13545
13545
  checked: n.kgTable.isShowDescription.value,
13546
- "onUpdate:checked": (K) => n.kgTable.setIsShowDescription(K),
13547
- onClick: (K) => {
13548
- K.stopPropagation();
13546
+ "onUpdate:checked": (L) => n.kgTable.setIsShowDescription(L),
13547
+ onClick: (L) => {
13548
+ L.stopPropagation();
13549
13549
  }
13550
13550
  }, {
13551
13551
  default: () => [createVNode("div", {
13552
- onClick: (K) => {
13553
- K.stopPropagation();
13552
+ onClick: (L) => {
13553
+ L.stopPropagation();
13554
13554
  }
13555
13555
  }, [r.t("kg.KgTable.isShowDescription")])]
13556
13556
  })]
@@ -13558,16 +13558,16 @@ const getProps$w = () => ({
13558
13558
  expandIcon: () => createVNode(CaretRightOutlined$1, null, null)
13559
13559
  });
13560
13560
  }
13561
- function y() {
13561
+ function N() {
13562
13562
  var B;
13563
- let K;
13563
+ let L;
13564
13564
  return (B = n.formID) != null && B.startsWith("KgVarConfig.") ? null : createVNode(Menu.Item, {
13565
13565
  key: "config-var-grid-master",
13566
13566
  onClick: () => {
13567
13567
  c.value.visible = !0;
13568
13568
  }
13569
- }, _isSlot$9(K = r.t("kg.KgTable.config")) ? K : {
13570
- default: () => [K]
13569
+ }, _isSlot$9(L = r.t("kg.KgTable.config")) ? L : {
13570
+ default: () => [L]
13571
13571
  });
13572
13572
  }
13573
13573
  return () => createVNode(Fragment, null, [createVNode(Dropdown, {
@@ -13580,14 +13580,14 @@ const getProps$w = () => ({
13580
13580
  overlay: () => createVNode(Menu, {
13581
13581
  triggerSubMenuAction: "click",
13582
13582
  openKeys: l.value,
13583
- "onUpdate:openKeys": (K) => l.value = K,
13583
+ "onUpdate:openKeys": (L) => l.value = L,
13584
13584
  selectable: !1
13585
13585
  }, {
13586
- default: () => [E(), k(), R(), C(), y()]
13586
+ default: () => [E(), k(), R(), C(), N()]
13587
13587
  })
13588
13588
  }), c.value.visible && createVNode(KgTableSettingConfigModal, {
13589
13589
  visible: c.value.visible,
13590
- "onUpdate:visible": (K) => c.value.visible = K
13590
+ "onUpdate:visible": (L) => c.value.visible = L
13591
13591
  }, null), _.value.visible && createVNode(KgTableSettingVarGridMasterSaveAs, {
13592
13592
  onKgClose: () => {
13593
13593
  _.value.visible = !1;
@@ -14315,9 +14315,9 @@ function _useColumns(e) {
14315
14315
  index: R
14316
14316
  }) => R + 1
14317
14317
  }, ...(E = d == null ? void 0 : d.map((R, k) => {
14318
- var G, F, N;
14318
+ var G, F, y;
14319
14319
  const C = R.var_nam;
14320
- function y() {
14320
+ function N() {
14321
14321
  return R.width === "auto" ? "auto" : Number(R.width) || KG_TABLE_TD_DEFAULT_WIDTH;
14322
14322
  }
14323
14323
  function A() {
@@ -14351,14 +14351,14 @@ function _useColumns(e) {
14351
14351
  };
14352
14352
  }), "value");
14353
14353
  }
14354
- function L() {
14354
+ function K() {
14355
14355
  var P, D, $;
14356
14356
  return ((D = (P = c.option.value.KgTable) == null ? void 0 : P.filter) == null ? void 0 : D.on) !== !0 ? null : (($ = n.value) == null ? void 0 : $[C]) || null;
14357
14357
  }
14358
- function K() {
14358
+ function L() {
14359
14359
  return ["left", "center", "right"].includes(R.align || "") ? R.align : "left";
14360
14360
  }
14361
- const B = y();
14361
+ const B = N();
14362
14362
  switch (R.ord) {
14363
14363
  case 0:
14364
14364
  (!i.value.field || !i.value.order) && (i.value = {
@@ -14381,11 +14381,11 @@ function _useColumns(e) {
14381
14381
  resizable: typeof B == "number",
14382
14382
  minWidth: KG_TABLE_TD_MIN_WIDTH,
14383
14383
  maxWidth: KG_TABLE_TD_MAX_WIDTH,
14384
- align: K(),
14384
+ align: L(),
14385
14385
  fixed: V(),
14386
14386
  sorter: I(),
14387
- sortOrder: ((G = i.value) == null ? void 0 : G.field) === C && (N = (F = i.value) == null ? void 0 : F.order) != null ? N : null,
14388
- filteredValue: L(),
14387
+ sortOrder: ((G = i.value) == null ? void 0 : G.field) === C && (y = (F = i.value) == null ? void 0 : F.order) != null ? y : null,
14388
+ filteredValue: K(),
14389
14389
  filters: O(),
14390
14390
  onFilter: (P, D) => P === "" ? isNil(D == null ? void 0 : D[C]) || (D == null ? void 0 : D[C]) === "" : (D == null ? void 0 : D[C]) === P,
14391
14391
  customHeaderCell: () => ({
@@ -14619,13 +14619,13 @@ const KgTable$1 = "", getProps$r = () => ({
14619
14619
  switch (w) {
14620
14620
  case "setRowSelect":
14621
14621
  if (U[0] === i.formID) {
14622
- const H = U[1], q = U[2], Q = H[i.kgTable.idKey.value];
14622
+ const q = U[1], H = U[2], Q = q[i.kgTable.idKey.value];
14623
14623
  switch (!0) {
14624
- case (q && !K.value.includes(Q)):
14625
- x([...K.value, Q]);
14624
+ case (H && !L.value.includes(Q)):
14625
+ x([...L.value, Q]);
14626
14626
  break;
14627
- case (!q && K.value.includes(Q)):
14628
- x(without$1(K.value, Q));
14627
+ case (!H && L.value.includes(Q)):
14628
+ x(without$1(L.value, Q));
14629
14629
  break;
14630
14630
  }
14631
14631
  }
@@ -14658,30 +14658,30 @@ const KgTable$1 = "", getProps$r = () => ({
14658
14658
  var w, U;
14659
14659
  return (U = (w = i.kgButton.searchButton.value) == null ? void 0 : w.cmd) != null ? U : null;
14660
14660
  }), E = computed(() => {
14661
- var U, H, q, Q, Z, ee, X, re, te;
14661
+ var U, q, H, Q, Z, ee, X, re, te;
14662
14662
  let w = {
14663
14663
  pageNo: B.pageIndex,
14664
14664
  pageSize: B.pageSize,
14665
- column: (H = (U = c.value) == null ? void 0 : U.field) != null ? H : void 0,
14665
+ column: (q = (U = c.value) == null ? void 0 : U.field) != null ? q : void 0,
14666
14666
  order: c.value.order === "ascend" ? "asc" : c.value.order === "descend" ? "desc" : void 0,
14667
- ...(Q = (q = i.kgSearch.formModel) == null ? void 0 : q.value) != null ? Q : {},
14667
+ ...(Q = (H = i.kgSearch.formModel) == null ? void 0 : H.value) != null ? Q : {},
14668
14668
  ...KgVarUtil.parseRequestParamsToJSON((ee = (Z = i.kgButton.searchButton.value) == null ? void 0 : Z.cmd_prm) != null ? ee : ""),
14669
14669
  ...KgVarUtil.parseRequestParamsToJSON((re = (X = i.varGridConfig.value) == null ? void 0 : X.cmd_prm) != null ? re : "")
14670
14670
  };
14671
14671
  return ((te = i.varGridConfig.value) == null ? void 0 : te.convert_sort_field_to_under_score_flg) === 1 && w.column && (w.column = snakeCase$1(w.column)), w;
14672
14672
  }), R = computed(() => {
14673
- var w, U, H, q;
14673
+ var w, U, q, H;
14674
14674
  if (!isNil((U = (w = r == null ? void 0 : r.value) == null ? void 0 : w.KgTable) == null ? void 0 : U.kgDisabled))
14675
- return (q = (H = r == null ? void 0 : r.value) == null ? void 0 : H.KgTable) == null ? void 0 : q.kgDisabled;
14675
+ return (H = (q = r == null ? void 0 : r.value) == null ? void 0 : q.KgTable) == null ? void 0 : H.kgDisabled;
14676
14676
  if (!isNil(e.kgDisabled))
14677
14677
  return e.kgDisabled;
14678
14678
  }), k = computed(() => {
14679
- var w, U, H, q;
14679
+ var w, U, q, H;
14680
14680
  if (!isNil((U = (w = r == null ? void 0 : r.value) == null ? void 0 : w.KgTable) == null ? void 0 : U.kgCheckboxDisabled))
14681
- return (q = (H = r == null ? void 0 : r.value) == null ? void 0 : H.KgTable) == null ? void 0 : q.kgCheckboxDisabled;
14681
+ return (H = (q = r == null ? void 0 : r.value) == null ? void 0 : q.KgTable) == null ? void 0 : H.kgCheckboxDisabled;
14682
14682
  if (!isNil(e.kgCheckboxDisabled))
14683
14683
  return e.kgCheckboxDisabled;
14684
- }), C = computed(() => !!R.value || g.value || !!i.isCreating.value || !!i.isUpdating.value || !!i.isCopying.value || !!i.isDeleting.value), y = computed(() => !!R.value || g.value || !!i.isCreating.value || !!i.isUpdating.value || !!i.isCopying.value || !!i.isDeleting.value || B.total === 0), A = computed(() => {
14684
+ }), C = computed(() => !!R.value || g.value || !!i.isCreating.value || !!i.isUpdating.value || !!i.isCopying.value || !!i.isDeleting.value), N = computed(() => !!R.value || g.value || !!i.isCreating.value || !!i.isUpdating.value || !!i.isCopying.value || !!i.isDeleting.value || B.total === 0), A = computed(() => {
14685
14685
  var w;
14686
14686
  return !!((w = a == null ? void 0 : a.KgTable) != null && w.expandedRowRender);
14687
14687
  }), V = computed(() => {
@@ -14693,7 +14693,7 @@ const KgTable$1 = "", getProps$r = () => ({
14693
14693
  fixed: "left",
14694
14694
  columnWidth: KG_TABLE_TD_CHECK_WIDTH,
14695
14695
  hideSelectAll: !i.kgTable.isMultiSelect.value,
14696
- selectedRowKeys: K,
14696
+ selectedRowKeys: L,
14697
14697
  preserveSelectedRowKeys: !1,
14698
14698
  getCheckboxProps: (w) => {
14699
14699
  var U;
@@ -14719,11 +14719,11 @@ const KgTable$1 = "", getProps$r = () => ({
14719
14719
  break;
14720
14720
  }
14721
14721
  return l.value && (w += " kg-table--is-ctrl-shift-keydown"), w;
14722
- }), L = computed(() => {
14722
+ }), K = computed(() => {
14723
14723
  var U;
14724
14724
  let w = "kg-table-bottom";
14725
14725
  return ((U = i.varGridConfig.value) == null ? void 0 : U.show_bottom_border_flg) === 1 && (w += " kg-table-bottom--border"), w;
14726
- }), K = (Y = i.kgTable.store.getSelectedRowKeys(i.formID)) != null ? Y : ref([]), B = reactive({
14726
+ }), L = (Y = i.kgTable.store.getSelectedRowKeys(i.formID)) != null ? Y : ref([]), B = reactive({
14727
14727
  pageIndex: 1,
14728
14728
  pageSize: 10,
14729
14729
  total: 0
@@ -14734,12 +14734,12 @@ const KgTable$1 = "", getProps$r = () => ({
14734
14734
  });
14735
14735
  watch(i.kgTable.pageSizeOptions, (w) => {
14736
14736
  w.length > 0 && !w.includes(B.pageSize) && (B.pageSize = i.kgTable.pageSizeOption.value);
14737
- }), watch([i.kgTable.isAutoRequest, i.kgSearch.isReady, i.kgTable.isRequested], ([w, U, H]) => {
14737
+ }), watch([i.kgTable.isAutoRequest, i.kgSearch.isReady, i.kgTable.isRequested], ([w, U, q]) => {
14738
14738
  ____DEBUG____(`${i.formID} | KgTable | watch:[kgVar.kgTable.isAutoRequest, kgVar.kgSearch.isReady, kgVar.kgTable.isRequested]`, {
14739
14739
  isAutoRequest: w,
14740
14740
  isReady: U,
14741
- isRequested: H
14742
- }), w && U && !H && M({
14741
+ isRequested: q
14742
+ }), w && U && !q && M({
14743
14743
  isSearchFirstPage: !0
14744
14744
  });
14745
14745
  }, {
@@ -14752,7 +14752,7 @@ const KgTable$1 = "", getProps$r = () => ({
14752
14752
  function F(w) {
14753
14753
  (w.ctrlKey || w.shiftKey) && (l.value = !0);
14754
14754
  }
14755
- function N(w) {
14755
+ function y(w) {
14756
14756
  !w.ctrlKey && !w.shiftKey && (l.value = !1);
14757
14757
  }
14758
14758
  function P() {
@@ -14780,15 +14780,15 @@ const KgTable$1 = "", getProps$r = () => ({
14780
14780
  });
14781
14781
  const {
14782
14782
  event: U,
14783
- row: H,
14784
- isContinueWhenKgDisabled: q = !1
14783
+ row: q,
14784
+ isContinueWhenKgDisabled: H = !1
14785
14785
  } = w, Q = document.getSelection();
14786
14786
  if ((Q == null ? void 0 : Q.type) === "Range")
14787
14787
  if (U != null && U.shiftKey)
14788
14788
  Q.removeAllRanges();
14789
14789
  else
14790
14790
  return;
14791
- if (!q && !!R.value || i.isCreating.value || i.isUpdating.value || i.isCopying.value || i.isDeleting.value) {
14791
+ if (!H && !!R.value || i.isCreating.value || i.isUpdating.value || i.isCopying.value || i.isDeleting.value) {
14792
14792
  ____DEBUG____(`${i.formID} | KgTable | onRowClick() | \u8868\u683C\u7981\u7528/\u6B63\u5728\u589E\u5220\u6539\u590D.`, {
14793
14793
  param: w
14794
14794
  });
@@ -14798,7 +14798,7 @@ const KgTable$1 = "", getProps$r = () => ({
14798
14798
  ____DEBUG____("KgTable | onRowClick() | \u4E0D\u652F\u6301\u884C\u52FE\u9009.");
14799
14799
  return;
14800
14800
  }
14801
- if (!H) {
14801
+ if (!q) {
14802
14802
  ____DEBUG____("KgTable | onRowClick() | \u6E05\u7A7A\u6240\u6709\u52FE\u9009\u7684\u884C."), i.kgTable.store.setSelectedRows(i.formID, []);
14803
14803
  return;
14804
14804
  }
@@ -14818,49 +14818,49 @@ const KgTable$1 = "", getProps$r = () => ({
14818
14818
  case (U == null ? void 0 : U.shiftKey): {
14819
14819
  const re = last(i.kgTable.selectedRows.value);
14820
14820
  if (re) {
14821
- const te = i.kgTable.datas.value.findIndex((le) => le[X] === re[X]), ne = i.kgTable.datas.value.findIndex((le) => le[X] === H[X]);
14821
+ const te = i.kgTable.datas.value.findIndex((le) => le[X] === re[X]), ne = i.kgTable.datas.value.findIndex((le) => le[X] === q[X]);
14822
14822
  if (te !== ne) {
14823
14823
  const le = Math.min(te, ne), ie = Math.max(te, ne);
14824
- i.kgTable.store.setSelectedRows(i.formID, [...i.kgTable.datas.value.filter((ge, ce) => ce >= le && ce <= ie && ge[X] !== H[X]), H]);
14824
+ i.kgTable.store.setSelectedRows(i.formID, [...i.kgTable.datas.value.filter((ge, ce) => ce >= le && ce <= ie && ge[X] !== q[X]), q]);
14825
14825
  }
14826
14826
  } else
14827
- i.kgTable.store.setSelectedRows(i.formID, [H]);
14827
+ i.kgTable.store.setSelectedRows(i.formID, [q]);
14828
14828
  break;
14829
14829
  }
14830
14830
  case (U == null ? void 0 : U.ctrlKey):
14831
14831
  case (U == null ? void 0 : U.metaKey): {
14832
- K.value.includes(H[X]) ? (____DEBUG____(`${i.formID} | KgTable | onRowClick() | CTRL \u79FB\u9664\u4E00\u884C\u52FE\u9009.`, {
14833
- row: H
14834
- }), K.value = without$1(K.value, H[X])) : (____DEBUG____(`${i.formID} | KgTable | onRowClick() | CTRL \u6DFB\u52A0\u4E00\u884C\u52FE\u9009.`, {
14835
- row: H
14836
- }), K.value = [...(ee = K.value) != null ? ee : [], H[X]]), i.kgTable.store.setSelectedRows(i.formID, K.value.map((re) => {
14832
+ L.value.includes(q[X]) ? (____DEBUG____(`${i.formID} | KgTable | onRowClick() | CTRL \u79FB\u9664\u4E00\u884C\u52FE\u9009.`, {
14833
+ row: q
14834
+ }), L.value = without$1(L.value, q[X])) : (____DEBUG____(`${i.formID} | KgTable | onRowClick() | CTRL \u6DFB\u52A0\u4E00\u884C\u52FE\u9009.`, {
14835
+ row: q
14836
+ }), L.value = [...(ee = L.value) != null ? ee : [], q[X]]), i.kgTable.store.setSelectedRows(i.formID, L.value.map((re) => {
14837
14837
  var te;
14838
14838
  return (te = i.kgTable.datas.value) == null ? void 0 : te.find((ne) => ne[X] === re);
14839
14839
  }).filter((re) => !!re));
14840
14840
  break;
14841
14841
  }
14842
14842
  case (!(U != null && U.shiftKey) && !(U != null && U.ctrlKey)): {
14843
- i.kgTable.store.setSelectedRows(i.formID, [H]);
14843
+ i.kgTable.store.setSelectedRows(i.formID, [q]);
14844
14844
  break;
14845
14845
  }
14846
14846
  }
14847
14847
  break;
14848
14848
  }
14849
14849
  case !1: {
14850
- i.kgTable.store.setSelectedRows(i.formID, [H]);
14850
+ i.kgTable.store.setSelectedRows(i.formID, [q]);
14851
14851
  break;
14852
14852
  }
14853
14853
  }
14854
14854
  break;
14855
14855
  }
14856
14856
  case 2:
14857
- W(H);
14857
+ W(q);
14858
14858
  break;
14859
14859
  }
14860
14860
  break;
14861
14861
  case 2:
14862
14862
  i.kgTable.store.emit(i.formID, "rowDoubleClick", {
14863
- row: H
14863
+ row: q
14864
14864
  });
14865
14865
  break;
14866
14866
  }
@@ -14869,13 +14869,13 @@ const KgTable$1 = "", getProps$r = () => ({
14869
14869
  ____DEBUG____(`${i.formID} | KgTable | request() | \u8FDB\u5165\u65B9\u6CD5.`, {
14870
14870
  param: w
14871
14871
  });
14872
- const U = watch(i.kgTable.isReady, (q) => {
14873
- q && (setTimeout(() => U()), H());
14872
+ const U = watch(i.kgTable.isReady, (H) => {
14873
+ H && (setTimeout(() => U()), q());
14874
14874
  }, {
14875
14875
  immediate: !0
14876
14876
  });
14877
- async function H() {
14878
- var q, Q, Z, ee, X, re, te;
14877
+ async function q() {
14878
+ var H, Q, Z, ee, X, re, te;
14879
14879
  ____DEBUG____(`${i.formID} | KgTable | request().requestDatas() | \u8FDB\u5165\u65B9\u6CD5.`), w.isSearchFirstPage && (B.pageIndex = 1), i.kgTable.store.setIsRequesting(i.formID, !0);
14880
14880
  try {
14881
14881
  const ne = ref({}), le = E.value;
@@ -14891,7 +14891,7 @@ const KgTable$1 = "", getProps$r = () => ({
14891
14891
  throw ____ERROR____(`${i.formID} | KgTable | request() | \u67E5\u8BE2\u6309\u94AE\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3.`, {
14892
14892
  VarButton: i.kgButton.searchButton.value
14893
14893
  }), new Error("\u67E5\u8BE2\u6309\u94AE\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3.");
14894
- const de = ((Q = (q = n.option.value.KgSearch) == null ? void 0 : q.dynamicQuery) == null ? void 0 : Q.on) === !0 && ((Z = i.kgSearch.currentVarProfileMaster.value) == null ? void 0 : Z.dyn_flg) === 1, {
14894
+ const de = ((Q = (H = n.option.value.KgSearch) == null ? void 0 : H.dynamicQuery) == null ? void 0 : Q.on) === !0 && ((Z = i.kgSearch.currentVarProfileMaster.value) == null ? void 0 : Z.dyn_flg) === 1, {
14895
14895
  sql: me,
14896
14896
  whereSql: ve,
14897
14897
  orderBySql: Ee,
@@ -14936,7 +14936,7 @@ const KgTable$1 = "", getProps$r = () => ({
14936
14936
  } = m(ne), he = await i.kgTable.store.emit(i.formID, "beforeSetDatas", {
14937
14937
  datas: ce,
14938
14938
  total: fe
14939
- }), be = cloneDeep(toRaw(K.value));
14939
+ }), be = cloneDeep(toRaw(L.value));
14940
14940
  i.kgTable.store.setDatas({
14941
14941
  frmId: i.formID,
14942
14942
  datas: ce.value,
@@ -14962,24 +14962,24 @@ const KgTable$1 = "", getProps$r = () => ({
14962
14962
  }
14963
14963
  function x(w) {
14964
14964
  i.kgTable.store.setSelectedRows(i.formID, w.map((U) => {
14965
- var H;
14966
- return (H = i.kgTable.datas.value) == null ? void 0 : H.find((q) => q[i.kgTable.idKey.value] === U);
14965
+ var q;
14966
+ return (q = i.kgTable.datas.value) == null ? void 0 : q.find((H) => H[i.kgTable.idKey.value] === U);
14967
14967
  }).filter((U) => !!U));
14968
14968
  }
14969
14969
  function W(w) {
14970
- var q, Q;
14971
- const U = i.kgTable.idKey.value, H = w[U];
14970
+ var H, Q;
14971
+ const U = i.kgTable.idKey.value, q = w[U];
14972
14972
  switch (i.kgTable.isMultiSelect.value) {
14973
14973
  case !0: {
14974
- K.value.includes(H) ? K.value = without$1(K.value, H) : K.value = [...(q = K.value) != null ? q : [], H];
14974
+ L.value.includes(q) ? L.value = without$1(L.value, q) : L.value = [...(H = L.value) != null ? H : [], q];
14975
14975
  break;
14976
14976
  }
14977
14977
  case !1: {
14978
- (Q = K.value) != null && Q.includes(H) ? K.value = [] : K.value = [H];
14978
+ (Q = L.value) != null && Q.includes(q) ? L.value = [] : L.value = [q];
14979
14979
  break;
14980
14980
  }
14981
14981
  }
14982
- i.kgTable.store.setSelectedRows(i.formID, K.value.map((Z) => {
14982
+ i.kgTable.store.setSelectedRows(i.formID, L.value.map((Z) => {
14983
14983
  var ee;
14984
14984
  return (ee = i.kgTable.datas.value) == null ? void 0 : ee.find((X) => X[U] === Z);
14985
14985
  }).filter((Z) => !!Z));
@@ -14992,10 +14992,10 @@ const KgTable$1 = "", getProps$r = () => ({
14992
14992
  }
14993
14993
  });
14994
14994
  }
14995
- async function J(w, U, H, q) {
14996
- switch (q.action) {
14995
+ async function J(w, U, q, H) {
14996
+ switch (H.action) {
14997
14997
  case "sort": {
14998
- c.value = H, c.value.order || (c.value.field = void 0), await nextTick(), M({
14998
+ c.value = q, c.value.order || (c.value.field = void 0), await nextTick(), M({
14999
14999
  isSearchFirstPage: !0
15000
15000
  });
15001
15001
  break;
@@ -15005,14 +15005,14 @@ const KgTable$1 = "", getProps$r = () => ({
15005
15005
  }
15006
15006
  }
15007
15007
  function ae(w, U) {
15008
- var q;
15009
- const H = U[i.kgTable.idKey.value];
15010
- switch ((q = i.varGridConfig.value) == null ? void 0 : q.expand_accordion_flg) {
15008
+ var H;
15009
+ const q = U[i.kgTable.idKey.value];
15010
+ switch ((H = i.varGridConfig.value) == null ? void 0 : H.expand_accordion_flg) {
15011
15011
  case 0:
15012
- w ? s.value = uniq([...s.value, H]) : s.value = without$1(s.value, H);
15012
+ w ? s.value = uniq([...s.value, q]) : s.value = without$1(s.value, q);
15013
15013
  break;
15014
15014
  default:
15015
- w ? s.value = [H] : s.value = [];
15015
+ w ? s.value = [q] : s.value = [];
15016
15016
  break;
15017
15017
  }
15018
15018
  }
@@ -15038,11 +15038,11 @@ const KgTable$1 = "", getProps$r = () => ({
15038
15038
  index: 0
15039
15039
  }, null), V.value && createVNode(TableSummary.Cell, {
15040
15040
  index: A.value ? 1 : 0
15041
- }, null), o.value.map((U, H) => {
15042
- const q = String(U.dataIndex), Q = q ? i.kgTable.getVarGridDetail({
15043
- varName: q
15041
+ }, null), o.value.map((U, q) => {
15042
+ const H = String(U.dataIndex), Q = H ? i.kgTable.getVarGridDetail({
15043
+ varName: H
15044
15044
  }) : null, Z = (() => ["left", "center", "right"].includes((Q == null ? void 0 : Q.align) || "") ? Q == null ? void 0 : Q.align : "left")();
15045
- let ee = H;
15045
+ let ee = q;
15046
15046
  return A.value && V.value ? ee += 2 : (A.value || V.value) && (ee += 1), createVNode(TableSummary.Cell, {
15047
15047
  index: ee,
15048
15048
  align: Z
@@ -15064,11 +15064,11 @@ const KgTable$1 = "", getProps$r = () => ({
15064
15064
  return !i.kgTable.isAutoRequest.value && !i.kgTable.store.getIsRequested(i.formID) ? n.t("kg.KgTable.emptyText") : n.t("kg.emptyText");
15065
15065
  }
15066
15066
  return onMounted(() => {
15067
- window.addEventListener("keydown", F), window.addEventListener("keyup", N);
15067
+ window.addEventListener("keydown", F), window.addEventListener("keyup", y);
15068
15068
  }), onUnmounted(() => {
15069
- i.kgTable.store.dispose(i.formID), window.removeEventListener("keydown", F), window.removeEventListener("keyup", N);
15069
+ i.kgTable.store.dispose(i.formID), window.removeEventListener("keydown", F), window.removeEventListener("keyup", y);
15070
15070
  }), () => {
15071
- var w, U, H;
15071
+ var w, U, q;
15072
15072
  return createVNode("div", {
15073
15073
  "kg-form_id": i.formID,
15074
15074
  class: O.value,
@@ -15090,10 +15090,10 @@ const KgTable$1 = "", getProps$r = () => ({
15090
15090
  expandColumnWidth: 28,
15091
15091
  expandedRowKeys: s.value,
15092
15092
  rowSelection: I.value,
15093
- customRow: (q) => ({
15093
+ customRow: (H) => ({
15094
15094
  onClick: (Q) => $({
15095
15095
  event: Q,
15096
- row: q
15096
+ row: H
15097
15097
  })
15098
15098
  }),
15099
15099
  onResizeColumn: z,
@@ -15103,17 +15103,17 @@ const KgTable$1 = "", getProps$r = () => ({
15103
15103
  headerCell: ue,
15104
15104
  bodyCell: d,
15105
15105
  emptyText: oe,
15106
- expandedRowRender: (H = a == null ? void 0 : a.KgTable) == null ? void 0 : H.expandedRowRender,
15106
+ expandedRowRender: (q = a == null ? void 0 : a.KgTable) == null ? void 0 : q.expandedRowRender,
15107
15107
  summary: _e
15108
15108
  }), (i.kgTable.isShowBottomLeft.value || i.kgTable.isShowBottomRight.value) && createVNode("div", {
15109
- class: L.value
15109
+ class: K.value
15110
15110
  }, [createVNode("div", {
15111
15111
  class: "left"
15112
15112
  }, [i.kgTable.isShowBottomLeft.value && createVNode(KgTableInfo, {
15113
- kgShowClearCheck: K.value.length > 0,
15113
+ kgShowClearCheck: L.value.length > 0,
15114
15114
  kgShowClearTable: B.total > 0,
15115
- kgShowLocate: K.value.length > 0,
15116
- kgTotal: K.value.length,
15115
+ kgShowLocate: L.value.length > 0,
15116
+ kgTotal: L.value.length,
15117
15117
  kgDisabled: C.value
15118
15118
  }, null)]), createVNode("div", {
15119
15119
  class: "right"
@@ -15121,21 +15121,21 @@ const KgTable$1 = "", getProps$r = () => ({
15121
15121
  size: "default",
15122
15122
  current: B.pageIndex,
15123
15123
  pageSize: B.pageSize,
15124
- pageSizeOptions: i.kgTable.pageSizeOptions.value.map((q) => String(q)),
15124
+ pageSizeOptions: i.kgTable.pageSizeOptions.value.map((H) => String(H)),
15125
15125
  total: B.total,
15126
15126
  showSizeChanger: !0,
15127
15127
  showQuickJumper: !1,
15128
15128
  hideOnSinglePage: !1,
15129
- disabled: y.value,
15129
+ disabled: N.value,
15130
15130
  locale: {
15131
15131
  page: ""
15132
15132
  },
15133
- showTotal: (q, Q) => n.t("kg.KgTable.totalText", {
15133
+ showTotal: (H, Q) => n.t("kg.KgTable.totalText", {
15134
15134
  from: Q[0],
15135
15135
  to: Q[1],
15136
- total: q
15136
+ total: H
15137
15137
  }),
15138
- onChange: (q, Q) => se(q, Q)
15138
+ onChange: (H, Q) => se(H, Q)
15139
15139
  }, null)])])]);
15140
15140
  };
15141
15141
  }
@@ -17308,8 +17308,8 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17308
17308
  id: A.id
17309
17309
  } : A;
17310
17310
  });
17311
- const y = (T = (p = C == null ? void 0 : C.varProfileDetails) == null ? void 0 : p.map((A) => A.var_nam)) != null ? T : [];
17312
- l.value = i.value.filter((A) => y.includes(A.var_nam)).map((A) => A.id);
17311
+ const N = (T = (p = C == null ? void 0 : C.varProfileDetails) == null ? void 0 : p.map((A) => A.var_nam)) != null ? T : [];
17312
+ l.value = i.value.filter((A) => N.includes(A.var_nam)).map((A) => A.id);
17313
17313
  } catch (C) {
17314
17314
  throw C;
17315
17315
  } finally {
@@ -17396,7 +17396,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17396
17396
  onItemSelectAll: E,
17397
17397
  onItemSelect: R
17398
17398
  }) => {
17399
- var C, y;
17399
+ var C, N;
17400
17400
  const k = m.sort((A, V) => {
17401
17401
  var I, O;
17402
17402
  return ((I = A.srtseq) != null ? I : 0) - ((O = V.srtseq) != null ? O : 0);
@@ -17406,7 +17406,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17406
17406
  class: "kg-flex-table",
17407
17407
  size: "small",
17408
17408
  scroll: {
17409
- x: d === "left" ? "370px" : `${(((y = (C = a.option.value.KgSearch) == null ? void 0 : C.dynamicQuery) == null ? void 0 : y.on) !== !0 ? 1192 - 150 : 1192) + 32}px`,
17409
+ x: d === "left" ? "370px" : `${(((N = (C = a.option.value.KgSearch) == null ? void 0 : C.dynamicQuery) == null ? void 0 : N.on) !== !0 ? 1192 - 150 : 1192) + 32}px`,
17410
17410
  y: "auto"
17411
17411
  },
17412
17412
  columns: d === "left" ? leftVarProfileDetailColumns(t) : rightVarProfileDetailColumns(t),
@@ -17917,7 +17917,24 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17917
17917
  this.variable.currentVarConfigDescription = e;
17918
17918
  }
17919
17919
  }
17920
- }), KgVarConfigModalVarVarConfigControl = defineComponent({
17920
+ }), LOCALE = {
17921
+ ZH_CN: "zh_CN",
17922
+ EN: "en"
17923
+ }, localeList = [
17924
+ {
17925
+ text: "\u7B80\u4F53\u4E2D\u6587",
17926
+ event: LOCALE.ZH_CN
17927
+ },
17928
+ {
17929
+ text: "ENGLISH",
17930
+ event: LOCALE.EN
17931
+ }
17932
+ ], localeSetting = {
17933
+ showPicker: !0,
17934
+ locale: LOCALE.ZH_CN,
17935
+ fallback: LOCALE.ZH_CN,
17936
+ availableLocales: localeList.map((e) => e.event)
17937
+ }, KgVarConfigModalVarVarConfigControl = defineComponent({
17921
17938
  name: "KgVarConfigModalVarVarConfigControl",
17922
17939
  setup() {
17923
17940
  const e = inject(KG__DI__KG_VAR_CONFIG__HOST_FORM_ID, null), t = useKg(), a = useKgVar(e == null ? void 0 : e.value), r = useKgVar(FORM_ID__VAR__VAR_CONFIG_CONTROL), n = useKgVar(FORM_ID__VAR__VAR_VARIABLE);
@@ -17939,15 +17956,15 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17939
17956
  response: o,
17940
17957
  varName: u
17941
17958
  }) => {
17942
- var c, _, g;
17959
+ var c;
17943
17960
  switch (s) {
17944
17961
  case KG_FORM_CONTEXT.SEARCH: {
17945
17962
  switch (u) {
17946
17963
  case "button_var_name":
17947
- return o.value = a.kgButton.varButtons.value.map((v) => ({
17948
- value: v.var_nam,
17964
+ return o.value = a.kgButton.varButtons.value.map((_) => ({
17965
+ value: _.var_nam,
17949
17966
  label: a.kgButton.getButtonDescription({
17950
- varName: v.var_nam
17967
+ varName: _.var_nam
17951
17968
  })
17952
17969
  })), !0;
17953
17970
  }
@@ -17965,30 +17982,30 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17965
17982
  label: `${t.t("kg.KgVarConfig.currentForm")} \uFF08${e == null ? void 0 : e.value}\uFF09`
17966
17983
  }], !0;
17967
17984
  case "locale_id": {
17968
- const v = [{
17985
+ const _ = [{
17969
17986
  value: "ALL",
17970
17987
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
17971
- }, {
17972
- value: (c = t.locale) == null ? void 0 : c.value,
17973
- label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(_ = t.locale) == null ? void 0 : _.value}\uFF09`
17974
- }];
17988
+ }, ...localeList.map((g) => ({
17989
+ value: g.event,
17990
+ label: g.text
17991
+ }))];
17975
17992
  switch (!0) {
17976
17993
  case r.isUpdating.value: {
17977
- const d = r.kgSubmit.formModel.value.locale_id;
17978
- d !== ((g = t.locale) == null ? void 0 : g.value) && d !== "ALL" && v.push({
17979
- value: d,
17980
- label: d
17994
+ const g = r.kgSubmit.formModel.value.locale_id;
17995
+ g !== ((c = t.locale) == null ? void 0 : c.value) && g !== "ALL" && _.push({
17996
+ value: g,
17997
+ label: g
17981
17998
  });
17982
17999
  break;
17983
18000
  }
17984
18001
  }
17985
- return o.value = v, !0;
18002
+ return o.value = _, !0;
17986
18003
  }
17987
18004
  case "button_var_name":
17988
- return o.value = a.kgButton.varButtons.value.map((v) => ({
17989
- value: v.var_nam,
18005
+ return o.value = a.kgButton.varButtons.value.map((_) => ({
18006
+ value: _.var_nam,
17990
18007
  label: a.kgButton.getButtonDescription({
17991
- varName: v.var_nam
18008
+ varName: _.var_nam
17992
18009
  })
17993
18010
  })), !0;
17994
18011
  }
@@ -18059,7 +18076,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18059
18076
  response: s,
18060
18077
  varName: o
18061
18078
  }) => {
18062
- var u, c, _;
18079
+ var u;
18063
18080
  switch (o) {
18064
18081
  case "frm_id":
18065
18082
  return s.value = [{
@@ -18070,24 +18087,24 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18070
18087
  label: `${t.t("kg.KgVarConfig.currentForm")} \uFF08${e == null ? void 0 : e.value}\uFF09`
18071
18088
  }], !0;
18072
18089
  case "locale_id": {
18073
- const g = [{
18090
+ const c = [{
18074
18091
  value: "ALL",
18075
18092
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
18076
- }, {
18077
- value: (u = t.locale) == null ? void 0 : u.value,
18078
- label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(c = t.locale) == null ? void 0 : c.value}\uFF09`
18079
- }];
18093
+ }, ...localeList.map((_) => ({
18094
+ value: _.event,
18095
+ label: `${_.text}\uFF08${_.event}\uFF09`
18096
+ }))];
18080
18097
  switch (!0) {
18081
18098
  case r.isUpdating.value: {
18082
- const v = r.kgSubmit.formModel.value.locale_id;
18083
- v !== ((_ = t.locale) == null ? void 0 : _.value) && v !== "ALL" && g.push({
18084
- value: v,
18085
- label: v
18099
+ const _ = r.kgSubmit.formModel.value.locale_id;
18100
+ _ !== ((u = t.locale) == null ? void 0 : u.value) && _ !== "ALL" && c.push({
18101
+ value: _,
18102
+ label: _
18086
18103
  });
18087
18104
  break;
18088
18105
  }
18089
18106
  }
18090
- return s.value = g, !0;
18107
+ return s.value = c, !0;
18091
18108
  }
18092
18109
  }
18093
18110
  return !1;
@@ -18139,7 +18156,100 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18139
18156
  kgProps: l.value
18140
18157
  }, null)]);
18141
18158
  }
18142
- }), KgVarConfigModalVarVarConfigInput = defineComponent({
18159
+ }), SIDE_BAR_MINI_WIDTH = 48, SIDE_BAR_SHOW_TIT_MINI_WIDTH = 80;
18160
+ var TabsThemeEnum = /* @__PURE__ */ ((e) => (e.SMOOTH = "smooth", e.CARD = "card", e.SIMPLE = "simple", e))(TabsThemeEnum || {}), ContentEnum = /* @__PURE__ */ ((e) => (e.FULL = "full", e.FIXED = "fixed", e))(ContentEnum || {}), ThemeEnum = /* @__PURE__ */ ((e) => (e.DARK = "dark", e.LIGHT = "light", e))(ThemeEnum || {}), SettingButtonPositionEnum = /* @__PURE__ */ ((e) => (e.AUTO = "auto", e.HEADER = "header", e.FIXED = "fixed", e))(SettingButtonPositionEnum || {}), SessionTimeoutProcessingEnum = /* @__PURE__ */ ((e) => (e[e.ROUTE_JUMP = 0] = "ROUTE_JUMP", e[e.PAGE_COVERAGE = 1] = "PAGE_COVERAGE", e))(SessionTimeoutProcessingEnum || {}), PermissionModeEnum = /* @__PURE__ */ ((e) => (e.ROLE = "ROLE", e.BACK = "BACK", e.ROUTE_MAPPING = "ROUTE_MAPPING", e))(PermissionModeEnum || {}), RouterTransitionEnum = /* @__PURE__ */ ((e) => (e.ZOOM_FADE = "zoom-fade", e.ZOOM_OUT = "zoom-out", e.FADE_SIDE = "fade-slide", e.FADE = "fade", e.FADE_BOTTOM = "fade-bottom", e.FADE_SCALE = "fade-scale", e))(RouterTransitionEnum || {}), sizeEnum = /* @__PURE__ */ ((e) => (e.XS = "XS", e.SM = "SM", e.MD = "MD", e.LG = "LG", e.XL = "XL", e.XXL = "XXL", e))(sizeEnum || {}), screenEnum = /* @__PURE__ */ ((e) => (e[e.XS = 480] = "XS", e[e.SM = 576] = "SM", e[e.MD = 768] = "MD", e[e.LG = 992] = "LG", e[e.XL = 1200] = "XL", e[e.XXL = 1600] = "XXL", e))(screenEnum || {});
18161
+ const screenMap = /* @__PURE__ */ new Map();
18162
+ screenMap.set("XS", 480);
18163
+ screenMap.set("SM", 576);
18164
+ screenMap.set("MD", 768);
18165
+ screenMap.set("LG", 992);
18166
+ screenMap.set("XL", 1200);
18167
+ screenMap.set("XXL", 1600);
18168
+ const TOKEN_KEY = "TOKEN__", LOCALE_KEY = "LOCALE__", USER_INFO_KEY = "USER__INFO__", ROLES_KEY = "ROLES__KEY__", USER_WAREHOUSE_KEY = "USER_WAREHOUSE__KEY__", DB_DICT_DATA_KEY = "UI_CACHE_DB_DICT_DATA", PROJ_CFG_KEY = "PROJ__CFG__KEY__", LOCK_INFO_KEY = "LOCK__INFO__KEY__", MULTIPLE_TABS_KEY = "MULTIPLE_TABS__KEY__", APP_DARK_MODE_KEY_ = "__APP__DARK__MODE__", APP_LOCAL_CACHE_KEY = "COMMON__LOCAL__KEY__", APP_SESSION_CACHE_KEY = "COMMON__SESSION__KEY__", TENANT_ID = "TENANT_ID", LOGIN_INFO_KEY = "LOGIN__INFO__";
18169
+ var CacheTypeEnum = /* @__PURE__ */ ((e) => (e[e.SESSION = 0] = "SESSION", e[e.LOCAL = 1] = "LOCAL", e))(CacheTypeEnum || {}), CompTypeEnum = /* @__PURE__ */ ((e) => (e.Radio = "radio", e.RadioButton = "radioButton", e.Select = "select", e.List = "list", e.Switch = "switch", e.SelTree = "sel_tree", e.CatTree = "cat_tree", e.SelSearch = "search", e.SelUser = "sel_user", e.Checkbox = "checkbox", e.ListMulti = "list_multi", e.Pca = "pca", e.Popup = "popup", e.SelDepart = "sel_depart", e))(CompTypeEnum || {}), DateTypeEnum = /* @__PURE__ */ ((e) => (e.Date = "date", e.Datetime = "datetime", e.Time = "time", e))(DateTypeEnum || {}), ExceptionEnum = /* @__PURE__ */ ((e) => (e[e.PAGE_NOT_ACCESS = 403] = "PAGE_NOT_ACCESS", e[e.PAGE_NOT_FOUND = 404] = "PAGE_NOT_FOUND", e[e.ERROR = 500] = "ERROR", e[e.NET_WORK_ERROR = 1e4] = "NET_WORK_ERROR", e[e.PAGE_NOT_DATA = 10100] = "PAGE_NOT_DATA", e))(ExceptionEnum || {}), ErrorTypeEnum = /* @__PURE__ */ ((e) => (e.VUE = "vue", e.SCRIPT = "script", e.RESOURCE = "resource", e.AJAX = "ajax", e.PROMISE = "promise", e))(ErrorTypeEnum || {}), ResultEnum = /* @__PURE__ */ ((e) => (e[e.SUCCESS = 0] = "SUCCESS", e[e.ERROR = 1] = "ERROR", e[e.TIMEOUT = 401] = "TIMEOUT", e.TYPE = "success", e))(ResultEnum || {}), RequestEnum = /* @__PURE__ */ ((e) => (e.GET = "GET", e.POST = "POST", e.PUT = "PUT", e.DELETE = "DELETE", e))(RequestEnum || {}), ContentTypeEnum = /* @__PURE__ */ ((e) => (e.JSON = "application/json;charset=UTF-8", e.FORM_URLENCODED = "application/x-www-form-urlencoded;charset=UTF-8", e.FORM_DATA = "multipart/form-data;charset=UTF-8", e))(ContentTypeEnum || {}), ConfigEnum = /* @__PURE__ */ ((e) => (e.TOKEN = "X-Access-Token", e.TIMESTAMP = "X-TIMESTAMP", e.Sign = "X-Sign", e.TENANT_ID = "tenant-id", e.VERSION = "X-Version", e.X_LOW_APP_ID = "X-Low-App-ID", e))(ConfigEnum || {}), JInputTypeEnum = /* @__PURE__ */ ((e) => (e.JINPUT_QUERY_LIKE = "like", e.JINPUT_QUERY_NE = "ne", e.JINPUT_QUERY_GE = "ge", e.JINPUT_QUERY_LE = "le", e))(JInputTypeEnum || {}), JDragConfigEnum = /* @__PURE__ */ ((e) => (e.DRAG_BASE_URL = "drag-base-url", e.DRAG_CACHE_PREFIX = "drag-cache:", e))(JDragConfigEnum || {}), MenuTypeEnum = /* @__PURE__ */ ((e) => (e.SIDEBAR = "sidebar", e.MIX_SIDEBAR = "mix-sidebar", e.MIX = "mix", e.TOP_MENU = "top-menu", e))(MenuTypeEnum || {}), TriggerEnum = /* @__PURE__ */ ((e) => (e.NONE = "NONE", e.FOOTER = "FOOTER", e.HEADER = "HEADER", e))(TriggerEnum || {}), MenuModeEnum = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e.VERTICAL_RIGHT = "vertical-right", e.INLINE = "inline", e))(MenuModeEnum || {}), MenuSplitTyeEnum = /* @__PURE__ */ ((e) => (e[e.NONE = 0] = "NONE", e[e.TOP = 1] = "TOP", e[e.LEFT = 2] = "LEFT", e))(MenuSplitTyeEnum || {}), TopMenuAlignEnum = /* @__PURE__ */ ((e) => (e.CENTER = "center", e.START = "start", e.END = "end", e))(TopMenuAlignEnum || {}), MixSidebarTriggerEnum = /* @__PURE__ */ ((e) => (e.HOVER = "hover", e.CLICK = "click", e))(MixSidebarTriggerEnum || {}), PageEnum = /* @__PURE__ */ ((e) => (e.BASE_LOGIN = "/login", e.BASE_HOME = "/home", e.ERROR_PAGE = "/exception", e.ERROR_LOG_PAGE = "/error-log/list", e.OAUTH2_LOGIN_PAGE_PATH = "/oauth2-app/login", e.LABEL = "/wms/business-manager/print-manager/label", e.PRINT_TEMPLATE_ITEM = "/wms/print-template/item", e.PRINT_TEMPLATE_SPARE = "/wms/print-template/spare", e.PRINT_TEMPLATE_ORDER = "/wms/print-template/order", e))(PageEnum || {}), RoleEnum = /* @__PURE__ */ ((e) => (e.SUPER = "super", e.TEST = "test", e))(RoleEnum || {}), SizeEnum = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.SMALL = "small", e.LARGE = "large", e))(SizeEnum || {}), SizeNumberEnum = /* @__PURE__ */ ((e) => (e[e.DEFAULT = 48] = "DEFAULT", e[e.SMALL = 16] = "SMALL", e[e.LARGE = 64] = "LARGE", e))(SizeNumberEnum || {}), ScreenSizeEnum = /* @__PURE__ */ ((e) => (e[e.XS = 480] = "XS", e[e.SM = 576] = "SM", e[e.MD = 768] = "MD", e[e.LG = 992] = "LG", e[e.XL = 1200] = "XL", e))(ScreenSizeEnum || {});
18170
+ const sizeMap = (() => {
18171
+ const e = /* @__PURE__ */ new Map();
18172
+ return e.set("default", 48), e.set("small", 16), e.set("large", 64), e;
18173
+ })(), DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7, cacheCipher = {
18174
+ key: "_11111000001111@",
18175
+ iv: "@11111000001111_"
18176
+ }, enableStorageEncryption = !1, componentSetting = {
18177
+ table: {
18178
+ fetchSetting: {
18179
+ pageField: "pageNo",
18180
+ sizeField: "pageSize",
18181
+ listField: "records",
18182
+ totalField: "total"
18183
+ },
18184
+ pageSizeOptions: ["10", "50", "80", "100"],
18185
+ defaultSize: "middle",
18186
+ defaultPageSize: 10,
18187
+ defaultSortFn: (e) => {
18188
+ if (e instanceof Array) {
18189
+ let t = [];
18190
+ for (let a of e) {
18191
+ let r = getSort(a);
18192
+ r && t.push(r);
18193
+ }
18194
+ return {
18195
+ sortInfoString: JSON.stringify(t)
18196
+ };
18197
+ } else
18198
+ return getSort(e) || {};
18199
+ },
18200
+ defaultFilterFn: (e) => e
18201
+ },
18202
+ scrollbar: {
18203
+ native: !1
18204
+ },
18205
+ form: {
18206
+ labelCol: {
18207
+ xs: { span: 24 },
18208
+ sm: { span: 4 }
18209
+ },
18210
+ wrapperCol: {
18211
+ xs: { span: 24 },
18212
+ sm: { span: 18 }
18213
+ },
18214
+ colon: !0
18215
+ }
18216
+ };
18217
+ function getSort(e) {
18218
+ const { field: t, order: a } = e;
18219
+ if (t && a) {
18220
+ let r = a == "ascend" ? "asc" : "desc";
18221
+ return {
18222
+ column: t,
18223
+ order: r
18224
+ };
18225
+ }
18226
+ return "";
18227
+ }
18228
+ const prefixCls = "jeecg", darkMode = ThemeEnum.LIGHT, APP_PRESET_COLOR_LIST = ["#0960bd", "#1890ff", "#009688", "#536dfe", "#ff5c93", "#ee4f12", "#0096c7", "#9c27b0", "#ff9800"], HEADER_PRESET_BG_COLOR_LIST = [
18229
+ "#ffffff",
18230
+ "#151515",
18231
+ "#009688",
18232
+ "#5172DC",
18233
+ "#018ffb",
18234
+ "#409eff",
18235
+ "#e74c3c",
18236
+ "#24292e",
18237
+ "#394664",
18238
+ "#001529",
18239
+ "#383f45"
18240
+ ], SIDE_BAR_BG_COLOR_LIST = [
18241
+ "#ffffff",
18242
+ "#001529",
18243
+ "#009688",
18244
+ "#5172DC",
18245
+ "#018ffb",
18246
+ "#409eff",
18247
+ "#887ddd",
18248
+ "#cd7bdd",
18249
+ "#e74c3c",
18250
+ "#ff8345",
18251
+ "#f8bd0b"
18252
+ ], KgVarConfigModalVarVarConfigInput = defineComponent({
18143
18253
  name: "KgVarConfigModalVarVarConfigInput",
18144
18254
  setup() {
18145
18255
  const e = inject(KG__DI__KG_VAR_CONFIG__HOST_FORM_ID, null), t = useKg(), a = useKgVar(e == null ? void 0 : e.value), r = useKgVar(FORM_ID__VAR__VAR_CONFIG_INPUT), n = useKgVar(FORM_ID__VAR__VAR_VARIABLE);
@@ -18154,7 +18264,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18154
18264
  response: u,
18155
18265
  varName: c
18156
18266
  }) => {
18157
- var _, g, v;
18267
+ var _;
18158
18268
  switch (c) {
18159
18269
  case "frm_id":
18160
18270
  return u.value = [{
@@ -18165,24 +18275,24 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18165
18275
  label: `${t.t("kg.KgVarConfig.currentForm")} \uFF08${e == null ? void 0 : e.value}\uFF09`
18166
18276
  }], !0;
18167
18277
  case "locale_id": {
18168
- const d = [{
18278
+ const g = [{
18169
18279
  value: "ALL",
18170
18280
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
18171
- }, {
18172
- value: (_ = t.locale) == null ? void 0 : _.value,
18173
- label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(g = t.locale) == null ? void 0 : g.value}\uFF09`
18174
- }];
18281
+ }, ...localeList.map((v) => ({
18282
+ value: v.event,
18283
+ label: v.text
18284
+ }))];
18175
18285
  switch (!0) {
18176
18286
  case r.isUpdating.value: {
18177
- const m = r.kgSubmit.formModel.value.locale_id;
18178
- m !== ((v = t.locale) == null ? void 0 : v.value) && m !== "ALL" && d.push({
18179
- value: m,
18180
- label: m
18287
+ const v = r.kgSubmit.formModel.value.locale_id;
18288
+ v !== ((_ = t.locale) == null ? void 0 : _.value) && v !== "ALL" && g.push({
18289
+ value: v,
18290
+ label: v
18181
18291
  });
18182
18292
  break;
18183
18293
  }
18184
18294
  }
18185
- return u.value = d, !0;
18295
+ return u.value = g, !0;
18186
18296
  }
18187
18297
  }
18188
18298
  return !1;
@@ -18551,7 +18661,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18551
18661
  response: c,
18552
18662
  varName: _
18553
18663
  }) => {
18554
- var g, v, d;
18664
+ var g;
18555
18665
  switch (u) {
18556
18666
  case KG_FORM_CONTEXT.SEARCH:
18557
18667
  break;
@@ -18567,29 +18677,29 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18567
18677
  label: `${t.t("kg.KgVarConfig.currentForm")} \uFF08${e == null ? void 0 : e.value}\uFF09`
18568
18678
  }], !0;
18569
18679
  case "locale_id": {
18570
- const m = [{
18680
+ const v = [{
18571
18681
  value: "ALL",
18572
18682
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
18573
- }, {
18574
- value: (g = t.locale) == null ? void 0 : g.value,
18575
- label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(v = t.locale) == null ? void 0 : v.value}\uFF09`
18576
- }];
18683
+ }, ...localeList.map((d) => ({
18684
+ value: d.event,
18685
+ label: d.text
18686
+ }))];
18577
18687
  switch (!0) {
18578
18688
  case r.isUpdating.value: {
18579
- const p = r.kgSubmit.formModel.value.locale_id;
18580
- p !== ((d = t.locale) == null ? void 0 : d.value) && p !== "ALL" && m.push({
18581
- value: p,
18582
- label: p
18689
+ const d = r.kgSubmit.formModel.value.locale_id;
18690
+ d !== ((g = t.locale) == null ? void 0 : g.value) && d !== "ALL" && v.push({
18691
+ value: d,
18692
+ label: d
18583
18693
  });
18584
18694
  break;
18585
18695
  }
18586
18696
  }
18587
- return c.value = m, !0;
18697
+ return c.value = v, !0;
18588
18698
  }
18589
18699
  case "ret_fld":
18590
- return l.value ? c.value = l.value.map((m) => ({
18591
- value: m,
18592
- label: m
18700
+ return l.value ? c.value = l.value.map((v) => ({
18701
+ value: v,
18702
+ label: v
18593
18703
  })) : r.kgSubmit.formModel.value.ret_fld && (c.value = [{
18594
18704
  value: r.kgSubmit.formModel.value.ret_fld,
18595
18705
  label: r.kgSubmit.formModel.value.ret_fld
@@ -18663,10 +18773,10 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18663
18773
  params: {
18664
18774
  frm_id: c
18665
18775
  }
18666
- }), C = (m = (d = ((_ = k.varGridMasters) == null ? void 0 : _.find((y) => y.def_flg === 1)) || ((g = k.varGridMasters) == null ? void 0 : g.find((y) => y.cust_lvl === KG_CUSTOM_LEVEL.L0)) || ((v = k.varGridMasters) == null ? void 0 : v.find(() => !0))) == null ? void 0 : d.id) != null ? m : null;
18667
- l.value = uniq(compact((R = (E = (T = (p = k.varGridMasters) == null ? void 0 : p.find((y) => y.id === C)) == null ? void 0 : T.varGridDetails) == null ? void 0 : E.map((y) => {
18776
+ }), C = (m = (d = ((_ = k.varGridMasters) == null ? void 0 : _.find((N) => N.def_flg === 1)) || ((g = k.varGridMasters) == null ? void 0 : g.find((N) => N.cust_lvl === KG_CUSTOM_LEVEL.L0)) || ((v = k.varGridMasters) == null ? void 0 : v.find(() => !0))) == null ? void 0 : d.id) != null ? m : null;
18777
+ l.value = uniq(compact((R = (E = (T = (p = k.varGridMasters) == null ? void 0 : p.find((N) => N.id === C)) == null ? void 0 : T.varGridDetails) == null ? void 0 : E.map((N) => {
18668
18778
  var A;
18669
- return (A = y.var_nam) != null ? A : "";
18779
+ return (A = N.var_nam) != null ? A : "";
18670
18780
  })) != null ? R : [])), r.store.patchVarPossibilityCommandParameter(r.formID, "ret_fld", {
18671
18781
  __KG__TIMESTAMP__: Date.now()
18672
18782
  });
@@ -18713,7 +18823,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18713
18823
  response: o,
18714
18824
  varName: u
18715
18825
  }) => {
18716
- var c, _, g;
18826
+ var c;
18717
18827
  switch (s) {
18718
18828
  case KG_FORM_CONTEXT.SUBMIT:
18719
18829
  case KG_FORM_CONTEXT.TABLE: {
@@ -18727,24 +18837,24 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18727
18837
  label: `${t.t("kg.KgVarConfig.currentForm")} \uFF08${e == null ? void 0 : e.value}\uFF09`
18728
18838
  }], !0;
18729
18839
  case "locale_id": {
18730
- const v = [{
18840
+ const _ = [{
18731
18841
  value: "ALL",
18732
18842
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
18733
- }, {
18734
- value: (c = t.locale) == null ? void 0 : c.value,
18735
- label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(_ = t.locale) == null ? void 0 : _.value}\uFF09`
18736
- }];
18843
+ }, ...localeList.map((g) => ({
18844
+ value: g.event,
18845
+ label: g.text
18846
+ }))];
18737
18847
  switch (!0) {
18738
18848
  case r.isUpdating.value: {
18739
- const d = r.kgSubmit.formModel.value.locale_id;
18740
- d !== ((g = t.locale) == null ? void 0 : g.value) && d !== "ALL" && v.push({
18741
- value: d,
18742
- label: d
18849
+ const g = r.kgSubmit.formModel.value.locale_id;
18850
+ g !== ((c = t.locale) == null ? void 0 : c.value) && g !== "ALL" && _.push({
18851
+ value: g,
18852
+ label: g
18743
18853
  });
18744
18854
  break;
18745
18855
  }
18746
18856
  }
18747
- return o.value = v, !0;
18857
+ return o.value = _, !0;
18748
18858
  }
18749
18859
  }
18750
18860
  break;
@@ -18965,7 +19075,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18965
19075
  response: o,
18966
19076
  varName: u
18967
19077
  }) => {
18968
- var c, _, g;
19078
+ var c;
18969
19079
  switch (s) {
18970
19080
  case KG_FORM_CONTEXT.SEARCH:
18971
19081
  break;
@@ -18981,24 +19091,24 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18981
19091
  label: `${t.t("kg.KgVarConfig.currentForm")} \uFF08${e == null ? void 0 : e.value}\uFF09`
18982
19092
  }], !0;
18983
19093
  case "locale_id": {
18984
- const v = [{
19094
+ const _ = [{
18985
19095
  value: "ALL",
18986
19096
  label: `${t.t("kg.KgVarConfig.allLanguage")} \uFF08ALL\uFF09`
18987
- }, {
18988
- value: (c = t.locale) == null ? void 0 : c.value,
18989
- label: `${t.t("kg.KgVarConfig.currentLanguage")} \uFF08${(_ = t.locale) == null ? void 0 : _.value}\uFF09`
18990
- }];
19097
+ }, ...localeList.map((g) => ({
19098
+ value: g.event,
19099
+ label: g.text
19100
+ }))];
18991
19101
  switch (!0) {
18992
19102
  case r.isUpdating.value: {
18993
- const d = r.kgSubmit.formModel.value.locale_id;
18994
- d !== ((g = t.locale) == null ? void 0 : g.value) && d !== "ALL" && v.push({
18995
- value: d,
18996
- label: d
19103
+ const g = r.kgSubmit.formModel.value.locale_id;
19104
+ g !== ((c = t.locale) == null ? void 0 : c.value) && g !== "ALL" && _.push({
19105
+ value: g,
19106
+ label: g
18997
19107
  });
18998
19108
  break;
18999
19109
  }
19000
19110
  }
19001
- return o.value = v, !0;
19111
+ return o.value = _, !0;
19002
19112
  }
19003
19113
  }
19004
19114
  break;
@@ -20183,16 +20293,16 @@ const useKgVarStore = defineStore("KgVar", {
20183
20293
  varConfigPossibilities: R,
20184
20294
  varConfigTips: k,
20185
20295
  varProfileConfig: C,
20186
- varProfileMasters: y,
20296
+ varProfileMasters: N,
20187
20297
  varGridConfig: A,
20188
20298
  varGridMasters: V,
20189
20299
  varSubmitConfigs: I,
20190
20300
  varSubmitDetails: O,
20191
- varVariables: L
20301
+ varVariables: K
20192
20302
  } = await GetAll({ params: { frm_id: e } });
20193
- this.varDdaMap.set(e, _ != null ? _ : null), this.varVariableMap.set(e, L != null ? L : []), this.varConfigControlMap.set(e, m != null ? m : []), this.varConfigDescriptionMap.set(e, p != null ? p : []), this.varConfigInputMap.set(e, T != null ? T : []), this.varConfigLookupMap.set(e, E != null ? E : []), this.varConfigPossibilityMap.set(e, transformVarConfigPossibilities(R)), this.varConfigTipMap.set(e, k != null ? k : []), this.varButtonMap.set(e, transformVarButtons(g)), this.varButtonConfigMap.set(e, transformVarButtonConfig(v)), this.varSubmitConfigMap.set(e, transformVarSubmitConfigs(I)), this.varSubmitDetailMap.set(e, transformVarSubmitDetails(O)), this.varProfileConfigMap.set(e, transformVarProfileConfig(C)), this.varProfileMasterMap.set(e, {
20194
- varProfileMasters: transformVarProfileMasterDTOs(y),
20195
- currentVarProfileMasterID: (i = (n = (y == null ? void 0 : y.find((B) => B.id === this.getCurrentVarProfileMasterID(e))) || (y == null ? void 0 : y.find((B) => B.def_flg === 1)) || (y == null ? void 0 : y.find((B) => B.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (y == null ? void 0 : y.find(() => !0))) == null ? void 0 : n.id) != null ? i : null
20303
+ this.varDdaMap.set(e, _ != null ? _ : null), this.varVariableMap.set(e, K != null ? K : []), this.varConfigControlMap.set(e, m != null ? m : []), this.varConfigDescriptionMap.set(e, p != null ? p : []), this.varConfigInputMap.set(e, T != null ? T : []), this.varConfigLookupMap.set(e, E != null ? E : []), this.varConfigPossibilityMap.set(e, transformVarConfigPossibilities(R)), this.varConfigTipMap.set(e, k != null ? k : []), this.varButtonMap.set(e, transformVarButtons(g)), this.varButtonConfigMap.set(e, transformVarButtonConfig(v)), this.varSubmitConfigMap.set(e, transformVarSubmitConfigs(I)), this.varSubmitDetailMap.set(e, transformVarSubmitDetails(O)), this.varProfileConfigMap.set(e, transformVarProfileConfig(C)), this.varProfileMasterMap.set(e, {
20304
+ varProfileMasters: transformVarProfileMasterDTOs(N),
20305
+ currentVarProfileMasterID: (i = (n = (N == null ? void 0 : N.find((B) => B.id === this.getCurrentVarProfileMasterID(e))) || (N == null ? void 0 : N.find((B) => B.def_flg === 1)) || (N == null ? void 0 : N.find((B) => B.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (N == null ? void 0 : N.find(() => !0))) == null ? void 0 : n.id) != null ? i : null
20196
20306
  }), this.varGridConfigMap.set(e, transformVarGridConfig(A)), this.varGridMasterMap.set(e, {
20197
20307
  varGridMasters: transformVarGridMasterDTOs(V),
20198
20308
  currentVarGridMasterID: (s = (l = (V == null ? void 0 : V.find((B) => B.id === this.getCurrentVarGridMasterID(e))) || (V == null ? void 0 : V.find((B) => B.def_flg === 1)) || (V == null ? void 0 : V.find((B) => B.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (V == null ? void 0 : V.find(() => !0))) == null ? void 0 : l.id) != null ? s : null
@@ -20200,14 +20310,14 @@ const useKgVarStore = defineStore("KgVar", {
20200
20310
  this.setCurrentVarGridMasterID(e, this.getCurrentVarGridMasterID(e)),
20201
20311
  this.setCurrentVarProfileMasterID(e, this.getCurrentVarProfileMasterID(e))
20202
20312
  ]);
20203
- const K = uniq(
20313
+ const L = uniq(
20204
20314
  (c = (u = (o = this.getCurrentVarGridDetails(e)) == null ? void 0 : o.map((B) => {
20205
- var F, N, P;
20315
+ var F, y, P;
20206
20316
  const G = KgUtil.tryParseJSON(B.display_type_properties);
20207
- return !((F = G.description) != null && F.codeName) || ((N = G.description) == null ? void 0 : N.isDefer) === !0 ? null : (P = G.description) == null ? void 0 : P.codeName;
20317
+ return !((F = G.description) != null && F.codeName) || ((y = G.description) == null ? void 0 : y.isDefer) === !0 ? null : (P = G.description) == null ? void 0 : P.codeName;
20208
20318
  })) == null ? void 0 : u.filter((B) => !!B)) != null ? c : []
20209
20319
  );
20210
- for (let B of K)
20320
+ for (let B of L)
20211
20321
  r.store.requestDescriptions({ codeName: B });
20212
20322
  this.isRequestedMap.set(e, !0), this.emit(e, "retrieve");
20213
20323
  }
@@ -20544,8 +20654,8 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
20544
20654
  }
20545
20655
  });
20546
20656
  const l = computed(() => i.store.getVarButton(i.formID, e.kgVarName)), s = computed(() => {
20547
- var p, T, E, R, k, C, y, A;
20548
- return isNil(e.kgDisabled) ? !!(i.isCreating.value || i.isUpdating.value || i.isCopying.value || i.isDeleting.value || i.kgTable.isRetrieving.value || ((p = l.value) == null ? void 0 : p.dis_no_select_flg) === 1 && ((E = (T = i.kgTable.selectedRows.value) == null ? void 0 : T.length) != null ? E : 0) === 0 || ((R = l.value) == null ? void 0 : R.dis_mult_select_flg) === 1 && ((C = (k = i.kgTable.selectedRows.value) == null ? void 0 : k.length) != null ? C : 0) > 1 || KgAuthUtil.getPermissionType((y = l.value) == null ? void 0 : y.permission_code) === 2 && !n.p((A = l.value) == null ? void 0 : A.permission_code)) : e.kgDisabled;
20657
+ var p, T, E, R, k, C, N, A;
20658
+ return isNil(e.kgDisabled) ? !!(i.isCreating.value || i.isUpdating.value || i.isCopying.value || i.isDeleting.value || i.kgTable.isRetrieving.value || ((p = l.value) == null ? void 0 : p.dis_no_select_flg) === 1 && ((E = (T = i.kgTable.selectedRows.value) == null ? void 0 : T.length) != null ? E : 0) === 0 || ((R = l.value) == null ? void 0 : R.dis_mult_select_flg) === 1 && ((C = (k = i.kgTable.selectedRows.value) == null ? void 0 : k.length) != null ? C : 0) > 1 || KgAuthUtil.getPermissionType((N = l.value) == null ? void 0 : N.permission_code) === 2 && !n.p((A = l.value) == null ? void 0 : A.permission_code)) : e.kgDisabled;
20549
20659
  }), o = computed(() => !!i.isCreatingRequesting.value);
20550
20660
  async function u() {
20551
20661
  if (e.onKgClick && await e.onKgClick()) {
@@ -21057,7 +21167,7 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
21057
21167
  }
21058
21168
  let u = null;
21059
21169
  const c = async () => {
21060
- var m, p, T, E, R, k, C, y;
21170
+ var m, p, T, E, R, k, C, N;
21061
21171
  u == null || u.showLoading(), a.store.setIsOtherRequesting(a.formID, !0);
21062
21172
  const d = a.kgTable.selectedRows.value;
21063
21173
  try {
@@ -21073,10 +21183,10 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
21073
21183
  });
21074
21184
  if (((C = e.kgButton) == null ? void 0 : C.reload_all_after_done_flg) === 1) {
21075
21185
  let O = !0;
21076
- ((y = e.kgButton) == null ? void 0 : y.re_select_after_reload_flg) !== 0 && (O = !1, a.kgTable.onAfterSearch(async ({
21077
- datas: L
21186
+ ((N = e.kgButton) == null ? void 0 : N.re_select_after_reload_flg) !== 0 && (O = !1, a.kgTable.onAfterSearch(async ({
21187
+ datas: K
21078
21188
  }) => {
21079
- const K = L.value, B = intersectionWith$1(K, d != null ? d : [], (G, F) => (G == null ? void 0 : G[a.kgTable.idKey.value]) === (F == null ? void 0 : F[a.kgTable.idKey.value]));
21189
+ const L = K.value, B = intersectionWith$1(L, d != null ? d : [], (G, F) => (G == null ? void 0 : G[a.kgTable.idKey.value]) === (F == null ? void 0 : F[a.kgTable.idKey.value]));
21080
21190
  return B.length > 0 && a.kgTable.store.setSelectedRows(a.formID, B), !1;
21081
21191
  }, !0)), a.kgSearch.search({
21082
21192
  isSearchFirstPage: O
@@ -21210,8 +21320,8 @@ const KG__DI__KG_VAR__KG_SLOTS = Symbol("KG__DI__KG_VAR__KG_SLOTS"), KG__DI__KG_
21210
21320
  }
21211
21321
  });
21212
21322
  const l = computed(() => i.store.getVarButton(i.formID, e.kgVarName)), s = computed(() => {
21213
- var p, T, E, R, k, C, y, A;
21214
- return isNil(e.kgDisabled) ? !!(i.isCreating.value || i.isUpdating.value || i.isCopying.value || i.isDeleting.value || i.kgTable.isRetrieving.value || ((p = l.value) == null ? void 0 : p.dis_no_select_flg) === 1 && ((E = (T = i.kgTable.selectedRows.value) == null ? void 0 : T.length) != null ? E : 0) === 0 || ((R = l.value) == null ? void 0 : R.dis_mult_select_flg) === 1 && ((C = (k = i.kgTable.selectedRows.value) == null ? void 0 : k.length) != null ? C : 0) > 1 || KgAuthUtil.getPermissionType((y = l.value) == null ? void 0 : y.permission_code) === 2 && !n.p((A = l.value) == null ? void 0 : A.permission_code)) : e.kgDisabled;
21323
+ var p, T, E, R, k, C, N, A;
21324
+ return isNil(e.kgDisabled) ? !!(i.isCreating.value || i.isUpdating.value || i.isCopying.value || i.isDeleting.value || i.kgTable.isRetrieving.value || ((p = l.value) == null ? void 0 : p.dis_no_select_flg) === 1 && ((E = (T = i.kgTable.selectedRows.value) == null ? void 0 : T.length) != null ? E : 0) === 0 || ((R = l.value) == null ? void 0 : R.dis_mult_select_flg) === 1 && ((C = (k = i.kgTable.selectedRows.value) == null ? void 0 : k.length) != null ? C : 0) > 1 || KgAuthUtil.getPermissionType((N = l.value) == null ? void 0 : N.permission_code) === 2 && !n.p((A = l.value) == null ? void 0 : A.permission_code)) : e.kgDisabled;
21215
21325
  }), o = computed(() => !!i.isUpdatingRequesting.value);
21216
21326
  async function u() {
21217
21327
  if (e.onKgClick && await e.onKgClick()) {
@@ -21986,7 +22096,7 @@ const getProps$a = () => ({
21986
22096
  const M = (W = n.kgButton.searchButton.value) == null ? void 0 : W.var_nam, x = n.t(M).value;
21987
22097
  if (!!x && !!M && x !== M)
21988
22098
  return x;
21989
- }), y = computed(() => {
22099
+ }), N = computed(() => {
21990
22100
  var M;
21991
22101
  switch ((M = n.kgButton.searchButton.value) == null ? void 0 : M.primary_flg) {
21992
22102
  case 1:
@@ -22018,7 +22128,7 @@ const getProps$a = () => ({
22018
22128
  default:
22019
22129
  return;
22020
22130
  }
22021
- }), L = computed(() => {
22131
+ }), K = computed(() => {
22022
22132
  switch (n.kgSubmit.searchVarSubmitConfig$Layout.value) {
22023
22133
  case KG__VAR_SUBMIT_CONFIG__LAYOUT.HORIZONTAL:
22024
22134
  switch (n.kgSubmit.searchVarSubmitConfig$LabelColumnUnit.value) {
@@ -22038,7 +22148,7 @@ const getProps$a = () => ({
22038
22148
  }, {
22039
22149
  immediate: !0
22040
22150
  });
22041
- async function K(M = {}) {
22151
+ async function L(M = {}) {
22042
22152
  var x, W;
22043
22153
  if (____DEBUG____(`${n.formID} | KgSearch | onSearch() | \u8FDB\u5165\u65B9\u6CD5.`), n.kgTable.isRetrieving.value) {
22044
22154
  ____DEBUG____(`${n.formID} | KgSearch | onSearch() | \u6B63\u5728\u67E5\u8BE2.`);
@@ -22060,7 +22170,7 @@ const getProps$a = () => ({
22060
22170
  });
22061
22171
  })) : (____DEBUG____(`${n.formID} | KgSearch | onSearch() | \u9690\u85CF\u67E5\u8BE2\u6761\u4EF6\u7EC4\u4EF6.`), await n.kgSearch.store.emit(n.formID, "search", M));
22062
22172
  }
22063
- n.kgSearch.store.setSearchFn(n.formID, K);
22173
+ n.kgSearch.store.setSearchFn(n.formID, L);
22064
22174
  async function B() {
22065
22175
  u(), i.value ? o.value && o.value.validate().then(async () => {
22066
22176
  await n.kgSearch.store.emit(n.formID, "reset", {});
@@ -22072,7 +22182,7 @@ const getProps$a = () => ({
22072
22182
  }
22073
22183
  n.kgSearch.store.setResetFn(n.formID, B);
22074
22184
  function G() {
22075
- return K({
22185
+ return L({
22076
22186
  isSearchFirstPage: !0
22077
22187
  }), Promise.resolve(!0);
22078
22188
  }
@@ -22088,7 +22198,7 @@ const getProps$a = () => ({
22088
22198
  }
22089
22199
  }, [t.KgSearch.left()]), k.value ? createVNode(CaretUpOutlined$1, null, null) : createVNode(CaretDownOutlined$1, null, null), createVNode("span", null, [r.t("kg.KgSearch.title")])]);
22090
22200
  }
22091
- function N() {
22201
+ function y() {
22092
22202
  var M, x, W, z;
22093
22203
  return ((x = (M = n.varProfileMasters.value) == null ? void 0 : M.length) != null ? x : 0) === 0 || ((W = n.varProfileConfig.value) == null ? void 0 : W.show_config_button_flag) === 0 ? null : createVNode(Fragment, null, [createVNode(Select, {
22094
22204
  value: (z = n.currentVarProfileMasterID.value) != null ? z : void 0,
@@ -22119,7 +22229,7 @@ const getProps$a = () => ({
22119
22229
  }
22120
22230
  function P() {
22121
22231
  var M, x, W;
22122
- return createVNode(Fragment, null, [N(), createVNode(Button, {
22232
+ return createVNode(Fragment, null, [y(), createVNode(Button, {
22123
22233
  type: "primary",
22124
22234
  ghost: !p.value,
22125
22235
  disabled: p.value,
@@ -22133,7 +22243,7 @@ const getProps$a = () => ({
22133
22243
  kgIcon: (x = n.kgButton.searchButton.value) == null ? void 0 : x.icon,
22134
22244
  kgText: C.value,
22135
22245
  kgColor: (W = n.kgButton.searchButton.value) == null ? void 0 : W.color,
22136
- kgPrimary: y.value,
22246
+ kgPrimary: N.value,
22137
22247
  kgDisabled: p.value,
22138
22248
  kgLoading: E.value,
22139
22249
  onKgClick: G
@@ -22151,7 +22261,7 @@ const getProps$a = () => ({
22151
22261
  model: (x = n.kgSearch.formModel.value) != null ? x : {},
22152
22262
  layout: n.kgSubmit.searchVarSubmitConfig$Layout.value,
22153
22263
  labelCol: O.value,
22154
- wrapperCol: L.value
22264
+ wrapperCol: K.value
22155
22265
  }, {
22156
22266
  default: () => [createVNode(Row, {
22157
22267
  gutter: 6
@@ -22159,7 +22269,7 @@ const getProps$a = () => ({
22159
22269
  key: W.var_nam,
22160
22270
  kgVarName: W.var_nam,
22161
22271
  kgContext: KG_FORM_CONTEXT.SEARCH,
22162
- onKgSubmit: () => K({
22272
+ onKgSubmit: () => L({
22163
22273
  isSearchFirstPage: !0
22164
22274
  })
22165
22275
  }, null))) ? M : {
@@ -23126,8 +23236,8 @@ const KgWarehouse$1 = "", getProps$9 = () => ({
23126
23236
  customRender: ({
23127
23237
  record: k
23128
23238
  }) => {
23129
- var y;
23130
- return k.whId === ((y = l.value) == null ? void 0 : y.whId) ? createVNode("img", {
23239
+ var N;
23240
+ return k.whId === ((N = l.value) == null ? void 0 : N.whId) ? createVNode("img", {
23131
23241
  src: WAREHOUSE_1890ff
23132
23242
  }, null) : createVNode("img", {
23133
23243
  src: WAREHOUSE_000000
@@ -23137,25 +23247,25 @@ const KgWarehouse$1 = "", getProps$9 = () => ({
23137
23247
  customRender: ({
23138
23248
  record: k
23139
23249
  }) => {
23140
- var y, A, V;
23250
+ var N, A, V;
23141
23251
  const C = k;
23142
- return createVNode("div", null, [createVNode("div", null, [(y = C.whDsc) != null ? y : " ", createTextVNode(" - "), (A = C.whId) != null ? A : " "]), createVNode("div", {
23252
+ return createVNode("div", null, [createVNode("div", null, [(N = C.whDsc) != null ? N : " ", createTextVNode(" - "), (A = C.whId) != null ? A : " "]), createVNode("div", {
23143
23253
  class: "address"
23144
23254
  }, [(V = C.adrnam) != null ? V : " "])]);
23145
23255
  }
23146
23256
  }]), u = ref([]), c = computed(() => {
23147
23257
  var C;
23148
23258
  const k = (C = i.value) == null ? void 0 : C.toUpperCase();
23149
- return u.value.filter((y) => {
23150
- var A, V, I, O, L, K;
23151
- return ((V = (A = y.whDsc) == null ? void 0 : A.toUpperCase()) == null ? void 0 : V.includes(k)) || ((O = (I = y.whId) == null ? void 0 : I.toUpperCase()) == null ? void 0 : O.includes(k)) || ((K = (L = y.adrId) == null ? void 0 : L.toUpperCase()) == null ? void 0 : K.includes(k));
23259
+ return u.value.filter((N) => {
23260
+ var A, V, I, O, K, L;
23261
+ return ((V = (A = N.whDsc) == null ? void 0 : A.toUpperCase()) == null ? void 0 : V.includes(k)) || ((O = (I = N.whId) == null ? void 0 : I.toUpperCase()) == null ? void 0 : O.includes(k)) || ((L = (K = N.adrId) == null ? void 0 : K.toUpperCase()) == null ? void 0 : L.includes(k));
23152
23262
  });
23153
23263
  }), _ = computed(() => {
23154
23264
  var k;
23155
23265
  return ((k = a.option.value.KgWarehouse) == null ? void 0 : k.on) !== !1;
23156
23266
  }), g = computed(() => {
23157
- var k, C, y, A;
23158
- return (A = (y = (C = (k = a.store).getUseUserStore) == null ? void 0 : C.call(k)) == null ? void 0 : y.getUserWarehouses) != null ? A : [];
23267
+ var k, C, N, A;
23268
+ return (A = (N = (C = (k = a.store).getUseUserStore) == null ? void 0 : C.call(k)) == null ? void 0 : N.getUserWarehouses) != null ? A : [];
23159
23269
  });
23160
23270
  watch(r.visible, (k) => {
23161
23271
  !_.value || (k ? d() : m());
@@ -23199,8 +23309,8 @@ const KgWarehouse$1 = "", getProps$9 = () => ({
23199
23309
  }
23200
23310
  });
23201
23311
  u.value = (k != null ? k : []).filter((C) => {
23202
- var y;
23203
- return KgAuthUtil.isAdminUser() ? !0 : (y = g.value) == null ? void 0 : y.find((A) => A.wh_id === C.whId);
23312
+ var N;
23313
+ return KgAuthUtil.isAdminUser() ? !0 : (N = g.value) == null ? void 0 : N.find((A) => A.wh_id === C.whId);
23204
23314
  });
23205
23315
  } catch (k) {
23206
23316
  console.error(k);
@@ -23209,10 +23319,10 @@ const KgWarehouse$1 = "", getProps$9 = () => ({
23209
23319
  }
23210
23320
  }
23211
23321
  function E(k, C) {
23212
- var y;
23322
+ var N;
23213
23323
  switch (k.detail) {
23214
23324
  case 1:
23215
- ((y = l.value) == null ? void 0 : y.whId) === C.whId ? l.value = null : l.value = C;
23325
+ ((N = l.value) == null ? void 0 : N.whId) === C.whId ? l.value = null : l.value = C;
23216
23326
  break;
23217
23327
  case 2:
23218
23328
  l.value = C, p();
@@ -23271,7 +23381,7 @@ const KgWarehouse$1 = "", getProps$9 = () => ({
23271
23381
  var C;
23272
23382
  return {
23273
23383
  class: k.whId === ((C = l.value) == null ? void 0 : C.whId) ? "selected" : "",
23274
- onClick: (y) => E(y, k)
23384
+ onClick: (N) => E(N, k)
23275
23385
  };
23276
23386
  }
23277
23387
  }, null)]
@@ -23341,7 +23451,7 @@ function httpClient() {
23341
23451
  throw new Error("\u53C2\u6570 options.dynamicQueryOperators \u4E0D\u4E3A\u7A7A, \u6240\u4EE5\u53C2\u6570 options.dayjs \u4E5F\u4E0D\u80FD\u4E3A\u7A7A.");
23342
23452
  let T = {};
23343
23453
  n.method === "GET" || n.method === "POST" && !n.data && n.params ? T = n.params : n.method === "POST" && n.data && (T = n.data);
23344
- const { sql: E, whereSql: R, orderBySql: k, offsetSql: C, operatorJSON: y } = KgVarUtil.getQueryHeaders({
23454
+ const { sql: E, whereSql: R, orderBySql: k, offsetSql: C, operatorJSON: N } = KgVarUtil.getQueryHeaders({
23345
23455
  $dayjs: i == null ? void 0 : i.dayjs,
23346
23456
  dynamicQueryOperatorModel: i == null ? void 0 : i.dynamicQueryOperatorModel,
23347
23457
  formID: null,
@@ -23352,7 +23462,7 @@ function httpClient() {
23352
23462
  ...(v = n.headers) != null ? v : {},
23353
23463
  [s]: !0,
23354
23464
  [c]: C,
23355
- [g]: y,
23465
+ [g]: N,
23356
23466
  [u]: k,
23357
23467
  [_]: E,
23358
23468
  [o]: R
@@ -23967,17 +24077,17 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23967
24077
  r.value = O != null ? O : [];
23968
24078
  }
23969
24079
  function g(O) {
23970
- n.value.frmId = O != null ? O : "", n.value.varButtons.forEach((L) => L.frm_id = O), n.value.varVariables.forEach((L) => L.frm_id = O), n.value.varDda.frm_id = O != null ? O : "", n.value.varGridConfig.frm_id = O != null ? O : "", n.value.varGridDetails.forEach((L) => L.frm_id = O), n.value.varGridMaster.frm_id = O != null ? O : "", n.value.varProfileConfig.frm_id = O != null ? O : "", n.value.varProfileDetails.forEach((L) => L.frm_id = O), n.value.varProfileMaster.frm_id = O != null ? O : "", n.value.varSubmitConfigs.forEach((L) => L.frm_id = O), n.value.varSubmitDetails.forEach((L) => L.frm_id = O), n.value.varConfigDescriptions.forEach((L) => L.frm_id = O);
24080
+ n.value.frmId = O != null ? O : "", n.value.varButtons.forEach((K) => K.frm_id = O), n.value.varVariables.forEach((K) => K.frm_id = O), n.value.varDda.frm_id = O != null ? O : "", n.value.varGridConfig.frm_id = O != null ? O : "", n.value.varGridDetails.forEach((K) => K.frm_id = O), n.value.varGridMaster.frm_id = O != null ? O : "", n.value.varProfileConfig.frm_id = O != null ? O : "", n.value.varProfileDetails.forEach((K) => K.frm_id = O), n.value.varProfileMaster.frm_id = O != null ? O : "", n.value.varSubmitConfigs.forEach((K) => K.frm_id = O), n.value.varSubmitDetails.forEach((K) => K.frm_id = O), n.value.varConfigDescriptions.forEach((K) => K.frm_id = O);
23971
24081
  }
23972
24082
  function v(O) {
23973
- const { properties: L = {} } = O;
23974
- Object.entries(L).forEach(([K, B]) => {
23975
- K in n.value.sysPermissions[0] && n.value.sysPermissions[0][K] !== B && (n.value.sysPermissions[0][K] = B);
24083
+ const { properties: K = {} } = O;
24084
+ Object.entries(K).forEach(([L, B]) => {
24085
+ L in n.value.sysPermissions[0] && n.value.sysPermissions[0][L] !== B && (n.value.sysPermissions[0][L] = B);
23976
24086
  });
23977
24087
  }
23978
24088
  function d(O) {
23979
- const { formID: L, frmNam: K } = O;
23980
- n.value.varDda.frm_id = L, n.value.varDda.frm_nam = K;
24089
+ const { formID: K, frmNam: L } = O;
24090
+ n.value.varDda.frm_id = K, n.value.varDda.frm_nam = L;
23981
24091
  }
23982
24092
  function m(O) {
23983
24093
  n.value.varButtons = [
@@ -24006,32 +24116,32 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
24006
24116
  ], V();
24007
24117
  }
24008
24118
  function p(O) {
24009
- const { varName: L, properties: K = {} } = O, B = n.value.varButtons.find((N) => N.var_nam === L);
24119
+ const { varName: K, properties: L = {} } = O, B = n.value.varButtons.find((y) => y.var_nam === K);
24010
24120
  if (!B)
24011
24121
  return;
24012
24122
  let G = !1;
24013
- if (Object.entries(K).forEach(([N, P]) => {
24014
- N in B && B[N] !== P && (B[N] = P, G = !0);
24123
+ if (Object.entries(L).forEach(([y, P]) => {
24124
+ y in B && B[y] !== P && (B[y] = P, G = !0);
24015
24125
  }), !G)
24016
24126
  return;
24017
24127
  const F = [...n.value.varButtons];
24018
24128
  F.splice(n.value.varButtons.indexOf(B), 1, { ...B }), n.value.varButtons = toRaw(F);
24019
24129
  }
24020
24130
  function T(O) {
24021
- const { varName: L } = O, K = n.value.varButtons.find((G) => G.var_nam === L);
24022
- if (!K)
24131
+ const { varName: K } = O, L = n.value.varButtons.find((G) => G.var_nam === K);
24132
+ if (!L)
24023
24133
  return;
24024
24134
  const B = [...n.value.varButtons];
24025
- B.splice(n.value.varButtons.indexOf(K), 1), n.value.varButtons = toRaw(B);
24135
+ B.splice(n.value.varButtons.indexOf(L), 1), n.value.varButtons = toRaw(B);
24026
24136
  }
24027
24137
  function E(O) {
24028
24138
  var G;
24029
- const { varName: L, varText: K } = O;
24030
- if (!L)
24139
+ const { varName: K, varText: L } = O;
24140
+ if (!K)
24031
24141
  return;
24032
- const B = n.value.varConfigDescriptions.find((F) => F.var_nam === L);
24142
+ const B = n.value.varConfigDescriptions.find((F) => F.var_nam === K);
24033
24143
  if (B) {
24034
- B.var_text = K || L;
24144
+ B.var_text = L || K;
24035
24145
  return;
24036
24146
  }
24037
24147
  n.value.varConfigDescriptions = [
@@ -24041,28 +24151,28 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
24041
24151
  frm_id: o.value,
24042
24152
  grp_nam: "WMS",
24043
24153
  locale_id: (G = e.locale) == null ? void 0 : G.value,
24044
- var_nam: L,
24045
- var_text: K || L
24154
+ var_nam: K,
24155
+ var_text: L || K
24046
24156
  }
24047
24157
  ];
24048
24158
  }
24049
24159
  function R(O) {
24050
- n.value.varProfileDetails = O.map((L) => ({
24051
- ...L,
24160
+ n.value.varProfileDetails = O.map((K) => ({
24161
+ ...K,
24052
24162
  frm_id: o.value,
24053
24163
  grp_nam: "WMS"
24054
24164
  }));
24055
24165
  }
24056
24166
  function k(O) {
24057
- n.value.varGridDetails = O.map((L) => ({
24058
- ...L,
24167
+ n.value.varGridDetails = O.map((K) => ({
24168
+ ...K,
24059
24169
  frm_id: o.value,
24060
24170
  grp_nam: "WMS"
24061
24171
  }));
24062
24172
  }
24063
24173
  function C(O) {
24064
- n.value.varSubmitDetails = O.map((L) => ({
24065
- ...L,
24174
+ n.value.varSubmitDetails = O.map((K) => ({
24175
+ ...K,
24066
24176
  cust_lvl: KG_CUSTOM_LEVEL.L0,
24067
24177
  enable_flag: 1,
24068
24178
  frm_id: o.value,
@@ -24070,9 +24180,9 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
24070
24180
  visible_flag: 1
24071
24181
  }));
24072
24182
  }
24073
- function y(O) {
24074
- var L, K, B;
24075
- return O && (B = (K = (L = n.value.varConfigDescriptions) == null ? void 0 : L.find((G) => G.var_nam === O)) == null ? void 0 : K.var_text) != null ? B : "";
24183
+ function N(O) {
24184
+ var K, L, B;
24185
+ return O && (B = (L = (K = n.value.varConfigDescriptions) == null ? void 0 : K.find((G) => G.var_nam === O)) == null ? void 0 : L.var_text) != null ? B : "";
24076
24186
  }
24077
24187
  function A() {
24078
24188
  var O;
@@ -24161,16 +24271,16 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
24161
24271
  }
24162
24272
  function V() {
24163
24273
  var O;
24164
- (O = n.value.varButtons) == null || O.forEach((L) => {
24165
- var K, B;
24166
- L.typDsc = (B = (K = t.value.find((G) => G.codval === L.typ)) == null ? void 0 : K.shortDsc) != null ? B : "";
24274
+ (O = n.value.varButtons) == null || O.forEach((K) => {
24275
+ var L, B;
24276
+ K.typDsc = (B = (L = t.value.find((G) => G.codval === K.typ)) == null ? void 0 : L.shortDsc) != null ? B : "";
24167
24277
  });
24168
24278
  }
24169
24279
  async function I() {
24170
- var L;
24280
+ var K;
24171
24281
  const { records: O } = await List$1({
24172
24282
  params: {
24173
- localeId: (L = e.locale) == null ? void 0 : L.value,
24283
+ localeId: (K = e.locale) == null ? void 0 : K.value,
24174
24284
  codnam: "var_button_type",
24175
24285
  pageNo: 1,
24176
24286
  pageSize: 999
@@ -24188,7 +24298,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
24188
24298
  getIsLoading: i,
24189
24299
  getResultSetMetadataColumns: l,
24190
24300
  getVarButtons: u,
24191
- getVarText: y,
24301
+ getVarText: N,
24192
24302
  initCreateVarDdaQuery: A,
24193
24303
  isLoading: a,
24194
24304
  patchSysPermission: v,
@@ -25027,9 +25137,9 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25027
25137
  onItemSelectAll: E,
25028
25138
  onItemSelect: R
25029
25139
  }) => {
25030
- const k = m.sort((C, y) => {
25140
+ const k = m.sort((C, N) => {
25031
25141
  var A, V;
25032
- return ((A = C.srtseq) != null ? A : 0) - ((V = y.srtseq) != null ? V : 0);
25142
+ return ((A = C.srtseq) != null ? A : 0) - ((V = N.srtseq) != null ? V : 0);
25033
25143
  });
25034
25144
  return d === "right" && (l.value = k, k.find((C) => C.id === __KG__CREATE_ROW_ID__) || k.push({
25035
25145
  id: __KG__CREATE_ROW_ID__,
@@ -25269,9 +25379,9 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25269
25379
  onItemSelectAll: E,
25270
25380
  onItemSelect: R
25271
25381
  }) => {
25272
- const k = m.sort((C, y) => {
25382
+ const k = m.sort((C, N) => {
25273
25383
  var A, V;
25274
- return ((A = C.srtseq) != null ? A : 0) - ((V = y.srtseq) != null ? V : 0);
25384
+ return ((A = C.srtseq) != null ? A : 0) - ((V = N.srtseq) != null ? V : 0);
25275
25385
  });
25276
25386
  return d === "right" && (l.value = k, k.find((C) => C.id === __KG__CREATE_ROW_ID__) || k.push({
25277
25387
  id: __KG__CREATE_ROW_ID__,
@@ -25510,9 +25620,9 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25510
25620
  onItemSelectAll: E,
25511
25621
  onItemSelect: R
25512
25622
  }) => {
25513
- const k = m.sort((C, y) => {
25623
+ const k = m.sort((C, N) => {
25514
25624
  var A, V;
25515
- return ((A = C.srtseq) != null ? A : 0) - ((V = y.srtseq) != null ? V : 0);
25625
+ return ((A = C.srtseq) != null ? A : 0) - ((V = N.srtseq) != null ? V : 0);
25516
25626
  });
25517
25627
  return d === "right" && (l.value = k, k.find((C) => C.id === __KG__CREATE_ROW_ID__) || k.push({
25518
25628
  id: __KG__CREATE_ROW_ID__,
@@ -25561,7 +25671,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25561
25671
  n.value !== 1 && (n.value -= 1);
25562
25672
  }
25563
25673
  async function T() {
25564
- var k, C, y, A, V;
25674
+ var k, C, N, A, V;
25565
25675
  switch (n.value) {
25566
25676
  case 1:
25567
25677
  try {
@@ -25577,7 +25687,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25577
25687
  break;
25578
25688
  case 3:
25579
25689
  try {
25580
- await ((y = g.value) == null ? void 0 : y.onSubmit()), n.value += 1;
25690
+ await ((N = g.value) == null ? void 0 : N.onSubmit()), n.value += 1;
25581
25691
  } catch {
25582
25692
  }
25583
25693
  break;
@@ -25599,21 +25709,21 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25599
25709
  var k;
25600
25710
  try {
25601
25711
  await ((k = m.value) == null ? void 0 : k.onSubmit());
25602
- const C = cloneDeep(toRaw(r.getCreateVarDdaQuery)), y = uniq(compact([...C.varButtons.map((A) => A.var_nam), ...C.varGridDetails.map((A) => A.var_nam), ...C.varProfileDetails.map((A) => A.var_nam), ...C.varSubmitDetails.map((A) => A.var_nam), C.varGridMaster.grd_var_nam, C.varProfileMaster.prf_var_nam]));
25603
- C.varVariables = y.map((A) => new VarVariable({
25712
+ const C = cloneDeep(toRaw(r.getCreateVarDdaQuery)), N = uniq(compact([...C.varButtons.map((A) => A.var_nam), ...C.varGridDetails.map((A) => A.var_nam), ...C.varProfileDetails.map((A) => A.var_nam), ...C.varSubmitDetails.map((A) => A.var_nam), C.varGridMaster.grd_var_nam, C.varProfileMaster.prf_var_nam]));
25713
+ C.varVariables = N.map((A) => new VarVariable({
25604
25714
  frm_id: C.frmId,
25605
25715
  var_nam: A,
25606
25716
  grp_nam: "WMS"
25607
- })), C.varConfigDescriptions = toRaw(C.varConfigDescriptions.filter((A) => y.includes(A.var_nam))), C.varButtons.forEach((A, V) => {
25608
- var I, O, L;
25717
+ })), C.varConfigDescriptions = toRaw(C.varConfigDescriptions.filter((A) => N.includes(A.var_nam))), C.varButtons.forEach((A, V) => {
25718
+ var I, O, K;
25609
25719
  delete A.id, C.sysPermissions.push({
25610
25720
  app: "WEB",
25611
25721
  delFlag: 0,
25612
25722
  leaf: !0,
25613
25723
  menuType: 2,
25614
- name: (O = (I = C.varConfigDescriptions.find((K) => K.var_nam === A.var_nam)) == null ? void 0 : I.var_text) != null ? O : "",
25724
+ name: (O = (I = C.varConfigDescriptions.find((L) => L.var_nam === A.var_nam)) == null ? void 0 : I.var_text) != null ? O : "",
25615
25725
  parentId: "",
25616
- perms: (L = A.permission_code) != null ? L : "",
25726
+ perms: (K = A.permission_code) != null ? K : "",
25617
25727
  permsType: "0",
25618
25728
  route: !1,
25619
25729
  sortNo: V + 1,
@@ -25622,8 +25732,8 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25622
25732
  button_var_name: A.var_nam,
25623
25733
  cust_lvl: KG_CUSTOM_LEVEL.L0,
25624
25734
  frm_id: C.frmId
25625
- }), A.typ !== KG__VAR_BUTTON__TYPE.DELETE && C.varSubmitDetails.push(...C.varSubmitDetails.filter((K) => !K.button_var_name).map((K) => ({
25626
- ...K,
25735
+ }), A.typ !== KG__VAR_BUTTON__TYPE.DELETE && C.varSubmitDetails.push(...C.varSubmitDetails.filter((L) => !L.button_var_name).map((L) => ({
25736
+ ...L,
25627
25737
  button_var_name: A.var_nam
25628
25738
  }))));
25629
25739
  }), C.varSubmitDetails = C.varSubmitDetails.filter((A) => !!A.button_var_name), await Create({
@@ -25860,18 +25970,35 @@ function KG_ROUTES(e) {
25860
25970
  ];
25861
25971
  }
25862
25972
  export {
25973
+ APP_DARK_MODE_KEY_,
25974
+ APP_LOCAL_CACHE_KEY,
25975
+ APP_PRESET_COLOR_LIST,
25976
+ APP_SESSION_CACHE_KEY,
25977
+ CacheTypeEnum,
25978
+ CompTypeEnum,
25979
+ ConfigEnum,
25980
+ ContentEnum,
25981
+ ContentTypeEnum,
25863
25982
  CreateVarDdaQuery,
25864
25983
  CreateVarGridMasterQuery,
25865
25984
  CreateVarProfileMasterQuery,
25985
+ DB_DICT_DATA_KEY,
25986
+ DEFAULT_CACHE_TIME,
25987
+ DateTypeEnum,
25866
25988
  Description,
25867
25989
  DescriptionBatchQuery,
25990
+ ErrorTypeEnum,
25991
+ ExceptionEnum,
25868
25992
  FOMR_ITEM_MARGIN,
25869
25993
  FOMR_ITEM_WIDTH,
25870
25994
  FOMR_PADDING_RIGHT,
25871
25995
  FORM_PADDING_LEFT,
25872
25996
  GetResultSetMetadataFromSqlQuery$1 as GetResultSetMetadataFromSqlQuery,
25997
+ HEADER_PRESET_BG_COLOR_LIST,
25873
25998
  I18N,
25874
25999
  IPage,
26000
+ JDragConfigEnum,
26001
+ JInputTypeEnum,
25875
26002
  api as KG_API,
25876
26003
  KG_APP,
25877
26004
  KG_APPS,
@@ -25943,16 +26070,49 @@ export {
25943
26070
  KgVarUtil,
25944
26071
  KgWarehouse,
25945
26072
  KgYesOrNo,
26073
+ LOCALE,
26074
+ LOCALE_KEY,
26075
+ LOCK_INFO_KEY,
26076
+ LOGIN_INFO_KEY,
26077
+ MULTIPLE_TABS_KEY,
26078
+ MenuModeEnum,
26079
+ MenuSplitTyeEnum,
26080
+ MenuTypeEnum,
26081
+ MixSidebarTriggerEnum,
26082
+ PROJ_CFG_KEY,
26083
+ PageEnum,
26084
+ PermissionModeEnum,
26085
+ ROLES_KEY,
26086
+ RequestEnum,
26087
+ ResultEnum,
25946
26088
  ResultSetMetadataColumn,
25947
26089
  ResultSetMetadataFromSqlDTO,
26090
+ RoleEnum,
26091
+ RouterTransitionEnum,
26092
+ SIDE_BAR_BG_COLOR_LIST,
26093
+ SIDE_BAR_MINI_WIDTH,
26094
+ SIDE_BAR_SHOW_TIT_MINI_WIDTH,
25948
26095
  SUBMIT_DEFAULT_LABEL_COL_FOR_PX,
25949
26096
  SUBMIT_DEFAULT_LABEL_COL_FOR_SPAN,
25950
26097
  SUBMIT_DEFAULT_LAYOUT,
25951
26098
  SUBMIT_DEFAULT_MIN_WIDTH,
25952
26099
  SUBMIT_DEFAULT_WIDTH,
26100
+ ScreenSizeEnum,
26101
+ SessionTimeoutProcessingEnum,
26102
+ SettingButtonPositionEnum,
26103
+ SizeEnum,
26104
+ SizeNumberEnum,
25953
26105
  SysPermission,
25954
26106
  SysPermissionTree,
25955
26107
  SysUserWarehouseDTO,
26108
+ TENANT_ID,
26109
+ TOKEN_KEY,
26110
+ TabsThemeEnum,
26111
+ ThemeEnum,
26112
+ TopMenuAlignEnum,
26113
+ TriggerEnum,
26114
+ USER_INFO_KEY,
26115
+ USER_WAREHOUSE_KEY,
25956
26116
  UpdateVarGridMasterQuery,
25957
26117
  ValidateFrmIdQuery$1 as ValidateFrmIdQuery,
25958
26118
  ValidateSqlQuery,
@@ -25985,17 +26145,28 @@ export {
25985
26145
  ____ERROR____,
25986
26146
  ____INFO_____,
25987
26147
  ____WARN_____,
26148
+ cacheCipher,
26149
+ componentSetting,
25988
26150
  createKgWarehouseGuard,
26151
+ darkMode,
26152
+ enableStorageEncryption,
25989
26153
  getKgModalWidth,
25990
26154
  getPinia,
25991
26155
  getRowWidth,
25992
26156
  httpClient,
25993
26157
  keys,
25994
26158
  kgSetupHttpClient,
26159
+ localeList,
26160
+ localeSetting,
26161
+ prefixCls,
26162
+ screenEnum,
26163
+ screenMap,
25995
26164
  setPinia,
25996
26165
  setup,
25997
26166
  setupHttpClient,
25998
26167
  setupKgStore,
26168
+ sizeEnum,
26169
+ sizeMap,
25999
26170
  useKg,
26000
26171
  useKgAppSelect,
26001
26172
  useKgAppSelectStore,