ss-component-new 1.1.76 → 1.1.78
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/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/array-DQ6meJk7.cjs +9 -0
- package/dist/{array-BejyPB_1.js → array-Dsurpc08.js} +247 -241
- package/dist/cloneDeep-BH_aXSAH.cjs +1 -0
- package/dist/cloneDeep-MKlVykeI.js +318 -0
- package/dist/{index-ChCXzsYf.js → index-54P6MUQ5.js} +2 -2
- package/dist/index-BCHKDSAB.cjs +1 -0
- package/dist/index-Bc2TP6E4.cjs +1 -0
- package/dist/index-C8abtcPh.cjs +87 -0
- package/dist/index-CBzgTVRc.cjs +1 -0
- package/dist/index-CRm-Cd9v.cjs +1 -0
- package/dist/index-CTc_dwbb.js +3133 -0
- package/dist/index-ChZ6L8qy.js +371 -0
- package/dist/index-ClguzCrn.js +131 -0
- package/dist/{menu-oGClEGzK.js → index-D0v2_dMz.js} +1945 -1834
- package/dist/{index-BT8Pkr84.js → index-D9tWUDyO.js} +8 -6
- package/dist/index-DB-XsCH7.cjs +1 -0
- package/dist/{index-BvoThyOF.js → index-DBKxwOZZ.js} +2 -2
- package/dist/index-DtmWzVIG.cjs +6 -0
- package/dist/{index-10n3uNlg.js → index-HDBRQNLs.js} +4 -3
- package/dist/index-YSJ2XYuj.cjs +1 -0
- package/dist/index-qogZoGJJ.js +351 -0
- package/dist/index-sjmLPf8w.cjs +1 -0
- package/dist/index-zIb6b0kg.cjs +6 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-D0K1veK2.cjs +1 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_876d48c6_lang-BWOIM9wH.js +254 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_876d48c6_lang-Csg3VsXp.cjs +4 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-DG5vph3h.js → index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-DHffsUIJ.js} +39 -38
- package/dist/index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-DzfJEE_l.cjs +1 -0
- package/dist/main-RfdttOpi.js +288 -0
- package/dist/main-u6M32FUn.cjs +1 -0
- package/dist/menu-BIINB-0Y.js +1013 -0
- package/dist/menu-B_Az9K_F.cjs +11 -0
- package/dist/{modelComp-CqA1NVfH.js → modelComp-B3sxj_Kp.js} +1 -1
- package/dist/modelComp-DAsVXKA0.cjs +1 -0
- package/dist/router.d.ts +1 -0
- package/dist/ss-component.cjs +1 -0
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +26 -24
- package/dist/ss-component2.cjs +1 -0
- package/dist/ss-component2.js +5 -0
- package/package.json +11 -5
- package/dist/_plugin-vue_export-helper-B7R8Jogt.js +0 -524
- package/dist/index-CCr_UQBn.js +0 -3749
- package/dist/main-BUjoLIJC.js +0 -404
- package/dist/ss-component.umd.cjs +0 -115
- /package/dist/{ss-component.d.ts → main.d.ts} +0 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { createElementBlock as r, openBlock as n, Fragment as k, renderList as y, unref as F, createElementVNode as c, createBlock as f, resolveDynamicComponent as $, toDisplayString as C, ref as I, watch as L, resolveComponent as b, createVNode as R, withCtx as g, createCommentVNode as T } from "vue";
|
|
2
|
+
import { p as V, s as U, g as M } from "./array-Dsurpc08.js";
|
|
3
|
+
import { E as j } from "./index-D0v2_dMz.js";
|
|
4
|
+
import { u as w } from "./modelComp-B3sxj_Kp.js";
|
|
5
|
+
import { s as x } from "./menu-BIINB-0Y.js";
|
|
6
|
+
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
import { c as v } from "./cloneDeep-MKlVykeI.js";
|
|
8
|
+
const q = { class: "type-select" }, z = ["onClick"], A = { class: "list-icon" }, G = {
|
|
9
|
+
__name: "index",
|
|
10
|
+
setup(N) {
|
|
11
|
+
const m = w(V), { itemData: o } = x(m), p = (t) => j[t], _ = (t) => {
|
|
12
|
+
const d = v(o.value);
|
|
13
|
+
d.push({
|
|
14
|
+
comp: t.comp,
|
|
15
|
+
name: t.name,
|
|
16
|
+
compData: []
|
|
17
|
+
}), m.setItemData(d);
|
|
18
|
+
};
|
|
19
|
+
return (t, d) => (n(), r("div", q, [
|
|
20
|
+
(n(!0), r(k, null, y(F(U), (l, e) => (n(), r("div", {
|
|
21
|
+
class: "type-list",
|
|
22
|
+
key: e
|
|
23
|
+
}, [
|
|
24
|
+
c("div", {
|
|
25
|
+
class: "list-content",
|
|
26
|
+
onClick: (s) => _(l)
|
|
27
|
+
}, [
|
|
28
|
+
c("div", A, [
|
|
29
|
+
(n(), f($(p(l.icon))))
|
|
30
|
+
]),
|
|
31
|
+
c("div", null, C(l.name), 1)
|
|
32
|
+
], 8, z)
|
|
33
|
+
]))), 128))
|
|
34
|
+
]));
|
|
35
|
+
}
|
|
36
|
+
}, se = /* @__PURE__ */ E(G, [["__scopeId", "data-v-fe4aecc8"]]), H = { class: "fill-content" }, J = { class: "operate-content" }, K = { class: "collapse-title" }, P = { class: "comp-child" }, Q = {
|
|
37
|
+
__name: "index",
|
|
38
|
+
setup(N) {
|
|
39
|
+
const m = w(V), { itemData: o, originalData: p } = x(m), _ = I([]), t = I([]);
|
|
40
|
+
L(
|
|
41
|
+
() => o.value,
|
|
42
|
+
() => {
|
|
43
|
+
var e;
|
|
44
|
+
!o.value || ((e = o.value) == null ? void 0 : e.length) === 0 || (_.value = v(o.value));
|
|
45
|
+
},
|
|
46
|
+
{ deep: !0, immediate: !0 }
|
|
47
|
+
);
|
|
48
|
+
const d = (e) => M(e), l = (e, s, D) => {
|
|
49
|
+
if (!e || e.length === 0) return;
|
|
50
|
+
let i = v(o.value);
|
|
51
|
+
const a = v(s);
|
|
52
|
+
a.compData = e, i = i == null ? void 0 : i.map((u, h) => (h === D && (u = a), u)), m.setItemData(i);
|
|
53
|
+
};
|
|
54
|
+
return (e, s) => {
|
|
55
|
+
const D = b("el-collapse-item"), i = b("el-collapse");
|
|
56
|
+
return n(), r("div", H, [
|
|
57
|
+
s[1] || (s[1] = c("div", { class: "fill-operate" }, C("操作栏"), -1)),
|
|
58
|
+
c("div", J, [
|
|
59
|
+
R(i, {
|
|
60
|
+
modelValue: t.value,
|
|
61
|
+
"onUpdate:modelValue": s[0] || (s[0] = (a) => t.value = a),
|
|
62
|
+
class: "collapse-content"
|
|
63
|
+
}, {
|
|
64
|
+
default: g(() => [
|
|
65
|
+
(n(!0), r(k, null, y(_.value, (a, u) => (n(), f(D, {
|
|
66
|
+
key: u,
|
|
67
|
+
name: u
|
|
68
|
+
}, {
|
|
69
|
+
title: g(() => [
|
|
70
|
+
c("div", K, C(a.name), 1)
|
|
71
|
+
]),
|
|
72
|
+
default: g(() => {
|
|
73
|
+
var h, B;
|
|
74
|
+
return [
|
|
75
|
+
c("div", P, [
|
|
76
|
+
(n(), f($(d(a.comp + "Operate")), {
|
|
77
|
+
itemContents: a == null ? void 0 : a.compData,
|
|
78
|
+
originalItemContents: (B = (h = F(p)) == null ? void 0 : h.find((S, O) => O === u)) == null ? void 0 : B.compData,
|
|
79
|
+
onChange: (S) => l(S, a, u)
|
|
80
|
+
}, null, 40, ["itemContents", "originalItemContents", "onChange"]))
|
|
81
|
+
])
|
|
82
|
+
];
|
|
83
|
+
}),
|
|
84
|
+
_: 2
|
|
85
|
+
}, 1032, ["name"]))), 128))
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 8, ["modelValue"])
|
|
89
|
+
])
|
|
90
|
+
]);
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}, le = /* @__PURE__ */ E(Q, [["__scopeId", "data-v-a216b035"]]), W = {
|
|
94
|
+
key: 0,
|
|
95
|
+
class: "show-content"
|
|
96
|
+
}, X = {
|
|
97
|
+
__name: "index",
|
|
98
|
+
setup(N) {
|
|
99
|
+
const m = w(V), { itemData: o } = x(m), p = I([]);
|
|
100
|
+
L(
|
|
101
|
+
() => o.value,
|
|
102
|
+
() => {
|
|
103
|
+
var t;
|
|
104
|
+
!o.value || ((t = o.value) == null ? void 0 : t.length) === 0 || (p.value = v(o.value));
|
|
105
|
+
},
|
|
106
|
+
{ deep: !0, immediate: !0 }
|
|
107
|
+
);
|
|
108
|
+
const _ = (t) => M(t);
|
|
109
|
+
return (t, d) => {
|
|
110
|
+
var l;
|
|
111
|
+
return ((l = p.value) == null ? void 0 : l.length) > 0 ? (n(), r("div", W, [
|
|
112
|
+
(n(!0), r(k, null, y(p.value, (e, s) => (n(), r("div", {
|
|
113
|
+
class: "item-content",
|
|
114
|
+
key: s
|
|
115
|
+
}, [
|
|
116
|
+
c("div", null, C(e.name), 1),
|
|
117
|
+
(n(), f($(_(e.comp)), {
|
|
118
|
+
itemData: e == null ? void 0 : e.compData,
|
|
119
|
+
childItemData: e == null ? void 0 : e.itemChildData,
|
|
120
|
+
key: s
|
|
121
|
+
}, null, 8, ["itemData", "childItemData"]))
|
|
122
|
+
]))), 128))
|
|
123
|
+
])) : T("", !0);
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
}, ce = /* @__PURE__ */ E(X, [["__scopeId", "data-v-79320497"]]);
|
|
127
|
+
export {
|
|
128
|
+
ce as a,
|
|
129
|
+
le as b,
|
|
130
|
+
se as m
|
|
131
|
+
};
|