ss-component-new 1.1.655 → 1.1.657
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/{OrbitControls-D9nKHzWI.cjs → OrbitControls-BEKKxuGm.cjs} +1 -1
- package/dist/{OrbitControls-DwXvs1D0.js → OrbitControls-BOEvop3S.js} +1 -1
- package/dist/icons/svg/App.svg +1 -1
- package/dist/icons/svg/default.svg +1 -0
- package/dist/{index-BGpFUEIS.js → index-18I80P2C.js} +946 -943
- package/dist/{index-Bn5W2VSB.cjs → index-5Tz1CEi4.cjs} +1 -1
- package/dist/{index-emRCM9IK.cjs → index-B9EAWpHA.cjs} +1 -1
- package/dist/{index-RjnJBBx6.js → index-BEOtbIkr.js} +2 -2
- package/dist/index-BJ-_BFDQ.js +937 -0
- package/dist/{index-CTgARncA.cjs → index-BUUyeg1A.cjs} +1 -1
- package/dist/index-Bql9uSd9.cjs +1 -0
- package/dist/{index-Co6swGtf.js → index-BtaCqM9k.js} +6 -6
- package/dist/{index-CGQy7TNo.cjs → index-BwgTgC3g.cjs} +23 -23
- package/dist/{index-Dd1dwoeb.cjs → index-ByGdCG1z.cjs} +1 -1
- package/dist/{index-BqXlY78Z.js → index-C-2-K8d_.js} +4 -4
- package/dist/{index-CRvj8aLR.js → index-C-gEdNr0.js} +8 -8
- package/dist/{index-CCjr219w.cjs → index-C5DS2GFh.cjs} +1 -1
- package/dist/{index-BsvVSF4o.js → index-C7UOeJXE.js} +2 -2
- package/dist/{index-CobgiEdI.js → index-CEgLrX1K.js} +1 -1
- package/dist/{index-BhgtdEx-.js → index-CXLF6NN2.js} +1 -1
- package/dist/{index-CPB-ibvL.js → index-CZYP6IBQ.js} +6 -6
- package/dist/{index-BgaEKsCm.cjs → index-CbOwdFfA.cjs} +1 -1
- package/dist/{index-DCsNmvBU.cjs → index-Ch8p7MB6.cjs} +12 -12
- package/dist/index-Cpq5CxLg.cjs +1 -0
- package/dist/{index-BS3o451k.js → index-CzFQu8Xs.js} +4 -4
- package/dist/{index-2XK4FGHS.js → index-D6bQX-A7.js} +980 -977
- package/dist/{index-CxkOqyPv.cjs → index-DBP4GP7-.cjs} +1 -1
- package/dist/{index-C6b4hcJI.cjs → index-DMXqCWi6.cjs} +1 -1
- package/dist/{index-C-KBNjgZ.js → index-DP61HK9f.js} +2108 -2102
- package/dist/{index-C2WIVd64.js → index-DXwPc9BY.js} +3 -3
- package/dist/{index-DJDKJtgu.js → index-Dkaxtb_Q.js} +1 -1
- package/dist/{index-Cc40D3dB.cjs → index-DrngtiGy.cjs} +1 -1
- package/dist/{index-ugxO6ZpQ.cjs → index-DwXqMKtB.cjs} +1 -1
- package/dist/index-QtUcw2wp.cjs +1 -0
- package/dist/{index-Cr73vrta.cjs → index-ZNJ6gJe4.cjs} +1 -1
- package/dist/{index-DQ3MUufv.cjs → index-bpyajBX1.cjs} +1 -1
- package/dist/index-sGnDwWMZ.js +506 -0
- package/dist/{index-BvZOUOT4.js → index-xpn_cZWG.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_264dc673_lang-cZvH5EKb.js → index.vue_vue_type_style_index_0_scoped_264dc673_lang-B5Qp2wHm.js} +266 -266
- package/dist/{index.vue_vue_type_style_index_0_scoped_264dc673_lang-BjOBwJ4U.cjs → index.vue_vue_type_style_index_0_scoped_264dc673_lang-BcoocGYl.cjs} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-DSsVbBCh.js → index.vue_vue_type_style_index_0_scoped_f6ebd097_lang-CwddZPfc.js} +85 -65
- package/dist/index.vue_vue_type_style_index_0_scoped_f6ebd097_lang-w8npdWDC.cjs +1 -0
- package/dist/{main-C94pWU5b.js → main-Bb1_RKkL.js} +2 -2
- package/dist/{main-DO-9rBq_.cjs → main-rS8VYP_S.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +5 -5
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-CVaPp35l.cjs → threeModel-CkiW511u.cjs} +1 -1
- package/dist/{threeModel-Tkojgty1.js → threeModel-DiIrep6b.js} +68 -68
- package/package.json +1 -1
- package/public/icons/svg/App.svg +1 -1
- package/public/icons/svg/default.svg +1 -0
- package/dist/index-BZnOhYs3.cjs +0 -1
- package/dist/index-BpPyRes1.cjs +0 -1
- package/dist/index-BypkILb5.cjs +0 -1
- package/dist/index-Cmfum9Rm.js +0 -1363
- package/dist/index-DWfglGK2.js +0 -533
- package/dist/index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-DG35z52M.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { V as xe, B as al, S as S1, C as L1, P as T1, W as V1,
|
|
2
|
-
import { ref as Q, watch as
|
|
1
|
+
import { V as xe, B as al, S as S1, C as L1, P as T1, W as V1, a as P1, A as O1, b as R1, M as s1, X as H1, G as U1, c as cl, d as j1, e as r2, f as N1, D as wl, H as K1, g as i1, h as y2, i as x2, j as Al, E as kl, L as J1, U as y1, k as E2, l as ul, m as dl, O as pl, n as W1, o as G1, p as X1, q as n1, r as q1, F as Y1, s as Z1, t as Q1, v as ea, w as la, x as aa, y as sa, z as g1, I as Z2, J as ia, K as na, T as oa, N as ta, Q as ra, R as ca, Y as b1 } from "./index-DP61HK9f.js";
|
|
2
|
+
import { ref as Q, watch as Ue, createElementBlock as be, openBlock as he, createBlock as Ie, computed as b2, onMounted as w1, onUnmounted as ua, Fragment as Se, renderList as Re, createElementVNode as B, createCommentVNode as Je, toDisplayString as Ce, resolveComponent as Ee, createVNode as ie, defineComponent as C2, normalizeStyle as Dl, normalizeClass as o1, nextTick as t1, onBeforeUnmount as da, withDirectives as A2, unref as Oe, withCtx as we, isRef as il, vModelRadio as nl, vShow as ol, createTextVNode as Be, reactive as Il, resolveDynamicComponent as sl, renderSlot as hl, createSlots as pa, mergeProps as ha, withModifiers as Q2 } from "vue";
|
|
3
3
|
import { bB as A1, b as F2, s as l2, p as qe, c as i, E as Xe, g as _2, e as fa, u as k1, bx as _1, by as r1, bw as c1 } from "./menu-Bj0eSg6d.js";
|
|
4
|
-
import { d as va, e as e2, f as ma, s as a2, h as C1, a as u1, i as ya, j as ga, b as ba } from "./index-
|
|
4
|
+
import { d as va, e as e2, f as ma, s as a2, h as C1, a as u1, i as ya, j as ga, b as ba } from "./index-D6bQX-A7.js";
|
|
5
5
|
import { F as d1, z as wa, I as d2, A as Aa, B as We, C as S2, D as u2, E as D2, G as _l, g as k2, H as ka, J as _a, K as Ca, L as za, M as Ma, N as p1, O as xa, P as Da, Q as Fa } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CB9HaWen.js";
|
|
6
|
-
import { O as Ba } from "./OrbitControls-
|
|
6
|
+
import { O as Ba } from "./OrbitControls-BOEvop3S.js";
|
|
7
7
|
import { u as vl } from "./modelComp-CUCWitDo.js";
|
|
8
8
|
import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
import { u as El } from "./login-Ct7wC1jE.js";
|
|
10
10
|
import { E as g2 } from "./index-CL7Kg1Kn.js";
|
|
11
|
-
import { s as $a, a as Ia } from "./index-
|
|
11
|
+
import { s as $a, a as Ia } from "./index-CEgLrX1K.js";
|
|
12
12
|
import Ea from "./index-CZtXRS3l.js";
|
|
13
13
|
const Sa = A1("formComp", {
|
|
14
14
|
state: () => ({
|
|
@@ -25,10 +25,10 @@ const Sa = A1("formComp", {
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
function La(r) {
|
|
28
|
-
let d = null, a = null, l = null, t = null, E = null,
|
|
29
|
-
const
|
|
28
|
+
let d = null, a = null, l = null, t = null, E = null, O = null, f = null, U = null;
|
|
29
|
+
const D = 1e3 / 30;
|
|
30
30
|
let ee = 0;
|
|
31
|
-
const V = Q([]),
|
|
31
|
+
const V = Q([]), F = Q(new xe()), R = Q(new xe()), q = () => {
|
|
32
32
|
if (!r.value) return;
|
|
33
33
|
d = new S1(), d.background = new L1(15790320);
|
|
34
34
|
const K = r.value;
|
|
@@ -74,12 +74,12 @@ function La(r) {
|
|
|
74
74
|
f && (d.remove(f), f.dispose()), U && (d.remove(U), U.geometry.dispose(), U.material.dispose());
|
|
75
75
|
const s = Math.min(Math.max(Math.floor(K / 20), 30), 40);
|
|
76
76
|
f = new U1(K, s, 13421772, 14540253), f.rotateX(Math.PI / 2), f.position.copy(M), d.add(f);
|
|
77
|
-
const
|
|
77
|
+
const P = new cl(K, K), Y = new j1({
|
|
78
78
|
opacity: 0.3,
|
|
79
79
|
// 阴影透明度
|
|
80
80
|
color: 0
|
|
81
81
|
});
|
|
82
|
-
U = new r2(
|
|
82
|
+
U = new r2(P, Y), U.position.copy(M), U.position.z -= 0.01, U.receiveShadow = !0, d.add(U);
|
|
83
83
|
}, v = () => {
|
|
84
84
|
if (V.value.length === 0)
|
|
85
85
|
return;
|
|
@@ -97,9 +97,9 @@ function La(r) {
|
|
|
97
97
|
console.warn("无法计算包围盒,网格更新失败");
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
const s = K.getSize(new xe()),
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
const s = K.getSize(new xe()), P = K.getCenter(new xe()), Y = Math.max(s.x, s.y, s.z), k = Math.max(Y * 8, 50), se = new xe(
|
|
101
|
+
P.x,
|
|
102
|
+
P.y,
|
|
103
103
|
K.min.z
|
|
104
104
|
// 模型的最底部
|
|
105
105
|
);
|
|
@@ -111,18 +111,18 @@ function La(r) {
|
|
|
111
111
|
M.position.set(10, 10, 8), M.castShadow = !0, M.shadow.mapSize.width = 4096, M.shadow.mapSize.height = 4096, M.shadow.camera.near = 0.5, M.shadow.camera.far = 50, M.shadow.camera.left = -50, M.shadow.camera.right = 50, M.shadow.camera.top = 50, M.shadow.camera.bottom = -50, d.add(M);
|
|
112
112
|
const s = new wl(16777215, 0.8);
|
|
113
113
|
s.position.set(-8, -8, 6), d.add(s);
|
|
114
|
-
const
|
|
115
|
-
|
|
116
|
-
const
|
|
117
|
-
d.add(
|
|
114
|
+
const P = new wl(16777215, 0.6);
|
|
115
|
+
P.position.set(0, -15, 2), d.add(P);
|
|
116
|
+
const Y = new K1(16777215, 4473924, 0.8);
|
|
117
|
+
d.add(Y);
|
|
118
118
|
const k = new i1(16777215, 1, 50);
|
|
119
119
|
k.position.set(15, 15, 15), d.add(k);
|
|
120
120
|
const se = new i1(16777215, 0.5, 50);
|
|
121
121
|
se.position.set(-15, -15, 15), d.add(se);
|
|
122
122
|
}, c = () => {
|
|
123
|
-
|
|
123
|
+
O = requestAnimationFrame(c), t && t.update();
|
|
124
124
|
const K = performance.now(), M = K - ee;
|
|
125
|
-
M <
|
|
125
|
+
M < D || (ee = K - M % D, l && d && a && l.render(d, a), E && E.render());
|
|
126
126
|
}, m = (K) => {
|
|
127
127
|
[
|
|
128
128
|
"map",
|
|
@@ -149,8 +149,8 @@ function La(r) {
|
|
|
149
149
|
return {
|
|
150
150
|
// 响应式数据
|
|
151
151
|
currentModels: V,
|
|
152
|
-
initialCameraPosition:
|
|
153
|
-
initialTargetPosition:
|
|
152
|
+
initialCameraPosition: F,
|
|
153
|
+
initialTargetPosition: R,
|
|
154
154
|
// 方法
|
|
155
155
|
initThreeJS: q,
|
|
156
156
|
handleResize: () => {
|
|
@@ -174,8 +174,8 @@ function La(r) {
|
|
|
174
174
|
console.warn("无法计算包围盒");
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
|
-
const
|
|
178
|
-
a.position.copy(pe), a.lookAt(
|
|
177
|
+
const P = M.getSize(new xe()), Y = M.getCenter(new xe()), se = Math.max(P.x, P.y, P.z) * 0.8, pe = new xe(Y.x + se, Y.y - se, Y.z + se);
|
|
178
|
+
a.position.copy(pe), a.lookAt(Y), t.target.copy(Y), t.update(), F.value.copy(pe), R.value.copy(Y), v();
|
|
179
179
|
},
|
|
180
180
|
getThreeJSObjects: () => ({
|
|
181
181
|
scene: d,
|
|
@@ -197,27 +197,27 @@ function La(r) {
|
|
|
197
197
|
}), V.value = [], v();
|
|
198
198
|
},
|
|
199
199
|
cleanup: () => {
|
|
200
|
-
|
|
200
|
+
O && cancelAnimationFrame(O), f && f.dispose(), U && (U.geometry.dispose(), U.material.dispose()), l && l.dispose(), t && t.dispose(), E && E.dispose();
|
|
201
201
|
},
|
|
202
202
|
updateGridForModels: v
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
function Ta(r, d) {
|
|
206
206
|
const a = Q(!1);
|
|
207
|
-
let l = null, t = 12700, E = new xe(),
|
|
208
|
-
const
|
|
207
|
+
let l = null, t = 12700, E = new xe(), O = new xe(), f = new xe(), U = 0, G = null;
|
|
208
|
+
const D = (n) => n < 0.5 ? 4 * n * n * n : 1 - Math.pow(-2 * n + 2, 3) / 2, ee = (n) => {
|
|
209
209
|
const v = new xe(), j = U * 1.2, c = new xe(f.x + j, f.y, f.z), m = new xe(f.x, f.y + j, f.z), w = new xe(f.x, f.y - j, f.z);
|
|
210
210
|
if (n <= 0.567) {
|
|
211
211
|
const ce = n / 0.567 * Math.PI * 2;
|
|
212
212
|
v.x = f.x + Math.cos(ce) * j, v.z = f.z + Math.sin(ce) * j, v.y = f.y;
|
|
213
213
|
} else if (n <= 0.724) {
|
|
214
|
-
const z = (n - 0.567) / 0.157, ce =
|
|
214
|
+
const z = (n - 0.567) / 0.157, ce = D(z);
|
|
215
215
|
v.lerpVectors(c, m, ce);
|
|
216
216
|
} else if (n <= 0.881) {
|
|
217
|
-
const z = (n - 0.724) / 0.157, fe =
|
|
217
|
+
const z = (n - 0.724) / 0.157, fe = D(z) * Math.PI;
|
|
218
218
|
v.x = f.x + Math.sin(fe) * j, v.y = f.y + Math.cos(fe) * j, v.z = f.z;
|
|
219
219
|
} else {
|
|
220
|
-
const z = (n - 0.881) / 0.119, ce =
|
|
220
|
+
const z = (n - 0.881) / 0.119, ce = D(z);
|
|
221
221
|
v.lerpVectors(w, E, ce);
|
|
222
222
|
}
|
|
223
223
|
return v;
|
|
@@ -227,33 +227,33 @@ function Ta(r, d) {
|
|
|
227
227
|
l || (l = Date.now());
|
|
228
228
|
const j = Date.now() - l, c = Math.min(j / t, 1);
|
|
229
229
|
if (c >= 1) {
|
|
230
|
-
|
|
230
|
+
R();
|
|
231
231
|
return;
|
|
232
232
|
}
|
|
233
233
|
const m = ee(c);
|
|
234
234
|
n.position.copy(m), n.lookAt(f), v.target.copy(f), G = requestAnimationFrame(V);
|
|
235
|
-
},
|
|
235
|
+
}, F = () => {
|
|
236
236
|
if (d.value.length === 0) return;
|
|
237
237
|
const { camera: n, controls: v } = r();
|
|
238
238
|
if (!n || !v) return;
|
|
239
|
-
E.copy(n.position),
|
|
239
|
+
E.copy(n.position), O.copy(v.target);
|
|
240
240
|
const j = new al();
|
|
241
|
-
d.value.forEach((
|
|
242
|
-
j.expandByObject(
|
|
241
|
+
d.value.forEach((H) => {
|
|
242
|
+
j.expandByObject(H);
|
|
243
243
|
});
|
|
244
244
|
const c = j.getSize(new xe());
|
|
245
245
|
f = j.getCenter(new xe()), U = Math.max(c.x, c.y, c.z) * 1.2;
|
|
246
246
|
const m = new xe(f.x + U * 1.2, f.y, f.z);
|
|
247
247
|
v.enabled = !1;
|
|
248
248
|
const w = n.position.clone(), z = 1e3, ce = Date.now(), fe = () => {
|
|
249
|
-
const
|
|
249
|
+
const H = Date.now() - ce, X = Math.min(H / z, 1), K = D(X);
|
|
250
250
|
n.position.lerpVectors(w, m, K), n.lookAt(f), v.target.copy(f), X < 1 ? requestAnimationFrame(fe) : (a.value = !0, l = null, V());
|
|
251
251
|
};
|
|
252
252
|
fe();
|
|
253
|
-
},
|
|
253
|
+
}, R = () => {
|
|
254
254
|
a.value = !1, l = null, G && (cancelAnimationFrame(G), G = null);
|
|
255
255
|
const { controls: n } = r();
|
|
256
|
-
n && (n.enabled = !0, n.target.copy(
|
|
256
|
+
n && (n.enabled = !0, n.target.copy(O));
|
|
257
257
|
};
|
|
258
258
|
return {
|
|
259
259
|
isAnimating: a,
|
|
@@ -264,20 +264,20 @@ function Ta(r, d) {
|
|
|
264
264
|
if (!n || !v) return;
|
|
265
265
|
v.enabled = !0;
|
|
266
266
|
const j = n.position.clone(), c = v.target.clone(), m = 1500, w = Date.now(), z = () => {
|
|
267
|
-
const ce = Date.now() - w, fe = Math.min(ce / m, 1),
|
|
268
|
-
n.position.lerpVectors(j, E,
|
|
267
|
+
const ce = Date.now() - w, fe = Math.min(ce / m, 1), H = D(fe);
|
|
268
|
+
n.position.lerpVectors(j, E, H), v.target.lerpVectors(c, O, H), fe < 1 && requestAnimationFrame(z);
|
|
269
269
|
};
|
|
270
270
|
z();
|
|
271
271
|
} else
|
|
272
|
-
|
|
272
|
+
F();
|
|
273
273
|
},
|
|
274
|
-
startAnimation:
|
|
275
|
-
stopAnimation:
|
|
274
|
+
startAnimation: F,
|
|
275
|
+
stopAnimation: R
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
278
|
function Va(r, d) {
|
|
279
279
|
const a = Q(!1), l = Q("none");
|
|
280
|
-
let t = [], E = [],
|
|
280
|
+
let t = [], E = [], O = new al(), f = new xe();
|
|
281
281
|
const U = () => {
|
|
282
282
|
t = [
|
|
283
283
|
new Al(new xe(1, 0, 0), 0),
|
|
@@ -288,11 +288,11 @@ function Va(r, d) {
|
|
|
288
288
|
// Z轴平面
|
|
289
289
|
];
|
|
290
290
|
}, G = () => {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
}), f =
|
|
294
|
-
},
|
|
295
|
-
const n =
|
|
291
|
+
O.makeEmpty(), d.value.forEach((q) => {
|
|
292
|
+
O.expandByObject(q);
|
|
293
|
+
}), f = O.getCenter(new xe());
|
|
294
|
+
}, D = (q) => {
|
|
295
|
+
const n = O.getSize(new xe());
|
|
296
296
|
let v, j, c;
|
|
297
297
|
q === "x" ? (v = new cl(n.z * 1.2, n.y * 1.2), j = new xe(f.x, f.y, f.z), c = new kl(0, Math.PI / 2, 0)) : q === "y" ? (v = new cl(n.x * 1.2, n.z * 1.2), j = new xe(f.x, f.y, f.z), c = new kl(Math.PI / 2, 0, 0)) : q === "z" && (v = new cl(n.x * 1.2, n.y * 1.2), j = new xe(f.x, f.y, f.z), c = new kl(0, 0, 0));
|
|
298
298
|
const m = new y2({
|
|
@@ -304,7 +304,7 @@ function Va(r, d) {
|
|
|
304
304
|
}), w = new r2(v, m);
|
|
305
305
|
return w.position.copy(j), w.rotation.copy(c), w;
|
|
306
306
|
}, ee = () => {
|
|
307
|
-
if (V(),
|
|
307
|
+
if (V(), F(), l.value === "none")
|
|
308
308
|
return;
|
|
309
309
|
G();
|
|
310
310
|
let q = null;
|
|
@@ -318,7 +318,7 @@ function Va(r, d) {
|
|
|
318
318
|
});
|
|
319
319
|
const { scene: n } = r();
|
|
320
320
|
if (n) {
|
|
321
|
-
const v =
|
|
321
|
+
const v = D(l.value);
|
|
322
322
|
n.add(v), E.push(v);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
@@ -330,7 +330,7 @@ function Va(r, d) {
|
|
|
330
330
|
}) : n.material.clippingPlanes = []);
|
|
331
331
|
});
|
|
332
332
|
});
|
|
333
|
-
},
|
|
333
|
+
}, F = () => {
|
|
334
334
|
const { scene: q } = r();
|
|
335
335
|
q && E.forEach((n) => {
|
|
336
336
|
q.remove(n), n.geometry.dispose(), n.material.dispose();
|
|
@@ -340,45 +340,45 @@ function Va(r, d) {
|
|
|
340
340
|
isClipping: a,
|
|
341
341
|
activeClippingAxis: l,
|
|
342
342
|
toggleClipping: () => {
|
|
343
|
-
a.value = !a.value, a.value ? (U(), d.value.length > 0 && G()) : (l.value = "none", V(),
|
|
343
|
+
a.value = !a.value, a.value ? (U(), d.value.length > 0 && G()) : (l.value = "none", V(), F());
|
|
344
344
|
},
|
|
345
345
|
updateClippingPlanes: ee,
|
|
346
346
|
clearClippingPlanes: V,
|
|
347
|
-
clearClippingMeshes:
|
|
347
|
+
clearClippingMeshes: F
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
350
|
const Cl = "http://139.196.154.85:20026/chfs/shared/Insofrobot/";
|
|
351
351
|
function Pa(r, d, a, l) {
|
|
352
352
|
return { loadUrdfFromUrl: async (E) => {
|
|
353
353
|
a.value = !0, l.value = "正在初始化 URDF 加载器...";
|
|
354
|
-
const { scene:
|
|
355
|
-
if (!
|
|
354
|
+
const { scene: O } = r();
|
|
355
|
+
if (!O)
|
|
356
356
|
return console.error("场景尚未初始化,无法加载 URDF 模型。"), a.value = !1, null;
|
|
357
357
|
const f = new J1();
|
|
358
|
-
f.onProgress = (G,
|
|
359
|
-
l.value = `正在加载资源: ${
|
|
358
|
+
f.onProgress = (G, D, ee) => {
|
|
359
|
+
l.value = `正在加载资源: ${D} / ${ee}`;
|
|
360
360
|
};
|
|
361
361
|
const U = new y1(f);
|
|
362
|
-
U.packages = (G) => `${Cl.endsWith("/") ? Cl : Cl + "/"}${G}/`, U.loadMeshCb = (G,
|
|
362
|
+
U.packages = (G) => `${Cl.endsWith("/") ? Cl : Cl + "/"}${G}/`, U.loadMeshCb = (G, D, ee) => {
|
|
363
363
|
l.value = `正在加载网格: ${G}`;
|
|
364
364
|
const V = (() => {
|
|
365
|
-
const
|
|
366
|
-
return
|
|
365
|
+
const F = G.split("?")[0].split("#")[0], R = F.lastIndexOf(".");
|
|
366
|
+
return R >= 0 ? F.slice(R + 1).toLowerCase() : void 0;
|
|
367
367
|
})();
|
|
368
368
|
switch (V) {
|
|
369
369
|
case "obj": {
|
|
370
|
-
const
|
|
370
|
+
const F = (() => {
|
|
371
371
|
try {
|
|
372
372
|
return new URL(".", G).toString();
|
|
373
373
|
} catch {
|
|
374
374
|
const j = G.lastIndexOf("/");
|
|
375
375
|
return j >= 0 ? G.slice(0, j + 1) : G;
|
|
376
376
|
}
|
|
377
|
-
})(),
|
|
377
|
+
})(), R = (() => {
|
|
378
378
|
var c;
|
|
379
379
|
return (((c = G.split("/").pop()) == null ? void 0 : c.split("?")[0].split("#")[0]) ?? "").replace(/\.[^/.?#]+$/, "");
|
|
380
|
-
})(), q = `${
|
|
381
|
-
const c = new pl(
|
|
380
|
+
})(), q = `${F}${R}.mtl`, n = (j) => {
|
|
381
|
+
const c = new pl(D);
|
|
382
382
|
j && c.setMaterials(j), c.load(
|
|
383
383
|
G,
|
|
384
384
|
(m) => ee(m),
|
|
@@ -387,8 +387,8 @@ function Pa(r, d, a, l) {
|
|
|
387
387
|
console.error(`加载 OBJ 失败: ${G}`, m), ee(new E2());
|
|
388
388
|
}
|
|
389
389
|
);
|
|
390
|
-
}, v = new dl(
|
|
391
|
-
v.setResourcePath(
|
|
390
|
+
}, v = new dl(D);
|
|
391
|
+
v.setResourcePath(F), v.load(
|
|
392
392
|
q,
|
|
393
393
|
(j) => {
|
|
394
394
|
try {
|
|
@@ -406,15 +406,15 @@ function Pa(r, d, a, l) {
|
|
|
406
406
|
break;
|
|
407
407
|
}
|
|
408
408
|
case "stl": {
|
|
409
|
-
new ul(
|
|
409
|
+
new ul(D).load(
|
|
410
410
|
G,
|
|
411
|
-
(
|
|
412
|
-
const q = new y2({ color: 12303291, shininess: 30 }), n = new r2(
|
|
411
|
+
(R) => {
|
|
412
|
+
const q = new y2({ color: 12303291, shininess: 30 }), n = new r2(R, q);
|
|
413
413
|
n.castShadow = !0, n.receiveShadow = !0, ee(n);
|
|
414
414
|
},
|
|
415
415
|
void 0,
|
|
416
|
-
(
|
|
417
|
-
console.error(`加载 STL 失败: ${G}`,
|
|
416
|
+
(R) => {
|
|
417
|
+
console.error(`加载 STL 失败: ${G}`, R), ee(new E2());
|
|
418
418
|
}
|
|
419
419
|
);
|
|
420
420
|
break;
|
|
@@ -426,13 +426,13 @@ function Pa(r, d, a, l) {
|
|
|
426
426
|
try {
|
|
427
427
|
const G = E.split("/").pop();
|
|
428
428
|
l.value = `正在下载 URDF 文件: ${G}`;
|
|
429
|
-
const
|
|
430
|
-
return
|
|
429
|
+
const D = await U.loadAsync(E);
|
|
430
|
+
return D.traverse((ee) => {
|
|
431
431
|
if (ee.isMesh) {
|
|
432
432
|
const V = ee;
|
|
433
433
|
V.castShadow = !0, V.receiveShadow = !0;
|
|
434
434
|
}
|
|
435
|
-
}),
|
|
435
|
+
}), O.add(D), d.value.push(D), console.log("URDF 模型加载并添加到场景成功!", D), D;
|
|
436
436
|
} catch (G) {
|
|
437
437
|
return console.error(`加载 URDF 模型 (${E}) 时发生错误:`, G), l.value = "模型加载失败", null;
|
|
438
438
|
} finally {
|
|
@@ -444,57 +444,57 @@ const Oa = vl(qe), { systemPath: h1 } = l2(Oa), tl = Q(), f1 = /* @__PURE__ */ n
|
|
|
444
444
|
function Ra(r, d, a, l, t) {
|
|
445
445
|
const E = async (V) => {
|
|
446
446
|
try {
|
|
447
|
-
const
|
|
448
|
-
if (
|
|
449
|
-
throw new Error(`下载失败: ${
|
|
450
|
-
return
|
|
451
|
-
} catch (
|
|
452
|
-
throw console.error("addModelFromUrl失败:",
|
|
447
|
+
const F = await va({ url: V });
|
|
448
|
+
if (F.status !== 200)
|
|
449
|
+
throw new Error(`下载失败: ${F.status}`);
|
|
450
|
+
return F.data;
|
|
451
|
+
} catch (F) {
|
|
452
|
+
throw console.error("addModelFromUrl失败:", F), F;
|
|
453
453
|
}
|
|
454
|
-
},
|
|
454
|
+
}, O = (V) => new Promise((F, R) => {
|
|
455
455
|
const q = new FileReader();
|
|
456
456
|
q.onload = (n) => {
|
|
457
457
|
try {
|
|
458
458
|
const v = n.target.result, c = new dl().parse(v);
|
|
459
|
-
c.preload(),
|
|
459
|
+
c.preload(), F(c);
|
|
460
460
|
} catch (v) {
|
|
461
|
-
|
|
461
|
+
R(v);
|
|
462
462
|
}
|
|
463
463
|
}, q.onerror = () => {
|
|
464
|
-
|
|
464
|
+
R(new Error("MTL文件读取失败"));
|
|
465
465
|
}, q.readAsText(V);
|
|
466
466
|
}), f = async (V) => {
|
|
467
|
-
const
|
|
467
|
+
const F = {
|
|
468
468
|
materials: {},
|
|
469
|
-
create: function(
|
|
470
|
-
return this.materials[
|
|
469
|
+
create: function(R) {
|
|
470
|
+
return this.materials[R] ? this.materials[R] : (console.warn(`Material '${R}' not found, using default material`), new y2({
|
|
471
471
|
color: 8947848,
|
|
472
472
|
side: x2
|
|
473
473
|
}));
|
|
474
474
|
},
|
|
475
475
|
getAsArray: function() {
|
|
476
|
-
const
|
|
476
|
+
const R = [];
|
|
477
477
|
for (const q in this.materials)
|
|
478
|
-
|
|
479
|
-
return
|
|
478
|
+
R.push(this.materials[q]);
|
|
479
|
+
return R;
|
|
480
480
|
},
|
|
481
481
|
preload: function() {
|
|
482
|
-
for (const
|
|
483
|
-
this.materials[
|
|
482
|
+
for (const R in this.materials)
|
|
483
|
+
this.materials[R].map && (this.materials[R].map.needsUpdate = !0);
|
|
484
484
|
}
|
|
485
485
|
};
|
|
486
|
-
for (const
|
|
487
|
-
const q = await
|
|
488
|
-
Object.assign(
|
|
486
|
+
for (const R of V) {
|
|
487
|
+
const q = await O(R);
|
|
488
|
+
Object.assign(F.materials, q.materials);
|
|
489
489
|
}
|
|
490
|
-
return
|
|
491
|
-
}, U = async (V,
|
|
490
|
+
return F.preload(), F;
|
|
491
|
+
}, U = async (V, F = []) => new Promise((R, q) => {
|
|
492
492
|
const n = new FileReader();
|
|
493
493
|
n.onload = async (v) => {
|
|
494
494
|
try {
|
|
495
495
|
const j = v.target.result;
|
|
496
496
|
let c = null;
|
|
497
|
-
|
|
497
|
+
F && F.length > 0 && (F.length === 1 ? c = await O(F[0]) : c = await f(F));
|
|
498
498
|
const m = new pl();
|
|
499
499
|
c && m.setMaterials(c);
|
|
500
500
|
const w = m.parse(j);
|
|
@@ -503,7 +503,7 @@ function Ra(r, d, a, l, t) {
|
|
|
503
503
|
color: 8947848,
|
|
504
504
|
side: x2
|
|
505
505
|
}));
|
|
506
|
-
}),
|
|
506
|
+
}), R(w);
|
|
507
507
|
} catch (j) {
|
|
508
508
|
q(j);
|
|
509
509
|
}
|
|
@@ -511,41 +511,41 @@ function Ra(r, d, a, l, t) {
|
|
|
511
511
|
q(new Error("OBJ文件读取失败"));
|
|
512
512
|
}, n.readAsText(V);
|
|
513
513
|
}), G = async (V) => {
|
|
514
|
-
var
|
|
514
|
+
var F;
|
|
515
515
|
try {
|
|
516
516
|
a.value = !0;
|
|
517
|
-
const { scene:
|
|
518
|
-
if (!
|
|
517
|
+
const { scene: R } = r();
|
|
518
|
+
if (!R)
|
|
519
519
|
throw new Error("Scene not initialized");
|
|
520
520
|
t();
|
|
521
521
|
const q = [];
|
|
522
522
|
for (let n = 0; n < V.length; n++) {
|
|
523
523
|
const v = V[n];
|
|
524
524
|
l.value = `正在加载模型 ${n + 1}/${V.length}...`;
|
|
525
|
-
const j = await E(v.objUrl), c = ((
|
|
525
|
+
const j = await E(v.objUrl), c = ((F = v.objUrl) == null ? void 0 : F.split("/").pop()) || `model_${n}.obj`, m = new File([j], c, { type: j.type });
|
|
526
526
|
let w = [];
|
|
527
527
|
if (v.mtlUrls) {
|
|
528
528
|
const ce = Array.isArray(v.mtlUrls) ? v.mtlUrls : [v.mtlUrls];
|
|
529
529
|
for (let fe = 0; fe < ce.length; fe++) {
|
|
530
|
-
const
|
|
530
|
+
const H = ce[fe], X = await E(H), K = (H == null ? void 0 : H.split("/").pop()) || `material_${n}_${fe}.mtl`, M = new File([X], K, { type: X.type });
|
|
531
531
|
w.push(M);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
const z = await U(m, w);
|
|
535
|
-
|
|
535
|
+
R.add(z), d.value.push(z), q.push(z);
|
|
536
536
|
}
|
|
537
537
|
return a.value = !1, q;
|
|
538
|
-
} catch (
|
|
539
|
-
throw console.error("加载模型失败:",
|
|
538
|
+
} catch (R) {
|
|
539
|
+
throw console.error("加载模型失败:", R), a.value = !1, R;
|
|
540
540
|
}
|
|
541
|
-
},
|
|
541
|
+
}, D = async (V, F, R = [], q = []) => {
|
|
542
542
|
let n;
|
|
543
543
|
const v = V.toLowerCase();
|
|
544
544
|
switch (v) {
|
|
545
545
|
case ".txt":
|
|
546
546
|
case ".cpt":
|
|
547
547
|
case ".obj":
|
|
548
|
-
const j = await
|
|
548
|
+
const j = await F.text();
|
|
549
549
|
if (v === ".txt" || v === ".cpt") {
|
|
550
550
|
const A = /^(?!.*\bf\b)[^\n]*?(-?\d*\.?\d+)[^\n]*?(-?\d*\.?\d+)[^\n]*?(-?\d*\.?\d+)[^\n]*?$/gm, y = [...j.matchAll(A)].map((J) => ({
|
|
551
551
|
x: parseFloat(J[1]),
|
|
@@ -568,21 +568,21 @@ function Ra(r, d, a, l, t) {
|
|
|
568
568
|
}
|
|
569
569
|
} else if (v === ".obj") {
|
|
570
570
|
const A = new pl();
|
|
571
|
-
if (
|
|
571
|
+
if (R && R.length > 0) {
|
|
572
572
|
const ne = new dl();
|
|
573
|
-
for (const y of
|
|
573
|
+
for (const y of R) {
|
|
574
574
|
const x = await y.text(), W = ne.parse(x);
|
|
575
575
|
W.preload(), A.setMaterials(W);
|
|
576
576
|
break;
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
n = A.parse(j), (!
|
|
579
|
+
n = A.parse(j), (!R || R.length === 0) && n.traverse((ne) => {
|
|
580
580
|
ne.isMesh && (ne.material = new y2({ color: "#B3B3D4" })), ne instanceof r2 && (ne.material.side = x2);
|
|
581
581
|
});
|
|
582
582
|
}
|
|
583
583
|
break;
|
|
584
584
|
case ".stl":
|
|
585
|
-
const c = await
|
|
585
|
+
const c = await F.arrayBuffer(), w = new ul().parse(c), z = new y2({
|
|
586
586
|
color: "#B3B3D4",
|
|
587
587
|
side: x2
|
|
588
588
|
});
|
|
@@ -603,7 +603,7 @@ function Ra(r, d, a, l, t) {
|
|
|
603
603
|
"Mach_X_Axis_0.STL": "rgb(125,158,192)",
|
|
604
604
|
"Mach_Z_Axis_0.STL": "rgb(248,228,118)",
|
|
605
605
|
"Mach_Spindle_0.STL": "rgb(145,145,145)"
|
|
606
|
-
},
|
|
606
|
+
}, H = new E2(), X = ce.map((A) => new Promise((ne, y) => {
|
|
607
607
|
new ul().load(
|
|
608
608
|
h1.value === "" ? `/model/${A}` : `${h1.value}\\${A}`,
|
|
609
609
|
(W) => {
|
|
@@ -618,7 +618,7 @@ function Ra(r, d, a, l, t) {
|
|
|
618
618
|
);
|
|
619
619
|
}));
|
|
620
620
|
try {
|
|
621
|
-
(await Promise.all(X)).forEach((ne) =>
|
|
621
|
+
(await Promise.all(X)).forEach((ne) => H.add(ne)), n = H;
|
|
622
622
|
} catch (A) {
|
|
623
623
|
throw console.error("加载NC文件对应的STL文件失败:", A), new Error("无法加载.NC文件对应的STL文件");
|
|
624
624
|
}
|
|
@@ -676,7 +676,7 @@ function Ra(r, d, a, l, t) {
|
|
|
676
676
|
}
|
|
677
677
|
break;
|
|
678
678
|
case ".urdf":
|
|
679
|
-
const s = URL.createObjectURL(
|
|
679
|
+
const s = URL.createObjectURL(F), P = new y1(), Y = "http://139.196.154.85:20026/chfs/shared/机器人/urdf/SmallBender_R-2000iC-165F/meshes", k = {
|
|
680
680
|
maxConcurrentLoads: 4,
|
|
681
681
|
// 最大并发加载数
|
|
682
682
|
enableCache: !0,
|
|
@@ -693,7 +693,7 @@ function Ra(r, d, a, l, t) {
|
|
|
693
693
|
if (se.has(A))
|
|
694
694
|
return console.log(`从缓存加载: ${A}`), se.get(A);
|
|
695
695
|
try {
|
|
696
|
-
const ne = await F2.get(`${
|
|
696
|
+
const ne = await F2.get(`${Y}/${A}`, {
|
|
697
697
|
responseType: "blob",
|
|
698
698
|
headers: {
|
|
699
699
|
"Content-Type": "application/json"
|
|
@@ -760,7 +760,7 @@ function Ra(r, d, a, l, t) {
|
|
|
760
760
|
};
|
|
761
761
|
let I = 0, N = 0;
|
|
762
762
|
const T = [];
|
|
763
|
-
|
|
763
|
+
P.loadMeshCb = async (A, ne, y, x, W) => {
|
|
764
764
|
const J = A.split("/").pop(), u = y || (() => {
|
|
765
765
|
});
|
|
766
766
|
I++;
|
|
@@ -801,7 +801,7 @@ function Ra(r, d, a, l, t) {
|
|
|
801
801
|
tl.value = void 0;
|
|
802
802
|
break;
|
|
803
803
|
}
|
|
804
|
-
if (n = await
|
|
804
|
+
if (n = await P.loadAsync(s), console.log(`URDF文件加载完成,等待${I}个mesh文件加载...`), T.length > 0)
|
|
805
805
|
try {
|
|
806
806
|
await Promise.allSettled(T), console.log(`所有mesh文件处理完成,成功加载: ${N}/${I}`);
|
|
807
807
|
} catch (y) {
|
|
@@ -836,23 +836,23 @@ function Ra(r, d, a, l, t) {
|
|
|
836
836
|
console.log(V);
|
|
837
837
|
try {
|
|
838
838
|
a.value = !0, l.value = "正在加载模型...";
|
|
839
|
-
const { scene:
|
|
840
|
-
if (!
|
|
839
|
+
const { scene: F } = r();
|
|
840
|
+
if (!F)
|
|
841
841
|
throw new Error("Scene not initialized");
|
|
842
842
|
t(), await new Promise((q) => setTimeout(q, 100));
|
|
843
|
-
const
|
|
843
|
+
const R = [];
|
|
844
844
|
for (let q = 0; q < V.length; q++) {
|
|
845
|
-
const n = V[q], v = await
|
|
845
|
+
const n = V[q], v = await D(
|
|
846
846
|
n.suffix,
|
|
847
847
|
n.blob,
|
|
848
848
|
n.mtlBlobs || [],
|
|
849
849
|
n.meshFiles || []
|
|
850
850
|
);
|
|
851
|
-
v && (
|
|
851
|
+
v && (F.add(v), d.value.push(v), R.push(v));
|
|
852
852
|
}
|
|
853
|
-
return a.value = !1, l.value = "",
|
|
854
|
-
} catch (
|
|
855
|
-
throw console.error("加载模型失败:",
|
|
853
|
+
return a.value = !1, l.value = "", R;
|
|
854
|
+
} catch (F) {
|
|
855
|
+
throw console.error("加载模型失败:", F), a.value = !1, l.value = "", F;
|
|
856
856
|
}
|
|
857
857
|
},
|
|
858
858
|
urdfModel: tl,
|
|
@@ -869,7 +869,7 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
869
869
|
const d = r;
|
|
870
870
|
Q();
|
|
871
871
|
const a = Q();
|
|
872
|
-
return
|
|
872
|
+
return Ue(
|
|
873
873
|
() => [d == null ? void 0 : d.animationData],
|
|
874
874
|
() => {
|
|
875
875
|
var t;
|
|
@@ -878,11 +878,11 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
878
878
|
},
|
|
879
879
|
{ deep: !0, immediate: !0 }
|
|
880
880
|
), (l, t) => {
|
|
881
|
-
var E,
|
|
881
|
+
var E, O, f;
|
|
882
882
|
return he(), be("div", Ha, [
|
|
883
883
|
(he(), Ie(g1, {
|
|
884
884
|
itemData: (E = a.value) == null ? void 0 : E.compData,
|
|
885
|
-
key: (
|
|
885
|
+
key: (O = a.value) == null ? void 0 : O.id,
|
|
886
886
|
index: (f = a.value) == null ? void 0 : f.id,
|
|
887
887
|
showHeader: !1
|
|
888
888
|
}, null, 8, ["itemData", "index"]))
|
|
@@ -908,13 +908,13 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
908
908
|
setup(r, { expose: d }) {
|
|
909
909
|
const a = r;
|
|
910
910
|
Q(!0);
|
|
911
|
-
const l = Q([]), t = Q(null), E = Q(null),
|
|
911
|
+
const l = Q([]), t = Q(null), E = Q(null), O = Q(12.5), f = Q(), U = Q(1302), G = Q(30), D = Q(!1), ee = Q(!1), V = Q(0), F = Q(0), R = Q(null), q = ia.degToRad, n = Q(1), v = () => i0 / zl / n.value;
|
|
912
912
|
let j = [];
|
|
913
|
-
|
|
913
|
+
Ue(
|
|
914
914
|
() => a.animationData,
|
|
915
915
|
(g) => {
|
|
916
916
|
var _;
|
|
917
|
-
U.value = g.extra.管长,
|
|
917
|
+
U.value = g.extra.管长, O.value = g.extra.外径 / 2;
|
|
918
918
|
let $ = ((_ = i(g)) == null ? void 0 : _.动画输出) ?? [];
|
|
919
919
|
$ && $.length > 0 && (j = $);
|
|
920
920
|
},
|
|
@@ -997,7 +997,7 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
997
997
|
}
|
|
998
998
|
}
|
|
999
999
|
return $;
|
|
1000
|
-
},
|
|
1000
|
+
}, H = (g, $ = 0) => {
|
|
1001
1001
|
let _ = j.slice(0, g + 1);
|
|
1002
1002
|
const I = j[g + 1];
|
|
1003
1003
|
if (I && $ > 0) {
|
|
@@ -1046,7 +1046,7 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1046
1046
|
W.length > 1 && A.push(...W.slice(1));
|
|
1047
1047
|
A.length < 2 && A.push(new xe(0, 1e-3, 0));
|
|
1048
1048
|
try {
|
|
1049
|
-
const W = new na(A, !1, "catmullrom", 0.01), J = new oa(W, Math.max(2, A.length * 4),
|
|
1049
|
+
const W = new na(A, !1, "catmullrom", 0.01), J = new oa(W, Math.max(2, A.length * 4), O.value * el, 18, !1);
|
|
1050
1050
|
f.value.geometry.dispose(), f.value.geometry = J;
|
|
1051
1051
|
} catch (W) {
|
|
1052
1052
|
console.error("管件更新失败", W);
|
|
@@ -1055,7 +1055,7 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1055
1055
|
g && (Object.keys(g).forEach((I) => {
|
|
1056
1056
|
const N = g[I], T = l.value.find((A) => A.name === I);
|
|
1057
1057
|
T && (T.currentValue = N, a.model && a.model.setJointValue ? a.model.setJointValue(I, N) : T.urdfJoint && T.urdfJoint.setJointValue(N));
|
|
1058
|
-
}),
|
|
1058
|
+
}), H($, _));
|
|
1059
1059
|
}, K = (g, $, _) => g + ($ - g) * _, M = (g, $, _) => {
|
|
1060
1060
|
if (!g || !$) return g || $;
|
|
1061
1061
|
const I = {};
|
|
@@ -1068,35 +1068,35 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1068
1068
|
console.warn("没有动画数据");
|
|
1069
1069
|
return;
|
|
1070
1070
|
}
|
|
1071
|
-
m(),
|
|
1072
|
-
},
|
|
1073
|
-
if (!
|
|
1071
|
+
m(), D.value = !0, ee.value = !1, V.value = 0, F.value = 0, P();
|
|
1072
|
+
}, P = () => {
|
|
1073
|
+
if (!D.value || ee.value) return;
|
|
1074
1074
|
const g = V.value;
|
|
1075
1075
|
if (g >= j.length - 1) {
|
|
1076
1076
|
const N = j[j.length - 1];
|
|
1077
1077
|
X(N, j.length - 1, 1), k();
|
|
1078
1078
|
return;
|
|
1079
1079
|
}
|
|
1080
|
-
const $ =
|
|
1080
|
+
const $ = F.value / zl, _ = j[g], I = j[g + 1];
|
|
1081
1081
|
if (I) {
|
|
1082
1082
|
const N = M(_, I, $);
|
|
1083
1083
|
X(N, g, $);
|
|
1084
1084
|
} else
|
|
1085
1085
|
X(_, g);
|
|
1086
|
-
|
|
1087
|
-
},
|
|
1088
|
-
ee.value = !0,
|
|
1086
|
+
F.value++, F.value > zl && (F.value = 0, V.value++), R.value = setTimeout(P, v());
|
|
1087
|
+
}, Y = () => {
|
|
1088
|
+
ee.value = !0, R.value && (clearTimeout(R.value), R.value = null);
|
|
1089
1089
|
}, k = () => {
|
|
1090
|
-
|
|
1090
|
+
D.value = !1, ee.value = !1, n.value = 1, R.value && (clearTimeout(R.value), R.value = null);
|
|
1091
1091
|
};
|
|
1092
1092
|
d({
|
|
1093
1093
|
startAnimation: s,
|
|
1094
|
-
pauseAnimation:
|
|
1094
|
+
pauseAnimation: Y,
|
|
1095
1095
|
stopAnimation: k,
|
|
1096
1096
|
resetAll: () => {
|
|
1097
|
-
k(), V.value = 0,
|
|
1097
|
+
k(), V.value = 0, F.value = 0, l.value.forEach((g) => {
|
|
1098
1098
|
(g.type === "revolute" || g.type === "prismatic") && z(g.name, 0);
|
|
1099
|
-
}),
|
|
1099
|
+
}), H(-1, 0);
|
|
1100
1100
|
},
|
|
1101
1101
|
fastForward: () => {
|
|
1102
1102
|
n.value < 4 && (n.value = Math.min(4, n.value * 2));
|
|
@@ -1104,7 +1104,7 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1104
1104
|
fastBackward: () => {
|
|
1105
1105
|
n.value > 0.25 && (n.value = Math.max(0.25, n.value / 2));
|
|
1106
1106
|
}
|
|
1107
|
-
}),
|
|
1107
|
+
}), Ue(
|
|
1108
1108
|
() => a.model,
|
|
1109
1109
|
(g) => {
|
|
1110
1110
|
g ? (t.value = g, l.value = w(g)) : l.value = [];
|
|
@@ -1112,7 +1112,7 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1112
1112
|
{ immediate: !0 }
|
|
1113
1113
|
);
|
|
1114
1114
|
const p = () => {
|
|
1115
|
-
!a.model ||
|
|
1115
|
+
!a.model || D.value && !ee.value || l.value.forEach((g) => {
|
|
1116
1116
|
g.urdfJoint && g.urdfJoint.angle !== void 0 && (g.currentValue = g.urdfJoint.angle);
|
|
1117
1117
|
});
|
|
1118
1118
|
}, L = () => {
|
|
@@ -1129,22 +1129,22 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1129
1129
|
b(), k();
|
|
1130
1130
|
}), (g, $) => (he(), be("div", Na, [
|
|
1131
1131
|
l.value.length > 0 ? (he(), be("div", Ka, [
|
|
1132
|
-
(he(!0), be(Se, null,
|
|
1132
|
+
(he(!0), be(Se, null, Re(l.value, (_) => {
|
|
1133
1133
|
var I, N, T, A;
|
|
1134
1134
|
return he(), be("div", {
|
|
1135
1135
|
key: _.name,
|
|
1136
1136
|
class: "joint-item"
|
|
1137
1137
|
}, [
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1138
|
+
B("div", Ja, [
|
|
1139
|
+
B("div", Wa, [
|
|
1140
|
+
B("span", Ga, Ce(_.name), 1),
|
|
1141
|
+
B("span", Xa, " [" + Ce(((I = _.limit) == null ? void 0 : I.lower.toFixed(2)) ?? (_.type === "revolute" ? "-3.14" : "-1.00")) + ", " + Ce(((N = _.limit) == null ? void 0 : N.upper.toFixed(2)) ?? (_.type === "revolute" ? "3.14" : "1.00")) + "] ", 1)
|
|
1142
1142
|
]),
|
|
1143
|
-
|
|
1143
|
+
B("span", qa, Ce(_.type), 1)
|
|
1144
1144
|
]),
|
|
1145
1145
|
_.type === "revolute" || _.type === "prismatic" ? (he(), be("div", Ya, [
|
|
1146
|
-
|
|
1147
|
-
|
|
1146
|
+
B("div", Za, [
|
|
1147
|
+
B("input", {
|
|
1148
1148
|
type: "range",
|
|
1149
1149
|
min: ((T = _.limit) == null ? void 0 : T.lower) ?? (_.type === "revolute" ? -Math.PI : -1),
|
|
1150
1150
|
max: ((A = _.limit) == null ? void 0 : A.upper) ?? (_.type === "revolute" ? Math.PI : 1),
|
|
@@ -1152,18 +1152,18 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1152
1152
|
value: _.currentValue,
|
|
1153
1153
|
onInput: (ne) => z(_.name, ne.target.value),
|
|
1154
1154
|
class: "joint-slider",
|
|
1155
|
-
disabled:
|
|
1155
|
+
disabled: D.value && !ee.value
|
|
1156
1156
|
}, null, 40, Qa)
|
|
1157
1157
|
]),
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1158
|
+
B("div", e0, [
|
|
1159
|
+
B("span", l0, Ce(_.currentValue ? Number(_.currentValue).toFixed(3) : "0.000"), 1),
|
|
1160
|
+
B("span", a0, Ce(_.type === "revolute" ? "rad" : "m"), 1)
|
|
1161
1161
|
])
|
|
1162
1162
|
])) : Je("", !0)
|
|
1163
1163
|
]);
|
|
1164
1164
|
}), 128))
|
|
1165
1165
|
])) : (he(), be("div", s0, $[0] || ($[0] = [
|
|
1166
|
-
|
|
1166
|
+
B("p", null, "未检测到可控制的关节", -1)
|
|
1167
1167
|
])))
|
|
1168
1168
|
]));
|
|
1169
1169
|
}
|
|
@@ -1186,62 +1186,62 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1186
1186
|
const a = r, l = d, t = Q([]), E = {
|
|
1187
1187
|
children: "children",
|
|
1188
1188
|
label: "label"
|
|
1189
|
-
},
|
|
1190
|
-
l("nodeClick",
|
|
1191
|
-
}, f = (
|
|
1189
|
+
}, O = (F) => {
|
|
1190
|
+
l("nodeClick", F);
|
|
1191
|
+
}, f = (F, R = 0) => {
|
|
1192
1192
|
const q = [];
|
|
1193
|
-
return Array.isArray(
|
|
1193
|
+
return Array.isArray(F) && (F == null ? void 0 : F.length) > 0 && F.forEach((n) => {
|
|
1194
1194
|
if (!(n != null && n.isMesh) && ((n == null ? void 0 : n.type) === "URDFJoint" || (n == null ? void 0 : n.type) === "URDFLink")) {
|
|
1195
1195
|
const v = {
|
|
1196
1196
|
name: n == null ? void 0 : n.name,
|
|
1197
1197
|
label: n == null ? void 0 : n.name,
|
|
1198
1198
|
show: !0,
|
|
1199
|
-
level:
|
|
1199
|
+
level: R + 1,
|
|
1200
1200
|
isPenultimate: !1,
|
|
1201
1201
|
type: n == null ? void 0 : n.type,
|
|
1202
1202
|
id: n == null ? void 0 : n.id,
|
|
1203
1203
|
limit: (n == null ? void 0 : n.limit) ?? "",
|
|
1204
|
-
children: f(n == null ? void 0 : n.children,
|
|
1204
|
+
children: f(n == null ? void 0 : n.children, R + 1),
|
|
1205
1205
|
path: n == null ? void 0 : n.name
|
|
1206
1206
|
};
|
|
1207
1207
|
q.push(v);
|
|
1208
1208
|
}
|
|
1209
1209
|
}), q;
|
|
1210
|
-
}, U = (
|
|
1211
|
-
name:
|
|
1212
|
-
label:
|
|
1210
|
+
}, U = (F) => F ? [{
|
|
1211
|
+
name: F == null ? void 0 : F.name,
|
|
1212
|
+
label: F == null ? void 0 : F.name,
|
|
1213
1213
|
show: !0,
|
|
1214
1214
|
level: 1,
|
|
1215
1215
|
isPenultimate: !1,
|
|
1216
|
-
type:
|
|
1217
|
-
id:
|
|
1218
|
-
limit: (
|
|
1219
|
-
children: f(
|
|
1220
|
-
path:
|
|
1221
|
-
}] : [], G = (
|
|
1222
|
-
const q = [], n = [...
|
|
1223
|
-
for (; n.length > 0 && q.length <
|
|
1216
|
+
type: F == null ? void 0 : F.type,
|
|
1217
|
+
id: F == null ? void 0 : F.id,
|
|
1218
|
+
limit: (F == null ? void 0 : F.limit) ?? "",
|
|
1219
|
+
children: f(F == null ? void 0 : F.children, 1),
|
|
1220
|
+
path: F == null ? void 0 : F.name
|
|
1221
|
+
}] : [], G = (F, R) => {
|
|
1222
|
+
const q = [], n = [...F];
|
|
1223
|
+
for (; n.length > 0 && q.length < R; ) {
|
|
1224
1224
|
const v = n.shift();
|
|
1225
1225
|
v.children && v.children.length > 0 && (q.push(v.id), n.push(...v.children));
|
|
1226
1226
|
}
|
|
1227
1227
|
return q;
|
|
1228
|
-
},
|
|
1228
|
+
}, D = (F, R) => {
|
|
1229
1229
|
const q = [];
|
|
1230
|
-
return
|
|
1230
|
+
return F.forEach((n) => {
|
|
1231
1231
|
if (n.children && n.children.length > 0) {
|
|
1232
1232
|
q.push(n.id);
|
|
1233
|
-
const v = n.children.filter((j) => j.children && j.children.length > 0).slice(0,
|
|
1233
|
+
const v = n.children.filter((j) => j.children && j.children.length > 0).slice(0, R).map((j) => j.id);
|
|
1234
1234
|
q.push(...v);
|
|
1235
1235
|
}
|
|
1236
|
-
}), q.slice(0,
|
|
1237
|
-
}, ee = b2(() => !t.value || t.value.length === 0 ? [] : a.expandStrategy === "firstLevel" ?
|
|
1238
|
-
return
|
|
1236
|
+
}), q.slice(0, R + 1);
|
|
1237
|
+
}, ee = b2(() => !t.value || t.value.length === 0 ? [] : a.expandStrategy === "firstLevel" ? D(t.value, a.maxExpandCount) : G(t.value, a.maxExpandCount)), V = b2(() => a != null && a.model ? U(a.model) : []);
|
|
1238
|
+
return Ue(
|
|
1239
1239
|
V,
|
|
1240
|
-
(
|
|
1241
|
-
t.value = JSON.parse(JSON.stringify(
|
|
1240
|
+
(F) => {
|
|
1241
|
+
t.value = JSON.parse(JSON.stringify(F));
|
|
1242
1242
|
},
|
|
1243
1243
|
{ immediate: !0 }
|
|
1244
|
-
), (
|
|
1244
|
+
), (F, R) => {
|
|
1245
1245
|
const q = Ee("el-tree");
|
|
1246
1246
|
return he(), be("div", t0, [
|
|
1247
1247
|
ie(q, {
|
|
@@ -1249,7 +1249,7 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1249
1249
|
props: E,
|
|
1250
1250
|
"default-expanded-keys": ee.value,
|
|
1251
1251
|
"node-key": r0,
|
|
1252
|
-
onNodeClick:
|
|
1252
|
+
onNodeClick: O
|
|
1253
1253
|
}, null, 8, ["data", "default-expanded-keys"])
|
|
1254
1254
|
]);
|
|
1255
1255
|
};
|
|
@@ -1271,13 +1271,13 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1271
1271
|
})
|
|
1272
1272
|
), l = b2(() => `#${d.prefix}-${d.name}`), t = b2(() => {
|
|
1273
1273
|
const { size: E } = d;
|
|
1274
|
-
let
|
|
1275
|
-
return
|
|
1276
|
-
width:
|
|
1277
|
-
height:
|
|
1274
|
+
let O = `${E}`;
|
|
1275
|
+
return O = `${O.replace("px", "")}px`, {
|
|
1276
|
+
width: O,
|
|
1277
|
+
height: O
|
|
1278
1278
|
};
|
|
1279
1279
|
});
|
|
1280
|
-
return (E,
|
|
1280
|
+
return (E, O) => (he(), be("div", {
|
|
1281
1281
|
class: o1(["container", { active: E.active }]),
|
|
1282
1282
|
style: Dl(a.value)
|
|
1283
1283
|
}, [
|
|
@@ -1286,7 +1286,7 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1286
1286
|
style: Dl(t.value),
|
|
1287
1287
|
"aria-hidden": "true"
|
|
1288
1288
|
}, [
|
|
1289
|
-
|
|
1289
|
+
B("use", { "xlink:href": l.value }, null, 8, d0)
|
|
1290
1290
|
], 6))
|
|
1291
1291
|
], 6));
|
|
1292
1292
|
}
|
|
@@ -1294,7 +1294,7 @@ const Ha = { class: "panel-content" }, Ua = {
|
|
|
1294
1294
|
window._iconfont_svg_string_4634042 = '<svg><symbol id="icon-lookAround" viewBox="0 0 1041 1024"><path d="M520.685026 798.355937c-10.788594 0-21.577187-2.790872-31.241101-8.372615l-291.583615-168.36871A62.482203 62.482203 0 0 1 166.619208 567.505024V230.850913c0-22.368629 11.913273-42.987756 31.241102-54.109588l291.583615-168.36871a62.482203 62.482203 0 0 1 62.482203 0l291.583615 168.36871c19.327828 11.121832 31.241102 31.740959 31.241101 54.109588v336.654111a62.482203 62.482203 0 0 1-31.241101 54.109588l-291.583615 168.36871a62.857096 62.857096 0 0 1-31.241102 8.372615zM291.583615 531.39031l229.101411 132.295652 229.101412-132.295652v-264.507993l-229.101412-132.295651L291.583615 266.923972v264.466338z m520.685026 36.114714h0.416548-0.416548z" fill="#aaaaaa" ></path><path d="M520.685026 461.660172c-10.788594 0-21.577187-2.790872-31.241101-8.372616l-291.583615-168.327055a62.482203 62.482203 0 0 1 62.482203-108.219176L520.685026 326.990196l260.342513-150.248871a62.482203 62.482203 0 1 1 62.482204 108.219176l-291.583615 168.327055a62.857096 62.857096 0 0 1-31.241102 8.372616z" fill="#aaaaaa" ></path><path d="M520.685026 798.355937a62.482203 62.482203 0 0 1-62.482203-62.482203V399.177969a62.482203 62.482203 0 1 1 124.964406 0v336.695765a62.482203 62.482203 0 0 1-62.482203 62.482203z" fill="#aaaaaa" ></path><path d="M520.685026 1003.172599c-53.276492 0-520.685026-5.248505-520.685026-187.446609 0-62.982061 54.776065-111.259976 162.870276-143.584103 33.073913-9.622259 67.855673 8.914128 77.769516 41.98804s-8.872473 67.897327-41.946386 77.769516c-30.324696 9.080747-49.194321 17.619981-60.649392 24.11813 46.32014 26.242525 178.657446 62.19062 382.641012 62.19062s336.320872-35.948094 382.641012-62.19062c-11.455071-6.498149-30.324696-15.037384-60.649392-24.11813a62.482203 62.482203 0 1 1 35.82313-119.757556c108.094211 32.324126 162.870276 80.643697 162.870276 143.584103 0 182.198104-467.408534 187.446609-520.685026 187.446609z m398.886385-175.366717h0.416548-0.416548z" fill="#72B02D" ></path></symbol><symbol id="icon-xuanzhuan" viewBox="0 0 1024 1024"><path d="M378.963454 724.443778l91.182641 163.473426c6.246088 11.212239 2.252687 25.39393-9.010749 31.691216l-163.473427 91.18264c-18.123894 10.085896-39.422029-6.758062-33.739113-26.673866l72.290786-254.707264c5.682916-19.967002 32.663967-23.090045 42.749862-4.966152z" fill="#FC794B" ></path><path d="M414.64807 903.9932c-1.228739 0-2.40628-0.051197-3.635018-0.204789C169.002752 879.367232 0.000003 771.443028 0.000003 641.452727c0-52.221389 27.032248-102.19009 78.127293-144.581571a35.827969 35.827969 0 0 1 50.480676 4.710165 35.827969 35.827969 0 0 1-4.710164 50.480676C100.090998 571.824209 71.727616 603.310634 71.727616 641.452727c0 88.929954 148.984551 171.050647 346.504275 191.068847 19.711014 1.9967 34.046298 19.557422 32.049597 39.268436a35.879166 35.879166 0 0 1-35.633418 32.20319zM608.430381 904.095595c-18.175091 0-33.79031-13.772111-35.633418-32.254387-1.945503-19.711014 12.389781-37.271736 32.100795-39.217239 198.134093-19.813409 347.528224-101.985301 347.528223-191.171242 0-23.550822-10.649068-47.050447-31.58882-69.935703-13.362532-14.59127-12.389781-37.271736 2.20149-50.634268 14.59127-13.362532 37.271736-12.389781 50.634268 2.20149 32.971151 35.9918 50.429479 76.898555 50.429478 118.368481 0 130.297485-169.463527 238.221689-412.088195 262.489276-1.177541 0.102395-2.40628 0.153592-3.583821 0.153592z" fill="#FC794B" ></path><path d="M846.703267 184.413179l-325.308534 184.464377L196.137396 184.413179 521.394733 0z" fill="#BEC5CB" ></path><path d="M521.394733 737.703915l325.308534-184.41318V184.413179l-325.308534 184.464377z" fill="#808487" ></path><path d="M521.394733 737.703915L196.137396 553.290735V184.413179l325.257337 184.464377z" fill="#9CA3A9" ></path></symbol><symbol id="icon-clipping" viewBox="0 0 1024 1024"><path d="M341.930667 201.770667l353.706666 204.245333v408.448l-353.706666-204.245333z" fill="#4A80FF" fill-opacity="0.15" ></path><path d="M320.853333 165.248l396.117334 228.608v457.173333l-395.946667-228.608z m353.749334 252.970667L362.837333 238.336v359.722667l311.466667 179.882666z" fill="#72B02D" ></path><path d="M544.384 746.453333l-211.669333-211.669333 18.688-18.688 211.669333 211.669333z" fill="#72B02D" ></path><path d="M693.717333 530.261333l-266.453333-266.325333 20.906667-20.906667 266.325333 266.453334z" fill="#72B02D" ></path><path d="M688.853333 621.098667l-366.933333-366.933334 24.448-24.704 366.933333 366.933334z" fill="#72B02D" ></path><path d="M689.664 713.856L321.578667 345.770667l24.618666-24.618667 368.085334 368.128z" fill="#72B02D" ></path><path d="M683.605333 799.317333l-355.712-355.712 24.234667-24.234666 355.712 355.712z" fill="#72B02D" ></path><path d="M537.770667 944.938667h-51.2v-418.602667l-362.666667-209.28 25.6-44.330667 362.666667 209.066667 362.666666-209.066667 25.6 44.330667-362.666666 209.066667z" fill="#AAAAAA" ></path><path d="M512.170667 53.461333a31.146667 31.146667 0 0 1 15.488 4.266667l370.090666 213.632a31.232 31.232 0 0 1 15.317334 26.794667v426.922666a31.274667 31.274667 0 0 1-15.317334 26.837334l-369.834666 213.333333a31.488 31.488 0 0 1-31.061334 0l-369.834666-213.333333a31.146667 31.146667 0 0 1-15.914667-26.837334V298.069333a31.146667 31.146667 0 0 1 15.573333-27.008l369.792-213.333333a30.976 30.976 0 0 1 15.701334-4.266667z m349.866666 256l-349.866666-201.642666-349.866667 201.856v403.84l349.866667 201.813333 349.866666-201.898667z" fill="#AAAAAA" ></path></symbol><symbol id="icon-viewReset" viewBox="0 0 1024 1024"><path d="M643.2 515.2c-89.6-67.2-179.2-60.8-268.8 0-32 22.4-67.2 57.6-105.6 89.6 38.4 32 70.4 70.4 108.8 96 28.8 19.2 60.8 32 96 38.4 118.4 19.2 188.8-57.6 268.8-137.6-35.2-28.8-60.8-64-99.2-86.4zM508.8 704c-51.2 0-96-41.6-96-99.2s41.6-105.6 96-105.6 96 41.6 96 99.2c0 64-38.4 105.6-96 105.6z" fill="#AAAAAA" ></path><path d="M515.2 544c-3.2 41.6 12.8 60.8 51.2 51.2 0 32-19.2 57.6-51.2 57.6s-57.6-22.4-51.2-57.6c-6.4-32 16-51.2 51.2-51.2" fill="#AAAAAA" ></path><path d="M652.8 3.2c9.6-3.2 19.2-3.2 28.8 0 9.6 3.2 12.8 12.8 12.8 22.4v108.8c70.4 28.8 131.2 70.4 179.2 128 80 89.6 118.4 214.4 108.8 336-9.6 124.8-70.4 236.8-166.4 313.6-96 80-224 118.4-345.6 108.8-124.8-9.6-243.2-67.2-323.2-160S32 649.6 41.6 524.8c9.6-118.4 70.4-233.6 160-307.2 22.4-19.2 60.8-19.2 80 3.2 19.2 22.4 19.2 57.6-3.2 80-70.4 57.6-115.2 140.8-124.8 233.6s22.4 185.6 80 249.6c60.8 70.4 147.2 115.2 243.2 124.8 96 9.6 188.8-19.2 259.2-80s118.4-140.8 124.8-236.8c9.6-89.6-22.4-185.6-80-249.6-28.8-28.8-57.6-57.6-89.6-76.8v89.6c0 9.6-3.2 19.2-12.8 22.4-9.6 3.2-19.2 3.2-28.8 0l-227.2-160c-3.2-3.2-9.6-12.8-9.6-19.2 0-9.6 3.2-12.8 9.6-19.2L652.8 3.2z" fill="#72B02D" ></path></symbol><symbol id="icon-donghuafangzhen" viewBox="0 0 1024 1024"><path d="M868.864 228.864c-19.968 0-38.912 7.68-53.248 20.992l-291.328-170.496c-7.168-5.12-16.896-5.12-24.064 0L208.896 248.832c-14.336-12.8-33.28-20.48-53.76-20.48-43.52 0-79.872 36.864-79.872 80.896 0 33.792 21.504 63.488 53.248 74.24v318.976c0 9.216 4.608 17.408 12.288 22.016L437.248 896c11.776 30.72 41.472 51.712 74.752 52.224 33.28-0.512 62.464-20.992 74.752-52.224l296.448-171.52c7.68-4.608 12.288-13.312 12.288-22.016V386.048c31.744-11.776 53.248-42.496 53.248-76.288 0-44.032-36.352-80.896-79.872-80.896zM155.136 339.456c-16.896 0-29.184-12.288-29.184-29.696v-2.048c0.512-15.36 13.312-27.648 29.184-27.136h2.048c15.36 0.512 27.648 13.824 27.136 29.696 0 15.872-12.8 28.672-29.184 29.184zM512 897.024c-16.896 0-29.184-12.288-29.184-29.696 0-14.848 12.288-29.696 29.184-29.696h2.048c15.36 0.512 27.648 13.824 27.136 29.696 0 14.848-14.848 29.696-29.184 29.696z m74.752-58.368c-11.776-30.208-40.96-51.712-74.752-51.712-27.136 0-52.224 14.336-67.072 37.376l-3.072 1.024c-4.608 2.048-8.704 5.632-9.728 10.752l-252.416-146.944V384.512C212.48 373.76 234.496 343.04 235.52 308.736l3.072 0.512h2.048c3.584 0 7.168-1.536 10.24-3.584 7.168-5.632 8.192-16.384 2.048-23.552L512 130.56l278.528 162.816c-7.68 36.864 11.264 74.24 45.568 90.624 0.512 5.632 3.584 10.24 8.704 13.312v291.328l-258.048 150.016z m282.112-499.2c-16.896 0-29.184-12.288-29.184-29.696v-2.048c0.512-15.36 13.312-27.648 29.184-27.136h2.048c15.36 0.512 27.648 13.824 27.136 29.696v2.56c-1.024 14.848-13.824 27.136-29.184 26.624z" fill="#AAAAAA" ></path><path d="M422.912 724.992c-3.072-8.704-12.288-12.8-20.992-9.728-8.704 3.072-12.8 12.8-9.728 21.504l19.968 54.784c2.56 6.656 8.192 10.752 15.36 10.752 2.048 0 3.584-0.512 5.12-1.024 8.704-3.072 12.8-12.8 9.728-21.504l-19.456-54.784zM706.048 507.392c0-107.52-86.016-195.072-192-196.096-2.048-1.536-4.608-2.56-7.68-3.072l-24.064-3.072c-8.192-1.024-15.872 4.096-17.92 11.776-5.632 1.536-11.776 3.584-16.896 5.632 0.512-1.536 1.024-3.072 1.536-5.12 1.024-9.216-5.12-17.408-14.336-18.432l-48.128-5.632c-5.632-1.024-11.776 1.536-15.36 6.144-3.584 4.608-4.608 11.264-2.048 16.896 2.56 5.632 7.68 9.216 13.312 9.728l44.032 5.12C384 353.28 351.232 388.608 333.312 432.64c-25.088 60.928-17.92 130.048 18.432 184.832-1.024 3.584-1.024 7.168 0.512 10.24l19.968 54.784c1.024 3.072 3.072 5.632 6.144 7.68 7.168 5.12 17.408 3.072 22.528-4.096 3.072-4.608 3.584-10.24 2.048-15.36l-0.512-1.536c53.76 37.888 123.392 45.568 184.32 19.968 46.08-19.456 82.944-55.808 102.912-101.376l12.8-14.336c6.144-6.656 5.632-17.408-0.512-23.04 2.56-14.336 4.096-28.672 4.096-43.008z m-193.536 156.16C427.52 663.552 358.4 593.92 358.4 507.392c0-86.016 69.12-156.16 154.112-156.16s154.112 69.632 154.112 156.16c0 86.016-69.12 156.16-154.112 156.16z" fill="#72B02D" ></path><path d="M765.44 478.72c-6.144-5.632-15.872-5.632-22.016 0l-32.256 35.84c-4.096 4.608-5.632 11.776-3.072 17.92 2.56 6.144 8.192 9.728 14.848 9.728 4.608 0 8.704-2.048 11.776-5.12l32.256-35.84c5.12-7.168 4.608-16.896-1.536-22.528zM823.296 401.92c-5.632-1.024-11.776 0.512-15.872 5.12l-32.256 35.84c-4.608 4.608-5.632 11.776-3.072 17.92 1.024 2.048 2.56 4.096 4.096 5.632 6.656 6.144 16.896 5.632 23.04-1.536l32.256-35.84c4.096-4.096 5.632-10.752 3.584-16.384-1.024-5.632-5.632-9.728-11.776-10.752zM336.384 321.024c8.704 0 15.872-6.656 16.384-15.36 0.512-8.704-5.632-16.384-14.336-17.408l-48.128-5.632c-5.632-1.024-11.776 1.536-15.36 6.144-3.584 4.608-4.096 11.264-2.048 16.896 2.56 5.632 7.68 9.216 13.312 9.728l48.128 5.632h2.048z" fill="#72B02D" ></path></symbol><symbol id="icon-guanjianjiexi" viewBox="0 0 1024 1024"><path d="M298.496 200.704v83.456h-39.936v177.664h137.728V389.12h47.104v245.76h-47.104v-79.872H211.456c-10.752-3.584-54.272-14.336-54.272-57.856V280.064h-32.768V200.704h174.08m47.104-47.104H77.824v177.152h36.352v169.984c0 68.608 61.44 97.792 97.792 104.96H353.28v79.872h141.312V342.016H349.184v72.192h-43.52v-87.04h39.936V153.6zM627.712 389.12v79.872H812.544c10.752 3.584 54.272 14.336 54.272 54.272V740.352h32.768v83.456h-173.568v-83.456h39.936v-177.664h-137.728V634.88h-47.104V389.12h46.592m47.104-47.104h-141.312v340.48h141.312v-72.192h43.52v83.456h-39.936V870.4h267.776v-177.152h-36.352v-169.984c0-68.608-61.44-97.792-97.792-104.96H670.72V342.528h4.096z" fill="#AAAAAA" ></path></symbol><symbol id="icon-gongyishengcheng" viewBox="0 0 1024 1024"><path d="M889.344 391.68h29.696v-43.008h-208.896l1.024 45.056 28.16 3.072v20.992c55.808 5.632 108.032 28.672 150.016 66.56-0.512 0 0-92.672 0-92.672z m-366.592 102.912c13.312-13.312 27.648-24.576 43.008-34.816-2.048-70.144-5.632-153.088-8.704-179.712-5.632-48.64-34.816-204.288-226.816-202.752-191.488 1.536-223.744 164.864-230.912 207.36s-11.776 197.632-11.776 197.632h-24.576v43.008l208.896 1.024v-40.96h-24.064V316.928S245.76 230.912 335.36 231.424C424.448 232.448 415.232 327.68 414.72 327.68v313.856c4.608 0 6.144 77.824 50.176 144.896-13.312-32.256-20.48-67.072-20.48-102.912 0-71.168 27.648-138.24 78.336-188.928z" fill="#AAAAAA" ></path><path d="M75.264 601.6h31.232v281.088s41.984 29.184 141.824 0v-274.944l29.184-2.56v-44.032H75.264v40.448zM906.24 263.168h-29.184l1.024-188.416s-53.76-27.648-144.384 0l1.024 192-31.744 1.024V307.2h203.776l-0.512-44.032z" fill="#AAAAAA" ></path><path d="M934.912 627.712c-9.216-4.608-20.48-2.048-29.184 6.656l-21.504 21.504c-9.216 9.216-20.992 13.824-33.792 13.824s-24.576-5.12-33.792-13.824c-9.216-9.216-13.824-20.992-13.824-33.792s5.12-24.576 13.824-33.792l21.504-21.504c8.704-8.704 11.264-19.968 6.656-29.184-5.632-10.752-18.432-15.36-34.304-13.312-25.6 4.096-48.64 15.36-66.56 33.792-27.136 27.136-39.424 65.536-33.792 103.936l-178.176 178.176c-13.312 13.312-20.992 31.232-20.992 50.176s7.168 36.864 20.992 50.176c13.312 13.312 31.232 20.992 50.176 20.992 18.944 0 36.864-7.168 50.176-20.992l178.176-178.176c37.888 6.144 76.288-6.656 103.936-33.792 17.92-17.92 29.696-41.472 33.792-66.56 2.048-15.872-2.56-28.672-13.312-34.304z m-9.728 30.72c-3.072 20.48-12.8 38.912-27.136 53.76-23.04 23.04-56.32 33.28-89.088 26.624l-6.144-1.536-186.88 186.88c-8.704 9.216-20.992 13.824-33.792 13.824s-24.576-5.12-33.792-13.824c-9.216-9.216-13.824-20.992-13.824-33.792s5.12-24.576 13.824-33.792l186.88-186.88-1.536-6.144c-6.656-32.256 3.072-65.536 26.624-89.088 14.848-14.848 33.28-24.064 53.76-27.136 1.536-0.512 3.072-0.512 4.608-0.512 2.56 0 4.608 0.512 5.12 1.024-0.512 0.512-1.024 1.536-2.048 2.56l-21.504 21.504c-13.312 13.312-20.992 31.232-20.992 50.176s7.168 36.864 20.992 50.176c13.312 13.312 31.232 20.992 50.176 20.992 18.944 0 36.864-7.168 50.176-20.992l21.504-21.504c1.024-1.024 2.048-1.536 2.56-2.048 0.512 1.536 1.024 4.608 0.512 9.728z" fill="#72B02D" ></path><path d="M560.64 870.912c-12.8 12.8-12.8 33.28 0 45.568 6.144 6.144 14.336 9.216 23.04 9.216s16.896-3.072 23.04-9.216c6.144-6.144 9.728-14.336 9.728-23.04 0-8.704-3.584-16.896-9.728-23.04-12.8-12.288-33.792-12.288-46.08 0.512z m28.672 28.672c-3.072 3.072-8.704 3.072-11.776 0-3.072-3.072-3.072-8.704 0-11.776 1.536-1.536 3.584-2.56 6.144-2.56 2.048 0 4.096 1.024 6.144 2.56 1.536 1.536 2.56 3.584 2.56 6.144-0.512 2.048-1.536 4.096-3.072 5.632z m225.28-107.008c-4.096-4.096-10.24-4.096-14.336 0l-43.52 43.52c-4.096 4.096-4.096 10.24 0 14.336l102.4 102.4c15.872 15.872 41.984 15.872 57.856 0 15.872-15.872 15.872-41.984 0-57.856l-102.4-102.4z m-237.056-150.528l70.656 70.656 28.672-28.672-70.656-70.656-15.872-30.208-50.688-36.352-28.672 28.672 36.352 50.688 30.208 15.872z" fill="#72B02D" ></path></symbol><symbol id="icon-mojupipei" viewBox="0 0 1024 1024"><path d="M880.64 117.248c32.768 0 58.88 23.04 64.512 54.784l1.024 7.68v663.04c0.512 31.744-22.528 58.368-53.76 62.464l-7.68 1.024H151.552c-34.816 0-66.048-22.528-72.192-53.248l-1.024-6.656V183.296c0-31.744 27.648-59.904 61.952-65.024l7.168-1.024h142.848c24.064 0 44.032 16.896 48.64 39.936l1.024 6.656V406.528c0 7.68 5.12 14.848 12.288 16.896l3.584 0.512H424.96c13.312 0 25.088 9.216 29.184 22.528 6.144 23.552 33.792 46.08 58.368 46.08 22.528 0 48.128-19.456 55.808-39.424l2.048-5.632c2.048-10.24 9.216-18.432 19.456-21.504l5.12-1.024 3.072-0.512h71.168c6.144 0 11.776-3.584 14.336-9.728l1.024-3.584V164.864c0-23.04 15.872-41.984 37.888-46.592l6.144-1.024H880.64zM273.92 184.32H151.552l-2.048 0.512-2.048 0.512-2.56 1.536-1.536 649.728 3.072 1.536 3.072 1.024h1.024l328.192 3.072 2.048-286.72-2.048-0.512-10.24-3.584c-24.576-10.24-45.568-27.136-60.928-49.152l-6.144-9.216 1.024-1.536H349.184c-37.888-4.096-68.608-33.792-74.24-71.68l-1.024-8.192v-4.096V184.32z m476.16-3.072V409.6l-0.512 8.704c-3.584 36.864-32.256 66.56-68.608 72.192l-8.192 1.024h-4.096l-45.568-1.536-6.144 9.728c-14.848 22.528-36.352 40.448-61.44 51.2l-10.752 4.096-3.072 284.16h337.408v-655.36l-129.024-2.56z" fill="#AAAAAA" ></path></symbol><symbol id="icon-buchangshezhi" viewBox="0 0 1024 1024"><path d="M792.576 75.264h-686.08c-17.408 0-31.232 13.824-31.232 31.232v686.08c0 17.408 13.824 31.232 31.232 31.232h436.736c17.408 0 31.232-13.824 31.232-31.232s-13.824-31.232-31.232-31.232H137.728V262.656h624.128v280.576c0 17.408 13.824 31.232 31.232 31.232s31.232-13.824 31.232-31.232V106.496c-0.512-17.408-14.336-31.232-31.744-31.232z" fill="#AAAAAA" ></path><path d="M792.576 948.736c-17.408 0-31.232-13.824-31.232-31.232v-93.696h-93.696c-17.408 0-31.232-13.824-31.232-31.232 0-17.408 13.824-31.232 31.232-31.232h93.696v-93.696c0-17.408 13.824-31.232 31.232-31.232 17.408 0 31.232 13.824 31.232 31.232v93.696h93.696c17.408 0 31.232 13.824 31.232 31.232 0 17.408-13.824 31.232-31.232 31.232h-93.696v93.696c0 17.408-13.824 31.232-31.232 31.232z" fill="#72B02D" ></path><path d="M372.224 518.144l-110.08 110.08c-20.992 20.992-20.992 55.296 0 76.288s55.296 20.992 76.288 0l110.08-110.08c-16.896-6.144-32.768-15.872-46.592-29.696-13.824-13.312-23.552-29.696-29.696-46.592z m-57.856 162.304c-7.68 7.68-20.48 7.68-28.672 0-7.68-7.68-7.68-20.48 0-28.672 7.68-7.68 20.48-7.68 28.672 0 7.68 8.192 7.68 20.992 0 28.672z m340.48-292.864L592.384 450.56c-20.992 20.992-55.296 20.992-76.288 0s-20.992-55.296 0-76.288l62.976-62.976c-51.712-8.704-116.224 14.848-151.552 50.176-49.152 49.152-49.152 128.512 0 177.664s129.024 49.152 177.664 0c35.328-35.328 58.368-99.84 49.664-151.552z" fill="#AAAAAA" ></path></symbol><symbol id="icon-shuchujiagongchengxu" viewBox="0 0 1024 1024"><path d="M876.544 473.6v374.272c0 16.384-13.312 29.696-29.696 29.696h-522.24c-16.384 0-29.696-13.312-29.696-29.696V503.296c0-16.384 13.312-29.696 29.696-29.696h551.936m40.96-70.656H253.952c-16.384 0-29.696 13.312-29.696 29.696v486.4c0 16.384 13.312 29.696 29.696 29.696h663.552c16.384 0 29.696-13.312 29.696-29.696v-486.4c0-16.384-13.312-29.696-29.696-29.696z" fill="#AAAAAA" ></path><path d="M489.984 211.968H814.08l-41.984-41.984c-13.824-13.824-13.824-36.352 0-50.176 13.824-13.824 36.352-13.824 50.176 0L947.712 245.76l-0.512 0.512 0.512 0.512-125.952 125.952c-13.824 13.824-36.352 13.824-50.176 0-13.824-13.824-13.824-36.352 0-50.176l38.912-38.912H489.472c-19.456 0-35.328-15.872-35.328-35.328 0.512-20.48 16.384-36.352 35.84-36.352z" fill="#72B02D" ></path><path d="M531.456 717.824c0-11.776-7.68-22.016-18.944-25.6l-55.808-16.896-14.848-4.608 14.848-4.608 55.808-16.896c11.264-3.584 18.944-13.824 18.944-25.6v-2.048c0-18.432-17.92-31.232-35.328-25.088L363.52 641.024c-10.752 3.584-17.92 13.824-17.92 25.088v8.192c0 11.264 7.168 21.504 17.92 25.088l132.608 45.568c17.408 6.144 35.328-7.168 35.328-25.088v-2.048z m123.392-96.768v2.048c0 11.776 7.68 22.016 18.944 25.6l56.32 16.896 14.848 4.608-14.848 4.608-56.32 16.896c-11.264 3.584-18.944 13.824-18.944 25.6v2.56c0 18.432 17.92 31.232 35.328 25.088l132.608-45.568c10.752-3.584 17.92-13.824 17.92-25.088v-8.192c0-11.264-7.168-21.504-17.92-25.088l-132.608-45.568c-17.408-6.144-35.328 7.168-35.328 25.6z m-54.784-64l-70.144 248.32c-4.608 16.896 8.192 33.792 25.6 33.792 11.776 0 22.528-8.192 25.6-19.456l70.144-248.32c4.608-16.896-8.192-33.792-25.6-33.792-11.776 0-22.016 8.192-25.6 19.456zM147.456 814.08V173.056c0-14.848 11.776-26.624 26.624-26.624h463.872c19.456 0 35.328-15.872 35.328-35.328 0-19.456-15.872-35.328-35.328-35.328H107.008c-16.896 0-30.72 13.824-30.72 30.72v748.032c0 16.896 13.824 30.72 30.72 30.72h40.448c19.456 0 35.328-15.872 35.328-35.328 0.512-19.968-15.36-35.84-35.328-35.84z" fill="#AAAAAA" ></path></symbol><symbol id="icon-guanjiekongzhi" viewBox="0 0 1024 1024"><path d="M648.192 377.344h-71.68c-18.432 0-33.792-14.848-33.792-33.792H366.592c12.288-30.72 25.088-80.896 0-134.656H542.72c0-18.432 15.36-33.792 33.792-33.792h67.584c1.536 0 2.56 0 4.096 0.512L719.36 87.04c10.752-13.312 29.184-16.384 44.032-7.68l168.96 100.864c15.872 9.728 20.992 30.208 11.776 46.08-9.728 15.872-30.208 20.992-46.592 11.264l-143.872-85.504L677.888 245.76v61.44l75.776 93.696 143.872-85.504c15.872-9.728 36.864-4.608 46.592 11.776 9.728 15.872 4.608 36.352-11.264 46.08h-0.512l-168.96 100.864c-14.336 8.704-33.28 5.12-44.032-7.68l-71.168-89.088zM319.488 780.8L102.912 415.744c76.8 69.632 185.344 48.64 231.424-13.312l222.72 378.368H711.68c18.432 0 33.792 14.848 33.792 33.792v100.864c0 18.432-15.36 33.792-33.792 33.792H170.496c-18.432 0-33.792-14.848-33.792-33.792v-100.864c0-18.432 15.36-33.792 33.792-33.792h148.992z" fill="#AAAAAA" ></path><path d="M204.288 148.48C133.12 148.48 75.264 205.824 75.264 276.48S133.12 404.48 204.288 404.48c71.168 0 129.024-57.344 129.024-128S275.456 148.48 204.288 148.48z m0 202.752c-41.472 0-74.752-33.28-74.752-74.752 0-40.96 33.792-74.24 74.752-74.24C245.76 202.24 279.04 235.52 279.04 276.48c0 41.472-33.792 75.264-74.752 74.752z" fill="#72B02D" ></path></symbol><symbol id="icon-jiegoushu" viewBox="0 0 1024 1024"><path d="M233.984 472.064h317.44c0-44.032 35.328-79.36 79.36-79.36h238.08c44.032 0 79.36 35.328 79.36 79.36v79.36c0 44.032-35.328 79.36-79.36 79.36h-238.08c-44.032 0-79.36-35.328-79.36-79.36h-317.44v238.08h317.44c0-44.032 35.328-79.36 79.36-79.36h238.08c44.032 0 79.36 35.328 79.36 79.36v79.36c0 44.032-35.328 79.36-79.36 79.36h-238.08c-44.032 0-79.36-35.328-79.36-79.36h-317.44c-44.032 0-79.36-35.328-79.36-79.36V233.984h-39.936c-22.016 0-39.936-17.92-39.936-39.936V115.2c0-22.016 17.92-39.936 39.936-39.936h158.72c22.016 0 39.936 17.92 39.936 39.936V194.56c0 22.016-17.92 39.936-39.936 39.936h-39.936v237.568z" fill="#AAAAAA" ></path><path d="M551.936 75.264h317.44c44.032 0 79.36 35.328 79.36 79.36v79.36c0 44.032-35.328 79.36-79.36 79.36h-317.44c-44.032 0-79.36-35.328-79.36-79.36V154.624c-0.512-44.032 35.328-79.36 79.36-79.36z" fill="#72B02D" ></path></symbol><symbol id="icon-kuaitui" viewBox="0 0 1024 1024"><path d="M512 148.992c199.68 0 361.984 162.304 361.984 361.984S711.68 872.448 512 872.448s-361.984-162.304-361.984-361.984S312.32 148.992 512 148.992m0-74.752c-241.152 0-436.736 195.584-436.736 436.736s195.584 436.736 436.736 436.736 436.736-195.584 436.736-436.736-195.584-436.736-436.736-436.736z" fill="#AAAAAA" ></path><path d="M670.72 456.192v109.056l-75.264-54.784L670.72 456.192m25.6-102.912c-10.24 0-20.992 3.072-30.208 10.24l-144.896 105.472c-28.672 20.48-28.672 62.976 0 83.968l144.896 105.472c9.216 6.656 19.968 10.24 30.208 10.24 27.136 0 52.224-21.504 52.224-51.712V405.504c0-30.72-25.088-52.224-52.224-52.224z" fill="#72B02D" ></path><path d="M499.712 456.192v109.056L424.96 510.976l74.752-54.784m26.112-102.912c-10.24 0-20.992 3.072-30.208 10.24L350.208 468.992c-28.672 20.48-28.672 62.976 0 83.968l144.896 105.472c9.216 6.656 19.968 10.24 30.208 10.24 27.136 0 52.224-21.504 52.224-51.712V405.504c0-30.72-25.088-52.224-51.712-52.224z" fill="#72B02D" ></path><path d="M314.368 381.44c-21.504 0-38.912 17.408-38.912 38.912v181.248c0 21.504 17.408 38.912 38.912 38.912s38.912-17.408 38.912-38.912V420.352c0-21.504-17.408-38.912-38.912-38.912z" fill="#72B02D" ></path></symbol><symbol id="icon-bofang" viewBox="0 0 1024 1024"><path d="M512 150.016c199.68 0 361.984 162.304 361.984 361.984S711.68 873.984 512 873.984 150.016 711.68 150.016 512 312.32 150.016 512 150.016m0-74.752c-241.152 0-436.736 195.584-436.736 436.736s195.584 436.736 436.736 436.736 436.736-195.584 436.736-436.736-195.584-436.736-436.736-436.736z" fill="#AAAAAA" ></path><path d="M491.008 445.952l115.712 66.048-115.712 66.048V445.952m-23.552-87.04c-24.576 0-46.592 19.456-46.592 46.592v212.48c0 27.136 22.528 46.592 46.592 46.592 7.68 0 15.36-2.048 23.04-6.144l185.856-106.496c31.232-17.92 31.232-62.976 0-80.896L490.496 365.056c-7.168-4.096-15.36-6.144-23.04-6.144z" fill="#72B02D" ></path></symbol><symbol id="icon-kuaijin" viewBox="0 0 1024 1024"><path d="M515.584 151.04c199.168 0 360.96 161.792 360.96 360.96s-161.792 360.96-360.96 360.96-360.96-161.792-360.96-360.96 161.792-360.96 360.96-360.96m0-74.752c-240.64 0-435.712 195.072-435.712 435.712s195.072 435.712 435.712 435.712 435.712-195.072 435.712-435.712-195.072-435.712-435.712-435.712z" fill="#AAAAAA" ></path><path d="M358.912 458.24L433.152 512l-74.24 53.76v-107.52m-25.088-101.376c-26.624 0-51.2 20.992-51.2 51.2v207.872c0 30.208 24.576 51.2 51.2 51.2 10.24 0 20.48-3.072 29.696-9.728l142.848-103.936c28.16-20.48 28.16-61.952 0-82.432L363.52 366.592c-9.216-6.656-19.456-9.728-29.696-9.728z" fill="#72B02D" ></path><path d="M527.36 458.24l74.24 53.76-74.24 53.76v-107.52m-25.088-101.376c-26.624 0-51.2 20.992-51.2 51.2v207.872c0 30.208 24.576 51.2 51.2 51.2 10.24 0 20.48-3.072 29.696-9.728l142.848-103.936c28.16-20.48 28.16-61.952 0-82.432l-142.848-103.936c-9.216-7.168-19.968-10.24-29.696-10.24z" fill="#72B02D" ></path><path d="M710.144 384.512c-20.992 0-38.4 17.408-38.4 38.4v178.688c0 20.992 17.408 38.4 38.4 38.4s38.4-17.408 38.4-38.4V422.912c0-21.504-17.408-38.4-38.4-38.4z" fill="#72B02D" ></path></symbol><symbol id="icon-zanting" viewBox="0 0 1024 1024"><path d="M512 150.016c199.68 0 361.984 162.304 361.984 361.984S711.68 873.984 512 873.984 150.016 711.68 150.016 512 312.32 150.016 512 150.016m0-74.752c-241.152 0-436.736 195.584-436.736 436.736s195.584 436.736 436.736 436.736 436.736-195.584 436.736-436.736-195.584-436.736-436.736-436.736z" fill="#AAAAAA" ></path><path d="M416.768 353.28c-22.016 0-39.936 17.92-39.936 39.936v238.08c0 22.016 17.92 39.936 39.936 39.936s39.936-17.92 39.936-39.936V392.704c-0.512-21.504-17.92-39.424-39.936-39.424z m190.464 0c-22.016 0-39.936 17.92-39.936 39.936v238.08c0 22.016 17.92 39.936 39.936 39.936s39.936-17.92 39.936-39.936V392.704c0-21.504-17.92-39.424-39.936-39.424z" fill="#72B02D" ></path></symbol><symbol id="icon-zhongzhi" viewBox="0 0 1024 1024"><path d="M512 150.016c199.68 0 361.984 162.304 361.984 361.984S711.68 873.984 512 873.984 150.016 711.68 150.016 512 312.32 150.016 512 150.016m0-74.752c-241.152 0-436.736 195.584-436.736 436.736s195.584 436.736 436.736 436.736 436.736-195.584 436.736-436.736-195.584-436.736-436.736-436.736z" fill="#AAAAAA" ></path><path d="M580.096 421.376c12.288 0 22.528 10.24 22.528 22.528v136.192c0 12.288-10.24 22.528-22.528 22.528H443.904c-12.288 0-22.528-10.24-22.528-22.528V443.904c0-12.288 10.24-22.528 22.528-22.528h136.192m0-68.096H443.904C393.728 353.28 353.28 393.728 353.28 443.904v136.192c0 50.176 40.448 90.624 90.624 90.624h136.192c50.176 0 90.624-40.448 90.624-90.624V443.904c0-50.176-40.448-90.624-90.624-90.624z" fill="#72B02D" ></path></symbol><symbol id="icon-suoxiao" viewBox="0 0 1024 1024"><path d="M491.008 463.36c32.256 0 58.88-26.112 58.88-58.88s-26.112-58.88-58.88-58.88H285.696c-32.256 0-58.88 26.112-58.88 58.88s26.112 58.88 58.88 58.88h205.312z" fill="#72B02D" ></path><path d="M810.496 720.384l-158.208-158.208c29.184-48.128 46.08-104.96 46.08-165.376 0-175.616-142.848-318.976-318.976-318.976s-318.976 143.36-318.976 318.976 142.848 318.976 318.976 318.976c78.336 0 150.016-28.16 205.824-75.264l152.576 152.576c10.24 10.24 23.04 14.848 36.352 14.848 13.312 0 26.112-5.12 36.352-14.848 19.968-19.968 19.968-52.736 0-72.704z m-431.104-107.52c-119.296 0-216.064-96.768-216.064-216.064 0-119.296 96.768-216.064 216.064-216.064s216.064 96.768 216.064 216.064c0 119.296-97.28 216.064-216.064 216.064z" fill="#72B02D" ></path><path d="M811.008 106.496h-109.056V209.92h109.056c29.696 0 53.76 24.064 53.76 53.76v81.408H967.68v-81.92c0-86.016-70.144-156.672-156.672-156.672zM864.768 791.552c0 29.696-24.064 53.76-53.76 53.76h-109.056v102.912h109.056c86.528 0 156.672-70.144 156.672-156.672v-81.92h-102.912v81.92z m-690.176 0v-81.92H71.68v81.92c0 86.528 70.144 156.672 156.672 156.672h109.056v-102.912H228.352c-29.696 0-53.76-24.064-53.76-53.76z" fill="#AAAAAA" ></path></symbol><symbol id="icon-fangda" viewBox="0 0 1024 1024"><path d="M488.96 333.824h-47.104V286.72c0-34.816-28.16-62.976-62.976-62.976-34.816 0-62.976 28.16-62.976 62.976v47.104h-47.104c-34.816 0-62.976 28.16-62.976 62.976s28.16 62.976 62.976 62.976h47.104V506.88c0 34.816 28.16 62.976 62.976 62.976 34.816 0 62.976-28.16 62.976-62.976v-47.104h47.104c34.816 0 62.976-28.16 62.976-62.976 0-34.304-28.16-62.976-62.976-62.976z" fill="#72B02D" ></path><path d="M810.496 720.384l-158.208-158.208c29.184-48.128 46.08-104.96 46.08-165.376 0-175.616-142.848-318.976-318.976-318.976s-318.976 143.36-318.976 318.976 142.848 318.976 318.976 318.976c78.336 0 150.016-28.16 205.824-75.264l152.576 152.576c10.24 10.24 23.04 14.848 36.352 14.848s26.112-5.12 36.352-14.848c19.968-19.968 19.968-52.736 0-72.704z m-431.104-107.52c-119.296 0-216.064-96.768-216.064-216.064 0-119.296 96.768-216.064 216.064-216.064s216.064 96.768 216.064 216.064c0 119.296-97.28 216.064-216.064 216.064z" fill="#72B02D" ></path><path d="M811.008 106.496h-109.056V209.92h109.056c29.696 0 53.76 24.064 53.76 53.76v81.408H967.68v-81.92c0-86.016-70.144-156.672-156.672-156.672zM864.768 791.552c0 29.696-24.064 53.76-53.76 53.76h-109.056v102.912h109.056c86.528 0 156.672-70.144 156.672-156.672v-81.92h-102.912v81.92z m-690.176 0v-81.92H71.68v81.92c0 86.528 70.144 156.672 156.672 156.672h109.056v-102.912H228.352c-29.696 0-53.76-24.064-53.76-53.76z" fill="#AAAAAA" ></path></symbol><symbol id="icon-fangdazhichuangkou" viewBox="0 0 1024 1024"><path d="M949.248 858.624l-158.208-158.208c29.184-48.128 46.08-104.96 46.08-165.376 0-175.616-142.848-318.976-318.976-318.976s-318.976 142.848-318.976 318.976 142.848 318.976 318.976 318.976c78.336 0 150.016-28.16 205.824-75.264l152.576 152.576c10.24 10.24 23.04 14.848 36.352 14.848s26.112-5.12 36.352-14.848c19.968-19.968 19.968-52.736 0-72.704z m-431.616-107.52c-119.296 0-216.064-96.768-216.064-216.064 0-119.296 96.768-216.064 216.064-216.064s216.064 96.768 216.064 216.064c0 119.296-96.768 216.064-216.064 216.064z" fill="#72B02D" ></path><path d="M216.576 919.04h109.056v-102.912H216.576c-29.696 0-53.76-24.064-53.76-53.76V233.984c0-29.696 24.064-53.76 53.76-53.76H798.72c29.696 0 53.76 24.064 53.76 53.76v81.92h102.912v-81.92c0-86.528-70.144-156.672-156.672-156.672H216.576c-86.528 0-156.672 70.144-156.672 156.672v528.384c0 86.528 70.144 156.672 156.672 156.672z" fill="#AAAAAA" ></path></symbol><symbol id="icon-shiyingpingmu" viewBox="0 0 1024 1024"><path d="M876.032 75.264H147.968c-39.936 0-72.704 32.768-72.704 72.704v728.064c0 39.936 32.768 72.704 72.704 72.704h728.064c39.936 0 72.704-32.768 72.704-72.704V147.968c0-39.936-32.768-72.704-72.704-72.704z m0 764.416c0 22.016-14.336 36.352-36.352 36.352H184.32c-22.016 0-36.352-14.336-36.352-36.352V184.32c0-22.016 14.336-36.352 36.352-36.352h655.36c22.016 0 36.352 14.336 36.352 36.352v655.36z" fill="#AAAAAA" ></path><path d="M329.728 184.32H220.672c-3.584 0-10.752 0-14.336 3.584-7.168 3.584-14.336 10.752-18.432 18.432-3.584 3.584-3.584 10.752-3.584 14.336v109.056c0 22.016 14.336 36.352 36.352 36.352s36.352-14.336 36.352-36.352v-22.016l47.104 47.104c7.168 7.168 14.336 10.752 25.6 10.752 10.752 0 18.432-3.584 25.6-10.752 14.336-14.336 14.336-36.352 0-51.2l-47.104-47.104h22.016c22.016 0 36.352-14.336 36.352-36.352 0-21.504-14.848-35.84-36.864-35.84zM329.728 766.976h-22.016l47.104-47.104c14.336-14.336 14.336-36.352 0-51.2-14.336-14.336-36.352-14.336-51.2 0l-47.104 47.104v-22.016c0-22.016-14.336-36.352-36.352-36.352s-36.352 14.336-36.352 36.352v109.056c0 3.584 0 10.752 3.584 14.336 3.584 7.168 10.752 14.336 18.432 18.432 3.584 3.584 10.752 3.584 14.336 3.584h109.056c22.016 0 36.352-14.336 36.352-36.352s-13.824-35.84-35.84-35.84zM817.664 187.904c-3.584-3.584-10.752-3.584-14.336-3.584h-109.056c-22.016 0-36.352 14.336-36.352 36.352s14.336 36.352 36.352 36.352h22.016l-47.104 47.104c-14.336 14.336-14.336 36.352 0 51.2 7.168 7.168 14.336 10.752 25.6 10.752s18.432-3.584 25.6-10.752l47.104-47.104v22.016c0 22.016 14.336 36.352 36.352 36.352s36.352-14.336 36.352-36.352V220.672c0-3.584 0-10.752-3.584-14.336-4.096-7.68-11.264-14.848-18.944-18.432zM803.328 657.408c-22.016 0-36.352 14.336-36.352 36.352v22.016l-47.104-47.104c-14.336-14.336-36.352-14.336-51.2 0-14.336 14.336-14.336 36.352 0 51.2l47.104 47.104h-22.016c-22.016 0-36.352 14.336-36.352 36.352s14.336 36.352 36.352 36.352h109.056c3.584 0 10.752 0 14.336-3.584 7.168-3.584 14.336-10.752 18.432-18.432 3.584-3.584 3.584-10.752 3.584-14.336v-109.056c0.512-22.016-13.824-36.864-35.84-36.864z" fill="#72B02D" ></path></symbol><symbol id="icon-yangshitu-01" viewBox="0 0 1024 1024"><path d="M645.632 882.688H150.528l252.928-204.8 477.696 0.512z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512z m-542.72 23.552H880.64l-234.496 203.264-228.864 0.512V140.8z m0 247.296l217.088-0.512-1.024 247.296H417.28V388.096z m-43.008-223.744v180.736l-225.792 1.024 225.792-181.76zM113.152 389.12l261.632-0.512v256l-263.168 211.968 1.536-467.456z m532.48 493.568H150.528l252.928-204.288 477.696 0.512-235.52 203.776z m271.36-247.808h-239.104V375.808l239.104-208.896V634.88z" fill="#AAAAAA" ></path></symbol><symbol id="icon-zuoshitu-01" viewBox="0 0 1024 1024"><path d="M374.272 644.096l-262.656 211.968L112.64 373.76l261.632-209.408z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512zM112.64 373.76l261.632-209.408v479.744l-263.168 211.968L112.64 373.76z m520.192 507.904l-482.304 1.536 252.928-204.8h230.4l-1.024 203.264z m1.024-246.784H417.28V388.096l217.088-0.512-0.512 247.296z m12.288-290.304l-228.864 0.512V140.8H880.64l-234.496 203.776z m31.232 510.976v-177.664H880.64l-203.264 177.664z m239.616-220.672h-239.104V375.808l239.104-208.896V634.88z" fill="#AAAAAA" ></path></symbol><symbol id="icon-qianshitu-01" viewBox="0 0 1024 1024"><path d="M112.64 389.12h520.704v493.056H112.64z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512zM374.272 164.352v180.736l-225.792 1.024 225.792-181.76z m259.584 717.824H112.64V389.12h520.704v493.056z m12.288-537.6l-228.864 0.512V140.8H880.64l-234.496 203.776z m31.232 510.976v-177.664H880.64l-203.264 177.664z m239.616-220.672h-239.104V375.808l239.104-208.896V634.88z" fill="#AAAAAA" ></path></symbol><symbol id="icon-youshitu-01" viewBox="0 0 1024 1024"><path d="M916.992 659.456l-239.616 196.096V375.808l239.616-208.896z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512zM374.272 164.352v180.736l-225.792 1.024 225.792-181.76zM113.152 389.12l261.632-0.512v256l-263.168 211.968 1.536-467.456z m519.68 492.544l-482.304 1.536 252.928-204.8h230.4l-1.024 203.264z m1.024-246.784H417.28V388.096l217.088-0.512-0.512 247.296z m12.288-290.304l-228.864 0.512V140.8H880.64l-234.496 203.776z m270.848 314.88l-239.104 196.096V375.808l239.104-208.896v492.544z" fill="#AAAAAA" ></path></symbol><symbol id="icon-houshitu-01" viewBox="0 0 1024 1024"><path d="M960 118.784V117.76v-1.024-1.024-1.024-0.512-0.512c1.536 7.68-1.024 15.872-6.656 20.992L677.376 373.76v299.52h-43.008V389.12H374.272v254.976l-262.656 211.968L112.64 389.12l261.632-0.512v-42.496h269.824l280.064-243.2c3.072-2.56 6.656-4.096 10.752-5.12H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c-0.512 0.512-0.512 1.024-1.024 2.048 0 0.512 0 0.512-0.512 1.024 0 0.512 0 0.512-0.512 1.024 0 0.512 0 1.024-0.512 1.536v0.512c0 0.512 0 1.024-0.512 1.536V907.264c0 0.512 0 1.024 0.512 2.048v0.512s0 0.512 0.512 1.024c0 0.512 0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.024s0 0.512 0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512c0.512 0.512 1.024 1.024 1.536 1.024 0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512c0.512 0 1.024 0 1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-242.176 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024 0-0.512 0.512-1.024 0.512-1.536v-0.512V658.944v-2.048V118.272c1.536 1.024 1.536 1.024 1.536 0.512zM374.272 164.352v180.736l-225.792 1.024 225.792-181.76z m258.56 717.312l-482.304 1.536 252.928-204.8h230.4l-1.024 203.264z m44.544-26.112v-177.664H880.64l-203.264 177.664z m281.6-741.376v-0.512-0.512 1.024z" fill="#AAAAAA" ></path><path d="M916.992 634.88h-239.616V375.808l239.616-211.456zM644.096 346.112H417.28V141.824h462.336zM417.28 389.12H634.88v245.76H417.28z" fill="#72B02D" ></path><path d="M958.976 114.176c0 0.512 0.512 0.512 0 0z m-20.48-16.384H945.152l0.512 0.512 0.512 0.512h1.024l0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512c0 0.512 0.512 0.512 0.512 1.024s0 0.512 0.512 0.512c0 0.512 0.512 1.024 0.512 1.536 0 0.512 0.512 1.024 0.512 1.024-3.072-10.24-13.312-16.896-24.064-14.848h4.608v1.024z" fill="#C1272D" ></path></symbol><symbol id="icon-dingshitu-01" viewBox="0 0 1024 1024"><path d="M880.64 140.8l-234.496 203.776-497.664 1.536 256-206.336z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512zM113.152 389.12l261.632-0.512v256l-263.168 211.968 1.536-467.456z m519.68 492.544l-482.304 1.536 252.928-204.8h230.4l-1.024 203.264z m1.024-246.784H417.28V388.096l217.088-0.512-0.512 247.296z m12.288-290.304l-497.664 1.536 256-205.824 476.16 1.024-234.496 203.264z m31.232 510.976v-177.664H880.64l-203.264 177.664z m239.616-220.672h-239.104V375.808l239.104-208.896V634.88z" fill="#AAAAAA" ></path></symbol><symbol id="icon-toushitu-01" viewBox="0 0 1024 1024"><path d="M965.632 114.176V112.64v-1.024-0.512-1.024-0.512s0-0.512-0.512-1.024v-0.512c-0.512-1.024-0.512-2.048-1.024-3.072v-0.512c0-0.512-0.512-0.512-0.512-1.024s0-0.512-0.512-0.512l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512s-0.512-1.024-1.024-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024s-0.512 0-0.512-0.512c0 0-0.512 0-0.512-0.512H950.784h-0.512H392.704c-5.12 0-9.728 1.536-13.312 4.608l-312.32 251.392-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536 0 0 0 0.512-0.512 0.512 0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024c0 0.512 0 0.512-0.512 1.024s0 0.512 0 1.024 0 1.024-0.512 1.536v0.512c0 0.512 0 1.024-0.512 1.536V912.896c0 0.512 0 1.024 0.512 2.048v0.512s0 0.512 0.512 1.024l0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.024l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512 0 0.512 0.512 0.512 1.024 1.024l0.512 0.512 1.024 1.024 0.512 0.512c0.512 0.512 1.024 1.024 1.536 1.024 0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512c0.512 0 1.024 0 1.024 0.512h583.168c7.68 0 14.848-4.096 18.432-10.752L957.44 675.84l1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024 0-0.512 0.512-1.024 0.512-1.536v-0.512V661.504v-1.536V658.432l1.024-544.256zM372.736 343.04l-229.888 0.512L372.736 158.72v184.32z m43.008 43.008l220.672-0.512-0.512 251.392h-220.16v-250.88z m-43.008 0v260.096l-267.264 215.552 1.536-474.624 265.728-1.024z m-227.84 502.272l257.024-208.384h233.984l-0.512 206.848-490.496 1.536z m503.296-545.792l-172.544 0.512H415.232V135.68h471.04l-238.08 206.848z m31.232 337.408h207.36l-207.36 181.248v-181.248z m0-43.008V373.76l243.2-212.48v475.648h-243.2z" fill="#AAAAAA" ></path></symbol><symbol id="icon-a-jixiebi3" viewBox="0 0 1024 1024"><path d="M483.386004 821.695719H164.779715l29.075502-22.648286h260.455285l29.075502 22.648286z" fill="#3F3F3F" ></path><path d="M483.386004 776.399147H164.779715l29.075502 22.648286h260.455285l29.075502-22.648286z" fill="#7A807D" ></path><path d="M483.386004 776.399147H164.779715l29.075502-22.648285h260.455285l29.075502 22.648285z" fill="#3F3F3F" ></path><path d="M483.386004 730.796518H164.779715l29.075502 22.954344h260.455285l29.075502-22.954344zM483.386004 685.499947H164.779715l29.075502 22.648285h260.455285l29.075502-22.648285z" fill="#7A807D" ></path><path d="M483.386004 730.796518H164.779715l29.075502-22.648286h260.455285l29.075502 22.648286z" fill="#3F3F3F" ></path><path d="M150.701051 623.064132h339.418227v62.435815H150.701051z" fill="#F7A53F" ></path><path d="M150.701051 821.695719h339.418227v31.217907H150.701051z" fill="#FFFFFF" ></path><path d="M607.951575 339.654504a74.984189 74.984189 0 0 1-23.872517 103.447575 75.290247 75.290247 0 0 1-103.753633-23.872518L293.324039 120.823095A75.290247 75.290247 0 0 1 317.196557 17.069462a75.290247 75.290247 0 0 1 103.753633 23.872517zM441.762128 517.474152v105.58998H198.752144v-105.58998a122.423166 122.423166 0 1 1 244.846331 0z" fill="#FFC200" ></path><path d="M627.233224 377.605685a103.141517 103.141517 0 0 1-52.948019 82.635637l-165.88339 118.750471-2.448463 1.836347a112.93537 112.93537 0 1 1-112.017197-194.346775l195.571007-84.471985a132.523077 132.523077 0 0 1 48.357151-12.854432A89.062853 89.062853 0 0 1 627.233224 377.605685z" fill="#FFE610" ></path><path d="M401.056425 493.601635a71.005436 71.005436 0 1 1-71.005436-71.311494 71.005436 71.005436 0 0 1 71.005436 71.311494z" fill="#FFFFFF" ></path><path d="M375.34756 493.601635a45.296571 45.296571 0 1 1-45.296571-45.60263 45.296571 45.296571 0 0 1 45.296571 45.60263z" fill="#48B8BF" ></path><path d="M592.342622 376.381453a49.88744 49.88744 0 1 1-49.581382-49.88744 49.88744 49.88744 0 0 1 49.581382 49.88744z" fill="#FFFFFF" ></path><path d="M574.285205 376.381453a30.605791 30.605791 0 1 1-30.605792-30.605791 30.605791 30.605791 0 0 1 30.605792 30.605791z" fill="#48B8BF" ></path><path d="M731.048068 230.789704l165.975207-62.099151 18.883774 50.46895-165.975207 62.068545z" fill="#FFE610" ></path><path d="M734.047436 202.785404l145.836596-54.294674 9.426584 25.31099-145.867202 54.294674z" fill="#F7A53F" ></path><path d="M808.419509 259.161272l23.872517 63.353988 31.523966 35.808776-19.893765 18.057417-48.051092-38.257239-27.851271-63.660046 40.399645-15.302896zM854.940312 242.022029l23.56646 63.04793-0.306058 47.745035 26.627038 0.612116 11.324143-60.293409-20.811938-66.414568-40.399645 15.302896zM716.173654 94.379691l102.345766-38.257239 37.216643 99.468822-102.345767 38.257239z" fill="#7A807D" ></path><path d="M841.473764 83.790087a66.108509 66.108509 0 0 1-65.802452 66.10851l-407.669142 15.608953a67.944857 67.944857 0 0 1-11.324142 0 82.635637 82.635637 0 0 1 0-165.271273 67.944857 67.944857 0 0 1 11.324142 0l407.669142 17.445301A66.108509 66.108509 0 0 1 841.473764 83.790087z" fill="#FFE610" ></path><path d="M402.892773 83.790087a46.520803 46.520803 0 1 1-46.520803-46.214745A46.520803 46.520803 0 0 1 402.892773 83.790087z" fill="#FFFFFF" ></path><path d="M386.059587 83.790087a30.605791 30.605791 0 1 1-30.605791-30.605791 30.605791 30.605791 0 0 1 30.605791 30.605791z" fill="#48B8BF" ></path><path d="M810.867972 83.790087a38.257239 38.257239 0 1 1-39.787528-38.257239A38.257239 38.257239 0 0 1 810.867972 83.790087z" fill="#FFFFFF" ></path><path d="M795.565077 83.790087a24.484633 24.484633 0 1 1-24.484633-24.484633 24.484633 24.484633 0 0 1 24.484633 24.484633z" fill="#48B8BF" ></path><path d="M106.93477 852.913626h639.66104v171.086374H106.93477z" fill="#FFE610" ></path><path d="M383.305066 709.678522h337.275822v207.201208H383.305066z" fill="#4D4D4D" ></path><path d="M407.177584 732.02075h291.061076v161.904636H407.177584z" fill="#FFFFFF" ></path><path d="M429.825869 755.893267h159.150116v16.22107h-159.150116zM429.825869 784.356653h131.604903v16.22107h-131.604903zM429.825869 812.820039h199.855818v16.22107h-199.855818zM429.825869 841.283425h146.601741v16.22107h-146.601741z" fill="#92D5D2" ></path><path d="M507.564579 732.326808l-31.830023 161.904636H407.177584v-161.904636h100.386995z" fill="#F5F5F5" opacity=".5" ></path><path d="M474.816383 916.87973h155.783478v31.830023h-155.783478z" fill="#7A807D" ></path><path d="M106.93477 977.173139h639.66104v46.826861H106.93477z" fill="#F7A53F" ></path><path d="M252.006221 899.740487h66.414567v48.969266H252.006221z" fill="#7A807D" ></path><path d="M319.64502 817.716966l-3.672695 11.324143-21.730112 70.699378h-21.730112l23.872518-76.820537 3.366637-11.324143 19.893764 6.121159z" fill="#999999" ></path><path d="M341.069074 809.147344A28.463386 28.463386 0 1 1 321.17531 773.950684a28.463386 28.463386 0 0 1 19.893764 35.19666z" fill="#48B8BF" ></path><path d="M322.705599 793.538391a13.16049 13.16049 0 1 1-26.014923 0 13.16049 13.16049 0 0 1 26.014923 0z" fill="#FFFFFF" ></path><path d="M165.085773 899.740487h66.414568v49.275324H165.085773z" fill="#7A807D" ></path><path d="M163.861542 817.716966l3.366637 11.324143 22.03617 70.699378h21.730111l-23.872517-76.820537-3.672695-11.324143-19.587706 6.121159z" fill="#999999" ></path><path d="M142.437488 809.147344a28.157328 28.157328 0 1 0 18.669532-35.19666 28.157328 28.157328 0 0 0-18.669532 35.19666z" fill="#F7A53F" ></path><path d="M160.800963 793.538391a13.16049 13.16049 0 1 0 12.854432-12.854433 12.854432 12.854432 0 0 0-12.854432 12.854433z" fill="#FFFFFF" ></path></symbol><symbol id="icon-jixiebi2" viewBox="0 0 1164 1024"><path d="M848.55632 485.108049h233.370249v430.146938h-233.370249z" fill="#FFE610" ></path><path d="M974.217224 605.245396h154.314351v64.211341h-154.314351zM974.217224 689.82485h154.314351v64.211341h-154.314351zM974.217224 774.749527h154.314351v64.211341h-154.314351z" fill="#54D9D9" ></path><path d="M306.557369 245.869021l99.078789 31.760448 69.389675 22.094225 145.683794 46.259783 69.734897 22.094225 119.101681 37.974449 66.627896 21.058558 1.035667-2.761778 21.749003-69.044453 23.129891-72.151453-22.784669-7.249667-79.746343-25.201225-20.368113-6.559223-337.972595-107.364124-21.40378-6.904445-87.686455-27.617781-45.224116 142.576794-0.345222 1.035667z" fill="#FFE610" ></path><path d="M412.33347 357.755556l10.70189-33.555604 441.470229 140.401894-10.667368 33.555604z" fill="#A3A3A3" ></path><path d="M380.331366 357.686512l25.408359-79.953476 69.424197 22.094225-25.408359 79.918953zM595.508402 425.626253l25.408359-79.953476 69.389674 22.059703-25.373836 79.953476z" fill="#3F3F3F" ></path><path d="M809.200982 411.575707a144.302906 144.302906 0 0 0 4.833112 37.284004 138.088905 138.088905 0 0 0 18.987224 43.152783 144.302906 144.302906 0 0 0 15.535002 19.677669 146.719461 146.719461 0 0 0 256.154919-100.114456 144.648128 144.648128 0 0 0-34.522226-94.5909 180.206021 180.206021 0 0 0-15.880224-16.570668 146.719461 146.719461 0 0 0-96.317012-34.522227 148.445573 148.445573 0 0 0-58.687784 10.356668 146.719461 146.719461 0 0 0-89.757788 129.803571 34.522226 34.522226 0 0 0-0.345223 5.523556z" fill="#FFC200" ></path><path d="M876.174101 411.575707A80.091565 80.091565 0 1 0 956.265666 331.484142a80.091565 80.091565 0 0 0-80.091565 80.091565z" fill="#FFFFFF" ></path><path d="M904.827549 411.575707a51.438117 51.438117 0 1 0 51.438117-51.092895 51.438117 51.438117 0 0 0-51.438117 51.092895z" fill="#54D9D9" ></path><path d="M218.076903 216.594173l37.007826-117.202958 88.894733 28.06657L306.902591 244.660743zM86.512699 119.345062l92.450522-16.467102 19.401491 108.745013-92.450522 16.467102z" fill="#8A8A8A" ></path><path d="M0 65.317778l45.224116 254.083585 21.058558-3.797445 31.415226-5.523556 22.094225-4.142667-13.808891-77.675009-19.332446-109.090235-12.082779-67.318341-14.499335 2.761778-21.403781 3.797445-38.664893 6.904445z" fill="#292929" ></path><path d="M95.626567 436.43171l16.570668-3.107-14.499335-123.244348-31.415226 5.523556 29.343893 120.827792z" fill="#7A807D" ></path><path d="M138.088905 153.349455a80.782009 80.782009 0 0 0 31.070003 63.520896 79.40112 79.40112 0 0 0 49.021562 16.915891 75.258453 75.258453 0 0 0 32.10567-6.904445 80.091565 80.091565 0 0 0 48.331117-73.532342 78.710676 78.710676 0 0 0-13.808891-44.18845 76.984564 76.984564 0 0 0-31.760448-27.617781l-7.59489-3.452222a83.543787 83.543787 0 0 0-12.428001-3.452223H217.835247A80.091565 80.091565 0 0 0 138.088905 153.349455z" fill="#FFC200" ></path><path d="M167.087575 153.694677A51.092895 51.092895 0 1 0 217.835247 103.637449a50.747673 50.747673 0 0 0-50.747672 50.057228z" fill="#FFFFFF" ></path><path d="M185.384355 153.694677a32.450893 32.450893 0 1 0 32.450892-34.522226 32.450893 32.450893 0 0 0-32.450892 34.522226z" fill="#54D9D9" ></path><path d="M38.664893 58.413333l21.403781-3.797445C66.627897 19.74844 108.745013 11.117883 141.88635 14.915328a89.757788 89.757788 0 0 1 81.472454 58.687784h9.321001a83.543787 83.543787 0 0 1 12.428001 3.452223l7.59489 3.452223c53.854673-42.807561 165.016241-17.951558 187.110466 48.331116l21.40378 6.904446C439.813162 59.449 307.593036 24.581551 241.655583 69.115223a113.923346 113.923346 0 0 0-108.745012-69.044452C90.793455 0.070771 41.081449 10.772661 38.664893 58.413333zM799.189537 244.14291l20.368113 6.559223a345.222262 345.222262 0 0 0 89.412566-34.522226c48.331117-22.784669 133.601015-34.522226 144.99335 34.522226a114.613791 114.613791 0 0 1 0 48.676339 180.206021 180.206021 0 0 1 15.880224 16.570668c15.880224-50.057228 3.797445-107.364124-54.545117-124.280014-83.198565-22.439447-141.541127 45.569339-216.109136 52.473784z" fill="#3F3F3F" ></path><path d="M44.18845 731.251522a105.638012 105.638012 0 0 0 105.638012 105.638012h698.729858v-31.415226H149.826462a74.222786 74.222786 0 0 1 0-148.445573h698.729858v-31.415225H149.826462a105.638012 105.638012 0 0 0-105.638012 105.638012z" fill="#8A8A8A" ></path><path d="M75.603675 731.251522a74.222786 74.222786 0 0 0 74.222787 74.222786h698.729858V655.993069H149.826462a74.222786 74.222786 0 0 0-74.222787 75.258453z" fill="#FFE610" ></path><path d="M103.566679 731.251522a51.092895 51.092895 0 1 0 50.747672-50.747673A50.747673 50.747673 0 0 0 103.566679 731.251522z" fill="#FFFFFF" ></path><path d="M121.863459 731.251522a32.450893 32.450893 0 1 0 32.450892-32.450893 32.450893 32.450893 0 0 0-32.450892 32.450893zM290.331922 731.251522a34.522226 34.522226 0 0 0 34.522227 34.522226h414.266714a34.522226 34.522226 0 0 0 34.522226-34.522226 34.522226 34.522226 0 0 0-34.522226-34.522226h-414.266714a34.522226 34.522226 0 0 0-34.522227 34.522226z" fill="#54D9D9" ></path><path d="M827.15254 877.625761h276.523032v61.794785h-276.523032z" fill="#F7A53F" ></path><path d="M839.925764 939.765768h250.976584v31.070004h-250.976584z" fill="#707070" ></path><path d="M747.75142 657.028735v148.445573h43.152783v31.415226h57.652117v-211.276024h-57.652117v31.415225h-43.152783z" fill="#B3B3B3" opacity=".76" ></path><path d="M14.499335 970.490549h1149.590133v53.509451H14.499335z" fill="#B86805" ></path><path d="M154.314351 836.889534H272.725587v133.601015H154.314351zM614.150404 836.889534h118.411236v133.601015h-118.411236z" fill="#F7A53F" ></path><path d="M614.150404 836.889534h118.411236v78.365453h-118.411236zM154.314351 836.889534H272.725587v78.365453H154.314351z" fill="#B3B3B3" opacity=".76" ></path></symbol><symbol id="icon-jixiebi4" viewBox="0 0 1123 1024"><path d="M502.569098 505.335276h543.234824v85.15391H502.569098z" fill="#FFE610" ></path><path d="M483.047648 203.089382a81.451566 81.451566 0 0 1-41.06236 73.373725l-302.919047 173.33701a82.124719 82.124719 0 0 1-81.788143-143.045105l302.919047-173.33701a82.124719 82.124719 0 0 1 83.807603 0 79.768682 79.768682 0 0 1 27.935868 28.945597A77.412645 77.412645 0 0 1 483.047648 203.089382z" fill="#FFC200" ></path><path d="M39.776109 803.542249h1082.094151v220.121174H39.776109z" fill="#FFE610" ></path><path d="M39.776109 971.830609h1082.094151v52.169391H39.776109zM466.218812 723.43699v146.747449H219.844654v-146.747449a123.187079 123.187079 0 0 1 246.374158 0z" fill="#FFC200" ></path><path d="M396.210854 790.415757a100.973016 100.973016 0 0 1-141.698798-23.896947l-235.603704-331.864645a100.973016 100.973016 0 0 1 23.896947-141.362222 100.973016 100.973016 0 0 1 141.698799 23.896947l235.603703 331.528068a100.973016 100.973016 0 0 1-24.233523 141.698799z" fill="#FFE610" ></path><path d="M146.470929 451.146424a86.16364 86.16364 0 1 1 29.282174-118.138428 86.16364 86.16364 0 0 1-29.282174 118.138428z" fill="#B8B8B8" ></path><path d="M131.661553 424.556864a56.881466 56.881466 0 1 1 19.52145-78.085799 56.544889 56.544889 0 0 1-19.52145 78.085799z" fill="#B8B8B8" ></path><path d="M120.554522 405.035414a35.677132 35.677132 0 0 1-36.686863-60.920386A35.677132 35.677132 0 1 1 120.554522 405.035414z" fill="#FFFFFF" ></path><path d="M370.9676 757.767815a56.881466 56.881466 0 1 1 19.184873-78.085798 56.881466 56.881466 0 0 1-19.184873 78.085798z" fill="#B8B8B8" ></path><path d="M358.850839 739.592672a35.677132 35.677132 0 1 1 12.116761-48.803624 35.677132 35.677132 0 0 1-12.116761 48.803624z" fill="#FFFFFF" ></path><path d="M423.136992 384.167657l-112.416624 66.305614-32.984519-55.871735 112.753201-65.969037 9.760725 16.492259 13.463069 22.887217 9.424148 16.155682z" fill="#8A8A8A" ></path><path d="M400.18246 345.023785l70.512822-41.398937 13.463069 22.887217-70.512823 41.432594z" fill="#C4C4C4" ></path><path d="M489.442606 313.823123a21.877487 21.877487 0 0 1-11.780186 27.935868 21.54091 21.54091 0 0 1-27.935867-12.116762l-29.955328-73.373725a21.54091 21.54091 0 0 1 12.116762-27.935868 21.204333 21.204333 0 0 1 27.599291 11.780186z" fill="#F7A53F" ></path><path d="M482.037918 318.19862a12.453339 12.453339 0 0 1-9.424148 14.809376 12.789915 12.789915 0 0 1-14.809376-9.424148 12.789915 12.789915 0 0 1 9.424148-14.809376 12.453339 12.453339 0 0 1 14.809376 9.424148z" fill="#707070" ></path><path d="M303.652257 388.543155a24.5701 24.5701 0 0 0-7.404688 8.077841l-24.906677 45.10128 32.311365 44.764704 36.350285-65.63246a24.906677 24.906677 0 0 0-36.013709-33.657672z m12.453338 6.394957a14.472799 14.472799 0 0 1 16.155683 12.116762 14.136222 14.136222 0 0 1-12.116762 16.155683 13.799645 13.799645 0 0 1-16.155683-11.780185 14.136222 14.136222 0 0 1 13.463069-16.49226z" fill="#B86805" ></path><path d="M305.33514 411.430372a13.799645 13.799645 0 0 0 16.155683 11.780185 14.136222 14.136222 0 0 0 12.116762-16.155683 14.472799 14.472799 0 0 0-16.155683-12.116762 14.136222 14.136222 0 0 0-12.116762 16.49226z" fill="#5E5E5E" ></path><path d="M625.4196 163.709906l-19.858026 12.116762-37.360016 22.55064-19.858027 12.116762-20.867756-34.667402-40.389207-66.64219-19.184872-31.301635 9.424148-5.721804 58.227772-35.340556 9.424148-5.385227 80.441836 132.27465z" fill="#8A8A8A" ></path><path d="M568.066927 198.276335l37.124412-22.516982 36.484917 60.14626-37.15807 22.55064z" fill="#4D4D4D" ></path><path d="M931.031261 336.373763l-85.15391 217.765137h-128.572307l-46.447587-118.811581-30.965058-79.768683-7.404688-19.184873 46.111011-46.447587h205.648375l46.784164 46.447587z" fill="#AEBABD" ></path><path d="M744.668732 483.861681l105.954351-43.182793 2.423352 5.890093-105.988009 43.182793zM840.8287 361.953594l-120.157889-26.252984 1.682884-6.058381 119.821312 26.252984-1.346307 6.058381zM683.916634 363.838423l6.125696-1.851172 32.984518 109.252803-6.159353 1.851172z" fill="#6A5060" ></path><path d="M880.544753 403.015954a49.813354 49.813354 0 1 1-49.813354-49.813355 50.149931 50.149931 0 0 1 49.813354 49.813355zM746.923796 359.597557a33.657672 33.657672 0 1 1-33.657672-33.657672 33.657672 33.657672 0 0 1 33.657672 33.657672zM767.454975 465.282647a26.589561 26.589561 0 0 1-26.58956 26.252984A26.252984 26.252984 0 0 1 741.201991 438.693086a26.589561 26.589561 0 0 1 26.252984 26.589561z" fill="#FFFFFF" ></path><path d="M846.887081 403.015954a16.155683 16.155683 0 1 1-16.155682-16.155683 16.155683 16.155683 0 0 1 16.155682 16.155683zM724.709732 359.597557a10.097302 10.097302 0 0 1-10.097302 9.760725 9.760725 9.760725 0 1 1 0-19.52145 10.097302 10.097302 0 0 1 10.097302 9.760725zM748.943256 465.282647A7.741265 7.741265 0 0 1 741.201991 472.350758a8.077841 8.077841 0 0 1-8.077841-8.077842 8.077841 8.077841 0 0 1 8.077841-8.077841 8.077841 8.077841 0 0 1 7.741265 9.087572z" fill="#788B90" opacity=".37" ></path><path d="M698.456748 219.581642h166.268899v46.11101h-166.268899z" fill="#F7A53F" ></path><path d="M702.159092 223.620562h5.048651v38.03317h-5.048651zM711.246663 223.620562h5.048651v38.03317h-5.048651zM720.334235 223.620562h5.048651v38.03317h-5.048651zM729.421806 223.620562h5.048651v38.03317h-5.048651zM738.509378 223.620562h5.04865v38.03317h-5.04865zM747.596949 223.620562h5.048651v38.03317h-5.048651zM756.68452 223.620562h5.048651v38.03317h-5.048651zM765.772092 223.620562h5.048651v38.03317h-5.048651zM774.859663 223.620562h5.048651v38.03317H774.859663zM783.610658 223.620562h5.048651v38.03317h-5.048651zM792.698229 223.620562h5.048651v38.03317h-5.048651zM801.785801 223.620562h5.04865v38.03317h-5.04865zM810.873372 223.620562h5.048651v38.03317h-5.048651zM819.960944 223.620562h5.04865v38.03317h-5.04865zM829.048515 223.620562h5.048651v38.03317h-5.048651zM838.136086 223.620562h5.048651v38.03317h-5.048651zM847.223658 223.620562h5.048651v38.03317h-5.048651zM856.311229 223.620562h5.048651v38.03317h-5.048651z" fill="#788B90" opacity=".38" ></path><path d="M738.845954 265.692652h85.490487v23.896947h-85.490487z" fill="#707070" ></path><path d="M735.816764 288.916446h-1.682884L640.228976 355.558636l-39.0429 26.926138-4.712074 3.365767-16.492259-23.896947a25.916407 25.916407 0 0 1 6.731534-36.013709l97.270672-67.315344a25.916407 25.916407 0 0 1 36.013709 6.731534z" fill="#58BFD2" ></path><path d="M670.857457 435.327319h-33.657672a12.116762 12.116762 0 0 1-10.433878-8.414418l-24.906677-44.428127 39.042899-26.926138z" fill="#8A8A8A" ></path><path d="M827.365631 288.916446h1.682884l94.241481 65.63246 39.0429 26.926138 4.712074 3.365767 16.492259-23.896947a25.916407 25.916407 0 0 0-6.731534-35.003979l-97.270672-67.315344a25.916407 25.916407 0 0 0-36.013709 6.731534z" fill="#58BFD2" ></path><path d="M892.324938 435.327319h33.657672a12.116762 12.116762 0 0 0 10.433878-8.414418l24.906677-44.428127-39.042899-26.926138z" fill="#8A8A8A" ></path><path d="M738.845954 265.692652h85.490487v12.116762h-85.490487zM922.95342 355.558636l-31.301635 79.768683-46.447588 118.811581 49.140201-194.541343-70.007957-69.671381h4.038921l94.578058 65.63246z" fill="#848484" opacity=".25" ></path><path d="M661.433309 321.900964l-48.467048-67.988497 21.204334-12.789915 38.033169 74.383455-10.770455 6.394957z" fill="#7A807D" ></path><path d="M535.553616 36.820483l-58.227772 33.657672-11.780186-19.184873A33.657672 33.657672 0 0 1 502.905674 1.143351a33.657672 33.657672 0 0 1 21.204334 15.482529z" fill="#F7A53F" ></path><path d="M527.475775 175.826668L483.047648 203.089382A77.412645 77.412645 0 0 0 471.940616 164.046483a79.768682 79.768682 0 0 0-27.599291-28.272444l42.745243-25.916408zM527.475775 175.826668l-40.389207-66.64219 40.389207 66.64219z" fill="#C4C4C4" ></path><path d="M956.274515 854.028757H600.512923l32.311365-25.243254h290.802285l32.647942 25.243254z" fill="#999999" ></path><path d="M650.999431 304.062398l-70.007958 14.809376 69.671381 8.414418-4.712074 38.033169 25.243254-25.243254 22.887217 25.243254-3.702344-36.350286 35.003979-1.682883-31.974789-19.52145 14.809376-35.677132-33.657672 24.906677-26.252984-43.754973 2.692614 50.823084z" fill="#FFFFFF" ></path><path d="M956.274515 803.542249H600.512923l32.311365 25.243254h290.802285l32.647942-25.243254z" fill="#7A807D" ></path><path d="M956.274515 803.542249H600.512923l32.311365-25.579831h290.802285l32.647942 25.579831z" fill="#999999" ></path><path d="M956.274515 752.719165H600.512923l32.311365 25.243253h290.802285l32.647942-25.243253zM956.274515 702.232657H600.512923l32.311365 25.243254h290.802285l32.647942-25.243254z" fill="#7A807D" ></path><path d="M956.274515 752.719165H600.512923l32.311365-25.243254h290.802285l32.647942 25.243254z" fill="#999999" ></path><path d="M584.693817 632.561276h378.985386v69.671381H584.693817zM584.693817 854.028757h378.985386v34.667402H584.693817z" fill="#FFC200" ></path><path d="M502.569098 590.489186h543.234824v42.07209H502.569098z" fill="#F7A53F" ></path><path d="M273.696929 882.637778h80.441836v59.574079H273.696929z" fill="#7A807D" ></path><path d="M355.821648 783.011069l-4.375497 13.799646-26.589561 85.827063h-26.252984l28.945598-93.231751 4.375497-13.799646 23.896947 7.404688z" fill="#999999" ></path><path d="M381.738055 772.913768a33.657672 33.657672 0 1 1-22.55064-43.08182 33.657672 33.657672 0 0 1 22.55064 43.08182z" fill="#F7A53F" ></path><path d="M359.523992 753.728895a15.819106 15.819106 0 1 1-15.819106-15.819106 15.819106 15.819106 0 0 1 15.819106 15.819106z" fill="#FFFFFF" ></path><path d="M168.348416 882.637778h80.441835v59.574079H168.348416z" fill="#7A807D" ></path><path d="M166.665532 783.011069l4.375497 13.799646 26.589561 85.827063h26.252984l-28.945598-93.231751-4.03892-13.799646-24.233524 7.404688z" fill="#999999" ></path><path d="M140.749125 772.913768a33.657672 33.657672 0 1 0 67.315343-20.53118 33.657672 33.657672 0 0 0-43.08182-22.55064 33.657672 33.657672 0 0 0-24.233523 43.08182z" fill="#68FF4B" ></path><path d="M162.963188 753.728895a15.819106 15.819106 0 1 0 15.819106-15.819106 15.819106 15.819106 0 0 0-15.819106 15.819106z" fill="#FFFFFF" ></path></symbol></svg>', ((r) => {
|
|
1295
1295
|
var d = (a = (a = document.getElementsByTagName("script"))[a.length - 1]).getAttribute("data-injectcss"), a = a.getAttribute("data-disable-injectsvg");
|
|
1296
1296
|
if (!a) {
|
|
1297
|
-
var l, t, E,
|
|
1297
|
+
var l, t, E, O, f, U = function(ee, V) {
|
|
1298
1298
|
V.parentNode.insertBefore(ee, V);
|
|
1299
1299
|
};
|
|
1300
1300
|
if (d && !r.__iconfont__svg__cssinject__) {
|
|
@@ -1310,18 +1310,18 @@ window._iconfont_svg_string_4634042 = '<svg><symbol id="icon-lookAround" viewBox
|
|
|
1310
1310
|
V.innerHTML = r._iconfont_svg_string_4634042, (V = V.getElementsByTagName("svg")[0]) && (V.setAttribute("aria-hidden", "true"), V.style.position = "absolute", V.style.width = 0, V.style.height = 0, V.style.overflow = "hidden", V = V, (ee = document.body).firstChild ? U(V, ee.firstChild) : ee.appendChild(V));
|
|
1311
1311
|
}, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(l, 0) : (t = function() {
|
|
1312
1312
|
document.removeEventListener("DOMContentLoaded", t, !1), l();
|
|
1313
|
-
}, document.addEventListener("DOMContentLoaded", t, !1)) : document.attachEvent && (E = l,
|
|
1314
|
-
|
|
1313
|
+
}, document.addEventListener("DOMContentLoaded", t, !1)) : document.attachEvent && (E = l, O = r.document, f = !1, D(), O.onreadystatechange = function() {
|
|
1314
|
+
O.readyState == "complete" && (O.onreadystatechange = null, G());
|
|
1315
1315
|
});
|
|
1316
1316
|
}
|
|
1317
1317
|
function G() {
|
|
1318
1318
|
f || (f = !0, E());
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function D() {
|
|
1321
1321
|
try {
|
|
1322
|
-
|
|
1322
|
+
O.documentElement.doScroll("left");
|
|
1323
1323
|
} catch {
|
|
1324
|
-
return void setTimeout(
|
|
1324
|
+
return void setTimeout(D, 50);
|
|
1325
1325
|
}
|
|
1326
1326
|
G();
|
|
1327
1327
|
}
|
|
@@ -1350,9 +1350,9 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1350
1350
|
setup(r, { emit: d }) {
|
|
1351
1351
|
const a = d, l = r;
|
|
1352
1352
|
let t = null, E = !1;
|
|
1353
|
-
const
|
|
1353
|
+
const O = Q(null), f = Q(!1), U = Q("");
|
|
1354
1354
|
Q(!1);
|
|
1355
|
-
const G = Q(!1),
|
|
1355
|
+
const G = Q(!1), D = Q(!1), ee = Q(""), V = Q(!1), F = Q(""), R = Q(), {
|
|
1356
1356
|
currentModels: q,
|
|
1357
1357
|
initialCameraPosition: n,
|
|
1358
1358
|
initialTargetPosition: v,
|
|
@@ -1361,15 +1361,15 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1361
1361
|
getThreeJSObjects: m,
|
|
1362
1362
|
clearAllModels: w,
|
|
1363
1363
|
cleanup: z
|
|
1364
|
-
} = La(
|
|
1364
|
+
} = La(O), { loadUrdfFromUrl: ce } = Pa(
|
|
1365
1365
|
m,
|
|
1366
1366
|
q,
|
|
1367
1367
|
f,
|
|
1368
1368
|
U
|
|
1369
|
-
), { isAnimating: fe, toggleAnimation:
|
|
1369
|
+
), { isAnimating: fe, toggleAnimation: H, stopAnimation: X } = Ta(m, q), { isClipping: K, activeClippingAxis: M, toggleClipping: s, updateClippingPlanes: P } = Va(
|
|
1370
1370
|
m,
|
|
1371
1371
|
q
|
|
1372
|
-
), { urdfModel:
|
|
1372
|
+
), { urdfModel: Y } = Ra(
|
|
1373
1373
|
m,
|
|
1374
1374
|
q,
|
|
1375
1375
|
f,
|
|
@@ -1392,16 +1392,16 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1392
1392
|
};
|
|
1393
1393
|
b();
|
|
1394
1394
|
}), pe = (L) => {
|
|
1395
|
-
|
|
1395
|
+
D.value = !0, ee.value = L, L === "剖面视图" && !K.value && s();
|
|
1396
1396
|
}, ve = (L) => {
|
|
1397
|
-
V.value = !0,
|
|
1397
|
+
V.value = !0, F.value = L, L === "动画仿真" && a("getAnimationData");
|
|
1398
1398
|
}, p = () => {
|
|
1399
1399
|
t1(() => {
|
|
1400
1400
|
var L;
|
|
1401
|
-
(L =
|
|
1401
|
+
(L = R.value) == null || L.startAnimation();
|
|
1402
1402
|
});
|
|
1403
1403
|
};
|
|
1404
|
-
return
|
|
1404
|
+
return Ue(() => l.urdfUrl, async (L, b) => {
|
|
1405
1405
|
if (L)
|
|
1406
1406
|
try {
|
|
1407
1407
|
await se();
|
|
@@ -1419,17 +1419,17 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1419
1419
|
console.error("Three.js初始化失败:", L);
|
|
1420
1420
|
}
|
|
1421
1421
|
}), da(() => {
|
|
1422
|
-
E = !1, ee.value = "",
|
|
1422
|
+
E = !1, ee.value = "", F.value = "", window.removeEventListener("resize", c), fe.value && X(), z();
|
|
1423
1423
|
}), (L, b) => {
|
|
1424
1424
|
var $, _, I, N;
|
|
1425
1425
|
const g = Ee("el-scrollbar");
|
|
1426
1426
|
return he(), be("div", h0, [
|
|
1427
|
-
|
|
1427
|
+
B("div", {
|
|
1428
1428
|
ref_key: "threejsContainer",
|
|
1429
|
-
ref:
|
|
1429
|
+
ref: O,
|
|
1430
1430
|
class: "threejs-container"
|
|
1431
1431
|
}, null, 512),
|
|
1432
|
-
|
|
1432
|
+
B("div", f0, [
|
|
1433
1433
|
ie(Pe, {
|
|
1434
1434
|
name: "guanjianjiexi",
|
|
1435
1435
|
size: "34"
|
|
@@ -1451,7 +1451,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1451
1451
|
size: "34"
|
|
1452
1452
|
})
|
|
1453
1453
|
]),
|
|
1454
|
-
|
|
1454
|
+
B("div", v0, [
|
|
1455
1455
|
ie(Pe, {
|
|
1456
1456
|
name: "viewReset",
|
|
1457
1457
|
size: "24",
|
|
@@ -1471,23 +1471,23 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1471
1471
|
ie(Pe, {
|
|
1472
1472
|
name: "lookAround",
|
|
1473
1473
|
size: "24",
|
|
1474
|
-
onClick:
|
|
1475
|
-
title:
|
|
1474
|
+
onClick: Oe(H),
|
|
1475
|
+
title: Oe(fe) ? "停止动画" : "动画视图"
|
|
1476
1476
|
}, null, 8, ["onClick", "title"])
|
|
1477
1477
|
]),
|
|
1478
|
-
|
|
1478
|
+
B("div", m0, [
|
|
1479
1479
|
ie(Pe, {
|
|
1480
1480
|
name: "jiegoushu",
|
|
1481
1481
|
size: "24",
|
|
1482
1482
|
onClick: b[0] || (b[0] = (T) => pe("场景树")),
|
|
1483
|
-
active:
|
|
1483
|
+
active: D.value && ee.value === "场景树",
|
|
1484
1484
|
title: "场景树"
|
|
1485
1485
|
}, null, 8, ["active"]),
|
|
1486
1486
|
ie(Pe, {
|
|
1487
1487
|
name: "clipping",
|
|
1488
1488
|
size: "24",
|
|
1489
1489
|
onClick: b[1] || (b[1] = (T) => pe("剖面视图")),
|
|
1490
|
-
active:
|
|
1490
|
+
active: D.value && ee.value === "剖面视图",
|
|
1491
1491
|
title: "剖面视图"
|
|
1492
1492
|
}, null, 8, ["active"]),
|
|
1493
1493
|
ie(Pe, {
|
|
@@ -1501,7 +1501,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1501
1501
|
onClick: b[3] || (b[3] = (T) => pe("场景4"))
|
|
1502
1502
|
})
|
|
1503
1503
|
]),
|
|
1504
|
-
|
|
1504
|
+
B("div", y0, [
|
|
1505
1505
|
ie(Pe, {
|
|
1506
1506
|
name: "donghuafangzhen",
|
|
1507
1507
|
size: "24"
|
|
@@ -1514,7 +1514,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1514
1514
|
name: "guanjiekongzhi",
|
|
1515
1515
|
size: "24",
|
|
1516
1516
|
onClick: b[4] || (b[4] = (T) => ve("关节控制")),
|
|
1517
|
-
active: V.value &&
|
|
1517
|
+
active: V.value && F.value === "关节控制",
|
|
1518
1518
|
title: "关节控制"
|
|
1519
1519
|
}, null, 8, ["active"]),
|
|
1520
1520
|
ie(Pe, {
|
|
@@ -1522,7 +1522,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1522
1522
|
size: "24",
|
|
1523
1523
|
title: "动画仿真",
|
|
1524
1524
|
onClick: b[5] || (b[5] = (T) => ve("动画仿真")),
|
|
1525
|
-
active: V.value &&
|
|
1525
|
+
active: V.value && F.value === "动画仿真"
|
|
1526
1526
|
}, null, 8, ["active"]),
|
|
1527
1527
|
ie(Pe, {
|
|
1528
1528
|
name: "donghuafangzhen",
|
|
@@ -1533,13 +1533,13 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1533
1533
|
size: "24"
|
|
1534
1534
|
})
|
|
1535
1535
|
]),
|
|
1536
|
-
|
|
1536
|
+
B("div", g0, [
|
|
1537
1537
|
ie(Pe, {
|
|
1538
1538
|
name: "kuaitui",
|
|
1539
1539
|
size: "24",
|
|
1540
1540
|
backgroundColor: "#ffffff",
|
|
1541
1541
|
title: "快退",
|
|
1542
|
-
onClick: ($ =
|
|
1542
|
+
onClick: ($ = R.value) == null ? void 0 : $.fastBackward
|
|
1543
1543
|
}, null, 8, ["onClick"]),
|
|
1544
1544
|
ie(Pe, {
|
|
1545
1545
|
name: "bofang",
|
|
@@ -1553,86 +1553,86 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1553
1553
|
size: "24",
|
|
1554
1554
|
backgroundColor: "#ffffff",
|
|
1555
1555
|
title: "快进",
|
|
1556
|
-
onClick: (_ =
|
|
1556
|
+
onClick: (_ = R.value) == null ? void 0 : _.fastForward
|
|
1557
1557
|
}, null, 8, ["onClick"]),
|
|
1558
1558
|
ie(Pe, {
|
|
1559
1559
|
name: "zanting",
|
|
1560
1560
|
size: "24",
|
|
1561
1561
|
backgroundColor: "#ffffff",
|
|
1562
1562
|
title: "暂停",
|
|
1563
|
-
onClick: (I =
|
|
1563
|
+
onClick: (I = R.value) == null ? void 0 : I.pauseAnimation
|
|
1564
1564
|
}, null, 8, ["onClick"]),
|
|
1565
1565
|
ie(Pe, {
|
|
1566
1566
|
name: "zhongzhi",
|
|
1567
1567
|
size: "24",
|
|
1568
1568
|
backgroundColor: "#ffffff",
|
|
1569
1569
|
title: "停止",
|
|
1570
|
-
onClick: (N =
|
|
1570
|
+
onClick: (N = R.value) == null ? void 0 : N.resetAll
|
|
1571
1571
|
}, null, 8, ["onClick"])
|
|
1572
1572
|
]),
|
|
1573
|
-
A2(
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1573
|
+
A2(B("div", b0, [
|
|
1574
|
+
B("div", w0, [
|
|
1575
|
+
B("span", null, Ce(ee.value), 1),
|
|
1576
|
+
B("span", {
|
|
1577
1577
|
class: "close",
|
|
1578
|
-
onClick: b[6] || (b[6] = (T) =>
|
|
1578
|
+
onClick: b[6] || (b[6] = (T) => D.value = !1)
|
|
1579
1579
|
}, " X ")
|
|
1580
1580
|
]),
|
|
1581
1581
|
ie(g, { "max-height": "650px" }, {
|
|
1582
1582
|
default: we(() => [
|
|
1583
1583
|
ee.value === "场景树" ? (he(), Ie(u0, {
|
|
1584
1584
|
key: 0,
|
|
1585
|
-
model:
|
|
1585
|
+
model: Oe(Y)
|
|
1586
1586
|
}, null, 8, ["model"])) : Je("", !0),
|
|
1587
1587
|
ee.value === "剖面视图" ? (he(), be("div", A0, [
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
A2(
|
|
1588
|
+
B("div", k0, [
|
|
1589
|
+
B("label", _0, [
|
|
1590
|
+
A2(B("input", {
|
|
1591
1591
|
type: "radio",
|
|
1592
1592
|
name: "clipping-axis",
|
|
1593
1593
|
value: "none",
|
|
1594
1594
|
"onUpdate:modelValue": b[7] || (b[7] = (T) => il(M) ? M.value = T : null),
|
|
1595
|
-
onChange: b[8] || (b[8] = (...T) =>
|
|
1595
|
+
onChange: b[8] || (b[8] = (...T) => Oe(P) && Oe(P)(...T))
|
|
1596
1596
|
}, null, 544), [
|
|
1597
|
-
[nl,
|
|
1597
|
+
[nl, Oe(M)]
|
|
1598
1598
|
]),
|
|
1599
|
-
b[16] || (b[16] =
|
|
1599
|
+
b[16] || (b[16] = B("span", { class: "radio-text" }, "无切割", -1))
|
|
1600
1600
|
]),
|
|
1601
|
-
|
|
1602
|
-
A2(
|
|
1601
|
+
B("label", C0, [
|
|
1602
|
+
A2(B("input", {
|
|
1603
1603
|
type: "radio",
|
|
1604
1604
|
name: "clipping-axis",
|
|
1605
1605
|
value: "x",
|
|
1606
1606
|
"onUpdate:modelValue": b[9] || (b[9] = (T) => il(M) ? M.value = T : null),
|
|
1607
|
-
onChange: b[10] || (b[10] = (...T) =>
|
|
1607
|
+
onChange: b[10] || (b[10] = (...T) => Oe(P) && Oe(P)(...T))
|
|
1608
1608
|
}, null, 544), [
|
|
1609
|
-
[nl,
|
|
1609
|
+
[nl, Oe(M)]
|
|
1610
1610
|
]),
|
|
1611
|
-
b[17] || (b[17] =
|
|
1611
|
+
b[17] || (b[17] = B("span", { class: "radio-text" }, "X轴切割", -1))
|
|
1612
1612
|
]),
|
|
1613
|
-
|
|
1614
|
-
A2(
|
|
1613
|
+
B("label", z0, [
|
|
1614
|
+
A2(B("input", {
|
|
1615
1615
|
type: "radio",
|
|
1616
1616
|
name: "clipping-axis",
|
|
1617
1617
|
value: "y",
|
|
1618
1618
|
"onUpdate:modelValue": b[11] || (b[11] = (T) => il(M) ? M.value = T : null),
|
|
1619
|
-
onChange: b[12] || (b[12] = (...T) =>
|
|
1619
|
+
onChange: b[12] || (b[12] = (...T) => Oe(P) && Oe(P)(...T))
|
|
1620
1620
|
}, null, 544), [
|
|
1621
|
-
[nl,
|
|
1621
|
+
[nl, Oe(M)]
|
|
1622
1622
|
]),
|
|
1623
|
-
b[18] || (b[18] =
|
|
1623
|
+
b[18] || (b[18] = B("span", { class: "radio-text" }, "Y轴切割", -1))
|
|
1624
1624
|
]),
|
|
1625
|
-
|
|
1626
|
-
A2(
|
|
1625
|
+
B("label", M0, [
|
|
1626
|
+
A2(B("input", {
|
|
1627
1627
|
type: "radio",
|
|
1628
1628
|
name: "clipping-axis",
|
|
1629
1629
|
value: "z",
|
|
1630
1630
|
"onUpdate:modelValue": b[13] || (b[13] = (T) => il(M) ? M.value = T : null),
|
|
1631
|
-
onChange: b[14] || (b[14] = (...T) =>
|
|
1631
|
+
onChange: b[14] || (b[14] = (...T) => Oe(P) && Oe(P)(...T))
|
|
1632
1632
|
}, null, 544), [
|
|
1633
|
-
[nl,
|
|
1633
|
+
[nl, Oe(M)]
|
|
1634
1634
|
]),
|
|
1635
|
-
b[19] || (b[19] =
|
|
1635
|
+
b[19] || (b[19] = B("span", { class: "radio-text" }, "Z轴切割", -1))
|
|
1636
1636
|
])
|
|
1637
1637
|
])
|
|
1638
1638
|
])) : Je("", !0)
|
|
@@ -1640,12 +1640,12 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1640
1640
|
_: 1
|
|
1641
1641
|
})
|
|
1642
1642
|
], 512), [
|
|
1643
|
-
[ol,
|
|
1643
|
+
[ol, D.value]
|
|
1644
1644
|
]),
|
|
1645
|
-
A2(
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1645
|
+
A2(B("div", x0, [
|
|
1646
|
+
B("div", D0, [
|
|
1647
|
+
B("span", null, Ce(F.value), 1),
|
|
1648
|
+
B("span", {
|
|
1649
1649
|
class: "close",
|
|
1650
1650
|
onClick: b[15] || (b[15] = (T) => V.value = !1)
|
|
1651
1651
|
}, " X ")
|
|
@@ -1654,15 +1654,15 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1654
1654
|
default: we(() => [
|
|
1655
1655
|
A2(ie(o0, {
|
|
1656
1656
|
ref_key: "jointRef",
|
|
1657
|
-
ref:
|
|
1658
|
-
model:
|
|
1659
|
-
scene:
|
|
1657
|
+
ref: R,
|
|
1658
|
+
model: Oe(Y),
|
|
1659
|
+
scene: Oe(t),
|
|
1660
1660
|
animationData: r.animationData
|
|
1661
1661
|
}, null, 8, ["model", "scene", "animationData"]), [
|
|
1662
|
-
[ol,
|
|
1662
|
+
[ol, F.value === "关节控制"]
|
|
1663
1663
|
]),
|
|
1664
1664
|
A2(ie(ja, { animationData: r.animationData }, null, 8, ["animationData"]), [
|
|
1665
|
-
[ol,
|
|
1665
|
+
[ol, F.value === "动画仿真"]
|
|
1666
1666
|
])
|
|
1667
1667
|
]),
|
|
1668
1668
|
_: 1
|
|
@@ -1671,8 +1671,8 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1671
1671
|
[ol, V.value]
|
|
1672
1672
|
]),
|
|
1673
1673
|
f.value ? (he(), be("div", F0, [
|
|
1674
|
-
b[20] || (b[20] =
|
|
1675
|
-
|
|
1674
|
+
b[20] || (b[20] = B("div", { class: "loading-spinner" }, null, -1)),
|
|
1675
|
+
B("p", null, Ce(U.value), 1)
|
|
1676
1676
|
])) : Je("", !0)
|
|
1677
1677
|
]);
|
|
1678
1678
|
};
|
|
@@ -1695,16 +1695,16 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1695
1695
|
setup(r, { emit: d }) {
|
|
1696
1696
|
const a = Q(!1), l = Q(!1), t = Q(""), E = () => {
|
|
1697
1697
|
a.value = !1, l.value = null, t.value = "";
|
|
1698
|
-
},
|
|
1698
|
+
}, O = r, f = d, U = Q([]), G = Q(!1), D = Q(!1), ee = Q([]), V = Q(), F = ta(qe), R = Sa(qe), q = Q(!1), n = Q(), v = El(qe), { loginUserInfo: j } = l2(v), c = Q(), m = Q(!0), w = (X, K) => {
|
|
1699
1699
|
c.value === K ? m.value = !1 : m.value = !0, c.value = K == null ? void 0 : K.changeProp;
|
|
1700
1700
|
}, z = async (X) => {
|
|
1701
|
-
var M, s,
|
|
1701
|
+
var M, s, P, Y, k, se, pe, ve, p, L;
|
|
1702
1702
|
let K = [];
|
|
1703
1703
|
if ((M = X == null ? void 0 : X.toString()) != null && M.includes(".urdf")) {
|
|
1704
1704
|
t.value = X, a.value = !0;
|
|
1705
1705
|
return;
|
|
1706
1706
|
}
|
|
1707
|
-
if ((s = X == null ? void 0 : X.toString()) != null && s.includes(".stl") || (
|
|
1707
|
+
if ((s = X == null ? void 0 : X.toString()) != null && s.includes(".stl") || (P = X == null ? void 0 : X.toString()) != null && P.includes(".STL") || (Y = X == null ? void 0 : X.toString()) != null && Y.includes(".obj") || (k = X == null ? void 0 : X.toString()) != null && k.includes(".mtl")) {
|
|
1708
1708
|
let b, g = [], $ = {};
|
|
1709
1709
|
if (Array.isArray(X) ? b = X : b = X == null ? void 0 : X.split(","), b == null || b.forEach((_) => {
|
|
1710
1710
|
_.includes(".mtl") ? g.push(_) : $.blob = $.blob ? $.blob + "," + _ : _;
|
|
@@ -1721,7 +1721,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1721
1721
|
}), (p = $.blob) != null && p.includes(".stl") && (N = (N == null ? void 0 : N.replaceAll(">", "")) + ".urdf"), V.value = [{
|
|
1722
1722
|
name: N,
|
|
1723
1723
|
blobUrl: I
|
|
1724
|
-
}],
|
|
1724
|
+
}], D.value = !0;
|
|
1725
1725
|
}
|
|
1726
1726
|
} else {
|
|
1727
1727
|
const b = await F2.get(X, {
|
|
@@ -1739,77 +1739,77 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1739
1739
|
}), V.value = [{
|
|
1740
1740
|
name: _,
|
|
1741
1741
|
blobUrl: $
|
|
1742
|
-
}],
|
|
1742
|
+
}], D.value = !0;
|
|
1743
1743
|
}
|
|
1744
|
-
(K == null ? void 0 : K.length) > 0 &&
|
|
1744
|
+
(K == null ? void 0 : K.length) > 0 && R.setBlobUrls(K);
|
|
1745
1745
|
}, ce = () => {
|
|
1746
|
-
|
|
1746
|
+
D.value = !1;
|
|
1747
1747
|
}, fe = (X) => {
|
|
1748
|
-
var
|
|
1749
|
-
const K = (k = (
|
|
1748
|
+
var Y, k, se, pe;
|
|
1749
|
+
const K = (k = (Y = i(O.itemData)) == null ? void 0 : Y.find((ve) => (ve == null ? void 0 : ve.key) === "formContent")) == null ? void 0 : k.contents, M = i(X.content);
|
|
1750
1750
|
let s = {};
|
|
1751
1751
|
M && ((se = Object.values(M)) == null ? void 0 : se.length) > 0 && ((pe = Object.values(M)) == null || pe.forEach((ve, p) => {
|
|
1752
1752
|
s[K[p].key] = ve;
|
|
1753
1753
|
}));
|
|
1754
|
-
const
|
|
1754
|
+
const P = {
|
|
1755
1755
|
content: s,
|
|
1756
|
-
index:
|
|
1756
|
+
index: O == null ? void 0 : O.index,
|
|
1757
1757
|
buttonName: X == null ? void 0 : X.buttonName
|
|
1758
1758
|
};
|
|
1759
|
-
f("change",
|
|
1760
|
-
},
|
|
1759
|
+
f("change", P);
|
|
1760
|
+
}, H = async (X) => {
|
|
1761
1761
|
var ve, p, L, b, g, $, _, I, N, T, A, ne;
|
|
1762
1762
|
if (!X) return;
|
|
1763
|
-
const K = i(
|
|
1763
|
+
const K = i(O.itemData), M = K == null ? void 0 : K.map((y) => {
|
|
1764
1764
|
var x;
|
|
1765
1765
|
return (y == null ? void 0 : y.key) === "formContent" && ((x = y.contents) == null || x.map((W, J) => {
|
|
1766
|
-
var u, ue, le, e, o, h, C, S,
|
|
1766
|
+
var u, ue, le, e, o, h, C, S, Z, ge, oe, te, re, ye, ke, ae, me;
|
|
1767
1767
|
return W.type = W != null && W.type ? W.type : (e = (le = (ue = (u = W == null ? void 0 : W.key) == null ? void 0 : u.split("$")) == null ? void 0 : ue[1]) == null ? void 0 : le.split("(")) != null && e[0] ? (h = (o = d1) == null ? void 0 : o.find((_e) => {
|
|
1768
1768
|
var Ae, ze, $e, Ne;
|
|
1769
1769
|
return (_e == null ? void 0 : _e.key) === ((Ne = ($e = (ze = (Ae = W == null ? void 0 : W.key) == null ? void 0 : Ae.split("$")) == null ? void 0 : ze[1]) == null ? void 0 : $e.split("(")) == null ? void 0 : Ne[0]);
|
|
1770
|
-
})) == null ? void 0 : h.value : "Input", W.options = W != null && W.options ? W.options : ((
|
|
1770
|
+
})) == null ? void 0 : h.value : "Input", W.options = W != null && W.options ? W.options : ((Z = (S = (C = W == null ? void 0 : W.key) == null ? void 0 : C.split("$")) == null ? void 0 : S[1]) == null ? void 0 : Z.length) > 0 ? (re = (te = ra((oe = (ge = W == null ? void 0 : W.key) == null ? void 0 : ge.split("$")) == null ? void 0 : oe[1])) == null ? void 0 : te.split(",")) == null ? void 0 : re.map((_e) => ({
|
|
1771
1771
|
label: _e,
|
|
1772
1772
|
value: _e
|
|
1773
1773
|
})) : [], (ye = W == null ? void 0 : W.key) != null && ye.includes("$") && (W.key = (ae = (ke = W == null ? void 0 : W.key) == null ? void 0 : ke.split("$")) == null ? void 0 : ae[0]), W.value = (me = Object.values(X)) == null ? void 0 : me[J], W;
|
|
1774
1774
|
})), y;
|
|
1775
1775
|
});
|
|
1776
|
-
let s = i(U).value,
|
|
1776
|
+
let s = i(U).value, P = (p = (ve = i(M)) == null ? void 0 : ve.find((y) => (y == null ? void 0 : y.key) === "formContent")) == null ? void 0 : p.contents;
|
|
1777
1777
|
if (s = s == null ? void 0 : s.map((y) => {
|
|
1778
1778
|
var x;
|
|
1779
|
-
return y.value = (x =
|
|
1779
|
+
return y.value = (x = P == null ? void 0 : P.find((W) => (W == null ? void 0 : W.id) === (y == null ? void 0 : y.id))) == null ? void 0 : x.value, y;
|
|
1780
1780
|
}), !m.value) {
|
|
1781
1781
|
f("contentChange", {
|
|
1782
1782
|
contents: M,
|
|
1783
|
-
index:
|
|
1783
|
+
index: O.index
|
|
1784
1784
|
});
|
|
1785
1785
|
return;
|
|
1786
1786
|
}
|
|
1787
|
-
let
|
|
1787
|
+
let Y = "", k = (g = (b = (L = i(M)) == null ? void 0 : L.find((y) => (y == null ? void 0 : y.key) === "formContent")) == null ? void 0 : b.contents) == null ? void 0 : g.find((y, x) => {
|
|
1788
1788
|
var W, J;
|
|
1789
1789
|
return (y == null ? void 0 : y.label) === c.value || x.toString() === ((J = (W = c.value) == null ? void 0 : W.split("t")) == null ? void 0 : J[1].toString());
|
|
1790
1790
|
});
|
|
1791
1791
|
if ((I = (_ = ($ = i(M)) == null ? void 0 : $.find((y) => (y == null ? void 0 : y.key) === "formContent")) == null ? void 0 : _.contents) == null || I.forEach((y) => {
|
|
1792
1792
|
var x, W, J, u, ue;
|
|
1793
|
-
|
|
1793
|
+
Y === "" && ((J = (W = (x = y == null ? void 0 : y.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : W[1]) != null && J.includes("[")) && (Y = (ue = (u = y == null ? void 0 : y.optionUrl) == null ? void 0 : u.groupSelect) == null ? void 0 : ue[1]);
|
|
1794
1794
|
}), (N = k == null ? void 0 : k.optionUrl) != null && N.menuSelect && m.value) {
|
|
1795
1795
|
let y = await ca(k), x;
|
|
1796
1796
|
if (y == null || y.forEach((W) => {
|
|
1797
|
-
var J, u, ue, le, e, o, h, C, S,
|
|
1798
|
-
|
|
1797
|
+
var J, u, ue, le, e, o, h, C, S, Z;
|
|
1798
|
+
Y === ((u = (J = k == null ? void 0 : k.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : u[1]) && ((e = (le = (ue = k == null ? void 0 : k.optionUrl) == null ? void 0 : ue.groupSelect) == null ? void 0 : le[1]) != null && e.includes("[")) && ((Z = i(W)) == null ? void 0 : Z[(S = (C = (h = (o = k == null ? void 0 : k.optionUrl) == null ? void 0 : o.groupSelect) == null ? void 0 : h[1]) == null ? void 0 : C.replaceAll("[", "")) == null ? void 0 : S.replaceAll("]", "")]) === (k == null ? void 0 : k.value) && (x = W);
|
|
1799
1799
|
}), x) {
|
|
1800
1800
|
let W = i(s);
|
|
1801
1801
|
W = W == null ? void 0 : W.map((u) => {
|
|
1802
|
-
var ue, le, e, o, h, C, S,
|
|
1803
|
-
return (x != null && x[u == null ? void 0 : u.label] || x != null && x[(o = (e = (le = (ue = u == null ? void 0 : u.optionUrl) == null ? void 0 : ue.groupSelect) == null ? void 0 : le[1]) == null ? void 0 : e.replaceAll("[", "")) == null ? void 0 : o.replaceAll("]", "")]) && ((S = (C = (h = u == null ? void 0 : u.optionUrl) == null ? void 0 : h.groupSelect) == null ? void 0 : C[1]) != null && S.includes("[")) && (u.value = (x == null ? void 0 : x[u == null ? void 0 : u.label]) || (x == null ? void 0 : x[(te = (oe = (ge = (
|
|
1802
|
+
var ue, le, e, o, h, C, S, Z, ge, oe, te;
|
|
1803
|
+
return (x != null && x[u == null ? void 0 : u.label] || x != null && x[(o = (e = (le = (ue = u == null ? void 0 : u.optionUrl) == null ? void 0 : ue.groupSelect) == null ? void 0 : le[1]) == null ? void 0 : e.replaceAll("[", "")) == null ? void 0 : o.replaceAll("]", "")]) && ((S = (C = (h = u == null ? void 0 : u.optionUrl) == null ? void 0 : h.groupSelect) == null ? void 0 : C[1]) != null && S.includes("[")) && (u.value = (x == null ? void 0 : x[u == null ? void 0 : u.label]) || (x == null ? void 0 : x[(te = (oe = (ge = (Z = u == null ? void 0 : u.optionUrl) == null ? void 0 : Z.groupSelect) == null ? void 0 : ge[1]) == null ? void 0 : oe.replaceAll("[", "")) == null ? void 0 : te.replaceAll("]", "")])), u;
|
|
1804
1804
|
}), U.value = W;
|
|
1805
1805
|
let J = i(W);
|
|
1806
1806
|
J = J == null ? void 0 : J.map((u) => {
|
|
1807
1807
|
var ue, le, e, o;
|
|
1808
1808
|
return (le = (ue = u == null ? void 0 : u.optionUrl) == null ? void 0 : ue.menuSelect) != null && le.some((h) => h == null ? void 0 : h.includes) && (u.optionUrl.menuSelect = (o = (e = u == null ? void 0 : u.optionUrl) == null ? void 0 : e.menuSelect) == null ? void 0 : o.map((h) => {
|
|
1809
|
-
var C, S,
|
|
1809
|
+
var C, S, Z, ge;
|
|
1810
1810
|
if (h != null && h.includes("[")) {
|
|
1811
1811
|
let oe = (S = (C = h == null ? void 0 : h.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : C.split(":")) == null ? void 0 : S[1];
|
|
1812
|
-
h = (ge = (
|
|
1812
|
+
h = (ge = (Z = i(W)) == null ? void 0 : Z.find((te) => (te == null ? void 0 : te.label) === oe)) == null ? void 0 : ge.value;
|
|
1813
1813
|
}
|
|
1814
1814
|
return h;
|
|
1815
1815
|
})), u;
|
|
@@ -1818,7 +1818,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1818
1818
|
}
|
|
1819
1819
|
m.value = !1, f("contentChange", {
|
|
1820
1820
|
contents: M,
|
|
1821
|
-
index:
|
|
1821
|
+
index: O.index
|
|
1822
1822
|
});
|
|
1823
1823
|
let se = [], pe = [];
|
|
1824
1824
|
if ((A = i((T = M == null ? void 0 : M.find((y) => (y == null ? void 0 : y.key) === "formContent")) == null ? void 0 : T.contents)) == null || A.forEach((y) => {
|
|
@@ -1848,15 +1848,15 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1848
1848
|
return (e == null ? void 0 : e.name) === (x == null ? void 0 : x.name) && ((o = e == null ? void 0 : e.url) == null ? void 0 : o.includes(".mtl"));
|
|
1849
1849
|
})) == null ? void 0 : ue[0]) == null ? void 0 : le.url : W
|
|
1850
1850
|
});
|
|
1851
|
-
}),
|
|
1851
|
+
}), R.setObjUrl(se);
|
|
1852
1852
|
}
|
|
1853
1853
|
};
|
|
1854
|
-
return
|
|
1855
|
-
() =>
|
|
1854
|
+
return Ue(
|
|
1855
|
+
() => O.itemData,
|
|
1856
1856
|
async () => {
|
|
1857
|
-
var
|
|
1858
|
-
const X = (
|
|
1859
|
-
if ((s == null ? void 0 : s.contents) === "纵向" ? G.value = !1 : G.value = !0, q.value = (
|
|
1857
|
+
var Y, k, se, pe, ve, p, L, b, g, $, _, I, N, T;
|
|
1858
|
+
const X = (Y = O.itemData) == null ? void 0 : Y.find((A) => (A == null ? void 0 : A.key) === "formContent"), K = (k = i(O.itemData)) == null ? void 0 : k.find((A) => (A == null ? void 0 : A.key) === "formButton"), M = (se = i(O.itemData)) == null ? void 0 : se.find((A) => (A == null ? void 0 : A.key) === "formFlex"), s = (pe = i(O.itemData)) == null ? void 0 : pe.find((A) => (A == null ? void 0 : A.key) === "formWrap"), P = (ve = i(O.itemData)) == null ? void 0 : ve.find((A) => (A == null ? void 0 : A.key) === "enableWrap");
|
|
1859
|
+
if ((s == null ? void 0 : s.contents) === "纵向" ? G.value = !1 : G.value = !0, q.value = (P == null ? void 0 : P.contents) === void 0 ? !1 : P == null ? void 0 : P.contents, n.value = typeof (M == null ? void 0 : M.contents) != "boolean" ? !(!(M != null && M.contents) === "" || ((p = M == null ? void 0 : M.contents) == null ? void 0 : p.toUpperCase()) === "VERTICAL") : M == null ? void 0 : M.contents, ((L = X == null ? void 0 : X.contents) == null ? void 0 : L.length) > 0 && Array.isArray(X == null ? void 0 : X.contents)) {
|
|
1860
1860
|
const A = await ((b = X == null ? void 0 : X.contents) == null ? void 0 : b.map(async (u, ue) => {
|
|
1861
1861
|
var ge, oe, te, re, ye, ke, ae, me, _e, Ae, ze, $e, Ne, de, Ve, Le;
|
|
1862
1862
|
let le = (u == null ? void 0 : u.label) ?? (u == null ? void 0 : u.key) ?? "", e = (u == null ? void 0 : u.type) ?? "", o = (u == null ? void 0 : u.options) ?? [];
|
|
@@ -1889,7 +1889,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1889
1889
|
let x = "";
|
|
1890
1890
|
y == null || y.forEach((u) => {
|
|
1891
1891
|
u !== "" && u !== void 0 && (x = x === "" ? u : x + "/" + u);
|
|
1892
|
-
}),
|
|
1892
|
+
}), F.setSelectArray(y), F.setSelectString(x), U.value = (g = i(ne)) == null ? void 0 : g.map((u) => (u != null && u.value && d2(u == null ? void 0 : u.value) && Array.isArray(JSON.parse(u == null ? void 0 : u.value)) && (u.value = JSON.parse(u.value)), u));
|
|
1893
1893
|
let W = [], J = [];
|
|
1894
1894
|
if (($ = i(U.value)) == null || $.forEach((u) => {
|
|
1895
1895
|
var ue;
|
|
@@ -1905,24 +1905,24 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1905
1905
|
u == null || u.forEach((ue) => {
|
|
1906
1906
|
var e, o, h, C;
|
|
1907
1907
|
const le = (e = J == null ? void 0 : J.filter((S) => {
|
|
1908
|
-
var
|
|
1909
|
-
return (S == null ? void 0 : S.name) === (ue == null ? void 0 : ue.name) && ((
|
|
1908
|
+
var Z;
|
|
1909
|
+
return (S == null ? void 0 : S.name) === (ue == null ? void 0 : ue.name) && ((Z = S == null ? void 0 : S.url) == null ? void 0 : Z.includes(".mtl"));
|
|
1910
1910
|
})) == null ? void 0 : e.map((S) => S == null ? void 0 : S.url);
|
|
1911
1911
|
W.push({
|
|
1912
1912
|
objUrl: ue == null ? void 0 : ue.url,
|
|
1913
1913
|
mtlUrls: ((o = J == null ? void 0 : J.filter((S) => {
|
|
1914
|
-
var
|
|
1915
|
-
return (S == null ? void 0 : S.name) === (ue == null ? void 0 : ue.name) && ((
|
|
1914
|
+
var Z;
|
|
1915
|
+
return (S == null ? void 0 : S.name) === (ue == null ? void 0 : ue.name) && ((Z = S == null ? void 0 : S.url) == null ? void 0 : Z.includes(".mtl"));
|
|
1916
1916
|
})) == null ? void 0 : o.length) === 1 ? (C = (h = J == null ? void 0 : J.filter((S) => {
|
|
1917
|
-
var
|
|
1918
|
-
return (S == null ? void 0 : S.name) === (ue == null ? void 0 : ue.name) && ((
|
|
1917
|
+
var Z;
|
|
1918
|
+
return (S == null ? void 0 : S.name) === (ue == null ? void 0 : ue.name) && ((Z = S == null ? void 0 : S.url) == null ? void 0 : Z.includes(".mtl"));
|
|
1919
1919
|
})) == null ? void 0 : h[0]) == null ? void 0 : C.url : le
|
|
1920
1920
|
});
|
|
1921
|
-
}),
|
|
1921
|
+
}), R.setObjUrl(W);
|
|
1922
1922
|
}
|
|
1923
1923
|
(I = i(U.value)) == null || I.forEach((u) => {
|
|
1924
|
-
var ue, le, e, o, h, C, S,
|
|
1925
|
-
if ((le = (ue = u == null ? void 0 : u.value) == null ? void 0 : ue.toString()) != null && le.includes(".stl") || (o = (e = u == null ? void 0 : u.value) == null ? void 0 : e.toString()) != null && o.includes(".STL") || (C = (h = u == null ? void 0 : u.value) == null ? void 0 : h.toString()) != null && C.includes(".obj") || (
|
|
1924
|
+
var ue, le, e, o, h, C, S, Z, ge, oe, te, re, ye;
|
|
1925
|
+
if ((le = (ue = u == null ? void 0 : u.value) == null ? void 0 : ue.toString()) != null && le.includes(".stl") || (o = (e = u == null ? void 0 : u.value) == null ? void 0 : e.toString()) != null && o.includes(".STL") || (C = (h = u == null ? void 0 : u.value) == null ? void 0 : h.toString()) != null && C.includes(".obj") || (Z = (S = u == null ? void 0 : u.value) == null ? void 0 : S.toString()) != null && Z.includes(".mtl") || (oe = (ge = u == null ? void 0 : u.value) == null ? void 0 : ge.toString()) != null && oe.includes(".urdf")) {
|
|
1926
1926
|
let ke = {}, ae = [], me;
|
|
1927
1927
|
Array.isArray(u == null ? void 0 : u.value) ? me = u == null ? void 0 : u.value : me = (te = u == null ? void 0 : u.value) == null ? void 0 : te.split(","), me == null || me.forEach((_e) => {
|
|
1928
1928
|
_e.includes(".mtl") ? ae.push(_e) : ke.blob = ke.blob === "undefined" ? _e : ke.blob + "," + _e;
|
|
@@ -1955,12 +1955,12 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
1955
1955
|
isRowFlex: !1,
|
|
1956
1956
|
isEnableWrap: q.value,
|
|
1957
1957
|
onOnButtonClick: fe,
|
|
1958
|
-
onChange:
|
|
1958
|
+
onChange: H,
|
|
1959
1959
|
isButtonRow: G.value,
|
|
1960
1960
|
onPreview: z,
|
|
1961
1961
|
onBlurChange: w
|
|
1962
1962
|
}, null, 8, ["rowContents", "formRules", "buttonValue", "isEnableWrap", "isButtonRow"]),
|
|
1963
|
-
|
|
1963
|
+
D.value ? (he(), Ie(ma, {
|
|
1964
1964
|
key: 0,
|
|
1965
1965
|
fileDataList: V.value,
|
|
1966
1966
|
onDestroy: ce
|
|
@@ -2140,15 +2140,15 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2140
2140
|
},
|
|
2141
2141
|
emits: ["fixChange", "deleteChange"],
|
|
2142
2142
|
setup(r, { emit: d }) {
|
|
2143
|
-
const a = r, l = d, t = Q(!1), E = Q(""),
|
|
2143
|
+
const a = r, l = d, t = Q(!1), E = Q(""), O = b1(qe), { tableIndex: f } = l2(O);
|
|
2144
2144
|
Q(0);
|
|
2145
|
-
const U = Q(""), G = Q([]),
|
|
2145
|
+
const U = Q(""), G = Q([]), D = Q([]), ee = (c) => {
|
|
2146
2146
|
var w;
|
|
2147
2147
|
t.value = !0;
|
|
2148
2148
|
let m = [];
|
|
2149
2149
|
De == null || De.forEach((z) => {
|
|
2150
2150
|
let ce = i(f.value) + 1;
|
|
2151
|
-
|
|
2151
|
+
O.setTableIndex(ce), m.push({
|
|
2152
2152
|
label: z == null ? void 0 : z.label,
|
|
2153
2153
|
name: z == null ? void 0 : z.label,
|
|
2154
2154
|
type: z.type,
|
|
@@ -2159,17 +2159,17 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2159
2159
|
}), c != null && c.children && ((w = c == null ? void 0 : c.children) == null ? void 0 : w.length) > 0 && m.push({
|
|
2160
2160
|
children: c == null ? void 0 : c.children,
|
|
2161
2161
|
isFormColHidden: !0
|
|
2162
|
-
}), U.value = c == null ? void 0 : c.id, G.value = m,
|
|
2162
|
+
}), U.value = c == null ? void 0 : c.id, G.value = m, D.value = m;
|
|
2163
2163
|
}, V = (c) => {
|
|
2164
2164
|
l("fixChange", i(c));
|
|
2165
|
-
},
|
|
2165
|
+
}, F = (c) => {
|
|
2166
2166
|
l("deleteChange", i(c));
|
|
2167
|
-
},
|
|
2167
|
+
}, R = (c) => {
|
|
2168
2168
|
t.value = !0;
|
|
2169
2169
|
let m = [];
|
|
2170
2170
|
De == null || De.forEach((w) => {
|
|
2171
2171
|
let z = i(f.value) + 1;
|
|
2172
|
-
|
|
2172
|
+
O.setTableIndex(z), m.push({
|
|
2173
2173
|
label: w == null ? void 0 : w.label,
|
|
2174
2174
|
name: w == null ? void 0 : w.label,
|
|
2175
2175
|
type: w.type,
|
|
@@ -2177,13 +2177,13 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2177
2177
|
id: f.value,
|
|
2178
2178
|
contents: w == null ? void 0 : w.options
|
|
2179
2179
|
});
|
|
2180
|
-
}), E.value = c == null ? void 0 : c.id, G.value = m,
|
|
2180
|
+
}), E.value = c == null ? void 0 : c.id, G.value = m, D.value = m;
|
|
2181
2181
|
}, q = (c) => {
|
|
2182
|
-
let m = i(
|
|
2183
|
-
m = m == null ? void 0 : m.map((w) => (w.children || (w.value = c == null ? void 0 : c[w.name]), w)),
|
|
2182
|
+
let m = i(D.value);
|
|
2183
|
+
m = m == null ? void 0 : m.map((w) => (w.children || (w.value = c == null ? void 0 : c[w.name]), w)), D.value = m;
|
|
2184
2184
|
}, n = () => {
|
|
2185
2185
|
var m, w;
|
|
2186
|
-
G.value =
|
|
2186
|
+
G.value = D.value;
|
|
2187
2187
|
let c = {};
|
|
2188
2188
|
if (U.value !== "")
|
|
2189
2189
|
c.id = U.value, (m = G.value) == null || m.forEach((z) => {
|
|
@@ -2196,8 +2196,8 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2196
2196
|
});
|
|
2197
2197
|
else {
|
|
2198
2198
|
let z = i(f.value) + 1;
|
|
2199
|
-
|
|
2200
|
-
const fe = De == null ? void 0 : De.find((
|
|
2199
|
+
O.setTableIndex(z), c.id = "id" + f.value, (w = G.value) == null || w.forEach((ce) => {
|
|
2200
|
+
const fe = De == null ? void 0 : De.find((H) => (H == null ? void 0 : H.label) === (ce == null ? void 0 : ce.label));
|
|
2201
2201
|
fe ? c[fe.key] = ce.value : ce != null && ce.children && ce.children.length > 0 && (c.children = ce.children);
|
|
2202
2202
|
}), t.value = !1, l("fixChange", {
|
|
2203
2203
|
contents: i(c),
|
|
@@ -2205,9 +2205,9 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2205
2205
|
type: "add"
|
|
2206
2206
|
});
|
|
2207
2207
|
}
|
|
2208
|
-
U.value = "", G.value = [],
|
|
2208
|
+
U.value = "", G.value = [], D.value = [];
|
|
2209
2209
|
}, v = () => {
|
|
2210
|
-
t.value = !1, U.value = "", E.value = "", G.value = [],
|
|
2210
|
+
t.value = !1, U.value = "", E.value = "", G.value = [], D.value = [];
|
|
2211
2211
|
}, j = (c) => {
|
|
2212
2212
|
g2.confirm("是否确认要删除", "", {
|
|
2213
2213
|
confirmButtonText: "确认",
|
|
@@ -2226,15 +2226,15 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2226
2226
|
return (c, m) => {
|
|
2227
2227
|
const w = Ee("svg-icon");
|
|
2228
2228
|
return he(), be("div", V0, [
|
|
2229
|
-
(he(!0), be(Se, null,
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2229
|
+
(he(!0), be(Se, null, Re(a == null ? void 0 : a.tableChildContents, (z, ce) => (he(), be("div", P0, [
|
|
2230
|
+
B("div", O0, [
|
|
2231
|
+
B("div", R0, Ce(z.label), 1),
|
|
2232
|
+
B("div", H0, [
|
|
2233
2233
|
ie(w, {
|
|
2234
2234
|
name: "ChildAdd",
|
|
2235
2235
|
class: "svg-icon-content",
|
|
2236
2236
|
style: { width: "24px", height: "24px" },
|
|
2237
|
-
onClick: (fe) =>
|
|
2237
|
+
onClick: (fe) => R(z)
|
|
2238
2238
|
}, null, 8, ["onClick"]),
|
|
2239
2239
|
ie(w, {
|
|
2240
2240
|
name: "ChildFix",
|
|
@@ -2253,7 +2253,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2253
2253
|
z != null && z.children && z.children.length > 0 ? (he(), be("div", U0, [
|
|
2254
2254
|
ie(B1, {
|
|
2255
2255
|
tableChildContents: z == null ? void 0 : z.children,
|
|
2256
|
-
onDeleteChange:
|
|
2256
|
+
onDeleteChange: F,
|
|
2257
2257
|
onFixChange: V
|
|
2258
2258
|
}, null, 8, ["tableChildContents"])
|
|
2259
2259
|
])) : Je("", !0)
|
|
@@ -2264,7 +2264,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2264
2264
|
width: 840
|
|
2265
2265
|
}, {
|
|
2266
2266
|
default: we(() => [
|
|
2267
|
-
|
|
2267
|
+
B("div", j0, [
|
|
2268
2268
|
(he(), Ie(e2, {
|
|
2269
2269
|
rowContents: G.value,
|
|
2270
2270
|
key: G.value,
|
|
@@ -2274,12 +2274,12 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2274
2274
|
])
|
|
2275
2275
|
]),
|
|
2276
2276
|
footer: we(() => [
|
|
2277
|
-
|
|
2278
|
-
|
|
2277
|
+
B("div", { class: "dialog-footer" }, [
|
|
2278
|
+
B("div", {
|
|
2279
2279
|
onClick: v,
|
|
2280
2280
|
class: "cancel-button button"
|
|
2281
2281
|
}, Ce("取消")),
|
|
2282
|
-
|
|
2282
|
+
B("div", {
|
|
2283
2283
|
class: "ok-button button",
|
|
2284
2284
|
onClick: n
|
|
2285
2285
|
}, Ce("确认"))
|
|
@@ -2297,7 +2297,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2297
2297
|
},
|
|
2298
2298
|
emits: ["fixChange", "deleteChange"],
|
|
2299
2299
|
setup(r, { emit: d }) {
|
|
2300
|
-
const a = r, l = d, t = Q(!1), E = Q(""),
|
|
2300
|
+
const a = r, l = d, t = Q(!1), E = Q(""), O = b1(qe), { tableIndex: f } = l2(O), U = Q(""), G = Q([]), D = Q([]), ee = (c) => {
|
|
2301
2301
|
l("fixChange", i(c));
|
|
2302
2302
|
}, V = (c) => {
|
|
2303
2303
|
var w;
|
|
@@ -2305,7 +2305,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2305
2305
|
let m = [];
|
|
2306
2306
|
De == null || De.forEach((z) => {
|
|
2307
2307
|
let ce = i(f.value) + 1;
|
|
2308
|
-
|
|
2308
|
+
O.setTableIndex(ce), m.push({
|
|
2309
2309
|
label: z == null ? void 0 : z.label,
|
|
2310
2310
|
name: z == null ? void 0 : z.label,
|
|
2311
2311
|
type: z.type,
|
|
@@ -2316,13 +2316,13 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2316
2316
|
}), c != null && c.children && ((w = c == null ? void 0 : c.children) == null ? void 0 : w.length) > 0 && m.push({
|
|
2317
2317
|
children: c == null ? void 0 : c.children,
|
|
2318
2318
|
isFormColHidden: !0
|
|
2319
|
-
}), U.value = c == null ? void 0 : c.id, G.value = m,
|
|
2320
|
-
},
|
|
2319
|
+
}), U.value = c == null ? void 0 : c.id, G.value = m, D.value = m;
|
|
2320
|
+
}, F = (c) => {
|
|
2321
2321
|
t.value = !0;
|
|
2322
2322
|
let m = [];
|
|
2323
2323
|
De == null || De.forEach((w) => {
|
|
2324
2324
|
let z = i(f.value) + 1;
|
|
2325
|
-
|
|
2325
|
+
O.setTableIndex(z), m.push({
|
|
2326
2326
|
label: w == null ? void 0 : w.label,
|
|
2327
2327
|
name: w == null ? void 0 : w.label,
|
|
2328
2328
|
type: w.type,
|
|
@@ -2330,13 +2330,13 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2330
2330
|
id: f.value,
|
|
2331
2331
|
contents: w == null ? void 0 : w.options
|
|
2332
2332
|
});
|
|
2333
|
-
}), E.value = c == null ? void 0 : c.id, G.value = m,
|
|
2334
|
-
},
|
|
2335
|
-
let m = i(
|
|
2336
|
-
m = m == null ? void 0 : m.map((w) => (w.children || (w.value = c == null ? void 0 : c[w.name]), w)),
|
|
2333
|
+
}), E.value = c == null ? void 0 : c.id, G.value = m, D.value = m;
|
|
2334
|
+
}, R = (c) => {
|
|
2335
|
+
let m = i(D.value);
|
|
2336
|
+
m = m == null ? void 0 : m.map((w) => (w.children || (w.value = c == null ? void 0 : c[w.name]), w)), D.value = m;
|
|
2337
2337
|
}, q = () => {
|
|
2338
2338
|
var m, w;
|
|
2339
|
-
G.value =
|
|
2339
|
+
G.value = D.value;
|
|
2340
2340
|
let c = {};
|
|
2341
2341
|
if (U.value !== "")
|
|
2342
2342
|
c.id = U.value, (m = G.value) == null || m.forEach((z) => {
|
|
@@ -2349,8 +2349,8 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2349
2349
|
});
|
|
2350
2350
|
else {
|
|
2351
2351
|
let z = i(f.value) + 1;
|
|
2352
|
-
|
|
2353
|
-
const fe = De == null ? void 0 : De.find((
|
|
2352
|
+
O.setTableIndex(z), c.id = "idChild" + f.value, (w = G.value) == null || w.forEach((ce) => {
|
|
2353
|
+
const fe = De == null ? void 0 : De.find((H) => (H == null ? void 0 : H.label) === (ce == null ? void 0 : ce.label));
|
|
2354
2354
|
fe ? c[fe.key] = ce.value : ce != null && ce.children && ce.children.length > 0 && (c.children = ce.children);
|
|
2355
2355
|
}), t.value = !1, l("fixChange", {
|
|
2356
2356
|
contents: i(c),
|
|
@@ -2358,9 +2358,9 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2358
2358
|
type: "add"
|
|
2359
2359
|
});
|
|
2360
2360
|
}
|
|
2361
|
-
U.value = "", G.value = [],
|
|
2361
|
+
U.value = "", G.value = [], D.value = [];
|
|
2362
2362
|
}, n = () => {
|
|
2363
|
-
t.value = !1, U.value = "", E.value = "", G.value = [],
|
|
2363
|
+
t.value = !1, U.value = "", E.value = "", G.value = [], D.value = [];
|
|
2364
2364
|
}, v = (c) => {
|
|
2365
2365
|
g2.confirm("是否确认要删除", "", {
|
|
2366
2366
|
confirmButtonText: "确认",
|
|
@@ -2381,27 +2381,27 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2381
2381
|
return (c, m) => {
|
|
2382
2382
|
const w = Ee("svg-icon"), z = Ee("el-button");
|
|
2383
2383
|
return he(), be("div", J0, [
|
|
2384
|
-
(he(!0), be(Se, null,
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2384
|
+
(he(!0), be(Se, null, Re(a == null ? void 0 : a.tableChildContents, (ce, fe) => (he(), be("div", W0, [
|
|
2385
|
+
B("div", G0, [
|
|
2386
|
+
B("div", X0, Ce(ce.label), 1),
|
|
2387
|
+
B("div", q0, [
|
|
2388
2388
|
ie(w, {
|
|
2389
2389
|
name: "ChildAdd",
|
|
2390
2390
|
class: "svg-icon-content",
|
|
2391
2391
|
style: { width: "24px", height: "24px" },
|
|
2392
|
-
onClick: (
|
|
2392
|
+
onClick: (H) => F(ce)
|
|
2393
2393
|
}, null, 8, ["onClick"]),
|
|
2394
2394
|
ie(w, {
|
|
2395
2395
|
name: "ChildFix",
|
|
2396
2396
|
class: "svg-icon-content",
|
|
2397
2397
|
style: { width: "24px", height: "24px" },
|
|
2398
|
-
onClick: (
|
|
2398
|
+
onClick: (H) => V(ce)
|
|
2399
2399
|
}, null, 8, ["onClick"]),
|
|
2400
2400
|
ie(w, {
|
|
2401
2401
|
name: "ChildDelete",
|
|
2402
2402
|
class: "svg-icon-content",
|
|
2403
2403
|
style: { width: "24px", height: "24px" },
|
|
2404
|
-
onClick: (
|
|
2404
|
+
onClick: (H) => v(ce)
|
|
2405
2405
|
}, null, 8, ["onClick"])
|
|
2406
2406
|
])
|
|
2407
2407
|
]),
|
|
@@ -2419,17 +2419,17 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2419
2419
|
width: 840
|
|
2420
2420
|
}, {
|
|
2421
2421
|
default: we(() => [
|
|
2422
|
-
|
|
2422
|
+
B("div", Z0, [
|
|
2423
2423
|
(he(), Ie(e2, {
|
|
2424
2424
|
rowContents: G.value,
|
|
2425
2425
|
key: G.value,
|
|
2426
2426
|
isEnableWrap: !0,
|
|
2427
|
-
onChange:
|
|
2427
|
+
onChange: R
|
|
2428
2428
|
}, null, 8, ["rowContents"]))
|
|
2429
2429
|
])
|
|
2430
2430
|
]),
|
|
2431
2431
|
footer: we(() => [
|
|
2432
|
-
|
|
2432
|
+
B("div", Q0, [
|
|
2433
2433
|
ie(z, {
|
|
2434
2434
|
onClick: n,
|
|
2435
2435
|
class: "cancel-button button",
|
|
@@ -2473,7 +2473,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2473
2473
|
},
|
|
2474
2474
|
emits: ["change"],
|
|
2475
2475
|
setup(r, { emit: d }) {
|
|
2476
|
-
const a = r, l = d, t = Q([]), E = Q(!1),
|
|
2476
|
+
const a = r, l = d, t = Q([]), E = Q(!1), O = Q(!1), f = Q([]), U = Q(!1), G = Q([]), D = Q(!1), ee = Q([]), V = Q(""), F = Q(""), R = Q([]), q = Q([]), n = Q([]), v = Q([]), j = Q(!1), c = Q([]), m = Q([]), w = Q(0), z = Q([]), ce = Q([]), fe = Q([]), H = () => {
|
|
2477
2477
|
j.value = !0;
|
|
2478
2478
|
let e = [];
|
|
2479
2479
|
v2 == null || v2.forEach((o) => {
|
|
@@ -2488,7 +2488,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2488
2488
|
}), c.value = e, m.value = e;
|
|
2489
2489
|
}, X = () => {
|
|
2490
2490
|
var o, h, C;
|
|
2491
|
-
|
|
2491
|
+
O.value = !0;
|
|
2492
2492
|
let e = [];
|
|
2493
2493
|
(C = (h = (o = We) == null ? void 0 : o.find((S) => (S == null ? void 0 : S.key) === "Input")) == null ? void 0 : h.value) == null || C.forEach((S) => {
|
|
2494
2494
|
w.value++, e.push({
|
|
@@ -2503,9 +2503,9 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2503
2503
|
}, K = (e) => {
|
|
2504
2504
|
e || (z.value = ce.value);
|
|
2505
2505
|
}, M = async (e) => {
|
|
2506
|
-
var o, h, C, S,
|
|
2506
|
+
var o, h, C, S, Z, ge, oe, te, re, ye, ke, ae;
|
|
2507
2507
|
if ((e == null ? void 0 : e.类型) !== ((h = (o = ce.value) == null ? void 0 : o.find((me) => (me == null ? void 0 : me.label) === "类型")) == null ? void 0 : h.value)) {
|
|
2508
|
-
let me = [], _e = await ((
|
|
2508
|
+
let me = [], _e = await ((Z = (S = (C = We) == null ? void 0 : C.find((Ae) => (Ae == null ? void 0 : Ae.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : S.value) == null ? void 0 : Z.value) ? await ((ye = (re = (te = We) == null ? void 0 : te.find((Ae) => (Ae == null ? void 0 : Ae.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : re.value) == null ? void 0 : ye.value) : (oe = (ge = We) == null ? void 0 : ge.find((Ae) => (Ae == null ? void 0 : Ae.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : oe.value;
|
|
2509
2509
|
if (_e == null || _e.forEach((Ae) => {
|
|
2510
2510
|
w.value++, me.push({
|
|
2511
2511
|
label: Ae == null ? void 0 : Ae.label,
|
|
@@ -2530,11 +2530,11 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2530
2530
|
}
|
|
2531
2531
|
}, s = async (e) => {
|
|
2532
2532
|
await M(e), z.value = ce.value;
|
|
2533
|
-
},
|
|
2534
|
-
var C, S,
|
|
2535
|
-
|
|
2533
|
+
}, P = async (e) => {
|
|
2534
|
+
var C, S, Z, ge, oe, te, re, ye, ke;
|
|
2535
|
+
O.value = !0;
|
|
2536
2536
|
let o = [];
|
|
2537
|
-
const h = await ((
|
|
2537
|
+
const h = await ((Z = (S = (C = We) == null ? void 0 : C.find((ae) => (ae == null ? void 0 : ae.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : S.value) == null ? void 0 : Z.value) ? await ((ye = (re = (te = We) == null ? void 0 : te.find((ae) => (ae == null ? void 0 : ae.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : re.value) == null ? void 0 : ye.value) : (oe = (ge = We) == null ? void 0 : ge.find((ae) => (ae == null ? void 0 : ae.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : oe.value;
|
|
2538
2538
|
if (h == null || h.forEach((ae) => {
|
|
2539
2539
|
w.value++, o.push({
|
|
2540
2540
|
label: ae == null ? void 0 : ae.label,
|
|
@@ -2549,7 +2549,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2549
2549
|
o = o == null ? void 0 : o.map((me) => ((me == null ? void 0 : me.name) === "组信息选项" && (me.contents = ae), me));
|
|
2550
2550
|
}
|
|
2551
2551
|
V.value = e == null ? void 0 : e.id, z.value = await u2(D2(o)), ce.value = await u2(D2(o));
|
|
2552
|
-
},
|
|
2552
|
+
}, Y = (e) => {
|
|
2553
2553
|
g2.confirm("是否确认要删除", "", {
|
|
2554
2554
|
confirmButtonText: "确认",
|
|
2555
2555
|
cancelButtonText: "取消",
|
|
@@ -2565,16 +2565,16 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2565
2565
|
).catch(() => {
|
|
2566
2566
|
});
|
|
2567
2567
|
}, k = () => {
|
|
2568
|
-
|
|
2568
|
+
O.value = !1, z.value = [], V.value = "";
|
|
2569
2569
|
}, se = async () => {
|
|
2570
|
-
var C, S,
|
|
2570
|
+
var C, S, Z, ge, oe, te, re, ye, ke, ae;
|
|
2571
2571
|
z.value = ce.value;
|
|
2572
2572
|
let e = {};
|
|
2573
2573
|
V.value !== "" ? e.id = V.value : (w.value++, e.id = "id" + w.value);
|
|
2574
|
-
let o = await ((
|
|
2574
|
+
let o = await ((Z = (S = (C = We) == null ? void 0 : C.find((me) => {
|
|
2575
2575
|
var _e, Ae;
|
|
2576
2576
|
return (me == null ? void 0 : me.key) === (((Ae = (_e = z.value) == null ? void 0 : _e.find((ze) => (ze == null ? void 0 : ze.label) === "类型")) == null ? void 0 : Ae.value) ?? "label");
|
|
2577
|
-
})) == null ? void 0 : S.value) == null ? void 0 :
|
|
2577
|
+
})) == null ? void 0 : S.value) == null ? void 0 : Z.value) ?? ((oe = (ge = We) == null ? void 0 : ge.find((me) => {
|
|
2578
2578
|
var _e, Ae;
|
|
2579
2579
|
return (me == null ? void 0 : me.key) === (((Ae = (_e = z.value) == null ? void 0 : _e.find((ze) => (ze == null ? void 0 : ze.label) === "类型")) == null ? void 0 : Ae.value) ?? "label");
|
|
2580
2580
|
})) == null ? void 0 : oe.value);
|
|
@@ -2587,7 +2587,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2587
2587
|
let me = i(fe.value);
|
|
2588
2588
|
fe.value || (fe.value = []), me.push(e), fe.value = me;
|
|
2589
2589
|
}
|
|
2590
|
-
fe.value = fe.value.map(({ id: me, ..._e }) => _e),
|
|
2590
|
+
fe.value = fe.value.map(({ id: me, ..._e }) => _e), O.value = !1, V.value = "";
|
|
2591
2591
|
let h = i(a.originalItemContents);
|
|
2592
2592
|
(ke = i(a.originalItemContents)) != null && ke.find((me) => (me == null ? void 0 : me.key) === "tableToForm") ? h = (ae = i(a.originalItemContents)) == null ? void 0 : ae.map((me) => ((me == null ? void 0 : me.key) === "tableToForm" && (me.contents = fe.value), me)) : h.push({
|
|
2593
2593
|
key: "tableToForm",
|
|
@@ -2607,14 +2607,14 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2607
2607
|
});
|
|
2608
2608
|
}), V.value = e == null ? void 0 : e.id, c.value = o, m.value = o;
|
|
2609
2609
|
};
|
|
2610
|
-
|
|
2611
|
-
() =>
|
|
2610
|
+
Ue(
|
|
2611
|
+
() => D.value,
|
|
2612
2612
|
() => {
|
|
2613
2613
|
var o, h;
|
|
2614
2614
|
let e = i(a.originalItemContents);
|
|
2615
|
-
(o = i(a.originalItemContents)) != null && o.find((C) => (C == null ? void 0 : C.key) === "page") ? e = (h = i(a.originalItemContents)) == null ? void 0 : h.map((C) => ((C == null ? void 0 : C.key) === "page" && (C.contents =
|
|
2615
|
+
(o = i(a.originalItemContents)) != null && o.find((C) => (C == null ? void 0 : C.key) === "page") ? e = (h = i(a.originalItemContents)) == null ? void 0 : h.map((C) => ((C == null ? void 0 : C.key) === "page" && (C.contents = D.value), C)) : e.push({
|
|
2616
2616
|
key: "page",
|
|
2617
|
-
contents:
|
|
2617
|
+
contents: D.value
|
|
2618
2618
|
}), l("change", e);
|
|
2619
2619
|
},
|
|
2620
2620
|
{ deep: !0 }
|
|
@@ -2635,7 +2635,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2635
2635
|
).catch(() => {
|
|
2636
2636
|
});
|
|
2637
2637
|
}, p = () => {
|
|
2638
|
-
var h, C, S,
|
|
2638
|
+
var h, C, S, Z, ge;
|
|
2639
2639
|
c.value = m.value;
|
|
2640
2640
|
let e = {};
|
|
2641
2641
|
if (V.value !== "" ? e.id = V.value : (w.value++, e.id = "id" + w.value), (h = c.value) == null || h.forEach((oe) => {
|
|
@@ -2649,7 +2649,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2649
2649
|
}
|
|
2650
2650
|
j.value = !1, V.value = "";
|
|
2651
2651
|
let o = i(a.originalItemContents);
|
|
2652
|
-
(
|
|
2652
|
+
(Z = i(a.originalItemContents)) != null && Z.find((oe) => (oe == null ? void 0 : oe.key) === "extraButton") ? o = (ge = i(a.originalItemContents)) == null ? void 0 : ge.map((oe) => ((oe == null ? void 0 : oe.key) === "extraButton" && (oe.contents = q.value), oe)) : o.push({
|
|
2653
2653
|
key: "extraButton",
|
|
2654
2654
|
contents: q.value
|
|
2655
2655
|
}), l("change", o);
|
|
@@ -2679,7 +2679,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2679
2679
|
}).then(
|
|
2680
2680
|
() => {
|
|
2681
2681
|
var o, h;
|
|
2682
|
-
|
|
2682
|
+
R.value = (o = i(R.value)) == null ? void 0 : o.filter((C) => (C == null ? void 0 : C.id) !== (e == null ? void 0 : e.id)), l("change", (h = i(a.originalItemContents)) == null ? void 0 : h.map((C) => ((C == null ? void 0 : C.key) === "rowButton" && (C.contents = R.value), C))), Xe({
|
|
2683
2683
|
type: "success",
|
|
2684
2684
|
message: "删除成功"
|
|
2685
2685
|
});
|
|
@@ -2716,23 +2716,23 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2716
2716
|
let o = i(v.value);
|
|
2717
2717
|
o = o == null ? void 0 : o.map((h) => (h.children || (h.value = e == null ? void 0 : e[h.name]), h)), v.value = o;
|
|
2718
2718
|
}, T = () => {
|
|
2719
|
-
var h, C, S,
|
|
2719
|
+
var h, C, S, Z, ge;
|
|
2720
2720
|
n.value = v.value;
|
|
2721
2721
|
let e = {};
|
|
2722
2722
|
if (V.value !== "" ? e.id = V.value : (w.value++, e.id = "id" + w.value), (h = n.value) == null || h.forEach((oe) => {
|
|
2723
2723
|
const te = m2 == null ? void 0 : m2.find((re) => (re == null ? void 0 : re.label) === (oe == null ? void 0 : oe.label));
|
|
2724
2724
|
te ? e[te.key] = oe.value : oe != null && oe.children && oe.children.length > 0 && (e.children = oe.children);
|
|
2725
|
-
}), (C =
|
|
2726
|
-
|
|
2725
|
+
}), (C = R.value) != null && C.find((oe) => oe.id === e.id))
|
|
2726
|
+
R.value = (S = R.value) == null ? void 0 : S.map((oe) => (oe.id === e.id && (oe = e), oe));
|
|
2727
2727
|
else {
|
|
2728
|
-
let oe = i(
|
|
2729
|
-
oe.push(e),
|
|
2728
|
+
let oe = i(R.value);
|
|
2729
|
+
oe.push(e), R.value = oe;
|
|
2730
2730
|
}
|
|
2731
2731
|
U.value = !1, V.value = "";
|
|
2732
2732
|
let o = i(a.originalItemContents);
|
|
2733
|
-
(
|
|
2733
|
+
(Z = i(a.originalItemContents)) != null && Z.find((oe) => (oe == null ? void 0 : oe.key) === "rowButton") ? o = (ge = i(a.originalItemContents)) == null ? void 0 : ge.map((oe) => ((oe == null ? void 0 : oe.key) === "rowButton" && (oe.contents = R.value), oe)) : o.push({
|
|
2734
2734
|
key: "rowButton",
|
|
2735
|
-
contents:
|
|
2735
|
+
contents: R.value
|
|
2736
2736
|
}), l("change", o);
|
|
2737
2737
|
}, A = () => {
|
|
2738
2738
|
U.value = !1, V.value = "", v.value = [], n.value = [];
|
|
@@ -2748,7 +2748,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2748
2748
|
id: w.value,
|
|
2749
2749
|
contents: h == null ? void 0 : h.options
|
|
2750
2750
|
});
|
|
2751
|
-
}), G.value = o,
|
|
2751
|
+
}), G.value = o, F.value = e == null ? void 0 : e.id, ee.value = o;
|
|
2752
2752
|
}, y = (e) => {
|
|
2753
2753
|
var o;
|
|
2754
2754
|
f.value = M1(i(f.value), e == null ? void 0 : e.id), l("change", (o = i(a.originalItemContents)) == null ? void 0 : o.map((h) => {
|
|
@@ -2757,9 +2757,9 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2757
2757
|
}));
|
|
2758
2758
|
}, x = (e) => {
|
|
2759
2759
|
var h, C, S;
|
|
2760
|
-
e.type === "fix" ? e.id !== "" ? f.value = D1(f.value, e) : f.value = x1(f.value, e == null ? void 0 : e.contents) : f.value = F1(f.value, e), f.value = (h = f.value) != null && h.some((
|
|
2760
|
+
e.type === "fix" ? e.id !== "" ? f.value = D1(f.value, e) : f.value = x1(f.value, e == null ? void 0 : e.contents) : f.value = F1(f.value, e), f.value = (h = f.value) != null && h.some((Z) => Z == null ? void 0 : Z.children) ? [f.value] : f.value, V.value = "";
|
|
2761
2761
|
let o = i(a.originalItemContents);
|
|
2762
|
-
(C = i(a.originalItemContents)) != null && C.find((
|
|
2762
|
+
(C = i(a.originalItemContents)) != null && C.find((Z) => (Z == null ? void 0 : Z.key) === "header") ? o = (S = i(a.originalItemContents)) == null ? void 0 : S.map((Z) => ((Z == null ? void 0 : Z.key) === "header" && (Z.contents = f.value), Z)) : o.push({
|
|
2763
2763
|
key: "header",
|
|
2764
2764
|
contents: f.value
|
|
2765
2765
|
}), l("change", o);
|
|
@@ -2779,14 +2779,14 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2779
2779
|
}), e != null && e.children && ((h = e == null ? void 0 : e.children) == null ? void 0 : h.length) > 0 && o.push({
|
|
2780
2780
|
children: e == null ? void 0 : e.children,
|
|
2781
2781
|
isFormColHidden: !0
|
|
2782
|
-
}), V.value = e == null ? void 0 : e.id,
|
|
2782
|
+
}), V.value = e == null ? void 0 : e.id, F.value = "", G.value = o, ee.value = o;
|
|
2783
2783
|
}, J = (e) => {
|
|
2784
2784
|
let o = i(ee.value);
|
|
2785
2785
|
o = o == null ? void 0 : o.map((h) => (h.children || (h.value = e == null ? void 0 : e[h.name]), h)), ee.value = o;
|
|
2786
2786
|
}, u = () => {
|
|
2787
|
-
E.value = !1, V.value = "",
|
|
2787
|
+
E.value = !1, V.value = "", F.value = "", ee.value = [];
|
|
2788
2788
|
}, ue = () => {
|
|
2789
|
-
var h, C, S,
|
|
2789
|
+
var h, C, S, Z, ge, oe;
|
|
2790
2790
|
G.value = ee.value;
|
|
2791
2791
|
let e = {};
|
|
2792
2792
|
if (V.value !== "" ? e.id = V.value : (w.value++, e.id = "id" + w.value), (h = G.value) == null || h.forEach((te) => {
|
|
@@ -2796,9 +2796,9 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2796
2796
|
f.value = (S = f.value) == null ? void 0 : S.map((te) => (te.id === e.id && (te = e), te));
|
|
2797
2797
|
else {
|
|
2798
2798
|
let te = i(f.value) ?? [];
|
|
2799
|
-
|
|
2799
|
+
F.value === "" ? te.push(e) : te = te == null ? void 0 : te.map((re) => (re.id === F.value && (re.children || (re.children = []), re.children.push(e)), re)), f.value = te;
|
|
2800
2800
|
}
|
|
2801
|
-
f.value = (
|
|
2801
|
+
f.value = (Z = f.value) != null && Z.some((te) => te == null ? void 0 : te.children) ? [f.value] : f.value, E.value = !1, V.value = "", F.value = "";
|
|
2802
2802
|
let o = i(a.originalItemContents);
|
|
2803
2803
|
(ge = i(a.originalItemContents)) != null && ge.find((te) => (te == null ? void 0 : te.key) === "header") ? o = (oe = i(a.originalItemContents)) == null ? void 0 : oe.map((te) => ((te == null ? void 0 : te.key) === "header" && (te.contents = f.value), te)) : o.push({
|
|
2804
2804
|
key: "header",
|
|
@@ -2814,7 +2814,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2814
2814
|
var o, h;
|
|
2815
2815
|
f.value = (o = i(f.value)) == null ? void 0 : o.filter((C) => (C == null ? void 0 : C.id) !== (e == null ? void 0 : e.id)), l("change", (h = i(a.originalItemContents)) == null ? void 0 : h.map((C) => {
|
|
2816
2816
|
var S;
|
|
2817
|
-
return (C == null ? void 0 : C.key) === "header" && (C.contents = (S = f.value) != null && S.some((
|
|
2817
|
+
return (C == null ? void 0 : C.key) === "header" && (C.contents = (S = f.value) != null && S.some((Z) => Z == null ? void 0 : Z.children) ? [f.value] : f.value), C;
|
|
2818
2818
|
})), Xe({
|
|
2819
2819
|
type: "success",
|
|
2820
2820
|
message: "删除成功"
|
|
@@ -2823,12 +2823,12 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2823
2823
|
).catch(() => {
|
|
2824
2824
|
});
|
|
2825
2825
|
};
|
|
2826
|
-
return
|
|
2826
|
+
return Ue(
|
|
2827
2827
|
() => a.originalItemContents,
|
|
2828
2828
|
() => {
|
|
2829
|
-
var e, o, h, C, S,
|
|
2829
|
+
var e, o, h, C, S, Z, ge, oe, te, re, ye, ke, ae, me, _e, Ae, ze, $e, Ne;
|
|
2830
2830
|
if (!(!a.originalItemContents || a.originalItemContents.length === 0))
|
|
2831
|
-
if (t.value = i(a.originalItemContents), f.value = (o = (e = t.value) == null ? void 0 : e.find((de) => (de == null ? void 0 : de.key) === "header")) == null ? void 0 : o.contents,
|
|
2831
|
+
if (t.value = i(a.originalItemContents), f.value = (o = (e = t.value) == null ? void 0 : e.find((de) => (de == null ? void 0 : de.key) === "header")) == null ? void 0 : o.contents, R.value = (C = (h = t.value) == null ? void 0 : h.find((de) => (de == null ? void 0 : de.key) === "rowButton")) == null ? void 0 : C.contents, q.value = (Z = (S = t.value) == null ? void 0 : S.find((de) => (de == null ? void 0 : de.key) === "extraButton")) == null ? void 0 : Z.contents, D.value = (oe = (ge = t.value) == null ? void 0 : ge.find((de) => (de == null ? void 0 : de.key) === "page")) != null && oe.contents ? !!((re = (te = t.value) == null ? void 0 : te.find((de) => (de == null ? void 0 : de.key) === "page")) != null && re.contents) : !1, fe.value = (ke = (ye = t.value) == null ? void 0 : ye.find((de) => (de == null ? void 0 : de.key) === "tableToForm")) == null ? void 0 : ke.contents, f.value = (ae = f.value) == null ? void 0 : ae.map((de, Ve) => (Array.isArray(de) ? de = S0(de) : de = {
|
|
2832
2832
|
label: (de == null ? void 0 : de.label) ?? "",
|
|
2833
2833
|
prop: (de == null ? void 0 : de.label) === "操作" ? "operate" : de == null ? void 0 : de.prop,
|
|
2834
2834
|
width: de != null && de.width ? parseInt(de.width) : "",
|
|
@@ -2840,7 +2840,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2840
2840
|
isEditCol: (de == null ? void 0 : de.isEditCol) ?? !1,
|
|
2841
2841
|
isOperate: (de == null ? void 0 : de.isOperate) ?? !1,
|
|
2842
2842
|
id: (de == null ? void 0 : de.id) ?? Ve
|
|
2843
|
-
}, de)), f.value = (me = f.value) != null && me.every((de) => Array.isArray(de)) ? (_e = f.value) == null ? void 0 : _e[0] : f.value,
|
|
2843
|
+
}, de)), f.value = (me = f.value) != null && me.every((de) => Array.isArray(de)) ? (_e = f.value) == null ? void 0 : _e[0] : f.value, R.value = (Ae = R.value) == null ? void 0 : Ae.map((de, Ve) => de = {
|
|
2844
2844
|
label: (de == null ? void 0 : de.label) ?? "",
|
|
2845
2845
|
type: (de == null ? void 0 : de.type) ?? "",
|
|
2846
2846
|
textColor: (de == null ? void 0 : de.textColor) ?? "#000000",
|
|
@@ -2875,9 +2875,9 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2875
2875
|
), (e, o) => {
|
|
2876
2876
|
const h = Ee("svg-icon"), C = Ee("el-button");
|
|
2877
2877
|
return he(), be("div", ls, [
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
o[2] || (o[2] =
|
|
2878
|
+
B("div", as, [
|
|
2879
|
+
B("div", ss, [
|
|
2880
|
+
o[2] || (o[2] = B("div", null, Ce("表头"), -1)),
|
|
2881
2881
|
ie(C, {
|
|
2882
2882
|
class: "icon-content",
|
|
2883
2883
|
onClick: _,
|
|
@@ -2896,11 +2896,11 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2896
2896
|
__: [1]
|
|
2897
2897
|
})
|
|
2898
2898
|
]),
|
|
2899
|
-
|
|
2900
|
-
(he(!0), be(Se, null,
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2899
|
+
B("div", is, [
|
|
2900
|
+
(he(!0), be(Se, null, Re(f.value, (S, Z) => (he(), be("div", { key: Z }, [
|
|
2901
|
+
B("div", ns, [
|
|
2902
|
+
B("div", os, Ce(S == null ? void 0 : S.label), 1),
|
|
2903
|
+
B("div", ts, [
|
|
2904
2904
|
ie(h, {
|
|
2905
2905
|
name: "ChildAdd",
|
|
2906
2906
|
class: "svg-icon-content",
|
|
@@ -2930,8 +2930,8 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2930
2930
|
])) : Je("", !0)
|
|
2931
2931
|
]))), 128))
|
|
2932
2932
|
]),
|
|
2933
|
-
|
|
2934
|
-
o[4] || (o[4] =
|
|
2933
|
+
B("div", cs, [
|
|
2934
|
+
o[4] || (o[4] = B("div", null, Ce("行内按钮"), -1)),
|
|
2935
2935
|
ie(C, {
|
|
2936
2936
|
class: "icon-content",
|
|
2937
2937
|
id: "themeButton",
|
|
@@ -2950,11 +2950,11 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2950
2950
|
__: [3]
|
|
2951
2951
|
})
|
|
2952
2952
|
]),
|
|
2953
|
-
|
|
2954
|
-
(he(!0), be(Se, null,
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2953
|
+
B("div", us, [
|
|
2954
|
+
(he(!0), be(Se, null, Re(R.value, (S, Z) => (he(), be("div", { key: Z }, [
|
|
2955
|
+
B("div", ds, [
|
|
2956
|
+
B("div", ps, Ce(S == null ? void 0 : S.label), 1),
|
|
2957
|
+
B("div", hs, [
|
|
2958
2958
|
ie(h, {
|
|
2959
2959
|
name: "ChildFix",
|
|
2960
2960
|
style: { width: "24px", height: "24px" },
|
|
@@ -2971,12 +2971,12 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2971
2971
|
])
|
|
2972
2972
|
]))), 128))
|
|
2973
2973
|
]),
|
|
2974
|
-
|
|
2975
|
-
o[6] || (o[6] =
|
|
2974
|
+
B("div", fs, [
|
|
2975
|
+
o[6] || (o[6] = B("div", null, Ce("表外按钮"), -1)),
|
|
2976
2976
|
ie(C, {
|
|
2977
2977
|
class: "icon-content",
|
|
2978
2978
|
id: "themeButton",
|
|
2979
|
-
onClick:
|
|
2979
|
+
onClick: H
|
|
2980
2980
|
}, {
|
|
2981
2981
|
icon: we(() => [
|
|
2982
2982
|
ie(h, {
|
|
@@ -2991,11 +2991,11 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
2991
2991
|
__: [5]
|
|
2992
2992
|
})
|
|
2993
2993
|
]),
|
|
2994
|
-
|
|
2995
|
-
(he(!0), be(Se, null,
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2994
|
+
B("div", vs, [
|
|
2995
|
+
(he(!0), be(Se, null, Re(q.value, (S, Z) => (he(), be("div", { key: Z }, [
|
|
2996
|
+
B("div", ms, [
|
|
2997
|
+
B("div", ys, Ce(S == null ? void 0 : S.label), 1),
|
|
2998
|
+
B("div", gs, [
|
|
2999
2999
|
ie(h, {
|
|
3000
3000
|
name: "ChildFix",
|
|
3001
3001
|
style: { width: "24px", height: "24px" },
|
|
@@ -3012,8 +3012,8 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3012
3012
|
])
|
|
3013
3013
|
]))), 128))
|
|
3014
3014
|
]),
|
|
3015
|
-
|
|
3016
|
-
o[8] || (o[8] =
|
|
3015
|
+
B("div", bs, [
|
|
3016
|
+
o[8] || (o[8] = B("div", null, Ce("表格弹框字段设置"), -1)),
|
|
3017
3017
|
ie(C, {
|
|
3018
3018
|
class: "icon-content",
|
|
3019
3019
|
id: "themeButton",
|
|
@@ -3032,36 +3032,36 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3032
3032
|
__: [7]
|
|
3033
3033
|
})
|
|
3034
3034
|
]),
|
|
3035
|
-
|
|
3036
|
-
(he(!0), be(Se, null,
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3035
|
+
B("div", ws, [
|
|
3036
|
+
(he(!0), be(Se, null, Re(fe.value, (S, Z) => (he(), be("div", { key: Z }, [
|
|
3037
|
+
B("div", As, [
|
|
3038
|
+
B("div", ks, Ce(S == null ? void 0 : S.label), 1),
|
|
3039
|
+
B("div", _s, [
|
|
3040
3040
|
ie(h, {
|
|
3041
3041
|
name: "ChildFix",
|
|
3042
3042
|
style: { width: "24px", height: "24px" },
|
|
3043
3043
|
class: "svg-icon-content",
|
|
3044
|
-
onClick: (ge) =>
|
|
3044
|
+
onClick: (ge) => P(S)
|
|
3045
3045
|
}, null, 8, ["onClick"]),
|
|
3046
3046
|
ie(h, {
|
|
3047
3047
|
name: "ChildDelete",
|
|
3048
3048
|
class: "svg-icon-content",
|
|
3049
3049
|
style: { width: "24px", height: "24px" },
|
|
3050
|
-
onClick: (ge) =>
|
|
3050
|
+
onClick: (ge) => Y(S)
|
|
3051
3051
|
}, null, 8, ["onClick"])
|
|
3052
3052
|
])
|
|
3053
3053
|
])
|
|
3054
3054
|
]))), 128))
|
|
3055
3055
|
]),
|
|
3056
|
-
o[10] || (o[10] =
|
|
3057
|
-
|
|
3056
|
+
o[10] || (o[10] = B("div", { class: "operate-title" }, [
|
|
3057
|
+
B("div", null, Ce("分页"))
|
|
3058
3058
|
], -1)),
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
o[9] || (o[9] =
|
|
3059
|
+
B("div", Cs, [
|
|
3060
|
+
B("div", zs, [
|
|
3061
|
+
o[9] || (o[9] = B("div", { class: "operate-center-content" }, Ce("是否分页"), -1)),
|
|
3062
3062
|
ie(C1, {
|
|
3063
|
-
modelValue:
|
|
3064
|
-
"onUpdate:modelValue": o[0] || (o[0] = (S) =>
|
|
3063
|
+
modelValue: D.value,
|
|
3064
|
+
"onUpdate:modelValue": o[0] || (o[0] = (S) => D.value = S)
|
|
3065
3065
|
}, null, 8, ["modelValue"])
|
|
3066
3066
|
])
|
|
3067
3067
|
])
|
|
@@ -3072,7 +3072,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3072
3072
|
width: 840
|
|
3073
3073
|
}, {
|
|
3074
3074
|
default: we(() => [
|
|
3075
|
-
|
|
3075
|
+
B("div", Ms, [
|
|
3076
3076
|
(he(), Ie(e2, {
|
|
3077
3077
|
rowContents: G.value,
|
|
3078
3078
|
key: G.value,
|
|
@@ -3082,7 +3082,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3082
3082
|
])
|
|
3083
3083
|
]),
|
|
3084
3084
|
footer: we(() => [
|
|
3085
|
-
|
|
3085
|
+
B("div", xs, [
|
|
3086
3086
|
ie(C, {
|
|
3087
3087
|
onClick: u,
|
|
3088
3088
|
class: "cancel-button button",
|
|
@@ -3115,7 +3115,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3115
3115
|
width: 840
|
|
3116
3116
|
}, {
|
|
3117
3117
|
default: we(() => [
|
|
3118
|
-
|
|
3118
|
+
B("div", Ds, [
|
|
3119
3119
|
(he(), Ie(e2, {
|
|
3120
3120
|
rowContents: n.value,
|
|
3121
3121
|
key: n.value,
|
|
@@ -3125,7 +3125,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3125
3125
|
])
|
|
3126
3126
|
]),
|
|
3127
3127
|
footer: we(() => [
|
|
3128
|
-
|
|
3128
|
+
B("div", Fs, [
|
|
3129
3129
|
ie(C, {
|
|
3130
3130
|
onClick: A,
|
|
3131
3131
|
class: "cancel-button button",
|
|
@@ -3158,7 +3158,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3158
3158
|
width: 840
|
|
3159
3159
|
}, {
|
|
3160
3160
|
default: we(() => [
|
|
3161
|
-
|
|
3161
|
+
B("div", Bs, [
|
|
3162
3162
|
(he(), Ie(e2, {
|
|
3163
3163
|
rowContents: c.value,
|
|
3164
3164
|
key: c.value,
|
|
@@ -3168,7 +3168,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3168
3168
|
])
|
|
3169
3169
|
]),
|
|
3170
3170
|
footer: we(() => [
|
|
3171
|
-
|
|
3171
|
+
B("div", $s, [
|
|
3172
3172
|
ie(C, {
|
|
3173
3173
|
onClick: b,
|
|
3174
3174
|
class: "cancel-button button",
|
|
@@ -3196,12 +3196,12 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3196
3196
|
_: 1
|
|
3197
3197
|
}, 8, ["visible"]),
|
|
3198
3198
|
ie(a2, {
|
|
3199
|
-
visible:
|
|
3199
|
+
visible: O.value,
|
|
3200
3200
|
onBeforeDestroy: k,
|
|
3201
3201
|
width: 840
|
|
3202
3202
|
}, {
|
|
3203
3203
|
default: we(() => [
|
|
3204
|
-
|
|
3204
|
+
B("div", Is, [
|
|
3205
3205
|
(he(), Ie(e2, {
|
|
3206
3206
|
rowContents: z.value,
|
|
3207
3207
|
key: z.value,
|
|
@@ -3213,7 +3213,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3213
3213
|
])
|
|
3214
3214
|
]),
|
|
3215
3215
|
footer: we(() => [
|
|
3216
|
-
|
|
3216
|
+
B("div", Es, [
|
|
3217
3217
|
ie(C, {
|
|
3218
3218
|
onClick: k,
|
|
3219
3219
|
class: "cancel-button button",
|
|
@@ -3257,13 +3257,13 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3257
3257
|
},
|
|
3258
3258
|
emits: ["change"],
|
|
3259
3259
|
setup(r, { emit: d }) {
|
|
3260
|
-
const a = r, l = d, t = Q(!1), E = Q([]),
|
|
3260
|
+
const a = r, l = d, t = Q(!1), E = Q([]), O = Q([]), f = Q(!1), U = Q([]), G = Q([]), D = Q(""), ee = Q(!1), V = Q(0), F = Q([]), R = Q([]), q = (s, P) => (console.log(345, s), (s == null ? void 0 : s.label) === "类型" && P[s.key] === "" ? "Input" : (s == null ? void 0 : s.key) === "isFormColHidden" && !P[s.key] ? !1 : P[s.key]), n = async (s) => {
|
|
3261
3261
|
var k, se, pe, ve, p, L;
|
|
3262
3262
|
t.value = !0;
|
|
3263
|
-
let
|
|
3264
|
-
const
|
|
3265
|
-
if (
|
|
3266
|
-
V.value++,
|
|
3263
|
+
let P = [];
|
|
3264
|
+
const Y = await ((pe = (se = (k = We) == null ? void 0 : k.find((b) => (b == null ? void 0 : b.key) === ((s == null ? void 0 : s.type) === "" ? "Input" : s == null ? void 0 : s.type))) == null ? void 0 : se.value) == null ? void 0 : pe.value) ?? ((p = (ve = We) == null ? void 0 : ve.find((b) => (b == null ? void 0 : b.key) === ((s == null ? void 0 : s.type) === "" ? "Input" : s == null ? void 0 : s.type))) == null ? void 0 : p.value);
|
|
3265
|
+
if (Y == null || Y.forEach((b) => {
|
|
3266
|
+
V.value++, P.push({
|
|
3267
3267
|
label: b == null ? void 0 : b.label,
|
|
3268
3268
|
name: b == null ? void 0 : b.label,
|
|
3269
3269
|
type: b.type,
|
|
@@ -3275,15 +3275,15 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3275
3275
|
});
|
|
3276
3276
|
}), s != null && s.menuSelect && ((L = s == null ? void 0 : s.menuSelect) == null ? void 0 : L.length) > 0) {
|
|
3277
3277
|
const b = await S2(s == null ? void 0 : s.menuSelect);
|
|
3278
|
-
|
|
3278
|
+
P = P == null ? void 0 : P.map((g) => ((g == null ? void 0 : g.name) === "组信息选项" && (g.contents = b), g));
|
|
3279
3279
|
}
|
|
3280
|
-
|
|
3280
|
+
D.value = s == null ? void 0 : s.id, E.value = await u2(D2(P)), O.value = await u2(D2(P));
|
|
3281
3281
|
}, v = (s) => {
|
|
3282
|
-
var
|
|
3282
|
+
var Y;
|
|
3283
3283
|
f.value = !0;
|
|
3284
|
-
let
|
|
3285
|
-
(
|
|
3286
|
-
V.value++,
|
|
3284
|
+
let P = [];
|
|
3285
|
+
(Y = _l) == null || Y.forEach((k) => {
|
|
3286
|
+
V.value++, P.push({
|
|
3287
3287
|
label: k == null ? void 0 : k.label,
|
|
3288
3288
|
name: k == null ? void 0 : k.label,
|
|
3289
3289
|
type: k.type,
|
|
@@ -3291,14 +3291,14 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3291
3291
|
id: V.value,
|
|
3292
3292
|
contents: k == null ? void 0 : k.options
|
|
3293
3293
|
});
|
|
3294
|
-
}),
|
|
3294
|
+
}), F.value = P, R.value = P, D.value = s == null ? void 0 : s.id;
|
|
3295
3295
|
};
|
|
3296
|
-
|
|
3296
|
+
Ue(
|
|
3297
3297
|
() => ee.value,
|
|
3298
3298
|
() => {
|
|
3299
|
-
var
|
|
3299
|
+
var P, Y;
|
|
3300
3300
|
let s = i(a.originalItemContents);
|
|
3301
|
-
(
|
|
3301
|
+
(P = i(a.originalItemContents)) != null && P.find((k) => (k == null ? void 0 : k.key) === "enableWrap") ? s = (Y = i(a.originalItemContents)) == null ? void 0 : Y.map((k) => ((k == null ? void 0 : k.key) === "enableWrap" && (k.contents = !ee.value), k)) : s.push({
|
|
3302
3302
|
key: "enableWrap",
|
|
3303
3303
|
contents: !ee.value
|
|
3304
3304
|
}), l("change", s);
|
|
@@ -3306,10 +3306,10 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3306
3306
|
{ deep: !0 }
|
|
3307
3307
|
);
|
|
3308
3308
|
const j = () => {
|
|
3309
|
-
var
|
|
3310
|
-
|
|
3309
|
+
var Y, k, se, pe, ve;
|
|
3310
|
+
F.value = R.value;
|
|
3311
3311
|
let s = {};
|
|
3312
|
-
if (
|
|
3312
|
+
if (D.value !== "" ? s.id = D.value : (V.value++, s.id = "id" + V.value), (Y = F.value) == null || Y.forEach((p) => {
|
|
3313
3313
|
var b;
|
|
3314
3314
|
const L = (b = _l) == null ? void 0 : b.find((g) => (g == null ? void 0 : g.label) === (p == null ? void 0 : p.label));
|
|
3315
3315
|
L && (s[L.key] = p.value);
|
|
@@ -3319,12 +3319,12 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3319
3319
|
let p = i(U.value);
|
|
3320
3320
|
U.value || (U.value = []), p.push(s), U.value = p;
|
|
3321
3321
|
}
|
|
3322
|
-
f.value = !1,
|
|
3323
|
-
let
|
|
3324
|
-
(pe = i(a.originalItemContents)) != null && pe.find((p) => (p == null ? void 0 : p.key) === "formButton") ?
|
|
3322
|
+
f.value = !1, D.value = "";
|
|
3323
|
+
let P = i(a.originalItemContents);
|
|
3324
|
+
(pe = i(a.originalItemContents)) != null && pe.find((p) => (p == null ? void 0 : p.key) === "formButton") ? P = (ve = i(a.originalItemContents)) == null ? void 0 : ve.map((p) => ((p == null ? void 0 : p.key) === "formButton" && (p.contents = U.value), p)) : P.push({
|
|
3325
3325
|
key: "formButton",
|
|
3326
3326
|
contents: U.value
|
|
3327
|
-
}), l("change",
|
|
3327
|
+
}), l("change", P);
|
|
3328
3328
|
}, c = (s) => {
|
|
3329
3329
|
g2.confirm("是否确认要删除", "", {
|
|
3330
3330
|
confirmButtonText: "确认",
|
|
@@ -3332,8 +3332,8 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3332
3332
|
type: "warning"
|
|
3333
3333
|
}).then(
|
|
3334
3334
|
() => {
|
|
3335
|
-
var
|
|
3336
|
-
G.value = (
|
|
3335
|
+
var P, Y;
|
|
3336
|
+
G.value = (P = i(G.value)) == null ? void 0 : P.filter((k) => (k == null ? void 0 : k.id) !== (s == null ? void 0 : s.id)), l("change", (Y = i(a.originalItemContents)) == null ? void 0 : Y.map((k) => ((k == null ? void 0 : k.key) === "formContent" && (k.contents = G.value), k))), Xe({
|
|
3337
3337
|
type: "success",
|
|
3338
3338
|
message: "删除成功"
|
|
3339
3339
|
});
|
|
@@ -3347,8 +3347,8 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3347
3347
|
type: "warning"
|
|
3348
3348
|
}).then(
|
|
3349
3349
|
() => {
|
|
3350
|
-
var
|
|
3351
|
-
U.value = (
|
|
3350
|
+
var P, Y;
|
|
3351
|
+
U.value = (P = i(U.value)) == null ? void 0 : P.filter((k) => (k == null ? void 0 : k.id) !== (s == null ? void 0 : s.id)), l("change", (Y = i(a.originalItemContents)) == null ? void 0 : Y.map((k) => ((k == null ? void 0 : k.key) === "formButton" && (k.contents = U.value), k))), Xe({
|
|
3352
3352
|
type: "success",
|
|
3353
3353
|
message: "删除成功"
|
|
3354
3354
|
});
|
|
@@ -3356,24 +3356,24 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3356
3356
|
).catch(() => {
|
|
3357
3357
|
});
|
|
3358
3358
|
}, w = () => {
|
|
3359
|
-
var
|
|
3359
|
+
var P;
|
|
3360
3360
|
f.value = !0;
|
|
3361
3361
|
let s = [];
|
|
3362
|
-
(
|
|
3362
|
+
(P = _l) == null || P.forEach((Y) => {
|
|
3363
3363
|
V.value++, s.push({
|
|
3364
|
-
label:
|
|
3365
|
-
name:
|
|
3366
|
-
type:
|
|
3367
|
-
value: (
|
|
3364
|
+
label: Y == null ? void 0 : Y.label,
|
|
3365
|
+
name: Y == null ? void 0 : Y.label,
|
|
3366
|
+
type: Y.type,
|
|
3367
|
+
value: (Y == null ? void 0 : Y.label) === "类型" ? "normal" : "",
|
|
3368
3368
|
id: V.value,
|
|
3369
|
-
contents:
|
|
3369
|
+
contents: Y == null ? void 0 : Y.options
|
|
3370
3370
|
});
|
|
3371
|
-
}),
|
|
3371
|
+
}), F.value = s, R.value = s;
|
|
3372
3372
|
}, z = () => {
|
|
3373
|
-
var
|
|
3373
|
+
var P, Y, k;
|
|
3374
3374
|
t.value = !0;
|
|
3375
3375
|
let s = [];
|
|
3376
|
-
(k = (
|
|
3376
|
+
(k = (Y = (P = We) == null ? void 0 : P.find((se) => (se == null ? void 0 : se.key) === "Input")) == null ? void 0 : Y.value) == null || k.forEach((se) => {
|
|
3377
3377
|
V.value++, s.push({
|
|
3378
3378
|
label: se == null ? void 0 : se.label,
|
|
3379
3379
|
name: se == null ? void 0 : se.label,
|
|
@@ -3382,13 +3382,13 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3382
3382
|
id: V.value,
|
|
3383
3383
|
contents: se == null ? void 0 : se.options
|
|
3384
3384
|
});
|
|
3385
|
-
}), E.value = s,
|
|
3385
|
+
}), E.value = s, O.value = s;
|
|
3386
3386
|
}, ce = (s) => {
|
|
3387
|
-
let
|
|
3388
|
-
|
|
3387
|
+
let P = i(R.value);
|
|
3388
|
+
P = P == null ? void 0 : P.map((Y) => (Y.value = s == null ? void 0 : s[Y.name], Y)), R.value = P;
|
|
3389
3389
|
}, fe = async (s) => {
|
|
3390
|
-
var
|
|
3391
|
-
if ((s == null ? void 0 : s.类型) !== ((
|
|
3390
|
+
var P, Y, k, se, pe, ve, p, L, b, g, $, _;
|
|
3391
|
+
if ((s == null ? void 0 : s.类型) !== ((Y = (P = O.value) == null ? void 0 : P.find((I) => (I == null ? void 0 : I.label) === "类型")) == null ? void 0 : Y.value)) {
|
|
3392
3392
|
let I = [];
|
|
3393
3393
|
const N = await ((pe = (se = (k = We) == null ? void 0 : k.find((T) => (T == null ? void 0 : T.key) === ((s == null ? void 0 : s.类型) === "" ? "Input" : s == null ? void 0 : s.类型))) == null ? void 0 : se.value) == null ? void 0 : pe.value) ? await ((g = (b = (L = We) == null ? void 0 : L.find((T) => (T == null ? void 0 : T.key) === ((s == null ? void 0 : s.类型) === "" ? "Input" : s == null ? void 0 : s.类型))) == null ? void 0 : b.value) == null ? void 0 : g.value) : (p = (ve = We) == null ? void 0 : ve.find((T) => (T == null ? void 0 : T.key) === ((s == null ? void 0 : s.类型) === "" ? "Input" : s == null ? void 0 : s.类型))) == null ? void 0 : p.value;
|
|
3394
3394
|
if (N == null || N.forEach((T) => {
|
|
@@ -3400,31 +3400,31 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3400
3400
|
value: (s == null ? void 0 : s[T.label]) ?? "",
|
|
3401
3401
|
id: V.value,
|
|
3402
3402
|
contents: T == null ? void 0 : T.options,
|
|
3403
|
-
width: ((ne = (A =
|
|
3403
|
+
width: ((ne = (A = O.value) == null ? void 0 : A[0]) == null ? void 0 : ne.width) ?? 1
|
|
3404
3404
|
});
|
|
3405
3405
|
}), s != null && s.菜单选项 && (($ = s == null ? void 0 : s.菜单选项) == null ? void 0 : $.length) > 0) {
|
|
3406
3406
|
const T = await S2(s == null ? void 0 : s.菜单选项);
|
|
3407
3407
|
I = I == null ? void 0 : I.map((A) => ((A == null ? void 0 : A.name) === "组信息选项" && (A.contents = T), A));
|
|
3408
3408
|
}
|
|
3409
|
-
|
|
3409
|
+
O.value = await u2(i(I)), E.value = await u2(i(I));
|
|
3410
3410
|
} else {
|
|
3411
|
-
let I = i(
|
|
3411
|
+
let I = i(O.value);
|
|
3412
3412
|
if (I = I == null ? void 0 : I.map((N) => (N.value = s == null ? void 0 : s[N.name], N)), s != null && s.菜单选项 && ((_ = s == null ? void 0 : s.菜单选项) == null ? void 0 : _.length) > 0) {
|
|
3413
3413
|
const N = await S2(s == null ? void 0 : s.菜单选项);
|
|
3414
3414
|
I = I == null ? void 0 : I.map((T) => ((T == null ? void 0 : T.name) === "组信息选项" && (T.contents = N), T));
|
|
3415
3415
|
}
|
|
3416
|
-
I = D2(I),
|
|
3416
|
+
I = D2(I), O.value = await u2(i(I));
|
|
3417
3417
|
}
|
|
3418
|
-
},
|
|
3419
|
-
s || (E.value =
|
|
3418
|
+
}, H = (s) => {
|
|
3419
|
+
s || (E.value = O.value);
|
|
3420
3420
|
}, X = async (s) => {
|
|
3421
|
-
await fe(s), E.value =
|
|
3421
|
+
await fe(s), E.value = O.value;
|
|
3422
3422
|
}, K = async () => {
|
|
3423
3423
|
var k, se, pe, ve, p, L, b, g, $, _, I, N;
|
|
3424
|
-
E.value =
|
|
3424
|
+
E.value = O.value;
|
|
3425
3425
|
let s = {};
|
|
3426
|
-
s.width = ((se = (k = E.value) == null ? void 0 : k[0]) == null ? void 0 : se.width) ?? 1,
|
|
3427
|
-
let
|
|
3426
|
+
s.width = ((se = (k = E.value) == null ? void 0 : k[0]) == null ? void 0 : se.width) ?? 1, D.value !== "" ? s.id = D.value : (V.value++, s.id = "id" + V.value);
|
|
3427
|
+
let P = await ((p = (ve = (pe = We) == null ? void 0 : pe.find((T) => {
|
|
3428
3428
|
var A, ne;
|
|
3429
3429
|
return (T == null ? void 0 : T.key) === (((ne = (A = E.value) == null ? void 0 : A.find((y) => (y == null ? void 0 : y.label) === "类型")) == null ? void 0 : ne.value) ?? "label");
|
|
3430
3430
|
})) == null ? void 0 : ve.value) == null ? void 0 : p.value) ?? ((b = (L = We) == null ? void 0 : L.find((T) => {
|
|
@@ -3432,7 +3432,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3432
3432
|
return (T == null ? void 0 : T.key) === (((ne = (A = E.value) == null ? void 0 : A.find((y) => (y == null ? void 0 : y.label) === "类型")) == null ? void 0 : ne.value) ?? "label");
|
|
3433
3433
|
})) == null ? void 0 : b.value);
|
|
3434
3434
|
if ((g = E.value) == null || g.forEach((T) => {
|
|
3435
|
-
const A =
|
|
3435
|
+
const A = P == null ? void 0 : P.find((ne) => (ne == null ? void 0 : ne.label) === (T == null ? void 0 : T.label));
|
|
3436
3436
|
A && (s[A.key] = T.value);
|
|
3437
3437
|
}), s.width = s.width ? s.width : 1, s.key = s == null ? void 0 : s.label, s.isFormColHidden = s == null ? void 0 : s.isFormColHidden, ($ = G.value) != null && $.find((T) => T.id === s.id))
|
|
3438
3438
|
G.value = (_ = G.value) == null ? void 0 : _.map((T) => (T.id === s.id && (T = s), T));
|
|
@@ -3440,22 +3440,22 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3440
3440
|
let T = i(G.value);
|
|
3441
3441
|
T.push(s), G.value = T;
|
|
3442
3442
|
}
|
|
3443
|
-
G.value = G.value.map(({ id: T, ...A }) => A), t.value = !1,
|
|
3444
|
-
let
|
|
3445
|
-
(I = i(a.originalItemContents)) != null && I.find((T) => (T == null ? void 0 : T.key) === "formContent") ?
|
|
3443
|
+
G.value = G.value.map(({ id: T, ...A }) => A), t.value = !1, D.value = "";
|
|
3444
|
+
let Y = i(a.originalItemContents);
|
|
3445
|
+
(I = i(a.originalItemContents)) != null && I.find((T) => (T == null ? void 0 : T.key) === "formContent") ? Y = (N = i(a.originalItemContents)) == null ? void 0 : N.map((T) => ((T == null ? void 0 : T.key) === "formContent" && (T.contents = G.value), T)) : Y.push({
|
|
3446
3446
|
key: "formContent",
|
|
3447
3447
|
contents: G.value
|
|
3448
|
-
}), l("change",
|
|
3448
|
+
}), l("change", Y);
|
|
3449
3449
|
}, M = () => {
|
|
3450
|
-
t.value = !1, f.value = !1,
|
|
3450
|
+
t.value = !1, f.value = !1, D.value = "", O.value = [], R.value = [];
|
|
3451
3451
|
};
|
|
3452
|
-
return
|
|
3452
|
+
return Ue(
|
|
3453
3453
|
() => a.originalItemContents,
|
|
3454
3454
|
() => {
|
|
3455
|
-
var
|
|
3455
|
+
var P, Y, k, se, pe, ve;
|
|
3456
3456
|
if (!a.originalItemContents || a.originalItemContents.length === 0) return;
|
|
3457
3457
|
const s = i(a.originalItemContents);
|
|
3458
|
-
G.value = ((
|
|
3458
|
+
G.value = ((P = s == null ? void 0 : s.find((p) => (p == null ? void 0 : p.key) === "formContent")) == null ? void 0 : P.contents) ?? [], U.value = ((Y = s == null ? void 0 : s.find((p) => (p == null ? void 0 : p.key) === "formButton")) == null ? void 0 : Y.contents) ?? [], ee.value = (k = s == null ? void 0 : s.find((p) => (p == null ? void 0 : p.key) === "enableWrap")) != null && k.contents ? !((se = s == null ? void 0 : s.find((p) => (p == null ? void 0 : p.key) === "enableWrap")) != null && se.contents) : !0, G.value = (pe = i(G.value)) == null ? void 0 : pe.map((p, L) => {
|
|
3459
3459
|
var g;
|
|
3460
3460
|
let b = p;
|
|
3461
3461
|
return b.id = (p == null ? void 0 : p.id) ?? L, p != null && p.label || (p.label = (p == null ? void 0 : p.key) ?? (p == null ? void 0 : p.label) ?? ""), p != null && p.type || (p.type = (p == null ? void 0 : p.type) ?? ""), p.contents = ((g = p == null ? void 0 : p.options) == null ? void 0 : g.length) === 0 ? (p == null ? void 0 : p.contents) ?? "" : p == null ? void 0 : p.options, b;
|
|
@@ -3467,42 +3467,42 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3467
3467
|
});
|
|
3468
3468
|
},
|
|
3469
3469
|
{ deep: !0, immediate: !0 }
|
|
3470
|
-
), (s,
|
|
3471
|
-
const
|
|
3470
|
+
), (s, P) => {
|
|
3471
|
+
const Y = Ee("svg-icon"), k = Ee("el-button");
|
|
3472
3472
|
return he(), be("div", Ts, [
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3473
|
+
B("div", Vs, [
|
|
3474
|
+
B("div", Ps, [
|
|
3475
|
+
P[2] || (P[2] = B("div", null, Ce("表单内容"), -1)),
|
|
3476
3476
|
ie(k, {
|
|
3477
3477
|
class: "icon-content",
|
|
3478
3478
|
id: "themeButton",
|
|
3479
3479
|
onClick: z
|
|
3480
3480
|
}, {
|
|
3481
3481
|
icon: we(() => [
|
|
3482
|
-
ie(
|
|
3482
|
+
ie(Y, {
|
|
3483
3483
|
name: "Plus",
|
|
3484
3484
|
class: "icon-size"
|
|
3485
3485
|
})
|
|
3486
3486
|
]),
|
|
3487
3487
|
default: we(() => [
|
|
3488
|
-
|
|
3488
|
+
P[1] || (P[1] = B("div", null, Ce("新增"), -1))
|
|
3489
3489
|
]),
|
|
3490
3490
|
_: 1,
|
|
3491
3491
|
__: [1]
|
|
3492
3492
|
})
|
|
3493
3493
|
]),
|
|
3494
|
-
|
|
3495
|
-
(he(!0), be(Se, null,
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
ie(
|
|
3494
|
+
B("div", Os, [
|
|
3495
|
+
(he(!0), be(Se, null, Re(G.value, (se, pe) => (he(), be("div", { key: pe }, [
|
|
3496
|
+
B("div", Rs, [
|
|
3497
|
+
B("div", null, Ce(se.label), 1),
|
|
3498
|
+
B("div", Hs, [
|
|
3499
|
+
ie(Y, {
|
|
3500
3500
|
name: "ChildFix",
|
|
3501
3501
|
class: "svg-icon-content",
|
|
3502
3502
|
style: { width: "24px", height: "24px" },
|
|
3503
3503
|
onClick: (ve) => n(se)
|
|
3504
3504
|
}, null, 8, ["onClick"]),
|
|
3505
|
-
ie(
|
|
3505
|
+
ie(Y, {
|
|
3506
3506
|
name: "ChildDelete",
|
|
3507
3507
|
class: "svg-icon-content",
|
|
3508
3508
|
style: { width: "24px", height: "24px" },
|
|
@@ -3512,38 +3512,38 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3512
3512
|
])
|
|
3513
3513
|
]))), 128))
|
|
3514
3514
|
]),
|
|
3515
|
-
|
|
3516
|
-
|
|
3515
|
+
B("div", Us, [
|
|
3516
|
+
P[4] || (P[4] = B("div", null, Ce("表单按钮"), -1)),
|
|
3517
3517
|
ie(k, {
|
|
3518
3518
|
class: "icon-content",
|
|
3519
3519
|
id: "themeButton",
|
|
3520
3520
|
onClick: w
|
|
3521
3521
|
}, {
|
|
3522
3522
|
icon: we(() => [
|
|
3523
|
-
ie(
|
|
3523
|
+
ie(Y, {
|
|
3524
3524
|
name: "Plus",
|
|
3525
3525
|
class: "icon-size"
|
|
3526
3526
|
})
|
|
3527
3527
|
]),
|
|
3528
3528
|
default: we(() => [
|
|
3529
|
-
|
|
3529
|
+
P[3] || (P[3] = Be(" 新增 "))
|
|
3530
3530
|
]),
|
|
3531
3531
|
_: 1,
|
|
3532
3532
|
__: [3]
|
|
3533
3533
|
})
|
|
3534
3534
|
]),
|
|
3535
|
-
|
|
3536
|
-
(he(!0), be(Se, null,
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
ie(
|
|
3535
|
+
B("div", js, [
|
|
3536
|
+
(he(!0), be(Se, null, Re(U.value, (se, pe) => (he(), be("div", { key: pe }, [
|
|
3537
|
+
B("div", Ns, [
|
|
3538
|
+
B("div", null, Ce(se.label), 1),
|
|
3539
|
+
B("div", Ks, [
|
|
3540
|
+
ie(Y, {
|
|
3541
3541
|
name: "ChildFix",
|
|
3542
3542
|
class: "svg-icon-content",
|
|
3543
3543
|
style: { width: "24px", height: "24px" },
|
|
3544
3544
|
onClick: (ve) => v(se)
|
|
3545
3545
|
}, null, 8, ["onClick"]),
|
|
3546
|
-
ie(
|
|
3546
|
+
ie(Y, {
|
|
3547
3547
|
name: "ChildDelete",
|
|
3548
3548
|
class: "svg-icon-content",
|
|
3549
3549
|
style: { width: "24px", height: "24px" },
|
|
@@ -3553,14 +3553,14 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3553
3553
|
])
|
|
3554
3554
|
]))), 128))
|
|
3555
3555
|
]),
|
|
3556
|
-
|
|
3557
|
-
|
|
3556
|
+
P[6] || (P[6] = B("div", { class: "operate-title" }, [
|
|
3557
|
+
B("div", null, Ce("表单布局"))
|
|
3558
3558
|
], -1)),
|
|
3559
|
-
|
|
3560
|
-
|
|
3559
|
+
B("div", Js, [
|
|
3560
|
+
P[5] || (P[5] = B("div", { class: "operate-center-content" }, Ce("是否自动撑宽"), -1)),
|
|
3561
3561
|
ie(C1, {
|
|
3562
3562
|
modelValue: ee.value,
|
|
3563
|
-
"onUpdate:modelValue":
|
|
3563
|
+
"onUpdate:modelValue": P[0] || (P[0] = (se) => ee.value = se)
|
|
3564
3564
|
}, null, 8, ["modelValue"])
|
|
3565
3565
|
])
|
|
3566
3566
|
]),
|
|
@@ -3570,25 +3570,25 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3570
3570
|
width: 840
|
|
3571
3571
|
}, {
|
|
3572
3572
|
default: we(() => [
|
|
3573
|
-
|
|
3573
|
+
B("div", Ws, [
|
|
3574
3574
|
(he(), Ie(e2, {
|
|
3575
3575
|
rowContents: E.value,
|
|
3576
3576
|
key: E.value,
|
|
3577
3577
|
isEnableWrap: !0,
|
|
3578
3578
|
onChange: fe,
|
|
3579
|
-
onChangeVisible:
|
|
3579
|
+
onChangeVisible: H,
|
|
3580
3580
|
onBlurChange: X
|
|
3581
3581
|
}, null, 8, ["rowContents"]))
|
|
3582
3582
|
])
|
|
3583
3583
|
]),
|
|
3584
3584
|
footer: we(() => [
|
|
3585
|
-
|
|
3585
|
+
B("div", Gs, [
|
|
3586
3586
|
ie(k, {
|
|
3587
3587
|
onClick: M,
|
|
3588
3588
|
class: "cancel-button button",
|
|
3589
3589
|
id: "themeBorderButton"
|
|
3590
3590
|
}, {
|
|
3591
|
-
default: we(() =>
|
|
3591
|
+
default: we(() => P[7] || (P[7] = [
|
|
3592
3592
|
Be(Ce("取消"))
|
|
3593
3593
|
])),
|
|
3594
3594
|
_: 1,
|
|
@@ -3599,7 +3599,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3599
3599
|
onClick: K,
|
|
3600
3600
|
id: "themeButton"
|
|
3601
3601
|
}, {
|
|
3602
|
-
default: we(() =>
|
|
3602
|
+
default: we(() => P[8] || (P[8] = [
|
|
3603
3603
|
Be(Ce("确认"))
|
|
3604
3604
|
])),
|
|
3605
3605
|
_: 1,
|
|
@@ -3615,22 +3615,22 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3615
3615
|
width: 840
|
|
3616
3616
|
}, {
|
|
3617
3617
|
default: we(() => [
|
|
3618
|
-
|
|
3618
|
+
B("div", Xs, [
|
|
3619
3619
|
(he(), Ie(e2, {
|
|
3620
|
-
rowContents:
|
|
3621
|
-
key:
|
|
3620
|
+
rowContents: F.value,
|
|
3621
|
+
key: F.value,
|
|
3622
3622
|
isEnableWrap: !0,
|
|
3623
3623
|
onChange: ce
|
|
3624
3624
|
}, null, 8, ["rowContents"]))
|
|
3625
3625
|
])
|
|
3626
3626
|
]),
|
|
3627
3627
|
footer: we(() => [
|
|
3628
|
-
|
|
3629
|
-
|
|
3628
|
+
B("div", { class: "dialog-footer" }, [
|
|
3629
|
+
B("div", {
|
|
3630
3630
|
onClick: M,
|
|
3631
3631
|
class: "cancel-button button"
|
|
3632
3632
|
}, Ce("取消")),
|
|
3633
|
-
|
|
3633
|
+
B("div", {
|
|
3634
3634
|
class: "ok-button button",
|
|
3635
3635
|
onClick: j
|
|
3636
3636
|
}, Ce("确认"))
|
|
@@ -3739,7 +3739,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3739
3739
|
type: "input",
|
|
3740
3740
|
value: ""
|
|
3741
3741
|
}
|
|
3742
|
-
]),
|
|
3742
|
+
]), O = Q([
|
|
3743
3743
|
{
|
|
3744
3744
|
label: "取消",
|
|
3745
3745
|
background: "#c0c4cc"
|
|
@@ -3752,9 +3752,9 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3752
3752
|
visible: !1,
|
|
3753
3753
|
width: "40%",
|
|
3754
3754
|
title: "步骤条"
|
|
3755
|
-
}), U = Q("create"), G = Q({}),
|
|
3755
|
+
}), U = Q("create"), G = Q({}), D = Q([]), ee = (n) => {
|
|
3756
3756
|
var v;
|
|
3757
|
-
G.value = n, l("change", (v =
|
|
3757
|
+
G.value = n, l("change", (v = R()) == null ? void 0 : v.compData);
|
|
3758
3758
|
}, V = (n, v) => {
|
|
3759
3759
|
var j, c;
|
|
3760
3760
|
switch (n) {
|
|
@@ -3769,10 +3769,10 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3769
3769
|
}), U.value = "update", f.visible = !0;
|
|
3770
3770
|
break;
|
|
3771
3771
|
case "delete":
|
|
3772
|
-
|
|
3772
|
+
D.value.splice(v, 1), U.value = "delete";
|
|
3773
3773
|
break;
|
|
3774
3774
|
}
|
|
3775
|
-
},
|
|
3775
|
+
}, F = (n) => {
|
|
3776
3776
|
var v, j, c;
|
|
3777
3777
|
if ((n == null ? void 0 : n.buttonName) === "确认") {
|
|
3778
3778
|
const m = i(n == null ? void 0 : n.content);
|
|
@@ -3780,28 +3780,28 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3780
3780
|
m[w] === "" && delete m[w];
|
|
3781
3781
|
}), U.value) {
|
|
3782
3782
|
case "create":
|
|
3783
|
-
|
|
3783
|
+
D.value.push({
|
|
3784
3784
|
...m,
|
|
3785
|
-
index: ((v =
|
|
3785
|
+
index: ((v = D.value) == null ? void 0 : v.length) + 1
|
|
3786
3786
|
});
|
|
3787
3787
|
break;
|
|
3788
3788
|
case "update":
|
|
3789
|
-
|
|
3789
|
+
D.value = (j = D.value) == null ? void 0 : j.map((w) => w.index === (m == null ? void 0 : m.index) ? {
|
|
3790
3790
|
...w,
|
|
3791
3791
|
title: m == null ? void 0 : m.title,
|
|
3792
3792
|
description: m == null ? void 0 : m.description
|
|
3793
3793
|
} : w);
|
|
3794
3794
|
break;
|
|
3795
3795
|
}
|
|
3796
|
-
l("change", (c =
|
|
3796
|
+
l("change", (c = R()) == null ? void 0 : c.compData), f.visible = !1;
|
|
3797
3797
|
} else
|
|
3798
3798
|
f.visible = !1;
|
|
3799
|
-
},
|
|
3799
|
+
}, R = () => ({
|
|
3800
3800
|
comp: "Step",
|
|
3801
3801
|
compData: [
|
|
3802
3802
|
{
|
|
3803
3803
|
key: "stepList",
|
|
3804
|
-
contents:
|
|
3804
|
+
contents: D.value
|
|
3805
3805
|
},
|
|
3806
3806
|
{
|
|
3807
3807
|
key: "stepConfig",
|
|
@@ -3811,15 +3811,15 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3811
3811
|
}), q = () => {
|
|
3812
3812
|
f.visible = !1;
|
|
3813
3813
|
};
|
|
3814
|
-
return
|
|
3814
|
+
return Ue(() => a == null ? void 0 : a.itemContents, (n) => {
|
|
3815
3815
|
var v, j;
|
|
3816
|
-
n && (G.value = ((v = n == null ? void 0 : n.find((c) => c.key === "stepConfig")) == null ? void 0 : v.contents) ?? {},
|
|
3816
|
+
n && (G.value = ((v = n == null ? void 0 : n.find((c) => c.key === "stepConfig")) == null ? void 0 : v.contents) ?? {}, D.value = ((j = n == null ? void 0 : n.find((c) => c.key === "stepList")) == null ? void 0 : j.contents) ?? []);
|
|
3817
3817
|
}, { immediate: !0 }), (n, v) => {
|
|
3818
3818
|
const j = Ee("svg-icon"), c = Ee("el-button");
|
|
3819
3819
|
return he(), be(Se, null, [
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
v[2] || (v[2] =
|
|
3820
|
+
B("div", null, [
|
|
3821
|
+
B("div", Ys, [
|
|
3822
|
+
v[2] || (v[2] = B("h4", { class: "module-title" }, "内容", -1)),
|
|
3823
3823
|
ie(c, {
|
|
3824
3824
|
class: "module-icon",
|
|
3825
3825
|
id: "themeButton",
|
|
@@ -3838,13 +3838,13 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3838
3838
|
__: [1]
|
|
3839
3839
|
})
|
|
3840
3840
|
]),
|
|
3841
|
-
|
|
3842
|
-
(he(!0), be(Se, null,
|
|
3841
|
+
B("div", Zs, [
|
|
3842
|
+
(he(!0), be(Se, null, Re(D.value, (m, w) => (he(), be("div", {
|
|
3843
3843
|
class: "module-data-item",
|
|
3844
3844
|
key: w
|
|
3845
3845
|
}, [
|
|
3846
|
-
|
|
3847
|
-
|
|
3846
|
+
B("span", null, Ce(m == null ? void 0 : m.title), 1),
|
|
3847
|
+
B("div", null, [
|
|
3848
3848
|
ie(c, {
|
|
3849
3849
|
type: "primary",
|
|
3850
3850
|
size: "small",
|
|
@@ -3870,8 +3870,8 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3870
3870
|
])
|
|
3871
3871
|
]))), 128))
|
|
3872
3872
|
]),
|
|
3873
|
-
|
|
3874
|
-
v[5] || (v[5] =
|
|
3873
|
+
B("div", Qs, [
|
|
3874
|
+
v[5] || (v[5] = B("div", { class: "module-title" }, "布局", -1)),
|
|
3875
3875
|
ie(e2, {
|
|
3876
3876
|
rowContents: t.value,
|
|
3877
3877
|
onChange: ee
|
|
@@ -3885,15 +3885,15 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3885
3885
|
width: f.width
|
|
3886
3886
|
}, {
|
|
3887
3887
|
default: we(() => [
|
|
3888
|
-
|
|
3888
|
+
B("div", ei, [
|
|
3889
3889
|
(he(), Ie(e2, {
|
|
3890
3890
|
rowContents: E.value,
|
|
3891
3891
|
key: E.value,
|
|
3892
3892
|
isEnableWrap: !1,
|
|
3893
3893
|
isButtonRow: !1,
|
|
3894
3894
|
isStartJustify: !1,
|
|
3895
|
-
buttonValue:
|
|
3896
|
-
onOnButtonClick:
|
|
3895
|
+
buttonValue: O.value,
|
|
3896
|
+
onOnButtonClick: F
|
|
3897
3897
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
3898
3898
|
])
|
|
3899
3899
|
]),
|
|
@@ -3916,7 +3916,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
3916
3916
|
},
|
|
3917
3917
|
emits: ["change"],
|
|
3918
3918
|
setup(r, { emit: d }) {
|
|
3919
|
-
const a = r, l = d, t = Q("create"), E = Q({}),
|
|
3919
|
+
const a = r, l = d, t = Q("create"), E = Q({}), O = Q([]), f = Q([
|
|
3920
3920
|
{
|
|
3921
3921
|
label: "方向:",
|
|
3922
3922
|
prop: "placement",
|
|
@@ -4044,31 +4044,31 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
4044
4044
|
label: "确认",
|
|
4045
4045
|
background: "#436aaf"
|
|
4046
4046
|
}
|
|
4047
|
-
]),
|
|
4047
|
+
]), D = Il({
|
|
4048
4048
|
visible: !1,
|
|
4049
4049
|
width: "40%",
|
|
4050
4050
|
title: "时间线"
|
|
4051
4051
|
}), ee = (n) => {
|
|
4052
4052
|
var v;
|
|
4053
|
-
E.value = n, console.log(1212, n), l("change", (v =
|
|
4053
|
+
E.value = n, console.log(1212, n), l("change", (v = R()) == null ? void 0 : v.compData);
|
|
4054
4054
|
}, V = (n, v) => {
|
|
4055
4055
|
var j, c;
|
|
4056
4056
|
switch (n) {
|
|
4057
4057
|
case "create":
|
|
4058
4058
|
(j = U.value) == null || j.forEach((m) => {
|
|
4059
4059
|
m.value = "";
|
|
4060
|
-
}), t.value = "create",
|
|
4060
|
+
}), t.value = "create", D.visible = !0;
|
|
4061
4061
|
break;
|
|
4062
4062
|
case "update":
|
|
4063
4063
|
(c = U.value) == null || c.forEach((m) => {
|
|
4064
4064
|
m.value = v[m == null ? void 0 : m.prop];
|
|
4065
|
-
}), t.value = "update",
|
|
4065
|
+
}), t.value = "update", D.visible = !0;
|
|
4066
4066
|
break;
|
|
4067
4067
|
case "delete":
|
|
4068
|
-
|
|
4068
|
+
O.value.splice(v, 1), t.value = "delete";
|
|
4069
4069
|
break;
|
|
4070
4070
|
}
|
|
4071
|
-
},
|
|
4071
|
+
}, F = (n) => {
|
|
4072
4072
|
var v, j, c, m;
|
|
4073
4073
|
if ((n == null ? void 0 : n.buttonName) === "确认") {
|
|
4074
4074
|
const w = i(n == null ? void 0 : n.content);
|
|
@@ -4076,28 +4076,28 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
4076
4076
|
w[z] === "" && delete w[z];
|
|
4077
4077
|
}), t.value) {
|
|
4078
4078
|
case "create":
|
|
4079
|
-
console.log(1335,
|
|
4079
|
+
console.log(1335, O.value, w), (j = O.value) == null || j.push({
|
|
4080
4080
|
...w,
|
|
4081
|
-
index: ((v =
|
|
4081
|
+
index: ((v = O.value) == null ? void 0 : v.length) + 1
|
|
4082
4082
|
});
|
|
4083
4083
|
break;
|
|
4084
4084
|
case "update":
|
|
4085
|
-
|
|
4085
|
+
O.value = (c = O.value) == null ? void 0 : c.map((z) => z.index === (w == null ? void 0 : w.index) ? {
|
|
4086
4086
|
...z,
|
|
4087
4087
|
content: w == null ? void 0 : w.content,
|
|
4088
4088
|
timestamp: w == null ? void 0 : w.timestamp
|
|
4089
4089
|
} : z);
|
|
4090
4090
|
break;
|
|
4091
4091
|
}
|
|
4092
|
-
l("change", (m =
|
|
4092
|
+
l("change", (m = R()) == null ? void 0 : m.compData), D.visible = !1;
|
|
4093
4093
|
} else
|
|
4094
|
-
|
|
4095
|
-
},
|
|
4094
|
+
D.visible = !1;
|
|
4095
|
+
}, R = () => ({
|
|
4096
4096
|
comp: "TimeLine",
|
|
4097
4097
|
compData: [
|
|
4098
4098
|
{
|
|
4099
4099
|
key: "timeLineList",
|
|
4100
|
-
contents:
|
|
4100
|
+
contents: O.value
|
|
4101
4101
|
},
|
|
4102
4102
|
{
|
|
4103
4103
|
key: "timeLineConfig",
|
|
@@ -4105,17 +4105,17 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
4105
4105
|
}
|
|
4106
4106
|
]
|
|
4107
4107
|
}), q = () => {
|
|
4108
|
-
|
|
4108
|
+
D.visible = !1;
|
|
4109
4109
|
};
|
|
4110
|
-
return
|
|
4110
|
+
return Ue(() => a == null ? void 0 : a.itemContents, (n) => {
|
|
4111
4111
|
var v, j;
|
|
4112
|
-
n && (E.value = ((v = n == null ? void 0 : n.find((c) => c.key === "timeLineConfig")) == null ? void 0 : v.contents) ?? {},
|
|
4112
|
+
n && (E.value = ((v = n == null ? void 0 : n.find((c) => c.key === "timeLineConfig")) == null ? void 0 : v.contents) ?? {}, O.value = ((j = n == null ? void 0 : n.find((c) => c.key === "timeLineList")) == null ? void 0 : j.contents) ?? []);
|
|
4113
4113
|
}, { immediate: !0 }), (n, v) => {
|
|
4114
4114
|
const j = Ee("svg-icon"), c = Ee("el-button");
|
|
4115
4115
|
return he(), be(Se, null, [
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
v[2] || (v[2] =
|
|
4116
|
+
B("div", null, [
|
|
4117
|
+
B("div", si, [
|
|
4118
|
+
v[2] || (v[2] = B("h4", { class: "module-title" }, "内容", -1)),
|
|
4119
4119
|
ie(c, {
|
|
4120
4120
|
class: "module-icon",
|
|
4121
4121
|
id: "themeButton",
|
|
@@ -4134,13 +4134,13 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
4134
4134
|
__: [1]
|
|
4135
4135
|
})
|
|
4136
4136
|
]),
|
|
4137
|
-
|
|
4138
|
-
(he(!0), be(Se, null,
|
|
4137
|
+
B("div", ii, [
|
|
4138
|
+
(he(!0), be(Se, null, Re(O.value, (m, w) => (he(), be("div", {
|
|
4139
4139
|
class: "module-data-item",
|
|
4140
4140
|
key: w
|
|
4141
4141
|
}, [
|
|
4142
|
-
|
|
4143
|
-
|
|
4142
|
+
B("span", null, Ce(m == null ? void 0 : m.content), 1),
|
|
4143
|
+
B("div", null, [
|
|
4144
4144
|
ie(c, {
|
|
4145
4145
|
type: "primary",
|
|
4146
4146
|
size: "small",
|
|
@@ -4166,8 +4166,8 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
4166
4166
|
])
|
|
4167
4167
|
]))), 128))
|
|
4168
4168
|
]),
|
|
4169
|
-
|
|
4170
|
-
v[5] || (v[5] =
|
|
4169
|
+
B("div", ni, [
|
|
4170
|
+
v[5] || (v[5] = B("div", { class: "module-title" }, "布局", -1)),
|
|
4171
4171
|
ie(e2, {
|
|
4172
4172
|
rowContents: f.value,
|
|
4173
4173
|
onChange: ee
|
|
@@ -4175,13 +4175,13 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
4175
4175
|
])
|
|
4176
4176
|
]),
|
|
4177
4177
|
ie(a2, {
|
|
4178
|
-
visible:
|
|
4179
|
-
title:
|
|
4178
|
+
visible: D.visible,
|
|
4179
|
+
title: D.title,
|
|
4180
4180
|
onBeforeDestroy: q,
|
|
4181
|
-
width:
|
|
4181
|
+
width: D.width
|
|
4182
4182
|
}, {
|
|
4183
4183
|
default: we(() => [
|
|
4184
|
-
|
|
4184
|
+
B("div", oi, [
|
|
4185
4185
|
(he(), Ie(e2, {
|
|
4186
4186
|
rowContents: U.value,
|
|
4187
4187
|
key: U.value,
|
|
@@ -4189,7 +4189,7 @@ const h0 = { class: "obj-viewer-container" }, f0 = { class: "buttonGroup-top" },
|
|
|
4189
4189
|
isButtonRow: !1,
|
|
4190
4190
|
isStartJustify: !1,
|
|
4191
4191
|
buttonValue: G.value,
|
|
4192
|
-
onOnButtonClick:
|
|
4192
|
+
onOnButtonClick: F
|
|
4193
4193
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
4194
4194
|
])
|
|
4195
4195
|
]),
|
|
@@ -4222,8 +4222,8 @@ const di = /* @__PURE__ */ Te(ci, [["render", ui]]), pi = { class: "extra-conten
|
|
|
4222
4222
|
},
|
|
4223
4223
|
emits: ["change"],
|
|
4224
4224
|
setup(r, { emit: d }) {
|
|
4225
|
-
const a = r, l = Q(0), t = Q(), E = Q(),
|
|
4226
|
-
|
|
4225
|
+
const a = r, l = Q(0), t = Q(), E = Q(), O = d, f = Q(!1), U = Q({}), G = Q({}), D = Q();
|
|
4226
|
+
Ue(
|
|
4227
4227
|
() => [a.itemData],
|
|
4228
4228
|
() => {
|
|
4229
4229
|
var m;
|
|
@@ -4233,8 +4233,8 @@ const di = /* @__PURE__ */ Te(ci, [["render", ui]]), pi = { class: "extra-conten
|
|
|
4233
4233
|
if (w.key === "extra") {
|
|
4234
4234
|
let ce = [];
|
|
4235
4235
|
(z = w.value) == null || z.forEach((fe) => {
|
|
4236
|
-
var
|
|
4237
|
-
ce.push((
|
|
4236
|
+
var H;
|
|
4237
|
+
ce.push((H = Object.values(fe)) == null ? void 0 : H[0]);
|
|
4238
4238
|
}), w.value = ce;
|
|
4239
4239
|
}
|
|
4240
4240
|
return w;
|
|
@@ -4245,12 +4245,12 @@ const di = /* @__PURE__ */ Te(ci, [["render", ui]]), pi = { class: "extra-conten
|
|
|
4245
4245
|
const ee = (c, m, w, z) => {
|
|
4246
4246
|
var fe;
|
|
4247
4247
|
let ce = {};
|
|
4248
|
-
((fe = c == null ? void 0 : c[0]) == null ? void 0 : fe.contents) === "详情" && (f.value = !0, ce[m] = c, E.value = c == null ? void 0 : c.filter((
|
|
4248
|
+
((fe = c == null ? void 0 : c[0]) == null ? void 0 : fe.contents) === "详情" && (f.value = !0, ce[m] = c, E.value = c == null ? void 0 : c.filter((H) => (H == null ? void 0 : H.key) !== "tableContentName"), U.value = ce, G.value = w, D.value = z.id);
|
|
4249
4249
|
}, V = (c) => {
|
|
4250
|
-
var
|
|
4251
|
-
const m = (X = (
|
|
4252
|
-
var
|
|
4253
|
-
return
|
|
4250
|
+
var H, X, K, M;
|
|
4251
|
+
const m = (X = (H = Object.values(i(U.value))) == null ? void 0 : H[0]) == null ? void 0 : X.filter((s) => (s == null ? void 0 : s.key) === "tableContentName"), w = (M = (K = Object.values(i(U.value))) == null ? void 0 : K[0]) == null ? void 0 : M.filter((s) => (s == null ? void 0 : s.key) !== "tableContentName"), z = w == null ? void 0 : w.map((s, P) => {
|
|
4252
|
+
var Y;
|
|
4253
|
+
return P === c.index && (s == null ? void 0 : s.comp) === "Table" && (s.compData = (Y = s.compData) == null ? void 0 : Y.map((k) => {
|
|
4254
4254
|
var se, pe;
|
|
4255
4255
|
return (k == null ? void 0 : k.key) === "tableContents" && (k.contents = (pe = (se = c.content) == null ? void 0 : se.map((ve) => {
|
|
4256
4256
|
let p = {};
|
|
@@ -4265,11 +4265,11 @@ const di = /* @__PURE__ */ Te(ci, [["render", ui]]), pi = { class: "extra-conten
|
|
|
4265
4265
|
for (let s in ce)
|
|
4266
4266
|
fe[s] = z;
|
|
4267
4267
|
U.value = fe;
|
|
4268
|
-
},
|
|
4269
|
-
f.value = !1, U.value = {}, G.value = {},
|
|
4270
|
-
},
|
|
4271
|
-
var
|
|
4272
|
-
const m = (X = (
|
|
4268
|
+
}, F = () => {
|
|
4269
|
+
f.value = !1, U.value = {}, G.value = {}, D.value = void 0, l.value++;
|
|
4270
|
+
}, R = (c) => {
|
|
4271
|
+
var H, X, K, M;
|
|
4272
|
+
const m = (X = (H = Object.values(i(U.value))) == null ? void 0 : H[0]) == null ? void 0 : X.filter((s) => (s == null ? void 0 : s.key) === "tableContentName"), w = (M = (K = Object.values(i(U.value))) == null ? void 0 : K[0]) == null ? void 0 : M.filter((s) => (s == null ? void 0 : s.key) !== "tableContentName"), z = w == null ? void 0 : w.map((s, P) => (P === c.index && (s.compData = c.contents), s));
|
|
4273
4273
|
z.unshift(m == null ? void 0 : m[0]);
|
|
4274
4274
|
let ce = i(U.value), fe = {};
|
|
4275
4275
|
for (let s in ce)
|
|
@@ -4280,20 +4280,20 @@ const di = /* @__PURE__ */ Te(ci, [["render", ui]]), pi = { class: "extra-conten
|
|
|
4280
4280
|
let c = {};
|
|
4281
4281
|
for (let z in G.value)
|
|
4282
4282
|
z === ((m = Object.keys(U.value)) == null ? void 0 : m[0]) ? c[z] = (w = Object.values(U.value)) == null ? void 0 : w[0] : c[z] = G.value[z];
|
|
4283
|
-
|
|
4283
|
+
O("change", {
|
|
4284
4284
|
buttonName: "编辑",
|
|
4285
|
-
index:
|
|
4285
|
+
index: D.value,
|
|
4286
4286
|
singleContent: c
|
|
4287
|
-
}, "methodData"), f.value = !1, U.value = {}, G.value = {},
|
|
4287
|
+
}, "methodData"), f.value = !1, U.value = {}, G.value = {}, D.value = void 0;
|
|
4288
4288
|
}, n = () => {
|
|
4289
|
-
f.value = !1, U.value = {}, G.value = {},
|
|
4289
|
+
f.value = !1, U.value = {}, G.value = {}, D.value = void 0;
|
|
4290
4290
|
}, v = (c) => {
|
|
4291
|
-
|
|
4291
|
+
O("change", c, "methodData");
|
|
4292
4292
|
}, j = (c) => Sl(c);
|
|
4293
4293
|
return (c, m) => {
|
|
4294
4294
|
const w = Ee("el-button");
|
|
4295
4295
|
return he(), be("div", pi, [
|
|
4296
|
-
(he(!0), be(Se, null,
|
|
4296
|
+
(he(!0), be(Se, null, Re(t.value, (z, ce) => (he(), be("div", { key: l.value }, [
|
|
4297
4297
|
(z == null ? void 0 : z.key) === "extra" ? (he(), be("div", hi)) : (he(), be("div", fi, [
|
|
4298
4298
|
(he(), Ie(sl(j(z.comp)), {
|
|
4299
4299
|
itemData: z == null ? void 0 : z.compData,
|
|
@@ -4310,7 +4310,7 @@ const di = /* @__PURE__ */ Te(ci, [["render", ui]]), pi = { class: "extra-conten
|
|
|
4310
4310
|
onBeforeDestroy: n
|
|
4311
4311
|
}, {
|
|
4312
4312
|
default: we(() => [
|
|
4313
|
-
(he(!0), be(Se, null,
|
|
4313
|
+
(he(!0), be(Se, null, Re(E.value, (z, ce) => (he(), be("div", {
|
|
4314
4314
|
key: ce,
|
|
4315
4315
|
class: "extra-dialog"
|
|
4316
4316
|
}, [
|
|
@@ -4319,17 +4319,17 @@ const di = /* @__PURE__ */ Te(ci, [["render", ui]]), pi = { class: "extra-conten
|
|
|
4319
4319
|
onChange: V,
|
|
4320
4320
|
childItemData: z == null ? void 0 : z.itemChildData,
|
|
4321
4321
|
key: ce,
|
|
4322
|
-
onContentChange:
|
|
4322
|
+
onContentChange: R,
|
|
4323
4323
|
index: (z == null ? void 0 : z.id) ?? ce,
|
|
4324
4324
|
class: "extra-component"
|
|
4325
4325
|
}, null, 40, ["itemData", "childItemData", "index"]))
|
|
4326
4326
|
]))), 128))
|
|
4327
4327
|
]),
|
|
4328
4328
|
footer: we(() => [
|
|
4329
|
-
|
|
4329
|
+
B("div", vi, [
|
|
4330
4330
|
ie(w, {
|
|
4331
4331
|
class: "cancel-button footer-button",
|
|
4332
|
-
onClick:
|
|
4332
|
+
onClick: F,
|
|
4333
4333
|
id: "themeBorderButton"
|
|
4334
4334
|
}, {
|
|
4335
4335
|
default: we(() => m[0] || (m[0] = [
|
|
@@ -4359,40 +4359,40 @@ const di = /* @__PURE__ */ Te(ci, [["render", ui]]), pi = { class: "extra-conten
|
|
|
4359
4359
|
}, yi = /* @__PURE__ */ Te(mi, [["__scopeId", "data-v-2d9c5ab2"]]);
|
|
4360
4360
|
let rl = "$R";
|
|
4361
4361
|
const Ml = (r) => {
|
|
4362
|
-
var f, U, G,
|
|
4362
|
+
var f, U, G, D, ee, V, F, R, q, n, v, j, c, m, w, z, ce, fe, H, X, K, M, s, P;
|
|
4363
4363
|
const d = Bl(r) ? (f = p2(i(r))) == null ? void 0 : f[0] : "[]", a = Bl(r) ? "[" + ((U = p2(i(r))) == null ? void 0 : U[2]) + "]" : "[" + r + "]";
|
|
4364
4364
|
let l = [], t = [], E = "";
|
|
4365
|
-
const
|
|
4366
|
-
if (d2(
|
|
4365
|
+
const O = (D = (G = a == null ? void 0 : a.trim()) == null ? void 0 : G.slice(1, (a == null ? void 0 : a.trim().length) - 1)) == null ? void 0 : D.replaceAll("'", '"');
|
|
4366
|
+
if (d2(O) ? l = JSON.parse(O) : d2((F = (V = (ee = O == null ? void 0 : O.split("}")) == null ? void 0 : ee[0]) == null ? void 0 : V.replace(":", "")) == null ? void 0 : F.replaceAll("\\", "\\\\")) && (l = JSON.parse((n = (q = (R = O == null ? void 0 : O.split("}")) == null ? void 0 : R[0]) == null ? void 0 : q.replace(":", "")) == null ? void 0 : n.replaceAll("\\", "\\\\"))), l = l != null && l.every((Y) => Array.isArray(Y) && Y.every((k) => Array.isArray(k))) ? l == null ? void 0 : l[0] : l, !(d != null && d.includes("(")))
|
|
4367
4367
|
!d.includes("{") && d2(d == null ? void 0 : d.replaceAll("'", '"')) ? t = JSON.parse(d == null ? void 0 : d.replaceAll("'", '"')) : d2((j = (v = d == null ? void 0 : d.split("{")) == null ? void 0 : v[1]) == null ? void 0 : j.replaceAll("'", '"')) && (t = JSON.parse((m = (c = d == null ? void 0 : d.split("{")) == null ? void 0 : c[1]) == null ? void 0 : m.replaceAll("'", '"')));
|
|
4368
4368
|
else {
|
|
4369
|
-
let
|
|
4369
|
+
let Y = [];
|
|
4370
4370
|
if (((z = (w = d == null ? void 0 : d.slice(1, (d == null ? void 0 : d.length) - 1)) == null ? void 0 : w.split(",")) == null ? void 0 : z.length) > 1)
|
|
4371
4371
|
(fe = (ce = d == null ? void 0 : d.slice(1, (d == null ? void 0 : d.length) - 1)) == null ? void 0 : ce.split(",")) == null || fe.forEach((k) => {
|
|
4372
4372
|
var se, pe, ve, p, L, b, g, $, _, I, N, T, A, ne, y, x, W, J, u, ue, le, e, o, h, C, S;
|
|
4373
4373
|
if (!(k != null && k.includes("(")))
|
|
4374
|
-
|
|
4374
|
+
Y.push(k == null ? void 0 : k.replaceAll("'", ""));
|
|
4375
4375
|
else if (k != null && k.includes("[")) {
|
|
4376
|
-
let
|
|
4376
|
+
let Z;
|
|
4377
4377
|
const ge = (N = (I = i(k)) == null ? void 0 : I.replaceAll("{", "")) == null ? void 0 : N.replaceAll("}", "");
|
|
4378
|
-
|
|
4379
|
-
const oe =
|
|
4380
|
-
|
|
4378
|
+
Z = (A = (T = ge == null ? void 0 : ge.replace("[", rl)) == null ? void 0 : T.split(rl)) == null ? void 0 : A[1];
|
|
4379
|
+
const oe = Z.lastIndexOf("]"), te = Z.substring(0, oe) + rl + Z.substring(oe + 1);
|
|
4380
|
+
Z = (y = (ne = te == null ? void 0 : te.split(rl)) == null ? void 0 : ne[0]) == null ? void 0 : y.replaceAll("'", ""), Z = (Z == null ? void 0 : Z[0]) === ":" ? '""' + Z : Z, k != null && k.includes("#") && (Z != null && Z.includes("[") ? Z = ((W = (x = k == null ? void 0 : k.split("#")) == null ? void 0 : x[0]) == null ? void 0 : W.replaceAll("'", "")) + "#(" + Z + ")" : Z = ((u = (J = k == null ? void 0 : k.split("#")) == null ? void 0 : J[0]) == null ? void 0 : u.replaceAll("'", "")) + "#" + Z);
|
|
4381
4381
|
let re = (h = (o = (e = (ue = i(ge)) == null ? void 0 : ue.split("(")) == null ? void 0 : e[((le = ge == null ? void 0 : ge.split("(")) == null ? void 0 : le.length) - 1]) == null ? void 0 : o.split(")")) == null ? void 0 : h[0].replaceAll(":", "/").replaceAll("'", "");
|
|
4382
|
-
|
|
4382
|
+
Z.includes(":") && ((S = re == null ? void 0 : re.split("/")) == null ? void 0 : S[((C = re == null ? void 0 : re.split("/")) == null ? void 0 : C.length) - 1]) !== "" ? Z = Z + "[" + re + "]" : Z = Z + "[" + re + "]()", Y.push(Z == null ? void 0 : Z.replaceAll('"', "'"));
|
|
4383
4383
|
} else {
|
|
4384
|
-
let
|
|
4385
|
-
|
|
4384
|
+
let Z = (L = (p = (ve = (pe = k == null ? void 0 : k.split(":")) == null ? void 0 : pe[((se = k == null ? void 0 : k.split(":")) == null ? void 0 : se.length) - 1]) == null ? void 0 : ve.split(")")) == null ? void 0 : p[0]) == null ? void 0 : L.replaceAll("'", "");
|
|
4385
|
+
Z = Z + "[" + ((_ = ($ = (g = k == null ? void 0 : k.split("(")) == null ? void 0 : g[((b = k == null ? void 0 : k.split("(")) == null ? void 0 : b.length) - 1]) == null ? void 0 : $.split(")")) == null ? void 0 : _[0].replaceAll(":", "/").replaceAll("'", "")) + "]", Y.push(Z);
|
|
4386
4386
|
}
|
|
4387
|
-
}), t =
|
|
4387
|
+
}), t = Y;
|
|
4388
4388
|
else {
|
|
4389
|
-
const k = ((M = (K = (X = (
|
|
4390
|
-
E = E + k + "[" + ((
|
|
4389
|
+
const k = ((M = (K = (X = (H = d == null ? void 0 : d.slice(1, d == null ? void 0 : d.length)) == null ? void 0 : H.split("(")) == null ? void 0 : X[1]) == null ? void 0 : K.split(")")) == null ? void 0 : M[0]).replaceAll("{", "").replaceAll("}", "").replaceAll(":", "/").replaceAll("'", "");
|
|
4390
|
+
E = E + k + "[" + ((P = (s = d == null ? void 0 : d.slice(1, (d == null ? void 0 : d.length) - 1)) == null ? void 0 : s.split("[")) == null ? void 0 : P[1]);
|
|
4391
4391
|
}
|
|
4392
4392
|
}
|
|
4393
4393
|
return {
|
|
4394
4394
|
tableColumns: t,
|
|
4395
|
-
tableContents: l != null && l.every((
|
|
4395
|
+
tableContents: l != null && l.every((Y) => Array.isArray(Y)) ? l : [l],
|
|
4396
4396
|
tablePath: E
|
|
4397
4397
|
};
|
|
4398
4398
|
};
|
|
@@ -4408,18 +4408,18 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4408
4408
|
let a = r;
|
|
4409
4409
|
const l = [];
|
|
4410
4410
|
let t = "", E = 0;
|
|
4411
|
-
for (const
|
|
4412
|
-
E++,
|
|
4411
|
+
for (const O of a)
|
|
4412
|
+
E++, O.includes("{") || t.includes("{") || O.includes("[") || t.includes("[") || O.includes("【") || t.includes("【") || O.includes("(") || t.includes("(") || O.includes("(") || t.includes("(") || O.includes("/*") || t.includes("/*") ? (t += O.trim(), i(t).split("{").length - 1 === i(t).split("}").length - 1 && i(t).split("【").length - 1 === i(t).split("】").length - 1 && i(t).split("[").length - 1 === i(t).split("]").length - 1 && i(t).split("(").length - 1 === i(t).split(")").length - 1 && i(t).split("(").length - 1 === i(t).split(")").length - 1 && i(t).split("/*").length - 1 === i(t).split("*/").length - 1 && t[t.length - 1] !== "," && t[t.length - 1] === d ? (l.push(t.replace(/\/\*[\s\S]*?\*\//g, "")), t = "") : E === (r == null ? void 0 : r.length) && l.push(t.replace(/\/\*[\s\S]*?\*\//g, ""))) : (t += O.trim(), (t == null ? void 0 : t[(t == null ? void 0 : t.length) - 1]) === d && (l.push(t.replace(/\/\*[\s\S]*?\*\//g, "")), t = ""));
|
|
4413
4413
|
return l;
|
|
4414
4414
|
}, Bl = (r) => /^\[[\s\S]*?\]\s*:\s*\[[\s\S]*?\]$/.exec(i(r)), Ai = (r) => {
|
|
4415
|
-
var d, a, l, t, E,
|
|
4415
|
+
var d, a, l, t, E, O, f, U, G, D, ee, V, F, R, q, n, v, j, c, m, w, z, ce, fe, H, X, K, M, s, P, Y, k, se, pe, ve, p, L, b, g, $, _, I, N, T, A, ne, y, x, W, J, u, ue, le, e, o, h, C, S, Z;
|
|
4416
4416
|
if (wi(r)) {
|
|
4417
4417
|
let ge = {}, oe = (l = (a = (d = r == null ? void 0 : r.replace(":", Me)) == null ? void 0 : d.split(Me)) == null ? void 0 : a[0]) == null ? void 0 : l.replaceAll("'", ""), te = "", re = (E = (t = r == null ? void 0 : r.replace(":", Me)) == null ? void 0 : t.split(Me)) == null ? void 0 : E[1];
|
|
4418
4418
|
if (re.includes("{") || re.includes("("))
|
|
4419
|
-
if (re.includes("{") ? te = te + ((ee = (
|
|
4419
|
+
if (re.includes("{") ? te = te + ((ee = (D = (G = (U = (f = (O = re == null ? void 0 : re.split("{")) == null ? void 0 : O[1]) == null ? void 0 : f.split("}")) == null ? void 0 : U[0]) == null ? void 0 : G.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : D.replaceAll("[", "([")) == null ? void 0 : ee.replaceAll("]", "])")) + "[" : te = te + ((v = (n = (q = (R = (F = (V = re == null ? void 0 : re.split("(")) == null ? void 0 : V[1]) == null ? void 0 : F.split(")")) == null ? void 0 : R[0]) == null ? void 0 : q.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : n.replaceAll("[", "([")) == null ? void 0 : v.replaceAll("]", "])")) + "[", !((j = re == null ? void 0 : re.split(")")) != null && j[1]))
|
|
4420
4420
|
te = te + ((w = (m = (c = re == null ? void 0 : re.split("[")) == null ? void 0 : c[1]) == null ? void 0 : m.split("]")) == null ? void 0 : w[0]) + "]";
|
|
4421
4421
|
else {
|
|
4422
|
-
const ye = (
|
|
4422
|
+
const ye = (H = (fe = (ce = (z = re == null ? void 0 : re.split(")")) == null ? void 0 : z[1]) == null ? void 0 : ce.replace("[", Me)) == null ? void 0 : fe.split(Me)) == null ? void 0 : H[1], ke = ye.lastIndexOf("]"), ae = ye.substring(0, ke) + Me + ye.substring(ke + 1);
|
|
4423
4423
|
te = te + ((X = ae == null ? void 0 : ae.split(Me)) == null ? void 0 : X[0]) + "]";
|
|
4424
4424
|
}
|
|
4425
4425
|
else
|
|
@@ -4431,7 +4431,7 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4431
4431
|
} else {
|
|
4432
4432
|
let ge = {}, oe = "", te = "";
|
|
4433
4433
|
if (r.includes("#")) {
|
|
4434
|
-
oe = (
|
|
4434
|
+
oe = (Y = (P = r == null ? void 0 : r.split("#")) == null ? void 0 : P[0]) == null ? void 0 : Y.replaceAll("'", "");
|
|
4435
4435
|
let re = (se = (k = r == null ? void 0 : r.split("#")) == null ? void 0 : k[1]) == null ? void 0 : se.replaceAll("'", "");
|
|
4436
4436
|
re != null && re.includes("{") ? te = te + ((L = (p = (ve = (pe = re == null ? void 0 : re.split("{")) == null ? void 0 : pe[1]) == null ? void 0 : ve.split("}")) == null ? void 0 : p[0]) == null ? void 0 : L.replaceAll(":", "/").replaceAll("'", "")) + "[" : te = te + ((_ = ($ = (g = (b = re == null ? void 0 : re.split("(")) == null ? void 0 : b[1]) == null ? void 0 : g.split(")")) == null ? void 0 : $[0]) == null ? void 0 : _.replaceAll(":", "/").replaceAll("'", "")) + "[", te = te + ((T = (N = (I = re == null ? void 0 : re.split("[")) == null ? void 0 : I[1]) == null ? void 0 : N.split("]")) == null ? void 0 : T[0]) + "]";
|
|
4437
4437
|
} else {
|
|
@@ -4443,7 +4443,7 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4443
4443
|
te = ((ue = (u = (J = (W = r == null ? void 0 : r.split("]")) == null ? void 0 : W[1]) == null ? void 0 : J.replace(":", Me).split(Me)) == null ? void 0 : u[1]) == null ? void 0 : ue.replaceAll("'", "")) ?? "";
|
|
4444
4444
|
else {
|
|
4445
4445
|
let ye = (S = (C = (h = (o = (e = (le = i(r)) == null ? void 0 : le.split("(")) == null ? void 0 : e[1]) == null ? void 0 : o.split(")")) == null ? void 0 : h[0]) == null ? void 0 : C.replaceAll("{", "").replaceAll("}", "")) == null ? void 0 : S.replaceAll("'", "").replaceAll(":", "/"), ke = "";
|
|
4446
|
-
(
|
|
4446
|
+
(Z = re == null ? void 0 : re.split(":")) == null || Z.forEach((ae) => {
|
|
4447
4447
|
ke = ke === "" ? ke + (ae == null ? void 0 : ae.replaceAll("'", "")) : ke + ":" + (ae == null ? void 0 : ae.replaceAll("'", ""));
|
|
4448
4448
|
}), te = ye + "[" + ke + "]";
|
|
4449
4449
|
}
|
|
@@ -4460,52 +4460,52 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4460
4460
|
return r.substring(0, a) + d + r.substring(a + 1);
|
|
4461
4461
|
return r;
|
|
4462
4462
|
}, Ci = (r) => {
|
|
4463
|
-
var E,
|
|
4463
|
+
var E, O, f, U, G;
|
|
4464
4464
|
let d = r.slice(1, r.length - 1), a;
|
|
4465
|
-
(d == null ? void 0 : d[0]) === "[" ? a = (
|
|
4465
|
+
(d == null ? void 0 : d[0]) === "[" ? a = (O = (E = p2(i(d))) == null ? void 0 : E.filter((D) => D !== ",")) == null ? void 0 : O.map((D) => D == null ? void 0 : D.slice(1, D.length - 1)) : (d = "[" + i(d) + "]", a = (U = (f = p2(i(d))) == null ? void 0 : f.filter((D) => D !== ",")) == null ? void 0 : U.map((D) => D == null ? void 0 : D.slice(1, D.length - 1))), a = (G = i(a)) == null ? void 0 : G.map((D) => {
|
|
4466
4466
|
var ee, V;
|
|
4467
|
-
return
|
|
4467
|
+
return D = (V = (ee = D.replace(")", Me)) == null ? void 0 : ee.split(Me)) == null ? void 0 : V[1], D;
|
|
4468
4468
|
});
|
|
4469
4469
|
let l = [], t = [];
|
|
4470
|
-
return a == null || a.forEach((
|
|
4471
|
-
var
|
|
4472
|
-
let ee = (
|
|
4470
|
+
return a == null || a.forEach((D) => {
|
|
4471
|
+
var F, R, q, n, v, j, c, m, w, z, ce, fe, H, X, K, M, s, P, Y, k, se, pe, ve, p, L, b, g, $, _, I, N, T;
|
|
4472
|
+
let ee = (R = (F = i(D)) == null ? void 0 : F.slice(1, i(D).length - 1)) == null ? void 0 : R.replace(":", Me).split(Me);
|
|
4473
4473
|
if (((n = (q = i(ee)) == null ? void 0 : q[0]) == null ? void 0 : n.replaceAll("'", "")) === "输入") {
|
|
4474
4474
|
if (!((j = (v = i(ee)) == null ? void 0 : v[1]) != null && j.includes("[")) && !((m = (c = i(ee)) == null ? void 0 : c[1]) != null && m.includes("("))) {
|
|
4475
4475
|
d2((w = i(ee)) == null ? void 0 : w[1].replaceAll("'", '"')) && t.push(JSON.parse((z = i(ee)) == null ? void 0 : z[1].replaceAll("'", '"')));
|
|
4476
4476
|
return;
|
|
4477
4477
|
}
|
|
4478
4478
|
if (((fe = (ce = i(ee)) == null ? void 0 : ce[1]) == null ? void 0 : fe[0]) === "[") {
|
|
4479
|
-
let A = (M = (
|
|
4480
|
-
(
|
|
4481
|
-
var u, ue, le, e, o, h, C, S,
|
|
4479
|
+
let A = (M = (H = i(ee)) == null ? void 0 : H[1]) == null ? void 0 : M.slice(1, ((K = (X = i(ee)) == null ? void 0 : X[1]) == null ? void 0 : K.length) - 1);
|
|
4480
|
+
(P = (s = p2(A)) == null ? void 0 : s.filter((ne) => ne !== ",")) == null || P.forEach((ne) => {
|
|
4481
|
+
var u, ue, le, e, o, h, C, S, Z, ge, oe, te, re, ye, ke, ae, me, _e, Ae, ze, $e, Ne;
|
|
4482
4482
|
let y = {}, x = (le = (ue = i(ne)) == null ? void 0 : ue.slice(1, ((u = i(ne)) == null ? void 0 : u.length) - 1)) == null ? void 0 : le.replace(":", Me).split(Me), W = (e = x == null ? void 0 : x[0]) == null ? void 0 : e.replaceAll("'", ""), J;
|
|
4483
|
-
(o = x == null ? void 0 : x[1]) != null && o.includes("(") ? (J = (ye = (re = (te = (oe = (ge = (
|
|
4483
|
+
(o = x == null ? void 0 : x[1]) != null && o.includes("(") ? (J = (ye = (re = (te = (oe = (ge = (Z = (S = (C = i(x)) == null ? void 0 : C[1]) == null ? void 0 : S.replaceAll("{", "")) == null ? void 0 : Z.replaceAll("}", "")) == null ? void 0 : ge.split("(")) == null ? void 0 : oe[1]) == null ? void 0 : te.split(")")) == null ? void 0 : re[0]) == null ? void 0 : ye.replaceAll(":", "/").replaceAll("'", ""), (ae = (ke = i(x)) == null ? void 0 : ke[1]) != null && ae.includes("[") && (J = i(J) + "[" + ((Ne = ($e = (ze = (Ae = (_e = (me = i(x)) == null ? void 0 : me[1]) == null ? void 0 : _e.split("[")) == null ? void 0 : Ae[1]) == null ? void 0 : ze.split("]")) == null ? void 0 : $e[0]) == null ? void 0 : Ne.replaceAll("'", "")) + "]")) : J = (h = x == null ? void 0 : x[1]) == null ? void 0 : h.replaceAll("'", ""), y[W] = J, t.push(y);
|
|
4484
4484
|
});
|
|
4485
4485
|
}
|
|
4486
4486
|
} else {
|
|
4487
|
-
if (!((k = (
|
|
4487
|
+
if (!((k = (Y = i(ee)) == null ? void 0 : Y[1]) != null && k.includes("[")) && !((pe = (se = i(ee)) == null ? void 0 : se[1]) != null && pe.includes("("))) {
|
|
4488
4488
|
d2((ve = i(ee)) == null ? void 0 : ve[1].replaceAll("'", '"')) && l.push(JSON.parse((p = i(ee)) == null ? void 0 : p[1].replaceAll("'", '"')));
|
|
4489
4489
|
return;
|
|
4490
4490
|
}
|
|
4491
4491
|
if (((b = (L = i(ee)) == null ? void 0 : L[1]) == null ? void 0 : b[0]) === "[") {
|
|
4492
4492
|
let A = (I = (g = i(ee)) == null ? void 0 : g[1]) == null ? void 0 : I.slice(1, ((_ = ($ = i(ee)) == null ? void 0 : $[1]) == null ? void 0 : _.length) - 1);
|
|
4493
4493
|
(T = (N = p2(A)) == null ? void 0 : N.filter((ne) => ne !== ",")) == null || T.forEach((ne) => {
|
|
4494
|
-
var u, ue, le, e, o, h, C, S,
|
|
4494
|
+
var u, ue, le, e, o, h, C, S, Z, ge, oe, te, re, ye, ke, ae, me, _e, Ae, ze, $e, Ne, de, Ve, Le, s2, Ye, Ze, z2, n2, h2, f2, Ge;
|
|
4495
4495
|
let y = {}, x = (le = (ue = i(ne)) == null ? void 0 : ue.slice(1, ((u = i(ne)) == null ? void 0 : u.length) - 1)) == null ? void 0 : le.replace(":", Me).split(Me), W = (e = x == null ? void 0 : x[0]) == null ? void 0 : e.replaceAll("'", ""), J;
|
|
4496
4496
|
if (!((o = x == null ? void 0 : x[1]) != null && o.includes("(")))
|
|
4497
4497
|
J = (h = x == null ? void 0 : x[1]) == null ? void 0 : h.replaceAll("'", "");
|
|
4498
|
-
else if (J = (te = (oe = (ge = (
|
|
4498
|
+
else if (J = (te = (oe = (ge = (Z = (S = (C = i(x)) == null ? void 0 : C[1]) == null ? void 0 : S.replaceAll("{", "")) == null ? void 0 : Z.replaceAll("}", "")) == null ? void 0 : ge.replace("(", Me)) == null ? void 0 : oe.split(Me)) == null ? void 0 : te[1], J = (ye = (re = _i(i(J), Me)) == null ? void 0 : re.split(Me)) == null ? void 0 : ye[0], !(J != null && J.includes("(")))
|
|
4499
4499
|
J = (ke = i(J)) == null ? void 0 : ke.replaceAll(":", "/").replaceAll("'", ""), (me = (ae = i(x)) == null ? void 0 : ae[1]) != null && me.includes("[") && (J = i(J) + "[" + ((de = (Ne = ($e = (ze = (Ae = (_e = i(x)) == null ? void 0 : _e[1]) == null ? void 0 : Ae.split("[")) == null ? void 0 : ze[1]) == null ? void 0 : $e.split("]")) == null ? void 0 : Ne[0]) == null ? void 0 : de.replaceAll("'", "")) + "]");
|
|
4500
4500
|
else {
|
|
4501
4501
|
let Qe = "";
|
|
4502
|
-
(Ve = Fl(J, ":")) == null || Ve.forEach((
|
|
4502
|
+
(Ve = Fl(J, ":")) == null || Ve.forEach((je) => {
|
|
4503
4503
|
var L2, T2, V2, P2, O2, R2, H2, U2, j2, N2, K2, J2, W2, G2, X2;
|
|
4504
|
-
if (!(
|
|
4505
|
-
Qe = Qe === "" ? Qe + ((L2 =
|
|
4504
|
+
if (!(je != null && je.includes("(")))
|
|
4505
|
+
Qe = Qe === "" ? Qe + ((L2 = je == null ? void 0 : je.replaceAll(":", "")) == null ? void 0 : L2.replaceAll("'", "")) : Qe + "/" + ((T2 = je == null ? void 0 : je.replaceAll(":", "")) == null ? void 0 : T2.replaceAll("'", ""));
|
|
4506
4506
|
else {
|
|
4507
|
-
let M2 = (N2 = (j2 = (U2 = (H2 = (R2 = (O2 = (P2 = (V2 = i(
|
|
4508
|
-
M2 = M2 + "[" + ((X2 = (G2 = (W2 = (J2 = (K2 = i(
|
|
4507
|
+
let M2 = (N2 = (j2 = (U2 = (H2 = (R2 = (O2 = (P2 = (V2 = i(je)) == null ? void 0 : V2.replaceAll("{", "")) == null ? void 0 : P2.replaceAll("}", "")) == null ? void 0 : O2.replace("(", Me)) == null ? void 0 : R2.split(Me)) == null ? void 0 : H2[1]) == null ? void 0 : U2.split(")")) == null ? void 0 : j2[0]) == null ? void 0 : N2.replaceAll(":", "/").replaceAll("'", "");
|
|
4508
|
+
M2 = M2 + "[" + ((X2 = (G2 = (W2 = (J2 = (K2 = i(je)) == null ? void 0 : K2.split("[")) == null ? void 0 : J2[1]) == null ? void 0 : W2.split("]")) == null ? void 0 : G2[0]) == null ? void 0 : X2.replaceAll("'", "")) + "]", Qe = Qe === "" ? Qe + "[" + M2 + "]" : Qe + "/[" + M2 + "]";
|
|
4509
4509
|
}
|
|
4510
4510
|
}), J = Qe + "[" + ((Ge = (f2 = (h2 = (n2 = (s2 = (Le = i(x)) == null ? void 0 : Le[1]) == null ? void 0 : s2.split("[")) == null ? void 0 : n2[((z2 = (Ze = (Ye = i(x)) == null ? void 0 : Ye[1]) == null ? void 0 : Ze.split("[")) == null ? void 0 : z2.length) - 1]) == null ? void 0 : h2.split("]")) == null ? void 0 : f2[0]) == null ? void 0 : Ge.replaceAll("'", "")) + "]";
|
|
4511
4511
|
}
|
|
@@ -4518,13 +4518,13 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4518
4518
|
input: t
|
|
4519
4519
|
};
|
|
4520
4520
|
}, $1 = (r) => {
|
|
4521
|
-
var l, t, E,
|
|
4521
|
+
var l, t, E, O, f, U, G, D, ee, V, F, R, q, n, v, j, c, m, w, z, ce, fe, H, X, K, M, s, P, Y, k, se, pe, ve, p, L, b, g, $, _, I, N, T, A, ne, y, x, W, J, u, ue;
|
|
4522
4522
|
let d = "";
|
|
4523
4523
|
r = r.replace(/:([^=]*)==/g, ":");
|
|
4524
4524
|
let a = r;
|
|
4525
|
-
if ((gi(i(r)) !== null || bi(i(r)) !== null) && (d = (t = (l = i(r).replace(":", Me).split(Me)) == null ? void 0 : l[0]) == null ? void 0 : t.replaceAll("'", ""), a = (E = i(r).replace(":", Me).split(Me)) == null ? void 0 : E[1]), Bl(i(a).slice(1, ((
|
|
4525
|
+
if ((gi(i(r)) !== null || bi(i(r)) !== null) && (d = (t = (l = i(r).replace(":", Me).split(Me)) == null ? void 0 : l[0]) == null ? void 0 : t.replaceAll("'", ""), a = (E = i(r).replace(":", Me).split(Me)) == null ? void 0 : E[1]), Bl(i(a).slice(1, ((O = i(a)) == null ? void 0 : O.length) - 1)) || ki(i(a).slice(1, ((f = i(a)) == null ? void 0 : f.length) - 1)))
|
|
4526
4526
|
if (((G = i(a).slice(1, ((U = i(a)) == null ? void 0 : U.length) - 1)) == null ? void 0 : G[1]) !== "[") {
|
|
4527
|
-
const le = Ml(i(a).slice(1, ((
|
|
4527
|
+
const le = Ml(i(a).slice(1, ((D = i(a)) == null ? void 0 : D.length) - 1));
|
|
4528
4528
|
return {
|
|
4529
4529
|
groupName: d,
|
|
4530
4530
|
tableColumn: le == null ? void 0 : le.tableColumns,
|
|
@@ -4533,14 +4533,14 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4533
4533
|
};
|
|
4534
4534
|
} else if (i(a).slice(1, ((ee = i(a)) == null ? void 0 : ee.length) - 1).includes("{")) {
|
|
4535
4535
|
let le = i(a).slice(1, ((V = i(a)) == null ? void 0 : V.length) - 1), e = le.indexOf("{"), o = le.slice(e, (le == null ? void 0 : le.length) - e);
|
|
4536
|
-
return (
|
|
4536
|
+
return (R = (F = p2(o)) == null ? void 0 : F.filter((C) => C == null ? void 0 : C.includes("{"))) == null ? void 0 : R.map((C, S) => {
|
|
4537
4537
|
var ge;
|
|
4538
|
-
let
|
|
4538
|
+
let Z = Ml(i(C).slice(1, ((ge = i(C)) == null ? void 0 : ge.length) - 1));
|
|
4539
4539
|
return {
|
|
4540
4540
|
groupName: S === 0 ? d : "",
|
|
4541
|
-
tableColumn:
|
|
4542
|
-
tableContents:
|
|
4543
|
-
tableColumnPath:
|
|
4541
|
+
tableColumn: Z == null ? void 0 : Z.tableColumns,
|
|
4542
|
+
tableContents: Z == null ? void 0 : Z.tableContents,
|
|
4543
|
+
tableColumnPath: Z == null ? void 0 : Z.tablePath
|
|
4544
4544
|
};
|
|
4545
4545
|
});
|
|
4546
4546
|
} else {
|
|
@@ -4558,10 +4558,10 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4558
4558
|
le = JSON.parse((v = a.slice(1, (a == null ? void 0 : a.length) - 1)) == null ? void 0 : v.replaceAll("'", '"'));
|
|
4559
4559
|
else if (a.includes("(")) {
|
|
4560
4560
|
if ((a == null ? void 0 : a[0]) !== "{" && !((a == null ? void 0 : a[0]) === "[" && (a == null ? void 0 : a[1]) === "[")) {
|
|
4561
|
-
let e = (
|
|
4562
|
-
(L = C == null ? void 0 : C.split("/")) == null || L.forEach((
|
|
4561
|
+
let e = (P = (s = (M = (K = i(a)) == null ? void 0 : K.split("]")) == null ? void 0 : M[0]) == null ? void 0 : s.split("[")) == null ? void 0 : P[1], o = "", C = ((p = (ve = (pe = (se = (k = (Y = i(a)) == null ? void 0 : Y.split(")")) == null ? void 0 : k[0]) == null ? void 0 : se.split("(")) == null ? void 0 : pe[1]) == null ? void 0 : ve.replaceAll("[", "")) == null ? void 0 : p.replaceAll("]", "")).replaceAll("'", "").replaceAll(":", "/");
|
|
4562
|
+
(L = C == null ? void 0 : C.split("/")) == null || L.forEach((Z, ge) => {
|
|
4563
4563
|
var oe;
|
|
4564
|
-
ge !== ((oe = C == null ? void 0 : C.split("/")) == null ? void 0 : oe.length) - 1 && (o = o === "" ? o +
|
|
4564
|
+
ge !== ((oe = C == null ? void 0 : C.split("/")) == null ? void 0 : oe.length) - 1 && (o = o === "" ? o + Z : o + "/" + Z);
|
|
4565
4565
|
});
|
|
4566
4566
|
let S;
|
|
4567
4567
|
return ((_ = ($ = (g = (b = i(a)) == null ? void 0 : b.replace(",", Me)) == null ? void 0 : g.split(Me)) == null ? void 0 : $[1]) == null ? void 0 : _[0]) === "[" && (S = Ci((T = (N = (I = i(a)) == null ? void 0 : I.replace(",", Me)) == null ? void 0 : N.split(Me)) == null ? void 0 : T[1])), {
|
|
@@ -4574,8 +4574,8 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4574
4574
|
let e = "{" + a + "}", o = (x = (y = p2(e)) == null ? void 0 : y.filter((C) => C !== ",")) == null ? void 0 : x.map((C) => Ai(i(C).slice(1, i(C).length - 1))), h = [];
|
|
4575
4575
|
return (W = i(o)) == null || W.forEach((C) => {
|
|
4576
4576
|
var S;
|
|
4577
|
-
(S = C == null ? void 0 : C.formContents) == null || S.forEach((
|
|
4578
|
-
|
|
4577
|
+
(S = C == null ? void 0 : C.formContents) == null || S.forEach((Z) => {
|
|
4578
|
+
Z == null || Z.forEach((ge) => {
|
|
4579
4579
|
h.push(ge);
|
|
4580
4580
|
});
|
|
4581
4581
|
});
|
|
@@ -4589,11 +4589,11 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4589
4589
|
a = a.slice(1, (a == null ? void 0 : a.length) - 1);
|
|
4590
4590
|
let e = [], o = [];
|
|
4591
4591
|
return (ue = (u = p2(a)) == null ? void 0 : u.filter((h) => h !== ",")) == null || ue.forEach((h) => {
|
|
4592
|
-
var C, S,
|
|
4592
|
+
var C, S, Z, ge;
|
|
4593
4593
|
if (!h.includes("&"))
|
|
4594
4594
|
Array.isArray($l(h)) || e.push((C = $l(h)) == null ? void 0 : C.formContents);
|
|
4595
4595
|
else {
|
|
4596
|
-
let oe = (ge = (
|
|
4596
|
+
let oe = (ge = (Z = (S = i(h)) == null ? void 0 : S.split("&")) == null ? void 0 : Z[1]) == null ? void 0 : ge.replaceAll("'", '"');
|
|
4597
4597
|
d2(oe) && o.push({
|
|
4598
4598
|
[JSON.parse(oe)[0]]: JSON.parse(oe)
|
|
4599
4599
|
});
|
|
@@ -4607,7 +4607,7 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4607
4607
|
} else if (a = "[[" + a + "]]", d2((j = a.slice(1, (a == null ? void 0 : a.length) - 1)) == null ? void 0 : j.replaceAll("'", '"')))
|
|
4608
4608
|
le = JSON.parse((c = a.slice(1, (a == null ? void 0 : a.length) - 1)) == null ? void 0 : c.replaceAll("'", '"'));
|
|
4609
4609
|
else if (a = a.slice(2, a.length - 2), ((z = (w = (m = a == null ? void 0 : a.replace(":", Me)) == null ? void 0 : m.split(Me)) == null ? void 0 : w[1]) == null ? void 0 : z[0]) !== "{") {
|
|
4610
|
-
a = ((fe = (ce = a == null ? void 0 : a.replace(":", Me)) == null ? void 0 : ce.split(Me)) == null ? void 0 : fe[0]) + ":{[" + ((X = (
|
|
4610
|
+
a = ((fe = (ce = a == null ? void 0 : a.replace(":", Me)) == null ? void 0 : ce.split(Me)) == null ? void 0 : fe[0]) + ":{[" + ((X = (H = a == null ? void 0 : a.replace(":", Me)) == null ? void 0 : H.split(Me)) == null ? void 0 : X[1]) + "]}";
|
|
4611
4611
|
const e = $1(a);
|
|
4612
4612
|
return e != null && e.tableColumn ? {
|
|
4613
4613
|
groupName: e == null ? void 0 : e.groupName,
|
|
@@ -4634,7 +4634,7 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4634
4634
|
}
|
|
4635
4635
|
return d;
|
|
4636
4636
|
}, zi = vl(qe), { routeToChildPath: xl } = l2(zi), I1 = k1(qe), { activeMenuPath: I2 } = l2(I1), Mi = El(), { loginUserInfo: ll } = l2(Mi), xi = async () => {
|
|
4637
|
-
var E,
|
|
4637
|
+
var E, O, f, U, G, D, ee, V, F, R, q, n, v, j, c, m, w, z, ce, fe, H, X, K, M, s, P, Y, k, se, pe, ve, p, L, b, g;
|
|
4638
4638
|
let r = "";
|
|
4639
4639
|
const d = await _2({
|
|
4640
4640
|
key: {
|
|
@@ -4643,7 +4643,7 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4643
4643
|
systemKey: sessionStorage.getItem("systemKey")
|
|
4644
4644
|
}
|
|
4645
4645
|
});
|
|
4646
|
-
((
|
|
4646
|
+
((O = (E = d == null ? void 0 : d.data) == null ? void 0 : E.result) == null ? void 0 : O.length) > 0 && (r = (q = (R = (F = (V = (ee = (D = (G = (U = (f = d == null ? void 0 : d.data) == null ? void 0 : f.result) == null ? void 0 : U[0]) == null ? void 0 : G.value) == null ? void 0 : D.pageData) == null ? void 0 : ee.compData) == null ? void 0 : V.find(($) => ($ == null ? void 0 : $.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : R[0]) == null ? void 0 : q.label);
|
|
4647
4647
|
let a = I2.value;
|
|
4648
4648
|
(v = I2.value) != null && v.includes(`updateLoading${(n = ll.value) == null ? void 0 : n.account}`) ? a = i(I2).value : (c = I2.value) != null && c.includes(`loading${(j = ll.value) == null ? void 0 : j.account}`) && (a = i(xl).value + `/loading${(m = ll.value) == null ? void 0 : m.account}`);
|
|
4649
4649
|
const l = await _2({
|
|
@@ -4659,14 +4659,14 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4659
4659
|
systemKey: sessionStorage.getItem("systemKey")
|
|
4660
4660
|
}
|
|
4661
4661
|
});
|
|
4662
|
-
let _ = (X = (
|
|
4662
|
+
let _ = (X = (H = $ == null ? void 0 : $.data) == null ? void 0 : H.result) == null ? void 0 : X.map((I) => I == null ? void 0 : I.id);
|
|
4663
4663
|
(_ == null ? void 0 : _.length) > 0 && await fa({
|
|
4664
4664
|
ids: _
|
|
4665
4665
|
});
|
|
4666
4666
|
}
|
|
4667
4667
|
let t = [];
|
|
4668
4668
|
if (((M = (K = l == null ? void 0 : l.data) == null ? void 0 : K.result) == null ? void 0 : M.length) > 0) {
|
|
4669
|
-
let $ = (L = (p = (ve = (pe = (se = (k = (
|
|
4669
|
+
let $ = (L = (p = (ve = (pe = (se = (k = (Y = (P = (s = l == null ? void 0 : l.data) == null ? void 0 : s.result) == null ? void 0 : P[0]) == null ? void 0 : Y.value) == null ? void 0 : k.pageData) == null ? void 0 : se.compData) == null ? void 0 : pe.find((_) => (_ == null ? void 0 : _.key) === "formContent")) == null ? void 0 : ve.contents) == null ? void 0 : p.find((_) => {
|
|
4670
4670
|
var I, N;
|
|
4671
4671
|
return (_ == null ? void 0 : _.key) === r || ((N = (I = _ == null ? void 0 : _.optionUrl) == null ? void 0 : I.groupSelect) == null ? void 0 : N[1]) === r;
|
|
4672
4672
|
})) == null ? void 0 : L.value;
|
|
@@ -4685,7 +4685,10 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4685
4685
|
dataList: t
|
|
4686
4686
|
}), Xe.success("保存成功");
|
|
4687
4687
|
}
|
|
4688
|
-
}, Di = {
|
|
4688
|
+
}, Di = {
|
|
4689
|
+
key: 0,
|
|
4690
|
+
class: "method-content"
|
|
4691
|
+
}, Fi = {
|
|
4689
4692
|
__name: "index",
|
|
4690
4693
|
props: {
|
|
4691
4694
|
itemData: {
|
|
@@ -4704,44 +4707,44 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4704
4707
|
}
|
|
4705
4708
|
},
|
|
4706
4709
|
setup(r) {
|
|
4707
|
-
const d = Q([]), a = r, l = vl(qe), t = Q(!1), E = k1(qe),
|
|
4710
|
+
const d = Q([]), a = r, l = vl(qe), t = Q(!1), E = k1(qe), O = El(qe), { itemData: f, isEdit: U, routeToChildPath: G } = l2(l), { activeMenuPath: D, platform: ee, childMenu: V } = l2(E), { loginUserInfo: F } = l2(O), R = Q(!1), q = (H, X) => {
|
|
4708
4711
|
const K = X;
|
|
4709
|
-
return
|
|
4712
|
+
return H == null ? void 0 : H.map((M) => {
|
|
4710
4713
|
var s;
|
|
4711
|
-
return M = (s = M == null ? void 0 : M.map((
|
|
4714
|
+
return M = (s = M == null ? void 0 : M.map((P, Y) => {
|
|
4712
4715
|
var k;
|
|
4713
4716
|
return {
|
|
4714
|
-
key: (k = K[
|
|
4715
|
-
value:
|
|
4717
|
+
key: (k = K[Y]) == null ? void 0 : k.label,
|
|
4718
|
+
value: P
|
|
4716
4719
|
};
|
|
4717
|
-
})) == null ? void 0 : s.filter((
|
|
4720
|
+
})) == null ? void 0 : s.filter((P) => P.key !== "操作"), M;
|
|
4718
4721
|
});
|
|
4719
4722
|
}, n = async () => {
|
|
4720
|
-
var
|
|
4721
|
-
(
|
|
4723
|
+
var H;
|
|
4724
|
+
(H = d.value) != null && H.find((X) => (X == null ? void 0 : X.buttonName) === "保存"), await xi();
|
|
4722
4725
|
};
|
|
4723
|
-
|
|
4726
|
+
Ue(
|
|
4724
4727
|
() => f.value,
|
|
4725
4728
|
async () => {
|
|
4726
|
-
U.value === "view" && !
|
|
4729
|
+
U.value === "view" && !R.value && await fe(i(a.itemData)), R.value = !1;
|
|
4727
4730
|
},
|
|
4728
4731
|
{ deep: !0 }
|
|
4729
4732
|
);
|
|
4730
|
-
const v = async (
|
|
4733
|
+
const v = async (H, X) => {
|
|
4731
4734
|
var K;
|
|
4732
|
-
if (p1(
|
|
4733
|
-
let M = p1(
|
|
4734
|
-
|
|
4735
|
-
(K = i(
|
|
4735
|
+
if (p1(H == null ? void 0 : H.name, X)) {
|
|
4736
|
+
let M = p1(H == null ? void 0 : H.name, X);
|
|
4737
|
+
H == null || H.id, H.compData = await Promise.all(
|
|
4738
|
+
(K = i(H.compData)) == null ? void 0 : K.map(async (s) => ((s == null ? void 0 : s.key) === "tableContents" && (s.extra = await xa(i(s.contents), (H == null ? void 0 : H.tableId) ?? (H == null ? void 0 : H.id)), s.contents = Da(i(M))), s))
|
|
4736
4739
|
);
|
|
4737
4740
|
} else
|
|
4738
|
-
|
|
4739
|
-
return
|
|
4740
|
-
}, j = (
|
|
4741
|
-
var M, s,
|
|
4741
|
+
H = Fa(H, X);
|
|
4742
|
+
return H;
|
|
4743
|
+
}, j = (H, X) => {
|
|
4744
|
+
var M, s, P, Y, k, se, pe, ve, p, L, b, g;
|
|
4742
4745
|
let K = (M = i(X)) == null ? void 0 : M.filter(($) => ($ == null ? void 0 : $.comp) !== "methodButton");
|
|
4743
|
-
if (
|
|
4744
|
-
let $ = (se = (k = (
|
|
4746
|
+
if (H != null && H.includes("[")) {
|
|
4747
|
+
let $ = (se = (k = (Y = (P = (s = i(H)) == null ? void 0 : s.split("[")) == null ? void 0 : P[1]) == null ? void 0 : Y.split("]")) == null ? void 0 : k[0]) == null ? void 0 : se.split(":"), _ = "";
|
|
4745
4748
|
if ($ != null && $[0]) {
|
|
4746
4749
|
let I = (pe = K == null ? void 0 : K.find((N) => (N == null ? void 0 : N.name) === ($ == null ? void 0 : $[0]))) == null ? void 0 : pe.compData;
|
|
4747
4750
|
I == null || I.forEach((N) => {
|
|
@@ -4752,12 +4755,12 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4752
4755
|
});
|
|
4753
4756
|
}
|
|
4754
4757
|
return _;
|
|
4755
|
-
} else if (
|
|
4758
|
+
} else if (H != null && H.includes("/")) {
|
|
4756
4759
|
let $ = {};
|
|
4757
4760
|
return (ve = i(K)) == null || ve.forEach((_, I) => {
|
|
4758
|
-
var N, T, A, ne, y, x, W, J, u, ue, le, e, o, h, C, S,
|
|
4761
|
+
var N, T, A, ne, y, x, W, J, u, ue, le, e, o, h, C, S, Z, ge, oe;
|
|
4759
4762
|
if ((_ == null ? void 0 : _.comp) === "Table") {
|
|
4760
|
-
let te = Array.isArray((A = (T = (N = _ == null ? void 0 : _.compData) == null ? void 0 : N.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : T.contents) == null ? void 0 : A[0]) ? (W = (x = (y = (ne = _ == null ? void 0 : _.compData) == null ? void 0 : ne.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : y.contents) == null ? void 0 : x[0]) == null ? void 0 : W.some((ae) => ae == null ? void 0 : ae.children) : [], re = (ue = (u = (J = _ == null ? void 0 : _.compData) == null ? void 0 : J.find((ae) => (ae == null ? void 0 : ae.key) === "tableContents")) == null ? void 0 : u.contents) == null ? void 0 : ue.map((ae) => ae.slice(1)), ye = (C = (h = (o = (e = (le = _ == null ? void 0 : _.compData) == null ? void 0 : le.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : e.contents) == null ? void 0 : o[0]) == null ? void 0 : h[0]) == null ? void 0 : C.label, ke = (
|
|
4763
|
+
let te = Array.isArray((A = (T = (N = _ == null ? void 0 : _.compData) == null ? void 0 : N.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : T.contents) == null ? void 0 : A[0]) ? (W = (x = (y = (ne = _ == null ? void 0 : _.compData) == null ? void 0 : ne.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : y.contents) == null ? void 0 : x[0]) == null ? void 0 : W.some((ae) => ae == null ? void 0 : ae.children) : [], re = (ue = (u = (J = _ == null ? void 0 : _.compData) == null ? void 0 : J.find((ae) => (ae == null ? void 0 : ae.key) === "tableContents")) == null ? void 0 : u.contents) == null ? void 0 : ue.map((ae) => ae.slice(1)), ye = (C = (h = (o = (e = (le = _ == null ? void 0 : _.compData) == null ? void 0 : le.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : e.contents) == null ? void 0 : o[0]) == null ? void 0 : h[0]) == null ? void 0 : C.label, ke = (Z = (S = _ == null ? void 0 : _.compData) == null ? void 0 : S.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : Z.contents;
|
|
4761
4764
|
if (te)
|
|
4762
4765
|
(te == null ? void 0 : te.length) === 0 ? $[_.name] = q(re, ke) : $[ye] = q(re, ke);
|
|
4763
4766
|
else {
|
|
@@ -4784,7 +4787,7 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4784
4787
|
}
|
|
4785
4788
|
}), $;
|
|
4786
4789
|
} else {
|
|
4787
|
-
if (
|
|
4790
|
+
if (H === "createInsofDataApi") {
|
|
4788
4791
|
let $ = (p = i(X)) == null ? void 0 : p[0];
|
|
4789
4792
|
return $ = {
|
|
4790
4793
|
comp: (L = i($)) == null ? void 0 : L.comp,
|
|
@@ -4795,24 +4798,24 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4795
4798
|
type: "structure",
|
|
4796
4799
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
4797
4800
|
parentTable: "",
|
|
4798
|
-
pageKey:
|
|
4801
|
+
pageKey: D.value
|
|
4799
4802
|
},
|
|
4800
4803
|
value: {
|
|
4801
4804
|
pageData: $
|
|
4802
4805
|
}
|
|
4803
4806
|
};
|
|
4804
4807
|
}
|
|
4805
|
-
return
|
|
4808
|
+
return H;
|
|
4806
4809
|
}
|
|
4807
|
-
}, c = async (
|
|
4808
|
-
var
|
|
4809
|
-
let M = await k2(X, sessionStorage.getItem("systemKey"), ""), s = M == null ? void 0 : M.find((
|
|
4810
|
+
}, c = async (H, X, K) => {
|
|
4811
|
+
var P;
|
|
4812
|
+
let M = await k2(X, sessionStorage.getItem("systemKey"), ""), s = M == null ? void 0 : M.find((Y) => (Y == null ? void 0 : Y.name) === (K == null ? void 0 : K[0]));
|
|
4810
4813
|
if (s && (s == null ? void 0 : s.comp) === "Table") {
|
|
4811
|
-
let
|
|
4812
|
-
for (let b in i(
|
|
4813
|
-
i(
|
|
4814
|
-
let k = [], se =
|
|
4815
|
-
Array.isArray(
|
|
4814
|
+
let Y = {};
|
|
4815
|
+
for (let b in i(H))
|
|
4816
|
+
i(H)[b] !== "loginUser" ? Y[b] = i(H)[b] : Y[b] = (P = F.value) == null ? void 0 : P.account;
|
|
4817
|
+
let k = [], se = Y;
|
|
4818
|
+
Array.isArray(H) || (se = [Y]), se == null || se.forEach((b) => {
|
|
4816
4819
|
k.push({
|
|
4817
4820
|
[b[K[1]]]: b
|
|
4818
4821
|
});
|
|
@@ -4855,14 +4858,14 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4855
4858
|
dataList: L
|
|
4856
4859
|
});
|
|
4857
4860
|
}
|
|
4858
|
-
}, m = async (
|
|
4859
|
-
var
|
|
4861
|
+
}, m = async (H, X, K) => {
|
|
4862
|
+
var P, Y, k, se, pe, ve, p, L, b;
|
|
4860
4863
|
let M = await k2(X, sessionStorage.getItem("systemKey"), ""), s = M == null ? void 0 : M.find((g) => (g == null ? void 0 : g.name) === (K == null ? void 0 : K[0]));
|
|
4861
4864
|
if (s) {
|
|
4862
4865
|
if ((s == null ? void 0 : s.comp) === "Table") {
|
|
4863
4866
|
let g = {};
|
|
4864
|
-
for (let $ in i(
|
|
4865
|
-
i(
|
|
4867
|
+
for (let $ in i(H))
|
|
4868
|
+
i(H)[$] !== "loginUser" ? g[$] = i(H)[$] : g[$] = (P = F.value) == null ? void 0 : P.account;
|
|
4866
4869
|
await r1({
|
|
4867
4870
|
key: {
|
|
4868
4871
|
type: "data",
|
|
@@ -4875,26 +4878,26 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4875
4878
|
}
|
|
4876
4879
|
});
|
|
4877
4880
|
} else if ((s == null ? void 0 : s.comp) === "Form") {
|
|
4878
|
-
let g = i(s), $ = Object.keys(
|
|
4879
|
-
(k = (
|
|
4881
|
+
let g = i(s), $ = Object.keys(H), _ = "";
|
|
4882
|
+
(k = (Y = i(g)) == null ? void 0 : Y.compData) == null || k.forEach((y) => {
|
|
4880
4883
|
var x, W;
|
|
4881
4884
|
(y == null ? void 0 : y.key) === "formContent" && ((W = (x = i(y)) == null ? void 0 : x.contents) == null || W.forEach((J) => {
|
|
4882
4885
|
var u;
|
|
4883
|
-
$.includes(J == null ? void 0 : J.key) && (J == null ? void 0 : J.value) === ((u =
|
|
4886
|
+
$.includes(J == null ? void 0 : J.key) && (J == null ? void 0 : J.value) === ((u = F.value) == null ? void 0 : u.姓名) && (_ = J == null ? void 0 : J.key);
|
|
4884
4887
|
}));
|
|
4885
4888
|
});
|
|
4886
4889
|
let I = [];
|
|
4887
|
-
(se = Object.values(
|
|
4890
|
+
(se = Object.values(H[_])) == null || se.forEach((y) => {
|
|
4888
4891
|
y != null && y.includes("(") && I.push(y);
|
|
4889
4892
|
}), I = [...new Set(I)];
|
|
4890
4893
|
const N = I == null ? void 0 : I.map(async (y) => {
|
|
4891
|
-
var ue, le, e, o, h, C, S,
|
|
4894
|
+
var ue, le, e, o, h, C, S, Z, ge, oe, te, re;
|
|
4892
4895
|
let x = "";
|
|
4893
4896
|
(C = (h = (o = (e = (le = (ue = i(y)) == null ? void 0 : ue.split("(")) == null ? void 0 : le[1]) == null ? void 0 : e.split(")")) == null ? void 0 : o[0]) == null ? void 0 : h.split(":")) == null || C.forEach((ye) => {
|
|
4894
4897
|
x = x === "" ? x + ye.replaceAll("'", "") : x + "/" + ye.replaceAll("'", "");
|
|
4895
4898
|
});
|
|
4896
4899
|
let W = [];
|
|
4897
|
-
(re = (te = (oe = (ge = (
|
|
4900
|
+
(re = (te = (oe = (ge = (Z = (S = i(y)) == null ? void 0 : S.split("<")) == null ? void 0 : Z[1]) == null ? void 0 : ge.split(">")) == null ? void 0 : oe[0]) == null ? void 0 : te.split(":")) == null || re.forEach((ye) => {
|
|
4898
4901
|
W.push(ye.replaceAll("'", ""));
|
|
4899
4902
|
});
|
|
4900
4903
|
const J = await k2(x, sessionStorage.getItem("systemKey"), "");
|
|
@@ -4915,10 +4918,10 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4915
4918
|
var x, W;
|
|
4916
4919
|
return (y == null ? void 0 : y.key) === "formContent" && (y.contents = (W = (x = i(y)) == null ? void 0 : x.contents) == null ? void 0 : W.map((J) => {
|
|
4917
4920
|
var u, ue, le, e;
|
|
4918
|
-
return (u =
|
|
4921
|
+
return (u = H[_]) != null && u[J == null ? void 0 : J.key] && (H[_][J == null ? void 0 : J.key].includes("(") ? J.value = (ue = T == null ? void 0 : T.find((o) => {
|
|
4919
4922
|
var h;
|
|
4920
|
-
return ((h = Object.keys(o)) == null ? void 0 : h[0]) ===
|
|
4921
|
-
})) == null ? void 0 : ue[
|
|
4923
|
+
return ((h = Object.keys(o)) == null ? void 0 : h[0]) === H[_][J == null ? void 0 : J.key];
|
|
4924
|
+
})) == null ? void 0 : ue[H[_][J == null ? void 0 : J.key]] : J.value = (e = (le = i(H)) == null ? void 0 : le[_]) == null ? void 0 : e[J == null ? void 0 : J.key]), J;
|
|
4922
4925
|
})), y;
|
|
4923
4926
|
});
|
|
4924
4927
|
const A = await _2({
|
|
@@ -4940,14 +4943,14 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4940
4943
|
}));
|
|
4941
4944
|
}
|
|
4942
4945
|
}
|
|
4943
|
-
}, w = async (
|
|
4944
|
-
var
|
|
4946
|
+
}, w = async (H, X, K) => {
|
|
4947
|
+
var P, Y, k, se, pe, ve;
|
|
4945
4948
|
let M = await k2(X, sessionStorage.getItem("systemKey"), ""), s = M == null ? void 0 : M.find((p) => (p == null ? void 0 : p.name) === (K == null ? void 0 : K[0]));
|
|
4946
4949
|
if (s) {
|
|
4947
4950
|
if (!(K != null && K[1]) && (s == null ? void 0 : s.comp) === "Table") {
|
|
4948
4951
|
let p = {};
|
|
4949
|
-
for (let L in i(
|
|
4950
|
-
i(
|
|
4952
|
+
for (let L in i(H))
|
|
4953
|
+
i(H)[L] !== "loginUser" ? p[L] = i(H)[L] : p[L] = (P = F.value) == null ? void 0 : P.account;
|
|
4951
4954
|
await r1({
|
|
4952
4955
|
key: {
|
|
4953
4956
|
type: "data",
|
|
@@ -4961,11 +4964,11 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4961
4964
|
});
|
|
4962
4965
|
} else if (!(K != null && K[1]) && (s == null ? void 0 : s.comp) === "Form") {
|
|
4963
4966
|
let p = i(s);
|
|
4964
|
-
p.compData = (k = (
|
|
4967
|
+
p.compData = (k = (Y = i(p)) == null ? void 0 : Y.compData) == null ? void 0 : k.map((g) => {
|
|
4965
4968
|
var $, _;
|
|
4966
4969
|
return (g == null ? void 0 : g.key) === "formContent" && (g.contents = (_ = ($ = i(g)) == null ? void 0 : $.contents) == null ? void 0 : _.map((I) => {
|
|
4967
4970
|
var N, T;
|
|
4968
|
-
return (N = i(
|
|
4971
|
+
return (N = i(H)) != null && N[I == null ? void 0 : I.key] && (I.value = (T = i(H)) == null ? void 0 : T[I == null ? void 0 : I.key]), I;
|
|
4969
4972
|
})), g;
|
|
4970
4973
|
});
|
|
4971
4974
|
const L = await _2({
|
|
@@ -4987,19 +4990,19 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
4987
4990
|
}));
|
|
4988
4991
|
}
|
|
4989
4992
|
}
|
|
4990
|
-
}, z = ["createInsofDataApi"], ce = async (
|
|
4991
|
-
var K, M, s,
|
|
4993
|
+
}, z = ["createInsofDataApi"], ce = async (H) => {
|
|
4994
|
+
var K, M, s, P, Y, k, se, pe, ve, p, L, b, g, $, _, I, N, T;
|
|
4992
4995
|
E.setImportLoading(!0);
|
|
4993
4996
|
let X = {};
|
|
4994
4997
|
if (ee.value !== "browser") {
|
|
4995
4998
|
const A = [];
|
|
4996
|
-
X.form = {}, (K = i(
|
|
4997
|
-
var W, J, u, ue, le, e, o, h, C, S,
|
|
4999
|
+
X.form = {}, (K = i(H.content)) == null || K.forEach((y, x) => {
|
|
5000
|
+
var W, J, u, ue, le, e, o, h, C, S, Z, ge, oe, te;
|
|
4998
5001
|
if ((y == null ? void 0 : y.comp) === "Table") {
|
|
4999
5002
|
(J = (W = y == null ? void 0 : y.compData) == null ? void 0 : W.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null || J.contents;
|
|
5000
5003
|
let re = (le = (ue = (u = y == null ? void 0 : y.compData) == null ? void 0 : u.find((ae) => (ae == null ? void 0 : ae.key) === "tableContents")) == null ? void 0 : ue.contents) == null ? void 0 : le.map((ae) => ae.slice(1));
|
|
5001
5004
|
(S = (C = (h = (o = (e = y == null ? void 0 : y.compData) == null ? void 0 : e.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : o.contents) == null ? void 0 : h[0]) == null ? void 0 : C[0]) == null || S.label;
|
|
5002
|
-
let ye = (ge = (
|
|
5005
|
+
let ye = (ge = (Z = y == null ? void 0 : y.compData) == null ? void 0 : Z.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : ge.contents, ke = [];
|
|
5003
5006
|
re == null || re.forEach((ae) => {
|
|
5004
5007
|
let me = [];
|
|
5005
5008
|
ae == null || ae.forEach((_e, Ae) => {
|
|
@@ -5022,11 +5025,11 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5022
5025
|
let ne = X.form;
|
|
5023
5026
|
for (let y in X)
|
|
5024
5027
|
y !== "form" && (ne[y] = Ca(X[y]));
|
|
5025
|
-
if (
|
|
5028
|
+
if (H.api) {
|
|
5026
5029
|
try {
|
|
5027
5030
|
t.value = !0;
|
|
5028
5031
|
const y = await F2.post(
|
|
5029
|
-
|
|
5032
|
+
H.api,
|
|
5030
5033
|
ne,
|
|
5031
5034
|
{
|
|
5032
5035
|
headers: {
|
|
@@ -5035,8 +5038,8 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5035
5038
|
}
|
|
5036
5039
|
);
|
|
5037
5040
|
if (((M = y == null ? void 0 : y.data) == null ? void 0 : M.code) === 200 || ((s = y == null ? void 0 : y.data) == null ? void 0 : s.statusCode) === 200) {
|
|
5038
|
-
let x = await ((
|
|
5039
|
-
const W = (
|
|
5041
|
+
let x = await ((P = y == null ? void 0 : y.data) == null ? void 0 : P.data);
|
|
5042
|
+
const W = (Y = i(f.value)) == null ? void 0 : Y.filter((le) => (le == null ? void 0 : le.comp) !== "methodButton"), J = await Promise.all(
|
|
5040
5043
|
W.map((le) => v(le, x))
|
|
5041
5044
|
);
|
|
5042
5045
|
await Promise.all(J);
|
|
@@ -5050,33 +5053,33 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5050
5053
|
}
|
|
5051
5054
|
l.setFreshContent(!0);
|
|
5052
5055
|
}
|
|
5053
|
-
} else if (
|
|
5054
|
-
let A = await k2((V == null ? void 0 : V.value) === "" ?
|
|
5055
|
-
(ve = (pe =
|
|
5056
|
+
} else if (H.api) {
|
|
5057
|
+
let A = await k2((V == null ? void 0 : V.value) === "" ? D.value : V == null ? void 0 : V.value, sessionStorage.getItem("systemKey"), ""), ne = {};
|
|
5058
|
+
(ve = (pe = H == null ? void 0 : H.extraValues) == null ? void 0 : pe.input) == null || ve.forEach((ue) => {
|
|
5056
5059
|
var le;
|
|
5057
5060
|
z != null && z.find((e) => e === ue) ? ne = j(ue, A) : ne[Object.keys(ue)[0]] = j((le = Object.values(ue)) == null ? void 0 : le[0], A);
|
|
5058
5061
|
});
|
|
5059
5062
|
let y = !1;
|
|
5060
|
-
(L = (p =
|
|
5063
|
+
(L = (p = H == null ? void 0 : H.extraValues) == null ? void 0 : p.output) == null || L.forEach((ue) => {
|
|
5061
5064
|
var le, e;
|
|
5062
5065
|
(e = (le = Object.values(ue)) == null ? void 0 : le[0]) != null && e.includes(".doc") && (y = !0);
|
|
5063
5066
|
});
|
|
5064
5067
|
let x;
|
|
5065
|
-
y ? x = await F2.post(
|
|
5068
|
+
y ? x = await F2.post(H.api, ne, {
|
|
5066
5069
|
responseType: "blob",
|
|
5067
5070
|
// 必须设置
|
|
5068
5071
|
headers: {
|
|
5069
5072
|
"Content-Type": "application/json"
|
|
5070
5073
|
}
|
|
5071
|
-
}) : x = await F2.post(
|
|
5074
|
+
}) : x = await F2.post(H.api, ne, {
|
|
5072
5075
|
headers: {
|
|
5073
5076
|
"Content-Type": "application/json"
|
|
5074
5077
|
}
|
|
5075
5078
|
});
|
|
5076
|
-
let W = (_ = ($ = (g = (b = i(
|
|
5077
|
-
var le, e, o, h, C, S,
|
|
5079
|
+
let W = (_ = ($ = (g = (b = i(H)) == null ? void 0 : b.extraValues) == null ? void 0 : g.output) == null ? void 0 : $.map((ue) => {
|
|
5080
|
+
var le, e, o, h, C, S, Z, ge, oe, te, re, ye, ke, ae, me;
|
|
5078
5081
|
if (!((e = (le = Object.values(ue)) == null ? void 0 : le[0]) != null && e.includes(".doc"))) {
|
|
5079
|
-
let _e = (te = (oe = (ge = (h = i((o = Object.values(ue)) == null ? void 0 : o[0])) == null ? void 0 : h.split("[")) == null ? void 0 : ge[((
|
|
5082
|
+
let _e = (te = (oe = (ge = (h = i((o = Object.values(ue)) == null ? void 0 : o[0])) == null ? void 0 : h.split("[")) == null ? void 0 : ge[((Z = (S = i((C = Object.values(ue)) == null ? void 0 : C[0])) == null ? void 0 : S.split("[")) == null ? void 0 : Z.length) - 1]) == null ? void 0 : oe.split("]")) == null ? void 0 : te[0];
|
|
5080
5083
|
_e == null || _e.split(":");
|
|
5081
5084
|
let Ae = i((re = Object.values(ue)) == null ? void 0 : re[0]).substring(0, i((ye = Object.values(ue)) == null ? void 0 : ye[0]).lastIndexOf("["));
|
|
5082
5085
|
if (Ae = (ae = i(Ae)) == null ? void 0 : ae.slice(0, ((ke = i(Ae)) == null ? void 0 : ke.length) - 1), Ae != null && Ae.includes("[")) {
|
|
@@ -5089,8 +5092,8 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5089
5092
|
let z2 = i($e).slice(1, ((Ne = i($e)) == null ? void 0 : Ne.length) - 1), n2 = (Ye = (s2 = (Le = (Ve = (de = i(z2)) == null ? void 0 : de.split("[")) == null ? void 0 : Ve[1]) == null ? void 0 : Le.split("]")) == null ? void 0 : s2[0]) == null ? void 0 : Ye.split(":"), h2 = "", f2 = (Ze = A == null ? void 0 : A.find((Ge) => (Ge == null ? void 0 : Ge.name) === (n2 == null ? void 0 : n2[0]))) == null ? void 0 : Ze.compData;
|
|
5090
5093
|
f2 == null || f2.forEach((Ge) => {
|
|
5091
5094
|
var Qe;
|
|
5092
|
-
(Ge == null ? void 0 : Ge.key) === "formContent" && ((Qe = Ge == null ? void 0 : Ge.contents) == null || Qe.forEach((
|
|
5093
|
-
(
|
|
5095
|
+
(Ge == null ? void 0 : Ge.key) === "formContent" && ((Qe = Ge == null ? void 0 : Ge.contents) == null || Qe.forEach((je) => {
|
|
5096
|
+
(je == null ? void 0 : je.key) === (n2 == null ? void 0 : n2[1]) && (h2 = je == null ? void 0 : je.value);
|
|
5094
5097
|
}));
|
|
5095
5098
|
}), ze = ze === "" ? ze + h2.replaceAll("/", "") : ze + "/" + h2.replaceAll("/", "");
|
|
5096
5099
|
}
|
|
@@ -5106,21 +5109,21 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5106
5109
|
return await Ma(ue);
|
|
5107
5110
|
});
|
|
5108
5111
|
await Promise.all(J);
|
|
5109
|
-
let u = (T = (N = (I = i(
|
|
5110
|
-
var oe, te, re, ye, ke, ae, me, _e, Ae, ze, $e, Ne, de, Ve, Le, s2, Ye, Ze, z2, n2, h2, f2, Ge, Qe,
|
|
5112
|
+
let u = (T = (N = (I = i(H)) == null ? void 0 : I.extraValues) == null ? void 0 : N.output) == null ? void 0 : T.map(async (ue) => {
|
|
5113
|
+
var oe, te, re, ye, ke, ae, me, _e, Ae, ze, $e, Ne, de, Ve, Le, s2, Ye, Ze, z2, n2, h2, f2, Ge, Qe, je, L2, T2, V2, P2, O2, R2, H2, U2, j2, N2, K2, J2, W2, G2, X2, M2, Ll, Tl, Vl, Pl, Ol, Rl, Hl, Ul, jl, Nl, Kl, Jl, Wl, Gl, Xl, ql, Yl, Zl, Ql;
|
|
5111
5114
|
if ((te = (oe = Object.values(ue)) == null ? void 0 : oe[0]) != null && te.includes(".doc")) {
|
|
5112
5115
|
var le = new Blob([x.data], {
|
|
5113
5116
|
type: "application/octet-stream;charset=UTF-8"
|
|
5114
|
-
}), e = x.headers["content-disposition"], o = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), h = o.exec(e), C = ((ke = (ye = (re =
|
|
5115
|
-
S.style.display = "none", S.href =
|
|
5117
|
+
}), e = x.headers["content-disposition"], o = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), h = o.exec(e), C = ((ke = (ye = (re = H == null ? void 0 : H.extraContent) == null ? void 0 : re[0]) == null ? void 0 : ye.split(".")) == null ? void 0 : ke[0]) + "." + ((ae = h == null ? void 0 : h[1].split(".")) == null ? void 0 : ae[1]), S = document.createElement("a"), Z = window.URL.createObjectURL(le), ge = /^["](.*)["]$/g;
|
|
5118
|
+
S.style.display = "none", S.href = Z, S.download = decodeURI(C.replace(ge, "$1")), document.body.appendChild(S), S.click(), document.body.removeChild(S), window.URL.revokeObjectURL(Z);
|
|
5116
5119
|
} else {
|
|
5117
5120
|
let yl = (Ve = (de = (Ne = (_e = i((me = Object.values(ue)) == null ? void 0 : me[0])) == null ? void 0 : _e.split("[")) == null ? void 0 : Ne[(($e = (ze = i((Ae = Object.values(ue)) == null ? void 0 : Ae[0])) == null ? void 0 : ze.split("[")) == null ? void 0 : $e.length) - 1]) == null ? void 0 : de.split("]")) == null ? void 0 : Ve[0], Fe = yl == null ? void 0 : yl.split(":"), t2 = i((Le = Object.values(ue)) == null ? void 0 : Le[0]).substring(0, i((s2 = Object.values(ue)) == null ? void 0 : s2[0]).lastIndexOf("["));
|
|
5118
5121
|
if (t2.includes("[") && (t2 = (Ze = i(t2)) == null ? void 0 : Ze.slice(0, ((Ye = i(t2)) == null ? void 0 : Ye.length) - 1)), t2 != null && t2.includes("[")) {
|
|
5119
|
-
let
|
|
5122
|
+
let He = "";
|
|
5120
5123
|
(z2 = Fl(t2, "/")) == null || z2.forEach((Ke) => {
|
|
5121
5124
|
var q2, i2, o2, w2, Y2, e1, l1;
|
|
5122
5125
|
if (!(Ke != null && Ke.includes("[")))
|
|
5123
|
-
|
|
5126
|
+
He = He === "" ? He + Ke.replaceAll("/", "") : He + "/" + Ke.replaceAll("/", "");
|
|
5124
5127
|
else {
|
|
5125
5128
|
let E1 = i(Ke).slice(1, ((q2 = i(Ke)) == null ? void 0 : q2.length) - 1), B2 = (e1 = (Y2 = (w2 = (o2 = (i2 = i(E1)) == null ? void 0 : i2.split("[")) == null ? void 0 : o2[1]) == null ? void 0 : w2.split("]")) == null ? void 0 : Y2[0]) == null ? void 0 : e1.split(":"), gl = "", bl = (l1 = A == null ? void 0 : A.find((c2) => (c2 == null ? void 0 : c2.name) === (B2 == null ? void 0 : B2[0]))) == null ? void 0 : l1.compData;
|
|
5126
5129
|
bl == null || bl.forEach((c2) => {
|
|
@@ -5128,28 +5131,28 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5128
5131
|
(c2 == null ? void 0 : c2.key) === "formContent" && ((a1 = c2 == null ? void 0 : c2.contents) == null || a1.forEach(($2) => {
|
|
5129
5132
|
($2 == null ? void 0 : $2.key) === (B2 == null ? void 0 : B2[1]) && (gl = $2 == null ? void 0 : $2.value);
|
|
5130
5133
|
}));
|
|
5131
|
-
}),
|
|
5134
|
+
}), He = He === "" ? He + gl.replaceAll("/", "") : He + "/" + gl.replaceAll("/", "");
|
|
5132
5135
|
}
|
|
5133
|
-
}), t2 =
|
|
5136
|
+
}), t2 = He;
|
|
5134
5137
|
}
|
|
5135
5138
|
if (((n2 = x == null ? void 0 : x.data) == null ? void 0 : n2.statusCode) === 200) {
|
|
5136
5139
|
if ((f2 = (h2 = x == null ? void 0 : x.data) == null ? void 0 : h2.data) != null && f2[Fe == null ? void 0 : Fe[0]] && (Fe == null ? void 0 : Fe.length) === 1)
|
|
5137
5140
|
return await w((Qe = (Ge = x == null ? void 0 : x.data) == null ? void 0 : Ge.data) == null ? void 0 : Qe[Fe == null ? void 0 : Fe[0]], t2, Fe);
|
|
5138
|
-
if ((L2 = (
|
|
5141
|
+
if ((L2 = (je = x == null ? void 0 : x.data) == null ? void 0 : je.data) != null && L2[Fe == null ? void 0 : Fe[0]])
|
|
5139
5142
|
return await c((V2 = (T2 = x == null ? void 0 : x.data) == null ? void 0 : T2.data) == null ? void 0 : V2[Fe == null ? void 0 : Fe[0]], t2, Fe);
|
|
5140
5143
|
if ((Fe == null ? void 0 : Fe.length) === 1) {
|
|
5141
|
-
const
|
|
5144
|
+
const He = (R2 = (O2 = (P2 = x == null ? void 0 : x.data) == null ? void 0 : P2.data) == null ? void 0 : O2.path) == null ? void 0 : R2.path;
|
|
5142
5145
|
let Ke = "";
|
|
5143
|
-
(K2 = (N2 = (j2 = (U2 = (H2 =
|
|
5146
|
+
(K2 = (N2 = (j2 = (U2 = (H2 = He == null ? void 0 : He.split("(")) == null ? void 0 : H2[1]) == null ? void 0 : U2.split(")")) == null ? void 0 : j2[0]) == null ? void 0 : N2.split(":")) == null || K2.forEach((o2) => {
|
|
5144
5147
|
var w2, Y2;
|
|
5145
5148
|
Ke = Ke === "" ? Ke + ((w2 = o2 == null ? void 0 : o2.replaceAll("'", "")) == null ? void 0 : w2.trim()) : Ke + "/" + ((Y2 = o2 == null ? void 0 : o2.replaceAll("'", "")) == null ? void 0 : Y2.trim());
|
|
5146
5149
|
});
|
|
5147
|
-
let q2 = [(M2 = (X2 = (G2 = (W2 = (J2 =
|
|
5150
|
+
let q2 = [(M2 = (X2 = (G2 = (W2 = (J2 = He == null ? void 0 : He.split("<")) == null ? void 0 : J2[1]) == null ? void 0 : W2.split(">")) == null ? void 0 : G2[0]) == null ? void 0 : X2.replaceAll("'", "")) == null ? void 0 : M2.trim()], i2;
|
|
5148
5151
|
return (Vl = (Tl = (Ll = x == null ? void 0 : x.data) == null ? void 0 : Ll.data) == null ? void 0 : Tl.data) != null && Vl[Fe == null ? void 0 : Fe[0]] ? i2 = await w((Rl = (Ol = (Pl = x == null ? void 0 : x.data) == null ? void 0 : Pl.data) == null ? void 0 : Ol.data) == null ? void 0 : Rl[Fe == null ? void 0 : Fe[0]], Ke, Fe) : i2 = await m((Ul = (Hl = x == null ? void 0 : x.data) == null ? void 0 : Hl.data) == null ? void 0 : Ul.data, Ke, q2), i2;
|
|
5149
5152
|
} else {
|
|
5150
|
-
const
|
|
5153
|
+
const He = (Kl = (Nl = (jl = x == null ? void 0 : x.data) == null ? void 0 : jl.data) == null ? void 0 : Nl.path) == null ? void 0 : Kl.path;
|
|
5151
5154
|
let Ke = "";
|
|
5152
|
-
return (ql = (Xl = (Gl = (Wl = (Jl =
|
|
5155
|
+
return (ql = (Xl = (Gl = (Wl = (Jl = He == null ? void 0 : He.split("(")) == null ? void 0 : Jl[1]) == null ? void 0 : Wl.split(")")) == null ? void 0 : Gl[0]) == null ? void 0 : Xl.split(":")) == null || ql.forEach((i2) => {
|
|
5153
5156
|
var o2, w2;
|
|
5154
5157
|
Ke = Ke === "" ? Ke + ((o2 = i2 == null ? void 0 : i2.replaceAll("'", "")) == null ? void 0 : o2.trim()) : Ke + "/" + ((w2 = i2 == null ? void 0 : i2.replaceAll("'", "")) == null ? void 0 : w2.trim());
|
|
5155
5158
|
}), await c((Ql = (Zl = (Yl = x == null ? void 0 : x.data) == null ? void 0 : Yl.data) == null ? void 0 : Zl.data) == null ? void 0 : Ql[Fe == null ? void 0 : Fe[0]], Ke, Fe);
|
|
@@ -5159,22 +5162,22 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5159
5162
|
});
|
|
5160
5163
|
await Promise.all(u);
|
|
5161
5164
|
}
|
|
5162
|
-
E.setImportLoading(!1),
|
|
5163
|
-
}, fe = async (
|
|
5164
|
-
var
|
|
5165
|
-
const X = i(
|
|
5165
|
+
E.setImportLoading(!1), R.value = !0;
|
|
5166
|
+
}, fe = async (H) => {
|
|
5167
|
+
var P, Y, k;
|
|
5168
|
+
const X = i(H);
|
|
5166
5169
|
let K;
|
|
5167
|
-
|
|
5170
|
+
H != null && H[0].path && (K = await (X == null ? void 0 : X.map(async (se, pe) => {
|
|
5168
5171
|
var g, $, _, I, N, T, A, ne, y, x;
|
|
5169
5172
|
const p = (await _2({
|
|
5170
5173
|
key: {
|
|
5171
5174
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
5172
5175
|
type: "data",
|
|
5173
|
-
pageKey: (g =
|
|
5176
|
+
pageKey: (g = H == null ? void 0 : H[0]) == null ? void 0 : g.path
|
|
5174
5177
|
}
|
|
5175
5178
|
})).data.result;
|
|
5176
5179
|
let L = "";
|
|
5177
|
-
const b = await k2(
|
|
5180
|
+
const b = await k2(D.value, sessionStorage.getItem("systemKey"), "");
|
|
5178
5181
|
return p == null || p.forEach((W) => {
|
|
5179
5182
|
var J, u, ue, le, e;
|
|
5180
5183
|
((u = (J = W == null ? void 0 : W.value) == null ? void 0 : J.tableData) == null ? void 0 : u.算法名称) === ((ue = X == null ? void 0 : X[pe]) == null ? void 0 : ue.method) && (L = (e = (le = W == null ? void 0 : W.value) == null ? void 0 : le.tableData) == null ? void 0 : e.算法体);
|
|
@@ -5202,7 +5205,7 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5202
5205
|
type: "methodData",
|
|
5203
5206
|
tableId: ve == null ? void 0 : ve.id
|
|
5204
5207
|
}
|
|
5205
|
-
}), L = await k2(
|
|
5208
|
+
}), L = await k2(D.value, sessionStorage.getItem("systemKey"), ""), b = ($ = p.data.result) == null ? void 0 : $[0];
|
|
5206
5209
|
return {
|
|
5207
5210
|
buttonName: (_ = ve == null ? void 0 : ve.key) == null ? void 0 : _.methodKey,
|
|
5208
5211
|
api: (N = (I = b == null ? void 0 : b.value) == null ? void 0 : I.tableData) == null ? void 0 : N[0],
|
|
@@ -5210,7 +5213,7 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5210
5213
|
extraContent: (T = i(se.value)) == null ? void 0 : T.slice(1),
|
|
5211
5214
|
methodName: (se == null ? void 0 : se.method) ?? ""
|
|
5212
5215
|
};
|
|
5213
|
-
}), s = (
|
|
5216
|
+
}), s = (P = H == null ? void 0 : H[0]) != null && P.path && ((Y = H == null ? void 0 : H[0]) == null ? void 0 : Y.path) !== "" ? await Promise.all(K) : await Promise.all(M);
|
|
5214
5217
|
d.value = s == null ? void 0 : s.filter((se) => se == null ? void 0 : se.extraContent), (k = d.value) == null || k.forEach((se) => {
|
|
5215
5218
|
var pe;
|
|
5216
5219
|
se.api === "" && ((pe = se.content) == null || pe.forEach((ve) => {
|
|
@@ -5219,34 +5222,34 @@ const gi = (r) => /^'[^']+':\{.*\}$/.exec(i(r)), bi = (r) => /^'[^']+':\[\[.*\]\
|
|
|
5219
5222
|
}));
|
|
5220
5223
|
});
|
|
5221
5224
|
};
|
|
5222
|
-
return
|
|
5225
|
+
return Ue(
|
|
5223
5226
|
() => a.itemData,
|
|
5224
5227
|
async () => {
|
|
5225
|
-
U.value == "view" && !
|
|
5228
|
+
U.value == "view" && !R.value && await fe(i(a.itemData)), R.value = !1;
|
|
5226
5229
|
},
|
|
5227
5230
|
{ immediate: !0, deep: !0 }
|
|
5228
|
-
), (
|
|
5229
|
-
var K;
|
|
5230
|
-
return he(), be("div", Di, [
|
|
5231
|
-
(he(!0), be(Se, null,
|
|
5232
|
-
|
|
5231
|
+
), (H, X) => {
|
|
5232
|
+
var K, M, s;
|
|
5233
|
+
return Oe(U) !== "edit" ? (he(), be("div", Di, [
|
|
5234
|
+
(he(!0), be(Se, null, Re((K = d.value) == null ? void 0 : K.filter((P) => (P == null ? void 0 : P.buttonName) !== "保存"), (P) => (he(), be("div", null, [
|
|
5235
|
+
P.api !== "" ? (he(), Ie(Oe(u1), {
|
|
5233
5236
|
key: 0,
|
|
5234
5237
|
class: "calculator-content",
|
|
5235
|
-
modelValue:
|
|
5236
|
-
onClickTrigger: (
|
|
5238
|
+
modelValue: P.buttonName,
|
|
5239
|
+
onClickTrigger: (Y) => ce(P),
|
|
5237
5240
|
loading: t.value
|
|
5238
5241
|
}, null, 8, ["modelValue", "onClickTrigger", "loading"])) : Je("", !0)
|
|
5239
5242
|
]))), 256)),
|
|
5240
|
-
|
|
5243
|
+
Oe(G) !== "" && ((s = Oe(D)) == null ? void 0 : s[((M = Oe(D)) == null ? void 0 : M.length) - 1]) !== "/" ? (he(), Ie(Oe(u1), {
|
|
5241
5244
|
key: 0,
|
|
5242
5245
|
class: "calculator-content",
|
|
5243
5246
|
onClickTrigger: n,
|
|
5244
5247
|
modelValue: "保存"
|
|
5245
5248
|
})) : Je("", !0)
|
|
5246
|
-
]);
|
|
5249
|
+
])) : Je("", !0);
|
|
5247
5250
|
};
|
|
5248
5251
|
}
|
|
5249
|
-
}, Bi = /* @__PURE__ */ Te(Fi, [["__scopeId", "data-v-
|
|
5252
|
+
}, Bi = /* @__PURE__ */ Te(Fi, [["__scopeId", "data-v-d1844728"]]), $i = {};
|
|
5250
5253
|
function Ii(r, d) {
|
|
5251
5254
|
return " 567 ";
|
|
5252
5255
|
}
|
|
@@ -5268,7 +5271,7 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5268
5271
|
visible: !1,
|
|
5269
5272
|
width: "40%",
|
|
5270
5273
|
title: "签名配置"
|
|
5271
|
-
}), E = Q("create"),
|
|
5274
|
+
}), E = Q("create"), O = Q([
|
|
5272
5275
|
{
|
|
5273
5276
|
label: "取消",
|
|
5274
5277
|
background: "#c0c4cc"
|
|
@@ -5370,12 +5373,12 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5370
5373
|
// ],
|
|
5371
5374
|
// value: false
|
|
5372
5375
|
// },
|
|
5373
|
-
]), G = Q({}),
|
|
5376
|
+
]), G = Q({}), D = Q([]), ee = () => ({
|
|
5374
5377
|
comp: "Signature",
|
|
5375
5378
|
compData: [
|
|
5376
5379
|
{
|
|
5377
5380
|
key: "signTypeList",
|
|
5378
|
-
contents:
|
|
5381
|
+
contents: D.value
|
|
5379
5382
|
},
|
|
5380
5383
|
{
|
|
5381
5384
|
key: "signConfig",
|
|
@@ -5385,22 +5388,22 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5385
5388
|
}), V = (n) => {
|
|
5386
5389
|
var v;
|
|
5387
5390
|
G.value = i(n), l("change", (v = ee()) == null ? void 0 : v.compData);
|
|
5388
|
-
},
|
|
5391
|
+
}, F = (n) => {
|
|
5389
5392
|
var v, j;
|
|
5390
5393
|
if ((n == null ? void 0 : n.buttonName) === "确认") {
|
|
5391
5394
|
const c = i(n == null ? void 0 : n.content);
|
|
5392
5395
|
switch (E.value) {
|
|
5393
5396
|
case "create":
|
|
5394
|
-
|
|
5397
|
+
D.value.push({
|
|
5395
5398
|
...c,
|
|
5396
|
-
index: ((v =
|
|
5399
|
+
index: ((v = D.value) == null ? void 0 : v.length) + 1
|
|
5397
5400
|
});
|
|
5398
5401
|
break;
|
|
5399
5402
|
}
|
|
5400
5403
|
l("change", (j = ee()) == null ? void 0 : j.compData), t.visible = !1;
|
|
5401
5404
|
} else
|
|
5402
5405
|
t.visible = !1;
|
|
5403
|
-
},
|
|
5406
|
+
}, R = (n, v) => {
|
|
5404
5407
|
var j, c;
|
|
5405
5408
|
switch (n) {
|
|
5406
5409
|
case "create":
|
|
@@ -5414,25 +5417,25 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5414
5417
|
}), E.value = "update", t.visible = !0;
|
|
5415
5418
|
break;
|
|
5416
5419
|
case "delete":
|
|
5417
|
-
|
|
5420
|
+
D.value.splice(v, 1), E.value = "delete";
|
|
5418
5421
|
break;
|
|
5419
5422
|
}
|
|
5420
5423
|
}, q = () => {
|
|
5421
5424
|
t.visible = !1;
|
|
5422
5425
|
};
|
|
5423
|
-
return
|
|
5426
|
+
return Ue(() => a == null ? void 0 : a.itemContents, (n) => {
|
|
5424
5427
|
var v, j;
|
|
5425
|
-
n && (G.value = ((v = n == null ? void 0 : n.find((c) => c.key === "signConfig")) == null ? void 0 : v.contents) ?? {},
|
|
5428
|
+
n && (G.value = ((v = n == null ? void 0 : n.find((c) => c.key === "signConfig")) == null ? void 0 : v.contents) ?? {}, D.value = ((j = n == null ? void 0 : n.find((c) => c.key === "signTypeList")) == null ? void 0 : j.contents) ?? []);
|
|
5426
5429
|
}, { immediate: !0 }), (n, v) => {
|
|
5427
5430
|
const j = Ee("svg-icon"), c = Ee("el-button");
|
|
5428
5431
|
return he(), be(Se, null, [
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
v[2] || (v[2] =
|
|
5432
|
+
B("div", null, [
|
|
5433
|
+
B("div", Si, [
|
|
5434
|
+
v[2] || (v[2] = B("h4", { class: "module-title" }, "签名类型", -1)),
|
|
5432
5435
|
ie(c, {
|
|
5433
5436
|
class: "module-icon",
|
|
5434
5437
|
id: "themeButton",
|
|
5435
|
-
onClick: v[0] || (v[0] = (m) =>
|
|
5438
|
+
onClick: v[0] || (v[0] = (m) => R("create"))
|
|
5436
5439
|
}, {
|
|
5437
5440
|
icon: we(() => [
|
|
5438
5441
|
ie(j, {
|
|
@@ -5447,17 +5450,17 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5447
5450
|
__: [1]
|
|
5448
5451
|
})
|
|
5449
5452
|
]),
|
|
5450
|
-
|
|
5451
|
-
(he(!0), be(Se, null,
|
|
5453
|
+
B("div", Li, [
|
|
5454
|
+
(he(!0), be(Se, null, Re(D.value, (m, w) => (he(), be("div", {
|
|
5452
5455
|
class: "module-data-item",
|
|
5453
5456
|
key: w
|
|
5454
5457
|
}, [
|
|
5455
|
-
|
|
5456
|
-
|
|
5458
|
+
B("span", null, Ce(m == null ? void 0 : m.label), 1),
|
|
5459
|
+
B("div", null, [
|
|
5457
5460
|
ie(c, {
|
|
5458
5461
|
type: "primary",
|
|
5459
5462
|
size: "small",
|
|
5460
|
-
onClick: (z) =>
|
|
5463
|
+
onClick: (z) => R("update", { ...m, index: w + 1 })
|
|
5461
5464
|
}, {
|
|
5462
5465
|
default: we(() => v[3] || (v[3] = [
|
|
5463
5466
|
Be("修改")
|
|
@@ -5468,7 +5471,7 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5468
5471
|
ie(c, {
|
|
5469
5472
|
type: "danger",
|
|
5470
5473
|
size: "small",
|
|
5471
|
-
onClick: (z) =>
|
|
5474
|
+
onClick: (z) => R("delete", w)
|
|
5472
5475
|
}, {
|
|
5473
5476
|
default: we(() => v[4] || (v[4] = [
|
|
5474
5477
|
Be("删除")
|
|
@@ -5479,7 +5482,7 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5479
5482
|
])
|
|
5480
5483
|
]))), 128))
|
|
5481
5484
|
]),
|
|
5482
|
-
|
|
5485
|
+
B("div", Ti, [
|
|
5483
5486
|
ie(e2, {
|
|
5484
5487
|
rowContents: f.value,
|
|
5485
5488
|
onChange: V
|
|
@@ -5493,15 +5496,15 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5493
5496
|
width: t.width
|
|
5494
5497
|
}, {
|
|
5495
5498
|
default: we(() => [
|
|
5496
|
-
|
|
5499
|
+
B("div", Vi, [
|
|
5497
5500
|
(he(), Ie(e2, {
|
|
5498
5501
|
rowContents: U.value,
|
|
5499
5502
|
key: U.value,
|
|
5500
5503
|
isEnableWrap: !1,
|
|
5501
5504
|
isButtonRow: !1,
|
|
5502
5505
|
isStartJustify: !1,
|
|
5503
|
-
buttonValue:
|
|
5504
|
-
onOnButtonClick:
|
|
5506
|
+
buttonValue: O.value,
|
|
5507
|
+
onOnButtonClick: F
|
|
5505
5508
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
5506
5509
|
])
|
|
5507
5510
|
]),
|
|
@@ -5527,22 +5530,22 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5527
5530
|
const a = r, l = d, t = Q(1), E = b2(() => {
|
|
5528
5531
|
var ee, V;
|
|
5529
5532
|
return (ee = a == null ? void 0 : a.stepConfig) != null && ee.allowTrigger ? t.value : (V = a == null ? void 0 : a.stepConfig) == null ? void 0 : V.active;
|
|
5530
|
-
}),
|
|
5533
|
+
}), O = (ee, V) => {
|
|
5531
5534
|
t.value = V, l("clickStep", ee, V);
|
|
5532
5535
|
}, f = (ee) => ya(ee), U = () => {
|
|
5533
5536
|
var V;
|
|
5534
|
-
const ee = (V = a == null ? void 0 : a.stepList) == null ? void 0 : V.find((
|
|
5537
|
+
const ee = (V = a == null ? void 0 : a.stepList) == null ? void 0 : V.find((F, R) => R + 1 === E.value);
|
|
5535
5538
|
return console.log("findStep", ee), ee ? ee == null ? void 0 : ee.children : [];
|
|
5536
5539
|
}, G = (ee) => {
|
|
5537
5540
|
l("clickTrigger", ee);
|
|
5538
|
-
},
|
|
5541
|
+
}, D = (ee) => {
|
|
5539
5542
|
l("changeTrigger", ee);
|
|
5540
5543
|
};
|
|
5541
5544
|
return (ee, V) => {
|
|
5542
5545
|
var q, n, v, j, c;
|
|
5543
|
-
const
|
|
5546
|
+
const F = Ee("el-step"), R = Ee("el-steps");
|
|
5544
5547
|
return he(), be(Se, null, [
|
|
5545
|
-
ie(
|
|
5548
|
+
ie(R, {
|
|
5546
5549
|
direction: (q = r.stepConfig) == null ? void 0 : q.direction,
|
|
5547
5550
|
active: E.value,
|
|
5548
5551
|
"finish-status": "success",
|
|
@@ -5550,10 +5553,10 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5550
5553
|
"align-center": ((v = r.stepConfig) == null ? void 0 : v.alignCenter) ?? !0
|
|
5551
5554
|
}, {
|
|
5552
5555
|
default: we(() => [
|
|
5553
|
-
(he(!0), be(Se, null,
|
|
5556
|
+
(he(!0), be(Se, null, Re(r.stepList, (m, w) => (he(), Ie(F, {
|
|
5554
5557
|
key: w,
|
|
5555
5558
|
class: "step-item",
|
|
5556
|
-
onClick: (z) =>
|
|
5559
|
+
onClick: (z) => O(m, w + 1)
|
|
5557
5560
|
}, {
|
|
5558
5561
|
title: we(() => [
|
|
5559
5562
|
hl(ee.$slots, "title", {
|
|
@@ -5570,7 +5573,7 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5570
5573
|
]),
|
|
5571
5574
|
_: 3
|
|
5572
5575
|
}, 8, ["direction", "active", "simple", "align-center"]),
|
|
5573
|
-
(j = r.stepConfig) != null && j.allowTrigger && ((c = r.stepConfig) != null && c.active) ? (he(!0), be(Se, { key: 0 },
|
|
5576
|
+
(j = r.stepConfig) != null && j.allowTrigger && ((c = r.stepConfig) != null && c.active) ? (he(!0), be(Se, { key: 0 }, Re(U(), (m, w) => (he(), be("div", {
|
|
5574
5577
|
key: w,
|
|
5575
5578
|
class: "step-cont-wrap"
|
|
5576
5579
|
}, [
|
|
@@ -5578,10 +5581,10 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5578
5581
|
modelValue: m.value,
|
|
5579
5582
|
"onUpdate:modelValue": (z) => m.value = z,
|
|
5580
5583
|
onClickTrigger: G,
|
|
5581
|
-
onChangeTrigger:
|
|
5584
|
+
onChangeTrigger: D,
|
|
5582
5585
|
content: m == null ? void 0 : m.content
|
|
5583
5586
|
}, pa({ _: 2 }, [
|
|
5584
|
-
|
|
5587
|
+
Re(ee.$slots, (z, ce) => ({
|
|
5585
5588
|
name: ce,
|
|
5586
5589
|
fn: we((fe) => [
|
|
5587
5590
|
hl(ee.$slots, ce, ha({ ref_for: !0 }, fe || {}), void 0, !0)
|
|
@@ -5606,12 +5609,12 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5606
5609
|
},
|
|
5607
5610
|
emits: ["clickStep"],
|
|
5608
5611
|
setup(r, { emit: d }) {
|
|
5609
|
-
const a = r, l = d, t = Q({}), E = Q([]),
|
|
5612
|
+
const a = r, l = d, t = Q({}), E = Q([]), O = (f, U) => {
|
|
5610
5613
|
l("clickStep", f, U);
|
|
5611
5614
|
};
|
|
5612
|
-
return
|
|
5615
|
+
return Ue(() => a == null ? void 0 : a.itemData, (f) => {
|
|
5613
5616
|
var U, G;
|
|
5614
|
-
E.value = (U = f == null ? void 0 : f.find((
|
|
5617
|
+
E.value = (U = f == null ? void 0 : f.find((D) => (D == null ? void 0 : D.key) === "stepList")) == null ? void 0 : U.contents, t.value = (G = f == null ? void 0 : f.find((D) => (D == null ? void 0 : D.key) === "stepConfig")) == null ? void 0 : G.contents;
|
|
5615
5618
|
}, {
|
|
5616
5619
|
immediate: !0
|
|
5617
5620
|
}), (f, U) => {
|
|
@@ -5619,16 +5622,16 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5619
5622
|
return he(), Ie(Hi, {
|
|
5620
5623
|
stepConfig: t.value,
|
|
5621
5624
|
stepList: E.value,
|
|
5622
|
-
onClickStep:
|
|
5625
|
+
onClickStep: O
|
|
5623
5626
|
}, {
|
|
5624
5627
|
icon: we(() => [
|
|
5625
5628
|
ie(G, { name: "import" })
|
|
5626
5629
|
]),
|
|
5627
|
-
title: we(({ title:
|
|
5628
|
-
Be(Ce(
|
|
5630
|
+
title: we(({ title: D }) => [
|
|
5631
|
+
Be(Ce(D), 1)
|
|
5629
5632
|
]),
|
|
5630
|
-
description: we(({ description:
|
|
5631
|
-
Be(Ce(
|
|
5633
|
+
description: we(({ description: D }) => [
|
|
5634
|
+
Be(Ce(D), 1)
|
|
5632
5635
|
]),
|
|
5633
5636
|
_: 1
|
|
5634
5637
|
}, 8, ["stepConfig", "stepList"]);
|
|
@@ -5652,8 +5655,8 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5652
5655
|
const l = Ee("el-timeline-item"), t = Ee("el-timeline");
|
|
5653
5656
|
return he(), Ie(t, null, {
|
|
5654
5657
|
default: we(() => [
|
|
5655
|
-
(he(!0), be(Se, null,
|
|
5656
|
-
key:
|
|
5658
|
+
(he(!0), be(Se, null, Re(r.activities, (E, O) => (he(), Ie(l, {
|
|
5659
|
+
key: O,
|
|
5657
5660
|
timestamp: E.timestamp,
|
|
5658
5661
|
placement: r.timeLineConfig.placement,
|
|
5659
5662
|
center: r.timeLineConfig.isCenter,
|
|
@@ -5687,18 +5690,18 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5687
5690
|
},
|
|
5688
5691
|
setup(r) {
|
|
5689
5692
|
const d = r, a = Q({}), l = Q([]);
|
|
5690
|
-
return
|
|
5691
|
-
var E,
|
|
5692
|
-
l.value = (E = t == null ? void 0 : t.find((f) => (f == null ? void 0 : f.key) === "timeLineList")) == null ? void 0 : E.contents, a.value = (
|
|
5693
|
+
return Ue(() => d == null ? void 0 : d.itemData, (t) => {
|
|
5694
|
+
var E, O;
|
|
5695
|
+
l.value = (E = t == null ? void 0 : t.find((f) => (f == null ? void 0 : f.key) === "timeLineList")) == null ? void 0 : E.contents, a.value = (O = t == null ? void 0 : t.find((f) => (f == null ? void 0 : f.key) === "timeLineConfig")) == null ? void 0 : O.contents;
|
|
5693
5696
|
}, {
|
|
5694
5697
|
immediate: !0
|
|
5695
5698
|
}), (t, E) => (he(), Ie(Ni, {
|
|
5696
5699
|
activities: l.value,
|
|
5697
5700
|
timeLineConfig: a.value
|
|
5698
5701
|
}, {
|
|
5699
|
-
content: we(({ content:
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
+
content: we(({ content: O, timestamp: f }) => [
|
|
5703
|
+
B("span", Ki, Ce(O), 1),
|
|
5704
|
+
B("span", Ji, Ce(f), 1)
|
|
5702
5705
|
]),
|
|
5703
5706
|
_: 1
|
|
5704
5707
|
}, 8, ["activities", "timeLineConfig"]));
|
|
@@ -5718,7 +5721,7 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5718
5721
|
},
|
|
5719
5722
|
setup(r) {
|
|
5720
5723
|
const d = r, a = Q([]);
|
|
5721
|
-
return
|
|
5724
|
+
return Ue(
|
|
5722
5725
|
() => d == null ? void 0 : d.itemData,
|
|
5723
5726
|
(l) => {
|
|
5724
5727
|
const t = l.find((E) => (E == null ? void 0 : E.key) == "stepList");
|
|
@@ -5780,22 +5783,22 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5780
5783
|
}), d.setItemData(E);
|
|
5781
5784
|
};
|
|
5782
5785
|
return (t, E) => {
|
|
5783
|
-
const
|
|
5786
|
+
const O = Ee("svg-icon");
|
|
5784
5787
|
return he(), be("div", Zi, [
|
|
5785
|
-
(he(!0), be(Se, null, Oe(
|
|
5788
|
+
(he(!0), be(Se, null, Re(Oe(Pn), (f, U) => (he(), be("div", {
|
|
5786
5789
|
class: "type-list",
|
|
5787
5790
|
key: U
|
|
5788
5791
|
}, [
|
|
5789
|
-
|
|
5792
|
+
B("div", {
|
|
5790
5793
|
class: "list-content",
|
|
5791
5794
|
onClick: (G) => l(f)
|
|
5792
5795
|
}, [
|
|
5793
|
-
|
|
5794
|
-
ie(
|
|
5796
|
+
B("div", en, [
|
|
5797
|
+
ie(O, {
|
|
5795
5798
|
name: f.icon
|
|
5796
5799
|
}, null, 8, ["name"])
|
|
5797
5800
|
]),
|
|
5798
|
-
|
|
5801
|
+
B("div", null, Ce(f.name), 1)
|
|
5799
5802
|
], 8, Qi)
|
|
5800
5803
|
]))), 128))
|
|
5801
5804
|
]);
|
|
@@ -5809,47 +5812,47 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5809
5812
|
setup(r) {
|
|
5810
5813
|
const d = ml(qe), { itemData: a, originalData: l } = l2(d), t = Q([]);
|
|
5811
5814
|
Q([]);
|
|
5812
|
-
const E = Q([]),
|
|
5815
|
+
const E = Q([]), O = Q([]), f = (F) => {
|
|
5813
5816
|
var q;
|
|
5814
|
-
let
|
|
5815
|
-
|
|
5816
|
-
}, U = (
|
|
5817
|
+
let R = (q = i(O.value)) == null ? void 0 : q.map((n, v) => (F === v && (n.content = !0), n));
|
|
5818
|
+
O.value = R;
|
|
5819
|
+
}, U = (F) => {
|
|
5817
5820
|
var q;
|
|
5818
|
-
let
|
|
5819
|
-
|
|
5820
|
-
}, G = (
|
|
5821
|
+
let R = (q = i(O.value)) == null ? void 0 : q.map((n, v) => (F === v && (n.content = !1), n));
|
|
5822
|
+
O.value = R, t.value = i(a.value);
|
|
5823
|
+
}, G = (F, R) => {
|
|
5821
5824
|
var j;
|
|
5822
|
-
let q = (j = i(
|
|
5823
|
-
|
|
5824
|
-
const n = i(a.value), v = n == null ? void 0 : n.filter((c, m) => (m ===
|
|
5825
|
+
let q = (j = i(O.value)) == null ? void 0 : j.map((c, m) => (F === m && (c.content = !1), c));
|
|
5826
|
+
O.value = q;
|
|
5827
|
+
const n = i(a.value), v = n == null ? void 0 : n.filter((c, m) => (m === F && (c.name = R), c));
|
|
5825
5828
|
d.setOriginalData(v), d.setItemData(v);
|
|
5826
5829
|
};
|
|
5827
|
-
|
|
5830
|
+
Ue(
|
|
5828
5831
|
() => a.value,
|
|
5829
5832
|
() => {
|
|
5830
|
-
var
|
|
5831
|
-
!a.value || ((
|
|
5833
|
+
var F, R, q;
|
|
5834
|
+
!a.value || ((F = a.value) == null ? void 0 : F.length) === 0 ? t.value = [] : t.value = (R = i(a.value)) == null ? void 0 : R.filter((n) => (n == null ? void 0 : n.comp) !== "methodButton"), E.value = t.value, O.value = (q = i(E.value)) == null ? void 0 : q.map((n, v) => ({
|
|
5832
5835
|
id: v,
|
|
5833
5836
|
content: !1
|
|
5834
5837
|
}));
|
|
5835
5838
|
},
|
|
5836
5839
|
{ deep: !0, immediate: !0 }
|
|
5837
5840
|
);
|
|
5838
|
-
const
|
|
5841
|
+
const D = (F) => Sl(F), ee = (F, R, q) => {
|
|
5839
5842
|
var v, j;
|
|
5840
|
-
if (!
|
|
5843
|
+
if (!F) return;
|
|
5841
5844
|
let n = i(a.value);
|
|
5842
|
-
n = (v = n == null ? void 0 : n.map((c, m) => (m === q && (c.compData =
|
|
5845
|
+
n = (v = n == null ? void 0 : n.map((c, m) => (m === q && (c.compData = F), c))) == null ? void 0 : v.filter((c) => (c == null ? void 0 : c.comp) !== "methodButton"), O.value = (j = i(n)) == null ? void 0 : j.map((c, m) => ({
|
|
5843
5846
|
id: m,
|
|
5844
5847
|
content: !1
|
|
5845
5848
|
})), d.setOriginalData(n), d.setItemData(n);
|
|
5846
|
-
}, V = (
|
|
5849
|
+
}, V = (F) => {
|
|
5847
5850
|
g2.confirm("是否确认要删除", "", {
|
|
5848
5851
|
confirmButtonText: "确认",
|
|
5849
5852
|
cancelButtonText: "取消",
|
|
5850
5853
|
type: "warning"
|
|
5851
5854
|
}).then(() => {
|
|
5852
|
-
const
|
|
5855
|
+
const R = i(a.value), q = R == null ? void 0 : R.filter((n, v) => v !== F);
|
|
5853
5856
|
d.setOriginalData(q), d.setItemData(q), Xe({
|
|
5854
5857
|
type: "success",
|
|
5855
5858
|
message: "删除成功"
|
|
@@ -5857,34 +5860,34 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5857
5860
|
}).catch(() => {
|
|
5858
5861
|
});
|
|
5859
5862
|
};
|
|
5860
|
-
return (
|
|
5863
|
+
return (F, R) => {
|
|
5861
5864
|
const q = Ee("svg-icon");
|
|
5862
5865
|
return he(), be("div", sn, [
|
|
5863
|
-
|
|
5864
|
-
|
|
5866
|
+
R[1] || (R[1] = B("div", { class: "fill-operate" }, Ce("操作栏"), -1)),
|
|
5867
|
+
B("div", nn, [
|
|
5865
5868
|
ie(Ea, {
|
|
5866
5869
|
class: "collapse-content",
|
|
5867
5870
|
collapseContents: t.value
|
|
5868
5871
|
}, {
|
|
5869
5872
|
title: we(({ item: n, index: v }) => {
|
|
5870
|
-
var j, c, m, w, z, ce, fe,
|
|
5873
|
+
var j, c, m, w, z, ce, fe, H, X, K;
|
|
5871
5874
|
return [
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
(c = (j =
|
|
5875
|
+
B("div", on, [
|
|
5876
|
+
B("div", tn, [
|
|
5877
|
+
(c = (j = O.value) == null ? void 0 : j.find((M) => M.id === v)) != null && c.content ? Je("", !0) : (he(), be("div", {
|
|
5875
5878
|
key: 0,
|
|
5876
5879
|
class: "collapse-title",
|
|
5877
5880
|
style: Dl({ marginRight: n.name && n.name !== "" ? "8px" : "0px" })
|
|
5878
5881
|
}, Ce(n.name), 5)),
|
|
5879
|
-
(w = (m =
|
|
5882
|
+
(w = (m = O.value) == null ? void 0 : m.find((M) => M.id === v)) != null && w.content ? (he(), be("div", rn, [
|
|
5880
5883
|
ie(ba, {
|
|
5881
5884
|
modelValue: n.name,
|
|
5882
5885
|
"onUpdate:modelValue": (M) => n.name = M,
|
|
5883
|
-
onClick:
|
|
5886
|
+
onClick: R[0] || (R[0] = Q2(() => {
|
|
5884
5887
|
}, ["stop"]))
|
|
5885
5888
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
5886
5889
|
])) : Je("", !0),
|
|
5887
|
-
(ce = (z =
|
|
5890
|
+
(ce = (z = O.value) == null ? void 0 : z.find((M) => M.id === v)) != null && ce.content ? Je("", !0) : (he(), be("div", {
|
|
5888
5891
|
key: 2,
|
|
5889
5892
|
onClick: Q2((M) => f(v), ["stop"]),
|
|
5890
5893
|
class: "icon-content"
|
|
@@ -5895,8 +5898,8 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5895
5898
|
})
|
|
5896
5899
|
], 8, cn))
|
|
5897
5900
|
]),
|
|
5898
|
-
|
|
5899
|
-
(
|
|
5901
|
+
B("div", un, [
|
|
5902
|
+
(H = (fe = O.value) == null ? void 0 : fe.find((M) => M.id === v)) != null && H.content ? (he(), be("div", dn, [
|
|
5900
5903
|
ie(q, {
|
|
5901
5904
|
name: "Cancel",
|
|
5902
5905
|
style: { width: "16px", height: "16px" },
|
|
@@ -5910,7 +5913,7 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5910
5913
|
class: "icon-content"
|
|
5911
5914
|
}, null, 8, ["onClick"])
|
|
5912
5915
|
])) : Je("", !0),
|
|
5913
|
-
(K = (X =
|
|
5916
|
+
(K = (X = O.value) == null ? void 0 : X.find((M) => M.id === v)) != null && K.content ? Je("", !0) : (he(), be("div", {
|
|
5914
5917
|
key: 1,
|
|
5915
5918
|
onClick: Q2((M) => V(v), ["stop"]),
|
|
5916
5919
|
class: "icon-content"
|
|
@@ -5927,8 +5930,8 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5927
5930
|
content: we(({ item: n, index: v }) => {
|
|
5928
5931
|
var j, c;
|
|
5929
5932
|
return [
|
|
5930
|
-
|
|
5931
|
-
(he(), Ie(sl(
|
|
5933
|
+
B("div", hn, [
|
|
5934
|
+
(he(), Ie(sl(D(n.comp + "Operate")), {
|
|
5932
5935
|
itemContents: n == null ? void 0 : n.compData,
|
|
5933
5936
|
originalItemContents: (c = (j = E.value) == null ? void 0 : j.find((m, w) => w === v)) == null ? void 0 : c.compData,
|
|
5934
5937
|
onChange: (m) => ee(m, n, v)
|
|
@@ -5949,7 +5952,7 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5949
5952
|
__name: "modelShow",
|
|
5950
5953
|
setup(r) {
|
|
5951
5954
|
const d = ml(qe), { itemData: a } = l2(d), l = Q([]);
|
|
5952
|
-
|
|
5955
|
+
Ue(
|
|
5953
5956
|
() => a.value,
|
|
5954
5957
|
() => {
|
|
5955
5958
|
var E;
|
|
@@ -5958,14 +5961,14 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5958
5961
|
{ deep: !0, immediate: !0 }
|
|
5959
5962
|
);
|
|
5960
5963
|
const t = (E) => Sl(E);
|
|
5961
|
-
return (E,
|
|
5964
|
+
return (E, O) => {
|
|
5962
5965
|
var f;
|
|
5963
5966
|
return ((f = l.value) == null ? void 0 : f.length) > 0 ? (he(), be("div", mn, [
|
|
5964
|
-
(he(!0), be(Se, null,
|
|
5967
|
+
(he(!0), be(Se, null, Re(l.value, (U, G) => (he(), be("div", {
|
|
5965
5968
|
class: "item-content",
|
|
5966
5969
|
key: G
|
|
5967
5970
|
}, [
|
|
5968
|
-
|
|
5971
|
+
B("div", yn, Ce(U.name), 1),
|
|
5969
5972
|
(he(), Ie(sl(t(U.comp)), {
|
|
5970
5973
|
itemData: U == null ? void 0 : U.compData,
|
|
5971
5974
|
childItemData: U == null ? void 0 : U.itemChildData,
|
|
@@ -5988,10 +5991,10 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
5988
5991
|
},
|
|
5989
5992
|
emits: ["change"],
|
|
5990
5993
|
setup(r, { emit: d }) {
|
|
5991
|
-
const a = r, l = d, t = Q([]), E = Q(!1),
|
|
5992
|
-
|
|
5994
|
+
const a = r, l = d, t = Q([]), E = Q(!1), O = Q(""), f = Q({ title: "" }), U = Q(-1), G = Q(!1), D = Q(-1), ee = Q(/* @__PURE__ */ new Map()), V = Q(null), F = ml(qe), { itemData: R } = l2(F), q = () => {
|
|
5995
|
+
O.value = "新增标签页", f.value.title = "", U.value = -1, E.value = !0;
|
|
5993
5996
|
}, n = (p) => {
|
|
5994
|
-
|
|
5997
|
+
O.value = "修改标签页", f.value.title = t.value[p].title, U.value = p, E.value = !0;
|
|
5995
5998
|
}, v = (p) => {
|
|
5996
5999
|
const L = m(p);
|
|
5997
6000
|
ee.value.delete(L), t.value.splice(p, 1), ve();
|
|
@@ -6015,17 +6018,17 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
6015
6018
|
return L.id || (L.id = c()), L.id;
|
|
6016
6019
|
}, w = (p) => {
|
|
6017
6020
|
var g;
|
|
6018
|
-
|
|
6021
|
+
D.value = p;
|
|
6019
6022
|
const L = m(p);
|
|
6020
|
-
V.value = i(
|
|
6023
|
+
V.value = i(R.value);
|
|
6021
6024
|
let b = ee.value.get(L);
|
|
6022
|
-
!b && ((g = t.value[p].children) == null ? void 0 : g.length) > 0 && (b =
|
|
6025
|
+
!b && ((g = t.value[p].children) == null ? void 0 : g.length) > 0 && (b = H(t.value[p].children)), b ? F.setItemData(i(b)) : F.setItemData([]), G.value = !0;
|
|
6023
6026
|
}, z = b2(() => {
|
|
6024
6027
|
const p = vl(qe), L = l2(p).itemData.value;
|
|
6025
6028
|
return console.log("可用组件数据", L), !L || !Array.isArray(L) ? [] : L.filter((b) => {
|
|
6026
6029
|
var g;
|
|
6027
|
-
if (b.comp === "Tabs" &&
|
|
6028
|
-
const $ = m(
|
|
6030
|
+
if (b.comp === "Tabs" && D.value >= 0) {
|
|
6031
|
+
const $ = m(D.value);
|
|
6029
6032
|
if ((g = b.compData) == null ? void 0 : g.some(
|
|
6030
6033
|
(I) => {
|
|
6031
6034
|
var N;
|
|
@@ -6050,12 +6053,12 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
6050
6053
|
_.id = c();
|
|
6051
6054
|
});
|
|
6052
6055
|
}));
|
|
6053
|
-
const g = i(
|
|
6054
|
-
g.push(b),
|
|
6056
|
+
const g = i(R.value);
|
|
6057
|
+
g.push(b), F.setItemData(g);
|
|
6055
6058
|
} catch (b) {
|
|
6056
6059
|
console.error("添加组件失败:", b);
|
|
6057
6060
|
}
|
|
6058
|
-
},
|
|
6061
|
+
}, H = (p) => p.map((L) => {
|
|
6059
6062
|
var b;
|
|
6060
6063
|
switch (L.type) {
|
|
6061
6064
|
case "form":
|
|
@@ -6091,16 +6094,16 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
6091
6094
|
contents: p.isEnableWrap
|
|
6092
6095
|
}), L;
|
|
6093
6096
|
}, K = (p) => [], M = () => {
|
|
6094
|
-
if (
|
|
6095
|
-
const p = m(
|
|
6096
|
-
ee.value.set(p, i(
|
|
6097
|
+
if (D.value >= 0 && D.value < t.value.length) {
|
|
6098
|
+
const p = m(D.value);
|
|
6099
|
+
ee.value.set(p, i(R.value)), t.value[D.value].children = Y(R.value), console.log("保存后的数据", Y(R.value));
|
|
6097
6100
|
}
|
|
6098
|
-
G.value = !1,
|
|
6101
|
+
G.value = !1, D.value = -1, V.value = null, ve();
|
|
6099
6102
|
}, s = () => {
|
|
6100
|
-
V.value &&
|
|
6101
|
-
},
|
|
6103
|
+
V.value && F.setItemData(i(V.value)), G.value = !1, D.value = -1, V.value = null;
|
|
6104
|
+
}, P = () => {
|
|
6102
6105
|
G.value && s();
|
|
6103
|
-
},
|
|
6106
|
+
}, Y = (p) => {
|
|
6104
6107
|
if (!Array.isArray(p))
|
|
6105
6108
|
throw new Error("sourceData must be an array");
|
|
6106
6109
|
return p.map((L, b) => {
|
|
@@ -6198,7 +6201,7 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
6198
6201
|
];
|
|
6199
6202
|
l("change", p);
|
|
6200
6203
|
};
|
|
6201
|
-
return
|
|
6204
|
+
return Ue(
|
|
6202
6205
|
() => a.itemContents,
|
|
6203
6206
|
(p) => {
|
|
6204
6207
|
if (p && p.length > 0) {
|
|
@@ -6216,9 +6219,9 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
6216
6219
|
), (p, L) => {
|
|
6217
6220
|
const b = Ee("svg-icon"), g = Ee("el-input"), $ = Ee("el-form-item"), _ = Ee("el-form");
|
|
6218
6221
|
return he(), be("div", null, [
|
|
6219
|
-
|
|
6220
|
-
L[6] || (L[6] =
|
|
6221
|
-
|
|
6222
|
+
B("div", wn, [
|
|
6223
|
+
L[6] || (L[6] = B("h4", null, "标签页管理", -1)),
|
|
6224
|
+
B("button", { onClick: q }, [
|
|
6222
6225
|
ie(b, {
|
|
6223
6226
|
name: "Plus",
|
|
6224
6227
|
style: { width: "14px", height: "14px", "margin-right": "4px" }
|
|
@@ -6226,20 +6229,20 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
6226
6229
|
L[5] || (L[5] = Be(" 新增标签页 "))
|
|
6227
6230
|
])
|
|
6228
6231
|
]),
|
|
6229
|
-
|
|
6230
|
-
(he(!0), be(Se, null,
|
|
6232
|
+
B("div", An, [
|
|
6233
|
+
(he(!0), be(Se, null, Re(t.value, (I, N) => (he(), be("div", {
|
|
6231
6234
|
class: "tab-item",
|
|
6232
6235
|
key: N
|
|
6233
6236
|
}, [
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
+
B("span", kn, Ce(I.title), 1),
|
|
6238
|
+
B("div", _n, [
|
|
6239
|
+
B("button", {
|
|
6237
6240
|
onClick: (T) => n(N)
|
|
6238
6241
|
}, "修改标题", 8, Cn),
|
|
6239
|
-
|
|
6242
|
+
B("button", {
|
|
6240
6243
|
onClick: (T) => w(N)
|
|
6241
6244
|
}, "布局调整", 8, zn),
|
|
6242
|
-
|
|
6245
|
+
B("button", {
|
|
6243
6246
|
onClick: (T) => v(N)
|
|
6244
6247
|
}, "删除", 8, Mn)
|
|
6245
6248
|
])
|
|
@@ -6248,14 +6251,14 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
6248
6251
|
ie(a2, {
|
|
6249
6252
|
modelValue: E.value,
|
|
6250
6253
|
"onUpdate:modelValue": L[2] || (L[2] = (I) => E.value = I),
|
|
6251
|
-
title:
|
|
6254
|
+
title: O.value,
|
|
6252
6255
|
onBeforeDestroy: L[3] || (L[3] = (I) => E.value = !1)
|
|
6253
6256
|
}, {
|
|
6254
6257
|
footer: we(() => [
|
|
6255
|
-
|
|
6258
|
+
B("button", {
|
|
6256
6259
|
onClick: L[1] || (L[1] = (I) => E.value = !1)
|
|
6257
6260
|
}, "取消"),
|
|
6258
|
-
|
|
6261
|
+
B("button", {
|
|
6259
6262
|
type: "primary",
|
|
6260
6263
|
onClick: j
|
|
6261
6264
|
}, "确定")
|
|
@@ -6290,29 +6293,29 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
6290
6293
|
"onUpdate:modelValue": L[4] || (L[4] = (I) => G.value = I),
|
|
6291
6294
|
title: "布局调整",
|
|
6292
6295
|
fullScreen: "",
|
|
6293
|
-
onBeforeDestroy:
|
|
6296
|
+
onBeforeDestroy: P
|
|
6294
6297
|
}, {
|
|
6295
6298
|
footer: we(() => [
|
|
6296
|
-
|
|
6297
|
-
|
|
6299
|
+
B("button", { onClick: s }, "取消"),
|
|
6300
|
+
B("button", { onClick: M }, "确定")
|
|
6298
6301
|
]),
|
|
6299
6302
|
default: we(() => [
|
|
6300
|
-
|
|
6301
|
-
|
|
6303
|
+
B("div", xn, [
|
|
6304
|
+
B("div", Dn, [
|
|
6302
6305
|
ie(an),
|
|
6303
|
-
|
|
6304
|
-
L[8] || (L[8] =
|
|
6305
|
-
|
|
6306
|
-
(he(!0), be(Se, null,
|
|
6306
|
+
B("div", Fn, [
|
|
6307
|
+
L[8] || (L[8] = B("h5", null, "添加已有组件", -1)),
|
|
6308
|
+
B("div", Bn, [
|
|
6309
|
+
(he(!0), be(Se, null, Re(z.value, (I) => (he(), be("div", {
|
|
6307
6310
|
key: I.id,
|
|
6308
6311
|
class: "component-item",
|
|
6309
6312
|
onClick: (N) => fe(I)
|
|
6310
6313
|
}, [
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
+
B("div", In, [
|
|
6315
|
+
B("span", En, Ce(ce(I.comp)), 1),
|
|
6316
|
+
B("span", Sn, Ce(I.name), 1)
|
|
6314
6317
|
]),
|
|
6315
|
-
L[7] || (L[7] =
|
|
6318
|
+
L[7] || (L[7] = B("button", { class: "add-btn" }, "添加", -1))
|
|
6316
6319
|
], 8, $n))), 128))
|
|
6317
6320
|
])
|
|
6318
6321
|
])
|
|
@@ -6323,7 +6326,7 @@ const Ei = /* @__PURE__ */ Te($i, [["render", Ii]]), Si = { class: "module conte
|
|
|
6323
6326
|
}, [
|
|
6324
6327
|
ie(bn)
|
|
6325
6328
|
])),
|
|
6326
|
-
|
|
6329
|
+
B("div", Ln, [
|
|
6327
6330
|
ie(vn)
|
|
6328
6331
|
])
|
|
6329
6332
|
])
|