@kengic/vue 0.19.2-beta.7 → 0.19.2-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2936,7 +2936,7 @@ const emptyIcon = {
2936
2936
  ...t.data
2937
2937
  }, r);
2938
2938
  }
2939
- }), version = "0.19.2-beta.7";
2939
+ }), version = "0.19.2-beta.8";
2940
2940
  var isVue2 = !1;
2941
2941
  function set(e, t, r) {
2942
2942
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, r), r) : (e[t] = r, r);
@@ -3166,11 +3166,11 @@ function createSetupStore(e, t, r = {}, a, n) {
3166
3166
  function T(D, R) {
3167
3167
  return function() {
3168
3168
  setActivePinia(a);
3169
- const w = Array.from(arguments), N = [], O = [];
3169
+ const w = Array.from(arguments), P = [], O = [];
3170
3170
  function V(K) {
3171
- N.push(K);
3171
+ P.push(K);
3172
3172
  }
3173
- function P(K) {
3173
+ function N(K) {
3174
3174
  O.push(K);
3175
3175
  }
3176
3176
  triggerSubscriptions(b, {
@@ -3178,7 +3178,7 @@ function createSetupStore(e, t, r = {}, a, n) {
3178
3178
  name: D,
3179
3179
  store: C,
3180
3180
  after: V,
3181
- onError: P
3181
+ onError: N
3182
3182
  });
3183
3183
  let M;
3184
3184
  try {
@@ -3186,7 +3186,7 @@ function createSetupStore(e, t, r = {}, a, n) {
3186
3186
  } catch (K) {
3187
3187
  throw triggerSubscriptions(O, K), K;
3188
3188
  }
3189
- return M instanceof Promise ? M.then((K) => (triggerSubscriptions(N, K), K)).catch((K) => (triggerSubscriptions(O, K), Promise.reject(K))) : (triggerSubscriptions(N, M), M);
3189
+ return M instanceof Promise ? M.then((K) => (triggerSubscriptions(P, K), K)).catch((K) => (triggerSubscriptions(O, K), Promise.reject(K))) : (triggerSubscriptions(P, M), M);
3190
3190
  };
3191
3191
  }
3192
3192
  const k = /* @__PURE__ */ markRaw({
@@ -3201,7 +3201,7 @@ function createSetupStore(e, t, r = {}, a, n) {
3201
3201
  $patch: _,
3202
3202
  $reset: y,
3203
3203
  $subscribe(D, R = {}) {
3204
- const w = addSubscription(d, D, R.detached, () => N()), N = s.run(() => watch(() => a.state.value[e], (O) => {
3204
+ const w = addSubscription(d, D, R.detached, () => P()), P = s.run(() => watch(() => a.state.value[e], (O) => {
3205
3205
  (R.flush === "sync" ? u : c) && D({
3206
3206
  storeId: e,
3207
3207
  type: MutationType.direct,
@@ -3243,8 +3243,8 @@ function createSetupStore(e, t, r = {}, a, n) {
3243
3243
  C._hotUpdate = markRaw((R) => {
3244
3244
  C._hotUpdating = !0, R._hmrPayload.state.forEach((w) => {
3245
3245
  if (w in C.$state) {
3246
- const N = R.$state[w], O = C.$state[w];
3247
- typeof N == "object" && isPlainObject(N) && isPlainObject(O) ? patchObject(N, O) : R.$state[w] = O;
3246
+ const P = R.$state[w], O = C.$state[w];
3247
+ typeof P == "object" && isPlainObject(P) && isPlainObject(O) ? patchObject(P, O) : R.$state[w] = O;
3248
3248
  }
3249
3249
  set(C, w, toRef(R.$state, w));
3250
3250
  }), Object.keys(C.$state).forEach((w) => {
@@ -3253,11 +3253,11 @@ function createSetupStore(e, t, r = {}, a, n) {
3253
3253
  c = !0;
3254
3254
  });
3255
3255
  for (const w in R._hmrPayload.actions) {
3256
- const N = R[w];
3257
- set(C, w, T(w, N));
3256
+ const P = R[w];
3257
+ set(C, w, T(w, P));
3258
3258
  }
3259
3259
  for (const w in R._hmrPayload.getters) {
3260
- const N = R._hmrPayload.getters[w], O = i ? computed(() => (setActivePinia(a), N.call(C, C))) : N;
3260
+ const P = R._hmrPayload.getters[w], O = i ? computed(() => (setActivePinia(a), P.call(C, C))) : P;
3261
3261
  set(C, w, O);
3262
3262
  }
3263
3263
  Object.keys(C._hmrPayload.getters).forEach((w) => {
@@ -5314,7 +5314,7 @@ class KgRouteUtil {
5314
5314
  }), t;
5315
5315
  }
5316
5316
  static transformMenus(t) {
5317
- var b, E, g, v, _, y, m, T, k, A, C, I, D, R, w, N, O, V, P, M, K, L, B, U, F, x, q, Q, Z, ae, te, se, ue, le;
5317
+ var b, E, g, v, _, y, m, T, k, A, C, I, D, R, w, P, O, V, N, M, K, L, B, U, F, x, q, Q, Z, ae, te, se, ue, le;
5318
5318
  if (!t)
5319
5319
  return [];
5320
5320
  const r = useKg(), a = (X) => {
@@ -5375,7 +5375,7 @@ class KgRouteUtil {
5375
5375
  id: KG_TMP_MENU_ID__WCS,
5376
5376
  key: KG_TMP_MENU_ID__WCS,
5377
5377
  name: (R = (D = r.option.value.appTitle) == null ? void 0 : D[KG_APP.WCS]) != null ? R : "WCS",
5378
- slotTitle: (N = (w = r.option.value.appTitle) == null ? void 0 : w[KG_APP.WCS]) != null ? N : "WCS",
5378
+ slotTitle: (P = (w = r.option.value.appTitle) == null ? void 0 : w[KG_APP.WCS]) != null ? P : "WCS",
5379
5379
  sortNo: 3,
5380
5380
  title: (V = (O = r.option.value.appTitle) == null ? void 0 : O[KG_APP.WCS]) != null ? V : "WCS",
5381
5381
  ...n,
@@ -5384,7 +5384,7 @@ class KgRouteUtil {
5384
5384
  }, l = {
5385
5385
  id: KG_TMP_MENU_ID__SYS,
5386
5386
  key: KG_TMP_MENU_ID__SYS,
5387
- title: (M = (P = r.option.value.appTitle) == null ? void 0 : P[KG_APP.SYS]) != null ? M : "\u7CFB\u7EDF\u914D\u7F6E",
5387
+ title: (M = (N = r.option.value.appTitle) == null ? void 0 : N[KG_APP.SYS]) != null ? M : "\u7CFB\u7EDF\u914D\u7F6E",
5388
5388
  name: (L = (K = r.option.value.appTitle) == null ? void 0 : K[KG_APP.SYS]) != null ? L : "\u7CFB\u7EDF\u914D\u7F6E",
5389
5389
  slotTitle: (U = (B = r.option.value.appTitle) == null ? void 0 : B[KG_APP.SYS]) != null ? U : "\u7CFB\u7EDF\u914D\u7F6E",
5390
5390
  sortNo: 4,
@@ -5517,31 +5517,31 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5517
5517
  (function(r, a) {
5518
5518
  e.exports = a();
5519
5519
  })(commonjsGlobal, function() {
5520
- var r = 1e3, a = 6e4, n = 36e5, s = "millisecond", i = "second", o = "minute", l = "hour", c = "day", u = "week", d = "month", b = "quarter", E = "year", g = "date", v = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|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, m = { 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(P) {
5521
- var M = ["th", "st", "nd", "rd"], K = P % 100;
5522
- return "[" + P + (M[(K - 20) % 10] || M[K] || M[0]) + "]";
5523
- } }, T = function(P, M, K) {
5524
- var L = String(P);
5525
- return !L || L.length >= M ? P : "" + Array(M + 1 - L.length).join(K) + P;
5526
- }, k = { s: T, z: function(P) {
5527
- var M = -P.utcOffset(), K = Math.abs(M), L = Math.floor(K / 60), B = K % 60;
5520
+ var r = 1e3, a = 6e4, n = 36e5, s = "millisecond", i = "second", o = "minute", l = "hour", c = "day", u = "week", d = "month", b = "quarter", E = "year", g = "date", v = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|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, m = { 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(N) {
5521
+ var M = ["th", "st", "nd", "rd"], K = N % 100;
5522
+ return "[" + N + (M[(K - 20) % 10] || M[K] || M[0]) + "]";
5523
+ } }, T = function(N, M, K) {
5524
+ var L = String(N);
5525
+ return !L || L.length >= M ? N : "" + Array(M + 1 - L.length).join(K) + N;
5526
+ }, k = { s: T, z: function(N) {
5527
+ var M = -N.utcOffset(), K = Math.abs(M), L = Math.floor(K / 60), B = K % 60;
5528
5528
  return (M <= 0 ? "+" : "-") + T(L, 2, "0") + ":" + T(B, 2, "0");
5529
- }, m: function P(M, K) {
5529
+ }, m: function N(M, K) {
5530
5530
  if (M.date() < K.date())
5531
- return -P(K, M);
5531
+ return -N(K, M);
5532
5532
  var L = 12 * (K.year() - M.year()) + (K.month() - M.month()), B = M.clone().add(L, d), U = K - B < 0, F = M.clone().add(L + (U ? -1 : 1), d);
5533
5533
  return +(-(L + (K - B) / (U ? B - F : F - B)) || 0);
5534
- }, a: function(P) {
5535
- return P < 0 ? Math.ceil(P) || 0 : Math.floor(P);
5536
- }, p: function(P) {
5537
- return { M: d, y: E, w: u, d: c, D: g, h: l, m: o, s: i, ms: s, Q: b }[P] || String(P || "").toLowerCase().replace(/s$/, "");
5538
- }, u: function(P) {
5539
- return P === void 0;
5534
+ }, a: function(N) {
5535
+ return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
5536
+ }, p: function(N) {
5537
+ return { M: d, y: E, w: u, d: c, D: g, h: l, m: o, s: i, ms: s, Q: b }[N] || String(N || "").toLowerCase().replace(/s$/, "");
5538
+ }, u: function(N) {
5539
+ return N === void 0;
5540
5540
  } }, A = "en", C = {};
5541
5541
  C[A] = m;
5542
- var I = "$isDayjsObject", D = function(P) {
5543
- return P instanceof O || !(!P || !P[I]);
5544
- }, R = function P(M, K, L) {
5542
+ var I = "$isDayjsObject", D = function(N) {
5543
+ return N instanceof O || !(!N || !N[I]);
5544
+ }, R = function N(M, K, L) {
5545
5545
  var B;
5546
5546
  if (!M)
5547
5547
  return A;
@@ -5550,32 +5550,32 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5550
5550
  C[U] && (B = U), K && (C[U] = K, B = U);
5551
5551
  var F = M.split("-");
5552
5552
  if (!B && F.length > 1)
5553
- return P(F[0]);
5553
+ return N(F[0]);
5554
5554
  } else {
5555
5555
  var x = M.name;
5556
5556
  C[x] = M, B = x;
5557
5557
  }
5558
5558
  return !L && B && (A = B), B || !L && A;
5559
- }, w = function(P, M) {
5560
- if (D(P))
5561
- return P.clone();
5559
+ }, w = function(N, M) {
5560
+ if (D(N))
5561
+ return N.clone();
5562
5562
  var K = typeof M == "object" ? M : {};
5563
- return K.date = P, K.args = arguments, new O(K);
5564
- }, N = k;
5565
- N.l = R, N.i = D, N.w = function(P, M) {
5566
- return w(P, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
5563
+ return K.date = N, K.args = arguments, new O(K);
5564
+ }, P = k;
5565
+ P.l = R, P.i = D, P.w = function(N, M) {
5566
+ return w(N, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
5567
5567
  };
5568
5568
  var O = function() {
5569
- function P(K) {
5569
+ function N(K) {
5570
5570
  this.$L = R(K.locale, null, !0), this.parse(K), this.$x = this.$x || K.x || {}, this[I] = !0;
5571
5571
  }
5572
- var M = P.prototype;
5572
+ var M = N.prototype;
5573
5573
  return M.parse = function(K) {
5574
5574
  this.$d = function(L) {
5575
5575
  var B = L.date, U = L.utc;
5576
5576
  if (B === null)
5577
5577
  return new Date(NaN);
5578
- if (N.u(B))
5578
+ if (P.u(B))
5579
5579
  return new Date();
5580
5580
  if (B instanceof Date)
5581
5581
  return new Date(B);
@@ -5592,7 +5592,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5592
5592
  var K = this.$d;
5593
5593
  this.$y = K.getFullYear(), this.$M = K.getMonth(), this.$D = K.getDate(), this.$W = K.getDay(), this.$H = K.getHours(), this.$m = K.getMinutes(), this.$s = K.getSeconds(), this.$ms = K.getMilliseconds();
5594
5594
  }, M.$utils = function() {
5595
- return N;
5595
+ return P;
5596
5596
  }, M.isValid = function() {
5597
5597
  return this.$d.toString() !== v;
5598
5598
  }, M.isSame = function(K, L) {
@@ -5603,17 +5603,17 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5603
5603
  }, M.isBefore = function(K, L) {
5604
5604
  return this.endOf(L) < w(K);
5605
5605
  }, M.$g = function(K, L, B) {
5606
- return N.u(K) ? this[L] : this.set(B, K);
5606
+ return P.u(K) ? this[L] : this.set(B, K);
5607
5607
  }, M.unix = function() {
5608
5608
  return Math.floor(this.valueOf() / 1e3);
5609
5609
  }, M.valueOf = function() {
5610
5610
  return this.$d.getTime();
5611
5611
  }, M.startOf = function(K, L) {
5612
- var B = this, U = !!N.u(L) || L, F = N.p(K), x = function(le, X) {
5613
- var $ = N.w(B.$u ? Date.UTC(B.$y, X, le) : new Date(B.$y, X, le), B);
5612
+ var B = this, U = !!P.u(L) || L, F = P.p(K), x = function(le, X) {
5613
+ var $ = P.w(B.$u ? Date.UTC(B.$y, X, le) : new Date(B.$y, X, le), B);
5614
5614
  return U ? $ : $.endOf(c);
5615
5615
  }, q = function(le, X) {
5616
- return N.w(B.toDate()[le].apply(B.toDate("s"), (U ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), B);
5616
+ return P.w(B.toDate()[le].apply(B.toDate("s"), (U ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), B);
5617
5617
  }, Q = this.$W, Z = this.$M, ae = this.$D, te = "set" + (this.$u ? "UTC" : "");
5618
5618
  switch (F) {
5619
5619
  case E:
@@ -5638,7 +5638,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5638
5638
  }, M.endOf = function(K) {
5639
5639
  return this.startOf(K, !1);
5640
5640
  }, M.$set = function(K, L) {
5641
- var B, U = N.p(K), F = "set" + (this.$u ? "UTC" : ""), x = (B = {}, B[c] = F + "Date", B[g] = F + "Date", B[d] = F + "Month", B[E] = F + "FullYear", B[l] = F + "Hours", B[o] = F + "Minutes", B[i] = F + "Seconds", B[s] = F + "Milliseconds", B)[U], q = U === c ? this.$D + (L - this.$W) : L;
5641
+ var B, U = P.p(K), F = "set" + (this.$u ? "UTC" : ""), x = (B = {}, B[c] = F + "Date", B[g] = F + "Date", B[d] = F + "Month", B[E] = F + "FullYear", B[l] = F + "Hours", B[o] = F + "Minutes", B[i] = F + "Seconds", B[s] = F + "Milliseconds", B)[U], q = U === c ? this.$D + (L - this.$W) : L;
5642
5642
  if (U === d || U === E) {
5643
5643
  var Q = this.clone().set(g, 1);
5644
5644
  Q.$d[x](q), Q.init(), this.$d = Q.set(g, Math.min(this.$D, Q.daysInMonth())).$d;
@@ -5648,13 +5648,13 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5648
5648
  }, M.set = function(K, L) {
5649
5649
  return this.clone().$set(K, L);
5650
5650
  }, M.get = function(K) {
5651
- return this[N.p(K)]();
5651
+ return this[P.p(K)]();
5652
5652
  }, M.add = function(K, L) {
5653
5653
  var B, U = this;
5654
5654
  K = Number(K);
5655
- var F = N.p(L), x = function(Z) {
5655
+ var F = P.p(L), x = function(Z) {
5656
5656
  var ae = w(U);
5657
- return N.w(ae.date(ae.date() + Math.round(Z * K)), U);
5657
+ return P.w(ae.date(ae.date() + Math.round(Z * K)), U);
5658
5658
  };
5659
5659
  if (F === d)
5660
5660
  return this.set(d, this.$M + K);
@@ -5665,17 +5665,17 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5665
5665
  if (F === u)
5666
5666
  return x(7);
5667
5667
  var q = (B = {}, B[o] = a, B[l] = n, B[i] = r, B)[F] || 1, Q = this.$d.getTime() + K * q;
5668
- return N.w(Q, this);
5668
+ return P.w(Q, this);
5669
5669
  }, M.subtract = function(K, L) {
5670
5670
  return this.add(-1 * K, L);
5671
5671
  }, M.format = function(K) {
5672
5672
  var L = this, B = this.$locale();
5673
5673
  if (!this.isValid())
5674
5674
  return B.invalidDate || v;
5675
- var U = K || "YYYY-MM-DDTHH:mm:ssZ", F = N.z(this), x = this.$H, q = this.$m, Q = this.$M, Z = B.weekdays, ae = B.months, te = B.meridiem, se = function(X, $, G, z) {
5675
+ var U = K || "YYYY-MM-DDTHH:mm:ssZ", F = P.z(this), x = this.$H, q = this.$m, Q = this.$M, Z = B.weekdays, ae = B.months, te = B.meridiem, se = function(X, $, G, z) {
5676
5676
  return X && (X[$] || X(L, U)) || G[$].slice(0, z);
5677
5677
  }, ue = function(X) {
5678
- return N.s(x % 12 || 12, X, "0");
5678
+ return P.s(x % 12 || 12, X, "0");
5679
5679
  }, le = te || function(X, $, G) {
5680
5680
  var z = X < 12 ? "AM" : "PM";
5681
5681
  return G ? z.toLowerCase() : z;
@@ -5686,11 +5686,11 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5686
5686
  case "YY":
5687
5687
  return String(L.$y).slice(-2);
5688
5688
  case "YYYY":
5689
- return N.s(L.$y, 4, "0");
5689
+ return P.s(L.$y, 4, "0");
5690
5690
  case "M":
5691
5691
  return Q + 1;
5692
5692
  case "MM":
5693
- return N.s(Q + 1, 2, "0");
5693
+ return P.s(Q + 1, 2, "0");
5694
5694
  case "MMM":
5695
5695
  return se(B.monthsShort, Q, ae, 3);
5696
5696
  case "MMMM":
@@ -5698,7 +5698,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5698
5698
  case "D":
5699
5699
  return L.$D;
5700
5700
  case "DD":
5701
- return N.s(L.$D, 2, "0");
5701
+ return P.s(L.$D, 2, "0");
5702
5702
  case "d":
5703
5703
  return String(L.$W);
5704
5704
  case "dd":
@@ -5710,7 +5710,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5710
5710
  case "H":
5711
5711
  return String(x);
5712
5712
  case "HH":
5713
- return N.s(x, 2, "0");
5713
+ return P.s(x, 2, "0");
5714
5714
  case "h":
5715
5715
  return ue(1);
5716
5716
  case "hh":
@@ -5722,13 +5722,13 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5722
5722
  case "m":
5723
5723
  return String(q);
5724
5724
  case "mm":
5725
- return N.s(q, 2, "0");
5725
+ return P.s(q, 2, "0");
5726
5726
  case "s":
5727
5727
  return String(L.$s);
5728
5728
  case "ss":
5729
- return N.s(L.$s, 2, "0");
5729
+ return P.s(L.$s, 2, "0");
5730
5730
  case "SSS":
5731
- return N.s(L.$ms, 3, "0");
5731
+ return P.s(L.$ms, 3, "0");
5732
5732
  case "Z":
5733
5733
  return F;
5734
5734
  }
@@ -5738,8 +5738,8 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5738
5738
  }, M.utcOffset = function() {
5739
5739
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5740
5740
  }, M.diff = function(K, L, B) {
5741
- var U, F = this, x = N.p(L), q = w(K), Q = (q.utcOffset() - this.utcOffset()) * a, Z = this - q, ae = function() {
5742
- return N.m(F, q);
5741
+ var U, F = this, x = P.p(L), q = w(K), Q = (q.utcOffset() - this.utcOffset()) * a, Z = this - q, ae = function() {
5742
+ return P.m(F, q);
5743
5743
  };
5744
5744
  switch (x) {
5745
5745
  case E:
@@ -5769,7 +5769,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5769
5769
  default:
5770
5770
  U = Z;
5771
5771
  }
5772
- return B ? U : N.a(U);
5772
+ return B ? U : P.a(U);
5773
5773
  }, M.daysInMonth = function() {
5774
5774
  return this.endOf(d).$D;
5775
5775
  }, M.$locale = function() {
@@ -5780,7 +5780,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5780
5780
  var B = this.clone(), U = R(K, L, !0);
5781
5781
  return U && (B.$L = U), B;
5782
5782
  }, M.clone = function() {
5783
- return N.w(this.$d, this);
5783
+ return P.w(this.$d, this);
5784
5784
  }, M.toDate = function() {
5785
5785
  return new Date(this.valueOf());
5786
5786
  }, M.toJSON = function() {
@@ -5789,16 +5789,16 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5789
5789
  return this.$d.toISOString();
5790
5790
  }, M.toString = function() {
5791
5791
  return this.$d.toUTCString();
5792
- }, P;
5792
+ }, N;
5793
5793
  }(), V = O.prototype;
5794
- return w.prototype = V, [["$ms", s], ["$s", i], ["$m", o], ["$H", l], ["$W", c], ["$M", d], ["$y", E], ["$D", g]].forEach(function(P) {
5795
- V[P[1]] = function(M) {
5796
- return this.$g(M, P[0], P[1]);
5794
+ return w.prototype = V, [["$ms", s], ["$s", i], ["$m", o], ["$H", l], ["$W", c], ["$M", d], ["$y", E], ["$D", g]].forEach(function(N) {
5795
+ V[N[1]] = function(M) {
5796
+ return this.$g(M, N[0], N[1]);
5797
5797
  };
5798
- }), w.extend = function(P, M) {
5799
- return P.$i || (P(M, O, w), P.$i = !0), w;
5800
- }, w.locale = R, w.isDayjs = D, w.unix = function(P) {
5801
- return w(1e3 * P);
5798
+ }), w.extend = function(N, M) {
5799
+ return N.$i || (N(M, O, w), N.$i = !0), w;
5800
+ }, w.locale = R, w.isDayjs = D, w.unix = function(N) {
5801
+ return w(1e3 * N);
5802
5802
  }, w.en = C[A], w.Ls = C, w.p = {}, w;
5803
5803
  });
5804
5804
  })(dayjs_min);
@@ -5861,8 +5861,8 @@ function filesize(e, {
5861
5861
  T[0] = R(k * w) / w, T[0] === C && y < 8 && g === -1 && (T[0] = 1, y++), A = T[1] = a === 10 && y === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[u][t ? BITS : BYTES][y];
5862
5862
  }
5863
5863
  if (D && (T[0] = -T[0]), _ > 0 && (T[0] = T[0].toPrecision(_)), T[1] = c[T[1]] || T[1], s === !0 ? T[0] = T[0].toLocaleString() : s.length > 0 ? T[0] = T[0].toLocaleString(s, i) : o.length > 0 && (T[0] = T[0].toString().replace(PERIOD, o)), r && Number.isInteger(T[0]) === !1 && n > 0) {
5864
- const w = o || PERIOD, N = T[0].toString().split(w), O = N[1] || EMPTY, V = O.length, P = n - V;
5865
- T[0] = `${N[0]}${w}${O.padEnd(V + P, ZERO)}`;
5864
+ const w = o || PERIOD, P = T[0].toString().split(w), O = P[1] || EMPTY, V = O.length, N = n - V;
5865
+ T[0] = `${P[0]}${w}${O.padEnd(V + N, ZERO)}`;
5866
5866
  }
5867
5867
  return I && (T[1] = E[y] ? E[y] : STRINGS.fullform[u][y] + (t ? BIT : BYTE) + (T[0] === 1 ? EMPTY : S)), d === ARRAY ? T : d === OBJECT ? {
5868
5868
  value: T[0],
@@ -8002,8 +8002,8 @@ const KgTable_Setting = "", FORM_ID__VAR_GRID_CONFIG = "kg-table.VarGridConfig",
8002
8002
  }) => (l.value = o.value ? [o.value] : [], !0), !0), n.onOpen(async ({
8003
8003
  model: l
8004
8004
  }) => (i = watch(l, (c) => {
8005
- var u, d, b, E, g, v, _, y, m, T, k, A, C, I, D, R, w, N, O, V, P, M;
8006
- c && (c.id = (d = (u = o.value) == null ? void 0 : u.id) != null ? d : null, c.frm_id = r == null ? void 0 : r.formID, c.aut_load_flg = (E = (b = o.value) == null ? void 0 : b.aut_load_flg) != null ? E : 0, c.mult_flg = (v = (g = o.value) == null ? void 0 : g.mult_flg) != null ? v : 0, c.show_check_column_flg = (y = (_ = o.value) == null ? void 0 : _.show_check_column_flg) != null ? y : 0, c.show_bottom_left_flg = (T = (m = o.value) == null ? void 0 : m.show_bottom_left_flg) != null ? T : 1, c.show_bottom_right_flg = (A = (k = o.value) == null ? void 0 : k.show_bottom_right_flg) != null ? A : 1, c.convert_sort_field_to_under_score_flg = (I = (C = o.value) == null ? void 0 : C.convert_sort_field_to_under_score_flg) != null ? I : 0, c.pg_size_opts = (R = (D = o.value) == null ? void 0 : D.pg_size_opts) != null ? R : "[10, 20, 50, 100]", c.pg_size_opt = (N = (w = o.value) == null ? void 0 : w.pg_size_opt) != null ? N : 10, c.cmd_prm = (V = (O = o.value) == null ? void 0 : O.cmd_prm) != null ? V : void 0, c.button_display_type = (M = (P = o.value) == null ? void 0 : P.button_display_type) != null ? M : KG_BUTTON_DISPLAY_TYPE.DEFAULT);
8005
+ var u, d, b, E, g, v, _, y, m, T, k, A, C, I, D, R, w, P, O, V, N, M;
8006
+ c && (c.id = (d = (u = o.value) == null ? void 0 : u.id) != null ? d : null, c.frm_id = r == null ? void 0 : r.formID, c.aut_load_flg = (E = (b = o.value) == null ? void 0 : b.aut_load_flg) != null ? E : 0, c.mult_flg = (v = (g = o.value) == null ? void 0 : g.mult_flg) != null ? v : 0, c.show_check_column_flg = (y = (_ = o.value) == null ? void 0 : _.show_check_column_flg) != null ? y : 0, c.show_bottom_left_flg = (T = (m = o.value) == null ? void 0 : m.show_bottom_left_flg) != null ? T : 1, c.show_bottom_right_flg = (A = (k = o.value) == null ? void 0 : k.show_bottom_right_flg) != null ? A : 1, c.convert_sort_field_to_under_score_flg = (I = (C = o.value) == null ? void 0 : C.convert_sort_field_to_under_score_flg) != null ? I : 0, c.pg_size_opts = (R = (D = o.value) == null ? void 0 : D.pg_size_opts) != null ? R : "[10, 20, 50, 100]", c.pg_size_opt = (P = (w = o.value) == null ? void 0 : w.pg_size_opt) != null ? P : 10, c.cmd_prm = (V = (O = o.value) == null ? void 0 : O.cmd_prm) != null ? V : void 0, c.button_display_type = (M = (N = o.value) == null ? void 0 : N.button_display_type) != null ? M : KG_BUTTON_DISPLAY_TYPE.DEFAULT);
8007
8007
  }, {
8008
8008
  immediate: !0
8009
8009
  }), KgUtil.hideLoading(), !1)), n.onClose(async () => (i == null || i(), !1)), n.onBeforeOk(async ({
@@ -8914,7 +8914,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$G = () => ({
8914
8914
  row: A,
8915
8915
  model: C
8916
8916
  }) => {
8917
- var D, R, w, N, O;
8917
+ var D, R, w, P, O;
8918
8918
  const I = a.store.getSystemVarGridDetails(a.formID);
8919
8919
  switch (c.value = I ? cloneDeep(toRaw(unref(I))) : [], !0) {
8920
8920
  case m: {
@@ -8940,8 +8940,8 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$G = () => ({
8940
8940
  id: M.id
8941
8941
  } : M;
8942
8942
  });
8943
- const P = (R = (D = V == null ? void 0 : V.varGridDetails) == null ? void 0 : D.map((M) => M.var_nam)) != null ? R : [];
8944
- u.value = c.value.filter((M) => P.includes(M.var_nam)).map((M) => M.id);
8943
+ const N = (R = (D = V == null ? void 0 : V.varGridDetails) == null ? void 0 : D.map((M) => M.var_nam)) != null ? R : [];
8944
+ u.value = c.value.filter((M) => N.includes(M.var_nam)).map((M) => M.id);
8945
8945
  } catch (V) {
8946
8946
  throw V;
8947
8947
  } finally {
@@ -8954,7 +8954,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$G = () => ({
8954
8954
  }
8955
8955
  switch (!0) {
8956
8956
  case k: {
8957
- C.value.grd_var_nam = ((w = C.value.grd_var_nam) != null ? w : "") + "_COPY", C.value.grd_var_nam_dsc = ((O = (N = C.value.grd_var_nam_dsc) != null ? N : C.value.grd_var_nam) != null ? O : "") + "_COPY";
8957
+ C.value.grd_var_nam = ((w = C.value.grd_var_nam) != null ? w : "") + "_COPY", C.value.grd_var_nam_dsc = ((O = (P = C.value.grd_var_nam_dsc) != null ? P : C.value.grd_var_nam) != null ? O : "") + "_COPY";
8958
8958
  break;
8959
8959
  }
8960
8960
  }
@@ -9028,8 +9028,8 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$G = () => ({
9028
9028
  onItemSelect: I
9029
9029
  }) => {
9030
9030
  const D = T.sort((R, w) => {
9031
- var N, O;
9032
- return ((N = R.srtseq) != null ? N : 0) - ((O = w.srtseq) != null ? O : 0);
9031
+ var P, O;
9032
+ return ((P = R.srtseq) != null ? P : 0) - ((O = w.srtseq) != null ? O : 0);
9033
9033
  });
9034
9034
  return d.value = D, createVNode(Table, {
9035
9035
  pagination: !1,
@@ -9044,7 +9044,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$G = () => ({
9044
9044
  dataSource: D,
9045
9045
  customRow: (R) => {
9046
9046
  let w = {
9047
- onClick: (N) => y(N, R, m, k)
9047
+ onClick: (P) => y(P, R, m, k)
9048
9048
  };
9049
9049
  return m === "right" && (w["kg-host-frm_id"] = a.formID, w["kg-var_nam"] = R.var_nam), w;
9050
9050
  },
@@ -9370,7 +9370,7 @@ const getProps$D = () => ({
9370
9370
  popupClassName: "kg-table-setting--submenu-popup--row-height"
9371
9371
  }, {
9372
9372
  default: () => {
9373
- let R, w, N;
9373
+ let R, w, P;
9374
9374
  return createVNode(Fragment, null, [createVNode(Menu.Item, {
9375
9375
  key: "L",
9376
9376
  class: u.value === "L" ? "selected" : "",
@@ -9387,8 +9387,8 @@ const getProps$D = () => ({
9387
9387
  key: "H",
9388
9388
  class: u.value === "H" ? "selected" : "",
9389
9389
  onClick: () => s.store.setRowHeight(n.formID, "H")
9390
- }, _isSlot$d(N = a.t("kg.KgTable.rowHeightH")) ? N : {
9391
- default: () => [N]
9390
+ }, _isSlot$d(P = a.t("kg.KgTable.rowHeightH")) ? P : {
9391
+ default: () => [P]
9392
9392
  })]);
9393
9393
  },
9394
9394
  expandIcon: () => createVNode(CaretRightOutlined$1, null, null)
@@ -9693,7 +9693,7 @@ const getProps$z = () => ({
9693
9693
  });
9694
9694
  }
9695
9695
  function m() {
9696
- var k, A, C, I, D, R, w, N, O, V, P;
9696
+ var k, A, C, I, D, R, w, P, O, V, N;
9697
9697
  if (u.value)
9698
9698
  return y();
9699
9699
  switch ((k = l.value) == null ? void 0 : k.display_type) {
@@ -9729,7 +9729,7 @@ const getProps$z = () => ({
9729
9729
  return T();
9730
9730
  }
9731
9731
  case KG_TABLE_CELL_DISPLAY_TYPE.PROGRESS: {
9732
- const M = KgUtil.tryParseJSON((N = l.value) == null ? void 0 : N.display_type_properties), K = (V = (O = e.kgRow) == null ? void 0 : O[M.leftColumn]) != null ? V : 0;
9732
+ const M = KgUtil.tryParseJSON((P = l.value) == null ? void 0 : P.display_type_properties), K = (V = (O = e.kgRow) == null ? void 0 : O[M.leftColumn]) != null ? V : 0;
9733
9733
  switch (e.kgContext) {
9734
9734
  case KG_TABLE_CELL_CONTEXT.TABLE_FILTER:
9735
9735
  return K;
@@ -9737,7 +9737,7 @@ const getProps$z = () => ({
9737
9737
  return createVNode(KgProgressA, {
9738
9738
  kgTextWidth: M.textWidth,
9739
9739
  kgLeft: K,
9740
- kgRight: (P = e.kgRow) == null ? void 0 : P[M.rightColumn]
9740
+ kgRight: (N = e.kgRow) == null ? void 0 : N[M.rightColumn]
9741
9741
  }, null);
9742
9742
  }
9743
9743
  break;
@@ -9855,7 +9855,7 @@ function _useColumns(e) {
9855
9855
  function w() {
9856
9856
  return r.t(D).value;
9857
9857
  }
9858
- function N() {
9858
+ function P() {
9859
9859
  if (C.fix_left_flg === 1)
9860
9860
  return "left";
9861
9861
  if (C.fix_right_flg === 1)
@@ -9883,7 +9883,7 @@ function _useColumns(e) {
9883
9883
  };
9884
9884
  }), "value");
9885
9885
  }
9886
- function P() {
9886
+ function N() {
9887
9887
  var F, x, q;
9888
9888
  return ((x = (F = E.option.value.KgTable) == null ? void 0 : F.filter) == null ? void 0 : x.on) !== !0 ? null : ((q = o.value) == null ? void 0 : q[D]) || null;
9889
9889
  }
@@ -9914,10 +9914,10 @@ function _useColumns(e) {
9914
9914
  minWidth: KG_TABLE_TD_MIN_WIDTH,
9915
9915
  maxWidth: KG_TABLE_TD_MAX_WIDTH,
9916
9916
  align: M(),
9917
- fixed: N(),
9917
+ fixed: P(),
9918
9918
  sorter: O(),
9919
9919
  sortOrder: ((L = l.value) == null ? void 0 : L.field) === D && (U = (B = l.value) == null ? void 0 : B.order) != null ? U : null,
9920
- filteredValue: P(),
9920
+ filteredValue: N(),
9921
9921
  filters: V(),
9922
9922
  onFilter: (F, x) => F === "" ? isNil(x == null ? void 0 : x[D]) || (x == null ? void 0 : x[D]) === "" : (x == null ? void 0 : x[D]) === F,
9923
9923
  customHeaderCell: () => ({
@@ -10105,11 +10105,11 @@ const KgTable$1 = "", getProps$y = () => ({
10105
10105
  if (G[0] === s.formID) {
10106
10106
  const z = G[1], Y = G[2], ee = z[o.id.value];
10107
10107
  switch (!0) {
10108
- case (Y && !P.value.includes(ee)):
10109
- x([...P.value, ee]);
10108
+ case (Y && !N.value.includes(ee)):
10109
+ x([...N.value, ee]);
10110
10110
  break;
10111
- case (!Y && P.value.includes(ee)):
10112
- x(without$1(P.value, ee));
10111
+ case (!Y && N.value.includes(ee)):
10112
+ x(without$1(N.value, ee));
10113
10113
  break;
10114
10114
  }
10115
10115
  }
@@ -10175,13 +10175,13 @@ const KgTable$1 = "", getProps$y = () => ({
10175
10175
  }), w = computed(() => {
10176
10176
  var $;
10177
10177
  return (($ = s.varGridConfig.value) == null ? void 0 : $.show_check_column_flg) === 1;
10178
- }), N = computed(() => {
10178
+ }), P = computed(() => {
10179
10179
  if (!!w.value)
10180
10180
  return {
10181
10181
  fixed: "left",
10182
10182
  columnWidth: KG_TABLE_TD_CHECK_WIDTH,
10183
10183
  hideSelectAll: !o.isMultiSelect.value,
10184
- selectedRowKeys: P,
10184
+ selectedRowKeys: N,
10185
10185
  preserveSelectedRowKeys: !1,
10186
10186
  getCheckboxProps: ($) => {
10187
10187
  var G;
@@ -10211,7 +10211,7 @@ const KgTable$1 = "", getProps$y = () => ({
10211
10211
  var G;
10212
10212
  let $ = "kg-table-bottom";
10213
10213
  return ((G = s.varGridConfig.value) == null ? void 0 : G.show_bottom_border_flg) === 1 && ($ += " kg-table-bottom--border"), $;
10214
- }), P = (X = o.store.getSelectedRowKeys(s.formID)) != null ? X : ref([]), M = reactive({
10214
+ }), N = (X = o.store.getSelectedRowKeys(s.formID)) != null ? X : ref([]), M = reactive({
10215
10215
  pageIndex: 1,
10216
10216
  pageSize: 10,
10217
10217
  total: 0
@@ -10277,7 +10277,7 @@ const KgTable$1 = "", getProps$y = () => ({
10277
10277
  });
10278
10278
  return;
10279
10279
  }
10280
- if (!N.value) {
10280
+ if (!P.value) {
10281
10281
  KgLogger.debug("KgTable | onRowClick() | \u4E0D\u652F\u6301\u884C\u52FE\u9009.");
10282
10282
  return;
10283
10283
  }
@@ -10365,7 +10365,7 @@ const KgTable$1 = "", getProps$y = () => ({
10365
10365
  total: Ae
10366
10366
  } = m(ye), Ie = await o.store.emit(s.formID, "beforeSetDatas", {
10367
10367
  datas: Ee
10368
- }), ke = cloneDeep(P.value);
10368
+ }), ke = cloneDeep(N.value);
10369
10369
  o.store.setDatas({
10370
10370
  frmId: s.formID,
10371
10371
  datas: Ee.value,
@@ -10401,17 +10401,17 @@ const KgTable$1 = "", getProps$y = () => ({
10401
10401
  case !0:
10402
10402
  {
10403
10403
  const Y = $[o.id.value];
10404
- P.value.includes(Y) ? P.value = without$1(P.value, Y) : P.value = [...(G = P.value) != null ? G : [], Y];
10404
+ N.value.includes(Y) ? N.value = without$1(N.value, Y) : N.value = [...(G = N.value) != null ? G : [], Y];
10405
10405
  }
10406
10406
  break;
10407
10407
  case !1:
10408
10408
  {
10409
10409
  const Y = $[o.id.value];
10410
- (z = P.value) != null && z.includes(Y) ? P.value = [] : P.value = [Y];
10410
+ (z = N.value) != null && z.includes(Y) ? N.value = [] : N.value = [Y];
10411
10411
  }
10412
10412
  break;
10413
10413
  }
10414
- o.store.setSelectedRows(s.formID, P.value.map((Y) => {
10414
+ o.store.setSelectedRows(s.formID, N.value.map((Y) => {
10415
10415
  var ee;
10416
10416
  return (ee = y.value) == null ? void 0 : ee.find((ge) => ge[o.id.value] === Y);
10417
10417
  }).filter((Y) => !!Y));
@@ -10510,7 +10510,7 @@ const KgTable$1 = "", getProps$y = () => ({
10510
10510
  rowClassName: (G = ($ = a == null ? void 0 : a.value) == null ? void 0 : $.KgTable) == null ? void 0 : G.kgRowClassName,
10511
10511
  expandColumnWidth: 28,
10512
10512
  expandedRowKeys: c.value,
10513
- rowSelection: N.value,
10513
+ rowSelection: P.value,
10514
10514
  customRow: (Y) => ({
10515
10515
  onClick: (ee) => U({
10516
10516
  event: ee,
@@ -10531,10 +10531,10 @@ const KgTable$1 = "", getProps$y = () => ({
10531
10531
  }, [createVNode("div", {
10532
10532
  class: "left"
10533
10533
  }, [o.isShowBottomLeft.value && createVNode(KgTableInfo, {
10534
- kgShowClearCheck: P.value.length > 0,
10534
+ kgShowClearCheck: N.value.length > 0,
10535
10535
  kgShowClearTable: M.total > 0,
10536
- kgShowLocate: P.value.length === 1,
10537
- kgTotal: P.value.length,
10536
+ kgShowLocate: N.value.length === 1,
10537
+ kgTotal: N.value.length,
10538
10538
  kgDisabled: I.value
10539
10539
  }, null)]), createVNode("div", {
10540
10540
  class: "right"
@@ -10586,32 +10586,40 @@ const KgTable$1 = "", getProps$y = () => ({
10586
10586
  var _, y, m, T, k, A, C;
10587
10587
  if (b.value) {
10588
10588
  const I = (y = (_ = u.selectedRows) == null ? void 0 : _.value) != null ? y : [], D = (m = I.map((w) => w[E.value])) != null ? m : [];
10589
- await s.store.emit(s.formID, "lookupBeforeOk", {
10590
- var_nam: i,
10589
+ if (await s.store.emit(s.formID, "lookupBeforeOk", {
10591
10590
  isMultiple: !0,
10591
+ rows: I,
10592
10592
  values: D,
10593
- rows: I
10594
- }) || (s.store.emit(s.formID, "lookupOk", {
10595
- var_nam: i,
10596
- model: l,
10593
+ var_nam: i
10594
+ }))
10595
+ return;
10596
+ s.store.emit(s.formID, "lookupOk", {
10597
10597
  isMultiple: !0,
10598
+ model: l,
10599
+ rows: I,
10598
10600
  values: D,
10599
- rows: I
10600
- }), r("update:visible", !1));
10601
+ var_nam: i
10602
+ }), r("update:visible", !1);
10601
10603
  } else {
10602
- const I = (A = (k = (T = u.selectedRows) == null ? void 0 : T.value) == null ? void 0 : k[0]) != null ? A : null, D = (C = I == null ? void 0 : I[E.value]) != null ? C : "";
10603
- await s.store.emit(s.formID, "lookupBeforeOk", {
10604
- var_nam: i,
10604
+ const I = (A = (k = (T = u.selectedRows) == null ? void 0 : T.value) == null ? void 0 : k[0]) != null ? A : null, D = (C = I == null ? void 0 : I[E.value]) != null ? C : "", R = [I], w = [D];
10605
+ if (await s.store.emit(s.formID, "lookupBeforeOk", {
10605
10606
  isMultiple: !1,
10607
+ row: I,
10608
+ rows: R,
10606
10609
  value: D,
10607
- row: I
10608
- }) || (s.store.emit(s.formID, "lookupOk", {
10609
- var_nam: i,
10610
- model: l,
10610
+ values: w,
10611
+ var_nam: i
10612
+ }))
10613
+ return;
10614
+ s.store.emit(s.formID, "lookupOk", {
10611
10615
  isMultiple: !1,
10616
+ model: l,
10617
+ row: I,
10618
+ rows: R,
10612
10619
  value: D,
10613
- row: I
10614
- }), r("update:visible", !1));
10620
+ values: w,
10621
+ var_nam: i
10622
+ }), r("update:visible", !1);
10615
10623
  }
10616
10624
  }
10617
10625
  return () => {
@@ -10885,9 +10893,9 @@ function useKgFormItemSelect() {
10885
10893
  }), v;
10886
10894
  });
10887
10895
  async function E() {
10888
- var A, C, I, D, R, w, N, O;
10896
+ var A, C, I, D, R, w, P, O;
10889
10897
  let v = ref([]);
10890
- const _ = (A = s.value) == null ? void 0 : A.cmd, y = (I = (C = s.value) == null ? void 0 : C.cmd_method) != null ? I : "GET", m = (R = (D = s.value) == null ? void 0 : D.val_clm) != null ? R : "", T = (N = (w = s.value) == null ? void 0 : w.lbl_clm) != null ? N : "";
10898
+ const _ = (A = s.value) == null ? void 0 : A.cmd, y = (I = (C = s.value) == null ? void 0 : C.cmd_method) != null ? I : "GET", m = (R = (D = s.value) == null ? void 0 : D.val_clm) != null ? R : "", T = (P = (w = s.value) == null ? void 0 : w.lbl_clm) != null ? P : "";
10891
10899
  if (!_ || !m || !T) {
10892
10900
  KgLogger.error("\u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF.", {
10893
10901
  frm_id: a.formID,
@@ -11669,7 +11677,7 @@ const KgFormItem = defineComponent({
11669
11677
  validateFirst: !0,
11670
11678
  htmlFor: I.value
11671
11679
  }, {
11672
- default: () => createVNode(Fragment, null, [N(), w(), V(), P()]),
11680
+ default: () => createVNode(Fragment, null, [P(), w(), V(), N()]),
11673
11681
  label: () => O()
11674
11682
  });
11675
11683
  }
@@ -11717,7 +11725,7 @@ const KgFormItem = defineComponent({
11717
11725
  return createVNode(KgFormItemInput, C.value, null);
11718
11726
  }
11719
11727
  }
11720
- function N() {
11728
+ function P() {
11721
11729
  var M, K, L;
11722
11730
  return ((K = (M = s.option.value.KgSearch) == null ? void 0 : M.dynamicQuery) == null ? void 0 : K.on) !== !0 || e.kgContext !== KG_FORM_CONTEXT.SEARCH || ((L = i.currentVarProfileMaster.value) == null ? void 0 : L.dyn_flg) !== 1 ? null : createVNode(Form.ItemRest, null, {
11723
11731
  default: () => {
@@ -11758,7 +11766,7 @@ const KgFormItem = defineComponent({
11758
11766
  }, null)]
11759
11767
  });
11760
11768
  }
11761
- function P() {
11769
+ function N() {
11762
11770
  return !t.controlRight || !isFunction$2(t.controlRight) ? null : t.controlRight({
11763
11771
  frm_id: i.formID,
11764
11772
  varName: e.kgVarName,
@@ -11841,37 +11849,25 @@ const useKgFormStore = () => (store$6 || (store$6 = defineStore("KgForm", {
11841
11849
  case "selectBeforeSetDatas":
11842
11850
  {
11843
11851
  const a = this.selectBeforeSetDatasListenersMap.get(e);
11844
- this.selectBeforeSetDatasListenersMap.set(e, [
11845
- ...a != null ? a : [],
11846
- r
11847
- ]);
11852
+ this.selectBeforeSetDatasListenersMap.set(e, [...a != null ? a : [], r]);
11848
11853
  }
11849
11854
  break;
11850
11855
  case "selectChange":
11851
11856
  {
11852
11857
  const a = this.selectChangeListenersMap.get(e);
11853
- this.selectChangeListenersMap.set(e, [
11854
- ...a != null ? a : [],
11855
- r
11856
- ]);
11858
+ this.selectChangeListenersMap.set(e, [...a != null ? a : [], r]);
11857
11859
  }
11858
11860
  break;
11859
11861
  case "lookupBeforeOpen":
11860
11862
  {
11861
11863
  const a = this.lookupBeforeOpenListenersMap.get(e);
11862
- this.lookupBeforeOpenListenersMap.set(e, [
11863
- ...a != null ? a : [],
11864
- r
11865
- ]);
11864
+ this.lookupBeforeOpenListenersMap.set(e, [...a != null ? a : [], r]);
11866
11865
  }
11867
11866
  break;
11868
11867
  case "lookupBeforeOk":
11869
11868
  {
11870
11869
  const a = this.lookupBeforeOkListenersMap.get(e);
11871
- this.lookupBeforeOkListenersMap.set(e, [
11872
- ...a != null ? a : [],
11873
- r
11874
- ]);
11870
+ this.lookupBeforeOkListenersMap.set(e, [...a != null ? a : [], r]);
11875
11871
  }
11876
11872
  break;
11877
11873
  case "lookupOk":
@@ -11887,40 +11883,28 @@ const useKgFormStore = () => (store$6 || (store$6 = defineStore("KgForm", {
11887
11883
  case "selectBeforeSetDatas":
11888
11884
  if (r) {
11889
11885
  const a = this.selectBeforeSetDatasListenersMap.get(e);
11890
- this.selectBeforeSetDatasListenersMap.set(
11891
- e,
11892
- without$1(a, r)
11893
- );
11886
+ this.selectBeforeSetDatasListenersMap.set(e, without$1(a, r));
11894
11887
  } else
11895
11888
  this.selectChangeListenersMap.set(e, []);
11896
11889
  break;
11897
11890
  case "selectChange":
11898
11891
  if (r) {
11899
11892
  const a = this.selectChangeListenersMap.get(e);
11900
- this.selectChangeListenersMap.set(
11901
- e,
11902
- without$1(a, r)
11903
- );
11893
+ this.selectChangeListenersMap.set(e, without$1(a, r));
11904
11894
  } else
11905
11895
  this.selectChangeListenersMap.set(e, []);
11906
11896
  break;
11907
11897
  case "lookupBeforeOpen":
11908
11898
  if (r) {
11909
11899
  const a = this.lookupBeforeOpenListenersMap.get(e);
11910
- this.lookupBeforeOpenListenersMap.set(
11911
- e,
11912
- without$1(a, r)
11913
- );
11900
+ this.lookupBeforeOpenListenersMap.set(e, without$1(a, r));
11914
11901
  } else
11915
11902
  this.lookupBeforeOpenListenersMap.set(e, []);
11916
11903
  break;
11917
11904
  case "lookupBeforeOk":
11918
11905
  if (r) {
11919
11906
  const a = this.lookupBeforeOkListenersMap.get(e);
11920
- this.lookupBeforeOkListenersMap.set(
11921
- e,
11922
- without$1(a, r)
11923
- );
11907
+ this.lookupBeforeOkListenersMap.set(e, without$1(a, r));
11924
11908
  } else
11925
11909
  this.lookupBeforeOkListenersMap.set(e, []);
11926
11910
  break;
@@ -12932,7 +12916,7 @@ const getProps$r = () => ({
12932
12916
  return [];
12933
12917
  }
12934
12918
  return [];
12935
- }), N = computed(() => {
12919
+ }), P = computed(() => {
12936
12920
  var H, W, J;
12937
12921
  switch (!0) {
12938
12922
  case s.isCreating.value:
@@ -12971,7 +12955,7 @@ const getProps$r = () => ({
12971
12955
  return (re = R.value) != null ? re : [];
12972
12956
  }
12973
12957
  return [];
12974
- }), P = computed(() => !!s.store.isCreatingRequesting(s.formID) || !!s.store.isUpdatingRequesting(s.formID) || !!s.store.isCopyingRequesting(s.formID) || !!s.store.isDeletingRequesting(s.formID)), M = computed(() => P.value || d.value), K = computed(() => d.value), L = ref({
12958
+ }), N = computed(() => !!s.store.isCreatingRequesting(s.formID) || !!s.store.isUpdatingRequesting(s.formID) || !!s.store.isCopyingRequesting(s.formID) || !!s.store.isDeletingRequesting(s.formID)), M = computed(() => N.value || d.value), K = computed(() => d.value), L = ref({
12975
12959
  kgWidth: 0
12976
12960
  }), B = computed(() => {
12977
12961
  var H;
@@ -13372,7 +13356,7 @@ const getProps$r = () => ({
13372
13356
  gutter: 12
13373
13357
  }, _isSlot$6(H = w.value.map(ye)) ? H : {
13374
13358
  default: () => [H]
13375
- }), N.value.length > 0 && V.value.length > 0 && createVNode(Divider, null, null), O.value.length > 0 && createVNode(Row, {
13359
+ }), P.value.length > 0 && V.value.length > 0 && createVNode(Divider, null, null), O.value.length > 0 && createVNode(Row, {
13376
13360
  gutter: 12
13377
13361
  }, _isSlot$6(W = O.value.map(ye)) ? W : {
13378
13362
  default: () => [W]
@@ -13396,7 +13380,7 @@ const getProps$r = () => ({
13396
13380
  }), createVNode(Button, {
13397
13381
  type: "primary",
13398
13382
  disabled: K.value,
13399
- loading: P.value,
13383
+ loading: N.value,
13400
13384
  danger: !!s.isDeleting.value,
13401
13385
  onClick: ce
13402
13386
  }, {
@@ -14996,10 +14980,10 @@ function useKgVar(e, t, r = 0) {
14996
14980
  }), onUnmounted(() => {
14997
14981
  i.dispose(s);
14998
14982
  }));
14999
- const o = computed(() => i.isRetrieving(s)), l = computed(() => i.isRetrievingVarProfileMaster(s)), c = computed(() => i.isRetrievingVarGridMaster(s)), u = computed(() => i.isSearched(s)), d = computed(() => i.isCreating(s)), b = computed(() => i.isCreatingRequesting(s)), E = computed(() => i.isUpdating(s)), g = computed(() => i.isUpdatingRequesting(s)), v = computed(() => i.isCopying(s)), _ = computed(() => i.isCopyingRequesting(s)), y = computed(() => i.isDeleting(s)), m = computed(() => i.isDeletingRequesting(s)), T = computed(() => i.isOtherRequesting(s)), k = computed(() => i.getVarButtons(s)), A = computed(() => i.getVarButtonSearch(s)), C = computed(() => i.getVarButtonCreate(s)), I = computed(() => i.getVarButtonUpdate(s)), D = computed(() => i.getVarButtonCopy(s)), R = computed(() => i.getVarButtonDelete(s)), w = computed(() => i.getVarProfileMasters(s)), N = computed(() => i.getCurrentVarProfileMasterID(s)), O = computed(() => i.getCurrentVarProfileMaster(s)), V = computed(() => {
14983
+ const o = computed(() => i.isRetrieving(s)), l = computed(() => i.isRetrievingVarProfileMaster(s)), c = computed(() => i.isRetrievingVarGridMaster(s)), u = computed(() => i.isSearched(s)), d = computed(() => i.isCreating(s)), b = computed(() => i.isCreatingRequesting(s)), E = computed(() => i.isUpdating(s)), g = computed(() => i.isUpdatingRequesting(s)), v = computed(() => i.isCopying(s)), _ = computed(() => i.isCopyingRequesting(s)), y = computed(() => i.isDeleting(s)), m = computed(() => i.isDeletingRequesting(s)), T = computed(() => i.isOtherRequesting(s)), k = computed(() => i.getVarButtons(s)), A = computed(() => i.getVarButtonSearch(s)), C = computed(() => i.getVarButtonCreate(s)), I = computed(() => i.getVarButtonUpdate(s)), D = computed(() => i.getVarButtonCopy(s)), R = computed(() => i.getVarButtonDelete(s)), w = computed(() => i.getVarProfileMasters(s)), P = computed(() => i.getCurrentVarProfileMasterID(s)), O = computed(() => i.getCurrentVarProfileMaster(s)), V = computed(() => {
15000
14984
  var x, q;
15001
14985
  return (q = (x = O.value) == null ? void 0 : x.varProfileDetails) != null ? q : null;
15002
- }), P = computed(() => i.getVarGridConfig(s)), M = computed(() => i.getVarGridMasters(s)), K = computed(() => i.getCurrentVarGridMasterID(s)), L = computed(() => i.getCurrentVarGridMaster(s)), B = computed(() => i.getSystemVarGridDetails(s)), U = computed(() => i.getCurrentVarGridDetails(s)), F = computed(() => i.getVarSubmitConfigProps(s));
14986
+ }), N = computed(() => i.getVarGridConfig(s)), M = computed(() => i.getVarGridMasters(s)), K = computed(() => i.getCurrentVarGridMasterID(s)), L = computed(() => i.getCurrentVarGridMaster(s)), B = computed(() => i.getSystemVarGridDetails(s)), U = computed(() => i.getCurrentVarGridDetails(s)), F = computed(() => i.getVarSubmitConfigProps(s));
15003
14987
  return {
15004
14988
  formID: s,
15005
14989
  store: i,
@@ -15023,10 +15007,10 @@ function useKgVar(e, t, r = 0) {
15023
15007
  varButtonCopy: D,
15024
15008
  varButtonDelete: R,
15025
15009
  varProfileMasters: w,
15026
- currentVarProfileMasterID: N,
15010
+ currentVarProfileMasterID: P,
15027
15011
  currentVarProfileMaster: O,
15028
15012
  currentVarProfileDetails: V,
15029
- varGridConfig: P,
15013
+ varGridConfig: N,
15030
15014
  varGridMasters: M,
15031
15015
  currentVarGridMasteID: K,
15032
15016
  currentVarGridMaster: L,
@@ -15779,7 +15763,7 @@ const getProps$p = () => ({
15779
15763
  if (((I = e.kgButton) == null ? void 0 : I.re_select_after_reload_flg) !== 0 && s.onAfterSearch(async ({
15780
15764
  datas: w
15781
15765
  }) => {
15782
- const N = w.value, O = intersectionWith$1(N, y != null ? y : [], (V, P) => (V == null ? void 0 : V[s.id.value]) === (P == null ? void 0 : P[s.id.value]));
15766
+ const P = w.value, O = intersectionWith$1(P, y != null ? y : [], (V, N) => (V == null ? void 0 : V[s.id.value]) === (N == null ? void 0 : N[s.id.value]));
15783
15767
  return O.length > 0 && s.store.setSelectedRows(r.formID, O), !1;
15784
15768
  }, !0), await n.store.emit(r.formID, "otherOk", {
15785
15769
  button: e.kgButton,
@@ -16723,16 +16707,16 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$m = () => ({
16723
16707
  }
16724
16708
  });
16725
16709
  l.value = l.value.map((O) => {
16726
- var P;
16727
- const V = (P = w == null ? void 0 : w.varProfileDetails) == null ? void 0 : P.find((M) => M.var_nam === O.var_nam);
16710
+ var N;
16711
+ const V = (N = w == null ? void 0 : w.varProfileDetails) == null ? void 0 : N.find((M) => M.var_nam === O.var_nam);
16728
16712
  return V ? {
16729
16713
  ...O,
16730
16714
  ...V,
16731
16715
  id: O.id
16732
16716
  } : O;
16733
16717
  });
16734
- const N = (C = (A = w == null ? void 0 : w.varProfileDetails) == null ? void 0 : A.map((O) => O.var_nam)) != null ? C : [];
16735
- c.value = l.value.filter((O) => N.includes(O.var_nam)).map((O) => O.id);
16718
+ const P = (C = (A = w == null ? void 0 : w.varProfileDetails) == null ? void 0 : A.map((O) => O.var_nam)) != null ? C : [];
16719
+ c.value = l.value.filter((O) => P.includes(O.var_nam)).map((O) => O.id);
16736
16720
  } catch (w) {
16737
16721
  throw w;
16738
16722
  } finally {
@@ -16817,8 +16801,8 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$m = () => ({
16817
16801
  }) => {
16818
16802
  var C, I;
16819
16803
  const A = _.sort((D, R) => {
16820
- var w, N;
16821
- return ((w = D.srtseq) != null ? w : 0) - ((N = R.srtseq) != null ? N : 0);
16804
+ var w, P;
16805
+ return ((w = D.srtseq) != null ? w : 0) - ((P = R.srtseq) != null ? P : 0);
16822
16806
  });
16823
16807
  return v === "right" && (u.value = A), createVNode(Table, {
16824
16808
  pagination: !1,
@@ -17092,7 +17076,7 @@ const KgSearch$1 = "", getProps$j = () => ({
17092
17076
  default:
17093
17077
  return !0;
17094
17078
  }
17095
- }), R = computed(() => !!(n.isRetrieving.value || n.isRetrievingVarProfileMaster.value || c.value && !!n.isOtherRequesting.value)), w = computed(() => !!n.isRetrieving.value || !!n.isRetrievingVarProfileMaster.value), N = computed(() => {
17079
+ }), R = computed(() => !!(n.isRetrieving.value || n.isRetrievingVarProfileMaster.value || c.value && !!n.isOtherRequesting.value)), w = computed(() => !!n.isRetrieving.value || !!n.isRetrievingVarProfileMaster.value), P = computed(() => {
17096
17080
  let F = "kg-search";
17097
17081
  return o.value && (F += " kg-search--visible"), c.value && (F += " kg-search--teleport"), F;
17098
17082
  });
@@ -17129,7 +17113,7 @@ const KgSearch$1 = "", getProps$j = () => ({
17129
17113
  }) : await s.store.emit(n.formID, "reset", {});
17130
17114
  }
17131
17115
  s.store.setResetFn(n.formID, V);
17132
- function P() {
17116
+ function N() {
17133
17117
  return O({
17134
17118
  isSearchFirstPage: !0
17135
17119
  }), Promise.resolve(!0);
@@ -17198,7 +17182,7 @@ const KgSearch$1 = "", getProps$j = () => ({
17198
17182
  kgPrimary: D.value,
17199
17183
  kgDisabled: m.value,
17200
17184
  kgLoading: k.value,
17201
- onKgClick: P
17185
+ onKgClick: N
17202
17186
  }, null)]);
17203
17187
  }
17204
17188
  function B() {
@@ -17242,7 +17226,7 @@ const KgSearch$1 = "", getProps$j = () => ({
17242
17226
  kgMinHeight: b.value,
17243
17227
  kgMaxHeight: d.value,
17244
17228
  kgDisabled: !l.value,
17245
- kgClass: N.value,
17229
+ kgClass: P.value,
17246
17230
  "kg-frm_id": n.formID
17247
17231
  }, {
17248
17232
  default: () => [o.value && createVNode("div", {
@@ -17657,11 +17641,11 @@ const KgVarConfigModalVarVarVariableCatalog = defineComponent({
17657
17641
  }, {
17658
17642
  immediate: !0
17659
17643
  }), watch(() => a.getSelectedVarCatalog, async (O) => {
17660
- var V, P;
17661
- l.value.var_text = (V = O == null ? void 0 : O.var_text) != null ? V : "", (P = o.value) == null || P.clearValidate();
17644
+ var V, N;
17645
+ l.value.var_text = (V = O == null ? void 0 : O.var_text) != null ? V : "", (N = o.value) == null || N.clearValidate();
17662
17646
  });
17663
17647
  async function m(O = !1) {
17664
- var V, P, M;
17648
+ var V, N, M;
17665
17649
  n.value = !0;
17666
17650
  try {
17667
17651
  const {
@@ -17683,7 +17667,7 @@ const KgVarConfigModalVarVarVariableCatalog = defineComponent({
17683
17667
  });
17684
17668
  a.setSelectedVarCatalog(L != null ? L : null), d.value = L != null && L.id ? [L.id] : [];
17685
17669
  } else
17686
- a.setSelectedVarCatalog((P = c.value[0]) != null ? P : null), d.value = (M = c.value[0]) != null && M.id ? [c.value[0].id] : [];
17670
+ a.setSelectedVarCatalog((N = c.value[0]) != null ? N : null), d.value = (M = c.value[0]) != null && M.id ? [c.value[0].id] : [];
17687
17671
  } catch (K) {
17688
17672
  KgLogger.debug(K == null ? void 0 : K.message);
17689
17673
  } finally {
@@ -17691,12 +17675,12 @@ const KgVarConfigModalVarVarVariableCatalog = defineComponent({
17691
17675
  }
17692
17676
  }
17693
17677
  async function T() {
17694
- var O, V, P;
17678
+ var O, V, N;
17695
17679
  try {
17696
17680
  s.value = !0, await ((O = o.value) == null ? void 0 : O.validate());
17697
17681
  const M = new VarVariableCatalog({
17698
17682
  ...(V = a.getSelectedVarCatalog) != null ? V : {},
17699
- var_text: (P = l.value) == null ? void 0 : P.var_text
17683
+ var_text: (N = l.value) == null ? void 0 : N.var_text
17700
17684
  });
17701
17685
  M.id ? M.cust_lvl === KG_CUSTOM_LEVEL.L0 ? (M.cust_lvl = KG_CUSTOM_LEVEL.L10, Reflect.deleteProperty(M, "id"), await Add({
17702
17686
  data: M
@@ -17727,11 +17711,11 @@ const KgVarConfigModalVarVarVariableCatalog = defineComponent({
17727
17711
  isAllForm: O,
17728
17712
  isAllLanguage: V
17729
17713
  }) {
17730
- var P, M, K;
17714
+ var N, M, K;
17731
17715
  u.value = new VarVariableCatalog({
17732
17716
  id: "",
17733
17717
  cust_lvl: KG_CUSTOM_LEVEL.L10,
17734
- grp_nam: (P = a.getSelectedVar) == null ? void 0 : P.grp_nam,
17718
+ grp_nam: (N = a.getSelectedVar) == null ? void 0 : N.grp_nam,
17735
17719
  var_nam: (M = a.getSelectedVar) == null ? void 0 : M.var_nam,
17736
17720
  frm_id: O || !(e != null && e.value) ? "ALL" : e == null ? void 0 : e.value,
17737
17721
  locale_id: V ? "ALL" : (K = t.locale) == null ? void 0 : K.value,
@@ -17810,7 +17794,7 @@ const KgVarConfigModalVarVarVariableCatalog = defineComponent({
17810
17794
  }, {
17811
17795
  default: () => [createVNode(Textarea, {
17812
17796
  value: l.value.var_text,
17813
- "onUpdate:value": (P) => l.value.var_text = P,
17797
+ "onUpdate:value": (N) => l.value.var_text = N,
17814
17798
  disabled: !a.getSelectedVarCatalog
17815
17799
  }, null), createVNode("button", {
17816
17800
  hidden: !0
@@ -17832,10 +17816,10 @@ const KgVarConfigModalVarVarVariableCatalog = defineComponent({
17832
17816
  default: () => [V]
17833
17817
  })])]);
17834
17818
  }
17835
- function N(O) {
17836
- var P;
17819
+ function P(O) {
17820
+ var N;
17837
17821
  let V = "";
17838
- return O.id || (V += " ant-table-row-create"), O.id === ((P = a.getSelectedVarCatalog) == null ? void 0 : P.id) && (V += " ant-table-row-selected "), V;
17822
+ return O.id || (V += " ant-table-row-create"), O.id === ((N = a.getSelectedVarCatalog) == null ? void 0 : N.id) && (V += " ant-table-row-selected "), V;
17839
17823
  }
17840
17824
  return () => createVNode("div", {
17841
17825
  class: "kg-var-config-modal--var--var-variable-catalog"
@@ -17851,7 +17835,7 @@ const KgVarConfigModalVarVarVariableCatalog = defineComponent({
17851
17835
  rowKey: "id",
17852
17836
  dataSource: c.value,
17853
17837
  loading: n.value,
17854
- rowClassName: N,
17838
+ rowClassName: P,
17855
17839
  rowSelection: b.value,
17856
17840
  customRow: (O) => ({
17857
17841
  onClick: () => I(O)
@@ -18210,8 +18194,8 @@ const KgWarehouse$1 = "", getProps$a = () => ({
18210
18194
  var A;
18211
18195
  const k = (A = s.value) == null ? void 0 : A.toUpperCase();
18212
18196
  return c.value.filter((C) => {
18213
- var I, D, R, w, N, O;
18214
- return ((D = (I = C.whDsc) == null ? void 0 : I.toUpperCase()) == null ? void 0 : D.includes(k)) || ((w = (R = C.whId) == null ? void 0 : R.toUpperCase()) == null ? void 0 : w.includes(k)) || ((O = (N = C.adrId) == null ? void 0 : N.toUpperCase()) == null ? void 0 : O.includes(k));
18197
+ var I, D, R, w, P, O;
18198
+ return ((D = (I = C.whDsc) == null ? void 0 : I.toUpperCase()) == null ? void 0 : D.includes(k)) || ((w = (R = C.whId) == null ? void 0 : R.toUpperCase()) == null ? void 0 : w.includes(k)) || ((O = (P = C.adrId) == null ? void 0 : P.toUpperCase()) == null ? void 0 : O.includes(k));
18215
18199
  });
18216
18200
  }), d = computed(() => {
18217
18201
  var k;
@@ -18511,24 +18495,24 @@ class KgUtil {
18511
18495
  let R = r ? this.parseParamFromDayJS(g, D, r) : D.format("YYYY-MM-DD HH:mm:ss");
18512
18496
  switch (y) {
18513
18497
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
18514
- let w = R, N = "";
18498
+ let w = R, P = "";
18515
18499
  switch (!0) {
18516
18500
  case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(w): {
18517
- N = D.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
18501
+ P = D.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
18518
18502
  break;
18519
18503
  }
18520
18504
  case /\d\d-\d\d-\d\d/.test(w): {
18521
- w = `${w} 00:00:00`, N = D.add(1, "day").format("YYYY-MM-DD 00:00:00");
18505
+ w = `${w} 00:00:00`, P = D.add(1, "day").format("YYYY-MM-DD 00:00:00");
18522
18506
  break;
18523
18507
  }
18524
18508
  case /\d\d:\d\d:\d\d/.test(w): {
18525
- w = D.format("1900-01-01 HH:mm:ss"), N = D.add(1, "second").format("1900-01-01 HH:mm:ss");
18509
+ w = D.format("1900-01-01 HH:mm:ss"), P = D.add(1, "second").format("1900-01-01 HH:mm:ss");
18526
18510
  break;
18527
18511
  }
18528
18512
  default:
18529
18513
  throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
18530
18514
  }
18531
- R = ` AND (${m} < '${w}' OR ${m} >= '${N}')`;
18515
+ R = ` AND (${m} < '${w}' OR ${m} >= '${P}')`;
18532
18516
  break;
18533
18517
  }
18534
18518
  case KG_DYNAMIC_QUERY_OPERATOR.LT: {
@@ -18551,45 +18535,45 @@ class KgUtil {
18551
18535
  break;
18552
18536
  }
18553
18537
  case KG_DYNAMIC_QUERY_OPERATOR.LTE: {
18554
- let w = R, N = "";
18538
+ let w = R, P = "";
18555
18539
  switch (!0) {
18556
18540
  case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(w): {
18557
- N = D.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
18541
+ P = D.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
18558
18542
  break;
18559
18543
  }
18560
18544
  case /\d\d-\d\d-\d\d/.test(w): {
18561
- N = D.add(1, "day").format("YYYY-MM-DD 00:00:00");
18545
+ P = D.add(1, "day").format("YYYY-MM-DD 00:00:00");
18562
18546
  break;
18563
18547
  }
18564
18548
  case /\d\d:\d\d:\d\d/.test(w): {
18565
- N = D.add(1, "second").format("1900-01-01 HH:mm:ss");
18549
+ P = D.add(1, "second").format("1900-01-01 HH:mm:ss");
18566
18550
  break;
18567
18551
  }
18568
18552
  default:
18569
18553
  throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
18570
18554
  }
18571
- R = ` AND (${m} < '${N}')`;
18555
+ R = ` AND (${m} < '${P}')`;
18572
18556
  break;
18573
18557
  }
18574
18558
  case KG_DYNAMIC_QUERY_OPERATOR.GT: {
18575
- let w = R, N = "";
18559
+ let w = R, P = "";
18576
18560
  switch (!0) {
18577
18561
  case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(w): {
18578
- N = D.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
18562
+ P = D.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
18579
18563
  break;
18580
18564
  }
18581
18565
  case /\d\d-\d\d-\d\d/.test(w): {
18582
- N = D.add(1, "day").format("YYYY-MM-DD 00:00:00");
18566
+ P = D.add(1, "day").format("YYYY-MM-DD 00:00:00");
18583
18567
  break;
18584
18568
  }
18585
18569
  case /\d\d:\d\d:\d\d/.test(w): {
18586
- N = D.add(1, "second").format("1900-01-01 HH:mm:ss");
18570
+ P = D.add(1, "second").format("1900-01-01 HH:mm:ss");
18587
18571
  break;
18588
18572
  }
18589
18573
  default:
18590
18574
  throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
18591
18575
  }
18592
- R = ` AND (${m} >= '${N}')`;
18576
+ R = ` AND (${m} >= '${P}')`;
18593
18577
  break;
18594
18578
  }
18595
18579
  case KG_DYNAMIC_QUERY_OPERATOR.GTE: {
@@ -18613,24 +18597,24 @@ class KgUtil {
18613
18597
  }
18614
18598
  case KG_DYNAMIC_QUERY_OPERATOR.EQ:
18615
18599
  default: {
18616
- let w = R, N = "";
18600
+ let w = R, P = "";
18617
18601
  switch (!0) {
18618
18602
  case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(w): {
18619
- N = D.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
18603
+ P = D.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
18620
18604
  break;
18621
18605
  }
18622
18606
  case /\d\d-\d\d-\d\d/.test(w): {
18623
- w = `${w} 00:00:00`, N = D.add(1, "day").format("YYYY-MM-DD 00:00:00");
18607
+ w = `${w} 00:00:00`, P = D.add(1, "day").format("YYYY-MM-DD 00:00:00");
18624
18608
  break;
18625
18609
  }
18626
18610
  case /\d\d:\d\d:\d\d/.test(w): {
18627
- w = `1900-01-01 ${w}`, N = D.add(1, "second").format("1900-01-01 HH:mm:ss");
18611
+ w = `1900-01-01 ${w}`, P = D.add(1, "second").format("1900-01-01 HH:mm:ss");
18628
18612
  break;
18629
18613
  }
18630
18614
  default:
18631
18615
  throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
18632
18616
  }
18633
- R = ` AND (${m} >= '${w}' AND ${m} < '${N}')`;
18617
+ R = ` AND (${m} >= '${w}' AND ${m} < '${P}')`;
18634
18618
  break;
18635
18619
  }
18636
18620
  }
@@ -18639,26 +18623,26 @@ class KgUtil {
18639
18623
  }
18640
18624
  case (!!n && isArray$1(_) && _.length === 2 && n.isDayjs(_[0]) && n.isDayjs(_[1])): {
18641
18625
  const D = _[0], R = _[1];
18642
- let w = "", N = this.parseParamFromDayJS(g, D, r), O = "";
18626
+ let w = "", P = this.parseParamFromDayJS(g, D, r), O = "";
18643
18627
  switch (!0) {
18644
- case !N: {
18628
+ case !P: {
18645
18629
  O = this.parseParamFromDayJS(g, R, r, !0);
18646
18630
  break;
18647
18631
  }
18648
- case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(N): {
18632
+ case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(P): {
18649
18633
  R.isValid() && (O = R.add(1, "second").format("YYYY-MM-DD HH:mm:ss"));
18650
18634
  break;
18651
18635
  }
18652
- case /\d\d-\d\d-\d\d/.test(N): {
18653
- N = `${N} 00:00:00`, R.isValid() && (O = R.add(1, "day").format("YYYY-MM-DD 00:00:00"));
18636
+ case /\d\d-\d\d-\d\d/.test(P): {
18637
+ P = `${P} 00:00:00`, R.isValid() && (O = R.add(1, "day").format("YYYY-MM-DD 00:00:00"));
18654
18638
  break;
18655
18639
  }
18656
- case /\d\d:\d\d:\d\d/.test(N): {
18657
- N = `1900-01-01 ${N}`, R.isValid() && (O = R.add(1, "second").format("1900-01-01 HH:mm:ss"));
18640
+ case /\d\d:\d\d:\d\d/.test(P): {
18641
+ P = `1900-01-01 ${P}`, R.isValid() && (O = R.add(1, "second").format("1900-01-01 HH:mm:ss"));
18658
18642
  break;
18659
18643
  }
18660
18644
  }
18661
- N && (w += ` AND (${m} >= N'${N}')`), O && (w += ` AND (${m} < N'${O}')`), u[g] = w;
18645
+ P && (w += ` AND (${m} >= N'${P}')`), O && (w += ` AND (${m} < N'${O}')`), u[g] = w;
18662
18646
  break;
18663
18647
  }
18664
18648
  case Array.isArray(_): {
@@ -19955,13 +19939,13 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
19955
19939
  }
19956
19940
  function E(O) {
19957
19941
  const { properties: V = {} } = O;
19958
- Object.entries(V).forEach(([P, M]) => {
19959
- P in n.value.sysPermission && n.value.sysPermission[P] !== M && (n.value.sysPermission[P] = M);
19942
+ Object.entries(V).forEach(([N, M]) => {
19943
+ N in n.value.sysPermission && n.value.sysPermission[N] !== M && (n.value.sysPermission[N] = M);
19960
19944
  });
19961
19945
  }
19962
19946
  function g(O) {
19963
- const { frmId: V, frmNam: P } = O;
19964
- n.value.varDda.frm_id = V, n.value.varDda.frm_nam = P;
19947
+ const { frmId: V, frmNam: N } = O;
19948
+ n.value.varDda.frm_id = V, n.value.varDda.frm_nam = N;
19965
19949
  }
19966
19950
  function v(O) {
19967
19951
  n.value.varButtons = [
@@ -19976,11 +19960,11 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
19976
19960
  ], R(), w();
19977
19961
  }
19978
19962
  function _(O) {
19979
- const { varNam: V, properties: P = {} } = O, M = n.value.varButtons.find((B) => B.var_nam === V);
19963
+ const { varNam: V, properties: N = {} } = O, M = n.value.varButtons.find((B) => B.var_nam === V);
19980
19964
  if (!M)
19981
19965
  return;
19982
19966
  let K = !1;
19983
- if (Object.entries(P).forEach(([B, U]) => {
19967
+ if (Object.entries(N).forEach(([B, U]) => {
19984
19968
  B in M && M[B] !== U && (M[B] = U, K = !0);
19985
19969
  }), !K)
19986
19970
  return;
@@ -19988,17 +19972,17 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
19988
19972
  L.splice(n.value.varButtons.indexOf(M), 1, { ...M }), n.value.varButtons = toRaw(L);
19989
19973
  }
19990
19974
  function y(O) {
19991
- const { varNam: V } = O, P = n.value.varButtons.find((K) => K.var_nam === V);
19992
- if (!P)
19975
+ const { varNam: V } = O, N = n.value.varButtons.find((K) => K.var_nam === V);
19976
+ if (!N)
19993
19977
  return;
19994
19978
  const M = [...n.value.varButtons];
19995
- M.splice(n.value.varButtons.indexOf(P), 1), n.value.varButtons = toRaw(M), R();
19979
+ M.splice(n.value.varButtons.indexOf(N), 1), n.value.varButtons = toRaw(M), R();
19996
19980
  }
19997
19981
  function m(O) {
19998
- const { varNam: V, varText: P } = O;
19982
+ const { varNam: V, varText: N } = O;
19999
19983
  if (!!V) {
20000
19984
  if (n.value.varVariableCatalogs.find((M) => M.var_nam === V)) {
20001
- T({ varNam: V, varText: P });
19985
+ T({ varNam: V, varText: N });
20002
19986
  return;
20003
19987
  }
20004
19988
  n.value.varVariableCatalogs = [
@@ -20009,17 +19993,17 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
20009
19993
  grp_nam: "WMS",
20010
19994
  locale_id: e.locale.value,
20011
19995
  var_nam: V,
20012
- var_text: P || V
19996
+ var_text: N || V
20013
19997
  }
20014
19998
  ], R();
20015
19999
  }
20016
20000
  }
20017
20001
  function T(O) {
20018
- const { varNam: V, varText: P } = O;
20002
+ const { varNam: V, varText: N } = O;
20019
20003
  if (!V)
20020
20004
  return;
20021
20005
  const M = n.value.varVariableCatalogs.find((K) => K.var_nam === V);
20022
- !M || (M.var_text = P || V);
20006
+ !M || (M.var_text = N || V);
20023
20007
  }
20024
20008
  function k(O) {
20025
20009
  n.value.varProfileDetails = O.map((V) => ({
@@ -20062,8 +20046,8 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
20062
20046
  }));
20063
20047
  }
20064
20048
  function D(O) {
20065
- var V, P, M;
20066
- return O && (M = (P = (V = n.value.varVariableCatalogs) == null ? void 0 : V.find((K) => K.var_nam === O)) == null ? void 0 : P.var_text) != null ? M : "";
20049
+ var V, N, M;
20050
+ return O && (M = (N = (V = n.value.varVariableCatalogs) == null ? void 0 : V.find((K) => K.var_nam === O)) == null ? void 0 : N.var_text) != null ? M : "";
20067
20051
  }
20068
20052
  function R() {
20069
20053
  const O = uniq(
@@ -20085,11 +20069,11 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
20085
20069
  function w() {
20086
20070
  var O;
20087
20071
  (O = n.value.varButtons) == null || O.forEach((V) => {
20088
- var P, M;
20089
- V.typDsc = (M = (P = t.value.find((K) => K.codval === V.typ)) == null ? void 0 : P.shortDsc) != null ? M : "";
20072
+ var N, M;
20073
+ V.typDsc = (M = (N = t.value.find((K) => K.codval === V.typ)) == null ? void 0 : N.shortDsc) != null ? M : "";
20090
20074
  });
20091
20075
  }
20092
- async function N() {
20076
+ async function P() {
20093
20077
  const { records: O } = await List$3({
20094
20078
  params: {
20095
20079
  localeId: e.locale.value,
@@ -20100,7 +20084,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
20100
20084
  });
20101
20085
  t.value = O != null ? O : [], w();
20102
20086
  }
20103
- return N(), {
20087
+ return P(), {
20104
20088
  isLoading: r,
20105
20089
  resultSetMetadataColumns: a,
20106
20090
  createVarDdaQuery: n,