@kengic/vue 0.16.6-beta.0 → 0.16.6-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 (2) hide show
  1. package/dist/kengic-vue.js +484 -449
  2. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- var Ve = Object.defineProperty;
2
- var Ne = (e, t, r) => t in e ? Ve(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
1
+ var Pe = Object.defineProperty;
2
+ var Ne = (e, t, r) => t in e ? Pe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var E = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
4
4
  import { h, nextTick, createVNode, defineComponent, getCurrentInstance, inject, markRaw, ref, watch, reactive, effectScope, isRef, isReactive, toRef, toRaw, computed, onUnmounted, toRefs, unref, watchEffect, Fragment, isVNode, createTextVNode, onBeforeUnmount, onMounted, provide, mergeProps, onActivated, onDeactivated, Teleport, getCurrentScope, onScopeDispose } from "vue";
5
5
  import { Spin, message, Tooltip, Select, SelectOption, Button, Modal, Progress, Checkbox, Input, Transfer, Table, Tabs, Dropdown, Menu, Tag, Row, Pagination, TableSummary, Form, Divider, Col, DatePicker, InputNumber, Radio, Switch, Textarea, Drawer, Upload, ConfigProvider, Card, TabPane, Steps } from "ant-design-vue";
@@ -2938,7 +2938,7 @@ const emptyIcon = {
2938
2938
  ...t.data
2939
2939
  }, r);
2940
2940
  }
