@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
|
@@ -1,162 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { useWorkspace as P, useActiveEntities as Q } from "@scalar/api-client/store";
|
|
3
|
-
import { RequestAuth as T } from "@scalar/api-client/views/Request/RequestSection/RequestAuth";
|
|
4
|
-
import { ScalarErrorBoundary as X } from "@scalar/components";
|
|
5
|
-
import { getSlugUid as Y } from "@scalar/oas-utils/transforms";
|
|
6
|
-
import { useConfig as Z } from "../../hooks/useConfig.js";
|
|
7
|
-
import _ from "./Lazy/Loading.vue.js";
|
|
8
|
-
/* empty css */
|
|
9
|
-
import x from "./Introduction/Introduction.vue.js";
|
|
10
|
-
import ee from "../../features/base-url/BaseUrl.vue.js";
|
|
11
|
-
import te from "./ClientLibraries/ClientLibraries.vue.js";
|
|
12
|
-
import y from "./Tag/TagList.vue.js";
|
|
13
|
-
import oe from "./Models/ModelsAccordion.vue.js";
|
|
14
|
-
import re from "./Models/Models.vue.js";
|
|
15
|
-
const se = { class: "narrow-references-container" }, ae = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "scalar-reference-intro-server scalar-client introduction-card-item text-sm leading-normal [--scalar-address-bar-height:0px]"
|
|
18
|
-
}, ce = {
|
|
19
|
-
key: 1,
|
|
20
|
-
class: "scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"
|
|
21
|
-
}, be = /* @__PURE__ */ D({
|
|
22
|
-
__name: "Content",
|
|
23
|
-
props: {
|
|
24
|
-
document: {},
|
|
25
|
-
parsedSpec: {},
|
|
26
|
-
layout: { default: "modern" }
|
|
27
|
-
},
|
|
28
|
-
setup(L) {
|
|
29
|
-
const j = L, u = Z(), { collections: q, securitySchemes: z, servers: h } = P(), {
|
|
30
|
-
activeCollection: F,
|
|
31
|
-
activeEnvVariables: G,
|
|
32
|
-
activeEnvironment: I,
|
|
33
|
-
activeWorkspace: S
|
|
34
|
-
} = Q(), o = p(() => {
|
|
35
|
-
if (u.value.slug) {
|
|
36
|
-
const e = q[Y(u.value.slug)];
|
|
37
|
-
if (e)
|
|
38
|
-
return e;
|
|
39
|
-
}
|
|
40
|
-
return F.value;
|
|
41
|
-
}), a = p(() => {
|
|
42
|
-
if (o.value) {
|
|
43
|
-
if (o.value.selectedServerUid) {
|
|
44
|
-
const e = h[o.value.selectedServerUid];
|
|
45
|
-
if (e)
|
|
46
|
-
return e;
|
|
47
|
-
}
|
|
48
|
-
return h[o.value.servers[0]];
|
|
49
|
-
}
|
|
50
|
-
}), O = p(
|
|
51
|
-
() => j.layout === "classic" ? "after" : "aside"
|
|
52
|
-
);
|
|
53
|
-
return (e, k) => {
|
|
54
|
-
var g, b, C, w, A, V, E, U, $, B, N;
|
|
55
|
-
return r(), l(m, null, [
|
|
56
|
-
k[0] || (k[0] = H('<div class="section-flare" data-v-ff689cb1><div class="section-flare-item" data-v-ff689cb1></div><div class="section-flare-item" data-v-ff689cb1></div><div class="section-flare-item" data-v-ff689cb1></div><div class="section-flare-item" data-v-ff689cb1></div><div class="section-flare-item" data-v-ff689cb1></div><div class="section-flare-item" data-v-ff689cb1></div><div class="section-flare-item" data-v-ff689cb1></div><div class="section-flare-item" data-v-ff689cb1></div></div>', 1)),
|
|
57
|
-
M("div", se, [
|
|
58
|
-
f(e.$slots, "start", {}, void 0, !0),
|
|
59
|
-
o.value ? (r(), s(t(_), {
|
|
60
|
-
key: 0,
|
|
61
|
-
document: e.document,
|
|
62
|
-
collection: o.value,
|
|
63
|
-
layout: e.layout,
|
|
64
|
-
parsedSpec: e.parsedSpec,
|
|
65
|
-
server: a.value
|
|
66
|
-
}, null, 8, ["document", "collection", "layout", "parsedSpec", "server"])) : i("", !0),
|
|
67
|
-
(b = (g = e.document) == null ? void 0 : g.info) != null && b.title || (w = (C = e.document) == null ? void 0 : C.info) != null && w.description ? (r(), s(t(x), {
|
|
68
|
-
key: 1,
|
|
69
|
-
document: e.document
|
|
70
|
-
}, {
|
|
71
|
-
[O.value]: W(() => [
|
|
72
|
-
v(t(X), null, {
|
|
73
|
-
default: W(() => {
|
|
74
|
-
var n, c, d;
|
|
75
|
-
return [
|
|
76
|
-
M("div", {
|
|
77
|
-
class: J(["introduction-card", { "introduction-card-row": e.layout === "classic" }])
|
|
78
|
-
}, [
|
|
79
|
-
(c = (n = o.value) == null ? void 0 : n.servers) != null && c.length ? (r(), l("div", ae, [
|
|
80
|
-
v(t(ee), {
|
|
81
|
-
collection: o.value,
|
|
82
|
-
server: a.value
|
|
83
|
-
}, null, 8, ["collection", "server"])
|
|
84
|
-
])) : i("", !0),
|
|
85
|
-
o.value && t(S) && Object.keys(t(z) ?? {}).length ? (r(), l("div", ce, [
|
|
86
|
-
v(t(T), {
|
|
87
|
-
collection: o.value,
|
|
88
|
-
envVariables: t(G),
|
|
89
|
-
environment: t(I),
|
|
90
|
-
layout: "reference",
|
|
91
|
-
persistAuth: t(u).persistAuth,
|
|
92
|
-
selectedSecuritySchemeUids: ((d = o.value) == null ? void 0 : d.selectedSecuritySchemeUids) ?? [],
|
|
93
|
-
server: a.value,
|
|
94
|
-
title: "Authentication",
|
|
95
|
-
workspace: t(S)
|
|
96
|
-
}, null, 8, ["collection", "envVariables", "environment", "persistAuth", "selectedSecuritySchemeUids", "server", "workspace"])
|
|
97
|
-
])) : i("", !0),
|
|
98
|
-
v(t(te), { class: "introduction-card-item scalar-reference-intro-clients" })
|
|
99
|
-
], 2)
|
|
100
|
-
];
|
|
101
|
-
}),
|
|
102
|
-
_: 1
|
|
103
|
-
})
|
|
104
|
-
]),
|
|
105
|
-
_: 2
|
|
106
|
-
}, 1032, ["document"])) : f(e.$slots, "empty-state", { key: 2 }, void 0, !0),
|
|
107
|
-
e.parsedSpec.tags && o.value ? (r(), l(m, { key: 3 }, [
|
|
108
|
-
e.parsedSpec["x-tagGroups"] ? (r(!0), l(m, { key: 0 }, K(e.parsedSpec["x-tagGroups"], (n) => (r(), s(t(y), {
|
|
109
|
-
document: e.document,
|
|
110
|
-
key: n.name,
|
|
111
|
-
collection: o.value,
|
|
112
|
-
layout: e.layout,
|
|
113
|
-
server: a.value,
|
|
114
|
-
spec: e.parsedSpec,
|
|
115
|
-
tags: n.tags.map((c) => {
|
|
116
|
-
var d;
|
|
117
|
-
return (d = e.parsedSpec.tags) == null ? void 0 : d.find((R) => R.name === c);
|
|
118
|
-
}).filter((c) => !!c)
|
|
119
|
-
}, null, 8, ["document", "collection", "layout", "server", "spec", "tags"]))), 128)) : (r(), s(t(y), {
|
|
120
|
-
key: 1,
|
|
121
|
-
collection: o.value,
|
|
122
|
-
document: e.document,
|
|
123
|
-
layout: e.layout,
|
|
124
|
-
server: a.value,
|
|
125
|
-
spec: e.parsedSpec,
|
|
126
|
-
tags: e.parsedSpec.tags
|
|
127
|
-
}, null, 8, ["collection", "document", "layout", "server", "spec", "tags"]))
|
|
128
|
-
], 64)) : i("", !0),
|
|
129
|
-
(A = e.parsedSpec.webhooks) != null && A.length && o.value ? (r(), s(t(y), {
|
|
130
|
-
key: 4,
|
|
131
|
-
document: e.document,
|
|
132
|
-
id: "webhooks",
|
|
133
|
-
collection: o.value,
|
|
134
|
-
layout: e.layout,
|
|
135
|
-
server: a.value,
|
|
136
|
-
spec: e.parsedSpec,
|
|
137
|
-
tags: [
|
|
138
|
-
{
|
|
139
|
-
name: "Webhooks",
|
|
140
|
-
description: "",
|
|
141
|
-
operations: e.parsedSpec.webhooks
|
|
142
|
-
}
|
|
143
|
-
]
|
|
144
|
-
}, null, 8, ["document", "collection", "layout", "server", "spec", "tags"])) : i("", !0),
|
|
145
|
-
(E = (V = e.document) == null ? void 0 : V.components) != null && E.schemas && !t(u).hideModels ? (r(), l(m, { key: 5 }, [
|
|
146
|
-
e.layout === "classic" ? (r(), s(t(oe), {
|
|
147
|
-
key: 0,
|
|
148
|
-
schemas: ($ = (U = e.document) == null ? void 0 : U.components) == null ? void 0 : $.schemas
|
|
149
|
-
}, null, 8, ["schemas"])) : (r(), s(t(re), {
|
|
150
|
-
key: 1,
|
|
151
|
-
schemas: (N = (B = e.document) == null ? void 0 : B.components) == null ? void 0 : N.schemas
|
|
152
|
-
}, null, 8, ["schemas"]))
|
|
153
|
-
], 64)) : i("", !0),
|
|
154
|
-
f(e.$slots, "end", {}, void 0, !0)
|
|
155
|
-
])
|
|
156
|
-
], 64);
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
});
|
|
1
|
+
const e = "";
|
|
160
2
|
export {
|
|
161
|
-
|
|
3
|
+
e as default
|
|
162
4
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue"],"names":[],"mappings":"AAkIA,KAAK,WAAW,GAAG;IACjB,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;;AAyKF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Description.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./Description.vue3.js";
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d2a06436"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as default
|
|
7
7
|
};
|
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
+
import type { ApiReferenceConfiguration } from '@scalar/types';
|
|
3
|
+
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
4
|
+
import type { ClientOptionGroup } from '../../../v2/blocks/scalar-request-example-block/types';
|
|
2
5
|
type __VLS_Props = {
|
|
3
6
|
document: OpenAPIV3_1.Document;
|
|
7
|
+
config?: ApiReferenceConfiguration;
|
|
8
|
+
clientOptions: ClientOptionGroup[];
|
|
9
|
+
store: WorkspaceStore;
|
|
4
10
|
};
|
|
5
|
-
declare
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
slots: {
|
|
8
|
-
aside?(_: {}): any;
|
|
9
|
-
after?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: HTMLDivElement;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
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, {}, HTMLDivElement>;
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
|
+
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>;
|
|
17
12
|
export default _default;
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
13
|
//# sourceMappingURL=Introduction.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"AAkNA,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;AAMpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAA;AAOvF,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAAA;IAC9B,MAAM,CAAC,EAAE,yBAAyB,CAAA;IAClC,aAAa,EAAE,iBAAiB,EAAE,CAAA;IAClC,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;;AA8NF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Introduction.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./Introduction.vue3.js";
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e8c6528c"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,127 +1,112 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import R from "
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { defineComponent as V, computed as s, createBlock as y, openBlock as i, unref as t, withCtx as a, createVNode as o, createElementVNode as B, normalizeClass as N, createElementBlock as C, createCommentVNode as l } from "vue";
|
|
2
|
+
import { useWorkspace as _, useActiveEntities as z } from "@scalar/api-client/store";
|
|
3
|
+
import { RequestAuth as L } from "@scalar/api-client/views/Request/RequestSection/RequestAuth";
|
|
4
|
+
import { ScalarErrorBoundary as W } from "@scalar/components";
|
|
5
|
+
import { getSlugUid as D } from "@scalar/oas-utils/transforms";
|
|
6
|
+
import { useNavState as I } from "../../../hooks/useNavState.js";
|
|
7
|
+
import $ from "./IntroductionSection.vue.js";
|
|
8
|
+
import j from "../../Lazy/Lazy.vue2.js";
|
|
9
|
+
import q from "../../../features/base-url/BaseUrl.vue.js";
|
|
10
|
+
import R from "../ClientLibraries/ClientLibraries.vue.js";
|
|
11
|
+
const F = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"
|
|
14
|
+
}, G = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"
|
|
17
|
+
}, x = /* @__PURE__ */ V({
|
|
18
18
|
__name: "Introduction",
|
|
19
19
|
props: {
|
|
20
|
-
document: {}
|
|
20
|
+
document: {},
|
|
21
|
+
config: {},
|
|
22
|
+
clientOptions: {},
|
|
23
|
+
store: {}
|
|
21
24
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
setup(n) {
|
|
26
|
+
const { collections: b, securitySchemes: w, servers: u } = _(), {
|
|
27
|
+
activeCollection: A,
|
|
28
|
+
activeEnvVariables: E,
|
|
29
|
+
activeEnvironment: O,
|
|
30
|
+
activeWorkspace: d
|
|
31
|
+
} = z(), r = s(() => {
|
|
32
|
+
var e;
|
|
33
|
+
if ((e = n.config) != null && e.slug) {
|
|
34
|
+
const c = b[D(n.config.slug)];
|
|
35
|
+
if (c)
|
|
36
|
+
return c;
|
|
37
|
+
}
|
|
38
|
+
return A.value;
|
|
39
|
+
}), m = s(() => {
|
|
40
|
+
if (r.value) {
|
|
41
|
+
if (r.value.selectedServerUid) {
|
|
42
|
+
const e = u[r.value.selectedServerUid];
|
|
43
|
+
if (e)
|
|
44
|
+
return e;
|
|
45
|
+
}
|
|
46
|
+
return u[r.value.servers[0]];
|
|
47
|
+
}
|
|
48
|
+
}), U = s(
|
|
49
|
+
() => {
|
|
50
|
+
var e;
|
|
51
|
+
return ((e = n.config) == null ? void 0 : e.layout) === "classic" ? "after" : "aside";
|
|
52
|
+
}
|
|
53
|
+
), { hash: v } = I();
|
|
54
|
+
return (e, c) => (i(), y(t(j), {
|
|
55
|
+
id: "introduction-card",
|
|
56
|
+
isLazy: !!t(v) && !t(v).startsWith("description")
|
|
57
|
+
}, {
|
|
58
|
+
default: a(() => [
|
|
59
|
+
o($, {
|
|
60
|
+
document: e.document,
|
|
61
|
+
config: e.config
|
|
39
62
|
}, {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
n(e(L), null, {
|
|
83
|
-
default: t(() => {
|
|
84
|
-
var d, h;
|
|
85
|
-
return [
|
|
86
|
-
n(B, {
|
|
87
|
-
title: (d = o.document.info) == null ? void 0 : d.title
|
|
88
|
-
}, null, 8, ["title"]),
|
|
89
|
-
n(H, {
|
|
90
|
-
value: (h = o.document.info) == null ? void 0 : h.description
|
|
91
|
-
}, null, 8, ["value"])
|
|
92
|
-
];
|
|
93
|
-
}),
|
|
94
|
-
_: 1
|
|
95
|
-
}),
|
|
96
|
-
o.$slots.aside ? (l(), u(e(L), { key: 0 }, {
|
|
97
|
-
default: t(() => [
|
|
98
|
-
y("div", Y, [
|
|
99
|
-
k(o.$slots, "aside", {}, void 0, !0)
|
|
100
|
-
])
|
|
101
|
-
]),
|
|
102
|
-
_: 3
|
|
103
|
-
})) : m("", !0)
|
|
104
|
-
]),
|
|
105
|
-
_: 3
|
|
106
|
-
}),
|
|
107
|
-
n(e(O), { value: o.document }, null, 8, ["value"]),
|
|
108
|
-
n(e(O), {
|
|
109
|
-
value: o.document.info
|
|
110
|
-
}, null, 8, ["value"])
|
|
111
|
-
];
|
|
112
|
-
}),
|
|
113
|
-
_: 3
|
|
114
|
-
}, 8, ["loading"]),
|
|
115
|
-
k(o.$slots, "after", {}, void 0, !0)
|
|
116
|
-
];
|
|
117
|
-
}),
|
|
118
|
-
_: 3
|
|
119
|
-
}, 8, ["id"])
|
|
63
|
+
[U.value]: a(() => [
|
|
64
|
+
o(t(W), null, {
|
|
65
|
+
default: a(() => {
|
|
66
|
+
var f, p, h, g, S, k;
|
|
67
|
+
return [
|
|
68
|
+
B("div", {
|
|
69
|
+
class: N(["introduction-card", { "introduction-card-row": ((f = e.config) == null ? void 0 : f.layout) === "classic" }])
|
|
70
|
+
}, [
|
|
71
|
+
(h = (p = r.value) == null ? void 0 : p.servers) != null && h.length ? (i(), C("div", F, [
|
|
72
|
+
o(t(q), {
|
|
73
|
+
collection: r.value,
|
|
74
|
+
server: m.value
|
|
75
|
+
}, null, 8, ["collection", "server"])
|
|
76
|
+
])) : l("", !0),
|
|
77
|
+
r.value && t(d) && Object.keys(t(w) ?? {}).length ? (i(), C("div", G, [
|
|
78
|
+
o(t(L), {
|
|
79
|
+
collection: r.value,
|
|
80
|
+
envVariables: t(E),
|
|
81
|
+
environment: t(O),
|
|
82
|
+
layout: "reference",
|
|
83
|
+
persistAuth: (g = e.config) == null ? void 0 : g.persistAuth,
|
|
84
|
+
selectedSecuritySchemeUids: ((S = r.value) == null ? void 0 : S.selectedSecuritySchemeUids) ?? [],
|
|
85
|
+
server: m.value,
|
|
86
|
+
title: "Authentication",
|
|
87
|
+
workspace: t(d)
|
|
88
|
+
}, null, 8, ["collection", "envVariables", "environment", "persistAuth", "selectedSecuritySchemeUids", "server", "workspace"])
|
|
89
|
+
])) : l("", !0),
|
|
90
|
+
((k = e.config) == null ? void 0 : k.hiddenClients) !== !0 && e.clientOptions.length && e.store.workspace.activeDocument ? (i(), y(t(R), {
|
|
91
|
+
key: 2,
|
|
92
|
+
clientOptions: e.clientOptions,
|
|
93
|
+
document: e.store.workspace.activeDocument,
|
|
94
|
+
selectedClient: e.store.workspace["x-scalar-default-client"],
|
|
95
|
+
class: "introduction-card-item scalar-reference-intro-clients"
|
|
96
|
+
}, null, 8, ["clientOptions", "document", "selectedClient"])) : l("", !0)
|
|
97
|
+
], 2)
|
|
98
|
+
];
|
|
99
|
+
}),
|
|
100
|
+
_: 1
|
|
101
|
+
})
|
|
102
|
+
]),
|
|
103
|
+
_: 2
|
|
104
|
+
}, 1032, ["document", "config"])
|
|
120
105
|
]),
|
|
121
|
-
_:
|
|
122
|
-
}));
|
|
106
|
+
_: 1
|
|
107
|
+
}, 8, ["isLazy"]));
|
|
123
108
|
}
|
|
124
109
|
});
|
|
125
110
|
export {
|
|
126
|
-
|
|
111
|
+
x as default
|
|
127
112
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
+
import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
document: OpenAPIV3_1.Document;
|
|
5
|
+
config?: ApiReferenceConfiguration;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
aside?(_: {}): any;
|
|
11
|
+
after?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
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>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=IntroductionSection.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntroductionSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/IntroductionSection.vue"],"names":[],"mappings":"AA6HA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAyB5E,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAAA;IAC9B,MAAM,CAAC,EAAE,yBAAyB,CAAA;CACnC,CAAC;AAgCF,iBAAS,cAAc;WA2NT,OAAO,IAA6B;;uBATrB,GAAG;uBACH,GAAG;;;;EAa/B;AA4BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|