@scalar/api-client 3.27.0 → 3.28.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 +19 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/assets/computer.ascii_raw.js +1 -2
- package/dist/components/HelpfulLink.vue.js +1 -2
- package/dist/components/HelpfulLink.vue.js.map +1 -1
- package/dist/components/HelpfulLink.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/HttpMethod/HttpMethod.vue.js +1 -2
- package/dist/components/HttpMethod/HttpMethod.vue.js.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js +2 -3
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js.map +1 -1
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/SectionFilter.vue.js +2 -3
- package/dist/components/SectionFilter.vue.js.map +1 -1
- package/dist/components/SectionFilter.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/SectionFilterButton.vue.js +1 -2
- package/dist/components/SectionFilterButton.vue.js.map +1 -1
- package/dist/components/SectionFilterButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/Server/ServerVariablesForm.vue.js +1 -2
- package/dist/components/Server/ServerVariablesForm.vue.js.map +1 -1
- package/dist/components/Server/ServerVariablesForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/Server/ServerVariablesForm.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.js +1 -2
- package/dist/components/Server/ServerVariablesSelect.vue.js.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/Server/ServerVariablesSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.js +1 -2
- package/dist/components/Server/ServerVariablesTextbox.vue.js.map +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +1 -2
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/ViewLayout/ViewLayout.vue.js +1 -2
- package/dist/components/ViewLayout/ViewLayout.vue.js.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -2
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -2
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/ViewLayout/ViewLayoutSection.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/hooks/use-file-dialog.js +1 -2
- package/dist/plugins/posthog/index.js +1 -2
- package/dist/plugins/posthog/sanitize-event-payload.js +1 -2
- package/dist/style.css +562 -448
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +1 -2
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue_vue_type_script_setup_true_lang.js +11 -7
- package/dist/v2/blocks/operation-block/OperationBlock.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -3
- package/dist/v2/blocks/operation-block/components/Header.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/blocks/operation-block/components/Header.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.js +2 -3
- package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/blocks/operation-block/helpers/decode-buffer.js +1 -2
- package/dist/v2/blocks/operation-block/helpers/get-cookie-header-keys.js +1 -2
- package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.js +1 -2
- package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.js +1 -2
- package/dist/v2/blocks/operation-block/helpers/persist-response-cookies.js +1 -2
- package/dist/v2/blocks/operation-block/helpers/persist-script-environment.js +1 -2
- package/dist/v2/blocks/operation-block/helpers/response-cache.js +1 -2
- package/dist/v2/blocks/operation-block/helpers/send-request.js +1 -2
- package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.js +1 -2
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +2 -0
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +3 -4
- package/dist/v2/blocks/request-block/RequestBlock.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue_vue_type_script_setup_true_lang.js +13 -7
- package/dist/v2/blocks/request-block/RequestBlock.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts +2 -0
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +3 -4
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue_vue_type_script_setup_true_lang.js +17 -13
- package/dist/v2/blocks/request-block/components/RequestBody.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue.d.ts +3 -0
- package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue_vue_type_script_setup_true_lang.js +9 -4
- package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyStructured.vue.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestBodyStructured.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyStructured.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/request-block/components/RequestBodyViewToggle.vue.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestBodyViewToggle.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyViewToggle.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestBodyViewToggle.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue_vue_type_script_setup_true_lang.js +4 -3
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestParams.vue.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestParams.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestParams.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/request-block/components/RequestParams.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.js +2 -3
- package/dist/v2/blocks/request-block/components/RequestTable.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/blocks/request-block/components/RequestTableFileList.vue.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestTableFileList.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableFileList.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestTableFileList.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue_vue_type_script_setup_true_lang.js +37 -12
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js +1 -2
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +1 -2
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts +2 -0
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js +6 -3
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/files.js +1 -2
- package/dist/v2/blocks/request-block/helpers/fold-structured-body-rows.js +1 -2
- package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +1 -2
- package/dist/v2/blocks/request-block/helpers/get-parameter-content.js +1 -2
- package/dist/v2/blocks/request-block/helpers/get-parameter-schema.js +1 -2
- package/dist/v2/blocks/request-block/helpers/get-structured-body-rows.js +1 -2
- package/dist/v2/blocks/request-block/helpers/group-by.js +1 -2
- package/dist/v2/blocks/request-block/helpers/group-form-body-files.js +2 -3
- package/dist/v2/blocks/request-block/helpers/group-form-body-files.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/group-global-cookies.js +1 -2
- package/dist/v2/blocks/request-block/helpers/multipart-body.js +1 -2
- package/dist/v2/blocks/request-block/helpers/structured-body-codec.js +1 -2
- package/dist/v2/blocks/request-block/helpers/validate-parameter.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/validate-parameter.js +8 -3
- package/dist/v2/blocks/request-block/helpers/validate-parameter.js.map +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.js +2 -3
- package/dist/v2/blocks/response-block/ResponseBlock.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/v2/blocks/response-block/ResponseBlock.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/response-block/components/Headers.vue.js +1 -2
- package/dist/v2/blocks/response-block/components/Headers.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/Headers.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue_vue_type_script_setup_true_lang.js +5 -6
- package/dist/v2/blocks/response-block/components/ResponseBody.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.js +1 -2
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/response-block/helpers/extract-filename.js +1 -2
- package/dist/v2/blocks/response-block/helpers/get-content-length.js +1 -2
- package/dist/v2/blocks/response-block/helpers/media-types.js +1 -2
- package/dist/v2/blocks/response-block/helpers/parse-set-cookie.js +1 -2
- package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js +1 -2
- package/dist/v2/blocks/response-block/helpers/prettify-ndjson.js +1 -2
- package/dist/v2/blocks/response-block/helpers/process-response-body.js +1 -2
- package/dist/v2/blocks/response-block/helpers/resolve-response-body-handler.js +1 -2
- package/dist/v2/blocks/response-block/helpers/resolve-response-content-type.js +1 -2
- package/dist/v2/blocks/response-block/helpers/response-stream-multipart.js +1 -2
- package/dist/v2/blocks/response-block/helpers/response-stream.js +1 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -3
- 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_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js +2 -3
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js +1 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/httpStatusCodeColors.js +1 -2
- package/dist/v2/blocks/scalar-address-bar-block/helpers/is-placeholder-path.js +1 -2
- package/dist/v2/blocks/scalar-address-bar-block/helpers/refocus-blur-target.js +1 -2
- package/dist/v2/blocks/scalar-address-bar-block/hooks/use-loading-animation.js +1 -2
- package/dist/v2/blocks/scalar-address-bar-block/hooks/use-path-masking.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +1 -2
- 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_vue_type_script_setup_true_lang.js +4 -5
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2Metadata.vue.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2Metadata.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2Metadata.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2Metadata.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js +1 -2
- 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_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +1 -2
- 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_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +1 -2
- 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_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +1 -2
- 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_vue_type_script_setup_true_lang.js +7 -8
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/auth-options.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-oauth2-metadata.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-callback.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-client-authorization.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-device-authorization.js +2 -3
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-flows.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth2-metadata-to-flows.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/resolve-default-oauth2-redirect-url.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/run-oauth2-authorize.js +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +2 -3
- package/dist/v2/components/code-input/CodeInput.vue.js +2 -3
- package/dist/v2/components/code-input/CodeInput.vue.js.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/components/code-input/CodeInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/code-input/CodeInputLite.vue.js +2 -3
- package/dist/v2/components/code-input/CodeInputLite.vue.js.map +1 -1
- package/dist/v2/components/code-input/CodeInputLite.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/v2/components/code-input/CodeInputLite.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/code-input/PillTooltipHost.vue.js +1 -2
- package/dist/v2/components/code-input/PillTooltipHost.vue.js.map +1 -1
- package/dist/v2/components/code-input/PillTooltipHost.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/code-input/code-variable-widget.js +1 -2
- package/dist/v2/components/code-input/helpers/build-pill-context.js +1 -2
- package/dist/v2/components/code-input/helpers/lookup-variable-value.js +1 -2
- package/dist/v2/components/code-input/helpers/pill-signature.js +1 -2
- package/dist/v2/components/code-input/helpers/serialize-value.js +1 -2
- package/dist/v2/components/context-menu/ContextMenu.vue.js +1 -2
- package/dist/v2/components/context-menu/ContextMenu.vue.js.map +1 -1
- package/dist/v2/components/context-menu/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/data-table/DataTable.vue.js +1 -2
- package/dist/v2/components/data-table/DataTable.vue.js.map +1 -1
- package/dist/v2/components/data-table/DataTable.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/data-table/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/data-table/DataTableCell.vue.js +1 -2
- package/dist/v2/components/data-table/DataTableCell.vue.js.map +1 -1
- package/dist/v2/components/data-table/DataTableCell.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/data-table/DataTableCheckbox.vue.js +1 -2
- package/dist/v2/components/data-table/DataTableCheckbox.vue.js.map +1 -1
- package/dist/v2/components/data-table/DataTableCheckbox.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/data-table/DataTableHeader.vue.js +1 -2
- package/dist/v2/components/data-table/DataTableHeader.vue.js.map +1 -1
- package/dist/v2/components/data-table/DataTableHeader.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/data-table/DataTableInput.vue.js +2 -3
- package/dist/v2/components/data-table/DataTableInput.vue.js.map +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/v2/components/data-table/DataTableInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/data-table/DataTableInputSelect.vue.js +1 -2
- package/dist/v2/components/data-table/DataTableInputSelect.vue.js.map +1 -1
- package/dist/v2/components/data-table/DataTableInputSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/data-table/DataTableInputSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/data-table/DataTableRow.vue.js +1 -2
- package/dist/v2/components/data-table/DataTableText.vue.js +1 -2
- package/dist/v2/components/data-table/DataTableText.vue.js.map +1 -1
- package/dist/v2/components/data-table/DataTableText.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/data-table/index.js +1 -1
- package/dist/v2/components/date-picker/DatePicker.vue.d.ts +17 -0
- package/dist/v2/components/date-picker/DatePicker.vue.d.ts.map +1 -0
- package/dist/v2/components/date-picker/DatePicker.vue.js +6 -0
- package/dist/v2/components/date-picker/DatePicker.vue.js.map +1 -0
- package/dist/v2/components/date-picker/DatePicker.vue_vue_type_script_setup_true_lang.js +342 -0
- package/dist/v2/components/date-picker/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/v2/components/date-picker/date-parts.d.ts +68 -0
- package/dist/v2/components/date-picker/date-parts.d.ts.map +1 -0
- package/dist/v2/components/date-picker/date-parts.js +123 -0
- package/dist/v2/components/date-picker/date-parts.js.map +1 -0
- package/dist/v2/components/date-picker/index.d.ts +3 -0
- package/dist/v2/components/date-picker/index.d.ts.map +1 -0
- package/dist/v2/components/forms/ConfirmationForm.vue.js +1 -2
- package/dist/v2/components/forms/ConfirmationForm.vue.js.map +1 -1
- package/dist/v2/components/forms/ConfirmationForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/layout/CollapsibleSection.vue.js +1 -2
- package/dist/v2/components/layout/CollapsibleSection.vue.js.map +1 -1
- package/dist/v2/components/layout/CollapsibleSection.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/layout/CollapsibleSection.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/layout/ValueEmitter.vue.js +1 -2
- package/dist/v2/components/layout/ValueEmitter.vue.js.map +1 -1
- package/dist/v2/components/layout/ValueEmitter.vue_vue_type_script_setup_true_lang.js +0 -1
- package/dist/v2/components/layout/collapsible-section-heading-level.js +1 -2
- package/dist/v2/components/layout/index.js +1 -1
- package/dist/v2/components/modals/DeleteModal.vue.js +1 -2
- package/dist/v2/components/modals/DeleteModal.vue.js.map +1 -1
- package/dist/v2/components/modals/DeleteModal.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/components/modals/DeleteModal.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/modals/ModalClientContainer.vue.js +2 -3
- package/dist/v2/components/modals/ModalClientContainer.vue.js.map +1 -1
- package/dist/v2/components/modals/ModalClientContainer.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/resize/Resize.vue.js +2 -3
- package/dist/v2/components/resize/Resize.vue.js.map +1 -1
- package/dist/v2/components/resize/Resize.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/resize/use-split-resize.js +1 -2
- package/dist/v2/components/server/ServerDropdown.vue.js +1 -2
- package/dist/v2/components/server/ServerDropdown.vue.js.map +1 -1
- package/dist/v2/components/server/ServerDropdown.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/components/server/ServerDropdown.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/server/ServerDropdownItem.vue.js +2 -3
- package/dist/v2/components/server/ServerDropdownItem.vue.js.map +1 -1
- package/dist/v2/components/server/ServerDropdownItem.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/server/ServerDropdownItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +1 -2
- package/dist/v2/components/sidebar/Sidebar.vue.js.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/components/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +1 -2
- package/dist/v2/components/sidebar/SidebarMenu.vue.js.map +1 -1
- package/dist/v2/components/sidebar/SidebarMenu.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/sidebar/SidebarToggle.vue.js +2 -3
- package/dist/v2/components/sidebar/SidebarToggle.vue.js.map +1 -1
- package/dist/v2/components/sidebar/SidebarToggle.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/components/sidebar/index.js +1 -1
- package/dist/v2/constants.js +2 -3
- package/dist/v2/features/command-palette/components/CommandActionForm.vue.js +1 -2
- package/dist/v2/features/command-palette/components/CommandActionForm.vue.js.map +1 -1
- package/dist/v2/features/command-palette/components/CommandActionForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/features/command-palette/components/CommandActionInput.vue.js +1 -2
- package/dist/v2/features/command-palette/components/CommandActionInput.vue.js.map +1 -1
- package/dist/v2/features/command-palette/components/CommandActionInput.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/features/environments/EnvironmentsList.vue.js +1 -2
- package/dist/v2/features/environments/EnvironmentsList.vue.js.map +1 -1
- package/dist/v2/features/environments/EnvironmentsList.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/features/environments/components/Environment.vue.js +1 -2
- package/dist/v2/features/environments/components/Environment.vue.js.map +1 -1
- package/dist/v2/features/environments/components/Environment.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/features/environments/components/Environment.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentColors.vue.js +1 -2
- package/dist/v2/features/environments/components/EnvironmentColors.vue.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentColors.vue_vue_type_script_setup_true_lang.js +9 -10
- package/dist/v2/features/environments/components/EnvironmentColors.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +1 -2
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +1 -2
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +1 -2
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +2 -3
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/features/localization/index.js +1 -2
- package/dist/v2/features/localization/locales/ar.d.ts +21 -0
- package/dist/v2/features/localization/locales/ar.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/ar.js +22 -2
- package/dist/v2/features/localization/locales/ar.js.map +1 -1
- package/dist/v2/features/localization/locales/de.d.ts +21 -0
- package/dist/v2/features/localization/locales/de.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/de.js +22 -2
- package/dist/v2/features/localization/locales/de.js.map +1 -1
- package/dist/v2/features/localization/locales/es.d.ts +21 -0
- package/dist/v2/features/localization/locales/es.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/es.js +22 -2
- package/dist/v2/features/localization/locales/es.js.map +1 -1
- package/dist/v2/features/localization/locales/fr.d.ts +21 -0
- package/dist/v2/features/localization/locales/fr.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/fr.js +22 -2
- package/dist/v2/features/localization/locales/fr.js.map +1 -1
- package/dist/v2/features/localization/locales/pt.d.ts +21 -0
- package/dist/v2/features/localization/locales/pt.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/pt.js +22 -2
- package/dist/v2/features/localization/locales/pt.js.map +1 -1
- package/dist/v2/features/localization/locales/ru.d.ts +21 -0
- package/dist/v2/features/localization/locales/ru.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/ru.js +22 -2
- package/dist/v2/features/localization/locales/ru.js.map +1 -1
- package/dist/v2/features/localization/locales/zh-cn.d.ts +21 -0
- package/dist/v2/features/localization/locales/zh-cn.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/zh-cn.js +22 -2
- package/dist/v2/features/localization/locales/zh-cn.js.map +1 -1
- package/dist/v2/features/localization/locales/zh-tw.d.ts +21 -0
- package/dist/v2/features/localization/locales/zh-tw.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/zh-tw.js +22 -2
- package/dist/v2/features/localization/locales/zh-tw.js.map +1 -1
- package/dist/v2/features/localization/translations.d.ts +21 -0
- package/dist/v2/features/localization/translations.d.ts.map +1 -1
- package/dist/v2/features/localization/translations.js +22 -2
- package/dist/v2/features/localization/translations.js.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +1 -2
- package/dist/v2/features/modal/Modal.vue.js.map +1 -1
- package/dist/v2/features/modal/Modal.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/v2/features/modal/helpers/create-api-client-modal.js +1 -2
- package/dist/v2/features/modal/helpers/map-hidden-clients-config.js +1 -2
- package/dist/v2/features/modal/helpers/resolve-route-parameters.js +1 -2
- package/dist/v2/features/modal/hooks/use-modal-sidebar.js +1 -2
- package/dist/v2/features/modal/index.js +2 -2
- package/dist/v2/features/modal/modal-events.js +1 -2
- package/dist/v2/features/modal/use-lazy-api-client.js +1 -2
- package/dist/v2/features/operation/Operation.vue.js +1 -2
- package/dist/v2/features/operation/Operation.vue.js.map +1 -1
- package/dist/v2/features/operation/Operation.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/v2/features/search/components/DocumentSearchModal.vue.js +2 -3
- package/dist/v2/features/search/components/DocumentSearchModal.vue.js.map +1 -1
- package/dist/v2/features/search/components/DocumentSearchModal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/features/search/components/SearchResult.vue.js +1 -2
- package/dist/v2/features/search/components/SearchResult.vue.js.map +1 -1
- package/dist/v2/features/search/components/SearchResult.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/v2/features/search/components/SearchResult.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/v2/features/search/helpers/create-fuse-instance.js +1 -2
- package/dist/v2/features/search/helpers/create-search-index.js +1 -2
- package/dist/v2/features/search/hooks/use-document-search.js +1 -2
- package/dist/v2/features/search/hooks/use-search-index.js +1 -2
- package/dist/v2/features/search/index.js +1 -1
- package/dist/v2/helpers/generate-location-id.js +1 -2
- package/dist/v2/helpers/handle-hotkeys.js +1 -2
- package/dist/v2/helpers/test-utils.js +1 -2
- package/dist/v2/hooks/use-global-hot-keys.js +1 -2
- package/dist/v2/hooks/use-scroll-lock.js +1 -2
- package/dist/v2/workspace-events.js +1 -2
- package/dist/vue-styles.css +130 -130
- package/package.json +29 -28
|
@@ -6,7 +6,7 @@ import { ScalarModal } from "@scalar/components/modal";
|
|
|
6
6
|
import { nanoid } from "nanoid";
|
|
7
7
|
import { ScalarSearchInput } from "@scalar/components/search-input";
|
|
8
8
|
import { ScalarSearchResultList } from "@scalar/components/search-results";
|
|
9
|
-
|
|
9
|
+
// src/v2/features/search/components/DocumentSearchModal.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var _hoisted_1 = {
|
|
11
11
|
class: "mb-0 flex flex-col",
|
|
12
12
|
role: "search"
|
|
@@ -123,7 +123,6 @@ var DocumentSearchModal_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
|
-
//#endregion
|
|
127
126
|
export { DocumentSearchModal_vue_vue_type_script_setup_true_lang_default as default };
|
|
128
127
|
|
|
129
128
|
//# sourceMappingURL=DocumentSearchModal.vue_vue_type_script_setup_true_lang.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import SearchResult_vue_vue_type_script_setup_true_lang_default from "./SearchResult.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
-
|
|
2
|
+
// src/v2/features/search/components/SearchResult.vue
|
|
3
3
|
var SearchResult_default = SearchResult_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
-
//#endregion
|
|
5
4
|
export { SearchResult_default as default };
|
|
6
5
|
|
|
7
6
|
//# sourceMappingURL=SearchResult.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchResult.vue.js","names":[
|
|
1
|
+
{"version":3,"file":"SearchResult.vue.js","names":[],"sources":[],"mappings":""}
|
package/dist/v2/features/search/components/SearchResult.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -3,7 +3,7 @@ import { computed, createBlock, createElementVNode, createSlots, createTextVNode
|
|
|
3
3
|
import { ScalarIconTag, ScalarIconTerminalWindow, ScalarIconTextAlignLeft } from "@scalar/icons";
|
|
4
4
|
import { HttpMethod } from "@scalar/sidebar";
|
|
5
5
|
import { ScalarSearchResultItem } from "@scalar/components/search-results";
|
|
6
|
-
|
|
6
|
+
// src/v2/features/search/components/SearchResult.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = { class: "sr-only" };
|
|
8
8
|
var _hoisted_2 = { class: "inline-flex items-center gap-1" };
|
|
9
9
|
var _hoisted_3 = { class: "sr-only" };
|
|
@@ -69,7 +69,6 @@ var SearchResult_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
|
-
//#endregion
|
|
73
72
|
export { SearchResult_vue_vue_type_script_setup_true_lang_default as default };
|
|
74
73
|
|
|
75
74
|
//# sourceMappingURL=SearchResult.vue_vue_type_script_setup_true_lang.js.map
|
package/dist/v2/features/search/components/SearchResult.vue_vue_type_script_setup_true_lang.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchResult.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createBlock","_unref","
|
|
1
|
+
{"version":3,"file":"SearchResult.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createBlock","_unref","_withCtx","_createElementVNode","_toDisplayString","_createTextVNode","_createVNode"],"sources":["../../../../../src/v2/features/search/components/SearchResult.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarSearchResultItem } from '@scalar/components/search-results'\nimport {\n ScalarIconTag,\n ScalarIconTerminalWindow,\n ScalarIconTextAlignLeft,\n} from '@scalar/icons'\nimport type { ScalarIconComponent } from '@scalar/icons/types'\nimport { HttpMethod } from '@scalar/sidebar'\nimport type { FuseResult } from 'fuse.js'\nimport { computed } from 'vue'\n\nimport { useLocalization } from '@/v2/features/localization'\nimport type { FuseData } from '@/v2/features/search/types'\n\ndefineProps<{\n id: string\n isSelected: boolean\n result: FuseResult<FuseData>\n}>()\n\nconst { translate } = useLocalization()\n\n/**\n * Icon used for each search result type. Operations use the terminal glyph to\n * match the sidebar's operation indicator, tags and headings use their closest\n * semantic equivalents.\n */\nconst ENTRY_ICONS: { [x in FuseData['type']]: ScalarIconComponent } = {\n heading: ScalarIconTextAlignLeft,\n operation: ScalarIconTerminalWindow,\n tag: ScalarIconTag,\n}\n\nconst ENTRY_LABELS = computed(() => ({\n heading: translate('apiClient.searchResult.heading'),\n operation: translate('apiClient.searchResult.operation'),\n tag: translate('apiClient.searchResult.tag'),\n}))\n</script>\n\n<template>\n <ScalarSearchResultItem\n :id=\"id\"\n :icon=\"ENTRY_ICONS[result.item.type]\"\n :selected=\"isSelected\">\n <span>\n <span class=\"sr-only\">{{ ENTRY_LABELS[result.item.type] }}: </span>\n {{ result.item.title }}\n <span class=\"sr-only\">,</span>\n </span>\n <template\n v-if=\"\n result.item.type === 'operation' &&\n (result.item.method || result.item.path) &&\n result.item.path !== result.item.title\n \"\n #description>\n <span class=\"inline-flex items-center gap-1\">\n <HttpMethod\n aria-hidden=\"true\"\n :method=\"result.item.method ?? 'get'\" />\n <span class=\"sr-only\"\n >{{ translate('apiClient.searchResult.httpMethod') }}\n {{ result.item.method ?? 'get' }}\n </span>\n <span class=\"sr-only\">{{\n translate('apiClient.searchResult.path')\n }}</span>\n {{ result.item.path }}\n </span>\n </template>\n <template\n v-else-if=\"result.item.description\"\n #description>\n <span class=\"sr-only\">{{\n translate('apiClient.searchResult.description')\n }}</span>\n {{ result.item.description }}\n </template>\n </ScalarSearchResultItem>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;EAqBA,MAAM,EAAE,cAAc,gBAAgB;;;;;;EAOtC,MAAM,cAAgE;GACpE,SAAS;GACT,WAAW;GACX,KAAK;EACP;EAEA,MAAM,eAAe,gBAAgB;GACnC,SAAS,UAAU,gCAAgC;GACnD,WAAW,UAAU,kCAAkC;GACvD,KAAK,UAAU,4BAA4B;EAC7C,EAAE;;GAIA,OAAAA,UAAA,GAAAC,YAsCyBC,MAAA,sBAAA,GAAA;IArCtB,IAAI,QAAA;IACJ,MAAM,YAAY,QAAA,OAAO,KAAK;IAC9B,UAAU,QAAA;;IACX,SAAAC,cAIO,CAJPC,mBAIO,QAAA,MAAA;KAHLA,mBAAwE,QAAxE,YAAwEC,gBAA/C,aAAA,MAAa,QAAA,OAAO,KAAK,KAAI,IAAI,SAAO,CAAA;KAAOC,gBAAA,MACxED,gBAAG,QAAA,OAAO,KAAK,KAAK,IAAG,KACvB,CAAA;KAAA,OAAA,OAAA,OAAA,KAAAD,mBAA8B,QAAA,EAAxB,OAAM,UAAS,GAAC,KAAC,EAAA;;;G,IAGR,QAAA,OAAO,KAAK,SAAI,gBAA6B,QAAA,OAAO,KAAK,UAAU,QAAA,OAAO,KAAK,SAAiB,QAAA,OAAO,KAAK,SAAS,QAAA,OAAO,KAAK,Q;IAK/I,MAAA;IACD,IAAAD,cAYO,CAZPC,mBAYO,QAZP,YAYO;KAXLG,YAE0CL,MAAA,UAAA,GAAA;MADxC,eAAY;MACX,QAAQ,QAAA,OAAO,KAAK,UAAM;;KAC7BE,mBAGO,QAHP,YAGOC,gBAFDH,MAAA,SAAA,CAAS,CAAA,mCAAA,CAAA,IAAwC,MACrDG,gBAAG,QAAA,OAAO,KAAK,UAAM,KAAA,GAAA,CAAA;KAEvBD,mBAES,QAFT,YAESC,gBADPH,MAAA,SAAA,CAAS,CAAA,6BAAA,CAAA,GAAA,CAAA;KACFI,gBAAA,MACTD,gBAAG,QAAA,OAAO,KAAK,IAAI,GAAA,CAAA;;;G,IAIV,QAAA,OAAO,KAAK,c;IACtB,MAAA;IACD,IAAAF,cAES,CAFTC,mBAES,QAFT,YAESC,gBADPH,MAAA,SAAA,CAAS,CAAA,oCAAA,CAAA,GAAA,CAAA,GACFI,gBAAA,MACTD,gBAAG,QAAA,OAAO,KAAK,WAAW,GAAA,CAAA,C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Fuse from "fuse.js";
|
|
2
|
-
|
|
2
|
+
// src/v2/features/search/helpers/create-fuse-instance.ts
|
|
3
3
|
/**
|
|
4
4
|
* Create a Fuse instance for searching the API reference.
|
|
5
5
|
*
|
|
@@ -46,7 +46,6 @@ function createFuseInstance() {
|
|
|
46
46
|
findAllMatches: true
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
//#endregion
|
|
50
49
|
export { createFuseInstance };
|
|
51
50
|
|
|
52
51
|
//# sourceMappingURL=create-fuse-instance.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getResolvedRef } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
2
2
|
import { getPathItemOperation } from "@scalar/workspace-store/helpers/for-each-path-item-operation";
|
|
3
|
-
|
|
3
|
+
// src/v2/features/search/helpers/create-search-index.ts
|
|
4
4
|
/**
|
|
5
5
|
* Create a search index from a list of entries.
|
|
6
6
|
*/
|
|
@@ -71,7 +71,6 @@ function addEntryToIndex(entry, index, document) {
|
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
//#endregion
|
|
75
74
|
export { createSearchIndex };
|
|
76
75
|
|
|
77
76
|
//# sourceMappingURL=create-search-index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createFuseInstance } from "../helpers/create-fuse-instance.js";
|
|
2
2
|
import { createSearchIndex } from "../helpers/create-search-index.js";
|
|
3
3
|
import { computed, ref, toValue } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/v2/features/search/hooks/use-document-search.ts
|
|
5
5
|
var MAX_SEARCH_RESULTS = 25;
|
|
6
6
|
/**
|
|
7
7
|
* Fuzzy search scoped to a single OpenAPI document.
|
|
@@ -36,7 +36,6 @@ function useDocumentSearch(document) {
|
|
|
36
36
|
query
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
//#endregion
|
|
40
39
|
export { useDocumentSearch };
|
|
41
40
|
|
|
42
41
|
//# sourceMappingURL=use-document-search.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createFuseInstance } from "../helpers/create-fuse-instance.js";
|
|
2
2
|
import { createSearchIndex } from "../helpers/create-search-index.js";
|
|
3
3
|
import { computed, ref, toValue } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/v2/features/search/hooks/use-search-index.ts
|
|
5
5
|
var MAX_SEARCH_RESULTS = 25;
|
|
6
6
|
/**
|
|
7
7
|
* Creates the search index from multiple OpenAPI documents
|
|
@@ -25,7 +25,6 @@ var useSearchIndex = (documents) => {
|
|
|
25
25
|
query
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { useSearchIndex };
|
|
30
29
|
|
|
31
30
|
//# sourceMappingURL=use-search-index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useDocumentSearch } from "./hooks/use-document-search.js";
|
|
2
1
|
import DocumentSearchModal_default from "./components/DocumentSearchModal.vue.js";
|
|
2
|
+
import { useDocumentSearch } from "./hooks/use-document-search.js";
|
|
3
3
|
import { useSearchIndex } from "./hooks/use-search-index.js";
|
|
4
4
|
export { DocumentSearchModal_default as DocumentSearchModal, useDocumentSearch, useSearchIndex };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isDefined } from "@scalar/helpers/array/is-defined";
|
|
2
|
-
|
|
2
|
+
// src/v2/helpers/generate-location-id.ts
|
|
3
3
|
/**
|
|
4
4
|
* Generates a unique string ID for an API location, based on the document, path, method, and example.
|
|
5
5
|
* Filters out undefined values and serializes the composite array into a stable string.
|
|
@@ -20,7 +20,6 @@ var generateLocationId = ({ document, path, method, example, isWebhook = false }
|
|
|
20
20
|
example
|
|
21
21
|
].filter(isDefined));
|
|
22
22
|
};
|
|
23
|
-
//#endregion
|
|
24
23
|
export { generateLocationId };
|
|
25
24
|
|
|
26
25
|
//# sourceMappingURL=generate-location-id.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isMacOS } from "@scalar/helpers/general/is-mac-os";
|
|
2
|
-
|
|
2
|
+
// src/v2/helpers/handle-hotkeys.ts
|
|
3
3
|
/** Default hotkeys available in most contexts */
|
|
4
4
|
var DEFAULT_HOTKEYS = {
|
|
5
5
|
Enter: {
|
|
@@ -156,7 +156,6 @@ var handleHotkeys = (event, eventBus, layout) => {
|
|
|
156
156
|
if (hotkeyEvent.modifiers.length > 0) return;
|
|
157
157
|
if (!isEditableElement(event, key)) eventBus.emit(hotkeyEvent.event, payload, { skipUnpackProxy: true });
|
|
158
158
|
};
|
|
159
|
-
//#endregion
|
|
160
159
|
export { handleHotkeys };
|
|
161
160
|
|
|
162
161
|
//# sourceMappingURL=handle-hotkeys.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { vi } from "vitest";
|
|
2
|
-
|
|
2
|
+
// src/v2/helpers/test-utils.ts
|
|
3
3
|
/** Creates a fresh mock event bus instance for testing */
|
|
4
4
|
var createMockEventBus = () => ({
|
|
5
5
|
on: vi.fn(() => vi.fn()),
|
|
@@ -12,7 +12,6 @@ var createMockEventBus = () => ({
|
|
|
12
12
|
});
|
|
13
13
|
/** Mock event bus for all your testing needs */
|
|
14
14
|
var mockEventBus = createMockEventBus();
|
|
15
|
-
//#endregion
|
|
16
15
|
export { createMockEventBus, mockEventBus };
|
|
17
16
|
|
|
18
17
|
//# sourceMappingURL=test-utils.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { handleHotkeys } from "../helpers/handle-hotkeys.js";
|
|
2
2
|
import { onBeforeUnmount, onMounted, toValue } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/v2/hooks/use-global-hot-keys.ts
|
|
4
4
|
/**
|
|
5
5
|
* Global hotkey handler for the app (web + desktop)
|
|
6
6
|
*
|
|
@@ -16,7 +16,6 @@ var useGlobalHotKeys = (eventBus, layout, disableListeners) => {
|
|
|
16
16
|
onMounted(() => window.addEventListener("keydown", handleKeyDown));
|
|
17
17
|
onBeforeUnmount(() => window.removeEventListener("keydown", handleKeyDown));
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
19
|
export { useGlobalHotKeys };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=use-global-hot-keys.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, onBeforeUnmount, ref, toValue } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/v2/hooks/use-scroll-lock.ts
|
|
3
3
|
/**
|
|
4
4
|
* useScrollLock - A Vue composition function to lock and unlock scrolling on a specific element.
|
|
5
5
|
*
|
|
@@ -52,7 +52,6 @@ var useScrollLock = (element) => {
|
|
|
52
52
|
});
|
|
53
53
|
return state;
|
|
54
54
|
};
|
|
55
|
-
//#endregion
|
|
56
55
|
export { useScrollLock };
|
|
57
56
|
|
|
58
57
|
//# sourceMappingURL=use-scroll-lock.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
2
|
import { generateClientMutators } from "@scalar/workspace-store/mutators";
|
|
3
|
-
|
|
3
|
+
// src/v2/workspace-events.ts
|
|
4
4
|
/**
|
|
5
5
|
* Wraps a given function with optional before/after execution hooks for a specific event.
|
|
6
6
|
* - Calls onBeforeExecute hook before executing the main function.
|
|
@@ -118,7 +118,6 @@ function initializeWorkspaceEventHandlers({ eventBus: bus, store, hooks, getConf
|
|
|
118
118
|
eventBus.on("hooks:on:request:complete", (payload) => withHook("hooks:on:request:complete", mutators.value.active().operation.addResponseToHistory, hooks)(payload));
|
|
119
119
|
return () => subscriptions.splice(0).forEach((unsubscribe) => unsubscribe());
|
|
120
120
|
}
|
|
121
|
-
//#endregion
|
|
122
121
|
export { initializeWorkspaceEventHandlers };
|
|
123
122
|
|
|
124
123
|
//# sourceMappingURL=workspace-events.js.map
|
package/dist/vue-styles.css
CHANGED
|
@@ -156,6 +156,110 @@ to {
|
|
|
156
156
|
display: none;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
+
.code-input-lite[data-v-5e6007a2] {
|
|
160
|
+
/* Flex so the editor centres vertically in whatever height the cell gives us.
|
|
161
|
+
Font properties inherit so we adopt the surrounding typography. */
|
|
162
|
+
display: flex;
|
|
163
|
+
align-items: center;
|
|
164
|
+
}
|
|
165
|
+
.code-input-lite__editor[data-v-5e6007a2] {
|
|
166
|
+
/* Everything font-related inherits from the surrounding context. */
|
|
167
|
+
font: inherit;
|
|
168
|
+
letter-spacing: inherit;
|
|
169
|
+
flex: 1;
|
|
170
|
+
min-width: 0;
|
|
171
|
+
background: transparent;
|
|
172
|
+
outline: none;
|
|
173
|
+
color: var(--scalar-color-1);
|
|
174
|
+
caret-color: var(--scalar-color-1);
|
|
175
|
+
/* Single-line: horizontal scroll keeps the caret visible for long values;
|
|
176
|
+
the scrollbar itself is hidden (would be noisy inside a table cell). */
|
|
177
|
+
white-space: pre;
|
|
178
|
+
overflow-x: auto;
|
|
179
|
+
overflow-y: hidden;
|
|
180
|
+
scrollbar-width: none;
|
|
181
|
+
padding: 0 0.5em;
|
|
182
|
+
box-sizing: border-box;
|
|
183
|
+
line-height: 1.44;
|
|
184
|
+
/* Positioning context for the absolutely positioned placeholder. */
|
|
185
|
+
position: relative;
|
|
186
|
+
}
|
|
187
|
+
.code-input-lite__editor[data-v-5e6007a2]::-webkit-scrollbar {
|
|
188
|
+
display: none;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Absolute so the placeholder does not occupy flow space inside the
|
|
192
|
+
contenteditable; otherwise the caret would land after it on focus.
|
|
193
|
+
`pointer-events: none` lets clicks fall through to focus the editor.
|
|
194
|
+
Hidden on focus so it never renders on top of the text caret. */
|
|
195
|
+
.code-input-lite--empty .code-input-lite__editor[data-v-5e6007a2]:not(:focus)::before {
|
|
196
|
+
content: attr(data-placeholder);
|
|
197
|
+
color: var(--scalar-color-3);
|
|
198
|
+
pointer-events: none;
|
|
199
|
+
position: absolute;
|
|
200
|
+
top: 0;
|
|
201
|
+
bottom: 0;
|
|
202
|
+
left: 0.5em;
|
|
203
|
+
display: flex;
|
|
204
|
+
align-items: center;
|
|
205
|
+
}
|
|
206
|
+
.code-input-lite--error .code-input-lite__editor[data-v-5e6007a2] {
|
|
207
|
+
outline: 1px solid var(--scalar-color-red);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* Pill styling. Each pill is `<span contenteditable="false">name</span>` —
|
|
211
|
+
an atomic widget; the caret lands before or after it, never inside. */
|
|
212
|
+
.scalar-pill {
|
|
213
|
+
color: var(--scalar-color-2);
|
|
214
|
+
border-radius: var(--scalar-radius-full);
|
|
215
|
+
display: inline-block;
|
|
216
|
+
font-family: var(--scalar-font-code);
|
|
217
|
+
font-size: 0.9em;
|
|
218
|
+
line-height: 1.4;
|
|
219
|
+
vertical-align: baseline;
|
|
220
|
+
background: var(--scalar-background-3);
|
|
221
|
+
padding: 0.125em 0.6em;
|
|
222
|
+
margin-right: 0.35em;
|
|
223
|
+
cursor: text;
|
|
224
|
+
/* Single click selects the whole pill — chip/mention model, deletes in one go. */
|
|
225
|
+
user-select: all;
|
|
226
|
+
-webkit-user-select: all;
|
|
227
|
+
}
|
|
228
|
+
.dark-mode .scalar-pill {
|
|
229
|
+
background: color-mix(
|
|
230
|
+
in srgb,
|
|
231
|
+
var(--tw-bg-base, var(--scalar-color-1)),
|
|
232
|
+
transparent 90%
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
.light-mode .scalar-pill {
|
|
236
|
+
background: var(--scalar-background-3);
|
|
237
|
+
}
|
|
238
|
+
.scalar-pill--context-fn {
|
|
239
|
+
/* Inset box-shadow as a border so the layout box stays identical to plain pills. */
|
|
240
|
+
box-shadow: 0 0 0 1px
|
|
241
|
+
color-mix(in srgb, var(--scalar-color-3), transparent 35%) inset;
|
|
242
|
+
}
|
|
243
|
+
.dark-mode .scalar-pill--context-fn {
|
|
244
|
+
background: color-mix(in srgb, var(--scalar-background-3), transparent 55%);
|
|
245
|
+
}
|
|
246
|
+
.light-mode .scalar-pill--context-fn {
|
|
247
|
+
background: color-mix(in srgb, var(--scalar-background-3), transparent 40%);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
[data-v-81035f01] .code-input-lite__editor {
|
|
251
|
+
background-color: transparent;
|
|
252
|
+
font-family: var(--scalar-font);
|
|
253
|
+
font-size: var(--scalar-small);
|
|
254
|
+
padding: 5px 8px;
|
|
255
|
+
}
|
|
256
|
+
[data-v-81035f01] .scalar-pill:not(:last-of-type) {
|
|
257
|
+
margin-right: 0.15em;
|
|
258
|
+
}
|
|
259
|
+
[data-v-81035f01] .scalar-pill:not(:first-of-type) {
|
|
260
|
+
margin-left: 0.5px;
|
|
261
|
+
}
|
|
262
|
+
|
|
159
263
|
/*
|
|
160
264
|
Deep styling for customizing Codemirror
|
|
161
265
|
*/
|
|
@@ -325,112 +429,30 @@ to {
|
|
|
325
429
|
color: var(--scalar-color-1);
|
|
326
430
|
}
|
|
327
431
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
Font properties inherit so we adopt the surrounding typography. */
|
|
331
|
-
display: flex;
|
|
332
|
-
align-items: center;
|
|
333
|
-
}
|
|
334
|
-
.code-input-lite__editor[data-v-5e6007a2] {
|
|
335
|
-
/* Everything font-related inherits from the surrounding context. */
|
|
336
|
-
font: inherit;
|
|
337
|
-
letter-spacing: inherit;
|
|
338
|
-
flex: 1;
|
|
339
|
-
min-width: 0;
|
|
340
|
-
background: transparent;
|
|
341
|
-
outline: none;
|
|
342
|
-
color: var(--scalar-color-1);
|
|
343
|
-
caret-color: var(--scalar-color-1);
|
|
344
|
-
/* Single-line: horizontal scroll keeps the caret visible for long values;
|
|
345
|
-
the scrollbar itself is hidden (would be noisy inside a table cell). */
|
|
346
|
-
white-space: pre;
|
|
347
|
-
overflow-x: auto;
|
|
348
|
-
overflow-y: hidden;
|
|
349
|
-
scrollbar-width: none;
|
|
350
|
-
padding: 0 0.5em;
|
|
351
|
-
box-sizing: border-box;
|
|
352
|
-
line-height: 1.44;
|
|
353
|
-
/* Positioning context for the absolutely positioned placeholder. */
|
|
354
|
-
position: relative;
|
|
355
|
-
}
|
|
356
|
-
.code-input-lite__editor[data-v-5e6007a2]::-webkit-scrollbar {
|
|
357
|
-
display: none;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/* Absolute so the placeholder does not occupy flow space inside the
|
|
361
|
-
contenteditable; otherwise the caret would land after it on focus.
|
|
362
|
-
`pointer-events: none` lets clicks fall through to focus the editor.
|
|
363
|
-
Hidden on focus so it never renders on top of the text caret. */
|
|
364
|
-
.code-input-lite--empty .code-input-lite__editor[data-v-5e6007a2]:not(:focus)::before {
|
|
365
|
-
content: attr(data-placeholder);
|
|
366
|
-
color: var(--scalar-color-3);
|
|
367
|
-
pointer-events: none;
|
|
368
|
-
position: absolute;
|
|
369
|
-
top: 0;
|
|
370
|
-
bottom: 0;
|
|
371
|
-
left: 0.5em;
|
|
372
|
-
display: flex;
|
|
373
|
-
align-items: center;
|
|
374
|
-
}
|
|
375
|
-
.code-input-lite--error .code-input-lite__editor[data-v-5e6007a2] {
|
|
376
|
-
outline: 1px solid var(--scalar-color-red);
|
|
432
|
+
[data-v-350a81a0] .cm-content {
|
|
433
|
+
font-size: var(--scalar-small);
|
|
377
434
|
}
|
|
378
435
|
|
|
379
|
-
/*
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
color: var(--scalar-color-2);
|
|
383
|
-
border-radius: var(--scalar-radius-full);
|
|
384
|
-
display: inline-block;
|
|
385
|
-
font-family: var(--scalar-font-code);
|
|
386
|
-
font-size: 0.9em;
|
|
387
|
-
line-height: 1.4;
|
|
388
|
-
vertical-align: baseline;
|
|
389
|
-
background: var(--scalar-background-3);
|
|
390
|
-
padding: 0.125em 0.6em;
|
|
391
|
-
margin-right: 0.35em;
|
|
392
|
-
cursor: text;
|
|
393
|
-
/* Single click selects the whole pill — chip/mention model, deletes in one go. */
|
|
394
|
-
user-select: all;
|
|
395
|
-
-webkit-user-select: all;
|
|
396
|
-
}
|
|
397
|
-
.dark-mode .scalar-pill {
|
|
398
|
-
background: color-mix(
|
|
436
|
+
/* Matches AddressBar.vue `.address-bar-bg-states` / `.fade-right` (header URL input). */
|
|
437
|
+
.oauth-scope-row-action-rail {
|
|
438
|
+
--oauth-scope-row-rail-bg: color-mix(
|
|
399
439
|
in srgb,
|
|
400
|
-
var(--
|
|
401
|
-
|
|
440
|
+
var(--scalar-background-1),
|
|
441
|
+
var(--scalar-background-2)
|
|
442
|
+
);
|
|
443
|
+
background: linear-gradient(
|
|
444
|
+
90deg,
|
|
445
|
+
color-mix(in srgb, var(--oauth-scope-row-rail-bg), transparent 100%) 0%,
|
|
446
|
+
color-mix(in srgb, var(--oauth-scope-row-rail-bg), transparent 20%) 30%,
|
|
447
|
+
var(--oauth-scope-row-rail-bg) 100%
|
|
402
448
|
);
|
|
403
449
|
}
|
|
404
|
-
.
|
|
405
|
-
|
|
406
|
-
}
|
|
407
|
-
.scalar-pill--context-fn {
|
|
408
|
-
/* Inset box-shadow as a border so the layout box stays identical to plain pills. */
|
|
409
|
-
box-shadow: 0 0 0 1px
|
|
410
|
-
color-mix(in srgb, var(--scalar-color-3), transparent 35%) inset;
|
|
411
|
-
}
|
|
412
|
-
.dark-mode .scalar-pill--context-fn {
|
|
413
|
-
background: color-mix(in srgb, var(--scalar-background-3), transparent 55%);
|
|
414
|
-
}
|
|
415
|
-
.light-mode .scalar-pill--context-fn {
|
|
416
|
-
background: color-mix(in srgb, var(--scalar-background-3), transparent 40%);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
[data-v-81035f01] .code-input-lite__editor {
|
|
420
|
-
background-color: transparent;
|
|
421
|
-
font-family: var(--scalar-font);
|
|
422
|
-
font-size: var(--scalar-small);
|
|
423
|
-
padding: 5px 8px;
|
|
424
|
-
}
|
|
425
|
-
[data-v-81035f01] .scalar-pill:not(:last-of-type) {
|
|
426
|
-
margin-right: 0.15em;
|
|
427
|
-
}
|
|
428
|
-
[data-v-81035f01] .scalar-pill:not(:first-of-type) {
|
|
429
|
-
margin-left: 0.5px;
|
|
450
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
451
|
+
display: none;
|
|
430
452
|
}
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
453
|
+
.no-scrollbar {
|
|
454
|
+
-ms-overflow-style: none;
|
|
455
|
+
scrollbar-width: none;
|
|
434
456
|
}
|
|
435
457
|
|
|
436
458
|
[data-v-029a43f5] .code-input-lite__editor {
|
|
@@ -456,42 +478,20 @@ input[data-v-029a43f5]::placeholder {
|
|
|
456
478
|
-moz-text-security: disc;
|
|
457
479
|
}
|
|
458
480
|
|
|
459
|
-
|
|
460
|
-
.oauth-scope-row-action-rail {
|
|
461
|
-
--oauth-scope-row-rail-bg: color-mix(
|
|
462
|
-
in srgb,
|
|
463
|
-
var(--scalar-background-1),
|
|
464
|
-
var(--scalar-background-2)
|
|
465
|
-
);
|
|
466
|
-
background: linear-gradient(
|
|
467
|
-
90deg,
|
|
468
|
-
color-mix(in srgb, var(--oauth-scope-row-rail-bg), transparent 100%) 0%,
|
|
469
|
-
color-mix(in srgb, var(--oauth-scope-row-rail-bg), transparent 20%) 30%,
|
|
470
|
-
var(--oauth-scope-row-rail-bg) 100%
|
|
471
|
-
);
|
|
472
|
-
}
|
|
473
|
-
.no-scrollbar::-webkit-scrollbar {
|
|
474
|
-
display: none;
|
|
475
|
-
}
|
|
476
|
-
.no-scrollbar {
|
|
477
|
-
-ms-overflow-style: none;
|
|
478
|
-
scrollbar-width: none;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
.request-section-content[data-v-38a212df] {
|
|
481
|
+
.request-section-content[data-v-66ef987b] {
|
|
482
482
|
--scalar-border-width: 0.5px;
|
|
483
483
|
}
|
|
484
|
-
.request-section-content-filter[data-v-
|
|
484
|
+
.request-section-content-filter[data-v-66ef987b] {
|
|
485
485
|
box-shadow: 0 -10px 0 10px var(--scalar-background-1);
|
|
486
486
|
}
|
|
487
|
-
.request-item:focus-within .request-meta-buttons[data-v-
|
|
487
|
+
.request-item:focus-within .request-meta-buttons[data-v-66ef987b] {
|
|
488
488
|
opacity: 1;
|
|
489
489
|
}
|
|
490
|
-
.group-hover-input[data-v-
|
|
490
|
+
.group-hover-input[data-v-66ef987b] {
|
|
491
491
|
border-width: var(--scalar-border-width);
|
|
492
492
|
border-color: transparent;
|
|
493
493
|
}
|
|
494
|
-
.group:hover .group-hover-input[data-v-
|
|
494
|
+
.group:hover .group-hover-input[data-v-66ef987b] {
|
|
495
495
|
background: color-mix(
|
|
496
496
|
in srgb,
|
|
497
497
|
var(--scalar-background-1),
|
|
@@ -499,7 +499,7 @@ input[data-v-029a43f5]::placeholder {
|
|
|
499
499
|
);
|
|
500
500
|
border-color: var(--scalar-border-color);
|
|
501
501
|
}
|
|
502
|
-
.group-hover-input[data-v-
|
|
502
|
+
.group-hover-input[data-v-66ef987b]:focus {
|
|
503
503
|
background: transparent !important;
|
|
504
504
|
border-color: var(--scalar-border-color) !important;
|
|
505
505
|
}
|
|
@@ -710,7 +710,7 @@ to {
|
|
|
710
710
|
.app-exit-button[data-v-6fb4c4d5]:hover {
|
|
711
711
|
background: rgba(255, 255, 255, 0.1);
|
|
712
712
|
}
|
|
713
|
-
/*! tailwindcss v4.3.
|
|
713
|
+
/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
|
|
714
714
|
[data-radix-popper-content-wrapper]:has(.scalar-api-client-context-menu) {
|
|
715
715
|
z-index: 1000 !important;
|
|
716
716
|
}
|
|
@@ -797,7 +797,7 @@ to {
|
|
|
797
797
|
[data-v-4b7f675d] .scalar-pill:not(:first-of-type) {
|
|
798
798
|
margin-left: 0.5px;
|
|
799
799
|
}
|
|
800
|
-
/*! tailwindcss v4.3.
|
|
800
|
+
/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
|
|
801
801
|
.scalar .scalar-app-layout[data-v-44c68ca5] {
|
|
802
802
|
background: var(--scalar-background-1);
|
|
803
803
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "3.
|
|
21
|
+
"version": "3.28.0",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=22"
|
|
24
24
|
},
|
|
@@ -305,48 +305,49 @@
|
|
|
305
305
|
"dependencies": {
|
|
306
306
|
"@headlessui/tailwindcss": "^0.2.2",
|
|
307
307
|
"@headlessui/vue": "1.7.23",
|
|
308
|
-
"@
|
|
309
|
-
"@scalar/
|
|
310
|
-
"@scalar/
|
|
311
|
-
"@scalar/
|
|
312
|
-
"@scalar/
|
|
313
|
-
"@scalar/
|
|
308
|
+
"@internationalized/date": "3.5.4",
|
|
309
|
+
"@scalar/blocks": "0.8.0",
|
|
310
|
+
"@scalar/components": "0.35.3",
|
|
311
|
+
"@scalar/helpers": "0.19.0",
|
|
312
|
+
"@scalar/icons": "0.7.11",
|
|
313
|
+
"@scalar/localization": "0.2.15",
|
|
314
|
+
"@scalar/oas-utils": "0.20.25",
|
|
314
315
|
"@scalar/openapi-types": "0.9.10",
|
|
315
|
-
"@scalar/sidebar": "0.
|
|
316
|
-
"@scalar/snippetz": "0.10.
|
|
317
|
-
"@scalar/themes": "0.20.
|
|
318
|
-
"@scalar/types": "0.
|
|
319
|
-
"@scalar/use-codemirror": "0.14.
|
|
320
|
-
"@scalar/use-hooks": "0.4.
|
|
321
|
-
"@scalar/use-toasts": "0.10.
|
|
316
|
+
"@scalar/sidebar": "0.13.0",
|
|
317
|
+
"@scalar/snippetz": "0.10.21",
|
|
318
|
+
"@scalar/themes": "0.20.3",
|
|
319
|
+
"@scalar/types": "0.31.0",
|
|
320
|
+
"@scalar/use-codemirror": "0.14.20",
|
|
321
|
+
"@scalar/use-hooks": "0.4.29",
|
|
322
|
+
"@scalar/use-toasts": "0.10.9",
|
|
322
323
|
"@scalar/validation": "0.6.9",
|
|
323
|
-
"@scalar/workspace-store": "0.
|
|
324
|
+
"@scalar/workspace-store": "0.75.0",
|
|
324
325
|
"@vueuse/core": "15.0.0",
|
|
325
326
|
"@vueuse/integrations": "15.0.0",
|
|
326
|
-
"focus-trap": "^8.2.
|
|
327
|
+
"focus-trap": "^8.2.5",
|
|
327
328
|
"fuse.js": "^7.5.0",
|
|
328
|
-
"js-base64": "^3.9.
|
|
329
|
+
"js-base64": "^3.9.6",
|
|
329
330
|
"jsonc-parser": "3.3.1",
|
|
330
331
|
"nanoid": "^5.1.16",
|
|
331
332
|
"pretty-ms": "^10.0.0",
|
|
332
333
|
"radix-vue": "^1.9.17",
|
|
333
|
-
"set-cookie-parser": "3.
|
|
334
|
-
"vue": "^3.5.
|
|
334
|
+
"set-cookie-parser": "3.2.2",
|
|
335
|
+
"vue": "^3.5.45",
|
|
335
336
|
"yaml": "^2.9.1",
|
|
336
337
|
"zod": "^4.6.7"
|
|
337
338
|
},
|
|
338
339
|
"devDependencies": {
|
|
339
|
-
"@tailwindcss/cli": "^4.3.
|
|
340
|
-
"@tailwindcss/vite": "^4.3.
|
|
341
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
342
|
-
"@vue/test-utils": "2.
|
|
343
|
-
"fake-indexeddb": "6.2.
|
|
340
|
+
"@tailwindcss/cli": "^4.3.5",
|
|
341
|
+
"@tailwindcss/vite": "^4.3.5",
|
|
342
|
+
"@vitejs/plugin-vue": "^6.0.11",
|
|
343
|
+
"@vue/test-utils": "2.6.0",
|
|
344
|
+
"fake-indexeddb": "6.2.8",
|
|
344
345
|
"jsdom": "30.1.3",
|
|
345
|
-
"posthog-js": "1.
|
|
346
|
-
"tailwindcss": "^4.3.
|
|
347
|
-
"vite": "8.3.
|
|
346
|
+
"posthog-js": "1.450.0",
|
|
347
|
+
"tailwindcss": "^4.3.5",
|
|
348
|
+
"vite": "8.3.8",
|
|
348
349
|
"vite-svg-loader": "5.1.3",
|
|
349
|
-
"vitest": "5.0
|
|
350
|
+
"vitest": "5.1.0"
|
|
350
351
|
},
|
|
351
352
|
"scripts": {
|
|
352
353
|
"build": "vite build && pnpm build:styles && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|