@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.
- package/CHANGELOG.md +41 -0
- package/dist/components/AddressBar/AddressBar.vue2.js +3 -3
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +4 -4
- package/dist/components/CommandPalette/CommandActionForm.vue.js +2 -2
- package/dist/components/CommandPalette/CommandActionInput.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +6 -6
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +5 -5
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +7 -7
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +7 -7
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +6 -6
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +4 -4
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +5 -5
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +2 -2
- package/dist/components/DataTable/DataTable.vue.js +5 -5
- package/dist/components/DataTable/DataTableCell.vue.js +2 -2
- package/dist/components/DataTable/DataTableCheckbox.vue.js +2 -2
- package/dist/components/DataTable/DataTableHeader.vue.js +2 -2
- package/dist/components/DataTable/DataTableInput.vue2.js +9 -9
- package/dist/components/DataTable/DataTableInputSelect.vue.js +5 -5
- package/dist/components/DataTable/DataTableRow.vue.js +2 -2
- package/dist/components/DataTable/DataTableText.vue.js +2 -2
- package/dist/components/DataTable/index.js +14 -14
- package/dist/components/EmptyState.vue2.js +2 -2
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +12 -12
- package/dist/components/Form/Form.vue.js +4 -4
- package/dist/components/Form/LabelInput.vue2.js +4 -4
- package/dist/components/HelpfulLink.vue.js +2 -2
- package/dist/components/HttpMethod/HttpMethod.vue2.js +3 -3
- package/dist/components/IconSelector.vue.js +5 -5
- package/dist/components/ImportCollection/DropEventListener.vue.js +3 -3
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +2 -2
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +3 -3
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +2 -2
- package/dist/components/ImportCollection/PrefetchError.vue.js +4 -4
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +10 -10
- package/dist/components/OpenApiClientButton.vue2.js +4 -4
- package/dist/components/ScalarAsciiArt.vue2.js +3 -3
- package/dist/components/ScalarHotkey.vue.js +2 -2
- package/dist/components/SectionFilter.vue2.js +1 -1
- package/dist/components/SectionFilterButton.vue.js +2 -2
- package/dist/components/Server/ServerDropdown.vue.js +21 -21
- package/dist/components/Server/ServerDropdownItem.vue2.js +4 -4
- package/dist/components/Server/ServerSelector.vue.js +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.js +4 -4
- package/dist/components/Server/ServerVariablesSelect.vue.js +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.js +2 -2
- package/dist/components/Server/index.js +6 -6
- package/dist/components/SideNav/DownloadAppButton.vue2.js +5 -5
- package/dist/components/SideNav/SideHelp.vue.js +2 -2
- package/dist/components/SideNav/SideNav.vue.js +5 -5
- package/dist/components/SideNav/SideNavGroup.vue.js +2 -2
- package/dist/components/SideNav/SideNavLink.vue.js +4 -4
- package/dist/components/SideNav/SideNavRouterLink.vue.js +2 -2
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +2 -2
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +4 -4
- package/dist/components/Sidebar/SidebarButton.vue.js +3 -3
- package/dist/components/Sidebar/SidebarList.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +9 -9
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.js +3 -3
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +20 -20
- package/dist/components/ViewLayout/ViewLayout.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +7 -7
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +3 -3
- package/dist/hooks/useClientConfig.d.ts +3 -3
- package/dist/layouts/App/ApiClientApp.vue.js +10 -10
- package/dist/layouts/App/MainLayout.vue.js +2 -2
- package/dist/layouts/App/create-api-client-app.d.ts +2 -2
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/index.js +5 -4
- package/dist/layouts/Modal/ApiClientModal.vue2.js +2 -2
- package/dist/layouts/Modal/create-api-client-modal.d.ts +4 -4
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +6 -6
- package/dist/layouts/Web/create-api-client-web.d.ts +2 -2
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +2 -2
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/router.js +4 -4
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +1 -1
- package/dist/store/import-spec.js +3 -3
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/store.d.ts +2 -2
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +37 -42
- package/dist/store/workspace.d.ts +2 -2
- package/dist/views/Collection/Collection.vue2.js +2 -2
- package/dist/views/Collection/CollectionAuthentication.vue2.js +5 -5
- package/dist/views/Collection/CollectionCookies.vue2.js +2 -2
- package/dist/views/Collection/CollectionEnvironment.vue2.js +2 -2
- package/dist/views/Collection/CollectionInfoForm.vue2.js +2 -2
- package/dist/views/Collection/CollectionNavigation.vue.js +1 -1
- package/dist/views/Collection/CollectionOverview.vue2.js +3 -3
- package/dist/views/Collection/CollectionScripts.vue2.js +2 -2
- package/dist/views/Collection/CollectionServerForm.vue.js +1 -1
- package/dist/views/Collection/CollectionServers.vue2.js +3 -3
- package/dist/views/Collection/CollectionSettings.vue2.js +4 -4
- package/dist/views/Collection/CollectionSync.vue2.js +2 -2
- package/dist/views/Collection/components/MarkdownInput.vue2.js +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +3 -3
- package/dist/views/Components/CodeSnippet/index.js +8 -8
- package/dist/views/Cookies/CookieForm.vue.js +2 -2
- package/dist/views/Cookies/CookieModal.vue2.js +2 -2
- package/dist/views/Cookies/Cookies.vue2.js +6 -6
- package/dist/views/Environment/Environment.vue2.js +7 -7
- package/dist/views/Environment/EnvironmentColorModal.vue.js +2 -2
- package/dist/views/Environment/EnvironmentColors.vue.js +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.js +7 -7
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +10 -10
- package/dist/views/Request/Request.vue2.js +1 -1
- package/dist/views/Request/RequestRoot.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +5 -5
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +10 -10
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +11 -11
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +8 -8
- package/dist/views/Request/RequestSection/RequestParams.vue.js +13 -13
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +5 -5
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +7 -7
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +7 -7
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +9 -9
- package/dist/views/Request/RequestSidebar.vue2.js +25 -25
- package/dist/views/Request/RequestSidebarItem.vue2.js +25 -25
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +5 -5
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +5 -5
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.js +7 -7
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js +6 -6
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +15 -15
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +5 -5
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +2 -2
- package/dist/views/Request/libs/oauth2.d.ts +1 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Settings/Settings.vue2.js +3 -3
- package/dist/views/Settings/SettingsGeneral.vue.js +1 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.js +10 -10
- package/dist/views/Settings/components/SettingsSection.vue.js +4 -4
- 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,
|
|
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(),
|
|
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(),
|
|
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"])) :
|
|
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(),
|
|
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"])) :
|
|
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(),
|
|
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(),
|
|
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
|
-
})) :
|
|
306
|
-
n(p) !== "modal" ? (d(),
|
|
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
|
-
})) :
|
|
321
|
+
})) : f("", !0)
|
|
322
322
|
], 2),
|
|
323
|
-
i.value.watchMode ? (d(),
|
|
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
|
-
})) :
|
|
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(),
|
|
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
|
-
})) :
|
|
399
|
-
n(p) !== "modal" ? (d(),
|
|
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
|
-
})) :
|
|
414
|
+
})) : f("", !0)
|
|
415
415
|
], 2),
|
|
416
|
-
i.value.watchMode ? (d(),
|
|
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
|
-
})) :
|
|
437
|
+
})) : f("", !0),
|
|
438
438
|
t[18] || (t[18] = s("span", null, " ", -1))
|
|
439
439
|
])
|
|
440
440
|
])
|
|
441
|
-
], 10, Ne)) :
|
|
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(),
|
|
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(),
|
|
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"])) :
|
|
469
|
-
])) :
|
|
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)) :
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
-
|
|
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
|
-
|
|
43
|
-
|
|
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
|
-
|
|
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,
|
|
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) => (
|
|
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 {
|
|
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
|
|
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,
|
|
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,
|
|
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) => (
|
|
31
|
-
s() ? (
|
|
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
|
-
|
|
38
|
+
b(a(v), {
|
|
39
39
|
icon: "Clipboard",
|
|
40
40
|
size: "md"
|
|
41
41
|
})
|
|
42
42
|
])
|
|
43
|
-
])) :
|
|
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,
|
|
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
|
-
|
|
50
|
-
B(
|
|
51
|
-
loadingState:
|
|
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
|
-
])) :
|
|
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(),
|
|
65
|
-
o.value ? (s(),
|
|
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,
|
|
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) => (
|
|
9
|
+
return (e, t) => (d(), r("div", a, [
|
|
10
10
|
o("button", {
|
|
11
|
-
class:
|
|
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] =
|
|
13
|
+
onClick: t[0] || (t[0] = l((s) => e.$emit("update:modelValue", !0), ["stop"]))
|
|
14
14
|
}, " Preview ", 2),
|
|
15
15
|
o("button", {
|
|
16
|
-
class:
|
|
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] =
|
|
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,
|
|
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) => (
|
|
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] =
|
|
21
|
+
t[0] || (t[0] = y("Body"))
|
|
22
22
|
]),
|
|
23
23
|
default: r(() => [
|
|
24
|
-
t[1] || (t[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,
|
|
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
|
-
|
|
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,
|
|
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,
|
|
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.
|
|
38
|
-
return R(() => a.hotKeys.on(k)), v(() => a.hotKeys.off(k)), (o, e) => (
|
|
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" ? (
|
|
45
|
-
|
|
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
|
-
])) :
|
|
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" ? (
|
|
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)) :
|
|
70
|
+
], 2)) : c("", !0),
|
|
71
71
|
s("div", j, [
|
|
72
|
-
t(n) !== "modal" ? (
|
|
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] =
|
|
78
|
+
e[5] || (e[5] = p(" Get Started ")),
|
|
79
79
|
m(d, { hotkey: "k" })
|
|
80
|
-
])) :
|
|
81
|
-
t(n) === "desktop" ? (
|
|
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] =
|
|
87
|
+
e[6] || (e[6] = p(" New Request ")),
|
|
88
88
|
m(d, { hotkey: "N" })
|
|
89
|
-
])) :
|
|
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] =
|
|
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,
|
|
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,
|
|
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
|
-
|
|
26
|
+
g(" Cancel ")
|
|
27
27
|
])),
|
|
28
28
|
_: 1
|
|
29
29
|
})
|
|
30
|
-
])) :
|
|
30
|
+
])) : p("", !0)
|
|
31
31
|
]),
|
|
32
32
|
_: 1
|
|
33
33
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, ref as d, computed as _,
|
|
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,
|
|
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
|
-
|
|
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(),
|
|
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(),
|
|
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
|
-
|
|
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,
|
|
2
|
-
import { useModal as S, ScalarDropdown as $, ScalarDropdownItem as u, ScalarListboxCheckbox as V, ScalarIcon as p, ScalarTooltip as q,
|
|
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
|
|
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,
|
|
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,
|
|
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) => (
|
|
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] ? (
|
|
18
|
+
e[t.value] ? (o(), n(l(e[t.value].component), { key: 0 })) : i("", !0)
|
|
19
19
|
]),
|
|
20
20
|
_: 1
|
|
21
21
|
})
|