epic-designer-gold 0.0.40 → 0.0.42

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 (69) hide show
  1. package/dist/attributeView-B6yshoNY.cjs +1 -0
  2. package/dist/{attributeView-PbDEjn8T.js → attributeView-CAOGzcXM.js} +2 -2
  3. package/dist/form-6cUK-Ari.js +72 -0
  4. package/dist/form-CthzLIgs.cjs +1 -0
  5. package/dist/{index-C4sdhgF2.js → index-0GtpyUBx.js} +1 -1
  6. package/dist/{index-CCTMCqiz.js → index-0zDuNn0Q.js} +140 -137
  7. package/dist/{index-C2ioP4Qy.cjs → index-1BndYxTQ.cjs} +1 -1
  8. package/dist/{index-CzOycR7-.cjs → index-B7QH_s16.cjs} +1 -1
  9. package/dist/{index-BZQLip5V.js → index-BIPDvTGu.js} +289 -286
  10. package/dist/{index-C-XUgjda.js → index-BKDRMrcc.js} +1 -1
  11. package/dist/{index-l1DO3QH_.js → index-BOfEIfM3.js} +3 -3
  12. package/dist/index-BSLudrcT.cjs +1 -0
  13. package/dist/{index-C95DVYrN.js → index-BVceGSkj.js} +1 -1
  14. package/dist/index-BcocZhQo.js +4 -0
  15. package/dist/index-BenbgJD8.cjs +1 -0
  16. package/dist/index-Bf2Sxe2E.cjs +1 -0
  17. package/dist/index-BwdkCtpc.cjs +10 -0
  18. package/dist/{index-Da8OPaOM.js → index-C4TbiUcL.js} +2 -2
  19. package/dist/index-CMCtBfv5.cjs +1 -0
  20. package/dist/index-CMwJOFFP.cjs +1 -0
  21. package/dist/index-CYfnscUn.cjs +1 -0
  22. package/dist/index-CcZa7MK_.cjs +1 -0
  23. package/dist/index-CucdgcqX.cjs +1 -0
  24. package/dist/{index-CE7JKdc3.js → index-DDo1LIxZ.js} +64 -59
  25. package/dist/{index-ooVzYa5L.js → index-DNeYX6HK.js} +1 -1
  26. package/dist/{index-5datIIzJ.js → index-DR3BiPsn.js} +2 -2
  27. package/dist/index-DlubD1cY.cjs +1 -0
  28. package/dist/{index-laQFS5Nd.js → index-DmyFFubg.js} +2 -2
  29. package/dist/index-HNPgHrkl.cjs +1 -0
  30. package/dist/{index-DxkPriDk.js → index-L6-BEKnU.js} +2 -2
  31. package/dist/{index-ASoFJnMl.js → index-XUQ1VGQg.js} +1 -1
  32. package/dist/index-sKJ91s0r.cjs +1 -0
  33. package/dist/index.cjs +1 -1
  34. package/dist/index.js +2 -2
  35. package/dist/js.cookie-BH1G_HRi.cjs +6 -0
  36. package/dist/{axios-ITY6Uw7A.js → js.cookie-oHpRFPCO.js} +604 -532
  37. package/dist/outline-6Qt3qlWm.cjs +1 -0
  38. package/dist/{outline-yy4pIEi3.js → outline-CNayBNNC.js} +2 -2
  39. package/dist/sign-Bfrdd-6m.cjs +1 -0
  40. package/dist/{sign-DZvUIxel.js → sign-CJJd-ctq.js} +33 -32
  41. package/dist/style.css +1 -1
  42. package/dist/{styleView-LX_E7EFf.js → styleView-5U84Umnq.js} +2 -2
  43. package/dist/styleView-Ds-PuzkJ.cjs +1 -0
  44. package/dist/tree.vue_vue_type_script_setup_true_lang-BjjL_VlR.cjs +1 -0
  45. package/dist/{tree.vue_vue_type_script_setup_true_lang-uR4G8wa_.js → tree.vue_vue_type_script_setup_true_lang-BntCm43E.js} +1 -1
  46. package/dist/ui/elementPlus/index.cjs +1 -1
  47. package/dist/ui/elementPlus/index.js +2 -2
  48. package/package.json +1 -1
  49. package/dist/attributeView-BjvAO4_R.cjs +0 -1
  50. package/dist/axios-CYGTE3lR.cjs +0 -6
  51. package/dist/form-2lbtG-zj.js +0 -74
  52. package/dist/form-BM53wx9g.cjs +0 -1
  53. package/dist/index-1afOcXnV.cjs +0 -1
  54. package/dist/index-B03W7FZR.cjs +0 -1
  55. package/dist/index-BJlPL6eL.cjs +0 -1
  56. package/dist/index-BUBtVoa0.cjs +0 -1
  57. package/dist/index-C3hWImRT.cjs +0 -1
  58. package/dist/index-C6ceZM1C.cjs +0 -1
  59. package/dist/index-Cpm-oLdy.js +0 -4
  60. package/dist/index-D3RJLUGU.cjs +0 -10
  61. package/dist/index-DHHX2mwy.cjs +0 -1
  62. package/dist/index-DQjDcBV5.cjs +0 -1
  63. package/dist/index-Da3mrdHZ.cjs +0 -1
  64. package/dist/index-DpzLP1Zp.cjs +0 -1
  65. package/dist/index-l4brKgI9.cjs +0 -1
  66. package/dist/outline-CJSEUbgc.cjs +0 -1
  67. package/dist/sign-BS8owiJT.cjs +0 -1
  68. package/dist/styleView-oaDQbGne.cjs +0 -1
  69. package/dist/tree.vue_vue_type_script_setup_true_lang-RWTXU6lO.cjs +0 -1
