@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":"openapi-3.1-schema.json.js","names":[],"sources":["../../../../../src/v2/features/editor/schemas/openapi-3.1-schema.json"],"sourcesContent":["{\n \"$id\": \"https://spec.openapis.org/oas/3.1/schema/2025-11-23\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"description\": \"The description of OpenAPI v3.1.x Documents without Schema Object validation\",\n \"type\": \"object\",\n \"properties\": {\n \"openapi\": {\n \"type\": \"string\",\n \"pattern\": \"^3\\\\.1\\\\.\\\\d+(-.+)?$\"\n },\n \"info\": {\n \"$ref\": \"#/$defs/info\"\n },\n \"jsonSchemaDialect\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\",\n \"default\": \"https://spec.openapis.org/oas/3.1/dialect/2024-11-10\"\n },\n \"servers\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/$defs/server\"\n },\n \"default\": [\n {\n \"url\": \"/\"\n }\n ]\n },\n \"paths\": {\n \"$ref\": \"#/$defs/paths\"\n },\n \"webhooks\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/path-item\"\n }\n },\n \"components\": {\n \"$ref\": \"#/$defs/components\"\n },\n \"security\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/$defs/security-requirement\"\n }\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/$defs/tag\"\n }\n },\n \"externalDocs\": {\n \"$ref\": \"#/$defs/external-documentation\"\n }\n },\n \"required\": [\"openapi\", \"info\"],\n \"anyOf\": [\n {\n \"required\": [\"paths\"]\n },\n {\n \"required\": [\"components\"]\n },\n {\n \"required\": [\"webhooks\"]\n }\n ],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false,\n \"$defs\": {\n \"info\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#info-object\",\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"summary\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"termsOfService\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"contact\": {\n \"$ref\": \"#/$defs/contact\"\n },\n \"license\": {\n \"$ref\": \"#/$defs/license\"\n },\n \"version\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\"title\", \"version\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"contact\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#contact-object\",\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\"\n }\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"license\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#license-object\",\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"identifier\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n }\n },\n \"required\": [\"name\"],\n \"dependentSchemas\": {\n \"identifier\": {\n \"not\": {\n \"required\": [\"url\"]\n }\n }\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"server\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#server-object\",\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"variables\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/server-variable\"\n }\n }\n },\n \"required\": [\"url\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"server-variable\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#server-variable-object\",\n \"type\": \"object\",\n \"properties\": {\n \"enum\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"minItems\": 1\n },\n \"default\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\"default\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"components\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#components-object\",\n \"type\": \"object\",\n \"properties\": {\n \"schemas\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$dynamicRef\": \"#meta\"\n }\n },\n \"responses\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/response-or-reference\"\n }\n },\n \"parameters\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/parameter-or-reference\"\n }\n },\n \"examples\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/example-or-reference\"\n }\n },\n \"requestBodies\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/request-body-or-reference\"\n }\n },\n \"headers\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/header-or-reference\"\n }\n },\n \"securitySchemes\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/security-scheme-or-reference\"\n }\n },\n \"links\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/link-or-reference\"\n }\n },\n \"callbacks\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/callbacks-or-reference\"\n }\n },\n \"pathItems\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/path-item\"\n }\n }\n },\n \"patternProperties\": {\n \"^(?:schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$\": {\n \"$comment\": \"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected\",\n \"propertyNames\": {\n \"pattern\": \"^[a-zA-Z0-9._-]+$\"\n }\n }\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"paths\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#paths-object\",\n \"type\": \"object\",\n \"patternProperties\": {\n \"^/\": {\n \"$ref\": \"#/$defs/path-item\"\n },\n \"^x-\": true\n },\n \"additionalProperties\": false\n },\n \"path-item\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#path-item-object\",\n \"type\": \"object\",\n \"properties\": {\n \"$ref\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"summary\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"servers\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/$defs/server\"\n }\n },\n \"parameters\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/$defs/parameter-or-reference\"\n }\n },\n \"get\": {\n \"$ref\": \"#/$defs/operation\"\n },\n \"put\": {\n \"$ref\": \"#/$defs/operation\"\n },\n \"post\": {\n \"$ref\": \"#/$defs/operation\"\n },\n \"delete\": {\n \"$ref\": \"#/$defs/operation\"\n },\n \"options\": {\n \"$ref\": \"#/$defs/operation\"\n },\n \"head\": {\n \"$ref\": \"#/$defs/operation\"\n },\n \"patch\": {\n \"$ref\": \"#/$defs/operation\"\n },\n \"trace\": {\n \"$ref\": \"#/$defs/operation\"\n }\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"operation\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#operation-object\",\n \"type\": \"object\",\n \"properties\": {\n \"tags\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"summary\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"externalDocs\": {\n \"$ref\": \"#/$defs/external-documentation\"\n },\n \"operationId\": {\n \"type\": \"string\"\n },\n \"parameters\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/$defs/parameter-or-reference\"\n }\n },\n \"requestBody\": {\n \"$ref\": \"#/$defs/request-body-or-reference\"\n },\n \"responses\": {\n \"$ref\": \"#/$defs/responses\"\n },\n \"callbacks\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/callbacks-or-reference\"\n }\n },\n \"deprecated\": {\n \"default\": false,\n \"type\": \"boolean\"\n },\n \"security\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/$defs/security-requirement\"\n }\n },\n \"servers\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/$defs/server\"\n }\n }\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"external-documentation\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#external-documentation-object\",\n \"type\": \"object\",\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n }\n },\n \"required\": [\"url\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"parameter\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#parameter-object\",\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"in\": {\n \"enum\": [\"query\", \"header\", \"path\", \"cookie\"]\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"required\": {\n \"default\": false,\n \"type\": \"boolean\"\n },\n \"deprecated\": {\n \"default\": false,\n \"type\": \"boolean\"\n },\n \"schema\": {\n \"$dynamicRef\": \"#meta\"\n },\n \"content\": {\n \"$ref\": \"#/$defs/content\",\n \"minProperties\": 1,\n \"maxProperties\": 1\n }\n },\n \"required\": [\"name\", \"in\"],\n \"oneOf\": [\n {\n \"required\": [\"schema\"]\n },\n {\n \"required\": [\"content\"]\n }\n ],\n \"if\": {\n \"properties\": {\n \"in\": {\n \"const\": \"query\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"allowEmptyValue\": {\n \"default\": false,\n \"type\": \"boolean\"\n }\n }\n },\n \"dependentSchemas\": {\n \"schema\": {\n \"properties\": {\n \"style\": {\n \"type\": \"string\"\n },\n \"explode\": {\n \"type\": \"boolean\"\n }\n },\n \"allOf\": [\n {\n \"$ref\": \"#/$defs/examples\"\n },\n {\n \"$ref\": \"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path\"\n },\n {\n \"$ref\": \"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header\"\n },\n {\n \"$ref\": \"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query\"\n },\n {\n \"$ref\": \"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie\"\n }\n ],\n \"$defs\": {\n \"styles-for-path\": {\n \"if\": {\n \"properties\": {\n \"in\": {\n \"const\": \"path\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"name\": {\n \"pattern\": \"^[^{}]+$\"\n },\n \"style\": {\n \"default\": \"simple\",\n \"enum\": [\"matrix\", \"label\", \"simple\"]\n },\n \"required\": {\n \"const\": true\n },\n \"explode\": {\n \"default\": false\n }\n },\n \"required\": [\"required\"]\n }\n },\n \"styles-for-header\": {\n \"if\": {\n \"properties\": {\n \"in\": {\n \"const\": \"header\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"style\": {\n \"default\": \"simple\",\n \"const\": \"simple\"\n },\n \"explode\": {\n \"default\": false\n }\n }\n }\n },\n \"styles-for-query\": {\n \"if\": {\n \"properties\": {\n \"in\": {\n \"const\": \"query\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"style\": {\n \"default\": \"form\",\n \"enum\": [\"form\", \"spaceDelimited\", \"pipeDelimited\", \"deepObject\"]\n },\n \"allowReserved\": {\n \"default\": false,\n \"type\": \"boolean\"\n }\n },\n \"$ref\": \"#/$defs/explode-for-form\"\n }\n },\n \"styles-for-cookie\": {\n \"if\": {\n \"properties\": {\n \"in\": {\n \"const\": \"cookie\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"style\": {\n \"default\": \"form\",\n \"const\": \"form\"\n }\n },\n \"$ref\": \"#/$defs/explode-for-form\"\n }\n }\n }\n }\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"parameter-or-reference\": {\n \"if\": {\n \"type\": \"object\",\n \"required\": [\"$ref\"]\n },\n \"then\": {\n \"$ref\": \"#/$defs/reference\"\n },\n \"else\": {\n \"$ref\": \"#/$defs/parameter\"\n }\n },\n \"request-body\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#request-body-object\",\n \"type\": \"object\",\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"content\": {\n \"$ref\": \"#/$defs/content\"\n },\n \"required\": {\n \"default\": false,\n \"type\": \"boolean\"\n }\n },\n \"required\": [\"content\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"request-body-or-reference\": {\n \"if\": {\n \"type\": \"object\",\n \"required\": [\"$ref\"]\n },\n \"then\": {\n \"$ref\": \"#/$defs/reference\"\n },\n \"else\": {\n \"$ref\": \"#/$defs/request-body\"\n }\n },\n \"content\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#fixed-fields-10\",\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/media-type\"\n },\n \"propertyNames\": {\n \"format\": \"media-range\"\n }\n },\n \"media-type\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#media-type-object\",\n \"type\": \"object\",\n \"properties\": {\n \"schema\": {\n \"$dynamicRef\": \"#meta\"\n },\n \"encoding\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/encoding\"\n }\n }\n },\n \"allOf\": [\n {\n \"$ref\": \"#/$defs/specification-extensions\"\n },\n {\n \"$ref\": \"#/$defs/examples\"\n }\n ],\n \"unevaluatedProperties\": false\n },\n \"encoding\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#encoding-object\",\n \"type\": \"object\",\n \"properties\": {\n \"contentType\": {\n \"type\": \"string\",\n \"format\": \"media-range\"\n },\n \"headers\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/header-or-reference\"\n }\n },\n \"style\": {\n \"enum\": [\"form\", \"spaceDelimited\", \"pipeDelimited\", \"deepObject\"]\n },\n \"explode\": {\n \"type\": \"boolean\"\n },\n \"allowReserved\": {\n \"type\": \"boolean\"\n }\n },\n \"dependentSchemas\": {\n \"style\": {\n \"properties\": {\n \"allowReserved\": {\n \"default\": false\n }\n },\n \"$ref\": \"#/$defs/explode-for-form\"\n },\n \"explode\": {\n \"properties\": {\n \"style\": {\n \"default\": \"form\"\n },\n \"allowReserved\": {\n \"default\": false\n }\n }\n },\n \"allowReserved\": {\n \"properties\": {\n \"style\": {\n \"default\": \"form\"\n }\n },\n \"$ref\": \"#/$defs/explode-for-form\"\n }\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"responses\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#responses-object\",\n \"type\": \"object\",\n \"properties\": {\n \"default\": {\n \"$ref\": \"#/$defs/response-or-reference\"\n }\n },\n \"patternProperties\": {\n \"^[1-5](?:[0-9]{2}|XX)$\": {\n \"$ref\": \"#/$defs/response-or-reference\"\n }\n },\n \"minProperties\": 1,\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false,\n \"if\": {\n \"$comment\": \"either default, or at least one response code property must exist\",\n \"patternProperties\": {\n \"^[1-5](?:[0-9]{2}|XX)$\": false\n }\n },\n \"then\": {\n \"required\": [\"default\"]\n }\n },\n \"response\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#response-object\",\n \"type\": \"object\",\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"headers\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/header-or-reference\"\n }\n },\n \"content\": {\n \"$ref\": \"#/$defs/content\"\n },\n \"links\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/link-or-reference\"\n }\n }\n },\n \"required\": [\"description\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"response-or-reference\": {\n \"if\": {\n \"type\": \"object\",\n \"required\": [\"$ref\"]\n },\n \"then\": {\n \"$ref\": \"#/$defs/reference\"\n },\n \"else\": {\n \"$ref\": \"#/$defs/response\"\n }\n },\n \"callbacks\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#callback-object\",\n \"type\": \"object\",\n \"$ref\": \"#/$defs/specification-extensions\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/path-item\"\n }\n },\n \"callbacks-or-reference\": {\n \"if\": {\n \"type\": \"object\",\n \"required\": [\"$ref\"]\n },\n \"then\": {\n \"$ref\": \"#/$defs/reference\"\n },\n \"else\": {\n \"$ref\": \"#/$defs/callbacks\"\n }\n },\n \"example\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#example-object\",\n \"type\": \"object\",\n \"properties\": {\n \"summary\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"value\": true,\n \"externalValue\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n }\n },\n \"not\": {\n \"required\": [\"value\", \"externalValue\"]\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"example-or-reference\": {\n \"if\": {\n \"type\": \"object\",\n \"required\": [\"$ref\"]\n },\n \"then\": {\n \"$ref\": \"#/$defs/reference\"\n },\n \"else\": {\n \"$ref\": \"#/$defs/example\"\n }\n },\n \"link\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#link-object\",\n \"type\": \"object\",\n \"properties\": {\n \"operationRef\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"operationId\": {\n \"type\": \"string\"\n },\n \"parameters\": {\n \"$ref\": \"#/$defs/map-of-strings\"\n },\n \"requestBody\": true,\n \"description\": {\n \"type\": \"string\"\n },\n \"server\": {\n \"$ref\": \"#/$defs/server\"\n }\n },\n \"oneOf\": [\n {\n \"required\": [\"operationRef\"]\n },\n {\n \"required\": [\"operationId\"]\n }\n ],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"link-or-reference\": {\n \"if\": {\n \"type\": \"object\",\n \"required\": [\"$ref\"]\n },\n \"then\": {\n \"$ref\": \"#/$defs/reference\"\n },\n \"else\": {\n \"$ref\": \"#/$defs/link\"\n }\n },\n \"header\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#header-object\",\n \"type\": \"object\",\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"required\": {\n \"default\": false,\n \"type\": \"boolean\"\n },\n \"deprecated\": {\n \"default\": false,\n \"type\": \"boolean\"\n },\n \"schema\": {\n \"$dynamicRef\": \"#meta\"\n },\n \"content\": {\n \"$ref\": \"#/$defs/content\",\n \"minProperties\": 1,\n \"maxProperties\": 1\n }\n },\n \"oneOf\": [\n {\n \"required\": [\"schema\"]\n },\n {\n \"required\": [\"content\"]\n }\n ],\n \"dependentSchemas\": {\n \"schema\": {\n \"properties\": {\n \"style\": {\n \"default\": \"simple\",\n \"const\": \"simple\"\n },\n \"explode\": {\n \"default\": false,\n \"type\": \"boolean\"\n }\n },\n \"$ref\": \"#/$defs/examples\"\n }\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"header-or-reference\": {\n \"if\": {\n \"type\": \"object\",\n \"required\": [\"$ref\"]\n },\n \"then\": {\n \"$ref\": \"#/$defs/reference\"\n },\n \"else\": {\n \"$ref\": \"#/$defs/header\"\n }\n },\n \"tag\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#tag-object\",\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"externalDocs\": {\n \"$ref\": \"#/$defs/external-documentation\"\n }\n },\n \"required\": [\"name\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"reference\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#reference-object\",\n \"type\": \"object\",\n \"properties\": {\n \"$ref\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"summary\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n }\n },\n \"schema\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#schema-object\",\n \"$dynamicAnchor\": \"meta\",\n \"type\": [\"object\", \"boolean\"]\n },\n \"security-scheme\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#security-scheme-object\",\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"enum\": [\"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\"]\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\"type\"],\n \"allOf\": [\n {\n \"$ref\": \"#/$defs/specification-extensions\"\n },\n {\n \"$ref\": \"#/$defs/security-scheme/$defs/type-apikey\"\n },\n {\n \"$ref\": \"#/$defs/security-scheme/$defs/type-http\"\n },\n {\n \"$ref\": \"#/$defs/security-scheme/$defs/type-http-bearer\"\n },\n {\n \"$ref\": \"#/$defs/security-scheme/$defs/type-oauth2\"\n },\n {\n \"$ref\": \"#/$defs/security-scheme/$defs/type-oidc\"\n }\n ],\n \"unevaluatedProperties\": false,\n \"$defs\": {\n \"type-apikey\": {\n \"if\": {\n \"properties\": {\n \"type\": {\n \"const\": \"apiKey\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"in\": {\n \"enum\": [\"query\", \"header\", \"cookie\"]\n }\n },\n \"required\": [\"name\", \"in\"]\n }\n },\n \"type-http\": {\n \"if\": {\n \"properties\": {\n \"type\": {\n \"const\": \"http\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"scheme\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\"scheme\"]\n }\n },\n \"type-http-bearer\": {\n \"if\": {\n \"properties\": {\n \"type\": {\n \"const\": \"http\"\n },\n \"scheme\": {\n \"type\": \"string\",\n \"pattern\": \"^[Bb][Ee][Aa][Rr][Ee][Rr]$\"\n }\n },\n \"required\": [\"type\", \"scheme\"]\n },\n \"then\": {\n \"properties\": {\n \"bearerFormat\": {\n \"type\": \"string\"\n }\n }\n }\n },\n \"type-oauth2\": {\n \"if\": {\n \"properties\": {\n \"type\": {\n \"const\": \"oauth2\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"flows\": {\n \"$ref\": \"#/$defs/oauth-flows\"\n }\n },\n \"required\": [\"flows\"]\n }\n },\n \"type-oidc\": {\n \"if\": {\n \"properties\": {\n \"type\": {\n \"const\": \"openIdConnect\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"openIdConnectUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n }\n },\n \"required\": [\"openIdConnectUrl\"]\n }\n }\n }\n },\n \"security-scheme-or-reference\": {\n \"if\": {\n \"type\": \"object\",\n \"required\": [\"$ref\"]\n },\n \"then\": {\n \"$ref\": \"#/$defs/reference\"\n },\n \"else\": {\n \"$ref\": \"#/$defs/security-scheme\"\n }\n },\n \"oauth-flows\": {\n \"type\": \"object\",\n \"properties\": {\n \"implicit\": {\n \"$ref\": \"#/$defs/oauth-flows/$defs/implicit\"\n },\n \"password\": {\n \"$ref\": \"#/$defs/oauth-flows/$defs/password\"\n },\n \"clientCredentials\": {\n \"$ref\": \"#/$defs/oauth-flows/$defs/client-credentials\"\n },\n \"authorizationCode\": {\n \"$ref\": \"#/$defs/oauth-flows/$defs/authorization-code\"\n }\n },\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false,\n \"$defs\": {\n \"implicit\": {\n \"type\": \"object\",\n \"properties\": {\n \"authorizationUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"refreshUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"scopes\": {\n \"$ref\": \"#/$defs/map-of-strings\"\n }\n },\n \"required\": [\"authorizationUrl\", \"scopes\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"password\": {\n \"type\": \"object\",\n \"properties\": {\n \"tokenUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"refreshUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"scopes\": {\n \"$ref\": \"#/$defs/map-of-strings\"\n }\n },\n \"required\": [\"tokenUrl\", \"scopes\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"client-credentials\": {\n \"type\": \"object\",\n \"properties\": {\n \"tokenUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"refreshUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"scopes\": {\n \"$ref\": \"#/$defs/map-of-strings\"\n }\n },\n \"required\": [\"tokenUrl\", \"scopes\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n },\n \"authorization-code\": {\n \"type\": \"object\",\n \"properties\": {\n \"authorizationUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"tokenUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"refreshUrl\": {\n \"type\": \"string\",\n \"format\": \"uri-reference\"\n },\n \"scopes\": {\n \"$ref\": \"#/$defs/map-of-strings\"\n }\n },\n \"required\": [\"authorizationUrl\", \"tokenUrl\", \"scopes\"],\n \"$ref\": \"#/$defs/specification-extensions\",\n \"unevaluatedProperties\": false\n }\n }\n },\n \"security-requirement\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#security-requirement-object\",\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"specification-extensions\": {\n \"$comment\": \"https://spec.openapis.org/oas/v3.1#specification-extensions\",\n \"patternProperties\": {\n \"^x-\": true\n }\n },\n \"examples\": {\n \"properties\": {\n \"example\": true,\n \"examples\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/$defs/example-or-reference\"\n }\n }\n },\n \"not\": {\n \"required\": [\"example\", \"examples\"]\n }\n },\n \"map-of-strings\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"explode-for-form\": {\n \"$comment\": \"for encoding objects, and query and cookie parameters, style=form is the default\",\n \"if\": {\n \"properties\": {\n \"style\": {\n \"const\": \"form\"\n }\n }\n },\n \"then\": {\n \"properties\": {\n \"explode\": {\n \"default\": true\n }\n }\n },\n \"else\": {\n \"properties\": {\n \"explode\": {\n \"default\": false\n }\n }\n }\n }\n }\n}\n"],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { CollectionType, WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
|
-
import type { XScalarCookie } from '@scalar/workspace-store/schemas/extensions/general/x-scalar-cookies';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
cookies: XScalarCookie[];
|
|
5
|
-
eventBus: WorkspaceEventBus;
|
|
6
|
-
} & CollectionType;
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
-
declare const _default: typeof __VLS_export;
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=CookiesTable.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CookiesTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/global-cookies/components/CookiesTable.vue"],"names":[],"mappings":"AAyPA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AAYxG,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;AAkfrB,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
-
import CookiesTable_vue_vue_type_script_setup_true_lang_default from "./CookiesTable.vue.script.js";
|
|
3
|
-
/* empty css */
|
|
4
|
-
//#region src/v2/features/global-cookies/components/CookiesTable.vue
|
|
5
|
-
var CookiesTable_default = /* @__PURE__ */ _plugin_vue_export_helper_default(CookiesTable_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-2f13118d"]]);
|
|
6
|
-
//#endregion
|
|
7
|
-
export { CookiesTable_default as default };
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=CookiesTable.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CookiesTable.vue.js","names":[],"sources":["../../../../../src/v2/features/global-cookies/components/CookiesTable.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarButton } from '@scalar/components'\nimport { ScalarIconTrash } from '@scalar/icons'\nimport type {\n CollectionType,\n WorkspaceEventBus,\n} from '@scalar/workspace-store/events'\nimport type { XScalarCookie } from '@scalar/workspace-store/schemas/extensions/general/x-scalar-cookies'\nimport { computed } from 'vue'\n\nimport { CodeInput } from '@/v2/components/code-input'\nimport {\n DataTable,\n DataTableCell,\n DataTableCheckbox,\n DataTableHeader,\n DataTableRow,\n} from '@/v2/components/data-table'\n\nconst { cookies, eventBus, collectionType } = defineProps<\n {\n cookies: XScalarCookie[]\n eventBus: WorkspaceEventBus\n } & CollectionType\n>()\n\n/** Column widths: Enabled checkbox, Name, Value, Domain, Actions (delete button) */\nconst COLUMNS = ['32px', '1fr', '1fr', '1fr', '36px']\n\n/** Adds an empty row at the end for creating new cookies */\nconst displayRows = computed<\n {\n name: string\n value: string\n domain: string\n isDisabled: boolean\n }[]\n>(() => {\n /** Normalize the cookies to have name, value, and domain */\n const cookieRows = cookies.map((cookie) => ({\n name: cookie.name,\n value: cookie.value,\n domain: cookie.domain ?? '',\n isDisabled: cookie.isDisabled ?? false,\n }))\n\n const lastCookie = cookies.at(-1)\n const hasContentInLastRow =\n lastCookie &&\n (lastCookie.name !== '' ||\n lastCookie.value !== '' ||\n lastCookie.domain !== '')\n\n // Add the extra row at the end\n if (!lastCookie || hasContentInLastRow) {\n return [\n ...cookieRows,\n { name: '', value: '', domain: '', isDisabled: true },\n ]\n }\n\n return cookieRows\n})\n\n/** Updates an existing cookie or creates a new one */\nconst handleCookieChange = (\n name: string,\n value: string,\n domain: string,\n isDisabled: boolean,\n index: number,\n): void => {\n const isNewCookie = index >= cookies.length\n\n /**\n * Do not allow adding a new cookie with an empty name on the last row,\n * we allow it on other rows as it will delete the row\n */\n if (!name && isNewCookie) {\n return\n }\n\n // Adding a new cookie\n if (index >= cookies.length) {\n eventBus.emit('cookie:upsert:cookie', {\n payload: { name, value, domain, isDisabled: false },\n collectionType,\n })\n return\n }\n\n // Updating existing cookie\n eventBus.emit('cookie:upsert:cookie', {\n payload: { name, value, domain, isDisabled },\n collectionType,\n index,\n })\n}\n\n/** Deletes a cookie by index */\nconst handleCookieDelete = (index: number): void =>\n eventBus.emit('cookie:delete:cookie', {\n cookieName: cookies[index]?.name ?? '',\n index,\n collectionType,\n })\n</script>\n<template>\n <!-- Cookies table -->\n <DataTable\n class=\"group/table data-table h-min flex-1 rounded border border-t-0\"\n :columns=\"COLUMNS\">\n <!-- Accessibility header row -->\n <DataTableRow class=\"sr-only !block\">\n <DataTableHeader>Enabled</DataTableHeader>\n <DataTableHeader>Name</DataTableHeader>\n <DataTableHeader>Value</DataTableHeader>\n <DataTableHeader>Domain</DataTableHeader>\n <DataTableHeader>Actions</DataTableHeader>\n </DataTableRow>\n\n <!-- Cookie rows -->\n <DataTableRow\n v-for=\"(row, index) in displayRows\"\n :key=\"index\"\n class=\"group/row\">\n <!-- Enabled checkbox -->\n <DataTableCheckbox\n class=\"!border-r\"\n :modelValue=\"!row.isDisabled\"\n @update:modelValue=\"\n (value) =>\n handleCookieChange(row.name, row.value, row.domain, !value, index)\n \" />\n\n <!-- Name -->\n <DataTableCell>\n <CodeInput\n aria-label=\"Cookie Name\"\n disableCloseBrackets\n disableTabIndent\n :environment=\"undefined\"\n lineWrapping\n :modelValue=\"row.name\"\n placeholder=\"Name\"\n @update:modelValue=\"\n (name) =>\n handleCookieChange(\n name,\n row.value,\n row.domain,\n row.isDisabled,\n index,\n )\n \" />\n </DataTableCell>\n\n <!-- Value -->\n <DataTableCell>\n <CodeInput\n aria-label=\"Cookie Value\"\n disableCloseBrackets\n disableTabIndent\n :environment=\"undefined\"\n lineWrapping\n :modelValue=\"row.value\"\n placeholder=\"Value\"\n withFakeData\n @update:modelValue=\"\n (value) =>\n handleCookieChange(\n row.name,\n value,\n row.domain,\n row.isDisabled,\n index,\n )\n \" />\n </DataTableCell>\n\n <!-- Domain -->\n <DataTableCell>\n <CodeInput\n aria-label=\"Cookie Domain\"\n disableCloseBrackets\n disableTabIndent\n :environment=\"undefined\"\n lineWrapping\n :modelValue=\"row.domain\"\n placeholder=\"Domain\"\n @update:modelValue=\"\n (domain) =>\n handleCookieChange(\n row.name,\n row.value,\n domain,\n row.isDisabled,\n index,\n )\n \" />\n </DataTableCell>\n\n <!-- Delete button -->\n <DataTableCell class=\"flex items-center justify-center\">\n <ScalarButton\n v-if=\"index < cookies.length\"\n class=\"text-c-2 hover:text-c-1 hover:bg-b-2 hidden h-fit rounded p-1 group-focus-within:flex group-hover/row:flex\"\n size=\"sm\"\n variant=\"ghost\"\n @click=\"handleCookieDelete(index)\">\n <ScalarIconTrash class=\"size-3.5\" />\n </ScalarButton>\n </DataTableCell>\n </DataTableRow>\n </DataTable>\n</template>\n<style scoped>\n:deep(.cm-editor) {\n padding: 0;\n}\n:deep(.cm-content) {\n align-items: center;\n background-color: transparent;\n display: flex;\n font-family: var(--scalar-font);\n font-size: var(--scalar-small);\n padding: 5px 8px;\n width: 100%;\n}\n:deep(.cm-content):has(.cm-pill) {\n padding: 5px 8px;\n}\n:deep(.cm-content .cm-pill:not(:last-of-type)) {\n margin-right: 0.5px;\n}\n:deep(.cm-content .cm-pill:not(:first-of-type)) {\n margin-left: 0.5px;\n}\n:deep(.cm-line) {\n overflow: hidden;\n padding: 0;\n text-overflow: ellipsis;\n}\n</style>\n"],"mappings":""}
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import CodeInput_default from "../../../components/code-input/CodeInput.vue.js";
|
|
2
|
-
import DataTable_default from "../../../components/data-table/DataTable.vue.js";
|
|
3
|
-
import DataTableCell_default from "../../../components/data-table/DataTableCell.vue.js";
|
|
4
|
-
import DataTableCheckbox_default from "../../../components/data-table/DataTableCheckbox.vue.js";
|
|
5
|
-
import DataTableHeader_default from "../../../components/data-table/DataTableHeader.vue.js";
|
|
6
|
-
import DataTableRow_default from "../../../components/data-table/DataTableRow.vue.js";
|
|
7
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, openBlock, renderList, unref, withCtx } from "vue";
|
|
8
|
-
import { ScalarButton } from "@scalar/components";
|
|
9
|
-
import { ScalarIconTrash } from "@scalar/icons";
|
|
10
|
-
//#region src/v2/features/global-cookies/components/CookiesTable.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
-
var CookiesTable_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
12
|
-
__name: "CookiesTable",
|
|
13
|
-
props: {
|
|
14
|
-
cookies: {},
|
|
15
|
-
eventBus: {},
|
|
16
|
-
collectionType: {}
|
|
17
|
-
},
|
|
18
|
-
setup(__props) {
|
|
19
|
-
/** Column widths: Enabled checkbox, Name, Value, Domain, Actions (delete button) */
|
|
20
|
-
const COLUMNS = [
|
|
21
|
-
"32px",
|
|
22
|
-
"1fr",
|
|
23
|
-
"1fr",
|
|
24
|
-
"1fr",
|
|
25
|
-
"36px"
|
|
26
|
-
];
|
|
27
|
-
/** Adds an empty row at the end for creating new cookies */
|
|
28
|
-
const displayRows = computed(() => {
|
|
29
|
-
/** Normalize the cookies to have name, value, and domain */
|
|
30
|
-
const cookieRows = __props.cookies.map((cookie) => ({
|
|
31
|
-
name: cookie.name,
|
|
32
|
-
value: cookie.value,
|
|
33
|
-
domain: cookie.domain ?? "",
|
|
34
|
-
isDisabled: cookie.isDisabled ?? false
|
|
35
|
-
}));
|
|
36
|
-
const lastCookie = __props.cookies.at(-1);
|
|
37
|
-
const hasContentInLastRow = lastCookie && (lastCookie.name !== "" || lastCookie.value !== "" || lastCookie.domain !== "");
|
|
38
|
-
if (!lastCookie || hasContentInLastRow) return [...cookieRows, {
|
|
39
|
-
name: "",
|
|
40
|
-
value: "",
|
|
41
|
-
domain: "",
|
|
42
|
-
isDisabled: true
|
|
43
|
-
}];
|
|
44
|
-
return cookieRows;
|
|
45
|
-
});
|
|
46
|
-
/** Updates an existing cookie or creates a new one */
|
|
47
|
-
const handleCookieChange = (name, value, domain, isDisabled, index) => {
|
|
48
|
-
const isNewCookie = index >= __props.cookies.length;
|
|
49
|
-
/**
|
|
50
|
-
* Do not allow adding a new cookie with an empty name on the last row,
|
|
51
|
-
* we allow it on other rows as it will delete the row
|
|
52
|
-
*/
|
|
53
|
-
if (!name && isNewCookie) return;
|
|
54
|
-
if (index >= __props.cookies.length) {
|
|
55
|
-
__props.eventBus.emit("cookie:upsert:cookie", {
|
|
56
|
-
payload: {
|
|
57
|
-
name,
|
|
58
|
-
value,
|
|
59
|
-
domain,
|
|
60
|
-
isDisabled: false
|
|
61
|
-
},
|
|
62
|
-
collectionType: __props.collectionType
|
|
63
|
-
});
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
__props.eventBus.emit("cookie:upsert:cookie", {
|
|
67
|
-
payload: {
|
|
68
|
-
name,
|
|
69
|
-
value,
|
|
70
|
-
domain,
|
|
71
|
-
isDisabled
|
|
72
|
-
},
|
|
73
|
-
collectionType: __props.collectionType,
|
|
74
|
-
index
|
|
75
|
-
});
|
|
76
|
-
};
|
|
77
|
-
/** Deletes a cookie by index */
|
|
78
|
-
const handleCookieDelete = (index) => __props.eventBus.emit("cookie:delete:cookie", {
|
|
79
|
-
cookieName: __props.cookies[index]?.name ?? "",
|
|
80
|
-
index,
|
|
81
|
-
collectionType: __props.collectionType
|
|
82
|
-
});
|
|
83
|
-
return (_ctx, _cache) => {
|
|
84
|
-
return openBlock(), createBlock(unref(DataTable_default), {
|
|
85
|
-
class: "group/table data-table h-min flex-1 rounded border border-t-0",
|
|
86
|
-
columns: COLUMNS
|
|
87
|
-
}, {
|
|
88
|
-
default: withCtx(() => [createVNode(unref(DataTableRow_default), { class: "sr-only !block" }, {
|
|
89
|
-
default: withCtx(() => [
|
|
90
|
-
createVNode(unref(DataTableHeader_default), null, {
|
|
91
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode("Enabled", -1)])]),
|
|
92
|
-
_: 1
|
|
93
|
-
}),
|
|
94
|
-
createVNode(unref(DataTableHeader_default), null, {
|
|
95
|
-
default: withCtx(() => [..._cache[1] || (_cache[1] = [createTextVNode("Name", -1)])]),
|
|
96
|
-
_: 1
|
|
97
|
-
}),
|
|
98
|
-
createVNode(unref(DataTableHeader_default), null, {
|
|
99
|
-
default: withCtx(() => [..._cache[2] || (_cache[2] = [createTextVNode("Value", -1)])]),
|
|
100
|
-
_: 1
|
|
101
|
-
}),
|
|
102
|
-
createVNode(unref(DataTableHeader_default), null, {
|
|
103
|
-
default: withCtx(() => [..._cache[3] || (_cache[3] = [createTextVNode("Domain", -1)])]),
|
|
104
|
-
_: 1
|
|
105
|
-
}),
|
|
106
|
-
createVNode(unref(DataTableHeader_default), null, {
|
|
107
|
-
default: withCtx(() => [..._cache[4] || (_cache[4] = [createTextVNode("Actions", -1)])]),
|
|
108
|
-
_: 1
|
|
109
|
-
})
|
|
110
|
-
]),
|
|
111
|
-
_: 1
|
|
112
|
-
}), (openBlock(true), createElementBlock(Fragment, null, renderList(displayRows.value, (row, index) => {
|
|
113
|
-
return openBlock(), createBlock(unref(DataTableRow_default), {
|
|
114
|
-
key: index,
|
|
115
|
-
class: "group/row"
|
|
116
|
-
}, {
|
|
117
|
-
default: withCtx(() => [
|
|
118
|
-
createVNode(unref(DataTableCheckbox_default), {
|
|
119
|
-
class: "!border-r",
|
|
120
|
-
modelValue: !row.isDisabled,
|
|
121
|
-
"onUpdate:modelValue": (value) => handleCookieChange(row.name, row.value, row.domain, !value, index)
|
|
122
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
123
|
-
createVNode(unref(DataTableCell_default), null, {
|
|
124
|
-
default: withCtx(() => [createVNode(unref(CodeInput_default), {
|
|
125
|
-
"aria-label": "Cookie Name",
|
|
126
|
-
disableCloseBrackets: "",
|
|
127
|
-
disableTabIndent: "",
|
|
128
|
-
environment: void 0,
|
|
129
|
-
lineWrapping: "",
|
|
130
|
-
modelValue: row.name,
|
|
131
|
-
placeholder: "Name",
|
|
132
|
-
"onUpdate:modelValue": (name) => handleCookieChange(name, row.value, row.domain, row.isDisabled, index)
|
|
133
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
134
|
-
_: 2
|
|
135
|
-
}, 1024),
|
|
136
|
-
createVNode(unref(DataTableCell_default), null, {
|
|
137
|
-
default: withCtx(() => [createVNode(unref(CodeInput_default), {
|
|
138
|
-
"aria-label": "Cookie Value",
|
|
139
|
-
disableCloseBrackets: "",
|
|
140
|
-
disableTabIndent: "",
|
|
141
|
-
environment: void 0,
|
|
142
|
-
lineWrapping: "",
|
|
143
|
-
modelValue: row.value,
|
|
144
|
-
placeholder: "Value",
|
|
145
|
-
withFakeData: "",
|
|
146
|
-
"onUpdate:modelValue": (value) => handleCookieChange(row.name, value, row.domain, row.isDisabled, index)
|
|
147
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
148
|
-
_: 2
|
|
149
|
-
}, 1024),
|
|
150
|
-
createVNode(unref(DataTableCell_default), null, {
|
|
151
|
-
default: withCtx(() => [createVNode(unref(CodeInput_default), {
|
|
152
|
-
"aria-label": "Cookie Domain",
|
|
153
|
-
disableCloseBrackets: "",
|
|
154
|
-
disableTabIndent: "",
|
|
155
|
-
environment: void 0,
|
|
156
|
-
lineWrapping: "",
|
|
157
|
-
modelValue: row.domain,
|
|
158
|
-
placeholder: "Domain",
|
|
159
|
-
"onUpdate:modelValue": (domain) => handleCookieChange(row.name, row.value, domain, row.isDisabled, index)
|
|
160
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
161
|
-
_: 2
|
|
162
|
-
}, 1024),
|
|
163
|
-
createVNode(unref(DataTableCell_default), { class: "flex items-center justify-center" }, {
|
|
164
|
-
default: withCtx(() => [index < __props.cookies.length ? (openBlock(), createBlock(unref(ScalarButton), {
|
|
165
|
-
key: 0,
|
|
166
|
-
class: "text-c-2 hover:text-c-1 hover:bg-b-2 hidden h-fit rounded p-1 group-focus-within:flex group-hover/row:flex",
|
|
167
|
-
size: "sm",
|
|
168
|
-
variant: "ghost",
|
|
169
|
-
onClick: ($event) => handleCookieDelete(index)
|
|
170
|
-
}, {
|
|
171
|
-
default: withCtx(() => [createVNode(unref(ScalarIconTrash), { class: "size-3.5" })]),
|
|
172
|
-
_: 1
|
|
173
|
-
}, 8, ["onClick"])) : createCommentVNode("", true)]),
|
|
174
|
-
_: 2
|
|
175
|
-
}, 1024)
|
|
176
|
-
]),
|
|
177
|
-
_: 2
|
|
178
|
-
}, 1024);
|
|
179
|
-
}), 128))]),
|
|
180
|
-
_: 1
|
|
181
|
-
});
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
//#endregion
|
|
186
|
-
export { CookiesTable_vue_vue_type_script_setup_true_lang_default as default };
|
|
187
|
-
|
|
188
|
-
//# sourceMappingURL=CookiesTable.vue.script.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CookiesTable.vue.script.js","names":[],"sources":["../../../../../src/v2/features/global-cookies/components/CookiesTable.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarButton } from '@scalar/components'\nimport { ScalarIconTrash } from '@scalar/icons'\nimport type {\n CollectionType,\n WorkspaceEventBus,\n} from '@scalar/workspace-store/events'\nimport type { XScalarCookie } from '@scalar/workspace-store/schemas/extensions/general/x-scalar-cookies'\nimport { computed } from 'vue'\n\nimport { CodeInput } from '@/v2/components/code-input'\nimport {\n DataTable,\n DataTableCell,\n DataTableCheckbox,\n DataTableHeader,\n DataTableRow,\n} from '@/v2/components/data-table'\n\nconst { cookies, eventBus, collectionType } = defineProps<\n {\n cookies: XScalarCookie[]\n eventBus: WorkspaceEventBus\n } & CollectionType\n>()\n\n/** Column widths: Enabled checkbox, Name, Value, Domain, Actions (delete button) */\nconst COLUMNS = ['32px', '1fr', '1fr', '1fr', '36px']\n\n/** Adds an empty row at the end for creating new cookies */\nconst displayRows = computed<\n {\n name: string\n value: string\n domain: string\n isDisabled: boolean\n }[]\n>(() => {\n /** Normalize the cookies to have name, value, and domain */\n const cookieRows = cookies.map((cookie) => ({\n name: cookie.name,\n value: cookie.value,\n domain: cookie.domain ?? '',\n isDisabled: cookie.isDisabled ?? false,\n }))\n\n const lastCookie = cookies.at(-1)\n const hasContentInLastRow =\n lastCookie &&\n (lastCookie.name !== '' ||\n lastCookie.value !== '' ||\n lastCookie.domain !== '')\n\n // Add the extra row at the end\n if (!lastCookie || hasContentInLastRow) {\n return [\n ...cookieRows,\n { name: '', value: '', domain: '', isDisabled: true },\n ]\n }\n\n return cookieRows\n})\n\n/** Updates an existing cookie or creates a new one */\nconst handleCookieChange = (\n name: string,\n value: string,\n domain: string,\n isDisabled: boolean,\n index: number,\n): void => {\n const isNewCookie = index >= cookies.length\n\n /**\n * Do not allow adding a new cookie with an empty name on the last row,\n * we allow it on other rows as it will delete the row\n */\n if (!name && isNewCookie) {\n return\n }\n\n // Adding a new cookie\n if (index >= cookies.length) {\n eventBus.emit('cookie:upsert:cookie', {\n payload: { name, value, domain, isDisabled: false },\n collectionType,\n })\n return\n }\n\n // Updating existing cookie\n eventBus.emit('cookie:upsert:cookie', {\n payload: { name, value, domain, isDisabled },\n collectionType,\n index,\n })\n}\n\n/** Deletes a cookie by index */\nconst handleCookieDelete = (index: number): void =>\n eventBus.emit('cookie:delete:cookie', {\n cookieName: cookies[index]?.name ?? '',\n index,\n collectionType,\n })\n</script>\n<template>\n <!-- Cookies table -->\n <DataTable\n class=\"group/table data-table h-min flex-1 rounded border border-t-0\"\n :columns=\"COLUMNS\">\n <!-- Accessibility header row -->\n <DataTableRow class=\"sr-only !block\">\n <DataTableHeader>Enabled</DataTableHeader>\n <DataTableHeader>Name</DataTableHeader>\n <DataTableHeader>Value</DataTableHeader>\n <DataTableHeader>Domain</DataTableHeader>\n <DataTableHeader>Actions</DataTableHeader>\n </DataTableRow>\n\n <!-- Cookie rows -->\n <DataTableRow\n v-for=\"(row, index) in displayRows\"\n :key=\"index\"\n class=\"group/row\">\n <!-- Enabled checkbox -->\n <DataTableCheckbox\n class=\"!border-r\"\n :modelValue=\"!row.isDisabled\"\n @update:modelValue=\"\n (value) =>\n handleCookieChange(row.name, row.value, row.domain, !value, index)\n \" />\n\n <!-- Name -->\n <DataTableCell>\n <CodeInput\n aria-label=\"Cookie Name\"\n disableCloseBrackets\n disableTabIndent\n :environment=\"undefined\"\n lineWrapping\n :modelValue=\"row.name\"\n placeholder=\"Name\"\n @update:modelValue=\"\n (name) =>\n handleCookieChange(\n name,\n row.value,\n row.domain,\n row.isDisabled,\n index,\n )\n \" />\n </DataTableCell>\n\n <!-- Value -->\n <DataTableCell>\n <CodeInput\n aria-label=\"Cookie Value\"\n disableCloseBrackets\n disableTabIndent\n :environment=\"undefined\"\n lineWrapping\n :modelValue=\"row.value\"\n placeholder=\"Value\"\n withFakeData\n @update:modelValue=\"\n (value) =>\n handleCookieChange(\n row.name,\n value,\n row.domain,\n row.isDisabled,\n index,\n )\n \" />\n </DataTableCell>\n\n <!-- Domain -->\n <DataTableCell>\n <CodeInput\n aria-label=\"Cookie Domain\"\n disableCloseBrackets\n disableTabIndent\n :environment=\"undefined\"\n lineWrapping\n :modelValue=\"row.domain\"\n placeholder=\"Domain\"\n @update:modelValue=\"\n (domain) =>\n handleCookieChange(\n row.name,\n row.value,\n domain,\n row.isDisabled,\n index,\n )\n \" />\n </DataTableCell>\n\n <!-- Delete button -->\n <DataTableCell class=\"flex items-center justify-center\">\n <ScalarButton\n v-if=\"index < cookies.length\"\n class=\"text-c-2 hover:text-c-1 hover:bg-b-2 hidden h-fit rounded p-1 group-focus-within:flex group-hover/row:flex\"\n size=\"sm\"\n variant=\"ghost\"\n @click=\"handleCookieDelete(index)\">\n <ScalarIconTrash class=\"size-3.5\" />\n </ScalarButton>\n </DataTableCell>\n </DataTableRow>\n </DataTable>\n</template>\n<style scoped>\n:deep(.cm-editor) {\n padding: 0;\n}\n:deep(.cm-content) {\n align-items: center;\n background-color: transparent;\n display: flex;\n font-family: var(--scalar-font);\n font-size: var(--scalar-small);\n padding: 5px 8px;\n width: 100%;\n}\n:deep(.cm-content):has(.cm-pill) {\n padding: 5px 8px;\n}\n:deep(.cm-content .cm-pill:not(:last-of-type)) {\n margin-right: 0.5px;\n}\n:deep(.cm-content .cm-pill:not(:first-of-type)) {\n margin-left: 0.5px;\n}\n:deep(.cm-line) {\n overflow: hidden;\n padding: 0;\n text-overflow: ellipsis;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;EA2BA,MAAM,UAAU;GAAC;GAAQ;GAAO;GAAO;GAAO;GAAM;;EAGpD,MAAM,cAAc,eAOZ;;GAEN,MAAM,aAAa,QAAA,QAAQ,KAAK,YAAY;IAC1C,MAAM,OAAO;IACb,OAAO,OAAO;IACd,QAAQ,OAAO,UAAU;IACzB,YAAY,OAAO,cAAc;IAClC,EAAC;GAEF,MAAM,aAAa,QAAA,QAAQ,GAAG,GAAE;GAChC,MAAM,sBACJ,eACC,WAAW,SAAS,MACnB,WAAW,UAAU,MACrB,WAAW,WAAW;AAG1B,OAAI,CAAC,cAAc,oBACjB,QAAO,CACL,GAAG,YACH;IAAE,MAAM;IAAI,OAAO;IAAI,QAAQ;IAAI,YAAY;IAAM,CACvD;AAGF,UAAO;IACR;;EAGD,MAAM,sBACJ,MACA,OACA,QACA,YACA,UACS;GACT,MAAM,cAAc,SAAS,QAAA,QAAQ;;;;;AAMrC,OAAI,CAAC,QAAQ,YACX;AAIF,OAAI,SAAS,QAAA,QAAQ,QAAQ;AAC3B,YAAA,SAAS,KAAK,wBAAwB;KACpC,SAAS;MAAE;MAAM;MAAO;MAAQ,YAAY;MAAO;KACnD,gBAAa,QAAA;KACd,CAAA;AACD;;AAIF,WAAA,SAAS,KAAK,wBAAwB;IACpC,SAAS;KAAE;KAAM;KAAO;KAAQ;KAAY;IAC5C,gBAAa,QAAA;IACb;IACD,CAAA;;;EAIH,MAAM,sBAAsB,UAC1B,QAAA,SAAS,KAAK,wBAAwB;GACpC,YAAY,QAAA,QAAQ,QAAQ,QAAQ;GACpC;GACA,gBAAa,QAAA;GACd,CAAA;;uBAID,YAyGY,MAAA,kBAAA,EAAA;IAxGV,OAAM;IACL,SAAS;;2BAQK,CANf,YAMe,MAAA,qBAAA,EAAA,EAND,OAAM,kBAAgB,EAAA;4BACQ;MAA1C,YAA0C,MAAA,wBAAA,EAAA,MAAA;8BAAlB,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAP,WAAO,GAAA,CAAA,EAAA,CAAA;;;MACxB,YAAuC,MAAA,wBAAA,EAAA,MAAA;8BAAlB,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAJ,QAAI,GAAA,CAAA,EAAA,CAAA;;;MACrB,YAAwC,MAAA,wBAAA,EAAA,MAAA;8BAAlB,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAL,SAAK,GAAA,CAAA,EAAA,CAAA;;;MACtB,YAAyC,MAAA,wBAAA,EAAA,MAAA;8BAAlB,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAN,UAAM,GAAA,CAAA,EAAA,CAAA;;;MACvB,YAA0C,MAAA,wBAAA,EAAA,MAAA;8BAAlB,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAP,WAAO,GAAA,CAAA,EAAA,CAAA;;;;;0BAI1B,mBA2Fe,UAAA,MAAA,WA1FU,YAAA,QAAf,KAAK,UAAK;yBADpB,YA2Fe,MAAA,qBAAA,EAAA;MAzFZ,KAAK;MACN,OAAM;;6BAQA;OANN,YAMM,MAAA,0BAAA,EAAA;QALJ,OAAM;QACL,YAAU,CAAG,IAAI;QACjB,wBAA+B,UAAsB,mBAAmB,IAAI,MAAM,IAAI,OAAO,IAAI,QAAM,CAAG,OAAO,MAAK;;OAMzH,YAmBgB,MAAA,sBAAA,EAAA,MAAA;+BADR,CAjBN,YAiBM,MAAA,kBAAA,EAAA;SAhBJ,cAAW;SACX,sBAAA;SACA,kBAAA;SACC,aAAa,KAAA;SACd,cAAA;SACC,YAAY,IAAI;SACjB,aAAY;SACX,wBAAiC,SAAuB,mBAAoC,MAAsB,IAAI,OAAuB,IAAI,QAAwB,IAAI,YAA4B,MAAA;;;;OAa9M,YAoBgB,MAAA,sBAAA,EAAA,MAAA;+BADR,CAlBN,YAkBM,MAAA,kBAAA,EAAA;SAjBJ,cAAW;SACX,sBAAA;SACA,kBAAA;SACC,aAAa,KAAA;SACd,cAAA;SACC,YAAY,IAAI;SACjB,aAAY;SACZ,cAAA;SACC,wBAAiC,UAAwB,mBAAoC,IAAI,MAAsB,OAAuB,IAAI,QAAwB,IAAI,YAA4B,MAAA;;;;OAa/M,YAmBgB,MAAA,sBAAA,EAAA,MAAA;+BADR,CAjBN,YAiBM,MAAA,kBAAA,EAAA;SAhBJ,cAAW;SACX,sBAAA;SACA,kBAAA;SACC,aAAa,KAAA;SACd,cAAA;SACC,YAAY,IAAI;SACjB,aAAY;SACX,wBAAiC,WAAyB,mBAAoC,IAAI,MAAsB,IAAI,OAAuB,QAAwB,IAAI,YAA4B,MAAA;;;;OAahN,YASgB,MAAA,sBAAA,EAAA,EATD,OAAM,oCAAkC,EAAA;+BAQtC,CANP,QAAQ,QAAA,QAAQ,UAAA,WAAA,EADxB,YAOe,MAAA,aAAA,EAAA;;SALb,OAAM;SACN,MAAK;SACL,SAAQ;SACP,UAAK,WAAE,mBAAmB,MAAK;;gCACI,CAApC,YAAoC,MAAA,gBAAA,EAAA,EAAnB,OAAM,YAAU,CAAA,CAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/global-cookies/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { type Theme } from '@scalar/themes';
|
|
2
|
-
type ColorMode = 'system' | 'light' | 'dark';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
/** Currently active proxy URL, when set to null means no proxy */
|
|
5
|
-
activeProxyUrl?: string | null;
|
|
6
|
-
/** Custom themes available to the team */
|
|
7
|
-
customThemes?: Theme[];
|
|
8
|
-
/** Currently active theme ID */
|
|
9
|
-
activeThemeSlug?: string;
|
|
10
|
-
/** Currently active color mode */
|
|
11
|
-
colorMode: ColorMode;
|
|
12
|
-
/** Whether telemetry is enabled */
|
|
13
|
-
telemetry?: boolean;
|
|
14
|
-
};
|
|
15
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
-
"update:colorMode": (value: ColorMode) => any;
|
|
17
|
-
"update:proxyUrl": (value: string | null) => any;
|
|
18
|
-
"update:themeSlug": (value: string | undefined) => any;
|
|
19
|
-
"update:telemetry": (value: boolean) => any;
|
|
20
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
"onUpdate:colorMode"?: ((value: ColorMode) => any) | undefined;
|
|
22
|
-
"onUpdate:proxyUrl"?: ((value: string | null) => any) | undefined;
|
|
23
|
-
"onUpdate:themeSlug"?: ((value: string | undefined) => any) | undefined;
|
|
24
|
-
"onUpdate:telemetry"?: ((value: boolean) => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
-
declare const _default: typeof __VLS_export;
|
|
27
|
-
export default _default;
|
|
28
|
-
//# sourceMappingURL=CollectionSettings.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionSettings.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/settings/CollectionSettings.vue"],"names":[],"mappings":"AAkVA,OAAO,EAIL,KAAK,KAAK,EAEX,MAAM,gBAAgB,CAAA;AASvB,KAAK,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;AAE5C,KAAK,WAAW,GAAG;IACjB,kEAAkE;IAClE,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,0CAA0C;IAC1C,YAAY,CAAC,EAAE,KAAK,EAAE,CAAA;IACtB,gCAAgC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,kCAAkC;IAClC,SAAS,EAAE,SAAS,CAAA;IACpB,mCAAmC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAgqBF,QAAA,MAAM,YAAY;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import CollectionSettings_vue_vue_type_script_setup_true_lang_default from "./CollectionSettings.vue.script.js";
|
|
2
|
-
//#region src/v2/features/settings/CollectionSettings.vue
|
|
3
|
-
var CollectionSettings_default = CollectionSettings_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { CollectionSettings_default as default };
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=CollectionSettings.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionSettings.vue.js","names":[],"sources":["../../../../src/v2/features/settings/CollectionSettings.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n cva,\n cx,\n ScalarButton,\n ScalarIcon,\n ScalarToggleInput,\n} from '@scalar/components'\nimport {\n presets,\n themeLabels,\n type IntegrationThemeId,\n type Theme,\n type ThemeId,\n} from '@scalar/themes'\nimport { computed } from 'vue'\n\nimport IntegrationLogo from '@/components/ImportCollection/IntegrationLogo.vue'\n\nimport Appearance from './components/Appearance.vue'\nimport Section from './components/Section.vue'\nimport { getThemeColors } from './helpers/get-theme-colors'\n\ntype ColorMode = 'system' | 'light' | 'dark'\n\nconst {\n activeProxyUrl,\n customThemes = [],\n activeThemeSlug,\n colorMode,\n telemetry,\n} = defineProps<{\n /** Currently active proxy URL, when set to null means no proxy */\n activeProxyUrl?: string | null\n /** Custom themes available to the team */\n customThemes?: Theme[]\n /** Currently active theme ID */\n activeThemeSlug?: string\n /** Currently active color mode */\n colorMode: ColorMode\n /** Whether telemetry is enabled */\n telemetry?: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:proxyUrl', value: string | null): void\n (e: 'update:themeSlug', value: string | undefined): void\n (e: 'update:colorMode', value: ColorMode): void\n (e: 'update:telemetry', value: boolean): void\n}>()\n\nconst DEFAULT_PROXY_URL = 'https://proxy.scalar.com'\n\nconst THEME_IDS: Exclude<ThemeId, IntegrationThemeId>[] = [\n 'none',\n 'default',\n 'alternate',\n 'purple',\n 'solarized',\n 'saturn',\n 'kepler',\n]\n\nconst INTEGRATION_THEME_IDS: IntegrationThemeId[] = ['elysiajs', 'fastify']\n\nconst defaultThemes = THEME_IDS.map((themeId) => {\n if (themeId === 'none') {\n return {\n slug: themeId,\n name: 'None',\n description: 'No theme',\n theme: '',\n }\n }\n return presets[themeId]\n})\n\nconst integrationThemes = INTEGRATION_THEME_IDS.map((themeId) => ({\n slug: themeId,\n name: themeLabels[themeId],\n description: themeLabels[themeId],\n theme: '',\n}))\n\nconst customThemeSlugs = computed(\n () => new Set(customThemes.map((theme) => theme.slug)),\n)\n\nconst buttonStyles = cva({\n base: 'w-full shadow-none text-c-1 justify-start pl-2 gap-2 border',\n variants: {\n active: {\n true: 'bg-primary text-c-1 hover:bg-inherit',\n false: 'bg-b-1 hover:bg-b-2',\n },\n },\n})\n\n/**\n * Determines if the \"None\" theme should be selected.\n * This happens when no theme is selected, or when the selected theme does not exist.\n */\nconst isNoneThemeSelected = computed(() => {\n if (activeThemeSlug === undefined || activeThemeSlug === 'none') {\n return true\n }\n\n const isValidTheme =\n customThemeSlugs.value.has(activeThemeSlug) ||\n defaultThemes.some((theme) => theme.slug === activeThemeSlug) ||\n integrationThemes.some((theme) => theme.slug === activeThemeSlug)\n\n return !isValidTheme\n})\n\nconst isNoneTheme = (themeId: string): boolean => themeId === 'none'\n\nconst isThemeActive = (themeSlug: string): boolean => {\n return (\n activeThemeSlug === themeSlug ||\n (isNoneTheme(themeSlug) && isNoneThemeSelected.value)\n )\n}\n\nconst checkmarkClasses = (isActive: boolean) =>\n cx(\n 'flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1',\n isActive && 'bg-c-accent text-b-1 border-transparent',\n )\n</script>\n<template>\n <div class=\"flex flex-col gap-10\">\n <!-- Proxy -->\n <Section>\n <template #title>CORS Proxy</template>\n <template #description>\n Browsers block cross-origin requests for security. We provide a public\n proxy to\n <a\n class=\"hover:text-c-1 underline underline-offset-2\"\n href=\"https://en.wikipedia.org/wiki/Cross-origin_resource_sharing\"\n target=\"_blank\"\n >bypass CORS issues</a\n >\n . Check the\n <a\n class=\"hover:text-c-1 underline underline-offset-2\"\n href=\"https://github.com/scalar/scalar/tree/main/projects/proxy-scalar-com\"\n target=\"_blank\"\n >source code on GitHub</a\n >\n .\n </template>\n\n <div class=\"flex flex-col gap-2\">\n <ScalarButton\n :class=\"\n cx(\n buttonStyles({\n active: activeProxyUrl === DEFAULT_PROXY_URL,\n }),\n )\n \"\n @click=\"emit('update:proxyUrl', DEFAULT_PROXY_URL)\">\n <div :class=\"checkmarkClasses(activeProxyUrl === DEFAULT_PROXY_URL)\">\n <ScalarIcon\n v-if=\"activeProxyUrl === DEFAULT_PROXY_URL\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Use proxy.scalar.com (default)\n </ScalarButton>\n\n <ScalarButton\n :class=\"cx(buttonStyles({ active: !activeProxyUrl }))\"\n @click=\"emit('update:proxyUrl', null)\">\n <div :class=\"checkmarkClasses(!activeProxyUrl)\">\n <ScalarIcon\n v-if=\"!activeProxyUrl\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Skip the proxy\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Themes -->\n <Section>\n <template #title>Themes</template>\n <template #description>\n We've got a whole rainbow of themes for you to play with:\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in defaultThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: isThemeActive(theme.slug) }))\"\n @click=\"\n emit(\n 'update:themeSlug',\n isNoneTheme(theme.slug) ? undefined : theme.slug,\n )\n \">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(isThemeActive(theme.slug))\">\n <ScalarIcon\n v-if=\"isThemeActive(theme.slug)\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n <div class=\"flex items-center gap-1\">\n <span\n class=\"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).light,\n }\" />\n <span\n class=\"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).dark,\n }\" />\n <span\n class=\"border-c-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).accent,\n }\" />\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Frameworks -->\n <Section>\n <template #title>Framework Themes</template>\n <template #description>\n Are you a real fan? Show your support by using your favorite framework's\n theme!\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in integrationThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: activeThemeSlug === theme.slug }))\"\n @click=\"emit('update:themeSlug', theme.slug)\">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(activeThemeSlug === theme.slug)\">\n <ScalarIcon\n v-if=\"activeThemeSlug === theme.slug\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n <div class=\"flex items-center gap-1\">\n <div class=\"size-7 rounded-xl\">\n <IntegrationLogo :integration=\"theme.slug\" />\n </div>\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Custom Themes -->\n <Section v-if=\"customThemes.length > 0\">\n <template #title> Custom Themes </template>\n <template #description>\n Team defined themes are available to all workspaces in the team.\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in customThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: activeThemeSlug === theme.slug }))\"\n @click=\"emit('update:themeSlug', theme.slug)\">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(activeThemeSlug === theme.slug)\">\n <ScalarIcon\n v-if=\"activeThemeSlug === theme.slug\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Appearance -->\n <Section>\n <template #title>Appearance</template>\n <template #description>\n Choose between light, dark, or system-based appearance for your\n workspace.\n </template>\n\n <Appearance\n :colorMode=\"colorMode\"\n @update:colorMode=\"(value) => emit('update:colorMode', value)\" />\n </Section>\n\n <!-- Telemetry -->\n <Section>\n <template #title>Telemetry</template>\n <template #description>\n Help us improve Scalar by sending usage data.\n </template>\n\n <ScalarToggleInput\n :modelValue=\"telemetry\"\n @update:modelValue=\"\n (value) => emit('update:telemetry', value ?? false)\n \">\n Enable telemetry\n </ScalarToggleInput>\n </Section>\n </div>\n</template>\n"],"mappings":""}
|