@scalar/api-client 2.3.29 → 2.3.31

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 (166) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/components/AddressBar/AddressBar.vue2.js +3 -3
  3. package/dist/components/AddressBar/AddressBarHistory.vue2.js +1 -1
  4. package/dist/components/CodeInput/CodeInput.vue2.js +1 -1
  5. package/dist/components/CodeInput/codeVariableWidget.js +4 -4
  6. package/dist/components/CommandPalette/CommandActionForm.vue.js +2 -2
  7. package/dist/components/CommandPalette/CommandActionInput.vue.js +2 -2
  8. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +2 -2
  9. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +6 -6
  10. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +5 -5
  11. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +7 -7
  12. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +7 -7
  13. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +6 -6
  14. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +4 -4
  15. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  16. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +5 -5
  17. package/dist/components/CommandPalette/WatchModeToggle.vue.js +2 -2
  18. package/dist/components/DataTable/DataTable.vue.js +5 -5
  19. package/dist/components/DataTable/DataTableCell.vue.js +2 -2
  20. package/dist/components/DataTable/DataTableCheckbox.vue.js +2 -2
  21. package/dist/components/DataTable/DataTableHeader.vue.js +2 -2
  22. package/dist/components/DataTable/DataTableInput.vue2.js +9 -9
  23. package/dist/components/DataTable/DataTableInputSelect.vue.js +5 -5
  24. package/dist/components/DataTable/DataTableRow.vue.js +2 -2
  25. package/dist/components/DataTable/DataTableText.vue.js +2 -2
  26. package/dist/components/DataTable/index.js +14 -14
  27. package/dist/components/EmptyState.vue2.js +2 -2
  28. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +12 -12
  29. package/dist/components/Form/Form.vue.js +4 -4
  30. package/dist/components/Form/LabelInput.vue2.js +4 -4
  31. package/dist/components/HelpfulLink.vue.js +2 -2
  32. package/dist/components/HttpMethod/HttpMethod.vue2.js +3 -3
  33. package/dist/components/IconSelector.vue.js +5 -5
  34. package/dist/components/ImportCollection/DropEventListener.vue.js +3 -3
  35. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +2 -2
  36. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
  37. package/dist/components/ImportCollection/ImportNowButton.vue.js +3 -3
  38. package/dist/components/ImportCollection/IntegrationLogo.vue.js +2 -2
  39. package/dist/components/ImportCollection/PrefetchError.vue.js +4 -4
  40. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +10 -10
  41. package/dist/components/OpenApiClientButton.vue2.js +4 -4
  42. package/dist/components/ScalarAsciiArt.vue2.js +3 -3
  43. package/dist/components/ScalarHotkey.vue.js +2 -2
  44. package/dist/components/SectionFilter.vue2.js +1 -1
  45. package/dist/components/SectionFilterButton.vue.js +2 -2
  46. package/dist/components/Server/ServerDropdown.vue.js +21 -21
  47. package/dist/components/Server/ServerDropdownItem.vue2.js +4 -4
  48. package/dist/components/Server/ServerSelector.vue.js +1 -1
  49. package/dist/components/Server/ServerVariablesForm.vue.js +4 -4
  50. package/dist/components/Server/ServerVariablesSelect.vue.js +1 -1
  51. package/dist/components/Server/ServerVariablesTextbox.vue.js +2 -2
  52. package/dist/components/Server/index.js +6 -6
  53. package/dist/components/SideNav/DownloadAppButton.vue2.js +5 -5
  54. package/dist/components/SideNav/SideHelp.vue.js +2 -2
  55. package/dist/components/SideNav/SideNav.vue.js +5 -5
  56. package/dist/components/SideNav/SideNavGroup.vue.js +2 -2
  57. package/dist/components/SideNav/SideNavLink.vue.js +4 -4
  58. package/dist/components/SideNav/SideNavRouterLink.vue.js +2 -2
  59. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +2 -2
  60. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +2 -2
  61. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js +2 -2
  62. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +2 -2
  63. package/dist/components/Sidebar/Sidebar.vue2.js +4 -4
  64. package/dist/components/Sidebar/SidebarButton.vue.js +3 -3
  65. package/dist/components/Sidebar/SidebarList.vue.js +2 -2
  66. package/dist/components/Sidebar/SidebarListElement.vue2.js +9 -9
  67. package/dist/components/Sidebar/SidebarListElementActions.vue.js +1 -1
  68. package/dist/components/Sidebar/SidebarToggle.vue.js +3 -3
  69. package/dist/components/TopNav/TopNav.vue.js +2 -2
  70. package/dist/components/TopNav/TopNavItem.vue2.js +20 -20
  71. package/dist/components/ViewLayout/ViewLayout.vue.js +2 -2
  72. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +7 -7
  73. package/dist/components/ViewLayout/ViewLayoutContent.vue.js +2 -2
  74. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +3 -3
  75. package/dist/hooks/useClientConfig.d.ts +3 -3
  76. package/dist/layouts/App/ApiClientApp.vue.js +10 -10
  77. package/dist/layouts/App/MainLayout.vue.js +2 -2
  78. package/dist/layouts/App/create-api-client-app.d.ts +2 -2
  79. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  80. package/dist/layouts/App/index.js +5 -4
  81. package/dist/layouts/Modal/ApiClientModal.vue2.js +2 -2
  82. package/dist/layouts/Modal/create-api-client-modal.d.ts +4 -4
  83. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  84. package/dist/layouts/Web/ApiClientWeb.vue.js +6 -6
  85. package/dist/layouts/Web/create-api-client-web.d.ts +2 -2
  86. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  87. package/dist/libs/create-client.d.ts +2 -2
  88. package/dist/libs/create-client.d.ts.map +1 -1
  89. package/dist/libs/find-request.d.ts.map +1 -1
  90. package/dist/libs/hot-keys.d.ts +1 -1
  91. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  92. package/dist/router.js +4 -4
  93. package/dist/store/active-entities.d.ts.map +1 -1
  94. package/dist/store/active-entities.js +1 -1
  95. package/dist/store/import-spec.js +3 -3
  96. package/dist/store/requests.d.ts.map +1 -1
  97. package/dist/store/store.d.ts +2 -2
  98. package/dist/store/store.d.ts.map +1 -1
  99. package/dist/store/store.js +37 -42
  100. package/dist/store/workspace.d.ts +2 -2
  101. package/dist/views/Collection/Collection.vue2.js +2 -2
  102. package/dist/views/Collection/CollectionAuthentication.vue2.js +5 -5
  103. package/dist/views/Collection/CollectionCookies.vue2.js +2 -2
  104. package/dist/views/Collection/CollectionEnvironment.vue2.js +2 -2
  105. package/dist/views/Collection/CollectionInfoForm.vue2.js +2 -2
  106. package/dist/views/Collection/CollectionNavigation.vue.js +1 -1
  107. package/dist/views/Collection/CollectionOverview.vue2.js +3 -3
  108. package/dist/views/Collection/CollectionScripts.vue2.js +2 -2
  109. package/dist/views/Collection/CollectionServerForm.vue.js +1 -1
  110. package/dist/views/Collection/CollectionServers.vue2.js +3 -3
  111. package/dist/views/Collection/CollectionSettings.vue2.js +4 -4
  112. package/dist/views/Collection/CollectionSync.vue2.js +2 -2
  113. package/dist/views/Collection/components/MarkdownInput.vue2.js +1 -1
  114. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +3 -3
  115. package/dist/views/Components/CodeSnippet/index.js +8 -8
  116. package/dist/views/Cookies/CookieForm.vue.js +2 -2
  117. package/dist/views/Cookies/CookieModal.vue2.js +2 -2
  118. package/dist/views/Cookies/Cookies.vue2.js +6 -6
  119. package/dist/views/Environment/Environment.vue2.js +7 -7
  120. package/dist/views/Environment/EnvironmentColorModal.vue.js +2 -2
  121. package/dist/views/Environment/EnvironmentColors.vue.js +1 -1
  122. package/dist/views/Environment/EnvironmentModal.vue.js +7 -7
  123. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +10 -10
  124. package/dist/views/Request/Request.vue2.js +1 -1
  125. package/dist/views/Request/RequestRoot.vue2.js +1 -1
  126. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +2 -2
  127. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +1 -1
  128. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +5 -5
  129. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +10 -10
  130. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +11 -11
  131. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +2 -2
  132. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +1 -1
  133. package/dist/views/Request/RequestSection/RequestBody.vue2.js +1 -1
  134. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +8 -8
  135. package/dist/views/Request/RequestSection/RequestParams.vue.js +13 -13
  136. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +5 -5
  137. package/dist/views/Request/RequestSection/RequestSection.vue2.js +7 -7
  138. package/dist/views/Request/RequestSection/RequestTable.vue2.js +7 -7
  139. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +9 -9
  140. package/dist/views/Request/RequestSidebar.vue2.js +25 -25
  141. package/dist/views/Request/RequestSidebarItem.vue2.js +25 -25
  142. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +1 -1
  143. package/dist/views/Request/RequestSubpageHeader.vue2.js +1 -1
  144. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +1 -1
  145. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +5 -5
  146. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +2 -2
  147. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.js +2 -2
  148. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +1 -1
  149. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +5 -5
  150. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.js +7 -7
  151. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js +6 -6
  152. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +4 -4
  153. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
  154. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +15 -15
  155. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +1 -1
  156. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +3 -3
  157. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +1 -1
  158. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +5 -5
  159. package/dist/views/Request/components/WorkspaceDropdown.vue.js +2 -2
  160. package/dist/views/Request/libs/oauth2.d.ts +1 -1
  161. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  162. package/dist/views/Settings/Settings.vue2.js +3 -3
  163. package/dist/views/Settings/SettingsGeneral.vue.js +1 -1
  164. package/dist/views/Settings/components/SettingsAppearance.vue.js +10 -10
  165. package/dist/views/Settings/components/SettingsSection.vue.js +4 -4
  166. package/package.json +18 -18
