@scalar/api-client 2.2.42 → 2.2.44
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.
- package/CHANGELOG.md +32 -0
- package/dist/layouts/App/create-api-client-app.d.ts +29 -29
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +58 -58
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +29 -29
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +29 -29
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +1 -1
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/send-request/send-request.d.ts +8 -10
- package/dist/libs/send-request/send-request.d.ts.map +1 -1
- package/dist/libs/send-request/send-request.js +100 -100
- package/dist/store/active-entities.d.ts +5 -3
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts +12 -12
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/import-spec.d.ts +2 -2
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/requests.d.ts +13 -13
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/security-schemes.js +25 -25
- package/dist/store/store.d.ts +29 -29
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +4 -4
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +5 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +60 -58
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +10 -7
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +103 -115
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +9 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +52 -44
- package/dist/views/Request/RequestSection/RequestAuth/{RequestExampleAuth.vue.d.ts → RequestAuthTab.vue.d.ts} +7 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +7 -0
- package/dist/views/Request/RequestSection/RequestAuth/{RequestExampleAuth.vue2.js → RequestAuthTab.vue2.js} +68 -62
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +107 -97
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +78 -67
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/libs/auth.d.ts +22 -2
- package/dist/views/Request/libs/auth.d.ts.map +1 -1
- package/dist/views/Request/libs/auth.js +56 -5
- package/dist/views/Request/libs/index.js +9 -6
- package/package.json +12 -12
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +0 -7
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as ae, computed as w, ref as te, watch as $, openBlock as g, createBlock as x, withCtx as
|
|
1
|
+
import { defineComponent as ae, computed as w, ref as te, watch as $, openBlock as g, createBlock as x, withCtx as v, createTextVNode as H, toDisplayString as _, createVNode as f, unref as m, createElementVNode as D, createCommentVNode as oe, createElementBlock as V, Fragment as le, nextTick as ne } from "vue";
|
|
2
2
|
import re from "../../../components/CodeInput/CodeInput.vue.js";
|
|
3
3
|
import ue from "../../../components/DataTable/DataTable.vue.js";
|
|
4
4
|
import ie from "../../../components/DataTable/DataTableHeader.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import C from "../../../components/DataTable/DataTableRow.vue.js";
|
|
6
6
|
import de from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
7
7
|
import { useActiveEntities as se } from "../../../store/active-entities.js";
|
|
8
|
-
import { ScalarListbox as X, ScalarButton as U, ScalarIcon as
|
|
8
|
+
import { ScalarListbox as X, ScalarButton as U, ScalarIcon as P } from "@scalar/components";
|
|
9
9
|
import { requestExampleParametersSchema as Y } from "@scalar/oas-utils/entities/spec";
|
|
10
10
|
import { canMethodHaveBody as ce } from "@scalar/oas-utils/helpers";
|
|
11
11
|
import G from "./RequestTable.vue.js";
|
|
@@ -17,13 +17,13 @@ const ve = {
|
|
|
17
17
|
}, fe = {
|
|
18
18
|
key: 1,
|
|
19
19
|
class: "border-t flex items-center justify-center p-1.5 overflow-hidden"
|
|
20
|
-
}, pe = { class: "text-c-2 text-xs w-full border rounded py-1 px-1.5 max-w-full overflow-hidden whitespace-nowrap" },
|
|
20
|
+
}, pe = { class: "text-c-2 text-xs w-full border rounded py-1 px-1.5 max-w-full overflow-hidden whitespace-nowrap" }, Pe = /* @__PURE__ */ ae({
|
|
21
21
|
__name: "RequestBody",
|
|
22
22
|
props: {
|
|
23
23
|
title: {}
|
|
24
24
|
},
|
|
25
25
|
setup(ye) {
|
|
26
|
-
const { activeRequest:
|
|
26
|
+
const { activeRequest: p, activeExample: o } = se(), { requestExampleMutators: i } = me(), Q = {
|
|
27
27
|
json: "json",
|
|
28
28
|
xml: "xml",
|
|
29
29
|
yaml: "yaml",
|
|
@@ -61,35 +61,35 @@ const ve = {
|
|
|
61
61
|
console.log("deleteRow");
|
|
62
62
|
}
|
|
63
63
|
const S = (e, a, t) => {
|
|
64
|
-
var
|
|
65
|
-
if (!
|
|
66
|
-
const
|
|
67
|
-
if (
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
...
|
|
71
|
-
value: ((
|
|
72
|
-
key: ((r =
|
|
73
|
-
enabled: ((
|
|
64
|
+
var n, r, s, u, d, h, B;
|
|
65
|
+
if (!p.value || !o.value) return;
|
|
66
|
+
const l = b.value;
|
|
67
|
+
if (l.length > e) {
|
|
68
|
+
const c = [...l];
|
|
69
|
+
c[e] = {
|
|
70
|
+
...c[e],
|
|
71
|
+
value: ((n = c[e]) == null ? void 0 : n.value) || "",
|
|
72
|
+
key: ((r = c[e]) == null ? void 0 : r.key) || "",
|
|
73
|
+
enabled: ((s = c[e]) == null ? void 0 : s.enabled) ?? !1,
|
|
74
74
|
[a]: t || ""
|
|
75
|
-
}, (((u =
|
|
75
|
+
}, (((u = c[e]) == null ? void 0 : u.key) !== "" || ((d = c[e]) == null ? void 0 : d.value) !== "") && (c[e].enabled = !0), ((h = c[e]) == null ? void 0 : h.key) === "" && ((B = c[e]) == null ? void 0 : B.value) === "" && c.splice(e, 1), i.edit(
|
|
76
76
|
o.value.uid,
|
|
77
77
|
"body.formData.value",
|
|
78
|
-
|
|
78
|
+
c
|
|
79
79
|
);
|
|
80
80
|
} else {
|
|
81
|
-
const
|
|
81
|
+
const c = [Y.parse({ [a]: t })];
|
|
82
82
|
i.edit(
|
|
83
83
|
o.value.uid,
|
|
84
84
|
"body.formData.value",
|
|
85
|
-
|
|
86
|
-
),
|
|
85
|
+
c
|
|
86
|
+
), ne(() => {
|
|
87
87
|
var A;
|
|
88
88
|
if (!R.value) return;
|
|
89
89
|
(A = R.value.querySelectorAll("input")[a === "key" ? 0 : 1]) == null || A.focus();
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
|
-
e ===
|
|
92
|
+
e === l.length - 1 && O();
|
|
93
93
|
}, b = w(
|
|
94
94
|
() => {
|
|
95
95
|
var e, a, t;
|
|
@@ -99,7 +99,7 @@ const ve = {
|
|
|
99
99
|
const e = b.value[b.value.length - 1];
|
|
100
100
|
(!e || e.key !== "" || e.value !== "") && O();
|
|
101
101
|
}, O = () => {
|
|
102
|
-
if (!
|
|
102
|
+
if (!p.value || !o.value) return;
|
|
103
103
|
const e = Y.parse({
|
|
104
104
|
enabled: !1
|
|
105
105
|
}), a = [...b.value, e];
|
|
@@ -112,18 +112,18 @@ const ve = {
|
|
|
112
112
|
encoding: "form-data"
|
|
113
113
|
});
|
|
114
114
|
}, q = (e, a) => {
|
|
115
|
-
if (!
|
|
115
|
+
if (!p.value || !o.value) return;
|
|
116
116
|
const t = b.value;
|
|
117
117
|
if (t.length > e) {
|
|
118
|
-
const
|
|
119
|
-
|
|
118
|
+
const l = [...t];
|
|
119
|
+
l[e] && (l[e].enabled = a), i.edit(
|
|
120
120
|
o.value.uid,
|
|
121
121
|
"body.formData.value",
|
|
122
|
-
|
|
122
|
+
l
|
|
123
123
|
);
|
|
124
124
|
}
|
|
125
125
|
}, L = (e) => {
|
|
126
|
-
!
|
|
126
|
+
!p.value || !o.value || i.edit(o.value.uid, "body.raw.value", e);
|
|
127
127
|
}, M = (e) => e === "multipartForm" ? {
|
|
128
128
|
activeBody: "formData",
|
|
129
129
|
encoding: "form-data",
|
|
@@ -157,9 +157,9 @@ const ve = {
|
|
|
157
157
|
encoding: "html",
|
|
158
158
|
header: "application/html"
|
|
159
159
|
} : { activeBody: "raw", encoding: void 0, header: void 0 }, W = (e) => {
|
|
160
|
-
var
|
|
160
|
+
var s, u;
|
|
161
161
|
if (!o.value) return;
|
|
162
|
-
const { activeBody: a, encoding: t, header:
|
|
162
|
+
const { activeBody: a, encoding: t, header: l } = M(e);
|
|
163
163
|
if (i.edit(
|
|
164
164
|
o.value.uid,
|
|
165
165
|
"body.activeBody",
|
|
@@ -167,7 +167,7 @@ const ve = {
|
|
|
167
167
|
), t && a === "raw")
|
|
168
168
|
i.edit(o.value.uid, "body.raw", {
|
|
169
169
|
encoding: t,
|
|
170
|
-
value: ((
|
|
170
|
+
value: ((s = o.value.body.raw) == null ? void 0 : s.value) ?? ""
|
|
171
171
|
});
|
|
172
172
|
else if (t && a === "formData")
|
|
173
173
|
i.edit(o.value.uid, "body.formData", {
|
|
@@ -175,33 +175,43 @@ const ve = {
|
|
|
175
175
|
value: ((u = o.value.body.formData) == null ? void 0 : u.value) ?? []
|
|
176
176
|
});
|
|
177
177
|
else if (!t && a !== "binary") {
|
|
178
|
-
const { raw:
|
|
178
|
+
const { raw: d, ...h } = o.value.body;
|
|
179
179
|
i.edit(o.value.uid, "body", h);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
182
|
-
(
|
|
181
|
+
const n = [...o.value.parameters.headers], r = n.findIndex(
|
|
182
|
+
(d) => d.key.toLowerCase() === "content-type"
|
|
183
183
|
);
|
|
184
|
-
r >= 0
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
184
|
+
if (r >= 0)
|
|
185
|
+
l && n[r] ? n[r].value = l : n[r] && n.splice(r, 1);
|
|
186
|
+
else if (l) {
|
|
187
|
+
const d = n[n.length - 1];
|
|
188
|
+
d && d.key === "" && d.value === "" ? n.splice(n.length - 1, 0, {
|
|
189
|
+
key: "Content-Type",
|
|
190
|
+
value: l,
|
|
191
|
+
enabled: !0
|
|
192
|
+
}) : n.push({
|
|
193
|
+
key: "Content-Type",
|
|
194
|
+
value: l,
|
|
195
|
+
enabled: !0
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
i.edit(
|
|
189
199
|
o.value.uid,
|
|
190
200
|
"parameters.headers",
|
|
191
|
-
|
|
201
|
+
n
|
|
192
202
|
);
|
|
193
203
|
}, z = async (e) => {
|
|
194
204
|
const { open: a } = K({
|
|
195
205
|
onChange: async (t) => {
|
|
196
|
-
var
|
|
197
|
-
const
|
|
198
|
-
if (
|
|
206
|
+
var n, r;
|
|
207
|
+
const l = t == null ? void 0 : t[0];
|
|
208
|
+
if (l && p.value && o.value) {
|
|
199
209
|
const u = [...b.value];
|
|
200
210
|
u[e] = {
|
|
201
211
|
...u[e],
|
|
202
|
-
file:
|
|
203
|
-
value: ((
|
|
204
|
-
key: ((r = u[e]) == null ? void 0 : r.key) ||
|
|
212
|
+
file: l,
|
|
213
|
+
value: ((n = u[e]) == null ? void 0 : n.value) || l.name,
|
|
214
|
+
key: ((r = u[e]) == null ? void 0 : r.key) || l.name,
|
|
205
215
|
enabled: !0
|
|
206
216
|
}, i.edit(
|
|
207
217
|
o.value.uid,
|
|
@@ -216,10 +226,10 @@ const ve = {
|
|
|
216
226
|
a();
|
|
217
227
|
};
|
|
218
228
|
function I() {
|
|
219
|
-
!
|
|
229
|
+
!p.value || !o.value || i.edit(o.value.uid, "body.binary", void 0);
|
|
220
230
|
}
|
|
221
231
|
function J(e) {
|
|
222
|
-
if (!
|
|
232
|
+
if (!p.value || !o.value) return;
|
|
223
233
|
const t = [...b.value];
|
|
224
234
|
t[e] = {
|
|
225
235
|
...t[e],
|
|
@@ -237,7 +247,7 @@ const ve = {
|
|
|
237
247
|
const { open: e } = K({
|
|
238
248
|
onChange: async (a) => {
|
|
239
249
|
const t = a == null ? void 0 : a[0];
|
|
240
|
-
t &&
|
|
250
|
+
t && p.value && o.value && i.edit(
|
|
241
251
|
o.value.uid,
|
|
242
252
|
"body.binary",
|
|
243
253
|
t
|
|
@@ -261,32 +271,32 @@ const ve = {
|
|
|
261
271
|
},
|
|
262
272
|
() => {
|
|
263
273
|
var e;
|
|
264
|
-
(e =
|
|
274
|
+
(e = p.value) != null && e.method && ce(p.value.method) && W(E.value), ["multipartForm", "formUrlEncoded"].includes(
|
|
265
275
|
E.value
|
|
266
276
|
) && j();
|
|
267
277
|
},
|
|
268
278
|
{ immediate: !0 }
|
|
269
279
|
);
|
|
270
|
-
const
|
|
271
|
-
var
|
|
272
|
-
const e = (
|
|
273
|
-
return Object.entries(
|
|
274
|
-
id:
|
|
275
|
-
label:
|
|
280
|
+
const k = w(() => {
|
|
281
|
+
var n, r, s, u;
|
|
282
|
+
const e = (n = y.value) == null ? void 0 : n.id, { header: a } = M(e), t = ((s = (r = p.value) == null ? void 0 : r.requestBody) == null ? void 0 : s.content) || {}, l = a ? ((u = t[a]) == null ? void 0 : u.examples) || {} : {};
|
|
283
|
+
return Object.entries(l).map(([d, h]) => ({
|
|
284
|
+
id: d,
|
|
285
|
+
label: d,
|
|
276
286
|
value: h
|
|
277
287
|
}));
|
|
278
288
|
}), T = w({
|
|
279
289
|
get: () => {
|
|
280
|
-
var
|
|
281
|
-
const e = ((
|
|
282
|
-
return
|
|
283
|
-
const
|
|
284
|
-
return JSON.stringify(
|
|
285
|
-
}) ??
|
|
290
|
+
var l, n;
|
|
291
|
+
const e = ((n = (l = o.value) == null ? void 0 : l.body.raw) == null ? void 0 : n.value) ?? "{}", a = JSON.parse(e);
|
|
292
|
+
return k.value.find((r) => {
|
|
293
|
+
const s = r.value;
|
|
294
|
+
return JSON.stringify(s.value) === JSON.stringify(a);
|
|
295
|
+
}) ?? k.value[0];
|
|
286
296
|
},
|
|
287
297
|
set: (e) => {
|
|
288
298
|
if (e != null && e.id) {
|
|
289
|
-
const a =
|
|
299
|
+
const a = k.value.find(
|
|
290
300
|
(t) => t.id === e.id
|
|
291
301
|
);
|
|
292
302
|
if (a) {
|
|
@@ -297,33 +307,33 @@ const ve = {
|
|
|
297
307
|
}
|
|
298
308
|
});
|
|
299
309
|
return (e, a) => (g(), x(de, null, {
|
|
300
|
-
title:
|
|
310
|
+
title: v(() => [
|
|
301
311
|
H(_(e.title), 1)
|
|
302
312
|
]),
|
|
303
|
-
default:
|
|
304
|
-
|
|
305
|
-
default:
|
|
306
|
-
|
|
307
|
-
default:
|
|
308
|
-
|
|
309
|
-
default:
|
|
310
|
-
|
|
313
|
+
default: v(() => [
|
|
314
|
+
f(ue, { columns: [""] }, {
|
|
315
|
+
default: v(() => [
|
|
316
|
+
f(C, null, {
|
|
317
|
+
default: v(() => [
|
|
318
|
+
f(ie, { class: "relative col-span-full flex h-8 cursor-pointer items-center justify-between !p-0" }, {
|
|
319
|
+
default: v(() => [
|
|
320
|
+
f(m(X), {
|
|
311
321
|
modelValue: y.value,
|
|
312
322
|
"onUpdate:modelValue": a[0] || (a[0] = (t) => y.value = t),
|
|
313
|
-
options:
|
|
323
|
+
options: m(F),
|
|
314
324
|
teleport: ""
|
|
315
325
|
}, {
|
|
316
|
-
default:
|
|
317
|
-
|
|
326
|
+
default: v(() => [
|
|
327
|
+
f(m(U), {
|
|
318
328
|
class: "flex gap-1.5 h-full px-3 text-c-2 font-normal hover:text-c-1 w-fit",
|
|
319
329
|
fullWidth: "",
|
|
320
330
|
variant: "ghost"
|
|
321
331
|
}, {
|
|
322
|
-
default:
|
|
332
|
+
default: v(() => {
|
|
323
333
|
var t;
|
|
324
334
|
return [
|
|
325
335
|
D("span", null, _((t = y.value) == null ? void 0 : t.label), 1),
|
|
326
|
-
|
|
336
|
+
f(m(P), {
|
|
327
337
|
icon: "ChevronDown",
|
|
328
338
|
size: "md"
|
|
329
339
|
})
|
|
@@ -334,25 +344,25 @@ const ve = {
|
|
|
334
344
|
]),
|
|
335
345
|
_: 1
|
|
336
346
|
}, 8, ["modelValue", "options"]),
|
|
337
|
-
|
|
347
|
+
k.value.length > 0 ? (g(), x(m(X), {
|
|
338
348
|
key: 0,
|
|
339
349
|
modelValue: T.value,
|
|
340
350
|
"onUpdate:modelValue": a[1] || (a[1] = (t) => T.value = t),
|
|
341
|
-
options:
|
|
351
|
+
options: k.value,
|
|
342
352
|
side: "left",
|
|
343
353
|
teleport: ""
|
|
344
354
|
}, {
|
|
345
|
-
default:
|
|
346
|
-
|
|
355
|
+
default: v(() => [
|
|
356
|
+
f(m(U), {
|
|
347
357
|
class: "flex gap-1.5 h-full px-2 text-c-2 font-normal hover:text-c-1 w-fit",
|
|
348
358
|
fullWidth: "",
|
|
349
359
|
variant: "ghost"
|
|
350
360
|
}, {
|
|
351
|
-
default:
|
|
361
|
+
default: v(() => {
|
|
352
362
|
var t;
|
|
353
363
|
return [
|
|
354
364
|
D("span", null, _((t = T.value) == null ? void 0 : t.label), 1),
|
|
355
|
-
|
|
365
|
+
f(m(P), {
|
|
356
366
|
icon: "ChevronDown",
|
|
357
367
|
size: "md"
|
|
358
368
|
})
|
|
@@ -369,36 +379,36 @@ const ve = {
|
|
|
369
379
|
]),
|
|
370
380
|
_: 1
|
|
371
381
|
}),
|
|
372
|
-
|
|
373
|
-
default:
|
|
374
|
-
var t,
|
|
382
|
+
f(C, null, {
|
|
383
|
+
default: v(() => {
|
|
384
|
+
var t, l, n, r, s, u, d, h, B;
|
|
375
385
|
return [
|
|
376
386
|
((t = y.value) == null ? void 0 : t.id) === "none" ? (g(), V("div", ve, a[2] || (a[2] = [
|
|
377
387
|
D("span", null, "No Body", -1)
|
|
378
|
-
]))) : ((
|
|
379
|
-
(
|
|
380
|
-
D("span", pe, _(((r =
|
|
381
|
-
|
|
388
|
+
]))) : ((l = y.value) == null ? void 0 : l.id) === "binaryFile" ? (g(), V("div", fe, [
|
|
389
|
+
(n = m(o)) != null && n.body.binary ? (g(), V(le, { key: 0 }, [
|
|
390
|
+
D("span", pe, _(((r = m(o)) == null ? void 0 : r.body.binary).name), 1),
|
|
391
|
+
f(m(U), {
|
|
382
392
|
class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1 shadow-none",
|
|
383
393
|
size: "sm",
|
|
384
394
|
variant: "outlined",
|
|
385
395
|
onClick: I
|
|
386
396
|
}, {
|
|
387
|
-
default:
|
|
397
|
+
default: v(() => a[3] || (a[3] = [
|
|
388
398
|
H(" Delete ")
|
|
389
399
|
])),
|
|
390
400
|
_: 1
|
|
391
401
|
})
|
|
392
|
-
], 64)) : (g(), x(
|
|
402
|
+
], 64)) : (g(), x(m(U), {
|
|
393
403
|
key: 1,
|
|
394
404
|
class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 shadow-none",
|
|
395
405
|
size: "sm",
|
|
396
406
|
variant: "outlined",
|
|
397
407
|
onClick: ee
|
|
398
408
|
}, {
|
|
399
|
-
default:
|
|
409
|
+
default: v(() => [
|
|
400
410
|
a[4] || (a[4] = D("span", null, "Upload File", -1)),
|
|
401
|
-
|
|
411
|
+
f(m(P), {
|
|
402
412
|
class: "ml-1",
|
|
403
413
|
icon: "UploadSimple",
|
|
404
414
|
size: "xs",
|
|
@@ -407,7 +417,7 @@ const ve = {
|
|
|
407
417
|
]),
|
|
408
418
|
_: 1
|
|
409
419
|
}))
|
|
410
|
-
])) : ((
|
|
420
|
+
])) : ((s = y.value) == null ? void 0 : s.id) == "multipartForm" ? (g(), x(G, {
|
|
411
421
|
key: 2,
|
|
412
422
|
ref_key: "tableWrapperRef",
|
|
413
423
|
ref: R,
|
|
@@ -440,14 +450,14 @@ const ve = {
|
|
|
440
450
|
language: Z.value,
|
|
441
451
|
lineNumbers: "",
|
|
442
452
|
lint: "",
|
|
443
|
-
modelValue: ((
|
|
453
|
+
modelValue: ((B = (h = (d = m(o)) == null ? void 0 : d.body) == null ? void 0 : h.raw) == null ? void 0 : B.value) ?? "",
|
|
444
454
|
"onUpdate:modelValue": L
|
|
445
455
|
}, null, 8, ["language", "modelValue"]))
|
|
446
456
|
];
|
|
447
457
|
}),
|
|
448
458
|
_: 1
|
|
449
459
|
}),
|
|
450
|
-
|
|
460
|
+
f(C)
|
|
451
461
|
]),
|
|
452
462
|
_: 1
|
|
453
463
|
})
|
|
@@ -457,5 +467,5 @@ const ve = {
|
|
|
457
467
|
}
|
|
458
468
|
});
|
|
459
469
|
export {
|
|
460
|
-
|
|
470
|
+
Pe as default
|
|
461
471
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { SelectedSecuritySchemeUids } from '@scalar/oas-utils/entities/shared';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
selectedSecuritySchemeUids:
|
|
3
|
+
selectedSecuritySchemeUids: SelectedSecuritySchemeUids;
|
|
3
4
|
};
|
|
4
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
|
|
5
6
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":"AAwNA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AAQnF,KAAK,WAAW,GAAG;IACjB,0BAA0B,EAAE,0BAA0B,CAAA;CACvD,CAAC;;AA8SF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestSection.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-54c9c333"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|