@scalar/api-client 2.3.26 → 2.3.28

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.
Files changed (96) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/components/CodeInput/CodeInput.vue.d.ts +4 -1
  3. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  4. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  5. package/dist/components/CodeInput/CodeInput.vue2.js +76 -72
  6. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  7. package/dist/components/CodeInput/codeVariableWidget.js +48 -45
  8. package/dist/components/CodeInput/index.d.ts +2 -0
  9. package/dist/components/CodeInput/index.d.ts.map +1 -0
  10. package/dist/components/CodeInput/index.js +4 -0
  11. package/dist/components/DataTable/DataTableInput.vue.d.ts +8 -1
  12. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  13. package/dist/components/DataTable/DataTableInput.vue.js +3 -3
  14. package/dist/components/DataTable/DataTableInput.vue2.js +46 -43
  15. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +1 -1
  16. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  17. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +82 -92
  18. package/dist/components/Form/Form.vue.d.ts +2 -2
  19. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  20. package/dist/components/Form/Form.vue.js +17 -14
  21. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
  22. package/dist/components/ImportCollection/IntegrationLogo.vue.js +2 -1
  23. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  24. package/dist/components/SideNav/SideNav.vue.js +30 -30
  25. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +16 -0
  26. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  27. package/dist/components/Sidebar/SidebarListElement.vue.js +3 -2
  28. package/dist/components/Sidebar/SidebarListElement.vue2.js +76 -54
  29. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +2 -2
  30. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  31. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +5 -4
  32. package/dist/components/ViewLayout/index.d.ts +2 -0
  33. package/dist/components/ViewLayout/index.d.ts.map +1 -0
  34. package/dist/components/ViewLayout/index.js +4 -0
  35. package/dist/hooks/useClientConfig.d.ts +6 -6
  36. package/dist/hooks/useClientConfig.d.ts.map +1 -1
  37. package/dist/layouts/App/create-api-client-app.d.ts +13 -13
  38. package/dist/layouts/Modal/create-api-client-modal.d.ts +26 -26
  39. package/dist/layouts/Web/create-api-client-web.d.ts +13 -13
  40. package/dist/libs/create-client.d.ts +13 -13
  41. package/dist/libs/env-helpers.d.ts +10 -2
  42. package/dist/libs/env-helpers.d.ts.map +1 -1
  43. package/dist/libs/env-helpers.js +4 -2
  44. package/dist/libs/environment-parser.d.ts +1 -1
  45. package/dist/libs/hot-keys.d.ts +1 -1
  46. package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
  47. package/dist/libs/send-request/create-request-operation.js +9 -9
  48. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  49. package/dist/libs/string-template.d.ts.map +1 -1
  50. package/dist/libs/string-template.js +35 -21
  51. package/dist/routes.d.ts +10 -10
  52. package/dist/store/active-entities.js +34 -34
  53. package/dist/store/environment.js +1 -1
  54. package/dist/store/security-schemes.d.ts +10 -10
  55. package/dist/store/store.d.ts +13 -13
  56. package/dist/store/workspace.d.ts +2 -2
  57. package/dist/style.css +1 -1
  58. package/dist/views/Collection/CollectionCookies.vue.d.ts +1 -1
  59. package/dist/views/Collection/CollectionEnvironment.vue.d.ts +1 -1
  60. package/dist/views/Collection/CollectionOverview.vue.d.ts +1 -1
  61. package/dist/views/Collection/CollectionScripts.vue.d.ts +1 -1
  62. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  63. package/dist/views/Collection/CollectionServerForm.vue.js +39 -34
  64. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
  65. package/dist/views/Collection/CollectionServers.vue2.js +58 -78
  66. package/dist/views/Collection/CollectionSync.vue.d.ts +1 -1
  67. package/dist/views/Cookies/CookieForm.vue.d.ts +1 -1
  68. package/dist/views/Cookies/CookieRaw.vue.d.ts +1 -1
  69. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  70. package/dist/views/Environment/Environment.vue2.js +208 -188
  71. package/dist/views/Environment/EnvironmentColors.vue.js +5 -5
  72. package/dist/views/Environment/EnvironmentModal.vue.js +21 -21
  73. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  74. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +9 -9
  75. package/dist/views/Environment/handle-drag.d.ts +13 -0
  76. package/dist/views/Environment/handle-drag.d.ts.map +1 -0
  77. package/dist/views/Environment/handle-drag.js +32 -0
  78. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  79. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +23 -22
  80. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  81. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +111 -88
  82. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  83. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +1 -0
  84. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  85. package/dist/views/Request/RequestSection/RequestParams.vue.js +62 -56
  86. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
  87. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  88. package/dist/views/Request/RequestSection/RequestSection.vue.js +4 -4
  89. package/dist/views/Request/RequestSection/RequestSection.vue2.js +42 -47
  90. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  91. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  92. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  93. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +2 -2
  94. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +10 -10
  95. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
  96. package/package.json +24 -14