@@ -1,4 +1,4 @@
1
- import { defineComponent as me, useCssVars as ve, computed as b, ref as ge, resolveComponent as be, openBlock as d, createElementBlock as M, normalizeClass as h, unref as n, createVNode as v, withCtx as c, createBlock as f, withModifiers as k, createElementVNode as s, toDisplayString as C, createCommentVNode as m, createTextVNode as N, renderSlot as Z, Fragment as he, renderList as ye, nextTick as xe } from "vue";
1
+ import { defineComponent as me, useCssVars as ve, computed as b, ref as ge, resolveComponent as be, createElementBlock as M, createCommentVNode as f, openBlock as d, normalizeClass as h, unref as n, createVNode as v, withCtx as c, createBlock as m, withModifiers as k, createElementVNode as s, toDisplayString as C, createTextVNode as N, renderSlot as Z, Fragment as he, renderList as ye, nextTick as xe } from "vue";
2
2
  import { ScalarButton as q, ScalarIcon as y, ScalarSidebarGroupToggle as _, ScalarTooltip as ee } from "@scalar/components";
3
3
  import { Draggable as we } from "@scalar/draggable";
4
4
  import { shouldIgnoreEntity as te } from "@scalar/oas-utils/helpers";
@@ -182,7 +182,7 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
182
182
  default: c(() => {
183
183
  var a;
184
184
  return [
185
- (i.value.entity.type === "request" || i.value.entity.type === "requestExample") && i.value.to ? (d(), f(n(ie), {
185
+ (i.value.entity.type === "request" || i.value.entity.type === "requestExample") && i.value.to ? (d(), m(n(ie), {
186
186
  key: 0,
187
187
  class: "group no-underline",
188
188
  to: i.value.to,
@@ -203,7 +203,7 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
203
203
  s("span", Te, C(i.value.title || "Untitled"), 1),
204
204
  s("div", ze, [
205
205
  s("div", Me, [
206
- n(p) !== "modal" ? (d(), f(n(q), {
206
+ n(p) !== "modal" ? (d(), m(n(q), {
207
207
  key: 0,
208
208
  class: h(["hover:bg-b-3 hidden aspect-square h-fit px-0.5 py-0 opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100", {
209
209
  flex: ((g = (u = e.menuItem) == null ? void 0 : u.item) == null ? void 0 : g.entity.uid) === i.value.entity.uid && e.menuItem.open
@@ -228,23 +228,23 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
228
228
  })
229
229
  ]),
230
230
  _: 1
231
- }, 8, ["class"])) : m("", !0)
231
+ }, 8, ["class"])) : f("", !0)
232
232
  ]),
233
233
  s("span", $e, [
234
234
  t[13] || (t[13] = N("   ")),
235
235
  t[14] || (t[14] = s("span", { class: "sr-only" }, "HTTP Method:", -1)),
236
- i.value.method ? (d(), f(n(Ce), {
236
+ i.value.method ? (d(), m(n(Ce), {
237
237
  key: 0,
238
238
  class: "font-bold",
239
239
  method: i.value.method
240
- }, null, 8, ["method"])) : m("", !0)
240
+ }, null, 8, ["method"])) : f("", !0)
241
241
  ])
242
242
  ])
243
243
  ], 2)
244
244
  ];
245
245
  }),
246
246
  _: 1
247
- }, 8, ["to"])) : (n(p) !== "modal" || e.parentUids.length) && i.value.entity.type === "collection" && i.value.to ? (d(), f(n(ie), {
247
+ }, 8, ["to"])) : (n(p) !== "modal" || e.parentUids.length) && i.value.entity.type === "collection" && i.value.to ? (d(), m(n(ie), {
248
248
  key: 1,
249
249
  "aria-expanded": !!n(D)[i.value.entity.uid],
250
250
  class: h(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 no-underline focus-visible:z-10", [
@@ -280,7 +280,7 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
280
280
  hidden: !e.menuItem.open || ((o = e.menuItem.item) == null ? void 0 : o.entity.uid) !== i.value.entity.uid
281
281
  }])
282
282
  }, [
283
- n(p) !== "modal" && !T.value || T.value && K.value ? (d(), f(n(q), {
283
+ n(p) !== "modal" && !T.value || T.value && K.value ? (d(), m(n(q), {
284
284
  key: 0,
285
285
  class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
286
286
  size: "sm",
@@ -302,8 +302,8 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
302
302
  })
303
303
  ]),
304
304
  _: 1
305
- })) : m("", !0),
306
- n(p) !== "modal" ? (d(), f(n(q), {
305
+ })) : f("", !0),
306
+ n(p) !== "modal" ? (d(), m(n(q), {
307
307
  key: 1,
308
308
  class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
309
309
  size: "sm",
@@ -318,9 +318,9 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
318
318
  })
319
319
  ]),
