@scalar/api-reference 1.34.5 → 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 +71 -0
- package/dist/browser/standalone.js +30859 -30766
- 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/Schema.vue.js +2 -2
- package/dist/components/Content/Schema/Schema.vue2.js +84 -81
- 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 +3 -0
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +49 -41
- 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 +21 -19
- 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
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Disclosure as
|
|
3
|
-
import { ScalarMarkdown as
|
|
1
|
+
import { defineComponent as I, inject as E, computed as u, createBlock as c, createCommentVNode as d, openBlock as i, unref as s, withCtx as p, createElementVNode as C, normalizeClass as v, createElementBlock as m, createVNode as h, withDirectives as w, createTextVNode as f, toDisplayString as g, vShow as R, normalizeStyle as $, Fragment as y } from "vue";
|
|
2
|
+
import { Disclosure as U, DisclosureButton as T, DisclosurePanel as X } from "@headlessui/vue";
|
|
3
|
+
import { ScalarMarkdown as G, ScalarIcon as b } from "@scalar/components";
|
|
4
4
|
import j from "../../ScreenReader.vue.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
5
|
+
import { useConfig as J } from "../../../hooks/useConfig.js";
|
|
6
|
+
import { DISCRIMINATOR_CONTEXT as K } from "../../../hooks/useDiscriminator.js";
|
|
7
|
+
import { isTypeObject as P } from "./helpers/is-type-object.js";
|
|
8
|
+
import L from "./SchemaHeading.vue.js";
|
|
9
|
+
import Q from "./SchemaObjectProperties.vue.js";
|
|
10
|
+
import Y from "./SchemaProperty.vue.js";
|
|
11
|
+
const Z = {
|
|
11
12
|
key: 0,
|
|
12
13
|
class: "schema-card-description"
|
|
13
|
-
},
|
|
14
|
+
}, W = {
|
|
14
15
|
key: 0,
|
|
15
16
|
class: "schema-properties"
|
|
16
|
-
},
|
|
17
|
+
}, ne = /* @__PURE__ */ I({
|
|
17
18
|
__name: "Schema",
|
|
18
19
|
props: {
|
|
19
20
|
value: { type: [Object, Boolean] },
|
|
@@ -32,67 +33,67 @@ const Q = {
|
|
|
32
33
|
breadcrumb: {}
|
|
33
34
|
},
|
|
34
35
|
emits: ["update:modelValue"],
|
|
35
|
-
setup(z, { emit:
|
|
36
|
-
const
|
|
36
|
+
setup(z, { emit: q }) {
|
|
37
|
+
const l = z, F = q, k = J(), o = E(K, null), N = u(
|
|
37
38
|
() => {
|
|
38
39
|
var e;
|
|
39
|
-
return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.discriminatorMapping) ||
|
|
40
|
+
return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.discriminatorMapping) || l.discriminatorMapping || {};
|
|
40
41
|
}
|
|
41
|
-
),
|
|
42
|
+
), S = u(
|
|
42
43
|
() => {
|
|
43
44
|
var e;
|
|
44
|
-
return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.discriminatorPropertyName) ||
|
|
45
|
+
return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.discriminatorPropertyName) || l.discriminatorPropertyName || "";
|
|
45
46
|
}
|
|
46
|
-
),
|
|
47
|
+
), M = u(
|
|
47
48
|
() => {
|
|
48
49
|
var e;
|
|
49
|
-
return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.selectedType) ||
|
|
50
|
+
return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.selectedType) || l.discriminator;
|
|
50
51
|
}
|
|
51
52
|
), a = u(() => {
|
|
52
|
-
var
|
|
53
|
-
const e = (
|
|
54
|
-
return e &&
|
|
55
|
-
}),
|
|
53
|
+
var r;
|
|
54
|
+
const e = (r = o == null ? void 0 : o.value) == null ? void 0 : r.mergedSchema, n = l.value;
|
|
55
|
+
return e && l.level === 0 && l.hasDiscriminator && P(n) && P(e) ? e : l.value;
|
|
56
|
+
}), B = u(() => !(l.noncollapsible || l.level === 0)), D = u(() => {
|
|
56
57
|
var e, n;
|
|
57
58
|
if ((e = a.value) != null && e.allOf && Array.isArray(a.value.allOf) && // Because we don't want it to show in models
|
|
58
|
-
|
|
59
|
+
l.name === "Request Body") {
|
|
59
60
|
if (a.value.description)
|
|
60
61
|
return a.value.description;
|
|
61
|
-
const
|
|
62
|
+
const r = a.value.allOf.find(
|
|
62
63
|
(t) => t.description && typeof t.description == "string"
|
|
63
64
|
);
|
|
64
|
-
if (
|
|
65
|
-
return
|
|
65
|
+
if (r != null && r.description)
|
|
66
|
+
return r.description;
|
|
66
67
|
}
|
|
67
|
-
return !((n = a.value) != null && n.description) || typeof a.value.description != "string" || a.value.oneOf || a.value.anyOf || a.value.enum || !a.value.properties && !a.value.patternProperties && !a.value.additionalProperties ||
|
|
68
|
-
}),
|
|
69
|
-
|
|
68
|
+
return !((n = a.value) != null && n.description) || typeof a.value.description != "string" || a.value.oneOf || a.value.anyOf || a.value.enum || !a.value.properties && !a.value.patternProperties && !a.value.additionalProperties || l.level === 0 ? null : a.value.description;
|
|
69
|
+
}), O = (e) => l.noncollapsible && e.stopPropagation(), H = (e) => {
|
|
70
|
+
F("update:modelValue", e);
|
|
70
71
|
};
|
|
71
|
-
return (e, n) => typeof e.value == "object" && Object.keys(e.value).length ? (
|
|
72
|
+
return (e, n) => typeof e.value == "object" && Object.keys(e.value).length ? (i(), c(s(U), {
|
|
72
73
|
key: 0,
|
|
73
74
|
defaultOpen: e.noncollapsible
|
|
74
75
|
}, {
|
|
75
|
-
default: p(({ open:
|
|
76
|
-
|
|
76
|
+
default: p(({ open: r }) => [
|
|
77
|
+
C("div", {
|
|
77
78
|
class: v(["schema-card", [
|
|
78
79
|
`schema-card--level-${e.level}`,
|
|
79
|
-
{ "schema-card--compact": e.compact, "schema-card--open":
|
|
80
|
-
{ "border-t": e.additionalProperties &&
|
|
80
|
+
{ "schema-card--compact": e.compact, "schema-card--open": r },
|
|
81
|
+
{ "border-t": e.additionalProperties && r }
|
|
81
82
|
]])
|
|
82
83
|
}, [
|
|
83
|
-
|
|
84
|
-
h(s(
|
|
85
|
-
])) :
|
|
86
|
-
|
|
84
|
+
D.value ? (i(), m("div", Z, [
|
|
85
|
+
h(s(G), { value: D.value }, null, 8, ["value"])
|
|
86
|
+
])) : d("", !0),
|
|
87
|
+
C("div", {
|
|
87
88
|
class: v(["schema-properties", {
|
|
88
|
-
"schema-properties-open":
|
|
89
|
+
"schema-properties-open": r
|
|
89
90
|
}])
|
|
90
91
|
}, [
|
|
91
|
-
e.additionalProperties ? w((
|
|
92
|
+
e.additionalProperties ? w((i(), m("div", W, [
|
|
92
93
|
h(s(T), {
|
|
93
94
|
as: "button",
|
|
94
95
|
class: "schema-card-title schema-card-title--compact",
|
|
95
|
-
onClickCapture:
|
|
96
|
+
onClickCapture: O
|
|
96
97
|
}, {
|
|
97
98
|
default: p(() => [
|
|
98
99
|
h(s(b), {
|
|
@@ -101,55 +102,55 @@ const Q = {
|
|
|
101
102
|
size: "sm"
|
|
102
103
|
}),
|
|
103
104
|
n[0] || (n[0] = f(" Show additional properties ")),
|
|
104
|
-
e.name ? (
|
|
105
|
+
e.name ? (i(), c(j, { key: 0 }, {
|
|
105
106
|
default: p(() => [
|
|
106
107
|
f("for " + g(e.name), 1)
|
|
107
108
|
]),
|
|
108
109
|
_: 1
|
|
109
|
-
})) :
|
|
110
|
+
})) : d("", !0)
|
|
110
111
|
]),
|
|
111
112
|
_: 1,
|
|
112
113
|
__: [0]
|
|
113
114
|
})
|
|
114
115
|
], 512)), [
|
|
115
|
-
[
|
|
116
|
-
]) :
|
|
116
|
+
[R, !r]
|
|
117
|
+
]) : B.value ? w((i(), c(s(T), {
|
|
117
118
|
key: 1,
|
|
118
119
|
as: e.noncollapsible ? "div" : "button",
|
|
119
120
|
class: v(["schema-card-title", { "schema-card-title--compact": e.compact }]),
|
|
120
|
-
style:
|
|
121
|
+
style: $({
|
|
121
122
|
top: `calc(var(--refs-header-height) + calc(var(--schema-title-height) * ${e.level}))`
|
|
122
123
|
}),
|
|
123
|
-
onClickCapture:
|
|
124
|
+
onClickCapture: O
|
|
124
125
|
}, {
|
|
125
126
|
default: p(() => {
|
|
126
|
-
var t,
|
|
127
|
+
var t, V, A;
|
|
127
128
|
return [
|
|
128
|
-
e.compact ? (
|
|
129
|
+
e.compact ? (i(), m(y, { key: 0 }, [
|
|
129
130
|
h(s(b), {
|
|
130
|
-
class: v(["schema-card-title-icon", { "schema-card-title-icon--open":
|
|
131
|
+
class: v(["schema-card-title-icon", { "schema-card-title-icon--open": r }]),
|
|
131
132
|
icon: "Add",
|
|
132
133
|
size: "sm"
|
|
133
134
|
}, null, 8, ["class"]),
|
|
134
|
-
|
|
135
|
+
r ? (i(), m(y, { key: 0 }, [
|
|
135
136
|
f(" Hide " + g(((t = e.value) == null ? void 0 : t.title) ?? "Child Attributes"), 1)
|
|
136
|
-
], 64)) : (
|
|
137
|
-
f(" Show " + g(((
|
|
137
|
+
], 64)) : (i(), m(y, { key: 1 }, [
|
|
138
|
+
f(" Show " + g(((V = e.value) == null ? void 0 : V.title) ?? "Child Attributes"), 1)
|
|
138
139
|
], 64)),
|
|
139
|
-
e.name ? (
|
|
140
|
+
e.name ? (i(), c(j, { key: 2 }, {
|
|
140
141
|
default: p(() => [
|
|
141
142
|
f("for " + g(e.name), 1)
|
|
142
143
|
]),
|
|
143
144
|
_: 1
|
|
144
|
-
})) :
|
|
145
|
-
], 64)) : (
|
|
145
|
+
})) : d("", !0)
|
|
146
|
+
], 64)) : (i(), m(y, { key: 1 }, [
|
|
146
147
|
h(s(b), {
|
|
147
|
-
class: v(["schema-card-title-icon", { "schema-card-title-icon--open":
|
|
148
|
+
class: v(["schema-card-title-icon", { "schema-card-title-icon--open": r }]),
|
|
148
149
|
icon: "Add",
|
|
149
150
|
size: "sm"
|
|
150
151
|
}, null, 8, ["class"]),
|
|
151
|
-
h(
|
|
152
|
-
name: ((
|
|
152
|
+
h(L, {
|
|
153
|
+
name: ((A = e.value) == null ? void 0 : A.title) ?? e.name,
|
|
153
154
|
value: e.value
|
|
154
155
|
}, null, 8, ["name", "value"])
|
|
155
156
|
], 64))
|
|
@@ -157,58 +158,60 @@ const Q = {
|
|
|
157
158
|
}),
|
|
158
159
|
_: 2
|
|
159
160
|
}, 1032, ["as", "class", "style"])), [
|
|
160
|
-
[
|
|
161
|
-
]) :
|
|
162
|
-
!e.additionalProperties ||
|
|
161
|
+
[R, !e.hideHeading && !(e.noncollapsible && e.compact)]
|
|
162
|
+
]) : d("", !0),
|
|
163
|
+
!e.additionalProperties || r ? (i(), c(s(X), {
|
|
163
164
|
key: 2,
|
|
164
165
|
as: "ul",
|
|
165
|
-
static: !
|
|
166
|
+
static: !B.value
|
|
166
167
|
}, {
|
|
167
168
|
default: p(() => {
|
|
168
169
|
var t;
|
|
169
170
|
return [
|
|
170
|
-
s(
|
|
171
|
+
s(P)(a.value) ? (i(), c(Q, {
|
|
171
172
|
key: 0,
|
|
172
173
|
breadcrumb: e.breadcrumb,
|
|
173
|
-
schema: a.value,
|
|
174
174
|
compact: e.compact,
|
|
175
|
+
discriminator: M.value,
|
|
176
|
+
discriminatorMapping: N.value,
|
|
177
|
+
discriminatorPropertyName: S.value,
|
|
178
|
+
hasDiscriminator: e.hasDiscriminator,
|
|
175
179
|
hideHeading: e.hideHeading,
|
|
176
|
-
level: e.level + 1,
|
|
177
180
|
hideModelNames: e.hideModelNames,
|
|
181
|
+
level: e.level + 1,
|
|
182
|
+
orderRequiredPropertiesFirst: s(k).orderRequiredPropertiesFirst,
|
|
183
|
+
orderSchemaPropertiesBy: s(k).orderSchemaPropertiesBy,
|
|
184
|
+
schema: a.value,
|
|
178
185
|
schemas: e.schemas,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
hasDiscriminator: e.hasDiscriminator,
|
|
183
|
-
"onUpdate:modelValue": O
|
|
184
|
-
}, null, 8, ["breadcrumb", "schema", "compact", "hideHeading", "level", "hideModelNames", "schemas", "discriminator", "discriminatorMapping", "discriminatorPropertyName", "hasDiscriminator"])) : (l(), d(y, { key: 1 }, [
|
|
185
|
-
a.value ? (l(), c(L, {
|
|
186
|
+
"onUpdate:modelValue": H
|
|
187
|
+
}, null, 8, ["breadcrumb", "compact", "discriminator", "discriminatorMapping", "discriminatorPropertyName", "hasDiscriminator", "hideHeading", "hideModelNames", "level", "orderRequiredPropertiesFirst", "orderSchemaPropertiesBy", "schema", "schemas"])) : (i(), m(y, { key: 1 }, [
|
|
188
|
+
a.value ? (i(), c(Y, {
|
|
186
189
|
key: 0,
|
|
187
190
|
breadcrumb: e.breadcrumb,
|
|
188
191
|
compact: e.compact,
|
|
192
|
+
discriminatorMapping: N.value,
|
|
193
|
+
discriminatorPropertyName: S.value,
|
|
189
194
|
hideHeading: e.hideHeading,
|
|
190
195
|
hideModelNames: e.hideModelNames,
|
|
191
196
|
level: e.level,
|
|
197
|
+
modelValue: M.value,
|
|
192
198
|
name: a.value.name,
|
|
193
199
|
schemas: e.schemas,
|
|
194
200
|
value: ((t = e.value.discriminator) == null ? void 0 : t.propertyName) === e.name ? e.value : a.value,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
modelValue: P.value,
|
|
198
|
-
"onUpdate:modelValue": O
|
|
199
|
-
}, null, 8, ["breadcrumb", "compact", "hideHeading", "hideModelNames", "level", "name", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"])) : m("", !0)
|
|
201
|
+
"onUpdate:modelValue": H
|
|
202
|
+
}, null, 8, ["breadcrumb", "compact", "discriminatorMapping", "discriminatorPropertyName", "hideHeading", "hideModelNames", "level", "modelValue", "name", "schemas", "value"])) : d("", !0)
|
|
200
203
|
], 64))
|
|
201
204
|
];
|
|
202
205
|
}),
|
|
203
206
|
_: 1
|
|
204
|
-
}, 8, ["static"])) :
|
|
207
|
+
}, 8, ["static"])) : d("", !0)
|
|
205
208
|
], 2)
|
|
206
209
|
], 2)
|
|
207
210
|
]),
|
|
208
211
|
_: 1
|
|
209
|
-
}, 8, ["defaultOpen"])) :
|
|
212
|
+
}, 8, ["defaultOpen"])) : d("", !0);
|
|
210
213
|
}
|
|
211
214
|
});
|
|
212
215
|
export {
|
|
213
|
-
|
|
216
|
+
ne as default
|
|
214
217
|
};
|
|
@@ -10,6 +10,6 @@ type __VLS_Props = {
|
|
|
10
10
|
hideHeading?: boolean;
|
|
11
11
|
breadcrumb?: string[];
|
|
12
12
|
};
|
|
13
|
-
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, {},
|
|
13
|
+
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>;
|
|
14
14
|
export default _default;
|
|
15
15
|
//# sourceMappingURL=SchemaComposition.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AAoQA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAIjE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AAoQA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAIjE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,8BAA8B,CAAA;AAGrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;AAgXF,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaDiscriminator.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaDiscriminator.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"SchemaDiscriminator.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaDiscriminator.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAEpE,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;AAuHF,wBAOG"}
|
|
@@ -2,6 +2,6 @@ type __VLS_Props = {
|
|
|
2
2
|
label: string;
|
|
3
3
|
description?: string;
|
|
4
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, {},
|
|
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
7
|
//# sourceMappingURL=SchemaEnumPropertyItem.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaEnumPropertyItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaEnumPropertyItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaEnumPropertyItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaEnumPropertyItem.vue"],"names":[],"mappings":"AAkGA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;;AA4EF,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaEnumValues.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaEnumValues.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaEnumValues.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaEnumValues.vue"],"names":[],"mappings":"AA2PA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,GAAG,EAAE,CAAA;IACd,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;KAAE,CAAA;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;IACxD,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;IACzD,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAGvB,KAAK,WAAW,GAAG;IACjB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,4DAA4D;IAC5D,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAC;;AAuTF,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaHeading.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"SchemaHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaHeading.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAGxD,KAAK,WAAW,GAAG;IACjB,KAAK,EACD,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB,CAAA;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC;;AAsFF,wBAMG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
+
import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
|
|
2
3
|
import type { Schemas } from '../../../features/Operation/types/schemas';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
schema: OpenAPIV3_1.SchemaObject;
|
|
@@ -10,6 +11,8 @@ type __VLS_Props = {
|
|
|
10
11
|
discriminator?: string;
|
|
11
12
|
discriminatorMapping?: Record<string, string>;
|
|
12
13
|
discriminatorPropertyName?: string;
|
|
14
|
+
orderSchemaPropertiesBy?: ApiReferenceConfiguration['orderSchemaPropertiesBy'];
|
|
15
|
+
orderRequiredPropertiesFirst?: ApiReferenceConfiguration['orderRequiredPropertiesFirst'];
|
|
13
16
|
hasDiscriminator?: boolean;
|
|
14
17
|
breadcrumb?: string[];
|
|
15
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaObjectProperties.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaObjectProperties.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"SchemaObjectProperties.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaObjectProperties.vue"],"names":[],"mappings":"AAAA,OAiNO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAG5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAIjE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,WAAW,CAAC,YAAY,CAAA;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,uBAAuB,CAAC,EAAE,yBAAyB,CAAC,yBAAyB,CAAC,CAAA;IAC9E,4BAA4B,CAAC,EAAE,yBAAyB,CAAC,8BAA8B,CAAC,CAAA;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;;;;;AAyTF,wBAOG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as V, computed as
|
|
1
|
+
import { defineComponent as V, computed as S, createElementBlock as d, openBlock as a, Fragment as l, createCommentVNode as c, createBlock as p, renderList as g } from "vue";
|
|
2
2
|
import h from "./SchemaProperty.vue.js";
|
|
3
|
-
const
|
|
3
|
+
const B = /* @__PURE__ */ V({
|
|
4
4
|
__name: "SchemaObjectProperties",
|
|
5
5
|
props: {
|
|
6
6
|
schema: { type: [Object, Boolean] },
|
|
@@ -12,93 +12,101 @@ const j = /* @__PURE__ */ V({
|
|
|
12
12
|
discriminator: {},
|
|
13
13
|
discriminatorMapping: {},
|
|
14
14
|
discriminatorPropertyName: {},
|
|
15
|
+
orderSchemaPropertiesBy: { default: "alpha" },
|
|
16
|
+
orderRequiredPropertiesFirst: { default: !0 },
|
|
15
17
|
hasDiscriminator: { type: Boolean },
|
|
16
18
|
breadcrumb: {}
|
|
17
19
|
},
|
|
18
20
|
emits: ["update:modelValue"],
|
|
19
|
-
setup(
|
|
20
|
-
const P = v,
|
|
21
|
-
if (!
|
|
21
|
+
setup(i, { emit: v }) {
|
|
22
|
+
const P = v, f = S(() => {
|
|
23
|
+
if (!i.schema.properties)
|
|
22
24
|
return [];
|
|
23
|
-
const e = Object.keys(
|
|
24
|
-
return e.sort((r,
|
|
25
|
-
const
|
|
26
|
-
|
|
25
|
+
const e = Object.keys(i.schema.properties), t = new Set(i.schema.required || []);
|
|
26
|
+
return e.sort((r, m) => {
|
|
27
|
+
const o = t.has(r), s = t.has(m);
|
|
28
|
+
if (i.orderRequiredPropertiesFirst) {
|
|
29
|
+
if (o && !s)
|
|
30
|
+
return -1;
|
|
31
|
+
if (!o && s)
|
|
32
|
+
return 1;
|
|
33
|
+
}
|
|
34
|
+
return i.orderSchemaPropertiesBy === "alpha" ? r.localeCompare(m) : 0;
|
|
27
35
|
});
|
|
28
36
|
}), n = (e) => {
|
|
29
37
|
P("update:modelValue", e);
|
|
30
|
-
},
|
|
38
|
+
}, M = (e) => typeof e == "object" && typeof e["x-additionalPropertiesName"] == "string" && e["x-additionalPropertiesName"].trim().length > 0 ? `${e["x-additionalPropertiesName"].trim()}*` : "propertyName*", u = (e) => e === !0 || typeof e == "object" && Object.keys(e).length === 0 || typeof e != "object" || !("type" in e) ? {
|
|
31
39
|
type: "anything",
|
|
32
40
|
...typeof e == "object" ? e : {}
|
|
33
41
|
} : e;
|
|
34
42
|
return (e, t) => (a(), d(l, null, [
|
|
35
|
-
e.schema.properties ? (a(!0), d(l, { key: 0 },
|
|
36
|
-
var
|
|
43
|
+
e.schema.properties ? (a(!0), d(l, { key: 0 }, g(f.value, (r) => {
|
|
44
|
+
var m, o, s, N, b, y;
|
|
37
45
|
return a(), p(h, {
|
|
38
46
|
key: r,
|
|
39
47
|
breadcrumb: e.breadcrumb,
|
|
40
48
|
compact: e.compact,
|
|
49
|
+
discriminatorMapping: ((m = e.schema.discriminator) == null ? void 0 : m.mapping) || e.discriminatorMapping,
|
|
50
|
+
discriminatorPropertyName: ((o = e.schema.discriminator) == null ? void 0 : o.propertyName) || e.discriminatorPropertyName,
|
|
41
51
|
hideHeading: e.hideHeading,
|
|
52
|
+
hideModelNames: e.hideModelNames,
|
|
53
|
+
isDiscriminator: r === (((s = e.schema.discriminator) == null ? void 0 : s.propertyName) || e.discriminatorPropertyName),
|
|
42
54
|
level: e.level,
|
|
55
|
+
modelValue: e.discriminator,
|
|
43
56
|
name: r,
|
|
44
|
-
|
|
45
|
-
required: ((i = e.schema.required) == null ? void 0 : i.includes(r)) || ((m = e.schema.properties[r]) == null ? void 0 : m.required) === !0,
|
|
46
|
-
schemas: e.schemas,
|
|
57
|
+
required: ((N = e.schema.required) == null ? void 0 : N.includes(r)) || ((b = e.schema.properties[r]) == null ? void 0 : b.required) === !0,
|
|
47
58
|
resolvedSchema: e.schema.properties[r],
|
|
59
|
+
schemas: e.schemas,
|
|
48
60
|
value: {
|
|
49
61
|
...e.schema.properties[r],
|
|
50
62
|
parent: e.schema,
|
|
51
|
-
isDiscriminator: r === e.discriminatorPropertyName || ((
|
|
63
|
+
isDiscriminator: r === e.discriminatorPropertyName || ((y = e.schema.discriminator) == null ? void 0 : y.propertyName) === r
|
|
52
64
|
},
|
|
53
|
-
discriminatorMapping: ((N = e.schema.discriminator) == null ? void 0 : N.mapping) || e.discriminatorMapping,
|
|
54
|
-
discriminatorPropertyName: ((b = e.schema.discriminator) == null ? void 0 : b.propertyName) || e.discriminatorPropertyName,
|
|
55
|
-
isDiscriminator: r === (((g = e.schema.discriminator) == null ? void 0 : g.propertyName) || e.discriminatorPropertyName),
|
|
56
|
-
modelValue: e.discriminator,
|
|
57
65
|
"onUpdate:modelValue": n
|
|
58
|
-
}, null, 8, ["breadcrumb", "compact", "
|
|
66
|
+
}, null, 8, ["breadcrumb", "compact", "discriminatorMapping", "discriminatorPropertyName", "hideHeading", "hideModelNames", "isDiscriminator", "level", "modelValue", "name", "required", "resolvedSchema", "schemas", "value"]);
|
|
59
67
|
}), 128)) : c("", !0),
|
|
60
|
-
e.schema.patternProperties ? (a(!0), d(l, { key: 1 },
|
|
61
|
-
breadcrumb: e.breadcrumb,
|
|
68
|
+
e.schema.patternProperties ? (a(!0), d(l, { key: 1 }, g(Object.keys(e.schema.patternProperties), (r) => (a(), p(h, {
|
|
62
69
|
key: r,
|
|
63
|
-
|
|
70
|
+
breadcrumb: e.breadcrumb,
|
|
64
71
|
compact: e.compact,
|
|
72
|
+
discriminatorMapping: e.discriminatorMapping,
|
|
73
|
+
discriminatorPropertyName: e.discriminatorPropertyName,
|
|
65
74
|
hideHeading: e.hideHeading,
|
|
75
|
+
hideModelNames: e.hideModelNames,
|
|
76
|
+
isDiscriminator: !1,
|
|
66
77
|
level: e.level,
|
|
78
|
+
modelValue: e.discriminator,
|
|
67
79
|
name: r,
|
|
68
|
-
hideModelNames: e.hideModelNames,
|
|
69
|
-
schemas: e.schemas,
|
|
70
80
|
resolvedSchema: e.schema.patternProperties[r],
|
|
81
|
+
schemas: e.schemas,
|
|
71
82
|
value: {
|
|
72
83
|
...e.schema.patternProperties[r]
|
|
73
84
|
},
|
|
74
|
-
|
|
75
|
-
discriminatorPropertyName: e.discriminatorPropertyName,
|
|
76
|
-
isDiscriminator: !1,
|
|
77
|
-
modelValue: e.discriminator,
|
|
85
|
+
variant: "patternProperties",
|
|
78
86
|
"onUpdate:modelValue": n
|
|
79
|
-
}, null, 8, ["breadcrumb", "compact", "
|
|
87
|
+
}, null, 8, ["breadcrumb", "compact", "discriminatorMapping", "discriminatorPropertyName", "hideHeading", "hideModelNames", "level", "modelValue", "name", "resolvedSchema", "schemas", "value"]))), 128)) : c("", !0),
|
|
80
88
|
e.schema.additionalProperties ? (a(), p(h, {
|
|
81
89
|
key: 2,
|
|
82
90
|
breadcrumb: e.breadcrumb,
|
|
83
|
-
variant: "additionalProperties",
|
|
84
91
|
compact: e.compact,
|
|
85
|
-
hideHeading: e.hideHeading,
|
|
86
|
-
level: e.level,
|
|
87
|
-
name: f(e.schema.additionalProperties),
|
|
88
|
-
hideModelNames: e.hideModelNames,
|
|
89
|
-
schemas: e.schemas,
|
|
90
|
-
resolvedSchema: u(e.schema.additionalProperties),
|
|
91
|
-
value: u(e.schema.additionalProperties),
|
|
92
92
|
discriminatorMapping: e.discriminatorMapping,
|
|
93
93
|
discriminatorPropertyName: e.discriminatorPropertyName,
|
|
94
|
+
hideHeading: e.hideHeading,
|
|
95
|
+
hideModelNames: e.hideModelNames,
|
|
94
96
|
isDiscriminator: !1,
|
|
97
|
+
level: e.level,
|
|
95
98
|
modelValue: e.discriminator,
|
|
99
|
+
name: M(e.schema.additionalProperties),
|
|
96
100
|
noncollapsible: "",
|
|
101
|
+
resolvedSchema: u(e.schema.additionalProperties),
|
|
102
|
+
schemas: e.schemas,
|
|
103
|
+
value: u(e.schema.additionalProperties),
|
|
104
|
+
variant: "additionalProperties",
|
|
97
105
|
"onUpdate:modelValue": n
|
|
98
|
-
}, null, 8, ["breadcrumb", "compact", "
|
|
106
|
+
}, null, 8, ["breadcrumb", "compact", "discriminatorMapping", "discriminatorPropertyName", "hideHeading", "hideModelNames", "level", "modelValue", "name", "resolvedSchema", "schemas", "value"])) : c("", !0)
|
|
99
107
|
], 64));
|
|
100
108
|
}
|
|
101
109
|
});
|
|
102
110
|
export {
|
|
103
|
-
|
|
111
|
+
B as default
|
|
104
112
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAuiBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAItD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;
|
|
1
|
+
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAuiBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAItD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAcjE;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,sBAAsB,GAAG,mBAAmB,CAAA;IACtD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;;;;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;oBAGA,OAAO;kBADT,OAAO;;AAwnB1B,0BAQG"}
|
|
@@ -9,7 +9,7 @@ import _ from "./SchemaDiscriminator.vue.js";
|
|
|
9
9
|
import x from "./SchemaEnumValues.vue.js";
|
|
10
10
|
import ee from "./SchemaPropertyHeading.vue.js";
|
|
11
11
|
import re from "../../Anchor/WithBreadcrumb.vue2.js";
|
|
12
|
-
import ie from "../../../features/specification-extension/SpecificationExtension.
|
|
12
|
+
import ie from "../../../features/specification-extension/SpecificationExtension.vue2.js";
|
|
13
13
|
const ae = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "property-name-pattern-properties"
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: HTMLDivElement;
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
4
|
};
|
|
9
|
-
|
|
10
|
-
declare const
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
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>;
|
|
12
7
|
export default _default;
|
|
13
|
-
type
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
9
|
new (): {
|
|
15
10
|
$slots: S;
|
|
16
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDescription.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaPropertyDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDescription.vue"],"names":[],"mappings":"AAsBA,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"}
|
|
@@ -2,21 +2,18 @@ type __VLS_Props = {
|
|
|
2
2
|
truncate?: boolean;
|
|
3
3
|
code?: boolean;
|
|
4
4
|
};
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
refs: {};
|
|
13
|
-
rootEl: HTMLSpanElement;
|
|
5
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
prefix?: (props: typeof __VLS_1) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_3) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_5) => any;
|
|
14
12
|
};
|
|
15
|
-
|
|
16
|
-
declare const
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
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>;
|
|
14
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
15
|
export default _default;
|
|
19
|
-
type
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
17
|
new (): {
|
|
21
18
|
$slots: S;
|
|
22
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyDetail.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDetail.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaPropertyDetail.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDetail.vue"],"names":[],"mappings":"AA8DA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAqDF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyExamples.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaPropertyExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyExamples.vue"],"names":[],"mappings":"AAyJA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;AAgKF,wBAMG"}
|