ss-component-new 1.1.20 → 1.1.21
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-PBEw3B1E.js +3341 -0
- package/dist/{index-BclS1yqg.js → index-Cj-7IvGD.js} +1 -1
- package/dist/index-OhsC2sML.js +345 -0
- package/dist/{main-BGSsmnG3.js → main-BbqwmB4Y.js} +2 -2
- package/dist/modelComp-5PDCbl8W.js +18 -0
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +3 -3
- package/dist/ss-component.umd.cjs +14 -14
- package/package.json +2 -1
- package/dist/array-BJkGW7C1.js +0 -3307
- package/dist/index-V133QAT6.js +0 -339
- package/dist/modelComp-BHNLY0cK.js +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as j, computed as E, onMounted as O, resolveComponent as A, createBlock as b, openBlock as C, withCtx as F, resolveDynamicComponent as B, defineComponent as U, ref as $, watch as G, createVNode as V, createElementVNode as q, toDisplayString as z } from "vue";
|
|
2
2
|
import { E as y, u as H, s as v, c as _, _ as J } from "./menu-V9qTN_Cu.js";
|
|
3
|
-
import { u as K } from "./modelComp-
|
|
3
|
+
import { u as K } from "./modelComp-5PDCbl8W.js";
|
|
4
4
|
const D = j(() => import("./index-CYJSOYY9.js"));
|
|
5
5
|
D.install = (o) => {
|
|
6
6
|
o.component("ssMenu", D);
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { ref as S, onMounted as ee, createElementBlock as m, openBlock as u, Fragment as z, renderList as H, createElementVNode as B, createCommentVNode as j, toDisplayString as G, watch as J, createVNode as U, unref as N, createBlock as V, resolveDynamicComponent as te } from "vue";
|
|
2
|
+
import { p as P, u as ae, d as ne, e as oe, g as se, m as le, a as re, b as ce, c as ue } from "./array-PBEw3B1E.js";
|
|
3
|
+
import { u as Q } from "./modelComp-5PDCbl8W.js";
|
|
4
|
+
import { _ as K, u as X, s as R, c as O } from "./menu-V9qTN_Cu.js";
|
|
5
|
+
import ie from "./index-Cj-7IvGD.js";
|
|
6
|
+
const de = { class: "bread-content" }, me = ["onClick"], fe = { key: 0 }, he = {
|
|
7
|
+
__name: "index",
|
|
8
|
+
props: {
|
|
9
|
+
breadArray: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default: () => []
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
emits: ["click"],
|
|
15
|
+
setup(g, { emit: p }) {
|
|
16
|
+
const t = g, h = S([]), c = p;
|
|
17
|
+
ee(() => {
|
|
18
|
+
h.value = t == null ? void 0 : t.breadArray;
|
|
19
|
+
});
|
|
20
|
+
const f = (C) => {
|
|
21
|
+
c("click", C);
|
|
22
|
+
};
|
|
23
|
+
return (C, v) => (u(), m("div", de, [
|
|
24
|
+
(u(!0), m(z, null, H(h.value, (_, y) => (u(), m("div", {
|
|
25
|
+
key: y,
|
|
26
|
+
class: "bread-item"
|
|
27
|
+
}, [
|
|
28
|
+
B("div", {
|
|
29
|
+
class: "bread-title",
|
|
30
|
+
onClick: ($) => f(_)
|
|
31
|
+
}, G(_.value), 9, me),
|
|
32
|
+
y !== h.value.length - 1 ? (u(), m("div", fe, G("/"))) : j("", !0)
|
|
33
|
+
]))), 128))
|
|
34
|
+
]));
|
|
35
|
+
}
|
|
36
|
+
}, ve = /* @__PURE__ */ K(he, [["__scopeId", "data-v-d55d3ede"]]);
|
|
37
|
+
function _e(g) {
|
|
38
|
+
const p = [], t = {
|
|
39
|
+
"(": ")",
|
|
40
|
+
"{": "}",
|
|
41
|
+
"[": "]"
|
|
42
|
+
};
|
|
43
|
+
for (let h = 0; h < g.length; h++) {
|
|
44
|
+
const c = g[h];
|
|
45
|
+
if (t[c])
|
|
46
|
+
p.push(c);
|
|
47
|
+
else if (Object.values(t).includes(c)) {
|
|
48
|
+
const f = p.pop();
|
|
49
|
+
if (console.log("stack", p, f, t[f]), t[f] !== c)
|
|
50
|
+
return !1;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return p.length === 0;
|
|
54
|
+
}
|
|
55
|
+
function ye(g) {
|
|
56
|
+
var h, c, f, C;
|
|
57
|
+
const p = (c = (h = g[0]) == null ? void 0 : h.compData) == null ? void 0 : c.filter((v) => v.key !== "formContent"), t = (C = (f = g[0]) == null ? void 0 : f.compData) == null ? void 0 : C.filter((v) => v.key === "formContent");
|
|
58
|
+
console.log("handleFormModel:", p, t, g);
|
|
59
|
+
}
|
|
60
|
+
const ge = { class: "system-wrap" }, pe = {
|
|
61
|
+
key: 0,
|
|
62
|
+
class: "show-content"
|
|
63
|
+
}, Ce = {
|
|
64
|
+
key: 0,
|
|
65
|
+
class: "item-menu-content"
|
|
66
|
+
}, ke = {
|
|
67
|
+
key: 0,
|
|
68
|
+
class: "item-view-group"
|
|
69
|
+
}, De = {
|
|
70
|
+
__name: "index",
|
|
71
|
+
props: {
|
|
72
|
+
content: String,
|
|
73
|
+
jsonContents: Array
|
|
74
|
+
},
|
|
75
|
+
emits: ["change"],
|
|
76
|
+
setup(g, { emit: p }) {
|
|
77
|
+
const t = g, h = p, c = Q(P);
|
|
78
|
+
ae(P);
|
|
79
|
+
const f = S(!0), C = X(), v = S(!0), { itemData: _ } = R(c), y = ne(P), { activeMenuPath: $, activeMenuOpenPaths: Z, menuTriggerType: L, menus: W } = R(C), { selectIndex: F, selectTitle: A } = R(y), D = S([]), b = S([]), Y = (e) => {
|
|
80
|
+
var o, s, n;
|
|
81
|
+
const a = (o = _.value) == null ? void 0 : o.find((l) => l.name === $.value);
|
|
82
|
+
b.value = (n = (s = a == null ? void 0 : a.compData) == null ? void 0 : s[0]) == null ? void 0 : n.contents, v.value = !0, v.value && (v.value = !1), h("change", {
|
|
83
|
+
wholeValue: D.value,
|
|
84
|
+
editValue: e
|
|
85
|
+
});
|
|
86
|
+
}, q = (e) => {
|
|
87
|
+
var I, k, x;
|
|
88
|
+
const a = O(D.value), o = a == null ? void 0 : a.map((r, M) => (M === (e == null ? void 0 : e.index) && (r.compData = e == null ? void 0 : e.contents), r));
|
|
89
|
+
let s = "";
|
|
90
|
+
(k = (I = O(o)) == null ? void 0 : I.filter((r) => (r == null ? void 0 : r.comp) === "Form")) == null || k.forEach((r) => {
|
|
91
|
+
var M;
|
|
92
|
+
(M = r == null ? void 0 : r.compData) == null || M.forEach((T) => {
|
|
93
|
+
var w;
|
|
94
|
+
(T == null ? void 0 : T.key) === "formContent" && ((w = T == null ? void 0 : T.contents) == null || w.forEach((E) => {
|
|
95
|
+
E.value !== "" && (s = s === "" ? E == null ? void 0 : E.value : s + "-" + (E == null ? void 0 : E.value));
|
|
96
|
+
}));
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
let n = A == null ? void 0 : A.value;
|
|
100
|
+
(n == null ? void 0 : n.length) > 0 ? n[0] = { key: "main", value: s } : (Array.isArray(n) || (n = []), n.push({ key: "main", value: s })), y.setSelectTitle(n), f.value = !1, D.value = o;
|
|
101
|
+
const l = (x = _.value) == null ? void 0 : x.map((r, M) => {
|
|
102
|
+
var T;
|
|
103
|
+
return r.name === $.value && (r.compData = (T = r.compData) == null ? void 0 : T.map((w) => ((w == null ? void 0 : w.key) === "groupContents" && (w.contents = D.value), w))), r;
|
|
104
|
+
});
|
|
105
|
+
c.setItemData(l), v.value && (v.value = !1);
|
|
106
|
+
}, i = (e) => {
|
|
107
|
+
var a, o;
|
|
108
|
+
if ((e == null ? void 0 : e.key) === "main")
|
|
109
|
+
y.setSelectIndex(""), y.setSelectMenu(""), y.setSelectTitle((a = A.value) == null ? void 0 : a[0]);
|
|
110
|
+
else {
|
|
111
|
+
const s = [];
|
|
112
|
+
let n = -1;
|
|
113
|
+
(o = A.value) == null || o.forEach((l, I) => {
|
|
114
|
+
(l == null ? void 0 : l.key) === (e == null ? void 0 : e.key) && (n = I), (n === -1 || n >= I) && s.push(l);
|
|
115
|
+
}), y.setSelectTitle(s), y.setSelectMenu(e == null ? void 0 : e.key);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
J(
|
|
119
|
+
() => _.value,
|
|
120
|
+
() => {
|
|
121
|
+
var a, o, s, n, l, I, k, x;
|
|
122
|
+
if (!_.value || ((a = _.value) == null ? void 0 : a.length) === 0 || !f.value) return;
|
|
123
|
+
let e = null;
|
|
124
|
+
if (!$.value)
|
|
125
|
+
e = (s = (o = O(_.value)) == null ? void 0 : o.filter((r) => (r == null ? void 0 : r.comp) === "Group")) == null ? void 0 : s[0], C.setActiveMenuPath(e == null ? void 0 : e.name);
|
|
126
|
+
else {
|
|
127
|
+
const r = (n = O(_.value)) == null ? void 0 : n.filter((M) => (M == null ? void 0 : M.comp) === "Group");
|
|
128
|
+
e = r == null ? void 0 : r.find((M) => M.name === $.value);
|
|
129
|
+
}
|
|
130
|
+
b.value = (I = (l = e == null ? void 0 : e.compData) == null ? void 0 : l[0]) == null ? void 0 : I.contents, D.value = (x = (k = e == null ? void 0 : e.compData) == null ? void 0 : k[0]) == null ? void 0 : x.contents, console.log("itemData监听", e, $.value, _.value);
|
|
131
|
+
},
|
|
132
|
+
{ deep: !0, immediate: !0 }
|
|
133
|
+
), J(() => $.value, (e) => {
|
|
134
|
+
var a, o, s, n, l, I;
|
|
135
|
+
if (e) {
|
|
136
|
+
const k = (a = O(_.value)) == null ? void 0 : a.find((x) => x.name === e);
|
|
137
|
+
if (e && k) {
|
|
138
|
+
b.value = (s = (o = k == null ? void 0 : k.compData) == null ? void 0 : o[0]) == null ? void 0 : s.contents, D.value = (l = (n = k == null ? void 0 : k.compData) == null ? void 0 : n[0]) == null ? void 0 : l.contents, console.log("点击-新-data:", e, b.value);
|
|
139
|
+
const x = (I = b.value) == null ? void 0 : I.filter((r) => r.comp === "Form");
|
|
140
|
+
ye(x);
|
|
141
|
+
} else
|
|
142
|
+
b.value = [], D.value = [];
|
|
143
|
+
y.setSelectTitle([]), y.setSelectIndex(""), y.setSelectMenu("");
|
|
144
|
+
}
|
|
145
|
+
}, {
|
|
146
|
+
immediate: !0
|
|
147
|
+
}), J(
|
|
148
|
+
() => [t == null ? void 0 : t.content, t == null ? void 0 : t.jsonContents],
|
|
149
|
+
() => {
|
|
150
|
+
var s;
|
|
151
|
+
if (((s = t == null ? void 0 : t.jsonContents) == null ? void 0 : s.length) > 0) {
|
|
152
|
+
c.setOriginalData(t == null ? void 0 : t.jsonContents), c.setItemData(t == null ? void 0 : t.jsonContents);
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
if (!(t != null && t.content) || (t == null ? void 0 : t.content) === "") return;
|
|
156
|
+
f.value = !0;
|
|
157
|
+
const e = oe(t == null ? void 0 : t.content), a = Array.isArray(e) && (e == null ? void 0 : e.find((n) => {
|
|
158
|
+
var l;
|
|
159
|
+
return ((l = n.comp) == null ? void 0 : l.toUpperCase()) === "MENU";
|
|
160
|
+
}));
|
|
161
|
+
C.setRawMenu(a ?? {});
|
|
162
|
+
const o = Array.isArray(e) && (e == null ? void 0 : e.find((n) => {
|
|
163
|
+
var l;
|
|
164
|
+
return ((l = n.comp) == null ? void 0 : l.toUpperCase()) === "SYSTEM";
|
|
165
|
+
}));
|
|
166
|
+
C.setSystemKey((o == null ? void 0 : o.name) ?? ""), c.setOriginalData(e), c.setItemData(e);
|
|
167
|
+
},
|
|
168
|
+
{ deep: !0, immediate: !0 }
|
|
169
|
+
);
|
|
170
|
+
const d = (e) => se(e);
|
|
171
|
+
return (e, a) => {
|
|
172
|
+
var o, s;
|
|
173
|
+
return u(), m("div", ge, [
|
|
174
|
+
U(ie, { class: "sys-aside" }),
|
|
175
|
+
((o = b.value) == null ? void 0 : o.length) > 0 ? (u(), m("div", pe, [
|
|
176
|
+
((s = N(A)) == null ? void 0 : s.length) > 1 ? (u(), m("div", Ce, [
|
|
177
|
+
(u(), V(ve, {
|
|
178
|
+
key: N(A),
|
|
179
|
+
breadArray: N(A),
|
|
180
|
+
onClick: i
|
|
181
|
+
}, null, 8, ["breadArray"]))
|
|
182
|
+
])) : j("", !0),
|
|
183
|
+
(u(!0), m(z, null, H(b.value, (n, l) => (u(), m("div", {
|
|
184
|
+
class: "item-content",
|
|
185
|
+
key: l
|
|
186
|
+
}, [
|
|
187
|
+
N(F) === "" || l.toString() === N(F) ? (u(), m("div", ke, G(n.name), 1)) : j("", !0),
|
|
188
|
+
N(F) === "" || l.toString() === N(F) ? (u(), V(te(d(n.comp)), {
|
|
189
|
+
itemData: n == null ? void 0 : n.compData,
|
|
190
|
+
childItemData: n == null ? void 0 : n.itemChildData,
|
|
191
|
+
key: l,
|
|
192
|
+
onChange: Y,
|
|
193
|
+
index: l,
|
|
194
|
+
onContentChange: q
|
|
195
|
+
}, null, 40, ["itemData", "childItemData", "index"])) : j("", !0)
|
|
196
|
+
]))), 128))
|
|
197
|
+
])) : j("", !0)
|
|
198
|
+
]);
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
}, Se = /* @__PURE__ */ K(De, [["__scopeId", "data-v-42b9b231"]]), Ie = { class: "add-model-content" }, Me = {
|
|
202
|
+
key: 0,
|
|
203
|
+
class: "model-import-data"
|
|
204
|
+
}, Ae = { class: "import-button" }, be = { key: 0 }, $e = {
|
|
205
|
+
key: 1,
|
|
206
|
+
class: "model-operate"
|
|
207
|
+
}, xe = { class: "model-select" }, Te = { class: "model-fill" }, je = {
|
|
208
|
+
key: 2,
|
|
209
|
+
class: "model-view"
|
|
210
|
+
}, we = {
|
|
211
|
+
__name: "index",
|
|
212
|
+
props: {
|
|
213
|
+
mode: {
|
|
214
|
+
type: String,
|
|
215
|
+
default: "view"
|
|
216
|
+
},
|
|
217
|
+
content: {
|
|
218
|
+
type: String,
|
|
219
|
+
default: ""
|
|
220
|
+
},
|
|
221
|
+
jsonContents: {
|
|
222
|
+
type: Array,
|
|
223
|
+
default: () => []
|
|
224
|
+
},
|
|
225
|
+
showButton: {
|
|
226
|
+
type: Boolean,
|
|
227
|
+
default: !0
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
emits: ["change"],
|
|
231
|
+
setup(g, { emit: p }) {
|
|
232
|
+
const t = g, h = p, c = S(""), f = S([]), C = S(0), v = Q(P), _ = X(P), { itemData: y, originalData: $ } = R(v), { activeMenuPath: Z } = R(_), L = S(null), W = S(0), F = S(""), A = (i) => {
|
|
233
|
+
var e;
|
|
234
|
+
const d = (e = O(i == null ? void 0 : i.wholeValue)) == null ? void 0 : e.map((a) => {
|
|
235
|
+
var o;
|
|
236
|
+
return (a == null ? void 0 : a.comp) === "Form" && (a.compData = (o = a.compData) == null ? void 0 : o.map((s) => ((s == null ? void 0 : s.key) === "formContent" && (s.contents = ue(s == null ? void 0 : s.contents)), s))), a;
|
|
237
|
+
});
|
|
238
|
+
h("change", {
|
|
239
|
+
originalContents: $.value,
|
|
240
|
+
currentContents: i == null ? void 0 : i.wholeValue,
|
|
241
|
+
editContent: i == null ? void 0 : i.editValue,
|
|
242
|
+
arrayToContents: d
|
|
243
|
+
});
|
|
244
|
+
}, D = S([]), b = () => {
|
|
245
|
+
L.value.click();
|
|
246
|
+
}, Y = (i) => {
|
|
247
|
+
const d = i.target.files[0];
|
|
248
|
+
if (!d) return;
|
|
249
|
+
const e = new FileReader();
|
|
250
|
+
e.onload = (a) => {
|
|
251
|
+
try {
|
|
252
|
+
c.value = a.target.result;
|
|
253
|
+
const o = _e(a.target.result);
|
|
254
|
+
console.log("handleFileChange-isValid", o), D.value = q(a.target.result), W.value++;
|
|
255
|
+
} catch (o) {
|
|
256
|
+
console.error("解析失败:", o);
|
|
257
|
+
}
|
|
258
|
+
}, e.onerror = (a) => {
|
|
259
|
+
console.error("文件读取错误:", a);
|
|
260
|
+
}, e.readAsText(d);
|
|
261
|
+
};
|
|
262
|
+
J(
|
|
263
|
+
() => [t == null ? void 0 : t.content, t == null ? void 0 : t.jsonContents],
|
|
264
|
+
() => {
|
|
265
|
+
c.value = t == null ? void 0 : t.content, f.value = t == null ? void 0 : t.jsonContents;
|
|
266
|
+
},
|
|
267
|
+
{ deep: !0, immediate: !0 }
|
|
268
|
+
), J(
|
|
269
|
+
() => W.value,
|
|
270
|
+
() => {
|
|
271
|
+
var i;
|
|
272
|
+
((i = D.value) == null ? void 0 : i.length) !== 0 && (v.setOriginalData(D.value), v.setItemData(D.value));
|
|
273
|
+
},
|
|
274
|
+
{ deep: !0, immediate: !0 }
|
|
275
|
+
);
|
|
276
|
+
const q = (i) => {
|
|
277
|
+
let d = i.replace(/,/g, ",").replace(/;/g, ";").replace(/:/g, ":");
|
|
278
|
+
d = d.replace(/(\w+)\s*:/g, "$1:"), d = d.replace(/\r\n/g, "").replace(/\n/g, "").replace(/\t/g, "").replace(/\s+/g, " ").trim(), d = d.replace(/,\s*([}\]])/g, "$1"), d = d.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,}])/g, ": $2$4");
|
|
279
|
+
try {
|
|
280
|
+
return JSON.parse(d);
|
|
281
|
+
} catch (e) {
|
|
282
|
+
try {
|
|
283
|
+
const o = new Function(`return ${d}`)();
|
|
284
|
+
if (Array.isArray(o) || typeof o == "object")
|
|
285
|
+
return o;
|
|
286
|
+
throw new Error(`解析结果不是有效的数组或对象: ${e}`);
|
|
287
|
+
} catch (a) {
|
|
288
|
+
throw new Error(`无法解析JSON: ${a.message}`);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
return (i, d) => {
|
|
293
|
+
var e;
|
|
294
|
+
return u(), m("div", Ie, [
|
|
295
|
+
((e = t == null ? void 0 : t.jsonContents) == null ? void 0 : e.length) === 0 && (t != null && t.showButton) ? (u(), m("div", Me, [
|
|
296
|
+
B("div", Ae, [
|
|
297
|
+
B("input", {
|
|
298
|
+
type: "file",
|
|
299
|
+
ref_key: "fileInput",
|
|
300
|
+
ref: L,
|
|
301
|
+
accept: ".txt",
|
|
302
|
+
onChange: Y,
|
|
303
|
+
style: { display: "none" }
|
|
304
|
+
}, null, 544),
|
|
305
|
+
B("button", {
|
|
306
|
+
onClick: b,
|
|
307
|
+
class: "import-button-content"
|
|
308
|
+
}, "导入文件"),
|
|
309
|
+
F.value ? (u(), m("span", be, G(F.value), 1)) : j("", !0)
|
|
310
|
+
])
|
|
311
|
+
])) : j("", !0),
|
|
312
|
+
(t == null ? void 0 : t.mode) === "edit" ? (u(), m("div", $e, [
|
|
313
|
+
B("div", xe, [
|
|
314
|
+
U(le)
|
|
315
|
+
]),
|
|
316
|
+
(u(), m("div", {
|
|
317
|
+
class: "model-show",
|
|
318
|
+
key: C.value
|
|
319
|
+
}, [
|
|
320
|
+
U(re)
|
|
321
|
+
])),
|
|
322
|
+
B("div", Te, [
|
|
323
|
+
U(ce)
|
|
324
|
+
])
|
|
325
|
+
])) : j("", !0),
|
|
326
|
+
(t == null ? void 0 : t.mode) === "view" ? (u(), m("div", je, [
|
|
327
|
+
(u(), V(Se, {
|
|
328
|
+
content: c.value,
|
|
329
|
+
onChange: A,
|
|
330
|
+
jsonContents: f.value,
|
|
331
|
+
key: C.value
|
|
332
|
+
}, null, 8, ["content", "jsonContents"]))
|
|
333
|
+
])) : j("", !0)
|
|
334
|
+
]);
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
}, Fe = /* @__PURE__ */ K(we, [["__scopeId", "data-v-402c0d69"]]), Ee = {
|
|
338
|
+
__name: "index",
|
|
339
|
+
setup(g) {
|
|
340
|
+
return (p, t) => (u(), V(Fe, { class: "ssComponent" }));
|
|
341
|
+
}
|
|
342
|
+
}, Re = /* @__PURE__ */ K(Ee, [["__scopeId", "data-v-f196ec9f"]]);
|
|
343
|
+
export {
|
|
344
|
+
Re as default
|
|
345
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as _, watch as V, createElementBlock as C, createCommentVNode as I, openBlock as f, Fragment as le, renderList as se, createElementVNode as O, createBlock as Z, toDisplayString as v, resolveDynamicComponent as ue, onMounted as ce, createVNode as A } from "vue";
|
|
2
|
-
import { p as E, e as ie, g as de, m as me, a as ye, b as fe, c as ge } from "./array-
|
|
3
|
-
import { u as ee } from "./modelComp-
|
|
2
|
+
import { p as E, e as ie, g as de, m as me, a as ye, b as fe, c as ge } from "./array-PBEw3B1E.js";
|
|
3
|
+
import { u as ee } from "./modelComp-5PDCbl8W.js";
|
|
4
4
|
import { _ as te, s as ne, c as k, u as he } from "./menu-V9qTN_Cu.js";
|
|
5
5
|
const x = [
|
|
6
6
|
{
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { d as a } from "./menu-V9qTN_Cu.js";
|
|
2
|
+
const i = a("modelComp", {
|
|
3
|
+
state: () => ({
|
|
4
|
+
itemData: [],
|
|
5
|
+
originalData: []
|
|
6
|
+
}),
|
|
7
|
+
actions: {
|
|
8
|
+
setItemData(t) {
|
|
9
|
+
this.itemData = t;
|
|
10
|
+
},
|
|
11
|
+
setOriginalData(t) {
|
|
12
|
+
this.originalData = t;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
i as u
|
|
18
|
+
};
|
package/dist/ss-component.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-content[data-v-62da0828]{width:100%;display:flex;flex-direction:column;gap:24px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-62da0828]{width:100%}.form-content .form-content-view .form-data[data-v-62da0828]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-62da0828]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-data .form-item .from-item-label[data-v-62da0828]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-62da0828]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-data .form-button .form-button-content[data-v-62da0828]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-62da0828]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-content-view .form-noRegular-data[data-v-62da0828]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-62da0828] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-62da0828] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-62da0828]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-noRegular-data .form-item .from-item-label[data-v-62da0828]{text-align:left;width:72px;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-noRegular-data .form-button[data-v-62da0828]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content[data-v-62da0828]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-62da0828]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-button[data-v-62da0828]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-62da0828]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-62da0828]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-62da0828] .el-form-item__label{padding:0;justify-content:start}[data-v-62da0828] .el-form-item__content{align-items:start;width:220px}.tabs-label[data-v-c1c693d0]{display:flex;width:100%;flex-direction:row}.tabs-label .tabs-children[data-v-c1c693d0]{display:flex;flex-direction:row;gap:8px}.tabs-contents[data-v-c1c693d0]{display:flex;flex-direction:column;gap:16px}.menu-wrap[data-v-af84dbc4]{width:100%;height:100%}.menu-wrap[data-v-af84dbc4] .el-sub-menu .el-sub-menu__title{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-af84dbc4] .el-sub-menu .el-sub-menu__title:hover{background:var(--el-submenu-hover-bg)}.menu-wrap[data-v-af84dbc4] .el-sub-menu.is-opened{background:var(--el-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-af84dbc4] .el-sub-menu.is-opened .el-menu--inline{background:var(--el-submenu-open-inline-bg)}.menu-wrap[data-v-af84dbc4] .el-menu-item{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-af84dbc4] .el-menu-item:hover{background:var(--el-menuitem-hover-bg)}.menu-wrap[data-v-af84dbc4] .el-menu-item.is-active{background:var(--el-menuitem-active-bg)}[data-v-917c453d] .el-textarea__inner{resize:none;height:120px}.dialog-title[data-v-5547662c]{display:flex}.el-dialog__headerbtn{margin-top:8px}.upload[data-v-3e08e20d]{display:flex;gap:8px}.upload .upload-word[data-v-3e08e20d]{display:flex;align-items:center}.upload .upload-icon[data-v-3e08e20d]{display:flex;width:20px;height:20px}.dialog-footer[data-v-3e08e20d]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-3e08e20d]{display:flex}[data-v-3e08e20d] .el-upload-list{margin:0}[data-v-3e08e20d] .el-upload-list__item{display:flex}[data-v-3e08e20d] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-3e08e20d] .el-upload-list__item-name{padding:0}[data-v-b4ea5f9a] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79.2px}[data-v-b4ea5f9a] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-b4ea5f9a] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-b4ea5f9a] .el-table__body .el-table__row{height:48px}[data-v-b4ea5f9a] .el-table__body{height:100%}.table-wrap .table-operate[data-v-b4ea5f9a]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-wrap .table-operate .blue-table-operate[data-v-b4ea5f9a]{color:#1890ff}.table-wrap .table-operate .red-table-operate[data-v-b4ea5f9a]{color:red}.table-wrap .table-operate .table-operate-content[data-v-b4ea5f9a]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-b4ea5f9a]{height:inherit}[data-v-b4ea5f9a] .el-table__body-wrapper{overflow:auto}.table-content[data-v-046353b1]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-046353b1]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-046353b1],.table-content .dialog-footer .ok-button[data-v-046353b1]{cursor:pointer}.table-content .extra-header[data-v-046353b1]{display:flex;flex-direction:row;justify-content:end}.table-content .extra-header .extra-contents[data-v-046353b1]{display:flex;flex-direction:row;gap:8px}.table-content .extra-header .extra-contents .extra-content[data-v-046353b1]{padding:4px 12px;border-radius:8px;cursor:pointer}.table-content .extra-header .model-view-icon[data-v-046353b1],.table-content .extra-button-label[data-v-046353b1]{cursor:pointer}.form-content[data-v-534c109a]{display:flex;flex-direction:column;gap:16px}[data-v-534c109a] .el-form-item{margin-bottom:0}[data-v-534c109a] .form-data{align-items:center}.table-operate-content[data-v-877911eb]{display:flex;flex-direction:column;gap:12px}.table-operate-content .table-operate-item[data-v-877911eb]{display:flex;flex-direction:column;gap:8px}.table-operate-content .table-operate-item .operate-title[data-v-877911eb]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.table-operate-content .table-operate-item .operate-content[data-v-877911eb]{display:flex;font-size:13px}.form-operate-content[data-v-a36b8468]{display:flex;flex-direction:column;gap:12px}.form-operate-content .form-operate-item[data-v-a36b8468]{display:flex;flex-direction:column;gap:8px}.form-operate-content .form-operate-item .operate-title[data-v-a36b8468]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.form-operate-content .form-operate-item .operate-content[data-v-a36b8468]{display:flex;font-size:13px}.type-select[data-v-fe4aecc8]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;height:fit-content;overflow:auto}.type-select .type-list[data-v-fe4aecc8]{display:flex;flex-direction:row;height:110px;gap:8px}.type-select .type-list .list-content[data-v-fe4aecc8]{width:85px;height:auto;display:flex;flex-direction:column;gap:6px;padding:4px 12px;align-items:center;height:82px;cursor:pointer}.type-select .type-list .list-content .list-icon[data-v-fe4aecc8]{width:48px;height:48px}.fill-content[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.fill-content .fill-operate[data-v-a216b035]{font-size:16px;font-weight:600}.fill-content .operate-content[data-v-a216b035]{display:flex;flex-direction:row;width:100%;height:100%;overflow:auto}.fill-content .operate-content .collapse-content[data-v-a216b035]{width:100%}.fill-content .operate-content .collapse-content .collapse-title[data-v-a216b035]{font-size:15px;font-weight:600}.fill-content .operate-content .collapse-content .comp-child[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.show-content[data-v-79320497]{display:flex;flex-direction:column;height:100%;gap:16px;width:100%;overflow:auto}.show-content .item-content[data-v-79320497]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content[data-v-869e6e20]{display:flex;flex-direction:column;height:auto;gap:16px;width:100%;overflow:auto;padding:16px;background:#fff}.show-content .item-content[data-v-869e6e20]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content .item-content .item-view-group[data-v-869e6e20]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-b25bde75]{display:flex;flex-direction:column;width:100%;height:100%;gap:16px;overflow:hidden}.add-model-content .model-operate[data-v-b25bde75]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-b25bde75]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-b25bde75]{display:flex;flex-direction:row;flex:1;padding:4px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-b25bde75]{display:flex;flex-direction:row;align-items:center;gap:8px}.add-model-content .model-import-data .import-button[data-v-b25bde75]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-b25bde75]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.menuList-wrap[data-v-e6e5db88]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-e6e5db88]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--el-menu-bg)}.bread-content[data-v-d55d3ede]{display:flex;width:100%}.bread-content .bread-item[data-v-d55d3ede]{display:flex}.bread-content .bread-item .bread-title[data-v-d55d3ede]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-d55d3ede]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-f531270a]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-f531270a]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-f531270a]{flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);gap:16px;overflow:auto;padding:24px;background:#fff;margin-top:16px;box-sizing:border-box;border-radius:8px}.system-wrap .show-content .item-menu-content[data-v-f531270a]{display:flex}.system-wrap .show-content .item-content[data-v-f531270a]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-f531270a]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-1a6c4322]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-1a6c4322]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-1a6c4322]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-1a6c4322]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-1a6c4322]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-1a6c4322]{display:flex;flex-direction:row;flex:1;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-1a6c4322]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-1a6c4322]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-1a6c4322]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.c-menuA[data-v-f196ec9f]{width:300px;height:300px;border:1px solid red}.ssComponent{--ssComponent-primary-color: #3F68B1;--ssComponent-danger-color: #f56c6c}
|
|
1
|
+
.form-content[data-v-62da0828]{width:100%;display:flex;flex-direction:column;gap:24px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-62da0828]{width:100%}.form-content .form-content-view .form-data[data-v-62da0828]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-62da0828]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-data .form-item .from-item-label[data-v-62da0828]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-62da0828]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-data .form-button .form-button-content[data-v-62da0828]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-62da0828]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-content-view .form-noRegular-data[data-v-62da0828]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-62da0828] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-62da0828] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-62da0828]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-noRegular-data .form-item .from-item-label[data-v-62da0828]{text-align:left;width:72px;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-noRegular-data .form-button[data-v-62da0828]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content[data-v-62da0828]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-62da0828]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-button[data-v-62da0828]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-62da0828]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-62da0828]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-62da0828] .el-form-item__label{padding:0;justify-content:start}[data-v-62da0828] .el-form-item__content{align-items:start;width:220px}.tabs-label[data-v-c1c693d0]{display:flex;width:100%;flex-direction:row}.tabs-label .tabs-children[data-v-c1c693d0]{display:flex;flex-direction:row;gap:8px}.tabs-contents[data-v-c1c693d0]{display:flex;flex-direction:column;gap:16px}.menu-wrap[data-v-af84dbc4]{width:100%;height:100%}.menu-wrap[data-v-af84dbc4] .el-sub-menu .el-sub-menu__title{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-af84dbc4] .el-sub-menu .el-sub-menu__title:hover{background:var(--el-submenu-hover-bg)}.menu-wrap[data-v-af84dbc4] .el-sub-menu.is-opened{background:var(--el-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-af84dbc4] .el-sub-menu.is-opened .el-menu--inline{background:var(--el-submenu-open-inline-bg)}.menu-wrap[data-v-af84dbc4] .el-menu-item{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-af84dbc4] .el-menu-item:hover{background:var(--el-menuitem-hover-bg)}.menu-wrap[data-v-af84dbc4] .el-menu-item.is-active{background:var(--el-menuitem-active-bg)}[data-v-917c453d] .el-textarea__inner{resize:none;height:120px}.dialog-title[data-v-5547662c]{display:flex}.el-dialog__headerbtn{margin-top:8px}.upload[data-v-3e08e20d]{display:flex;gap:8px}.upload .upload-word[data-v-3e08e20d]{display:flex;align-items:center}.upload .upload-icon[data-v-3e08e20d]{display:flex;width:20px;height:20px}.dialog-footer[data-v-3e08e20d]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-3e08e20d]{display:flex}[data-v-3e08e20d] .el-upload-list{margin:0}[data-v-3e08e20d] .el-upload-list__item{display:flex}[data-v-3e08e20d] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-3e08e20d] .el-upload-list__item-name{padding:0}[data-v-b4ea5f9a] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79.2px}[data-v-b4ea5f9a] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-b4ea5f9a] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-b4ea5f9a] .el-table__body .el-table__row{height:48px}[data-v-b4ea5f9a] .el-table__body{height:100%}.table-wrap .table-operate[data-v-b4ea5f9a]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-wrap .table-operate .blue-table-operate[data-v-b4ea5f9a]{color:#1890ff}.table-wrap .table-operate .red-table-operate[data-v-b4ea5f9a]{color:red}.table-wrap .table-operate .table-operate-content[data-v-b4ea5f9a]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-b4ea5f9a]{height:inherit}[data-v-b4ea5f9a] .el-table__body-wrapper{overflow:auto}.table-content[data-v-3405e36c]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-3405e36c]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-3405e36c],.table-content .dialog-footer .ok-button[data-v-3405e36c]{cursor:pointer}.table-content .extra-header[data-v-3405e36c]{display:flex;flex-direction:row;justify-content:end}.table-content .extra-header .extra-contents[data-v-3405e36c]{display:flex;flex-direction:row;gap:8px}.table-content .extra-header .extra-contents .extra-content[data-v-3405e36c]{padding:4px 12px;border-radius:8px;cursor:pointer}.table-content .extra-header .model-view-icon[data-v-3405e36c],.table-content .extra-button-label[data-v-3405e36c]{cursor:pointer}.form-content[data-v-56c22bdb]{display:flex;flex-direction:column;gap:16px}[data-v-56c22bdb] .el-form-item{margin-bottom:0}[data-v-56c22bdb] .form-data{align-items:center}.table-operate-content[data-v-877911eb]{display:flex;flex-direction:column;gap:12px}.table-operate-content .table-operate-item[data-v-877911eb]{display:flex;flex-direction:column;gap:8px}.table-operate-content .table-operate-item .operate-title[data-v-877911eb]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.table-operate-content .table-operate-item .operate-content[data-v-877911eb]{display:flex;font-size:13px}.form-operate-content[data-v-a36b8468]{display:flex;flex-direction:column;gap:12px}.form-operate-content .form-operate-item[data-v-a36b8468]{display:flex;flex-direction:column;gap:8px}.form-operate-content .form-operate-item .operate-title[data-v-a36b8468]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.form-operate-content .form-operate-item .operate-content[data-v-a36b8468]{display:flex;font-size:13px}.type-select[data-v-fe4aecc8]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;height:fit-content;overflow:auto}.type-select .type-list[data-v-fe4aecc8]{display:flex;flex-direction:row;height:110px;gap:8px}.type-select .type-list .list-content[data-v-fe4aecc8]{width:85px;height:auto;display:flex;flex-direction:column;gap:6px;padding:4px 12px;align-items:center;height:82px;cursor:pointer}.type-select .type-list .list-content .list-icon[data-v-fe4aecc8]{width:48px;height:48px}.fill-content[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.fill-content .fill-operate[data-v-a216b035]{font-size:16px;font-weight:600}.fill-content .operate-content[data-v-a216b035]{display:flex;flex-direction:row;width:100%;height:100%;overflow:auto}.fill-content .operate-content .collapse-content[data-v-a216b035]{width:100%}.fill-content .operate-content .collapse-content .collapse-title[data-v-a216b035]{font-size:15px;font-weight:600}.fill-content .operate-content .collapse-content .comp-child[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.show-content[data-v-79320497]{display:flex;flex-direction:column;height:100%;gap:16px;width:100%;overflow:auto}.show-content .item-content[data-v-79320497]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content[data-v-869e6e20]{display:flex;flex-direction:column;height:auto;gap:16px;width:100%;overflow:auto;padding:16px;background:#fff}.show-content .item-content[data-v-869e6e20]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content .item-content .item-view-group[data-v-869e6e20]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-b25bde75]{display:flex;flex-direction:column;width:100%;height:100%;gap:16px;overflow:hidden}.add-model-content .model-operate[data-v-b25bde75]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-b25bde75]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-b25bde75]{display:flex;flex-direction:row;flex:1;padding:4px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-b25bde75]{display:flex;flex-direction:row;align-items:center;gap:8px}.add-model-content .model-import-data .import-button[data-v-b25bde75]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-b25bde75]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.menuList-wrap[data-v-e6e5db88]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-e6e5db88]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--el-menu-bg)}.bread-content[data-v-d55d3ede]{display:flex;width:100%}.bread-content .bread-item[data-v-d55d3ede]{display:flex}.bread-content .bread-item .bread-title[data-v-d55d3ede]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-d55d3ede]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-42b9b231]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-42b9b231]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-42b9b231]{flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);gap:16px;overflow:auto;padding:24px;background:#fff;margin-top:16px;box-sizing:border-box;border-radius:8px}.system-wrap .show-content .item-menu-content[data-v-42b9b231]{display:flex}.system-wrap .show-content .item-content[data-v-42b9b231]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-42b9b231]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-402c0d69]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-402c0d69]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-402c0d69]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-402c0d69]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-402c0d69]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-402c0d69]{display:flex;flex-direction:row;flex:1;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-402c0d69]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-402c0d69]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-402c0d69]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.c-menuA[data-v-f196ec9f]{width:300px;height:300px;border:1px solid red}.ssComponent{--ssComponent-primary-color: #3F68B1;--ssComponent-danger-color: #f56c6c}
|
package/dist/ss-component.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as o } from "vue";
|
|
2
|
-
const s = o(() => import("./main-
|
|
2
|
+
const s = o(() => import("./main-BbqwmB4Y.js"));
|
|
3
3
|
s.install = (n) => {
|
|
4
4
|
n.component("ssComponent", s);
|
|
5
5
|
};
|
|
@@ -7,11 +7,11 @@ const t = o(() => import("./index-fopmc0W_.js").then((n) => n.i));
|
|
|
7
7
|
t.install = (n) => {
|
|
8
8
|
n.component("ssTab", t);
|
|
9
9
|
};
|
|
10
|
-
const e = o(() => import("./index-
|
|
10
|
+
const e = o(() => import("./index-Cj-7IvGD.js"));
|
|
11
11
|
e.install = (n) => {
|
|
12
12
|
n.component("ssMenu", e);
|
|
13
13
|
};
|
|
14
|
-
const m = o(() => import("./index-
|
|
14
|
+
const m = o(() => import("./index-OhsC2sML.js"));
|
|
15
15
|
m.install = (n) => {
|
|
16
16
|
n.component("ssMenuComponent", m);
|
|
17
17
|
};
|