act-plus 1.1.56 → 1.1.57

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.
@@ -0,0 +1,939 @@
1
+ import { defineAsyncComponent as re, inject as E, reactive as de, ref as A, watch as se, resolveComponent as C, resolveDirective as ie, openBlock as r, createBlock as i, withCtx as a, createElementVNode as L, createVNode as l, unref as m, createTextVNode as S, withDirectives as me, createElementBlock as c, Fragment as y, renderList as g, createCommentVNode as U, toDisplayString as pe } from "vue";
2
+ import { _ as fe, U as M, F as be, k as ce, l as ye, S as Ce, T as ge, A as _e, C as Ve, m as ve } from "./index-5fa8f416.js";
3
+ import "vue-router";
4
+ import "element-plus";
5
+ const Te = { slot: "prepend" }, Se = { class: "dialog-footer" }, Ue = {
6
+ __name: "dialogAddField",
7
+ props: {
8
+ visible: { type: Boolean, default: !1 },
9
+ title: { type: String, default: "" },
10
+ data: { type: Object, default: () => ({}) }
11
+ },
12
+ emits: ["update:visible", "refresh"],
13
+ setup(Q, { emit: I }) {
14
+ const K = re(() => import("./dialogSiteComponentsParams-93e56ef4.js")), h = I, P = Q, N = E("pageKey")(), O = E("conditionList")(), W = E("configData")();
15
+ let k = de((() => ({
16
+ btnLoading: !1,
17
+ showSiteComponentsParamsDialog: !1
18
+ }))());
19
+ const x = () => ({
20
+ sort: 0,
21
+ fieldName: void 0,
22
+ fieldKey: void 0,
23
+ fieldType: void 0,
24
+ fieldUiProps: "",
25
+ fieldSubmitType: "string",
26
+ fieldRequestType: "GET",
27
+ fieldRequestUrl: void 0,
28
+ postRequestParams: [],
29
+ useScenes: [],
30
+ formColumnCol: 12,
31
+ formCustomComponentes: [],
32
+ customTableHeaderName: "",
33
+ customTableHeaderUrl: "",
34
+ isFormFieldRequired: !0,
35
+ isFormSetValue: !0,
36
+ isFormDisabled: !1,
37
+ tableQueryCondition: void 0,
38
+ tableQueryDefaultValue: void 0,
39
+ tableCellWidthType: "min",
40
+ tableCellWidth: "120",
41
+ tableCellAlignType: "center",
42
+ tableCellContentType: "default",
43
+ isTableCellOverflowTooltip: !0,
44
+ isTableCellSort: !0
45
+ }), R = M, w = A(null), u = A(x()), Y = () => ["select", "selectIcon", "multipleSelect", "treeSelect", "provinceCascade", "switch", "virtualizedSelect", "virtualizedMultipleSelect"].includes(
46
+ u.value.fieldType
47
+ ), $ = () => u.value.useScenes.includes("tableSearch") && u.value.fieldType !== "time", B = () => u.value.useScenes.includes("tableShow"), j = () => u.value.fieldType && u.value.fieldType !== "implicit" && u.value.useScenes.some((f) => !["tableSearch", "tableShow"].some((t) => t == f));
48
+ se(
49
+ () => P.visible,
50
+ async (f, t) => {
51
+ if (f) {
52
+ const p = (W.value.buttons || []).filter((o) => o.permissionCode != 1001).map((o) => ({ key: o.btnName, value: o.permissionCode }));
53
+ R.some((o) => {
54
+ if (o.label === "表单配置")
55
+ return o.options = p, !0;
56
+ });
57
+ const { data: n } = P;
58
+ if (!n.fieldName)
59
+ return;
60
+ Object.keys(u.value).forEach((o) => {
61
+ if (o == "permissionCode")
62
+ u.value[o] = n.unique;
63
+ else if (o == "formCustomComponentes") {
64
+ const _ = p.filter((b) => n.useScenes.includes(b.value)).map((b) => {
65
+ const v = n[o].find((T) => T.permissionCode == b.value) || {};
66
+ return {
67
+ btnName: b.key,
68
+ permissionCode: b.value,
69
+ pageKey: N.value,
70
+ customComponentName: void 0,
71
+ customComponentUrl: void 0,
72
+ isFieldCustom: !1,
73
+ ...v
74
+ };
75
+ }), V = M[0].options.map((b) => {
76
+ const v = n[o].find((T) => T.permissionCode == b.value) || {};
77
+ return {
78
+ btnName: b.key,
79
+ permissionCode: b.value,
80
+ pageKey: N.value,
81
+ customComponentName: void 0,
82
+ customComponentUrl: void 0,
83
+ isFieldCustom: !1,
84
+ ...v
85
+ };
86
+ });
87
+ u.value[o] = [...V, ..._];
88
+ } else
89
+ ["postRequestParams", "useScenes"].includes(o) ? u.value[o] = [...n[o] || []] : u.value[o] = n[o];
90
+ });
91
+ }
92
+ }
93
+ );
94
+ const H = () => {
95
+ u.value.postRequestParams.push({ submitName: "", submitValue: "", submitType: "default", submitMatchType: "", paramsType: "" });
96
+ }, z = (f) => {
97
+ u.value.postRequestParams.splice(f, 1);
98
+ }, G = (f) => {
99
+ u.value.postRequestParams = [];
100
+ }, J = (f) => {
101
+ const t = R.find((n) => n.label === "表格配置").options, p = R.find((n) => n.label === "表单配置").options;
102
+ u.value.formCustomComponentes = [...t, ...p].filter((n) => f.includes(n.value)).map((n) => ({
103
+ btnName: n.key,
104
+ permissionCode: n.value,
105
+ pageKey: N,
106
+ customComponentName: void 0,
107
+ customComponentUrl: void 0,
108
+ isFieldCustom: !1
109
+ }));
110
+ }, X = (f, t) => {
111
+ t.customComponentName = void 0, t.customComponentUrl = void 0;
112
+ }, Z = (f) => {
113
+ D(), f();
114
+ }, D = () => {
115
+ u.value = x(), w.value.resetFields(), h("update:visible", !1);
116
+ }, ee = (f) => {
117
+ f && f.validate((t) => {
118
+ t && (k.btnLoading = !0, u.value.formCustomComponentes.forEach((p) => {
119
+ delete p.isFiledCustom;
120
+ }), h("refresh", JSON.parse(JSON.stringify(u.value)), () => {
121
+ D();
122
+ }), k.btnLoading = !1);
123
+ });
124
+ };
125
+ return (f, t) => {
126
+ const p = C("el-input"), n = C("el-form-item"), o = C("el-col"), _ = C("el-option"), V = C("el-select"), b = C("el-button"), v = C("el-row"), T = C("el-divider"), le = C("el-option-group"), q = C("el-switch"), ae = C("el-input-number"), te = C("el-form"), ue = C("el-scrollbar"), oe = C("el-dialog"), ne = ie("debounce");
127
+ return r(), i(oe, {
128
+ "model-value": P.visible,
129
+ title: P.title,
130
+ top: "5vh",
131
+ width: "1400",
132
+ draggable: "",
133
+ overflow: "",
134
+ "close-on-click-modal": !1,
135
+ "before-close": Z
136
+ }, {
137
+ footer: a(() => [
138
+ L("span", Se, [
139
+ l(b, {
140
+ onClick: D,
141
+ loading: m(k).btnLoading
142
+ }, {
143
+ default: a(() => t[29] || (t[29] = [
144
+ S("取消")
145
+ ])),
146
+ _: 1
147
+ }, 8, ["loading"]),
148
+ me((r(), i(b, {
149
+ type: "primary",
150
+ loading: m(k).btnLoading,
151
+ onClick: t[22] || (t[22] = (e) => ee(w.value))
152
+ }, {
153
+ default: a(() => t[30] || (t[30] = [
154
+ S("保存")
155
+ ])),
156
+ _: 1
157
+ }, 8, ["loading"])), [
158
+ [ne]
159
+ ])
160
+ ])
161
+ ]),
162
+ default: a(() => [
163
+ l(ue, {
164
+ ref: "configFieldsScroll",
165
+ "max-height": "800px"
166
+ }, {
167
+ default: a(() => [
168
+ l(te, {
169
+ ref_key: "formRef",
170
+ ref: w,
171
+ model: u.value,
172
+ "label-suffix": ":",
173
+ "label-width": "120px"
174
+ }, {
175
+ default: a(() => [
176
+ l(v, null, {
177
+ default: a(() => [
178
+ l(o, { span: 6 }, {
179
+ default: a(() => [
180
+ l(n, {
181
+ label: "字段名称",
182
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
183
+ prop: "fieldName"
184
+ }, {
185
+ default: a(() => [
186
+ l(p, {
187
+ modelValue: u.value.fieldName,
188
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.fieldName = e),
189
+ placeholder: "请输入",
190
+ clearable: ""
191
+ }, null, 8, ["modelValue"])
192
+ ]),
193
+ _: 1
194
+ })
195
+ ]),
196
+ _: 1
197
+ }),
198
+ l(o, { span: 6 }, {
199
+ default: a(() => [
200
+ l(n, {
201
+ label: "字段key",
202
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
203
+ prop: "fieldKey"
204
+ }, {
205
+ default: a(() => [
206
+ l(p, {
207
+ modelValue: u.value.fieldKey,
208
+ "onUpdate:modelValue": t[1] || (t[1] = (e) => u.value.fieldKey = e),
209
+ placeholder: "请输入",
210
+ clearable: ""
211
+ }, null, 8, ["modelValue"])
212
+ ]),
213
+ _: 1
214
+ })
215
+ ]),
216
+ _: 1
217
+ }),
218
+ l(o, { span: 6 }, {
219
+ default: a(() => [
220
+ l(n, {
221
+ label: "字段类型",
222
+ rules: [{ required: !0, message: "必填项", trigger: ["change"] }],
223
+ prop: "fieldType"
224
+ }, {
225
+ default: a(() => [
226
+ l(V, {
227
+ modelValue: u.value.fieldType,
228
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.fieldType = e),
229
+ placeholder: "请选择",
230
+ clearable: "",
231
+ filterable: ""
232
+ }, {
233
+ default: a(() => [
234
+ (r(!0), c(y, null, g(m(be), (e) => (r(), i(_, {
235
+ key: e.value,
236
+ label: e.key,
237
+ value: e.value
238
+ }, null, 8, ["label", "value"]))), 128))
239
+ ]),
240
+ _: 1
241
+ }, 8, ["modelValue"])
242
+ ]),
243
+ _: 1
244
+ })
245
+ ]),
246
+ _: 1
247
+ }),
248
+ l(o, { span: 4 }, {
249
+ default: a(() => [
250
+ l(n, {
251
+ label: "组件参数",
252
+ rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
253
+ prop: "fieldType"
254
+ }, {
255
+ default: a(() => [
256
+ l(b, {
257
+ type: "primary",
258
+ onClick: t[3] || (t[3] = (e) => m(k).showSiteComponentsParamsDialog = !0)
259
+ }, {
260
+ default: a(() => t[23] || (t[23] = [
261
+ S("设置props")
262
+ ])),
263
+ _: 1
264
+ }),
265
+ l(m(K), {
266
+ modelValue: u.value.fieldUiProps,
267
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => u.value.fieldUiProps = e),
268
+ visible: m(k).showSiteComponentsParamsDialog,
269
+ "onUpdate:visible": t[5] || (t[5] = (e) => m(k).showSiteComponentsParamsDialog = e),
270
+ title: "设置组件参数"
271
+ }, null, 8, ["modelValue", "visible"])
272
+ ]),
273
+ _: 1
274
+ })
275
+ ]),
276
+ _: 1
277
+ })
278
+ ]),
279
+ _: 1
280
+ }),
281
+ Y() ? (r(), i(v, { key: 0 }, {
282
+ default: a(() => [
283
+ l(o, { span: 24 }, {
284
+ default: a(() => [
285
+ l(n, {
286
+ label: "数据源",
287
+ prop: "fieldRequestUrl"
288
+ }, {
289
+ default: a(() => [
290
+ l(p, {
291
+ placeholder: "请输入",
292
+ modelValue: u.value.fieldRequestUrl,
293
+ "onUpdate:modelValue": t[7] || (t[7] = (e) => u.value.fieldRequestUrl = e),
294
+ clearable: ""
295
+ }, {
296
+ prepend: a(() => [
297
+ l(V, {
298
+ modelValue: u.value.fieldRequestType,
299
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => u.value.fieldRequestType = e),
300
+ placeholder: "请选择",
301
+ style: { width: "150px" },
302
+ onChange: G
303
+ }, {
304
+ default: a(() => [
305
+ (r(!0), c(y, null, g(m(ce), (e) => (r(), i(_, {
306
+ key: e.value,
307
+ label: e.key,
308
+ value: e.value
309
+ }, null, 8, ["label", "value"]))), 128))
310
+ ]),
311
+ _: 1
312
+ }, 8, ["modelValue"])
313
+ ]),
314
+ _: 1
315
+ }, 8, ["modelValue"])
316
+ ]),
317
+ _: 1
318
+ })
319
+ ]),
320
+ _: 1
321
+ })
322
+ ]),
323
+ _: 1
324
+ })) : U("", !0),
325
+ u.value.fieldRequestType == "POST" ? (r(), c(y, { key: 1 }, [
326
+ l(T, { "content-position": "left" }, {
327
+ default: a(() => [
328
+ t[24] || (t[24] = S(" POST参数配置 ")),
329
+ l(b, {
330
+ class: "add-icon-btn",
331
+ type: "primary",
332
+ icon: "Plus",
333
+ circle: "",
334
+ onClick: H
335
+ })
336
+ ]),
337
+ _: 1
338
+ }),
339
+ (r(!0), c(y, null, g(u.value.postRequestParams, (e, s) => (r(), i(v, { key: s }, {
340
+ default: a(() => [
341
+ l(o, { span: 5 }, {
342
+ default: a(() => [
343
+ l(n, {
344
+ label: "提交字段名",
345
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
346
+ prop: "postRequestParams." + s + ".submitName"
347
+ }, {
348
+ default: a(() => [
349
+ l(p, {
350
+ modelValue: e.submitName,
351
+ "onUpdate:modelValue": (d) => e.submitName = d,
352
+ placeholder: "请输入提交字段名",
353
+ clearable: ""
354
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
355
+ ]),
356
+ _: 2
357
+ }, 1032, ["prop"])
358
+ ]),
359
+ _: 2
360
+ }, 1024),
361
+ l(o, { span: 8 }, {
362
+ default: a(() => [
363
+ l(n, {
364
+ label: "方式",
365
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
366
+ prop: "postRequestParams." + s + ".submitValue"
367
+ }, {
368
+ default: a(() => [
369
+ l(p, {
370
+ placeholder: "请输入值",
371
+ modelValue: e.submitValue,
372
+ "onUpdate:modelValue": (d) => e.submitValue = d,
373
+ clearable: ""
374
+ }, {
375
+ prepend: a(() => [
376
+ l(V, {
377
+ modelValue: e.submitType,
378
+ "onUpdate:modelValue": (d) => e.submitType = d,
379
+ placeholder: "请选择方式",
380
+ style: { width: "120px" }
381
+ }, {
382
+ default: a(() => [
383
+ (r(!0), c(y, null, g(m(ye), (d, F) => (r(), i(_, {
384
+ key: F,
385
+ label: d.key,
386
+ value: d.value
387
+ }, null, 8, ["label", "value"]))), 128))
388
+ ]),
389
+ _: 2
390
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
391
+ ]),
392
+ _: 2
393
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
394
+ ]),
395
+ _: 2
396
+ }, 1032, ["prop"])
397
+ ]),
398
+ _: 2
399
+ }, 1024),
400
+ e.submitType === "dynamic" ? (r(), i(o, {
401
+ key: 0,
402
+ span: 5
403
+ }, {
404
+ default: a(() => [
405
+ l(n, {
406
+ label: "匹配条件",
407
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
408
+ prop: "postRequestParams." + s + ".submitMatchType"
409
+ }, {
410
+ default: a(() => [
411
+ l(V, {
412
+ modelValue: e.submitMatchType,
413
+ "onUpdate:modelValue": (d) => e.submitMatchType = d,
414
+ placeholder: "请选择方式",
415
+ clearable: "",
416
+ filterable: "",
417
+ style: { width: "120px" }
418
+ }, {
419
+ default: a(() => [
420
+ (r(!0), c(y, null, g(m(O), (d, F) => (r(), i(_, {
421
+ key: F,
422
+ label: d.key,
423
+ value: d.value
424
+ }, null, 8, ["label", "value"]))), 128))
425
+ ]),
426
+ _: 2
427
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
428
+ ]),
429
+ _: 2
430
+ }, 1032, ["prop"])
431
+ ]),
432
+ _: 2
433
+ }, 1024)) : U("", !0),
434
+ l(o, { span: 5 }, {
435
+ default: a(() => [
436
+ l(n, {
437
+ label: "提交类型",
438
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
439
+ prop: "postRequestParams." + s + ".paramsType"
440
+ }, {
441
+ default: a(() => [
442
+ l(V, {
443
+ modelValue: e.paramsType,
444
+ "onUpdate:modelValue": (d) => e.paramsType = d,
445
+ placeholder: "请选择",
446
+ filterable: "",
447
+ clearable: ""
448
+ }, {
449
+ default: a(() => [
450
+ (r(!0), c(y, null, g(m(Ce), (d, F) => (r(), i(_, {
451
+ key: F,
452
+ label: d.key,
453
+ value: d.value
454
+ }, null, 8, ["label", "value"]))), 128))
455
+ ]),
456
+ _: 2
457
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
458
+ ]),
459
+ _: 2
460
+ }, 1032, ["prop"])
461
+ ]),
462
+ _: 2
463
+ }, 1024),
464
+ l(o, {
465
+ class: "submit-operate",
466
+ span: 1
467
+ }, {
468
+ default: a(() => [
469
+ l(b, {
470
+ class: "match-opreate",
471
+ type: "danger",
472
+ icon: "Minus",
473
+ circle: "",
474
+ onClick: (d) => z(s)
475
+ }, null, 8, ["onClick"])
476
+ ]),
477
+ _: 2
478
+ }, 1024)
479
+ ]),
480
+ _: 2
481
+ }, 1024))), 128))
482
+ ], 64)) : U("", !0),
483
+ l(v, null, {
484
+ default: a(() => [
485
+ l(o, { span: 24 }, {
486
+ default: a(() => [
487
+ l(n, {
488
+ label: "使用场景",
489
+ rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
490
+ prop: "useScenes"
491
+ }, {
492
+ default: a(() => [
493
+ l(V, {
494
+ modelValue: u.value.useScenes,
495
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => u.value.useScenes = e),
496
+ placeholder: "请选择",
497
+ multiple: "",
498
+ clearable: "",
499
+ filterable: "",
500
+ onChange: J
501
+ }, {
502
+ default: a(() => [
503
+ (r(!0), c(y, null, g(m(R), (e) => (r(), i(le, {
504
+ key: e.label,
505
+ label: e.label
506
+ }, {
507
+ default: a(() => [
508
+ (r(!0), c(y, null, g(e.options, (s) => (r(), i(_, {
509
+ key: s.key,
510
+ label: s.key,
511
+ value: s.value
512
+ }, null, 8, ["label", "value"]))), 128))
513
+ ]),
514
+ _: 2
515
+ }, 1032, ["label"]))), 128))
516
+ ]),
517
+ _: 1
518
+ }, 8, ["modelValue"])
519
+ ]),
520
+ _: 1
521
+ })
522
+ ]),
523
+ _: 1
524
+ })
525
+ ]),
526
+ _: 1
527
+ }),
528
+ $() ? (r(), i(v, { key: 2 }, {
529
+ default: a(() => [
530
+ l(T, { "content-position": "left" }, {
531
+ default: a(() => t[25] || (t[25] = [
532
+ S("查询模块")
533
+ ])),
534
+ _: 1
535
+ }),
536
+ l(o, { span: 6 }, {
537
+ default: a(() => [
538
+ l(n, {
539
+ label: "查询条件",
540
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
541
+ prop: "tableQueryCondition"
542
+ }, {
543
+ default: a(() => [
544
+ l(V, {
545
+ modelValue: u.value.tableQueryCondition,
546
+ "onUpdate:modelValue": t[9] || (t[9] = (e) => u.value.tableQueryCondition = e),
547
+ placeholder: "请选择查询条件",
548
+ clearable: "",
549
+ filterable: ""
550
+ }, {
551
+ default: a(() => [
552
+ (r(!0), c(y, null, g(m(O), (e, s) => (r(), i(_, {
553
+ key: s,
554
+ label: e.key,
555
+ value: e.value
556
+ }, null, 8, ["label", "value"]))), 128))
557
+ ]),
558
+ _: 1
559
+ }, 8, ["modelValue"])
560
+ ]),
561
+ _: 1
562
+ })
563
+ ]),
564
+ _: 1
565
+ }),
566
+ l(o, { span: 6 }, {
567
+ default: a(() => [
568
+ l(n, {
569
+ label: "默认值",
570
+ rules: [{ required: !1, message: "必填项", trigger: "blur" }],
571
+ prop: "tableQueryDefaultValue"
572
+ }, {
573
+ default: a(() => [
574
+ l(p, {
575
+ modelValue: u.value.tableQueryDefaultValue,
576
+ "onUpdate:modelValue": t[10] || (t[10] = (e) => u.value.tableQueryDefaultValue = e),
577
+ placeholder: "请输入",
578
+ clearable: ""
579
+ }, null, 8, ["modelValue"])
580
+ ]),
581
+ _: 1
582
+ })
583
+ ]),
584
+ _: 1
585
+ })
586
+ ]),
587
+ _: 1
588
+ })) : U("", !0),
589
+ B() ? (r(), i(v, { key: 3 }, {
590
+ default: a(() => [
591
+ l(T, { "content-position": "left" }, {
592
+ default: a(() => t[26] || (t[26] = [
593
+ S("表格模块")
594
+ ])),
595
+ _: 1
596
+ }),
597
+ l(o, { span: 6 }, {
598
+ default: a(() => [
599
+ l(n, {
600
+ label: "列宽",
601
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
602
+ prop: "tableCellWidth"
603
+ }, {
604
+ default: a(() => [
605
+ l(p, {
606
+ placeholder: "请输入",
607
+ modelValue: u.value.tableCellWidth,
608
+ "onUpdate:modelValue": t[12] || (t[12] = (e) => u.value.tableCellWidth = e)
609
+ }, {
610
+ prepend: a(() => [
611
+ l(V, {
612
+ modelValue: u.value.tableCellWidthType,
613
+ "onUpdate:modelValue": t[11] || (t[11] = (e) => u.value.tableCellWidthType = e),
614
+ placeholder: "请选择",
615
+ style: { width: "100px" }
616
+ }, {
617
+ default: a(() => [
618
+ (r(!0), c(y, null, g(m(ge), (e, s) => (r(), i(_, {
619
+ key: s,
620
+ label: e.key,
621
+ value: e.value
622
+ }, null, 8, ["label", "value"]))), 128))
623
+ ]),
624
+ _: 1
625
+ }, 8, ["modelValue"])
626
+ ]),
627
+ _: 1
628
+ }, 8, ["modelValue"])
629
+ ]),
630
+ _: 1
631
+ })
632
+ ]),
633
+ _: 1
634
+ }),
635
+ l(o, { span: 6 }, {
636
+ default: a(() => [
637
+ l(n, {
638
+ label: "对齐方式",
639
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
640
+ prop: "tableCellAlignType"
641
+ }, {
642
+ default: a(() => [
643
+ l(V, {
644
+ modelValue: u.value.tableCellAlignType,
645
+ "onUpdate:modelValue": t[13] || (t[13] = (e) => u.value.tableCellAlignType = e),
646
+ placeholder: "请选择对齐方式",
647
+ clearable: "",
648
+ filterable: ""
649
+ }, {
650
+ default: a(() => [
651
+ (r(!0), c(y, null, g(m(_e), (e, s) => (r(), i(_, {
652
+ key: s,
653
+ label: e.key,
654
+ value: e.value
655
+ }, null, 8, ["label", "value"]))), 128))
656
+ ]),
657
+ _: 1
658
+ }, 8, ["modelValue"])
659
+ ]),
660
+ _: 1
661
+ })
662
+ ]),
663
+ _: 1
664
+ }),
665
+ l(o, { span: 6 }, {
666
+ default: a(() => [
667
+ l(n, {
668
+ label: "内容类型",
669
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
670
+ prop: "tableCellContentType"
671
+ }, {
672
+ default: a(() => [
673
+ l(V, {
674
+ modelValue: u.value.tableCellContentType,
675
+ "onUpdate:modelValue": t[14] || (t[14] = (e) => u.value.tableCellContentType = e),
676
+ placeholder: "请选择内容类型",
677
+ clearable: "",
678
+ filterable: ""
679
+ }, {
680
+ default: a(() => [
681
+ (r(!0), c(y, null, g(m(Ve), (e, s) => (r(), i(_, {
682
+ key: s,
683
+ label: e.key,
684
+ value: e.value
685
+ }, null, 8, ["label", "value"]))), 128))
686
+ ]),
687
+ _: 1
688
+ }, 8, ["modelValue"])
689
+ ]),
690
+ _: 1
691
+ })
692
+ ]),
693
+ _: 1
694
+ }),
695
+ l(o, { span: 2 }, {
696
+ default: a(() => [
697
+ l(n, {
698
+ label: "溢出隐藏",
699
+ prop: "isTableCellOverflowTooltip"
700
+ }, {
701
+ default: a(() => [
702
+ l(q, {
703
+ modelValue: u.value.isTableCellOverflowTooltip,
704
+ "onUpdate:modelValue": t[15] || (t[15] = (e) => u.value.isTableCellOverflowTooltip = e)
705
+ }, null, 8, ["modelValue"])
706
+ ]),
707
+ _: 1
708
+ })
709
+ ]),
710
+ _: 1
711
+ }),
712
+ l(o, { span: 2 }, {
713
+ default: a(() => [
714
+ l(n, {
715
+ label: "排序",
716
+ prop: "isTableCellSort"
717
+ }, {
718
+ default: a(() => [
719
+ l(q, {
720
+ modelValue: u.value.isTableCellSort,
721
+ "onUpdate:modelValue": t[16] || (t[16] = (e) => u.value.isTableCellSort = e)
722
+ }, null, 8, ["modelValue"])
723
+ ]),
724
+ _: 1
725
+ })
726
+ ]),
727
+ _: 1
728
+ })
729
+ ]),
730
+ _: 1
731
+ })) : U("", !0),
732
+ j() ? (r(), i(v, { key: 4 }, {
733
+ default: a(() => [
734
+ l(T, { "content-position": "left" }, {
735
+ default: a(() => t[27] || (t[27] = [
736
+ S("表单模块")
737
+ ])),
738
+ _: 1
739
+ }),
740
+ l(o, { span: 3 }, {
741
+ default: a(() => [
742
+ l(n, {
743
+ label: "是否必填",
744
+ prop: "isFormFieldRequired"
745
+ }, {
746
+ default: a(() => [
747
+ l(q, {
748
+ modelValue: u.value.isFormFieldRequired,
749
+ "onUpdate:modelValue": t[17] || (t[17] = (e) => u.value.isFormFieldRequired = e)
750
+ }, null, 8, ["modelValue"])
751
+ ]),
752
+ _: 1
753
+ })
754
+ ]),
755
+ _: 1
756
+ }),
757
+ l(o, { span: 3 }, {
758
+ default: a(() => [
759
+ l(n, {
760
+ label: "是否回显",
761
+ prop: "isFormSetValue"
762
+ }, {
763
+ default: a(() => [
764
+ l(q, {
765
+ modelValue: u.value.isFormSetValue,
766
+ "onUpdate:modelValue": t[18] || (t[18] = (e) => u.value.isFormSetValue = e)
767
+ }, null, 8, ["modelValue"])
768
+ ]),
769
+ _: 1
770
+ })
771
+ ]),
772
+ _: 1
773
+ }),
774
+ l(o, { span: 3 }, {
775
+ default: a(() => [
776
+ l(n, {
777
+ label: "是否禁用",
778
+ prop: "isFormDisabled"
779
+ }, {
780
+ default: a(() => [
781
+ l(q, {
782
+ modelValue: u.value.isFormDisabled,
783
+ "onUpdate:modelValue": t[19] || (t[19] = (e) => u.value.isFormDisabled = e)
784
+ }, null, 8, ["modelValue"])
785
+ ]),
786
+ _: 1
787
+ })
788
+ ]),
789
+ _: 1
790
+ }),
791
+ l(o, { span: 6 }, {
792
+ default: a(() => [
793
+ l(n, {
794
+ label: "提交类型",
795
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
796
+ prop: "fieldSubmitType"
797
+ }, {
798
+ default: a(() => [
799
+ l(V, {
800
+ modelValue: u.value.fieldSubmitType,
801
+ "onUpdate:modelValue": t[20] || (t[20] = (e) => u.value.fieldSubmitType = e),
802
+ placeholder: "请选择提交类型",
803
+ filterable: "",
804
+ clearable: ""
805
+ }, {
806
+ default: a(() => [
807
+ (r(!0), c(y, null, g(m(ve), (e, s) => (r(), i(_, {
808
+ key: s,
809
+ label: e.key,
810
+ value: e.value
811
+ }, null, 8, ["label", "value"]))), 128))
812
+ ]),
813
+ _: 1
814
+ }, 8, ["modelValue"])
815
+ ]),
816
+ _: 1
817
+ })
818
+ ]),
819
+ _: 1
820
+ }),
821
+ l(o, { span: 6 }, {
822
+ default: a(() => [
823
+ l(n, {
824
+ label: "栅格数",
825
+ prop: "formColumnCol"
826
+ }, {
827
+ default: a(() => [
828
+ l(ae, {
829
+ modelValue: u.value.formColumnCol,
830
+ "onUpdate:modelValue": t[21] || (t[21] = (e) => u.value.formColumnCol = e),
831
+ max: 24
832
+ }, null, 8, ["modelValue"])
833
+ ]),
834
+ _: 1
835
+ })
836
+ ]),
837
+ _: 1
838
+ })
839
+ ]),
840
+ _: 1
841
+ })) : U("", !0),
842
+ l(T, { "content-position": "left" }, {
843
+ default: a(() => t[28] || (t[28] = [
844
+ S("不同场景自定义字段组件")
845
+ ])),
846
+ _: 1
847
+ }),
848
+ (r(!0), c(y, null, g(u.value.formCustomComponentes, (e, s) => (r(), i(v, { key: s }, {
849
+ default: a(() => [
850
+ l(o, { span: 2 }, {
851
+ default: a(() => [
852
+ l(n, {
853
+ label: `${e.btnName}`,
854
+ prop: `formCustomComponentes.${s}.isFieldCustom`
855
+ }, {
856
+ default: a(() => [
857
+ l(q, {
858
+ modelValue: e.isFieldCustom,
859
+ "onUpdate:modelValue": (d) => e.isFieldCustom = d,
860
+ onChange: (d) => X(d, e)
861
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
862
+ ]),
863
+ _: 2
864
+ }, 1032, ["label", "prop"])
865
+ ]),
866
+ _: 2
867
+ }, 1024),
868
+ e.isFieldCustom ? (r(), i(o, {
869
+ key: 0,
870
+ span: 8
871
+ }, {
872
+ default: a(() => [
873
+ l(n, {
874
+ label: "组件名称",
875
+ "label-width": "220",
876
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
877
+ prop: `formCustomComponentes.${s}.customComponentName`
878
+ }, {
879
+ default: a(() => [
880
+ l(p, {
881
+ modelValue: e.customComponentName,
882
+ "onUpdate:modelValue": (d) => e.customComponentName = d,
883
+ placeholder: "请输入",
884
+ clearable: ""
885
+ }, {
886
+ default: a(() => [
887
+ L("template", Te, [
888
+ S(pe(m(N)), 1)
889
+ ])
890
+ ]),
891
+ _: 2
892
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
893
+ ]),
894
+ _: 2
895
+ }, 1032, ["prop"])
896
+ ]),
897
+ _: 2
898
+ }, 1024)) : U("", !0),
899
+ e.isFieldCustom ? (r(), i(o, {
900
+ key: 1,
901
+ span: 14
902
+ }, {
903
+ default: a(() => [
904
+ l(n, {
905
+ label: "组件地址",
906
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
907
+ prop: `formCustomComponentes.${s}.customComponentUrl`
908
+ }, {
909
+ default: a(() => [
910
+ l(p, {
911
+ modelValue: e.customComponentUrl,
912
+ "onUpdate:modelValue": (d) => e.customComponentUrl = d,
913
+ placeholder: "请输入",
914
+ clearable: ""
915
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
916
+ ]),
917
+ _: 2
918
+ }, 1032, ["prop"])
919
+ ]),
920
+ _: 2
921
+ }, 1024)) : U("", !0)
922
+ ]),
923
+ _: 2
924
+ }, 1024))), 128))
925
+ ]),
926
+ _: 1
927
+ }, 8, ["model"])
928
+ ]),
929
+ _: 1
930
+ }, 512)
931
+ ]),
932
+ _: 1
933
+ }, 8, ["model-value", "title"]);
934
+ };
935
+ }
936
+ }, Re = /* @__PURE__ */ fe(Ue, [["__scopeId", "data-v-7a6069a6"]]);
937
+ export {
938
+ Re as default
939
+ };