@scalar/api-client 2.2.35 → 2.2.38

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 (164) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  4. package/dist/components/AddressBar/AddressBar.vue2.js +107 -116
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +2 -1
  6. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  7. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  8. package/dist/components/AddressBar/AddressBarHistory.vue2.js +96 -76
  9. package/dist/components/AddressBar/AddressBarServer.vue.d.ts +5 -1
  10. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  11. package/dist/components/AddressBar/AddressBarServer.vue.js +92 -86
  12. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts +7 -10
  13. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -1
  14. package/dist/components/AddressBar/AddressBarServerItem.vue.js +5 -52
  15. package/dist/components/AddressBar/AddressBarServerItem.vue2.js +75 -2
  16. package/dist/components/CodeInput/CodeInput.vue.d.ts +5 -0
  17. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  18. package/dist/components/CodeInput/CodeInput.vue.js +1 -1
  19. package/dist/components/CodeInput/CodeInput.vue2.js +126 -112
  20. package/dist/components/CodeInput/codeVariableWidget.d.ts +1 -4
  21. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  22. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +1 -0
  23. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandActionInput.vue.js +21 -18
  25. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  26. package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
  27. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +2 -2
  28. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  29. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  30. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +1 -0
  31. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  32. package/dist/components/DataTable/DataTableInputSelect.vue.js +86 -54
  33. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  34. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +22 -21
  35. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  36. package/dist/components/Form/Form.vue.js +3 -3
  37. package/dist/components/Server/ServerVariablesForm.vue.d.ts +14 -0
  38. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -0
  39. package/dist/components/Server/ServerVariablesForm.vue.js +47 -0
  40. package/dist/components/Server/ServerVariablesForm.vue2.js +4 -0
  41. package/dist/components/Server/ServerVariablesSelect.vue.d.ts +12 -0
  42. package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -0
  43. package/dist/components/Server/ServerVariablesSelect.vue.js +54 -0
  44. package/dist/components/Server/ServerVariablesSelect.vue2.js +4 -0
  45. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +11 -0
  46. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -0
  47. package/dist/components/Server/ServerVariablesTextbox.vue.js +29 -0
  48. package/dist/components/Server/ServerVariablesTextbox.vue2.js +4 -0
  49. package/dist/components/Server/types.d.ts +9 -0
  50. package/dist/components/Server/types.d.ts.map +1 -0
  51. package/dist/components/SideNav/SideHelp.vue.js +16 -16
  52. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  53. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  54. package/dist/components/Sidebar/Sidebar.vue2.js +11 -10
  55. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  56. package/dist/components/Sidebar/SidebarListElement.vue.js +1 -1
  57. package/dist/components/Sidebar/SidebarListElement.vue2.js +10 -9
  58. package/dist/components/TopNav/TopNav.vue.js +27 -27
  59. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +1 -1
  60. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  61. package/dist/layouts/App/create-api-client-app.d.ts +99 -84
  62. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  63. package/dist/layouts/Modal/create-api-client-modal.d.ts +198 -168
  64. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  65. package/dist/layouts/Web/create-api-client-web.d.ts +99 -84
  66. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  67. package/dist/libs/create-client.d.ts +110 -90
  68. package/dist/libs/create-client.d.ts.map +1 -1
  69. package/dist/libs/create-client.js +86 -81
  70. package/dist/libs/find-request.d.ts.map +1 -1
  71. package/dist/libs/importers/curl.js +4 -4
  72. package/dist/libs/index.js +18 -19
  73. package/dist/libs/send-request/index.js +3 -4
  74. package/dist/libs/send-request/send-request.d.ts +0 -14
  75. package/dist/libs/send-request/send-request.d.ts.map +1 -1
  76. package/dist/libs/send-request/send-request.js +120 -142
  77. package/dist/libs/send-request/set-request-cookies.d.ts +27 -0
  78. package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -0
  79. package/dist/libs/send-request/set-request-cookies.js +54 -0
  80. package/dist/store/active-entities.d.ts +13 -4
  81. package/dist/store/active-entities.d.ts.map +1 -1
  82. package/dist/store/active-entities.js +15 -12
  83. package/dist/store/collections.d.ts.map +1 -1
  84. package/dist/store/cookies.d.ts +4 -58
  85. package/dist/store/cookies.d.ts.map +1 -1
  86. package/dist/store/cookies.js +5 -17
  87. package/dist/store/import-spec.d.ts.map +1 -1
  88. package/dist/store/request-example.d.ts +52 -2
  89. package/dist/store/request-example.d.ts.map +1 -1
  90. package/dist/store/requests.d.ts +2 -2
  91. package/dist/store/requests.d.ts.map +1 -1
  92. package/dist/store/servers.d.ts +40 -20
  93. package/dist/store/servers.d.ts.map +1 -1
  94. package/dist/store/store.d.ts +99 -86
  95. package/dist/store/store.d.ts.map +1 -1
  96. package/dist/store/store.js +51 -53
  97. package/dist/style.css +1 -1
  98. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  99. package/dist/views/Cookies/CookieForm.vue.js +24 -37
  100. package/dist/views/Cookies/CookieModal.vue.d.ts +21 -0
  101. package/dist/views/Cookies/CookieModal.vue.d.ts.map +1 -0
  102. package/dist/views/Cookies/CookieModal.vue.js +7 -0
  103. package/dist/views/Cookies/CookieModal.vue2.js +88 -0
  104. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  105. package/dist/views/Cookies/Cookies.vue2.js +98 -119
  106. package/dist/views/Environment/Environment.vue2.js +1 -1
  107. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  108. package/dist/views/Request/Request.vue.js +2 -2
  109. package/dist/views/Request/Request.vue2.js +88 -89
  110. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  111. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
  112. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +87 -88
  113. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +2 -1
  114. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  115. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +3 -3
  116. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +16 -17
  117. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +2 -2
  118. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue2.js +1 -1
  119. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  120. package/dist/views/Request/RequestSection/RequestBody.vue2.js +34 -34
  121. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +7 -0
  122. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  123. package/dist/views/Request/RequestSection/RequestParams.vue.js +79 -66
  124. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  125. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +57 -74
  126. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  127. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  128. package/dist/views/Request/RequestSection/RequestSection.vue2.js +91 -64
  129. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +9 -2
  130. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  131. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  132. package/dist/views/Request/RequestSection/RequestTable.vue2.js +168 -129
  133. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  134. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +5 -64
  135. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +46 -2
  136. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  137. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  138. package/dist/views/Request/RequestSidebar.vue2.js +143 -143
  139. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  140. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  141. package/dist/views/Request/RequestSidebarItem.vue2.js +71 -71
  142. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  143. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  144. package/dist/views/Request/RequestSubpageHeader.vue2.js +37 -37
  145. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +19 -17
  146. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  147. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +2 -2
  148. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +27 -27
  149. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +31 -31
  150. package/dist/views/Request/handle-drag.d.ts +1 -1
  151. package/dist/views/Request/handle-drag.d.ts.map +1 -1
  152. package/dist/views/Request/handle-drag.js +27 -26
  153. package/dist/views/Request/hooks/useOpenApiWatcher.js +1 -1
  154. package/dist/views/Request/libs/request.d.ts +12 -0
  155. package/dist/views/Request/libs/request.d.ts.map +1 -0
  156. package/dist/views/Request/libs/request.js +4 -0
  157. package/dist/views/Request/libs/{live-sync.d.ts → watch-mode.d.ts} +1 -1
  158. package/dist/views/Request/libs/watch-mode.d.ts.map +1 -0
  159. package/dist/views/Request/libs/{live-sync.js → watch-mode.js} +6 -6
  160. package/dist/views/Servers/Servers.vue2.js +29 -29
  161. package/package.json +10 -12
  162. package/dist/views/Cookies/CookieRaw.vue.js +0 -28
  163. package/dist/views/Cookies/CookieRaw.vue2.js +0 -4
  164. package/dist/views/Request/libs/live-sync.d.ts.map +0 -1
