ss-component-new 1.1.35 → 1.1.37
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-DtgJKVEb.js → array-ldqp0vlM.js} +750 -742
- package/dist/{index-C2m1uy6T.js → index-10n3uNlg.js} +0 -1
- package/dist/{index-CCk26goC.js → index-5XXpg_9o.js} +23 -22
- package/dist/{index-DBU5Vzpm.js → index-C3BeiYFL.js} +806 -799
- package/dist/{index-BxaQLJoi.js → index-C8dZocQc.js} +21 -21
- package/dist/index-DRUzFI-f.js +4 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js +42 -0
- package/dist/{main-Bq42CX91.js → main-WlRCRzNu.js} +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +13 -9
- package/dist/ss-component.umd.cjs +43 -43
- package/package.json +2 -1
|
@@ -43942,7 +43942,6 @@ const d7 = {
|
|
|
43942
43942
|
n.push({
|
|
43943
43943
|
name: u,
|
|
43944
43944
|
type: "line",
|
|
43945
|
-
stack: "Total",
|
|
43946
43945
|
data: f
|
|
43947
43946
|
});
|
|
43948
43947
|
}), a.series = n, a;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as D, onMounted as ee, createElementBlock as m, openBlock as i, Fragment as z, renderList as H, createElementVNode as N, createCommentVNode as T, toDisplayString as U, watch as O, createVNode as R, unref as E, createBlock as G, resolveDynamicComponent as te } from "vue";
|
|
2
|
-
import { p as J, 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-
|
|
2
|
+
import { p as J, 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-ldqp0vlM.js";
|
|
3
3
|
import { u as Q } from "./modelComp-CqA1NVfH.js";
|
|
4
4
|
import { u as X, s as P } from "./menu-oGClEGzK.js";
|
|
5
|
-
import ie from "./index-
|
|
5
|
+
import ie from "./index-C8dZocQc.js";
|
|
6
6
|
import { _ as V, c as B } from "./_plugin-vue_export-helper-B7R8Jogt.js";
|
|
7
7
|
const de = { class: "bread-content" }, me = ["onClick"], fe = { key: 0 }, he = {
|
|
8
8
|
__name: "index",
|
|
@@ -58,6 +58,7 @@ function _e(_) {
|
|
|
58
58
|
const y = (u = (d = _[0]) == null ? void 0 : d.compData) == null ? void 0 : u.filter((v) => v.key !== "formContent"), t = (p = (f = _[0]) == null ? void 0 : f.compData) == null ? void 0 : p.filter((v) => v.key === "formContent");
|
|
59
59
|
console.log("handleFormModel:", y, t, _);
|
|
60
60
|
}
|
|
61
|
+
D(0);
|
|
61
62
|
const ye = { class: "system-wrap" }, pe = {
|
|
62
63
|
key: 0,
|
|
63
64
|
class: "show-content"
|
|
@@ -77,16 +78,16 @@ const ye = { class: "system-wrap" }, pe = {
|
|
|
77
78
|
setup(_, { emit: y }) {
|
|
78
79
|
const t = _, d = y, u = Q(J);
|
|
79
80
|
ae(J);
|
|
80
|
-
const f = D(!0), p = X(), v = D(!0), { itemData: h } = P(u), g = ne(J), { activeMenuPath: A, activeMenuOpenPaths: Z, menuTriggerType: K, menus: L } = P(p), { selectIndex: w, selectTitle: M } = P(g),
|
|
81
|
+
const f = D(!0), p = X(), v = D(!0), { itemData: h } = P(u), g = ne(J), { activeMenuPath: A, activeMenuOpenPaths: Z, menuTriggerType: K, menus: L } = P(p), { selectIndex: w, selectTitle: M } = P(g), $ = D([]), C = D([]), W = (e) => {
|
|
81
82
|
var n, o, a;
|
|
82
83
|
const s = (n = h.value) == null ? void 0 : n.find((l) => l.name === A.value);
|
|
83
84
|
C.value = (a = (o = s == null ? void 0 : s.compData) == null ? void 0 : o[0]) == null ? void 0 : a.contents, v.value = !0, v.value && (v.value = !1), d("change", {
|
|
84
|
-
wholeValue:
|
|
85
|
+
wholeValue: $.value,
|
|
85
86
|
editValue: e
|
|
86
87
|
});
|
|
87
88
|
}, Y = (e) => {
|
|
88
|
-
var S, k,
|
|
89
|
-
const s = B(
|
|
89
|
+
var S, k, b;
|
|
90
|
+
const s = B($.value), n = s == null ? void 0 : s.map((r, I) => (I === (e == null ? void 0 : e.index) && (r.compData = e == null ? void 0 : e.contents), r));
|
|
90
91
|
let o = "";
|
|
91
92
|
(k = (S = B(n)) == null ? void 0 : S.filter((r) => (r == null ? void 0 : r.comp) === "Form")) == null || k.forEach((r) => {
|
|
92
93
|
var I;
|
|
@@ -98,10 +99,10 @@ const ye = { class: "system-wrap" }, pe = {
|
|
|
98
99
|
});
|
|
99
100
|
});
|
|
100
101
|
let a = M == null ? void 0 : M.value;
|
|
101
|
-
(a == null ? void 0 : a.length) > 0 ? a[0] = { key: "main", value: o } : (Array.isArray(a) || (a = []), a.push({ key: "main", value: o })), g.setSelectTitle(a), f.value = !1,
|
|
102
|
-
const l = (
|
|
102
|
+
(a == null ? void 0 : a.length) > 0 ? a[0] = { key: "main", value: o } : (Array.isArray(a) || (a = []), a.push({ key: "main", value: o })), g.setSelectTitle(a), f.value = !1, $.value = n;
|
|
103
|
+
const l = (b = h.value) == null ? void 0 : b.map((r, I) => {
|
|
103
104
|
var x;
|
|
104
|
-
return r.name === A.value && (r.compData = (x = r.compData) == null ? void 0 : x.map((j) => ((j == null ? void 0 : j.key) === "groupContents" && (j.contents =
|
|
105
|
+
return r.name === A.value && (r.compData = (x = r.compData) == null ? void 0 : x.map((j) => ((j == null ? void 0 : j.key) === "groupContents" && (j.contents = $.value), j))), r;
|
|
105
106
|
});
|
|
106
107
|
u.setItemData(l), v.value && (v.value = !1), d("contentChange", {
|
|
107
108
|
wholeContent: h.value
|
|
@@ -121,7 +122,7 @@ const ye = { class: "system-wrap" }, pe = {
|
|
|
121
122
|
O(
|
|
122
123
|
() => h.value,
|
|
123
124
|
() => {
|
|
124
|
-
var s, n, o, a, l, S, k,
|
|
125
|
+
var s, n, o, a, l, S, k, b;
|
|
125
126
|
if (!h.value || ((s = h.value) == null ? void 0 : s.length) === 0 || !f.value) return;
|
|
126
127
|
let e = null;
|
|
127
128
|
if (!A.value)
|
|
@@ -130,19 +131,19 @@ const ye = { class: "system-wrap" }, pe = {
|
|
|
130
131
|
const r = (a = B(h.value)) == null ? void 0 : a.filter((I) => (I == null ? void 0 : I.comp) === "Group");
|
|
131
132
|
e = r == null ? void 0 : r.find((I) => I.name === A.value);
|
|
132
133
|
}
|
|
133
|
-
C.value = (S = (l = e == null ? void 0 : e.compData) == null ? void 0 : l[0]) == null ? void 0 : S.contents,
|
|
134
|
+
C.value = (S = (l = e == null ? void 0 : e.compData) == null ? void 0 : l[0]) == null ? void 0 : S.contents, $.value = (b = (k = e == null ? void 0 : e.compData) == null ? void 0 : k[0]) == null ? void 0 : b.contents, console.log("itemData监听", e, A.value, h.value);
|
|
134
135
|
},
|
|
135
136
|
{ deep: !0, immediate: !0 }
|
|
136
137
|
), O(() => A.value, (e) => {
|
|
137
138
|
var s, n, o, a, l, S;
|
|
138
139
|
if (e) {
|
|
139
|
-
const k = (s = B(h.value)) == null ? void 0 : s.find((
|
|
140
|
+
const k = (s = B(h.value)) == null ? void 0 : s.find((b) => b.name === e);
|
|
140
141
|
if (e && k) {
|
|
141
|
-
C.value = (o = (n = k == null ? void 0 : k.compData) == null ? void 0 : n[0]) == null ? void 0 : o.contents,
|
|
142
|
-
const
|
|
143
|
-
_e(
|
|
142
|
+
C.value = (o = (n = k == null ? void 0 : k.compData) == null ? void 0 : n[0]) == null ? void 0 : o.contents, $.value = (l = (a = k == null ? void 0 : k.compData) == null ? void 0 : a[0]) == null ? void 0 : l.contents, console.log("点击-新-data:", e, C.value);
|
|
143
|
+
const b = (S = C.value) == null ? void 0 : S.filter((r) => r.comp === "Form");
|
|
144
|
+
_e(b);
|
|
144
145
|
} else
|
|
145
|
-
C.value = [],
|
|
146
|
+
C.value = [], $.value = [];
|
|
146
147
|
g.setSelectTitle([]), g.setSelectIndex(""), g.setSelectMenu("");
|
|
147
148
|
}
|
|
148
149
|
}, {
|
|
@@ -201,10 +202,10 @@ const ye = { class: "system-wrap" }, pe = {
|
|
|
201
202
|
]);
|
|
202
203
|
};
|
|
203
204
|
}
|
|
204
|
-
}, Se = /* @__PURE__ */ V(De, [["__scopeId", "data-v-
|
|
205
|
+
}, Se = /* @__PURE__ */ V(De, [["__scopeId", "data-v-0f232eaa"]]), Ie = { class: "add-model-content" }, Me = {
|
|
205
206
|
key: 0,
|
|
206
207
|
class: "model-import-data"
|
|
207
|
-
}, Ae = { class: "import-button" },
|
|
208
|
+
}, Ae = { class: "import-button" }, $e = { key: 0 }, be = {
|
|
208
209
|
key: 1,
|
|
209
210
|
class: "model-operate"
|
|
210
211
|
}, xe = { class: "model-select" }, Te = { class: "model-fill" }, je = {
|
|
@@ -234,7 +235,7 @@ const ye = { class: "system-wrap" }, pe = {
|
|
|
234
235
|
setup(_, { emit: y }) {
|
|
235
236
|
const t = _, d = y, u = D(""), f = D([]), p = D(0), v = Q(J), h = X(J), { itemData: g, originalData: A } = P(v), { activeMenuPath: Z } = P(h), K = D(null), L = D(0), w = D(""), M = (c) => {
|
|
236
237
|
d("contentChange", c);
|
|
237
|
-
},
|
|
238
|
+
}, $ = (c) => {
|
|
238
239
|
var s;
|
|
239
240
|
const e = (s = B(c == null ? void 0 : c.wholeValue)) == null ? void 0 : s.map((n) => {
|
|
240
241
|
var o;
|
|
@@ -311,10 +312,10 @@ const ye = { class: "system-wrap" }, pe = {
|
|
|
311
312
|
onClick: W,
|
|
312
313
|
class: "import-button-content"
|
|
313
314
|
}, "导入文件"),
|
|
314
|
-
w.value ? (i(), m("span",
|
|
315
|
+
w.value ? (i(), m("span", $e, U(w.value), 1)) : T("", !0)
|
|
315
316
|
])
|
|
316
317
|
])) : T("", !0),
|
|
317
|
-
(t == null ? void 0 : t.mode) === "edit" ? (i(), m("div",
|
|
318
|
+
(t == null ? void 0 : t.mode) === "edit" ? (i(), m("div", be, [
|
|
318
319
|
N("div", xe, [
|
|
319
320
|
R(le)
|
|
320
321
|
]),
|
|
@@ -331,7 +332,7 @@ const ye = { class: "system-wrap" }, pe = {
|
|
|
331
332
|
(t == null ? void 0 : t.mode) === "view" ? (i(), m("div", je, [
|
|
332
333
|
(i(), G(Se, {
|
|
333
334
|
content: u.value,
|
|
334
|
-
onChange:
|
|
335
|
+
onChange: $,
|
|
335
336
|
jsonContents: f.value,
|
|
336
337
|
onContentChange: M,
|
|
337
338
|
key: p.value
|