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,768 @@
1
+ import { computed as ee, reactive as le, inject as S, ref as O, watch as te, resolveComponent as g, openBlock as s, createBlock as m, withCtx as l, createElementVNode as ae, createVNode as e, unref as o, createTextVNode as U, toDisplayString as w, createCommentVNode as h, createElementBlock as c, Fragment as b, renderList as f } from "vue";
2
+ import { B as oe, b as ne, c as ue, d as se, e as de, f as re, g as ie, h as me, i as pe } from "./enum-99519ce0.js";
3
+ import { useRoute as ce } from "vue-router";
4
+ import { _ as be } from "./index-1c08d835.js";
5
+ const fe = { class: "dialog-footer" }, _e = {
6
+ __name: "dialogConfigBtn",
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(M, { emit: P }) {
14
+ const j = ce(), q = P, T = M, A = ee(() => j.params.key);
15
+ let k = le((() => ({
16
+ btnLoading: !1
17
+ }))());
18
+ const I = S("createDefaultButtonItem"), E = S("associationMenuList"), D = S("conditionList")();
19
+ let x = [], N = O(null), a = O(I());
20
+ const W = () => {
21
+ x = Object.keys(/* @__PURE__ */ Object.assign({ "/src/icons/btn-add.svg": () => import("../svg/btn-add-241f3e4f.js"), "/src/icons/btn-back.svg": () => import("../svg/btn-back-93621853.js"), "/src/icons/btn-bohui.svg": () => import("../svg/btn-bohui-b0a206a4.js"), "/src/icons/btn-daochu.svg": () => import("../svg/btn-daochu-7b5b32e2.js"), "/src/icons/btn-daoru.svg": () => import("../svg/btn-daoru-8ba48f49.js"), "/src/icons/btn-delete.svg": () => import("../svg/btn-delete-65a52caf.js"), "/src/icons/btn-edit.svg": () => import("../svg/btn-edit-e5232a18.js"), "/src/icons/btn-fenpei.svg": () => import("../svg/btn-fenpei-4bba16c2.js"), "/src/icons/btn-lianjie.svg": () => import("../svg/btn-lianjie-bdc679ea.js"), "/src/icons/btn-lishitianbao.svg": () => import("../svg/btn-lishitianbao-eb1212d2.js"), "/src/icons/btn-liuchengtu.svg": () => import("../svg/btn-liuchengtu-9591bcdb.js"), "/src/icons/btn-mulu.svg": () => import("../svg/btn-mulu-0bbcf3d6.js"), "/src/icons/btn-peizhi.svg": () => import("../svg/btn-peizhi-d53bd4b5.js"), "/src/icons/btn-qianshou.svg": () => import("../svg/btn-qianshou-1acd18d0.js"), "/src/icons/btn-quanxian.svg": () => import("../svg/btn-quanxian-4607f51a.js"), "/src/icons/btn-reset.svg": () => import("../svg/btn-reset-1b0db495.js"), "/src/icons/btn-rizhi.svg": () => import("../svg/btn-rizhi-8836492c.js"), "/src/icons/btn-search.svg": () => import("../svg/btn-search-54ecb613.js"), "/src/icons/btn-shenpi.svg": () => import("../svg/btn-shenpi-22b55f3c.js"), "/src/icons/btn-start.svg": () => import("../svg/btn-start-173d3cfb.js"), "/src/icons/btn-stop.svg": () => import("../svg/btn-stop-d76fb767.js"), "/src/icons/btn-tianbao.svg": () => import("../svg/btn-tianbao-d57c7020.js"), "/src/icons/btn-tianjiachengyuan.svg": () => import("../svg/btn-tianjiachengyuan-a613c5da.js"), "/src/icons/btn-xiangqing.svg": () => import("../svg/btn-xiangqing-89b17590.js") })).map((n) => {
22
+ const p = n.lastIndexOf("/"), d = n.lastIndexOf(".");
23
+ return n.substring(p + 1, d);
24
+ });
25
+ };
26
+ te(
27
+ () => T.visible,
28
+ async (_, n) => {
29
+ if (_) {
30
+ W();
31
+ const p = { ...T.data };
32
+ Object.keys(a.value).forEach((d) => {
33
+ d == "submitFields" || d == "matchFields" ? a.value[d] = [...p[d] || []] : a.value[d] = p[d];
34
+ });
35
+ }
36
+ }
37
+ );
38
+ const R = () => {
39
+ a.value.submitWay = [], a.value.requestUrl = void 0, a.value.submitWay = void 0, a.value.customType = void 0, a.value.codeStr = void 0, a.value.customComponentName = void 0, a.value.customComponentUrl = void 0;
40
+ }, Y = () => {
41
+ a.value.submitFields.push({ matchType: "match", submitFieldName: "", matchFieldName: "", submitFieldType: "" });
42
+ }, z = (_) => {
43
+ a.value.submitFields.splice(_, 1);
44
+ }, $ = () => {
45
+ a.value.matchFields.push({ matchType: "default", matchFieldName: "", matchCondition: "", fieldValue: "", spliceCondition: "" });
46
+ }, H = (_) => {
47
+ a.value.matchFields.splice(_, 1), a.value.matchFields.length === 1 && (a.value.matchFields[0].spliceCondition = "");
48
+ }, K = (_) => {
49
+ B(), _();
50
+ }, B = () => {
51
+ a.value = Object.assign(a.value, I()), N.value.resetFields(), q("update:visible", !1);
52
+ }, G = (_) => {
53
+ _ && _.validate((n) => {
54
+ if (n)
55
+ try {
56
+ k.btnLoading = !0, q("refresh", { ...a.value, submitFields: [...a.value.submitFields], matchFields: [...a.value.matchFields] }, () => {
57
+ B();
58
+ }), k.btnLoading = !1;
59
+ } catch (p) {
60
+ console.error(p), k.btnLoading = !1;
61
+ }
62
+ });
63
+ };
64
+ return (_, n) => {
65
+ const p = g("el-input"), d = g("el-form-item"), i = g("el-col"), J = g("a-select-icon"), V = g("el-option"), v = g("el-select"), C = g("el-row"), F = g("el-button"), L = g("el-divider"), Q = g("el-switch"), X = g("el-form"), Z = g("el-dialog");
66
+ return s(), m(Z, {
67
+ "model-value": T.visible,
68
+ title: T.title,
69
+ top: "5vh",
70
+ width: "1200",
71
+ draggable: "",
72
+ overflow: "",
73
+ "close-on-click-modal": !1,
74
+ "before-close": K
75
+ }, {
76
+ footer: l(() => [
77
+ ae("span", fe, [
78
+ e(F, {
79
+ loading: o(k).btnLoading,
80
+ onClick: B
81
+ }, {
82
+ default: l(() => [
83
+ U("取消")
84
+ ]),
85
+ _: 1
86
+ }, 8, ["loading"]),
87
+ e(F, {
88
+ type: "primary",
89
+ loading: o(k).btnLoading,
90
+ onClick: n[14] || (n[14] = (t) => G(o(N)))
91
+ }, {
92
+ default: l(() => [
93
+ U("保存")
94
+ ]),
95
+ _: 1
96
+ }, 8, ["loading"])
97
+ ])
98
+ ]),
99
+ default: l(() => [
100
+ e(X, {
101
+ ref_key: "formRef",
102
+ ref: N,
103
+ model: o(a),
104
+ "label-suffix": ":",
105
+ "label-width": "120px"
106
+ }, {
107
+ default: l(() => [
108
+ e(C, null, {
109
+ default: l(() => [
110
+ e(i, { span: 6 }, {
111
+ default: l(() => [
112
+ e(d, {
113
+ label: "按钮",
114
+ prop: "btnName"
115
+ }, {
116
+ default: l(() => [
117
+ e(p, {
118
+ modelValue: o(a).btnName,
119
+ "onUpdate:modelValue": n[0] || (n[0] = (t) => o(a).btnName = t),
120
+ disabled: "",
121
+ placeholder: "请输入按钮名称"
122
+ }, {
123
+ prepend: l(() => [
124
+ U(w(o(a).permissionCode), 1)
125
+ ]),
126
+ _: 1
127
+ }, 8, ["modelValue"])
128
+ ]),
129
+ _: 1
130
+ })
131
+ ]),
132
+ _: 1
133
+ }),
134
+ e(i, { span: 6 }, {
135
+ default: l(() => [
136
+ e(d, {
137
+ label: "按钮图标",
138
+ prop: "btnIcon"
139
+ }, {
140
+ default: l(() => [
141
+ e(J, {
142
+ modelValue: o(a).btnIcon,
143
+ "onUpdate:modelValue": n[1] || (n[1] = (t) => o(a).btnIcon = t),
144
+ icons: o(x)
145
+ }, null, 8, ["modelValue", "icons"])
146
+ ]),
147
+ _: 1
148
+ })
149
+ ]),
150
+ _: 1
151
+ }),
152
+ o(a).permissionCode != "1001" && !o(a).isCustomBtn ? (s(), m(i, {
153
+ key: 0,
154
+ span: 24
155
+ }, {
156
+ default: l(() => [
157
+ e(d, {
158
+ label: "接口地址",
159
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
160
+ prop: "requestUrl"
161
+ }, {
162
+ default: l(() => [
163
+ e(p, {
164
+ modelValue: o(a).requestUrl,
165
+ "onUpdate:modelValue": n[2] || (n[2] = (t) => o(a).requestUrl = t),
166
+ placeholder: "请输入接口地址",
167
+ clearable: ""
168
+ }, null, 8, ["modelValue"])
169
+ ]),
170
+ _: 1
171
+ })
172
+ ]),
173
+ _: 1
174
+ })) : h("", !0),
175
+ e(i, { span: 12 }, {
176
+ default: l(() => [
177
+ e(d, {
178
+ label: "按钮位置",
179
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
180
+ prop: "btnPostion"
181
+ }, {
182
+ default: l(() => [
183
+ e(v, {
184
+ modelValue: o(a).btnPostion,
185
+ "onUpdate:modelValue": n[3] || (n[3] = (t) => o(a).btnPostion = t),
186
+ placeholder: "请选择按钮位置",
187
+ filterable: "",
188
+ clearable: ""
189
+ }, {
190
+ default: l(() => [
191
+ (s(!0), c(b, null, f(o(oe), (t, r) => (s(), m(V, {
192
+ key: r,
193
+ label: t.key,
194
+ value: t.value
195
+ }, null, 8, ["label", "value"]))), 128))
196
+ ]),
197
+ _: 1
198
+ }, 8, ["modelValue"])
199
+ ]),
200
+ _: 1
201
+ })
202
+ ]),
203
+ _: 1
204
+ }),
205
+ e(i, { span: 12 }, {
206
+ default: l(() => [
207
+ e(d, {
208
+ label: "按钮类型",
209
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
210
+ prop: "btnType"
211
+ }, {
212
+ default: l(() => [
213
+ e(v, {
214
+ modelValue: o(a).btnType,
215
+ "onUpdate:modelValue": n[4] || (n[4] = (t) => o(a).btnType = t),
216
+ placeholder: "请选择按钮类型",
217
+ filterable: "",
218
+ clearable: ""
219
+ }, {
220
+ default: l(() => [
221
+ (s(!0), c(b, null, f(o(ne), (t, r) => (s(), m(V, {
222
+ key: r,
223
+ label: t.key,
224
+ value: t.value
225
+ }, null, 8, ["label", "value"]))), 128))
226
+ ]),
227
+ _: 1
228
+ }, 8, ["modelValue"])
229
+ ]),
230
+ _: 1
231
+ })
232
+ ]),
233
+ _: 1
234
+ }),
235
+ e(i, { span: 12 }, {
236
+ default: l(() => [
237
+ e(d, {
238
+ label: "按钮别名",
239
+ prop: "btnAlias"
240
+ }, {
241
+ default: l(() => [
242
+ e(p, {
243
+ modelValue: o(a).btnAlias,
244
+ "onUpdate:modelValue": n[5] || (n[5] = (t) => o(a).btnAlias = t),
245
+ placeholder: "请输入按钮别名",
246
+ clearable: ""
247
+ }, null, 8, ["modelValue"])
248
+ ]),
249
+ _: 1
250
+ })
251
+ ]),
252
+ _: 1
253
+ }),
254
+ e(i, { span: 12 }, {
255
+ default: l(() => [
256
+ e(d, {
257
+ label: "按钮颜色",
258
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
259
+ prop: "btnColor"
260
+ }, {
261
+ default: l(() => [
262
+ e(v, {
263
+ modelValue: o(a).btnColor,
264
+ "onUpdate:modelValue": n[6] || (n[6] = (t) => o(a).btnColor = t),
265
+ placeholder: "请选择按钮颜色",
266
+ filterable: "",
267
+ clearable: ""
268
+ }, {
269
+ default: l(() => [
270
+ (s(!0), c(b, null, f(o(ue), (t, r) => (s(), m(V, {
271
+ key: r,
272
+ label: t.key,
273
+ value: t.value
274
+ }, null, 8, ["label", "value"]))), 128))
275
+ ]),
276
+ _: 1
277
+ }, 8, ["modelValue"])
278
+ ]),
279
+ _: 1
280
+ })
281
+ ]),
282
+ _: 1
283
+ }),
284
+ !o(a).isCustomBtn && o(a).permissionCode != "1001" ? (s(), m(i, {
285
+ key: 1,
286
+ span: 12
287
+ }, {
288
+ default: l(() => [
289
+ !o(a).isCustomBtn && o(a).permissionCode != "1001" ? (s(), m(d, {
290
+ key: 0,
291
+ label: "提交方式",
292
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
293
+ prop: "submitWay"
294
+ }, {
295
+ default: l(() => [
296
+ e(v, {
297
+ modelValue: o(a).submitWay,
298
+ "onUpdate:modelValue": n[7] || (n[7] = (t) => o(a).submitWay = t),
299
+ placeholder: "请选择提交方式",
300
+ filterable: "",
301
+ clearable: ""
302
+ }, {
303
+ default: l(() => [
304
+ (s(!0), c(b, null, f(o(se), (t, r) => (s(), m(V, {
305
+ key: r,
306
+ label: t.key,
307
+ value: t.value
308
+ }, null, 8, ["label", "value"]))), 128))
309
+ ]),
310
+ _: 1
311
+ }, 8, ["modelValue"])
312
+ ]),
313
+ _: 1
314
+ })) : h("", !0)
315
+ ]),
316
+ _: 1
317
+ })) : h("", !0)
318
+ ]),
319
+ _: 1
320
+ }),
321
+ e(L, { "content-position": "left" }, {
322
+ default: l(() => [
323
+ U(" 提交字段配置 "),
324
+ e(F, {
325
+ class: "add-icon-btn",
326
+ type: "primary",
327
+ icon: "Plus",
328
+ circle: "",
329
+ onClick: Y
330
+ })
331
+ ]),
332
+ _: 1
333
+ }),
334
+ (s(!0), c(b, null, f(o(a).submitFields, (t, r) => (s(), m(C, { key: r }, {
335
+ default: l(() => [
336
+ e(i, { span: 6 }, {
337
+ default: l(() => [
338
+ e(d, {
339
+ label: "提交字段名",
340
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
341
+ prop: "submitFields." + r + ".submitFieldName"
342
+ }, {
343
+ default: l(() => [
344
+ e(p, {
345
+ modelValue: t.submitFieldName,
346
+ "onUpdate:modelValue": (u) => t.submitFieldName = u,
347
+ placeholder: "请输入提交字段名",
348
+ clearable: ""
349
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
350
+ ]),
351
+ _: 2
352
+ }, 1032, ["prop"])
353
+ ]),
354
+ _: 2
355
+ }, 1024),
356
+ e(i, { span: 10 }, {
357
+ default: l(() => [
358
+ e(d, {
359
+ label: "方式",
360
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
361
+ prop: "submitFields." + r + ".matchFieldName"
362
+ }, {
363
+ default: l(() => [
364
+ e(p, {
365
+ placeholder: "请输入",
366
+ modelValue: t.matchFieldName,
367
+ "onUpdate:modelValue": (u) => t.matchFieldName = u,
368
+ clearable: ""
369
+ }, {
370
+ prepend: l(() => [
371
+ e(v, {
372
+ modelValue: t.matchType,
373
+ "onUpdate:modelValue": (u) => t.matchType = u,
374
+ placeholder: "请选择",
375
+ style: { width: "120px" }
376
+ }, {
377
+ default: l(() => [
378
+ (s(!0), c(b, null, f(o(de), (u, y) => (s(), m(V, {
379
+ key: y,
380
+ label: u.key,
381
+ value: u.value
382
+ }, null, 8, ["label", "value"]))), 128))
383
+ ]),
384
+ _: 2
385
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
386
+ ]),
387
+ _: 2
388
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
389
+ ]),
390
+ _: 2
391
+ }, 1032, ["prop"])
392
+ ]),
393
+ _: 2
394
+ }, 1024),
395
+ e(i, { span: 6 }, {
396
+ default: l(() => [
397
+ e(d, {
398
+ label: "提交类型",
399
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
400
+ prop: "submitFields." + r + ".submitFieldType"
401
+ }, {
402
+ default: l(() => [
403
+ e(v, {
404
+ modelValue: t.submitFieldType,
405
+ "onUpdate:modelValue": (u) => t.submitFieldType = u,
406
+ placeholder: "请选择提交类型",
407
+ filterable: "",
408
+ clearable: ""
409
+ }, {
410
+ default: l(() => [
411
+ (s(!0), c(b, null, f(o(re), (u, y) => (s(), m(V, {
412
+ key: y,
413
+ label: u.key,
414
+ value: u.value
415
+ }, null, 8, ["label", "value"]))), 128))
416
+ ]),
417
+ _: 2
418
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
419
+ ]),
420
+ _: 2
421
+ }, 1032, ["prop"])
422
+ ]),
423
+ _: 2
424
+ }, 1024),
425
+ e(i, {
426
+ class: "submit-operate",
427
+ span: 2
428
+ }, {
429
+ default: l(() => [
430
+ e(F, {
431
+ class: "match-opreate",
432
+ type: "danger",
433
+ icon: "Minus",
434
+ circle: "",
435
+ onClick: (u) => z(r)
436
+ }, null, 8, ["onClick"])
437
+ ]),
438
+ _: 2
439
+ }, 1024)
440
+ ]),
441
+ _: 2
442
+ }, 1024))), 128)),
443
+ e(L, { "content-position": "left" }, {
444
+ default: l(() => [
445
+ U(" 匹配字段配置(表格操作列按钮显示/隐藏) "),
446
+ e(F, {
447
+ class: "add-icon-btn",
448
+ type: "primary",
449
+ icon: "Plus",
450
+ circle: "",
451
+ onClick: $
452
+ })
453
+ ]),
454
+ _: 1
455
+ }),
456
+ (s(!0), c(b, null, f(o(a).matchFields, (t, r) => (s(), m(C, { key: r }, {
457
+ default: l(() => [
458
+ e(i, { span: 10 }, {
459
+ default: l(() => [
460
+ e(d, {
461
+ label: "匹配字段名",
462
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
463
+ prop: "matchFields." + r + ".matchFieldName"
464
+ }, {
465
+ default: l(() => [
466
+ e(p, {
467
+ placeholder: "请输入",
468
+ modelValue: t.matchFieldName,
469
+ "onUpdate:modelValue": (u) => t.matchFieldName = u,
470
+ clearable: ""
471
+ }, {
472
+ prepend: l(() => [
473
+ e(v, {
474
+ modelValue: t.matchType,
475
+ "onUpdate:modelValue": (u) => t.matchType = u,
476
+ placeholder: "请选择",
477
+ style: { width: "180px" }
478
+ }, {
479
+ default: l(() => [
480
+ (s(!0), c(b, null, f(o(ie), (u, y) => (s(), m(V, {
481
+ key: y,
482
+ label: u.key,
483
+ value: u.value
484
+ }, null, 8, ["label", "value"]))), 128))
485
+ ]),
486
+ _: 2
487
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
488
+ ]),
489
+ _: 2
490
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
491
+ ]),
492
+ _: 2
493
+ }, 1032, ["prop"])
494
+ ]),
495
+ _: 2
496
+ }, 1024),
497
+ e(i, { span: 6 }, {
498
+ default: l(() => [
499
+ e(d, {
500
+ label: "匹配条件",
501
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
502
+ prop: "matchFields." + r + ".matchCondition"
503
+ }, {
504
+ default: l(() => [
505
+ e(v, {
506
+ modelValue: t.matchCondition,
507
+ "onUpdate:modelValue": (u) => t.matchCondition = u,
508
+ placeholder: "请选择匹配条件",
509
+ clearable: "",
510
+ filterable: ""
511
+ }, {
512
+ default: l(() => [
513
+ (s(!0), c(b, null, f(o(D), (u, y) => (s(), m(V, {
514
+ key: y,
515
+ label: u.key,
516
+ value: u.value
517
+ }, null, 8, ["label", "value"]))), 128))
518
+ ]),
519
+ _: 2
520
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
521
+ ]),
522
+ _: 2
523
+ }, 1032, ["prop"])
524
+ ]),
525
+ _: 2
526
+ }, 1024),
527
+ e(i, { span: 6 }, {
528
+ default: l(() => [
529
+ e(d, {
530
+ label: "字段值",
531
+ prop: "matchFields." + r + ".fieldValue"
532
+ }, {
533
+ default: l(() => [
534
+ e(p, {
535
+ modelValue: t.fieldValue,
536
+ "onUpdate:modelValue": (u) => t.fieldValue = u,
537
+ placeholder: "请输入字段值",
538
+ clearable: ""
539
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
540
+ ]),
541
+ _: 2
542
+ }, 1032, ["prop"])
543
+ ]),
544
+ _: 2
545
+ }, 1024),
546
+ e(i, {
547
+ class: "submit-operate",
548
+ span: 2
549
+ }, {
550
+ default: l(() => [
551
+ e(F, {
552
+ class: "match-opreate",
553
+ type: "danger",
554
+ icon: "Minus",
555
+ circle: "",
556
+ onClick: (u) => H(r)
557
+ }, null, 8, ["onClick"])
558
+ ]),
559
+ _: 2
560
+ }, 1024),
561
+ r + 1 !== o(a).matchFields.length ? (s(), m(i, {
562
+ key: 0,
563
+ span: 24
564
+ }, {
565
+ default: l(() => [
566
+ e(d, {
567
+ class: "condition-box",
568
+ label: "",
569
+ "label-width": "0",
570
+ prop: "matchFields." + r + ".spliceCondition"
571
+ }, {
572
+ default: l(() => [
573
+ e(v, {
574
+ modelValue: t.spliceCondition,
575
+ "onUpdate:modelValue": (u) => t.spliceCondition = u,
576
+ placeholder: "请选择拼接条件",
577
+ clearable: "",
578
+ filterable: ""
579
+ }, {
580
+ default: l(() => [
581
+ (s(!0), c(b, null, f(o(me), (u, y) => (s(), m(V, {
582
+ key: y,
583
+ label: u.key,
584
+ value: u.value
585
+ }, null, 8, ["label", "value"]))), 128))
586
+ ]),
587
+ _: 2
588
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
589
+ ]),
590
+ _: 2
591
+ }, 1032, ["prop"])
592
+ ]),
593
+ _: 2
594
+ }, 1024)) : h("", !0)
595
+ ]),
596
+ _: 2
597
+ }, 1024))), 128)),
598
+ e(C, null, {
599
+ default: l(() => [
600
+ e(i, { span: 4 }, {
601
+ default: l(() => [
602
+ e(d, {
603
+ label: "自定义按钮",
604
+ prop: "isCustomBtn"
605
+ }, {
606
+ default: l(() => [
607
+ e(Q, {
608
+ modelValue: o(a).isCustomBtn,
609
+ "onUpdate:modelValue": n[8] || (n[8] = (t) => o(a).isCustomBtn = t),
610
+ onChange: R
611
+ }, null, 8, ["modelValue"])
612
+ ]),
613
+ _: 1
614
+ })
615
+ ]),
616
+ _: 1
617
+ }),
618
+ o(a).isCustomBtn ? (s(), m(i, {
619
+ key: 0,
620
+ span: 6
621
+ }, {
622
+ default: l(() => [
623
+ e(d, {
624
+ label: "自定义类型",
625
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
626
+ prop: "customType"
627
+ }, {
628
+ default: l(() => [
629
+ e(v, {
630
+ modelValue: o(a).customType,
631
+ "onUpdate:modelValue": n[9] || (n[9] = (t) => o(a).customType = t),
632
+ placeholder: "请选择关联菜单",
633
+ filterable: "",
634
+ clearable: ""
635
+ }, {
636
+ default: l(() => [
637
+ (s(!0), c(b, null, f(o(pe), (t, r) => (s(), m(V, {
638
+ key: r,
639
+ label: t.key,
640
+ value: t.value
641
+ }, null, 8, ["label", "value"]))), 128))
642
+ ]),
643
+ _: 1
644
+ }, 8, ["modelValue"])
645
+ ]),
646
+ _: 1
647
+ })
648
+ ]),
649
+ _: 1
650
+ })) : h("", !0)
651
+ ]),
652
+ _: 1
653
+ }),
654
+ o(a).customType === "code" ? (s(), m(C, { key: 0 }, {
655
+ default: l(() => [
656
+ e(i, { span: 24 }, {
657
+ default: l(() => [
658
+ e(d, {
659
+ label: "代码片段",
660
+ rules: [{ required: !0, message: "必填项", trigger: "change" }],
661
+ prop: "codeStr"
662
+ }, {
663
+ default: l(() => [
664
+ e(p, {
665
+ modelValue: o(a).codeStr,
666
+ "onUpdate:modelValue": n[10] || (n[10] = (t) => o(a).codeStr = t),
667
+ placeholder: "请输入代码",
668
+ rows: 4,
669
+ type: "textarea",
670
+ clearable: ""
671
+ }, null, 8, ["modelValue"])
672
+ ]),
673
+ _: 1
674
+ })
675
+ ]),
676
+ _: 1
677
+ })
678
+ ]),
679
+ _: 1
680
+ })) : h("", !0),
681
+ o(a).customType === "component" ? (s(), m(C, { key: 1 }, {
682
+ default: l(() => [
683
+ e(i, { span: 9 }, {
684
+ default: l(() => [
685
+ e(d, {
686
+ label: "组件名称",
687
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
688
+ prop: "customComponentName"
689
+ }, {
690
+ default: l(() => [
691
+ e(p, {
692
+ modelValue: o(a).customComponentName,
693
+ "onUpdate:modelValue": n[11] || (n[11] = (t) => o(a).customComponentName = t),
694
+ placeholder: "请输入组件名称",
695
+ clearable: ""
696
+ }, {
697
+ prepend: l(() => [
698
+ U(w(A.value), 1)
699
+ ]),
700
+ _: 1
701
+ }, 8, ["modelValue"])
702
+ ]),
703
+ _: 1
704
+ })
705
+ ]),
706
+ _: 1
707
+ }),
708
+ e(i, { span: 8 }, {
709
+ default: l(() => [
710
+ e(d, {
711
+ label: "组件地址",
712
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
713
+ prop: "customComponentUrl"
714
+ }, {
715
+ default: l(() => [
716
+ e(p, {
717
+ modelValue: o(a).customComponentUrl,
718
+ "onUpdate:modelValue": n[12] || (n[12] = (t) => o(a).customComponentUrl = t),
719
+ placeholder: "请输入组件地址",
720
+ clearable: ""
721
+ }, null, 8, ["modelValue"])
722
+ ]),
723
+ _: 1
724
+ })
725
+ ]),
726
+ _: 1
727
+ }),
728
+ e(i, { span: 7 }, {
729
+ default: l(() => [
730
+ e(d, { label: "关联菜单" }, {
731
+ default: l(() => [
732
+ e(v, {
733
+ modelValue: o(a).associationMenuId,
734
+ "onUpdate:modelValue": n[13] || (n[13] = (t) => o(a).associationMenuId = t),
735
+ placeholder: "请选择关联菜单",
736
+ filterable: "",
737
+ clearable: ""
738
+ }, {
739
+ default: l(() => [
740
+ (s(!0), c(b, null, f(o(E), (t, r) => (s(), m(V, {
741
+ key: r,
742
+ label: t.name,
743
+ value: t.id
744
+ }, null, 8, ["label", "value"]))), 128))
745
+ ]),
746
+ _: 1
747
+ }, 8, ["modelValue"])
748
+ ]),
749
+ _: 1
750
+ })
751
+ ]),
752
+ _: 1
753
+ })
754
+ ]),
755
+ _: 1
756
+ })) : h("", !0)
757
+ ]),
758
+ _: 1
759
+ }, 8, ["model"])
760
+ ]),
761
+ _: 1
762
+ }, 8, ["model-value", "title"]);
763
+ };
764
+ }
765
+ }, Ce = /* @__PURE__ */ be(_e, [["__scopeId", "data-v-896ddf91"]]);
766
+ export {
767
+ Ce as default
768
+ };