320
320
  _: 1
321
- })) : m("", !0)
321
+ })) : f("", !0)
322
322
  ], 2),
323
- i.value.watchMode ? (d(), f(n(ee), {
323
+ i.value.watchMode ? (d(), m(n(ee), {
324
324
  key: 0,
325
325
  side: "right",
326
326
  sideOffset: 12
@@ -341,7 +341,7 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
341
341
  ])
342
342
  ]),
343
343
  _: 1
344
- })) : m("", !0),
344
+ })) : f("", !0),
345
345
  t[16] || (t[16] = s("span", null, " ", -1))
346
346
  ])
347
347
  ])
@@ -373,7 +373,7 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
373
373
  hidden: !e.menuItem.open || ((a = e.menuItem.item) == null ? void 0 : a.entity.uid) !== i.value.entity.uid
374
374
  }])
375
375
  }, [
376
- n(p) !== "modal" && !T.value || T.value && K.value ? (d(), f(n(q), {
376
+ n(p) !== "modal" && !T.value || T.value && K.value ? (d(), m(n(q), {
377
377
  key: 0,
378
378
  class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
379
379
  size: "sm",
@@ -395,8 +395,8 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
395
395
  })
396
396
  ]),
397
397
  _: 1
398
- })) : m("", !0),
399
- n(p) !== "modal" ? (d(), f(n(q), {
398
+ })) : f("", !0),
399
+ n(p) !== "modal" ? (d(), m(n(q), {
400
400
  key: 1,
401
401
  class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
402
402
  size: "sm",
@@ -411,9 +411,9 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
411
411
  })
412
412
  ]),
413
413
  _: 1
414
- })) : m("", !0)
414
+ })) : f("", !0)
415
415
  ], 2),
416
- i.value.watchMode ? (d(), f(n(ee), {
416
+ i.value.watchMode ? (d(), m(n(ee), {
417
417
  key: 0,
418
418
  side: "right",
419
419
  sideOffset: 12
@@ -434,13 +434,13 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
434
434
  ])
435
435
  ]),
436
436
  _: 1
437
- })) : m("", !0),
437
+ })) : f("", !0),
438
438
  t[18] || (t[18] = s("span", null, " ", -1))
439
439
  ])
440
440
  ])
441
- ], 10, Ne)) : m("", !0),
441
+ ], 10, Ne)) : f("", !0),
442
442
  ue.value ? (d(), M("ul", Ge, [
443
- (d(!0), M(he, null, ye(i.value.children, (o) => (d(), f(r, {
443
+ (d(!0), M(he, null, ye(i.value.children, (o) => (d(), m(r, {
444
444
  key: o,
445
445
  isDraggable: !n(S)[o],
446
446
  isDroppable: pe,
@@ -451,7 +451,7 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
451
451
  onOnDragEnd: t[9] || (t[9] = (...u) => e.$emit("onDragEnd", ...u)),
452
452
  onOpenMenu: t[10] || (t[10] = (u) => e.$emit("openMenu", u))
453
453
  }, null, 8, ["isDraggable", "menuItem", "parentUids", "uid"]))), 128)),
454
- i.value.children.length === 0 ? (d(), f(n(q), {
454
+ i.value.children.length === 0 ? (d(), m(n(q), {
455
455
  key: 0,
456
456
  class: h(["text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 text-xs", e.parentUids.length ? "pl-9" : ""]),
457
457
  variant: "ghost",
@@ -465,13 +465,13 @@ const Te = { class: "line-clamp-1 w-full break-all pl-2 font-medium" }, ze = { c
465
465
  t[19] || (t[19] = s("span", null, "Add Request", -1))
466
466
  ]),
467
467
  _: 1
468
- }, 8, ["class"])) : m("", !0)
469
- ])) : m("", !0)
468
+ }, 8, ["class"])) : f("", !0)
469
+ ])) : f("", !0)
470
470
  ];
471
471
  }),
