@scalar/api-client 2.1.42 → 2.1.44
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 +30 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +3 -4
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +2 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +70 -67
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +17 -13
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +4 -6
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +5 -9
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +5 -9
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +7 -7
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +5 -7
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts.map +1 -1
- package/dist/components/ContextBar.vue.d.ts +5 -7
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.vue.d.ts +14 -11
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts +12 -7
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +5 -8
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableHeader.vue.d.ts +8 -2
- package/dist/components/DataTable/DataTableHeader.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +16 -22
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +6 -8
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +59 -55
- package/dist/components/DataTable/DataTableRow.vue.d.ts +9 -3
- package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableText.vue.d.ts +12 -7
- package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.d.ts +13 -15
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/HelpfulLink.vue.d.ts +12 -7
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +4 -7
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/IconSelector.vue.d.ts +15 -11
- package/dist/components/IconSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts +8 -2
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +4 -6
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +5 -8
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +3 -4
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/OpenAppButton.vue.d.ts +3 -4
- package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/OperationBadge.vue.d.ts +3 -5
- package/dist/components/ImportCollection/OperationBadge.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/PrefetchError.vue.d.ts +3 -4
- package/dist/components/ImportCollection/PrefetchError.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +4 -10
- package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts.map +1 -1
- package/dist/components/OpenApiClientButton.vue.d.ts +4 -8
- package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts +3 -5
- package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
- package/dist/components/ScalarHotkey.vue.d.ts +3 -5
- package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
- package/dist/components/ScreenReader.vue.d.ts +13 -8
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.d.ts +1 -1
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.d.ts +14 -11
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts +3 -7
- package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +5 -7
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +5 -7
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +5 -6
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +15 -11
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts +19 -13
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.d.ts +14 -11
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarList.vue.d.ts +9 -3
- package/dist/components/Sidebar/SidebarList.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +5 -14
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +4 -12
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts +5 -6
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/dist/components/SubpageHeader.vue.d.ts +9 -3
- package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.d.ts +3 -7
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.d.ts +4 -8
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts +9 -3
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +21 -17
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts +8 -2
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +10 -4
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.d.ts +8 -2
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +18 -8
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts +1 -2
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +36 -16
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +18 -8
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +18 -8
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/store/environment.d.ts +4 -4
- package/dist/store/security-schemes.d.ts +12 -2
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/store.d.ts +36 -16
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/workspace.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue.d.ts +1 -1
- package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
- package/dist/views/Components/RequestBodies/RequestBodies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieRaw.vue.d.ts +1 -1
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue.d.ts +1 -1
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +4 -6
- package/dist/views/Environment/EnvironmentColorModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentColors.vue.d.ts +5 -6
- package/dist/views/Environment/EnvironmentColors.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.d.ts +4 -5
- package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +6 -14
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +4 -13
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +4 -6
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +88 -69
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +4 -6
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +34 -34
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +3 -5
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +4 -9
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts +3 -4
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +15 -15
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.js +19 -18
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +3 -4
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +4 -6
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +4 -6
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +3 -4
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +5 -9
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +9 -8
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +3 -4
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.d.ts +4 -6
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +124 -30
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +4 -5
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +5 -7
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +3 -10
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +3 -6
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +9 -3
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +3 -7
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +3 -5
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +5 -6
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +3 -4
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts +3 -8
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts +3 -4
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +3 -4
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +3 -4
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/libs/index.js +5 -4
- package/dist/views/Request/libs/oauth2.d.ts +12 -2
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +107 -66
- package/dist/views/Servers/ServerForm.vue.d.ts +1 -1
- package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue.d.ts +1 -1
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Settings/Settings.vue.d.ts +1 -1
- package/dist/views/Settings/Settings.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.d.ts +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +1 -1
- package/package.json +12 -12
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=Collection.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Collection.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/Collection.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Collection.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/Collection.vue"],"names":[],"mappings":";AA2TA,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBodies.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Components/RequestBodies/RequestBodies.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RequestBodies.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Components/RequestBodies/RequestBodies.vue"],"names":[],"mappings":";AAgDA,wBAKG"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=CookieForm.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookieForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/CookieForm.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CookieForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/CookieForm.vue"],"names":[],"mappings":";AAuKA,wBAMG"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=CookieRaw.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookieRaw.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/CookieRaw.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CookieRaw.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/CookieRaw.vue"],"names":[],"mappings":";AA2GA,wBAMG"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=Cookies.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cookies.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/Cookies.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Cookies.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/Cookies.vue"],"names":[],"mappings":";AA8gBA,wBAMG"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=Environment.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/Environment.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/Environment.vue"],"names":[],"mappings":";AA6zBA,wBAMG"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { type ModalState } from '@scalar/components';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
state: ModalState;
|
|
4
4
|
selectedColor: string;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
7
|
submit: (color: string) => any;
|
|
7
8
|
cancel: () => any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
9
|
-
state: ModalState;
|
|
10
|
-
selectedColor: string;
|
|
11
|
-
}> & Readonly<{
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
10
|
onSubmit?: ((color: string) => any) | undefined;
|
|
13
11
|
onCancel?: (() => any) | undefined;
|
|
14
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentColorModal.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentColorModal.vue"],"names":[],"mappings":"AA2CA,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,oBAAoB,CAAA
|
|
1
|
+
{"version":3,"file":"EnvironmentColorModal.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentColorModal.vue"],"names":[],"mappings":"AA2CA,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,oBAAoB,CAAA;AAOjE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;;;AAgJF,wBAQG"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
activeColor: string;
|
|
3
|
-
}
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
5
|
select: (color: string) => any;
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
6
|
-
activeColor: string;
|
|
7
|
-
}> & Readonly<{
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
7
|
onSelect?: ((color: string) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
9
|
export default _default;
|
|
11
10
|
//# sourceMappingURL=EnvironmentColors.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentColors.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentColors.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"EnvironmentColors.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentColors.vue"],"names":[],"mappings":"AAsHA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAC;;;;;;AAmNF,wBAQG"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { type ModalState } from '@scalar/components';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
state: ModalState;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
6
|
submit: (environment: {
|
|
6
7
|
name: string;
|
|
7
8
|
color: string;
|
|
8
9
|
}) => any;
|
|
9
10
|
cancel: () => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
11
|
-
state: ModalState;
|
|
12
|
-
}> & Readonly<{
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
12
|
onSubmit?: ((environment: {
|
|
14
13
|
name: string;
|
|
15
14
|
color: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentModal.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentModal.vue"],"names":[],"mappings":"AAkEA,OAAO,EACL,KAAK,UAAU,EAGhB,MAAM,oBAAoB,CAAA
|
|
1
|
+
{"version":3,"file":"EnvironmentModal.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentModal.vue"],"names":[],"mappings":"AAkEA,OAAO,EACL,KAAK,UAAU,EAGhB,MAAM,oBAAoB,CAAA;AAO3B,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,CAAA;CAClB,CAAC;;;cAKuC,MAAM;eAAS,MAAM;;;;;cAArB,MAAM;eAAS,MAAM;;;;AAoK9D,wBAQG"}
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
import type { WorkspaceStore } from '../../store/index.js';
|
|
2
2
|
import type { Router } from 'vue-router';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = {
|
|
4
4
|
query: string;
|
|
5
|
-
activeEnvironment: WorkspaceStore[
|
|
6
|
-
activeEnvVariables: WorkspaceStore[
|
|
5
|
+
activeEnvironment: WorkspaceStore['activeEnvironment'];
|
|
6
|
+
activeEnvVariables: WorkspaceStore['activeEnvVariables'];
|
|
7
7
|
router: Router;
|
|
8
8
|
dropdownPosition?: {
|
|
9
9
|
left: number;
|
|
10
10
|
top: number;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
13
14
|
handleArrowKey: (direction: "up" | "down") => void;
|
|
14
15
|
handleSelect: () => void;
|
|
15
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
17
|
select: (variable: string) => any;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
18
|
-
query: string;
|
|
19
|
-
activeEnvironment: WorkspaceStore["activeEnvironment"];
|
|
20
|
-
activeEnvVariables: WorkspaceStore["activeEnvVariables"];
|
|
21
|
-
router: Router;
|
|
22
|
-
dropdownPosition?: {
|
|
23
|
-
left: number;
|
|
24
|
-
top: number;
|
|
25
|
-
};
|
|
26
|
-
}> & Readonly<{
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
19
|
onSelect?: ((variable: string) => any) | undefined;
|
|
28
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
21
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentVariableDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentVariableDropdown.vue"],"names":[],"mappings":"AAiKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA
|
|
1
|
+
{"version":3,"file":"EnvironmentVariableDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentVariableDropdown.vue"],"names":[],"mappings":"AAiKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAIxC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,iBAAiB,EAAE,cAAc,CAAC,mBAAmB,CAAC,CAAA;IACtD,kBAAkB,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAA;IACxD,MAAM,EAAE,MAAM,CAAA;IAEd,gBAAgB,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;CACjD,CAAC;;gCA0DiC,IAAI,GAAG,MAAM;;;;;;;AAiNhD,wBASG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cAgQ8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAwXjD,wBAMG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
state: {
|
|
3
3
|
open: boolean;
|
|
4
4
|
show: () => void;
|
|
@@ -8,19 +8,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
id: string;
|
|
9
9
|
label: string;
|
|
10
10
|
} | undefined;
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
13
|
close: () => any;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
14
|
-
state: {
|
|
15
|
-
open: boolean;
|
|
16
|
-
show: () => void;
|
|
17
|
-
hide: () => void;
|
|
18
|
-
};
|
|
19
|
-
scheme: {
|
|
20
|
-
id: string;
|
|
21
|
-
label: string;
|
|
22
|
-
} | undefined;
|
|
23
|
-
}> & Readonly<{
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
15
|
onClose?: (() => any) | undefined;
|
|
25
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
17
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteRequestAuthModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeleteRequestAuthModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue"],"names":[],"mappings":"AAqDA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IAC5D,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAA;CAClD,CAAC;;;;;;AAuJF,wBAQG"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
1
|
+
import { type SecuritySchemeOauth2, type SecuritySchemeOauth2ExampleValue } from '@scalar/oas-utils/entities/spec';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
example: SecuritySchemeOauth2ExampleValue;
|
|
4
4
|
scheme: SecuritySchemeOauth2;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
scheme: SecuritySchemeOauth2;
|
|
8
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
7
|
export default _default;
|
|
10
8
|
//# sourceMappingURL=OAuth2.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OAuth2.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/OAuth2.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OAuth2.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/OAuth2.vue"],"names":[],"mappings":"AA4OA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EAEtC,MAAM,iCAAiC,CAAA;AAOxC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,gCAAgC,CAAA;IACzC,MAAM,EAAE,oBAAoB,CAAA;CAC7B,CAAC;;AA6dF,wBAMG"}
|
|
@@ -1,46 +1,48 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as F, openBlock as r, createElementBlock as w, Fragment as y, createVNode as d, unref as a, withCtx as o, createTextVNode as u, createElementVNode as U, createBlock as m, createCommentVNode as n } from "vue";
|
|
2
2
|
import i from "../RequestAuthDataTableInput.vue.js";
|
|
3
3
|
import { useLoadingState as x, ScalarButton as c } from "@scalar/components";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
4
|
+
import { pkceOptions as P } from "@scalar/oas-utils/entities/spec";
|
|
5
|
+
import { useToasts as A } from "@scalar/use-toasts";
|
|
6
|
+
import B from "./OAuthScopesInput.vue.js";
|
|
7
|
+
import s from "../../../../components/DataTable/DataTableRow.vue.js";
|
|
8
|
+
import { authorizeOauth2 as O } from "../../libs/oauth2.js";
|
|
9
|
+
import { useWorkspace as I } from "../../../../store/store.js";
|
|
10
|
+
const R = { class: "h-8 flex items-center justify-self-end" }, b = { class: "h-8 flex items-center justify-self-end" }, W = /* @__PURE__ */ F({
|
|
9
11
|
__name: "OAuth2",
|
|
10
12
|
props: {
|
|
11
13
|
example: {},
|
|
12
14
|
scheme: {}
|
|
13
15
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
+
setup(g) {
|
|
17
|
+
const p = g, h = x(), { toast: $ } = A(), {
|
|
16
18
|
activeCollection: V,
|
|
17
|
-
activeServer:
|
|
18
|
-
collectionMutators:
|
|
19
|
-
isReadOnly:
|
|
20
|
-
securitySchemeMutators:
|
|
21
|
-
} =
|
|
22
|
-
var
|
|
23
|
-
if (h.isLoading || !((
|
|
19
|
+
activeServer: v,
|
|
20
|
+
collectionMutators: S,
|
|
21
|
+
isReadOnly: z,
|
|
22
|
+
securitySchemeMutators: C
|
|
23
|
+
} = I(), f = (l, e) => V.value && S.edit(V.value.uid, l, e), k = (l, e) => C.edit(p.scheme.uid, l, e), T = async () => {
|
|
24
|
+
var t;
|
|
25
|
+
if (h.isLoading || !((t = V.value) != null && t.uid)) return;
|
|
24
26
|
h.startLoading();
|
|
25
|
-
const l = await
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
const [l, e] = await O(
|
|
28
|
+
p.scheme,
|
|
29
|
+
p.example,
|
|
30
|
+
v.value
|
|
29
31
|
).finally(() => h.stopLoading());
|
|
30
|
-
|
|
32
|
+
e ? f(`auth.${p.scheme.uid}.token`, e) : (console.error(l), $((l == null ? void 0 : l.message) ?? "Failed to authorize", "error"));
|
|
31
33
|
};
|
|
32
|
-
return (l, e) => l.example.token ? (
|
|
33
|
-
|
|
34
|
+
return (l, e) => l.example.token ? (r(), w(y, { key: 0 }, [
|
|
35
|
+
d(a(s), null, {
|
|
34
36
|
default: o(() => [
|
|
35
|
-
|
|
37
|
+
d(i, {
|
|
36
38
|
id: "oauth2-access-token",
|
|
37
39
|
class: "border-r-transparent",
|
|
38
40
|
modelValue: l.example.token,
|
|
39
41
|
placeholder: "QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",
|
|
40
42
|
type: "password",
|
|
41
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
43
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => f(`auth.${p.scheme.uid}.token`, t))
|
|
42
44
|
}, {
|
|
43
|
-
default: o(() => e[
|
|
45
|
+
default: o(() => e[10] || (e[10] = [
|
|
44
46
|
u(" Access Token ")
|
|
45
47
|
])),
|
|
46
48
|
_: 1
|
|
@@ -48,17 +50,17 @@ const I = { class: "h-8 flex items-center justify-self-end" }, R = { class: "h-8
|
|
|
48
50
|
]),
|
|
49
51
|
_: 1
|
|
50
52
|
}),
|
|
51
|
-
|
|
53
|
+
d(a(s), { class: "min-w-full" }, {
|
|
52
54
|
default: o(() => [
|
|
53
|
-
U("div",
|
|
54
|
-
|
|
55
|
+
U("div", R, [
|
|
56
|
+
d(a(c), {
|
|
55
57
|
class: "p-0 py-0.5 px-2 mr-1",
|
|
56
|
-
loading:
|
|
58
|
+
loading: a(h),
|
|
57
59
|
size: "sm",
|
|
58
60
|
variant: "outlined",
|
|
59
|
-
onClick: e[1] || (e[1] = (
|
|
61
|
+
onClick: e[1] || (e[1] = (t) => f(`auth.${p.scheme.uid}.token`, ""))
|
|
60
62
|
}, {
|
|
61
|
-
default: o(() => e[
|
|
63
|
+
default: o(() => e[11] || (e[11] = [
|
|
62
64
|
u(" Clear ")
|
|
63
65
|
])),
|
|
64
66
|
_: 1
|
|
@@ -67,29 +69,29 @@ const I = { class: "h-8 flex items-center justify-self-end" }, R = { class: "h-8
|
|
|
67
69
|
]),
|
|
68
70
|
_: 1
|
|
69
71
|
})
|
|
70
|
-
], 64)) : (
|
|
71
|
-
|
|
72
|
+
], 64)) : (r(), w(y, { key: 1 }, [
|
|
73
|
+
a(z) ? n("", !0) : (r(), m(a(s), { key: 0 }, {
|
|
72
74
|
default: o(() => [
|
|
73
|
-
"authorizationUrl" in l.scheme.flow ? (
|
|
75
|
+
"authorizationUrl" in l.scheme.flow ? (r(), m(i, {
|
|
74
76
|
key: 0,
|
|
75
77
|
id: `oauth2-authorization-url-${l.scheme.uid}`,
|
|
76
78
|
modelValue: l.scheme.flow.authorizationUrl,
|
|
77
79
|
placeholder: "https://galaxy.scalar.com/authorize",
|
|
78
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
80
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => k("flow.authorizationUrl", t))
|
|
79
81
|
}, {
|
|
80
|
-
default: o(() => e[
|
|
82
|
+
default: o(() => e[12] || (e[12] = [
|
|
81
83
|
u(" Auth Url ")
|
|
82
84
|
])),
|
|
83
85
|
_: 1
|
|
84
86
|
}, 8, ["id", "modelValue"])) : n("", !0),
|
|
85
|
-
"tokenUrl" in l.scheme.flow ? (
|
|
87
|
+
"tokenUrl" in l.scheme.flow ? (r(), m(i, {
|
|
86
88
|
key: 1,
|
|
87
89
|
id: `oauth2-token-url-${l.scheme.uid}`,
|
|
88
90
|
modelValue: l.scheme.flow.tokenUrl,
|
|
89
91
|
placeholder: "https://galaxy.scalar.com/token",
|
|
90
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
92
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => k("flow.tokenUrl", t))
|
|
91
93
|
}, {
|
|
92
|
-
default: o(() => e[
|
|
94
|
+
default: o(() => e[13] || (e[13] = [
|
|
93
95
|
u(" Token Url ")
|
|
94
96
|
])),
|
|
95
97
|
_: 1
|
|
@@ -97,15 +99,15 @@ const I = { class: "h-8 flex items-center justify-self-end" }, R = { class: "h-8
|
|
|
97
99
|
]),
|
|
98
100
|
_: 1
|
|
99
101
|
})),
|
|
100
|
-
"x-scalar-redirect-uri" in l.scheme.flow ? (
|
|
102
|
+
"x-scalar-redirect-uri" in l.scheme.flow ? (r(), m(a(s), { key: 1 }, {
|
|
101
103
|
default: o(() => [
|
|
102
|
-
|
|
104
|
+
d(i, {
|
|
103
105
|
id: `oauth2-redirect-uri-${l.scheme.uid}`,
|
|
104
106
|
modelValue: l.scheme.flow["x-scalar-redirect-uri"],
|
|
105
107
|
placeholder: "https://galaxy.scalar.com/callback",
|
|
106
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
108
|
+
"onUpdate:modelValue": e[4] || (e[4] = (t) => k("flow.x-scalar-redirect-uri", t))
|
|
107
109
|
}, {
|
|
108
|
-
default: o(() => e[
|
|
110
|
+
default: o(() => e[14] || (e[14] = [
|
|
109
111
|
u(" Redirect Url ")
|
|
110
112
|
])),
|
|
111
113
|
_: 1
|
|
@@ -113,17 +115,17 @@ const I = { class: "h-8 flex items-center justify-self-end" }, R = { class: "h-8
|
|
|
113
115
|
]),
|
|
114
116
|
_: 1
|
|
115
117
|
})) : n("", !0),
|
|
116
|
-
l.example.type === "oauth-password" ? (
|
|
117
|
-
|
|
118
|
+
l.example.type === "oauth-password" ? (r(), w(y, { key: 2 }, [
|
|
119
|
+
d(a(s), null, {
|
|
118
120
|
default: o(() => [
|
|
119
|
-
|
|
121
|
+
d(i, {
|
|
120
122
|
id: `oauth2-password-username-${l.scheme.uid}`,
|
|
121
123
|
class: "text-c-2",
|
|
122
124
|
modelValue: l.example.username,
|
|
123
125
|
placeholder: "ScalarEnjoyer01",
|
|
124
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
126
|
+
"onUpdate:modelValue": e[5] || (e[5] = (t) => f(`auth.${l.scheme.uid}.username`, t))
|
|
125
127
|
}, {
|
|
126
|
-
default: o(() => e[
|
|
128
|
+
default: o(() => e[15] || (e[15] = [
|
|
127
129
|
u(" Username ")
|
|
128
130
|
])),
|
|
129
131
|
_: 1
|
|
@@ -131,16 +133,16 @@ const I = { class: "h-8 flex items-center justify-self-end" }, R = { class: "h-8
|
|
|
131
133
|
]),
|
|
132
134
|
_: 1
|
|
133
135
|
}),
|
|
134
|
-
|
|
136
|
+
d(a(s), null, {
|
|
135
137
|
default: o(() => [
|
|
136
|
-
|
|
138
|
+
d(i, {
|
|
137
139
|
id: `oauth2-password-password-${l.scheme.uid}`,
|
|
138
140
|
modelValue: l.example.password,
|
|
139
141
|
placeholder: "xxxxxx",
|
|
140
142
|
type: "password",
|
|
141
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
143
|
+
"onUpdate:modelValue": e[6] || (e[6] = (t) => f(`auth.${l.scheme.uid}.password`, t))
|
|
142
144
|
}, {
|
|
143
|
-
default: o(() => e[
|
|
145
|
+
default: o(() => e[16] || (e[16] = [
|
|
144
146
|
u(" Password ")
|
|
145
147
|
])),
|
|
146
148
|
_: 1
|
|
@@ -149,15 +151,15 @@ const I = { class: "h-8 flex items-center justify-self-end" }, R = { class: "h-8
|
|
|
149
151
|
_: 1
|
|
150
152
|
})
|
|
151
153
|
], 64)) : n("", !0),
|
|
152
|
-
|
|
154
|
+
d(a(s), null, {
|
|
153
155
|
default: o(() => [
|
|
154
|
-
|
|
156
|
+
d(i, {
|
|
155
157
|
id: `oauth2-client-id-${l.scheme.uid}`,
|
|
156
158
|
modelValue: l.scheme["x-scalar-client-id"],
|
|
157
159
|
placeholder: "12345",
|
|
158
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
160
|
+
"onUpdate:modelValue": e[7] || (e[7] = (t) => k("x-scalar-client-id", t))
|
|
159
161
|
}, {
|
|
160
|
-
default: o(() => e[
|
|
162
|
+
default: o(() => e[17] || (e[17] = [
|
|
161
163
|
u(" Client ID ")
|
|
162
164
|
])),
|
|
163
165
|
_: 1
|
|
@@ -165,16 +167,16 @@ const I = { class: "h-8 flex items-center justify-self-end" }, R = { class: "h-8
|
|
|
165
167
|
]),
|
|
166
168
|
_: 1
|
|
167
169
|
}),
|
|
168
|
-
"clientSecret" in l.example ? (
|
|
170
|
+
"clientSecret" in l.example ? (r(), m(a(s), { key: 3 }, {
|
|
169
171
|
default: o(() => [
|
|
170
|
-
|
|
172
|
+
d(i, {
|
|
171
173
|
id: `oauth2-client-secret-${l.scheme.uid}`,
|
|
172
174
|
modelValue: l.example.clientSecret,
|
|
173
175
|
placeholder: "XYZ123",
|
|
174
176
|
type: "password",
|
|
175
|
-
"onUpdate:modelValue": e[8] || (e[8] = (
|
|
177
|
+
"onUpdate:modelValue": e[8] || (e[8] = (t) => f(`auth.${l.scheme.uid}.clientSecret`, t))
|
|
176
178
|
}, {
|
|
177
|
-
default: o(() => e[
|
|
179
|
+
default: o(() => e[18] || (e[18] = [
|
|
178
180
|
u(" Client Secret ")
|
|
179
181
|
])),
|
|
180
182
|
_: 1
|
|
@@ -182,26 +184,43 @@ const I = { class: "h-8 flex items-center justify-self-end" }, R = { class: "h-8
|
|
|
182
184
|
]),
|
|
183
185
|
_: 1
|
|
184
186
|
})) : n("", !0),
|
|
185
|
-
l.scheme.flow
|
|
187
|
+
"x-usePkce" in l.scheme.flow ? (r(), m(a(s), { key: 4 }, {
|
|
186
188
|
default: o(() => [
|
|
187
|
-
|
|
189
|
+
d(i, {
|
|
190
|
+
id: `oauth2-use-pkce-${l.scheme.uid}`,
|
|
191
|
+
enum: a(P),
|
|
192
|
+
modelValue: l.scheme.flow["x-usePkce"],
|
|
193
|
+
readOnly: "",
|
|
194
|
+
"onUpdate:modelValue": e[9] || (e[9] = (t) => k("flow.x-usePkce", t))
|
|
195
|
+
}, {
|
|
196
|
+
default: o(() => e[19] || (e[19] = [
|
|
197
|
+
u(" Use PKCE ")
|
|
198
|
+
])),
|
|
199
|
+
_: 1
|
|
200
|
+
}, 8, ["id", "enum", "modelValue"])
|
|
201
|
+
]),
|
|
202
|
+
_: 1
|
|
203
|
+
})) : n("", !0),
|
|
204
|
+
Object.keys(l.scheme.flow.scopes ?? {}).length ? (r(), m(a(s), { key: 5 }, {
|
|
205
|
+
default: o(() => [
|
|
206
|
+
d(B, {
|
|
188
207
|
activeFlow: l.scheme.flow,
|
|
189
208
|
updateScheme: k
|
|
190
209
|
}, null, 8, ["activeFlow"])
|
|
191
210
|
]),
|
|
192
211
|
_: 1
|
|
193
212
|
})) : n("", !0),
|
|
194
|
-
|
|
213
|
+
d(a(s), { class: "min-w-full" }, {
|
|
195
214
|
default: o(() => [
|
|
196
|
-
U("div",
|
|
197
|
-
|
|
215
|
+
U("div", b, [
|
|
216
|
+
d(a(c), {
|
|
198
217
|
class: "p-0 py-0.5 px-2 mr-1",
|
|
199
|
-
loading:
|
|
218
|
+
loading: a(h),
|
|
200
219
|
size: "sm",
|
|
201
220
|
variant: "outlined",
|
|
202
|
-
onClick:
|
|
221
|
+
onClick: T
|
|
203
222
|
}, {
|
|
204
|
-
default: o(() => e[
|
|
223
|
+
default: o(() => e[20] || (e[20] = [
|
|
205
224
|
u(" Authorize ")
|
|
206
225
|
])),
|
|
207
226
|
_: 1
|
|
@@ -214,5 +233,5 @@ const I = { class: "h-8 flex items-center justify-self-end" }, R = { class: "h-8
|
|
|
214
233
|
}
|
|
215
234
|
});
|
|
216
235
|
export {
|
|
217
|
-
|
|
236
|
+
W as default
|
|
218
237
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { UpdateScheme } from '../../../../store/index.js';
|
|
2
2
|
import type { SecuritySchemeOauth2 } from '@scalar/oas-utils/entities/spec';
|
|
3
|
-
|
|
4
|
-
activeFlow: SecuritySchemeOauth2[
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
activeFlow: SecuritySchemeOauth2['flow'];
|
|
5
5
|
updateScheme: UpdateScheme;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
updateScheme: UpdateScheme;
|
|
9
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
8
|
export default _default;
|
|
11
9
|
//# sourceMappingURL=OAuthScopesInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OAuthScopesInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OAuthScopesInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue"],"names":[],"mappings":"AAuGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAK3E,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,oBAAoB,CAAC,MAAM,CAAC,CAAA;IACxC,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAC;;AAyPF,wBAOG"}
|