sun-form-v3 1.0.88 → 1.0.91
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-B1QWb5lT.js +280 -0
- package/dist/index-B62u8sUu.js +64889 -0
- package/dist/index-BAEL_Fhr.js +127 -0
- package/dist/{index-CnNNOrrd.js → index-BAWzyr2e.js} +98 -108
- package/dist/index-BJ0vPF5A.js +44 -0
- package/dist/index-BVgTyiQP.js +281 -0
- package/dist/index-BYbxnzUx.js +105 -0
- package/dist/index-Bk8CdvWe.js +148 -0
- package/dist/{index-CxNAuKj7.js → index-CIaeKFCl.js} +26 -27
- package/dist/index-CXNYHPLK.js +43 -0
- package/dist/index-C_4SKQvs.js +246 -0
- package/dist/index-CifChfEv.js +20 -0
- package/dist/index-CzkuANsf.js +20 -0
- package/dist/index-DqEO436K.js +127 -0
- package/dist/index-ZVIqhtUw.js +132 -0
- package/dist/index-dGJDj4ro.js +97 -0
- package/dist/index-kUQct_cM.js +172 -0
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +113 -34
- package/package.json +6 -3
- package/dist/index-CITbTrFx.js +0 -33
- package/dist/index-DN_I96jt.js +0 -18066
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ref as x, resolveComponent as s, openBlock as k, createElementBlock as T, Fragment as E, createVNode as e, unref as l, withCtx as a, createTextVNode as
|
2
|
-
import { _ as R } from "./index-
|
3
|
-
const I = (
|
1
|
+
import { ref as x, resolveComponent as s, openBlock as k, createElementBlock as T, Fragment as E, createVNode as e, unref as l, withCtx as a, createTextVNode as _, isRef as L, createElementVNode as f, toDisplayString as h, createCommentVNode as D, pushScopeId as B, popScopeId as J } from "vue";
|
2
|
+
import { _ as R } from "./index-B62u8sUu.js";
|
3
|
+
const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "复杂表头配置", -1)), q = {
|
4
4
|
key: 0,
|
5
5
|
class: "flex h-full flex-col"
|
6
|
-
}, G = { class: "flex-1 flex items-center justify-between" }, K = /* @__PURE__ */ I(() => /* @__PURE__ */
|
6
|
+
}, G = { class: "flex-1 flex items-center justify-between" }, K = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "选择表头", -1)), Q = {
|
7
7
|
key: 0,
|
8
8
|
class: "flex h-full"
|
9
9
|
}, X = { class: "w-full h-full" }, Y = /* @__PURE__ */ Object.assign({ name: "headerTreeConfig" }, {
|
@@ -15,57 +15,57 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
15
15
|
}
|
16
16
|
},
|
17
17
|
emits: ["update:modelValue"],
|
18
|
-
setup(
|
19
|
-
let C =
|
18
|
+
setup(c, { emit: o }) {
|
19
|
+
let C = c;
|
20
20
|
C.designer, x(null);
|
21
21
|
let t = x({});
|
22
22
|
const r = x(JSON.parse(JSON.stringify(C.widget.props.headerTree))), U = x(C.widget.widgetList.filter((p) => p.compType === 2));
|
23
23
|
JSON.parse(JSON.stringify(U));
|
24
|
-
const n = (p,
|
24
|
+
const n = (p, V) => {
|
25
25
|
p.push({
|
26
26
|
id: (/* @__PURE__ */ new Date()).getTime(),
|
27
27
|
children: [],
|
28
28
|
label: null
|
29
29
|
});
|
30
|
-
},
|
31
|
-
t.value = p,
|
30
|
+
}, g = (p) => {
|
31
|
+
t.value = p, v.value = !0;
|
32
32
|
}, S = (p) => {
|
33
|
-
t.value.label = p.props.label, t.value.id = p.id, t.value.isComponent = !0,
|
34
|
-
}, u = (p,
|
35
|
-
const
|
33
|
+
t.value.label = p.props.label, t.value.id = p.id, t.value.isComponent = !0, v.value = !1;
|
34
|
+
}, u = (p, V) => {
|
35
|
+
const m = p.parent, z = m.data.children || m.data, F = z.findIndex((N) => N.id === V.id);
|
36
36
|
z.splice(F, 1), r.value = [...r.value];
|
37
37
|
}, d = {
|
38
38
|
children: "children",
|
39
39
|
label: "label"
|
40
40
|
};
|
41
|
-
let
|
41
|
+
let b = x(!1), v = x(!1);
|
42
42
|
const M = ({ row: p }) => {
|
43
43
|
console.log(p);
|
44
44
|
}, P = () => {
|
45
|
-
|
45
|
+
b.value = !0;
|
46
46
|
}, j = () => {
|
47
|
-
|
47
|
+
b.value = !1;
|
48
48
|
}, $ = () => {
|
49
|
-
|
49
|
+
b.value = !1, C.widget.props.headerTree = r.value;
|
50
50
|
};
|
51
|
-
return (p,
|
52
|
-
const
|
51
|
+
return (p, V) => {
|
52
|
+
const m = s("el-button"), z = s("el-input"), F = s("el-button-group"), N = s("el-tree"), H = s("vxe-modal"), y = s("vxe-column"), A = s("vxe-table");
|
53
53
|
return k(), T(E, null, [
|
54
|
-
e(
|
54
|
+
e(m, {
|
55
55
|
plain: "",
|
56
56
|
type: l(C).widget.props.headerTree.length ? "primary" : "",
|
57
57
|
icon: "Setting",
|
58
58
|
onClick: P
|
59
59
|
}, {
|
60
60
|
default: a(() => [
|
61
|
-
|
61
|
+
_(" 复杂表头 ")
|
62
62
|
]),
|
63
63
|
_: 1
|
64
64
|
}, 8, ["type"]),
|
65
65
|
e(H, {
|
66
66
|
transfer: "",
|
67
|
-
modelValue: l(
|
68
|
-
"onUpdate:modelValue":
|
67
|
+
modelValue: l(b),
|
68
|
+
"onUpdate:modelValue": V[1] || (V[1] = (i) => L(b) ? b.value = i : b = i),
|
69
69
|
width: "800px",
|
70
70
|
height: "700px",
|
71
71
|
"show-footer": "",
|
@@ -75,15 +75,15 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
75
75
|
W
|
76
76
|
]),
|
77
77
|
default: a(() => [
|
78
|
-
l(
|
79
|
-
e(
|
78
|
+
l(b) ? (k(), T("div", q, [
|
79
|
+
e(m, {
|
80
80
|
type: "primary",
|
81
81
|
size: "small",
|
82
82
|
class: "w-20 mb-2",
|
83
|
-
onClick:
|
83
|
+
onClick: V[0] || (V[0] = (i) => n(r.value))
|
84
84
|
}, {
|
85
85
|
default: a(() => [
|
86
|
-
|
86
|
+
_("一级添加")
|
87
87
|
]),
|
88
88
|
_: 1
|
89
89
|
}),
|
@@ -95,53 +95,53 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
95
95
|
"default-expand-all": "",
|
96
96
|
class: "w-full mt-2 flex-1 overflow-auto"
|
97
97
|
}, {
|
98
|
-
default: a(({ node: i, data:
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
98
|
+
default: a(({ node: i, data: w }) => [
|
99
|
+
f("div", G, [
|
100
|
+
f("div", null, [
|
101
|
+
f("div", null, [
|
102
|
+
_(h(w.children && w.children.length ? "分类" : "组件") + " ", 1),
|
103
103
|
e(z, {
|
104
|
-
modelValue:
|
105
|
-
"onUpdate:modelValue": (O) =>
|
104
|
+
modelValue: w.label,
|
105
|
+
"onUpdate:modelValue": (O) => w.label = O,
|
106
106
|
size: "small",
|
107
107
|
class: "w-[120px]"
|
108
108
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
109
109
|
])
|
110
110
|
]),
|
111
|
-
|
111
|
+
f("div", null, [
|
112
112
|
e(F, null, {
|
113
113
|
default: a(() => [
|
114
|
-
e(
|
115
|
-
onClick: (O) => n(
|
114
|
+
e(m, {
|
115
|
+
onClick: (O) => n(w.children),
|
116
116
|
link: "",
|
117
117
|
type: "primary",
|
118
118
|
size: "small"
|
119
119
|
}, {
|
120
120
|
default: a(() => [
|
121
|
-
|
121
|
+
_("新增")
|
122
122
|
]),
|
123
123
|
_: 2
|
124
124
|
}, 1032, ["onClick"]),
|
125
|
-
e(
|
125
|
+
e(m, {
|
126
126
|
link: "",
|
127
127
|
type: "danger",
|
128
|
-
onClick: (O) => u(i,
|
128
|
+
onClick: (O) => u(i, w),
|
129
129
|
size: "small"
|
130
130
|
}, {
|
131
131
|
default: a(() => [
|
132
|
-
|
132
|
+
_("删除")
|
133
133
|
]),
|
134
134
|
_: 2
|
135
135
|
}, 1032, ["onClick"]),
|
136
|
-
e(
|
137
|
-
disabled:
|
138
|
-
onClick: (O) =>
|
136
|
+
e(m, {
|
137
|
+
disabled: w.children && !!w.children.length,
|
138
|
+
onClick: (O) => g(w),
|
139
139
|
link: "",
|
140
140
|
type: "success",
|
141
141
|
size: "small"
|
142
142
|
}, {
|
143
143
|
default: a(() => [
|
144
|
-
|
144
|
+
_("选择")
|
145
145
|
]),
|
146
146
|
_: 2
|
147
147
|
}, 1032, ["disabled", "onClick"])
|
@@ -156,24 +156,24 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
156
156
|
])) : D("", !0)
|
157
157
|
]),
|
158
158
|
footer: a(() => [
|
159
|
-
e(
|
159
|
+
e(m, {
|
160
160
|
icon: "Close",
|
161
161
|
size: "small",
|
162
162
|
onClick: j
|
163
163
|
}, {
|
164
164
|
default: a(() => [
|
165
|
-
|
165
|
+
_("关闭")
|
166
166
|
]),
|
167
167
|
_: 1
|
168
168
|
}),
|
169
|
-
e(
|
169
|
+
e(m, {
|
170
170
|
icon: "Check",
|
171
171
|
type: "primary",
|
172
172
|
size: "small",
|
173
173
|
onClick: $
|
174
174
|
}, {
|
175
175
|
default: a(() => [
|
176
|
-
|
176
|
+
_("确认")
|
177
177
|
]),
|
178
178
|
_: 1
|
179
179
|
})
|
@@ -182,8 +182,8 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
182
182
|
}, 8, ["modelValue"]),
|
183
183
|
e(H, {
|
184
184
|
transfer: "",
|
185
|
-
modelValue: l(
|
186
|
-
"onUpdate:modelValue":
|
185
|
+
modelValue: l(v),
|
186
|
+
"onUpdate:modelValue": V[2] || (V[2] = (i) => L(v) ? v.value = i : v = i),
|
187
187
|
width: "700px",
|
188
188
|
height: "600px"
|
189
189
|
}, {
|
@@ -191,8 +191,8 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
191
191
|
K
|
192
192
|
]),
|
193
193
|
default: a(() => [
|
194
|
-
l(
|
195
|
-
|
194
|
+
l(v) ? (k(), T("div", Q, [
|
195
|
+
f("div", X, [
|
196
196
|
e(A, {
|
197
197
|
ref: "mainTable",
|
198
198
|
data: U.value,
|
@@ -207,57 +207,57 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
207
207
|
class: "w-full"
|
208
208
|
}, {
|
209
209
|
default: a(() => [
|
210
|
-
e(
|
210
|
+
e(y, {
|
211
211
|
field: "name",
|
212
212
|
title: "表头标签"
|
213
213
|
}, {
|
214
214
|
default: a(({ row: i }) => [
|
215
|
-
|
215
|
+
f("div", null, h(i.props.label), 1)
|
216
216
|
]),
|
217
217
|
_: 1
|
218
218
|
}),
|
219
|
-
e(
|
219
|
+
e(y, {
|
220
220
|
field: "name",
|
221
221
|
title: "表头字段"
|
222
222
|
}, {
|
223
223
|
default: a(({ row: i }) => [
|
224
|
-
|
224
|
+
f("div", null, h(i.props.zdname), 1)
|
225
225
|
]),
|
226
226
|
_: 1
|
227
227
|
}),
|
228
|
-
e(
|
228
|
+
e(y, {
|
229
229
|
field: "name",
|
230
230
|
title: "组件id",
|
231
231
|
width: "180"
|
232
232
|
}, {
|
233
233
|
default: a(({ row: i }) => [
|
234
|
-
|
234
|
+
f("div", null, h(i.id), 1)
|
235
235
|
]),
|
236
236
|
_: 1
|
237
237
|
}),
|
238
|
-
e(
|
238
|
+
e(y, {
|
239
239
|
field: "name",
|
240
240
|
title: "组件类型"
|
241
241
|
}, {
|
242
242
|
default: a(({ row: i }) => [
|
243
|
-
|
243
|
+
f("div", null, h(i.displayName), 1)
|
244
244
|
]),
|
245
245
|
_: 1
|
246
246
|
}),
|
247
|
-
e(
|
247
|
+
e(y, {
|
248
248
|
title: "操作栏",
|
249
249
|
width: "60",
|
250
250
|
align: "center"
|
251
251
|
}, {
|
252
252
|
default: a(({ row: i }) => [
|
253
|
-
e(
|
253
|
+
e(m, {
|
254
254
|
link: "",
|
255
255
|
type: "primary",
|
256
256
|
size: "small",
|
257
|
-
onClick: (
|
257
|
+
onClick: (w) => S(i)
|
258
258
|
}, {
|
259
259
|
default: a(() => [
|
260
|
-
|
260
|
+
_("选择")
|
261
261
|
]),
|
262
262
|
_: 2
|
263
263
|
}, 1032, ["onClick"])
|
@@ -287,10 +287,10 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
287
287
|
default: {}
|
288
288
|
}
|
289
289
|
},
|
290
|
-
setup(
|
291
|
-
let o =
|
290
|
+
setup(c) {
|
291
|
+
let o = c;
|
292
292
|
return (C, t) => {
|
293
|
-
const r = s("el-option"), U = s("el-select"), n = s("common-label-container"),
|
293
|
+
const r = s("el-option"), U = s("el-select"), n = s("common-label-container"), g = s("el-input"), S = s("el-input-number"), u = s("el-switch");
|
294
294
|
return k(), T(E, null, [
|
295
295
|
e(n, { label: "组件尺寸" }, {
|
296
296
|
default: a(() => [
|
@@ -317,21 +317,11 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
317
317
|
]),
|
318
318
|
_: 1
|
319
319
|
}),
|
320
|
-
e(n, { label: "表格高度" }, {
|
321
|
-
default: a(() => [
|
322
|
-
e(m, {
|
323
|
-
modelValue: l(o).widget.props.height,
|
324
|
-
"onUpdate:modelValue": t[1] || (t[1] = (d) => l(o).widget.props.height = d),
|
325
|
-
placeholder: "填写表格高度"
|
326
|
-
}, null, 8, ["modelValue"])
|
327
|
-
]),
|
328
|
-
_: 1
|
329
|
-
}),
|
330
320
|
e(n, { label: "操作栏宽度" }, {
|
331
321
|
default: a(() => [
|
332
|
-
e(
|
322
|
+
e(g, {
|
333
323
|
modelValue: l(o).widget.props.oprateWidth,
|
334
|
-
"onUpdate:modelValue": t[
|
324
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => l(o).widget.props.oprateWidth = d),
|
335
325
|
placeholder: "不填则按默认宽度"
|
336
326
|
}, null, 8, ["modelValue"])
|
337
327
|
]),
|
@@ -339,9 +329,9 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
339
329
|
}),
|
340
330
|
e(n, { label: "数据字段" }, {
|
341
331
|
default: a(() => [
|
342
|
-
e(
|
332
|
+
e(g, {
|
343
333
|
modelValue: l(o).widget.props.rows,
|
344
|
-
"onUpdate:modelValue": t[
|
334
|
+
"onUpdate:modelValue": t[2] || (t[2] = (d) => l(o).widget.props.rows = d),
|
345
335
|
placeholder: "数据字段"
|
346
336
|
}, null, 8, ["modelValue"])
|
347
337
|
]),
|
@@ -349,9 +339,9 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
349
339
|
}),
|
350
340
|
e(n, { label: "总数字段" }, {
|
351
341
|
default: a(() => [
|
352
|
-
e(
|
342
|
+
e(g, {
|
353
343
|
modelValue: l(o).widget.props.count,
|
354
|
-
"onUpdate:modelValue": t[
|
344
|
+
"onUpdate:modelValue": t[3] || (t[3] = (d) => l(o).widget.props.count = d),
|
355
345
|
placeholder: "总数字段"
|
356
346
|
}, null, 8, ["modelValue"])
|
357
347
|
]),
|
@@ -359,9 +349,9 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
359
349
|
}),
|
360
350
|
e(n, { label: "分页字段" }, {
|
361
351
|
default: a(() => [
|
362
|
-
e(
|
352
|
+
e(g, {
|
363
353
|
modelValue: l(o).widget.props.page,
|
364
|
-
"onUpdate:modelValue": t[
|
354
|
+
"onUpdate:modelValue": t[4] || (t[4] = (d) => l(o).widget.props.page = d),
|
365
355
|
placeholder: "分页字段"
|
366
356
|
}, null, 8, ["modelValue"])
|
367
357
|
]),
|
@@ -369,9 +359,9 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
369
359
|
}),
|
370
360
|
e(n, { label: "页数字段" }, {
|
371
361
|
default: a(() => [
|
372
|
-
e(
|
362
|
+
e(g, {
|
373
363
|
modelValue: l(o).widget.props.limit,
|
374
|
-
"onUpdate:modelValue": t[
|
364
|
+
"onUpdate:modelValue": t[5] || (t[5] = (d) => l(o).widget.props.limit = d),
|
375
365
|
placeholder: "页数字段"
|
376
366
|
}, null, 8, ["modelValue"])
|
377
367
|
]),
|
@@ -383,7 +373,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
383
373
|
class: "w-full",
|
384
374
|
placeholder: "默认页数",
|
385
375
|
modelValue: l(o).widget.props.pageDefault,
|
386
|
-
"onUpdate:modelValue": t[
|
376
|
+
"onUpdate:modelValue": t[6] || (t[6] = (d) => l(o).widget.props.pageDefault = d),
|
387
377
|
min: 0,
|
388
378
|
"controls-position": "right"
|
389
379
|
}, null, 8, ["modelValue"])
|
@@ -394,7 +384,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
394
384
|
default: a(() => [
|
395
385
|
e(U, {
|
396
386
|
modelValue: l(o).widget.props.align,
|
397
|
-
"onUpdate:modelValue": t[
|
387
|
+
"onUpdate:modelValue": t[7] || (t[7] = (d) => l(o).widget.props.align = d)
|
398
388
|
}, {
|
399
389
|
default: a(() => [
|
400
390
|
e(r, {
|
@@ -419,7 +409,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
419
409
|
default: a(() => [
|
420
410
|
e(u, {
|
421
411
|
modelValue: l(o).widget.props.singleselect,
|
422
|
-
"onUpdate:modelValue": t[
|
412
|
+
"onUpdate:modelValue": t[8] || (t[8] = (d) => l(o).widget.props.singleselect = d)
|
423
413
|
}, null, 8, ["modelValue"])
|
424
414
|
]),
|
425
415
|
_: 1
|
@@ -428,7 +418,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
428
418
|
default: a(() => [
|
429
419
|
e(u, {
|
430
420
|
modelValue: l(o).widget.props.hasPage,
|
431
|
-
"onUpdate:modelValue": t[
|
421
|
+
"onUpdate:modelValue": t[9] || (t[9] = (d) => l(o).widget.props.hasPage = d)
|
432
422
|
}, null, 8, ["modelValue"])
|
433
423
|
]),
|
434
424
|
_: 1
|
@@ -437,7 +427,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
437
427
|
default: a(() => [
|
438
428
|
e(u, {
|
439
429
|
modelValue: l(o).widget.props.initLoadData,
|
440
|
-
"onUpdate:modelValue": t[
|
430
|
+
"onUpdate:modelValue": t[10] || (t[10] = (d) => l(o).widget.props.initLoadData = d)
|
441
431
|
}, null, 8, ["modelValue"])
|
442
432
|
]),
|
443
433
|
_: 1
|
@@ -446,7 +436,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
446
436
|
default: a(() => [
|
447
437
|
e(u, {
|
448
438
|
modelValue: l(o).widget.props.showOverFlow,
|
449
|
-
"onUpdate:modelValue": t[
|
439
|
+
"onUpdate:modelValue": t[11] || (t[11] = (d) => l(o).widget.props.showOverFlow = d)
|
450
440
|
}, null, 8, ["modelValue"])
|
451
441
|
]),
|
452
442
|
_: 1
|
@@ -455,7 +445,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
455
445
|
default: a(() => [
|
456
446
|
e(u, {
|
457
447
|
modelValue: l(o).widget.props.isStripe,
|
458
|
-
"onUpdate:modelValue": t[
|
448
|
+
"onUpdate:modelValue": t[12] || (t[12] = (d) => l(o).widget.props.isStripe = d)
|
459
449
|
}, null, 8, ["modelValue"])
|
460
450
|
]),
|
461
451
|
_: 1
|
@@ -464,7 +454,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
464
454
|
default: a(() => [
|
465
455
|
e(u, {
|
466
456
|
modelValue: l(o).widget.props.isHideChoose,
|
467
|
-
"onUpdate:modelValue": t[
|
457
|
+
"onUpdate:modelValue": t[13] || (t[13] = (d) => l(o).widget.props.isHideChoose = d)
|
468
458
|
}, null, 8, ["modelValue"])
|
469
459
|
]),
|
470
460
|
_: 1
|
@@ -473,7 +463,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
473
463
|
default: a(() => [
|
474
464
|
e(u, {
|
475
465
|
modelValue: l(o).widget.props.hideHandleBtn,
|
476
|
-
"onUpdate:modelValue": t[
|
466
|
+
"onUpdate:modelValue": t[14] || (t[14] = (d) => l(o).widget.props.hideHandleBtn = d)
|
477
467
|
}, null, 8, ["modelValue"])
|
478
468
|
]),
|
479
469
|
_: 1
|
@@ -482,7 +472,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
482
472
|
default: a(() => [
|
483
473
|
e(u, {
|
484
474
|
modelValue: l(o).widget.props.treeMode,
|
485
|
-
"onUpdate:modelValue": t[
|
475
|
+
"onUpdate:modelValue": t[15] || (t[15] = (d) => l(o).widget.props.treeMode = d)
|
486
476
|
}, null, 8, ["modelValue"])
|
487
477
|
]),
|
488
478
|
_: 1
|
@@ -490,9 +480,9 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
490
480
|
l(o).widget.props.treeMode ? (k(), T("div", ee, [
|
491
481
|
e(n, { label: "本级树节点" }, {
|
492
482
|
default: a(() => [
|
493
|
-
e(
|
483
|
+
e(g, {
|
494
484
|
modelValue: l(o).widget.props.treeRowField,
|
495
|
-
"onUpdate:modelValue": t[
|
485
|
+
"onUpdate:modelValue": t[16] || (t[16] = (d) => l(o).widget.props.treeRowField = d),
|
496
486
|
placeholder: "本级树节点"
|
497
487
|
}, null, 8, ["modelValue"])
|
498
488
|
]),
|
@@ -500,9 +490,9 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
500
490
|
}),
|
501
491
|
e(n, { label: "父级树节点" }, {
|
502
492
|
default: a(() => [
|
503
|
-
e(
|
493
|
+
e(g, {
|
504
494
|
modelValue: l(o).widget.props.treeParentField,
|
505
|
-
"onUpdate:modelValue": t[
|
495
|
+
"onUpdate:modelValue": t[17] || (t[17] = (d) => l(o).widget.props.treeParentField = d),
|
506
496
|
placeholder: "父级树节点"
|
507
497
|
}, null, 8, ["modelValue"])
|
508
498
|
]),
|
@@ -510,9 +500,9 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
510
500
|
}),
|
511
501
|
e(n, { label: "树子节点容器" }, {
|
512
502
|
default: a(() => [
|
513
|
-
e(
|
503
|
+
e(g, {
|
514
504
|
modelValue: l(o).widget.props.treeChildrenField,
|
515
|
-
"onUpdate:modelValue": t[
|
505
|
+
"onUpdate:modelValue": t[18] || (t[18] = (d) => l(o).widget.props.treeChildrenField = d),
|
516
506
|
placeholder: "树子节点容器"
|
517
507
|
}, null, 8, ["modelValue"])
|
518
508
|
]),
|
@@ -522,7 +512,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
522
512
|
default: a(() => [
|
523
513
|
e(u, {
|
524
514
|
modelValue: l(o).widget.props.treeTransform,
|
525
|
-
"onUpdate:modelValue": t[
|
515
|
+
"onUpdate:modelValue": t[19] || (t[19] = (d) => l(o).widget.props.treeTransform = d)
|
526
516
|
}, null, 8, ["modelValue"])
|
527
517
|
]),
|
528
518
|
_: 1
|
@@ -531,7 +521,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
531
521
|
default: a(() => [
|
532
522
|
e(u, {
|
533
523
|
modelValue: l(o).widget.props.treeExpandAll,
|
534
|
-
"onUpdate:modelValue": t[
|
524
|
+
"onUpdate:modelValue": t[20] || (t[20] = (d) => l(o).widget.props.treeExpandAll = d)
|
535
525
|
}, null, 8, ["modelValue"])
|
536
526
|
]),
|
537
527
|
_: 1
|
@@ -540,7 +530,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
540
530
|
default: a(() => [
|
541
531
|
e(u, {
|
542
532
|
modelValue: l(o).widget.props.treeAccordion,
|
543
|
-
"onUpdate:modelValue": t[
|
533
|
+
"onUpdate:modelValue": t[21] || (t[21] = (d) => l(o).widget.props.treeAccordion = d)
|
544
534
|
}, null, 8, ["modelValue"])
|
545
535
|
]),
|
546
536
|
_: 1
|
@@ -549,7 +539,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
549
539
|
default: a(() => [
|
550
540
|
e(u, {
|
551
541
|
modelValue: l(o).widget.props.isLine,
|
552
|
-
"onUpdate:modelValue": t[
|
542
|
+
"onUpdate:modelValue": t[22] || (t[22] = (d) => l(o).widget.props.isLine = d)
|
553
543
|
}, null, 8, ["modelValue"])
|
554
544
|
]),
|
555
545
|
_: 1
|
@@ -558,7 +548,7 @@ const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(
|
|
558
548
|
default: a(() => [
|
559
549
|
e(u, {
|
560
550
|
modelValue: l(o).widget.props.isLine,
|
561
|
-
"onUpdate:modelValue": t[
|
551
|
+
"onUpdate:modelValue": t[23] || (t[23] = (d) => l(o).widget.props.isLine = d)
|
562
552
|
}, null, 8, ["modelValue"])
|
563
553
|
]),
|
564
554
|
_: 1
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import { resolveComponent as p, openBlock as s, createElementBlock as u, Fragment as c, createVNode as l, withCtx as i, unref as o } from "vue";
|
2
|
+
const g = /* @__PURE__ */ Object.assign({ name: "config-card" }, {
|
3
|
+
__name: "index",
|
4
|
+
props: {
|
5
|
+
designer: {
|
6
|
+
type: Object,
|
7
|
+
default: {}
|
8
|
+
},
|
9
|
+
widget: {
|
10
|
+
type: Object,
|
11
|
+
default: {}
|
12
|
+
}
|
13
|
+
},
|
14
|
+
setup(d) {
|
15
|
+
let e = d;
|
16
|
+
return (_, t) => {
|
17
|
+
const r = p("el-input"), a = p("common-label-container"), m = p("el-switch");
|
18
|
+
return s(), u(c, null, [
|
19
|
+
l(a, { label: "卡片标题" }, {
|
20
|
+
default: i(() => [
|
21
|
+
l(r, {
|
22
|
+
modelValue: o(e).widget.props.title,
|
23
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => o(e).widget.props.title = n),
|
24
|
+
placeholder: "填写卡片标题"
|
25
|
+
}, null, 8, ["modelValue"])
|
26
|
+
]),
|
27
|
+
_: 1
|
28
|
+
}),
|
29
|
+
l(a, { label: "是否有分割线" }, {
|
30
|
+
default: i(() => [
|
31
|
+
l(m, {
|
32
|
+
modelValue: o(e).widget.props.hasSplitLine,
|
33
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => o(e).widget.props.hasSplitLine = n)
|
34
|
+
}, null, 8, ["modelValue"])
|
35
|
+
]),
|
36
|
+
_: 1
|
37
|
+
})
|
38
|
+
], 64);
|
39
|
+
};
|
40
|
+
}
|
41
|
+
});
|
42
|
+
export {
|
43
|
+
g as default
|
44
|
+
};
|