@@ -1,56 +1,56 @@
1
- import { defineComponent as _, onMounted as R, onBeforeUnmount as C, openBlock as r, createElementBlock as l, createElementVNode as o, normalizeClass as k, unref as t, createTextVNode as c, toDisplayString as w, createCommentVNode as m, createVNode as s } from "vue";
2
- import N from "../../../assets/computer.ascii.js";
1
+ import { defineComponent as h, onMounted as _, onBeforeUnmount as C, openBlock as l, createElementBlock as n, createElementVNode as o, normalizeClass as k, unref as t, createTextVNode as c, toDisplayString as R, createCommentVNode as m, createVNode as s } from "vue";
2
+ import w from "../../../assets/computer.ascii.js";
3
3
  import x from "../../../assets/keycap.ascii.js";
4
4
  import d from "../../../components/ScalarAsciiArt.vue.js";
5
5
  import p from "../../../components/ScalarHotkey.vue.js";
6
- import { useActiveEntities as q } from "../../../store/active-entities.js";
7
- import { useRoute as S } from "vue-router";
8
- import { useWorkspace as V } from "../../../store/store.js";
9
- import { useLayout as B } from "../../../hooks/useLayout.js";
10
- const K = { class: "border-t relative col-1 flex-center gap-6 p-2 capitalize" }, A = {
6
+ import { useActiveEntities as N } from "../../../store/active-entities.js";
7
+ import { useRoute as q } from "vue-router";
8
+ import { useWorkspace as S } from "../../../store/store.js";
9
+ import { useLayout as V } from "../../../hooks/useLayout.js";
10
+ const B = { class: "border-t relative col-1 flex-center gap-6 p-2 capitalize" }, K = {
11
11
  key: 0,
12
12
  class: "scalar-version-number"
13
- }, E = { class: "scale-75 flex" }, P = { class: "relative" }, $ = { class: "relative -ml-12" }, j = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, F = /* @__PURE__ */ _({
13
+ }, A = { class: "scale-75 flex" }, E = { class: "relative" }, P = { class: "relative -ml-12" }, $ = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, F = /* @__PURE__ */ h({
14
14
  __name: "ResponseEmpty",
15
- setup(z) {
16
- const { activeWorkspaceRequests: u } = q(), { isReadOnly: g, events: a } = V(), v = S(), { layout: n } = B(), f = () => {
15
+ setup(j) {
16
+ const { activeWorkspaceRequests: u } = N(), { events: a } = S(), g = q(), { layout: r } = V(), f = () => {
17
17
  a.commandPalette.emit({ commandName: "Create Request" });
18
18
  }, y = (i) => {
19
- i != null && i.createNew && v.name === "request" && f();
20
- }, b = "2.2.35";
21
- return R(() => a.hotKeys.on(y)), C(() => a.hotKeys.off(y)), (i, e) => (r(), l("div", K, [
19
+ i != null && i.createNew && g.name === "request" && f();
20
+ }, v = "2.2.38";
21
+ return _(() => a.hotKeys.on(y)), C(() => a.hotKeys.off(y)), (i, e) => (l(), n("div", B, [
22
22
  o("div", {
23
23
  class: k(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
24
- "hidden opacity-0": t(u).length <= 1 && t(n) !== "modal"
24
+ "hidden opacity-0": t(u).length <= 1 && t(r) !== "modal"
25
25
  }])
26
26
  }, [
27
- t(g) ? m("", !0) : (r(), l("div", A, [
28
- c(" Scalar App V" + w(t(b)) + " Beta ", 1),
27
+ t(r) !== "modal" ? (l(), n("div", K, [
28
+ c(" Scalar App V" + R(t(v)) + " Beta ", 1),
29
29
  e[2] || (e[2] = o("div", { class: "mt-2" }, [
30
30
  o("a", {
31
31
  href: "https://github.com/scalar/scalar/issues/2669",
32
32
  target: "_blank"
33
33
  }, " Roadmap ")
34
34
  ], -1))
35
- ])),
35
+ ])) : m("", !0),
36
36
  e[3] || (e[3] = o("a", {
37
37
  class: "gitbook-show scalar-version-number",
38
38
  href: "https://www.scalar.com",
39
39
  target: "_blank"
40
40
  }, " Powered By Scalar.com ", -1)),
41
41
  s(d, {
42
- art: t(N),
42
+ art: t(w),
43
43
  class: "text-c-3"
44
44
  }, null, 8, ["art"])
45
45
  ], 2),
46
- t(n) !== "modal" ? (r(), l("div", {
46
+ t(r) !== "modal" ? (l(), n("div", {
47
47
  key: 0,
48
48
  class: k(["h-[calc(100%_-_50px)] items-center justify-center hidden pb-5", {
49
49
  "!flex opacity-100": t(u).length == 1
50
50
  }])
51
51
  }, [
52
- o("div", E, [
53
- o("div", P, [
52
+ o("div", A, [
53
+ o("div", E, [
54
54
  s(p, {
55
55
  class: "keycap-hotkey",
56
56
  hotkey: ""
@@ -60,7 +60,7 @@ const K = { class: "border-t relative col-1 flex-center gap-6 p-2 capitalize" },
60
60
  class: "!leading-[6px] text-c-3"
61
61
  }, null, 8, ["art"])
62
62
  ]),
63
- o("div", $, [
63
+ o("div", P, [
64
64
  e[4] || (e[4] = o("div", { class: "keycap-hotkey !right-[60px]" }, "K", -1)),
65
65
  s(d, {
66
66
  art: t(x),
@@ -69,17 +69,17 @@ const K = { class: "border-t relative col-1 flex-center gap-6 p-2 capitalize" },
69
69
  ])
70
70
  ])
71
71
  ], 2)) : m("", !0),
72
- o("div", j, [
73
- t(n) !== "modal" ? (r(), l("button", {
72
+ o("div", $, [
73
+ t(r) !== "modal" ? (l(), n("button", {
74
74
  key: 0,
75
75
  class: "flex items-center gap-1.5",
76
76
  type: "button",
77
- onClick: e[0] || (e[0] = (h) => t(a).commandPalette.emit())
77
+ onClick: e[0] || (e[0] = (b) => t(a).commandPalette.emit())
78
78
  }, [
79
79
  e[5] || (e[5] = c(" Get Started ")),
80
80
  s(p, { hotkey: "k" })
81
81
  ])) : m("", !0),
82
- t(n) === "desktop" ? (r(), l("button", {
82
+ t(r) === "desktop" ? (l(), n("button", {
83
83
  key: 1,
84
84
  class: "flex items-center gap-1.5",
85
85
  type: "button",
@@ -91,7 +91,7 @@ const K = { class: "border-t relative col-1 flex-center gap-6 p-2 capitalize" },
91
91
  o("button", {
92
92
  class: "flex items-center gap-1.5",
93
93
  type: "button",
94
- onClick: e[1] || (e[1] = (h) => t(a).executeRequest.emit())
94
+ onClick: e[1] || (e[1] = (b) => t(a).executeRequest.emit())
95
95
  }, [
96
96
  e[7] || (e[7] = c(" Send Request ")),
97
97
  s(p, { hotkey: "↵" })
@@ -1,61 +1,61 @@
1
- import { defineComponent as _, openBlock as e, createBlock as n, withCtx as t, createTextVNode as l, createElementBlock as s, createVNode as m, Fragment as c, renderList as x, toDisplayString as i } from "vue";
2
- import h from "../../../components/DataTable/DataTable.vue.js";
3
- import b from "../../../components/DataTable/DataTableRow.vue.js";
1
+ import { defineComponent as p, openBlock as e, createBlock as n, withCtx as r, createTextVNode as l, createElementBlock as s, createVNode as m, Fragment as c, renderList as _, toDisplayString as i } from "vue";
2
+ import x from "../../../components/DataTable/DataTable.vue.js";
3
+ import h from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import u from "../../../components/DataTable/DataTableText.vue.js";
5
- import y from "../../../components/HelpfulLink.vue.js";
6
- import k from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
- import { httpHeaders as g } from "../../../data/httpHeaders.js";
8
- const w = {
5
+ import b from "../../../components/HelpfulLink.vue.js";
6
+ import y from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
+ import { httpHeaders as k } from "../../../data/httpHeaders.js";
8
+ const g = {
9
9
  key: 0,
10
10
  class: "border-t-1/2 border-b-1/2 max-h-[calc(100%-32px)] overflow-y-auto"
11
- }, C = {
11
+ }, w = {
12
12
  key: 1,
13
13
  class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1"
14
- }, R = /* @__PURE__ */ _({
14
+ }, D = /* @__PURE__ */ p({
15
15
  __name: "ResponseHeaders",
16
16
  props: {
17
17
  headers: {}
18
18
  },
19
- setup(v) {
20
- const d = (r) => g.find(
21
- (a) => a.name.toLowerCase() === r.toLowerCase()
19
+ setup(C) {
20
+ const d = (o) => k.find(
21
+ (a) => a.name.toLowerCase() === o.toLowerCase()
22
22
  );
23
- return (r, a) => (e(), n(k, {
23
+ return (o, a) => (e(), n(y, {
24
24
  class: "overflow-auto",
25
25
  defaultOpen: !1,
26
- itemCount: r.headers.length
26
+ itemCount: o.headers.length
27
27
  }, {
28
- title: t(() => a[0] || (a[0] = [
28
+ title: r(() => a[0] || (a[0] = [
29
29
  l("Headers")
30
30
  ])),
31
- default: t(() => [
32
- r.headers.length ? (e(), s("div", w, [
33
- m(h, {
31
+ default: r(() => [
32
+ o.headers.length ? (e(), s("div", g, [
33
+ m(x, {
34
34
  class: "!border-0 !mx-0",
35
35
  columns: ["minmax(auto, min-content)", "minmax(50%, 1fr)"],
36
36
  scroll: ""
37
37
  }, {
38
- default: t(() => [
39
- (e(!0), s(c, null, x(r.headers, (o, p) => (e(), n(b, {
40
- key: p,
38
+ default: r(() => [
39
+ (e(!0), s(c, null, _(o.headers, (t) => (e(), n(h, {
40
+ key: t.name,
41
41
  class: "text-c-1"
42
42
  }, {
43
- default: t(() => [
43
+ default: r(() => [
44
44
  m(u, { class: "sticky left-0 z-1 bg-b-1 max-w-48" }, {
45
- default: t(() => {
45
+ default: r(() => {
46
46
  var f;
47
47
  return [
48
- typeof ((f = d(o.name)) == null ? void 0 : f.url) == "string" ? (e(), n(y, {
48
+ typeof ((f = d(t.name)) == null ? void 0 : f.url) == "string" ? (e(), n(b, {
49
49
  key: 0,
50
50
  class: "decoration-c-3",
51
- href: d(o.name).url
51
+ href: d(t.name).url
52
52
  }, {
53
- default: t(() => [
54
- l(i(o.name), 1)
53
+ default: r(() => [
54
+ l(i(t.name), 1)
55
55
  ]),
56
56
  _: 2
57
57
  }, 1032, ["href"])) : (e(), s(c, { key: 1 }, [
58
- l(i(o.name), 1)
58
+ l(i(t.name), 1)
59
59
  ], 64))
60
60
  ];
61
61
  }),
@@ -63,7 +63,7 @@ const w = {
63
63
  }, 1024),
64
64
  m(u, {
65
65
  class: "z-0",
66
- text: o.value
66
+ text: t.value
67
67
  }, null, 8, ["text"])
68
68
  ]),
69
69
  _: 2
@@ -71,12 +71,12 @@ const w = {
71
71
  ]),
72
72
  _: 1
73
73
  })
74
- ])) : (e(), s("div", C, " No Headers "))
74
+ ])) : (e(), s("div", w, " No Headers "))
75
75
  ]),
76
76
  _: 1
77
77
  }, 8, ["itemCount"]));
78
78
  }
79
79
  });
80
80
  export {
81
- R as default
81
+ D as default
82
82
  };
@@ -2,7 +2,7 @@ import type { WorkspaceStore } from '../../store/index.js';
2
2
  import type { ActiveEntitiesStore } from '../../store/active-entities.js';
3
3
  import type { DraggingItem, HoveredItem } from '@scalar/draggable';
4
4
  /** Create DnD handlers */
5
- export declare function dragHandlerFactory(activeWorkspace: ActiveEntitiesStore['activeWorkspace'], { collections, collectionMutators, isReadOnly, tags, tagMutators, workspaceMutators, }: WorkspaceStore): {
5
+ export declare function dragHandlerFactory(activeWorkspace: ActiveEntitiesStore['activeWorkspace'], { collections, collectionMutators, tags, tagMutators, workspaceMutators, }: WorkspaceStore): {
6
6
  handleDragEnd: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => void;
7
7
  isDroppable: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => boolean;
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"handle-drag.d.ts","sourceRoot":"","sources":["../../../src/views/Request/handle-drag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAElE,0BAA0B;AAC1B,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,mBAAmB,CAAC,iBAAiB,CAAC,EACvD,EACE,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,IAAI,EACJ,WAAW,EACX,iBAAiB,GAClB,EAAE,cAAc;kCASoB,YAAY,eAAe,WAAW;gCAwE3D,YAAY,eACb,WAAW;EAoB3B"}
1
+ {"version":3,"file":"handle-drag.d.ts","sourceRoot":"","sources":["../../../src/views/Request/handle-drag.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAElE,0BAA0B;AAC1B,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,mBAAmB,CAAC,iBAAiB,CAAC,EACvD,EACE,WAAW,EACX,kBAAkB,EAClB,IAAI,EACJ,WAAW,EACX,iBAAiB,GAClB,EAAE,cAAc;kCAWoB,YAAY,eAAe,WAAW;gCAwE3D,YAAY,eACb,WAAW;EAoB3B"}
@@ -1,60 +1,61 @@
1
- function E(s, {
1
+ import { useLayout as w } from "../../hooks/useLayout.js";
2
+ function H(u, {
2
3
  collections: r,
3
- collectionMutators: x,
4
- isReadOnly: I,
4
+ collectionMutators: a,
5
5
  tags: l,
6
- tagMutators: U,
7
- workspaceMutators: a
6
+ tagMutators: x,
7
+ workspaceMutators: U
8
8
  }) {
9
- function D(i, f) {
10
- r[i] ? x.edit(i, "children", f) : l[i] && U.edit(i, "children", f);
9
+ const { layout: b } = w();
10
+ function p(i, f) {
11
+ r[i] ? a.edit(i, "children", f) : l[i] && x.edit(i, "children", f);
11
12
  }
12
- function P(i, f) {
13
- var p, v, C, b;
13
+ function I(i, f) {
14
+ var D, v, y, C;
14
15
  if (!i || !f) return;
15
- const { id: d, parentId: n } = i, { id: t, parentId: u, offset: c } = f;
16
- if (n ? r[n] ? x.edit(
16
+ const { id: d, parentId: n } = i, { id: t, parentId: s, offset: h } = f;
17
+ if (n ? r[n] ? a.edit(
17
18
  n,
18
19
  "children",
19
20
  r[n].children.filter(
20
21
  (e) => e !== d
21
22
  )
22
- ) : l[n] && U.edit(
23
+ ) : l[n] && x.edit(
23
24
  n,
24
25
  "children",
25
26
  l[n].children.filter((e) => e !== d)
26
- ) : a.edit(
27
- ((p = s.value) == null ? void 0 : p.uid) ?? "",
27
+ ) : U.edit(
28
+ ((D = u.value) == null ? void 0 : D.uid) ?? "",
28
29
  "collections",
29
- ((v = s.value) == null ? void 0 : v.collections.filter(
30
+ ((v = u.value) == null ? void 0 : v.collections.filter(
30
31
  (e) => e !== d
31
32
  )) ?? []
32
- ), c === 2) {
33
+ ), h === 2) {
33
34
  const e = r[t] || l[t];
34
- D(t, [
35
+ p(t, [
35
36
  ...(e == null ? void 0 : e.children) ?? [],
36
37
  d
37
38
  ]);
38
- } else if (u) {
39
- const e = r[u] || l[u], h = [...(e == null ? void 0 : e.children) ?? []], o = h.findIndex((w) => t === w) ?? 0;
40
- h.splice(o + c, 0, d), D(u, h);
39
+ } else if (s) {
40
+ const e = r[s] || l[s], o = [...(e == null ? void 0 : e.children) ?? []], c = o.findIndex((P) => t === P) ?? 0;
41
+ o.splice(c + h, 0, d), p(s, o);
41
42
  } else {
42
- const e = [...((C = s.value) == null ? void 0 : C.collections) ?? []], h = e.findIndex((o) => t === o) ?? 0;
43
- e.splice(h + c, 0, d), a.edit(
44
- ((b = s.value) == null ? void 0 : b.uid) ?? "",
43
+ const e = [...((y = u.value) == null ? void 0 : y.collections) ?? []], o = e.findIndex((c) => t === c) ?? 0;
44
+ e.splice(o + h, 0, d), U.edit(
45
+ ((C = u.value) == null ? void 0 : C.uid) ?? "",
45
46
  "collections",
46
47
  e
47
48
  );
48
49
  }
49
50
  }
50
51
  return {
51
- handleDragEnd: P,
52
+ handleDragEnd: I,
52
53
  isDroppable: (i, f) => {
53
54
  var d, n;
54
- return !(I || !r[i.id] && f.offset !== 2 || r[i.id] && ((n = (d = r[f.id]) == null ? void 0 : d.info) == null ? void 0 : n.title) === "Drafts");
55
+ return !(b === "modal" || !r[i.id] && f.offset !== 2 || r[i.id] && ((n = (d = r[f.id]) == null ? void 0 : d.info) == null ? void 0 : n.title) === "Drafts");
55
56
  }
56
57
  };
57
58
  }
58
59
  export {
59
- E as dragHandlerFactory
60
+ H as dragHandlerFactory
60
61
  };
@@ -1,6 +1,6 @@
1
1
  import { useActiveEntities as R } from "../../../store/active-entities.js";
2
2
  import { specDictionary as f } from "../../../store/import-spec.js";
3
- import { combineRenameDiffs as S, mutateCollectionDiff as d, mutateSecuritySchemeDiff as g, mutateServerDiff as D, mutateTagDiff as T, mutateRequestDiff as M } from "../libs/live-sync.js";
3
+ import { combineRenameDiffs as S, mutateCollectionDiff as d, mutateSecuritySchemeDiff as g, mutateServerDiff as D, mutateTagDiff as T, mutateRequestDiff as M } from "../libs/watch-mode.js";
4
4
  import { fetchSpecFromUrl as I, createHash as U } from "@scalar/oas-utils/helpers";
5
5
  import { parseSchema as O } from "@scalar/oas-utils/transforms";
6
6
  import { useToasts as C } from "@scalar/use-toasts";
@@ -0,0 +1,12 @@
1
+ import type { RequestExampleParameter } from '@scalar/oas-utils/entities/spec';
2
+ /**
3
+ * Check if a RequestExampleParameter has any of the following properties:
4
+ * - description
5
+ * - type
6
+ * - default
7
+ * - format
8
+ * - minimum
9
+ * - maximum
10
+ */
11
+ export declare const hasItemProperties: (item: RequestExampleParameter) => boolean;
12
+ //# sourceMappingURL=request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAE9E;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,SAAU,uBAAuB,YAQ5D,CAAA"}
@@ -0,0 +1,4 @@
1
+ const a = (o) => !!(o.description || o.type || o.default || o.format || o.minimum || o.maximum);
2
+ export {
3
+ a as hasItemProperties
4
+ };
@@ -57,4 +57,4 @@ export declare const narrowUnionSchema: (schema: ZodSchema, key: string, value:
57
57
  * @returns true if it succeeds, and false for a failure
58
58
  */
59
59
  export declare const mutateSecuritySchemeDiff: (diff: Difference, { activeCollection }: ActiveEntitiesStore, { securitySchemes, securitySchemeMutators }: WorkspaceStore) => boolean;
60
- //# sourceMappingURL=live-sync.d.ts.map
60
+ //# sourceMappingURL=watch-mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"watch-mode.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/watch-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAelE,OAAO,EACL,KAAK,IAAI,EACT,KAAK,SAAS,EAEf,MAAM,6BAA6B,CAAA;AAEpC,OAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAK,MAAM,KAAK,CAAA;AAExD;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,SACvB,UAAU,EAAE,eACN,MAAM,EAAE,KACnB,UAAU,EA8FZ,CAAA;AAED,kEAAkE;AAClE,eAAO,MAAM,YAAY,GAAI,CAAC,OACvB,MAAM,EAAE,aACF,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,aACjB,CAAC,QAAQ,EAAE,CAAC,KAAK,OAAO,KAClC,CAAC,GAAG,IAMN,CAAA;AAUD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WACpB,SAAS,QACX,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KACxB,SAAS,GAAG,IAqDd,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,CAAC,UACjB,SAAS,CAAC,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,QAC/B,UAAU,KACf;IACD,0DAA0D;IAC1D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACb,mGAAmG;IACnG,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACrB,2DAA2D;IAC3D,KAAK,EAAE,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;CACzC,GAAG,IAwBH,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,SACzB,UAAU,wBACM,mBAAmB,0BACjB,cAAc,KACrC,OA0CF,CAAA;AAwBD;;GAEG;AACH,eAAO,MAAM,iBAAiB,SACtB,UAAU,wBACM,mBAAmB,SAClC,cAAc,KACpB,OA2IF,CAAA;AAED,mGAAmG;AACnG,eAAO,MAAM,gBAAgB,SACrB,UAAU,wBACM,mBAAmB,+BACZ,cAAc,KAC1C,OAsCF,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,aAAa,SAClB,UAAU,wBACM,mBAAmB,yBAClB,cAAc,KACpC,OAmCF,CAAA;AAED,sCAAsC;AACtC,eAAO,MAAM,iBAAiB,WACpB,SAAS,OACZ,MAAM,SACJ,MAAM,KACZ,SAAS,GAAG,IAmBd,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,SAC7B,UAAU,wBACM,mBAAmB,+CACI,cAAc,KAC1D,OA8CF,CAAA"}
@@ -51,7 +51,7 @@ const G = (e, s = []) => {
51
51
  if (u && t(u)) return u;
52
52
  }
53
53
  return null;
54
- }, d = (e) => e instanceof i.ZodOptional ? d(e.unwrap()) : e instanceof i.ZodDefault ? d(e._def.innerType) : e, w = (e, s) => {
54
+ }, d = (e) => e instanceof i.ZodOptional ? d(e.unwrap()) : e instanceof i.ZodDefault ? d(e._def.innerType) : e instanceof i.ZodEffects ? d(e._def.schema) : e, _ = (e, s) => {
55
55
  let t = e;
56
56
  for (const a of s) {
57
57
  if (t = d(t), t instanceof i.ZodAny)
@@ -76,7 +76,7 @@ const G = (e, s = []) => {
76
76
  }
77
77
  return t;
78
78
  }, E = (e, s) => {
79
- const t = w(e, s.path);
79
+ const t = _(e, s.path);
80
80
  if (!t) return null;
81
81
  const a = s.path.join("."), u = s.path.slice(0, -1).join(".");
82
82
  if (s.type === "REMOVE")
@@ -235,7 +235,7 @@ const G = (e, s = []) => {
235
235
  a.add(n, s.value.uid);
236
236
  }
237
237
  return !0;
238
- }, U = (e, s, t) => {
238
+ }, w = (e, s, t) => {
239
239
  const a = d(e);
240
240
  if (a instanceof i.ZodUnion || a instanceof i.ZodDiscriminatedUnion) {
241
241
  for (const u of a.options)
@@ -251,7 +251,7 @@ const G = (e, s = []) => {
251
251
  (l) => l.nameKey === u
252
252
  );
253
253
  if (r != null && r.length) {
254
- const l = U(
254
+ const l = w(
255
255
  Z,
256
256
  "type",
257
257
  (n == null ? void 0 : n.type) ?? ""
@@ -278,7 +278,7 @@ export {
278
278
  J as mutateSecuritySchemeDiff,
279
279
  W as mutateServerDiff,
280
280
  I as mutateTagDiff,
281
- U as narrowUnionSchema,
281
+ w as narrowUnionSchema,
282
282
  E as parseDiff,
283
- w as traverseZodSchema
283
+ _ as traverseZodSchema
284
284
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, computed as f, openBlock as n, createBlock as p, withCtx as i, createVNode as s, unref as a, createElementVNode as l, createElementBlock as v, Fragment as g, renderList as w, normalizeClass as y, toDisplayString as F, withModifiers as R, withDirectives as M, createCommentVNode as O, vShow as q, createTextVNode as K } from "vue";
1
+ import { defineComponent as P, computed as f, openBlock as n, createBlock as p, withCtx as a, createVNode as s, unref as l, createElementVNode as i, createElementBlock as v, Fragment as g, renderList as w, normalizeClass as y, toDisplayString as F, withModifiers as R, withDirectives as M, createCommentVNode as O, vShow as q, createTextVNode as K } from "vue";
2
2
  import T from "../../components/Sidebar/SidebarButton.vue.js";
3
3
  import U from "../../components/Sidebar/SidebarList.vue.js";
4
4
  import W from "../../components/Sidebar/SidebarListElement.vue.js";
@@ -12,9 +12,9 @@ import Z from "./ServerForm.vue.js";
12
12
  import { useWorkspace as ee } from "../../store/store.js";
13
13
  import te from "../../components/Sidebar/Sidebar.vue.js";
14
14
  import { useSidebar as re } from "../../hooks/useSidebar.js";
15
- const oe = { class: "flex-1" }, se = ["onClick"], ae = { class: "flex h-5 items-center justify-center max-w-[14px] pr-px" }, ie = { class: "break-all line-clamp-1 font-medium text-left w-full" }, we = /* @__PURE__ */ P({
15
+ const oe = { class: "flex-1" }, se = ["onClick"], le = { class: "flex h-5 items-center justify-center max-w-[14px] pr-px" }, ae = { class: "break-all line-clamp-1 font-medium text-left w-full" }, we = /* @__PURE__ */ P({
16
16
  __name: "Servers",
17
- setup(le) {
17
+ setup(ie) {
18
18
  const { activeWorkspaceCollections: S, activeWorkspace: c, activeCollection: d } = J(), { servers: I, events: $, serverMutators: D } = ee(), { push: z } = X(), h = Y(), { collapsedSidebarFolders: x, toggleSidebarFolder: A } = re(), k = f(() => h.params.collectionId), L = f(() => h.params.servers), N = (r) => x[r];
19
19
  function m(r) {
20
20
  $.commandPalette.emit({
@@ -37,49 +37,49 @@ const oe = { class: "flex-1" }, se = ["onClick"], ae = { class: "flex h-5 items-
37
37
  (t = d == null ? void 0 : d.value) != null && t.uid && D.delete(r, k.value);
38
38
  }
39
39
  return (r, t) => (n(), p(G, null, {
40
- default: i(() => [
41
- s(a(te), { title: "Servers" }, {
42
- content: i(() => [
43
- l("div", oe, [
40
+ default: a(() => [
41
+ s(l(te), { title: "Servers" }, {
42
+ content: a(() => [
43
+ i("div", oe, [
44
44
  s(U, null, {
45
- default: i(() => [
45
+ default: a(() => [
46
46
  (n(!0), v(g, null, w(V.value, (e) => {
47
47
  var u;
48
- return n(), v("div", {
48
+ return n(), v("li", {
49
49
  key: e.uid,
50
50
  class: "flex flex-col gap-1/2"
51
51
  }, [
52
- l("button", {
52
+ i("button", {
53
53
  class: "flex font-medium gap-1.5 group items-center p-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
54
54
  type: "button",
55
- onClick: (o) => a(A)(e.uid)
55
+ onClick: (o) => l(A)(e.uid)
56
56
  }, [
57
- l("span", ae, [
58
- s(a(Q), {
57
+ i("span", le, [
58
+ s(l(Q), {
59
59
  class: "min-w-3.5 text-sidebar-c-2 size-3.5 stroke-2 group-hover:hidden",
60
60
  src: e["x-scalar-icon"] || "interface-content-folder"
61
61
  }, null, 8, ["src"]),
62
- l("div", {
62
+ i("div", {
63
63
  class: y({
64
- "rotate-90": a(x)[e.uid]
64
+ "rotate-90": l(x)[e.uid]
65
65
  })
66
66
  }, [
67
- s(a(b), {
67
+ s(l(b), {
68
68
  class: "text-c-3 hidden text-sm group-hover:block",
69
69
  icon: "ChevronRight",
70
70
  size: "md"
71
71
  })
72
72
  ], 2)
73
73
  ]),
74
- l("span", ie, F(((u = e.info) == null ? void 0 : u.title) ?? ""), 1),
75
- s(a(C), {
74
+ i("span", ae, F(((u = e.info) == null ? void 0 : u.title) ?? ""), 1),
75
+ s(l(C), {
76
76
  class: "hidden group-hover:block px-0.5 py-0 hover:bg-b-3 hover:text-c-1 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 aspect-square h-fit",
77
77
  size: "sm",
78
78
  variant: "ghost",
79
79
  onClick: R((o) => m(e.uid), ["stop", "prevent"])
80
80
  }, {
81
- default: i(() => [
82
- s(a(b), {
81
+ default: a(() => [
82
+ s(l(b), {
83
83
  icon: "Add",
84
84
  size: "md",
85
85
  thickness: "2"
@@ -88,7 +88,7 @@ const oe = { class: "flex-1" }, se = ["onClick"], ae = { class: "flex h-5 items-
88
88
  _: 2
89
89
  }, 1032, ["onClick"])
90
90
  ], 8, se),
91
- M(l("div", {
91
+ M(i("div", {
92
92
  class: y({
93
93
  "before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-3 before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] flex flex-col gap-1/2 mb-[.5px] last:mb-0 relative": Object.keys(e.servers || {}).length > 0
94
94
  })
@@ -102,26 +102,26 @@ const oe = { class: "flex-1" }, se = ["onClick"], ae = { class: "flex h-5 items-
102
102
  isDeletable: !0,
103
103
  type: "servers",
104
104
  variable: {
105
- name: ((_ = a(I)[o]) == null ? void 0 : _.url) ?? "",
105
+ name: ((_ = l(I)[o]) == null ? void 0 : _.url) ?? "",
106
106
  uid: o
107
107
  },
108
108
  onClick: (E) => j(E, o, e.uid),
109
109
  onDelete: B
110
110
  }, null, 8, ["collectionId", "variable", "onClick"]);
111
111
  }), 128)),
112
- Object.keys(e.servers || {}).length === 0 ? (n(), p(a(C), {
112
+ Object.keys(e.servers || {}).length === 0 ? (n(), p(l(C), {
113
113
  key: 0,
114
114
  class: "mb-[.5px] flex gap-1.5 h-8 text-c-1 pl-6 py-0 justify-start text-xs w-full hover:bg-b-2",
115
115
  variant: "ghost",
116
116
  onClick: (o) => m(e.uid)
117
117
  }, {
118
- default: i(() => [
119
- s(a(b), {
118
+ default: a(() => [
119
+ s(l(b), {
120
120
  class: "ml-0.5 h-2.5 w-2.5",
121
121
  icon: "Add",
122
122
  thickness: "3"
123
123
  }),
124
- t[0] || (t[0] = l("span", null, "Add Server", -1))
124
+ t[0] || (t[0] = i("span", null, "Add Server", -1))
125
125
  ]),
126
126
  _: 2
127
127
  }, 1032, ["onClick"])) : O("", !0)
@@ -135,9 +135,9 @@ const oe = { class: "flex-1" }, se = ["onClick"], ae = { class: "flex h-5 items-
135
135
  })
136
136
  ])
137
137
  ]),
138
- button: i(() => [
138
+ button: a(() => [
139
139
  s(T, { click: m }, {
140
- title: i(() => t[1] || (t[1] = [
140
+ title: a(() => t[1] || (t[1] = [
141
141
  K("Add Server")
142
142
  ])),
143
143
  _: 1
@@ -146,7 +146,7 @@ const oe = { class: "flex-1" }, se = ["onClick"], ae = { class: "flex h-5 items-
146
146
  _: 1
147
147
  }),
148
148
  s(H, { class: "flex-1" }, {
149
- default: i(() => [
149
+ default: a(() => [
150
150
  s(Z, {
151
151
  collectionId: k.value,
152
152
  serverUid: L.value
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.2.35",
21
+ "version": "2.2.38",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -168,7 +168,6 @@
168
168
  "@vueuse/integrations": "^11.2.0",
169
169
  "focus-trap": "^7",
170
170
  "fuse.js": "^7.0.0",
171
- "js-cookie": "^3.0.5",
172
171
  "microdiff": "^1.4.0",
173
172
  "nanoid": "^5.0.7",
174
173
  "pretty-bytes": "^6.1.1",
@@ -179,24 +178,23 @@
179
178
  "whatwg-mimetype": "^4.0.0",
180
179
  "yaml": "^2.4.5",
181
180
  "zod": "^3.23.8",
182
- "@scalar/components": "0.13.15",
183
181
  "@scalar/draggable": "0.1.8",
182
+ "@scalar/components": "0.13.17",
184
183
  "@scalar/icons": "0.1.2",
184
+ "@scalar/import": "0.2.20",
185
+ "@scalar/oas-utils": "0.2.100",
185
186
  "@scalar/object-utils": "1.1.12",
186
- "@scalar/import": "0.2.18",
187
187
  "@scalar/openapi-parser": "0.10.4",
188
188
  "@scalar/openapi-types": "0.1.6",
189
- "@scalar/oas-utils": "0.2.98",
190
- "@scalar/themes": "0.9.61",
191
- "@scalar/postman-to-openapi": "0.1.21",
192
- "@scalar/types": "0.0.27",
193
- "@scalar/use-codemirror": "0.11.60",
194
- "@scalar/use-hooks": "0.1.15",
189
+ "@scalar/postman-to-openapi": "0.1.23",
190
+ "@scalar/themes": "0.9.62",
191
+ "@scalar/types": "0.0.28",
192
+ "@scalar/use-hooks": "0.1.16",
193
+ "@scalar/use-codemirror": "0.11.62",
195
194
  "@scalar/use-toasts": "0.7.8",
196
195
  "@scalar/use-tooltip": "1.0.5"
197
196
  },
198
197
  "devDependencies": {
199
- "@types/js-cookie": "^3.0.6",
200
198
  "@types/shell-quote": "^1.7.5",
201
199
  "@types/whatwg-mimetype": "^3.0.2",
202
200
  "@vitejs/plugin-vue": "^5.0.4",
@@ -211,7 +209,7 @@
211
209
  "vite-svg-loader": "^5.1.0",
212
210
  "vitest": "^1.6.0",
213
211
  "@scalar/build-tooling": "0.1.12",
214
- "@scalar/galaxy": "0.2.17"
212
+ "@scalar/galaxy": "0.2.18"
215
213
  },
216
214
  "scripts": {
217
215
  "build": "vite build && pnpm types:build && tsc-alias -p tsconfig.build.json",