@scalar/api-client 2.3.26 → 2.3.27
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 +31 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +75 -72
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +48 -45
- package/dist/components/DataTable/DataTableInput.vue.d.ts +2 -0
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +3 -3
- package/dist/components/DataTable/DataTableInput.vue2.js +46 -43
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +82 -92
- package/dist/components/Form/Form.vue.d.ts +2 -2
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.js +17 -14
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +2 -1
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +30 -30
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +16 -0
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +3 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +76 -54
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +2 -2
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +5 -4
- package/dist/hooks/useClientConfig.d.ts +6 -6
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +3 -3
- package/dist/layouts/Modal/create-api-client-modal.d.ts +6 -6
- package/dist/layouts/Web/create-api-client-web.d.ts +3 -3
- package/dist/libs/create-client.d.ts +3 -3
- package/dist/libs/env-helpers.d.ts +10 -2
- package/dist/libs/env-helpers.d.ts.map +1 -1
- package/dist/libs/env-helpers.js +4 -2
- package/dist/libs/environment-parser.d.ts +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.js +9 -9
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/string-template.d.ts.map +1 -1
- package/dist/libs/string-template.js +35 -21
- package/dist/routes.d.ts +10 -10
- package/dist/store/active-entities.js +34 -34
- package/dist/store/environment.js +1 -1
- package/dist/store/store.d.ts +3 -3
- package/dist/store/workspace.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionCookies.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionEnvironment.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionOverview.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionScripts.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.js +39 -34
- package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServers.vue2.js +58 -78
- package/dist/views/Collection/CollectionSync.vue.d.ts +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts +1 -1
- package/dist/views/Cookies/CookieRaw.vue.d.ts +1 -1
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +208 -188
- package/dist/views/Environment/EnvironmentColors.vue.js +5 -5
- package/dist/views/Environment/EnvironmentModal.vue.js +21 -21
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +9 -9
- package/dist/views/Environment/handle-drag.d.ts +13 -0
- package/dist/views/Environment/handle-drag.d.ts.map +1 -0
- package/dist/views/Environment/handle-drag.js +32 -0
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +111 -88
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +1 -0
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +62 -56
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +4 -4
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +42 -47
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +10 -10
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
- package/package.json +13 -13
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=CollectionCookies.vue.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=CollectionEnvironment.vue.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=CollectionOverview.vue.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=CollectionScripts.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionServerForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionServerForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CollectionServerForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionServerForm.vue"],"names":[],"mappings":"AA6IA,KAAK,WAAW,GAAG;IACf,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC7B,CAAC;;kBAFc,MAAM,GAAG,MAAM,EAAE;eACpB,MAAM,GAAG,MAAM,EAAE;;AAqMhC,wBAQG"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as _, computed as u, watch as h, openBlock as o, createElementBlock as c,
|
|
2
|
-
import { REGEX as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { useActiveEntities as
|
|
1
|
+
import { defineComponent as _, computed as u, watch as h, openBlock as o, createElementBlock as c, normalizeClass as k, Fragment as x, createVNode as y, createBlock as U, createCommentVNode as n } from "vue";
|
|
2
|
+
import { REGEX as E } from "@scalar/oas-utils/helpers";
|
|
3
|
+
import g from "../../components/Form/Form.vue.js";
|
|
4
|
+
import C from "../../components/Server/ServerVariablesForm.vue.js";
|
|
5
|
+
import { useActiveEntities as S } from "../../store/active-entities.js";
|
|
6
6
|
import { useWorkspace as B } from "../../store/store.js";
|
|
7
|
-
const
|
|
7
|
+
const W = /* @__PURE__ */ _({
|
|
8
8
|
__name: "CollectionServerForm",
|
|
9
9
|
props: {
|
|
10
10
|
collectionId: { default: "" },
|
|
11
11
|
serverUid: { default: "" }
|
|
12
12
|
},
|
|
13
13
|
setup(v) {
|
|
14
|
-
const l = v, { activeWorkspaceCollections: s } =
|
|
14
|
+
const l = v, { activeWorkspaceCollections: s } = S(), { servers: d, serverMutators: i } = B(), p = [
|
|
15
15
|
{
|
|
16
16
|
label: "URL",
|
|
17
17
|
key: "url",
|
|
@@ -24,51 +24,56 @@ const C = { class: "bg-b-1 divide-0.5 flex w-full flex-col divide-y text-sm" },
|
|
|
24
24
|
placeholder: "Production",
|
|
25
25
|
type: "text"
|
|
26
26
|
}
|
|
27
|
-
],
|
|
27
|
+
], a = u(() => {
|
|
28
28
|
const e = s.value.find(
|
|
29
29
|
(r) => r.uid === l.collectionId
|
|
30
30
|
);
|
|
31
31
|
return d[e && typeof l.serverUid == "string" && l.serverUid === "default" ? e.servers[0] ?? "" : (e == null ? void 0 : e.servers.find((r) => r === l.serverUid)) ?? ""];
|
|
32
32
|
}), f = u(() => {
|
|
33
33
|
var e, r;
|
|
34
|
-
return (e =
|
|
34
|
+
return (e = a.value) != null && e.url ? ((r = a.value.url.match(E.PATH)) == null ? void 0 : r.map((t) => t.slice(1, -1))) ?? [] : [];
|
|
35
35
|
});
|
|
36
36
|
h(
|
|
37
37
|
f,
|
|
38
38
|
(e) => {
|
|
39
|
-
if (!
|
|
39
|
+
if (!a.value)
|
|
40
40
|
return;
|
|
41
|
-
const r =
|
|
42
|
-
Object.keys(r).forEach((
|
|
43
|
-
e.includes(
|
|
44
|
-
}), e.forEach((
|
|
45
|
-
r[
|
|
46
|
-
}), i.edit(
|
|
41
|
+
const r = a.value.variables ? { ...a.value.variables } : {};
|
|
42
|
+
Object.keys(r).forEach((t) => {
|
|
43
|
+
e.includes(t) || delete r[t];
|
|
44
|
+
}), e.forEach((t) => {
|
|
45
|
+
r[t] || (r[t] = { default: "" });
|
|
46
|
+
}), i.edit(a.value.uid, "variables", r);
|
|
47
47
|
},
|
|
48
48
|
{ immediate: !0 }
|
|
49
49
|
);
|
|
50
50
|
const m = (e, r) => {
|
|
51
|
-
!s.value || !
|
|
51
|
+
!s.value || !a.value || i.edit(a.value.uid, e, r);
|
|
52
52
|
}, b = (e, r) => {
|
|
53
|
-
if (!
|
|
53
|
+
if (!a.value)
|
|
54
54
|
return;
|
|
55
|
-
const
|
|
56
|
-
|
|
55
|
+
const t = a.value.variables || {};
|
|
56
|
+
t[e] = { ...t[e], default: r }, i.edit(a.value.uid, "variables", t);
|
|
57
|
+
};
|
|
58
|
+
return (e, r) => {
|
|
59
|
+
var t;
|
|
60
|
+
return o(), c("div", {
|
|
61
|
+
class: k(["divide-0.5 flex w-full flex-col divide-y rounded-b-lg text-sm", ((t = a.value) == null ? void 0 : t.variables) && "bg-b-1"])
|
|
62
|
+
}, [
|
|
63
|
+
a.value ? (o(), c(x, { key: 0 }, [
|
|
64
|
+
y(g, {
|
|
65
|
+
data: a.value,
|
|
66
|
+
onUpdate: m,
|
|
67
|
+
options: p
|
|
68
|
+
}, null, 8, ["data"]),
|
|
69
|
+
a.value.variables ? (o(), U(C, {
|
|
70
|
+
key: 0,
|
|
71
|
+
variables: a.value.variables,
|
|
72
|
+
"onUpdate:variable": b
|
|
73
|
+
}, null, 8, ["variables"])) : n("", !0)
|
|
74
|
+
], 64)) : n("", !0)
|
|
75
|
+
], 2);
|
|
57
76
|
};
|
|
58
|
-
return (e, r) => (o(), c("div", C, [
|
|
59
|
-
t.value ? (o(), c(k, { key: 0 }, [
|
|
60
|
-
x(E, {
|
|
61
|
-
data: t.value,
|
|
62
|
-
onUpdate: m,
|
|
63
|
-
options: p
|
|
64
|
-
}, null, 8, ["data"]),
|
|
65
|
-
t.value.variables ? (o(), y(S, {
|
|
66
|
-
key: 0,
|
|
67
|
-
variables: t.value.variables,
|
|
68
|
-
"onUpdate:variable": b
|
|
69
|
-
}, null, 8, ["variables"])) : n("", !0)
|
|
70
|
-
], 64)) : n("", !0)
|
|
71
|
-
]));
|
|
72
77
|
}
|
|
73
78
|
});
|
|
74
79
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionServers.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionServers.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CollectionServers.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionServers.vue"],"names":[],"mappings":";AAmbA,wBAMG"}
|
|
@@ -1,116 +1,96 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useModal as $, ScalarMarkdown as j,
|
|
1
|
+
import { defineComponent as y, ref as C, computed as w, openBlock as o, createElementBlock as u, createElementVNode as c, createStaticVNode as A, Fragment as M, renderList as N, createBlock as m, unref as e, toDisplayString as D, createVNode as n, withCtx as f, createCommentVNode as I } from "vue";
|
|
2
|
+
import { useModal as $, ScalarMarkdown as j, ScalarButton as p, ScalarIcon as z, ScalarModal as B } from "@scalar/components";
|
|
3
|
+
import { ScalarIconTrash as U } from "@scalar/icons";
|
|
3
4
|
import V from "../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
|
|
4
|
-
import { useActiveEntities as
|
|
5
|
-
import
|
|
6
|
-
import { useWorkspace as
|
|
7
|
-
const
|
|
5
|
+
import { useActiveEntities as E } from "../../store/active-entities.js";
|
|
6
|
+
import L from "./CollectionServerForm.vue.js";
|
|
7
|
+
import { useWorkspace as P } from "../../store/store.js";
|
|
8
|
+
const T = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, F = { class: "flex flex-col gap-4" }, O = { class: "bg-b-2 rounded-lg border" }, R = { class: "flex items-start justify-between rounded-t-lg py-1 pl-3 pr-1 text-sm" }, W = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "self-center"
|
|
11
|
+
}, Y = { class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4" }, te = /* @__PURE__ */ y({
|
|
8
12
|
__name: "CollectionServers",
|
|
9
|
-
setup(
|
|
10
|
-
const { activeCollection:
|
|
11
|
-
var
|
|
12
|
-
return !
|
|
13
|
-
(
|
|
14
|
-
var
|
|
15
|
-
return (
|
|
13
|
+
setup(q) {
|
|
14
|
+
const { activeCollection: l } = E(), { servers: v, events: x, serverMutators: h } = P(), d = $(), a = C(null), _ = w(() => {
|
|
15
|
+
var t;
|
|
16
|
+
return !v || !((t = l.value) != null && t.servers) ? [] : Object.values(v).filter(
|
|
17
|
+
(s) => {
|
|
18
|
+
var i;
|
|
19
|
+
return (i = l.value) == null ? void 0 : i.servers.includes(s.uid);
|
|
16
20
|
}
|
|
17
21
|
);
|
|
18
|
-
}),
|
|
22
|
+
}), S = () => x.commandPalette.emit({
|
|
19
23
|
commandName: "Add Server"
|
|
20
|
-
}),
|
|
21
|
-
var
|
|
22
|
-
!((
|
|
23
|
-
},
|
|
24
|
-
|
|
24
|
+
}), b = () => {
|
|
25
|
+
var t;
|
|
26
|
+
!((t = l.value) != null && t.uid) || !a.value || (h.delete(a.value, l.value.uid), d.hide());
|
|
27
|
+
}, g = (t) => {
|
|
28
|
+
a.value = t, d.show();
|
|
25
29
|
};
|
|
26
|
-
return (
|
|
27
|
-
var
|
|
28
|
-
return
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
(
|
|
30
|
+
return (t, s) => {
|
|
31
|
+
var i;
|
|
32
|
+
return o(), u("div", T, [
|
|
33
|
+
c("div", F, [
|
|
34
|
+
s[2] || (s[2] = A('<div class="flex items-start justify-between gap-2"><div class="flex flex-col"><div class="flex h-8 items-center"><h3 class="font-bold">Servers</h3></div><p class="text-sm"> Add different base URLs for your API. You can use <code class="font-code text-c-2">{variables}</code> for dynamic parts. </p></div></div>', 1)),
|
|
35
|
+
(o(!0), u(M, null, N(_.value, (r, k) => (o(), u("div", {
|
|
32
36
|
key: r.uid
|
|
33
37
|
}, [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
r.description ? (
|
|
38
|
+
c("div", O, [
|
|
39
|
+
c("div", R, [
|
|
40
|
+
r.description ? (o(), m(e(j), {
|
|
37
41
|
key: 0,
|
|
38
|
-
value: r.description
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
class: "inline-flex",
|
|
49
|
-
icon: "Delete",
|
|
50
|
-
size: "sm",
|
|
51
|
-
thickness: "1.5"
|
|
52
|
-
}),
|
|
53
|
-
t[1] || (t[1] = i("span", null, "Delete", -1))
|
|
54
|
-
]),
|
|
55
|
-
_: 2
|
|
56
|
-
}, 1032, ["onClick"])
|
|
57
|
-
]),
|
|
58
|
-
default: a(() => [
|
|
59
|
-
l(e(x), {
|
|
60
|
-
class: "hover:bg-b-3 h-full max-h-8 gap-1 p-1 text-xs",
|
|
61
|
-
variant: "ghost"
|
|
62
|
-
}, {
|
|
63
|
-
default: a(() => [
|
|
64
|
-
l(e(m), {
|
|
65
|
-
class: "text-c-3",
|
|
66
|
-
icon: "Ellipses",
|
|
67
|
-
size: "md"
|
|
68
|
-
})
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
})
|
|
42
|
+
value: r.description,
|
|
43
|
+
class: "self-center"
|
|
44
|
+
}, null, 8, ["value"])) : (o(), u("span", W, "Server " + D(k + 1), 1)),
|
|
45
|
+
n(e(p), {
|
|
46
|
+
class: "hover:bg-b-3 hover:text-c-1 p-1.25 h-fit",
|
|
47
|
+
variant: "ghost",
|
|
48
|
+
onClick: (G) => g(r.uid)
|
|
49
|
+
}, {
|
|
50
|
+
default: f(() => [
|
|
51
|
+
n(e(U), { class: "size-3.5" })
|
|
72
52
|
]),
|
|
73
53
|
_: 2
|
|
74
|
-
},
|
|
54
|
+
}, 1032, ["onClick"])
|
|
75
55
|
]),
|
|
76
|
-
e(
|
|
56
|
+
e(l) ? (o(), m(L, {
|
|
77
57
|
key: 0,
|
|
78
|
-
collectionId: e(
|
|
58
|
+
collectionId: e(l).uid,
|
|
79
59
|
serverUid: r.uid
|
|
80
60
|
}, null, 8, ["collectionId", "serverUid"])) : I("", !0)
|
|
81
61
|
])
|
|
82
62
|
]))), 128)),
|
|
83
|
-
|
|
84
|
-
|
|
63
|
+
c("div", Y, [
|
|
64
|
+
n(e(p), {
|
|
85
65
|
class: "hover:bg-b-2 hover:text-c-1 flex items-center gap-2",
|
|
86
66
|
size: "sm",
|
|
87
67
|
variant: "ghost",
|
|
88
|
-
onClick:
|
|
68
|
+
onClick: S
|
|
89
69
|
}, {
|
|
90
|
-
default:
|
|
91
|
-
|
|
70
|
+
default: f(() => [
|
|
71
|
+
n(e(z), {
|
|
92
72
|
class: "inline-flex",
|
|
93
73
|
icon: "Add",
|
|
94
74
|
size: "sm",
|
|
95
75
|
thickness: "1.5"
|
|
96
76
|
}),
|
|
97
|
-
|
|
77
|
+
s[1] || (s[1] = c("span", null, "Add Server", -1))
|
|
98
78
|
]),
|
|
99
79
|
_: 1
|
|
100
80
|
})
|
|
101
81
|
])
|
|
102
82
|
]),
|
|
103
|
-
|
|
83
|
+
n(e(B), {
|
|
104
84
|
size: "xxs",
|
|
105
|
-
state: e(
|
|
106
|
-
title: `Delete ${
|
|
85
|
+
state: e(d),
|
|
86
|
+
title: `Delete ${a.value ? (i = e(v)[a.value]) == null ? void 0 : i.url : "Server"}`
|
|
107
87
|
}, {
|
|
108
|
-
default:
|
|
109
|
-
|
|
88
|
+
default: f(() => [
|
|
89
|
+
n(V, {
|
|
110
90
|
variableName: "Server",
|
|
111
91
|
warningMessage: "Are you sure you want to delete this server? This action cannot be undone.",
|
|
112
|
-
onClose:
|
|
113
|
-
onDelete:
|
|
92
|
+
onClose: s[0] || (s[0] = (r) => e(d).hide()),
|
|
93
|
+
onDelete: b
|
|
114
94
|
})
|
|
115
95
|
]),
|
|
116
96
|
_: 1
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=CollectionSync.vue.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=CookieForm.vue.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=CookieRaw.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/Environment.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/Environment.vue"],"names":[],"mappings":";AA6/CA,wBAMG"}
|