@scalar/api-reference 1.32.9 → 1.33.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 +99 -0
- package/dist/browser/standalone.js +17026 -16443
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/components/Anchor/Anchor.vue.js +50 -5
- package/dist/components/Anchor/Anchor.vue2.js +2 -42
- package/dist/components/ApiReference.vue.js +6 -6
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +6 -6
- package/dist/components/ApiReferenceLayout.vue2.js +167 -176
- package/dist/components/ApiReferenceLayout.vue3.js +4 -0
- package/dist/components/ApiReferenceLayout.vue4.js +4 -0
- package/dist/components/ApiReferenceLayout.vue5.js +4 -0
- package/dist/components/ApiReferenceLayout.vue6.js +4 -0
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/Badge.vue.js +4 -4
- package/dist/components/Badge/Badge.vue2.js +4 -0
- package/dist/components/ClassicHeader.vue.js +1 -1
- package/dist/components/ClassicHeader.vue2.js +4 -0
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +14 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +3 -3
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +74 -84
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue3.js +4 -0
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +8 -0
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +81 -80
- package/dist/components/Content/ClientLibraries/ClientSelector.vue3.js +4 -0
- package/dist/components/Content/ClientLibraries/featured-clients.d.ts +11 -0
- package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -0
- package/dist/components/Content/ClientLibraries/featured-clients.js +17 -0
- package/dist/components/Content/Content.vue.d.ts +5 -6
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +49 -6
- package/dist/components/Content/Content.vue2.js +2 -160
- package/dist/components/Content/Content.vue3.js +5 -0
- package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Description.vue.js +3 -3
- package/dist/components/Content/Introduction/Description.vue3.js +4 -0
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +7 -17
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
- package/dist/components/Content/Introduction/Introduction.vue2.js +103 -118
- package/dist/components/Content/Introduction/Introduction.vue3.js +4 -0
- package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts +25 -0
- package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts.map +1 -0
- package/dist/components/Content/Introduction/IntroductionSection.vue.js +7 -0
- package/dist/components/Content/Introduction/IntroductionSection.vue2.js +159 -0
- package/dist/components/Content/Introduction/IntroductionSection.vue3.js +4 -0
- package/dist/components/Content/Models/{ModelsAccordion.vue.d.ts → ClassicLayout.vue.d.ts} +2 -2
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -0
- package/dist/components/Content/Models/ClassicLayout.vue.js +7 -0
- package/dist/components/Content/Models/{ModelsAccordion.vue2.js → ClassicLayout.vue2.js} +30 -30
- package/dist/components/Content/Models/ClassicLayout.vue3.js +4 -0
- package/dist/components/Content/Models/Models.vue.d.ts +3 -1
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +38 -5
- package/dist/components/Content/Models/Models.vue2.js +2 -114
- package/dist/components/Content/Models/ModernLayout.vue.d.ts +7 -0
- package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -0
- package/dist/components/Content/Models/ModernLayout.vue.js +7 -0
- package/dist/components/Content/Models/ModernLayout.vue2.js +100 -0
- package/dist/components/Content/Models/ModernLayout.vue3.js +4 -0
- package/dist/components/Content/Models/index.d.ts +0 -1
- package/dist/components/Content/Models/index.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +21 -0
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -0
- package/dist/components/Content/Operations/TraversedEntry.vue.js +95 -0
- package/dist/components/Content/Operations/TraversedEntry.vue2.js +4 -0
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +17 -0
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +1 -0
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +56 -0
- package/dist/components/Content/Operations/TraversedEntryContainer.vue2.js +4 -0
- package/dist/components/Content/Operations/index.d.ts +2 -0
- package/dist/components/Content/Operations/index.d.ts.map +1 -0
- package/dist/components/Content/Schema/Schema.vue.js +1 -1
- package/dist/components/Content/Schema/Schema.vue3.js +4 -0
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +3 -3
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue3.js +4 -0
- package/dist/components/Content/Schema/SchemaEnumValues.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaEnumValues.vue.js +3 -3
- package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +63 -68
- package/dist/components/Content/Schema/SchemaEnumValues.vue3.js +4 -0
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.js +4 -4
- package/dist/components/Content/Schema/SchemaHeading.vue2.js +23 -22
- package/dist/components/Content/Schema/SchemaHeading.vue3.js +4 -0
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +34 -33
- package/dist/components/Content/Schema/SchemaProperty.vue3.js +4 -0
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue3.js +4 -0
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +3 -3
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue3.js +4 -0
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +3 -3
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +26 -23
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue3.js +4 -0
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts +2 -1
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +59 -52
- package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +24 -20
- package/dist/components/Content/Schema/helpers/schema-name.d.ts +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
- package/dist/components/Content/{Tag/TagAccordion.vue.d.ts → Tags/ClassicLayout.vue.d.ts} +3 -3
- package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -0
- package/dist/components/Content/Tags/ClassicLayout.vue.js +7 -0
- package/dist/components/Content/Tags/ClassicLayout.vue2.js +51 -0
- package/dist/components/Content/Tags/ClassicLayout.vue3.js +4 -0
- package/dist/components/Content/{Tag/TagSection.vue.d.ts → Tags/ModernLayout.vue.d.ts} +17 -13
- package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -0
- package/dist/components/Content/Tags/ModernLayout.vue.js +7 -0
- package/dist/components/Content/Tags/ModernLayout.vue2.js +69 -0
- package/dist/components/Content/Tags/ModernLayout.vue3.js +4 -0
- package/dist/components/Content/Tags/Tag.vue.d.ts +25 -0
- package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -0
- package/dist/components/Content/Tags/Tag.vue.js +27 -0
- package/dist/components/Content/{Tag/Tag.vue.d.ts → Tags/TagSection.vue.d.ts} +3 -6
- package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -0
- package/dist/components/Content/Tags/TagSection.vue.js +104 -0
- package/dist/components/Content/Tags/TagSection.vue2.js +4 -0
- package/dist/components/Content/Tags/index.d.ts +2 -0
- package/dist/components/Content/Tags/index.d.ts.map +1 -0
- package/dist/components/GettingStarted.vue.js +1 -1
- package/dist/components/GettingStarted.vue3.js +4 -0
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +8 -6
- package/dist/components/{Content/Lazy → Lazy}/Lazy.vue.d.ts +1 -10
- package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -0
- package/dist/components/Lazy/Lazy.vue2.js +25 -0
- package/dist/components/Lazy/index.d.ts +3 -0
- package/dist/components/Lazy/index.d.ts.map +1 -0
- package/dist/components/Lazy/lazyBus.d.ts +8 -0
- package/dist/components/Lazy/lazyBus.d.ts.map +1 -0
- package/dist/components/Lazy/lazyBus.js +7 -0
- package/dist/components/LinkList/LinkList.vue.d.ts +20 -0
- package/dist/components/LinkList/LinkList.vue.d.ts.map +1 -0
- package/dist/components/LinkList/LinkList.vue.js +7 -0
- package/dist/components/LinkList/LinkList.vue2.js +32 -0
- package/dist/components/LinkList/LinkList.vue3.js +4 -0
- package/dist/components/LinkList/index.d.ts +2 -0
- package/dist/components/LinkList/index.d.ts.map +1 -0
- package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
- package/dist/components/LoadingSkeleton.vue.js +3 -3
- package/dist/components/LoadingSkeleton.vue3.js +4 -0
- package/dist/components/MobileHeader.vue.js +1 -1
- package/dist/components/MobileHeader.vue3.js +4 -0
- package/dist/components/OperationPath.vue.js +1 -1
- package/dist/components/OperationPath.vue3.js +4 -0
- package/dist/components/{Content/Tag → OperationsList}/OperationsList.vue.d.ts +2 -5
- package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -0
- package/dist/components/OperationsList/OperationsList.vue.js +7 -0
- package/dist/components/OperationsList/OperationsList.vue2.js +60 -0
- package/dist/components/OperationsList/OperationsList.vue3.js +4 -0
- package/dist/components/{Content/Tag → OperationsList}/OperationsListItem.vue.d.ts +2 -4
- package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -0
- package/dist/components/OperationsList/OperationsListItem.vue.js +7 -0
- package/dist/components/OperationsList/OperationsListItem.vue2.js +63 -0
- package/dist/components/OperationsList/OperationsListItem.vue3.js +4 -0
- package/dist/components/OperationsList/index.d.ts +2 -0
- package/dist/components/OperationsList/index.d.ts.map +1 -0
- package/dist/components/ScreenReader.vue.js +1 -1
- package/dist/components/ScreenReader.vue3.js +4 -0
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.js +3 -3
- package/dist/components/Section/CompactSection.vue2.js +35 -36
- package/dist/components/Section/CompactSection.vue3.js +4 -0
- package/dist/components/Section/Section.vue.js +1 -1
- package/dist/components/Section/Section.vue3.js +4 -0
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.js +3 -3
- package/dist/components/Section/SectionAccordion.vue2.js +42 -36
- package/dist/components/Section/SectionAccordion.vue3.js +4 -0
- package/dist/components/Section/SectionColumn.vue.js +1 -1
- package/dist/components/Section/SectionColumn.vue2.js +4 -0
- package/dist/components/Section/SectionColumns.vue.js +1 -1
- package/dist/components/Section/SectionColumns.vue2.js +4 -0
- package/dist/components/Section/SectionContainer.vue.d.ts +9 -2
- package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainer.vue.js +5 -11
- package/dist/components/Section/SectionContainer.vue2.js +18 -0
- package/dist/components/Section/SectionContainer.vue3.js +4 -0
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.js +3 -3
- package/dist/components/Section/SectionContainerAccordion.vue3.js +4 -0
- package/dist/components/Section/SectionContent.vue.js +1 -1
- package/dist/components/Section/SectionContent.vue3.js +4 -0
- package/dist/components/Section/SectionHeader.vue.d.ts +1 -0
- package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeader.vue.js +3 -3
- package/dist/components/Section/SectionHeader.vue2.js +11 -10
- package/dist/components/Section/SectionHeader.vue3.js +4 -0
- package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
- package/dist/components/Section/SectionHeaderTag.vue3.js +4 -0
- package/dist/components/SectionFlare/SectionFlare.vue.d.ts +3 -0
- package/dist/components/SectionFlare/SectionFlare.vue.d.ts.map +1 -0
- package/dist/components/SectionFlare/SectionFlare.vue.js +13 -0
- package/dist/components/SectionFlare/SectionFlare.vue2.js +4 -0
- package/dist/components/SectionFlare/index.d.ts +2 -0
- package/dist/components/SectionFlare/index.d.ts.map +1 -0
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.js +3 -3
- package/dist/components/ShowMoreButton.vue2.js +12 -12
- package/dist/components/ShowMoreButton.vue3.js +4 -0
- package/dist/features/Operation/Operation.vue.d.ts +11 -7
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +66 -48
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.js +28 -30
- package/dist/features/Operation/components/ParameterHeaders.vue.js +1 -1
- package/dist/features/Operation/components/ParameterHeaders.vue3.js +4 -0
- package/dist/features/Operation/components/ParameterList.vue.js +1 -1
- package/dist/features/Operation/components/ParameterList.vue3.js +4 -0
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +2 -2
- package/dist/features/Operation/components/ParameterListItem.vue2.js +31 -29
- package/dist/features/Operation/components/ParameterListItem.vue3.js +4 -0
- package/dist/features/Operation/components/RequestBody.vue.js +1 -1
- package/dist/features/Operation/components/RequestBody.vue3.js +4 -0
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +8 -6
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +4 -4
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +22 -29
- package/dist/features/Operation/components/callbacks/Callback.vue3.js +4 -0
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +5 -3
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.js +25 -18
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +17 -12
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +178 -162
- package/dist/features/Operation/layouts/ClassicLayout.vue3.js +4 -0
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +18 -13
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +3 -3
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +132 -126
- package/dist/features/Operation/layouts/ModernLayout.vue3.js +4 -0
- package/dist/features/Search/SearchModal.vue.js +4 -4
- package/dist/features/Search/SearchModal.vue2.js +9 -9
- package/dist/features/Search/SearchModal.vue3.js +4 -0
- package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/api-client-modal/useApiClient.d.ts +5188 -5128
- package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
- package/dist/features/base-url/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/base-url/BaseUrl.vue.js +26 -26
- package/dist/features/download-link/DownloadLink.vue.js +2 -2
- package/dist/features/download-link/DownloadLink.vue3.js +4 -0
- package/dist/features/example-responses/ExampleResponse.vue.d.ts +4 -2
- package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.js +3 -3
- package/dist/features/example-responses/ExampleResponse.vue2.js +15 -14
- package/dist/features/example-responses/ExampleResponse.vue3.js +4 -0
- package/dist/features/example-responses/ExampleResponseTab.vue.js +3 -3
- package/dist/features/example-responses/ExampleResponseTab.vue3.js +4 -0
- package/dist/features/example-responses/ExampleResponseTabList.vue.js +2 -2
- package/dist/features/example-responses/ExampleResponseTabList.vue3.js +4 -0
- package/dist/features/example-responses/ExampleResponses.vue.d.ts +3 -2
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +4 -4
- package/dist/features/example-responses/ExampleResponses.vue2.js +110 -104
- package/dist/features/example-responses/ExampleResponses.vue3.js +4 -0
- package/dist/features/external-docs/ExternalDocs.vue.d.ts +7 -0
- package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -0
- package/dist/features/external-docs/ExternalDocs.vue.js +36 -0
- package/dist/features/external-docs/ExternalDocs.vue2.js +4 -0
- package/dist/features/external-docs/index.d.ts +2 -0
- package/dist/features/external-docs/index.d.ts.map +1 -0
- package/dist/features/info-object/Contact.vue.d.ts +7 -0
- package/dist/features/info-object/Contact.vue.d.ts.map +1 -0
- package/dist/features/info-object/Contact.vue.js +44 -0
- package/dist/features/info-object/Contact.vue2.js +4 -0
- package/dist/features/info-object/License.vue.d.ts +7 -0
- package/dist/features/info-object/License.vue.d.ts.map +1 -0
- package/dist/features/info-object/License.vue.js +37 -0
- package/dist/features/info-object/License.vue2.js +4 -0
- package/dist/features/info-object/TermsOfService.vue.d.ts +7 -0
- package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -0
- package/dist/features/info-object/TermsOfService.vue.js +30 -0
- package/dist/features/info-object/TermsOfService.vue2.js +4 -0
- package/dist/features/info-object/index.d.ts +4 -0
- package/dist/features/info-object/index.d.ts.map +1 -0
- package/dist/features/sidebar/components/Sidebar.vue.js +3 -3
- package/dist/features/sidebar/components/Sidebar.vue3.js +4 -0
- package/dist/features/sidebar/components/SidebarElement.vue.js +3 -3
- package/dist/features/sidebar/components/SidebarElement.vue3.js +4 -0
- package/dist/features/sidebar/components/SidebarGroup.vue.js +1 -1
- package/dist/features/sidebar/components/SidebarGroup.vue3.js +4 -0
- package/dist/features/sidebar/components/SidebarHttpBadge.vue.js +1 -1
- package/dist/features/sidebar/components/SidebarHttpBadge.vue3.js +4 -0
- package/dist/features/sidebar/helpers/create-sidebar.js +12 -12
- package/dist/features/test-request-button/TestRequestButton.vue.d.ts +3 -2
- package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.js +3 -3
- package/dist/features/test-request-button/TestRequestButton.vue2.js +21 -19
- package/dist/features/test-request-button/TestRequestButton.vue3.js +4 -0
- package/dist/features/traverse-schema/index.d.ts +2 -1
- package/dist/features/traverse-schema/index.d.ts.map +1 -1
- package/dist/helpers/convert-security-scheme.js +23 -0
- package/dist/helpers/test-utils.d.ts +51 -0
- package/dist/helpers/test-utils.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -23
- package/dist/style.css +1 -1
- package/dist/types.d.ts +5 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +4 -2
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +100 -83
- package/dist/v2/ApiReferenceWorkspace.vue2.js +4 -0
- package/dist/v2/ApiReferenceWorkspace.vue3.js +1 -1
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +2 -4
- 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.vue.js +4 -0
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +72 -0
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +4 -13
- 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 +7 -0
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +231 -0
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue3.js +4 -0
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts +1 -0
- 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/find-client.js +21 -3
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts +12 -13
- 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-client-options.js +33 -0
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.js +29 -0
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +10 -0
- package/dist/v2/blocks/scalar-request-example-block/index.d.ts +2 -2
- package/dist/v2/blocks/scalar-request-example-block/types.d.ts +11 -3
- package/dist/v2/blocks/scalar-request-example-block/types.d.ts.map +1 -1
- package/dist/v2/events/definitions.js +7 -0
- package/dist/v2/events/index.d.ts +1 -1
- package/dist/v2/events/listeners.d.ts +1 -1
- package/package.json +18 -18
- package/LICENSE +0 -21
- package/dist/blocks/constants.js +0 -6
- package/dist/blocks/helpers/getPointer.js +0 -12
- package/dist/blocks/hooks/useBlockProps.d.ts +0 -31
- package/dist/blocks/hooks/useBlockProps.d.ts.map +0 -1
- package/dist/blocks/hooks/useBlockProps.js +0 -24
- package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts +0 -16
- package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts.map +0 -1
- package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.js +0 -36
- package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +0 -1
- package/dist/components/Content/Lazy/Lazy.vue2.js +0 -22
- package/dist/components/Content/Lazy/Loading.vue.d.ts +0 -18
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +0 -1
- package/dist/components/Content/Lazy/Loading.vue.js +0 -163
- package/dist/components/Content/Lazy/Loading.vue3.js +0 -5
- package/dist/components/Content/Lazy/index.d.ts +0 -3
- package/dist/components/Content/Lazy/index.d.ts.map +0 -1
- package/dist/components/Content/Lazy/lazyBus.d.ts +0 -4
- package/dist/components/Content/Lazy/lazyBus.d.ts.map +0 -1
- package/dist/components/Content/Lazy/lazyBus.js +0 -5
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +0 -1
- package/dist/components/Content/Models/ModelsAccordion.vue.js +0 -7
- package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +0 -1
- package/dist/components/Content/Tag/OperationsList.vue.js +0 -7
- package/dist/components/Content/Tag/OperationsList.vue2.js +0 -58
- package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +0 -1
- package/dist/components/Content/Tag/OperationsListItem.vue.js +0 -7
- package/dist/components/Content/Tag/OperationsListItem.vue2.js +0 -67
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +0 -1
- package/dist/components/Content/Tag/Tag.vue.js +0 -99
- package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +0 -1
- package/dist/components/Content/Tag/TagAccordion.vue.js +0 -7
- package/dist/components/Content/Tag/TagAccordion.vue2.js +0 -50
- package/dist/components/Content/Tag/TagList.vue.d.ts +0 -22
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +0 -1
- package/dist/components/Content/Tag/TagList.vue.js +0 -73
- package/dist/components/Content/Tag/TagList.vue2.js +0 -4
- package/dist/components/Content/Tag/TagSection.vue.d.ts.map +0 -1
- package/dist/components/Content/Tag/TagSection.vue.js +0 -7
- package/dist/components/Content/Tag/TagSection.vue2.js +0 -67
- package/dist/components/Content/Tag/index.d.ts +0 -3
- package/dist/components/Content/Tag/index.d.ts.map +0 -1
- package/dist/features/example-request/ExamplePicker.vue.d.ts +0 -13
- package/dist/features/example-request/ExamplePicker.vue.d.ts.map +0 -1
- package/dist/features/example-request/ExamplePicker.vue.js +0 -7
- package/dist/features/example-request/ExamplePicker.vue2.js +0 -57
- package/dist/features/example-request/ExampleRequest.vue.d.ts +0 -85
- package/dist/features/example-request/ExampleRequest.vue.d.ts.map +0 -1
- package/dist/features/example-request/ExampleRequest.vue.js +0 -7
- package/dist/features/example-request/ExampleRequest.vue2.js +0 -348
- package/dist/features/example-request/TextSelect.vue.d.ts +0 -34
- package/dist/features/example-request/TextSelect.vue.d.ts.map +0 -1
- package/dist/features/example-request/TextSelect.vue.js +0 -48
- package/dist/features/example-request/TextSelect.vue3.js +0 -5
- package/dist/features/example-request/index.d.ts +0 -3
- package/dist/features/example-request/index.d.ts.map +0 -1
- package/dist/stores/useHttpClientStore.d.ts +0 -43
- package/dist/stores/useHttpClientStore.d.ts.map +0 -1
- package/dist/stores/useHttpClientStore.js +0 -70
- package/dist/v2/hooks/useStore.d.ts +0 -9
- package/dist/v2/hooks/useStore.d.ts.map +0 -1
- /package/dist/components/Content/{Tag → Tags}/Tag.vue2.js +0 -0
- /package/dist/components/{Content/Lazy → Lazy}/Lazy.vue.js +0 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { defineComponent as B, inject as E, computed as A, onMounted as H, createBlock as r, openBlock as u, unref as o, withCtx as n, createVNode as t, renderSlot as I, createElementVNode as f, createCommentVNode as d, createTextVNode as c, toDisplayString as s } from "vue";
|
|
2
|
+
import { useNavState as U } from "../../../hooks/useNavState.js";
|
|
3
|
+
import w from "./Description.vue.js";
|
|
4
|
+
import { OPENAPI_VERSION_SYMBOL as M } from "../../../features/download-link/openapi-version-symbol.js";
|
|
5
|
+
import P from "../../Section/SectionContainer.vue.js";
|
|
6
|
+
import R from "../../Section/Section.vue.js";
|
|
7
|
+
import { DEFAULT_INTRODUCTION_SLUG as b } from "../../../features/traverse-schema/helpers/traverse-description.js";
|
|
8
|
+
import j from "../../Section/SectionContent.vue.js";
|
|
9
|
+
import D from "../../Badge/Badge.vue.js";
|
|
10
|
+
import z from "../../Section/SectionHeader.vue.js";
|
|
11
|
+
import F from "../../Section/SectionHeaderTag.vue.js";
|
|
12
|
+
import G from "../../LinkList/LinkList.vue.js";
|
|
13
|
+
import Y from "../../../features/external-docs/ExternalDocs.vue.js";
|
|
14
|
+
import q from "../../../features/info-object/Contact.vue.js";
|
|
15
|
+
import J from "../../../features/info-object/License.vue.js";
|
|
16
|
+
import K from "../../../features/info-object/TermsOfService.vue.js";
|
|
17
|
+
import Q from "../../Section/SectionColumns.vue.js";
|
|
18
|
+
import V from "../../Section/SectionColumn.vue.js";
|
|
19
|
+
import W from "../../../features/download-link/DownloadLink.vue.js";
|
|
20
|
+
import _ from "../../../features/specification-extension/SpecificationExtension.vue.js";
|
|
21
|
+
const X = { class: "flex gap-1.5" }, Z = { class: "links" }, x = { class: "sticky-cards" }, $e = /* @__PURE__ */ B({
|
|
22
|
+
__name: "IntroductionSection",
|
|
23
|
+
props: {
|
|
24
|
+
document: {},
|
|
25
|
+
config: {}
|
|
26
|
+
},
|
|
27
|
+
setup(l) {
|
|
28
|
+
const { getHeadingId: T } = U(), v = E(M), p = A(() => {
|
|
29
|
+
var e, m;
|
|
30
|
+
return typeof ((e = l.document.info) == null ? void 0 : e.version) == "string" ? l.document.info.version.toString().match(/^\d/) ? `v${l.document.info.version}` : l.document.info.version : typeof ((m = l.document.info) == null ? void 0 : m.version) == "number" ? `v${l.document.info.version}` : void 0;
|
|
31
|
+
});
|
|
32
|
+
return H(() => {
|
|
33
|
+
var e, m;
|
|
34
|
+
return (m = (e = l.config) == null ? void 0 : e.onLoaded) == null ? void 0 : m.call(e);
|
|
35
|
+
}), (e, m) => (u(), r(o(P), null, {
|
|
36
|
+
default: n(() => [
|
|
37
|
+
t(o(R), {
|
|
38
|
+
class: "introduction-section z-1 gap-12",
|
|
39
|
+
id: o(T)({
|
|
40
|
+
slug: o(b),
|
|
41
|
+
depth: 1,
|
|
42
|
+
value: "Introduction"
|
|
43
|
+
})
|
|
44
|
+
}, {
|
|
45
|
+
default: n(() => {
|
|
46
|
+
var g, S, k, y, $;
|
|
47
|
+
return [
|
|
48
|
+
t(o(j), {
|
|
49
|
+
loading: ((g = e.config) == null ? void 0 : g.isLoading) ?? (!((k = (S = e.document) == null ? void 0 : S.info) != null && k.description) && !(($ = (y = e.document) == null ? void 0 : y.info) != null && $.title))
|
|
50
|
+
}, {
|
|
51
|
+
default: n(() => {
|
|
52
|
+
var N;
|
|
53
|
+
return [
|
|
54
|
+
f("div", X, [
|
|
55
|
+
p.value ? (u(), r(o(D), { key: 0 }, {
|
|
56
|
+
default: n(() => [
|
|
57
|
+
c(s(p.value), 1)
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
})) : d("", !0),
|
|
61
|
+
o(v) ? (u(), r(o(D), { key: 1 }, {
|
|
62
|
+
default: n(() => [
|
|
63
|
+
c("OAS " + s(o(v)), 1)
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
})) : d("", !0)
|
|
67
|
+
]),
|
|
68
|
+
t(o(z), {
|
|
69
|
+
loading: !((N = e.document.info) != null && N.title),
|
|
70
|
+
tight: ""
|
|
71
|
+
}, {
|
|
72
|
+
links: n(() => [
|
|
73
|
+
t(o(G), null, {
|
|
74
|
+
default: n(() => {
|
|
75
|
+
var i, a, h, C, L, O;
|
|
76
|
+
return [
|
|
77
|
+
t(o(Y), {
|
|
78
|
+
value: e.document.externalDocs
|
|
79
|
+
}, null, 8, ["value"]),
|
|
80
|
+
(i = e.document.info) != null && i.contact ? (u(), r(o(q), {
|
|
81
|
+
key: 0,
|
|
82
|
+
value: (a = e.document.info) == null ? void 0 : a.contact
|
|
83
|
+
}, null, 8, ["value"])) : d("", !0),
|
|
84
|
+
(h = e.document.info) != null && h.license ? (u(), r(o(J), {
|
|
85
|
+
key: 1,
|
|
86
|
+
value: (C = e.document.info) == null ? void 0 : C.license
|
|
87
|
+
}, null, 8, ["value"])) : d("", !0),
|
|
88
|
+
(L = e.document.info) != null && L.termsOfService ? (u(), r(o(K), {
|
|
89
|
+
key: 2,
|
|
90
|
+
value: (O = e.document.info) == null ? void 0 : O.termsOfService
|
|
91
|
+
}, null, 8, ["value"])) : d("", !0)
|
|
92
|
+
];
|
|
93
|
+
}),
|
|
94
|
+
_: 1
|
|
95
|
+
})
|
|
96
|
+
]),
|
|
97
|
+
default: n(() => [
|
|
98
|
+
t(o(F), { level: 1 }, {
|
|
99
|
+
default: n(() => {
|
|
100
|
+
var i;
|
|
101
|
+
return [
|
|
102
|
+
c(s((i = e.document.info) == null ? void 0 : i.title), 1)
|
|
103
|
+
];
|
|
104
|
+
}),
|
|
105
|
+
_: 1
|
|
106
|
+
})
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 8, ["loading"]),
|
|
110
|
+
t(o(Q), null, {
|
|
111
|
+
default: n(() => [
|
|
112
|
+
t(o(V), null, {
|
|
113
|
+
default: n(() => {
|
|
114
|
+
var i, a;
|
|
115
|
+
return [
|
|
116
|
+
f("div", Z, [
|
|
117
|
+
t(o(W), {
|
|
118
|
+
title: (i = e.document.info) == null ? void 0 : i.title
|
|
119
|
+
}, null, 8, ["title"])
|
|
120
|
+
]),
|
|
121
|
+
t(w, {
|
|
122
|
+
value: (a = e.document.info) == null ? void 0 : a.description
|
|
123
|
+
}, null, 8, ["value"])
|
|
124
|
+
];
|
|
125
|
+
}),
|
|
126
|
+
_: 1
|
|
127
|
+
}),
|
|
128
|
+
e.$slots.aside ? (u(), r(o(V), { key: 0 }, {
|
|
129
|
+
default: n(() => [
|
|
130
|
+
f("div", x, [
|
|
131
|
+
I(e.$slots, "aside", {}, void 0, !0)
|
|
132
|
+
])
|
|
133
|
+
]),
|
|
134
|
+
_: 3
|
|
135
|
+
})) : d("", !0)
|
|
136
|
+
]),
|
|
137
|
+
_: 3
|
|
138
|
+
}),
|
|
139
|
+
t(o(_), { value: e.document }, null, 8, ["value"]),
|
|
140
|
+
t(o(_), {
|
|
141
|
+
value: e.document.info
|
|
142
|
+
}, null, 8, ["value"])
|
|
143
|
+
];
|
|
144
|
+
}),
|
|
145
|
+
_: 3
|
|
146
|
+
}, 8, ["loading"]),
|
|
147
|
+
I(e.$slots, "after", {}, void 0, !0)
|
|
148
|
+
];
|
|
149
|
+
}),
|
|
150
|
+
_: 3
|
|
151
|
+
}, 8, ["id"])
|
|
152
|
+
]),
|
|
153
|
+
_: 3
|
|
154
|
+
}));
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
export {
|
|
158
|
+
$e as default
|
|
159
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
schemas?: Record<string, OpenAPIV3_1.SchemaObject> |
|
|
3
|
+
schemas?: Record<string, OpenAPIV3_1.SchemaObject> | undefined;
|
|
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=ClassicLayout.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ClassicLayout.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAgBxD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GAAG,SAAS,CAAA;CAC/D,CAAC;;AAqKF,wBAMG"}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useNavState as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as q, computed as x, createBlock as a, createCommentVNode as y, openBlock as t, unref as e, withCtx as o, createElementBlock as u, Fragment as v, renderList as k, createVNode as i, createTextVNode as N } from "vue";
|
|
2
|
+
import { useNavState as B } from "../../../hooks/useNavState.js";
|
|
3
|
+
import H from "../../Section/SectionContainerAccordion.vue.js";
|
|
4
|
+
import V from "../../Section/SectionAccordion.vue.js";
|
|
5
5
|
import S from "../Schema/SchemaProperty.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
6
|
+
import j from "../../Anchor/Anchor.vue.js";
|
|
7
|
+
import A from "../../Section/SectionHeaderTag.vue.js";
|
|
8
|
+
import L from "../Schema/SchemaHeading.vue.js";
|
|
9
|
+
import M from "../../Section/SectionHeader.vue.js";
|
|
10
|
+
const O = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "properties"
|
|
13
|
-
},
|
|
14
|
-
__name: "
|
|
13
|
+
}, T = { key: 1 }, J = /* @__PURE__ */ q({
|
|
14
|
+
__name: "ClassicLayout",
|
|
15
15
|
props: {
|
|
16
16
|
schemas: {}
|
|
17
17
|
},
|
|
18
18
|
setup(b) {
|
|
19
|
-
const s = b,
|
|
19
|
+
const s = b, C = x(() => s.schemas ? Object.entries(s.schemas).map(([m, n]) => ({
|
|
20
20
|
name: m,
|
|
21
|
-
schema:
|
|
22
|
-
})) : []), { getModelId:
|
|
23
|
-
return (m,
|
|
21
|
+
schema: n
|
|
22
|
+
})) : []), { getModelId: c } = B();
|
|
23
|
+
return (m, n) => s.schemas ? (t(), a(e(H), {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "reference-models"
|
|
26
26
|
}, {
|
|
27
27
|
title: o(() => [
|
|
28
|
-
|
|
29
|
-
default: o(() =>
|
|
28
|
+
i(e(M), { level: 2 }, {
|
|
29
|
+
default: o(() => n[0] || (n[0] = [
|
|
30
30
|
N("Models")
|
|
31
31
|
])),
|
|
32
32
|
_: 1,
|
|
@@ -34,20 +34,20 @@ const T = {
|
|
|
34
34
|
})
|
|
35
35
|
]),
|
|
36
36
|
default: o(() => [
|
|
37
|
-
(t(!0), u(v, null, k(
|
|
38
|
-
id: e(
|
|
37
|
+
(t(!0), u(v, null, k(C.value, ({ name: l, schema: r }) => (t(), a(e(V), {
|
|
38
|
+
id: e(c)({ name: l }),
|
|
39
39
|
key: l,
|
|
40
40
|
label: l
|
|
41
41
|
}, {
|
|
42
42
|
title: o(() => [
|
|
43
|
-
|
|
44
|
-
id: e(
|
|
43
|
+
i(e(j), {
|
|
44
|
+
id: e(c)({ name: l }),
|
|
45
45
|
class: "reference-models-anchor"
|
|
46
46
|
}, {
|
|
47
47
|
default: o(() => [
|
|
48
|
-
|
|
48
|
+
i(e(A), { level: 3 }, {
|
|
49
49
|
default: o(() => [
|
|
50
|
-
|
|
50
|
+
i(e(L), {
|
|
51
51
|
class: "reference-models-label",
|
|
52
52
|
name: r.title ?? l,
|
|
53
53
|
value: r
|
|
@@ -60,25 +60,25 @@ const T = {
|
|
|
60
60
|
}, 1032, ["id"])
|
|
61
61
|
]),
|
|
62
62
|
default: o(() => [
|
|
63
|
-
r != null && r.properties ? (t(), u("div",
|
|
64
|
-
(t(!0), u(v, null, k(Object.entries(r.properties), ([d,
|
|
63
|
+
r != null && r.properties ? (t(), u("div", O, [
|
|
64
|
+
(t(!0), u(v, null, k(Object.entries(r.properties), ([d, g]) => {
|
|
65
65
|
var f, p, _;
|
|
66
|
-
return t(),
|
|
66
|
+
return t(), a(e(S), {
|
|
67
67
|
key: d,
|
|
68
68
|
name: d,
|
|
69
69
|
required: ((f = r.required) == null ? void 0 : f.includes(d)) || ((_ = (p = r.properties) == null ? void 0 : p[d]) == null ? void 0 : _.required) === !0,
|
|
70
|
-
value:
|
|
70
|
+
value: g
|
|
71
71
|
}, null, 8, ["name", "required", "value"]);
|
|
72
72
|
}), 128))
|
|
73
|
-
])) : (t(), u("div",
|
|
74
|
-
|
|
73
|
+
])) : (t(), u("div", T, [
|
|
74
|
+
i(e(S), { value: r }, null, 8, ["value"])
|
|
75
75
|
]))
|
|
76
76
|
]),
|
|
77
77
|
_: 2
|
|
78
78
|
}, 1032, ["id", "label"]))), 128))
|
|
79
79
|
]),
|
|
80
80
|
_: 1
|
|
81
|
-
})) :
|
|
81
|
+
})) : y("", !0);
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
export {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
+
import type { ApiReferenceConfiguration } from '@scalar/types';
|
|
2
3
|
type __VLS_Props = {
|
|
3
|
-
|
|
4
|
+
document: OpenAPIV3_1.Document;
|
|
5
|
+
config: ApiReferenceConfiguration;
|
|
4
6
|
};
|
|
5
7
|
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
8
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAU9D,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAAA;IAC9B,MAAM,EAAE,yBAAyB,CAAA;CAClC,CAAC;;AAoFF,wBAMG"}
|
|
@@ -1,7 +1,40 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { defineComponent as r, createBlock as o, createCommentVNode as i, openBlock as s, unref as m, withCtx as u } from "vue";
|
|
2
|
+
import { useNavState as p } from "../../../hooks/useNavState.js";
|
|
3
|
+
import l from "./ClassicLayout.vue.js";
|
|
4
|
+
import d from "./ModernLayout.vue.js";
|
|
5
|
+
import f from "../../Lazy/Lazy.vue2.js";
|
|
6
|
+
const g = /* @__PURE__ */ r({
|
|
7
|
+
__name: "Models",
|
|
8
|
+
props: {
|
|
9
|
+
document: {},
|
|
10
|
+
config: {}
|
|
11
|
+
},
|
|
12
|
+
setup(h) {
|
|
13
|
+
const { hash: t } = p();
|
|
14
|
+
return (e, y) => {
|
|
15
|
+
var n, a;
|
|
16
|
+
return (a = (n = e.document) == null ? void 0 : n.components) != null && a.schemas ? (s(), o(m(f), {
|
|
17
|
+
key: 0,
|
|
18
|
+
id: "models",
|
|
19
|
+
isLazy: !!m(t) && !m(t).startsWith("model")
|
|
20
|
+
}, {
|
|
21
|
+
default: u(() => {
|
|
22
|
+
var c;
|
|
23
|
+
return [
|
|
24
|
+
((c = e.config) == null ? void 0 : c.layout) === "classic" ? (s(), o(l, {
|
|
25
|
+
key: 0,
|
|
26
|
+
schemas: e.document.components.schemas
|
|
27
|
+
}, null, 8, ["schemas"])) : (s(), o(d, {
|
|
28
|
+
key: 1,
|
|
29
|
+
schemas: e.document.components.schemas
|
|
30
|
+
}, null, 8, ["schemas"]))
|
|
31
|
+
];
|
|
32
|
+
}),
|
|
33
|
+
_: 1
|
|
34
|
+
}, 8, ["isLazy"])) : i("", !0);
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
5
38
|
export {
|
|
6
|
-
|
|
39
|
+
g as default
|
|
7
40
|
};
|
|
@@ -1,116 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ScalarErrorBoundary as H } from "@scalar/components";
|
|
3
|
-
import { useNavState as w } from "../../../hooks/useNavState.js";
|
|
4
|
-
import E from "../../ShowMoreButton.vue.js";
|
|
5
|
-
import { useSidebar as O } from "../../../features/sidebar/hooks/useSidebar.js";
|
|
6
|
-
import V from "../../Section/SectionContainer.vue.js";
|
|
7
|
-
import z from "../../Section/Section.vue.js";
|
|
8
|
-
import A from "../../Section/SectionHeader.vue.js";
|
|
9
|
-
import h from "../../Section/SectionHeaderTag.vue.js";
|
|
10
|
-
import S from "../Lazy/Lazy.vue2.js";
|
|
11
|
-
import T from "../../Section/CompactSection.vue.js";
|
|
12
|
-
import j from "../Schema/Schema.vue.js";
|
|
13
|
-
import D from "../Schema/SchemaHeading.vue.js";
|
|
14
|
-
const v = 10, Z = /* @__PURE__ */ M({
|
|
15
|
-
__name: "Models",
|
|
16
|
-
props: {
|
|
17
|
-
schemas: {}
|
|
18
|
-
},
|
|
19
|
-
setup(_) {
|
|
20
|
-
const i = _, n = k(), { collapsedSidebarItems: b } = O(), { getModelId: a } = w(), d = f(
|
|
21
|
-
() => Object.keys(i.schemas ?? {}).length <= v || b[a()]
|
|
22
|
-
), y = f(() => {
|
|
23
|
-
const l = Object.keys(i.schemas ?? {});
|
|
24
|
-
return d.value ? l : l.slice(0, v);
|
|
25
|
-
});
|
|
26
|
-
return (l, c) => l.schemas ? (r(), m(e(V), {
|
|
27
|
-
key: 0,
|
|
28
|
-
id: "models"
|
|
29
|
-
}, {
|
|
30
|
-
default: t(() => [
|
|
31
|
-
s(e(z), { "aria-labelledby": e(n) }, {
|
|
32
|
-
default: t(() => [
|
|
33
|
-
s(e(A), null, {
|
|
34
|
-
default: t(() => [
|
|
35
|
-
s(e(h), {
|
|
36
|
-
id: e(n),
|
|
37
|
-
level: 2
|
|
38
|
-
}, {
|
|
39
|
-
default: t(() => c[0] || (c[0] = [
|
|
40
|
-
g(" Models ")
|
|
41
|
-
])),
|
|
42
|
-
_: 1,
|
|
43
|
-
__: [0]
|
|
44
|
-
}, 8, ["id"])
|
|
45
|
-
]),
|
|
46
|
-
_: 1
|
|
47
|
-
}),
|
|
48
|
-
s(e(S), {
|
|
49
|
-
id: "models",
|
|
50
|
-
isLazy: !1
|
|
51
|
-
}),
|
|
52
|
-
N("div", {
|
|
53
|
-
class: I(["models-list", { "models-list-truncated": !d.value }])
|
|
54
|
-
}, [
|
|
55
|
-
(r(!0), C(L, null, B(y.value, (o) => (r(), m(e(S), {
|
|
56
|
-
id: e(a)({ name: o }),
|
|
57
|
-
key: o,
|
|
58
|
-
isLazy: ""
|
|
59
|
-
}, {
|
|
60
|
-
default: t(() => [
|
|
61
|
-
s(e(T), {
|
|
62
|
-
id: e(a)({ name: o }),
|
|
63
|
-
class: "models-list-item",
|
|
64
|
-
label: o
|
|
65
|
-
}, {
|
|
66
|
-
heading: t(() => [
|
|
67
|
-
s(e(h), { level: 3 }, {
|
|
68
|
-
default: t(() => {
|
|
69
|
-
var u;
|
|
70
|
-
return [
|
|
71
|
-
s(e(D), {
|
|
72
|
-
name: l.schemas[o].title ?? ((u = l.schemas[o].xml) == null ? void 0 : u.name) ?? o,
|
|
73
|
-
value: l.schemas[o]
|
|
74
|
-
}, null, 8, ["name", "value"])
|
|
75
|
-
];
|
|
76
|
-
}),
|
|
77
|
-
_: 2
|
|
78
|
-
}, 1024)
|
|
79
|
-
]),
|
|
80
|
-
default: t(() => [
|
|
81
|
-
s(e(H), null, {
|
|
82
|
-
default: t(() => [
|
|
83
|
-
s(e(j), {
|
|
84
|
-
noncollapsible: "",
|
|
85
|
-
hideHeading: !0,
|
|
86
|
-
hideModelNames: !0,
|
|
87
|
-
schemas: l.schemas,
|
|
88
|
-
level: 1,
|
|
89
|
-
value: l.schemas[o]
|
|
90
|
-
}, null, 8, ["schemas", "value"])
|
|
91
|
-
]),
|
|
92
|
-
_: 2
|
|
93
|
-
}, 1024)
|
|
94
|
-
]),
|
|
95
|
-
_: 2
|
|
96
|
-
}, 1032, ["id", "label"])
|
|
97
|
-
]),
|
|
98
|
-
_: 2
|
|
99
|
-
}, 1032, ["id"]))), 128))
|
|
100
|
-
], 2),
|
|
101
|
-
d.value ? p("", !0) : (r(), m(E, {
|
|
102
|
-
key: 0,
|
|
103
|
-
id: e(a)(),
|
|
104
|
-
class: "show-more-models"
|
|
105
|
-
}, null, 8, ["id"]))
|
|
106
|
-
]),
|
|
107
|
-
_: 1
|
|
108
|
-
}, 8, ["aria-labelledby"])
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
})) : p("", !0);
|
|
112
|
-
}
|
|
113
|
-
});
|
|
1
|
+
import f from "./Models.vue.js";
|
|
114
2
|
export {
|
|
115
|
-
|
|
3
|
+
f as default
|
|
116
4
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
schemas?: Record<string, OpenAPIV3_1.SchemaObject>;
|
|
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=ModernLayout.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModernLayout.vue"],"names":[],"mappings":"AA+GA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAkBxD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,CAAA;CACnD,CAAC;;AAuLF,wBAMG"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { defineComponent as _, useId as y, computed as u, createBlock as m, createCommentVNode as f, openBlock as a, unref as e, withCtx as o, createVNode as r, createElementVNode as M, createTextVNode as k, normalizeClass as N, createElementBlock as g, Fragment as I, renderList as C } from "vue";
|
|
2
|
+
import { ScalarErrorBoundary as B } from "@scalar/components";
|
|
3
|
+
import H from "../../ShowMoreButton.vue.js";
|
|
4
|
+
import { useNavState as L } from "../../../hooks/useNavState.js";
|
|
5
|
+
import { useSidebar as w } from "../../../features/sidebar/hooks/useSidebar.js";
|
|
6
|
+
import E from "../../Section/SectionContainer.vue.js";
|
|
7
|
+
import O from "../../Section/Section.vue.js";
|
|
8
|
+
import V from "../../Section/SectionHeader.vue.js";
|
|
9
|
+
import p from "../../Section/SectionHeaderTag.vue.js";
|
|
10
|
+
import A from "../../Section/CompactSection.vue.js";
|
|
11
|
+
import T from "../Schema/Schema.vue.js";
|
|
12
|
+
import j from "../Schema/SchemaHeading.vue.js";
|
|
13
|
+
const h = 10, R = /* @__PURE__ */ _({
|
|
14
|
+
__name: "ModernLayout",
|
|
15
|
+
props: {
|
|
16
|
+
schemas: {}
|
|
17
|
+
},
|
|
18
|
+
setup(S) {
|
|
19
|
+
const i = S, n = y(), { collapsedSidebarItems: v } = w(), { getModelId: s } = L(), d = u(
|
|
20
|
+
() => Object.keys(i.schemas ?? {}).length <= h || v[s()]
|
|
21
|
+
), b = u(() => {
|
|
22
|
+
const l = Object.keys(i.schemas ?? {});
|
|
23
|
+
return d.value ? l : l.slice(0, h);
|
|
24
|
+
});
|
|
25
|
+
return (l, c) => l.schemas ? (a(), m(e(E), {
|
|
26
|
+
key: 0,
|
|
27
|
+
id: "models"
|
|
28
|
+
}, {
|
|
29
|
+
default: o(() => [
|
|
30
|
+
r(e(O), { "aria-labelledby": e(n) }, {
|
|
31
|
+
default: o(() => [
|
|
32
|
+
r(e(V), null, {
|
|
33
|
+
default: o(() => [
|
|
34
|
+
r(e(p), {
|
|
35
|
+
id: e(n),
|
|
36
|
+
level: 2
|
|
37
|
+
}, {
|
|
38
|
+
default: o(() => c[0] || (c[0] = [
|
|
39
|
+
k(" Models ")
|
|
40
|
+
])),
|
|
41
|
+
_: 1,
|
|
42
|
+
__: [0]
|
|
43
|
+
}, 8, ["id"])
|
|
44
|
+
]),
|
|
45
|
+
_: 1
|
|
46
|
+
}),
|
|
47
|
+
M("div", {
|
|
48
|
+
class: N(["models-list", { "models-list-truncated": !d.value }])
|
|
49
|
+
}, [
|
|
50
|
+
(a(!0), g(I, null, C(b.value, (t) => (a(), m(e(A), {
|
|
51
|
+
key: t,
|
|
52
|
+
id: e(s)({ name: t }),
|
|
53
|
+
class: "models-list-item",
|
|
54
|
+
label: t
|
|
55
|
+
}, {
|
|
56
|
+
heading: o(() => [
|
|
57
|
+
r(e(p), { level: 3 }, {
|
|
58
|
+
default: o(() => [
|
|
59
|
+
r(e(j), {
|
|
60
|
+
name: l.schemas[t].title ?? t,
|
|
61
|
+
value: l.schemas[t]
|
|
62
|
+
}, null, 8, ["name", "value"])
|
|
63
|
+
]),
|
|
64
|
+
_: 2
|
|
65
|
+
}, 1024)
|
|
66
|
+
]),
|
|
67
|
+
default: o(() => [
|
|
68
|
+
r(e(B), null, {
|
|
69
|
+
default: o(() => [
|
|
70
|
+
r(e(T), {
|
|
71
|
+
noncollapsible: "",
|
|
72
|
+
hideHeading: !0,
|
|
73
|
+
hideModelNames: !0,
|
|
74
|
+
schemas: l.schemas,
|
|
75
|
+
level: 1,
|
|
76
|
+
value: l.schemas[t]
|
|
77
|
+
}, null, 8, ["schemas", "value"])
|
|
78
|
+
]),
|
|
79
|
+
_: 2
|
|
80
|
+
}, 1024)
|
|
81
|
+
]),
|
|
82
|
+
_: 2
|
|
83
|
+
}, 1032, ["id", "label"]))), 128))
|
|
84
|
+
], 2),
|
|
85
|
+
d.value ? f("", !0) : (a(), m(H, {
|
|
86
|
+
key: 0,
|
|
87
|
+
id: e(s)(),
|
|
88
|
+
class: "show-more-models"
|
|
89
|
+
}, null, 8, ["id"]))
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}, 8, ["aria-labelledby"])
|
|
93
|
+
]),
|
|
94
|
+
_: 1
|
|
95
|
+
})) : f("", !0);
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
R as default
|
|
100
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
|
|
2
|
+
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
3
|
+
import type { ApiReferenceConfiguration } from '@scalar/types';
|
|
4
|
+
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
5
|
+
import { type TraversedEntry } from '../../../features/traverse-schema';
|
|
6
|
+
import type { ClientOptionGroup } from '../../../v2/blocks/scalar-request-example-block/types';
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
level?: number;
|
|
9
|
+
entries: TraversedEntry[];
|
|
10
|
+
document: OpenAPIV3_1.Document;
|
|
11
|
+
config: ApiReferenceConfiguration;
|
|
12
|
+
clientOptions: ClientOptionGroup[];
|
|
13
|
+
activeCollection: Collection;
|
|
14
|
+
activeServer: Server | undefined;
|
|
15
|
+
store: WorkspaceStore;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
18
|
+
currentIndex: import("vue").ComputedRef<number>;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=TraversedEntry.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TraversedEntry.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operations/TraversedEntry.vue"],"names":[],"mappings":"AA6IA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAOpE,OAAO,EACL,KAAK,cAAc,EAGpB,MAAM,4BAA4B,CAAA;AAGnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAA;AAIvF,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAAA;IAC9B,MAAM,EAAE,yBAAyB,CAAA;IACjC,aAAa,EAAE,iBAAiB,EAAE,CAAA;IAClC,gBAAgB,EAAE,UAAU,CAAA;IAC5B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;;;;AAwKF,wBAOG"}
|