act-plus 1.1.44 → 1.1.45

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.
@@ -1,5 +1,5 @@
1
- import { defineAsyncComponent as re, inject as E, reactive as de, ref as A, watch as ie, resolveComponent as g, resolveDirective as me, openBlock as n, createBlock as i, withCtx as a, createElementVNode as L, createVNode as l, unref as p, createTextVNode as S, withDirectives as pe, createElementBlock as f, Fragment as b, renderList as _, createCommentVNode as U, toDisplayString as fe } from "vue";
2
- import { _ as be, U as I, F as ce, k as Ce, l as ge, m as K, T as _e, A as ve, C as ye } from "./index-4e6030dd.js";
1
+ import { defineAsyncComponent as re, inject as h, reactive as se, ref as A, watch as ie, resolveComponent as _, resolveDirective as me, openBlock as d, createBlock as i, withCtx as a, createElementVNode as L, createVNode as l, unref as m, createTextVNode as S, withDirectives as pe, createElementBlock as c, Fragment as C, renderList as g, createCommentVNode as U, toDisplayString as fe } from "vue";
2
+ import { _ as be, U as M, F as ce, k as Ce, l as _e, m as I, T as ge, A as ye, C as ve } from "./index-b75b11aa.js";
3
3
  import "vue-router";
4
4
  import "js-base64";
5
5
  import "element-plus";
@@ -12,13 +12,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
12
12
  data: { type: Object, default: () => ({}) }
13
13
  },
14
14
  emits: ["update:visible", "refresh"],
