@scalar/api-reference 1.49.0 → 1.49.1
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 +7 -0
- package/dist/AgentScalarChatInterface-MUbtSqMw.js +41 -0
- package/dist/AgentScalarChatInterface-MUbtSqMw.js.map +1 -0
- package/dist/ExternalDocs-phu7GxpZ.js +272 -0
- package/dist/ExternalDocs-phu7GxpZ.js.map +1 -0
- package/dist/MobileHeader-B71jYJdT.js +1373 -0
- package/dist/MobileHeader-B71jYJdT.js.map +1 -0
- package/dist/Operation-CixLVfKd.js +3827 -0
- package/dist/Operation-CixLVfKd.js.map +1 -0
- package/dist/SearchButton-xzhIpMCZ.js +621 -0
- package/dist/SearchButton-xzhIpMCZ.js.map +1 -0
- package/dist/ServerSelector-5y29y2BJ.js +852 -0
- package/dist/ServerSelector-5y29y2BJ.js.map +1 -0
- package/dist/blocks/index.js +3 -10
- package/dist/blocks/scalar-client-selector-block/index.d.ts +1 -1
- package/dist/blocks/scalar-info-block/index.d.ts +2 -2
- package/dist/blocks/scalar-server-selector-block/index.d.ts +1 -1
- package/dist/browser/standalone.js +40759 -34701
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/AgentScalar/index.d.ts +3 -3
- package/dist/components/Anchor/index.d.ts +2 -2
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Content/Auth/index.d.ts +1 -1
- package/dist/components/Content/Models/index.d.ts +2 -2
- package/dist/components/Content/Schema/Schema.vue.d.ts +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +2 -2
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/get-compositions-to-render.d.ts +1 -1
- package/dist/components/Content/Schema/index.d.ts +4 -4
- package/dist/components/Content/Tags/index.d.ts +1 -1
- package/dist/components/Content/index.d.ts +2 -2
- package/dist/components/HttpMethod/index.d.ts +1 -1
- package/dist/components/LinkList/index.d.ts +1 -1
- package/dist/components/OperationsList/index.d.ts +1 -1
- package/dist/components/RenderPlugins/index.d.ts +1 -1
- package/dist/components/Section/index.d.ts +10 -10
- package/dist/components/SectionFlare/index.d.ts +1 -1
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +102 -42
- package/dist/components/index.js.map +1 -0
- package/dist/features/Operation/components/OperationParameters.vue.d.ts +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.d.ts +1 -1
- package/dist/features/Operation/components/ParameterList.vue.d.ts +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +1 -1
- package/dist/features/Operation/index.d.ts +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +1 -1
- package/dist/features/Search/components/SearchResult.vue.d.ts +1 -1
- package/dist/features/Search/helpers/create-fuse-instance.d.ts +1 -1
- package/dist/features/Search/helpers/create-search-index.d.ts +1 -1
- package/dist/features/Search/index.d.ts +2 -2
- package/dist/features/Search/types.d.ts +1 -1
- package/dist/features/developer-tools/index.d.ts +1 -1
- package/dist/features/example-responses/index.d.ts +1 -1
- package/dist/features/external-docs/index.d.ts +1 -1
- package/dist/features/index.d.ts +2 -2
- package/dist/features/index.js +4 -10
- package/dist/features/info-object/index.d.ts +3 -3
- package/dist/features/specification-extension/index.d.ts +2 -2
- package/dist/features/test-request-button/index.d.ts +1 -1
- package/dist/features/x-badges/index.d.ts +1 -1
- package/dist/helpers/download.d.ts +1 -1
- package/dist/helpers/download.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +8 -8
- package/dist/helpers/index.js +3 -24
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +3 -8
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -14
- package/dist/lazy-bus-CV8Ox5hD.js +333 -0
- package/dist/lazy-bus-CV8Ox5hD.js.map +1 -0
- package/dist/normalize-configurations-DcVpOEjD.js +232 -0
- package/dist/normalize-configurations-DcVpOEjD.js.map +1 -0
- package/dist/plugins/hooks/usePluginManager.d.ts +1 -1
- package/dist/plugins/index.d.ts +3 -3
- package/dist/plugins/index.js +2 -9
- package/dist/plugins-4EyiUD_A.js +80 -0
- package/dist/plugins-4EyiUD_A.js.map +1 -0
- package/dist/src-DqcYVBWI.js +1686 -0
- package/dist/src-DqcYVBWI.js.map +1 -0
- package/dist/ssr.d.ts +2 -2
- package/dist/ssr.js +7 -14
- package/dist/storage--3JuzjCI.js +42 -0
- package/dist/storage--3JuzjCI.js.map +1 -0
- package/dist/style.css +6773 -7332
- package/dist/urls-gPTXGgbj.js +17 -0
- package/dist/urls-gPTXGgbj.js.map +1 -0
- package/dist/use-agent-Bnm1de0n.js +60 -0
- package/dist/use-agent-Bnm1de0n.js.map +1 -0
- package/dist/use-intersection-8QqPi2O-.js +24 -0
- package/dist/use-intersection-8QqPi2O-.js.map +1 -0
- package/package.json +25 -27
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +0 -7
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +0 -123
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +0 -7
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +0 -142
- package/dist/blocks/scalar-client-selector-block/helpers/featured-clients.js +0 -24
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +0 -7
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue2.js +0 -63
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.js +0 -59
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue2.js +0 -4
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue.js +0 -7
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue2.js +0 -70
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue.js +0 -38
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue2.js +0 -4
- package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.js +0 -38
- package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue2.js +0 -4
- package/dist/blocks/scalar-info-block/components/InfoVersion.vue.js +0 -28
- package/dist/blocks/scalar-info-block/components/InfoVersion.vue2.js +0 -4
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.js +0 -7
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue2.js +0 -19
- package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +0 -14
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +0 -7
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +0 -112
- package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.js +0 -21
- package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue2.js +0 -4
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.js +0 -76
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue2.js +0 -4
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +0 -72
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue2.js +0 -4
- package/dist/components/AgentScalar/AgentScalarButton.vue.js +0 -22
- package/dist/components/AgentScalar/AgentScalarButton.vue2.js +0 -4
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.js +0 -4
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue2.js +0 -29
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.js +0 -7
- package/dist/components/AgentScalar/AgentScalarDrawer.vue2.js +0 -78
- package/dist/components/AgentScalar/OpenMCPButton.vue.js +0 -7
- package/dist/components/AgentScalar/OpenMCPButton.vue2.js +0 -191
- package/dist/components/Anchor/Anchor.vue.js +0 -51
- package/dist/components/Anchor/Anchor.vue2.js +0 -4
- package/dist/components/Anchor/WithBreadcrumb.vue.js +0 -41
- package/dist/components/Anchor/WithBreadcrumb.vue2.js +0 -4
- package/dist/components/ApiReference.vue.js +0 -10
- package/dist/components/ApiReference.vue2.js +0 -742
- package/dist/components/Badge/Badge.vue.js +0 -7
- package/dist/components/Badge/Badge.vue2.js +0 -26
- package/dist/components/ClassicHeader.vue.js +0 -21
- package/dist/components/Content/Auth/Auth.vue.js +0 -77
- package/dist/components/Content/Auth/Auth.vue2.js +0 -4
- package/dist/components/Content/Auth/helpers/get-default-security.js +0 -55
- package/dist/components/Content/Content.vue.js +0 -171
- package/dist/components/Content/Content.vue3.js +0 -5
- package/dist/components/Content/Models/Model.vue.js +0 -47
- package/dist/components/Content/Models/Model.vue2.js +0 -4
- package/dist/components/Content/Models/ModelTag.vue.js +0 -76
- package/dist/components/Content/Models/ModelTag.vue2.js +0 -4
- package/dist/components/Content/Models/components/ClassicLayout.vue.js +0 -7
- package/dist/components/Content/Models/components/ClassicLayout.vue2.js +0 -78
- package/dist/components/Content/Models/components/ModernLayout.vue.js +0 -61
- package/dist/components/Content/Models/components/ModernLayout.vue2.js +0 -4
- package/dist/components/Content/Operations/TraversedEntry.vue.js +0 -146
- package/dist/components/Content/Operations/TraversedEntry.vue2.js +0 -4
- package/dist/components/Content/Schema/RenderString.vue.js +0 -27
- package/dist/components/Content/Schema/RenderString.vue2.js +0 -4
- package/dist/components/Content/Schema/Schema.vue.js +0 -7
- package/dist/components/Content/Schema/Schema.vue2.js +0 -193
- package/dist/components/Content/Schema/SchemaComposition.vue.js +0 -120
- package/dist/components/Content/Schema/SchemaComposition.vue2.js +0 -4
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +0 -7
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue2.js +0 -36
- package/dist/components/Content/Schema/SchemaEnums.vue.js +0 -7
- package/dist/components/Content/Schema/SchemaEnums.vue2.js +0 -112
- package/dist/components/Content/Schema/SchemaHeading.vue.js +0 -7
- package/dist/components/Content/Schema/SchemaHeading.vue2.js +0 -61
- package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue.js +0 -66
- package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue2.js +0 -4
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +0 -120
- package/dist/components/Content/Schema/SchemaObjectProperties.vue2.js +0 -4
- package/dist/components/Content/Schema/SchemaProperty.vue.js +0 -7
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +0 -236
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.js +0 -7
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue2.js +0 -45
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +0 -7
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +0 -40
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +0 -7
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +0 -80
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +0 -7
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +0 -318
- package/dist/components/Content/Schema/helpers/format-example.js +0 -41
- package/dist/components/Content/Schema/helpers/format-value.js +0 -35
- package/dist/components/Content/Schema/helpers/get-compositions-to-render.js +0 -31
- package/dist/components/Content/Schema/helpers/get-enum-values.js +0 -20
- package/dist/components/Content/Schema/helpers/get-property-description.js +0 -34
- package/dist/components/Content/Schema/helpers/get-ref-name.js +0 -14
- package/dist/components/Content/Schema/helpers/get-schema-type.js +0 -47
- package/dist/components/Content/Schema/helpers/has-complex-array-items.js +0 -48
- package/dist/components/Content/Schema/helpers/is-empty-schema-object.js +0 -13
- package/dist/components/Content/Schema/helpers/is-type-object.js +0 -27
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +0 -215
- package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +0 -64
- package/dist/components/Content/Schema/helpers/schema-composition.js +0 -4
- package/dist/components/Content/Schema/helpers/schema-name.js +0 -24
- package/dist/components/Content/Schema/helpers/should-display-description.js +0 -12
- package/dist/components/Content/Schema/helpers/should-display-heading.js +0 -12
- package/dist/components/Content/Schema/helpers/should-render-array-item-composition.js +0 -15
- package/dist/components/Content/Schema/helpers/sort-property-names.js +0 -71
- package/dist/components/Content/Tags/Tag.vue.js +0 -46
- package/dist/components/Content/Tags/Tag.vue2.js +0 -4
- package/dist/components/Content/Tags/components/ClassicLayout.vue.js +0 -7
- package/dist/components/Content/Tags/components/ClassicLayout.vue2.js +0 -57
- package/dist/components/Content/Tags/components/ModernLayout.vue.js +0 -7
- package/dist/components/Content/Tags/components/ModernLayout.vue2.js +0 -56
- package/dist/components/Content/Tags/components/TagSection.vue.js +0 -100
- package/dist/components/Content/Tags/components/TagSection.vue2.js +0 -4
- package/dist/components/GettingStarted.vue.js +0 -7
- package/dist/components/GettingStarted.vue2.js +0 -82
- package/dist/components/HttpMethod/HttpMethod.vue.js +0 -34
- package/dist/components/HttpMethod/HttpMethod.vue2.js +0 -4
- package/dist/components/IntersectionObserver.vue.js +0 -55
- package/dist/components/IntersectionObserver.vue2.js +0 -4
- package/dist/components/Lazy/Lazy.vue.js +0 -106
- package/dist/components/Lazy/Lazy.vue2.js +0 -4
- package/dist/components/LinkList/LinkList.vue.js +0 -7
- package/dist/components/LinkList/LinkList.vue2.js +0 -48
- package/dist/components/LoadingSkeleton.vue.js +0 -7
- package/dist/components/LoadingSkeleton.vue2.js +0 -20
- package/dist/components/MobileHeader.vue.js +0 -62
- package/dist/components/MobileHeader.vue2.js +0 -4
- package/dist/components/OperationPath.vue.js +0 -7
- package/dist/components/OperationPath.vue2.js +0 -30
- package/dist/components/OperationsList/OperationsList.vue.js +0 -7
- package/dist/components/OperationsList/OperationsList.vue2.js +0 -61
- package/dist/components/OperationsList/OperationsListItem.vue.js +0 -7
- package/dist/components/OperationsList/OperationsListItem.vue2.js +0 -68
- package/dist/components/RenderPlugins/RenderPlugins.vue.js +0 -43
- package/dist/components/RenderPlugins/RenderPlugins.vue2.js +0 -4
- package/dist/components/ScreenReader.vue.js +0 -7
- package/dist/components/ScreenReader.vue2.js +0 -21
- package/dist/components/Section/CompactSection.vue.js +0 -7
- package/dist/components/Section/CompactSection.vue2.js +0 -60
- package/dist/components/Section/Section.vue.js +0 -7
- package/dist/components/Section/Section.vue2.js +0 -23
- package/dist/components/Section/SectionAccordion.vue.js +0 -7
- package/dist/components/Section/SectionAccordion.vue2.js +0 -76
- package/dist/components/Section/SectionColumn.vue.js +0 -14
- package/dist/components/Section/SectionColumns.vue.js +0 -14
- package/dist/components/Section/SectionContainer.vue.js +0 -7
- package/dist/components/Section/SectionContainer.vue2.js +0 -21
- package/dist/components/Section/SectionContainerAccordion.vue.js +0 -7
- package/dist/components/Section/SectionContainerAccordion.vue2.js +0 -54
- package/dist/components/Section/SectionContent.vue.js +0 -7
- package/dist/components/Section/SectionContent.vue2.js +0 -22
- package/dist/components/Section/SectionHeader.vue.js +0 -7
- package/dist/components/Section/SectionHeader.vue2.js +0 -26
- package/dist/components/Section/SectionHeaderTag.vue.js +0 -7
- package/dist/components/Section/SectionHeaderTag.vue2.js +0 -20
- package/dist/components/SectionFlare/SectionFlare.vue.js +0 -14
- package/dist/components/ShowMoreButton.vue.js +0 -7
- package/dist/components/ShowMoreButton.vue2.js +0 -23
- package/dist/consts/urls.js +0 -16
- package/dist/features/Operation/Operation.vue.js +0 -100
- package/dist/features/Operation/Operation.vue2.js +0 -4
- package/dist/features/Operation/components/ContentTypeSelect.vue.js +0 -88
- package/dist/features/Operation/components/ContentTypeSelect.vue2.js +0 -4
- package/dist/features/Operation/components/Header.vue.js +0 -33
- package/dist/features/Operation/components/Header.vue2.js +0 -4
- package/dist/features/Operation/components/Headers.vue.js +0 -7
- package/dist/features/Operation/components/Headers.vue2.js +0 -71
- package/dist/features/Operation/components/OperationParameters.vue.js +0 -92
- package/dist/features/Operation/components/OperationParameters.vue2.js +0 -4
- package/dist/features/Operation/components/OperationResponses.vue.js +0 -44
- package/dist/features/Operation/components/OperationResponses.vue2.js +0 -4
- package/dist/features/Operation/components/ParameterList.vue.js +0 -50
- package/dist/features/Operation/components/ParameterList.vue2.js +0 -4
- package/dist/features/Operation/components/ParameterListItem.vue.js +0 -7
- package/dist/features/Operation/components/ParameterListItem.vue2.js +0 -163
- package/dist/features/Operation/components/RequestBody.vue.js +0 -7
- package/dist/features/Operation/components/RequestBody.vue2.js +0 -164
- package/dist/features/Operation/components/callbacks/Callback.vue.js +0 -7
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +0 -60
- package/dist/features/Operation/components/callbacks/Callbacks.vue.js +0 -63
- package/dist/features/Operation/components/callbacks/Callbacks.vue2.js +0 -4
- package/dist/features/Operation/helpers/filter-selected-security.js +0 -28
- package/dist/features/Operation/helpers/get-first-server.js +0 -25
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +0 -7
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +0 -243
- package/dist/features/Operation/layouts/ModernLayout.vue.js +0 -7
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +0 -256
- package/dist/features/Search/components/SearchButton.vue.js +0 -88
- package/dist/features/Search/components/SearchButton.vue2.js +0 -4
- package/dist/features/Search/components/SearchModal.vue.js +0 -7
- package/dist/features/Search/components/SearchModal.vue2.js +0 -120
- package/dist/features/Search/components/SearchResult.vue.js +0 -84
- package/dist/features/Search/components/SearchResult.vue2.js +0 -4
- package/dist/features/Search/helpers/create-fuse-instance.js +0 -43
- package/dist/features/Search/helpers/create-search-index.js +0 -119
- package/dist/features/Search/hooks/useSearchIndex.js +0 -33
- package/dist/features/ask-agent-button/AskAgentButton.vue.js +0 -7
- package/dist/features/ask-agent-button/AskAgentButton.vue2.js +0 -51
- package/dist/features/developer-tools/DeveloperTools.vue.js +0 -60
- package/dist/features/developer-tools/DeveloperTools.vue2.js +0 -4
- package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.js +0 -13
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.js +0 -33
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue2.js +0 -4
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.js +0 -138
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue2.js +0 -4
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.js +0 -66
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue2.js +0 -4
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.js +0 -54
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue2.js +0 -4
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.js +0 -71
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue2.js +0 -4
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.js +0 -63
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue2.js +0 -4
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.js +0 -73
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue2.js +0 -4
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.js +0 -57
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue2.js +0 -4
- package/dist/features/developer-tools/components/DeployApiReference.vue.js +0 -35
- package/dist/features/developer-tools/components/DeployApiReference.vue2.js +0 -4
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.js +0 -103
- package/dist/features/developer-tools/components/ModifyConfiguration.vue2.js +0 -4
- package/dist/features/developer-tools/components/ShareApiReference.vue.js +0 -35
- package/dist/features/developer-tools/components/ShareApiReference.vue2.js +0 -4
- package/dist/features/example-responses/ExampleResponse.vue.js +0 -7
- package/dist/features/example-responses/ExampleResponse.vue2.js +0 -61
- package/dist/features/example-responses/ExampleResponseTab.vue.js +0 -7
- package/dist/features/example-responses/ExampleResponseTab.vue2.js +0 -25
- package/dist/features/example-responses/ExampleResponseTabList.vue.js +0 -7
- package/dist/features/example-responses/ExampleResponseTabList.vue2.js +0 -37
- package/dist/features/example-responses/ExampleResponses.vue.js +0 -7
- package/dist/features/example-responses/ExampleResponses.vue2.js +0 -181
- package/dist/features/example-responses/ExampleSchema.vue.js +0 -42
- package/dist/features/example-responses/ExampleSchema.vue2.js +0 -4
- package/dist/features/example-responses/has-response-content.js +0 -28
- package/dist/features/external-docs/ExternalDocs.vue.js +0 -42
- package/dist/features/external-docs/ExternalDocs.vue2.js +0 -4
- package/dist/features/info-object/Contact.vue.js +0 -46
- package/dist/features/info-object/Contact.vue2.js +0 -4
- package/dist/features/info-object/License.vue.js +0 -40
- package/dist/features/info-object/License.vue2.js +0 -4
- package/dist/features/info-object/TermsOfService.vue.js +0 -34
- package/dist/features/info-object/TermsOfService.vue2.js +0 -4
- package/dist/features/multiple-documents/DocumentSelector.vue.js +0 -54
- package/dist/features/multiple-documents/DocumentSelector.vue2.js +0 -4
- package/dist/features/specification-extension/SpecificationExtension.vue.js +0 -4
- package/dist/features/specification-extension/SpecificationExtension.vue2.js +0 -52
- package/dist/features/specification-extension/helpers.js +0 -9
- package/dist/features/test-request-button/TestRequestButton.vue.js +0 -7
- package/dist/features/test-request-button/TestRequestButton.vue2.js +0 -46
- package/dist/features/x-badges/XBadges.vue.js +0 -35
- package/dist/features/x-badges/XBadges.vue2.js +0 -4
- package/dist/helpers/color-mode.js +0 -9
- package/dist/helpers/download.js +0 -45
- package/dist/helpers/id-routing.js +0 -109
- package/dist/helpers/lazy-bus.js +0 -195
- package/dist/helpers/load-from-perssistance.js +0 -17
- package/dist/helpers/map-config-plugins.js +0 -27
- package/dist/helpers/map-config-to-workspace-store.js +0 -45
- package/dist/helpers/normalize-configurations.js +0 -69
- package/dist/helpers/openapi.js +0 -135
- package/dist/helpers/storage.js +0 -47
- package/dist/helpers/upload-temp-document.js +0 -24
- package/dist/hooks/use-agent.js +0 -42
- package/dist/hooks/use-intersection.js +0 -32
- package/dist/plugins/hooks/usePluginManager.js +0 -14
- package/dist/plugins/persistance-plugin.js +0 -48
- package/dist/plugins/plugin-manager.js +0 -39
- package/dist/standalone/lib/html-api.js +0 -81
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as AgentScalarButton } from './AgentScalarButton.vue
|
|
2
|
-
export { default as AgentScalarDrawer } from './AgentScalarDrawer.vue
|
|
3
|
-
export { default as OpenMCPButton } from './OpenMCPButton.vue
|
|
1
|
+
export { default as AgentScalarButton } from './AgentScalarButton.vue';
|
|
2
|
+
export { default as AgentScalarDrawer } from './AgentScalarDrawer.vue';
|
|
3
|
+
export { default as OpenMCPButton } from './OpenMCPButton.vue';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as Anchor } from './Anchor.vue
|
|
2
|
-
export { default as WithBreadcrumb } from './WithBreadcrumb.vue
|
|
1
|
+
export { default as Anchor } from './Anchor.vue';
|
|
2
|
+
export { default as WithBreadcrumb } from './WithBreadcrumb.vue';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as Badge } from './Badge.vue
|
|
1
|
+
export { default as Badge } from './Badge.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as Auth } from './Auth.vue
|
|
1
|
+
export { default as Auth } from './Auth.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as Model } from './Model.vue
|
|
2
|
-
export { default as Models } from './ModelTag.vue
|
|
1
|
+
export { default as Model } from './Model.vue';
|
|
2
|
+
export { default as Models } from './ModelTag.vue';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
2
|
import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { SchemaOptions } from '
|
|
3
|
+
import type { SchemaOptions } from '@/components/Content/Schema/types';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
schema?: SchemaObject;
|
|
6
6
|
/** Track how deep we've gone */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
2
|
import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { SchemaOptions } from '
|
|
4
|
-
import { type CompositionKeyword } from './helpers/schema-composition
|
|
3
|
+
import type { SchemaOptions } from '@/components/Content/Schema/types';
|
|
4
|
+
import { type CompositionKeyword } from './helpers/schema-composition';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
/** The composition keyword (oneOf, anyOf, allOf) */
|
|
7
7
|
composition: CompositionKeyword;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
2
|
import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { SchemaOptions } from '
|
|
3
|
+
import type { SchemaOptions } from '@/components/Content/Schema/types';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
schema: SchemaObject;
|
|
6
6
|
discriminator?: DiscriminatorObject;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
2
|
import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
3
|
import { type Component } from 'vue';
|
|
4
|
-
import type { SchemaOptions } from '
|
|
4
|
+
import type { SchemaOptions } from '@/components/Content/Schema/types';
|
|
5
5
|
/**
|
|
6
6
|
* Note: We're taking in a prop called `value` which should be a JSON Schema.
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyExamples.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaPropertyExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyExamples.vue"],"names":[],"mappings":"AA2KA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AA6KF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAgbA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAkBhG,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,YAAY,GAAG,SAAS,CAAA;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,qHAAqH;IACrH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B,CAAC;AAofJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK5C,QAAA,MAAM,UAAU;cAjgBD,OAAO;oBAGD,OAAO;qBAJN,OAAO;kBAGV,OAAO;6EAkgBxB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
|
-
import { type CompositionKeyword } from './schema-composition
|
|
2
|
+
import { type CompositionKeyword } from './schema-composition';
|
|
3
3
|
type CompositionToRender = {
|
|
4
4
|
composition: CompositionKeyword;
|
|
5
5
|
value: SchemaObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as Schema } from './Schema.vue
|
|
2
|
-
export { default as SchemaHeading } from './SchemaHeading.vue
|
|
3
|
-
export { default as SchemaObjectExampleCodeBlock } from './SchemaObjectExampleCodeBlock.vue
|
|
4
|
-
export { default as SchemaProperty } from './SchemaProperty.vue
|
|
1
|
+
export { default as Schema } from './Schema.vue';
|
|
2
|
+
export { default as SchemaHeading } from './SchemaHeading.vue';
|
|
3
|
+
export { default as SchemaObjectExampleCodeBlock } from './SchemaObjectExampleCodeBlock.vue';
|
|
4
|
+
export { default as SchemaProperty } from './SchemaProperty.vue';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as Tag } from './Tag.vue
|
|
1
|
+
export { default as Tag } from './Tag.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as Content } from './Content.vue
|
|
1
|
+
export { default as Content } from './Content.vue';
|
|
2
2
|
export { Model, Models } from './Models';
|
|
3
|
-
export { default as TraversedEntry } from './Operations/TraversedEntry.vue
|
|
3
|
+
export { default as TraversedEntry } from './Operations/TraversedEntry.vue';
|
|
4
4
|
export { Schema, SchemaHeading, SchemaObjectExampleCodeBlock, SchemaProperty } from './Schema';
|
|
5
5
|
export { Tag } from './Tags';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as HttpMethod } from './HttpMethod.vue
|
|
1
|
+
export { default as HttpMethod } from './HttpMethod.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as LinkList } from './LinkList.vue
|
|
1
|
+
export { default as LinkList } from './LinkList.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as OperationsList } from './OperationsList.vue
|
|
1
|
+
export { default as OperationsList } from './OperationsList.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as RenderPlugins } from './RenderPlugins.vue
|
|
1
|
+
export { default as RenderPlugins } from './RenderPlugins.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { default as Section } from './Section.vue
|
|
2
|
-
export { default as SectionAccordion } from './SectionAccordion.vue
|
|
3
|
-
export { default as SectionColumn } from './SectionColumn.vue
|
|
4
|
-
export { default as SectionColumns } from './SectionColumns.vue
|
|
5
|
-
export { default as SectionContainer } from './SectionContainer.vue
|
|
6
|
-
export { default as SectionContainerAccordion } from './SectionContainerAccordion.vue
|
|
7
|
-
export { default as SectionContent } from './SectionContent.vue
|
|
8
|
-
export { default as SectionHeader } from './SectionHeader.vue
|
|
9
|
-
export { default as SectionHeaderTag } from './SectionHeaderTag.vue
|
|
10
|
-
export { default as CompactSection } from './CompactSection.vue
|
|
1
|
+
export { default as Section } from './Section.vue';
|
|
2
|
+
export { default as SectionAccordion } from './SectionAccordion.vue';
|
|
3
|
+
export { default as SectionColumn } from './SectionColumn.vue';
|
|
4
|
+
export { default as SectionColumns } from './SectionColumns.vue';
|
|
5
|
+
export { default as SectionContainer } from './SectionContainer.vue';
|
|
6
|
+
export { default as SectionContainerAccordion } from './SectionContainerAccordion.vue';
|
|
7
|
+
export { default as SectionContent } from './SectionContent.vue';
|
|
8
|
+
export { default as SectionHeader } from './SectionHeader.vue';
|
|
9
|
+
export { default as SectionHeaderTag } from './SectionHeaderTag.vue';
|
|
10
|
+
export { default as CompactSection } from './CompactSection.vue';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as SectionFlare } from './SectionFlare.vue
|
|
1
|
+
export { default as SectionFlare } from './SectionFlare.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { default as ClassicHeader } from './ClassicHeader.vue
|
|
1
|
+
export { default as ClassicHeader } from './ClassicHeader.vue';
|
|
2
2
|
export { Content, Model, Models, Schema, SchemaHeading, SchemaObjectExampleCodeBlock, SchemaProperty, Tag, TraversedEntry, } from './Content';
|
|
3
3
|
export { Auth } from './Content/Auth';
|
|
4
|
-
export { default as ApiReferenceContent } from './Content/Content.vue
|
|
4
|
+
export { default as ApiReferenceContent } from './Content/Content.vue';
|
|
5
5
|
export { HttpMethod } from './HttpMethod';
|
|
6
|
-
export { default as IntersectionObserver } from './IntersectionObserver.vue
|
|
7
|
-
export { default as Lazy } from './Lazy/Lazy.vue
|
|
8
|
-
export { default as MobileHeader } from './MobileHeader.vue
|
|
6
|
+
export { default as IntersectionObserver } from './IntersectionObserver.vue';
|
|
7
|
+
export { default as Lazy } from './Lazy/Lazy.vue';
|
|
8
|
+
export { default as MobileHeader } from './MobileHeader.vue';
|
|
9
9
|
export { OperationsList } from './OperationsList';
|
|
10
10
|
export { RenderPlugins } from './RenderPlugins';
|
|
11
11
|
export { SectionContainer } from './Section';
|
package/dist/components/index.js
CHANGED
|
@@ -1,42 +1,102 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
import "../ExternalDocs-phu7GxpZ.js";
|
|
2
|
+
import { a as TraversedEntry_default, c as OperationsList_default, d as Auth_default, f as ClassicHeader_default, i as RenderPlugins_default, l as ModelTag_default, n as Content_default, o as Lazy_default, r as SectionFlare_default, s as Tag_default, t as MobileHeader_default, u as Model_default } from "../MobileHeader-B71jYJdT.js";
|
|
3
|
+
import { i as SectionContainer_default } from "../ServerSelector-5y29y2BJ.js";
|
|
4
|
+
import { a as SchemaHeading_default, i as SchemaProperty_default, n as HttpMethod_default, r as Schema_default } from "../Operation-CixLVfKd.js";
|
|
5
|
+
import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, onMounted, openBlock, ref, renderSlot, resolveDynamicComponent, unref, withCtx } from "vue";
|
|
6
|
+
import { ScalarCard, ScalarCardFooter, ScalarCardSection, ScalarCodeBlock } from "@scalar/components";
|
|
7
|
+
import { useIntersectionObserver } from "@vueuse/core";
|
|
8
|
+
import { ExamplePicker } from "@scalar/api-client/v2/blocks/operation-code-sample";
|
|
9
|
+
//#region src/components/Content/Schema/SchemaObjectExampleCodeBlock.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var _hoisted_1 = { class: "code-snippet" };
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/components/Content/Schema/SchemaObjectExampleCodeBlock.vue
|
|
13
|
+
var SchemaObjectExampleCodeBlock_default = /* @__PURE__ */ defineComponent({
|
|
14
|
+
__name: "SchemaObjectExampleCodeBlock",
|
|
15
|
+
props: { schema: {} },
|
|
16
|
+
setup(__props) {
|
|
17
|
+
/** Grab the examples for the schema object */
|
|
18
|
+
const examples = computed(() => {
|
|
19
|
+
const base = {};
|
|
20
|
+
if (__props.schema["x-examples"]) Object.entries(__props.schema["x-examples"]).forEach(([key, value]) => {
|
|
21
|
+
base[key] = typeof value === "object" ? JSON.stringify(value, null, 2) : String(value);
|
|
22
|
+
});
|
|
23
|
+
if (__props.schema.examples) __props.schema.examples.forEach((value, index) => {
|
|
24
|
+
base[`Example ${index + 1}`] = typeof value === "object" ? JSON.stringify(value, null, 2) : String(value);
|
|
25
|
+
});
|
|
26
|
+
return base;
|
|
27
|
+
});
|
|
28
|
+
/** The currently selected example key */
|
|
29
|
+
const selectedExampleKey = ref(Object.keys(examples.value)[0] ?? "");
|
|
30
|
+
return (_ctx, _cache) => {
|
|
31
|
+
return Object.keys(examples.value).length > 0 ? (openBlock(), createBlock(unref(ScalarCard), {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: "dark-mode"
|
|
34
|
+
}, {
|
|
35
|
+
default: withCtx(() => [createVNode(unref(ScalarCardSection), null, {
|
|
36
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(unref(ScalarCodeBlock), {
|
|
37
|
+
class: "bg-b-2",
|
|
38
|
+
lang: "json",
|
|
39
|
+
lineNumbers: "",
|
|
40
|
+
prettyPrintedContent: examples.value[selectedExampleKey.value] ?? "There was an error loading the example"
|
|
41
|
+
}, null, 8, ["prettyPrintedContent"])])]),
|
|
42
|
+
_: 1
|
|
43
|
+
}), Object.keys(examples.value).length > 1 ? (openBlock(), createBlock(unref(ScalarCardFooter), {
|
|
44
|
+
key: 0,
|
|
45
|
+
class: "bg-b-3"
|
|
46
|
+
}, {
|
|
47
|
+
default: withCtx(() => [createVNode(unref(ExamplePicker), {
|
|
48
|
+
modelValue: selectedExampleKey.value,
|
|
49
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedExampleKey.value = $event),
|
|
50
|
+
examples: examples.value
|
|
51
|
+
}, null, 8, ["modelValue", "examples"])]),
|
|
52
|
+
_: 1
|
|
53
|
+
})) : createCommentVNode("", true)]),
|
|
54
|
+
_: 1
|
|
55
|
+
})) : createCommentVNode("", true);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/components/IntersectionObserver.vue
|
|
61
|
+
var IntersectionObserver_default = /* @__PURE__ */ defineComponent({
|
|
62
|
+
__name: "IntersectionObserver",
|
|
63
|
+
props: {
|
|
64
|
+
id: {},
|
|
65
|
+
is: {}
|
|
66
|
+
},
|
|
67
|
+
emits: ["intersecting"],
|
|
68
|
+
setup(__props, { emit: __emit }) {
|
|
69
|
+
const props = __props;
|
|
70
|
+
const emit = __emit;
|
|
71
|
+
const intersectionObserverRef = ref();
|
|
72
|
+
const calculateRootMargin = (element) => {
|
|
73
|
+
const height = element.offsetHeight;
|
|
74
|
+
return `${height / 2}px 0px ${height / 2}px 0px`;
|
|
75
|
+
};
|
|
76
|
+
const calculateThreshold = (element) => {
|
|
77
|
+
return element.offsetHeight < window.innerHeight ? .8 : .5;
|
|
78
|
+
};
|
|
79
|
+
onMounted(() => {
|
|
80
|
+
if (intersectionObserverRef.value) useIntersectionObserver(intersectionObserverRef, ([entry]) => {
|
|
81
|
+
if (entry?.isIntersecting && props.id) emit("intersecting", props.id);
|
|
82
|
+
}, {
|
|
83
|
+
rootMargin: calculateRootMargin(intersectionObserverRef.value),
|
|
84
|
+
threshold: calculateThreshold(intersectionObserverRef.value)
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
return (_ctx, _cache) => {
|
|
88
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.is ?? "div"), {
|
|
89
|
+
id: __props.id,
|
|
90
|
+
ref_key: "intersectionObserverRef",
|
|
91
|
+
ref: intersectionObserverRef
|
|
92
|
+
}, {
|
|
93
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
94
|
+
_: 3
|
|
95
|
+
}, 8, ["id"]);
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
//#endregion
|
|
100
|
+
export { Content_default as ApiReferenceContent, Content_default as Content, Auth_default as Auth, ClassicHeader_default as ClassicHeader, HttpMethod_default as HttpMethod, IntersectionObserver_default as IntersectionObserver, Lazy_default as Lazy, MobileHeader_default as MobileHeader, Model_default as Model, ModelTag_default as Models, OperationsList_default as OperationsList, RenderPlugins_default as RenderPlugins, Schema_default as Schema, SchemaHeading_default as SchemaHeading, SchemaObjectExampleCodeBlock_default as SchemaObjectExampleCodeBlock, SchemaProperty_default as SchemaProperty, SectionContainer_default as SectionContainer, SectionFlare_default as SectionFlare, Tag_default as Tag, TraversedEntry_default as TraversedEntry };
|
|
101
|
+
|
|
102
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/components/Content/Schema/SchemaObjectExampleCodeBlock.vue","../../src/components/Content/Schema/SchemaObjectExampleCodeBlock.vue","../../src/components/IntersectionObserver.vue","../../src/components/IntersectionObserver.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ExamplePicker } from '@scalar/api-client/v2/blocks/operation-code-sample'\nimport {\n ScalarCard,\n ScalarCardFooter,\n ScalarCardSection,\n ScalarCodeBlock,\n} from '@scalar/components'\nimport type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'\nimport { computed, ref } from 'vue'\n\nconst { schema } = defineProps<{ schema: SchemaObject }>()\n\n/** Grab the examples for the schema object */\nconst examples = computed<Record<string, string>>(() => {\n const base: Record<string, string> = {}\n\n // x-examples extension\n if (schema['x-examples']) {\n Object.entries(schema['x-examples']).forEach(([key, value]) => {\n base[key] =\n typeof value === 'object'\n ? JSON.stringify(value, null, 2)\n : String(value)\n })\n }\n\n // Regular schema examples array\n if (schema.examples) {\n schema.examples.forEach((value, index) => {\n base[`Example ${index + 1}`] =\n typeof value === 'object'\n ? JSON.stringify(value, null, 2)\n : String(value)\n })\n }\n\n return base\n})\n\n/** The currently selected example key */\nconst selectedExampleKey = ref<string>(Object.keys(examples.value)[0] ?? '')\n</script>\n<template>\n <ScalarCard\n v-if=\"Object.keys(examples).length > 0\"\n class=\"dark-mode\">\n <!-- Code snippet -->\n <ScalarCardSection>\n <div class=\"code-snippet\">\n <ScalarCodeBlock\n class=\"bg-b-2\"\n lang=\"json\"\n lineNumbers\n :prettyPrintedContent=\"\n examples[selectedExampleKey] ??\n 'There was an error loading the example'\n \" />\n </div>\n </ScalarCardSection>\n\n <!-- Example picker -->\n <ScalarCardFooter\n v-if=\"Object.keys(examples).length > 1\"\n class=\"bg-b-3\">\n <ExamplePicker\n v-model=\"selectedExampleKey\"\n :examples />\n </ScalarCardFooter>\n </ScalarCard>\n</template>\n","<script setup lang=\"ts\">\nimport { ExamplePicker } from '@scalar/api-client/v2/blocks/operation-code-sample'\nimport {\n ScalarCard,\n ScalarCardFooter,\n ScalarCardSection,\n ScalarCodeBlock,\n} from '@scalar/components'\nimport type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'\nimport { computed, ref } from 'vue'\n\nconst { schema } = defineProps<{ schema: SchemaObject }>()\n\n/** Grab the examples for the schema object */\nconst examples = computed<Record<string, string>>(() => {\n const base: Record<string, string> = {}\n\n // x-examples extension\n if (schema['x-examples']) {\n Object.entries(schema['x-examples']).forEach(([key, value]) => {\n base[key] =\n typeof value === 'object'\n ? JSON.stringify(value, null, 2)\n : String(value)\n })\n }\n\n // Regular schema examples array\n if (schema.examples) {\n schema.examples.forEach((value, index) => {\n base[`Example ${index + 1}`] =\n typeof value === 'object'\n ? JSON.stringify(value, null, 2)\n : String(value)\n })\n }\n\n return base\n})\n\n/** The currently selected example key */\nconst selectedExampleKey = ref<string>(Object.keys(examples.value)[0] ?? '')\n</script>\n<template>\n <ScalarCard\n v-if=\"Object.keys(examples).length > 0\"\n class=\"dark-mode\">\n <!-- Code snippet -->\n <ScalarCardSection>\n <div class=\"code-snippet\">\n <ScalarCodeBlock\n class=\"bg-b-2\"\n lang=\"json\"\n lineNumbers\n :prettyPrintedContent=\"\n examples[selectedExampleKey] ??\n 'There was an error loading the example'\n \" />\n </div>\n </ScalarCardSection>\n\n <!-- Example picker -->\n <ScalarCardFooter\n v-if=\"Object.keys(examples).length > 1\"\n class=\"bg-b-3\">\n <ExamplePicker\n v-model=\"selectedExampleKey\"\n :examples />\n </ScalarCardFooter>\n </ScalarCard>\n</template>\n","<script setup lang=\"ts\">\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { onMounted, ref } from 'vue'\n\nconst props = defineProps<{\n id?: string\n is?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'intersecting', id: string): void\n}>()\n\nconst intersectionObserverRef = ref<HTMLElement>()\n\nconst calculateRootMargin = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Use of a margin on height to ensure sooner intersection detection.\n return `${height / 2}px 0px ${height / 2}px 0px`\n}\n\nconst calculateThreshold = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Favor larger threshold if the element is smaller that the screen\n // to ensure that it is selected\n return height < window.innerHeight ? 0.8 : 0.5\n}\n\nonMounted(() => {\n if (intersectionObserverRef.value) {\n const options = {\n rootMargin: calculateRootMargin(intersectionObserverRef.value),\n threshold: calculateThreshold(intersectionObserverRef.value),\n }\n\n useIntersectionObserver(\n intersectionObserverRef,\n ([entry]) => {\n if (entry?.isIntersecting && props.id) {\n emit('intersecting', props.id)\n }\n },\n options,\n )\n }\n})\n</script>\n<template>\n <component\n :is=\"is ?? 'div'\"\n :id=\"id\"\n ref=\"intersectionObserverRef\">\n <slot />\n </component>\n</template>\n","<script setup lang=\"ts\">\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { onMounted, ref } from 'vue'\n\nconst props = defineProps<{\n id?: string\n is?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'intersecting', id: string): void\n}>()\n\nconst intersectionObserverRef = ref<HTMLElement>()\n\nconst calculateRootMargin = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Use of a margin on height to ensure sooner intersection detection.\n return `${height / 2}px 0px ${height / 2}px 0px`\n}\n\nconst calculateThreshold = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Favor larger threshold if the element is smaller that the screen\n // to ensure that it is selected\n return height < window.innerHeight ? 0.8 : 0.5\n}\n\nonMounted(() => {\n if (intersectionObserverRef.value) {\n const options = {\n rootMargin: calculateRootMargin(intersectionObserverRef.value),\n threshold: calculateThreshold(intersectionObserverRef.value),\n }\n\n useIntersectionObserver(\n intersectionObserverRef,\n ([entry]) => {\n if (entry?.isIntersecting && props.id) {\n emit('intersecting', props.id)\n }\n },\n options,\n )\n }\n})\n</script>\n<template>\n <component\n :is=\"is ?? 'div'\"\n :id=\"id\"\n ref=\"intersectionObserverRef\">\n <slot />\n </component>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;ECcA,MAAM,WAAW,eAAuC;GACtD,MAAM,OAA+B,EAAC;AAGtC,OAAI,QAAA,OAAO,cACT,QAAO,QAAQ,QAAA,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,WAAW;AAC7D,SAAK,OACH,OAAO,UAAU,WACb,KAAK,UAAU,OAAO,MAAM,EAAC,GAC7B,OAAO,MAAK;KACnB;AAIH,OAAI,QAAA,OAAO,SACT,SAAA,OAAO,SAAS,SAAS,OAAO,UAAU;AACxC,SAAK,WAAW,QAAQ,OACtB,OAAO,UAAU,WACb,KAAK,UAAU,OAAO,MAAM,EAAC,GAC7B,OAAO,MAAK;KACnB;AAGH,UAAO;IACR;;EAGD,MAAM,qBAAqB,IAAY,OAAO,KAAK,SAAS,MAAM,CAAC,MAAM,GAAE;;UAIjE,OAAO,KAAK,SAAA,MAAQ,CAAE,SAAM,KAAA,WAAA,EADpC,YAyBa,MAAA,WAAA,EAAA;;IAvBX,OAAM;;2BAac,CAXpB,YAWoB,MAAA,kBAAA,EAAA,MAAA;4BADZ,CATN,mBASM,OATN,YASM,CARJ,YAOM,MAAA,gBAAA,EAAA;MANJ,OAAM;MACN,MAAK;MACL,aAAA;MACC,sBAAmC,SAAA,MAAS,mBAAA,UAAA;;;QAS3C,OAAO,KAAK,SAAA,MAAQ,CAAE,SAAM,KAAA,WAAA,EADpC,YAMmB,MAAA,iBAAA,EAAA;;KAJjB,OAAM;;4BAGQ,CAFd,YAEc,MAAA,cAAA,EAAA;kBADH,mBAAA;sFAAkB,QAAA;MAC1B,UAAA,SAAA;;;;;;;;;;;;;;;;;;;EE/DT,MAAM,QAAQ;EAKd,MAAM,OAAO;EAIb,MAAM,0BAA0B,KAAiB;EAEjD,MAAM,uBAAuB,YAAyB;GACpD,MAAM,SAAS,QAAQ;AAEvB,UAAO,GAAG,SAAS,EAAE,SAAS,SAAS,EAAE;;EAG3C,MAAM,sBAAsB,YAAyB;AAInD,UAHe,QAAQ,eAGP,OAAO,cAAc,KAAM;;AAG7C,kBAAgB;AACd,OAAI,wBAAwB,MAM1B,yBACE,0BACC,CAAC,WAAW;AACX,QAAI,OAAO,kBAAkB,MAAM,GACjC,MAAK,gBAAgB,MAAM,GAAE;MATnB;IACd,YAAY,oBAAoB,wBAAwB,MAAM;IAC9D,WAAW,mBAAmB,wBAAwB,MAAM;IAC9D,CAUA;IAEH;;uBAGC,YAKY,wBAJL,QAAA,MAAE,MAAA,EAAA;IACN,IAAI,QAAA;aACD;IAAJ,KAAI;;2BACI,CAAR,WAAQ,KAAA,QAAA,UAAA,CAAA,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
2
|
import type { ParameterObject, ReferenceType, RequestBodyObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { OperationProps } from '
|
|
3
|
+
import type { OperationProps } from '@/features/Operation/Operation.vue';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
breadcrumb?: string[];
|
|
6
6
|
parameters?: ReferenceType<ParameterObject>[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
2
|
import type { OperationObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { OperationProps } from '
|
|
3
|
+
import type { OperationProps } from '@/features/Operation/Operation.vue';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
responses: OperationObject['responses'];
|
|
6
6
|
breadcrumb?: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
2
|
import type { ParameterObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { OperationProps } from '
|
|
3
|
+
import type { OperationProps } from '@/features/Operation/Operation.vue';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
parameters: ParameterObject[];
|
|
6
6
|
breadcrumb?: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
2
|
import type { ParameterObject, ResponseObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { OperationProps } from '
|
|
3
|
+
import type { OperationProps } from '@/features/Operation/Operation.vue';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
parameter: ParameterObject | ResponseObject;
|
|
6
6
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { HttpMethod as HttpMethodType } from '@scalar/helpers/http/http-methods';
|
|
2
2
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
3
3
|
import { type OperationObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
4
|
-
import type { OperationProps } from '
|
|
4
|
+
import type { OperationProps } from '@/features/Operation/Operation.vue';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
callback: OperationObject;
|
|
7
7
|
method: HttpMethodType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
2
|
import type { CallbackObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { OperationProps } from '
|
|
3
|
+
import type { OperationProps } from '@/features/Operation/Operation.vue';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
path: string;
|
|
6
6
|
callbacks: CallbackObject;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as Operation } from './Operation.vue
|
|
1
|
+
export { default as Operation } from './Operation.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SecuritySchemeObjectSecret } from '@scalar/api-client/v2/blocks/scalar-auth-selector-block';
|
|
2
2
|
import type { OperationObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { OperationProps } from '
|
|
3
|
+
import type { OperationProps } from '@/features/Operation/Operation.vue';
|
|
4
4
|
type __VLS_Props = Omit<OperationProps, 'document' | 'pathValue' | 'server' | 'securitySchemes' | 'authStore'> & {
|
|
5
5
|
/** Operation object with path params */
|
|
6
6
|
operation: OperationObject;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SecuritySchemeObjectSecret } from '@scalar/api-client/v2/blocks/scalar-auth-selector-block';
|
|
2
2
|
import type { OperationObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
|
-
import type { OperationProps } from '
|
|
3
|
+
import type { OperationProps } from '@/features/Operation/Operation.vue';
|
|
4
4
|
type __VLS_Props = Omit<OperationProps, 'document' | 'pathValue' | 'server' | 'isCollapsed' | 'securitySchemes' | 'authStore'> & {
|
|
5
5
|
/** Operation object with path params */
|
|
6
6
|
operation: OperationObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OpenApiDocument } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
|
-
import type { FuseData } from '
|
|
2
|
+
import type { FuseData } from '@/features/Search/types';
|
|
3
3
|
/**
|
|
4
4
|
* Create a search index from a list of entries.
|
|
5
5
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as SearchButton } from './components/SearchButton.vue
|
|
2
|
-
export { default as SearchModal } from './components/SearchModal.vue
|
|
1
|
+
export { default as SearchButton } from './components/SearchButton.vue';
|
|
2
|
+
export { default as SearchModal } from './components/SearchModal.vue';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TraversedEntry } from '@scalar/workspace-store/schemas/navigation';
|
|
2
|
-
import type { ParameterMap } from '
|
|
2
|
+
import type { ParameterMap } from '@/helpers/openapi';
|
|
3
3
|
export type EntryType = 'operation' | 'webhook' | 'model' | 'heading' | 'tag';
|
|
4
4
|
export type FuseData = {
|
|
5
5
|
type: EntryType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as DeveloperTools } from './DeveloperTools.vue
|
|
1
|
+
export { default as DeveloperTools } from './DeveloperTools.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as ExampleResponses } from './ExampleResponses.vue
|
|
1
|
+
export { default as ExampleResponses } from './ExampleResponses.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as ExternalDocs } from './ExternalDocs.vue
|
|
1
|
+
export { default as ExternalDocs } from './ExternalDocs.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/features/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as DocumentSelector } from './multiple-documents/DocumentSelector.vue
|
|
1
|
+
export { default as DocumentSelector } from './multiple-documents/DocumentSelector.vue';
|
|
2
2
|
export { Operation } from './Operation';
|
|
3
|
-
export { default as SearchButton } from './Search/components/SearchButton.vue
|
|
3
|
+
export { default as SearchButton } from './Search/components/SearchButton.vue';
|
|
4
4
|
export { getXKeysFromObject } from './specification-extension';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/features/index.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
default2 as DocumentSelector,
|
|
7
|
-
default4 as Operation,
|
|
8
|
-
default3 as SearchButton,
|
|
9
|
-
getXKeysFromObject
|
|
10
|
-
};
|
|
1
|
+
import "../ExternalDocs-phu7GxpZ.js";
|
|
2
|
+
import { o as getXKeysFromObject, t as Operation_default } from "../Operation-CixLVfKd.js";
|
|
3
|
+
import { i as DocumentSelector_default, t as SearchButton_default } from "../SearchButton-xzhIpMCZ.js";
|
|
4
|
+
export { DocumentSelector_default as DocumentSelector, Operation_default as Operation, SearchButton_default as SearchButton, getXKeysFromObject };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as Contact } from './Contact.vue
|
|
2
|
-
export { default as License } from './License.vue
|
|
3
|
-
export { default as TermsOfService } from './TermsOfService.vue
|
|
1
|
+
export { default as Contact } from './Contact.vue';
|
|
2
|
+
export { default as License } from './License.vue';
|
|
3
|
+
export { default as TermsOfService } from './TermsOfService.vue';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { getXKeysFromObject } from './helpers
|
|
2
|
-
export { default as SpecificationExtension } from './SpecificationExtension.vue
|
|
1
|
+
export { getXKeysFromObject } from './helpers';
|
|
2
|
+
export { default as SpecificationExtension } from './SpecificationExtension.vue';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as TestRequestButton } from './TestRequestButton.vue
|
|
1
|
+
export { default as TestRequestButton } from './TestRequestButton.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as XBadges } from './XBadges.vue
|
|
1
|
+
export { default as XBadges } from './XBadges.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Trigger the download of the OpenAPI document
|
|
3
3
|
*/
|
|
4
|
-
export declare function downloadDocument(content: string, filename?: string, format?: 'json' | 'yaml'): void
|
|
4
|
+
export declare function downloadDocument(content: string, filename?: string, format?: 'json' | 'yaml'): Promise<void>;
|
|
5
5
|
//# sourceMappingURL=download.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../src/helpers/download.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../src/helpers/download.ts"],"names":[],"mappings":"AAsEA;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,iBAuBlG"}
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { getSystemModePreference } from './color-mode
|
|
2
|
-
export { downloadDocument } from './download
|
|
3
|
-
export { getIdFromUrl, makeUrlFromId } from './id-routing
|
|
4
|
-
export { addToPriorityQueue, blockIntersection, firstLazyLoadComplete, intersectionEnabled, scrollToLazy, } from './lazy-bus
|
|
5
|
-
export { loadAuthFromStorage, loadClientFromStorage } from './load-from-perssistance
|
|
6
|
-
export { mapConfigPlugins } from './map-config-plugins
|
|
7
|
-
export { mapConfigToWorkspaceStore } from './map-config-to-workspace-store
|
|
8
|
-
export { type NormalizedConfiguration, normalizeConfigurations } from './normalize-configurations
|
|
1
|
+
export { getSystemModePreference } from './color-mode';
|
|
2
|
+
export { downloadDocument } from './download';
|
|
3
|
+
export { getIdFromUrl, makeUrlFromId } from './id-routing';
|
|
4
|
+
export { addToPriorityQueue, blockIntersection, firstLazyLoadComplete, intersectionEnabled, scrollToLazy, } from './lazy-bus';
|
|
5
|
+
export { loadAuthFromStorage, loadClientFromStorage } from './load-from-perssistance';
|
|
6
|
+
export { mapConfigPlugins } from './map-config-plugins';
|
|
7
|
+
export { mapConfigToWorkspaceStore } from './map-config-to-workspace-store';
|
|
8
|
+
export { type NormalizedConfiguration, normalizeConfigurations } from './normalize-configurations';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|