@scalar/api-client 2.8.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +90 -0
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +9 -10
- package/dist/components/CodeInput/CodeInput.vue2.js +5 -5
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +3 -3
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +3 -3
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +18 -20
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +13 -14
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +3 -3
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +3 -3
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +4 -4
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +22 -24
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
- package/dist/components/DataTable/DataTableInput.vue2.js +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +8 -9
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -10
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/IconSelector.vue.js +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.js +12 -12
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +8 -8
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -16
- package/dist/components/ImportCollection/PasteEventListener.vue.js +1 -1
- package/dist/components/ImportCollection/PrefetchError.vue.js +2 -2
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +5 -7
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +3 -3
- package/dist/components/OpenApiClientButton.vue2.js +1 -1
- package/dist/components/Server/ServerSelector.vue.js +1 -2
- package/dist/components/SideNav/SideHelp.vue.js +13 -19
- package/dist/components/SideNav/SideNav.vue.js +4 -5
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +4 -5
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
- package/dist/components/TopNav/TopNav.vue.js +8 -10
- package/dist/components/TopNav/TopNavItem.vue2.js +8 -12
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -11
- package/dist/hooks/useClientConfig.d.ts +9 -6
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -15
- package/dist/layouts/App/create-api-client-app.d.ts +3644 -3643
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +24 -18
- package/dist/layouts/Modal/create-api-client-modal.d.ts +5 -8089
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +28 -46
- package/dist/layouts/Modal/index.d.ts +2 -2
- package/dist/layouts/Modal/index.d.ts.map +1 -1
- package/dist/layouts/Modal/index.js +2 -5
- package/dist/layouts/Web/create-api-client-web.d.ts +20 -20
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +15 -12
- package/dist/libs/create-client.d.ts +25 -25
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +23 -23
- package/dist/libs/find-request.d.ts +2 -2
- package/dist/libs/postman.d.ts +1 -1
- package/dist/libs/postman.d.ts.map +1 -1
- package/dist/libs/postman.js +12 -12
- package/dist/libs/send-request/create-request-operation.js +8 -8
- package/dist/libs/send-request/create-request-operation.test.d.ts +2 -2
- package/dist/libs/validate-parameters.d.ts +10 -2
- package/dist/libs/validate-parameters.d.ts.map +1 -1
- package/dist/libs/validate-parameters.js +13 -6
- package/dist/plugins/plugin-manager.d.ts +1 -1
- package/dist/routes.d.ts +3 -184
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +6 -6
- package/dist/store/active-entities.d.ts +3 -3
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +2 -2
- package/dist/store/requests.d.ts +22 -22
- package/dist/store/router-params.d.ts.map +1 -1
- package/dist/store/store.d.ts +20 -20
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +1 -1
- package/dist/v2/blocks/operation-code-sample/index.d.ts +1 -0
- package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/index.js +8 -6
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +5 -5
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +3 -3
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +3 -4
- package/dist/v2/blocks/scalar-address-bar-block/index.d.ts +1 -0
- package/dist/v2/blocks/scalar-address-bar-block/index.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +7 -8
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +44 -55
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +16 -18
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +41 -46
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +3 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +201 -187
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +8 -10
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +2 -3
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +2 -4
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +14 -16
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +3 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +87 -85
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +10 -11
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +4 -5
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +3 -3
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +5 -5
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +9 -10
- package/dist/v2/components/TempReplaceMe.vue.d.ts +3 -0
- package/dist/v2/components/TempReplaceMe.vue.d.ts.map +1 -0
- package/dist/v2/components/TempReplaceMe.vue.js +12 -0
- package/dist/v2/components/resize/Resize.vue.d.ts +20 -0
- package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -0
- package/dist/v2/components/resize/Resize.vue.js +8 -0
- package/dist/v2/components/resize/Resize.vue2.js +36 -0
- package/dist/v2/components/resize/index.d.ts +3 -0
- package/dist/v2/components/resize/index.d.ts.map +1 -0
- package/dist/v2/components/resize/index.js +4 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +39 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -0
- package/dist/v2/components/sidebar/Sidebar.vue.js +95 -0
- package/dist/v2/components/sidebar/Sidebar.vue2.js +4 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +13 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +63 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue2.js +4 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +10 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue.js +52 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue2.js +4 -0
- package/dist/v2/components/sidebar/index.d.ts +4 -0
- package/dist/v2/components/sidebar/index.d.ts.map +1 -0
- package/dist/v2/components/sidebar/index.js +8 -0
- package/dist/v2/features/app/App.vue.d.ts +16 -0
- package/dist/v2/features/app/App.vue.d.ts.map +1 -0
- package/dist/v2/features/app/App.vue.js +72 -0
- package/dist/v2/features/app/App.vue3.js +5 -0
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +30 -0
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/AppSidebar.vue.js +7 -0
- package/dist/v2/features/app/components/AppSidebar.vue2.js +117 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +3 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.js +14 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +3 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue.js +7 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue2.js +19 -0
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts +16 -0
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/WebTopNav.vue.js +28 -0
- package/dist/v2/features/app/components/WebTopNav.vue2.js +4 -0
- package/dist/v2/features/app/components/index.d.ts +2 -0
- package/dist/v2/features/app/components/index.d.ts.map +1 -0
- package/dist/v2/features/app/components/index.js +5 -0
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +25 -0
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -0
- package/dist/v2/features/app/helpers/create-api-client-app.js +21 -0
- package/dist/v2/features/app/helpers/routes.d.ts +103 -0
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -0
- package/dist/v2/features/app/helpers/routes.js +115 -0
- package/dist/v2/features/app/index.d.ts +2 -0
- package/dist/v2/features/app/index.d.ts.map +1 -0
- package/dist/v2/features/app/index.js +4 -0
- package/dist/v2/features/collection/DocumentCollection.test.d.ts +2 -0
- package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +1 -0
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts +12 -0
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/DocumentCollection.vue.js +4 -0
- package/dist/v2/features/collection/DocumentCollection.vue2.js +82 -0
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts +2 -0
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts.map +1 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +10 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +4 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue2.js +38 -0
- package/dist/v2/features/collection/components/Authentication.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Authentication.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +48 -0
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Authentication.vue.js +7 -0
- package/dist/v2/features/collection/components/Authentication.vue2.js +50 -0
- package/dist/v2/features/collection/components/Cookies.vue.d.ts +3 -0
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Cookies.vue.js +9 -0
- package/dist/v2/features/collection/components/Environment.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Environment.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Environment.vue.d.ts +89 -0
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Environment.vue.js +4 -0
- package/dist/v2/features/collection/components/Environment.vue2.js +34 -0
- package/dist/v2/features/collection/components/Form.vue.d.ts +29 -0
- package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Form.vue.js +83 -0
- package/dist/v2/features/collection/components/Form.vue2.js +4 -0
- package/dist/v2/features/collection/components/LabelInput.test.d.ts +2 -0
- package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts +10 -0
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/LabelInput.vue.js +7 -0
- package/dist/v2/features/collection/components/LabelInput.vue2.js +29 -0
- package/dist/v2/features/collection/components/Overview.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Overview.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Overview.vue.d.ts +14 -0
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Overview.vue.js +4 -0
- package/dist/v2/features/collection/components/Overview.vue2.js +91 -0
- package/dist/v2/features/collection/components/Servers.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Servers.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Servers.vue.d.ts +33 -0
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Servers.vue.js +4 -0
- package/dist/v2/features/collection/components/Servers.vue2.js +120 -0
- package/dist/v2/features/collection/components/Settings.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Settings.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Settings.vue.d.ts +17 -0
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Settings.vue.js +7 -0
- package/dist/v2/features/collection/components/Settings.vue2.js +100 -0
- package/dist/v2/features/collection/components/Tabs.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Tabs.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Tabs.vue.d.ts +6 -0
- package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Tabs.vue.js +46 -0
- package/dist/v2/features/collection/components/Tabs.vue2.js +4 -0
- package/dist/v2/features/environments/Environments.test.d.ts +2 -0
- package/dist/v2/features/environments/Environments.test.d.ts.map +1 -0
- package/dist/v2/features/environments/Environments.vue.d.ts +31 -0
- package/dist/v2/features/environments/Environments.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/Environments.vue.js +65 -0
- package/dist/v2/features/environments/Environments.vue2.js +4 -0
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts +2 -0
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +1 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +98 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.js +114 -0
- package/dist/v2/features/environments/EnvironmentsList.vue2.js +4 -0
- package/dist/v2/features/environments/components/Environment.test.d.ts +2 -0
- package/dist/v2/features/environments/components/Environment.test.d.ts.map +1 -0
- package/dist/v2/features/environments/components/Environment.vue.d.ts +70 -0
- package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/Environment.vue.js +104 -0
- package/dist/v2/features/environments/components/Environment.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts +20 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.js +48 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +2 -0
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +10 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue.js +97 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +19 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +63 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +14 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +53 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts +18 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.js +35 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +2 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +23 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +7 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +122 -0
- package/dist/v2/features/environments/index.d.ts +5 -0
- package/dist/v2/features/environments/index.d.ts.map +1 -0
- package/dist/v2/features/environments/index.js +6 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +2 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +25 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +7 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +156 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +2 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts +32 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.js +7 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue2.js +58 -0
- package/dist/v2/features/global-cookies/index.d.ts +2 -0
- package/dist/v2/features/global-cookies/index.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/index.js +4 -0
- package/dist/v2/features/modal/Modal.vue.d.ts +16 -0
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -0
- package/dist/v2/features/modal/Modal.vue.js +7 -0
- package/dist/v2/features/modal/Modal.vue2.js +81 -0
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +53 -0
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -0
- package/dist/v2/features/modal/helpers/create-api-client-modal.js +46 -0
- package/dist/v2/features/modal/index.d.ts +2 -0
- package/dist/v2/features/modal/index.d.ts.map +1 -0
- package/dist/v2/features/modal/index.js +4 -0
- package/dist/v2/features/operation/Operation.test.d.ts +2 -0
- package/dist/v2/features/operation/Operation.test.d.ts.map +1 -0
- package/dist/v2/features/operation/Operation.vue.d.ts +79 -0
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -0
- package/dist/v2/features/operation/Operation.vue.js +124 -0
- package/dist/v2/features/operation/Operation.vue2.js +4 -0
- package/dist/v2/features/operation/components/Header.test.d.ts +2 -0
- package/dist/v2/features/operation/components/Header.test.d.ts.map +1 -0
- package/dist/v2/features/operation/components/Header.vue.d.ts +85 -0
- package/dist/v2/features/operation/components/Header.vue.d.ts.map +1 -0
- package/dist/v2/features/operation/components/Header.vue.js +7 -0
- package/dist/v2/features/operation/components/Header.vue2.js +97 -0
- package/dist/v2/features/operation/index.d.ts +3 -0
- package/dist/v2/features/operation/index.d.ts.map +1 -0
- package/dist/v2/features/operation/index.js +4 -0
- package/dist/v2/features/settings/Settings.test.d.ts +2 -0
- package/dist/v2/features/settings/Settings.test.d.ts.map +1 -0
- package/dist/v2/features/settings/Settings.vue.d.ts +22 -0
- package/dist/v2/features/settings/Settings.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/Settings.vue.js +268 -0
- package/dist/v2/features/settings/Settings.vue2.js +4 -0
- package/dist/v2/features/settings/components/Appearance.vue.d.ts +10 -0
- package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/components/Appearance.vue.js +88 -0
- package/dist/v2/features/settings/components/Appearance.vue2.js +4 -0
- package/dist/v2/features/settings/components/Section.vue.d.ts +14 -0
- package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/components/Section.vue.js +24 -0
- package/dist/v2/features/settings/components/Section.vue2.js +4 -0
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +9 -0
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -0
- package/dist/v2/features/settings/helpers/get-theme-colors.js +17 -0
- package/dist/v2/features/settings/index.d.ts +2 -0
- package/dist/v2/features/settings/index.d.ts.map +1 -0
- package/dist/v2/features/settings/index.js +4 -0
- package/dist/v2/hooks/use-document-watcher.d.ts +28 -0
- package/dist/v2/hooks/use-document-watcher.d.ts.map +1 -0
- package/dist/v2/hooks/use-document-watcher.test.d.ts +2 -0
- package/dist/v2/hooks/use-document-watcher.test.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts +8 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-client-events.js +13 -0
- package/dist/v2/plugins.d.ts +44 -0
- package/dist/v2/plugins.d.ts.map +1 -0
- package/dist/v2/types/layout.d.ts +10 -0
- package/dist/v2/types/layout.d.ts.map +1 -0
- package/dist/views/Collection/Collection.vue2.js +6 -6
- package/dist/views/Collection/CollectionCookies.vue2.js +3 -3
- package/dist/views/Collection/CollectionEnvironment.vue2.js +12 -13
- package/dist/views/Collection/CollectionScripts.vue2.js +3 -3
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.js +42 -62
- package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServers.vue2.js +43 -50
- package/dist/views/Collection/CollectionSettings.vue.js +2 -2
- package/dist/views/Collection/CollectionSettings.vue2.js +5 -6
- package/dist/views/Collection/CollectionSync.vue2.js +3 -3
- package/dist/views/Collection/components/EnvironmentForm.vue2.js +10 -12
- package/dist/views/Collection/components/MarkdownInput.vue2.js +2 -4
- package/dist/views/Cookies/CookieModal.vue2.js +6 -6
- package/dist/views/Cookies/Cookies.vue2.js +6 -6
- package/dist/views/Environment/Environment.vue2.js +5 -6
- package/dist/views/Environment/EnvironmentModal.vue.js +13 -14
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +8 -9
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.js +2 -2
- package/dist/views/Request/RequestRoot.vue2.js +79 -80
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +10 -11
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +44 -55
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +10 -12
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +39 -44
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +96 -78
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +3 -3
- package/dist/views/Request/RequestSection/RequestParams.vue.js +2 -3
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +55 -55
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +15 -17
- package/dist/views/Request/RequestSidebar.vue2.js +7 -8
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +31 -32
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +13 -16
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +11 -13
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +4 -5
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +4 -5
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +11 -13
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +7 -8
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +11 -14
- package/dist/views/Request/libs/oauth2.d.ts +1 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +40 -42
- package/dist/views/Settings/components/SettingsAppearance.vue.js +8 -11
- package/package.json +52 -27
- package/dist/hooks/useKeyMap.d.ts +0 -2
- package/dist/hooks/useKeyMap.d.ts.map +0 -1
- package/dist/hooks/useKeyMap.js +0 -9
- package/dist/router.d.ts +0 -8
- package/dist/router.d.ts.map +0 -1
- package/dist/router.js +0 -20
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { defineComponent as m, resolveComponent as v, createElementBlock as l, openBlock as n, createElementVNode as s, createVNode as i, createCommentVNode as a, normalizeClass as b, unref as p, createBlock as g } from "vue";
|
|
2
|
+
import f from "../../../blocks/scalar-address-bar-block/components/AddressBar.vue.js";
|
|
3
|
+
import y from "../../../../components/OpenApiClientButton.vue.js";
|
|
4
|
+
const C = { class: "lg:min-h-header t-app__top-container flex w-full flex-wrap items-center justify-center border-b p-2 pt-2 lg:p-1 lg:pt-1" }, h = { class: "mb-2 flex w-1/2 flex-row items-center gap-1 lg:mb-0 lg:flex-1 lg:px-1" }, k = { class: "mb-2 flex w-1/2 flex-row items-center justify-end gap-1 lg:mb-0 lg:flex-1 lg:px-2.5" }, V = /* @__PURE__ */ m({
|
|
5
|
+
__name: "Header",
|
|
6
|
+
props: {
|
|
7
|
+
path: {},
|
|
8
|
+
method: {},
|
|
9
|
+
layout: {},
|
|
10
|
+
isSidebarOpen: { type: Boolean },
|
|
11
|
+
showSidebar: { type: Boolean, default: !0 },
|
|
12
|
+
hideClientButton: { type: Boolean, default: !1 },
|
|
13
|
+
integration: {},
|
|
14
|
+
documentUrl: {},
|
|
15
|
+
source: {},
|
|
16
|
+
server: {},
|
|
17
|
+
servers: {},
|
|
18
|
+
history: {},
|
|
19
|
+
requestLoadingPercentage: {},
|
|
20
|
+
events: {},
|
|
21
|
+
environment: {},
|
|
22
|
+
envVariables: {}
|
|
23
|
+
},
|
|
24
|
+
emits: ["importCurl", "update:method", "update:path", "execute", "update:selectedServer", "update:variable", "add:server", "hideModal"],
|
|
25
|
+
setup(w, { emit: u }) {
|
|
26
|
+
const r = u;
|
|
27
|
+
return (t, e) => {
|
|
28
|
+
const d = v("ScalarIcon");
|
|
29
|
+
return n(), l("div", C, [
|
|
30
|
+
s("div", h, [
|
|
31
|
+
t.showSidebar ? (n(), l("div", {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: b(["size-8", { hidden: t.layout === "modal" && !t.isSidebarOpen }])
|
|
34
|
+
}, null, 2)) : a("", !0)
|
|
35
|
+
]),
|
|
36
|
+
i(p(f), {
|
|
37
|
+
envVariables: t.envVariables,
|
|
38
|
+
environment: t.environment,
|
|
39
|
+
events: t.events,
|
|
40
|
+
history: t.history,
|
|
41
|
+
layout: t.layout,
|
|
42
|
+
method: t.method,
|
|
43
|
+
path: t.path,
|
|
44
|
+
percentage: t.requestLoadingPercentage,
|
|
45
|
+
server: t.server,
|
|
46
|
+
servers: t.servers,
|
|
47
|
+
"onAdd:server": e[0] || (e[0] = (o) => r("add:server")),
|
|
48
|
+
onExecute: e[1] || (e[1] = (o) => r("execute")),
|
|
49
|
+
onImportCurl: e[2] || (e[2] = (o) => r("importCurl", o)),
|
|
50
|
+
"onUpdate:method": e[3] || (e[3] = (o) => r("update:method", o)),
|
|
51
|
+
"onUpdate:path": e[4] || (e[4] = (o) => r("update:path", o)),
|
|
52
|
+
"onUpdate:selectedServer": e[5] || (e[5] = (o) => r("update:selectedServer", o)),
|
|
53
|
+
"onUpdate:variable": e[6] || (e[6] = (o) => r("update:variable", o))
|
|
54
|
+
}, null, 8, ["envVariables", "environment", "events", "history", "layout", "method", "path", "percentage", "server", "servers"]),
|
|
55
|
+
s("div", k, [
|
|
56
|
+
t.layout === "modal" && t.documentUrl && !t.hideClientButton ? (n(), g(p(y), {
|
|
57
|
+
key: 0,
|
|
58
|
+
buttonSource: "modal",
|
|
59
|
+
class: "!w-fit lg:-mr-1",
|
|
60
|
+
integration: t.integration ?? null,
|
|
61
|
+
source: t.source ?? "api-reference",
|
|
62
|
+
url: t.documentUrl
|
|
63
|
+
}, null, 8, ["integration", "source", "url"])) : a("", !0),
|
|
64
|
+
t.layout === "modal" ? (n(), l("button", {
|
|
65
|
+
key: 1,
|
|
66
|
+
class: "app-exit-button gitbook-hidden zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",
|
|
67
|
+
type: "button",
|
|
68
|
+
onClick: e[7] || (e[7] = (o) => r("hideModal"))
|
|
69
|
+
}, [
|
|
70
|
+
i(d, {
|
|
71
|
+
icon: "Close",
|
|
72
|
+
size: "lg",
|
|
73
|
+
thickness: "2"
|
|
74
|
+
}),
|
|
75
|
+
e[9] || (e[9] = s("span", { class: "sr-only" }, "Close Client", -1))
|
|
76
|
+
])) : a("", !0),
|
|
77
|
+
t.layout === "modal" ? (n(), l("button", {
|
|
78
|
+
key: 2,
|
|
79
|
+
class: "text-c-1 hover:bg-b-2 active:text-c-1 gitbook-show -mr-1.5 rounded p-2",
|
|
80
|
+
type: "button",
|
|
81
|
+
onClick: e[8] || (e[8] = (o) => r("hideModal"))
|
|
82
|
+
}, [
|
|
83
|
+
i(d, {
|
|
84
|
+
icon: "Close",
|
|
85
|
+
size: "md",
|
|
86
|
+
thickness: "1.75"
|
|
87
|
+
}),
|
|
88
|
+
e[10] || (e[10] = s("span", { class: "sr-only" }, "Close Client", -1))
|
|
89
|
+
])) : a("", !0)
|
|
90
|
+
])
|
|
91
|
+
]);
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
export {
|
|
96
|
+
V as default
|
|
97
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/index.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAE3F,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Settings.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/settings/Settings.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ThemeId } from '@scalar/themes';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Currently active proxy URL, when set to null means no proxy */
|
|
4
|
+
proxyUrl?: string | null;
|
|
5
|
+
/** Custom proxy url, when set to null means no custom proxy */
|
|
6
|
+
customProxyUrl?: string | null;
|
|
7
|
+
/** Currently active theme ID */
|
|
8
|
+
activeThemeId: ThemeId;
|
|
9
|
+
/** Currently active color mode */
|
|
10
|
+
colorMode: 'system' | 'light' | 'dark';
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:colorMode": (value: "dark" | "light" | "system") => any;
|
|
14
|
+
"update:proxyUrl": (value: string | null) => any;
|
|
15
|
+
"update:themeId": (value: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none") => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
"onUpdate:colorMode"?: ((value: "dark" | "light" | "system") => any) | undefined;
|
|
18
|
+
"onUpdate:proxyUrl"?: ((value: string | null) => any) | undefined;
|
|
19
|
+
"onUpdate:themeId"?: ((value: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none") => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=Settings.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Settings.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/settings/Settings.vue"],"names":[],"mappings":"AA8QA,OAAO,EAGL,KAAK,OAAO,EACb,MAAM,gBAAgB,CAAA;AAQvB,KAAK,WAAW,GAAG;IACjB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,gCAAgC;IAChC,aAAa,EAAE,OAAO,CAAA;IACtB,kCAAkC;IAClC,SAAS,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;CACvC,CAAC;;;;;;;;;;AAwlBF,wBAOG"}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { defineComponent as j, createElementBlock as g, openBlock as a, createElementVNode as t, createVNode as i, withCtx as l, createBlock as u, createCommentVNode as p, unref as r, normalizeClass as d, createTextVNode as n, toDisplayString as v, Fragment as C, renderList as U, normalizeStyle as h } from "vue";
|
|
2
|
+
import { cva as M, ScalarButton as m, cx as y, ScalarIcon as b } from "@scalar/components";
|
|
3
|
+
import { themeLabels as T } from "@scalar/themes";
|
|
4
|
+
import B from "../../../components/ImportCollection/IntegrationLogo.vue.js";
|
|
5
|
+
import L from "./components/Appearance.vue.js";
|
|
6
|
+
import x from "./components/Section.vue.js";
|
|
7
|
+
import { getThemeColors as w } from "./helpers/get-theme-colors.js";
|
|
8
|
+
const N = { class: "bg-b-1 h-full w-full overflow-auto" }, R = { class: "mr-auto ml-auto flex w-full max-w-[720px] flex-col gap-8 px-5 py-5" }, V = { class: "flex flex-col gap-2" }, A = { class: "bg-c-accent text-b-1 flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] border-transparent p-1" }, E = { class: "flex flex-col gap-2" }, F = { class: "grid grid-cols-2 gap-2" }, O = { class: "flex items-center gap-2" }, D = { class: "flex items-center gap-1" }, W = { class: "grid grid-cols-2 gap-2" }, _ = { class: "flex items-center gap-2" }, q = { class: "flex items-center gap-1" }, G = { class: "size-7 rounded-xl" }, k = "https://proxy.scalar.com", ee = /* @__PURE__ */ j({
|
|
9
|
+
__name: "Settings",
|
|
10
|
+
props: {
|
|
11
|
+
proxyUrl: {},
|
|
12
|
+
customProxyUrl: {},
|
|
13
|
+
activeThemeId: {},
|
|
14
|
+
colorMode: {}
|
|
15
|
+
},
|
|
16
|
+
emits: ["update:proxyUrl", "update:themeId", "update:colorMode"],
|
|
17
|
+
setup(H, { emit: S }) {
|
|
18
|
+
const c = S, z = [
|
|
19
|
+
"default",
|
|
20
|
+
"alternate",
|
|
21
|
+
"purple",
|
|
22
|
+
"solarized",
|
|
23
|
+
"saturn",
|
|
24
|
+
"kepler"
|
|
25
|
+
], P = ["elysiajs", "fastify"], f = M({
|
|
26
|
+
base: "w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",
|
|
27
|
+
variants: {
|
|
28
|
+
active: {
|
|
29
|
+
true: "bg-primary text-c-1 hover:bg-inherit",
|
|
30
|
+
false: "bg-b-1 hover:bg-b-2"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
return (s, e) => (a(), g("div", N, [
|
|
35
|
+
t("div", R, [
|
|
36
|
+
e[14] || (e[14] = t("div", null, [
|
|
37
|
+
t("h2", { class: "mt-10 text-xl font-bold" }, "Settings")
|
|
38
|
+
], -1)),
|
|
39
|
+
i(x, null, {
|
|
40
|
+
title: l(() => [...e[4] || (e[4] = [
|
|
41
|
+
n(" CORS Proxy ", -1)
|
|
42
|
+
])]),
|
|
43
|
+
description: l(() => [...e[5] || (e[5] = [
|
|
44
|
+
n(" Browsers block cross-origin requests for security. We provide a public proxy to ", -1),
|
|
45
|
+
t("a", {
|
|
46
|
+
class: "hover:text-c-1 underline-offset-2",
|
|
47
|
+
href: "https://en.wikipedia.org/wiki/Cross-origin_resource_sharing",
|
|
48
|
+
target: "_blank"
|
|
49
|
+
}, " bypass CORS issues ", -1),
|
|
50
|
+
n(" . Check the ", -1),
|
|
51
|
+
t("a", {
|
|
52
|
+
class: "hover:text-c-1 underline-offset-2",
|
|
53
|
+
href: "https://github.com/scalar/scalar/tree/main/examples/proxy-server",
|
|
54
|
+
target: "_blank"
|
|
55
|
+
}, " source code on GitHub ", -1),
|
|
56
|
+
n(" . ", -1)
|
|
57
|
+
])]),
|
|
58
|
+
default: l(() => [
|
|
59
|
+
t("div", V, [
|
|
60
|
+
i(r(m), {
|
|
61
|
+
class: d(
|
|
62
|
+
r(y)(
|
|
63
|
+
r(f)({
|
|
64
|
+
active: s.proxyUrl === k
|
|
65
|
+
})
|
|
66
|
+
)
|
|
67
|
+
),
|
|
68
|
+
onClick: e[0] || (e[0] = (o) => c("update:proxyUrl", k))
|
|
69
|
+
}, {
|
|
70
|
+
default: l(() => [
|
|
71
|
+
t("div", {
|
|
72
|
+
class: d(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", {
|
|
73
|
+
"bg-c-accent text-b-1 border-transparent": s.proxyUrl === k
|
|
74
|
+
}])
|
|
75
|
+
}, [
|
|
76
|
+
s.proxyUrl === k ? (a(), u(r(b), {
|
|
77
|
+
key: 0,
|
|
78
|
+
icon: "Checkmark",
|
|
79
|
+
size: "xs",
|
|
80
|
+
thickness: "3.5"
|
|
81
|
+
})) : p("", !0)
|
|
82
|
+
], 2),
|
|
83
|
+
e[6] || (e[6] = n(" Use proxy.scalar.com (default) ", -1))
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}, 8, ["class"]),
|
|
87
|
+
s.customProxyUrl && s.customProxyUrl !== k ? (a(), u(r(m), {
|
|
88
|
+
key: 0,
|
|
89
|
+
class: d(
|
|
90
|
+
r(y)(
|
|
91
|
+
r(f)({
|
|
92
|
+
active: s.proxyUrl === s.customProxyUrl
|
|
93
|
+
})
|
|
94
|
+
)
|
|
95
|
+
),
|
|
96
|
+
onClick: e[1] || (e[1] = (o) => c("update:proxyUrl", s.customProxyUrl))
|
|
97
|
+
}, {
|
|
98
|
+
default: l(() => [
|
|
99
|
+
t("div", A, [
|
|
100
|
+
s.customProxyUrl === s.proxyUrl ? (a(), u(r(b), {
|
|
101
|
+
key: 0,
|
|
102
|
+
icon: "Checkmark",
|
|
103
|
+
size: "xs",
|
|
104
|
+
thickness: "3.5"
|
|
105
|
+
})) : p("", !0)
|
|
106
|
+
]),
|
|
107
|
+
n(" Use custom proxy (" + v(s.customProxyUrl) + ") ", 1)
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["class"])) : p("", !0),
|
|
111
|
+
i(r(m), {
|
|
112
|
+
class: d(r(y)(r(f)({ active: !s.proxyUrl }))),
|
|
113
|
+
onClick: e[2] || (e[2] = (o) => c("update:proxyUrl", null))
|
|
114
|
+
}, {
|
|
115
|
+
default: l(() => [
|
|
116
|
+
t("div", {
|
|
117
|
+
class: d(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", !s.proxyUrl && "bg-c-accent text-b-1 border-transparent"])
|
|
118
|
+
}, [
|
|
119
|
+
s.proxyUrl ? p("", !0) : (a(), u(r(b), {
|
|
120
|
+
key: 0,
|
|
121
|
+
icon: "Checkmark",
|
|
122
|
+
size: "xs",
|
|
123
|
+
thickness: "3.5"
|
|
124
|
+
}))
|
|
125
|
+
], 2),
|
|
126
|
+
e[7] || (e[7] = n(" Skip the proxy ", -1))
|
|
127
|
+
]),
|
|
128
|
+
_: 1
|
|
129
|
+
}, 8, ["class"])
|
|
130
|
+
])
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
}),
|
|
134
|
+
i(x, null, {
|
|
135
|
+
title: l(() => [...e[8] || (e[8] = [
|
|
136
|
+
n(" Themes ", -1)
|
|
137
|
+
])]),
|
|
138
|
+
description: l(() => [...e[9] || (e[9] = [
|
|
139
|
+
n(" We've got a whole rainbow of themes for you to play with: ", -1)
|
|
140
|
+
])]),
|
|
141
|
+
default: l(() => [
|
|
142
|
+
t("div", E, [
|
|
143
|
+
t("div", F, [
|
|
144
|
+
(a(), g(C, null, U(z, (o) => i(r(m), {
|
|
145
|
+
key: o,
|
|
146
|
+
class: d(
|
|
147
|
+
r(y)(
|
|
148
|
+
r(f)({
|
|
149
|
+
active: s.activeThemeId === o
|
|
150
|
+
})
|
|
151
|
+
)
|
|
152
|
+
),
|
|
153
|
+
onClick: ($) => c("update:themeId", o)
|
|
154
|
+
}, {
|
|
155
|
+
default: l(() => [
|
|
156
|
+
t("div", O, [
|
|
157
|
+
t("div", {
|
|
158
|
+
class: d(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", {
|
|
159
|
+
"bg-c-accent text-b-1 border-transparent": s.activeThemeId === o
|
|
160
|
+
}])
|
|
161
|
+
}, [
|
|
162
|
+
s.activeThemeId === o ? (a(), u(r(b), {
|
|
163
|
+
key: 0,
|
|
164
|
+
icon: "Checkmark",
|
|
165
|
+
size: "xs",
|
|
166
|
+
thickness: "3.5"
|
|
167
|
+
})) : p("", !0)
|
|
168
|
+
], 2),
|
|
169
|
+
n(" " + v(r(T)[o]), 1)
|
|
170
|
+
]),
|
|
171
|
+
t("div", D, [
|
|
172
|
+
t("span", {
|
|
173
|
+
class: "border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",
|
|
174
|
+
style: h({
|
|
175
|
+
backgroundColor: r(w)(o).light
|
|
176
|
+
})
|
|
177
|
+
}, null, 4),
|
|
178
|
+
t("span", {
|
|
179
|
+
class: "border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",
|
|
180
|
+
style: h({
|
|
181
|
+
backgroundColor: r(w)(o).dark
|
|
182
|
+
})
|
|
183
|
+
}, null, 4),
|
|
184
|
+
t("span", {
|
|
185
|
+
class: "border-c-3 inline-block h-5 w-5 rounded-full",
|
|
186
|
+
style: h({
|
|
187
|
+
backgroundColor: r(w)(o).accent
|
|
188
|
+
})
|
|
189
|
+
}, null, 4)
|
|
190
|
+
])
|
|
191
|
+
]),
|
|
192
|
+
_: 2
|
|
193
|
+
}, 1032, ["class", "onClick"])), 64))
|
|
194
|
+
])
|
|
195
|
+
])
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
}),
|
|
199
|
+
i(x, null, {
|
|
200
|
+
title: l(() => [...e[10] || (e[10] = [
|
|
201
|
+
n(" Framework Themes ", -1)
|
|
202
|
+
])]),
|
|
203
|
+
description: l(() => [...e[11] || (e[11] = [
|
|
204
|
+
n(" Are you a real fan? Show your support by using your favorite framework's theme! ", -1)
|
|
205
|
+
])]),
|
|
206
|
+
default: l(() => [
|
|
207
|
+
t("div", W, [
|
|
208
|
+
(a(), g(C, null, U(P, (o) => i(r(m), {
|
|
209
|
+
key: o,
|
|
210
|
+
class: d(
|
|
211
|
+
r(y)(
|
|
212
|
+
r(f)({
|
|
213
|
+
active: s.activeThemeId === o
|
|
214
|
+
})
|
|
215
|
+
)
|
|
216
|
+
),
|
|
217
|
+
onClick: ($) => c("update:themeId", o)
|
|
218
|
+
}, {
|
|
219
|
+
default: l(() => [
|
|
220
|
+
t("div", _, [
|
|
221
|
+
t("div", {
|
|
222
|
+
class: d(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", {
|
|
223
|
+
"bg-c-accent text-b-1 border-transparent": s.activeThemeId === o
|
|
224
|
+
}])
|
|
225
|
+
}, [
|
|
226
|
+
s.activeThemeId === o ? (a(), u(r(b), {
|
|
227
|
+
key: 0,
|
|
228
|
+
icon: "Checkmark",
|
|
229
|
+
size: "xs",
|
|
230
|
+
thickness: "3.5"
|
|
231
|
+
})) : p("", !0)
|
|
232
|
+
], 2),
|
|
233
|
+
n(" " + v(r(T)[o]), 1)
|
|
234
|
+
]),
|
|
235
|
+
t("div", q, [
|
|
236
|
+
t("div", G, [
|
|
237
|
+
i(B, { integration: o }, null, 8, ["integration"])
|
|
238
|
+
])
|
|
239
|
+
])
|
|
240
|
+
]),
|
|
241
|
+
_: 2
|
|
242
|
+
}, 1032, ["class", "onClick"])), 64))
|
|
243
|
+
])
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
}),
|
|
247
|
+
i(x, null, {
|
|
248
|
+
title: l(() => [...e[12] || (e[12] = [
|
|
249
|
+
n(" Appearance ", -1)
|
|
250
|
+
])]),
|
|
251
|
+
description: l(() => [...e[13] || (e[13] = [
|
|
252
|
+
n(" Choose between light, dark, or system-based appearance for your workspace. ", -1)
|
|
253
|
+
])]),
|
|
254
|
+
default: l(() => [
|
|
255
|
+
i(L, {
|
|
256
|
+
colorMode: s.colorMode,
|
|
257
|
+
"onUpdate:colorMode": e[3] || (e[3] = (o) => c("update:colorMode", o))
|
|
258
|
+
}, null, 8, ["colorMode"])
|
|
259
|
+
]),
|
|
260
|
+
_: 1
|
|
261
|
+
})
|
|
262
|
+
])
|
|
263
|
+
]));
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
export {
|
|
267
|
+
ee as default
|
|
268
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
colorMode: 'system' | 'light' | 'dark';
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
|
+
"update:colorMode": (value: "dark" | "light" | "system") => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
"onUpdate:colorMode"?: ((value: "dark" | "light" | "system") => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=Appearance.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Appearance.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/settings/components/Appearance.vue"],"names":[],"mappings":"AA6EA,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;CACvC,CAAC;;;;;;AAqNF,wBAOG"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { defineComponent as M, createElementBlock as v, openBlock as s, createVNode as n, unref as t, normalizeClass as r, withCtx as d, createElementVNode as c, createTextVNode as i, createBlock as u, createCommentVNode as p } from "vue";
|
|
2
|
+
import { cva as g, ScalarButton as m, cx as f, ScalarIcon as k } from "@scalar/components";
|
|
3
|
+
const x = { class: "flex flex-col gap-2" }, j = /* @__PURE__ */ M({
|
|
4
|
+
__name: "Appearance",
|
|
5
|
+
props: {
|
|
6
|
+
colorMode: {}
|
|
7
|
+
},
|
|
8
|
+
emits: ["update:colorMode"],
|
|
9
|
+
setup(C, { emit: y }) {
|
|
10
|
+
const l = y, a = g({
|
|
11
|
+
base: "w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",
|
|
12
|
+
variants: {
|
|
13
|
+
active: {
|
|
14
|
+
true: "bg-primary text-c-1 hover:bg-inherit",
|
|
15
|
+
false: "bg-b-1 hover:bg-b-2"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
return (o, e) => (s(), v("div", x, [
|
|
20
|
+
n(t(m), {
|
|
21
|
+
class: r(t(f)(t(a)({ active: o.colorMode === "system" }))),
|
|
22
|
+
onClick: e[0] || (e[0] = (b) => l("update:colorMode", "system"))
|
|
23
|
+
}, {
|
|
24
|
+
default: d(() => [
|
|
25
|
+
c("div", {
|
|
26
|
+
class: r(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", {
|
|
27
|
+
"bg-c-accent text-b-1 border-transparent": o.colorMode === "system"
|
|
28
|
+
}])
|
|
29
|
+
}, [
|
|
30
|
+
o.colorMode === "system" ? (s(), u(t(k), {
|
|
31
|
+
key: 0,
|
|
32
|
+
icon: "Checkmark",
|
|
33
|
+
size: "xs",
|
|
34
|
+
thickness: "3.5"
|
|
35
|
+
})) : p("", !0)
|
|
36
|
+
], 2),
|
|
37
|
+
e[3] || (e[3] = i(" System Preference (default) ", -1))
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 8, ["class"]),
|
|
41
|
+
n(t(m), {
|
|
42
|
+
class: r(t(f)(t(a)({ active: o.colorMode === "light" }))),
|
|
43
|
+
onClick: e[1] || (e[1] = (b) => l("update:colorMode", "light"))
|
|
44
|
+
}, {
|
|
45
|
+
default: d(() => [
|
|
46
|
+
c("div", {
|
|
47
|
+
class: r(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", {
|
|
48
|
+
"bg-c-accent text-b-1 border-transparent": o.colorMode === "light"
|
|
49
|
+
}])
|
|
50
|
+
}, [
|
|
51
|
+
o.colorMode === "light" ? (s(), u(t(k), {
|
|
52
|
+
key: 0,
|
|
53
|
+
icon: "Checkmark",
|
|
54
|
+
size: "xs",
|
|
55
|
+
thickness: "3.5"
|
|
56
|
+
})) : p("", !0)
|
|
57
|
+
], 2),
|
|
58
|
+
e[4] || (e[4] = i(" Light Mode Always ", -1))
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
}, 8, ["class"]),
|
|
62
|
+
n(t(m), {
|
|
63
|
+
class: r(t(f)(t(a)({ active: o.colorMode === "dark" }))),
|
|
64
|
+
onClick: e[2] || (e[2] = (b) => l("update:colorMode", "dark"))
|
|
65
|
+
}, {
|
|
66
|
+
default: d(() => [
|
|
67
|
+
c("div", {
|
|
68
|
+
class: r(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", {
|
|
69
|
+
"bg-c-accent text-b-1 border-transparent": o.colorMode === "dark"
|
|
70
|
+
}])
|
|
71
|
+
}, [
|
|
72
|
+
o.colorMode === "dark" ? (s(), u(t(k), {
|
|
73
|
+
key: 0,
|
|
74
|
+
icon: "Checkmark",
|
|
75
|
+
size: "xs",
|
|
76
|
+
thickness: "3.5"
|
|
77
|
+
})) : p("", !0)
|
|
78
|
+
], 2),
|
|
79
|
+
e[5] || (e[5] = i(" Dark Mode Always ", -1))
|
|
80
|
+
]),
|
|
81
|
+
_: 1
|
|
82
|
+
}, 8, ["class"])
|
|
83
|
+
]));
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
export {
|
|
87
|
+
j as default
|
|
88
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Slots = {
|
|
2
|
+
title?: () => string;
|
|
3
|
+
description?: () => string;
|
|
4
|
+
default: () => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=Section.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/settings/components/Section.vue"],"names":[],"mappings":"AA2BA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,MAAM,CAAA;IAC1B,OAAO,EAAE,MAAM,GAAG,CAAA;CACnB,CAAC;AAsDF,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as n, createElementBlock as t, openBlock as o, createCommentVNode as l, renderSlot as s } from "vue";
|
|
2
|
+
const r = { class: "flex flex-col gap-2" }, c = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "font-bold"
|
|
5
|
+
}, i = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "text-c-2 mb-4 leading-[21px]"
|
|
8
|
+
}, m = /* @__PURE__ */ n({
|
|
9
|
+
__name: "Section",
|
|
10
|
+
setup(a) {
|
|
11
|
+
return (e, d) => (o(), t("div", r, [
|
|
12
|
+
e.$slots.title ? (o(), t("h3", c, [
|
|
13
|
+
s(e.$slots, "title")
|
|
14
|
+
])) : l("", !0),
|
|
15
|
+
e.$slots.description ? (o(), t("p", i, [
|
|
16
|
+
s(e.$slots, "description")
|
|
17
|
+
])) : l("", !0),
|
|
18
|
+
s(e.$slots, "default")
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
m as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IntegrationThemeId, ThemeId } from '@scalar/themes';
|
|
2
|
+
type Themes = Exclude<ThemeId, IntegrationThemeId>;
|
|
3
|
+
export declare const getThemeColors: (themeId: Themes) => {
|
|
4
|
+
light: string;
|
|
5
|
+
dark: string;
|
|
6
|
+
accent: string;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=get-theme-colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-theme-colors.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/settings/helpers/get-theme-colors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAEjE,KAAK,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAA;AAElD,eAAO,MAAM,cAAc,GAAI,SAAS,MAAM,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAgB7F,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const c = (f) => ({
|
|
2
|
+
default: { light: "#fff", dark: "#0f0f0f", accent: "#0099ff" },
|
|
3
|
+
alternate: { light: "#f9f9f9", dark: "#131313", accent: "#e7e7e7" },
|
|
4
|
+
moon: { light: "#ccc9b3", dark: "#313332", accent: "#645b0f" },
|
|
5
|
+
purple: { light: "#f5f6f8", dark: "#22252b", accent: "#5469d4" },
|
|
6
|
+
solarized: { light: "#fdf6e3", dark: "#00212b", accent: "#007acc" },
|
|
7
|
+
bluePlanet: { light: "#f0f2f5", dark: "#000e23", accent: "#e0e2e6" },
|
|
8
|
+
saturn: { light: "#e4e4df", dark: "#2c2c30", accent: "#1763a6" },
|
|
9
|
+
kepler: { light: "#f6f6f6", dark: "#0d0f1e", accent: "#7070ff" },
|
|
10
|
+
mars: { light: "#f2efe8", dark: "#321116", accent: "#c75549" },
|
|
11
|
+
deepSpace: { light: "#f4f4f5", dark: "#09090b", accent: "#8ab4f8" },
|
|
12
|
+
laserwave: { light: "#f4f2f7", dark: "#27212e", accent: "#ed78c2" },
|
|
13
|
+
none: { light: "#ffffff", dark: "#000000", accent: "#3b82f6" }
|
|
14
|
+
})[f] || { light: "#ffffff", dark: "#000000", accent: "#3b82f6" };
|
|
15
|
+
export {
|
|
16
|
+
c as getThemeColors
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/settings/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
2
|
+
import { type MaybeRefOrGetter } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* Watches the specified document in the workspace store and periodically rebases it with its remote source.
|
|
5
|
+
*
|
|
6
|
+
* This utility sets up a watcher on the given document. If the document specifies an 'x-scalar-original-source-url',
|
|
7
|
+
* this hook polls the remote source every second (using setInterval) and calls `store.rebaseDocument`.
|
|
8
|
+
* If rebase conflicts are detected, it applies automatic conflict resolution by preferring remote changes.
|
|
9
|
+
*
|
|
10
|
+
* @param params - Object with:
|
|
11
|
+
* - documentName: the name/key of the document to watch and rebase.
|
|
12
|
+
* - store: the WorkspaceStore instance.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { useDocumentWatcher } from '@/hooks/use-document-watcher'
|
|
17
|
+
* import { useScalarWorkspaceStore } from '@scalar/workspace-store'
|
|
18
|
+
*
|
|
19
|
+
* const store = useScalarWorkspaceStore()
|
|
20
|
+
* useDocumentWatcher({ documentName: 'myApi', store })
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare const useDocumentWatcher: ({ documentName, store, initialTimeout, }: {
|
|
24
|
+
documentName: MaybeRefOrGetter<string>;
|
|
25
|
+
store: WorkspaceStore;
|
|
26
|
+
initialTimeout?: number;
|
|
27
|
+
}) => void;
|
|
28
|
+
//# sourceMappingURL=use-document-watcher.d.ts.map
|