@scalar/api-client 2.2.37 → 2.2.39

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 (124) hide show
  1. package/CHANGELOG.md +45 -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 +95 -75
  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 +2 -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 +72 -64
  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/DataTable/DataTableInputSelect.vue.d.ts +1 -0
  23. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  24. package/dist/components/DataTable/DataTableInputSelect.vue.js +83 -51
  25. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  26. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +22 -21
  27. package/dist/components/Server/ServerVariablesForm.vue.d.ts +14 -0
  28. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -0
  29. package/dist/components/Server/ServerVariablesForm.vue.js +47 -0
  30. package/dist/components/Server/ServerVariablesForm.vue2.js +4 -0
  31. package/dist/components/Server/ServerVariablesSelect.vue.d.ts +12 -0
  32. package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -0
  33. package/dist/components/Server/ServerVariablesSelect.vue.js +54 -0
  34. package/dist/components/Server/ServerVariablesSelect.vue2.js +4 -0
  35. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +11 -0
  36. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -0
  37. package/dist/components/Server/ServerVariablesTextbox.vue.js +29 -0
  38. package/dist/components/Server/ServerVariablesTextbox.vue2.js +4 -0
  39. package/dist/components/Server/types.d.ts +9 -0
  40. package/dist/components/Server/types.d.ts.map +1 -0
  41. package/dist/components/SideNav/SideHelp.vue.js +16 -16
  42. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  43. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  44. package/dist/components/Sidebar/Sidebar.vue2.js +11 -10
  45. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  46. package/dist/components/Sidebar/SidebarListElement.vue.js +1 -1
  47. package/dist/components/Sidebar/SidebarListElement.vue2.js +10 -9
  48. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +1 -1
  49. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  50. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +24 -24
  51. package/dist/layouts/App/create-api-client-app.d.ts +95 -26
  52. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  53. package/dist/layouts/Modal/create-api-client-modal.d.ts +190 -52
  54. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  55. package/dist/layouts/Modal/create-api-client-modal.js +20 -17
  56. package/dist/layouts/Web/create-api-client-web.d.ts +95 -26
  57. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  58. package/dist/libs/create-client.d.ts +106 -32
  59. package/dist/libs/create-client.d.ts.map +1 -1
  60. package/dist/libs/create-client.js +86 -81
  61. package/dist/libs/find-request.d.ts.map +1 -1
  62. package/dist/libs/importers/curl.js +4 -4
  63. package/dist/store/active-entities.d.ts +13 -4
  64. package/dist/store/active-entities.d.ts.map +1 -1
  65. package/dist/store/collections.d.ts.map +1 -1
  66. package/dist/store/import-spec.d.ts.map +1 -1
  67. package/dist/store/request-example.d.ts +52 -2
  68. package/dist/store/request-example.d.ts.map +1 -1
  69. package/dist/store/requests.d.ts +2 -2
  70. package/dist/store/requests.d.ts.map +1 -1
  71. package/dist/store/servers.d.ts +40 -20
  72. package/dist/store/servers.d.ts.map +1 -1
  73. package/dist/store/store.d.ts +95 -28
  74. package/dist/store/store.d.ts.map +1 -1
  75. package/dist/store/store.js +51 -53
  76. package/dist/style.css +1 -1
  77. package/dist/views/Cookies/Cookies.vue2.js +1 -1
  78. package/dist/views/Environment/Environment.vue2.js +1 -1
  79. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  80. package/dist/views/Request/Request.vue.js +2 -2
  81. package/dist/views/Request/Request.vue2.js +88 -89
  82. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  83. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
  84. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +85 -85
  85. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +2 -1
  86. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  87. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +3 -3
  88. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +16 -17
  89. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +2 -2
  90. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue2.js +1 -1
  91. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  92. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +57 -74
  93. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  94. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  95. package/dist/views/Request/RequestSection/RequestSection.vue2.js +39 -38
  96. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +1 -1
  97. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  98. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  99. package/dist/views/Request/RequestSection/RequestTable.vue2.js +8 -7
  100. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  101. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +1 -1
  102. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +5 -5
  103. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  104. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  105. package/dist/views/Request/RequestSidebar.vue2.js +143 -143
  106. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  107. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  108. package/dist/views/Request/RequestSidebarItem.vue2.js +71 -71
  109. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  110. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  111. package/dist/views/Request/RequestSubpageHeader.vue2.js +37 -37
  112. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  113. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +2 -2
  114. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +27 -27
  115. package/dist/views/Request/handle-drag.d.ts +1 -1
  116. package/dist/views/Request/handle-drag.d.ts.map +1 -1
  117. package/dist/views/Request/handle-drag.js +27 -26
  118. package/dist/views/Request/hooks/useOpenApiWatcher.js +1 -1
  119. package/dist/views/Request/libs/{live-sync.d.ts → watch-mode.d.ts} +1 -1
  120. package/dist/views/Request/libs/watch-mode.d.ts.map +1 -0
  121. package/dist/views/Request/libs/{live-sync.js → watch-mode.js} +6 -6
  122. package/dist/views/Servers/Servers.vue2.js +29 -29
  123. package/package.json +14 -14
  124. package/dist/views/Request/libs/live-sync.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as ae, useCssVars as ue, computed as f, ref as de, resolveComponent as pe, openBlock as u, createElementBlock as U, normalizeClass as m, unref as n, createVNode as y, withCtx as g, createBlock as v, withModifiers as q, createElementVNode as o, toDisplayString as $, createCommentVNode as c, createTextVNode as W, renderSlot as fe, Fragment as ce, renderList as me } from "vue";
