ss-component-new 1.1.613 → 1.1.614
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-j-V6cmGh.js → index-BHR2zZ4l.js} +147 -146
- package/dist/{index-uOFoDGfr.js → index-BKlX47j9.js} +3 -3
- package/dist/{index-CjfSFVch.cjs → index-BcaRP6r_.cjs} +1 -1
- package/dist/{index-BTcprbvh.cjs → index-Bi6eFqAS.cjs} +1 -1
- package/dist/{index-DCT9raO7.js → index-BjLNM66k.js} +10 -10
- package/dist/{index-DaljBanN.js → index-BlCAcqmU.js} +1 -1
- package/dist/{index-B_jcwz8h.js → index-CA0rhgwe.js} +2 -2
- package/dist/{index-u76SwcjA.cjs → index-CBKKTHME.cjs} +1 -1
- package/dist/{index-C2oTEiOz.cjs → index-CEXnPYiO.cjs} +1 -1
- package/dist/{index-B4CjnKtd.cjs → index-CIED0Tqj.cjs} +1 -1
- package/dist/{index-C8JbYV9i.js → index-CN16Rttj.js} +3 -3
- package/dist/{index-B7STLPQk.js → index-CPmtCRLF.js} +1 -1
- package/dist/{index-CIk03V2m.js → index-CkdH_gts.js} +5 -5
- package/dist/{index-C2gWLtuP.js → index-CnGQOYeW.js} +2 -2
- package/dist/{index-B7MJ84rl.js → index-CxxHXw0K.js} +1 -1
- package/dist/{index-BscVxcWg.cjs → index-D-EGzJQ9.cjs} +1 -1
- package/dist/{index-Bh3pY3Jj.js → index-DE3rSzcR.js} +2 -2
- package/dist/{index-CtxOJNHA.cjs → index-DFk2WP3x.cjs} +1 -1
- package/dist/{index-B4gAKBoa.cjs → index-DHVooUy_.cjs} +1 -1
- package/dist/{index-DYxoBbtJ.cjs → index-DNvOHX2D.cjs} +1 -1
- package/dist/{index-A885uuFC.js → index-DTVkrVmE.js} +2 -2
- package/dist/{index-6DTZ5srt.cjs → index-DdkPpOfS.cjs} +1 -1
- package/dist/{index-D_HszcpC.js → index-DjNfpqOm.js} +2 -2
- package/dist/{index-BefuyAwv.js → index-DkKVJJGm.js} +2 -2
- package/dist/{index-8Juw-vHr.cjs → index-DxqdrN24.cjs} +1 -1
- package/dist/{index-BnolyTQo.cjs → index-DyHqYflM.cjs} +1 -1
- package/dist/{index-DDffuw8C.cjs → index-Fvpqy3xY.cjs} +1 -1
- package/dist/{index-DXmRodF3.cjs → index-KIVXNG53.cjs} +1 -1
- package/dist/{index-DHXlo9Tk.js → index-R7Qlz4gj.js} +2 -2
- package/dist/{index-DY7U0ulO.cjs → index-TUzIE1nV.cjs} +1 -1
- package/dist/{index-CPq1CV6b.cjs → index-fgipqSVX.cjs} +1 -1
- package/dist/{index-ByqiusUf.js → index-hGO6eGpd.js} +1 -1
- package/dist/{index-DnS2Ulaz.js → index-nE29OJgx.js} +1 -1
- package/dist/{index-Chwdv_Xm.cjs → index-xkbDbTQY.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-C0WdqAD3.cjs → index.vue_vue_type_script_setup_true_lang-BXE-i4L_.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BBjmwIHl.js → index.vue_vue_type_script_setup_true_lang-taKeUnii.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BBtXjJyn.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BBI65FP1.js} +5045 -5033
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-8sKf69T7.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-qQE-DsHA.cjs} +58 -58
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-DIyem6Zd.js → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-BzKa_z9g.js} +56 -56
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-DfW-NcWK.cjs → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-i8rBa-fP.cjs} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_57a7854d_lang-Bj6wXs-K.js → index.vue_vue_type_style_index_0_scoped_57a7854d_lang-DfwbW6bU.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_57a7854d_lang-CoP3t1MS.cjs → index.vue_vue_type_style_index_0_scoped_57a7854d_lang-d_JZ-2em.cjs} +1 -1
- package/dist/{main-DSnZpabn.js → main-B7q8cwoj.js} +2 -2
- package/dist/{main-DEB71tXS.cjs → main-BvImCled.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +7 -7
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-j-ksghdx.cjs → threeModel-DARDcOZJ.cjs} +1 -1
- package/dist/{threeModel-BuK8iClH.js → threeModel-Dk4YlGcm.js} +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { b as Ua, a as Ea, s as Ka } from "./index-
|
|
1
|
+
import { b as Ua, a as Ea, s as Ka } from "./index-CnGQOYeW.js";
|
|
2
2
|
import { ref as z, watch as Ne, createElementBlock as fe, openBlock as Y, createVNode as M, createBlock as Se, createCommentVNode as Ye, resolveComponent as Be, Fragment as Te, renderList as Oe, createElementVNode as I, toDisplayString as ke, withCtx as ce, createTextVNode as Ee, defineComponent as yl, reactive as la, resolveDynamicComponent as Kl, unref as $a, computed as aa, renderSlot as Wl, createSlots as Wa, mergeProps as za, normalizeStyle as Ma, withModifiers as Nl } from "vue";
|
|
3
3
|
import { bR as Ba, p as Ze, c as l, d as zl, s as ol, E as ll, u as Ja, g as Ul, bO as Ca, bM as wa, bN as Ga } from "./menu-DArqZlON.js";
|
|
4
|
-
import { e as Ke, f as Ha, s as Je, h as Ta, a as qa, i as Qa, j as Xa, b as Ya } from "./index-
|
|
5
|
-
import { F as Da, u as Za, I as il, v as es, w as Ve, x as kl, y as sl, z as ml, A as Ql, g as hl, B as ls, C as as, D as ss, E as is, G as ns, H as Aa, K as os, L as us, M as rs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
+
import { e as Ke, f as Ha, s as Je, h as Ta, a as qa, i as Qa, j as Xa, b as Ya } from "./index-BKlX47j9.js";
|
|
5
|
+
import { F as Da, u as Za, I as il, v as es, w as Ve, x as kl, y as sl, z as ml, A as Ql, g as hl, B as ls, C as as, D as ss, E as is, G as ns, H as Aa, K as os, L as us, M as rs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BBI65FP1.js";
|
|
6
6
|
import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { E as dl } from "./index-DaOakrcL.js";
|
|
8
8
|
import { u as Sa } from "./modelComp-6AqovLWA.js";
|
|
9
9
|
import { u as cs } from "./login-C8DAyy2e.js";
|
|
10
|
-
import { s as ts, a as ds } from "./index-
|
|
10
|
+
import { s as ts, a as ds } from "./index-DjNfpqOm.js";
|
|
11
11
|
import ps from "./index-CZtXRS3l.js";
|
|
12
12
|
const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
13
13
|
state: () => ({
|
|
@@ -42,17 +42,17 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
42
42
|
var c, h, a, d, _, O, B, oe;
|
|
43
43
|
let W = [];
|
|
44
44
|
if ((c = y == null ? void 0 : y.toString()) != null && c.includes(".stl") || (h = y == null ? void 0 : y.toString()) != null && h.includes(".STL") || (a = y == null ? void 0 : y.toString()) != null && a.includes(".obj") || (d = y == null ? void 0 : y.toString()) != null && d.includes(".mtl") || (_ = y == null ? void 0 : y.toString()) != null && _.includes(".urdf")) {
|
|
45
|
-
let
|
|
46
|
-
Array.isArray(y) ?
|
|
45
|
+
let N, ae = [], i = {};
|
|
46
|
+
Array.isArray(y) ? N = y : N = y == null ? void 0 : y.split(","), N == null || N.forEach((E) => {
|
|
47
47
|
E.includes(".mtl") ? ae.push(E) : i.blob = i.blob ? i.blob + "," + E : E;
|
|
48
48
|
}), (ae == null ? void 0 : ae.length) > 0 && (i.mtlBlobs = ae), (B = (O = Object.values(i)) == null ? void 0 : O[0]) != null && B.includes("http:") && W.push(i);
|
|
49
49
|
} else {
|
|
50
|
-
const
|
|
50
|
+
const N = await zl.get(y, {
|
|
51
51
|
responseType: "blob",
|
|
52
52
|
headers: {
|
|
53
53
|
"Content-Type": "application/json"
|
|
54
54
|
}
|
|
55
|
-
}), ae = new Blob([
|
|
55
|
+
}), ae = new Blob([N.data], {
|
|
56
56
|
type: "application/octet-stream;charset=UTF-8"
|
|
57
57
|
});
|
|
58
58
|
let i = URL.createObjectURL(ae), E = "";
|
|
@@ -71,8 +71,8 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
71
71
|
var d, _, O, B;
|
|
72
72
|
const W = (_ = (d = l(n.itemData)) == null ? void 0 : d.find((oe) => (oe == null ? void 0 : oe.key) === "formContent")) == null ? void 0 : _.contents, c = l(y.content);
|
|
73
73
|
let h = {};
|
|
74
|
-
c && ((O = Object.values(c)) == null ? void 0 : O.length) > 0 && ((B = Object.values(c)) == null || B.forEach((oe,
|
|
75
|
-
h[W[
|
|
74
|
+
c && ((O = Object.values(c)) == null ? void 0 : O.length) > 0 && ((B = Object.values(c)) == null || B.forEach((oe, N) => {
|
|
75
|
+
h[W[N].key] = oe;
|
|
76
76
|
}));
|
|
77
77
|
const a = {
|
|
78
78
|
content: h,
|
|
@@ -85,32 +85,32 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
85
85
|
if (!y) return;
|
|
86
86
|
const W = l(n.itemData), c = W == null ? void 0 : W.map((B) => {
|
|
87
87
|
var oe;
|
|
88
|
-
return (B == null ? void 0 : B.key) === "formContent" && ((oe = B.contents) == null || oe.map((
|
|
88
|
+
return (B == null ? void 0 : B.key) === "formContent" && ((oe = B.contents) == null || oe.map((N, ae) => {
|
|
89
89
|
var i, E, F, o, x, Z, j, u, k, $, q, me, re, t, D, b, ie;
|
|
90
|
-
return
|
|
90
|
+
return N.type = N != null && N.type ? N.type : (o = (F = (E = (i = N == null ? void 0 : N.key) == null ? void 0 : i.split("$")) == null ? void 0 : E[1]) == null ? void 0 : F.split("(")) != null && o[0] ? (Z = (x = Da) == null ? void 0 : x.find((H) => {
|
|
91
91
|
var ve, ee, se, te;
|
|
92
|
-
return (H == null ? void 0 : H.key) === ((te = (se = (ee = (ve =
|
|
93
|
-
})) == null ? void 0 : Z.value : "Input",
|
|
92
|
+
return (H == null ? void 0 : H.key) === ((te = (se = (ee = (ve = N == null ? void 0 : N.key) == null ? void 0 : ve.split("$")) == null ? void 0 : ee[1]) == null ? void 0 : se.split("(")) == null ? void 0 : te[0]);
|
|
93
|
+
})) == null ? void 0 : Z.value : "Input", N.options = N != null && N.options ? N.options : ((k = (u = (j = N == null ? void 0 : N.key) == null ? void 0 : j.split("$")) == null ? void 0 : u[1]) == null ? void 0 : k.length) > 0 ? (re = (me = fs((q = ($ = N == null ? void 0 : N.key) == null ? void 0 : $.split("$")) == null ? void 0 : q[1])) == null ? void 0 : me.split(",")) == null ? void 0 : re.map((H) => ({
|
|
94
94
|
label: H,
|
|
95
95
|
value: H
|
|
96
|
-
})) : [], (t =
|
|
96
|
+
})) : [], (t = N == null ? void 0 : N.key) != null && t.includes("$") && (N.key = (b = (D = N == null ? void 0 : N.key) == null ? void 0 : D.split("$")) == null ? void 0 : b[0]), N.value = (ie = Object.values(y)) == null ? void 0 : ie[ae], N;
|
|
97
97
|
})), B;
|
|
98
98
|
});
|
|
99
99
|
let h = [], a = [];
|
|
100
100
|
if ((_ = l((d = c == null ? void 0 : c.find((B) => (B == null ? void 0 : B.key) === "formContent")) == null ? void 0 : d.contents)) == null || _.forEach((B) => {
|
|
101
101
|
var oe;
|
|
102
|
-
Array.isArray(B == null ? void 0 : B.value) && ((oe = B == null ? void 0 : B.value) != null && oe.find((
|
|
102
|
+
Array.isArray(B == null ? void 0 : B.value) && ((oe = B == null ? void 0 : B.value) != null && oe.find((N) => {
|
|
103
103
|
var ae;
|
|
104
|
-
return (ae =
|
|
104
|
+
return (ae = N == null ? void 0 : N.url) == null ? void 0 : ae.includes(".obj");
|
|
105
105
|
})) && (a = B == null ? void 0 : B.value);
|
|
106
106
|
}), (a == null ? void 0 : a.length) > 0) {
|
|
107
107
|
const B = (O = l(a)) == null ? void 0 : O.filter((oe) => {
|
|
108
|
-
var
|
|
109
|
-
return (
|
|
108
|
+
var N;
|
|
109
|
+
return (N = oe == null ? void 0 : oe.url) == null ? void 0 : N.includes(".obj");
|
|
110
110
|
});
|
|
111
111
|
B == null || B.forEach((oe) => {
|
|
112
112
|
var ae, i, E, F;
|
|
113
|
-
const
|
|
113
|
+
const N = (ae = a == null ? void 0 : a.filter((o) => {
|
|
114
114
|
var x;
|
|
115
115
|
return (o == null ? void 0 : o.name) === (oe == null ? void 0 : oe.name) && ((x = o == null ? void 0 : o.url) == null ? void 0 : x.includes(".mtl"));
|
|
116
116
|
})) == null ? void 0 : ae.map((o) => o == null ? void 0 : o.url);
|
|
@@ -122,7 +122,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
122
122
|
})) == null ? void 0 : i.length) === 1 ? (F = (E = a == null ? void 0 : a.filter((o) => {
|
|
123
123
|
var x;
|
|
124
124
|
return (o == null ? void 0 : o.name) === (oe == null ? void 0 : oe.name) && ((x = o == null ? void 0 : o.url) == null ? void 0 : x.includes(".mtl"));
|
|
125
|
-
})) == null ? void 0 : E[0]) == null ? void 0 : F.url :
|
|
125
|
+
})) == null ? void 0 : E[0]) == null ? void 0 : F.url : N
|
|
126
126
|
});
|
|
127
127
|
}), T.setObjUrl(h);
|
|
128
128
|
}
|
|
@@ -134,16 +134,16 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
134
134
|
return Ne(
|
|
135
135
|
() => n.itemData,
|
|
136
136
|
async () => {
|
|
137
|
-
var d, _, O, B, oe,
|
|
137
|
+
var d, _, O, B, oe, N, ae, i, E, F, o, x, Z, j;
|
|
138
138
|
const y = (d = n.itemData) == null ? void 0 : d.find((u) => (u == null ? void 0 : u.key) === "formContent"), W = (_ = l(n.itemData)) == null ? void 0 : _.find((u) => (u == null ? void 0 : u.key) === "formButton"), c = (O = l(n.itemData)) == null ? void 0 : O.find((u) => (u == null ? void 0 : u.key) === "formFlex"), h = (B = l(n.itemData)) == null ? void 0 : B.find((u) => (u == null ? void 0 : u.key) === "formWrap"), a = (oe = l(n.itemData)) == null ? void 0 : oe.find((u) => (u == null ? void 0 : u.key) === "enableWrap");
|
|
139
|
-
if ((h == null ? void 0 : h.contents) === "纵向" ? S.value = !1 : S.value = !0, Q.value = (a == null ? void 0 : a.contents) === void 0 ? !1 : a == null ? void 0 : a.contents, X.value = typeof (c == null ? void 0 : c.contents) != "boolean" ? !(!(c != null && c.contents) === "" || ((
|
|
139
|
+
if ((h == null ? void 0 : h.contents) === "纵向" ? S.value = !1 : S.value = !0, Q.value = (a == null ? void 0 : a.contents) === void 0 ? !1 : a == null ? void 0 : a.contents, X.value = typeof (c == null ? void 0 : c.contents) != "boolean" ? !(!(c != null && c.contents) === "" || ((N = c == null ? void 0 : c.contents) == null ? void 0 : N.toUpperCase()) === "VERTICAL") : c == null ? void 0 : c.contents, ((ae = y == null ? void 0 : y.contents) == null ? void 0 : ae.length) > 0 && Array.isArray(y == null ? void 0 : y.contents)) {
|
|
140
140
|
const u = await ((i = y == null ? void 0 : y.contents) == null ? void 0 : i.map(async (t, D) => {
|
|
141
141
|
var b, ie, H, ve, ee, se, te, we, ye, J, e, r, m;
|
|
142
142
|
if ((t == null ? void 0 : t.label) !== "") {
|
|
143
|
-
let v = (t == null ? void 0 : t.label) ?? (t == null ? void 0 : t.key) ?? "", C = (t == null ? void 0 : t.type) ?? "",
|
|
143
|
+
let v = (t == null ? void 0 : t.label) ?? (t == null ? void 0 : t.key) ?? "", C = (t == null ? void 0 : t.type) ?? "", U = (t == null ? void 0 : t.options) ?? [];
|
|
144
144
|
if ((b = t == null ? void 0 : t.key) != null && b.includes("$") && (v = (ie = l(t == null ? void 0 : t.key).split("$")) == null ? void 0 : ie[0], ((ve = (H = l(t == null ? void 0 : t.key).split("$")) == null ? void 0 : H[1]) == null ? void 0 : ve.length) > 0)) {
|
|
145
145
|
const [ge, _e] = (se = (ee = l(t == null ? void 0 : t.key).split("$")) == null ? void 0 : ee[1]) == null ? void 0 : se.split(/[()]/);
|
|
146
|
-
C = ((te = Da.find((Ce) => (Ce == null ? void 0 : Ce.key) === ge)) == null ? void 0 : te.value) ?? "", ((we = _e == null ? void 0 : _e.split(",")) == null ? void 0 : we.length) > 0 && (
|
|
146
|
+
C = ((te = Da.find((Ce) => (Ce == null ? void 0 : Ce.key) === ge)) == null ? void 0 : te.value) ?? "", ((we = _e == null ? void 0 : _e.split(",")) == null ? void 0 : we.length) > 0 && (U = (ye = _e == null ? void 0 : _e.split(",")) == null ? void 0 : ye.map((Ce) => ({
|
|
147
147
|
label: Ce,
|
|
148
148
|
value: Ce
|
|
149
149
|
})));
|
|
@@ -153,14 +153,14 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
153
153
|
label: ge,
|
|
154
154
|
value: ge
|
|
155
155
|
})));
|
|
156
|
-
let
|
|
156
|
+
let V = await Za((r = l(t)) == null ? void 0 : r.optionUrl);
|
|
157
157
|
return {
|
|
158
158
|
label: v ?? "",
|
|
159
159
|
name: "t" + D,
|
|
160
|
-
type:
|
|
161
|
-
value:
|
|
160
|
+
type: V !== void 0 || C === "" ? "Input" : C,
|
|
161
|
+
value: V !== void 0 && !(t != null && t.value) ? V : t != null && t.originalContent && (t == null ? void 0 : t.originalContent) !== "" ? t.originalContent : t != null && t.value ? t.value : (U == null ? void 0 : U.length) > 0 ? (m = U == null ? void 0 : U[0]) == null ? void 0 : m.value : (t == null ? void 0 : t.value) ?? "",
|
|
162
162
|
id: (t == null ? void 0 : t.id) ?? D,
|
|
163
|
-
contents: (le == null ? void 0 : le.length) > 0 ? le :
|
|
163
|
+
contents: (le == null ? void 0 : le.length) > 0 ? le : U ?? [],
|
|
164
164
|
width: (t == null ? void 0 : t.width) ?? 1,
|
|
165
165
|
config: t == null ? void 0 : t.config,
|
|
166
166
|
optionUrl: (t == null ? void 0 : t.optionUrl) ?? t,
|
|
@@ -206,8 +206,8 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
206
206
|
var D, b, ie, H, ve, ee, se, te, we, ye, J, e, r;
|
|
207
207
|
if ((b = (D = t == null ? void 0 : t.value) == null ? void 0 : D.toString()) != null && b.includes(".stl") || (H = (ie = t == null ? void 0 : t.value) == null ? void 0 : ie.toString()) != null && H.includes(".STL") || (ee = (ve = t == null ? void 0 : t.value) == null ? void 0 : ve.toString()) != null && ee.includes(".obj") || (te = (se = t == null ? void 0 : t.value) == null ? void 0 : se.toString()) != null && te.includes(".mtl") || (ye = (we = t == null ? void 0 : t.value) == null ? void 0 : we.toString()) != null && ye.includes(".urdf")) {
|
|
208
208
|
let m = {}, v = [], C;
|
|
209
|
-
Array.isArray(t == null ? void 0 : t.value) ? C = t == null ? void 0 : t.value : C = (J = t == null ? void 0 : t.value) == null ? void 0 : J.split(","), C == null || C.forEach((
|
|
210
|
-
|
|
209
|
+
Array.isArray(t == null ? void 0 : t.value) ? C = t == null ? void 0 : t.value : C = (J = t == null ? void 0 : t.value) == null ? void 0 : J.split(","), C == null || C.forEach((U) => {
|
|
210
|
+
U.includes(".mtl") ? v.push(U) : m.blob = m.blob === "undefined" ? U : m.blob + "," + U;
|
|
211
211
|
}), (v == null ? void 0 : v.length) > 0 && (m.mtlBlobs = v), (r = (e = Object.values(m)) == null ? void 0 : e[0]) != null && r.includes("http:");
|
|
212
212
|
}
|
|
213
213
|
});
|
|
@@ -764,12 +764,12 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
764
764
|
contents: C == null ? void 0 : C.options
|
|
765
765
|
});
|
|
766
766
|
}), d.value = e, _.value = e;
|
|
767
|
-
},
|
|
767
|
+
}, N = (e) => {
|
|
768
768
|
e || (d.value = _.value);
|
|
769
769
|
}, ae = async (e) => {
|
|
770
|
-
var r, m, v, C,
|
|
770
|
+
var r, m, v, C, U, le, V, G, ge, _e, Ce, he;
|
|
771
771
|
if ((e == null ? void 0 : e.类型) !== ((m = (r = _.value) == null ? void 0 : r.find((ne) => (ne == null ? void 0 : ne.label) === "类型")) == null ? void 0 : m.value)) {
|
|
772
|
-
let ne = [], Ie = await ((
|
|
772
|
+
let ne = [], Ie = await ((U = (C = (v = Ve) == null ? void 0 : v.find((be) => (be == null ? void 0 : be.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : C.value) == null ? void 0 : U.value) ? await ((_e = (ge = (G = Ve) == null ? void 0 : G.find((be) => (be == null ? void 0 : be.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : ge.value) == null ? void 0 : _e.value) : (V = (le = Ve) == null ? void 0 : le.find((be) => (be == null ? void 0 : be.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : V.value;
|
|
773
773
|
if (Ie == null || Ie.forEach((be) => {
|
|
774
774
|
a.value++, ne.push({
|
|
775
775
|
label: be == null ? void 0 : be.label,
|
|
@@ -795,10 +795,10 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
795
795
|
}, i = async (e) => {
|
|
796
796
|
await ae(e), d.value = _.value;
|
|
797
797
|
}, E = async (e) => {
|
|
798
|
-
var v, C,
|
|
798
|
+
var v, C, U, le, V, G, ge, _e, Ce;
|
|
799
799
|
P.value = !0;
|
|
800
800
|
let r = [];
|
|
801
|
-
const m = await ((
|
|
801
|
+
const m = await ((U = (C = (v = Ve) == null ? void 0 : v.find((he) => (he == null ? void 0 : he.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : C.value) == null ? void 0 : U.value) ? await ((_e = (ge = (G = Ve) == null ? void 0 : G.find((he) => (he == null ? void 0 : he.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : ge.value) == null ? void 0 : _e.value) : (V = (le = Ve) == null ? void 0 : le.find((he) => (he == null ? void 0 : he.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : V.value;
|
|
802
802
|
if (m == null || m.forEach((he) => {
|
|
803
803
|
a.value++, r.push({
|
|
804
804
|
label: he == null ? void 0 : he.label,
|
|
@@ -831,17 +831,17 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
831
831
|
}, o = () => {
|
|
832
832
|
P.value = !1, d.value = [], X.value = "";
|
|
833
833
|
}, x = async () => {
|
|
834
|
-
var v, C,
|
|
834
|
+
var v, C, U, le, V, G, ge, _e, Ce, he;
|
|
835
835
|
d.value = _.value;
|
|
836
836
|
let e = {};
|
|
837
837
|
X.value !== "" ? e.id = X.value : (a.value++, e.id = "id" + a.value);
|
|
838
|
-
let r = await ((
|
|
838
|
+
let r = await ((U = (C = (v = Ve) == null ? void 0 : v.find((ne) => {
|
|
839
839
|
var Ie, be;
|
|
840
840
|
return (ne == null ? void 0 : ne.key) === (((be = (Ie = d.value) == null ? void 0 : Ie.find(($e) => ($e == null ? void 0 : $e.label) === "类型")) == null ? void 0 : be.value) ?? "label");
|
|
841
|
-
})) == null ? void 0 : C.value) == null ? void 0 :
|
|
841
|
+
})) == null ? void 0 : C.value) == null ? void 0 : U.value) ?? ((V = (le = Ve) == null ? void 0 : le.find((ne) => {
|
|
842
842
|
var Ie, be;
|
|
843
843
|
return (ne == null ? void 0 : ne.key) === (((be = (Ie = d.value) == null ? void 0 : Ie.find(($e) => ($e == null ? void 0 : $e.label) === "类型")) == null ? void 0 : be.value) ?? "label");
|
|
844
|
-
})) == null ? void 0 :
|
|
844
|
+
})) == null ? void 0 : V.value);
|
|
845
845
|
if ((G = d.value) == null || G.forEach((ne) => {
|
|
846
846
|
const Ie = r == null ? void 0 : r.find((be) => (be == null ? void 0 : be.label) === (ne == null ? void 0 : ne.label));
|
|
847
847
|
Ie && (e[Ie.key] = ne.value);
|
|
@@ -899,21 +899,21 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
899
899
|
).catch(() => {
|
|
900
900
|
});
|
|
901
901
|
}, u = () => {
|
|
902
|
-
var m, v, C,
|
|
902
|
+
var m, v, C, U, le;
|
|
903
903
|
c.value = h.value;
|
|
904
904
|
let e = {};
|
|
905
|
-
if (X.value !== "" ? e.id = X.value : (a.value++, e.id = "id" + a.value), (m = c.value) == null || m.forEach((
|
|
906
|
-
const G = cl == null ? void 0 : cl.find((ge) => (ge == null ? void 0 : ge.label) === (
|
|
907
|
-
G ? e[G.key] =
|
|
908
|
-
}), (v = de.value) != null && v.find((
|
|
909
|
-
de.value = (C = de.value) == null ? void 0 : C.map((
|
|
905
|
+
if (X.value !== "" ? e.id = X.value : (a.value++, e.id = "id" + a.value), (m = c.value) == null || m.forEach((V) => {
|
|
906
|
+
const G = cl == null ? void 0 : cl.find((ge) => (ge == null ? void 0 : ge.label) === (V == null ? void 0 : V.label));
|
|
907
|
+
G ? e[G.key] = V.value : V != null && V.children && V.children.length > 0 && (e.children = V.children);
|
|
908
|
+
}), (v = de.value) != null && v.find((V) => V.id === e.id))
|
|
909
|
+
de.value = (C = de.value) == null ? void 0 : C.map((V) => (V.id === e.id && (V = e), V));
|
|
910
910
|
else {
|
|
911
|
-
let
|
|
912
|
-
|
|
911
|
+
let V = l(de.value) ?? [];
|
|
912
|
+
V.push(e), de.value = V;
|
|
913
913
|
}
|
|
914
914
|
W.value = !1, X.value = "";
|
|
915
915
|
let r = l(n.originalItemContents);
|
|
916
|
-
(
|
|
916
|
+
(U = l(n.originalItemContents)) != null && U.find((V) => (V == null ? void 0 : V.key) === "extraButton") ? r = (le = l(n.originalItemContents)) == null ? void 0 : le.map((V) => ((V == null ? void 0 : V.key) === "extraButton" && (V.contents = de.value), V)) : r.push({
|
|
917
917
|
key: "extraButton",
|
|
918
918
|
contents: de.value
|
|
919
919
|
}), s("change", r);
|
|
@@ -980,21 +980,21 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
980
980
|
let r = l(y.value);
|
|
981
981
|
r = r == null ? void 0 : r.map((m) => (m.children || (m.value = e == null ? void 0 : e[m.name]), m)), y.value = r;
|
|
982
982
|
}, b = () => {
|
|
983
|
-
var m, v, C,
|
|
983
|
+
var m, v, C, U, le;
|
|
984
984
|
A.value = y.value;
|
|
985
985
|
let e = {};
|
|
986
|
-
if (X.value !== "" ? e.id = X.value : (a.value++, e.id = "id" + a.value), (m = A.value) == null || m.forEach((
|
|
987
|
-
const G = tl == null ? void 0 : tl.find((ge) => (ge == null ? void 0 : ge.label) === (
|
|
988
|
-
G ? e[G.key] =
|
|
989
|
-
}), (v = ue.value) != null && v.find((
|
|
990
|
-
ue.value = (C = ue.value) == null ? void 0 : C.map((
|
|
986
|
+
if (X.value !== "" ? e.id = X.value : (a.value++, e.id = "id" + a.value), (m = A.value) == null || m.forEach((V) => {
|
|
987
|
+
const G = tl == null ? void 0 : tl.find((ge) => (ge == null ? void 0 : ge.label) === (V == null ? void 0 : V.label));
|
|
988
|
+
G ? e[G.key] = V.value : V != null && V.children && V.children.length > 0 && (e.children = V.children);
|
|
989
|
+
}), (v = ue.value) != null && v.find((V) => V.id === e.id))
|
|
990
|
+
ue.value = (C = ue.value) == null ? void 0 : C.map((V) => (V.id === e.id && (V = e), V));
|
|
991
991
|
else {
|
|
992
|
-
let
|
|
993
|
-
|
|
992
|
+
let V = l(ue.value);
|
|
993
|
+
V.push(e), ue.value = V;
|
|
994
994
|
}
|
|
995
995
|
L.value = !1, X.value = "";
|
|
996
996
|
let r = l(n.originalItemContents);
|
|
997
|
-
(
|
|
997
|
+
(U = l(n.originalItemContents)) != null && U.find((V) => (V == null ? void 0 : V.key) === "rowButton") ? r = (le = l(n.originalItemContents)) == null ? void 0 : le.map((V) => ((V == null ? void 0 : V.key) === "rowButton" && (V.contents = ue.value), V)) : r.push({
|
|
998
998
|
key: "rowButton",
|
|
999
999
|
contents: ue.value
|
|
1000
1000
|
}), s("change", r);
|
|
@@ -1021,9 +1021,9 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1021
1021
|
}));
|
|
1022
1022
|
}, ee = (e) => {
|
|
1023
1023
|
var m, v, C;
|
|
1024
|
-
e.type === "fix" ? e.id !== "" ? w.value = Ra(w.value, e) : w.value = La(w.value, e == null ? void 0 : e.contents) : w.value = Pa(w.value, e), w.value = (m = w.value) != null && m.some((
|
|
1024
|
+
e.type === "fix" ? e.id !== "" ? w.value = Ra(w.value, e) : w.value = La(w.value, e == null ? void 0 : e.contents) : w.value = Pa(w.value, e), w.value = (m = w.value) != null && m.some((U) => U == null ? void 0 : U.children) ? [w.value] : w.value, X.value = "";
|
|
1025
1025
|
let r = l(n.originalItemContents);
|
|
1026
|
-
(v = l(n.originalItemContents)) != null && v.find((
|
|
1026
|
+
(v = l(n.originalItemContents)) != null && v.find((U) => (U == null ? void 0 : U.key) === "header") ? r = (C = l(n.originalItemContents)) == null ? void 0 : C.map((U) => ((U == null ? void 0 : U.key) === "header" && (U.contents = w.value), U)) : r.push({
|
|
1027
1027
|
key: "header",
|
|
1028
1028
|
contents: w.value
|
|
1029
1029
|
}), s("change", r);
|
|
@@ -1050,7 +1050,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1050
1050
|
}, we = () => {
|
|
1051
1051
|
S.value = !1, X.value = "", pe.value = "", Q.value = [];
|
|
1052
1052
|
}, ye = () => {
|
|
1053
|
-
var m, v, C,
|
|
1053
|
+
var m, v, C, U, le, V;
|
|
1054
1054
|
K.value = Q.value;
|
|
1055
1055
|
let e = {};
|
|
1056
1056
|
if (X.value !== "" ? e.id = X.value : (a.value++, e.id = "id" + a.value), (m = K.value) == null || m.forEach((G) => {
|
|
@@ -1062,9 +1062,9 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1062
1062
|
let G = l(w.value) ?? [];
|
|
1063
1063
|
pe.value === "" ? G.push(e) : G = G == null ? void 0 : G.map((ge) => (ge.id === pe.value && (ge.children || (ge.children = []), ge.children.push(e)), ge)), w.value = G;
|
|
1064
1064
|
}
|
|
1065
|
-
w.value = (
|
|
1065
|
+
w.value = (U = w.value) != null && U.some((G) => G == null ? void 0 : G.children) ? [w.value] : w.value, S.value = !1, X.value = "", pe.value = "";
|
|
1066
1066
|
let r = l(n.originalItemContents);
|
|
1067
|
-
(le = l(n.originalItemContents)) != null && le.find((G) => (G == null ? void 0 : G.key) === "header") ? r = (
|
|
1067
|
+
(le = l(n.originalItemContents)) != null && le.find((G) => (G == null ? void 0 : G.key) === "header") ? r = (V = l(n.originalItemContents)) == null ? void 0 : V.map((G) => ((G == null ? void 0 : G.key) === "header" && (G.contents = w.value), G)) : r.push({
|
|
1068
1068
|
key: "header",
|
|
1069
1069
|
contents: w.value
|
|
1070
1070
|
}), s("change", r);
|
|
@@ -1078,7 +1078,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1078
1078
|
var r, m;
|
|
1079
1079
|
w.value = (r = l(w.value)) == null ? void 0 : r.filter((v) => (v == null ? void 0 : v.id) !== (e == null ? void 0 : e.id)), s("change", (m = l(n.originalItemContents)) == null ? void 0 : m.map((v) => {
|
|
1080
1080
|
var C;
|
|
1081
|
-
return (v == null ? void 0 : v.key) === "header" && (v.contents = (C = w.value) != null && C.some((
|
|
1081
|
+
return (v == null ? void 0 : v.key) === "header" && (v.contents = (C = w.value) != null && C.some((U) => U == null ? void 0 : U.children) ? [w.value] : w.value), v;
|
|
1082
1082
|
})), ll({
|
|
1083
1083
|
type: "success",
|
|
1084
1084
|
message: "删除成功"
|
|
@@ -1090,9 +1090,9 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1090
1090
|
return Ne(
|
|
1091
1091
|
() => n.originalItemContents,
|
|
1092
1092
|
() => {
|
|
1093
|
-
var e, r, m, v, C,
|
|
1093
|
+
var e, r, m, v, C, U, le, V, G, ge, _e, Ce, he, ne, Ie, be, $e, We, ze;
|
|
1094
1094
|
if (!(!n.originalItemContents || n.originalItemContents.length === 0))
|
|
1095
|
-
if (f.value = l(n.originalItemContents), w.value = (r = (e = f.value) == null ? void 0 : e.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : r.contents, ue.value = (v = (m = f.value) == null ? void 0 : m.find((R) => (R == null ? void 0 : R.key) === "rowButton")) == null ? void 0 : v.contents, de.value = (
|
|
1095
|
+
if (f.value = l(n.originalItemContents), w.value = (r = (e = f.value) == null ? void 0 : e.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : r.contents, ue.value = (v = (m = f.value) == null ? void 0 : m.find((R) => (R == null ? void 0 : R.key) === "rowButton")) == null ? void 0 : v.contents, de.value = (U = (C = f.value) == null ? void 0 : C.find((R) => (R == null ? void 0 : R.key) === "extraButton")) == null ? void 0 : U.contents, T.value = (V = (le = f.value) == null ? void 0 : le.find((R) => (R == null ? void 0 : R.key) === "page")) != null && V.contents ? !!((ge = (G = f.value) == null ? void 0 : G.find((R) => (R == null ? void 0 : R.key) === "page")) != null && ge.contents) : !1, O.value = (Ce = (_e = f.value) == null ? void 0 : _e.find((R) => (R == null ? void 0 : R.key) === "tableToForm")) == null ? void 0 : Ce.contents, w.value = (he = w.value) == null ? void 0 : he.map((R, Le) => (Array.isArray(R) ? R = ys(R) : R = {
|
|
1096
1096
|
label: (R == null ? void 0 : R.label) ?? "",
|
|
1097
1097
|
prop: (R == null ? void 0 : R.label) === "操作" ? "operate" : R == null ? void 0 : R.prop,
|
|
1098
1098
|
width: R != null && R.width ? parseInt(R.width) : "",
|
|
@@ -1161,7 +1161,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1161
1161
|
})
|
|
1162
1162
|
]),
|
|
1163
1163
|
I("div", Us, [
|
|
1164
|
-
(Y(!0), fe(Te, null, Oe(w.value, (C,
|
|
1164
|
+
(Y(!0), fe(Te, null, Oe(w.value, (C, U) => (Y(), fe("div", { key: U }, [
|
|
1165
1165
|
I("div", Ks, [
|
|
1166
1166
|
I("div", Ws, ke(C == null ? void 0 : C.label), 1),
|
|
1167
1167
|
I("div", zs, [
|
|
@@ -1215,7 +1215,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1215
1215
|
})
|
|
1216
1216
|
]),
|
|
1217
1217
|
I("div", Gs, [
|
|
1218
|
-
(Y(!0), fe(Te, null, Oe(ue.value, (C,
|
|
1218
|
+
(Y(!0), fe(Te, null, Oe(ue.value, (C, U) => (Y(), fe("div", { key: U }, [
|
|
1219
1219
|
I("div", Hs, [
|
|
1220
1220
|
I("div", qs, ke(C == null ? void 0 : C.label), 1),
|
|
1221
1221
|
I("div", Qs, [
|
|
@@ -1256,7 +1256,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1256
1256
|
})
|
|
1257
1257
|
]),
|
|
1258
1258
|
I("div", Ys, [
|
|
1259
|
-
(Y(!0), fe(Te, null, Oe(de.value, (C,
|
|
1259
|
+
(Y(!0), fe(Te, null, Oe(de.value, (C, U) => (Y(), fe("div", { key: U }, [
|
|
1260
1260
|
I("div", Zs, [
|
|
1261
1261
|
I("div", ei, ke(C == null ? void 0 : C.label), 1),
|
|
1262
1262
|
I("div", li, [
|
|
@@ -1297,7 +1297,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1297
1297
|
})
|
|
1298
1298
|
]),
|
|
1299
1299
|
I("div", si, [
|
|
1300
|
-
(Y(!0), fe(Te, null, Oe(O.value, (C,
|
|
1300
|
+
(Y(!0), fe(Te, null, Oe(O.value, (C, U) => (Y(), fe("div", { key: U }, [
|
|
1301
1301
|
I("div", ii, [
|
|
1302
1302
|
I("div", ni, ke(C == null ? void 0 : C.label), 1),
|
|
1303
1303
|
I("div", oi, [
|
|
@@ -1471,7 +1471,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1471
1471
|
key: d.value,
|
|
1472
1472
|
isEnableWrap: !0,
|
|
1473
1473
|
onChange: ae,
|
|
1474
|
-
onChangeVisible:
|
|
1474
|
+
onChangeVisible: N,
|
|
1475
1475
|
onBlurChange: i
|
|
1476
1476
|
}, null, 8, ["rowContents"]))
|
|
1477
1477
|
])
|
|
@@ -1681,7 +1681,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1681
1681
|
i || (S.value = P.value);
|
|
1682
1682
|
}, oe = async (i) => {
|
|
1683
1683
|
await O(i), S.value = P.value;
|
|
1684
|
-
},
|
|
1684
|
+
}, N = async () => {
|
|
1685
1685
|
var o, x, Z, j, u, k, $, q, me, re, t, D;
|
|
1686
1686
|
S.value = P.value;
|
|
1687
1687
|
let i = {};
|
|
@@ -1858,7 +1858,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1858
1858
|
}),
|
|
1859
1859
|
M(o, {
|
|
1860
1860
|
class: "ok-button button",
|
|
1861
|
-
onClick:
|
|
1861
|
+
onClick: N,
|
|
1862
1862
|
id: "themeButton"
|
|
1863
1863
|
}, {
|
|
1864
1864
|
default: ce(() => E[8] || (E[8] = [
|
|
@@ -2509,8 +2509,8 @@ const Hi = /* @__PURE__ */ je(Ji, [["render", Gi]]), qi = { class: "extra-conten
|
|
|
2509
2509
|
let _ = {};
|
|
2510
2510
|
((O = c == null ? void 0 : c[0]) == null ? void 0 : O.contents) === "详情" && (w.value = !0, _[h] = c, S.value = c == null ? void 0 : c.filter((B) => (B == null ? void 0 : B.key) !== "tableContentName"), L.value = _, K.value = a, T.value = d.id);
|
|
2511
2511
|
}, X = (c) => {
|
|
2512
|
-
var B, oe,
|
|
2513
|
-
const h = (oe = (B = Object.values(l(L.value))) == null ? void 0 : B[0]) == null ? void 0 : oe.filter((i) => (i == null ? void 0 : i.key) === "tableContentName"), a = (ae = (
|
|
2512
|
+
var B, oe, N, ae;
|
|
2513
|
+
const h = (oe = (B = Object.values(l(L.value))) == null ? void 0 : B[0]) == null ? void 0 : oe.filter((i) => (i == null ? void 0 : i.key) === "tableContentName"), a = (ae = (N = Object.values(l(L.value))) == null ? void 0 : N[0]) == null ? void 0 : ae.filter((i) => (i == null ? void 0 : i.key) !== "tableContentName"), d = a == null ? void 0 : a.map((i, E) => {
|
|
2514
2514
|
var F;
|
|
2515
2515
|
return E === c.index && (i == null ? void 0 : i.comp) === "Table" && (i.compData = (F = i.compData) == null ? void 0 : F.map((o) => {
|
|
2516
2516
|
var x, Z;
|
|
@@ -2530,8 +2530,8 @@ const Hi = /* @__PURE__ */ je(Ji, [["render", Gi]]), qi = { class: "extra-conten
|
|
|
2530
2530
|
}, pe = () => {
|
|
2531
2531
|
w.value = !1, L.value = {}, K.value = {}, T.value = void 0, s.value++;
|
|
2532
2532
|
}, ue = (c) => {
|
|
2533
|
-
var B, oe,
|
|
2534
|
-
const h = (oe = (B = Object.values(l(L.value))) == null ? void 0 : B[0]) == null ? void 0 : oe.filter((i) => (i == null ? void 0 : i.key) === "tableContentName"), a = (ae = (
|
|
2533
|
+
var B, oe, N, ae;
|
|
2534
|
+
const h = (oe = (B = Object.values(l(L.value))) == null ? void 0 : B[0]) == null ? void 0 : oe.filter((i) => (i == null ? void 0 : i.key) === "tableContentName"), a = (ae = (N = Object.values(l(L.value))) == null ? void 0 : N[0]) == null ? void 0 : ae.filter((i) => (i == null ? void 0 : i.key) !== "tableContentName"), d = a == null ? void 0 : a.map((i, E) => (E === c.index && (i.compData = c.contents), i));
|
|
2535
2535
|
d.unshift(h == null ? void 0 : h[0]);
|
|
2536
2536
|
let _ = l(L.value), O = {};
|
|
2537
2537
|
for (let i in _)
|
|
@@ -2619,7 +2619,7 @@ const Hi = /* @__PURE__ */ je(Ji, [["render", Gi]]), qi = { class: "extra-conten
|
|
|
2619
2619
|
};
|
|
2620
2620
|
}
|
|
2621
2621
|
}, en = /* @__PURE__ */ je(Zi, [["__scopeId", "data-v-2d9c5ab2"]]), Xl = (p) => {
|
|
2622
|
-
var w, L, K, T, Q, X, pe, ue, de, A, y, W, c, h, a, d, _, O, B, oe,
|
|
2622
|
+
var w, L, K, T, Q, X, pe, ue, de, A, y, W, c, h, a, d, _, O, B, oe, N, ae, i, E;
|
|
2623
2623
|
const g = Zl(p) ? (w = nl(l(p))) == null ? void 0 : w[0] : "[]", n = Zl(p) ? "[" + ((L = nl(l(p))) == null ? void 0 : L[2]) + "]" : "[" + p + "]";
|
|
2624
2624
|
let s = [], f = [], S = "";
|
|
2625
2625
|
const P = (T = (K = n == null ? void 0 : n.trim()) == null ? void 0 : K.slice(1, (n == null ? void 0 : n.trim().length) - 1)) == null ? void 0 : T.replaceAll("'", '"');
|
|
@@ -2641,7 +2641,7 @@ const Hi = /* @__PURE__ */ je(Ji, [["render", Gi]]), qi = { class: "extra-conten
|
|
|
2641
2641
|
}
|
|
2642
2642
|
}), f = F;
|
|
2643
2643
|
else {
|
|
2644
|
-
const o = ((ae = (
|
|
2644
|
+
const o = ((ae = (N = (oe = (B = g == null ? void 0 : g.slice(1, g == null ? void 0 : g.length)) == null ? void 0 : B.split("(")) == null ? void 0 : oe[1]) == null ? void 0 : N.split(")")) == null ? void 0 : ae[0]).replaceAll("{", "").replaceAll("}", "").replaceAll(":", "/").replaceAll("'", "");
|
|
2645
2645
|
S = S + o + "[" + ((E = (i = g == null ? void 0 : g.slice(1, (g == null ? void 0 : g.length) - 1)) == null ? void 0 : i.split("[")) == null ? void 0 : E[1]);
|
|
2646
2646
|
}
|
|
2647
2647
|
}
|
|
@@ -2667,7 +2667,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2667
2667
|
S++, P.includes("{") || f.includes("{") || P.includes("[") || f.includes("[") || P.includes("【") || f.includes("【") || P.includes("(") || f.includes("(") || P.includes("(") || f.includes("(") || P.includes("/*") || f.includes("/*") ? (f += P.trim(), l(f).split("{").length - 1 === l(f).split("}").length - 1 && l(f).split("【").length - 1 === l(f).split("】").length - 1 && l(f).split("[").length - 1 === l(f).split("]").length - 1 && l(f).split("(").length - 1 === l(f).split(")").length - 1 && l(f).split("(").length - 1 === l(f).split(")").length - 1 && l(f).split("/*").length - 1 === l(f).split("*/").length - 1 && f[f.length - 1] !== "," && f[f.length - 1] === g ? (s.push(f.replace(/\/\*[\s\S]*?\*\//g, "")), f = "") : S === (p == null ? void 0 : p.length) && s.push(f.replace(/\/\*[\s\S]*?\*\//g, ""))) : (f += P.trim(), (f == null ? void 0 : f[(f == null ? void 0 : f.length) - 1]) === g && (s.push(f.replace(/\/\*[\s\S]*?\*\//g, "")), f = ""));
|
|
2668
2668
|
return s;
|
|
2669
2669
|
}, Zl = (p) => /^\[.*?\]:\[.*?\]$/.exec(l(p)), sn = (p) => {
|
|
2670
|
-
var g, n, s, f, S, P, w, L, K, T, Q, X, pe, ue, de, A, y, W, c, h, a, d, _, O, B, oe,
|
|
2670
|
+
var g, n, s, f, S, P, w, L, K, T, Q, X, pe, ue, de, A, y, W, c, h, a, d, _, O, B, oe, N, ae, i, E, F, o, x, Z, j, u, k, $, q, me, re, t, D, b, ie, H, ve, ee, se;
|
|
2671
2671
|
if (an(p)) {
|
|
2672
2672
|
let te = {}, we = (s = (n = (g = p == null ? void 0 : p.replace(":", De)) == null ? void 0 : g.split(De)) == null ? void 0 : n[0]) == null ? void 0 : s.replaceAll("'", ""), ye = "", J = (S = (f = p == null ? void 0 : p.replace(":", De)) == null ? void 0 : f.split(De)) == null ? void 0 : S[1];
|
|
2673
2673
|
return J.includes("{") || J.includes("(") ? (J.includes("{") ? ye = ye + ((K = (L = (w = (P = J == null ? void 0 : J.split("{")) == null ? void 0 : P[1]) == null ? void 0 : w.split("}")) == null ? void 0 : L[0]) == null ? void 0 : K.replace(":", "/").replaceAll("'", "")) + "[" : ye = ye + ((pe = (X = (Q = (T = J == null ? void 0 : J.split("(")) == null ? void 0 : T[1]) == null ? void 0 : Q.split(")")) == null ? void 0 : X[0]) == null ? void 0 : pe.replace(":", "/").replaceAll("'", "")) + "[", ye = ye + ((A = (de = (ue = J == null ? void 0 : J.split("[")) == null ? void 0 : ue[1]) == null ? void 0 : de.split("]")) == null ? void 0 : A[0]) + "]") : ye = (c = (W = (y = p == null ? void 0 : p.replace(":", De)) == null ? void 0 : y.split(De)) == null ? void 0 : W[1]) == null ? void 0 : c.replaceAll("'", ""), te[we] = ye, {
|
|
@@ -2679,7 +2679,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2679
2679
|
if (p.includes("#")) {
|
|
2680
2680
|
we = (a = (h = p == null ? void 0 : p.split("#")) == null ? void 0 : h[0]) == null ? void 0 : a.replaceAll("'", "");
|
|
2681
2681
|
let J = (_ = (d = p == null ? void 0 : p.split("#")) == null ? void 0 : d[1]) == null ? void 0 : _.replaceAll("'", "");
|
|
2682
|
-
J != null && J.includes("{") ? ye = ye + ((
|
|
2682
|
+
J != null && J.includes("{") ? ye = ye + ((N = (oe = (B = (O = J == null ? void 0 : J.split("{")) == null ? void 0 : O[1]) == null ? void 0 : B.split("}")) == null ? void 0 : oe[0]) == null ? void 0 : N.replaceAll(":", "/").replaceAll("'", "")) + "[" : ye = ye + ((F = (E = (i = (ae = J == null ? void 0 : J.split("(")) == null ? void 0 : ae[1]) == null ? void 0 : i.split(")")) == null ? void 0 : E[0]) == null ? void 0 : F.replaceAll(":", "/").replaceAll("'", "")) + "[", ye = ye + ((Z = (x = (o = J == null ? void 0 : J.split("[")) == null ? void 0 : o[1]) == null ? void 0 : x.split("]")) == null ? void 0 : Z[0]) + "]";
|
|
2683
2683
|
} else {
|
|
2684
2684
|
let J = (k = (u = (j = p == null ? void 0 : p.split("]")) == null ? void 0 : j[0]) == null ? void 0 : u.split("[")) == null ? void 0 : k[1];
|
|
2685
2685
|
if (($ = J == null ? void 0 : J.split(":")) == null || $.forEach((e, r) => {
|
|
@@ -2714,7 +2714,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2714
2714
|
});
|
|
2715
2715
|
let s = [], f = [];
|
|
2716
2716
|
return n == null || n.forEach((T) => {
|
|
2717
|
-
var pe, ue, de, A, y, W, c, h, a, d, _, O, B, oe,
|
|
2717
|
+
var pe, ue, de, A, y, W, c, h, a, d, _, O, B, oe, N, ae, i, E, F, o, x, Z, j, u, k, $, q, me, re, t, D, b;
|
|
2718
2718
|
let Q = (ue = (pe = l(T)) == null ? void 0 : pe.slice(1, l(T).length - 1)) == null ? void 0 : ue.replace(":", De).split(De);
|
|
2719
2719
|
if (((A = (de = l(Q)) == null ? void 0 : de[0]) == null ? void 0 : A.replaceAll("'", "")) === "输入") {
|
|
2720
2720
|
if (!((W = (y = l(Q)) == null ? void 0 : y[1]) != null && W.includes("[")) && !((h = (c = l(Q)) == null ? void 0 : c[1]) != null && h.includes("("))) {
|
|
@@ -2722,11 +2722,11 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2722
2722
|
return;
|
|
2723
2723
|
}
|
|
2724
2724
|
if (((O = (_ = l(Q)) == null ? void 0 : _[1]) == null ? void 0 : O[0]) === "[") {
|
|
2725
|
-
let ie = (ae = (B = l(Q)) == null ? void 0 : B[1]) == null ? void 0 : ae.slice(1, ((
|
|
2725
|
+
let ie = (ae = (B = l(Q)) == null ? void 0 : B[1]) == null ? void 0 : ae.slice(1, ((N = (oe = l(Q)) == null ? void 0 : oe[1]) == null ? void 0 : N.length) - 1);
|
|
2726
2726
|
(E = (i = nl(ie)) == null ? void 0 : i.filter((H) => H !== ",")) == null || E.forEach((H) => {
|
|
2727
|
-
var we, ye, J, e, r, m, v, C,
|
|
2727
|
+
var we, ye, J, e, r, m, v, C, U, le, V, G, ge, _e, Ce, he, ne, Ie, be, $e, We, ze;
|
|
2728
2728
|
let ve = {}, ee = (J = (ye = l(H)) == null ? void 0 : ye.slice(1, ((we = l(H)) == null ? void 0 : we.length) - 1)) == null ? void 0 : J.replace(":", De).split(De), se = (e = ee == null ? void 0 : ee[0]) == null ? void 0 : e.replaceAll("'", ""), te;
|
|
2729
|
-
(r = ee == null ? void 0 : ee[1]) != null && r.includes("(") ? (te = (_e = (ge = (G = (
|
|
2729
|
+
(r = ee == null ? void 0 : ee[1]) != null && r.includes("(") ? (te = (_e = (ge = (G = (V = (le = (U = (C = (v = l(ee)) == null ? void 0 : v[1]) == null ? void 0 : C.replaceAll("{", "")) == null ? void 0 : U.replaceAll("}", "")) == null ? void 0 : le.split("(")) == null ? void 0 : V[1]) == null ? void 0 : G.split(")")) == null ? void 0 : ge[0]) == null ? void 0 : _e.replaceAll(":", "/").replaceAll("'", ""), (he = (Ce = l(ee)) == null ? void 0 : Ce[1]) != null && he.includes("[") && (te = l(te) + "[" + ((ze = (We = ($e = (be = (Ie = (ne = l(ee)) == null ? void 0 : ne[1]) == null ? void 0 : Ie.split("[")) == null ? void 0 : be[1]) == null ? void 0 : $e.split("]")) == null ? void 0 : We[0]) == null ? void 0 : ze.replaceAll("'", "")) + "]")) : te = (m = ee == null ? void 0 : ee[1]) == null ? void 0 : m.replaceAll("'", ""), ve[se] = te, f.push(ve);
|
|
2730
2730
|
});
|
|
2731
2731
|
}
|
|
2732
2732
|
} else {
|
|
@@ -2737,11 +2737,11 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2737
2737
|
if ((($ = (k = l(Q)) == null ? void 0 : k[1]) == null ? void 0 : $[0]) === "[") {
|
|
2738
2738
|
let ie = (t = (q = l(Q)) == null ? void 0 : q[1]) == null ? void 0 : t.slice(1, ((re = (me = l(Q)) == null ? void 0 : me[1]) == null ? void 0 : re.length) - 1);
|
|
2739
2739
|
(b = (D = nl(ie)) == null ? void 0 : D.filter((H) => H !== ",")) == null || b.forEach((H) => {
|
|
2740
|
-
var we, ye, J, e, r, m, v, C,
|
|
2740
|
+
var we, ye, J, e, r, m, v, C, U, le, V, G, ge, _e, Ce, he, ne, Ie, be, $e, We, ze, R, Le, Re, He, ul, rl, Ue, pl, qe, _l, Cl;
|
|
2741
2741
|
let ve = {}, ee = (J = (ye = l(H)) == null ? void 0 : ye.slice(1, ((we = l(H)) == null ? void 0 : we.length) - 1)) == null ? void 0 : J.replace(":", De).split(De), se = (e = ee == null ? void 0 : ee[0]) == null ? void 0 : e.replaceAll("'", ""), te;
|
|
2742
2742
|
if (!((r = ee == null ? void 0 : ee[1]) != null && r.includes("(")))
|
|
2743
2743
|
te = (m = ee == null ? void 0 : ee[1]) == null ? void 0 : m.replaceAll("'", "");
|
|
2744
|
-
else if (te = (G = (
|
|
2744
|
+
else if (te = (G = (V = (le = (U = (C = (v = l(ee)) == null ? void 0 : v[1]) == null ? void 0 : C.replaceAll("{", "")) == null ? void 0 : U.replaceAll("}", "")) == null ? void 0 : le.replace("(", De)) == null ? void 0 : V.split(De)) == null ? void 0 : G[1], te = (_e = (ge = on(l(te), De)) == null ? void 0 : ge.split(De)) == null ? void 0 : _e[0], !(te != null && te.includes("(")))
|
|
2745
2745
|
te = (Ce = l(te)) == null ? void 0 : Ce.replaceAll(":", "/").replaceAll("'", ""), (ne = (he = l(ee)) == null ? void 0 : he[1]) != null && ne.includes("[") && (te = l(te) + "[" + ((R = (ze = (We = ($e = (be = (Ie = l(ee)) == null ? void 0 : Ie[1]) == null ? void 0 : be.split("[")) == null ? void 0 : $e[1]) == null ? void 0 : We.split("]")) == null ? void 0 : ze[0]) == null ? void 0 : R.replaceAll("'", "")) + "]");
|
|
2746
2746
|
else {
|
|
2747
2747
|
let Qe = "";
|
|
@@ -2764,7 +2764,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2764
2764
|
input: f
|
|
2765
2765
|
};
|
|
2766
2766
|
}, Va = (p) => {
|
|
2767
|
-
var s, f, S, P, w, L, K, T, Q, X, pe, ue, de, A, y, W, c, h, a, d, _, O, B, oe,
|
|
2767
|
+
var s, f, S, P, w, L, K, T, Q, X, pe, ue, de, A, y, W, c, h, a, d, _, O, B, oe, N, ae, i, E, F, o, x, Z, j, u, k, $, q, me, re, t, D, b, ie, H, ve, ee, se, te, we, ye;
|
|
2768
2768
|
let g = "";
|
|
2769
2769
|
p = p.replace(/:([^=]*)==/g, ":");
|
|
2770
2770
|
let n = p;
|
|
@@ -2781,12 +2781,12 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2781
2781
|
let J = l(n).slice(1, ((X = l(n)) == null ? void 0 : X.length) - 1), e = J.indexOf("{"), r = J.slice(e, (J == null ? void 0 : J.length) - e);
|
|
2782
2782
|
return (ue = (pe = nl(r)) == null ? void 0 : pe.filter((v) => v == null ? void 0 : v.includes("{"))) == null ? void 0 : ue.map((v, C) => {
|
|
2783
2783
|
var le;
|
|
2784
|
-
let
|
|
2784
|
+
let U = Xl(l(v).slice(1, ((le = l(v)) == null ? void 0 : le.length) - 1));
|
|
2785
2785
|
return {
|
|
2786
2786
|
groupName: C === 0 ? g : "",
|
|
2787
|
-
tableColumn:
|
|
2788
|
-
tableContents:
|
|
2789
|
-
tableColumnPath:
|
|
2787
|
+
tableColumn: U == null ? void 0 : U.tableColumns,
|
|
2788
|
+
tableContents: U == null ? void 0 : U.tableContents,
|
|
2789
|
+
tableColumnPath: U == null ? void 0 : U.tablePath
|
|
2790
2790
|
};
|
|
2791
2791
|
});
|
|
2792
2792
|
} else {
|
|
@@ -2804,10 +2804,10 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2804
2804
|
J = JSON.parse((y = n.slice(1, (n == null ? void 0 : n.length) - 1)) == null ? void 0 : y.replaceAll("'", '"'));
|
|
2805
2805
|
else if (n.includes("(")) {
|
|
2806
2806
|
if ((n == null ? void 0 : n[0]) !== "{") {
|
|
2807
|
-
let e = (E = (i = (ae = (
|
|
2808
|
-
(k = v == null ? void 0 : v.split("/")) == null || k.forEach((
|
|
2809
|
-
var
|
|
2810
|
-
le !== ((
|
|
2807
|
+
let e = (E = (i = (ae = (N = l(n)) == null ? void 0 : N.split("]")) == null ? void 0 : ae[0]) == null ? void 0 : i.split("[")) == null ? void 0 : E[1], r = "", v = ((u = (j = (Z = (x = (o = (F = l(n)) == null ? void 0 : F.split(")")) == null ? void 0 : o[0]) == null ? void 0 : x.split("(")) == null ? void 0 : Z[1]) == null ? void 0 : j.replaceAll("[", "")) == null ? void 0 : u.replaceAll("]", "")).replaceAll("'", "").replaceAll(":", "/");
|
|
2808
|
+
(k = v == null ? void 0 : v.split("/")) == null || k.forEach((U, le) => {
|
|
2809
|
+
var V;
|
|
2810
|
+
le !== ((V = v == null ? void 0 : v.split("/")) == null ? void 0 : V.length) - 1 && (r = r === "" ? r + U : r + "/" + U);
|
|
2811
2811
|
});
|
|
2812
2812
|
let C;
|
|
2813
2813
|
return ((re = (me = (q = ($ = l(n)) == null ? void 0 : $.replace(",", De)) == null ? void 0 : q.split(De)) == null ? void 0 : me[1]) == null ? void 0 : re[0]) === "[" && (C = un((b = (D = (t = l(n)) == null ? void 0 : t.replace(",", De)) == null ? void 0 : D.split(De)) == null ? void 0 : b[1])), {
|
|
@@ -2820,8 +2820,8 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2820
2820
|
let e = "{" + n + "}", r = (ee = (ve = nl(e)) == null ? void 0 : ve.filter((v) => v !== ",")) == null ? void 0 : ee.map((v) => sn(l(v).slice(1, l(v).length - 1))), m = [];
|
|
2821
2821
|
return (se = l(r)) == null || se.forEach((v) => {
|
|
2822
2822
|
var C;
|
|
2823
|
-
(C = v == null ? void 0 : v.formContents) == null || C.forEach((
|
|
2824
|
-
|
|
2823
|
+
(C = v == null ? void 0 : v.formContents) == null || C.forEach((U) => {
|
|
2824
|
+
U == null || U.forEach((le) => {
|
|
2825
2825
|
m.push(le);
|
|
2826
2826
|
});
|
|
2827
2827
|
});
|
|
@@ -2835,13 +2835,13 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2835
2835
|
n = n.slice(1, (n == null ? void 0 : n.length) - 1);
|
|
2836
2836
|
let e = [], r = [];
|
|
2837
2837
|
return (ye = (we = nl(n)) == null ? void 0 : we.filter((m) => m !== ",")) == null || ye.forEach((m) => {
|
|
2838
|
-
var v, C,
|
|
2838
|
+
var v, C, U, le;
|
|
2839
2839
|
if (!m.includes("&"))
|
|
2840
2840
|
Array.isArray(ea(m)) || e.push((v = ea(m)) == null ? void 0 : v.formContents);
|
|
2841
2841
|
else {
|
|
2842
|
-
let
|
|
2843
|
-
il(
|
|
2844
|
-
[JSON.parse(
|
|
2842
|
+
let V = (le = (U = (C = l(m)) == null ? void 0 : C.split("&")) == null ? void 0 : U[1]) == null ? void 0 : le.replaceAll("'", '"');
|
|
2843
|
+
il(V) && r.push({
|
|
2844
|
+
[JSON.parse(V)[0]]: JSON.parse(V)
|
|
2845
2845
|
});
|
|
2846
2846
|
}
|
|
2847
2847
|
}), {
|
|
@@ -2902,10 +2902,10 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2902
2902
|
const _ = d;
|
|
2903
2903
|
return a == null ? void 0 : a.map((O) => {
|
|
2904
2904
|
var B;
|
|
2905
|
-
return O = (B = O == null ? void 0 : O.map((oe,
|
|
2905
|
+
return O = (B = O == null ? void 0 : O.map((oe, N) => {
|
|
2906
2906
|
var ae;
|
|
2907
2907
|
return {
|
|
2908
|
-
key: (ae = _[
|
|
2908
|
+
key: (ae = _[N]) == null ? void 0 : ae.label,
|
|
2909
2909
|
value: oe
|
|
2910
2910
|
};
|
|
2911
2911
|
})) == null ? void 0 : B.filter((oe) => oe.key !== "操作"), O;
|
|
@@ -2923,16 +2923,16 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2923
2923
|
if (Aa(a == null ? void 0 : a.name, d)) {
|
|
2924
2924
|
let O = Aa(a == null ? void 0 : a.name, d);
|
|
2925
2925
|
a == null || a.id, a.compData = await Promise.all(
|
|
2926
|
-
(_ = l(a.compData)) == null ? void 0 : _.map(async (B) => ((B == null ? void 0 : B.key) === "tableContents" && (B.extra = await os(l(B.contents), a == null ? void 0 : a.id), B.contents = us(l(O))), B))
|
|
2926
|
+
(_ = l(a.compData)) == null ? void 0 : _.map(async (B) => ((B == null ? void 0 : B.key) === "tableContents" && (B.extra = await os(l(B.contents), (a == null ? void 0 : a.tableId) ?? (a == null ? void 0 : a.id)), B.contents = us(l(O))), B))
|
|
2927
2927
|
);
|
|
2928
2928
|
} else
|
|
2929
2929
|
a = rs(a, d);
|
|
2930
2930
|
return a;
|
|
2931
2931
|
}, de = (a, d) => {
|
|
2932
|
-
var O, B, oe,
|
|
2932
|
+
var O, B, oe, N, ae, i, E, F;
|
|
2933
2933
|
let _ = (O = l(d)) == null ? void 0 : O.filter((o) => (o == null ? void 0 : o.comp) !== "methodButton");
|
|
2934
2934
|
if (a != null && a.includes("[")) {
|
|
2935
|
-
let o = (i = (ae = (
|
|
2935
|
+
let o = (i = (ae = (N = (oe = (B = l(a)) == null ? void 0 : B.split("[")) == null ? void 0 : oe[1]) == null ? void 0 : N.split("]")) == null ? void 0 : ae[0]) == null ? void 0 : i.split(":"), x = "";
|
|
2936
2936
|
if (o != null && o[0]) {
|
|
2937
2937
|
let Z = (E = _ == null ? void 0 : _.find((j) => (j == null ? void 0 : j.name) === (o == null ? void 0 : o[0]))) == null ? void 0 : E.compData;
|
|
2938
2938
|
Z == null || Z.forEach((j) => {
|
|
@@ -2953,11 +2953,11 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2953
2953
|
(e == null ? void 0 : e.length) === 0 ? o[x.name] = pe(r, v) : o[m] = pe(r, v);
|
|
2954
2954
|
else {
|
|
2955
2955
|
const C = [];
|
|
2956
|
-
v = v.slice(1, v.length - 1), v == null || v.forEach((
|
|
2957
|
-
r == null || r.forEach((
|
|
2956
|
+
v = v.slice(1, v.length - 1), v == null || v.forEach((U, le) => {
|
|
2957
|
+
r == null || r.forEach((V) => {
|
|
2958
2958
|
C.push({
|
|
2959
|
-
key:
|
|
2960
|
-
value:
|
|
2959
|
+
key: U.label + V[0],
|
|
2960
|
+
value: V[le + 1]
|
|
2961
2961
|
});
|
|
2962
2962
|
});
|
|
2963
2963
|
}), o["form" + Z] = C;
|
|
@@ -2978,13 +2978,13 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2978
2978
|
return a;
|
|
2979
2979
|
}, A = async (a, d, _) => {
|
|
2980
2980
|
var oe;
|
|
2981
|
-
let O = await hl(d, sessionStorage.getItem("systemKey"), ""), B = O == null ? void 0 : O.find((
|
|
2981
|
+
let O = await hl(d, sessionStorage.getItem("systemKey"), ""), B = O == null ? void 0 : O.find((N) => (N == null ? void 0 : N.name) === (_ == null ? void 0 : _[0]));
|
|
2982
2982
|
if (B && (B == null ? void 0 : B.comp) === "Table") {
|
|
2983
|
-
let
|
|
2983
|
+
let N = {};
|
|
2984
2984
|
for (let Z in l(a))
|
|
2985
|
-
l(a)[Z] !== "loginUser" ?
|
|
2986
|
-
let ae = [], i =
|
|
2987
|
-
Array.isArray(a) || (i = [
|
|
2985
|
+
l(a)[Z] !== "loginUser" ? N[Z] = l(a)[Z] : N[Z] = (oe = Q.value) == null ? void 0 : oe.account;
|
|
2986
|
+
let ae = [], i = N;
|
|
2987
|
+
Array.isArray(a) || (i = [N]), i == null || i.forEach((Z) => {
|
|
2988
2988
|
ae.push({
|
|
2989
2989
|
[Z[_[1]]]: Z
|
|
2990
2990
|
});
|
|
@@ -3028,7 +3028,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3028
3028
|
});
|
|
3029
3029
|
}
|
|
3030
3030
|
}, y = async (a, d, _) => {
|
|
3031
|
-
var oe,
|
|
3031
|
+
var oe, N, ae, i, E, F, o, x, Z;
|
|
3032
3032
|
let O = await hl(d, sessionStorage.getItem("systemKey"), ""), B = O == null ? void 0 : O.find((j) => (j == null ? void 0 : j.name) === (_ == null ? void 0 : _[0]));
|
|
3033
3033
|
if (B) {
|
|
3034
3034
|
if ((B == null ? void 0 : B.comp) === "Table") {
|
|
@@ -3048,7 +3048,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3048
3048
|
});
|
|
3049
3049
|
} else if ((B == null ? void 0 : B.comp) === "Form") {
|
|
3050
3050
|
let j = l(B), u = Object.keys(a), k = "";
|
|
3051
|
-
(ae = (
|
|
3051
|
+
(ae = (N = l(j)) == null ? void 0 : N.compData) == null || ae.forEach((D) => {
|
|
3052
3052
|
var b, ie;
|
|
3053
3053
|
(D == null ? void 0 : D.key) === "formContent" && ((ie = (b = l(D)) == null ? void 0 : b.contents) == null || ie.forEach((H) => {
|
|
3054
3054
|
var ve;
|
|
@@ -3060,20 +3060,20 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3060
3060
|
D != null && D.includes("(") && $.push(D);
|
|
3061
3061
|
}), $ = [...new Set($)];
|
|
3062
3062
|
const q = $ == null ? void 0 : $.map(async (D) => {
|
|
3063
|
-
var ee, se, te, we, ye, J, e, r, m, v, C,
|
|
3063
|
+
var ee, se, te, we, ye, J, e, r, m, v, C, U;
|
|
3064
3064
|
let b = "";
|
|
3065
3065
|
(J = (ye = (we = (te = (se = (ee = l(D)) == null ? void 0 : ee.split("(")) == null ? void 0 : se[1]) == null ? void 0 : te.split(")")) == null ? void 0 : we[0]) == null ? void 0 : ye.split(":")) == null || J.forEach((le) => {
|
|
3066
3066
|
b = b === "" ? b + le.replaceAll("'", "") : b + "/" + le.replaceAll("'", "");
|
|
3067
3067
|
});
|
|
3068
3068
|
let ie = [];
|
|
3069
|
-
(
|
|
3069
|
+
(U = (C = (v = (m = (r = (e = l(D)) == null ? void 0 : e.split("<")) == null ? void 0 : r[1]) == null ? void 0 : m.split(">")) == null ? void 0 : v[0]) == null ? void 0 : C.split(":")) == null || U.forEach((le) => {
|
|
3070
3070
|
ie.push(le.replaceAll("'", ""));
|
|
3071
3071
|
});
|
|
3072
3072
|
const H = await hl(b, sessionStorage.getItem("systemKey"), "");
|
|
3073
3073
|
let ve = "";
|
|
3074
3074
|
return H == null || H.forEach((le) => {
|
|
3075
|
-
var
|
|
3076
|
-
le.name === (ie == null ? void 0 : ie[0]) && ((
|
|
3075
|
+
var V;
|
|
3076
|
+
le.name === (ie == null ? void 0 : ie[0]) && ((V = le == null ? void 0 : le.compData) == null || V.forEach((G) => {
|
|
3077
3077
|
var ge;
|
|
3078
3078
|
(G == null ? void 0 : G.key) === "formContent" && ((ge = G.contents) == null || ge.forEach((_e) => {
|
|
3079
3079
|
(_e == null ? void 0 : _e.key) === (ie == null ? void 0 : ie[1]) && (ve = _e == null ? void 0 : _e.value);
|
|
@@ -3113,7 +3113,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3113
3113
|
}
|
|
3114
3114
|
}
|
|
3115
3115
|
}, W = async (a, d, _) => {
|
|
3116
|
-
var oe,
|
|
3116
|
+
var oe, N, ae, i, E, F;
|
|
3117
3117
|
let O = await hl(d, sessionStorage.getItem("systemKey"), ""), B = O == null ? void 0 : O.find((o) => (o == null ? void 0 : o.name) === (_ == null ? void 0 : _[0]));
|
|
3118
3118
|
if (B) {
|
|
3119
3119
|
if (!(_ != null && _[1]) && (B == null ? void 0 : B.comp) === "Table") {
|
|
@@ -3133,7 +3133,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3133
3133
|
});
|
|
3134
3134
|
} else if (!(_ != null && _[1]) && (B == null ? void 0 : B.comp) === "Form") {
|
|
3135
3135
|
let o = l(B);
|
|
3136
|
-
o.compData = (ae = (
|
|
3136
|
+
o.compData = (ae = (N = l(o)) == null ? void 0 : N.compData) == null ? void 0 : ae.map((j) => {
|
|
3137
3137
|
var u, k;
|
|
3138
3138
|
return (j == null ? void 0 : j.key) === "formContent" && (j.contents = (k = (u = l(j)) == null ? void 0 : u.contents) == null ? void 0 : k.map(($) => {
|
|
3139
3139
|
var q, me;
|
|
@@ -3160,7 +3160,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3160
3160
|
}
|
|
3161
3161
|
}
|
|
3162
3162
|
}, c = async (a) => {
|
|
3163
|
-
var _, O, B, oe,
|
|
3163
|
+
var _, O, B, oe, N, ae, i, E, F, o, x, Z, j, u, k, $, q, me;
|
|
3164
3164
|
let d = {};
|
|
3165
3165
|
if (T.value !== "browser") {
|
|
3166
3166
|
const re = [];
|
|
@@ -3168,23 +3168,24 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3168
3168
|
var ie, H, ve, ee, se, te, we, ye, J, e, r, m, v, C;
|
|
3169
3169
|
if ((D == null ? void 0 : D.comp) === "Table") {
|
|
3170
3170
|
(H = (ie = D == null ? void 0 : D.compData) == null ? void 0 : ie.find((G) => (G == null ? void 0 : G.key) === "header")) == null || H.contents;
|
|
3171
|
-
let
|
|
3171
|
+
let U = (se = (ee = (ve = D == null ? void 0 : D.compData) == null ? void 0 : ve.find((G) => (G == null ? void 0 : G.key) === "tableContents")) == null ? void 0 : ee.contents) == null ? void 0 : se.map((G) => G.slice(1));
|
|
3172
3172
|
(e = (J = (ye = (we = (te = D == null ? void 0 : D.compData) == null ? void 0 : te.find((G) => (G == null ? void 0 : G.key) === "header")) == null ? void 0 : we.contents) == null ? void 0 : ye[0]) == null ? void 0 : J[0]) == null || e.label;
|
|
3173
|
-
let le = (m = (r = D == null ? void 0 : D.compData) == null ? void 0 : r.find((G) => (G == null ? void 0 : G.key) === "header")) == null ? void 0 : m.contents,
|
|
3174
|
-
|
|
3173
|
+
let le = (m = (r = D == null ? void 0 : D.compData) == null ? void 0 : r.find((G) => (G == null ? void 0 : G.key) === "header")) == null ? void 0 : m.contents, V = [];
|
|
3174
|
+
U == null || U.forEach((G) => {
|
|
3175
3175
|
let ge = [];
|
|
3176
3176
|
G == null || G.forEach((_e, Ce) => {
|
|
3177
3177
|
var ne;
|
|
3178
3178
|
let he = {};
|
|
3179
3179
|
((ne = le[Ce]) == null ? void 0 : ne.label) !== "操作" && (he[le[Ce].label] = _e, ge.push(he));
|
|
3180
|
-
}),
|
|
3181
|
-
}), d[D.name] =
|
|
3180
|
+
}), V.push(ge);
|
|
3181
|
+
}), d[D.name] = V;
|
|
3182
3182
|
} else {
|
|
3183
|
-
const
|
|
3184
|
-
|
|
3183
|
+
const U = (C = (v = D.compData) == null ? void 0 : v.find((le) => (le == null ? void 0 : le.key) === "formContent")) == null ? void 0 : C.contents;
|
|
3184
|
+
U == null || U.forEach((le) => {
|
|
3185
|
+
var V;
|
|
3185
3186
|
le.key !== "" && (le = {
|
|
3186
3187
|
key: (le == null ? void 0 : le.key) ?? (le == null ? void 0 : le.label),
|
|
3187
|
-
value: le == null ? void 0 : le.value
|
|
3188
|
+
value: (V = le == null ? void 0 : le.value) == null ? void 0 : V.toString()
|
|
3188
3189
|
}, re.push(le));
|
|
3189
3190
|
});
|
|
3190
3191
|
}
|
|
@@ -3206,7 +3207,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3206
3207
|
);
|
|
3207
3208
|
if (((O = D == null ? void 0 : D.data) == null ? void 0 : O.code) === 200 || ((B = D == null ? void 0 : D.data) == null ? void 0 : B.statusCode) === 200) {
|
|
3208
3209
|
let b = await ((oe = D == null ? void 0 : D.data) == null ? void 0 : oe.data);
|
|
3209
|
-
const ie = (
|
|
3210
|
+
const ie = (N = l(w.value)) == null ? void 0 : N.filter((se) => (se == null ? void 0 : se.comp) !== "methodButton"), H = await Promise.all(
|
|
3210
3211
|
ie.map((se) => ue(se, b))
|
|
3211
3212
|
);
|
|
3212
3213
|
await Promise.all(H);
|
|
@@ -3244,12 +3245,12 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3244
3245
|
}
|
|
3245
3246
|
});
|
|
3246
3247
|
let ie = (k = (u = (j = (Z = l(a)) == null ? void 0 : Z.extraValues) == null ? void 0 : j.output) == null ? void 0 : u.map((ee) => {
|
|
3247
|
-
var se, te, we, ye, J, e, r, m, v, C,
|
|
3248
|
+
var se, te, we, ye, J, e, r, m, v, C, U, le, V, G, ge;
|
|
3248
3249
|
if (!((te = (se = Object.values(ee)) == null ? void 0 : se[0]) != null && te.includes(".doc"))) {
|
|
3249
3250
|
let _e = (C = (v = (m = (ye = l((we = Object.values(ee)) == null ? void 0 : we[0])) == null ? void 0 : ye.split("[")) == null ? void 0 : m[((r = (e = l((J = Object.values(ee)) == null ? void 0 : J[0])) == null ? void 0 : e.split("[")) == null ? void 0 : r.length) - 1]) == null ? void 0 : v.split("]")) == null ? void 0 : C[0];
|
|
3250
3251
|
_e == null || _e.split(":");
|
|
3251
|
-
let Ce = l((
|
|
3252
|
-
if (Ce = (G = l(Ce)) == null ? void 0 : G.slice(0, ((
|
|
3252
|
+
let Ce = l((U = Object.values(ee)) == null ? void 0 : U[0]).substring(0, l((le = Object.values(ee)) == null ? void 0 : le[0]).lastIndexOf("["));
|
|
3253
|
+
if (Ce = (G = l(Ce)) == null ? void 0 : G.slice(0, ((V = l(Ce)) == null ? void 0 : V.length) - 1), Ce != null && Ce.includes("[")) {
|
|
3253
3254
|
let he = "";
|
|
3254
3255
|
if ((ge = Yl(Ce, "/")) == null || ge.forEach((ne) => {
|
|
3255
3256
|
var Ie, be, $e, We, ze, R, Le;
|
|
@@ -3277,11 +3278,11 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3277
3278
|
});
|
|
3278
3279
|
await Promise.all(H);
|
|
3279
3280
|
let ve = (me = (q = ($ = l(a)) == null ? void 0 : $.extraValues) == null ? void 0 : q.output) == null ? void 0 : me.map(async (ee) => {
|
|
3280
|
-
var v, C,
|
|
3281
|
+
var v, C, U, le, V, G, ge, _e, Ce, he, ne, Ie, be, $e, We, ze, R, Le, Re, He, ul, rl, Ue, pl, qe, _l, Cl, Qe, Me, wl, Dl, Al, Il, xl, El, $l, Bl, Tl, Sl, Fl, Ol, Ll, Rl, Pl, vl, ia, na, oa, ua, ra, ca, ta, da, pa, fa, ha, va, ma, ya, ba;
|
|
3281
3282
|
if ((C = (v = Object.values(ee)) == null ? void 0 : v[0]) != null && C.includes(".doc")) {
|
|
3282
3283
|
var se = new Blob([b.data], {
|
|
3283
3284
|
type: "application/octet-stream;charset=UTF-8"
|
|
3284
|
-
}), te = b.headers["content-disposition"], we = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), ye = we.exec(te), J = ((
|
|
3285
|
+
}), te = b.headers["content-disposition"], we = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), ye = we.exec(te), J = ((V = (le = (U = a == null ? void 0 : a.extraContent) == null ? void 0 : U[0]) == null ? void 0 : le.split(".")) == null ? void 0 : V[0]) + "." + ((G = ye == null ? void 0 : ye[1].split(".")) == null ? void 0 : G[1]), e = document.createElement("a"), r = window.URL.createObjectURL(se), m = /^["](.*)["]$/g;
|
|
3285
3286
|
e.style.display = "none", e.href = r, e.download = decodeURI(J.replace(m, "$1")), document.body.appendChild(e), e.click(), document.body.removeChild(e), window.URL.revokeObjectURL(r);
|
|
3286
3287
|
} else {
|
|
3287
3288
|
let Gl = ($e = (be = (Ie = (_e = l((ge = Object.values(ee)) == null ? void 0 : ge[0])) == null ? void 0 : _e.split("[")) == null ? void 0 : Ie[((ne = (he = l((Ce = Object.values(ee)) == null ? void 0 : Ce[0])) == null ? void 0 : he.split("[")) == null ? void 0 : ne.length) - 1]) == null ? void 0 : be.split("]")) == null ? void 0 : $e[0], xe = Gl == null ? void 0 : Gl.split(":"), el = l((We = Object.values(ee)) == null ? void 0 : We[0]).substring(0, l((ze = Object.values(ee)) == null ? void 0 : ze[0]).lastIndexOf("["));
|
|
@@ -3331,7 +3332,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3331
3332
|
}
|
|
3332
3333
|
X.value = !0;
|
|
3333
3334
|
}, h = async (a) => {
|
|
3334
|
-
var oe,
|
|
3335
|
+
var oe, N, ae;
|
|
3335
3336
|
const d = l(a);
|
|
3336
3337
|
let _;
|
|
3337
3338
|
a != null && a[0].path && (_ = await (d == null ? void 0 : d.map(async (i, E) => {
|
|
@@ -3380,7 +3381,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3380
3381
|
extraContent: (me = l(i.value)) == null ? void 0 : me.slice(1),
|
|
3381
3382
|
methodName: (i == null ? void 0 : i.method) ?? ""
|
|
3382
3383
|
};
|
|
3383
|
-
}), B = (oe = a == null ? void 0 : a[0]) != null && oe.path && ((
|
|
3384
|
+
}), B = (oe = a == null ? void 0 : a[0]) != null && oe.path && ((N = a == null ? void 0 : a[0]) == null ? void 0 : N.path) !== "" ? await Promise.all(_) : await Promise.all(O);
|
|
3384
3385
|
g.value = B == null ? void 0 : B.filter((i) => i == null ? void 0 : i.extraContent), (ae = g.value) == null || ae.forEach((i) => {
|
|
3385
3386
|
var E;
|
|
3386
3387
|
i.api === "" && ((E = i.content) == null || E.forEach((F) => {
|
|
@@ -3407,7 +3408,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3407
3408
|
]))), 256))
|
|
3408
3409
|
]));
|
|
3409
3410
|
}
|
|
3410
|
-
}, tn = /* @__PURE__ */ je(cn, [["__scopeId", "data-v-
|
|
3411
|
+
}, tn = /* @__PURE__ */ je(cn, [["__scopeId", "data-v-c6610522"]]), dn = {};
|
|
3411
3412
|
function pn(p, g) {
|
|
3412
3413
|
return " 567 ";
|
|
3413
3414
|
}
|
|
@@ -4028,7 +4029,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4028
4029
|
collapseContents: f.value
|
|
4029
4030
|
}, {
|
|
4030
4031
|
title: ce(({ item: A, index: y }) => {
|
|
4031
|
-
var W, c, h, a, d, _, O, B, oe,
|
|
4032
|
+
var W, c, h, a, d, _, O, B, oe, N;
|
|
4032
4033
|
return [
|
|
4033
4034
|
I("div", Vn, [
|
|
4034
4035
|
I("div", Nn, [
|
|
@@ -4071,7 +4072,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4071
4072
|
class: "icon-content"
|
|
4072
4073
|
}, null, 8, ["onClick"])
|
|
4073
4074
|
])) : Ye("", !0),
|
|
4074
|
-
(
|
|
4075
|
+
(N = (oe = P.value) == null ? void 0 : oe.find((ae) => ae.id === y)) != null && N.content ? Ye("", !0) : (Y(), fe("div", {
|
|
4075
4076
|
key: 1,
|
|
4076
4077
|
onClick: Nl((ae) => X(y), ["stop"]),
|
|
4077
4078
|
class: "icon-content"
|
|
@@ -4229,7 +4230,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4229
4230
|
return {
|
|
4230
4231
|
comp: "Table",
|
|
4231
4232
|
name: k.value || "表格",
|
|
4232
|
-
compData:
|
|
4233
|
+
compData: N(k.content)
|
|
4233
4234
|
};
|
|
4234
4235
|
default:
|
|
4235
4236
|
return {
|
|
@@ -4251,7 +4252,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4251
4252
|
key: "enableWrap",
|
|
4252
4253
|
contents: u.isEnableWrap
|
|
4253
4254
|
}), k;
|
|
4254
|
-
},
|
|
4255
|
+
}, N = (u) => [], ae = () => {
|
|
4255
4256
|
if (T.value >= 0 && T.value < f.value.length) {
|
|
4256
4257
|
const u = h(T.value);
|
|
4257
4258
|
Q.value.set(u, l(ue.value)), f.value[T.value].children = F(ue.value), console.log("保存后的数据", F(ue.value));
|