ss-component-new 1.3.435 → 1.3.437
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/{MTLLoader-p0GsbA2N.cjs → MTLLoader-BwkFVqL-.cjs} +1 -1
- package/dist/{MTLLoader-D7sNoLcK.js → MTLLoader-DNSv6X0i.js} +1 -1
- package/dist/{OrbitControls-xsAEcOQ0.js → OrbitControls-BYUrBNWv.js} +1 -1
- package/dist/{OrbitControls-BhtVNiz9.cjs → OrbitControls-DaZRnXU6.cjs} +1 -1
- package/dist/{URDFLoader-OhWW6Ghz.js → URDFLoader-BZBVqZws.js} +2 -2
- package/dist/{URDFLoader-DAb823an.cjs → URDFLoader-DYKZA4lN.cjs} +1 -1
- package/dist/{animationData-CM85S6tn.cjs → animationData-BJRWi-LU.cjs} +1 -1
- package/dist/{animationData-CZHPgZ5e.js → animationData-Zq5cH5C8.js} +12 -12
- package/dist/{array-wB3zPS0S.js → array-DAuSR2Ni.js} +2 -2
- package/dist/{array-luuLL6CX.cjs → array-DgoXmMOo.cjs} +1 -1
- package/dist/{iconfont-DvB947R2.cjs → iconfont-Bt2wRD-G.cjs} +1 -1
- package/dist/{iconfont-C5j4Td3D.js → iconfont-CY4Fa9KU.js} +2 -2
- package/dist/{index-CYnI31LU.js → index-3azkCJc2.js} +1 -1
- package/dist/index-5VQigHQ_.cjs +2 -0
- package/dist/{index-BF5SUWUn.js → index-5zBx2xab.js} +89 -83
- package/dist/{index-CgMsDp37.js → index-7G04es6G.js} +4 -4
- package/dist/{index-BZ3P1ll8.js → index-B7wW0wEg.js} +5 -5
- package/dist/{index-CMpvaYXO.cjs → index-BI1HZ_pA.cjs} +1 -1
- package/dist/{index-Lhh-KMx5.js → index-BMbjyksn.js} +1 -1
- package/dist/{index-B9MP9Z_h.cjs → index-BMofVGXk.cjs} +20 -20
- package/dist/{index-C4bA0jPu.cjs → index-BQmeIxCJ.cjs} +1 -1
- package/dist/{index-DTllcl_O.js → index-BRUxCmkT.js} +1 -1
- package/dist/{index-C3JpBKyN.cjs → index-BiwYTq-N.cjs} +1 -1
- package/dist/{index-CJow9MRO.js → index-BlWH1RtL.js} +3 -3
- package/dist/{index-DQD6jg8m.cjs → index-Bq9F_cM8.cjs} +1 -1
- package/dist/{index-D0FUzQhj.cjs → index-BxutmuA5.cjs} +1 -1
- package/dist/{index-wRPswAvQ.cjs → index-C8RnjyU4.cjs} +1 -1
- package/dist/{index-CFiyfU1X.js → index-CCUIg0kG.js} +27 -27
- package/dist/{index-BRqKT37j.cjs → index-CgVhGDn1.cjs} +1 -1
- package/dist/{index-L_BH-SIP.js → index-D4vCIHNh.js} +3226 -3226
- package/dist/{index-CljHDtk8.cjs → index-D7aAxcbI.cjs} +1 -1
- package/dist/{index-DxPKykuA.cjs → index-D8DyFGA3.cjs} +1 -1
- package/dist/{index-DkA3dv5l.js → index-DCm5o7Nl.js} +1 -1
- package/dist/{index-fsO0R02I.cjs → index-DEdBu96F.cjs} +1 -1
- package/dist/{index-BOz_MAHK.js → index-DFLr3nfs.js} +2196 -2194
- package/dist/{index-CynRFydr.js → index-DNwjqZ3_.js} +1 -1
- package/dist/{index-Bq7AQN37.js → index-DQi5ylnZ.js} +1 -1
- package/dist/{index-CiPgqhA6.cjs → index-DRuWw2N3.cjs} +1 -1
- package/dist/{index-C2qa2ljw.js → index-DShznhnR.js} +3 -3
- package/dist/{index-DbIRquOl.js → index-DX1AEXgQ.js} +6 -6
- package/dist/{index-B99I_vDk.cjs → index-DYJ5Wdmj.cjs} +5 -5
- package/dist/{index-DXbOEeAm.js → index-DrUNvbYv.js} +4 -4
- package/dist/{index-CLLeUa5o.cjs → index-FcjQa2OL.cjs} +1 -1
- package/dist/{index-D1kQL369.cjs → index-NFfnuLxo.cjs} +1 -1
- package/dist/{index-BTgKT-Kp.js → index-aaiRLVcp.js} +7 -7
- package/dist/{index-CZuPznao.cjs → index-dAoOU6TR.cjs} +1 -1
- package/dist/{index-fh5hS-5q.cjs → index-pTiemqvw.cjs} +1 -1
- package/dist/{index-Ca_pqbsS.js → index-sVk4LM6C.js} +27 -27
- package/dist/{index-DZ-jLFih.js → index-ykZXvnaX.js} +1 -1
- package/dist/{index-DnwoeTr-.cjs → index-zKgQ0JKd.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BGyDDkYS.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BzLhfrPk.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BUMDcqtn.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-PnEFT3X7.js} +1 -1
- package/dist/{main-G0V83rc_.cjs → main-AJmmvnvQ.cjs} +1 -1
- package/dist/{main-JSkTNHXB.js → main-CL6Cy_st.js} +3 -3
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-CkZ94OPN.js → threeModel-D03I0p1-.js} +3 -3
- package/dist/{threeModel-Df9F-OvR.cjs → threeModel-SgKLCbEG.cjs} +1 -1
- package/dist/{threePreview-Bs-m2IAX.cjs → threePreview-9qfx_J15.cjs} +1 -1
- package/dist/{threePreview-BoiGO8RT.js → threePreview-Djh17gcq.js} +3 -3
- package/dist/{threeSceneView-BEoquzn3.js → threeSceneView-3GEMP21r.js} +10 -10
- package/dist/{threeSceneView-Blh_DkGZ.cjs → threeSceneView-Cj8n_qeP.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-c-Kv5yPO.js → threeSceneViewForCPMPIP-BfJgzGiF.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-BxzpG0Ns.cjs → threeSceneViewForCPMPIP-D-H-nZyF.cjs} +1 -1
- package/dist/{threeTrackPathView-DL3Fx1XR.cjs → threeTrackPathView-C8S1xa9M.cjs} +1 -1
- package/dist/{threeTrackPathView-C7MWmsr9.js → threeTrackPathView-CewpNc2B.js} +3 -3
- package/dist/{threeViewerHost-DBcfrh7A.js → threeViewerHost-DJSU2VXG.js} +2 -2
- package/dist/{threeViewerHost-D_4JNLXj.cjs → threeViewerHost-_8Zi81Q9.cjs} +1 -1
- package/dist/{urdfTree-BwPn5sja.js → urdfTree-BWSOyDd8.js} +1 -1
- package/dist/{urdfTree-B1vSZdxZ.cjs → urdfTree-tWRZTeGx.cjs} +1 -1
- package/dist/{workpieceTreePanel-DnVOjYQ2.js → workpieceTreePanel-C_zbYiB6.js} +4 -4
- package/dist/{workpieceTreePanel-zPR2Z6wa.cjs → workpieceTreePanel-cotaSjga.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-j5gKbJLv.cjs +0 -2
|
@@ -98,7 +98,12 @@ const ST = (e, a) => {
|
|
|
98
98
|
for (let n = 0; n < e.length; n += a)
|
|
99
99
|
r.push(e.slice(n, n + a));
|
|
100
100
|
return r;
|
|
101
|
-
}, MT =
|
|
101
|
+
}, MT = (e) => {
|
|
102
|
+
var r;
|
|
103
|
+
if (!e && e !== "") return 0;
|
|
104
|
+
let a;
|
|
105
|
+
return e === "" ? a = 15 : a = (r = new TextEncoder().encode(e)) == null ? void 0 : r.length, a = Math.ceil(a * 12), a;
|
|
106
|
+
}, BT = [
|
|
102
107
|
{
|
|
103
108
|
key: "FormName",
|
|
104
109
|
value: "Form"
|
|
@@ -119,7 +124,7 @@ const ST = (e, a) => {
|
|
|
119
124
|
key: "SystemKey",
|
|
120
125
|
value: "System"
|
|
121
126
|
}
|
|
122
|
-
],
|
|
127
|
+
], LT = [
|
|
123
128
|
{
|
|
124
129
|
key: "FormDirect",
|
|
125
130
|
value: "formFlex"
|
|
@@ -308,11 +313,11 @@ const ST = (e, a) => {
|
|
|
308
313
|
return c[a[l]] = f, c;
|
|
309
314
|
})) == null ? void 0 : s.filter((f) => f), i;
|
|
310
315
|
}), n;
|
|
311
|
-
},
|
|
316
|
+
}, UT = (e, a) => {
|
|
312
317
|
var s, f;
|
|
313
318
|
const r = ae(e), n = (s = r == null ? void 0 : r.find((l) => (l == null ? void 0 : l.key) === "header")) == null ? void 0 : s.contents, t = (f = r == null ? void 0 : r.find((l) => (l == null ? void 0 : l.key) === "tableContents")) == null ? void 0 : f.contents;
|
|
314
319
|
return Wh(t, yf(n).slice(0, yf(n).length - 1), a);
|
|
315
|
-
},
|
|
320
|
+
}, WT = (e) => {
|
|
316
321
|
let a = {};
|
|
317
322
|
return e == null || e.forEach((r) => {
|
|
318
323
|
a[r.key] = r.value;
|
|
@@ -345,7 +350,7 @@ const ST = (e, a) => {
|
|
|
345
350
|
};
|
|
346
351
|
})) == null ? void 0 : i.filter((s) => s.key !== "操作"), n;
|
|
347
352
|
});
|
|
348
|
-
},
|
|
353
|
+
}, HT = async (e) => {
|
|
349
354
|
var r, n, t, i;
|
|
350
355
|
let a = "";
|
|
351
356
|
if ((n = (r = ae(e)) == null ? void 0 : r.split("/")) == null || n.forEach((s, f) => {
|
|
@@ -662,7 +667,7 @@ const ST = (e, a) => {
|
|
|
662
667
|
this.routerPageStructures = e;
|
|
663
668
|
}
|
|
664
669
|
}
|
|
665
|
-
}), r1 = D0(Mr), { activeMenuPath:
|
|
670
|
+
}), r1 = D0(Mr), { activeMenuPath: XT } = Gr(r1), a1 = I0(Mr), { structureData: t1, loginUserInfo: GT } = Gr(a1), n1 = co(Mr), { routerPageStructures: i1 } = Gr(n1);
|
|
666
671
|
fi(Mr);
|
|
667
672
|
Oa([
|
|
668
673
|
{
|
|
@@ -882,7 +887,7 @@ is(() => {
|
|
|
882
887
|
});
|
|
883
888
|
const m1 = Oa([]);
|
|
884
889
|
s1.value;
|
|
885
|
-
const oo = I0(Mr), { superAdminInfo:
|
|
890
|
+
const oo = I0(Mr), { superAdminInfo: $T, cryptoInfo: KT, loginUserInfo: zT } = Gr(oo), g1 = D0(Mr), { activeMenuPath: v1 } = Gr(g1), Lc = fi(Mr), VT = "123456", _1 = co(Mr), { routerPageStructures: y1 } = Gr(_1);
|
|
886
891
|
Oa(0);
|
|
887
892
|
Oa([
|
|
888
893
|
{
|
|
@@ -923,7 +928,7 @@ const k1 = is(() => {
|
|
|
923
928
|
})) : [];
|
|
924
929
|
});
|
|
925
930
|
Oa();
|
|
926
|
-
const
|
|
931
|
+
const jT = async (e, a, r) => {
|
|
927
932
|
var n, t;
|
|
928
933
|
try {
|
|
929
934
|
const i = await e(a);
|
|
@@ -945,7 +950,7 @@ const b0 = Bf("originalState", {
|
|
|
945
950
|
actions: {}
|
|
946
951
|
}), S1 = fi(Mr), {
|
|
947
952
|
routeToChildPath: Uc
|
|
948
|
-
} = Gr(S1), A1 = I0(Mr), { loginUserInfo: Wc, cryptoInfo:
|
|
953
|
+
} = Gr(S1), A1 = I0(Mr), { loginUserInfo: Wc, cryptoInfo: YT } = Gr(A1), F1 = b0(Mr), { originalPath: Hc } = Gr(F1), I1 = async (e, a) => {
|
|
949
954
|
const r = sessionStorage.getItem("authority"), n = JSON.parse(r || "");
|
|
950
955
|
if (Array.isArray(n)) {
|
|
951
956
|
let t;
|
|
@@ -1157,13 +1162,13 @@ const uo = (e, a, r) => {
|
|
|
1157
1162
|
return c;
|
|
1158
1163
|
}), a;
|
|
1159
1164
|
}
|
|
1160
|
-
},
|
|
1165
|
+
}, JT = async (e) => {
|
|
1161
1166
|
let a = e;
|
|
1162
1167
|
return a = a == null ? void 0 : a.filter((r) => r), a = P1(a), a != null && a.every((r) => {
|
|
1163
1168
|
var n, t;
|
|
1164
1169
|
return ((t = (n = Object.keys(r)) == null ? void 0 : n.filter((i) => i == null ? void 0 : i.includes("name"))) == null ? void 0 : t.length) === 1;
|
|
1165
1170
|
}) ? a : R1(a);
|
|
1166
|
-
},
|
|
1171
|
+
}, qT = async () => {
|
|
1167
1172
|
var i, s, f, l, c, o, u, x, h, d, p, m, g, y, v, E, T, S, w, L, D, U, B, W, M, se, ne, he, ce, be, K, we, Ae, _, A, I, b, X, ee, Q, Z, J, Te, P, Pe, De, je, Be, ie, ur, ir, ka, Ia, St, Za, Ea, za, Se, Ne, Le, wa, Qe, br, me, Fr, Cr, hr;
|
|
1168
1173
|
In.setImportLoading(!0);
|
|
1169
1174
|
let e = "";
|
|
@@ -1353,7 +1358,7 @@ const uo = (e, a, r) => {
|
|
|
1353
1358
|
}
|
|
1354
1359
|
}
|
|
1355
1360
|
In.setImportLoading(!1);
|
|
1356
|
-
},
|
|
1361
|
+
}, ZT = (e, a) => {
|
|
1357
1362
|
let r = e;
|
|
1358
1363
|
const n = [];
|
|
1359
1364
|
let t = "", i = 0;
|
|
@@ -1380,7 +1385,7 @@ const uo = (e, a, r) => {
|
|
|
1380
1385
|
for (const s of r)
|
|
1381
1386
|
i++, s.includes("{") || t.includes("{") || s.includes("[") || t.includes("[") || s.includes("【") || t.includes("【") || s.includes("(") || t.includes("(") || s.includes("(") || t.includes("(") || s.includes("/*") || t.includes("/*") ? (t += s.trim(), ae(t).split("{").length - 1 === ae(t).split("}").length - 1 && ae(t).split("【").length - 1 === ae(t).split("】").length - 1 && ae(t).split("[").length - 1 === ae(t).split("]").length - 1 && ae(t).split("(").length - 1 === ae(t).split(")").length - 1 && ae(t).split("(").length - 1 === ae(t).split(")").length - 1 && ae(t).split("/*").length - 1 === ae(t).split("*/").length - 1 && t[t.length - 1] === a && Gc(t, "'") ? (n.push(t.replace(/\/\*[\s\S]*?\*\//g, "")), t = "") : i === (e == null ? void 0 : e.length) && (n.push(t.replace(/\/\*[\s\S]*?\*\//g, "")), t = "")) : (t += s.trim(), (t == null ? void 0 : t[(t == null ? void 0 : t.length) - 1]) === a && Gc(t, "'") && (n.push(t.replace(/\/\*[\s\S]*?\*\//g, "")), t = ""));
|
|
1382
1387
|
return (t == null ? void 0 : t.length) !== 0 && n.push(t.replace(/\/\*[\s\S]*?\*\//g, "")), n;
|
|
1383
|
-
}, M1 = b0(Mr), { originalPath:
|
|
1388
|
+
}, M1 = b0(Mr), { originalPath: QT } = Gr(M1), B1 = (e) => {
|
|
1384
1389
|
var r, n;
|
|
1385
1390
|
let a = (n = (r = e == null ? void 0 : e.slice(1, (e == null ? void 0 : e.length) - 1)) == null ? void 0 : r.split(",")) == null ? void 0 : n.map((t) => {
|
|
1386
1391
|
var i, s, f, l, c;
|
|
@@ -1427,7 +1432,7 @@ const uo = (e, a, r) => {
|
|
|
1427
1432
|
};
|
|
1428
1433
|
}, Ef = D0(Mr), { activeMenuPath: gs } = Gr(Ef), L1 = Lf(Mr), { chooseTitle: Oi } = Gr(L1);
|
|
1429
1434
|
let Dr = "$R";
|
|
1430
|
-
const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUserInfo:
|
|
1435
|
+
const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUserInfo: eS, systemInfo: Kc } = Gr(W1), ho = fi(Mr), H1 = b0(Mr), { originalPath: X1 } = Gr(H1), { payloadTypes: rS } = Gr(ho), vn = (e, a) => (a == null ? void 0 : a.split(",")).some((n) => Object.keys(e).some((t) => t.startsWith("name") && e[t] === n)), tf = {
|
|
1431
1436
|
onNumSlice: qh,
|
|
1432
1437
|
onRandomContents: e1,
|
|
1433
1438
|
onConditionContents: Jh,
|
|
@@ -2331,7 +2336,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
2331
2336
|
name: "",
|
|
2332
2337
|
compData: (L = o == null ? void 0 : o.map((D) => D.value.pageData)) == null ? void 0 : L.filter((D) => Object.values(D).length > 0)
|
|
2333
2338
|
}), g = g.sort((D, U) => D.orderId - U.orderId), g = await N1(g), i ? g : await I1(e, g);
|
|
2334
|
-
},
|
|
2339
|
+
}, aS = async () => {
|
|
2335
2340
|
var e, a;
|
|
2336
2341
|
try {
|
|
2337
2342
|
let r = ((e = Kc.value) == null ? void 0 : e.platform) || "browser";
|
|
@@ -2387,7 +2392,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
2387
2392
|
isReadonly: f
|
|
2388
2393
|
};
|
|
2389
2394
|
}
|
|
2390
|
-
}),
|
|
2395
|
+
}), tS = (e) => {
|
|
2391
2396
|
const a = [];
|
|
2392
2397
|
function r(n) {
|
|
2393
2398
|
if (Array.isArray(n))
|
|
@@ -2395,7 +2400,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
2395
2400
|
!t.children || t.children.length === 0 ? a.push(t) : r(t.children);
|
|
2396
2401
|
}
|
|
2397
2402
|
return r(e), a;
|
|
2398
|
-
},
|
|
2403
|
+
}, nS = (e, a, r) => ae(e).map((t) => (Array.isArray(t) && (t = t.map((i) => {
|
|
2399
2404
|
var f, l, c, o;
|
|
2400
2405
|
(l = (f = Y1.value) == null ? void 0 : f.split("/")) == null || l.forEach((u) => {
|
|
2401
2406
|
var x, h, d;
|
|
@@ -2456,7 +2461,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
2456
2461
|
})), i;
|
|
2457
2462
|
}
|
|
2458
2463
|
return a(e);
|
|
2459
|
-
},
|
|
2464
|
+
}, iS = (e) => {
|
|
2460
2465
|
function a(r, n = [], t = "") {
|
|
2461
2466
|
if (!r || r.length === 0) return [];
|
|
2462
2467
|
let i = n;
|
|
@@ -2471,7 +2476,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
2471
2476
|
})), i;
|
|
2472
2477
|
}
|
|
2473
2478
|
return a(e);
|
|
2474
|
-
},
|
|
2479
|
+
}, sS = (e) => {
|
|
2475
2480
|
let a = ae(e);
|
|
2476
2481
|
return a = a == null ? void 0 : a.map((r) => ((r == null ? void 0 : r.type) === "Select" ? r = {
|
|
2477
2482
|
label: r == null ? void 0 : r.label,
|
|
@@ -2693,7 +2698,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
2693
2698
|
}), (d == null ? void 0 : d.length) > 0 && await ti({
|
|
2694
2699
|
dataList: d
|
|
2695
2700
|
});
|
|
2696
|
-
},
|
|
2701
|
+
}, fS = async (e, a, r, n, t) => {
|
|
2697
2702
|
var p, m, g, y, v, E, T, S, w, L, D, U, B, W, M, se, ne, he, ce, be, K, we, Ae;
|
|
2698
2703
|
let i = e;
|
|
2699
2704
|
(i == null ? void 0 : i[(i == null ? void 0 : i.length) - 1]) !== G0 && (i = "", (m = (p = ae(e)) == null ? void 0 : p.split(G0)) == null || m.forEach((_, A) => {
|
|
@@ -3270,12 +3275,12 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
3270
3275
|
}), (r == null ? void 0 : r[(r == null ? void 0 : r.length) - 1]) === "/" && (r = r + ((x = (u = Hn == null ? void 0 : Hn.value) == null ? void 0 : u[0]) == null ? void 0 : x.value));
|
|
3271
3276
|
const t = await Rn(r, sessionStorage.getItem("systemKey"), "", !1, [], !1, void 0);
|
|
3272
3277
|
return t || await Rn(n, sessionStorage.getItem("systemKey"), "", !1, [], !1, void 0);
|
|
3273
|
-
},
|
|
3278
|
+
}, cS = (e) => e.entries().next().done, lS = async (e) => {
|
|
3274
3279
|
var n, t, i;
|
|
3275
3280
|
const a = await ix(e);
|
|
3276
3281
|
let r = [];
|
|
3277
3282
|
return ((n = a == null ? void 0 : a.data) == null ? void 0 : n.type) === "success" && (r = (i = (t = a.data.result) == null ? void 0 : t.map((s) => s.value.pageData)) == null ? void 0 : i.filter((s) => (s == null ? void 0 : s.comp) === "Table"), r = r == null ? void 0 : r.map((s) => nx(s))), r;
|
|
3278
|
-
},
|
|
3283
|
+
}, oS = [
|
|
3279
3284
|
{
|
|
3280
3285
|
key: "单选",
|
|
3281
3286
|
value: "Select"
|
|
@@ -3564,7 +3569,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
3564
3569
|
type: "Select",
|
|
3565
3570
|
options: O0
|
|
3566
3571
|
}
|
|
3567
|
-
],
|
|
3572
|
+
], uS = [
|
|
3568
3573
|
{
|
|
3569
3574
|
key: "Input",
|
|
3570
3575
|
value: sx
|
|
@@ -3618,7 +3623,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
3618
3623
|
value: "delete",
|
|
3619
3624
|
label: "删除"
|
|
3620
3625
|
}
|
|
3621
|
-
],
|
|
3626
|
+
], hS = [
|
|
3622
3627
|
{
|
|
3623
3628
|
key: "label",
|
|
3624
3629
|
label: "按钮名",
|
|
@@ -3635,7 +3640,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
3635
3640
|
label: "颜色",
|
|
3636
3641
|
type: "Color"
|
|
3637
3642
|
}
|
|
3638
|
-
],
|
|
3643
|
+
], xS = (e) => {
|
|
3639
3644
|
var r, n, t, i, s, f, l, c;
|
|
3640
3645
|
let a = ae(e);
|
|
3641
3646
|
if (((r = a == null ? void 0 : a.find((o) => (o == null ? void 0 : o.name) === "类型")) == null ? void 0 : r.type) === "Select" && ((i = (t = (n = ae(a)) == null ? void 0 : n.find((o) => (o == null ? void 0 : o.name) === "选项值")) == null ? void 0 : t.value) == null ? void 0 : i.length) > 0) {
|
|
@@ -3646,7 +3651,7 @@ const U1 = Uf(Mr), { multipleTableConst: $c } = Gr(U1), W1 = I0(Mr), { loginUser
|
|
|
3646
3651
|
a = a == null ? void 0 : a.map((u) => ((u == null ? void 0 : u.name) === "初始值" && (u.contents = o, u.value = (u == null ? void 0 : u.value) ?? ""), u));
|
|
3647
3652
|
}
|
|
3648
3653
|
return a;
|
|
3649
|
-
},
|
|
3654
|
+
}, dS = async (e) => {
|
|
3650
3655
|
var i, s, f, l;
|
|
3651
3656
|
let a = ae(e);
|
|
3652
3657
|
const r = (i = e == null ? void 0 : e.find((c) => (c == null ? void 0 : c.name) === "下拉绑定类型")) == null ? void 0 : i.value, n = (s = e == null ? void 0 : e.find((c) => (c == null ? void 0 : c.name) === "类型")) == null ? void 0 : s.value, t = await cx();
|
|
@@ -27964,7 +27969,7 @@ function sT(e) {
|
|
|
27964
27969
|
r.match(/^\.[a-z]+$/) && (e.bookType = r.slice(1)), e.bookType = a[e.bookType] || e.bookType;
|
|
27965
27970
|
}
|
|
27966
27971
|
}
|
|
27967
|
-
function
|
|
27972
|
+
function pS(e, a, r) {
|
|
27968
27973
|
var n = {};
|
|
27969
27974
|
return n.type = "file", n.file = a, sT(n), Ih(e, n);
|
|
27970
27975
|
}
|
|
@@ -28218,7 +28223,7 @@ function mT(e, a, r, n) {
|
|
|
28218
28223
|
}
|
|
28219
28224
|
return e;
|
|
28220
28225
|
}
|
|
28221
|
-
var
|
|
28226
|
+
var mS = {
|
|
28222
28227
|
encode_col: _a,
|
|
28223
28228
|
encode_row: ba,
|
|
28224
28229
|
encode_cell: tr,
|
|
@@ -28257,20 +28262,20 @@ var pS = {
|
|
|
28257
28262
|
SHEET_VERY_HIDDEN: 2
|
|
28258
28263
|
}
|
|
28259
28264
|
};
|
|
28260
|
-
const gT = b0(Mr), { originalPath: vT } = gT,
|
|
28265
|
+
const gT = b0(Mr), { originalPath: vT } = gT, gS = (e) => {
|
|
28261
28266
|
var f, l;
|
|
28262
28267
|
const a = e == null ? void 0 : e.compData, r = (f = a == null ? void 0 : a.find((c) => (c == null ? void 0 : c.key) === "header")) == null ? void 0 : f.contents, n = r == null ? void 0 : r.findIndex((c, o) => {
|
|
28263
28268
|
const { isMainKey: u } = c;
|
|
28264
28269
|
return u;
|
|
28265
28270
|
}), t = (l = a == null ? void 0 : a.find((c) => (c == null ? void 0 : c.key) === "tableContents")) == null ? void 0 : l.contents, i = t == null ? void 0 : t.map((c) => (c = c == null ? void 0 : c.filter((o) => !(o != null && o.id)), c));
|
|
28266
28271
|
return i == null ? void 0 : i.map((c) => c == null ? void 0 : c[n]);
|
|
28267
|
-
},
|
|
28272
|
+
}, vS = async (e, a) => {
|
|
28268
28273
|
const r = e.join("/"), n = sessionStorage.getItem("systemKey");
|
|
28269
28274
|
return await Rn(`${r}${vT}${a}`, n, "");
|
|
28270
|
-
},
|
|
28275
|
+
}, _S = {
|
|
28271
28276
|
TABLE: "Table",
|
|
28272
28277
|
FORM: "Form"
|
|
28273
|
-
},
|
|
28278
|
+
}, yS = (e, a) => a == null ? void 0 : a.find((n) => {
|
|
28274
28279
|
const { name: t } = n;
|
|
28275
28280
|
return t === e;
|
|
28276
28281
|
}), _T = (e, a = "") => {
|
|
@@ -28287,67 +28292,68 @@ const gT = b0(Mr), { originalPath: vT } = gT, mS = (e) => {
|
|
|
28287
28292
|
r.push(...s);
|
|
28288
28293
|
}
|
|
28289
28294
|
return r;
|
|
28290
|
-
},
|
|
28295
|
+
}, kS = (e, a) => !e || !e.length ? [] : e.filter((n) => {
|
|
28291
28296
|
const { comp: t } = n;
|
|
28292
28297
|
return t === a;
|
|
28293
28298
|
});
|
|
28294
28299
|
export {
|
|
28295
|
-
|
|
28296
|
-
|
|
28297
|
-
|
|
28298
|
-
|
|
28299
|
-
|
|
28300
|
-
|
|
28301
|
-
|
|
28302
|
-
|
|
28303
|
-
|
|
28304
|
-
|
|
28305
|
-
|
|
28306
|
-
|
|
28307
|
-
|
|
28308
|
-
|
|
28309
|
-
|
|
28310
|
-
|
|
28311
|
-
|
|
28300
|
+
hS as $,
|
|
28301
|
+
vS as A,
|
|
28302
|
+
NT as B,
|
|
28303
|
+
AT as C,
|
|
28304
|
+
PT as D,
|
|
28305
|
+
DT as E,
|
|
28306
|
+
Pc as F,
|
|
28307
|
+
bT as G,
|
|
28308
|
+
CT as H,
|
|
28309
|
+
RT as I,
|
|
28310
|
+
yf as J,
|
|
28311
|
+
ix as K,
|
|
28312
|
+
OT as L,
|
|
28313
|
+
tS as M,
|
|
28314
|
+
Uf as N,
|
|
28315
|
+
nS as O,
|
|
28316
|
+
X0 as P,
|
|
28312
28317
|
iS as Q,
|
|
28313
|
-
|
|
28314
|
-
|
|
28315
|
-
|
|
28316
|
-
|
|
28317
|
-
|
|
28318
|
-
|
|
28319
|
-
|
|
28320
|
-
|
|
28321
|
-
|
|
28322
|
-
|
|
28323
|
-
|
|
28324
|
-
|
|
28325
|
-
|
|
28326
|
-
|
|
28327
|
-
|
|
28328
|
-
|
|
28329
|
-
|
|
28330
|
-
|
|
28331
|
-
|
|
28332
|
-
|
|
28318
|
+
sS as R,
|
|
28319
|
+
cS as S,
|
|
28320
|
+
WT as T,
|
|
28321
|
+
oS as U,
|
|
28322
|
+
tn as V,
|
|
28323
|
+
mx as W,
|
|
28324
|
+
uS as X,
|
|
28325
|
+
lS as Y,
|
|
28326
|
+
dS as Z,
|
|
28327
|
+
xS as _,
|
|
28328
|
+
LT as a,
|
|
28329
|
+
UT as a0,
|
|
28330
|
+
ZT as a1,
|
|
28331
|
+
HT as a2,
|
|
28332
|
+
Eo as a3,
|
|
28333
|
+
VT as a4,
|
|
28334
|
+
MT as b,
|
|
28335
|
+
JT as c,
|
|
28336
|
+
Rn as d,
|
|
28337
|
+
V0 as e,
|
|
28338
|
+
ST as f,
|
|
28333
28339
|
On as g,
|
|
28334
|
-
|
|
28335
|
-
|
|
28336
|
-
|
|
28337
|
-
|
|
28340
|
+
FT as h,
|
|
28341
|
+
aS as i,
|
|
28342
|
+
jT as j,
|
|
28343
|
+
mS as k,
|
|
28338
28344
|
go as l,
|
|
28339
|
-
|
|
28340
|
-
|
|
28341
|
-
|
|
28342
|
-
|
|
28343
|
-
|
|
28345
|
+
Mh as m,
|
|
28346
|
+
fS as n,
|
|
28347
|
+
qT as o,
|
|
28348
|
+
_S as p,
|
|
28349
|
+
_T as q,
|
|
28344
28350
|
ao as r,
|
|
28345
28351
|
IT as s,
|
|
28346
28352
|
Rc as t,
|
|
28347
28353
|
b0 as u,
|
|
28348
|
-
|
|
28349
|
-
|
|
28350
|
-
|
|
28351
|
-
|
|
28354
|
+
BT as v,
|
|
28355
|
+
pS as w,
|
|
28356
|
+
kS as x,
|
|
28357
|
+
yS as y,
|
|
28352
28358
|
gS as z
|
|
28353
28359
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ref as N, resolveComponent as Q, createBlock as q, openBlock as x, defineComponent as t0, computed as r2, watch as Y2, createElementBlock as z, createVNode as Z, withCtx as H, createElementVNode as a2, Fragment as k2, renderList as M2, withModifiers as Ge, normalizeClass as Ce, toDisplayString as B2, createSlots as ce, renderSlot as D2, nextTick as G0, onMounted as Ve, createTextVNode as T0, isRef as g9, isReactive as v9, toRaw as m9, createCommentVNode as J, onBeforeUnmount as F4, normalizeStyle as c0, resolveDynamicComponent as Et, normalizeProps as w9, guardReactiveProps as x9, unref as F0, mergeProps as L1, reactive as n6, inject as m6, withDirectives as p3, vShow as w6, watchEffect as et, onUnmounted as Jt, resolveDirective as b9, h as Ui, toRefs as _9 } from "vue";
|
|
2
|
-
import { a3 as y9, a4 as S9, I as i8, g as C9, a5 as k9, a6 as D9, a7 as O9, a0 as Ii, a8 as M9, a9 as T9, aa as z9, ab as P9, ac as qi, ad as Yi } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
2
|
+
import { a3 as y9, a4 as S9, I as i8, g as C9, a5 as k9, a6 as D9, a7 as O9, a0 as Ii, a8 as M9, a9 as T9, aa as z9, ab as P9, ac as qi, ad as Yi } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-PnEFT3X7.js";
|
|
3
3
|
import { _ as L2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { S as Wt } from "./index-BHtNKL1L.js";
|
|
5
5
|
import { o as n8, q as s8, E as Fe, s as K4, p as K6, m as V9, ay as A9, ap as E9, aq as B9, ax as L9, b as H9 } from "./request-XJsZ4h2T.js";
|
|
6
6
|
import { ab as G9, ac as Fi, a as X4, p as Bt, s as Ut, u as Q4, c as K0, a9 as Be, e as o8, a6 as O3, i as R9, t as N9 } from "./index-BK-oz1IK.js";
|
|
7
7
|
import { _ as Y0 } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
8
|
-
import {
|
|
8
|
+
import { m as Ki, B as $9, X as l8 } from "./index-5zBx2xab.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { s as J4 } from "./index-11kpzK0A.js";
|
|
11
|
-
import { T as Xi, a as j9 } from "./threeViewerHost-
|
|
12
|
-
import { A as W9 } from "./index-
|
|
11
|
+
import { T as Xi, a as j9 } from "./threeViewerHost-DJSU2VXG.js";
|
|
12
|
+
import { A as W9 } from "./index-BMbjyksn.js";
|
|
13
13
|
var U9 = "[object Date]";
|
|
14
14
|
function I9(n) {
|
|
15
15
|
return n8(n) && s8(n) == U9;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as J, ref as u, computed as Ve, resolveComponent as n, createElementBlock as D, openBlock as k, createElementVNode as o, createVNode as t, withCtx as s, toDisplayString as A, createBlock as ue, reactive as De, Fragment as pe, renderList as xe, unref as c, createTextVNode as h, onMounted as it, watch as dt, withModifiers as ct, createCommentVNode as H } from "vue";
|
|
2
2
|
import { u as ut, h as pt, i as mt } from "./request-XJsZ4h2T.js";
|
|
3
|
-
import { u as Se, o as _t, s as de, f as ce } from "./index-
|
|
3
|
+
import { u as Se, o as _t, s as de, f as ce } from "./index-aaiRLVcp.js";
|
|
4
4
|
import { G as Le, H as ft, u as vt, p as gt } from "./index-BK-oz1IK.js";
|
|
5
5
|
import { s as _e } from "./index-11kpzK0A.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
7
|
-
import "./index-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-PnEFT3X7.js";
|
|
7
|
+
import "./index-DFLr3nfs.js";
|
|
8
8
|
import "./index-BHtNKL1L.js";
|
|
9
9
|
import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
10
|
+
import "./index-5zBx2xab.js";
|
|
11
|
+
import "./index-BlWH1RtL.js";
|
|
12
12
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { c as me } from "./clone-BDsG8VVj.js";
|
|
14
14
|
const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-content-wrapper" }, Ct = { class: "node-label-wrapper" }, bt = { class: "node-label" }, wt = /* @__PURE__ */ J({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),C=require("./request-Dl8yi2iS.cjs"),_=require("./index-xN3pvlzo.cjs"),N=require("./index-DmwxzDGW.cjs"),M=require("./JSEncrypt-IYbV4kRj.cjs"),Q=require("./index-B9MP9Z_h.cjs"),X=require("./index-C3JpBKyN.cjs"),T=require("./index-DnwoeTr-.cjs"),R=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),U=require("./index-BpPyaNFa.cjs");function Y(r,s){const t=new M.JSEncrypt;return t.setPublicKey(s),t.encrypt(r)||""}function Z(r,s){const t=new M.JSEncrypt;return t.setPrivateKey(s),t.decrypt(r)||""}const V=_.useLoginState(_.pinia),{loginUserInfo:p,cryptoInfo:x}=_.storeToRefs(V),ee=_.useMenuState(_.pinia),{activeMenuPath:A}=_.storeToRefs(ee),L=e.ref(0),K=e.computed(()=>{var r,s,t,o,l,u,a,f,b,m,y;return[{label:"",name:"账号",prop:"账号",value:((r=p.value)==null?void 0:r.account)||(((s=p.value)==null?void 0:s.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=p.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(o=p.value)==null?void 0:o.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((l=p.value)==null?void 0:l.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((u=p.value)==null?void 0:u.layer)==="superAdmin"?"启用":((a=p.value)==null?void 0:a.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((f=p.value)==null?void 0:f.layer)==="superAdmin"?"启用":((b=p.value)==null?void 0:b.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((m=p.value)==null?void 0:m.layer)==="superAdmin"?"启用":((y=p.value)==null?void 0:y.状态)??"未知"}]}),te=()=>{},q=e.ref(!1),E=e.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),D=e.ref([{label:"签字版",icon:C.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:C.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:C.upload_filled_default,type:"buttonUpload",disabled:!1}]),P=e.ref(!1),$=e.ref(!1),z=e.ref(!1),O=e.computed(()=>{var o,l,u;const r=sessionStorage.getItem("authority"),s=JSON.parse(r||""),t=(o=A.value)!=null&&o.startsWith("/")?(l=A.value)==null?void 0:l.substring(1):A.value;return Array.isArray(s)?(z.value=!(s!=null&&s.includes(`${t}/上传头像`)),(u=D.value)==null?void 0:u.map(a=>({...a,disabled:!(s!=null&&s.includes(`${t}/签名`))}))):typeof s=="string"&&(s==null?void 0:s.toUpperCase())==="SUPERADMIN"?D.value:[]}),ae=e.computed(()=>[{key:"signConfig",contents:E},{key:"signTypeList",contents:O.value}]),re=r=>{E.dialogShow=r.label==="电子签名"},W=()=>{E.dialogShow=!1},j=async r=>{var t,o,l,u,a,f,b,m,y;const s=await N.getInsofDataApi({id:r});if(((t=s==null?void 0:s.data)==null?void 0:t.code)===200&&s.data.result&&Array.isArray(s.data.result)&&s.data.result.length>0){const d={...(u=(l=(o=s.data.result)==null?void 0:o[0])==null?void 0:l.value)==null?void 0:u.tableData,id:(f=(a=s.data.result)==null?void 0:a[0])==null?void 0:f.id,layer:(y=(m=(b=s.data.result)==null?void 0:b[0])==null?void 0:m.key)==null?void 0:y.layer};V.setLoginUserInfo(d)}},H=async(r,s)=>{var o,l,u;const t=_.cloneDeep(r);t==null||delete t.id;try{const a=await N.updateInsofDataApi({id:(o=p.value)==null?void 0:o.id,value:{tableData:t}});((l=a==null?void 0:a.data)==null?void 0:l.code)===200&&(W(),C.ElMessage.success("修改成功"),await j((u=p.value)==null?void 0:u.id),await V.setLogRecordAsync({type:s,data:r},A.value))}catch{C.ElMessage.error("修改响应失败")}finally{q.value=!1,P.value=!1,$.value=!1}},se=async(r,s)=>{var l;const t=r==="avatarUrl"?"头像":"签名",o={...p.value,status:((l=p.value)==null?void 0:l.status)??"启用",[t]:s};P.value=r==="avatarUrl",$.value=r==="signature",await H(o,"图片修改")},I=e.reactive({baseCols:[],otherCols:[]}),J=e.ref([]),G=e.ref(),ne=(r,s,t)=>{var u,a,f,b,m,y;let o;const l=s;((a=(u=p.value)==null?void 0:u.layer)==null?void 0:a.toUpperCase())!=="SUPERADMIN"?o=(f=p.value)!=null&&f.password?Z((b=p.value)==null?void 0:b.password,(m=x==null?void 0:x.value)==null?void 0:m.privateKey):Q.resetPassword:o=(y=p.value)==null?void 0:y.password,o===l?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},oe=(r,s,t)=>{s?t():t(new Error("请输入密码"))},le=(r,s,t)=>{var o;s!==((o=G.value)==null?void 0:o.newtPass)?t(new Error("两次输入的密码不一致")):t()},ue=async()=>{var s,t,o,l,u,a,f,b,m,y;const r=await N.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((s=r==null?void 0:r.data)==null?void 0:s.code)===200&&r.data.result&&((t=r.data.result)==null?void 0:t.length)>0){const d=(f=(a=(u=(l=(o=r.data.result)==null?void 0:o[0])==null?void 0:l.value)==null?void 0:u.pageData)==null?void 0:a.compData)==null?void 0:f.find(n=>(n==null?void 0:n.key)==="header"),w=(b=K.value)==null?void 0:b.map(n=>n==null?void 0:n.prop);I.baseCols=d&&((m=d.contents)==null?void 0:m.map(n=>({...n,isFormColHidden:(w==null?void 0:w.includes(n==null?void 0:n.prop))||(n==null?void 0:n.label)==="操作"})));const S=(y=d.contents)==null?void 0:y.find(n=>(n==null?void 0:n.prop)==="password"),i=[{...S,label:"当前密码",prop:"currentPass",validator:ne},{...S,label:"新密码",prop:"newtPass",validator:oe},{...S,label:"确认密码",prop:"confirmNewPass",validator:le}];I.otherCols=i,de(p.value)}},ie=r=>{G.value=r},ce=async({content:r,buttonName:s})=>{var o,l,u,a,f;let t;s==="确定"&&(t={...p.value,status:((o=p.value)==null?void 0:o.status)??"启用",password:((u=(l=p.value)==null?void 0:l.layer)==null?void 0:u.toUpperCase())==="SUPERADMIN"?r==null?void 0:r.confirmNewPass:Y(r==null?void 0:r.confirmNewPass,(a=x.value)==null?void 0:a.publicKey)}),s==="保存基本信息"&&(t={...p.value,...r,status:((f=p.value)==null?void 0:f.status)??"启用"}),q.value=!0,await H(t,s)},F=()=>{var o,l;const r={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},s=sessionStorage.getItem("authority"),t=JSON.parse(s||"");if(Array.isArray(t)){const u=(o=A.value)!=null&&o.startsWith("/")?(l=A.value)==null?void 0:l.substring(1):A.value,a=t!=null&&t.includes(`${u}/基本信息`)?r==null?void 0:r.base:[],f=t!=null&&t.includes(`${u}/修改密码`)?r==null?void 0:r.other:[];return{base:a,other:f}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?r:null},de=r=>{var s,t,o,l,u;J.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(s=I.baseCols)==null?void 0:s.map(a=>({...a,width:2,type:a==null?void 0:a.formType,name:a==null?void 0:a.prop,prop:a==null?void 0:a.prop,contents:a==null?void 0:a.options,value:r[a==null?void 0:a.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=F())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(o=I.otherCols)==null?void 0:o.map(a=>({...a,width:1,type:a==null?void 0:a.formType,name:a==null?void 0:a.prop,contents:a==null?void 0:a.options})),formRules:(l=I.otherCols)==null?void 0:l.reduce((a,f)=>(a[f.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(b,m,y)=>f.validator(b,m,y),trigger:"blur"}],a),{}),buttonValue:(u=F())==null?void 0:u.other,isEnableWrap:!1},value:""}]}]},pe=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:P,beforeSignDestroy:W,changeFormTrigger:ie,clickFormButton:te,clickSignButton:re,clickTabButton:ce,getUserTableHeadersAsync:ue,itemData:ae,loading:q,refreshLoginUserInfoAsync:j,rowContents:K,signPadInfo:E,signTypes:O,signatureLoading:$,submitImageAsync:se,tabKey:L,tabsContents:J,tempSignTypes:D,uploadDisabled:z},Symbol.toStringTag,{value:"Module"})),fe={class:"avatar-model-wrap"},ge={key:0},ve=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},size:{type:[String,Number],default:"large"},userInfo:{type:Object,default:{}},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage"],setup(r,{emit:s}){const t=r,o=s,l=e.computed(()=>"http://222.92.178.198:62001"),u=e.ref(""),a=e.ref(""),f=e.ref();e.watch(()=>{var d;return(d=t.userInfo)==null?void 0:d.头像},d=>{a.value=d?l.value+"/"+d:""},{immediate:!0});const b=async()=>{if(!(t!=null&&t.disabled))try{const d=await _.platformDownloadFile({url:u.value});if(d.status!==200)throw new Error(`HTTP error! status: ${d.status}`);const w=new Blob([d.data],{type:d.headers["content-type"]});f.value=w}catch(d){throw new Error(d)}},m=async d=>{var w,S,i,n,h;try{const g=await T.uploadFile(d);((w=g==null?void 0:g.data)==null?void 0:w.code)===200&&(a.value=l.value+"/"+((i=(S=g.data)==null?void 0:S.result)==null?void 0:i.url),u.value=(h=(n=g.data)==null?void 0:n.result)==null?void 0:h.url,o("submitImage",u.value))}catch(g){C.ElMessage.error(g)}},y=async()=>{try{if(!a.value)return}catch(d){C.ElMessage.error(d)}};return(d,w)=>{var S,i;return e.openBlock(),e.createElementBlock("div",fe,[e.createVNode(X.Avatar,{avatarUrl:a.value??"",avatarBlob:f.value,size:r.size,onClickAvatar:b,onSubmitImage:m,onDeleteImage:y,clickStop:t==null?void 0:t.clickStop},{avatarDefault:e.withCtx(()=>{var n,h,g,v;return[e.createTextVNode(e.toDisplayString(((h=(n=r.userInfo)==null?void 0:n.account)==null?void 0:h.charAt(0))||((v=(g=r.userInfo)==null?void 0:g.姓名)==null?void 0:v.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size","clickStop"]),r.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",ge,e.toDisplayString(((S=r.userInfo)==null?void 0:S.account)||((i=r.userInfo)==null?void 0:i.账号)||"未知"),1))])}}}),ye=R._export_sfc(ve,[["__scopeId","data-v-1a1f2575"]]),be=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(r,{emit:s}){const t=r,o=e.ref({}),l=e.ref([]),u=s,a=i=>{o.value.dialogShow=(i==null?void 0:i.label)==="电子签名",u("clickSignButton",i)},f=()=>{o.value.dialogShow=!1,u("beforeDestroy")},b=e.computed(()=>"http://222.92.178.198:62001"),m=i=>{var c;const n=i.split(","),h=(c=n==null?void 0:n[0])==null?void 0:c.match(/:(.*?);/)[1],g=atob(n[1]);let v=g.length;const k=new Uint8Array(v);for(;v--;)k[v]=g.charCodeAt(v);return new Blob([k],{type:h})},y=async i=>{var n,h,g;try{const v=await T.uploadFile(i);((n=v==null?void 0:v.data)==null?void 0:n.code)===200&&u("clickSubmitSign",(g=(h=v.data)==null?void 0:h.result)==null?void 0:g.url)}catch(v){C.ElMessage.error(v)}},d=e.ref(""),w=i=>{d.value=i,o.value.dialogShow=!1;const n=new FormData,h=m(i);n.append("file",h,"image.png"),y(n)},S=i=>{const n=new FormData;n.append("file",i==null?void 0:i.file),y(n)};return e.watch(()=>t==null?void 0:t.itemData,i=>{var h,g,v,k;d.value="",(h=o.value)!=null&&h.dialogShow&&(o.value.dialogShow=!1);const n=(g=i==null?void 0:i.find(c=>(c==null?void 0:c.key)==="signConfig"))==null?void 0:g.contents;n&&Object.keys(n).forEach(c=>{(n[c]===void 0||n[c]===null||n[c]==="")&&delete n[c]}),o.value=(v=i==null?void 0:i.find(c=>(c==null?void 0:c.key)==="signConfig"))==null?void 0:v.contents,l.value=(k=i==null?void 0:i.find(c=>(c==null?void 0:c.key)==="signTypeList"))==null?void 0:k.contents},{immediate:!0}),(i,n)=>{const h=e.resolveComponent("el-empty"),g=e.resolveComponent("el-image"),v=e.resolveComponent("el-button"),k=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(T.Signature,{signPadInfo:o.value,onBeforeDestroy:f,onClickSubmitSign:w},{signatureRender:e.withCtx(()=>{var c,B;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(c=o.value)==null?void 0:c.signPadWidth}%`})},[e.createVNode(g,{src:d.value?d.value:b.value+"/"+((B=r.userInfo)==null?void 0:B.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(h,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(U.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,c=>{var B;return e.openBlock(),e.createElementBlock("div",{key:c.label,class:"signature-button"},[(B=c.label)!=null&&B.includes("上传")?(e.openBlock(),e.createBlock(k,{key:0,ref_for:!0,ref:"uploadRef","http-request":S,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(v,{disabled:c.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.label),1)]),icon:e.withCtx(()=>[e.createVNode(U.SvgIcon,{name:c.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(v,{key:1,id:"themeButton",disabled:c.disabled,onClick:he=>a(c)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.label),1)]),icon:e.withCtx(()=>[e.createVNode(U.SvgIcon,{name:c.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),me=R._export_sfc(be,[["__scopeId","data-v-ce5a2314"]]);exports.State=pe;exports.ssAvatar=ye;exports.ssSignature=me;exports.tabKey=L;
|
|
1
|
+
"use strict";const e=require("vue"),C=require("./request-Dl8yi2iS.cjs"),_=require("./index-xN3pvlzo.cjs"),N=require("./index-DmwxzDGW.cjs"),M=require("./JSEncrypt-IYbV4kRj.cjs"),Q=require("./index-BMofVGXk.cjs"),X=require("./index-BiwYTq-N.cjs"),T=require("./index-zKgQ0JKd.cjs"),R=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),U=require("./index-BpPyaNFa.cjs");function Y(r,s){const t=new M.JSEncrypt;return t.setPublicKey(s),t.encrypt(r)||""}function Z(r,s){const t=new M.JSEncrypt;return t.setPrivateKey(s),t.decrypt(r)||""}const V=_.useLoginState(_.pinia),{loginUserInfo:p,cryptoInfo:x}=_.storeToRefs(V),ee=_.useMenuState(_.pinia),{activeMenuPath:A}=_.storeToRefs(ee),L=e.ref(0),K=e.computed(()=>{var r,s,t,o,l,u,a,f,b,m,y;return[{label:"",name:"账号",prop:"账号",value:((r=p.value)==null?void 0:r.account)||(((s=p.value)==null?void 0:s.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=p.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(o=p.value)==null?void 0:o.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((l=p.value)==null?void 0:l.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((u=p.value)==null?void 0:u.layer)==="superAdmin"?"启用":((a=p.value)==null?void 0:a.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((f=p.value)==null?void 0:f.layer)==="superAdmin"?"启用":((b=p.value)==null?void 0:b.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((m=p.value)==null?void 0:m.layer)==="superAdmin"?"启用":((y=p.value)==null?void 0:y.状态)??"未知"}]}),te=()=>{},q=e.ref(!1),E=e.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),D=e.ref([{label:"签字版",icon:C.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:C.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:C.upload_filled_default,type:"buttonUpload",disabled:!1}]),P=e.ref(!1),$=e.ref(!1),z=e.ref(!1),O=e.computed(()=>{var o,l,u;const r=sessionStorage.getItem("authority"),s=JSON.parse(r||""),t=(o=A.value)!=null&&o.startsWith("/")?(l=A.value)==null?void 0:l.substring(1):A.value;return Array.isArray(s)?(z.value=!(s!=null&&s.includes(`${t}/上传头像`)),(u=D.value)==null?void 0:u.map(a=>({...a,disabled:!(s!=null&&s.includes(`${t}/签名`))}))):typeof s=="string"&&(s==null?void 0:s.toUpperCase())==="SUPERADMIN"?D.value:[]}),ae=e.computed(()=>[{key:"signConfig",contents:E},{key:"signTypeList",contents:O.value}]),re=r=>{E.dialogShow=r.label==="电子签名"},W=()=>{E.dialogShow=!1},j=async r=>{var t,o,l,u,a,f,b,m,y;const s=await N.getInsofDataApi({id:r});if(((t=s==null?void 0:s.data)==null?void 0:t.code)===200&&s.data.result&&Array.isArray(s.data.result)&&s.data.result.length>0){const d={...(u=(l=(o=s.data.result)==null?void 0:o[0])==null?void 0:l.value)==null?void 0:u.tableData,id:(f=(a=s.data.result)==null?void 0:a[0])==null?void 0:f.id,layer:(y=(m=(b=s.data.result)==null?void 0:b[0])==null?void 0:m.key)==null?void 0:y.layer};V.setLoginUserInfo(d)}},H=async(r,s)=>{var o,l,u;const t=_.cloneDeep(r);t==null||delete t.id;try{const a=await N.updateInsofDataApi({id:(o=p.value)==null?void 0:o.id,value:{tableData:t}});((l=a==null?void 0:a.data)==null?void 0:l.code)===200&&(W(),C.ElMessage.success("修改成功"),await j((u=p.value)==null?void 0:u.id),await V.setLogRecordAsync({type:s,data:r},A.value))}catch{C.ElMessage.error("修改响应失败")}finally{q.value=!1,P.value=!1,$.value=!1}},se=async(r,s)=>{var l;const t=r==="avatarUrl"?"头像":"签名",o={...p.value,status:((l=p.value)==null?void 0:l.status)??"启用",[t]:s};P.value=r==="avatarUrl",$.value=r==="signature",await H(o,"图片修改")},I=e.reactive({baseCols:[],otherCols:[]}),J=e.ref([]),G=e.ref(),ne=(r,s,t)=>{var u,a,f,b,m,y;let o;const l=s;((a=(u=p.value)==null?void 0:u.layer)==null?void 0:a.toUpperCase())!=="SUPERADMIN"?o=(f=p.value)!=null&&f.password?Z((b=p.value)==null?void 0:b.password,(m=x==null?void 0:x.value)==null?void 0:m.privateKey):Q.resetPassword:o=(y=p.value)==null?void 0:y.password,o===l?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},oe=(r,s,t)=>{s?t():t(new Error("请输入密码"))},le=(r,s,t)=>{var o;s!==((o=G.value)==null?void 0:o.newtPass)?t(new Error("两次输入的密码不一致")):t()},ue=async()=>{var s,t,o,l,u,a,f,b,m,y;const r=await N.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((s=r==null?void 0:r.data)==null?void 0:s.code)===200&&r.data.result&&((t=r.data.result)==null?void 0:t.length)>0){const d=(f=(a=(u=(l=(o=r.data.result)==null?void 0:o[0])==null?void 0:l.value)==null?void 0:u.pageData)==null?void 0:a.compData)==null?void 0:f.find(n=>(n==null?void 0:n.key)==="header"),w=(b=K.value)==null?void 0:b.map(n=>n==null?void 0:n.prop);I.baseCols=d&&((m=d.contents)==null?void 0:m.map(n=>({...n,isFormColHidden:(w==null?void 0:w.includes(n==null?void 0:n.prop))||(n==null?void 0:n.label)==="操作"})));const S=(y=d.contents)==null?void 0:y.find(n=>(n==null?void 0:n.prop)==="password"),i=[{...S,label:"当前密码",prop:"currentPass",validator:ne},{...S,label:"新密码",prop:"newtPass",validator:oe},{...S,label:"确认密码",prop:"confirmNewPass",validator:le}];I.otherCols=i,de(p.value)}},ie=r=>{G.value=r},ce=async({content:r,buttonName:s})=>{var o,l,u,a,f;let t;s==="确定"&&(t={...p.value,status:((o=p.value)==null?void 0:o.status)??"启用",password:((u=(l=p.value)==null?void 0:l.layer)==null?void 0:u.toUpperCase())==="SUPERADMIN"?r==null?void 0:r.confirmNewPass:Y(r==null?void 0:r.confirmNewPass,(a=x.value)==null?void 0:a.publicKey)}),s==="保存基本信息"&&(t={...p.value,...r,status:((f=p.value)==null?void 0:f.status)??"启用"}),q.value=!0,await H(t,s)},F=()=>{var o,l;const r={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},s=sessionStorage.getItem("authority"),t=JSON.parse(s||"");if(Array.isArray(t)){const u=(o=A.value)!=null&&o.startsWith("/")?(l=A.value)==null?void 0:l.substring(1):A.value,a=t!=null&&t.includes(`${u}/基本信息`)?r==null?void 0:r.base:[],f=t!=null&&t.includes(`${u}/修改密码`)?r==null?void 0:r.other:[];return{base:a,other:f}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?r:null},de=r=>{var s,t,o,l,u;J.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(s=I.baseCols)==null?void 0:s.map(a=>({...a,width:2,type:a==null?void 0:a.formType,name:a==null?void 0:a.prop,prop:a==null?void 0:a.prop,contents:a==null?void 0:a.options,value:r[a==null?void 0:a.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=F())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(o=I.otherCols)==null?void 0:o.map(a=>({...a,width:1,type:a==null?void 0:a.formType,name:a==null?void 0:a.prop,contents:a==null?void 0:a.options})),formRules:(l=I.otherCols)==null?void 0:l.reduce((a,f)=>(a[f.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(b,m,y)=>f.validator(b,m,y),trigger:"blur"}],a),{}),buttonValue:(u=F())==null?void 0:u.other,isEnableWrap:!1},value:""}]}]},pe=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:P,beforeSignDestroy:W,changeFormTrigger:ie,clickFormButton:te,clickSignButton:re,clickTabButton:ce,getUserTableHeadersAsync:ue,itemData:ae,loading:q,refreshLoginUserInfoAsync:j,rowContents:K,signPadInfo:E,signTypes:O,signatureLoading:$,submitImageAsync:se,tabKey:L,tabsContents:J,tempSignTypes:D,uploadDisabled:z},Symbol.toStringTag,{value:"Module"})),fe={class:"avatar-model-wrap"},ge={key:0},ve=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},size:{type:[String,Number],default:"large"},userInfo:{type:Object,default:{}},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage"],setup(r,{emit:s}){const t=r,o=s,l=e.computed(()=>"http://222.92.178.198:62001"),u=e.ref(""),a=e.ref(""),f=e.ref();e.watch(()=>{var d;return(d=t.userInfo)==null?void 0:d.头像},d=>{a.value=d?l.value+"/"+d:""},{immediate:!0});const b=async()=>{if(!(t!=null&&t.disabled))try{const d=await _.platformDownloadFile({url:u.value});if(d.status!==200)throw new Error(`HTTP error! status: ${d.status}`);const w=new Blob([d.data],{type:d.headers["content-type"]});f.value=w}catch(d){throw new Error(d)}},m=async d=>{var w,S,i,n,h;try{const g=await T.uploadFile(d);((w=g==null?void 0:g.data)==null?void 0:w.code)===200&&(a.value=l.value+"/"+((i=(S=g.data)==null?void 0:S.result)==null?void 0:i.url),u.value=(h=(n=g.data)==null?void 0:n.result)==null?void 0:h.url,o("submitImage",u.value))}catch(g){C.ElMessage.error(g)}},y=async()=>{try{if(!a.value)return}catch(d){C.ElMessage.error(d)}};return(d,w)=>{var S,i;return e.openBlock(),e.createElementBlock("div",fe,[e.createVNode(X.Avatar,{avatarUrl:a.value??"",avatarBlob:f.value,size:r.size,onClickAvatar:b,onSubmitImage:m,onDeleteImage:y,clickStop:t==null?void 0:t.clickStop},{avatarDefault:e.withCtx(()=>{var n,h,g,v;return[e.createTextVNode(e.toDisplayString(((h=(n=r.userInfo)==null?void 0:n.account)==null?void 0:h.charAt(0))||((v=(g=r.userInfo)==null?void 0:g.姓名)==null?void 0:v.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size","clickStop"]),r.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",ge,e.toDisplayString(((S=r.userInfo)==null?void 0:S.account)||((i=r.userInfo)==null?void 0:i.账号)||"未知"),1))])}}}),ye=R._export_sfc(ve,[["__scopeId","data-v-1a1f2575"]]),be=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(r,{emit:s}){const t=r,o=e.ref({}),l=e.ref([]),u=s,a=i=>{o.value.dialogShow=(i==null?void 0:i.label)==="电子签名",u("clickSignButton",i)},f=()=>{o.value.dialogShow=!1,u("beforeDestroy")},b=e.computed(()=>"http://222.92.178.198:62001"),m=i=>{var c;const n=i.split(","),h=(c=n==null?void 0:n[0])==null?void 0:c.match(/:(.*?);/)[1],g=atob(n[1]);let v=g.length;const k=new Uint8Array(v);for(;v--;)k[v]=g.charCodeAt(v);return new Blob([k],{type:h})},y=async i=>{var n,h,g;try{const v=await T.uploadFile(i);((n=v==null?void 0:v.data)==null?void 0:n.code)===200&&u("clickSubmitSign",(g=(h=v.data)==null?void 0:h.result)==null?void 0:g.url)}catch(v){C.ElMessage.error(v)}},d=e.ref(""),w=i=>{d.value=i,o.value.dialogShow=!1;const n=new FormData,h=m(i);n.append("file",h,"image.png"),y(n)},S=i=>{const n=new FormData;n.append("file",i==null?void 0:i.file),y(n)};return e.watch(()=>t==null?void 0:t.itemData,i=>{var h,g,v,k;d.value="",(h=o.value)!=null&&h.dialogShow&&(o.value.dialogShow=!1);const n=(g=i==null?void 0:i.find(c=>(c==null?void 0:c.key)==="signConfig"))==null?void 0:g.contents;n&&Object.keys(n).forEach(c=>{(n[c]===void 0||n[c]===null||n[c]==="")&&delete n[c]}),o.value=(v=i==null?void 0:i.find(c=>(c==null?void 0:c.key)==="signConfig"))==null?void 0:v.contents,l.value=(k=i==null?void 0:i.find(c=>(c==null?void 0:c.key)==="signTypeList"))==null?void 0:k.contents},{immediate:!0}),(i,n)=>{const h=e.resolveComponent("el-empty"),g=e.resolveComponent("el-image"),v=e.resolveComponent("el-button"),k=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(T.Signature,{signPadInfo:o.value,onBeforeDestroy:f,onClickSubmitSign:w},{signatureRender:e.withCtx(()=>{var c,B;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(c=o.value)==null?void 0:c.signPadWidth}%`})},[e.createVNode(g,{src:d.value?d.value:b.value+"/"+((B=r.userInfo)==null?void 0:B.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(h,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(U.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,c=>{var B;return e.openBlock(),e.createElementBlock("div",{key:c.label,class:"signature-button"},[(B=c.label)!=null&&B.includes("上传")?(e.openBlock(),e.createBlock(k,{key:0,ref_for:!0,ref:"uploadRef","http-request":S,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(v,{disabled:c.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.label),1)]),icon:e.withCtx(()=>[e.createVNode(U.SvgIcon,{name:c.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(v,{key:1,id:"themeButton",disabled:c.disabled,onClick:he=>a(c)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.label),1)]),icon:e.withCtx(()=>[e.createVNode(U.SvgIcon,{name:c.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),me=R._export_sfc(be,[["__scopeId","data-v-ce5a2314"]]);exports.State=pe;exports.ssAvatar=ye;exports.ssSignature=me;exports.tabKey=L;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as I, reactive as N, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as T, nextTick as z, Fragment as H, withDirectives as q, renderSlot as $, vShow as M } from "vue";
|
|
2
|
-
import { ae as V } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
2
|
+
import { ae as V } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-PnEFT3X7.js";
|
|
3
3
|
import { ac as X, az as J, H as D, K as c, N as R, a3 as g } from "./request-XJsZ4h2T.js";
|
|
4
4
|
import { ad as K } from "./index-BK-oz1IK.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|