@scalar/api-client 2.0.44 → 2.0.45
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 +15 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +77 -69
- package/dist/components/CodeInput/CodeInput.vue.js +1 -1
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/ContextBar.vue.js +5 -23
- package/dist/components/ContextBar.vue2.js +25 -2
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +1 -1
- package/dist/components/Form/Form.vue.d.ts +12 -3
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.js +24 -24
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +25 -22
- package/dist/components/SideNav/SideHelp.vue.js +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/SidebarButton.vue.js +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +21 -21
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +19 -18
- package/dist/components/Sidebar/SidebarToggle.vue.js +1 -1
- package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
- package/dist/components/SubpageHeader.vue.js +3 -3
- package/dist/components/SubpageHeader.vue2.js +7 -7
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +6 -6
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
- package/dist/errors.d.ts +5 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +7 -0
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
- package/dist/libs/eventBusses/index.d.ts +1 -0
- package/dist/libs/eventBusses/index.d.ts.map +1 -1
- package/dist/libs/eventBusses/index.js +3 -1
- package/dist/libs/eventBusses/requestStatusBus.d.ts +5 -0
- package/dist/libs/eventBusses/requestStatusBus.d.ts.map +1 -0
- package/dist/libs/eventBusses/requestStatusBus.js +5 -0
- package/dist/libs/index.js +7 -5
- package/dist/libs/sendRequest.d.ts +2 -0
- package/dist/libs/sendRequest.d.ts.map +1 -1
- package/dist/libs/sendRequest.js +46 -37
- package/dist/style.css +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +34 -17
- package/dist/views/Cookies/Cookies.vue2.js +9 -9
- package/dist/views/Environment/Environment.vue2.js +24 -24
- 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 +170 -166
- package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth.vue2.js +115 -126
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +63 -42
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +69 -51
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +18 -18
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +1 -1
- package/package.json +6 -6
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useWorkspace as
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as k, computed as h, ref as R, watch as B, openBlock as y, createBlock as b, withCtx as _, createVNode as l, unref as o, createElementVNode as m, createTextVNode as C, createElementBlock as E, createCommentVNode as N, withDirectives as a, vShow as s } from "vue";
|
|
2
|
+
import g from "../../../components/ContextBar.vue.js";
|
|
3
|
+
import w from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
4
|
+
import { useWorkspace as H } from "../../../store/workspace.js";
|
|
5
|
+
import O from "./RequestAuth.vue.js";
|
|
6
6
|
import P from "./RequestBody.vue.js";
|
|
7
|
-
import
|
|
7
|
+
import d from "./RequestParams.vue.js";
|
|
8
8
|
import T from "./RequestPathParams.vue.js";
|
|
9
|
-
import { ScalarIcon as
|
|
10
|
-
const
|
|
9
|
+
import { ScalarIcon as V } from "@scalar/components";
|
|
10
|
+
const K = { class: "flex-1 flex items-center pointer-events-none" }, $ = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text",
|
|
13
|
+
for: "requestname"
|
|
14
|
+
}, Q = ["disabled", "value"], D = { class: "request-section-content custom-scroll flex flex-1 flex-col px-2 xl:px-5 py-2.5" }, X = /* @__PURE__ */ k({
|
|
11
15
|
__name: "RequestSection",
|
|
12
|
-
setup(
|
|
16
|
+
setup(I) {
|
|
13
17
|
const {
|
|
14
|
-
activeRequest:
|
|
15
|
-
activeSecuritySchemes:
|
|
16
|
-
activeExample:
|
|
17
|
-
activeSecurityRequirements:
|
|
18
|
-
isReadOnly:
|
|
19
|
-
|
|
18
|
+
activeRequest: i,
|
|
19
|
+
activeSecuritySchemes: x,
|
|
20
|
+
activeExample: v,
|
|
21
|
+
activeSecurityRequirements: p,
|
|
22
|
+
isReadOnly: r,
|
|
23
|
+
requestMutators: A
|
|
24
|
+
} = H(), c = ["POST", "PUT", "PATCH", "DELETE"], S = h(() => {
|
|
20
25
|
const t = [
|
|
21
26
|
"All",
|
|
22
27
|
"Auth",
|
|
@@ -26,79 +31,92 @@ const w = { class: "flex-1" }, K = { class: "text-c-3 pl-1" }, N = { class: "req
|
|
|
26
31
|
"Query",
|
|
27
32
|
"Body"
|
|
28
33
|
];
|
|
29
|
-
return
|
|
30
|
-
}),
|
|
31
|
-
() =>
|
|
32
|
-
), e =
|
|
33
|
-
|
|
34
|
-
e.value === "Body" && !
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
return v.value.parameters.path.length || t.splice(t.indexOf("Request"), 1), c.includes(i.value.method) || t.splice(t.indexOf("Body"), 1), f.value && t.splice(t.indexOf("Auth"), 1), t;
|
|
35
|
+
}), f = h(
|
|
36
|
+
() => r.value && (p.value.length === 0 || JSON.stringify(p.value) === "[{}]")
|
|
37
|
+
), e = R("All");
|
|
38
|
+
B(i, (t) => {
|
|
39
|
+
e.value === "Body" && !c.includes(t.method) && (e.value = "All");
|
|
40
|
+
});
|
|
41
|
+
const q = (t) => {
|
|
42
|
+
const n = t.target;
|
|
43
|
+
A.edit(i.value.uid, "summary", n.value);
|
|
44
|
+
};
|
|
45
|
+
return (t, n) => (y(), b(w, null, {
|
|
46
|
+
title: _(() => {
|
|
47
|
+
var u;
|
|
38
48
|
return [
|
|
39
|
-
l(o(
|
|
40
|
-
class: "text-c-3 mr-2",
|
|
49
|
+
l(o(V), {
|
|
50
|
+
class: "text-c-3 mr-2 pointer-events-none",
|
|
41
51
|
icon: "ExternalLink",
|
|
42
52
|
size: "sm",
|
|
43
53
|
thickness: "2.5"
|
|
44
54
|
}),
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
55
|
+
m("div", K, [
|
|
56
|
+
C(" Request "),
|
|
57
|
+
o(r) ? N("", !0) : (y(), E("label", $)),
|
|
58
|
+
m("input", {
|
|
59
|
+
id: "requestname",
|
|
60
|
+
class: "pl-1 outline-none border-0 text-c-2 rounded pointer-events-auto relative w-full",
|
|
61
|
+
disabled: o(r),
|
|
62
|
+
placeholder: "Request Name",
|
|
63
|
+
value: (u = o(i)) == null ? void 0 : u.summary,
|
|
64
|
+
onInput: q
|
|
65
|
+
}, null, 40, Q)
|
|
48
66
|
])
|
|
49
67
|
];
|
|
50
68
|
}),
|
|
51
|
-
default:
|
|
52
|
-
|
|
53
|
-
l(
|
|
69
|
+
default: _(() => [
|
|
70
|
+
m("div", D, [
|
|
71
|
+
l(g, {
|
|
54
72
|
activeSection: e.value,
|
|
55
|
-
sections:
|
|
56
|
-
onSetActiveSection:
|
|
73
|
+
sections: S.value,
|
|
74
|
+
onSetActiveSection: n[0] || (n[0] = (u) => e.value = u)
|
|
57
75
|
}, null, 8, ["activeSection", "sections"]),
|
|
58
|
-
|
|
76
|
+
a(l(O, {
|
|
59
77
|
index: 0,
|
|
60
|
-
securityScheme: o(
|
|
78
|
+
securityScheme: o(x)[0],
|
|
61
79
|
title: "Authentication"
|
|
62
80
|
}, null, 8, ["securityScheme"]), [
|
|
63
81
|
[
|
|
64
|
-
|
|
65
|
-
!
|
|
82
|
+
s,
|
|
83
|
+
!f.value && (e.value === "All" || e.value === "Auth")
|
|
66
84
|
]
|
|
67
85
|
]),
|
|
68
|
-
|
|
86
|
+
a(l(T, {
|
|
69
87
|
paramKey: "path",
|
|
70
88
|
title: "Path Variables"
|
|
71
89
|
}, null, 512), [
|
|
72
90
|
[
|
|
73
|
-
|
|
74
|
-
(e.value === "All" || e.value === "Request") && o(
|
|
91
|
+
s,
|
|
92
|
+
(e.value === "All" || e.value === "Request") && o(v).parameters.path.length > 0
|
|
75
93
|
]
|
|
76
94
|
]),
|
|
77
|
-
|
|
95
|
+
a(l(d, {
|
|
78
96
|
paramKey: "cookies",
|
|
79
97
|
title: "Cookies"
|
|
80
98
|
}, null, 512), [
|
|
81
|
-
[
|
|
99
|
+
[s, e.value === "All" || e.value === "Cookies"]
|
|
82
100
|
]),
|
|
83
|
-
|
|
101
|
+
a(l(d, {
|
|
84
102
|
paramKey: "headers",
|
|
85
103
|
title: "Headers"
|
|
86
104
|
}, null, 512), [
|
|
87
|
-
[
|
|
105
|
+
[s, e.value === "All" || e.value === "Headers"]
|
|
88
106
|
]),
|
|
89
|
-
|
|
107
|
+
a(l(d, {
|
|
90
108
|
paramKey: "query",
|
|
91
109
|
title: "Query Parameters"
|
|
92
110
|
}, null, 512), [
|
|
93
|
-
[
|
|
111
|
+
[s, e.value === "All" || e.value === "Query"]
|
|
94
112
|
]),
|
|
95
|
-
|
|
113
|
+
a(l(P, {
|
|
96
114
|
body: "foo",
|
|
97
115
|
title: "Body"
|
|
98
116
|
}, null, 512), [
|
|
99
117
|
[
|
|
100
|
-
|
|
101
|
-
(e.value === "All" || e.value === "Body") &&
|
|
118
|
+
s,
|
|
119
|
+
(e.value === "All" || e.value === "Body") && c.includes(o(i).method)
|
|
102
120
|
]
|
|
103
121
|
])
|
|
104
122
|
])
|
|
@@ -108,5 +126,5 @@ const w = { class: "flex-1" }, K = { class: "text-c-3 pl-1" }, N = { class: "req
|
|
|
108
126
|
}
|
|
109
127
|
});
|
|
110
128
|
export {
|
|
111
|
-
|
|
129
|
+
X as default
|
|
112
130
|
};
|
|
@@ -2,7 +2,7 @@ import t from "./RequestSidebarItem.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-149f8145"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
a as default
|
|
8
8
|
};
|
|
@@ -7,7 +7,7 @@ import { RouterLink as ne } from "vue-router";
|
|
|
7
7
|
import z from "./RequestSidebarItemMenu.vue.js";
|
|
8
8
|
import oe from "../../components/HttpMethod/HttpMethod.vue.js";
|
|
9
9
|
import { useSidebar as de } from "../../hooks/useSidebar.js";
|
|
10
|
-
const ue = (u) => (te("data-v-
|
|
10
|
+
const ue = (u) => (te("data-v-149f8145"), u = u(), ie(), u), pe = { class: "flex flex-row gap-1 items-center" }, fe = { class: "relative" }, me = { class: "flex" }, ce = { class: "z-10 flex h-fit items-center justify-center max-w-[14px]" }, be = { class: "flex flex-1 flex-row justify-between editable-sidebar-hover" }, ge = { class: "relative flex h-fit" }, ve = /* @__PURE__ */ ue(() => /* @__PURE__ */ s("span", null, " ", -1)), he = { key: 2 }, O = "hover:bg-sidebar-active-b indent-padding-left", $e = /* @__PURE__ */ G({
|
|
11
11
|
__name: "RequestSidebarItem",
|
|
12
12
|
props: {
|
|
13
13
|
isDraggable: { type: Boolean, default: !1 },
|
|
@@ -18,8 +18,8 @@ const ue = (u) => (te("data-v-0285aba2"), u = u(), ie(), u), pe = { class: "flex
|
|
|
18
18
|
emits: ["onDragEnd"],
|
|
19
19
|
setup(u) {
|
|
20
20
|
H((e) => ({
|
|
21
|
-
"
|
|
22
|
-
|
|
21
|
+
"75f1595a": F.value,
|
|
22
|
+
d92033b8: N.value
|
|
23
23
|
}));
|
|
24
24
|
const t = u, {
|
|
25
25
|
activeRequest: w,
|
|
@@ -50,7 +50,7 @@ const ue = (u) => (te("data-v-0285aba2"), u = u(), ie(), u), pe = { class: "flex
|
|
|
50
50
|
const p = K("RequestSidebarItem", !0);
|
|
51
51
|
return o(), m("div", {
|
|
52
52
|
class: d(["relative flex flex-row", [
|
|
53
|
-
i(a) && e.parentUids.length > 1 || !i(a) && e.parentUids.length ? "before:bg-b-3 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-
|
|
53
|
+
i(a) && e.parentUids.length > 1 || !i(a) && e.parentUids.length ? "before:bg-b-3 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 indent-border-line-offset" : ""
|
|
54
54
|
]])
|
|
55
55
|
}, [
|
|
56
56
|
U(i(le), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as _, computed as m, ref as h, openBlock as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as _, computed as m, ref as h, openBlock as r, createBlock as n, withCtx as p, createVNode as u, unref as x, createElementVNode as d, createTextVNode as y, createCommentVNode as l, createElementBlock as C, Fragment as A } from "vue";
|
|
2
|
+
import B from "../../../components/ContextBar.vue.js";
|
|
3
|
+
import S from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
4
4
|
import $ from "./ResponseBody.vue.js";
|
|
5
5
|
import E from "./ResponseEmpty.vue.js";
|
|
6
6
|
import N from "./ResponseMetaInformation.vue.js";
|
|
@@ -14,8 +14,8 @@ const R = { class: "flex items-center flex-1" }, b = { class: "custom-scroll fle
|
|
|
14
14
|
},
|
|
15
15
|
setup(f) {
|
|
16
16
|
const c = f, i = m(() => {
|
|
17
|
-
var
|
|
18
|
-
const e = (
|
|
17
|
+
var s;
|
|
18
|
+
const e = (s = c.response) == null ? void 0 : s.headers;
|
|
19
19
|
return e ? Object.keys(e).map((o) => ({
|
|
20
20
|
name: o,
|
|
21
21
|
value: e[o],
|
|
@@ -27,15 +27,15 @@ const R = { class: "flex items-center flex-1" }, b = { class: "custom-scroll fle
|
|
|
27
27
|
].includes(o.name)
|
|
28
28
|
) : [];
|
|
29
29
|
}), v = m(() => {
|
|
30
|
-
var
|
|
31
|
-
const e = (o = (
|
|
30
|
+
var s, o;
|
|
31
|
+
const e = (o = (s = c.response) == null ? void 0 : s.headers) == null ? void 0 : o.cookies;
|
|
32
32
|
return e ? Object.keys(e).map((a) => ({
|
|
33
33
|
name: a,
|
|
34
34
|
value: e[a],
|
|
35
35
|
required: !1
|
|
36
36
|
})) : [];
|
|
37
|
-
}), k = ["All", "Body", "Headers", "Cookies"],
|
|
38
|
-
return (e,
|
|
37
|
+
}), k = ["All", "Body", "Headers", "Cookies"], t = h("All");
|
|
38
|
+
return (e, s) => (r(), n(S, null, {
|
|
39
39
|
title: p(() => [
|
|
40
40
|
u(x(V), {
|
|
41
41
|
class: "text-c-3 mr-2 rotate-180",
|
|
@@ -45,7 +45,7 @@ const R = { class: "flex items-center flex-1" }, b = { class: "custom-scroll fle
|
|
|
45
45
|
}),
|
|
46
46
|
d("div", R, [
|
|
47
47
|
y(" Response "),
|
|
48
|
-
e.response ? (
|
|
48
|
+
e.response ? (r(), n(N, {
|
|
49
49
|
key: 0,
|
|
50
50
|
response: e.response
|
|
51
51
|
}, null, 8, ["response"])) : l("", !0)
|
|
@@ -55,28 +55,28 @@ const R = { class: "flex items-center flex-1" }, b = { class: "custom-scroll fle
|
|
|
55
55
|
var o;
|
|
56
56
|
return [
|
|
57
57
|
d("div", b, [
|
|
58
|
-
e.response ? (
|
|
59
|
-
u(
|
|
60
|
-
activeSection:
|
|
58
|
+
e.response ? (r(), C(A, { key: 1 }, [
|
|
59
|
+
u(B, {
|
|
60
|
+
activeSection: t.value,
|
|
61
61
|
sections: k,
|
|
62
|
-
onSetActiveSection:
|
|
62
|
+
onSetActiveSection: s[0] || (s[0] = (a) => t.value = a)
|
|
63
63
|
}, null, 8, ["activeSection"]),
|
|
64
|
-
|
|
64
|
+
t.value === "All" || t.value === "Cookies" ? (r(), n(g, {
|
|
65
65
|
key: 0,
|
|
66
66
|
cookies: v.value
|
|
67
67
|
}, null, 8, ["cookies"])) : l("", !0),
|
|
68
|
-
|
|
68
|
+
t.value === "All" || t.value === "Headers" ? (r(), n(H, {
|
|
69
69
|
key: 1,
|
|
70
70
|
headers: i.value
|
|
71
71
|
}, null, 8, ["headers"])) : l("", !0),
|
|
72
|
-
|
|
72
|
+
t.value === "All" || t.value === "Body" ? (r(), n($, {
|
|
73
73
|
key: 2,
|
|
74
74
|
active: !0,
|
|
75
75
|
data: (o = c.response) == null ? void 0 : o.data,
|
|
76
76
|
headers: i.value,
|
|
77
77
|
title: "Body"
|
|
78
78
|
}, null, 8, ["data", "headers"])) : l("", !0)
|
|
79
|
-
], 64)) : (
|
|
79
|
+
], 64)) : (r(), n(E, { key: 0 }))
|
|
80
80
|
])
|
|
81
81
|
];
|
|
82
82
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";AAoWA,wBAKG"}
|
|
@@ -3,7 +3,7 @@ import { commandPaletteBus as y } from "../../../libs/eventBusses/command-palett
|
|
|
3
3
|
import { useWorkspace as D } from "../../../store/workspace.js";
|
|
4
4
|
import { ScalarDropdown as S, ScalarDropdownItem as d, ScalarIcon as l, ScalarDropdownDivider as W, ScalarButton as B } from "@scalar/components";
|
|
5
5
|
import { useRouter as N } from "vue-router";
|
|
6
|
-
const j = { class: "xl:min-h-header py-2.5 flex items-center border-b px-2.5 text-sm" }, z = { class: "font-medium m-0 text-sm flex gap-1.5 items-center" }, V = { class: "flex items-center justify-center h-4 w-4" }, E = /* @__PURE__ */ r("span", null, "Create new workspace", -1), T = /* @__PURE__ */ k({
|
|
6
|
+
const j = { class: "xl:min-h-header py-2.5 flex items-center border-b-1/2 px-2.5 text-sm" }, z = { class: "font-medium m-0 text-sm flex gap-1.5 items-center" }, V = { class: "flex items-center justify-center h-4 w-4" }, E = /* @__PURE__ */ r("span", null, "Create new workspace", -1), T = /* @__PURE__ */ k({
|
|
7
7
|
__name: "WorkspaceDropdown",
|
|
8
8
|
setup(I) {
|
|
9
9
|
const { activeWorkspace: s, workspaces: u } = D(), { push: f } = N(), h = (a) => {
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.0.
|
|
21
|
+
"version": "2.0.45",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -127,14 +127,14 @@
|
|
|
127
127
|
"vue-router": "^4.3.0",
|
|
128
128
|
"whatwg-mimetype": "^4.0.0",
|
|
129
129
|
"zod": "^3.22.4",
|
|
130
|
+
"@scalar/components": "0.12.28",
|
|
130
131
|
"@scalar/draggable": "0.1.4",
|
|
132
|
+
"@scalar/themes": "0.9.21",
|
|
133
|
+
"@scalar/oas-utils": "0.2.26",
|
|
131
134
|
"@scalar/object-utils": "1.1.5",
|
|
132
|
-
"@scalar/oas-utils": "0.2.25",
|
|
133
|
-
"@scalar/themes": "0.9.20",
|
|
134
|
-
"@scalar/use-toasts": "0.7.4",
|
|
135
|
-
"@scalar/use-tooltip": "1.0.2",
|
|
136
135
|
"@scalar/use-codemirror": "0.11.10",
|
|
137
|
-
"@scalar/
|
|
136
|
+
"@scalar/use-toasts": "0.7.4",
|
|
137
|
+
"@scalar/use-tooltip": "1.0.2"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@types/content-type": "^1.1.8",
|