@scalar/api-client 2.8.0 → 2.9.0
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 +90 -0
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +9 -10
- package/dist/components/CodeInput/CodeInput.vue2.js +5 -5
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +3 -3
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +3 -3
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +18 -20
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +13 -14
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +3 -3
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +3 -3
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +4 -4
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +22 -24
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
- package/dist/components/DataTable/DataTableInput.vue2.js +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +8 -9
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -10
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/IconSelector.vue.js +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.js +12 -12
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +8 -8
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -16
- package/dist/components/ImportCollection/PasteEventListener.vue.js +1 -1
- package/dist/components/ImportCollection/PrefetchError.vue.js +2 -2
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +5 -7
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +3 -3
- package/dist/components/OpenApiClientButton.vue2.js +1 -1
- package/dist/components/Server/ServerSelector.vue.js +1 -2
- package/dist/components/SideNav/SideHelp.vue.js +13 -19
- package/dist/components/SideNav/SideNav.vue.js +4 -5
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +4 -5
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
- package/dist/components/TopNav/TopNav.vue.js +8 -10
- package/dist/components/TopNav/TopNavItem.vue2.js +8 -12
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -11
- package/dist/hooks/useClientConfig.d.ts +9 -6
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -15
- package/dist/layouts/App/create-api-client-app.d.ts +3644 -3643
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +24 -18
- package/dist/layouts/Modal/create-api-client-modal.d.ts +5 -8089
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +28 -46
- package/dist/layouts/Modal/index.d.ts +2 -2
- package/dist/layouts/Modal/index.d.ts.map +1 -1
- package/dist/layouts/Modal/index.js +2 -5
- package/dist/layouts/Web/create-api-client-web.d.ts +20 -20
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +15 -12
- package/dist/libs/create-client.d.ts +25 -25
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +23 -23
- package/dist/libs/find-request.d.ts +2 -2
- package/dist/libs/postman.d.ts +1 -1
- package/dist/libs/postman.d.ts.map +1 -1
- package/dist/libs/postman.js +12 -12
- package/dist/libs/send-request/create-request-operation.js +8 -8
- package/dist/libs/send-request/create-request-operation.test.d.ts +2 -2
- package/dist/libs/validate-parameters.d.ts +10 -2
- package/dist/libs/validate-parameters.d.ts.map +1 -1
- package/dist/libs/validate-parameters.js +13 -6
- package/dist/plugins/plugin-manager.d.ts +1 -1
- package/dist/routes.d.ts +3 -184
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +6 -6
- package/dist/store/active-entities.d.ts +3 -3
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +2 -2
- package/dist/store/requests.d.ts +22 -22
- package/dist/store/router-params.d.ts.map +1 -1
- package/dist/store/store.d.ts +20 -20
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +1 -1
- package/dist/v2/blocks/operation-code-sample/index.d.ts +1 -0
- package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/index.js +8 -6
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +5 -5
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +3 -3
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +3 -4
- package/dist/v2/blocks/scalar-address-bar-block/index.d.ts +1 -0
- package/dist/v2/blocks/scalar-address-bar-block/index.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +7 -8
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +44 -55
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +16 -18
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +41 -46
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +3 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +201 -187
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +8 -10
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +2 -3
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +2 -4
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +14 -16
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +3 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +87 -85
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +10 -11
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +4 -5
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +3 -3
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +5 -5
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +9 -10
- package/dist/v2/components/TempReplaceMe.vue.d.ts +3 -0
- package/dist/v2/components/TempReplaceMe.vue.d.ts.map +1 -0
- package/dist/v2/components/TempReplaceMe.vue.js +12 -0
- package/dist/v2/components/resize/Resize.vue.d.ts +20 -0
- package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -0
- package/dist/v2/components/resize/Resize.vue.js +8 -0
- package/dist/v2/components/resize/Resize.vue2.js +36 -0
- package/dist/v2/components/resize/index.d.ts +3 -0
- package/dist/v2/components/resize/index.d.ts.map +1 -0
- package/dist/v2/components/resize/index.js +4 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +39 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -0
- package/dist/v2/components/sidebar/Sidebar.vue.js +95 -0
- package/dist/v2/components/sidebar/Sidebar.vue2.js +4 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +13 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +63 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue2.js +4 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +10 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue.js +52 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue2.js +4 -0
- package/dist/v2/components/sidebar/index.d.ts +4 -0
- package/dist/v2/components/sidebar/index.d.ts.map +1 -0
- package/dist/v2/components/sidebar/index.js +8 -0
- package/dist/v2/features/app/App.vue.d.ts +16 -0
- package/dist/v2/features/app/App.vue.d.ts.map +1 -0
- package/dist/v2/features/app/App.vue.js +72 -0
- package/dist/v2/features/app/App.vue3.js +5 -0
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +30 -0
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/AppSidebar.vue.js +7 -0
- package/dist/v2/features/app/components/AppSidebar.vue2.js +117 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +3 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.js +14 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +3 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue.js +7 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue2.js +19 -0
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts +16 -0
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/WebTopNav.vue.js +28 -0
- package/dist/v2/features/app/components/WebTopNav.vue2.js +4 -0
- package/dist/v2/features/app/components/index.d.ts +2 -0
- package/dist/v2/features/app/components/index.d.ts.map +1 -0
- package/dist/v2/features/app/components/index.js +5 -0
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +25 -0
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -0
- package/dist/v2/features/app/helpers/create-api-client-app.js +21 -0
- package/dist/v2/features/app/helpers/routes.d.ts +103 -0
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -0
- package/dist/v2/features/app/helpers/routes.js +115 -0
- package/dist/v2/features/app/index.d.ts +2 -0
- package/dist/v2/features/app/index.d.ts.map +1 -0
- package/dist/v2/features/app/index.js +4 -0
- package/dist/v2/features/collection/DocumentCollection.test.d.ts +2 -0
- package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +1 -0
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts +12 -0
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/DocumentCollection.vue.js +4 -0
- package/dist/v2/features/collection/DocumentCollection.vue2.js +82 -0
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts +2 -0
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts.map +1 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +10 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +4 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue2.js +38 -0
- package/dist/v2/features/collection/components/Authentication.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Authentication.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +48 -0
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Authentication.vue.js +7 -0
- package/dist/v2/features/collection/components/Authentication.vue2.js +50 -0
- package/dist/v2/features/collection/components/Cookies.vue.d.ts +3 -0
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Cookies.vue.js +9 -0
- package/dist/v2/features/collection/components/Environment.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Environment.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Environment.vue.d.ts +89 -0
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Environment.vue.js +4 -0
- package/dist/v2/features/collection/components/Environment.vue2.js +34 -0
- package/dist/v2/features/collection/components/Form.vue.d.ts +29 -0
- package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Form.vue.js +83 -0
- package/dist/v2/features/collection/components/Form.vue2.js +4 -0
- package/dist/v2/features/collection/components/LabelInput.test.d.ts +2 -0
- package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts +10 -0
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/LabelInput.vue.js +7 -0
- package/dist/v2/features/collection/components/LabelInput.vue2.js +29 -0
- package/dist/v2/features/collection/components/Overview.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Overview.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Overview.vue.d.ts +14 -0
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Overview.vue.js +4 -0
- package/dist/v2/features/collection/components/Overview.vue2.js +91 -0
- package/dist/v2/features/collection/components/Servers.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Servers.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Servers.vue.d.ts +33 -0
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Servers.vue.js +4 -0
- package/dist/v2/features/collection/components/Servers.vue2.js +120 -0
- package/dist/v2/features/collection/components/Settings.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Settings.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Settings.vue.d.ts +17 -0
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Settings.vue.js +7 -0
- package/dist/v2/features/collection/components/Settings.vue2.js +100 -0
- package/dist/v2/features/collection/components/Tabs.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Tabs.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Tabs.vue.d.ts +6 -0
- package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Tabs.vue.js +46 -0
- package/dist/v2/features/collection/components/Tabs.vue2.js +4 -0
- package/dist/v2/features/environments/Environments.test.d.ts +2 -0
- package/dist/v2/features/environments/Environments.test.d.ts.map +1 -0
- package/dist/v2/features/environments/Environments.vue.d.ts +31 -0
- package/dist/v2/features/environments/Environments.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/Environments.vue.js +65 -0
- package/dist/v2/features/environments/Environments.vue2.js +4 -0
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts +2 -0
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +1 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +98 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.js +114 -0
- package/dist/v2/features/environments/EnvironmentsList.vue2.js +4 -0
- package/dist/v2/features/environments/components/Environment.test.d.ts +2 -0
- package/dist/v2/features/environments/components/Environment.test.d.ts.map +1 -0
- package/dist/v2/features/environments/components/Environment.vue.d.ts +70 -0
- package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/Environment.vue.js +104 -0
- package/dist/v2/features/environments/components/Environment.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts +20 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.js +48 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +2 -0
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +10 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue.js +97 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +19 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +63 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +14 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +53 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts +18 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.js +35 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +2 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +23 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +7 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +122 -0
- package/dist/v2/features/environments/index.d.ts +5 -0
- package/dist/v2/features/environments/index.d.ts.map +1 -0
- package/dist/v2/features/environments/index.js +6 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +2 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +25 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +7 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +156 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +2 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts +32 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.js +7 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue2.js +58 -0
- package/dist/v2/features/global-cookies/index.d.ts +2 -0
- package/dist/v2/features/global-cookies/index.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/index.js +4 -0
- package/dist/v2/features/modal/Modal.vue.d.ts +16 -0
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -0
- package/dist/v2/features/modal/Modal.vue.js +7 -0
- package/dist/v2/features/modal/Modal.vue2.js +81 -0
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +53 -0
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -0
- package/dist/v2/features/modal/helpers/create-api-client-modal.js +46 -0
- package/dist/v2/features/modal/index.d.ts +2 -0
- package/dist/v2/features/modal/index.d.ts.map +1 -0
- package/dist/v2/features/modal/index.js +4 -0
- package/dist/v2/features/operation/Operation.test.d.ts +2 -0
- package/dist/v2/features/operation/Operation.test.d.ts.map +1 -0
- package/dist/v2/features/operation/Operation.vue.d.ts +79 -0
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -0
- package/dist/v2/features/operation/Operation.vue.js +124 -0
- package/dist/v2/features/operation/Operation.vue2.js +4 -0
- package/dist/v2/features/operation/components/Header.test.d.ts +2 -0
- package/dist/v2/features/operation/components/Header.test.d.ts.map +1 -0
- package/dist/v2/features/operation/components/Header.vue.d.ts +85 -0
- package/dist/v2/features/operation/components/Header.vue.d.ts.map +1 -0
- package/dist/v2/features/operation/components/Header.vue.js +7 -0
- package/dist/v2/features/operation/components/Header.vue2.js +97 -0
- package/dist/v2/features/operation/index.d.ts +3 -0
- package/dist/v2/features/operation/index.d.ts.map +1 -0
- package/dist/v2/features/operation/index.js +4 -0
- package/dist/v2/features/settings/Settings.test.d.ts +2 -0
- package/dist/v2/features/settings/Settings.test.d.ts.map +1 -0
- package/dist/v2/features/settings/Settings.vue.d.ts +22 -0
- package/dist/v2/features/settings/Settings.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/Settings.vue.js +268 -0
- package/dist/v2/features/settings/Settings.vue2.js +4 -0
- package/dist/v2/features/settings/components/Appearance.vue.d.ts +10 -0
- package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/components/Appearance.vue.js +88 -0
- package/dist/v2/features/settings/components/Appearance.vue2.js +4 -0
- package/dist/v2/features/settings/components/Section.vue.d.ts +14 -0
- package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/components/Section.vue.js +24 -0
- package/dist/v2/features/settings/components/Section.vue2.js +4 -0
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +9 -0
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -0
- package/dist/v2/features/settings/helpers/get-theme-colors.js +17 -0
- package/dist/v2/features/settings/index.d.ts +2 -0
- package/dist/v2/features/settings/index.d.ts.map +1 -0
- package/dist/v2/features/settings/index.js +4 -0
- package/dist/v2/hooks/use-document-watcher.d.ts +28 -0
- package/dist/v2/hooks/use-document-watcher.d.ts.map +1 -0
- package/dist/v2/hooks/use-document-watcher.test.d.ts +2 -0
- package/dist/v2/hooks/use-document-watcher.test.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts +8 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-client-events.js +13 -0
- package/dist/v2/plugins.d.ts +44 -0
- package/dist/v2/plugins.d.ts.map +1 -0
- package/dist/v2/types/layout.d.ts +10 -0
- package/dist/v2/types/layout.d.ts.map +1 -0
- package/dist/views/Collection/Collection.vue2.js +6 -6
- package/dist/views/Collection/CollectionCookies.vue2.js +3 -3
- package/dist/views/Collection/CollectionEnvironment.vue2.js +12 -13
- package/dist/views/Collection/CollectionScripts.vue2.js +3 -3
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.js +42 -62
- package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServers.vue2.js +43 -50
- package/dist/views/Collection/CollectionSettings.vue.js +2 -2
- package/dist/views/Collection/CollectionSettings.vue2.js +5 -6
- package/dist/views/Collection/CollectionSync.vue2.js +3 -3
- package/dist/views/Collection/components/EnvironmentForm.vue2.js +10 -12
- package/dist/views/Collection/components/MarkdownInput.vue2.js +2 -4
- package/dist/views/Cookies/CookieModal.vue2.js +6 -6
- package/dist/views/Cookies/Cookies.vue2.js +6 -6
- package/dist/views/Environment/Environment.vue2.js +5 -6
- package/dist/views/Environment/EnvironmentModal.vue.js +13 -14
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +8 -9
- 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 +79 -80
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +10 -11
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +44 -55
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +10 -12
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +39 -44
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +96 -78
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +3 -3
- package/dist/views/Request/RequestSection/RequestParams.vue.js +2 -3
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +55 -55
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +15 -17
- package/dist/views/Request/RequestSidebar.vue2.js +7 -8
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +31 -32
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +13 -16
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +11 -13
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +4 -5
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +4 -5
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +11 -13
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +7 -8
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +11 -14
- package/dist/views/Request/libs/oauth2.d.ts +1 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +40 -42
- package/dist/views/Settings/components/SettingsAppearance.vue.js +8 -11
- package/package.json +52 -27
- package/dist/hooks/useKeyMap.d.ts +0 -2
- package/dist/hooks/useKeyMap.d.ts.map +0 -1
- package/dist/hooks/useKeyMap.js +0 -9
- package/dist/router.d.ts +0 -8
- package/dist/router.d.ts.map +0 -1
- package/dist/router.js +0 -20
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as _, createBlock as i, openBlock as u, withCtx as n, createVNode as r, createElementBlock as b, createTextVNode as f, toDisplayString as c, Fragment as g, renderList as z, normalizeClass as v, unref as s, createCommentVNode as k, createElementVNode as p } from "vue";
|
|
2
2
|
import { ScalarTooltip as q, ScalarIcon as B, ScalarButton as R } from "@scalar/components";
|
|
3
3
|
import { ScalarIconTrash as D } from "@scalar/icons";
|
|
4
4
|
import { RouterLink as E } from "vue-router";
|
|
@@ -13,7 +13,7 @@ import j from "./RequestTableTooltip.vue.js";
|
|
|
13
13
|
const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify-end overflow-hidden p-1" }, O = ["onClick"], A = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "p-0.5"
|
|
16
|
-
}, oe = /* @__PURE__ */
|
|
16
|
+
}, oe = /* @__PURE__ */ _({
|
|
17
17
|
__name: "RequestTable",
|
|
18
18
|
props: {
|
|
19
19
|
items: {},
|
|
@@ -29,14 +29,14 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["updateRow", "toggleRow", "addRow", "deleteRow", "inputFocus", "inputBlur", "uploadFile", "removeFile"],
|
|
31
31
|
setup(x, { emit: F }) {
|
|
32
|
-
const m = x, t = F,
|
|
32
|
+
const m = x, t = F, U = ["", "", "36px"], w = (e, o, l) => {
|
|
33
33
|
t("updateRow", e, o, l);
|
|
34
|
-
},
|
|
34
|
+
}, S = (e) => {
|
|
35
35
|
t("uploadFile", e);
|
|
36
|
-
},
|
|
36
|
+
}, T = (e) => Array.isArray(e.default) && e.default.length === 1 ? e.default[0] : e.default, I = (e) => !!(e.key || e.value);
|
|
37
37
|
return (e, o) => (u(), i(G, {
|
|
38
38
|
class: "group/table flex-1",
|
|
39
|
-
columns:
|
|
39
|
+
columns: U
|
|
40
40
|
}, {
|
|
41
41
|
default: n(() => [
|
|
42
42
|
r($, { class: "sr-only !block" }, {
|
|
@@ -93,9 +93,8 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
|
|
|
93
93
|
_: 1
|
|
94
94
|
})
|
|
95
95
|
]),
|
|
96
|
-
_:
|
|
97
|
-
|
|
98
|
-
}, 1032, ["to"])) : (u(), i(N, {
|
|
96
|
+
_: 1
|
|
97
|
+
}, 8, ["to"])) : (u(), i(N, {
|
|
99
98
|
key: 1,
|
|
100
99
|
class: "!border-r",
|
|
101
100
|
disabled: m.hasCheckboxDisabled,
|
|
@@ -155,7 +154,7 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
|
|
|
155
154
|
"onUpdate:modelValue": (a) => t("updateRow", d, "value", a)
|
|
156
155
|
}, {
|
|
157
156
|
icon: n(() => [
|
|
158
|
-
|
|
157
|
+
I(l) && !l.required ? (u(), i(s(R), {
|
|
159
158
|
key: 0,
|
|
160
159
|
class: v([{
|
|
161
160
|
"-mr-0.5": s(h)(l)
|
|
@@ -167,11 +166,11 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
|
|
|
167
166
|
default: n(() => [
|
|
168
167
|
r(s(D), { class: "size-3.5" })
|
|
169
168
|
]),
|
|
170
|
-
_:
|
|
171
|
-
},
|
|
169
|
+
_: 1
|
|
170
|
+
}, 8, ["class", "onClick"])) : k("", !0),
|
|
172
171
|
s(h)(l) ? (u(), i(j, {
|
|
173
172
|
key: 1,
|
|
174
|
-
item: { ...l, default:
|
|
173
|
+
item: { ...l, default: T(l) }
|
|
175
174
|
}, null, 8, ["item"])) : k("", !0)
|
|
176
175
|
]),
|
|
177
176
|
_: 2
|
|
@@ -198,7 +197,7 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
|
|
|
198
197
|
class: "bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",
|
|
199
198
|
size: "sm",
|
|
200
199
|
variant: "outlined",
|
|
201
|
-
onClick: (a) =>
|
|
200
|
+
onClick: (a) => S(d)
|
|
202
201
|
}, {
|
|
203
202
|
default: n(() => [
|
|
204
203
|
o[5] || (o[5] = p("span", null, "Upload File", -1)),
|
|
@@ -209,9 +208,8 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
|
|
|
209
208
|
thickness: "2.5"
|
|
210
209
|
})
|
|
211
210
|
]),
|
|
212
|
-
_:
|
|
213
|
-
|
|
214
|
-
}, 1032, ["onClick"])
|
|
211
|
+
_: 1
|
|
212
|
+
}, 8, ["onClick"])
|
|
215
213
|
]))
|
|
216
214
|
]),
|
|
217
215
|
_: 2
|
|
@@ -315,20 +315,19 @@ const je = { class: "bg-b-1 sticky top-0 z-20 flex h-12 items-center px-3" }, Je
|
|
|
315
315
|
}]),
|
|
316
316
|
onClick: se
|
|
317
317
|
}, {
|
|
318
|
-
default: d(() => e[12] || (e[12] = [
|
|
319
|
-
D(" Import Collection ")
|
|
320
|
-
])),
|
|
321
|
-
_: 1
|
|
322
|
-
__: [12]
|
|
318
|
+
default: d(() => [...e[12] || (e[12] = [
|
|
319
|
+
D(" Import Collection ", -1)
|
|
320
|
+
])]),
|
|
321
|
+
_: 1
|
|
323
322
|
}, 8, ["class"])) : m("", !0),
|
|
324
323
|
t(l) !== "modal" ? (a(), u(Le, {
|
|
325
324
|
key: 2,
|
|
326
325
|
click: t(k).commandPalette.emit,
|
|
327
326
|
hotkey: "K"
|
|
328
327
|
}, {
|
|
329
|
-
title: d(() => e[13] || (e[13] = [
|
|
330
|
-
D(" Add Item ")
|
|
331
|
-
])),
|
|
328
|
+
title: d(() => [...e[13] || (e[13] = [
|
|
329
|
+
D(" Add Item ", -1)
|
|
330
|
+
])]),
|
|
332
331
|
_: 1
|
|
333
332
|
}, 8, ["click"])) : m("", !0)
|
|
334
333
|
], 2)
|
|
@@ -2,7 +2,7 @@ import t from "./RequestSidebarItem.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4f5a9d1f"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
f as default
|
|
8
8
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as re, useCssVars as ue, computed as v, ref as de, resolveComponent as pe, createElementBlock as C, createCommentVNode as p, openBlock as u, normalizeClass as g, unref as n, createVNode as
|
|
1
|
+
import { defineComponent as re, useCssVars as ue, computed as v, ref as de, resolveComponent as pe, createElementBlock as C, createCommentVNode as p, openBlock as u, normalizeClass as g, unref as n, createVNode as c, withCtx as m, createBlock as f, withModifiers as h, createElementVNode as s, toDisplayString as j, createTextVNode as B, renderSlot as L, Fragment as fe, renderList as ce, nextTick as me } from "vue";
|
|
2
2
|
import { ScalarButton as k, ScalarIcon as b, ScalarSidebarGroupToggle as G, ScalarTooltip as K } from "@scalar/components";
|
|
3
3
|
import { Draggable as ve } from "@scalar/draggable";
|
|
4
4
|
import { shouldIgnoreEntity as J } from "@scalar/oas-utils/helpers";
|
|
5
5
|
import { useRouter as ge, RouterLink as Q } from "vue-router";
|
|
6
6
|
import { useLayout as be } from "../../hooks/useLayout.js";
|
|
7
7
|
import { useSidebar as ye } from "../../hooks/useSidebar.js";
|
|
8
|
-
import { useActiveEntities as he } from "../../store/active-entities.js";
|
|
9
8
|
import { PathId as R } from "../../routes.js";
|
|
9
|
+
import { useActiveEntities as he } from "../../store/active-entities.js";
|
|
10
10
|
import xe from "../../components/HttpMethod/HttpMethod.vue.js";
|
|
11
11
|
import { getModifiers as ke } from "../../libs/hot-keys.js";
|
|
12
12
|
import { useWorkspace as we } from "../../store/store.js";
|
|
@@ -28,8 +28,8 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
28
28
|
emits: ["onDragEnd", "newTab", "openMenu"],
|
|
29
29
|
setup(o, { emit: X }) {
|
|
30
30
|
ue((t) => ({
|
|
31
|
-
|
|
32
|
-
"
|
|
31
|
+
"0bed2d4e": te.value,
|
|
32
|
+
"57ee1db0": ie.value
|
|
33
33
|
}));
|
|
34
34
|
const Z = X, { activeCollection: _, activeRequest: A, activeRouterParams: ee, activeWorkspace: x } = he(), {
|
|
35
35
|
collections: q,
|
|
@@ -165,7 +165,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
165
165
|
n(d) === "modal" && t.parentUids.length > 1 || n(d) !== "modal" && t.parentUids.length ? "before:bg-border indent-border-line-offset mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-[calc(.75rem_+_.5px)] before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full" : ""
|
|
166
166
|
]])
|
|
167
167
|
}, [
|
|
168
|
-
|
|
168
|
+
c(n(ve), {
|
|
169
169
|
id: i.value.entity.uid,
|
|
170
170
|
ref_key: "draggableRef",
|
|
171
171
|
ref: z,
|
|
@@ -178,7 +178,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
178
178
|
onOnDragEnd: e[12] || (e[12] = (...l) => t.$emit("onDragEnd", ...l))
|
|
179
179
|
}, {
|
|
180
180
|
default: m(() => [
|
|
181
|
-
(i.value.entity.type === "request" || i.value.entity.type === "requestExample") && i.value.to ? (u(),
|
|
181
|
+
(i.value.entity.type === "request" || i.value.entity.type === "requestExample") && i.value.to ? (u(), f(n(Q), {
|
|
182
182
|
key: 0,
|
|
183
183
|
class: "group no-underline",
|
|
184
184
|
to: i.value.to,
|
|
@@ -197,7 +197,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
197
197
|
s("span", qe, j(i.value.title || "Untitled"), 1),
|
|
198
198
|
s("div", Ue, [
|
|
199
199
|
s("div", De, [
|
|
200
|
-
n(d) !== "modal" ? (u(),
|
|
200
|
+
n(d) !== "modal" ? (u(), f(n(k), {
|
|
201
201
|
key: 0,
|
|
202
202
|
class: g(["hover:bg-b-3 hidden aspect-square h-fit px-0.5 py-0 opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100", {
|
|
203
203
|
flex: t.menuItem?.item?.entity.uid === i.value.entity.uid && t.menuItem.open
|
|
@@ -216,7 +216,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
216
216
|
))
|
|
217
217
|
}, {
|
|
218
218
|
default: m(() => [
|
|
219
|
-
|
|
219
|
+
c(n(b), {
|
|
220
220
|
icon: "Ellipses",
|
|
221
221
|
size: "md"
|
|
222
222
|
})
|
|
@@ -225,9 +225,9 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
225
225
|
}, 8, ["class"])) : p("", !0)
|
|
226
226
|
]),
|
|
227
227
|
s("span", Ie, [
|
|
228
|
-
e[13] || (e[13] = B(" ")),
|
|
228
|
+
e[13] || (e[13] = B(" ", -1)),
|
|
229
229
|
e[14] || (e[14] = s("span", { class: "sr-only" }, "HTTP Method:", -1)),
|
|
230
|
-
i.value.method ? (u(),
|
|
230
|
+
i.value.method ? (u(), f(n(xe), {
|
|
231
231
|
key: 0,
|
|
232
232
|
class: "font-bold",
|
|
233
233
|
method: i.value.method
|
|
@@ -237,7 +237,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
237
237
|
], 2)
|
|
238
238
|
]),
|
|
239
239
|
_: 1
|
|
240
|
-
}, 8, ["to"])) : (n(d) !== "modal" || t.parentUids.length) && i.value.entity.type === "collection" && i.value.to ? (u(),
|
|
240
|
+
}, 8, ["to"])) : (n(d) !== "modal" || t.parentUids.length) && i.value.entity.type === "collection" && i.value.to ? (u(), f(n(Q), {
|
|
241
241
|
key: 1,
|
|
242
242
|
"aria-expanded": !!n(w)[i.value.entity.uid],
|
|
243
243
|
class: g(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 no-underline focus-visible:z-10", [
|
|
@@ -255,12 +255,12 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
255
255
|
onClick: e[2] || (e[2] = h((l) => n(V)(i.value.entity.uid), ["stop", "prevent"]))
|
|
256
256
|
}, [
|
|
257
257
|
L(t.$slots, "leftIcon", {}, () => [
|
|
258
|
-
|
|
258
|
+
c(n(G), {
|
|
259
259
|
class: "text-c-3 shrink-0",
|
|
260
260
|
open: !!n(w)[i.value.entity.uid]
|
|
261
261
|
}, null, 8, ["open"])
|
|
262
262
|
], !0),
|
|
263
|
-
e[15] || (e[15] = B(" "))
|
|
263
|
+
e[15] || (e[15] = B(" ", -1))
|
|
264
264
|
]),
|
|
265
265
|
s("div", Ce, [
|
|
266
266
|
s("span", Re, j(i.value.title), 1),
|
|
@@ -271,7 +271,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
271
271
|
hidden: !t.menuItem.open || t.menuItem.item?.entity.uid !== i.value.entity.uid
|
|
272
272
|
}])
|
|
273
273
|
}, [
|
|
274
|
-
n(d) !== "modal" && !D.value || D.value && H.value ? (u(),
|
|
274
|
+
n(d) !== "modal" && !D.value || D.value && H.value ? (u(), f(n(k), {
|
|
275
275
|
key: 0,
|
|
276
276
|
class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
|
|
277
277
|
size: "sm",
|
|
@@ -287,14 +287,14 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
287
287
|
))
|
|
288
288
|
}, {
|
|
289
289
|
default: m(() => [
|
|
290
|
-
|
|
290
|
+
c(n(b), {
|
|
291
291
|
icon: "Ellipses",
|
|
292
292
|
size: "md"
|
|
293
293
|
})
|
|
294
294
|
]),
|
|
295
295
|
_: 1
|
|
296
296
|
})) : p("", !0),
|
|
297
|
-
n(d) !== "modal" ? (u(),
|
|
297
|
+
n(d) !== "modal" ? (u(), f(n(k), {
|
|
298
298
|
key: 1,
|
|
299
299
|
class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
|
|
300
300
|
size: "sm",
|
|
@@ -302,7 +302,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
302
302
|
onClick: e[4] || (e[4] = h((l) => S(i.value.entity.uid), ["stop", "prevent"]))
|
|
303
303
|
}, {
|
|
304
304
|
default: m(() => [
|
|
305
|
-
|
|
305
|
+
c(n(b), {
|
|
306
306
|
icon: "Add",
|
|
307
307
|
size: "md",
|
|
308
308
|
thickness: "2"
|
|
@@ -311,7 +311,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
311
311
|
_: 1
|
|
312
312
|
})) : p("", !0)
|
|
313
313
|
], 2),
|
|
314
|
-
i.value.watchMode ? (u(),
|
|
314
|
+
i.value.watchMode ? (u(), f(n(K), {
|
|
315
315
|
key: 0,
|
|
316
316
|
placement: "right",
|
|
317
317
|
offset: 12,
|
|
@@ -319,7 +319,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
319
319
|
}, {
|
|
320
320
|
default: m(() => [
|
|
321
321
|
s("button", Me, [
|
|
322
|
-
|
|
322
|
+
c(n(b), {
|
|
323
323
|
class: g(["ml-0.5 text-sm", Y.value]),
|
|
324
324
|
icon: "Watch",
|
|
325
325
|
size: "md",
|
|
@@ -343,12 +343,12 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
343
343
|
}, [
|
|
344
344
|
s("span", $e, [
|
|
345
345
|
L(t.$slots, "leftIcon", {}, () => [
|
|
346
|
-
|
|
346
|
+
c(n(G), {
|
|
347
347
|
class: "text-c-3 hover:text-c-1 shrink-0",
|
|
348
348
|
open: !!n(w)[i.value.entity.uid]
|
|
349
349
|
}, null, 8, ["open"])
|
|
350
350
|
], !0),
|
|
351
|
-
e[17] || (e[17] = B(" "))
|
|
351
|
+
e[17] || (e[17] = B(" ", -1))
|
|
352
352
|
]),
|
|
353
353
|
s("div", ze, [
|
|
354
354
|
s("span", Se, j(i.value.title), 1),
|
|
@@ -359,7 +359,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
359
359
|
hidden: !t.menuItem.open || t.menuItem.item?.entity.uid !== i.value.entity.uid
|
|
360
360
|
}])
|
|
361
361
|
}, [
|
|
362
|
-
n(d) !== "modal" && !D.value || D.value && H.value ? (u(),
|
|
362
|
+
n(d) !== "modal" && !D.value || D.value && H.value ? (u(), f(n(k), {
|
|
363
363
|
key: 0,
|
|
364
364
|
class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
|
|
365
365
|
size: "sm",
|
|
@@ -375,14 +375,14 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
375
375
|
))
|
|
376
376
|
}, {
|
|
377
377
|
default: m(() => [
|
|
378
|
-
|
|
378
|
+
c(n(b), {
|
|
379
379
|
icon: "Ellipses",
|
|
380
380
|
size: "md"
|
|
381
381
|
})
|
|
382
382
|
]),
|
|
383
383
|
_: 1
|
|
384
384
|
})) : p("", !0),
|
|
385
|
-
n(d) !== "modal" ? (u(),
|
|
385
|
+
n(d) !== "modal" ? (u(), f(n(k), {
|
|
386
386
|
key: 1,
|
|
387
387
|
class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
|
|
388
388
|
size: "sm",
|
|
@@ -390,7 +390,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
390
390
|
onClick: e[6] || (e[6] = h((l) => S(i.value.entity.uid), ["stop", "prevent"]))
|
|
391
391
|
}, {
|
|
392
392
|
default: m(() => [
|
|
393
|
-
|
|
393
|
+
c(n(b), {
|
|
394
394
|
icon: "Add",
|
|
395
395
|
size: "md",
|
|
396
396
|
thickness: "2"
|
|
@@ -399,7 +399,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
399
399
|
_: 1
|
|
400
400
|
})) : p("", !0)
|
|
401
401
|
], 2),
|
|
402
|
-
i.value.watchMode ? (u(),
|
|
402
|
+
i.value.watchMode ? (u(), f(n(K), {
|
|
403
403
|
key: 0,
|
|
404
404
|
content: "Watching: {{ item.documentUrl }}",
|
|
405
405
|
placement: "right",
|
|
@@ -407,7 +407,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
407
407
|
}, {
|
|
408
408
|
default: m(() => [
|
|
409
409
|
s("button", Be, [
|
|
410
|
-
|
|
410
|
+
c(n(b), {
|
|
411
411
|
class: g(["ml-0.5 text-sm", Y.value]),
|
|
412
412
|
icon: "Watch",
|
|
413
413
|
size: "md",
|
|
@@ -422,7 +422,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
422
422
|
])
|
|
423
423
|
], 10, Ee)) : p("", !0),
|
|
424
424
|
ne.value ? (u(), C("ul", We, [
|
|
425
|
-
(u(!0), C(
|
|
425
|
+
(u(!0), C(fe, null, ce(i.value.children, (l) => (u(), f(r, {
|
|
426
426
|
key: l,
|
|
427
427
|
isDraggable: !n(M)[l],
|
|
428
428
|
isDroppable: oe,
|
|
@@ -433,21 +433,20 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
|
|
|
433
433
|
onOnDragEnd: e[9] || (e[9] = (...a) => t.$emit("onDragEnd", ...a)),
|
|
434
434
|
onOpenMenu: e[10] || (e[10] = (a) => t.$emit("openMenu", a))
|
|
435
435
|
}, null, 8, ["isDraggable", "menuItem", "parentUids", "uid"]))), 128)),
|
|
436
|
-
i.value.children.length === 0 ? (u(),
|
|
436
|
+
i.value.children.length === 0 ? (u(), f(n(k), {
|
|
437
437
|
key: 0,
|
|
438
438
|
class: g(["text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 text-xs", t.parentUids.length ? "pl-9" : ""]),
|
|
439
439
|
variant: "ghost",
|
|
440
440
|
onClick: e[11] || (e[11] = (l) => S(i.value.entity.uid))
|
|
441
441
|
}, {
|
|
442
442
|
default: m(() => [
|
|
443
|
-
|
|
443
|
+
c(n(b), {
|
|
444
444
|
icon: "Add",
|
|
445
445
|
size: "sm"
|
|
446
446
|
}),
|
|
447
447
|
e[19] || (e[19] = s("span", null, "Add Request", -1))
|
|
448
448
|
]),
|
|
449
|
-
_: 1
|
|
450
|
-
__: [19]
|
|
449
|
+
_: 1
|
|
451
450
|
}, 8, ["class"])) : p("", !0)
|
|
452
451
|
])) : p("", !0)
|
|
453
452
|
]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./RequestSidebarItemMenu.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ e(t, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ e(t, [["__scopeId", "data-v-01a1ab71"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -4,9 +4,9 @@ import { useRouter as X } from "vue-router";
|
|
|
4
4
|
import b from "../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
|
|
5
5
|
import Y from "../../components/Sidebar/Actions/EditSidebarListCollection.vue.js";
|
|
6
6
|
import Z from "../../components/Sidebar/Actions/EditSidebarListElement.vue.js";
|
|
7
|
+
import { PathId as u } from "../../routes.js";
|
|
7
8
|
import { useActiveEntities as _ } from "../../store/active-entities.js";
|
|
8
9
|
import { createInitialRequest as ee } from "../../store/requests.js";
|
|
9
|
-
import { PathId as u } from "../../routes.js";
|
|
10
10
|
import { useWorkspace as te } from "../../store/store.js";
|
|
11
11
|
const fe = /* @__PURE__ */ L({
|
|
12
12
|
__name: "RequestSidebarItemMenu",
|
|
@@ -15,9 +15,9 @@ const fe = /* @__PURE__ */ L({
|
|
|
15
15
|
},
|
|
16
16
|
emits: ["closeMenu", "toggleWatchMode", "clearDrafts"],
|
|
17
17
|
setup(x, { emit: z }) {
|
|
18
|
-
const s = x,
|
|
18
|
+
const s = x, M = z, { replace: k } = X(), {
|
|
19
19
|
activeRouterParams: E,
|
|
20
|
-
activeWorkspaceCollections:
|
|
20
|
+
activeWorkspaceCollections: y,
|
|
21
21
|
activeWorkspaceRequests: N
|
|
22
22
|
} = _(), { events: S, requestMutators: T } = te(), d = $(), v = $(), g = $(), A = () => S.commandPalette.emit({
|
|
23
23
|
commandName: "Add Example",
|
|
@@ -28,7 +28,7 @@ const fe = /* @__PURE__ */ L({
|
|
|
28
28
|
s.menuItem.item?.edit(t, e), d.hide();
|
|
29
29
|
}, B = () => {
|
|
30
30
|
if (s.menuItem.item?.delete(), !N.value.length) {
|
|
31
|
-
const { request: t } = ee(), e =
|
|
31
|
+
const { request: t } = ee(), e = y.value.find(
|
|
32
32
|
(m) => m.info?.title === "Drafts"
|
|
33
33
|
);
|
|
34
34
|
e && (T.add(t, e.uid), k({
|
|
@@ -48,8 +48,8 @@ const fe = /* @__PURE__ */ L({
|
|
|
48
48
|
params: {
|
|
49
49
|
[u.Request]: "default"
|
|
50
50
|
}
|
|
51
|
-
}),
|
|
52
|
-
const t =
|
|
51
|
+
}), y.value[0]) {
|
|
52
|
+
const t = y.value[0].requests[0];
|
|
53
53
|
k({
|
|
54
54
|
name: "request",
|
|
55
55
|
params: {
|
|
@@ -59,15 +59,15 @@ const fe = /* @__PURE__ */ L({
|
|
|
59
59
|
}
|
|
60
60
|
v.hide();
|
|
61
61
|
}, f = P(null);
|
|
62
|
-
F([() => s.menuItem.open, f],
|
|
62
|
+
F([() => s.menuItem.open, f], ([t]) => {
|
|
63
63
|
t && f.value?.$parent?.$el && f.value.$parent.$el.focus();
|
|
64
64
|
});
|
|
65
|
-
const h = () => s.menuItem.open &&
|
|
65
|
+
const h = () => s.menuItem.open && M("closeMenu");
|
|
66
66
|
K(() => window.addEventListener("click", h)), j(() => window.removeEventListener("click", h));
|
|
67
67
|
const U = () => {
|
|
68
|
-
|
|
68
|
+
M("toggleWatchMode", s.menuItem.item);
|
|
69
69
|
}, V = () => {
|
|
70
|
-
|
|
70
|
+
M("clearDrafts"), g.hide();
|
|
71
71
|
}, D = G(() => s.menuItem.item?.title === "Drafts");
|
|
72
72
|
return (t, e) => (l(), w(C, null, [
|
|
73
73
|
t.menuItem.targetRef && t.menuItem.open ? (l(), o(n(O), {
|
|
@@ -95,8 +95,7 @@ const fe = /* @__PURE__ */ L({
|
|
|
95
95
|
}),
|
|
96
96
|
e[8] || (e[8] = c("span", null, "Add Example", -1))
|
|
97
97
|
]),
|
|
98
|
-
_: 1
|
|
99
|
-
__: [8]
|
|
98
|
+
_: 1
|
|
100
99
|
})) : r("", !0),
|
|
101
100
|
D.value ? r("", !0) : (l(), o(n(p), {
|
|
102
101
|
key: 1,
|
|
@@ -154,8 +153,7 @@ const fe = /* @__PURE__ */ L({
|
|
|
154
153
|
}),
|
|
155
154
|
e[9] || (e[9] = c("span", null, "Delete", -1))
|
|
156
155
|
]),
|
|
157
|
-
_: 1
|
|
158
|
-
__: [9]
|
|
156
|
+
_: 1
|
|
159
157
|
})),
|
|
160
158
|
D.value ? (l(), o(n(p), {
|
|
161
159
|
key: 4,
|
|
@@ -171,8 +169,7 @@ const fe = /* @__PURE__ */ L({
|
|
|
171
169
|
}),
|
|
172
170
|
e[10] || (e[10] = c("span", null, "Clear Drafts", -1))
|
|
173
171
|
]),
|
|
174
|
-
_: 1
|
|
175
|
-
__: [10]
|
|
172
|
+
_: 1
|
|
176
173
|
})) : r("", !0)
|
|
177
174
|
]),
|
|
178
175
|
_: 1
|
|
@@ -26,9 +26,9 @@ const h = {
|
|
|
26
26
|
defaultOpen: !1,
|
|
27
27
|
itemCount: s.headers.length
|
|
28
28
|
}, {
|
|
29
|
-
title: e(() => t[0] || (t[0] = [
|
|
30
|
-
n("Request Headers")
|
|
31
|
-
])),
|
|
29
|
+
title: e(() => [...t[0] || (t[0] = [
|
|
30
|
+
n("Request Headers", -1)
|
|
31
|
+
])]),
|
|
32
32
|
default: e(() => [
|
|
33
33
|
s.headers.length ? (r(), l("div", h, [
|
|
34
34
|
a(b, {
|
|
@@ -39,18 +39,16 @@ const h = {
|
|
|
39
39
|
a(c, { class: "sr-only !block" }, {
|
|
40
40
|
default: e(() => [
|
|
41
41
|
a(u(_), null, {
|
|
42
|
-
default: e(() => t[1] || (t[1] = [
|
|
43
|
-
n("Header Key")
|
|
44
|
-
])),
|
|
45
|
-
_: 1
|
|
46
|
-
__: [1]
|
|
42
|
+
default: e(() => [...t[1] || (t[1] = [
|
|
43
|
+
n("Header Key", -1)
|
|
44
|
+
])]),
|
|
45
|
+
_: 1
|
|
47
46
|
}),
|
|
48
47
|
a(u(_), null, {
|
|
49
|
-
default: e(() => t[2] || (t[2] = [
|
|
50
|
-
n("Header Value")
|
|
51
|
-
])),
|
|
52
|
-
_: 1
|
|
53
|
-
__: [2]
|
|
48
|
+
default: e(() => [...t[2] || (t[2] = [
|
|
49
|
+
n("Header Value", -1)
|
|
50
|
+
])]),
|
|
51
|
+
_: 1
|
|
54
52
|
})
|
|
55
53
|
]),
|
|
56
54
|
_: 1
|
|
@@ -55,11 +55,10 @@ const D = {
|
|
|
55
55
|
type: a(i).essence
|
|
56
56
|
}, null, 8, ["alpha", "mode", "src", "type"])) : r("", !0),
|
|
57
57
|
!e.value?.raw && !e.value?.preview ? (t(), n(E, { key: 2 }, {
|
|
58
|
-
default: d(() => u[1] || (u[1] = [
|
|
59
|
-
h(" Binary file ")
|
|
60
|
-
])),
|
|
61
|
-
_: 1
|
|
62
|
-
__: [1]
|
|
58
|
+
default: d(() => [...u[1] || (u[1] = [
|
|
59
|
+
h(" Binary file ", -1)
|
|
60
|
+
])]),
|
|
61
|
+
_: 1
|
|
63
62
|
})) : r("", !0)
|
|
64
63
|
])) : r("", !0)
|
|
65
64
|
]),
|
|
@@ -51,11 +51,10 @@ const c = ["src"], k = ["src", "type"], w = ["src", "type"], B = ["data", "type"
|
|
|
51
51
|
onError: o[3] || (o[3] = (t) => r.value = !0)
|
|
52
52
|
}, null, 40, B))
|
|
53
53
|
], 2)) : (s(), y(v, { key: 1 }, {
|
|
54
|
-
default: f(() => o[4] || (o[4] = [
|
|
55
|
-
m("Preview unavailable")
|
|
56
|
-
])),
|
|
57
|
-
_: 1
|
|
58
|
-
__: [4]
|
|
54
|
+
default: f(() => [...o[4] || (o[4] = [
|
|
55
|
+
m("Preview unavailable", -1)
|
|
56
|
+
])]),
|
|
57
|
+
_: 1
|
|
59
58
|
}));
|
|
60
59
|
}
|
|
61
60
|
});
|
|
@@ -18,7 +18,7 @@ const R = /* @__PURE__ */ c({
|
|
|
18
18
|
});
|
|
19
19
|
return (w, t) => (x(), f(_, { class: "!max-h-100% response-body-virtual overflow-x-auto" }, u({
|
|
20
20
|
title: r(() => [
|
|
21
|
-
t[0] || (t[0] = y("Body"))
|
|
21
|
+
t[0] || (t[0] = y("Body", -1))
|
|
22
22
|
]),
|
|
23
23
|
default: r(() => [
|
|
24
24
|
t[1] || (t[1] = h("div", { class: "font-code text-xxs rounded-t border border-b-0 px-2.5 py-1.5" }, " This response body is massive! Syntax highlighting won't work here. ", -1)),
|
|
@@ -13,9 +13,9 @@ const d = {
|
|
|
13
13
|
},
|
|
14
14
|
setup(x) {
|
|
15
15
|
return (s, l) => (e(), r(k, { defaultOpen: !1 }, {
|
|
16
|
-
title: t(() => l[0] || (l[0] = [
|
|
17
|
-
p("Cookies")
|
|
18
|
-
])),
|
|
16
|
+
title: t(() => [...l[0] || (l[0] = [
|
|
17
|
+
p("Cookies", -1)
|
|
18
|
+
])]),
|
|
19
19
|
default: t(() => [
|
|
20
20
|
(e(), n(a, { key: 0 }, [
|
|
21
21
|
s.cookies.length ? (e(), r(u, {
|
|
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
33
33
|
}));
|
|
34
34
|
}, f = (o) => {
|
|
35
35
|
o?.createNew && g.name === "request" && d();
|
|
36
|
-
}, v = "2.
|
|
36
|
+
}, v = "2.9.0";
|
|
37
37
|
return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (o, e) => (i(), l("div", W, [
|
|
38
38
|
s("div", {
|
|
39
39
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
|
@@ -74,7 +74,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
74
74
|
type: "button",
|
|
75
75
|
onClick: e[0] || (e[0] = (k) => t(a).commandPalette.emit())
|
|
76
76
|
}, [
|
|
77
|
-
e[5] || (e[5] = c(" Get Started ")),
|
|
77
|
+
e[5] || (e[5] = c(" Get Started ", -1)),
|
|
78
78
|
u(t(p), { hotkey: "k" })
|
|
79
79
|
])) : m("", !0),
|
|
80
80
|
t(n) === "desktop" ? (i(), l("button", {
|
|
@@ -83,7 +83,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
83
83
|
type: "button",
|
|
84
84
|
onClick: e[1] || (e[1] = (k) => d())
|
|
85
85
|
}, [
|
|
86
|
-
e[6] || (e[6] = c(" New Request ")),
|
|
86
|
+
e[6] || (e[6] = c(" New Request ", -1)),
|
|
87
87
|
u(t(p), { hotkey: "N" })
|
|
88
88
|
])) : m("", !0),
|
|
89
89
|
s("button", {
|
|
@@ -91,7 +91,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
91
91
|
type: "button",
|
|
92
92
|
onClick: e[2] || (e[2] = (k) => t(a).executeRequest.emit())
|
|
93
93
|
}, [
|
|
94
|
-
e[7] || (e[7] = c(" Send Request ")),
|
|
94
|
+
e[7] || (e[7] = c(" Send Request ", -1)),
|
|
95
95
|
u(t(p), { hotkey: "↵" })
|
|
96
96
|
])
|
|
97
97
|
])
|
|
@@ -26,9 +26,9 @@ const h = {
|
|
|
26
26
|
defaultOpen: !1,
|
|
27
27
|
itemCount: s.headers.length
|
|
28
28
|
}, {
|
|
29
|
-
title: e(() => r[0] || (r[0] = [
|
|
30
|
-
n("Response Headers")
|
|
31
|
-
])),
|
|
29
|
+
title: e(() => [...r[0] || (r[0] = [
|
|
30
|
+
n("Response Headers", -1)
|
|
31
|
+
])]),
|
|
32
32
|
default: e(() => [
|
|
33
33
|
s.headers.length ? (t(), l("div", h, [
|
|
34
34
|
a(b, {
|
|
@@ -39,18 +39,16 @@ const h = {
|
|
|
39
39
|
a(p, { class: "sr-only !block" }, {
|
|
40
40
|
default: e(() => [
|
|
41
41
|
a(d(_), null, {
|
|
42
|
-
default: e(() => r[1] || (r[1] = [
|
|
43
|
-
n("Header Key")
|
|
44
|
-
])),
|
|
45
|
-
_: 1
|
|
46
|
-
__: [1]
|
|
42
|
+
default: e(() => [...r[1] || (r[1] = [
|
|
43
|
+
n("Header Key", -1)
|
|
44
|
+
])]),
|
|
45
|
+
_: 1
|
|
47
46
|
}),
|
|
48
47
|
a(d(_), null, {
|
|
49
|
-
default: e(() => r[2] || (r[2] = [
|
|
50
|
-
n("Header Value")
|
|
51
|
-
])),
|
|
52
|
-
_: 1
|
|
53
|
-
__: [2]
|
|
48
|
+
default: e(() => [...r[2] || (r[2] = [
|
|
49
|
+
n("Header Value", -1)
|
|
50
|
+
])]),
|
|
51
|
+
_: 1
|
|
54
52
|
})
|
|
55
53
|
]),
|
|
56
54
|
_: 1
|