@scalar/api-client 2.2.50 → 2.2.51
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 +6 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/layouts/App/create-api-client-app.d.ts +12 -12
- package/dist/layouts/Modal/create-api-client-modal.d.ts +24 -24
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +14 -14
- package/dist/layouts/Web/create-api-client-web.d.ts +12 -12
- package/dist/libs/create-client.d.ts +12 -12
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +50 -48
- package/dist/store/request-example.d.ts +2 -2
- package/dist/store/requests.d.ts +4 -4
- package/dist/store/security-schemes.d.ts +6 -6
- package/dist/store/store.d.ts +12 -12
- package/dist/style.css +1 -1
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +124 -120
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +9 -11
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cAsV8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AA4cjD,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Request.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-02ba9b2d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,213 +1,217 @@
|
|
|
1
|
-
import { defineComponent as le, ref as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import qe from "
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import Ve from "./
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
|
|
1
|
+
import { defineComponent as le, ref as V, computed as j, watch as ne, onMounted as ue, onBeforeUnmount as ce, openBlock as i, createElementBlock as g, Fragment as me, unref as t, normalizeClass as z, createElementVNode as ve, createBlock as b, createCommentVNode as B, createVNode as E, withCtx as F } from "vue";
|
|
2
|
+
import { isDefined as de } from "@scalar/oas-utils/helpers";
|
|
3
|
+
import { safeJSON as pe } from "@scalar/object-utils/parse";
|
|
4
|
+
import { useBreakpoints as fe } from "@scalar/use-hooks/useBreakpoints";
|
|
5
|
+
import { useToasts as ye } from "@scalar/use-toasts";
|
|
6
|
+
import { useRouter as Se } from "vue-router";
|
|
7
|
+
import Q from "../../components/EmptyState.vue.js";
|
|
8
|
+
import qe from "../../components/ImportCurl/ImportCurlModal.vue.js";
|
|
9
|
+
import Re from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
10
|
+
import be from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
11
|
+
import { importCurlCommand as ke } from "../../libs/importers/curl.js";
|
|
12
|
+
import { PathId as I } from "../../routes.js";
|
|
13
|
+
import { useActiveEntities as he } from "../../store/active-entities.js";
|
|
14
|
+
import { useOpenApiWatcher as xe } from "./hooks/useOpenApiWatcher.js";
|
|
15
|
+
import we from "./RequestSection/RequestSection.vue.js";
|
|
16
|
+
import Ue from "./RequestSubpageHeader.vue.js";
|
|
17
|
+
import Ve from "./ResponseSection/ResponseSection.vue.js";
|
|
18
|
+
import Ee from "./RequestSidebar.vue.js";
|
|
19
|
+
import { createRequestOperation as Oe } from "../../libs/send-request/create-request-operation.js";
|
|
20
|
+
import { ERRORS as Ce } from "../../libs/errors.js";
|
|
21
|
+
import { useWorkspace as Ne } from "../../store/store.js";
|
|
22
|
+
import { useLayout as ge } from "../../hooks/useLayout.js";
|
|
23
|
+
const Be = { class: "flex h-full" }, Ie = {
|
|
24
|
+
key: 1,
|
|
25
|
+
class: "flex h-full flex-1 flex-col"
|
|
26
|
+
}, rt = /* @__PURE__ */ le({
|
|
23
27
|
__name: "Request",
|
|
24
28
|
emits: ["newTab"],
|
|
25
|
-
setup(
|
|
26
|
-
const $ =
|
|
27
|
-
activeCollection:
|
|
28
|
-
activeExample:
|
|
29
|
-
activeEnvironment:
|
|
30
|
-
activeRequest:
|
|
31
|
-
activeWorkspace:
|
|
29
|
+
setup(We) {
|
|
30
|
+
const $ = Ne(), { toast: W } = ye(), { layout: k } = ge(), {
|
|
31
|
+
activeCollection: l,
|
|
32
|
+
activeExample: v,
|
|
33
|
+
activeEnvironment: h,
|
|
34
|
+
activeRequest: c,
|
|
35
|
+
activeWorkspace: n,
|
|
32
36
|
activeServer: O,
|
|
33
|
-
activeEnvVariables:
|
|
37
|
+
activeEnvVariables: T,
|
|
34
38
|
activeWorkspaceCollections: J,
|
|
35
39
|
activeWorkspaceRequests: P
|
|
36
|
-
} =
|
|
40
|
+
} = he(), {
|
|
37
41
|
cookies: G,
|
|
38
|
-
modalState:
|
|
39
|
-
requestHistory:
|
|
42
|
+
modalState: d,
|
|
43
|
+
requestHistory: D,
|
|
40
44
|
showSidebar: K,
|
|
41
45
|
securitySchemes: X,
|
|
42
46
|
requestMutators: Y,
|
|
43
47
|
serverMutators: Z,
|
|
44
48
|
servers: ee,
|
|
45
|
-
events:
|
|
46
|
-
} = $,
|
|
47
|
-
() =>
|
|
49
|
+
events: x
|
|
50
|
+
} = $, m = V(k !== "modal"), M = V(), e = V(), C = V(""), te = Se(), oe = j(
|
|
51
|
+
() => D.findLast((r) => {
|
|
48
52
|
var o;
|
|
49
|
-
return r.request.uid === ((o =
|
|
53
|
+
return r.request.uid === ((o = v.value) == null ? void 0 : o.uid);
|
|
50
54
|
})
|
|
51
|
-
), { mediaQueries: re } =
|
|
52
|
-
ne(re.xl, (r) =>
|
|
53
|
-
immediate:
|
|
55
|
+
), { mediaQueries: re } = fe();
|
|
56
|
+
ne(re.xl, (r) => m.value = r, {
|
|
57
|
+
immediate: k !== "modal"
|
|
54
58
|
});
|
|
55
|
-
const
|
|
59
|
+
const A = j(
|
|
56
60
|
() => {
|
|
57
61
|
var r, o;
|
|
58
|
-
return (
|
|
62
|
+
return (k === "modal" ? (r = l.value) == null ? void 0 : r.selectedSecuritySchemeUids : (o = c.value) == null ? void 0 : o.selectedSecuritySchemeUids) ?? [];
|
|
59
63
|
}
|
|
60
|
-
),
|
|
61
|
-
var S, q,
|
|
62
|
-
if (!
|
|
64
|
+
), L = async () => {
|
|
65
|
+
var S, q, R, u;
|
|
66
|
+
if (!c.value || !v.value || !l.value)
|
|
63
67
|
return;
|
|
64
|
-
const r = typeof
|
|
68
|
+
const r = typeof h.value == "object" ? h.value.value : "{}", o = pe.parse(r);
|
|
65
69
|
o.error && console.error("INVALID ENVIRONMENT!");
|
|
66
|
-
const a = o.error || typeof o.data != "object" ? {} : o.data ?? {}, s = ((S =
|
|
67
|
-
request:
|
|
68
|
-
example:
|
|
69
|
-
selectedSecuritySchemeUids:
|
|
70
|
-
proxyUrl: ((
|
|
70
|
+
const a = o.error || typeof o.data != "object" ? {} : o.data ?? {}, s = ((S = n.value) == null ? void 0 : S.cookies.map((N) => G[N]).filter(de)) ?? [], w = ((R = (q = l.value) == null ? void 0 : q.info) == null ? void 0 : R.title) === "Drafts" ? void 0 : O.value, [p, f] = Oe({
|
|
71
|
+
request: c.value,
|
|
72
|
+
example: v.value,
|
|
73
|
+
selectedSecuritySchemeUids: A.value,
|
|
74
|
+
proxyUrl: ((u = n.value) == null ? void 0 : u.proxyUrl) ?? "",
|
|
71
75
|
environment: a,
|
|
72
76
|
globalCookies: s,
|
|
73
|
-
status:
|
|
77
|
+
status: x.requestStatus,
|
|
74
78
|
securitySchemes: X,
|
|
75
|
-
server:
|
|
79
|
+
server: w
|
|
76
80
|
});
|
|
77
|
-
if (
|
|
78
|
-
|
|
81
|
+
if (p) {
|
|
82
|
+
W(p.message, "error");
|
|
79
83
|
return;
|
|
80
84
|
}
|
|
81
|
-
|
|
82
|
-
const [
|
|
83
|
-
|
|
85
|
+
M.value = f.controller;
|
|
86
|
+
const [y, U] = await f.sendRequest();
|
|
87
|
+
y ? W(y.message, "error") : D.push(U);
|
|
84
88
|
}, se = async () => {
|
|
85
89
|
var r;
|
|
86
|
-
return (r =
|
|
90
|
+
return (r = M.value) == null ? void 0 : r.abort(Ce.REQUEST_ABORTED);
|
|
87
91
|
};
|
|
88
92
|
ue(() => {
|
|
89
|
-
|
|
90
|
-
}),
|
|
93
|
+
x.executeRequest.on(L), x.cancelRequest.on(se);
|
|
94
|
+
}), xe(), ce(() => x.executeRequest.off(L));
|
|
91
95
|
function ae({
|
|
92
96
|
requestName: r,
|
|
93
97
|
collectionUid: o
|
|
94
98
|
}) {
|
|
95
|
-
var
|
|
99
|
+
var p, f, y, U, S, q, R;
|
|
96
100
|
if (!e.value) return;
|
|
97
101
|
const a = J.value.find(
|
|
98
|
-
(
|
|
102
|
+
(u) => u.uid === o
|
|
99
103
|
);
|
|
100
104
|
if (!a) return;
|
|
101
|
-
const s = ((
|
|
105
|
+
const s = ((p = a == null ? void 0 : a.info) == null ? void 0 : p.title) === "Drafts";
|
|
102
106
|
if (!s && e.value.servers) {
|
|
103
|
-
const
|
|
107
|
+
const u = Object.values(ee).find(
|
|
104
108
|
(N) => {
|
|
105
|
-
var
|
|
106
|
-
return N.url === ((
|
|
109
|
+
var H, _;
|
|
110
|
+
return N.url === ((_ = (H = e == null ? void 0 : e.value) == null ? void 0 : H.servers) == null ? void 0 : _[0]);
|
|
107
111
|
}
|
|
108
112
|
);
|
|
109
|
-
|
|
113
|
+
u ? C.value = u.uid : C.value = Z.add(
|
|
110
114
|
{ url: e.value.servers[0] ?? "/" },
|
|
111
115
|
a.uid
|
|
112
116
|
).uid;
|
|
113
117
|
}
|
|
114
|
-
const
|
|
118
|
+
const w = Y.add(
|
|
115
119
|
{
|
|
116
120
|
summary: r,
|
|
117
|
-
path: s ? (
|
|
118
|
-
method: (
|
|
121
|
+
path: s ? (f = e == null ? void 0 : e.value) == null ? void 0 : f.url : (y = e == null ? void 0 : e.value) == null ? void 0 : y.path,
|
|
122
|
+
method: (U = e == null ? void 0 : e.value) == null ? void 0 : U.method,
|
|
119
123
|
parameters: (S = e == null ? void 0 : e.value) == null ? void 0 : S.parameters,
|
|
120
124
|
selectedServerUid: s ? void 0 : C.value,
|
|
121
125
|
requestBody: (q = e == null ? void 0 : e.value) == null ? void 0 : q.requestBody
|
|
122
126
|
},
|
|
123
127
|
a.uid
|
|
124
128
|
);
|
|
125
|
-
|
|
129
|
+
w && ((R = n.value) != null && R.uid) && te.push({
|
|
126
130
|
name: "request",
|
|
127
131
|
params: {
|
|
128
|
-
[
|
|
129
|
-
[
|
|
130
|
-
[
|
|
132
|
+
[I.Workspace]: n.value.uid,
|
|
133
|
+
[I.Collection]: a.uid,
|
|
134
|
+
[I.Request]: w.uid
|
|
131
135
|
}
|
|
132
|
-
}),
|
|
136
|
+
}), d.hide();
|
|
133
137
|
}
|
|
134
138
|
function ie(r) {
|
|
135
|
-
e.value =
|
|
139
|
+
e.value = ke(r), d.show();
|
|
136
140
|
}
|
|
137
141
|
return (r, o) => {
|
|
138
142
|
var a;
|
|
139
|
-
return
|
|
140
|
-
t(
|
|
143
|
+
return i(), g(me, null, [
|
|
144
|
+
t(l) && t(n) ? (i(), g("div", {
|
|
141
145
|
key: 0,
|
|
142
|
-
class: z(["
|
|
143
|
-
"!
|
|
146
|
+
class: z(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0", {
|
|
147
|
+
"!mb-0 !mr-0 !border-0": t(k) === "modal"
|
|
144
148
|
}])
|
|
145
149
|
}, [
|
|
146
|
-
|
|
147
|
-
t(K) ? (
|
|
150
|
+
ve("div", Be, [
|
|
151
|
+
t(K) ? (i(), b(Ee, {
|
|
148
152
|
key: 0,
|
|
149
|
-
isSidebarOpen:
|
|
153
|
+
isSidebarOpen: m.value,
|
|
150
154
|
onNewTab: o[0] || (o[0] = (s) => r.$emit("newTab", s)),
|
|
151
|
-
"onUpdate:isSidebarOpen": o[1] || (o[1] = (s) =>
|
|
152
|
-
}, null, 8, ["isSidebarOpen"])) :
|
|
153
|
-
|
|
154
|
-
E(
|
|
155
|
-
modelValue:
|
|
156
|
-
"onUpdate:modelValue": o[2] || (o[2] = (s) =>
|
|
157
|
-
collection: t(
|
|
158
|
-
envVariables: t(
|
|
159
|
-
environment: t(
|
|
160
|
-
operation: t(
|
|
155
|
+
"onUpdate:isSidebarOpen": o[1] || (o[1] = (s) => m.value = s)
|
|
156
|
+
}, null, 8, ["isSidebarOpen"])) : B("", !0),
|
|
157
|
+
t(c) ? (i(), g("div", Ie, [
|
|
158
|
+
E(Ue, {
|
|
159
|
+
modelValue: m.value,
|
|
160
|
+
"onUpdate:modelValue": o[2] || (o[2] = (s) => m.value = s),
|
|
161
|
+
collection: t(l),
|
|
162
|
+
envVariables: t(T),
|
|
163
|
+
environment: t(h),
|
|
164
|
+
operation: t(c),
|
|
161
165
|
server: t(O),
|
|
162
|
-
workspace: t(
|
|
163
|
-
onHideModal: o[3] || (o[3] = () => t(
|
|
166
|
+
workspace: t(n),
|
|
167
|
+
onHideModal: o[3] || (o[3] = () => t(d).hide()),
|
|
164
168
|
onImportCurl: ie
|
|
165
169
|
}, null, 8, ["modelValue", "collection", "envVariables", "environment", "operation", "server", "workspace"]),
|
|
166
|
-
E(
|
|
167
|
-
default:
|
|
168
|
-
t(
|
|
170
|
+
E(Re, null, {
|
|
171
|
+
default: F(() => [
|
|
172
|
+
t(v) ? (i(), b(be, {
|
|
169
173
|
key: 0,
|
|
170
|
-
class: z(["flex-1", [
|
|
174
|
+
class: z(["flex-1", [m.value ? "sidebar-active-hide-layout" : ""]])
|
|
171
175
|
}, {
|
|
172
|
-
default:
|
|
176
|
+
default: F(() => {
|
|
173
177
|
var s;
|
|
174
178
|
return [
|
|
175
|
-
E(
|
|
176
|
-
collection: t(
|
|
177
|
-
envVariables: t(
|
|
178
|
-
environment: t(
|
|
179
|
-
example: t(
|
|
180
|
-
operation: t(
|
|
181
|
-
selectedSecuritySchemeUids:
|
|
179
|
+
E(we, {
|
|
180
|
+
collection: t(l),
|
|
181
|
+
envVariables: t(T),
|
|
182
|
+
environment: t(h),
|
|
183
|
+
example: t(v),
|
|
184
|
+
operation: t(c),
|
|
185
|
+
selectedSecuritySchemeUids: A.value,
|
|
182
186
|
server: t(O),
|
|
183
|
-
workspace: t(
|
|
187
|
+
workspace: t(n)
|
|
184
188
|
}, null, 8, ["collection", "envVariables", "environment", "example", "operation", "selectedSecuritySchemeUids", "server", "workspace"]),
|
|
185
|
-
E(
|
|
189
|
+
E(Ve, {
|
|
186
190
|
numWorkspaceRequests: t(P).length,
|
|
187
191
|
response: (s = oe.value) == null ? void 0 : s.response
|
|
188
192
|
}, null, 8, ["numWorkspaceRequests", "response"])
|
|
189
193
|
];
|
|
190
194
|
}),
|
|
191
195
|
_: 1
|
|
192
|
-
}, 8, ["class"])) :
|
|
196
|
+
}, 8, ["class"])) : B("", !0)
|
|
193
197
|
]),
|
|
194
198
|
_: 1
|
|
195
199
|
})
|
|
196
|
-
])
|
|
200
|
+
])) : (i(), b(Q, { key: 2 }))
|
|
197
201
|
])
|
|
198
|
-
], 2)) :
|
|
199
|
-
e.value ? (
|
|
200
|
-
key:
|
|
201
|
-
collectionUid: ((a = t(
|
|
202
|
+
], 2)) : (i(), b(Q, { key: 1 })),
|
|
203
|
+
e.value ? (i(), b(qe, {
|
|
204
|
+
key: 2,
|
|
205
|
+
collectionUid: ((a = t(l)) == null ? void 0 : a.uid) ?? "",
|
|
202
206
|
parsedCurl: e.value,
|
|
203
|
-
state: t(
|
|
204
|
-
onClose: o[4] || (o[4] = (s) => t(
|
|
207
|
+
state: t(d),
|
|
208
|
+
onClose: o[4] || (o[4] = (s) => t(d).hide()),
|
|
205
209
|
onImportCurl: ae
|
|
206
|
-
}, null, 8, ["collectionUid", "parsedCurl", "state"])) :
|
|
210
|
+
}, null, 8, ["collectionUid", "parsedCurl", "state"])) : B("", !0)
|
|
207
211
|
], 64);
|
|
208
212
|
};
|
|
209
213
|
}
|
|
210
214
|
});
|
|
211
215
|
export {
|
|
212
|
-
|
|
216
|
+
rt as default
|
|
213
217
|
};
|
|
@@ -19,7 +19,7 @@ const V = { class: "border-t relative col-1 flex-center gap-6 p-2 capitalize" },
|
|
|
19
19
|
r.commandPalette.emit({ commandName: "Create Request" });
|
|
20
20
|
}, d = (o) => {
|
|
21
21
|
o != null && o.createNew && y.name === "request" && u();
|
|
22
|
-
}, k = "2.2.
|
|
22
|
+
}, k = "2.2.51";
|
|
23
23
|
return g(() => r.hotKeys.on(d)), R(() => r.hotKeys.off(d)), (o, e) => (n(), m("div", V, [
|
|
24
24
|
s("div", {
|
|
25
25
|
class: f(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsGeneral.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Settings/SettingsGeneral.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SettingsGeneral.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Settings/SettingsGeneral.vue"],"names":[],"mappings":";AA22BA,wBAMG"}
|
|
@@ -50,7 +50,7 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
|
|
|
50
50
|
return (x, t) => (d(), S("div", D, [
|
|
51
51
|
r("div", G, [
|
|
52
52
|
r("div", q, [
|
|
53
|
-
t[
|
|
53
|
+
t[13] || (t[13] = r("div", null, [
|
|
54
54
|
r("h2", { class: "mt-10 text-xl font-bold" }, "Settings")
|
|
55
55
|
], -1)),
|
|
56
56
|
c(C, null, {
|
|
@@ -89,7 +89,6 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
|
|
|
89
89
|
default: n(() => {
|
|
90
90
|
var l, p;
|
|
91
91
|
return [
|
|
92
|
-
t[5] || (t[5] = a(' "> ')),
|
|
93
92
|
r("div", {
|
|
94
93
|
class: f(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", {
|
|
95
94
|
"bg-c-accent text-b-1 border-transparent": ((l = e(o)) == null ? void 0 : l.proxyUrl) === w
|
|
@@ -102,7 +101,7 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
|
|
|
102
101
|
thickness: "3.5"
|
|
103
102
|
})) : b("", !0)
|
|
104
103
|
], 2),
|
|
105
|
-
t[
|
|
104
|
+
t[5] || (t[5] = a(" Use proxy.scalar.com (default) "))
|
|
106
105
|
];
|
|
107
106
|
}),
|
|
108
107
|
_: 1
|
|
@@ -121,7 +120,6 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
|
|
|
121
120
|
default: n(() => {
|
|
122
121
|
var l, p;
|
|
123
122
|
return [
|
|
124
|
-
t[7] || (t[7] = a(' "> ')),
|
|
125
123
|
r("div", {
|
|
126
124
|
class: f(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", {
|
|
127
125
|
"bg-c-accent text-b-1 border-transparent": ((l = e(o)) == null ? void 0 : l.proxyUrl) === e(k)
|
|
@@ -159,7 +157,7 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
|
|
|
159
157
|
thickness: "3.5"
|
|
160
158
|
}))
|
|
161
159
|
], 2),
|
|
162
|
-
t[
|
|
160
|
+
t[6] || (t[6] = a(" Skip the proxy "))
|
|
163
161
|
];
|
|
164
162
|
}),
|
|
165
163
|
_: 1
|
|
@@ -170,10 +168,10 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
|
|
|
170
168
|
_: 1
|
|
171
169
|
}),
|
|
172
170
|
c(C, null, {
|
|
173
|
-
title: n(() => t[
|
|
171
|
+
title: n(() => t[7] || (t[7] = [
|
|
174
172
|
a(" Themes ")
|
|
175
173
|
])),
|
|
176
|
-
description: n(() => t[
|
|
174
|
+
description: n(() => t[8] || (t[8] = [
|
|
177
175
|
a(" We’ve got a whole rainbow of themes for you to play with: ")
|
|
178
176
|
])),
|
|
179
177
|
default: n(() => [
|
|
@@ -241,10 +239,10 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
|
|
|
241
239
|
_: 1
|
|
242
240
|
}),
|
|
243
241
|
c(C, null, {
|
|
244
|
-
title: n(() => t[
|
|
242
|
+
title: n(() => t[9] || (t[9] = [
|
|
245
243
|
a(" Framework Themes ")
|
|
246
244
|
])),
|
|
247
|
-
description: n(() => t[
|
|
245
|
+
description: n(() => t[10] || (t[10] = [
|
|
248
246
|
a(" Are you a real fan? Show your support by using your favorite framework’s theme! ")
|
|
249
247
|
])),
|
|
250
248
|
default: n(() => [
|
|
@@ -295,10 +293,10 @@ const D = { class: "bg-b-1 h-full w-full overflow-auto" }, G = { class: "ml-auto
|
|
|
295
293
|
_: 1
|
|
296
294
|
}),
|
|
297
295
|
c(C, null, {
|
|
298
|
-
title: n(() => t[
|
|
296
|
+
title: n(() => t[11] || (t[11] = [
|
|
299
297
|
a(" Appearance ")
|
|
300
298
|
])),
|
|
301
|
-
description: n(() => t[
|
|
299
|
+
description: n(() => t[12] || (t[12] = [
|
|
302
300
|
a(" Choose between light, dark, or system-based appearance for your workspace. ")
|
|
303
301
|
])),
|
|
304
302
|
default: n(() => [
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.2.
|
|
21
|
+
"version": "2.2.51",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -193,22 +193,22 @@
|
|
|
193
193
|
"whatwg-mimetype": "^4.0.0",
|
|
194
194
|
"yaml": "^2.4.5",
|
|
195
195
|
"zod": "^3.23.8",
|
|
196
|
-
"@scalar/draggable": "0.1.10",
|
|
197
|
-
"@scalar/components": "0.13.25",
|
|
198
196
|
"@scalar/icons": "0.1.3",
|
|
199
197
|
"@scalar/import": "0.2.27",
|
|
200
198
|
"@scalar/oas-utils": "0.2.107",
|
|
201
|
-
"@scalar/object-utils": "1.1.13",
|
|
202
199
|
"@scalar/openapi-parser": "0.10.8",
|
|
203
|
-
"@scalar/openapi-types": "0.1.8",
|
|
204
200
|
"@scalar/postman-to-openapi": "0.1.30",
|
|
201
|
+
"@scalar/openapi-types": "0.1.8",
|
|
202
|
+
"@scalar/object-utils": "1.1.13",
|
|
205
203
|
"@scalar/snippetz": "0.2.14",
|
|
206
204
|
"@scalar/themes": "0.9.68",
|
|
207
205
|
"@scalar/types": "0.0.34",
|
|
208
|
-
"@scalar/use-codemirror": "0.11.70",
|
|
209
|
-
"@scalar/use-toasts": "0.7.9",
|
|
210
206
|
"@scalar/use-hooks": "0.1.22",
|
|
211
|
-
"@scalar/use-
|
|
207
|
+
"@scalar/use-toasts": "0.7.9",
|
|
208
|
+
"@scalar/use-codemirror": "0.11.70",
|
|
209
|
+
"@scalar/use-tooltip": "1.0.6",
|
|
210
|
+
"@scalar/components": "0.13.25",
|
|
211
|
+
"@scalar/draggable": "0.1.10"
|
|
212
212
|
},
|
|
213
213
|
"devDependencies": {
|
|
214
214
|
"@types/shell-quote": "^1.7.5",
|