@kengic/vue 0.23.3-beta.0 → 0.23.3-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/kengic-vue.js +213 -209
  2. package/package.json +9 -7
@@ -2462,7 +2462,7 @@ const emptyIcon = {
2462
2462
  ...t.data
2463
2463
  }, r);
2464
2464
  }
2465
- }), version = "0.23.3-beta.0";
2465
+ }), version = "0.23.3-beta.2";
2466
2466
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
2467
2467
  const freeGlobal$1 = freeGlobal;
2468
2468
  var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
@@ -4763,7 +4763,7 @@ class KgRouteUtil {
4763
4763
  }), t;
4764
4764
  }
4765
4765
  static transformMenus(t) {
4766
- var m, v, g, _, b, T, C, y, A, O, E, I, k, R, N, K, w, L, G, $, V, M, D, B, P, q, Q, z, X, te, ie, oe, ue, x;
4766
+ var m, v, g, _, b, T, C, y, A, O, E, I, k, R, N, K, w, L, G, $, V, M, D, B, P, q, W, z, X, te, ie, oe, ce, x;
4767
4767
  if (!t)
4768
4768
  return [];
4769
4769
  const r = useKg(), a = (Y) => {
@@ -4872,11 +4872,11 @@ class KgRouteUtil {
4872
4872
  }
4873
4873
  });
4874
4874
  let c = [];
