@scalar/api-client 2.0.62 → 2.0.64
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 +34 -0
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +5 -54
- package/dist/components/Sidebar/Sidebar.vue2.js +56 -0
- package/dist/components/Sidebar/index.js +2 -3
- package/dist/components/index.js +4 -5
- package/dist/layouts/App/create-api-client-app.d.ts +739 -79
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +1478 -158
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +739 -79
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/local-storage.js +1 -1
- package/dist/libs/sendRequest.d.ts.map +1 -1
- package/dist/libs/sendRequest.js +10 -10
- package/dist/store/workspace.d.ts +1478 -158
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +19 -20
- package/dist/views/Environment/Environment.vue2.js +16 -17
- package/dist/views/Request/Request.vue2.js +10 -11
- package/dist/views/Servers/Servers.vue2.js +14 -15
- package/package.json +9 -9
- package/dist/components/Sidebar/Sidebar.vue3.js +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as L, computed as V, onMounted as D, openBlock as l, createBlock as y, withCtx as n, createVNode as s, unref as a, createElementVNode as
|
|
1
|
+
import { defineComponent as L, computed as V, onMounted as D, openBlock as l, createBlock as y, withCtx as n, createVNode as s, unref as a, createElementVNode as f, createElementBlock as m, Fragment as _, renderList as x, normalizeClass as w, createTextVNode as v, toDisplayString as S, withDirectives as O, vShow as $ } from "vue";
|
|
2
2
|
import M from "../../components/Sidebar/SidebarButton.vue.js";
|
|
3
3
|
import N from "../../components/Sidebar/SidebarList.vue.js";
|
|
4
4
|
import B from "../../components/Sidebar/SidebarListElement.vue.js";
|
|
@@ -12,13 +12,12 @@ import { nanoid as P } from "nanoid";
|
|
|
12
12
|
import { useRouter as T } from "vue-router";
|
|
13
13
|
import W from "./CookieForm.vue.js";
|
|
14
14
|
import q from "./CookieRaw.vue.js";
|
|
15
|
-
import G from "../../
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 before:absolute before:left-[calc(1rem_-_1.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, X = ["onClick"], Y = { class: "before:bg-b-3 before:absolute before:left-[calc(1.75rem_-_1.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, xe = /* @__PURE__ */ L({
|
|
15
|
+
import { useSidebar as G } from "../../hooks/useSidebar.js";
|
|
16
|
+
import J from "../../components/Sidebar/Sidebar.vue.js";
|
|
17
|
+
const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 before:absolute before:left-[calc(1rem_-_1.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, X = ["onClick"], Y = { class: "before:bg-b-3 before:absolute before:left-[calc(1.75rem_-_1.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, _e = /* @__PURE__ */ L({
|
|
19
18
|
__name: "Cookies",
|
|
20
19
|
setup(Z) {
|
|
21
|
-
const { cookies: p, cookieMutators: g } = A(), { collapsedSidebarFolders: i, toggleSidebarFolder: k } =
|
|
20
|
+
const { cookies: p, cookieMutators: g } = A(), { collapsedSidebarFolders: i, toggleSidebarFolder: k } = G(), b = T(), E = () => {
|
|
22
21
|
const t = Object.keys(p).length, e = H({
|
|
23
22
|
uid: P(),
|
|
24
23
|
name: `Cookie ${t}`,
|
|
@@ -39,14 +38,14 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
39
38
|
const o = e[e.length - 1];
|
|
40
39
|
b.push(o.uid);
|
|
41
40
|
} else e.length === 1 && e[0].uid === "default" && b.push("default");
|
|
42
|
-
},
|
|
41
|
+
}, h = V(() => {
|
|
43
42
|
const t = {};
|
|
44
43
|
return Object.values(p).forEach((e) => {
|
|
45
44
|
e.domain && e.path && (t[e.domain] || (t[e.domain] = {}), t[e.domain][e.path] || (t[e.domain][e.path] = []), t[e.domain][e.path].push(e));
|
|
46
45
|
}), t;
|
|
47
46
|
}), C = (t) => i[t];
|
|
48
47
|
return D(() => {
|
|
49
|
-
const t = Object.keys(
|
|
48
|
+
const t = Object.keys(h.value), e = Object.entries(h.value).flatMap(
|
|
50
49
|
([o, r]) => Object.keys(r).map((d) => o + d)
|
|
51
50
|
);
|
|
52
51
|
t.forEach((o) => {
|
|
@@ -58,13 +57,13 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
58
57
|
default: n(() => [
|
|
59
58
|
s(I, null, {
|
|
60
59
|
default: n(() => [
|
|
61
|
-
s(a(
|
|
60
|
+
s(a(J), { title: "Cookies" }, {
|
|
62
61
|
content: n(() => [
|
|
63
|
-
|
|
62
|
+
f("div", K, [
|
|
64
63
|
s(N, null, {
|
|
65
64
|
default: n(() => [
|
|
66
|
-
(l(!0),
|
|
67
|
-
|
|
65
|
+
(l(!0), m(_, null, x(h.value, (o, r) => (l(), m("div", { key: r }, [
|
|
66
|
+
f("button", {
|
|
68
67
|
class: "flex font-medium gap-1.5 items-center px-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
|
|
69
68
|
type: "button",
|
|
70
69
|
onClick: (d) => a(k)(r)
|
|
@@ -79,9 +78,9 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
79
78
|
}, null, 8, ["class"]),
|
|
80
79
|
v(" " + S(r), 1)
|
|
81
80
|
], 8, Q),
|
|
82
|
-
|
|
83
|
-
(l(!0),
|
|
84
|
-
|
|
81
|
+
O(f("div", U, [
|
|
82
|
+
(l(!0), m(_, null, x(o, (d, c) => (l(), m("div", { key: c }, [
|
|
83
|
+
f("button", {
|
|
85
84
|
class: "flex font-medium gap-1.5 items-center pl-5 pr-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
|
|
86
85
|
type: "button",
|
|
87
86
|
onClick: (u) => a(k)(r + c)
|
|
@@ -96,8 +95,8 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
96
95
|
}, null, 8, ["class"]),
|
|
97
96
|
v(" " + S(c), 1)
|
|
98
97
|
], 8, X),
|
|
99
|
-
|
|
100
|
-
(l(!0),
|
|
98
|
+
O(f("div", Y, [
|
|
99
|
+
(l(!0), m(_, null, x(d, (u) => (l(), y(B, {
|
|
101
100
|
key: u.uid,
|
|
102
101
|
class: "cookie text-xs",
|
|
103
102
|
variable: { name: u.name, uid: u.uid },
|
|
@@ -105,11 +104,11 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
105
104
|
onDelete: (ee) => z(u.uid)
|
|
106
105
|
}, null, 8, ["variable", "onDelete"]))), 128))
|
|
107
106
|
], 512), [
|
|
108
|
-
[
|
|
107
|
+
[$, C(r + c)]
|
|
109
108
|
])
|
|
110
109
|
]))), 128))
|
|
111
110
|
], 512), [
|
|
112
|
-
[
|
|
111
|
+
[$, C(r)]
|
|
113
112
|
])
|
|
114
113
|
]))), 128))
|
|
115
114
|
]),
|
|
@@ -143,5 +142,5 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
143
142
|
}
|
|
144
143
|
});
|
|
145
144
|
export {
|
|
146
|
-
|
|
145
|
+
_e as default
|
|
147
146
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as N, ref as c, onMounted as C, openBlock as r, createBlock as d, withCtx as o, createVNode as a, createElementVNode as _, createElementBlock as f, Fragment as V, renderList as S, unref as u, createTextVNode as h, createSlots as I, createCommentVNode as $, toDisplayString as L, withKeys as B, nextTick as R } from "vue";
|
|
2
2
|
import A from "../../components/CodeInput/CodeInput.vue.js";
|
|
3
3
|
import K from "../../components/Sidebar/Sidebar.vue.js";
|
|
4
|
-
/* empty css */
|
|
5
4
|
import M from "../../components/Sidebar/SidebarButton.vue.js";
|
|
6
5
|
import T from "../../components/Sidebar/SidebarList.vue.js";
|
|
7
6
|
import U from "../../components/Sidebar/SidebarListElement.vue.js";
|
|
@@ -13,7 +12,7 @@ import { useWorkspace as W } from "../../store/workspace.js";
|
|
|
13
12
|
import { nanoid as j } from "nanoid";
|
|
14
13
|
import { useRouter as q } from "vue-router";
|
|
15
14
|
import z from "./EnvironmentColors.vue.js";
|
|
16
|
-
const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, de = /* @__PURE__ */
|
|
15
|
+
const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, de = /* @__PURE__ */ N({
|
|
17
16
|
__name: "Environment",
|
|
18
17
|
setup(X) {
|
|
19
18
|
const v = q(), { environments: l, environmentMutators: s } = W(), e = c(null), p = c(null), m = c(!1);
|
|
@@ -37,16 +36,16 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
37
36
|
e.value && (l[e.value].color = t);
|
|
38
37
|
}, x = () => {
|
|
39
38
|
v.currentRoute.value.params.environment === "default" && (e.value = l.default.uid);
|
|
40
|
-
},
|
|
39
|
+
}, b = () => {
|
|
41
40
|
e.value && !l[e.value].isDefault && (m.value = !0, R(() => {
|
|
42
41
|
var t;
|
|
43
42
|
(t = p.value) == null || t.focus();
|
|
44
43
|
}));
|
|
45
|
-
},
|
|
44
|
+
}, w = (t) => {
|
|
46
45
|
const n = t.target.value;
|
|
47
46
|
e.value && !l[e.value].isDefault && s.edit(e.value, "name", n);
|
|
48
47
|
};
|
|
49
|
-
return C(x), (t, i) => (r(),
|
|
48
|
+
return C(x), (t, i) => (r(), d(F, null, {
|
|
50
49
|
default: o(() => [
|
|
51
50
|
a(H, null, {
|
|
52
51
|
default: o(() => [
|
|
@@ -55,7 +54,7 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
55
54
|
_("div", G, [
|
|
56
55
|
a(T, null, {
|
|
57
56
|
default: o(() => [
|
|
58
|
-
(r(!0),
|
|
57
|
+
(r(!0), f(V, null, S(u(l), (n) => (r(), d(U, {
|
|
59
58
|
key: n.uid,
|
|
60
59
|
class: "text-xs",
|
|
61
60
|
variable: {
|
|
@@ -65,8 +64,8 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
65
64
|
isDefault: n.isDefault
|
|
66
65
|
},
|
|
67
66
|
warningMessage: "Are you sure you want to delete this environment?",
|
|
68
|
-
onClick: (
|
|
69
|
-
onDelete: (
|
|
67
|
+
onClick: (D) => e.value = n.uid,
|
|
68
|
+
onDelete: (D) => k(n.uid)
|
|
70
69
|
}, null, 8, ["variable", "onClick", "onDelete"]))), 128))
|
|
71
70
|
]),
|
|
72
71
|
_: 1
|
|
@@ -76,7 +75,7 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
76
75
|
button: o(() => [
|
|
77
76
|
a(M, { click: y }, {
|
|
78
77
|
title: o(() => [
|
|
79
|
-
|
|
78
|
+
h("Add Environment")
|
|
80
79
|
]),
|
|
81
80
|
_: 1
|
|
82
81
|
})
|
|
@@ -85,25 +84,25 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
85
84
|
}),
|
|
86
85
|
a(J, { class: "flex-1" }, {
|
|
87
86
|
default: o(() => [
|
|
88
|
-
a(O, null,
|
|
87
|
+
a(O, null, I({
|
|
89
88
|
default: o(() => [
|
|
90
|
-
e.value ? (r(),
|
|
89
|
+
e.value ? (r(), d(A, {
|
|
91
90
|
key: 0,
|
|
92
91
|
class: "px-2 py-2.5",
|
|
93
92
|
lineNumbers: "",
|
|
94
93
|
modelValue: u(l)[e.value].raw,
|
|
95
94
|
"onUpdate:modelValue": E
|
|
96
|
-
}, null, 8, ["modelValue"])) :
|
|
95
|
+
}, null, 8, ["modelValue"])) : $("", !0)
|
|
97
96
|
]),
|
|
98
97
|
_: 2
|
|
99
98
|
}, [
|
|
100
99
|
e.value ? {
|
|
101
100
|
name: "title",
|
|
102
101
|
fn: o(() => [
|
|
103
|
-
!m.value || u(l)[e.value].isDefault ? (r(),
|
|
102
|
+
!m.value || u(l)[e.value].isDefault ? (r(), f("span", {
|
|
104
103
|
key: 0,
|
|
105
|
-
onDblclick:
|
|
106
|
-
}, L(u(l)[e.value].name), 33)) : (r(),
|
|
104
|
+
onDblclick: b
|
|
105
|
+
}, L(u(l)[e.value].name), 33)) : (r(), f("input", {
|
|
107
106
|
key: 1,
|
|
108
107
|
ref_key: "nameInputRef",
|
|
109
108
|
ref: p,
|
|
@@ -112,7 +111,7 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
112
111
|
type: "text",
|
|
113
112
|
value: u(l)[e.value].name,
|
|
114
113
|
onBlur: i[0] || (i[0] = (n) => m.value = !1),
|
|
115
|
-
onInput:
|
|
114
|
+
onInput: w,
|
|
116
115
|
onKeyup: i[1] || (i[1] = B((n) => m.value = !1, ["enter"]))
|
|
117
116
|
}, null, 40, P)),
|
|
118
117
|
_("div", Q, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Se, ref as z, watch as A, onMounted as Re, onBeforeUnmount as we, openBlock as m, createElementBlock as _, normalizeClass as b, unref as o, createElementVNode as v, createVNode as d, createBlock as x, createCommentVNode as k, withCtx as f, withDirectives as ye, createSlots as _e, isRef as ke, withModifiers as L, Fragment as j, renderList as H, createTextVNode as K, toDisplayString as Ue, vShow as Ce, pushScopeId as qe, popScopeId as De } from "vue";
|
|
2
2
|
import Ie from "../../components/AddressBar/AddressBar.vue.js";
|
|
3
3
|
import Be from "../../components/EnvironmentSelector/EnvironmentSelector.vue.js";
|
|
4
4
|
import Oe from "../../components/HttpMethod/HttpMethod.vue.js";
|
|
@@ -16,7 +16,6 @@ import { useToasts as Le } from "@scalar/use-toasts";
|
|
|
16
16
|
import { useMediaQuery as je } from "@vueuse/core";
|
|
17
17
|
import He from "./RequestSidebarItem.vue.js";
|
|
18
18
|
import Ke from "../../components/Sidebar/Sidebar.vue.js";
|
|
19
|
-
/* empty css */
|
|
20
19
|
import Je from "./components/WorkspaceDropdown.vue.js";
|
|
21
20
|
import { useSidebar as Qe } from "../../hooks/useSidebar.js";
|
|
22
21
|
import { sendRequest as Ge } from "../../libs/sendRequest.js";
|
|
@@ -25,14 +24,14 @@ import { cancelRequestBus as Xe } from "../../libs/event-busses/cancel-request-b
|
|
|
25
24
|
import { hotKeyBus as Q } from "../../libs/event-busses/hot-keys-bus.js";
|
|
26
25
|
import { commandPaletteBus as G } from "../../libs/event-busses/command-palette-bus.js";
|
|
27
26
|
import { requestStatusBus as U } from "../../libs/event-busses/request-status-bus.js";
|
|
28
|
-
const Ye = (
|
|
27
|
+
const Ye = (R) => (qe("data-v-fa353420"), R = R(), De(), R), Ze = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container border-b-1/2" }, et = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" }, tt = /* @__PURE__ */ Ye(() => /* @__PURE__ */ v("a", {
|
|
29
28
|
class: "text-c-2 text-sm font-medium gitbook-show ml-.5 hover:text-c-1 border p-1 rounded hover:bg-b-3",
|
|
30
29
|
href: "https://scalar.com/",
|
|
31
30
|
target: "_blank"
|
|
32
|
-
}, " Powered by Scalar.com ", -1)), ot = { 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" }, st = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" },
|
|
31
|
+
}, " Powered by Scalar.com ", -1)), ot = { 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" }, st = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, It = /* @__PURE__ */ Se({
|
|
33
32
|
__name: "Request",
|
|
34
33
|
emits: ["newTab"],
|
|
35
|
-
setup(
|
|
34
|
+
setup(R, { emit: X }) {
|
|
36
35
|
var W;
|
|
37
36
|
const Y = X, {
|
|
38
37
|
activeExample: w,
|
|
@@ -125,7 +124,7 @@ ${l}`, "error"), U.emit("abort");
|
|
|
125
124
|
var e;
|
|
126
125
|
return (e = C.value) == null ? void 0 : e.abort();
|
|
127
126
|
};
|
|
128
|
-
|
|
127
|
+
Re(() => {
|
|
129
128
|
J.on(P), Xe.on(he), Q.on(T);
|
|
130
129
|
}), we(() => {
|
|
131
130
|
J.off(P), Q.off(T);
|
|
@@ -153,11 +152,11 @@ ${l}`, "error"), U.emit("abort");
|
|
|
153
152
|
const i = p[a] || g[a];
|
|
154
153
|
N(a, [...i.childUids, t]);
|
|
155
154
|
} else if (l) {
|
|
156
|
-
const
|
|
157
|
-
|
|
155
|
+
const S = [...(p[l] || g[l]).childUids], q = S.findIndex((ge) => a === ge) ?? 0;
|
|
156
|
+
S.splice(q + n, 0, t), N(l, S);
|
|
158
157
|
} else {
|
|
159
|
-
const i = [...c.value.collectionUids],
|
|
160
|
-
i.splice(
|
|
158
|
+
const i = [...c.value.collectionUids], S = i.findIndex((q) => a === q) ?? 0;
|
|
159
|
+
i.splice(S + n, 0, t), O.edit(
|
|
161
160
|
c.value.uid,
|
|
162
161
|
"collectionUids",
|
|
163
162
|
i
|
|
@@ -339,5 +338,5 @@ ${l}`, "error"), U.emit("abort");
|
|
|
339
338
|
}
|
|
340
339
|
});
|
|
341
340
|
export {
|
|
342
|
-
|
|
341
|
+
It as default
|
|
343
342
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as f, openBlock as l, createBlock as s, withCtx as e, createVNode as r, unref as n, createElementVNode as p, createElementBlock as _, Fragment as v, renderList as S, createTextVNode as x } from "vue";
|
|
2
2
|
import b from "../../components/Sidebar/SidebarButton.vue.js";
|
|
3
3
|
import h from "../../components/Sidebar/SidebarList.vue.js";
|
|
4
4
|
import k from "../../components/Sidebar/SidebarListElement.vue.js";
|
|
@@ -6,26 +6,25 @@ import L from "../../components/SubpageHeader.vue.js";
|
|
|
6
6
|
import V from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
7
7
|
import w from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
8
8
|
import { useWorkspace as C } from "../../store/workspace.js";
|
|
9
|
-
import { createServer as
|
|
10
|
-
import { useRouter as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
/*
|
|
14
|
-
const N = { class: "flex-1" }, K = /* @__PURE__ */ d({
|
|
9
|
+
import { createServer as y } from "@scalar/oas-utils/entities/workspace/server";
|
|
10
|
+
import { useRouter as B } from "vue-router";
|
|
11
|
+
import E from "./ServerForm.vue.js";
|
|
12
|
+
import N from "../../components/Sidebar/Sidebar.vue.js";
|
|
13
|
+
const $ = { class: "flex-1" }, J = /* @__PURE__ */ f({
|
|
15
14
|
__name: "Servers",
|
|
16
15
|
setup(g) {
|
|
17
|
-
const { activeCollection: t, servers: m, serverMutators:
|
|
16
|
+
const { activeCollection: t, servers: m, serverMutators: u } = C(), { push: c } = B(), d = () => {
|
|
18
17
|
if (!t.value) return;
|
|
19
|
-
const o =
|
|
20
|
-
|
|
18
|
+
const o = y({ url: "http://localhost" });
|
|
19
|
+
u.add(o, t.value.uid), c(`/servers/${o.uid}`);
|
|
21
20
|
};
|
|
22
21
|
return (o, H) => (l(), s(L, null, {
|
|
23
22
|
default: e(() => [
|
|
24
23
|
r(V, null, {
|
|
25
24
|
default: e(() => [
|
|
26
|
-
r(n(
|
|
25
|
+
r(n(N), { title: "Servers" }, {
|
|
27
26
|
content: e(() => [
|
|
28
|
-
p("div",
|
|
27
|
+
p("div", $, [
|
|
29
28
|
r(h, null, {
|
|
30
29
|
default: e(() => {
|
|
31
30
|
var i;
|
|
@@ -42,7 +41,7 @@ const N = { class: "flex-1" }, K = /* @__PURE__ */ d({
|
|
|
42
41
|
])
|
|
43
42
|
]),
|
|
44
43
|
button: e(() => [
|
|
45
|
-
r(b, { click:
|
|
44
|
+
r(b, { click: d }, {
|
|
46
45
|
title: e(() => [
|
|
47
46
|
x("Add Server")
|
|
48
47
|
]),
|
|
@@ -53,7 +52,7 @@ const N = { class: "flex-1" }, K = /* @__PURE__ */ d({
|
|
|
53
52
|
}),
|
|
54
53
|
r(w, { class: "flex-1" }, {
|
|
55
54
|
default: e(() => [
|
|
56
|
-
r(
|
|
55
|
+
r(E)
|
|
57
56
|
]),
|
|
58
57
|
_: 1
|
|
59
58
|
})
|
|
@@ -66,5 +65,5 @@ const N = { class: "flex-1" }, K = /* @__PURE__ */ d({
|
|
|
66
65
|
}
|
|
67
66
|
});
|
|
68
67
|
export {
|
|
69
|
-
|
|
68
|
+
J as default
|
|
70
69
|
};
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.0.
|
|
21
|
+
"version": "2.0.64",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -125,16 +125,16 @@
|
|
|
125
125
|
"vue-router": "^4.3.0",
|
|
126
126
|
"whatwg-mimetype": "^4.0.0",
|
|
127
127
|
"zod": "^3.22.4",
|
|
128
|
-
"@scalar/components": "0.12.
|
|
128
|
+
"@scalar/components": "0.12.44",
|
|
129
|
+
"@scalar/draggable": "0.1.5",
|
|
129
130
|
"@scalar/object-utils": "1.1.7",
|
|
130
|
-
"@scalar/oas-utils": "0.2.
|
|
131
|
-
"@scalar/
|
|
132
|
-
"@scalar/
|
|
133
|
-
"@scalar/types": "0.0.
|
|
134
|
-
"@scalar/openapi-types": "0.1.
|
|
131
|
+
"@scalar/oas-utils": "0.2.43",
|
|
132
|
+
"@scalar/themes": "0.9.29",
|
|
133
|
+
"@scalar/openapi-parser": "0.8.2",
|
|
134
|
+
"@scalar/types": "0.0.8",
|
|
135
|
+
"@scalar/openapi-types": "0.1.1",
|
|
135
136
|
"@scalar/use-codemirror": "0.11.10",
|
|
136
|
-
"@scalar/use-toasts": "0.7.
|
|
137
|
-
"@scalar/draggable": "0.1.4",
|
|
137
|
+
"@scalar/use-toasts": "0.7.6",
|
|
138
138
|
"@scalar/use-tooltip": "1.0.2"
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|