15
- setup(M, { emit: W }) {
16
- const Q = re(() => import("./dialogSiteComponentsParams-a46b4c82.js")), D = W, N = M, P = E("pageKey")(), x = E("conditionList")(), Y = E("configData")();
17
- let k = de((() => ({
15
+ setup(K, { emit: W }) {
16
+ const Q = re(() => import("./dialogSiteComponentsParams-35632c53.js")), D = W, N = K, P = h("pageKey")(), O = h("conditionList")(), Y = h("configData")();
17
+ let k = se((() => ({
18
18
  btnLoading: !1,
19
19
  showSiteComponentsParamsDialog: !1
20
20
  }))());
21
- const O = () => ({
21
+ const x = () => ({
22
22
  sort: 0,
23
23
  fieldName: void 0,
24
24
  fieldKey: void 0,
@@ -43,41 +43,41 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
43
43
  tableCellContentType: "default",
44
44
  isTableCellOverflowTooltip: !0,
45
45
  isTableCellSort: !0
46
- }), R = I, w = A(null), o = A(O()), $ = () => ["select", "selectIcon", "multipleSelect", "treeSelect", "provinceCascade", "switch", "virtualizedSelect", "virtualizedMultipleSelect"].includes(
46
+ }), R = M, w = A(null), o = A(x()), $ = () => ["select", "selectIcon", "multipleSelect", "treeSelect", "provinceCascade", "switch", "virtualizedSelect", "virtualizedMultipleSelect"].includes(
47
47
  o.value.fieldType
48
- ), H = () => o.value.useScenes.includes("tableSearch") && o.value.fieldType !== "time", B = () => o.value.useScenes.includes("tableShow"), j = () => o.value.useScenes.filter((c) => !["tableSearch", "tableShow"].includes(c)).length;
48
+ ), B = () => o.value.useScenes.includes("tableSearch") && o.value.fieldType !== "time", j = () => o.value.useScenes.includes("tableShow"), H = () => o.value.fieldType && o.value.fieldType !== "implicit" && o.value.useScenes.some((p) => !["tableSearch", "tableShow"].some((t) => t == p));
49
49
  ie(
50
50
  () => N.visible,
51
- async (c, t) => {
52
- if (c) {
53
- const m = (Y.value.buttons || []).map((u) => ({ key: u.btnName, value: u.permissionCode }));
51
+ async (p, t) => {
52
+ if (p) {
53
+ const f = (Y.value.buttons || []).filter((u) => u.permissionCode != 1001).map((u) => ({ key: u.btnName, value: u.permissionCode }));
54
54
  R.some((u) => {
55
55
  if (u.label === "表单配置")
56
- return u.options = m, !0;
56
+ return u.options = f, !0;
57
57
  });
58
- const { data: s } = N;
59
- if (!s.fieldName)
58
+ const { data: n } = N;
59
+ if (!n.fieldName)
60
60
  return;
61
61
  Object.keys(o.value).forEach((u) => {
62
62
  if (u == "permissionCode")
63
- o.value[u] = s.unique;
63
+ o.value[u] = n.unique;
64
64
  else if (u == "formCustomComponentes") {
65
- const v = m.filter((C) => s.useScenes.includes(C.value)).map((C) => {
66
- const V = s[u].find((T) => T.permissionCode == C.value) || {};
65
+ const y = f.filter((b) => n.useScenes.includes(b.value)).map((b) => {
66
+ const V = n[u].find((T) => T.permissionCode == b.value) || {};
67
67
  return {
68
- btnName: C.key,
69
- permissionCode: C.value,
68
+ btnName: b.key,
69
+ permissionCode: b.value,
70
70
  pageKey: P.value,
71
71
  customComponentName: void 0,
72
72
  customComponentUrl: void 0,
73
73
  isFieldCustom: !1,
74
74
  ...V
75
75
  };
76
- }), y = I[0].options.map((C) => {
77
- const V = s[u].find((T) => T.permissionCode == C.value) || {};
76
+ }), v = M[0].options.map((b) => {
77
+ const V = n[u].find((T) => T.permissionCode == b.value) || {};
78
78
  return {
79
- btnName: C.key,
80
- permissionCode: C.value,
79
+ btnName: b.key,
80
+ permissionCode: b.value,
81
81
  pageKey: P.value,
82
82
  customComponentName: void 0,
83
83
  customComponentUrl: void 0,
@@ -85,47 +85,47 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
85
85
  ...V
86
86
  };
87
87
  });
88
- o.value[u] = [...y, ...v];
88
+ o.value[u] = [...v, ...y];
89
89
  } else
90
- ["postRequestParams", "useScenes"].includes(u) ? o.value[u] = [...s[u] || []] : o.value[u] = s[u];
90
+ ["postRequestParams", "useScenes"].includes(u) ? o.value[u] = [...n[u] || []] : o.value[u] = n[u];
91
91
  });
92
92
  }
93
93
  }
94
94
  );
95
95
  const z = () => {
96
96
  o.value.postRequestParams.push({ submitName: "", submitValue: "", submitType: "default", submitMatchType: "", paramsType: "" });
97
- }, G = (c) => {
98
- o.value.postRequestParams.splice(c, 1);
99
- }, J = (c) => {
97
+ }, G = (p) => {
98
+ o.value.postRequestParams.splice(p, 1);
99
+ }, J = (p) => {
100
100
  o.value.postRequestParams = [];
101
- }, X = (c) => {
102
- const t = R.find((m) => m.label === "表单配置").options;
103
- o.value.formCustomComponentes = t.filter((m) => c.includes(m.value)).map((m) => ({
104
- btnName: m.key,
105
- permissionCode: m.value,
101
+ }, X = (p) => {
102
+ const t = R.find((n) => n.label === "表格配置").options, f = R.find((n) => n.label === "表单配置").options;
103
+ o.value.formCustomComponentes = [...t, ...f].filter((n) => p.includes(n.value)).map((n) => ({
104
+ btnName: n.key,
105
+ permissionCode: n.value,
106
106
  pageKey: P,
107
107
  customComponentName: void 0,
108
108
  customComponentUrl: void 0,
109
109
  isFieldCustom: !1
110
- })), o.value.useScenes.includes("tableCustomHeader") || (o.value.customTableHeaderName = "", o.value.customTableHeaderUrl = "");
111
- }, Z = (c, t) => {
110
+ }));
111
+ }, Z = (p, t) => {
112
112
  t.customComponentName = void 0, t.customComponentUrl = void 0;
113
- }, ee = (c) => {
114
- h(), c();
115
- }, h = () => {
116
- o.value = O(), w.value.resetFields(), D("update:visible", !1);
117
- }, le = (c) => {
118
- c && c.validate((t) => {
119
- t && (k.btnLoading = !0, o.value.formCustomComponentes.forEach((m) => {
120
- delete m.isFiledCustom;
113
+ }, ee = (p) => {
114
+ E(), p();
115
+ }, E = () => {
116
+ o.value = x(), w.value.resetFields(), D("update:visible", !1);
117
+ }, le = (p) => {
118
+ p && p.validate((t) => {
119
+ t && (k.btnLoading = !0, o.value.formCustomComponentes.forEach((f) => {
120
+ delete f.isFiledCustom;
121
121
  }), D("refresh", JSON.parse(JSON.stringify(o.value)), () => {
122
- h();
122
+ E();
123
123
  }), k.btnLoading = !1);
124
124
  });
125
125
  };
126
- return (c, t) => {
127
- const m = g("el-input"), s = g("el-form-item"), u = g("el-col"), v = g("el-option"), y = g("el-select"), C = g("el-button"), V = g("el-row"), T = g("el-divider"), ae = g("el-option-group"), q = g("el-switch"), te = g("el-input-number"), oe = g("el-form"), ue = g("el-scrollbar"), ne = g("el-dialog"), se = me("debounce");
128
- return n(), i(ne, {
126
+ return (p, t) => {
127
+ const f = _("el-input"), n = _("el-form-item"), u = _("el-col"), y = _("el-option"), v = _("el-select"), b = _("el-button"), V = _("el-row"), T = _("el-divider"), ae = _("el-option-group"), q = _("el-switch"), te = _("el-input-number"), oe = _("el-form"), ue = _("el-scrollbar"), ne = _("el-dialog"), de = me("debounce");
128
+ return d(), i(ne, {
129
129
  "model-value": N.visible,
130
130
  title: N.title,
131
131
  top: "5vh",
@@ -137,18 +137,18 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
137
137
  }, {
138
138
  footer: a(() => [
139
139
  L("span", Te, [
140
- l(C, {
141
- onClick: h,
142
- loading: p(k).btnLoading
140
+ l(b, {
141
+ onClick: E,
142
+ loading: m(k).btnLoading
143
143
  }, {
144
144
  default: a(() => t[28] || (t[28] = [
145
145
  S("取消")
146
146
  ])),
147
147
  _: 1
148
148
  }, 8, ["loading"]),
149
- pe((n(), i(C, {
149
+ pe((d(), i(b, {
150
150
  type: "primary",
151
- loading: p(k).btnLoading,
151
+ loading: m(k).btnLoading,
152
152
  onClick: t[21] || (t[21] = (e) => le(w.value))
153
153
  }, {
154
154
  default: a(() => t[29] || (t[29] = [
@@ -156,7 +156,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
156
156
  ])),
157
157
  _: 1
158
158
  }, 8, ["loading"])), [
159
- [se]
159
+ [de]
160
160
  ])
161
161
  ])
162
162
  ]),
@@ -178,13 +178,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
178
178
  default: a(() => [
179
179
  l(u, { span: 6 }, {
180
180
  default: a(() => [
181
- l(s, {
181
+ l(n, {
182
182
  label: "字段名称",
183
183
  rules: [{ required: !0, message: "必填项", trigger: "blur" }],
184
184
  prop: "fieldName"
185
185
  }, {
186
186
  default: a(() => [
187
- l(m, {
187
+ l(f, {
188
188
  modelValue: o.value.fieldName,
189
189
  "onUpdate:modelValue": t[0] || (t[0] = (e) => o.value.fieldName = e),
190
190
  placeholder: "请输入",
@@ -198,13 +198,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
198
198
  }),
199
199
  l(u, { span: 6 }, {
200
200
  default: a(() => [
201
- l(s, {
201
+ l(n, {
202
202
  label: "字段key",
203
203
  rules: [{ required: !0, message: "必填项", trigger: "blur" }],
204
204
  prop: "fieldKey"
205
205
  }, {
206
206
  default: a(() => [
207
- l(m, {
207
+ l(f, {
208
208
  modelValue: o.value.fieldKey,
209
209
  "onUpdate:modelValue": t[1] || (t[1] = (e) => o.value.fieldKey = e),
210
210
  placeholder: "请输入",
@@ -218,13 +218,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
218
218
  }),
219
219
  l(u, { span: 6 }, {
220
220
  default: a(() => [
221
- l(s, {
221
+ l(n, {
222
222
  label: "字段类型",
223
223
  rules: [{ required: !0, message: "必填项", trigger: ["change"] }],
224
224
  prop: "fieldType"
225
225
  }, {
226
226
  default: a(() => [
227
- l(y, {
227
+ l(v, {
228
228
  modelValue: o.value.fieldType,
229
229
  "onUpdate:modelValue": t[2] || (t[2] = (e) => o.value.fieldType = e),
230
230
  placeholder: "请选择",
@@ -232,7 +232,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
232
232
  filterable: ""
233
233
  }, {
234
234
  default: a(() => [
235
- (n(!0), f(b, null, _(p(ce), (e) => (n(), i(v, {
235
+ (d(!0), c(C, null, g(m(ce), (e) => (d(), i(y, {
236
236
  key: e.value,
237
237
  label: e.key,
238
238
  value: e.value
@@ -248,26 +248,26 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
248
248
  }),
249
249
  l(u, { span: 4 }, {
250
250
  default: a(() => [
251
- l(s, {
251
+ l(n, {
252
252
  label: "组件参数",
253
253
  rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
254
254
  prop: "fieldType"
255
255
  }, {
256
256
  default: a(() => [
257
- l(C, {
257
+ l(b, {
258
258
  type: "primary",
259
- onClick: t[3] || (t[3] = (e) => p(k).showSiteComponentsParamsDialog = !0)
259
+ onClick: t[3] || (t[3] = (e) => m(k).showSiteComponentsParamsDialog = !0)
260
260
  }, {
261
261
  default: a(() => t[22] || (t[22] = [
262
262
  S("设置props")
263
263
  ])),
264
264
  _: 1
265
265
  }),
266
- l(p(Q), {
266
+ l(m(Q), {
267
267
  modelValue: o.value.fieldUiProps,
268
268
  "onUpdate:modelValue": t[4] || (t[4] = (e) => o.value.fieldUiProps = e),
269
- visible: p(k).showSiteComponentsParamsDialog,
270
- "onUpdate:visible": t[5] || (t[5] = (e) => p(k).showSiteComponentsParamsDialog = e),
269
+ visible: m(k).showSiteComponentsParamsDialog,
270
+ "onUpdate:visible": t[5] || (t[5] = (e) => m(k).showSiteComponentsParamsDialog = e),
271
271
  title: "设置组件参数"
272
272
  }, null, 8, ["modelValue", "visible"])
273
273
  ]),
@@ -279,23 +279,23 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
279
279
  ]),
280
280
  _: 1
281
281
  }),
282
- $() ? (n(), i(V, { key: 0 }, {
282
+ $() ? (d(), i(V, { key: 0 }, {
283
283
  default: a(() => [
284
284
  l(u, { span: 24 }, {
285
285
  default: a(() => [
286
- l(s, {
286
+ l(n, {
287
287
  label: "数据源",
288
288
  prop: "fieldRequestUrl"
289
289
  }, {
290
290
  default: a(() => [
291
- l(m, {
291
+ l(f, {
292
292
  placeholder: "请输入",
293
293
  modelValue: o.value.fieldRequestUrl,
294
294
  "onUpdate:modelValue": t[7] || (t[7] = (e) => o.value.fieldRequestUrl = e),
295
295
  clearable: ""
296
296
  }, {
297
297
  prepend: a(() => [
298
- l(y, {
298
+ l(v, {
299
299
  modelValue: o.value.fieldRequestType,
300
300
  "onUpdate:modelValue": t[6] || (t[6] = (e) => o.value.fieldRequestType = e),
301
301
  placeholder: "请选择",
@@ -303,7 +303,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
303
303
  onChange: J
304
304
  }, {
305
305
  default: a(() => [
306
- (n(!0), f(b, null, _(p(Ce), (e) => (n(), i(v, {
306
+ (d(!0), c(C, null, g(m(Ce), (e) => (d(), i(y, {
307
307
  key: e.value,
308
308
  label: e.key,
309
309
  value: e.value
@@ -323,11 +323,11 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
323
323
  ]),
324
324
  _: 1
325
325
  })) : U("", !0),
326
- o.value.fieldRequestType == "POST" ? (n(), f(b, { key: 1 }, [
326
+ o.value.fieldRequestType == "POST" ? (d(), c(C, { key: 1 }, [
327
327
  l(T, { "content-position": "left" }, {
328
328
  default: a(() => [
329
329
  t[23] || (t[23] = S(" POST参数配置 ")),
330
- l(C, {
330
+ l(b, {
331
331
  class: "add-icon-btn",
332
332
  type: "primary",
333
333
  icon: "Plus",
@@ -337,17 +337,17 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
337
337
  ]),
338
338
  _: 1
339
339
  }),
340
- (n(!0), f(b, null, _(o.value.postRequestParams, (e, d) => (n(), i(V, { key: d }, {
340
+ (d(!0), c(C, null, g(o.value.postRequestParams, (e, s) => (d(), i(V, { key: s }, {
341
341
  default: a(() => [
342
342
  l(u, { span: 5 }, {
343
343
  default: a(() => [
344
- l(s, {
344
+ l(n, {
345
345
  label: "提交字段名",
346
346
  rules: [{ required: !0, message: "必填项", trigger: "blur" }],
347
- prop: "postRequestParams." + d + ".submitName"
347
+ prop: "postRequestParams." + s + ".submitName"
348
348
  }, {
349
349
  default: a(() => [
350
- l(m, {
350
+ l(f, {
351
351
  modelValue: e.submitName,
352
352
  "onUpdate:modelValue": (r) => e.submitName = r,
353
353
  placeholder: "请输入提交字段名",
@@ -361,27 +361,27 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
361
361
  }, 1024),
362
362
  l(u, { span: 8 }, {
363
363
  default: a(() => [
364
- l(s, {
364
+ l(n, {
365
365
  label: "方式",
366
366
  rules: [{ required: !0, message: "必填项", trigger: "blur" }],
367
- prop: "postRequestParams." + d + ".submitValue"
367
+ prop: "postRequestParams." + s + ".submitValue"
368
368
  }, {
369
369
  default: a(() => [
370
- l(m, {
370
+ l(f, {
371
371
  placeholder: "请输入值",
372
372
  modelValue: e.submitValue,
373
373
  "onUpdate:modelValue": (r) => e.submitValue = r,
374
374
  clearable: ""
375
375
  }, {
376
376
  prepend: a(() => [
377
- l(y, {
377
+ l(v, {
378
378
  modelValue: e.submitType,
379
379
  "onUpdate:modelValue": (r) => e.submitType = r,
380
380
  placeholder: "请选择方式",
381
381
  style: { width: "120px" }
382
382
  }, {
383
383
  default: a(() => [
384
- (n(!0), f(b, null, _(p(ge), (r, F) => (n(), i(v, {
384
+ (d(!0), c(C, null, g(m(_e), (r, F) => (d(), i(y, {
385
385
  key: F,
386
386
  label: r.key,
387
387
  value: r.value
@@ -398,18 +398,18 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
398
398
  ]),
399
399
  _: 2
400
400
  }, 1024),
401
- e.submitType === "dynamic" ? (n(), i(u, {
401
+ e.submitType === "dynamic" ? (d(), i(u, {
402
402
  key: 0,
403
403
  span: 5
404
404
  }, {
405
405
  default: a(() => [
406
- l(s, {
406
+ l(n, {
407
407
  label: "匹配条件",
408
408
  rules: [{ required: !0, message: "必填项", trigger: "blur" }],
409
- prop: "postRequestParams." + d + ".submitMatchType"
409
+ prop: "postRequestParams." + s + ".submitMatchType"
410
410
  }, {
411
411
  default: a(() => [
412
- l(y, {
412
+ l(v, {
413
413
  modelValue: e.submitMatchType,
414
414
  "onUpdate:modelValue": (r) => e.submitMatchType = r,
415
415
  placeholder: "请选择方式",
@@ -418,7 +418,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
418
418
  style: { width: "120px" }
419
419
  }, {
420
420
  default: a(() => [
421
- (n(!0), f(b, null, _(p(x), (r, F) => (n(), i(v, {
421
+ (d(!0), c(C, null, g(m(O), (r, F) => (d(), i(y, {
422
422
  key: F,
423
423
  label: r.key,
424
424
  value: r.value
@@ -434,13 +434,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
434
434
  }, 1024)) : U("", !0),
435
435
  l(u, { span: 5 }, {
436
436
  default: a(() => [
437
- l(s, {
437
+ l(n, {
438
438
  label: "提交类型",
439
439
  rules: [{ required: !0, message: "必填项", trigger: "change" }],
440
- prop: "postRequestParams." + d + ".paramsType"
440
+ prop: "postRequestParams." + s + ".paramsType"
441
441
  }, {
442
442
  default: a(() => [
443
- l(y, {
443
+ l(v, {
444
444
  modelValue: e.paramsType,
445
445
  "onUpdate:modelValue": (r) => e.paramsType = r,
446
446
  placeholder: "请选择",
@@ -448,7 +448,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
448
448
  clearable: ""
449
449
  }, {
450
450
  default: a(() => [
451
- (n(!0), f(b, null, _(p(K), (r, F) => (n(), i(v, {
451
+ (d(!0), c(C, null, g(m(I), (r, F) => (d(), i(y, {
452
452
  key: F,
453
453
  label: r.key,
454
454
  value: r.value
@@ -467,12 +467,12 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
467
467
  span: 1
468
468
  }, {
469
469
  default: a(() => [
470
- l(C, {
470
+ l(b, {
471
471
  class: "match-opreate",
472
472
  type: "danger",
473
473
  icon: "Minus",
474
474
  circle: "",
475
- onClick: (r) => G(d)
475
+ onClick: (r) => G(s)
476
476
  }, null, 8, ["onClick"])
477
477
  ]),
478
478
  _: 2
@@ -485,13 +485,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
485
485
  default: a(() => [
486
486
  l(u, { span: 24 }, {
487
487
  default: a(() => [
488
- l(s, {
488
+ l(n, {
489
489
  label: "使用场景",
490
490
  rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
491
491
  prop: "useScenes"
492
492
  }, {
493
493
  default: a(() => [
494
- l(y, {
494
+ l(v, {
495
495
  modelValue: o.value.useScenes,
496
496
  "onUpdate:modelValue": t[8] || (t[8] = (e) => o.value.useScenes = e),
497
497
  placeholder: "请选择",
@@ -501,15 +501,15 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
501
501
  onChange: X
502
502
  }, {
503
503
  default: a(() => [
504
- (n(!0), f(b, null, _(p(R), (e) => (n(), i(ae, {
504
+ (d(!0), c(C, null, g(m(R), (e) => (d(), i(ae, {
505
505
  key: e.label,
506
506
  label: e.label
507
507
  }, {
508
508
  default: a(() => [
509
- (n(!0), f(b, null, _(e.options, (d) => (n(), i(v, {
510
- key: d.key,
511
- label: d.key,
512
- value: d.value
509
+ (d(!0), c(C, null, g(e.options, (s) => (d(), i(y, {
510
+ key: s.key,
511
+ label: s.key,
512
+ value: s.value
513
513
  }, null, 8, ["label", "value"]))), 128))
514
514
  ]),
515
515
  _: 2
@@ -526,7 +526,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
526
526
  ]),
527
527
  _: 1
528
528
  }),
529
- H() ? (n(), i(V, { key: 2 }, {
529
+ B() ? (d(), i(V, { key: 2 }, {
530
530
  default: a(() => [
531
531
  l(T, { "content-position": "left" }, {
532
532
  default: a(() => t[24] || (t[24] = [
@@ -536,13 +536,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
536
536
  }),
537
537
  l(u, { span: 6 }, {
538
538
  default: a(() => [
539
- l(s, {
539
+ l(n, {
540
540
  label: "查询条件",
541
541
  rules: [{ required: !0, message: "必填项", trigger: "change" }],
542
542
  prop: "tableQueryCondition"
543
543
  }, {
544
544
  default: a(() => [
545
- l(y, {
545
+ l(v, {
546
546
  modelValue: o.value.tableQueryCondition,
547
547
  "onUpdate:modelValue": t[9] || (t[9] = (e) => o.value.tableQueryCondition = e),
548
548
  placeholder: "请选择查询条件",
@@ -550,8 +550,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
550
550
  filterable: ""
551
551
  }, {
552
552
  default: a(() => [
553
- (n(!0), f(b, null, _(p(x), (e, d) => (n(), i(v, {
554
- key: d,
553
+ (d(!0), c(C, null, g(m(O), (e, s) => (d(), i(y, {
554
+ key: s,
555
555
  label: e.key,
556
556
  value: e.value
557
557
  }, null, 8, ["label", "value"]))), 128))
@@ -567,7 +567,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
567
567
  ]),
568
568
  _: 1
569
569
  })) : U("", !0),
570
- B() ? (n(), i(V, { key: 3 }, {
570
+ j() ? (d(), i(V, { key: 3 }, {
571
571
  default: a(() => [
572
572
  l(T, { "content-position": "left" }, {
573
573
  default: a(() => t[25] || (t[25] = [
@@ -577,27 +577,27 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
577
577
  }),
578
578
  l(u, { span: 6 }, {
579
579
  default: a(() => [
580
- l(s, {
580
+ l(n, {
581
581
  label: "列宽",
582
582
  rules: [{ required: !0, message: "必填项", trigger: "blur" }],
583
583
  prop: "tableCellWidth"
584
584
  }, {
585
585
  default: a(() => [
586
- l(m, {
586
+ l(f, {
587
587
  placeholder: "请输入",
588
588
  modelValue: o.value.tableCellWidth,
589
589
  "onUpdate:modelValue": t[11] || (t[11] = (e) => o.value.tableCellWidth = e)
590
590
  }, {
591
591
  prepend: a(() => [
592
- l(y, {
592
+ l(v, {
593
593
  modelValue: o.value.tableCellWidthType,
594
594
  "onUpdate:modelValue": t[10] || (t[10] = (e) => o.value.tableCellWidthType = e),
595
595
  placeholder: "请选择",
596
596
  style: { width: "100px" }
597
597
  }, {
598
598
  default: a(() => [
599
- (n(!0), f(b, null, _(p(_e), (e, d) => (n(), i(v, {
600
- key: d,
599
+ (d(!0), c(C, null, g(m(ge), (e, s) => (d(), i(y, {
600
+ key: s,
601
601
  label: e.key,
602
602
  value: e.value
603
603
  }, null, 8, ["label", "value"]))), 128))
@@ -615,13 +615,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
615
615
  }),
616
616
  l(u, { span: 6 }, {
617
617
  default: a(() => [
618
- l(s, {
618
+ l(n, {
619
619
  label: "对齐方式",
620
620
  rules: [{ required: !0, message: "必填项", trigger: "change" }],
621
621
  prop: "tableCellAlignType"
622
622
  }, {
623
623
  default: a(() => [
624
- l(y, {
624
+ l(v, {
625
625
  modelValue: o.value.tableCellAlignType,
626
626
  "onUpdate:modelValue": t[12] || (t[12] = (e) => o.value.tableCellAlignType = e),
627
627
  placeholder: "请选择对齐方式",
@@ -629,8 +629,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
629
629
  filterable: ""
630
630
  }, {
631
631
  default: a(() => [
632
- (n(!0), f(b, null, _(p(ve), (e, d) => (n(), i(v, {
633
- key: d,
632
+ (d(!0), c(C, null, g(m(ye), (e, s) => (d(), i(y, {
633
+ key: s,
634
634
  label: e.key,
635
635
  value: e.value
636
636
  }, null, 8, ["label", "value"]))), 128))
@@ -645,13 +645,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
645
645
  }),
646
646
  l(u, { span: 6 }, {
647
647
  default: a(() => [
648
- l(s, {
648
+ l(n, {
649
649
  label: "内容类型",
650
650
  rules: [{ required: !0, message: "必填项", trigger: "change" }],
651
651
  prop: "tableCellContentType"
652
652
  }, {
653
653
  default: a(() => [
654
- l(y, {
654
+ l(v, {
655
655
  modelValue: o.value.tableCellContentType,
656
656
  "onUpdate:modelValue": t[13] || (t[13] = (e) => o.value.tableCellContentType = e),
657
657
  placeholder: "请选择内容类型",
@@ -659,8 +659,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
659
659
  filterable: ""
660
660
  }, {
661
661
  default: a(() => [
662
- (n(!0), f(b, null, _(p(ye), (e, d) => (n(), i(v, {
663
- key: d,
662
+ (d(!0), c(C, null, g(m(ve), (e, s) => (d(), i(y, {
663
+ key: s,
664
664
  label: e.key,
665
665
  value: e.value
666
666
  }, null, 8, ["label", "value"]))), 128))
@@ -675,7 +675,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
675
675
  }),
676
676
  l(u, { span: 2 }, {
677
677
  default: a(() => [
678
- l(s, {
678
+ l(n, {
679
679
  label: "溢出隐藏",
680
680
  prop: "isTableCellOverflowTooltip"
681
681
  }, {
@@ -692,7 +692,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
692
692
  }),
693
693
  l(u, { span: 2 }, {
694
694
  default: a(() => [
695
- l(s, {
695
+ l(n, {
696
696
  label: "排序",
697
697
  prop: "isTableCellSort"
698
698
  }, {
@@ -710,7 +710,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
710
710
  ]),
711
711
  _: 1
712
712
  })) : U("", !0),
713
- o.value.formCustomComponentes.length ? (n(), i(V, { key: 4 }, {
713
+ H() ? (d(), i(V, { key: 4 }, {
714
714
  default: a(() => [
715
715
  l(T, { "content-position": "left" }, {
716
716
  default: a(() => t[26] || (t[26] = [
@@ -720,7 +720,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
720
720
  }),
721
721
  l(u, { span: 3 }, {
722
722
  default: a(() => [
723
- l(s, {
723
+ l(n, {
724
724
  label: "是否必填",
725
725
  prop: "isFormFieldRequired"
726
726
  }, {
@@ -737,7 +737,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
737
737
  }),
738
738
  l(u, { span: 3 }, {
739
739
  default: a(() => [
740
- l(s, {
740
+ l(n, {
741
741
  label: "是否回显",
742
742
  prop: "isFormSetValue"
743
743
  }, {
@@ -754,7 +754,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
754
754
  }),
755
755
  l(u, { span: 3 }, {
756
756
  default: a(() => [
757
- l(s, {
757
+ l(n, {
758
758
  label: "是否禁用",
759
759
  prop: "isFormDisabled"
760
760
  }, {
@@ -771,13 +771,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
771
771
  }),
772
772
  l(u, { span: 6 }, {
773
773
  default: a(() => [
774
- l(s, {
774
+ l(n, {
775
775
  label: "提交类型",
776
776
  rules: [{ required: !0, message: "必填项", trigger: "change" }],
777
777
  prop: "fieldSubmitType"
778
778
  }, {
779
779
  default: a(() => [
780
- l(y, {
780
+ l(v, {
781
781
  modelValue: o.value.fieldSubmitType,
782
782
  "onUpdate:modelValue": t[19] || (t[19] = (e) => o.value.fieldSubmitType = e),
783
783
  placeholder: "请选择提交类型",
@@ -785,8 +785,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
785
785
  clearable: ""
786
786
  }, {
787
787
  default: a(() => [
788
- (n(!0), f(b, null, _(p(K), (e, d) => (n(), i(v, {
789
- key: d,
788
+ (d(!0), c(C, null, g(m(I), (e, s) => (d(), i(y, {
789
+ key: s,
790
790
  label: e.key,
791
791
  value: e.value
792
792
  }, null, 8, ["label", "value"]))), 128))
@@ -801,7 +801,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
801
801
  }),
802
802
  l(u, { span: 6 }, {
803
803
  default: a(() => [
804
- l(s, {
804
+ l(n, {
805
805
  label: "栅格数",
806
806
  prop: "formColumnCol"
807
807
  }, {
@@ -820,91 +820,89 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
820
820
  ]),
821
821
  _: 1
822
822
  })) : U("", !0),
823
- j() ? (n(), f(b, { key: 5 }, [
824
- l(T, { "content-position": "left" }, {
825
- default: a(() => t[27] || (t[27] = [
826
- S("不同场景自定义字段组件")
827
- ])),
828
- _: 1
829
- }),
830
- (n(!0), f(b, null, _(o.value.formCustomComponentes, (e, d) => (n(), i(V, { key: d }, {
831
- default: a(() => [
832
- l(u, { span: 2 }, {
833
- default: a(() => [
834
- l(s, {
835
- label: `${e.btnName}`,
836
- prop: `formCustomComponentes.${d}.isFieldCustom`
837
- }, {
838
- default: a(() => [
839
- l(q, {
840
- modelValue: e.isFieldCustom,
841
- "onUpdate:modelValue": (r) => e.isFieldCustom = r,
842
- onChange: (r) => Z(r, e)
843
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
844
- ]),
845
- _: 2
846
- }, 1032, ["label", "prop"])
847
- ]),
848
- _: 2
849
- }, 1024),
850
- e.isFieldCustom ? (n(), i(u, {
851
- key: 0,
852
- span: 8
853
- }, {
854
- default: a(() => [
855
- l(s, {
856
- label: "组件名称",
857
- "label-width": "220",
858
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
859
- prop: `formCustomComponentes.${d}.customComponentName`
860
- }, {
861
- default: a(() => [
862
- l(m, {
863
- modelValue: e.customComponentName,
864
- "onUpdate:modelValue": (r) => e.customComponentName = r,
865
- placeholder: "请输入",
866
- clearable: ""
867
- }, {
868
- default: a(() => [
869
- L("template", Ve, [
870
- S(fe(p(P)), 1)
871
- ])
872
- ]),
873
- _: 2
874
- }, 1032, ["modelValue", "onUpdate:modelValue"])
875
- ]),
876
- _: 2
877
- }, 1032, ["prop"])
878
- ]),
879
- _: 2
880
- }, 1024)) : U("", !0),
881
- e.isFieldCustom ? (n(), i(u, {
882
- key: 1,
883
- span: 14
884
- }, {
885
- default: a(() => [
886
- l(s, {
887
- label: "组件地址",
888
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
889
- prop: `formCustomComponentes.${d}.customComponentUrl`
890
- }, {
891
- default: a(() => [
892
- l(m, {
893
- modelValue: e.customComponentUrl,
894
- "onUpdate:modelValue": (r) => e.customComponentUrl = r,
895
- placeholder: "请输入",
896
- clearable: ""
897
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
898
- ]),
899
- _: 2
900
- }, 1032, ["prop"])
901
- ]),
902
- _: 2
903
- }, 1024)) : U("", !0)
904
- ]),
905
- _: 2
906
- }, 1024))), 128))
907
- ], 64)) : U("", !0)
823
+ l(T, { "content-position": "left" }, {
824
+ default: a(() => t[27] || (t[27] = [
825
+ S("不同场景自定义字段组件")
826
+ ])),
827
+ _: 1
828
+ }),
829
+ (d(!0), c(C, null, g(o.value.formCustomComponentes, (e, s) => (d(), i(V, { key: s }, {
830
+ default: a(() => [
831
+ l(u, { span: 2 }, {
832
+ default: a(() => [
833
+ l(n, {
834
+ label: `${e.btnName}`,
835
+ prop: `formCustomComponentes.${s}.isFieldCustom`
836
+ }, {
837
+ default: a(() => [
838
+ l(q, {
839
+ modelValue: e.isFieldCustom,
840
+ "onUpdate:modelValue": (r) => e.isFieldCustom = r,
841
+ onChange: (r) => Z(r, e)
842
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
843
+ ]),
844
+ _: 2
845
+ }, 1032, ["label", "prop"])
846
+ ]),
847
+ _: 2
848
+ }, 1024),
849
+ e.isFieldCustom ? (d(), i(u, {
850
+ key: 0,
851
+ span: 8
852
+ }, {
853
+ default: a(() => [
854
+ l(n, {
855
+ label: "组件名称",
856
+ "label-width": "220",
857
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
858
+ prop: `formCustomComponentes.${s}.customComponentName`
859
+ }, {
860
+ default: a(() => [
861
+ l(f, {
862
+ modelValue: e.customComponentName,
863
+ "onUpdate:modelValue": (r) => e.customComponentName = r,
864
+ placeholder: "请输入",
865
+ clearable: ""
866
+ }, {
867
+ default: a(() => [
868
+ L("template", Ve, [
869
+ S(fe(m(P)), 1)
870
+ ])
871
+ ]),
872
+ _: 2
873
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
874
+ ]),
875
+ _: 2
876
+ }, 1032, ["prop"])
877
+ ]),
878
+ _: 2
879
+ }, 1024)) : U("", !0),
880
+ e.isFieldCustom ? (d(), i(u, {
881
+ key: 1,
882
+ span: 14
883
+ }, {
884
+ default: a(() => [
885
+ l(n, {
886
+ label: "组件地址",
887
+ rules: [{ required: !0, message: "必填项", trigger: "blur" }],
888
+ prop: `formCustomComponentes.${s}.customComponentUrl`
889
+ }, {
890
+ default: a(() => [
891
+ l(f, {
892
+ modelValue: e.customComponentUrl,
893
+ "onUpdate:modelValue": (r) => e.customComponentUrl = r,
894
+ placeholder: "请输入",
895
+ clearable: ""
896
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
897
+ ]),
898
+ _: 2
899
+ }, 1032, ["prop"])
900
+ ]),
901
+ _: 2
902
+ }, 1024)) : U("", !0)
903
+ ]),
904
+ _: 2
905
+ }, 1024))), 128))
908
906
  ]),
909
907
  _: 1
910
908
  }, 8, ["model"])
@@ -916,7 +914,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
916
914
  }, 8, ["model-value", "title"]);
917
915
  };
918
916
  }
919
- }, we = /* @__PURE__ */ be(Se, [["__scopeId", "data-v-9133e0b0"]]);
917
+ }, we = /* @__PURE__ */ be(Se, [["__scopeId", "data-v-f404c3c2"]]);
920
918
  export {
921
919
  we as default
922
920
  };