@scalar/api-client 2.2.28 → 2.2.29

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 (41) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  3. package/dist/components/DataTable/DataTableInput.vue.js +1 -1
  4. package/dist/components/DataTable/DataTableInput.vue2.js +31 -32
  5. package/dist/components/DataTable/index.js +14 -14
  6. package/dist/components/Sidebar/SidebarList.vue.d.ts.map +1 -1
  7. package/dist/components/Sidebar/SidebarList.vue.js +4 -4
  8. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +2 -0
  9. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  10. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +39 -28
  11. package/dist/style.css +1 -1
  12. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  13. package/dist/views/Cookies/Cookies.vue2.js +49 -43
  14. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  15. package/dist/views/Environment/Environment.vue2.js +56 -51
  16. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +3 -1
  17. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  18. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +2 -2
  19. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +0 -1
  20. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  21. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +38 -41
  22. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +6 -1
  23. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  24. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  25. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +154 -44
  26. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  27. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +3 -3
  28. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +53 -192
  29. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -1
  30. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +1 -1
  31. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue2.js +84 -88
  32. package/dist/views/Request/RequestSection/RequestAuth/index.d.ts +1 -0
  33. package/dist/views/Request/RequestSection/RequestAuth/index.d.ts.map +1 -1
  34. package/dist/views/Request/RequestSection/RequestAuth/index.js +4 -2
  35. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  36. package/dist/views/Request/RequestSection/RequestBody.vue2.js +2 -2
  37. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  38. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  39. package/dist/views/Request/RequestSidebar.vue2.js +89 -90
  40. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  41. package/package.json +8 -8
@@ -1,20 +1,20 @@
1
- import { defineComponent as ce, useId as pe, reactive as me, watch as A, onMounted as fe, onBeforeUnmount as be, computed as ve, ref as he, openBlock as r, createElementBlock as k, Fragment as $, withDirectives as F, createVNode as p, unref as t, normalizeClass as v, createSlots as Se, withCtx as c, createElementVNode as i, createBlock as u, createCommentVNode as h, isRef as ge, withKeys as O, withModifiers as S, vShow as K, renderList as N, createTextVNode as D, toDisplayString as ke, nextTick as Re } from "vue";
1
+ import { defineComponent as ce, useId as pe, reactive as me, ref as fe, watch as B, onMounted as be, onBeforeUnmount as ve, computed as he, openBlock as r, createElementBlock as g, Fragment as O, withDirectives as F, createVNode as p, unref as t, normalizeClass as f, createSlots as Se, withCtx as c, createElementVNode as n, createBlock as u, createCommentVNode as b, isRef as ke, withKeys as $, withModifiers as v, vShow as K, renderList as N, createTextVNode as D, toDisplayString as ge, nextTick as Re } from "vue";
2
2
  import ye from "../../assets/rabbit.ascii.js";
3
3
  import xe from "../../assets/rabbitjump.ascii.js";
4
4
  import we from "../../components/EnvironmentSelector/EnvironmentSelector.vue.js";
5
5
  import Ie from "../../components/HttpMethod/HttpMethod.vue.js";
6
6
  import L from "../../components/ScalarAsciiArt.vue.js";
7
7
  import { useSearch as Ce } from "../../components/Search/useSearch.js";
8
- import $e from "../../components/Sidebar/SidebarButton.vue.js";
9
- import Oe from "../../components/Sidebar/SidebarToggle.vue.js";
8
+ import Oe from "../../components/Sidebar/SidebarButton.vue.js";
9
+ import $e from "../../components/Sidebar/SidebarToggle.vue.js";
10
10
  import { useActiveEntities as De } from "../../store/active-entities.js";
11
11
  import { createInitialRequest as qe } from "../../store/requests.js";
12
12
  import Me from "./RequestSidebarItemMenu.vue.js";
13
13
  import { dragHandlerFactory as Ve } from "./handle-drag.js";