@@ -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, {}, HTMLElement>;
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, {}, HTMLElement>;
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, {}, HTMLElement>;
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, {}, HTMLElement>;
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":"AA2IA,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
+ {"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, Fragment as k, createVNode as x, createBlock as y, createCommentVNode as n } from "vue";
2
- import { REGEX as U } from "@scalar/oas-utils/helpers";
3
- import E from "../../components/Form/Form.vue.js";
4
- import S from "../../components/Server/ServerVariablesForm.vue.js";
5
- import { useActiveEntities as g } from "../../store/active-entities.js";
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 C = { class: "bg-b-1 divide-0.5 flex w-full flex-col divide-y text-sm" }, W = /* @__PURE__ */ _({
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 } = g(), { servers: d, serverMutators: i } = B(), p = [
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
- ], t = u(() => {
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 = t.value) != null && e.url ? ((r = t.value.url.match(U.PATH)) == null ? void 0 : r.map((a) => a.slice(1, -1))) ?? [] : [];
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 (!t.value)
39
+ if (!a.value)
40
40
  return;
41
- const r = t.value.variables ? { ...t.value.variables } : {};
42
- Object.keys(r).forEach((a) => {
43
- e.includes(a) || delete r[a];
44
- }), e.forEach((a) => {
45
- r[a] || (r[a] = { default: "" });
46
- }), i.edit(t.value.uid, "variables", r);
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 || !t.value || i.edit(t.value.uid, e, r);
51
+ !s.value || !a.value || i.edit(a.value.uid, e, r);
52
52
  }, b = (e, r) => {
53
- if (!t.value)
53
+ if (!a.value)
54
54
  return;
55
- const a = t.value.variables || {};
56
- a[e] = { ...a[e], default: r }, i.edit(t.value.uid, "variables", a);
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":";AA4dA,wBAMG"}
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 w, ref as C, computed as D, openBlock as n, createElementBlock as v, createElementVNode as i, createStaticVNode as A, Fragment as M, renderList as N, createBlock as p, unref as e, toDisplayString as z, createVNode as l, withCtx as a, createCommentVNode as I } from "vue";
2
- import { useModal as $, ScalarMarkdown as j, ScalarDropdown as B, ScalarDropdownItem as E, ScalarIcon as m, ScalarButton as x, ScalarModal as U } from "@scalar/components";
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 L } from "../../store/active-entities.js";
5
- import P from "./CollectionServerForm.vue.js";
6
- import { useWorkspace as F } from "../../store/store.js";
7
- const O = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, R = { class: "flex flex-col gap-4" }, T = { class: "bg-b-2 overflow-hidden rounded-lg border" }, W = { class: "flex items-center justify-between py-1 pl-3 pr-1 text-sm" }, Y = { key: 1 }, q = { class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4" }, te = /* @__PURE__ */ w({
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(G) {
10
- const { activeCollection: o } = L(), { servers: f, events: h, serverMutators: _ } = F(), u = $(), d = C(null), S = D(() => {
11
- var s;
12
- return !f || !((s = o.value) != null && s.servers) ? [] : Object.values(f).filter(
13
- (t) => {
14
- var c;
15
- return (c = o.value) == null ? void 0 : c.servers.includes(t.uid);
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
- }), b = () => h.commandPalette.emit({
22
+ }), S = () => x.commandPalette.emit({
19
23
  commandName: "Add Server"
20
- }), g = () => {
21
- var s;
22
- !((s = o.value) != null && s.uid) || !d.value || (_.delete(d.value, o.value.uid), u.hide());
23
- }, k = (s) => {
24
- d.value = s, u.show();
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 (s, t) => {
27
- var c;
28
- return n(), v("div", O, [
29
- i("div", R, [
30
- t[3] || (t[3] = 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)),
31
- (n(!0), v(M, null, N(S.value, (r, y) => (n(), v("div", {
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
- i("div", T, [
35
- i("div", W, [
36
- r.description ? (n(), p(e(j), {
38
+ c("div", O, [
39
+ c("div", R, [
40
+ r.description ? (o(), m(e(j), {
37
41
  key: 0,
38
- value: r.description
39
- }, null, 8, ["value"])) : (n(), v("span", Y, "Server " + z(y + 1), 1)),
40
- l(e(B), { placement: "bottom-end" }, {
41
- items: a(() => [
42
- l(e(E), {
43
- class: "flex gap-2 font-normal",
44
- onClick: (H) => k(r.uid)
45
- }, {
46
- default: a(() => [
47
- l(e(m), {
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
- }, 1024)
54
+ }, 1032, ["onClick"])
75
55
  ]),
76
- e(o) ? (n(), p(P, {
56
+ e(l) ? (o(), m(L, {
77
57
  key: 0,
78
- collectionId: e(o).uid,
58
+ collectionId: e(l).uid,
79
59
  serverUid: r.uid
80
60
  }, null, 8, ["collectionId", "serverUid"])) : I("", !0)
81
61
  ])
82
62
  ]))), 128)),
83
- i("div", q, [
84
- l(e(x), {
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: b
68
+ onClick: S
89
69
  }, {
90
- default: a(() => [
91
- l(e(m), {
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
- t[2] || (t[2] = i("span", null, "Add Server", -1))
77
+ s[1] || (s[1] = c("span", null, "Add Server", -1))
98
78
  ]),
99
79
  _: 1
100
80
  })
101
81
  ])
102
82
  ]),
103
- l(e(U), {
83
+ n(e(B), {
104
84
  size: "xxs",
105
- state: e(u),
106
- title: `Delete ${d.value ? (c = e(f)[d.value]) == null ? void 0 : c.url : "Server"}`
85
+ state: e(d),
86
+ title: `Delete ${a.value ? (i = e(v)[a.value]) == null ? void 0 : i.url : "Server"}`
107
87
  }, {
108
- default: a(() => [
109
- l(V, {
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: t[0] || (t[0] = (r) => e(u).hide()),
113
- onDelete: g
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, {}, HTMLElement>;
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, {}, HTMLElement>;
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, {}, HTMLElement>;
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":";AAo7CA,wBAMG"}
1
+ {"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/Environment.vue"],"names":[],"mappings":";AA6/CA,wBAMG"}