@scalar/api-client 2.23.4 → 2.24.0
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 +35 -0
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +8 -0
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +33 -29
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +6 -0
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
- package/dist/v2/blocks/operation-block/components/Header.vue2.js +46 -29
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts +15 -0
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js +125 -0
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue2.js +4 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +6 -6
- package/dist/v2/features/app/App.vue.d.ts +5 -0
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +89 -108
- package/dist/v2/features/app/app-state.d.ts +5 -7
- package/dist/v2/features/app/app-state.d.ts.map +1 -1
- package/dist/v2/features/app/app-state.js +210 -205
- package/dist/v2/features/app/hooks/use-document-watcher.js +8 -8
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Environment.vue.js +12 -11
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Settings.vue.js +17 -25
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +115 -118
- package/dist/v2/features/{import-listener → command-palette}/helpers/generate-unique-slug.d.ts.map +1 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts +14 -4
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts.map +1 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js +5 -6
- package/dist/v2/features/{import-listener → command-palette}/helpers/import-document-to-workspace.d.ts.map +1 -1
- package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts +16 -0
- package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts.map +1 -0
- package/dist/v2/features/command-palette/helpers/load-document-from-source.js +34 -0
- package/dist/v2/features/command-palette/index.d.ts +4 -0
- package/dist/v2/features/command-palette/index.d.ts.map +1 -0
- package/dist/v2/features/command-palette/index.js +8 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +4 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/EnvironmentsList.vue.js +29 -27
- package/dist/v2/features/environments/components/Environment.vue.d.ts +1 -0
- package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/Environment.vue.js +37 -24
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +2 -2
- package/dist/v2/features/modal/Modal.vue2.js +39 -38
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +35 -26
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +7 -0
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +15 -15
- package/dist/v2/features/import-listener/ImportListener.vue.d.ts +0 -52
- package/dist/v2/features/import-listener/ImportListener.vue.d.ts.map +0 -1
- package/dist/v2/features/import-listener/ImportListener.vue.js +0 -91
- package/dist/v2/features/import-listener/ImportListener.vue2.js +0 -4
- package/dist/v2/features/import-listener/components/DropEventListener.vue.d.ts +0 -7
- package/dist/v2/features/import-listener/components/DropEventListener.vue.d.ts.map +0 -1
- package/dist/v2/features/import-listener/components/DropEventListener.vue.js +0 -81
- package/dist/v2/features/import-listener/components/DropEventListener.vue2.js +0 -4
- package/dist/v2/features/import-listener/components/ImportModal.vue.d.ts +0 -40
- package/dist/v2/features/import-listener/components/ImportModal.vue.d.ts.map +0 -1
- package/dist/v2/features/import-listener/components/ImportModal.vue.js +0 -170
- package/dist/v2/features/import-listener/components/ImportModal.vue3.js +0 -5
- package/dist/v2/features/import-listener/components/WorkspaceSelector.vue.d.ts +0 -29
- package/dist/v2/features/import-listener/components/WorkspaceSelector.vue.d.ts.map +0 -1
- package/dist/v2/features/import-listener/components/WorkspaceSelector.vue.js +0 -83
- package/dist/v2/features/import-listener/components/WorkspaceSelector.vue2.js +0 -4
- package/dist/v2/features/import-listener/helpers/get-url-query-parameter.d.ts +0 -8
- package/dist/v2/features/import-listener/helpers/get-url-query-parameter.d.ts.map +0 -1
- package/dist/v2/features/import-listener/helpers/get-url-query-parameter.js +0 -4
- package/dist/v2/features/import-listener/helpers/load-document-from-source.d.ts +0 -15
- package/dist/v2/features/import-listener/helpers/load-document-from-source.d.ts.map +0 -1
- package/dist/v2/features/import-listener/helpers/load-document-from-source.js +0 -28
- package/dist/v2/features/import-listener/helpers/wait-for-condition.d.ts +0 -15
- package/dist/v2/features/import-listener/helpers/wait-for-condition.d.ts.map +0 -1
- package/dist/v2/features/import-listener/helpers/wait-for-condition.js +0 -16
- package/dist/v2/features/import-listener/index.d.ts +0 -2
- package/dist/v2/features/import-listener/index.d.ts.map +0 -1
- package/dist/v2/features/import-listener/index.js +0 -4
- /package/dist/v2/features/{import-listener → command-palette}/helpers/generate-unique-slug.d.ts +0 -0
- /package/dist/v2/features/{import-listener → command-palette}/helpers/generate-unique-slug.js +0 -0
- /package/dist/v2/features/{import-listener → command-palette}/helpers/import-document-to-workspace.d.ts +0 -0
- /package/dist/v2/features/{import-listener → command-palette}/helpers/import-document-to-workspace.js +0 -0
|
@@ -1,66 +1,68 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as y, ref as p, createElementBlock as v, openBlock as c, Fragment as u, createElementVNode as T, createVNode as i, renderList as x, createBlock as b, unref as r, withCtx as g, createTextVNode as h } from "vue";
|
|
2
2
|
import { useModal as d, ScalarButton as k } from "@scalar/components";
|
|
3
3
|
import { ScalarIconPlus as M } from "@scalar/icons";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import S from "./components/EnvironmentCreateModal.vue.js";
|
|
5
|
+
import N from "./components/EnvironmentDeleteModal.vue.js";
|
|
6
6
|
import w from "./components/Environment.vue.js";
|
|
7
|
-
const
|
|
7
|
+
const A = { class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4" }, z = /* @__PURE__ */ y({
|
|
8
8
|
__name: "EnvironmentsList",
|
|
9
9
|
props: {
|
|
10
10
|
environments: {},
|
|
11
11
|
eventBus: {},
|
|
12
|
+
activeEnvironment: {},
|
|
12
13
|
collectionType: {}
|
|
13
14
|
},
|
|
14
15
|
setup(e) {
|
|
15
|
-
const s = d(), m = d(), t =
|
|
16
|
-
t.value =
|
|
17
|
-
},
|
|
16
|
+
const s = d(), m = d(), t = p(null), f = (o) => {
|
|
17
|
+
t.value = o, m.show();
|
|
18
|
+
}, E = () => {
|
|
18
19
|
t.value && e.eventBus.emit("environment:delete:environment", {
|
|
19
20
|
environmentName: t.value,
|
|
20
21
|
collectionType: e.collectionType
|
|
21
22
|
});
|
|
22
|
-
}, a = (
|
|
23
|
-
t.value =
|
|
23
|
+
}, a = (o) => {
|
|
24
|
+
t.value = o ?? null, s.show();
|
|
24
25
|
};
|
|
25
|
-
return (
|
|
26
|
-
(c(!0), u
|
|
27
|
-
key:
|
|
26
|
+
return (o, l) => (c(), v(u, null, [
|
|
27
|
+
(c(!0), v(u, null, x(Object.entries(e.environments), ([n, B]) => (c(), b(w, {
|
|
28
|
+
key: n,
|
|
28
29
|
collectionType: e.collectionType,
|
|
29
30
|
environment: B,
|
|
30
|
-
environmentName:
|
|
31
|
+
environmentName: n,
|
|
31
32
|
eventBus: e.eventBus,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
isActive: e.activeEnvironment === n,
|
|
34
|
+
onDelete: () => f(n),
|
|
35
|
+
onEdit: () => a(n)
|
|
36
|
+
}, null, 8, ["collectionType", "environment", "environmentName", "eventBus", "isActive", "onDelete", "onEdit"]))), 128)),
|
|
37
|
+
T("div", A, [
|
|
38
|
+
i(r(k), {
|
|
37
39
|
class: "hover:bg-b-2 hover:text-c-1 flex items-center gap-2",
|
|
38
40
|
size: "sm",
|
|
39
41
|
variant: "ghost",
|
|
40
|
-
onClick:
|
|
42
|
+
onClick: l[0] || (l[0] = () => a())
|
|
41
43
|
}, {
|
|
42
44
|
default: g(() => [
|
|
43
|
-
r(
|
|
44
|
-
|
|
45
|
+
i(r(M)),
|
|
46
|
+
l[1] || (l[1] = h(" Add Environment ", -1))
|
|
45
47
|
]),
|
|
46
48
|
_: 1
|
|
47
49
|
})
|
|
48
50
|
]),
|
|
49
|
-
|
|
51
|
+
i(S, {
|
|
50
52
|
collectionType: e.collectionType,
|
|
51
53
|
environments: e.environments,
|
|
52
54
|
eventBus: e.eventBus,
|
|
53
55
|
selectedEnvironmentName: t.value,
|
|
54
|
-
state:
|
|
56
|
+
state: r(s)
|
|
55
57
|
}, null, 8, ["collectionType", "environments", "eventBus", "selectedEnvironmentName", "state"]),
|
|
56
|
-
|
|
58
|
+
i(N, {
|
|
57
59
|
name: t.value,
|
|
58
|
-
state:
|
|
59
|
-
onSubmit:
|
|
60
|
+
state: r(m),
|
|
61
|
+
onSubmit: E
|
|
60
62
|
}, null, 8, ["name", "state"])
|
|
61
63
|
], 64));
|
|
62
64
|
}
|
|
63
65
|
});
|
|
64
66
|
export {
|
|
65
|
-
|
|
67
|
+
z as default
|
|
66
68
|
};
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
environment: XScalarEnvironment;
|
|
5
5
|
environmentName: string;
|
|
6
6
|
eventBus: WorkspaceEventBus;
|
|
7
|
+
isActive?: boolean;
|
|
7
8
|
} & CollectionType;
|
|
8
9
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
10
|
delete: () => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/Environment.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/Environment.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAInH,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,kBAAkB,CAAA;IAC/B,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,cAAc,CAAC;;;;;;;;AA6LrB,wBAOG"}
|
|
@@ -1,53 +1,66 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIconButton as
|
|
3
|
-
import { ScalarIconNotePencil as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as v, createElementBlock as s, openBlock as c, normalizeClass as r, createElementVNode as n, createVNode as i, createCommentVNode as u, normalizeStyle as f, toDisplayString as x, createTextVNode as p, unref as o } from "vue";
|
|
2
|
+
import { ScalarIconButton as a } from "@scalar/components";
|
|
3
|
+
import { ScalarIconNotePencil as b, ScalarIconTrash as g } from "@scalar/icons";
|
|
4
|
+
import y from "./EnvironmentVariablesTable.vue.js";
|
|
5
|
+
const N = { class: "flex items-center gap-1.5" }, B = { class: "flex h-6 w-6 items-center justify-center p-1" }, T = { class: "px-1 py-0.5 text-sm font-medium" }, h = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "bg-c-accent text-b-1 flex items-center gap-1 rounded px-1.5 py-0.5 text-xs font-medium",
|
|
8
|
+
title: "This is the active environment"
|
|
9
|
+
}, E = { class: "hidden flex-row items-center gap-1 group-hover:flex" }, V = /* @__PURE__ */ v({
|
|
6
10
|
__name: "Environment",
|
|
7
11
|
props: {
|
|
8
12
|
environment: {},
|
|
9
13
|
environmentName: {},
|
|
10
14
|
eventBus: {},
|
|
15
|
+
isActive: { type: Boolean, default: !1 },
|
|
11
16
|
collectionType: {}
|
|
12
17
|
},
|
|
13
18
|
emits: ["edit", "delete"],
|
|
14
|
-
setup(e, { emit:
|
|
15
|
-
const l =
|
|
16
|
-
return (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
setup(e, { emit: m }) {
|
|
20
|
+
const l = m;
|
|
21
|
+
return (k, t) => (c(), s("div", {
|
|
22
|
+
class: r(["group relative rounded-lg border transition-colors", e.isActive ? "border-c-accent bg-c-accent/5" : ""])
|
|
23
|
+
}, [
|
|
24
|
+
n("div", {
|
|
25
|
+
class: r(["flex justify-between rounded-t-lg px-1 py-1 text-sm", e.isActive ? "bg-c-accent/10" : "bg-b-2"])
|
|
26
|
+
}, [
|
|
27
|
+
n("div", N, [
|
|
28
|
+
n("div", B, [
|
|
20
29
|
n("span", {
|
|
21
30
|
class: "h-2.5 w-2.5 rounded-full",
|
|
22
|
-
style:
|
|
31
|
+
style: f({ backgroundColor: e.environment.color })
|
|
23
32
|
}, null, 4)
|
|
24
33
|
]),
|
|
25
|
-
n("span",
|
|
34
|
+
n("span", T, x(e.environmentName), 1),
|
|
35
|
+
e.isActive ? (c(), s("span", h, [...t[2] || (t[2] = [
|
|
36
|
+
n("span", { class: "size-1.5 rounded-full bg-current" }, null, -1),
|
|
37
|
+
p(" Active ", -1)
|
|
38
|
+
])])) : u("", !0)
|
|
26
39
|
]),
|
|
27
|
-
n("div",
|
|
28
|
-
i(o(
|
|
29
|
-
icon: o(
|
|
40
|
+
n("div", E, [
|
|
41
|
+
i(o(a), {
|
|
42
|
+
icon: o(b),
|
|
30
43
|
label: "Edit Environment",
|
|
31
44
|
size: "sm",
|
|
32
|
-
onClick: t[0] || (t[0] = (
|
|
45
|
+
onClick: t[0] || (t[0] = (d) => l("edit"))
|
|
33
46
|
}, null, 8, ["icon"]),
|
|
34
|
-
i(o(
|
|
35
|
-
icon: o(
|
|
47
|
+
i(o(a), {
|
|
48
|
+
icon: o(g),
|
|
36
49
|
label: "Delete Environment",
|
|
37
50
|
size: "sm",
|
|
38
|
-
onClick: t[1] || (t[1] = (
|
|
51
|
+
onClick: t[1] || (t[1] = (d) => l("delete"))
|
|
39
52
|
}, null, 8, ["icon"])
|
|
40
53
|
])
|
|
41
|
-
]),
|
|
42
|
-
i(
|
|
54
|
+
], 2),
|
|
55
|
+
i(y, {
|
|
43
56
|
collectionType: e.collectionType,
|
|
44
57
|
environment: e.environment,
|
|
45
58
|
environmentName: e.environmentName,
|
|
46
59
|
eventBus: e.eventBus
|
|
47
60
|
}, null, 8, ["collectionType", "environment", "environmentName", "eventBus"])
|
|
48
|
-
]));
|
|
61
|
+
], 2));
|
|
49
62
|
}
|
|
50
63
|
});
|
|
51
64
|
export {
|
|
52
|
-
|
|
65
|
+
V as default
|
|
53
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/modal/Modal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/modal/Modal.vue"],"names":[],"mappings":"AAsWA,OAAO,EAGL,KAAK,UAAU,EAEhB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAE/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAExE,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACtB,MAAM,KAAK,CAAA;AAIZ,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AAIxF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKxD,MAAM,MAAM,UAAU,GAAG;IACvB,4DAA4D;IAC5D,cAAc,EAAE,cAAc,CAAA;IAC9B,qDAAqD;IACrD,QAAQ,EAAE,WAAW,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAA;IAC/C,iDAAiD;IACjD,IAAI,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IACrC,4CAA4C;IAC5C,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,mDAAmD;IACnD,MAAM,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC,CAAA;IAC3C,yDAAyD;IACzD,WAAW,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC5C,2CAA2C;IAC3C,UAAU,EAAE,UAAU,CAAA;IACtB,0DAA0D;IAC1D,YAAY,EAAE,qBAAqB,CAAA;IACnC,iDAAiD;IACjD,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,wDAAwD;IACxD,OAAO,EAAE,gBAAgB,CACvB,OAAO,CACL,IAAI,CACF,4BAA4B,EAC1B,gBAAgB,GAChB,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,SAAS,CACZ,CACF,CACF,CAAA;CACF,CAAA;AAED;;;;GAIG;;;;;AACH,wBAwVC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Modal.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-07c87e38"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as I, ref as w, useId as N, watch as W, nextTick as E, onBeforeMount as F, onBeforeUnmount as U, computed as u, toValue as V, withDirectives as d, createElementBlock as m, openBlock as r, createElementVNode as i, unref as o, createVNode as l, withCtx as D, vShow as v } from "vue";
|
|
2
2
|
import { addScalarClassesToHeadless as $, ScalarTeleportRoot as A } from "@scalar/components";
|
|
3
3
|
import { ScalarToasts as z } from "@scalar/use-toasts";
|
|
4
4
|
import { useFocusTrap as H } from "@vueuse/integrations/useFocusTrap";
|
|
@@ -16,7 +16,7 @@ const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q =
|
|
|
16
16
|
}, Y = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: "flex h-full w-full items-center justify-center"
|
|
19
|
-
}, Z = {}, me = /* @__PURE__ */
|
|
19
|
+
}, Z = {}, me = /* @__PURE__ */ I({
|
|
20
20
|
...Z,
|
|
21
21
|
__name: "Modal",
|
|
22
22
|
props: {
|
|
@@ -32,8 +32,7 @@ const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q =
|
|
|
32
32
|
options: {}
|
|
33
33
|
},
|
|
34
34
|
setup(e, { expose: x }) {
|
|
35
|
-
|
|
36
|
-
const r = {
|
|
35
|
+
const f = {
|
|
37
36
|
label: "default",
|
|
38
37
|
id: "default"
|
|
39
38
|
}, n = w(!1);
|
|
@@ -44,39 +43,39 @@ const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q =
|
|
|
44
43
|
modalState: e.modalState,
|
|
45
44
|
store: e.workspaceStore
|
|
46
45
|
}), j(e.eventBus, "modal");
|
|
47
|
-
const
|
|
46
|
+
const S = w(null), h = N(), { activate: y, deactivate: B } = H(S, {
|
|
48
47
|
allowOutsideClick: !0,
|
|
49
|
-
fallbackFocus: `#${
|
|
50
|
-
}),
|
|
48
|
+
fallbackFocus: `#${h}`
|
|
49
|
+
}), b = () => {
|
|
51
50
|
B(), e.eventBus.emit("operation:cancel:request");
|
|
52
|
-
},
|
|
53
|
-
|
|
51
|
+
}, g = q(() => typeof window < "u" ? window.document.body : null);
|
|
52
|
+
W(
|
|
54
53
|
() => e.modalState.open,
|
|
55
54
|
(a) => {
|
|
56
|
-
|
|
55
|
+
g.value = a, a ? y({ checkCanFocusTrap: () => E() }) : b();
|
|
57
56
|
}
|
|
58
|
-
),
|
|
59
|
-
const
|
|
60
|
-
() => e.workspaceStore?.workspace?.["x-scalar-sidebar-width"] ??
|
|
61
|
-
), T = (a) => e.workspaceStore?.update("x-scalar-sidebar-width", a),
|
|
57
|
+
), F(() => $()), U(() => b());
|
|
58
|
+
const p = 288, c = u(
|
|
59
|
+
() => e.workspaceStore?.workspace?.["x-scalar-sidebar-width"] ?? p
|
|
60
|
+
), T = (a) => e.workspaceStore?.update("x-scalar-sidebar-width", a), k = u(
|
|
62
61
|
() => R(e.workspaceStore, e.document.value)
|
|
63
|
-
),
|
|
62
|
+
), C = u(
|
|
64
63
|
() => L(
|
|
65
64
|
e.document.value?.components?.securitySchemes,
|
|
66
|
-
|
|
65
|
+
V(e.options)?.authentication?.securitySchemes,
|
|
67
66
|
e.workspaceStore.auth,
|
|
68
67
|
e.document.value?.["x-scalar-navigation"]?.name ?? ""
|
|
69
68
|
)
|
|
70
69
|
);
|
|
71
70
|
return x({
|
|
72
71
|
sidebarWidth: c,
|
|
73
|
-
environment:
|
|
74
|
-
}), (a, t) =>
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
id: o(
|
|
72
|
+
environment: k
|
|
73
|
+
}), (a, t) => d((r(), m("div", P, [
|
|
74
|
+
i("div", J, [
|
|
75
|
+
d(i("div", {
|
|
76
|
+
id: o(h),
|
|
78
77
|
ref_key: "client",
|
|
79
|
-
ref:
|
|
78
|
+
ref: S,
|
|
80
79
|
"aria-label": "API Client",
|
|
81
80
|
"aria-modal": "true",
|
|
82
81
|
class: "scalar-app-layout scalar-client flex",
|
|
@@ -84,21 +83,21 @@ const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q =
|
|
|
84
83
|
tabindex: "-1"
|
|
85
84
|
}, [
|
|
86
85
|
l(o(A), null, {
|
|
87
|
-
default:
|
|
86
|
+
default: D(() => [
|
|
88
87
|
l(o(z)),
|
|
89
|
-
e.document.value && e.path?.value && e.method?.value ? (
|
|
88
|
+
e.document.value && e.path?.value && e.method?.value ? (r(), m("main", X, [
|
|
90
89
|
l(o(G), {
|
|
91
90
|
modelValue: n.value,
|
|
92
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
91
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => n.value = s),
|
|
93
92
|
class: "absolute top-2 left-3 z-[10001]"
|
|
94
93
|
}, null, 8, ["modelValue"]),
|
|
95
|
-
|
|
94
|
+
d(l(o(K), {
|
|
96
95
|
sidebarWidth: c.value,
|
|
97
96
|
"onUpdate:sidebarWidth": [
|
|
98
|
-
t[1] || (t[1] = (
|
|
97
|
+
t[1] || (t[1] = (s) => c.value = s),
|
|
99
98
|
T
|
|
100
99
|
],
|
|
101
|
-
activeWorkspace:
|
|
100
|
+
activeWorkspace: f,
|
|
102
101
|
class: "z-[10000] h-full max-md:absolute! max-md:w-full!",
|
|
103
102
|
documents: [e.document.value],
|
|
104
103
|
eventBus: e.eventBus,
|
|
@@ -108,14 +107,14 @@ const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q =
|
|
|
108
107
|
workspaces: [],
|
|
109
108
|
onSelectItem: e.sidebarState.handleSelectItem
|
|
110
109
|
}, null, 8, ["sidebarWidth", "documents", "eventBus", "sidebarState", "onSelectItem"]), [
|
|
111
|
-
[
|
|
110
|
+
[v, n.value]
|
|
112
111
|
]),
|
|
113
112
|
l(O, {
|
|
114
|
-
activeWorkspace:
|
|
113
|
+
activeWorkspace: f,
|
|
115
114
|
class: "flex-1",
|
|
116
115
|
document: e.document.value,
|
|
117
116
|
documentSlug: e.document.value["x-scalar-navigation"]?.id ?? "",
|
|
118
|
-
environment:
|
|
117
|
+
environment: k.value,
|
|
119
118
|
eventBus: e.eventBus,
|
|
120
119
|
exampleName: e.exampleName?.value,
|
|
121
120
|
layout: "modal",
|
|
@@ -123,23 +122,25 @@ const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q =
|
|
|
123
122
|
options: e.options,
|
|
124
123
|
path: e.path?.value,
|
|
125
124
|
plugins: e.plugins,
|
|
126
|
-
securitySchemes:
|
|
125
|
+
securitySchemes: C.value,
|
|
127
126
|
workspaceStore: e.workspaceStore
|
|
128
127
|
}, null, 8, ["document", "documentSlug", "environment", "eventBus", "exampleName", "method", "options", "path", "plugins", "securitySchemes", "workspaceStore"])
|
|
129
|
-
])) : (
|
|
130
|
-
|
|
128
|
+
])) : (r(), m("div", Y, [...t[3] || (t[3] = [
|
|
129
|
+
i("span", { class: "text-c-3" }, "No document selected", -1)
|
|
131
130
|
])]))
|
|
132
131
|
]),
|
|
133
132
|
_: 1
|
|
134
133
|
})
|
|
135
|
-
], 8, Q),
|
|
136
|
-
|
|
134
|
+
], 8, Q), [
|
|
135
|
+
[v, e.modalState.open]
|
|
136
|
+
]),
|
|
137
|
+
i("div", {
|
|
137
138
|
class: "scalar-app-exit",
|
|
138
|
-
onClick: t[2] || (t[2] = (
|
|
139
|
+
onClick: t[2] || (t[2] = (s) => e.modalState.hide())
|
|
139
140
|
})
|
|
140
141
|
])
|
|
141
142
|
], 512)), [
|
|
142
|
-
[
|
|
143
|
+
[v, e.modalState.open]
|
|
143
144
|
]);
|
|
144
145
|
}
|
|
145
146
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"AA8NA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAM/D;;;;;;;GAOG;;IAGC,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;;IAD/B,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;;AAHnC,wBAuSC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as f, computed as n, toValue as r, onMounted as k, createBlock as x, createElementBlock as g, openBlock as l, unref as i, createElementVNode as w } from "vue";
|
|
2
2
|
import { getResolvedRef as m } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
3
3
|
import { mapHiddenClientsConfig as C } from "../modal/helpers/map-hidden-clients-config.js";
|
|
4
|
-
import { combineParams as
|
|
5
|
-
import { getSelectedServer as
|
|
6
|
-
import { getServers as
|
|
4
|
+
import { combineParams as B } from "./helpers/combine-params.js";
|
|
5
|
+
import { getSelectedServer as U } from "./helpers/get-selected-server.js";
|
|
6
|
+
import { getServers as b } from "../../helpers/get-servers.js";
|
|
7
7
|
import N from "../../blocks/operation-block/OperationBlock.vue.js";
|
|
8
|
-
const
|
|
8
|
+
const E = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "flex h-full w-full items-center justify-center"
|
|
11
|
-
},
|
|
12
|
-
...
|
|
11
|
+
}, O = {}, K = /* @__PURE__ */ f({
|
|
12
|
+
...O,
|
|
13
13
|
__name: "Operation",
|
|
14
14
|
props: {
|
|
15
15
|
documentSlug: {},
|
|
@@ -27,16 +27,16 @@ const b = {
|
|
|
27
27
|
options: {}
|
|
28
28
|
},
|
|
29
29
|
setup(e) {
|
|
30
|
-
const
|
|
30
|
+
const c = n(() => e.path ? m(e.document?.paths?.[e.path]) : null), u = n(() => {
|
|
31
31
|
if (!e.path || !e.method)
|
|
32
32
|
return null;
|
|
33
33
|
const t = m(e.document?.paths?.[e.path]?.[e.method]);
|
|
34
34
|
if (!t)
|
|
35
35
|
return null;
|
|
36
|
-
if (!
|
|
36
|
+
if (!c.value)
|
|
37
37
|
return t;
|
|
38
|
-
const a =
|
|
39
|
-
|
|
38
|
+
const a = B(
|
|
39
|
+
c.value.parameters,
|
|
40
40
|
t.parameters
|
|
41
41
|
);
|
|
42
42
|
return { ...t, parameters: a };
|
|
@@ -50,30 +50,38 @@ const b = {
|
|
|
50
50
|
location: "document"
|
|
51
51
|
}))
|
|
52
52
|
]), o = n(() => {
|
|
53
|
-
const t = r(e.options)?.servers ??
|
|
54
|
-
return
|
|
53
|
+
const t = r(e.options)?.servers ?? u.value?.servers ?? c.value?.servers ?? e.document?.servers;
|
|
54
|
+
return b(t, {
|
|
55
55
|
baseServerUrl: r(e.options)?.baseServerURL,
|
|
56
56
|
documentUrl: e.document?.["x-scalar-original-source-url"]
|
|
57
57
|
});
|
|
58
58
|
}), d = n(
|
|
59
|
-
() =>
|
|
59
|
+
() => U(e.document, o.value)
|
|
60
60
|
);
|
|
61
|
-
|
|
61
|
+
k(() => {
|
|
62
62
|
typeof e.document?.["x-scalar-selected-server"] > "u" && o.value?.[0]?.url && e.eventBus.emit("server:update:selected", { url: o.value[0].url });
|
|
63
63
|
});
|
|
64
|
-
const
|
|
64
|
+
const v = n(() => e.document?.["x-scalar-set-operation-security"] ? {
|
|
65
65
|
type: "operation",
|
|
66
66
|
path: e.path ?? "",
|
|
67
67
|
method: e.method ?? "get"
|
|
68
68
|
} : {
|
|
69
69
|
type: "document"
|
|
70
|
-
}),
|
|
70
|
+
}), h = n(() => Array.from(
|
|
71
|
+
new Set(
|
|
72
|
+
Object.keys({
|
|
73
|
+
...e.document?.["x-scalar-environments"],
|
|
74
|
+
...e.workspaceStore.workspace["x-scalar-environments"]
|
|
75
|
+
})
|
|
76
|
+
)
|
|
77
|
+
)), S = n(
|
|
71
78
|
() => C(r(e.options)?.hiddenClients)
|
|
72
|
-
),
|
|
73
|
-
return (t, a) => e.path && e.method && e.exampleName &&
|
|
79
|
+
), y = "2.24.0";
|
|
80
|
+
return (t, a) => e.path && e.method && e.exampleName && u.value ? (l(), x(i(N), {
|
|
74
81
|
key: 0,
|
|
75
|
-
|
|
76
|
-
|
|
82
|
+
activeEnvironment: e.workspaceStore.workspace["x-scalar-active-environment"],
|
|
83
|
+
appVersion: i(y),
|
|
84
|
+
authMeta: v.value,
|
|
77
85
|
documentSecurity: e.document?.security ?? [],
|
|
78
86
|
documentSelectedSecurity: e.workspaceStore.auth.getAuthSelectedSchemas({
|
|
79
87
|
type: "document",
|
|
@@ -81,15 +89,16 @@ const b = {
|
|
|
81
89
|
}),
|
|
82
90
|
documentUrl: e.document?.["x-scalar-original-source-url"],
|
|
83
91
|
environment: e.environment,
|
|
92
|
+
environments: h.value,
|
|
84
93
|
eventBus: e.eventBus,
|
|
85
94
|
exampleKey: e.exampleName,
|
|
86
95
|
globalCookies: s.value,
|
|
87
96
|
hideClientButton: r(e.options)?.hideClientButton ?? !1,
|
|
88
97
|
history: e.workspaceStore.history.getHistory(e.documentSlug, e.path, e.method),
|
|
89
|
-
httpClients:
|
|
98
|
+
httpClients: S.value,
|
|
90
99
|
layout: e.layout,
|
|
91
100
|
method: e.method,
|
|
92
|
-
operation:
|
|
101
|
+
operation: u.value,
|
|
93
102
|
operationSelectedSecurity: e.workspaceStore.auth.getAuthSelectedSchemas({
|
|
94
103
|
type: "operation",
|
|
95
104
|
documentName: e.documentSlug,
|
|
@@ -104,9 +113,9 @@ const b = {
|
|
|
104
113
|
server: d.value,
|
|
105
114
|
servers: o.value,
|
|
106
115
|
setOperationSecurity: e.document?.["x-scalar-set-operation-security"] ?? !1,
|
|
107
|
-
"onUpdate:servers": a[0] || (a[0] = (
|
|
108
|
-
}, null, 8, ["appVersion", "authMeta", "documentSecurity", "documentSelectedSecurity", "documentUrl", "environment", "eventBus", "exampleKey", "globalCookies", "hideClientButton", "history", "httpClients", "layout", "method", "operation", "operationSelectedSecurity", "path", "plugins", "proxyUrl", "securitySchemes", "selectedClient", "server", "servers", "setOperationSecurity"])) : (l(),
|
|
109
|
-
|
|
116
|
+
"onUpdate:servers": a[0] || (a[0] = (V) => e.eventBus.emit("ui:route:page", { name: "document.servers" }))
|
|
117
|
+
}, null, 8, ["activeEnvironment", "appVersion", "authMeta", "documentSecurity", "documentSelectedSecurity", "documentUrl", "environment", "environments", "eventBus", "exampleKey", "globalCookies", "hideClientButton", "history", "httpClients", "layout", "method", "operation", "operationSelectedSecurity", "path", "plugins", "proxyUrl", "securitySchemes", "selectedClient", "server", "servers", "setOperationSecurity"])) : (l(), g("div", E, [...a[1] || (a[1] = [
|
|
118
|
+
w("span", { class: "text-c-3" }, "Select an operation to view details", -1)
|
|
110
119
|
])]));
|
|
111
120
|
}
|
|
112
121
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-events.d.ts","sourceRoot":"","sources":["../../src/v2/workspace-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAkB,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAE3G,OAAO,EAAE,KAAK,GAAG,EAAY,MAAM,KAAK,CAAA;AAExC,KAAK,IAAI,CAAC,CAAC,SAAS,MAAM,kBAAkB,IAAI,OAAO,CAAC;IACtD,eAAe,EAAE,CACf,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAC3B,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAA;IAClF,cAAc,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzE,CAAC,CAAA;AAEF,KAAK,KAAK,GAAG;KACV,GAAG,IAAI,MAAM,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;CAC9C,CAAA;AA6BD;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,EAC/C,QAAQ,EACR,KAAK,EACL,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACjC,KAAK,EAAE,KAAK,CAAA;CACb,
|
|
1
|
+
{"version":3,"file":"workspace-events.d.ts","sourceRoot":"","sources":["../../src/v2/workspace-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAkB,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAE3G,OAAO,EAAE,KAAK,GAAG,EAAY,MAAM,KAAK,CAAA;AAExC,KAAK,IAAI,CAAC,CAAC,SAAS,MAAM,kBAAkB,IAAI,OAAO,CAAC;IACtD,eAAe,EAAE,CACf,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAC3B,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAA;IAClF,cAAc,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzE,CAAC,CAAA;AAEF,KAAK,KAAK,GAAG;KACV,GAAG,IAAI,MAAM,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;CAC9C,CAAA;AA6BD;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,EAC/C,QAAQ,EACR,KAAK,EACL,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACjC,KAAK,EAAE,KAAK,CAAA;CACb,QAuQA"}
|
|
@@ -26,6 +26,13 @@ function l({
|
|
|
26
26
|
o.value.workspace().workspace.updateSelectedClient,
|
|
27
27
|
a
|
|
28
28
|
)(e)
|
|
29
|
+
), t.on(
|
|
30
|
+
"workspace:update:active-environment",
|
|
31
|
+
(e) => r(
|
|
32
|
+
"workspace:update:active-environment",
|
|
33
|
+
o.value.workspace().workspace.updateActiveEnvironment,
|
|
34
|
+
a
|
|
35
|
+
)(e)
|
|
29
36
|
), t.on(
|
|
30
37
|
"document:update:icon",
|
|
31
38
|
(e) => r("document:update:icon", o.value.active().document.updateDocumentIcon, a)(e)
|
|
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
33
33
|
}));
|
|
34
34
|
}, f = (u) => {
|
|
35
35
|
u?.createNew && g.name === "request" && p();
|
|
36
|
-
}, v = "2.
|
|
36
|
+
}, v = "2.24.0";
|
|
37
37
|
return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (u, e) => (l(), n("div", W, [
|
|
38
38
|
s("div", {
|
|
39
39
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.
|
|
21
|
+
"version": "2.24.0",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=20"
|
|
24
24
|
},
|
|
@@ -221,6 +221,11 @@
|
|
|
221
221
|
"types": "./dist/v2/features/app/components/index.d.ts",
|
|
222
222
|
"default": "./dist/v2/features/app/components/index.js"
|
|
223
223
|
},
|
|
224
|
+
"./v2/features/command-palette": {
|
|
225
|
+
"import": "./dist/v2/features/command-palette/index.js",
|
|
226
|
+
"types": "./dist/v2/features/command-palette/index.d.ts",
|
|
227
|
+
"default": "./dist/v2/features/command-palette/index.js"
|
|
228
|
+
},
|
|
224
229
|
"./v2/features/environments": {
|
|
225
230
|
"import": "./dist/v2/features/environments/index.js",
|
|
226
231
|
"types": "./dist/v2/features/environments/index.d.ts",
|
|
@@ -231,11 +236,6 @@
|
|
|
231
236
|
"types": "./dist/v2/features/global-cookies/index.d.ts",
|
|
232
237
|
"default": "./dist/v2/features/global-cookies/index.js"
|
|
233
238
|
},
|
|
234
|
-
"./v2/features/import-listener": {
|
|
235
|
-
"import": "./dist/v2/features/import-listener/index.js",
|
|
236
|
-
"types": "./dist/v2/features/import-listener/index.d.ts",
|
|
237
|
-
"default": "./dist/v2/features/import-listener/index.js"
|
|
238
|
-
},
|
|
239
239
|
"./v2/features/modal": {
|
|
240
240
|
"import": "./dist/v2/features/modal/index.js",
|
|
241
241
|
"types": "./dist/v2/features/modal/index.d.ts",
|
|
@@ -327,25 +327,25 @@
|
|
|
327
327
|
"yaml": "^2.8.0",
|
|
328
328
|
"zod": "^4.3.5",
|
|
329
329
|
"@scalar/analytics-client": "1.0.1",
|
|
330
|
-
"@scalar/components": "0.17.
|
|
330
|
+
"@scalar/components": "0.17.6",
|
|
331
331
|
"@scalar/draggable": "0.3.0",
|
|
332
|
+
"@scalar/json-magic": "0.10.0",
|
|
332
333
|
"@scalar/helpers": "0.2.11",
|
|
333
334
|
"@scalar/import": "0.4.48",
|
|
334
335
|
"@scalar/icons": "0.5.2",
|
|
335
|
-
"@scalar/json-magic": "0.9.6",
|
|
336
336
|
"@scalar/object-utils": "1.2.25",
|
|
337
|
-
"@scalar/
|
|
337
|
+
"@scalar/openapi-parser": "0.24.8",
|
|
338
|
+
"@scalar/oas-utils": "0.6.36",
|
|
338
339
|
"@scalar/openapi-types": "0.5.3",
|
|
339
340
|
"@scalar/postman-to-openapi": "0.4.3",
|
|
340
|
-
"@scalar/
|
|
341
|
-
"@scalar/themes": "0.14.0",
|
|
342
|
-
"@scalar/sidebar": "0.7.28",
|
|
341
|
+
"@scalar/sidebar": "0.7.29",
|
|
343
342
|
"@scalar/snippetz": "0.6.11",
|
|
344
|
-
"@scalar/
|
|
343
|
+
"@scalar/themes": "0.14.0",
|
|
345
344
|
"@scalar/types": "0.6.2",
|
|
346
|
-
"@scalar/use-
|
|
345
|
+
"@scalar/use-codemirror": "0.13.33",
|
|
347
346
|
"@scalar/use-toasts": "0.9.1",
|
|
348
|
-
"@scalar/workspace-store": "0.
|
|
347
|
+
"@scalar/workspace-store": "0.29.0",
|
|
348
|
+
"@scalar/use-hooks": "0.3.7"
|
|
349
349
|
},
|
|
350
350
|
"devDependencies": {
|
|
351
351
|
"@tailwindcss/vite": "^4.1.18",
|