14
- import { ScalarIcon as q, ScalarSearchInput as Te, ScalarSearchResultList as Pe, ScalarSearchResultItem as Ee, ScalarButton as Be } from "@scalar/components";
15
- import { LibraryIcon as We } from "@scalar/icons";
16
- import { useToasts as ze } from "@scalar/use-toasts";
17
- import { useRouter as Ae } from "vue-router";
14
+ import { ScalarIcon as q, ScalarSearchInput as Te, ScalarSearchResultList as Pe, ScalarSearchResultItem as Ee, ScalarButton as We } from "@scalar/components";
15
+ import { LibraryIcon as ze } from "@scalar/icons";
16
+ import { useToasts as Ae } from "@scalar/use-toasts";
17
+ import { useRouter as Be } from "vue-router";
18
18
  import Fe from "./RequestSidebarItem.vue.js";
19
19
  import Ke from "../../components/Sidebar/Sidebar.vue.js";
20
20
  import Ne from "./components/WorkspaceDropdown.vue.js";
@@ -38,19 +38,19 @@ const je = { class: "flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20" }
38
38
  emits: ["update:modelValue", "update:isSidebarOpen", "newTab", "clearDrafts"],
39
39
  setup(U, { emit: H }) {
40
40
  const j = U, M = H, { layout: G } = Le(), V = Ue(), {
41
- activeWorkspaceCollections: f,
41
+ activeWorkspaceCollections: m,
42
42
  activeRequest: J,
43
43
  activeWorkspaceRequests: y,
44
44
  activeWorkspace: x
45
45
  } = De(), { findRequestParents: Q, isReadOnly: l, events: R, requestMutators: T, requests: P } = V, { handleDragEnd: X, isDroppable: Y } = Ve(
46
46
  x,
47
47
  V
48
- ), { collapsedSidebarFolders: Z, setCollapsedSidebarFolder: _ } = He(), { replace: E } = Ae(), ee = () => {
48
+ ), { collapsedSidebarFolders: Z, setCollapsedSidebarFolder: _ } = He(), { replace: E } = Be(), ee = () => {
49
49
  R.commandPalette.emit({
50
50
  commandName: "Import from OpenAPI/Swagger/Postman"
51
51
  });
52
- }, B = pe(), { toast: te } = ze(), g = me({ open: !1 });
53
- A(
52
+ }, W = pe(), { toast: te } = Ae(), h = me({ open: !1 }), S = fe(!1);
53
+ B(
54
54
  J,
55
55
  (s) => {
56
56
  s && Q(s).forEach(
@@ -60,38 +60,38 @@ const je = { class: "flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20" }
60
60
  { immediate: !0 }
61
61
  );
62
62
  const {
63
- searchText: m,
63
+ searchText: k,
64
64
  searchResultsWithPlaceholderResults: w,
65
65
  selectedSearchResult: I,
66
66
  onSearchResultClick: se,
67
67
  fuseSearch: oe,
68
68
  searchInputRef: C,
69
69
  searchResultRefs: ae,
70
- navigateSearchResults: W,
70
+ navigateSearchResults: z,
71
71
  selectSearchResult: re
72
- } = Ce(), z = (s) => {
72
+ } = Ce(), A = (s) => {
73
73
  var e;
74
74
  s && (s.toggleSidebar && M("update:isSidebarOpen", j.isSidebarOpen), s.focusRequestSearch && ((e = C.value) == null || e.focus()));
75
75
  };
76
- fe(() => R.hotKeys.on(z)), be(() => {
77
- R.hotKeys.off(z);
76
+ be(() => R.hotKeys.on(A)), ve(() => {
77
+ R.hotKeys.off(A);
78
78
  });
79
- const ne = (s) => {
79
+ const ie = (s) => {
80
80
  if (s != null && s.documentUrl) {
81
81
  s.watchMode = !s.watchMode;
82
- const e = f.value.find(
82
+ const e = m.value.find(
83
83
  (o) => o.uid === s.entity.uid
84
84
  );
85
85
  e && (e.watchMode = s.watchMode);
86
86
  }
87
87
  };
88
- A(
89
- () => f.value.map((s) => s.watchMode),
88
+ B(
89
+ () => m.value.map((s) => s.watchMode),
90
90
  (s, e) => {
91
- s.forEach((o, n) => {
91
+ s.forEach((o, i) => {
92
92
  var a;
93
- if (!l && o !== e[n]) {
94
- const d = f.value[n];
93
+ if (!l && o !== e[i]) {
94
+ const d = m.value[i];
95
95
  if (!d) return;
96
96
  const ue = `${(a = d.info) == null ? void 0 : a.title}: Watch Mode ${o ? "enabled" : "disabled"}`;
97
97
  te(ue, "info");
@@ -99,13 +99,13 @@ const je = { class: "flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20" }
99
99
  });
100
100
  }
101
101
  );
102
- const ie = ve(() => {
102
+ const ne = he(() => {
103
103
  var e;
104
104
  const s = w.value[I.value];
105
105
  return (e = s == null ? void 0 : s.item) != null && e.id ? `#search-input-${s.item.id}` : void 0;
106
106
  }), le = () => {
107
- var o, n;
108
- const s = f.value.find(
107
+ var o, i;
108
+ const s = m.value.find(
109
109
  (a) => {
110
110
  var d;
111
111
  return ((d = a.info) == null ? void 0 : d.title) === "Drafts";
@@ -114,37 +114,37 @@ const je = { class: "flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20" }
114
114
  if (s && s.requests.forEach((a) => {
115
115
  P[a] && T.delete(P[a], s.uid);
116
116
  }), y.value.length) {
117
- const a = f.value[0], d = a == null ? void 0 : a.requests[0];
117
+ const a = m.value[0], d = a == null ? void 0 : a.requests[0];
118
118
  d && E(
119
- `/workspace/${(n = x.value) == null ? void 0 : n.uid}/request/${d}`
119
+ `/workspace/${(i = x.value) == null ? void 0 : i.uid}/request/${d}`
120
120
  );
121
121
  } else {
122
122
  const { request: a } = qe();
123
123
  s && (T.add(a, s.uid), E(`/workspace/${(o = x.value) == null ? void 0 : o.uid}/request/${a.uid}`));
124
124
  }
125
- }, b = he(!1), de = () => {
126
- b.value = !b.value, b.value || (m.value = ""), b.value && Re(() => {
125
+ }, de = () => {
126
+ S.value = !S.value, S.value || (k.value = ""), S.value && Re(() => {
127
127
  var s;
128
128
  (s = C.value) == null || s.focus();
129
129
  });
130
130
  };
131
- return (s, e) => (r(), k($, null, [
131
+ return (s, e) => (r(), g(O, null, [
132
132
  F(p(t(Ke), {
133
- class: v([s.isSidebarOpen ? "sidebar-active-width" : ""]),
133
+ class: f([s.isSidebarOpen ? "sidebar-active-width" : ""]),
134
134
  isSidebarOpen: s.isSidebarOpen,
135
- "onUpdate:isSidebarOpen": e[10] || (e[10] = (o) => s.$emit("update:isSidebarOpen", o))
135
+ "onUpdate:isSidebarOpen": e[9] || (e[9] = (o) => s.$emit("update:isSidebarOpen", o))
136
136
  }, Se({
137
137
  content: c(() => [
138
- i("div", je, [
139
- p(Oe, {
140
- class: v(["xl:hidden", [{ "!flex": t(G) === "modal" }]]),
138
+ n("div", je, [
139
+ p($e, {
140
+ class: f(["xl:hidden", [{ "!flex": t(G) === "modal" }]]),
141
141
  modelValue: s.isSidebarOpen,
142
142
  "onUpdate:modelValue": e[0] || (e[0] = (o) => s.$emit("update:isSidebarOpen", o))
143
143
  }, null, 8, ["class", "modelValue"]),
144
- t(l) ? h("", !0) : (r(), u(t(Ne), { key: 0 })),
145
- t(l) ? h("", !0) : (r(), k("span", Ge, " / ")),
146
- t(l) ? h("", !0) : (r(), u(we, { key: 2 })),
147
- i("button", {
144
+ t(l) ? b("", !0) : (r(), u(t(Ne), { key: 0 })),
145
+ t(l) ? b("", !0) : (r(), g("span", Ge, " / ")),
146
+ t(l) ? b("", !0) : (r(), u(we, { key: 2 })),
147
+ n("button", {
148
148
  class: "ml-auto",
149
149
  type: "button",
150
150
  onClick: de
@@ -155,81 +155,80 @@ const je = { class: "flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20" }
155
155
  })
156
156
  ])
157
157
  ]),
158
- F(i("div", Je, [
158
+ F(n("div", Je, [
159
159
  p(t(Te), {
160
160
  ref_key: "searchInputRef",
161
161
  ref: C,
162
- modelValue: t(m),
163
- "onUpdate:modelValue": e[1] || (e[1] = (o) => ge(m) ? m.value = o : null),
164
- "aria-activedescendant": ie.value,
165
- "aria-controls": t(B),
162
+ modelValue: t(k),
163
+ "onUpdate:modelValue": e[1] || (e[1] = (o) => ke(k) ? k.value = o : null),
164
+ "aria-activedescendant": ne.value,
165
+ "aria-controls": t(W),
166
166
  sidebar: "",
167
- onBlur: e[2] || (e[2] = (o) => b.value = t(m).length > 0),
168
167
  onInput: t(oe),
169
168
  onKeydown: [
170
- e[3] || (e[3] = O(S((o) => t(W)("down"), ["stop"]), ["down"])),
171
- e[4] || (e[4] = O(S((o) => t(re)(), ["stop"]), ["enter"])),
172
- e[5] || (e[5] = O(S((o) => t(W)("up"), ["stop"]), ["up"]))
169
+ e[2] || (e[2] = $(v((o) => t(z)("down"), ["stop"]), ["down"])),
170
+ e[3] || (e[3] = $(v((o) => t(re)(), ["stop"]), ["enter"])),
171
+ e[4] || (e[4] = $(v((o) => t(z)("up"), ["stop"]), ["up"]))
173
172
  ]
174
173
  }, null, 8, ["modelValue", "aria-activedescendant", "aria-controls", "onInput"])
175
174
  ], 512), [
176
- [K, b.value || t(m)]
175
+ [K, S.value]
177
176
  ]),
178
- i("div", {
179
- class: v(["flex flex-1 flex-col overflow-visible px-3 pb-3 pt-0", {
177
+ n("div", {
178
+ class: f(["flex flex-1 flex-col overflow-visible px-3 pb-3 pt-0", {
180
179
  "pb-14": !t(l)
181
180
  }]),
182
- onDragenter: e[8] || (e[8] = S(() => {
181
+ onDragenter: e[7] || (e[7] = v(() => {
183
182
  }, ["prevent"])),
184
- onDragover: e[9] || (e[9] = S(() => {
183
+ onDragover: e[8] || (e[8] = v(() => {
185
184
  }, ["prevent"]))
186
185
  }, [
187
- t(m) ? (r(), u(t(Pe), {
186
+ t(k) ? (r(), u(t(Pe), {
188
187
  key: 0,
189
- id: t(B),
188
+ id: t(W),
190
189
  "aria-label": "Search Results",
191
190
  class: "gap-px",
192
191
  noResults: !t(w).length
193
192
  }, {
194
193
  default: c(() => [
195
- (r(!0), k($, null, N(t(w), (o, n) => (r(), u(t(Ee), {
194
+ (r(!0), g(O, null, N(t(w), (o, i) => (r(), u(t(Ee), {
196
195
  id: `#search-input-${o.item.id}`,
197
196
  key: o.refIndex,
198
197
  ref_for: !0,
199
- ref: (a) => t(ae)[n] = a,
200
- active: t(I) === n,
198
+ ref: (a) => t(ae)[i] = a,
199
+ active: t(I) === i,
201
200
  class: "px-2",
202
201
  href: o.item.link,
203
- onClick: S((a) => t(se)(o), ["prevent"]),
204
- onFocus: (a) => I.value = n
202
+ onClick: v((a) => t(se)(o), ["prevent"]),
203
+ onFocus: (a) => I.value = i
205
204
  }, {
206
205
  addon: c(() => [
207
- e[12] || (e[12] = i("span", { class: "sr-only" }, "HTTP Method:", -1)),
206
+ e[11] || (e[11] = n("span", { class: "sr-only" }, "HTTP Method:", -1)),
208
207
  p(Ie, {
209
208
  class: "font-bold",
210
209
  method: o.item.httpVerb ?? "get"
211
210
  }, null, 8, ["method"])
212
211
  ]),
213
212
  default: c(() => [
214
- D(ke(o.item.title) + " ", 1)
213
+ D(ge(o.item.title) + " ", 1)
215
214
  ]),
216
215
  _: 2
217
216
  }, 1032, ["id", "active", "href", "onClick", "onFocus"]))), 128))
218
217
  ]),
219
218
  _: 1
220
- }, 8, ["id", "noResults"])) : (r(), k("nav", Qe, [
221
- (r(!0), k($, null, N(t(f), (o) => {
222
- var n;
219
+ }, 8, ["id", "noResults"])) : (r(), g("nav", Qe, [
220
+ (r(!0), g(O, null, N(t(m), (o) => {
221
+ var i;
223
222
  return r(), u(Fe, {
224
223
  key: o.uid,
225
- isDraggable: !t(l) && ((n = o.info) == null ? void 0 : n.title) !== "Drafts",
224
+ isDraggable: !t(l) && ((i = o.info) == null ? void 0 : i.title) !== "Drafts",
226
225
  isDroppable: t(Y),
227
- menuItem: g,
226
+ menuItem: h,
228
227
  parentUids: [],
229
228
  uid: o.uid,
230
- onNewTab: e[6] || (e[6] = (a, d) => M("newTab", { name: a, uid: d })),
229
+ onNewTab: e[5] || (e[5] = (a, d) => M("newTab", { name: a, uid: d })),
231
230
  onOnDragEnd: t(X),
232
- onOpenMenu: e[7] || (e[7] = (a) => Object.assign(g, a))
231
+ onOpenMenu: e[6] || (e[6] = (a) => Object.assign(h, a))
233
232
  }, {
234
233
  leftIcon: c(() => {
235
234
  var a;
@@ -239,13 +238,13 @@ const je = { class: "flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20" }
239
238
  class: "text-sidebar-c-2 group-hover:hidden",
240
239
  icon: "Scribble",
241
240
  thickness: "2.25"
242
- })) : (r(), u(t(We), {
241
+ })) : (r(), u(t(ze), {
243
242
  key: 1,
244
243
  class: "min-w-3.5 text-sidebar-c-2 size-3.5 stroke-2 group-hover:hidden",
245
244
  src: o["x-scalar-icon"] || "interface-content-folder"
246
245
  }, null, 8, ["src"])),
247
- i("div", {
248
- class: v({
246
+ n("div", {
247
+ class: f({
249
248
  "rotate-90": t(Z)[o.uid]
250
249
  })
251
250
  }, [
@@ -264,13 +263,13 @@ const je = { class: "flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20" }
264
263
  ], 34)
265
264
  ]),
266
265
  button: c(() => [
267
- i("div", {
268
- class: v({
266
+ n("div", {
267
+ class: f({
269
268
  "empty-sidebar-item": t(y).length <= 1
270
269
  })
271
270
  }, [
272
- i("div", Xe, [
273
- i("div", Ye, [
271
+ n("div", Xe, [
272
+ n("div", Ye, [
274
273
  p(L, {
275
274
  art: t(ye),
276
275
  class: "font-bold rabbitsit"
@@ -280,29 +279,29 @@ const je = { class: "flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20" }
280
279
  class: "font-bold absolute top-0 left-0 rabbitjump"
281
280
  }, null, 8, ["art"])
282
281
  ]),
283
- e[13] || (e[13] = i("div", { class: "text-center text-balance text-sm mb-2 mt-2" }, [
284
- i("b", { class: "font-medium" }, "Let's Get Started"),
285
- i("p", { class: "mt-2" }, " Create request, folder, collection or import from OpenAPI/Postman ")
282
+ e[12] || (e[12] = n("div", { class: "text-center text-balance text-sm mb-2 mt-2" }, [
283
+ n("b", { class: "font-medium" }, "Let's Get Started"),
284
+ n("p", { class: "mt-2" }, " Create request, folder, collection or import from OpenAPI/Postman ")
286
285
  ], -1))
287
286
  ]),
288
- t(l) ? h("", !0) : (r(), u(t(Be), {
287
+ t(l) ? b("", !0) : (r(), u(t(We), {
289
288
  key: 0,
290
- class: v(["mb-1.5 w-full h-fit hidden opacity-0 p-1.5", {
289
+ class: f(["mb-1.5 w-full h-fit hidden opacity-0 p-1.5", {
291
290
  "flex opacity-100": t(y).length <= 1
292
291
  }]),
293
292
  onClick: ee
294
293
  }, {
295
- default: c(() => e[14] || (e[14] = [
294
+ default: c(() => e[13] || (e[13] = [
296
295
  D(" Import Collection ")
297
296
  ])),
298
297
  _: 1
299
298
  }, 8, ["class"])),
300
- t(l) ? h("", !0) : (r(), u($e, {
299
+ t(l) ? b("", !0) : (r(), u(Oe, {
301
300
  key: 1,
302
301
  click: t(R).commandPalette.emit,
303
302
  hotkey: "K"
304
303
  }, {
305
- title: c(() => e[15] || (e[15] = [
304
+ title: c(() => e[14] || (e[14] = [
306
305
  D("Add Item")
307
306
  ])),
308
307
  _: 1
@@ -319,13 +318,13 @@ const je = { class: "flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20" }
319
318
  ]), 1032, ["class", "isSidebarOpen"]), [
320
319
  [K, s.isSidebarOpen]
321
320
  ]),
322
- !t(l) && g ? (r(), u(Me, {
321
+ !t(l) && h ? (r(), u(Me, {
323
322
  key: 0,
324
- menuItem: g,
323
+ menuItem: h,
325
324
  onClearDrafts: le,
326
- onCloseMenu: e[11] || (e[11] = (o) => g.open = !1),
327
- onToggleWatchMode: ne
328
- }, null, 8, ["menuItem"])) : h("", !0)
325
+ onCloseMenu: e[10] || (e[10] = (o) => h.open = !1),
326
+ onToggleWatchMode: ie
327
+ }, null, 8, ["menuItem"])) : b("", !0)
329
328
  ], 64));
330
329
  }
331
330
  });
@@ -17,7 +17,7 @@ const K = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, A = {
17
17
  a.commandPalette.emit({ commandName: "Create Request" });
18
18
  }, y = (i) => {
19
19
  i != null && i.createNew && v.name === "request" && f();
20
- }, h = "2.2.28";
20
+ }, h = "2.2.29";
21
21
  return R(() => a.hotKeys.on(y)), C(() => a.hotKeys.off(y)), (i, e) => (r(), l("div", K, [
22
22
  o("div", {
23
23
  class: k(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.2.28",
21
+ "version": "2.2.29",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -169,10 +169,10 @@
169
169
  "whatwg-mimetype": "^4.0.0",
170
170
  "yaml": "^2.4.5",
171
171
  "zod": "^3.23.8",
172
- "@scalar/components": "0.13.11",
173
- "@scalar/icons": "0.1.2",
174
- "@scalar/import": "0.2.15",
175
172
  "@scalar/draggable": "0.1.8",
173
+ "@scalar/components": "0.13.12",
174
+ "@scalar/import": "0.2.15",
175
+ "@scalar/icons": "0.1.2",
176
176
  "@scalar/oas-utils": "0.2.95",
177
177
  "@scalar/object-utils": "1.1.12",
178
178
  "@scalar/openapi-parser": "0.10.2",
@@ -180,10 +180,10 @@
180
180
  "@scalar/postman-to-openapi": "0.1.18",
181
181
  "@scalar/themes": "0.9.58",
182
182
  "@scalar/types": "0.0.25",
183
- "@scalar/use-codemirror": "0.11.55",
184
- "@scalar/use-hooks": "0.1.11",
185
- "@scalar/use-toasts": "0.7.7",
186
- "@scalar/use-tooltip": "1.0.4"
183
+ "@scalar/use-hooks": "0.1.12",
184
+ "@scalar/use-codemirror": "0.11.56",
185
+ "@scalar/use-toasts": "0.7.8",
186
+ "@scalar/use-tooltip": "1.0.5"
187
187
  },
188
188
  "devDependencies": {
189
189
  "@types/js-cookie": "^3.0.6",