ss-component-new 1.3.728 → 1.3.730
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/{index-BkBgKG7W.js → index-7DC3MHaa.js} +1 -1
- package/dist/index-C0HH0uAE.js +188 -0
- package/dist/index-CuIbbhNo.js +25 -0
- package/dist/{index-dOME2RtM.js → index-Di3KK1zP.js} +6936 -6846
- package/dist/{index-D5-F7vsF.js → index-NekwstK7.js} +1 -1
- package/dist/index-gILJQ0_C.js +25 -0
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/index-BfaF0JQb.js +0 -184
|
@@ -2,7 +2,7 @@ import { defineComponent as $, createBlock as _, openBlock as f, resolveDynamicC
|
|
|
2
2
|
import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-BrnE_n0l.js";
|
|
3
3
|
import { _ as L } from "./index.vue_vue_type_script_setup_true_lang-DJgUI7Bv.js";
|
|
4
4
|
import { _ as S } from "./index.vue_vue_type_script_setup_true_lang-CuwhbWHH.js";
|
|
5
|
-
import { g as B } from "./index-
|
|
5
|
+
import { g as B } from "./index-Di3KK1zP.js";
|
|
6
6
|
const I = /* @__PURE__ */ $({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as r, resolveComponent as a, createBlock as c, openBlock as s, normalizeProps as l, guardReactiveProps as p, withCtx as i, renderSlot as _ } from "vue";
|
|
2
|
+
const u = /* @__PURE__ */ r({
|
|
3
|
+
__name: "index",
|
|
4
|
+
props: {
|
|
5
|
+
extra: {
|
|
6
|
+
type: Object,
|
|
7
|
+
default: () => ({})
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
setup(t) {
|
|
11
|
+
const e = t;
|
|
12
|
+
return (o, d) => {
|
|
13
|
+
const n = a("n-gi");
|
|
14
|
+
return s(), c(n, l(p(e == null ? void 0 : e.extra)), {
|
|
15
|
+
default: i(() => [
|
|
16
|
+
_(o.$slots, "default")
|
|
17
|
+
]),
|
|
18
|
+
_: 3
|
|
19
|
+
}, 16);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
u as default
|
|
25
|
+
};
|
package/dist/ss-component2.js
CHANGED
|
@@ -8,7 +8,7 @@ const r = [
|
|
|
8
8
|
{
|
|
9
9
|
path: "/",
|
|
10
10
|
name: "Model",
|
|
11
|
-
component: async () => import("./index-
|
|
11
|
+
component: async () => import("./index-Di3KK1zP.js").then((o) => o.i),
|
|
12
12
|
// component: async ()=>import('@/components/views/model/component/main.vue'),
|
|
13
13
|
// component: async ()=>import('@/components/views/canvas/index.vue'),
|
|
14
14
|
// component: async ()=>import('@/components/views/test/index.vue'),
|
package/package.json
CHANGED
package/dist/index-BfaF0JQb.js
DELETED
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, resolveComponent as d, createElementBlock as v, openBlock as u, Fragment as h, renderList as E, createBlock as _, withCtx as m, createVNode as s, mergeProps as $, ref as p, watch as C, nextTick as O, createElementVNode as y, renderSlot as k, createSlots as R, normalizeStyle as b } from "vue";
|
|
2
|
-
const w = /* @__PURE__ */ g({
|
|
3
|
-
__name: "vxeTableChildHeader",
|
|
4
|
-
props: {
|
|
5
|
-
columns: {
|
|
6
|
-
type: Array,
|
|
7
|
-
default: () => []
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
setup(c) {
|
|
11
|
-
return (n, o) => {
|
|
12
|
-
const i = d("vxe-colgroup"), a = d("vxe-column");
|
|
13
|
-
return u(!0), v(h, null, E(c.columns, (t, e) => {
|
|
14
|
-
var l;
|
|
15
|
-
return u(), v(h, { key: e }, [
|
|
16
|
-
((l = t.children) == null ? void 0 : l.length) > 0 ? (u(), _(i, {
|
|
17
|
-
key: 0,
|
|
18
|
-
title: t.title
|
|
19
|
-
}, {
|
|
20
|
-
default: m(() => [
|
|
21
|
-
s(H, {
|
|
22
|
-
columns: t.children
|
|
23
|
-
}, null, 8, ["columns"])
|
|
24
|
-
]),
|
|
25
|
-
_: 2
|
|
26
|
-
}, 1032, ["title"])) : (u(), _(a, $({
|
|
27
|
-
key: 1,
|
|
28
|
-
ref_for: !0
|
|
29
|
-
}, t), null, 16))
|
|
30
|
-
], 64);
|
|
31
|
-
}), 128);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
}), B = /* @__PURE__ */ g({
|
|
35
|
-
__name: "index",
|
|
36
|
-
props: {
|
|
37
|
-
extra: {
|
|
38
|
-
type: Object,
|
|
39
|
-
default: () => {
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
modelValue: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: ""
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
setup(c) {
|
|
48
|
-
const n = c, o = p(null), i = p(!1), a = p(null);
|
|
49
|
-
return C(
|
|
50
|
-
() => a.value,
|
|
51
|
-
() => {
|
|
52
|
-
O(() => {
|
|
53
|
-
var t, e;
|
|
54
|
-
(e = (t = o.value) == null ? void 0 : t.updatePopper) == null || e.call(t);
|
|
55
|
-
});
|
|
56
|
-
},
|
|
57
|
-
{ deep: !0, immediate: !0 }
|
|
58
|
-
), (t, e) => {
|
|
59
|
-
var r, f;
|
|
60
|
-
const l = d("el-popover");
|
|
61
|
-
return u(), _(l, {
|
|
62
|
-
visible: i.value,
|
|
63
|
-
"onUpdate:visible": e[0] || (e[0] = (x) => i.value = x),
|
|
64
|
-
ref_key: "popOverRef",
|
|
65
|
-
ref: o,
|
|
66
|
-
trigger: ((r = n == null ? void 0 : n.extra) == null ? void 0 : r.trigger) ?? "hover",
|
|
67
|
-
placement: ((f = n == null ? void 0 : n.extra) == null ? void 0 : f.placement) ?? "bottom",
|
|
68
|
-
"trigger-keys": []
|
|
69
|
-
}, {
|
|
70
|
-
reference: m(() => [
|
|
71
|
-
y("div", null, [
|
|
72
|
-
k(t.$slots, "reference", {
|
|
73
|
-
ref_key: "referenceRef",
|
|
74
|
-
ref: a
|
|
75
|
-
})
|
|
76
|
-
])
|
|
77
|
-
]),
|
|
78
|
-
default: m(() => [
|
|
79
|
-
y("div", null, [
|
|
80
|
-
k(t.$slots, "content")
|
|
81
|
-
])
|
|
82
|
-
]),
|
|
83
|
-
_: 3
|
|
84
|
-
}, 8, ["visible", "trigger", "placement"]);
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
}), H = /* @__PURE__ */ g({
|
|
88
|
-
__name: "vxeTableHeader",
|
|
89
|
-
props: {
|
|
90
|
-
columns: {
|
|
91
|
-
type: Array,
|
|
92
|
-
default: () => []
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
setup(c) {
|
|
96
|
-
return (n, o) => {
|
|
97
|
-
const i = d("vxe-colgroup"), a = d("svg-icon"), t = d("vxe-column");
|
|
98
|
-
return u(!0), v(h, null, E(c.columns, (e, l) => {
|
|
99
|
-
var r;
|
|
100
|
-
return u(), v(h, { key: l }, [
|
|
101
|
-
((r = e.children) == null ? void 0 : r.length) > 0 ? (u(), _(i, {
|
|
102
|
-
key: 0,
|
|
103
|
-
title: e.title
|
|
104
|
-
}, {
|
|
105
|
-
default: m(() => [
|
|
106
|
-
s(w, {
|
|
107
|
-
columns: e.children
|
|
108
|
-
}, null, 8, ["columns"])
|
|
109
|
-
]),
|
|
110
|
-
_: 2
|
|
111
|
-
}, 1032, ["title"])) : (u(), _(t, $({
|
|
112
|
-
key: 1,
|
|
113
|
-
ref_for: !0
|
|
114
|
-
}, e), R({ _: 2 }, [
|
|
115
|
-
e.field === "operate" ? {
|
|
116
|
-
name: "default",
|
|
117
|
-
fn: m(() => [
|
|
118
|
-
s(B, { extra: { trigger: "hover", placement: "left-start" } }, {
|
|
119
|
-
reference: m(() => [
|
|
120
|
-
s(a, {
|
|
121
|
-
name: "more",
|
|
122
|
-
style: b({ width: e == null ? void 0 : e.iconWidth, height: e == null ? void 0 : e.iconHeight })
|
|
123
|
-
}, null, 8, ["style"])
|
|
124
|
-
]),
|
|
125
|
-
_: 2
|
|
126
|
-
}, 1024)
|
|
127
|
-
]),
|
|
128
|
-
key: "0"
|
|
129
|
-
} : void 0,
|
|
130
|
-
e.field === "operate" ? {
|
|
131
|
-
name: "header",
|
|
132
|
-
fn: m(() => [
|
|
133
|
-
s(a, {
|
|
134
|
-
name: e == null ? void 0 : e.icon,
|
|
135
|
-
style: b({ width: e == null ? void 0 : e.iconWidth, height: e == null ? void 0 : e.iconHeight })
|
|
136
|
-
}, null, 8, ["name", "style"])
|
|
137
|
-
]),
|
|
138
|
-
key: "1"
|
|
139
|
-
} : void 0
|
|
140
|
-
]), 1040))
|
|
141
|
-
], 64);
|
|
142
|
-
}), 128);
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
}), T = /* @__PURE__ */ g({
|
|
146
|
-
__name: "index",
|
|
147
|
-
props: {
|
|
148
|
-
itemElement: {
|
|
149
|
-
type: Object,
|
|
150
|
-
default: () => {
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
setup(c) {
|
|
155
|
-
const n = c, o = p([]), i = p([]), a = (t, e) => {
|
|
156
|
-
let l = t;
|
|
157
|
-
return l = l == null ? void 0 : l.map((r) => {
|
|
158
|
-
var f;
|
|
159
|
-
return e == null || e.forEach((x) => {
|
|
160
|
-
r[x] = r == null ? void 0 : r.prop;
|
|
161
|
-
}), r.children && ((f = r.children) == null ? void 0 : f.length) > 0 && (r.children = a(r.children, e)), r;
|
|
162
|
-
}), l;
|
|
163
|
-
};
|
|
164
|
-
return C(
|
|
165
|
-
() => n == null ? void 0 : n.itemElement,
|
|
166
|
-
() => {
|
|
167
|
-
var t, e;
|
|
168
|
-
o.value = (t = n == null ? void 0 : n.itemElement) == null ? void 0 : t.columns, i.value = (e = n == null ? void 0 : n.itemElement) == null ? void 0 : e.tableData, o.value = a(o.value, ["field", "title"]);
|
|
169
|
-
},
|
|
170
|
-
{ deep: !0, immediate: !0 }
|
|
171
|
-
), (t, e) => {
|
|
172
|
-
const l = d("vxe-table");
|
|
173
|
-
return u(), _(l, { data: i.value }, {
|
|
174
|
-
default: m(() => [
|
|
175
|
-
s(H, { columns: o.value }, null, 8, ["columns"])
|
|
176
|
-
]),
|
|
177
|
-
_: 1
|
|
178
|
-
}, 8, ["data"]);
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
export {
|
|
183
|
-
T as default
|
|
184
|
-
};
|