@scalar/api-client 2.0.57 → 2.0.59

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 (63) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/AddressBar/AddressBar.vue2.js +61 -58
  5. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  6. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +31 -25
  7. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  8. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +51 -45
  9. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +1 -1
  10. package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +47 -41
  11. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  12. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -40
  13. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  14. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +67 -61
  15. package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
  16. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +30 -30
  17. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
  18. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +1 -1
  19. package/dist/components/TopNav/TopNav.vue.d.ts +20 -1
  20. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  21. package/dist/components/TopNav/TopNav.vue.js +2 -2
  22. package/dist/components/TopNav/TopNav.vue2.js +64 -49
  23. package/dist/layouts/App/ApiClientApp.vue.d.ts +11 -1
  24. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  25. package/dist/layouts/App/ApiClientApp.vue.js +53 -49
  26. package/dist/libs/event-busses/cancel-request-bus.d.ts +2 -0
  27. package/dist/libs/event-busses/cancel-request-bus.d.ts.map +1 -0
  28. package/dist/libs/event-busses/cancel-request-bus.js +5 -0
  29. package/dist/libs/event-busses/hot-keys-bus.d.ts +3 -1
  30. package/dist/libs/event-busses/hot-keys-bus.d.ts.map +1 -1
  31. package/dist/libs/event-busses/hot-keys-bus.js +1 -0
  32. package/dist/libs/event-busses/index.d.ts +2 -1
  33. package/dist/libs/event-busses/index.d.ts.map +1 -1
  34. package/dist/libs/event-busses/index.js +11 -8
  35. package/dist/libs/index.js +21 -18
  36. package/dist/libs/local-storage.js +1 -1
  37. package/dist/libs/sendRequest.d.ts +2 -2
  38. package/dist/libs/sendRequest.d.ts.map +1 -1
  39. package/dist/libs/sendRequest.js +22 -21
  40. package/dist/store/workspace.d.ts.map +1 -1
  41. package/dist/store/workspace.js +100 -103
  42. package/dist/style.css +1 -1
  43. package/dist/views/Request/Request.vue.d.ts +11 -1
  44. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  45. package/dist/views/Request/Request.vue.js +3 -3
  46. package/dist/views/Request/Request.vue2.js +184 -174
  47. package/dist/views/Request/RequestSidebarItem.vue.d.ts +2 -0
  48. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  49. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  50. package/dist/views/Request/RequestSidebarItem.vue2.js +139 -130
  51. package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
  52. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +21 -21
  53. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts +3 -0
  54. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -0
  55. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +7 -0
  56. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +39 -0
  57. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  58. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +37 -30
  59. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  60. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +23 -21
  61. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  62. package/dist/views/Request/components/WorkspaceDropdown.vue.js +37 -37
  63. package/package.json +7 -7