4875
- ((q = (P = i.children) == null ? void 0 : P.length) != null ? q : 0 > 0) && c.push(i), ((z = (Q = s.children) == null ? void 0 : Q.length) != null ? z : 0 > 0) && c.push(s), ((te = (X = o.children) == null ? void 0 : X.length) != null ? te : 0 > 0) && c.push(o), ((oe = (ie = l.children) == null ? void 0 : ie.length) != null ? oe : 0 > 0) && c.push(l), ((x = (ue = u.children) == null ? void 0 : ue.length) != null ? x : 0 > 0) && c.push(u);
4875
+ ((q = (P = i.children) == null ? void 0 : P.length) != null ? q : 0 > 0) && c.push(i), ((z = (W = s.children) == null ? void 0 : W.length) != null ? z : 0 > 0) && c.push(s), ((te = (X = o.children) == null ? void 0 : X.length) != null ? te : 0 > 0) && c.push(o), ((oe = (ie = l.children) == null ? void 0 : ie.length) != null ? oe : 0 > 0) && c.push(l), ((x = (ce = u.children) == null ? void 0 : ce.length) != null ? x : 0 > 0) && c.push(u);
4876
4876
  const d = (Y) => {
4877
4877
  Y.sort((F, U) => {
4878
- var H, W;
4879
- return Number((H = F == null ? void 0 : F.sortNo) != null ? H : 0) - Number((W = U == null ? void 0 : U.sortNo) != null ? W : 0);
4878
+ var H, J;
4879
+ return Number((H = F == null ? void 0 : F.sortNo) != null ? H : 0) - Number((J = U == null ? void 0 : U.sortNo) != null ? J : 0);
4880
4880
  }), Y.forEach((F) => {
4881
4881
  F.children && d(F.children);
4882
4882
  });
@@ -5031,8 +5031,8 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5031
5031
  if (typeof D == "string" && !/Z$/i.test(D)) {
5032
5032
  var P = D.match(b);
5033
5033
  if (P) {
5034
- var q = P[2] - 1 || 0, Q = (P[7] || "0").substring(0, 3);
5035
- return B ? new Date(Date.UTC(P[1], q, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, Q)) : new Date(P[1], q, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, Q);
5034
+ var q = P[2] - 1 || 0, W = (P[7] || "0").substring(0, 3);
5035
+ return B ? new Date(Date.UTC(P[1], q, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, W)) : new Date(P[1], q, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, W);
5036
5036
  }
5037
5037
  }
5038
5038
  return new Date(D);
@@ -5061,7 +5061,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5061
5061
  var D = this, B = !!K.u(M) || M, P = K.p(V), q = function(x, Y) {
5062
5062
  var F = K.w(D.$u ? Date.UTC(D.$y, Y, x) : new Date(D.$y, Y, x), D);
5063
5063
  return B ? F : F.endOf(u);
5064
- }, Q = function(x, Y) {
5064
+ }, W = function(x, Y) {
5065
5065
  return K.w(D.toDate()[x].apply(D.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), D);
5066
5066
  }, z = this.$W, X = this.$M, te = this.$D, ie = "set" + (this.$u ? "UTC" : "");
5067
5067
  switch (P) {
@@ -5070,29 +5070,29 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5070
5070
  case d:
5071
5071
  return B ? q(1, X) : q(0, X + 1);
5072
5072
  case c:
5073
- var oe = this.$locale().weekStart || 0, ue = (z < oe ? z + 7 : z) - oe;
5074
- return q(B ? te - ue : te + (6 - ue), X);
5073
+ var oe = this.$locale().weekStart || 0, ce = (z < oe ? z + 7 : z) - oe;
5074
+ return q(B ? te - ce : te + (6 - ce), X);
5075
5075
  case u:
5076
5076
  case g:
5077
- return Q(ie + "Hours", 0);
5077
+ return W(ie + "Hours", 0);
5078
5078
  case l:
5079
- return Q(ie + "Minutes", 1);
5079
+ return W(ie + "Minutes", 1);
5080
5080
  case o:
5081
- return Q(ie + "Seconds", 2);
5081
+ return W(ie + "Seconds", 2);
5082
5082
  case s:
5083
- return Q(ie + "Milliseconds", 3);
5083
+ return W(ie + "Milliseconds", 3);
5084
5084
  default:
5085
5085
  return this.clone();
5086
5086
  }
5087
5087
  }, $.endOf = function(V) {
5088
5088
  return this.startOf(V, !1);
5089
5089
  }, $.$set = function(V, M) {
5090
- var D, B = K.p(V), P = "set" + (this.$u ? "UTC" : ""), q = (D = {}, D[u] = P + "Date", D[g] = P + "Date", D[d] = P + "Month", D[v] = P + "FullYear", D[l] = P + "Hours", D[o] = P + "Minutes", D[s] = P + "Seconds", D[i] = P + "Milliseconds", D)[B], Q = B === u ? this.$D + (M - this.$W) : M;
5090
+ var D, B = K.p(V), P = "set" + (this.$u ? "UTC" : ""), q = (D = {}, D[u] = P + "Date", D[g] = P + "Date", D[d] = P + "Month", D[v] = P + "FullYear", D[l] = P + "Hours", D[o] = P + "Minutes", D[s] = P + "Seconds", D[i] = P + "Milliseconds", D)[B], W = B === u ? this.$D + (M - this.$W) : M;
5091
5091
  if (B === d || B === v) {
5092
5092
  var z = this.clone().set(g, 1);
5093
- z.$d[q](Q), z.init(), this.$d = z.set(g, Math.min(this.$D, z.daysInMonth())).$d;
5093
+ z.$d[q](W), z.init(), this.$d = z.set(g, Math.min(this.$D, z.daysInMonth())).$d;
5094
5094
  } else
5095
- q && this.$d[q](Q);
5095
+ q && this.$d[q](W);
5096
5096
  return this.init(), this;
5097
5097
  }, $.set = function(V, M) {
5098
5098
  return this.clone().$set(V, M);
@@ -5113,7 +5113,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5113
5113
  return q(1);
5114
5114
  if (P === c)
5115
5115
  return q(7);
5116
- var Q = (D = {}, D[o] = a, D[l] = n, D[s] = r, D)[P] || 1, z = this.$d.getTime() + V * Q;
5116
+ var W = (D = {}, D[o] = a, D[l] = n, D[s] = r, D)[P] || 1, z = this.$d.getTime() + V * W;
5117
5117
  return K.w(z, this);
5118
5118
  }, $.subtract = function(V, M) {
5119
5119
  return this.add(-1 * V, M);
@@ -5121,9 +5121,9 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5121
5121
  var M = this, D = this.$locale();
5122
5122
  if (!this.isValid())
5123
5123
  return D.invalidDate || _;
5124
- var B = V || "YYYY-MM-DDTHH:mm:ssZ", P = K.z(this), q = this.$H, Q = this.$m, z = this.$M, X = D.weekdays, te = D.months, ie = D.meridiem, oe = function(Y, F, U, H) {
5124
+ var B = V || "YYYY-MM-DDTHH:mm:ssZ", P = K.z(this), q = this.$H, W = this.$m, z = this.$M, X = D.weekdays, te = D.months, ie = D.meridiem, oe = function(Y, F, U, H) {
5125
5125
  return Y && (Y[F] || Y(M, B)) || U[F].slice(0, H);
5126
- }, ue = function(Y) {
5126
+ }, ce = function(Y) {
5127
5127
  return K.s(q % 12 || 12, Y, "0");
5128
5128
  }, x = ie || function(Y, F, U) {
5129
5129
  var H = Y < 12 ? "AM" : "PM";
@@ -5161,17 +5161,17 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5161
5161
  case "HH":
5162
5162
  return K.s(q, 2, "0");
5163
5163
  case "h":
5164
- return ue(1);
5164
+ return ce(1);
5165
5165
  case "hh":
5166
- return ue(2);
5166
+ return ce(2);
5167
5167
  case "a":
5168
- return x(q, Q, !0);
5168
+ return x(q, W, !0);
5169
5169
  case "A":
5170
- return x(q, Q, !1);
5170
+ return x(q, W, !1);
5171
5171
  case "m":
5172
- return String(Q);
5172
+ return String(W);
5173
5173
  case "mm":
5174
- return K.s(Q, 2, "0");
5174
+ return K.s(W, 2, "0");
5175
5175
  case "s":
5176
5176
  return String(M.$s);
5177
5177
  case "ss":
@@ -5187,8 +5187,8 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5187
5187
  }, $.utcOffset = function() {
5188
5188
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5189
5189
  }, $.diff = function(V, M, D) {
5190
- var B, P = this, q = K.p(M), Q = N(V), z = (Q.utcOffset() - this.utcOffset()) * a, X = this - Q, te = function() {
5191
- return K.m(P, Q);
5190
+ var B, P = this, q = K.p(M), W = N(V), z = (W.utcOffset() - this.utcOffset()) * a, X = this - W, te = function() {
5191
+ return K.m(P, W);
5192
5192
  };
5193
5193
  switch (q) {
5194
5194
  case v:
@@ -7478,7 +7478,7 @@ function useDragToResize(e) {
7478
7478
  y.remove(), A.remove();
7479
7479
  }
7480
7480
  function k(w) {
7481
- var M, D, B, P, q, Q, z, X, te, ie, oe, ue;
7481
+ var M, D, B, P, q, W, z, X, te, ie, oe, ce;
7482
7482
  const {
7483
7483
  event: L,
7484
7484
  handleType: G
@@ -7506,22 +7506,22 @@ function useDragToResize(e) {
7506
7506
  break;
7507
7507
  }
7508
7508
  case "bottom-right": {
7509
- const x = l.value.offsetWidth, Y = Math.min(m.value, Math.max(d.value, _ + $ - T)), F = (D = (M = u.value) == null ? void 0 : M.clientHeight) != null ? D : i, U = (P = (B = c.value) == null ? void 0 : B.clientHeight) != null ? P : 0, H = Math.min((Q = (q = t.value) == null ? void 0 : q.kgMinHeight) != null ? Q : n.value, F + KG_MODAL_BORDER_WIDTH * 2 + U), W = l.value.offsetHeight, J = Math.min(v.value, Math.max(H, b + V - C));
7510
- if (Y === x && J === W)
7509
+ const x = l.value.offsetWidth, Y = Math.min(m.value, Math.max(d.value, _ + $ - T)), F = (D = (M = u.value) == null ? void 0 : M.clientHeight) != null ? D : i, U = (P = (B = c.value) == null ? void 0 : B.clientHeight) != null ? P : 0, H = Math.min((W = (q = t.value) == null ? void 0 : q.kgMinHeight) != null ? W : n.value, F + KG_MODAL_BORDER_WIDTH * 2 + U), J = l.value.offsetHeight, Q = Math.min(v.value, Math.max(H, b + V - C));
7510
+ if (Y === x && Q === J)
7511
7511
  return;
7512
- const ee = Number(getComputedStyle(l.value).top.replace(/px/g, "")) + (J - W) / 2, ae = Number(getComputedStyle(l.value).left.replace(/px/g, "")) + (Y - x) / 2;
7513
- l.value.style.width = `${Y}px`, l.value.style.height = `${J}px`, l.value.style.top = `${ee}px`, l.value.style.left = `${ae}px`;
7512
+ const ee = Number(getComputedStyle(l.value).top.replace(/px/g, "")) + (Q - J) / 2, ae = Number(getComputedStyle(l.value).left.replace(/px/g, "")) + (Y - x) / 2;
7513
+ l.value.style.width = `${Y}px`, l.value.style.height = `${Q}px`, l.value.style.top = `${ee}px`, l.value.style.left = `${ae}px`;
7514
7514
  break;
7515
7515
  }
7516
7516
  case "bottom": {
7517
- const x = (X = (z = u.value) == null ? void 0 : z.clientHeight) != null ? X : i, Y = (ie = (te = c.value) == null ? void 0 : te.clientHeight) != null ? ie : 0, F = Math.min((ue = (oe = t.value) == null ? void 0 : oe.kgMinHeight) != null ? ue : x + Y + KG_MODAL_BORDER_WIDTH * 2, n.value);
7517
+ const x = (X = (z = u.value) == null ? void 0 : z.clientHeight) != null ? X : i, Y = (ie = (te = c.value) == null ? void 0 : te.clientHeight) != null ? ie : 0, F = Math.min((ce = (oe = t.value) == null ? void 0 : oe.kgMinHeight) != null ? ce : x + Y + KG_MODAL_BORDER_WIDTH * 2, n.value);
7518
7518
  let U = Math.min(v.value, Math.max(F, b + V - C));
7519
7519
  l.value.offsetTop + U > n.value && (U = n.value - l.value.offsetTop);
7520
- const H = l.value.offsetHeight, W = Number(getComputedStyle(l.value).top.replace(/px/g, ""));
7520
+ const H = l.value.offsetHeight, J = Number(getComputedStyle(l.value).top.replace(/px/g, ""));
7521
7521
  if (U === H)
7522
7522
  return;
7523
- const J = W + (U - H) / 2;
7524
- l.value.style.width = `${_}px`, l.value.style.height = `${U}px`, l.value.style.top = `${J}px`;
7523
+ const Q = J + (U - H) / 2;
7524
+ l.value.style.width = `${_}px`, l.value.style.height = `${U}px`, l.value.style.top = `${Q}px`;
7525
7525
  break;
7526
7526
  }
7527
7527
  }
@@ -9030,7 +9030,7 @@ const KgFormItem = defineComponent({
9030
9030
  isMultiple: D,
9031
9031
  values: B
9032
9032
  }) => {
9033
- var P, q, Q, z;
9033
+ var P, q, W, z;
9034
9034
  switch (V) {
9035
9035
  case e.kgVarName: {
9036
9036
  if (M.value) {
@@ -9042,7 +9042,7 @@ const KgFormItem = defineComponent({
9042
9042
  isDeleting: s.isDeleting.value,
9043
9043
  isUpdating: s.isUpdating.value,
9044
9044
  value: X,
9045
- variableName: (Q = e.kgVarName) != null ? Q : ""
9045
+ variableName: (W = e.kgVarName) != null ? W : ""
9046
9046
  });
9047
9047
  }
9048
9048
  (z = n.value) == null || z.validate([e.kgVarName]);
@@ -9929,9 +9929,9 @@ const getProps$A = () => ({
9929
9929
  row: i.kgTable.selectedRow.value
9930
9930
  }))
9931
9931
  return new Promise((U, H) => {
9932
- var J;
9933
- const W = watch(i.kgSubmit.formModel, async (Z) => {
9934
- Z && Object.keys(Z).length > 0 && (setTimeout(() => W()), await i.kgSubmit.store.emit(i.formID, "open", {
9932
+ var Q;
9933
+ const J = watch(i.kgSubmit.formModel, async (Z) => {
9934
+ Z && Object.keys(Z).length > 0 && (setTimeout(() => J()), await i.kgSubmit.store.emit(i.formID, "open", {
9935
9935
  isCopying: i.isCopying.value,
9936
9936
  isCreating: i.isCreating.value,
9937
9937
  isDeleting: i.isDeleting.value,
@@ -9942,7 +9942,7 @@ const getProps$A = () => ({
9942
9942
  }, {
9943
9943
  immediate: !0
9944
9944
  });
9945
- ((J = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : J.dft_fullscreen_flg) === 1 && !s.value && (d.value = !0);
9945
+ ((Q = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : Q.dft_fullscreen_flg) === 1 && !s.value && (d.value = !0);
9946
9946
  });
9947
9947
  }
9948
9948
  async function L() {
@@ -9967,9 +9967,9 @@ const getProps$A = () => ({
9967
9967
  await nextTick();
9968
9968
  try {
9969
9969
  await ((F = i.kgSubmit.formRef.value) == null ? void 0 : F.validate());
9970
- } catch (J) {
9970
+ } catch (Q) {
9971
9971
  KgUtil.throwNotFormValidationError({
9972
- error: J,
9972
+ error: Q,
9973
9973
  formID: i.formID,
9974
9974
  isShowFormValidationErrorMessage: !1
9975
9975
  });
@@ -10010,18 +10010,18 @@ const getProps$A = () => ({
10010
10010
  }
10011
10011
  }
10012
10012
  async function V() {
10013
- var F, U, H, W, J, Z, ee, re, ae;
10013
+ var F, U, H, J, Q, Z, ee, ne, ae, le;
10014
10014
  i.store.setIsCreatingRequesting(i.formID, !0);
10015
10015
  try {
10016
- let ne = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((U = (F = i.varButtonCreate.value) == null ? void 0 : F.cmd_prm) != null ? U : ""), i.formID, r)), le = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, r));
10016
+ let re = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((U = (F = i.varButtonCreate.value) == null ? void 0 : F.cmd_prm) != null ? U : ""), i.formID, r)), de = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, r));
10017
10017
  if (await i.kgSubmit.store.emit(i.formID, "beforeRequest", {
10018
- data: le,
10018
+ data: de,
10019
10019
  isCopying: i.isCopying.value,
10020
10020
  isCreating: i.isCreating.value,
10021
10021
  isDeleting: i.isDeleting.value,
10022
10022
  isUpdating: i.isUpdating.value,
10023
10023
  model: i.kgSubmit.formModel,
10024
- params: ne,
10024
+ params: re,
10025
10025
  row: i.kgTable.selectedFirstRow.value,
10026
10026
  rows: i.kgTable.selectedRows.value
10027
10027
  }))
@@ -10029,17 +10029,18 @@ const getProps$A = () => ({
10029
10029
  const se = (H = i.varButtonCreate.value) == null ? void 0 : H.cmd;
10030
10030
  if (!se)
10031
10031
  throw message.error(n.t("\u300C\u521B\u5EFA\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.")), new Error("\u300C\u521B\u5EFA\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740");
10032
- const ce = (J = (W = i.varButtonCreate.value) == null ? void 0 : W.cmd_method) != null ? J : "POST", ge = await httpClient().request({
10032
+ de.value.selectedRows = (J = i.kgTable.selectedRows.value) != null ? J : [];
10033
+ const _e = (Z = (Q = i.varButtonCreate.value) == null ? void 0 : Q.cmd_method) != null ? Z : "POST", fe = await httpClient().request({
10033
10034
  url: se,
10034
- method: ce,
10035
- params: ne.value,
10036
- data: le.value,
10035
+ method: _e,
10036
+ params: re.value,
10037
+ data: de.value,
10037
10038
  headers: {
10038
- [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID,
10039
- [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (ee = (Z = i.varButtonCreate.value) == null ? void 0 : Z.var_nam) != null ? ee : ""
10039
+ [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (ne = (ee = i.varButtonCreate.value) == null ? void 0 : ee.var_nam) != null ? ne : "",
10040
+ [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID
10040
10041
  }
10041
10042
  });
10042
- ((re = i.varButtonCreate.value) == null ? void 0 : re.show_success_message_flg) !== 0 && message.success(C.value + n.t("kg.succeed")), i.kgButton.setCurrentButton(null), ((ae = i.varButtonCreate.value) == null ? void 0 : ae.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10043
+ ((ae = i.varButtonCreate.value) == null ? void 0 : ae.show_success_message_flg) !== 0 && message.success(C.value + n.t("kg.succeed")), i.kgButton.setCurrentButton(null), ((le = i.varButtonCreate.value) == null ? void 0 : le.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10043
10044
  isSearchFirstPage: !0
10044
10045
  }), await i.kgSubmit.store.emit(i.formID, "ok", {
10045
10046
  isCopying: !1,
@@ -10047,20 +10048,20 @@ const getProps$A = () => ({
10047
10048
  isDeleting: !1,
10048
10049
  isUpdating: !1,
10049
10050
  model: i.kgSubmit.formModel,
10050
- result: ge,
10051
+ result: fe,
10051
10052
  row: i.kgTable.selectedFirstRow.value
10052
10053
  });
10053
- } catch (ne) {
10054
- console.error(ne), i.kgSubmit.store.emit(i.formID, "error", ne);
10054
+ } catch (re) {
10055
+ console.error(re), i.kgSubmit.store.emit(i.formID, "error", re);
10055
10056
  } finally {
10056
10057
  i.store.setIsCreatingRequesting(i.formID, !1);
10057
10058
  }
10058
10059
  }
10059
10060
  async function M() {
10060
- var F, U, H, W, J, Z, ee, re, ae;
10061
+ var F, U, H, J, Q, Z, ee, ne, ae, le;
10061
10062
  try {
10062
10063
  i.store.setIsUpdatingRequesting(i.formID, !0);
10063
- let ne = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((U = (F = i.varButtonUpdate.value) == null ? void 0 : F.cmd_prm) != null ? U : ""), i.formID, r)), le = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, r));
10064
+ let re = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((U = (F = i.varButtonUpdate.value) == null ? void 0 : F.cmd_prm) != null ? U : ""), i.formID, r)), de = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, r));
10064
10065
  if (await i.kgSubmit.store.emit(i.formID, "beforeRequest", {
10065
10066
  isCreating: i.isCreating.value,
10066
10067
  isUpdating: i.isUpdating.value,
@@ -10069,24 +10070,25 @@ const getProps$A = () => ({
10069
10070
  row: i.kgTable.selectedRow.value,
10070
10071
  rows: i.kgTable.selectedRows.value,
10071
10072
  model: i.kgSubmit.formModel,
10072
- params: ne,
10073
- data: le
10073
+ params: re,
10074
+ data: de
10074
10075
  }))
10075
10076
  return;
10076
10077
  const se = (H = i.varButtonUpdate.value) == null ? void 0 : H.cmd;
10077
10078
  if (!se)
10078
10079
  throw message.error(n.t("\u300C\u66F4\u65B0\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.")), new Error("\u300C\u66F4\u65B0\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740");
10079
- const ce = (J = (W = i.varButtonUpdate.value) == null ? void 0 : W.cmd_method) != null ? J : "POST", ge = await httpClient().request({
10080
+ de.value.selectedRows = (J = i.kgTable.selectedRows.value) != null ? J : [];
10081
+ const _e = (Z = (Q = i.varButtonUpdate.value) == null ? void 0 : Q.cmd_method) != null ? Z : "POST", fe = await httpClient().request({
10080
10082
  url: se,
10081
- method: ce,
10082
- params: ne.value,
10083
- data: le.value,
10083
+ method: _e,
10084
+ params: re.value,
10085
+ data: de.value,
10084
10086
  headers: {
10085
- [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID,
10086
- [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (ee = (Z = i.varButtonUpdate.value) == null ? void 0 : Z.var_nam) != null ? ee : ""
10087
+ [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (ne = (ee = i.varButtonUpdate.value) == null ? void 0 : ee.var_nam) != null ? ne : "",
10088
+ [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID
10087
10089
  }
10088
10090
  });
10089
- ((re = i.varButtonUpdate.value) == null ? void 0 : re.show_success_message_flg) !== 0 && message.success(n.t("kg.updateSuccess")), i.kgButton.setCurrentButton(null), ((ae = i.varButtonUpdate.value) == null ? void 0 : ae.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10091
+ ((ae = i.varButtonUpdate.value) == null ? void 0 : ae.show_success_message_flg) !== 0 && message.success(n.t("kg.updateSuccess")), i.kgButton.setCurrentButton(null), ((le = i.varButtonUpdate.value) == null ? void 0 : le.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10090
10092
  isPreserveSelectedRows: !0
10091
10093
  }), await i.kgSubmit.store.emit(i.formID, "ok", {
10092
10094
  isCopying: !1,
@@ -10094,24 +10096,24 @@ const getProps$A = () => ({
10094
10096
  isDeleting: !1,
10095
10097
  isUpdating: !0,
10096
10098
  model: i.kgSubmit.formModel,
10097
- result: ge,
10099
+ result: fe,
10098
10100
  row: i.kgTable.selectedFirstRow.value
10099
10101
  });
10100
- } catch (ne) {
10101
- console.error(ne), i.kgSubmit.store.emit(i.formID, "error", ne);
10102
+ } catch (re) {
10103
+ console.error(re), i.kgSubmit.store.emit(i.formID, "error", re);
10102
10104
  } finally {
10103
10105
  i.store.setIsUpdatingRequesting(i.formID, !1);
10104
10106
  }
10105
10107
  }
10106
10108
  async function D() {
10107
- var F, U, H, W, J, Z, ee, re, ae, ne, le;
10109
+ var F, U, H, J, Q, Z, ee, ne, ae, le, re, de;
10108
10110
  try {
10109
10111
  i.store.setIsCopyingRequesting(i.formID, !0);
10110
- let de = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((U = (F = i.varButtonCopy.value) == null ? void 0 : F.cmd_prm) != null ? U : ""), i.formID, r)), se = ref(KgUtil.parseParams({
10112
+ let ue = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((U = (F = i.varButtonCopy.value) == null ? void 0 : F.cmd_prm) != null ? U : ""), i.formID, r)), se = ref(KgUtil.parseParams({
10111
10113
  ...(H = i.kgTable.selectedFirstRow.value) != null ? H : {},
10112
10114
  ...toRaw(i.kgSubmit.formModel.value)
10113
10115
  }, i.formID, r));
10114
- if (((W = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : W.set_id_to_null_flag) !== 0 && delete se.value.id, await i.kgSubmit.store.emit(i.formID, "beforeRequest", {
10116
+ if (((J = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : J.set_id_to_null_flag) !== 0 && delete se.value.id, await i.kgSubmit.store.emit(i.formID, "beforeRequest", {
10115
10117
  isCreating: i.isCreating.value,
10116
10118
  isUpdating: i.isUpdating.value,
10117
10119
  isCopying: i.isCopying.value,
@@ -10119,24 +10121,25 @@ const getProps$A = () => ({
10119
10121
  row: i.kgTable.selectedRow.value,
10120
10122
  rows: i.kgTable.selectedRows.value,
10121
10123
  model: i.kgSubmit.formModel,
10122
- params: de,
10124
+ params: ue,
10123
10125
  data: se
10124
10126
  }))
10125
10127
  return;
10126
- const ge = (J = i.varButtonCopy.value) == null ? void 0 : J.cmd;
10127
- if (!ge)
10128
+ const fe = (Q = i.varButtonCopy.value) == null ? void 0 : Q.cmd;
10129
+ if (!fe)
10128
10130
  throw message.error(n.t("\u300C\u590D\u5236\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.")), new Error("\u300C\u590D\u5236\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740");
10129
- const he = (ee = (Z = i.varButtonCopy.value) == null ? void 0 : Z.cmd_method) != null ? ee : "POST", pe = await httpClient().request({
10130
- url: ge,
10131
- method: he,
10132
- params: de.value,
10131
+ se.value.selectedRows = (Z = i.kgTable.selectedRows.value) != null ? Z : [];
10132
+ const ve = (ne = (ee = i.varButtonCopy.value) == null ? void 0 : ee.cmd_method) != null ? ne : "POST", ge = await httpClient().request({
10133
+ url: fe,
10134
+ method: ve,
10135
+ params: ue.value,
10133
10136
  data: se.value,
10134
10137
  headers: {
10135
- [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID,
10136
- [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (ae = (re = i.varButtonCopy.value) == null ? void 0 : re.var_nam) != null ? ae : ""
10138
+ [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (le = (ae = i.varButtonCopy.value) == null ? void 0 : ae.var_nam) != null ? le : "",
10139
+ [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID
10137
10140
  }
10138
10141
  });
10139
- ((ne = i.varButtonCopy.value) == null ? void 0 : ne.show_success_message_flg) !== 0 && message.success(n.t("kg.copySuccess")), i.kgButton.setCurrentButton(null), ((le = i.varButtonCopy.value) == null ? void 0 : le.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10142
+ ((re = i.varButtonCopy.value) == null ? void 0 : re.show_success_message_flg) !== 0 && message.success(n.t("kg.copySuccess")), i.kgButton.setCurrentButton(null), ((de = i.varButtonCopy.value) == null ? void 0 : de.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10140
10143
  isSearchFirstPage: !0
10141
10144
  }), await i.kgSubmit.store.emit(i.formID, "ok", {
10142
10145
  isCopying: !0,
@@ -10144,53 +10147,53 @@ const getProps$A = () => ({
10144
10147
  isDeleting: !1,
10145
10148
  isUpdating: !1,
10146
10149
  model: i.kgSubmit.formModel,
10147
- result: pe,
10150
+ result: ge,
10148
10151
  row: i.kgTable.selectedFirstRow.value
10149
10152
  });
10150
- } catch (de) {
10151
- console.error(de), i.kgSubmit.store.emit(i.formID, "error", de);
10153
+ } catch (ue) {
10154
+ console.error(ue), i.kgSubmit.store.emit(i.formID, "error", ue);
10152
10155
  } finally {
10153
10156
  i.store.setIsCopyingRequesting(i.formID, !1);
10154
10157
  }
10155
10158
  }
10156
10159
  async function B() {
10157
- var F, U, H, W, J, Z, ee, re, ae, ne, le, de, se;
10160
+ var F, U, H, J, Q, Z, ee, ne, ae, le, re, de, ue;
10158
10161
  try {
10159
10162
  i.store.setIsDeletingRequesting(i.formID, !0);
10160
- let ce = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((U = (F = i.varButtonDelete.value) == null ? void 0 : F.cmd_prm) != null ? U : ""), i.formID, r)), ge = ref((H = i.kgTable.selectedRows.value) != null ? H : []);
10161
- if (((W = i.varButtonDelete.value) == null ? void 0 : W.del_param_clm) !== "__kg__new_delete_param" && (ce = ref({
10162
- ids: (Z = (J = i.kgTable.selectedRows.value) == null ? void 0 : J.map((ve) => {
10163
+ let se = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((U = (F = i.varButtonDelete.value) == null ? void 0 : F.cmd_prm) != null ? U : ""), i.formID, r)), _e = ref((H = i.kgTable.selectedRows.value) != null ? H : []);
10164
+ if (((J = i.varButtonDelete.value) == null ? void 0 : J.del_param_clm) !== "__kg__new_delete_param" && (se = ref({
10165
+ ids: (Z = (Q = i.kgTable.selectedRows.value) == null ? void 0 : Q.map((he) => {
10163
10166
  var be, Te, Ee;
10164
- return (Ee = ve[(Te = (be = i.varButtonDelete.value) == null ? void 0 : be.del_param_clm) != null ? Te : "id"]) != null ? Ee : "";
10167
+ return (Ee = he[(Te = (be = i.varButtonDelete.value) == null ? void 0 : be.del_param_clm) != null ? Te : "id"]) != null ? Ee : "";
10165
10168
  })) != null ? Z : []
10166
10169
  })), await i.kgSubmit.store.emit(i.formID, "beforeRequest", {
10167
- data: ge,
10170
+ data: _e,
10168
10171
  isCopying: i.isCopying.value,
10169
10172
  isCreating: i.isCreating.value,
10170
10173
  isDeleting: i.isDeleting.value,
10171
10174
  isUpdating: i.isUpdating.value,
10172
10175
  model: i.kgSubmit.formModel,
10173
- params: ce,
10176
+ params: se,
10174
10177
  row: i.kgTable.selectedFirstRow.value,
10175
10178
  rows: i.kgTable.selectedRows.value
10176
10179
  }))
10177
10180
  return;
10178
- const pe = (ee = i.varButtonDelete.value) == null ? void 0 : ee.cmd;
10179
- if (!pe)
10181
+ const ve = (ee = i.varButtonDelete.value) == null ? void 0 : ee.cmd;
10182
+ if (!ve)
10180
10183
  throw message.error(n.t("\u300C\u5220\u9664\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.")), new Error("\u300C\u5220\u9664\u6309\u94AE\u300D\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740");
10181
- const fe = (ae = (re = i.varButtonDelete.value) == null ? void 0 : re.cmd_method) != null ? ae : "POST", me = await httpClient().request({
10182
- url: pe,
10183
- method: fe,
10184
- params: ce.value,
10185
- data: ge.value,
10184
+ const ge = (ae = (ne = i.varButtonDelete.value) == null ? void 0 : ne.cmd_method) != null ? ae : "POST", pe = await httpClient().request({
10185
+ url: ve,
10186
+ method: ge,
10187
+ params: se.value,
10188
+ data: _e.value,
10186
10189
  headers: {
10187
- [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID,
10188
- [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (le = (ne = i.varButtonDelete.value) == null ? void 0 : ne.var_nam) != null ? le : ""
10190
+ [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (re = (le = i.varButtonDelete.value) == null ? void 0 : le.var_nam) != null ? re : "",
10191
+ [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID
10189
10192
  }
10190
10193
  }, {
10191
10194
  joinParamsToUrl: !0
10192
10195
  });
10193
- ((de = i.varButtonDelete.value) == null ? void 0 : de.show_success_message_flg) !== 0 && message.success(n.t("kg.deleteSuccess")), i.kgButton.setCurrentButton(null), ((se = i.varButtonDelete.value) == null ? void 0 : se.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10196
+ ((de = i.varButtonDelete.value) == null ? void 0 : de.show_success_message_flg) !== 0 && message.success(n.t("kg.deleteSuccess")), i.kgButton.setCurrentButton(null), ((ue = i.varButtonDelete.value) == null ? void 0 : ue.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10194
10197
  isSearchFirstPage: !0
10195
10198
  }), await i.kgSubmit.store.emit(i.formID, "ok", {
10196
10199
  isCopying: !1,
@@ -10198,49 +10201,50 @@ const getProps$A = () => ({
10198
10201
  isDeleting: !0,
10199
10202
  isUpdating: !1,
10200
10203
  model: i.kgSubmit.formModel,
10201
- result: me,
10204
+ result: pe,
10202
10205
  row: i.kgTable.selectedFirstRow.value
10203
10206
  });
10204
- } catch (ce) {
10205
- console.error(ce), i.kgSubmit.store.emit(i.formID, "error", ce);
10207
+ } catch (se) {
10208
+ console.error(se), i.kgSubmit.store.emit(i.formID, "error", se);
10206
10209
  } finally {
10207
10210
  i.store.setIsDeletingRequesting(i.formID, !1);
10208
10211
  }
10209
10212
  }
10210
10213
  async function P() {
10211
- var F, U, H;
10214
+ var F, U, H, J;
10212
10215
  try {
10213
10216
  i.kgButton.setIsCurrentButtonRequesting({
10214
10217
  isRequesting: !0
10215
10218
  });
10216
- const W = i.kgButton.currentButton.value;
10217
- let J = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((F = W == null ? void 0 : W.cmd_prm) != null ? F : ""), i.formID, r)), Z = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, r));
10219
+ const Q = i.kgButton.currentButton.value;
10220
+ let Z = ref(KgUtil.parseParams(KgVarUtil.parseRequestParamsToJSON((F = Q == null ? void 0 : Q.cmd_prm) != null ? F : ""), i.formID, r)), ee = ref(KgUtil.parseParams(toRaw(i.kgSubmit.formModel.value), i.formID, r));
10218
10221
  if (await i.kgSubmit.store.emit(i.formID, "beforeRequest", {
10219
- data: Z,
10222
+ data: ee,
10220
10223
  isCopying: i.isCopying.value,
10221
10224
  isCreating: i.isCreating.value,
10222
10225
  isDeleting: i.isDeleting.value,
10223
10226
  isUpdating: i.isUpdating.value,
10224
10227
  model: i.kgSubmit.formModel,
10225
- params: J,
10228
+ params: Z,
10226
10229
  row: i.kgTable.selectedRow.value,
10227
10230
  rows: i.kgTable.selectedRows.value
10228
10231
  }))
10229
10232
  return;
10230
- const re = W == null ? void 0 : W.cmd;
10231
- if (!re)
10233
+ const ae = Q == null ? void 0 : Q.cmd;
10234
+ if (!ae)
10232
10235
  throw message.error(n.t("\u6309\u94AE\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.")), new Error("\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740");
10233
- const ae = (U = W == null ? void 0 : W.cmd_method) != null ? U : "POST", ne = await httpClient().request({
10234
- url: re,
10235
- method: ae,
10236
- params: J.value,
10237
- data: Z.value,
10236
+ ee.value.selectedRows = (U = i.kgTable.selectedRows.value) != null ? U : [];
10237
+ const le = (H = Q == null ? void 0 : Q.cmd_method) != null ? H : "POST", re = await httpClient().request({
10238
+ url: ae,
10239
+ method: le,
10240
+ params: Z.value,
10241
+ data: ee.value,
10238
10242
  headers: {
10239
- [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID,
10240
- [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (H = W == null ? void 0 : W.var_nam) != null ? H : ""
10243
+ [KG_HTTP_HEADERS.KG_BUTTON_VAR_NAME]: (J = Q == null ? void 0 : Q.var_nam) != null ? J : "",
10244
+ [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID
10241
10245
  }
10242
10246
  });
10243
- (W == null ? void 0 : W.show_success_message_flg) !== 0 && message.success(n.t("kg.execute-success")), i.kgButton.setCurrentButton(null), (W == null ? void 0 : W.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10247
+ (Q == null ? void 0 : Q.show_success_message_flg) !== 0 && message.success(n.t("kg.execute-success")), i.kgButton.setCurrentButton(null), (Q == null ? void 0 : Q.reload_all_after_done_flg) !== 0 && i.kgSearch.search({
10244
10248
  isSearchFirstPage: !0
10245
10249
  }), await i.kgSubmit.store.emit(i.formID, "ok", {
10246
10250
  isCopying: !1,
@@ -10248,11 +10252,11 @@ const getProps$A = () => ({
10248
10252
  isDeleting: !1,
10249
10253
  isUpdating: !0,
10250
10254
  model: i.kgSubmit.formModel,
10251
- result: ne,
10255
+ result: re,
10252
10256
  row: i.kgTable.selectedFirstRow.value
10253
10257
  });
10254
- } catch (W) {
10255
- console.error(W), i.kgSubmit.store.emit(i.formID, "error", W);
10258
+ } catch (Q) {
10259
+ console.error(Q), i.kgSubmit.store.emit(i.formID, "error", Q);
10256
10260
  } finally {
10257
10261
  i.kgButton.setIsCurrentButtonRequesting({
10258
10262
  isRequesting: !1
@@ -10260,19 +10264,19 @@ const getProps$A = () => ({
10260
10264
  }
10261
10265
  }
10262
10266
  function q(F) {
10263
- var W, J, Z, ee;
10264
- const U = (J = (W = a == null ? void 0 : a.KgSubmit) == null ? void 0 : W["KgForm.Item.control"]) == null ? void 0 : J[F.var_nam], H = (ee = (Z = a == null ? void 0 : a.KgSubmit) == null ? void 0 : Z["KgForm.Item.controlRight"]) == null ? void 0 : ee[F.var_nam];
10267
+ var J, Q, Z, ee;
10268
+ const U = (Q = (J = a == null ? void 0 : a.KgSubmit) == null ? void 0 : J["KgForm.Item.control"]) == null ? void 0 : Q[F.var_nam], H = (ee = (Z = a == null ? void 0 : a.KgSubmit) == null ? void 0 : Z["KgForm.Item.controlRight"]) == null ? void 0 : ee[F.var_nam];
10265
10269
  return createVNode(KgForm.Item, {
10266
10270
  key: F.var_nam,
10267
10271
  kgVarName: F.var_nam,
10268
10272
  kgContext: KG_FORM_CONTEXT.SUBMIT,
10269
10273
  onKgSubmit: $
10270
10274
  }, {
10271
- control: isFunction$2(U) ? (re) => U(re) : void 0,
10272
- controlRight: isFunction$2(H) ? (re) => H(re) : void 0
10275
+ control: isFunction$2(U) ? (ne) => U(ne) : void 0,
10276
+ controlRight: isFunction$2(H) ? (ne) => H(ne) : void 0
10273
10277
  });
10274
10278
  }
10275
- function Q() {
10279
+ function W() {
10276
10280
  return i.kgSubmit.currentVarSubmitDetailSectionsForVisible.value.length > 0 ? X() : z();
10277
10281
  }
10278
10282
  function z() {
@@ -10310,7 +10314,7 @@ const getProps$A = () => ({
10310
10314
  }, {
10311
10315
  default: () => {
10312
10316
  var H;
10313
- return [(H = i.kgSubmit.currentVarSubmitDetailsForVisible.value.filter((W) => W.section === U)) == null ? void 0 : H.map(q)];
10317
+ return [(H = i.kgSubmit.currentVarSubmitDetailsForVisible.value.filter((J) => J.section === U)) == null ? void 0 : H.map(q)];
10314
10318
  }
10315
10319
  })]))])]);
10316
10320
  }
@@ -10329,7 +10333,7 @@ const getProps$A = () => ({
10329
10333
  }, {
10330
10334
  default: () => [createVNode("div", {
10331
10335
  ref: T
10332
- }, [Q()])]
10336
+ }, [W()])]
10333
10337
  })];
10334
10338
  }
10335
10339
  });
@@ -10359,7 +10363,7 @@ const getProps$A = () => ({
10359
10363
  innerHTML: C.value || "&nbsp;"
10360
10364
  }, null);
10361
10365
  }
10362
- function ue() {
10366
+ function ce() {
10363
10367
  return !!s.value || !e.kgIsShowVarSubmitConfigButton ? null : createVNode(KgSubmitVarSubmitConfigButton, null, null);
10364
10368
  }
10365
10369
  function x(F) {
@@ -10387,7 +10391,7 @@ const getProps$A = () => ({
10387
10391
  onCancel: G
10388
10392
  }, {
10389
10393
  title: oe,
10390
- kgModalHeaderButtonsExtra: ue,
10394
+ kgModalHeaderButtonsExtra: ce,
10391
10395
  default: te,
10392
10396
  footer: ie
10393
10397
  });
@@ -13749,11 +13753,11 @@ const getProps$r = () => ({
13749
13753
  const c = displayTypeProperties.value;
13750
13754
  if (c.isTag) {
13751
13755
  const d = (a = c.tagColors) == null ? void 0 : a.find((m) => m.value === props.kgValue);
13752
- return getText.value.trim() ? createVNode(Tag, {
13756
+ return isNil(getText.value) || String(getText.value).trim() ? renderText() : createVNode(Tag, {
13753
13757
  color: (n = d == null ? void 0 : d.color) != null ? n : "default"
13754
13758
  }, {
13755
13759
  default: () => [getText.value]
13756
- }) : renderText();
13760
+ });
13757
13761
  } else
13758
13762
  return renderText();
13759
13763
  }
@@ -13925,8 +13929,8 @@ function _useColumns(e) {
13925
13929
  return !(y.ord_flg !== 1 || (D = (M = t == null ? void 0 : t.value) == null ? void 0 : M.KgTable) != null && D.kgDisabled || isNil((P = (B = t == null ? void 0 : t.value) == null ? void 0 : B.KgTable) == null ? void 0 : P.kgDisabled) && e.kgDisabled || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || d.length <= 0);
13926
13930
  }
13927
13931
  function N() {
13928
- var M, D, B, P, q, Q;
13929
- if (((D = (M = c.option.value.KgTable) == null ? void 0 : M.filter) == null ? void 0 : D.on) === !0 && y.filter_flag === 1 && !((P = (B = t == null ? void 0 : t.value) == null ? void 0 : B.KgTable) != null && P.kgDisabled) && !(isNil((Q = (q = t == null ? void 0 : t.value) == null ? void 0 : q.KgTable) == null ? void 0 : Q.kgDisabled) && e.kgDisabled) && !(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) && !(d.length <= 0))
13932
+ var M, D, B, P, q, W;
13933
+ if (((D = (M = c.option.value.KgTable) == null ? void 0 : M.filter) == null ? void 0 : D.on) === !0 && y.filter_flag === 1 && !((P = (B = t == null ? void 0 : t.value) == null ? void 0 : B.KgTable) != null && P.kgDisabled) && !(isNil((W = (q = t == null ? void 0 : t.value) == null ? void 0 : q.KgTable) == null ? void 0 : W.kgDisabled) && e.kgDisabled) && !(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) && !(d.length <= 0))
13930
13934
  return uniqBy(d.map((z) => {
13931
13935
  var X;
13932
13936
  return {
@@ -13985,8 +13989,8 @@ function _useColumns(e) {
13985
13989
  draggable: !0
13986
13990
  }),
13987
13991
  customCell: (M) => {
13988
- var Q, z, X;
13989
- const D = M[r.kgTable.id.value], B = (Q = r.kgTable.selectedRow.value) == null ? void 0 : Q[r.kgTable.id.value], P = r.kgSubmit.currentVarSubmitConfig$DisplayType.value, q = (X = r.kgSubmit.getVarSubmitDetails({
13992
+ var W, z, X;
13993
+ const D = M[r.kgTable.id.value], B = (W = r.kgTable.selectedRow.value) == null ? void 0 : W[r.kgTable.id.value], P = r.kgSubmit.currentVarSubmitConfig$DisplayType.value, q = (X = r.kgSubmit.getVarSubmitDetails({
13990
13994
  buttonVarName: (z = r.kgButton.currentButton.value) == null ? void 0 : z.var_nam,
13991
13995
  varName: O
13992
13996
  })[0]) != null ? X : null;
@@ -14200,7 +14204,7 @@ const KgTable$1 = "", getProps$q = () => ({
14200
14204
  name: "KgTable",
14201
14205
  props: getProps$q(),
14202
14206
  setup: function(e) {
14203
- var ue;
14207
+ var ce;
14204
14208
  const t = inject("$dayjs", dayjs), r = inject(DI_KG_VAR__KG_SLOTS, null), a = inject(DI_KG_VAR__KG_PROPS, null), n = useKg(), i = useKgVar();
14205
14209
  i.kgSearch.onSearch(async (x) => (D(x), !1)), i.kgSearch.onReset(async () => (u.value = {}, !1)), i.kgTable.store.$onAction(async ({
14206
14210
  name: x,
@@ -14249,17 +14253,17 @@ const KgTable$1 = "", getProps$q = () => ({
14249
14253
  var x, Y;
14250
14254
  return (Y = (x = i.kgButton.searchButton.value) == null ? void 0 : x.cmd) != null ? Y : null;
14251
14255
  }), C = computed(() => {
14252
- var Y, F, U, H, W, J, Z, ee, re;
14256
+ var Y, F, U, H, J, Q, Z, ee, ne;
14253
14257
  let x = {
14254
14258
  pageNo: L.pageIndex,
14255
14259
  pageSize: L.pageSize,
14256
14260
  column: (F = (Y = u.value) == null ? void 0 : Y.field) != null ? F : void 0,
14257
14261
  order: u.value.order === "ascend" ? "asc" : u.value.order === "descend" ? "desc" : void 0,
14258
14262
  ...(H = (U = i.kgSearch.formModel) == null ? void 0 : U.value) != null ? H : {},
14259
- ...KgVarUtil.parseRequestParamsToJSON((J = (W = i.kgButton.searchButton.value) == null ? void 0 : W.cmd_prm) != null ? J : ""),
14263
+ ...KgVarUtil.parseRequestParamsToJSON((Q = (J = i.kgButton.searchButton.value) == null ? void 0 : J.cmd_prm) != null ? Q : ""),
14260
14264
  ...KgVarUtil.parseRequestParamsToJSON((ee = (Z = i.varGridConfig.value) == null ? void 0 : Z.cmd_prm) != null ? ee : "")
14261
14265
  };
14262
- return ((re = i.varGridConfig.value) == null ? void 0 : re.convert_sort_field_to_under_score_flg) === 1 && x.column && (x.column = snakeCase$1(x.column)), x;
14266
+ return ((ne = i.varGridConfig.value) == null ? void 0 : ne.convert_sort_field_to_under_score_flg) === 1 && x.column && (x.column = snakeCase$1(x.column)), x;
14263
14267
  }), y = computed(() => {
14264
14268
  var x, Y, F, U;
14265
14269
  if (!isNil((Y = (x = a == null ? void 0 : a.value) == null ? void 0 : x.KgTable) == null ? void 0 : Y.kgDisabled))
@@ -14314,7 +14318,7 @@ const KgTable$1 = "", getProps$q = () => ({
14314
14318
  var Y;
14315
14319
  let x = "kg-table-bottom";
14316
14320
  return ((Y = i.varGridConfig.value) == null ? void 0 : Y.show_bottom_border_flg) === 1 && (x += " kg-table-bottom--border"), x;
14317
- }), w = (ue = i.kgTable.store.getSelectedRowKeys(i.formID)) != null ? ue : ref([]), L = reactive({
14321
+ }), w = (ce = i.kgTable.store.getSelectedRowKeys(i.formID)) != null ? ce : ref([]), L = reactive({
14318
14322
  pageIndex: 1,
14319
14323
  pageSize: 10,
14320
14324
  total: 0
@@ -14423,25 +14427,25 @@ const KgTable$1 = "", getProps$q = () => ({
14423
14427
  immediate: !0
14424
14428
  });
14425
14429
  async function F() {
14426
- var U, H, W, J, Z, ee, re;
14430
+ var U, H, J, Q, Z, ee, ne;
14427
14431
  KgLogger.debug(`${i.formID} | KgTable.request().requestDatas() | \u6267\u884C\u5F00\u59CB.`), x.isSearchFirstPage && (L.pageIndex = 1), i.kgTable.store.setIsRequesting(i.formID, !0);
14428
14432
  try {
14429
- const ae = ref({}), ne = C.value;
14433
+ const ae = ref({}), le = C.value;
14430
14434
  await i.kgTable.store.emit(i.formID, "beforeParseParameter", {
14431
- params: ne
14435
+ params: le
14432
14436
  });
14433
- const le = KgUtil.parseParams(ne, i.kgTable.kgSearchFormID.value, t);
14437
+ const re = KgUtil.parseParams(le, i.kgTable.kgSearchFormID.value, t);
14434
14438
  if (!await i.kgTable.store.emit(i.formID, "beforeSearch", {
14435
- params: le,
14439
+ params: re,
14436
14440
  response: ae
14437
14441
  })) {
14438
14442
  if (!T.value)
14439
14443
  throw KgLogger.error(`${i.formID} | KgTable.request() | \u67E5\u8BE2\u6309\u94AE\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3.`, {
14440
14444
  VarButton: i.kgButton.searchButton.value
14441
14445
  }), new Error("\u67E5\u8BE2\u6309\u94AE\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3.");
14442
- const fe = ((H = (U = n.option.value.KgSearch) == null ? void 0 : U.dynamicQuery) == null ? void 0 : H.on) === !0 && ((W = i.kgSearch.currentVarProfileMaster.value) == null ? void 0 : W.dyn_flg) === 1, {
14443
- sql: me,
14444
- whereSql: ve,
14446
+ const ge = ((H = (U = n.option.value.KgSearch) == null ? void 0 : U.dynamicQuery) == null ? void 0 : H.on) === !0 && ((J = i.kgSearch.currentVarProfileMaster.value) == null ? void 0 : J.dyn_flg) === 1, {
14447
+ sql: pe,
14448
+ whereSql: he,
14445
14449
  orderBySql: be,
14446
14450
  offsetSql: Te,
14447
14451
  operatorJSON: Ee
@@ -14450,54 +14454,54 @@ const KgTable$1 = "", getProps$q = () => ({
14450
14454
  dynamicQueryOperatorModel: null,
14451
14455
  formID: i.formID,
14452
14456
  kgSearchFormID: i.kgTable.kgSearchFormID.value,
14453
- params: ne
14454
- }), _e = await httpClient().request({
14457
+ params: le
14458
+ }), me = await httpClient().request({
14455
14459
  url: T.value,
14456
- method: (Z = (J = i.kgButton.searchButton.value) == null ? void 0 : J.cmd_method) != null ? Z : "GET",
14457
- params: le,
14458
- data: le,
14460
+ method: (Z = (Q = i.kgButton.searchButton.value) == null ? void 0 : Q.cmd_method) != null ? Z : "GET",
14461
+ params: re,
14462
+ data: re,
14459
14463
  headers: {
14460
14464
  [KG_HTTP_HEADERS.KG_FORM_ID]: i.formID,
14461
- [KG_HTTP_HEADERS.KG_IS_DYNAMIC_QUERY]: fe,
14462
- [KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL]: ve,
14463
- [KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL]: be,
14465
+ [KG_HTTP_HEADERS.KG_IS_DYNAMIC_QUERY]: ge,
14464
14466
  [KG_HTTP_HEADERS.KG_QUERY_OFFSET_SQL]: Te,
14465
- [KG_HTTP_HEADERS.KG_QUERY_SQL]: me,
14466
- [KG_HTTP_HEADERS.KG_QUERY_OPERATOR]: Ee
14467
+ [KG_HTTP_HEADERS.KG_QUERY_OPERATOR]: Ee,
14468
+ [KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL]: be,
14469
+ [KG_HTTP_HEADERS.KG_QUERY_SQL]: pe,
14470
+ [KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL]: he
14467
14471
  }
14468
14472
  }, {
14469
14473
  isReturnNativeResponse: !0,
14470
14474
  successMessageMode: "none"
14471
14475
  });
14472
- if (!_e.data)
14476
+ if (!me.data)
14473
14477
  throw message.error(n.t("kg.KgTable.request-fail-no-data")), new Error(n.t("kg.KgTable.request-fail-no-data"));
14474
- if (![0, 200].includes((ee = _e.data.code) != null ? ee : -1) || !_e.data.success)
14475
- throw message.error(_e.data.message || n.t("kg.KgTable.request-fail-error")), new Error(_e.data.message || n.t("kg.KgTable.request-fail-error"));
14476
- fe && _e.headers[KG_HTTP_HEADERS.KG_IS_DYNAMIC_QUERY.toLowerCase()] !== "true" && message.warning(n.t("kg.KgTable.apiNotSupportDynamicQuery")), ae.value = _e.data.result, KgLogger.debug(`${i.formID} | KgTable.request().requestDatas() | \u67E5\u8BE2\u6210\u529F.`, {
14477
- params: le,
14478
+ if (![0, 200].includes((ee = me.data.code) != null ? ee : -1) || !me.data.success)
14479
+ throw message.error(me.data.message || n.t("kg.KgTable.request-fail-error")), new Error(me.data.message || n.t("kg.KgTable.request-fail-error"));
14480
+ ge && me.headers[KG_HTTP_HEADERS.KG_IS_DYNAMIC_QUERY.toLowerCase()] !== "true" && message.warning(n.t("kg.KgTable.apiNotSupportDynamicQuery")), ae.value = me.data.result, KgLogger.debug(`${i.formID} | KgTable.request().requestDatas() | \u67E5\u8BE2\u6210\u529F.`, {
14481
+ params: re,
14478
14482
  response: ae.value
14479
14483
  });
14480
14484
  }
14481
14485
  const {
14482
- datas: se,
14483
- total: ce
14484
- } = _(ae), ge = await i.kgTable.store.emit(i.formID, "beforeSetDatas", {
14485
- datas: se
14486
- }), he = cloneDeep(toRaw(w.value));
14486
+ datas: ue,
14487
+ total: se
14488
+ } = _(ae), _e = await i.kgTable.store.emit(i.formID, "beforeSetDatas", {
14489
+ datas: ue
14490
+ }), fe = cloneDeep(toRaw(w.value));
14487
14491
  i.kgTable.store.setDatas({
14488
14492
  frmId: i.formID,
14489
- datas: se.value,
14493
+ datas: ue.value,
14490
14494
  isPreserveSelectedRows: !0
14491
- }), L.total = ce.value, b(), l.value = {}, M({
14495
+ }), L.total = se.value, b(), l.value = {}, M({
14492
14496
  isContinueWhenKgDisabled: !0
14493
- }), s.value = [], await nextTick(), x.isPreserveSelectedRows ? i.kgTable.store.setSelectedRows(i.formID, he.map((fe) => {
14494
- var me;
14495
- return (me = se.value) == null ? void 0 : me.find((ve) => ve[i.kgTable.id.value] === fe);
14496
- }).filter((fe) => !!fe)) : ((re = i.varGridConfig.value) == null ? void 0 : re.check_first_row_after_retrieve) === 1 && se.value.length > 0 && i.kgTable.store.setSelectedRows(i.formID, [se.value[0]]);
14497
- const pe = await i.kgTable.store.emit(i.formID, "afterSearch", {
14498
- params: le,
14497
+ }), s.value = [], await nextTick(), x.isPreserveSelectedRows ? i.kgTable.store.setSelectedRows(i.formID, fe.map((ge) => {
14498
+ var pe;
14499
+ return (pe = ue.value) == null ? void 0 : pe.find((he) => he[i.kgTable.id.value] === ge);
14500
+ }).filter((ge) => !!ge)) : ((ne = i.varGridConfig.value) == null ? void 0 : ne.check_first_row_after_retrieve) === 1 && ue.value.length > 0 && i.kgTable.store.setSelectedRows(i.formID, [ue.value[0]]);
14501
+ const ve = await i.kgTable.store.emit(i.formID, "afterSearch", {
14502
+ params: re,
14499
14503
  response: ae.value,
14500
- datas: se
14504
+ datas: ue
14501
14505
  });
14502
14506
  i.kgTable.store.setIsRequested(i.formID, !0);
14503
14507
  } catch (ae) {
@@ -14531,13 +14535,13 @@ const KgTable$1 = "", getProps$q = () => ({
14531
14535
  }
14532
14536
  i.kgTable.store.setSelectedRows(i.formID, w.value.map((U) => {
14533
14537
  var H;
14534
- return (H = g.value) == null ? void 0 : H.find((W) => W[i.kgTable.id.value] === U);
14538
+ return (H = g.value) == null ? void 0 : H.find((J) => J[i.kgTable.id.value] === U);
14535
14539
  }).filter((U) => !!U));
14536
14540
  }
14537
14541
  function q(x, Y) {
14538
14542
  Y.width = x, i.store.setVarGridDetailWidth(i.formID, Y.dataIndex, x);
14539
14543
  }
14540
- async function Q(x, Y, F, U) {
14544
+ async function W(x, Y, F, U) {
14541
14545
  switch (U.action) {
14542
14546
  case "sort": {
14543
14547
  u.value = F, u.value.order || (u.value.field = void 0), await nextTick(), D({
@@ -14584,17 +14588,17 @@ const KgTable$1 = "", getProps$q = () => ({
14584
14588
  }, null), k.value && createVNode(TableSummary.Cell, {
14585
14589
  index: I.value ? 1 : 0
14586
14590
  }, null), o.value.map((Y, F) => {
14587
- const U = String(Y.dataIndex), H = U ? i.store.getVarGridDetail(i.formID, U) : null, W = (() => ["left", "center", "right"].includes((H == null ? void 0 : H.align) || "") ? H == null ? void 0 : H.align : "left")();
14588
- let J = F;
14589
- return I.value && k.value ? J += 2 : (I.value || k.value) && (J += 1), createVNode(TableSummary.Cell, {
14590
- index: J,
14591
- align: W
14591
+ const U = String(Y.dataIndex), H = U ? i.store.getVarGridDetail(i.formID, U) : null, J = (() => ["left", "center", "right"].includes((H == null ? void 0 : H.align) || "") ? H == null ? void 0 : H.align : "left")();
14592
+ let Q = F;
14593
+ return I.value && k.value ? Q += 2 : (I.value || k.value) && (Q += 1), createVNode(TableSummary.Cell, {
14594
+ index: Q,
14595
+ align: J
14592
14596
  }, {
14593
14597
  default: () => {
14594
14598
  var Z, ee;
14595
14599
  return [(ee = (Z = r == null ? void 0 : r.KgTable) == null ? void 0 : Z["summary.bodyCell"]) == null ? void 0 : ee.call(Z, {
14596
14600
  column: Y,
14597
- index: J,
14601
+ index: Q,
14598
14602
  varGridDetail: H
14599
14603
  })];
14600
14604
  }
@@ -14636,7 +14640,7 @@ const KgTable$1 = "", getProps$q = () => ({
14636
14640
  })
14637
14641
  }),
14638
14642
  onResizeColumn: q,
14639
- onChange: Q,
14643
+ onChange: W,
14640
14644
  onExpand: z
14641
14645
  }, {
14642
14646
  headerCell: te,
@@ -19606,9 +19610,9 @@ const getProps$b = () => ({
19606
19610
  }), v = ref({
19607
19611
  kgHeight: m.value
19608
19612
  }), g = computed(() => {
19609
- var P, q, Q, z;
19613
+ var P, q, W, z;
19610
19614
  if (!isNil((q = (P = r == null ? void 0 : r.value) == null ? void 0 : P.KgSearch) == null ? void 0 : q.kgDisabled))
19611
- return (z = (Q = r == null ? void 0 : r.value) == null ? void 0 : Q.KgSearch) == null ? void 0 : z.kgDisabled;
19615
+ return (z = (W = r == null ? void 0 : r.value) == null ? void 0 : W.KgSearch) == null ? void 0 : z.kgDisabled;
19612
19616
  if (!isNil(e.kgDisabled))
19613
19617
  return e.kgDisabled;
19614
19618
  }), _ = computed(() => {
@@ -19620,10 +19624,10 @@ const getProps$b = () => ({
19620
19624
  }), T = computed(() => !!(g.value || n.kgTable.isRetrieving.value || n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value)), C = computed(() => !!n.kgTable.isRetrieving.value), y = ref({
19621
19625
  visible: !1
19622
19626
  }), A = computed(() => v.value.kgHeight === m.value), O = computed(() => {
19623
- var Q;
19627
+ var W;
19624
19628
  if (!n.kgButton.searchButton.value)
19625
19629
  return;
19626
- const P = (Q = n.kgButton.searchButton.value) == null ? void 0 : Q.var_nam, q = n.t(P).value;
19630
+ const P = (W = n.kgButton.searchButton.value) == null ? void 0 : W.var_nam, q = n.t(P).value;
19627
19631
  if (!!q && !!P && q !== P)
19628
19632
  return q;
19629
19633
  }), E = computed(() => {
@@ -19679,12 +19683,12 @@ const getProps$b = () => ({
19679
19683
  immediate: !0
19680
19684
  });
19681
19685
  async function w(P = {}) {
19682
- var q, Q;
19686
+ var q, W;
19683
19687
  if (KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u6267\u884C\u5F00\u59CB.`), n.kgTable.isRetrieving.value) {
19684
19688
  KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u6B63\u5728\u67E5\u8BE2.`);
19685
19689
  return;
19686
19690
  }
19687
- if (KgAuthUtil.getPermissionType((q = n.kgButton.searchButton.value) == null ? void 0 : q.permission_code) === 2 && !a.p((Q = n.kgButton.searchButton.value) == null ? void 0 : Q.permission_code)) {
19691
+ if (KgAuthUtil.getPermissionType((q = n.kgButton.searchButton.value) == null ? void 0 : q.permission_code) === 2 && !a.p((W = n.kgButton.searchButton.value) == null ? void 0 : W.permission_code)) {
19688
19692
  KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u6CA1\u6709\u6743\u9650.`);
19689
19693
  return;
19690
19694
  }
@@ -19729,8 +19733,8 @@ const getProps$b = () => ({
19729
19733
  }, [t.KgSearch.left()]), A.value ? createVNode(CaretUpOutlined$1, null, null) : createVNode(CaretDownOutlined$1, null, null), createVNode("span", null, [a.t("kg.KgSearch.title")])]);
19730
19734
  }
19731
19735
  function V() {
19732
- var P, q, Q, z;
19733
- return ((q = (P = n.varProfileMasters.value) == null ? void 0 : P.length) != null ? q : 0) === 0 || ((Q = n.varProfileConfig.value) == null ? void 0 : Q.show_config_button_flag) === 0 ? null : createVNode(Fragment, null, [createVNode(Select, {
19736
+ var P, q, W, z;
19737
+ return ((q = (P = n.varProfileMasters.value) == null ? void 0 : P.length) != null ? q : 0) === 0 || ((W = n.varProfileConfig.value) == null ? void 0 : W.show_config_button_flag) === 0 ? null : createVNode(Fragment, null, [createVNode(Select, {
19734
19738
  value: (z = n.currentVarProfileMasterID.value) != null ? z : void 0,
19735
19739
  "onUpdate:value": (X) => n.store.setCurrentVarProfileMasterID(n.formID, X),
19736
19740
  disabled: T.value,
@@ -19762,7 +19766,7 @@ const getProps$b = () => ({
19762
19766
  }, null)]);
19763
19767
  }
19764
19768
  function M() {
19765
- var P, q, Q;
19769
+ var P, q, W;
19766
19770
  return createVNode(Fragment, null, [V(), createVNode(Button, {
19767
19771
  type: "primary",
19768
19772
  ghost: !b.value,
@@ -19776,7 +19780,7 @@ const getProps$b = () => ({
19776
19780
  kgVarName: (P = n.kgButton.searchButton.value) == null ? void 0 : P.var_nam,
19777
19781
  kgIcon: (q = n.kgButton.searchButton.value) == null ? void 0 : q.icon,
19778
19782
  kgText: O.value,
19779
- kgColor: (Q = n.kgButton.searchButton.value) == null ? void 0 : Q.color,
19783
+ kgColor: (W = n.kgButton.searchButton.value) == null ? void 0 : W.color,
19780
19784
  kgPrimary: E.value,
19781
19785
  kgDisabled: b.value,
19782
19786
  kgLoading: C.value,
@@ -19799,9 +19803,9 @@ const getProps$b = () => ({
19799
19803
  }, {
19800
19804
  default: () => [createVNode(Row, {
19801
19805
  gutter: 6
19802
- }, _isSlot$1(P = n.kgSearch.currentVarProfileDetails.value.map((Q) => createVNode(KgForm.Item, {
19803
- key: Q.var_nam,
19804
- kgVarName: Q.var_nam,
19806
+ }, _isSlot$1(P = n.kgSearch.currentVarProfileDetails.value.map((W) => createVNode(KgForm.Item, {
19807
+ key: W.var_nam,
19808
+ kgVarName: W.var_nam,
19805
19809
  kgContext: KG_FORM_CONTEXT.SEARCH,
19806
19810
  onKgSubmit: () => w({
19807
19811
  isSearchFirstPage: !0
@@ -20994,11 +20998,11 @@ function httpClient() {
20994
20998
  n.headers = {
20995
20999
  ...(v = n.headers) != null ? v : {},
20996
21000
  [o]: !0,
20997
- [l]: y,
20998
- [u]: A,
20999
21001
  [c]: O,
21002
+ [m]: E,
21003
+ [u]: A,
21000
21004
  [d]: C,
21001
- [m]: E
21005
+ [l]: y
21002
21006
  };
21003
21007
  }
21004
21008
  if (n.headers[l] && (n.headers[l] = encodeURIComponent(decodeURIComponent(String(n.headers[l])))), n.headers[u] && (n.headers[u] = encodeURIComponent(decodeURIComponent(String(n.headers[u])))), n.headers[c] && (n.headers[c] = encodeURIComponent(decodeURIComponent(String(n.headers[c])))), n.headers[d] && (n.headers[d] = encodeURIComponent(decodeURIComponent(String(n.headers[d])))), n.headers[s] && (n.headers[s] = encodeURIComponent(decodeURIComponent(String(n.headers[s])))), ((g = a.option.value.KgWarehouse) == null ? void 0 : g.on) !== !1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.23.3-beta.0",
3
+ "version": "0.23.3-beta.2",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
@@ -11,11 +11,6 @@
11
11
  "publish:all:beta": "npm run bump-version:beta && npm run publish:all",
12
12
  "----- --------------------------------------------": "",
13
13
  "gen:apis:WMS": "npm run switch-node-version && kengic-pont generate-apis --config kg.config.ts --origin WMS",
14
- "--- ----------------------------------------------": "",
15
- "bump-to:luotao.wms-vue3--dev-3.1": "npm run switch-node-version && tsx scripts/bump-to.luotao.wms-vue3.ts",
16
- "copy-to:luotao.wms-vue3--dev-3.1": "npm run build:dev && tsx scripts/copy-to.luotao.wms-vue3.ts",
17
- "bump-to:luotao.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.wms-vue3.focus.ts",
18
- "copy-to:luotao.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.wms-vue3.focus.ts",
19
14
  "- ------------------------------------------------": "",
20
15
  "cnpm:sync": "npm run switch-node-version && npx cnpm --yes sync @kengic/vue",
21
16
  "switch-node-version": "nvm use 18.16.0 && corepack enable && corepack prepare pnpm@7.30.5 --activate",
@@ -26,7 +21,14 @@
26
21
  "bump-version:patch": "npm run switch-node-version && tsx scripts/bump.ts patch",
27
22
  "---- ---------------------------------------------": "",
28
23
  "publish:all": "npm run switch-node-version && tsx scripts/publish.ts",
29
- "publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public"
24
+ "publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
25
+ "------- ------------------------------------------": "",
26
+ "copy-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
27
+ "copy-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts",
28
+ "copy-to:luotao:smartfactory.tyre.haohua.gantry.was-java--main": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts",
29
+ "--- ----------------------------------------------": "",
30
+ "bump-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
31
+ "bump-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts"
30
32
  },
31
33
  "peerDependencies": {
32
34
  "vue": "3.2.43"