472
472
  _: 3
473
473
  }, 8, ["id", "ceiling", "floor", "isDraggable", "isDroppable", "parentIds"])
474
- ], 2)) : m("", !0);
474
+ ], 2)) : f("", !0);
475
475
  };
476
476
  }
477
477
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as H, ref as J, watch as O, onMounted as Q, onBeforeUnmount as X, computed as Y, openBlock as s, createElementBlock as R, Fragment as h, createBlock as d, unref as n, withCtx as r, createVNode as m, withKeys as Z, createElementVNode as g, createCommentVNode as c, createTextVNode as S, toDisplayString as _ } from "vue";
1
+ import { defineComponent as H, ref as J, watch as O, onMounted as Q, onBeforeUnmount as X, computed as Y, createElementBlock as R, openBlock as s, Fragment as h, createBlock as d, createCommentVNode as c, createVNode as m, unref as n, withCtx as r, withKeys as Z, createElementVNode as g, createTextVNode as S, toDisplayString as _ } from "vue";
2
2
  import { useModal as W, ScalarFloating as ee, ScalarDropdownMenu as te, ScalarDropdownButton as y, ScalarIcon as M, ScalarModal as b } from "@scalar/components";
3
3
  import { useRouter as ne } from "vue-router";
4
4
  import T from "../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, openBlock as r, createElementBlock as l, createElementVNode as i, unref as o, normalizeClass as k, createCommentVNode as s, createVNode as m, createBlock as v } from "vue";
1
+ import { defineComponent as g, createElementBlock as l, openBlock as r, createElementVNode as i, createVNode as m, createCommentVNode as s, unref as o, normalizeClass as k, createBlock as v } from "vue";
2
2
  import { ScalarIcon as p } from "@scalar/components";
3
3
  import { useRouter as C } from "vue-router";
4
4
  import w from "../../components/AddressBar/AddressBar.vue.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, openBlock as r, createBlock as f, withCtx as e, createTextVNode as n, createElementBlock as l, createVNode as a, unref as d, Fragment as i, renderList as g, toDisplayString as c } from "vue";
1
+ import { defineComponent as y, createBlock as f, openBlock as r, withCtx as e, createElementBlock as l, createVNode as a, unref as d, createTextVNode as n, Fragment as i, renderList as g, toDisplayString as c } from "vue";
2
2
  import k from "../../../components/DataTable/DataTable.vue.js";
3
3
  import p from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import _ from "../../../components/DataTable/DataTableText.vue.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, ref as N, computed as m, toRef as w, openBlock as o, createBlock as n, createSlots as T, withCtx as d, createTextVNode as g, toDisplayString as _, createElementBlock as $, createElementVNode as x, unref as a, createCommentVNode as s, createVNode as E } from "vue";
1
+ import { defineComponent as C, ref as N, computed as m, toRef as w, createBlock as n, openBlock as o, createSlots as T, withCtx as d, createElementBlock as $, createCommentVNode as s, createElementVNode as g, toDisplayString as _, unref as a, createTextVNode as x, createVNode as E } from "vue";
2
2
  import P from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
3
3
  import { useResponseBody as S } from "../../../hooks/useResponseBody.js";
4
4
  import U from "./ResponseBodyDownload.vue.js";
