@kengic/vue 0.5.19-beta.1 → 0.5.20-beta.0
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.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +902 -759
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
- package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
- package/dist/src/apis/WMS/models.d.ts +37 -1
- package/dist/src/components/KgVar/index.hooks.d.ts +4 -0
- package/dist/src/components/KgVar/index.store.d.ts +9 -0
- package/dist/src/consts/i18n/en.d.ts +1 -1
- package/dist/src/consts/i18n/zh_CN.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/src/components/KgTable/components/setting/{KgTable.Setting.SaveGridMaster.d.ts → KgTable.Setting.VarGridMaster.SaveAs.d.ts} +0 -0
package/dist/kengic-vue.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var d = (e, t, r) => (
|
1
|
+
var ye = Object.defineProperty;
|
2
|
+
var Se = (e, t, r) => t in e ? ye(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
3
|
+
var d = (e, t, r) => (Se(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
|
+
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$
|
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$
|
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$
|
1241
|
-
VarContextController: index$
|
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,
|
2438
|
-
k !=
|
2531
|
+
var k = e.constructor, V = t.constructor;
|
2532
|
+
k != V && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof V == "function" && V instanceof V) && (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
|
-
|
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
|
-
|
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
|
4486
|
-
return "[" + w + (
|
4487
|
-
} }, E = function(w,
|
4488
|
-
var
|
4489
|
-
return !
|
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 N = String(w);
|
4583
|
+
return !N || N.length >= O ? w : "" + Array(O + 1 - N.length).join(M) + w;
|
4490
4584
|
}, k = { s: E, z: function(w) {
|
4491
|
-
var
|
4492
|
-
return (
|
4493
|
-
}, m: function w(
|
4494
|
-
if (
|
4495
|
-
return -w(
|
4496
|
-
var
|
4497
|
-
return +(-(
|
4585
|
+
var O = -w.utcOffset(), M = Math.abs(O), N = Math.floor(M / 60), L = M % 60;
|
4586
|
+
return (O <= 0 ? "+" : "-") + E(N, 2, "0") + ":" + E(L, 2, "0");
|
4587
|
+
}, m: function w(O, M) {
|
4588
|
+
if (O.date() < M.date())
|
4589
|
+
return -w(M, O);
|
4590
|
+
var N = 12 * (M.year() - O.year()) + (M.month() - O.month()), L = O.clone().add(N, g), G = M - L < 0, P = O.clone().add(N + (G ? -1 : 1), g);
|
4591
|
+
return +(-(N + (M - L) / (G ? L - P : P - L)) || 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
|
-
} },
|
4505
|
-
T[
|
4598
|
+
} }, V = "en", T = {};
|
4599
|
+
T[V] = y;
|
4506
4600
|
var K = function(w) {
|
4507
|
-
return w instanceof
|
4508
|
-
},
|
4601
|
+
return w instanceof U;
|
4602
|
+
}, F = function w(O, M, N) {
|
4509
4603
|
var L;
|
4510
|
-
if (!
|
4511
|
-
return
|
4512
|
-
if (typeof
|
4513
|
-
var
|
4514
|
-
T[
|
4515
|
-
var
|
4516
|
-
if (!L &&
|
4517
|
-
return w(
|
4604
|
+
if (!O)
|
4605
|
+
return V;
|
4606
|
+
if (typeof O == "string") {
|
4607
|
+
var G = O.toLowerCase();
|
4608
|
+
T[G] && (L = G), M && (T[G] = M, L = G);
|
4609
|
+
var P = O.split("-");
|
4610
|
+
if (!L && P.length > 1)
|
4611
|
+
return w(P[0]);
|
4518
4612
|
} else {
|
4519
|
-
var B =
|
4520
|
-
T[B] =
|
4613
|
+
var B = O.name;
|
4614
|
+
T[B] = O, L = B;
|
4521
4615
|
}
|
4522
|
-
return !
|
4523
|
-
}, I = function(w,
|
4616
|
+
return !N && L && (V = L), L || !N && V;
|
4617
|
+
}, I = function(w, O) {
|
4524
4618
|
if (K(w))
|
4525
4619
|
return w.clone();
|
4526
|
-
var
|
4527
|
-
return
|
4528
|
-
},
|
4529
|
-
|
4530
|
-
return I(w, { locale:
|
4620
|
+
var M = typeof O == "object" ? O : {};
|
4621
|
+
return M.date = w, M.args = arguments, new U(M);
|
4622
|
+
}, A = k;
|
4623
|
+
A.l = F, A.i = K, 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
|
4533
|
-
function w(
|
4534
|
-
this.$L =
|
4535
|
-
}
|
4536
|
-
var
|
4537
|
-
return
|
4538
|
-
this.$d = function(
|
4539
|
-
var L =
|
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(N) {
|
4633
|
+
var L = N.date, G = N.utc;
|
4540
4634
|
if (L === null)
|
4541
4635
|
return new Date(NaN);
|
4542
|
-
if (
|
4636
|
+
if (A.u(L))
|
4543
4637
|
return new Date();
|
4544
4638
|
if (L instanceof Date)
|
4545
4639
|
return new Date(L);
|
4546
4640
|
if (typeof L == "string" && !/Z$/i.test(L)) {
|
4547
|
-
var
|
4548
|
-
if (
|
4549
|
-
var B =
|
4550
|
-
return
|
4641
|
+
var P = L.match(v);
|
4642
|
+
if (P) {
|
4643
|
+
var B = P[2] - 1 || 0, z = (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, z)) : new Date(P[1], B, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, z);
|
4551
4645
|
}
|
4552
4646
|
}
|
4553
4647
|
return new Date(L);
|
4554
|
-
}(
|
4555
|
-
},
|
4556
|
-
var
|
4557
|
-
this.$y =
|
4558
|
-
},
|
4559
|
-
return
|
4560
|
-
},
|
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() {
|
4653
|
+
return A;
|
4654
|
+
}, O.isValid = function() {
|
4561
4655
|
return this.$d.toString() !== m;
|
4562
|
-
},
|
4563
|
-
var L = I(
|
4564
|
-
return this.startOf(
|
4565
|
-
},
|
4566
|
-
return I(
|
4567
|
-
},
|
4568
|
-
return this.endOf(
|
4569
|
-
},
|
4570
|
-
return
|
4571
|
-
},
|
4656
|
+
}, O.isSame = function(M, N) {
|
4657
|
+
var L = I(M);
|
4658
|
+
return this.startOf(N) <= L && L <= this.endOf(N);
|
4659
|
+
}, O.isAfter = function(M, N) {
|
4660
|
+
return I(M) < this.startOf(N);
|
4661
|
+
}, O.isBefore = function(M, N) {
|
4662
|
+
return this.endOf(N) < I(M);
|
4663
|
+
}, O.$g = function(M, N, L) {
|
4664
|
+
return A.u(M) ? this[N] : this.set(L, M);
|
4665
|
+
}, O.unix = function() {
|
4572
4666
|
return Math.floor(this.valueOf() / 1e3);
|
4573
|
-
},
|
4667
|
+
}, O.valueOf = function() {
|
4574
4668
|
return this.$d.getTime();
|
4575
|
-
},
|
4576
|
-
var L = this,
|
4577
|
-
var te =
|
4578
|
-
return
|
4579
|
-
},
|
4580
|
-
return
|
4581
|
-
}, Y = this.$W, J = this.$M,
|
4582
|
-
switch (
|
4669
|
+
}, O.startOf = function(M, N) {
|
4670
|
+
var L = this, G = !!A.u(N) || N, P = A.p(M), B = function(ee, q) {
|
4671
|
+
var te = A.w(L.$u ? Date.UTC(L.$y, q, ee) : new Date(L.$y, q, ee), L);
|
4672
|
+
return G ? te : te.endOf(u);
|
4673
|
+
}, z = function(ee, q) {
|
4674
|
+
return A.w(L.toDate()[ee].apply(L.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(q)), L);
|
4675
|
+
}, Y = this.$W, J = this.$M, D = this.$D, x = "set" + (this.$u ? "UTC" : "");
|
4676
|
+
switch (P) {
|
4583
4677
|
case _:
|
4584
|
-
return
|
4678
|
+
return G ? B(1, 0) : B(31, 11);
|
4585
4679
|
case g:
|
4586
|
-
return
|
4680
|
+
return G ? B(1, J) : B(0, J + 1);
|
4587
4681
|
case c:
|
4588
|
-
var
|
4589
|
-
return B(
|
4682
|
+
var X = this.$locale().weekStart || 0, W = (Y < X ? Y + 7 : Y) - X;
|
4683
|
+
return B(G ? D - W : D + (6 - W), J);
|
4590
4684
|
case u:
|
4591
4685
|
case b:
|
4592
|
-
return
|
4686
|
+
return z(x + "Hours", 0);
|
4593
4687
|
case l:
|
4594
|
-
return
|
4688
|
+
return z(x + "Minutes", 1);
|
4595
4689
|
case i:
|
4596
|
-
return
|
4690
|
+
return z(x + "Seconds", 2);
|
4597
4691
|
case s:
|
4598
|
-
return
|
4692
|
+
return z(x + "Milliseconds", 3);
|
4599
4693
|
default:
|
4600
4694
|
return this.clone();
|
4601
4695
|
}
|
4602
|
-
},
|
4603
|
-
return this.startOf(
|
4604
|
-
},
|
4605
|
-
var L,
|
4606
|
-
if (
|
4696
|
+
}, O.endOf = function(M) {
|
4697
|
+
return this.startOf(M, !1);
|
4698
|
+
}, O.$set = function(M, N) {
|
4699
|
+
var L, G = A.p(M), P = "set" + (this.$u ? "UTC" : ""), B = (L = {}, L[u] = P + "Date", L[b] = P + "Date", L[g] = P + "Month", L[_] = P + "FullYear", L[l] = P + "Hours", L[i] = P + "Minutes", L[s] = P + "Seconds", L[o] = P + "Milliseconds", L)[G], z = G === u ? this.$D + (N - this.$W) : N;
|
4700
|
+
if (G === g || G === _) {
|
4607
4701
|
var Y = this.clone().set(b, 1);
|
4608
|
-
Y.$d[B](
|
4702
|
+
Y.$d[B](z), Y.init(), this.$d = Y.set(b, Math.min(this.$D, Y.daysInMonth())).$d;
|
4609
4703
|
} else
|
4610
|
-
B && this.$d[B](
|
4704
|
+
B && this.$d[B](z);
|
4611
4705
|
return this.init(), this;
|
4612
|
-
},
|
4613
|
-
return this.clone().$set(
|
4614
|
-
},
|
4615
|
-
return this[
|
4616
|
-
},
|
4617
|
-
var L,
|
4618
|
-
|
4619
|
-
var
|
4620
|
-
var
|
4621
|
-
return
|
4706
|
+
}, O.set = function(M, N) {
|
4707
|
+
return this.clone().$set(M, N);
|
4708
|
+
}, O.get = function(M) {
|
4709
|
+
return this[A.p(M)]();
|
4710
|
+
}, O.add = function(M, N) {
|
4711
|
+
var L, G = this;
|
4712
|
+
M = Number(M);
|
4713
|
+
var P = A.p(N), B = function(J) {
|
4714
|
+
var D = I(G);
|
4715
|
+
return A.w(D.date(D.date() + Math.round(J * M)), G);
|
4622
4716
|
};
|
4623
|
-
if (
|
4624
|
-
return this.set(g, this.$M +
|
4625
|
-
if (
|
4626
|
-
return this.set(_, this.$y +
|
4627
|
-
if (
|
4717
|
+
if (P === g)
|
4718
|
+
return this.set(g, this.$M + M);
|
4719
|
+
if (P === _)
|
4720
|
+
return this.set(_, this.$y + M);
|
4721
|
+
if (P === u)
|
4628
4722
|
return B(1);
|
4629
|
-
if (
|
4723
|
+
if (P === c)
|
4630
4724
|
return B(7);
|
4631
|
-
var
|
4632
|
-
return
|
4633
|
-
},
|
4634
|
-
return this.add(-1 *
|
4635
|
-
},
|
4636
|
-
var
|
4725
|
+
var z = (L = {}, L[i] = n, L[l] = a, L[s] = r, L)[P] || 1, Y = this.$d.getTime() + M * z;
|
4726
|
+
return A.w(Y, this);
|
4727
|
+
}, O.subtract = function(M, N) {
|
4728
|
+
return this.add(-1 * M, N);
|
4729
|
+
}, O.format = function(M) {
|
4730
|
+
var N = this, L = this.$locale();
|
4637
4731
|
if (!this.isValid())
|
4638
4732
|
return L.invalidDate || m;
|
4639
|
-
var
|
4640
|
-
return
|
4641
|
-
},
|
4642
|
-
return
|
4643
|
-
},
|
4644
|
-
var le =
|
4733
|
+
var G = M || "YYYY-MM-DDTHH:mm:ssZ", P = A.z(this), B = this.$H, z = this.$m, Y = this.$M, J = L.weekdays, D = L.months, x = function(q, te, ie, le) {
|
4734
|
+
return q && (q[te] || q(N, G)) || ie[te].slice(0, le);
|
4735
|
+
}, X = function(q) {
|
4736
|
+
return A.s(B % 12 || 12, q, "0");
|
4737
|
+
}, W = L.meridiem || function(q, te, ie) {
|
4738
|
+
var le = q < 12 ? "AM" : "PM";
|
4645
4739
|
return ie ? le.toLowerCase() : le;
|
4646
|
-
}, ee = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Y + 1, MM:
|
4647
|
-
return
|
4648
|
-
return te || ee[
|
4740
|
+
}, ee = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Y + 1, MM: A.s(Y + 1, 2, "0"), MMM: x(L.monthsShort, Y, D, 3), MMMM: x(D, Y), D: this.$D, DD: A.s(this.$D, 2, "0"), d: String(this.$W), dd: x(L.weekdaysMin, this.$W, J, 2), ddd: x(L.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: W(B, z, !0), A: W(B, z, !1), m: String(z), mm: A.s(z, 2, "0"), s: String(this.$s), ss: A.s(this.$s, 2, "0"), SSS: A.s(this.$ms, 3, "0"), Z: P };
|
4741
|
+
return G.replace(C, function(q, te) {
|
4742
|
+
return te || ee[q] || P.replace(":", "");
|
4649
4743
|
});
|
4650
|
-
},
|
4744
|
+
}, O.utcOffset = function() {
|
4651
4745
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
4652
|
-
},
|
4653
|
-
var
|
4654
|
-
return J = (
|
4655
|
-
},
|
4746
|
+
}, O.diff = function(M, N, L) {
|
4747
|
+
var G, P = A.p(N), B = I(M), z = (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 - z) / 6048e5, G[u] = (Y - z) / 864e5, G[l] = Y / a, G[i] = Y / n, G[s] = Y / r, G)[P] || Y, L ? J : A.a(J);
|
4749
|
+
}, O.daysInMonth = function() {
|
4656
4750
|
return this.endOf(g).$D;
|
4657
|
-
},
|
4751
|
+
}, O.$locale = function() {
|
4658
4752
|
return T[this.$L];
|
4659
|
-
},
|
4660
|
-
if (!
|
4753
|
+
}, O.locale = function(M, N) {
|
4754
|
+
if (!M)
|
4661
4755
|
return this.$L;
|
4662
|
-
var L = this.clone(),
|
4663
|
-
return
|
4664
|
-
},
|
4665
|
-
return
|
4666
|
-
},
|
4756
|
+
var L = this.clone(), G = F(M, N, !0);
|
4757
|
+
return G && (L.$L = G), L;
|
4758
|
+
}, O.clone = function() {
|
4759
|
+
return A.w(this.$d, this);
|
4760
|
+
}, O.toDate = function() {
|
4667
4761
|
return new Date(this.valueOf());
|
4668
|
-
},
|
4762
|
+
}, O.toJSON = function() {
|
4669
4763
|
return this.isValid() ? this.toISOString() : null;
|
4670
|
-
},
|
4764
|
+
}, O.toISOString = function() {
|
4671
4765
|
return this.$d.toISOString();
|
4672
|
-
},
|
4766
|
+
}, O.toString = function() {
|
4673
4767
|
return this.$d.toUTCString();
|
4674
4768
|
}, w;
|
4675
|
-
}(), $ =
|
4769
|
+
}(), $ = U.prototype;
|
4676
4770
|
return I.prototype = $, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", u], ["$M", g], ["$y", _], ["$D", b]].forEach(function(w) {
|
4677
|
-
$[w[1]] = function(
|
4678
|
-
return this.$g(
|
4771
|
+
$[w[1]] = function(O) {
|
4772
|
+
return this.$g(O, w[0], w[1]);
|
4679
4773
|
};
|
4680
|
-
}), I.extend = function(w,
|
4681
|
-
return w.$i || (w(
|
4682
|
-
}, I.locale =
|
4774
|
+
}), I.extend = function(w, O) {
|
4775
|
+
return w.$i || (w(O, U, I), w.$i = !0), I;
|
4776
|
+
}, I.locale = F, I.isDayjs = K, I.unix = function(w) {
|
4683
4777
|
return I(1e3 * w);
|
4684
|
-
}, I.en = T[
|
4778
|
+
}, I.en = T[V], 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,
|
4823
|
+
let C = b, y = Number(e), E = [], k = 0, V = 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, K = p === !0,
|
4825
|
+
const T = n === 10 ? 1e3 : 1024, K = 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 (
|
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,
|
4833
|
+
E[0] = 0, V = 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
|
-
const
|
4743
|
-
E[0] = I(k *
|
4836
|
+
const A = Math.pow(10, C > 0 ? a : 0);
|
4837
|
+
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];
|
4744
4838
|
}
|
4745
|
-
if (
|
4746
|
-
const
|
4747
|
-
E[0] = `${
|
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
4843
|
return K && (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:
|
4847
|
+
unit: V
|
4754
4848
|
} : E.join(l);
|
4755
4849
|
}
|
4756
4850
|
const data$5 = {
|
@@ -5377,9 +5471,9 @@ function sendQuery(e, t, r, n) {
|
|
5377
5471
|
T.status === "pending" && (T.status = "aborted");
|
5378
5472
|
}), p = [];
|
5379
5473
|
}
|
5380
|
-
function k(T, K,
|
5474
|
+
function k(T, K, F) {
|
5381
5475
|
const I = K !== "success";
|
5382
|
-
switch (p = p.filter((
|
5476
|
+
switch (p = p.filter((A) => A !== T), l) {
|
5383
5477
|
case "pending":
|
5384
5478
|
break;
|
5385
5479
|
case "failed":
|
@@ -5390,22 +5484,22 @@ function sendQuery(e, t, r, n) {
|
|
5390
5484
|
return;
|
5391
5485
|
}
|
5392
5486
|
if (K === "abort") {
|
5393
|
-
c =
|
5487
|
+
c = F, y();
|
5394
5488
|
return;
|
5395
5489
|
}
|
5396
5490
|
if (I) {
|
5397
|
-
c =
|
5491
|
+
c = F, p.length || (s.length ? V() : y());
|
5398
5492
|
return;
|
5399
5493
|
}
|
5400
5494
|
if (b(), E(), !e.random) {
|
5401
|
-
const
|
5402
|
-
|
5495
|
+
const A = e.resources.indexOf(T.resource);
|
5496
|
+
A !== -1 && A !== e.index && (e.index = A);
|
5403
5497
|
}
|
5404
|
-
l = "completed", _.forEach((
|
5405
|
-
|
5498
|
+
l = "completed", _.forEach((A) => {
|
5499
|
+
A(F);
|
5406
5500
|
});
|
5407
5501
|
}
|
5408
|
-
function
|
5502
|
+
function V() {
|
5409
5503
|
if (l !== "pending")
|
5410
5504
|
return;
|
5411
5505
|
b();
|
@@ -5423,13 +5517,13 @@ function sendQuery(e, t, r, n) {
|
|
5423
5517
|
const K = {
|
5424
5518
|
status: "pending",
|
5425
5519
|
resource: T,
|
5426
|
-
callback: (
|
5427
|
-
k(K,
|
5520
|
+
callback: (F, I) => {
|
5521
|
+
k(K, F, I);
|
5428
5522
|
}
|
5429
5523
|
};
|
5430
|
-
p.push(K), u++, g = setTimeout(
|
5524
|
+
p.push(K), u++, g = setTimeout(V, e.rotate), r(T, t, K.callback);
|
5431
5525
|
}
|
5432
|
-
return setTimeout(
|
5526
|
+
return setTimeout(V), 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 = (
|
6045
|
-
u ? _ =
|
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(
|
6145
|
+
function v(F) {
|
6052
6146
|
let I;
|
6053
|
-
u = c = !1, process.env.NODE_ENV !== "production" && (_ = []), typeof
|
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],
|
6151
|
+
}) : (mergeReactiveObjects(n.state.value[e], F), I = {
|
6058
6152
|
type: MutationType.patchObject,
|
6059
|
-
payload:
|
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(
|
6166
|
+
function E(F, I) {
|
6073
6167
|
return function() {
|
6074
6168
|
setActivePinia(n);
|
6075
|
-
const
|
6076
|
-
function w(
|
6077
|
-
|
6169
|
+
const A = Array.from(arguments), U = [], $ = [];
|
6170
|
+
function w(N) {
|
6171
|
+
U.push(N);
|
6078
6172
|
}
|
6079
|
-
function
|
6080
|
-
$.push(
|
6173
|
+
function O(N) {
|
6174
|
+
$.push(N);
|
6081
6175
|
}
|
6082
6176
|
triggerSubscriptions(p, {
|
6083
|
-
args:
|
6084
|
-
name:
|
6177
|
+
args: A,
|
6178
|
+
name: F,
|
6085
6179
|
store: T,
|
6086
6180
|
after: w,
|
6087
|
-
onError:
|
6181
|
+
onError: O
|
6088
6182
|
});
|
6089
|
-
let
|
6183
|
+
let M;
|
6090
6184
|
try {
|
6091
|
-
|
6092
|
-
} catch (
|
6093
|
-
throw triggerSubscriptions($,
|
6185
|
+
M = I.apply(this && this.$id === e ? this : T, A);
|
6186
|
+
} catch (N) {
|
6187
|
+
throw triggerSubscriptions($, N), N;
|
6094
6188
|
}
|
6095
|
-
return
|
6189
|
+
return M instanceof Promise ? M.then((N) => (triggerSubscriptions(U, N), N)).catch((N) => (triggerSubscriptions($, N), Promise.reject(N))) : (triggerSubscriptions(U, M), M);
|
6096
6190
|
};
|
6097
6191
|
}
|
6098
6192
|
const k = /* @__PURE__ */ markRaw({
|
@@ -6100,21 +6194,21 @@ function createSetupStore(e, t, r = {}, n, a) {
|
|
6100
6194
|
getters: {},
|
6101
6195
|
state: [],
|
6102
6196
|
hotState: m
|
6103
|
-
}),
|
6197
|
+
}), V = {
|
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(
|
6110
|
-
const
|
6111
|
-
(I.flush === "sync" ? c : u) &&
|
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
6209
|
}, $);
|
6116
6210
|
}, assign$1({}, l, I)));
|
6117
|
-
return
|
6211
|
+
return A;
|
6118
6212
|
},
|
6119
6213
|
$dispose: y
|
6120
6214
|
}, T = reactive(assign$1(
|
@@ -6122,57 +6216,57 @@ function createSetupStore(e, t, r = {}, n, a) {
|
|
6122
6216
|
_customProperties: markRaw(/* @__PURE__ */ new Set()),
|
6123
6217
|
_hmrPayload: k
|
6124
6218
|
} : {},
|
6125
|
-
|
6219
|
+
V
|
6126
6220
|
));
|
6127
6221
|
n._s.set(e, T);
|
6128
6222
|
const K = n._e.run(() => (o = effectScope(), o.run(() => t())));
|
6129
|
-
for (const
|
6130
|
-
const I = K[
|
6223
|
+
for (const F in K) {
|
6224
|
+
const I = K[F];
|
6131
6225
|
if (isRef(I) && !isComputed(I) || isReactive(I))
|
6132
|
-
process.env.NODE_ENV !== "production" && a ? set(m.value,
|
6226
|
+
process.env.NODE_ENV !== "production" && a ? set(m.value, F, toRef(K, 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
|
6135
|
-
K[
|
6228
|
+
const A = process.env.NODE_ENV !== "production" && a ? I : E(F, I);
|
6229
|
+
K[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[
|
6231
|
+
process.env.NODE_ENV !== "production" && isComputed(I) && (k.getters[F] = s ? r.getters[F] : I, IS_CLIENT && (K._getters || (K._getters = markRaw([]))).push(F));
|
6138
6232
|
}
|
6139
6233
|
if (assign$1(T, K), assign$1(toRaw(T), K), Object.defineProperty(T, "$state", {
|
6140
6234
|
get: () => process.env.NODE_ENV !== "production" && a ? m.value : n.state.value[e],
|
6141
|
-
set: (
|
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,
|
6239
|
+
assign$1(I, F);
|
6146
6240
|
});
|
6147
6241
|
}
|
6148
6242
|
}), process.env.NODE_ENV !== "production") {
|
6149
6243
|
T._hotUpdate = markRaw((I) => {
|
6150
|
-
T._hotUpdating = !0, I._hmrPayload.state.forEach((
|
6151
|
-
if (
|
6152
|
-
const
|
6153
|
-
typeof
|
6244
|
+
T._hotUpdating = !0, I._hmrPayload.state.forEach((A) => {
|
6245
|
+
if (A in T.$state) {
|
6246
|
+
const U = I.$state[A], $ = T.$state[A];
|
6247
|
+
typeof U == "object" && isPlainObject(U) && isPlainObject($) ? patchObject(U, $) : I.$state[A] = $;
|
6154
6248
|
}
|
6155
|
-
set(T,
|
6156
|
-
}), Object.keys(T.$state).forEach((
|
6157
|
-
|
6249
|
+
set(T, A, toRef(I.$state, A));
|
6250
|
+
}), Object.keys(T.$state).forEach((A) => {
|
6251
|
+
A in I.$state || del(T, A);
|
6158
6252
|
}), u = !1, c = !1, n.state.value[e] = toRef(I._hmrPayload, "hotState"), c = !0, nextTick().then(() => {
|
6159
6253
|
u = !0;
|
6160
6254
|
});
|
6161
|
-
for (const
|
6162
|
-
const
|
6163
|
-
set(T,
|
6164
|
-
}
|
6165
|
-
for (const
|
6166
|
-
const
|
6167
|
-
set(T,
|
6168
|
-
}
|
6169
|
-
Object.keys(T._hmrPayload.getters).forEach((
|
6170
|
-
|
6171
|
-
}), Object.keys(T._hmrPayload.actions).forEach((
|
6172
|
-
|
6255
|
+
for (const A in I._hmrPayload.actions) {
|
6256
|
+
const U = I[A];
|
6257
|
+
set(T, A, E(A, U));
|
6258
|
+
}
|
6259
|
+
for (const A in I._hmrPayload.getters) {
|
6260
|
+
const U = I._hmrPayload.getters[A], $ = s ? computed(() => (setActivePinia(n), U.call(T, T))) : U;
|
6261
|
+
set(T, A, $);
|
6262
|
+
}
|
6263
|
+
Object.keys(T._hmrPayload.getters).forEach((A) => {
|
6264
|
+
A in I._hmrPayload.getters || del(T, A);
|
6265
|
+
}), Object.keys(T._hmrPayload.actions).forEach((A) => {
|
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
|
6269
|
+
const F = {
|
6176
6270
|
writable: !0,
|
6177
6271
|
configurable: !0,
|
6178
6272
|
enumerable: !1
|
@@ -6180,21 +6274,21 @@ 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
|
-
...
|
6277
|
+
...F
|
6184
6278
|
});
|
6185
6279
|
});
|
6186
6280
|
}
|
6187
|
-
return n._p.forEach((
|
6281
|
+
return n._p.forEach((F) => {
|
6188
6282
|
if (process.env.NODE_ENV !== "production" && IS_CLIENT) {
|
6189
|
-
const I = o.run(() =>
|
6283
|
+
const I = o.run(() => F({
|
6190
6284
|
store: T,
|
6191
6285
|
app: n._a,
|
6192
6286
|
pinia: n,
|
6193
6287
|
options: i
|
6194
6288
|
}));
|
6195
|
-
Object.keys(I || {}).forEach((
|
6289
|
+
Object.keys(I || {}).forEach((A) => T._customProperties.add(A)), assign$1(T, I);
|
6196
6290
|
} else
|
6197
|
-
assign$1(T, o.run(() =>
|
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
|
6782
|
-
(!i || i(T,
|
6875
|
+
const V = (m = (b = l.selectedRows) == null ? void 0 : b.value) != null ? m : [], T = (v = V.map((K) => K[g.value])) != null ? v : [];
|
6876
|
+
(!i || i(T, V)) && (r("kgOk", T, V), r("update:visible", !1));
|
6783
6877
|
} else {
|
6784
|
-
const
|
6785
|
-
(!i || i(T,
|
6878
|
+
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 : "";
|
6879
|
+
(!i || i(T, V)) && (r("kgOk", T, V), 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,
|
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 = (
|
7091
|
+
var C, y, E, k, V, T, K, 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 = (V = (k = i.value) == null ? void 0 : k.val_clm) != null ? V : "", m = (K = (T = i.value) == null ? void 0 : T.lbl_clm) != null ? K : "";
|
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 ((
|
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,
|
7078
|
-
return [m[(
|
7171
|
+
var k, V;
|
7172
|
+
return [m[(V = (k = i.value) == null ? void 0 : k.lbl_clm) != null ? V : ""]];
|
7079
7173
|
}
|
7080
7174
|
});
|
7081
7175
|
}),
|
@@ -7176,7 +7270,7 @@ 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 w,
|
7273
|
+
var w, O, M, N, L;
|
7180
7274
|
if (a.isRetrievingVar.value)
|
7181
7275
|
return !0;
|
7182
7276
|
let $ = !1;
|
@@ -7190,13 +7284,13 @@ const KgFormItem = defineComponent({
|
|
7190
7284
|
case KG_FORM_CONTEXT.SUBMIT:
|
7191
7285
|
switch (!0) {
|
7192
7286
|
case a.isCreating.value:
|
7193
|
-
$ = ((
|
7287
|
+
$ = ((O = _.value) == null ? void 0 : O.crt_ena_flg) === 0;
|
7194
7288
|
break;
|
7195
7289
|
case a.isUpdating.value:
|
7196
|
-
$ = ((
|
7290
|
+
$ = ((M = _.value) == null ? void 0 : M.upt_ena_flg) === 0;
|
7197
7291
|
break;
|
7198
7292
|
case a.isCopying.value:
|
7199
|
-
$ = ((
|
7293
|
+
$ = ((N = _.value) == null ? void 0 : N.cpy_ena_flg) === 0;
|
7200
7294
|
break;
|
7201
7295
|
case a.isDeleting.value:
|
7202
7296
|
$ = ((L = _.value) == null ? void 0 : L.del_ena_flg) === 0;
|
@@ -7206,60 +7300,60 @@ const KgFormItem = defineComponent({
|
|
7206
7300
|
}
|
7207
7301
|
return $;
|
7208
7302
|
}), v = computed(() => {
|
7209
|
-
var w,
|
7303
|
+
var w, O, M, N;
|
7210
7304
|
let $ = " ";
|
7211
7305
|
if (e.kgPlaceholder)
|
7212
7306
|
$ = e.kgPlaceholder;
|
7213
7307
|
else
|
7214
7308
|
switch (e.kgContext) {
|
7215
7309
|
case KG_FORM_CONTEXT.SEARCH:
|
7216
|
-
$ = n.t((
|
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.t((
|
7313
|
+
$ = n.t((N = (M = _.value) == null ? void 0 : M.placeholder) != null ? N : " ");
|
7220
7314
|
break;
|
7221
7315
|
}
|
7222
7316
|
return $;
|
7223
7317
|
}), C = computed(() => {
|
7224
|
-
var w,
|
7318
|
+
var w, O, M, N, L, G, P, B, z, Y;
|
7225
7319
|
let $ = 6;
|
7226
7320
|
if (e.kgSpan !== void 0)
|
7227
7321
|
$ = e.kgSpan;
|
7228
7322
|
else
|
7229
7323
|
switch (e.kgContext) {
|
7230
7324
|
case KG_FORM_CONTEXT.SEARCH:
|
7231
|
-
$ = (
|
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
|
-
$ = (
|
7330
|
+
$ = (N = (M = _.value) == null ? void 0 : M.crt_width) != null ? N : 6;
|
7237
7331
|
break;
|
7238
7332
|
case a.isUpdating.value:
|
7239
|
-
$ = (
|
7333
|
+
$ = (G = (L = _.value) == null ? void 0 : L.upt_width) != null ? G : 6;
|
7240
7334
|
break;
|
7241
7335
|
case a.isCopying.value:
|
7242
|
-
$ = (B = (
|
7336
|
+
$ = (B = (P = _.value) == null ? void 0 : P.cpy_width) != null ? B : 6;
|
7243
7337
|
break;
|
7244
7338
|
case a.isDeleting.value:
|
7245
|
-
$ = (Y = (
|
7339
|
+
$ = (Y = (z = _.value) == null ? void 0 : z.del_width) != null ? Y : 6;
|
7246
7340
|
break;
|
7247
7341
|
}
|
7248
7342
|
}
|
7249
7343
|
return Math.min(24, Math.max(1, $));
|
7250
7344
|
}), y = computed(() => {
|
7251
|
-
var
|
7345
|
+
var M, N;
|
7252
7346
|
const $ = get(K.value, "$el.parentElement");
|
7253
|
-
if ($ && !((
|
7347
|
+
if ($ && !((M = $.classList) != null && M.contains("ant-row")))
|
7254
7348
|
throw new Error("<KgForm.Item> \u7684\u7236\u5143\u7D20\u5FC5\u987B\u662F <Row> \u6216\u8005 <a-row>.");
|
7255
7349
|
let w = {};
|
7256
|
-
const
|
7257
|
-
return Number.isNaN(
|
7258
|
-
paddingLeft: `${
|
7259
|
-
paddingRight: `${
|
7350
|
+
const O = Math.abs(Number.parseInt((N = get(K.value, "$el.parentElement.style.marginLeft")) != null ? N : "0px"));
|
7351
|
+
return Number.isNaN(O) || (w = {
|
7352
|
+
paddingLeft: `${O}px !important`,
|
7353
|
+
paddingRight: `${O}px !important`
|
7260
7354
|
}), w;
|
7261
7355
|
}), E = computed(() => {
|
7262
|
-
var w,
|
7356
|
+
var w, O, M, N;
|
7263
7357
|
let $ = "kg-form-item";
|
7264
7358
|
switch (c.value && ($ += " kg-form-item-lookup"), e.kgContext) {
|
7265
7359
|
case KG_FORM_CONTEXT.SEARCH:
|
@@ -7271,9 +7365,9 @@ const KgFormItem = defineComponent({
|
|
7271
7365
|
break;
|
7272
7366
|
case KG_FORM_CONTEXT.SUBMIT:
|
7273
7367
|
switch (!0) {
|
7274
|
-
case (i.value && ((
|
7275
|
-
case (l.value && ((
|
7276
|
-
case (u.value && ((
|
7368
|
+
case (i.value && ((O = _.value) == null ? void 0 : O.crt_vis_flg) === 0):
|
7369
|
+
case (l.value && ((M = _.value) == null ? void 0 : M.upt_vis_flg) === 0):
|
7370
|
+
case (u.value && ((N = _.value) == null ? void 0 : N.cpy_vis_flg) === 0):
|
7277
7371
|
$ += " kg-form-item--invisible";
|
7278
7372
|
break;
|
7279
7373
|
}
|
@@ -7285,14 +7379,14 @@ const KgFormItem = defineComponent({
|
|
7285
7379
|
const $ = {
|
7286
7380
|
...e,
|
7287
7381
|
value: (w = o.value) == null ? void 0 : w[e.kgVarName],
|
7288
|
-
"onUpdate:value": (
|
7289
|
-
o.value && (o.value[e.kgVarName] =
|
7382
|
+
"onUpdate:value": (O) => {
|
7383
|
+
o.value && (o.value[e.kgVarName] = O);
|
7290
7384
|
},
|
7291
7385
|
kgPlaceholder: v.value,
|
7292
7386
|
kgDisabled: m.value,
|
7293
7387
|
id: T.value
|
7294
7388
|
};
|
7295
|
-
switch (
|
7389
|
+
switch (V.value) {
|
7296
7390
|
case KG_FORM_ITEM_TYPE.INPUT_NUMBER:
|
7297
7391
|
break;
|
7298
7392
|
case KG_FORM_ITEM_TYPE.SELECT:
|
@@ -7307,13 +7401,13 @@ const KgFormItem = defineComponent({
|
|
7307
7401
|
break;
|
7308
7402
|
}
|
7309
7403
|
return $;
|
7310
|
-
}),
|
7404
|
+
}), V = computed(() => {
|
7311
7405
|
var $;
|
7312
7406
|
return e.kgType || (($ = g.value) == null ? void 0 : $.ctrl_typ);
|
7313
7407
|
}), T = computed(() => encodeURIComponent(a.formID + e.kgVarName + e.kgContext)), K = ref(null);
|
7314
|
-
function
|
7315
|
-
var
|
7316
|
-
o.value && (o.value[e.kgVarName] = $), r("kgChange", w), (
|
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]);
|
7317
7411
|
}
|
7318
7412
|
function I() {
|
7319
7413
|
if (t.control)
|
@@ -7325,7 +7419,7 @@ const KgFormItem = defineComponent({
|
|
7325
7419
|
varProfileDetail: p,
|
7326
7420
|
varSubmitField: _
|
7327
7421
|
});
|
7328
|
-
switch (
|
7422
|
+
switch (V.value) {
|
7329
7423
|
case KG_FORM_ITEM_TYPE.INPUT_NUMBER:
|
7330
7424
|
return createVNode(KgFormItemInputNumber, k.value, null);
|
7331
7425
|
case KG_FORM_ITEM_TYPE.SELECT:
|
@@ -7340,17 +7434,17 @@ const KgFormItem = defineComponent({
|
|
7340
7434
|
return createVNode(KgFormItemInput, k.value, null);
|
7341
7435
|
}
|
7342
7436
|
}
|
7343
|
-
function
|
7437
|
+
function A() {
|
7344
7438
|
return e.kgShowLabel ? createVNode("span", {
|
7345
7439
|
title: a.t(e.kgVarName).value
|
7346
7440
|
}, [a.t(e.kgVarName).value]) : null;
|
7347
7441
|
}
|
7348
|
-
function
|
7442
|
+
function U() {
|
7349
7443
|
var $;
|
7350
7444
|
return !c.value || !(($ = c.value) != null && $.lkp_id) ? null : createVNode(Form.ItemRest, null, {
|
7351
7445
|
default: () => [createVNode(KgFormItemAddonLookup, {
|
7352
7446
|
kgDisabled: m.value,
|
7353
|
-
onKgOk:
|
7447
|
+
onKgOk: F,
|
7354
7448
|
kgLookupID: c.value.lkp_id
|
7355
7449
|
}, null)]
|
7356
7450
|
});
|
@@ -7368,8 +7462,8 @@ const KgFormItem = defineComponent({
|
|
7368
7462
|
rules: b.value,
|
7369
7463
|
htmlFor: T.value
|
7370
7464
|
}, {
|
7371
|
-
default: () => createVNode(Fragment, null, [I(),
|
7372
|
-
label: () =>
|
7465
|
+
default: () => createVNode(Fragment, null, [I(), U()]),
|
7466
|
+
label: () => A()
|
7373
7467
|
})]
|
7374
7468
|
});
|
7375
7469
|
}
|
@@ -8049,6 +8143,7 @@ const useKgVarStore = () => (store$6 || (store$6 = defineStore("KgVar", {
|
|
8049
8143
|
formIDs: [],
|
8050
8144
|
isRetrievingVarMap: /* @__PURE__ */ new Map(),
|
8051
8145
|
isRetrievingVarProfileMasterMap: /* @__PURE__ */ new Map(),
|
8146
|
+
isRetrievingVarGridMasterMap: /* @__PURE__ */ new Map(),
|
8052
8147
|
isCreatingMap: /* @__PURE__ */ new Map(),
|
8053
8148
|
isCreatingRequestingMap: /* @__PURE__ */ new Map(),
|
8054
8149
|
isUpdatingMap: /* @__PURE__ */ new Map(),
|
@@ -8095,6 +8190,12 @@ const useKgVarStore = () => (store$6 || (store$6 = defineStore("KgVar", {
|
|
8095
8190
|
return t ? (r = e.isRetrievingVarProfileMasterMap.get(t)) != null ? r : null : (Logger.error("formID \u4E3A\u7A7A."), null);
|
8096
8191
|
};
|
8097
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
|
+
},
|
8098
8199
|
isCreating(e) {
|
8099
8200
|
return (t) => {
|
8100
8201
|
var r;
|
@@ -8556,6 +8657,29 @@ const useKgVarStore = () => (store$6 || (store$6 = defineStore("KgVar", {
|
|
8556
8657
|
}
|
8557
8658
|
}
|
8558
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
|
+
},
|
8559
8683
|
setVarGridDetailWidth(e, t, r) {
|
8560
8684
|
if (!e || !t)
|
8561
8685
|
return;
|
@@ -8606,32 +8730,34 @@ function useKgVar(e, t, r = 0) {
|
|
8606
8730
|
}), onUnmounted(() => {
|
8607
8731
|
s.leave(o);
|
8608
8732
|
}));
|
8609
|
-
const i = (
|
8610
|
-
var
|
8611
|
-
return (
|
8612
|
-
}), l = computed(() => s.isRetrievingVar(o)), u = computed(() => s.isRetrievingVarProfileMaster(o)), c = computed(() => s.
|
8613
|
-
var
|
8614
|
-
return (
|
8615
|
-
}),
|
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
|
+
}), V = computed(() => s.getVarGridConfig(o)), T = computed(() => s.getVarGridMasters(o)), K = computed(() => s.getCurrentVarGridMaster(o)), F = computed(() => s.getSystemVarGridDetails(o)), I = computed(() => s.getCurrentVarGridDetails(o));
|
8616
8740
|
return {
|
8617
8741
|
formID: o,
|
8618
8742
|
store: s,
|
8619
8743
|
isRetrievingVar: l,
|
8620
8744
|
isRetrievingVarProfileMaster: u,
|
8621
|
-
|
8622
|
-
|
8623
|
-
|
8624
|
-
|
8625
|
-
|
8626
|
-
|
8627
|
-
|
8628
|
-
|
8629
|
-
|
8630
|
-
|
8631
|
-
|
8632
|
-
|
8633
|
-
|
8634
|
-
|
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: V,
|
8757
|
+
varGridMasters: T,
|
8758
|
+
currentVarGridMaster: K,
|
8759
|
+
systemVarGridDetails: F,
|
8760
|
+
currentVarGridDetails: I,
|
8635
8761
|
t: i
|
8636
8762
|
};
|
8637
8763
|
} catch (o) {
|
@@ -8823,8 +8949,8 @@ const KgSubmit_Header = "", FORM_ID__VAR_SUBMIT_CONFIG = "kg-submit.VarSubmitCon
|
|
8823
8949
|
}) => {
|
8824
8950
|
const c = o.store.getVarSubmitConfig(o.formID);
|
8825
8951
|
return i = watch(u, (g) => {
|
8826
|
-
var p, _, b, m, v, C, y, E, k,
|
8827
|
-
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 = (
|
8952
|
+
var p, _, b, m, v, C, y, E, k, V, T, K;
|
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 = (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 = (K = c == null ? void 0 : c.display_type) != null ? K : KG_VAR_SUBMIT__DISPLAY_TYPE.DRAWER);
|
8828
8954
|
}, {
|
8829
8955
|
immediate: !0
|
8830
8956
|
}), !1;
|
@@ -9020,58 +9146,59 @@ const getProps$p = () => ({
|
|
9020
9146
|
}) {
|
9021
9147
|
const r = useKg(), n = useKgVar(), a = useKgTable(), o = useKgSubmit(), s = useKgSearch(), i = inject(DI_KG_SLOTS, null);
|
9022
9148
|
_useFormModel();
|
9023
|
-
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 &&
|
9024
|
-
var
|
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)), V = computed(() => n.store.getVarSubmitFieldsForUpdateKey(n.formID)), T = computed(() => n.store.getVarSubmitFieldsForUpdateNotKey(n.formID)), K = computed(() => n.store.getVarSubmitFieldsForCopyKey(n.formID)), F = computed(() => n.store.getVarSubmitFieldsForCopyNotKey(n.formID)), I = computed(() => n.store.getVarSubmitFieldsForDelete(n.formID)), A = computed(() => {
|
9150
|
+
var R, H, Q;
|
9025
9151
|
switch (!0) {
|
9026
9152
|
case l.value:
|
9027
|
-
return (
|
9153
|
+
return (R = E.value) != null ? R : [];
|
9028
9154
|
case u.value:
|
9029
|
-
return (
|
9155
|
+
return (H = V.value) != null ? H : [];
|
9030
9156
|
case c.value:
|
9031
|
-
return (
|
9157
|
+
return (Q = K.value) != null ? Q : [];
|
9032
9158
|
case g.value:
|
9033
9159
|
return [];
|
9034
9160
|
}
|
9035
9161
|
return [];
|
9036
|
-
}),
|
9037
|
-
var
|
9162
|
+
}), U = computed(() => {
|
9163
|
+
var R, H, Q, Z;
|
9038
9164
|
switch (!0) {
|
9039
9165
|
case l.value:
|
9040
|
-
return (
|
9166
|
+
return (R = k.value) != null ? R : [];
|
9041
9167
|
case u.value:
|
9042
|
-
return (
|
9168
|
+
return (H = T.value) != null ? H : [];
|
9043
9169
|
case c.value:
|
9044
|
-
return (
|
9170
|
+
return (Q = F.value) != null ? Q : [];
|
9045
9171
|
case g.value:
|
9046
9172
|
return (Z = I.value) != null ? Z : [];
|
9047
9173
|
}
|
9048
9174
|
return [];
|
9049
|
-
}), $ = 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),
|
9050
|
-
kgWidth:
|
9051
|
-
}),
|
9052
|
-
var
|
9053
|
-
return !!(p.value ||
|
9054
|
-
}), L =
|
9055
|
-
|
9056
|
-
|
9057
|
-
|
9058
|
-
|
9059
|
-
|
9060
|
-
|
9061
|
-
|
9062
|
-
|
9063
|
-
|
9064
|
-
|
9065
|
-
|
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
|
+
}), N = computed(() => {
|
9178
|
+
var R;
|
9179
|
+
return !!(p.value || W.isFullscreen || ((R = y.value) == null ? void 0 : R.resizable_flg) === 0);
|
9180
|
+
}), L = computed(() => {
|
9181
|
+
var R, H;
|
9182
|
+
return p.value ? 398 : (H = (R = y.value) == null ? void 0 : R.min_width) != null ? H : DEFAULT_MIN_WIDTH;
|
9183
|
+
}), G = computed(() => {
|
9184
|
+
var R, H;
|
9185
|
+
return p.value ? 398 : (H = (R = y.value) == null ? void 0 : R.max_width) != null ? H : DEFAULT_MAX_WIDTH;
|
9186
|
+
}), P = computed(() => p.value ? 398 : M.value.kgWidth), B = ref(null), z = ref({}), Y = ref(null);
|
9187
|
+
_useResizeObserver$1(Y);
|
9188
|
+
const J = _useTitle(), D = computed(() => p.value ? 400 : M.value.kgWidth && M.value.kgWidth > 0 ? M.value.kgWidth + 2 : 0), x = computed(() => D.value === 0 ? !1 : !!(l.value || u.value || c.value || g.value)), X = computed(() => {
|
9189
|
+
var H, Q;
|
9190
|
+
let R = "kg-submit";
|
9191
|
+
return W.isFullscreen && (R += " kg-submit--fullscreen"), ((H = y.value) == null ? void 0 : H.responsive_flg) !== 0 && (R += " kg-submit--responsive"), (((Q = y.value) == null ? void 0 : Q.display_type) === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL || g.value) && (R += " kg-submit--modal"), e.kgClass && (R += ` ${e.kgClass}`), R;
|
9192
|
+
}), W = reactive({
|
9066
9193
|
isFullscreen: !1
|
9067
|
-
}),
|
9068
|
-
var
|
9069
|
-
switch ((
|
9194
|
+
}), ee = computed(() => {
|
9195
|
+
var R, H, Q, Z;
|
9196
|
+
switch ((R = y.value) == null ? void 0 : R.layout) {
|
9070
9197
|
case "horizontal":
|
9071
|
-
switch ((
|
9198
|
+
switch ((H = y.value) == null ? void 0 : H.label_col_unit) {
|
9072
9199
|
case KG_WIDTH_UNIT.SPAN:
|
9073
9200
|
return {
|
9074
|
-
span: (
|
9201
|
+
span: (Q = y.value) == null ? void 0 : Q.label_col
|
9075
9202
|
};
|
9076
9203
|
default:
|
9077
9204
|
return {
|
@@ -9083,14 +9210,14 @@ const getProps$p = () => ({
|
|
9083
9210
|
default:
|
9084
9211
|
return;
|
9085
9212
|
}
|
9086
|
-
}),
|
9087
|
-
var
|
9088
|
-
switch ((
|
9213
|
+
}), q = computed(() => {
|
9214
|
+
var R, H, Q;
|
9215
|
+
switch ((R = y.value) == null ? void 0 : R.layout) {
|
9089
9216
|
case "horizontal":
|
9090
|
-
switch ((
|
9217
|
+
switch ((H = y.value) == null ? void 0 : H.label_col_unit) {
|
9091
9218
|
case KG_WIDTH_UNIT.SPAN:
|
9092
9219
|
return {
|
9093
|
-
span: 24 - ((
|
9220
|
+
span: 24 - ((Q = y.value) == null ? void 0 : Q.label_col)
|
9094
9221
|
};
|
9095
9222
|
default:
|
9096
9223
|
return;
|
@@ -9099,17 +9226,17 @@ const getProps$p = () => ({
|
|
9099
9226
|
return;
|
9100
9227
|
}
|
9101
9228
|
});
|
9102
|
-
watch(
|
9103
|
-
|
9229
|
+
watch(x, (R, H) => {
|
9230
|
+
R === !0 && te(), H === !0 && R === !1 && ie();
|
9104
9231
|
}, {
|
9105
9232
|
immediate: !0
|
9106
|
-
}), watch(y, (
|
9107
|
-
|
9233
|
+
}), watch(y, (R) => {
|
9234
|
+
R != null && R.dft_width && (M.value.kgWidth = R.dft_width);
|
9108
9235
|
}, {
|
9109
9236
|
immediate: !0
|
9110
9237
|
});
|
9111
|
-
function
|
9112
|
-
var
|
9238
|
+
function te() {
|
9239
|
+
var R;
|
9113
9240
|
o.store.emit(n.formID, "open", {
|
9114
9241
|
isCreating: l.value,
|
9115
9242
|
isUpdating: u.value,
|
@@ -9117,13 +9244,13 @@ const getProps$p = () => ({
|
|
9117
9244
|
isDeleting: g.value,
|
9118
9245
|
row: a.selectedRow.value,
|
9119
9246
|
model: o.model
|
9120
|
-
}), ((
|
9247
|
+
}), ((R = y.value) == null ? void 0 : R.dft_fullscreen_flg) === 1 && !p.value && (W.isFullscreen = !0);
|
9121
9248
|
}
|
9122
|
-
function
|
9123
|
-
var
|
9124
|
-
|
9249
|
+
function ie() {
|
9250
|
+
var R;
|
9251
|
+
M.value.kgWidth = ((R = y.value) == null ? void 0 : R.dft_width) || DEFAULT_WIDTH, W.isFullscreen = !1, o.store.emit(n.formID, "close");
|
9125
9252
|
}
|
9126
|
-
function
|
9253
|
+
function le() {
|
9127
9254
|
switch (!0) {
|
9128
9255
|
case l.value:
|
9129
9256
|
n.store.setIsCreating(n.formID, !1);
|
@@ -9139,41 +9266,41 @@ const getProps$p = () => ({
|
|
9139
9266
|
break;
|
9140
9267
|
}
|
9141
9268
|
}
|
9142
|
-
async function
|
9143
|
-
var
|
9269
|
+
async function ce() {
|
9270
|
+
var R, H;
|
9144
9271
|
try {
|
9145
9272
|
if (await o.store.emit(n.formID, "beforeOk", {
|
9146
|
-
rules:
|
9273
|
+
rules: z,
|
9147
9274
|
model: o.model
|
9148
9275
|
}))
|
9149
9276
|
return;
|
9150
9277
|
try {
|
9151
|
-
await ((
|
9278
|
+
await ((R = B.value) == null ? void 0 : R.validate());
|
9152
9279
|
} catch (Z) {
|
9153
9280
|
KgUtil.throwIfNotFormError(Z);
|
9154
9281
|
}
|
9155
|
-
switch (await ((
|
9282
|
+
switch (await ((H = B.value) == null ? void 0 : H.validate()), !0) {
|
9156
9283
|
case l.value:
|
9157
|
-
await
|
9284
|
+
await fe();
|
9158
9285
|
break;
|
9159
9286
|
case u.value:
|
9160
|
-
await
|
9287
|
+
await ge();
|
9161
9288
|
break;
|
9162
9289
|
case c.value:
|
9163
|
-
await
|
9290
|
+
await pe();
|
9164
9291
|
break;
|
9165
9292
|
case g.value:
|
9166
|
-
await
|
9293
|
+
await me();
|
9167
9294
|
break;
|
9168
9295
|
}
|
9169
|
-
} catch (
|
9170
|
-
KgUtil.throwIfNotFormError(
|
9296
|
+
} catch (Q) {
|
9297
|
+
KgUtil.throwIfNotFormError(Q);
|
9171
9298
|
}
|
9172
9299
|
}
|
9173
|
-
async function
|
9174
|
-
var
|
9175
|
-
const
|
9176
|
-
if (!
|
9300
|
+
async function fe() {
|
9301
|
+
var H, Q, Z, re, ne, ae, oe;
|
9302
|
+
const R = (H = _.value) == null ? void 0 : H.cmd;
|
9303
|
+
if (!R) {
|
9177
9304
|
Logger.error("[KgSubmit] \u521B\u5EFA\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
|
9178
9305
|
button: _.value
|
9179
9306
|
});
|
@@ -9182,21 +9309,21 @@ const getProps$p = () => ({
|
|
9182
9309
|
n.store.setIsCreatingRequesting(n.formID, !0);
|
9183
9310
|
try {
|
9184
9311
|
await httpClient().request({
|
9185
|
-
method: (Z = (
|
9186
|
-
url:
|
9187
|
-
params: KgVarUtil.parseCommandParameter((
|
9312
|
+
method: (Z = (Q = _.value) == null ? void 0 : Q.cmd_method) != null ? Z : "POST",
|
9313
|
+
url: R,
|
9314
|
+
params: KgVarUtil.parseCommandParameter((ne = (re = _.value) == null ? void 0 : re.cmd_prm) != null ? ne : ""),
|
9188
9315
|
data: toRaw(o.model.value)
|
9189
|
-
}), message.success(r.t("kg.createSuccess")), o.store.emit(n.formID, "ok"), n.store.setIsCreating(n.formID, !1), (
|
9316
|
+
}), message.success(r.t("kg.createSuccess")), o.store.emit(n.formID, "ok"), n.store.setIsCreating(n.formID, !1), (oe = (ae = s.search).value) == null || oe.call(ae, !0);
|
9190
9317
|
} catch (se) {
|
9191
9318
|
console.error(se);
|
9192
9319
|
} finally {
|
9193
9320
|
n.store.setIsCreatingRequesting(n.formID, !1);
|
9194
9321
|
}
|
9195
9322
|
}
|
9196
|
-
async function
|
9197
|
-
var
|
9198
|
-
const
|
9199
|
-
if (!
|
9323
|
+
async function ge() {
|
9324
|
+
var H, Q, Z, re, ne, ae, oe;
|
9325
|
+
const R = (H = b.value) == null ? void 0 : H.cmd;
|
9326
|
+
if (!R) {
|
9200
9327
|
Logger.error("[KgSubmit] \u66F4\u65B0\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
|
9201
9328
|
button: b.value
|
9202
9329
|
});
|
@@ -9204,21 +9331,21 @@ const getProps$p = () => ({
|
|
9204
9331
|
}
|
9205
9332
|
try {
|
9206
9333
|
n.store.setIsUpdatingRequesting(n.formID, !0), await httpClient().request({
|
9207
|
-
method: (Z = (
|
9208
|
-
url:
|
9209
|
-
params: KgVarUtil.parseCommandParameter((
|
9334
|
+
method: (Z = (Q = b.value) == null ? void 0 : Q.cmd_method) != null ? Z : "POST",
|
9335
|
+
url: R,
|
9336
|
+
params: KgVarUtil.parseCommandParameter((ne = (re = b.value) == null ? void 0 : re.cmd_prm) != null ? ne : ""),
|
9210
9337
|
data: toRaw(o.model.value)
|
9211
|
-
}), message.success(r.t("kg.updateSuccess")), o.store.emit(n.formID, "ok"), n.store.setIsUpdating(n.formID, !1), (
|
9338
|
+
}), message.success(r.t("kg.updateSuccess")), o.store.emit(n.formID, "ok"), n.store.setIsUpdating(n.formID, !1), (oe = (ae = s.search).value) == null || oe.call(ae);
|
9212
9339
|
} catch (se) {
|
9213
9340
|
console.error(se);
|
9214
9341
|
} finally {
|
9215
9342
|
n.store.setIsUpdatingRequesting(n.formID, !1);
|
9216
9343
|
}
|
9217
9344
|
}
|
9218
|
-
async function
|
9219
|
-
var
|
9220
|
-
const
|
9221
|
-
if (!
|
9345
|
+
async function pe() {
|
9346
|
+
var H, Q, Z, re, ne, ae, oe;
|
9347
|
+
const R = (H = m.value) == null ? void 0 : H.cmd;
|
9348
|
+
if (!R) {
|
9222
9349
|
Logger.error("[KgSubmit] \u590D\u5236\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
|
9223
9350
|
button: m.value
|
9224
9351
|
});
|
@@ -9228,21 +9355,21 @@ const getProps$p = () => ({
|
|
9228
9355
|
n.store.setIsCopyingRequesting(n.formID, !0);
|
9229
9356
|
const se = toRaw(o.model.value);
|
9230
9357
|
delete se.id, await httpClient().request({
|
9231
|
-
method: (Z = (
|
9232
|
-
url:
|
9233
|
-
params: KgVarUtil.parseCommandParameter((
|
9358
|
+
method: (Z = (Q = m.value) == null ? void 0 : Q.cmd_method) != null ? Z : "POST",
|
9359
|
+
url: R,
|
9360
|
+
params: KgVarUtil.parseCommandParameter((ne = (re = m.value) == null ? void 0 : re.cmd_prm) != null ? ne : ""),
|
9234
9361
|
data: toRaw(o.model.value)
|
9235
|
-
}), message.success(r.t("kg.copySuccess")), o.store.emit(n.formID, "ok"), n.store.setIsCopying(n.formID, !1), (
|
9362
|
+
}), message.success(r.t("kg.copySuccess")), o.store.emit(n.formID, "ok"), n.store.setIsCopying(n.formID, !1), (oe = (ae = s.search).value) == null || oe.call(ae, !0);
|
9236
9363
|
} catch (se) {
|
9237
9364
|
console.error(se);
|
9238
9365
|
} finally {
|
9239
9366
|
n.store.setIsCopyingRequesting(n.formID, !1);
|
9240
9367
|
}
|
9241
9368
|
}
|
9242
|
-
async function
|
9243
|
-
var
|
9244
|
-
const
|
9245
|
-
if (!
|
9369
|
+
async function me() {
|
9370
|
+
var H, Q, Z, re, ne, ae, oe;
|
9371
|
+
const R = (H = v.value) == null ? void 0 : H.cmd;
|
9372
|
+
if (!R) {
|
9246
9373
|
Logger.error("[KgSubmit] \u5220\u9664\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
|
9247
9374
|
button: v.value
|
9248
9375
|
});
|
@@ -9250,87 +9377,87 @@ const getProps$p = () => ({
|
|
9250
9377
|
}
|
9251
9378
|
try {
|
9252
9379
|
n.store.setIsDeletingRequesting(n.formID, !0), await httpClient().request({
|
9253
|
-
method: (Z = (
|
9254
|
-
url:
|
9380
|
+
method: (Z = (Q = v.value) == null ? void 0 : Q.cmd_method) != null ? Z : "DELETE",
|
9381
|
+
url: R,
|
9255
9382
|
params: {
|
9256
|
-
ids: (
|
9383
|
+
ids: (ne = (re = a.selectedRows.value) == null ? void 0 : re.map((se) => {
|
9257
9384
|
var ue;
|
9258
9385
|
return (ue = se.id) != null ? ue : "";
|
9259
|
-
})) != null ?
|
9386
|
+
})) != null ? ne : []
|
9260
9387
|
}
|
9261
9388
|
}, {
|
9262
9389
|
joinParamsToUrl: !0
|
9263
|
-
}), message.success(r.t("kg.deleteSuccess")), o.store.emit(n.formID, "ok"), n.store.setIsDeleting(n.formID, !1), (
|
9390
|
+
}), message.success(r.t("kg.deleteSuccess")), o.store.emit(n.formID, "ok"), n.store.setIsDeleting(n.formID, !1), (oe = (ae = s.search).value) == null || oe.call(ae, !0);
|
9264
9391
|
} catch (se) {
|
9265
9392
|
console.error(se);
|
9266
9393
|
} finally {
|
9267
9394
|
n.store.setIsDeletingRequesting(n.formID, !1);
|
9268
9395
|
}
|
9269
9396
|
}
|
9270
|
-
function
|
9271
|
-
var
|
9272
|
-
const
|
9273
|
-
return isFunction$2(
|
9274
|
-
kgVarName:
|
9397
|
+
function de(R) {
|
9398
|
+
var Q, Z;
|
9399
|
+
const H = (Z = (Q = i == null ? void 0 : i.KgSubmit) == null ? void 0 : Q["KgForm.Item"]) == null ? void 0 : Z[R.var_nam];
|
9400
|
+
return isFunction$2(H) ? createVNode(KgForm.Item, {
|
9401
|
+
kgVarName: R.var_nam,
|
9275
9402
|
kgContext: KG_FORM_CONTEXT.SUBMIT,
|
9276
|
-
kgRules:
|
9277
|
-
onKgSubmit:
|
9403
|
+
kgRules: z.value[R.var_nam],
|
9404
|
+
onKgSubmit: ce
|
9278
9405
|
}, {
|
9279
9406
|
control: ({
|
9280
|
-
varName:
|
9281
|
-
props:
|
9282
|
-
model:
|
9283
|
-
varConfig:
|
9407
|
+
varName: re,
|
9408
|
+
props: ne,
|
9409
|
+
model: ae,
|
9410
|
+
varConfig: oe,
|
9284
9411
|
varProfileDetail: se,
|
9285
9412
|
varSubmitField: ue
|
9286
|
-
}) =>
|
9287
|
-
varName:
|
9288
|
-
props:
|
9289
|
-
model:
|
9290
|
-
varConfig:
|
9413
|
+
}) => H({
|
9414
|
+
varName: re,
|
9415
|
+
props: ne,
|
9416
|
+
model: ae,
|
9417
|
+
varConfig: oe,
|
9291
9418
|
varProfileDetail: se,
|
9292
9419
|
varSubmitField: ue
|
9293
9420
|
})
|
9294
9421
|
}) : createVNode(KgForm.Item, {
|
9295
|
-
kgVarName:
|
9422
|
+
kgVarName: R.var_nam,
|
9296
9423
|
kgContext: KG_FORM_CONTEXT.SUBMIT,
|
9297
|
-
kgRules:
|
9298
|
-
onKgSubmit:
|
9424
|
+
kgRules: z.value[R.var_nam],
|
9425
|
+
onKgSubmit: ce
|
9299
9426
|
}, null);
|
9300
9427
|
}
|
9301
|
-
function
|
9302
|
-
var
|
9303
|
-
let
|
9428
|
+
function he() {
|
9429
|
+
var Q;
|
9430
|
+
let R, H;
|
9304
9431
|
return createVNode(KgResizable, {
|
9305
|
-
kgType: ((
|
9306
|
-
kgMinWidth:
|
9307
|
-
kgMaxWidth:
|
9308
|
-
|
9309
|
-
|
9310
|
-
"onUpdate:kgWidth": (
|
9432
|
+
kgType: ((Q = y.value) == null ? void 0 : Q.display_type) === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL ? "right" : "left",
|
9433
|
+
kgMinWidth: L.value,
|
9434
|
+
kgMaxWidth: G.value,
|
9435
|
+
kgWidth: P.value,
|
9436
|
+
kgDisabled: N.value,
|
9437
|
+
"onUpdate:kgWidth": (Z) => M.value.kgWidth = Z
|
9311
9438
|
}, {
|
9312
9439
|
default: () => [createVNode(Spin, {
|
9313
9440
|
spinning: C.value
|
9314
9441
|
}, {
|
9315
9442
|
default: () => {
|
9316
|
-
var
|
9443
|
+
var Z, re;
|
9317
9444
|
return [createVNode(KgForm, {
|
9318
|
-
ref:
|
9445
|
+
ref: B,
|
9319
9446
|
model: o.model.value,
|
9320
|
-
layout: (
|
9321
|
-
labelCol:
|
9322
|
-
wrapperCol:
|
9447
|
+
layout: (re = (Z = y.value) == null ? void 0 : Z.layout) != null ? re : "vertical",
|
9448
|
+
labelCol: ee.value,
|
9449
|
+
wrapperCol: q.value
|
9323
9450
|
}, {
|
9324
9451
|
default: () => [createVNode("div", {
|
9325
|
-
ref:
|
9326
|
-
}, [
|
9452
|
+
ref: Y
|
9453
|
+
}, [A.value.length > 0 && createVNode(Row, {
|
9327
9454
|
gutter: 12
|
9328
|
-
}, _isSlot$7(
|
9329
|
-
default: () => [
|
9330
|
-
}),
|
9455
|
+
}, _isSlot$7(R = A.value.map(de)) ? R : {
|
9456
|
+
default: () => [R]
|
9457
|
+
}), A.value.length > 0 && U.value.length > 0 && createVNode(Divider, null, null), U.value.length > 0 && createVNode(Row, {
|
9331
9458
|
gutter: 12
|
9332
|
-
}, _isSlot$7(
|
9333
|
-
default: () => [
|
9459
|
+
}, _isSlot$7(H = U.value.map(de)) ? H : {
|
9460
|
+
default: () => [H]
|
9334
9461
|
}), p.value && createVNode("div", {
|
9335
9462
|
style: "text-align: center; padding: 6px 0 12px;"
|
9336
9463
|
}, [r.t("kg.confirmDelete")])])]
|
@@ -9339,56 +9466,56 @@ const getProps$p = () => ({
|
|
9339
9466
|
})]
|
9340
9467
|
});
|
9341
9468
|
}
|
9342
|
-
function
|
9343
|
-
let
|
9469
|
+
function _e() {
|
9470
|
+
let R, H;
|
9344
9471
|
return createVNode("div", null, [createVNode(Button, {
|
9345
9472
|
type: "primary",
|
9346
9473
|
ghost: !w.value,
|
9347
9474
|
disabled: w.value,
|
9348
|
-
onClick:
|
9349
|
-
}, _isSlot$7(
|
9350
|
-
default: () => [
|
9475
|
+
onClick: le
|
9476
|
+
}, _isSlot$7(R = r.t("kg.cancel")) ? R : {
|
9477
|
+
default: () => [R]
|
9351
9478
|
}), createVNode(Button, {
|
9352
9479
|
type: "primary",
|
9353
|
-
disabled:
|
9480
|
+
disabled: O.value,
|
9354
9481
|
loading: $.value,
|
9355
9482
|
danger: !!g.value,
|
9356
|
-
onClick:
|
9357
|
-
}, _isSlot$7(
|
9358
|
-
default: () => [
|
9483
|
+
onClick: ce
|
9484
|
+
}, _isSlot$7(H = r.t(g.value ? "kg.delete" : "kg.save")) ? H : {
|
9485
|
+
default: () => [H]
|
9359
9486
|
})]);
|
9360
9487
|
}
|
9361
|
-
function
|
9488
|
+
function ve() {
|
9362
9489
|
return createVNode("div", {
|
9363
|
-
title:
|
9364
|
-
}, [
|
9490
|
+
title: J.title.value
|
9491
|
+
}, [J.title.value]);
|
9365
9492
|
}
|
9366
|
-
function
|
9493
|
+
function be() {
|
9367
9494
|
return createVNode(KgSubmitHeader, {
|
9368
|
-
isFullscreen:
|
9369
|
-
"onUpdate:isFullscreen": (
|
9495
|
+
isFullscreen: W.isFullscreen,
|
9496
|
+
"onUpdate:isFullscreen": (R) => W.isFullscreen = R,
|
9370
9497
|
kgShowFullscreenButton: !p.value,
|
9371
9498
|
kgShowConfigButton: !p.value && e.kgShowConfigButton,
|
9372
|
-
onKgCancel:
|
9499
|
+
onKgCancel: le
|
9373
9500
|
}, null);
|
9374
9501
|
}
|
9375
9502
|
return onUnmounted(() => {
|
9376
9503
|
o.store.dispose(n.formID);
|
9377
9504
|
}), () => createVNode(Drawer, {
|
9378
|
-
visible:
|
9505
|
+
visible: x.value,
|
9379
9506
|
placement: "right",
|
9380
9507
|
closable: !1,
|
9381
9508
|
maskClosable: !1,
|
9382
9509
|
keyboard: !1,
|
9383
9510
|
destroyOnClose: !0,
|
9384
|
-
width:
|
9385
|
-
class:
|
9511
|
+
width: D.value,
|
9512
|
+
class: X.value,
|
9386
9513
|
"kg-frm-id": n.formID
|
9387
9514
|
}, {
|
9388
|
-
title:
|
9389
|
-
extra:
|
9390
|
-
default:
|
9391
|
-
footer:
|
9515
|
+
title: ve,
|
9516
|
+
extra: be,
|
9517
|
+
default: he,
|
9518
|
+
footer: _e
|
9392
9519
|
});
|
9393
9520
|
}
|
9394
9521
|
}), KgVar$1 = "", getProps$o = () => ({
|
@@ -9607,8 +9734,8 @@ const getProps$l = () => ({
|
|
9607
9734
|
}) => {
|
9608
9735
|
const u = n == null ? void 0 : n.store.getVarGridConfig(n.formID);
|
9609
9736
|
return s = watch(l, (c) => {
|
9610
|
-
var g, p, _, b, m, v, C, y, E, k,
|
9611
|
-
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 = (
|
9737
|
+
var g, p, _, b, m, v, C, y, E, k, V;
|
9738
|
+
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);
|
9612
9739
|
}, {
|
9613
9740
|
immediate: !0
|
9614
9741
|
}), !1;
|
@@ -9766,19 +9893,23 @@ function _useServices() {
|
|
9766
9893
|
filterVarGridDetailByKey: t
|
9767
9894
|
};
|
9768
9895
|
}
|
9769
|
-
const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save",
|
9770
|
-
name: "
|
9896
|
+
const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save", KgTableSettingVarGridMasterSaveAs = defineComponent({
|
9897
|
+
name: "KgTableSettingVarGridMasterSaveAs",
|
9771
9898
|
setup: function(e, {
|
9772
9899
|
slots: t,
|
9773
9900
|
emit: r
|
9774
9901
|
}) {
|
9775
9902
|
const n = inject(KG_DI_FORM_ID, null), a = useKgVar(n);
|
9776
|
-
|
9903
|
+
useKgVar(FORM_ID__VAR_GRID_MASTER__SAVE, !0, a.store.getFormLevel(a.formID) + 1);
|
9904
|
+
const o = useKgSubmit(FORM_ID__VAR_GRID_MASTER__SAVE);
|
9905
|
+
return o.onOpen(async ({
|
9777
9906
|
model: s
|
9778
9907
|
}) => {
|
9779
|
-
var i, l;
|
9780
|
-
return s.value.grd_var_nam = (l = (i = a.currentVarGridMaster.value) == null ? void 0 : i.grd_var_nam) != null ? l : "", !1;
|
9781
|
-
}), (
|
9908
|
+
var i, l, u, c, g, p, _, b, m, v;
|
9909
|
+
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;
|
9910
|
+
}), o.onBeforeOk(async ({
|
9911
|
+
model: s
|
9912
|
+
}) => (s.value, !1)), o.onOk(async () => (a.store.retrieve(a.formID), !1)), () => createVNode(KgSubmit, null, null);
|
9782
9913
|
}
|
9783
9914
|
});
|
9784
9915
|
function _isSlot$5(e) {
|
@@ -9804,17 +9935,25 @@ const getProps$g = () => ({}), KgTableSetting = defineComponent({
|
|
9804
9935
|
function g(C) {
|
9805
9936
|
C.includes("1") || (i.value = "");
|
9806
9937
|
}
|
9807
|
-
function p() {
|
9938
|
+
async function p() {
|
9808
9939
|
var C;
|
9809
|
-
((C = a.currentVarGridMaster.value) == null ? void 0 : C.cust_lvl) === KG_CUSTOM_LEVEL.L0
|
9810
|
-
|
9811
|
-
|
9812
|
-
|
9813
|
-
|
9814
|
-
|
9815
|
-
|
9816
|
-
|
9817
|
-
|
9940
|
+
if (((C = a.currentVarGridMaster.value) == null ? void 0 : C.cust_lvl) === KG_CUSTOM_LEVEL.L0) {
|
9941
|
+
KgUtil.confirm({
|
9942
|
+
content: n.t("kg.KgTable.canNotUpdateSystemVarGridMaster"),
|
9943
|
+
okButtonProps: {
|
9944
|
+
danger: !1
|
9945
|
+
},
|
9946
|
+
onOk: async () => {
|
9947
|
+
u.value = !0, await nextTick(), a.store.setIsCopying(FORM_ID__VAR_GRID_MASTER__SAVE, !0);
|
9948
|
+
}
|
9949
|
+
});
|
9950
|
+
return;
|
9951
|
+
}
|
9952
|
+
await Update({
|
9953
|
+
data: new UpdateVarGridMasterQuery({
|
9954
|
+
...a.currentVarGridMaster.value
|
9955
|
+
})
|
9956
|
+
}), message.success(n.t("kg.updateSuccess"));
|
9818
9957
|
}
|
9819
9958
|
async function _() {
|
9820
9959
|
u.value = !0, await nextTick(), a.store.setIsCopying(FORM_ID__VAR_GRID_MASTER__SAVE, !0);
|
@@ -9835,7 +9974,7 @@ const getProps$g = () => ({}), KgTableSetting = defineComponent({
|
|
9835
9974
|
allowClear: !0
|
9836
9975
|
}, null), createVNode("ul", {
|
9837
9976
|
class: "ant-dropdown-menu ant-dropdown-menu-vertical"
|
9838
|
-
}, [(C = a.
|
9977
|
+
}, [(C = a.currentVarGridDetails.value) == null ? void 0 : C.map((y) => createVNode("li", {
|
9839
9978
|
class: "ant-dropdown-menu-item ant-dropdown-menu-item-only-child",
|
9840
9979
|
onClick: (E) => {
|
9841
9980
|
E.preventDefault(), E.stopPropagation(), c(y);
|
@@ -9868,11 +10007,12 @@ const getProps$g = () => ({}), KgTableSetting = defineComponent({
|
|
9868
10007
|
var E;
|
9869
10008
|
let C, y;
|
9870
10009
|
return createVNode(Fragment, null, [(E = a.varGridMasters.value) == null ? void 0 : E.map((k) => {
|
9871
|
-
var
|
10010
|
+
var V;
|
9872
10011
|
return createVNode(Menu.Item, {
|
9873
10012
|
key: k.id,
|
9874
|
-
class: k.id === ((
|
9875
|
-
"kg-var-nam": k.grd_var_nam
|
10013
|
+
class: k.id === ((V = a.currentVarGridMaster.value) == null ? void 0 : V.id) ? "selected" : "",
|
10014
|
+
"kg-var-nam": k.grd_var_nam,
|
10015
|
+
onClick: () => a.store.setCurrentVarGridMasterID(a.formID, k.id)
|
9876
10016
|
}, {
|
9877
10017
|
default: () => [a.t(k.grd_var_nam).value]
|
9878
10018
|
});
|
@@ -9919,7 +10059,7 @@ const getProps$g = () => ({}), KgTableSetting = defineComponent({
|
|
9919
10059
|
visible: l.visible,
|
9920
10060
|
"onUpdate:visible": (C) => l.visible = C,
|
9921
10061
|
hostFormID: a.formID
|
9922
|
-
}, null), u.value && createVNode(
|
10062
|
+
}, null), u.value && createVNode(KgTableSettingVarGridMasterSaveAs, null, null)]);
|
9923
10063
|
}
|
9924
10064
|
});
|
9925
10065
|
let store$4 = null;
|
@@ -10132,7 +10272,7 @@ function _useColumns() {
|
|
10132
10272
|
function _useLoading() {
|
10133
10273
|
const e = useKgVar(), t = useKgTable();
|
10134
10274
|
return {
|
10135
|
-
isLoading: computed(() => !!(t.isRetrieving.value || e.isRetrievingVar.value))
|
10275
|
+
isLoading: computed(() => !!(t.isRetrieving.value || e.isRetrievingVar.value || e.isRetrievingVarGridMaster.value))
|
10136
10276
|
};
|
10137
10277
|
}
|
10138
10278
|
function _useResizeObserver(e) {
|
@@ -10157,10 +10297,10 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
10157
10297
|
emit: r
|
10158
10298
|
}) {
|
10159
10299
|
const n = useKg(), a = useKgVar(), o = useKgSearch(), s = useKgButton(), i = useKgTable();
|
10160
|
-
o.onSearch((
|
10161
|
-
|
10300
|
+
o.onSearch((D) => {
|
10301
|
+
O(D);
|
10162
10302
|
}), o.onReset(() => {
|
10163
|
-
|
10303
|
+
O(!0);
|
10164
10304
|
});
|
10165
10305
|
const l = ref(!1), {
|
10166
10306
|
columns: u,
|
@@ -10170,212 +10310,212 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
10170
10310
|
} = _useLoading(), p = ref(null);
|
10171
10311
|
_useResizeObserver(p);
|
10172
10312
|
const _ = computed(() => a.store.getVarButtonSearch(a.formID)), b = computed(() => {
|
10173
|
-
var
|
10174
|
-
return ((
|
10313
|
+
var D;
|
10314
|
+
return ((D = a.varGridConfig.value) == null ? void 0 : D.mult_flg) === 1;
|
10175
10315
|
}), m = computed(() => {
|
10176
|
-
var
|
10177
|
-
return ((
|
10316
|
+
var D;
|
10317
|
+
return ((D = a.varGridConfig.value) == null ? void 0 : D.aut_load_flg) === 1;
|
10178
10318
|
}), v = computed(() => {
|
10179
|
-
var
|
10180
|
-
return ((
|
10319
|
+
var D;
|
10320
|
+
return ((D = a.varGridConfig.value) == null ? void 0 : D.show_bottom_left_flg) !== 0;
|
10181
10321
|
}), C = computed(() => {
|
10182
|
-
var
|
10183
|
-
return ((
|
10322
|
+
var D;
|
10323
|
+
return ((D = a.varGridConfig.value) == null ? void 0 : D.show_bottom_right_flg) !== 0;
|
10184
10324
|
}), y = computed(() => {
|
10185
|
-
var
|
10186
|
-
return JSON.parse((
|
10325
|
+
var D, x;
|
10326
|
+
return JSON.parse((x = (D = a.varGridConfig.value) == null ? void 0 : D.pg_size_opts) != null ? x : "[]");
|
10187
10327
|
}), E = computed(() => {
|
10188
|
-
var
|
10189
|
-
return (
|
10328
|
+
var D;
|
10329
|
+
return (D = a.varGridConfig.value) == null ? void 0 : D.pg_size_opt;
|
10190
10330
|
}), k = computed(() => {
|
10191
|
-
var
|
10192
|
-
return (
|
10193
|
-
}),
|
10194
|
-
var
|
10195
|
-
let
|
10196
|
-
pageNo:
|
10197
|
-
pageSize:
|
10198
|
-
...
|
10199
|
-
...(
|
10331
|
+
var D, x;
|
10332
|
+
return (x = (D = _.value) == null ? void 0 : D.cmd) != null ? x : null;
|
10333
|
+
}), V = computed(() => {
|
10334
|
+
var x, X, W, ee, q, te, ie;
|
10335
|
+
let D = {
|
10336
|
+
pageNo: A.pageIndex,
|
10337
|
+
pageSize: A.pageSize,
|
10338
|
+
...U,
|
10339
|
+
...(X = (x = o.model) == null ? void 0 : x.value) != null ? X : {}
|
10200
10340
|
};
|
10201
|
-
return _.value && (
|
10202
|
-
...
|
10203
|
-
...KgVarUtil.parseCommandParameter((ee = (
|
10204
|
-
}), (
|
10205
|
-
...
|
10341
|
+
return _.value && (D = {
|
10342
|
+
...D,
|
10343
|
+
...KgVarUtil.parseCommandParameter((ee = (W = _.value) == null ? void 0 : W.cmd_prm) != null ? ee : "")
|
10344
|
+
}), (q = a.varGridConfig.value) != null && q.cmd_prm && (D = {
|
10345
|
+
...D,
|
10206
10346
|
...KgVarUtil.parseCommandParameter((te = a.varGridConfig.value.cmd_prm) != null ? te : "")
|
10207
|
-
}), ((ie = a.varGridConfig.value) == null ? void 0 : ie.convert_sort_field_to_under_score_flg) === 1 &&
|
10347
|
+
}), ((ie = a.varGridConfig.value) == null ? void 0 : ie.convert_sort_field_to_under_score_flg) === 1 && D.column && (D.column = snakeCase$1(D.column)), D;
|
10208
10348
|
}), T = computed(() => {
|
10209
|
-
var
|
10210
|
-
if (((
|
10349
|
+
var D;
|
10350
|
+
if (((D = a.varGridConfig.value) == null ? void 0 : D.show_check_column_flg) === 1)
|
10211
10351
|
return {
|
10212
10352
|
fixed: "left",
|
10213
10353
|
columnWidth: KG_TABLE_TD_CHECK_WIDTH,
|
10214
10354
|
hideSelectAll: !b.value,
|
10215
10355
|
selectedRowKeys: I,
|
10216
10356
|
preserveSelectedRowKeys: !1,
|
10217
|
-
onSelect: (
|
10218
|
-
onChange: (
|
10357
|
+
onSelect: (x) => N(x),
|
10358
|
+
onChange: (x) => b.value && M(x)
|
10219
10359
|
};
|
10220
10360
|
}), K = computed(() => {
|
10221
|
-
let
|
10222
|
-
return !v.value && !C.value && (
|
10223
|
-
}),
|
10361
|
+
let D = "kg-table";
|
10362
|
+
return !v.value && !C.value && (D += " kg-table--no-bottom"), D;
|
10363
|
+
}), F = ref([]), I = ref([]), A = reactive({
|
10224
10364
|
pageIndex: 1,
|
10225
10365
|
pageSize: 10,
|
10226
10366
|
total: 0
|
10227
|
-
}),
|
10367
|
+
}), U = reactive({
|
10228
10368
|
column: void 0,
|
10229
10369
|
order: void 0
|
10230
|
-
}), $ = watch(E, (
|
10231
|
-
|
10370
|
+
}), $ = watch(E, (D) => {
|
10371
|
+
D && (setTimeout(() => $()), A.pageSize = D), l.value = !0;
|
10232
10372
|
});
|
10233
|
-
watch(y, (
|
10234
|
-
|
10235
|
-
}), watch([k, m, () => o.isReady], ([
|
10236
|
-
|
10373
|
+
watch(y, (D) => {
|
10374
|
+
D.length > 0 && !D.includes(A.pageSize) && (A.pageSize = E.value);
|
10375
|
+
}), watch([k, m, () => o.isReady], ([D, x, X]) => {
|
10376
|
+
D && x && X && !i.store.getIsRetrieved(a.formID) && O(!0);
|
10237
10377
|
}, {
|
10238
10378
|
immediate: !0
|
10239
10379
|
}), onUnmounted(() => {
|
10240
10380
|
i.store.dispose(a.formID);
|
10241
10381
|
});
|
10242
|
-
function w(
|
10382
|
+
function w(D, x) {
|
10243
10383
|
if (!!T.value) {
|
10244
|
-
if (!
|
10384
|
+
if (!x) {
|
10245
10385
|
I.value = [], i.store.setSelectedRows(a.formID, []);
|
10246
10386
|
return;
|
10247
10387
|
}
|
10248
|
-
switch (
|
10388
|
+
switch (D == null ? void 0 : D.detail) {
|
10249
10389
|
case 1:
|
10250
|
-
I.value = [
|
10251
|
-
var
|
10252
|
-
return (
|
10253
|
-
}).filter((
|
10390
|
+
I.value = [x.id], i.store.setSelectedRows(a.formID, I.value.map((X) => {
|
10391
|
+
var W;
|
10392
|
+
return (W = F.value) == null ? void 0 : W.find((ee) => ee.id === X);
|
10393
|
+
}).filter((X) => !!X));
|
10254
10394
|
break;
|
10255
10395
|
case 2:
|
10256
|
-
i.store.emit(a.formID, "rowDoubleClick",
|
10396
|
+
i.store.emit(a.formID, "rowDoubleClick", x);
|
10257
10397
|
break;
|
10258
10398
|
}
|
10259
10399
|
}
|
10260
10400
|
}
|
10261
|
-
function
|
10262
|
-
const
|
10263
|
-
|
10401
|
+
function O(D = !1) {
|
10402
|
+
const x = watch(l, (W) => {
|
10403
|
+
W && (setTimeout(() => x()), X());
|
10264
10404
|
}, {
|
10265
10405
|
immediate: !0
|
10266
10406
|
});
|
10267
|
-
async function
|
10268
|
-
var
|
10407
|
+
async function X() {
|
10408
|
+
var W, ee;
|
10269
10409
|
if (!k.value) {
|
10270
10410
|
Logger.error("[KgTable] \u67E5\u8BE2\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
|
10271
10411
|
button: _.value
|
10272
10412
|
});
|
10273
10413
|
return;
|
10274
10414
|
}
|
10275
|
-
|
10415
|
+
D && (A.pageIndex = 1), i.store.setIsRetrieving(a.formID, !0);
|
10276
10416
|
try {
|
10277
|
-
const
|
10417
|
+
const q = await httpClient().request({
|
10278
10418
|
method: "GET",
|
10279
10419
|
url: k.value,
|
10280
|
-
params:
|
10420
|
+
params: V.value
|
10281
10421
|
});
|
10282
|
-
|
10283
|
-
} catch (
|
10284
|
-
throw
|
10422
|
+
q ? isArrayLike(q) ? (F.value = q, A.total = q.length) : "total" in q && "records" in q && (F.value = (W = q.records) != null ? W : [], A.total = (ee = q.total) != null ? ee : 0) : (F.value = [], A.total = 0), i.store.emit(a.formID, "retrieve", q), w(), await nextTick(), i.store.setIsRetrieved(a.formID, !0);
|
10423
|
+
} catch (q) {
|
10424
|
+
throw q;
|
10285
10425
|
} finally {
|
10286
10426
|
i.store.setIsRetrieving(a.formID, !1);
|
10287
10427
|
}
|
10288
10428
|
}
|
10289
10429
|
}
|
10290
|
-
function
|
10291
|
-
I.value =
|
10292
|
-
var
|
10293
|
-
return (
|
10294
|
-
}).filter((
|
10430
|
+
function M(D) {
|
10431
|
+
I.value = D, i.store.setSelectedRows(a.formID, I.value.map((x) => {
|
10432
|
+
var X;
|
10433
|
+
return (X = F.value) == null ? void 0 : X.find((W) => W.id === x);
|
10434
|
+
}).filter((x) => !!x));
|
10295
10435
|
}
|
10296
|
-
function
|
10297
|
-
var
|
10436
|
+
function N(D) {
|
10437
|
+
var x, X;
|
10298
10438
|
switch (b.value) {
|
10299
10439
|
case !0:
|
10300
10440
|
{
|
10301
|
-
const
|
10302
|
-
I.value.includes(
|
10441
|
+
const W = D.id;
|
10442
|
+
I.value.includes(W) ? I.value = without$1(I.value, W) : I.value = [...(x = I.value) != null ? x : [], W];
|
10303
10443
|
}
|
10304
10444
|
break;
|
10305
10445
|
case !1:
|
10306
10446
|
{
|
10307
|
-
const
|
10308
|
-
(
|
10447
|
+
const W = D.id;
|
10448
|
+
(X = I.value) != null && X.includes(W) ? I.value = [] : I.value = [W];
|
10309
10449
|
}
|
10310
10450
|
break;
|
10311
10451
|
}
|
10312
|
-
i.store.setSelectedRows(a.formID, I.value.map((
|
10452
|
+
i.store.setSelectedRows(a.formID, I.value.map((W) => {
|
10313
10453
|
var ee;
|
10314
|
-
return (ee =
|
10315
|
-
}).filter((
|
10454
|
+
return (ee = F.value) == null ? void 0 : ee.find((q) => q.id === W);
|
10455
|
+
}).filter((W) => !!W));
|
10316
10456
|
}
|
10317
|
-
function L(
|
10318
|
-
|
10457
|
+
function L(D, x) {
|
10458
|
+
x.width = D, a.store.setVarGridDetailWidth(a.formID, x.dataIndex, D);
|
10319
10459
|
}
|
10320
|
-
async function
|
10460
|
+
async function G(D, x, X, W) {
|
10321
10461
|
var ee;
|
10322
|
-
switch (
|
10462
|
+
switch (W.action) {
|
10323
10463
|
case "sort":
|
10324
10464
|
{
|
10325
10465
|
await nextTick();
|
10326
|
-
let
|
10327
|
-
|
10466
|
+
let q = X;
|
10467
|
+
q.order ? (U.column = (ee = q.field) != null ? ee : void 0, U.order = q.order === "ascend" ? "asc" : q.order === "descend" ? "desc" : void 0) : (U.column = void 0, U.order = void 0), O(!0);
|
10328
10468
|
}
|
10329
10469
|
break;
|
10330
10470
|
}
|
10331
10471
|
}
|
10332
|
-
function
|
10333
|
-
|
10472
|
+
function P(D, x) {
|
10473
|
+
x !== A.pageSize ? (A.pageIndex = 1, A.pageSize = x) : A.pageIndex = D, O();
|
10334
10474
|
}
|
10335
|
-
function B(
|
10336
|
-
I.value = [
|
10337
|
-
var
|
10338
|
-
return (
|
10339
|
-
}).filter((
|
10475
|
+
function B(D) {
|
10476
|
+
I.value = [D.id], i.store.setSelectedRows(a.formID, I.value.map((x) => {
|
10477
|
+
var X;
|
10478
|
+
return (X = F.value) == null ? void 0 : X.find((W) => W.id === x);
|
10479
|
+
}).filter((x) => !!x)), s.click(a.formID, KG_BUTTON_TYPE.UPDATE);
|
10340
10480
|
}
|
10341
|
-
function
|
10342
|
-
title:
|
10343
|
-
column:
|
10481
|
+
function z({
|
10482
|
+
title: D,
|
10483
|
+
column: x
|
10344
10484
|
}) {
|
10345
|
-
switch (
|
10485
|
+
switch (x.dataIndex) {
|
10346
10486
|
case "index":
|
10347
10487
|
return createVNode(KgTableSetting, null, null);
|
10348
10488
|
default:
|
10349
|
-
return createVNode("pre", null, [
|
10489
|
+
return createVNode("pre", null, [D]);
|
10350
10490
|
}
|
10351
10491
|
}
|
10352
10492
|
function Y({
|
10353
|
-
column:
|
10354
|
-
index:
|
10355
|
-
record:
|
10356
|
-
value:
|
10493
|
+
column: D,
|
10494
|
+
index: x,
|
10495
|
+
record: X,
|
10496
|
+
value: W,
|
10357
10497
|
text: ee
|
10358
10498
|
}) {
|
10359
|
-
let
|
10360
|
-
|
10361
|
-
index:
|
10362
|
-
record:
|
10363
|
-
column:
|
10499
|
+
let q = "";
|
10500
|
+
D.customRender ? q = D.customRender({
|
10501
|
+
index: x,
|
10502
|
+
record: X,
|
10503
|
+
column: D,
|
10364
10504
|
text: ee,
|
10365
|
-
value:
|
10366
|
-
renderIndex:
|
10367
|
-
}) :
|
10505
|
+
value: W,
|
10506
|
+
renderIndex: x
|
10507
|
+
}) : q = W;
|
10368
10508
|
const te = createVNode(KgTableCell, {
|
10369
|
-
kgRow:
|
10370
|
-
kgValue:
|
10371
|
-
kgVarName:
|
10372
|
-
onKgUpdateLinkClick: () => B(
|
10509
|
+
kgRow: X,
|
10510
|
+
kgValue: q,
|
10511
|
+
kgVarName: D.dataIndex,
|
10512
|
+
onKgUpdateLinkClick: () => B(X)
|
10373
10513
|
}, null);
|
10374
10514
|
return t.bodyCell ? t.bodyCell({
|
10375
|
-
value:
|
10376
|
-
record:
|
10377
|
-
index:
|
10378
|
-
column:
|
10515
|
+
value: W,
|
10516
|
+
record: X,
|
10517
|
+
index: x,
|
10518
|
+
column: D,
|
10379
10519
|
defaultRender: te
|
10380
10520
|
}) : te;
|
10381
10521
|
}
|
@@ -10396,17 +10536,17 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
10396
10536
|
pagination: !1,
|
10397
10537
|
showSorterTooltip: !1,
|
10398
10538
|
columns: u.value,
|
10399
|
-
dataSource:
|
10539
|
+
dataSource: F.value,
|
10400
10540
|
loading: g.value,
|
10401
10541
|
rowKey: "id",
|
10402
10542
|
rowSelection: T.value,
|
10403
|
-
customRow: (
|
10404
|
-
onClick: (
|
10543
|
+
customRow: (D) => ({
|
10544
|
+
onClick: (x) => w(x, D)
|
10405
10545
|
}),
|
10406
10546
|
onResizeColumn: L,
|
10407
|
-
onChange:
|
10547
|
+
onChange: G
|
10408
10548
|
}, {
|
10409
|
-
headerCell:
|
10549
|
+
headerCell: z,
|
10410
10550
|
bodyCell: Y,
|
10411
10551
|
emptyText: J
|
10412
10552
|
}), (v.value || C.value) && createVNode("div", {
|
@@ -10415,7 +10555,7 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
10415
10555
|
class: "left"
|
10416
10556
|
}, [v.value && createVNode(KgTableInfo, {
|
10417
10557
|
kgShowClearCheck: I.value.length > 0,
|
10418
|
-
kgShowClearTable:
|
10558
|
+
kgShowClearTable: A.total > 0,
|
10419
10559
|
kgShowLocate: I.value.length === 1,
|
10420
10560
|
kgTotal: I.value.length,
|
10421
10561
|
kgDisabled: g.value
|
@@ -10423,23 +10563,23 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
10423
10563
|
class: "right"
|
10424
10564
|
}, [C.value && createVNode(Pagination, {
|
10425
10565
|
size: "default",
|
10426
|
-
current:
|
10427
|
-
pageSize:
|
10428
|
-
pageSizeOptions: y.value.map((
|
10429
|
-
total:
|
10566
|
+
current: A.pageIndex,
|
10567
|
+
pageSize: A.pageSize,
|
10568
|
+
pageSizeOptions: y.value.map((D) => String(D)),
|
10569
|
+
total: A.total,
|
10430
10570
|
showSizeChanger: !0,
|
10431
10571
|
showQuickJumper: !1,
|
10432
10572
|
hideOnSinglePage: !1,
|
10433
|
-
disabled: g.value ||
|
10573
|
+
disabled: g.value || A.total === 0,
|
10434
10574
|
locale: {
|
10435
10575
|
page: ""
|
10436
10576
|
},
|
10437
|
-
showTotal: (
|
10438
|
-
from:
|
10439
|
-
to:
|
10440
|
-
total:
|
10577
|
+
showTotal: (D, x) => n.t("kg.KgTable.totalText", {
|
10578
|
+
from: x[0],
|
10579
|
+
to: x[1],
|
10580
|
+
total: D
|
10441
10581
|
}),
|
10442
|
-
onChange: (
|
10582
|
+
onChange: (D, x) => P(D, x)
|
10443
10583
|
}, null)])])]);
|
10444
10584
|
}
|
10445
10585
|
}), getProps$f = () => ({
|
@@ -10776,8 +10916,8 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
10776
10916
|
params: KgVarUtil.parseCommandParameter((E = (y = e.kgButton) == null ? void 0 : y.cmd_prm) != null ? E : ""),
|
10777
10917
|
data: _ ? b != null ? b : [] : (k = b == null ? void 0 : b[0]) != null ? k : {}
|
10778
10918
|
});
|
10779
|
-
} catch (
|
10780
|
-
console.error(
|
10919
|
+
} catch (V) {
|
10920
|
+
console.error(V);
|
10781
10921
|
} finally {
|
10782
10922
|
r.store.setIsOtherRequesting(r.formID, !1), l == null || l.hideLoading();
|
10783
10923
|
}
|
@@ -11549,7 +11689,7 @@ const leftVarProfileDetailColumns = (e) => {
|
|
11549
11689
|
row: C,
|
11550
11690
|
model: y
|
11551
11691
|
}) => {
|
11552
|
-
var k,
|
11692
|
+
var k, V, T;
|
11553
11693
|
const E = i.store.getSystemVarProfileDetails(i.formID);
|
11554
11694
|
switch (l.value = E ? cloneDeep(unref(toRaw(E))) : [], !0) {
|
11555
11695
|
case b:
|
@@ -11560,24 +11700,24 @@ const leftVarProfileDetailColumns = (e) => {
|
|
11560
11700
|
if (C != null && C.id)
|
11561
11701
|
try {
|
11562
11702
|
s.store.setIsLoading(n.formID, !0);
|
11563
|
-
const
|
11703
|
+
const K = await QueryByID({
|
11564
11704
|
params: {
|
11565
11705
|
id: C.id
|
11566
11706
|
}
|
11567
11707
|
});
|
11568
|
-
l.value = l.value.map((
|
11569
|
-
var
|
11570
|
-
const
|
11571
|
-
return
|
11572
|
-
...P,
|
11708
|
+
l.value = l.value.map((I) => {
|
11709
|
+
var U;
|
11710
|
+
const A = (U = K == null ? void 0 : K.varProfileDetails) == null ? void 0 : U.find(($) => $.var_nam === I.var_nam);
|
11711
|
+
return A ? {
|
11573
11712
|
...I,
|
11574
|
-
|
11575
|
-
|
11713
|
+
...A,
|
11714
|
+
id: I.id
|
11715
|
+
} : I;
|
11576
11716
|
});
|
11577
|
-
const
|
11578
|
-
u.value = l.value.filter((
|
11579
|
-
} catch (
|
11580
|
-
throw
|
11717
|
+
const F = (V = (k = K == null ? void 0 : K.varProfileDetails) == null ? void 0 : k.map((I) => I.var_nam)) != null ? V : [];
|
11718
|
+
u.value = l.value.filter((I) => F.includes(I.var_nam)).map((I) => I.id);
|
11719
|
+
} catch (K) {
|
11720
|
+
throw K;
|
11581
11721
|
} finally {
|
11582
11722
|
s.store.setIsLoading(n.formID, !1);
|
11583
11723
|
}
|
@@ -11587,15 +11727,16 @@ const leftVarProfileDetailColumns = (e) => {
|
|
11587
11727
|
}
|
11588
11728
|
switch (!0) {
|
11589
11729
|
case v:
|
11590
|
-
y.value.prf_var_nam = y.value.prf_var_nam + "_COPY";
|
11730
|
+
y.value.prf_var_nam = ((T = y.value.prf_var_nam) != null ? T : "") + "_COPY";
|
11591
11731
|
break;
|
11592
11732
|
}
|
11593
11733
|
return !1;
|
11594
11734
|
}), s.onBeforeOk(async ({
|
11595
11735
|
model: b
|
11596
11736
|
}) => {
|
11597
|
-
var
|
11598
|
-
|
11737
|
+
var v, C;
|
11738
|
+
const m = b.value;
|
11739
|
+
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;
|
11599
11740
|
}), s.onOk(async () => (i.store.retrieve(i.formID), !1)), o.onBeforeUpdate(({
|
11600
11741
|
row: b
|
11601
11742
|
}) => (b == null ? void 0 : b.cust_lvl) === KG_CUSTOM_LEVEL.L0 ? new Promise((m) => {
|
@@ -11630,17 +11771,17 @@ const leftVarProfileDetailColumns = (e) => {
|
|
11630
11771
|
showSearch: !0,
|
11631
11772
|
showSelectAll: !1,
|
11632
11773
|
searchPlaceholder: " ",
|
11633
|
-
filterOption: (k,
|
11774
|
+
filterOption: (k, V) => {
|
11634
11775
|
var T;
|
11635
|
-
return !!((T =
|
11776
|
+
return !!((T = V.var_nam) != null && T.includes(k));
|
11636
11777
|
}
|
11637
11778
|
}, {
|
11638
11779
|
children: ({
|
11639
11780
|
direction: k,
|
11640
|
-
filteredItems:
|
11781
|
+
filteredItems: V,
|
11641
11782
|
selectedKeys: T,
|
11642
11783
|
disabled: K,
|
11643
|
-
onItemSelectAll:
|
11784
|
+
onItemSelectAll: F,
|
11644
11785
|
onItemSelect: I
|
11645
11786
|
}) => createVNode(Table, {
|
11646
11787
|
pagination: !1,
|
@@ -11652,14 +11793,14 @@ const leftVarProfileDetailColumns = (e) => {
|
|
11652
11793
|
},
|
11653
11794
|
columns: k === "left" ? leftVarProfileDetailColumns(e.hostFormID) : rightVarProfileDetailColumns(e.hostFormID),
|
11654
11795
|
rowKey: "id",
|
11655
|
-
dataSource:
|
11656
|
-
customRow: (
|
11657
|
-
onClick: (
|
11796
|
+
dataSource: V,
|
11797
|
+
customRow: (A) => ({
|
11798
|
+
onClick: (U) => _(U, A, k, T)
|
11658
11799
|
}),
|
11659
11800
|
rowSelection: g({
|
11660
11801
|
disabled: K,
|
11661
11802
|
selectedKeys: T,
|
11662
|
-
onItemSelectAll:
|
11803
|
+
onItemSelectAll: F,
|
11663
11804
|
onItemSelect: I
|
11664
11805
|
})
|
11665
11806
|
}, null)
|
@@ -11680,9 +11821,9 @@ const leftVarProfileDetailColumns = (e) => {
|
|
11680
11821
|
disabled: b || y.disabled
|
11681
11822
|
}),
|
11682
11823
|
onSelectAll(y, E) {
|
11683
|
-
const k = E.filter((
|
11684
|
-
key:
|
11685
|
-
}) =>
|
11824
|
+
const k = E.filter((V) => !V.disabled).map(({
|
11825
|
+
key: V
|
11826
|
+
}) => V);
|
11686
11827
|
v(k, y);
|
11687
11828
|
},
|
11688
11829
|
onSelect({
|
@@ -11821,11 +11962,11 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
|
|
11821
11962
|
const t = useKg(), r = useKgVar(), n = useKgSearch(), a = useKgTable();
|
11822
11963
|
_useLayoutHeaderResizeObserver();
|
11823
11964
|
const o = computed(() => r.store.getFormLevel(r.formID)), s = computed(() => r.store.getVarProfileConfig(r.formID)), i = computed(() => {
|
11824
|
-
var
|
11825
|
-
return o.value > 0 ? !1 : ((
|
11965
|
+
var P;
|
11966
|
+
return o.value > 0 ? !1 : ((P = s.value) == null ? void 0 : P.header_teleport_flg) !== 0;
|
11826
11967
|
}), 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(() => {
|
11827
|
-
var
|
11828
|
-
return !!(a.isRetrieving.value || ((
|
11968
|
+
var P, B;
|
11969
|
+
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));
|
11829
11970
|
}), p = computed(() => !!a.isRetrieving.value), _ = computed(() => !!a.isRetrieving.value), b = ref(null), m = ref({
|
11830
11971
|
kgHeight: c.value
|
11831
11972
|
}), v = ref({
|
@@ -11833,12 +11974,12 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
|
|
11833
11974
|
});
|
11834
11975
|
let C;
|
11835
11976
|
const y = computed(() => m.value.kgHeight === c.value), E = computed(() => r.store.getVarButtonSearch(r.formID)), k = computed(() => {
|
11836
|
-
var
|
11837
|
-
if (r.t((
|
11838
|
-
return r.t((
|
11839
|
-
}),
|
11840
|
-
var
|
11841
|
-
switch ((
|
11977
|
+
var P, B, z;
|
11978
|
+
if (r.t((P = E.value) == null ? void 0 : P.var_nam).value !== ((B = E.value) == null ? void 0 : B.var_nam))
|
11979
|
+
return r.t((z = E.value) == null ? void 0 : z.var_nam).value;
|
11980
|
+
}), V = computed(() => {
|
11981
|
+
var P;
|
11982
|
+
switch ((P = E.value) == null ? void 0 : P.primary_flg) {
|
11842
11983
|
case 1:
|
11843
11984
|
return !0;
|
11844
11985
|
case 0:
|
@@ -11847,19 +11988,19 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
|
|
11847
11988
|
return !0;
|
11848
11989
|
}
|
11849
11990
|
}), T = computed(() => {
|
11850
|
-
var
|
11851
|
-
return ((
|
11852
|
-
}), K = computed(() => !!(r.isRetrievingVar.value || r.isRetrievingVarProfileMaster.value || i.value && !!r.isOtherRequesting.value)),
|
11853
|
-
let
|
11854
|
-
return T.value && (
|
11855
|
-
});
|
11856
|
-
watch(r.currentVarProfileDetails, (
|
11857
|
-
if (
|
11991
|
+
var P;
|
11992
|
+
return ((P = s.value) == null ? void 0 : P.vis_flg) === 1;
|
11993
|
+
}), K = computed(() => !!(r.isRetrievingVar.value || r.isRetrievingVarProfileMaster.value || i.value && !!r.isOtherRequesting.value)), F = computed(() => !!r.isRetrievingVar.value || !!r.isRetrievingVarProfileMaster.value), I = computed(() => {
|
11994
|
+
let P = "kg-search";
|
11995
|
+
return T.value && (P += " kg-search--visible"), i.value && (P += " kg-search--teleport"), P;
|
11996
|
+
});
|
11997
|
+
watch(r.currentVarProfileDetails, (P) => {
|
11998
|
+
if (P) {
|
11858
11999
|
const B = {};
|
11859
|
-
|
11860
|
-
B[
|
11861
|
-
}), m.value.kgHeight = l.value, n.store.setModel(r.formID, reactive(B)), T.value ? (C == null || C(), C = watch(b, (
|
11862
|
-
|
12000
|
+
P.forEach((z) => {
|
12001
|
+
B[z.var_nam] = "";
|
12002
|
+
}), m.value.kgHeight = l.value, n.store.setModel(r.formID, reactive(B)), T.value ? (C == null || C(), C = watch(b, (z) => {
|
12003
|
+
z && (n.store.emit(r.formID, "ready"), n.store.setIsReady(r.formID, !0));
|
11863
12004
|
}, {
|
11864
12005
|
immediate: !0
|
11865
12006
|
})) : (n.store.emit(r.formID, "ready"), n.store.setIsReady(r.formID, !0));
|
@@ -11869,23 +12010,23 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
|
|
11869
12010
|
}), onUnmounted(() => {
|
11870
12011
|
n.store.dispose(r.formID);
|
11871
12012
|
});
|
11872
|
-
function
|
12013
|
+
function A(P = !1) {
|
11873
12014
|
T.value ? b.value && b.value.validate().then(() => {
|
11874
12015
|
n.store.emit(r.formID, "search", {
|
11875
|
-
resetPageIndex:
|
12016
|
+
resetPageIndex: P
|
11876
12017
|
});
|
11877
12018
|
}).catch((B) => {
|
11878
12019
|
Logger.debug("[KgSearch] \u8868\u5355\u9A8C\u8BC1\u5931\u8D25", {
|
11879
12020
|
e: B
|
11880
12021
|
});
|
11881
12022
|
}) : n.store.emit(r.formID, "search", {
|
11882
|
-
resetPageIndex:
|
12023
|
+
resetPageIndex: P
|
11883
12024
|
});
|
11884
12025
|
}
|
11885
|
-
n.store.setSearchFn(r.formID,
|
11886
|
-
function
|
11887
|
-
var
|
11888
|
-
(
|
12026
|
+
n.store.setSearchFn(r.formID, A);
|
12027
|
+
function U() {
|
12028
|
+
var P;
|
12029
|
+
(P = b.value) == null || P.resetFields(), T.value ? b.value && b.value.validate().then(() => {
|
11889
12030
|
n.store.emit(r.formID, "reset");
|
11890
12031
|
}).catch((B) => {
|
11891
12032
|
Logger.debug("[KgSearch] \u8868\u5355\u9A8C\u8BC1\u5931\u8D25", {
|
@@ -11893,19 +12034,19 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
|
|
11893
12034
|
});
|
11894
12035
|
}) : n.store.emit(r.formID, "reset");
|
11895
12036
|
}
|
11896
|
-
n.store.setResetFn(r.formID,
|
12037
|
+
n.store.setResetFn(r.formID, U);
|
11897
12038
|
function $() {
|
11898
|
-
return
|
12039
|
+
return A(!0), Promise.resolve(!0);
|
11899
12040
|
}
|
11900
12041
|
function w() {
|
11901
12042
|
return createVNode("div", {
|
11902
12043
|
class: "title",
|
11903
|
-
onClick:
|
12044
|
+
onClick: G
|
11904
12045
|
}, [y.value ? createVNode(CaretUpOutlined$1, null, null) : createVNode(CaretDownOutlined$1, null, null), createVNode("span", null, [t.t("kg.KgSearch.title")])]);
|
11905
12046
|
}
|
11906
|
-
function
|
11907
|
-
var
|
11908
|
-
return ((
|
12047
|
+
function O() {
|
12048
|
+
var P, B, z, Y;
|
12049
|
+
return ((z = (B = (P = r.varProfileMasters) == null ? void 0 : P.value) == null ? void 0 : B.length) != null ? z : 0) === 0 ? null : createVNode(Fragment, null, [createVNode(Select, {
|
11909
12050
|
value: (Y = r.currentVarProfileMasterID.value) != null ? Y : void 0,
|
11910
12051
|
"onUpdate:value": (J) => r.store.setCurrentVarProfileMasterID(r.formID, J),
|
11911
12052
|
disabled: p.value,
|
@@ -11913,11 +12054,11 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
|
|
11913
12054
|
class: "kg-search-profile-master-select"
|
11914
12055
|
}, {
|
11915
12056
|
default: () => {
|
11916
|
-
var J,
|
11917
|
-
return (
|
11918
|
-
value:
|
12057
|
+
var J, D;
|
12058
|
+
return (D = (J = r.varProfileMasters) == null ? void 0 : J.value) == null ? void 0 : D.map((x) => createVNode(Select.Option, {
|
12059
|
+
value: x.id
|
11919
12060
|
}, {
|
11920
|
-
default: () => [r.t(
|
12061
|
+
default: () => [r.t(x == null ? void 0 : x.prf_var_nam).value]
|
11921
12062
|
}));
|
11922
12063
|
},
|
11923
12064
|
suffixIcon: () => createVNode(CaretDownOutlined$1, null, null)
|
@@ -11935,44 +12076,44 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
|
|
11935
12076
|
hostFormID: r.formID
|
11936
12077
|
}, null)]);
|
11937
12078
|
}
|
11938
|
-
function
|
11939
|
-
var
|
11940
|
-
return createVNode(Fragment, null, [
|
12079
|
+
function M() {
|
12080
|
+
var P, B, z, Y, J;
|
12081
|
+
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, {
|
11941
12082
|
type: "primary",
|
11942
12083
|
ghost: !g.value,
|
11943
12084
|
disabled: g.value,
|
11944
|
-
onClick:
|
12085
|
+
onClick: U,
|
11945
12086
|
class: "kg-search-btn-reset"
|
11946
12087
|
}, {
|
11947
12088
|
default: () => [createVNode(ReloadOutlined$1, null, null), t.t("kg.reset")]
|
11948
12089
|
}), createVNode(KgButton.Item, {
|
11949
12090
|
kgType: KG_BUTTON_TYPE.SEARCH,
|
11950
|
-
kgVarName: (
|
12091
|
+
kgVarName: (z = E.value) == null ? void 0 : z.var_nam,
|
11951
12092
|
kgIcon: (Y = E.value) == null ? void 0 : Y.icon,
|
11952
12093
|
kgText: k.value,
|
11953
12094
|
kgColor: (J = E.value) == null ? void 0 : J.color,
|
11954
|
-
kgPrimary:
|
12095
|
+
kgPrimary: V.value,
|
11955
12096
|
kgLoading: _.value,
|
11956
12097
|
onKgClick: $
|
11957
12098
|
}, null)]);
|
11958
12099
|
}
|
11959
|
-
function
|
12100
|
+
function N() {
|
11960
12101
|
return createVNode(Spin, {
|
11961
|
-
spinning:
|
12102
|
+
spinning: F.value
|
11962
12103
|
}, {
|
11963
12104
|
default: () => {
|
11964
|
-
var
|
12105
|
+
var P;
|
11965
12106
|
return [createVNode(KgForm, {
|
11966
12107
|
ref: b,
|
11967
|
-
model: (
|
12108
|
+
model: (P = n.model.value) != null ? P : {}
|
11968
12109
|
}, {
|
11969
12110
|
default: () => [createVNode(Row, null, {
|
11970
12111
|
default: () => {
|
11971
12112
|
var B;
|
11972
|
-
return [(B = r.currentVarProfileDetails.value) == null ? void 0 : B.map((
|
11973
|
-
kgVarName:
|
12113
|
+
return [(B = r.currentVarProfileDetails.value) == null ? void 0 : B.map((z) => createVNode(KgForm.Item, {
|
12114
|
+
kgVarName: z.var_nam,
|
11974
12115
|
kgContext: KG_FORM_CONTEXT.SEARCH,
|
11975
|
-
onKgSubmit: () =>
|
12116
|
+
onKgSubmit: () => A(!0)
|
11976
12117
|
}, null))];
|
11977
12118
|
}
|
11978
12119
|
})]
|
@@ -11980,19 +12121,19 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
|
|
11980
12121
|
}
|
11981
12122
|
});
|
11982
12123
|
}
|
11983
|
-
function L(
|
11984
|
-
console.log("333:value",
|
12124
|
+
function L(P) {
|
12125
|
+
console.log("333:value", P);
|
11985
12126
|
}
|
11986
|
-
function
|
12127
|
+
function G() {
|
11987
12128
|
y.value ? m.value.kgHeight = l.value : m.value.kgHeight = c.value;
|
11988
12129
|
}
|
11989
12130
|
return () => createVNode(KgResizable, {
|
11990
|
-
class: I.value,
|
11991
|
-
"kg-frm-id": r.formID,
|
11992
12131
|
kgHeight: m.value.kgHeight,
|
11993
|
-
"onUpdate:kgHeight": (
|
12132
|
+
"onUpdate:kgHeight": (P) => m.value.kgHeight = P,
|
11994
12133
|
kgMinHeight: c.value,
|
11995
|
-
kgMaxHeight: u.value
|
12134
|
+
kgMaxHeight: u.value,
|
12135
|
+
class: I.value,
|
12136
|
+
"kg-frm-id": r.formID
|
11996
12137
|
}, {
|
11997
12138
|
default: () => [T.value && createVNode("div", {
|
11998
12139
|
class: "ant-collapse ant-collapse-icon-position-left"
|
@@ -12009,13 +12150,13 @@ const KgSearch$1 = "", getProps$9 = () => ({}), KgSearch = defineComponent({
|
|
12009
12150
|
}, {
|
12010
12151
|
default: () => [w(), createVNode("div", {
|
12011
12152
|
class: "ant-collapse-extra"
|
12012
|
-
}, [
|
12153
|
+
}, [M()])]
|
12013
12154
|
})])]
|
12014
12155
|
}), createVNode("div", {
|
12015
12156
|
class: "ant-collapse-content ant-collapse-content-active"
|
12016
12157
|
}, [createVNode("div", {
|
12017
12158
|
class: "ant-collapse-content-box"
|
12018
|
-
}, [
|
12159
|
+
}, [N()])])])])]
|
12019
12160
|
});
|
12020
12161
|
}
|
12021
12162
|
});
|
@@ -12081,13 +12222,13 @@ function useMagicKeys(e = {}) {
|
|
12081
12222
|
}
|
12082
12223
|
function _(m, v) {
|
12083
12224
|
var C, y;
|
12084
|
-
const E = (C = m.key) == null ? void 0 : C.toLowerCase(), k = (y = m.code) == null ? void 0 : y.toLowerCase(),
|
12225
|
+
const E = (C = m.key) == null ? void 0 : C.toLowerCase(), k = (y = m.code) == null ? void 0 : y.toLowerCase(), V = [k, E].filter(Boolean);
|
12085
12226
|
k && (v ? s.add(m.code) : s.delete(m.code));
|
12086
|
-
for (const T of
|
12227
|
+
for (const T of V)
|
12087
12228
|
c.add(T), g(T, v);
|
12088
12229
|
E === "meta" && !v ? (u.forEach((T) => {
|
12089
12230
|
s.delete(T), g(T, !1);
|
12090
|
-
}), u.clear()) : typeof m.getModifierState == "function" && m.getModifierState("Meta") && v && [...s, ...
|
12231
|
+
}), u.clear()) : typeof m.getModifierState == "function" && m.getModifierState("Meta") && v && [...s, ...V].forEach((T) => u.add(T));
|
12091
12232
|
}
|
12092
12233
|
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 }));
|
12093
12234
|
const b = new Proxy(l, {
|
@@ -12498,15 +12639,15 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
12498
12639
|
}, {
|
12499
12640
|
immediate: !0
|
12500
12641
|
}), watch(() => n.getSelectedVarCatalog, async ($) => {
|
12501
|
-
var w,
|
12502
|
-
l.value.var_text = (w = $ == null ? void 0 : $.var_text) != null ? w : "", (
|
12642
|
+
var w, O;
|
12643
|
+
l.value.var_text = (w = $ == null ? void 0 : $.var_text) != null ? w : "", (O = i.value) == null || O.clearValidate();
|
12503
12644
|
});
|
12504
12645
|
async function y($ = !1) {
|
12505
|
-
var w,
|
12646
|
+
var w, O, M;
|
12506
12647
|
a.value = !0;
|
12507
12648
|
try {
|
12508
12649
|
const {
|
12509
|
-
records:
|
12650
|
+
records: N
|
12510
12651
|
} = await List({
|
12511
12652
|
params: {
|
12512
12653
|
pageNo: 1,
|
@@ -12517,49 +12658,49 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
12517
12658
|
order: "asc"
|
12518
12659
|
}
|
12519
12660
|
});
|
12520
|
-
if (c.value = null, u.value =
|
12521
|
-
const L = u.value.find((
|
12522
|
-
var
|
12523
|
-
return
|
12661
|
+
if (c.value = null, u.value = N != null ? N : [], $) {
|
12662
|
+
const L = u.value.find((G) => {
|
12663
|
+
var P;
|
12664
|
+
return G.id === ((P = n.getSelectedVarCatalog) == null ? void 0 : P.id);
|
12524
12665
|
});
|
12525
12666
|
n.setSelectedVarCatalog(L != null ? L : null), g.value = L != null && L.id ? [L.id] : [];
|
12526
12667
|
} else
|
12527
|
-
n.setSelectedVarCatalog((
|
12528
|
-
} catch (
|
12529
|
-
Logger.debug(
|
12668
|
+
n.setSelectedVarCatalog((O = u.value[0]) != null ? O : null), g.value = (M = u.value[0]) != null && M.id ? [u.value[0].id] : [];
|
12669
|
+
} catch (N) {
|
12670
|
+
Logger.debug(N == null ? void 0 : N.message);
|
12530
12671
|
} finally {
|
12531
12672
|
a.value = !1;
|
12532
12673
|
}
|
12533
12674
|
}
|
12534
12675
|
async function E() {
|
12535
|
-
var $, w,
|
12676
|
+
var $, w, O;
|
12536
12677
|
try {
|
12537
12678
|
o.value = !0, await (($ = i.value) == null ? void 0 : $.validate());
|
12538
|
-
const
|
12679
|
+
const M = new VarCatalog({
|
12539
12680
|
...(w = n.getSelectedVarCatalog) != null ? w : {},
|
12540
|
-
var_text: (
|
12681
|
+
var_text: (O = l.value) == null ? void 0 : O.var_text
|
12541
12682
|
});
|
12542
|
-
|
12543
|
-
data:
|
12683
|
+
M.id ? M.cust_lvl === KG_CUSTOM_LEVEL.L0 ? (M.cust_lvl = KG_CUSTOM_LEVEL.L10, Reflect.deleteProperty(M, "id"), await Add({
|
12684
|
+
data: M
|
12544
12685
|
}, {
|
12545
12686
|
successMessageMode: "none"
|
12546
12687
|
}), message.success({
|
12547
12688
|
content: t.t("kg.KgVarConfig.createSuccess")
|
12548
12689
|
}), await y()) : (await Edit({
|
12549
|
-
data:
|
12690
|
+
data: M
|
12550
12691
|
}, {
|
12551
12692
|
successMessageMode: "none"
|
12552
12693
|
}), message.success({
|
12553
12694
|
content: t.t("kg.KgVarConfig.saveSuccess")
|
12554
12695
|
}), await y(!0)) : (await Add({
|
12555
|
-
data:
|
12696
|
+
data: M
|
12556
12697
|
}, {
|
12557
12698
|
successMessageMode: "none"
|
12558
12699
|
}), message.success({
|
12559
12700
|
content: t.t("kg.KgVarConfig.createSuccess")
|
12560
12701
|
}), await y()), r.retrieve(e == null ? void 0 : e.value);
|
12561
|
-
} catch (
|
12562
|
-
KgUtil.throwIfNotFormError(
|
12702
|
+
} catch (M) {
|
12703
|
+
KgUtil.throwIfNotFormError(M);
|
12563
12704
|
} finally {
|
12564
12705
|
o.value = !1;
|
12565
12706
|
}
|
@@ -12568,18 +12709,18 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
12568
12709
|
isAllForm: $,
|
12569
12710
|
isAllLanguage: w
|
12570
12711
|
}) {
|
12571
|
-
var
|
12712
|
+
var O, M, N;
|
12572
12713
|
c.value = new VarCatalog({
|
12573
12714
|
id: "",
|
12574
12715
|
cust_lvl: KG_CUSTOM_LEVEL.L10,
|
12575
|
-
grp_nam: (
|
12576
|
-
var_nam: (
|
12716
|
+
grp_nam: (O = n.getSelectedVar) == null ? void 0 : O.grp_nam,
|
12717
|
+
var_nam: (M = n.getSelectedVar) == null ? void 0 : M.var_nam,
|
12577
12718
|
frm_id: $ || !(e != null && e.value) ? "ALL" : e == null ? void 0 : e.value,
|
12578
|
-
locale_id: w ? "ALL" : (
|
12719
|
+
locale_id: w ? "ALL" : (N = t.locale) == null ? void 0 : N.value,
|
12579
12720
|
var_text: ""
|
12580
12721
|
}), u.value = [...u.value, c.value], n.setSelectedVarCatalog(unref(c)), g.value = [""];
|
12581
12722
|
}
|
12582
|
-
function
|
12723
|
+
function V() {
|
12583
12724
|
var w;
|
12584
12725
|
u.value = without$1(u.value, c.value), c.value = null;
|
12585
12726
|
const $ = (w = u.value[0]) != null ? w : null;
|
@@ -12611,14 +12752,14 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
12611
12752
|
}
|
12612
12753
|
}) : (n.setSelectedVarCatalog(unref($)), g.value = [$.id]));
|
12613
12754
|
}
|
12614
|
-
function
|
12755
|
+
function F() {
|
12615
12756
|
_.value.visible = !0;
|
12616
12757
|
}
|
12617
12758
|
function I() {
|
12618
12759
|
return createVNode("div", {
|
12619
12760
|
class: "buttons"
|
12620
12761
|
}, [createVNode(Button, {
|
12621
|
-
onClick:
|
12762
|
+
onClick: F,
|
12622
12763
|
disabled: b.value,
|
12623
12764
|
type: "primary"
|
12624
12765
|
}, {
|
@@ -12633,7 +12774,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
12633
12774
|
default: () => [createVNode(DeleteOutlined$1, null, null), t.t("common.delText")]
|
12634
12775
|
})]);
|
12635
12776
|
}
|
12636
|
-
function
|
12777
|
+
function A() {
|
12637
12778
|
let $, w;
|
12638
12779
|
return createVNode("div", {
|
12639
12780
|
class: "form"
|
@@ -12651,7 +12792,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
12651
12792
|
}, {
|
12652
12793
|
default: () => [createVNode(Textarea, {
|
12653
12794
|
value: l.value.var_text,
|
12654
|
-
"onUpdate:value": (
|
12795
|
+
"onUpdate:value": (O) => l.value.var_text = O,
|
12655
12796
|
disabled: !n.getSelectedVarCatalog
|
12656
12797
|
}, null), createVNode("button", {
|
12657
12798
|
hidden: !0
|
@@ -12661,7 +12802,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
12661
12802
|
class: "buttons"
|
12662
12803
|
}, [createVNode(Button, {
|
12663
12804
|
disabled: v.value,
|
12664
|
-
onClick:
|
12805
|
+
onClick: V
|
12665
12806
|
}, _isSlot($ = t.t("common.cancelText")) ? $ : {
|
12666
12807
|
default: () => [$]
|
12667
12808
|
}), createVNode(Button, {
|
@@ -12673,10 +12814,10 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
12673
12814
|
default: () => [w]
|
12674
12815
|
})])]);
|
12675
12816
|
}
|
12676
|
-
function
|
12677
|
-
var
|
12817
|
+
function U($) {
|
12818
|
+
var O;
|
12678
12819
|
let w = "";
|
12679
|
-
return $.id || (w += " ant-table-row-create"), $.id === ((
|
12820
|
+
return $.id || (w += " ant-table-row-create"), $.id === ((O = n.getSelectedVarCatalog) == null ? void 0 : O.id) && (w += " ant-table-row-selected "), w;
|
12680
12821
|
}
|
12681
12822
|
return () => createVNode("div", {
|
12682
12823
|
class: "kg-var-config-modal-var-var-catalog"
|
@@ -12692,12 +12833,12 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
12692
12833
|
rowKey: "id",
|
12693
12834
|
dataSource: u.value,
|
12694
12835
|
loading: a.value,
|
12695
|
-
rowClassName:
|
12836
|
+
rowClassName: U,
|
12696
12837
|
rowSelection: p.value,
|
12697
12838
|
customRow: ($) => ({
|
12698
12839
|
onClick: () => K($)
|
12699
12840
|
})
|
12700
|
-
}, null),
|
12841
|
+
}, null), A(), createVNode(KgVarConfigModalVarCreateModal, {
|
12701
12842
|
visible: _.value.visible,
|
12702
12843
|
"onUpdate:visible": ($) => _.value.visible = $,
|
12703
12844
|
onKgOk: k
|
@@ -12987,7 +13128,7 @@ const useKgWarehouseStore = (e) => (store || (store = defineStore("KgWarehouse",
|
|
12987
13128
|
function useKgWarehouse(e) {
|
12988
13129
|
const t = useKgWarehouseStore(e)();
|
12989
13130
|
function r(o) {
|
12990
|
-
return isFunction$2(o) ? (t.addEventListener("mounted", o), onUnmounted(() => t.removeEventListener("mounted", o)), () => t.removeEventListener("mounted", o)) : () => {
|
13131
|
+
return isFunction$2(o) ? (t.addEventListener("mounted", o), getCurrentInstance() && onUnmounted(() => t.removeEventListener("mounted", o)), () => t.removeEventListener("mounted", o)) : () => {
|
12991
13132
|
};
|
12992
13133
|
}
|
12993
13134
|
const n = computed(() => t.getVisible), a = computed(() => t.getWarehouse);
|
@@ -13028,22 +13169,22 @@ const KgWarehouse$1 = "", getProps = () => ({
|
|
13028
13169
|
customRender: ({
|
13029
13170
|
record: k
|
13030
13171
|
}) => {
|
13031
|
-
var T, K,
|
13032
|
-
const
|
13033
|
-
return createVNode("div", null, [createVNode("div", null, [(T =
|
13172
|
+
var T, K, F;
|
13173
|
+
const V = k;
|
13174
|
+
return createVNode("div", null, [createVNode("div", null, [(T = V.whDsc) != null ? T : " ", createTextVNode(" - "), (K = V.whId) != null ? K : " "]), createVNode("div", {
|
13034
13175
|
class: "address"
|
13035
|
-
}, [(
|
13176
|
+
}, [(F = V.adrId) != null ? F : " "])]);
|
13036
13177
|
}
|
13037
13178
|
}]), c = ref([]), g = computed(() => {
|
13038
|
-
var
|
13039
|
-
const k = (
|
13179
|
+
var V;
|
13180
|
+
const k = (V = o.value) == null ? void 0 : V.toUpperCase();
|
13040
13181
|
return c.value.filter((T) => {
|
13041
|
-
var K,
|
13042
|
-
return ((
|
13182
|
+
var K, F, I, A, U, $;
|
13183
|
+
return ((F = (K = T.whDsc) == null ? void 0 : K.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));
|
13043
13184
|
});
|
13044
13185
|
}), p = computed(() => {
|
13045
|
-
var k,
|
13046
|
-
return ((
|
13186
|
+
var k, V;
|
13187
|
+
return ((V = (k = r.option.value) == null ? void 0 : k.KgWarehouse) == null ? void 0 : V.enable) !== !1;
|
13047
13188
|
});
|
13048
13189
|
watch(n.visible, (k) => {
|
13049
13190
|
!p.value || (k ? b() : m());
|
@@ -13093,14 +13234,14 @@ const KgWarehouse$1 = "", getProps = () => ({
|
|
13093
13234
|
l.value = !1;
|
13094
13235
|
}
|
13095
13236
|
}
|
13096
|
-
function y(k,
|
13237
|
+
function y(k, V) {
|
13097
13238
|
var T;
|
13098
13239
|
switch (k.detail) {
|
13099
13240
|
case 1:
|
13100
|
-
((T = i.value) == null ? void 0 : T.id) ===
|
13241
|
+
((T = i.value) == null ? void 0 : T.id) === V.id ? i.value = null : i.value = V;
|
13101
13242
|
break;
|
13102
13243
|
case 2:
|
13103
|
-
i.value =
|
13244
|
+
i.value = V, v();
|
13104
13245
|
break;
|
13105
13246
|
}
|
13106
13247
|
}
|
@@ -13110,8 +13251,8 @@ const KgWarehouse$1 = "", getProps = () => ({
|
|
13110
13251
|
placement: "bottomRight"
|
13111
13252
|
}, {
|
13112
13253
|
default: () => {
|
13113
|
-
var k,
|
13114
|
-
return [((k = s.value) == null ? void 0 : k.whDsc) || ((
|
13254
|
+
var k, V;
|
13255
|
+
return [((k = s.value) == null ? void 0 : k.whDsc) || ((V = s.value) == null ? void 0 : V.whId) || r.t("kg.KgWarehouse.selectWarehouse")];
|
13115
13256
|
}
|
13116
13257
|
}), createVNode(KgModal, {
|
13117
13258
|
visible: n.visible.value,
|
@@ -13153,9 +13294,9 @@ const KgWarehouse$1 = "", getProps = () => ({
|
|
13153
13294
|
columns: u,
|
13154
13295
|
class: "kg-flex-table",
|
13155
13296
|
customRow: (k) => {
|
13156
|
-
var
|
13297
|
+
var V;
|
13157
13298
|
return {
|
13158
|
-
class: k.id === ((
|
13299
|
+
class: k.id === ((V = i.value) == null ? void 0 : V.id) ? "selected" : "",
|
13159
13300
|
onClick: (T) => y(T, k)
|
13160
13301
|
};
|
13161
13302
|
}
|
@@ -13191,6 +13332,7 @@ function createKgWarehouseGuard(e, t) {
|
|
13191
13332
|
});
|
13192
13333
|
}
|
13193
13334
|
export {
|
13335
|
+
CreateVarGridMasterQuery,
|
13194
13336
|
CreateVarProfileMasterQuery,
|
13195
13337
|
DEFAULT_LABEL_COL_FOR_PX,
|
13196
13338
|
DEFAULT_LABEL_COL_FOR_SPAN,
|
@@ -13245,6 +13387,7 @@ export {
|
|
13245
13387
|
KgWarehouse,
|
13246
13388
|
KgYesOrNo,
|
13247
13389
|
Logger,
|
13390
|
+
UpdateVarGridMasterQuery,
|
13248
13391
|
VarButton,
|
13249
13392
|
VarCatalog,
|
13250
13393
|
VarContext,
|