@scalar/api-client 2.0.38 → 2.0.39
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 +18 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +84 -80
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +2 -2
- package/dist/components/DataTable/DataTableInput.vue2.js +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -0
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +18 -14
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +5 -40
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +48 -2
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +2 -0
- 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 +24 -22
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +26 -25
- package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
- package/dist/components/SubpageHeader.vue.js +5 -29
- package/dist/components/SubpageHeader.vue2.js +31 -2
- package/dist/style.css +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +46 -36
- package/dist/views/Environment/Environment.vue2.js +26 -26
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +37 -34
- package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth.vue.js +5 -311
- package/dist/views/Request/RequestSection/RequestAuth.vue2.js +312 -2
- package/dist/views/Request/RequestSection/RequestSection.vue.js +19 -19
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +3 -3
- package/dist/views/Request/RequestSidebarItem.vue2.js +56 -48
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +5 -162
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +166 -2
- package/dist/views/Servers/Servers.vue2.js +17 -17
- package/package.json +4 -4
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as d, 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
|
+
import b from "../../components/Sidebar/SidebarButton.vue.js";
|
|
3
|
+
import h from "../../components/Sidebar/SidebarList.vue.js";
|
|
4
|
+
import k from "../../components/Sidebar/SidebarListElement.vue.js";
|
|
5
5
|
import L from "../../components/SubpageHeader.vue.js";
|
|
6
6
|
import V from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
7
|
-
import
|
|
8
|
-
import { useWorkspace as
|
|
9
|
-
import { createServer as
|
|
7
|
+
import w from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
8
|
+
import { useWorkspace as C } from "../../store/workspace.js";
|
|
9
|
+
import { createServer as $ } from "@scalar/oas-utils/entities/workspace/server";
|
|
10
10
|
import { useRouter as y } from "vue-router";
|
|
11
11
|
import B from "./ServerForm.vue.js";
|
|
12
12
|
import E from "../../components/Sidebar/Sidebar.vue.js";
|
|
13
13
|
/* empty css */
|
|
14
|
-
const N = { class: "flex-1" }, K = /* @__PURE__ */
|
|
14
|
+
const N = { class: "flex-1" }, K = /* @__PURE__ */ d({
|
|
15
15
|
__name: "Servers",
|
|
16
16
|
setup(g) {
|
|
17
|
-
const { activeCollection: t, servers: m, serverMutators: c } =
|
|
17
|
+
const { activeCollection: t, servers: m, serverMutators: c } = C(), { push: u } = y(), f = () => {
|
|
18
18
|
if (!t.value) return;
|
|
19
|
-
const o =
|
|
19
|
+
const o = $({ url: "http://localhost" });
|
|
20
20
|
c.add(o, t.value.uid), u(`/servers/${o.uid}`);
|
|
21
21
|
};
|
|
22
|
-
return (o,
|
|
22
|
+
return (o, H) => (l(), s(L, null, {
|
|
23
23
|
default: e(() => [
|
|
24
24
|
r(V, null, {
|
|
25
25
|
default: e(() => [
|
|
26
26
|
r(n(E), { title: "Servers" }, {
|
|
27
27
|
content: e(() => [
|
|
28
|
-
|
|
29
|
-
r(
|
|
28
|
+
p("div", N, [
|
|
29
|
+
r(h, null, {
|
|
30
30
|
default: e(() => {
|
|
31
31
|
var i;
|
|
32
32
|
return [
|
|
33
|
-
(l(!0),
|
|
33
|
+
(l(!0), _(v, null, S((i = n(t)) == null ? void 0 : i.spec.serverUids, (a) => (l(), s(k, {
|
|
34
34
|
key: a,
|
|
35
35
|
class: "text-xs",
|
|
36
36
|
variable: { name: n(m)[a].url, uid: a }
|
|
@@ -42,16 +42,16 @@ const N = { class: "flex-1" }, K = /* @__PURE__ */ _({
|
|
|
42
42
|
])
|
|
43
43
|
]),
|
|
44
44
|
button: e(() => [
|
|
45
|
-
r(
|
|
45
|
+
r(b, { click: f }, {
|
|
46
46
|
title: e(() => [
|
|
47
|
-
|
|
47
|
+
x("Add Server")
|
|
48
48
|
]),
|
|
49
49
|
_: 1
|
|
50
50
|
})
|
|
51
51
|
]),
|
|
52
52
|
_: 1
|
|
53
53
|
}),
|
|
54
|
-
r(
|
|
54
|
+
r(w, { class: "flex-1" }, {
|
|
55
55
|
default: e(() => [
|
|
56
56
|
r(B)
|
|
57
57
|
]),
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.0.
|
|
21
|
+
"version": "2.0.39",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -126,11 +126,11 @@
|
|
|
126
126
|
"vue": "^3.4.29",
|
|
127
127
|
"vue-router": "^4.3.0",
|
|
128
128
|
"zod": "^3.22.4",
|
|
129
|
-
"@scalar/components": "0.12.24",
|
|
130
129
|
"@scalar/draggable": "0.1.3",
|
|
131
|
-
"@scalar/
|
|
130
|
+
"@scalar/components": "0.12.25",
|
|
131
|
+
"@scalar/oas-utils": "0.2.21",
|
|
132
132
|
"@scalar/object-utils": "1.1.5",
|
|
133
|
-
"@scalar/themes": "0.9.
|
|
133
|
+
"@scalar/themes": "0.9.18",
|
|
134
134
|
"@scalar/use-codemirror": "0.11.8",
|
|
135
135
|
"@scalar/use-toasts": "0.7.4",
|
|
136
136
|
"@scalar/use-tooltip": "1.0.2"
|