act-plus 1.1.2 → 1.1.4

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