sun-form-v3 1.0.97 → 1.0.99
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{index-BJXeqFJS.js → index-B0UQdhgL.js} +1 -1
- package/dist/{index-XP0bVDnU.js → index-B0fldwhm.js} +35 -26
- package/dist/{index-DczZx0GR.js → index-BYYYhiEo.js} +1 -1
- package/dist/{index-BbWDcT04.js → index-BuGa4h8p.js} +35616 -33615
- package/dist/index-C78PiK5v.js +20 -0
- package/dist/index-D0pFRR74.js +116 -0
- package/dist/{index-Dfv9seN-.js → index-D1dRd5aJ.js} +261 -164
- package/dist/index-DQ3y00Pa.js +65 -0
- package/dist/index-Dag4zSq7.js +88 -0
- package/dist/{index-Dx-h4mWh.js → index-Dn8znu7x.js} +1 -1
- package/dist/{index-DeE43ND3.js → index-JOkFbK8f.js} +1 -1
- package/dist/{index-D8bMmfww.js → index-SBwD5MZI.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +166 -161
- package/package.json +2 -1
- package/dist/index-BVfC-7wG.js +0 -79
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ref as
|
2
|
-
import { _ as
|
3
|
-
const
|
1
|
+
import { ref as C, resolveComponent as r, openBlock as H, createElementBlock as T, Fragment as R, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as I, createElementVNode as f, toDisplayString as c, createCommentVNode as F, pushScopeId as $, popScopeId as A } from "vue";
|
2
|
+
import { _ as J } from "./index-BuGa4h8p.js";
|
3
|
+
const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(() => /* @__PURE__ */ f("span", null, "复杂表头配置", -1)), K = {
|
4
4
|
key: 0,
|
5
5
|
class: "flex h-full flex-col"
|
6
|
-
},
|
6
|
+
}, W = { class: "flex-1 flex items-center justify-between" }, q = /* @__PURE__ */ j(() => /* @__PURE__ */ f("span", null, "选择表头", -1)), G = {
|
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,133 +15,133 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
15
15
|
}
|
16
16
|
},
|
17
17
|
emits: ["update:modelValue"],
|
18
|
-
setup(
|
19
|
-
let
|
20
|
-
|
21
|
-
let
|
22
|
-
const
|
23
|
-
JSON.parse(JSON.stringify(
|
24
|
-
const n = (
|
25
|
-
|
18
|
+
setup(v, { emit: t }) {
|
19
|
+
let y = v;
|
20
|
+
y.designer, C(null);
|
21
|
+
let o = C({});
|
22
|
+
const p = C(JSON.parse(JSON.stringify(y.widget.props.headerTree))), x = C(y.widget.widgetList.filter((s) => s.compType === 2));
|
23
|
+
JSON.parse(JSON.stringify(x));
|
24
|
+
const n = (s, w) => {
|
25
|
+
s.push({
|
26
26
|
id: (/* @__PURE__ */ new Date()).getTime(),
|
27
27
|
children: [],
|
28
28
|
label: null
|
29
29
|
});
|
30
|
-
},
|
31
|
-
|
32
|
-
}, S = (
|
33
|
-
|
34
|
-
}, u = (
|
35
|
-
const
|
36
|
-
z.splice(
|
30
|
+
}, m = (s) => {
|
31
|
+
o.value = s, U.value = !0;
|
32
|
+
}, S = (s) => {
|
33
|
+
o.value.label = s.props.label, o.value.id = s.id, o.value.isComponent = !0, U.value = !1;
|
34
|
+
}, u = (s, w) => {
|
35
|
+
const g = s.parent, z = g.data.children || g.data, B = z.findIndex((h) => h.id === w.id);
|
36
|
+
z.splice(B, 1), p.value = [...p.value];
|
37
37
|
}, d = {
|
38
38
|
children: "children",
|
39
39
|
label: "label"
|
40
40
|
};
|
41
|
-
let
|
42
|
-
const
|
43
|
-
console.log(
|
44
|
-
},
|
45
|
-
|
46
|
-
},
|
47
|
-
|
48
|
-
},
|
49
|
-
|
41
|
+
let _ = C(!1), U = C(!1);
|
42
|
+
const L = ({ row: s }) => {
|
43
|
+
console.log(s);
|
44
|
+
}, E = () => {
|
45
|
+
_.value = !0;
|
46
|
+
}, N = () => {
|
47
|
+
_.value = !1;
|
48
|
+
}, M = () => {
|
49
|
+
_.value = !1, y.widget.props.headerTree = p.value;
|
50
50
|
};
|
51
|
-
return (
|
52
|
-
const
|
53
|
-
return
|
54
|
-
e(
|
51
|
+
return (s, w) => {
|
52
|
+
const g = r("el-button"), z = r("el-input"), B = r("el-button-group"), h = r("el-tree"), D = r("vxe-modal"), k = r("vxe-column"), P = r("vxe-table");
|
53
|
+
return H(), T(R, null, [
|
54
|
+
e(g, {
|
55
55
|
plain: "",
|
56
|
-
type: l(
|
56
|
+
type: l(y).widget.props.headerTree.length ? "primary" : "",
|
57
57
|
icon: "Setting",
|
58
|
-
onClick:
|
58
|
+
onClick: E
|
59
59
|
}, {
|
60
60
|
default: a(() => [
|
61
|
-
|
61
|
+
b(" 复杂表头 ")
|
62
62
|
]),
|
63
63
|
_: 1
|
64
64
|
}, 8, ["type"]),
|
65
|
-
e(
|
65
|
+
e(D, {
|
66
66
|
transfer: "",
|
67
|
-
modelValue: l(
|
68
|
-
"onUpdate:modelValue":
|
67
|
+
modelValue: l(_),
|
68
|
+
"onUpdate:modelValue": w[1] || (w[1] = (i) => I(_) ? _.value = i : _ = i),
|
69
69
|
width: "800px",
|
70
70
|
height: "700px",
|
71
71
|
"show-footer": "",
|
72
|
-
onClose:
|
72
|
+
onClose: N
|
73
73
|
}, {
|
74
74
|
title: a(() => [
|
75
|
-
|
75
|
+
Q
|
76
76
|
]),
|
77
77
|
default: a(() => [
|
78
|
-
l(
|
79
|
-
e(
|
78
|
+
l(_) ? (H(), T("div", K, [
|
79
|
+
e(g, {
|
80
80
|
type: "primary",
|
81
81
|
size: "small",
|
82
82
|
class: "w-20 mb-2",
|
83
|
-
onClick:
|
83
|
+
onClick: w[0] || (w[0] = (i) => n(p.value))
|
84
84
|
}, {
|
85
85
|
default: a(() => [
|
86
|
-
|
86
|
+
b("一级添加")
|
87
87
|
]),
|
88
88
|
_: 1
|
89
89
|
}),
|
90
|
-
e(
|
91
|
-
data:
|
90
|
+
e(h, {
|
91
|
+
data: p.value,
|
92
92
|
props: d,
|
93
93
|
"node-key": "id",
|
94
94
|
"expand-on-click-node": !1,
|
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
|
-
f("div",
|
98
|
+
default: a(({ node: i, data: V }) => [
|
99
|
+
f("div", W, [
|
100
100
|
f("div", null, [
|
101
101
|
f("div", null, [
|
102
|
-
|
102
|
+
b(c(V.children && V.children.length ? "分类" : "组件") + " ", 1),
|
103
103
|
e(z, {
|
104
|
-
modelValue:
|
105
|
-
"onUpdate:modelValue": (O) =>
|
104
|
+
modelValue: V.label,
|
105
|
+
"onUpdate:modelValue": (O) => V.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
|
-
e(
|
112
|
+
e(B, null, {
|
113
113
|
default: a(() => [
|
114
|
-
e(
|
115
|
-
onClick: (O) => n(
|
114
|
+
e(g, {
|
115
|
+
onClick: (O) => n(V.children),
|
116
116
|
link: "",
|
117
117
|
type: "primary",
|
118
118
|
size: "small"
|
119
119
|
}, {
|
120
120
|
default: a(() => [
|
121
|
-
|
121
|
+
b("新增")
|
122
122
|
]),
|
123
123
|
_: 2
|
124
124
|
}, 1032, ["onClick"]),
|
125
|
-
e(
|
125
|
+
e(g, {
|
126
126
|
link: "",
|
127
127
|
type: "danger",
|
128
|
-
onClick: (O) => u(i,
|
128
|
+
onClick: (O) => u(i, V),
|
129
129
|
size: "small"
|
130
130
|
}, {
|
131
131
|
default: a(() => [
|
132
|
-
|
132
|
+
b("删除")
|
133
133
|
]),
|
134
134
|
_: 2
|
135
135
|
}, 1032, ["onClick"]),
|
136
|
-
e(
|
137
|
-
disabled:
|
138
|
-
onClick: (O) =>
|
136
|
+
e(g, {
|
137
|
+
disabled: V.children && !!V.children.length,
|
138
|
+
onClick: (O) => m(V),
|
139
139
|
link: "",
|
140
140
|
type: "success",
|
141
141
|
size: "small"
|
142
142
|
}, {
|
143
143
|
default: a(() => [
|
144
|
-
|
144
|
+
b("选择")
|
145
145
|
]),
|
146
146
|
_: 2
|
147
147
|
}, 1032, ["disabled", "onClick"])
|
@@ -153,52 +153,52 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
153
153
|
]),
|
154
154
|
_: 1
|
155
155
|
}, 8, ["data"])
|
156
|
-
])) :
|
156
|
+
])) : F("", !0)
|
157
157
|
]),
|
158
158
|
footer: a(() => [
|
159
|
-
e(
|
159
|
+
e(g, {
|
160
160
|
icon: "Close",
|
161
161
|
size: "small",
|
162
|
-
onClick:
|
162
|
+
onClick: N
|
163
163
|
}, {
|
164
164
|
default: a(() => [
|
165
|
-
|
165
|
+
b("关闭")
|
166
166
|
]),
|
167
167
|
_: 1
|
168
168
|
}),
|
169
|
-
e(
|
169
|
+
e(g, {
|
170
170
|
icon: "Check",
|
171
171
|
type: "primary",
|
172
172
|
size: "small",
|
173
|
-
onClick:
|
173
|
+
onClick: M
|
174
174
|
}, {
|
175
175
|
default: a(() => [
|
176
|
-
|
176
|
+
b("确认")
|
177
177
|
]),
|
178
178
|
_: 1
|
179
179
|
})
|
180
180
|
]),
|
181
181
|
_: 1
|
182
182
|
}, 8, ["modelValue"]),
|
183
|
-
e(
|
183
|
+
e(D, {
|
184
184
|
transfer: "",
|
185
|
-
modelValue: l(
|
186
|
-
"onUpdate:modelValue":
|
185
|
+
modelValue: l(U),
|
186
|
+
"onUpdate:modelValue": w[2] || (w[2] = (i) => I(U) ? U.value = i : U = i),
|
187
187
|
width: "700px",
|
188
188
|
height: "600px"
|
189
189
|
}, {
|
190
190
|
title: a(() => [
|
191
|
-
|
191
|
+
q
|
192
192
|
]),
|
193
193
|
default: a(() => [
|
194
|
-
l(
|
194
|
+
l(U) ? (H(), T("div", G, [
|
195
195
|
f("div", X, [
|
196
|
-
e(
|
196
|
+
e(P, {
|
197
197
|
ref: "mainTable",
|
198
|
-
data:
|
198
|
+
data: x.value,
|
199
199
|
height: "auto",
|
200
200
|
"row-config": { isCurrent: !0, isHover: !0 },
|
201
|
-
onCurrentChange:
|
201
|
+
onCurrentChange: L,
|
202
202
|
size: "mini",
|
203
203
|
border: "",
|
204
204
|
"scroll-y": { enabled: !0 },
|
@@ -207,57 +207,57 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
207
207
|
class: "w-full"
|
208
208
|
}, {
|
209
209
|
default: a(() => [
|
210
|
-
e(
|
210
|
+
e(k, {
|
211
211
|
field: "name",
|
212
212
|
title: "表头标签"
|
213
213
|
}, {
|
214
214
|
default: a(({ row: i }) => [
|
215
|
-
f("div", null,
|
215
|
+
f("div", null, c(i.props.label), 1)
|
216
216
|
]),
|
217
217
|
_: 1
|
218
218
|
}),
|
219
|
-
e(
|
219
|
+
e(k, {
|
220
220
|
field: "name",
|
221
221
|
title: "表头字段"
|
222
222
|
}, {
|
223
223
|
default: a(({ row: i }) => [
|
224
|
-
f("div", null,
|
224
|
+
f("div", null, c(i.props.zdname), 1)
|
225
225
|
]),
|
226
226
|
_: 1
|
227
227
|
}),
|
228
|
-
e(
|
228
|
+
e(k, {
|
229
229
|
field: "name",
|
230
230
|
title: "组件id",
|
231
231
|
width: "180"
|
232
232
|
}, {
|
233
233
|
default: a(({ row: i }) => [
|
234
|
-
f("div", null,
|
234
|
+
f("div", null, c(i.id), 1)
|
235
235
|
]),
|
236
236
|
_: 1
|
237
237
|
}),
|
238
|
-
e(
|
238
|
+
e(k, {
|
239
239
|
field: "name",
|
240
240
|
title: "组件类型"
|
241
241
|
}, {
|
242
242
|
default: a(({ row: i }) => [
|
243
|
-
f("div", null,
|
243
|
+
f("div", null, c(i.displayName), 1)
|
244
244
|
]),
|
245
245
|
_: 1
|
246
246
|
}),
|
247
|
-
e(
|
247
|
+
e(k, {
|
248
248
|
title: "操作栏",
|
249
249
|
width: "60",
|
250
250
|
align: "center"
|
251
251
|
}, {
|
252
252
|
default: a(({ row: i }) => [
|
253
|
-
e(
|
253
|
+
e(g, {
|
254
254
|
link: "",
|
255
255
|
type: "primary",
|
256
256
|
size: "small",
|
257
|
-
onClick: (
|
257
|
+
onClick: (V) => S(i)
|
258
258
|
}, {
|
259
259
|
default: a(() => [
|
260
|
-
|
260
|
+
b("选择")
|
261
261
|
]),
|
262
262
|
_: 2
|
263
263
|
}, 1032, ["onClick"])
|
@@ -268,14 +268,14 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
268
268
|
_: 1
|
269
269
|
}, 8, ["data"])
|
270
270
|
])
|
271
|
-
])) :
|
271
|
+
])) : F("", !0)
|
272
272
|
]),
|
273
273
|
_: 1
|
274
274
|
}, 8, ["modelValue"])
|
275
275
|
], 64);
|
276
276
|
};
|
277
277
|
}
|
278
|
-
}), Z = /* @__PURE__ */
|
278
|
+
}), Z = /* @__PURE__ */ J(Y, [["__scopeId", "data-v-75dc2686"]]), ee = { key: 0 }, te = /* @__PURE__ */ Object.assign({ name: "config-datatable" }, {
|
279
279
|
__name: "index",
|
280
280
|
props: {
|
281
281
|
designer: {
|
@@ -287,27 +287,27 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
287
287
|
default: {}
|
288
288
|
}
|
289
289
|
},
|
290
|
-
setup(
|
291
|
-
let
|
292
|
-
return (
|
293
|
-
const
|
294
|
-
return
|
290
|
+
setup(v) {
|
291
|
+
let t = v;
|
292
|
+
return (y, o) => {
|
293
|
+
const p = r("el-option"), x = r("el-select"), n = r("common-label-container"), m = r("el-input"), S = r("el-input-number"), u = r("el-switch");
|
294
|
+
return H(), T(R, null, [
|
295
295
|
e(n, { label: "组件尺寸" }, {
|
296
296
|
default: a(() => [
|
297
|
-
e(
|
298
|
-
modelValue: l(
|
299
|
-
"onUpdate:modelValue":
|
297
|
+
e(x, {
|
298
|
+
modelValue: l(t).widget.props.size,
|
299
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => l(t).widget.props.size = d)
|
300
300
|
}, {
|
301
301
|
default: a(() => [
|
302
|
-
e(
|
302
|
+
e(p, {
|
303
303
|
label: "默认",
|
304
304
|
value: "medium"
|
305
305
|
}),
|
306
|
-
e(
|
306
|
+
e(p, {
|
307
307
|
label: "小尺寸",
|
308
308
|
value: "small"
|
309
309
|
}),
|
310
|
-
e(
|
310
|
+
e(p, {
|
311
311
|
label: "超小尺寸",
|
312
312
|
value: "mini"
|
313
313
|
})
|
@@ -319,9 +319,9 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
319
319
|
}),
|
320
320
|
e(n, { label: "操作栏宽度" }, {
|
321
321
|
default: a(() => [
|
322
|
-
e(
|
323
|
-
modelValue: l(
|
324
|
-
"onUpdate:modelValue":
|
322
|
+
e(m, {
|
323
|
+
modelValue: l(t).widget.props.oprateWidth,
|
324
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => l(t).widget.props.oprateWidth = d),
|
325
325
|
placeholder: "不填则按默认宽度"
|
326
326
|
}, null, 8, ["modelValue"])
|
327
327
|
]),
|
@@ -329,9 +329,9 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
329
329
|
}),
|
330
330
|
e(n, { label: "数据字段" }, {
|
331
331
|
default: a(() => [
|
332
|
-
e(
|
333
|
-
modelValue: l(
|
334
|
-
"onUpdate:modelValue":
|
332
|
+
e(m, {
|
333
|
+
modelValue: l(t).widget.props.rows,
|
334
|
+
"onUpdate:modelValue": o[2] || (o[2] = (d) => l(t).widget.props.rows = d),
|
335
335
|
placeholder: "数据字段"
|
336
336
|
}, null, 8, ["modelValue"])
|
337
337
|
]),
|
@@ -339,9 +339,9 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
339
339
|
}),
|
340
340
|
e(n, { label: "总数字段" }, {
|
341
341
|
default: a(() => [
|
342
|
-
e(
|
343
|
-
modelValue: l(
|
344
|
-
"onUpdate:modelValue":
|
342
|
+
e(m, {
|
343
|
+
modelValue: l(t).widget.props.count,
|
344
|
+
"onUpdate:modelValue": o[3] || (o[3] = (d) => l(t).widget.props.count = d),
|
345
345
|
placeholder: "总数字段"
|
346
346
|
}, null, 8, ["modelValue"])
|
347
347
|
]),
|
@@ -349,9 +349,9 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
349
349
|
}),
|
350
350
|
e(n, { label: "分页字段" }, {
|
351
351
|
default: a(() => [
|
352
|
-
e(
|
353
|
-
modelValue: l(
|
354
|
-
"onUpdate:modelValue":
|
352
|
+
e(m, {
|
353
|
+
modelValue: l(t).widget.props.page,
|
354
|
+
"onUpdate:modelValue": o[4] || (o[4] = (d) => l(t).widget.props.page = d),
|
355
355
|
placeholder: "分页字段"
|
356
356
|
}, null, 8, ["modelValue"])
|
357
357
|
]),
|
@@ -359,21 +359,31 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
359
359
|
}),
|
360
360
|
e(n, { label: "页数字段" }, {
|
361
361
|
default: a(() => [
|
362
|
-
e(
|
363
|
-
modelValue: l(
|
364
|
-
"onUpdate:modelValue":
|
362
|
+
e(m, {
|
363
|
+
modelValue: l(t).widget.props.limit,
|
364
|
+
"onUpdate:modelValue": o[5] || (o[5] = (d) => l(t).widget.props.limit = d),
|
365
365
|
placeholder: "页数字段"
|
366
366
|
}, null, 8, ["modelValue"])
|
367
367
|
]),
|
368
368
|
_: 1
|
369
369
|
}),
|
370
|
+
e(n, { label: "合并行字段" }, {
|
371
|
+
default: a(() => [
|
372
|
+
e(m, {
|
373
|
+
modelValue: l(t).widget.props.mergeRowKey,
|
374
|
+
"onUpdate:modelValue": o[6] || (o[6] = (d) => l(t).widget.props.mergeRowKey = d),
|
375
|
+
placeholder: "合并行字段"
|
376
|
+
}, null, 8, ["modelValue"])
|
377
|
+
]),
|
378
|
+
_: 1
|
379
|
+
}),
|
370
380
|
e(n, { label: "默认页数" }, {
|
371
381
|
default: a(() => [
|
372
382
|
e(S, {
|
373
383
|
class: "w-full",
|
374
384
|
placeholder: "默认页数",
|
375
|
-
modelValue: l(
|
376
|
-
"onUpdate:modelValue":
|
385
|
+
modelValue: l(t).widget.props.pageDefault,
|
386
|
+
"onUpdate:modelValue": o[7] || (o[7] = (d) => l(t).widget.props.pageDefault = d),
|
377
387
|
min: 0,
|
378
388
|
"controls-position": "right"
|
379
389
|
}, null, 8, ["modelValue"])
|
@@ -382,20 +392,20 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
382
392
|
}),
|
383
393
|
e(n, { label: "对齐方式" }, {
|
384
394
|
default: a(() => [
|
385
|
-
e(
|
386
|
-
modelValue: l(
|
387
|
-
"onUpdate:modelValue":
|
395
|
+
e(x, {
|
396
|
+
modelValue: l(t).widget.props.align,
|
397
|
+
"onUpdate:modelValue": o[8] || (o[8] = (d) => l(t).widget.props.align = d)
|
388
398
|
}, {
|
389
399
|
default: a(() => [
|
390
|
-
e(
|
400
|
+
e(p, {
|
391
401
|
label: "中间",
|
392
402
|
value: "center"
|
393
403
|
}),
|
394
|
-
e(
|
404
|
+
e(p, {
|
395
405
|
label: "左侧",
|
396
406
|
value: "left"
|
397
407
|
}),
|
398
|
-
e(
|
408
|
+
e(p, {
|
399
409
|
label: "右侧",
|
400
410
|
value: "right"
|
401
411
|
})
|
@@ -405,11 +415,44 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
405
415
|
]),
|
406
416
|
_: 1
|
407
417
|
}),
|
418
|
+
e(n, { label: "边框" }, {
|
419
|
+
default: a(() => [
|
420
|
+
e(x, {
|
421
|
+
modelValue: l(t).widget.props.border,
|
422
|
+
"onUpdate:modelValue": o[9] || (o[9] = (d) => l(t).widget.props.border = d)
|
423
|
+
}, {
|
424
|
+
default: a(() => [
|
425
|
+
e(p, {
|
426
|
+
label: "默认",
|
427
|
+
value: "default"
|
428
|
+
}),
|
429
|
+
e(p, {
|
430
|
+
label: "完整边框",
|
431
|
+
value: "full"
|
432
|
+
}),
|
433
|
+
e(p, {
|
434
|
+
label: "外边框",
|
435
|
+
value: "outer"
|
436
|
+
}),
|
437
|
+
e(p, {
|
438
|
+
label: "内边框",
|
439
|
+
value: "inner"
|
440
|
+
}),
|
441
|
+
e(p, {
|
442
|
+
label: "无边框",
|
443
|
+
value: "none"
|
444
|
+
})
|
445
|
+
]),
|
446
|
+
_: 1
|
447
|
+
}, 8, ["modelValue"])
|
448
|
+
]),
|
449
|
+
_: 1
|
450
|
+
}),
|
408
451
|
e(n, { label: "是否单选" }, {
|
409
452
|
default: a(() => [
|
410
453
|
e(u, {
|
411
|
-
modelValue: l(
|
412
|
-
"onUpdate:modelValue":
|
454
|
+
modelValue: l(t).widget.props.singleselect,
|
455
|
+
"onUpdate:modelValue": o[10] || (o[10] = (d) => l(t).widget.props.singleselect = d)
|
413
456
|
}, null, 8, ["modelValue"])
|
414
457
|
]),
|
415
458
|
_: 1
|
@@ -417,8 +460,8 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
417
460
|
e(n, { label: "是否分页" }, {
|
418
461
|
default: a(() => [
|
419
462
|
e(u, {
|
420
|
-
modelValue: l(
|
421
|
-
"onUpdate:modelValue":
|
463
|
+
modelValue: l(t).widget.props.hasPage,
|
464
|
+
"onUpdate:modelValue": o[11] || (o[11] = (d) => l(t).widget.props.hasPage = d)
|
422
465
|
}, null, 8, ["modelValue"])
|
423
466
|
]),
|
424
467
|
_: 1
|
@@ -426,8 +469,8 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
426
469
|
e(n, { label: "初始加载数据" }, {
|
427
470
|
default: a(() => [
|
428
471
|
e(u, {
|
429
|
-
modelValue: l(
|
430
|
-
"onUpdate:modelValue":
|
472
|
+
modelValue: l(t).widget.props.initLoadData,
|
473
|
+
"onUpdate:modelValue": o[12] || (o[12] = (d) => l(t).widget.props.initLoadData = d)
|
431
474
|
}, null, 8, ["modelValue"])
|
432
475
|
]),
|
433
476
|
_: 1
|
@@ -435,8 +478,8 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
435
478
|
e(n, { label: "内容过长隐藏" }, {
|
436
479
|
default: a(() => [
|
437
480
|
e(u, {
|
438
|
-
modelValue: l(
|
439
|
-
"onUpdate:modelValue":
|
481
|
+
modelValue: l(t).widget.props.showOverFlow,
|
482
|
+
"onUpdate:modelValue": o[13] || (o[13] = (d) => l(t).widget.props.showOverFlow = d)
|
440
483
|
}, null, 8, ["modelValue"])
|
441
484
|
]),
|
442
485
|
_: 1
|
@@ -444,8 +487,8 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
444
487
|
e(n, { label: "是否有斑马线" }, {
|
445
488
|
default: a(() => [
|
446
489
|
e(u, {
|
447
|
-
modelValue: l(
|
448
|
-
"onUpdate:modelValue":
|
490
|
+
modelValue: l(t).widget.props.isStripe,
|
491
|
+
"onUpdate:modelValue": o[14] || (o[14] = (d) => l(t).widget.props.isStripe = d)
|
449
492
|
}, null, 8, ["modelValue"])
|
450
493
|
]),
|
451
494
|
_: 1
|
@@ -453,8 +496,8 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
453
496
|
e(n, { label: "隐藏选择栏" }, {
|
454
497
|
default: a(() => [
|
455
498
|
e(u, {
|
456
|
-
modelValue: l(
|
457
|
-
"onUpdate:modelValue":
|
499
|
+
modelValue: l(t).widget.props.isHideChoose,
|
500
|
+
"onUpdate:modelValue": o[15] || (o[15] = (d) => l(t).widget.props.isHideChoose = d)
|
458
501
|
}, null, 8, ["modelValue"])
|
459
502
|
]),
|
460
503
|
_: 1
|
@@ -462,8 +505,62 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
462
505
|
e(n, { label: "收缩操作栏" }, {
|
463
506
|
default: a(() => [
|
464
507
|
e(u, {
|
465
|
-
modelValue: l(
|
466
|
-
"onUpdate:modelValue":
|
508
|
+
modelValue: l(t).widget.props.hideHandleBtn,
|
509
|
+
"onUpdate:modelValue": o[16] || (o[16] = (d) => l(t).widget.props.hideHandleBtn = d)
|
510
|
+
}, null, 8, ["modelValue"])
|
511
|
+
]),
|
512
|
+
_: 1
|
513
|
+
}),
|
514
|
+
e(n, { label: "隐藏查询栏" }, {
|
515
|
+
default: a(() => [
|
516
|
+
e(u, {
|
517
|
+
modelValue: l(t).widget.props.isHideQuery,
|
518
|
+
"onUpdate:modelValue": o[17] || (o[17] = (d) => l(t).widget.props.isHideQuery = d)
|
519
|
+
}, null, 8, ["modelValue"])
|
520
|
+
]),
|
521
|
+
_: 1
|
522
|
+
}),
|
523
|
+
e(n, { label: "隐藏按钮栏" }, {
|
524
|
+
default: a(() => [
|
525
|
+
e(u, {
|
526
|
+
modelValue: l(t).widget.props.isHideButton,
|
527
|
+
"onUpdate:modelValue": o[18] || (o[18] = (d) => l(t).widget.props.isHideButton = d)
|
528
|
+
}, null, 8, ["modelValue"])
|
529
|
+
]),
|
530
|
+
_: 1
|
531
|
+
}),
|
532
|
+
e(n, { label: "隐藏序号" }, {
|
533
|
+
default: a(() => [
|
534
|
+
e(u, {
|
535
|
+
modelValue: l(t).widget.props.isHideIndex,
|
536
|
+
"onUpdate:modelValue": o[19] || (o[19] = (d) => l(t).widget.props.isHideIndex = d)
|
537
|
+
}, null, 8, ["modelValue"])
|
538
|
+
]),
|
539
|
+
_: 1
|
540
|
+
}),
|
541
|
+
e(n, { label: "隐藏表头" }, {
|
542
|
+
default: a(() => [
|
543
|
+
e(u, {
|
544
|
+
modelValue: l(t).widget.props.isHideHeader,
|
545
|
+
"onUpdate:modelValue": o[20] || (o[20] = (d) => l(t).widget.props.isHideHeader = d)
|
546
|
+
}, null, 8, ["modelValue"])
|
547
|
+
]),
|
548
|
+
_: 1
|
549
|
+
}),
|
550
|
+
e(n, { label: "隐藏查询按钮" }, {
|
551
|
+
default: a(() => [
|
552
|
+
e(u, {
|
553
|
+
modelValue: l(t).widget.props.isHideQueryBtn,
|
554
|
+
"onUpdate:modelValue": o[21] || (o[21] = (d) => l(t).widget.props.isHideQueryBtn = d)
|
555
|
+
}, null, 8, ["modelValue"])
|
556
|
+
]),
|
557
|
+
_: 1
|
558
|
+
}),
|
559
|
+
e(n, { label: "隐藏重置按钮" }, {
|
560
|
+
default: a(() => [
|
561
|
+
e(u, {
|
562
|
+
modelValue: l(t).widget.props.isHideResetBtn,
|
563
|
+
"onUpdate:modelValue": o[22] || (o[22] = (d) => l(t).widget.props.isHideResetBtn = d)
|
467
564
|
}, null, 8, ["modelValue"])
|
468
565
|
]),
|
469
566
|
_: 1
|
@@ -471,18 +568,18 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
471
568
|
e(n, { label: "是否树形表格" }, {
|
472
569
|
default: a(() => [
|
473
570
|
e(u, {
|
474
|
-
modelValue: l(
|
475
|
-
"onUpdate:modelValue":
|
571
|
+
modelValue: l(t).widget.props.treeMode,
|
572
|
+
"onUpdate:modelValue": o[23] || (o[23] = (d) => l(t).widget.props.treeMode = d)
|
476
573
|
}, null, 8, ["modelValue"])
|
477
574
|
]),
|
478
575
|
_: 1
|
479
576
|
}),
|
480
|
-
l(
|
577
|
+
l(t).widget.props.treeMode ? (H(), T("div", ee, [
|
481
578
|
e(n, { label: "本级树节点" }, {
|
482
579
|
default: a(() => [
|
483
|
-
e(
|
484
|
-
modelValue: l(
|
485
|
-
"onUpdate:modelValue":
|
580
|
+
e(m, {
|
581
|
+
modelValue: l(t).widget.props.treeRowField,
|
582
|
+
"onUpdate:modelValue": o[24] || (o[24] = (d) => l(t).widget.props.treeRowField = d),
|
486
583
|
placeholder: "本级树节点"
|
487
584
|
}, null, 8, ["modelValue"])
|
488
585
|
]),
|
@@ -490,9 +587,9 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
490
587
|
}),
|
491
588
|
e(n, { label: "父级树节点" }, {
|
492
589
|
default: a(() => [
|
493
|
-
e(
|
494
|
-
modelValue: l(
|
495
|
-
"onUpdate:modelValue":
|
590
|
+
e(m, {
|
591
|
+
modelValue: l(t).widget.props.treeParentField,
|
592
|
+
"onUpdate:modelValue": o[25] || (o[25] = (d) => l(t).widget.props.treeParentField = d),
|
496
593
|
placeholder: "父级树节点"
|
497
594
|
}, null, 8, ["modelValue"])
|
498
595
|
]),
|
@@ -500,9 +597,9 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
500
597
|
}),
|
501
598
|
e(n, { label: "树子节点容器" }, {
|
502
599
|
default: a(() => [
|
503
|
-
e(
|
504
|
-
modelValue: l(
|
505
|
-
"onUpdate:modelValue":
|
600
|
+
e(m, {
|
601
|
+
modelValue: l(t).widget.props.treeChildrenField,
|
602
|
+
"onUpdate:modelValue": o[26] || (o[26] = (d) => l(t).widget.props.treeChildrenField = d),
|
506
603
|
placeholder: "树子节点容器"
|
507
604
|
}, null, 8, ["modelValue"])
|
508
605
|
]),
|
@@ -511,8 +608,8 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
511
608
|
e(n, { label: "是否扁平数据" }, {
|
512
609
|
default: a(() => [
|
513
610
|
e(u, {
|
514
|
-
modelValue: l(
|
515
|
-
"onUpdate:modelValue":
|
611
|
+
modelValue: l(t).widget.props.treeTransform,
|
612
|
+
"onUpdate:modelValue": o[27] || (o[27] = (d) => l(t).widget.props.treeTransform = d)
|
516
613
|
}, null, 8, ["modelValue"])
|
517
614
|
]),
|
518
615
|
_: 1
|
@@ -520,8 +617,8 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
520
617
|
e(n, { label: "是否展开全部" }, {
|
521
618
|
default: a(() => [
|
522
619
|
e(u, {
|
523
|
-
modelValue: l(
|
524
|
-
"onUpdate:modelValue":
|
620
|
+
modelValue: l(t).widget.props.treeExpandAll,
|
621
|
+
"onUpdate:modelValue": o[28] || (o[28] = (d) => l(t).widget.props.treeExpandAll = d)
|
525
622
|
}, null, 8, ["modelValue"])
|
526
623
|
]),
|
527
624
|
_: 1
|
@@ -529,8 +626,8 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
529
626
|
e(n, { label: "是否手风琴" }, {
|
530
627
|
default: a(() => [
|
531
628
|
e(u, {
|
532
|
-
modelValue: l(
|
533
|
-
"onUpdate:modelValue":
|
629
|
+
modelValue: l(t).widget.props.treeAccordion,
|
630
|
+
"onUpdate:modelValue": o[29] || (o[29] = (d) => l(t).widget.props.treeAccordion = d)
|
534
631
|
}, null, 8, ["modelValue"])
|
535
632
|
]),
|
536
633
|
_: 1
|
@@ -538,8 +635,8 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
538
635
|
e(n, { label: "是否带连接线" }, {
|
539
636
|
default: a(() => [
|
540
637
|
e(u, {
|
541
|
-
modelValue: l(
|
542
|
-
"onUpdate:modelValue":
|
638
|
+
modelValue: l(t).widget.props.isLine,
|
639
|
+
"onUpdate:modelValue": o[30] || (o[30] = (d) => l(t).widget.props.isLine = d)
|
543
640
|
}, null, 8, ["modelValue"])
|
544
641
|
]),
|
545
642
|
_: 1
|
@@ -547,17 +644,17 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
547
644
|
e(n, { label: "是否带连接线" }, {
|
548
645
|
default: a(() => [
|
549
646
|
e(u, {
|
550
|
-
modelValue: l(
|
551
|
-
"onUpdate:modelValue":
|
647
|
+
modelValue: l(t).widget.props.isLine,
|
648
|
+
"onUpdate:modelValue": o[31] || (o[31] = (d) => l(t).widget.props.isLine = d)
|
552
649
|
}, null, 8, ["modelValue"])
|
553
650
|
]),
|
554
651
|
_: 1
|
555
652
|
})
|
556
|
-
])) :
|
653
|
+
])) : F("", !0),
|
557
654
|
e(n, { label: "复杂表头设置" }, {
|
558
655
|
default: a(() => [
|
559
656
|
e(Z, {
|
560
|
-
widget: l(
|
657
|
+
widget: l(t).widget
|
561
658
|
}, null, 8, ["widget"])
|
562
659
|
]),
|
563
660
|
_: 1
|
@@ -567,5 +664,5 @@ const I = (c) => (B("data-v-75dc2686"), c = c(), J(), c), W = /* @__PURE__ */ I(
|
|
567
664
|
}
|
568
665
|
});
|
569
666
|
export {
|
570
|
-
|
667
|
+
te as default
|
571
668
|
};
|