@scalar/api-client 2.1.2 → 2.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 (38) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBarServer.vue.js +58 -58
  4. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  5. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  6. package/dist/libs/create-client.d.ts.map +1 -1
  7. package/dist/libs/send-request.d.ts.map +1 -1
  8. package/dist/libs/send-request.js +63 -62
  9. package/dist/store/request-example.d.ts.map +1 -1
  10. package/dist/store/store.d.ts.map +1 -1
  11. package/dist/style.css +1 -1
  12. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  13. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  14. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +77 -73
  15. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +0 -4
  16. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  17. package/dist/views/Request/RequestSection/RequestBody.vue.js +214 -162
  18. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  19. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +38 -37
  20. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  21. package/dist/views/Request/RequestSection/RequestSection.vue.js +5 -8
  22. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  23. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  24. package/dist/views/Request/RequestSidebar.vue2.js +164 -153
  25. package/dist/views/Request/RequestSidebarItem.vue.d.ts +7 -0
  26. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  27. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  28. package/dist/views/Request/RequestSidebarItem.vue2.js +230 -263
  29. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +8 -30
  30. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  31. package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
  32. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +131 -81
  33. package/dist/views/Request/types/index.d.ts +2 -0
  34. package/dist/views/Request/types/index.d.ts.map +1 -0
  35. package/dist/views/Request/types/index.js +1 -0
  36. package/dist/views/Request/types/sidebar-item.d.ts +23 -0
  37. package/dist/views/Request/types/sidebar-item.d.ts.map +1 -0
  38. package/package.json +11 -6
@@ -1,36 +1,30 @@
1
- import { defineComponent as Y, computed as _, ref as G, watch as H, openBlock as u, createBlock as v, withCtx as d, createTextVNode as N, toDisplayString as D, createElementBlock as y, Fragment as V, createVNode as c, unref as i, createElementVNode as b, nextTick as K } from "vue";
2
- import Q from "../../../components/CodeInput/CodeInput.vue.js";
3
- import Z from "../../../components/DataTable/DataTable.vue.js";
4
- import I from "../../../components/DataTable/DataTableHeader.vue.js";
1
+ import { defineComponent as G, computed as w, ref as K, watch as N, openBlock as p, createBlock as b, withCtx as u, createTextVNode as S, toDisplayString as B, createVNode as s, unref as c, createElementVNode as x, createElementBlock as D, Fragment as Q, nextTick as Z } from "vue";
2
+ import I from "../../../components/CodeInput/CodeInput.vue.js";
3
+ import ee from "../../../components/DataTable/DataTable.vue.js";
4
+ import ae from "../../../components/DataTable/DataTableHeader.vue.js";
5
5
  import R from "../../../components/DataTable/DataTableRow.vue.js";
