sun-form-v3 1.0.80 → 1.0.82
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{index-D1Uhevdr.js → index-BVfC-7wG.js} +23 -22
- package/dist/{index-YCzX4CbR.js → index-BYSQOsYK.js} +64 -44
- package/dist/index-Bb57DL9x.js +87 -0
- package/dist/index-C0NmmaE2.js +252 -0
- package/dist/{index-BRM5MvQH.js → index-CvnfmMTc.js} +62 -49
- package/dist/index-CxNAuKj7.js +160 -0
- package/dist/index-DM5DPltp.js +86 -0
- package/dist/index-DVgKDMax.js +86 -0
- package/dist/index-D_wobfCy.js +18053 -0
- package/dist/index-Q7GA7AiH.js +581 -0
- package/dist/index-XP0bVDnU.js +90 -0
- package/dist/index-c0zw96Jm.js +139 -0
- package/dist/index-eJQFWCeP.js +113 -0
- package/dist/index-zkXVDNsL.js +184 -0
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +2 -16880
- package/dist/sun-form-v3.umd.js +29 -29
- package/package.json +1 -1
- package/dist/index-mdiGENIF.js +0 -288
package/package.json
CHANGED
package/dist/index-mdiGENIF.js
DELETED
@@ -1,288 +0,0 @@
|
|
1
|
-
import { resolveComponent as r, openBlock as s, createElementBlock as V, Fragment as f, createVNode as e, withCtx as a, unref as o, createCommentVNode as b } from "vue";
|
2
|
-
const U = { key: 0 }, C = /* @__PURE__ */ Object.assign({ name: "config-datatable" }, {
|
3
|
-
__name: "index",
|
4
|
-
props: {
|
5
|
-
designer: {
|
6
|
-
type: Object,
|
7
|
-
default: {}
|
8
|
-
},
|
9
|
-
widget: {
|
10
|
-
type: Object,
|
11
|
-
default: {}
|
12
|
-
}
|
13
|
-
},
|
14
|
-
setup(g) {
|
15
|
-
let l = g;
|
16
|
-
return (v, d) => {
|
17
|
-
const i = r("el-option"), m = r("el-select"), p = r("common-label-container"), n = r("el-input"), w = r("el-input-number"), u = r("el-switch");
|
18
|
-
return s(), V(f, null, [
|
19
|
-
e(p, { label: "组件尺寸" }, {
|
20
|
-
default: a(() => [
|
21
|
-
e(m, {
|
22
|
-
modelValue: o(l).widget.props.size,
|
23
|
-
"onUpdate:modelValue": d[0] || (d[0] = (t) => o(l).widget.props.size = t)
|
24
|
-
}, {
|
25
|
-
default: a(() => [
|
26
|
-
e(i, {
|
27
|
-
label: "默认",
|
28
|
-
value: "medium"
|
29
|
-
}),
|
30
|
-
e(i, {
|
31
|
-
label: "小尺寸",
|
32
|
-
value: "small"
|
33
|
-
}),
|
34
|
-
e(i, {
|
35
|
-
label: "超小尺寸",
|
36
|
-
value: "mini"
|
37
|
-
})
|
38
|
-
]),
|
39
|
-
_: 1
|
40
|
-
}, 8, ["modelValue"])
|
41
|
-
]),
|
42
|
-
_: 1
|
43
|
-
}),
|
44
|
-
e(p, { label: "表格高度" }, {
|
45
|
-
default: a(() => [
|
46
|
-
e(n, {
|
47
|
-
modelValue: o(l).widget.props.height,
|
48
|
-
"onUpdate:modelValue": d[1] || (d[1] = (t) => o(l).widget.props.height = t),
|
49
|
-
placeholder: "填写表格高度"
|
50
|
-
}, null, 8, ["modelValue"])
|
51
|
-
]),
|
52
|
-
_: 1
|
53
|
-
}),
|
54
|
-
e(p, { label: "操作栏宽度" }, {
|
55
|
-
default: a(() => [
|
56
|
-
e(n, {
|
57
|
-
modelValue: o(l).widget.props.oprateWidth,
|
58
|
-
"onUpdate:modelValue": d[2] || (d[2] = (t) => o(l).widget.props.oprateWidth = t),
|
59
|
-
placeholder: "不填则按默认宽度"
|
60
|
-
}, null, 8, ["modelValue"])
|
61
|
-
]),
|
62
|
-
_: 1
|
63
|
-
}),
|
64
|
-
e(p, { label: "数据字段" }, {
|
65
|
-
default: a(() => [
|
66
|
-
e(n, {
|
67
|
-
modelValue: o(l).widget.props.rows,
|
68
|
-
"onUpdate:modelValue": d[3] || (d[3] = (t) => o(l).widget.props.rows = t),
|
69
|
-
placeholder: "数据字段"
|
70
|
-
}, null, 8, ["modelValue"])
|
71
|
-
]),
|
72
|
-
_: 1
|
73
|
-
}),
|
74
|
-
e(p, { label: "总数字段" }, {
|
75
|
-
default: a(() => [
|
76
|
-
e(n, {
|
77
|
-
modelValue: o(l).widget.props.count,
|
78
|
-
"onUpdate:modelValue": d[4] || (d[4] = (t) => o(l).widget.props.count = t),
|
79
|
-
placeholder: "总数字段"
|
80
|
-
}, null, 8, ["modelValue"])
|
81
|
-
]),
|
82
|
-
_: 1
|
83
|
-
}),
|
84
|
-
e(p, { label: "分页字段" }, {
|
85
|
-
default: a(() => [
|
86
|
-
e(n, {
|
87
|
-
modelValue: o(l).widget.props.page,
|
88
|
-
"onUpdate:modelValue": d[5] || (d[5] = (t) => o(l).widget.props.page = t),
|
89
|
-
placeholder: "分页字段"
|
90
|
-
}, null, 8, ["modelValue"])
|
91
|
-
]),
|
92
|
-
_: 1
|
93
|
-
}),
|
94
|
-
e(p, { label: "页数字段" }, {
|
95
|
-
default: a(() => [
|
96
|
-
e(n, {
|
97
|
-
modelValue: o(l).widget.props.limit,
|
98
|
-
"onUpdate:modelValue": d[6] || (d[6] = (t) => o(l).widget.props.limit = t),
|
99
|
-
placeholder: "页数字段"
|
100
|
-
}, null, 8, ["modelValue"])
|
101
|
-
]),
|
102
|
-
_: 1
|
103
|
-
}),
|
104
|
-
e(p, { label: "默认页数" }, {
|
105
|
-
default: a(() => [
|
106
|
-
e(w, {
|
107
|
-
class: "w-full",
|
108
|
-
placeholder: "默认页数",
|
109
|
-
modelValue: o(l).widget.props.pageDefault,
|
110
|
-
"onUpdate:modelValue": d[7] || (d[7] = (t) => o(l).widget.props.pageDefault = t),
|
111
|
-
min: 0,
|
112
|
-
"controls-position": "right"
|
113
|
-
}, null, 8, ["modelValue"])
|
114
|
-
]),
|
115
|
-
_: 1
|
116
|
-
}),
|
117
|
-
e(p, { label: "对齐方式" }, {
|
118
|
-
default: a(() => [
|
119
|
-
e(m, {
|
120
|
-
modelValue: o(l).widget.props.align,
|
121
|
-
"onUpdate:modelValue": d[8] || (d[8] = (t) => o(l).widget.props.align = t)
|
122
|
-
}, {
|
123
|
-
default: a(() => [
|
124
|
-
e(i, {
|
125
|
-
label: "中间",
|
126
|
-
value: "center"
|
127
|
-
}),
|
128
|
-
e(i, {
|
129
|
-
label: "左侧",
|
130
|
-
value: "left"
|
131
|
-
}),
|
132
|
-
e(i, {
|
133
|
-
label: "右侧",
|
134
|
-
value: "right"
|
135
|
-
})
|
136
|
-
]),
|
137
|
-
_: 1
|
138
|
-
}, 8, ["modelValue"])
|
139
|
-
]),
|
140
|
-
_: 1
|
141
|
-
}),
|
142
|
-
e(p, { label: "是否单选" }, {
|
143
|
-
default: a(() => [
|
144
|
-
e(u, {
|
145
|
-
modelValue: o(l).widget.props.singleselect,
|
146
|
-
"onUpdate:modelValue": d[9] || (d[9] = (t) => o(l).widget.props.singleselect = t)
|
147
|
-
}, null, 8, ["modelValue"])
|
148
|
-
]),
|
149
|
-
_: 1
|
150
|
-
}),
|
151
|
-
e(p, { label: "是否分页" }, {
|
152
|
-
default: a(() => [
|
153
|
-
e(u, {
|
154
|
-
modelValue: o(l).widget.props.hasPage,
|
155
|
-
"onUpdate:modelValue": d[10] || (d[10] = (t) => o(l).widget.props.hasPage = t)
|
156
|
-
}, null, 8, ["modelValue"])
|
157
|
-
]),
|
158
|
-
_: 1
|
159
|
-
}),
|
160
|
-
e(p, { label: "初始加载数据" }, {
|
161
|
-
default: a(() => [
|
162
|
-
e(u, {
|
163
|
-
modelValue: o(l).widget.props.initLoadData,
|
164
|
-
"onUpdate:modelValue": d[11] || (d[11] = (t) => o(l).widget.props.initLoadData = t)
|
165
|
-
}, null, 8, ["modelValue"])
|
166
|
-
]),
|
167
|
-
_: 1
|
168
|
-
}),
|
169
|
-
e(p, { label: "内容过长隐藏" }, {
|
170
|
-
default: a(() => [
|
171
|
-
e(u, {
|
172
|
-
modelValue: o(l).widget.props.showOverFlow,
|
173
|
-
"onUpdate:modelValue": d[12] || (d[12] = (t) => o(l).widget.props.showOverFlow = t)
|
174
|
-
}, null, 8, ["modelValue"])
|
175
|
-
]),
|
176
|
-
_: 1
|
177
|
-
}),
|
178
|
-
e(p, { label: "是否有斑马线" }, {
|
179
|
-
default: a(() => [
|
180
|
-
e(u, {
|
181
|
-
modelValue: o(l).widget.props.isStripe,
|
182
|
-
"onUpdate:modelValue": d[13] || (d[13] = (t) => o(l).widget.props.isStripe = t)
|
183
|
-
}, null, 8, ["modelValue"])
|
184
|
-
]),
|
185
|
-
_: 1
|
186
|
-
}),
|
187
|
-
e(p, { label: "隐藏选择栏" }, {
|
188
|
-
default: a(() => [
|
189
|
-
e(u, {
|
190
|
-
modelValue: o(l).widget.props.isHideChoose,
|
191
|
-
"onUpdate:modelValue": d[14] || (d[14] = (t) => o(l).widget.props.isHideChoose = t)
|
192
|
-
}, null, 8, ["modelValue"])
|
193
|
-
]),
|
194
|
-
_: 1
|
195
|
-
}),
|
196
|
-
e(p, { label: "收缩操作栏" }, {
|
197
|
-
default: a(() => [
|
198
|
-
e(u, {
|
199
|
-
modelValue: o(l).widget.props.hideHandleBtn,
|
200
|
-
"onUpdate:modelValue": d[15] || (d[15] = (t) => o(l).widget.props.hideHandleBtn = t)
|
201
|
-
}, null, 8, ["modelValue"])
|
202
|
-
]),
|
203
|
-
_: 1
|
204
|
-
}),
|
205
|
-
e(p, { label: "是否树形表格" }, {
|
206
|
-
default: a(() => [
|
207
|
-
e(u, {
|
208
|
-
modelValue: o(l).widget.props.treeMode,
|
209
|
-
"onUpdate:modelValue": d[16] || (d[16] = (t) => o(l).widget.props.treeMode = t)
|
210
|
-
}, null, 8, ["modelValue"])
|
211
|
-
]),
|
212
|
-
_: 1
|
213
|
-
}),
|
214
|
-
o(l).widget.props.treeMode ? (s(), V("div", U, [
|
215
|
-
e(p, { label: "本级树节点" }, {
|
216
|
-
default: a(() => [
|
217
|
-
e(n, {
|
218
|
-
modelValue: o(l).widget.props.treeRowField,
|
219
|
-
"onUpdate:modelValue": d[17] || (d[17] = (t) => o(l).widget.props.treeRowField = t),
|
220
|
-
placeholder: "本级树节点"
|
221
|
-
}, null, 8, ["modelValue"])
|
222
|
-
]),
|
223
|
-
_: 1
|
224
|
-
}),
|
225
|
-
e(p, { label: "父级树节点" }, {
|
226
|
-
default: a(() => [
|
227
|
-
e(n, {
|
228
|
-
modelValue: o(l).widget.props.treeParentField,
|
229
|
-
"onUpdate:modelValue": d[18] || (d[18] = (t) => o(l).widget.props.treeParentField = t),
|
230
|
-
placeholder: "父级树节点"
|
231
|
-
}, null, 8, ["modelValue"])
|
232
|
-
]),
|
233
|
-
_: 1
|
234
|
-
}),
|
235
|
-
e(p, { label: "树子节点容器" }, {
|
236
|
-
default: a(() => [
|
237
|
-
e(n, {
|
238
|
-
modelValue: o(l).widget.props.treeChildrenField,
|
239
|
-
"onUpdate:modelValue": d[19] || (d[19] = (t) => o(l).widget.props.treeChildrenField = t),
|
240
|
-
placeholder: "树子节点容器"
|
241
|
-
}, null, 8, ["modelValue"])
|
242
|
-
]),
|
243
|
-
_: 1
|
244
|
-
}),
|
245
|
-
e(p, { label: "是否扁平数据" }, {
|
246
|
-
default: a(() => [
|
247
|
-
e(u, {
|
248
|
-
modelValue: o(l).widget.props.treeTransform,
|
249
|
-
"onUpdate:modelValue": d[20] || (d[20] = (t) => o(l).widget.props.treeTransform = t)
|
250
|
-
}, null, 8, ["modelValue"])
|
251
|
-
]),
|
252
|
-
_: 1
|
253
|
-
}),
|
254
|
-
e(p, { label: "是否展开全部" }, {
|
255
|
-
default: a(() => [
|
256
|
-
e(u, {
|
257
|
-
modelValue: o(l).widget.props.treeExpandAll,
|
258
|
-
"onUpdate:modelValue": d[21] || (d[21] = (t) => o(l).widget.props.treeExpandAll = t)
|
259
|
-
}, null, 8, ["modelValue"])
|
260
|
-
]),
|
261
|
-
_: 1
|
262
|
-
}),
|
263
|
-
e(p, { label: "是否手风琴" }, {
|
264
|
-
default: a(() => [
|
265
|
-
e(u, {
|
266
|
-
modelValue: o(l).widget.props.treeAccordion,
|
267
|
-
"onUpdate:modelValue": d[22] || (d[22] = (t) => o(l).widget.props.treeAccordion = t)
|
268
|
-
}, null, 8, ["modelValue"])
|
269
|
-
]),
|
270
|
-
_: 1
|
271
|
-
}),
|
272
|
-
e(p, { label: "是否带连接线" }, {
|
273
|
-
default: a(() => [
|
274
|
-
e(u, {
|
275
|
-
modelValue: o(l).widget.props.isLine,
|
276
|
-
"onUpdate:modelValue": d[23] || (d[23] = (t) => o(l).widget.props.isLine = t)
|
277
|
-
}, null, 8, ["modelValue"])
|
278
|
-
]),
|
279
|
-
_: 1
|
280
|
-
})
|
281
|
-
])) : b("", !0)
|
282
|
-
], 64);
|
283
|
-
};
|
284
|
-
}
|
285
|
-
});
|
286
|
-
export {
|
287
|
-
C as default
|
288
|
-
};
|