@kengic/vue 0.5.19-beta.0 → 0.5.19

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.
@@ -3,7 +3,7 @@ var ve = (e, t, r) => t in e ? _e(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var d = (e, t, r) => (ve(e, typeof t != "symbol" ? t + "" : t, r), r);
4
4
  import { h, nextTick, createVNode, defineComponent, ref, Fragment, computed, unref, createTextVNode, getCurrentInstance, inject, markRaw, watch, reactive, effectScope, isRef, isReactive, toRef, toRaw, onUnmounted, toRefs, provide, mergeProps, onMounted, isVNode, Teleport, getCurrentScope, onScopeDispose } from "vue";
5
5
  import { Button, Modal, Progress, Spin, DatePicker, Input, InputNumber, Select, Switch, Col, Form, Drawer, Row, Divider, message, Tag, Tabs, Dropdown, Menu, Checkbox, Table, Pagination, Upload, ConfigProvider, Transfer, Radio, Textarea, Card, TabPane, Tooltip } from "ant-design-vue";
6
- const index$6 = "";
6
+ const index$7 = "";
7
7
  let _httpClient = null;
8
8
  function setupHttpClient(e) {
9
9
  _httpClient = e;
@@ -13,6 +13,28 @@ function httpClient() {
13
13
  throw new Error("\u6CA1\u6709\u8BBE\u7F6E httpClient \u5B9E\u4F8B.");
14
14
  return _httpClient;
15
15
  }
16
+ class CreateVarGridMasterQuery {
17
+ constructor(t) {
18
+ d(this, "def_flg");
19
+ d(this, "frm_id");
20
+ d(this, "grd_var_nam");
21
+ d(this, "grp_nam");
22
+ d(this, "usr_id");
23
+ d(this, "varGridDetails");
24
+ keys$1(t != null ? t : {}).forEach((r) => {
25
+ switch (r) {
26
+ case "def_flg":
27
+ case "frm_id":
28
+ case "grd_var_nam":
29
+ case "grp_nam":
30
+ case "usr_id":
31
+ case "varGridDetails":
32
+ Reflect.set(this, r, Reflect.get(t != null ? t : {}, r));
33
+ break;
34
+ }
35
+ });
36
+ }
37
+ }
16
38
  class CreateVarProfileMasterQuery {
17
39
  constructor(t) {
18
40
  d(this, "def_flg");
@@ -57,6 +79,32 @@ class IPage {
57
79
  });
58
80
  }
59
81
  }
82
+ class UpdateVarGridMasterQuery {
83
+ constructor(t) {
84
+ d(this, "cust_lvl");
85
+ d(this, "def_flg");
86
+ d(this, "frm_id");
87
+ d(this, "grd_var_nam");
88
+ d(this, "grp_nam");
89
+ d(this, "id");
90
+ d(this, "usr_id");
91
+ d(this, "varGridDetails");
92
+ keys$1(t != null ? t : {}).forEach((r) => {
93
+ switch (r) {
94
+ case "cust_lvl":
95
+ case "def_flg":
96
+ case "frm_id":
97
+ case "grd_var_nam":
98
+ case "grp_nam":
99
+ case "id":
100
+ case "usr_id":
101
+ case "varGridDetails":
102
+ Reflect.set(this, r, Reflect.get(t != null ? t : {}, r));
103
+ break;
104
+ }
105
+ });
106
+ }
107
+ }
60
108
  class VarButton {
61
109
  constructor(t) {
62
110
  d(this, "cmd");
@@ -747,7 +795,7 @@ function GetAll(e, t) {
747
795
  }
748
796
  GetAll.method = "GET";
749
797
  GetAll.url = "/var/Var/getAll";
750
- const index$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
798
+ const index$6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
751
799
  __proto__: null,
752
800
  GetAll,
753
801
  GetAllQuery
@@ -918,7 +966,7 @@ function QueryById$1(e, t) {
918
966
  }
919
967
  QueryById$1.method = "GET";
920
968
  QueryById$1.url = "/var/VarContext/queryById";
921
- const index$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
969
+ const index$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
922
970
  __proto__: null,
923
971
  Add: Add$1,
924
972
  AddQuery: AddQuery$1,
@@ -937,6 +985,51 @@ const index$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
937
985
  QueryById: QueryById$1,
938
986
  QueryByIdQuery: QueryByIdQuery$1
939
987
  }, Symbol.toStringTag, { value: "Module" }));
988
+ class QueryByIDQuery$1 {
989
+ constructor(t) {
990
+ d(this, "id");
991
+ keys$1(t != null ? t : {}).forEach((r) => {
992
+ switch (r) {
993
+ case "id":
994
+ Reflect.set(this, r, Reflect.get(t != null ? t : {}, r));
995
+ break;
996
+ }
997
+ });
998
+ }
999
+ }
1000
+ function QueryByID$1(e, t) {
1001
+ return httpClient().request(
1002
+ {
1003
+ method: QueryByID$1.method,
1004
+ url: `${t != null && t.mock ? "/mock" : ""}${QueryByID$1.url}`,
1005
+ ...e != null ? e : {}
1006
+ },
1007
+ t
1008
+ );
1009
+ }
1010
+ QueryByID$1.method = "GET";
1011
+ QueryByID$1.url = "/var/VarGridMaster/queryByID";
1012
+ class UpdateQuery {
1013
+ }
1014
+ function Update(e, t) {
1015
+ return httpClient().request(
1016
+ {
1017
+ method: Update.method,
1018
+ url: `${t != null && t.mock ? "/mock" : ""}${Update.url}`,
1019
+ ...e != null ? e : {}
1020
+ },
1021
+ t
1022
+ );
1023
+ }
1024
+ Update.method = "POST";
1025
+ Update.url = "/var/VarGridMaster/update";
1026
+ const index$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1027
+ __proto__: null,
1028
+ QueryByID: QueryByID$1,
1029
+ QueryByIDQuery: QueryByIDQuery$1,
1030
+ Update,
1031
+ UpdateQuery
1032
+ }, Symbol.toStringTag, { value: "Module" }));
940
1033
  class QueryByIDQuery {
941
1034
  constructor(t) {
942
1035
  d(this, "id");
@@ -1237,8 +1330,9 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
1237
1330
  ListVOQuery
1238
1331
  }, Symbol.toStringTag, { value: "Module" })), index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1239
1332
  __proto__: null,
1240
- VarController: index$5,
1241
- VarContextController: index$4,
1333
+ VarController: index$6,
1334
+ VarContextController: index$5,
1335
+ VarGridMasterController: index$4,
1242
1336
  VarProfileMasterController: index$3,
1243
1337
  VarVariableCatalogController: index$2,
1244
1338
  WhController: index$1
@@ -2434,8 +2528,8 @@ function equalObjects(e, t, r, n, a, o) {
2434
2528
  v || (v = p == "constructor");
2435
2529
  }
2436
2530
  if (m && !v) {
2437
- var k = e.constructor, V = t.constructor;
2438
- k != V && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof V == "function" && V instanceof V) && (m = !1);
2531
+ var k = e.constructor, D = t.constructor;
2532
+ k != D && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof D == "function" && D instanceof D) && (m = !1);
2439
2533
  }
2440
2534
  return o.delete(e), o.delete(t), m;
2441
2535
  }
@@ -4206,7 +4300,7 @@ const UploadOutlined$1 = UploadOutlined, KgModal_Close = "", getProps$z = () =>
4206
4300
  KgTableSettingGridConfigModal: {
4207
4301
  title: "Config Grid"
4208
4302
  },
4209
- KgTableSettingSaveGridMaster: {
4303
+ KgTableSettingVarGridMasterSaveAs: {
4210
4304
  title: "Save Grid View As"
4211
4305
  },
4212
4306
  KgTableSettingVarGridConfig: {
@@ -4340,7 +4434,7 @@ const UploadOutlined$1 = UploadOutlined, KgModal_Close = "", getProps$z = () =>
4340
4434
  KgTableSettingGridConfigModal: {
4341
4435
  title: "\u914D\u7F6E\u8868\u683C"
4342
4436
  },
4343
- KgTableSettingSaveGridMaster: {
4437
+ KgTableSettingVarGridMasterSaveAs: {
4344
4438
  title: "\u53E6\u5B58\u89C6\u56FE"
4345
4439
  },
4346
4440
  KgTableSettingVarGridConfig: {
@@ -4482,206 +4576,206 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4482
4576
  e.exports = n();
4483
4577
  })(commonjsGlobal, function() {
4484
4578
  var r = 1e3, n = 6e4, a = 36e5, o = "millisecond", s = "second", i = "minute", l = "hour", u = "day", c = "week", g = "month", p = "quarter", _ = "year", b = "date", m = "Invalid Date", v = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|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, y = { 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(w) {
4485
- var M = ["th", "st", "nd", "rd"], O = w % 100;
4486
- return "[" + w + (M[(O - 20) % 10] || M[O] || M[0]) + "]";
4487
- } }, E = function(w, M, O) {
4488
- var R = String(w);
4489
- return !R || R.length >= M ? w : "" + Array(M + 1 - R.length).join(O) + w;
4579
+ var O = ["th", "st", "nd", "rd"], M = w % 100;
4580
+ return "[" + w + (O[(M - 20) % 10] || O[M] || O[0]) + "]";
4581
+ } }, E = function(w, O, M) {
4582
+ var L = String(w);
4583
+ return !L || L.length >= O ? w : "" + Array(O + 1 - L.length).join(M) + w;
4490
4584
  }, k = { s: E, z: function(w) {
4491
- var M = -w.utcOffset(), O = Math.abs(M), R = Math.floor(O / 60), F = O % 60;
4492
- return (M <= 0 ? "+" : "-") + E(R, 2, "0") + ":" + E(F, 2, "0");
4493
- }, m: function w(M, O) {
4494
- if (M.date() < O.date())
4495
- return -w(O, M);
4496
- var R = 12 * (O.year() - M.year()) + (O.month() - M.month()), F = M.clone().add(R, g), G = O - F < 0, P = M.clone().add(R + (G ? -1 : 1), g);
4497
- return +(-(R + (O - F) / (G ? F - P : P - F)) || 0);
4585
+ var O = -w.utcOffset(), M = Math.abs(O), L = Math.floor(M / 60), N = M % 60;
4586
+ return (O <= 0 ? "+" : "-") + E(L, 2, "0") + ":" + E(N, 2, "0");
4587
+ }, m: function w(O, M) {
4588
+ if (O.date() < M.date())
4589
+ return -w(M, O);
4590
+ var L = 12 * (M.year() - O.year()) + (M.month() - O.month()), N = O.clone().add(L, g), G = M - N < 0, P = O.clone().add(L + (G ? -1 : 1), g);
4591
+ return +(-(L + (M - N) / (G ? N - P : P - N)) || 0);
4498
4592
  }, a: function(w) {
4499
4593
  return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
4500
4594
  }, p: function(w) {
4501
4595
  return { M: g, y: _, w: c, d: u, D: b, h: l, m: i, s, ms: o, Q: p }[w] || String(w || "").toLowerCase().replace(/s$/, "");
4502
4596
  }, u: function(w) {
4503
4597
  return w === void 0;
4504
- } }, V = "en", T = {};
4505
- T[V] = y;
4506
- var B = function(w) {
4507
- return w instanceof N;
4508
- }, D = function w(M, O, R) {
4509
- var F;
4510
- if (!M)
4511
- return V;
4512
- if (typeof M == "string") {
4513
- var G = M.toLowerCase();
4514
- T[G] && (F = G), O && (T[G] = O, F = G);
4515
- var P = M.split("-");
4516
- if (!F && P.length > 1)
4598
+ } }, D = "en", T = {};
4599
+ T[D] = y;
4600
+ var x = function(w) {
4601
+ return w instanceof U;
4602
+ }, F = function w(O, M, L) {
4603
+ var N;
4604
+ if (!O)
4605
+ return D;
4606
+ if (typeof O == "string") {
4607
+ var G = O.toLowerCase();
4608
+ T[G] && (N = G), M && (T[G] = M, N = G);
4609
+ var P = O.split("-");
4610
+ if (!N && P.length > 1)
4517
4611
  return w(P[0]);
4518
4612
  } else {
4519
- var U = M.name;
4520
- T[U] = M, F = U;
4613
+ var B = O.name;
4614
+ T[B] = O, N = B;
4521
4615
  }
4522
- return !R && F && (V = F), F || !R && V;
4523
- }, I = function(w, M) {
4524
- if (B(w))
4616
+ return !L && N && (D = N), N || !L && D;
4617
+ }, I = function(w, O) {
4618
+ if (x(w))
4525
4619
  return w.clone();
4526
- var O = typeof M == "object" ? M : {};
4527
- return O.date = w, O.args = arguments, new N(O);
4620
+ var M = typeof O == "object" ? O : {};
4621
+ return M.date = w, M.args = arguments, new U(M);
4528
4622
  }, A = k;
4529
- A.l = D, A.i = B, A.w = function(w, M) {
4530
- return I(w, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
4623
+ A.l = F, A.i = x, A.w = function(w, O) {
4624
+ return I(w, { locale: O.$L, utc: O.$u, x: O.$x, $offset: O.$offset });
4531
4625
  };
4532
- var N = function() {
4533
- function w(O) {
4534
- this.$L = D(O.locale, null, !0), this.parse(O);
4535
- }
4536
- var M = w.prototype;
4537
- return M.parse = function(O) {
4538
- this.$d = function(R) {
4539
- var F = R.date, G = R.utc;
4540
- if (F === null)
4626
+ var U = function() {
4627
+ function w(M) {
4628
+ this.$L = F(M.locale, null, !0), this.parse(M);
4629
+ }
4630
+ var O = w.prototype;
4631
+ return O.parse = function(M) {
4632
+ this.$d = function(L) {
4633
+ var N = L.date, G = L.utc;
4634
+ if (N === null)
4541
4635
  return new Date(NaN);
4542
- if (A.u(F))
4636
+ if (A.u(N))
4543
4637
  return new Date();
4544
- if (F instanceof Date)
4545
- return new Date(F);
4546
- if (typeof F == "string" && !/Z$/i.test(F)) {
4547
- var P = F.match(v);
4638
+ if (N instanceof Date)
4639
+ return new Date(N);
4640
+ if (typeof N == "string" && !/Z$/i.test(N)) {
4641
+ var P = N.match(v);
4548
4642
  if (P) {
4549
- var U = P[2] - 1 || 0, H = (P[7] || "0").substring(0, 3);
4550
- return G ? new Date(Date.UTC(P[1], U, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, H)) : new Date(P[1], U, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, H);
4643
+ var B = P[2] - 1 || 0, H = (P[7] || "0").substring(0, 3);
4644
+ return G ? new Date(Date.UTC(P[1], B, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, H)) : new Date(P[1], B, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, H);
4551
4645
  }
4552
4646
  }
4553
- return new Date(F);
4554
- }(O), this.$x = O.x || {}, this.init();
4555
- }, M.init = function() {
4556
- var O = this.$d;
4557
- this.$y = O.getFullYear(), this.$M = O.getMonth(), this.$D = O.getDate(), this.$W = O.getDay(), this.$H = O.getHours(), this.$m = O.getMinutes(), this.$s = O.getSeconds(), this.$ms = O.getMilliseconds();
4558
- }, M.$utils = function() {
4647
+ return new Date(N);
4648
+ }(M), this.$x = M.x || {}, this.init();
4649
+ }, O.init = function() {
4650
+ var M = this.$d;
4651
+ this.$y = M.getFullYear(), this.$M = M.getMonth(), this.$D = M.getDate(), this.$W = M.getDay(), this.$H = M.getHours(), this.$m = M.getMinutes(), this.$s = M.getSeconds(), this.$ms = M.getMilliseconds();
4652
+ }, O.$utils = function() {
4559
4653
  return A;
4560
- }, M.isValid = function() {
4654
+ }, O.isValid = function() {
4561
4655
  return this.$d.toString() !== m;
4562
- }, M.isSame = function(O, R) {
4563
- var F = I(O);
4564
- return this.startOf(R) <= F && F <= this.endOf(R);
4565
- }, M.isAfter = function(O, R) {
4566
- return I(O) < this.startOf(R);
4567
- }, M.isBefore = function(O, R) {
4568
- return this.endOf(R) < I(O);
4569
- }, M.$g = function(O, R, F) {
4570
- return A.u(O) ? this[R] : this.set(F, O);
4571
- }, M.unix = function() {
4656
+ }, O.isSame = function(M, L) {
4657
+ var N = I(M);
4658
+ return this.startOf(L) <= N && N <= this.endOf(L);
4659
+ }, O.isAfter = function(M, L) {
4660
+ return I(M) < this.startOf(L);
4661
+ }, O.isBefore = function(M, L) {
4662
+ return this.endOf(L) < I(M);
4663
+ }, O.$g = function(M, L, N) {
4664
+ return A.u(M) ? this[L] : this.set(N, M);
4665
+ }, O.unix = function() {
4572
4666
  return Math.floor(this.valueOf() / 1e3);
4573
- }, M.valueOf = function() {
4667
+ }, O.valueOf = function() {
4574
4668
  return this.$d.getTime();
4575
- }, M.startOf = function(O, R) {
4576
- var F = this, G = !!A.u(R) || R, P = A.p(O), U = function(ee, z) {
4577
- var te = A.w(F.$u ? Date.UTC(F.$y, z, ee) : new Date(F.$y, z, ee), F);
4669
+ }, O.startOf = function(M, L) {
4670
+ var N = this, G = !!A.u(L) || L, P = A.p(M), B = function(ee, z) {
4671
+ var te = A.w(N.$u ? Date.UTC(N.$y, z, ee) : new Date(N.$y, z, ee), N);
4578
4672
  return G ? te : te.endOf(u);
4579
4673
  }, H = function(ee, z) {
4580
- return A.w(F.toDate()[ee].apply(F.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(z)), F);
4581
- }, Q = this.$W, J = this.$M, $ = this.$D, x = "set" + (this.$u ? "UTC" : "");
4674
+ return A.w(N.toDate()[ee].apply(N.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(z)), N);
4675
+ }, Y = this.$W, J = this.$M, V = this.$D, R = "set" + (this.$u ? "UTC" : "");
4582
4676
  switch (P) {
4583
4677
  case _:
4584
- return G ? U(1, 0) : U(31, 11);
4678
+ return G ? B(1, 0) : B(31, 11);
4585
4679
  case g:
4586
- return G ? U(1, J) : U(0, J + 1);
4680
+ return G ? B(1, J) : B(0, J + 1);
4587
4681
  case c:
4588
- var X = this.$locale().weekStart || 0, q = (Q < X ? Q + 7 : Q) - X;
4589
- return U(G ? $ - q : $ + (6 - q), J);
4682
+ var X = this.$locale().weekStart || 0, q = (Y < X ? Y + 7 : Y) - X;
4683
+ return B(G ? V - q : V + (6 - q), J);
4590
4684
  case u:
4591
4685
  case b:
4592
- return H(x + "Hours", 0);
4686
+ return H(R + "Hours", 0);
4593
4687
  case l:
4594
- return H(x + "Minutes", 1);
4688
+ return H(R + "Minutes", 1);
4595
4689
  case i:
4596
- return H(x + "Seconds", 2);
4690
+ return H(R + "Seconds", 2);
4597
4691
  case s:
4598
- return H(x + "Milliseconds", 3);
4692
+ return H(R + "Milliseconds", 3);
4599
4693
  default:
4600
4694
  return this.clone();
4601
4695
  }
4602
- }, M.endOf = function(O) {
4603
- return this.startOf(O, !1);
4604
- }, M.$set = function(O, R) {
4605
- var F, G = A.p(O), P = "set" + (this.$u ? "UTC" : ""), U = (F = {}, F[u] = P + "Date", F[b] = P + "Date", F[g] = P + "Month", F[_] = P + "FullYear", F[l] = P + "Hours", F[i] = P + "Minutes", F[s] = P + "Seconds", F[o] = P + "Milliseconds", F)[G], H = G === u ? this.$D + (R - this.$W) : R;
4696
+ }, O.endOf = function(M) {
4697
+ return this.startOf(M, !1);
4698
+ }, O.$set = function(M, L) {
4699
+ var N, G = A.p(M), P = "set" + (this.$u ? "UTC" : ""), B = (N = {}, N[u] = P + "Date", N[b] = P + "Date", N[g] = P + "Month", N[_] = P + "FullYear", N[l] = P + "Hours", N[i] = P + "Minutes", N[s] = P + "Seconds", N[o] = P + "Milliseconds", N)[G], H = G === u ? this.$D + (L - this.$W) : L;
4606
4700
  if (G === g || G === _) {
4607
- var Q = this.clone().set(b, 1);
4608
- Q.$d[U](H), Q.init(), this.$d = Q.set(b, Math.min(this.$D, Q.daysInMonth())).$d;
4701
+ var Y = this.clone().set(b, 1);
4702
+ Y.$d[B](H), Y.init(), this.$d = Y.set(b, Math.min(this.$D, Y.daysInMonth())).$d;
4609
4703
  } else
4610
- U && this.$d[U](H);
4704
+ B && this.$d[B](H);
4611
4705
  return this.init(), this;
4612
- }, M.set = function(O, R) {
4613
- return this.clone().$set(O, R);
4614
- }, M.get = function(O) {
4615
- return this[A.p(O)]();
4616
- }, M.add = function(O, R) {
4617
- var F, G = this;
4618
- O = Number(O);
4619
- var P = A.p(R), U = function(J) {
4620
- var $ = I(G);
4621
- return A.w($.date($.date() + Math.round(J * O)), G);
4706
+ }, O.set = function(M, L) {
4707
+ return this.clone().$set(M, L);
4708
+ }, O.get = function(M) {
4709
+ return this[A.p(M)]();
4710
+ }, O.add = function(M, L) {
4711
+ var N, G = this;
4712
+ M = Number(M);
4713
+ var P = A.p(L), B = function(J) {
4714
+ var V = I(G);
4715
+ return A.w(V.date(V.date() + Math.round(J * M)), G);
4622
4716
  };
4623
4717
  if (P === g)
4624
- return this.set(g, this.$M + O);
4718
+ return this.set(g, this.$M + M);
4625
4719
  if (P === _)
4626
- return this.set(_, this.$y + O);
4720
+ return this.set(_, this.$y + M);
4627
4721
  if (P === u)
4628
- return U(1);
4722
+ return B(1);
4629
4723
  if (P === c)
4630
- return U(7);
4631
- var H = (F = {}, F[i] = n, F[l] = a, F[s] = r, F)[P] || 1, Q = this.$d.getTime() + O * H;
4632
- return A.w(Q, this);
4633
- }, M.subtract = function(O, R) {
4634
- return this.add(-1 * O, R);
4635
- }, M.format = function(O) {
4636
- var R = this, F = this.$locale();
4724
+ return B(7);
4725
+ var H = (N = {}, N[i] = n, N[l] = a, N[s] = r, N)[P] || 1, Y = this.$d.getTime() + M * H;
4726
+ return A.w(Y, this);
4727
+ }, O.subtract = function(M, L) {
4728
+ return this.add(-1 * M, L);
4729
+ }, O.format = function(M) {
4730
+ var L = this, N = this.$locale();
4637
4731
  if (!this.isValid())
4638
- return F.invalidDate || m;
4639
- var G = O || "YYYY-MM-DDTHH:mm:ssZ", P = A.z(this), U = this.$H, H = this.$m, Q = this.$M, J = F.weekdays, $ = F.months, x = function(z, te, ie, le) {
4640
- return z && (z[te] || z(R, G)) || ie[te].slice(0, le);
4732
+ return N.invalidDate || m;
4733
+ var G = M || "YYYY-MM-DDTHH:mm:ssZ", P = A.z(this), B = this.$H, H = this.$m, Y = this.$M, J = N.weekdays, V = N.months, R = function(z, te, ie, le) {
4734
+ return z && (z[te] || z(L, G)) || ie[te].slice(0, le);
4641
4735
  }, X = function(z) {
4642
- return A.s(U % 12 || 12, z, "0");
4643
- }, q = F.meridiem || function(z, te, ie) {
4736
+ return A.s(B % 12 || 12, z, "0");
4737
+ }, q = N.meridiem || function(z, te, ie) {
4644
4738
  var le = z < 12 ? "AM" : "PM";
4645
4739
  return ie ? le.toLowerCase() : le;
4646
- }, ee = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Q + 1, MM: A.s(Q + 1, 2, "0"), MMM: x(F.monthsShort, Q, $, 3), MMMM: x($, Q), D: this.$D, DD: A.s(this.$D, 2, "0"), d: String(this.$W), dd: x(F.weekdaysMin, this.$W, J, 2), ddd: x(F.weekdaysShort, this.$W, J, 3), dddd: J[this.$W], H: String(U), HH: A.s(U, 2, "0"), h: X(1), hh: X(2), a: q(U, H, !0), A: q(U, H, !1), m: String(H), mm: A.s(H, 2, "0"), s: String(this.$s), ss: A.s(this.$s, 2, "0"), SSS: A.s(this.$ms, 3, "0"), Z: P };
4740
+ }, ee = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Y + 1, MM: A.s(Y + 1, 2, "0"), MMM: R(N.monthsShort, Y, V, 3), MMMM: R(V, Y), D: this.$D, DD: A.s(this.$D, 2, "0"), d: String(this.$W), dd: R(N.weekdaysMin, this.$W, J, 2), ddd: R(N.weekdaysShort, this.$W, J, 3), dddd: J[this.$W], H: String(B), HH: A.s(B, 2, "0"), h: X(1), hh: X(2), a: q(B, H, !0), A: q(B, H, !1), m: String(H), mm: A.s(H, 2, "0"), s: String(this.$s), ss: A.s(this.$s, 2, "0"), SSS: A.s(this.$ms, 3, "0"), Z: P };
4647
4741
  return G.replace(C, function(z, te) {
4648
4742
  return te || ee[z] || P.replace(":", "");
4649
4743
  });
4650
- }, M.utcOffset = function() {
4744
+ }, O.utcOffset = function() {
4651
4745
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4652
- }, M.diff = function(O, R, F) {
4653
- var G, P = A.p(R), U = I(O), H = (U.utcOffset() - this.utcOffset()) * n, Q = this - U, J = A.m(this, U);
4654
- return J = (G = {}, G[_] = J / 12, G[g] = J, G[p] = J / 3, G[c] = (Q - H) / 6048e5, G[u] = (Q - H) / 864e5, G[l] = Q / a, G[i] = Q / n, G[s] = Q / r, G)[P] || Q, F ? J : A.a(J);
4655
- }, M.daysInMonth = function() {
4746
+ }, O.diff = function(M, L, N) {
4747
+ var G, P = A.p(L), B = I(M), H = (B.utcOffset() - this.utcOffset()) * n, Y = this - B, J = A.m(this, B);
4748
+ return J = (G = {}, G[_] = J / 12, G[g] = J, G[p] = J / 3, G[c] = (Y - H) / 6048e5, G[u] = (Y - H) / 864e5, G[l] = Y / a, G[i] = Y / n, G[s] = Y / r, G)[P] || Y, N ? J : A.a(J);
4749
+ }, O.daysInMonth = function() {
4656
4750
  return this.endOf(g).$D;
4657
- }, M.$locale = function() {
4751
+ }, O.$locale = function() {
4658
4752
  return T[this.$L];
4659
- }, M.locale = function(O, R) {
4660
- if (!O)
4753
+ }, O.locale = function(M, L) {
4754
+ if (!M)
4661
4755
  return this.$L;
4662
- var F = this.clone(), G = D(O, R, !0);
4663
- return G && (F.$L = G), F;
4664
- }, M.clone = function() {
4756
+ var N = this.clone(), G = F(M, L, !0);
4757
+ return G && (N.$L = G), N;
4758
+ }, O.clone = function() {
4665
4759
  return A.w(this.$d, this);
4666
- }, M.toDate = function() {
4760
+ }, O.toDate = function() {
4667
4761
  return new Date(this.valueOf());
4668
- }, M.toJSON = function() {
4762
+ }, O.toJSON = function() {
4669
4763
  return this.isValid() ? this.toISOString() : null;
4670
- }, M.toISOString = function() {
4764
+ }, O.toISOString = function() {
4671
4765
  return this.$d.toISOString();
4672
- }, M.toString = function() {
4766
+ }, O.toString = function() {
4673
4767
  return this.$d.toUTCString();
4674
4768
  }, w;
4675
- }(), L = N.prototype;
4676
- return I.prototype = L, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", u], ["$M", g], ["$y", _], ["$D", b]].forEach(function(w) {
4677
- L[w[1]] = function(M) {
4678
- return this.$g(M, w[0], w[1]);
4769
+ }(), $ = U.prototype;
4770
+ return I.prototype = $, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", u], ["$M", g], ["$y", _], ["$D", b]].forEach(function(w) {
4771
+ $[w[1]] = function(O) {
4772
+ return this.$g(O, w[0], w[1]);
4679
4773
  };
4680
- }), I.extend = function(w, M) {
4681
- return w.$i || (w(M, N, I), w.$i = !0), I;
4682
- }, I.locale = D, I.isDayjs = B, I.unix = function(w) {
4774
+ }), I.extend = function(w, O) {
4775
+ return w.$i || (w(O, U, I), w.$i = !0), I;
4776
+ }, I.locale = F, I.isDayjs = x, I.unix = function(w) {
4683
4777
  return I(1e3 * w);
4684
- }, I.en = T[V], I.Ls = T, I.p = {}, I;
4778
+ }, I.en = T[D], I.Ls = T, I.p = {}, I;
4685
4779
  });
4686
4780
  })(dayjs_min);