1
+ import { defineComponent as ae, useCssVars as ue, computed as f, ref as de, resolveComponent as pe, openBlock as u, createElementBlock as U, normalizeClass as c, unref as n, createVNode as y, withCtx as g, createBlock as v, withModifiers as q, createElementVNode as r, toDisplayString as $, createCommentVNode as m, createTextVNode as W, renderSlot as fe, Fragment as me, renderList as ce } from "vue";
2
2
  import { useActiveEntities as ge } from "../../store/active-entities.js";
3
3
  import { ScalarButton as D, ScalarIcon as x, ScalarTooltip as ve } from "@scalar/components";
4
4
  import { Draggable as be } from "@scalar/draggable";
@@ -9,7 +9,8 @@ import ke from "../../components/HttpMethod/HttpMethod.vue.js";
9
9
  import { useSidebar as we } from "../../hooks/useSidebar.js";
10
10
  import { getModifiers as Ue } from "../../libs/hot-keys.js";
11
11
  import { useWorkspace as qe } from "../../store/store.js";
12
- const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { class: "flex flex-row gap-1 items-center" }, Re = { class: "relative" }, Ie = { class: "flex items-start" }, Te = ["aria-expanded"], Me = { class: "flex h-5 items-center justify-center max-w-[14px]" }, Ee = { class: "flex flex-1 flex-row justify-between" }, $e = { class: "break-all line-clamp-1 font-medium text-left w-full" }, ze = { class: "relative flex justify-end h-fit" }, Se = { class: "grid gap-1.5 pointer-events-none max-w-10 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1" }, Ne = { class: "flex items-center text-c-2" }, Oe = { class: "text-pretty break-all" }, Pe = { key: 2 }, Y = "hover:bg-sidebar-active-b indent-padding-left", Ke = /* @__PURE__ */ ae({
12
+ import { useLayout as De } from "../../hooks/useLayout.js";
13
+ const Ce = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ie = { class: "flex flex-row gap-1 items-center" }, Re = { class: "relative" }, Te = { class: "flex items-start" }, Me = ["aria-expanded"], Ee = { class: "flex h-5 items-center justify-center max-w-[14px]" }, $e = { class: "flex flex-1 flex-row justify-between" }, ze = { class: "break-all line-clamp-1 font-medium text-left w-full" }, Se = { class: "relative flex justify-end h-fit" }, Ne = { class: "grid gap-1.5 pointer-events-none max-w-10 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1" }, Oe = { class: "flex items-center text-c-2" }, Pe = { class: "text-pretty break-all" }, je = { key: 2 }, Y = "hover:bg-sidebar-active-b indent-padding-left", Xe = /* @__PURE__ */ ae({
13
14
  __name: "RequestSidebarItem",
14
15
  props: {
15
16
  isDraggable: { type: Boolean, default: !1 },
@@ -21,25 +22,24 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
21
22
  emits: ["onDragEnd", "newTab", "openMenu"],
22
23
  setup(H, { emit: L }) {
23
24
  ue((e) => ({
24
- "536506c3": _.value,
25
- "2bf0d41b": ee.value
25
+ "248443bc": _.value,
26
+ 97006748: ee.value
26
27
  }));
27
28
  const s = H, G = L, { activeCollection: J, activeRequest: z, activeRouterParams: K, activeWorkspace: k } = ge(), {
28
29
  collections: C,
29
30
  tags: S,
30
- isReadOnly: p,
31
- requests: R,
32
- requestExamples: I,
31
+ requests: I,
32
+ requestExamples: R,
33
33
  collectionMutators: T,
34
34
  tagMutators: N,
35
35
  requestMutators: O,
36
36
  requestExampleMutators: P,
37
37
  events: Q
38
- } = qe(), X = he(), { collapsedSidebarFolders: M, toggleSidebarFolder: Z } = we(), i = f(() => {
39
- var r, d, b, w;
40
- const e = C[s.uid], t = S[s.uid], l = R[s.uid], a = I[s.uid];
38
+ } = qe(), X = he(), { collapsedSidebarFolders: M, toggleSidebarFolder: Z } = we(), { layout: p } = De(), i = f(() => {
39
+ var o, d, b, w;
40
+ const e = C[s.uid], t = S[s.uid], l = I[s.uid], a = R[s.uid];
41
41
  return e ? {
42
- title: ((r = e.info) == null ? void 0 : r.title) ?? "Unknown title",
42
+ title: ((o = e.info) == null ? void 0 : o.title) ?? "Unknown title",
43
43
  entity: e,
44
44
  resourceTitle: "Collection",
45
45
  children: e.children,
@@ -91,7 +91,7 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
91
91
  examples: a.uid
92
92
  }
93
93
  },
94
- method: (w = R[a.requestUid]) == null ? void 0 : w.method,
94
+ method: (w = I[a.requestUid]) == null ? void 0 : w.method,
95
95
  entity: a,
96
96
  resourceTitle: "Example",
97
97
  warning: "This cannot be undone. You’re about to delete the example from the request.",
@@ -113,7 +113,7 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
113
113
  };
114
114
  }), j = f(
115
115
  () => i.value.entity.type === "collection" && i.value.title === "Drafts"
116
- ), _ = f(() => s.parentUids.length ? p ? `${(s.parentUids.length - 1) * 12}px` : `${s.parentUids.length * 12}px` : "12px"), ee = f(() => s.parentUids.length ? p ? `${(s.parentUids.length - 1) * 12}px` : `${s.parentUids.length * 12}px` : "0px"), te = f(
116
+ ), _ = f(() => s.parentUids.length ? p === "modal" ? `${(s.parentUids.length - 1) * 12}px` : `${s.parentUids.length * 12}px` : "12px"), ee = f(() => s.parentUids.length ? p === "modal" ? `${(s.parentUids.length - 1) * 12}px` : `${s.parentUids.length * 12}px` : "0px"), te = f(
117
117
  () => {
118
118
  var e;
119
119
  return M[s.uid] || ((e = z.value) == null ? void 0 : e.uid) === s.uid && i.value.entity.examples.length > 1;
@@ -128,8 +128,8 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
128
128
  if (!E.value) return { ceiling: e, floor: t };
129
129
  const { draggingItem: l } = E.value;
130
130
  return !C[l == null ? void 0 : l.id] && i.value.entity.type === "collection" ? (e = 1, t = 0) : i.value.entity.type === "tag" && (e = 0.8, t = 0.2), { ceiling: e, floor: t };
131
- }), ne = (e, t) => !(p || I[t.id] || C[e.id]), se = (e, t) => {
132
- e && (Ue(["default"]).some((r) => e[r]) ? G("newTab", t.title || "", t.entity.uid) : t.link && X.push(t.link));
131
+ }), ne = (e, t) => !(p === "modal" || R[t.id] || C[e.id]), se = (e, t) => {
132
+ e && (Ue(["default"]).some((o) => e[o]) ? G("newTab", t.title || "", t.entity.uid) : t.link && X.push(t.link));
133
133
  };
134
134
  function B() {
135
135
  Q.commandPalette.emit({
@@ -140,11 +140,11 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
140
140
  }
141
141
  });
142
142
  }
143
- const re = f(() => {
143
+ const oe = f(() => {
144
144
  const { uid: e, watchModeStatus: t } = J.value || {};
145
145
  return e !== i.value.entity.uid ? "text-c-3" : t === "WATCHING" ? "text-c-1" : t === "ERROR" ? "text-red" : "text-c-3";
146
- }), oe = f(() => i.value.title == "Drafts" && !p && i.value.children.length > 0), le = f(() => {
147
- const e = R[s.uid];
146
+ }), re = f(() => i.value.title == "Drafts" && p !== "modal" && i.value.children.length > 0), le = f(() => {
147
+ const e = I[s.uid];
148
148
  if (e) return !F(e);
149
149
  const t = S[s.uid];
150
150
  return t ? !F(t) : !0;
@@ -153,8 +153,8 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
153
153
  const l = pe("RequestSidebarItem", !0);
154
154
  return le.value ? (u(), U("li", {
155
155
  key: 0,
156
- class: m(["relative flex flex-row", [
157
- n(p) && e.parentUids.length > 1 || !n(p) && e.parentUids.length ? "before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 indent-border-line-offset" : ""
156
+ class: c(["relative flex flex-row", [
157
+ n(p) === "modal" && e.parentUids.length > 1 || n(p) !== "modal" && e.parentUids.length ? "before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 indent-border-line-offset" : ""
158
158
  ]])
159
159
  }, [
160
160
  y(n(be), {
@@ -177,25 +177,25 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
177
177
  class: "group no-underline",
178
178
  to: i.value.link,
179
179
  onClick: t[1] || (t[1] = q(
180
- (r) => se(r, i.value),
180
+ (o) => se(o, i.value),
181
181
  ["prevent"]
182
182
  ))
183
183
  }, {
184
- default: g(({ isExactActive: r }) => {
184
+ default: g(({ isExactActive: o }) => {
185
185
  var d, b;
186
186
  return [
187
- o("div", {
188
- class: m(["relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-0.5 py-1.5 pr-2 rounded w-full", [
187
+ r("div", {
188
+ class: c(["relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-0.5 py-1.5 pr-2 rounded w-full", [
189
189
  Y,
190
- r || ie.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
190
+ o || ie.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
191
191
  ]])
192
192
  }, [
193
- o("span", De, $(i.value.title), 1),
194
- o("div", Ce, [
195
- o("div", Re, [
196
- n(p) ? c("", !0) : (u(), v(n(D), {
193
+ r("span", Ce, $(i.value.title), 1),
194
+ r("div", Ie, [
195
+ r("div", Re, [
196
+ n(p) !== "modal" ? (u(), v(n(D), {
197
197
  key: 0,
198
- class: m(["hidden px-0.5 py-0 hover:bg-b-3 opacity-0 group-hover:opacity-100 group-hover:flex group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 aspect-square h-fit", {
198
+ class: c(["hidden px-0.5 py-0 hover:bg-b-3 opacity-0 group-hover:opacity-100 group-hover:flex group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 aspect-square h-fit", {
199
199
  flex: ((b = (d = e.menuItem) == null ? void 0 : d.item) == null ? void 0 : b.entity.uid) === i.value.entity.uid && e.menuItem.open
200
200
  }]),
201
201
  size: "sm",
@@ -218,33 +218,33 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
218
218
  })
219
219
  ]),
220
220
  _: 1
221
- }, 8, ["class"]))
221
+ }, 8, ["class"])) : m("", !0)
222
222
  ]),
223
- o("span", Ie, [
223
+ r("span", Te, [
224
224
  t[10] || (t[10] = W("   ")),
225
- t[11] || (t[11] = o("span", { class: "sr-only" }, "HTTP Method:", -1)),
225
+ t[11] || (t[11] = r("span", { class: "sr-only" }, "HTTP Method:", -1)),
226
226
  i.value.method ? (u(), v(n(ke), {
227
227
  key: 0,
228
228
  class: "font-bold",
229
229
  method: i.value.method
230
- }, null, 8, ["method"])) : c("", !0)
230
+ }, null, 8, ["method"])) : m("", !0)
231
231
  ])
232
232
  ])
233
233
  ], 2)
234
234
  ];
235
235
  }),
236
236
  _: 1
237
- }, 8, ["to"])) : !n(p) || e.parentUids.length ? (u(), U("button", {
237
+ }, 8, ["to"])) : n(p) !== "modal" || e.parentUids.length ? (u(), U("button", {
238
238
  key: 1,
239
239
  "aria-expanded": n(M)[i.value.entity.uid],
240
- class: m(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 focus-visible:z-10", [Y]]),
240
+ class: c(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 focus-visible:z-10", [Y]]),
241
241
  type: "button",
242
- onClick: t[4] || (t[4] = (r) => n(Z)(i.value.entity.uid))
242
+ onClick: t[4] || (t[4] = (o) => n(Z)(i.value.entity.uid))
243
243
  }, [
244
- o("span", Me, [
244
+ r("span", Ee, [
245
245
  fe(e.$slots, "leftIcon", {}, () => [
246
- o("div", {
247
- class: m({
246
+ r("div", {
247
+ class: c({
248
248
  "rotate-90": n(M)[i.value.entity.uid]
249
249
  })
250
250
  }, [
@@ -257,25 +257,25 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
257
257
  ], !0),
258
258
  t[12] || (t[12] = W("   "))
259
259
  ]),
260
- o("div", Ee, [
261
- o("span", $e, $(i.value.title), 1),
262
- o("div", ze, [
263
- o("div", {
264
- class: m(["items-center opacity-0 gap-px group-hover:opacity-100 group-hover:flex group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100", {
260
+ r("div", $e, [
261
+ r("span", ze, $(i.value.title), 1),
262
+ r("div", Se, [
263
+ r("div", {
264
+ class: c(["items-center opacity-0 gap-px group-hover:opacity-100 group-hover:flex group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100", {
265
265
  flex: e.menuItem.open,
266
266
  hidden: !e.menuItem.open || ((a = e.menuItem.item) == null ? void 0 : a.entity.uid) !== i.value.entity.uid
267
267
  }])
268
268
  }, [
269
- !n(p) && !j.value || j.value && oe.value ? (u(), v(n(D), {
269
+ n(p) !== "modal" && !j.value || j.value && re.value ? (u(), v(n(D), {
270
270
  key: 0,
271
271
  class: "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",
272
272
  size: "sm",
273
273
  variant: "ghost",
274
274
  onClick: t[2] || (t[2] = q(
275
- (r) => e.$emit("openMenu", {
275
+ (o) => e.$emit("openMenu", {
276
276
  item: i.value,
277
277
  parentUids: e.parentUids,
278
- targetRef: r.currentTarget.parentNode,
278
+ targetRef: o.currentTarget.parentNode,
279
279
  open: !0
280
280
  }),
281
281
  ["stop", "prevent"]
@@ -288,13 +288,13 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
288
288
  })
289
289
  ]),
290
290
  _: 1
291
- })) : c("", !0),
292
- n(p) ? c("", !0) : (u(), v(n(D), {
291
+ })) : m("", !0),
292
+ n(p) !== "modal" ? (u(), v(n(D), {
293
293
  key: 1,
294
294
  class: "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",
295
295
  size: "sm",
296
296
  variant: "ghost",
297
- onClick: t[3] || (t[3] = q((r) => B(), ["stop", "prevent"]))
297
+ onClick: t[3] || (t[3] = q((o) => B(), ["stop", "prevent"]))
298
298
  }, {
299
299
  default: g(() => [
300
300
  y(n(x), {
@@ -304,7 +304,7 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
304
304
  })
305
305
  ]),
306
306
  _: 1
307
- }))
307
+ })) : m("", !0)
308
308
  ], 2),
309
309
  i.value.watchMode ? (u(), v(n(ve), {
310
310
  key: 0,
@@ -313,42 +313,42 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
313
313
  }, {
314
314
  trigger: g(() => [
315
315
  y(n(x), {
316
- class: m(["ml-0.5 text-sm", re.value]),
316
+ class: c(["ml-0.5 text-sm", oe.value]),
317
317
  icon: "Watch",
318
318
  size: "md",
319
319
  thickness: "2"
320
320
  }, null, 8, ["class"])
321
321
  ]),
322
322
  content: g(() => [
323
- o("div", Se, [
324
- o("div", Ne, [
325
- o("p", Oe, " Watching: " + $(i.value.documentUrl), 1)
323
+ r("div", Ne, [
324
+ r("div", Oe, [
325
+ r("p", Pe, " Watching: " + $(i.value.documentUrl), 1)
326
326
  ])
327
327
  ])
328
328
  ]),
329
329
  _: 1
330
- })) : c("", !0),
331
- t[13] || (t[13] = o("span", null, " ", -1))
330
+ })) : m("", !0),
331
+ t[13] || (t[13] = r("span", null, " ", -1))
332
332
  ])
333
333
  ])
334
- ], 10, Te)) : c("", !0),
335
- te.value ? (u(), U("ul", Pe, [
336
- (u(!0), U(ce, null, me(i.value.children, (r) => (u(), v(l, {
337
- key: r,
338
- isDraggable: !n(I)[r],
334
+ ], 10, Me)) : m("", !0),
335
+ te.value ? (u(), U("ul", je, [
336
+ (u(!0), U(me, null, ce(i.value.children, (o) => (u(), v(l, {
337
+ key: o,
338
+ isDraggable: !n(R)[o],
339
339
  isDroppable: ne,
340
340
  menuItem: e.menuItem,
341
341
  parentUids: [...e.parentUids, e.uid],
342
- uid: r,
342
+ uid: o,
343
343
  onNewTab: t[5] || (t[5] = (d, b) => e.$emit("newTab", d, b)),
344
344
  onOnDragEnd: t[6] || (t[6] = (...d) => e.$emit("onDragEnd", ...d)),
345
345
  onOpenMenu: t[7] || (t[7] = (d) => e.$emit("openMenu", d))
346
346
  }, null, 8, ["isDraggable", "menuItem", "parentUids", "uid"]))), 128)),
347
347
  i.value.children.length === 0 ? (u(), v(n(D), {
348
348
  key: 0,
349
- class: m(["mb-[.5px] flex gap-1.5 h-8 text-c-1 py-0 justify-start text-xs w-full hover:bg-b-2", e.parentUids.length ? "pl-9" : ""]),
349
+ class: c(["mb-[.5px] flex gap-1.5 h-8 text-c-1 py-0 justify-start text-xs w-full hover:bg-b-2", e.parentUids.length ? "pl-9" : ""]),
350
350
  variant: "ghost",
351
- onClick: t[8] || (t[8] = (r) => B())
351
+ onClick: t[8] || (t[8] = (o) => B())
352
352
  }, {
353
353
  default: g(() => [
354
354
  y(n(x), {
@@ -356,19 +356,19 @@ const De = { class: "break-all line-clamp-1 font-medium w-full pl-2" }, Ce = { c
356
356
  icon: "Add",
357
357
  thickness: "3"
358
358
  }),
359
- t[14] || (t[14] = o("span", null, "Add Request", -1))
359
+ t[14] || (t[14] = r("span", null, "Add Request", -1))
360
360
  ]),
361
361
  _: 1
362
- }, 8, ["class"])) : c("", !0)
363
- ])) : c("", !0)
362
+ }, 8, ["class"])) : m("", !0)
363
+ ])) : m("", !0)
364
364
  ];
365
365
  }),
366
366
  _: 3
367
367
  }, 8, ["id", "ceiling", "floor", "isDraggable", "isDroppable", "parentIds"])
368
- ], 2)) : c("", !0);
368
+ ], 2)) : m("", !0);
369
369
  };
370
370
  }
371
371
  });
372
372
  export {
373
- Ke as default
373
+ Xe as default
374
374
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSubpageHeader.vue"],"names":[],"mappings":"AA4GA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;;;;;AA6OF,wBAQG"}
1
+ {"version":3,"file":"RequestSubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSubpageHeader.vue"],"names":[],"mappings":"AA+GA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;;;;;AA+OF,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import e from "./RequestSubpageHeader.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-56f2e5e8"]]);
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f68bac49"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,79 +1,79 @@
1
- import { defineComponent as x, openBlock as r, createElementBlock as u, createElementVNode as n, unref as e, createBlock as g, normalizeClass as v, createCommentVNode as i, createVNode as a } from "vue";
2
- import w from "../../components/AddressBar/AddressBar.vue.js";
3
- import h from "../../components/Sidebar/SidebarToggle.vue.js";
4
- import { useActiveEntities as B } from "../../store/active-entities.js";
5
- import { ScalarIcon as b } from "@scalar/components";
6
- import { useRouter as $ } from "vue-router";
7
- import R from "../../components/OpenApiClientButton.vue.js";
1
+ import { defineComponent as V, openBlock as n, createElementBlock as u, createElementVNode as i, unref as e, createBlock as c, normalizeClass as x, createCommentVNode as s, createVNode as a } from "vue";
2
+ import v from "../../components/AddressBar/AddressBar.vue.js";
3
+ import w from "../../components/Sidebar/SidebarToggle.vue.js";
4
+ import { useActiveEntities as h } from "../../store/active-entities.js";
5
+ import { ScalarIcon as g } from "@scalar/components";
6
+ import { useRouter as B } from "vue-router";
7
+ import $ from "../../components/OpenApiClientButton.vue.js";
8
8
  import { useWorkspace as S } from "../../store/store.js";
9
9
  import { useLayout as z } from "../../hooks/useLayout.js";
10
- const A = { class: "lg:min-h-client-header flex items-center w-full justify-center p-2 pt-2 lg:pt-1 lg:p-1 flex-wrap t-app__top-container border-b-1/2" }, E = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-2 lg:flex-1 w-1/2" }, M = { class: "flex flex-row items-center gap-1 lg:px-2.5 lg:mb-0 mb-2 lg:flex-1 justify-end w-1/2" }, F = /* @__PURE__ */ x({
10
+ const A = { class: "lg:min-h-client-header flex items-center w-full justify-center p-2 pt-2 lg:pt-1 lg:p-1 flex-wrap t-app__top-container border-b-1/2" }, E = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-2 lg:flex-1 w-1/2" }, M = { class: "flex flex-row items-center gap-1 lg:px-2.5 lg:mb-0 mb-2 lg:flex-1 justify-end w-1/2" }, D = /* @__PURE__ */ V({
11
11
  __name: "RequestSubpageHeader",
12
12
  props: {
13
13
  modelValue: { type: Boolean }
14
14
  },
15
15
  emits: ["update:modelValue", "hideModal", "importCurl"],
16
16
  setup(N) {
17
- const { activeCollection: s } = B(), { isReadOnly: m, hideClientButton: C, showSidebar: k, integration: y } = S(), { layout: d } = z(), { currentRoute: V } = $();
17
+ const { activeCollection: m } = h(), { hideClientButton: b, showSidebar: C, integration: k } = S(), { layout: l } = z(), { currentRoute: y } = B();
18
18
  return (t, o) => {
19
- var p, f, c;
20
- return r(), u("div", A, [
21
- n("div", E, [
22
- e(k) ? (r(), g(h, {
19
+ var d, p, f;
20
+ return n(), u("div", A, [
21
+ i("div", E, [
22
+ e(C) ? (n(), c(w, {
23
23
  key: 0,
24
- class: v(["ml-1", [
24
+ class: x(["ml-1", [
25
25
  { hidden: t.modelValue },
26
26
  { "xl:!flex": !t.modelValue },
27
- { "!flex": e(d) === "modal" },
28
- { "!hidden": e(d) === "modal" && t.modelValue }
27
+ { "!flex": e(l) === "modal" },
28
+ { "!hidden": e(l) === "modal" && t.modelValue }
29
29
  ]]),
30
30
  modelValue: t.modelValue,
31
- "onUpdate:modelValue": o[0] || (o[0] = (l) => t.$emit("update:modelValue", l))
32
- }, null, 8, ["class", "modelValue"])) : i("", !0)
31
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => t.$emit("update:modelValue", r))
32
+ }, null, 8, ["class", "modelValue"])) : s("", !0)
33
33
  ]),
34
- a(w, {
35
- onImportCurl: o[1] || (o[1] = (l) => t.$emit("importCurl", l))
34
+ a(v, {
35
+ onImportCurl: o[1] || (o[1] = (r) => t.$emit("importCurl", r))
36
36
  }),
37
- n("div", M, [
38
- e(m) && ((p = e(s)) != null && p.documentUrl) && !e(C) ? (r(), g(e(R), {
37
+ i("div", M, [
38
+ e(l) === "modal" && ((d = e(m)) != null && d.documentUrl) && !e(b) ? (n(), c(e($), {
39
39
  key: 0,
40
40
  buttonSource: "modal",
41
41
  class: "!w-fit lg:-mr-1",
42
- integration: e(y) || ((f = e(s)) == null ? void 0 : f.integration),
43
- source: e(V).query.source === "gitbook" ? "gitbook" : "api-reference",
44
- url: (c = e(s)) == null ? void 0 : c.documentUrl
45
- }, null, 8, ["integration", "source", "url"])) : i("", !0),
46
- e(m) ? (r(), u("button", {
42
+ integration: e(k) || ((p = e(m)) == null ? void 0 : p.integration),
43
+ source: e(y).query.source === "gitbook" ? "gitbook" : "api-reference",
44
+ url: (f = e(m)) == null ? void 0 : f.documentUrl
45
+ }, null, 8, ["integration", "source", "url"])) : s("", !0),
46
+ e(l) === "modal" ? (n(), u("button", {
47
47
  key: 1,
48
48
  class: "app-exit-button p-2 rounded-full fixed right-2 top-2 gitbook-hidden",
49
49
  type: "button",
50
- onClick: o[2] || (o[2] = (l) => t.$emit("hideModal"))
50
+ onClick: o[2] || (o[2] = (r) => t.$emit("hideModal"))
51
51
  }, [
52
- a(e(b), {
52
+ a(e(g), {
53
53
  icon: "Close",
54
54
  size: "lg",
55
55
  thickness: "2"
56
56
  }),
57
- o[4] || (o[4] = n("span", { class: "sr-only" }, "Close Client", -1))
58
- ])) : i("", !0),
59
- e(m) ? (r(), u("button", {
57
+ o[4] || (o[4] = i("span", { class: "sr-only" }, "Close Client", -1))
58
+ ])) : s("", !0),
59
+ e(l) === "modal" ? (n(), u("button", {
60
60
  key: 2,
61
61
  class: "text-c-1 hover:bg-b-2 active:text-c-1 p-2 rounded -mr-1.5 gitbook-show",
62
62
  type: "button",
63
- onClick: o[3] || (o[3] = (l) => t.$emit("hideModal"))
63
+ onClick: o[3] || (o[3] = (r) => t.$emit("hideModal"))
64
64
  }, [
65
- a(e(b), {
65
+ a(e(g), {
66
66
  icon: "Close",
67
67
  size: "md",
68
68
  thickness: "1.75"
69
69
  }),
70
- o[5] || (o[5] = n("span", { class: "sr-only" }, "Close Client", -1))
71
- ])) : i("", !0)
70
+ o[5] || (o[5] = i("span", { class: "sr-only" }, "Close Client", -1))
71
+ ])) : s("", !0)
72
72
  ])
73
73
  ]);
74
74
  };
75
75
  }
76
76
  });
77
77
  export {
78
- F as default
78
+ D as default
79
79
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseEmpty.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseEmpty.vue"],"names":[],"mappings":";AA6YA,wBAMG"}
1
+ {"version":3,"file":"ResponseEmpty.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseEmpty.vue"],"names":[],"mappings":";AA4YA,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseEmpty.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-db8143f4"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e4d261a0"]]);
5
5
  export {
6
- s as default
6
+ r as default
7
7
  };
@@ -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.37";
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.39";
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: "↵" })
@@ -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"}