@scalar/api-client 2.0.32 → 2.0.33
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 +14 -0
- package/dist/hooks/useDarkModeState.d.ts.map +1 -1
- package/dist/hooks/useDarkModeState.js +5 -5
- package/dist/layouts/App/create-api-client-app.d.ts +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue2.js +9 -9
- package/dist/layouts/Modal/api-client-modal.d.ts +2 -2
- package/dist/layouts/Modal/api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/api-client-modal.js +2 -2
- package/dist/libs/create-client.d.ts +2 -2
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +68 -68
- package/dist/style.css +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +85 -85
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +37 -37
- package/package.json +5 -5
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { commandPaletteBus as
|
|
10
|
-
import { useWorkspace as
|
|
11
|
-
import
|
|
1
|
+
import { defineComponent as j, ref as F, onMounted as P, onBeforeUnmount as A, openBlock as f, createElementBlock as b, Fragment as O, createElementVNode as n, normalizeClass as x, createVNode as r, unref as e, createCommentVNode as _, withCtx as m, withDirectives as H, createSlots as J, withModifiers as D, renderList as K, createBlock as y, createTextVNode as q, vShow as Q, pushScopeId as G, popScopeId as X } from "vue";
|
|
2
|
+
import Y from "../../components/AddressBar/AddressBar.vue.js";
|
|
3
|
+
import Z from "../../components/Search/SearchButton.vue.js";
|
|
4
|
+
import ee from "../../components/Search/SearchModal.vue.js";
|
|
5
|
+
import te from "../../components/Sidebar/SidebarButton.vue.js";
|
|
6
|
+
import oe from "../../components/Sidebar/SidebarToggle.vue.js";
|
|
7
|
+
import re from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
8
|
+
import se from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
9
|
+
import { commandPaletteBus as ae } from "../../libs/eventBusses/command-palette.js";
|
|
10
|
+
import { useWorkspace as le } from "../../store/workspace.js";
|
|
11
|
+
import ne from "./RequestSection/RequestSection.vue.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import
|
|
14
|
-
import { useModal as
|
|
15
|
-
import { REQUEST_METHODS as
|
|
16
|
-
import { isMacOS as
|
|
17
|
-
import { useMagicKeys as
|
|
13
|
+
import ie from "./ResponseSection/ResponseSection.vue.js";
|
|
14
|
+
import { useModal as ce, ScalarIcon as w } from "@scalar/components";
|
|
15
|
+
import { REQUEST_METHODS as de } from "@scalar/oas-utils/helpers";
|
|
16
|
+
import { isMacOS as me } from "@scalar/use-tooltip";
|
|
17
|
+
import { useMagicKeys as ue, useEventListener as pe } from "@vueuse/core";
|
|
18
18
|
import fe from "./RequestSidebarItem.vue.js";
|
|
19
19
|
import ve from "../../components/Sidebar/Sidebar.vue.js";
|
|
20
20
|
/* empty css */
|
|
21
|
-
import
|
|
22
|
-
import { useSidebar as
|
|
21
|
+
import ge from "./components/WorkspaceDropdown.vue.js";
|
|
22
|
+
import { useSidebar as he } from "../../hooks/useSidebar.js";
|
|
23
23
|
import { sendRequest as xe } from "../../libs/sendRequest.js";
|
|
24
|
-
import { executeRequestBus as
|
|
25
|
-
const be = (g) => (
|
|
26
|
-
/* @__PURE__ */
|
|
24
|
+
import { executeRequestBus as E } from "../../libs/eventBusses/executeRequestBus.js";
|
|
25
|
+
const be = (g) => (G("data-v-d592e0db"), g = g(), X(), g), _e = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container" }, ye = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" }, we = /* @__PURE__ */ be(() => /* @__PURE__ */ n("div", { class: "text-c-2 text-sm font-medium gitbook-show pl-2" }, [
|
|
26
|
+
/* @__PURE__ */ q(" Powered by "),
|
|
27
27
|
/* @__PURE__ */ n("a", {
|
|
28
28
|
class: "hover:text-c-1",
|
|
29
29
|
href: "https://scalar.com/",
|
|
30
30
|
target: "_blank"
|
|
31
31
|
}, "Scalar.com")
|
|
32
|
-
], -1)),
|
|
32
|
+
], -1)), Se = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12" }, Ke = /* @__PURE__ */ j({
|
|
33
33
|
__name: "Request",
|
|
34
34
|
setup(g) {
|
|
35
35
|
var R;
|
|
36
36
|
const {
|
|
37
|
-
activeExample:
|
|
37
|
+
activeExample: h,
|
|
38
38
|
activeRequest: l,
|
|
39
|
-
activeSecurityScheme:
|
|
40
|
-
activeWorkspaceServers:
|
|
39
|
+
activeSecurityScheme: B,
|
|
40
|
+
activeWorkspaceServers: M,
|
|
41
41
|
activeWorkspace: i,
|
|
42
|
-
environments:
|
|
43
|
-
requestMutators:
|
|
44
|
-
activeWorkspaceCollections:
|
|
45
|
-
modalState:
|
|
46
|
-
} =
|
|
47
|
-
var
|
|
48
|
-
if (!l.value || !
|
|
42
|
+
environments: I,
|
|
43
|
+
requestMutators: V,
|
|
44
|
+
activeWorkspaceCollections: $,
|
|
45
|
+
modalState: N
|
|
46
|
+
} = le(), { collapsedSidebarFolders: U } = he(), S = ce(), c = F(!((R = i.value) != null && R.isReadOnly)), k = async () => {
|
|
47
|
+
var v;
|
|
48
|
+
if (!l.value || !h.value) {
|
|
49
49
|
console.warn(
|
|
50
50
|
"There is no request active at the moment. Please select one then try again."
|
|
51
51
|
);
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
-
let s =
|
|
55
|
-
const o = Object.values(
|
|
56
|
-
(
|
|
54
|
+
let s = h.value.url;
|
|
55
|
+
const o = Object.values(I).reduce(
|
|
56
|
+
(u, p) => {
|
|
57
57
|
try {
|
|
58
|
-
return { ...
|
|
58
|
+
return { ...u, ...JSON.parse(p.raw) };
|
|
59
59
|
} catch {
|
|
60
|
-
return
|
|
60
|
+
return u;
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{}
|
|
64
64
|
), t = /\{\{(.*?)\}\}/g;
|
|
65
|
-
s = s.replace(t, (
|
|
66
|
-
if (
|
|
65
|
+
s = s.replace(t, (u, p) => (M.value.forEach((W) => {
|
|
66
|
+
if (W.url === p)
|
|
67
67
|
return p;
|
|
68
68
|
}), o[p] || p));
|
|
69
|
-
const { request: a, response:
|
|
69
|
+
const { request: a, response: d } = await xe(
|
|
70
70
|
l.value,
|
|
71
|
-
|
|
71
|
+
h.value,
|
|
72
72
|
s,
|
|
73
|
-
|
|
74
|
-
(
|
|
73
|
+
B.value,
|
|
74
|
+
(v = i.value) == null ? void 0 : v.proxyUrl
|
|
75
75
|
);
|
|
76
|
-
a &&
|
|
76
|
+
a && d ? V.edit(l.value.uid, "history", [
|
|
77
77
|
...l.value.history,
|
|
78
78
|
{
|
|
79
79
|
request: a,
|
|
80
|
-
response:
|
|
80
|
+
response: d,
|
|
81
81
|
timestamp: Date.now()
|
|
82
82
|
}
|
|
83
83
|
]) : console.warn("No response or request was returned");
|
|
84
84
|
};
|
|
85
|
-
|
|
86
|
-
const
|
|
87
|
-
},
|
|
85
|
+
P(() => E.on(k)), A(() => E.off(k));
|
|
86
|
+
const z = (s, o, t, a) => {
|
|
87
|
+
}, L = () => ae.emit(), C = ue();
|
|
88
88
|
pe(document, "keydown", (s) => {
|
|
89
|
-
(
|
|
89
|
+
(me() ? C.meta.value : C.ctrl.value) && s.key === "b" && (c.value = !c.value);
|
|
90
90
|
});
|
|
91
|
-
const
|
|
91
|
+
const T = () => {
|
|
92
92
|
if (!l.value) return "";
|
|
93
93
|
const { method: s } = l.value;
|
|
94
|
-
return
|
|
94
|
+
return de[s].backgroundColor;
|
|
95
95
|
};
|
|
96
|
-
return (s, o) => (f(),
|
|
96
|
+
return (s, o) => (f(), b(O, null, [
|
|
97
97
|
n("div", {
|
|
98
|
-
class:
|
|
98
|
+
class: x(["flex flex-1 flex-col rounded rounded-b-none rounded-r-none pt-0 h-full client-wrapper-bg-color relative", T()])
|
|
99
99
|
}, [
|
|
100
100
|
n("div", _e, [
|
|
101
101
|
n("div", ye, [
|
|
102
|
-
r(
|
|
102
|
+
r(oe, {
|
|
103
103
|
modelValue: c.value,
|
|
104
104
|
"onUpdate:modelValue": o[0] || (o[0] = (t) => c.value = t),
|
|
105
105
|
class: "gitbook-hidden"
|
|
106
106
|
}, null, 8, ["modelValue"]),
|
|
107
107
|
we
|
|
108
108
|
]),
|
|
109
|
-
r(
|
|
110
|
-
n("div",
|
|
111
|
-
e(i).isReadOnly ? (f(),
|
|
109
|
+
r(Y),
|
|
110
|
+
n("div", Se, [
|
|
111
|
+
e(i).isReadOnly ? (f(), b("button", {
|
|
112
112
|
key: 0,
|
|
113
113
|
class: "text-c-3 hover:bg-b-3 active:text-c-1 p-2 rounded",
|
|
114
114
|
type: "button",
|
|
115
|
-
onClick: o[1] || (o[1] = (t) => e(
|
|
115
|
+
onClick: o[1] || (o[1] = (t) => e(N).hide())
|
|
116
116
|
}, [
|
|
117
|
-
r(e(
|
|
117
|
+
r(e(w), {
|
|
118
118
|
icon: "Close",
|
|
119
119
|
size: "lg",
|
|
120
120
|
thickness: "1.75"
|
|
121
121
|
})
|
|
122
|
-
])) :
|
|
122
|
+
])) : _("", !0)
|
|
123
123
|
])
|
|
124
124
|
]),
|
|
125
|
-
r(
|
|
125
|
+
r(re, null, {
|
|
126
126
|
default: m(() => [
|
|
127
|
-
|
|
128
|
-
class:
|
|
129
|
-
},
|
|
127
|
+
H(r(e(ve), {
|
|
128
|
+
class: x([c.value ? "sidebar-active-width" : ""])
|
|
129
|
+
}, J({
|
|
130
130
|
content: m(() => [
|
|
131
|
-
r(
|
|
132
|
-
onOpenSearchModal: o[2] || (o[2] = (t) => e(
|
|
131
|
+
r(Z, {
|
|
132
|
+
onOpenSearchModal: o[2] || (o[2] = (t) => e(S).show())
|
|
133
133
|
}),
|
|
134
134
|
n("div", {
|
|
135
135
|
class: "custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-12 pt-2.5",
|
|
@@ -138,27 +138,27 @@ const be = (g) => (X("data-v-0c56ac02"), g = g(), Y(), g), _e = { class: "lg:min
|
|
|
138
138
|
onDragover: o[4] || (o[4] = D(() => {
|
|
139
139
|
}, ["prevent"]))
|
|
140
140
|
}, [
|
|
141
|
-
(f(!0),
|
|
141
|
+
(f(!0), b(O, null, K(e($), (t, a) => (f(), y(fe, {
|
|
142
142
|
key: t.uid,
|
|
143
143
|
isDraggable: !e(i).isReadOnly,
|
|
144
144
|
isDroppable: !e(i).isReadOnly,
|
|
145
145
|
item: t,
|
|
146
146
|
parentUids: [],
|
|
147
|
-
onOnDragEnd: (...
|
|
147
|
+
onOnDragEnd: (...d) => z(t, a, ...d)
|
|
148
148
|
}, {
|
|
149
149
|
leftIcon: m(() => [
|
|
150
|
-
r(e(
|
|
150
|
+
r(e(w), {
|
|
151
151
|
class: "text-sidebar-c-2 text-sm group-hover:hidden",
|
|
152
152
|
icon: "CodeFolder",
|
|
153
153
|
size: "sm",
|
|
154
154
|
thickness: "2"
|
|
155
155
|
}),
|
|
156
156
|
n("div", {
|
|
157
|
-
class:
|
|
158
|
-
"rotate-90": e(
|
|
157
|
+
class: x({
|
|
158
|
+
"rotate-90": e(U)[t.uid]
|
|
159
159
|
})
|
|
160
160
|
}, [
|
|
161
|
-
r(e(
|
|
161
|
+
r(e(w), {
|
|
162
162
|
class: "text-c-3 hidden text-sm group-hover:block",
|
|
163
163
|
icon: "ChevronRight",
|
|
164
164
|
size: "sm"
|
|
@@ -170,12 +170,12 @@ const be = (g) => (X("data-v-0c56ac02"), g = g(), Y(), g), _e = { class: "lg:min
|
|
|
170
170
|
], 32)
|
|
171
171
|
]),
|
|
172
172
|
button: m(() => [
|
|
173
|
-
e(i).isReadOnly ?
|
|
173
|
+
e(i).isReadOnly ? _("", !0) : (f(), y(te, {
|
|
174
174
|
key: 0,
|
|
175
|
-
click:
|
|
175
|
+
click: L
|
|
176
176
|
}, {
|
|
177
177
|
title: m(() => [
|
|
178
|
-
|
|
178
|
+
q("Add Item")
|
|
179
179
|
]),
|
|
180
180
|
_: 1
|
|
181
181
|
}))
|
|
@@ -185,33 +185,33 @@ const be = (g) => (X("data-v-0c56ac02"), g = g(), Y(), g), _e = { class: "lg:min
|
|
|
185
185
|
e(i).isReadOnly ? void 0 : {
|
|
186
186
|
name: "header",
|
|
187
187
|
fn: m(() => [
|
|
188
|
-
r(e(
|
|
188
|
+
r(e(ge))
|
|
189
189
|
]),
|
|
190
190
|
key: "0"
|
|
191
191
|
}
|
|
192
192
|
]), 1032, ["class"]), [
|
|
193
|
-
[
|
|
193
|
+
[Q, c.value]
|
|
194
194
|
]),
|
|
195
|
-
e(
|
|
195
|
+
e(h) ? (f(), y(se, {
|
|
196
196
|
key: 0,
|
|
197
|
-
class:
|
|
197
|
+
class: x(["flex-1", [c.value ? "sidebar-active-hide-layout" : ""]])
|
|
198
198
|
}, {
|
|
199
199
|
default: m(() => {
|
|
200
|
-
var t, a,
|
|
200
|
+
var t, a, d, v, u;
|
|
201
201
|
return [
|
|
202
|
-
r(
|
|
203
|
-
r(
|
|
204
|
-
response: (
|
|
202
|
+
r(ne),
|
|
203
|
+
r(ie, {
|
|
204
|
+
response: (u = (v = (t = e(l)) == null ? void 0 : t.history) == null ? void 0 : v[((d = (a = e(l)) == null ? void 0 : a.history) == null ? void 0 : d.length) - 1]) == null ? void 0 : u.response
|
|
205
205
|
}, null, 8, ["response"])
|
|
206
206
|
];
|
|
207
207
|
}),
|
|
208
208
|
_: 1
|
|
209
|
-
}, 8, ["class"])) :
|
|
209
|
+
}, 8, ["class"])) : _("", !0)
|
|
210
210
|
]),
|
|
211
211
|
_: 1
|
|
212
212
|
})
|
|
213
213
|
], 2),
|
|
214
|
-
r(
|
|
214
|
+
r(ee, { modalState: e(S) }, null, 8, ["modalState"])
|
|
215
215
|
], 64));
|
|
216
216
|
}
|
|
217
217
|
});
|
|
@@ -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":";AAmXA,wBAKG"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useWorkspace as
|
|
1
|
+
import { defineComponent as x, computed as f, ref as A, watch as S, openBlock as k, createBlock as q, withCtx as _, createVNode as l, unref as n, createElementVNode as u, createTextVNode as R, toDisplayString as B, withDirectives as a, vShow as o } from "vue";
|
|
2
|
+
import C from "../../../components/ContextBar.vue.js";
|
|
3
|
+
import E from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
4
|
+
import { useWorkspace as O } from "../../../store/workspace.js";
|
|
5
5
|
import $ from "./RequestAuth.vue.js";
|
|
6
6
|
import g from "./RequestBody.vue.js";
|
|
7
|
-
import
|
|
7
|
+
import r from "./RequestParams.vue.js";
|
|
8
8
|
import H from "./RequestPathParams.vue.js";
|
|
9
|
-
import { ScalarIcon as
|
|
10
|
-
const
|
|
9
|
+
import { ScalarIcon as P } from "@scalar/components";
|
|
10
|
+
const T = { class: "flex-1" }, w = { class: "text-c-3 pl-1" }, K = { class: "request-section-content custom-scroll flex flex-1 flex-col px-2 xl:px-5 py-2.5" }, U = /* @__PURE__ */ x({
|
|
11
11
|
__name: "RequestSection",
|
|
12
|
-
setup(
|
|
13
|
-
const { activeRequest: i, activeExample: m, activeSecurityRequirements:
|
|
12
|
+
setup(N) {
|
|
13
|
+
const { activeRequest: i, activeExample: m, activeSecurityRequirements: d, isReadOnly: h } = O(), c = ["POST", "PUT", "PATCH", "DELETE"], y = f(() => {
|
|
14
14
|
const t = [
|
|
15
15
|
"All",
|
|
16
16
|
"Auth",
|
|
@@ -20,74 +20,74 @@ const P = { class: "flex-1" }, T = { class: "text-c-3 pl-1" }, w = { class: "req
|
|
|
20
20
|
"Query",
|
|
21
21
|
"Body"
|
|
22
22
|
];
|
|
23
|
-
return m.value.parameters.path.length || t.splice(t.indexOf("Request"), 1), c.includes(i.value.method) || t.splice(t.indexOf("Body"), 1),
|
|
24
|
-
}),
|
|
25
|
-
() =>
|
|
26
|
-
), e =
|
|
27
|
-
return
|
|
23
|
+
return m.value.parameters.path.length || t.splice(t.indexOf("Request"), 1), c.includes(i.value.method) || t.splice(t.indexOf("Body"), 1), p.value && t.splice(t.indexOf("Auth"), 1), t;
|
|
24
|
+
}), p = f(
|
|
25
|
+
() => h.value && (d.value.length === 0 || JSON.stringify(d.value) === "[{}]")
|
|
26
|
+
), e = A("All");
|
|
27
|
+
return S(i, (t) => {
|
|
28
28
|
e.value === "Body" && !c.includes(t.method) && (e.value = "All");
|
|
29
|
-
}), (t,
|
|
29
|
+
}), (t, v) => (k(), q(E, null, {
|
|
30
30
|
title: _(() => {
|
|
31
31
|
var s;
|
|
32
32
|
return [
|
|
33
|
-
l(n(
|
|
33
|
+
l(n(P), {
|
|
34
34
|
class: "text-c-3 mr-2",
|
|
35
35
|
icon: "ExternalLink",
|
|
36
36
|
size: "sm",
|
|
37
37
|
thickness: "2.5"
|
|
38
38
|
}),
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
u("div", T, [
|
|
40
|
+
R(" Request "),
|
|
41
|
+
u("span", w, B((s = n(i)) == null ? void 0 : s.summary), 1)
|
|
42
42
|
])
|
|
43
43
|
];
|
|
44
44
|
}),
|
|
45
45
|
default: _(() => [
|
|
46
|
-
|
|
47
|
-
l(
|
|
46
|
+
u("div", K, [
|
|
47
|
+
l(C, {
|
|
48
48
|
activeSection: e.value,
|
|
49
|
-
sections:
|
|
50
|
-
onSetActiveSection:
|
|
49
|
+
sections: y.value,
|
|
50
|
+
onSetActiveSection: v[0] || (v[0] = (s) => e.value = s)
|
|
51
51
|
}, null, 8, ["activeSection", "sections"]),
|
|
52
|
-
|
|
52
|
+
a(l($, { title: "Authentication" }, null, 512), [
|
|
53
53
|
[
|
|
54
|
-
|
|
55
|
-
!
|
|
54
|
+
o,
|
|
55
|
+
!p.value && (e.value === "All" || e.value === "Auth")
|
|
56
56
|
]
|
|
57
57
|
]),
|
|
58
|
-
|
|
58
|
+
a(l(H, {
|
|
59
59
|
paramKey: "path",
|
|
60
60
|
title: "Path Variables"
|
|
61
61
|
}, null, 512), [
|
|
62
62
|
[
|
|
63
|
-
|
|
63
|
+
o,
|
|
64
64
|
(e.value === "All" || e.value === "Request") && n(m).parameters.path.length > 0
|
|
65
65
|
]
|
|
66
66
|
]),
|
|
67
|
-
|
|
67
|
+
a(l(r, {
|
|
68
68
|
paramKey: "cookies",
|
|
69
69
|
title: "Cookies"
|
|
70
70
|
}, null, 512), [
|
|
71
|
-
[
|
|
71
|
+
[o, e.value === "All" || e.value === "Cookies"]
|
|
72
72
|
]),
|
|
73
|
-
|
|
73
|
+
a(l(r, {
|
|
74
74
|
paramKey: "headers",
|
|
75
75
|
title: "Headers"
|
|
76
76
|
}, null, 512), [
|
|
77
|
-
[
|
|
77
|
+
[o, e.value === "All" || e.value === "Headers"]
|
|
78
78
|
]),
|
|
79
|
-
|
|
79
|
+
a(l(r, {
|
|
80
80
|
paramKey: "query",
|
|
81
81
|
title: "Query Parameters"
|
|
82
82
|
}, null, 512), [
|
|
83
|
-
[
|
|
83
|
+
[o, e.value === "All" || e.value === "Query"]
|
|
84
84
|
]),
|
|
85
|
-
|
|
85
|
+
a(l(g, {
|
|
86
86
|
body: "foo",
|
|
87
87
|
title: "Body"
|
|
88
88
|
}, null, 512), [
|
|
89
89
|
[
|
|
90
|
-
|
|
90
|
+
o,
|
|
91
91
|
(e.value === "All" || e.value === "Body") && c.includes(n(i).method)
|
|
92
92
|
]
|
|
93
93
|
])
|
|
@@ -98,5 +98,5 @@ const P = { class: "flex-1" }, T = { class: "text-c-3 pl-1" }, w = { class: "req
|
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
100
|
export {
|
|
101
|
-
|
|
101
|
+
U as default
|
|
102
102
|
};
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.0.
|
|
21
|
+
"version": "2.0.33",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -122,14 +122,14 @@
|
|
|
122
122
|
"vue": "^3.4.29",
|
|
123
123
|
"vue-router": "^4.3.0",
|
|
124
124
|
"zod": "^3.22.4",
|
|
125
|
+
"@scalar/components": "0.12.20",
|
|
125
126
|
"@scalar/oas-utils": "0.2.17",
|
|
126
|
-
"@scalar/
|
|
127
|
-
"@scalar/components": "0.12.19",
|
|
127
|
+
"@scalar/object-utils": "1.1.5",
|
|
128
128
|
"@scalar/draggable": "0.1.3",
|
|
129
129
|
"@scalar/use-codemirror": "0.11.8",
|
|
130
|
+
"@scalar/themes": "0.9.16",
|
|
130
131
|
"@scalar/use-toasts": "0.7.4",
|
|
131
|
-
"@scalar/use-tooltip": "1.0.2"
|
|
132
|
-
"@scalar/object-utils": "1.1.5"
|
|
132
|
+
"@scalar/use-tooltip": "1.0.2"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
135
|
"@types/content-type": "^1.1.8",
|