@scalar/api-client 3.6.1 → 3.8.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 +150 -0
- package/dist/components/HttpMethod/HttpMethod.vue.js +1 -1
- package/dist/components/HttpMethod/index.js +2 -0
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.d.ts.map +1 -0
- package/dist/components/{ScalarAsciiArt.vue.js → ScalarAsciiArt/ScalarAsciiArt.vue.js} +3 -3
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js.map +1 -0
- package/dist/components/{ScalarAsciiArt.vue.script.js → ScalarAsciiArt/ScalarAsciiArt.vue.script.js} +1 -1
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.script.js.map +1 -0
- package/dist/components/ScalarAsciiArt/index.d.ts +2 -0
- package/dist/components/ScalarAsciiArt/index.d.ts.map +1 -0
- package/dist/components/ScalarAsciiArt/index.js +2 -0
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +2 -2
- package/dist/components/Sidebar/index.d.ts +2 -0
- package/dist/components/Sidebar/index.d.ts.map +1 -0
- package/dist/components/Sidebar/index.js +2 -0
- package/dist/components/ViewLayout/index.d.ts +4 -0
- package/dist/components/ViewLayout/index.d.ts.map +1 -0
- package/dist/components/ViewLayout/index.js +4 -0
- package/dist/plugins/posthog/index.d.ts.map +1 -1
- package/dist/plugins/posthog/index.js +21 -12
- package/dist/plugins/posthog/index.js.map +1 -1
- package/dist/plugins/posthog/sanitize-event-payload.d.ts +25 -0
- package/dist/plugins/posthog/sanitize-event-payload.d.ts.map +1 -0
- package/dist/plugins/posthog/sanitize-event-payload.js +136 -0
- package/dist/plugins/posthog/sanitize-event-payload.js.map +1 -0
- package/dist/style.css +214 -1651
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js +72 -32
- package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -2
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.script.js +3 -3
- package/dist/v2/blocks/operation-block/components/Header.vue.script.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.js +1 -1
- package/dist/v2/blocks/operation-block/index.d.ts +1 -0
- package/dist/v2/blocks/operation-block/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/index.js +2 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.script.js +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js +15 -9
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js +9 -7
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js.map +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 +2 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.script.js +30 -17
- package/dist/v2/blocks/request-block/RequestBlock.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js +43 -10
- package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.script.js +2 -2
- package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +2 -2
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -2
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +4 -2
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js +2 -2
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.script.js +4 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +2 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +42 -13
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts +14 -0
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js +136 -0
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js.map +1 -0
- package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.script.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.script.js +12 -10
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +2 -0
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.script.js +17 -4
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts +3 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js +21 -9
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +2 -2
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.script.js +2 -2
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.script.js +1 -0
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/helpers/media-types.d.ts +1 -1
- package/dist/v2/blocks/response-block/helpers/media-types.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/helpers/media-types.js +14 -7
- package/dist/v2/blocks/response-block/helpers/media-types.js.map +1 -1
- package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.d.ts +6 -0
- package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js +22 -0
- package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js.map +1 -0
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -2
- 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 +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js +124 -91
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.script.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +30 -20
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js +43 -21
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts +15 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js +1 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js +74 -28
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +30 -20
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js +190 -72
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js +7 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +26 -10
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js +25 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +12 -3
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +4 -4
- package/dist/v2/components/code-input/CodeInput.vue.script.js +1 -1
- package/dist/v2/components/code-input/code-variable-widget.js +1 -1
- package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +2 -2
- package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -2
- package/dist/v2/components/server/ServerDropdown.vue.d.ts +2 -2
- package/dist/v2/components/server/ServerDropdown.vue.js.map +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.script.js +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.script.js.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.script.js +4 -3
- package/dist/v2/components/sidebar/Sidebar.vue.script.js.map +1 -1
- package/dist/v2/constants.js +1 -1
- package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts +2 -2
- package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts +2 -2
- package/dist/v2/features/command-palette/index.d.ts +0 -2
- package/dist/v2/features/command-palette/index.d.ts.map +1 -1
- package/dist/v2/features/command-palette/index.js +1 -3
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +2 -2
- package/dist/v2/features/modal/Modal.vue.d.ts +5 -7
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js.map +1 -1
- package/dist/v2/features/modal/Modal.vue.script.js +3 -3
- package/dist/v2/features/modal/Modal.vue.script.js.map +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.js +8 -3
- package/dist/v2/features/modal/helpers/create-api-client-modal.js.map +1 -1
- package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts +5 -1
- package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts.map +1 -1
- package/dist/v2/features/modal/helpers/resolve-route-parameters.js +15 -4
- package/dist/v2/features/modal/helpers/resolve-route-parameters.js.map +1 -1
- package/dist/v2/features/modal/hooks/use-modal-sidebar.d.ts.map +1 -1
- package/dist/v2/features/modal/hooks/use-modal-sidebar.js +5 -1
- package/dist/v2/features/modal/hooks/use-modal-sidebar.js.map +1 -1
- package/dist/v2/features/modal/index.js +1 -1
- package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
- package/dist/v2/features/modal/modal-events.js +10 -6
- package/dist/v2/features/modal/modal-events.js.map +1 -1
- package/dist/v2/features/operation/Operation.vue.d.ts +35 -3
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js.map +1 -1
- package/dist/v2/features/operation/Operation.vue.script.js +1 -9
- package/dist/v2/features/operation/Operation.vue.script.js.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.js +4 -0
- package/dist/v2/helpers/handle-hotkeys.js.map +1 -1
- package/dist/v2/helpers/test-utils.d.ts +2 -0
- package/dist/v2/helpers/test-utils.d.ts.map +1 -1
- package/dist/v2/helpers/test-utils.js +18 -0
- package/dist/v2/helpers/test-utils.js.map +1 -0
- package/dist/v2/hooks/index.d.ts +2 -0
- package/dist/v2/hooks/index.d.ts.map +1 -0
- package/dist/v2/hooks/index.js +2 -0
- package/dist/v2/types/options.d.ts +1 -1
- package/dist/v2/types/options.d.ts.map +1 -1
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +2 -0
- package/dist/v2/workspace-events.js.map +1 -1
- package/dist/vue-styles.css +108 -658
- package/package.json +67 -96
- package/dist/components/IconSelector.vue.d.ts +0 -27
- package/dist/components/IconSelector.vue.d.ts.map +0 -1
- package/dist/components/IconSelector.vue.js +0 -7
- package/dist/components/IconSelector.vue.js.map +0 -1
- package/dist/components/IconSelector.vue.script.js +0 -65
- package/dist/components/IconSelector.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +0 -7
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +0 -7
- package/dist/components/ImportCollection/IntegrationLogo.vue.js.map +0 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.script.js +0 -50
- package/dist/components/ImportCollection/IntegrationLogo.vue.script.js.map +0 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts.map +0 -1
- package/dist/components/ScalarAsciiArt.vue.js.map +0 -1
- package/dist/components/ScalarAsciiArt.vue.script.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/monacoeditorwork/editor.worker.bundle.js +0 -14319
- package/dist/monacoeditorwork/json.worker.bundle.js +0 -22098
- package/dist/monacoeditorwork/yaml.worker.bundle.js +0 -38414
- package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts +0 -42
- package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +0 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +0 -61
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js.map +0 -1
- package/dist/v2/features/app/App.vue.d.ts +0 -75
- package/dist/v2/features/app/App.vue.d.ts.map +0 -1
- package/dist/v2/features/app/App.vue.js +0 -8
- package/dist/v2/features/app/App.vue.js.map +0 -1
- package/dist/v2/features/app/App.vue.script.js +0 -284
- package/dist/v2/features/app/App.vue.script.js.map +0 -1
- package/dist/v2/features/app/app-events.d.ts +0 -20
- package/dist/v2/features/app/app-events.d.ts.map +0 -1
- package/dist/v2/features/app/app-events.js +0 -254
- package/dist/v2/features/app/app-events.js.map +0 -1
- package/dist/v2/features/app/app-state.d.ts +0 -156
- package/dist/v2/features/app/app-state.d.ts.map +0 -1
- package/dist/v2/features/app/app-state.js +0 -717
- package/dist/v2/features/app/app-state.js.map +0 -1
- package/dist/v2/features/app/components/AppHeader.vue.d.ts +0 -43
- package/dist/v2/features/app/components/AppHeader.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/AppHeader.vue.js +0 -7
- package/dist/v2/features/app/components/AppHeader.vue.js.map +0 -1
- package/dist/v2/features/app/components/AppHeader.vue.script.js +0 -53
- package/dist/v2/features/app/components/AppHeader.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts +0 -32
- package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/AppHeaderActions.vue.js +0 -7
- package/dist/v2/features/app/components/AppHeaderActions.vue.js.map +0 -1
- package/dist/v2/features/app/components/AppHeaderActions.vue.script.js +0 -172
- package/dist/v2/features/app/components/AppHeaderActions.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +0 -37
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +0 -9
- package/dist/v2/features/app/components/AppSidebar.vue.js.map +0 -1
- package/dist/v2/features/app/components/AppSidebar.vue.script.js +0 -466
- package/dist/v2/features/app/components/AppSidebar.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts +0 -28
- package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/CreateVersionModal.vue.js +0 -7
- package/dist/v2/features/app/components/CreateVersionModal.vue.js.map +0 -1
- package/dist/v2/features/app/components/CreateVersionModal.vue.script.js +0 -84
- package/dist/v2/features/app/components/CreateVersionModal.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +0 -16
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js +0 -7
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js.map +0 -1
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js +0 -58
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/DesktopTab.vue.d.ts +0 -27
- package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/DesktopTab.vue.js +0 -9
- package/dist/v2/features/app/components/DesktopTab.vue.js.map +0 -1
- package/dist/v2/features/app/components/DesktopTab.vue.script.js +0 -121
- package/dist/v2/features/app/components/DesktopTab.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +0 -14
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.js +0 -7
- package/dist/v2/features/app/components/DesktopTabs.vue.js.map +0 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.script.js +0 -75
- package/dist/v2/features/app/components/DesktopTabs.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts +0 -25
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js +0 -9
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js.map +0 -1
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js +0 -345
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts +0 -16
- package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts +0 -77
- package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/PublishDocumentModal.vue.js +0 -7
- package/dist/v2/features/app/components/PublishDocumentModal.vue.js.map +0 -1
- package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js +0 -209
- package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/SidebarDocument.vue.d.ts +0 -45
- package/dist/v2/features/app/components/SidebarDocument.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/SidebarDocument.vue.js +0 -7
- package/dist/v2/features/app/components/SidebarDocument.vue.js.map +0 -1
- package/dist/v2/features/app/components/SidebarDocument.vue.script.js +0 -137
- package/dist/v2/features/app/components/SidebarDocument.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts +0 -26
- package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.js +0 -7
- package/dist/v2/features/app/components/SidebarItemMenu.vue.js.map +0 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js +0 -175
- package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/SplashScreen.vue.d.ts +0 -4
- package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/SplashScreen.vue.js +0 -9
- package/dist/v2/features/app/components/SplashScreen.vue.js.map +0 -1
- package/dist/v2/features/app/components/SplashScreen.vue.script.js +0 -20
- package/dist/v2/features/app/components/SplashScreen.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts +0 -18
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js +0 -9
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js.map +0 -1
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js +0 -136
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/index.d.ts +0 -2
- package/dist/v2/features/app/components/index.d.ts.map +0 -1
- package/dist/v2/features/app/components/index.js +0 -2
- package/dist/v2/features/app/helpers/check-version-conflict.d.ts +0 -54
- package/dist/v2/features/app/helpers/check-version-conflict.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/check-version-conflict.js +0 -82
- package/dist/v2/features/app/helpers/check-version-conflict.js.map +0 -1
- package/dist/v2/features/app/helpers/compute-version-status.d.ts +0 -45
- package/dist/v2/features/app/helpers/compute-version-status.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/compute-version-status.js +0 -18
- package/dist/v2/features/app/helpers/compute-version-status.js.map +0 -1
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +0 -59
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/create-api-client-app.js +0 -55
- package/dist/v2/features/app/helpers/create-api-client-app.js.map +0 -1
- package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts +0 -39
- package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/create-draft-registry-document.js +0 -64
- package/dist/v2/features/app/helpers/create-draft-registry-document.js.map +0 -1
- package/dist/v2/features/app/helpers/create-temp-operation.d.ts +0 -14
- package/dist/v2/features/app/helpers/create-temp-operation.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/create-temp-operation.js +0 -52
- package/dist/v2/features/app/helpers/create-temp-operation.js.map +0 -1
- package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts +0 -26
- package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/detect-document-conflicts.js +0 -27
- package/dist/v2/features/app/helpers/detect-document-conflicts.js.map +0 -1
- package/dist/v2/features/app/helpers/filter-workspaces.d.ts +0 -49
- package/dist/v2/features/app/helpers/filter-workspaces.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/filter-workspaces.js +0 -55
- package/dist/v2/features/app/helpers/filter-workspaces.js.map +0 -1
- package/dist/v2/features/app/helpers/get-route-param.d.ts +0 -7
- package/dist/v2/features/app/helpers/get-route-param.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/get-route-param.js +0 -12
- package/dist/v2/features/app/helpers/get-route-param.js.map +0 -1
- package/dist/v2/features/app/helpers/group-workspaces.d.ts +0 -44
- package/dist/v2/features/app/helpers/group-workspaces.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/group-workspaces.js +0 -53
- package/dist/v2/features/app/helpers/group-workspaces.js.map +0 -1
- package/dist/v2/features/app/helpers/load-registry-document.d.ts +0 -24
- package/dist/v2/features/app/helpers/load-registry-document.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/load-registry-document.js +0 -47
- package/dist/v2/features/app/helpers/load-registry-document.js.map +0 -1
- package/dist/v2/features/app/helpers/registry-error-messages.d.ts +0 -23
- package/dist/v2/features/app/helpers/registry-error-messages.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/registry-error-messages.js +0 -63
- package/dist/v2/features/app/helpers/registry-error-messages.js.map +0 -1
- package/dist/v2/features/app/helpers/routes.d.ts +0 -184
- package/dist/v2/features/app/helpers/routes.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/routes.js +0 -153
- package/dist/v2/features/app/helpers/routes.js.map +0 -1
- package/dist/v2/features/app/helpers/version-status-presentation.d.ts +0 -24
- package/dist/v2/features/app/helpers/version-status-presentation.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/version-status-presentation.js +0 -43
- package/dist/v2/features/app/helpers/version-status-presentation.js.map +0 -1
- package/dist/v2/features/app/hooks/use-active-document-version.d.ts +0 -42
- package/dist/v2/features/app/hooks/use-active-document-version.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-active-document-version.js +0 -60
- package/dist/v2/features/app/hooks/use-active-document-version.js.map +0 -1
- package/dist/v2/features/app/hooks/use-document-filter.d.ts +0 -38
- package/dist/v2/features/app/hooks/use-document-filter.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-document-filter.js +0 -63
- package/dist/v2/features/app/hooks/use-document-filter.js.map +0 -1
- package/dist/v2/features/app/hooks/use-document-sync.d.ts +0 -126
- package/dist/v2/features/app/hooks/use-document-sync.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-document-sync.js +0 -448
- package/dist/v2/features/app/hooks/use-document-sync.js.map +0 -1
- package/dist/v2/features/app/hooks/use-document-watcher.d.ts +0 -30
- package/dist/v2/features/app/hooks/use-document-watcher.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-document-watcher.js +0 -168
- package/dist/v2/features/app/hooks/use-document-watcher.js.map +0 -1
- package/dist/v2/features/app/hooks/use-network-status.d.ts +0 -29
- package/dist/v2/features/app/hooks/use-network-status.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-network-status.js +0 -58
- package/dist/v2/features/app/hooks/use-network-status.js.map +0 -1
- package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts +0 -17258
- package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-sidebar-context-menu.js +0 -107
- package/dist/v2/features/app/hooks/use-sidebar-context-menu.js.map +0 -1
- package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts +0 -119
- package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-sidebar-documents.js +0 -219
- package/dist/v2/features/app/hooks/use-sidebar-documents.js.map +0 -1
- package/dist/v2/features/app/hooks/use-theme.d.ts +0 -56
- package/dist/v2/features/app/hooks/use-theme.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-theme.js +0 -94
- package/dist/v2/features/app/hooks/use-theme.js.map +0 -1
- package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts +0 -35
- package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-version-conflict-check.js +0 -62
- package/dist/v2/features/app/hooks/use-version-conflict-check.js.map +0 -1
- package/dist/v2/features/app/index.d.ts +0 -10
- package/dist/v2/features/app/index.d.ts.map +0 -1
- package/dist/v2/features/app/index.js +0 -8
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts +0 -13
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/DocumentCollection.vue.js +0 -8
- package/dist/v2/features/collection/DocumentCollection.vue.js.map +0 -1
- package/dist/v2/features/collection/DocumentCollection.vue.script.js +0 -112
- package/dist/v2/features/collection/DocumentCollection.vue.script.js.map +0 -1
- package/dist/v2/features/collection/OperationCollection.vue.d.ts +0 -6
- package/dist/v2/features/collection/OperationCollection.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/OperationCollection.vue.js +0 -7
- package/dist/v2/features/collection/OperationCollection.vue.js.map +0 -1
- package/dist/v2/features/collection/OperationCollection.vue.script.js +0 -95
- package/dist/v2/features/collection/OperationCollection.vue.script.js.map +0 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +0 -6
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +0 -7
- package/dist/v2/features/collection/WorkspaceCollection.vue.js.map +0 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.script.js +0 -74
- package/dist/v2/features/collection/WorkspaceCollection.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +0 -9
- package/dist/v2/features/collection/components/Authentication.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Authentication.vue.script.js +0 -174
- package/dist/v2/features/collection/components/Authentication.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Cookies.vue.d.ts +0 -21
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Cookies.vue.js +0 -7
- package/dist/v2/features/collection/components/Cookies.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Cookies.vue.script.js +0 -58
- package/dist/v2/features/collection/components/Cookies.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts +0 -12
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js +0 -9
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js.map +0 -1
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js +0 -174
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/Editor.vue.js +0 -9
- package/dist/v2/features/collection/components/Editor/Editor.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/Editor.vue.script.js +0 -361
- package/dist/v2/features/collection/components/Editor/Editor.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts +0 -19
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js +0 -7
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js +0 -69
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js +0 -7
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js +0 -91
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts +0 -12
- package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js +0 -22
- package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts +0 -11
- package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js +0 -17
- package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts +0 -7
- package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js +0 -17
- package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts +0 -10
- package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js +0 -34
- package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts +0 -10
- package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js +0 -18
- package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts +0 -15
- package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +0 -36
- package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/index.d.ts +0 -2
- package/dist/v2/features/collection/components/Editor/index.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/index.js +0 -2
- package/dist/v2/features/collection/components/Environment.vue.d.ts +0 -21
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Environment.vue.js +0 -7
- package/dist/v2/features/collection/components/Environment.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Environment.vue.script.js +0 -61
- package/dist/v2/features/collection/components/Environment.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Form.vue.d.ts +0 -29
- package/dist/v2/features/collection/components/Form.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Form.vue.js +0 -7
- package/dist/v2/features/collection/components/Form.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Form.vue.script.js +0 -78
- package/dist/v2/features/collection/components/Form.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/GetStarted.vue.d.ts +0 -21
- package/dist/v2/features/collection/components/GetStarted.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/GetStarted.vue.js +0 -7
- package/dist/v2/features/collection/components/GetStarted.vue.js.map +0 -1
- package/dist/v2/features/collection/components/GetStarted.vue.script.js +0 -144
- package/dist/v2/features/collection/components/GetStarted.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts +0 -18
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/LabelInput.vue.js +0 -9
- package/dist/v2/features/collection/components/LabelInput.vue.js.map +0 -1
- package/dist/v2/features/collection/components/LabelInput.vue.script.js +0 -38
- package/dist/v2/features/collection/components/LabelInput.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Overview.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Overview.vue.js +0 -9
- package/dist/v2/features/collection/components/Overview.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Overview.vue.script.js +0 -204
- package/dist/v2/features/collection/components/Overview.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js +0 -223
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts +0 -20
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js +0 -45
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts +0 -19
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js +0 -73
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js +0 -124
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts +0 -17
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js +0 -126
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts +0 -18
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js +0 -180
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts +0 -14
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js +0 -44
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts +0 -19
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js +0 -53
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts +0 -23
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js +0 -75
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/index.d.ts +0 -3
- package/dist/v2/features/collection/components/Runner/hooks/index.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts +0 -75
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js +0 -191
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts +0 -46
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js +0 -114
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/index.d.ts +0 -2
- package/dist/v2/features/collection/components/Runner/index.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Scripts.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Scripts.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Scripts.vue.js +0 -7
- package/dist/v2/features/collection/components/Scripts.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Scripts.vue.script.js +0 -49
- package/dist/v2/features/collection/components/Scripts.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Servers.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Servers.vue.js +0 -7
- package/dist/v2/features/collection/components/Servers.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Servers.vue.script.js +0 -219
- package/dist/v2/features/collection/components/Servers.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Settings.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Settings.vue.js +0 -7
- package/dist/v2/features/collection/components/Settings.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Settings.vue.script.js +0 -81
- package/dist/v2/features/collection/components/Settings.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Tabs.vue.d.ts +0 -8
- package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Tabs.vue.js +0 -7
- package/dist/v2/features/collection/components/Tabs.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Tabs.vue.script.js +0 -55
- package/dist/v2/features/collection/components/Tabs.vue.script.js.map +0 -1
- package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts +0 -12
- package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts.map +0 -1
- package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js +0 -19
- package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js.map +0 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +0 -42
- package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue.js +0 -9
- package/dist/v2/features/command-palette/TheCommandPalette.vue.js.map +0 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js +0 -189
- package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +0 -49
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js +0 -225
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +0 -53
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js +0 -227
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +0 -44
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js +0 -9
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js +0 -137
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts +0 -30
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js +0 -156
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts +0 -37
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js +0 -105
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +0 -48
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js +0 -228
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +0 -65
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js +0 -142
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts +0 -58
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js +0 -9
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js +0 -142
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts +0 -23
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js +0 -9
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js +0 -138
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts +0 -34
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js +0 -7
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js +0 -39
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts +0 -20
- package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/generate-unique-slug.js +0 -33
- package/dist/v2/features/command-palette/helpers/generate-unique-slug.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts +0 -11
- package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-merge-key.js +0 -32
- package/dist/v2/features/command-palette/helpers/get-merge-key.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts +0 -24
- package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js +0 -56
- package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts +0 -24
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js +0 -22
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts +0 -26
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js +0 -119
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts +0 -14
- package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js +0 -19
- package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts +0 -28
- package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-postman-document-details.js +0 -36
- package/dist/v2/features/command-palette/helpers/get-postman-document-details.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts +0 -30
- package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js +0 -70
- package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts +0 -20
- package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/load-document-from-source.js +0 -72
- package/dist/v2/features/command-palette/helpers/load-document-from-source.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/parse-curl.d.ts +0 -14
- package/dist/v2/features/command-palette/helpers/parse-curl.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/parse-curl.js +0 -106
- package/dist/v2/features/command-palette/helpers/parse-curl.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts +0 -11
- package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/postman-request-collisions.js +0 -35
- package/dist/v2/features/command-palette/helpers/postman-request-collisions.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts +0 -41
- package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/postman-request-tree.js +0 -139
- package/dist/v2/features/command-palette/helpers/postman-request-tree.js.map +0 -1
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +0 -426
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +0 -1
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +0 -207
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.js.map +0 -1
- package/dist/v2/features/editor/config.d.ts +0 -16
- package/dist/v2/features/editor/config.d.ts.map +0 -1
- package/dist/v2/features/editor/config.js +0 -19
- package/dist/v2/features/editor/config.js.map +0 -1
- package/dist/v2/features/editor/helpers/configure-language-support.d.ts +0 -13
- package/dist/v2/features/editor/helpers/configure-language-support.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/configure-language-support.js +0 -48
- package/dist/v2/features/editor/helpers/configure-language-support.js.map +0 -1
- package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts +0 -6
- package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/ensure-monaco-environment.js +0 -21
- package/dist/v2/features/editor/helpers/ensure-monaco-environment.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/create-json-model.d.ts +0 -12
- package/dist/v2/features/editor/helpers/json/create-json-model.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/create-json-model.js +0 -31
- package/dist/v2/features/editor/helpers/json/create-json-model.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts +0 -14
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js +0 -22
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-ast.d.ts +0 -12
- package/dist/v2/features/editor/helpers/json/json-ast.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-ast.js +0 -32
- package/dist/v2/features/editor/helpers/json/json-ast.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts +0 -15
- package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-pointer-links.js +0 -104
- package/dist/v2/features/editor/helpers/json/json-pointer-links.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts +0 -7
- package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-pointer-path.js +0 -27
- package/dist/v2/features/editor/helpers/json/json-pointer-path.js.map +0 -1
- package/dist/v2/features/editor/helpers/model.d.ts +0 -9
- package/dist/v2/features/editor/helpers/model.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts +0 -14
- package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/range-to-whole-line.js +0 -27
- package/dist/v2/features/editor/helpers/range-to-whole-line.js.map +0 -1
- package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts +0 -16
- package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js +0 -84
- package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js.map +0 -1
- package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts +0 -36
- package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/theme/load-css-variables.js +0 -117
- package/dist/v2/features/editor/helpers/theme/load-css-variables.js.map +0 -1
- package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts +0 -13
- package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js +0 -32
- package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js.map +0 -1
- package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts +0 -19
- package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js +0 -70
- package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js.map +0 -1
- package/dist/v2/features/editor/hooks/use-editor-markers.d.ts +0 -152
- package/dist/v2/features/editor/hooks/use-editor-markers.d.ts.map +0 -1
- package/dist/v2/features/editor/hooks/use-editor-markers.js +0 -37
- package/dist/v2/features/editor/hooks/use-editor-markers.js.map +0 -1
- package/dist/v2/features/editor/hooks/use-editor.d.ts +0 -39
- package/dist/v2/features/editor/hooks/use-editor.d.ts.map +0 -1
- package/dist/v2/features/editor/hooks/use-editor.js +0 -133
- package/dist/v2/features/editor/hooks/use-editor.js.map +0 -1
- package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts +0 -16
- package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts.map +0 -1
- package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js +0 -45
- package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js.map +0 -1
- package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts +0 -77
- package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts.map +0 -1
- package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js +0 -396
- package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js.map +0 -1
- package/dist/v2/features/editor/index.d.ts +0 -5
- package/dist/v2/features/editor/index.d.ts.map +0 -1
- package/dist/v2/features/editor/index.js +0 -5
- package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js +0 -51
- package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js.map +0 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +0 -10
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +0 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +0 -9
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js.map +0 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js +0 -188
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js.map +0 -1
- package/dist/v2/features/global-cookies/index.d.ts +0 -2
- package/dist/v2/features/global-cookies/index.d.ts.map +0 -1
- package/dist/v2/features/global-cookies/index.js +0 -2
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts +0 -28
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +0 -1
- package/dist/v2/features/settings/CollectionSettings.vue.js +0 -7
- package/dist/v2/features/settings/CollectionSettings.vue.js.map +0 -1
- package/dist/v2/features/settings/CollectionSettings.vue.script.js +0 -229
- package/dist/v2/features/settings/CollectionSettings.vue.script.js.map +0 -1
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts +0 -20
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +0 -1
- package/dist/v2/features/settings/DocumentSettings.vue.js +0 -7
- package/dist/v2/features/settings/DocumentSettings.vue.js.map +0 -1
- package/dist/v2/features/settings/DocumentSettings.vue.script.js +0 -92
- package/dist/v2/features/settings/DocumentSettings.vue.script.js.map +0 -1
- package/dist/v2/features/settings/components/Appearance.vue.d.ts +0 -11
- package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +0 -1
- package/dist/v2/features/settings/components/Appearance.vue.js +0 -7
- package/dist/v2/features/settings/components/Appearance.vue.js.map +0 -1
- package/dist/v2/features/settings/components/Appearance.vue.script.js +0 -63
- package/dist/v2/features/settings/components/Appearance.vue.script.js.map +0 -1
- package/dist/v2/features/settings/components/Section.vue.d.ts +0 -16
- package/dist/v2/features/settings/components/Section.vue.d.ts.map +0 -1
- package/dist/v2/features/settings/components/Section.vue.js +0 -7
- package/dist/v2/features/settings/components/Section.vue.js.map +0 -1
- package/dist/v2/features/settings/components/Section.vue.script.js +0 -30
- package/dist/v2/features/settings/components/Section.vue.script.js.map +0 -1
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +0 -10
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +0 -1
- package/dist/v2/features/settings/helpers/get-theme-colors.js +0 -68
- package/dist/v2/features/settings/helpers/get-theme-colors.js.map +0 -1
- package/dist/v2/features/settings/index.d.ts +0 -3
- package/dist/v2/features/settings/index.d.ts.map +0 -1
- package/dist/v2/features/settings/index.js +0 -3
- package/dist/v2/helpers/download-document.d.ts +0 -2
- package/dist/v2/helpers/download-document.d.ts.map +0 -1
- package/dist/v2/helpers/download-document.js +0 -42
- package/dist/v2/helpers/download-document.js.map +0 -1
- package/dist/v2/helpers/drag-handle-factory.d.ts +0 -16
- package/dist/v2/helpers/drag-handle-factory.d.ts.map +0 -1
- package/dist/v2/helpers/drag-handle-factory.js +0 -258
- package/dist/v2/helpers/drag-handle-factory.js.map +0 -1
- package/dist/v2/helpers/get-tab-details.d.ts +0 -43
- package/dist/v2/helpers/get-tab-details.d.ts.map +0 -1
- package/dist/v2/helpers/get-tab-details.js +0 -54
- package/dist/v2/helpers/get-tab-details.js.map +0 -1
- package/dist/v2/helpers/is-url.d.ts +0 -2
- package/dist/v2/helpers/is-url.d.ts.map +0 -1
- package/dist/v2/helpers/is-url.js +0 -10
- package/dist/v2/helpers/is-url.js.map +0 -1
- package/dist/v2/helpers/safe-run.d.ts +0 -34
- package/dist/v2/helpers/safe-run.d.ts.map +0 -1
- package/dist/v2/helpers/safe-run.js +0 -43
- package/dist/v2/helpers/safe-run.js.map +0 -1
- package/dist/v2/helpers/storage.d.ts +0 -31
- package/dist/v2/helpers/storage.d.ts.map +0 -1
- package/dist/v2/helpers/storage.js +0 -37
- package/dist/v2/helpers/storage.js.map +0 -1
- package/dist/v2/hooks/use-color-mode.d.ts +0 -20
- package/dist/v2/hooks/use-color-mode.d.ts.map +0 -1
- package/dist/v2/hooks/use-color-mode.js +0 -72
- package/dist/v2/hooks/use-color-mode.js.map +0 -1
- package/dist/v2/types/configuration.d.ts +0 -278
- package/dist/v2/types/configuration.d.ts.map +0 -1
- /package/dist/components/{ScalarAsciiArt.vue.d.ts → ScalarAsciiArt/ScalarAsciiArt.vue.d.ts} +0 -0
- /package/dist/{index.js → types/index.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-sidebar-context-menu.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/hooks/use-sidebar-context-menu.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAEvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAGhF;;;;;GAKG;AACH,KAAK,UAAU,GAAG;IAChB,+CAA+C;IAC/C,IAAI,EAAE,cAAc,CAAA;IACpB,mDAAmD;IACnD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;;;;;;;;;;;;;;;;;;YAFb,WAAW;kBAEL,OAAO;;;;;;;;sBA+Cc,UAAU,GAAG,aAAa,QAAQ,cAAc;;;CAsFhF,CAAA"}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { computed, nextTick, ref } from "vue";
|
|
2
|
-
import { useModal } from "@scalar/components";
|
|
3
|
-
import { getParentEntry } from "@scalar/workspace-store/navigation";
|
|
4
|
-
//#region src/v2/features/app/hooks/use-sidebar-context-menu.ts
|
|
5
|
-
/**
|
|
6
|
-
* Owns the "more options" dropdown + delete confirmation modal for the app
|
|
7
|
-
* sidebar.
|
|
8
|
-
*
|
|
9
|
-
* The hook exposes:
|
|
10
|
-
* - `menuTarget`: anchor + open state for the `SidebarItemMenu` component,
|
|
11
|
-
* so the dropdown can re-position itself next to the triggering icon
|
|
12
|
-
* button without each row rendering its own menu
|
|
13
|
-
* - `openMenu` / `closeMenu`: helpers that match the dropdown animation
|
|
14
|
-
* lifecycle (keep the target element around on close so exit animations
|
|
15
|
-
* can play)
|
|
16
|
-
* - `deleteModalState` + `deleteMessage`: the shared confirmation modal
|
|
17
|
-
* that is triggered from the dropdown menu. The message is phrased more
|
|
18
|
-
* strongly for documents because deleting one also removes every tag and
|
|
19
|
-
* operation inside it.
|
|
20
|
-
* - `handleDelete`: routes the confirmation to the right `*:delete:*`
|
|
21
|
-
* event on the workspace event bus depending on the item's type.
|
|
22
|
-
*/
|
|
23
|
-
var useSidebarContextMenu = ({ eventBus, sidebarState }) => {
|
|
24
|
-
const menuTarget = ref(null);
|
|
25
|
-
const deleteModalState = useModal();
|
|
26
|
-
const deleteMessage = computed(() => {
|
|
27
|
-
const item = menuTarget.value?.item;
|
|
28
|
-
if (item?.type === "document") return "This cannot be undone. You're about to delete the document and all tags and operations inside it.";
|
|
29
|
-
return `Are you sure you want to delete this ${item?.type ?? "item"}? This action cannot be undone.`;
|
|
30
|
-
});
|
|
31
|
-
/**
|
|
32
|
-
* Open the dropdown for `item` and re-dispatch the originating event on
|
|
33
|
-
* the anchor element after the next tick. Re-dispatching is what lets the
|
|
34
|
-
* menu open on the correct anchor for both mouse and keyboard
|
|
35
|
-
* interactions, matching the behaviour of the old sidebar.
|
|
36
|
-
*/
|
|
37
|
-
const openMenu = async (event, item) => {
|
|
38
|
-
if (menuTarget.value?.showMenu) return;
|
|
39
|
-
menuTarget.value = {
|
|
40
|
-
item,
|
|
41
|
-
el: event.currentTarget,
|
|
42
|
-
showMenu: true
|
|
43
|
-
};
|
|
44
|
-
await nextTick();
|
|
45
|
-
const cloned = event instanceof MouseEvent ? new MouseEvent(event.type, event) : new KeyboardEvent(event.type, event);
|
|
46
|
-
menuTarget.value?.el.dispatchEvent(cloned);
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Close the dropdown without resetting its target so exit animations can
|
|
50
|
-
* still play out. The target is cleared on the next `handleDelete` or
|
|
51
|
-
* `openMenu` call.
|
|
52
|
-
*/
|
|
53
|
-
const closeMenu = () => {
|
|
54
|
-
if (menuTarget.value) menuTarget.value.showMenu = false;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Fire the correct `*:delete:*` event on the workspace event bus for the
|
|
58
|
-
* active menu target, then hide the confirmation modal and clear the
|
|
59
|
-
* menu. Silent no-op if the target cannot be resolved to a parent
|
|
60
|
-
* document (or parent operation, for examples).
|
|
61
|
-
*/
|
|
62
|
-
const handleDelete = () => {
|
|
63
|
-
const item = menuTarget.value?.item;
|
|
64
|
-
if (!item) return;
|
|
65
|
-
const result = sidebarState.getEntryById(item.id);
|
|
66
|
-
const document = getParentEntry("document", result);
|
|
67
|
-
const operation = getParentEntry("operation", result);
|
|
68
|
-
if (!document) return;
|
|
69
|
-
if (item.type === "document") eventBus.emit("document:delete:document", { name: document.name });
|
|
70
|
-
else if (item.type === "tag") eventBus.emit("tag:delete:tag", {
|
|
71
|
-
documentName: document.name,
|
|
72
|
-
name: item.name
|
|
73
|
-
});
|
|
74
|
-
else if (item.type === "operation") eventBus.emit("operation:delete:operation", {
|
|
75
|
-
meta: {
|
|
76
|
-
method: item.method,
|
|
77
|
-
path: item.path
|
|
78
|
-
},
|
|
79
|
-
documentName: document.name
|
|
80
|
-
});
|
|
81
|
-
else if (item.type === "example") {
|
|
82
|
-
if (!operation) return;
|
|
83
|
-
eventBus.emit("operation:delete:example", {
|
|
84
|
-
meta: {
|
|
85
|
-
method: operation.method,
|
|
86
|
-
path: operation.path,
|
|
87
|
-
exampleKey: item.name
|
|
88
|
-
},
|
|
89
|
-
documentName: document.name
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
deleteModalState.hide();
|
|
93
|
-
menuTarget.value = null;
|
|
94
|
-
};
|
|
95
|
-
return {
|
|
96
|
-
menuTarget,
|
|
97
|
-
deleteModalState,
|
|
98
|
-
deleteMessage,
|
|
99
|
-
openMenu,
|
|
100
|
-
closeMenu,
|
|
101
|
-
handleDelete
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
//#endregion
|
|
105
|
-
export { useSidebarContextMenu };
|
|
106
|
-
|
|
107
|
-
//# sourceMappingURL=use-sidebar-context-menu.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-sidebar-context-menu.js","names":[],"sources":["../../../../../src/v2/features/app/hooks/use-sidebar-context-menu.ts"],"sourcesContent":["import { useModal } from '@scalar/components'\nimport type { SidebarState } from '@scalar/sidebar'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport { getParentEntry } from '@scalar/workspace-store/navigation'\nimport type { TraversedEntry } from '@scalar/workspace-store/schemas/navigation'\nimport { computed, nextTick, ref } from 'vue'\n\n/**\n * Anchor information for the currently open contextual dropdown. We hold on\n * to the DOM element that opened the menu so `SidebarItemMenu` can teleport\n * itself next to it, and track `showMenu` independently from `null`-ness so\n * closing the menu can play its exit animation before the target is cleared.\n */\ntype MenuTarget = {\n /** The sidebar entry the menu is acting on. */\n item: TraversedEntry\n /** The DOM element the dropdown is anchored to. */\n el: HTMLElement\n /** Whether the menu is currently rendered. */\n showMenu: boolean\n}\n\n/**\n * Owns the \"more options\" dropdown + delete confirmation modal for the app\n * sidebar.\n *\n * The hook exposes:\n * - `menuTarget`: anchor + open state for the `SidebarItemMenu` component,\n * so the dropdown can re-position itself next to the triggering icon\n * button without each row rendering its own menu\n * - `openMenu` / `closeMenu`: helpers that match the dropdown animation\n * lifecycle (keep the target element around on close so exit animations\n * can play)\n * - `deleteModalState` + `deleteMessage`: the shared confirmation modal\n * that is triggered from the dropdown menu. The message is phrased more\n * strongly for documents because deleting one also removes every tag and\n * operation inside it.\n * - `handleDelete`: routes the confirmation to the right `*:delete:*`\n * event on the workspace event bus depending on the item's type.\n */\nexport const useSidebarContextMenu = ({\n eventBus,\n sidebarState,\n}: {\n eventBus: WorkspaceEventBus\n sidebarState: SidebarState<TraversedEntry>\n}) => {\n const menuTarget = ref<MenuTarget | null>(null)\n const deleteModalState = useModal()\n\n const deleteMessage = computed(() => {\n const item = menuTarget.value?.item\n\n if (item?.type === 'document') {\n return \"This cannot be undone. You're about to delete the document and all tags and operations inside it.\"\n }\n\n return `Are you sure you want to delete this ${item?.type ?? 'item'}? This action cannot be undone.`\n })\n\n /**\n * Open the dropdown for `item` and re-dispatch the originating event on\n * the anchor element after the next tick. Re-dispatching is what lets the\n * menu open on the correct anchor for both mouse and keyboard\n * interactions, matching the behaviour of the old sidebar.\n */\n const openMenu = async (event: MouseEvent | KeyboardEvent, item: TraversedEntry) => {\n if (menuTarget.value?.showMenu) {\n return\n }\n\n const el = event.currentTarget as HTMLElement\n menuTarget.value = { item, el, showMenu: true }\n\n await nextTick()\n\n const cloned =\n event instanceof MouseEvent ? new MouseEvent(event.type, event) : new KeyboardEvent(event.type, event)\n\n menuTarget.value?.el.dispatchEvent(cloned)\n }\n\n /**\n * Close the dropdown without resetting its target so exit animations can\n * still play out. The target is cleared on the next `handleDelete` or\n * `openMenu` call.\n */\n const closeMenu = () => {\n if (menuTarget.value) {\n menuTarget.value.showMenu = false\n }\n }\n\n /**\n * Fire the correct `*:delete:*` event on the workspace event bus for the\n * active menu target, then hide the confirmation modal and clear the\n * menu. Silent no-op if the target cannot be resolved to a parent\n * document (or parent operation, for examples).\n */\n const handleDelete = () => {\n const item = menuTarget.value?.item\n\n if (!item) {\n return\n }\n\n const result = sidebarState.getEntryById(item.id)\n const document = getParentEntry('document', result)\n const operation = getParentEntry('operation', result)\n\n if (!document) {\n return\n }\n\n if (item.type === 'document') {\n eventBus.emit('document:delete:document', { name: document.name })\n } else if (item.type === 'tag') {\n eventBus.emit('tag:delete:tag', {\n documentName: document.name,\n name: item.name,\n })\n } else if (item.type === 'operation') {\n eventBus.emit('operation:delete:operation', {\n meta: { method: item.method, path: item.path },\n documentName: document.name,\n })\n } else if (item.type === 'example') {\n if (!operation) {\n return\n }\n eventBus.emit('operation:delete:example', {\n meta: {\n method: operation.method,\n path: operation.path,\n exampleKey: item.name,\n },\n documentName: document.name,\n })\n }\n\n deleteModalState.hide()\n menuTarget.value = null\n }\n\n return {\n menuTarget,\n deleteModalState,\n deleteMessage,\n openMenu,\n closeMenu,\n handleDelete,\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAwCA,IAAa,yBAAyB,EACpC,UACA,mBAII;CACJ,MAAM,aAAa,IAAuB,KAAK;CAC/C,MAAM,mBAAmB,UAAU;CAEnC,MAAM,gBAAgB,eAAe;EACnC,MAAM,OAAO,WAAW,OAAO;AAE/B,MAAI,MAAM,SAAS,WACjB,QAAO;AAGT,SAAO,wCAAwC,MAAM,QAAQ,OAAO;GACpE;;;;;;;CAQF,MAAM,WAAW,OAAO,OAAmC,SAAyB;AAClF,MAAI,WAAW,OAAO,SACpB;AAIF,aAAW,QAAQ;GAAE;GAAM,IADhB,MAAM;GACc,UAAU;GAAM;AAE/C,QAAM,UAAU;EAEhB,MAAM,SACJ,iBAAiB,aAAa,IAAI,WAAW,MAAM,MAAM,MAAM,GAAG,IAAI,cAAc,MAAM,MAAM,MAAM;AAExG,aAAW,OAAO,GAAG,cAAc,OAAO;;;;;;;CAQ5C,MAAM,kBAAkB;AACtB,MAAI,WAAW,MACb,YAAW,MAAM,WAAW;;;;;;;;CAUhC,MAAM,qBAAqB;EACzB,MAAM,OAAO,WAAW,OAAO;AAE/B,MAAI,CAAC,KACH;EAGF,MAAM,SAAS,aAAa,aAAa,KAAK,GAAG;EACjD,MAAM,WAAW,eAAe,YAAY,OAAO;EACnD,MAAM,YAAY,eAAe,aAAa,OAAO;AAErD,MAAI,CAAC,SACH;AAGF,MAAI,KAAK,SAAS,WAChB,UAAS,KAAK,4BAA4B,EAAE,MAAM,SAAS,MAAM,CAAC;WACzD,KAAK,SAAS,MACvB,UAAS,KAAK,kBAAkB;GAC9B,cAAc,SAAS;GACvB,MAAM,KAAK;GACZ,CAAC;WACO,KAAK,SAAS,YACvB,UAAS,KAAK,8BAA8B;GAC1C,MAAM;IAAE,QAAQ,KAAK;IAAQ,MAAM,KAAK;IAAM;GAC9C,cAAc,SAAS;GACxB,CAAC;WACO,KAAK,SAAS,WAAW;AAClC,OAAI,CAAC,UACH;AAEF,YAAS,KAAK,4BAA4B;IACxC,MAAM;KACJ,QAAQ,UAAU;KAClB,MAAM,UAAU;KAChB,YAAY,KAAK;KAClB;IACD,cAAc,SAAS;IACxB,CAAC;;AAGJ,mBAAiB,MAAM;AACvB,aAAW,QAAQ;;AAGrB,QAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACD"}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import type { AppState } from '@scalar/api-client/v2/features/app';
|
|
2
|
-
import type { TraversedDocument } from '@scalar/workspace-store/schemas/navigation';
|
|
3
|
-
import { type MaybeRefOrGetter } from 'vue';
|
|
4
|
-
import { type VersionStatus } from '../../../../v2/features/app/helpers/compute-version-status.js';
|
|
5
|
-
import type { RegistryDocument } from '../../../../v2/types/configuration';
|
|
6
|
-
export type { VersionStatus };
|
|
7
|
-
/**
|
|
8
|
-
* A single version of a registry-backed document.
|
|
9
|
-
*
|
|
10
|
-
* On team workspaces, a registry document can advertise multiple versions and
|
|
11
|
-
* each one may or may not have been imported into the local workspace store.
|
|
12
|
-
* Loaded versions surface their `documentName` and traversal `navigation`,
|
|
13
|
-
* unloaded versions are placeholders the sidebar can fetch on demand.
|
|
14
|
-
*/
|
|
15
|
-
export type SidebarDocumentVersion = {
|
|
16
|
-
/** Stable key: workspace `documentName` when loaded, otherwise `${namespace}/${slug}@${version}`. */
|
|
17
|
-
key: string;
|
|
18
|
-
/** Version identifier as advertised by the registry. */
|
|
19
|
-
version: string;
|
|
20
|
-
/** User-facing label for the version row. */
|
|
21
|
-
title: string;
|
|
22
|
-
/** Workspace store document name when this version is loaded locally. */
|
|
23
|
-
documentName?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Commit hash recorded on the locally loaded workspace document, if any.
|
|
26
|
-
* Undefined when the version has not been imported into the workspace
|
|
27
|
-
* store or when the loaded document does not carry a hash.
|
|
28
|
-
*/
|
|
29
|
-
commitHash?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Commit hash advertised by the registry for this version, if any.
|
|
32
|
-
* Compared against `commitHash` to derive `status`.
|
|
33
|
-
*/
|
|
34
|
-
registryCommitHash?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Sync status surfaced for the version row. Derived from the local /
|
|
37
|
-
* registry commit hashes, the document's dirty flag and the cached
|
|
38
|
-
* conflict-check result on `x-scalar-registry-meta`. `unknown` is used
|
|
39
|
-
* for versions that are not loaded into the workspace store yet.
|
|
40
|
-
*/
|
|
41
|
-
status: VersionStatus;
|
|
42
|
-
/**
|
|
43
|
-
* True when this row is the canonical "latest" version of the group: the
|
|
44
|
-
* first version the registry advertises. Drafts (locally-created versions
|
|
45
|
-
* the registry has not seen yet) never get this flag, even when they are
|
|
46
|
-
* surfaced ahead of the registry-advertised rows in the picker.
|
|
47
|
-
*/
|
|
48
|
-
isLatest: boolean;
|
|
49
|
-
/** Traversal tree for this version. Populated only when the version is loaded into the workspace store. */
|
|
50
|
-
navigation?: TraversedDocument;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* A unified item for the top-level of our sidebar.
|
|
54
|
-
*
|
|
55
|
-
* It can represent one of three things:
|
|
56
|
-
* - A workspace document that only exists locally (no registry link)
|
|
57
|
-
* - A workspace document that was imported from the registry
|
|
58
|
-
* - A registry document that has not yet been imported into the store
|
|
59
|
-
*
|
|
60
|
-
* For registry-backed entries, the parent fields (`navigation`, `documentName`)
|
|
61
|
-
* mirror the active version so the sidebar template can render a single tree
|
|
62
|
-
* without having to look up the active version itself. The full version list
|
|
63
|
-
* lives in `versions`.
|
|
64
|
-
*/
|
|
65
|
-
export type SidebarDocumentItem = {
|
|
66
|
-
/** Stable key used for sidebar state: `@namespace/slug` for registry-backed entries, document name otherwise. */
|
|
67
|
-
key: string;
|
|
68
|
-
/**
|
|
69
|
-
* User-facing title of the document. Registry-backed entries always surface
|
|
70
|
-
* the registry's title so the sidebar matches what the registry advertises,
|
|
71
|
-
* even when a locally loaded copy has been renamed. Standalone entries use
|
|
72
|
-
* the workspace document title.
|
|
73
|
-
*/
|
|
74
|
-
title: string;
|
|
75
|
-
/** Name of the document inside the workspace store (mirrors the active version on registry-backed entries). */
|
|
76
|
-
documentName?: string;
|
|
77
|
-
/** Registry coordinates for the document group (without the version, which lives on `versions[]`). */
|
|
78
|
-
registry?: {
|
|
79
|
-
namespace: string;
|
|
80
|
-
slug: string;
|
|
81
|
-
};
|
|
82
|
-
/** Traversal tree of the active version (or the lone document for standalone entries). */
|
|
83
|
-
navigation?: TraversedDocument;
|
|
84
|
-
/** Whether the document is pinned (todo: derived from `x-scalar-pinned`) */
|
|
85
|
-
isPinned?: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* All known versions of the document, ordered with the registry's ordering
|
|
88
|
-
* preserved (latest first by convention). Loaded versions surface their
|
|
89
|
-
* workspace `documentName` and `navigation`, unloaded ones act as
|
|
90
|
-
* placeholders the sidebar can fetch on demand. Undefined for standalone
|
|
91
|
-
* entries that have no registry coordinates.
|
|
92
|
-
*/
|
|
93
|
-
versions?: SidebarDocumentVersion[];
|
|
94
|
-
/** Key of the version currently surfaced at the parent level (matches a `versions[].key`). */
|
|
95
|
-
activeVersionKey?: string;
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* Builds a unified list of sidebar documents.
|
|
99
|
-
*
|
|
100
|
-
* Behavior:
|
|
101
|
-
* - Local workspaces (`teamUid === 'local'`) only show workspace documents.
|
|
102
|
-
* Registry documents are not considered at all.
|
|
103
|
-
* - Team workspaces group workspace documents by `namespace + slug` from
|
|
104
|
-
* `x-scalar-registry-meta`. Each unique registry coordinate produces a
|
|
105
|
-
* single sidebar entry whose versions are exposed as `versions`. The
|
|
106
|
-
* `versions` array merges the registry-advertised versions with any
|
|
107
|
-
* loaded workspace counterparts (matched by `version`). Registry
|
|
108
|
-
* documents that have no loaded match are still surfaced as entries
|
|
109
|
-
* waiting to be fetched.
|
|
110
|
-
*/
|
|
111
|
-
export declare function useSidebarDocuments({ app, managedDocs, }: {
|
|
112
|
-
app: AppState;
|
|
113
|
-
managedDocs: MaybeRefOrGetter<RegistryDocument[]>;
|
|
114
|
-
}): {
|
|
115
|
-
documents: import("vue").ComputedRef<SidebarDocumentItem[]>;
|
|
116
|
-
pinned: import("vue").ComputedRef<SidebarDocumentItem[]>;
|
|
117
|
-
rest: import("vue").ComputedRef<SidebarDocumentItem[]>;
|
|
118
|
-
};
|
|
119
|
-
//# sourceMappingURL=use-sidebar-documents.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-sidebar-documents.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/hooks/use-sidebar-documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAA;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAA;AACnF,OAAO,EAAE,KAAK,gBAA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BD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,WAAW,GACZ,EAAE;IACD,GAAG,EAAE,QAAQ,CAAA;IACb,WAAW,EAAE,gBAAgB,CAAC,gBAAgB,EAAE,CAAC,CAAA;CAClD;;;;EA+HA"}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { computeVersionStatus } from "../helpers/compute-version-status.js";
|
|
2
|
-
import { computed, toValue } from "vue";
|
|
3
|
-
//#region src/v2/features/app/hooks/use-sidebar-documents.ts
|
|
4
|
-
var registryKey = (namespace, slug) => `@${namespace}/${slug}`;
|
|
5
|
-
var versionKey = (namespace, slug, version) => `${registryKey(namespace, slug)}@${version}`;
|
|
6
|
-
/**
|
|
7
|
-
* Builds a unified list of sidebar documents.
|
|
8
|
-
*
|
|
9
|
-
* Behavior:
|
|
10
|
-
* - Local workspaces (`teamUid === 'local'`) only show workspace documents.
|
|
11
|
-
* Registry documents are not considered at all.
|
|
12
|
-
* - Team workspaces group workspace documents by `namespace + slug` from
|
|
13
|
-
* `x-scalar-registry-meta`. Each unique registry coordinate produces a
|
|
14
|
-
* single sidebar entry whose versions are exposed as `versions`. The
|
|
15
|
-
* `versions` array merges the registry-advertised versions with any
|
|
16
|
-
* loaded workspace counterparts (matched by `version`). Registry
|
|
17
|
-
* documents that have no loaded match are still surfaced as entries
|
|
18
|
-
* waiting to be fetched.
|
|
19
|
-
*/
|
|
20
|
-
function useSidebarDocuments({ app, managedDocs }) {
|
|
21
|
-
const isTeamWorkspace = app.workspace.isTeamWorkspace;
|
|
22
|
-
/** Raw workspace documents projected into the shape the grouping logic needs. */
|
|
23
|
-
const workspaceEntries = computed(() => {
|
|
24
|
-
const store = app.store.value;
|
|
25
|
-
if (!store) return [];
|
|
26
|
-
return Object.entries(store.workspace.documents).map(([name, doc]) => {
|
|
27
|
-
const registry = doc?.["x-scalar-registry-meta"];
|
|
28
|
-
const navigation = doc?.["x-scalar-navigation"];
|
|
29
|
-
return {
|
|
30
|
-
documentName: name,
|
|
31
|
-
title: navigation?.title || doc?.info?.title || "Untitled",
|
|
32
|
-
navigation,
|
|
33
|
-
isPinned: false,
|
|
34
|
-
isDirty: doc?.["x-scalar-is-dirty"] === true,
|
|
35
|
-
registry: registry ? {
|
|
36
|
-
namespace: registry.namespace,
|
|
37
|
-
slug: registry.slug,
|
|
38
|
-
version: registry.version,
|
|
39
|
-
commitHash: registry.commitHash,
|
|
40
|
-
conflictCheckedAgainstHash: registry.conflictCheckedAgainstHash,
|
|
41
|
-
hasConflict: registry.hasConflict
|
|
42
|
-
} : void 0
|
|
43
|
-
};
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
const documents = computed(() => {
|
|
47
|
-
if (!isTeamWorkspace.value) return workspaceEntries.value.map((entry) => ({
|
|
48
|
-
key: entry.documentName,
|
|
49
|
-
title: entry.title,
|
|
50
|
-
documentName: entry.documentName,
|
|
51
|
-
registry: void 0,
|
|
52
|
-
navigation: entry.navigation,
|
|
53
|
-
isPinned: entry.isPinned ?? false
|
|
54
|
-
}));
|
|
55
|
-
const activeDocumentSlug = app.activeEntities.documentSlug.value;
|
|
56
|
-
const workspaceByRegistry = /* @__PURE__ */ new Map();
|
|
57
|
-
const standalone = [];
|
|
58
|
-
for (const entry of workspaceEntries.value) {
|
|
59
|
-
if (!entry.registry) {
|
|
60
|
-
standalone.push(entry);
|
|
61
|
-
continue;
|
|
62
|
-
}
|
|
63
|
-
const key = registryKey(entry.registry.namespace, entry.registry.slug);
|
|
64
|
-
const bucket = workspaceByRegistry.get(key);
|
|
65
|
-
if (bucket) bucket.push(entry);
|
|
66
|
-
else workspaceByRegistry.set(key, [entry]);
|
|
67
|
-
}
|
|
68
|
-
const grouped = [];
|
|
69
|
-
const consumedRegistryKeys = /* @__PURE__ */ new Set();
|
|
70
|
-
for (const doc of toValue(managedDocs)) {
|
|
71
|
-
const key = registryKey(doc.namespace, doc.slug);
|
|
72
|
-
consumedRegistryKeys.add(key);
|
|
73
|
-
const item = buildRegistryItem({
|
|
74
|
-
key,
|
|
75
|
-
registry: doc,
|
|
76
|
-
loaded: workspaceByRegistry.get(key) ?? [],
|
|
77
|
-
activeDocumentSlug
|
|
78
|
-
});
|
|
79
|
-
if (item) grouped.push(item);
|
|
80
|
-
}
|
|
81
|
-
for (const [key, loaded] of workspaceByRegistry) {
|
|
82
|
-
if (consumedRegistryKeys.has(key)) continue;
|
|
83
|
-
const first = loaded[0]?.registry;
|
|
84
|
-
if (!first) continue;
|
|
85
|
-
const item = buildRegistryItem({
|
|
86
|
-
key,
|
|
87
|
-
registry: {
|
|
88
|
-
namespace: first.namespace,
|
|
89
|
-
slug: first.slug,
|
|
90
|
-
title: loaded[0]?.title ?? first.slug,
|
|
91
|
-
versions: []
|
|
92
|
-
},
|
|
93
|
-
loaded,
|
|
94
|
-
activeDocumentSlug
|
|
95
|
-
});
|
|
96
|
-
if (item) grouped.push(item);
|
|
97
|
-
}
|
|
98
|
-
return [...grouped, ...standalone.map(toStandaloneItem)];
|
|
99
|
-
});
|
|
100
|
-
return {
|
|
101
|
-
documents,
|
|
102
|
-
pinned: computed(() => documents.value.filter((d) => d.isPinned)),
|
|
103
|
-
rest: computed(() => documents.value.filter((d) => !d.isPinned))
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
/** Project a standalone (non-registry) workspace entry into a sidebar item. */
|
|
107
|
-
var toStandaloneItem = (entry) => ({
|
|
108
|
-
key: entry.documentName,
|
|
109
|
-
title: entry.title,
|
|
110
|
-
documentName: entry.documentName,
|
|
111
|
-
registry: void 0,
|
|
112
|
-
navigation: entry.navigation,
|
|
113
|
-
isPinned: entry.isPinned ?? false
|
|
114
|
-
});
|
|
115
|
-
/**
|
|
116
|
-
* Build a single registry-backed sidebar item. The version list is assembled
|
|
117
|
-
* by walking the registry's advertised versions in order and pairing them
|
|
118
|
-
* with any loaded workspace document that claims the same `version` string.
|
|
119
|
-
* Loaded versions that the registry has not advertised are appended at the
|
|
120
|
-
* end so they stay visible until the registry catches up.
|
|
121
|
-
*/
|
|
122
|
-
var buildRegistryItem = ({ key, registry, loaded, activeDocumentSlug }) => {
|
|
123
|
-
const loadedByVersion = /* @__PURE__ */ new Map();
|
|
124
|
-
const orphans = [];
|
|
125
|
-
for (const entry of loaded) {
|
|
126
|
-
const version = entry.registry?.version;
|
|
127
|
-
if (!version) {
|
|
128
|
-
orphans.push(entry);
|
|
129
|
-
continue;
|
|
130
|
-
}
|
|
131
|
-
if (loadedByVersion.has(version)) {
|
|
132
|
-
orphans.push(entry);
|
|
133
|
-
continue;
|
|
134
|
-
}
|
|
135
|
-
loadedByVersion.set(version, entry);
|
|
136
|
-
}
|
|
137
|
-
const versions = [];
|
|
138
|
-
const groupTitle = registry.title || registry.slug;
|
|
139
|
-
const draftEntries = [];
|
|
140
|
-
for (const [version, match] of loadedByVersion) {
|
|
141
|
-
if (registry.versions.some((v) => v.version === version)) continue;
|
|
142
|
-
draftEntries.push([version, match]);
|
|
143
|
-
}
|
|
144
|
-
draftEntries.reverse();
|
|
145
|
-
for (const [version, match] of draftEntries) versions.push({
|
|
146
|
-
key: match.documentName,
|
|
147
|
-
version,
|
|
148
|
-
title: groupTitle,
|
|
149
|
-
documentName: match.documentName,
|
|
150
|
-
commitHash: match.registry?.commitHash,
|
|
151
|
-
registryCommitHash: void 0,
|
|
152
|
-
status: computeVersionStatus({
|
|
153
|
-
isLoaded: true,
|
|
154
|
-
localHash: match.registry?.commitHash,
|
|
155
|
-
registryHash: void 0,
|
|
156
|
-
isDirty: match.isDirty
|
|
157
|
-
}),
|
|
158
|
-
isLatest: false,
|
|
159
|
-
navigation: match.navigation
|
|
160
|
-
});
|
|
161
|
-
registry.versions.forEach((v, registryIndex) => {
|
|
162
|
-
const match = loadedByVersion.get(v.version);
|
|
163
|
-
const localHash = match?.registry?.commitHash;
|
|
164
|
-
const registryHash = v.commitHash;
|
|
165
|
-
versions.push({
|
|
166
|
-
key: match ? match.documentName : versionKey(registry.namespace, registry.slug, v.version),
|
|
167
|
-
version: v.version,
|
|
168
|
-
title: groupTitle,
|
|
169
|
-
documentName: match?.documentName,
|
|
170
|
-
commitHash: localHash,
|
|
171
|
-
registryCommitHash: registryHash,
|
|
172
|
-
status: computeVersionStatus({
|
|
173
|
-
isLoaded: Boolean(match),
|
|
174
|
-
localHash,
|
|
175
|
-
registryHash,
|
|
176
|
-
isDirty: match?.isDirty,
|
|
177
|
-
conflictCheckedAgainstHash: match?.registry?.conflictCheckedAgainstHash,
|
|
178
|
-
hasConflict: match?.registry?.hasConflict
|
|
179
|
-
}),
|
|
180
|
-
isLatest: registryIndex === 0,
|
|
181
|
-
navigation: match?.navigation
|
|
182
|
-
});
|
|
183
|
-
});
|
|
184
|
-
for (const orphan of orphans) versions.push({
|
|
185
|
-
key: orphan.documentName,
|
|
186
|
-
version: orphan.registry?.version ?? "",
|
|
187
|
-
title: groupTitle,
|
|
188
|
-
documentName: orphan.documentName,
|
|
189
|
-
commitHash: orphan.registry?.commitHash,
|
|
190
|
-
registryCommitHash: void 0,
|
|
191
|
-
status: computeVersionStatus({
|
|
192
|
-
isLoaded: true,
|
|
193
|
-
localHash: orphan.registry?.commitHash,
|
|
194
|
-
registryHash: void 0,
|
|
195
|
-
isDirty: orphan.isDirty
|
|
196
|
-
}),
|
|
197
|
-
isLatest: false,
|
|
198
|
-
navigation: orphan.navigation
|
|
199
|
-
});
|
|
200
|
-
if (versions.length === 0) return;
|
|
201
|
-
const activeVersion = versions.find((v) => v.documentName !== void 0 && v.documentName === activeDocumentSlug) ?? versions.find((v) => v.documentName !== void 0) ?? versions[0];
|
|
202
|
-
return {
|
|
203
|
-
key,
|
|
204
|
-
title: groupTitle,
|
|
205
|
-
documentName: activeVersion.documentName,
|
|
206
|
-
registry: {
|
|
207
|
-
namespace: registry.namespace,
|
|
208
|
-
slug: registry.slug
|
|
209
|
-
},
|
|
210
|
-
navigation: activeVersion.navigation,
|
|
211
|
-
isPinned: loaded.some((e) => e.isPinned),
|
|
212
|
-
versions,
|
|
213
|
-
activeVersionKey: activeVersion.key
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
//#endregion
|
|
217
|
-
export { useSidebarDocuments };
|
|
218
|
-
|
|
219
|
-
//# sourceMappingURL=use-sidebar-documents.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-sidebar-documents.js","names":[],"sources":["../../../../../src/v2/features/app/hooks/use-sidebar-documents.ts"],"sourcesContent":["import type { AppState } from '@scalar/api-client/v2/features/app'\nimport type { TraversedDocument } from '@scalar/workspace-store/schemas/navigation'\nimport { type MaybeRefOrGetter, computed, toValue } from 'vue'\n\nimport { type VersionStatus, computeVersionStatus } from '@/v2/features/app/helpers/compute-version-status'\nimport type { RegistryDocument } from '@/v2/types/configuration'\n\nexport type { VersionStatus }\n\n/**\n * A single version of a registry-backed document.\n *\n * On team workspaces, a registry document can advertise multiple versions and\n * each one may or may not have been imported into the local workspace store.\n * Loaded versions surface their `documentName` and traversal `navigation`,\n * unloaded versions are placeholders the sidebar can fetch on demand.\n */\nexport type SidebarDocumentVersion = {\n /** Stable key: workspace `documentName` when loaded, otherwise `${namespace}/${slug}@${version}`. */\n key: string\n /** Version identifier as advertised by the registry. */\n version: string\n /** User-facing label for the version row. */\n title: string\n /** Workspace store document name when this version is loaded locally. */\n documentName?: string\n /**\n * Commit hash recorded on the locally loaded workspace document, if any.\n * Undefined when the version has not been imported into the workspace\n * store or when the loaded document does not carry a hash.\n */\n commitHash?: string\n /**\n * Commit hash advertised by the registry for this version, if any.\n * Compared against `commitHash` to derive `status`.\n */\n registryCommitHash?: string\n /**\n * Sync status surfaced for the version row. Derived from the local /\n * registry commit hashes, the document's dirty flag and the cached\n * conflict-check result on `x-scalar-registry-meta`. `unknown` is used\n * for versions that are not loaded into the workspace store yet.\n */\n status: VersionStatus\n /**\n * True when this row is the canonical \"latest\" version of the group: the\n * first version the registry advertises. Drafts (locally-created versions\n * the registry has not seen yet) never get this flag, even when they are\n * surfaced ahead of the registry-advertised rows in the picker.\n */\n isLatest: boolean\n /** Traversal tree for this version. Populated only when the version is loaded into the workspace store. */\n navigation?: TraversedDocument\n}\n\n/**\n * A unified item for the top-level of our sidebar.\n *\n * It can represent one of three things:\n * - A workspace document that only exists locally (no registry link)\n * - A workspace document that was imported from the registry\n * - A registry document that has not yet been imported into the store\n *\n * For registry-backed entries, the parent fields (`navigation`, `documentName`)\n * mirror the active version so the sidebar template can render a single tree\n * without having to look up the active version itself. The full version list\n * lives in `versions`.\n */\nexport type SidebarDocumentItem = {\n /** Stable key used for sidebar state: `@namespace/slug` for registry-backed entries, document name otherwise. */\n key: string\n /**\n * User-facing title of the document. Registry-backed entries always surface\n * the registry's title so the sidebar matches what the registry advertises,\n * even when a locally loaded copy has been renamed. Standalone entries use\n * the workspace document title.\n */\n title: string\n /** Name of the document inside the workspace store (mirrors the active version on registry-backed entries). */\n documentName?: string\n /** Registry coordinates for the document group (without the version, which lives on `versions[]`). */\n registry?: { namespace: string; slug: string }\n /** Traversal tree of the active version (or the lone document for standalone entries). */\n navigation?: TraversedDocument\n /** Whether the document is pinned (todo: derived from `x-scalar-pinned`) */\n isPinned?: boolean\n /**\n * All known versions of the document, ordered with the registry's ordering\n * preserved (latest first by convention). Loaded versions surface their\n * workspace `documentName` and `navigation`, unloaded ones act as\n * placeholders the sidebar can fetch on demand. Undefined for standalone\n * entries that have no registry coordinates.\n */\n versions?: SidebarDocumentVersion[]\n /** Key of the version currently surfaced at the parent level (matches a `versions[].key`). */\n activeVersionKey?: string\n}\n\n/** Internal projection of a workspace document used during grouping. */\ntype WorkspaceDocumentEntry = {\n documentName: string\n title: string\n navigation?: TraversedDocument\n isPinned?: boolean\n /** Whether the workspace document has uncommitted local edits. */\n isDirty?: boolean\n registry?: {\n namespace: string\n slug: string\n version?: string\n commitHash?: string\n /** Last registry hash the conflict cache was computed against. */\n conflictCheckedAgainstHash?: string\n /** Cached conflict-check outcome for `conflictCheckedAgainstHash`. */\n hasConflict?: boolean\n }\n}\n\nconst registryKey = (namespace: string, slug: string) => `@${namespace}/${slug}`\n\nconst versionKey = (namespace: string, slug: string, version: string) => `${registryKey(namespace, slug)}@${version}`\n\n/**\n * Builds a unified list of sidebar documents.\n *\n * Behavior:\n * - Local workspaces (`teamUid === 'local'`) only show workspace documents.\n * Registry documents are not considered at all.\n * - Team workspaces group workspace documents by `namespace + slug` from\n * `x-scalar-registry-meta`. Each unique registry coordinate produces a\n * single sidebar entry whose versions are exposed as `versions`. The\n * `versions` array merges the registry-advertised versions with any\n * loaded workspace counterparts (matched by `version`). Registry\n * documents that have no loaded match are still surfaced as entries\n * waiting to be fetched.\n */\nexport function useSidebarDocuments({\n app,\n managedDocs,\n}: {\n app: AppState\n managedDocs: MaybeRefOrGetter<RegistryDocument[]>\n}) {\n const isTeamWorkspace = app.workspace.isTeamWorkspace\n\n /** Raw workspace documents projected into the shape the grouping logic needs. */\n const workspaceEntries = computed<WorkspaceDocumentEntry[]>(() => {\n const store = app.store.value\n if (!store) {\n return []\n }\n\n return Object.entries(store.workspace.documents).map(([name, doc]) => {\n const registry = doc?.['x-scalar-registry-meta']\n const navigation = doc?.['x-scalar-navigation'] as TraversedDocument | undefined\n\n const title = navigation?.title || doc?.info?.title || 'Untitled'\n\n return {\n documentName: name,\n title,\n navigation,\n // TODO: we can implement this later\n isPinned: false,\n isDirty: doc?.['x-scalar-is-dirty'] === true,\n registry: registry\n ? {\n namespace: registry.namespace,\n slug: registry.slug,\n version: registry.version,\n commitHash: registry.commitHash,\n conflictCheckedAgainstHash: registry.conflictCheckedAgainstHash,\n hasConflict: registry.hasConflict,\n }\n : undefined,\n }\n })\n })\n\n const documents = computed<SidebarDocumentItem[]>(() => {\n // Local workspaces: show the workspace document list as-is, no registry\n // grouping and no registry document lookups. The sidebar key is derived\n // from the workspace document name (which is guaranteed unique because\n // it is the map key in `store.workspace.documents`). If we keyed by\n // registry coordinates instead, two local documents sharing the same\n // `x-scalar-registry-meta` would produce duplicate Vue `:key`s in the\n // sidebar `v-for` and silently collide on re-render.\n if (!isTeamWorkspace.value) {\n return workspaceEntries.value.map<SidebarDocumentItem>((entry) => ({\n key: entry.documentName,\n title: entry.title,\n documentName: entry.documentName,\n registry: undefined,\n navigation: entry.navigation,\n isPinned: entry.isPinned ?? false,\n }))\n }\n\n const activeDocumentSlug = app.activeEntities.documentSlug.value\n\n // 1. Bucket workspace documents by their registry `namespace + slug`.\n // Documents without registry meta remain standalone entries.\n const workspaceByRegistry = new Map<string, WorkspaceDocumentEntry[]>()\n const standalone: WorkspaceDocumentEntry[] = []\n\n for (const entry of workspaceEntries.value) {\n if (!entry.registry) {\n standalone.push(entry)\n continue\n }\n const key = registryKey(entry.registry.namespace, entry.registry.slug)\n const bucket = workspaceByRegistry.get(key)\n if (bucket) {\n bucket.push(entry)\n } else {\n workspaceByRegistry.set(key, [entry])\n }\n }\n\n // 2. Build entries from the registry, merging in any loaded workspace\n // counterparts. The registry's version order is preserved so the\n // \"first\" version on each entry is the latest one advertised.\n const grouped: SidebarDocumentItem[] = []\n const consumedRegistryKeys = new Set<string>()\n\n for (const doc of toValue(managedDocs)) {\n const key = registryKey(doc.namespace, doc.slug)\n consumedRegistryKeys.add(key)\n const loaded = workspaceByRegistry.get(key) ?? []\n const item = buildRegistryItem({ key, registry: doc, loaded, activeDocumentSlug })\n if (item) {\n grouped.push(item)\n }\n }\n\n // 3. Workspace docs that point at a registry coordinate the registry has\n // not advertised (yet) still need to appear in the sidebar so the user\n // is not stranded without an entry to click.\n for (const [key, loaded] of workspaceByRegistry) {\n if (consumedRegistryKeys.has(key)) {\n continue\n }\n const first = loaded[0]?.registry\n if (!first) {\n continue\n }\n const item = buildRegistryItem({\n key,\n registry: {\n namespace: first.namespace,\n slug: first.slug,\n title: loaded[0]?.title ?? first.slug,\n versions: [],\n },\n loaded,\n activeDocumentSlug,\n })\n if (item) {\n grouped.push(item)\n }\n }\n\n return [...grouped, ...standalone.map(toStandaloneItem)]\n })\n\n const pinned = computed(() => documents.value.filter((d) => d.isPinned))\n const rest = computed(() => documents.value.filter((d) => !d.isPinned))\n\n return { documents, pinned, rest }\n}\n\n/** Project a standalone (non-registry) workspace entry into a sidebar item. */\nconst toStandaloneItem = (entry: WorkspaceDocumentEntry): SidebarDocumentItem => ({\n key: entry.documentName,\n title: entry.title,\n documentName: entry.documentName,\n registry: undefined,\n navigation: entry.navigation,\n isPinned: entry.isPinned ?? false,\n})\n\n/**\n * Build a single registry-backed sidebar item. The version list is assembled\n * by walking the registry's advertised versions in order and pairing them\n * with any loaded workspace document that claims the same `version` string.\n * Loaded versions that the registry has not advertised are appended at the\n * end so they stay visible until the registry catches up.\n */\nconst buildRegistryItem = ({\n key,\n registry,\n loaded,\n activeDocumentSlug,\n}: {\n key: string\n registry: RegistryDocument\n loaded: WorkspaceDocumentEntry[]\n activeDocumentSlug: string | undefined\n}): SidebarDocumentItem | undefined => {\n // Index loaded workspace docs by the version they claim. A workspace doc\n // that does not declare a `version` is treated as an orphan and pushed to\n // the bottom of the version list — it still belongs to the group but we\n // cannot reconcile it with the registry.\n const loadedByVersion = new Map<string, WorkspaceDocumentEntry>()\n const orphans: WorkspaceDocumentEntry[] = []\n\n for (const entry of loaded) {\n const version = entry.registry?.version\n if (!version) {\n orphans.push(entry)\n continue\n }\n if (loadedByVersion.has(version)) {\n // Multiple workspace docs claim the same version; keep the first one\n // (registry order wins) and surface the rest as orphans so they remain\n // visible instead of silently disappearing.\n orphans.push(entry)\n continue\n }\n loadedByVersion.set(version, entry)\n }\n\n const versions: SidebarDocumentVersion[] = []\n\n // Registry-backed rows always surface the registry title so the sidebar\n // matches what the registry advertises. Local renames are intentionally\n // ignored here; the slug is the last-resort fallback so the row always has\n // something to render.\n const groupTitle = registry.title || registry.slug\n\n // Build the drafts list first: entries left in `loadedByVersion` after we\n // remove every version the registry advertises. The workspace store\n // preserves insertion order, so the newest draft is naturally last —\n // reverse it here to surface the most recently created draft first.\n const draftEntries: [string, WorkspaceDocumentEntry][] = []\n for (const [version, match] of loadedByVersion) {\n if (registry.versions.some((v) => v.version === version)) {\n continue\n }\n draftEntries.push([version, match])\n }\n draftEntries.reverse()\n\n // Drafts go on top: the user just created them and the registry has not\n // seen them yet, so they are the most relevant rows in the picker.\n // Drafts never carry the \"Latest\" badge — that label always belongs to\n // the latest registry-advertised version, regardless of row position.\n for (const [version, match] of draftEntries) {\n versions.push({\n key: match.documentName,\n version,\n title: groupTitle,\n documentName: match.documentName,\n commitHash: match.registry?.commitHash,\n registryCommitHash: undefined,\n status: computeVersionStatus({\n isLoaded: true,\n localHash: match.registry?.commitHash,\n registryHash: undefined,\n isDirty: match.isDirty,\n }),\n isLatest: false,\n navigation: match.navigation,\n })\n }\n\n // Then the registry-advertised versions, in the order the registry\n // returned them (latest first by convention). The first one is the\n // canonical \"latest\" — flagged here so the picker can render the badge\n // independent of row order in the array.\n registry.versions.forEach((v, registryIndex) => {\n const match = loadedByVersion.get(v.version)\n const localHash = match?.registry?.commitHash\n const registryHash = v.commitHash\n versions.push({\n key: match ? match.documentName : versionKey(registry.namespace, registry.slug, v.version),\n version: v.version,\n title: groupTitle,\n documentName: match?.documentName,\n commitHash: localHash,\n registryCommitHash: registryHash,\n status: computeVersionStatus({\n isLoaded: Boolean(match),\n localHash,\n registryHash,\n isDirty: match?.isDirty,\n conflictCheckedAgainstHash: match?.registry?.conflictCheckedAgainstHash,\n hasConflict: match?.registry?.hasConflict,\n }),\n isLatest: registryIndex === 0,\n navigation: match?.navigation,\n })\n })\n\n // Loaded docs that did not declare a version at all.\n for (const orphan of orphans) {\n versions.push({\n key: orphan.documentName,\n version: orphan.registry?.version ?? '',\n title: groupTitle,\n documentName: orphan.documentName,\n commitHash: orphan.registry?.commitHash,\n registryCommitHash: undefined,\n status: computeVersionStatus({\n isLoaded: true,\n localHash: orphan.registry?.commitHash,\n registryHash: undefined,\n isDirty: orphan.isDirty,\n }),\n isLatest: false,\n navigation: orphan.navigation,\n })\n }\n\n if (versions.length === 0) {\n return undefined\n }\n\n // Pick the active version: prefer a loaded match against the active\n // document slug, then any loaded version, then fall back to the first\n // version (the latest advertised by the registry).\n const activeVersion =\n versions.find((v) => v.documentName !== undefined && v.documentName === activeDocumentSlug) ??\n versions.find((v) => v.documentName !== undefined) ??\n versions[0]!\n\n return {\n key,\n title: groupTitle,\n documentName: activeVersion.documentName,\n registry: { namespace: registry.namespace, slug: registry.slug },\n navigation: activeVersion.navigation,\n isPinned: loaded.some((e) => e.isPinned),\n versions,\n activeVersionKey: activeVersion.key,\n }\n}\n"],"mappings":";;;AAsHA,IAAM,eAAe,WAAmB,SAAiB,IAAI,UAAU,GAAG;AAE1E,IAAM,cAAc,WAAmB,MAAc,YAAoB,GAAG,YAAY,WAAW,KAAK,CAAC,GAAG;;;;;;;;;;;;;;;AAgB5G,SAAgB,oBAAoB,EAClC,KACA,eAIC;CACD,MAAM,kBAAkB,IAAI,UAAU;;CAGtC,MAAM,mBAAmB,eAAyC;EAChE,MAAM,QAAQ,IAAI,MAAM;AACxB,MAAI,CAAC,MACH,QAAO,EAAE;AAGX,SAAO,OAAO,QAAQ,MAAM,UAAU,UAAU,CAAC,KAAK,CAAC,MAAM,SAAS;GACpE,MAAM,WAAW,MAAM;GACvB,MAAM,aAAa,MAAM;AAIzB,UAAO;IACL,cAAc;IACd,OAJY,YAAY,SAAS,KAAK,MAAM,SAAS;IAKrD;IAEA,UAAU;IACV,SAAS,MAAM,yBAAyB;IACxC,UAAU,WACN;KACE,WAAW,SAAS;KACpB,MAAM,SAAS;KACf,SAAS,SAAS;KAClB,YAAY,SAAS;KACrB,4BAA4B,SAAS;KACrC,aAAa,SAAS;KACvB,GACD,KAAA;IACL;IACD;GACF;CAEF,MAAM,YAAY,eAAsC;AAQtD,MAAI,CAAC,gBAAgB,MACnB,QAAO,iBAAiB,MAAM,KAA0B,WAAW;GACjE,KAAK,MAAM;GACX,OAAO,MAAM;GACb,cAAc,MAAM;GACpB,UAAU,KAAA;GACV,YAAY,MAAM;GAClB,UAAU,MAA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AM,eAAe,EAAE;AACvB,WAAS,KAAK;GACZ,KAAK,QAAQ,MAAM,eAAe,WAAW,SAAS,WAAW,SAAS,MAAM,EAAE,QAAQ;GAC1F,SAAS,EAAE;GACX,OAAO;GACP,cAAc,OAAO;GACrB,YAAY;GACZ,oBAAoB;GACpB,QAAQ,qBAAqB;IAC3B,UAAU,QAAQ,MAAM;IACxB;IACA;IACA,SAAS,OAAO;IAChB,4BAA4B,OAAO,UAAU;IAC7C,aAAa,OAAO,UAAU;IAC/B,CAAC;GACF,UAAU,kBAAkB;GAC5B,YAAY,OAAO;GACpB,CAAC;GACF;AAGF,MAAK,MAAM,UAAU,QACnB,UAAS,KAAK;EACZ,KAAK,OAAO;EACZ,SAAS,OAAO,UAAU,WAAW;EACrC,OAAO;EACP,cAAc,OAAO;EACrB,YAAY,OAAO,UAAU;EAC7B,oBAAoB,KAAA;EACpB,QAAQ,qBAAqB;GAC3B,UAAU;GACV,WAAW,OAAO,UAAU;GAC5B,cAAc,KAAA;GACd,SAAS,OAAO;GACjB,CAAC;EACF,UAAU;EACV,YAAY,OAAO;EACpB,CAAC;AAGJ,KAAI,SAAS,WAAW,EACtB;CAMF,MAAM,gBACJ,SAAS,MAAM,MAAM,EAAE,iBAAiB,KAAA,KAAa,EAAE,iBAAiB,mBAAmB,IAC3F,SAAS,MAAM,MAAM,EAAE,iBAAiB,KAAA,EAAU,IAClD,SAAS;AAEX,QAAO;EACL;EACA,OAAO;EACP,cAAc,cAAc;EAC5B,UAAU;GAAE,WAAW,SAAS;GAAW,MAAM,SAAS;GAAM;EAChE,YAAY,cAAc;EAC1B,UAAU,OAAO,MAAM,MAAM,EAAE,SAAS;EACxC;EACA,kBAAkB,cAAc;EACjC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { type Theme } from '@scalar/themes';
|
|
2
|
-
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
3
|
-
import { type MaybeRefOrGetter } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* useTheme
|
|
6
|
-
*
|
|
7
|
-
* Reactive Vue.js hook to resolve and generate a <style> tag string based on the current theme.
|
|
8
|
-
* Automatically selects the appropriate theme styles in the following priority order:
|
|
9
|
-
* 1. Workspace theme (from the provided store, e.g. store.workspace['x-scalar-theme'])
|
|
10
|
-
* 2. Fallback theme (from the fallbackThemeSlug prop)
|
|
11
|
-
* 3. Default built-in theme (with slug "default")
|
|
12
|
-
*
|
|
13
|
-
* The returned `themeStyleTag` can be injected into your page to dynamically apply theming.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts
|
|
17
|
-
* // In a Vue component setup() function
|
|
18
|
-
* import { ref } from 'vue'
|
|
19
|
-
* import { useTheme } from './use-theme.js'
|
|
20
|
-
*
|
|
21
|
-
* const myThemes = ref([...])
|
|
22
|
-
* const workspaceStore = ref(...)
|
|
23
|
-
* const fallbackThemeSlug = ref('dark')
|
|
24
|
-
*
|
|
25
|
-
* const { themeStyleTag } = useTheme({
|
|
26
|
-
* customThemes: myThemes,
|
|
27
|
-
* fallbackThemeSlug,
|
|
28
|
-
* store: workspaceStore
|
|
29
|
-
* })
|
|
30
|
-
*
|
|
31
|
-
* // To inject in template:
|
|
32
|
-
* // <div v-html="themeStyleTag"></div>
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare const useTheme: ({ fallbackThemeSlug, store, customThemes, }: {
|
|
36
|
-
customThemes: MaybeRefOrGetter<Theme[]>;
|
|
37
|
-
fallbackThemeSlug: MaybeRefOrGetter<string>;
|
|
38
|
-
store: MaybeRefOrGetter<WorkspaceStore | null>;
|
|
39
|
-
}) => {
|
|
40
|
-
/**
|
|
41
|
-
* Computed ref containing the resolved theme styles object
|
|
42
|
-
* for the currently active theme. Always returns a style object,
|
|
43
|
-
* never null, with proper fallback logic if custom or workspace themes are missing.
|
|
44
|
-
*/
|
|
45
|
-
themeStyles: import("vue").ComputedRef<{
|
|
46
|
-
themeStyles: string;
|
|
47
|
-
themeSlug: string;
|
|
48
|
-
}>;
|
|
49
|
-
/**
|
|
50
|
-
* Computed ref containing a <style> tag as a string,
|
|
51
|
-
* ready to be injected into the DOM.
|
|
52
|
-
* This wraps the currently active theme CSS variables/styles.
|
|
53
|
-
*/
|
|
54
|
-
themeStyleTag: import("vue").ComputedRef<string>;
|
|
55
|
-
};
|
|
56
|
-
//# sourceMappingURL=use-theme.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-theme.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/hooks/use-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAA8B,MAAM,gBAAgB,CAAA;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,EAAE,KAAK,gBAAgB,EAAqB,MAAM,KAAK,CAAA;AAkC9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,QAAQ,GAAI,6CAItB;IACD,YAAY,EAAE,gBAAgB,CAAC,KAAK,EAAE,CAAC,CAAA;IACvC,iBAAiB,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;IAC3C,KAAK,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;CAC/C;IA6CG;;;;OAIG;;qBAhDuC,MAAM;mBAAa,MAAM;;IAmDnE;;;;OAIG;;CAGN,CAAA"}
|