ss-component-new 1.1.18 → 1.1.19
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-DskNZ4Qi.js +3397 -0
- package/dist/index-CHUtj0kp.js +305 -0
- package/dist/{index-MSbODhhD.js → index-Ctndv9Ij.js} +3 -3
- package/dist/{main-U3be2-RR.js → main-DI8y-VvV.js} +18 -18
- 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-DLhSgLgc.js +0 -3394
- package/dist/index-DjrQsQms.js +0 -242
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import { ref as y, onMounted as z, createElementBlock as d, openBlock as c, Fragment as K, renderList as L, createElementVNode as T, createCommentVNode as D, toDisplayString as O, watch as E, createVNode as B, unref as M, createBlock as V, resolveDynamicComponent as H } from "vue";
|
|
2
|
+
import { p as N, u as Q, d as X, e as Z, g as ee, m as ae, a as te, b as se, c as ne, s as oe } from "./array-DskNZ4Qi.js";
|
|
3
|
+
import { u as W } from "./modelComp-Eh2O6nl8.js";
|
|
4
|
+
import { _ as J, u as Y, s as F, c as j } from "./menu-hS9inuNL.js";
|
|
5
|
+
import le from "./index-DM0qZDHo.js";
|
|
6
|
+
const re = { class: "bread-content" }, ce = ["onClick"], ue = { key: 0 }, ie = {
|
|
7
|
+
__name: "index",
|
|
8
|
+
props: {
|
|
9
|
+
breadArray: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default: () => []
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
emits: ["click"],
|
|
15
|
+
setup($, { emit: x }) {
|
|
16
|
+
const e = $, A = y([]), f = x;
|
|
17
|
+
z(() => {
|
|
18
|
+
A.value = e == null ? void 0 : e.breadArray;
|
|
19
|
+
});
|
|
20
|
+
const g = (_) => {
|
|
21
|
+
f("click", _);
|
|
22
|
+
};
|
|
23
|
+
return (_, m) => (c(), d("div", re, [
|
|
24
|
+
(c(!0), d(K, null, L(A.value, (C, v) => (c(), d("div", {
|
|
25
|
+
key: v,
|
|
26
|
+
class: "bread-item"
|
|
27
|
+
}, [
|
|
28
|
+
T("div", {
|
|
29
|
+
class: "bread-title",
|
|
30
|
+
onClick: (b) => g(C)
|
|
31
|
+
}, O(C.value), 9, ce),
|
|
32
|
+
v !== A.value.length - 1 ? (c(), d("div", ue, O("/"))) : D("", !0)
|
|
33
|
+
]))), 128))
|
|
34
|
+
]));
|
|
35
|
+
}
|
|
36
|
+
}, de = /* @__PURE__ */ J(ie, [["__scopeId", "data-v-d55d3ede"]]), me = { class: "system-wrap" }, he = {
|
|
37
|
+
key: 0,
|
|
38
|
+
class: "show-content"
|
|
39
|
+
}, _e = {
|
|
40
|
+
key: 0,
|
|
41
|
+
class: "item-menu-content"
|
|
42
|
+
}, ve = {
|
|
43
|
+
key: 0,
|
|
44
|
+
class: "item-view-group"
|
|
45
|
+
}, fe = {
|
|
46
|
+
__name: "index",
|
|
47
|
+
props: {
|
|
48
|
+
content: String,
|
|
49
|
+
jsonContents: Array
|
|
50
|
+
},
|
|
51
|
+
emits: ["change"],
|
|
52
|
+
setup($, { emit: x }) {
|
|
53
|
+
const e = $, A = x, f = W(N);
|
|
54
|
+
Q(N);
|
|
55
|
+
const g = Y(), { itemData: _ } = F(f), m = X(N), { selectIndex: C, selectTitle: v } = F(m), { activeMenuPath: b, activeMenuOpenPaths: q, menuTriggerType: P } = F(g), p = y([]), k = y([]), U = (a) => {
|
|
56
|
+
A("change", {
|
|
57
|
+
wholeValue: p.value,
|
|
58
|
+
editValue: a
|
|
59
|
+
});
|
|
60
|
+
}, w = (a) => {
|
|
61
|
+
var o, r;
|
|
62
|
+
const t = j(p.value), n = t == null ? void 0 : t.map((u, i) => (i === (a == null ? void 0 : a.index) && (u.compData = a == null ? void 0 : a.contents), u));
|
|
63
|
+
let l = "";
|
|
64
|
+
(r = (o = j(n)) == null ? void 0 : o.filter((u) => (u == null ? void 0 : u.comp) === "Form")) == null || r.forEach((u) => {
|
|
65
|
+
var i;
|
|
66
|
+
(i = u == null ? void 0 : u.compData) == null || i.forEach((h) => {
|
|
67
|
+
var S;
|
|
68
|
+
(h == null ? void 0 : h.key) === "formContent" && ((S = h == null ? void 0 : h.contents) == null || S.forEach((I) => {
|
|
69
|
+
I.value !== "" && (l = l === "" ? I == null ? void 0 : I.value : l + "-" + (I == null ? void 0 : I.value));
|
|
70
|
+
}));
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
let s = v == null ? void 0 : v.value;
|
|
74
|
+
(s == null ? void 0 : s.length) > 0 ? s[0] = { key: "main", value: l } : (Array.isArray(s) || (s = []), s.push({ key: "main", value: l })), m.setSelectTitle(s), p.value = n;
|
|
75
|
+
}, R = (a) => {
|
|
76
|
+
var t, n;
|
|
77
|
+
if ((a == null ? void 0 : a.key) === "main")
|
|
78
|
+
m.setSelectIndex(""), m.setSelectMenu(""), m.setSelectTitle((t = v.value) == null ? void 0 : t[0]);
|
|
79
|
+
else {
|
|
80
|
+
const l = [];
|
|
81
|
+
let s = -1;
|
|
82
|
+
(n = v.value) == null || n.forEach((o, r) => {
|
|
83
|
+
(o == null ? void 0 : o.key) === (a == null ? void 0 : a.key) && (s = r), (s === -1 || s >= r) && l.push(o);
|
|
84
|
+
}), m.setSelectTitle(l), m.setSelectMenu(a == null ? void 0 : a.key);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
E(
|
|
88
|
+
() => _.value,
|
|
89
|
+
() => {
|
|
90
|
+
var t, n, l, s, o, r, u, i;
|
|
91
|
+
if (!_.value || ((t = _.value) == null ? void 0 : t.length) === 0) return;
|
|
92
|
+
let a = null;
|
|
93
|
+
if (!b.value)
|
|
94
|
+
a = (l = (n = j(_.value)) == null ? void 0 : n.filter((h) => (h == null ? void 0 : h.comp) === "Group")) == null ? void 0 : l[0], g.setActiveMenuPath(a == null ? void 0 : a.name);
|
|
95
|
+
else {
|
|
96
|
+
const h = (s = j(_.value)) == null ? void 0 : s.filter((S) => (S == null ? void 0 : S.comp) === "Group");
|
|
97
|
+
a = h == null ? void 0 : h.find((S) => S.name === b.value);
|
|
98
|
+
}
|
|
99
|
+
k.value = (r = (o = a == null ? void 0 : a.compData) == null ? void 0 : o[0]) == null ? void 0 : r.contents, p.value = (i = (u = a == null ? void 0 : a.compData) == null ? void 0 : u[0]) == null ? void 0 : i.contents, console.log("itemData监听", b.value, _.value);
|
|
100
|
+
},
|
|
101
|
+
{ deep: !0, immediate: !0 }
|
|
102
|
+
), E(() => b.value, (a) => {
|
|
103
|
+
var t, n, l, s, o;
|
|
104
|
+
if (console.log("点击-新-data2:", a), a) {
|
|
105
|
+
const r = (t = j(_.value)) == null ? void 0 : t.find((u) => u.name === a);
|
|
106
|
+
a && r ? (k.value = (l = (n = r == null ? void 0 : r.compData) == null ? void 0 : n[0]) == null ? void 0 : l.contents, p.value = (o = (s = r == null ? void 0 : r.compData) == null ? void 0 : s[0]) == null ? void 0 : o.contents, console.log("点击-新-data:", a, k.value)) : (k.value = [], p.value = []), m.setSelectTitle([]), m.setSelectIndex(""), m.setSelectMenu("");
|
|
107
|
+
}
|
|
108
|
+
}), E(
|
|
109
|
+
() => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
|
|
110
|
+
() => {
|
|
111
|
+
var l;
|
|
112
|
+
if (((l = e == null ? void 0 : e.jsonContents) == null ? void 0 : l.length) > 0) {
|
|
113
|
+
f.setOriginalData(e == null ? void 0 : e.jsonContents), f.setItemData(e == null ? void 0 : e.jsonContents);
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
if (!(e != null && e.content) || (e == null ? void 0 : e.content) === "") return;
|
|
117
|
+
const a = Z(e == null ? void 0 : e.content);
|
|
118
|
+
console.log("newViewContents", a);
|
|
119
|
+
const t = Array.isArray(a) && (a == null ? void 0 : a.find((s) => {
|
|
120
|
+
var o;
|
|
121
|
+
return ((o = s.comp) == null ? void 0 : o.toUpperCase()) === "MENU";
|
|
122
|
+
}));
|
|
123
|
+
g.setRawMenu(t ?? {});
|
|
124
|
+
const n = Array.isArray(a) && (a == null ? void 0 : a.find((s) => {
|
|
125
|
+
var o;
|
|
126
|
+
return ((o = s.comp) == null ? void 0 : o.toUpperCase()) === "SYSTEM";
|
|
127
|
+
}));
|
|
128
|
+
g.setSystemKey((n == null ? void 0 : n.name) ?? ""), f.setOriginalData(a), f.setItemData(a);
|
|
129
|
+
},
|
|
130
|
+
{ deep: !0, immediate: !0 }
|
|
131
|
+
);
|
|
132
|
+
const G = (a) => ee(a);
|
|
133
|
+
return (a, t) => {
|
|
134
|
+
var n, l;
|
|
135
|
+
return c(), d("div", me, [
|
|
136
|
+
B(le, { class: "sys-aside" }),
|
|
137
|
+
((n = k.value) == null ? void 0 : n.length) > 0 ? (c(), d("div", he, [
|
|
138
|
+
((l = M(v)) == null ? void 0 : l.length) > 1 ? (c(), d("div", _e, [
|
|
139
|
+
(c(), V(de, {
|
|
140
|
+
key: M(v),
|
|
141
|
+
breadArray: M(v),
|
|
142
|
+
onClick: R
|
|
143
|
+
}, null, 8, ["breadArray"]))
|
|
144
|
+
])) : D("", !0),
|
|
145
|
+
(c(!0), d(K, null, L(k.value, (s, o) => (c(), d("div", {
|
|
146
|
+
class: "item-content",
|
|
147
|
+
key: o
|
|
148
|
+
}, [
|
|
149
|
+
M(C) === "" || o.toString() === M(C) ? (c(), d("div", ve, O(s.name), 1)) : D("", !0),
|
|
150
|
+
M(C) === "" || o.toString() === M(C) ? (c(), V(H(G(s.comp)), {
|
|
151
|
+
itemData: s == null ? void 0 : s.compData,
|
|
152
|
+
childItemData: s == null ? void 0 : s.itemChildData,
|
|
153
|
+
key: o,
|
|
154
|
+
onChange: U,
|
|
155
|
+
index: o,
|
|
156
|
+
onContentChange: w
|
|
157
|
+
}, null, 40, ["itemData", "childItemData", "index"])) : D("", !0)
|
|
158
|
+
]))), 128))
|
|
159
|
+
])) : D("", !0)
|
|
160
|
+
]);
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
}, ye = /* @__PURE__ */ J(fe, [["__scopeId", "data-v-a92e5168"]]), ge = { class: "add-model-content" }, Ce = {
|
|
164
|
+
key: 0,
|
|
165
|
+
class: "model-import-data"
|
|
166
|
+
}, pe = { class: "import-button" }, ke = { key: 0 }, De = {
|
|
167
|
+
key: 1,
|
|
168
|
+
class: "model-operate"
|
|
169
|
+
}, Se = { class: "model-select" }, Ae = { class: "model-fill" }, be = {
|
|
170
|
+
key: 2,
|
|
171
|
+
class: "model-view"
|
|
172
|
+
}, Ie = {
|
|
173
|
+
__name: "index",
|
|
174
|
+
props: {
|
|
175
|
+
mode: {
|
|
176
|
+
type: String,
|
|
177
|
+
default: "view"
|
|
178
|
+
},
|
|
179
|
+
content: {
|
|
180
|
+
type: String,
|
|
181
|
+
default: ""
|
|
182
|
+
},
|
|
183
|
+
jsonContents: {
|
|
184
|
+
type: Array,
|
|
185
|
+
default: () => []
|
|
186
|
+
},
|
|
187
|
+
showButton: {
|
|
188
|
+
type: Boolean,
|
|
189
|
+
default: !0
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
emits: ["change"],
|
|
193
|
+
setup($, { emit: x }) {
|
|
194
|
+
const e = $, A = x, f = y(""), g = y([]), _ = y(0), m = W(N), C = Y(N), { itemData: v, originalData: b } = F(m), { activeMenuPath: q } = F(C), P = y(null), p = y(0), k = y(""), U = (t) => {
|
|
195
|
+
var l, s, o;
|
|
196
|
+
const n = (l = j(t == null ? void 0 : t.wholeValue)) == null ? void 0 : l.map((r) => {
|
|
197
|
+
var u;
|
|
198
|
+
return (r == null ? void 0 : r.comp) === "Form" && (r.compData = (u = r.compData) == null ? void 0 : u.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = ne(i == null ? void 0 : i.contents)), i))), r;
|
|
199
|
+
});
|
|
200
|
+
A("change", {
|
|
201
|
+
originalContents: b.value,
|
|
202
|
+
currentContents: t == null ? void 0 : t.wholeValue,
|
|
203
|
+
editContent: t == null ? void 0 : t.editValue,
|
|
204
|
+
arrayToContents: n
|
|
205
|
+
}), oe(t == null ? void 0 : t.wholeValue, (s = t == null ? void 0 : t.editValue) == null ? void 0 : s.content, (o = t == null ? void 0 : t.editValue) == null ? void 0 : o.buttonName), console.log("change123", t == null ? void 0 : t.editValue, t == null ? void 0 : t.wholeValue);
|
|
206
|
+
}, w = y([]), R = () => {
|
|
207
|
+
P.value.click();
|
|
208
|
+
}, G = (t) => {
|
|
209
|
+
const n = t.target.files[0];
|
|
210
|
+
if (!n) return;
|
|
211
|
+
const l = new FileReader();
|
|
212
|
+
l.onload = (s) => {
|
|
213
|
+
try {
|
|
214
|
+
f.value = s.target.result, w.value = a(s.target.result), p.value++;
|
|
215
|
+
} catch (o) {
|
|
216
|
+
console.error("解析失败:", o);
|
|
217
|
+
}
|
|
218
|
+
}, l.onerror = (s) => {
|
|
219
|
+
console.error("文件读取错误:", s);
|
|
220
|
+
}, l.readAsText(n);
|
|
221
|
+
};
|
|
222
|
+
E(
|
|
223
|
+
() => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
|
|
224
|
+
() => {
|
|
225
|
+
f.value = e == null ? void 0 : e.content, g.value = e == null ? void 0 : e.jsonContents;
|
|
226
|
+
},
|
|
227
|
+
{ deep: !0, immediate: !0 }
|
|
228
|
+
), E(
|
|
229
|
+
() => p.value,
|
|
230
|
+
() => {
|
|
231
|
+
var t;
|
|
232
|
+
((t = w.value) == null ? void 0 : t.length) !== 0 && (m.setOriginalData(w.value), m.setItemData(w.value));
|
|
233
|
+
},
|
|
234
|
+
{ deep: !0, immediate: !0 }
|
|
235
|
+
);
|
|
236
|
+
const a = (t) => {
|
|
237
|
+
let n = t.replace(/,/g, ",").replace(/;/g, ";").replace(/:/g, ":");
|
|
238
|
+
n = n.replace(/(\w+)\s*:/g, "$1:"), n = n.replace(/\r\n/g, "").replace(/\n/g, "").replace(/\t/g, "").replace(/\s+/g, " ").trim(), n = n.replace(/,\s*([}\]])/g, "$1"), n = n.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,}])/g, ": $2$4");
|
|
239
|
+
try {
|
|
240
|
+
return JSON.parse(n);
|
|
241
|
+
} catch (l) {
|
|
242
|
+
try {
|
|
243
|
+
const o = new Function(`return ${n}`)();
|
|
244
|
+
if (Array.isArray(o) || typeof o == "object")
|
|
245
|
+
return o;
|
|
246
|
+
throw new Error(`解析结果不是有效的数组或对象: ${l}`);
|
|
247
|
+
} catch (s) {
|
|
248
|
+
throw new Error(`无法解析JSON: ${s.message}`);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
return (t, n) => {
|
|
253
|
+
var l;
|
|
254
|
+
return c(), d("div", ge, [
|
|
255
|
+
((l = e == null ? void 0 : e.jsonContents) == null ? void 0 : l.length) === 0 && (e != null && e.showButton) ? (c(), d("div", Ce, [
|
|
256
|
+
T("div", pe, [
|
|
257
|
+
T("input", {
|
|
258
|
+
type: "file",
|
|
259
|
+
ref_key: "fileInput",
|
|
260
|
+
ref: P,
|
|
261
|
+
accept: ".txt",
|
|
262
|
+
onChange: G,
|
|
263
|
+
style: { display: "none" }
|
|
264
|
+
}, null, 544),
|
|
265
|
+
T("button", {
|
|
266
|
+
onClick: R,
|
|
267
|
+
class: "import-button-content"
|
|
268
|
+
}, "导入文件"),
|
|
269
|
+
k.value ? (c(), d("span", ke, O(k.value), 1)) : D("", !0)
|
|
270
|
+
])
|
|
271
|
+
])) : D("", !0),
|
|
272
|
+
(e == null ? void 0 : e.mode) === "edit" ? (c(), d("div", De, [
|
|
273
|
+
T("div", Se, [
|
|
274
|
+
B(ae)
|
|
275
|
+
]),
|
|
276
|
+
(c(), d("div", {
|
|
277
|
+
class: "model-show",
|
|
278
|
+
key: _.value
|
|
279
|
+
}, [
|
|
280
|
+
B(te)
|
|
281
|
+
])),
|
|
282
|
+
T("div", Ae, [
|
|
283
|
+
B(se)
|
|
284
|
+
])
|
|
285
|
+
])) : D("", !0),
|
|
286
|
+
(e == null ? void 0 : e.mode) === "view" ? (c(), d("div", be, [
|
|
287
|
+
(c(), V(ye, {
|
|
288
|
+
content: f.value,
|
|
289
|
+
onChange: U,
|
|
290
|
+
jsonContents: g.value,
|
|
291
|
+
key: _.value
|
|
292
|
+
}, null, 8, ["content", "jsonContents"]))
|
|
293
|
+
])) : D("", !0)
|
|
294
|
+
]);
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
}, Me = /* @__PURE__ */ J(Ie, [["__scopeId", "data-v-c8a54bd8"]]), $e = {
|
|
298
|
+
__name: "index",
|
|
299
|
+
setup($) {
|
|
300
|
+
return (x, e) => (c(), V(Me, { class: "ssComponent" }));
|
|
301
|
+
}
|
|
302
|
+
}, Ne = /* @__PURE__ */ J($e, [["__scopeId", "data-v-f196ec9f"]]);
|
|
303
|
+
export {
|
|
304
|
+
Ne as default
|
|
305
|
+
};
|
|
@@ -2510,7 +2510,7 @@ const yo = fr(Ye, "$message"), Fr = {
|
|
|
2510
2510
|
d != null && d.label ? (v(), O("div", {
|
|
2511
2511
|
key: 0,
|
|
2512
2512
|
class: "from-item-label",
|
|
2513
|
-
style: te({ width: t.isRowFlex ? "72px" :
|
|
2513
|
+
style: te({ width: t.isRowFlex ? "72px" : "auto", minWidth: t.isRowFlex ? "72px" : `calc((100% / ${(d == null ? void 0 : d.width) ?? 1}) - 8px)` })
|
|
2514
2514
|
}, ne(d == null ? void 0 : d.label), 5)) : j("", !0)
|
|
2515
2515
|
]),
|
|
2516
2516
|
default: k(() => [
|
|
@@ -2561,7 +2561,7 @@ const yo = fr(Ye, "$message"), Fr = {
|
|
|
2561
2561
|
], 4);
|
|
2562
2562
|
};
|
|
2563
2563
|
}
|
|
2564
|
-
}, Kr = /* @__PURE__ */ We(Gr, [["__scopeId", "data-v-
|
|
2564
|
+
}, Kr = /* @__PURE__ */ We(Gr, [["__scopeId", "data-v-f9ddc349"]]), Zr = {
|
|
2565
2565
|
__name: "index",
|
|
2566
2566
|
props: {
|
|
2567
2567
|
value: String,
|
|
@@ -3052,7 +3052,7 @@ const yo = fr(Ye, "$message"), Fr = {
|
|
|
3052
3052
|
], 64);
|
|
3053
3053
|
};
|
|
3054
3054
|
}
|
|
3055
|
-
}, hi = /* @__PURE__ */ We(pi, [["__scopeId", "data-v-
|
|
3055
|
+
}, hi = /* @__PURE__ */ We(pi, [["__scopeId", "data-v-c49461a5"]]), gi = {
|
|
3056
3056
|
SWITCH: Fr,
|
|
3057
3057
|
INPUT: zr,
|
|
3058
3058
|
COLOR: Lr,
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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-DskNZ4Qi.js";
|
|
3
3
|
import { u as ee } from "./modelComp-Eh2O6nl8.js";
|
|
4
4
|
import { _ as te, s as ne, c as k, u as he } from "./menu-hS9inuNL.js";
|
|
5
5
|
const x = [
|
|
@@ -55,20 +55,20 @@ const x = [
|
|
|
55
55
|
},
|
|
56
56
|
emits: ["change"],
|
|
57
57
|
setup(F, { emit: B }) {
|
|
58
|
-
const e = F, $ = B, h = ee(E), { itemData:
|
|
58
|
+
const e = F, $ = B, h = ee(E), { itemData: b } = ne(h), p = _([]), w = _([]), L = (l) => {
|
|
59
59
|
$("change", {
|
|
60
|
-
wholeValue:
|
|
60
|
+
wholeValue: p.value,
|
|
61
61
|
editValue: l
|
|
62
62
|
});
|
|
63
63
|
}, D = (l) => {
|
|
64
|
-
const g = k(
|
|
65
|
-
|
|
64
|
+
const g = k(p.value), S = g == null ? void 0 : g.map((c, j) => (j === (l == null ? void 0 : l.index) && (c.compData = l == null ? void 0 : l.contents), c));
|
|
65
|
+
p.value = S;
|
|
66
66
|
};
|
|
67
67
|
V(
|
|
68
|
-
() =>
|
|
68
|
+
() => b.value,
|
|
69
69
|
() => {
|
|
70
70
|
var l;
|
|
71
|
-
!
|
|
71
|
+
!b.value || ((l = b.value) == null ? void 0 : l.length) === 0 || (w.value = b.value, p.value = b.value);
|
|
72
72
|
},
|
|
73
73
|
{ deep: !0, immediate: !0 }
|
|
74
74
|
), V(
|
|
@@ -106,7 +106,7 @@ const x = [
|
|
|
106
106
|
])) : I("", !0);
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, be = /* @__PURE__ */ te(Ce, [["__scopeId", "data-v-869e6e20"]]), pe = { class: "add-model-content" }, we = {
|
|
110
110
|
key: 0,
|
|
111
111
|
class: "model-import-data"
|
|
112
112
|
}, je = { class: "import-button" }, Se = { key: 0 }, xe = {
|
|
@@ -137,11 +137,11 @@ const x = [
|
|
|
137
137
|
},
|
|
138
138
|
emits: ["change"],
|
|
139
139
|
setup(F, { emit: B }) {
|
|
140
|
-
const e = F, $ = B, h = _(""),
|
|
140
|
+
const e = F, $ = B, h = _(""), b = _([]), p = _(0), w = ee(E);
|
|
141
141
|
he(E);
|
|
142
142
|
const { itemData: L, originalData: D } = ne(w), N = _(null), l = _(0), g = _(""), S = () => {
|
|
143
|
-
|
|
144
|
-
}, c = (o) => {
|
|
143
|
+
p.value = window.innerWidth;
|
|
144
|
+
}, c = async (o) => {
|
|
145
145
|
var u;
|
|
146
146
|
const a = (u = k(o == null ? void 0 : o.wholeValue)) == null ? void 0 : u.map((n) => {
|
|
147
147
|
var m;
|
|
@@ -207,7 +207,7 @@ const x = [
|
|
|
207
207
|
}), V(
|
|
208
208
|
() => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
|
|
209
209
|
() => {
|
|
210
|
-
h.value = e == null ? void 0 : e.content,
|
|
210
|
+
h.value = e == null ? void 0 : e.content, b.value = e == null ? void 0 : e.jsonContents;
|
|
211
211
|
},
|
|
212
212
|
{ deep: !0, immediate: !0 }
|
|
213
213
|
), V(
|
|
@@ -236,7 +236,7 @@ const x = [
|
|
|
236
236
|
};
|
|
237
237
|
return (o, a) => {
|
|
238
238
|
var u;
|
|
239
|
-
return f(), C("div",
|
|
239
|
+
return f(), C("div", pe, [
|
|
240
240
|
((u = e == null ? void 0 : e.jsonContents) == null ? void 0 : u.length) === 0 ? (f(), C("div", we, [
|
|
241
241
|
O("div", je, [
|
|
242
242
|
O("input", {
|
|
@@ -260,7 +260,7 @@ const x = [
|
|
|
260
260
|
]),
|
|
261
261
|
(f(), C("div", {
|
|
262
262
|
class: "model-show",
|
|
263
|
-
key:
|
|
263
|
+
key: p.value
|
|
264
264
|
}, [
|
|
265
265
|
A(ye)
|
|
266
266
|
])),
|
|
@@ -269,17 +269,17 @@ const x = [
|
|
|
269
269
|
])
|
|
270
270
|
])) : I("", !0),
|
|
271
271
|
(e == null ? void 0 : e.mode) === "view" ? (f(), C("div", Ne, [
|
|
272
|
-
(f(), Z(
|
|
272
|
+
(f(), Z(be, {
|
|
273
273
|
content: h.value,
|
|
274
274
|
onChange: c,
|
|
275
|
-
jsonContents:
|
|
276
|
-
key:
|
|
275
|
+
jsonContents: b.value,
|
|
276
|
+
key: p.value
|
|
277
277
|
}, null, 8, ["content", "jsonContents"]))
|
|
278
278
|
])) : I("", !0)
|
|
279
279
|
]);
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
|
-
}, De = /* @__PURE__ */ te(Te, [["__scopeId", "data-v-
|
|
282
|
+
}, De = /* @__PURE__ */ te(Te, [["__scopeId", "data-v-b25bde75"]]);
|
|
283
283
|
export {
|
|
284
284
|
De as default
|
|
285
285
|
};
|
package/dist/ss-component.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-content[data-v-becdf6c1]{width:100%;display:flex;flex-direction:column;gap:24px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-becdf6c1]{width:100%}.form-content .form-content-view .form-data[data-v-becdf6c1]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-becdf6c1]{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-becdf6c1]{display:flex;width:72px;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-becdf6c1]{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-becdf6c1]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-becdf6c1]{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-becdf6c1]{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-becdf6c1] .el-form-item__label{padding:0;justify-content:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-becdf6c1] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-becdf6c1]{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-becdf6c1]{display:flex;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-becdf6c1]{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-becdf6c1]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-becdf6c1]{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-becdf6c1]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-becdf6c1]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-becdf6c1]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-becdf6c1] .el-form-item__label{padding:0;justify-content:start}[data-v-becdf6c1] .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-6cdfb310]{width:100%;height:100%}.menu-wrap[data-v-6cdfb310] .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-6cdfb310] .el-sub-menu .el-sub-menu__title:hover{background:#0003}.menu-wrap[data-v-6cdfb310] .el-sub-menu.is-opened{background:#2da0ff;border-radius:8px}.menu-wrap[data-v-6cdfb310] .el-sub-menu.is-opened .el-menu--inline{background:#1c4275!important}.menu-wrap[data-v-6cdfb310] .el-sub-menu:hover{background:#2da0ff}.menu-wrap[data-v-6cdfb310] .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-6cdfb310] .el-menu-item:hover,.menu-wrap[data-v-6cdfb310] .el-menu-item.is-active{background:#1d7bef!important}[data-v-a3bb813e] .el-textarea__inner{resize:none;height:120px}.dialog-title[data-v-5547662c]{display:flex}.el-dialog__headerbtn{margin-top:8px}.upload[data-v-f39b7365]{display:flex;gap:8px}.upload .upload-word[data-v-f39b7365]{display:flex;align-items:center}.upload .upload-icon[data-v-f39b7365]{display:flex;width:20px;height:20px}.dialog-footer[data-v-f39b7365]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-f39b7365]{display:flex}[data-v-f39b7365] .el-upload-list{margin:0}[data-v-f39b7365] .el-upload-list__item{display:flex}[data-v-f39b7365] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-f39b7365] .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-43e3c66f]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-43e3c66f]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-43e3c66f],.table-content .dialog-footer .ok-button[data-v-43e3c66f]{cursor:pointer}.table-content .extra-header[data-v-43e3c66f]{display:flex;flex-direction:row;justify-content:end}.table-content .extra-header .extra-contents[data-v-43e3c66f]{display:flex;flex-direction:row;gap:8px}.table-content .extra-header .extra-contents .extra-content[data-v-43e3c66f]{padding:4px 12px;border-radius:8px;cursor:pointer}.table-content .extra-header .model-view-icon[data-v-43e3c66f],.table-content .extra-button-label[data-v-43e3c66f]{cursor:pointer}.form-content[data-v-3cdc719b]{display:flex;flex-direction:column;gap:16px}[data-v-3cdc719b] .el-form-item{margin-bottom:0}[data-v-3cdc719b] .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-512609c1]{display:flex;flex-direction:column;width:100%;height:100%;gap:16px;overflow:hidden}.add-model-content .model-operate[data-v-512609c1]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-512609c1]{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-512609c1]{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-512609c1]{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-512609c1]{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-512609c1]{display:flex;flex-direction:row;align-items:center;gap:8px}.add-model-content .model-import-data .import-button[data-v-512609c1]{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-512609c1]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.menuList-wrap[data-v-8a96f909]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-8a96f909]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:#426ec4}.system-wrap[data-v-979a28e7]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-979a28e7]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-979a28e7]{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-979a28e7]{display:flex}.system-wrap .show-content .item-content[data-v-979a28e7]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-979a28e7]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-c8a54bd8]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-c8a54bd8]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-c8a54bd8]{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-c8a54bd8]{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-c8a54bd8]{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-c8a54bd8]{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-c8a54bd8]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-c8a54bd8]{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-c8a54bd8]{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-f9ddc349]{width:100%;display:flex;flex-direction:column;gap:24px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-f9ddc349]{width:100%}.form-content .form-content-view .form-data[data-v-f9ddc349]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-f9ddc349]{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-f9ddc349]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-f9ddc349]{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-f9ddc349]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-f9ddc349]{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-f9ddc349]{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-f9ddc349] .el-form-item__label{padding:0;justify-content:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-f9ddc349] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-f9ddc349]{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-f9ddc349]{display:flex;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-f9ddc349]{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-f9ddc349]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-f9ddc349]{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-f9ddc349]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-f9ddc349]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-f9ddc349]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-f9ddc349] .el-form-item__label{padding:0;justify-content:start}[data-v-f9ddc349] .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-6cdfb310]{width:100%;height:100%}.menu-wrap[data-v-6cdfb310] .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-6cdfb310] .el-sub-menu .el-sub-menu__title:hover{background:#0003}.menu-wrap[data-v-6cdfb310] .el-sub-menu.is-opened{background:#2da0ff;border-radius:8px}.menu-wrap[data-v-6cdfb310] .el-sub-menu.is-opened .el-menu--inline{background:#1c4275!important}.menu-wrap[data-v-6cdfb310] .el-sub-menu:hover{background:#2da0ff}.menu-wrap[data-v-6cdfb310] .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-6cdfb310] .el-menu-item:hover,.menu-wrap[data-v-6cdfb310] .el-menu-item.is-active{background:#1d7bef!important}[data-v-a3bb813e] .el-textarea__inner{resize:none;height:120px}.dialog-title[data-v-5547662c]{display:flex}.el-dialog__headerbtn{margin-top:8px}.upload[data-v-c49461a5]{display:flex;gap:8px}.upload .upload-word[data-v-c49461a5]{display:flex;align-items:center}.upload .upload-icon[data-v-c49461a5]{display:flex;width:20px;height:20px}.dialog-footer[data-v-c49461a5]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-c49461a5]{display:flex}[data-v-c49461a5] .el-upload-list{margin:0}[data-v-c49461a5] .el-upload-list__item{display:flex}[data-v-c49461a5] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-c49461a5] .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-738397d6]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-738397d6]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-738397d6],.table-content .dialog-footer .ok-button[data-v-738397d6]{cursor:pointer}.table-content .extra-header[data-v-738397d6]{display:flex;flex-direction:row;justify-content:end}.table-content .extra-header .extra-contents[data-v-738397d6]{display:flex;flex-direction:row;gap:8px}.table-content .extra-header .extra-contents .extra-content[data-v-738397d6]{padding:4px 12px;border-radius:8px;cursor:pointer}.table-content .extra-header .model-view-icon[data-v-738397d6],.table-content .extra-button-label[data-v-738397d6]{cursor:pointer}.form-content[data-v-34f2f09c]{display:flex;flex-direction:column;gap:16px}[data-v-34f2f09c] .el-form-item{margin-bottom:0}[data-v-34f2f09c] .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-8a96f909]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-8a96f909]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:#426ec4}.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-a92e5168]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-a92e5168]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-a92e5168]{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-a92e5168]{display:flex}.system-wrap .show-content .item-content[data-v-a92e5168]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-a92e5168]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-c8a54bd8]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-c8a54bd8]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-c8a54bd8]{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-c8a54bd8]{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-c8a54bd8]{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-c8a54bd8]{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-c8a54bd8]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-c8a54bd8]{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-c8a54bd8]{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,9 +1,9 @@
|
|
|
1
1
|
import { defineAsyncComponent as o } from "vue";
|
|
2
|
-
const s = o(() => import("./main-
|
|
2
|
+
const s = o(() => import("./main-DI8y-VvV.js"));
|
|
3
3
|
s.install = (n) => {
|
|
4
4
|
n.component("ssComponent", s);
|
|
5
5
|
};
|
|
6
|
-
const t = o(() => import("./index-
|
|
6
|
+
const t = o(() => import("./index-Ctndv9Ij.js").then((n) => n.i));
|
|
7
7
|
t.install = (n) => {
|
|
8
8
|
n.component("ssTab", t);
|
|
9
9
|
};
|
|
@@ -11,7 +11,7 @@ const e = o(() => import("./index-DM0qZDHo.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-CHUtj0kp.js"));
|
|
15
15
|
m.install = (n) => {
|
|
16
16
|
n.component("ssMenuComponent", m);
|
|
17
17
|
};
|