@scalar/api-client 2.5.26 → 2.5.28
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 +55 -0
- package/dist/analytics.d.ts +69 -0
- package/dist/analytics.d.ts.map +1 -0
- package/dist/analytics.js +25 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts +1 -1
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/httpStatusCodeColors.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +6 -5
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +9 -9
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +10 -13
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- 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.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/CommandPaletteImportCurl.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +67 -60
- 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/CommandPaletteServer.vue.js +59 -52
- 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 +5 -5
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +1 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.vue.d.ts +8 -12
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts +5 -10
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableHeader.vue.d.ts +5 -10
- package/dist/components/DataTable/DataTableHeader.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +10 -199
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableRow.vue.d.ts +6 -11
- package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableText.vue.d.ts +5 -10
- package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
- package/dist/components/EmptyState.vue.d.ts +1 -1
- package/dist/components/EmptyState.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.d.ts +5 -10
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/LabelInput.vue.d.ts +1 -1
- package/dist/components/Form/LabelInput.vue.d.ts.map +1 -1
- package/dist/components/HelpfulLink.vue.d.ts +6 -11
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/IconSelector.vue.d.ts +7 -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 +5 -10
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/OperationBadge.vue.d.ts +1 -1
- 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 +1 -1
- 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/OpenApiClientButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts +1 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
- package/dist/components/ScreenReader.vue.d.ts +7 -11
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/SectionFilter.vue.d.ts +7 -9
- package/dist/components/SectionFilter.vue.d.ts.map +1 -1
- package/dist/components/SectionFilterButton.vue.d.ts +6 -11
- package/dist/components/SectionFilterButton.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +42 -35
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue2.js +47 -39
- package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.js +35 -31
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -1
- package/dist/components/SideNav/DownloadAppButton.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/SideNavGroup.vue.d.ts +6 -11
- package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.d.ts +7 -11
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +5 -10
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts +1 -1
- package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +6 -11
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts +12 -16
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.d.ts +5 -10
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +4 -4
- package/dist/components/Sidebar/SidebarList.vue.d.ts +6 -11
- package/dist/components/Sidebar/SidebarList.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.d.ts +1 -1
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts +6 -11
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +15 -18
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts +5 -10
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +7 -11
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/hooks/useClientConfig.d.ts +32 -26
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/hooks/useFileDialog.d.ts +2 -0
- package/dist/hooks/useFileDialog.d.ts.map +1 -1
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/index.js +9 -8
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.d.ts +5 -10
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +150 -106
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +23 -14
- package/dist/layouts/App/index.js +4 -3
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +210 -210
- 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 +148 -106
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +24 -15
- package/dist/layouts/Web/index.js +4 -3
- package/dist/libs/create-client.d.ts +105 -105
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +23 -23
- package/dist/libs/errors.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/formatters.d.ts.map +1 -1
- package/dist/libs/get-request-uid-by-path-method.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/hot-keys.d.ts.map +1 -1
- package/dist/libs/local-storage.d.ts.map +1 -1
- package/dist/libs/normalize-headers.d.ts.map +1 -1
- package/dist/libs/parse-curl.d.ts.map +1 -1
- package/dist/libs/parse-curl.js +26 -25
- package/dist/libs/send-request/build-request-security.d.ts +3 -1
- package/dist/libs/send-request/build-request-security.d.ts.map +1 -1
- package/dist/libs/send-request/build-request-security.js +19 -18
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.test.d.ts +6 -6
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
- package/dist/libs/validate-parameters.d.ts.map +1 -1
- package/dist/plugins/plugin-manager.d.ts.map +1 -1
- package/dist/store/active-entities.d.ts +6 -6
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts +4 -4
- package/dist/store/cookies.d.ts +4 -4
- package/dist/store/environment.d.ts +4 -4
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +64 -64
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +4 -4
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +16 -16
- package/dist/store/store.d.ts +107 -107
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +38 -38
- package/dist/store/tags.d.ts +4 -4
- package/dist/store/workspace.d.ts +4 -4
- 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/Collection/CollectionAuthentication.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionCookies.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionEnvironment.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionNavigation.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionNavigation.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionOverview.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionScripts.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.js +64 -44
- package/dist/views/Collection/CollectionServers.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServers.vue2.js +56 -50
- package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionSync.vue.d.ts.map +1 -1
- package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +1 -1
- package/dist/views/Collection/components/EnvironmentForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +15 -14
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.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.map +1 -1
- package/dist/views/Cookies/CookieModal.vue.d.ts.map +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.map +1 -1
- package/dist/views/Environment/EnvironmentColors.vue.d.ts +1 -1
- package/dist/views/Environment/EnvironmentColors.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
- 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/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.js +2 -2
- package/dist/views/Request/RequestRoot.vue2.js +84 -78
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +8 -12
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +66 -64
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/helpers/update-scheme.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +4 -109
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +27 -27
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +6 -11
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- 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/hooks/useOpenApiWatcher.js +9 -9
- package/dist/views/Request/libs/auth.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.d.ts +5 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +15 -14
- package/dist/views/Request/libs/request.d.ts.map +1 -1
- package/dist/views/Request/libs/watch-mode.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/components/SettingsAppearance.vue.d.ts +1 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -1
- package/dist/views/Settings/components/SettingsSection.vue.d.ts +7 -17
- package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +1 -1
- package/package.json +18 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.5.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c470c60: fix(components): update scalar menu button flex
|
|
8
|
+
- abe3842: Add analytic events to api-client + add telemetry option
|
|
9
|
+
- 5a7d388: fix(api-client): don't apply block layout on desktop
|
|
10
|
+
- Updated dependencies [c470c60]
|
|
11
|
+
- Updated dependencies [abe3842]
|
|
12
|
+
- @scalar/components@0.14.29
|
|
13
|
+
- @scalar/types@0.2.15
|
|
14
|
+
- @scalar/use-codemirror@0.12.30
|
|
15
|
+
- @scalar/oas-utils@0.4.24
|
|
16
|
+
- @scalar/openapi-parser@0.20.2
|
|
17
|
+
- @scalar/snippetz@0.4.9
|
|
18
|
+
- @scalar/themes@0.13.16
|
|
19
|
+
- @scalar/workspace-store@0.15.1
|
|
20
|
+
- @scalar/postman-to-openapi@0.3.27
|
|
21
|
+
|
|
22
|
+
## 2.5.27
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- 714b197: feat: support base64 unicode characters
|
|
27
|
+
- ee605d8: fix(api-reference): allow server variables dropdown to close on selection
|
|
28
|
+
- Updated dependencies [ba27329]
|
|
29
|
+
- Updated dependencies [714b197]
|
|
30
|
+
- Updated dependencies [40e79b9]
|
|
31
|
+
- Updated dependencies [98c55d0]
|
|
32
|
+
- Updated dependencies [792c937]
|
|
33
|
+
- Updated dependencies [f918582]
|
|
34
|
+
- Updated dependencies [cededd8]
|
|
35
|
+
- Updated dependencies [3473e08]
|
|
36
|
+
- Updated dependencies [a6ae22a]
|
|
37
|
+
- Updated dependencies [422cb2b]
|
|
38
|
+
- Updated dependencies [63283aa]
|
|
39
|
+
- Updated dependencies [8680da6]
|
|
40
|
+
- Updated dependencies [2b22eab]
|
|
41
|
+
- Updated dependencies [0e747c7]
|
|
42
|
+
- Updated dependencies [976366f]
|
|
43
|
+
- Updated dependencies [99894bc]
|
|
44
|
+
- Updated dependencies [5ad329e]
|
|
45
|
+
- @scalar/workspace-store@0.15.0
|
|
46
|
+
- @scalar/oas-utils@0.4.23
|
|
47
|
+
- @scalar/snippetz@0.4.8
|
|
48
|
+
- @scalar/helpers@0.0.9
|
|
49
|
+
- @scalar/types@0.2.14
|
|
50
|
+
- @scalar/components@0.14.28
|
|
51
|
+
- @scalar/themes@0.13.15
|
|
52
|
+
- @scalar/postman-to-openapi@0.3.26
|
|
53
|
+
- @scalar/openapi-parser@0.20.2
|
|
54
|
+
- @scalar/import@0.4.20
|
|
55
|
+
- @scalar/object-utils@1.2.5
|
|
56
|
+
- @scalar/use-codemirror@0.12.29
|
|
57
|
+
|
|
3
58
|
## 2.5.26
|
|
4
59
|
|
|
5
60
|
### Patch Changes
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/** Centralized method to control creation of analytics clients. */
|
|
2
|
+
export declare function createAnalyticsClient(): {
|
|
3
|
+
capture: <E extends "client-send-request" | "page-view">(event: E, ...[data]: import("zod").input<{
|
|
4
|
+
readonly 'page-view': import("zod").ZodObject<{
|
|
5
|
+
to: import("zod").ZodString;
|
|
6
|
+
from: import("zod").ZodString;
|
|
7
|
+
hostname: import("zod").ZodString;
|
|
8
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
9
|
+
to: string;
|
|
10
|
+
from: string;
|
|
11
|
+
hostname: string;
|
|
12
|
+
}, {
|
|
13
|
+
to: string;
|
|
14
|
+
from: string;
|
|
15
|
+
hostname: string;
|
|
16
|
+
}>;
|
|
17
|
+
readonly 'client-send-request': import("zod").ZodUndefined;
|
|
18
|
+
}[E]> extends undefined ? [] : [import("zod").input<{
|
|
19
|
+
readonly 'page-view': import("zod").ZodObject<{
|
|
20
|
+
to: import("zod").ZodString;
|
|
21
|
+
from: import("zod").ZodString;
|
|
22
|
+
hostname: import("zod").ZodString;
|
|
23
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
24
|
+
to: string;
|
|
25
|
+
from: string;
|
|
26
|
+
hostname: string;
|
|
27
|
+
}, {
|
|
28
|
+
to: string;
|
|
29
|
+
from: string;
|
|
30
|
+
hostname: string;
|
|
31
|
+
}>;
|
|
32
|
+
readonly 'client-send-request': import("zod").ZodUndefined;
|
|
33
|
+
}[E]>]) => Promise<void>;
|
|
34
|
+
};
|
|
35
|
+
/** Gets the correct analytics client based on the layout. */
|
|
36
|
+
export declare function useAnalytics(): {
|
|
37
|
+
capture: <E extends "client-send-request" | "page-view">(event: E, ...[data]: import("zod").input<{
|
|
38
|
+
readonly 'page-view': import("zod").ZodObject<{
|
|
39
|
+
to: import("zod").ZodString;
|
|
40
|
+
from: import("zod").ZodString;
|
|
41
|
+
hostname: import("zod").ZodString;
|
|
42
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
43
|
+
to: string;
|
|
44
|
+
from: string;
|
|
45
|
+
hostname: string;
|
|
46
|
+
}, {
|
|
47
|
+
to: string;
|
|
48
|
+
from: string;
|
|
49
|
+
hostname: string;
|
|
50
|
+
}>;
|
|
51
|
+
readonly 'client-send-request': import("zod").ZodUndefined;
|
|
52
|
+
}[E]> extends undefined ? [] : [import("zod").input<{
|
|
53
|
+
readonly 'page-view': import("zod").ZodObject<{
|
|
54
|
+
to: import("zod").ZodString;
|
|
55
|
+
from: import("zod").ZodString;
|
|
56
|
+
hostname: import("zod").ZodString;
|
|
57
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
58
|
+
to: string;
|
|
59
|
+
from: string;
|
|
60
|
+
hostname: string;
|
|
61
|
+
}, {
|
|
62
|
+
to: string;
|
|
63
|
+
from: string;
|
|
64
|
+
hostname: string;
|
|
65
|
+
}>;
|
|
66
|
+
readonly 'client-send-request': import("zod").ZodUndefined;
|
|
67
|
+
}[E]>]) => Promise<void>;
|
|
68
|
+
} | undefined;
|
|
69
|
+
//# sourceMappingURL=analytics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../src/analytics.ts"],"names":[],"mappings":"AAOA,oEAAoE;AACpE,wBAAgB,qBAAqB;uEAQpC,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAHJ;AAED,6DAA6D;AAC7D,wBAAgB,YAAY;uEAA3B,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBJ"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { analyticsFactory as n } from "@scalar/analytics-client";
|
|
2
|
+
import { useClientConfig as o } from "./hooks/useClientConfig.js";
|
|
3
|
+
import { analytics as i } from "./layouts/Web/create-api-client-web.js";
|
|
4
|
+
import { analytics as a } from "./layouts/App/create-api-client-app.js";
|
|
5
|
+
import { useLayout as r } from "./hooks/useLayout.js";
|
|
6
|
+
function y() {
|
|
7
|
+
return n(
|
|
8
|
+
"https://api.scalar.com",
|
|
9
|
+
() => null
|
|
10
|
+
// There is no auth to return.
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
function f() {
|
|
14
|
+
const { layout: t } = r();
|
|
15
|
+
return o().value.telemetry ? {
|
|
16
|
+
desktop: a,
|
|
17
|
+
web: i,
|
|
18
|
+
modal: void 0
|
|
19
|
+
// There are currently no analytics for the modal layout.
|
|
20
|
+
}[t] : void 0;
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
y as createAnalyticsClient,
|
|
24
|
+
f as useAnalytics
|
|
25
|
+
};
|
|
@@ -14,6 +14,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
14
|
importCurl: (value: string) => any;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
16
|
onImportCurl?: ((value: string) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
export default _default;
|
|
19
19
|
//# sourceMappingURL=AddressBar.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"AAqXA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"AAqXA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAK1D,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;;;;;AAoeJ,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBarHistory.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBarHistory.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"AddressBarHistory.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBarHistory.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,iCAAiC,CAAA;AAU9E,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,SAAS,CAAA;IACpB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;AA4PF,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"httpStatusCodeColors.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/httpStatusCodeColors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BtB,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,mBAAmB,CAAA;AAEzD,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"httpStatusCodeColors.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/httpStatusCodeColors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BtB,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,mBAAmB,CAAA;AAEzD,eAAO,MAAM,kBAAkB,GAAI,YAAY,MAAM;;;;;;;;;;;;;;;;;;;;CAQpD,CAAA"}
|
|
@@ -3,7 +3,7 @@ import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
|
3
3
|
import { type CodeMirrorLanguage, type Extension } from '@scalar/use-codemirror';
|
|
4
4
|
import { type Ref } from 'vue';
|
|
5
5
|
import type { EnvVariable } from '../../store/active-entities.js';
|
|
6
|
-
declare const _default:
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
7
7
|
colorPicker?: boolean;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
modelValue: string | number;
|
|
@@ -79,8 +79,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
79
79
|
onBlur?: ((v: string) => any) | undefined;
|
|
80
80
|
onCurl?: ((v: string) => any) | undefined;
|
|
81
81
|
}>, {
|
|
82
|
-
nullable: boolean;
|
|
83
82
|
disabled: boolean;
|
|
83
|
+
nullable: boolean;
|
|
84
84
|
colorPicker: boolean;
|
|
85
85
|
emitOnBlur: boolean;
|
|
86
86
|
extensions: Extension[];
|
|
@@ -90,11 +90,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
90
90
|
withVariables: boolean;
|
|
91
91
|
lineWrapping: boolean;
|
|
92
92
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
93
|
-
warning
|
|
94
|
-
|
|
93
|
+
warning?: (props: {}) => any;
|
|
94
|
+
} & {
|
|
95
|
+
icon?: (props: {}) => any;
|
|
95
96
|
}>;
|
|
96
97
|
export default _default;
|
|
97
|
-
type
|
|
98
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
98
99
|
new (): {
|
|
99
100
|
$slots: S;
|
|
100
101
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AA8eA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AACrE,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACf,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;;kBAUxC,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;iBACP,SAAS,EAAE;kBACV,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;mBACL,OAAO;;IAkMxB,0BAA0B;;0BAtJC,MAAM;0BA0BN,MAAM;wBAOR,MAAM;;;;;;;;;;kBAvGf,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;iBACP,SAAS,EAAE;kBACV,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;mBACL,OAAO;;;;;;;cAzBX,OAAO;cAkBP,OAAO;iBAnBJ,OAAO;gBAIR,OAAO;gBACP,SAAS,EAAE;sBAGL,OAAO;kBAMX,OAAO;0BACC,OAAO;mBAKd,OAAO;kBAMR,OAAO;;cAmhBZ,CAAC,KAAK,IAAiB,KAAK,GAAG;;WAClC,CAAC,KAAK,IAAiB,KAAK,GAAG;;AAhjB1C,wBAqmBC;AAYD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
|
|
|
2
2
|
import "./CodeInput.vue3.js";
|
|
3
3
|
import "./CodeInput.vue4.js";
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
5
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-26202746"]]);
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
|
@@ -55,8 +55,8 @@ const ue = { class: "whitespace-nowrap" }, ie = ["id"], de = {
|
|
|
55
55
|
emits: ["submit", "update:modelValue", "curl", "blur"],
|
|
56
56
|
setup(M, { expose: N, emit: O }) {
|
|
57
57
|
var q;
|
|
58
|
-
const o = M, s = O, B = G(), K = B.id || `id-${te()}`, C = i(!1), g = i(!1),
|
|
59
|
-
function
|
|
58
|
+
const o = M, s = O, B = G(), K = B.id || `id-${te()}`, C = i(!1), g = i(!1), S = i(""), D = i({ left: 0, top: 0 }), m = i(null), { layout: v } = se();
|
|
59
|
+
function P(e) {
|
|
60
60
|
var l;
|
|
61
61
|
return e === o.modelValue ? null : o.importCurl && e.trim().toLowerCase().startsWith("curl") ? (s("curl", e), (l = a.value) == null || l.dispatch({
|
|
62
62
|
changes: {
|
|
@@ -90,7 +90,7 @@ const ue = { class: "whitespace-nowrap" }, ie = ["id"], de = {
|
|
|
90
90
|
() => o.modelValue !== void 0 ? String(o.modelValue) : ""
|
|
91
91
|
),
|
|
92
92
|
onChange: (e) => {
|
|
93
|
-
|
|
93
|
+
P(e), W();
|
|
94
94
|
},
|
|
95
95
|
onFocus: () => C.value = !0,
|
|
96
96
|
onBlur: (e) => E(e),
|
|
@@ -105,13 +105,13 @@ const ue = { class: "whitespace-nowrap" }, ie = ["id"], de = {
|
|
|
105
105
|
placeholder: r(() => o.placeholder)
|
|
106
106
|
});
|
|
107
107
|
(q = a.value) == null || q.focus(), J(a, () => {
|
|
108
|
-
a.value && Object.
|
|
108
|
+
a.value && Object.hasOwn(B, "autofocus") && a.value.focus();
|
|
109
109
|
});
|
|
110
110
|
const { handleDropdownSelect: U, updateDropdownVisibility: W } = oe({
|
|
111
111
|
codeMirror: a,
|
|
112
|
-
query:
|
|
112
|
+
query: S,
|
|
113
113
|
showDropdown: g,
|
|
114
|
-
dropdownPosition:
|
|
114
|
+
dropdownPosition: D
|
|
115
115
|
}), $ = p(
|
|
116
116
|
() => o.nullable ? ["true", "false", "null"] : ["true", "false"]
|
|
117
117
|
), c = (e, l) => {
|
|
@@ -133,7 +133,7 @@ const ue = { class: "whitespace-nowrap" }, ie = ["id"], de = {
|
|
|
133
133
|
(e = a.value) == null || e.focus();
|
|
134
134
|
},
|
|
135
135
|
// Expose these methods for testing
|
|
136
|
-
handleChange:
|
|
136
|
+
handleChange: P,
|
|
137
137
|
handleSubmit: h,
|
|
138
138
|
handleBlur: E,
|
|
139
139
|
booleanOptions: $,
|
|
@@ -203,10 +203,10 @@ const ue = { class: "whitespace-nowrap" }, ie = ["id"], de = {
|
|
|
203
203
|
key: 8,
|
|
204
204
|
ref_key: "dropdownRef",
|
|
205
205
|
ref: m,
|
|
206
|
-
dropdownPosition:
|
|
206
|
+
dropdownPosition: D.value,
|
|
207
207
|
envVariables: e.envVariables,
|
|
208
208
|
environment: e.environment,
|
|
209
|
-
query:
|
|
209
|
+
query: S.value,
|
|
210
210
|
onSelect: w(U)
|
|
211
211
|
}, null, 8, ["dropdownPosition", "envVariables", "environment", "query", "onSelect"])) : f("", !0)
|
|
212
212
|
], 64);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codeVariableWidget.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/codeVariableWidget.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,oBAAoB,CAAA;AAGnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,EACL,UAAU,EACV,KAAK,aAAa,EAClB,UAAU,EAEV,UAAU,EACV,KAAK,UAAU,EAEhB,MAAM,wBAAwB,CAAA;AAsG/B;;GAEG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"codeVariableWidget.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/codeVariableWidget.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,oBAAoB,CAAA;AAGnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,EACL,UAAU,EACV,KAAK,aAAa,EAClB,UAAU,EAEV,UAAU,EACV,KAAK,UAAU,EAEhB,MAAM,wBAAwB,CAAA;AAsG/B;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO;IAChC,WAAW,EAAE,WAAW,GAAG,SAAS,CAAA;IACpC,YAAY,EAAE,YAAY,GAAG,SAAS,CAAA;IACtC,SAAS,EAAE,SAAS,GAAG,SAAS,CAAA;IAChC,UAAU,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC;iBAGkB,aAAa;mBAMX,UAAU;2BASF,UAAU;EAkCpC,CAAA;AAEH,eAAO,MAAM,gBAAgB,uCA8B3B,CAAA"}
|
|
@@ -3,17 +3,14 @@ type __VLS_Props = {
|
|
|
3
3
|
loading?: ReturnType<typeof useLoadingState>;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
refs: {};
|
|
14
|
-
rootEl: HTMLFormElement;
|
|
6
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_9: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
options?: (props: typeof __VLS_3) => any;
|
|
11
|
+
} & {
|
|
12
|
+
submit?: (props: typeof __VLS_9) => any;
|
|
15
13
|
};
|
|
16
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
14
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
15
|
submit: () => any;
|
|
19
16
|
cancel: () => any;
|
|
@@ -22,10 +19,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
22
19
|
onSubmit?: (() => any) | undefined;
|
|
23
20
|
onCancel?: (() => any) | undefined;
|
|
24
21
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
26
|
-
declare const _default:
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
24
|
export default _default;
|
|
28
|
-
type
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
26
|
new (): {
|
|
30
27
|
$slots: S;
|
|
31
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandActionForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionForm.vue"],"names":[],"mappings":"AA4CA,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"CommandActionForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionForm.vue"],"names":[],"mappings":"AA4CA,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAA;AAE3B,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAyEF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAsB9C,QAAA,MAAM,eAAe;;;;;;;;kFAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandActionInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandActionInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionInput.vue"],"names":[],"mappings":"AAmEA,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;;;AA0GF,wBAOG"}
|
|
@@ -4,6 +4,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
5
|
onClose?: (() => any) | undefined;
|
|
6
6
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
7
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
8
|
export default _default;
|
|
9
9
|
//# sourceMappingURL=CommandPaletteCollection.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteCollection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteCollection.vue"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"CommandPaletteCollection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteCollection.vue"],"names":[],"mappings":";;;;;;;AAuPA,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteExample.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteExample.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandPaletteExample.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteExample.vue"],"names":[],"mappings":"AAuJA,KAAK,WAAW,GAAG;IACjB,oCAAoC;IACpC,QAAQ,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAC/B,CAAC;;;;;;;;AAkRF,wBAOG"}
|
|
@@ -4,6 +4,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
5
|
onClose?: (() => any) | undefined;
|
|
6
6
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
7
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
8
|
export default _default;
|
|
9
9
|
//# sourceMappingURL=CommandPaletteImport.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImport.vue"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImport.vue"],"names":[],"mappings":";;;;;;;AA6tBA,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteImportCurl.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImportCurl.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandPaletteImportCurl.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImportCurl.vue"],"names":[],"mappings":"AAgNA,OAAO,KAAK,EAEV,cAAc,EACf,MAAM,iCAAiC,CAAA;AAYxC,KAAK,sBAAsB,GAAG,cAAc,GAAG;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE;QACR,UAAU,EAAE,sBAAsB,CAAA;QAClC,aAAa,EAAE,MAAM,CAAA;KACtB,CAAA;CACF,CAAC;;;;;;;;AAiSF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CommandPaletteImportCurl.vue2.js";
|
|
2
2
|
import "./CommandPaletteImportCurl.vue3.js";
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-708cc906"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarListbox as
|
|
3
|
-
import { REGEX as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import { defineComponent as $, ref as B, computed as A, useTemplateRef as G, createElementBlock as H, openBlock as X, Fragment as J, createElementVNode as s, createVNode as d, withCtx as n, toDisplayString as f, unref as v, normalizeClass as K } from "vue";
|
|
2
|
+
import { ScalarListbox as Q, ScalarButton as Y, ScalarIcon as Z } from "@scalar/components";
|
|
3
|
+
import { REGEX as _ } from "@scalar/oas-utils/helpers";
|
|
4
|
+
import { emitCustomEvent as ee } from "@scalar/workspace-store/events";
|
|
5
|
+
import { useRouter as te } from "vue-router";
|
|
6
|
+
import ae from "./CommandActionForm.vue.js";
|
|
7
|
+
import re from "../HttpMethod/HttpMethod.vue.js";
|
|
8
|
+
import { useActiveEntities as se } from "../../store/active-entities.js";
|
|
8
9
|
import { PathId as C } from "../../routes.js";
|
|
9
|
-
import { useWorkspace as
|
|
10
|
-
const
|
|
10
|
+
import { useWorkspace as le } from "../../store/store.js";
|
|
11
|
+
const oe = { class: "flex h-9 flex-row items-center gap-2 rounded border p-[3px] text-sm" }, ie = { class: "flex h-full" }, ue = { class: "scroll-timeline-x whitespace-nowrap" }, de = { class: "flex" }, we = /* @__PURE__ */ $({
|
|
11
12
|
__name: "CommandPaletteImportCurl",
|
|
12
13
|
props: {
|
|
13
14
|
metaData: {}
|
|
14
15
|
},
|
|
15
16
|
emits: ["close", "back"],
|
|
16
|
-
setup(a, { emit:
|
|
17
|
-
const V =
|
|
17
|
+
setup(a, { emit: O }) {
|
|
18
|
+
const V = O, W = le(), { activeWorkspaceCollections: h, activeCollection: L, activeWorkspace: D } = se(), { requestMutators: M, serverMutators: P, servers: j } = W, c = B(""), z = te(), p = A(
|
|
18
19
|
() => h.value.map((t) => {
|
|
19
20
|
var e;
|
|
20
21
|
return {
|
|
@@ -22,18 +23,18 @@ const ae = { class: "flex h-9 flex-row items-center gap-2 rounded border p-[3px]
|
|
|
22
23
|
label: ((e = t.info) == null ? void 0 : e.title) ?? "Unititled Collection"
|
|
23
24
|
};
|
|
24
25
|
})
|
|
25
|
-
),
|
|
26
|
+
), l = B(
|
|
26
27
|
a.metaData.collectionUid ? p.value.find(
|
|
27
28
|
(t) => t.id === a.metaData.collectionUid
|
|
28
29
|
) : p.value.find(
|
|
29
30
|
(t) => {
|
|
30
31
|
var e;
|
|
31
|
-
return t.id === ((e =
|
|
32
|
+
return t.id === ((e = L.value) == null ? void 0 : e.uid);
|
|
32
33
|
}
|
|
33
34
|
)
|
|
34
35
|
);
|
|
35
|
-
function
|
|
36
|
-
var i, u, b,
|
|
36
|
+
function F({ collectionUid: t }) {
|
|
37
|
+
var i, u, w, b, S, k, q, R, U, g, E;
|
|
37
38
|
if (!a.metaData.parsedCurl)
|
|
38
39
|
return;
|
|
39
40
|
const e = h.value.find(
|
|
@@ -41,31 +42,36 @@ const ae = { class: "flex h-9 flex-row items-center gap-2 rounded border p-[3px]
|
|
|
41
42
|
);
|
|
42
43
|
if (!e)
|
|
43
44
|
return;
|
|
44
|
-
const
|
|
45
|
-
if (!
|
|
46
|
-
const m = Object.values(
|
|
47
|
-
(
|
|
48
|
-
var y,
|
|
49
|
-
return
|
|
45
|
+
const r = ((i = e == null ? void 0 : e.info) == null ? void 0 : i.title) === "Drafts";
|
|
46
|
+
if (!r && a.metaData.parsedCurl.servers) {
|
|
47
|
+
const m = Object.values(j).find(
|
|
48
|
+
(T) => {
|
|
49
|
+
var y, I;
|
|
50
|
+
return T.url === ((I = (y = a.metaData.parsedCurl) == null ? void 0 : y.servers) == null ? void 0 : I[0]);
|
|
50
51
|
}
|
|
51
52
|
);
|
|
52
|
-
m ? c.value = m.uid : c.value =
|
|
53
|
+
m ? c.value = m.uid : (c.value = P.add(
|
|
53
54
|
{ url: a.metaData.parsedCurl.servers[0] ?? "/" },
|
|
54
55
|
e.uid
|
|
55
|
-
).uid
|
|
56
|
+
).uid, ee((u = N.value) == null ? void 0 : u.$el, "scalar-add-server", {
|
|
57
|
+
server: { url: a.metaData.parsedCurl.servers[0] ?? "/" },
|
|
58
|
+
options: {
|
|
59
|
+
disableOldStoreUpdate: !0
|
|
60
|
+
}
|
|
61
|
+
}));
|
|
56
62
|
}
|
|
57
|
-
const o =
|
|
63
|
+
const o = M.add(
|
|
58
64
|
{
|
|
59
|
-
summary:
|
|
60
|
-
path:
|
|
61
|
-
method: (
|
|
62
|
-
parameters: (
|
|
63
|
-
selectedServerUid:
|
|
64
|
-
requestBody: (
|
|
65
|
+
summary: r ? (b = (w = a.metaData.parsedCurl) == null ? void 0 : w.url) == null ? void 0 : b.replace(_.PROTOCOL, "") : (S = a.metaData.parsedCurl) == null ? void 0 : S.path,
|
|
66
|
+
path: r ? (k = a.metaData.parsedCurl) == null ? void 0 : k.url : (q = a.metaData.parsedCurl) == null ? void 0 : q.path,
|
|
67
|
+
method: (R = a.metaData.parsedCurl) == null ? void 0 : R.method,
|
|
68
|
+
parameters: (U = a.metaData.parsedCurl) == null ? void 0 : U.parameters,
|
|
69
|
+
selectedServerUid: r ? void 0 : c.value,
|
|
70
|
+
requestBody: (g = a.metaData.parsedCurl) == null ? void 0 : g.requestBody
|
|
65
71
|
},
|
|
66
72
|
e.uid
|
|
67
73
|
);
|
|
68
|
-
o && ((
|
|
74
|
+
o && ((E = D.value) != null && E.uid) && z.push({
|
|
69
75
|
name: "request",
|
|
70
76
|
params: {
|
|
71
77
|
[C.Workspace]: D.value.uid,
|
|
@@ -76,33 +82,34 @@ const ae = { class: "flex h-9 flex-row items-center gap-2 rounded border p-[3px]
|
|
|
76
82
|
}
|
|
77
83
|
const x = () => {
|
|
78
84
|
var t;
|
|
79
|
-
|
|
80
|
-
collectionUid: ((t =
|
|
85
|
+
F({
|
|
86
|
+
collectionUid: ((t = l.value) == null ? void 0 : t.id) ?? ""
|
|
81
87
|
});
|
|
82
|
-
};
|
|
83
|
-
return (t, e) => (
|
|
84
|
-
e[1] || (e[1] =
|
|
85
|
-
|
|
88
|
+
}, N = G("wrapper-ref");
|
|
89
|
+
return (t, e) => (X(), H(J, null, [
|
|
90
|
+
e[1] || (e[1] = s("div", { class: "text-c-2 flex-center py-1.5 text-sm" }, "Import cURL", -1)),
|
|
91
|
+
d(ae, {
|
|
92
|
+
ref: "wrapper-ref",
|
|
86
93
|
class: "mt-1.5 min-h-fit",
|
|
87
94
|
onSubmit: x
|
|
88
95
|
}, {
|
|
89
|
-
options:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
modelValue:
|
|
93
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
96
|
+
options: n(() => [
|
|
97
|
+
s("div", de, [
|
|
98
|
+
d(v(Q), {
|
|
99
|
+
modelValue: l.value,
|
|
100
|
+
"onUpdate:modelValue": e[0] || (e[0] = (r) => l.value = r),
|
|
94
101
|
options: p.value
|
|
95
102
|
}, {
|
|
96
|
-
default:
|
|
97
|
-
|
|
103
|
+
default: n(() => [
|
|
104
|
+
d(v(Y), {
|
|
98
105
|
class: "hover:bg-b-2 max-h-8 w-full justify-between gap-1 p-2 text-xs",
|
|
99
106
|
variant: "outlined"
|
|
100
107
|
}, {
|
|
101
|
-
default:
|
|
102
|
-
|
|
103
|
-
class:
|
|
104
|
-
}, f(
|
|
105
|
-
|
|
108
|
+
default: n(() => [
|
|
109
|
+
s("span", {
|
|
110
|
+
class: K(["whitespace-nowrap", l.value ? "text-c-1" : "text-c-3"])
|
|
111
|
+
}, f(l.value ? l.value.label : "Select Collection"), 3),
|
|
112
|
+
d(v(Z), {
|
|
106
113
|
class: "text-c-3",
|
|
107
114
|
icon: "ChevronDown",
|
|
108
115
|
size: "md"
|
|
@@ -115,29 +122,29 @@ const ae = { class: "flex h-9 flex-row items-center gap-2 rounded border p-[3px]
|
|
|
115
122
|
}, 8, ["modelValue", "options"])
|
|
116
123
|
])
|
|
117
124
|
]),
|
|
118
|
-
submit:
|
|
119
|
-
|
|
125
|
+
submit: n(() => [
|
|
126
|
+
s("span", { onClick: x }, "Import Request")
|
|
120
127
|
]),
|
|
121
|
-
default:
|
|
122
|
-
var
|
|
128
|
+
default: n(() => {
|
|
129
|
+
var r, o, i, u;
|
|
123
130
|
return [
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
131
|
+
s("div", oe, [
|
|
132
|
+
s("div", ie, [
|
|
133
|
+
d(re, {
|
|
127
134
|
isEditable: !1,
|
|
128
135
|
isSquare: "",
|
|
129
|
-
method: ((
|
|
136
|
+
method: ((r = t.metaData.parsedCurl) == null ? void 0 : r.method) || "get"
|
|
130
137
|
}, null, 8, ["method"])
|
|
131
138
|
]),
|
|
132
|
-
|
|
139
|
+
s("span", ue, f(((i = (o = t.metaData.parsedCurl) == null ? void 0 : o.servers) == null ? void 0 : i[0]) || "") + f(((u = t.metaData.parsedCurl) == null ? void 0 : u.path) || ""), 1)
|
|
133
140
|
])
|
|
134
141
|
];
|
|
135
142
|
}),
|
|
136
143
|
_: 1
|
|
137
|
-
})
|
|
144
|
+
}, 512)
|
|
138
145
|
], 64));
|
|
139
146
|
}
|
|
140
147
|
});
|
|
141
148
|
export {
|
|
142
|
-
|
|
149
|
+
we as default
|
|
143
150
|
};
|
|
@@ -10,6 +10,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
11
|
onClose?: (() => any) | undefined;
|
|
12
12
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
export default _default;
|
|
15
15
|
//# sourceMappingURL=CommandPaletteServer.vue.d.ts.map
|