@scalar/api-reference 1.61.0 → 1.62.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 +23 -0
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.script.js +8 -5
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.script.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.script.js +11 -7
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.script.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.d.ts +36 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.d.ts.map +1 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.js +7 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.js.map +1 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.script.js +69 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.script.js.map +1 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.d.ts +28 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.d.ts.map +1 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.js +7 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.js.map +1 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.script.js +62 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.script.js.map +1 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.d.ts +18 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.d.ts.map +1 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.js +59 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.js.map +1 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/index.d.ts +3 -0
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/index.d.ts.map +1 -0
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.script.js +6 -3
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.script.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts +2 -2
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.script.js +4 -2
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.script.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts +1 -1
- package/dist/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts.map +1 -1
- package/dist/blocks/scalar-client-selector-block/helpers/featured-clients.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js +3 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue.script.js +17 -3
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js +4 -2
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.js +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.script.js +16 -12
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.script.js.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.js.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.script.js +11 -7
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.script.js.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.script.js +7 -4
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.script.js.map +1 -1
- package/dist/browser/chunks/AgentScalarChatInterface-C3QiXv0S.js +27 -0
- package/dist/browser/chunks/ScalarTextInput.vue-CysYmeeN.js +27 -0
- package/dist/browser/chunks/basic-shape-diamond.svg-BTEOT1FL.js +1 -1
- package/dist/browser/chunks/basic-shape-hexagon.svg-BSPzaCgF.js +1 -1
- package/dist/browser/chunks/basic-shape-primary-circle-ellipse-round.svg-DKmZ8UUU.js +1 -1
- package/dist/browser/chunks/basic-shape-primary-square-rectangle.svg-n2YRykHD.js +1 -1
- package/dist/browser/chunks/basic-shape-shield.svg-Bec9cJDA.js +1 -1
- package/dist/browser/chunks/browser-67K6wmG9.js +1 -1
- package/dist/browser/chunks/computer-device-desktop-monitor.svg-m6j893Hb.js +1 -1
- package/dist/browser/chunks/computer-device-desktop.svg-Dk1VVO7k.js +1 -1
- package/dist/browser/chunks/computer-device-laptop.svg-BNGVUCYS.js +1 -1
- package/dist/browser/chunks/computer-device-mobile-phone-android-samsung-back.svg-CC4UUTFw.js +1 -1
- package/dist/browser/chunks/computer-device-mobile-phone-android-samsung.svg-D8ExpMpL.js +1 -1
- package/dist/browser/chunks/computer-device-mobile-phone-iphone-x-back.svg-CLm7sgMM.js +1 -1
- package/dist/browser/chunks/computer-device-mobile-phone-iphone-x.svg-Xrttg6_7.js +1 -1
- package/dist/browser/chunks/computer-device-mobile-tablet-touch.svg-DQ2oTvOG.js +1 -1
- package/dist/browser/chunks/computer-device-mobile-tablet.svg-DCr0XlRc.js +1 -1
- package/dist/browser/chunks/computer-device-network-ethernet-cat6.svg-AK9l0iOl.js +1 -1
- package/dist/browser/chunks/computer-device-network-lan-www.svg-gUIdFBlE.js +1 -1
- package/dist/browser/chunks/computer-device-network-wifi-connection.svg-Be-EMm4e.js +1 -1
- package/dist/browser/chunks/computer-device-network-wifi-router.svg-Dc2VzyqK.js +1 -1
- package/dist/browser/chunks/ecology-science-erlenmeyer-flask.svg-DHgy7Jfd.js +1 -1
- package/dist/browser/chunks/image-flash-lightning.svg-EETR_y1q.js +1 -1
- package/dist/browser/chunks/image-picture-flower.svg-DN1AYzJU.js +1 -1
- package/dist/browser/chunks/interface-alert-exclamation-diamond.svg-C5NozMV_.js +1 -1
- package/dist/browser/chunks/interface-alert-exclamation-triangle-warning.svg-DaAg2fF5.js +1 -1
- package/dist/browser/chunks/interface-alert-information-circle.svg-ckkkt9Mv.js +1 -1
- package/dist/browser/chunks/interface-award-crown.svg-pjvn9hY-.js +1 -1
- package/dist/browser/chunks/interface-bookmark-tag.svg-r2r-lQq4.js +1 -1
- package/dist/browser/chunks/interface-bookmark.svg-BK9HKQBT.js +1 -1
- package/dist/browser/chunks/interface-calendar-date-one.svg-DNnF0M1I.js +1 -1
- package/dist/browser/chunks/interface-content-book-open-pages.svg-CQj_w9Vp.js +1 -1
- package/dist/browser/chunks/interface-content-book-page.svg-DppoeJRe.js +1 -1
- package/dist/browser/chunks/interface-content-file.svg-CvcD7OiY.js +1 -1
- package/dist/browser/chunks/interface-content-folder.svg-BmtS5I9A.js +1 -1
- package/dist/browser/chunks/interface-copy-clipboard.svg-Be6EI50X.js +1 -1
- package/dist/browser/chunks/interface-edit-attachment.svg-G5TKzpWX.js +1 -1
- package/dist/browser/chunks/interface-edit-binocular.svg-jzL-DvGB.js +1 -1
- package/dist/browser/chunks/interface-edit-magic-wand.svg-BOTlymvp.js +1 -1
- package/dist/browser/chunks/interface-edit-tool-paint-roller.svg-s9dwryx7.js +1 -1
- package/dist/browser/chunks/interface-edit-tool-pencil.svg-C7v0dbB3.js +1 -1
- package/dist/browser/chunks/interface-favorite-award.svg-CYHUgUG0.js +1 -1
- package/dist/browser/chunks/interface-favorite-flag.svg-C10zlKOb.js +1 -1
- package/dist/browser/chunks/interface-favorite-heart.svg-eoduXxlz.js +1 -1
- package/dist/browser/chunks/interface-favorite-star.svg-BSmxJetr.js +1 -1
- package/dist/browser/chunks/interface-favorite-stars-sparkles.svg-JTFLj3Ls.js +1 -1
- package/dist/browser/chunks/interface-hierarchy-flowchart.svg-Cg_Wy0kN.js +1 -1
- package/dist/browser/chunks/interface-home-house.svg-DytoGRnv.js +1 -1
- package/dist/browser/chunks/interface-hyperlink.svg-CuEfmmQI.js +1 -1
- package/dist/browser/chunks/interface-lighting-brightness.svg-DSK0h_Pa.js +1 -1
- package/dist/browser/chunks/interface-lock-closed.svg-Cn6TaLYv.js +1 -1
- package/dist/browser/chunks/interface-lock-open-unlock.svg-CVkG5-9W.js +1 -1
- package/dist/browser/chunks/interface-login-key.svg-y-cwwXjN.js +1 -1
- package/dist/browser/chunks/interface-search.svg-S-puVFJB.js +1 -1
- package/dist/browser/chunks/interface-setting-cog.svg-CTH4_lLg.js +1 -1
- package/dist/browser/chunks/interface-share-megaphone-bullhorn.svg-Pbp39MyC.js +1 -1
- package/dist/browser/chunks/interface-share-rocket.svg-BgCsIRZO.js +1 -1
- package/dist/browser/chunks/interface-share-satellite.svg-DAMN9d5G.js +1 -1
- package/dist/browser/chunks/interface-share-space-ship.svg-Dt-Mejxk.js +1 -1
- package/dist/browser/chunks/interface-share.svg-vFYTXSti.js +1 -1
- package/dist/browser/chunks/interface-signal-square.svg-DNG4LpAe.js +1 -1
- package/dist/browser/chunks/interface-time-clock-circle.svg-Bpz-nLxo.js +1 -1
- package/dist/browser/chunks/interface-time-hour-glass.svg-D7agfKsH.js +1 -1
- package/dist/browser/chunks/interface-users-multiple.svg-CkPJBBnG.js +1 -1
- package/dist/browser/chunks/interface-weather-moon.svg-CaTZFMPO.js +1 -1
- package/dist/browser/chunks/mail-chat-bubble-square.svg-DC8RIihp.js +1 -1
- package/dist/browser/chunks/mail-send-email-paper-airplane.svg-D8OLs9jz.js +1 -1
- package/dist/browser/chunks/mail-send-envelope.svg-CV33h5Sx.js +1 -1
- package/dist/browser/chunks/{modal-CKthJJWy.js → modal-CMytT4BZ.js} +2 -2
- package/dist/browser/chunks/modal-wI0tG53V.js +99 -0
- package/dist/browser/chunks/money-cashier-receipt.svg-CJL8C2gs.js +1 -1
- package/dist/browser/chunks/money-currency-dollar-pay.svg-VdBplCTx.js +1 -1
- package/dist/browser/chunks/money-graph-arrow-increase.svg-DcRov3zk.js +1 -1
- package/dist/browser/chunks/money-graph-bar-chart-increase.svg-Cc7KxjX-.js +1 -1
- package/dist/browser/chunks/nature-ecology-leaf.svg-DR3cTZxt.js +1 -1
- package/dist/browser/chunks/phone-telephone.svg-DyY0gUlk.js +1 -1
- package/dist/browser/chunks/programming-bug.svg-BHLT-Qhp.js +1 -1
- package/dist/browser/chunks/programming-cloud.svg-B6YW33ba.js +1 -1
- package/dist/browser/chunks/programming-computer-database-server.svg-B6o5Sdn-.js +1 -1
- package/dist/browser/chunks/programming-computer-database.svg-Cl7OVtpJ.js +1 -1
- package/dist/browser/chunks/programming-module-four-layout.svg-BQrerL1x.js +1 -1
- package/dist/browser/chunks/programming-module-three.svg-B2KTQzBM.js +1 -1
- package/dist/browser/chunks/programming-module.svg-CiID7kPm.js +1 -1
- package/dist/browser/chunks/programming-script-code.svg-D1M5rtkN.js +1 -1
- package/dist/browser/chunks/runtime-core.esm-bundler-Byrbbu5Q.js +1 -1
- package/dist/browser/chunks/shopping-cart.svg-BEegiIR9.js +1 -1
- package/dist/browser/chunks/shopping-gift-present.svg-BUHwuLix.js +1 -1
- package/dist/browser/chunks/shopping-shipping-box-parcel-package.svg-D6fxWdYx.js +1 -1
- package/dist/browser/chunks/tag-new-circle.svg-jsg1bGs0.js +1 -1
- package/dist/browser/chunks/travel-map-earth-globe.svg-ClbMiU-f.js +1 -1
- package/dist/browser/chunks/vendor-BPQqqkn-.js +306 -0
- package/dist/browser/standalone.esm.js +20 -20
- package/dist/browser/standalone.js +292 -292
- package/dist/components/AgentScalar/AgentScalarButton.vue.d.ts.map +1 -1
- package/dist/components/AgentScalar/AgentScalarButton.vue.js.map +1 -1
- package/dist/components/AgentScalar/AgentScalarButton.vue.script.js +4 -2
- package/dist/components/AgentScalar/AgentScalarButton.vue.script.js.map +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts.map +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.js +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.js.map +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.script.js +4 -2
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.script.js.map +1 -1
- package/dist/components/AgentScalar/OpenMCPButton.vue.d.ts.map +1 -1
- package/dist/components/AgentScalar/OpenMCPButton.vue.js +1 -1
- package/dist/components/AgentScalar/OpenMCPButton.vue.js.map +1 -1
- package/dist/components/AgentScalar/OpenMCPButton.vue.script.js +8 -6
- package/dist/components/AgentScalar/OpenMCPButton.vue.script.js.map +1 -1
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/components/Anchor/Anchor.vue.js.map +1 -1
- package/dist/components/Anchor/Anchor.vue.script.js +5 -3
- package/dist/components/Anchor/Anchor.vue.script.js.map +1 -1
- package/dist/components/Anchor/WithBreadcrumb.vue.d.ts +1 -3
- package/dist/components/Anchor/WithBreadcrumb.vue.d.ts.map +1 -1
- package/dist/components/Anchor/WithBreadcrumb.vue.js.map +1 -1
- package/dist/components/Anchor/WithBreadcrumb.vue.script.js +6 -2
- package/dist/components/Anchor/WithBreadcrumb.vue.script.js.map +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +1 -1
- package/dist/components/ApiReference.vue.js.map +1 -1
- package/dist/components/ApiReference.vue.script.js +172 -43
- package/dist/components/ApiReference.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.d.ts.map +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.js +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.js.map +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js +6 -2
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/Message.vue.script.js +1 -1
- package/dist/components/Content/Auth/Auth.vue.d.ts.map +1 -1
- package/dist/components/Content/Auth/Auth.vue.js.map +1 -1
- package/dist/components/Content/Auth/Auth.vue.script.js +5 -2
- package/dist/components/Content/Auth/Auth.vue.script.js.map +1 -1
- package/dist/components/Content/Content.vue.d.ts +1 -0
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js.map +1 -1
- package/dist/components/Content/Content.vue.script.js +4 -1
- package/dist/components/Content/Content.vue.script.js.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +3 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.js.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.script.js +9 -0
- package/dist/components/Content/Operations/TraversedEntry.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +1 -1
- package/dist/components/Content/Schema/Schema.vue.js.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.script.js +8 -5
- package/dist/components/Content/Schema/Schema.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.script.js +9 -11
- package/dist/components/Content/Schema/SchemaComposition.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaEnums.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaEnums.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaEnums.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaEnums.vue.script.js +4 -2
- package/dist/components/Content/Schema/SchemaEnums.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.script.js +5 -3
- package/dist/components/Content/Schema/SchemaHeading.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.script.js +12 -0
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +3 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.script.js +3 -0
- package/dist/components/Content/Schema/SchemaProperty.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.script.js +8 -5
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.script.js +5 -3
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +3 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.script.js +47 -22
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.script.js.map +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.js.map +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.script.js +3 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.script.js.map +1 -1
- package/dist/components/Content/Tags/components/TagSection.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/components/TagSection.vue.js.map +1 -1
- package/dist/components/Content/Tags/components/TagSection.vue.script.js +3 -1
- package/dist/components/Content/Tags/components/TagSection.vue.script.js.map +1 -1
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.js +1 -1
- package/dist/components/GettingStarted.vue.js.map +1 -1
- package/dist/components/GettingStarted.vue.script.js +58 -21
- package/dist/components/GettingStarted.vue.script.js.map +1 -1
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.js.map +1 -1
- package/dist/components/MobileHeader.vue.script.js +3 -1
- package/dist/components/MobileHeader.vue.script.js.map +1 -1
- package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -1
- package/dist/components/OperationsList/OperationsList.vue.js +1 -1
- package/dist/components/OperationsList/OperationsList.vue.js.map +1 -1
- package/dist/components/OperationsList/OperationsList.vue.script.js +4 -2
- package/dist/components/OperationsList/OperationsList.vue.script.js.map +1 -1
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.js +1 -1
- package/dist/components/ShowMoreButton.vue.js.map +1 -1
- package/dist/components/ShowMoreButton.vue.script.js +4 -2
- package/dist/components/ShowMoreButton.vue.script.js.map +1 -1
- package/dist/features/Operation/Operation.vue.d.ts +3 -1
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js.map +1 -1
- package/dist/features/Operation/Operation.vue.script.js +6 -1
- package/dist/features/Operation/Operation.vue.script.js.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.js.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.script.js +4 -2
- package/dist/features/Operation/components/ContentTypeSelect.vue.script.js.map +1 -1
- package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Headers.vue.js +1 -1
- package/dist/features/Operation/components/Headers.vue.js.map +1 -1
- package/dist/features/Operation/components/Headers.vue.script.js +8 -6
- package/dist/features/Operation/components/Headers.vue.script.js.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.js.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.script.js +8 -6
- package/dist/features/Operation/components/OperationParameters.vue.script.js.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.js.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.script.js +10 -7
- package/dist/features/Operation/components/OperationResponses.vue.script.js.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.script.js +1 -1
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.script.js +18 -13
- package/dist/features/Operation/components/RequestBody.vue.script.js.map +1 -1
- package/dist/features/Operation/components/SecurityRequirementBadge.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/SecurityRequirementBadge.vue.js.map +1 -1
- package/dist/features/Operation/components/SecurityRequirementBadge.vue.script.js +5 -3
- package/dist/features/Operation/components/SecurityRequirementBadge.vue.script.js.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.js.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.script.js +11 -8
- package/dist/features/Operation/components/callbacks/Callbacks.vue.script.js.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.script.js +37 -17
- package/dist/features/Operation/layouts/ClassicLayout.vue.script.js.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.script.js +22 -7
- package/dist/features/Operation/layouts/ModernLayout.vue.script.js.map +1 -1
- package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -1
- package/dist/features/Search/components/SearchButton.vue.js.map +1 -1
- package/dist/features/Search/components/SearchButton.vue.script.js +15 -8
- package/dist/features/Search/components/SearchButton.vue.script.js.map +1 -1
- package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -1
- package/dist/features/Search/components/SearchModal.vue.js +1 -1
- package/dist/features/Search/components/SearchModal.vue.js.map +1 -1
- package/dist/features/Search/components/SearchModal.vue.script.js +29 -10
- package/dist/features/Search/components/SearchModal.vue.script.js.map +1 -1
- package/dist/features/Search/components/SearchResult.vue.d.ts.map +1 -1
- package/dist/features/Search/components/SearchResult.vue.js.map +1 -1
- package/dist/features/Search/components/SearchResult.vue.script.js +12 -8
- package/dist/features/Search/components/SearchResult.vue.script.js.map +1 -1
- package/dist/features/Search/helpers/create-search-index.d.ts +8 -0
- package/dist/features/Search/helpers/create-search-index.d.ts.map +1 -1
- package/dist/features/Search/helpers/create-search-index.js +18 -9
- package/dist/features/Search/helpers/create-search-index.js.map +1 -1
- package/dist/features/Search/hooks/useSearchIndex.d.ts +7 -1
- package/dist/features/Search/hooks/useSearchIndex.d.ts.map +1 -1
- package/dist/features/Search/hooks/useSearchIndex.js +11 -2
- package/dist/features/Search/hooks/useSearchIndex.js.map +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts.map +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.js +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.js.map +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.script.js +10 -6
- package/dist/features/ask-agent-button/AskAgentButton.vue.script.js.map +1 -1
- package/dist/features/developer-tools/DeveloperTools.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/DeveloperTools.vue.js.map +1 -1
- package/dist/features/developer-tools/DeveloperTools.vue.script.js +10 -8
- package/dist/features/developer-tools/DeveloperTools.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.script.js +11 -11
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.script.js +15 -11
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.script.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.d.ts +1 -3
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.script.js +4 -6
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.script.js +6 -4
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.script.js +23 -22
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.script.js +7 -5
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.script.js +9 -7
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/DeployApiReference.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/DeployApiReference.vue.js.map +1 -1
- package/dist/features/developer-tools/components/DeployApiReference.vue.script.js +7 -4
- package/dist/features/developer-tools/components/DeployApiReference.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.script.js +8 -6
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ShareApiReference.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ShareApiReference.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ShareApiReference.vue.script.js +7 -4
- package/dist/features/developer-tools/components/ShareApiReference.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.js.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.script.js +5 -3
- package/dist/features/example-responses/ExampleResponse.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.d.ts +9 -0
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.script.js +42 -23
- package/dist/features/example-responses/ExampleResponses.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleSchema.vue.js.map +1 -1
- package/dist/features/example-responses/ExampleSchema.vue.script.js +1 -1
- package/dist/features/example-responses/ExampleSchema.vue.script.js.map +1 -1
- package/dist/features/info-object/Contact.vue.d.ts.map +1 -1
- package/dist/features/info-object/Contact.vue.js.map +1 -1
- package/dist/features/info-object/Contact.vue.script.js +14 -11
- package/dist/features/info-object/Contact.vue.script.js.map +1 -1
- package/dist/features/info-object/InfoLink.vue.d.ts +8 -0
- package/dist/features/info-object/InfoLink.vue.d.ts.map +1 -0
- package/dist/features/info-object/InfoLink.vue.js +7 -0
- package/dist/features/info-object/InfoLink.vue.js.map +1 -0
- package/dist/features/info-object/InfoLink.vue.script.js +30 -0
- package/dist/features/info-object/InfoLink.vue.script.js.map +1 -0
- package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -1
- package/dist/features/info-object/TermsOfService.vue.js.map +1 -1
- package/dist/features/info-object/TermsOfService.vue.script.js +9 -6
- package/dist/features/info-object/TermsOfService.vue.script.js.map +1 -1
- package/dist/features/info-object/index.d.ts +1 -0
- package/dist/features/info-object/index.d.ts.map +1 -1
- package/dist/features/localization/index.d.ts +2 -0
- package/dist/features/localization/index.d.ts.map +1 -0
- package/dist/features/localization/locales/ar.d.ts +227 -0
- package/dist/features/localization/locales/ar.d.ts.map +1 -0
- package/dist/features/localization/locales/ar.js +225 -0
- package/dist/features/localization/locales/ar.js.map +1 -0
- package/dist/features/localization/locales/de.d.ts +227 -0
- package/dist/features/localization/locales/de.d.ts.map +1 -0
- package/dist/features/localization/locales/de.js +225 -0
- package/dist/features/localization/locales/de.js.map +1 -0
- package/dist/features/localization/locales/en.d.ts +227 -0
- package/dist/features/localization/locales/en.d.ts.map +1 -0
- package/dist/features/localization/locales/en.js +225 -0
- package/dist/features/localization/locales/en.js.map +1 -0
- package/dist/features/localization/locales/es.d.ts +227 -0
- package/dist/features/localization/locales/es.d.ts.map +1 -0
- package/dist/features/localization/locales/es.js +225 -0
- package/dist/features/localization/locales/es.js.map +1 -0
- package/dist/features/localization/locales/fr.d.ts +227 -0
- package/dist/features/localization/locales/fr.d.ts.map +1 -0
- package/dist/features/localization/locales/fr.js +225 -0
- package/dist/features/localization/locales/fr.js.map +1 -0
- package/dist/features/localization/locales/ru.d.ts +227 -0
- package/dist/features/localization/locales/ru.d.ts.map +1 -0
- package/dist/features/localization/locales/ru.js +225 -0
- package/dist/features/localization/locales/ru.js.map +1 -0
- package/dist/features/localization/locales/zh-cn.d.ts +227 -0
- package/dist/features/localization/locales/zh-cn.d.ts.map +1 -0
- package/dist/features/localization/locales/zh-cn.js +225 -0
- package/dist/features/localization/locales/zh-cn.js.map +1 -0
- package/dist/features/localization/translations.d.ts +1588 -0
- package/dist/features/localization/translations.d.ts.map +1 -0
- package/dist/features/localization/translations.js +27 -0
- package/dist/features/localization/translations.js.map +1 -0
- package/dist/features/localization/use-localization.d.ts +18 -0
- package/dist/features/localization/use-localization.d.ts.map +1 -0
- package/dist/features/localization/use-localization.js +58 -0
- package/dist/features/localization/use-localization.js.map +1 -0
- package/dist/features/multiple-documents/DocumentSelector.vue.script.js +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.js.map +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.script.js +3 -1
- package/dist/features/test-request-button/TestRequestButton.vue.script.js.map +1 -1
- package/dist/helpers/is-introduction-entry.d.ts +16 -0
- package/dist/helpers/is-introduction-entry.d.ts.map +1 -0
- package/dist/helpers/is-introduction-entry.js +17 -0
- package/dist/helpers/is-introduction-entry.js.map +1 -0
- package/dist/helpers/load-from-perssistance.js +1 -1
- package/dist/helpers/load-from-perssistance.js.map +1 -1
- package/dist/helpers/map-config-to-workspace-store.js +1 -1
- package/dist/helpers/map-config-to-workspace-store.js.map +1 -1
- package/dist/helpers/storage.d.ts +14 -14
- package/dist/style.css +446 -434
- package/dist/styles/tailwind.config.css +1 -0
- package/dist/vue-styles.css +383 -380
- package/package.json +18 -17
- package/dist/browser/chunks/AgentScalarChatInterface-BhUn0w1j.js +0 -27
- package/dist/browser/chunks/ScalarTextInput.vue-BUzf4Z_k.js +0 -27
- package/dist/browser/chunks/modal-CZI71Aau.js +0 -99
- package/dist/browser/chunks/vendor-BeJNu9KM.js +0 -306
- package/dist/features/Operation/helpers/get-first-server.d.ts +0 -9
- package/dist/features/Operation/helpers/get-first-server.d.ts.map +0 -1
- package/dist/features/Operation/helpers/get-first-server.js +0 -27
- package/dist/features/Operation/helpers/get-first-server.js.map +0 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import AsyncApiSidebarFilters_default from "../blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.js";
|
|
2
|
+
import { filterAsyncApiNavigation } from "../blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.js";
|
|
3
|
+
import { provideLocalization, resolveLocalization } from "../features/localization/use-localization.js";
|
|
1
4
|
import { AGENT_CONTEXT_SYMBOL, useAgent } from "../hooks/use-agent.js";
|
|
2
5
|
import AgentScalarButton_default from "./AgentScalar/AgentScalarButton.vue.js";
|
|
3
6
|
import AgentScalarDrawer_default from "./AgentScalar/AgentScalarDrawer.vue.js";
|
|
@@ -13,6 +16,7 @@ import Content_default from "./Content/Content.vue.js";
|
|
|
13
16
|
import MobileHeader_default from "./MobileHeader.vue.js";
|
|
14
17
|
import DeveloperTools_default from "../features/developer-tools/DeveloperTools.vue.js";
|
|
15
18
|
import DocumentSelector_default from "../features/multiple-documents/DocumentSelector.vue.js";
|
|
19
|
+
import { isIntroductionEntry } from "../helpers/is-introduction-entry.js";
|
|
16
20
|
import SearchButton_default from "../features/Search/components/SearchButton.vue.js";
|
|
17
21
|
import { getSystemModePreference } from "../helpers/color-mode.js";
|
|
18
22
|
import { downloadDocument } from "../helpers/download.js";
|
|
@@ -21,12 +25,12 @@ import { mapConfigPlugins } from "../helpers/map-config-plugins.js";
|
|
|
21
25
|
import { mapConfigToWorkspaceStore } from "../helpers/map-config-to-workspace-store.js";
|
|
22
26
|
import { normalizeConfigurations } from "../helpers/normalize-configurations.js";
|
|
23
27
|
import { safeDeepClone } from "../helpers/safe-deep-clone.js";
|
|
24
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, onBeforeMount, onBeforeUnmount, onMounted, onServerPrefetch, openBlock, provide, ref, renderSlot, resolveDynamicComponent, unref, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
28
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, onBeforeMount, onBeforeUnmount, onMounted, onServerPrefetch, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
25
29
|
import { provideUseId } from "@headlessui/vue";
|
|
26
30
|
import { OpenApiClientButton } from "@scalar/api-client/blocks/operation-block";
|
|
27
31
|
import { ScalarColorModeToggleButton, ScalarColorModeToggleIcon } from "@scalar/components/color-mode-toggle";
|
|
28
32
|
import { addScalarClassesToHeadless } from "@scalar/components/helpers";
|
|
29
|
-
import { ScalarSidebarFooter } from "@scalar/components/sidebar";
|
|
33
|
+
import { ScalarSidebarFooter, ScalarSidebarSection } from "@scalar/components/sidebar";
|
|
30
34
|
import { slugify } from "@scalar/helpers/string/slugify";
|
|
31
35
|
import { isLocalUrl } from "@scalar/helpers/url/is-local-url";
|
|
32
36
|
import { apiReferenceConfigurationSchema } from "@scalar/schemas/api-reference";
|
|
@@ -45,18 +49,24 @@ import { isAsyncApiDocument, isOpenApiDocument } from "@scalar/workspace-store/s
|
|
|
45
49
|
import { useScrollLock } from "@vueuse/core";
|
|
46
50
|
import diff from "microdiff";
|
|
47
51
|
//#region src/components/ApiReference.vue?vue&type=script&setup=true&lang.ts
|
|
48
|
-
var _hoisted_1 =
|
|
52
|
+
var _hoisted_1 = ["dir", "lang"];
|
|
53
|
+
var _hoisted_2 = {
|
|
49
54
|
key: 1,
|
|
50
55
|
class: "flex gap-1.5 px-3 pt-3"
|
|
51
56
|
};
|
|
52
|
-
var
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
var _hoisted_3 = {
|
|
58
|
+
class: "no-underline hover:underline",
|
|
59
|
+
href: "https://www.scalar.com",
|
|
60
|
+
target: "_blank"
|
|
61
|
+
};
|
|
62
|
+
var _hoisted_4 = { key: 1 };
|
|
63
|
+
var _hoisted_5 = ["aria-label", "inert"];
|
|
64
|
+
var _hoisted_6 = { class: "w-64 empty:hidden" };
|
|
65
|
+
var _hoisted_7 = {
|
|
56
66
|
key: 2,
|
|
57
67
|
class: "references-footer"
|
|
58
68
|
};
|
|
59
|
-
var version = "1.
|
|
69
|
+
var version = "1.62.0";
|
|
60
70
|
if (typeof window !== "undefined") console.info(`@scalar/api-reference@${version}`);
|
|
61
71
|
var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
62
72
|
__name: "ApiReference",
|
|
@@ -114,20 +124,57 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
114
124
|
label: c.title,
|
|
115
125
|
id: c.slug
|
|
116
126
|
})));
|
|
127
|
+
/**
|
|
128
|
+
* AsyncAPI sidebar filters (protocol + server).
|
|
129
|
+
*
|
|
130
|
+
* These mirror the document picker: stacked dropdowns at the top of the sidebar
|
|
131
|
+
* that narrow the visible operations. State resets whenever the active document
|
|
132
|
+
* changes so a filter never leaks across documents.
|
|
133
|
+
*/
|
|
134
|
+
const selectedProtocol = ref("");
|
|
135
|
+
const selectedServer = ref("");
|
|
136
|
+
/** The active document, narrowed to AsyncAPI (or `null` for OpenAPI documents). */
|
|
137
|
+
const activeAsyncApiDocument = computed(() => {
|
|
138
|
+
const document = workspaceStore.workspace.activeDocument;
|
|
139
|
+
return isAsyncApiDocument(document) ? document : null;
|
|
140
|
+
});
|
|
141
|
+
watch(activeSlug, () => {
|
|
142
|
+
selectedProtocol.value = "";
|
|
143
|
+
selectedServer.value = "";
|
|
144
|
+
});
|
|
117
145
|
/** Configuration overrides to apply to the selected document (from the localhost toolbar) */
|
|
118
146
|
const configurationOverrides = ref({});
|
|
147
|
+
const withLocalizedConfigurationDefaults = (config, activeConfig) => {
|
|
148
|
+
const localization = resolveLocalization(config.localization);
|
|
149
|
+
const configuredModelsSectionLabel = configurationOverrides.value.modelsSectionLabel ?? (activeConfig?.modelsSectionLabel !== DEFAULT_MODELS_SECTION_LABEL ? activeConfig?.modelsSectionLabel : void 0);
|
|
150
|
+
return {
|
|
151
|
+
...config,
|
|
152
|
+
modelsSectionLabel: configuredModelsSectionLabel ?? localization.translations.models.label ?? DEFAULT_MODELS_SECTION_LABEL
|
|
153
|
+
};
|
|
154
|
+
};
|
|
119
155
|
/** Any dev toolbar modifications are merged with the active configuration */
|
|
120
156
|
const mergedConfig = computed(() => {
|
|
121
|
-
const
|
|
157
|
+
const activeConfig = configList.value[activeSlug.value]?.config;
|
|
158
|
+
return withLocalizedConfigurationDefaults({
|
|
122
159
|
...coerce(apiReferenceConfigurationSchema, {}),
|
|
123
|
-
...
|
|
160
|
+
...activeConfig,
|
|
124
161
|
...configurationOverrides.value
|
|
125
|
-
};
|
|
126
|
-
return {
|
|
127
|
-
...merged,
|
|
128
|
-
modelsSectionLabel: merged.modelsSectionLabel ?? DEFAULT_MODELS_SECTION_LABEL
|
|
129
|
-
};
|
|
162
|
+
}, activeConfig);
|
|
130
163
|
});
|
|
164
|
+
const apiReferenceLocalization = provideLocalization(() => mergedConfig.value.localization);
|
|
165
|
+
const sidebarOptions = computed(() => ({
|
|
166
|
+
...mergedConfig.value,
|
|
167
|
+
labels: {
|
|
168
|
+
closeGroup: apiReferenceLocalization.translate("navigation.closeGroup"),
|
|
169
|
+
httpMethod: apiReferenceLocalization.translate("common.httpMethod"),
|
|
170
|
+
openGroup: apiReferenceLocalization.translate("navigation.openGroup")
|
|
171
|
+
}
|
|
172
|
+
}));
|
|
173
|
+
/**
|
|
174
|
+
* Locale string for the `lang` attribute. We normalize underscores to hyphens so values like
|
|
175
|
+
* `es_MX` become valid BCP-47 language tags (`es-MX`).
|
|
176
|
+
*/
|
|
177
|
+
const documentLang = computed(() => apiReferenceLocalization.locale.value.replace("_", "-"));
|
|
131
178
|
/** Convenience break out var to determine which routing mode we are using */
|
|
132
179
|
const basePath = computed(() => mergedConfig.value.pathRouting?.basePath);
|
|
133
180
|
const themeStyle = computed(() => getThemeStyles(mergedConfig.value.theme, { fonts: mergedConfig.value.withDefaultFonts }));
|
|
@@ -210,15 +257,56 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
210
257
|
"content.start": [],
|
|
211
258
|
"content.end": []
|
|
212
259
|
}));
|
|
260
|
+
/**
|
|
261
|
+
* Localize the synthetic labels we generate for the sidebar (introduction, webhooks, and the models
|
|
262
|
+
* section). Entries are only cloned when a label actually changes, so the common English-default case
|
|
263
|
+
* does not allocate a new navigation tree on every recompute.
|
|
264
|
+
*/
|
|
265
|
+
const localizeNavigationEntries = (entries) => {
|
|
266
|
+
const introductionTitle = apiReferenceLocalization.translate("navigation.introduction");
|
|
267
|
+
const webhooksTitle = apiReferenceLocalization.translate("navigation.webhooks");
|
|
268
|
+
const modelsSectionLabel = mergedConfig.value.modelsSectionLabel ?? DEFAULT_MODELS_SECTION_LABEL;
|
|
269
|
+
const localize = (list) => {
|
|
270
|
+
let changed = false;
|
|
271
|
+
const result = list.map((entry) => {
|
|
272
|
+
let localized = entry;
|
|
273
|
+
if (isIntroductionEntry(entry) && entry.title !== introductionTitle) localized = {
|
|
274
|
+
...entry,
|
|
275
|
+
title: introductionTitle
|
|
276
|
+
};
|
|
277
|
+
else if (entry.type === "tag" && entry.isWebhooks === true && (entry.title !== webhooksTitle || entry.name !== webhooksTitle)) localized = {
|
|
278
|
+
...entry,
|
|
279
|
+
title: webhooksTitle,
|
|
280
|
+
name: webhooksTitle
|
|
281
|
+
};
|
|
282
|
+
else if (entry.type === "models" && (entry.title !== modelsSectionLabel || entry.name !== modelsSectionLabel)) localized = {
|
|
283
|
+
...entry,
|
|
284
|
+
title: modelsSectionLabel,
|
|
285
|
+
name: modelsSectionLabel
|
|
286
|
+
};
|
|
287
|
+
if ("children" in entry && entry.children) {
|
|
288
|
+
const localizedChildren = localize(entry.children);
|
|
289
|
+
if (localizedChildren !== entry.children) {
|
|
290
|
+
localized = localized === entry ? { ...entry } : localized;
|
|
291
|
+
localized.children = localizedChildren;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
if (localized !== entry) changed = true;
|
|
295
|
+
return localized;
|
|
296
|
+
});
|
|
297
|
+
return changed ? result : list;
|
|
298
|
+
};
|
|
299
|
+
return localize(entries);
|
|
300
|
+
};
|
|
213
301
|
/** Initialize the sidebar */
|
|
214
302
|
const sidebarState = createSidebarState(computed(() => {
|
|
215
303
|
return Object.entries(workspaceStore.workspace.documents).map(([slug, document]) => {
|
|
216
304
|
const children = document["x-scalar-navigation"]?.children ?? [];
|
|
217
305
|
const childrenWithPlugins = slug === activeSlug.value ? [
|
|
218
306
|
...pluginSidebarEntries.value["content.start"],
|
|
219
|
-
...children,
|
|
307
|
+
...localizeNavigationEntries(children),
|
|
220
308
|
...pluginSidebarEntries.value["content.end"]
|
|
221
|
-
] : children;
|
|
309
|
+
] : localizeNavigationEntries(children);
|
|
222
310
|
return {
|
|
223
311
|
id: slug,
|
|
224
312
|
type: "document",
|
|
@@ -240,7 +328,11 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
240
328
|
const sidebarItems = computed(() => {
|
|
241
329
|
const config = mergedConfig.value;
|
|
242
330
|
if (!config) return [];
|
|
243
|
-
const
|
|
331
|
+
const rawDocItems = sidebarState.items.value.find((item) => item.id === activeSlug.value)?.children ?? [];
|
|
332
|
+
const docItems = activeAsyncApiDocument.value ? filterAsyncApiNavigation(rawDocItems, activeAsyncApiDocument.value, {
|
|
333
|
+
protocol: selectedProtocol.value,
|
|
334
|
+
server: selectedServer.value
|
|
335
|
+
}) : rawDocItems;
|
|
244
336
|
if (config.defaultOpenAllTags) setChildrenOpen(docItems);
|
|
245
337
|
if (config.expandAllModelSections) {
|
|
246
338
|
const models = docItems.find((item) => item.type === "models");
|
|
@@ -254,7 +346,7 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
254
346
|
return docItems;
|
|
255
347
|
});
|
|
256
348
|
/** Find the sidebar entry that represents the introduction section */
|
|
257
|
-
const infoSectionId = computed(() => sidebarItems.value.find(
|
|
349
|
+
const infoSectionId = computed(() => sidebarItems.value.find(isIntroductionEntry)?.id ?? `${activeSlug.value}/description/introduction`);
|
|
258
350
|
/** User for mobile navigation */
|
|
259
351
|
const breadcrumb = ref("");
|
|
260
352
|
const slotProps = computed(() => ({ breadcrumb: breadcrumb.value }));
|
|
@@ -355,10 +447,10 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
355
447
|
console.warn(`Document ${slug} not found in configList`);
|
|
356
448
|
return;
|
|
357
449
|
}
|
|
358
|
-
const config = {
|
|
450
|
+
const config = withLocalizedConfigurationDefaults({
|
|
359
451
|
...normalized.config,
|
|
360
452
|
...configurationOverrides.value
|
|
361
|
-
};
|
|
453
|
+
}, normalized.config);
|
|
362
454
|
const onDocumentSelectPromise = config.onDocumentSelect?.();
|
|
363
455
|
syncSlugAndUrlWithDocument(slug, elementId, config);
|
|
364
456
|
apiClient.value?.route({
|
|
@@ -408,6 +500,10 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
408
500
|
* when we detect configuration changes.
|
|
409
501
|
*/
|
|
410
502
|
const updateSource = async (updated, previous) => {
|
|
503
|
+
const config = withLocalizedConfigurationDefaults({
|
|
504
|
+
...updated.config,
|
|
505
|
+
...configurationOverrides.value
|
|
506
|
+
}, updated.config);
|
|
411
507
|
/** If we have not loaded the document previously we don't need to handle any updates to store */
|
|
412
508
|
if (!workspaceStore.workspace.documents[updated.slug]) return;
|
|
413
509
|
/** If the URL has changed we fetch and rebase */
|
|
@@ -415,8 +511,8 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
415
511
|
await addDocument({
|
|
416
512
|
name: updated.slug,
|
|
417
513
|
url: updated.source.url,
|
|
418
|
-
fetch:
|
|
419
|
-
},
|
|
514
|
+
fetch: config.customFetch
|
|
515
|
+
}, config);
|
|
420
516
|
return;
|
|
421
517
|
}
|
|
422
518
|
if (!updated.source.content) return;
|
|
@@ -427,7 +523,7 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
427
523
|
if (diff(updated.source.content, previous && "content" in previous.source ? previous.source.content ?? {} : {}).length) await addDocument({
|
|
428
524
|
name: updated.slug,
|
|
429
525
|
document: updated.source.content
|
|
430
|
-
},
|
|
526
|
+
}, config);
|
|
431
527
|
};
|
|
432
528
|
newConfigList.forEach((newConfig, index) => updateSource(newConfig, oldConfigList[index]));
|
|
433
529
|
const newSlugs = newConfigList.map((c) => c.slug);
|
|
@@ -609,7 +705,9 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
609
705
|
"references-sidebar": mergedConfig.value.showSidebar,
|
|
610
706
|
"references-sidebar-mobile-open": isSidebarOpen.value,
|
|
611
707
|
"references-classic": mergedConfig.value.layout === "classic"
|
|
612
|
-
}, _ctx.$attrs.class]])
|
|
708
|
+
}, _ctx.$attrs.class]]),
|
|
709
|
+
dir: unref(apiReferenceLocalization).direction.value,
|
|
710
|
+
lang: documentLang.value
|
|
613
711
|
}, [
|
|
614
712
|
unref(agent).agentEnabled.value ? (openBlock(), createBlock(unref(AgentScalarDrawer_default), {
|
|
615
713
|
key: 0,
|
|
@@ -626,7 +724,7 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
626
724
|
breadcrumb: breadcrumb.value,
|
|
627
725
|
isSidebarOpen: isSidebarOpen.value,
|
|
628
726
|
showSidebar: mergedConfig.value.showSidebar,
|
|
629
|
-
onToggleSidebar: _cache[
|
|
727
|
+
onToggleSidebar: _cache[5] || (_cache[5] = () => isSidebarOpen.value = !isSidebarOpen.value)
|
|
630
728
|
}, {
|
|
631
729
|
search: withCtx(() => [!mergedConfig.value.hideSearch ? (openBlock(), createBlock(SearchButton_default, {
|
|
632
730
|
key: 0,
|
|
@@ -647,16 +745,16 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
647
745
|
])) : createCommentVNode("", true)]),
|
|
648
746
|
sidebar: withCtx(({ sidebarClasses }) => [mergedConfig.value.showSidebar && mergedConfig.value.layout === "modern" ? (openBlock(), createBlock(unref(ScalarSidebar), {
|
|
649
747
|
key: 0,
|
|
650
|
-
"aria-label":
|
|
748
|
+
"aria-label": unref(apiReferenceLocalization).translate("navigation.sidebarFor", { name: unref(workspaceStore).workspace.activeDocument?.info?.title ?? "" }),
|
|
651
749
|
class: normalizeClass(["t-doc__sidebar", sidebarClasses]),
|
|
652
750
|
isExpanded: unref(sidebarState).isExpanded,
|
|
653
751
|
isSelected: unref(sidebarState).isSelected,
|
|
654
752
|
items: sidebarItems.value,
|
|
655
753
|
layout: "reference",
|
|
656
|
-
options:
|
|
754
|
+
options: sidebarOptions.value,
|
|
657
755
|
role: "navigation",
|
|
658
|
-
onSelectItem: _cache[
|
|
659
|
-
onToggleGroup: _cache[
|
|
756
|
+
onSelectItem: _cache[3] || (_cache[3] = (id) => handleSelectSidebarEntry(id, "sidebar")),
|
|
757
|
+
onToggleGroup: _cache[4] || (_cache[4] = (id) => unref(sidebarState).setExpanded(id, !unref(sidebarState).isExpanded(id)))
|
|
660
758
|
}, {
|
|
661
759
|
header: withCtx(() => [
|
|
662
760
|
documentOptionList.value.length > 1 ? (openBlock(), createBlock(DocumentSelector_default, {
|
|
@@ -665,7 +763,7 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
665
763
|
options: documentOptionList.value,
|
|
666
764
|
"onUpdate:modelValue": changeSelectedDocument
|
|
667
765
|
}, null, 8, ["modelValue", "options"])) : createCommentVNode("", true),
|
|
668
|
-
!mergedConfig.value.hideSearch ? (openBlock(), createElementBlock("div",
|
|
766
|
+
!mergedConfig.value.hideSearch ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(SearchButton_default, {
|
|
669
767
|
document: activeSearchableDocument.value,
|
|
670
768
|
eventBus: unref(eventBus),
|
|
671
769
|
hideModels: mergedConfig.value.hideModels,
|
|
@@ -680,12 +778,30 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
680
778
|
]), unref(agent).agentEnabled.value ? (openBlock(), createBlock(unref(AgentScalarButton_default), { key: 0 })) : createCommentVNode("", true)])) : createCommentVNode("", true),
|
|
681
779
|
renderSlot(_ctx.$slots, "sidebar-start", normalizeProps(guardReactiveProps(slotProps.value)), void 0, true)
|
|
682
780
|
]),
|
|
781
|
+
before: withCtx(() => [createVNode(unref(AsyncApiSidebarFilters_default), {
|
|
782
|
+
protocol: selectedProtocol.value,
|
|
783
|
+
"onUpdate:protocol": _cache[0] || (_cache[0] = ($event) => selectedProtocol.value = $event),
|
|
784
|
+
server: selectedServer.value,
|
|
785
|
+
"onUpdate:server": _cache[1] || (_cache[1] = ($event) => selectedServer.value = $event),
|
|
786
|
+
document: activeAsyncApiDocument.value
|
|
787
|
+
}, null, 8, [
|
|
788
|
+
"protocol",
|
|
789
|
+
"server",
|
|
790
|
+
"document"
|
|
791
|
+
]), activeAsyncApiDocument.value ? (openBlock(), createBlock(unref(ScalarSidebarSection), {
|
|
792
|
+
key: 0,
|
|
793
|
+
class: "asyncapi-sidebar-document-section"
|
|
794
|
+
}, {
|
|
795
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [createTextVNode(" Document ", -1)])]),
|
|
796
|
+
_: 1
|
|
797
|
+
})) : createCommentVNode("", true)]),
|
|
683
798
|
footer: withCtx(() => [renderSlot(_ctx.$slots, "sidebar-end", normalizeProps(guardReactiveProps(slotProps.value)), () => [createVNode(unref(ScalarSidebarFooter), { class: "darklight-reference" }, {
|
|
799
|
+
description: withCtx(() => [createElementVNode("a", _hoisted_3, toDisplayString(unref(apiReferenceLocalization).translate("footer.poweredByScalar")), 1)]),
|
|
684
800
|
toggle: withCtx(() => [!mergedConfig.value.hideDarkModeToggle && !mergedConfig.value.forceDarkModeState ? (openBlock(), createBlock(unref(ScalarColorModeToggleButton), {
|
|
685
801
|
key: 0,
|
|
686
802
|
modelValue: colorMode.value === "dark",
|
|
687
|
-
"onUpdate:modelValue": _cache[
|
|
688
|
-
}, null, 8, ["modelValue"])) : (openBlock(), createElementBlock("span",
|
|
803
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = () => unref(toggleColorMode)())
|
|
804
|
+
}, null, 8, ["modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_4))]),
|
|
689
805
|
default: withCtx(() => [!mergedConfig.value.hideClientButton && !showMCPButton.value ? (openBlock(), createBlock(unref(OpenApiClientButton), {
|
|
690
806
|
key: 0,
|
|
691
807
|
buttonSource: "sidebar",
|
|
@@ -728,7 +844,7 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
728
844
|
"showSidebar"
|
|
729
845
|
])) : createCommentVNode("", true),
|
|
730
846
|
createElementVNode("main", {
|
|
731
|
-
"aria-label":
|
|
847
|
+
"aria-label": unref(apiReferenceLocalization).translate("navigation.mainContent", { name: unref(workspaceStore).workspace.activeDocument?.info?.title ?? "" }),
|
|
732
848
|
class: "references-rendered",
|
|
733
849
|
inert: unref(agent).showAgent.value
|
|
734
850
|
}, [createVNode(Content_default, {
|
|
@@ -743,7 +859,8 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
743
859
|
infoSectionId: infoSectionId.value,
|
|
744
860
|
items: sidebarItems.value,
|
|
745
861
|
options: mergedConfig.value,
|
|
746
|
-
xScalarDefaultClient: unref(clientStore).workspace["x-scalar-default-client"]
|
|
862
|
+
xScalarDefaultClient: unref(clientStore).workspace["x-scalar-default-client"],
|
|
863
|
+
xScalarDefaultExample: unref(clientStore).workspace["x-scalar-default-example"]
|
|
747
864
|
}, createSlots({
|
|
748
865
|
start: withCtx(() => [
|
|
749
866
|
createElementVNode("div", {
|
|
@@ -753,7 +870,7 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
753
870
|
unref(workspaceStore).workspace.activeDocument ? (openBlock(), createBlock(unref(DeveloperTools_default), {
|
|
754
871
|
key: 0,
|
|
755
872
|
overrides: configurationOverrides.value,
|
|
756
|
-
"onUpdate:overrides": _cache[
|
|
873
|
+
"onUpdate:overrides": _cache[6] || (_cache[6] = ($event) => configurationOverrides.value = $event),
|
|
757
874
|
class: "references-developer-tools",
|
|
758
875
|
configuration: mergedConfig.value,
|
|
759
876
|
externalUrls: mergedConfig.value.externalUrls,
|
|
@@ -771,14 +888,25 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
771
888
|
mode: colorMode.value,
|
|
772
889
|
style: { "transform": "scale(1.4)" },
|
|
773
890
|
variant: "icon",
|
|
774
|
-
onClick: _cache[
|
|
891
|
+
onClick: _cache[9] || (_cache[9] = () => unref(toggleColorMode)())
|
|
775
892
|
}, null, 8, ["mode"])) : createCommentVNode("", true)]),
|
|
776
|
-
default: withCtx(() => [createElementVNode("div",
|
|
893
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_6, [documentOptionList.value.length > 1 ? (openBlock(), createBlock(DocumentSelector_default, {
|
|
777
894
|
key: 0,
|
|
778
895
|
modelValue: activeSlug.value,
|
|
779
896
|
options: documentOptionList.value,
|
|
780
897
|
"onUpdate:modelValue": changeSelectedDocument
|
|
781
|
-
}, null, 8, ["modelValue", "options"])) : createCommentVNode("", true)
|
|
898
|
+
}, null, 8, ["modelValue", "options"])) : createCommentVNode("", true), createVNode(unref(AsyncApiSidebarFilters_default), {
|
|
899
|
+
is: "div",
|
|
900
|
+
protocol: selectedProtocol.value,
|
|
901
|
+
"onUpdate:protocol": _cache[7] || (_cache[7] = ($event) => selectedProtocol.value = $event),
|
|
902
|
+
server: selectedServer.value,
|
|
903
|
+
"onUpdate:server": _cache[8] || (_cache[8] = ($event) => selectedServer.value = $event),
|
|
904
|
+
document: activeAsyncApiDocument.value
|
|
905
|
+
}, null, 8, [
|
|
906
|
+
"protocol",
|
|
907
|
+
"server",
|
|
908
|
+
"document"
|
|
909
|
+
])]), !mergedConfig.value.hideSearch ? (openBlock(), createBlock(SearchButton_default, {
|
|
782
910
|
key: 0,
|
|
783
911
|
class: "t-doc__sidebar max-w-64",
|
|
784
912
|
document: activeSearchableDocument.value,
|
|
@@ -815,14 +943,15 @@ var ApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
815
943
|
"infoSectionId",
|
|
816
944
|
"items",
|
|
817
945
|
"options",
|
|
818
|
-
"xScalarDefaultClient"
|
|
819
|
-
|
|
820
|
-
|
|
946
|
+
"xScalarDefaultClient",
|
|
947
|
+
"xScalarDefaultExample"
|
|
948
|
+
])], 8, _hoisted_5),
|
|
949
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_7, [renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps(slotProps.value)), void 0, true)])) : createCommentVNode("", true),
|
|
821
950
|
createElementVNode("div", {
|
|
822
951
|
ref_key: "modal",
|
|
823
952
|
ref: modal
|
|
824
953
|
}, null, 512)
|
|
825
|
-
],
|
|
954
|
+
], 10, _hoisted_1),
|
|
826
955
|
createVNode(unref(ScalarToasts))
|
|
827
956
|
]);
|
|
828
957
|
};
|