@@ -33,14 +33,14 @@ const z = {
33
33
  layout: t.layout
34
34
  }, T({
35
35
  title: d(() => [
36
- g(_(t.title), 1)
36
+ x(_(t.title), 1)
37
37
  ]),
38
38
  default: d(() => {
39
39
  var f, v, y, h;
40
40
  return [
41
41
  t.data ? (o(), $("div", z, [
42
- x("div", A, [
43
- x("span", G, _(a(u).essence), 1),
42
+ g("div", A, [
43
+ g("span", G, _(a(u).essence), 1),
44
44
  p.value ? (o(), n(I, {
45
45
  key: 0,
46
46
  modelValue: r.value,
@@ -61,7 +61,7 @@ const z = {
61
61
  }, null, 8, ["alpha", "mode", "src", "type"])) : s("", !0),
62
62
  !((y = e.value) != null && y.raw) && !((h = e.value) != null && h.preview) ? (o(), n(j, { key: 2 }, {
63
63
  default: d(() => i[1] || (i[1] = [
64
- g(" Binary file ")
64
+ x(" Binary file ")
65
65
  ])),
66
66
  _: 1
67
67
  })) : s("", !0)
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, computed as p, openBlock as a, createElementBlock as i, withModifiers as d, createVNode as m, unref as f, createElementVNode as s } from "vue";
1
+ import { defineComponent as l, computed as p, createElementBlock as a, openBlock as i, withModifiers as d, createVNode as m, createElementVNode as s, unref as f } from "vue";
2
2
  import { ScalarIcon as c } from "@scalar/components";
3
3
  import { mediaTypes as u } from "../consts/mediaTypes.js";
4
4
  const x = ["download", "href"], k = /* @__PURE__ */ l({
@@ -14,7 +14,7 @@ const x = ["download", "href"], k = /* @__PURE__ */ l({
14
14
  const o = ((e = u[n.type ?? ""]) == null ? void 0 : e.extension) ?? ".unknown";
15
15
  return n.filename ? n.filename : `response${o}`;
16
16
  });
17
- return (o, e) => (a(), i("a", {
17
+ return (o, e) => (i(), a("a", {
18
18
  class: "text-c-3 text-xxs hover:bg-b-3 no-underlin flex items-center gap-1 rounded px-1.5 py-0.5",
19
19
  download: `${r.value}`,
20
20
  href: o.href,
@@ -1,8 +1,8 @@
1
- import { openBlock as t, createElementBlock as o, createElementVNode as s, renderSlot as c } from "vue";
1
+ import { createElementBlock as t, openBlock as o, createElementVNode as s, renderSlot as c } from "vue";
2
2
  import n from "../../../_virtual/_plugin-vue_export-helper.js";
3
3
  const r = {}, d = { class: "flex justify-center px-2 py-3" }, f = { class: "text-c-3 p-2 text-sm" };
4
4
  function l(e, _) {
5
- return t(), o("div", d, [
5
+ return o(), t("div", d, [
6
6
  s("div", f, [
7
7
  c(e.$slots, "default")
8
8
  ])
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, ref as p, watch as i, openBlock as s, createElementBlock as l, normalizeClass as a, createElementVNode as n, createBlock as y, withCtx as f, createTextVNode as m } from "vue";
1
+ import { defineComponent as d, ref as p, watch as i, createElementBlock as l, createBlock as y, openBlock as s, normalizeClass as a, createElementVNode as n, withCtx as f, createTextVNode as m } from "vue";
2
2
  import v from "./ResponseBodyInfo.vue.js";
3
3
  const c = ["src"], k = ["src", "type"], w = ["src", "type"], B = ["data", "type"], $ = /* @__PURE__ */ d({
4
4
  __name: "ResponseBodyPreview",
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, ref as f, toRef as c, openBlock as l, createElementBlock as i, createElementVNode as e, unref as a, createVNode as y, createCommentVNode as b } from "vue";
1
+ import { defineComponent as m, ref as f, toRef as c, createElementBlock as l, openBlock as i, createCommentVNode as y, createElementVNode as e, unref as a, createVNode as b } from "vue";
2
2
  import { ScalarIcon as v } from "@scalar/components";
3
3
  import { prettyPrintJson as C } from "@scalar/oas-utils/helpers";
4
4
  import { useCodeMirror as g } from "@scalar/use-codemirror";
@@ -27,20 +27,20 @@ const k = { class: "body-raw grid min-h-0 overflow-hidden p-px outline-none has-
27
27
  var t;
28
28
  return ((t = p.value) == null ? void 0 : t.state.doc.toString()) || "";
29
29
  };
30
- return (t, o) => (l(), i("div", k, [
31
- s() ? (l(), i("div", w, [
30
+ return (t, o) => (i(), l("div", k, [
31
+ s() ? (i(), l("div", w, [
32
32
  e("button", {
33
33
  class: "copy-button",
34
34
  type: "button",
35
35
  onClick: o[0] || (o[0] = (R) => a(u)(s()))
36
36
  }, [
37
37
  o[1] || (o[1] = e("span", { class: "sr-only" }, "Copy content", -1)),
38
- y(a(v), {
38
+ b(a(v), {
39
39
  icon: "Clipboard",
40
40
  size: "md"
41
41
  })
42
42
  ])
43
- ])) : b("", !0),
43
+ ])) : y("", !0),
44
44
  e("div", x, [
45
45
  e("div", {
46
46
  ref_key: "codeMirrorRef",
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, ref as i, watch as _, nextTick as w, onMounted as h, onBeforeUnmount as k, openBlock as s, createBlock as L, withCtx as p, createElementVNode as l, unref as d, createElementBlock as c, createVNode as B, createCommentVNode as u, toDisplayString as g } from "vue";
1
+ import { defineComponent as y, ref as i, watch as _, nextTick as w, onMounted as h, onBeforeUnmount as k, createBlock as L, openBlock as s, withCtx as p, createElementVNode as l, createElementBlock as d, createCommentVNode as c, toDisplayString as g, unref as u, createVNode as B } from "vue";
2
2
  import { useLoadingState as S, ScalarLoading as b } from "@scalar/components";
3
3
  import C from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
4
4
  const T = { class: "flex w-full items-center justify-between" }, E = {
@@ -46,13 +46,13 @@ const T = { class: "flex w-full items-center justify-between" }, E = {
46
46
  title: p(() => [
47
47
  l("div", T, [
48
48
  t[1] || (t[1] = l("div", null, "Body", -1)),
49
- d(e).isLoading ? (s(), c("div", E, [
50
- B(d(b), {
51
- loadingState: d(e),
49
+ u(e).isLoading ? (s(), d("div", E, [
50
+ B(u(b), {
51
+ loadingState: u(e),
52
52
  size: "xs"
53
53
  }, null, 8, ["loadingState"]),
54
54
  t[0] || (t[0] = l("span", { class: "text-c-2" }, " Listening… ", -1))
55
- ])) : u("", !0)
55
+ ])) : c("", !0)
56
56
  ])
57
57
  ]),
58
58
  default: p(() => [
@@ -61,8 +61,8 @@ const T = { class: "flex w-full items-center justify-between" }, E = {
61
61
  ref: r,
62
62
  class: "text-xxs font-code leading-2 h-full overflow-auto whitespace-pre-wrap"
63
63
  }, [
64
- a.value ? (s(), c("div", N, g(a.value.message), 1)) : u("", !0),
65
- o.value ? (s(), c("div", V, g(o.value), 1)) : u("", !0)
64
+ a.value ? (s(), d("div", N, g(a.value.message), 1)) : c("", !0),
65
+ o.value ? (s(), d("div", V, g(o.value), 1)) : c("", !0)
66
66
  ], 512)
67
67
  ]),
68
68
  _: 1
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, openBlock as r, createElementBlock as d, createElementVNode as o, normalizeClass as l, withModifiers as n } from "vue";
1
+ import { defineComponent as u, createElementBlock as r, openBlock as d, createElementVNode as o, withModifiers as l, normalizeClass as n } from "vue";
2
2
  const a = { class: "text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5" }, i = /* @__PURE__ */ u({
3
3
  __name: "ResponseBodyToggle",
4
4
  props: {
@@ -6,16 +6,16 @@ const a = { class: "text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded
6
6
  },
7
7
  emits: ["update:modelValue"],
8
8
  setup(p) {
9
- return (e, t) => (r(), d("div", a, [
9
+ return (e, t) => (d(), r("div", a, [
10
10
  o("button", {
11
- class: l(["hover:bg-b-3 rounded px-1", { "bg-b-3 text-c-1 cursor-default": e.modelValue }]),
11
+ class: n(["hover:bg-b-3 rounded px-1", { "bg-b-3 text-c-1 cursor-default": e.modelValue }]),
12
12
  type: "button",
13
- onClick: t[0] || (t[0] = n((s) => e.$emit("update:modelValue", !0), ["stop"]))
13
+ onClick: t[0] || (t[0] = l((s) => e.$emit("update:modelValue", !0), ["stop"]))
14
14
  }, " Preview ", 2),
15
15
  o("button", {
16
- class: l(["hover:bg-b-3 rounded px-1", { "bg-b-3 text-c-1 cursor-default": !e.modelValue }]),
16
+ class: n(["hover:bg-b-3 rounded px-1", { "bg-b-3 text-c-1 cursor-default": !e.modelValue }]),
17
17
  type: "button",
18
- onClick: t[1] || (t[1] = n((s) => e.$emit("update:modelValue", !1), ["stop"]))
18
+ onClick: t[1] || (t[1] = l((s) => e.$emit("update:modelValue", !1), ["stop"]))
19
19
  }, " Raw ", 2)
20
20
  ]));
21
21
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, computed as p, toRef as a, openBlock as f, createBlock as x, createSlots as u, withCtx as r, createTextVNode as h, createElementVNode as y, createVNode as s, unref as e } from "vue";
1
+ import { defineComponent as c, computed as p, toRef as a, createBlock as f, openBlock as x, createSlots as u, withCtx as r, createElementVNode as h, createVNode as s, unref as e, createTextVNode as y } from "vue";
2
2
  import { ScalarVirtualText as b } from "@scalar/components";
3
3
  import { formatJsonOrYamlString as g } from "@scalar/oas-utils/helpers";
4
4
  import _ from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
@@ -16,12 +16,12 @@ const R = /* @__PURE__ */ c({
16
16
  data: a(o, "data"),
17
17
  headers: a(o, "headers")
18
18
  });
19
- return (w, t) => (f(), x(_, { class: "!max-h-100% response-body-virtual overflow-x-auto" }, u({
19
+ return (w, t) => (x(), f(_, { class: "!max-h-100% response-body-virtual overflow-x-auto" }, u({
20
20
  title: r(() => [
21
- t[0] || (t[0] = h("Body"))
21
+ t[0] || (t[0] = y("Body"))
22
22
  ]),
23
23
  default: r(() => [
24
- t[1] || (t[1] = y("div", { class: "font-code text-xxs border-1/2 rounded-t border-b-0 px-2.5 py-1.5" }, " This response body is massive! Syntax highlighting won’t work here. ", -1)),
24
+ t[1] || (t[1] = h("div", { class: "font-code text-xxs border-1/2 rounded-t border-b-0 px-2.5 py-1.5" }, " This response body is massive! Syntax highlighting won’t work here. ", -1)),
25
25
  s(e(b), {
26
26
  containerClass: "custom-scroll scalar-code-block border-1/2 rounded-b flex flex-1 max-h-screen",
27
27
  contentClass: "language-plaintext whitespace-pre font-code text-base",
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, openBlock as e, createBlock as r, withCtx as t, createTextVNode as f, createElementBlock as n, Fragment as a, renderList as p, createVNode as i } from "vue";
1
+ import { defineComponent as c, createBlock as r, openBlock as e, withCtx as t, createElementBlock as n, Fragment as a, renderList as f, createVNode as i, createTextVNode as p } from "vue";
2
2
  import u from "../../../components/DataTable/DataTable.vue.js";
3
3
  import _ from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import m from "../../../components/DataTable/DataTableText.vue.js";
@@ -14,7 +14,7 @@ const d = {
14
14
  setup(x) {
15
15
  return (s, l) => (e(), r(k, { defaultOpen: !1 }, {
16
16
  title: t(() => l[0] || (l[0] = [
17
- f("Cookies")
17
+ p("Cookies")
18
18
  ])),
19
19
  default: t(() => [
20
20
  (e(), n(a, { key: 0 }, [
@@ -24,7 +24,7 @@ const d = {
24
24
  columns: ["", ""]
25
25
  }, {
26
26
  default: t(() => [
27
- (e(!0), n(a, null, p(s.cookies, (o) => (e(), r(_, {
27
+ (e(!0), n(a, null, f(s.cookies, (o) => (e(), r(_, {
28
28
  key: o.name
29
29
  }, {
30
30
  default: t(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent as q, onMounted as R, onBeforeUnmount as v, openBlock as l, createElementBlock as u, createElementVNode as s, normalizeClass as y, unref as t, createTextVNode as c, toDisplayString as h, createCommentVNode as p, createVNode as m, nextTick as C } from "vue";
1
+ import { defineComponent as q, onMounted as R, onBeforeUnmount as v, createElementBlock as l, openBlock as u, createElementVNode as s, createCommentVNode as c, normalizeClass as y, unref as t, createVNode as m, createTextVNode as p, toDisplayString as h, nextTick as C } from "vue";
2
2
  import { useRoute as N, useRouter as S } from "vue-router";
3
3
  import B from "../../../assets/computer.ascii.js";
4
4
  import V from "../../../components/EmptyState.vue.js";
@@ -34,22 +34,22 @@ const W = { class: "col-1 flex-center relative gap-6 p-2 capitalize" }, $ = {
34
34
  }));
35
35
  }, k = (o) => {
36
36
  o != null && o.createNew && x.name === "request" && f();
37
- }, w = "2.3.29";
38
- return R(() => a.hotKeys.on(k)), v(() => a.hotKeys.off(k)), (o, e) => (l(), u("div", W, [
37
+ }, w = "2.3.31";
38
+ return R(() => a.hotKeys.on(k)), v(() => a.hotKeys.off(k)), (o, e) => (u(), l("div", W, [
39
39
  s("div", {
40
40
  class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
41
41
  "hidden opacity-0": o.numWorkspaceRequests <= 1 && t(n) !== "modal"
42
42
  }])
43
43
  }, [
44
- t(n) !== "modal" ? (l(), u("div", $, [
45
- c(" Scalar App V" + h(t(w)) + " Beta ", 1),
44
+ t(n) !== "modal" ? (u(), l("div", $, [
45
+ p(" Scalar App V" + h(t(w)) + " Beta ", 1),
46
46
  e[3] || (e[3] = s("div", { class: "mt-2" }, [
47
47
  s("a", {
48
48
  href: "https://github.com/scalar/scalar/issues/2669",
49
49
  target: "_blank"
50
50
  }, " Roadmap ")
51
51
  ], -1))
52
- ])) : p("", !0),
52
+ ])) : c("", !0),
53
53
  e[4] || (e[4] = s("a", {
54
54
  class: "gitbook-show scalar-version-number",
55
55
  href: "https://www.scalar.com",
@@ -60,39 +60,39 @@ const W = { class: "col-1 flex-center relative gap-6 p-2 capitalize" }, $ = {
60
60
  class: "text-c-3"
61
61
  }, null, 8, ["art"])
62
62
  ], 2),
63
- t(n) !== "modal" ? (l(), u("div", {
63
+ t(n) !== "modal" ? (u(), l("div", {
64
64
  key: 0,
65
65
  class: y(["hidden h-[calc(100%_-_50px)] items-center justify-center pb-5", {
66
66
  "!flex opacity-100": o.numWorkspaceRequests == 1
67
67
  }])
68
68
  }, [
69
69
  m(V)
70
- ], 2)) : p("", !0),
70
+ ], 2)) : c("", !0),
71
71
  s("div", j, [
72
- t(n) !== "modal" ? (l(), u("button", {
72
+ t(n) !== "modal" ? (u(), l("button", {
73
73
  key: 0,
74
74
  class: "flex items-center gap-1.5",
75
75
  type: "button",
76
76
  onClick: e[0] || (e[0] = (i) => t(a).commandPalette.emit())
77
77
  }, [
78
- e[5] || (e[5] = c(" Get Started ")),
78
+ e[5] || (e[5] = p(" Get Started ")),
79
79
  m(d, { hotkey: "k" })
80
- ])) : p("", !0),
81
- t(n) === "desktop" ? (l(), u("button", {
80
+ ])) : c("", !0),
81
+ t(n) === "desktop" ? (u(), l("button", {
82
82
  key: 1,
83
83
  class: "flex items-center gap-1.5",
84
84
  type: "button",
85
85
  onClick: e[1] || (e[1] = (i) => f())
86
86
  }, [
87
- e[6] || (e[6] = c(" New Request ")),
87
+ e[6] || (e[6] = p(" New Request ")),
88
88
  m(d, { hotkey: "N" })
89
- ])) : p("", !0),
89
+ ])) : c("", !0),
90
90
  s("button", {
91
91
  class: "flex items-center gap-1.5",
92
92
  type: "button",
93
93
  onClick: e[2] || (e[2] = (i) => t(a).executeRequest.emit())
94
94
  }, [
95
- e[7] || (e[7] = c(" Send Request ")),
95
+ e[7] || (e[7] = p(" Send Request ")),
96
96
  m(d, { hotkey: "↵" })
97
97
  ])
98
98
  ])
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, openBlock as t, createBlock as f, withCtx as e, createTextVNode as n, createElementBlock as l, createVNode as a, unref as u, Fragment as i, renderList as g, toDisplayString as p } from "vue";
1
+ import { defineComponent as y, createBlock as f, openBlock as t, withCtx as e, createElementBlock as l, createVNode as a, unref as u, createTextVNode as n, Fragment as i, renderList as g, toDisplayString as p } from "vue";
2
2
  import k from "../../../components/DataTable/DataTable.vue.js";
3
3
  import c from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import _ from "../../../components/DataTable/DataTableText.vue.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, ref as c, openBlock as l, createBlock as d, Transition as m, withCtx as r, unref as e, createElementBlock as f, createVNode as i, createTextVNode as p, createCommentVNode as g } from "vue";
1
+ import { defineComponent as u, ref as c, createBlock as d, openBlock as l, Transition as m, withCtx as r, createElementBlock as f, createCommentVNode as p, unref as e, createVNode as i, createTextVNode as g } from "vue";
2
2
  import { useLoadingState as v, ScalarLoading as x, ScalarButton as _ } from "@scalar/components";
3
3
  import { useWorkspace as k } from "../../../store/store.js";
4
4
  const L = {
@@ -23,11 +23,11 @@ const L = {
23
23
  onClick: o[0] || (o[0] = (C) => e(n).cancelRequest.emit())
24
24
  }, {
25
25
  default: r(() => o[1] || (o[1] = [
26
- p(" Cancel ")
26
+ g(" Cancel ")
27
27
  ])),
28
28
  _: 1
29
29
  })
30
- ])) : g("", !0)
30
+ ])) : p("", !0)
31
31
  ]),
32
32
  _: 1
33
33
  }));
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, ref as d, computed as _, openBlock as o, createElementBlock as r, toDisplayString as n, unref as f, Fragment as v, createElementVNode as a, createTextVNode as p, createCommentVNode as y, createBlock as b, withCtx as w, normalizeStyle as k } from "vue";
1
+ import { defineComponent as I, ref as d, computed as _, createElementBlock as r, openBlock as o, toDisplayString as n, unref as f, Fragment as v, createElementVNode as a, createCommentVNode as y, createTextVNode as p, createBlock as b, withCtx as w, normalizeStyle as k } from "vue";
2
2
  import { httpStatusCodes as B } from "@scalar/oas-utils/helpers";
3
3
  import N from "pretty-bytes";
4
4
  import h from "pretty-ms";
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, computed as c, ref as T, useId as w, openBlock as n, createBlock as t, withCtx as v, createElementVNode as u, normalizeClass as y, createCommentVNode as d, createVNode as k, createElementBlock as h, Fragment as b } from "vue";
1
+ import { defineComponent as C, computed as c, ref as T, useId as w, createBlock as t, openBlock as n, withCtx as v, createElementVNode as u, normalizeClass as y, createElementBlock as k, createVNode as h, Fragment as b, createCommentVNode as d } from "vue";
2
2
  import x from "../../../components/SectionFilter.vue.js";
3
3
  import V from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
4
4
  import I from "./RequestHeaders.vue.js";
@@ -104,7 +104,7 @@ const F = { class: "flex h-8 flex-1 items-center" }, L = ["id", "role"], A = 2e5
104
104
  response: e.response
105
105
  }, null, 8, ["response"])) : d("", !0)
106
106
  ], 2),
107
- k(x, {
107
+ h(x, {
108
108
  modelValue: s.value,
109
109
  "onUpdate:modelValue": o[0] || (o[0] = (a) => s.value = a),
110
110
  filterIds: r.value,
@@ -122,7 +122,7 @@ const F = { class: "flex h-8 flex-1 items-center" }, L = ["id", "role"], A = 2e5
122
122
  }]),
123
123
  role: s.value === "All" && e.response ? "tabpanel" : "none"
124
124
  }, [
125
- e.response ? (n(), h(b, { key: 1 }, [
125
+ e.response ? (n(), k(b, { key: 1 }, [
126
126
  s.value === "All" || s.value === "Cookies" ? (n(), t(E, {
127
127
  key: 0,
128
128
  class: "response-section-content-cookies",
@@ -144,7 +144,7 @@ const F = { class: "flex h-8 flex-1 items-center" }, L = ["id", "role"], A = 2e5
144
144
  headers: m.value,
145
145
  role: s.value === "All" ? "none" : "tabpanel"
146
146
  }, null, 8, ["id", "headers", "role"])) : d("", !0),
147
- s.value === "All" || s.value === "Body" ? (n(), h(b, { key: 3 }, [
147
+ s.value === "All" || s.value === "Body" ? (n(), k(b, { key: 3 }, [
148
148
  "reader" in e.response ? (n(), t(g, {
149
149
  key: 0,
150
150
  class: "response-section-content-body",
@@ -176,7 +176,7 @@ const F = { class: "flex h-8 flex-1 items-center" }, L = ["id", "role"], A = 2e5
176
176
  workspace: e.workspace,
177
177
  numWorkspaceRequests: e.numWorkspaceRequests
178
178
  }, null, 8, ["collection", "operation", "workspace", "numWorkspaceRequests"])),
179
- k(S)
179
+ h(S)
180
180
  ], 10, L)
181
181
  ];
182
182
  }),
@@ -1,5 +1,5 @@
1
- import { defineComponent as L, computed as O, ref as D, openBlock as c, createElementBlock as z, createElementVNode as a, createVNode as n, unref as t, withCtx as o, Fragment as I, renderList as U, createBlock as g, withModifiers as r, toDisplayString as C } from "vue";
2
- import { useModal as S, ScalarDropdown as $, ScalarDropdownItem as u, ScalarListboxCheckbox as V, ScalarIcon as p, ScalarTooltip as q, ScalarButton as E, ScalarDropdownDivider as F, ScalarModal as N } from "@scalar/components";
1
+ import { defineComponent as L, computed as O, ref as D, createElementBlock as z, openBlock as c, createElementVNode as a, createVNode as n, unref as t, withCtx as o, toDisplayString as C, Fragment as I, renderList as U, createBlock as g, withModifiers as r } from "vue";
2
+ import { useModal as S, ScalarDropdown as $, ScalarButton as E, ScalarDropdownItem as u, ScalarListboxCheckbox as V, ScalarIcon as p, ScalarTooltip as q, ScalarDropdownDivider as F, ScalarModal as N } from "@scalar/components";
3
3
  import { useRouter as P } from "vue-router";
4
4
  import Y from "../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
5
5
  import G from "../../../components/Sidebar/Actions/EditSidebarListElement.vue.js";
@@ -1,4 +1,4 @@
1
- import type { ErrorResponse } from '../../../libs/errors.ts';
1
+ import type { ErrorResponse } from '../../../libs/errors';
2
2
  import type { Oauth2Flow, Server } from '@scalar/oas-utils/entities/spec';
3
3
  /** Oauth2 security schemes which are not implicit */
4
4
  type NonImplicitFlow = Exclude<Oauth2Flow, {
@@ -1 +1 @@
1
- {"version":3,"file":"oauth2.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/oauth2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAGzE,qDAAqD;AACrD,KAAK,eAAe,GAAG,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAA;AAEhE,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,EAAE,MAAM,CAAA;CAC5B,CAAA;AAmBD;;GAEG;AACH,eAAO,MAAM,qBAAqB,aAAoB,MAAM,YAAY,SAAS,GAAG,OAAO,KAAG,OAAO,CAAC,MAAM,CAe3G,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,SACpB,UAAU,gBAEF,MAAM,aAET,MAAM,KAChB,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAwI/B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,SACrB,eAAe,UACb,MAAM,8BAKX;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC9B,KACA,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAmE/B,CAAA"}
1
+ {"version":3,"file":"oauth2.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/oauth2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAGzE,qDAAqD;AACrD,KAAK,eAAe,GAAG,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAA;AAEhE,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,EAAE,MAAM,CAAA;CAC5B,CAAA;AAmBD;;GAEG;AACH,eAAO,MAAM,qBAAqB,aAAoB,MAAM,YAAY,SAAS,GAAG,OAAO,KAAG,OAAO,CAAC,MAAM,CAe3G,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,SACpB,UAAU,gBAEF,MAAM,aAET,MAAM,KAChB,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAwI/B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,SACrB,eAAe,UACb,MAAM,8BAKX;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC9B,KACA,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAmE/B,CAAA"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, ref as c, openBlock as n, createBlock as o, withCtx as r, createVNode as m, resolveDynamicComponent as i, createCommentVNode as l } from "vue";
1
+ import { defineComponent as a, ref as c, createBlock as n, openBlock as o, withCtx as r, createVNode as m, createCommentVNode as i, resolveDynamicComponent as l } from "vue";
2
2
  import s from "../../components/ViewLayout/ViewLayout.vue.js";
3
3
  import _ from "../../components/ViewLayout/ViewLayoutContent.vue.js";
4
4
  import f from "./SettingsGeneral.vue.js";
@@ -11,11 +11,11 @@ const k = /* @__PURE__ */ a({
11
11
  title: "general"
12
12
  }
13
13
  }, t = c("general");
14
- return (u, d) => (n(), o(s, null, {
14
+ return (u, d) => (o(), n(s, null, {
15
15
  default: r(() => [
16
16
  m(_, { class: "flex-1" }, {
17
17
  default: r(() => [
18
- e[t.value] ? (n(), o(i(e[t.value].component), { key: 0 })) : l("", !0)
18
+ e[t.value] ? (o(), n(l(e[t.value].component), { key: 0 })) : i("", !0)
19
19
  ]),
20
20
  _: 1
21
21
  })