@@ -1,29 +1,29 @@
1
- import { defineComponent as te, ref as O, reactive as oe, onMounted as ue, openBlock as m, createElementBlock as v, createVNode as a, unref as t, withCtx as n, createElementVNode as s, toDisplayString as R, Fragment as E, renderList as D, normalizeClass as de, normalizeStyle as ne, createTextVNode as b, createCommentVNode as F } from "vue";
2
- import { p, E as J, a as se } from "./axios-ITY6Uw7A.js";
3
- import { ElMessage as _ } from "element-plus";
1
+ import { defineComponent as te, ref as O, reactive as oe, onMounted as ue, openBlock as m, createElementBlock as v, createVNode as l, unref as t, withCtx as n, createElementVNode as s, toDisplayString as R, Fragment as E, renderList as D, normalizeClass as de, normalizeStyle as ne, createTextVNode as b, createCommentVNode as B } from "vue";
2
+ import { p, E as J, a as se, b as re } from "./js.cookie-oHpRFPCO.js";
3
+ import { ElMessage as k } from "element-plus";
4
4
  import { _ as g } from "./icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js";
5
- const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { class: "drawer-content" }, ve = { class: "drawer-content-left" }, pe = ["onClick"], ce = { class: "source-item-title" }, fe = ["onClick"], ye = { class: "drawer-content-right" }, be = { class: "content" }, ge = {
5
+ const ie = { class: "e-data-source" }, me = { class: "icon-numbers" }, ve = { class: "drawer-content" }, pe = { class: "drawer-content-left" }, ce = ["onClick"], fe = { class: "source-item-title" }, ye = ["onClick"], be = { class: "drawer-content-right" }, ge = { class: "content" }, he = {
6
6
  key: 0,
7
7
  class: "content-empty"
8
- }, he = {
8
+ }, Ve = {
9
9
  key: 1,
10
10
  class: "content-form"
11
- }, Ve = { class: "form-flex" }, _e = { class: "form-item" }, ke = { class: "form-item-title" }, Le = {
11
+ }, ke = { class: "form-flex" }, _e = { class: "form-item" }, Le = { class: "form-item-title" }, Se = {
12
12
  key: 0,
13
13
  class: "form-item-content"
14
- }, Se = { class: "form-item" }, Ce = { class: "form-item-title" }, we = {
14
+ }, Ce = { class: "form-item" }, we = { class: "form-item-title" }, Ne = {
15
15
  key: 0,
16
16
  class: "form-item-content"
17
- }, Ne = { class: "form-item" }, Oe = { class: "form-item-title" }, Ue = {
17
+ }, Oe = { class: "form-item" }, Ue = { class: "form-item-title" }, Ee = {
18
18
  key: 0,
19
19
  class: "form-item-content"
20
- }, Ee = { class: "content-right-btn" }, Fe = /* @__PURE__ */ te({
20
+ }, De = { class: "content-right-btn" }, Fe = /* @__PURE__ */ te({
21
21
  __name: "index",
22
22
  emits: ["update:modelValue", "update:sourceData"],
23
- setup(De, { emit: Je }) {
24
- const c = p.getComponent("button"), K = p.getComponent("Drawer"), N = p.getComponent("input"), k = p.getComponent("FormItem"), j = p.getComponent("Form"), q = p.getComponent("RadioGroup"), U = p.getComponent("RadioButton"), L = p.getComponent("select");
23
+ setup(Je, { emit: Te }) {
24
+ const c = p.getComponent("button"), F = p.getComponent("Drawer"), N = p.getComponent("input"), _ = p.getComponent("FormItem"), K = p.getComponent("Form"), j = p.getComponent("RadioGroup"), U = p.getComponent("RadioButton"), L = p.getComponent("select");
25
25
  p.getComponent("switch");
26
- const P = O(), B = {
26
+ const T = O(), q = {
27
27
  GET: "#67c23a",
28
28
  POST: "#e6a23c",
29
29
  PUT: "#409eff",
@@ -33,32 +33,32 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
33
33
  url: [{ required: !0, message: "请输入请求地址", trigger: "blur" }],
34
34
  dataKey: [{ required: !0, message: "请输入标签键名", trigger: "blur" }],
35
35
  dataValue: [{ required: !0, message: "请输入值键名", trigger: "blur" }]
36
- }), T = O(!1), f = O([]), e = O(), S = [
36
+ }), P = O(!1), f = O([]), e = O(), S = [
37
37
  {
38
38
  label: "1",
39
39
  value: "1"
40
40
  }
41
41
  ];
42
- function G() {
43
- T.value = !0;
42
+ function A() {
43
+ P.value = !0;
44
44
  }
45
- function I() {
45
+ function G() {
46
46
  const o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
47
47
  return o.charAt(Math.floor(Math.random() * o.length));
48
48
  }
49
- function z(o) {
50
- let l = "";
49
+ function I(o) {
50
+ let a = "";
51
51
  for (let u = 0; u < o; u++)
52
- l += I();
53
- return l;
52
+ a += G();
53
+ return a;
54
54
  }
55
- function A() {
55
+ function z() {
56
56
  !e.value || e.value.id || !Object.keys(e.value).length ? (e.value = {
57
57
  id: "",
58
58
  url: "",
59
59
  body: {},
60
60
  bodyList: [],
61
- apiName: `数据源_${z(5)}`,
61
+ apiName: `数据源_${I(5)}`,
62
62
  method: "get",
63
63
  params: {},
64
64
  paramsList: [],
@@ -70,8 +70,8 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
70
70
  }, f.value.push(e.value)) : e.value.id || x();
71
71
  }
72
72
  function H(o) {
73
- var l;
74
- !e.value || e.value.id || !Object.keys(e.value).length ? (f.value = JSON.parse(JSON.stringify(p.getSourceData())), ((l = e.value) == null ? void 0 : l.id) === o ? e.value = {} : (e.value = f.value.find((u) => u.id === o), e.value.paramsList = Object.keys(JSON.parse(e.value.params)).map((u) => ({
73
+ var a;
74
+ !e.value || e.value.id || !Object.keys(e.value).length ? (f.value = JSON.parse(JSON.stringify(p.getSourceData())), ((a = e.value) == null ? void 0 : a.id) === o ? e.value = {} : (e.value = f.value.find((u) => u.id === o), e.value.paramsList = Object.keys(JSON.parse(e.value.params)).map((u) => ({
75
75
  label: u,
76
76
  value: JSON.parse(e.value.params)[u]
77
77
  })), e.value.bodyList = Object.keys(JSON.parse(e.value.body)).map((u) => ({
@@ -83,7 +83,7 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
83
83
  })))) : x();
84
84
  }
85
85
  function Q(o) {
86
- o ? (J.emit("deleteSourceData", o), e.value = {}) : (f.value = f.value.filter((l) => l.id !== o), e.value = {});
86
+ o ? (J.emit("deleteSourceData", o), e.value = {}) : (f.value = f.value.filter((a) => a.id !== o), e.value = {});
87
87
  }
88
88
  function W() {
89
89
  var o;
@@ -112,7 +112,7 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
112
112
  value: ""
113
113
  });
114
114
  }
115
- function le(o) {
115
+ function ae(o) {
116
116
  e.value.bodyList.splice(o, 1);
117
117
  }
118
118
  ue(() => {
@@ -120,13 +120,13 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
120
120
  }), J.on("updateSource", (o) => {
121
121
  f.value = JSON.parse(JSON.stringify(p.getSourceData()));
122
122
  });
123
- async function ae() {
124
- P.value.validate(async (o) => {
123
+ async function le() {
124
+ T.value.validate(async (o) => {
125
125
  if (o)
126
126
  try {
127
- const l = {};
127
+ const a = {};
128
128
  e.value.paramsList.forEach((r) => {
129
- l[r.label] = r.value;
129
+ a[r.label] = r.value;
130
130
  });
131
131
  const u = {};
132
132
  e.value.bodyList.forEach((r) => {
@@ -141,41 +141,44 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
141
141
  // url: formData.value.url,
142
142
  // url: "http://localhost:3333/users",
143
143
  url: e.value.url,
144
- params: l,
144
+ params: a,
145
145
  data: u,
146
- headers: h
146
+ headers: {
147
+ ...h,
148
+ Authorization: "Bearer " + re.get("Admin-Token")
149
+ }
147
150
  });
148
151
  if (e.value.dataPath) {
149
152
  const C = e.value.dataPath.split(".").reduce((V, d) => V[d], y.data);
150
- C && C.length ? _({
153
+ C && C.length ? k({
151
154
  message: C.map((V) => ({
152
155
  label: V[e.value.dataKey],
153
156
  value: V[e.value.dataValue]
154
157
  }))
155
- }) : _.info("配置错误");
158
+ }) : k.info("配置错误");
156
159
  } else
157
- y.data && y.data.length ? _({
160
+ y.data && y.data.length ? k({
158
161
  message: y.data.map((r) => ({
159
162
  label: r[e.value.dataKey],
160
163
  value: r[e.value.dataValue]
161
164
  }))
162
- }) : _.info("配置错误");
165
+ }) : k.info("配置错误");
163
166
  } catch {
164
- _.error("请求失败");
167
+ k.error("请求失败");
165
168
  } finally {
166
169
  }
167
170
  else
168
- _.error("请填写必填项");
171
+ k.error("请填写必填项");
169
172
  });
170
173
  }
171
174
  async function x() {
172
- e.value.body = e.value.bodyList.reduce((o, l) => (o[l.label] = l.value, o), {}), e.value.params = e.value.paramsList.reduce(
173
- (o, l) => (o[l.label] = l.value, o),
175
+ e.value.body = e.value.bodyList.reduce((o, a) => (o[a.label] = a.value, o), {}), e.value.params = e.value.paramsList.reduce(
176
+ (o, a) => (o[a.label] = a.value, o),
174
177
  {}
175
178
  ), e.value.headers = e.value.headerList.reduce(
176
- (o, l) => (o[l.label] = l.value, o),
179
+ (o, a) => (o[a.label] = a.value, o),
177
180
  {}
178
- ), P.value.validate((o) => {
181
+ ), T.value.validate((o) => {
179
182
  o ? e.value.id ? (J.emit("updateSourceData", {
180
183
  ...e.value,
181
184
  body: JSON.stringify(e.value.body),
@@ -186,45 +189,45 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
186
189
  body: JSON.stringify(e.value.body),
187
190
  params: JSON.stringify(e.value.params),
188
191
  headers: JSON.stringify(e.value.headers)
189
- }), e.value = {}) : _.warning("请先完善表单");
192
+ }), e.value = {}) : k.warning("请先完善表单");
190
193
  });
191
194
  }
192
- return (o, l) => (m(), v("div", re, [
193
- a(t(c), {
195
+ return (o, a) => (m(), v("div", ie, [
196
+ l(t(c), {
194
197
  class: "btn",
195
- onClick: G
198
+ onClick: A
196
199
  }, {
197
200
  default: n(() => [
198
- a(t(g), {
201
+ l(t(g), {
199
202
  name: "icon--epic--window-outline",
200
203
  class: "mr-4px"
201
204
  }),
202
- l[8] || (l[8] = s("span", null, "配置", -1)),
203
- s("span", ie, R(M.value || f.value.length), 1)
205
+ a[8] || (a[8] = s("span", null, "配置", -1)),
206
+ s("span", me, R(M.value || f.value.length), 1)
204
207
  ]),
205
208
  _: 1
206
209
  }),
207
- a(t(K), {
210
+ l(t(F), {
208
211
  size: 960,
209
- modelValue: T.value,
210
- "onUpdate:modelValue": l[7] || (l[7] = (u) => T.value = u),
212
+ modelValue: P.value,
213
+ "onUpdate:modelValue": a[7] || (a[7] = (u) => P.value = u),
211
214
  "append-to-body": "",
212
215
  title: "数据源"
213
216
  }, {
214
217
  default: n(() => [
215
- s("div", me, [
216
- s("div", ve, [
217
- a(t(c), {
218
+ s("div", ve, [
219
+ s("div", pe, [
220
+ l(t(c), {
218
221
  type: "primary",
219
222
  class: "btn",
220
- onClick: A
223
+ onClick: z
221
224
  }, {
222
225
  default: n(() => [
223
- a(t(g), {
226
+ l(t(g), {
224
227
  name: "icon--epic--add-rounded",
225
228
  class: "mr-4px"
226
229
  }),
227
- l[9] || (l[9] = s("span", null, "新增数据源", -1))
230
+ a[9] || (a[9] = s("span", null, "新增数据源", -1))
228
231
  ]),
229
232
  _: 1
230
233
  }),
@@ -236,10 +239,10 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
236
239
  key: u.id,
237
240
  onClick: (y) => H(u.id)
238
241
  }, [
239
- s("div", ce, [
242
+ s("div", fe, [
240
243
  s("div", {
241
244
  style: ne({
242
- color: B[u.method.toLocaleUpperCase()]
245
+ color: q[u.method.toLocaleUpperCase()]
243
246
  })
244
247
  }, R(u.method.toLocaleUpperCase()), 5),
245
248
  s("div", null, R(u.apiName), 1)
@@ -248,18 +251,18 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
248
251
  onClick: (y) => Q(u.id),
249
252
  class: "source-item-icon"
250
253
  }, [
251
- a(t(g), { name: "icon--epic--delete-outline-rounded" })
252
- ], 8, fe)
253
- ], 10, pe);
254
+ l(t(g), { name: "icon--epic--delete-outline-rounded" })
255
+ ], 8, ye)
256
+ ], 10, ce);
254
257
  }), 128))
255
258
  ])
256
259
  ]),
257
- s("div", ye, [
258
- s("div", be, [
259
- !e.value || !Object.keys(e.value).length ? (m(), v("div", ge, "请选择数据源")) : (m(), v("div", he, [
260
- a(t(j), {
260
+ s("div", be, [
261
+ s("div", ge, [
262
+ !e.value || !Object.keys(e.value).length ? (m(), v("div", he, "请选择数据源")) : (m(), v("div", Ve, [
263
+ l(t(K), {
261
264
  ref_key: "ruleFormRef",
262
- ref: P,
265
+ ref: T,
263
266
  model: e.value,
264
267
  "label-position": "top",
265
268
  rules: $,
@@ -268,76 +271,76 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
268
271
  default: n(() => {
269
272
  var u, h, y, r, C, V;
270
273
  return [
271
- a(t(k), {
274
+ l(t(_), {
272
275
  prop: "apiName",
273
276
  label: "接口名称"
274
277
  }, {
275
278
  default: n(() => [
276
- a(t(N), {
279
+ l(t(N), {
277
280
  clearable: "",
278
281
  modelValue: e.value.apiName,
279
- "onUpdate:modelValue": l[0] || (l[0] = (d) => e.value.apiName = d),
282
+ "onUpdate:modelValue": a[0] || (a[0] = (d) => e.value.apiName = d),
280
283
  placeholder: "请输入接口名称"
281
284
  }, null, 8, ["modelValue"])
282
285
  ]),
283
286
  _: 1
284
287
  }),
285
- a(t(k), {
288
+ l(t(_), {
286
289
  prop: "url",
287
290
  label: "请求地址"
288
291
  }, {
289
292
  default: n(() => [
290
- a(t(N), {
293
+ l(t(N), {
291
294
  modelValue: e.value.url,
292
- "onUpdate:modelValue": l[1] || (l[1] = (d) => e.value.url = d),
295
+ "onUpdate:modelValue": a[1] || (a[1] = (d) => e.value.url = d),
293
296
  clearable: "",
294
297
  placeholder: "请输入完整的请求地址"
295
298
  }, null, 8, ["modelValue"])
296
299
  ]),
297
300
  _: 1
298
301
  }),
299
- a(t(k), {
302
+ l(t(_), {
300
303
  label: "请求方法",
301
304
  required: ""
302
305
  }, {
303
306
  default: n(() => [
304
- a(t(q), {
307
+ l(t(j), {
305
308
  modelValue: e.value.method,
306
- "onUpdate:modelValue": l[2] || (l[2] = (d) => e.value.method = d)
309
+ "onUpdate:modelValue": a[2] || (a[2] = (d) => e.value.method = d)
307
310
  }, {
308
311
  default: n(() => [
309
- a(t(U), {
312
+ l(t(U), {
310
313
  label: "GET",
311
314
  value: "get"
312
315
  }, {
313
- default: n(() => l[10] || (l[10] = [
316
+ default: n(() => a[10] || (a[10] = [
314
317
  b("GET")
315
318
  ])),
316
319
  _: 1
317
320
  }),
318
- a(t(U), {
321
+ l(t(U), {
319
322
  label: "POST",
320
323
  value: "post"
321
324
  }, {
322
- default: n(() => l[11] || (l[11] = [
325
+ default: n(() => a[11] || (a[11] = [
323
326
  b("POST")
324
327
  ])),
325
328
  _: 1
326
329
  }),
327
- a(t(U), {
330
+ l(t(U), {
328
331
  label: "PUT",
329
332
  value: "put"
330
333
  }, {
331
- default: n(() => l[12] || (l[12] = [
334
+ default: n(() => a[12] || (a[12] = [
332
335
  b("PUT")
333
336
  ])),
334
337
  _: 1
335
338
  }),
336
- a(t(U), {
339
+ l(t(U), {
337
340
  label: "DELETE",
338
341
  value: "delete"
339
342
  }, {
340
- default: n(() => l[13] || (l[13] = [
343
+ default: n(() => a[13] || (a[13] = [
341
344
  b("DELETE")
342
345
  ])),
343
346
  _: 1
@@ -348,45 +351,45 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
348
351
  ]),
349
352
  _: 1
350
353
  }),
351
- s("div", Ve, [
352
- a(t(k), {
354
+ s("div", ke, [
355
+ l(t(_), {
353
356
  prop: "dataKey",
354
357
  style: { width: "30%" },
355
358
  label: "标签键名"
356
359
  }, {
357
360
  default: n(() => [
358
- a(t(N), {
361
+ l(t(N), {
359
362
  modelValue: e.value.dataKey,
360
- "onUpdate:modelValue": l[3] || (l[3] = (d) => e.value.dataKey = d),
363
+ "onUpdate:modelValue": a[3] || (a[3] = (d) => e.value.dataKey = d),
361
364
  clearable: "",
362
365
  placeholder: "请输入标签键名"
363
366
  }, null, 8, ["modelValue"])
364
367
  ]),
365
368
  _: 1
366
369
  }),
367
- a(t(k), {
370
+ l(t(_), {
368
371
  prop: "dataValue",
369
372
  style: { width: "30%" },
370
373
  label: "值键名"
371
374
  }, {
372
375
  default: n(() => [
373
- a(t(N), {
376
+ l(t(N), {
374
377
  modelValue: e.value.dataValue,
375
- "onUpdate:modelValue": l[4] || (l[4] = (d) => e.value.dataValue = d),
378
+ "onUpdate:modelValue": a[4] || (a[4] = (d) => e.value.dataValue = d),
376
379
  clearable: "",
377
380
  placeholder: "请输入值键名"
378
381
  }, null, 8, ["modelValue"])
379
382
  ]),
380
383
  _: 1
381
384
  }),
382
- a(t(k), {
385
+ l(t(_), {
383
386
  style: { width: "33%" },
384
387
  label: "数据位置"
385
388
  }, {
386
389
  default: n(() => [
387
- a(t(N), {
390
+ l(t(N), {
388
391
  modelValue: e.value.dataPath,
389
- "onUpdate:modelValue": l[5] || (l[5] = (d) => e.value.dataPath = d),
392
+ "onUpdate:modelValue": a[5] || (a[5] = (d) => e.value.dataPath = d),
390
393
  clearable: "",
391
394
  placeholder: "多层嵌套使用.分隔"
392
395
  }, null, 8, ["modelValue"])
@@ -395,27 +398,27 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
395
398
  })
396
399
  ]),
397
400
  s("div", _e, [
398
- s("div", ke, [
399
- l[15] || (l[15] = s("div", null, "请求参数", -1)),
400
- a(t(c), {
401
+ s("div", Le, [
402
+ a[15] || (a[15] = s("div", null, "请求参数", -1)),
403
+ l(t(c), {
401
404
  onClick: W,
402
405
  text: "",
403
406
  type: "primary",
404
407
  class: "btn"
405
408
  }, {
406
409
  default: n(() => [
407
- a(t(g), { name: "icon--epic--add-rounded" }),
408
- l[14] || (l[14] = b(" 添加 "))
410
+ l(t(g), { name: "icon--epic--add-rounded" }),
411
+ a[14] || (a[14] = b(" 添加 "))
409
412
  ]),
410
413
  _: 1
411
414
  })
412
415
  ]),
413
- (u = e.value) != null && u.paramsList && ((h = e.value) != null && h.paramsList.length) ? (m(), v("div", Le, [
416
+ (u = e.value) != null && u.paramsList && ((h = e.value) != null && h.paramsList.length) ? (m(), v("div", Se, [
414
417
  (m(!0), v(E, null, D(e.value.paramsList, (d, w) => (m(), v("div", {
415
418
  class: "content-item",
416
419
  key: d.value
417
420
  }, [
418
- a(t(L), {
421
+ l(t(L), {
419
422
  modelValue: d.label,
420
423
  "onUpdate:modelValue": (i) => d.label = i,
421
424
  filterable: "",
@@ -424,7 +427,7 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
424
427
  options: S,
425
428
  placeholder: "参数名"
426
429
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
427
- a(t(L), {
430
+ l(t(L), {
428
431
  modelValue: d.value,
429
432
  "onUpdate:modelValue": (i) => d.value = i,
430
433
  filterable: "",
@@ -433,13 +436,13 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
433
436
  options: S,
434
437
  placeholder: "参数值"
435
438
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
436
- a(t(c), {
439
+ l(t(c), {
437
440
  onClick: (i) => X(w),
438
441
  type: "danger",
439
442
  circle: ""
440
443
  }, {
441
444
  default: n(() => [
442
- a(t(g), {
445
+ l(t(g), {
443
446
  style: { color: "#fff" },
444
447
  name: "icon--epic--delete-outline-rounded"
445
448
  })
@@ -447,30 +450,30 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
447
450
  _: 2
448
451
  }, 1032, ["onClick"])
449
452
  ]))), 128))
450
- ])) : F("", !0)
453
+ ])) : B("", !0)
451
454
  ]),
452
- s("div", Se, [
453
- s("div", Ce, [
454
- l[17] || (l[17] = s("div", null, "请求头", -1)),
455
- a(t(c), {
455
+ s("div", Ce, [
456
+ s("div", we, [
457
+ a[17] || (a[17] = s("div", null, "请求头", -1)),
458
+ l(t(c), {
456
459
  onClick: Y,
457
460
  text: "",
458
461
  type: "primary",
459
462
  class: "btn"
460
463
  }, {
461
464
  default: n(() => [
462
- a(t(g), { name: "icon--epic--add-rounded" }),
463
- l[16] || (l[16] = b(" 添加 "))
465
+ l(t(g), { name: "icon--epic--add-rounded" }),
466
+ a[16] || (a[16] = b(" 添加 "))
464
467
  ]),
465
468
  _: 1
466
469
  })
467
470
  ]),
468
- (y = e.value) != null && y.headerList && ((r = e.value) != null && r.headerList.length) ? (m(), v("div", we, [
471
+ (y = e.value) != null && y.headerList && ((r = e.value) != null && r.headerList.length) ? (m(), v("div", Ne, [
469
472
  (m(!0), v(E, null, D(e.value.headerList, (d, w) => (m(), v("div", {
470
473
  class: "content-item",
471
474
  key: w
472
475
  }, [
473
- a(t(L), {
476
+ l(t(L), {
474
477
  modelValue: d.label,
475
478
  "onUpdate:modelValue": (i) => d.label = i,
476
479
  filterable: "",
@@ -479,7 +482,7 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
479
482
  options: S,
480
483
  placeholder: "参数名"
481
484
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
482
- a(t(L), {
485
+ l(t(L), {
483
486
  modelValue: d.value,
484
487
  "onUpdate:modelValue": (i) => d.value = i,
485
488
  filterable: "",
@@ -488,13 +491,13 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
488
491
  options: S,
489
492
  placeholder: "参数值"
490
493
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
491
- a(t(c), {
494
+ l(t(c), {
492
495
  onClick: (i) => Z(w),
493
496
  type: "danger",
494
497
  circle: ""
495
498
  }, {
496
499
  default: n(() => [
497
- a(t(g), {
500
+ l(t(g), {
498
501
  style: { color: "#fff" },
499
502
  name: "icon--epic--delete-outline-rounded"
500
503
  })
@@ -502,30 +505,30 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
502
505
  _: 2
503
506
  }, 1032, ["onClick"])
504
507
  ]))), 128))
505
- ])) : F("", !0)
508
+ ])) : B("", !0)
506
509
  ]),
507
- s("div", Ne, [
508
- s("div", Oe, [
509
- l[19] || (l[19] = s("div", null, "请求体", -1)),
510
- a(t(c), {
510
+ s("div", Oe, [
511
+ s("div", Ue, [
512
+ a[19] || (a[19] = s("div", null, "请求体", -1)),
513
+ l(t(c), {
511
514
  onClick: ee,
512
515
  text: "",
513
516
  type: "primary",
514
517
  class: "btn"
515
518
  }, {
516
519
  default: n(() => [
517
- a(t(g), { name: "icon--epic--add-rounded" }),
518
- l[18] || (l[18] = b(" 添加 "))
520
+ l(t(g), { name: "icon--epic--add-rounded" }),
521
+ a[18] || (a[18] = b(" 添加 "))
519
522
  ]),
520
523
  _: 1
521
524
  })
522
525
  ]),
523
- (C = e.value) != null && C.bodyList && ((V = e.value) != null && V.bodyList.length) ? (m(), v("div", Ue, [
526
+ (C = e.value) != null && C.bodyList && ((V = e.value) != null && V.bodyList.length) ? (m(), v("div", Ee, [
524
527
  (m(!0), v(E, null, D(e.value.bodyList, (d, w) => (m(), v("div", {
525
528
  class: "content-item",
526
529
  key: w
527
530
  }, [
528
- a(t(L), {
531
+ l(t(L), {
529
532
  modelValue: d.label,
530
533
  "onUpdate:modelValue": (i) => d.label = i,
531
534
  filterable: "",
@@ -534,7 +537,7 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
534
537
  options: S,
535
538
  placeholder: "参数名"
536
539
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
537
- a(t(L), {
540
+ l(t(L), {
538
541
  modelValue: d.value,
539
542
  "onUpdate:modelValue": (i) => d.value = i,
540
543
  filterable: "",
@@ -543,13 +546,13 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
543
546
  options: S,
544
547
  placeholder: "参数值"
545
548
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
546
- a(t(c), {
547
- onClick: l[6] || (l[6] = (i) => le(o.i)),
549
+ l(t(c), {
550
+ onClick: a[6] || (a[6] = (i) => ae(o.i)),
548
551
  type: "danger",
549
552
  circle: ""
550
553
  }, {
551
554
  default: n(() => [
552
- a(t(g), {
555
+ l(t(g), {
553
556
  style: { color: "#fff" },
554
557
  name: "icon--epic--delete-outline-rounded"
555
558
  })
@@ -557,23 +560,23 @@ const re = { class: "e-data-source" }, ie = { class: "icon-numbers" }, me = { cl
557
560
  _: 1
558
561
  })
559
562
  ]))), 128))
560
- ])) : F("", !0)
563
+ ])) : B("", !0)
561
564
  ]),
562
- s("div", Ee, [
563
- a(t(c), {
565
+ s("div", De, [
566
+ l(t(c), {
564
567
  type: "info",
565
- onClick: ae
568
+ onClick: le
566
569
  }, {
567
- default: n(() => l[20] || (l[20] = [
570
+ default: n(() => a[20] || (a[20] = [
568
571
  b("请求测试")
569
572
  ])),
570
573
  _: 1
571
574
  }),
572
- a(t(c), {
575
+ l(t(c), {
573
576
  type: "primary",
574
577
  onClick: x
575
578
  }, {
576
- default: n(() => l[21] || (l[21] = [
579
+ default: n(() => a[21] || (a[21] = [
577
580
  b("保存")
578
581
  ])),
579
582
  _: 1