@scalar/api-client 2.8.1 → 2.9.1
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 +70 -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 +10 -10
- 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/code-input/CodeInput.test.d.ts +2 -0
- package/dist/v2/components/code-input/CodeInput.test.d.ts.map +1 -0
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +140 -0
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -0
- package/dist/v2/components/code-input/CodeInput.vue.js +8 -0
- package/dist/v2/components/code-input/CodeInput.vue2.js +202 -0
- package/dist/v2/components/code-input/code-variable-widget.d.ts +21 -0
- package/dist/v2/components/code-input/code-variable-widget.d.ts.map +1 -0
- package/dist/v2/components/code-input/code-variable-widget.js +106 -0
- package/dist/v2/components/code-input/code-variable-widget.test.d.ts +2 -0
- package/dist/v2/components/code-input/code-variable-widget.test.d.ts.map +1 -0
- package/dist/v2/components/code-input/index.d.ts +2 -0
- package/dist/v2/components/code-input/index.d.ts.map +1 -0
- package/dist/v2/components/code-input/index.js +4 -0
- package/dist/v2/components/data-table/DataTable.vue.d.ts +22 -0
- package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTable.vue.js +38 -0
- package/dist/v2/components/data-table/DataTable.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableCell.vue.d.ts +19 -0
- package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableCell.vue.js +26 -0
- package/dist/v2/components/data-table/DataTableCell.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +14 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue.js +53 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +13 -0
- package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableHeader.vue.js +18 -0
- package/dist/v2/components/data-table/DataTableHeader.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts +53 -0
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableInput.vue.js +7 -0
- package/dist/v2/components/data-table/DataTableInput.vue2.js +117 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +16 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue.js +146 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableRow.vue.d.ts +13 -0
- package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableRow.vue.js +12 -0
- package/dist/v2/components/data-table/DataTableText.vue.d.ts +16 -0
- package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableText.vue.js +23 -0
- package/dist/v2/components/data-table/DataTableText.vue2.js +4 -0
- package/dist/v2/components/data-table/index.d.ts +9 -0
- package/dist/v2/components/data-table/index.d.ts.map +1 -0
- package/dist/v2/components/data-table/index.js +18 -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.test.d.ts +2 -0
- package/dist/v2/features/app/App.test.d.ts.map +1 -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 +87 -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 +6 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.js +15 -0
- package/dist/v2/features/app/components/DesktopTabs.vue2.js +6 -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 +106 -0
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -0
- package/dist/v2/features/app/helpers/routes.js +109 -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 +95 -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 +40 -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 +15 -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 +29 -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 +15 -0
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Overview.vue.js +7 -0
- package/dist/v2/features/collection/components/Overview.vue2.js +89 -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/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 +9 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.js +66 -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 +16 -0
- package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/Environment.vue.js +53 -0
- package/dist/v2/features/environments/components/Environment.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 +121 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +12 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +85 -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/EnvironmentVariablesDropdown.vue.d.ts +21 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +109 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.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 +10 -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 +136 -0
- package/dist/v2/features/environments/index.d.ts +2 -0
- package/dist/v2/features/environments/index.d.ts.map +1 -0
- package/dist/v2/features/environments/index.js +4 -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/helpers/test-utils.d.ts +4 -0
- package/dist/v2/helpers/test-utils.d.ts.map +1 -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 +9 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-client-events.js +27 -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 +31 -26
- 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,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 x, createElementVNode as n, normalizeClass as k, toDisplayString as v, 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(r) {
|
|
9
|
+
const s = p(
|
|
10
|
+
() => r.type === "workspace" ? ["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: x(({ isActive: i, href: l, navigate: a }) => [
|
|
26
|
+
n("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
|
+
n("span", {
|
|
32
|
+
class: k([
|
|
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
|
+
}, v(_(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":"EnvironmentsList.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/environments/EnvironmentsList.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CollectionType, WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
|
+
import type { XScalarEnvironments } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
environments: NonNullable<XScalarEnvironments['x-scalar-environments']>;
|
|
5
|
+
eventBus: WorkspaceEventBus;
|
|
6
|
+
} & CollectionType;
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# 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":"AA8FA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2EAA2E,CAAA;AAQpH,KAAK,WAAW,GAAG;IACf,YAAY,EAAE,WAAW,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,CAAC,CAAA;IACvE,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;;AAoLrB,wBAMG"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { defineComponent as E, ref as y, createElementBlock as u, openBlock as s, Fragment as v, createElementVNode as T, createVNode as l, renderList as b, createBlock as g, unref as r, withCtx as h, createTextVNode as k } from "vue";
|
|
2
|
+
import { useModal as d, ScalarButton as M } from "@scalar/components";
|
|
3
|
+
import { ScalarIconPlus as N } from "@scalar/icons";
|
|
4
|
+
import S from "./components/EnvironmentCreateModal.vue.js";
|
|
5
|
+
import w from "./components/EnvironmentDeleteModal.vue.js";
|
|
6
|
+
import C from "./components/Environment.vue.js";
|
|
7
|
+
const D = { class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4" }, z = /* @__PURE__ */ E({
|
|
8
|
+
__name: "EnvironmentsList",
|
|
9
|
+
props: {
|
|
10
|
+
environments: {},
|
|
11
|
+
eventBus: {},
|
|
12
|
+
collectionType: {}
|
|
13
|
+
},
|
|
14
|
+
setup(i) {
|
|
15
|
+
const m = d(), c = d(), n = y(null), p = (e) => {
|
|
16
|
+
n.value = e, c.show();
|
|
17
|
+
}, f = () => {
|
|
18
|
+
n.value && i.eventBus.emit("environment:delete:environment", {
|
|
19
|
+
environmentName: n.value,
|
|
20
|
+
collectionType: i.collectionType
|
|
21
|
+
});
|
|
22
|
+
}, a = (e) => {
|
|
23
|
+
n.value = e ?? null, m.show();
|
|
24
|
+
};
|
|
25
|
+
return (e, t) => (s(), u(v, null, [
|
|
26
|
+
(s(!0), u(v, null, b(Object.entries(e.environments), ([o, B]) => (s(), g(C, {
|
|
27
|
+
key: o,
|
|
28
|
+
collectionType: e.collectionType,
|
|
29
|
+
environment: B,
|
|
30
|
+
environmentName: o,
|
|
31
|
+
eventBus: e.eventBus,
|
|
32
|
+
onDelete: () => p(o),
|
|
33
|
+
onEdit: () => a(o)
|
|
34
|
+
}, null, 8, ["collectionType", "environment", "environmentName", "eventBus", "onDelete", "onEdit"]))), 128)),
|
|
35
|
+
T("div", D, [
|
|
36
|
+
l(r(M), {
|
|
37
|
+
class: "hover:bg-b-2 hover:text-c-1 flex items-center gap-2",
|
|
38
|
+
size: "sm",
|
|
39
|
+
variant: "ghost",
|
|
40
|
+
onClick: t[0] || (t[0] = () => a())
|
|
41
|
+
}, {
|
|
42
|
+
default: h(() => [
|
|
43
|
+
l(r(N)),
|
|
44
|
+
t[1] || (t[1] = k(" Add Environment ", -1))
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
})
|
|
48
|
+
]),
|
|
49
|
+
l(S, {
|
|
50
|
+
collectionType: e.collectionType,
|
|
51
|
+
environments: e.environments,
|
|
52
|
+
eventBus: e.eventBus,
|
|
53
|
+
selectedEnvironmentName: n.value,
|
|
54
|
+
state: r(m)
|
|
55
|
+
}, null, 8, ["collectionType", "environments", "eventBus", "selectedEnvironmentName", "state"]),
|
|
56
|
+
l(w, {
|
|
57
|
+
name: n.value,
|
|
58
|
+
state: r(c),
|
|
59
|
+
onSubmit: f
|
|
60
|
+
}, null, 8, ["name", "state"])
|
|
61
|
+
], 64));
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
export {
|
|
65
|
+
z as default
|
|
66
|
+
};
|
|
@@ -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,16 @@
|
|
|
1
|
+
import type { CollectionType, WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
|
+
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
environment: XScalarEnvironment;
|
|
5
|
+
environmentName: string;
|
|
6
|
+
eventBus: WorkspaceEventBus;
|
|
7
|
+
} & CollectionType;
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
delete: () => any;
|
|
10
|
+
edit: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onDelete?: (() => any) | undefined;
|
|
13
|
+
onEdit?: (() => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# 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":"AAmEA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAInH,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,kBAAkB,CAAA;IAC/B,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;;;;;;;;AA6JrB,wBAOG"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent as c, createElementBlock as a, openBlock as d, createElementVNode as n, createVNode as i, normalizeStyle as p, toDisplayString as v, unref as t } from "vue";
|
|
2
|
+
import { ScalarIconButton as r } from "@scalar/components";
|
|
3
|
+
import { ScalarIconNotePencil as u, ScalarIconTrash as f } from "@scalar/icons";
|
|
4
|
+
import y from "./EnvironmentVariablesTable.vue.js";
|
|
5
|
+
const _ = { class: "group rounded-lg border" }, b = { class: "bg-b-2 flex justify-between rounded-t-lg px-1 py-1 text-sm" }, g = { class: "flex items-center gap-1" }, h = { class: "flex h-6 w-6 items-center justify-center p-1" }, N = { class: "px-1 py-0.5 text-sm" }, B = { class: "hidden flex-row items-center gap-1 group-hover:flex" }, w = /* @__PURE__ */ c({
|
|
6
|
+
__name: "Environment",
|
|
7
|
+
props: {
|
|
8
|
+
environment: {},
|
|
9
|
+
environmentName: {},
|
|
10
|
+
eventBus: {},
|
|
11
|
+
collectionType: {}
|
|
12
|
+
},
|
|
13
|
+
emits: ["edit", "delete"],
|
|
14
|
+
setup(E, { emit: s }) {
|
|
15
|
+
const l = s;
|
|
16
|
+
return (e, o) => (d(), a("div", _, [
|
|
17
|
+
n("div", b, [
|
|
18
|
+
n("div", g, [
|
|
19
|
+
n("div", h, [
|
|
20
|
+
n("span", {
|
|
21
|
+
class: "h-2.5 w-2.5 rounded-full",
|
|
22
|
+
style: p({ backgroundColor: e.environment.color })
|
|
23
|
+
}, null, 4)
|
|
24
|
+
]),
|
|
25
|
+
n("span", N, v(e.environmentName), 1)
|
|
26
|
+
]),
|
|
27
|
+
n("div", B, [
|
|
28
|
+
i(t(r), {
|
|
29
|
+
icon: t(u),
|
|
30
|
+
label: "Edit Environment",
|
|
31
|
+
size: "sm",
|
|
32
|
+
onClick: o[0] || (o[0] = (m) => l("edit"))
|
|
33
|
+
}, null, 8, ["icon"]),
|
|
34
|
+
i(t(r), {
|
|
35
|
+
icon: t(f),
|
|
36
|
+
label: "Delete Environment",
|
|
37
|
+
size: "sm",
|
|
38
|
+
onClick: o[1] || (o[1] = (m) => l("delete"))
|
|
39
|
+
}, null, 8, ["icon"])
|
|
40
|
+
])
|
|
41
|
+
]),
|
|
42
|
+
i(y, {
|
|
43
|
+
collectionType: e.collectionType,
|
|
44
|
+
environment: e.environment,
|
|
45
|
+
environmentName: e.environmentName,
|
|
46
|
+
eventBus: e.eventBus
|
|
47
|
+
}, null, 8, ["collectionType", "environment", "environmentName", "eventBus"])
|
|
48
|
+
]));
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
w as default
|
|
53
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentColors.test.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentColors.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
activeColor: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
|
+
select: (color: string) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
onSelect?: ((color: string) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=EnvironmentColors.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentColors.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentColors.vue"],"names":[],"mappings":"AA6LA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAC;;;;;;AAyUF,wBAOG"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { defineComponent as D, ref as d, computed as m, createElementBlock as a, openBlock as l, createCommentVNode as c, normalizeStyle as v, createBlock as k, unref as C, createElementVNode as s, Fragment as S, renderList as $, withDirectives as j, vModelText as N, createVNode as T, nextTick as V } from "vue";
|
|
2
|
+
import { ScalarIcon as f } from "@scalar/components";
|
|
3
|
+
const A = {
|
|
4
|
+
key: 1,
|
|
5
|
+
class: "color-selector flex h-4 flex-row items-center justify-between gap-1.5 space-x-1"
|
|
6
|
+
}, R = ["onClick"], L = {
|
|
7
|
+
key: 2,
|
|
8
|
+
class: "color-selector flex h-4 flex-1 items-center gap-2 rounded"
|
|
9
|
+
}, U = ["placeholder"], W = "linear-gradient(to right, rgb(235, 87, 87), rgb(242, 201, 76), rgb(76, 183, 130), rgb(78, 167, 252), rgb(250, 96, 122))", P = /* @__PURE__ */ D({
|
|
10
|
+
__name: "EnvironmentColors",
|
|
11
|
+
props: {
|
|
12
|
+
activeColor: {}
|
|
13
|
+
},
|
|
14
|
+
emits: ["select"],
|
|
15
|
+
setup(i, { emit: w }) {
|
|
16
|
+
const F = w, t = d(""), p = d(null), r = d(!1), n = d(!1), b = [
|
|
17
|
+
"#FFFFFF",
|
|
18
|
+
"#EF0006",
|
|
19
|
+
"#EDBE20",
|
|
20
|
+
"#069061",
|
|
21
|
+
"#FB892C",
|
|
22
|
+
"#0082D0",
|
|
23
|
+
"#5203D1",
|
|
24
|
+
"#FFC0CB"
|
|
25
|
+
], E = m(
|
|
26
|
+
() => b.includes(i.activeColor)
|
|
27
|
+
), h = m(
|
|
28
|
+
() => i.activeColor && !E.value && !r.value
|
|
29
|
+
), I = (e) => i.activeColor === e, y = m(() => {
|
|
30
|
+
const e = t.value || i.activeColor;
|
|
31
|
+
return h.value || t.value ? `background-color: ${e};` : `background: ${W};`;
|
|
32
|
+
}), g = async () => {
|
|
33
|
+
r.value = !r.value, n.value = !1, r.value && (await V(), p.value?.focus());
|
|
34
|
+
}, z = () => {
|
|
35
|
+
n.value = !n.value;
|
|
36
|
+
}, x = (e) => {
|
|
37
|
+
const o = e && !e.startsWith("#") ? `#${e}` : e;
|
|
38
|
+
F("select", o), n.value = !1;
|
|
39
|
+
}, B = () => {
|
|
40
|
+
if (!t.value)
|
|
41
|
+
return;
|
|
42
|
+
const e = t.value.startsWith("#") ? t.value : `#${t.value}`;
|
|
43
|
+
t.value = e, x(e);
|
|
44
|
+
};
|
|
45
|
+
return (e, o) => (l(), a("div", null, [
|
|
46
|
+
!r.value && !n.value ? (l(), a("div", {
|
|
47
|
+
key: 0,
|
|
48
|
+
class: "flex h-4 w-4 cursor-pointer items-center justify-center rounded-full",
|
|
49
|
+
style: v({ backgroundColor: e.activeColor }),
|
|
50
|
+
onClick: z
|
|
51
|
+
}, [
|
|
52
|
+
e.activeColor ? (l(), k(C(f), {
|
|
53
|
+
key: 0,
|
|
54
|
+
class: "text-c-btn p-0.5",
|
|
55
|
+
icon: "Checkmark",
|
|
56
|
+
size: "xs"
|
|
57
|
+
})) : c("", !0)
|
|
58
|
+
], 4)) : c("", !0),
|
|
59
|
+
!r.value && n.value ? (l(), a("div", A, [
|
|
60
|
+
(l(), a(S, null, $(b, (u) => s("div", {
|
|
61
|
+
key: u,
|
|
62
|
+
class: "flex h-4 w-4 cursor-pointer items-center justify-center rounded-full",
|
|
63
|
+
style: v({ backgroundColor: u }),
|
|
64
|
+
onClick: (G) => x(u)
|
|
65
|
+
}, [
|
|
66
|
+
I(u) ? (l(), k(C(f), {
|
|
67
|
+
key: 0,
|
|
68
|
+
class: "text-c-btn p-0.5",
|
|
69
|
+
icon: "Checkmark",
|
|
70
|
+
size: "xs"
|
|
71
|
+
})) : c("", !0)
|
|
72
|
+
], 12, R)), 64)),
|
|
73
|
+
o[1] || (o[1] = s("hr", { class: "border-ghost h-5 w-0.5 border-l" }, null, -1)),
|
|
74
|
+
s("button", {
|
|
75
|
+
class: "z-10 flex h-4 w-4 cursor-pointer flex-row items-center justify-center gap-2 rounded-full",
|
|
76
|
+
style: v(y.value),
|
|
77
|
+
type: "button",
|
|
78
|
+
onClick: g
|
|
79
|
+
}, [
|
|
80
|
+
h.value ? (l(), k(C(f), {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: "text-c-btn",
|
|
83
|
+
icon: "Checkmark",
|
|
84
|
+
size: "xs"
|
|
85
|
+
})) : c("", !0)
|
|
86
|
+
], 4)
|
|
87
|
+
])) : c("", !0),
|
|
88
|
+
r.value ? (l(), a("div", L, [
|
|
89
|
+
o[2] || (o[2] = s("span", { class: "absolute h-4 w-4 rounded-full border border-dashed" }, null, -1)),
|
|
90
|
+
s("span", {
|
|
91
|
+
class: "z-[1] h-4 w-4 rounded-full",
|
|
92
|
+
style: v(y.value)
|
|
93
|
+
}, null, 4),
|
|
94
|
+
j(s("input", {
|
|
95
|
+
ref_key: "customColorInputRef",
|
|
96
|
+
ref: p,
|
|
97
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => t.value = u),
|
|
98
|
+
class: "w-full flex-1 border-transparent text-sm outline-none",
|
|
99
|
+
placeholder: e.activeColor || "#000000",
|
|
100
|
+
type: "text",
|
|
101
|
+
onInput: B
|
|
102
|
+
}, null, 40, U), [
|
|
103
|
+
[N, t.value]
|
|
104
|
+
]),
|
|
105
|
+
s("button", {
|
|
106
|
+
class: "text-c-3 hover:bg-b-2 rounded-lg p-1.5",
|
|
107
|
+
type: "button",
|
|
108
|
+
onClick: g
|
|
109
|
+
}, [
|
|
110
|
+
T(C(f), {
|
|
111
|
+
icon: "Checkmark",
|
|
112
|
+
size: "xs"
|
|
113
|
+
})
|
|
114
|
+
])
|
|
115
|
+
])) : c("", !0)
|
|
116
|
+
]));
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
export {
|
|
120
|
+
P as default
|
|
121
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ModalState } from '@scalar/components';
|
|
2
|
+
import type { CollectionType, WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
3
|
+
import type { XScalarEnvironments } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
environments: NonNullable<XScalarEnvironments['x-scalar-environments']>;
|
|
6
|
+
selectedEnvironmentName: string | null;
|
|
7
|
+
state: ModalState;
|
|
8
|
+
eventBus: WorkspaceEventBus;
|
|
9
|
+
} & CollectionType;
|
|
10
|
+
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>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=EnvironmentCreateModal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentCreateModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentCreateModal.vue"],"names":[],"mappings":"AA+IA,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2EAA2E,CAAA;AAQpH,KAAK,WAAW,GAAG;IACf,YAAY,EAAE,WAAW,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,CAAC,CAAA;IACvE,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,KAAK,EAAE,UAAU,CAAA;IACjB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;;AA8MrB,wBAMG"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { defineComponent as f, ref as r, watch as N, computed as E, createBlock as y, openBlock as c, unref as h, withCtx as a, createVNode as m, createElementVNode as C, createElementBlock as b, createCommentVNode as x, createTextVNode as T, toDisplayString as F } from "vue";
|
|
2
|
+
import { ScalarModal as V } from "@scalar/components";
|
|
3
|
+
import k from "../../../../components/CommandPalette/CommandActionForm.vue.js";
|
|
4
|
+
import B from "../../../../components/CommandPalette/CommandActionInput.vue.js";
|
|
5
|
+
import S from "./EnvironmentColors.vue.js";
|
|
6
|
+
const O = { class: "flex items-start gap-2" }, g = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "text-red text-xs"
|
|
9
|
+
}, s = "#FFFFFF", w = /* @__PURE__ */ f({
|
|
10
|
+
__name: "EnvironmentCreateModal",
|
|
11
|
+
props: {
|
|
12
|
+
environments: {},
|
|
13
|
+
selectedEnvironmentName: {},
|
|
14
|
+
state: {},
|
|
15
|
+
eventBus: {},
|
|
16
|
+
collectionType: {}
|
|
17
|
+
},
|
|
18
|
+
setup(e) {
|
|
19
|
+
const t = r(""), n = r(s);
|
|
20
|
+
N(
|
|
21
|
+
() => e.state.open,
|
|
22
|
+
(l) => {
|
|
23
|
+
if (l) {
|
|
24
|
+
const o = e.environments[e.selectedEnvironmentName ?? ""];
|
|
25
|
+
e.selectedEnvironmentName && o ? (t.value = e.selectedEnvironmentName, n.value = o.color) : (t.value = "", n.value = s);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
const d = (l) => {
|
|
30
|
+
n.value = l;
|
|
31
|
+
}, v = () => {
|
|
32
|
+
e.selectedEnvironmentName ? e.eventBus.emit("environment:upsert:environment", {
|
|
33
|
+
oldEnvironmentName: e.selectedEnvironmentName,
|
|
34
|
+
payload: {
|
|
35
|
+
color: n.value
|
|
36
|
+
},
|
|
37
|
+
environmentName: t.value.trim(),
|
|
38
|
+
collectionType: e.collectionType
|
|
39
|
+
}) : e.eventBus.emit("environment:upsert:environment", {
|
|
40
|
+
environmentName: t.value.trim(),
|
|
41
|
+
payload: {
|
|
42
|
+
color: n.value
|
|
43
|
+
},
|
|
44
|
+
collectionType: e.collectionType
|
|
45
|
+
}), e.state.hide();
|
|
46
|
+
}, i = E(() => e.selectedEnvironmentName ? t.value !== e.selectedEnvironmentName && Object.keys(e.environments).includes(t.value) : Object.keys(e.environments).includes(t.value));
|
|
47
|
+
return (l, o) => (c(), y(h(V), {
|
|
48
|
+
bodyClass: "border-t-0 rounded-t-lg",
|
|
49
|
+
size: "xs",
|
|
50
|
+
state: l.state
|
|
51
|
+
}, {
|
|
52
|
+
default: a(() => [
|
|
53
|
+
m(k, {
|
|
54
|
+
disabled: !t.value.trim() || i.value,
|
|
55
|
+
onSubmit: v
|
|
56
|
+
}, {
|
|
57
|
+
submit: a(() => [
|
|
58
|
+
T(F(l.selectedEnvironmentName ? "Update" : "Add") + " Environment ", 1)
|
|
59
|
+
]),
|
|
60
|
+
default: a(() => [
|
|
61
|
+
C("div", O, [
|
|
62
|
+
m(S, {
|
|
63
|
+
activeColor: n.value,
|
|
64
|
+
class: "peer",
|
|
65
|
+
onSelect: d
|
|
66
|
+
}, null, 8, ["activeColor"]),
|
|
67
|
+
m(B, {
|
|
68
|
+
modelValue: t.value,
|
|
69
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => t.value = u),
|
|
70
|
+
class: "-mt-[.5px] !p-0 peer-has-[.color-selector]:hidden",
|
|
71
|
+
placeholder: "Environment name"
|
|
72
|
+
}, null, 8, ["modelValue"])
|
|
73
|
+
]),
|
|
74
|
+
i.value ? (c(), b("div", g, " This environment name is already in use. ")) : x("", !0)
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["disabled"])
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
}, 8, ["state"]));
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
export {
|
|
84
|
+
w as default
|
|
85
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ModalState } from '@scalar/components';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
state: ModalState;
|
|
4
|
+
name: string | null;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
submit: () => any;
|
|
8
|
+
cancel: () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onSubmit?: (() => any) | undefined;
|
|
11
|
+
onCancel?: (() => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=EnvironmentDeleteModal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentDeleteModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentDeleteModal.vue"],"names":[],"mappings":"AAoDA,OAAO,EAA6B,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE/E,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,CAAA;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB,CAAC;;;;;;;;AAwHF,wBAOG"}
|