@scalar/api-client 2.5.25 → 2.5.27
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 +51 -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 +9 -198
- 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.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/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 +29 -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/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 +84 -73
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- 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 +144 -144
- 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 +82 -73
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +72 -72
- 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.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/cookies.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 +62 -62
- 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 +2 -2
- package/dist/store/store.d.ts +74 -74
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +38 -38
- 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/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 +7 -11
- 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/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 +16 -14
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarPopover as q, ScalarButton as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { defineComponent as z, computed as u, watch as E, useTemplateRef as L, createBlock as p, openBlock as s, unref as a, withCtx as v, createVNode as c, createElementBlock as n, Fragment as d, createElementVNode as i, createTextVNode as T, toDisplayString as W, createCommentVNode as h, renderList as k } from "vue";
|
|
2
|
+
import { ScalarPopover as q, ScalarButton as F, ScalarIcon as x, ScalarFloatingBackdrop as I, ScalarDropdownDivider as M } from "@scalar/components";
|
|
3
|
+
import { emitCustomEvent as P } from "@scalar/workspace-store/events";
|
|
4
|
+
import { useLayout as $ } from "../../hooks/useLayout.js";
|
|
5
|
+
import { useWorkspace as j } from "../../store/store.js";
|
|
6
|
+
import y from "./ServerDropdownItem.vue.js";
|
|
7
|
+
const R = ["onClick"], G = { class: "flex h-4 w-4 items-center justify-center" }, Z = /* @__PURE__ */ z({
|
|
7
8
|
__name: "ServerDropdown",
|
|
8
9
|
props: {
|
|
9
10
|
collection: {},
|
|
@@ -12,18 +13,18 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
|
|
|
12
13
|
target: {}
|
|
13
14
|
},
|
|
14
15
|
setup(l) {
|
|
15
|
-
const { layout:
|
|
16
|
+
const { layout: w } = $(), { servers: m, collectionMutators: U, events: C, serverMutators: A } = j(), f = u(
|
|
16
17
|
() => {
|
|
17
18
|
var e, r;
|
|
18
19
|
return (r = (e = l.operation) == null ? void 0 : e.servers) == null ? void 0 : r.map((t) => {
|
|
19
20
|
var o;
|
|
20
21
|
return {
|
|
21
22
|
id: t,
|
|
22
|
-
label: ((o =
|
|
23
|
+
label: ((o = m[t]) == null ? void 0 : o.url) ?? "Unknown server"
|
|
23
24
|
};
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
|
-
),
|
|
27
|
+
), b = u(
|
|
27
28
|
() => {
|
|
28
29
|
var e, r;
|
|
29
30
|
return (
|
|
@@ -35,7 +36,7 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
|
|
|
35
36
|
var o;
|
|
36
37
|
return {
|
|
37
38
|
id: t,
|
|
38
|
-
label: ((o =
|
|
39
|
+
label: ((o = m[t]) == null ? void 0 : o.url) ?? "Unknown server"
|
|
39
40
|
};
|
|
40
41
|
})
|
|
41
42
|
);
|
|
@@ -43,28 +44,34 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
|
|
|
43
44
|
), D = u(
|
|
44
45
|
() => {
|
|
45
46
|
var e, r;
|
|
46
|
-
return ((e = f.value) == null ? void 0 : e.length) && ((r =
|
|
47
|
+
return ((e = f.value) == null ? void 0 : e.length) && ((r = b.value) == null ? void 0 : r.length);
|
|
47
48
|
}
|
|
48
49
|
);
|
|
49
|
-
|
|
50
|
+
E([() => l.collection, () => l.operation], ([e, r]) => {
|
|
50
51
|
var o;
|
|
51
52
|
if (!e || e.selectedServerUid || r != null && r.selectedServerUid)
|
|
52
53
|
return;
|
|
53
54
|
const t = (o = l.collection.servers) == null ? void 0 : o[0];
|
|
54
|
-
t &&
|
|
55
|
+
t && U.edit(l.collection.uid, "selectedServerUid", t);
|
|
55
56
|
});
|
|
56
|
-
const B = () =>
|
|
57
|
+
const B = () => C.commandPalette.emit({
|
|
57
58
|
commandName: "Add Server"
|
|
58
59
|
}), N = u(() => {
|
|
59
60
|
var e, r, t;
|
|
60
61
|
return (r = (e = l.server) == null ? void 0 : e.url) != null && r.endsWith("/") ? l.server.url.slice(0, -1) : ((t = l.server) == null ? void 0 : t.url) || "";
|
|
61
|
-
}),
|
|
62
|
+
}), S = (e, r) => {
|
|
63
|
+
var o;
|
|
62
64
|
if (!l.server)
|
|
63
65
|
return;
|
|
64
66
|
const t = l.server.variables || {};
|
|
65
|
-
t[e] = { ...t[e], default: r },
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
t[e] = { ...t[e], default: r }, A.edit(l.server.uid, "variables", t), P(
|
|
68
|
+
(o = V.value) == null ? void 0 : o.$el,
|
|
69
|
+
"scalar-update-selected-server-variables",
|
|
70
|
+
{ key: e, value: r }
|
|
71
|
+
);
|
|
72
|
+
}, V = L("wrapper-ref");
|
|
73
|
+
return (e, r) => (s(), p(a(q), {
|
|
74
|
+
ref: "wrapper-ref",
|
|
68
75
|
class: "max-h-[inherit] p-0 text-base",
|
|
69
76
|
focus: "",
|
|
70
77
|
offset: 0,
|
|
@@ -78,61 +85,61 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
|
|
|
78
85
|
class: "custom-scroll flex max-h-[inherit] flex-col gap-1 border-t p-1",
|
|
79
86
|
onClick: t
|
|
80
87
|
}, [
|
|
81
|
-
(
|
|
88
|
+
(s(!0), n(d, null, k(f.value, (o) => (s(), p(y, {
|
|
82
89
|
key: o.id,
|
|
83
90
|
collection: e.collection,
|
|
84
91
|
operation: e.operation,
|
|
85
92
|
server: e.server,
|
|
86
93
|
serverOption: o,
|
|
87
94
|
type: "request",
|
|
88
|
-
"onUpdate:variable":
|
|
95
|
+
"onUpdate:variable": S
|
|
89
96
|
}, null, 8, ["collection", "operation", "server", "serverOption"]))), 128)),
|
|
90
|
-
D.value ? (
|
|
91
|
-
c(
|
|
97
|
+
D.value ? (s(), n(d, { key: 0 }, [
|
|
98
|
+
c(a(M)),
|
|
92
99
|
r[2] || (r[2] = i("div", { class: "text-xxs text-c-2 px-2.5 py-1" }, "Collection", -1))
|
|
93
100
|
], 64)) : h("", !0),
|
|
94
|
-
(
|
|
101
|
+
(s(!0), n(d, null, k(b.value, (o) => (s(), p(y, {
|
|
95
102
|
key: o.id,
|
|
96
103
|
collection: e.collection,
|
|
97
104
|
operation: e.operation,
|
|
98
105
|
server: e.server,
|
|
99
106
|
serverOption: o,
|
|
100
107
|
type: "collection",
|
|
101
|
-
"onUpdate:variable":
|
|
108
|
+
"onUpdate:variable": S
|
|
102
109
|
}, null, 8, ["collection", "operation", "server", "serverOption"]))), 128)),
|
|
103
|
-
|
|
110
|
+
a(w) !== "modal" ? (s(), n("button", {
|
|
104
111
|
key: 1,
|
|
105
112
|
class: "text-xxs hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded p-1.75",
|
|
106
113
|
type: "button",
|
|
107
114
|
onClick: B
|
|
108
115
|
}, [
|
|
109
|
-
i("div",
|
|
110
|
-
c(
|
|
116
|
+
i("div", G, [
|
|
117
|
+
c(a(x), {
|
|
111
118
|
icon: "Add",
|
|
112
119
|
size: "sm"
|
|
113
120
|
})
|
|
114
121
|
]),
|
|
115
122
|
r[3] || (r[3] = i("span", null, "Add Server", -1))
|
|
116
123
|
])) : h("", !0)
|
|
117
|
-
], 8,
|
|
124
|
+
], 8, R)
|
|
118
125
|
]),
|
|
119
126
|
backdrop: v(() => [
|
|
120
|
-
c(
|
|
127
|
+
c(a(I), { class: "-top-(--scalar-address-bar-height) rounded-lg" })
|
|
121
128
|
]),
|
|
122
129
|
default: v(() => [
|
|
123
|
-
c(
|
|
130
|
+
c(a(F), {
|
|
124
131
|
class: "z-context-plus hover:bg-b-2 font-code text-c-2 ml-0.75 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap",
|
|
125
132
|
variant: "ghost"
|
|
126
133
|
}, {
|
|
127
134
|
default: v(() => {
|
|
128
135
|
var t;
|
|
129
136
|
return [
|
|
130
|
-
(t = e.operation) != null && t.selectedServerUid || e.collection.selectedServerUid ? (
|
|
137
|
+
(t = e.operation) != null && t.selectedServerUid || e.collection.selectedServerUid ? (s(), n(d, { key: 0 }, [
|
|
131
138
|
r[0] || (r[0] = i("span", { class: "sr-only" }, "Server:", -1)),
|
|
132
|
-
|
|
133
|
-
], 64)) : (
|
|
139
|
+
T(" " + W(N.value), 1)
|
|
140
|
+
], 64)) : (s(), n(d, { key: 1 }, [
|
|
134
141
|
r[1] || (r[1] = i("span", { class: "sr-only" }, "Add Server", -1)),
|
|
135
|
-
c(
|
|
142
|
+
c(a(x), {
|
|
136
143
|
icon: "Add",
|
|
137
144
|
size: "xs"
|
|
138
145
|
})
|
|
@@ -147,5 +154,5 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
|
|
|
147
154
|
}
|
|
148
155
|
});
|
|
149
156
|
export {
|
|
150
|
-
|
|
157
|
+
Z as default
|
|
151
158
|
};
|
|
@@ -13,6 +13,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
13
13
|
"update:variable": (key: string, value: string) => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
15
|
"onUpdate:variable"?: ((key: string, value: string) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
export default _default;
|
|
18
18
|
//# sourceMappingURL=ServerDropdownItem.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdownItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdownItem.vue"],"names":[],"mappings":"AA0KA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,IAAI,SAAS,EACpB,MAAM,EACP,MAAM,iCAAiC,CAAA;AAQxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,GAAG,SAAS,CAAA;IAChC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,YAAY,EAAE;QACZ,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;IACD,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;CAC/B,CAAC;;;;;;AA6OF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ServerDropdownItem.vue2.js";
|
|
2
2
|
import "./ServerDropdownItem.vue3.js";
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-92012388"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarListboxCheckbox as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { defineComponent as q, useId as E, computed as k, useTemplateRef as M, createElementBlock as p, openBlock as c, normalizeClass as I, createElementVNode as u, createCommentVNode as x, mergeProps as N, unref as n, createVNode as v, toDisplayString as B, withModifiers as D } from "vue";
|
|
2
|
+
import { ScalarListboxCheckbox as P, ScalarMarkdown as j } from "@scalar/components";
|
|
3
|
+
import { emitCustomEvent as w } from "@scalar/workspace-store/events";
|
|
4
|
+
import z from "./ServerVariablesForm.vue.js";
|
|
5
|
+
import { useWorkspace as L } from "../../store/store.js";
|
|
6
|
+
const R = ["aria-expanded"], T = { class: "overflow-hidden text-ellipsis whitespace-nowrap" }, W = ["id"], $ = { key: 0 }, A = { class: "description text-c-3 px-3 py-1.5" }, Q = /* @__PURE__ */ q({
|
|
6
7
|
__name: "ServerDropdownItem",
|
|
7
8
|
props: {
|
|
8
9
|
collection: {},
|
|
@@ -12,75 +13,82 @@ const P = ["aria-expanded"], j = { class: "overflow-hidden text-ellipsis whitesp
|
|
|
12
13
|
type: {}
|
|
13
14
|
},
|
|
14
15
|
emits: ["update:variable"],
|
|
15
|
-
setup(
|
|
16
|
-
const e =
|
|
17
|
-
var i, s,
|
|
18
|
-
if (
|
|
19
|
-
(s = (i = e.operation) == null ? void 0 : i.servers) != null && s.length && l.edit(e.operation.uid, "selectedServerUid", null), e.type === "collection" ? m.edit(
|
|
16
|
+
setup(_, { emit: O }) {
|
|
17
|
+
const e = _, U = O, f = E(), { collectionMutators: m, requestMutators: l, servers: b } = L(), C = (r, t) => {
|
|
18
|
+
var i, s, a, h, g;
|
|
19
|
+
if (S(r) && (t == null || t.stopPropagation()), o.value) {
|
|
20
|
+
(s = (i = e.operation) == null ? void 0 : i.servers) != null && s.length && l.edit(e.operation.uid, "selectedServerUid", null), e.type === "collection" ? (m.edit(
|
|
20
21
|
e.collection.uid,
|
|
21
22
|
"selectedServerUid",
|
|
22
23
|
void 0
|
|
23
|
-
)
|
|
24
|
+
), w(y.value, "scalar-update-selected-server", {
|
|
25
|
+
value: void 0,
|
|
26
|
+
options: { disableOldStoreUpdate: !0 }
|
|
27
|
+
})) : e.type === "request" && e.operation && l.edit(e.operation.uid, "selectedServerUid", null);
|
|
24
28
|
return;
|
|
25
29
|
}
|
|
26
|
-
e.type === "collection" && e.collection ? ((
|
|
30
|
+
e.type === "collection" && e.collection ? ((h = (a = e.operation) == null ? void 0 : a.servers) != null && h.length && l.edit(e.operation.uid, "selectedServerUid", null), m.edit(
|
|
27
31
|
e.collection.uid,
|
|
28
32
|
"selectedServerUid",
|
|
29
33
|
r
|
|
30
|
-
)
|
|
31
|
-
|
|
34
|
+
), w(y.value, "scalar-update-selected-server", {
|
|
35
|
+
value: (g = b[r]) == null ? void 0 : g.url,
|
|
36
|
+
options: { disableOldStoreUpdate: !0 }
|
|
37
|
+
})) : e.type === "request" && e.operation && l.edit(e.operation.uid, "selectedServerUid", r);
|
|
38
|
+
}, o = k(() => {
|
|
32
39
|
var r;
|
|
33
40
|
return e.type === "collection" ? e.collection.selectedServerUid === e.serverOption.id && !((r = e.operation) != null && r.selectedServerUid) : e.type === "request" && e.operation ? e.operation.selectedServerUid === e.serverOption.id : !1;
|
|
34
|
-
}),
|
|
41
|
+
}), S = (r) => {
|
|
35
42
|
if (!r)
|
|
36
43
|
return !1;
|
|
37
|
-
const t =
|
|
44
|
+
const t = b[r];
|
|
38
45
|
return Object.keys((t == null ? void 0 : t.variables) ?? {}).length > 0;
|
|
39
|
-
}, d =
|
|
46
|
+
}, d = k(
|
|
40
47
|
() => {
|
|
41
48
|
var r;
|
|
42
|
-
return o.value &&
|
|
49
|
+
return o.value && S(((r = e.server) == null ? void 0 : r.uid) ?? "");
|
|
43
50
|
}
|
|
44
|
-
),
|
|
45
|
-
|
|
46
|
-
};
|
|
51
|
+
), V = (r, t) => {
|
|
52
|
+
U("update:variable", r, t);
|
|
53
|
+
}, y = M("wrapper-ref");
|
|
47
54
|
return (r, t) => {
|
|
48
55
|
var i, s;
|
|
49
|
-
return
|
|
50
|
-
|
|
56
|
+
return c(), p("div", {
|
|
57
|
+
ref: "wrapper-ref",
|
|
58
|
+
class: I(["group/item flex min-h-fit flex-col rounded border", { "border-transparent": !o.value }])
|
|
51
59
|
}, [
|
|
52
|
-
u("button",
|
|
60
|
+
u("button", N(d.value ? { "aria-controls": n(f) } : {}, {
|
|
53
61
|
"aria-expanded": d.value,
|
|
54
62
|
class: ["flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5", o.value ? "text-c-1 bg-b-2" : "hover:bg-b-2"],
|
|
55
63
|
type: "button",
|
|
56
|
-
onClick: t[0] || (t[0] = (
|
|
64
|
+
onClick: t[0] || (t[0] = (a) => C(r.serverOption.id, a))
|
|
57
65
|
}), [
|
|
58
|
-
v(
|
|
59
|
-
u("span",
|
|
60
|
-
], 16,
|
|
61
|
-
d.value ? (
|
|
66
|
+
v(n(P), { selected: o.value }, null, 8, ["selected"]),
|
|
67
|
+
u("span", T, B(r.serverOption.label), 1)
|
|
68
|
+
], 16, R),
|
|
69
|
+
d.value ? (c(), p("div", {
|
|
62
70
|
key: 0,
|
|
63
|
-
id:
|
|
71
|
+
id: n(f),
|
|
64
72
|
class: "bg-b-2 divide divide-y rounded-b border-t *:pl-4",
|
|
65
|
-
onClick: t[1] || (t[1] =
|
|
73
|
+
onClick: t[1] || (t[1] = D(() => {
|
|
66
74
|
}, ["stop"]))
|
|
67
75
|
}, [
|
|
68
|
-
v(
|
|
76
|
+
v(z, {
|
|
69
77
|
variables: (i = r.server) == null ? void 0 : i.variables,
|
|
70
|
-
"onUpdate:variable":
|
|
78
|
+
"onUpdate:variable": V
|
|
71
79
|
}, null, 8, ["variables"]),
|
|
72
|
-
(s = r.server) != null && s.description ? (
|
|
73
|
-
u("div",
|
|
74
|
-
v(
|
|
80
|
+
(s = r.server) != null && s.description ? (c(), p("div", $, [
|
|
81
|
+
u("div", A, [
|
|
82
|
+
v(n(j), {
|
|
75
83
|
value: r.server.description
|
|
76
84
|
}, null, 8, ["value"])
|
|
77
85
|
])
|
|
78
|
-
])) :
|
|
79
|
-
], 8,
|
|
86
|
+
])) : x("", !0)
|
|
87
|
+
], 8, W)) : x("", !0)
|
|
80
88
|
], 2);
|
|
81
89
|
};
|
|
82
90
|
}
|
|
83
91
|
});
|
|
84
92
|
export {
|
|
85
|
-
|
|
93
|
+
Q as default
|
|
86
94
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerSelector.vue"],"names":[],"mappings":"AAiHA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerSelector.vue"],"names":[],"mappings":"AAiHA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAUzE,KAAK,WAAW,GAAG;IACjB,qBAAqB;IACrB,UAAU,EAAE,UAAU,CAAA;IACtB,0BAA0B;IAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;;;;;AA8MF,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesForm.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACrB,MAAM,2BAA2B,CAAA;AAElC,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IACvC,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;CAChC,CAAC;;;;;;AA6HF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as h, useId as k, createElementBlock as v, createCommentVNode as $, openBlock as a, Fragment as C, renderList as V, normalizeClass as B, createElementVNode as S, createBlock as p, unref as s, toDisplayString as j } from "vue";
|
|
2
|
+
import E from "./ServerVariablesSelect.vue.js";
|
|
3
|
+
import F from "./ServerVariablesTextbox.vue.js";
|
|
4
|
+
const N = ["for"], z = /* @__PURE__ */ h({
|
|
5
5
|
__name: "ServerVariablesForm",
|
|
6
6
|
props: {
|
|
7
7
|
variables: {},
|
|
@@ -10,42 +10,46 @@ const j = { class: "flex items-center py-1.5 pl-3 group-has-[input]/label:mr-0 a
|
|
|
10
10
|
layout: { default: "client" }
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:variable"],
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
function
|
|
16
|
-
|
|
13
|
+
setup(i, { emit: g }) {
|
|
14
|
+
const y = g, n = k();
|
|
15
|
+
function u(r, l) {
|
|
16
|
+
y("update:variable", r, l);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
19
|
-
var
|
|
20
|
-
return (((
|
|
18
|
+
const c = (r) => {
|
|
19
|
+
var l, e, t;
|
|
20
|
+
return (((l = i.values) == null ? void 0 : l[r]) ?? ((t = (e = i.variables) == null ? void 0 : e[r]) == null ? void 0 : t.default) ?? "").toString();
|
|
21
21
|
};
|
|
22
|
-
return (
|
|
23
|
-
var
|
|
24
|
-
return
|
|
25
|
-
key:
|
|
26
|
-
class:
|
|
22
|
+
return (r, l) => r.variables && Object.keys(r.variables ?? {}).length ? (a(!0), v(C, { key: 0 }, V(Object.keys(r.variables), (e) => {
|
|
23
|
+
var t, b, d, f, m;
|
|
24
|
+
return a(), v("div", {
|
|
25
|
+
key: e,
|
|
26
|
+
class: B([
|
|
27
27
|
"group/label flex w-full",
|
|
28
|
-
|
|
28
|
+
r.layout === "reference" && "items-center border-x border-b last:rounded-b-lg"
|
|
29
29
|
])
|
|
30
30
|
}, [
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
S("label", {
|
|
32
|
+
for: `${s(n)}-${e}`,
|
|
33
|
+
class: "flex items-center py-1.5 pl-3 group-has-[input]/label:mr-0 after:content-[':']"
|
|
34
|
+
}, j(e), 9, N),
|
|
35
|
+
(d = (b = (t = r.variables) == null ? void 0 : t[e]) == null ? void 0 : b.enum) != null && d.length ? (a(), p(E, {
|
|
33
36
|
key: 0,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
value:
|
|
38
|
-
onChange: (
|
|
39
|
-
}, null, 8, ["
|
|
37
|
+
id: `${s(n)}-${e}`,
|
|
38
|
+
controls: r.controls,
|
|
39
|
+
enum: ((m = (f = r.variables[e]) == null ? void 0 : f.enum) == null ? void 0 : m.map((o) => `${o}`)) ?? [],
|
|
40
|
+
value: c(e),
|
|
41
|
+
onChange: (o) => u(e, o)
|
|
42
|
+
}, null, 8, ["id", "controls", "enum", "value", "onChange"])) : (a(), p(F, {
|
|
40
43
|
key: 1,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
id: `${s(n)}-${e}`,
|
|
45
|
+
controls: r.controls,
|
|
46
|
+
value: c(e),
|
|
47
|
+
onChange: (o) => u(e, o)
|
|
48
|
+
}, null, 8, ["id", "controls", "value", "onChange"]))
|
|
45
49
|
], 2);
|
|
46
|
-
}), 128)) :
|
|
50
|
+
}), 128)) : $("", !0);
|
|
47
51
|
}
|
|
48
52
|
});
|
|
49
53
|
export {
|
|
50
|
-
|
|
54
|
+
z as default
|
|
51
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerVariablesSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesSelect.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerVariablesSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesSelect.vue"],"names":[],"mappings":"AA4DA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAC;;;;;;AAgHF,wBAOG"}
|
|
@@ -6,6 +6,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
6
6
|
change: (v: string) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
8
|
onChange?: ((v: string) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
export default _default;
|
|
11
11
|
//# sourceMappingURL=ServerVariablesTextbox.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerVariablesTextbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesTextbox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerVariablesTextbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesTextbox.vue"],"names":[],"mappings":"AA+BA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAC;;;;;;AA0DF,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadAppButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/DownloadAppButton.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DownloadAppButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/DownloadAppButton.vue"],"names":[],"mappings":";AA0IA,wBAKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideHelp.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideHelp.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SideHelp.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideHelp.vue"],"names":[],"mappings":";AA6YA,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, {}, any>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=SideNav.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";AAmTA,wBAKG"}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: HTMLUListElement;
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
4
|
};
|
|
9
|
-
|
|
10
|
-
declare const
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
7
|
export default _default;
|
|
13
|
-
type
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
9
|
new (): {
|
|
15
10
|
$slots: S;
|
|
16
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SideNavGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavGroup.vue"],"names":[],"mappings":"AAmCA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAmB/C,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -5,20 +5,16 @@ type __VLS_Props = {
|
|
|
5
5
|
active?: boolean;
|
|
6
6
|
icon: Icon;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: any;
|
|
8
|
+
declare var __VLS_6: {}, __VLS_12: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
icon?: (props: typeof __VLS_6) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_12) => any;
|
|
16
13
|
};
|
|
17
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
14
|
declare const __VLS_component: 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>;
|
|
19
|
-
declare const _default:
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
16
|
export default _default;
|
|
21
|
-
type
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
18
|
new (): {
|
|
23
19
|
$slots: S;
|
|
24
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAsCA,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAsCA,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAIpC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,IAAI,CAAA;CACX,CAAC;AA+EF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAqBhD,QAAA,MAAM,eAAe,kSAMnB,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"}
|
|
@@ -5,19 +5,14 @@ type __VLS_Props = {
|
|
|
5
5
|
to: RouteLocationRaw;
|
|
6
6
|
active?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
default?(_: {}): any;
|
|
12
|
-
};
|
|
13
|
-
refs: {};
|
|
14
|
-
rootEl: any;
|
|
8
|
+
declare var __VLS_5: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_5) => any;
|
|
15
11
|
};
|
|
16
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
12
|
declare const __VLS_component: 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>;
|
|
18
|
-
declare const _default:
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
14
|
export default _default;
|
|
20
|
-
type
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
16
|
new (): {
|
|
22
17
|
$slots: S;
|
|
23
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavRouterLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavRouterLink.vue"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"SideNavRouterLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavRouterLink.vue"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAI9D,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,IAAI,CAAA;IACV,EAAE,EAAE,gBAAgB,CAAA;IACpB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AA+BF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe,kSAMnB,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"}
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
imageUri?: string;
|
|
5
5
|
};
|
|
6
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, {},
|
|
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>;
|
|
8
8
|
export default _default;
|
|
9
9
|
//# sourceMappingURL=WorkspaceProfileIcon.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceProfileIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/WorkspaceProfileIcon.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WorkspaceProfileIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/WorkspaceProfileIcon.vue"],"names":[],"mappings":"AAmGA,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE;QACX,WAAW,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;KAClB,CAAA;CACF,CAAC;;AAoEF,wBAMG"}
|
|
@@ -8,6 +8,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
9
|
onDelete?: (() => any) | undefined;
|
|
10
10
|
onClose?: (() => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
export default _default;
|
|
13
13
|
//# sourceMappingURL=DeleteSidebarListElement.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/DeleteSidebarListElement.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeleteSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/DeleteSidebarListElement.vue"],"names":[],"mappings":"AAyCA,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;CACnC,CAAC;;;;;;;;AAqFF,wBAOG"}
|