4687
4781
  const dayjs = dayjs_min.exports;
@@ -4726,31 +4820,31 @@ function filesize(e, {
4726
4820
  roundingMethod: m = ROUND,
4727
4821
  precision: v = 0
4728
4822
  } = {}) {
4729
- let C = b, y = Number(e), E = [], k = 0, V = EMPTY;
4823
+ let C = b, y = Number(e), E = [], k = 0, D = EMPTY;
4730
4824
  n === -1 && c.length === 0 ? (n = 10, c = JEDEC) : n === -1 && c.length > 0 ? (c = c === IEC ? IEC : JEDEC, n = c === IEC ? 2 : 10) : (n = n === 2 ? 2 : 10, c = n === 10 || c === JEDEC ? JEDEC : IEC);
4731
- const T = n === 10 ? 1e3 : 1024, B = p === !0, D = y < 0, I = Math[m];
4825
+ const T = n === 10 ? 1e3 : 1024, x = p === !0, F = y < 0, I = Math[m];
4732
4826
  if (typeof e != "bigint" && isNaN(e))
4733
4827
  throw new TypeError(INVALID_NUMBER);
4734
4828
  if (typeof I !== FUNCTION)
4735
4829
  throw new TypeError(INVALID_ROUND);
4736
- if (D && (y = -y), (C === -1 || isNaN(C)) && (C = Math.floor(Math.log(y) / Math.log(T)), C < 0 && (C = 0)), C > 8 && (v > 0 && (v += 8 - C), C = 8), g === EXPONENT)
4830
+ if (F && (y = -y), (C === -1 || isNaN(C)) && (C = Math.floor(Math.log(y) / Math.log(T)), C < 0 && (C = 0)), C > 8 && (v > 0 && (v += 8 - C), C = 8), g === EXPONENT)
4737
4831
  return C;
4738
4832
  if (y === 0)
4739
- E[0] = 0, V = E[1] = STRINGS.symbol[c][t ? BITS : BYTES][C];
4833
+ E[0] = 0, D = E[1] = STRINGS.symbol[c][t ? BITS : BYTES][C];
4740
4834
  else {
4741
4835
  k = y / (n === 2 ? Math.pow(2, C * 10) : Math.pow(1e3, C)), t && (k = k * 8, k >= T && C < 8 && (k = k / T, C++));
4742
4836
  const A = Math.pow(10, C > 0 ? a : 0);
4743
- E[0] = I(k * A) / A, E[0] === T && C < 8 && b === -1 && (E[0] = 1, C++), V = E[1] = n === 10 && C === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[c][t ? BITS : BYTES][C];
4837
+ E[0] = I(k * A) / A, E[0] === T && C < 8 && b === -1 && (E[0] = 1, C++), D = E[1] = n === 10 && C === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[c][t ? BITS : BYTES][C];
4744
4838
  }
4745
- if (D && (E[0] = -E[0]), v > 0 && (E[0] = E[0].toPrecision(v)), E[1] = u[E[1]] || E[1], o === !0 ? E[0] = E[0].toLocaleString() : o.length > 0 ? E[0] = E[0].toLocaleString(o, s) : i.length > 0 && (E[0] = E[0].toString().replace(PERIOD, i)), r && Number.isInteger(E[0]) === !1 && a > 0) {
4746
- const A = i || PERIOD, N = E[0].toString().split(A), L = N[1] || EMPTY, w = L.length, M = a - w;
4747
- E[0] = `${N[0]}${A}${L.padEnd(w + M, ZERO)}`;
4839
+ if (F && (E[0] = -E[0]), v > 0 && (E[0] = E[0].toPrecision(v)), E[1] = u[E[1]] || E[1], o === !0 ? E[0] = E[0].toLocaleString() : o.length > 0 ? E[0] = E[0].toLocaleString(o, s) : i.length > 0 && (E[0] = E[0].toString().replace(PERIOD, i)), r && Number.isInteger(E[0]) === !1 && a > 0) {
4840
+ const A = i || PERIOD, U = E[0].toString().split(A), $ = U[1] || EMPTY, w = $.length, O = a - w;
4841
+ E[0] = `${U[0]}${A}${$.padEnd(w + O, ZERO)}`;
4748
4842
  }
4749
- return B && (E[1] = _[C] ? _[C] : STRINGS.fullform[c][C] + (t ? BIT : BYTE) + (E[0] === 1 ? EMPTY : S)), g === ARRAY ? E : g === OBJECT ? {
4843
+ return x && (E[1] = _[C] ? _[C] : STRINGS.fullform[c][C] + (t ? BIT : BYTE) + (E[0] === 1 ? EMPTY : S)), g === ARRAY ? E : g === OBJECT ? {
4750
4844
  value: E[0],
4751
4845
  symbol: E[1],
4752
4846
  exponent: C,
4753
- unit: V
4847
+ unit: D
4754
4848
  } : E.join(l);
4755
4849
  }
4756
4850
  const data$5 = {
@@ -5336,8 +5430,8 @@ function sendQuery(e, t, r, n) {
5336
5430
  if (e.random) {
5337
5431
  let T = e.resources.slice(0);
5338
5432
  for (s = []; T.length > 1; ) {
5339
- const B = Math.floor(Math.random() * T.length);
5340
- s.push(T[B]), T = T.slice(0, B).concat(T.slice(B + 1));
5433
+ const x = Math.floor(Math.random() * T.length);
5434
+ s.push(T[x]), T = T.slice(0, x).concat(T.slice(x + 1));
5341
5435
  }
5342
5436
  s = s.concat(T);
5343
5437
  } else
@@ -5353,8 +5447,8 @@ function sendQuery(e, t, r, n) {
5353
5447
  T.status === "pending" && (T.status = "aborted");
5354
5448
  }), p = [];
5355
5449
  }
5356
- function v(T, B) {
5357
- B && (_ = []), typeof T == "function" && _.push(T);
5450
+ function v(T, x) {
5451
+ x && (_ = []), typeof T == "function" && _.push(T);
5358
5452
  }
5359
5453
  function C() {
5360
5454
  return {
@@ -5377,8 +5471,8 @@ function sendQuery(e, t, r, n) {
5377
5471
  T.status === "pending" && (T.status = "aborted");
5378
5472
  }), p = [];
5379
5473
  }
5380
- function k(T, B, D) {
5381
- const I = B !== "success";
5474
+ function k(T, x, F) {
5475
+ const I = x !== "success";
5382
5476
  switch (p = p.filter((A) => A !== T), l) {
5383
5477
  case "pending":
5384
5478
  break;
@@ -5389,12 +5483,12 @@ function sendQuery(e, t, r, n) {
5389
5483
  default:
5390
5484
  return;
5391
5485
  }
5392
- if (B === "abort") {
5393
- c = D, y();
5486
+ if (x === "abort") {
5487
+ c = F, y();
5394
5488
  return;
5395
5489
  }
5396
5490
  if (I) {
5397
- c = D, p.length || (s.length ? V() : y());
5491
+ c = F, p.length || (s.length ? D() : y());
5398
5492
  return;
5399
5493
  }
5400
5494
  if (b(), E(), !e.random) {
@@ -5402,10 +5496,10 @@ function sendQuery(e, t, r, n) {
5402
5496
  A !== -1 && A !== e.index && (e.index = A);
5403
5497
  }
5404
5498
  l = "completed", _.forEach((A) => {
5405
- A(D);
5499
+ A(F);
5406
5500
  });
5407
5501
  }
5408
- function V() {
5502
+ function D() {
5409
5503
  if (l !== "pending")
5410
5504
  return;
5411
5505
  b();
@@ -5420,16 +5514,16 @@ function sendQuery(e, t, r, n) {
5420
5514
  y();
5421
5515
  return;
5422
5516
  }
5423
- const B = {
5517
+ const x = {
5424
5518
  status: "pending",
5425
5519
  resource: T,
5426
- callback: (D, I) => {
5427
- k(B, D, I);
5520
+ callback: (F, I) => {
5521
+ k(x, F, I);
5428
5522
  }
5429
5523
  };
5430
- p.push(B), u++, g = setTimeout(V, e.rotate), r(T, t, B.callback);
5524
+ p.push(x), u++, g = setTimeout(D, e.rotate), r(T, t, x.callback);
5431
5525
  }
5432
- return setTimeout(V), C;
5526
+ return setTimeout(D), C;
5433
5527
  }
5434
5528
  function initRedundancy(e) {
5435
5529
  const t = {
@@ -6041,22 +6135,22 @@ function createSetupStore(e, t, r = {}, n, a) {
6041
6135
  const l = {
6042
6136
  deep: !0
6043
6137
  };
6044
- process.env.NODE_ENV !== "production" && !isVue2 && (l.onTrigger = (D) => {
6045
- u ? _ = D : u == !1 && !T._hotUpdating && (Array.isArray(_) ? _.push(D) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
6138
+ process.env.NODE_ENV !== "production" && !isVue2 && (l.onTrigger = (F) => {
6139
+ u ? _ = F : u == !1 && !T._hotUpdating && (Array.isArray(_) ? _.push(F) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
6046
6140
  });
6047
6141
  let u, c, g = markRaw([]), p = markRaw([]), _;
6048
6142
  const b = n.state.value[e];
6049
6143
  !s && !b && (process.env.NODE_ENV === "production" || !a) && (n.state.value[e] = {});
6050
6144
  const m = ref({});
6051
- function v(D) {
6145
+ function v(F) {
6052
6146
  let I;
6053
- u = c = !1, process.env.NODE_ENV !== "production" && (_ = []), typeof D == "function" ? (D(n.state.value[e]), I = {
6147
+ u = c = !1, process.env.NODE_ENV !== "production" && (_ = []), typeof F == "function" ? (F(n.state.value[e]), I = {
6054
6148
  type: MutationType.patchFunction,
6055
6149
  storeId: e,
6056
6150
  events: _
6057
- }) : (mergeReactiveObjects(n.state.value[e], D), I = {
6151
+ }) : (mergeReactiveObjects(n.state.value[e], F), I = {
6058
6152
  type: MutationType.patchObject,
6059
- payload: D,
6153
+ payload: F,
6060
6154
  storeId: e,
6061
6155
  events: _
6062
6156
  }), nextTick().then(() => {
@@ -6069,30 +6163,30 @@ function createSetupStore(e, t, r = {}, n, a) {
6069
6163
  function y() {
6070
6164
  o.stop(), g = [], p = [], n._s.delete(e);
6071
6165
  }
6072
- function E(D, I) {
6166
+ function E(F, I) {
6073
6167
  return function() {
6074
6168
  setActivePinia(n);
6075
- const A = Array.from(arguments), N = [], L = [];
6076
- function w(R) {
6077
- N.push(R);
6169
+ const A = Array.from(arguments), U = [], $ = [];
6170
+ function w(L) {
6171
+ U.push(L);
6078
6172
  }
6079
- function M(R) {
6080
- L.push(R);
6173
+ function O(L) {
6174
+ $.push(L);
6081
6175
  }
6082
6176
  triggerSubscriptions(p, {
6083
6177
  args: A,
6084
- name: D,
6178
+ name: F,
6085
6179
  store: T,
6086
6180
  after: w,
6087
- onError: M
6181
+ onError: O
6088
6182
  });
6089
- let O;
6183
+ let M;
6090
6184
  try {
6091
- O = I.apply(this && this.$id === e ? this : T, A);
6092
- } catch (R) {
6093
- throw triggerSubscriptions(L, R), R;
6185
+ M = I.apply(this && this.$id === e ? this : T, A);
6186
+ } catch (L) {
6187
+ throw triggerSubscriptions($, L), L;
6094
6188
  }
6095
- return O instanceof Promise ? O.then((R) => (triggerSubscriptions(N, R), R)).catch((R) => (triggerSubscriptions(L, R), Promise.reject(R))) : (triggerSubscriptions(N, O), O);
6189
+ return M instanceof Promise ? M.then((L) => (triggerSubscriptions(U, L), L)).catch((L) => (triggerSubscriptions($, L), Promise.reject(L))) : (triggerSubscriptions(U, M), M);
6096
6190
  };
6097
6191
  }
6098
6192
  const k = /* @__PURE__ */ markRaw({
@@ -6100,19 +6194,19 @@ function createSetupStore(e, t, r = {}, n, a) {
6100
6194
  getters: {},
6101
6195
  state: [],
6102
6196
  hotState: m
6103
- }), V = {
6197
+ }), D = {
6104
6198
  _p: n,
6105
6199
  $id: e,
6106
6200
  $onAction: addSubscription.bind(null, p),
6107
6201
  $patch: v,
6108
6202
  $reset: C,
6109
- $subscribe(D, I = {}) {
6110
- const A = addSubscription(g, D, I.detached, () => N()), N = o.run(() => watch(() => n.state.value[e], (L) => {
6111
- (I.flush === "sync" ? c : u) && D({
6203
+ $subscribe(F, I = {}) {
6204
+ const A = addSubscription(g, F, I.detached, () => U()), U = o.run(() => watch(() => n.state.value[e], ($) => {
6205
+ (I.flush === "sync" ? c : u) && F({
6112
6206
  storeId: e,
6113
6207
  type: MutationType.direct,
6114
6208
  events: _
6115
- }, L);
6209
+ }, $);
6116
6210
  }, assign$1({}, l, I)));
6117
6211
  return A;
6118
6212
  },
@@ -6122,35 +6216,35 @@ function createSetupStore(e, t, r = {}, n, a) {
6122
6216
  _customProperties: markRaw(/* @__PURE__ */ new Set()),
6123
6217
  _hmrPayload: k
6124
6218
  } : {},
6125
- V
6219
+ D
6126
6220
  ));
6127
6221
  n._s.set(e, T);
6128
- const B = n._e.run(() => (o = effectScope(), o.run(() => t())));
6129
- for (const D in B) {
6130
- const I = B[D];
6222
+ const x = n._e.run(() => (o = effectScope(), o.run(() => t())));
6223
+ for (const F in x) {
6224
+ const I = x[F];
6131
6225
  if (isRef(I) && !isComputed(I) || isReactive(I))
6132
- process.env.NODE_ENV !== "production" && a ? set(m.value, D, toRef(B, D)) : s || (b && shouldHydrate(I) && (isRef(I) ? I.value = b[D] : mergeReactiveObjects(I, b[D])), n.state.value[e][D] = I), process.env.NODE_ENV !== "production" && k.state.push(D);
6226
+ process.env.NODE_ENV !== "production" && a ? set(m.value, F, toRef(x, F)) : s || (b && shouldHydrate(I) && (isRef(I) ? I.value = b[F] : mergeReactiveObjects(I, b[F])), n.state.value[e][F] = I), process.env.NODE_ENV !== "production" && k.state.push(F);
6133
6227
  else if (typeof I == "function") {
6134
- const A = process.env.NODE_ENV !== "production" && a ? I : E(D, I);
6135
- B[D] = A, process.env.NODE_ENV !== "production" && (k.actions[D] = I), i.actions[D] = I;
6228
+ const A = process.env.NODE_ENV !== "production" && a ? I : E(F, I);
6229
+ x[F] = A, process.env.NODE_ENV !== "production" && (k.actions[F] = I), i.actions[F] = I;
6136
6230
  } else
6137
- process.env.NODE_ENV !== "production" && isComputed(I) && (k.getters[D] = s ? r.getters[D] : I, IS_CLIENT && (B._getters || (B._getters = markRaw([]))).push(D));
6231
+ process.env.NODE_ENV !== "production" && isComputed(I) && (k.getters[F] = s ? r.getters[F] : I, IS_CLIENT && (x._getters || (x._getters = markRaw([]))).push(F));
6138
6232
  }
6139
- if (assign$1(T, B), assign$1(toRaw(T), B), Object.defineProperty(T, "$state", {
6233
+ if (assign$1(T, x), assign$1(toRaw(T), x), Object.defineProperty(T, "$state", {
6140
6234
  get: () => process.env.NODE_ENV !== "production" && a ? m.value : n.state.value[e],
6141
- set: (D) => {
6235
+ set: (F) => {
6142
6236
  if (process.env.NODE_ENV !== "production" && a)
6143
6237
  throw new Error("cannot set hotState");
6144
6238
  v((I) => {
6145
- assign$1(I, D);
6239
+ assign$1(I, F);
6146
6240
  });
6147
6241
  }
6148
6242
  }), process.env.NODE_ENV !== "production") {
6149
6243
  T._hotUpdate = markRaw((I) => {
6150
6244
  T._hotUpdating = !0, I._hmrPayload.state.forEach((A) => {
6151
6245
  if (A in T.$state) {
6152
- const N = I.$state[A], L = T.$state[A];
6153
- typeof N == "object" && isPlainObject(N) && isPlainObject(L) ? patchObject(N, L) : I.$state[A] = L;
6246
+ const U = I.$state[A], $ = T.$state[A];
6247
+ typeof U == "object" && isPlainObject(U) && isPlainObject($) ? patchObject(U, $) : I.$state[A] = $;
6154
6248
  }
6155
6249
  set(T, A, toRef(I.$state, A));
6156
6250
  }), Object.keys(T.$state).forEach((A) => {
@@ -6159,12 +6253,12 @@ function createSetupStore(e, t, r = {}, n, a) {
6159
6253
  u = !0;
6160
6254
  });
6161
6255
  for (const A in I._hmrPayload.actions) {
6162
- const N = I[A];
6163
- set(T, A, E(A, N));
6256
+ const U = I[A];
6257
+ set(T, A, E(A, U));
6164
6258
  }
6165
6259
  for (const A in I._hmrPayload.getters) {
6166
- const N = I._hmrPayload.getters[A], L = s ? computed(() => (setActivePinia(n), N.call(T, T))) : N;
6167
- set(T, A, L);
6260
+ const U = I._hmrPayload.getters[A], $ = s ? computed(() => (setActivePinia(n), U.call(T, T))) : U;
6261
+ set(T, A, $);
6168
6262
  }
6169
6263
  Object.keys(T._hmrPayload.getters).forEach((A) => {
6170
6264
  A in I._hmrPayload.getters || del(T, A);
@@ -6172,7 +6266,7 @@ function createSetupStore(e, t, r = {}, n, a) {
6172
6266
  A in I._hmrPayload.actions || del(T, A);
6173
6267
  }), T._hmrPayload = I._hmrPayload, T._getters = I._getters, T._hotUpdating = !1;
6174
6268
  });
6175
- const D = {
6269
+ const F = {
6176
6270
  writable: !0,
6177
6271
  configurable: !0,
6178
6272
  enumerable: !1
@@ -6180,13 +6274,13 @@ function createSetupStore(e, t, r = {}, n, a) {
6180
6274
  IS_CLIENT && ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((I) => {
6181
6275
  Object.defineProperty(T, I, {
6182
6276
  value: T[I],
6183
- ...D
6277
+ ...F
6184
6278
  });
6185
6279
  });
6186
6280
  }
6187
- return n._p.forEach((D) => {
6281
+ return n._p.forEach((F) => {
6188
6282
  if (process.env.NODE_ENV !== "production" && IS_CLIENT) {
6189
- const I = o.run(() => D({
6283
+ const I = o.run(() => F({
6190
6284
  store: T,
6191
6285
  app: n._a,
6192
6286
  pinia: n,
@@ -6194,7 +6288,7 @@ function createSetupStore(e, t, r = {}, n, a) {
6194
6288
  }));
6195
6289
  Object.keys(I || {}).forEach((A) => T._customProperties.add(A)), assign$1(T, I);
6196
6290
  } else
6197
- assign$1(T, o.run(() => D({
6291
+ assign$1(T, o.run(() => F({
6198
6292
  store: T,
6199
6293
  app: n._a,
6200
6294
  pinia: n,
@@ -6778,11 +6872,11 @@ const getProps$v = () => ({ ...formProps() }), DI_FORM_MODEL = Symbol("DI_FORM_M
6778
6872
  function _() {
6779
6873
  var b, m, v, C, y, E, k;
6780
6874
  if (c.value) {
6781
- const V = (m = (b = l.selectedRows) == null ? void 0 : b.value) != null ? m : [], T = (v = V.map((B) => B[g.value])) != null ? v : [];
6782
- (!i || i(T, V)) && (r("kgOk", T, V), r("update:visible", !1));
6875
+ const D = (m = (b = l.selectedRows) == null ? void 0 : b.value) != null ? m : [], T = (v = D.map((x) => x[g.value])) != null ? v : [];
6876
+ (!i || i(T, D)) && (r("kgOk", T, D), r("update:visible", !1));
6783
6877
  } else {
6784
- const V = (E = (y = (C = l.selectedRows) == null ? void 0 : C.value) == null ? void 0 : y[0]) != null ? E : null, T = (k = V == null ? void 0 : V[g.value]) != null ? k : "";
6785
- (!i || i(T, V)) && (r("kgOk", T, V), r("update:visible", !1));
6878
+ const D = (E = (y = (C = l.selectedRows) == null ? void 0 : C.value) == null ? void 0 : y[0]) != null ? E : null, T = (k = D == null ? void 0 : D[g.value]) != null ? k : "";
6879
+ (!i || i(T, D)) && (r("kgOk", T, D), r("update:visible", !1));
6786
6880
  }
6787
6881
  }
6788
6882
  return () => {
@@ -6994,8 +7088,8 @@ const KgFormItemSelect = defineComponent({
6994
7088
  immediate: !0
6995
7089
  });
6996
7090
  async function u() {
6997
- var C, y, E, k, V, T, B, D;
6998
- const p = (C = i.value) == null ? void 0 : C.cmd, _ = (E = (y = i.value) == null ? void 0 : y.cmd_method) != null ? E : "GET", b = (V = (k = i.value) == null ? void 0 : k.val_clm) != null ? V : "", m = (B = (T = i.value) == null ? void 0 : T.lbl_clm) != null ? B : "";
7091
+ var C, y, E, k, D, T, x, F;
7092
+ const p = (C = i.value) == null ? void 0 : C.cmd, _ = (E = (y = i.value) == null ? void 0 : y.cmd_method) != null ? E : "GET", b = (D = (k = i.value) == null ? void 0 : k.val_clm) != null ? D : "", m = (x = (T = i.value) == null ? void 0 : T.lbl_clm) != null ? x : "";
6999
7093
  if (!p || !b || !m) {
7000
7094
  Logger.error("\u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF.", {
7001
7095
  formID: n.formID,
@@ -7008,7 +7102,7 @@ const KgFormItemSelect = defineComponent({
7008
7102
  }
7009
7103
  let v = null;
7010
7104
  try {
7011
- v = await ((D = httpClient()) == null ? void 0 : D.request({
7105
+ v = await ((F = httpClient()) == null ? void 0 : F.request({
7012
7106
  url: p,
7013
7107
  method: _,
7014
7108
  params: l.value
@@ -7074,8 +7168,8 @@ const KgFormItemSelect = defineComponent({
7074
7168
  value: m[(E = (y = i.value) == null ? void 0 : y.val_clm) != null ? E : ""]
7075
7169
  }, {
7076
7170
  default: () => {
7077
- var k, V;
7078
- return [m[(V = (k = i.value) == null ? void 0 : k.lbl_clm) != null ? V : ""]];
7171
+ var k, D;
7172
+ return [m[(D = (k = i.value) == null ? void 0 : k.lbl_clm) != null ? D : ""]];
7079
7173
  }
7080
7174
  });
7081
7175
  }),
@@ -7176,115 +7270,123 @@ const KgFormItem = defineComponent({
7176
7270
  const n = useKg(), a = useKgVar(), o = inject(DI_FORM_MODEL, computed(() => ({}))), s = inject(DI_FORM_REF, ref(null)), i = computed(() => a.store.isCreating(a.formID)), l = computed(() => a.store.isUpdating(a.formID)), u = computed(() => a.store.isCopying(a.formID)), c = computed(() => a.store.getVarLookup(a.formID, e.kgVarName)), g = computed(() => a.store.getVariableConfig(a.formID, e.kgVarName)), p = computed(() => a.store.getVarProfileDetail(a.formID, e.kgVarName)), _ = computed(() => a.store.getVarSubmitField(a.formID, e.kgVarName)), {
7177
7271
  rules: b
7178
7272
  } = _useRules(e), m = computed(() => {
7179
- var L, w, M, O, R;
7273
+ var w, O, M, L, N;
7180
7274
  if (a.isRetrievingVar.value)
7181
7275
  return !0;
7182
- let N = !1;
7276
+ let $ = !1;
7183
7277
  if (e.kgDisabled !== void 0)
7184
- N = e.kgDisabled;
7278
+ $ = e.kgDisabled;
7185
7279
  else
7186
7280
  switch (e.kgContext) {
7187
7281
  case KG_FORM_CONTEXT.SEARCH:
7188
- N = ((L = p.value) == null ? void 0 : L.ena_flg) === 0;
7282
+ $ = ((w = p.value) == null ? void 0 : w.ena_flg) === 0;
7189
7283
  break;
7190
7284
  case KG_FORM_CONTEXT.SUBMIT:
7191
7285
  switch (!0) {
7192
7286
  case a.isCreating.value:
7193
- N = ((w = _.value) == null ? void 0 : w.crt_ena_flg) === 0;
7287
+ $ = ((O = _.value) == null ? void 0 : O.crt_ena_flg) === 0;
7194
7288
  break;
7195
7289
  case a.isUpdating.value:
7196
- N = ((M = _.value) == null ? void 0 : M.upt_ena_flg) === 0;
7290
+ $ = ((M = _.value) == null ? void 0 : M.upt_ena_flg) === 0;
7197
7291
  break;
7198
7292
  case a.isCopying.value:
7199
- N = ((O = _.value) == null ? void 0 : O.cpy_ena_flg) === 0;
7293
+ $ = ((L = _.value) == null ? void 0 : L.cpy_ena_flg) === 0;
7200
7294
  break;
7201
7295
  case a.isDeleting.value:
7202
- N = ((R = _.value) == null ? void 0 : R.del_ena_flg) === 0;
7296
+ $ = ((N = _.value) == null ? void 0 : N.del_ena_flg) === 0;
7203
7297
  break;
7204
7298
  }
7205
7299
  break;
7206
7300
  }
7207
- return N;
7301
+ return $;
7208
7302
  }), v = computed(() => {
7209
- var L, w, M, O;
7210
- let N = " ";
7303
+ var w, O, M, L;
7304
+ let $ = " ";
7211
7305
  if (e.kgPlaceholder)
7212
- N = e.kgPlaceholder;
7306
+ $ = e.kgPlaceholder;
7213
7307
  else
7214
7308
  switch (e.kgContext) {
7215
7309
  case KG_FORM_CONTEXT.SEARCH:
7216
- N = n.t((w = (L = p.value) == null ? void 0 : L.placeholder) != null ? w : " ");
7310
+ $ = n.t((O = (w = p.value) == null ? void 0 : w.placeholder) != null ? O : " ");
7217
7311
  break;
7218
7312
  case KG_FORM_CONTEXT.SUBMIT:
7219
- N = n.t((O = (M = _.value) == null ? void 0 : M.placeholder) != null ? O : " ");
7313
+ $ = n.t((L = (M = _.value) == null ? void 0 : M.placeholder) != null ? L : " ");
7220
7314
  break;
7221
7315
  }
7222
- return N;
7316
+ return $;
7223
7317
  }), C = computed(() => {
7224
- var L, w, M, O, R, F, G, P, U, H;
7225
- let N = 6;
7318
+ var w, O, M, L, N, G, P, B, H, Y;
7319
+ let $ = 6;
7226
7320
  if (e.kgSpan !== void 0)
7227
- N = e.kgSpan;
7321
+ $ = e.kgSpan;
7228
7322
  else
7229
7323
  switch (e.kgContext) {
7230
7324
  case KG_FORM_CONTEXT.SEARCH:
7231
- N = (w = (L = p.value) == null ? void 0 : L.width) != null ? w : 6;
7325
+ $ = (O = (w = p.value) == null ? void 0 : w.width) != null ? O : 6;
7232
7326
  break;
7233
7327
  case KG_FORM_CONTEXT.SUBMIT:
7234
7328
  switch (!0) {
7235
7329
  case a.isCreating.value:
7236
- N = (O = (M = _.value) == null ? void 0 : M.crt_width) != null ? O : 6;
7330
+ $ = (L = (M = _.value) == null ? void 0 : M.crt_width) != null ? L : 6;
7237
7331
  break;
7238
7332
  case a.isUpdating.value:
7239
- N = (F = (R = _.value) == null ? void 0 : R.upt_width) != null ? F : 6;
7333
+ $ = (G = (N = _.value) == null ? void 0 : N.upt_width) != null ? G : 6;
7240
7334
  break;
7241
7335
  case a.isCopying.value:
7242
- N = (P = (G = _.value) == null ? void 0 : G.cpy_width) != null ? P : 6;
7336
+ $ = (B = (P = _.value) == null ? void 0 : P.cpy_width) != null ? B : 6;
7243
7337
  break;
7244
7338
  case a.isDeleting.value:
7245
- N = (H = (U = _.value) == null ? void 0 : U.del_width) != null ? H : 6;
7339
+ $ = (Y = (H = _.value) == null ? void 0 : H.del_width) != null ? Y : 6;
7246
7340
  break;
7247
7341
  }
7248
7342
  }
7249
- return Math.min(24, Math.max(1, N));
7250
- }), y = computed(() => ({
7251
- paddingLeft: `${e.kgGutter / 2}px !important`,
7252
- paddingRight: `${e.kgGutter / 2}px !important`
7253
- })), E = computed(() => {
7254
- var L, w, M, O;
7255
- let N = "kg-form-item";
7256
- switch (c.value && (N += " kg-form-item-lookup"), e.kgContext) {
7343
+ return Math.min(24, Math.max(1, $));
7344
+ }), y = computed(() => {
7345
+ var M, L;
7346
+ const $ = get(x.value, "$el.parentElement");
7347
+ if ($ && !((M = $.classList) != null && M.contains("ant-row")))
7348
+ throw new Error("<KgForm.Item> \u7684\u7236\u5143\u7D20\u5FC5\u987B\u662F <Row> \u6216\u8005 <a-row>.");
7349
+ let w = {};
7350
+ const O = Math.abs(Number.parseInt((L = get(x.value, "$el.parentElement.style.marginLeft")) != null ? L : "0px"));
7351
+ return Number.isNaN(O) || (w = {
7352
+ paddingLeft: `${O}px !important`,
7353
+ paddingRight: `${O}px !important`
7354
+ }), w;
7355
+ }), E = computed(() => {
7356
+ var w, O, M, L;
7357
+ let $ = "kg-form-item";
7358
+ switch (c.value && ($ += " kg-form-item-lookup"), e.kgContext) {
7257
7359
  case KG_FORM_CONTEXT.SEARCH:
7258
7360
  switch (!0) {
7259
- case ((L = p.value) == null ? void 0 : L.vis_flg) === 0:
7260
- N += " kg-form-item--invisible";
7361
+ case ((w = p.value) == null ? void 0 : w.vis_flg) === 0:
7362
+ $ += " kg-form-item--invisible";
7261
7363
  break;
7262
7364
  }
7263
7365
  break;
7264
7366
  case KG_FORM_CONTEXT.SUBMIT:
7265
7367
  switch (!0) {
7266
- case (i.value && ((w = _.value) == null ? void 0 : w.crt_vis_flg) === 0):
7368
+ case (i.value && ((O = _.value) == null ? void 0 : O.crt_vis_flg) === 0):
7267
7369
  case (l.value && ((M = _.value) == null ? void 0 : M.upt_vis_flg) === 0):
7268
- case (u.value && ((O = _.value) == null ? void 0 : O.cpy_vis_flg) === 0):
7269
- N += " kg-form-item--invisible";
7370
+ case (u.value && ((L = _.value) == null ? void 0 : L.cpy_vis_flg) === 0):
7371
+ $ += " kg-form-item--invisible";
7270
7372
  break;
7271
7373
  }
7272
7374
  break;
7273
7375
  }
7274
- return N;
7376
+ return $;
7275
7377
  }), k = computed(() => {
7276
- var L;
7277
- const N = {
7378
+ var w;
7379
+ const $ = {
7278
7380
  ...e,
7279
- value: (L = o.value) == null ? void 0 : L[e.kgVarName],
7280
- "onUpdate:value": (w) => {
7281
- o.value && (o.value[e.kgVarName] = w);
7381
+ value: (w = o.value) == null ? void 0 : w[e.kgVarName],
7382
+ "onUpdate:value": (O) => {
7383
+ o.value && (o.value[e.kgVarName] = O);
7282
7384
  },
7283
7385
  kgPlaceholder: v.value,
7284
7386
  kgDisabled: m.value,
7285
7387
  id: T.value
7286
7388
  };
7287
- switch (V.value) {
7389
+ switch (D.value) {
7288
7390
  case KG_FORM_ITEM_TYPE.INPUT_NUMBER:
7289
7391
  break;
7290
7392
  case KG_FORM_ITEM_TYPE.SELECT:
@@ -7292,22 +7394,22 @@ const KgFormItem = defineComponent({
7292
7394
  case KG_FORM_ITEM_TYPE.SWITCH:
7293
7395
  break;
7294
7396
  case KG_FORM_ITEM_TYPE.DATE_DATE:
7295
- N.kgShowTime = !1;
7397
+ $.kgShowTime = !1;
7296
7398
  break;
7297
7399
  case KG_FORM_ITEM_TYPE.DATE_DATETIME:
7298
- N.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
7400
+ $.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
7299
7401
  break;
7300
7402
  }
7301
- return N;
7302
- }), V = computed(() => {
7303
- var N;
7304
- return e.kgType || ((N = g.value) == null ? void 0 : N.ctrl_typ);
7305
- }), T = computed(() => encodeURIComponent(a.formID + e.kgVarName + e.kgContext));
7306
- function B(N, L) {
7307
- var w;
7308
- o.value && (o.value[e.kgVarName] = N), r("kgChange", L), (w = s.value) == null || w.validate([e.kgVarName]);
7403
+ return $;
7404
+ }), D = computed(() => {
7405
+ var $;
7406
+ return e.kgType || (($ = g.value) == null ? void 0 : $.ctrl_typ);
7407
+ }), T = computed(() => encodeURIComponent(a.formID + e.kgVarName + e.kgContext)), x = ref(null);
7408
+ function F($, w) {
7409
+ var O;
7410
+ o.value && (o.value[e.kgVarName] = $), r("kgChange", w), (O = s.value) == null || O.validate([e.kgVarName]);
7309
7411
  }
7310
- function D() {
7412
+ function I() {
7311
7413
  if (t.control)
7312
7414
  return t.control({
7313
7415
  varName: e.kgVarName,
@@ -7317,7 +7419,7 @@ const KgFormItem = defineComponent({
7317
7419
  varProfileDetail: p,
7318
7420
  varSubmitField: _
7319
7421
  });
7320
- switch (V.value) {
7422
+ switch (D.value) {
7321
7423
  case KG_FORM_ITEM_TYPE.INPUT_NUMBER:
7322
7424
  return createVNode(KgFormItemInputNumber, k.value, null);
7323
7425
  case KG_FORM_ITEM_TYPE.SELECT:
@@ -7332,22 +7434,23 @@ const KgFormItem = defineComponent({
7332
7434
  return createVNode(KgFormItemInput, k.value, null);
7333
7435
  }
7334
7436
  }
7335
- function I() {
7437
+ function A() {
7336
7438
  return e.kgShowLabel ? createVNode("span", {
7337
7439
  title: a.t(e.kgVarName).value
7338
7440
  }, [a.t(e.kgVarName).value]) : null;
7339
7441
  }
7340
- function A() {
7341
- var N;
7342
- return !c.value || !((N = c.value) != null && N.lkp_id) ? null : createVNode(Form.ItemRest, null, {
7442
+ function U() {
7443
+ var $;
7444
+ return !c.value || !(($ = c.value) != null && $.lkp_id) ? null : createVNode(Form.ItemRest, null, {
7343
7445
  default: () => [createVNode(KgFormItemAddonLookup, {
7344
7446
  kgDisabled: m.value,
7345
- onKgOk: B,
7447
+ onKgOk: F,
7346
7448
  kgLookupID: c.value.lkp_id
7347
7449
  }, null)]
7348
7450
  });
7349
7451
  }
7350
7452
  return () => createVNode(Col, {
7453
+ ref: x,
7351
7454
  "kg-frm-id": a.formID,
7352
7455
  "kg-var-nam": e.kgVarName,
7353
7456
  span: C.value,
@@ -7359,8 +7462,8 @@ const KgFormItem = defineComponent({
7359
7462
  rules: b.value,
7360
7463
  htmlFor: T.value
7361
7464
  }, {
7362
- default: () => createVNode(Fragment, null, [D(), A()]),
7363
- label: () => I()
7465
+ default: () => createVNode(Fragment, null, [I(), U()]),
7466
+ label: () => A()
7364
7467
  })]
7365
7468
  });
7366
7469
  }
@@ -8040,6 +8143,7 @@ const useKgVarStore = () => (store$6 || (store$6 = defineStore("KgVar", {
8040
8143
  formIDs: [],
8041
8144
  isRetrievingVarMap: /* @__PURE__ */ new Map(),
8042
8145
  isRetrievingVarProfileMasterMap: /* @__PURE__ */ new Map(),
8146
+ isRetrievingVarGridMasterMap: /* @__PURE__ */ new Map(),
8043
8147
  isCreatingMap: /* @__PURE__ */ new Map(),
8044
8148
  isCreatingRequestingMap: /* @__PURE__ */ new Map(),
8045
8149
  isUpdatingMap: /* @__PURE__ */ new Map(),
@@ -8086,6 +8190,12 @@ const useKgVarStore = () => (store$6 || (store$6 = defineStore("KgVar", {
8086
8190
  return t ? (r = e.isRetrievingVarProfileMasterMap.get(t)) != null ? r : null : (Logger.error("formID \u4E3A\u7A7A."), null);
8087
8191
  };
8088
8192
  },
8193
+ isRetrievingVarGridMaster(e) {
8194
+ return (t) => {
8195
+ var r;
8196
+ return t ? (r = e.isRetrievingVarGridMasterMap.get(t)) != null ? r : null : (Logger.error("formID \u4E3A\u7A7A."), null);
8197
+ };
8198
+ },
8089
8199
  isCreating(e) {
8090
8200
  return (t) => {
8091
8201
  var r;
@@ -8547,6 +8657,29 @@ const useKgVarStore = () => (store$6 || (store$6 = defineStore("KgVar", {
8547
8657
  }
8548
8658
  }
8549
8659
  },
8660
+ async setCurrentVarGridMasterID(e, t) {
8661
+ var a, o, s, i;
8662
+ if (!e)
8663
+ return;
8664
+ const r = this.varGridMap.get(e);
8665
+ if (!r)
8666
+ return;
8667
+ const n = (o = (a = r.varGrid) == null ? void 0 : a.varGridMasters) == null ? void 0 : o.find((l) => l.id === t);
8668
+ if (!!n)
8669
+ if ((s = n.varGridDetails) != null && s.length)
8670
+ r.currentVarGridMasterID = t != null ? t : null;
8671
+ else {
8672
+ this.isRetrievingVarGridMasterMap.set(e, !0);
8673
+ try {
8674
+ const l = await QueryByID$1({ params: { id: n.id } });
8675
+ n.varGridDetails = (i = l == null ? void 0 : l.varGridDetails) != null ? i : [], r.currentVarGridMasterID = t != null ? t : null;
8676
+ } catch (l) {
8677
+ throw l;
8678
+ } finally {
8679
+ this.isRetrievingVarGridMasterMap.set(e, !1);
8680
+ }
8681
+ }
8682
+ },
8550
8683
  setVarGridDetailWidth(e, t, r) {
8551
8684
  if (!e || !t)
8552
8685
  return;
@@ -8597,32 +8730,34 @@ function useKgVar(e, t, r = 0) {
8597
8730
  }), onUnmounted(() => {
8598
8731
  s.leave(o);
8599
8732
  }));
8600
- const i = (D) => computed(() => {
8601
- var I, A, N;
8602
- return (N = (A = (I = s.getVarCatalog(o, D)) == null ? void 0 : I.var_text) != null ? A : D) != null ? N : "";
8603
- }), l = computed(() => s.isRetrievingVar(o)), u = computed(() => s.isRetrievingVarProfileMaster(o)), c = computed(() => s.isCreating(o)), g = computed(() => s.isUpdating(o)), p = computed(() => s.isCopying(o)), _ = computed(() => s.isDeleting(o)), b = computed(() => s.isOtherRequesting(o)), m = computed(() => s.getVarButtons(o)), v = computed(() => s.getVarProfileMasters(o)), C = computed(() => s.getCurrentVarProfileMaster(o)), y = computed(() => s.getCurrentVarProfileMasterID(o)), E = computed(() => {
8604
- var D, I;
8605
- return (I = (D = C.value) == null ? void 0 : D.varProfileDetails) != null ? I : null;
8606
- }), k = computed(() => s.getVarGridConfig(o)), V = computed(() => s.getVarGridMasters(o)), T = computed(() => s.getCurrentVarGridMaster(o)), B = computed(() => s.getSystemVarGridDetails(o));
8733
+ const i = (A) => computed(() => {
8734
+ var U, $, w;
8735
+ return (w = ($ = (U = s.getVarCatalog(o, A)) == null ? void 0 : U.var_text) != null ? $ : A) != null ? w : "";
8736
+ }), l = computed(() => s.isRetrievingVar(o)), u = computed(() => s.isRetrievingVarProfileMaster(o)), c = computed(() => s.isRetrievingVarGridMaster(o)), g = computed(() => s.isCreating(o)), p = computed(() => s.isUpdating(o)), _ = computed(() => s.isCopying(o)), b = computed(() => s.isDeleting(o)), m = computed(() => s.isOtherRequesting(o)), v = computed(() => s.getVarButtons(o)), C = computed(() => s.getVarProfileMasters(o)), y = computed(() => s.getCurrentVarProfileMaster(o)), E = computed(() => s.getCurrentVarProfileMasterID(o)), k = computed(() => {
8737
+ var A, U;
8738
+ return (U = (A = y.value) == null ? void 0 : A.varProfileDetails) != null ? U : null;
8739
+ }), D = computed(() => s.getVarGridConfig(o)), T = computed(() => s.getVarGridMasters(o)), x = computed(() => s.getCurrentVarGridMaster(o)), F = computed(() => s.getSystemVarGridDetails(o)), I = computed(() => s.getCurrentVarGridDetails(o));
8607
8740
  return {
8608
8741
  formID: o,
8609
8742
  store: s,
8610
8743
  isRetrievingVar: l,
8611
8744
  isRetrievingVarProfileMaster: u,
8612
- isCreating: c,
8613
- isUpdating: g,
8614
- isCopying: p,
8615
- isDeleting: _,
8616
- isOtherRequesting: b,
8617
- varButtons: m,
8618
- varProfileMasters: v,
8619
- currentVarProfileMaster: C,
8620
- currentVarProfileMasterID: y,
8621
- currentVarProfileDetails: E,
8622
- varGridConfig: k,
8623
- varGridMasters: V,
8624
- currentVarGridMaster: T,
8625
- systemVarGridDetails: B,
8745
+ isRetrievingVarGridMaster: c,
8746
+ isCreating: g,
8747
+ isUpdating: p,
8748
+ isCopying: _,
8749
+ isDeleting: b,
8750
+ isOtherRequesting: m,
8751
+ varButtons: v,
8752
+ varProfileMasters: C,
8753
+ currentVarProfileMaster: y,
8754
+ currentVarProfileMasterID: E,
8755
+ currentVarProfileDetails: k,
8756
+ varGridConfig: D,
8757
+ varGridMasters: T,
8758
+ currentVarGridMaster: x,
8759
+ systemVarGridDetails: F,
8760
+ currentVarGridDetails: I,
8626
8761
  t: i
8627
8762
  };
8628
8763
  } catch (o) {
@@ -8814,8 +8949,8 @@ const KgSubmit_Header = "", FORM_ID__VAR_SUBMIT_CONFIG = "kg-submit.VarSubmitCon
8814
8949
  }) => {
8815
8950
  const c = o.store.getVarSubmitConfig(o.formID);
8816
8951
  return i = watch(u, (g) => {
8817
- var p, _, b, m, v, C, y, E, k, V, T, B;
8818
- g && (g.id = (p = c == null ? void 0 : c.id) != null ? p : null, g.frm_id = o.formID, g.resizable_flg = (_ = c == null ? void 0 : c.resizable_flg) != null ? _ : 1, g.fullscreen_flg = (b = c == null ? void 0 : c.fullscreen_flg) != null ? b : 1, g.dft_fullscreen_flg = (m = c == null ? void 0 : c.dft_fullscreen_flg) != null ? m : 0, g.responsive_flg = (v = c == null ? void 0 : c.responsive_flg) != null ? v : 1, g.max_width = (C = c == null ? void 0 : c.max_width) != null ? C : DEFAULT_MAX_WIDTH, g.min_width = (y = c == null ? void 0 : c.min_width) != null ? y : DEFAULT_MIN_WIDTH, g.dft_width = (E = c == null ? void 0 : c.dft_width) != null ? E : DEFAULT_WIDTH, g.layout = (k = c == null ? void 0 : c.layout) != null ? k : KG_VAR_SUBMIT__LAYOUT.VERTICAL, g.label_col = (V = c == null ? void 0 : c.label_col) != null ? V : DEFAULT_LABEL_COL_FOR_SPAN, g.label_col_unit = (T = c == null ? void 0 : c.label_col_unit) != null ? T : KG_WIDTH_UNIT.SPAN, g.display_type = (B = c == null ? void 0 : c.display_type) != null ? B : KG_VAR_SUBMIT__DISPLAY_TYPE.DRAWER);
8952
+ var p, _, b, m, v, C, y, E, k, D, T, x;
8953
+ g && (g.id = (p = c == null ? void 0 : c.id) != null ? p : null, g.frm_id = o.formID, g.resizable_flg = (_ = c == null ? void 0 : c.resizable_flg) != null ? _ : 1, g.fullscreen_flg = (b = c == null ? void 0 : c.fullscreen_flg) != null ? b : 1, g.dft_fullscreen_flg = (m = c == null ? void 0 : c.dft_fullscreen_flg) != null ? m : 0, g.responsive_flg = (v = c == null ? void 0 : c.responsive_flg) != null ? v : 1, g.max_width = (C = c == null ? void 0 : c.max_width) != null ? C : DEFAULT_MAX_WIDTH, g.min_width = (y = c == null ? void 0 : c.min_width) != null ? y : DEFAULT_MIN_WIDTH, g.dft_width = (E = c == null ? void 0 : c.dft_width) != null ? E : DEFAULT_WIDTH, g.layout = (k = c == null ? void 0 : c.layout) != null ? k : KG_VAR_SUBMIT__LAYOUT.VERTICAL, g.label_col = (D = c == null ? void 0 : c.label_col) != null ? D : DEFAULT_LABEL_COL_FOR_SPAN, g.label_col_unit = (T = c == null ? void 0 : c.label_col_unit) != null ? T : KG_WIDTH_UNIT.SPAN, g.display_type = (x = c == null ? void 0 : c.display_type) != null ? x : KG_VAR_SUBMIT__DISPLAY_TYPE.DRAWER);
8819
8954
  }, {
8820
8955
  immediate: !0
8821
8956
  }), !1;
@@ -8943,19 +9078,19 @@ function _useResizeObserver$1(e) {
8943
9078
  var o, s;
8944
9079
  const a = (s = (o = n[0].borderBoxSize[0]) == null ? void 0 : o.inlineSize) != null ? s : 0;
8945
9080
  switch (!0) {
8946
- case a < 582:
9081
+ case a < 570:
8947
9082
  r.classList.remove(...[2, 3, 4, 5].map((i) => `kg-submit--col-${i}`)), r.classList.add("kg-submit--col-1");
8948
9083
  break;
8949
- case (a >= 582 && a < 876):
9084
+ case (a >= 570 && a < 864):
8950
9085
  r.classList.remove(...[1, 3, 4, 5].map((i) => `kg-submit--col-${i}`)), r.classList.add("kg-submit--col-2");
8951
9086
  break;
8952
- case (a >= 876 && a < 1170):
9087
+ case (a >= 864 && a < 1158):
8953
9088
  r.classList.remove(...[1, 2, 4, 5].map((i) => `kg-submit--col-${i}`)), r.classList.add("kg-submit--col-3");
8954
9089
  break;
8955
- case (a >= 1170 && a < 1464):
9090
+ case (a >= 1158 && a < 1452):
8956
9091
  r.classList.remove(...[1, 2, 3, 5].map((i) => `kg-submit--col-${i}`)), r.classList.add("kg-submit--col-4");
8957
9092
  break;
8958
- case a >= 1464:
9093
+ case a >= 1452:
8959
9094
  r.classList.remove(...[1, 2, 3, 4].map((i) => `kg-submit--col-${i}`)), r.classList.add("kg-submit--col-5");
8960
9095
  break;
8961
9096
  }
@@ -9011,58 +9146,53 @@ const getProps$p = () => ({
9011
9146
  }) {
9012
9147
  const r = useKg(), n = useKgVar(), a = useKgTable(), o = useKgSubmit(), s = useKgSearch(), i = inject(DI_KG_SLOTS, null);
9013
9148
  _useFormModel();
9014
- const l = computed(() => n.store.isCreating(n.formID)), u = computed(() => n.store.isUpdating(n.formID)), c = computed(() => n.store.isCopying(n.formID)), g = computed(() => n.store.isDeleting(n.formID)), p = computed(() => g.value && A.value.length === 0 && N.value.length === 0), _ = computed(() => n.store.getVarButtonCreate(n.formID)), b = computed(() => n.store.getVarButtonUpdate(n.formID)), m = computed(() => n.store.getVarButtonCopy(n.formID)), v = computed(() => n.store.getVarButtonDelete(n.formID)), C = computed(() => o.store.isLoading(n.formID)), y = computed(() => n.store.getVarSubmitConfig(n.formID)), E = computed(() => n.store.getVarSubmitFieldsForCreateKey(n.formID)), k = computed(() => n.store.getVarSubmitFieldsForCreateNotKey(n.formID)), V = computed(() => n.store.getVarSubmitFieldsForUpdateKey(n.formID)), T = computed(() => n.store.getVarSubmitFieldsForUpdateNotKey(n.formID)), B = computed(() => n.store.getVarSubmitFieldsForCopyKey(n.formID)), D = computed(() => n.store.getVarSubmitFieldsForCopyNotKey(n.formID)), I = computed(() => n.store.getVarSubmitFieldsForDelete(n.formID)), A = computed(() => {
9015
- var K, W, Y;
9149
+ const l = computed(() => n.store.isCreating(n.formID)), u = computed(() => n.store.isUpdating(n.formID)), c = computed(() => n.store.isCopying(n.formID)), g = computed(() => n.store.isDeleting(n.formID)), p = computed(() => g.value && A.value.length === 0 && U.value.length === 0), _ = computed(() => n.store.getVarButtonCreate(n.formID)), b = computed(() => n.store.getVarButtonUpdate(n.formID)), m = computed(() => n.store.getVarButtonCopy(n.formID)), v = computed(() => n.store.getVarButtonDelete(n.formID)), C = computed(() => o.store.isLoading(n.formID)), y = computed(() => n.store.getVarSubmitConfig(n.formID)), E = computed(() => n.store.getVarSubmitFieldsForCreateKey(n.formID)), k = computed(() => n.store.getVarSubmitFieldsForCreateNotKey(n.formID)), D = computed(() => n.store.getVarSubmitFieldsForUpdateKey(n.formID)), T = computed(() => n.store.getVarSubmitFieldsForUpdateNotKey(n.formID)), x = computed(() => n.store.getVarSubmitFieldsForCopyKey(n.formID)), F = computed(() => n.store.getVarSubmitFieldsForCopyNotKey(n.formID)), I = computed(() => n.store.getVarSubmitFieldsForDelete(n.formID)), A = computed(() => {
9150
+ var K, W, Q;
9016
9151
  switch (!0) {
9017
9152
  case l.value:
9018
9153
  return (K = E.value) != null ? K : [];
9019
9154
  case u.value:
9020
- return (W = V.value) != null ? W : [];
9155
+ return (W = D.value) != null ? W : [];
9021
9156
  case c.value:
9022
- return (Y = B.value) != null ? Y : [];
9157
+ return (Q = x.value) != null ? Q : [];
9023
9158
  case g.value:
9024
9159
  return [];
9025
9160
  }
9026
9161
  return [];
9027
- }), N = computed(() => {
9028
- var K, W, Y, Z;
9162
+ }), U = computed(() => {
9163
+ var K, W, Q, Z;
9029
9164
  switch (!0) {
9030
9165
  case l.value:
9031
9166
  return (K = k.value) != null ? K : [];
9032
9167
  case u.value:
9033
9168
  return (W = T.value) != null ? W : [];
9034
9169
  case c.value:
9035
- return (Y = D.value) != null ? Y : [];
9170
+ return (Q = F.value) != null ? Q : [];
9036
9171
  case g.value:
9037
9172
  return (Z = I.value) != null ? Z : [];
9038
9173
  }
9039
9174
  return [];
9040
- }), L = computed(() => !!n.store.isCreatingRequesting(n.formID) || !!n.store.isUpdatingRequesting(n.formID) || !!n.store.isCopyingRequesting(n.formID) || !!n.store.isDeletingRequesting(n.formID)), w = computed(() => L.value || C.value), M = computed(() => C.value), O = ref({
9041
- kgWidth: DEFAULT_WIDTH
9042
- }), R = computed(() => {
9175
+ }), $ = computed(() => !!n.store.isCreatingRequesting(n.formID) || !!n.store.isUpdatingRequesting(n.formID) || !!n.store.isCopyingRequesting(n.formID) || !!n.store.isDeletingRequesting(n.formID)), w = computed(() => $.value || C.value), O = computed(() => C.value), M = ref({
9176
+ kgWidth: 0
9177
+ }), L = computed(() => {
9043
9178
  var K;
9044
- return !!(p.value || $.isFullscreen || ((K = y.value) == null ? void 0 : K.resizable_flg) === 0);
9045
- }), F = ref(null), G = ref({}), P = ref(null);
9179
+ return !!(p.value || V.isFullscreen || ((K = y.value) == null ? void 0 : K.resizable_flg) === 0);
9180
+ }), N = ref(null), G = ref({}), P = ref(null);
9046
9181
  _useResizeObserver$1(P);
9047
- const U = _useTitle(), H = computed(() => !!(l.value || u.value || c.value || g.value)), Q = computed(() => {
9048
- if (p.value)
9049
- return 400;
9050
- if (O.value.kgWidth)
9051
- return O.value.kgWidth + 2;
9052
- }), J = computed(() => {
9053
- var W, Y;
9182
+ const B = _useTitle(), H = computed(() => p.value ? 400 : M.value.kgWidth && M.value.kgWidth > 0 ? M.value.kgWidth + 2 : 0), Y = computed(() => H.value === 0 ? !1 : !!(l.value || u.value || c.value || g.value)), J = computed(() => {
9183
+ var W, Q;
9054
9184
  let K = "kg-submit";
9055
- return $.isFullscreen && (K += " kg-submit--fullscreen"), ((W = y.value) == null ? void 0 : W.responsive_flg) !== 0 && (K += " kg-submit--responsive"), (((Y = y.value) == null ? void 0 : Y.display_type) === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL || g.value) && (K += " kg-submit--modal"), e.kgClass && (K += ` ${e.kgClass}`), K;
9056
- }), $ = reactive({
9185
+ return V.isFullscreen && (K += " kg-submit--fullscreen"), ((W = y.value) == null ? void 0 : W.responsive_flg) !== 0 && (K += " kg-submit--responsive"), (((Q = y.value) == null ? void 0 : Q.display_type) === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL || g.value) && (K += " kg-submit--modal"), e.kgClass && (K += ` ${e.kgClass}`), K;
9186
+ }), V = reactive({
9057
9187
  isFullscreen: !1
9058
- }), x = computed(() => {
9059
- var K, W, Y, Z;
9188
+ }), R = computed(() => {
9189
+ var K, W, Q, Z;
9060
9190
  switch ((K = y.value) == null ? void 0 : K.layout) {
9061
9191
  case "horizontal":
9062
9192
  switch ((W = y.value) == null ? void 0 : W.label_col_unit) {
9063
9193
  case KG_WIDTH_UNIT.SPAN:
9064
9194
  return {
9065
- span: (Y = y.value) == null ? void 0 : Y.label_col
9195
+ span: (Q = y.value) == null ? void 0 : Q.label_col
9066
9196
  };
9067
9197
  default:
9068
9198
  return {
@@ -9075,13 +9205,13 @@ const getProps$p = () => ({
9075
9205
  return;
9076
9206
  }
9077
9207
  }), X = computed(() => {
9078
- var K, W, Y;
9208
+ var K, W, Q;
9079
9209
  switch ((K = y.value) == null ? void 0 : K.layout) {
9080
9210
  case "horizontal":
9081
9211
  switch ((W = y.value) == null ? void 0 : W.label_col_unit) {
9082
9212
  case KG_WIDTH_UNIT.SPAN:
9083
9213
  return {
9084
- span: 24 - ((Y = y.value) == null ? void 0 : Y.label_col)
9214
+ span: 24 - ((Q = y.value) == null ? void 0 : Q.label_col)
9085
9215
  };
9086
9216
  default:
9087
9217
  return;
@@ -9090,12 +9220,12 @@ const getProps$p = () => ({
9090
9220
  return;
9091
9221
  }
9092
9222
  });
9093
- watch(H, (K) => {
9094
- K ? q() : ee();
9223
+ watch(Y, (K, W) => {
9224
+ K === !0 && q(), W === !0 && K === !1 && ee();
9095
9225
  }, {
9096
9226
  immediate: !0
9097
9227
  }), watch(y, (K) => {
9098
- K != null && K.dft_width && (O.value.kgWidth = K.dft_width);
9228
+ K != null && K.dft_width && (M.value.kgWidth = K.dft_width);
9099
9229
  }, {
9100
9230
  immediate: !0
9101
9231
  });
@@ -9108,11 +9238,11 @@ const getProps$p = () => ({
9108
9238
  isDeleting: g.value,
9109
9239
  row: a.selectedRow.value,
9110
9240
  model: o.model
9111
- }), ((K = y.value) == null ? void 0 : K.dft_fullscreen_flg) === 1 && ($.isFullscreen = !0);
9241
+ }), ((K = y.value) == null ? void 0 : K.dft_fullscreen_flg) === 1 && (V.isFullscreen = !0);
9112
9242
  }
9113
9243
  function ee() {
9114
9244
  var K;
9115
- O.value.kgWidth = ((K = y.value) == null ? void 0 : K.dft_width) || DEFAULT_WIDTH, $.isFullscreen = !1, o.store.emit(n.formID, "close");
9245
+ M.value.kgWidth = ((K = y.value) == null ? void 0 : K.dft_width) || DEFAULT_WIDTH, V.isFullscreen = !1, o.store.emit(n.formID, "close");
9116
9246
  }
9117
9247
  function z() {
9118
9248
  switch (!0) {
@@ -9139,11 +9269,11 @@ const getProps$p = () => ({
9139
9269
  }))
9140
9270
  return;
9141
9271
  try {
9142
- await ((K = F.value) == null ? void 0 : K.validate());
9272
+ await ((K = N.value) == null ? void 0 : K.validate());
9143
9273
  } catch (Z) {
9144
9274
  KgUtil.throwIfNotFormError(Z);
9145
9275
  }
9146
- switch (await ((W = F.value) == null ? void 0 : W.validate()), !0) {
9276
+ switch (await ((W = N.value) == null ? void 0 : W.validate()), !0) {
9147
9277
  case l.value:
9148
9278
  await ie();
9149
9279
  break;
@@ -9157,12 +9287,12 @@ const getProps$p = () => ({
9157
9287
  await fe();
9158
9288
  break;
9159
9289
  }
9160
- } catch (Y) {
9161
- KgUtil.throwIfNotFormError(Y);
9290
+ } catch (Q) {
9291
+ KgUtil.throwIfNotFormError(Q);
9162
9292
  }
9163
9293
  }
9164
9294
  async function ie() {
9165
- var W, Y, Z, ne, ae, oe, re;
9295
+ var W, Q, Z, ne, ae, oe, re;
9166
9296
  const K = (W = _.value) == null ? void 0 : W.cmd;
9167
9297
  if (!K) {
9168
9298
  Logger.error("[KgSubmit] \u521B\u5EFA\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
@@ -9173,7 +9303,7 @@ const getProps$p = () => ({
9173
9303
  n.store.setIsCreatingRequesting(n.formID, !0);
9174
9304
  try {
9175
9305
  await httpClient().request({
9176
- method: (Z = (Y = _.value) == null ? void 0 : Y.cmd_method) != null ? Z : "POST",
9306
+ method: (Z = (Q = _.value) == null ? void 0 : Q.cmd_method) != null ? Z : "POST",
9177
9307
  url: K,
9178
9308
  params: KgVarUtil.parseCommandParameter((ae = (ne = _.value) == null ? void 0 : ne.cmd_prm) != null ? ae : ""),
9179
9309
  data: toRaw(o.model.value)
@@ -9185,7 +9315,7 @@ const getProps$p = () => ({
9185
9315
  }
9186
9316
  }
9187
9317
  async function le() {
9188
- var W, Y, Z, ne, ae, oe, re;
9318
+ var W, Q, Z, ne, ae, oe, re;
9189
9319
  const K = (W = b.value) == null ? void 0 : W.cmd;
9190
9320
  if (!K) {
9191
9321
  Logger.error("[KgSubmit] \u66F4\u65B0\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
@@ -9195,7 +9325,7 @@ const getProps$p = () => ({
9195
9325
  }
9196
9326
  try {
9197
9327
  n.store.setIsUpdatingRequesting(n.formID, !0), await httpClient().request({
9198
- method: (Z = (Y = b.value) == null ? void 0 : Y.cmd_method) != null ? Z : "POST",
9328
+ method: (Z = (Q = b.value) == null ? void 0 : Q.cmd_method) != null ? Z : "POST",
9199
9329
  url: K,
9200
9330
  params: KgVarUtil.parseCommandParameter((ae = (ne = b.value) == null ? void 0 : ne.cmd_prm) != null ? ae : ""),
9201
9331
  data: toRaw(o.model.value)
@@ -9207,7 +9337,7 @@ const getProps$p = () => ({
9207
9337
  }
9208
9338
  }
9209
9339
  async function de() {
9210
- var W, Y, Z, ne, ae, oe, re;
9340
+ var W, Q, Z, ne, ae, oe, re;
9211
9341
  const K = (W = m.value) == null ? void 0 : W.cmd;
9212
9342
  if (!K) {
9213
9343
  Logger.error("[KgSubmit] \u590D\u5236\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
@@ -9219,7 +9349,7 @@ const getProps$p = () => ({
9219
9349
  n.store.setIsCopyingRequesting(n.formID, !0);
9220
9350
  const se = toRaw(o.model.value);
9221
9351
  delete se.id, await httpClient().request({
9222
- method: (Z = (Y = m.value) == null ? void 0 : Y.cmd_method) != null ? Z : "POST",
9352
+ method: (Z = (Q = m.value) == null ? void 0 : Q.cmd_method) != null ? Z : "POST",
9223
9353
  url: K,
9224
9354
  params: KgVarUtil.parseCommandParameter((ae = (ne = m.value) == null ? void 0 : ne.cmd_prm) != null ? ae : ""),
9225
9355
  data: toRaw(o.model.value)
@@ -9231,7 +9361,7 @@ const getProps$p = () => ({
9231
9361
  }
9232
9362
  }
9233
9363
  async function fe() {
9234
- var W, Y, Z, ne, ae, oe, re;
9364
+ var W, Q, Z, ne, ae, oe, re;
9235
9365
  const K = (W = v.value) == null ? void 0 : W.cmd;
9236
9366
  if (!K) {
9237
9367
  Logger.error("[KgSubmit] \u5220\u9664\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
@@ -9241,7 +9371,7 @@ const getProps$p = () => ({
9241
9371
  }
9242
9372
  try {
9243
9373
  n.store.setIsDeletingRequesting(n.formID, !0), await httpClient().request({
9244
- method: (Z = (Y = v.value) == null ? void 0 : Y.cmd_method) != null ? Z : "DELETE",
9374
+ method: (Z = (Q = v.value) == null ? void 0 : Q.cmd_method) != null ? Z : "DELETE",
9245
9375
  url: K,
9246
9376
  params: {
9247
9377
  ids: (ae = (ne = a.selectedRows.value) == null ? void 0 : ne.map((se) => {
@@ -9259,8 +9389,8 @@ const getProps$p = () => ({
9259
9389
  }
9260
9390
  }
9261
9391
  function ce(K) {
9262
- var Y, Z;
9263
- const W = (Z = (Y = i == null ? void 0 : i.KgSubmit) == null ? void 0 : Y["KgForm.Item"]) == null ? void 0 : Z[K.var_nam];
9392
+ var Q, Z;
9393
+ const W = (Z = (Q = i == null ? void 0 : i.KgSubmit) == null ? void 0 : Q["KgForm.Item"]) == null ? void 0 : Z[K.var_nam];
9264
9394
  return isFunction$2(W) ? createVNode(KgForm.Item, {
9265
9395
  kgVarName: K.var_nam,
9266
9396
  kgContext: KG_FORM_CONTEXT.SUBMIT,
@@ -9290,15 +9420,15 @@ const getProps$p = () => ({
9290
9420
  }, null);
9291
9421
  }
9292
9422
  function ge() {
9293
- var Y, Z, ne, ae, oe;
9423
+ var Q, Z, ne, ae, oe;
9294
9424
  let K, W;
9295
9425
  return createVNode(KgResizable, {
9296
- kgType: ((Y = y.value) == null ? void 0 : Y.display_type) === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL ? "right" : "left",
9426
+ kgType: ((Q = y.value) == null ? void 0 : Q.display_type) === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL ? "right" : "left",
9297
9427
  kgMinWidth: (ne = (Z = y.value) == null ? void 0 : Z.min_width) != null ? ne : DEFAULT_MIN_WIDTH,
9298
9428
  kgMaxWidth: (oe = (ae = y.value) == null ? void 0 : ae.max_width) != null ? oe : DEFAULT_MAX_WIDTH,
9299
- kgDisabled: R.value,
9300
- kgWidth: p.value ? 398 : O.value.kgWidth,
9301
- "onUpdate:kgWidth": (re) => O.value.kgWidth = re
9429
+ kgDisabled: L.value,
9430
+ kgWidth: p.value ? 398 : M.value.kgWidth,
9431
+ "onUpdate:kgWidth": (re) => M.value.kgWidth = re
9302
9432
  }, {
9303
9433
  default: () => [createVNode(Spin, {
9304
9434
  spinning: C.value
@@ -9306,21 +9436,21 @@ const getProps$p = () => ({
9306
9436
  default: () => {
9307
9437
  var re, se;
9308
9438
  return [createVNode(KgForm, {
9309
- ref: F,
9439
+ ref: N,
9310
9440
  model: o.model.value,
9311
9441
  layout: (se = (re = y.value) == null ? void 0 : re.layout) != null ? se : "vertical",
9312
- labelCol: x.value,
9442
+ labelCol: R.value,
9313
9443
  wrapperCol: X.value
9314
9444
  }, {
9315
9445
  default: () => [createVNode("div", {
9316
9446
  ref: P
9317
9447
  }, [A.value.length > 0 && createVNode(Row, {
9318
- gutter: 6
9448
+ gutter: 12
9319
9449
  }, _isSlot$7(K = A.value.map(ce)) ? K : {
9320
9450
  default: () => [K]
9321
- }), A.value.length > 0 && N.value.length > 0 && createVNode(Divider, null, null), N.value.length > 0 && createVNode(Row, {
9322
- gutter: 6
9323
- }, _isSlot$7(W = N.value.map(ce)) ? W : {
9451
+ }), A.value.length > 0 && U.value.length > 0 && createVNode(Divider, null, null), U.value.length > 0 && createVNode(Row, {
9452
+ gutter: 12
9453
+ }, _isSlot$7(W = U.value.map(ce)) ? W : {
9324
9454
  default: () => [W]
9325
9455
  }), p.value && createVNode("div", {
9326
9456
  style: "text-align: center; padding: 6px 0 12px;"
@@ -9341,8 +9471,8 @@ const getProps$p = () => ({
9341
9471
  default: () => [K]
9342
9472
  }), createVNode(Button, {
9343
9473
  type: "primary",
9344
- disabled: M.value,
9345
- loading: L.value,
9474
+ disabled: O.value,
9475
+ loading: $.value,
9346
9476
  danger: !!g.value,
9347
9477
  onClick: te
9348
9478
  }, _isSlot$7(W = r.t(g.value ? "kg.delete" : "kg.save")) ? W : {
@@ -9351,13 +9481,13 @@ const getProps$p = () => ({
9351
9481
  }
9352
9482
  function me() {
9353
9483
  return createVNode("div", {
9354
- title: U.title.value
9355
- }, [U.title.value]);
9484
+ title: B.title.value
9485
+ }, [B.title.value]);
9356
9486
  }
9357
9487
  function he() {
9358
9488
  return createVNode(KgSubmitHeader, {
9359
- isFullscreen: $.isFullscreen,
9360
- "onUpdate:isFullscreen": (K) => $.isFullscreen = K,
9489
+ isFullscreen: V.isFullscreen,
9490
+ "onUpdate:isFullscreen": (K) => V.isFullscreen = K,
9361
9491
  kgShowFullscreenButton: !p.value,
9362
9492
  kgShowConfigButton: !p.value && e.kgShowConfigButton,
9363
9493
  onKgCancel: z
@@ -9366,13 +9496,13 @@ const getProps$p = () => ({
9366
9496
  return onUnmounted(() => {
9367
9497
  o.store.dispose(n.formID);
9368
9498
  }), () => createVNode(Drawer, {
9369
- visible: H.value,
9499
+ visible: Y.value,
9370
9500
  placement: "right",
9371
9501
  closable: !1,
9372
9502
  maskClosable: !1,
9373
9503
  keyboard: !1,
9374
9504
  destroyOnClose: !0,
9375
- width: Q.value,
9505
+ width: H.value,
9376
9506
  class: J.value,
9377
9507
  "kg-frm-id": n.formID
9378
9508
  }, {
@@ -9598,8 +9728,8 @@ const getProps$l = () => ({
9598
9728
  }) => {
9599
9729
  const u = n == null ? void 0 : n.store.getVarGridConfig(n.formID);
9600
9730
  return s = watch(l, (c) => {
9601
- var g, p, _, b, m, v, C, y, E, k, V;
9602
- c && (c.id = (g = u == null ? void 0 : u.id) != null ? g : null, c.frm_id = n == null ? void 0 : n.formID, c.aut_load_flg = (p = u == null ? void 0 : u.aut_load_flg) != null ? p : 0, c.mult_flg = (_ = u == null ? void 0 : u.mult_flg) != null ? _ : 0, c.show_check_column_flg = (b = u == null ? void 0 : u.show_check_column_flg) != null ? b : 0, c.show_bottom_left_flg = (m = u == null ? void 0 : u.show_bottom_left_flg) != null ? m : 1, c.show_bottom_right_flg = (v = u == null ? void 0 : u.show_bottom_right_flg) != null ? v : 1, c.convert_sort_field_to_under_score_flg = (C = u == null ? void 0 : u.convert_sort_field_to_under_score_flg) != null ? C : 0, c.pg_size_opts = (y = u == null ? void 0 : u.pg_size_opts) != null ? y : "[10, 20, 50, 100]", c.pg_size_opt = (E = u == null ? void 0 : u.pg_size_opt) != null ? E : 10, c.cmd_prm = (k = u == null ? void 0 : u.cmd_prm) != null ? k : void 0, c.button_display_type = (V = u == null ? void 0 : u.button_display_type) != null ? V : KG_BUTTON_DISPLAY_TYPE.DEFAULT);
9731
+ var g, p, _, b, m, v, C, y, E, k, D;
9732
+ c && (c.id = (g = u == null ? void 0 : u.id) != null ? g : null, c.frm_id = n == null ? void 0 : n.formID, c.aut_load_flg = (p = u == null ? void 0 : u.aut_load_flg) != null ? p : 0, c.mult_flg = (_ = u == null ? void 0 : u.mult_flg) != null ? _ : 0, c.show_check_column_flg = (b = u == null ? void 0 : u.show_check_column_flg) != null ? b : 0, c.show_bottom_left_flg = (m = u == null ? void 0 : u.show_bottom_left_flg) != null ? m : 1, c.show_bottom_right_flg = (v = u == null ? void 0 : u.show_bottom_right_flg) != null ? v : 1, c.convert_sort_field_to_under_score_flg = (C = u == null ? void 0 : u.convert_sort_field_to_under_score_flg) != null ? C : 0, c.pg_size_opts = (y = u == null ? void 0 : u.pg_size_opts) != null ? y : "[10, 20, 50, 100]", c.pg_size_opt = (E = u == null ? void 0 : u.pg_size_opt) != null ? E : 10, c.cmd_prm = (k = u == null ? void 0 : u.cmd_prm) != null ? k : void 0, c.button_display_type = (D = u == null ? void 0 : u.button_display_type) != null ? D : KG_BUTTON_DISPLAY_TYPE.DEFAULT);
9603
9733
  }, {
9604
9734
  immediate: !0
9605
9735
  }), !1;
@@ -9707,8 +9837,7 @@ const getProps$l = () => ({
9707
9837
  }, null)]
9708
9838
  }), createVNode(Tabs.TabPane, {
9709
9839
  key: "2",
9710
- tab: r.t("kg.KgTableSettingConfigModal.VarGridConfig"),
9711
- forceRender: !0
9840
+ tab: r.t("kg.KgTableSettingConfigModal.VarGridConfig")
9712
9841
  }, {
9713
9842
  default: () => [n.value === "2" && createVNode(KgTableSettingConfigModalVarGridConfig, {
9714
9843
  hostFormID: e.hostFormID,
@@ -9758,19 +9887,23 @@ function _useServices() {
9758
9887
  filterVarGridDetailByKey: t
9759
9888
  };
9760
9889
  }
9761
- const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save", KgTableSettingSaveGridMaster = defineComponent({
9762
- name: "KgTableSettingSaveGridMaster",
9890
+ const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save", KgTableSettingVarGridMasterSaveAs = defineComponent({
9891
+ name: "KgTableSettingVarGridMasterSaveAs",
9763
9892
  setup: function(e, {
9764
9893
  slots: t,
9765
9894
  emit: r
9766
9895
  }) {
9767
9896
  const n = inject(KG_DI_FORM_ID, null), a = useKgVar(n);
9768
- return useKgVar(FORM_ID__VAR_GRID_MASTER__SAVE, !0, a.store.getFormLevel(a.formID) + 1), useKgSubmit(FORM_ID__VAR_GRID_MASTER__SAVE).onOpen(async ({
9897
+ useKgVar(FORM_ID__VAR_GRID_MASTER__SAVE, !0, a.store.getFormLevel(a.formID) + 1);
9898
+ const o = useKgSubmit(FORM_ID__VAR_GRID_MASTER__SAVE);
9899
+ return o.onOpen(async ({
9769
9900
  model: s
9770
9901
  }) => {
9771
- var i, l;
9772
- return s.value.grd_var_nam = (l = (i = a.currentVarGridMaster.value) == null ? void 0 : i.grd_var_nam) != null ? l : "", !1;
9773
- }), () => createVNode(KgSubmit, null, null);
9902
+ var i, l, u, c, g, p, _, b, m, v;
9903
+ return s.value.grd_var_nam = `${(l = (i = a.currentVarGridMaster.value) == null ? void 0 : i.grd_var_nam) != null ? l : ""}_COPY`, s.value.frm_id = (c = (u = a.currentVarGridMaster.value) == null ? void 0 : u.frm_id) != null ? c : "", s.value.usr_id = (p = (g = a.currentVarGridMaster.value) == null ? void 0 : g.usr_id) != null ? p : "", s.value.grp_nam = (b = (_ = a.currentVarGridMaster.value) == null ? void 0 : _.grp_nam) != null ? b : "", s.value.varGridDetails = (v = (m = a.currentVarGridMaster.value) == null ? void 0 : m.varGridDetails) != null ? v : [], !1;
9904
+ }), o.onBeforeOk(async ({
9905
+ model: s
9906
+ }) => (s.value, !1)), o.onOk(async () => (a.store.retrieve(a.formID), !1)), () => createVNode(KgSubmit, null, null);
9774
9907
  }
9775
9908
  });
9776
9909
  function _isSlot$5(e) {
@@ -9796,17 +9929,25 @@ const getProps$g = () => ({}), KgTableSetting = defineComponent({
9796
9929
  function g(C) {
9797
9930
  C.includes("1") || (i.value = "");
9798
9931
  }
9799
- function p() {
9932
+ async function p() {
9800
9933
  var C;
9801
- ((C = a.currentVarGridMaster.value) == null ? void 0 : C.cust_lvl) === KG_CUSTOM_LEVEL.L0 && KgUtil.confirm({
9802
- content: n.t("kg.KgTable.canNotUpdateSystemVarGridMaster"),
9803
- okButtonProps: {
9804
- danger: !1
9805
- },
9806
- onOk: async () => {
9807
- u.value = !0, await nextTick(), a.store.setIsCopying(FORM_ID__VAR_GRID_MASTER__SAVE, !0);
9808
- }
9809
- });
9934
+ if (((C = a.currentVarGridMaster.value) == null ? void 0 : C.cust_lvl) === KG_CUSTOM_LEVEL.L0) {
9935
+ KgUtil.confirm({
9936
+ content: n.t("kg.KgTable.canNotUpdateSystemVarGridMaster"),
9937
+ okButtonProps: {
9938
+ danger: !1
9939
+ },
9940
+ onOk: async () => {
9941
+ u.value = !0, await nextTick(), a.store.setIsCopying(FORM_ID__VAR_GRID_MASTER__SAVE, !0);
9942
+ }
9943
+ });
9944
+ return;
9945
+ }
9946
+ await Update({
9947
+ data: new UpdateVarGridMasterQuery({
9948
+ ...a.currentVarGridMaster.value
9949
+ })
9950
+ }), message.success(n.t("kg.updateSuccess"));
9810
9951
  }
9811
9952
  async function _() {
9812
9953
  u.value = !0, await nextTick(), a.store.setIsCopying(FORM_ID__VAR_GRID_MASTER__SAVE, !0);
@@ -9827,7 +9968,7 @@ const getProps$g = () => ({}), KgTableSetting = defineComponent({
9827
9968
  allowClear: !0
9828
9969
  }, null), createVNode("ul", {
9829
9970
  class: "ant-dropdown-menu ant-dropdown-menu-vertical"
9830
- }, [(C = a.systemVarGridDetails.value) == null ? void 0 : C.map((y) => createVNode("li", {
9971
+ }, [(C = a.currentVarGridDetails.value) == null ? void 0 : C.map((y) => createVNode("li", {
9831
9972
  class: "ant-dropdown-menu-item ant-dropdown-menu-item-only-child",
9832
9973
  onClick: (E) => {
9833
9974
  E.preventDefault(), E.stopPropagation(), c(y);
@@ -9860,11 +10001,12 @@ const getProps$g = () => ({}), KgTableSetting = defineComponent({
9860
10001
  var E;
9861
10002
  let C, y;
9862
10003
  return createVNode(Fragment, null, [(E = a.varGridMasters.value) == null ? void 0 : E.map((k) => {
9863
- var V;
10004
+ var D;
9864
10005
  return createVNode(Menu.Item, {
9865
10006
  key: k.id,
9866
- class: k.id === ((V = a.currentVarGridMaster.value) == null ? void 0 : V.id) ? "selected" : "",
9867
- "kg-var-nam": k.grd_var_nam
10007
+ class: k.id === ((D = a.currentVarGridMaster.value) == null ? void 0 : D.id) ? "selected" : "",
10008
+ "kg-var-nam": k.grd_var_nam,
10009
+ onClick: () => a.store.setCurrentVarGridMasterID(a.formID, k.id)
9868
10010
  }, {
9869
10011
  default: () => [a.t(k.grd_var_nam).value]
9870
10012
  });
@@ -9911,7 +10053,7 @@ const getProps$g = () => ({}), KgTableSetting = defineComponent({
9911
10053
  visible: l.visible,
9912
10054
  "onUpdate:visible": (C) => l.visible = C,
9913
10055
  hostFormID: a.formID
9914
- }, null), u.value && createVNode(KgTableSettingSaveGridMaster, null, null)]);
10056
+ }, null), u.value && createVNode(KgTableSettingVarGridMasterSaveAs, null, null)]);
9915
10057
  }
9916
10058
  });
9917
10059
  let store$4 = null;
@@ -10124,7 +10266,7 @@ function _useColumns() {
10124
10266
  function _useLoading() {
10125
10267
  const e = useKgVar(), t = useKgTable();
10126
10268
  return {
10127
- isLoading: computed(() => !!(t.isRetrieving.value || e.isRetrievingVar.value))
10269
+ isLoading: computed(() => !!(t.isRetrieving.value || e.isRetrievingVar.value || e.isRetrievingVarGridMaster.value))
10128
10270
  };
10129
10271
  }
10130
10272
  function _useResizeObserver(e) {
@@ -10149,10 +10291,10 @@ const KgTable$1 = "", KgTable = defineComponent({
10149
10291
  emit: r
10150
10292
  }) {
10151
10293
  const n = useKg(), a = useKgVar(), o = useKgSearch(), s = useKgButton(), i = useKgTable();
10152
- o.onSearch(($) => {
10153
- M($);
10294
+ o.onSearch((V) => {
10295
+ O(V);
10154
10296
  }), o.onReset(() => {
10155
- M(!0);
10297
+ O(!0);
10156
10298
  });
10157
10299
  const l = ref(!1), {
10158
10300
  columns: u,
@@ -10162,97 +10304,97 @@ const KgTable$1 = "", KgTable = defineComponent({
10162
10304
  } = _useLoading(), p = ref(null);
10163
10305
  _useResizeObserver(p);
10164
10306
  const _ = computed(() => a.store.getVarButtonSearch(a.formID)), b = computed(() => {
10165
- var $;
10166
- return (($ = a.varGridConfig.value) == null ? void 0 : $.mult_flg) === 1;
10307
+ var V;
10308
+ return ((V = a.varGridConfig.value) == null ? void 0 : V.mult_flg) === 1;
10167
10309
  }), m = computed(() => {
10168
- var $;
10169
- return (($ = a.varGridConfig.value) == null ? void 0 : $.aut_load_flg) === 1;
10310
+ var V;
10311
+ return ((V = a.varGridConfig.value) == null ? void 0 : V.aut_load_flg) === 1;
10170
10312
  }), v = computed(() => {
10171
- var $;
10172
- return (($ = a.varGridConfig.value) == null ? void 0 : $.show_bottom_left_flg) !== 0;
10313
+ var V;
10314
+ return ((V = a.varGridConfig.value) == null ? void 0 : V.show_bottom_left_flg) !== 0;
10173
10315
  }), C = computed(() => {
10174
- var $;
10175
- return (($ = a.varGridConfig.value) == null ? void 0 : $.show_bottom_right_flg) !== 0;
10316
+ var V;
10317
+ return ((V = a.varGridConfig.value) == null ? void 0 : V.show_bottom_right_flg) !== 0;
10176
10318
  }), y = computed(() => {
10177
- var $, x;
10178
- return JSON.parse((x = ($ = a.varGridConfig.value) == null ? void 0 : $.pg_size_opts) != null ? x : "[]");
10319
+ var V, R;
10320
+ return JSON.parse((R = (V = a.varGridConfig.value) == null ? void 0 : V.pg_size_opts) != null ? R : "[]");
10179
10321
  }), E = computed(() => {
10180
- var $;
10181
- return ($ = a.varGridConfig.value) == null ? void 0 : $.pg_size_opt;
10322
+ var V;
10323
+ return (V = a.varGridConfig.value) == null ? void 0 : V.pg_size_opt;
10182
10324
  }), k = computed(() => {
10183
- var $, x;
10184
- return (x = ($ = _.value) == null ? void 0 : $.cmd) != null ? x : null;
10185
- }), V = computed(() => {
10186
- var x, X, q, ee, z, te, ie;
10187
- let $ = {
10325
+ var V, R;
10326
+ return (R = (V = _.value) == null ? void 0 : V.cmd) != null ? R : null;
10327
+ }), D = computed(() => {
10328
+ var R, X, q, ee, z, te, ie;
10329
+ let V = {
10188
10330
  pageNo: A.pageIndex,
10189
10331
  pageSize: A.pageSize,
10190
- ...N,
10191
- ...(X = (x = o.model) == null ? void 0 : x.value) != null ? X : {}
10332
+ ...U,
10333
+ ...(X = (R = o.model) == null ? void 0 : R.value) != null ? X : {}
10192
10334
  };
10193
- return _.value && ($ = {
10194
- ...$,
10335
+ return _.value && (V = {
10336
+ ...V,
10195
10337
  ...KgVarUtil.parseCommandParameter((ee = (q = _.value) == null ? void 0 : q.cmd_prm) != null ? ee : "")
10196
- }), (z = a.varGridConfig.value) != null && z.cmd_prm && ($ = {
10197
- ...$,
10338
+ }), (z = a.varGridConfig.value) != null && z.cmd_prm && (V = {
10339
+ ...V,
10198
10340
  ...KgVarUtil.parseCommandParameter((te = a.varGridConfig.value.cmd_prm) != null ? te : "")
10199
- }), ((ie = a.varGridConfig.value) == null ? void 0 : ie.convert_sort_field_to_under_score_flg) === 1 && $.column && ($.column = snakeCase$1($.column)), $;
10341
+ }), ((ie = a.varGridConfig.value) == null ? void 0 : ie.convert_sort_field_to_under_score_flg) === 1 && V.column && (V.column = snakeCase$1(V.column)), V;
10200
10342
  }), T = computed(() => {
10201
- var $;
10202
- if ((($ = a.varGridConfig.value) == null ? void 0 : $.show_check_column_flg) === 1)
10343
+ var V;
10344
+ if (((V = a.varGridConfig.value) == null ? void 0 : V.show_check_column_flg) === 1)
10203
10345
  return {
10204
10346
  fixed: "left",
10205
10347
  columnWidth: KG_TABLE_TD_CHECK_WIDTH,
10206
10348
  hideSelectAll: !b.value,
10207
10349
  selectedRowKeys: I,
10208
10350
  preserveSelectedRowKeys: !1,
10209
- onSelect: (x) => R(x),
10210
- onChange: (x) => b.value && O(x)
10351
+ onSelect: (R) => L(R),
10352
+ onChange: (R) => b.value && M(R)
10211
10353
  };
10212
- }), B = computed(() => {
10213
- let $ = "kg-table";
10214
- return !v.value && !C.value && ($ += " kg-table--no-bottom"), $;
10215
- }), D = ref([]), I = ref([]), A = reactive({
10354
+ }), x = computed(() => {
10355
+ let V = "kg-table";
10356
+ return !v.value && !C.value && (V += " kg-table--no-bottom"), V;
10357
+ }), F = ref([]), I = ref([]), A = reactive({
10216
10358
  pageIndex: 1,
10217
10359
  pageSize: 10,
10218
10360
  total: 0
10219
- }), N = reactive({
10361
+ }), U = reactive({
10220
10362
  column: void 0,
10221
10363
  order: void 0
10222
- }), L = watch(E, ($) => {
10223
- $ && (setTimeout(() => L()), A.pageSize = $), l.value = !0;
10364
+ }), $ = watch(E, (V) => {
10365
+ V && (setTimeout(() => $()), A.pageSize = V), l.value = !0;
10224
10366
  });
10225
- watch(y, ($) => {
10226
- $.length > 0 && !$.includes(A.pageSize) && (A.pageSize = E.value);
10227
- }), watch([k, m, () => o.isReady], ([$, x, X]) => {
10228
- $ && x && X && !i.store.getIsRetrieved(a.formID) && M(!0);
10367
+ watch(y, (V) => {
10368
+ V.length > 0 && !V.includes(A.pageSize) && (A.pageSize = E.value);
10369
+ }), watch([k, m, () => o.isReady], ([V, R, X]) => {
10370
+ V && R && X && !i.store.getIsRetrieved(a.formID) && O(!0);
10229
10371
  }, {
10230
10372
  immediate: !0
10231
10373
  }), onUnmounted(() => {
10232
10374
  i.store.dispose(a.formID);
10233
10375
  });
10234
- function w($, x) {
10376
+ function w(V, R) {
10235
10377
  if (!!T.value) {
10236
- if (!x) {
10378
+ if (!R) {
10237
10379
  I.value = [], i.store.setSelectedRows(a.formID, []);
10238
10380
  return;
10239
10381
  }
10240
- switch ($ == null ? void 0 : $.detail) {
10382
+ switch (V == null ? void 0 : V.detail) {
10241
10383
  case 1:
10242
- I.value = [x.id], i.store.setSelectedRows(a.formID, I.value.map((X) => {
10384
+ I.value = [R.id], i.store.setSelectedRows(a.formID, I.value.map((X) => {
10243
10385
  var q;
10244
- return (q = D.value) == null ? void 0 : q.find((ee) => ee.id === X);
10386
+ return (q = F.value) == null ? void 0 : q.find((ee) => ee.id === X);
10245
10387
  }).filter((X) => !!X));
10246
10388
  break;
10247
10389
  case 2:
10248
- i.store.emit(a.formID, "rowDoubleClick", x);
10390
+ i.store.emit(a.formID, "rowDoubleClick", R);
10249
10391
  break;
10250
10392
  }
10251
10393
  }
10252
10394
  }
10253
- function M($ = !1) {
10254
- const x = watch(l, (q) => {
10255
- q && (setTimeout(() => x()), X());
10395
+ function O(V = !1) {
10396
+ const R = watch(l, (q) => {
10397
+ q && (setTimeout(() => R()), X());
10256
10398
  }, {
10257
10399
  immediate: !0
10258
10400
  });
@@ -10264,14 +10406,14 @@ const KgTable$1 = "", KgTable = defineComponent({
10264
10406
  });
10265
10407
  return;
10266
10408
  }
10267
- $ && (A.pageIndex = 1), i.store.setIsRetrieving(a.formID, !0);
10409
+ V && (A.pageIndex = 1), i.store.setIsRetrieving(a.formID, !0);
10268
10410
  try {
10269
10411
  const z = await httpClient().request({
10270
10412
  method: "GET",
10271
10413
  url: k.value,
10272
- params: V.value
10414
+ params: D.value
10273
10415
  });
10274
- z ? isArrayLike(z) ? (D.value = z, A.total = z.length) : "total" in z && "records" in z && (D.value = (q = z.records) != null ? q : [], A.total = (ee = z.total) != null ? ee : 0) : (D.value = [], A.total = 0), i.store.emit(a.formID, "retrieve", z), w(), await nextTick(), i.store.setIsRetrieved(a.formID, !0);
10416
+ z ? isArrayLike(z) ? (F.value = z, A.total = z.length) : "total" in z && "records" in z && (F.value = (q = z.records) != null ? q : [], A.total = (ee = z.total) != null ? ee : 0) : (F.value = [], A.total = 0), i.store.emit(a.formID, "retrieve", z), w(), await nextTick(), i.store.setIsRetrieved(a.formID, !0);
10275
10417
  } catch (z) {
10276
10418
  throw z;
10277
10419
  } finally {
@@ -10279,95 +10421,95 @@ const KgTable$1 = "", KgTable = defineComponent({
10279
10421
  }
10280
10422
  }
10281
10423
  }
10282
- function O($) {
10283
- I.value = $, i.store.setSelectedRows(a.formID, I.value.map((x) => {
10424
+ function M(V) {
10425
+ I.value = V, i.store.setSelectedRows(a.formID, I.value.map((R) => {
10284
10426
  var X;
10285
- return (X = D.value) == null ? void 0 : X.find((q) => q.id === x);
10286
- }).filter((x) => !!x));
10427
+ return (X = F.value) == null ? void 0 : X.find((q) => q.id === R);
10428
+ }).filter((R) => !!R));
10287
10429
  }
10288
- function R($) {
10289
- var x, X;
10430
+ function L(V) {
10431
+ var R, X;
10290
10432
  switch (b.value) {
10291
10433
  case !0:
10292
10434
  {
10293
- const q = $.id;
10294
- I.value.includes(q) ? I.value = without$1(I.value, q) : I.value = [...(x = I.value) != null ? x : [], q];
10435
+ const q = V.id;
10436
+ I.value.includes(q) ? I.value = without$1(I.value, q) : I.value = [...(R = I.value) != null ? R : [], q];
10295
10437
  }
10296
10438
  break;
10297
10439
  case !1:
10298
10440
  {
10299
- const q = $.id;
10441
+ const q = V.id;
10300
10442
  (X = I.value) != null && X.includes(q) ? I.value = [] : I.value = [q];
10301
10443
  }
10302
10444
  break;
10303
10445
  }
10304
10446
  i.store.setSelectedRows(a.formID, I.value.map((q) => {
10305
10447
  var ee;
10306
- return (ee = D.value) == null ? void 0 : ee.find((z) => z.id === q);
10448
+ return (ee = F.value) == null ? void 0 : ee.find((z) => z.id === q);
10307
10449
  }).filter((q) => !!q));
10308
10450
  }
10309
- function F($, x) {
10310
- x.width = $, a.store.setVarGridDetailWidth(a.formID, x.dataIndex, $);
10451
+ function N(V, R) {
10452
+ R.width = V, a.store.setVarGridDetailWidth(a.formID, R.dataIndex, V);
10311
10453
  }
10312
- async function G($, x, X, q) {
10454
+ async function G(V, R, X, q) {
10313
10455
  var ee;
10314
10456
  switch (q.action) {
10315
10457
  case "sort":
10316
10458
  {
10317
10459
  await nextTick();
10318
10460
  let z = X;
10319
- z.order ? (N.column = (ee = z.field) != null ? ee : void 0, N.order = z.order === "ascend" ? "asc" : z.order === "descend" ? "desc" : void 0) : (N.column = void 0, N.order = void 0), M(!0);
10461
+ z.order ? (U.column = (ee = z.field) != null ? ee : void 0, U.order = z.order === "ascend" ? "asc" : z.order === "descend" ? "desc" : void 0) : (U.column = void 0, U.order = void 0), O(!0);
10320
10462
  }
10321
10463
  break;
10322
10464
  }
10323
10465
  }
10324
- function P($, x) {
10325
- x !== A.pageSize ? (A.pageIndex = 1, A.pageSize = x) : A.pageIndex = $, M();
10466
+ function P(V, R) {
10467
+ R !== A.pageSize ? (A.pageIndex = 1, A.pageSize = R) : A.pageIndex = V, O();
10326
10468
  }
10327
- function U($) {
10328
- I.value = [$.id], i.store.setSelectedRows(a.formID, I.value.map((x) => {
10469
+ function B(V) {
10470
+ I.value = [V.id], i.store.setSelectedRows(a.formID, I.value.map((R) => {
10329
10471
  var X;
10330
- return (X = D.value) == null ? void 0 : X.find((q) => q.id === x);
10331
- }).filter((x) => !!x)), s.click(a.formID, KG_BUTTON_TYPE.UPDATE);
10472
+ return (X = F.value) == null ? void 0 : X.find((q) => q.id === R);
10473
+ }).filter((R) => !!R)), s.click(a.formID, KG_BUTTON_TYPE.UPDATE);
10332
10474
  }
10333
10475
  function H({
10334
- title: $,
10335
- column: x
10476
+ title: V,
10477
+ column: R
10336
10478
  }) {
10337
- switch (x.dataIndex) {
10479
+ switch (R.dataIndex) {
10338
10480
  case "index":
10339
10481
  return createVNode(KgTableSetting, null, null);
10340
10482
  default:
10341
- return createVNode("pre", null, [$]);
10483
+ return createVNode("pre", null, [V]);
10342
10484
  }
10343
10485
  }
10344
- function Q({
10345
- column: $,
10346
- index: x,
10486
+ function Y({
10487
+ column: V,
10488
+ index: R,
10347
10489
  record: X,
10348
10490
  value: q,
10349
10491
  text: ee
10350
10492
  }) {
10351
10493
  let z = "";
10352
- $.customRender ? z = $.customRender({
10353
- index: x,
10494
+ V.customRender ? z = V.customRender({
10495
+ index: R,
10354
10496
  record: X,
10355
- column: $,
10497
+ column: V,
10356
10498
  text: ee,
10357
10499
  value: q,
10358
- renderIndex: x
10500
+ renderIndex: R
10359
10501
  }) : z = q;
10360
10502
  const te = createVNode(KgTableCell, {
10361
10503
  kgRow: X,
10362
10504
  kgValue: z,
10363
- kgVarName: $.dataIndex,
10364
- onKgUpdateLinkClick: () => U(X)
10505
+ kgVarName: V.dataIndex,
10506
+ onKgUpdateLinkClick: () => B(X)
10365
10507
  }, null);
10366
10508
  return t.bodyCell ? t.bodyCell({
10367
10509
  value: q,
10368
10510
  record: X,
10369
- index: x,
10370
- column: $,
10511
+ index: R,
10512
+ column: V,
10371
10513
  defaultRender: te
10372
10514
  }) : te;
10373
10515
  }
@@ -10375,7 +10517,7 @@ const KgTable$1 = "", KgTable = defineComponent({
10375
10517
  return !m.value && !i.store.getIsRetrieved(a.formID) ? n.t("kg.KgTable.emptyText") : n.t("kg.emptyText");
10376
10518
  }
10377
10519
  return () => createVNode("div", {
10378
- class: B.value,
10520
+ class: x.value,
10379
10521
  "kg-frm-id": a.formID,
10380
10522
  ref: p
10381
10523
  }, [createVNode(Table, {
@@ -10388,18 +10530,18 @@ const KgTable$1 = "", KgTable = defineComponent({
10388
10530
  pagination: !1,
10389
10531
  showSorterTooltip: !1,
10390
10532
  columns: u.value,
10391
- dataSource: D.value,
10533
+ dataSource: F.value,
10392
10534
  loading: g.value,
10393
10535
  rowKey: "id",
10394
10536
  rowSelection: T.value,
10395
- customRow: ($) => ({
10396
- onClick: (x) => w(x, $)
10537
+ customRow: (V) => ({
10538
+ onClick: (R) => w(R, V)
10397
10539
  }),
10398
- onResizeColumn: F,
10540
+ onResizeColumn: N,
10399
10541
  onChange: G
10400
10542
  }, {
10401
10543
  headerCell: H,
10402
- bodyCell: Q,
10544
+ bodyCell: Y,
10403
10545
  emptyText: J
10404
10546
  }), (v.value || C.value) && createVNode("div", {
10405
10547
  class: "kg-table-bottom"
@@ -10417,7 +10559,7 @@ const KgTable$1 = "", KgTable = defineComponent({
10417
10559
  size: "default",
10418
10560
  current: A.pageIndex,
10419
10561
  pageSize: A.pageSize,
10420
- pageSizeOptions: y.value.map(($) => String($)),
10562
+ pageSizeOptions: y.value.map((V) => String(V)),
10421
10563
  total: A.total,
10422
10564
  showSizeChanger: !0,
10423
10565
  showQuickJumper: !1,
@@ -10426,12 +10568,12 @@ const KgTable$1 = "", KgTable = defineComponent({
10426
10568
  locale: {
10427
10569
  page: ""
10428
10570
  },
10429
- showTotal: ($, x) => n.t("kg.KgTable.totalText", {
10430
- from: x[0],
10431
- to: x[1],
10432
- total: $
10571
+ showTotal: (V, R) => n.t("kg.KgTable.totalText", {
10572
+ from: R[0],
10573
+ to: R[1],
10574
+ total: V
10433
10575
  }),
10434
- onChange: ($, x) => P($, x)
10576
+ onChange: (V, R) => P(V, R)
10435
10577
  }, null)])])]);
10436
10578
  }
10437
10579
  }), getProps$f = () => ({
@@ -10768,8 +10910,8 @@ const KgTable$1 = "", KgTable = defineComponent({
10768
10910
  params: KgVarUtil.parseCommandParameter((E = (y = e.kgButton) == null ? void 0 : y.cmd_prm) != null ? E : ""),
10769
10911
  data: _ ? b != null ? b : [] : (k = b == null ? void 0 : b[0]) != null ? k : {}
10770
10912
  });
10771
- } catch (V) {
10772
- console.error(V);
10913
+ } catch (D) {
10914
+ console.error(D);
10773
10915
  } finally {
10774
10916
  r.store.setIsOtherRequesting(r.formID, !1), l == null || l.hideLoading();
10775
10917
  }
@@ -10952,11 +11094,12 @@ const KgButtonUpdate = defineComponent({
10952
11094
  }) {
10953
11095
  const n = useKg(), a = useKgVar(), o = useKgTable(), s = useKgButton();
10954
11096
  s.store.$onAction(async ({
10955
- name: c
11097
+ name: c,
11098
+ args: g
10956
11099
  }) => {
10957
11100
  switch (c) {
10958
11101
  case "click":
10959
- await i();
11102
+ g[0] === a.formID && await i();
10960
11103
  break;
10961
11104
  }
10962
11105
  });
@@ -11540,7 +11683,7 @@ const leftVarProfileDetailColumns = (e) => {
11540
11683
  row: C,
11541
11684
  model: y
11542
11685
  }) => {
11543
- var k, V;
11686
+ var k, D, T;
11544
11687
  const E = i.store.getSystemVarProfileDetails(i.formID);
11545
11688
  switch (l.value = E ? cloneDeep(unref(toRaw(E))) : [], !0) {
11546
11689
  case b:
@@ -11551,24 +11694,24 @@ const leftVarProfileDetailColumns = (e) => {
11551
11694
  if (C != null && C.id)
11552
11695
  try {
11553
11696
  s.store.setIsLoading(n.formID, !0);
11554
- const T = await QueryByID({
11697
+ const x = await QueryByID({
11555
11698
  params: {
11556
11699
  id: C.id
11557
11700
  }
11558
11701
  });
11559
- l.value = l.value.map((D) => {
11560
- var A;
11561
- const I = (A = T == null ? void 0 : T.varProfileDetails) == null ? void 0 : A.find((N) => N.var_nam === D.var_nam);
11562
- return I ? {
11563
- ...D,
11702
+ l.value = l.value.map((I) => {
11703
+ var U;
11704
+ const A = (U = x == null ? void 0 : x.varProfileDetails) == null ? void 0 : U.find(($) => $.var_nam === I.var_nam);
11705
+ return A ? {
11564
11706
  ...I,
11565
- id: D.id
11566
- } : D;
11707
+ ...A,
11708
+ id: I.id
11709
+ } : I;
11567
11710
  });
11568
- const B = (V = (k = T == null ? void 0 : T.varProfileDetails) == null ? void 0 : k.map((D) => D.var_nam)) != null ? V : [];
11569
- u.value = l.value.filter((D) => B.includes(D.var_nam)).map((D) => D.id);
11570
- } catch (T) {
11571
- throw T;
11711
+ const F = (D = (k = x == null ? void 0 : x.varProfileDetails) == null ? void 0 : k.map((I) => I.var_nam)) != null ? D : [];
11712
+ u.value = l.value.filter((I) => F.includes(I.var_nam)).map((I) => I.id);
11713
+ } catch (x) {
11714
+ throw x;
11572
11715
  } finally {
11573
11716
  s.store.setIsLoading(n.formID, !1);
11574
11717
  }
@@ -11578,15 +11721,16 @@ const leftVarProfileDetailColumns = (e) => {
11578
11721
  }
11579
11722
  switch (!0) {
11580
11723
  case v:
11581
- y.value.prf_var_nam = y.value.prf_var_nam + "_COPY";
11724
+ y.value.prf_var_nam = ((T = y.value.prf_var_nam) != null ? T : "") + "_COPY";
11582
11725
  break;
11583
11726
  }
11584
11727
  return !1;
11585
11728
  }), s.onBeforeOk(async ({
11586
11729
  model: b
11587
11730
  }) => {
11588
- var m, v;
11589
- return b.value.frm_id = i.formID, b.value.varProfileDetails = (v = (m = l.value) == null ? void 0 : m.filter((C) => u.value.includes(C.id))) != null ? v : [], !1;
11731
+ var v, C;
11732
+ const m = b.value;
11733
+ return m.frm_id = i.formID, m.varProfileDetails = (C = (v = l.value) == null ? void 0 : v.filter((y) => u.value.includes(y.id))) != null ? C : [], !1;
11590
11734
  }), s.onOk(async () => (i.store.retrieve(i.formID), !1)), o.onBeforeUpdate(({
11591
11735
  row: b
11592
11736
  }) => (b == null ? void 0 : b.cust_lvl) === KG_CUSTOM_LEVEL.L0 ? new Promise((m) => {
@@ -11621,17 +11765,17 @@ const leftVarProfileDetailColumns = (e) => {
11621
11765
  showSearch: !0,
11622
11766
  showSelectAll: !1,
11623
11767
  searchPlaceholder: " ",
11624
- filterOption: (k, V) => {
11768
+ filterOption: (k, D) => {
11625
11769
  var T;
11626
- return !!((T = V.var_nam) != null && T.includes(k));
11770
+ return !!((T = D.var_nam) != null && T.includes(k));
11627
11771
  }
11628
11772
  }, {
11629
11773
  children: ({
11630
11774
  direction: k,
11631
- filteredItems: V,
11775
+ filteredItems: D,
11632
11776
  selectedKeys: T,
11633
- disabled: B,
11634
- onItemSelectAll: D,
11777
+ disabled: x,
11778
+ onItemSelectAll: F,
11635
11779
  onItemSelect: I
11636
11780
  }) => createVNode(Table, {
11637
11781
  pagination: !1,
@@ -11643,14 +11787,14 @@ const leftVarProfileDetailColumns = (e) => {
11643
11787
  },
11644
11788
  columns: k === "left" ? leftVarProfileDetailColumns(e.hostFormID) : rightVarProfileDetailColumns(e.hostFormID),
11645
11789
  rowKey: "id",
11646
- dataSource: V,
11790
+ dataSource: D,
11647
11791
  customRow: (A) => ({
11648
- onClick: (N) => _(N, A, k, T)
11792
+ onClick: (U) => _(U, A, k, T)
11649
11793
  }),
11650
11794
  rowSelection: g({
11651
- disabled: B,
11795
+ disabled: x,
11652
11796
  selectedKeys: T,
11653
- onItemSelectAll: D,
11797
+ onItemSelectAll: F,
11654
11798
  onItemSelect: I
11655
11799
  })
11656
11800
  }, null)
@@ -11671,9 +11815,9 @@ const leftVarProfileDetailColumns = (e) => {
11671
11815
  disabled: b || y.disabled
11672
11816
  }),
11673
11817
  onSelectAll(y, E) {
11674
- const k = E.filter((V) => !V.disabled).map(({
11675
- key: V
11676
- }) => V);
11818
+ const k = E.filter((D) => !D.disabled).map(({
11819
+ key: D
11820
+ }) => D);
11677
11821
  v(k, y);
11678
11822
  },
11679
11823
  onSelect({
@@ -11815,8 +11959,8 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
11815
11959
  var P;
11816
11960
  return o.value > 0 ? !1 : ((P = s.value) == null ? void 0 : P.header_teleport_flg) !== 0;
11817
11961
  }), l = computed(() => getDefaultHeight(r.currentVarProfileDetails.value, i.value)), u = computed(() => getMaxHeight(r.currentVarProfileDetails.value, i.value)), c = computed(() => i.value ? 1 : HEADER_HEIGHT), g = computed(() => {
11818
- var P, U;
11819
- return !!(a.isRetrieving.value || ((P = E.value) == null ? void 0 : P.permission_type) === 2 && !t.p((U = E.value) == null ? void 0 : U.permission_code));
11962
+ var P, B;
11963
+ return !!(a.isRetrieving.value || ((P = E.value) == null ? void 0 : P.permission_type) === 2 && !t.p((B = E.value) == null ? void 0 : B.permission_code));
11820
11964
  }), p = computed(() => !!a.isRetrieving.value), _ = computed(() => !!a.isRetrieving.value), b = ref(null), m = ref({
11821
11965
  kgHeight: c.value
11822
11966
  }), v = ref({
@@ -11824,10 +11968,10 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
11824
11968
  });
11825
11969
  let C;
11826
11970
  const y = computed(() => m.value.kgHeight === c.value), E = computed(() => r.store.getVarButtonSearch(r.formID)), k = computed(() => {
11827
- var P, U, H;
11828
- if (r.t((P = E.value) == null ? void 0 : P.var_nam).value !== ((U = E.value) == null ? void 0 : U.var_nam))
11971
+ var P, B, H;
11972
+ if (r.t((P = E.value) == null ? void 0 : P.var_nam).value !== ((B = E.value) == null ? void 0 : B.var_nam))
11829
11973
  return r.t((H = E.value) == null ? void 0 : H.var_nam).value;
11830
- }), V = computed(() => {
11974
+ }), D = computed(() => {
11831
11975
  var P;
11832
11976
  switch ((P = E.value) == null ? void 0 : P.primary_flg) {
11833
11977
  case 1:
@@ -11840,16 +11984,16 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
11840
11984
  }), T = computed(() => {
11841
11985
  var P;
11842
11986
  return ((P = s.value) == null ? void 0 : P.vis_flg) === 1;
11843
- }), B = computed(() => !!(r.isRetrievingVar.value || r.isRetrievingVarProfileMaster.value || i.value && !!r.isOtherRequesting.value)), D = computed(() => !!r.isRetrievingVar.value || !!r.isRetrievingVarProfileMaster.value), I = computed(() => {
11987
+ }), x = computed(() => !!(r.isRetrievingVar.value || r.isRetrievingVarProfileMaster.value || i.value && !!r.isOtherRequesting.value)), F = computed(() => !!r.isRetrievingVar.value || !!r.isRetrievingVarProfileMaster.value), I = computed(() => {
11844
11988
  let P = "kg-search";
11845
11989
  return T.value && (P += " kg-search--visible"), i.value && (P += " kg-search--teleport"), P;
11846
11990
  });
11847
11991
  watch(r.currentVarProfileDetails, (P) => {
11848
11992
  if (P) {
11849
- const U = {};
11993
+ const B = {};
11850
11994
  P.forEach((H) => {
11851
- U[H.var_nam] = "";
11852
- }), m.value.kgHeight = l.value, n.store.setModel(r.formID, reactive(U)), T.value ? (C == null || C(), C = watch(b, (H) => {
11995
+ B[H.var_nam] = "";
11996
+ }), m.value.kgHeight = l.value, n.store.setModel(r.formID, reactive(B)), T.value ? (C == null || C(), C = watch(b, (H) => {
11853
11997
  H && (n.store.emit(r.formID, "ready"), n.store.setIsReady(r.formID, !0));
11854
11998
  }, {
11855
11999
  immediate: !0
@@ -11865,27 +12009,27 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
11865
12009
  n.store.emit(r.formID, "search", {
11866
12010
  resetPageIndex: P
11867
12011
  });
11868
- }).catch((U) => {
12012
+ }).catch((B) => {
11869
12013
  Logger.debug("[KgSearch] \u8868\u5355\u9A8C\u8BC1\u5931\u8D25", {
11870
- e: U
12014
+ e: B
11871
12015
  });
11872
12016
  }) : n.store.emit(r.formID, "search", {
11873
12017
  resetPageIndex: P
11874
12018
  });
11875
12019
  }
11876
12020
  n.store.setSearchFn(r.formID, A);
11877
- function N() {
12021
+ function U() {
11878
12022
  var P;
11879
12023
  (P = b.value) == null || P.resetFields(), T.value ? b.value && b.value.validate().then(() => {
11880
12024
  n.store.emit(r.formID, "reset");
11881
- }).catch((U) => {
12025
+ }).catch((B) => {
11882
12026
  Logger.debug("[KgSearch] \u8868\u5355\u9A8C\u8BC1\u5931\u8D25", {
11883
- e: U
12027
+ e: B
11884
12028
  });
11885
12029
  }) : n.store.emit(r.formID, "reset");
11886
12030
  }
11887
- n.store.setResetFn(r.formID, N);
11888
- function L() {
12031
+ n.store.setResetFn(r.formID, U);
12032
+ function $() {
11889
12033
  return A(!0), Promise.resolve(!0);
11890
12034
  }
11891
12035
  function w() {
@@ -11894,21 +12038,21 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
11894
12038
  onClick: G
11895
12039
  }, [y.value ? createVNode(CaretUpOutlined$1, null, null) : createVNode(CaretDownOutlined$1, null, null), createVNode("span", null, [t.t("kg.KgSearch.title")])]);
11896
12040
  }
11897
- function M() {
11898
- var P, U, H, Q;
11899
- return ((H = (U = (P = r.varProfileMasters) == null ? void 0 : P.value) == null ? void 0 : U.length) != null ? H : 0) === 0 ? null : createVNode(Fragment, null, [createVNode(Select, {
11900
- value: (Q = r.currentVarProfileMasterID.value) != null ? Q : void 0,
12041
+ function O() {
12042
+ var P, B, H, Y;
12043
+ return ((H = (B = (P = r.varProfileMasters) == null ? void 0 : P.value) == null ? void 0 : B.length) != null ? H : 0) === 0 ? null : createVNode(Fragment, null, [createVNode(Select, {
12044
+ value: (Y = r.currentVarProfileMasterID.value) != null ? Y : void 0,
11901
12045
  "onUpdate:value": (J) => r.store.setCurrentVarProfileMasterID(r.formID, J),
11902
12046
  disabled: p.value,
11903
- onChange: F,
12047
+ onChange: N,
11904
12048
  class: "kg-search-profile-master-select"
11905
12049
  }, {
11906
12050
  default: () => {
11907
- var J, $;
11908
- return ($ = (J = r.varProfileMasters) == null ? void 0 : J.value) == null ? void 0 : $.map((x) => createVNode(Select.Option, {
11909
- value: x.id
12051
+ var J, V;
12052
+ return (V = (J = r.varProfileMasters) == null ? void 0 : J.value) == null ? void 0 : V.map((R) => createVNode(Select.Option, {
12053
+ value: R.id
11910
12054
  }, {
11911
- default: () => [r.t(x == null ? void 0 : x.prf_var_nam).value]
12055
+ default: () => [r.t(R == null ? void 0 : R.prf_var_nam).value]
11912
12056
  }));
11913
12057
  },
11914
12058
  suffixIcon: () => createVNode(CaretDownOutlined$1, null, null)
@@ -11926,30 +12070,30 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
11926
12070
  hostFormID: r.formID
11927
12071
  }, null)]);
11928
12072
  }
11929
- function O() {
11930
- var P, U, H, Q, J;
11931
- return createVNode(Fragment, null, [M(), !(((P = E.value) == null ? void 0 : P.permission_type) !== 2 && !t.p((U = E.value) == null ? void 0 : U.permission_code)) && createVNode(Button, {
12073
+ function M() {
12074
+ var P, B, H, Y, J;
12075
+ return createVNode(Fragment, null, [O(), !(((P = E.value) == null ? void 0 : P.permission_type) !== 2 && !t.p((B = E.value) == null ? void 0 : B.permission_code)) && createVNode(Button, {
11932
12076
  type: "primary",
11933
12077
  ghost: !g.value,
11934
12078
  disabled: g.value,
11935
- onClick: N,
12079
+ onClick: U,
11936
12080
  class: "kg-search-btn-reset"
11937
12081
  }, {
11938
12082
  default: () => [createVNode(ReloadOutlined$1, null, null), t.t("kg.reset")]
11939
12083
  }), createVNode(KgButton.Item, {
11940
12084
  kgType: KG_BUTTON_TYPE.SEARCH,
11941
12085
  kgVarName: (H = E.value) == null ? void 0 : H.var_nam,
11942
- kgIcon: (Q = E.value) == null ? void 0 : Q.icon,
12086
+ kgIcon: (Y = E.value) == null ? void 0 : Y.icon,
11943
12087
  kgText: k.value,
11944
12088
  kgColor: (J = E.value) == null ? void 0 : J.color,
11945
- kgPrimary: V.value,
12089
+ kgPrimary: D.value,
11946
12090
  kgLoading: _.value,
11947
- onKgClick: L
12091
+ onKgClick: $
11948
12092
  }, null)]);
11949
12093
  }
11950
- function R() {
12094
+ function L() {
11951
12095
  return createVNode(Spin, {
11952
- spinning: D.value
12096
+ spinning: F.value
11953
12097
  }, {
11954
12098
  default: () => {
11955
12099
  var P;
@@ -11959,8 +12103,8 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
11959
12103
  }, {
11960
12104
  default: () => [createVNode(Row, null, {
11961
12105
  default: () => {
11962
- var U;
11963
- return [(U = r.currentVarProfileDetails.value) == null ? void 0 : U.map((H) => createVNode(KgForm.Item, {
12106
+ var B;
12107
+ return [(B = r.currentVarProfileDetails.value) == null ? void 0 : B.map((H) => createVNode(KgForm.Item, {
11964
12108
  kgVarName: H.var_nam,
11965
12109
  kgContext: KG_FORM_CONTEXT.SEARCH,
11966
12110
  onKgSubmit: () => A(!0)
@@ -11971,19 +12115,19 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
11971
12115
  }
11972
12116
  });
11973
12117
  }
11974
- function F(P) {
12118
+ function N(P) {
11975
12119
  console.log("333:value", P);
11976
12120
  }
11977
12121
  function G() {
11978
12122
  y.value ? m.value.kgHeight = l.value : m.value.kgHeight = c.value;
11979
12123
  }
11980
12124
  return () => createVNode(KgResizable, {
11981
- class: I.value,
11982
- "kg-frm-id": r.formID,
11983
12125
  kgHeight: m.value.kgHeight,
11984
12126
  "onUpdate:kgHeight": (P) => m.value.kgHeight = P,
11985
12127
  kgMinHeight: c.value,
11986
- kgMaxHeight: u.value
12128
+ kgMaxHeight: u.value,
12129
+ class: I.value,
12130
+ "kg-frm-id": r.formID
11987
12131
  }, {
11988
12132
  default: () => [T.value && createVNode("div", {
11989
12133
  class: "ant-collapse ant-collapse-icon-position-left"
@@ -11996,17 +12140,17 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
11996
12140
  default: () => [createVNode("div", {
11997
12141
  class: "ant-collapse-header"
11998
12142
  }, [createVNode(Spin, {
11999
- spinning: B.value
12143
+ spinning: x.value
12000
12144
  }, {
12001
12145
  default: () => [w(), createVNode("div", {
12002
12146
  class: "ant-collapse-extra"
12003
- }, [O()])]
12147
+ }, [M()])]
12004
12148
  })])]
12005
12149
  }), createVNode("div", {
12006
12150
  class: "ant-collapse-content ant-collapse-content-active"
12007
12151
  }, [createVNode("div", {
12008
12152
  class: "ant-collapse-content-box"
12009
- }, [R()])])])])]
12153
+ }, [L()])])])])]
12010
12154
  });
12011
12155
  }
12012
12156
  });
@@ -12072,13 +12216,13 @@ function useMagicKeys(e = {}) {
12072
12216
  }
12073
12217
  function _(m, v) {
12074
12218
  var C, y;
12075
- const E = (C = m.key) == null ? void 0 : C.toLowerCase(), k = (y = m.code) == null ? void 0 : y.toLowerCase(), V = [k, E].filter(Boolean);
12219
+ const E = (C = m.key) == null ? void 0 : C.toLowerCase(), k = (y = m.code) == null ? void 0 : y.toLowerCase(), D = [k, E].filter(Boolean);
12076
12220
  k && (v ? s.add(m.code) : s.delete(m.code));
12077
- for (const T of V)
12221
+ for (const T of D)
12078
12222
  c.add(T), g(T, v);
12079
12223
  E === "meta" && !v ? (u.forEach((T) => {
12080
12224
  s.delete(T), g(T, !1);
12081
- }), u.clear()) : typeof m.getModifierState == "function" && m.getModifierState("Meta") && v && [...s, ...V].forEach((T) => u.add(T));
12225
+ }), u.clear()) : typeof m.getModifierState == "function" && m.getModifierState("Meta") && v && [...s, ...D].forEach((T) => u.add(T));
12082
12226
  }
12083
12227
  r && (useEventListener(r, "keydown", (m) => (_(m, !0), o(m)), { passive: a }), useEventListener(r, "keyup", (m) => (_(m, !1), o(m)), { passive: a }), useEventListener("blur", p, { passive: !0 }), useEventListener("focus", p, { passive: !0 }));
12084
12228
  const b = new Proxy(l, {
@@ -12477,27 +12621,27 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
12477
12621
  columnWidth: 32,
12478
12622
  hideSelectAll: !0,
12479
12623
  selectedRowKeys: g,
12480
- onSelect: (L) => B(L)
12624
+ onSelect: ($) => x($)
12481
12625
  }), _ = ref({
12482
12626
  visible: !1
12483
12627
  }), b = computed(() => !!(unref(c) || unref(a) || unref(o) || unref(s))), m = computed(() => {
12484
- var L;
12485
- return !!c.value || ((L = n.getSelectedVarCatalog) == null ? void 0 : L.cust_lvl) === KG_CUSTOM_LEVEL.L0;
12628
+ var $;
12629
+ return !!c.value || (($ = n.getSelectedVarCatalog) == null ? void 0 : $.cust_lvl) === KG_CUSTOM_LEVEL.L0;
12486
12630
  }), v = computed(() => !!(!unref(c) || unref(a) || unref(o))), C = computed(() => !!(!unref(n.getSelectedVarCatalog) || unref(a)));
12487
- watch(() => n.getSelectedVar, (L) => {
12488
- L ? y() : (c.value = null, u.value = [], n.setSelectedVarCatalog(null));
12631
+ watch(() => n.getSelectedVar, ($) => {
12632
+ $ ? y() : (c.value = null, u.value = [], n.setSelectedVarCatalog(null));
12489
12633
  }, {
12490
12634
  immediate: !0
12491
- }), watch(() => n.getSelectedVarCatalog, async (L) => {
12492
- var w, M;
12493
- l.value.var_text = (w = L == null ? void 0 : L.var_text) != null ? w : "", (M = i.value) == null || M.clearValidate();
12635
+ }), watch(() => n.getSelectedVarCatalog, async ($) => {
12636
+ var w, O;
12637
+ l.value.var_text = (w = $ == null ? void 0 : $.var_text) != null ? w : "", (O = i.value) == null || O.clearValidate();
12494
12638
  });
12495
- async function y(L = !1) {
12496
- var w, M, O;
12639
+ async function y($ = !1) {
12640
+ var w, O, M;
12497
12641
  a.value = !0;
12498
12642
  try {
12499
12643
  const {
12500
- records: R
12644
+ records: L
12501
12645
  } = await List({
12502
12646
  params: {
12503
12647
  pageNo: 1,
@@ -12508,81 +12652,81 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
12508
12652
  order: "asc"
12509
12653
  }
12510
12654
  });
12511
- if (c.value = null, u.value = R != null ? R : [], L) {
12512
- const F = u.value.find((G) => {
12655
+ if (c.value = null, u.value = L != null ? L : [], $) {
12656
+ const N = u.value.find((G) => {
12513
12657
  var P;
12514
12658
  return G.id === ((P = n.getSelectedVarCatalog) == null ? void 0 : P.id);
12515
12659
  });
12516
- n.setSelectedVarCatalog(F != null ? F : null), g.value = F != null && F.id ? [F.id] : [];
12660
+ n.setSelectedVarCatalog(N != null ? N : null), g.value = N != null && N.id ? [N.id] : [];
12517
12661
  } else
12518
- n.setSelectedVarCatalog((M = u.value[0]) != null ? M : null), g.value = (O = u.value[0]) != null && O.id ? [u.value[0].id] : [];
12519
- } catch (R) {
12520
- Logger.debug(R == null ? void 0 : R.message);
12662
+ n.setSelectedVarCatalog((O = u.value[0]) != null ? O : null), g.value = (M = u.value[0]) != null && M.id ? [u.value[0].id] : [];
12663
+ } catch (L) {
12664
+ Logger.debug(L == null ? void 0 : L.message);
12521
12665
  } finally {
12522
12666
  a.value = !1;
12523
12667
  }
12524
12668
  }
12525
12669
  async function E() {
12526
- var L, w, M;
12670
+ var $, w, O;
12527
12671
  try {
12528
- o.value = !0, await ((L = i.value) == null ? void 0 : L.validate());
12529
- const O = new VarCatalog({
12672
+ o.value = !0, await (($ = i.value) == null ? void 0 : $.validate());
12673
+ const M = new VarCatalog({
12530
12674
  ...(w = n.getSelectedVarCatalog) != null ? w : {},
12531
- var_text: (M = l.value) == null ? void 0 : M.var_text
12675
+ var_text: (O = l.value) == null ? void 0 : O.var_text
12532
12676
  });
12533
- O.id ? O.cust_lvl === KG_CUSTOM_LEVEL.L0 ? (O.cust_lvl = KG_CUSTOM_LEVEL.L10, Reflect.deleteProperty(O, "id"), await Add({
12534
- data: O
12677
+ M.id ? M.cust_lvl === KG_CUSTOM_LEVEL.L0 ? (M.cust_lvl = KG_CUSTOM_LEVEL.L10, Reflect.deleteProperty(M, "id"), await Add({
12678
+ data: M
12535
12679
  }, {
12536
12680
  successMessageMode: "none"
12537
12681
  }), message.success({
12538
12682
  content: t.t("kg.KgVarConfig.createSuccess")
12539
12683
  }), await y()) : (await Edit({
12540
- data: O
12684
+ data: M
12541
12685
  }, {
12542
12686
  successMessageMode: "none"
12543
12687
  }), message.success({
12544
12688
  content: t.t("kg.KgVarConfig.saveSuccess")
12545
12689
  }), await y(!0)) : (await Add({
12546
- data: O
12690
+ data: M
12547
12691
  }, {
12548
12692
  successMessageMode: "none"
12549
12693
  }), message.success({
12550
12694
  content: t.t("kg.KgVarConfig.createSuccess")
12551
12695
  }), await y()), r.retrieve(e == null ? void 0 : e.value);
12552
- } catch (O) {
12553
- KgUtil.throwIfNotFormError(O);
12696
+ } catch (M) {
12697
+ KgUtil.throwIfNotFormError(M);
12554
12698
  } finally {
12555
12699
  o.value = !1;
12556
12700
  }
12557
12701
  }
12558
12702
  function k({
12559
- isAllForm: L,
12703
+ isAllForm: $,
12560
12704
  isAllLanguage: w
12561
12705
  }) {
12562
- var M, O, R;
12706
+ var O, M, L;
12563
12707
  c.value = new VarCatalog({
12564
12708
  id: "",
12565
12709
  cust_lvl: KG_CUSTOM_LEVEL.L10,
12566
- grp_nam: (M = n.getSelectedVar) == null ? void 0 : M.grp_nam,
12567
- var_nam: (O = n.getSelectedVar) == null ? void 0 : O.var_nam,
12568
- frm_id: L || !(e != null && e.value) ? "ALL" : e == null ? void 0 : e.value,
12569
- locale_id: w ? "ALL" : (R = t.locale) == null ? void 0 : R.value,
12710
+ grp_nam: (O = n.getSelectedVar) == null ? void 0 : O.grp_nam,
12711
+ var_nam: (M = n.getSelectedVar) == null ? void 0 : M.var_nam,
12712
+ frm_id: $ || !(e != null && e.value) ? "ALL" : e == null ? void 0 : e.value,
12713
+ locale_id: w ? "ALL" : (L = t.locale) == null ? void 0 : L.value,
12570
12714
  var_text: ""
12571
12715
  }), u.value = [...u.value, c.value], n.setSelectedVarCatalog(unref(c)), g.value = [""];
12572
12716
  }
12573
- function V() {
12717
+ function D() {
12574
12718
  var w;
12575
12719
  u.value = without$1(u.value, c.value), c.value = null;
12576
- const L = (w = u.value[0]) != null ? w : null;
12577
- n.setSelectedVarCatalog(L), g.value = L ? [L.id] : [];
12720
+ const $ = (w = u.value[0]) != null ? w : null;
12721
+ n.setSelectedVarCatalog($), g.value = $ ? [$.id] : [];
12578
12722
  }
12579
12723
  function T() {
12580
12724
  KgUtil.confirm({
12581
12725
  onOk: async () => {
12582
- var L;
12726
+ var $;
12583
12727
  await Delete({
12584
12728
  params: {
12585
- id: (L = n.getSelectedVarCatalog) == null ? void 0 : L.id
12729
+ id: ($ = n.getSelectedVarCatalog) == null ? void 0 : $.id
12586
12730
  }
12587
12731
  }, {
12588
12732
  successMessageMode: "none",
@@ -12593,23 +12737,23 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
12593
12737
  }
12594
12738
  });
12595
12739
  }
12596
- function B(L) {
12740
+ function x($) {
12597
12741
  var w;
12598
- ((w = n.getSelectedVarCatalog) == null ? void 0 : w.id) !== L.id && (unref(c) ? KgUtil.confirm({
12742
+ ((w = n.getSelectedVarCatalog) == null ? void 0 : w.id) !== $.id && (unref(c) ? KgUtil.confirm({
12599
12743
  content: t.t("kg.KgVarConfig.discardConfirmMessage"),
12600
12744
  onOk: () => {
12601
- u.value = without$1(u.value, c.value), c.value = null, n.setSelectedVarCatalog(unref(L)), g.value = [L.id];
12745
+ u.value = without$1(u.value, c.value), c.value = null, n.setSelectedVarCatalog(unref($)), g.value = [$.id];
12602
12746
  }
12603
- }) : (n.setSelectedVarCatalog(unref(L)), g.value = [L.id]));
12747
+ }) : (n.setSelectedVarCatalog(unref($)), g.value = [$.id]));
12604
12748
  }
12605
- function D() {
12749
+ function F() {
12606
12750
  _.value.visible = !0;
12607
12751
  }
12608
12752
  function I() {
12609
12753
  return createVNode("div", {
12610
12754
  class: "buttons"
12611
12755
  }, [createVNode(Button, {
12612
- onClick: D,
12756
+ onClick: F,
12613
12757
  disabled: b.value,
12614
12758
  type: "primary"
12615
12759
  }, {
@@ -12625,7 +12769,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
12625
12769
  })]);
12626
12770
  }
12627
12771
  function A() {
12628
- let L, w;
12772
+ let $, w;
12629
12773
  return createVNode("div", {
12630
12774
  class: "form"
12631
12775
  }, [createVNode(Form, {
@@ -12642,7 +12786,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
12642
12786
  }, {
12643
12787
  default: () => [createVNode(Textarea, {
12644
12788
  value: l.value.var_text,
12645
- "onUpdate:value": (M) => l.value.var_text = M,
12789
+ "onUpdate:value": (O) => l.value.var_text = O,
12646
12790
  disabled: !n.getSelectedVarCatalog
12647
12791
  }, null), createVNode("button", {
12648
12792
  hidden: !0
@@ -12652,9 +12796,9 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
12652
12796
  class: "buttons"
12653
12797
  }, [createVNode(Button, {
12654
12798
  disabled: v.value,
12655
- onClick: V
12656
- }, _isSlot(L = t.t("common.cancelText")) ? L : {
12657
- default: () => [L]
12799
+ onClick: D
12800
+ }, _isSlot($ = t.t("common.cancelText")) ? $ : {
12801
+ default: () => [$]
12658
12802
  }), createVNode(Button, {
12659
12803
  loading: o.value,
12660
12804
  disabled: C.value,
@@ -12664,10 +12808,10 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
12664
12808
  default: () => [w]
12665
12809
  })])]);
12666
12810
  }
12667
- function N(L) {
12668
- var M;
12811
+ function U($) {
12812
+ var O;
12669
12813
  let w = "";
12670
- return L.id || (w += " ant-table-row-create"), L.id === ((M = n.getSelectedVarCatalog) == null ? void 0 : M.id) && (w += " ant-table-row-selected "), w;
12814
+ return $.id || (w += " ant-table-row-create"), $.id === ((O = n.getSelectedVarCatalog) == null ? void 0 : O.id) && (w += " ant-table-row-selected "), w;
12671
12815
  }
12672
12816
  return () => createVNode("div", {
12673
12817
  class: "kg-var-config-modal-var-var-catalog"
@@ -12683,14 +12827,14 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
12683
12827
  rowKey: "id",
12684
12828
  dataSource: u.value,
12685
12829
  loading: a.value,
12686
- rowClassName: N,
12830
+ rowClassName: U,
12687
12831
  rowSelection: p.value,
12688
- customRow: (L) => ({
12689
- onClick: () => B(L)
12832
+ customRow: ($) => ({
12833
+ onClick: () => x($)
12690
12834
  })
12691
12835
  }, null), A(), createVNode(KgVarConfigModalVarCreateModal, {
12692
12836
  visible: _.value.visible,
12693
- "onUpdate:visible": (L) => _.value.visible = L,
12837
+ "onUpdate:visible": ($) => _.value.visible = $,
12694
12838
  onKgOk: k
12695
12839
  }, null)]);
12696
12840
  }
@@ -13019,22 +13163,22 @@ const KgWarehouse$1 = "", getProps = () => ({
13019
13163
  customRender: ({
13020
13164
  record: k
13021
13165
  }) => {
13022
- var T, B, D;
13023
- const V = k;
13024
- return createVNode("div", null, [createVNode("div", null, [(T = V.whDsc) != null ? T : " ", createTextVNode(" - "), (B = V.whId) != null ? B : " "]), createVNode("div", {
13166
+ var T, x, F;
13167
+ const D = k;
13168
+ return createVNode("div", null, [createVNode("div", null, [(T = D.whDsc) != null ? T : " ", createTextVNode(" - "), (x = D.whId) != null ? x : " "]), createVNode("div", {
13025
13169
  class: "address"
13026
- }, [(D = V.adrId) != null ? D : " "])]);
13170
+ }, [(F = D.adrId) != null ? F : " "])]);
13027
13171
  }
13028
13172
  }]), c = ref([]), g = computed(() => {
13029
- var V;
13030
- const k = (V = o.value) == null ? void 0 : V.toUpperCase();
13173
+ var D;
13174
+ const k = (D = o.value) == null ? void 0 : D.toUpperCase();
13031
13175
  return c.value.filter((T) => {
13032
- var B, D, I, A, N, L;
13033
- return ((D = (B = T.whDsc) == null ? void 0 : B.toUpperCase()) == null ? void 0 : D.includes(k)) || ((A = (I = T.whId) == null ? void 0 : I.toUpperCase()) == null ? void 0 : A.includes(k)) || ((L = (N = T.adrId) == null ? void 0 : N.toUpperCase()) == null ? void 0 : L.includes(k));
13176
+ var x, F, I, A, U, $;
13177
+ return ((F = (x = T.whDsc) == null ? void 0 : x.toUpperCase()) == null ? void 0 : F.includes(k)) || ((A = (I = T.whId) == null ? void 0 : I.toUpperCase()) == null ? void 0 : A.includes(k)) || (($ = (U = T.adrId) == null ? void 0 : U.toUpperCase()) == null ? void 0 : $.includes(k));
13034
13178
  });
13035
13179
  }), p = computed(() => {
13036
- var k, V;
13037
- return ((V = (k = r.option.value) == null ? void 0 : k.KgWarehouse) == null ? void 0 : V.enable) !== !1;
13180
+ var k, D;
13181
+ return ((D = (k = r.option.value) == null ? void 0 : k.KgWarehouse) == null ? void 0 : D.enable) !== !1;
13038
13182
  });
13039
13183
  watch(n.visible, (k) => {
13040
13184
  !p.value || (k ? b() : m());
@@ -13084,14 +13228,14 @@ const KgWarehouse$1 = "", getProps = () => ({
13084
13228
  l.value = !1;
13085
13229
  }
13086
13230
  }
13087
- function y(k, V) {
13231
+ function y(k, D) {
13088
13232
  var T;
13089
13233
  switch (k.detail) {
13090
13234
  case 1:
13091
- ((T = i.value) == null ? void 0 : T.id) === V.id ? i.value = null : i.value = V;
13235
+ ((T = i.value) == null ? void 0 : T.id) === D.id ? i.value = null : i.value = D;
13092
13236
  break;
13093
13237
  case 2:
13094
- i.value = V, v();
13238
+ i.value = D, v();
13095
13239
  break;
13096
13240
  }
13097
13241
  }
@@ -13101,8 +13245,8 @@ const KgWarehouse$1 = "", getProps = () => ({
13101
13245
  placement: "bottomRight"
13102
13246
  }, {
13103
13247
  default: () => {
13104
- var k, V;
13105
- return [((k = s.value) == null ? void 0 : k.whDsc) || ((V = s.value) == null ? void 0 : V.whId) || r.t("kg.KgWarehouse.selectWarehouse")];
13248
+ var k, D;
13249
+ return [((k = s.value) == null ? void 0 : k.whDsc) || ((D = s.value) == null ? void 0 : D.whId) || r.t("kg.KgWarehouse.selectWarehouse")];
13106
13250
  }
13107
13251
  }), createVNode(KgModal, {
13108
13252
  visible: n.visible.value,
@@ -13144,9 +13288,9 @@ const KgWarehouse$1 = "", getProps = () => ({
13144
13288
  columns: u,
13145
13289
  class: "kg-flex-table",
13146
13290
  customRow: (k) => {
13147
- var V;
13291
+ var D;
13148
13292
  return {
13149
- class: k.id === ((V = i.value) == null ? void 0 : V.id) ? "selected" : "",
13293
+ class: k.id === ((D = i.value) == null ? void 0 : D.id) ? "selected" : "",
13150
13294
  onClick: (T) => y(T, k)
13151
13295
  };
13152
13296
  }
@@ -13182,6 +13326,7 @@ function createKgWarehouseGuard(e, t) {
13182
13326
  });
13183
13327
  }
13184
13328
  export {
13329
+ CreateVarGridMasterQuery,
13185
13330
  CreateVarProfileMasterQuery,
13186
13331
  DEFAULT_LABEL_COL_FOR_PX,
13187
13332
  DEFAULT_LABEL_COL_FOR_SPAN,
@@ -13236,6 +13381,7 @@ export {
13236
13381
  KgWarehouse,
13237
13382
  KgYesOrNo,
13238
13383
  Logger,
13384
+ UpdateVarGridMasterQuery,
13239
13385
  VarButton,
13240
13386
  VarCatalog,
13241
13387
  VarContext,