ss-component-new 1.3.356 → 1.3.358
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/{array-qJP7qOOm.cjs → array-C3Zx6pZ5.cjs} +1 -1
- package/dist/{array-bTlTI7-m.js → array-cBqlTCk1.js} +2 -2
- package/dist/{index-CPI-GT09.js → index-B1x4tSR3.js} +1 -1
- package/dist/{index-CX-LO3gU.js → index-BPlxxI1V.js} +155 -155
- package/dist/{index-CdOAC0QO.js → index-BdyEFRL_.js} +1 -1
- package/dist/{index-DTxACO21.cjs → index-Bmzd75VP.cjs} +1 -1
- package/dist/{index-DmmjTRGz.cjs → index-BnzX9t8N.cjs} +1 -1
- package/dist/{index-MT9m_JvZ.cjs → index-BpS32bJN.cjs} +1 -1
- package/dist/{index-B44yTwpg.cjs → index-BrIQELiR.cjs} +1 -1
- package/dist/{index-iaOps17f.js → index-BrmwSxla.js} +1 -1
- package/dist/{index-l9_qZoks.cjs → index-Bzx37xhn.cjs} +1 -1
- package/dist/{index-BNnoV73x.cjs → index-C4EqF_hu.cjs} +1 -1
- package/dist/{index-DCV8AiAq.js → index-CDrPCcsB.js} +2 -2
- package/dist/{index-Ck5mtjKc.cjs → index-CMmk4-9i.cjs} +1 -1
- package/dist/{index-wAZQvSsO.js → index-CRN5xtEC.js} +1 -1
- package/dist/{index-Dv0FPBX0.js → index-CvO2jr2U.js} +7 -7
- package/dist/{index-hJh3eBHb.js → index-D-jCx48i.js} +1 -1
- package/dist/{index-DIfe_pv9.js → index-D0fOq5E4.js} +3 -3
- package/dist/{index-BsCxdb2Q.js → index-DSiws7Iw.js} +2 -2
- package/dist/{index-qVb0YQPi.cjs → index-DaM8E2Vh.cjs} +1 -1
- package/dist/{index-CzXy4Rjt.js → index-Dfl73gYP.js} +1 -1
- package/dist/{index-RSfi7VXm.cjs → index-DpFBAJY6.cjs} +1 -1
- package/dist/{index-CwMvkhaX.cjs → index-DxJiNS5k.cjs} +3 -3
- package/dist/{index-DK5QS19w.cjs → index-gBQaehJs.cjs} +1 -1
- package/dist/{index-DRno3-U_.cjs → index-u8Q1-iH8.cjs} +1 -1
- package/dist/{index-BskTRZyB.js → index-wc7hOmim.js} +2 -2
- package/dist/{main-D-xgau4u.cjs → main-C13VdgMz.cjs} +1 -1
- package/dist/{main-205_4Nih.js → main-CIrf-8IE.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +5 -5
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-w1ZYoyvs.js → threeModel-DDC1IJJY.js} +1 -1
- package/dist/{threeModel-DXueZHTM.cjs → threeModel-jQeMFePe.cjs} +1 -1
- package/dist/{threeSceneView-Bloj-2Kp.cjs → threeSceneView-1NpBM64J.cjs} +1 -1
- package/dist/{threeSceneView-DeONIC8O.js → threeSceneView-D3XakNTx.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-Cob3ZkMt.js → threeSceneViewForCPMPIP-BvaTCgXy.js} +1 -1
- package/dist/{threeSceneViewForCPMPIP-Cl14yLk7.cjs → threeSceneViewForCPMPIP-SSsRgKWy.cjs} +1 -1
- package/dist/{threeViewerHost-DtwouxoX.cjs → threeViewerHost-BjWr81hq.cjs} +1 -1
- package/dist/{threeViewerHost-DQ6Y3XLq.js → threeViewerHost-WCP-PWI9.js} +1 -1
- package/package.json +1 -1
|
@@ -5,15 +5,15 @@ import { ref as ue, watch as dl, nextTick as Nr, resolveComponent as vl, createB
|
|
|
5
5
|
import { m as Ap, n as Tp, E as wl, b as bi, k as Vt, h as Iu, c as Mu, B as Bc, C as Ep, D as Dp, F as gt, A as Ou } from "./request-CoGtW0Ux.js";
|
|
6
6
|
import { c as po, d as fo, g as zp } from "./dayjs.min-DQjPdS-o.js";
|
|
7
7
|
import { j as Ji, c as $e, h as In, p as Jl, s as sr, i as Dn, b as Mn, d as $c, u as bn, a as On, P as Do, N as eu, n as Us, Q as un, f as ti, m as zo, k as So, R as Cp, T as Ip } from "./menu-nyfb5NCE.js";
|
|
8
|
-
import { S as Mp, b as Hr, _ as Bu, f as Op, h as Nc, i as vs, j as jo, a as gr, k as Bp, d as au, e as $p, c as Np, l as ho, m as Lp } from "./index-
|
|
8
|
+
import { S as Mp, b as Hr, _ as Bu, f as Op, h as Nc, i as vs, j as jo, a as gr, k as Bp, d as au, e as $p, c as Np, l as ho, m as Lp } from "./index-CRN5xtEC.js";
|
|
9
9
|
import { _ as vr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { r as Rp, I as $u, J as Pp, K as Fp, C as jp, c as mt, u as Lc, N as zs, O as Hp, Q as Rc, R as Pc, s as bt, U as Up, t as Wp, h as Un, B as qp, V as kt, Y as Nu, k as os, l as Es, Z as Kp, w as Gp, _ as Yp, $ as Jp, a0 as Fc, d as jc } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CmdLcCoO.js";
|
|
11
11
|
import { s as jr } from "./index-CnjGqJZS.js";
|
|
12
|
-
import { a as Hc, T as Uc } from "./threeViewerHost-
|
|
13
|
-
import { f as Za, A as Os, g as Lr, B as Xp, k as Ho, C as Ot, t as Co, D as Zp, E as Qp, F as Vp, d as gs, G as Ws, r as ef, j as Bs, H as af, c as Zr, b as ms, I as lf, u as lu, J as
|
|
12
|
+
import { a as Hc, T as Uc } from "./threeViewerHost-WCP-PWI9.js";
|
|
13
|
+
import { f as Za, A as Os, g as Lr, B as Xp, k as Ho, C as Ot, t as Co, D as Zp, E as Qp, F as Vp, d as gs, G as Ws, r as ef, j as Bs, H as af, c as Zr, b as ms, I as lf, u as lu, J as wi, K as Uo, L as rf, M as nf, N as sf, O as of, s as En, l as tf, P as uf, w as cf, Q as df, R as pf, S as ff, T as Wc, U as yi, V as ps, W as cn, X as Kn, Y as _t, Z as hf, o as vf, _ as xt, $ as yf, a0 as gf } from "./index-DyS4ycK4.js";
|
|
14
14
|
import { a as mf } from "./index-BIV-s4QY.js";
|
|
15
15
|
import { g as ds, u as Bt, c as qc, a as qs, e as ru, b as Io } from "./index-o69TSiJu.js";
|
|
16
|
-
import { a as bf, s as kf } from "./index-
|
|
16
|
+
import { a as bf, s as kf } from "./index-BrmwSxla.js";
|
|
17
17
|
import { u as Kc } from "./index-BWqS2Db9.js";
|
|
18
18
|
import { E as $s } from "./index-C81Qb0f2.js";
|
|
19
19
|
import { E as Fi } from "./index-DPRaizHr.js";
|
|
@@ -1971,7 +1971,7 @@ const R0 = (e) => {
|
|
|
1971
1971
|
}), l;
|
|
1972
1972
|
};
|
|
1973
1973
|
let Or = "$R";
|
|
1974
|
-
const H0 = In(Jl), { selectTitle:
|
|
1974
|
+
const H0 = In(Jl), { selectTitle: Ai } = sr(H0), Ui = [
|
|
1975
1975
|
{
|
|
1976
1976
|
key: "@MaxRow",
|
|
1977
1977
|
value: "onNumSlice",
|
|
@@ -2166,11 +2166,11 @@ const U0 = (e) => {
|
|
|
2166
2166
|
var Ae, Je;
|
|
2167
2167
|
ne.get((Ae = ze == null ? void 0 : ze.menus) == null ? void 0 : Ae.join("/")) || (ne.set((Je = ze == null ? void 0 : ze.menus) == null ? void 0 : Je.join("/"), ze), Ee.push(ze));
|
|
2168
2168
|
});
|
|
2169
|
-
let We = (o = (s =
|
|
2169
|
+
let We = (o = (s = Ai == null ? void 0 : Ai.value) == null ? void 0 : s.find((ze) => (ze == null ? void 0 : ze.condition) === "child")) == null ? void 0 : o.value, me = Ee == null ? void 0 : Ee.map((ze) => {
|
|
2170
2170
|
var Ae, Je, fa;
|
|
2171
|
-
return ze = (Ae = ze == null ? void 0 : ze.menus) == null ? void 0 : Ae.join("/"), (ze == null ? void 0 : ze[(ze == null ? void 0 : ze.length) - 1]) === "/" && ((fa = (Je =
|
|
2171
|
+
return ze = (Ae = ze == null ? void 0 : ze.menus) == null ? void 0 : Ae.join("/"), (ze == null ? void 0 : ze[(ze == null ? void 0 : ze.length) - 1]) === "/" && ((fa = (Je = Ai == null ? void 0 : Ai.value) == null ? void 0 : Je.find((Ma) => (Ma == null ? void 0 : Ma.condition) === "child")) == null ? void 0 : fa.parentContent) + "/" !== ze ? ze = ze + We : (ze == null ? void 0 : ze[(ze == null ? void 0 : ze.length) - 1]) === "/" && (ze = ze == null ? void 0 : ze.slice(0, (ze == null ? void 0 : ze.length) - 1)), ze;
|
|
2172
2172
|
}), E = Ee == null ? void 0 : Ee.map((ze) => ze == null ? void 0 : ze.groups), H = me == null ? void 0 : me.map(async (ze) => {
|
|
2173
|
-
let Ae = await
|
|
2173
|
+
let Ae = await ki(ze, !1);
|
|
2174
2174
|
return {
|
|
2175
2175
|
path: ze,
|
|
2176
2176
|
contents: Ae
|
|
@@ -2183,7 +2183,7 @@ const U0 = (e) => {
|
|
|
2183
2183
|
var Ce, Ue;
|
|
2184
2184
|
return (se == null ? void 0 : se.name) === ((Ue = E == null ? void 0 : E[Ae]) == null ? void 0 : Ue[((Ce = E == null ? void 0 : E[Ae]) == null ? void 0 : Ce.length) - 1]);
|
|
2185
2185
|
});
|
|
2186
|
-
return Je = (sa = (V = (Ma = Je == null ? void 0 : Je[0]) == null ? void 0 : Ma.compData) == null ? void 0 : V.find((se) => (se == null ? void 0 : se.key) === "tableContents")) == null ? void 0 : sa.contents, (ze == null ? void 0 : ze.path) === ((Ze = (he =
|
|
2186
|
+
return Je = (sa = (V = (Ma = Je == null ? void 0 : Je[0]) == null ? void 0 : Ma.compData) == null ? void 0 : V.find((se) => (se == null ? void 0 : se.key) === "tableContents")) == null ? void 0 : sa.contents, (ze == null ? void 0 : ze.path) === ((Ze = (he = Ai == null ? void 0 : Ai.value) == null ? void 0 : he.find((se) => (se == null ? void 0 : se.condition) === "child")) == null ? void 0 : Ze.parentContent) && (Je = ((Be = Je == null ? void 0 : Je.map((se) => {
|
|
2187
2187
|
for (let Ce in se)
|
|
2188
2188
|
if (se[Ce] === We)
|
|
2189
2189
|
return se;
|
|
@@ -2229,7 +2229,7 @@ const U0 = (e) => {
|
|
|
2229
2229
|
var H, ee;
|
|
2230
2230
|
return ((ee = E == null ? void 0 : E.menus) == null ? void 0 : ee[((H = E == null ? void 0 : E.menus) == null ? void 0 : H.length) - 1]) === "";
|
|
2231
2231
|
})) {
|
|
2232
|
-
let E = (J =
|
|
2232
|
+
let E = (J = Ai == null ? void 0 : Ai.value) == null ? void 0 : J.find((H) => (H == null ? void 0 : H.condition) === "child");
|
|
2233
2233
|
We = j0(We, E);
|
|
2234
2234
|
}
|
|
2235
2235
|
return We;
|
|
@@ -2267,7 +2267,7 @@ const U0 = (e) => {
|
|
|
2267
2267
|
if (a != null && a.includes("*") && (a = "({" + ((s = (r = a == null ? void 0 : a.replace(":", Or)) == null ? void 0 : r.split(Or)) == null ? void 0 : s[1])), a = (o = a == null ? void 0 : a.replaceAll("{", "")) == null ? void 0 : o.replaceAll("}", ""), (u = (h = a == null ? void 0 : a.split("=")) == null ? void 0 : h[1]) != null && u.includes("$")) {
|
|
2268
2268
|
(a == null ? void 0 : a[0]) === "(" && (a = a == null ? void 0 : a.slice(1, (a == null ? void 0 : a.length) - 1));
|
|
2269
2269
|
let K = (d = a == null ? void 0 : a.split("=")) == null ? void 0 : d[0], I = (v = a == null ? void 0 : a.split("=")) == null ? void 0 : v[1];
|
|
2270
|
-
(t = I == null ? void 0 : I.slice(1, I == null ? void 0 : I.length)) != null && t.includes("$") && (I = (L = (A = (b =
|
|
2270
|
+
(t = I == null ? void 0 : I.slice(1, I == null ? void 0 : I.length)) != null && t.includes("$") && (I = (L = (A = (b = Ai == null ? void 0 : Ai.value) == null ? void 0 : b.filter((O) => (O == null ? void 0 : O.condition) === "child")) == null ? void 0 : A[0]) == null ? void 0 : L.value), a = K + "=" + I;
|
|
2271
2271
|
}
|
|
2272
2272
|
if ((a == null ? void 0 : a[0]) !== "(" && (a = "(" + a + ")"), a.slice(1, (a == null ? void 0 : a.length) - 1) === "undefined") return e == null ? void 0 : e.contents;
|
|
2273
2273
|
let l = Ho(a);
|
|
@@ -2460,7 +2460,7 @@ const U0 = (e) => {
|
|
|
2460
2460
|
var r, s, o, h, u, d, v, t, b, A, L, x, K, I, O, P, S;
|
|
2461
2461
|
const a = In(Jl), { chooseTitle: l } = sr(a);
|
|
2462
2462
|
if ((e == null ? void 0 : e.filter) === "true") {
|
|
2463
|
-
let w = await
|
|
2463
|
+
let w = await ki(((s = (r = l == null ? void 0 : l.value) == null ? void 0 : r[0]) == null ? void 0 : s.parentContent) ?? ((h = (o = l == null ? void 0 : l.value) == null ? void 0 : o[0]) == null ? void 0 : h.relatedContent), !1), _ = (d = (u = l == null ? void 0 : l.value) == null ? void 0 : u[0]) == null ? void 0 : d.value;
|
|
2464
2464
|
(t = (v = w == null ? void 0 : w[0]) == null ? void 0 : v.compData) != null && t.find(($) => ($ == null ? void 0 : $.key) === "header") ? w = (b = w == null ? void 0 : w[0]) == null ? void 0 : b.compData : w = (L = (A = w == null ? void 0 : w.filter(($) => {
|
|
2465
2465
|
var q;
|
|
2466
2466
|
return (q = $ == null ? void 0 : $.compData) == null ? void 0 : q.find((re) => (re == null ? void 0 : re.key) === "header");
|
|
@@ -2737,7 +2737,7 @@ const ju = async (e, a, l = !0) => {
|
|
|
2737
2737
|
ua = ua == null ? void 0 : ua[0], ua = ($ = (B = ua == null ? void 0 : ua.replace("(", vo)) == null ? void 0 : B.split(vo)) == null ? void 0 : $[1], ua = ua == null ? void 0 : ua.slice(0, (ua == null ? void 0 : ua.length) - 1), ua != null && ua.includes("*") && (ua = (re = (q = ua == null ? void 0 : ua.replace("{", vo)) == null ? void 0 : q.split(vo)) == null ? void 0 : re[1], ua = ua == null ? void 0 : ua.replace("}", "")), ua = Ho(ua);
|
|
2738
2738
|
let Ka = (a == null ? void 0 : a.originPath) ?? "";
|
|
2739
2739
|
(Ka == null ? void 0 : Ka[(Ka == null ? void 0 : Ka.length) - 1]) === "/" && (Ka = Ka == null ? void 0 : Ka.slice(0, (Ka == null ? void 0 : Ka.length) - 1));
|
|
2740
|
-
let Pa = await
|
|
2740
|
+
let Pa = await ki(Ka, !1), Ua = (Se = Pa == null ? void 0 : Pa.filter((Ne) => (Ne == null ? void 0 : Ne.comp) === "Table")) == null ? void 0 : Se[0];
|
|
2741
2741
|
Ua = (J = (ie = Ua == null ? void 0 : Ua.compData) == null ? void 0 : ie.find((Ne) => (Ne == null ? void 0 : Ne.key) === "tableContents")) == null ? void 0 : J.contents;
|
|
2742
2742
|
let ge = (Q = (de = b3.value) == null ? void 0 : de.find((Ne) => (Ne == null ? void 0 : Ne.condition) === "child")) == null ? void 0 : Q.value;
|
|
2743
2743
|
Ua = (ne = Ua == null ? void 0 : Ua.map((Ne) => {
|
|
@@ -3119,7 +3119,7 @@ const ju = async (e, a, l = !0) => {
|
|
|
3119
3119
|
}
|
|
3120
3120
|
}
|
|
3121
3121
|
return h;
|
|
3122
|
-
}, I3 = Mn(Jl), { loginUserInfo:
|
|
3122
|
+
}, I3 = Mn(Jl), { loginUserInfo: Ti } = sr(I3), M3 = bn(Jl), { activeMenuPath: Hu, currentMenuPath: go } = sr(M3), id = In(Jl);
|
|
3123
3123
|
let Uu = "$R";
|
|
3124
3124
|
const { selectTitle: fs } = sr(id), nd = async (e, a) => {
|
|
3125
3125
|
var h, u, d, v, t, b, A, L, x, K, I, O, P;
|
|
@@ -3129,7 +3129,7 @@ const { selectTitle: fs } = sr(id), nd = async (e, a) => {
|
|
|
3129
3129
|
if (r !== "") {
|
|
3130
3130
|
let S = r;
|
|
3131
3131
|
(S == null ? void 0 : S[(S == null ? void 0 : S.length) - 1]) === "/" && (S = S == null ? void 0 : S.slice(0, (S == null ? void 0 : S.length) - 1));
|
|
3132
|
-
let w = await
|
|
3132
|
+
let w = await ki(S, !1);
|
|
3133
3133
|
w = (v = w == null ? void 0 : w[0]) == null ? void 0 : v.compData;
|
|
3134
3134
|
let _ = (t = w == null ? void 0 : w.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : t.contents;
|
|
3135
3135
|
_ = ((b = _ == null ? void 0 : _.find((y) => y == null ? void 0 : y.isMainKey)) == null ? void 0 : b.prop) ?? ((A = _ == null ? void 0 : _[0]) == null ? void 0 : A.prop);
|
|
@@ -3161,7 +3161,7 @@ const { selectTitle: fs } = sr(id), nd = async (e, a) => {
|
|
|
3161
3161
|
}, O3 = async (e) => {
|
|
3162
3162
|
var o, h, u, d, v, t, b, A, L;
|
|
3163
3163
|
let a = await Dn({
|
|
3164
|
-
platId: parseInt((o =
|
|
3164
|
+
platId: parseInt((o = Ti == null ? void 0 : Ti.value) == null ? void 0 : o.plat_id),
|
|
3165
3165
|
pageName: "menu"
|
|
3166
3166
|
}), l = (h = a == null ? void 0 : a.data) == null ? void 0 : h.result, r = (t = (v = (d = (u = e == null ? void 0 : e.filter((x) => (x == null ? void 0 : x.comp) === "Table")) == null ? void 0 : u[0]) == null ? void 0 : d.compData) == null ? void 0 : v.find((x) => (x == null ? void 0 : x.key) === "filter")) == null ? void 0 : t.contents;
|
|
3167
3167
|
r = (L = (A = (b = r == null ? void 0 : r.replace("(", Uu)) == null ? void 0 : b.split(Uu)) == null ? void 0 : A[0]) == null ? void 0 : L.replaceAll(":", "/");
|
|
@@ -3182,15 +3182,15 @@ const { selectTitle: fs } = sr(id), nd = async (e, a) => {
|
|
|
3182
3182
|
})), I;
|
|
3183
3183
|
})), x;
|
|
3184
3184
|
})), e;
|
|
3185
|
-
},
|
|
3185
|
+
}, ki = async (e, a, l = {}) => {
|
|
3186
3186
|
var h, u, d, v, t, b, A, L, x, K, I, O;
|
|
3187
3187
|
let r = await Dn({
|
|
3188
|
-
platId: parseInt((h =
|
|
3188
|
+
platId: parseInt((h = Ti == null ? void 0 : Ti.value) == null ? void 0 : h.plat_id),
|
|
3189
3189
|
pageName: e
|
|
3190
3190
|
}), s = (u = r == null ? void 0 : r.data) == null ? void 0 : u.result;
|
|
3191
3191
|
if ((s == null ? void 0 : s.length) === 0 && (l != null && l.originPath) && (l == null ? void 0 : l.originPath) !== e) {
|
|
3192
3192
|
let P = await Dn({
|
|
3193
|
-
platId: parseInt((d =
|
|
3193
|
+
platId: parseInt((d = Ti == null ? void 0 : Ti.value) == null ? void 0 : d.plat_id),
|
|
3194
3194
|
pageName: l == null ? void 0 : l.originPath
|
|
3195
3195
|
});
|
|
3196
3196
|
if (((t = (v = P == null ? void 0 : P.data) == null ? void 0 : v.result) == null ? void 0 : t.length) > 0) {
|
|
@@ -3299,11 +3299,11 @@ const { selectTitle: fs } = sr(id), nd = async (e, a) => {
|
|
|
3299
3299
|
}
|
|
3300
3300
|
];
|
|
3301
3301
|
await $c({
|
|
3302
|
-
platId: parseInt((K =
|
|
3302
|
+
platId: parseInt((K = Ti == null ? void 0 : Ti.value) == null ? void 0 : K.plat_id),
|
|
3303
3303
|
changeData: w
|
|
3304
3304
|
});
|
|
3305
3305
|
let _ = await Dn({
|
|
3306
|
-
platId: parseInt((I =
|
|
3306
|
+
platId: parseInt((I = Ti == null ? void 0 : Ti.value) == null ? void 0 : I.plat_id),
|
|
3307
3307
|
pageName: e
|
|
3308
3308
|
});
|
|
3309
3309
|
s = (O = _ == null ? void 0 : _.data) == null ? void 0 : O.result;
|
|
@@ -3316,7 +3316,7 @@ const { selectTitle: fs } = sr(id), nd = async (e, a) => {
|
|
|
3316
3316
|
var r, s, o, h, u, d, v, t, b, A, L;
|
|
3317
3317
|
let a = (r = e == null ? void 0 : e.menus) == null ? void 0 : r.join("/");
|
|
3318
3318
|
e != null && e.endChildMenu && (e == null ? void 0 : e.endChildMenu) !== "" && (a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) === "/" && (a = a + (e == null ? void 0 : e.endChildMenu)), (a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) === "/" && (a = a + ((o = (s = e.value) == null ? void 0 : s.split(" ")) == null ? void 0 : o[0]));
|
|
3319
|
-
let l = await
|
|
3319
|
+
let l = await ki(a, !1);
|
|
3320
3320
|
if (l = (h = l == null ? void 0 : l.filter((x) => {
|
|
3321
3321
|
var K, I;
|
|
3322
3322
|
return (x == null ? void 0 : x.name) === ((I = e == null ? void 0 : e.groups) == null ? void 0 : I[((K = e == null ? void 0 : e.groups) == null ? void 0 : K.length) - 1]);
|
|
@@ -5880,7 +5880,7 @@ const Gr = On(Jl), hd = ue(!1), {
|
|
|
5880
5880
|
pageMapState: Ft,
|
|
5881
5881
|
itemExtendData: ko,
|
|
5882
5882
|
refreshTable: Qu
|
|
5883
|
-
} = sr(Gr), Wo = Bn(Jl), ai = bn(Jl),
|
|
5883
|
+
} = sr(Gr), Wo = Bn(Jl), ai = bn(Jl), Sr = Ic([]), { asideMenus: l4, activeTopMenuPath: r4, activeMenuPath: Sl, platform: cy, buttonTriggerType: i4, currentMenuPath: Ei } = sr(ai), ji = In(Jl), { selectTitle: zn, chooseTitle: No } = sr(ji);
|
|
5884
5884
|
ue();
|
|
5885
5885
|
const Fs = ue(!0), Xn = ue(0), Vu = ue([]);
|
|
5886
5886
|
ue(!1);
|
|
@@ -6005,10 +6005,10 @@ const vd = ue(!1), Lo = ue(), yd = ue(), gd = ue(), dy = () => {
|
|
|
6005
6005
|
}), ai.setContentLoading(!1);
|
|
6006
6006
|
}, Ro = (e) => Ks(e), vy = Pl(() => {
|
|
6007
6007
|
var e;
|
|
6008
|
-
return (e =
|
|
6008
|
+
return (e = Sr.value) == null ? void 0 : e.filter((a) => (a == null ? void 0 : a.affix) && (a == null ? void 0 : a.affix) !== "default");
|
|
6009
6009
|
}), n4 = Pl(() => {
|
|
6010
6010
|
var e;
|
|
6011
|
-
return (e =
|
|
6011
|
+
return (e = Sr.value) == null ? void 0 : e.filter((a) => !(a != null && a.affix && (a == null ? void 0 : a.affix) !== "default"));
|
|
6012
6012
|
}), s4 = ue(0), o4 = ue(null), t4 = "ocr_committed_temp_ids_v1", u4 = (e, a) => `${t4}:${String(e ?? "")}:${String(a ?? "")}`, c4 = (e, a, l) => {
|
|
6013
6013
|
try {
|
|
6014
6014
|
const r = u4(e, a), s = sessionStorage.getItem(r), o = s ? JSON.parse(s) : [], h = Array.isArray(o) ? o : [], u = Array.from(new Set([...h, ...l || []].map((d) => String(d)))).slice(-200);
|
|
@@ -6489,8 +6489,8 @@ const vd = ue(!1), Lo = ue(), yd = ue(), gd = ue(), dy = () => {
|
|
|
6489
6489
|
te = te == null ? void 0 : te[0];
|
|
6490
6490
|
let Sa;
|
|
6491
6491
|
if ((j = Object.values(te)) != null && j.some((ha) => (ha == null ? void 0 : ha[0]) === "*")) {
|
|
6492
|
-
let ha = (Me = (U = zn.value) == null ? void 0 : U.find((ia) => (ia == null ? void 0 : ia.condition) === "child")) != null && Me.value ? (
|
|
6493
|
-
Sa = await
|
|
6492
|
+
let ha = (Me = (U = zn.value) == null ? void 0 : U.find((ia) => (ia == null ? void 0 : ia.condition) === "child")) != null && Me.value ? (Ei == null ? void 0 : Ei.value) + "/" + ((ta = (xe = zn.value) == null ? void 0 : xe.find((ia) => (ia == null ? void 0 : ia.condition) === "child")) == null ? void 0 : ta.value) : Ei == null ? void 0 : Ei.value;
|
|
6493
|
+
Sa = await ki(ha, !1);
|
|
6494
6494
|
}
|
|
6495
6495
|
for (let ha in te)
|
|
6496
6496
|
if (((da = te == null ? void 0 : te[ha]) == null ? void 0 : da[0]) === "*") {
|
|
@@ -6600,8 +6600,8 @@ const vd = ue(!1), Lo = ue(), yd = ue(), gd = ue(), dy = () => {
|
|
|
6600
6600
|
}
|
|
6601
6601
|
return L;
|
|
6602
6602
|
});
|
|
6603
|
-
let r = (t = (v = a == null ? void 0 : a[0]) == null ? void 0 : v.split("_")) == null ? void 0 : t[1], s = await Ht(
|
|
6604
|
-
|
|
6603
|
+
let r = (t = (v = a == null ? void 0 : a[0]) == null ? void 0 : v.split("_")) == null ? void 0 : t[1], s = await Ht(Sr.value, r, l);
|
|
6604
|
+
Sr.value = (b = Sr.value) == null ? void 0 : b.map((A) => {
|
|
6605
6605
|
var L, x;
|
|
6606
6606
|
return (L = s == null ? void 0 : s[0]) != null && L.tabInform && ((x = s == null ? void 0 : s[0]) == null ? void 0 : x.tabInform) === (A == null ? void 0 : A.tabInform) ? A = s == null ? void 0 : s[0] : (A != null && A.name ? (A == null ? void 0 : A.name) === (s == null ? void 0 : s.name) : (A == null ? void 0 : A.id) === (s == null ? void 0 : s.id)) && (A = s), A;
|
|
6607
6607
|
});
|
|
@@ -6691,7 +6691,7 @@ const vd = ue(!1), Lo = ue(), yd = ue(), gd = ue(), dy = () => {
|
|
|
6691
6691
|
}), vd.value = !1, Gr.setRefreshTable(!0);
|
|
6692
6692
|
}, Wt = async (e, a) => {
|
|
6693
6693
|
}, qt = async (e) => {
|
|
6694
|
-
|
|
6694
|
+
Sr.value = await ms(e), Gr.setItemData(Sr.value), Gr.setOriginalData(Sr.value);
|
|
6695
6695
|
};
|
|
6696
6696
|
ue();
|
|
6697
6697
|
const my = ue(null), by = () => {
|
|
@@ -6725,42 +6725,42 @@ dl(
|
|
|
6725
6725
|
() => No.value,
|
|
6726
6726
|
async (e, a) => {
|
|
6727
6727
|
var r, s, o, h, u, d;
|
|
6728
|
-
let l = (r = No.value) == null ? void 0 : r.filter((v) => (v == null ? void 0 : v.condition) === "child" && (v == null ? void 0 : v.value) !== "" && (v == null ? void 0 : v.parentContent) !==
|
|
6728
|
+
let l = (r = No.value) == null ? void 0 : r.filter((v) => (v == null ? void 0 : v.condition) === "child" && (v == null ? void 0 : v.value) !== "" && (v == null ? void 0 : v.parentContent) !== Ei.value);
|
|
6729
6729
|
if ((l == null ? void 0 : l.length) > 0) {
|
|
6730
6730
|
ai.setContentLoading(!0);
|
|
6731
|
-
let v = ((s = l == null ? void 0 : l[0]) == null ? void 0 : s.relatedContent) ?? (Sl == null ? void 0 : Sl.value), t = v + "/" + ((o = l == null ? void 0 : l[0]) == null ? void 0 : o.value), b = !!((h = l == null ? void 0 : l[0]) != null && h.parentContent), A = await
|
|
6731
|
+
let v = ((s = l == null ? void 0 : l[0]) == null ? void 0 : s.relatedContent) ?? (Sl == null ? void 0 : Sl.value), t = v + "/" + ((o = l == null ? void 0 : l[0]) == null ? void 0 : o.value), b = !!((h = l == null ? void 0 : l[0]) != null && h.parentContent), A = await ki(t, b, { originPath: v });
|
|
6732
6732
|
A = (u = A == null ? void 0 : A.filter((K) => K)) == null ? void 0 : u.map((K) => (K.isShow = !0, K)), console.log(A, "loadingContents");
|
|
6733
6733
|
let L = await ms(A), x = L == null ? void 0 : L.filter((K) => K == null ? void 0 : K.choice);
|
|
6734
6734
|
Wo.setSelectTab((d = x == null ? void 0 : x[0]) == null ? void 0 : d.choiceName), L = L == null ? void 0 : L.filter((K) => {
|
|
6735
6735
|
var I;
|
|
6736
6736
|
return !(K != null && K.choiceName) || (K == null ? void 0 : K.choiceName) === ((I = x == null ? void 0 : x[0]) == null ? void 0 : I.choiceName);
|
|
6737
|
-
}),
|
|
6737
|
+
}), Sr.value = L, ai.setContentLoading(!1);
|
|
6738
6738
|
}
|
|
6739
6739
|
}
|
|
6740
6740
|
);
|
|
6741
6741
|
const _y = (e, a) => {
|
|
6742
6742
|
setTimeout(async () => {
|
|
6743
6743
|
var u, d, v;
|
|
6744
|
-
let l = (u = No.value) == null ? void 0 : u.filter((t) => (t == null ? void 0 : t.condition) === "child" && (t == null ? void 0 : t.value) !== "" && (t == null ? void 0 : t.parentContent) !==
|
|
6744
|
+
let l = (u = No.value) == null ? void 0 : u.filter((t) => (t == null ? void 0 : t.condition) === "child" && (t == null ? void 0 : t.value) !== "" && (t == null ? void 0 : t.parentContent) !== Ei.value), r = Sl == null ? void 0 : Sl.value, s = Sl == null ? void 0 : Sl.value;
|
|
6745
6745
|
(l == null ? void 0 : l.length) > 0 && (s = ((d = l == null ? void 0 : l[0]) == null ? void 0 : d.relatedContent) ?? (Sl == null ? void 0 : Sl.value), r = s + "/" + ((v = l == null ? void 0 : l[0]) == null ? void 0 : v.value));
|
|
6746
|
-
let o = await
|
|
6746
|
+
let o = await ki(r, !1, { originPath: s });
|
|
6747
6747
|
o = o == null ? void 0 : o.map((t) => (t.isShow = !0, t));
|
|
6748
6748
|
let h = await ms(o);
|
|
6749
|
-
|
|
6749
|
+
Sr.value = h == null ? void 0 : h.filter((t) => !(t != null && t.step) || (t == null ? void 0 : t.step) === (e == null ? void 0 : e.title));
|
|
6750
6750
|
}, 10);
|
|
6751
6751
|
}, xy = (e) => {
|
|
6752
6752
|
setTimeout(async () => {
|
|
6753
6753
|
var h, u, d;
|
|
6754
|
-
let a = (h = No.value) == null ? void 0 : h.filter((v) => (v == null ? void 0 : v.condition) === "child" && (v == null ? void 0 : v.value) !== "" && (v == null ? void 0 : v.parentContent) !==
|
|
6754
|
+
let a = (h = No.value) == null ? void 0 : h.filter((v) => (v == null ? void 0 : v.condition) === "child" && (v == null ? void 0 : v.value) !== "" && (v == null ? void 0 : v.parentContent) !== Ei.value), l = Sl == null ? void 0 : Sl.value, r = Sl == null ? void 0 : Sl.value;
|
|
6755
6755
|
(a == null ? void 0 : a.length) > 0 && (r = ((u = a == null ? void 0 : a[0]) == null ? void 0 : u.relatedContent) ?? (Sl == null ? void 0 : Sl.value), l = r + "/" + ((d = a == null ? void 0 : a[0]) == null ? void 0 : d.value));
|
|
6756
|
-
let s = await
|
|
6756
|
+
let s = await ki(l, !1, { originPath: r });
|
|
6757
6757
|
s = s == null ? void 0 : s.map((v) => (v.isShow = !0, v)), Wo.setSelectTab(e);
|
|
6758
6758
|
let o = await ms(s);
|
|
6759
|
-
|
|
6759
|
+
Sr.value = o == null ? void 0 : o.filter((v) => !(v != null && v.choiceName) || (v == null ? void 0 : v.choiceName) === e);
|
|
6760
6760
|
}, 10);
|
|
6761
6761
|
};
|
|
6762
6762
|
dl(() => l4.value, (e) => {
|
|
6763
|
-
e != null && e.length || (
|
|
6763
|
+
e != null && e.length || (Sr.value = []);
|
|
6764
6764
|
}, { immediate: !0 });
|
|
6765
6765
|
dl(
|
|
6766
6766
|
() => [Sl.value],
|
|
@@ -6769,25 +6769,25 @@ dl(
|
|
|
6769
6769
|
if (!Sl.value)
|
|
6770
6770
|
return;
|
|
6771
6771
|
if (Sl.value === "/") {
|
|
6772
|
-
|
|
6772
|
+
Sr.value = [];
|
|
6773
6773
|
return;
|
|
6774
6774
|
}
|
|
6775
|
-
ai.setCurrentMenuPath(Sl.value), Gr.setLockingPage(""),
|
|
6775
|
+
ai.setCurrentMenuPath(Sl.value), Gr.setLockingPage(""), Sr.value = [];
|
|
6776
6776
|
let a = Mc();
|
|
6777
6777
|
(o = a == null ? void 0 : a.scope) == null || o.stop(), a = null, Fs.value = !1, ai.setContentLoading(!0), hd.value = !0;
|
|
6778
6778
|
let l = e == null ? void 0 : e[0], r = l, s = (h = zn.value) == null ? void 0 : h.filter((v) => (v == null ? void 0 : v.condition) === "child" && (v == null ? void 0 : v.value) !== "" && (v == null ? void 0 : v.parentContent) !== Sl.value && !(v != null && v.relatedContent));
|
|
6779
6779
|
if ((s == null ? void 0 : s.length) > 0 && (l = l + "/" + ((u = s == null ? void 0 : s[0]) == null ? void 0 : u.value)), l === "系统管理/日志管理")
|
|
6780
|
-
|
|
6780
|
+
Sr.value = await Z2("log");
|
|
6781
6781
|
else {
|
|
6782
|
-
let v = await
|
|
6782
|
+
let v = await ki(l, !0, { originPath: r });
|
|
6783
6783
|
v = v == null ? void 0 : v.map((A) => (A.isShow = !0, A));
|
|
6784
6784
|
let t = await ms(v), b = t == null ? void 0 : t.filter((A) => A == null ? void 0 : A.choice);
|
|
6785
|
-
Wo.setSelectTab((d = b == null ? void 0 : b[0]) == null ? void 0 : d.choiceName),
|
|
6785
|
+
Wo.setSelectTab((d = b == null ? void 0 : b[0]) == null ? void 0 : d.choiceName), Sr.value = t == null ? void 0 : t.filter((A) => {
|
|
6786
6786
|
var L;
|
|
6787
6787
|
return !(A != null && A.choiceName) || (A == null ? void 0 : A.choiceName) === ((L = b == null ? void 0 : b[0]) == null ? void 0 : L.choiceName);
|
|
6788
6788
|
});
|
|
6789
6789
|
}
|
|
6790
|
-
ai.setContentLoading(!1), Gr.setExtraContents([]), ji.setSelectIndex(""), ji.setSelectMenu(""), Gr.setItemData(
|
|
6790
|
+
ai.setContentLoading(!1), Gr.setExtraContents([]), ji.setSelectIndex(""), ji.setSelectMenu(""), Gr.setItemData(Sr.value), Gr.setOriginalData(Sr.value), Gr.setRefreshTable(!1), Nr(() => {
|
|
6791
6791
|
Xn.value = Xn.value++, Fs.value = !0;
|
|
6792
6792
|
});
|
|
6793
6793
|
},
|
|
@@ -6800,18 +6800,18 @@ dl(
|
|
|
6800
6800
|
async () => {
|
|
6801
6801
|
var e, a, l, r;
|
|
6802
6802
|
if (Qu.value) {
|
|
6803
|
-
|
|
6803
|
+
Sr.value = [];
|
|
6804
6804
|
let s = Mc();
|
|
6805
6805
|
(e = s == null ? void 0 : s.scope) == null || e.stop(), s = null, Fs.value = !1, ai.setContentLoading(!0), hd.value = !0;
|
|
6806
|
-
let o =
|
|
6806
|
+
let o = Ei == null ? void 0 : Ei.value, h = o, u = (a = zn.value) == null ? void 0 : a.filter((b) => (b == null ? void 0 : b.condition) === "child" && (b == null ? void 0 : b.value) !== "" && (b == null ? void 0 : b.parentContent) !== (Ei == null ? void 0 : Ei.value));
|
|
6807
6807
|
(u == null ? void 0 : u.length) > 0 && (o = o + "/" + ((l = u == null ? void 0 : u[0]) == null ? void 0 : l.value));
|
|
6808
|
-
let d = await
|
|
6808
|
+
let d = await ki(o, !0, { originPath: h });
|
|
6809
6809
|
d = d == null ? void 0 : d.map((b) => (b.isShow = !0, b));
|
|
6810
6810
|
let v = await ms(d), t = v == null ? void 0 : v.filter((b) => b == null ? void 0 : b.choice);
|
|
6811
|
-
if (Wo.setSelectTab((r = t == null ? void 0 : t[0]) == null ? void 0 : r.choiceName),
|
|
6811
|
+
if (Wo.setSelectTab((r = t == null ? void 0 : t[0]) == null ? void 0 : r.choiceName), Sr.value = v == null ? void 0 : v.filter((b) => {
|
|
6812
6812
|
var A;
|
|
6813
6813
|
return !(b != null && b.choiceName) || (b == null ? void 0 : b.choiceName) === ((A = t == null ? void 0 : t[0]) == null ? void 0 : A.choiceName);
|
|
6814
|
-
}), ai.setContentLoading(!1), Gr.setExtraContents([]), ji.setSelectIndex(""), ji.setSelectMenu(""), Gr.setItemData(
|
|
6814
|
+
}), ai.setContentLoading(!1), Gr.setExtraContents([]), ji.setSelectIndex(""), ji.setSelectMenu(""), Gr.setItemData(Sr.value), Gr.setOriginalData(Sr.value), Gr.setRefreshTable(!1), (u == null ? void 0 : u.length) > 0) {
|
|
6815
6815
|
let b = [...zn.value, ...u];
|
|
6816
6816
|
ji.setSelectTitle(b);
|
|
6817
6817
|
}
|
|
@@ -6823,7 +6823,7 @@ dl(
|
|
|
6823
6823
|
{ immediate: !0, deep: !0 }
|
|
6824
6824
|
);
|
|
6825
6825
|
const wy = async () => {
|
|
6826
|
-
ai.setLinkMenuInfo(null), ai.setActiveMenuPath(a4.value),
|
|
6826
|
+
ai.setLinkMenuInfo(null), ai.setActiveMenuPath(a4.value), Sr.value = null, Gr.setRouteToChildPath(""), ai.setChildMenu("");
|
|
6827
6827
|
}, Sy = (e) => new RegExp("button", "i").test(e), p4 = (e) => /^[\u4e00-\u9fa5]+\/[\u4e00-\u9fa5]+\^(.+)$/.test(e), f4 = (e) => {
|
|
6828
6828
|
if (p4(e)) {
|
|
6829
6829
|
const a = e == null ? void 0 : e.split("^");
|
|
@@ -6841,8 +6841,8 @@ const wy = async () => {
|
|
|
6841
6841
|
(B == null ? void 0 : B.prop) === s && (r = B == null ? void 0 : B.fatherPath);
|
|
6842
6842
|
});
|
|
6843
6843
|
let o = r === "" ? Sl.value : r;
|
|
6844
|
-
r !== "" && ai.setCurrentMenuPath(o), ai.setCurrentMenuPath(o + "/" + e), ai.setContentLoading(!0);
|
|
6845
|
-
let h = await
|
|
6844
|
+
r !== "" && ai.setCurrentMenuPath(o), ai.setCurrentMenuPath(o + "/" + e), ai.setContentLoading(!0), Sr.value = await ki(o + "/" + e, !0, { originPath: o + "/", row: a });
|
|
6845
|
+
let h = await ki(o, !1), u = (A = h == null ? void 0 : h.filter((B) => (B == null ? void 0 : B.comp) === "Table")) == null ? void 0 : A[0], d = ((I = (K = (x = (L = u == null ? void 0 : u.compData) == null ? void 0 : L.find((B) => (B == null ? void 0 : B.key) === "header")) == null ? void 0 : x.contents) == null ? void 0 : K[0]) == null ? void 0 : I.prop) ?? ((_ = (w = (S = (P = (O = u == null ? void 0 : u.compData) == null ? void 0 : O.find((B) => (B == null ? void 0 : B.key) === "header")) == null ? void 0 : P.contents) == null ? void 0 : S[0]) == null ? void 0 : w[0]) == null ? void 0 : _.prop), v = (y = (m = u == null ? void 0 : u.compData) == null ? void 0 : m.find((B) => (B == null ? void 0 : B.key) === "tableContents")) == null ? void 0 : y.contents;
|
|
6846
6846
|
v = v == null ? void 0 : v.map((B) => ({
|
|
6847
6847
|
label: B == null ? void 0 : B[d],
|
|
6848
6848
|
value: B == null ? void 0 : B[d]
|
|
@@ -6854,7 +6854,7 @@ const wy = async () => {
|
|
|
6854
6854
|
relatedContent: o,
|
|
6855
6855
|
isShow: !0
|
|
6856
6856
|
};
|
|
6857
|
-
t.push(b), ji.setSelectTitle(t), ji.setChooseTitle([b]), ai.setContentLoading(!1), Gr.setExtraContents([]), ji.setSelectIndex(""), ji.setSelectMenu(""), Gr.setItemData(
|
|
6857
|
+
t.push(b), ji.setSelectTitle(t), ji.setChooseTitle([b]), ai.setContentLoading(!1), Gr.setExtraContents([]), ji.setSelectIndex(""), ji.setSelectMenu(""), Gr.setItemData(Sr.value), Gr.setOriginalData(Sr.value);
|
|
6858
6858
|
}, Ay = (e) => {
|
|
6859
6859
|
s4.value = e;
|
|
6860
6860
|
}, Cs = ii({
|
|
@@ -6862,14 +6862,14 @@ const wy = async () => {
|
|
|
6862
6862
|
comp: null
|
|
6863
6863
|
}), Ty = Pl(() => {
|
|
6864
6864
|
var e;
|
|
6865
|
-
return (e =
|
|
6865
|
+
return (e = Sr.value) == null ? void 0 : e.map((a, l) => ({
|
|
6866
6866
|
id: a.id,
|
|
6867
6867
|
name: a.name,
|
|
6868
6868
|
status: v4(a, l)
|
|
6869
6869
|
}));
|
|
6870
6870
|
}), md = (e, a) => {
|
|
6871
6871
|
var d, v, t, b, A;
|
|
6872
|
-
const l = a ? e : e - 2, r = (d =
|
|
6872
|
+
const l = a ? e : e - 2, r = (d = Sr.value) == null ? void 0 : d[l], s = (t = (v = r == null ? void 0 : r.compData) == null ? void 0 : v.find((L) => (L == null ? void 0 : L.key) === "header")) == null ? void 0 : t.contents, o = s == null ? void 0 : s.findIndex((L) => (L == null ? void 0 : L.isMainKey) && (L == null ? void 0 : L.label) !== "操作"), h = o === -1 ? 0 : o, u = (A = (b = r == null ? void 0 : r.compData) == null ? void 0 : b.find((L) => (L == null ? void 0 : L.key) === "tableContents")) == null ? void 0 : A.contents;
|
|
6873
6873
|
return {
|
|
6874
6874
|
valid: u == null ? void 0 : u.every((L) => L == null ? void 0 : L[h + 1]),
|
|
6875
6875
|
length: (u == null ? void 0 : u.length) || 0
|
|
@@ -6885,15 +6885,15 @@ const wy = async () => {
|
|
|
6885
6885
|
}, y4 = (e) => {
|
|
6886
6886
|
var l, r, s, o, h;
|
|
6887
6887
|
const a = e + 1;
|
|
6888
|
-
if (a > 1 && ((s = (r = (l =
|
|
6888
|
+
if (a > 1 && ((s = (r = (l = Sr.value) == null ? void 0 : l[e]) == null ? void 0 : r.comp) == null ? void 0 : s.toUpperCase()) === "TABLE") {
|
|
6889
6889
|
const { valid: u } = md(a);
|
|
6890
|
-
u ? (Cs.index = a, Cs.comp = (o =
|
|
6890
|
+
u ? (Cs.index = a, Cs.comp = (o = Sr.value) == null ? void 0 : o[e]) : wl({
|
|
6891
6891
|
showClose: !0,
|
|
6892
6892
|
type: "warning",
|
|
6893
6893
|
message: "当前流程有输入未完成"
|
|
6894
6894
|
});
|
|
6895
6895
|
} else
|
|
6896
|
-
Cs.index = a, Cs.comp = (h =
|
|
6896
|
+
Cs.index = a, Cs.comp = (h = Sr.value) == null ? void 0 : h[e];
|
|
6897
6897
|
}, g4 = Pl(() => {
|
|
6898
6898
|
var e, a;
|
|
6899
6899
|
return (a = (e = n4.value) == null ? void 0 : e[0]) == null ? void 0 : a.isStepLayout;
|
|
@@ -7092,7 +7092,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7092
7092
|
let w = "$R";
|
|
7093
7093
|
const { originalPath: _ } = sr(S), m = _.value, y = Pl(() => {
|
|
7094
7094
|
var f;
|
|
7095
|
-
const c = (f =
|
|
7095
|
+
const c = (f = wi(ie.value) || []) == null ? void 0 : f.filter((D) => (D == null ? void 0 : D.type) !== "operate" && (D == null ? void 0 : D.label) !== "操作" && (D == null ? void 0 : D.prop) !== "operate");
|
|
7096
7096
|
return c.length > 0 ? c.every((D) => !!(D != null && D.sortable)) : !1;
|
|
7097
7097
|
});
|
|
7098
7098
|
Pl(() => {
|
|
@@ -7196,7 +7196,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7196
7196
|
const Pa = ue(!1), Ua = ue([]), ge = ue(1), ka = ue(/* @__PURE__ */ new Map()), Ne = ue(/* @__PURE__ */ new Map()), te = ue(0), Sa = ue(!1), ha = ue([]), ia = ue([]), ea = (c) => {
|
|
7197
7197
|
var f;
|
|
7198
7198
|
try {
|
|
7199
|
-
const D = (f =
|
|
7199
|
+
const D = (f = wi(ie.value) || []) == null ? void 0 : f.filter((C) => (C == null ? void 0 : C.type) !== "operate" && (C == null ? void 0 : C.label) !== "操作" && (C == null ? void 0 : C.prop) !== "operate");
|
|
7200
7200
|
return (D == null ? void 0 : D.find((C) => (C == null ? void 0 : C.prop) === c || (C == null ? void 0 : C.label) === c)) || null;
|
|
7201
7201
|
} catch {
|
|
7202
7202
|
return null;
|
|
@@ -7208,7 +7208,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7208
7208
|
Pl(() => {
|
|
7209
7209
|
var c;
|
|
7210
7210
|
try {
|
|
7211
|
-
const f = (c =
|
|
7211
|
+
const f = (c = wi(ie.value) || []) == null ? void 0 : c.filter((C) => (C == null ? void 0 : C.type) !== "operate" && (C == null ? void 0 : C.label) !== "操作" && (C == null ? void 0 : C.prop) !== "operate"), D = /* @__PURE__ */ new Map();
|
|
7212
7212
|
return f == null || f.forEach((C) => {
|
|
7213
7213
|
C != null && C.label && (C != null && C.prop) && D.set(C.label, C.prop);
|
|
7214
7214
|
}), D.get("编号") || "";
|
|
@@ -7219,7 +7219,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7219
7219
|
const ui = Pl(() => {
|
|
7220
7220
|
var c;
|
|
7221
7221
|
try {
|
|
7222
|
-
const f = (c =
|
|
7222
|
+
const f = (c = wi(ie.value) || []) == null ? void 0 : c.filter((C) => (C == null ? void 0 : C.type) !== "operate" && (C == null ? void 0 : C.label) !== "操作" && (C == null ? void 0 : C.prop) !== "operate"), D = /* @__PURE__ */ new Map();
|
|
7223
7223
|
return f == null || f.forEach((C) => {
|
|
7224
7224
|
C != null && C.label && (C != null && C.prop) && D.set(C.label, C.prop);
|
|
7225
7225
|
}), D.get("名称") || "";
|
|
@@ -7229,7 +7229,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7229
7229
|
}), ir = Pl(() => {
|
|
7230
7230
|
var c;
|
|
7231
7231
|
try {
|
|
7232
|
-
const f = (c =
|
|
7232
|
+
const f = (c = wi(ie.value) || []) == null ? void 0 : c.filter((C) => (C == null ? void 0 : C.type) !== "operate" && (C == null ? void 0 : C.label) !== "操作" && (C == null ? void 0 : C.prop) !== "operate"), D = /* @__PURE__ */ new Map();
|
|
7233
7233
|
return f == null || f.forEach((C) => {
|
|
7234
7234
|
C != null && C.label && (C != null && C.prop) && D.set(C.label, C.prop);
|
|
7235
7235
|
}), D.get("制造厂") || "";
|
|
@@ -7250,7 +7250,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7250
7250
|
}, si = async (c, f = null) => {
|
|
7251
7251
|
var D, C, N, T, ae, le, W;
|
|
7252
7252
|
try {
|
|
7253
|
-
const ke = (D =
|
|
7253
|
+
const ke = (D = wi(ie.value) || []) == null ? void 0 : D.filter((Aa) => (Aa == null ? void 0 : Aa.type) !== "operate" && (Aa == null ? void 0 : Aa.label) !== "操作" && (Aa == null ? void 0 : Aa.prop) !== "operate"), Ie = /* @__PURE__ */ new Map();
|
|
7254
7254
|
ke == null || ke.forEach((Aa) => {
|
|
7255
7255
|
Aa != null && Aa.label && (Aa != null && Aa.prop) && Ie.set(Aa.label, Aa.prop);
|
|
7256
7256
|
});
|
|
@@ -7420,7 +7420,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7420
7420
|
}), (rr.value || []).length > 0 && (Te.value = [...Te.value || []]), (fr.value || []).length > 0 && (Te.value = [...Te.value || [], ...fr.value || []], ma.value = [...ma.value || [], ...fr.value || []], (fr.value || []).forEach((T) => {
|
|
7421
7421
|
var ae, le;
|
|
7422
7422
|
return (le = (ae = Ye.value) == null ? void 0 : ae.set) == null ? void 0 : le.call(ae, T.id, T);
|
|
7423
|
-
})),
|
|
7423
|
+
})), _i.value = Te.value;
|
|
7424
7424
|
const C = rr.value || [], N = fr.value || [];
|
|
7425
7425
|
if (C.length > 0 && (Se("change", {
|
|
7426
7426
|
buttonName: "编辑",
|
|
@@ -7454,7 +7454,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7454
7454
|
});
|
|
7455
7455
|
}
|
|
7456
7456
|
wl.success("已提交候选处理结果"), mr();
|
|
7457
|
-
}, Br = pd(), Vr = Pl(() => Br.getConfig()), ei = ue(), kr = ue(), Zi = sd(Jl),
|
|
7457
|
+
}, Br = pd(), Vr = Pl(() => Br.getConfig()), ei = ue(), kr = ue(), Zi = sd(Jl), _i = ue(), Mi = ue(0), dn = In(Jl), { selectIndex: Qi, selectMenu: qi, selectTitle: Oi } = sr(dn), { selectString: yr } = sr(Zi), or = Mn(Jl), { loginUserInfo: jl } = sr(or), Yl = ue(720), Hl = ue(!1), $r = ue(!1), Ar = ue([]), lr = ue(), oi = ue(!0), ci = ue(!0);
|
|
7458
7458
|
ue([]);
|
|
7459
7459
|
const Vi = Mt("contentRef");
|
|
7460
7460
|
Ms("contentRef", Vi), Ms("getSuggestListForCell", cp), Ms("getSuggestLoadingForCell", (c, f) => {
|
|
@@ -7715,7 +7715,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7715
7715
|
}
|
|
7716
7716
|
N.unshift(T);
|
|
7717
7717
|
const le = Bs.aoa_to_sheet(N), W = Bs.book_new();
|
|
7718
|
-
Bs.book_append_sheet(W, le, C), cf(W, `${f}.xlsx`),
|
|
7718
|
+
Bs.book_append_sheet(W, le, C), cf(W, `${f}.xlsx`), Ar.value = [];
|
|
7719
7719
|
}, Gs = async (c, f, D, C = !1, N) => {
|
|
7720
7720
|
try {
|
|
7721
7721
|
Ue.setRefreshCurStructure(!1);
|
|
@@ -7784,13 +7784,13 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7784
7784
|
const Qe = (rl = Te.value) == null ? void 0 : rl.find((xa) => (xa == null ? void 0 : xa.id) === Pe);
|
|
7785
7785
|
if (!Qe) return;
|
|
7786
7786
|
if (Qe != null && Qe._isTemp) {
|
|
7787
|
-
const il = (
|
|
7787
|
+
const il = (wi(ie.value) || []).filter((z) => (z == null ? void 0 : z.mainKey) === !0 || (z == null ? void 0 : z.isMainKey) === !0), _e = Te.value.findIndex((z) => (z == null ? void 0 : z.id) === Pe), ja = _e >= 0 ? _e + 1 : Te.value.length + 1;
|
|
7788
7788
|
Jo(Qe, il, Te.value, D);
|
|
7789
7789
|
const ga = {
|
|
7790
7790
|
id: ja.toString()
|
|
7791
7791
|
// id 为该行在表中的位置(1-based)
|
|
7792
7792
|
};
|
|
7793
|
-
(Qe == null ? void 0 : Qe.sort) !== void 0 && (Qe == null ? void 0 : Qe.sort) !== null && String(Qe.sort).trim() !== "" ? ga.sort = String(Qe.sort) : ga.sort = vn(_e >= 0 ? _e : Te.value.length - 1, Te.value || []), (
|
|
7793
|
+
(Qe == null ? void 0 : Qe.sort) !== void 0 && (Qe == null ? void 0 : Qe.sort) !== null && String(Qe.sort).trim() !== "" ? ga.sort = String(Qe.sort) : ga.sort = vn(_e >= 0 ? _e : Te.value.length - 1, Te.value || []), (wi(ie.value) || []).filter(
|
|
7794
7794
|
(z) => (z == null ? void 0 : z.type) !== "operate" && (z == null ? void 0 : z.label) !== "操作" && (z == null ? void 0 : z.prop) !== "operate"
|
|
7795
7795
|
).forEach((z) => {
|
|
7796
7796
|
const Y = z == null ? void 0 : z.prop;
|
|
@@ -7801,7 +7801,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7801
7801
|
}), D.push(ga);
|
|
7802
7802
|
return;
|
|
7803
7803
|
}
|
|
7804
|
-
const Ra = (
|
|
7804
|
+
const Ra = (wi(ie.value) || []).filter(
|
|
7805
7805
|
(xa) => (xa == null ? void 0 : xa.type) !== "operate" && (xa == null ? void 0 : xa.label) !== "操作" && (xa == null ? void 0 : xa.prop) !== "operate"
|
|
7806
7806
|
), Ba = new Set(Ra.map((xa) => xa == null ? void 0 : xa.prop).filter(Boolean)), Ve = {};
|
|
7807
7807
|
for (const xa of Ba)
|
|
@@ -7886,7 +7886,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7886
7886
|
}
|
|
7887
7887
|
}
|
|
7888
7888
|
}, Zo = (c) => {
|
|
7889
|
-
|
|
7889
|
+
Ar.value = c;
|
|
7890
7890
|
}, Qo = (c, f) => {
|
|
7891
7891
|
lr.value === f ? oi.value = !1 : oi.value = !0, lr.value = f == null ? void 0 : f.changeProp;
|
|
7892
7892
|
}, Qs = (c) => {
|
|
@@ -7917,7 +7917,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
7917
7917
|
await Ju(t.index, T), ie.value = N, J.value = T;
|
|
7918
7918
|
}, xn = (c) => {
|
|
7919
7919
|
var N;
|
|
7920
|
-
return ((N =
|
|
7920
|
+
return ((N = wi(c || []) || []) == null ? void 0 : N.filter((T) => (T == null ? void 0 : T.prop) && (T == null ? void 0 : T.type) !== "operate" && (T == null ? void 0 : T.label) !== "操作" && (T == null ? void 0 : T.prop) !== "operate")).map((T) => {
|
|
7921
7921
|
const { prop: ae } = T;
|
|
7922
7922
|
return U2(ae, T);
|
|
7923
7923
|
});
|
|
@@ -8823,7 +8823,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
8823
8823
|
wl.warning("暂无数据可添加");
|
|
8824
8824
|
return;
|
|
8825
8825
|
}
|
|
8826
|
-
const C = (Ve =
|
|
8826
|
+
const C = (Ve = wi(ie.value) || []) == null ? void 0 : Ve.filter((xa) => (xa == null ? void 0 : xa.type) !== "operate" && (xa == null ? void 0 : xa.label) !== "操作" && (xa == null ? void 0 : xa.prop) !== "operate"), N = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), ae = (rl = C == null ? void 0 : C.find((xa) => (xa == null ? void 0 : xa.label) === "证书附件")) == null ? void 0 : rl.prop;
|
|
8827
8827
|
C == null || C.forEach((xa) => {
|
|
8828
8828
|
xa != null && xa.label && (xa != null && xa.prop) && (N.set(xa.label, xa.prop), T.set(xa.prop, xa.label));
|
|
8829
8829
|
});
|
|
@@ -8999,7 +8999,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
8999
8999
|
});
|
|
9000
9000
|
}, Wr = () => {
|
|
9001
9001
|
ge.value > 1 && ge.value--;
|
|
9002
|
-
},
|
|
9002
|
+
}, xi = () => {
|
|
9003
9003
|
ge.value === 1 ? ua.value.length > 0 && !ul.value && Ke() : ge.value === 2 && (na(), ge.value = 3);
|
|
9004
9004
|
}, $i = async (c) => {
|
|
9005
9005
|
await Pn(c == null ? void 0 : c.row);
|
|
@@ -9021,7 +9021,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
9021
9021
|
}
|
|
9022
9022
|
}
|
|
9023
9023
|
if (!C || C.length === 0) {
|
|
9024
|
-
const ae = (N =
|
|
9024
|
+
const ae = (N = wi(ie.value) || []) == null ? void 0 : N.filter((W) => (W == null ? void 0 : W.type) !== "operate" && (W == null ? void 0 : W.label) !== "操作" && (W == null ? void 0 : W.prop) !== "operate"), le = f || ((T = ae == null ? void 0 : ae.find((W) => (W == null ? void 0 : W.label) === "证书附件")) == null ? void 0 : T.prop);
|
|
9025
9025
|
if (le && c[le]) {
|
|
9026
9026
|
const W = c[le];
|
|
9027
9027
|
let ke = [], Ie = "", qe = !1;
|
|
@@ -9079,7 +9079,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
9079
9079
|
f != null && f.id && ((Y = (z = Ye.value) == null ? void 0 : z.has) != null && Y.call(z, f == null ? void 0 : f.id)) && Ye.value.delete(f.id);
|
|
9080
9080
|
} catch {
|
|
9081
9081
|
}
|
|
9082
|
-
g2(
|
|
9082
|
+
g2(_i.value, qi.value, f == null ? void 0 : f.id), Ue.setTableLoading(t == null ? void 0 : t.index), Se("change", {
|
|
9083
9083
|
content: Te.value,
|
|
9084
9084
|
fixContent: [f],
|
|
9085
9085
|
index: t == null ? void 0 : t.index,
|
|
@@ -9091,7 +9091,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
9091
9091
|
}), console.log(f, "item");
|
|
9092
9092
|
});
|
|
9093
9093
|
else if (c === "批量删除") {
|
|
9094
|
-
if (((C =
|
|
9094
|
+
if (((C = Ar.value) == null ? void 0 : C.length) === 0)
|
|
9095
9095
|
return wl.warning("请先勾选操作的数据");
|
|
9096
9096
|
Fi.confirm("是否确认删除", "温馨提示", {
|
|
9097
9097
|
confirmButtonText: "确认",
|
|
@@ -9099,10 +9099,10 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
9099
9099
|
type: "warning"
|
|
9100
9100
|
}).then(async () => {
|
|
9101
9101
|
var z, Y, Fe, oa, we;
|
|
9102
|
-
const za = (z =
|
|
9102
|
+
const za = (z = Ar.value) == null ? void 0 : z.map((pa) => pa.id);
|
|
9103
9103
|
Te.value = (Y = $e(Te.value)) == null ? void 0 : Y.filter((pa) => !(za != null && za.includes(pa.id))), Ue.setTableLoading(t == null ? void 0 : t.index), Se("change", {
|
|
9104
9104
|
content: Te.value,
|
|
9105
|
-
fixContent:
|
|
9105
|
+
fixContent: Ar.value,
|
|
9106
9106
|
index: t == null ? void 0 : t.index,
|
|
9107
9107
|
type: "delete",
|
|
9108
9108
|
name: t == null ? void 0 : t.compName,
|
|
@@ -9112,7 +9112,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
9112
9112
|
});
|
|
9113
9113
|
const Da = (za || []).filter(Boolean);
|
|
9114
9114
|
if (Da.length > 0 && Da.every((pa) => pa != null && pa !== "")) {
|
|
9115
|
-
const pa = (
|
|
9115
|
+
const pa = (Ar.value || []).map((Ca) => {
|
|
9116
9116
|
const tl = { ...Ca };
|
|
9117
9117
|
return delete tl._isOCRRow, delete tl._ocrTableId, delete tl._isTemp, delete tl.tableEditType, delete tl.index, tl;
|
|
9118
9118
|
});
|
|
@@ -9192,11 +9192,11 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
9192
9192
|
var Fl, hr;
|
|
9193
9193
|
if (!Tl) return "";
|
|
9194
9194
|
try {
|
|
9195
|
-
const Rl = await
|
|
9196
|
-
if (!Array.isArray(Ir)) return
|
|
9195
|
+
const Rl = await ki("试验任务/任务管理", !1), dr = (Ir, Tr = []) => {
|
|
9196
|
+
if (!Array.isArray(Ir)) return Tr;
|
|
9197
9197
|
for (const Er of Ir)
|
|
9198
|
-
(Er == null ? void 0 : Er.comp) === "Table" && (Er != null && Er.name) &&
|
|
9199
|
-
return
|
|
9198
|
+
(Er == null ? void 0 : Er.comp) === "Table" && (Er != null && Er.name) && Tr.push(Er), Array.isArray(Er == null ? void 0 : Er.children) && dr(Er.children, Tr), Array.isArray(Er == null ? void 0 : Er.tab) && dr(Er.tab, Tr), Array.isArray(Er == null ? void 0 : Er.choice) && dr(Er.choice, Tr);
|
|
9199
|
+
return Tr;
|
|
9200
9200
|
}, tr = dr(Rl || []).find((Ir) => (Ir == null ? void 0 : Ir.name) === "任务列表"), Cr = ((hr = (Fl = tr == null ? void 0 : tr.compData) == null ? void 0 : Fl.find((Ir) => (Ir == null ? void 0 : Ir.key) === "tableContents")) == null ? void 0 : hr.contents) || [];
|
|
9201
9201
|
if (!Array.isArray(Cr) || Cr.length === 0) return "";
|
|
9202
9202
|
const hi = Cr.find((Ir) => String((Ir == null ? void 0 : Ir["试验代号(名称)"]) || "").slice(0, 8) === Tl);
|
|
@@ -9204,7 +9204,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
9204
9204
|
} catch (Rl) {
|
|
9205
9205
|
return console.warn("获取任务列表计划试验时间失败:", Rl), "";
|
|
9206
9206
|
}
|
|
9207
|
-
}, Ca = (Ze.value || "").replace(/\/+$/, ""), tl = Fe ? `${Ca}/${Fe}` : Ca, Qa = await
|
|
9207
|
+
}, Ca = (Ze.value || "").replace(/\/+$/, ""), tl = Fe ? `${Ca}/${Fe}` : Ca, Qa = await ki(tl || Ze.value, !1), yl = String(ya.value || "").trim(), ml = (Tl) => String(Tl || "").trim(), ar = (Tl, Fl = [], hr = "") => {
|
|
9208
9208
|
if (!Array.isArray(Tl)) return Fl;
|
|
9209
9209
|
for (const Rl of Tl) {
|
|
9210
9210
|
const dr = ml(
|
|
@@ -9229,19 +9229,19 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
9229
9229
|
else {
|
|
9230
9230
|
const Ir = ((_r == null ? void 0 : _r.prop) ?? "").toString();
|
|
9231
9231
|
if (!Ir) continue;
|
|
9232
|
-
const
|
|
9232
|
+
const Tr = tr || Ir, Er = (Cr.length > 0 ? [...dr, Tr] : [Tr]).join(".");
|
|
9233
9233
|
Fl.set(Ir, Er);
|
|
9234
9234
|
}
|
|
9235
9235
|
}
|
|
9236
9236
|
};
|
|
9237
9237
|
return hr(Tl, []), Fl;
|
|
9238
9238
|
}, Va = (Tl, Fl) => {
|
|
9239
|
-
const hr = pl(Tl || []), dr = (
|
|
9239
|
+
const hr = pl(Tl || []), dr = (wi(Tl || []) || []).filter((tr) => (tr == null ? void 0 : tr.prop) && (tr == null ? void 0 : tr.type) !== "operate" && (tr == null ? void 0 : tr.label) !== "操作" && (tr == null ? void 0 : tr.prop) !== "operate"), _r = Array.isArray(Fl) ? Fl : [];
|
|
9240
9240
|
return _r.length === 0 ? [] : _r.map((tr) => {
|
|
9241
9241
|
const Cr = {};
|
|
9242
9242
|
return dr.forEach((hi) => {
|
|
9243
|
-
const Ir = String(hi.prop),
|
|
9244
|
-
Cr[
|
|
9243
|
+
const Ir = String(hi.prop), Tr = hr.get(Ir) || String(hi.label || hi.prop);
|
|
9244
|
+
Cr[Tr] = (tr == null ? void 0 : tr[Ir]) ?? "";
|
|
9245
9245
|
}), Cr;
|
|
9246
9246
|
});
|
|
9247
9247
|
}, fl = Ga.map((Tl) => {
|
|
@@ -9275,7 +9275,7 @@ const m4 = { class: "table-content" }, b4 = { class: "menu-config-wrap" }, k4 =
|
|
|
9275
9275
|
}, 100);
|
|
9276
9276
|
const hi = Array.isArray((Ve = (Ba = Xl == null ? void 0 : Xl.data) == null ? void 0 : Ba.result) == null ? void 0 : Ve.warnings) ? Xl.data.result.warnings : [];
|
|
9277
9277
|
if (hi.length > 0) {
|
|
9278
|
-
const Ir = hi.map((
|
|
9278
|
+
const Ir = hi.map((Tr, Er) => `${Er + 1}. ${(Tr == null ? void 0 : Tr.field) || "未知字段"}:${(Tr == null ? void 0 : Tr.message) || ""}`).join(`
|
|
9279
9279
|
`);
|
|
9280
9280
|
wl.warning({
|
|
9281
9281
|
message: `导出成功,但存在以下提示:
|
|
@@ -9293,11 +9293,11 @@ ${Ir}`,
|
|
|
9293
9293
|
za.close();
|
|
9294
9294
|
}
|
|
9295
9295
|
} else if (c != null && c.includes("导出") && c !== "导出paraform") {
|
|
9296
|
-
if (c === "导出选中" && ((xa =
|
|
9296
|
+
if (c === "导出选中" && ((xa = Ar.value) == null ? void 0 : xa.length) === 0)
|
|
9297
9297
|
return wl.warning(`请先勾选${c}的数据`);
|
|
9298
9298
|
if (c === "导出全部" && ((il = Te.value) == null ? void 0 : il.length) === 0)
|
|
9299
9299
|
return wl.warning("暂无数据导出");
|
|
9300
|
-
let za = ["序号", ...(ja = (_e = ie.value) == null ? void 0 : _e.map((Fe) => Fe == null ? void 0 : Fe.prop)) == null ? void 0 : ja.filter((Fe) => Fe !== "操作")], Da = c === "导出全部" ? Te.value :
|
|
9300
|
+
let za = ["序号", ...(ja = (_e = ie.value) == null ? void 0 : _e.map((Fe) => Fe == null ? void 0 : Fe.prop)) == null ? void 0 : ja.filter((Fe) => Fe !== "操作")], Da = c === "导出全部" ? Te.value : Ar.value;
|
|
9301
9301
|
const z = ["id", "sort", "tableEditType", "create_time", "update_time", "source_table", "create_user_id", "update_user_id", "department_id", "relatedId"];
|
|
9302
9302
|
Da = Da == null ? void 0 : Da.map((Fe) => Object.fromEntries(
|
|
9303
9303
|
Object.entries(Fe).filter(([oa]) => !z.includes(oa))
|
|
@@ -9674,7 +9674,7 @@ ${Ir}`,
|
|
|
9674
9674
|
const D = (Qe) => {
|
|
9675
9675
|
var Aa, Ra, Ba;
|
|
9676
9676
|
return Qe ? typeof (Qe == null ? void 0 : Qe.value) == "string" ? Qe.value : ((Ba = (Ra = (Aa = Qe == null ? void 0 : Qe._custom) == null ? void 0 : Aa.value) == null ? void 0 : Ra.value) == null ? void 0 : Ba.value) || "" : "";
|
|
9677
|
-
}, C = Array.isArray(Oi.value) ? Oi.value : [], N = D(C.find((Qe) => (Qe == null ? void 0 : Qe.condition) === "child")), T = (Ze.value || "").replace(/\/+$/, ""), ae = N ? `${T}/${N}` : T, le = await
|
|
9677
|
+
}, C = Array.isArray(Oi.value) ? Oi.value : [], N = D(C.find((Qe) => (Qe == null ? void 0 : Qe.condition) === "child")), T = (Ze.value || "").replace(/\/+$/, ""), ae = N ? `${T}/${N}` : T, le = await ki(ae || Ze.value, !1), W = String(ya.value || "").trim(), ke = (Qe) => String(Qe || "").trim(), Ie = (Qe, Aa = [], Ra = "") => {
|
|
9678
9678
|
if (!Array.isArray(Qe)) return Aa;
|
|
9679
9679
|
for (const Ba of Qe) {
|
|
9680
9680
|
const Ve = ke((Ba == null ? void 0 : Ba.choiceName) || (Ba == null ? void 0 : Ba.name0) || Ra);
|
|
@@ -9749,12 +9749,12 @@ ${Ir}`,
|
|
|
9749
9749
|
var hr, Rl, dr, _r, tr, Cr, hi;
|
|
9750
9750
|
if ((Rl = (hr = ei.value) == null ? void 0 : hr[Fl]) != null && Rl.prop && !Array.isArray(Tl)) {
|
|
9751
9751
|
let Ir = {};
|
|
9752
|
-
Ir[ei.value[Fl].column] = Tl, Na != null && Na.value && ((dr = Na == null ? void 0 : Na.value) == null ? void 0 : dr.length) > 0 && ((_r = Na == null ? void 0 : Na.value) != null && _r.find((
|
|
9752
|
+
Ir[ei.value[Fl].column] = Tl, Na != null && Na.value && ((dr = Na == null ? void 0 : Na.value) == null ? void 0 : dr.length) > 0 && ((_r = Na == null ? void 0 : Na.value) != null && _r.find((Tr) => JSON.stringify(Tr == null ? void 0 : Tr[0]) === JSON.stringify(Ir))) && (Xl = (tr = Na == null ? void 0 : Na.value) == null ? void 0 : tr.find((Tr) => JSON.stringify(Tr == null ? void 0 : Tr[0]) === JSON.stringify(Ir))), Xl && Xl.length > 0 ? Ll[ei.value[Fl].prop] = Xl != null && Xl.find((Tr) => {
|
|
9753
9753
|
var Er;
|
|
9754
|
-
return ((Er = Object.keys(
|
|
9755
|
-
}) ? (Cr = Xl == null ? void 0 : Xl.find((
|
|
9754
|
+
return ((Er = Object.keys(Tr)) == null ? void 0 : Er[0]) === ei.value[Fl].column;
|
|
9755
|
+
}) ? (Cr = Xl == null ? void 0 : Xl.find((Tr) => {
|
|
9756
9756
|
var Er;
|
|
9757
|
-
return ((Er = Object.keys(
|
|
9757
|
+
return ((Er = Object.keys(Tr)) == null ? void 0 : Er[0]) === ei.value[Fl].column;
|
|
9758
9758
|
})) == null ? void 0 : Cr[ei.value[Fl].column] : Tl : Ll[ei.value[Fl].prop] = Tl;
|
|
9759
9759
|
} else Array.isArray(Tl) && ((hi = ei.value[Fl]) != null && hi.prop ? Ll[ei.value[Fl].prop] = Tl : Ll.children = Rt(Tl, ei.value));
|
|
9760
9760
|
});
|
|
@@ -9768,8 +9768,8 @@ ${Ir}`,
|
|
|
9768
9768
|
const pl = (Te.value || []).map((fl) => String(fl == null ? void 0 : fl.id)), Va = io(Ga, pl);
|
|
9769
9769
|
Te.value = fu(Va, ae, ie.value);
|
|
9770
9770
|
}
|
|
9771
|
-
du(Te.value),
|
|
9772
|
-
const le = b2(
|
|
9771
|
+
du(Te.value), _i.value = Te.value;
|
|
9772
|
+
const le = b2(_i.value, qi.value, T);
|
|
9773
9773
|
let W = [];
|
|
9774
9774
|
if (R.value ? (W = (rl = $e(R).value.singleContent) == null ? void 0 : rl.filter((Ga) => (Ga == null ? void 0 : Ga.id) !== (N == null ? void 0 : N.id)), W.push(N)) : W = [N], Hl.value) {
|
|
9775
9775
|
const Ga = {
|
|
@@ -9819,7 +9819,7 @@ ${Ir}`,
|
|
|
9819
9819
|
}
|
|
9820
9820
|
};
|
|
9821
9821
|
Xt(() => {
|
|
9822
|
-
window.removeEventListener("keydown", Xs), ie.value = [], Te.value = [], ne.value = [], fa.value = [], da.value = [], Ea.value = [], qa.value = [], ba.value = [], Ha.value = [],
|
|
9822
|
+
window.removeEventListener("keydown", Xs), ie.value = [], Te.value = [], ne.value = [], fa.value = [], da.value = [], Ea.value = [], qa.value = [], ba.value = [], Ha.value = [], Ar.value = [], s.value = null, pn.value = "";
|
|
9823
9823
|
});
|
|
9824
9824
|
const uo = async (c, f, D) => {
|
|
9825
9825
|
var Qe, Aa, Ra, Ba, Ve, rl, xa, il, _e, ja, ga, za, Da;
|
|
@@ -10093,7 +10093,7 @@ ${Ir}`,
|
|
|
10093
10093
|
let C = [];
|
|
10094
10094
|
return C = pu(c, f == null ? void 0 : f.contents, 0), C;
|
|
10095
10095
|
}, hu = async (c, f) => {
|
|
10096
|
-
var Ba, Ve, rl, xa, il, _e, ja, ga, za, Da, z, Y, Fe, oa, we, pa, Ca, tl, Qa, yl, ml, ar, Xa, xl, Ga, pl, Va, fl, Ml, Ll, Fr, Xl, Tl, Fl, hr, Rl, dr, _r, tr, Cr, hi, Ir,
|
|
10096
|
+
var Ba, Ve, rl, xa, il, _e, ja, ga, za, Da, z, Y, Fe, oa, we, pa, Ca, tl, Qa, yl, ml, ar, Xa, xl, Ga, pl, Va, fl, Ml, Ll, Fr, Xl, Tl, Fl, hr, Rl, dr, _r, tr, Cr, hi, Ir, Tr, Er, yu, gu, mu;
|
|
10097
10097
|
const D = c == null ? void 0 : c.filter((va) => (va == null ? void 0 : va.key) === "header");
|
|
10098
10098
|
c == null || c.filter((va) => (va == null ? void 0 : va.key) === "tableIndexColumn")[0];
|
|
10099
10099
|
const C = c == null ? void 0 : c.filter((va) => (va == null ? void 0 : va.key) === "childTree")[0];
|
|
@@ -10182,7 +10182,7 @@ ${Ir}`,
|
|
|
10182
10182
|
I.value = (oa = ke == null ? void 0 : ke[0]) == null ? void 0 : oa.contents;
|
|
10183
10183
|
const Ni = sf(va), bu = (al) => Array.isArray(al) ? al.map((Xe) => (Array.isArray(Xe == null ? void 0 : Xe.children) && Xe.children.length > 0 ? (Xe.sortable = !1, bu(Xe.children)) : (Xe == null ? void 0 : Xe.prop) === "operate" || (Xe == null ? void 0 : Xe.label) === "操作" || (Xe == null ? void 0 : Xe.type) === "operate" || (Xe.sortable = !1), Xe)) : al;
|
|
10184
10184
|
bu(Ni), await Vo(Ni), j2(J.value, Ni), ie.value = Ni, fa.value = Ni, l.value = (we = ie.value) == null ? void 0 : we.map((al) => al == null ? void 0 : al.label);
|
|
10185
|
-
let Li = (Ca = (pa =
|
|
10185
|
+
let Li = (Ca = (pa = wi(ie.value)) == null ? void 0 : pa.filter((al) => (al == null ? void 0 : al.type) !== "operate")) == null ? void 0 : Ca.map((al, Xe) => ({
|
|
10186
10186
|
prop: (al == null ? void 0 : al.prop) ?? "a" + Xe,
|
|
10187
10187
|
column: al.label
|
|
10188
10188
|
}));
|
|
@@ -10300,7 +10300,7 @@ ${Ir}`,
|
|
|
10300
10300
|
ba.value = le == null ? void 0 : le.contents, Le.value = le == null ? void 0 : le.contents;
|
|
10301
10301
|
else
|
|
10302
10302
|
ba.value = [], Le.value = [];
|
|
10303
|
-
ba.value = [...ba.value, ...Qe], Le.value = [...Le.value, ...Qe], typeof Ze.value == "string" && Ze.value === "设备管理/试验设备" && (t == null ? void 0 : t.compName) === "设备列表" ? ((hi = ba.value) != null && hi.some((va) => (va == null ? void 0 : va.label) === "OCR识别") || (ba.value = [...ba.value || [], { label: "OCR识别" }]), (Ir = Le.value) != null && Ir.some((va) => (va == null ? void 0 : va.label) === "OCR识别") || (Le.value = [...Le.value || [], { label: "OCR识别" }])) : (ba.value = (ba.value || []).filter((va) => (va == null ? void 0 : va.label) !== "OCR识别"), Le.value = (Le.value || []).filter((va) => (va == null ? void 0 : va.label) !== "OCR识别")), (
|
|
10303
|
+
ba.value = [...ba.value, ...Qe], Le.value = [...Le.value, ...Qe], typeof Ze.value == "string" && Ze.value === "设备管理/试验设备" && (t == null ? void 0 : t.compName) === "设备列表" ? ((hi = ba.value) != null && hi.some((va) => (va == null ? void 0 : va.label) === "OCR识别") || (ba.value = [...ba.value || [], { label: "OCR识别" }]), (Ir = Le.value) != null && Ir.some((va) => (va == null ? void 0 : va.label) === "OCR识别") || (Le.value = [...Le.value || [], { label: "OCR识别" }])) : (ba.value = (ba.value || []).filter((va) => (va == null ? void 0 : va.label) !== "OCR识别"), Le.value = (Le.value || []).filter((va) => (va == null ? void 0 : va.label) !== "OCR识别")), (Tr = ba.value) != null && Tr.some((va) => (va == null ? void 0 : va.label) === "切换视图") || (ba.value = [...ba.value || [], { label: "切换视图" }]), (Er = Le.value) != null && Er.some((va) => (va == null ? void 0 : va.label) === "切换视图") || (Le.value = [...Le.value || [], { label: "切换视图" }]), la.value = ((yu = Te == null ? void 0 : Te.value) == null ? void 0 : yu.length) ?? 0, du(Te.value), _i.value = Te.value, Hl.value && (ie.value = (mu = (gu = ne.value) == null ? void 0 : gu.filter((va) => (va == null ? void 0 : va.label) !== "操作")) == null ? void 0 : mu.map((va) => {
|
|
10304
10304
|
var Ol;
|
|
10305
10305
|
return {
|
|
10306
10306
|
...va,
|
|
@@ -10348,7 +10348,7 @@ ${Ir}`,
|
|
|
10348
10348
|
L.value = c, (c == null ? void 0 : c.length) === 0 ? Hl.value = !1 : (c != null && c.includes("read") || (Hl.value = !0), c != null && c.includes("edit") || (Hl.value = !1)), A.value = ((f = t == null ? void 0 : t.config) == null ? void 0 : f.showIndex) || Hl.value;
|
|
10349
10349
|
}, { immediate: !0 }), dl(() => Hl.value, (c) => {
|
|
10350
10350
|
var f;
|
|
10351
|
-
c ? (vt("viewChange"), Ue.setCacheUpdatingData(null)) : (ba.value = Le.value, ie.value = fa.value, R.value && (Ue.setTableLoading(t == null ? void 0 : t.index), Se("change", R.value))), A.value = c || ((f = t == null ? void 0 : t.config) == null ? void 0 : f.showIndex),
|
|
10351
|
+
c ? (vt("viewChange"), Ue.setCacheUpdatingData(null)) : (ba.value = Le.value, ie.value = fa.value, R.value && (Ue.setTableLoading(t == null ? void 0 : t.index), Se("change", R.value))), A.value = c || ((f = t == null ? void 0 : t.config) == null ? void 0 : f.showIndex), Ar.value = [];
|
|
10352
10352
|
}, { immediate: !0 }), dl(() => {
|
|
10353
10353
|
var c;
|
|
10354
10354
|
return (c = _n.value) == null ? void 0 : c.length;
|
|
@@ -10490,7 +10490,7 @@ ${Ir}`,
|
|
|
10490
10490
|
const dp = (c, f, D) => {
|
|
10491
10491
|
var Ie;
|
|
10492
10492
|
if (!D || !D.rowData) return;
|
|
10493
|
-
const C = D.rowData, N = c == null ? void 0 : c.id, T = (f == null ? void 0 : f.property) ?? (f == null ? void 0 : f.prop), le = (
|
|
10493
|
+
const C = D.rowData, N = c == null ? void 0 : c.id, T = (f == null ? void 0 : f.property) ?? (f == null ? void 0 : f.prop), le = (wi(ie.value) || []).filter(
|
|
10494
10494
|
(qe) => (qe == null ? void 0 : qe.type) !== "operate" && (qe == null ? void 0 : qe.label) !== "操作" && (qe == null ? void 0 : qe.prop) !== "operate"
|
|
10495
10495
|
);
|
|
10496
10496
|
le.forEach((qe) => {
|
|
@@ -10592,7 +10592,7 @@ ${Ir}`,
|
|
|
10592
10592
|
extraButton: ba.value,
|
|
10593
10593
|
rowButton: Ea.value,
|
|
10594
10594
|
cacheExtraButtons: Le.value,
|
|
10595
|
-
isClearSelection: ((rl =
|
|
10595
|
+
isClearSelection: ((rl = Ar.value) == null ? void 0 : rl.length) === 0,
|
|
10596
10596
|
onDoCurrentChange: Ki,
|
|
10597
10597
|
onDoSizeChange: bs,
|
|
10598
10598
|
onSortChange: qo,
|
|
@@ -10620,7 +10620,7 @@ ${Ir}`,
|
|
|
10620
10620
|
pageLayout: e.pageLayout,
|
|
10621
10621
|
lockingPage: Bl(ye) === Bl(Ze),
|
|
10622
10622
|
filterValues: rt.value,
|
|
10623
|
-
selectNums: (ja =
|
|
10623
|
+
selectNums: (ja = Ar.value) == null ? void 0 : ja.length,
|
|
10624
10624
|
dataNums: (ga = Te.value) == null ? void 0 : ga.length,
|
|
10625
10625
|
compName: e.compName,
|
|
10626
10626
|
isDevMode: e.isDevMode,
|
|
@@ -11349,7 +11349,7 @@ ${Ir}`,
|
|
|
11349
11349
|
__: [39]
|
|
11350
11350
|
}, 8, ["disabled"]),
|
|
11351
11351
|
Re(ke, {
|
|
11352
|
-
onClick:
|
|
11352
|
+
onClick: xi,
|
|
11353
11353
|
class: "ocr-start-recognize-btn",
|
|
11354
11354
|
disabled: ul.value
|
|
11355
11355
|
}, {
|
|
@@ -12120,13 +12120,13 @@ ${Ir}`,
|
|
|
12120
12120
|
if (ba === void 0 ? _.value = qn.BLOCK : typeof ba == "boolean" ? _.value = ba ? qn.ORDINARY : qn.BLOCK : _.value = ba, q.value = typeof (U == null ? void 0 : U.contents) != "boolean" ? !(!(U != null && U.contents) === "" || ((Fa = U == null ? void 0 : U.contents) == null ? void 0 : Fa.toUpperCase()) === "VERTICAL") : U == null ? void 0 : U.contents, ((sl = oe == null ? void 0 : oe.contents) == null ? void 0 : sl.length) > 0 && Array.isArray(oe == null ? void 0 : oe.contents)) {
|
|
12121
12121
|
let ea = r.allMapContents;
|
|
12122
12122
|
const aa = (ua = (ul = gr(oe)) == null ? void 0 : ul.contents) == null ? void 0 : ua.map((Oe, Nl) => {
|
|
12123
|
-
var Qr, Br, Vr, ei, kr, Zi,
|
|
12123
|
+
var Qr, Br, Vr, ei, kr, Zi, _i, Mi, dn, Qi, qi, Oi, yr;
|
|
12124
12124
|
let Gl = (Oe == null ? void 0 : Oe.label) ?? (Oe == null ? void 0 : Oe.key) ?? "";
|
|
12125
12125
|
Oe == null || Oe.type;
|
|
12126
12126
|
let ur = (Oe == null ? void 0 : Oe.options) ?? [];
|
|
12127
12127
|
if ((Qr = Oe == null ? void 0 : Oe.key) != null && Qr.includes("$") && (Gl = (Br = gr(Oe == null ? void 0 : Oe.key).split("$")) == null ? void 0 : Br[0], ((ei = (Vr = gr(Oe == null ? void 0 : Oe.key).split("$")) == null ? void 0 : Vr[1]) == null ? void 0 : ei.length) > 0)) {
|
|
12128
12128
|
const [or, jl] = (Zi = (kr = gr(Oe == null ? void 0 : Oe.key).split("$")) == null ? void 0 : kr[1]) == null ? void 0 : Zi.split(/[()]/);
|
|
12129
|
-
(
|
|
12129
|
+
(_i = pf.find((Yl) => (Yl == null ? void 0 : Yl.key) === or)) == null || _i.value, ((Mi = jl == null ? void 0 : jl.split(",")) == null ? void 0 : Mi.length) > 0 && (ur = (dn = jl == null ? void 0 : jl.split(",")) == null ? void 0 : dn.map((Yl) => ({
|
|
12130
12130
|
label: Yl,
|
|
12131
12131
|
value: Yl
|
|
12132
12132
|
})));
|
|
@@ -16039,7 +16039,7 @@ const wh = /* @__PURE__ */ vr(_h, [["render", xh]]), Sh = { class: "extra-conten
|
|
|
16039
16039
|
});
|
|
16040
16040
|
await Promise.all(fe);
|
|
16041
16041
|
let ye = [], ya = (Be = (Ze = (he = $e(me)) == null ? void 0 : he.extraValues) == null ? void 0 : Ze.output) == null ? void 0 : Be.map(async (ra) => {
|
|
16042
|
-
var ca, oe, j, U, Me, xe, ta, da, Ea, _a, qa, ba, Le, Ha, kl, $l, pr, zl, Vl, Ya, Zl, ql, Fa, sl, ul, ua, Ka, Pa, Ua, ge, ka, Ne, te, Sa, ha, ia, ea, aa, gl, je, Wa, Ta, cl, $a, Oe, Nl, Gl, ur, rr, fr, Ur, er, zr, ui, ir, mr, ni, Jr, si, Qr, Br, Vr, ei, kr, Zi,
|
|
16042
|
+
var ca, oe, j, U, Me, xe, ta, da, Ea, _a, qa, ba, Le, Ha, kl, $l, pr, zl, Vl, Ya, Zl, ql, Fa, sl, ul, ua, Ka, Pa, Ua, ge, ka, Ne, te, Sa, ha, ia, ea, aa, gl, je, Wa, Ta, cl, $a, Oe, Nl, Gl, ur, rr, fr, Ur, er, zr, ui, ir, mr, ni, Jr, si, Qr, Br, Vr, ei, kr, Zi, _i, Mi, dn, Qi, qi;
|
|
16043
16043
|
if ((oe = (ca = Object.values(ra)) == null ? void 0 : ca[0]) != null && oe.includes(".doc")) {
|
|
16044
16044
|
var ce = new Blob([F.data], {
|
|
16045
16045
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -16053,12 +16053,12 @@ const wh = /* @__PURE__ */ vr(_h, [["render", xh]]), Sh = { class: "extra-conten
|
|
|
16053
16053
|
if (or != null && or.includes("[") ? or = (kl = $e(or)) == null ? void 0 : kl.slice(0, ((Ha = $e(or)) == null ? void 0 : Ha.length) - 1) : or === "" && (or = S.value), or = or.replaceAll("<", "[").replaceAll(">", "]"), or != null && or.includes("[")) {
|
|
16054
16054
|
let Yl = "";
|
|
16055
16055
|
($l = xt(or, "/")) == null || $l.forEach((Hl, $r) => {
|
|
16056
|
-
var
|
|
16056
|
+
var Ar, lr, oi, ci, Vi, Bi, $n, pn, Nn, en, fn;
|
|
16057
16057
|
if (!(Hl != null && Hl.includes("[")))
|
|
16058
16058
|
Yl = Yl === "" ? Yl + Hl.replaceAll("/", "") : Yl + "/" + Hl.replaceAll("/", "");
|
|
16059
16059
|
else {
|
|
16060
16060
|
let kn = "", Di = "";
|
|
16061
|
-
(
|
|
16061
|
+
(Ar = $e(Hl)) != null && Ar.includes("]") ? (kn = $e(Hl).slice(1, ((lr = $e(Hl)) == null ? void 0 : lr.length) - 1), Di = ($n = (Bi = (Vi = (ci = (oi = $e(kn)) == null ? void 0 : oi.split("[")) == null ? void 0 : ci[1]) == null ? void 0 : Vi.split("]")) == null ? void 0 : Bi[0]) == null ? void 0 : $n.split(":")) : (kn = $e(Hl).slice(1, (pn = $e(Hl)) == null ? void 0 : pn.length), Di = (Nn = $e(kn)) == null ? void 0 : Nn.split("/"));
|
|
16062
16062
|
let hn = "", an = (en = Ue == null ? void 0 : Ue.find((mi) => (mi == null ? void 0 : mi.name) === (Di == null ? void 0 : Di[0]))) == null ? void 0 : en.compData;
|
|
16063
16063
|
an == null || an.forEach((mi) => {
|
|
16064
16064
|
var _n;
|
|
@@ -16080,8 +16080,8 @@ const wh = /* @__PURE__ */ vr(_h, [["render", xh]]), Sh = { class: "extra-conten
|
|
|
16080
16080
|
if (!((ea = F == null ? void 0 : F.data) != null && ea.data)) {
|
|
16081
16081
|
let Yl = await Zr(S.value, sessionStorage.getItem("systemKey"), "", !1, "", "", Ce);
|
|
16082
16082
|
Yl = Yl == null ? void 0 : Yl.map(($r) => {
|
|
16083
|
-
var
|
|
16084
|
-
return ($r == null ? void 0 : $r.name) === (yr == null ? void 0 : yr[0]) && ($r.compData = (
|
|
16083
|
+
var Ar;
|
|
16084
|
+
return ($r == null ? void 0 : $r.name) === (yr == null ? void 0 : yr[0]) && ($r.compData = (Ar = $r.compData) == null ? void 0 : Ar.map((lr) => {
|
|
16085
16085
|
var oi;
|
|
16086
16086
|
return (lr == null ? void 0 : lr.key) === "formContent" && (lr.contents = (oi = lr.contents) == null ? void 0 : oi.map((ci) => {
|
|
16087
16087
|
var Vi, Bi;
|
|
@@ -16091,13 +16091,13 @@ const wh = /* @__PURE__ */ vr(_h, [["render", xh]]), Sh = { class: "extra-conten
|
|
|
16091
16091
|
});
|
|
16092
16092
|
let Hl = [];
|
|
16093
16093
|
(aa = Yl == null ? void 0 : Yl.filter(($r) => ($r == null ? void 0 : $r.comp) === "Form")) == null || aa.forEach(async ($r) => {
|
|
16094
|
-
let
|
|
16094
|
+
let Ar = {};
|
|
16095
16095
|
for (let lr in $r)
|
|
16096
|
-
lr !== "id" && (
|
|
16096
|
+
lr !== "id" && (Ar[lr] = $r[lr]);
|
|
16097
16097
|
Hl.push({
|
|
16098
16098
|
id: $r == null ? void 0 : $r.id,
|
|
16099
16099
|
value: {
|
|
16100
|
-
pageData:
|
|
16100
|
+
pageData: Ar
|
|
16101
16101
|
}
|
|
16102
16102
|
});
|
|
16103
16103
|
}), (Hl == null ? void 0 : Hl.length) > 0 && await Io({
|
|
@@ -16112,14 +16112,14 @@ const wh = /* @__PURE__ */ vr(_h, [["render", xh]]), Sh = { class: "extra-conten
|
|
|
16112
16112
|
var oi, ci;
|
|
16113
16113
|
Hl = Hl === "" ? Hl + ((oi = lr == null ? void 0 : lr.replaceAll("'", "")) == null ? void 0 : oi.trim()) : Hl + "/" + ((ci = lr == null ? void 0 : lr.replaceAll("'", "")) == null ? void 0 : ci.trim());
|
|
16114
16114
|
});
|
|
16115
|
-
let $r = [(Ur = (fr = (rr = (ur = (Gl = Yl == null ? void 0 : Yl.split("<")) == null ? void 0 : Gl[1]) == null ? void 0 : ur.split(">")) == null ? void 0 : rr[0]) == null ? void 0 : fr.replaceAll("'", "")) == null ? void 0 : Ur.trim()],
|
|
16116
|
-
return (ui = (zr = (er = F == null ? void 0 : F.data) == null ? void 0 : er.data) == null ? void 0 : zr.data) != null && ui[yr == null ? void 0 : yr[0]] ?
|
|
16115
|
+
let $r = [(Ur = (fr = (rr = (ur = (Gl = Yl == null ? void 0 : Yl.split("<")) == null ? void 0 : Gl[1]) == null ? void 0 : ur.split(">")) == null ? void 0 : rr[0]) == null ? void 0 : fr.replaceAll("'", "")) == null ? void 0 : Ur.trim()], Ar;
|
|
16116
|
+
return (ui = (zr = (er = F == null ? void 0 : F.data) == null ? void 0 : er.data) == null ? void 0 : zr.data) != null && ui[yr == null ? void 0 : yr[0]] ? Ar = await de((ni = (mr = (ir = F == null ? void 0 : F.data) == null ? void 0 : ir.data) == null ? void 0 : mr.data) == null ? void 0 : ni[yr == null ? void 0 : yr[0]], Hl, yr, wa) : Ar = await ie((si = (Jr = F == null ? void 0 : F.data) == null ? void 0 : Jr.data) == null ? void 0 : si.data, Hl, $r, Ce), Ar;
|
|
16117
16117
|
} else {
|
|
16118
16118
|
const Yl = (Vr = (Br = (Qr = F == null ? void 0 : F.data) == null ? void 0 : Qr.data) == null ? void 0 : Br.path) == null ? void 0 : Vr.path;
|
|
16119
16119
|
let Hl = "";
|
|
16120
|
-
return (Mi = (
|
|
16120
|
+
return (Mi = (_i = (Zi = (kr = (ei = Yl == null ? void 0 : Yl.split("(")) == null ? void 0 : ei[1]) == null ? void 0 : kr.split(")")) == null ? void 0 : Zi[0]) == null ? void 0 : _i.split(":")) == null || Mi.forEach((Ar) => {
|
|
16121
16121
|
var lr, oi;
|
|
16122
|
-
Hl = Hl === "" ? Hl + ((lr =
|
|
16122
|
+
Hl = Hl === "" ? Hl + ((lr = Ar == null ? void 0 : Ar.replaceAll("'", "")) == null ? void 0 : lr.trim()) : Hl + "/" + ((oi = Ar == null ? void 0 : Ar.replaceAll("'", "")) == null ? void 0 : oi.trim());
|
|
16123
16123
|
}), await Se((qi = (Qi = (dn = F == null ? void 0 : F.data) == null ? void 0 : dn.data) == null ? void 0 : Qi.data) == null ? void 0 : qi[yr == null ? void 0 : yr[0]], Hl, yr);
|
|
16124
16124
|
}
|
|
16125
16125
|
}
|
|
@@ -18820,7 +18820,7 @@ function T8() {
|
|
|
18820
18820
|
e(...Cd.get(e));
|
|
18821
18821
|
}), Ls.clear();
|
|
18822
18822
|
}
|
|
18823
|
-
function
|
|
18823
|
+
function Si(e, ...a) {
|
|
18824
18824
|
if (typeof e != "function")
|
|
18825
18825
|
return e;
|
|
18826
18826
|
Cd.set(e, a), !Ls.has(e) && (Ls.add(e), Ls.size === 1 && Promise.resolve().then(T8));
|
|
@@ -19528,12 +19528,12 @@ function W8() {
|
|
|
19528
19528
|
var pi = E(Kl), Wr = E(Ul);
|
|
19529
19529
|
if (pi !== Kl.ownerDocument) if (Wr !== Kl.ownerDocument) if (pi !== Wr) {
|
|
19530
19530
|
nr = nr.length ? nr : H(Ul);
|
|
19531
|
-
var
|
|
19531
|
+
var xi = void 0;
|
|
19532
19532
|
if (Ul instanceof J.HTMLElement && Kl instanceof J.SVGElement && !(Kl instanceof J.SVGSVGElement)) {
|
|
19533
19533
|
if (Kl === Wr) continue;
|
|
19534
|
-
|
|
19535
|
-
} else
|
|
19536
|
-
for (var $i = H(
|
|
19534
|
+
xi = Kl.ownerSVGElement;
|
|
19535
|
+
} else xi = Kl;
|
|
19536
|
+
for (var $i = H(xi, Ul.ownerDocument), Gi = 0; $i[Gi] && $i[Gi] === nr[Gi]; ) Gi++;
|
|
19537
19537
|
var Pn = [$i[Gi - 1], $i[Gi], nr[Gi]];
|
|
19538
19538
|
if (Pn[0]) for (var Fn = Pn[0].lastChild; Fn; ) {
|
|
19539
19539
|
if (Fn === Pn[1]) {
|
|
@@ -19596,8 +19596,8 @@ function W8() {
|
|
|
19596
19596
|
}
|
|
19597
19597
|
var Wr = el.getRect(nl);
|
|
19598
19598
|
if (Wr && nr === "center") {
|
|
19599
|
-
var
|
|
19600
|
-
bl =
|
|
19599
|
+
var xi = Wr.left + Wr.width / 2, $i = Wr.top + Wr.height / 2;
|
|
19600
|
+
bl = xi >= Al.left && xi <= Al.right && $i >= Al.top && $i <= Al.bottom;
|
|
19601
19601
|
}
|
|
19602
19602
|
return Wr && y.number(nr) && (bl = Math.max(0, Math.min(Al.right, Wr.right) - Math.max(Al.left, Wr.left)) * Math.max(0, Math.min(Al.bottom, Wr.bottom) - Math.max(Al.top, Wr.top)) / (Wr.width * Wr.height) >= nr), na.options.drop.checker && (bl = na.options.drop.checker(Ia, ll, bl, na, Cl, el, nl)), bl;
|
|
19603
19603
|
}(this, M, G, Z, be, Ke, De);
|
|
@@ -20183,7 +20183,7 @@ function W8() {
|
|
|
20183
20183
|
return n.interaction.modification.restoreInteractionCoords(n);
|
|
20184
20184
|
}, "interactions:stop": function(n) {
|
|
20185
20185
|
return n.interaction.modification.stop(n);
|
|
20186
|
-
} } }, kr = ei, Zi = { base: { preventDefault: "auto", deltaSource: "page" }, perAction: { enabled: !1, origin: { x: 0, y: 0 } }, actions: {} },
|
|
20186
|
+
} } }, kr = ei, Zi = { base: { preventDefault: "auto", deltaSource: "page" }, perAction: { enabled: !1, origin: { x: 0, y: 0 } }, actions: {} }, _i = function(n) {
|
|
20187
20187
|
v(p, n);
|
|
20188
20188
|
var i = L(p);
|
|
20189
20189
|
function p(g, k, M, G, Z, be, Ke) {
|
|
@@ -20206,7 +20206,7 @@ function W8() {
|
|
|
20206
20206
|
this.propagationStopped = !0;
|
|
20207
20207
|
} }]), p;
|
|
20208
20208
|
}(j);
|
|
20209
|
-
Object.defineProperties(
|
|
20209
|
+
Object.defineProperties(_i.prototype, { pageX: { get: function() {
|
|
20210
20210
|
return this.page.x;
|
|
20211
20211
|
}, set: function(n) {
|
|
20212
20212
|
this.page.x = n;
|
|
@@ -20321,7 +20321,7 @@ function W8() {
|
|
|
20321
20321
|
} }, { key: "destroy", value: function() {
|
|
20322
20322
|
this._latestPointer.pointer = null, this._latestPointer.event = null, this._latestPointer.eventTarget = null;
|
|
20323
20323
|
} }, { key: "_createPreparedEvent", value: function(i, p, g, k) {
|
|
20324
|
-
return new
|
|
20324
|
+
return new _i(this, i, this.prepared.name, p, this.element, g, k);
|
|
20325
20325
|
} }, { key: "_fireEvent", value: function(i) {
|
|
20326
20326
|
var p;
|
|
20327
20327
|
(p = this.interactable) == null || p.fire(i), (!this.prevEvent || i.timeStamp >= this.prevEvent.timeStamp) && (this.prevEvent = i);
|
|
@@ -20367,7 +20367,7 @@ function W8() {
|
|
|
20367
20367
|
}, "interactions:stop": function(n) {
|
|
20368
20368
|
var i = n.interaction;
|
|
20369
20369
|
i.offset.total.x = 0, i.offset.total.y = 0, i.offset.pending.x = 0, i.offset.pending.y = 0;
|
|
20370
|
-
} } }, $r = Hl,
|
|
20370
|
+
} } }, $r = Hl, Ar = function() {
|
|
20371
20371
|
function n(i) {
|
|
20372
20372
|
o(this, n), this.active = !1, this.isModified = !1, this.smoothEnd = !1, this.allowResume = !1, this.modification = void 0, this.modifierCount = 0, this.modifierArg = void 0, this.startCoords = void 0, this.t0 = 0, this.v0 = 0, this.te = 0, this.targetOffset = void 0, this.modifiedOffset = void 0, this.currentOffset = void 0, this.lambda_v0 = 0, this.one_ve_v0 = 0, this.timeout = void 0, this.interaction = void 0, this.interaction = i;
|
|
20373
20373
|
}
|
|
@@ -20434,7 +20434,7 @@ function W8() {
|
|
|
20434
20434
|
n.usePlugin($r), n.usePlugin(kr), n.actions.phases.inertiastart = !0, n.actions.phases.resume = !0, i.perAction.inertia = { enabled: !1, resistance: 10, minSpeed: 100, endSpeed: 10, allowResume: !0, smoothEndDuration: 300 };
|
|
20435
20435
|
}, listeners: { "interactions:new": function(n) {
|
|
20436
20436
|
var i = n.interaction;
|
|
20437
|
-
i.inertia = new
|
|
20437
|
+
i.inertia = new Ar(i);
|
|
20438
20438
|
}, "interactions:before-action-end": function(n) {
|
|
20439
20439
|
var i = n.interaction, p = n.event;
|
|
20440
20440
|
return (!i._interacting || i.simulation || !i.inertia.start(p)) && null;
|
|
@@ -20916,7 +20916,7 @@ function W8() {
|
|
|
20916
20916
|
}, k.removeDocument = function(M) {
|
|
20917
20917
|
this.scope.removeDocument(M);
|
|
20918
20918
|
}, k;
|
|
20919
|
-
}(this), this.InteractEvent =
|
|
20919
|
+
}(this), this.InteractEvent = _i, this.Interactable = void 0, this.interactables = new Yo(this), this._win = void 0, this.document = void 0, this.window = void 0, this.documents = [], this._plugins = { list: [], map: {} }, this.onWindowUnload = function(g) {
|
|
20920
20920
|
return i.removeDocument(g.target);
|
|
20921
20921
|
};
|
|
20922
20922
|
var p = this;
|
|
@@ -21113,8 +21113,8 @@ function W8() {
|
|
|
21113
21113
|
(Al = y.func(Cl) ? Cl(Ia, ll, i._proxy, na, el) : Cl) && be.push({ x: (y.number(Al.x) ? Al.x : Ia) + na.x, y: (y.number(Al.y) ? Al.y : ll) + na.y, range: y.number(Al.range) ? Al.range : k.range, source: Cl, index: el, offset: na });
|
|
21114
21114
|
}
|
|
21115
21115
|
for (var bl = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, nr = 0; nr < be.length; nr++) {
|
|
21116
|
-
var Ql = be[nr], Kl = Ql.range, Ul = Ql.x - Z.x, pi = Ql.y - Z.y, Wr = Na(Ul, pi),
|
|
21117
|
-
Kl === 1 / 0 && bl.inRange && bl.range !== 1 / 0 && (
|
|
21116
|
+
var Ql = be[nr], Kl = Ql.range, Ul = Ql.x - Z.x, pi = Ql.y - Z.y, Wr = Na(Ul, pi), xi = Wr <= Kl;
|
|
21117
|
+
Kl === 1 / 0 && bl.inRange && bl.range !== 1 / 0 && (xi = !1), bl.target && !(xi ? bl.inRange && Kl !== 1 / 0 ? Wr / Kl < bl.distance / bl.range : Kl === 1 / 0 && bl.range !== 1 / 0 || Wr < bl.distance : !bl.inRange && Wr < bl.distance) || (bl.target = Ql, bl.distance = Wr, bl.range = Kl, bl.inRange = xi, bl.delta.x = Ul, bl.delta.y = pi);
|
|
21118
21118
|
}
|
|
21119
21119
|
return bl.inRange && (p.x = bl.target.x, p.y = bl.target.y), g.closest = bl, bl;
|
|
21120
21120
|
}, defaults: { range: 1 / 0, targets: null, offset: null, offsetWithOrigin: !0, origin: null, relativePoints: null, endOnly: !1, enabled: !1 } }, at = Br(vn, "snap"), Qn = { start: function(n) {
|
|
@@ -21329,7 +21329,7 @@ function W8() {
|
|
|
21329
21329
|
ll = function(Al, bl, nr, Ql, Kl) {
|
|
21330
21330
|
var Ul = Al.interactions.new({ pointerType: "reflow" }), pi = { interaction: Ul, event: Kl, pointer: Kl, eventTarget: nr, phase: "reflow" };
|
|
21331
21331
|
Ul.interactable = bl, Ul.element = nr, Ul.prevEvent = Kl, Ul.updatePointer(Kl, Kl, nr, !0), fe(Ul.coords.delta), ha(Ul.prepared, Ql), Ul._doPhase(pi);
|
|
21332
|
-
var Wr = Al.window,
|
|
21332
|
+
var Wr = Al.window, xi = Wr.Promise, $i = xi ? new xi(function(Gi) {
|
|
21333
21333
|
Ul._reflowResolve = Gi;
|
|
21334
21334
|
}) : void 0;
|
|
21335
21335
|
return Ul._reflowPromise = $i, Ul.start(Ql, bl, nr), Ul._interacting ? (Ul.move(pi), Ul.end(Kl)) : (Ul.stop(), Ul._reflowResolve()), Ul.removePointer(Kl, Kl), $i;
|
|
@@ -21451,7 +21451,7 @@ const fc = /* @__PURE__ */ zp(q8), Yt = /* @__PURE__ */ Yr({
|
|
|
21451
21451
|
d.rtl = dc() === "rtl";
|
|
21452
21452
|
}), Wi(() => {
|
|
21453
21453
|
o.responsive && o.lastBreakpoint ? d.cols = Ld(o.lastBreakpoint, o.cols) : d.cols = o.colNum, d.rowHeight = o.rowHeight, d.containerWidth = o.width !== null ? o.width : 100, d.margin = o.margin !== void 0 ? o.margin.map(Number) : [10, 10], d.maxRows = o.maxRows, Ri(r.isDraggable) ? d.draggable = o.isDraggable : d.draggable = r.isDraggable, Ri(r.isResizable) ? d.resizable = o.isResizable : d.resizable = r.isResizable, Ri(r.isBounded) ? d.bounded = o.isBounded : d.bounded = r.isBounded, d.transformScale = o.transformScale, d.useCssTransforms = o.useCssTransforms, d.useStyleCursor = o.useStyleCursor, kp(() => {
|
|
21454
|
-
S = r.x, w = r.y, m = r.h, _ = r.w,
|
|
21454
|
+
S = r.x, w = r.y, m = r.h, _ = r.w, Si(Je);
|
|
21455
21455
|
}), h.on("updateWidth", $), h.on("compact", q), h.on("setDraggable", re), h.on("setResizable", Se), h.on("setBounded", ie), h.on("setTransformScale", J), h.on("setRowHeight", de), h.on("setMaxRows", Q), h.on("directionchange", ne), h.on("setColNum", Ee);
|
|
21456
21456
|
}), Hs(() => {
|
|
21457
21457
|
h.off("updateWidth", $), h.off("compact", q), h.off("setDraggable", re), h.off("setResizable", Se), h.off("setBounded", ie), h.off("setTransformScale", J), h.off("setRowHeight", de), h.off("setMaxRows", Q), h.off("directionchange", ne), h.off("setColNum", Ee), u.value && (u.value.unset(), u.value = null), o.decreaseItem(B);
|
|
@@ -21474,12 +21474,12 @@ const fc = /* @__PURE__ */ zp(q8), Yt = /* @__PURE__ */ Yr({
|
|
|
21474
21474
|
), dl(
|
|
21475
21475
|
() => r.static,
|
|
21476
21476
|
() => {
|
|
21477
|
-
|
|
21477
|
+
Si(F), Si(fe);
|
|
21478
21478
|
}
|
|
21479
21479
|
), dl(
|
|
21480
21480
|
() => d.draggable,
|
|
21481
21481
|
() => {
|
|
21482
|
-
|
|
21482
|
+
Si(F);
|
|
21483
21483
|
}
|
|
21484
21484
|
), dl(
|
|
21485
21485
|
() => r.isResizable,
|
|
@@ -21494,22 +21494,22 @@ const fc = /* @__PURE__ */ zp(q8), Yt = /* @__PURE__ */ Yr({
|
|
|
21494
21494
|
), dl(
|
|
21495
21495
|
() => d.resizable,
|
|
21496
21496
|
() => {
|
|
21497
|
-
|
|
21497
|
+
Si(fe);
|
|
21498
21498
|
}
|
|
21499
21499
|
), dl(
|
|
21500
21500
|
() => d.rowHeight,
|
|
21501
21501
|
() => {
|
|
21502
|
-
|
|
21502
|
+
Si(Je), Si(fa);
|
|
21503
21503
|
}
|
|
21504
21504
|
), dl([() => d.cols, () => d.containerWidth], () => {
|
|
21505
|
-
|
|
21505
|
+
Si(fe), Si(Je), Si(fa);
|
|
21506
21506
|
}), dl([() => r.minH, () => r.maxH, () => r.minW, () => r.maxW], () => {
|
|
21507
|
-
|
|
21507
|
+
Si(fe);
|
|
21508
21508
|
}), dl(E, () => {
|
|
21509
|
-
|
|
21509
|
+
Si(fe), Si(Je);
|
|
21510
21510
|
}), dl([() => o.margin, () => o.margin[0], () => o.margin[1]], () => {
|
|
21511
21511
|
const ye = o.margin;
|
|
21512
|
-
!ye || ye[0] === d.margin[0] && ye[1] === d.margin[1] || (d.margin = ye.map(Number),
|
|
21512
|
+
!ye || ye[0] === d.margin[0] && ye[1] === d.margin[1] || (d.margin = ye.map(Number), Si(Je), Si(fa));
|
|
21513
21513
|
});
|
|
21514
21514
|
function Je() {
|
|
21515
21515
|
r.x + r.w > d.cols ? (S = 0, _ = r.w > d.cols ? d.cols : r.w) : (S = r.x, _ = r.w);
|
|
@@ -22671,10 +22671,10 @@ const E5 = {
|
|
|
22671
22671
|
(pe(), ol(Ii(Bl(Ro)((re = w == null ? void 0 : w.component) == null ? void 0 : re.comp)), {
|
|
22672
22672
|
pageLayout: v.value,
|
|
22673
22673
|
config: {
|
|
22674
|
-
showIndex: (Se = Bl(
|
|
22675
|
-
allowMove: (ie = Bl(
|
|
22676
|
-
viewport: (J = Bl(
|
|
22677
|
-
status: (de = Bl(
|
|
22674
|
+
showIndex: (Se = Bl(Sr)[_]) == null ? void 0 : Se.showIndex,
|
|
22675
|
+
allowMove: (ie = Bl(Sr)[_]) == null ? void 0 : ie.allowMove,
|
|
22676
|
+
viewport: (J = Bl(Sr)[_]) == null ? void 0 : J.viewport,
|
|
22677
|
+
status: (de = Bl(Sr)[_]) == null ? void 0 : de.status
|
|
22678
22678
|
},
|
|
22679
22679
|
related: w == null ? void 0 : w.relatedTables,
|
|
22680
22680
|
compName: w == null ? void 0 : w.component.name,
|
|
@@ -22898,7 +22898,7 @@ export {
|
|
|
22898
22898
|
B5 as U,
|
|
22899
22899
|
v6 as V,
|
|
22900
22900
|
oy as W,
|
|
22901
|
-
|
|
22901
|
+
ki as a,
|
|
22902
22902
|
Ro as b,
|
|
22903
22903
|
zy as c,
|
|
22904
22904
|
s4 as d,
|
|
@@ -22916,7 +22916,7 @@ export {
|
|
|
22916
22916
|
Fs as p,
|
|
22917
22917
|
h4 as q,
|
|
22918
22918
|
n4 as r,
|
|
22919
|
-
|
|
22919
|
+
Sr as s,
|
|
22920
22920
|
my as t,
|
|
22921
22921
|
cd as u,
|
|
22922
22922
|
f4 as v,
|