@@ -1,43 +1,50 @@
1
- import { defineComponent as c, computed as l, openBlock as n, createElementBlock as s, createElementVNode as d, toDisplayString as t, unref as f, createCommentVNode as u, Fragment as h, createBlock as _, withCtx as v, createTextVNode as y } from "vue";
2
- import g from "../../../components/HelpfulLink.vue.js";
3
- import { httpStatusCodes as k } from "@scalar/oas-utils/helpers";
4
- import C from "pretty-bytes";
5
- import B from "pretty-ms";
6
- const I = { class: "flex gap-1.5 text-c-3 pl-1" }, N = { key: 0 }, S = { key: 1 }, x = /* @__PURE__ */ c({
1
+ import { defineComponent as y, ref as c, computed as k, openBlock as t, createElementBlock as s, toDisplayString as o, unref as m, Fragment as d, createElementVNode as g, createCommentVNode as v, createBlock as C, withCtx as B, createTextVNode as I } from "vue";
2
+ import S from "../../../components/HelpfulLink.vue.js";
3
+ import { httpStatusCodes as L } from "@scalar/oas-utils/helpers";
4
+ import N from "pretty-bytes";
5
+ import f from "pretty-ms";
6
+ import { requestStatusBus as V } from "../../../libs/event-busses/request-status-bus.js";
7
+ const w = { class: "flex gap-1.5 text-c-3 pl-1" }, E = { key: 0 }, M = { key: 0 }, q = { key: 1 }, b = /* @__PURE__ */ y({
7
8
  __name: "ResponseMetaInformation",
8
9
  props: {
9
10
  response: {}
10
11
  },
11
- setup(i) {
12
- const m = i, a = (e) => {
13
- var p;
14
- const r = parseInt(
15
- ((p = e.headers) == null ? void 0 : p["content-length"]) || "0",
12
+ setup(h) {
13
+ const _ = h, r = c(), a = c(0);
14
+ V.on((e) => {
15
+ e === "start" ? r.value = setInterval(() => a.value += 1e3, 1e3) : (clearInterval(r.value), r.value = void 0, a.value = 0);
16
+ });
17
+ const l = (e) => {
18
+ var p, i;
19
+ const u = parseInt(
20
+ ((p = e.headers) == null ? void 0 : p["Content-Length"]) || ((i = e.headers) == null ? void 0 : i["content-length"]) || "0",
16
21
  10
17
22
  );
18
- return r ? C(r) : void 0;
19
- }, o = l(() => {
20
- const e = m.response.status;
23
+ return u ? N(u) : void 0;
24
+ }, n = k(() => {
25
+ const e = _.response.status;
21
26
  if (e)
22
- return k[e] ?? void 0;
27
+ return L[e] ?? void 0;
23
28
  });
24
- return (e, r) => (n(), s("div", I, [
25
- d("span", null, t(f(B)(e.response.duration)), 1),
26
- a(e.response) ? (n(), s("span", N, t(a(e.response)), 1)) : u("", !0),
27
- o.value ? (n(), s(h, { key: 1 }, [
28
- o.value.url ? (n(), _(g, {
29
- key: 0,
30
- href: o.value.url
31
- }, {
32
- default: v(() => [
33
- y(t(e.response.status) + " " + t(o.value.name), 1)
34
- ]),
35
- _: 1
36
- }, 8, ["href"])) : (n(), s("span", S, t(e.response.status) + " " + t(o.value.name), 1))
37
- ], 64)) : u("", !0)
29
+ return (e, u) => (t(), s("div", w, [
30
+ r.value && a.value ? (t(), s("span", E, o(m(f)(a.value)), 1)) : (t(), s(d, { key: 1 }, [
31
+ g("span", null, o(m(f)(e.response.duration)), 1),
32
+ l(e.response) ? (t(), s("span", M, o(l(e.response)), 1)) : v("", !0),
33
+ n.value ? (t(), s(d, { key: 1 }, [
34
+ n.value.url ? (t(), C(S, {
35
+ key: 0,
36
+ href: n.value.url
37
+ }, {
38
+ default: B(() => [
39
+ I(o(e.response.status) + " " + o(n.value.name), 1)
40
+ ]),
41
+ _: 1
42
+ }, 8, ["href"])) : (t(), s("span", q, o(e.response.status) + " " + o(n.value.name), 1))
43
+ ], 64)) : v("", !0)
44
+ ], 64))
38
45
  ]));
39
46
  }
40
47
  });
41
48
  export {
42
- x as default
49
+ b as default
43
50
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseSection.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;;cASrE,gBAAgB,GAAG,SAAS;;cAA5B,gBAAgB,GAAG,SAAS;;AAkNxC,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ResponseSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseSection.vue"],"names":[],"mappings":"AA6GA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;;cASrE,gBAAgB,GAAG,SAAS;;cAA5B,gBAAgB,GAAG,SAAS;;AA2NxC,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,21 +1,22 @@
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";
1
+ import { defineComponent as _, computed as p, ref as h, openBlock as r, createBlock as n, withCtx as u, createVNode as c, unref as x, createElementVNode as d, createTextVNode as y, createCommentVNode as l, createElementBlock as C, Fragment as A } from "vue";
2
2
  import B from "../../../components/ContextBar.vue.js";
3
3
  import S from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
4
4
  import $ from "./ResponseBody.vue.js";
5
- import E from "./ResponseEmpty.vue.js";
5
+ import g from "./ResponseEmpty.vue.js";
6
+ import E from "./ResponseLoadingOverlay.vue.js";
6
7
  import N from "./ResponseMetaInformation.vue.js";
7
- import { ScalarIcon as V } from "@scalar/components";
8
- import g from "./ResponseCookies.vue.js";
8
+ import { ScalarIcon as R } from "@scalar/components";
9
+ import V from "./ResponseCookies.vue.js";
9
10
  import H from "./ResponseHeaders.vue.js";
10
- const R = { class: "flex items-center flex-1" }, b = { class: "custom-scroll flex flex-1 flex-col px-2 xl:px-6 py-2.5" }, T = /* @__PURE__ */ _({
11
+ const L = { class: "flex items-center flex-1" }, O = { class: "custom-scroll relative flex flex-1 flex-col px-2 xl:px-6 py-2.5" }, D = /* @__PURE__ */ _({
11
12
  __name: "ResponseSection",
12
13
  props: {
13
14
  response: {}
14
15
  },
15
16
  setup(f) {
16
- const c = f, i = m(() => {
17
+ const i = f, m = p(() => {
17
18
  var s;
18
- const e = (s = c.response) == null ? void 0 : s.headers;
19
+ const e = (s = i.response) == null ? void 0 : s.headers;
19
20
  return e ? Object.keys(e).map((o) => ({
20
21
  name: o,
21
22
  value: e[o],
@@ -26,9 +27,9 @@ const R = { class: "flex items-center flex-1" }, b = { class: "custom-scroll fle
26
27
  "X-API-Client-Content-Length"
27
28
  ].includes(o.name)
28
29
  ) : [];
29
- }), v = m(() => {
30
+ }), v = p(() => {
30
31
  var s, o;
31
- const e = (o = (s = c.response) == null ? void 0 : s.headers) == null ? void 0 : o.cookies;
32
+ const e = (o = (s = i.response) == null ? void 0 : s.headers) == null ? void 0 : o.cookies;
32
33
  return e ? Object.keys(e).map((a) => ({
33
34
  name: a,
34
35
  value: e[a],
@@ -36,14 +37,14 @@ const R = { class: "flex items-center flex-1" }, b = { class: "custom-scroll fle
36
37
  })) : [];
37
38
  }), k = ["All", "Body", "Headers", "Cookies"], t = h("All");
38
39
  return (e, s) => (r(), n(S, null, {
39
- title: p(() => [
40
- u(x(V), {
40
+ title: u(() => [
41
+ c(x(R), {
41
42
  class: "text-c-3 mr-2 rotate-180",
42
43
  icon: "ExternalLink",
43
44
  size: "sm",
44
45
  thickness: "2.5"
45
46
  }),
46
- d("div", R, [
47
+ d("div", L, [
47
48
  y(" Response "),
48
49
  e.response ? (r(), n(N, {
49
50
  key: 0,
@@ -51,32 +52,33 @@ const R = { class: "flex items-center flex-1" }, b = { class: "custom-scroll fle
51
52
  }, null, 8, ["response"])) : l("", !0)
52
53
  ])
53
54
  ]),
54
- default: p(() => {
55
+ default: u(() => {
55
56
  var o;
56
57
  return [
57
- d("div", b, [
58
+ d("div", O, [
58
59
  e.response ? (r(), C(A, { key: 1 }, [
59
- u(B, {
60
+ c(B, {
60
61
  activeSection: t.value,
61
62
  sections: k,
62
63
  onSetActiveSection: s[0] || (s[0] = (a) => t.value = a)
63
64
  }, null, 8, ["activeSection"]),
64
- t.value === "All" || t.value === "Cookies" ? (r(), n(g, {
65
+ t.value === "All" || t.value === "Cookies" ? (r(), n(V, {
65
66
  key: 0,
66
67
  cookies: v.value
67
68
  }, null, 8, ["cookies"])) : l("", !0),
68
69
  t.value === "All" || t.value === "Headers" ? (r(), n(H, {
69
70
  key: 1,
70
- headers: i.value
71
+ headers: m.value
71
72
  }, null, 8, ["headers"])) : l("", !0),
72
73
  t.value === "All" || t.value === "Body" ? (r(), n($, {
73
74
  key: 2,
74
75
  active: !0,
75
- data: (o = c.response) == null ? void 0 : o.data,
76
- headers: i.value,
76
+ data: (o = i.response) == null ? void 0 : o.data,
77
+ headers: m.value,
77
78
  title: "Body"
78
79
  }, null, 8, ["data", "headers"])) : l("", !0)
79
- ], 64)) : (r(), n(E, { key: 0 }))
80
+ ], 64)) : (r(), n(g, { key: 0 })),
81
+ c(E)
80
82
  ])
81
83
  ];
82
84
  }),
@@ -85,5 +87,5 @@ const R = { class: "flex items-center flex-1" }, b = { class: "custom-scroll fle
85
87
  }
86
88
  });
87
89
  export {
88
- T as default
90
+ D as default
89
91
  };
@@ -1 +1 @@
1
- {"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";AAq7BA,wBAKG"}
1
+ {"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";AAs7BA,wBAKG"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as K, computed as O, ref as W, openBlock as p, createElementBlock as D, Fragment as S, createElementVNode as n, createVNode as t, unref as e, withCtx as s, renderList as U, createBlock as x, withModifiers as w, normalizeClass as A, createTextVNode as k, toDisplayString as z, withKeys as F } from "vue";
1
+ import { defineComponent as O, computed as T, ref as M, openBlock as p, createElementBlock as W, Fragment as S, createElementVNode as n, createVNode as t, unref as e, withCtx as s, renderList as U, createBlock as x, withModifiers as k, normalizeClass as A, createTextVNode as h, toDisplayString as z, withKeys as F } from "vue";
2
2
  import I from "../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
3
3
  import { useWorkspace as L } from "../../../store/workspace.js";
4
4
  import { useModal as $, ScalarDropdown as N, ScalarContextMenu as P, ScalarDropdownItem as m, ScalarIcon as c, ScalarTooltip as q, ScalarDropdownDivider as G, ScalarButton as _, ScalarModal as V, ScalarTextField as H } from "@scalar/components";
@@ -8,36 +8,36 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
8
8
  /* @__PURE__ */ n("div", { class: "flex items-center text-c-2" }, [
9
9
  /* @__PURE__ */ n("span", null, "Only workspace cannot be deleted.")
10
10
  ])
11
- ], -1), se = /* @__PURE__ */ n("span", null, "Delete", -1), ne = { class: "flex items-center justify-center h-4 w-4" }, ae = /* @__PURE__ */ n("span", null, "Create new workspace", -1), le = { class: "flex gap-3" }, me = /* @__PURE__ */ K({
11
+ ], -1), se = /* @__PURE__ */ n("span", null, "Delete", -1), ne = { class: "flex items-center justify-center h-4 w-4" }, le = /* @__PURE__ */ n("span", null, "Create new workspace", -1), ae = { class: "flex gap-3" }, me = /* @__PURE__ */ O({
12
12
  __name: "WorkspaceDropdown",
13
13
  setup(oe) {
14
- const { activeWorkspace: f, workspaces: d, workspaceMutators: g } = L(), { push: b } = J(), j = (a) => {
15
- a !== f.value.uid && b(`/workspace/${a}`);
16
- }, y = O(() => Object.keys(d).length === 1), B = () => Q.emit({ commandName: "Create Workspace" }), o = W(""), r = W(""), v = $(), h = $(), R = (a) => {
17
- o.value = d[a].name, r.value = a, v.show();
14
+ const { activeWorkspace: f, workspaces: d, workspaceMutators: g } = L(), { push: b } = J(), j = (l) => {
15
+ l !== f.value.uid && b(`/workspace/${l}`);
16
+ }, y = T(() => Object.keys(d).length === 1), B = () => Q.emit({ commandName: "Create Workspace" }), o = M(""), r = M(""), v = $(), w = $(), R = (l) => {
17
+ o.value = d[l].name, r.value = l, v.show();
18
18
  }, C = () => {
19
19
  o.value.trim() && (g.rename(r.value, o.value.trim()), v.hide());
20
- }, T = (a) => {
21
- o.value = d[a].name, r.value = a, h.show();
22
- }, E = async () => {
20
+ }, E = (l) => {
21
+ o.value = d[l].name, r.value = l, w.show();
22
+ }, K = async () => {
23
23
  if (!y.value) {
24
- const a = f.value.uid === r.value, l = { ...d };
25
- if (delete l[r.value], g.delete(r.value), a) {
26
- const i = Object.keys(l)[0];
24
+ const l = f.value.uid === r.value, a = { ...d };
25
+ if (delete a[r.value], g.delete(r.value), l) {
26
+ const i = Object.keys(a)[0];
27
27
  await b(`/workspace/${i}/`);
28
28
  }
29
29
  }
30
- h.hide();
30
+ w.hide();
31
31
  };
32
- return (a, l) => (p(), D(S, null, [
32
+ return (l, a) => (p(), W(S, null, [
33
33
  n("div", X, [
34
34
  t(e(N), null, {
35
35
  items: s(() => [
36
- (p(!0), D(S, null, U(e(d), (i, u) => (p(), x(e(P), { key: u }, {
36
+ (p(!0), W(S, null, U(e(d), (i, u) => (p(), x(e(P), { key: u }, {
37
37
  trigger: s(() => [
38
38
  t(e(m), {
39
39
  class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden w-full",
40
- onClick: w((M) => j(u), ["stop"])
40
+ onClick: k((D) => j(u), ["stop"])
41
41
  }, {
42
42
  default: s(() => [
43
43
  n("div", {
@@ -52,7 +52,7 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
52
52
  thickness: "3.5"
53
53
  })
54
54
  ], 2),
55
- k(" " + z(i.name), 1)
55
+ h(" " + z(i.name), 1)
56
56
  ]),
57
57
  _: 2
58
58
  }, 1032, ["onClick"])
@@ -61,14 +61,14 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
61
61
  t(e(N), { static: "" }, {
62
62
  items: s(() => [
63
63
  t(e(m), {
64
- class: "flex !gap-2",
65
- onMousedown: (M) => R(u)
64
+ class: "flex gap-2",
65
+ onMousedown: (D) => R(u)
66
66
  }, {
67
67
  default: s(() => [
68
68
  t(e(c), {
69
69
  class: "inline-flex",
70
70
  icon: "Edit",
71
- size: "sm",
71
+ size: "md",
72
72
  thickness: "1.5"
73
73
  }),
74
74
  Z
@@ -82,16 +82,16 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
82
82
  }, {
83
83
  trigger: s(() => [
84
84
  t(e(m), {
85
- class: "flex w-full",
85
+ class: "flex gap-2 w-full",
86
86
  disabled: "",
87
- onMousedown: l[0] || (l[0] = w(() => {
87
+ onMousedown: a[0] || (a[0] = k(() => {
88
88
  }, ["prevent"]))
89
89
  }, {
90
90
  default: s(() => [
91
91
  t(e(c), {
92
92
  class: "inline-flex",
93
- icon: "Trash",
94
- size: "sm",
93
+ icon: "Delete",
94
+ size: "md",
95
95
  thickness: "1.5"
96
96
  }),
97
97
  ee
@@ -106,12 +106,12 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
106
106
  })) : (p(), x(e(m), {
107
107
  key: 1,
108
108
  class: "flex !gap-2",
109
- onMousedown: w((M) => T(u), ["prevent"])
109
+ onMousedown: k((D) => E(u), ["prevent"])
110
110
  }, {
111
111
  default: s(() => [
112
112
  t(e(c), {
113
113
  class: "inline-flex",
114
- icon: "Trash",
114
+ icon: "Delete",
115
115
  size: "sm",
116
116
  thickness: "1.5"
117
117
  }),
@@ -138,7 +138,7 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
138
138
  thickness: "3"
139
139
  })
140
140
  ]),
141
- ae
141
+ le
142
142
  ]),
143
143
  _: 1
144
144
  })
@@ -151,7 +151,7 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
151
151
  }, {
152
152
  default: s(() => [
153
153
  n("h2", Y, [
154
- k(z(e(f).name) + " ", 1),
154
+ h(z(e(f).name) + " ", 1),
155
155
  t(e(c), {
156
156
  class: "size-2.5",
157
157
  icon: "ChevronDown",
@@ -167,15 +167,15 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
167
167
  ]),
168
168
  t(e(V), {
169
169
  size: "sm",
170
- state: e(h),
170
+ state: e(w),
171
171
  title: `Delete ${o.value}`
172
172
  }, {
173
173
  default: s(() => [
174
174
  t(I, {
175
175
  variableName: o.value,
176
176
  warningMessage: "Warning: Deleting this will delete all items inside of this",
177
- onClose: l[1] || (l[1] = (i) => e(h).hide()),
178
- onDelete: E
177
+ onClose: a[1] || (a[1] = (i) => e(w).hide()),
178
+ onDelete: K
179
179
  }, null, 8, ["variableName"])
180
180
  ]),
181
181
  _: 1
@@ -187,18 +187,18 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
187
187
  default: s(() => [
188
188
  t(e(H), {
189
189
  modelValue: o.value,
190
- "onUpdate:modelValue": l[2] || (l[2] = (i) => o.value = i),
190
+ "onUpdate:modelValue": a[2] || (a[2] = (i) => o.value = i),
191
191
  label: "Workspace",
192
- onKeydown: F(w(C, ["prevent"]), ["enter"])
192
+ onKeydown: F(k(C, ["prevent"]), ["enter"])
193
193
  }, null, 8, ["modelValue", "onKeydown"]),
194
- n("div", le, [
194
+ n("div", ae, [
195
195
  t(e(_), {
196
196
  class: "flex-1",
197
197
  variant: "outlined",
198
- onClick: l[3] || (l[3] = (i) => e(v).hide())
198
+ onClick: a[3] || (a[3] = (i) => e(v).hide())
199
199
  }, {
200
200
  default: s(() => [
201
- k(" Cancel ")
201
+ h(" Cancel ")
202
202
  ]),
203
203
  _: 1
204
204
  }),
@@ -208,7 +208,7 @@ const X = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
208
208
  onClick: C
209
209
  }, {
210
210
  default: s(() => [
211
- k(" Save ")
211
+ h(" Save ")
212
212
  ]),
213
213
  _: 1
214
214
  })
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.0.57",
21
+ "version": "2.0.59",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -127,15 +127,15 @@
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.38",
130
+ "@scalar/components": "0.12.40",
131
131
  "@scalar/draggable": "0.1.4",
132
- "@scalar/oas-utils": "0.2.37",
132
+ "@scalar/oas-utils": "0.2.38",
133
133
  "@scalar/object-utils": "1.1.7",
134
- "@scalar/themes": "0.9.26",
135
- "@scalar/types": "0.0.3",
134
+ "@scalar/themes": "0.9.27",
136
135
  "@scalar/use-codemirror": "0.11.10",
137
- "@scalar/use-tooltip": "1.0.2",
138
- "@scalar/use-toasts": "0.7.5"
136
+ "@scalar/use-toasts": "0.7.5",
137
+ "@scalar/types": "0.0.4",
138
+ "@scalar/use-tooltip": "1.0.2"
139
139
  },
140
140
  "devDependencies": {
141
141
  "@types/content-type": "^1.1.8",