@scalar/api-reference 1.34.6 → 1.35.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 +51 -0
- package/dist/browser/standalone.js +30660 -30580
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/Anchor.vue.d.ts +6 -11
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/components/Anchor/WithBreadcrumb.vue.d.ts +11 -13
- package/dist/components/Anchor/WithBreadcrumb.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.d.ts +14 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +24 -10
- package/dist/components/ApiReferenceLayout.vue.d.ts +7 -31
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +179 -191
- package/dist/components/Badge/Badge.vue.d.ts +6 -11
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/ClassicHeader.vue.d.ts +8 -12
- package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +1 -3
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/index.d.ts +1 -1
- package/dist/components/Content/Content.vue.d.ts +9 -12
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +180 -36
- package/dist/components/Content/IntroductionSection.vue.d.ts +18 -0
- package/dist/components/Content/IntroductionSection.vue.d.ts.map +1 -0
- package/dist/components/Content/IntroductionSection.vue.js +26 -0
- package/dist/components/Content/IntroductionSection.vue2.js +4 -0
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Models/ModernLayout.vue2.js +6 -6
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +1 -5
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +28 -35
- package/dist/components/Content/Operations/get-current-index.d.ts.map +1 -1
- package/dist/components/Content/Schema/RenderString.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaEnumValues.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDescription.vue.d.ts +6 -11
- package/dist/components/Content/Schema/SchemaPropertyDescription.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts +10 -13
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +6 -11
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/get-schema-type.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/is-type-object.d.ts.map +1 -1
- package/dist/components/Content/Tags/ClassicLayout.vue.d.ts +6 -11
- package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/ModernLayout.vue.d.ts +5 -63
- package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/Tag.vue.d.ts +7 -11
- package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/TagSection.vue.js +1 -1
- package/dist/components/GettingStarted.vue.d.ts +1 -1
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +5 -10
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/IntersectionObserver.vue.d.ts +5 -12
- package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
- package/dist/components/Lazy/Lazy.vue.d.ts +5 -10
- package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -1
- package/dist/components/LinkList/LinkList.vue.d.ts +6 -13
- package/dist/components/LinkList/LinkList.vue.d.ts.map +1 -1
- package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.d.ts +6 -11
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/OperationPath.vue.d.ts +1 -1
- package/dist/components/OperationPath.vue.d.ts.map +1 -1
- package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.d.ts +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -1
- package/dist/components/ScreenReader.vue.d.ts +7 -11
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.d.ts +8 -12
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/Section.vue.d.ts +5 -10
- package/dist/components/Section/Section.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.d.ts +13 -66
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionColumn.vue.d.ts +6 -11
- package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionColumns.vue.d.ts +6 -11
- package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainer.vue.d.ts +7 -11
- package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts +8 -12
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContent.vue.d.ts +6 -11
- package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeader.vue.d.ts +8 -12
- package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeaderTag.vue.d.ts +5 -10
- package/dist/components/Section/SectionHeaderTag.vue.d.ts.map +1 -1
- package/dist/components/SectionFlare/SectionFlare.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.d.ts +1 -1
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterList.vue.d.ts +5 -10
- package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.d.ts +5 -10
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +2 -2
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +2 -2
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +2 -2
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.js +2 -2
- package/dist/features/Operation/helpers/combine-params.d.ts +1 -2
- package/dist/features/Operation/helpers/combine-params.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +1 -3
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +35 -34
- package/dist/features/Operation/layouts/ClassicLayout.vue3.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +1 -3
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +28 -27
- package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -1
- package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -1
- package/dist/features/api-client-modal/ApiClientModal.vue.d.ts +1 -1
- package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/api-client-modal/ApiClientModal.vue.js +50 -53
- package/dist/features/api-client-modal/useApiClient.d.ts +496 -496
- package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
- package/dist/features/document-source/hooks/useDocumentFetcher.d.ts +1 -1
- package/dist/features/document-source/hooks/useDocumentFetcher.d.ts.map +1 -1
- package/dist/features/document-source/hooks/useDocumentFetcher.js +13 -13
- package/dist/features/example-responses/ExampleResponse.vue.d.ts +1 -2
- package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.js +2 -2
- package/dist/features/example-responses/ExampleResponseTab.vue.d.ts +5 -10
- package/dist/features/example-responses/ExampleResponseTab.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.d.ts +7 -11
- package/dist/features/example-responses/ExampleResponseTabList.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.d.ts +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +2 -2
- package/dist/features/example-responses/ExampleResponses.vue2.js +9 -9
- package/dist/features/example-responses/helpers/get-resolved-ref-deep.d.ts.map +1 -1
- package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -1
- package/dist/features/info-object/Contact.vue.d.ts.map +1 -1
- package/dist/features/info-object/License.vue.d.ts +1 -1
- package/dist/features/info-object/License.vue.d.ts.map +1 -1
- package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -1
- package/dist/features/multiple-documents/DocumentSelector.vue.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
- package/dist/features/sidebar/components/Sidebar.vue.d.ts +8 -14
- package/dist/features/sidebar/components/Sidebar.vue.d.ts.map +1 -1
- package/dist/features/sidebar/components/SidebarElement.vue.d.ts +8 -12
- package/dist/features/sidebar/components/SidebarElement.vue.d.ts.map +1 -1
- package/dist/features/sidebar/components/SidebarElement.vue.js +1 -1
- package/dist/features/sidebar/components/SidebarElement.vue2.js +60 -55
- package/dist/features/sidebar/components/SidebarGroup.vue.d.ts +6 -11
- package/dist/features/sidebar/components/SidebarGroup.vue.d.ts.map +1 -1
- package/dist/features/sidebar/components/SidebarHttpBadge.vue.d.ts +5 -10
- package/dist/features/sidebar/components/SidebarHttpBadge.vue.d.ts.map +1 -1
- package/dist/features/sidebar/helpers/create-sidebar.d.ts.map +1 -1
- package/dist/features/specification-extension/SpecificationExtension.vue.d.ts.map +1 -1
- package/dist/features/specification-extension/SpecificationExtension.vue.js +2 -47
- package/dist/features/specification-extension/SpecificationExtension.vue2.js +47 -2
- package/dist/features/specification-extension/helpers.d.ts +10 -0
- package/dist/features/specification-extension/helpers.d.ts.map +1 -0
- package/dist/features/specification-extension/helpers.js +4 -0
- package/dist/features/specification-extension/index.d.ts +1 -0
- package/dist/features/specification-extension/index.d.ts.map +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/get-tag.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-description.d.ts +3 -1
- package/dist/features/traverse-schema/helpers/traverse-description.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-document.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +7 -3
- package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts +3 -1
- package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-tags.d.ts +3 -1
- package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts +5 -1
- package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/features/traverse-schema/types.d.ts +1 -3
- package/dist/features/traverse-schema/types.d.ts.map +1 -1
- package/dist/features/x-badges/XBadges.vue.d.ts.map +1 -1
- package/dist/helpers/convert-security-scheme.d.ts +1 -1
- package/dist/helpers/convert-security-scheme.d.ts.map +1 -1
- package/dist/helpers/test-utils.d.ts.map +1 -1
- package/dist/hooks/useFreezing.d.ts +6 -0
- package/dist/hooks/useFreezing.d.ts.map +1 -0
- package/dist/hooks/useFreezing.js +29 -0
- package/dist/hooks/useNavState.d.ts +1 -2
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -16
- package/dist/libs/download.d.ts +0 -5
- package/dist/libs/download.d.ts.map +1 -1
- package/dist/libs/download.js +10 -13
- package/dist/libs/markdown.d.ts.map +1 -1
- package/dist/libs/openapi.d.ts +2 -4
- package/dist/libs/openapi.d.ts.map +1 -1
- package/dist/plugins/plugin-manager.d.ts.map +1 -1
- package/dist/standalone/lib/html-api.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +11 -14
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +92 -95
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +20 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +7 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +223 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +21 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +64 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue2.js +4 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +17 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +267 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue2.js +4 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +9 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +151 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue2.js +4 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +20 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +7 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +96 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +50 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +50 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue2.js +4 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +17 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +253 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue2.js +4 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/filter-security-requirements.d.ts +6 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/filter-security-requirements.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.d.ts +8 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.js +22 -0
- package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +2 -0
- package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +15 -0
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +7 -0
- package/dist/{components/Content/ClientLibraries/ClientSelector.vue2.js → v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js} +33 -33
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts +16 -0
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +7 -0
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +124 -0
- package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts +11 -0
- package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-client-selector-block/index.d.ts +2 -0
- package/dist/v2/blocks/scalar-client-selector-block/index.d.ts.map +1 -0
- package/dist/{features/base-url/BaseUrl.vue.d.ts → v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts} +3 -4
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +7 -0
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +62 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts +36 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.js +49 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue2.js +4 -0
- package/dist/{components/Content/Introduction/Description.vue.d.ts → v2/blocks/scalar-info-block/components/InfoDescription.vue.d.ts} +2 -2
- package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.js +7 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue2.js +72 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.js +36 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue2.js +4 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.d.ts +7 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.js +25 -0
- package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue2.js +4 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts +16 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.js +7 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue2.js +17 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue3.js +4 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.d.ts +13 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +13 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue2.js +4 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +27 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +7 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +122 -0
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue3.js +4 -0
- package/dist/{features/download-link/DownloadLink.vue.d.ts → v2/blocks/scalar-info-block/components/OpenApiVersion.vue.d.ts} +2 -2
- package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue.js +19 -0
- package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue2.js +4 -0
- package/dist/v2/blocks/scalar-info-block/index.d.ts +3 -0
- package/dist/v2/blocks/scalar-info-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +5 -8
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +38 -52
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +7 -8
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +1 -1
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +148 -133
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts +1 -3
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts +1 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +4 -3
- package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts +51 -0
- package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.js +78 -0
- package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue2.js +4 -0
- package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts +18 -0
- package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +72 -0
- package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue2.js +4 -0
- package/dist/v2/blocks/scalar-server-selector-block/index.d.ts +2 -0
- package/dist/v2/blocks/scalar-server-selector-block/index.d.ts.map +1 -0
- package/dist/v2/helpers/get-document-name.d.ts.map +1 -1
- package/dist/v2/helpers/map-configuration.d.ts +1 -1
- package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
- package/dist/v2/helpers/normalize-content.d.ts.map +1 -1
- package/dist/v2/hooks/use-legacy-store-events.d.ts +14 -0
- package/dist/v2/hooks/use-legacy-store-events.d.ts.map +1 -0
- package/dist/v2/hooks/use-legacy-store-events.js +65 -0
- package/dist/v2/hooks/use-workspace-store-events.d.ts +4 -0
- package/dist/v2/hooks/use-workspace-store-events.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-store-events.js +43 -0
- package/package.json +20 -18
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +0 -7
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +0 -122
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +0 -7
- package/dist/components/Content/Introduction/Description.vue.d.ts.map +0 -1
- package/dist/components/Content/Introduction/Description.vue.js +0 -7
- package/dist/components/Content/Introduction/Description.vue2.js +0 -72
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +0 -13
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +0 -1
- package/dist/components/Content/Introduction/Introduction.vue.js +0 -7
- package/dist/components/Content/Introduction/Introduction.vue2.js +0 -113
- package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts +0 -25
- package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts.map +0 -1
- package/dist/components/Content/Introduction/IntroductionSection.vue.js +0 -7
- package/dist/components/Content/Introduction/IntroductionSection.vue2.js +0 -159
- package/dist/components/Content/Introduction/index.d.ts +0 -2
- package/dist/components/Content/Introduction/index.d.ts.map +0 -1
- package/dist/features/base-url/BaseUrl.vue.d.ts.map +0 -1
- package/dist/features/base-url/BaseUrl.vue.js +0 -56
- package/dist/features/base-url/BaseUrl.vue2.js +0 -4
- package/dist/features/base-url/index.d.ts +0 -2
- package/dist/features/base-url/index.d.ts.map +0 -1
- package/dist/features/download-link/DownloadLink.vue.d.ts.map +0 -1
- package/dist/features/download-link/DownloadLink.vue.js +0 -7
- package/dist/features/download-link/DownloadLink.vue2.js +0 -61
- package/dist/features/download-link/index.d.ts +0 -3
- package/dist/features/download-link/index.d.ts.map +0 -1
- package/dist/features/download-link/openapi-version-symbol.d.ts +0 -2
- package/dist/features/download-link/openapi-version-symbol.d.ts.map +0 -1
- package/dist/features/download-link/openapi-version-symbol.js +0 -4
- package/dist/v2/events/definitions.d.ts +0 -44
- package/dist/v2/events/definitions.d.ts.map +0 -1
- package/dist/v2/events/definitions.js +0 -7
- package/dist/v2/events/index.d.ts +0 -3
- package/dist/v2/events/index.d.ts.map +0 -1
- package/dist/v2/events/listeners.d.ts +0 -8
- package/dist/v2/events/listeners.d.ts.map +0 -1
- package/dist/v2/events/listeners.js +0 -15
- /package/dist/{components/Content/ClientLibraries/ClientLibraries.vue3.js → v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue3.js} +0 -0
- /package/dist/{components/Content/ClientLibraries/ClientSelector.vue3.js → v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue3.js} +0 -0
- /package/dist/{components/Content/Introduction/Description.vue3.js → v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue3.js} +0 -0
- /package/dist/{components/Content/Introduction/Introduction.vue3.js → v2/blocks/scalar-client-selector-block/components/ClientSelector.vue3.js} +0 -0
- /package/dist/{components/Content/ClientLibraries → v2/blocks/scalar-client-selector-block/helpers}/featured-clients.js +0 -0
- /package/dist/{features/download-link → v2/blocks/scalar-info-block/components}/DownloadLink.vue3.js +0 -0
- /package/dist/{components/Content/Introduction/IntroductionSection.vue3.js → v2/blocks/scalar-info-block/components/InfoDescription.vue3.js} +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { defineComponent as w, useId as k, computed as p, useTemplateRef as O, createElementBlock as o, createCommentVNode as C, openBlock as i, createVNode as r, unref as t, withCtx as m, createElementVNode as L, Fragment as y, normalizeClass as E, renderList as N, createBlock as P, createTextVNode as B, toDisplayString as h } from "vue";
|
|
2
|
+
import { TabGroup as F, TabList as V, TabPanels as A, TabPanel as D } from "@headlessui/vue";
|
|
3
|
+
import { ScalarMarkdown as M, ScalarCodeBlock as z } from "@scalar/components";
|
|
4
|
+
import { emitCustomEvent as G } from "@scalar/workspace-store/events";
|
|
5
|
+
import { getFeaturedClients as K, isFeaturedClient as R } from "../helpers/featured-clients.js";
|
|
6
|
+
import { DEFAULT_CLIENT as U } from "../../scalar-request-example-block/helpers/find-client.js";
|
|
7
|
+
import _ from "./ClientDropdown.vue.js";
|
|
8
|
+
const j = {
|
|
9
|
+
key: 0,
|
|
10
|
+
ref: "wrapper-ref"
|
|
11
|
+
}, q = ["id"], H = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "selected-client card-footer border-t-0 p-0",
|
|
14
|
+
role: "tabpanel",
|
|
15
|
+
tabindex: "1"
|
|
16
|
+
}, J = ["id"], te = /* @__PURE__ */ w({
|
|
17
|
+
__name: "ClientSelector",
|
|
18
|
+
props: {
|
|
19
|
+
xScalarSdkInstallation: {},
|
|
20
|
+
clientOptions: {},
|
|
21
|
+
xSelectedClient: { default: () => U }
|
|
22
|
+
},
|
|
23
|
+
setup(l, { expose: g }) {
|
|
24
|
+
const v = k(), b = k(), x = p(
|
|
25
|
+
() => l.clientOptions.flatMap(
|
|
26
|
+
(e) => e.options.find((n) => n.id === l.xSelectedClient) ?? []
|
|
27
|
+
)[0]
|
|
28
|
+
), c = p(() => K(l.clientOptions)), I = p(
|
|
29
|
+
() => c.value.findIndex(
|
|
30
|
+
(e) => l.xSelectedClient === e.id
|
|
31
|
+
)
|
|
32
|
+
), S = O("wrapper-ref"), T = (e) => {
|
|
33
|
+
const n = c.value[e];
|
|
34
|
+
!n || !S.value || G(S.value, "scalar-update-selected-client", n.id);
|
|
35
|
+
}, a = p(() => {
|
|
36
|
+
var n;
|
|
37
|
+
if (!Array.isArray(l.xScalarSdkInstallation) || !((n = l.xScalarSdkInstallation) != null && n.length))
|
|
38
|
+
return;
|
|
39
|
+
const e = l.xScalarSdkInstallation.find((u) => {
|
|
40
|
+
var s, d;
|
|
41
|
+
const f = (d = (s = l.xSelectedClient) == null ? void 0 : s.split("/")[0]) == null ? void 0 : d.toLowerCase();
|
|
42
|
+
return u.lang.toLowerCase() === f;
|
|
43
|
+
});
|
|
44
|
+
if (e)
|
|
45
|
+
return e;
|
|
46
|
+
});
|
|
47
|
+
return g({
|
|
48
|
+
selectedClientOption: x
|
|
49
|
+
}), (e, n) => e.clientOptions.length ? (i(), o("div", j, [
|
|
50
|
+
r(t(F), {
|
|
51
|
+
manual: "",
|
|
52
|
+
selectedIndex: I.value,
|
|
53
|
+
onChange: T
|
|
54
|
+
}, {
|
|
55
|
+
default: m(() => [
|
|
56
|
+
L("div", {
|
|
57
|
+
id: t(v),
|
|
58
|
+
class: "client-libraries-heading"
|
|
59
|
+
}, " Client Libraries ", 8, q),
|
|
60
|
+
r(t(V), {
|
|
61
|
+
"aria-labelledby": t(v),
|
|
62
|
+
class: "client-libraries-list"
|
|
63
|
+
}, {
|
|
64
|
+
default: m(() => [
|
|
65
|
+
r(_, {
|
|
66
|
+
clientOptions: e.clientOptions,
|
|
67
|
+
featuredClients: c.value,
|
|
68
|
+
morePanel: t(b),
|
|
69
|
+
xSelectedClient: e.xSelectedClient
|
|
70
|
+
}, null, 8, ["clientOptions", "featuredClients", "morePanel", "xSelectedClient"])
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
}, 8, ["aria-labelledby"]),
|
|
74
|
+
r(t(A), null, {
|
|
75
|
+
default: m(() => {
|
|
76
|
+
var u, f, s;
|
|
77
|
+
return [
|
|
78
|
+
(u = a.value) != null && u.source || (f = a.value) != null && f.description ? (i(), o(y, { key: 0 }, [
|
|
79
|
+
a.value.description ? (i(), o("div", {
|
|
80
|
+
key: 0,
|
|
81
|
+
class: E(["selected-client card-footer -outline-offset-2", a.value.source && "rounded-b-none"]),
|
|
82
|
+
role: "tabpanel",
|
|
83
|
+
tabindex: "0"
|
|
84
|
+
}, [
|
|
85
|
+
r(t(M), {
|
|
86
|
+
value: a.value.description
|
|
87
|
+
}, null, 8, ["value"])
|
|
88
|
+
], 2)) : C("", !0),
|
|
89
|
+
a.value.source ? (i(), o("div", H, [
|
|
90
|
+
r(t(z), {
|
|
91
|
+
class: "rounded-t-none rounded-b-lg px-3 py-2 -outline-offset-1 has-focus:outline",
|
|
92
|
+
content: a.value.source,
|
|
93
|
+
copy: !0,
|
|
94
|
+
lang: "shell"
|
|
95
|
+
}, null, 8, ["content"])
|
|
96
|
+
])) : C("", !0)
|
|
97
|
+
], 64)) : t(R)(e.xSelectedClient) ? (i(!0), o(y, { key: 1 }, N(c.value, (d) => (i(), P(t(D), {
|
|
98
|
+
key: d.id,
|
|
99
|
+
class: "selected-client card-footer -outline-offset-2"
|
|
100
|
+
}, {
|
|
101
|
+
default: m(() => [
|
|
102
|
+
B(h(d.title), 1)
|
|
103
|
+
]),
|
|
104
|
+
_: 2
|
|
105
|
+
}, 1024))), 128)) : (i(), o("div", {
|
|
106
|
+
key: 2,
|
|
107
|
+
id: t(b),
|
|
108
|
+
class: "selected-client card-footer -outline-offset-2",
|
|
109
|
+
role: "tabpanel",
|
|
110
|
+
tabindex: "0"
|
|
111
|
+
}, h((s = x.value) == null ? void 0 : s.title), 9, J))
|
|
112
|
+
];
|
|
113
|
+
}),
|
|
114
|
+
_: 1
|
|
115
|
+
})
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["selectedIndex"])
|
|
119
|
+
], 512)) : C("", !0);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
export {
|
|
123
|
+
te as default
|
|
124
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ClientOption, ClientOptionGroup } from '../../../../v2/blocks/scalar-request-example-block/types';
|
|
2
|
+
import type { AvailableClients } from '@scalar/snippetz';
|
|
3
|
+
/** Whether or not a client is in the featured list */
|
|
4
|
+
export declare const isFeaturedClient: (clientId: AvailableClients[number] | undefined, featuredClients?: AvailableClients[number][]) => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Maps featured client IDs to their corresponding ClientOption objects.
|
|
7
|
+
* Returns an array of ClientOption objects that match the featured clients list,
|
|
8
|
+
* maintaining the order of the featured clients.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getFeaturedClients: (clientOptions: ClientOptionGroup[], featuredClients?: AvailableClients[number][]) => ClientOption[];
|
|
11
|
+
//# sourceMappingURL=featured-clients.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"featured-clients.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-client-selector-block/helpers/featured-clients.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAA;AACrG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAWxD,sDAAsD;AACtD,eAAO,MAAM,gBAAgB,GAC3B,UAAU,gBAAgB,CAAC,MAAM,CAAC,GAAG,SAAS,EAC9C,kBAAiB,gBAAgB,CAAC,MAAM,CAAC,EAAqB,YACgC,CAAA;AAEhG;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAC7B,eAAe,iBAAiB,EAAE,EAClC,kBAAiB,gBAAgB,CAAC,MAAM,CAAC,EAAqB,KAC7D,YAAY,EAgBd,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/blocks/scalar-client-selector-block/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
|
|
2
1
|
type __VLS_Props = {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
title?: string;
|
|
3
|
+
getOriginalDocument: () => string;
|
|
5
4
|
};
|
|
6
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
6
|
export default _default;
|
|
8
|
-
//# sourceMappingURL=
|
|
7
|
+
//# sourceMappingURL=DownloadLink.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DownloadLink.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/DownloadLink.vue"],"names":[],"mappings":"AAwLA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB,EAAE,MAAM,MAAM,CAAA;CAClC,CAAC;;AAmJF,wBAMG"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent as T, computed as N, createElementBlock as t, createCommentVNode as l, unref as e, openBlock as d, normalizeClass as O, withModifiers as g, createElementVNode as c, createVNode as y, withCtx as D, createTextVNode as b } from "vue";
|
|
2
|
+
import V from "github-slugger";
|
|
3
|
+
import v from "../../../../components/Badge/Badge.vue.js";
|
|
4
|
+
import { useConfig as j } from "../../../../hooks/useConfig.js";
|
|
5
|
+
import { downloadDocument as B } from "../../../../libs/download.js";
|
|
6
|
+
const $ = /* @__PURE__ */ T({
|
|
7
|
+
__name: "DownloadLink",
|
|
8
|
+
props: {
|
|
9
|
+
title: {},
|
|
10
|
+
getOriginalDocument: { type: Function }
|
|
11
|
+
},
|
|
12
|
+
setup(r) {
|
|
13
|
+
const n = j(), k = new V(), x = N(() => k.slug(r.title ?? "")), u = (a) => {
|
|
14
|
+
B(r.getOriginalDocument(), x.value, a);
|
|
15
|
+
};
|
|
16
|
+
return (a, o) => {
|
|
17
|
+
var i, m, s, p, w, f;
|
|
18
|
+
return ((i = e(n)) == null ? void 0 : i.documentDownloadType) !== "none" ? (d(), t("div", {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: O(["download-container group", {
|
|
21
|
+
"download-both": ((m = e(n)) == null ? void 0 : m.documentDownloadType) === "both"
|
|
22
|
+
}])
|
|
23
|
+
}, [
|
|
24
|
+
((s = e(n)) == null ? void 0 : s.documentDownloadType) === "json" || ((p = e(n)) == null ? void 0 : p.documentDownloadType) === "both" ? (d(), t("button", {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "download-button",
|
|
27
|
+
type: "button",
|
|
28
|
+
variant: "ghost",
|
|
29
|
+
onClick: o[0] || (o[0] = g((C) => u("json"), ["prevent"]))
|
|
30
|
+
}, [
|
|
31
|
+
o[3] || (o[3] = c("span", null, " Download OpenAPI Document ", -1)),
|
|
32
|
+
y(v, { class: "extension hidden group-hover:flex" }, {
|
|
33
|
+
default: D(() => o[2] || (o[2] = [
|
|
34
|
+
b("json")
|
|
35
|
+
])),
|
|
36
|
+
_: 1,
|
|
37
|
+
__: [2]
|
|
38
|
+
})
|
|
39
|
+
])) : l("", !0),
|
|
40
|
+
((w = e(n)) == null ? void 0 : w.documentDownloadType) === "yaml" || ((f = e(n)) == null ? void 0 : f.documentDownloadType) === "both" ? (d(), t("button", {
|
|
41
|
+
key: 1,
|
|
42
|
+
class: "download-button",
|
|
43
|
+
type: "button",
|
|
44
|
+
variant: "ghost",
|
|
45
|
+
onClick: o[1] || (o[1] = g((C) => u("yaml"), ["prevent"]))
|
|
46
|
+
}, [
|
|
47
|
+
o[5] || (o[5] = c("span", null, " Download OpenAPI Document ", -1)),
|
|
48
|
+
y(v, { class: "extension hidden group-hover:flex" }, {
|
|
49
|
+
default: D(() => o[4] || (o[4] = [
|
|
50
|
+
b("yaml")
|
|
51
|
+
])),
|
|
52
|
+
_: 1,
|
|
53
|
+
__: [4]
|
|
54
|
+
})
|
|
55
|
+
])) : l("", !0)
|
|
56
|
+
], 2)) : l("", !0);
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
$ as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ExternalDocumentationObject, InfoObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Optional unique identifier for the info block. */
|
|
4
|
+
id?: string;
|
|
5
|
+
/** Determines the layout style for the info block ('modern' or 'classic'). */
|
|
6
|
+
layout?: 'modern' | 'classic';
|
|
7
|
+
/** Original openapi version of the input document */
|
|
8
|
+
oasVersion?: string;
|
|
9
|
+
/** The original document content. */
|
|
10
|
+
getOriginalDocument: () => string;
|
|
11
|
+
/** The Info object from the OpenAPI document. */
|
|
12
|
+
info: InfoObject;
|
|
13
|
+
/** The external documentation object from the OpenAPI document, if present. */
|
|
14
|
+
externalDocs?: ExternalDocumentationObject;
|
|
15
|
+
/** OpenAPI extension fields at the document level. */
|
|
16
|
+
documentExtensions?: Record<string, unknown>;
|
|
17
|
+
/** OpenAPI extension fields at the info object level. */
|
|
18
|
+
infoExtensions?: Record<string, unknown>;
|
|
19
|
+
/** Indicates if the info block is in a loading state. */
|
|
20
|
+
isLoading?: boolean;
|
|
21
|
+
/** Optional callback invoked when the component has finished loading. */
|
|
22
|
+
onLoaded?: () => void;
|
|
23
|
+
};
|
|
24
|
+
declare var __VLS_8: {};
|
|
25
|
+
type __VLS_Slots = {} & {
|
|
26
|
+
selectors?: (props: typeof __VLS_8) => any;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_component: 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>;
|
|
29
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=InfoBlock.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoBlock.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/InfoBlock.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EACV,2BAA2B,EAC3B,UAAU,EACX,MAAM,8DAA8D,CAAA;AAMrE,KAAK,WAAW,GAAG;IACjB,qDAAqD;IACrD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,8EAA8E;IAC9E,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qCAAqC;IACrC,mBAAmB,EAAE,MAAM,MAAM,CAAA;IACjC,iDAAiD;IACjD,IAAI,EAAE,UAAU,CAAA;IAChB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,2BAA2B,CAAA;IAC1C,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACxC,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB,CAAC;AA+DF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAsBjD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as t, computed as s, createBlock as a, openBlock as r, withCtx as n, createVNode as d, renderSlot as l } from "vue";
|
|
2
|
+
import u from "./IntroductionCard.vue.js";
|
|
3
|
+
import c from "./IntroductionLayout.vue.js";
|
|
4
|
+
const L = /* @__PURE__ */ t({
|
|
5
|
+
__name: "InfoBlock",
|
|
6
|
+
props: {
|
|
7
|
+
id: {},
|
|
8
|
+
layout: {},
|
|
9
|
+
oasVersion: {},
|
|
10
|
+
getOriginalDocument: { type: Function },
|
|
11
|
+
info: {},
|
|
12
|
+
externalDocs: {},
|
|
13
|
+
documentExtensions: {},
|
|
14
|
+
infoExtensions: {},
|
|
15
|
+
isLoading: { type: Boolean },
|
|
16
|
+
onLoaded: { type: Function }
|
|
17
|
+
},
|
|
18
|
+
setup(e) {
|
|
19
|
+
const i = s(
|
|
20
|
+
() => e.layout === "classic" ? "after" : "aside"
|
|
21
|
+
);
|
|
22
|
+
return (o, m) => (r(), a(c, {
|
|
23
|
+
id: o.id,
|
|
24
|
+
documentExtensions: o.documentExtensions,
|
|
25
|
+
externalDocs: o.externalDocs,
|
|
26
|
+
getOriginalDocument: o.getOriginalDocument,
|
|
27
|
+
info: o.info,
|
|
28
|
+
infoExtensions: o.infoExtensions,
|
|
29
|
+
isLoading: o.isLoading,
|
|
30
|
+
oasVersion: o.oasVersion,
|
|
31
|
+
onLoaded: o.onLoaded
|
|
32
|
+
}, {
|
|
33
|
+
[i.value]: n(() => [
|
|
34
|
+
d(u, {
|
|
35
|
+
row: o.layout === "classic"
|
|
36
|
+
}, {
|
|
37
|
+
default: n(() => [
|
|
38
|
+
l(o.$slots, "selectors")
|
|
39
|
+
]),
|
|
40
|
+
_: 3
|
|
41
|
+
}, 8, ["row"])
|
|
42
|
+
]),
|
|
43
|
+
_: 2
|
|
44
|
+
}, 1032, ["id", "documentExtensions", "externalDocs", "getOriginalDocument", "info", "infoExtensions", "isLoading", "oasVersion", "onLoaded"]));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
L as default
|
|
49
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
/** Markdown document */
|
|
3
|
-
|
|
3
|
+
description?: string;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
export default _default;
|
|
7
|
-
//# sourceMappingURL=
|
|
7
|
+
//# sourceMappingURL=InfoDescription.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoDescription.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/InfoDescription.vue"],"names":[],"mappings":"AAgIA,KAAK,WAAW,GAAG;IACjB,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;;AAgKF,wBAMG"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { defineComponent as I, computed as y, createElementBlock as i, createCommentVNode as H, openBlock as n, Fragment as l, renderList as S, createBlock as c, unref as o, withCtx as w, createVNode as C } from "vue";
|
|
2
|
+
import { splitContent as B, getHeadings as N } from "@scalar/code-highlight/markdown";
|
|
3
|
+
import { ScalarMarkdown as u } from "@scalar/components";
|
|
4
|
+
import d from "github-slugger";
|
|
5
|
+
import b from "../../../../components/IntersectionObserver.vue.js";
|
|
6
|
+
import { useNavState as x } from "../../../../hooks/useNavState.js";
|
|
7
|
+
const E = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "introduction-description"
|
|
10
|
+
}, T = /* @__PURE__ */ I({
|
|
11
|
+
__name: "InfoDescription",
|
|
12
|
+
props: {
|
|
13
|
+
description: {}
|
|
14
|
+
},
|
|
15
|
+
setup(a) {
|
|
16
|
+
const m = y(() => {
|
|
17
|
+
if (!a.description)
|
|
18
|
+
return [];
|
|
19
|
+
const e = new d();
|
|
20
|
+
return B(a.description).map((t) => {
|
|
21
|
+
const [r] = N(t);
|
|
22
|
+
return {
|
|
23
|
+
id: r ? s({
|
|
24
|
+
...r,
|
|
25
|
+
slug: e.slug(r.value)
|
|
26
|
+
}) : void 0,
|
|
27
|
+
content: t
|
|
28
|
+
};
|
|
29
|
+
});
|
|
30
|
+
}), { getHeadingId: s, getFullHash: p, isIntersectionEnabled: g, replaceUrlState: f } = x();
|
|
31
|
+
function h(e = "") {
|
|
32
|
+
g.value && f(e);
|
|
33
|
+
}
|
|
34
|
+
const v = new d(), _ = (e) => (e.data = {
|
|
35
|
+
hProperties: {
|
|
36
|
+
id: s({
|
|
37
|
+
depth: e.depth,
|
|
38
|
+
value: e.children[0].value,
|
|
39
|
+
slug: v.slug(e.children[0].value)
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
}, e);
|
|
43
|
+
return (e, k) => e.description ? (n(), i("div", E, [
|
|
44
|
+
(n(!0), i(l, null, S(m.value, (t) => (n(), i(l, {
|
|
45
|
+
key: t.id
|
|
46
|
+
}, [
|
|
47
|
+
t.id ? (n(), c(b, {
|
|
48
|
+
key: 0,
|
|
49
|
+
id: o(p)(t.id),
|
|
50
|
+
class: "introduction-description-heading",
|
|
51
|
+
onIntersecting: () => h(t.id)
|
|
52
|
+
}, {
|
|
53
|
+
default: w(() => [
|
|
54
|
+
C(o(u), {
|
|
55
|
+
transform: _,
|
|
56
|
+
transformType: "heading",
|
|
57
|
+
value: t.content
|
|
58
|
+
}, null, 8, ["value"])
|
|
59
|
+
]),
|
|
60
|
+
_: 2
|
|
61
|
+
}, 1032, ["id", "onIntersecting"])) : (n(), c(o(u), {
|
|
62
|
+
key: 1,
|
|
63
|
+
value: t.content,
|
|
64
|
+
withImages: ""
|
|
65
|
+
}, null, 8, ["value"]))
|
|
66
|
+
], 64))), 128))
|
|
67
|
+
])) : H("", !0);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
T as default
|
|
72
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ExternalDocumentationObject, InfoObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
info: InfoObject;
|
|
4
|
+
externalDocs?: ExternalDocumentationObject;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=InfoLinks.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoLinks.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/InfoLinks.vue"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EACV,2BAA2B,EAC3B,UAAU,EACX,MAAM,8DAA8D,CAAA;AAMrE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAA;IAChB,YAAY,CAAC,EAAE,2BAA2B,CAAA;CAC3C,CAAC;;AAuFF,wBAMG"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as l, createBlock as o, openBlock as r, unref as n, withCtx as t, createVNode as a, createCommentVNode as i } from "vue";
|
|
2
|
+
import f from "../../../../components/LinkList/LinkList.vue.js";
|
|
3
|
+
import m from "../../../../features/external-docs/ExternalDocs.vue.js";
|
|
4
|
+
import u from "../../../../features/info-object/Contact.vue.js";
|
|
5
|
+
import s from "../../../../features/info-object/License.vue.js";
|
|
6
|
+
import c from "../../../../features/info-object/TermsOfService.vue.js";
|
|
7
|
+
const L = /* @__PURE__ */ l({
|
|
8
|
+
__name: "InfoLinks",
|
|
9
|
+
props: {
|
|
10
|
+
info: {},
|
|
11
|
+
externalDocs: {}
|
|
12
|
+
},
|
|
13
|
+
setup(p) {
|
|
14
|
+
return (e, v) => (r(), o(n(f), null, {
|
|
15
|
+
default: t(() => [
|
|
16
|
+
a(n(m), { value: e.externalDocs }, null, 8, ["value"]),
|
|
17
|
+
e.info.contact ? (r(), o(n(u), {
|
|
18
|
+
key: 0,
|
|
19
|
+
value: e.info.contact
|
|
20
|
+
}, null, 8, ["value"])) : i("", !0),
|
|
21
|
+
e.info.license ? (r(), o(n(s), {
|
|
22
|
+
key: 1,
|
|
23
|
+
value: e.info.license
|
|
24
|
+
}, null, 8, ["value"])) : i("", !0),
|
|
25
|
+
e.info.termsOfService ? (r(), o(n(c), {
|
|
26
|
+
key: 2,
|
|
27
|
+
value: e.info.termsOfService
|
|
28
|
+
}, null, 8, ["value"])) : i("", !0)
|
|
29
|
+
]),
|
|
30
|
+
_: 1
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
L as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { InfoObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
version: InfoObject['version'];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=InfoVersion.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoVersion.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/InfoVersion.vue"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAK9F,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;CAC/B,CAAC;;AAyDF,wBAMG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as n, computed as o, createBlock as i, createCommentVNode as s, openBlock as a, unref as c, withCtx as u, createTextVNode as f, toDisplayString as m } from "vue";
|
|
2
|
+
import d from "../../../../components/Badge/Badge.vue.js";
|
|
3
|
+
const x = /* @__PURE__ */ n({
|
|
4
|
+
__name: "InfoVersion",
|
|
5
|
+
props: {
|
|
6
|
+
version: {}
|
|
7
|
+
},
|
|
8
|
+
setup(t) {
|
|
9
|
+
const r = o(() => {
|
|
10
|
+
if (t.version == null)
|
|
11
|
+
return t.version;
|
|
12
|
+
const e = String(t.version);
|
|
13
|
+
return /^\d/.test(e) ? `v${e}` : e;
|
|
14
|
+
});
|
|
15
|
+
return (e, l) => r.value ? (a(), i(c(d), { key: 0 }, {
|
|
16
|
+
default: u(() => [
|
|
17
|
+
f(m(r.value), 1)
|
|
18
|
+
]),
|
|
19
|
+
_: 1
|
|
20
|
+
})) : s("", !0);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
x as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
row?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: 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>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=IntroductionCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntroductionCard.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/IntroductionCard.vue"],"names":[],"mappings":"AAsEA,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,OAAO,CAAA;CACd,CAAC;AA2CF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAmB/C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { defineComponent as r, createElementBlock as e, openBlock as t, normalizeClass as n, renderSlot as a } from "vue";
|
|
2
|
+
const i = /* @__PURE__ */ r({
|
|
3
|
+
__name: "IntroductionCard",
|
|
4
|
+
props: {
|
|
5
|
+
row: { type: Boolean }
|
|
6
|
+
},
|
|
7
|
+
setup(c) {
|
|
8
|
+
return (o, d) => (t(), e("div", {
|
|
9
|
+
class: n(["introduction-card", { "introduction-card-row": o.row }])
|
|
10
|
+
}, [
|
|
11
|
+
a(o.$slots, "default", {}, void 0, !0)
|
|
12
|
+
], 2));
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
i as default
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=IntroductionCardItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntroductionCardItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue"],"names":[],"mappings":"AA+CA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAkB/C,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as o, renderSlot as r } from "vue";
|
|
2
|
+
import "./IntroductionCardItem.vue2.js";
|
|
3
|
+
import n from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const c = {}, d = { class: "introduction-card-item" };
|
|
5
|
+
function s(t, a) {
|
|
6
|
+
return o(), e("div", d, [
|
|
7
|
+
r(t.$slots, "default", {}, void 0, !0)
|
|
8
|
+
]);
|
|
9
|
+
}
|
|
10
|
+
const m = /* @__PURE__ */ n(c, [["render", s], ["__scopeId", "data-v-225524a7"]]);
|
|
11
|
+
export {
|
|
12
|
+
m as default
|
|
13
|
+
};
|