2941
- }), version = "0.16.6-beta.0", data$1 = {
2941
+ }), version = "0.16.6-beta.2", data$1 = {
2942
2942
  width: 24,
2943
2943
  height: 24,
2944
2944
  body: '<path fill="currentColor" d="M5 21q-.825 0-1.413-.588T3 19V5q0-.825.588-1.413T5 3h11.175q.4 0 .763.15t.637.425l2.85 2.85q.275.275.425.638t.15.762V12.3q-.475-.2-.988-.263T19 12.05V7.825L16.175 5H5v14h6v2H5ZM5 5v14V5Zm8 17v-1.65q0-.2.075-.388t.225-.337l5.225-5.2q.225-.225.5-.325t.55-.1q.3 0 .575.113t.5.337l.925.925q.2.225.313.5t.112.55q0 .275-.1.563t-.325.512l-5.2 5.2q-.15.15-.338.225T15.65 23H14q-.425 0-.712-.287T13 22Zm7.5-5.575l-.925-.925l.925.925Zm-6 5.075h.95l3.025-3.05l-.45-.475l-.475-.45l-3.05 3.025v.95Zm3.525-3.525l-.475-.45l.925.925l-.45-.475ZM7 10h7q.425 0 .713-.288T15 9V7q0-.425-.288-.713T14 6H7q-.425 0-.713.288T6 7v2q0 .425.288.713T7 10Zm5 8h.1l2.9-2.875V15q0-1.25-.875-2.125T12 12q-1.25 0-2.125.875T9 15q0 1.25.875 2.125T12 18Z"/>'
@@ -3071,12 +3071,12 @@ function createSetupStore(e, t, r = {}, a, n) {
3071
3071
  function T(A, O) {
3072
3072
  return function() {
3073
3073
  setActivePinia(a);
3074
- const D = Array.from(arguments), P = [], V = [];
3075
- function H(R) {
3076
- P.push(R);
3074
+ const D = Array.from(arguments), V = [], P = [];
3075
+ function H(K) {
3076
+ V.push(K);
3077
3077
  }
3078
- function N(R) {
3079
- V.push(R);
3078
+ function N(K) {
3079
+ P.push(K);
3080
3080
  }
3081
3081
  triggerSubscriptions(g, {
3082
3082
  args: D,
@@ -3088,10 +3088,10 @@ function createSetupStore(e, t, r = {}, a, n) {
3088
3088
  let M;
3089
3089
  try {
3090
3090
  M = O.apply(this && this.$id === e ? this : C, D);
3091
- } catch (R) {
3092
- throw triggerSubscriptions(V, R), R;
3091
+ } catch (K) {
3092
+ throw triggerSubscriptions(P, K), K;
3093
3093
  }
3094
- return M instanceof Promise ? M.then((R) => (triggerSubscriptions(P, R), R)).catch((R) => (triggerSubscriptions(V, R), Promise.reject(R))) : (triggerSubscriptions(P, M), M);
3094
+ return M instanceof Promise ? M.then((K) => (triggerSubscriptions(V, K), K)).catch((K) => (triggerSubscriptions(P, K), Promise.reject(K))) : (triggerSubscriptions(V, M), M);
3095
3095
  };
3096
3096
  }
3097
3097
  const k = /* @__PURE__ */ markRaw({
@@ -3106,12 +3106,12 @@ function createSetupStore(e, t, r = {}, a, n) {
3106
3106
  $patch: _,
3107
3107
  $reset: m,
3108
3108
  $subscribe(A, O = {}) {
3109
- const D = addSubscription(d, A, O.detached, () => P()), P = s.run(() => watch(() => a.state.value[e], (V) => {
3109
+ const D = addSubscription(d, A, O.detached, () => V()), V = s.run(() => watch(() => a.state.value[e], (P) => {
3110
3110
  (O.flush === "sync" ? c : u) && A({
3111
3111
  storeId: e,
3112
3112
  type: MutationType.direct,
3113
3113
  events: v
3114
- }, V);
3114
+ }, P);
3115
3115
  }, assign$1({}, i, O)));
3116
3116
  return D;
3117
3117
  },
@@ -3148,8 +3148,8 @@ function createSetupStore(e, t, r = {}, a, n) {
3148
3148
  C._hotUpdate = markRaw((O) => {
3149
3149
  C._hotUpdating = !0, O._hmrPayload.state.forEach((D) => {
3150
3150
  if (D in C.$state) {
3151
- const P = O.$state[D], V = C.$state[D];
3152
- typeof P == "object" && isPlainObject(P) && isPlainObject(V) ? patchObject(P, V) : O.$state[D] = V;
3151
+ const V = O.$state[D], P = C.$state[D];
3152
+ typeof V == "object" && isPlainObject(V) && isPlainObject(P) ? patchObject(V, P) : O.$state[D] = P;
3153
3153
  }
3154
3154
  set(C, D, toRef(O.$state, D));
3155
3155
  }), Object.keys(C.$state).forEach((D) => {
@@ -3158,12 +3158,12 @@ function createSetupStore(e, t, r = {}, a, n) {
3158
3158
  u = !0;
3159
3159
  });
3160
3160
  for (const D in O._hmrPayload.actions) {
3161
- const P = O[D];
3162
- set(C, D, T(D, P));
3161
+ const V = O[D];
3162
+ set(C, D, T(D, V));
3163
3163
  }
3164
3164
  for (const D in O._hmrPayload.getters) {
3165
- const P = O._hmrPayload.getters[D], V = l ? computed(() => (setActivePinia(a), P.call(C, C))) : P;
3166
- set(C, D, V);
3165
+ const V = O._hmrPayload.getters[D], P = l ? computed(() => (setActivePinia(a), V.call(C, C))) : V;
3166
+ set(C, D, P);
3167
3167
  }
3168
3168
  Object.keys(C._hmrPayload.getters).forEach((D) => {
3169
3169
  D in O._hmrPayload.getters || del(C, D);
@@ -5125,7 +5125,7 @@ class KgRouteUtil {
5125
5125
  }), t;
5126
5126
  }
5127
5127
  static transformMenus(t) {
5128
- var u, c, d, g, v, y, b, _, m, p, T, k, I, C, w, A, O, D, P, V, H, N, M, R;
5128
+ var u, c, d, g, v, y, b, _, m, p, T, k, I, C, w, A, O, D, V, P, H, N, M, K;
5129
5129
  if (!t)
5130
5130
  return [];
5131
5131
  const r = useKg(), a = {
@@ -5183,9 +5183,9 @@ class KgRouteUtil {
5183
5183
  }, o = {
5184
5184
  id: KG_TMP_MENU_ID__SYS,
5185
5185
  key: KG_TMP_MENU_ID__SYS,
5186
- title: (V = (P = r.option.value.appTitle) == null ? void 0 : P[KG_APP.SYS]) != null ? V : "\u7CFB\u7EDF\u914D\u7F6E",
5186
+ title: (P = (V = r.option.value.appTitle) == null ? void 0 : V[KG_APP.SYS]) != null ? P : "\u7CFB\u7EDF\u914D\u7F6E",
5187
5187
  name: (N = (H = r.option.value.appTitle) == null ? void 0 : H[KG_APP.SYS]) != null ? N : "\u7CFB\u7EDF\u914D\u7F6E",
5188
- slotTitle: (R = (M = r.option.value.appTitle) == null ? void 0 : M[KG_APP.SYS]) != null ? R : "\u7CFB\u7EDF\u914D\u7F6E",
5188
+ slotTitle: (K = (M = r.option.value.appTitle) == null ? void 0 : M[KG_APP.SYS]) != null ? K : "\u7CFB\u7EDF\u914D\u7F6E",
5189
5189
  sortNo: 4,
5190
5190
  children: [],
5191
5191
  ...a
@@ -5199,22 +5199,22 @@ class KgRouteUtil {
5199
5199
  children: [],
5200
5200
  ...a
5201
5201
  };
5202
- return t.forEach((K) => {
5202
+ return t.forEach((R) => {
5203
5203
  switch (!0) {
5204
- case K.app === "PDA":
5205
- K.parentId = KG_TMP_MENU_ID__PDA, i.children.push(K);
5204
+ case R.app === "PDA":
5205
+ R.parentId = KG_TMP_MENU_ID__PDA, i.children.push(R);
5206
5206
  break;
5207
- case KgRouteUtil.isPathInApp(K.url, KG_APP.WMS_DATA_MANAGER):
5208
- K.parentId = KG_TMP_MENU_ID__DATA_MANAGER, n.children.push(K);
5207
+ case KgRouteUtil.isPathInApp(R.url, KG_APP.WMS_DATA_MANAGER):
5208
+ R.parentId = KG_TMP_MENU_ID__DATA_MANAGER, n.children.push(R);
5209
5209
  break;
5210
- case KgRouteUtil.isPathInApp(K.url, KG_APP.WMS_BUSINESS_MANAGER):
5211
- K.parentId = KG_TMP_MENU_ID__BUSINESS_MANAGER, s.children.push(K);
5210
+ case KgRouteUtil.isPathInApp(R.url, KG_APP.WMS_BUSINESS_MANAGER):
5211
+ R.parentId = KG_TMP_MENU_ID__BUSINESS_MANAGER, s.children.push(R);
5212
5212
  break;
5213
- case KgRouteUtil.isPathInApp(K.url, KG_APP.WCS):
5214
- K.parentId = KG_TMP_MENU_ID__WCS, l.children.push(K);
5213
+ case KgRouteUtil.isPathInApp(R.url, KG_APP.WCS):
5214
+ R.parentId = KG_TMP_MENU_ID__WCS, l.children.push(R);
5215
5215
  break;
5216
- case KgRouteUtil.isPathInApp(K.url, KG_APP.SYS):
5217
- K.parentId = KG_TMP_MENU_ID__SYS, o.children.push(K);
5216
+ case KgRouteUtil.isPathInApp(R.url, KG_APP.SYS):
5217
+ R.parentId = KG_TMP_MENU_ID__SYS, o.children.push(R);
5218
5218
  break;
5219
5219
  }
5220
5220
  }), [n, s, l, o, i];
@@ -5305,19 +5305,19 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5305
5305
  e.exports = a();
5306
5306
  })(commonjsGlobal, function() {
5307
5307
  var r = 1e3, a = 6e4, n = 36e5, s = "millisecond", l = "second", o = "minute", i = "hour", u = "day", c = "week", d = "month", g = "quarter", v = "year", y = "date", b = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, m = /\[([^\]]+)]|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, p = { 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) {
5308
- var M = ["th", "st", "nd", "rd"], R = N % 100;
5309
- return "[" + N + (M[(R - 20) % 10] || M[R] || M[0]) + "]";
5310
- } }, T = function(N, M, R) {
5311
- var K = String(N);
5312
- return !K || K.length >= M ? N : "" + Array(M + 1 - K.length).join(R) + N;
5308
+ var M = ["th", "st", "nd", "rd"], K = N % 100;
5309
+ return "[" + N + (M[(K - 20) % 10] || M[K] || M[0]) + "]";
5310
+ } }, T = function(N, M, K) {
5311
+ var R = String(N);
5312
+ return !R || R.length >= M ? N : "" + Array(M + 1 - R.length).join(K) + N;
5313
5313
  }, k = { s: T, z: function(N) {
5314
- var M = -N.utcOffset(), R = Math.abs(M), K = Math.floor(R / 60), L = R % 60;
5315
- return (M <= 0 ? "+" : "-") + T(K, 2, "0") + ":" + T(L, 2, "0");
5316
- }, m: function N(M, R) {
5317
- if (M.date() < R.date())
5318
- return -N(R, M);
5319
- var K = 12 * (R.year() - M.year()) + (R.month() - M.month()), L = M.clone().add(K, d), B = R - L < 0, $ = M.clone().add(K + (B ? -1 : 1), d);
5320
- return +(-(K + (R - L) / (B ? L - $ : $ - L)) || 0);
5314
+ var M = -N.utcOffset(), K = Math.abs(M), R = Math.floor(K / 60), L = K % 60;
5315
+ return (M <= 0 ? "+" : "-") + T(R, 2, "0") + ":" + T(L, 2, "0");
5316
+ }, m: function N(M, K) {
5317
+ if (M.date() < K.date())
5318
+ return -N(K, M);
5319
+ var R = 12 * (K.year() - M.year()) + (K.month() - M.month()), L = M.clone().add(R, d), B = K - L < 0, $ = M.clone().add(R + (B ? -1 : 1), d);
5320
+ return +(-(R + (K - L) / (B ? L - $ : $ - L)) || 0);
5321
5321
  }, a: function(N) {
5322
5322
  return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
5323
5323
  }, p: function(N) {
@@ -5327,14 +5327,14 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5327
5327
  } }, I = "en", C = {};
5328
5328
  C[I] = p;
5329
5329
  var w = "$isDayjsObject", A = function(N) {
5330
- return N instanceof V || !(!N || !N[w]);
5331
- }, O = function N(M, R, K) {
5330
+ return N instanceof P || !(!N || !N[w]);
5331
+ }, O = function N(M, K, R) {
5332
5332
  var L;
5333
5333
  if (!M)
5334
5334
  return I;
5335
5335
  if (typeof M == "string") {
5336
5336
  var B = M.toLowerCase();
5337
- C[B] && (L = B), R && (C[B] = R, L = B);
5337
+ C[B] && (L = B), K && (C[B] = K, L = B);
5338
5338
  var $ = M.split("-");
5339
5339
  if (!L && $.length > 1)
5340
5340
  return N($[0]);
@@ -5342,27 +5342,27 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5342
5342
  var x = M.name;
5343
5343
  C[x] = M, L = x;
5344
5344
  }
5345
- return !K && L && (I = L), L || !K && I;
5345
+ return !R && L && (I = L), L || !R && I;
5346
5346
  }, D = function(N, M) {
5347
5347
  if (A(N))
5348
5348
  return N.clone();
5349
- var R = typeof M == "object" ? M : {};
5350
- return R.date = N, R.args = arguments, new V(R);
5351
- }, P = k;
5352
- P.l = O, P.i = A, P.w = function(N, M) {
5349
+ var K = typeof M == "object" ? M : {};
5350
+ return K.date = N, K.args = arguments, new P(K);
5351
+ }, V = k;
5352
+ V.l = O, V.i = A, V.w = function(N, M) {
5353
5353
  return D(N, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
5354
5354
  };
5355
- var V = function() {
5356
- function N(R) {
5357
- this.$L = O(R.locale, null, !0), this.parse(R), this.$x = this.$x || R.x || {}, this[w] = !0;
5355
+ var P = function() {
5356
+ function N(K) {
5357
+ this.$L = O(K.locale, null, !0), this.parse(K), this.$x = this.$x || K.x || {}, this[w] = !0;
5358
5358
  }
5359
5359
  var M = N.prototype;
5360
- return M.parse = function(R) {
5361
- this.$d = function(K) {
5362
- var L = K.date, B = K.utc;
5360
+ return M.parse = function(K) {
5361
+ this.$d = function(R) {
5362
+ var L = R.date, B = R.utc;
5363
5363
  if (L === null)
5364
5364
  return new Date(NaN);
5365
- if (P.u(L))
5365
+ if (V.u(L))
5366
5366
  return new Date();
5367
5367
  if (L instanceof Date)
5368
5368
  return new Date(L);
@@ -5374,130 +5374,130 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5374
5374
  }
5375
5375
  }
5376
5376
  return new Date(L);
5377
- }(R), this.init();
5377
+ }(K), this.init();
5378
5378
  }, M.init = function() {
5379
- var R = this.$d;
5380
- this.$y = R.getFullYear(), this.$M = R.getMonth(), this.$D = R.getDate(), this.$W = R.getDay(), this.$H = R.getHours(), this.$m = R.getMinutes(), this.$s = R.getSeconds(), this.$ms = R.getMilliseconds();
5379
+ var K = this.$d;
5380
+ 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();
5381
5381
  }, M.$utils = function() {
5382
- return P;
5382
+ return V;
5383
5383
  }, M.isValid = function() {
5384
5384
  return this.$d.toString() !== b;
5385
- }, M.isSame = function(R, K) {
5386
- var L = D(R);
5387
- return this.startOf(K) <= L && L <= this.endOf(K);
5388
- }, M.isAfter = function(R, K) {
5389
- return D(R) < this.startOf(K);
5390
- }, M.isBefore = function(R, K) {
5391
- return this.endOf(K) < D(R);
5392
- }, M.$g = function(R, K, L) {
5393
- return P.u(R) ? this[K] : this.set(L, R);
5385
+ }, M.isSame = function(K, R) {
5386
+ var L = D(K);
5387
+ return this.startOf(R) <= L && L <= this.endOf(R);
5388
+ }, M.isAfter = function(K, R) {
5389
+ return D(K) < this.startOf(R);
5390
+ }, M.isBefore = function(K, R) {
5391
+ return this.endOf(R) < D(K);
5392
+ }, M.$g = function(K, R, L) {
5393
+ return V.u(K) ? this[R] : this.set(L, K);
5394
5394
  }, M.unix = function() {
5395
5395
  return Math.floor(this.valueOf() / 1e3);
5396
5396
  }, M.valueOf = function() {
5397
5397
  return this.$d.getTime();
5398
- }, M.startOf = function(R, K) {
5399
- var L = this, B = !!P.u(K) || K, $ = P.p(R), x = function(fe, ae) {
5400
- var F = P.w(L.$u ? Date.UTC(L.$y, ae, fe) : new Date(L.$y, ae, fe), L);
5398
+ }, M.startOf = function(K, R) {
5399
+ var L = this, B = !!V.u(R) || R, $ = V.p(K), x = function(fe, ae) {
5400
+ var F = V.w(L.$u ? Date.UTC(L.$y, ae, fe) : new Date(L.$y, ae, fe), L);
5401
5401
  return B ? F : F.endOf(u);
5402
5402
  }, W = function(fe, ae) {
5403
- return P.w(L.toDate()[fe].apply(L.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), L);
5404
- }, z = this.$W, J = this.$M, X = this.$D, ee = "set" + (this.$u ? "UTC" : "");
5403
+ return V.w(L.toDate()[fe].apply(L.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), L);
5404
+ }, Q = this.$W, J = this.$M, X = this.$D, te = "set" + (this.$u ? "UTC" : "");
5405
5405
  switch ($) {
5406
5406
  case v:
5407
5407
  return B ? x(1, 0) : x(31, 11);
5408
5408
  case d:
5409
5409
  return B ? x(1, J) : x(0, J + 1);
5410
5410
  case c:
5411
- var ie = this.$locale().weekStart || 0, pe = (z < ie ? z + 7 : z) - ie;
5411
+ var ie = this.$locale().weekStart || 0, pe = (Q < ie ? Q + 7 : Q) - ie;
5412
5412
  return x(B ? X - pe : X + (6 - pe), J);
5413
5413
  case u:
5414
5414
  case y:
5415
- return W(ee + "Hours", 0);
5415
+ return W(te + "Hours", 0);
5416
5416
  case i:
5417
- return W(ee + "Minutes", 1);
5417
+ return W(te + "Minutes", 1);
5418
5418
  case o:
5419
- return W(ee + "Seconds", 2);
5419
+ return W(te + "Seconds", 2);
5420
5420
  case l:
5421
- return W(ee + "Milliseconds", 3);
5421
+ return W(te + "Milliseconds", 3);
5422
5422
  default:
5423
5423
  return this.clone();
5424
5424
  }
5425
- }, M.endOf = function(R) {
5426
- return this.startOf(R, !1);
5427
- }, M.$set = function(R, K) {
5428
- var L, B = P.p(R), $ = "set" + (this.$u ? "UTC" : ""), x = (L = {}, L[u] = $ + "Date", L[y] = $ + "Date", L[d] = $ + "Month", L[v] = $ + "FullYear", L[i] = $ + "Hours", L[o] = $ + "Minutes", L[l] = $ + "Seconds", L[s] = $ + "Milliseconds", L)[B], W = B === u ? this.$D + (K - this.$W) : K;
5425
+ }, M.endOf = function(K) {
5426
+ return this.startOf(K, !1);
5427
+ }, M.$set = function(K, R) {
5428
+ var L, B = V.p(K), $ = "set" + (this.$u ? "UTC" : ""), x = (L = {}, L[u] = $ + "Date", L[y] = $ + "Date", L[d] = $ + "Month", L[v] = $ + "FullYear", L[i] = $ + "Hours", L[o] = $ + "Minutes", L[l] = $ + "Seconds", L[s] = $ + "Milliseconds", L)[B], W = B === u ? this.$D + (R - this.$W) : R;
5429
5429
  if (B === d || B === v) {
5430
- var z = this.clone().set(y, 1);
5431
- z.$d[x](W), z.init(), this.$d = z.set(y, Math.min(this.$D, z.daysInMonth())).$d;
5430
+ var Q = this.clone().set(y, 1);
5431
+ Q.$d[x](W), Q.init(), this.$d = Q.set(y, Math.min(this.$D, Q.daysInMonth())).$d;
5432
5432
  } else
5433
5433
  x && this.$d[x](W);
5434
5434
  return this.init(), this;
5435
- }, M.set = function(R, K) {
5436
- return this.clone().$set(R, K);
5437
- }, M.get = function(R) {
5438
- return this[P.p(R)]();
5439
- }, M.add = function(R, K) {
5435
+ }, M.set = function(K, R) {
5436
+ return this.clone().$set(K, R);
5437
+ }, M.get = function(K) {
5438
+ return this[V.p(K)]();
5439
+ }, M.add = function(K, R) {
5440
5440
  var L, B = this;
5441
- R = Number(R);
5442
- var $ = P.p(K), x = function(J) {
5441
+ K = Number(K);
5442
+ var $ = V.p(R), x = function(J) {
5443
5443
  var X = D(B);
5444
- return P.w(X.date(X.date() + Math.round(J * R)), B);
5444
+ return V.w(X.date(X.date() + Math.round(J * K)), B);
5445
5445
  };
5446
5446
  if ($ === d)
5447
- return this.set(d, this.$M + R);
5447
+ return this.set(d, this.$M + K);
5448
5448
  if ($ === v)
5449
- return this.set(v, this.$y + R);
5449
+ return this.set(v, this.$y + K);
5450
5450
  if ($ === u)
5451
5451
  return x(1);
5452
5452
  if ($ === c)
5453
5453
  return x(7);
5454
- var W = (L = {}, L[o] = a, L[i] = n, L[l] = r, L)[$] || 1, z = this.$d.getTime() + R * W;
5455
- return P.w(z, this);
5456
- }, M.subtract = function(R, K) {
5457
- return this.add(-1 * R, K);
5458
- }, M.format = function(R) {
5459
- var K = this, L = this.$locale();
5454
+ var W = (L = {}, L[o] = a, L[i] = n, L[l] = r, L)[$] || 1, Q = this.$d.getTime() + K * W;
5455
+ return V.w(Q, this);
5456
+ }, M.subtract = function(K, R) {
5457
+ return this.add(-1 * K, R);
5458
+ }, M.format = function(K) {
5459
+ var R = this, L = this.$locale();
5460
5460
  if (!this.isValid())
5461
5461
  return L.invalidDate || b;
5462
- var B = R || "YYYY-MM-DDTHH:mm:ssZ", $ = P.z(this), x = this.$H, W = this.$m, z = this.$M, J = L.weekdays, X = L.months, ee = L.meridiem, ie = function(ae, F, G, Q) {
5463
- return ae && (ae[F] || ae(K, B)) || G[F].slice(0, Q);
5462
+ var B = K || "YYYY-MM-DDTHH:mm:ssZ", $ = V.z(this), x = this.$H, W = this.$m, Q = this.$M, J = L.weekdays, X = L.months, te = L.meridiem, ie = function(ae, F, G, z) {
5463
+ return ae && (ae[F] || ae(R, B)) || G[F].slice(0, z);
5464
5464
  }, pe = function(ae) {
5465
- return P.s(x % 12 || 12, ae, "0");
5466
- }, fe = ee || function(ae, F, G) {
5467
- var Q = ae < 12 ? "AM" : "PM";
5468
- return G ? Q.toLowerCase() : Q;
5465
+ return V.s(x % 12 || 12, ae, "0");
5466
+ }, fe = te || function(ae, F, G) {
5467
+ var z = ae < 12 ? "AM" : "PM";
5468
+ return G ? z.toLowerCase() : z;
5469
5469
  };
5470
5470
  return B.replace(m, function(ae, F) {
5471
5471
  return F || function(G) {
5472
5472
  switch (G) {
5473
5473
  case "YY":
5474
- return String(K.$y).slice(-2);
5474
+ return String(R.$y).slice(-2);
5475
5475
  case "YYYY":
5476
- return P.s(K.$y, 4, "0");
5476
+ return V.s(R.$y, 4, "0");
5477
5477
  case "M":
5478
- return z + 1;
5478
+ return Q + 1;
5479
5479
  case "MM":
5480
- return P.s(z + 1, 2, "0");
5480
+ return V.s(Q + 1, 2, "0");
5481
5481
  case "MMM":
5482
- return ie(L.monthsShort, z, X, 3);
5482
+ return ie(L.monthsShort, Q, X, 3);
5483
5483
  case "MMMM":
5484
- return ie(X, z);
5484
+ return ie(X, Q);
5485
5485
  case "D":
5486
- return K.$D;
5486
+ return R.$D;
5487
5487
  case "DD":
5488
- return P.s(K.$D, 2, "0");
5488
+ return V.s(R.$D, 2, "0");
5489
5489
  case "d":
5490
- return String(K.$W);
5490
+ return String(R.$W);
5491
5491
  case "dd":
5492
- return ie(L.weekdaysMin, K.$W, J, 2);
5492
+ return ie(L.weekdaysMin, R.$W, J, 2);
5493
5493
  case "ddd":
5494
- return ie(L.weekdaysShort, K.$W, J, 3);
5494
+ return ie(L.weekdaysShort, R.$W, J, 3);
5495
5495
  case "dddd":
5496
- return J[K.$W];
5496
+ return J[R.$W];
5497
5497
  case "H":
5498
5498
  return String(x);
5499
5499
  case "HH":
5500
- return P.s(x, 2, "0");
5500
+ return V.s(x, 2, "0");
5501
5501
  case "h":
5502
5502
  return pe(1);
5503
5503
  case "hh":
@@ -5509,13 +5509,13 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5509
5509
  case "m":
5510
5510
  return String(W);
5511
5511
  case "mm":
5512
- return P.s(W, 2, "0");
5512
+ return V.s(W, 2, "0");
5513
5513
  case "s":
5514
- return String(K.$s);
5514
+ return String(R.$s);
5515
5515
  case "ss":
5516
- return P.s(K.$s, 2, "0");
5516
+ return V.s(R.$s, 2, "0");
5517
5517
  case "SSS":
5518
- return P.s(K.$ms, 3, "0");
5518
+ return V.s(R.$ms, 3, "0");
5519
5519
  case "Z":
5520
5520
  return $;
5521
5521
  }
@@ -5524,9 +5524,9 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5524
5524
  });
5525
5525
  }, M.utcOffset = function() {
5526
5526
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5527
- }, M.diff = function(R, K, L) {
5528
- var B, $ = this, x = P.p(K), W = D(R), z = (W.utcOffset() - this.utcOffset()) * a, J = this - W, X = function() {
5529
- return P.m($, W);
5527
+ }, M.diff = function(K, R, L) {
5528
+ var B, $ = this, x = V.p(R), W = D(K), Q = (W.utcOffset() - this.utcOffset()) * a, J = this - W, X = function() {
5529
+ return V.m($, W);
5530
5530
  };
5531
5531
  switch (x) {
5532
5532
  case v:
@@ -5539,10 +5539,10 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5539
5539
  B = X() / 3;
5540
5540
  break;
5541
5541
  case c:
5542
- B = (J - z) / 6048e5;
5542
+ B = (J - Q) / 6048e5;
5543
5543
  break;
5544
5544
  case u:
5545
- B = (J - z) / 864e5;
5545
+ B = (J - Q) / 864e5;
5546
5546
  break;
5547
5547
  case i:
5548
5548
  B = J / n;
@@ -5556,18 +5556,18 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5556
5556
  default:
5557
5557
  B = J;
5558
5558
  }
5559
- return L ? B : P.a(B);
5559
+ return L ? B : V.a(B);
5560
5560
  }, M.daysInMonth = function() {
5561
5561
  return this.endOf(d).$D;
5562
5562
  }, M.$locale = function() {
5563
5563
  return C[this.$L];
5564
- }, M.locale = function(R, K) {
5565
- if (!R)
5564
+ }, M.locale = function(K, R) {
5565
+ if (!K)
5566
5566
  return this.$L;
5567
- var L = this.clone(), B = O(R, K, !0);
5567
+ var L = this.clone(), B = O(K, R, !0);
5568
5568
  return B && (L.$L = B), L;
5569
5569
  }, M.clone = function() {
5570
- return P.w(this.$d, this);
5570
+ return V.w(this.$d, this);
5571
5571
  }, M.toDate = function() {
5572
5572
  return new Date(this.valueOf());
5573
5573
  }, M.toJSON = function() {
@@ -5577,13 +5577,13 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5577
5577
  }, M.toString = function() {
5578
5578
  return this.$d.toUTCString();
5579
5579
  }, N;
5580
- }(), H = V.prototype;
5580
+ }(), H = P.prototype;
5581
5581
  return D.prototype = H, [["$ms", s], ["$s", l], ["$m", o], ["$H", i], ["$W", u], ["$M", d], ["$y", v], ["$D", y]].forEach(function(N) {
5582
5582
  H[N[1]] = function(M) {
5583
5583
  return this.$g(M, N[0], N[1]);
5584
5584
  };
5585
5585
  }), D.extend = function(N, M) {
5586
- return N.$i || (N(M, V, D), N.$i = !0), D;
5586
+ return N.$i || (N(M, P, D), N.$i = !0), D;
5587
5587
  }, D.locale = O, D.isDayjs = A, D.unix = function(N) {
5588
5588
  return D(1e3 * N);
5589
5589
  }, D.en = C[I], D.Ls = C, D.p = {}, D;
@@ -5648,8 +5648,8 @@ function filesize(e, {
5648
5648
  T[0] = O(k * D) / D, T[0] === C && m < 8 && y === -1 && (T[0] = 1, m++), I = T[1] = a === 10 && m === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[c][t ? BITS : BYTES][m];
5649
5649
  }
5650
5650
  if (A && (T[0] = -T[0]), _ > 0 && (T[0] = T[0].toPrecision(_)), T[1] = u[T[1]] || T[1], s === !0 ? T[0] = T[0].toLocaleString() : s.length > 0 ? T[0] = T[0].toLocaleString(s, l) : o.length > 0 && (T[0] = T[0].toString().replace(PERIOD, o)), r && Number.isInteger(T[0]) === !1 && n > 0) {
5651
- const D = o || PERIOD, P = T[0].toString().split(D), V = P[1] || EMPTY, H = V.length, N = n - H;
5652
- T[0] = `${P[0]}${D}${V.padEnd(H + N, ZERO)}`;
5651
+ const D = o || PERIOD, V = T[0].toString().split(D), P = V[1] || EMPTY, H = P.length, N = n - H;
5652
+ T[0] = `${V[0]}${D}${P.padEnd(H + N, ZERO)}`;
5653
5653
  }
5654
5654
  return w && (T[1] = v[m] ? v[m] : STRINGS.fullform[c][m] + (t ? BIT : BYTE) + (T[0] === 1 ? EMPTY : S)), d === ARRAY ? T : d === OBJECT ? {
5655
5655
  value: T[0],
@@ -7795,8 +7795,8 @@ const KgTable_Setting = "", FORM_ID__VAR_GRID_CONFIG = "kg-table.VarGridConfig",
7795
7795
  }) => (i.value = o.value ? [o.value] : [], !0), !0), s.onOpen(async ({
7796
7796
  model: i
7797
7797
  }) => (n = watch(i, (u) => {
7798
- var c, d, g, v, y, b, _, m, p, T, k, I, C, w, A, O, D, P, V, H, N, M;
7799
- u && (u.id = (d = (c = o.value) == null ? void 0 : c.id) != null ? d : null, u.frm_id = t == null ? void 0 : t.formID, u.aut_load_flg = (v = (g = o.value) == null ? void 0 : g.aut_load_flg) != null ? v : 0, u.mult_flg = (b = (y = o.value) == null ? void 0 : y.mult_flg) != null ? b : 0, u.show_check_column_flg = (m = (_ = o.value) == null ? void 0 : _.show_check_column_flg) != null ? m : 0, u.show_bottom_left_flg = (T = (p = o.value) == null ? void 0 : p.show_bottom_left_flg) != null ? T : 1, u.show_bottom_right_flg = (I = (k = o.value) == null ? void 0 : k.show_bottom_right_flg) != null ? I : 1, u.convert_sort_field_to_under_score_flg = (w = (C = o.value) == null ? void 0 : C.convert_sort_field_to_under_score_flg) != null ? w : 0, u.pg_size_opts = (O = (A = o.value) == null ? void 0 : A.pg_size_opts) != null ? O : "[10, 20, 50, 100]", u.pg_size_opt = (P = (D = o.value) == null ? void 0 : D.pg_size_opt) != null ? P : 10, u.cmd_prm = (H = (V = o.value) == null ? void 0 : V.cmd_prm) != null ? H : void 0, u.button_display_type = (M = (N = o.value) == null ? void 0 : N.button_display_type) != null ? M : KG_BUTTON_DISPLAY_TYPE.DEFAULT);
7798
+ var c, d, g, v, y, b, _, m, p, T, k, I, C, w, A, O, D, V, P, H, N, M;
7799
+ u && (u.id = (d = (c = o.value) == null ? void 0 : c.id) != null ? d : null, u.frm_id = t == null ? void 0 : t.formID, u.aut_load_flg = (v = (g = o.value) == null ? void 0 : g.aut_load_flg) != null ? v : 0, u.mult_flg = (b = (y = o.value) == null ? void 0 : y.mult_flg) != null ? b : 0, u.show_check_column_flg = (m = (_ = o.value) == null ? void 0 : _.show_check_column_flg) != null ? m : 0, u.show_bottom_left_flg = (T = (p = o.value) == null ? void 0 : p.show_bottom_left_flg) != null ? T : 1, u.show_bottom_right_flg = (I = (k = o.value) == null ? void 0 : k.show_bottom_right_flg) != null ? I : 1, u.convert_sort_field_to_under_score_flg = (w = (C = o.value) == null ? void 0 : C.convert_sort_field_to_under_score_flg) != null ? w : 0, u.pg_size_opts = (O = (A = o.value) == null ? void 0 : A.pg_size_opts) != null ? O : "[10, 20, 50, 100]", u.pg_size_opt = (V = (D = o.value) == null ? void 0 : D.pg_size_opt) != null ? V : 10, u.cmd_prm = (H = (P = o.value) == null ? void 0 : P.cmd_prm) != null ? H : void 0, u.button_display_type = (M = (N = o.value) == null ? void 0 : N.button_display_type) != null ? M : KG_BUTTON_DISPLAY_TYPE.DEFAULT);
7800
7800
  }, {
7801
7801
  immediate: !0
7802
7802
  }), KgUtil.hideLoading(), !1)), s.onClose(async () => (n == null || n(), !1)), s.onBeforeOk(async ({
@@ -8702,7 +8702,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$E = () => ({
8702
8702
  row: I,
8703
8703
  model: C
8704
8704
  }) => {
8705
- var A, O, D, P, V;
8705
+ var A, O, D, V, P;
8706
8706
  const w = a.store.getSystemVarGridDetails(a.formID);
8707
8707
  switch (u.value = w ? cloneDeep(unref(toRaw(w))) : [], !0) {
8708
8708
  case p: {
@@ -8720,11 +8720,11 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$E = () => ({
8720
8720
  }
8721
8721
  });
8722
8722
  u.value = u.value.map((M) => {
8723
- var K;
8724
- const R = (K = H == null ? void 0 : H.varGridDetails) == null ? void 0 : K.find((L) => L.var_nam === M.var_nam);
8725
- return R ? {
8723
+ var R;
8724
+ const K = (R = H == null ? void 0 : H.varGridDetails) == null ? void 0 : R.find((L) => L.var_nam === M.var_nam);
8725
+ return K ? {
8726
8726
  ...M,
8727
- ...R,
8727
+ ...K,
8728
8728
  id: M.id
8729
8729
  } : M;
8730
8730
  });
@@ -8742,7 +8742,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$E = () => ({
8742
8742
  }
8743
8743
  switch (!0) {
8744
8744
  case k: {
8745
- C.value.grd_var_nam = ((D = C.value.grd_var_nam) != null ? D : "") + "_COPY", C.value.grd_var_nam_dsc = ((V = (P = C.value.grd_var_nam_dsc) != null ? P : C.value.grd_var_nam) != null ? V : "") + "_COPY";
8745
+ C.value.grd_var_nam = ((D = C.value.grd_var_nam) != null ? D : "") + "_COPY", C.value.grd_var_nam_dsc = ((P = (V = C.value.grd_var_nam_dsc) != null ? V : C.value.grd_var_nam) != null ? P : "") + "_COPY";
8746
8746
  break;
8747
8747
  }
8748
8748
  }
@@ -8816,8 +8816,8 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$E = () => ({
8816
8816
  onItemSelect: w
8817
8817
  }) => {
8818
8818
  const A = T.sort((O, D) => {
8819
- var P, V;
8820
- return ((P = O.srtseq) != null ? P : 0) - ((V = D.srtseq) != null ? V : 0);
8819
+ var V, P;
8820
+ return ((V = O.srtseq) != null ? V : 0) - ((P = D.srtseq) != null ? P : 0);
8821
8821
  });
8822
8822
  return d.value = A, createVNode(Table, {
8823
8823
  pagination: !1,
@@ -8832,7 +8832,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$E = () => ({
8832
8832
  dataSource: A,
8833
8833
  customRow: (O) => {
8834
8834
  let D = {
8835
- onClick: (P) => m(P, O, p, k)
8835
+ onClick: (V) => m(V, O, p, k)
8836
8836
  };
8837
8837
  return p === "right" && (D["kg-host-frm_id"] = a.formID, D["kg-var_nam"] = O.var_nam), D;
8838
8838
  },
@@ -9158,7 +9158,7 @@ const getProps$B = () => ({
9158
9158
  popupClassName: "kg-table-setting--submenu-popup--row-height"
9159
9159
  }, {
9160
9160
  default: () => {
9161
- let O, D, P;
9161
+ let O, D, V;
9162
9162
  return createVNode(Fragment, null, [createVNode(Menu.Item, {
9163
9163
  key: "L",
9164
9164
  class: c.value === "L" ? "selected" : "",
@@ -9175,8 +9175,8 @@ const getProps$B = () => ({
9175
9175
  key: "H",
9176
9176
  class: c.value === "H" ? "selected" : "",
9177
9177
  onClick: () => s.store.setRowHeight(n.formID, "H")
9178
- }, _isSlot$c(P = a.t("kg.KgTable.rowHeightH")) ? P : {
9179
- default: () => [P]
9178
+ }, _isSlot$c(V = a.t("kg.KgTable.rowHeightH")) ? V : {
9179
+ default: () => [V]
9180
9180
  })]);
9181
9181
  },
9182
9182
  expandIcon: () => createVNode(CaretRightOutlined$1, null, null)
@@ -9346,7 +9346,7 @@ const getProps$z = () => ({
9346
9346
  });
9347
9347
  }
9348
9348
  function p() {
9349
- var k, I, C, w, A, O, D, P, V, H, N;
9349
+ var k, I, C, w, A, O, D, V, P, H, N;
9350
9350
  if (c.value)
9351
9351
  return m();
9352
9352
  switch ((k = i.value) == null ? void 0 : k.display_type) {
@@ -9358,13 +9358,13 @@ const getProps$z = () => ({
9358
9358
  }, null);
9359
9359
  }
9360
9360
  case KG_TABLE_CELL_DISPLAY_TYPE.ENUM: {
9361
- const M = KgUtil.tryParseJSON((w = i.value) == null ? void 0 : w.display_type_properties), R = isArrayLike(M) && M.find((K) => K.value === e.kgValue);
9362
- if (R) {
9363
- const K = n.t(R.varName).value;
9364
- return K ? createVNode(Tag, {
9365
- color: (A = R.color) != null ? A : "default"
9366
- }, _isSlot$b(K) ? K : {
9367
- default: () => [K]
9361
+ const M = KgUtil.tryParseJSON((w = i.value) == null ? void 0 : w.display_type_properties), K = isArrayLike(M) && M.find((R) => R.value === e.kgValue);
9362
+ if (K) {
9363
+ const R = n.t(K.varName).value;
9364
+ return R ? createVNode(Tag, {
9365
+ color: (A = K.color) != null ? A : "default"
9366
+ }, _isSlot$b(R) ? R : {
9367
+ default: () => [R]
9368
9368
  }) : T();
9369
9369
  } else
9370
9370
  return T();
@@ -9372,9 +9372,9 @@ const getProps$z = () => ({
9372
9372
  case KG_TABLE_CELL_DISPLAY_TYPE.DESC: {
9373
9373
  const M = KgUtil.tryParseJSON((O = i.value) == null ? void 0 : O.display_type_properties);
9374
9374
  if (M.isTag && isArrayLike(M.tagColors)) {
9375
- const R = M.tagColors.find((K) => K.value === e.kgValue);
9375
+ const K = M.tagColors.find((R) => R.value === e.kgValue);
9376
9376
  return v.value ? createVNode(Tag, {
9377
- color: (D = R == null ? void 0 : R.color) != null ? D : "default"
9377
+ color: (D = K == null ? void 0 : K.color) != null ? D : "default"
9378
9378
  }, {
9379
9379
  default: () => [v.value]
9380
9380
  }) : T();
@@ -9382,14 +9382,14 @@ const getProps$z = () => ({
9382
9382
  return T();
9383
9383
  }
9384
9384
  case KG_TABLE_CELL_DISPLAY_TYPE.PROGRESS: {
9385
- const M = KgUtil.tryParseJSON((P = i.value) == null ? void 0 : P.display_type_properties), R = (H = (V = e.kgRow) == null ? void 0 : V[M.leftColumn]) != null ? H : 0;
9385
+ const M = KgUtil.tryParseJSON((V = i.value) == null ? void 0 : V.display_type_properties), K = (H = (P = e.kgRow) == null ? void 0 : P[M.leftColumn]) != null ? H : 0;
9386
9386
  switch (e.kgContext) {
9387
9387
  case KG_TABLE_CELL_CONTEXT.TABLE_FILTER:
9388
- return R;
9388
+ return K;
9389
9389
  case KG_TABLE_CELL_CONTEXT.TABLE_CELL:
9390
9390
  return createVNode(KgProgressA, {
9391
9391
  kgTextWidth: M.textWidth,
9392
- kgLeft: R,
9392
+ kgLeft: K,
9393
9393
  kgRight: (N = e.kgRow) == null ? void 0 : N[M.rightColumn]
9394
9394
  }, null);
9395
9395
  }
@@ -9500,7 +9500,7 @@ function _useColumns(e) {
9500
9500
  index: C
9501
9501
  }) => C + 1
9502
9502
  }, ...(I = m == null ? void 0 : m.map((C, w) => {
9503
- var K, L, B;
9503
+ var R, L, B;
9504
9504
  const A = C.var_nam;
9505
9505
  function O() {
9506
9506
  return C.width === "auto" ? "auto" : Number(C.width) || KG_TABLE_TD_DEFAULT_WIDTH;
@@ -9508,30 +9508,30 @@ function _useColumns(e) {
9508
9508
  function D() {
9509
9509
  return r.t(A).value;
9510
9510
  }
9511
- function P() {
9511
+ function V() {
9512
9512
  if (C.fix_left_flg === 1)
9513
9513
  return "left";
9514
9514
  if (C.fix_right_flg === 1)
9515
9515
  return "right";
9516
9516
  }
9517
- function V() {
9518
- var $, x, W, z;
9519
- return !(C.ord_flg !== 1 || (x = ($ = t == null ? void 0 : t.value) == null ? void 0 : $.KgTable) != null && x.kgDisabled || isNil((z = (W = t == null ? void 0 : t.value) == null ? void 0 : W.KgTable) == null ? void 0 : z.kgDisabled) && e.kgDisabled || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || y.length <= 0);
9517
+ function P() {
9518
+ var $, x, W, Q;
9519
+ return !(C.ord_flg !== 1 || (x = ($ = t == null ? void 0 : t.value) == null ? void 0 : $.KgTable) != null && x.kgDisabled || isNil((Q = (W = t == null ? void 0 : t.value) == null ? void 0 : W.KgTable) == null ? void 0 : Q.kgDisabled) && e.kgDisabled || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || y.length <= 0);
9520
9520
  }
9521
9521
  function H() {
9522
- var $, x, W, z, J, X;
9523
- if (((x = ($ = v.option.value.KgTable) == null ? void 0 : $.filter) == null ? void 0 : x.on) === !0 && C.filter_flag === 1 && !((z = (W = t == null ? void 0 : t.value) == null ? void 0 : W.KgTable) != null && z.kgDisabled) && !(isNil((X = (J = t == null ? void 0 : t.value) == null ? void 0 : J.KgTable) == null ? void 0 : X.kgDisabled) && e.kgDisabled) && !(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) && !(y.length <= 0))
9524
- return uniqBy(y.map((ee) => {
9522
+ var $, x, W, Q, J, X;
9523
+ if (((x = ($ = v.option.value.KgTable) == null ? void 0 : $.filter) == null ? void 0 : x.on) === !0 && C.filter_flag === 1 && !((Q = (W = t == null ? void 0 : t.value) == null ? void 0 : W.KgTable) != null && Q.kgDisabled) && !(isNil((X = (J = t == null ? void 0 : t.value) == null ? void 0 : J.KgTable) == null ? void 0 : X.kgDisabled) && e.kgDisabled) && !(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) && !(y.length <= 0))
9524
+ return uniqBy(y.map((te) => {
9525
9525
  var ie;
9526
9526
  return {
9527
- value: (ie = ee == null ? void 0 : ee[A]) != null ? ie : "",
9527
+ value: (ie = te == null ? void 0 : te[A]) != null ? ie : "",
9528
9528
  text: l({
9529
9529
  column: {
9530
9530
  dataIndex: A
9531
9531
  },
9532
9532
  index: w,
9533
- record: ee,
9534
- value: ee == null ? void 0 : ee[A]
9533
+ record: te,
9534
+ value: te == null ? void 0 : te[A]
9535
9535
  }, KG_TABLE_CELL_CONTEXT.TABLE_FILTER)
9536
9536
  };
9537
9537
  }), "value");
@@ -9543,7 +9543,7 @@ function _useColumns(e) {
9543
9543
  function M() {
9544
9544
  return ["left", "center", "right"].includes(C.align || "") ? C.align : "left";
9545
9545
  }
9546
- const R = O();
9546
+ const K = O();
9547
9547
  switch (C.ord) {
9548
9548
  case 0:
9549
9549
  (!i.value.field || !i.value.order) && (i.value = {
@@ -9562,14 +9562,14 @@ function _useColumns(e) {
9562
9562
  key: A,
9563
9563
  dataIndex: A,
9564
9564
  title: D(),
9565
- width: R,
9566
- resizable: typeof R == "number",
9565
+ width: K,
9566
+ resizable: typeof K == "number",
9567
9567
  minWidth: KG_TABLE_TD_MIN_WIDTH,
9568
9568
  maxWidth: KG_TABLE_TD_MAX_WIDTH,
9569
9569
  align: M(),
9570
- fixed: P(),
9571
- sorter: V(),
9572
- sortOrder: ((K = i.value) == null ? void 0 : K.field) === A && (B = (L = i.value) == null ? void 0 : L.order) != null ? B : null,
9570
+ fixed: V(),
9571
+ sorter: P(),
9572
+ sortOrder: ((R = i.value) == null ? void 0 : R.field) === A && (B = (L = i.value) == null ? void 0 : L.order) != null ? B : null,
9573
9573
  filteredValue: N(),
9574
9574
  filters: H(),
9575
9575
  onFilter: ($, x) => $ === "" ? isNil(x == null ? void 0 : x[A]) || (x == null ? void 0 : x[A]) === "" : (x == null ? void 0 : x[A]) === $,
@@ -9756,19 +9756,21 @@ const KgTable$1 = "", getProps$y = () => ({
9756
9756
  switch (F) {
9757
9757
  case "setRowSelect":
9758
9758
  if (G[0] === s.formID) {
9759
- const Q = G[1], q = G[2], te = Q[o.id.value];
9759
+ const z = G[1], q = G[2], ee = z[o.id.value];
9760
9760
  switch (!0) {
9761
- case (q && !N.value.includes(te)):
9762
- x([...N.value, te]);
9761
+ case (q && !N.value.includes(ee)):
9762
+ x([...N.value, ee]);
9763
9763
  break;
9764
- case (!q && N.value.includes(te)):
9765
- x(without$1(N.value, te));
9764
+ case (!q && N.value.includes(ee)):
9765
+ x(without$1(N.value, ee));
9766
9766
  break;
9767
9767
  }
9768
9768
  }
9769
9769
  break;
9770
9770
  case "clearDatas":
9771
- G[0] === s.formID && (o.store.setDatas(s.formID, []), M.total = 0, B(), u.value = []);
9771
+ G[0] === s.formID && (o.store.setDatas(s.formID, []), M.total = 0, B({
9772
+ isContinueWhenKgDisabled: !0
9773
+ }), u.value = []);
9772
9774
  break;
9773
9775
  }
9774
9776
  });
@@ -9790,13 +9792,13 @@ const KgTable$1 = "", getProps$y = () => ({
9790
9792
  var F, G;
9791
9793
  return (G = (F = s.varButtonSearch.value) == null ? void 0 : F.cmd) != null ? G : null;
9792
9794
  }), k = computed(() => {
9793
- var G, Q, q, te, de, ue, _e, he, Ce;
9795
+ var G, z, q, ee, de, ue, _e, he, Ce;
9794
9796
  let F = {
9795
9797
  pageNo: M.pageIndex,
9796
9798
  pageSize: M.pageSize,
9797
- column: (Q = (G = g.value) == null ? void 0 : G.field) != null ? Q : void 0,
9799
+ column: (z = (G = g.value) == null ? void 0 : G.field) != null ? z : void 0,
9798
9800
  order: g.value.order === "ascend" ? "asc" : g.value.order === "descend" ? "desc" : void 0,
9799
- ...(te = (q = l.model) == null ? void 0 : q.value) != null ? te : {}
9801
+ ...(ee = (q = l.model) == null ? void 0 : q.value) != null ? ee : {}
9800
9802
  };
9801
9803
  return s.varButtonSearch.value && (F = {
9802
9804
  ...F,
@@ -9806,15 +9808,15 @@ const KgTable$1 = "", getProps$y = () => ({
9806
9808
  ...KgVarUtil.parseCommandParameter((he = s.varGridConfig.value.cmd_prm) != null ? he : "")
9807
9809
  }), ((Ce = s.varGridConfig.value) == null ? void 0 : Ce.convert_sort_field_to_under_score_flg) === 1 && F.column && (F.column = snakeCase$1(F.column)), F;
9808
9810
  }), I = computed(() => {
9809
- var F, G, Q, q;
9811
+ var F, G, z, q;
9810
9812
  if (!isNil((G = (F = a == null ? void 0 : a.value) == null ? void 0 : F.KgTable) == null ? void 0 : G.kgDisabled))
9811
- return (q = (Q = a == null ? void 0 : a.value) == null ? void 0 : Q.KgTable) == null ? void 0 : q.kgDisabled;
9813
+ return (q = (z = a == null ? void 0 : a.value) == null ? void 0 : z.KgTable) == null ? void 0 : q.kgDisabled;
9812
9814
  if (!isNil(e.kgDisabled))
9813
9815
  return e.kgDisabled;
9814
9816
  }), C = computed(() => {
9815
- var F, G, Q, q;
9817
+ var F, G, z, q;
9816
9818
  if (!isNil((G = (F = a == null ? void 0 : a.value) == null ? void 0 : F.KgTable) == null ? void 0 : G.kgCheckboxDisabled))
9817
- return (q = (Q = a == null ? void 0 : a.value) == null ? void 0 : Q.KgTable) == null ? void 0 : q.kgCheckboxDisabled;
9819
+ return (q = (z = a == null ? void 0 : a.value) == null ? void 0 : z.KgTable) == null ? void 0 : q.kgCheckboxDisabled;
9818
9820
  if (!isNil(e.kgCheckboxDisabled))
9819
9821
  return e.kgCheckboxDisabled;
9820
9822
  }), w = computed(() => !!I.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value), A = computed(() => !!I.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value || M.total === 0), O = computed(() => {
@@ -9823,7 +9825,7 @@ const KgTable$1 = "", getProps$y = () => ({
9823
9825
  }), D = computed(() => {
9824
9826
  var F;
9825
9827
  return ((F = s.varGridConfig.value) == null ? void 0 : F.show_check_column_flg) === 1;
9826
- }), P = computed(() => {
9828
+ }), V = computed(() => {
9827
9829
  if (!!D.value)
9828
9830
  return {
9829
9831
  fixed: "left",
@@ -9840,7 +9842,7 @@ const KgTable$1 = "", getProps$y = () => ({
9840
9842
  onSelect: (F) => W(F),
9841
9843
  onChange: (F) => o.isMultiSelect.value && x(F)
9842
9844
  };
9843
- }), V = computed(() => {
9845
+ }), P = computed(() => {
9844
9846
  var G;
9845
9847
  let F = "kg-table";
9846
9848
  switch (((G = s.varGridConfig.value) == null ? void 0 : G.show_bottom_border_flg) === 1 && (F += " kg-table--bottom-border"), !o.isShowBottomLeft.value && !o.isShowBottomRight.value && (F += " kg-table--no-bottom"), i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE && (s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value) && (F += " kg-table--submitting"), o.store.getRowHeight(s.formID)) {
@@ -9863,29 +9865,29 @@ const KgTable$1 = "", getProps$y = () => ({
9863
9865
  pageIndex: 1,
9864
9866
  pageSize: 10,
9865
9867
  total: 0
9866
- }), R = watch(o.pageSizeOption, (F) => {
9867
- F && (setTimeout(() => R()), M.pageSize = F, o.store.emit(s.formID, "ready", {}), o.store.setIsReady(s.formID, !0));
9868
+ }), K = watch(o.pageSizeOption, (F) => {
9869
+ F && (setTimeout(() => K()), M.pageSize = F, o.store.emit(s.formID, "ready", {}), o.store.setIsReady(s.formID, !0));
9868
9870
  }, {
9869
9871
  immediate: !0
9870
9872
  });
9871
9873
  watch(o.pageSizeOptions, (F) => {
9872
9874
  F.length > 0 && !F.includes(M.pageSize) && (M.pageSize = o.pageSizeOption.value);
9873
- }), watch([o.isAutoSearch, o.isSearched, l.isReady], ([F, G, Q]) => {
9875
+ }), watch([o.isAutoSearch, o.isSearched, l.isReady], ([F, G, z]) => {
9874
9876
  KgLogger.debug(`KgTable | ${s.formID} | watch:[kgTable.isAutoSearch, kgTable.isSearched, kgSearch.isReady]`, {
9875
9877
  isAutoSearch: F,
9876
9878
  isSearched: G,
9877
- isReady: Q
9878
- }), F && !G && Q && $({
9879
+ isReady: z
9880
+ }), F && !G && z && $({
9879
9881
  isSearchFirstPage: !0
9880
9882
  });
9881
9883
  }, {
9882
9884
  immediate: !0
9883
9885
  }), watch(s.isCreating, (F, G) => {
9884
- F === !0 ? K() : F === !1 && G === !0 && L();
9886
+ F === !0 ? R() : F === !1 && G === !0 && L();
9885
9887
  }), onUnmounted(() => {
9886
9888
  o.store.dispose(s.formID);
9887
9889
  });
9888
- function K() {
9890
+ function R() {
9889
9891
  if (i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE) {
9890
9892
  const F = {
9891
9893
  [o.id.value]: KG_TABLE_TEMP_ID
@@ -9897,29 +9899,54 @@ const KgTable$1 = "", getProps$y = () => ({
9897
9899
  const F = m.value.find((G) => G[o.id.value] === KG_TABLE_TEMP_ID);
9898
9900
  F && (o.store.setDatas(s.formID, without$1(m.value, F)), o.store.setSelectedRows(s.formID, []));
9899
9901
  }
9900
- function B(F, G) {
9901
- var Q;
9902
- if (!(!!I.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value) && !!P.value) {
9903
- if (!G) {
9904
- o.store.setSelectedRows(s.formID, []);
9905
- return;
9906
- }
9907
- switch (F == null ? void 0 : F.detail) {
9908
- case 1:
9909
- switch ((Q = s.varGridConfig.value) == null ? void 0 : Q.operation_on_row_click) {
9910
- case 0:
9911
- break;
9912
- case 1:
9913
- o.store.setSelectedRows(s.formID, [G]);
9914
- break;
9915
- }
9916
- break;
9917
- case 2:
9918
- o.store.emit(s.formID, "rowDoubleClick", {
9919
- row: G
9920
- });
9921
- break;
9922
- }
9902
+ function B(F = {}) {
9903
+ var ee;
9904
+ KgLogger.debug("KgTable | onRowClick() | \u6267\u884C\u5F00\u59CB.", {
9905
+ param: F
9906
+ });
9907
+ const {
9908
+ event: G,
9909
+ row: z,
9910
+ isContinueWhenKgDisabled: q = !1
9911
+ } = F;
9912
+ if (!q && !!I.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value) {
9913
+ KgLogger.debug("KgTable | onRowClick() | \u8868\u683C\u7981\u7528/\u6B63\u5728\u521B\u5EFA/\u6B63\u5728\u66F4\u65B0/\u6B63\u5728\u590D\u5236/\u6B63\u5728\u5220\u9664.", {
9914
+ kgDisabled: I.value,
9915
+ "kgVar.isCreating": s.isCreating.value,
9916
+ "kgVar.isUpdating": s.isUpdating.value,
9917
+ "kgVar.isCopying": s.isCopying.value,
9918
+ "kgVar.isDeleting": s.isDeleting.value
9919
+ });
9920
+ return;
9921
+ }
9922
+ if (!V.value) {
9923
+ KgLogger.debug("KgTable | onRowClick() | \u4E0D\u652F\u6301\u884C\u52FE\u9009.");
9924
+ return;
9925
+ }
9926
+ if (!z) {
9927
+ KgLogger.debug("KgTable | onRowClick() | \u6E05\u7A7A\u6240\u6709\u52FE\u9009\u7684\u884C."), o.store.setSelectedRows(s.formID, []);
9928
+ return;
9929
+ }
9930
+ switch (G == null ? void 0 : G.detail) {
9931
+ case 1:
9932
+ switch ((ee = s.varGridConfig.value) == null ? void 0 : ee.operation_on_row_click) {
9933
+ case 0:
9934
+ KgLogger.debug("KgTable | onRowClick() | \u4E0D\u505A\u64CD\u4F5C.", {
9935
+ VarGridConfig: s.varGridConfig.value
9936
+ });
9937
+ break;
9938
+ case 1:
9939
+ KgLogger.debug("KgTable | onRowClick() | \u52FE\u9009\u5355\u884C.", {
9940
+ row: z
9941
+ }), o.store.setSelectedRows(s.formID, [z]);
9942
+ break;
9943
+ }
9944
+ break;
9945
+ case 2:
9946
+ o.store.emit(s.formID, "rowDoubleClick", {
9947
+ row: z
9948
+ });
9949
+ break;
9923
9950
  }
9924
9951
  }
9925
9952
  function $(F = {}) {
@@ -9927,12 +9954,12 @@ const KgTable$1 = "", getProps$y = () => ({
9927
9954
  param: F
9928
9955
  });
9929
9956
  const G = watch(o.isReady, (q) => {
9930
- q && (setTimeout(() => G()), Q());
9957
+ q && (setTimeout(() => G()), z());
9931
9958
  }, {
9932
9959
  immediate: !0
9933
9960
  });
9934
- async function Q() {
9935
- var q, te, de, ue, _e, he, Ce;
9961
+ async function z() {
9962
+ var q, ee, de, ue, _e, he, Ce;
9936
9963
  KgLogger.debug(`${s.formID} | KgTable | retrieve() | retrieveDatas() | \u6267\u884C\u5F00\u59CB.`), F.isSearchFirstPage && (M.pageIndex = 1), o.store.setIsRetrieving(s.formID, !0);
9937
9964
  try {
9938
9965
  const be = KgUtil.parseParams(k.value, o.profileFormID.value, t), ye = ref({});
@@ -9944,7 +9971,7 @@ const KgTable$1 = "", getProps$y = () => ({
9944
9971
  throw KgLogger.error(`${s.formID} | KgTable | retrieve() | retrieveDatas() | \u67E5\u8BE2\u6309\u94AE\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3.`, {
9945
9972
  VarButton: s.varButtonSearch.value
9946
9973
  }), new Error("\u67E5\u8BE2\u6309\u94AE\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3.");
9947
- const ge = ((te = (q = n.option.value.KgSearch) == null ? void 0 : q.dynamicQuery) == null ? void 0 : te.on) === !0 && ((de = s.currentVarProfileMaster.value) == null ? void 0 : de.dyn_flg) === 1, {
9974
+ const ge = ((ee = (q = n.option.value.KgSearch) == null ? void 0 : q.dynamicQuery) == null ? void 0 : ee.on) === !0 && ((de = s.currentVarProfileMaster.value) == null ? void 0 : de.dyn_flg) === 1, {
9948
9975
  sql: Te,
9949
9976
  whereSql: Ae,
9950
9977
  orderBySql: U
@@ -9984,7 +10011,9 @@ const KgTable$1 = "", getProps$y = () => ({
9984
10011
  }
9985
10012
  }), d.value = {}, o.store.setDatas(s.formID, Se.value), M.total = Me.value;
9986
10013
  const Ie = cloneDeep(N.value);
9987
- B(), u.value = [], await nextTick(), F.isPreserveSelectedRows ? o.store.setSelectedRows(s.formID, Ie.map((ge) => {
10014
+ B({
10015
+ isContinueWhenKgDisabled: !0
10016
+ }), u.value = [], await nextTick(), F.isPreserveSelectedRows ? o.store.setSelectedRows(s.formID, Ie.map((ge) => {
9988
10017
  var Te;
9989
10018
  return (Te = Se.value) == null ? void 0 : Te.find((Ae) => Ae[o.id.value] === ge);
9990
10019
  }).filter((ge) => !!ge)) : ((Ce = s.varGridConfig.value) == null ? void 0 : Ce.check_first_row_after_retrieve) === 1 && Se.value.length > 0 && o.store.setSelectedRows(s.formID, [Se.value[0]]), await o.store.emit(s.formID, "afterSearch", {
@@ -10004,12 +10033,12 @@ const KgTable$1 = "", getProps$y = () => ({
10004
10033
  }
10005
10034
  function x(F) {
10006
10035
  o.store.setSelectedRows(s.formID, F.map((G) => {
10007
- var Q;
10008
- return (Q = m.value) == null ? void 0 : Q.find((q) => q[o.id.value] === G);
10036
+ var z;
10037
+ return (z = m.value) == null ? void 0 : z.find((q) => q[o.id.value] === G);
10009
10038
  }).filter((G) => !!G));
10010
10039
  }
10011
10040
  function W(F) {
10012
- var G, Q;
10041
+ var G, z;
10013
10042
  switch (o.isMultiSelect.value) {
10014
10043
  case !0:
10015
10044
  {
@@ -10020,22 +10049,22 @@ const KgTable$1 = "", getProps$y = () => ({
10020
10049
  case !1:
10021
10050
  {
10022
10051
  const q = F[o.id.value];
10023
- (Q = N.value) != null && Q.includes(q) ? N.value = [] : N.value = [q];
10052
+ (z = N.value) != null && z.includes(q) ? N.value = [] : N.value = [q];
10024
10053
  }
10025
10054
  break;
10026
10055
  }
10027
10056
  o.store.setSelectedRows(s.formID, N.value.map((q) => {
10028
- var te;
10029
- return (te = m.value) == null ? void 0 : te.find((de) => de[o.id.value] === q);
10057
+ var ee;
10058
+ return (ee = m.value) == null ? void 0 : ee.find((de) => de[o.id.value] === q);
10030
10059
  }).filter((q) => !!q));
10031
10060
  }
10032
- function z(F, G) {
10061
+ function Q(F, G) {
10033
10062
  G.width = F, s.store.setVarGridDetailWidth(s.formID, G.dataIndex, F);
10034
10063
  }
10035
- async function J(F, G, Q, q) {
10064
+ async function J(F, G, z, q) {
10036
10065
  switch (q.action) {
10037
10066
  case "sort": {
10038
- g.value = Q, g.value.order || (g.value.field = void 0), await nextTick(), $({
10067
+ g.value = z, g.value.order || (g.value.field = void 0), await nextTick(), $({
10039
10068
  isSearchFirstPage: !0
10040
10069
  });
10041
10070
  break;
@@ -10046,17 +10075,17 @@ const KgTable$1 = "", getProps$y = () => ({
10046
10075
  }
10047
10076
  function X(F, G) {
10048
10077
  var q;
10049
- const Q = G[o.id.value];
10078
+ const z = G[o.id.value];
10050
10079
  switch ((q = s.varGridConfig.value) == null ? void 0 : q.expand_accordion_flg) {
10051
10080
  case 0:
10052
- F ? u.value = uniq([...u.value, Q]) : u.value = without$1(u.value, Q);
10081
+ F ? u.value = uniq([...u.value, z]) : u.value = without$1(u.value, z);
10053
10082
  break;
10054
10083
  default:
10055
- F ? u.value = [Q] : u.value = [];
10084
+ F ? u.value = [z] : u.value = [];
10056
10085
  break;
10057
10086
  }
10058
10087
  }
10059
- function ee(F, G) {
10088
+ function te(F, G) {
10060
10089
  G !== M.pageSize ? (M.pageIndex = 1, M.pageSize = G) : M.pageIndex = F, $();
10061
10090
  }
10062
10091
  function ie({
@@ -10084,9 +10113,9 @@ const KgTable$1 = "", getProps$y = () => ({
10084
10113
  index: 0
10085
10114
  }, null), D.value && createVNode(TableSummary.Cell, {
10086
10115
  index: O.value ? 1 : 0
10087
- }, null), c.value.map((G, Q) => {
10088
- const q = String(G.dataIndex), te = q ? s.store.getVarGridDetail(s.formID, q) : null, de = (() => ["left", "center", "right"].includes((te == null ? void 0 : te.align) || "") ? te == null ? void 0 : te.align : "left")();
10089
- let ue = Q;
10116
+ }, null), c.value.map((G, z) => {
10117
+ const q = String(G.dataIndex), ee = q ? s.store.getVarGridDetail(s.formID, q) : null, de = (() => ["left", "center", "right"].includes((ee == null ? void 0 : ee.align) || "") ? ee == null ? void 0 : ee.align : "left")();
10118
+ let ue = z;
10090
10119
  return O.value && D.value ? ue += 2 : (O.value || D.value) && (ue += 1), createVNode(TableSummary.Cell, {
10091
10120
  index: ue,
10092
10121
  align: de
@@ -10096,7 +10125,7 @@ const KgTable$1 = "", getProps$y = () => ({
10096
10125
  return [(he = (_e = r == null ? void 0 : r.KgTable) == null ? void 0 : _e["summary.bodyCell"]) == null ? void 0 : he.call(_e, {
10097
10126
  column: G,
10098
10127
  index: ue,
10099
- varGridDetail: te
10128
+ varGridDetail: ee
10100
10129
  })];
10101
10130
  }
10102
10131
  });
@@ -10108,9 +10137,9 @@ const KgTable$1 = "", getProps$y = () => ({
10108
10137
  return !o.isAutoSearch.value && !o.store.getIsSearched(s.formID) ? n.t("kg.KgTable.emptyText") : n.t("kg.emptyText");
10109
10138
  }
10110
10139
  return () => {
10111
- var F, G, Q;
10140
+ var F, G, z;
10112
10141
  return createVNode("div", {
10113
- class: V.value,
10142
+ class: P.value,
10114
10143
  "kg-frm_id": s.formID,
10115
10144
  ref: b
10116
10145
  }, [createVNode(Table, {
@@ -10129,18 +10158,21 @@ const KgTable$1 = "", getProps$y = () => ({
10129
10158
  rowClassName: (G = (F = a == null ? void 0 : a.value) == null ? void 0 : F.KgTable) == null ? void 0 : G.kgRowClassName,
10130
10159
  expandColumnWidth: 28,
10131
10160
  expandedRowKeys: u.value,
10132
- rowSelection: P.value,
10161
+ rowSelection: V.value,
10133
10162
  customRow: (q) => ({
10134
- onClick: (te) => B(te, q)
10163
+ onClick: (ee) => B({
10164
+ event: ee,
10165
+ row: q
10166
+ })
10135
10167
  }),
10136
- onResizeColumn: z,
10168
+ onResizeColumn: Q,
10137
10169
  onChange: J,
10138
10170
  onExpand: X
10139
10171
  }, {
10140
10172
  headerCell: ie,
10141
10173
  bodyCell: _,
10142
10174
  emptyText: fe,
10143
- expandedRowRender: (Q = r == null ? void 0 : r.KgTable) == null ? void 0 : Q.expandedRowRender,
10175
+ expandedRowRender: (z = r == null ? void 0 : r.KgTable) == null ? void 0 : z.expandedRowRender,
10144
10176
  summary: pe
10145
10177
  }), (o.isShowBottomLeft.value || o.isShowBottomRight.value) && createVNode("div", {
10146
10178
  class: H.value
@@ -10167,12 +10199,12 @@ const KgTable$1 = "", getProps$y = () => ({
10167
10199
  locale: {
10168
10200
  page: ""
10169
10201
  },
10170
- showTotal: (q, te) => n.t("kg.KgTable.totalText", {
10171
- from: te[0],
10172
- to: te[1],
10202
+ showTotal: (q, ee) => n.t("kg.KgTable.totalText", {
10203
+ from: ee[0],
10204
+ to: ee[1],
10173
10205
  total: q
10174
10206
  }),
10175
- onChange: (q, te) => ee(q, te)
10207
+ onChange: (q, ee) => te(q, ee)
10176
10208
  }, null)])])]);
10177
10209
  };
10178
10210
  }
@@ -10482,7 +10514,7 @@ function useKgFormItemSelect() {
10482
10514
  }), y;
10483
10515
  });
10484
10516
  async function g() {
10485
- var k, I, C, w, A, O, D, P;
10517
+ var k, I, C, w, A, O, D, V;
10486
10518
  let y = [];
10487
10519
  const b = (k = n.value) == null ? void 0 : k.cmd, _ = (C = (I = n.value) == null ? void 0 : I.cmd_method) != null ? C : "GET", m = (A = (w = n.value) == null ? void 0 : w.val_clm) != null ? A : "", p = (D = (O = n.value) == null ? void 0 : O.lbl_clm) != null ? D : "";
10488
10520
  if (!b || !m || !p) {
@@ -10498,12 +10530,12 @@ function useKgFormItemSelect() {
10498
10530
  let T = null;
10499
10531
  try {
10500
10532
  o.value = !0;
10501
- const V = KgUtil.parseParams(d.value, null, e);
10502
- T = await ((P = httpClient()) == null ? void 0 : P.request({
10533
+ const P = KgUtil.parseParams(d.value, null, e);
10534
+ T = await ((V = httpClient()) == null ? void 0 : V.request({
10503
10535
  url: b,
10504
10536
  method: _,
10505
- params: V,
10506
- data: V
10537
+ params: P,
10538
+ data: P
10507
10539
  }, {
10508
10540
  dynamicQueryOperators: {},
10509
10541
  dayjs: e
@@ -10524,14 +10556,14 @@ function useKgFormItemSelect() {
10524
10556
  break;
10525
10557
  }
10526
10558
  if (y.length > 0) {
10527
- const V = y[0];
10528
- (!(m in V) || !(p in V)) && KgLogger.error("\u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF, \u6570\u636E\u5217(val_clm)\u6216\u663E\u793A\u5217(lbl_clm)\u6709\u8BEF.", {
10559
+ const P = y[0];
10560
+ (!(m in P) || !(p in P)) && KgLogger.error("\u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF, \u6570\u636E\u5217(val_clm)\u6216\u663E\u793A\u5217(lbl_clm)\u6709\u8BEF.", {
10529
10561
  frm_id: a.formID,
10530
10562
  var_nam: t,
10531
10563
  cmd: b,
10532
10564
  val_clm: m,
10533
10565
  lbl_clm: p,
10534
- \u6240\u6709\u5217: Object.keys(V)
10566
+ \u6240\u6709\u5217: Object.keys(P)
10535
10567
  });
10536
10568
  }
10537
10569
  i.value = y;
@@ -11025,15 +11057,15 @@ const KgFormItem = defineComponent({
11025
11057
  const a = inject(DI_FORM_MODEL, computed(() => ({}))), n = inject(DI_FORM_REF, ref(null)), s = useKg(), l = useKgVar(), o = useKgForm(l.formID), i = useKgSearch(l.formID);
11026
11058
  o.onLookupOk(async ({
11027
11059
  var_nam: M,
11028
- model: R,
11029
- isMultiple: K,
11060
+ model: K,
11061
+ isMultiple: R,
11030
11062
  value: L,
11031
11063
  values: B
11032
11064
  }) => {
11033
11065
  var $;
11034
11066
  switch (M) {
11035
11067
  case e.kgVarName:
11036
- R.value && (K ? R.value[e.kgVarName] = B : R.value[e.kgVarName] = L), ($ = n.value) == null || $.validate([e.kgVarName]);
11068
+ K.value && (R ? K.value[e.kgVarName] = B : K.value[e.kgVarName] = L), ($ = n.value) == null || $.validate([e.kgVarName]);
11037
11069
  break;
11038
11070
  }
11039
11071
  return !1;
@@ -11044,7 +11076,7 @@ const KgFormItem = defineComponent({
11044
11076
  } = _useRules(e), {
11045
11077
  controlType: b
11046
11078
  } = useKgFormItem(e), _ = computed(() => {
11047
- var R, K, L, B, $;
11079
+ var K, R, L, B, $;
11048
11080
  if (l.isRetrieving.value)
11049
11081
  return !0;
11050
11082
  let M = !1;
@@ -11053,12 +11085,12 @@ const KgFormItem = defineComponent({
11053
11085
  else
11054
11086
  switch (e.kgContext) {
11055
11087
  case KG_FORM_CONTEXT.SEARCH:
11056
- M = ((R = d.value) == null ? void 0 : R.ena_flg) === 0;
11088
+ M = ((K = d.value) == null ? void 0 : K.ena_flg) === 0;
11057
11089
  break;
11058
11090
  case KG_FORM_CONTEXT.SUBMIT:
11059
11091
  switch (!0) {
11060
11092
  case l.isCreating.value:
11061
- M = ((K = g.value) == null ? void 0 : K.crt_ena_flg) === 0;
11093
+ M = ((R = g.value) == null ? void 0 : R.crt_ena_flg) === 0;
11062
11094
  break;
11063
11095
  case l.isUpdating.value:
11064
11096
  M = ((L = g.value) == null ? void 0 : L.upt_ena_flg) === 0;
@@ -11074,14 +11106,14 @@ const KgFormItem = defineComponent({
11074
11106
  }
11075
11107
  return M;
11076
11108
  }), m = computed(() => {
11077
- var R, K, L, B;
11109
+ var K, R, L, B;
11078
11110
  let M = " ";
11079
11111
  if (e.kgPlaceholder)
11080
11112
  M = e.kgPlaceholder;
11081
11113
  else
11082
11114
  switch (e.kgContext) {
11083
11115
  case KG_FORM_CONTEXT.SEARCH:
11084
- M = l.t((K = (R = d.value) == null ? void 0 : R.placeholder) != null ? K : " ").value;
11116
+ M = l.t((R = (K = d.value) == null ? void 0 : K.placeholder) != null ? R : " ").value;
11085
11117
  break;
11086
11118
  case KG_FORM_CONTEXT.SUBMIT:
11087
11119
  M = l.t((B = (L = g.value) == null ? void 0 : L.placeholder) != null ? B : " ").value;
@@ -11089,14 +11121,14 @@ const KgFormItem = defineComponent({
11089
11121
  }
11090
11122
  return M;
11091
11123
  }), p = computed(() => {
11092
- var R, K, L, B, $, x, W, z, J, X;
11124
+ var K, R, L, B, $, x, W, Q, J, X;
11093
11125
  let M = 6;
11094
11126
  if (e.kgSpan !== void 0)
11095
11127
  M = e.kgSpan;
11096
11128
  else
11097
11129
  switch (e.kgContext) {
11098
11130
  case KG_FORM_CONTEXT.SEARCH:
11099
- M = (K = (R = d.value) == null ? void 0 : R.width) != null ? K : 6;
11131
+ M = (R = (K = d.value) == null ? void 0 : K.width) != null ? R : 6;
11100
11132
  break;
11101
11133
  case KG_FORM_CONTEXT.SUBMIT:
11102
11134
  switch (!0) {
@@ -11107,31 +11139,31 @@ const KgFormItem = defineComponent({
11107
11139
  M = (x = ($ = g.value) == null ? void 0 : $.upt_width) != null ? x : 6;
11108
11140
  break;
11109
11141
  case l.isCopying.value:
11110
- M = (z = (W = g.value) == null ? void 0 : W.cpy_width) != null ? z : 6;
11142
+ M = (Q = (W = g.value) == null ? void 0 : W.cpy_width) != null ? Q : 6;
11111
11143
  break;
11112
11144
  case l.isDeleting.value:
11113
11145
  M = (X = (J = g.value) == null ? void 0 : J.del_width) != null ? X : 6;
11114
11146
  break;
11115
11147
  }
11116
11148
  }
11117
- return M = Number(M), new Array(24).fill(0).map((ee, ie) => ie + 1).includes(M) ? M : (KgLogger.error("| \u6570\u636E\u6709\u8BEF | \u5BBD\u5EA6\u5FC5\u987B\u4E3A [1, 24] \u4E4B\u95F4\u7684\u6574\u6570.", {
11149
+ return M = Number(M), new Array(24).fill(0).map((te, ie) => ie + 1).includes(M) ? M : (KgLogger.error("| \u6570\u636E\u6709\u8BEF | \u5BBD\u5EA6\u5FC5\u987B\u4E3A [1, 24] \u4E4B\u95F4\u7684\u6574\u6570.", {
11118
11150
  VarProfileDetail: d.value,
11119
11151
  VarSubmitField: g.value
11120
11152
  }), 6);
11121
11153
  }), T = computed(() => {
11122
- var R, K, L, B, $;
11154
+ var K, R, L, B, $;
11123
11155
  let M = null;
11124
11156
  if (e.kgSpan !== void 0)
11125
11157
  M = e.kgSpan;
11126
11158
  else
11127
11159
  switch (e.kgContext) {
11128
11160
  case KG_FORM_CONTEXT.SEARCH:
11129
- M = (R = d.value) == null ? void 0 : R.width;
11161
+ M = (K = d.value) == null ? void 0 : K.width;
11130
11162
  break;
11131
11163
  case KG_FORM_CONTEXT.SUBMIT:
11132
11164
  switch (!0) {
11133
11165
  case l.isCreating.value:
11134
- M = (K = g.value) == null ? void 0 : K.crt_width;
11166
+ M = (R = g.value) == null ? void 0 : R.crt_width;
11135
11167
  break;
11136
11168
  case l.isUpdating.value:
11137
11169
  M = (L = g.value) == null ? void 0 : L.upt_width;
@@ -11150,26 +11182,26 @@ const KgFormItem = defineComponent({
11150
11182
  const M = get(A.value, "$el.parentElement");
11151
11183
  if (M && !((L = M.classList) != null && L.contains("ant-row")))
11152
11184
  throw new Error("<KgForm.Item> \u7684\u7236\u5143\u7D20\u5FC5\u987B\u662F <Row> \u6216\u8005 <a-row>.");
11153
- let R = {};
11154
- const K = Math.abs(Number.parseInt((B = get(A.value, "$el.parentElement.style.marginLeft")) != null ? B : "0px"));
11155
- return Number.isNaN(K) || (R = {
11156
- paddingLeft: `${K}px !important`,
11157
- paddingRight: `${K}px !important`
11158
- }), R;
11185
+ let K = {};
11186
+ const R = Math.abs(Number.parseInt((B = get(A.value, "$el.parentElement.style.marginLeft")) != null ? B : "0px"));
11187
+ return Number.isNaN(R) || (K = {
11188
+ paddingLeft: `${R}px !important`,
11189
+ paddingRight: `${R}px !important`
11190
+ }), K;
11159
11191
  }), I = computed(() => {
11160
- var R, K, L, B;
11192
+ var K, R, L, B;
11161
11193
  let M = "kg-form-item";
11162
11194
  switch (u.value && (M += " kg-form-item-lookup"), T.value !== null && (M += " kg-form-item--col-fixed"), e.kgContext) {
11163
11195
  case KG_FORM_CONTEXT.SEARCH:
11164
11196
  switch (!0) {
11165
- case ((R = d.value) == null ? void 0 : R.vis_flg) === 0:
11197
+ case ((K = d.value) == null ? void 0 : K.vis_flg) === 0:
11166
11198
  M += " kg-form-item--invisible";
11167
11199
  break;
11168
11200
  }
11169
11201
  break;
11170
11202
  case KG_FORM_CONTEXT.SUBMIT:
11171
11203
  switch (!0) {
11172
- case (l.isCreating.value && ((K = g.value) == null ? void 0 : K.crt_vis_flg) === 0):
11204
+ case (l.isCreating.value && ((R = g.value) == null ? void 0 : R.crt_vis_flg) === 0):
11173
11205
  case (l.isUpdating.value && ((L = g.value) == null ? void 0 : L.upt_vis_flg) === 0):
11174
11206
  case (l.isCopying.value && ((B = g.value) == null ? void 0 : B.cpy_vis_flg) === 0):
11175
11207
  M += " kg-form-item--invisible";
@@ -11179,12 +11211,12 @@ const KgFormItem = defineComponent({
11179
11211
  }
11180
11212
  return M;
11181
11213
  }), C = computed(() => {
11182
- var R;
11214
+ var K;
11183
11215
  const M = {
11184
11216
  ...e,
11185
- value: (R = a.value) == null ? void 0 : R[e.kgVarName],
11186
- "onUpdate:value": (K) => {
11187
- a.value && (a.value[e.kgVarName] = K);
11217
+ value: (K = a.value) == null ? void 0 : K[e.kgVarName],
11218
+ "onUpdate:value": (R) => {
11219
+ a.value && (a.value[e.kgVarName] = R);
11188
11220
  },
11189
11221
  kgPlaceholder: m.value,
11190
11222
  kgDisabled: _.value,
@@ -11228,8 +11260,8 @@ const KgFormItem = defineComponent({
11228
11260
  validateFirst: !0,
11229
11261
  htmlFor: w.value
11230
11262
  }, {
11231
- default: () => createVNode(Fragment, null, [P(), D(), H(), N()]),
11232
- label: () => V()
11263
+ default: () => createVNode(Fragment, null, [V(), D(), H(), N()]),
11264
+ label: () => P()
11233
11265
  });
11234
11266
  }
11235
11267
  function D() {
@@ -11276,9 +11308,9 @@ const KgFormItem = defineComponent({
11276
11308
  return createVNode(KgFormItemInput, C.value, null);
11277
11309
  }
11278
11310
  }
11279
- function P() {
11280
- var M, R, K;
11281
- return ((R = (M = s.option.value.KgSearch) == null ? void 0 : M.dynamicQuery) == null ? void 0 : R.on) !== !0 || ((K = l.currentVarProfileMaster.value) == null ? void 0 : K.dyn_flg) !== 1 ? null : createVNode(Form.ItemRest, null, {
11311
+ function V() {
11312
+ var M, K, R;
11313
+ return ((K = (M = s.option.value.KgSearch) == null ? void 0 : M.dynamicQuery) == null ? void 0 : K.on) !== !0 || ((R = l.currentVarProfileMaster.value) == null ? void 0 : R.dyn_flg) !== 1 ? null : createVNode(Form.ItemRest, null, {
11282
11314
  default: () => {
11283
11315
  var L;
11284
11316
  return [createVNode(Select, {
@@ -11303,7 +11335,7 @@ const KgFormItem = defineComponent({
11303
11335
  }
11304
11336
  });
11305
11337
  }
11306
- function V() {
11338
+ function P() {
11307
11339
  return e.kgShowLabel ? createVNode("span", {
11308
11340
  title: l.t(e.kgVarName).value
11309
11341
  }, [l.t(e.kgVarName).value]) : null;
@@ -11329,7 +11361,7 @@ const KgFormItem = defineComponent({
11329
11361
  });
11330
11362
  }
11331
11363
  return () => {
11332
- var R, K;
11364
+ var K, R;
11333
11365
  let M;
11334
11366
  return l.isRetrieving.value ? null : createVNode(Col, {
11335
11367
  ref: A,
@@ -11338,8 +11370,8 @@ const KgFormItem = defineComponent({
11338
11370
  style: k.value,
11339
11371
  "kg-frm_id": l.formID,
11340
11372
  "kg-var_nam": e.kgVarName,
11341
- "kg-lkp_id": (R = u.value) == null ? void 0 : R.lkp_id,
11342
- "kg-ret_fld": (K = u.value) == null ? void 0 : K.ret_fld
11373
+ "kg-lkp_id": (K = u.value) == null ? void 0 : K.lkp_id,
11374
+ "kg-ret_fld": (R = u.value) == null ? void 0 : R.ret_fld
11343
11375
  }, _isSlot$8(M = O()) ? M : {
11344
11376
  default: () => [M]
11345
11377
  });
@@ -12972,10 +13004,10 @@ function useKgVar(e, t, r = 0) {
12972
13004
  }), onUnmounted(() => {
12973
13005
  c.dispose(u);
12974
13006
  }));
12975
- const d = (X) => computed(() => c.t(u, X)), g = computed(() => c.isRetrieving(u)), v = computed(() => c.isRetrievingVarProfileMaster(u)), y = computed(() => c.isRetrievingVarGridMaster(u)), b = computed(() => c.isRetrieved(u)), _ = computed(() => c.isCreating(u)), m = computed(() => c.isCreatingRequesting(u)), p = computed(() => c.isUpdating(u)), T = computed(() => c.isUpdatingRequesting(u)), k = computed(() => c.isCopying(u)), I = computed(() => c.isCopyingRequesting(u)), C = computed(() => c.isDeleting(u)), w = computed(() => c.isDeletingRequesting(u)), A = computed(() => c.isOtherRequesting(u)), O = computed(() => c.getVarButtons(u)), D = computed(() => c.getVarButtonSearch(u)), P = computed(() => c.getVarButtonCreate(u)), V = computed(() => c.getVarButtonUpdate(u)), H = computed(() => c.getVarButtonCopy(u)), N = computed(() => c.getVarButtonDelete(u)), M = computed(() => c.getVarProfileMasters(u)), R = computed(() => c.getCurrentVarProfileMasterID(u)), K = computed(() => c.getCurrentVarProfileMaster(u)), L = computed(() => {
12976
- var X, ee;
12977
- return (ee = (X = K.value) == null ? void 0 : X.varProfileDetails) != null ? ee : null;
12978
- }), B = computed(() => c.getVarGridConfig(u)), $ = computed(() => c.getVarGridMasters(u)), x = computed(() => c.getCurrentVarGridMasterID(u)), W = computed(() => c.getCurrentVarGridMaster(u)), z = computed(() => c.getSystemVarGridDetails(u)), J = computed(() => c.getCurrentVarGridDetails(u));
13007
+ const d = (X) => computed(() => c.t(u, X)), g = computed(() => c.isRetrieving(u)), v = computed(() => c.isRetrievingVarProfileMaster(u)), y = computed(() => c.isRetrievingVarGridMaster(u)), b = computed(() => c.isRetrieved(u)), _ = computed(() => c.isCreating(u)), m = computed(() => c.isCreatingRequesting(u)), p = computed(() => c.isUpdating(u)), T = computed(() => c.isUpdatingRequesting(u)), k = computed(() => c.isCopying(u)), I = computed(() => c.isCopyingRequesting(u)), C = computed(() => c.isDeleting(u)), w = computed(() => c.isDeletingRequesting(u)), A = computed(() => c.isOtherRequesting(u)), O = computed(() => c.getVarButtons(u)), D = computed(() => c.getVarButtonSearch(u)), V = computed(() => c.getVarButtonCreate(u)), P = computed(() => c.getVarButtonUpdate(u)), H = computed(() => c.getVarButtonCopy(u)), N = computed(() => c.getVarButtonDelete(u)), M = computed(() => c.getVarProfileMasters(u)), K = computed(() => c.getCurrentVarProfileMasterID(u)), R = computed(() => c.getCurrentVarProfileMaster(u)), L = computed(() => {
13008
+ var X, te;
13009
+ return (te = (X = R.value) == null ? void 0 : X.varProfileDetails) != null ? te : null;
13010
+ }), B = computed(() => c.getVarGridConfig(u)), $ = computed(() => c.getVarGridMasters(u)), x = computed(() => c.getCurrentVarGridMasterID(u)), W = computed(() => c.getCurrentVarGridMaster(u)), Q = computed(() => c.getSystemVarGridDetails(u)), J = computed(() => c.getCurrentVarGridDetails(u));
12979
13011
  return {
12980
13012
  formID: u,
12981
13013
  store: c,
@@ -12994,19 +13026,19 @@ function useKgVar(e, t, r = 0) {
12994
13026
  isOtherRequesting: A,
12995
13027
  varButtons: O,
12996
13028
  varButtonSearch: D,
12997
- varButtonCreate: P,
12998
- varButtonUpdate: V,
13029
+ varButtonCreate: V,
13030
+ varButtonUpdate: P,
12999
13031
  varButtonCopy: H,
13000
13032
  varButtonDelete: N,
13001
13033
  varProfileMasters: M,
13002
- currentVarProfileMasterID: R,
13003
- currentVarProfileMaster: K,
13034
+ currentVarProfileMasterID: K,
13035
+ currentVarProfileMaster: R,
13004
13036
  currentVarProfileDetails: L,
13005
13037
  varGridConfig: B,
13006
13038
  varGridMasters: $,
13007
13039
  currentVarGridMasteID: x,
13008
13040
  currentVarGridMaster: W,
13009
- systemVarGridDetails: z,
13041
+ systemVarGridDetails: Q,
13010
13042
  currentVarGridDetails: J,
13011
13043
  setIsCreating: s,
13012
13044
  setIsUpdating: l,
@@ -13584,7 +13616,7 @@ const getProps$r = () => ({
13584
13616
  inject(DI_KG_VAR__KG_PROPS, null);
13585
13617
  const n = useKg(), s = useKgVar(), l = useKgButton(), o = useKgTable(), i = useKgSubmit(), u = useKgSearch();
13586
13618
  l.onSubmitSave(async () => (await ue(), !1)), l.onSubmitCancel(async () => (await de(), !1)), _useFormModel$1();
13587
- const c = computed(() => s.isDeleting.value && D.value.length === 0 && V.value.length === 0), d = computed(() => i.store.isLoading(s.formID)), g = computed(() => s.store.getVarSubmitConfig(s.formID)), v = computed(() => s.store.getVarSubmitFieldsForCreateKey(s.formID)), y = computed(() => s.store.getVarSubmitFieldsForCreateNotKey(s.formID)), b = computed(() => s.store.getVarSubmitFieldsForUpdateKey(s.formID)), _ = computed(() => s.store.getVarSubmitFieldsForUpdateNotKey(s.formID)), m = computed(() => s.store.getVarSubmitFieldsForCopyKey(s.formID)), p = computed(() => s.store.getVarSubmitFieldsForCopyNotKey(s.formID)), T = computed(() => s.store.getVarSubmitFieldsForCreateKeyVisible(s.formID)), k = computed(() => s.store.getVarSubmitFieldsForCreateNotKeyVisible(s.formID)), I = computed(() => s.store.getVarSubmitFieldsForUpdateKeyVisible(s.formID)), C = computed(() => s.store.getVarSubmitFieldsForUpdateNotKeyVisible(s.formID)), w = computed(() => s.store.getVarSubmitFieldsForCopyKeyVisible(s.formID)), A = computed(() => s.store.getVarSubmitFieldsForCopyNotKeyVisible(s.formID)), O = computed(() => s.store.getVarSubmitFieldsForDelete(s.formID)), D = computed(() => {
13619
+ const c = computed(() => s.isDeleting.value && D.value.length === 0 && P.value.length === 0), d = computed(() => i.store.isLoading(s.formID)), g = computed(() => s.store.getVarSubmitConfig(s.formID)), v = computed(() => s.store.getVarSubmitFieldsForCreateKey(s.formID)), y = computed(() => s.store.getVarSubmitFieldsForCreateNotKey(s.formID)), b = computed(() => s.store.getVarSubmitFieldsForUpdateKey(s.formID)), _ = computed(() => s.store.getVarSubmitFieldsForUpdateNotKey(s.formID)), m = computed(() => s.store.getVarSubmitFieldsForCopyKey(s.formID)), p = computed(() => s.store.getVarSubmitFieldsForCopyNotKey(s.formID)), T = computed(() => s.store.getVarSubmitFieldsForCreateKeyVisible(s.formID)), k = computed(() => s.store.getVarSubmitFieldsForCreateNotKeyVisible(s.formID)), I = computed(() => s.store.getVarSubmitFieldsForUpdateKeyVisible(s.formID)), C = computed(() => s.store.getVarSubmitFieldsForUpdateNotKeyVisible(s.formID)), w = computed(() => s.store.getVarSubmitFieldsForCopyKeyVisible(s.formID)), A = computed(() => s.store.getVarSubmitFieldsForCopyNotKeyVisible(s.formID)), O = computed(() => s.store.getVarSubmitFieldsForDelete(s.formID)), D = computed(() => {
13588
13620
  var U, Y, Z;
13589
13621
  switch (!0) {
13590
13622
  case s.isCreating.value:
@@ -13597,7 +13629,7 @@ const getProps$r = () => ({
13597
13629
  return [];
13598
13630
  }
13599
13631
  return [];
13600
- }), P = computed(() => {
13632
+ }), V = computed(() => {
13601
13633
  var U, Y, Z;
13602
13634
  switch (!0) {
13603
13635
  case s.isCreating.value:
@@ -13610,7 +13642,7 @@ const getProps$r = () => ({
13610
13642
  return [];
13611
13643
  }
13612
13644
  return [];
13613
- }), V = computed(() => {
13645
+ }), P = computed(() => {
13614
13646
  var U, Y, Z, re;
13615
13647
  switch (!0) {
13616
13648
  case s.isCreating.value:
@@ -13636,24 +13668,24 @@ const getProps$r = () => ({
13636
13668
  return (re = O.value) != null ? re : [];
13637
13669
  }
13638
13670
  return [];
13639
- }), 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), R = computed(() => d.value), K = ref({
13671
+ }), 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), R = ref({
13640
13672
  kgWidth: 0
13641
13673
  }), L = computed(() => {
13642
13674
  var U;
13643
- return !!(c.value || ee.isFullscreen || ((U = g.value) == null ? void 0 : U.resizable_flg) === 0);
13675
+ return !!(c.value || te.isFullscreen || ((U = g.value) == null ? void 0 : U.resizable_flg) === 0);
13644
13676
  }), B = computed(() => {
13645
13677
  var U, Y;
13646
13678
  return c.value ? 398 : (Y = (U = g.value) == null ? void 0 : U.min_width) != null ? Y : DEFAULT_MIN_WIDTH;
13647
13679
  }), $ = computed(() => {
13648
13680
  var U, Y;
13649
13681
  return c.value ? 398 : (Y = (U = g.value) == null ? void 0 : U.max_width) != null ? Y : DEFAULT_MAX_WIDTH;
13650
- }), x = computed(() => c.value ? 398 : K.value.kgWidth), W = ref(null);
13682
+ }), x = computed(() => c.value ? 398 : R.value.kgWidth), W = ref(null);
13651
13683
  _useResizeObserver(W);
13652
- const z = _useTitle(), J = computed(() => c.value ? 400 : K.value.kgWidth && K.value.kgWidth > 0 ? "auto" : 0), X = computed(() => J.value === 0 ? !1 : !!(s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value)), ee = reactive({
13684
+ const Q = _useTitle(), J = computed(() => c.value ? 400 : R.value.kgWidth && R.value.kgWidth > 0 ? "auto" : 0), X = computed(() => J.value === 0 ? !1 : !!(s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value)), te = reactive({
13653
13685
  isFullscreen: !1
13654
13686
  }), {
13655
13687
  getClass: ie
13656
- } = _useClass(e, ee), {
13688
+ } = _useClass(e, te), {
13657
13689
  getLayout: pe
13658
13690
  } = _useLayout(), {
13659
13691
  getDefaultWidth: fe
@@ -13705,20 +13737,20 @@ const getProps$r = () => ({
13705
13737
  return U["footer.ok-button.text-var-name.deleting"] ? s.t(U["footer.ok-button.text-var-name.deleting"]).value : n.t("kg.delete");
13706
13738
  }
13707
13739
  return n.t("kg.save");
13708
- }), Q = computed(() => i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL && !ee.isFullscreen);
13740
+ }), z = computed(() => i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL && !te.isFullscreen);
13709
13741
  ((Ae = (Te = (ge = n.option.value) == null ? void 0 : ge.KgModal) == null ? void 0 : Te.drag) == null ? void 0 : Ae.on) === !0 && useKgDragModal({
13710
13742
  visible: X,
13711
- draggable: Q,
13743
+ draggable: z,
13712
13744
  destroyOnClose: ref(!0),
13713
13745
  containerElementSelector: ".ant-drawer-content-wrapper",
13714
13746
  handleElementSelector: ".ant-drawer-header",
13715
13747
  contentElementSelector: ".ant-drawer-content-wrapper"
13716
13748
  }), watch(X, (U, Y) => {
13717
- U === !0 && q(), Y === !0 && U === !1 && te();
13749
+ U === !0 && q(), Y === !0 && U === !1 && ee();
13718
13750
  }, {
13719
13751
  immediate: !0
13720
13752
  }), watch(fe, (U) => {
13721
- U && (K.value.kgWidth = U);
13753
+ U && (R.value.kgWidth = U);
13722
13754
  }, {
13723
13755
  immediate: !0
13724
13756
  });
@@ -13744,11 +13776,11 @@ const getProps$r = () => ({
13744
13776
  }, {
13745
13777
  immediate: !0
13746
13778
  });
13747
- ((ne = g.value) == null ? void 0 : ne.dft_fullscreen_flg) === 1 && !c.value && (ee.isFullscreen = !0);
13779
+ ((ne = g.value) == null ? void 0 : ne.dft_fullscreen_flg) === 1 && !c.value && (te.isFullscreen = !0);
13748
13780
  });
13749
13781
  }
13750
- async function te() {
13751
- K.value.kgWidth = fe.value, ee.isFullscreen = !1, await i.store.emit(s.formID, "close", null);
13782
+ async function ee() {
13783
+ R.value.kgWidth = fe.value, te.isFullscreen = !1, await i.store.emit(s.formID, "close", null);
13752
13784
  }
13753
13785
  function de() {
13754
13786
  switch (!0) {
@@ -13842,7 +13874,7 @@ const getProps$r = () => ({
13842
13874
  params: oe.value,
13843
13875
  data: me.value
13844
13876
  });
13845
- ((ce = s.varButtonCreate.value) == null ? void 0 : ce.show_success_message_flg) !== 0 && message.success(z.title.value + n.t("kg.succeed")), s.store.setIsCreating(s.formID, !1), ((le = s.varButtonCreate.value) == null ? void 0 : le.reload_all_after_done_flg) !== 0 && u.search({
13877
+ ((ce = s.varButtonCreate.value) == null ? void 0 : ce.show_success_message_flg) !== 0 && message.success(Q.title.value + n.t("kg.succeed")), s.store.setIsCreating(s.formID, !1), ((le = s.varButtonCreate.value) == null ? void 0 : le.reload_all_after_done_flg) !== 0 && u.search({
13846
13878
  isSearchFirstPage: !0
13847
13879
  }), await i.store.emit(s.formID, "ok", {
13848
13880
  isCreating: !0,
@@ -13965,9 +13997,9 @@ const getProps$r = () => ({
13965
13997
  s.store.setIsDeletingRequesting(s.formID, !0);
13966
13998
  let ke = ref(KgUtil.parseParams(KgVarUtil.parseCommandParameter((re = (Z = s.varButtonDelete.value) == null ? void 0 : Z.cmd_prm) != null ? re : ""), s.formID, r)), De = ref((ne = o.selectedRows.value) != null ? ne : []);
13967
13999
  if (((se = s.varButtonDelete.value) == null ? void 0 : se.del_param_clm) !== "__kg__new_delete_param" && (ke = ref({
13968
- ids: (le = (ce = o.selectedRows.value) == null ? void 0 : ce.map((Pe) => {
13969
- var Oe, Re, Ke;
13970
- return (Ke = Pe[(Re = (Oe = s.varButtonDelete.value) == null ? void 0 : Oe.del_param_clm) != null ? Re : "id"]) != null ? Ke : "";
14000
+ ids: (le = (ce = o.selectedRows.value) == null ? void 0 : ce.map((Ve) => {
14001
+ var Oe, Ke, Re;
14002
+ return (Re = Ve[(Ke = (Oe = s.varButtonDelete.value) == null ? void 0 : Oe.del_param_clm) != null ? Ke : "id"]) != null ? Re : "";
13971
14003
  })) != null ? le : []
13972
14004
  }), De = ref({})), await i.store.emit(s.formID, "beforeRequest", {
13973
14005
  isCreating: s.isCreating.value,
@@ -14028,7 +14060,7 @@ const getProps$r = () => ({
14028
14060
  kgMaxWidth: $.value,
14029
14061
  kgWidth: x.value,
14030
14062
  kgDisabled: L.value,
14031
- "onUpdate:kgWidth": (Z) => K.value.kgWidth = Z
14063
+ "onUpdate:kgWidth": (Z) => R.value.kgWidth = Z
14032
14064
  }, {
14033
14065
  default: () => [createVNode(Spin, {
14034
14066
  spinning: d.value
@@ -14046,9 +14078,9 @@ const getProps$r = () => ({
14046
14078
  gutter: 12
14047
14079
  }, _isSlot$7(U = D.value.map(ye)) ? U : {
14048
14080
  default: () => [U]
14049
- }), P.value.length > 0 && H.value.length > 0 && createVNode(Divider, null, null), V.value.length > 0 && createVNode(Row, {
14081
+ }), V.value.length > 0 && H.value.length > 0 && createVNode(Divider, null, null), P.value.length > 0 && createVNode(Row, {
14050
14082
  gutter: 12
14051
- }, _isSlot$7(Y = V.value.map(ye)) ? Y : {
14083
+ }, _isSlot$7(Y = P.value.map(ye)) ? Y : {
14052
14084
  default: () => [Y]
14053
14085
  }), c.value && createVNode("div", {
14054
14086
  style: "text-align: center; padding: 6px 0 12px;"
@@ -14068,7 +14100,7 @@ const getProps$r = () => ({
14068
14100
  default: () => [U]
14069
14101
  }), createVNode(Button, {
14070
14102
  type: "primary",
14071
- disabled: R.value,
14103
+ disabled: K.value,
14072
14104
  loading: N.value,
14073
14105
  danger: !!s.isDeleting.value,
14074
14106
  onClick: ue
@@ -14078,20 +14110,20 @@ const getProps$r = () => ({
14078
14110
  }
14079
14111
  function Me() {
14080
14112
  return createVNode("div", {
14081
- title: z.title.value
14082
- }, [z.title.value]);
14113
+ title: Q.title.value
14114
+ }, [Q.title.value]);
14083
14115
  }
14084
14116
  function Ie() {
14085
14117
  return createVNode(KgSubmitHeader, {
14086
- isFullscreen: ee.isFullscreen,
14087
- "onUpdate:isFullscreen": (U) => ee.isFullscreen = U,
14118
+ isFullscreen: te.isFullscreen,
14119
+ "onUpdate:isFullscreen": (U) => te.isFullscreen = U,
14088
14120
  kgShowFullscreenButton: !c.value,
14089
14121
  kgShowConfigButton: !c.value && e.kgShowConfigButton,
14090
14122
  onKgCancel: de
14091
14123
  }, null);
14092
14124
  }
14093
14125
  return onUnmounted(async () => {
14094
- await te();
14126
+ await ee();
14095
14127
  }), () => createVNode(Drawer, {
14096
14128
  visible: X.value,
14097
14129
  placement: "right",
@@ -14185,7 +14217,7 @@ const getProps$r = () => ({
14185
14217
  }) {
14186
14218
  const r = useKg(), a = useKgVar(), n = useKgTable(), s = computed(() => a.store.getVarButton(a.formID, e.kgVarName)), l = computed(() => {
14187
14219
  var c, d, g, v, y, b, _, m;
14188
- return a.isCreating.value || a.isUpdating.value || a.isDeleting.value || n.isRetrieving.value || ((c = s.value) == null ? void 0 : c.dis_no_select_flg) === 1 && ((g = (d = n.selectedRows.value) == null ? void 0 : d.length) != null ? g : 0) === 0 || ((v = s.value) == null ? void 0 : v.dis_mult_select_flg) === 1 && ((b = (y = n.selectedRows.value) == null ? void 0 : y.length) != null ? b : 0) > 1 || KgAuthUtil.getPermissionType((_ = s.value) == null ? void 0 : _.permission_code) === 2 && !r.p((m = s.value) == null ? void 0 : m.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14220
+ return isNil(e.kgDisabled) ? !!(a.isCreating.value || a.isUpdating.value || a.isDeleting.value || n.isRetrieving.value || ((c = s.value) == null ? void 0 : c.dis_no_select_flg) === 1 && ((g = (d = n.selectedRows.value) == null ? void 0 : d.length) != null ? g : 0) === 0 || ((v = s.value) == null ? void 0 : v.dis_mult_select_flg) === 1 && ((b = (y = n.selectedRows.value) == null ? void 0 : y.length) != null ? b : 0) > 1 || KgAuthUtil.getPermissionType((_ = s.value) == null ? void 0 : _.permission_code) === 2 && !r.p((m = s.value) == null ? void 0 : m.permission_code)) : e.kgDisabled;
14189
14221
  });
14190
14222
  async function o() {
14191
14223
  e.onKgClick && await e.onKgClick() || a.store.setIsCopying(a.formID, !0);
@@ -14403,7 +14435,7 @@ const KgButtonCreate = defineComponent({
14403
14435
  }) {
14404
14436
  const n = useKg(), s = useKgVar(), l = useKgButton(), o = useKgTable(), i = useKgSubmit(), u = computed(() => s.store.getVarButton(s.formID, e.kgVarName)), c = computed(() => {
14405
14437
  var T, k, I, C, w, A, O, D;
14406
- return s.isUpdating.value || s.isCopying.value || s.isDeleting.value || o.isRetrieving.value || ((T = u.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((I = (k = o.selectedRows.value) == null ? void 0 : k.length) != null ? I : 0) === 0 || ((C = u.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((A = (w = o.selectedRows.value) == null ? void 0 : w.length) != null ? A : 0) > 1 || KgAuthUtil.getPermissionType((O = u.value) == null ? void 0 : O.permission_code) === 2 && !n.p((D = u.value) == null ? void 0 : D.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14438
+ return isNil(e.kgDisabled) ? !!(s.isUpdating.value || s.isCopying.value || s.isDeleting.value || o.isRetrieving.value || ((T = u.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((I = (k = o.selectedRows.value) == null ? void 0 : k.length) != null ? I : 0) === 0 || ((C = u.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((A = (w = o.selectedRows.value) == null ? void 0 : w.length) != null ? A : 0) > 1 || KgAuthUtil.getPermissionType((O = u.value) == null ? void 0 : O.permission_code) === 2 && !n.p((D = u.value) == null ? void 0 : D.permission_code)) : e.kgDisabled;
14407
14439
  }), d = computed(() => !!s.isCreatingRequesting.value);
14408
14440
  async function g() {
14409
14441
  e.onKgClick && await e.onKgClick() || s.store.setIsCreating(s.formID, !0);
@@ -14464,7 +14496,7 @@ const KgButtonCreate = defineComponent({
14464
14496
  setup(e) {
14465
14497
  const t = useKg(), r = useKgVar(), a = useKgTable(), n = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), s = computed(() => {
14466
14498
  var u, c, d, g, v, y, b, _;
14467
- return r.isCreating.value || r.isUpdating.value || r.isCopying.value || a.isRetrieving.value || ((u = n.value) == null ? void 0 : u.dis_no_select_flg) === 1 && ((d = (c = a.selectedRows.value) == null ? void 0 : c.length) != null ? d : 0) === 0 || ((g = n.value) == null ? void 0 : g.dis_mult_select_flg) === 1 && ((y = (v = a.selectedRows.value) == null ? void 0 : v.length) != null ? y : 0) > 1 || KgAuthUtil.getPermissionType((b = n.value) == null ? void 0 : b.permission_code) === 2 && !t.p((_ = n.value) == null ? void 0 : _.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14499
+ return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isCopying.value || a.isRetrieving.value || ((u = n.value) == null ? void 0 : u.dis_no_select_flg) === 1 && ((d = (c = a.selectedRows.value) == null ? void 0 : c.length) != null ? d : 0) === 0 || ((g = n.value) == null ? void 0 : g.dis_mult_select_flg) === 1 && ((y = (v = a.selectedRows.value) == null ? void 0 : v.length) != null ? y : 0) > 1 || KgAuthUtil.getPermissionType((b = n.value) == null ? void 0 : b.permission_code) === 2 && !t.p((_ = n.value) == null ? void 0 : _.permission_code)) : e.kgDisabled;
14468
14500
  });
14469
14501
  async function l() {
14470
14502
  e.onKgClick && await e.onKgClick() || r.store.setIsDeleting(r.formID, !0);
@@ -14523,7 +14555,7 @@ const KgButtonCreate = defineComponent({
14523
14555
  }), ((k = r.varGridConfig.value) == null ? void 0 : k.convert_sort_field_to_under_score_flg) === 1 && y.column && (y.column = snakeCase$1(y.column)), y;
14524
14556
  }), u = computed(() => {
14525
14557
  var y, b, _, m, p, T, k, I;
14526
- return r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || n.isRetrieving.value || ((y = s.value) == null ? void 0 : y.dis_no_select_flg) === 1 && ((_ = (b = n.selectedRows.value) == null ? void 0 : b.length) != null ? _ : 0) === 0 || ((m = s.value) == null ? void 0 : m.dis_mult_select_flg) === 1 && ((T = (p = n.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((k = s.value) == null ? void 0 : k.permission_code) === 2 && !t.p((I = s.value) == null ? void 0 : I.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14558
+ return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || n.isRetrieving.value || ((y = s.value) == null ? void 0 : y.dis_no_select_flg) === 1 && ((_ = (b = n.selectedRows.value) == null ? void 0 : b.length) != null ? _ : 0) === 0 || ((m = s.value) == null ? void 0 : m.dis_mult_select_flg) === 1 && ((T = (p = n.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((k = s.value) == null ? void 0 : k.permission_code) === 2 && !t.p((I = s.value) == null ? void 0 : I.permission_code)) : e.kgDisabled;
14527
14559
  }), c = ref(!1);
14528
14560
  async function d() {
14529
14561
  var y, b;
@@ -14606,7 +14638,7 @@ const KgButtonCreate = defineComponent({
14606
14638
  }), m;
14607
14639
  }), g = computed(() => {
14608
14640
  var m, p, T, k, I, C, w, A;
14609
- return n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value || o.isRetrieving.value || ((m = i.value) == null ? void 0 : m.dis_no_select_flg) === 1 && ((T = (p = o.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) === 0 || ((k = i.value) == null ? void 0 : k.dis_mult_select_flg) === 1 && ((C = (I = o.selectedRows.value) == null ? void 0 : I.length) != null ? C : 0) > 1 || KgAuthUtil.getPermissionType((w = i.value) == null ? void 0 : w.permission_code) === 2 && !a.p((A = i.value) == null ? void 0 : A.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14641
+ return isNil(e.kgDisabled) ? !!(n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value || o.isRetrieving.value || ((m = i.value) == null ? void 0 : m.dis_no_select_flg) === 1 && ((T = (p = o.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) === 0 || ((k = i.value) == null ? void 0 : k.dis_mult_select_flg) === 1 && ((C = (I = o.selectedRows.value) == null ? void 0 : I.length) != null ? C : 0) > 1 || KgAuthUtil.getPermissionType((w = i.value) == null ? void 0 : w.permission_code) === 2 && !a.p((A = i.value) == null ? void 0 : A.permission_code)) : e.kgDisabled;
14610
14642
  }), v = ref(!1);
14611
14643
  async function y(m) {
14612
14644
  if (!u.value)
@@ -14701,7 +14733,7 @@ const KgButtonCreate = defineComponent({
14701
14733
  }), y;
14702
14734
  }), u = computed(() => {
14703
14735
  var y, b, _, m, p, T, k, I;
14704
- return r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || n.isRetrieving.value || ((y = s.value) == null ? void 0 : y.dis_no_select_flg) === 1 && ((_ = (b = n.selectedRows.value) == null ? void 0 : b.length) != null ? _ : 0) === 0 || ((m = s.value) == null ? void 0 : m.dis_mult_select_flg) === 1 && ((T = (p = n.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((k = s.value) == null ? void 0 : k.permission_code) === 2 && !t.p((I = s.value) == null ? void 0 : I.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14736
+ return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || n.isRetrieving.value || ((y = s.value) == null ? void 0 : y.dis_no_select_flg) === 1 && ((_ = (b = n.selectedRows.value) == null ? void 0 : b.length) != null ? _ : 0) === 0 || ((m = s.value) == null ? void 0 : m.dis_mult_select_flg) === 1 && ((T = (p = n.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((k = s.value) == null ? void 0 : k.permission_code) === 2 && !t.p((I = s.value) == null ? void 0 : I.permission_code)) : e.kgDisabled;
14705
14737
  }), c = ref(!1);
14706
14738
  async function d() {
14707
14739
  var y, b;
@@ -14763,7 +14795,7 @@ const KgButtonCreate = defineComponent({
14763
14795
  setup(e) {
14764
14796
  const t = useKg(), r = useKgVar(), a = useKgSearch(), n = useKgButton(), s = useKgTable(), l = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), o = computed(() => {
14765
14797
  var d, g, v, y, b, _, m, p;
14766
- return e.kgLoading || s.isRetrieving.value || ((d = l.value) == null ? void 0 : d.dis_no_select_flg) === 1 && ((v = (g = s.selectedRows.value) == null ? void 0 : g.length) != null ? v : 0) === 0 || ((y = l.value) == null ? void 0 : y.dis_mult_select_flg) === 1 && ((_ = (b = s.selectedRows.value) == null ? void 0 : b.length) != null ? _ : 0) > 1 || KgAuthUtil.getPermissionType((m = l.value) == null ? void 0 : m.permission_code) === 2 && !t.p((p = l.value) == null ? void 0 : p.permission_code) || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14798
+ return isNil(e.kgDisabled) ? !!(e.kgLoading || s.isRetrieving.value || ((d = l.value) == null ? void 0 : d.dis_no_select_flg) === 1 && ((v = (g = s.selectedRows.value) == null ? void 0 : g.length) != null ? v : 0) === 0 || ((y = l.value) == null ? void 0 : y.dis_mult_select_flg) === 1 && ((_ = (b = s.selectedRows.value) == null ? void 0 : b.length) != null ? _ : 0) > 1 || KgAuthUtil.getPermissionType((m = l.value) == null ? void 0 : m.permission_code) === 2 && !t.p((p = l.value) == null ? void 0 : p.permission_code) || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) : e.kgDisabled;
14767
14799
  });
14768
14800
  async function i() {
14769
14801
  var y, b, _;
@@ -14792,8 +14824,8 @@ const KgButtonCreate = defineComponent({
14792
14824
  if (((w = e.kgButton) == null ? void 0 : w.re_select_after_reload_flg) !== 0 && s.onAfterSearch(async ({
14793
14825
  datas: D
14794
14826
  }) => {
14795
- const P = D.value, V = intersectionWith$1(P, m != null ? m : [], (H, N) => (H == null ? void 0 : H[s.id.value]) === (N == null ? void 0 : N[s.id.value]));
14796
- return V.length > 0 && s.store.setSelectedRows(r.formID, V), !1;
14827
+ const V = D.value, P = intersectionWith$1(V, m != null ? m : [], (H, N) => (H == null ? void 0 : H[s.id.value]) === (N == null ? void 0 : N[s.id.value]));
14828
+ return P.length > 0 && s.store.setSelectedRows(r.formID, P), !1;
14797
14829
  }, !0), await n.store.emit(r.formID, "otherOk", {
14798
14830
  button: e.kgButton,
14799
14831
  data: A
@@ -14856,7 +14888,7 @@ const KgButtonCreate = defineComponent({
14856
14888
  setup(e) {
14857
14889
  const t = useKg(), r = useKgVar(), a = useKgTable(), n = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), s = computed(() => {
14858
14890
  var u, c;
14859
- return e.kgLoading || a.isRetrieving.value || KgAuthUtil.getPermissionType((u = r.varButtonSearch.value) == null ? void 0 : u.permission_code) === 2 && !t.p((c = r.varButtonSearch.value) == null ? void 0 : c.permission_code) || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14891
+ return isNil(e.kgDisabled) ? !!(e.kgLoading || a.isRetrieving.value || KgAuthUtil.getPermissionType((u = r.varButtonSearch.value) == null ? void 0 : u.permission_code) === 2 && !t.p((c = r.varButtonSearch.value) == null ? void 0 : c.permission_code) || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) : e.kgDisabled;
14860
14892
  });
14861
14893
  async function l() {
14862
14894
  e.onKgClick && await e.onKgClick();
@@ -14911,7 +14943,7 @@ const KgButtonCreate = defineComponent({
14911
14943
  });
14912
14944
  const u = computed(() => s.store.getVarButton(s.formID, e.kgVarName)), c = computed(() => {
14913
14945
  var T, k, I, C, w, A, O, D;
14914
- return s.isCreating.value || s.isCopying.value || s.isDeleting.value || l.isRetrieving.value || ((T = u.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((I = (k = l.selectedRows.value) == null ? void 0 : k.length) != null ? I : 0) === 0 || ((C = u.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((A = (w = l.selectedRows.value) == null ? void 0 : w.length) != null ? A : 0) > 1 || KgAuthUtil.getPermissionType((O = u.value) == null ? void 0 : O.permission_code) === 2 && !n.p((D = u.value) == null ? void 0 : D.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14946
+ return isNil(e.kgDisabled) ? !!(s.isCreating.value || s.isCopying.value || s.isDeleting.value || l.isRetrieving.value || ((T = u.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((I = (k = l.selectedRows.value) == null ? void 0 : k.length) != null ? I : 0) === 0 || ((C = u.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((A = (w = l.selectedRows.value) == null ? void 0 : w.length) != null ? A : 0) > 1 || KgAuthUtil.getPermissionType((O = u.value) == null ? void 0 : O.permission_code) === 2 && !n.p((D = u.value) == null ? void 0 : D.permission_code)) : e.kgDisabled;
14915
14947
  }), d = computed(() => !!s.isUpdatingRequesting.value);
14916
14948
  async function g() {
14917
14949
  e.onKgClick && await e.onKgClick() || await o.store.emit(s.formID, "updateBeforeClick", {
@@ -15044,7 +15076,10 @@ const getProps$o = () => ({
15044
15076
  if (m) {
15045
15077
  const k = m(_);
15046
15078
  if (!isNil(k))
15047
- return k;
15079
+ return KgLogger.debug("KgButton | isKgDisabled() | \u4F7F\u7528\u7528\u6237\u63D0\u4F9B\u7684\u903B\u8F91\u51B3\u5B9A\u6309\u94AE\u662F\u5426\u542F\u7981\u7528.", {
15080
+ button: _,
15081
+ disabled: k
15082
+ }), k;
15048
15083
  }
15049
15084
  });
15050
15085
  }
@@ -15713,17 +15748,17 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$m = () => ({
15713
15748
  id: p.id
15714
15749
  }
15715
15750
  });
15716
- i.value = i.value.map((V) => {
15751
+ i.value = i.value.map((P) => {
15717
15752
  var N;
15718
- const H = (N = D == null ? void 0 : D.varProfileDetails) == null ? void 0 : N.find((M) => M.var_nam === V.var_nam);
15753
+ const H = (N = D == null ? void 0 : D.varProfileDetails) == null ? void 0 : N.find((M) => M.var_nam === P.var_nam);
15719
15754
  return H ? {
15720
- ...V,
15755
+ ...P,
15721
15756
  ...H,
15722
- id: V.id
15723
- } : V;
15757
+ id: P.id
15758
+ } : P;
15724
15759
  });
15725
- const P = (C = (I = D == null ? void 0 : D.varProfileDetails) == null ? void 0 : I.map((V) => V.var_nam)) != null ? C : [];
15726
- u.value = i.value.filter((V) => P.includes(V.var_nam)).map((V) => V.id);
15760
+ const V = (C = (I = D == null ? void 0 : D.varProfileDetails) == null ? void 0 : I.map((P) => P.var_nam)) != null ? C : [];
15761
+ u.value = i.value.filter((P) => V.includes(P.var_nam)).map((P) => P.id);
15727
15762
  } catch (D) {
15728
15763
  throw D;
15729
15764
  } finally {
@@ -15808,8 +15843,8 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$m = () => ({
15808
15843
  }) => {
15809
15844
  var C, w;
15810
15845
  const I = _.sort((A, O) => {
15811
- var D, P;
15812
- return ((D = A.srtseq) != null ? D : 0) - ((P = O.srtseq) != null ? P : 0);
15846
+ var D, V;
15847
+ return ((D = A.srtseq) != null ? D : 0) - ((V = O.srtseq) != null ? V : 0);
15813
15848
  });
15814
15849
  return b === "right" && (c.value = I), createVNode(Table, {
15815
15850
  pagination: !1,
@@ -16059,9 +16094,9 @@ const KgSearch$1 = "", getProps$j = () => ({
16059
16094
  });
16060
16095
  _useLayoutHeaderResizeObserver();
16061
16096
  const _ = _useFormModel(v, y, b), m = computed(() => {
16062
- var $, x, W, z;
16097
+ var $, x, W, Q;
16063
16098
  if (!isNil((x = ($ = r == null ? void 0 : r.value) == null ? void 0 : $.KgSearch) == null ? void 0 : x.kgDisabled))
16064
- return (z = (W = r == null ? void 0 : r.value) == null ? void 0 : W.KgSearch) == null ? void 0 : z.kgDisabled;
16099
+ return (Q = (W = r == null ? void 0 : r.value) == null ? void 0 : W.KgSearch) == null ? void 0 : Q.kgDisabled;
16065
16100
  if (!isNil(e.kgDisabled))
16066
16101
  return e.kgDisabled;
16067
16102
  }), p = computed(() => {
@@ -16083,11 +16118,11 @@ const KgSearch$1 = "", getProps$j = () => ({
16083
16118
  default:
16084
16119
  return !0;
16085
16120
  }
16086
- }), O = computed(() => !!(n.isRetrieving.value || n.isRetrievingVarProfileMaster.value || u.value && !!n.isOtherRequesting.value)), D = computed(() => !!n.isRetrieving.value || !!n.isRetrievingVarProfileMaster.value), P = computed(() => {
16121
+ }), O = computed(() => !!(n.isRetrieving.value || n.isRetrievingVarProfileMaster.value || u.value && !!n.isOtherRequesting.value)), D = computed(() => !!n.isRetrieving.value || !!n.isRetrievingVarProfileMaster.value), V = computed(() => {
16087
16122
  let $ = "kg-search";
16088
16123
  return o.value && ($ += " kg-search--visible"), u.value && ($ += " kg-search--teleport"), $;
16089
16124
  });
16090
- async function V($ = {}) {
16125
+ async function P($ = {}) {
16091
16126
  var x, W;
16092
16127
  if (KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u6267\u884C\u5F00\u59CB.`), l.isRetrieving.value) {
16093
16128
  KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u6B63\u5728\u67E5\u8BE2.`);
@@ -16103,13 +16138,13 @@ const KgSearch$1 = "", getProps$j = () => ({
16103
16138
  }
16104
16139
  o.value ? (KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u663E\u793A\u67E5\u8BE2\u6761\u4EF6\u7EC4\u4EF6.`), y.value && y.value.validate().then(async () => {
16105
16140
  await s.store.emit(n.formID, "search", $);
16106
- }).catch((z) => {
16141
+ }).catch((Q) => {
16107
16142
  KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u8868\u5355\u9A8C\u8BC1\u5931\u8D25.`, {
16108
- e: z
16143
+ e: Q
16109
16144
  });
16110
16145
  })) : (KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u9690\u85CF\u67E5\u8BE2\u6761\u4EF6\u7EC4\u4EF6.`), await s.store.emit(n.formID, "search", $));
16111
16146
  }
16112
- s.store.setSearchFn(n.formID, V);
16147
+ s.store.setSearchFn(n.formID, P);
16113
16148
  async function H() {
16114
16149
  _.initFormModel(), o.value ? y.value && y.value.validate().then(async () => {
16115
16150
  await s.store.emit(n.formID, "reset", {});
@@ -16121,7 +16156,7 @@ const KgSearch$1 = "", getProps$j = () => ({
16121
16156
  }
16122
16157
  s.store.setResetFn(n.formID, H);
16123
16158
  function N() {
16124
- return V({
16159
+ return P({
16125
16160
  isSearchFirstPage: !0
16126
16161
  }), Promise.resolve(!0);
16127
16162
  }
@@ -16137,20 +16172,20 @@ const KgSearch$1 = "", getProps$j = () => ({
16137
16172
  }
16138
16173
  }, [t.KgSearch.left()]), C.value ? createVNode(CaretUpOutlined$1, null, null) : createVNode(CaretDownOutlined$1, null, null), createVNode("span", null, [a.t("kg.KgSearch.title")])]);
16139
16174
  }
16140
- function R() {
16141
- var $, x, W, z;
16175
+ function K() {
16176
+ var $, x, W, Q;
16142
16177
  return ((W = (x = ($ = n.varProfileMasters) == null ? void 0 : $.value) == null ? void 0 : x.length) != null ? W : 0) === 0 ? null : createVNode(Fragment, null, [createVNode(Select, {
16143
- value: (z = n.currentVarProfileMasterID.value) != null ? z : void 0,
16178
+ value: (Q = n.currentVarProfileMasterID.value) != null ? Q : void 0,
16144
16179
  "onUpdate:value": (J) => n.store.setCurrentVarProfileMasterID(n.formID, J),
16145
16180
  disabled: T.value,
16146
16181
  class: "kg-search-profile-master-select"
16147
16182
  }, {
16148
16183
  default: () => {
16149
16184
  var J, X;
16150
- return (X = (J = n.varProfileMasters) == null ? void 0 : J.value) == null ? void 0 : X.map((ee) => createVNode(Select.Option, {
16151
- value: ee.id
16185
+ return (X = (J = n.varProfileMasters) == null ? void 0 : J.value) == null ? void 0 : X.map((te) => createVNode(Select.Option, {
16186
+ value: te.id
16152
16187
  }, {
16153
- default: () => [n.t(ee == null ? void 0 : ee.prf_var_nam).value]
16188
+ default: () => [n.t(te == null ? void 0 : te.prf_var_nam).value]
16154
16189
  }));
16155
16190
  },
16156
16191
  suffixIcon: () => createVNode(CaretDownOutlined$1, {
@@ -16170,9 +16205,9 @@ const KgSearch$1 = "", getProps$j = () => ({
16170
16205
  hostFormID: n.formID
16171
16206
  }, null)]);
16172
16207
  }
16173
- function K() {
16208
+ function R() {
16174
16209
  var $, x, W;
16175
- return createVNode(Fragment, null, [R(), createVNode(Button, {
16210
+ return createVNode(Fragment, null, [K(), createVNode(Button, {
16176
16211
  type: "primary",
16177
16212
  ghost: !p.value,
16178
16213
  disabled: p.value,
@@ -16211,7 +16246,7 @@ const KgSearch$1 = "", getProps$j = () => ({
16211
16246
  key: W.var_nam,
16212
16247
  kgVarName: W.var_nam,
16213
16248
  kgContext: KG_FORM_CONTEXT.SEARCH,
16214
- onKgSubmit: () => V({
16249
+ onKgSubmit: () => P({
16215
16250
  isSearchFirstPage: !0
16216
16251
  })
16217
16252
  }, null))];
@@ -16231,7 +16266,7 @@ const KgSearch$1 = "", getProps$j = () => ({
16231
16266
  kgMinHeight: g.value,
16232
16267
  kgMaxHeight: d.value,
16233
16268
  kgDisabled: !i.value,
16234
- kgClass: P.value,
16269
+ kgClass: V.value,
16235
16270
  "kg-frm_id": n.formID
16236
16271
  }, {
16237
16272
  default: () => [o.value && createVNode("div", {
@@ -16249,7 +16284,7 @@ const KgSearch$1 = "", getProps$j = () => ({
16249
16284
  }, {
16250
16285
  default: () => [M(), createVNode("div", {
16251
16286
  class: "ant-collapse-extra"
16252
- }, [K()])]
16287
+ }, [R()])]
16253
16288
  })])]
16254
16289
  }), createVNode("div", {
16255
16290
  class: "ant-collapse-content ant-collapse-content-active"
@@ -16726,27 +16761,27 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16726
16761
  columnWidth: 32,
16727
16762
  hideSelectAll: !0,
16728
16763
  selectedRowKeys: d,
16729
- onSelect: (V) => w(V)
16764
+ onSelect: (P) => w(P)
16730
16765
  }), v = ref({
16731
16766
  visible: !1
16732
16767
  }), y = computed(() => !!(unref(c) || unref(n) || unref(s) || unref(l))), b = computed(() => {
16733
- var V;
16734
- return !!c.value || ((V = a.getSelectedVarCatalog) == null ? void 0 : V.cust_lvl) === KG_CUSTOM_LEVEL.L0;
16768
+ var P;
16769
+ return !!c.value || ((P = a.getSelectedVarCatalog) == null ? void 0 : P.cust_lvl) === KG_CUSTOM_LEVEL.L0;
16735
16770
  }), _ = computed(() => !!(!unref(c) || unref(n) || unref(s))), m = computed(() => !!(!unref(a.getSelectedVarCatalog) || unref(n)));
16736
- watch(() => a.getSelectedVar, (V) => {
16737
- V ? p() : (c.value = null, u.value = [], a.setSelectedVarCatalog(null));
16771
+ watch(() => a.getSelectedVar, (P) => {
16772
+ P ? p() : (c.value = null, u.value = [], a.setSelectedVarCatalog(null));
16738
16773
  }, {
16739
16774
  immediate: !0
16740
- }), watch(() => a.getSelectedVarCatalog, async (V) => {
16775
+ }), watch(() => a.getSelectedVarCatalog, async (P) => {
16741
16776
  var H, N;
16742
- i.value.var_text = (H = V == null ? void 0 : V.var_text) != null ? H : "", (N = o.value) == null || N.clearValidate();
16777
+ i.value.var_text = (H = P == null ? void 0 : P.var_text) != null ? H : "", (N = o.value) == null || N.clearValidate();
16743
16778
  });
16744
- async function p(V = !1) {
16779
+ async function p(P = !1) {
16745
16780
  var H, N, M;
16746
16781
  n.value = !0;
16747
16782
  try {
16748
16783
  const {
16749
- records: R
16784
+ records: K
16750
16785
  } = await List({
16751
16786
  params: {
16752
16787
  pageNo: 1,
@@ -16757,24 +16792,24 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16757
16792
  order: "asc"
16758
16793
  }
16759
16794
  });
16760
- if (c.value = null, u.value = R != null ? R : [], V) {
16761
- const K = u.value.find((L) => {
16795
+ if (c.value = null, u.value = K != null ? K : [], P) {
16796
+ const R = u.value.find((L) => {
16762
16797
  var B;
16763
16798
  return L.id === ((B = a.getSelectedVarCatalog) == null ? void 0 : B.id);
16764
16799
  });
16765
- a.setSelectedVarCatalog(K != null ? K : null), d.value = K != null && K.id ? [K.id] : [];
16800
+ a.setSelectedVarCatalog(R != null ? R : null), d.value = R != null && R.id ? [R.id] : [];
16766
16801
  } else
16767
16802
  a.setSelectedVarCatalog((N = u.value[0]) != null ? N : null), d.value = (M = u.value[0]) != null && M.id ? [u.value[0].id] : [];
16768
- } catch (R) {
16769
- KgLogger.debug(R == null ? void 0 : R.message);
16803
+ } catch (K) {
16804
+ KgLogger.debug(K == null ? void 0 : K.message);
16770
16805
  } finally {
16771
16806
  n.value = !1;
16772
16807
  }
16773
16808
  }
16774
16809
  async function T() {
16775
- var V, H, N;
16810
+ var P, H, N;
16776
16811
  try {
16777
- s.value = !0, await ((V = o.value) == null ? void 0 : V.validate());
16812
+ s.value = !0, await ((P = o.value) == null ? void 0 : P.validate());
16778
16813
  const M = new VarCatalog({
16779
16814
  ...(H = a.getSelectedVarCatalog) != null ? H : {},
16780
16815
  var_text: (N = i.value) == null ? void 0 : N.var_text
@@ -16805,33 +16840,33 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16805
16840
  }
16806
16841
  }
16807
16842
  function k({
16808
- isAllForm: V,
16843
+ isAllForm: P,
16809
16844
  isAllLanguage: H
16810
16845
  }) {
16811
- var N, M, R;
16846
+ var N, M, K;
16812
16847
  c.value = new VarCatalog({
16813
16848
  id: "",
16814
16849
  cust_lvl: KG_CUSTOM_LEVEL.L10,
16815
16850
  grp_nam: (N = a.getSelectedVar) == null ? void 0 : N.grp_nam,
16816
16851
  var_nam: (M = a.getSelectedVar) == null ? void 0 : M.var_nam,
16817
- frm_id: V || !(e != null && e.value) ? "ALL" : e == null ? void 0 : e.value,
16818
- locale_id: H ? "ALL" : (R = t.locale) == null ? void 0 : R.value,
16852
+ frm_id: P || !(e != null && e.value) ? "ALL" : e == null ? void 0 : e.value,
16853
+ locale_id: H ? "ALL" : (K = t.locale) == null ? void 0 : K.value,
16819
16854
  var_text: ""
16820
16855
  }), u.value = [...u.value, c.value], a.setSelectedVarCatalog(unref(c)), d.value = [""];
16821
16856
  }
16822
16857
  function I() {
16823
16858
  var H;
16824
16859
  u.value = without$1(u.value, c.value), c.value = null;
16825
- const V = (H = u.value[0]) != null ? H : null;
16826
- a.setSelectedVarCatalog(V), d.value = V ? [V.id] : [];
16860
+ const P = (H = u.value[0]) != null ? H : null;
16861
+ a.setSelectedVarCatalog(P), d.value = P ? [P.id] : [];
16827
16862
  }
16828
16863
  function C() {
16829
16864
  KgUtil.confirm({
16830
16865
  onOk: async () => {
16831
- var V;
16866
+ var P;
16832
16867
  await Delete({
16833
16868
  params: {
16834
- id: (V = a.getSelectedVarCatalog) == null ? void 0 : V.id
16869
+ id: (P = a.getSelectedVarCatalog) == null ? void 0 : P.id
16835
16870
  }
16836
16871
  }, {
16837
16872
  successMessageMode: "none",
@@ -16842,14 +16877,14 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16842
16877
  }
16843
16878
  });
16844
16879
  }
16845
- function w(V) {
16880
+ function w(P) {
16846
16881
  var H;
16847
- ((H = a.getSelectedVarCatalog) == null ? void 0 : H.id) !== V.id && (unref(c) ? KgUtil.confirm({
16882
+ ((H = a.getSelectedVarCatalog) == null ? void 0 : H.id) !== P.id && (unref(c) ? KgUtil.confirm({
16848
16883
  content: t.t("kg.KgVarConfig.discardConfirmMessage"),
16849
16884
  onOk: () => {
16850
- u.value = without$1(u.value, c.value), c.value = null, a.setSelectedVarCatalog(unref(V)), d.value = [V.id];
16885
+ u.value = without$1(u.value, c.value), c.value = null, a.setSelectedVarCatalog(unref(P)), d.value = [P.id];
16851
16886
  }
16852
- }) : (a.setSelectedVarCatalog(unref(V)), d.value = [V.id]));
16887
+ }) : (a.setSelectedVarCatalog(unref(P)), d.value = [P.id]));
16853
16888
  }
16854
16889
  function A() {
16855
16890
  v.value.visible = !0;
@@ -16874,7 +16909,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16874
16909
  })]);
16875
16910
  }
16876
16911
  function D() {
16877
- let V, H;
16912
+ let P, H;
16878
16913
  return createVNode("div", {
16879
16914
  class: "form"
16880
16915
  }, [createVNode(Form, {
@@ -16902,8 +16937,8 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16902
16937
  }, [createVNode(Button, {
16903
16938
  disabled: _.value,
16904
16939
  onClick: I
16905
- }, _isSlot$2(V = t.t("common.cancelText")) ? V : {
16906
- default: () => [V]
16940
+ }, _isSlot$2(P = t.t("common.cancelText")) ? P : {
16941
+ default: () => [P]
16907
16942
  }), createVNode(Button, {
16908
16943
  loading: s.value,
16909
16944
  disabled: m.value,
@@ -16913,10 +16948,10 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16913
16948
  default: () => [H]
16914
16949
  })])]);
16915
16950
  }
16916
- function P(V) {
16951
+ function V(P) {
16917
16952
  var N;
16918
16953
  let H = "";
16919
- return V.id || (H += " ant-table-row-create"), V.id === ((N = a.getSelectedVarCatalog) == null ? void 0 : N.id) && (H += " ant-table-row-selected "), H;
16954
+ return P.id || (H += " ant-table-row-create"), P.id === ((N = a.getSelectedVarCatalog) == null ? void 0 : N.id) && (H += " ant-table-row-selected "), H;
16920
16955
  }
16921
16956
  return () => createVNode("div", {
16922
16957
  class: "kg-var-config-modal-var-var-catalog"
@@ -16932,14 +16967,14 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16932
16967
  rowKey: "id",
16933
16968
  dataSource: u.value,
16934
16969
  loading: n.value,
16935
- rowClassName: P,
16970
+ rowClassName: V,
16936
16971
  rowSelection: g.value,
16937
- customRow: (V) => ({
16938
- onClick: () => w(V)
16972
+ customRow: (P) => ({
16973
+ onClick: () => w(P)
16939
16974
  })
16940
16975
  }, null), D(), createVNode(KgVarConfigModalVarCreateModal, {
16941
16976
  visible: v.value.visible,
16942
- "onUpdate:visible": (V) => v.value.visible = V,
16977
+ "onUpdate:visible": (P) => v.value.visible = P,
16943
16978
  onKgOk: k
16944
16979
  }, null)]);
16945
16980
  }
@@ -17280,8 +17315,8 @@ const KgWarehouse$1 = "", getProps$a = () => ({
17280
17315
  var I;
17281
17316
  const k = (I = s.value) == null ? void 0 : I.toUpperCase();
17282
17317
  return u.value.filter((C) => {
17283
- var w, A, O, D, P, V;
17284
- return ((A = (w = C.whDsc) == null ? void 0 : w.toUpperCase()) == null ? void 0 : A.includes(k)) || ((D = (O = C.whId) == null ? void 0 : O.toUpperCase()) == null ? void 0 : D.includes(k)) || ((V = (P = C.adrId) == null ? void 0 : P.toUpperCase()) == null ? void 0 : V.includes(k));
17318
+ var w, A, O, D, V, P;
17319
+ return ((A = (w = C.whDsc) == null ? void 0 : w.toUpperCase()) == null ? void 0 : A.includes(k)) || ((D = (O = C.whId) == null ? void 0 : O.toUpperCase()) == null ? void 0 : D.includes(k)) || ((P = (V = C.adrId) == null ? void 0 : V.toUpperCase()) == null ? void 0 : P.includes(k));
17285
17320
  });
17286
17321
  }), d = computed(() => {
17287
17322
  var k;
@@ -17567,24 +17602,24 @@ class KgUtil {
17567
17602
  let O = r ? this.parseParamFromDayJS(y, A, r) : A.format("YYYY-MM-DD HH:mm:ss");
17568
17603
  switch (m) {
17569
17604
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
17570
- let D = O, P = "";
17605
+ let D = O, V = "";
17571
17606
  switch (!0) {
17572
17607
  case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(D): {
17573
- P = A.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17608
+ V = A.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17574
17609
  break;
17575
17610
  }
17576
17611
  case /\d\d-\d\d-\d\d/.test(D): {
17577
- D = `${D} 00:00:00`, P = A.add(1, "day").format("YYYY-MM-DD 00:00:00");
17612
+ D = `${D} 00:00:00`, V = A.add(1, "day").format("YYYY-MM-DD 00:00:00");
17578
17613
  break;
17579
17614
  }
17580
17615
  case /\d\d:\d\d:\d\d/.test(D): {
17581
- D = A.format("1900-01-01 HH:mm:ss"), P = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17616
+ D = A.format("1900-01-01 HH:mm:ss"), V = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17582
17617
  break;
17583
17618
  }
17584
17619
  default:
17585
17620
  throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
17586
17621
  }
17587
- O = ` AND (${p} < '${D}' OR ${p} >= '${P}')`;
17622
+ O = ` AND (${p} < '${D}' OR ${p} >= '${V}')`;
17588
17623
  break;
17589
17624
  }
17590
17625
  case KG_DYNAMIC_QUERY_OPERATOR.LT: {
@@ -17607,45 +17642,45 @@ class KgUtil {
17607
17642
  break;
17608
17643
  }
17609
17644
  case KG_DYNAMIC_QUERY_OPERATOR.LTE: {
17610
- let D = O, P = "";
17645
+ let D = O, V = "";
17611
17646
  switch (!0) {
17612
17647
  case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(D): {
17613
- P = A.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17648
+ V = A.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17614
17649
  break;
17615
17650
  }
17616
17651
  case /\d\d-\d\d-\d\d/.test(D): {
17617
- P = A.add(1, "day").format("YYYY-MM-DD 00:00:00");
17652
+ V = A.add(1, "day").format("YYYY-MM-DD 00:00:00");
17618
17653
  break;
17619
17654
  }
17620
17655
  case /\d\d:\d\d:\d\d/.test(D): {
17621
- P = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17656
+ V = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17622
17657
  break;
17623
17658
  }
17624
17659
  default:
17625
17660
  throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
17626
17661
  }
17627
- O = ` AND (${p} < '${P}')`;
17662
+ O = ` AND (${p} < '${V}')`;
17628
17663
  break;
17629
17664
  }
17630
17665
  case KG_DYNAMIC_QUERY_OPERATOR.GT: {
17631
- let D = O, P = "";
17666
+ let D = O, V = "";
17632
17667
  switch (!0) {
17633
17668
  case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(D): {
17634
- P = A.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17669
+ V = A.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17635
17670
  break;
17636
17671
  }
17637
17672
  case /\d\d-\d\d-\d\d/.test(D): {
17638
- P = A.add(1, "day").format("YYYY-MM-DD 00:00:00");
17673
+ V = A.add(1, "day").format("YYYY-MM-DD 00:00:00");
17639
17674
  break;
17640
17675
  }
17641
17676
  case /\d\d:\d\d:\d\d/.test(D): {
17642
- P = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17677
+ V = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17643
17678
  break;
17644
17679
  }
17645
17680
  default:
17646
17681
  throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
17647
17682
  }
17648
- O = ` AND (${p} >= '${P}')`;
17683
+ O = ` AND (${p} >= '${V}')`;
17649
17684
  break;
17650
17685
  }
17651
17686
  case KG_DYNAMIC_QUERY_OPERATOR.GTE: {
@@ -17669,24 +17704,24 @@ class KgUtil {
17669
17704
  }
17670
17705
  case KG_DYNAMIC_QUERY_OPERATOR.EQ:
17671
17706
  default: {
17672
- let D = O, P = "";
17707
+ let D = O, V = "";
17673
17708
  switch (!0) {
17674
17709
  case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(D): {
17675
- P = A.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17710
+ V = A.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17676
17711
  break;
17677
17712
  }
17678
17713
  case /\d\d-\d\d-\d\d/.test(D): {
17679
- D = `${D} 00:00:00`, P = A.add(1, "day").format("YYYY-MM-DD 00:00:00");
17714
+ D = `${D} 00:00:00`, V = A.add(1, "day").format("YYYY-MM-DD 00:00:00");
17680
17715
  break;
17681
17716
  }
17682
17717
  case /\d\d:\d\d:\d\d/.test(D): {
17683
- D = `1900-01-01 ${D}`, P = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17718
+ D = `1900-01-01 ${D}`, V = A.add(1, "second").format("1900-01-01 HH:mm:ss");
17684
17719
  break;
17685
17720
  }
17686
17721
  default:
17687
17722
  throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
17688
17723
  }
17689
- O = ` AND (${p} >= '${D}' AND ${p} < '${P}')`;
17724
+ O = ` AND (${p} >= '${D}' AND ${p} < '${V}')`;
17690
17725
  break;
17691
17726
  }
17692
17727
  }
@@ -17695,22 +17730,22 @@ class KgUtil {
17695
17730
  }
17696
17731
  case (!!n && isArray$1(_) && _.length === 2 && n.isDayjs(_[0]) && n.isDayjs(_[1])): {
17697
17732
  const A = _[0], O = _[1];
17698
- let D = this.parseParamFromDayJS(y, A, r), P = "", V = "";
17733
+ let D = this.parseParamFromDayJS(y, A, r), V = "", P = "";
17699
17734
  switch (!0) {
17700
17735
  case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(D): {
17701
- P = O.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17736
+ V = O.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
17702
17737
  break;
17703
17738
  }
17704
17739
  case /\d\d-\d\d-\d\d/.test(D): {
17705
- D = `${D} 00:00:00`, P = O.add(1, "day").format("YYYY-MM-DD 00:00:00");
17740
+ D = `${D} 00:00:00`, V = O.add(1, "day").format("YYYY-MM-DD 00:00:00");
17706
17741
  break;
17707
17742
  }
17708
17743
  case /\d\d:\d\d:\d\d/.test(D): {
17709
- D = `1900-01-01 ${D}`, P = O.add(1, "second").format("1900-01-01 HH:mm:ss");
17744
+ D = `1900-01-01 ${D}`, V = O.add(1, "second").format("1900-01-01 HH:mm:ss");
17710
17745
  break;
17711
17746
  }
17712
17747
  }
17713
- P ? V = ` AND (${p} >= '${D}' AND ${p} < '${P}')` : V = ` AND (${p} >= '${D}')`, c[y] = V;
17748
+ V ? P = ` AND (${p} >= '${D}' AND ${p} < '${V}')` : P = ` AND (${p} >= '${D}')`, c[y] = P;
17714
17749
  break;
17715
17750
  }
17716
17751
  case Array.isArray(_): {