@scalar/api-client 2.8.1 → 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 +58 -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.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/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 +3 -0
- 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 +3646 -3645
- 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.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +15 -12
- package/dist/libs/create-client.d.ts +2 -2
- package/dist/libs/create-client.d.ts.map +1 -1
- 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/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/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 +1 -1
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +2 -2
- package/dist/store/router-params.d.ts.map +1 -1
- package/dist/style.css +1 -1
- 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 +30 -25
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Settings.test.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Settings.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Document source url if available */
|
|
3
|
+
documentUrl?: string;
|
|
4
|
+
/** Watch mode status if also document url is provided */
|
|
5
|
+
watchMode?: boolean;
|
|
6
|
+
/** Document title */
|
|
7
|
+
title: string;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
deleteDocument: () => any;
|
|
11
|
+
"update:watchMode": (value: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onDeleteDocument?: (() => any) | undefined;
|
|
14
|
+
"onUpdate:watchMode"?: ((value: boolean) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=Settings.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Settings.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Settings.vue"],"names":[],"mappings":"AA4IA,KAAK,WAAW,GAAG;IACjB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;;;;;;;;AAySF,wBAOG"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { defineComponent as b, createElementBlock as a, openBlock as i, Fragment as r, createElementVNode as t, createVNode as n, unref as l, createTextVNode as c, toDisplayString as w, withCtx as m } from "vue";
|
|
2
|
+
import { useModal as h, ScalarToggle as v, ScalarIcon as p, ScalarButton as x, ScalarModal as y } from "@scalar/components";
|
|
3
|
+
import D from "../../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
|
|
4
|
+
const M = { class: "flex flex-col gap-2" }, k = { class: "bg-b-2 rounded-lg border text-sm" }, U = { class: "bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3" }, N = { class: "text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap" }, S = { class: "flex items-center" }, C = ["href"], V = { class: "flex flex-col gap-4" }, B = { class: "flex items-center justify-between rounded-lg border p-3 text-sm" }, I = /* @__PURE__ */ b({
|
|
5
|
+
__name: "Settings",
|
|
6
|
+
props: {
|
|
7
|
+
documentUrl: {},
|
|
8
|
+
watchMode: { type: Boolean },
|
|
9
|
+
title: {}
|
|
10
|
+
},
|
|
11
|
+
emits: ["deleteDocument", "update:watchMode"],
|
|
12
|
+
setup(T, { emit: f }) {
|
|
13
|
+
const u = f, s = h(), g = () => {
|
|
14
|
+
u("deleteDocument"), s.hide();
|
|
15
|
+
};
|
|
16
|
+
return (o, e) => (i(), a(r, null, [
|
|
17
|
+
t("div", M, [
|
|
18
|
+
e[6] || (e[6] = t("div", { class: "flex h-8 items-center" }, [
|
|
19
|
+
t("h3", { class: "font-bold" }, "Features")
|
|
20
|
+
], -1)),
|
|
21
|
+
t("div", k, [
|
|
22
|
+
t("div", U, [
|
|
23
|
+
e[3] || (e[3] = t("div", null, [
|
|
24
|
+
t("h4", null, "Watch Mode"),
|
|
25
|
+
t("p", { class: "text-c-2 mt-1" }, " When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. ")
|
|
26
|
+
], -1)),
|
|
27
|
+
n(l(v), {
|
|
28
|
+
class: "w-4",
|
|
29
|
+
disabled: !o.documentUrl,
|
|
30
|
+
modelValue: o.watchMode ?? !1,
|
|
31
|
+
"onUpdate:modelValue": e[0] || (e[0] = (d) => u("update:watchMode", d))
|
|
32
|
+
}, null, 8, ["disabled", "modelValue"])
|
|
33
|
+
]),
|
|
34
|
+
t("div", N, [
|
|
35
|
+
t("div", S, [
|
|
36
|
+
o.documentUrl ? (i(), a(r, { key: 0 }, [
|
|
37
|
+
e[4] || (e[4] = t("span", { class: "bg-b-2 sticky left-0 pr-2 pl-3" }, "Source", -1)),
|
|
38
|
+
t("a", {
|
|
39
|
+
class: "text-c-2 group rounded pr-3 no-underline hover:underline",
|
|
40
|
+
href: o.documentUrl,
|
|
41
|
+
target: "_blank"
|
|
42
|
+
}, [
|
|
43
|
+
c(w(o.documentUrl) + " ", 1),
|
|
44
|
+
n(l(p), {
|
|
45
|
+
class: "ml-1 hidden w-2.5 group-hover:inline",
|
|
46
|
+
icon: "ExternalLink"
|
|
47
|
+
})
|
|
48
|
+
], 8, C)
|
|
49
|
+
], 64)) : (i(), a(r, { key: 1 }, [
|
|
50
|
+
n(l(p), {
|
|
51
|
+
class: "text-c-2 mr-2 ml-3 w-4",
|
|
52
|
+
icon: "NotAllowed",
|
|
53
|
+
size: "sm"
|
|
54
|
+
}),
|
|
55
|
+
e[5] || (e[5] = t("span", { class: "text-c-2 pr-3" }, " No URL configured. Try importing an OpenAPI document from an URL. ", -1))
|
|
56
|
+
], 64))
|
|
57
|
+
])
|
|
58
|
+
])
|
|
59
|
+
])
|
|
60
|
+
]),
|
|
61
|
+
t("div", V, [
|
|
62
|
+
e[9] || (e[9] = t("h3", { class: "font-bold" }, "Danger Zone", -1)),
|
|
63
|
+
t("div", B, [
|
|
64
|
+
e[8] || (e[8] = t("div", null, [
|
|
65
|
+
t("h4", null, "Delete Collection"),
|
|
66
|
+
t("p", { class: "text-c-2 mt-1" }, " Be careful, my friend. Once deleted, there is no way to recover the collection. ")
|
|
67
|
+
], -1)),
|
|
68
|
+
n(l(x), {
|
|
69
|
+
class: "custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",
|
|
70
|
+
variant: "danger",
|
|
71
|
+
onClick: e[1] || (e[1] = (d) => l(s).show())
|
|
72
|
+
}, {
|
|
73
|
+
default: m(() => [...e[7] || (e[7] = [
|
|
74
|
+
c(" Delete Collection ", -1)
|
|
75
|
+
])]),
|
|
76
|
+
_: 1
|
|
77
|
+
})
|
|
78
|
+
])
|
|
79
|
+
]),
|
|
80
|
+
n(l(y), {
|
|
81
|
+
size: "xxs",
|
|
82
|
+
state: l(s),
|
|
83
|
+
title: `Delete ${o.title}`
|
|
84
|
+
}, {
|
|
85
|
+
default: m(() => [
|
|
86
|
+
n(D, {
|
|
87
|
+
variableName: o.title ?? "",
|
|
88
|
+
warningMessage: "This action cannot be undone.",
|
|
89
|
+
onClose: e[2] || (e[2] = (d) => l(s).hide()),
|
|
90
|
+
onDelete: g
|
|
91
|
+
}, null, 8, ["variableName"])
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
}, 8, ["state", "title"])
|
|
95
|
+
], 64));
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
I as default
|
|
100
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.test.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Tabs.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
type: 'document' | 'workspace';
|
|
3
|
+
};
|
|
4
|
+
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>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=Tabs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Tabs.vue"],"names":[],"mappings":"AAqDA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,GAAG,WAAW,CAAA;CAC/B,CAAC;;AA6GF,wBAMG"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as m, computed as p, createElementBlock as o, openBlock as t, Fragment as u, renderList as d, createBlock as f, unref as h, withCtx as v, createElementVNode as r, normalizeClass as x, toDisplayString as k, capitalize as _ } from "vue";
|
|
2
|
+
import { RouterLink as b } from "vue-router";
|
|
3
|
+
const w = { class: "flex w-full gap-2 border-b pl-1.5 md:ml-1.5 md:pl-0" }, g = ["href", "onClick"], z = /* @__PURE__ */ m({
|
|
4
|
+
__name: "Tabs",
|
|
5
|
+
props: {
|
|
6
|
+
type: {}
|
|
7
|
+
},
|
|
8
|
+
setup(n) {
|
|
9
|
+
const s = p(
|
|
10
|
+
() => n.type === "workspace" ? ["overview", "environment", "cookies", "settings"] : [
|
|
11
|
+
"overview",
|
|
12
|
+
"servers",
|
|
13
|
+
"authentication",
|
|
14
|
+
"environment",
|
|
15
|
+
"cookies",
|
|
16
|
+
"settings"
|
|
17
|
+
]
|
|
18
|
+
);
|
|
19
|
+
return (c, y) => (t(), o("div", w, [
|
|
20
|
+
(t(!0), o(u, null, d(s.value, (e) => (t(), f(h(b), {
|
|
21
|
+
key: e,
|
|
22
|
+
custom: "",
|
|
23
|
+
to: { name: `${c.type}.${e}` }
|
|
24
|
+
}, {
|
|
25
|
+
default: v(({ isActive: i, href: l, navigate: a }) => [
|
|
26
|
+
r("a", {
|
|
27
|
+
class: "-ml-2 flex h-10 cursor-pointer items-center px-2 text-center text-sm font-medium whitespace-nowrap no-underline -outline-offset-1 has-[:focus-visible]:outline",
|
|
28
|
+
href: l,
|
|
29
|
+
onClick: a
|
|
30
|
+
}, [
|
|
31
|
+
r("span", {
|
|
32
|
+
class: x([
|
|
33
|
+
"flex-center hover:text-c-1 h-full border-b",
|
|
34
|
+
i ? "text-c-1 border-c-1" : "text-c-2 hover:text-c-1 border-transparent"
|
|
35
|
+
])
|
|
36
|
+
}, k(_(e)), 3)
|
|
37
|
+
], 8, g)
|
|
38
|
+
]),
|
|
39
|
+
_: 2
|
|
40
|
+
}, 1032, ["to"]))), 128))
|
|
41
|
+
]));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
z as default
|
|
46
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Environments.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/environments/Environments.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Environment as EntitiesEnvironment } from '@scalar/oas-utils/entities/environment';
|
|
2
|
+
import type { EnvVariable } from '../../../store/index.js';
|
|
3
|
+
import { type Environment } from './components/Environment.vue.js';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/** Current selected document name or when null it means workspace level cookies */
|
|
6
|
+
documentName: string | null;
|
|
7
|
+
/** List of all available environments for the selected document */
|
|
8
|
+
environments: Environment[];
|
|
9
|
+
/** TODO: remove when we migrate to the new store */
|
|
10
|
+
environment: EntitiesEnvironment;
|
|
11
|
+
envVariables: EnvVariable[];
|
|
12
|
+
};
|
|
13
|
+
declare var __VLS_11: {};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
icon?: (props: typeof __VLS_11) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
} & {
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=Environments.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Environments.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/environments/Environments.vue"],"names":[],"mappings":"AAqIA,OAAO,KAAK,EAAE,WAAW,IAAI,mBAAmB,EAAE,MAAM,wCAAwC,CAAA;AAKhG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,8BAA8B,CAAA;AAGrC,KAAK,WAAW,GAAG;IACjB,mFAAmF;IACnF,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mEAAmE;IACnE,YAAY,EAAE,WAAW,EAAE,CAAA;IAE3B,oDAAoD;IACpD,WAAW,EAAE,mBAAmB,CAAA;IAChC,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;AAoMF,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA0B7C,QAAA,MAAM,eAAe;;;;;;kFAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { defineComponent as d, createBlock as v, openBlock as s, withCtx as a, createVNode as i, createElementVNode as r, renderSlot as u, createTextVNode as m, unref as p } from "vue";
|
|
2
|
+
import { ScalarIconBracketsCurly as f } from "@scalar/icons";
|
|
3
|
+
import b from "../../../components/ViewLayout/ViewLayout.vue.js";
|
|
4
|
+
import x from "../../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
5
|
+
import E from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
6
|
+
import V from "./EnvironmentsList.vue.js";
|
|
7
|
+
const N = { class: "mx-auto flex max-h-full w-full max-w-[720px] !flex-col gap-8 overflow-auto px-5 py-15" }, g = { class: "flex flex-col gap-2" }, w = { class: "flex items-center gap-2 text-xl font-bold" }, q = /* @__PURE__ */ d({
|
|
8
|
+
__name: "Environments",
|
|
9
|
+
props: {
|
|
10
|
+
documentName: {},
|
|
11
|
+
environments: {},
|
|
12
|
+
environment: {},
|
|
13
|
+
envVariables: {}
|
|
14
|
+
},
|
|
15
|
+
emits: ["navigation:update:selection", "navigation:update:sidebarWidth", "environment:reorder", "environment:add", "environment:update", "environment:delete", "environment:add:variable", "environment:update:variable", "environment:delete:variable"],
|
|
16
|
+
setup(y, { emit: l }) {
|
|
17
|
+
const t = l;
|
|
18
|
+
return (o, e) => (s(), v(b, null, {
|
|
19
|
+
default: a(() => [
|
|
20
|
+
i(x, { class: "flex-1" }, {
|
|
21
|
+
default: a(() => [
|
|
22
|
+
i(E, null, {
|
|
23
|
+
default: a(() => [
|
|
24
|
+
r("div", N, [
|
|
25
|
+
r("div", g, [
|
|
26
|
+
r("h2", w, [
|
|
27
|
+
u(o.$slots, "icon", {}, () => [
|
|
28
|
+
i(p(f))
|
|
29
|
+
]),
|
|
30
|
+
e[7] || (e[7] = m(" Environment Variables ", -1))
|
|
31
|
+
]),
|
|
32
|
+
e[8] || (e[8] = r("p", { class: "text-c-2 mb-4 text-sm" }, [
|
|
33
|
+
m(" Set environment variables at your collection level. Use "),
|
|
34
|
+
r("code", { class: "font-code text-c-2" }, " {{ variable }} "),
|
|
35
|
+
m(" to add / search among the selected environment's variables in your request inputs. ")
|
|
36
|
+
], -1))
|
|
37
|
+
]),
|
|
38
|
+
i(V, {
|
|
39
|
+
documentName: o.documentName,
|
|
40
|
+
envVariables: o.envVariables,
|
|
41
|
+
environment: o.environment,
|
|
42
|
+
environments: o.environments,
|
|
43
|
+
"onEnvironment:add": e[0] || (e[0] = (n) => t("environment:add", n)),
|
|
44
|
+
"onEnvironment:add:variable": e[1] || (e[1] = (n) => t("environment:add:variable", n)),
|
|
45
|
+
"onEnvironment:delete": e[2] || (e[2] = (n) => t("environment:delete", n)),
|
|
46
|
+
"onEnvironment:delete:variable": e[3] || (e[3] = (n) => t("environment:delete:variable", n)),
|
|
47
|
+
"onEnvironment:reorder": e[4] || (e[4] = (n) => t("environment:reorder", n)),
|
|
48
|
+
"onEnvironment:update": e[5] || (e[5] = (n) => t("environment:update", n)),
|
|
49
|
+
"onEnvironment:update:variable": e[6] || (e[6] = (n) => t("environment:update:variable", n))
|
|
50
|
+
}, null, 8, ["documentName", "envVariables", "environment", "environments"])
|
|
51
|
+
])
|
|
52
|
+
]),
|
|
53
|
+
_: 3
|
|
54
|
+
})
|
|
55
|
+
]),
|
|
56
|
+
_: 3
|
|
57
|
+
})
|
|
58
|
+
]),
|
|
59
|
+
_: 3
|
|
60
|
+
}));
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
export {
|
|
64
|
+
q as default
|
|
65
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentsList.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/environments/EnvironmentsList.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { Environment as EntitiesEnvironment } from '@scalar/oas-utils/entities/environment';
|
|
2
|
+
import type { EnvVariable } from '../../../store/index.js';
|
|
3
|
+
import { type Environment, type EnvironmentVariable } from './components/Environment.vue.js';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/** Current selected document name or when null it means workspace level environments */
|
|
6
|
+
documentName: string | null;
|
|
7
|
+
/** List of all available environments for the selected document */
|
|
8
|
+
environments: Environment[];
|
|
9
|
+
/** TODO: remove when we migrate to the new store */
|
|
10
|
+
environment: EntitiesEnvironment;
|
|
11
|
+
envVariables: EnvVariable[];
|
|
12
|
+
};
|
|
13
|
+
type __VLS_Slots = {
|
|
14
|
+
icon: () => unknown;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
"environment:reorder": (payload: {
|
|
18
|
+
draggingItem: {
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
hoveredItem: {
|
|
22
|
+
id: string;
|
|
23
|
+
};
|
|
24
|
+
}) => any;
|
|
25
|
+
"environment:add": (payload: {
|
|
26
|
+
environment: Environment;
|
|
27
|
+
}) => any;
|
|
28
|
+
"environment:update": (payload: {
|
|
29
|
+
environmentName: string;
|
|
30
|
+
environment: Partial<Environment>;
|
|
31
|
+
}) => any;
|
|
32
|
+
"environment:delete": (payload: {
|
|
33
|
+
environmentName: string;
|
|
34
|
+
}) => any;
|
|
35
|
+
"environment:add:variable": (payload: {
|
|
36
|
+
environmentName: string;
|
|
37
|
+
environmentVariable: Partial<EnvironmentVariable>;
|
|
38
|
+
}) => any;
|
|
39
|
+
"environment:update:variable": (payload: {
|
|
40
|
+
/** Row number */
|
|
41
|
+
id: number;
|
|
42
|
+
/** Environment name */
|
|
43
|
+
environmentName: string;
|
|
44
|
+
/** Payload */
|
|
45
|
+
environmentVariable: Partial<EnvironmentVariable>;
|
|
46
|
+
}) => any;
|
|
47
|
+
"environment:delete:variable": (payload: {
|
|
48
|
+
/** Environment name */
|
|
49
|
+
environmentName: string;
|
|
50
|
+
/** Row number */
|
|
51
|
+
id: number;
|
|
52
|
+
}) => any;
|
|
53
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
54
|
+
"onEnvironment:reorder"?: ((payload: {
|
|
55
|
+
draggingItem: {
|
|
56
|
+
id: string;
|
|
57
|
+
};
|
|
58
|
+
hoveredItem: {
|
|
59
|
+
id: string;
|
|
60
|
+
};
|
|
61
|
+
}) => any) | undefined;
|
|
62
|
+
"onEnvironment:add"?: ((payload: {
|
|
63
|
+
environment: Environment;
|
|
64
|
+
}) => any) | undefined;
|
|
65
|
+
"onEnvironment:update"?: ((payload: {
|
|
66
|
+
environmentName: string;
|
|
67
|
+
environment: Partial<Environment>;
|
|
68
|
+
}) => any) | undefined;
|
|
69
|
+
"onEnvironment:delete"?: ((payload: {
|
|
70
|
+
environmentName: string;
|
|
71
|
+
}) => any) | undefined;
|
|
72
|
+
"onEnvironment:add:variable"?: ((payload: {
|
|
73
|
+
environmentName: string;
|
|
74
|
+
environmentVariable: Partial<EnvironmentVariable>;
|
|
75
|
+
}) => any) | undefined;
|
|
76
|
+
"onEnvironment:update:variable"?: ((payload: {
|
|
77
|
+
/** Row number */
|
|
78
|
+
id: number;
|
|
79
|
+
/** Environment name */
|
|
80
|
+
environmentName: string;
|
|
81
|
+
/** Payload */
|
|
82
|
+
environmentVariable: Partial<EnvironmentVariable>;
|
|
83
|
+
}) => any) | undefined;
|
|
84
|
+
"onEnvironment:delete:variable"?: ((payload: {
|
|
85
|
+
/** Environment name */
|
|
86
|
+
environmentName: string;
|
|
87
|
+
/** Row number */
|
|
88
|
+
id: number;
|
|
89
|
+
}) => any) | undefined;
|
|
90
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
92
|
+
export default _default;
|
|
93
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
94
|
+
new (): {
|
|
95
|
+
$slots: S;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=EnvironmentsList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentsList.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/environments/EnvironmentsList.vue"],"names":[],"mappings":"AA+MA,OAAO,KAAK,EAAE,WAAW,IAAI,mBAAmB,EAAE,MAAM,wCAAwC,CAAA;AAGhG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAM1C,OAA6B,EAC3B,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACzB,MAAM,8BAA8B,CAAA;AAErC,KAAK,WAAW,GAAG;IACjB,wFAAwF;IACxF,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B,mEAAmE;IACnE,YAAY,EAAE,WAAW,EAAE,CAAA;IAE3B,oDAAoD;IACpD,WAAW,EAAE,mBAAmB,CAAA;IAChC,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;AAkDF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,OAAO,CAAA;CACpB,CAAC;AAwSF,QAAA,MAAM,eAAe;;sBApVD;YAAE,EAAE,EAAE,MAAM,CAAA;SAAE;qBACf;YAAE,EAAE,EAAE,MAAM,CAAA;SAAE;;;qBAGgB,WAAW;;;yBAG5B,MAAM;qBAAe,OAAO,CAAC,WAAW,CAAC;;;yBAEjB,MAAM;;;yBAMvC,MAAM;6BACF,OAAO,CAAC,mBAAmB,CAAC;;;QAMjD,iBAAiB;YACb,MAAM;QACV,uBAAuB;yBACN,MAAM;QACvB,cAAc;6BACO,OAAO,CAAC,mBAAmB,CAAC;;;QAMjD,uBAAuB;yBACN,MAAM;QACvB,iBAAiB;YACb,MAAM;;;;sBApCI;YAAE,EAAE,EAAE,MAAM,CAAA;SAAE;qBACf;YAAE,EAAE,EAAE,MAAM,CAAA;SAAE;;;qBAGgB,WAAW;;;yBAG5B,MAAM;qBAAe,OAAO,CAAC,WAAW,CAAC;;;yBAEjB,MAAM;;;yBAMvC,MAAM;6BACF,OAAO,CAAC,mBAAmB,CAAC;;;QAMjD,iBAAiB;YACb,MAAM;QACV,uBAAuB;yBACN,MAAM;QACvB,cAAc;6BACO,OAAO,CAAC,mBAAmB,CAAC;;;QAMjD,uBAAuB;yBACN,MAAM;QACvB,iBAAiB;YACb,MAAM;;kFAuTd,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"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { defineComponent as V, ref as E, createElementBlock as u, openBlock as m, Fragment as S, createCommentVNode as i, createVNode as p, createBlock as v, renderList as y, unref as o, withCtx as F, createTextVNode as U } from "vue";
|
|
2
|
+
import { useModal as s, ScalarButton as $ } from "@scalar/components";
|
|
3
|
+
import { ScalarIconPlus as g } from "@scalar/icons";
|
|
4
|
+
import w from "./components/EnvironmentColorUpdateModal.vue.js";
|
|
5
|
+
import C from "./components/EnvironmentCreateModal.vue.js";
|
|
6
|
+
import M from "./components/EnvironmentDeleteModal.vue.js";
|
|
7
|
+
import B from "./components/EnvironmentNameUpdateModal.vue.js";
|
|
8
|
+
import D from "./components/Environment.vue.js";
|
|
9
|
+
const x = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4"
|
|
12
|
+
}, q = /* @__PURE__ */ V({
|
|
13
|
+
__name: "EnvironmentsList",
|
|
14
|
+
props: {
|
|
15
|
+
documentName: {},
|
|
16
|
+
environments: {},
|
|
17
|
+
environment: {},
|
|
18
|
+
envVariables: {}
|
|
19
|
+
},
|
|
20
|
+
emits: ["environment:reorder", "environment:add", "environment:update", "environment:delete", "environment:add:variable", "environment:update:variable", "environment:delete:variable"],
|
|
21
|
+
setup(A, { emit: k }) {
|
|
22
|
+
const a = k, b = s(), f = s(), c = s(), N = s(), t = E(null);
|
|
23
|
+
return (l, n) => (m(), u(S, null, [
|
|
24
|
+
(m(!0), u(S, null, y(l.environments, (e) => (m(), v(D, {
|
|
25
|
+
key: e.name,
|
|
26
|
+
color: e.color,
|
|
27
|
+
envVariables: l.envVariables,
|
|
28
|
+
environment: l.environment,
|
|
29
|
+
isReadonly: !l.documentName,
|
|
30
|
+
name: e.name,
|
|
31
|
+
variables: e.variables,
|
|
32
|
+
"onAdd:variable": (r) => a("environment:add:variable", {
|
|
33
|
+
environmentName: e.name,
|
|
34
|
+
environmentVariable: r
|
|
35
|
+
}),
|
|
36
|
+
onDelete: () => {
|
|
37
|
+
t.value = e, o(f).show();
|
|
38
|
+
},
|
|
39
|
+
"onDelete:variable": ({ id: r }) => a("environment:delete:variable", {
|
|
40
|
+
environmentName: e.name,
|
|
41
|
+
id: r
|
|
42
|
+
}),
|
|
43
|
+
onReorder: n[0] || (n[0] = (r, d) => a("environment:reorder", {
|
|
44
|
+
draggingItem: r,
|
|
45
|
+
hoveredItem: d
|
|
46
|
+
})),
|
|
47
|
+
"onUpdate:color": () => {
|
|
48
|
+
t.value = e, o(N).show();
|
|
49
|
+
},
|
|
50
|
+
"onUpdate:name": () => {
|
|
51
|
+
t.value = e, o(c).show();
|
|
52
|
+
},
|
|
53
|
+
"onUpdate:variable": ({ id: r, value: d }) => a("environment:update:variable", {
|
|
54
|
+
environmentName: e.name,
|
|
55
|
+
id: r,
|
|
56
|
+
environmentVariable: d
|
|
57
|
+
})
|
|
58
|
+
}, null, 8, ["color", "envVariables", "environment", "isReadonly", "name", "variables", "onAdd:variable", "onDelete", "onDelete:variable", "onUpdate:color", "onUpdate:name", "onUpdate:variable"]))), 128)),
|
|
59
|
+
l.documentName !== null ? (m(), u("div", x, [
|
|
60
|
+
p(o($), {
|
|
61
|
+
class: "hover:bg-b-2 hover:text-c-1 flex items-center gap-2",
|
|
62
|
+
size: "sm",
|
|
63
|
+
variant: "ghost",
|
|
64
|
+
onClick: n[1] || (n[1] = (e) => o(b).show())
|
|
65
|
+
}, {
|
|
66
|
+
default: F(() => [
|
|
67
|
+
p(o(g)),
|
|
68
|
+
n[6] || (n[6] = U(" Add Environment ", -1))
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
})
|
|
72
|
+
])) : i("", !0),
|
|
73
|
+
p(C, {
|
|
74
|
+
state: o(b),
|
|
75
|
+
onSubmit: n[2] || (n[2] = (e) => a("environment:add", {
|
|
76
|
+
environment: {
|
|
77
|
+
name: e.name,
|
|
78
|
+
color: e.color,
|
|
79
|
+
variables: []
|
|
80
|
+
}
|
|
81
|
+
}))
|
|
82
|
+
}, null, 8, ["state"]),
|
|
83
|
+
t.value ? (m(), v(M, {
|
|
84
|
+
key: 1,
|
|
85
|
+
name: t.value.name,
|
|
86
|
+
state: o(f),
|
|
87
|
+
onSubmit: n[3] || (n[3] = () => a("environment:delete", {
|
|
88
|
+
environmentName: t.value.name
|
|
89
|
+
}))
|
|
90
|
+
}, null, 8, ["name", "state"])) : i("", !0),
|
|
91
|
+
t.value ? (m(), v(B, {
|
|
92
|
+
key: 2,
|
|
93
|
+
name: t.value.name,
|
|
94
|
+
state: o(c),
|
|
95
|
+
onSubmit: n[4] || (n[4] = (e) => a("environment:update", {
|
|
96
|
+
environmentName: t.value.name,
|
|
97
|
+
environment: { name: e.name }
|
|
98
|
+
}))
|
|
99
|
+
}, null, 8, ["name", "state"])) : i("", !0),
|
|
100
|
+
t.value ? (m(), v(w, {
|
|
101
|
+
key: 3,
|
|
102
|
+
color: t.value.color || "#FFFFFF",
|
|
103
|
+
state: o(N),
|
|
104
|
+
onSubmit: n[5] || (n[5] = (e) => a("environment:update", {
|
|
105
|
+
environmentName: t.value.name,
|
|
106
|
+
environment: { color: e.color }
|
|
107
|
+
}))
|
|
108
|
+
}, null, 8, ["color", "state"])) : i("", !0)
|
|
109
|
+
], 64));
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
export {
|
|
113
|
+
q as default
|
|
114
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Environment.test.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/Environment.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { Environment as EntitiesEnvironment } from '@scalar/oas-utils/entities/environment';
|
|
2
|
+
import type { EnvVariable } from '../../../../store/index.js';
|
|
3
|
+
export type EnvironmentVariable = {
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
export type Environment = {
|
|
8
|
+
name: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
variables: EnvironmentVariable[];
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Props = {
|
|
13
|
+
/** Environment name */
|
|
14
|
+
name: string;
|
|
15
|
+
/** Environment color */
|
|
16
|
+
color?: string;
|
|
17
|
+
/** List of all environment variables */
|
|
18
|
+
variables: EnvironmentVariable[];
|
|
19
|
+
/** Marks the environment as readonly */
|
|
20
|
+
isReadonly?: boolean;
|
|
21
|
+
/** TODO: remove when we migrate to the new store */
|
|
22
|
+
environment: EntitiesEnvironment;
|
|
23
|
+
envVariables: EnvVariable[];
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Slots = {
|
|
26
|
+
default?(): unknown;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
29
|
+
delete: () => any;
|
|
30
|
+
"update:variable": (payload: {
|
|
31
|
+
id: number;
|
|
32
|
+
value: Partial<EnvironmentVariable>;
|
|
33
|
+
}) => any;
|
|
34
|
+
reorder: (draggingItem: {
|
|
35
|
+
id: string;
|
|
36
|
+
}, hoveredItem: {
|
|
37
|
+
id: string;
|
|
38
|
+
}) => any;
|
|
39
|
+
"add:variable": (payload: Partial<EnvironmentVariable>) => any;
|
|
40
|
+
"update:name": () => any;
|
|
41
|
+
"update:color": () => any;
|
|
42
|
+
"delete:variable": (payload: {
|
|
43
|
+
id: number;
|
|
44
|
+
}) => any;
|
|
45
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
46
|
+
onDelete?: (() => any) | undefined;
|
|
47
|
+
"onUpdate:variable"?: ((payload: {
|
|
48
|
+
id: number;
|
|
49
|
+
value: Partial<EnvironmentVariable>;
|
|
50
|
+
}) => any) | undefined;
|
|
51
|
+
onReorder?: ((draggingItem: {
|
|
52
|
+
id: string;
|
|
53
|
+
}, hoveredItem: {
|
|
54
|
+
id: string;
|
|
55
|
+
}) => any) | undefined;
|
|
56
|
+
"onAdd:variable"?: ((payload: Partial<EnvironmentVariable>) => any) | undefined;
|
|
57
|
+
"onUpdate:name"?: (() => any) | undefined;
|
|
58
|
+
"onUpdate:color"?: (() => any) | undefined;
|
|
59
|
+
"onDelete:variable"?: ((payload: {
|
|
60
|
+
id: number;
|
|
61
|
+
}) => any) | undefined;
|
|
62
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
63
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=Environment.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/Environment.vue"],"names":[],"mappings":"AA6IA,OAAO,KAAK,EAAE,WAAW,IAAI,mBAAmB,EAAE,MAAM,wCAAwC,CAAA;AAEhG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAG1C,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,mBAAmB,EAAE,CAAA;CACjC,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,uBAAuB;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,SAAS,EAAE,mBAAmB,EAAE,CAAA;IAChC,wCAAwC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,oDAAoD;IACpD,WAAW,EAAE,mBAAmB,CAAA;IAChC,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;AAwBF,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,IAAI,OAAO,CAAA;CACpB,CAAC;AA6QF,QAAA,MAAM,eAAe;;;YAvRX,MAAM;eACH,OAAO,CAAC,mBAAmB,CAAC;;;YAVjB,MAAM;;YACP,MAAM;;;;;;YAYW,MAAM;;;;;YAJpC,MAAM;eACH,OAAO,CAAC,mBAAmB,CAAC;;;YAVjB,MAAM;;YACP,MAAM;;;;;;YAYW,MAAM;;kFA0R5C,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"}
|