act-plus 0.0.0

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