ss-component-new 1.1.415 → 1.1.416
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/array-58d570LL.cjs +7 -0
- package/dist/array-DEqtaw54.js +346 -0
- package/dist/{crypto-BRyGpjGR.js → crypto-Cq-QCViO.js} +178 -186
- package/dist/{crypto-CRbcEKIz.cjs → crypto-DX0stRPJ.cjs} +5 -5
- package/dist/{index-DuwxEG2Y.js → index-B36maAk9.js} +1 -1
- package/dist/index-B3ZWxITJ.js +1145 -0
- package/dist/{index-BJiXsb3E.cjs → index-B7pGY6s-.cjs} +1 -1
- package/dist/{index-WPbX9sqP.cjs → index-BEJ2yw6L.cjs} +1 -1
- package/dist/{index-9QTlnrEQ.cjs → index-BEZVG2w4.cjs} +1 -1
- package/dist/{index-BOzZXj2f.js → index-BMDwIj9Q.js} +7 -7
- package/dist/index-BN5_bPlI.js +711 -0
- package/dist/index-BQE6u3FY.cjs +7 -0
- package/dist/{index-DrUjNhjW.js → index-BTjvMH2-.js} +1 -1
- package/dist/{index-9srnYnzT.js → index-BXxCcVg9.js} +9 -9
- package/dist/{index-DIv5glVC.js → index-BZFpxFyZ.js} +422 -422
- package/dist/{index-Dm1_86kX.js → index-BgYMdBaM.js} +4 -5
- package/dist/index-BgwUuCZn.cjs +1 -0
- package/dist/{index-BJitBJZu.cjs → index-BvLNLX2m.cjs} +2 -2
- package/dist/{index-DoIHM98M.js → index-BvQxCFwq.js} +1 -1
- package/dist/{index-CilqH8oC.cjs → index-BvYov-FM.cjs} +1 -1
- package/dist/{index-DjhZHYH_.cjs → index-BxqdT6ZG.cjs} +1 -1
- package/dist/{index-B6_X9xq9.js → index-C-BnL_J8.js} +5 -6
- package/dist/{index-FBp-XX6h.js → index-C43LmEa1.js} +7051 -7021
- package/dist/{index-DbuzlHfh.js → index-C4kRcJZB.js} +21 -21
- package/dist/{index-8nzu3dKT.js → index-C9jJnj5S.js} +7 -7
- package/dist/{index-BVuLbYm9.cjs → index-CEGtcyt7.cjs} +1 -1
- package/dist/{index-Bhg9ISur.js → index-CHVY3mt7.js} +8 -9
- package/dist/index-CHXbD46C.cjs +87 -0
- package/dist/{index-BSAEf__V.js → index-CJja2QG9.js} +7 -7
- package/dist/{index-CNQtTLfb.cjs → index-CK03QmTY.cjs} +1 -1
- package/dist/index-CbfDuVGd.cjs +1 -0
- package/dist/{index-BxHhG5PY.js → index-CcbpKTyr.js} +3 -3
- package/dist/{index-BHxsT1eb.cjs → index-CiowzSFS.cjs} +1 -1
- package/dist/{index-CTTEAggF.cjs → index-CvagfQk6.cjs} +1 -1
- package/dist/{index-DrCpGMdZ.js → index-D-45U022.js} +11 -12
- package/dist/{index-UYsrvpRs.js → index-D9Mgi3hi.js} +4 -4
- package/dist/{index-AzrB9NlT.js → index-DGX_omwS.js} +4 -4
- package/dist/{index-BibIA5-P.cjs → index-DHhoPw_A.cjs} +1 -1
- package/dist/{index-CffNkMWN.cjs → index-DQycMGEY.cjs} +1 -1
- package/dist/{index-C8jmJvXd.cjs → index-DRpTJPjg.cjs} +1 -1
- package/dist/{index-BJIMXITA.js → index-DT0rIFKm.js} +6 -6
- package/dist/index-DcIVU-Ov.cjs +1 -0
- package/dist/{index-3dpRV7yS.cjs → index-DgY-01TT.cjs} +1 -1
- package/dist/{index-DHhMROzm.cjs → index-Dp0i47OJ.cjs} +1 -1
- package/dist/{index-DPm-3I4S.js → index-DqHrwwb1.js} +6 -6
- package/dist/{index-CA9lI4P8.js → index-DseMLCbI.js} +5 -5
- package/dist/{index-ZUmqWSaw.cjs → index-Dt5TGPLg.cjs} +1 -1
- package/dist/{index-BPDslvev.js → index-DtYFEnXc.js} +2 -2
- package/dist/{index-eSv5uzFM.js → index-NEUjKmq0.js} +354 -359
- package/dist/{index-VOSN3Mnh.js → index-NIMrswsz.js} +9 -9
- package/dist/{index-DMp2zGXo.js → index-ZuGl0u3I.js} +7 -7
- package/dist/{index-BimZK7wy.cjs → index-jESujSgy.cjs} +1 -1
- package/dist/{index-Dxfzna5p.cjs → index-jghM2Y0h.cjs} +1 -1
- package/dist/{index-BszUQuvL.cjs → index-sKVluUJX.cjs} +1 -1
- package/dist/{index-CdLmmvxi.cjs → index-uVl30He2.cjs} +1 -1
- package/dist/index-zMtEEusk.cjs +1 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dr6igsfU.cjs → index.vue_vue_type_script_setup_true_lang-BaYvLcMI.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CKDefrVd.js → index.vue_vue_type_script_setup_true_lang-CAcdw_AX.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-x_oCFRtr.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B4LEhoqI.cjs} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CaGB6aRQ.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CopMGaPW.js} +11 -17
- package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-CMsb25AU.js → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-BOZV3S47.js} +90 -89
- package/dist/index.vue_vue_type_style_index_0_scoped_306ecd73_lang-Dt5xjsaj.cjs +1 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-CTM5_Xpt.js +1429 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DhLcXmdy.cjs +1 -0
- package/dist/login-BkG9ft6j.js +75 -0
- package/dist/login-uBBsyOif.cjs +1 -0
- package/dist/{main-C7zpT64X.js → main-B29DPpx0.js} +6 -6
- package/dist/{main-NoOanZcQ.cjs → main-DqvMBu9E.cjs} +1 -1
- package/dist/{menu-B-Z5KAh5.cjs → menu-CEY-shM3.cjs} +4 -4
- package/dist/{menu-D9x5_s9p.js → menu-Dz_fVXUK.js} +8 -8
- package/dist/menuIndex-BWim3TlH.js +33 -0
- package/dist/menuIndex-Cg6xI-jR.cjs +1 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-MVkoDB-c.cjs → threeModel-Djd02U60.cjs} +1 -1
- package/dist/{threeModel-BazaxATJ.js → threeModel-V5HRhps2.js} +5 -6
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-CnQhvwfL.js → threeModel.vue_vue_type_style_index_0_scoped_43c8b141_lang-B08ZEGHO.js} +2 -2
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-CBBWsMHp.cjs → threeModel.vue_vue_type_style_index_0_scoped_43c8b141_lang-BTtFKEwD.cjs} +1 -1
- package/package.json +1 -1
- package/dist/array-CYOvmzeK.js +0 -1310
- package/dist/array-DAoy3WS9.cjs +0 -7
- package/dist/index-BA-Qtevs.cjs +0 -1
- package/dist/index-Bvr0YvSP.cjs +0 -74
- package/dist/index-CyOcoFxe.cjs +0 -1
- package/dist/index-D68A4TXc.cjs +0 -1
- package/dist/index-DBB_scdx.cjs +0 -1
- package/dist/index-Dnq8JVuW.cjs +0 -7
- package/dist/index-TEDdJfFz.js +0 -677
- package/dist/index-faxMOO3y.js +0 -1717
- package/dist/index.vue_vue_type_style_index_0_scoped_306ecd73_lang-B7CgbfdF.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-COxDD0Fj.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DDi07ZiD.js +0 -1593
- package/dist/login-CARNmuDg.js +0 -103
- package/dist/login-DsWsywlE.cjs +0 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
package/dist/index-faxMOO3y.js
DELETED
|
@@ -1,1717 +0,0 @@
|
|
|
1
|
-
import { ref as U, watch as Ne, nextTick as il, resolveComponent as ia, createBlock as sa, openBlock as pe, withCtx as ie, createElementVNode as ce, renderSlot as Ea, onMounted as ta, createElementBlock as ke, normalizeClass as sl, toDisplayString as Pe, createCommentVNode as Wa, Fragment as Qa, renderList as Xa, normalizeStyle as Ya, createVNode as ue, unref as tl, defineComponent as ol, createSlots as ul, createTextVNode as Ue } from "vue";
|
|
2
|
-
import { f as oa, g as I, d as Be, h as fl, i as We, c as na, s as Ve, u as Za, p as Le, e as cl } from "./menu-D9x5_s9p.js";
|
|
3
|
-
import { u as yl } from "./threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-CnQhvwfL.js";
|
|
4
|
-
import { a3 as pl, S as Pa, a4 as dl, m as Fa, a5 as Na, a6 as gl } from "./index-DbuzlHfh.js";
|
|
5
|
-
import { b as Qe, f as hl, s as Ba } from "./index-UYsrvpRs.js";
|
|
6
|
-
import { U as Ra, n as ja, o as $a, p as xa, S as ea, q as bl, g as Xe, c as g, r as Ma, t as ml, u as Al, v as vl, w as kl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CaGB6aRQ.js";
|
|
7
|
-
import { _ as ua } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
var Tl = "__lodash_hash_undefined__";
|
|
9
|
-
function Dl(a) {
|
|
10
|
-
return this.__data__.set(a, Tl), this;
|
|
11
|
-
}
|
|
12
|
-
function wl(a) {
|
|
13
|
-
return this.__data__.has(a);
|
|
14
|
-
}
|
|
15
|
-
function Ye(a) {
|
|
16
|
-
var l = -1, r = a == null ? 0 : a.length;
|
|
17
|
-
for (this.__data__ = new pl(); ++l < r; )
|
|
18
|
-
this.add(a[l]);
|
|
19
|
-
}
|
|
20
|
-
Ye.prototype.add = Ye.prototype.push = Dl;
|
|
21
|
-
Ye.prototype.has = wl;
|
|
22
|
-
function _l(a, l) {
|
|
23
|
-
for (var r = -1, e = a == null ? 0 : a.length; ++r < e; )
|
|
24
|
-
if (l(a[r], r, a))
|
|
25
|
-
return !0;
|
|
26
|
-
return !1;
|
|
27
|
-
}
|
|
28
|
-
function Cl(a, l) {
|
|
29
|
-
return a.has(l);
|
|
30
|
-
}
|
|
31
|
-
var Kl = 1, Ol = 2;
|
|
32
|
-
function za(a, l, r, e, n, i) {
|
|
33
|
-
var s = r & Kl, c = a.length, u = l.length;
|
|
34
|
-
if (c != u && !(s && u > c))
|
|
35
|
-
return !1;
|
|
36
|
-
var o = i.get(a), t = i.get(l);
|
|
37
|
-
if (o && t)
|
|
38
|
-
return o == l && t == a;
|
|
39
|
-
var p = -1, y = !0, k = r & Ol ? new Ye() : void 0;
|
|
40
|
-
for (i.set(a, l), i.set(l, a); ++p < c; ) {
|
|
41
|
-
var D = a[p], w = l[p];
|
|
42
|
-
if (e)
|
|
43
|
-
var m = s ? e(w, D, p, l, a, i) : e(D, w, p, a, l, i);
|
|
44
|
-
if (m !== void 0) {
|
|
45
|
-
if (m)
|
|
46
|
-
continue;
|
|
47
|
-
y = !1;
|
|
48
|
-
break;
|
|
49
|
-
}
|
|
50
|
-
if (k) {
|
|
51
|
-
if (!_l(l, function(j, B) {
|
|
52
|
-
if (!Cl(k, B) && (D === j || n(D, j, r, e, i)))
|
|
53
|
-
return k.push(B);
|
|
54
|
-
})) {
|
|
55
|
-
y = !1;
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
} else if (!(D === w || n(D, w, r, e, i))) {
|
|
59
|
-
y = !1;
|
|
60
|
-
break;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return i.delete(a), i.delete(l), y;
|
|
64
|
-
}
|
|
65
|
-
function Sl(a) {
|
|
66
|
-
var l = -1, r = Array(a.size);
|
|
67
|
-
return a.forEach(function(e, n) {
|
|
68
|
-
r[++l] = [n, e];
|
|
69
|
-
}), r;
|
|
70
|
-
}
|
|
71
|
-
function El(a) {
|
|
72
|
-
var l = -1, r = Array(a.size);
|
|
73
|
-
return a.forEach(function(e) {
|
|
74
|
-
r[++l] = e;
|
|
75
|
-
}), r;
|
|
76
|
-
}
|
|
77
|
-
var Pl = 1, Fl = 2, Nl = "[object Boolean]", Bl = "[object Date]", Rl = "[object Error]", jl = "[object Map]", $l = "[object Number]", xl = "[object RegExp]", Ml = "[object Set]", Vl = "[object String]", Ll = "[object Symbol]", Jl = "[object ArrayBuffer]", Hl = "[object DataView]", Va = Pa ? Pa.prototype : void 0, aa = Va ? Va.valueOf : void 0;
|
|
78
|
-
function Ul(a, l, r, e, n, i, s) {
|
|
79
|
-
switch (r) {
|
|
80
|
-
case Hl:
|
|
81
|
-
if (a.byteLength != l.byteLength || a.byteOffset != l.byteOffset)
|
|
82
|
-
return !1;
|
|
83
|
-
a = a.buffer, l = l.buffer;
|
|
84
|
-
case Jl:
|
|
85
|
-
return !(a.byteLength != l.byteLength || !i(new Ra(a), new Ra(l)));
|
|
86
|
-
case Nl:
|
|
87
|
-
case Bl:
|
|
88
|
-
case $l:
|
|
89
|
-
return dl(+a, +l);
|
|
90
|
-
case Rl:
|
|
91
|
-
return a.name == l.name && a.message == l.message;
|
|
92
|
-
case xl:
|
|
93
|
-
case Vl:
|
|
94
|
-
return a == l + "";
|
|
95
|
-
case jl:
|
|
96
|
-
var c = Sl;
|
|
97
|
-
case Ml:
|
|
98
|
-
var u = e & Pl;
|
|
99
|
-
if (c || (c = El), a.size != l.size && !u)
|
|
100
|
-
return !1;
|
|
101
|
-
var o = s.get(a);
|
|
102
|
-
if (o)
|
|
103
|
-
return o == l;
|
|
104
|
-
e |= Fl, s.set(a, l);
|
|
105
|
-
var t = za(c(a), c(l), e, n, i, s);
|
|
106
|
-
return s.delete(a), t;
|
|
107
|
-
case Ll:
|
|
108
|
-
if (aa)
|
|
109
|
-
return aa.call(a) == aa.call(l);
|
|
110
|
-
}
|
|
111
|
-
return !1;
|
|
112
|
-
}
|
|
113
|
-
var ql = 1, Gl = Object.prototype, Wl = Gl.hasOwnProperty;
|
|
114
|
-
function Ql(a, l, r, e, n, i) {
|
|
115
|
-
var s = r & ql, c = ja(a), u = c.length, o = ja(l), t = o.length;
|
|
116
|
-
if (u != t && !s)
|
|
117
|
-
return !1;
|
|
118
|
-
for (var p = u; p--; ) {
|
|
119
|
-
var y = c[p];
|
|
120
|
-
if (!(s ? y in l : Wl.call(l, y)))
|
|
121
|
-
return !1;
|
|
122
|
-
}
|
|
123
|
-
var k = i.get(a), D = i.get(l);
|
|
124
|
-
if (k && D)
|
|
125
|
-
return k == l && D == a;
|
|
126
|
-
var w = !0;
|
|
127
|
-
i.set(a, l), i.set(l, a);
|
|
128
|
-
for (var m = s; ++p < u; ) {
|
|
129
|
-
y = c[p];
|
|
130
|
-
var j = a[y], B = l[y];
|
|
131
|
-
if (e)
|
|
132
|
-
var S = s ? e(B, j, y, l, a, i) : e(j, B, y, a, l, i);
|
|
133
|
-
if (!(S === void 0 ? j === B || n(j, B, r, e, i) : S)) {
|
|
134
|
-
w = !1;
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
m || (m = y == "constructor");
|
|
138
|
-
}
|
|
139
|
-
if (w && !m) {
|
|
140
|
-
var M = a.constructor, T = l.constructor;
|
|
141
|
-
M != T && "constructor" in a && "constructor" in l && !(typeof M == "function" && M instanceof M && typeof T == "function" && T instanceof T) && (w = !1);
|
|
142
|
-
}
|
|
143
|
-
return i.delete(a), i.delete(l), w;
|
|
144
|
-
}
|
|
145
|
-
var Xl = 1, La = "[object Arguments]", Ja = "[object Array]", qe = "[object Object]", Yl = Object.prototype, Ha = Yl.hasOwnProperty;
|
|
146
|
-
function Zl(a, l, r, e, n, i) {
|
|
147
|
-
var s = Fa(a), c = Fa(l), u = s ? Ja : $a(a), o = c ? Ja : $a(l);
|
|
148
|
-
u = u == La ? qe : u, o = o == La ? qe : o;
|
|
149
|
-
var t = u == qe, p = o == qe, y = u == o;
|
|
150
|
-
if (y && xa(a)) {
|
|
151
|
-
if (!xa(l))
|
|
152
|
-
return !1;
|
|
153
|
-
s = !0, t = !1;
|
|
154
|
-
}
|
|
155
|
-
if (y && !t)
|
|
156
|
-
return i || (i = new ea()), s || bl(a) ? za(a, l, r, e, n, i) : Ul(a, l, u, r, e, n, i);
|
|
157
|
-
if (!(r & Xl)) {
|
|
158
|
-
var k = t && Ha.call(a, "__wrapped__"), D = p && Ha.call(l, "__wrapped__");
|
|
159
|
-
if (k || D) {
|
|
160
|
-
var w = k ? a.value() : a, m = D ? l.value() : l;
|
|
161
|
-
return i || (i = new ea()), n(w, m, r, e, i);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
return y ? (i || (i = new ea()), Ql(a, l, r, e, n, i)) : !1;
|
|
165
|
-
}
|
|
166
|
-
function Ia(a, l, r, e, n) {
|
|
167
|
-
return a === l ? !0 : a == null || l == null || !Na(a) && !Na(l) ? a !== a && l !== l : Zl(a, l, r, e, Ia, n);
|
|
168
|
-
}
|
|
169
|
-
function zl(a, l) {
|
|
170
|
-
return Ia(a, l);
|
|
171
|
-
}
|
|
172
|
-
const Il = {
|
|
173
|
-
__name: "index",
|
|
174
|
-
props: {
|
|
175
|
-
isVisible: {
|
|
176
|
-
type: Boolean,
|
|
177
|
-
default: !1
|
|
178
|
-
},
|
|
179
|
-
title: {
|
|
180
|
-
type: String,
|
|
181
|
-
default: ""
|
|
182
|
-
},
|
|
183
|
-
width: {
|
|
184
|
-
type: Number,
|
|
185
|
-
default: 200
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
setup(a) {
|
|
189
|
-
const l = a, r = U(null), e = U(!1), n = U(null);
|
|
190
|
-
return Ne(
|
|
191
|
-
() => l == null ? void 0 : l.isVisible,
|
|
192
|
-
() => {
|
|
193
|
-
e.value = l == null ? void 0 : l.isVisible;
|
|
194
|
-
},
|
|
195
|
-
{ deep: !0, immediate: !0 }
|
|
196
|
-
), Ne(
|
|
197
|
-
() => n.value,
|
|
198
|
-
() => {
|
|
199
|
-
il(() => {
|
|
200
|
-
var i, s;
|
|
201
|
-
(s = (i = r.value) == null ? void 0 : i.updatePopper) == null || s.call(i);
|
|
202
|
-
});
|
|
203
|
-
},
|
|
204
|
-
{ deep: !0, immediate: !0 }
|
|
205
|
-
), (i, s) => {
|
|
206
|
-
const c = ia("el-popover");
|
|
207
|
-
return pe(), sa(c, {
|
|
208
|
-
visible: e.value,
|
|
209
|
-
placement: "bottom",
|
|
210
|
-
title: l == null ? void 0 : l.title,
|
|
211
|
-
width: l == null ? void 0 : l.width,
|
|
212
|
-
ref_key: "popOverRef",
|
|
213
|
-
ref: r
|
|
214
|
-
}, {
|
|
215
|
-
reference: ie(() => [
|
|
216
|
-
ce("div", null, [
|
|
217
|
-
Ea(i.$slots, "reference", {
|
|
218
|
-
ref_key: "referenceRef",
|
|
219
|
-
ref: n
|
|
220
|
-
})
|
|
221
|
-
])
|
|
222
|
-
]),
|
|
223
|
-
default: ie(() => [
|
|
224
|
-
ce("div", null, [
|
|
225
|
-
Ea(i.$slots, "content")
|
|
226
|
-
])
|
|
227
|
-
]),
|
|
228
|
-
_: 3
|
|
229
|
-
}, 8, ["visible", "title", "width"]);
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
|
-
}, en = { class: "extra-button-content" }, an = { class: "table-operator-wrap" }, ln = {
|
|
233
|
-
key: 0,
|
|
234
|
-
class: "extra-header"
|
|
235
|
-
}, nn = ["onClick"], rn = { class: "extra-button-filter" }, sn = { class: "form-content-value" }, tn = {
|
|
236
|
-
__name: "header",
|
|
237
|
-
props: {
|
|
238
|
-
compName: {
|
|
239
|
-
type: String,
|
|
240
|
-
default: "表格名称",
|
|
241
|
-
required: !1
|
|
242
|
-
},
|
|
243
|
-
buttons: {
|
|
244
|
-
type: Array,
|
|
245
|
-
default: () => []
|
|
246
|
-
},
|
|
247
|
-
columns: {
|
|
248
|
-
type: Array,
|
|
249
|
-
default: () => []
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
emits: ["buttonClick", "filter"],
|
|
253
|
-
setup(a, { emit: l }) {
|
|
254
|
-
const r = l, e = a, n = U(!1), i = U([]), s = U([{ label: "取消" }, { label: "确认" }]), c = (t) => {
|
|
255
|
-
r("buttonClick", t);
|
|
256
|
-
}, u = (t) => {
|
|
257
|
-
var p, y;
|
|
258
|
-
i.value = (y = (p = Xe(g(t))) == null ? void 0 : p.filter((k) => (k == null ? void 0 : k.label) !== "" && (k == null ? void 0 : k.label) !== "操作")) == null ? void 0 : y.map((k) => ({
|
|
259
|
-
label: (k == null ? void 0 : k.label) ?? "",
|
|
260
|
-
value: "",
|
|
261
|
-
name: (k == null ? void 0 : k.label) ?? "",
|
|
262
|
-
isFormColHidden: k == null ? void 0 : k.isTableColHidden
|
|
263
|
-
}));
|
|
264
|
-
}, o = (t) => {
|
|
265
|
-
(t == null ? void 0 : t.buttonName) === "确认" && r("filter", t == null ? void 0 : t.content), n.value = !1;
|
|
266
|
-
};
|
|
267
|
-
return ta(() => {
|
|
268
|
-
u(e.columns);
|
|
269
|
-
}), Ne(
|
|
270
|
-
() => e.columns,
|
|
271
|
-
() => {
|
|
272
|
-
u(e.columns);
|
|
273
|
-
},
|
|
274
|
-
{ deep: !0, immediate: !0 }
|
|
275
|
-
), (t, p) => {
|
|
276
|
-
var k;
|
|
277
|
-
const y = ia("el-tooltip");
|
|
278
|
-
return pe(), ke("div", en, [
|
|
279
|
-
ce("div", {
|
|
280
|
-
class: sl(a.compName ? "table-name-wrap" : "")
|
|
281
|
-
}, Pe(a.compName), 3),
|
|
282
|
-
ce("div", an, [
|
|
283
|
-
e != null && e.buttons && ((k = e == null ? void 0 : e.buttons) == null ? void 0 : k.length) > 0 ? (pe(), ke("div", ln, [
|
|
284
|
-
(pe(!0), ke(Qa, null, Xa(e == null ? void 0 : e.buttons, (D, w) => (pe(), ke("div", {
|
|
285
|
-
class: "extra-contents",
|
|
286
|
-
key: w
|
|
287
|
-
}, [
|
|
288
|
-
ce("div", {
|
|
289
|
-
class: "extra-content",
|
|
290
|
-
style: Ya({ background: (D == null ? void 0 : D.background) ?? "var(--ssbutton-theme-bg)", color: "var(--ssbutton-theme-color)" }),
|
|
291
|
-
onClick: (m) => c(D == null ? void 0 : D.label)
|
|
292
|
-
}, Pe(D == null ? void 0 : D.label), 13, nn)
|
|
293
|
-
]))), 128))
|
|
294
|
-
])) : Wa("", !0),
|
|
295
|
-
ce("div", rn, [
|
|
296
|
-
ue(Il, {
|
|
297
|
-
title: "筛选数据",
|
|
298
|
-
width: 500,
|
|
299
|
-
isVisible: n.value
|
|
300
|
-
}, {
|
|
301
|
-
reference: ie(() => [
|
|
302
|
-
ue(y, {
|
|
303
|
-
content: "筛选",
|
|
304
|
-
placement: "top-start"
|
|
305
|
-
}, {
|
|
306
|
-
default: ie(() => [
|
|
307
|
-
ce("div", {
|
|
308
|
-
class: "button-style",
|
|
309
|
-
onClick: p[0] || (p[0] = (D) => n.value = !n.value)
|
|
310
|
-
}, [
|
|
311
|
-
ue(tl(gl), { color: "var(--ssComponent-black)" })
|
|
312
|
-
])
|
|
313
|
-
]),
|
|
314
|
-
_: 1
|
|
315
|
-
})
|
|
316
|
-
]),
|
|
317
|
-
content: ie(() => [
|
|
318
|
-
ce("div", sn, [
|
|
319
|
-
(pe(), sa(Qe, {
|
|
320
|
-
rowContents: i.value,
|
|
321
|
-
buttonValue: s.value,
|
|
322
|
-
isRowFlex: !0,
|
|
323
|
-
isEnableWrap: !1,
|
|
324
|
-
isButtonRow: !1,
|
|
325
|
-
key: s.value,
|
|
326
|
-
isStartJustify: !1,
|
|
327
|
-
onOnButtonClick: o
|
|
328
|
-
}, null, 8, ["rowContents", "buttonValue"]))
|
|
329
|
-
])
|
|
330
|
-
]),
|
|
331
|
-
_: 1
|
|
332
|
-
}, 8, ["isVisible"])
|
|
333
|
-
])
|
|
334
|
-
])
|
|
335
|
-
]);
|
|
336
|
-
};
|
|
337
|
-
}
|
|
338
|
-
}, on = /* @__PURE__ */ ua(tn, [["__scopeId", "data-v-a3b05d95"]]), un = oa("formToTableComp", {
|
|
339
|
-
state: () => ({
|
|
340
|
-
selectArray: [],
|
|
341
|
-
selectString: ""
|
|
342
|
-
}),
|
|
343
|
-
actions: {
|
|
344
|
-
setSelectArray(a) {
|
|
345
|
-
this.selectArray = a;
|
|
346
|
-
},
|
|
347
|
-
setSelectString(a) {
|
|
348
|
-
this.selectString = a;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}), fn = { class: "calculator-content" }, cn = { class: "calculator-child" }, yn = { class: "calculator-child" }, pn = /* @__PURE__ */ ol({
|
|
352
|
-
__name: "calculator",
|
|
353
|
-
setup(a) {
|
|
354
|
-
const l = U(), r = U();
|
|
355
|
-
return ta(() => {
|
|
356
|
-
l.value = [
|
|
357
|
-
{
|
|
358
|
-
type: "Upload",
|
|
359
|
-
label: "输入",
|
|
360
|
-
name: "input"
|
|
361
|
-
}
|
|
362
|
-
], r.value = [
|
|
363
|
-
{
|
|
364
|
-
type: "Upload",
|
|
365
|
-
label: "输出",
|
|
366
|
-
name: "output"
|
|
367
|
-
}
|
|
368
|
-
];
|
|
369
|
-
}), (e, n) => (pe(), ke("div", fn, [
|
|
370
|
-
ce("div", cn, [
|
|
371
|
-
ue(Qe, {
|
|
372
|
-
rowContents: l.value,
|
|
373
|
-
isRowFlex: !0
|
|
374
|
-
}, null, 8, ["rowContents"])
|
|
375
|
-
]),
|
|
376
|
-
ce("div", yn, [
|
|
377
|
-
ue(Qe, {
|
|
378
|
-
rowContents: r.value,
|
|
379
|
-
isEdit: !1,
|
|
380
|
-
isRowFlex: !0
|
|
381
|
-
}, null, 8, ["rowContents"])
|
|
382
|
-
])
|
|
383
|
-
]));
|
|
384
|
-
}
|
|
385
|
-
}), dn = /* @__PURE__ */ ua(pn, [["__scopeId", "data-v-73db0fe7"]]), gn = oa("unit", {
|
|
386
|
-
state: () => ({
|
|
387
|
-
selectIndex: "",
|
|
388
|
-
selectMenu: "",
|
|
389
|
-
selectTitle: []
|
|
390
|
-
}),
|
|
391
|
-
actions: {
|
|
392
|
-
setSelectIndex(a) {
|
|
393
|
-
this.selectIndex = a;
|
|
394
|
-
},
|
|
395
|
-
setSelectMenu(a) {
|
|
396
|
-
this.selectMenu = a;
|
|
397
|
-
},
|
|
398
|
-
setSelectTitle(a) {
|
|
399
|
-
this.selectTitle = a;
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
}), el = (a, l) => {
|
|
403
|
-
let r = a, e = l;
|
|
404
|
-
return Array.isArray(r) && (r = r == null ? void 0 : r.map((n, i) => {
|
|
405
|
-
if (Array.isArray(n)) {
|
|
406
|
-
let s = {};
|
|
407
|
-
return n = n == null ? void 0 : n.forEach((c, u) => {
|
|
408
|
-
var o;
|
|
409
|
-
(o = e == null ? void 0 : e[u]) != null && o.prop ? s[e[u].prop] = c : Array.isArray(c) && (s.children = el(c, e));
|
|
410
|
-
}), Object.assign(s, { id: i });
|
|
411
|
-
} else
|
|
412
|
-
return n;
|
|
413
|
-
})), r;
|
|
414
|
-
}, al = (a, l, r) => {
|
|
415
|
-
let e = a, n = l;
|
|
416
|
-
return e = e == null ? void 0 : e.map((i, s) => {
|
|
417
|
-
var c, u;
|
|
418
|
-
return !Array.isArray(i) || !((c = n == null ? void 0 : n[s]) != null && c.label) && !r || (i.unshift(((u = n == null ? void 0 : n[s]) == null ? void 0 : u.label) ?? ""), i.some((o) => Array.isArray(o)) && (i = i == null ? void 0 : i.map((o) => {
|
|
419
|
-
var t;
|
|
420
|
-
return Array.isArray(o) && (o = al(o, (t = n == null ? void 0 : n[s]) == null ? void 0 : t.children, r)), o;
|
|
421
|
-
}))), i;
|
|
422
|
-
}), e;
|
|
423
|
-
}, hn = (a, l, r) => {
|
|
424
|
-
if (l === "")
|
|
425
|
-
return a == null ? void 0 : a.filter((e) => (e == null ? void 0 : e.id) !== r);
|
|
426
|
-
{
|
|
427
|
-
const e = l.split("-");
|
|
428
|
-
return bn(a, e, r);
|
|
429
|
-
}
|
|
430
|
-
}, bn = (a, l, r) => {
|
|
431
|
-
let e = a, n = l;
|
|
432
|
-
return (n == null ? void 0 : n.length) === 0 ? e = e == null ? void 0 : e.filter((i) => i.id !== r) : e = e == null ? void 0 : e.map((i) => (i.id.toString() === (n == null ? void 0 : n[0]) && (n == null || n.shift(), i = ll(i, n, r)), i)), e;
|
|
433
|
-
}, ll = (a, l, r) => {
|
|
434
|
-
var i, s;
|
|
435
|
-
let e = a, n = l;
|
|
436
|
-
return (n == null ? void 0 : n.length) === 0 ? e.children = (i = e.children) == null ? void 0 : i.filter((c) => c.id !== r) : e.children = (s = e.children) == null ? void 0 : s.map((c) => (c.id.toString() === (n == null ? void 0 : n[0]) && (n == null || n.shift(), c = ll(c, n, r)), c)), e;
|
|
437
|
-
}, mn = (a, l, r) => {
|
|
438
|
-
if (l === "")
|
|
439
|
-
return r;
|
|
440
|
-
{
|
|
441
|
-
const e = l.split("-");
|
|
442
|
-
return An(a, e, r);
|
|
443
|
-
}
|
|
444
|
-
}, An = (a, l, r) => {
|
|
445
|
-
let e = a, n = l;
|
|
446
|
-
return (n == null ? void 0 : n.length) === 0 ? e = r : e = e == null ? void 0 : e.map((i) => (i.id.toString() === (n == null ? void 0 : n[0]) && (n == null || n.shift(), i = nl(i, n, r)), i)), e;
|
|
447
|
-
}, nl = (a, l, r) => {
|
|
448
|
-
var i;
|
|
449
|
-
let e = a, n = l;
|
|
450
|
-
return (n == null ? void 0 : n.length) === 0 ? e.children = r : e.children = (i = e.children) == null ? void 0 : i.map((s) => (s.id.toString() === (n == null ? void 0 : n[0]) && (n == null || n.shift(), s = nl(s, n, r)), s)), e;
|
|
451
|
-
}, Ze = (a, l) => a == null ? void 0 : a.map((e) => {
|
|
452
|
-
var n, i, s, c, u, o;
|
|
453
|
-
if (Array.isArray(e) ? e = e : e = [e], (n = e == null ? void 0 : e.filter((t) => !(t != null && t.id))) != null && n.every((t) => typeof t != "object" || t === null))
|
|
454
|
-
return e;
|
|
455
|
-
if ((i = e == null ? void 0 : e.filter((t) => !(t != null && t.id))) != null && i.some((t) => Array.isArray(t)))
|
|
456
|
-
return e;
|
|
457
|
-
{
|
|
458
|
-
let t = [];
|
|
459
|
-
if (t.push(e == null ? void 0 : e.find((p) => p == null ? void 0 : p.id)), Array.isArray(l == null ? void 0 : l[0])) {
|
|
460
|
-
const p = (s = e == null ? void 0 : e.filter((y) => !(y != null && y.id))) == null ? void 0 : s[0];
|
|
461
|
-
(c = Xe(g(l == null ? void 0 : l[0]))) == null || c.forEach((y) => {
|
|
462
|
-
t.push(p == null ? void 0 : p[(y == null ? void 0 : y.prop) ?? (y == null ? void 0 : y.label) ?? y]);
|
|
463
|
-
});
|
|
464
|
-
} else {
|
|
465
|
-
const p = (u = e == null ? void 0 : e.filter((y) => !(y != null && y.id))) == null ? void 0 : u[0];
|
|
466
|
-
(o = Xe(g(l))) == null || o.forEach((y) => {
|
|
467
|
-
t.push(p == null ? void 0 : p[(y == null ? void 0 : y.prop) ?? (y == null ? void 0 : y.label) ?? y]);
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
return t;
|
|
471
|
-
}
|
|
472
|
-
}), Xn = (a) => {
|
|
473
|
-
try {
|
|
474
|
-
return JSON.parse(a), !0;
|
|
475
|
-
} catch {
|
|
476
|
-
return !1;
|
|
477
|
-
}
|
|
478
|
-
}, Ua = (a, l) => zl(a, l), Te = (a) => {
|
|
479
|
-
let l = [];
|
|
480
|
-
function r(n) {
|
|
481
|
-
Array.isArray(n) && (n == null || n.forEach((i) => {
|
|
482
|
-
Array.isArray(i) || (i = [i]), i == null || i.forEach((s) => {
|
|
483
|
-
!(s != null && s.children) || s.children.length === 0 ? l.push(s.label) : e(s.children);
|
|
484
|
-
});
|
|
485
|
-
}));
|
|
486
|
-
}
|
|
487
|
-
function e(n) {
|
|
488
|
-
n == null || n.forEach((i) => {
|
|
489
|
-
!(i != null && i.children) || i.children.length === 0 ? l.push(i.label) : e(i.children);
|
|
490
|
-
});
|
|
491
|
-
}
|
|
492
|
-
return r(a), l;
|
|
493
|
-
}, vn = (a, l, r) => {
|
|
494
|
-
var n;
|
|
495
|
-
let e = (n = g(a)) == null ? void 0 : n.map((i) => (i = i.filter((s) => !(s != null && s.id)), i));
|
|
496
|
-
return e = e == null ? void 0 : e.map((i) => {
|
|
497
|
-
var s;
|
|
498
|
-
return i = (s = i.map((c, u) => {
|
|
499
|
-
let o = {};
|
|
500
|
-
if (r != null && r.find((t) => t === l[u]))
|
|
501
|
-
return o[l[u]] = c, o;
|
|
502
|
-
})) == null ? void 0 : s.filter((c) => c), i;
|
|
503
|
-
}), e;
|
|
504
|
-
}, Yn = (a, l) => {
|
|
505
|
-
var s, c;
|
|
506
|
-
const r = g(a), e = (s = r == null ? void 0 : r.find((u) => (u == null ? void 0 : u.key) === "header")) == null ? void 0 : s.contents, n = (c = r == null ? void 0 : r.find((u) => (u == null ? void 0 : u.key) === "tableContents")) == null ? void 0 : c.contents;
|
|
507
|
-
return vn(n, Te(e).slice(0, Te(e).length - 1), l);
|
|
508
|
-
}, Zn = (a) => {
|
|
509
|
-
let l = {};
|
|
510
|
-
return a == null || a.forEach((r) => {
|
|
511
|
-
l[r.key] = r.value;
|
|
512
|
-
}), l;
|
|
513
|
-
}, zn = (a) => {
|
|
514
|
-
var r;
|
|
515
|
-
let l = [];
|
|
516
|
-
return (r = g(a)) == null || r.forEach((e) => {
|
|
517
|
-
let n = {};
|
|
518
|
-
e == null || e.forEach((i) => {
|
|
519
|
-
n[Object.keys(i)[0]] = Object.values(i)[0];
|
|
520
|
-
}), l.push(n);
|
|
521
|
-
}), l;
|
|
522
|
-
}, In = (a, l) => {
|
|
523
|
-
if (l != null && l[a])
|
|
524
|
-
return l == null ? void 0 : l[a];
|
|
525
|
-
}, kn = async (a) => {
|
|
526
|
-
var s, c, u;
|
|
527
|
-
if (!(a != null && a.extra)) return;
|
|
528
|
-
let l = (s = a == null ? void 0 : a.extra) == null ? void 0 : s.tableId, r = a == null ? void 0 : a.contents;
|
|
529
|
-
const n = (u = (await I({
|
|
530
|
-
key: {
|
|
531
|
-
type: "data",
|
|
532
|
-
pageKey: (c = a == null ? void 0 : a.extra) == null ? void 0 : c.pageKey,
|
|
533
|
-
tableId: l,
|
|
534
|
-
systemKey: sessionStorage.getItem("systemKey")
|
|
535
|
-
}
|
|
536
|
-
})).data.result) == null ? void 0 : u.map((o) => o == null ? void 0 : o.id);
|
|
537
|
-
n && (n == null ? void 0 : n.length) > 0 && await fl({
|
|
538
|
-
ids: n
|
|
539
|
-
});
|
|
540
|
-
let i = [];
|
|
541
|
-
r == null || r.forEach((o) => {
|
|
542
|
-
var p, y;
|
|
543
|
-
let t = {};
|
|
544
|
-
(p = Object.keys(o)) == null || p.forEach((k) => {
|
|
545
|
-
t[k.toUpperCase()] = o[k.toLowerCase()];
|
|
546
|
-
}), i.push({
|
|
547
|
-
key: {
|
|
548
|
-
type: "data",
|
|
549
|
-
pageKey: (y = a == null ? void 0 : a.extra) == null ? void 0 : y.pageKey,
|
|
550
|
-
tableId: l,
|
|
551
|
-
systemKey: sessionStorage.getItem("systemKey")
|
|
552
|
-
},
|
|
553
|
-
value: {
|
|
554
|
-
tableData: t
|
|
555
|
-
}
|
|
556
|
-
});
|
|
557
|
-
}), await We({
|
|
558
|
-
dataList: i
|
|
559
|
-
});
|
|
560
|
-
}, Tn = (a, l) => {
|
|
561
|
-
var i;
|
|
562
|
-
let r = g(a), e = !1, n = Object.keys(l);
|
|
563
|
-
return (i = r.compData) == null || i.forEach((s) => {
|
|
564
|
-
var c;
|
|
565
|
-
Array.isArray(s == null ? void 0 : s.contents) && ((c = s == null ? void 0 : s.contents) == null || c.forEach((u) => {
|
|
566
|
-
e = n.includes(u.key);
|
|
567
|
-
}));
|
|
568
|
-
}), e;
|
|
569
|
-
}, er = (a, l) => {
|
|
570
|
-
var n;
|
|
571
|
-
let r = g(a);
|
|
572
|
-
return Tn(g(r), l) && (r.compData = (n = r.compData) == null ? void 0 : n.map((i) => {
|
|
573
|
-
var s;
|
|
574
|
-
return (i == null ? void 0 : i.key) === "formContent" && (i.contents = (s = i == null ? void 0 : i.contents) == null ? void 0 : s.map((c) => (Object.keys(l).includes(c.key) && (c.value = l[c.key]), c))), i;
|
|
575
|
-
})), r;
|
|
576
|
-
}, ar = (a) => {
|
|
577
|
-
let l = g(a);
|
|
578
|
-
return l == null || l.forEach((r) => {
|
|
579
|
-
let e = {};
|
|
580
|
-
for (let n in r)
|
|
581
|
-
e[n.toUpperCase()] = r[n];
|
|
582
|
-
}), l;
|
|
583
|
-
}, lr = async (a) => {
|
|
584
|
-
var s, c, u, o, t;
|
|
585
|
-
let l = (c = (s = a == null ? void 0 : a[0]) == null ? void 0 : s.find((p) => p == null ? void 0 : p.id)) == null ? void 0 : c.id;
|
|
586
|
-
const r = await I({
|
|
587
|
-
id: l
|
|
588
|
-
});
|
|
589
|
-
let e = await ((t = (o = (u = r == null ? void 0 : r.data) == null ? void 0 : u.result) == null ? void 0 : o[0]) == null ? void 0 : t.key), n = e == null ? void 0 : e.pageKey, i = e == null ? void 0 : e.tableId;
|
|
590
|
-
return {
|
|
591
|
-
pageKey: n,
|
|
592
|
-
tableId: i
|
|
593
|
-
};
|
|
594
|
-
}, Dn = async (a) => {
|
|
595
|
-
let l = {
|
|
596
|
-
comp: a == null ? void 0 : a.comp,
|
|
597
|
-
compData: a == null ? void 0 : a.compData,
|
|
598
|
-
name: a == null ? void 0 : a.name
|
|
599
|
-
};
|
|
600
|
-
await Be({
|
|
601
|
-
id: a == null ? void 0 : a.id,
|
|
602
|
-
value: {
|
|
603
|
-
pageData: l
|
|
604
|
-
}
|
|
605
|
-
});
|
|
606
|
-
}, nr = async (a) => {
|
|
607
|
-
let l = a == null ? void 0 : a.map(async (r) => {
|
|
608
|
-
var n;
|
|
609
|
-
let e;
|
|
610
|
-
return (r == null ? void 0 : r.comp) === "Form" ? e = await Dn(r) : (r == null ? void 0 : r.comp) === "Table" && (e = await kn((n = r == null ? void 0 : r.compData) == null ? void 0 : n.find((i) => (i == null ? void 0 : i.key) === "tableContents"))), e;
|
|
611
|
-
});
|
|
612
|
-
await Promise.all(l);
|
|
613
|
-
}, re = (a) => {
|
|
614
|
-
var n, i, s, c;
|
|
615
|
-
const l = a;
|
|
616
|
-
let r = [];
|
|
617
|
-
l.compData = (n = l.compData) == null ? void 0 : n.filter((u) => (u == null ? void 0 : u.key) !== "tableContents" && (u == null ? void 0 : u.key) !== "tableIndex");
|
|
618
|
-
const e = (s = (i = g(l.compData)) == null ? void 0 : i.find((u) => (u == null ? void 0 : u.key) === "tableIndexColumn")) == null ? void 0 : s.contents;
|
|
619
|
-
return (c = g(l.compData)) == null || c.forEach((u) => {
|
|
620
|
-
if ((u == null ? void 0 : u.key) !== "tableIndexColumn" && (u == null ? void 0 : u.key) !== "header")
|
|
621
|
-
r.push(u);
|
|
622
|
-
else if ((u == null ? void 0 : u.key) === "header") {
|
|
623
|
-
let o = u.contents;
|
|
624
|
-
e && (o != null && o.every((t) => Array.isArray(t)) ? o == null || o[0].unshift({ label: e }) : o.unshift({ label: e })), r.push({
|
|
625
|
-
key: "header",
|
|
626
|
-
contents: o
|
|
627
|
-
});
|
|
628
|
-
}
|
|
629
|
-
}), l.compData = r, l;
|
|
630
|
-
}, la = (a) => {
|
|
631
|
-
var i, s, c, u, o;
|
|
632
|
-
const l = (i = a.compData) == null ? void 0 : i.filter((t) => (t == null ? void 0 : t.key) === "tableContents" || (t == null ? void 0 : t.key) === "tableIndex"), r = (c = (s = l == null ? void 0 : l.find((t) => (t == null ? void 0 : t.key) === "tableIndex")) == null ? void 0 : s.contents) == null ? void 0 : c.map((t) => t.label), e = (u = l == null ? void 0 : l.find((t) => (t == null ? void 0 : t.key) === "tableContents")) == null ? void 0 : u.contents;
|
|
633
|
-
let n = [];
|
|
634
|
-
return (r == null ? void 0 : r.length) > 0 && (e != null && e.every((t) => Array.isArray(t))) ? n = r == null ? void 0 : r.map((t, p) => e[p] ? [t, ...e[p]] : [t]) : Array.isArray(e == null ? void 0 : e[0]) && ((o = e == null ? void 0 : e[0]) != null && o.every((t) => Array.isArray(t))) ? n = e == null ? void 0 : e[0] : Array.isArray(e == null ? void 0 : e[0]) ? n = e : n.push(e), n;
|
|
635
|
-
}, wn = (a) => {
|
|
636
|
-
const l = [];
|
|
637
|
-
function r(e) {
|
|
638
|
-
!e || e.length === 0 || (l.push(e == null ? void 0 : e.map((n) => ({ label: n.label }))), e == null || e.forEach((n) => {
|
|
639
|
-
n != null && n.children && (n == null ? void 0 : n.children.length) > 0 && r(n == null ? void 0 : n.children);
|
|
640
|
-
}));
|
|
641
|
-
}
|
|
642
|
-
return r(a), l;
|
|
643
|
-
}, _n = (a) => {
|
|
644
|
-
const l = [];
|
|
645
|
-
function r(e, n = []) {
|
|
646
|
-
!e || e.length === 0 || (l.push({
|
|
647
|
-
key: n == null ? void 0 : n.filter((i) => !Array.isArray(i)),
|
|
648
|
-
value: e
|
|
649
|
-
}), e == null || e.forEach((i) => {
|
|
650
|
-
i != null && i.some((s) => Array.isArray(s)) && r(i.find((s) => Array.isArray(s)), i);
|
|
651
|
-
}));
|
|
652
|
-
}
|
|
653
|
-
return r(a), l;
|
|
654
|
-
}, Cn = (a) => {
|
|
655
|
-
const l = [];
|
|
656
|
-
function r(e) {
|
|
657
|
-
!e || e.length === 0 || (l.push(e == null ? void 0 : e.map((n) => n == null ? void 0 : n.filter((i) => !Array.isArray(i)))), e == null || e.forEach((n) => {
|
|
658
|
-
n != null && n.some((i) => Array.isArray(i)) && r(n.find((i) => Array.isArray(i)));
|
|
659
|
-
}));
|
|
660
|
-
}
|
|
661
|
-
return r(a), l;
|
|
662
|
-
}, Kn = (a) => {
|
|
663
|
-
const l = [];
|
|
664
|
-
function r(e) {
|
|
665
|
-
var n;
|
|
666
|
-
!e || e.length === 0 || (e != null && e.every((i) => !Array.isArray(i)) ? l.push(e) : (l.push((n = e == null ? void 0 : e.map((i) => i == null ? void 0 : i.filter((s) => !Array.isArray(s)))) == null ? void 0 : n[0]), e == null || e.forEach((i) => {
|
|
667
|
-
i != null && i.some((s) => Array.isArray(s)) && r(i.find((s) => Array.isArray(s)));
|
|
668
|
-
})));
|
|
669
|
-
}
|
|
670
|
-
return r(a), l;
|
|
671
|
-
}, On = (a, l) => {
|
|
672
|
-
let r;
|
|
673
|
-
function e(n, i, s = 1) {
|
|
674
|
-
var u;
|
|
675
|
-
if (!n || n.length === 0) return;
|
|
676
|
-
const c = (u = g(i)) == null ? void 0 : u.map((o) => o == null ? void 0 : o.filter((t) => !Array.isArray(t)));
|
|
677
|
-
return c != null && c.find((o) => Ua(o, n == null ? void 0 : n.key)) ? (i == null || i.forEach((o) => {
|
|
678
|
-
!e(n, o.find((p) => Array.isArray(p))) && Ua(o.filter((p) => !Array.isArray(p)), n == null ? void 0 : n.key) && (r = {
|
|
679
|
-
type: s,
|
|
680
|
-
contents: o.filter((p) => !Array.isArray(p))
|
|
681
|
-
});
|
|
682
|
-
}), !0) : !1;
|
|
683
|
-
}
|
|
684
|
-
return e(a, l, 0), r;
|
|
685
|
-
}, qa = (a, l) => {
|
|
686
|
-
function r(e, n) {
|
|
687
|
-
return !e || e.length === 0 || e == null ? void 0 : e.map((s, c) => {
|
|
688
|
-
var o, t;
|
|
689
|
-
let u = s;
|
|
690
|
-
return u.unshift((o = n == null ? void 0 : n[c]) == null ? void 0 : o.label), u.some((p) => Array.isArray(p)) && (u[u.length - 1] = r(u.find((p) => Array.isArray(p)), (t = n == null ? void 0 : n[c]) == null ? void 0 : t.children)), u;
|
|
691
|
-
});
|
|
692
|
-
}
|
|
693
|
-
return r(a, l);
|
|
694
|
-
}, Ge = (a) => {
|
|
695
|
-
var r, e, n, i, s, c, u, o, t, p, y, k, D, w, m, j, B, S, M, T, J, q, F, P, $;
|
|
696
|
-
const l = a;
|
|
697
|
-
if ((a == null ? void 0 : a.comp) === "Table") {
|
|
698
|
-
if ((n = (e = (r = a.compData) == null ? void 0 : r.find((K) => (K == null ? void 0 : K.key) === "tableIndex")) == null ? void 0 : e.contents) != null && n.every((K) => !(K != null && K.children)) || !((i = a.compData) != null && i.find((K) => (K == null ? void 0 : K.key) === "tableIndex")))
|
|
699
|
-
return ((u = (c = (s = l.compData) == null ? void 0 : s.find((K) => (K == null ? void 0 : K.key) === "tableContents")) == null ? void 0 : c.contents) == null ? void 0 : u.length) === 1 && ((y = (p = (t = (o = l.compData) == null ? void 0 : o.find((K) => (K == null ? void 0 : K.key) === "tableContents")) == null ? void 0 : t.contents) == null ? void 0 : p[0]) != null && y.every((K) => Array.isArray(K))) ? (l.compData = (k = l.compData) == null ? void 0 : k.map((K) => {
|
|
700
|
-
var H;
|
|
701
|
-
return (K == null ? void 0 : K.key) === "tableContents" && (K.contents = (H = K.contents) == null ? void 0 : H[0]), K;
|
|
702
|
-
}), [l]) : [l];
|
|
703
|
-
{
|
|
704
|
-
let K = [];
|
|
705
|
-
const H = l.compData, G = (D = g(H)) == null ? void 0 : D.find((N) => (N == null ? void 0 : N.key) === "tableIndexColumn"), Q = (w = g(H)) == null ? void 0 : w.find((N) => (N == null ? void 0 : N.key) === "extraButton"), C = (m = g(H)) == null ? void 0 : m.find((N) => (N == null ? void 0 : N.key) === "rowButton"), W = Kn((B = (j = g(H)) == null ? void 0 : j.find((N) => (N == null ? void 0 : N.key) === "header")) == null ? void 0 : B.contents), x = (S = g(H)) == null ? void 0 : S.find((N) => (N == null ? void 0 : N.key) === "tableIndex"), X = Cn((T = (M = g(H)) == null ? void 0 : M.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : T.contents), Ce = qa((q = (J = g(H)) == null ? void 0 : J.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : q.contents, x == null ? void 0 : x.contents), be = _n(qa((P = (F = g(H)) == null ? void 0 : F.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : P.contents, x == null ? void 0 : x.contents));
|
|
706
|
-
if (x)
|
|
707
|
-
return ($ = wn(x.contents)) == null || $.forEach((N, me) => {
|
|
708
|
-
var Ke;
|
|
709
|
-
let ye = [];
|
|
710
|
-
ye.push({
|
|
711
|
-
key: "tableIndex",
|
|
712
|
-
contents: N
|
|
713
|
-
}), ye.push(G), ye.push(Q), ye.push(C), ye.push({
|
|
714
|
-
key: "tableContents",
|
|
715
|
-
contents: X[me]
|
|
716
|
-
}), ye.push({
|
|
717
|
-
key: "header",
|
|
718
|
-
contents: W != null && W[me] ? [W == null ? void 0 : W[me]] : [W == null ? void 0 : W[0]]
|
|
719
|
-
}), K.push({
|
|
720
|
-
comp: "Table",
|
|
721
|
-
compData: ye,
|
|
722
|
-
name: "",
|
|
723
|
-
parentTableContents: ((Ke = On(be[me], Ce)) == null ? void 0 : Ke.contents) ?? ""
|
|
724
|
-
});
|
|
725
|
-
}), K;
|
|
726
|
-
}
|
|
727
|
-
} else
|
|
728
|
-
return [l];
|
|
729
|
-
}, Fe = (a, l) => {
|
|
730
|
-
let r = {};
|
|
731
|
-
return Array.isArray(a) ? a == null || a.forEach((e, n) => {
|
|
732
|
-
r[l[n]] = e;
|
|
733
|
-
}) : [a].forEach((e, n) => {
|
|
734
|
-
r[l[n]] = e;
|
|
735
|
-
}), r;
|
|
736
|
-
}, Sn = (a) => {
|
|
737
|
-
var r, e;
|
|
738
|
-
let l = "";
|
|
739
|
-
return (e = (r = g(a)) == null ? void 0 : r.split("/")) == null || e.forEach((n, i) => {
|
|
740
|
-
var s, c;
|
|
741
|
-
i < ((c = (s = g(a)) == null ? void 0 : s.split("/")) == null ? void 0 : c.length) - 1 && (l = l === "" ? l + n : l + "/" + n);
|
|
742
|
-
}), l;
|
|
743
|
-
}, En = async (a) => {
|
|
744
|
-
const l = g(a);
|
|
745
|
-
let r = [], e = [];
|
|
746
|
-
l == null || l.forEach((n) => {
|
|
747
|
-
!(e != null && e.find((i) => (i == null ? void 0 : i.parentKey) === (n == null ? void 0 : n.parentKey))) && (n == null ? void 0 : n.parentKey) !== "" && e.push(n);
|
|
748
|
-
}), e = e == null ? void 0 : e.map((n) => {
|
|
749
|
-
var i;
|
|
750
|
-
return n.content = (i = n.content) == null ? void 0 : i.map((s) => {
|
|
751
|
-
var c;
|
|
752
|
-
return s.key = {
|
|
753
|
-
pageKey: (n == null ? void 0 : n.parentKey) ?? "",
|
|
754
|
-
systemKey: ((c = s.key) == null ? void 0 : c.systemKey) ?? "",
|
|
755
|
-
version: 1,
|
|
756
|
-
type: "subStructure"
|
|
757
|
-
}, s;
|
|
758
|
-
}), n.content;
|
|
759
|
-
}), (e == null ? void 0 : e.length) > 0 && (r = e == null ? void 0 : e.map(async (n) => {
|
|
760
|
-
let i;
|
|
761
|
-
return (n == null ? void 0 : n.length) > 0 && (i = await We({
|
|
762
|
-
dataList: n
|
|
763
|
-
})), i;
|
|
764
|
-
})), await Promise.all(r);
|
|
765
|
-
}, rr = async (a) => {
|
|
766
|
-
let l = [], r = [];
|
|
767
|
-
a == null || a.map(async (e) => {
|
|
768
|
-
var n;
|
|
769
|
-
await ((n = e.compData) == null ? void 0 : n.forEach(async (i) => {
|
|
770
|
-
var c, u, o;
|
|
771
|
-
const s = (c = g(i == null ? void 0 : i.contents)) == null ? void 0 : c.map((t) => {
|
|
772
|
-
var p, y, k, D;
|
|
773
|
-
if (Array.isArray(t)) {
|
|
774
|
-
let w = (p = t == null ? void 0 : t.map) == null ? void 0 : p.call(t, (m) => {
|
|
775
|
-
var B;
|
|
776
|
-
return (B = Ge(g(m))) == null ? void 0 : B.map((S) => {
|
|
777
|
-
var M, T, J, q;
|
|
778
|
-
if (m.comp === "Table")
|
|
779
|
-
return {
|
|
780
|
-
key: {
|
|
781
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
782
|
-
pageKey: e.name,
|
|
783
|
-
type: "structure",
|
|
784
|
-
version: 1,
|
|
785
|
-
parentTable: (S == null ? void 0 : S.parentTableContents) ?? ""
|
|
786
|
-
},
|
|
787
|
-
value: {
|
|
788
|
-
pageData: {
|
|
789
|
-
comp: (M = re(g(S))) == null ? void 0 : M.comp,
|
|
790
|
-
compData: (T = re(g(S))) == null ? void 0 : T.compData,
|
|
791
|
-
name: (J = re(g(S))) == null ? void 0 : J.name
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
};
|
|
795
|
-
if ((S == null ? void 0 : S.key) === "extraButton") {
|
|
796
|
-
if (((q = Object.values(S == null ? void 0 : S.value)) == null ? void 0 : q.length) !== 0)
|
|
797
|
-
return {
|
|
798
|
-
key: {
|
|
799
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
800
|
-
pageKey: e.name,
|
|
801
|
-
type: "structureMethod",
|
|
802
|
-
version: 1
|
|
803
|
-
},
|
|
804
|
-
value: {
|
|
805
|
-
pageData: S.value
|
|
806
|
-
}
|
|
807
|
-
};
|
|
808
|
-
} else
|
|
809
|
-
return {
|
|
810
|
-
key: {
|
|
811
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
812
|
-
pageKey: e.name,
|
|
813
|
-
type: "structure",
|
|
814
|
-
version: 1,
|
|
815
|
-
parentTable: (S == null ? void 0 : S.parentTableContents) ?? ""
|
|
816
|
-
},
|
|
817
|
-
value: {
|
|
818
|
-
pageData: S
|
|
819
|
-
}
|
|
820
|
-
};
|
|
821
|
-
});
|
|
822
|
-
});
|
|
823
|
-
return w = (y = w == null ? void 0 : w.map((m) => m != null && m.every((j) => j) ? m : [])) == null ? void 0 : y.filter((m) => m.length > 0), (k = w == null ? void 0 : w[0]) == null ? void 0 : k[0];
|
|
824
|
-
} else {
|
|
825
|
-
const w = (D = Ge(g(t))) == null ? void 0 : D.map((m) => {
|
|
826
|
-
var j, B, S, M;
|
|
827
|
-
if (t.comp === "Table")
|
|
828
|
-
return {
|
|
829
|
-
key: {
|
|
830
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
831
|
-
pageKey: e.name,
|
|
832
|
-
type: "structure",
|
|
833
|
-
version: 1,
|
|
834
|
-
parentTable: (m == null ? void 0 : m.parentTableContents) ?? ""
|
|
835
|
-
},
|
|
836
|
-
value: {
|
|
837
|
-
pageData: {
|
|
838
|
-
comp: (j = re(g(m))) == null ? void 0 : j.comp,
|
|
839
|
-
compData: (B = re(g(m))) == null ? void 0 : B.compData,
|
|
840
|
-
name: (S = re(g(m))) == null ? void 0 : S.name
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
};
|
|
844
|
-
if ((m == null ? void 0 : m.key) === "extraButton") {
|
|
845
|
-
if (((M = Object.values(m == null ? void 0 : m.value)) == null ? void 0 : M.length) !== 0)
|
|
846
|
-
return {
|
|
847
|
-
key: {
|
|
848
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
849
|
-
pageKey: e.name,
|
|
850
|
-
type: "structureMethod",
|
|
851
|
-
version: 1
|
|
852
|
-
},
|
|
853
|
-
value: {
|
|
854
|
-
pageData: m.value
|
|
855
|
-
}
|
|
856
|
-
};
|
|
857
|
-
} else
|
|
858
|
-
return {
|
|
859
|
-
key: {
|
|
860
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
861
|
-
pageKey: e.name,
|
|
862
|
-
type: "structure",
|
|
863
|
-
version: 1,
|
|
864
|
-
parentTable: (m == null ? void 0 : m.parentTableContents) ?? ""
|
|
865
|
-
},
|
|
866
|
-
value: {
|
|
867
|
-
pageData: m
|
|
868
|
-
}
|
|
869
|
-
};
|
|
870
|
-
});
|
|
871
|
-
return w == null ? void 0 : w[0];
|
|
872
|
-
}
|
|
873
|
-
});
|
|
874
|
-
if (r.push({
|
|
875
|
-
parentKey: Sn((u = g(e)) == null ? void 0 : u.name),
|
|
876
|
-
content: s
|
|
877
|
-
}), (s == null ? void 0 : s.length) > 0) {
|
|
878
|
-
const t = await We({
|
|
879
|
-
dataList: s
|
|
880
|
-
});
|
|
881
|
-
l.push(t);
|
|
882
|
-
}
|
|
883
|
-
(o = i.contents) == null || o.map(async (t) => {
|
|
884
|
-
var p;
|
|
885
|
-
Array.isArray(t) ? t == null || t.forEach(async (y) => {
|
|
886
|
-
var k;
|
|
887
|
-
(k = Ge(g(y))) == null || k.forEach(async (D) => {
|
|
888
|
-
var w, m, j, B, S, M;
|
|
889
|
-
if (y.comp === "Table") {
|
|
890
|
-
const J = (S = (B = (await I({
|
|
891
|
-
key: {
|
|
892
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
893
|
-
pageKey: e.name,
|
|
894
|
-
type: "structure",
|
|
895
|
-
version: 1,
|
|
896
|
-
parentTable: (D == null ? void 0 : D.parentTableContents) ?? ""
|
|
897
|
-
},
|
|
898
|
-
value: {
|
|
899
|
-
pageData: {
|
|
900
|
-
comp: (w = re(g(D))) == null ? void 0 : w.comp,
|
|
901
|
-
compData: (m = re(g(D))) == null ? void 0 : m.compData,
|
|
902
|
-
name: (j = re(g(D))) == null ? void 0 : j.name
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
})).data.result) == null ? void 0 : B[0]) == null ? void 0 : S.id, q = await ((M = la(g(D))) == null ? void 0 : M.map(async (F) => {
|
|
906
|
-
var H, G, Q, C, W;
|
|
907
|
-
let P;
|
|
908
|
-
F.length !== 0 && (P = await na({
|
|
909
|
-
key: {
|
|
910
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
911
|
-
pageKey: e.name,
|
|
912
|
-
type: "data",
|
|
913
|
-
tableId: J
|
|
914
|
-
},
|
|
915
|
-
value: {
|
|
916
|
-
tableData: Fe(F, (C = Te((Q = (G = (H = re(g(D))) == null ? void 0 : H.compData) == null ? void 0 : G.find((x) => (x == null ? void 0 : x.key) === "header")) == null ? void 0 : Q.contents)) == null ? void 0 : C.filter((x) => x !== "操作"))
|
|
917
|
-
}
|
|
918
|
-
}));
|
|
919
|
-
const K = await ((W = (await I({
|
|
920
|
-
key: {
|
|
921
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
922
|
-
pageKey: e.name,
|
|
923
|
-
type: "structure",
|
|
924
|
-
parentTable: F
|
|
925
|
-
}
|
|
926
|
-
})).data.result) == null ? void 0 : W.map(async (x) => await Be({
|
|
927
|
-
id: x.id,
|
|
928
|
-
key: {
|
|
929
|
-
systemKey: x.key.systemKey,
|
|
930
|
-
pageKey: x.key.pageKey,
|
|
931
|
-
type: x.key.type,
|
|
932
|
-
version: x.key.version,
|
|
933
|
-
parentTable: P.data.result
|
|
934
|
-
}
|
|
935
|
-
})));
|
|
936
|
-
return l.push(K), P;
|
|
937
|
-
}));
|
|
938
|
-
l.push(q);
|
|
939
|
-
}
|
|
940
|
-
});
|
|
941
|
-
}) : (p = Ge(g(t))) == null || p.forEach(async (y) => {
|
|
942
|
-
var k, D, w, m, j, B, S;
|
|
943
|
-
if (t.comp === "Table") {
|
|
944
|
-
const T = (j = (m = (await I({
|
|
945
|
-
key: {
|
|
946
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
947
|
-
pageKey: e.name,
|
|
948
|
-
type: "structure",
|
|
949
|
-
version: 1,
|
|
950
|
-
parentTable: (y == null ? void 0 : y.parentTableContents) ?? ""
|
|
951
|
-
},
|
|
952
|
-
value: {
|
|
953
|
-
pageData: {
|
|
954
|
-
comp: (k = re(g(y))) == null ? void 0 : k.comp,
|
|
955
|
-
compData: (D = re(g(y))) == null ? void 0 : D.compData,
|
|
956
|
-
name: (w = re(g(y))) == null ? void 0 : w.name
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
})).data.result) == null ? void 0 : m[0]) == null ? void 0 : j.id, J = (B = la(g(y))) == null ? void 0 : B.map((P) => {
|
|
960
|
-
var $, K, H, G;
|
|
961
|
-
if ((P == null ? void 0 : P.length) !== 0)
|
|
962
|
-
return {
|
|
963
|
-
key: {
|
|
964
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
965
|
-
pageKey: e.name,
|
|
966
|
-
type: "data",
|
|
967
|
-
tableId: T
|
|
968
|
-
},
|
|
969
|
-
value: {
|
|
970
|
-
tableData: Fe(P, (G = Te((H = (K = ($ = re(g(y))) == null ? void 0 : $.compData) == null ? void 0 : K.find((Q) => (Q == null ? void 0 : Q.key) === "header")) == null ? void 0 : H.contents)) == null ? void 0 : G.filter((Q) => Q !== "操作"))
|
|
971
|
-
}
|
|
972
|
-
};
|
|
973
|
-
}), q = await We({
|
|
974
|
-
dataList: J
|
|
975
|
-
});
|
|
976
|
-
l.push(q);
|
|
977
|
-
const F = await ((S = la(g(y))) == null ? void 0 : S.map(async (P) => {
|
|
978
|
-
var G, Q, C, W, x;
|
|
979
|
-
let $;
|
|
980
|
-
return (P == null ? void 0 : P.length) !== 0 && ($ = await I({
|
|
981
|
-
key: {
|
|
982
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
983
|
-
pageKey: e.name,
|
|
984
|
-
type: "data",
|
|
985
|
-
tableId: T
|
|
986
|
-
},
|
|
987
|
-
value: {
|
|
988
|
-
tableData: Fe(P, (W = Te((C = (Q = (G = re(g(y))) == null ? void 0 : G.compData) == null ? void 0 : Q.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : C.contents)) == null ? void 0 : W.filter((X) => X !== "操作"))
|
|
989
|
-
}
|
|
990
|
-
})), await ((x = (await I({
|
|
991
|
-
key: {
|
|
992
|
-
parentTable: P,
|
|
993
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
994
|
-
pageKey: e.name,
|
|
995
|
-
type: "structure"
|
|
996
|
-
}
|
|
997
|
-
})).data.result) == null ? void 0 : x.map(async (X) => {
|
|
998
|
-
var be, N;
|
|
999
|
-
return await Be({
|
|
1000
|
-
id: X.id,
|
|
1001
|
-
key: {
|
|
1002
|
-
systemKey: X.key.systemKey,
|
|
1003
|
-
pageKey: X.key.pageKey,
|
|
1004
|
-
type: X.key.type,
|
|
1005
|
-
version: X.key.version,
|
|
1006
|
-
parentTable: X.key.parentTable === "" ? "" : (N = (be = $.data.result) == null ? void 0 : be[0]) == null ? void 0 : N.id
|
|
1007
|
-
}
|
|
1008
|
-
});
|
|
1009
|
-
}));
|
|
1010
|
-
}));
|
|
1011
|
-
l.push(F);
|
|
1012
|
-
}
|
|
1013
|
-
});
|
|
1014
|
-
});
|
|
1015
|
-
}));
|
|
1016
|
-
}), await Promise.all(l), await En(r);
|
|
1017
|
-
}, ra = Za(Le), { activeMenuPath: Pn } = Ve(ra), Fn = (a) => {
|
|
1018
|
-
var r;
|
|
1019
|
-
const l = Array.isArray(a) ? a == null ? void 0 : a[0] : {};
|
|
1020
|
-
return (r = l == null ? void 0 : l.contents) == null ? void 0 : r.map((e) => ({
|
|
1021
|
-
...e[0],
|
|
1022
|
-
...e[1]
|
|
1023
|
-
}));
|
|
1024
|
-
}, Nn = async (a, l) => {
|
|
1025
|
-
var o, t, p, y, k, D, w, m, j, B, S, M, T, J, q, F;
|
|
1026
|
-
const r = (t = (o = a == null ? void 0 : a.find((P) => (P == null ? void 0 : P.key) === "header")) == null ? void 0 : o.contents) == null ? void 0 : t.find((P) => P == null ? void 0 : P.columnPath);
|
|
1027
|
-
let e = (y = (p = g(r == null ? void 0 : r.columnPath)) == null ? void 0 : p.split("[")) == null ? void 0 : y[0], n = (j = (m = (w = (D = (k = g(r == null ? void 0 : r.columnPath)) == null ? void 0 : k.split("[")) == null ? void 0 : D[1]) == null ? void 0 : w.split("]")) == null ? void 0 : m[0]) == null ? void 0 : j.replaceAll("'", ""), i = [];
|
|
1028
|
-
const s = await I({
|
|
1029
|
-
key: {
|
|
1030
|
-
pageKey: e,
|
|
1031
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
1032
|
-
type: "structure"
|
|
1033
|
-
}
|
|
1034
|
-
}), c = await I({
|
|
1035
|
-
key: {
|
|
1036
|
-
pageKey: Pn.value,
|
|
1037
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
1038
|
-
tableId: parseInt(l),
|
|
1039
|
-
type: "data"
|
|
1040
|
-
}
|
|
1041
|
-
}), u = [];
|
|
1042
|
-
if ((S = (B = c == null ? void 0 : c.data) == null ? void 0 : B.result) == null || S.forEach((P) => {
|
|
1043
|
-
u.push(
|
|
1044
|
-
[
|
|
1045
|
-
{
|
|
1046
|
-
id: P == null ? void 0 : P.id
|
|
1047
|
-
},
|
|
1048
|
-
P.value.tableData
|
|
1049
|
-
]
|
|
1050
|
-
);
|
|
1051
|
-
}), Array.isArray((M = s == null ? void 0 : s.data) == null ? void 0 : M.result) && ((J = (T = s == null ? void 0 : s.data) == null ? void 0 : T.result) == null ? void 0 : J.length) > 0) {
|
|
1052
|
-
const P = await ((F = (q = s == null ? void 0 : s.data) == null ? void 0 : q.result) == null ? void 0 : F.map(async ($) => {
|
|
1053
|
-
var K, H, G, Q, C, W, x, X, Ce, be, N, me, ye, Ke, Re;
|
|
1054
|
-
if (((H = (K = $ == null ? void 0 : $.value) == null ? void 0 : K.pageData) == null ? void 0 : H.name) === n) {
|
|
1055
|
-
i = g((Q = (G = $ == null ? void 0 : $.value) == null ? void 0 : G.pageData) == null ? void 0 : Q.compData);
|
|
1056
|
-
const je = await I({
|
|
1057
|
-
key: {
|
|
1058
|
-
pageKey: e,
|
|
1059
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
1060
|
-
tableId: $ == null ? void 0 : $.id,
|
|
1061
|
-
type: "data"
|
|
1062
|
-
}
|
|
1063
|
-
}), ze = (W = (C = je == null ? void 0 : je.data) == null ? void 0 : C.result) == null ? void 0 : W.map((Y) => {
|
|
1064
|
-
var f;
|
|
1065
|
-
let Oe = [];
|
|
1066
|
-
return Oe.push({
|
|
1067
|
-
id: Y == null ? void 0 : Y.id
|
|
1068
|
-
}), Oe.push((f = Y == null ? void 0 : Y.value) == null ? void 0 : f.tableData), Oe;
|
|
1069
|
-
});
|
|
1070
|
-
let Je = Ze(u, (be = (Ce = (X = (x = $ == null ? void 0 : $.value) == null ? void 0 : x.pageData) == null ? void 0 : X.compData) == null ? void 0 : Ce.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : be.contents), $e = !1;
|
|
1071
|
-
$e = ((N = g(Je)) == null ? void 0 : N.map((Y) => Y.slice(1))).every((Y) => Y.every((Oe) => Oe === void 0)), $e ? i.push({
|
|
1072
|
-
key: "tableContents",
|
|
1073
|
-
contents: Ze(ze, (Re = (Ke = (ye = (me = $ == null ? void 0 : $.value) == null ? void 0 : me.pageData) == null ? void 0 : ye.compData) == null ? void 0 : Ke.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : Re.contents)
|
|
1074
|
-
}) : i.push({
|
|
1075
|
-
key: "tableContents",
|
|
1076
|
-
contents: Je
|
|
1077
|
-
});
|
|
1078
|
-
}
|
|
1079
|
-
}));
|
|
1080
|
-
await Promise.all(P);
|
|
1081
|
-
}
|
|
1082
|
-
return i;
|
|
1083
|
-
}, Ga = async (a, l, r = "", e, n = !1, i) => {
|
|
1084
|
-
var D, w, m, j, B, S, M;
|
|
1085
|
-
let s;
|
|
1086
|
-
if (!n)
|
|
1087
|
-
s = await I({
|
|
1088
|
-
key: {
|
|
1089
|
-
pageKey: a,
|
|
1090
|
-
systemKey: l,
|
|
1091
|
-
parentTable: r
|
|
1092
|
-
}
|
|
1093
|
-
});
|
|
1094
|
-
else {
|
|
1095
|
-
let T = i == null ? void 0 : i.map((q) => {
|
|
1096
|
-
if (q)
|
|
1097
|
-
return I({ id: q });
|
|
1098
|
-
});
|
|
1099
|
-
const J = await Promise.all(T);
|
|
1100
|
-
s = {
|
|
1101
|
-
data: {
|
|
1102
|
-
result: J == null ? void 0 : J.map((q) => {
|
|
1103
|
-
var F, P;
|
|
1104
|
-
return (P = (F = q == null ? void 0 : q.data) == null ? void 0 : F.result) == null ? void 0 : P[0];
|
|
1105
|
-
})
|
|
1106
|
-
}
|
|
1107
|
-
};
|
|
1108
|
-
}
|
|
1109
|
-
const c = await I({
|
|
1110
|
-
key: {
|
|
1111
|
-
pageKey: a,
|
|
1112
|
-
systemKey: l,
|
|
1113
|
-
type: "structureMethod"
|
|
1114
|
-
}
|
|
1115
|
-
}), u = (w = (D = s == null ? void 0 : s.data) == null ? void 0 : D.result) == null ? void 0 : w.map((T) => T.id);
|
|
1116
|
-
if (!u) return;
|
|
1117
|
-
const o = u == null ? void 0 : u.map((T) => I({
|
|
1118
|
-
key: {
|
|
1119
|
-
pageKey: a,
|
|
1120
|
-
systemKey: l,
|
|
1121
|
-
tableId: T
|
|
1122
|
-
}
|
|
1123
|
-
})), t = await Promise.all(o), p = [];
|
|
1124
|
-
t == null || t.forEach((T) => {
|
|
1125
|
-
var F, P, $, K;
|
|
1126
|
-
const J = (F = T.data.result) == null ? void 0 : F.map((H) => {
|
|
1127
|
-
const G = Array.isArray(H.value.tableData) ? H.value.tableData : [H.value.tableData];
|
|
1128
|
-
return G.unshift({
|
|
1129
|
-
id: H.id
|
|
1130
|
-
}), G;
|
|
1131
|
-
}), q = (K = ($ = (P = T.data.result) == null ? void 0 : P[0]) == null ? void 0 : $.key) == null ? void 0 : K.tableId;
|
|
1132
|
-
p.push({
|
|
1133
|
-
key: q,
|
|
1134
|
-
contents: J
|
|
1135
|
-
});
|
|
1136
|
-
});
|
|
1137
|
-
let y = [];
|
|
1138
|
-
const k = await ((m = s.data.result) == null ? void 0 : m.map(async (T) => {
|
|
1139
|
-
var P, $, K, H, G, Q;
|
|
1140
|
-
const J = T.value.pageData, q = T == null ? void 0 : T.id;
|
|
1141
|
-
let F = (P = g(J.compData)) == null ? void 0 : P.filter((C) => (C == null ? void 0 : C.key) !== "tableContents");
|
|
1142
|
-
if (F && (F != null && F.find((C) => (C == null ? void 0 : C.key) === "header")) && ((K = ($ = F == null ? void 0 : F.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : $.contents) != null && K.every((C) => !(C != null && C.columnPath))) ? F.push({
|
|
1143
|
-
key: "tableContents",
|
|
1144
|
-
// contents: getTableContents(currentTableContents?.find((v: any) => v?.key === t.id)?.contents, newCompData?.find((s: any) => s?.key === "header")?.contents)
|
|
1145
|
-
contents: e === "/系统管理/用户管理" ? Fn(p) : Ze((H = p == null ? void 0 : p.find((C) => (C == null ? void 0 : C.key) === T.id)) == null ? void 0 : H.contents, (G = F == null ? void 0 : F.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : G.contents)
|
|
1146
|
-
}) : F && (F != null && F.find((C) => (C == null ? void 0 : C.key) === "header")) && (F = await Nn(g(F), q)), J.compData = F, J.id = T.id, ((Q = T.key) == null ? void 0 : Q.type) !== "method")
|
|
1147
|
-
y.push(J);
|
|
1148
|
-
else {
|
|
1149
|
-
let C;
|
|
1150
|
-
C = {
|
|
1151
|
-
name: "",
|
|
1152
|
-
compData: [J],
|
|
1153
|
-
comp: "calculator"
|
|
1154
|
-
}, y.push(C);
|
|
1155
|
-
}
|
|
1156
|
-
}));
|
|
1157
|
-
return await Promise.all(k), ((B = (j = c.data.result) == null ? void 0 : j.map((T) => T.value.pageData)) == null ? void 0 : B.filter((T) => Object.values(T).length > 0).length) > 0 && y.push({
|
|
1158
|
-
comp: "methodButton",
|
|
1159
|
-
name: "",
|
|
1160
|
-
compData: (M = (S = c.data.result) == null ? void 0 : S.map((T) => T.value.pageData)) == null ? void 0 : M.filter((T) => Object.values(T).length > 0)
|
|
1161
|
-
}), y = y.sort((T, J) => T.id - J.id), y;
|
|
1162
|
-
}, ir = async (a) => {
|
|
1163
|
-
await cl({
|
|
1164
|
-
id: a
|
|
1165
|
-
});
|
|
1166
|
-
}, sr = async (a, l, r, e, n, i, s) => {
|
|
1167
|
-
var u, o, t, p, y, k, D, w, m, j, B, S, M;
|
|
1168
|
-
const c = ((o = (u = s == null ? void 0 : s.content) == null ? void 0 : u[0]) == null ? void 0 : o.id) ?? "";
|
|
1169
|
-
if (c !== "" && ((t = s == null ? void 0 : s.content) == null ? void 0 : t.length) > 1) {
|
|
1170
|
-
const T = await I({
|
|
1171
|
-
id: c
|
|
1172
|
-
});
|
|
1173
|
-
let J = ((D = (k = (y = (p = T == null ? void 0 : T.data) == null ? void 0 : p.result) == null ? void 0 : y[0]) == null ? void 0 : k.key) == null ? void 0 : D.tableId) ?? "", q = ((B = (j = (m = (w = T == null ? void 0 : T.data) == null ? void 0 : w.result) == null ? void 0 : m[0]) == null ? void 0 : j.key) == null ? void 0 : B.pageKey) ?? "";
|
|
1174
|
-
await na({
|
|
1175
|
-
key: {
|
|
1176
|
-
type: a,
|
|
1177
|
-
pageKey: q,
|
|
1178
|
-
tableId: J,
|
|
1179
|
-
systemKey: e
|
|
1180
|
-
},
|
|
1181
|
-
value: {
|
|
1182
|
-
tableData: Fe(n, (S = Te(i)) == null ? void 0 : S.filter((F) => F !== "操作"))
|
|
1183
|
-
}
|
|
1184
|
-
});
|
|
1185
|
-
} else
|
|
1186
|
-
await na({
|
|
1187
|
-
key: {
|
|
1188
|
-
type: a,
|
|
1189
|
-
pageKey: l,
|
|
1190
|
-
tableId: r,
|
|
1191
|
-
systemKey: e
|
|
1192
|
-
},
|
|
1193
|
-
value: {
|
|
1194
|
-
tableData: Fe(n, (M = Te(i)) == null ? void 0 : M.filter((T) => T !== "操作"))
|
|
1195
|
-
}
|
|
1196
|
-
});
|
|
1197
|
-
}, tr = async (a, l, r, e, n, i, s) => {
|
|
1198
|
-
var t, p, y, k, D, w, m, j, B, S;
|
|
1199
|
-
const c = await I({
|
|
1200
|
-
id: e
|
|
1201
|
-
});
|
|
1202
|
-
let u = ((k = (y = (p = (t = c == null ? void 0 : c.data) == null ? void 0 : t.result) == null ? void 0 : p[0]) == null ? void 0 : y.key) == null ? void 0 : k.tableId) ?? "", o = ((j = (m = (w = (D = c == null ? void 0 : c.data) == null ? void 0 : D.result) == null ? void 0 : w[0]) == null ? void 0 : m.key) == null ? void 0 : j.pageKey) ?? "";
|
|
1203
|
-
u && u !== "" ? await Be({
|
|
1204
|
-
key: {
|
|
1205
|
-
type: a,
|
|
1206
|
-
pageKey: o,
|
|
1207
|
-
tableId: u,
|
|
1208
|
-
systemKey: n
|
|
1209
|
-
},
|
|
1210
|
-
value: {
|
|
1211
|
-
tableData: Fe(i, (B = Te(s)) == null ? void 0 : B.filter((M) => M !== "操作"))
|
|
1212
|
-
},
|
|
1213
|
-
id: e
|
|
1214
|
-
}) : await Be({
|
|
1215
|
-
key: {
|
|
1216
|
-
type: a,
|
|
1217
|
-
pageKey: l,
|
|
1218
|
-
tableId: r,
|
|
1219
|
-
systemKey: n
|
|
1220
|
-
},
|
|
1221
|
-
value: {
|
|
1222
|
-
tableData: Fe(i, (S = Te(s)) == null ? void 0 : S.filter((M) => M !== "操作"))
|
|
1223
|
-
},
|
|
1224
|
-
id: e
|
|
1225
|
-
});
|
|
1226
|
-
}, or = async (a, l) => {
|
|
1227
|
-
await Be({
|
|
1228
|
-
value: {
|
|
1229
|
-
pageData: l
|
|
1230
|
-
},
|
|
1231
|
-
id: a
|
|
1232
|
-
});
|
|
1233
|
-
}, Bn = async (a, l) => await I({
|
|
1234
|
-
key: a,
|
|
1235
|
-
valueLikes: l
|
|
1236
|
-
}), ur = async () => {
|
|
1237
|
-
var a, l, r, e, n, i, s, c, u;
|
|
1238
|
-
try {
|
|
1239
|
-
const o = await I({
|
|
1240
|
-
key: {
|
|
1241
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
1242
|
-
layer: "superAdmin"
|
|
1243
|
-
}
|
|
1244
|
-
});
|
|
1245
|
-
((a = o == null ? void 0 : o.data) == null ? void 0 : a.code) === 200 && (ra.setPlatform(((n = (e = (r = (l = o == null ? void 0 : o.data) == null ? void 0 : l.result) == null ? void 0 : r[0]) == null ? void 0 : e.key) == null ? void 0 : n.systemType) === "制造系统" ? "client" : "browser"), ra.setPlatName(((u = (c = (s = (i = o == null ? void 0 : o.data) == null ? void 0 : i.result) == null ? void 0 : s[0]) == null ? void 0 : c.key) == null ? void 0 : u.name) ?? ""));
|
|
1246
|
-
} catch (o) {
|
|
1247
|
-
return Promise.reject(o);
|
|
1248
|
-
}
|
|
1249
|
-
}, Rn = oa("modelTableComp", {
|
|
1250
|
-
state: () => ({
|
|
1251
|
-
tableIndex: 0,
|
|
1252
|
-
tableShowThree: ""
|
|
1253
|
-
}),
|
|
1254
|
-
actions: {
|
|
1255
|
-
setTableIndex(a) {
|
|
1256
|
-
this.tableIndex = a;
|
|
1257
|
-
},
|
|
1258
|
-
setTableShowThree(a) {
|
|
1259
|
-
this.tableShowThree = a;
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
|
-
}), jn = { class: "table-content" }, $n = ["onClick"], xn = { class: "form-content" }, Mn = {
|
|
1263
|
-
key: 0,
|
|
1264
|
-
class: "dialog-footer"
|
|
1265
|
-
}, Vn = { class: "dialog-footer" }, Ln = {
|
|
1266
|
-
__name: "index",
|
|
1267
|
-
props: {
|
|
1268
|
-
compName: {
|
|
1269
|
-
type: String,
|
|
1270
|
-
default: "",
|
|
1271
|
-
required: !1
|
|
1272
|
-
},
|
|
1273
|
-
operatingForm: {
|
|
1274
|
-
type: Object,
|
|
1275
|
-
default: () => {
|
|
1276
|
-
}
|
|
1277
|
-
},
|
|
1278
|
-
itemData: {
|
|
1279
|
-
type: Array,
|
|
1280
|
-
default: () => []
|
|
1281
|
-
},
|
|
1282
|
-
childItemData: {
|
|
1283
|
-
type: Array,
|
|
1284
|
-
default: () => []
|
|
1285
|
-
},
|
|
1286
|
-
index: Number,
|
|
1287
|
-
changedContent: {
|
|
1288
|
-
type: Object,
|
|
1289
|
-
default: () => {
|
|
1290
|
-
}
|
|
1291
|
-
}
|
|
1292
|
-
},
|
|
1293
|
-
emits: ["change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick"],
|
|
1294
|
-
setup(a, { emit: l }) {
|
|
1295
|
-
const r = a, e = l, n = U([]), i = Za(), { activeMenuPath: s } = Ve(i), c = Rn(Le), u = yl(Le), { extraContents: o } = Ve(u), t = U([]);
|
|
1296
|
-
U(!1);
|
|
1297
|
-
const p = U("");
|
|
1298
|
-
U();
|
|
1299
|
-
const y = U(!0), k = U(0), D = U(!1), w = U(""), m = U(!1), j = U({
|
|
1300
|
-
label: "查看三维模型"
|
|
1301
|
-
}), B = U(!1), S = U(), M = U([]), T = U([]), J = U(!1), q = U([]), F = U([]), P = U(), $ = U(), K = un(Le), H = U(), G = gn(Le), { selectIndex: Q, selectMenu: C, selectTitle: W } = Ve(G), { selectString: x } = Ve(K), X = U(720), Ce = () => {
|
|
1302
|
-
m.value = !1;
|
|
1303
|
-
}, be = (f) => {
|
|
1304
|
-
e("clickTrigger", f);
|
|
1305
|
-
}, N = (f, b) => {
|
|
1306
|
-
if (Object.values(b).length !== 0)
|
|
1307
|
-
return Object.values(b).find((A) => {
|
|
1308
|
-
var R, E, v;
|
|
1309
|
-
return ((R = A == null ? void 0 : A.toString()) == null ? void 0 : R.includes(".txt")) || ((E = A == null ? void 0 : A.toString()) == null ? void 0 : E.includes(".cpt")) || ((v = A == null ? void 0 : A.toString()) == null ? void 0 : v.includes(".obj"));
|
|
1310
|
-
}) ? [...f, j.value] : f;
|
|
1311
|
-
}, me = (f) => {
|
|
1312
|
-
var E;
|
|
1313
|
-
x.value === "" ? f == null || f[0] : (f == null ? void 0 : f.find((v) => (v == null ? void 0 : v.selectLabel) === "(" + x.value + ")")) ?? (f == null || f.find((v) => !(v != null && v.selectLabel)));
|
|
1314
|
-
let b = f;
|
|
1315
|
-
(E = n.value) != null && E.find((v) => v.prop === "index");
|
|
1316
|
-
let A = P.value;
|
|
1317
|
-
const R = [];
|
|
1318
|
-
return b == null || b.forEach((v, d) => {
|
|
1319
|
-
var ee;
|
|
1320
|
-
let V = {};
|
|
1321
|
-
if (Array.isArray(v)) {
|
|
1322
|
-
let L = [];
|
|
1323
|
-
v == null || v.filter((Z) => !(Z != null && Z.id)).forEach((Z, ae) => {
|
|
1324
|
-
var De, z, se, we, Ae;
|
|
1325
|
-
if ((De = A == null ? void 0 : A[ae]) != null && De.prop && !Array.isArray(Z)) {
|
|
1326
|
-
let de = {};
|
|
1327
|
-
de[A[ae].column] = Z, o != null && o.value && ((z = o == null ? void 0 : o.value) == null ? void 0 : z.length) > 0 && ((se = o == null ? void 0 : o.value) != null && se.find((te) => JSON.stringify(te == null ? void 0 : te[0]) === JSON.stringify(de))) && (L = (we = o == null ? void 0 : o.value) == null ? void 0 : we.find((te) => JSON.stringify(te == null ? void 0 : te[0]) === JSON.stringify(de))), L && L.length > 0 ? V[A[ae].prop] = L != null && L.find((te) => {
|
|
1328
|
-
var _e;
|
|
1329
|
-
return ((_e = Object.keys(te)) == null ? void 0 : _e[0]) === A[ae].column;
|
|
1330
|
-
}) ? (Ae = L == null ? void 0 : L.find((te) => {
|
|
1331
|
-
var _e;
|
|
1332
|
-
return ((_e = Object.keys(te)) == null ? void 0 : _e[0]) === A[ae].column;
|
|
1333
|
-
})) == null ? void 0 : Ae[A[ae].column] : Z : V[A[ae].prop] = Z;
|
|
1334
|
-
}
|
|
1335
|
-
});
|
|
1336
|
-
} else
|
|
1337
|
-
V = v;
|
|
1338
|
-
Array.isArray(v) && v.some((L) => L == null ? void 0 : L.id) ? R.push(Object.assign(V, { id: (ee = v == null ? void 0 : v.find((L) => L.id)) == null ? void 0 : ee.id })) : V.id ? R.push(V) : R.push(Object.assign(V, { id: d }));
|
|
1339
|
-
}), R;
|
|
1340
|
-
}, ye = async (f) => {
|
|
1341
|
-
var E, v, d, V, ee;
|
|
1342
|
-
let b = {};
|
|
1343
|
-
for (let L in f)
|
|
1344
|
-
f[L] !== "" && (b["tableData." + L] = f[L]);
|
|
1345
|
-
const A = await Bn({
|
|
1346
|
-
type: "data",
|
|
1347
|
-
tableId: r == null ? void 0 : r.index,
|
|
1348
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
1349
|
-
pageKey: s.value
|
|
1350
|
-
}, b), R = (d = (v = (E = g(A)) == null ? void 0 : E.data) == null ? void 0 : v.result) == null ? void 0 : d.map((L) => {
|
|
1351
|
-
var ae;
|
|
1352
|
-
let Z = [];
|
|
1353
|
-
return Z.push({
|
|
1354
|
-
id: L.id
|
|
1355
|
-
}), Z.push((ae = L == null ? void 0 : L.value) == null ? void 0 : ae.tableData), Z;
|
|
1356
|
-
});
|
|
1357
|
-
t.value = me(Ze(R, (ee = (V = g(n.value)) == null ? void 0 : V.map((L) => L.label)) == null ? void 0 : ee.filter((L) => L !== "操作")));
|
|
1358
|
-
}, Ke = async (f) => {
|
|
1359
|
-
var R, E, v, d, V, ee, L, Z, ae, De;
|
|
1360
|
-
const b = (R = g(n.value)) == null ? void 0 : R.filter((z) => z == null ? void 0 : z.isRoute);
|
|
1361
|
-
if ((b == null ? void 0 : b.length) > 0) {
|
|
1362
|
-
let z = (E = b == null ? void 0 : b[0]) == null ? void 0 : E.prop, se = s.value + "/" + (f == null ? void 0 : f[z]), we = s.value, Ae = await Ga(se, sessionStorage.getItem("systemKey"), "", se);
|
|
1363
|
-
if ((Ae == null ? void 0 : Ae.length) > 0)
|
|
1364
|
-
u.setRouteToChildPath(we), i.setActiveMenuPath(se);
|
|
1365
|
-
else {
|
|
1366
|
-
const de = await vl(r == null ? void 0 : r.index);
|
|
1367
|
-
de && (se = s.value + "/" + (de == null ? void 0 : de[(v = b == null ? void 0 : b[0]) == null ? void 0 : v.label]), await kl(se, s.value + "/" + (f == null ? void 0 : f[z])), u.setRouteToChildPath(we), i.setActiveMenuPath(s.value + "/" + (f == null ? void 0 : f[z])));
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
let A = await Ga(s.value, sessionStorage.getItem("systemKey"), f.id);
|
|
1371
|
-
if (A = A == null ? void 0 : A.filter((z) => z.comp !== "methodButton"), A && A.length > 0) {
|
|
1372
|
-
const z = !Array.isArray(W.value) && ((d = W.value) == null ? void 0 : d.key) !== "main" ? [] : W.value;
|
|
1373
|
-
z.push({
|
|
1374
|
-
key: C.value === "" ? (V = f == null ? void 0 : f.id) == null ? void 0 : V.toString() : C.value + "-" + ((ee = f == null ? void 0 : f.id) == null ? void 0 : ee.toString()),
|
|
1375
|
-
value: f[(L = Object.keys(f)) == null ? void 0 : L.filter((se) => se !== "index" && se !== "id")[0]]
|
|
1376
|
-
}), G.setSelectMenu(C.value === "" ? (Z = f == null ? void 0 : f.id) == null ? void 0 : Z.toString() : C.value + "-" + ((ae = f == null ? void 0 : f.id) == null ? void 0 : ae.toString())), G.setSelectTitle(z), G.setSelectIndex((De = f == null ? void 0 : f.id) == null ? void 0 : De.toString()), e("pageChange", A);
|
|
1377
|
-
}
|
|
1378
|
-
}, Re = (f) => {
|
|
1379
|
-
var b;
|
|
1380
|
-
(b = g(r.itemData)) == null || b.map((A) => ((A == null ? void 0 : A.key) === "tableContents" && (A.contents = f), A));
|
|
1381
|
-
}, je = (f, b, A) => {
|
|
1382
|
-
e("contentClick", f, b, A, { id: r == null ? void 0 : r.index, type: "table" });
|
|
1383
|
-
}, ze = (f) => {
|
|
1384
|
-
e("rowClick", f);
|
|
1385
|
-
};
|
|
1386
|
-
Ne(
|
|
1387
|
-
() => r.changedContent,
|
|
1388
|
-
() => {
|
|
1389
|
-
var A, R;
|
|
1390
|
-
if (!r.changedContent) return;
|
|
1391
|
-
let f = (A = t.value) == null ? void 0 : A.map((E) => {
|
|
1392
|
-
var v;
|
|
1393
|
-
return E.id === ((v = r.changedContent) == null ? void 0 : v.id) && (E = {
|
|
1394
|
-
...r.changedContent,
|
|
1395
|
-
id: r.changedContent.newId ? r.changedContent.newId : r.changedContent.id
|
|
1396
|
-
}, delete E.newId), E;
|
|
1397
|
-
});
|
|
1398
|
-
const b = (R = r.itemData) == null ? void 0 : R.map((E) => ((E == null ? void 0 : E.key) === "tableContents" && (E.contents = f), E));
|
|
1399
|
-
t.value = f, e("contentChange", {
|
|
1400
|
-
contents: b,
|
|
1401
|
-
index: r.index
|
|
1402
|
-
}), e("change", {
|
|
1403
|
-
content: f,
|
|
1404
|
-
index: r == null ? void 0 : r.index,
|
|
1405
|
-
buttonName: "",
|
|
1406
|
-
id: r == null ? void 0 : r.index
|
|
1407
|
-
});
|
|
1408
|
-
},
|
|
1409
|
-
{ deep: !0, immediate: !0 }
|
|
1410
|
-
);
|
|
1411
|
-
const Je = () => {
|
|
1412
|
-
}, $e = (f, b, A) => {
|
|
1413
|
-
var R, E, v;
|
|
1414
|
-
if (p.value = "", J.value = !0, y.value = !0, e("onButtonClick", f, b), f === "删除") {
|
|
1415
|
-
t.value = (R = g(t.value)) == null ? void 0 : R.filter((V) => (V == null ? void 0 : V.id) !== (b == null ? void 0 : b.id));
|
|
1416
|
-
const d = hn(H.value, C.value, b == null ? void 0 : b.id);
|
|
1417
|
-
Re(d), e("change", {
|
|
1418
|
-
content: t.value,
|
|
1419
|
-
singleContent: b,
|
|
1420
|
-
index: r == null ? void 0 : r.index,
|
|
1421
|
-
type: "delete",
|
|
1422
|
-
buttonName: f,
|
|
1423
|
-
column: n.value
|
|
1424
|
-
});
|
|
1425
|
-
} else if (f === "新增")
|
|
1426
|
-
w.value = "新增", xe(""), m.value = !0;
|
|
1427
|
-
else if (f === "编辑")
|
|
1428
|
-
w.value = "编辑", xe(b), m.value = !0;
|
|
1429
|
-
else if (f === "查看")
|
|
1430
|
-
w.value = "查看", xe(b), J.value = !1, y.value = !1, m.value = !0;
|
|
1431
|
-
else if (f === "查看三维模型") {
|
|
1432
|
-
const d = {};
|
|
1433
|
-
for (let ee in b)
|
|
1434
|
-
ee !== "id" && (d[ee] = b[ee]);
|
|
1435
|
-
let V = (E = Object.values(d)) == null ? void 0 : E[1];
|
|
1436
|
-
c.setTableShowThree(V);
|
|
1437
|
-
} else ((v = A == null ? void 0 : A.extra) == null ? void 0 : v.type) === "modelExample" && (w.value = f, B.value = !0);
|
|
1438
|
-
}, xe = (f) => {
|
|
1439
|
-
var R, E, v;
|
|
1440
|
-
const b = [];
|
|
1441
|
-
let A = [];
|
|
1442
|
-
for (let d in f)
|
|
1443
|
-
Array.isArray(f == null ? void 0 : f[d]) && A.push(d);
|
|
1444
|
-
(E = Xe((R = g(n.value)) == null ? void 0 : R.filter((d) => (d == null ? void 0 : d.label) !== "操作"))) == null || E.forEach((d, V) => {
|
|
1445
|
-
A.find((ee) => ee === (d == null ? void 0 : d.prop)) || b.push({
|
|
1446
|
-
label: (d == null ? void 0 : d.label) ?? "",
|
|
1447
|
-
name: (d == null ? void 0 : d.prop) ?? "t" + V,
|
|
1448
|
-
type: !(d != null && d.formType) || (d == null ? void 0 : d.formType) === "" ? "Input" : d == null ? void 0 : d.formType,
|
|
1449
|
-
value: (f == null ? void 0 : f[d == null ? void 0 : d.prop]) ?? (d == null ? void 0 : d.value) ?? "",
|
|
1450
|
-
id: (d == null ? void 0 : d.id) ?? V,
|
|
1451
|
-
contents: (d == null ? void 0 : d.options) ?? [],
|
|
1452
|
-
width: 1,
|
|
1453
|
-
isFormColHidden: d == null ? void 0 : d.isFormColHidden
|
|
1454
|
-
});
|
|
1455
|
-
}), f === "" || !f || (p.value = f == null ? void 0 : f.id), F.value = M.value && ((v = M.value) == null ? void 0 : v.length) > 0 ? Al(M.value) : b;
|
|
1456
|
-
};
|
|
1457
|
-
ta(() => {
|
|
1458
|
-
S.value = window.innerWidth - 240 * 2;
|
|
1459
|
-
});
|
|
1460
|
-
const Y = () => {
|
|
1461
|
-
let f, b = g(t.value);
|
|
1462
|
-
p.value === "" ? (k.value++, b.push(Object.assign($.value, { id: k.value })), f = Object.assign($.value, { id: k.value })) : b = b == null ? void 0 : b.map((R) => ((R == null ? void 0 : R.id) === p.value && (R = Object.assign(R, $.value), f = R), R)), t.value = b;
|
|
1463
|
-
const A = mn(H.value, C.value, b);
|
|
1464
|
-
Re(A), m.value = !1, e("change", {
|
|
1465
|
-
content: A,
|
|
1466
|
-
singleContent: f,
|
|
1467
|
-
index: r == null ? void 0 : r.index,
|
|
1468
|
-
buttonName: w.value,
|
|
1469
|
-
column: n.value
|
|
1470
|
-
});
|
|
1471
|
-
}, Oe = (f) => {
|
|
1472
|
-
$.value = f, e("onFormChange", f);
|
|
1473
|
-
};
|
|
1474
|
-
return Ne(
|
|
1475
|
-
() => [r.itemData, x.value, Q.value, C.value, o == null ? void 0 : o.value],
|
|
1476
|
-
() => {
|
|
1477
|
-
var ee, L, Z, ae, De, z, se, we, Ae, de, te, _e, fa, ca, ya, pa, da, ga, ha, ba, ma, Aa, va, ka, Ta, Da;
|
|
1478
|
-
const f = (ee = g(r.itemData)) == null ? void 0 : ee.filter((_) => (_ == null ? void 0 : _.key) === "header");
|
|
1479
|
-
(L = g(r.itemData)) == null || L.filter((_) => (_ == null ? void 0 : _.key) === "tableIndexColumn")[0];
|
|
1480
|
-
const b = (Z = g(r.itemData)) == null ? void 0 : Z.find((_) => (_ == null ? void 0 : _.key) === "page"), A = (ae = g(r.itemData)) == null ? void 0 : ae.find((_) => (_ == null ? void 0 : _.key) === "rowButton"), R = (De = g(r.itemData)) == null ? void 0 : De.find((_) => (_ == null ? void 0 : _.key) === "extraButton"), E = (z = g(r.itemData)) == null ? void 0 : z.filter((_) => (_ == null ? void 0 : _.key) === "tableContents"), v = (se = g(r.itemData)) == null ? void 0 : se.filter((_) => (_ == null ? void 0 : _.key) === "tableIndex");
|
|
1481
|
-
M.value = (de = (Ae = (we = g(r.itemData)) == null ? void 0 : we.filter((_) => (_ == null ? void 0 : _.key) === "tableToForm")) == null ? void 0 : Ae[0]) == null ? void 0 : de.contents, D.value = (b == null ? void 0 : b.contents) ?? !1;
|
|
1482
|
-
let d = [];
|
|
1483
|
-
x.value === "" ? d = f == null ? void 0 : f[0] : d = (f == null ? void 0 : f.find((_) => (_ == null ? void 0 : _.selectLabel) === "(" + x.value + ")")) ?? (f == null ? void 0 : f.find((_) => !(_ != null && _.selectLabel)));
|
|
1484
|
-
let V = [];
|
|
1485
|
-
if (x.value === "" ? V = v == null ? void 0 : v[0] : V = (v == null ? void 0 : v.find((_) => (_ == null ? void 0 : _.selectLabel) === "(" + x.value + ")")) ?? (v == null ? void 0 : v.find((_) => !(_ != null && _.selectLabel))), ((te = d == null ? void 0 : d.contents) == null ? void 0 : te.length) > 0) {
|
|
1486
|
-
let _ = [];
|
|
1487
|
-
if (d != null && d.contents.some((O) => Array.isArray(O) && (O == null ? void 0 : O.find((h) => h.children))))
|
|
1488
|
-
C.value === "" ? _ = (fa = (_e = Ma(g(d == null ? void 0 : d.contents))) == null ? void 0 : _e[0]) == null ? void 0 : fa.filter((O) => !Array.isArray(O)) : (C.value.split("-"), _ = (ca = Ma(g(d == null ? void 0 : d.contents))) == null ? void 0 : ca[0]);
|
|
1489
|
-
else {
|
|
1490
|
-
const O = d != null && d.contents.some((h) => Array.isArray(h)) ? (ya = d == null ? void 0 : d.contents) == null ? void 0 : ya[0] : d == null ? void 0 : d.contents;
|
|
1491
|
-
O == null || O.forEach((h, le) => {
|
|
1492
|
-
_.push({
|
|
1493
|
-
label: (h == null ? void 0 : h.label) ?? "",
|
|
1494
|
-
prop: (h == null ? void 0 : h.label) === "操作" ? "operate" : (h == null ? void 0 : h.prop) ?? "a" + le,
|
|
1495
|
-
width: (h == null ? void 0 : h.label) === "操作" ? "200" : h != null && h.width ? parseInt(h.width) : "",
|
|
1496
|
-
fixed: (h == null ? void 0 : h.fixed) ?? void 0,
|
|
1497
|
-
sortable: (h == null ? void 0 : h.sortable) ?? !1,
|
|
1498
|
-
align: (h == null ? void 0 : h.align) ?? "center",
|
|
1499
|
-
showOverflowTooltip: (h == null ? void 0 : h.showOverflowTooltip) ?? !0,
|
|
1500
|
-
isNotDrag: (h == null ? void 0 : h.isNotDrag) ?? !1,
|
|
1501
|
-
isEditCol: (h == null ? void 0 : h.isEditCol) ?? !1,
|
|
1502
|
-
isOperate: (h == null ? void 0 : h.isOperate) ?? !1,
|
|
1503
|
-
id: (h == null ? void 0 : h.id) ?? le,
|
|
1504
|
-
type: (h == null ? void 0 : h.label) === "操作" ? "operate" : void 0,
|
|
1505
|
-
formType: (h == null ? void 0 : h.formType) ?? "",
|
|
1506
|
-
isTableColHidden: h == null ? void 0 : h.isTableColHidden,
|
|
1507
|
-
isFormColHidden: h == null ? void 0 : h.isFormColHidden,
|
|
1508
|
-
options: (h == null ? void 0 : h.options) ?? [],
|
|
1509
|
-
value: (h == null ? void 0 : h.value) ?? "",
|
|
1510
|
-
formMenuSelect: (h == null ? void 0 : h.formMenuSelect) ?? [],
|
|
1511
|
-
isRoute: (h == null ? void 0 : h.isRoute) ?? !1
|
|
1512
|
-
});
|
|
1513
|
-
});
|
|
1514
|
-
}
|
|
1515
|
-
n.value = _;
|
|
1516
|
-
let fe = (da = (pa = ml(g(n.value))) == null ? void 0 : pa.filter((O) => (O == null ? void 0 : O.type) !== "operate")) == null ? void 0 : da.map((O, h) => ({
|
|
1517
|
-
prop: (O == null ? void 0 : O.prop) ?? "a" + h,
|
|
1518
|
-
column: O.label
|
|
1519
|
-
}));
|
|
1520
|
-
P.value = fe;
|
|
1521
|
-
let oe = [];
|
|
1522
|
-
x.value === "" ? oe = E == null ? void 0 : E[0] : oe = (E == null ? void 0 : E.find((O) => (O == null ? void 0 : O.selectLabel) === "(" + x.value + ")")) ?? (E == null ? void 0 : E.find((O) => !(O != null && O.selectLabel)));
|
|
1523
|
-
let Se = Array.isArray((ga = oe == null ? void 0 : oe.contents) == null ? void 0 : ga[0]) && ((ha = oe == null ? void 0 : oe.contents) != null && ha[0].every((O) => Array.isArray(O))) ? (ba = g(oe == null ? void 0 : oe.contents)) == null ? void 0 : ba[0] : g(oe == null ? void 0 : oe.contents);
|
|
1524
|
-
V != null && V.contents && ((ma = V == null ? void 0 : V.contents) == null ? void 0 : ma.length) !== 0 && (Se = (Aa = g(Se)) == null ? void 0 : Aa.map((O, h) => {
|
|
1525
|
-
if (!Array.isArray(O)) {
|
|
1526
|
-
let le = {};
|
|
1527
|
-
for (let Ee in O)
|
|
1528
|
-
Ee !== "id" && Ee !== "index" && (le[Ee] = O[Ee]);
|
|
1529
|
-
O = Object.values(le);
|
|
1530
|
-
}
|
|
1531
|
-
return O;
|
|
1532
|
-
}));
|
|
1533
|
-
const rl = !!((va = n.value) != null && va.find((O) => O.prop === "index"));
|
|
1534
|
-
Se = al(g(Se), V == null ? void 0 : V.contents, rl);
|
|
1535
|
-
const He = [];
|
|
1536
|
-
Se == null || Se.forEach((O, h) => {
|
|
1537
|
-
var Ee;
|
|
1538
|
-
let le = {};
|
|
1539
|
-
if (Array.isArray(O)) {
|
|
1540
|
-
let ne = [];
|
|
1541
|
-
O == null || O.filter((ge) => !(ge != null && ge.id)).forEach((ge, ve) => {
|
|
1542
|
-
var wa, _a, Ca, Ka, Oa, Sa;
|
|
1543
|
-
if ((wa = fe == null ? void 0 : fe[ve]) != null && wa.prop && !Array.isArray(ge)) {
|
|
1544
|
-
let Ie = {};
|
|
1545
|
-
Ie[fe[ve].column] = ge, o != null && o.value && ((_a = o == null ? void 0 : o.value) == null ? void 0 : _a.length) > 0 && ((Ca = o == null ? void 0 : o.value) != null && Ca.find((he) => JSON.stringify(he == null ? void 0 : he[0]) === JSON.stringify(Ie))) && (ne = (Ka = o == null ? void 0 : o.value) == null ? void 0 : Ka.find((he) => JSON.stringify(he == null ? void 0 : he[0]) === JSON.stringify(Ie))), ne && ne.length > 0 ? le[fe[ve].prop] = ne != null && ne.find((he) => {
|
|
1546
|
-
var Me;
|
|
1547
|
-
return ((Me = Object.keys(he)) == null ? void 0 : Me[0]) === fe[ve].column;
|
|
1548
|
-
}) ? (Oa = ne == null ? void 0 : ne.find((he) => {
|
|
1549
|
-
var Me;
|
|
1550
|
-
return ((Me = Object.keys(he)) == null ? void 0 : Me[0]) === fe[ve].column;
|
|
1551
|
-
})) == null ? void 0 : Oa[fe[ve].column] : ge : le[fe[ve].prop] = ge;
|
|
1552
|
-
} else Array.isArray(ge) && ((Sa = fe[ve]) != null && Sa.prop ? le[fe[ve].prop] = ge : le.children = el(ge, fe));
|
|
1553
|
-
});
|
|
1554
|
-
} else
|
|
1555
|
-
le = O;
|
|
1556
|
-
Array.isArray(O) && O.some((ne) => ne == null ? void 0 : ne.id) ? He.push(Object.assign(le, { id: (Ee = O == null ? void 0 : O.find((ne) => ne.id)) == null ? void 0 : Ee.id })) : le.id ? He.push(le) : He.push(Object.assign(le, { id: h }));
|
|
1557
|
-
}), t.value = He;
|
|
1558
|
-
} else
|
|
1559
|
-
n.value = [], t.value = [];
|
|
1560
|
-
((ka = A == null ? void 0 : A.contents) == null ? void 0 : ka.length) > 0 ? T.value = A == null ? void 0 : A.contents : T.value = [], ((Ta = R == null ? void 0 : R.contents) == null ? void 0 : Ta.length) > 0 ? q.value = R == null ? void 0 : R.contents : q.value = [], k.value = ((Da = t == null ? void 0 : t.value) == null ? void 0 : Da.length) ?? 0, H.value = t.value;
|
|
1561
|
-
},
|
|
1562
|
-
{ deep: !0, immediate: !0 }
|
|
1563
|
-
), Ne(() => r == null ? void 0 : r.operatingForm, (f) => {
|
|
1564
|
-
f != null && f.form && (xe(f == null ? void 0 : f.form), w.value = f == null ? void 0 : f.dialogTitle, J.value = !0, m.value = !0);
|
|
1565
|
-
}, { immediate: !0, deep: !0 }), (f, b) => {
|
|
1566
|
-
var R;
|
|
1567
|
-
const A = ia("el-button");
|
|
1568
|
-
return pe(), ke("div", jn, [
|
|
1569
|
-
(pe(), sa(hl, {
|
|
1570
|
-
columns: n.value,
|
|
1571
|
-
key: n.value,
|
|
1572
|
-
tableData: t.value,
|
|
1573
|
-
isShowPagination: D.value,
|
|
1574
|
-
isShowEdit: !1,
|
|
1575
|
-
isShowDelete: !1,
|
|
1576
|
-
onDbClickRow: Ke,
|
|
1577
|
-
extraButton: q.value,
|
|
1578
|
-
onContentClick: je,
|
|
1579
|
-
onRowClick: ze
|
|
1580
|
-
}, ul({
|
|
1581
|
-
headerButton: ie((E) => [
|
|
1582
|
-
ue(on, {
|
|
1583
|
-
compName: a.compName,
|
|
1584
|
-
buttons: E.buttons,
|
|
1585
|
-
onButtonClick: b[0] || (b[0] = (v) => $e(v, "", {})),
|
|
1586
|
-
columns: n.value,
|
|
1587
|
-
onFilter: ye
|
|
1588
|
-
}, null, 8, ["compName", "buttons", "columns"])
|
|
1589
|
-
]),
|
|
1590
|
-
_: 2
|
|
1591
|
-
}, [
|
|
1592
|
-
((R = T.value) == null ? void 0 : R.length) > 0 ? {
|
|
1593
|
-
name: "actions",
|
|
1594
|
-
fn: ie(({ item: E }) => [
|
|
1595
|
-
(pe(!0), ke(Qa, null, Xa(N(T.value, E), (v, d) => (pe(), ke("div", { key: d }, [
|
|
1596
|
-
ce("div", {
|
|
1597
|
-
style: Ya({ color: v == null ? void 0 : v.textColor }),
|
|
1598
|
-
class: "extra-button-label",
|
|
1599
|
-
onClick: (V) => $e(v == null ? void 0 : v.label, E, {
|
|
1600
|
-
extra: v
|
|
1601
|
-
})
|
|
1602
|
-
}, Pe(v == null ? void 0 : v.label), 13, $n)
|
|
1603
|
-
]))), 128))
|
|
1604
|
-
]),
|
|
1605
|
-
key: "0"
|
|
1606
|
-
} : void 0
|
|
1607
|
-
]), 1032, ["columns", "tableData", "isShowPagination", "extraButton"])),
|
|
1608
|
-
ue(Ba, {
|
|
1609
|
-
title: w.value,
|
|
1610
|
-
visible: m.value,
|
|
1611
|
-
width: X.value,
|
|
1612
|
-
onBeforeDestroy: Ce
|
|
1613
|
-
}, {
|
|
1614
|
-
default: ie(() => [
|
|
1615
|
-
ce("div", xn, [
|
|
1616
|
-
ue(Qe, {
|
|
1617
|
-
rowContents: F.value,
|
|
1618
|
-
isEnableWrap: !1,
|
|
1619
|
-
onChange: Oe,
|
|
1620
|
-
onClickTrigger: be,
|
|
1621
|
-
isEdit: y.value
|
|
1622
|
-
}, null, 8, ["rowContents", "isEdit"])
|
|
1623
|
-
])
|
|
1624
|
-
]),
|
|
1625
|
-
footer: ie(() => [
|
|
1626
|
-
J.value ? (pe(), ke("div", Mn, [
|
|
1627
|
-
ue(A, {
|
|
1628
|
-
onClick: b[1] || (b[1] = (E) => m.value = !1),
|
|
1629
|
-
id: "themeBorderButton"
|
|
1630
|
-
}, {
|
|
1631
|
-
default: ie(() => b[4] || (b[4] = [
|
|
1632
|
-
Ue(Pe("取消"))
|
|
1633
|
-
])),
|
|
1634
|
-
_: 1,
|
|
1635
|
-
__: [4]
|
|
1636
|
-
}),
|
|
1637
|
-
ue(A, {
|
|
1638
|
-
class: "ok-button",
|
|
1639
|
-
onClick: Y,
|
|
1640
|
-
id: "themeButton"
|
|
1641
|
-
}, {
|
|
1642
|
-
default: ie(() => b[5] || (b[5] = [
|
|
1643
|
-
Ue(Pe("确认"))
|
|
1644
|
-
])),
|
|
1645
|
-
_: 1,
|
|
1646
|
-
__: [5]
|
|
1647
|
-
})
|
|
1648
|
-
])) : Wa("", !0)
|
|
1649
|
-
]),
|
|
1650
|
-
_: 1
|
|
1651
|
-
}, 8, ["title", "visible", "width"]),
|
|
1652
|
-
ue(Ba, {
|
|
1653
|
-
title: w.value,
|
|
1654
|
-
visible: B.value,
|
|
1655
|
-
width: S.value,
|
|
1656
|
-
onBeforeDestroy: b[3] || (b[3] = (E) => B.value = !1)
|
|
1657
|
-
}, {
|
|
1658
|
-
default: ie(() => [
|
|
1659
|
-
ue(dn)
|
|
1660
|
-
]),
|
|
1661
|
-
footer: ie(() => [
|
|
1662
|
-
ce("div", Vn, [
|
|
1663
|
-
ue(A, {
|
|
1664
|
-
onClick: b[2] || (b[2] = (E) => B.value = !1),
|
|
1665
|
-
class: "cancel-button",
|
|
1666
|
-
id: "themeBorderButton"
|
|
1667
|
-
}, {
|
|
1668
|
-
default: ie(() => b[6] || (b[6] = [
|
|
1669
|
-
Ue(Pe("取消"))
|
|
1670
|
-
])),
|
|
1671
|
-
_: 1,
|
|
1672
|
-
__: [6]
|
|
1673
|
-
}),
|
|
1674
|
-
ue(A, {
|
|
1675
|
-
class: "ok-button",
|
|
1676
|
-
onClick: Je,
|
|
1677
|
-
id: "themeButton"
|
|
1678
|
-
}, {
|
|
1679
|
-
default: ie(() => b[7] || (b[7] = [
|
|
1680
|
-
Ue(Pe("确认"))
|
|
1681
|
-
])),
|
|
1682
|
-
_: 1,
|
|
1683
|
-
__: [7]
|
|
1684
|
-
})
|
|
1685
|
-
])
|
|
1686
|
-
]),
|
|
1687
|
-
_: 1
|
|
1688
|
-
}, 8, ["title", "visible", "width"])
|
|
1689
|
-
]);
|
|
1690
|
-
};
|
|
1691
|
-
}
|
|
1692
|
-
}, fr = /* @__PURE__ */ ua(Ln, [["__scopeId", "data-v-e3235efa"]]);
|
|
1693
|
-
export {
|
|
1694
|
-
Xn as I,
|
|
1695
|
-
Rn as a,
|
|
1696
|
-
re as b,
|
|
1697
|
-
la as c,
|
|
1698
|
-
rr as d,
|
|
1699
|
-
ir as e,
|
|
1700
|
-
or as f,
|
|
1701
|
-
Ga as g,
|
|
1702
|
-
sr as h,
|
|
1703
|
-
tr as i,
|
|
1704
|
-
un as j,
|
|
1705
|
-
Zn as k,
|
|
1706
|
-
ur as l,
|
|
1707
|
-
Yn as m,
|
|
1708
|
-
zn as n,
|
|
1709
|
-
nr as o,
|
|
1710
|
-
In as p,
|
|
1711
|
-
lr as q,
|
|
1712
|
-
ar as r,
|
|
1713
|
-
er as s,
|
|
1714
|
-
Ge as t,
|
|
1715
|
-
gn as u,
|
|
1716
|
-
fr as v
|
|
1717
|
-
};
|