6
- import ee from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
- import { ScalarListbox as te, ScalarButton as k, ScalarIcon as S } from "@scalar/components";
8
- import { requestExampleParametersSchema as j } from "@scalar/oas-utils/entities/spec";
9
- import q from "./RequestTable.vue.js";
10
- import { useWorkspace as oe } from "../../../store/store.js";
11
- import { useFileDialog as L } from "../../../hooks/useFileDialog.js";
12
- const ae = {
13
- key: 0,
14
- class: "text-c-3 flex min-h-14 w-full items-center justify-center rounded border border-dashed text-center text-base"
15
- }, ne = /* @__PURE__ */ b("span", null, "No Body", -1), le = [
16
- ne
17
- ], re = {
6
+ import te from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
+ import { ScalarListbox as oe, ScalarButton as F, ScalarIcon as q } from "@scalar/components";
8
+ import { requestExampleParametersSchema as L } from "@scalar/oas-utils/entities/spec";
9
+ import { canMethodHaveBody as ne } from "@scalar/oas-utils/helpers";
10
+ import M from "./RequestTable.vue.js";
11
+ import { useWorkspace as le } from "../../../store/store.js";
12
+ import { useFileDialog as W } from "../../../hooks/useFileDialog.js";
13
+ const re = {
18
14
  key: 0,
19
15
  class: "text-c-3 flex min-h-10 w-full items-center justify-center p-2 text-sm"
20
- }, ue = /* @__PURE__ */ b("span", null, "No Body", -1), de = [
21
- ue
22
- ], ie = {
16
+ }, de = /* @__PURE__ */ x("span", null, "No Body", -1), ie = [
17
+ de
18
+ ], ue = {
23
19
  key: 1,
24
20
  class: "flex items-center justify-center p-1.5 overflow-hidden"
25
- }, se = { class: "text-c-2 text-xs w-full border rounded p-1 max-w-full overflow-hidden whitespace-nowrap" }, ce = /* @__PURE__ */ b("span", null, "Upload File", -1), ke = /* @__PURE__ */ Y({
21
+ }, se = { class: "text-c-2 text-xs w-full border rounded p-1 max-w-full overflow-hidden whitespace-nowrap" }, ce = /* @__PURE__ */ x("span", null, "Upload File", -1), Fe = /* @__PURE__ */ G({
26
22
  __name: "RequestBody",
27
23
  props: {
28
- title: {},
29
- body: {},
30
- formData: {}
24
+ title: {}
31
25
  },
32
26
  setup(me) {
33
- const { activeRequest: m, activeExample: t, requestExampleMutators: l } = oe(), W = {
27
+ const { activeRequest: i, activeExample: a, requestExampleMutators: r } = le(), A = {
34
28
  json: "json",
35
29
  xml: "xml",
36
30
  yaml: "yaml",
@@ -49,104 +43,155 @@ const ae = {
49
43
  }).map(([e, o]) => ({
50
44
  id: e,
51
45
  label: o
52
- })), A = _(() => {
46
+ })), k = w(() => {
53
47
  var e, o;
54
- return t.value ? t.value.body.activeBody === "formData" ? ((e = t.value.body.formData) == null ? void 0 : e.encoding) === "urlencoded" ? "formUrlEncoded" : "multipartForm" : t.value.body.activeBody === "raw" && ((o = t.value.body.raw) != null && o.encoding) ? t.value.body.raw.encoding : "none" : "none";
55
- }), s = _({
48
+ return a.value ? a.value.body.activeBody === "formData" ? ((e = a.value.body.formData) == null ? void 0 : e.encoding) === "urlencoded" ? "formUrlEncoded" : "multipartForm" : a.value.body.activeBody === "binary" ? "binaryFile" : a.value.body.activeBody === "raw" && ((o = a.value.body.raw) != null && o.encoding) ? a.value.body.raw.encoding === "html" ? "other" : a.value.body.raw.encoding : "none" : "none";
49
+ }), m = w({
56
50
  get: () => h.find(
57
- (e) => e.id === A.value
51
+ (e) => e.id === k.value
58
52
  ) ?? h[h.length - 1],
59
53
  set: (e) => {
60
- e != null && e.id && $(e.id);
54
+ e != null && e.id && E(e.id);
61
55
  }
62
- }), g = G(null), F = _(() => {
63
- const e = s.value.id;
64
- return W[e] ?? "plaintext";
56
+ }), g = K(null), z = w(() => {
57
+ const e = m.value.id;
58
+ return A[e] ?? "plaintext";
65
59
  });
66
60
  function U() {
67
61
  console.log("deleteRow");
68
62
  }
69
- const B = (e, o, a) => {
70
- if (!m.value || !t.value) return;
71
- const r = p.value;
72
- if (r.length > e) {
73
- const n = [...r];
74
- n[e] = { ...n[e], [o]: a }, (n[e].key !== "" || n[e].value !== "") && (n[e].enabled = !0), n[e].key === "" && n[e].value === "" && n.splice(e, 1), l.edit(
75
- t.value.uid,
63
+ const T = (e, o, t) => {
64
+ if (!i.value || !a.value) return;
65
+ const l = v.value;
66
+ if (l.length > e) {
67
+ const n = [...l];
68
+ n[e] = { ...n[e], [o]: t }, (n[e].key !== "" || n[e].value !== "") && (n[e].enabled = !0), n[e].key === "" && n[e].value === "" && n.splice(e, 1), r.edit(
69
+ a.value.uid,
76
70
  "body.formData.value",
77
71
  n
78
72
  );
79
73
  } else {
80
- const n = [j.parse({ [o]: a })];
81
- l.edit(
82
- t.value.uid,
74
+ const n = [L.parse({ [o]: t })];
75
+ r.edit(
76
+ a.value.uid,
83
77
  "body.formData.value",
84
78
  n
85
- ), K(() => {
86
- var C;
79
+ ), Z(() => {
80
+ var y;
87
81
  if (!g.value) return;
88
- (C = g.value.querySelectorAll("input")[o === "key" ? 0 : 1]) == null || C.focus();
82
+ (y = g.value.querySelectorAll("input")[o === "key" ? 0 : 1]) == null || y.focus();
89
83
  });
90
84
  }
91
- }, p = _(
85
+ }, v = w(
92
86
  () => {
93
- var e, o, a;
94
- return ((a = (o = (e = t.value) == null ? void 0 : e.body) == null ? void 0 : o.formData) == null ? void 0 : a.value) ?? [];
87
+ var e, o, t;
88
+ return ((t = (o = (e = a.value) == null ? void 0 : e.body) == null ? void 0 : o.formData) == null ? void 0 : t.value) ?? [];
95
89
  }
96
- ), M = () => p.value.length === 0 && w(), w = () => {
97
- if (!m.value || !t.value) return;
98
- const e = j.parse({
90
+ ), O = () => v.value.length === 0 && _(), _ = () => {
91
+ if (!i.value || !a.value) return;
92
+ const e = L.parse({
99
93
  enabled: !1
100
- }), o = [...p.value, e];
101
- t.value.body.formData ? l.edit(
102
- t.value.uid,
94
+ }), o = [...v.value, e];
95
+ a.value.body.formData ? r.edit(
96
+ a.value.uid,
103
97
  "body.formData.value",
104
98
  o
105
- ) : l.edit(t.value.uid, "body.formData", {
99
+ ) : r.edit(a.value.uid, "body.formData", {
106
100
  value: o,
107
101
  encoding: "form-data"
108
102
  });
109
- }, T = (e, o) => {
110
- if (!m.value || !t.value) return;
111
- const a = p.value;
112
- if (a.length > e) {
113
- const r = [...a];
114
- r[e].enabled = o, l.edit(
115
- t.value.uid,
103
+ }, P = (e, o) => {
104
+ if (!i.value || !a.value) return;
105
+ const t = v.value;
106
+ if (t.length > e) {
107
+ const l = [...t];
108
+ l[e].enabled = o, r.edit(
109
+ a.value.uid,
116
110
  "body.formData.value",
117
- r
111
+ l
118
112
  );
119
113
  }
120
- }, z = (e) => {
121
- !m.value || !t.value || (t.value.body.raw ? l.edit(
122
- t.value.uid,
123
- "body.raw.value",
124
- e
125
- ) : l.edit(t.value.uid, "body.raw", {
126
- value: e,
127
- encoding: F.value
128
- }));
129
- }, O = (e) => e === "multipartForm" || e === "formUrlEncoded" ? "formData" : e === "binaryFile" ? "binary" : "raw", $ = (e) => {
130
- if (!t.value) return;
131
- const o = O(e);
132
- l.edit(
133
- t.value.uid,
114
+ }, $ = (e) => {
115
+ !i.value || !a.value || r.edit(a.value.uid, "body.raw.value", e);
116
+ }, H = (e) => e === "multipartForm" ? {
117
+ activeBody: "formData",
118
+ encoding: "form-data",
119
+ header: "multipart/form-data"
120
+ } : e === "formUrlEncoded" ? {
121
+ activeBody: "formData",
122
+ encoding: "urlencoded",
123
+ header: "application/x-www-form-urlencoded"
124
+ } : e === "binaryFile" ? {
125
+ activeBody: "binary",
126
+ encoding: void 0,
127
+ header: "application/octet-stream"
128
+ } : e === "json" ? {
129
+ activeBody: "raw",
130
+ encoding: "json",
131
+ header: "application/json"
132
+ } : e === "xml" ? {
133
+ activeBody: "raw",
134
+ encoding: "xml",
135
+ header: "application/xml"
136
+ } : e === "yaml" ? {
137
+ activeBody: "raw",
138
+ encoding: "yaml",
139
+ header: "application/yaml"
140
+ } : e === "edn" ? {
141
+ activeBody: "raw",
142
+ encoding: "edn",
143
+ header: "application/edn"
144
+ } : e === "other" ? {
145
+ activeBody: "raw",
146
+ encoding: "html",
147
+ header: "application/html"
148
+ } : { activeBody: "raw", encoding: void 0, header: void 0 }, E = (e) => {
149
+ var f, y;
150
+ if (!a.value) return;
151
+ const { activeBody: o, encoding: t, header: l } = H(e);
152
+ if (r.edit(
153
+ a.value.uid,
134
154
  "body.activeBody",
135
155
  o
156
+ ), t && o === "raw")
157
+ r.edit(a.value.uid, "body.raw", {
158
+ encoding: t,
159
+ value: ((f = a.value.body.raw) == null ? void 0 : f.value) ?? ""
160
+ });
161
+ else if (t && o === "formData")
162
+ r.edit(a.value.uid, "body.formData", {
163
+ encoding: t,
164
+ value: ((y = a.value.body.formData) == null ? void 0 : y.value) ?? []
165
+ });
166
+ else if (!t) {
167
+ const { raw: V, ...Y } = a.value.body;
168
+ r.edit(a.value.uid, "body", Y);
169
+ }
170
+ const n = [...a.value.parameters.headers], d = n.findIndex(
171
+ (V) => V.key.toLowerCase() === "content-type"
172
+ );
173
+ d >= 0 ? l ? n[d].value = l : n.splice(d, 1) : l && n.unshift({
174
+ key: "Content-Type",
175
+ value: l,
176
+ enabled: !0
177
+ }), r.edit(
178
+ a.value.uid,
179
+ "parameters.headers",
180
+ n
136
181
  );
137
- }, P = async (e) => {
138
- const { open: o } = L({
139
- onChange: async (a) => {
140
- const r = a == null ? void 0 : a[0];
141
- if (r && m.value && t.value) {
142
- const f = [...p.value];
143
- f[e] = {
144
- ...f[e],
145
- file: r
146
- }, l.edit(
147
- t.value.uid,
182
+ }, C = async (e) => {
183
+ const { open: o } = W({
184
+ onChange: async (t) => {
185
+ const l = t == null ? void 0 : t[0];
186
+ if (l && i.value && a.value) {
187
+ const d = [...v.value];
188
+ d[e] = {
189
+ ...d[e],
190
+ file: l
191
+ }, r.edit(
192
+ a.value.uid,
148
193
  "body.formData.value",
149
- f
194
+ d
150
195
  );
151
196
  }
152
197
  },
@@ -156,28 +201,28 @@ const ae = {
156
201
  o();
157
202
  };
158
203
  function J() {
159
- !m.value || !t.value || l.edit(t.value.uid, "body.binary", void 0);
204
+ !i.value || !a.value || r.edit(a.value.uid, "body.binary", void 0);
160
205
  }
161
- function E(e) {
162
- if (!m.value || !t.value) return;
163
- const a = [...p.value];
164
- a[e] = {
165
- ...a[e],
206
+ function j(e) {
207
+ if (!i.value || !a.value) return;
208
+ const t = [...v.value];
209
+ t[e] = {
210
+ ...t[e],
166
211
  file: void 0
167
- }, l.edit(
168
- t.value.uid,
212
+ }, r.edit(
213
+ a.value.uid,
169
214
  "body.formData.value",
170
- a
215
+ t
171
216
  );
172
217
  }
173
218
  function X() {
174
- const { open: e } = L({
219
+ const { open: e } = W({
175
220
  onChange: async (o) => {
176
- const a = o == null ? void 0 : o[0];
177
- a && m.value && t.value && l.edit(
178
- t.value.uid,
221
+ const t = o == null ? void 0 : o[0];
222
+ t && i.value && a.value && r.edit(
223
+ a.value.uid,
179
224
  "body.binary",
180
- a
225
+ t
181
226
  );
182
227
  },
183
228
  multiple: !1,
@@ -185,45 +230,52 @@ const ae = {
185
230
  });
186
231
  e();
187
232
  }
188
- return H(
189
- s,
233
+ return N(
234
+ m,
190
235
  (e) => {
191
- ["multipartForm", "formUrlEncoded"].includes(e == null ? void 0 : e.id) && M();
236
+ ["multipartForm", "formUrlEncoded"].includes(e == null ? void 0 : e.id) && O();
237
+ },
238
+ { immediate: !0 }
239
+ ), N(
240
+ () => {
241
+ var e;
242
+ return (e = a.value) == null ? void 0 : e.uid;
243
+ },
244
+ () => {
245
+ var e;
246
+ (e = i.value) != null && e.method && ne(i.value.method) && E(k.value);
192
247
  },
193
248
  { immediate: !0 }
194
- ), (e, o) => (u(), v(ee, null, {
195
- title: d(() => [
196
- N(D(e.title), 1)
249
+ ), (e, o) => (p(), b(te, null, {
250
+ title: u(() => [
251
+ S(B(e.title), 1)
197
252
  ]),
198
- default: d(() => [
199
- e.body && e.body.length === 0 && e.formData && e.formData.length === 0 ? (u(), y("div", ae, le)) : e.formData && e.formData.length > 0 ? (u(), y(V, { key: 1 }, [], 64)) : (u(), v(Z, {
200
- key: 2,
201
- columns: [""]
202
- }, {
203
- default: d(() => [
204
- c(R, null, {
205
- default: d(() => [
206
- c(I, { class: "relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]" }, {
207
- default: d(() => [
208
- c(i(te), {
209
- modelValue: s.value,
210
- "onUpdate:modelValue": o[0] || (o[0] = (a) => s.value = a),
253
+ default: u(() => [
254
+ s(ee, { columns: [""] }, {
255
+ default: u(() => [
256
+ s(R, null, {
257
+ default: u(() => [
258
+ s(ae, { class: "relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]" }, {
259
+ default: u(() => [
260
+ s(c(oe), {
261
+ modelValue: m.value,
262
+ "onUpdate:modelValue": o[0] || (o[0] = (t) => m.value = t),
211
263
  class: "text-xxs w-full",
212
264
  fullWidth: "",
213
- options: i(h),
265
+ options: c(h),
214
266
  teleport: ""
215
267
  }, {
216
- default: d(() => [
217
- c(i(k), {
268
+ default: u(() => [
269
+ s(c(F), {
218
270
  class: "flex gap-1.5 h-auto px-1.5 text-c-2 font-normal hover:text-c-1",
219
271
  fullWidth: "",
220
272
  variant: "ghost"
221
273
  }, {
222
- default: d(() => {
223
- var a;
274
+ default: u(() => {
275
+ var t;
224
276
  return [
225
- b("span", null, D((a = s.value) == null ? void 0 : a.label), 1),
226
- c(i(S), {
277
+ x("span", null, B((t = m.value) == null ? void 0 : t.label), 1),
278
+ s(c(q), {
227
279
  icon: "ChevronDown",
228
280
  size: "xs",
229
281
  thickness: "2.5"
@@ -241,34 +293,34 @@ const ae = {
241
293
  ]),
242
294
  _: 1
243
295
  }),
244
- c(R, null, {
245
- default: d(() => {
246
- var a, r, n, f, x;
296
+ s(R, null, {
297
+ default: u(() => {
298
+ var t, l, n, d, f;
247
299
  return [
248
- s.value.id === "none" ? (u(), y("div", re, de)) : s.value.id === "binaryFile" ? (u(), y("div", ie, [
249
- (a = i(t)) != null && a.body.binary ? (u(), y(V, { key: 0 }, [
250
- b("span", se, D(((r = i(t)) == null ? void 0 : r.body.binary).name), 1),
251
- c(i(k), {
300
+ m.value.id === "none" ? (p(), D("div", re, ie)) : m.value.id === "binaryFile" ? (p(), D("div", ue, [
301
+ (t = c(a)) != null && t.body.binary ? (p(), D(Q, { key: 0 }, [
302
+ x("span", se, B(((l = c(a)) == null ? void 0 : l.body.binary).name), 1),
303
+ s(c(F), {
252
304
  class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1 shadow-none",
253
305
  size: "sm",
254
306
  variant: "outlined",
255
307
  onClick: J
256
308
  }, {
257
- default: d(() => [
258
- N(" Delete ")
309
+ default: u(() => [
310
+ S(" Delete ")
259
311
  ]),
260
312
  _: 1
261
313
  })
262
- ], 64)) : (u(), v(i(k), {
314
+ ], 64)) : (p(), b(c(F), {
263
315
  key: 1,
264
316
  class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 shadow-none",
265
317
  size: "sm",
266
318
  variant: "outlined",
267
319
  onClick: X
268
320
  }, {
269
- default: d(() => [
321
+ default: u(() => [
270
322
  ce,
271
- c(i(S), {
323
+ s(c(q), {
272
324
  class: "ml-1",
273
325
  icon: "UploadSimple",
274
326
  size: "xs",
@@ -277,56 +329,56 @@ const ae = {
277
329
  ]),
278
330
  _: 1
279
331
  }))
280
- ])) : s.value.id == "multipartForm" ? (u(), v(q, {
332
+ ])) : m.value.id == "multipartForm" ? (p(), b(M, {
281
333
  key: 2,
282
334
  ref_key: "tableWrapperRef",
283
335
  ref: g,
284
336
  class: "!m-0 rounded-t-none shadow-none border-l-0 border-r-0 border-t-0 border-b-0",
285
337
  columns: ["32px", "", "", "61px"],
286
- items: p.value,
338
+ items: v.value,
287
339
  showUploadButton: "",
288
- onAddRow: w,
340
+ onAddRow: _,
289
341
  onDeleteRow: U,
290
- onRemoveFile: E,
291
- onToggleRow: T,
292
- onUpdateRow: B,
293
- onUploadFile: P
294
- }, null, 8, ["items"])) : s.value.id == "formUrlEncoded" ? (u(), v(q, {
342
+ onRemoveFile: j,
343
+ onToggleRow: P,
344
+ onUpdateRow: T,
345
+ onUploadFile: C
346
+ }, null, 8, ["items"])) : m.value.id == "formUrlEncoded" ? (p(), b(M, {
295
347
  key: 3,
296
348
  ref_key: "tableWrapperRef",
297
349
  ref: g,
298
350
  class: "!m-0 rounded-t-none border-t-0 shadow-none border-l-0 border-r-0 border-t-0 border-b-0",
299
351
  columns: ["32px", "", "", "61px"],
300
- items: p.value,
352
+ items: v.value,
301
353
  showUploadButton: "",
302
- onAddRow: w,
354
+ onAddRow: _,
303
355
  onDeleteRow: U,
304
- onRemoveFile: E,
305
- onToggleRow: T,
306
- onUpdateRow: B,
307
- onUploadFile: P
308
- }, null, 8, ["items"])) : (u(), v(Q, {
356
+ onRemoveFile: j,
357
+ onToggleRow: P,
358
+ onUpdateRow: T,
359
+ onUploadFile: C
360
+ }, null, 8, ["items"])) : (p(), b(I, {
309
361
  key: 4,
310
362
  content: "",
311
- language: F.value,
363
+ language: z.value,
312
364
  lineNumbers: "",
313
365
  lint: "",
314
- modelValue: ((x = (f = (n = i(t)) == null ? void 0 : n.body) == null ? void 0 : f.raw) == null ? void 0 : x.value) ?? "",
315
- "onUpdate:modelValue": z
366
+ modelValue: ((f = (d = (n = c(a)) == null ? void 0 : n.body) == null ? void 0 : d.raw) == null ? void 0 : f.value) ?? "",
367
+ "onUpdate:modelValue": $
316
368
  }, null, 8, ["language", "modelValue"]))
317
369
  ];
318
370
  }),
319
371
  _: 1
320
372
  }),
321
- c(R)
373
+ s(R)
322
374
  ]),
323
375
  _: 1
324
- }))
376
+ })
325
377
  ]),
326
378
  _: 1
327
379
  }));
328
380
  }
329
381
  });
330
382
  export {
331
- ke as default
383
+ Fe as default
332
384
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RequestPathParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestPathParams.vue"],"names":[],"mappings":"AAsIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;;WAM5D,MAAM;cACH,MAAM,cAAc,CAAC,YAAY,CAAC;;WADrC,MAAM;cACH,MAAM,cAAc,CAAC,YAAY,CAAC;;AAmM9C,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"RequestPathParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestPathParams.vue"],"names":[],"mappings":"AAsIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;;WAO5D,MAAM;cACH,MAAM,cAAc,CAAC,YAAY,CAAC;;WADrC,MAAM;cACH,MAAM,cAAc,CAAC,YAAY,CAAC;;AAkM9C,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}