@scalar/api-reference 1.63.0 → 1.64.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 +90 -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.script.js +1 -1
- 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.script.js +1 -1
- 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.script.js +2 -2
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.script.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.script.js +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.script.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +1 -3
- 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 +13 -27
- 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.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 +37 -25
- 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.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 +10 -4
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoVersion.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoVersion.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.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.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js +5 -5
- package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/SpecificationVersion.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 -9
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.script.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/helpers/language-icon.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/helpers/renderable-sdks.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/helpers/visible-tab-count.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.script.js +1 -1
- 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.script.js +1 -1
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.script.js.map +1 -1
- package/dist/browser/chunks/AgentScalarChatInterface-D1mzA447.js +27 -0
- package/dist/browser/chunks/ScalarTextInput.vue-OfiA6SHf.js +27 -0
- package/dist/browser/chunks/{basic-shape-diamond.svg-BTEOT1FL.js → basic-shape-diamond.svg-o5eiY2I7.js} +2 -2
- package/dist/browser/chunks/{basic-shape-hexagon.svg-BSPzaCgF.js → basic-shape-hexagon.svg-CGuS7mbd.js} +2 -2
- package/dist/browser/chunks/{basic-shape-primary-circle-ellipse-round.svg-DKmZ8UUU.js → basic-shape-primary-circle-ellipse-round.svg-DDIpXiBm.js} +2 -2
- package/dist/browser/chunks/{basic-shape-primary-square-rectangle.svg-n2YRykHD.js → basic-shape-primary-square-rectangle.svg-DzVEJHMB.js} +2 -2
- package/dist/browser/chunks/{basic-shape-shield.svg-Bec9cJDA.js → basic-shape-shield.svg-BZzapRqv.js} +2 -2
- package/dist/browser/chunks/browser-CTPPEMEL.js +129 -0
- package/dist/browser/chunks/{computer-device-desktop-monitor.svg-m6j893Hb.js → computer-device-desktop-monitor.svg-OSM05r1I.js} +2 -2
- package/dist/browser/chunks/{computer-device-desktop.svg-Dk1VVO7k.js → computer-device-desktop.svg-BMFzGZ27.js} +2 -2
- package/dist/browser/chunks/{computer-device-laptop.svg-BNGVUCYS.js → computer-device-laptop.svg-CMAjzuB-.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-phone-android-samsung-back.svg-CC4UUTFw.js → computer-device-mobile-phone-android-samsung-back.svg-D4xBONmL.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-phone-android-samsung.svg-D8ExpMpL.js → computer-device-mobile-phone-android-samsung.svg-gbMJLjJw.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-phone-iphone-x-back.svg-CLm7sgMM.js → computer-device-mobile-phone-iphone-x-back.svg-Bl1rmdKA.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-phone-iphone-x.svg-Xrttg6_7.js → computer-device-mobile-phone-iphone-x.svg-DVetP0aa.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-tablet-touch.svg-DQ2oTvOG.js → computer-device-mobile-tablet-touch.svg-Zi88BP4L.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-tablet.svg-DCr0XlRc.js → computer-device-mobile-tablet.svg-C1ggisWP.js} +2 -2
- package/dist/browser/chunks/{computer-device-network-ethernet-cat6.svg-AK9l0iOl.js → computer-device-network-ethernet-cat6.svg-BIUymdC1.js} +2 -2
- package/dist/browser/chunks/{computer-device-network-lan-www.svg-gUIdFBlE.js → computer-device-network-lan-www.svg-CoFUlIVO.js} +2 -2
- package/dist/browser/chunks/{computer-device-network-wifi-connection.svg-Be-EMm4e.js → computer-device-network-wifi-connection.svg-DeWsacxI.js} +2 -2
- package/dist/browser/chunks/{computer-device-network-wifi-router.svg-Dc2VzyqK.js → computer-device-network-wifi-router.svg-BjpZEot4.js} +2 -2
- package/dist/browser/chunks/{ecology-science-erlenmeyer-flask.svg-DHgy7Jfd.js → ecology-science-erlenmeyer-flask.svg-ftjGGirE.js} +2 -2
- package/dist/browser/chunks/{image-flash-lightning.svg-EETR_y1q.js → image-flash-lightning.svg-DYQ0W4Fi.js} +2 -2
- package/dist/browser/chunks/{image-picture-flower.svg-DN1AYzJU.js → image-picture-flower.svg-Bfe5SVDf.js} +2 -2
- package/dist/browser/chunks/{interface-alert-exclamation-diamond.svg-C5NozMV_.js → interface-alert-exclamation-diamond.svg-D1HePDNM.js} +2 -2
- package/dist/browser/chunks/{interface-alert-exclamation-triangle-warning.svg-DaAg2fF5.js → interface-alert-exclamation-triangle-warning.svg-CILUsxBC.js} +2 -2
- package/dist/browser/chunks/{interface-alert-information-circle.svg-ckkkt9Mv.js → interface-alert-information-circle.svg-9LrbJM5J.js} +2 -2
- package/dist/browser/chunks/{interface-award-crown.svg-pjvn9hY-.js → interface-award-crown.svg-DllWgiU1.js} +2 -2
- package/dist/browser/chunks/{interface-bookmark.svg-BK9HKQBT.js → interface-bookmark-tag.svg-Dc-JL-Kc.js} +2 -2
- package/dist/browser/chunks/{interface-bookmark-tag.svg-r2r-lQq4.js → interface-bookmark.svg-Dc-JL-Kc.js} +2 -2
- package/dist/browser/chunks/{interface-calendar-date-one.svg-DNnF0M1I.js → interface-calendar-date-one.svg-DO2jelhF.js} +2 -2
- package/dist/browser/chunks/{interface-content-book-open-pages.svg-CQj_w9Vp.js → interface-content-book-open-pages.svg-BJjMjIgA.js} +2 -2
- package/dist/browser/chunks/{interface-content-book-page.svg-DppoeJRe.js → interface-content-book-page.svg-C6rKB2fs.js} +2 -2
- package/dist/browser/chunks/{interface-content-file.svg-CvcD7OiY.js → interface-content-file.svg-CS0q2FKx.js} +2 -2
- package/dist/browser/chunks/{interface-content-folder.svg-BmtS5I9A.js → interface-content-folder.svg-CThTWsJX.js} +2 -2
- package/dist/browser/chunks/{interface-copy-clipboard.svg-Be6EI50X.js → interface-copy-clipboard.svg-DdN67cLv.js} +2 -2
- package/dist/browser/chunks/{interface-edit-attachment.svg-G5TKzpWX.js → interface-edit-attachment.svg-Ciizphuh.js} +2 -2
- package/dist/browser/chunks/{interface-edit-binocular.svg-jzL-DvGB.js → interface-edit-binocular.svg-Dw1nDqmL.js} +2 -2
- package/dist/browser/chunks/{interface-edit-magic-wand.svg-BOTlymvp.js → interface-edit-magic-wand.svg-BYS0jm_E.js} +2 -2
- package/dist/browser/chunks/{interface-edit-tool-paint-roller.svg-s9dwryx7.js → interface-edit-tool-paint-roller.svg-NioSHZC2.js} +2 -2
- package/dist/browser/chunks/{interface-edit-tool-pencil.svg-C7v0dbB3.js → interface-edit-tool-pencil.svg-P87QFlat.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-award.svg-CYHUgUG0.js → interface-favorite-award.svg-DBBAChSi.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-flag.svg-C10zlKOb.js → interface-favorite-flag.svg-HlhPomHY.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-heart.svg-eoduXxlz.js → interface-favorite-heart.svg-Cqu2GYDo.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-star.svg-BSmxJetr.js → interface-favorite-star.svg-BD4JY_J2.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-stars-sparkles.svg-JTFLj3Ls.js → interface-favorite-stars-sparkles.svg-BXi6aO8q.js} +2 -2
- package/dist/browser/chunks/{interface-hierarchy-flowchart.svg-Cg_Wy0kN.js → interface-hierarchy-flowchart.svg-CDEVSsD4.js} +2 -2
- package/dist/browser/chunks/{interface-home-house.svg-DytoGRnv.js → interface-home-house.svg-DJetUjwj.js} +2 -2
- package/dist/browser/chunks/{interface-hyperlink.svg-CuEfmmQI.js → interface-hyperlink.svg-DJ1LREmz.js} +2 -2
- package/dist/browser/chunks/{interface-lighting-brightness.svg-DSK0h_Pa.js → interface-lighting-brightness.svg-TGKAaHYV.js} +2 -2
- package/dist/browser/chunks/{interface-lock-closed.svg-Cn6TaLYv.js → interface-lock-closed.svg-3hehWr3i.js} +2 -2
- package/dist/browser/chunks/{interface-lock-open-unlock.svg-CVkG5-9W.js → interface-lock-open-unlock.svg-CuXKcv1m.js} +2 -2
- package/dist/browser/chunks/{interface-login-key.svg-y-cwwXjN.js → interface-login-key.svg-Chwvvywd.js} +2 -2
- package/dist/browser/chunks/{interface-search.svg-S-puVFJB.js → interface-search.svg-JDE3fk0u.js} +2 -2
- package/dist/browser/chunks/{interface-setting-cog.svg-CTH4_lLg.js → interface-setting-cog.svg-BBCkeh4K.js} +2 -2
- package/dist/browser/chunks/{interface-share-megaphone-bullhorn.svg-Pbp39MyC.js → interface-share-megaphone-bullhorn.svg-CDdxF-4y.js} +2 -2
- package/dist/browser/chunks/{interface-share-rocket.svg-BgCsIRZO.js → interface-share-rocket.svg-DSbdn_o7.js} +2 -2
- package/dist/browser/chunks/{interface-share-satellite.svg-DAMN9d5G.js → interface-share-satellite.svg-CefBVZvY.js} +2 -2
- package/dist/browser/chunks/{interface-share-space-ship.svg-Dt-Mejxk.js → interface-share-space-ship.svg-tFA2dsSU.js} +2 -2
- package/dist/browser/chunks/{interface-share.svg-vFYTXSti.js → interface-share.svg-BpOGopyv.js} +2 -2
- package/dist/browser/chunks/{interface-signal-square.svg-DNG4LpAe.js → interface-signal-square.svg-BcX_BoaC.js} +2 -2
- package/dist/browser/chunks/{interface-time-clock-circle.svg-Bpz-nLxo.js → interface-time-clock-circle.svg-C8B_L_RM.js} +2 -2
- package/dist/browser/chunks/{interface-time-hour-glass.svg-D7agfKsH.js → interface-time-hour-glass.svg-qw-oeoVn.js} +2 -2
- package/dist/browser/chunks/{interface-users-multiple.svg-CkPJBBnG.js → interface-users-multiple.svg-Cs13Eewq.js} +2 -2
- package/dist/browser/chunks/{interface-weather-moon.svg-CaTZFMPO.js → interface-weather-moon.svg-CV-oDTae.js} +2 -2
- package/dist/browser/chunks/{mail-chat-bubble-square.svg-DC8RIihp.js → mail-chat-bubble-square.svg-dpauJhin.js} +2 -2
- package/dist/browser/chunks/{mail-send-email-paper-airplane.svg-D8OLs9jz.js → mail-send-email-paper-airplane.svg-BBofxojL.js} +2 -2
- package/dist/browser/chunks/{mail-send-envelope.svg-CV33h5Sx.js → mail-send-envelope.svg-DyENgYOI.js} +2 -2
- package/dist/browser/chunks/modal-BS4e2gew.js +99 -0
- package/dist/browser/chunks/{money-cashier-receipt.svg-CJL8C2gs.js → money-cashier-receipt.svg-dNTr5aio.js} +2 -2
- package/dist/browser/chunks/{money-currency-dollar-pay.svg-VdBplCTx.js → money-currency-dollar-pay.svg-1ZESPtFY.js} +2 -2
- package/dist/browser/chunks/{money-graph-arrow-increase.svg-DcRov3zk.js → money-graph-arrow-increase.svg-kEZ2u2z2.js} +2 -2
- package/dist/browser/chunks/{money-graph-bar-chart-increase.svg-Cc7KxjX-.js → money-graph-bar-chart-increase.svg-B-t2UWB3.js} +2 -2
- package/dist/browser/chunks/{nature-ecology-leaf.svg-DR3cTZxt.js → nature-ecology-leaf.svg-DZ2GJV8m.js} +2 -2
- package/dist/browser/chunks/{phone-telephone.svg-DyY0gUlk.js → phone-telephone.svg-C12QjpN7.js} +2 -2
- package/dist/browser/chunks/{programming-bug.svg-BHLT-Qhp.js → programming-bug.svg-wLTsruN9.js} +2 -2
- package/dist/browser/chunks/{programming-cloud.svg-B6YW33ba.js → programming-cloud.svg-3XU6dNUg.js} +2 -2
- package/dist/browser/chunks/{programming-computer-database-server.svg-B6o5Sdn-.js → programming-computer-database-server.svg-B1JrHSPd.js} +2 -2
- package/dist/browser/chunks/{programming-computer-database.svg-Cl7OVtpJ.js → programming-computer-database.svg-BxHSuFl7.js} +2 -2
- package/dist/browser/chunks/{programming-module-four-layout.svg-BQrerL1x.js → programming-module-four-layout.svg-CeV35q45.js} +2 -2
- package/dist/browser/chunks/{programming-module-three.svg-B2KTQzBM.js → programming-module-three.svg-YIBpLt45.js} +2 -2
- package/dist/browser/chunks/{programming-module.svg-CiID7kPm.js → programming-module.svg-CU_pEibI.js} +2 -2
- package/dist/browser/chunks/{programming-script-code.svg-D1M5rtkN.js → programming-script-code.svg-CLzinmHT.js} +2 -2
- package/dist/browser/chunks/runtime-core.esm-bundler-CqqEw5ds.js +17 -0
- package/dist/browser/chunks/{shopping-cart.svg-BEegiIR9.js → shopping-cart.svg-Brzddu3K.js} +2 -2
- package/dist/browser/chunks/{shopping-gift-present.svg-BUHwuLix.js → shopping-gift-present.svg-l2K48g7L.js} +2 -2
- package/dist/browser/chunks/{shopping-shipping-box-parcel-package.svg-D6fxWdYx.js → shopping-shipping-box-parcel-package.svg-DesGopPo.js} +2 -2
- package/dist/browser/chunks/{tag-new-circle.svg-jsg1bGs0.js → tag-new-circle.svg-DE-VaLZU.js} +2 -2
- package/dist/browser/chunks/{travel-map-earth-globe.svg-ClbMiU-f.js → travel-map-earth-globe.svg-DLaOMzx6.js} +2 -2
- package/dist/browser/chunks/vendor-DWZAEyBy.js +306 -0
- package/dist/browser/standalone.esm.js +26 -24
- package/dist/browser/standalone.js +310 -311
- package/dist/components/AgentScalar/AgentScalarButton.vue.script.js +1 -1
- package/dist/components/AgentScalar/AgentScalarButton.vue.script.js.map +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.script.js +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.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.script.js +1 -1
- 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 +47 -32
- 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.script.js +1 -1
- package/dist/components/Anchor/Anchor.vue.script.js.map +1 -1
- package/dist/components/Anchor/WithBreadcrumb.vue.script.js +2 -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 +141 -33
- package/dist/components/ApiReference.vue.script.js.map +1 -1
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/Badge.vue.js +1 -1
- package/dist/components/Badge/Badge.vue.js.map +1 -1
- package/dist/components/Badge/Badge.vue.script.js +9 -9
- package/dist/components/Badge/Badge.vue.script.js.map +1 -1
- package/dist/components/ClassicHeader.vue.js +1 -1
- package/dist/components/ClassicHeader.vue.js.map +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.js +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiTraversedEntry.vue.script.js +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiTraversedEntry.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/Channel.vue.d.ts.map +1 -1
- package/dist/components/Content/AsyncApi/Channel.vue.js +1 -1
- package/dist/components/Content/AsyncApi/Channel.vue.script.js +1 -1
- package/dist/components/Content/AsyncApi/Channel.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/ChannelsList.vue.js +1 -1
- package/dist/components/Content/AsyncApi/ChannelsList.vue.script.js +1 -1
- package/dist/components/Content/AsyncApi/ChannelsList.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/Message.vue.d.ts.map +1 -1
- package/dist/components/Content/AsyncApi/Message.vue.js +1 -1
- package/dist/components/Content/AsyncApi/Message.vue.script.js +2 -2
- package/dist/components/Content/AsyncApi/Message.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/Operation.vue.d.ts.map +1 -1
- package/dist/components/Content/AsyncApi/Operation.vue.js +1 -1
- package/dist/components/Content/AsyncApi/Operation.vue.js.map +1 -1
- package/dist/components/Content/AsyncApi/Operation.vue.script.js +6 -1
- package/dist/components/Content/AsyncApi/Operation.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/adapt-async-api-parameters.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/async-api-render-options.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/filter-children-by-type.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/get-async-api-labels.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.d.ts +17 -0
- package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.d.ts.map +1 -0
- package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.js +21 -0
- package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.js.map +1 -0
- package/dist/components/Content/AsyncApi/helpers/pick-heading.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/resolve-async-api-nodes.js.map +1 -1
- package/dist/components/Content/Auth/Auth.vue.script.js +1 -1
- package/dist/components/Content/Auth/Auth.vue.script.js.map +1 -1
- package/dist/components/Content/Content.vue.script.js +1 -1
- package/dist/components/Content/Content.vue.script.js.map +1 -1
- package/dist/components/Content/Models/Model.vue.script.js +1 -1
- package/dist/components/Content/Models/Model.vue.script.js.map +1 -1
- package/dist/components/Content/Models/ModelTag.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModelTag.vue.script.js +2 -2
- package/dist/components/Content/Models/ModelTag.vue.script.js.map +1 -1
- package/dist/components/Content/Models/components/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/components/ClassicLayout.vue.js +1 -1
- package/dist/components/Content/Models/components/ClassicLayout.vue.script.js +1 -1
- package/dist/components/Content/Models/components/ClassicLayout.vue.script.js.map +1 -1
- package/dist/components/Content/Models/components/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/components/ModernLayout.vue.script.js +1 -1
- package/dist/components/Content/Models/components/ModernLayout.vue.script.js.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.script.js +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/LinkButton.vue.js +1 -1
- package/dist/components/Content/Schema/LinkButton.vue.js.map +1 -1
- package/dist/components/Content/Schema/RenderString.vue.script.js +1 -1
- package/dist/components/Content/Schema/RenderString.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 +5 -13
- 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 +69 -34
- package/dist/components/Content/Schema/SchemaComposition.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.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 +16 -8
- package/dist/components/Content/Schema/SchemaEnums.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.script.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.script.js +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.script.js.map +1 -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 +4 -3
- package/dist/components/Content/Schema/SchemaProperty.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.script.js.map +1 -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 +31 -21
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/helpers/dynamic-scope.js.map +1 -1
- package/dist/components/Content/Schema/helpers/format-example.js.map +1 -1
- package/dist/components/Content/Schema/helpers/format-value.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-compositions-to-render.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-enum-values.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-property-description.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-ref-name.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-schema-type.js.map +1 -1
- package/dist/components/Content/Schema/helpers/has-complex-array-items.js.map +1 -1
- package/dist/components/Content/Schema/helpers/is-empty-schema-object.js.map +1 -1
- package/dist/components/Content/Schema/helpers/is-type-object.js.map +1 -1
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +3 -3
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js.map +1 -1
- package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +1 -4
- package/dist/components/Content/Schema/helpers/optimize-value-for-display.js.map +1 -1
- package/dist/components/Content/Schema/helpers/partition-all-of-compositions.d.ts +32 -0
- package/dist/components/Content/Schema/helpers/partition-all-of-compositions.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/partition-all-of-compositions.js +97 -0
- package/dist/components/Content/Schema/helpers/partition-all-of-compositions.js.map +1 -0
- package/dist/components/Content/Schema/helpers/schema-composition.js.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-cycle.js.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.js.map +1 -1
- package/dist/components/Content/Schema/helpers/should-display-description.js.map +1 -1
- package/dist/components/Content/Schema/helpers/should-display-heading.js.map +1 -1
- package/dist/components/Content/Schema/helpers/should-render-array-item-composition.js.map +1 -1
- package/dist/components/Content/Schema/helpers/sort-property-names.js.map +1 -1
- package/dist/components/Content/Tags/Tag.vue.script.js +1 -1
- package/dist/components/Content/Tags/Tag.vue.script.js.map +1 -1
- package/dist/components/Content/Tags/components/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/components/ClassicLayout.vue.js +1 -1
- package/dist/components/Content/Tags/components/ClassicLayout.vue.script.js +1 -1
- package/dist/components/Content/Tags/components/ClassicLayout.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.script.js +1 -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.script.js +1 -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 +4 -3
- package/dist/components/GettingStarted.vue.script.js.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.script.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.script.js.map +1 -1
- package/dist/components/IntersectionObserver.vue.script.js +10 -7
- package/dist/components/IntersectionObserver.vue.script.js.map +1 -1
- package/dist/components/Lazy/Lazy.vue.script.js +2 -2
- package/dist/components/Lazy/Lazy.vue.script.js.map +1 -1
- package/dist/components/LinkList/LinkList.vue.js +1 -1
- package/dist/components/LinkList/LinkList.vue.js.map +1 -1
- package/dist/components/LinkList/LinkList.vue.script.js +2 -2
- package/dist/components/LinkList/LinkList.vue.script.js.map +1 -1
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.script.js +4 -4
- package/dist/components/MobileHeader.vue.script.js.map +1 -1
- package/dist/components/OperationPath.vue.d.ts.map +1 -1
- package/dist/components/OperationPath.vue.js +1 -1
- package/dist/components/OperationPath.vue.script.js +1 -1
- package/dist/components/OperationPath.vue.script.js.map +1 -1
- package/dist/components/OperationsList/OperationsList.vue.js +1 -1
- package/dist/components/OperationsList/OperationsList.vue.script.js +1 -1
- package/dist/components/OperationsList/OperationsList.vue.script.js.map +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.js +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.script.js +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.script.js.map +1 -1
- package/dist/components/RenderPlugins/RenderPluginView.vue.script.js +1 -1
- package/dist/components/RenderPlugins/RenderPluginView.vue.script.js.map +1 -1
- package/dist/components/RenderPlugins/RenderPlugins.vue.script.js +1 -1
- package/dist/components/RenderPlugins/RenderPlugins.vue.script.js.map +1 -1
- package/dist/components/ScreenReader.vue.js +1 -1
- package/dist/components/ScreenReader.vue.script.js +2 -2
- package/dist/components/ScreenReader.vue.script.js.map +1 -1
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.js +1 -1
- package/dist/components/Section/CompactSection.vue.js.map +1 -1
- package/dist/components/Section/CompactSection.vue.script.js +22 -6
- package/dist/components/Section/CompactSection.vue.script.js.map +1 -1
- package/dist/components/Section/Section.vue.js +1 -1
- package/dist/components/Section/Section.vue.script.js +1 -1
- package/dist/components/Section/Section.vue.script.js.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.js +1 -1
- package/dist/components/Section/SectionAccordion.vue.script.js +1 -1
- package/dist/components/Section/SectionAccordion.vue.script.js.map +1 -1
- package/dist/components/Section/SectionColumn.vue.js +1 -1
- package/dist/components/Section/SectionColumn.vue.js.map +1 -1
- package/dist/components/Section/SectionColumns.vue.js +1 -1
- package/dist/components/Section/SectionColumns.vue.js.map +1 -1
- package/dist/components/Section/SectionContainer.vue.js +1 -1
- package/dist/components/Section/SectionContainer.vue.script.js +2 -2
- package/dist/components/Section/SectionContainer.vue.script.js.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.script.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.script.js.map +1 -1
- package/dist/components/Section/SectionContent.vue.js +1 -1
- package/dist/components/Section/SectionContent.vue.js.map +1 -1
- package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeader.vue.js +1 -1
- package/dist/components/Section/SectionHeader.vue.js.map +1 -1
- package/dist/components/Section/SectionHeader.vue.script.js +3 -3
- package/dist/components/Section/SectionHeader.vue.script.js.map +1 -1
- package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
- package/dist/components/Section/SectionHeaderTag.vue.script.js +1 -1
- package/dist/components/Section/SectionHeaderTag.vue.script.js.map +1 -1
- package/dist/components/SectionFlare/SectionFlare.vue.js +1 -1
- package/dist/components/SectionFlare/SectionFlare.vue.js.map +1 -1
- package/dist/components/ShowMoreButton.vue.js +1 -1
- package/dist/components/ShowMoreButton.vue.script.js +1 -1
- package/dist/components/ShowMoreButton.vue.script.js.map +1 -1
- package/dist/features/Operation/Operation.vue.script.js +2 -2
- 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.script.js +2 -2
- package/dist/features/Operation/components/ContentTypeSelect.vue.script.js.map +1 -1
- package/dist/features/Operation/components/Header.vue.script.js +1 -1
- package/dist/features/Operation/components/Header.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.script.js +1 -1
- package/dist/features/Operation/components/Headers.vue.script.js.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.script.js +2 -2
- package/dist/features/Operation/components/OperationParameters.vue.script.js.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.script.js +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.script.js.map +1 -1
- package/dist/features/Operation/components/OperationScopes.vue.d.ts +8 -0
- package/dist/features/Operation/components/OperationScopes.vue.d.ts.map +1 -0
- package/dist/features/Operation/components/OperationScopes.vue.js +7 -0
- package/dist/features/Operation/components/OperationScopes.vue.js.map +1 -0
- package/dist/features/Operation/components/OperationScopes.vue.script.js +60 -0
- package/dist/features/Operation/components/OperationScopes.vue.script.js.map +1 -0
- package/dist/features/Operation/components/ParameterList.vue.script.js +1 -1
- package/dist/features/Operation/components/ParameterList.vue.script.js.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.script.js +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.script.js.map +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.script.js +2 -2
- 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 +90 -17
- package/dist/features/Operation/components/SecurityRequirementBadge.vue.script.js.map +1 -1
- package/dist/features/Operation/components/SecurityRequirementBadgeScheme.vue.script.js +1 -1
- package/dist/features/Operation/components/SecurityRequirementBadgeScheme.vue.script.js.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.script.js +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.script.js.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.script.js +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.script.js.map +1 -1
- package/dist/features/Operation/components/helpers/get-parameter-examples.js.map +1 -1
- package/dist/features/Operation/helpers/filter-selected-security.js.map +1 -1
- package/dist/features/Operation/helpers/flatten-deep-object-query-parameter.js.map +1 -1
- package/dist/features/Operation/helpers/get-required-security.d.ts +13 -0
- package/dist/features/Operation/helpers/get-required-security.d.ts.map +1 -1
- package/dist/features/Operation/helpers/get-required-security.js +22 -1
- package/dist/features/Operation/helpers/get-required-security.js.map +1 -1
- package/dist/features/Operation/helpers/operation-stability.js.map +1 -1
- package/dist/features/Operation/helpers/should-ignore-entity.js.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +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 +16 -7
- 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 +3 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.script.js.map +1 -1
- package/dist/features/Operation/request-body-composition-index.js.map +1 -1
- package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -1
- package/dist/features/Search/components/SearchButton.vue.script.js +1 -1
- 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.script.js +1 -1
- 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.script.js +1 -1
- package/dist/features/Search/components/SearchResult.vue.script.js.map +1 -1
- package/dist/features/Search/helpers/create-fuse-instance.js.map +1 -1
- package/dist/features/Search/helpers/create-search-index.js.map +1 -1
- package/dist/features/Search/hooks/useSearchIndex.js.map +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.js +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.script.js +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.script.js.map +1 -1
- package/dist/features/developer-tools/DeveloperTools.vue.script.js +2 -2
- package/dist/features/developer-tools/DeveloperTools.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.script.js +1 -1
- 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 +3 -3
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.d.ts +2 -2
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.script.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.script.js +2 -2
- 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.script.js +4 -3
- 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 +2 -1
- 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.script.js +4 -3
- 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.script.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/DeployApiReference.vue.script.js +1 -1
- package/dist/features/developer-tools/components/DeployApiReference.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.script.js +2 -2
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ShareApiReference.vue.script.js +1 -1
- package/dist/features/developer-tools/components/ShareApiReference.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.script.js +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponseTab.vue.script.js +1 -1
- package/dist/features/example-responses/ExampleResponseTab.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.script.js +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.script.js.map +1 -1
- 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.script.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.script.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/example-responses/helpers/has-response-content.js.map +1 -1
- package/dist/features/example-responses/helpers/normalize-mime-type-object.js.map +1 -1
- package/dist/features/example-responses/helpers/normalize-mime-type.js.map +1 -1
- package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -1
- package/dist/features/external-docs/ExternalDocs.vue.js.map +1 -1
- package/dist/features/external-docs/ExternalDocs.vue.script.js +27 -15
- package/dist/features/external-docs/ExternalDocs.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 +18 -12
- package/dist/features/info-object/Contact.vue.script.js.map +1 -1
- package/dist/features/info-object/InfoLink.vue.d.ts.map +1 -1
- package/dist/features/info-object/InfoLink.vue.js.map +1 -1
- package/dist/features/info-object/InfoLink.vue.script.js +23 -11
- package/dist/features/info-object/InfoLink.vue.script.js.map +1 -1
- package/dist/features/info-object/License.vue.d.ts.map +1 -1
- package/dist/features/info-object/License.vue.js.map +1 -1
- package/dist/features/info-object/License.vue.script.js +13 -7
- package/dist/features/info-object/License.vue.script.js.map +1 -1
- 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 +12 -6
- package/dist/features/info-object/TermsOfService.vue.script.js.map +1 -1
- package/dist/features/localization/locales/ar.d.ts +1 -0
- package/dist/features/localization/locales/ar.d.ts.map +1 -1
- package/dist/features/localization/locales/ar.js +2 -1
- package/dist/features/localization/locales/ar.js.map +1 -1
- package/dist/features/localization/locales/de.d.ts +1 -0
- package/dist/features/localization/locales/de.d.ts.map +1 -1
- package/dist/features/localization/locales/de.js +2 -1
- package/dist/features/localization/locales/de.js.map +1 -1
- package/dist/features/localization/locales/en.d.ts +1 -0
- package/dist/features/localization/locales/en.d.ts.map +1 -1
- package/dist/features/localization/locales/en.js +2 -1
- package/dist/features/localization/locales/en.js.map +1 -1
- package/dist/features/localization/locales/es.d.ts +1 -0
- package/dist/features/localization/locales/es.d.ts.map +1 -1
- package/dist/features/localization/locales/es.js +2 -1
- package/dist/features/localization/locales/es.js.map +1 -1
- package/dist/features/localization/locales/fr.d.ts +1 -0
- package/dist/features/localization/locales/fr.d.ts.map +1 -1
- package/dist/features/localization/locales/fr.js +2 -1
- package/dist/features/localization/locales/fr.js.map +1 -1
- package/dist/features/localization/locales/pt.d.ts +229 -0
- package/dist/features/localization/locales/pt.d.ts.map +1 -0
- package/dist/features/localization/locales/pt.js +227 -0
- package/dist/features/localization/locales/pt.js.map +1 -0
- package/dist/features/localization/locales/ru.d.ts +1 -0
- package/dist/features/localization/locales/ru.d.ts.map +1 -1
- package/dist/features/localization/locales/ru.js +2 -1
- package/dist/features/localization/locales/ru.js.map +1 -1
- package/dist/features/localization/locales/zh-cn.d.ts +1 -0
- package/dist/features/localization/locales/zh-cn.d.ts.map +1 -1
- package/dist/features/localization/locales/zh-cn.js +2 -1
- package/dist/features/localization/locales/zh-cn.js.map +1 -1
- package/dist/features/localization/translations.d.ts +235 -0
- package/dist/features/localization/translations.d.ts.map +1 -1
- package/dist/features/localization/translations.js +4 -2
- package/dist/features/localization/translations.js.map +1 -1
- package/dist/features/localization/use-localization.js.map +1 -1
- package/dist/features/multiple-documents/DocumentSelector.vue.d.ts.map +1 -1
- package/dist/features/multiple-documents/DocumentSelector.vue.script.js +1 -1
- package/dist/features/multiple-documents/DocumentSelector.vue.script.js.map +1 -1
- package/dist/features/specification-extension/SpecificationExtension.vue.script.js +1 -1
- package/dist/features/specification-extension/SpecificationExtension.vue.script.js.map +1 -1
- package/dist/features/specification-extension/helpers.js.map +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.script.js +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.script.js.map +1 -1
- package/dist/features/x-badges/XBadges.vue.d.ts.map +1 -1
- package/dist/features/x-badges/XBadges.vue.script.js +1 -1
- package/dist/features/x-badges/XBadges.vue.script.js.map +1 -1
- package/dist/helpers/color-mode.js.map +1 -1
- package/dist/helpers/download.js.map +1 -1
- package/dist/helpers/get-async-api-message-payload-schema.js.map +1 -1
- package/dist/helpers/get-async-api-model-schema.js.map +1 -1
- package/dist/helpers/id-routing.d.ts +18 -4
- package/dist/helpers/id-routing.d.ts.map +1 -1
- package/dist/helpers/id-routing.js +67 -20
- package/dist/helpers/id-routing.js.map +1 -1
- package/dist/helpers/is-introduction-entry.js.map +1 -1
- package/dist/helpers/lazy-bus.js.map +1 -1
- package/dist/helpers/load-from-perssistance.js.map +1 -1
- package/dist/helpers/map-config-plugins.js.map +1 -1
- package/dist/helpers/map-config-to-workspace-store.js.map +1 -1
- package/dist/helpers/normalize-configurations.js +1 -1
- package/dist/helpers/normalize-configurations.js.map +1 -1
- package/dist/helpers/openapi.d.ts +6 -1
- package/dist/helpers/openapi.d.ts.map +1 -1
- package/dist/helpers/openapi.js +37 -6
- package/dist/helpers/openapi.js.map +1 -1
- package/dist/helpers/safe-deep-clone.js.map +1 -1
- package/dist/helpers/storage.d.ts +21 -2
- package/dist/helpers/storage.d.ts.map +1 -1
- package/dist/helpers/storage.js +14 -0
- package/dist/helpers/storage.js.map +1 -1
- package/dist/helpers/upload-temp-document.js.map +1 -1
- package/dist/hooks/use-agent.js.map +1 -1
- package/dist/hooks/use-intersection.js.map +1 -1
- package/dist/plugins/hooks/usePluginManager.js.map +1 -1
- package/dist/plugins/persistence-plugin.js +6 -1
- package/dist/plugins/persistence-plugin.js.map +1 -1
- package/dist/plugins/plugin-manager.js +35 -0
- package/dist/plugins/plugin-manager.js.map +1 -1
- package/dist/plugins/posthog/index.js.map +1 -1
- package/dist/standalone/lib/html-api.d.ts.map +1 -1
- package/dist/standalone/lib/html-api.js +11 -4
- package/dist/standalone/lib/html-api.js.map +1 -1
- package/dist/standalone/lib/load-plugins-from-urls.d.ts +13 -0
- package/dist/standalone/lib/load-plugins-from-urls.d.ts.map +1 -0
- package/dist/standalone/lib/load-plugins-from-urls.js +60 -0
- package/dist/standalone/lib/load-plugins-from-urls.js.map +1 -0
- package/dist/style.css +1637 -1505
- package/dist/styles/print.css +118 -0
- package/dist/styles/tailwind.config.css +16 -0
- package/dist/vue-styles.css +1102 -1050
- package/package.json +29 -29
- package/dist/browser/chunks/AgentScalarChatInterface-YU9KKgvZ.js +0 -27
- package/dist/browser/chunks/ScalarTextInput.vue-B-Nhpn0q.js +0 -27
- package/dist/browser/chunks/browser-67K6wmG9.js +0 -129
- package/dist/browser/chunks/modal-BVUfMpuv.js +0 -15
- package/dist/browser/chunks/modal-WJ4Gcv8N.js +0 -99
- package/dist/browser/chunks/runtime-core.esm-bundler-Byrbbu5Q.js +0 -17
- package/dist/browser/chunks/vendor-BqFs9NIb.js +0 -306
|
@@ -4,7 +4,7 @@ import { computed, createBlock, createCommentVNode, createElementBlock, createEl
|
|
|
4
4
|
import { ScalarIconWebhooksLogo } from "@scalar/icons";
|
|
5
5
|
import { getHttpMethodInfo } from "@scalar/helpers/http/http-info";
|
|
6
6
|
//#region src/components/OperationsList/OperationsListItem.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var OperationsListItem_vue_vue_type_script_setup_true_lang_default =
|
|
7
|
+
var OperationsListItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
8
8
|
__name: "OperationsListItem",
|
|
9
9
|
props: {
|
|
10
10
|
operation: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationsListItem.vue.script.js","names":[],"sources":["../../../src/components/OperationsList/OperationsListItem.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { getHttpMethodInfo } from '@scalar/helpers/http/http-info'\nimport { ScalarIconWebhooksLogo } from '@scalar/icons'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport type {\n TraversedEntry,\n TraversedOperation,\n TraversedWebhook,\n} from '@scalar/workspace-store/schemas/navigation'\nimport { computed } from 'vue'\n\nimport { HttpMethod } from '@/components/HttpMethod'\nimport { SectionHeaderTag } from '@/components/Section'\n\nconst { operation } = defineProps<{\n operation: TraversedOperation | TraversedWebhook\n isCollapsed?: boolean\n eventBus: WorkspaceEventBus | null\n}>()\n\nconst pathOrTitle = computed(() => {\n if ('path' in operation) {\n return operation.path\n }\n\n return operation.title\n})\n\nconst isWebhook = (\n _operation: TraversedEntry,\n): _operation is TraversedWebhook => _operation.type === 'webhook'\n</script>\n\n<template>\n <li\n :key=\"operation.id\"\n class=\"contents\">\n <!-- If collapsed add hidden headers so they show up for screen readers -->\n <SectionHeaderTag\n v-if=\"isCollapsed\"\n class=\"sr-only\"\n :level=\"3\">\n {{ operation.title }} (Hidden)\n </SectionHeaderTag>\n <a\n class=\"endpoint\"\n @click.prevent=\"\n () => eventBus?.emit('scroll-to:nav-item', { id: operation.id })\n \">\n <HttpMethod\n class=\"endpoint-method items-center justify-end gap-2\"\n :method=\"operation.method\">\n <ScalarIconWebhooksLogo\n v-if=\"isWebhook(operation)\"\n class=\"size-3.5\"\n :style=\"{\n color: getHttpMethodInfo(operation.method).colorVar,\n }\" />\n </HttpMethod>\n <span\n class=\"endpoint-path\"\n :class=\"{ deprecated: operation.isDeprecated }\">\n {{ pathOrTitle }}\n </span>\n </a>\n </li>\n</template>\n\n<style scoped>\n.endpoint {\n display: flex;\n white-space: nowrap;\n cursor: pointer;\n text-decoration: none;\n}\n.endpoint:hover .endpoint-path,\n.endpoint:focus-visible .endpoint-path {\n text-decoration: underline;\n}\n.endpoint .post,\n.endpoint .get,\n.endpoint .delete,\n.endpoint .put {\n white-space: nowrap;\n}\n\n.endpoint-method,\n.endpoint-path {\n color: var(--scalar-color-1);\n min-width: 62px;\n display: inline-flex;\n line-height: 1.55;\n font-family: var(--scalar-font-code);\n font-size: var(--scalar-small);\n cursor: pointer;\n}\n\n.endpoint-method {\n text-align: right;\n}\n\n.endpoint-path {\n margin-left: 12px;\n text-transform: initial;\n}\n\n.deprecated {\n text-decoration: line-through;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;EAoBA,MAAM,cAAc,eAAe;
|
|
1
|
+
{"version":3,"file":"OperationsListItem.vue.script.js","names":[],"sources":["../../../src/components/OperationsList/OperationsListItem.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { getHttpMethodInfo } from '@scalar/helpers/http/http-info'\nimport { ScalarIconWebhooksLogo } from '@scalar/icons'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport type {\n TraversedEntry,\n TraversedOperation,\n TraversedWebhook,\n} from '@scalar/workspace-store/schemas/navigation'\nimport { computed } from 'vue'\n\nimport { HttpMethod } from '@/components/HttpMethod'\nimport { SectionHeaderTag } from '@/components/Section'\n\nconst { operation } = defineProps<{\n operation: TraversedOperation | TraversedWebhook\n isCollapsed?: boolean\n eventBus: WorkspaceEventBus | null\n}>()\n\nconst pathOrTitle = computed(() => {\n if ('path' in operation) {\n return operation.path\n }\n\n return operation.title\n})\n\nconst isWebhook = (\n _operation: TraversedEntry,\n): _operation is TraversedWebhook => _operation.type === 'webhook'\n</script>\n\n<template>\n <li\n :key=\"operation.id\"\n class=\"contents\">\n <!-- If collapsed add hidden headers so they show up for screen readers -->\n <SectionHeaderTag\n v-if=\"isCollapsed\"\n class=\"sr-only\"\n :level=\"3\">\n {{ operation.title }} (Hidden)\n </SectionHeaderTag>\n <a\n class=\"endpoint\"\n @click.prevent=\"\n () => eventBus?.emit('scroll-to:nav-item', { id: operation.id })\n \">\n <HttpMethod\n class=\"endpoint-method items-center justify-end gap-2\"\n :method=\"operation.method\">\n <ScalarIconWebhooksLogo\n v-if=\"isWebhook(operation)\"\n class=\"size-3.5\"\n :style=\"{\n color: getHttpMethodInfo(operation.method).colorVar,\n }\" />\n </HttpMethod>\n <span\n class=\"endpoint-path\"\n :class=\"{ deprecated: operation.isDeprecated }\">\n {{ pathOrTitle }}\n </span>\n </a>\n </li>\n</template>\n\n<style scoped>\n.endpoint {\n display: flex;\n white-space: nowrap;\n cursor: pointer;\n text-decoration: none;\n}\n.endpoint:hover .endpoint-path,\n.endpoint:focus-visible .endpoint-path {\n text-decoration: underline;\n}\n.endpoint .post,\n.endpoint .get,\n.endpoint .delete,\n.endpoint .put {\n white-space: nowrap;\n}\n\n.endpoint-method,\n.endpoint-path {\n color: var(--scalar-color-1);\n min-width: 62px;\n display: inline-flex;\n line-height: 1.55;\n font-family: var(--scalar-font-code);\n font-size: var(--scalar-small);\n cursor: pointer;\n}\n\n.endpoint-method {\n text-align: right;\n}\n\n.endpoint-path {\n margin-left: 12px;\n text-transform: initial;\n}\n\n.deprecated {\n text-decoration: line-through;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;EAoBA,MAAM,cAAc,eAAe;GACjC,IAAI,UAAU,QAAA,WACZ,OAAO,QAAA,UAAU;GAGnB,OAAO,QAAA,UAAU;EACnB,CAAC;EAED,MAAM,aACJ,eACmC,WAAW,SAAS;;uBAIvD,mBA+BK,MAAA;IA9BF,KAAK,QAAA,UAAU;IAChB,OAAM;OAGE,QAAA,eAAA,UAAA,GADR,YAKmB,MAAA,wBAAA,GAAA;;IAHjB,OAAM;IACL,OAAO;;2BACa,CAAA,gBAAA,gBAAlB,QAAA,UAAU,KAAK,IAAG,cACvB,CAAA,CAAA,CAAA;;uCACA,mBAoBI,KAAA;IAnBF,OAAM;IACL,SAAK,OAAA,OAAA,OAAA,KAAA,oBAAyB,QAAA,UAAU,KAAI,sBAAA,EAAA,IAA6B,QAAA,UAAU,GAAE,CAAA,GAAA,CAAA,SAAA,CAAA;OAGtF,YASa,MAAA,kBAAA,GAAA;IARX,OAAM;IACL,QAAQ,QAAA,UAAU;;2BAMZ,CAJC,UAAU,QAAA,SAAS,KAAA,UAAA,GAD3B,YAKO,MAAA,sBAAA,GAAA;;KAHL,OAAM;KACL,OAAK,eAAA,EAAA,OAAuB,MAAA,iBAAA,CAAiB,CAAC,QAAA,UAAU,MAAM,CAAA,CAAE,SAAA,CAAA;;;sBAIrE,mBAIO,QAAA,EAHL,OAAK,eAAA,CAAC,iBAAe,EAAA,YACC,QAAA,UAAU,aAAY,CAAA,CAAA,EAAA,GAAA,gBACzC,YAAA,KAAW,GAAA,CAAA,CAAA,CAAA,CAAA,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { createBlock, createElementBlock, createVNode, defineComponent, mergePro
|
|
|
3
3
|
import { ScalarErrorBoundary } from "@scalar/components/error-boundary";
|
|
4
4
|
//#region src/components/RenderPlugins/RenderPluginView.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = ["id"];
|
|
6
|
-
var RenderPluginView_vue_vue_type_script_setup_true_lang_default =
|
|
6
|
+
var RenderPluginView_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
7
7
|
__name: "RenderPluginView",
|
|
8
8
|
props: {
|
|
9
9
|
item: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderPluginView.vue.script.js","names":[],"sources":["../../../src/components/RenderPlugins/RenderPluginView.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarErrorBoundary } from '@scalar/components/error-boundary'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport { useTemplateRef } from 'vue'\n\nimport { useIntersection } from '@/hooks/use-intersection'\nimport type { PluginViewComponent } from '@/plugins'\n\nconst { item, options, eventBus } = defineProps<{\n item: PluginViewComponent\n options: Record<string, any>\n eventBus?: WorkspaceEventBus\n}>()\n\nconst el = useTemplateRef<HTMLElement>('el')\n\n/**\n * Participate in the existing scroll-spy. We only emit when the view opts into a sidebar\n * entry, because otherwise we would select a navigation item that does not exist and clear\n * the currently active section as the user scrolls past the plugin view.\n */\nuseIntersection(el, () => {\n if (item.sidebar?.show) {\n eventBus?.emit('intersecting:nav-item', { id: item.id })\n }\n})\n</script>\n\n<template>\n <!-- The id mirrors the sidebar entry id so navigation can scroll to this element -->\n <div\n :id=\"item.id\"\n ref=\"el\">\n <ScalarErrorBoundary>\n <template v-if=\"item.renderer\">\n <!-- Custom renderer (e.g. React) -->\n <component\n :is=\"item.renderer\"\n v-bind=\"{\n component: item.component,\n options,\n ...item.props,\n }\" />\n </template>\n <template v-else>\n <!-- Vue component -->\n <component\n :is=\"item.component\"\n v-bind=\"{ options, ...item.props }\" />\n </template>\n </ScalarErrorBoundary>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;EAcA,MAAM,KAAK,eAA4B,
|
|
1
|
+
{"version":3,"file":"RenderPluginView.vue.script.js","names":[],"sources":["../../../src/components/RenderPlugins/RenderPluginView.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarErrorBoundary } from '@scalar/components/error-boundary'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport { useTemplateRef } from 'vue'\n\nimport { useIntersection } from '@/hooks/use-intersection'\nimport type { PluginViewComponent } from '@/plugins'\n\nconst { item, options, eventBus } = defineProps<{\n item: PluginViewComponent\n options: Record<string, any>\n eventBus?: WorkspaceEventBus\n}>()\n\nconst el = useTemplateRef<HTMLElement>('el')\n\n/**\n * Participate in the existing scroll-spy. We only emit when the view opts into a sidebar\n * entry, because otherwise we would select a navigation item that does not exist and clear\n * the currently active section as the user scrolls past the plugin view.\n */\nuseIntersection(el, () => {\n if (item.sidebar?.show) {\n eventBus?.emit('intersecting:nav-item', { id: item.id })\n }\n})\n</script>\n\n<template>\n <!-- The id mirrors the sidebar entry id so navigation can scroll to this element -->\n <div\n :id=\"item.id\"\n ref=\"el\">\n <ScalarErrorBoundary>\n <template v-if=\"item.renderer\">\n <!-- Custom renderer (e.g. React) -->\n <component\n :is=\"item.renderer\"\n v-bind=\"{\n component: item.component,\n options,\n ...item.props,\n }\" />\n </template>\n <template v-else>\n <!-- Vue component -->\n <component\n :is=\"item.component\"\n v-bind=\"{ options, ...item.props }\" />\n </template>\n </ScalarErrorBoundary>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;EAcA,MAAM,KAAK,eAA4B,IAAI;;;;;;EAO3C,gBAAgB,UAAU;GACxB,IAAI,QAAA,KAAK,SAAS,MAChB,QAAA,UAAU,KAAK,yBAAyB,EAAE,IAAI,QAAA,KAAK,GAAG,CAAC;EAE3D,CAAC;;uBAKC,mBAqBM,OAAA;IApBH,IAAI,QAAA,KAAK;aACN;IAAJ,KAAI;OACJ,YAiBsB,MAAA,mBAAA,GAAA,MAAA;2BAPT,CATK,QAAA,KAAK,YAAA,UAAA,GAEnB,YAMO,wBALA,QAAA,KAAK,QAAQ,GAAA,eAAA,WAAA,EAAA,KAAA,EAAA,GAAA;gBACe,QAAA,KAAK;cAAuB,QAAA;QAAwB,QAAA,KAAK;oCAQ5F,YAEwC,wBADjC,QAAA,KAAK,SAAS,GAAA,eAAA,WAAA,EAAA,KAAA,EAAA,GAAA;KAAA,SACT,QAAA;KAAO,GAAK,QAAA,KAAK;IAAK,CAAA,CAAA,GAAA,MAAA,EAAA,EAAA,CAAA"}
|
|
@@ -6,7 +6,7 @@ var _hoisted_1 = {
|
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "plugin-view"
|
|
8
8
|
};
|
|
9
|
-
var RenderPlugins_vue_vue_type_script_setup_true_lang_default =
|
|
9
|
+
var RenderPlugins_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
10
10
|
__name: "RenderPlugins",
|
|
11
11
|
props: {
|
|
12
12
|
viewName: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderPlugins.vue.script.js","names":[],"sources":["../../../src/components/RenderPlugins/RenderPlugins.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport { computed } from 'vue'\n\nimport { usePluginManager } from '@/plugins'\n\nimport RenderPluginView from './RenderPluginView.vue'\n\nconst { viewName, options, eventBus, documentSlug } = defineProps<{\n viewName: 'content.start' | 'content.end'\n options: Record<string, any>\n eventBus?: WorkspaceEventBus\n /** Slug of the active document, used to scope plugin view ids for navigation and deep-linking */\n documentSlug: string\n}>()\n\nconst { getViewComponents } = usePluginManager()\nconst components = computed(() => getViewComponents(viewName, documentSlug))\n</script>\n\n<template>\n <div\n v-if=\"components.length\"\n class=\"plugin-view\">\n <RenderPluginView\n v-for=\"item in components\"\n :key=\"item.id\"\n :eventBus=\"eventBus\"\n :item=\"item\"\n :options=\"options\" />\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;EAgBA,MAAM,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"RenderPlugins.vue.script.js","names":[],"sources":["../../../src/components/RenderPlugins/RenderPlugins.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport { computed } from 'vue'\n\nimport { usePluginManager } from '@/plugins'\n\nimport RenderPluginView from './RenderPluginView.vue'\n\nconst { viewName, options, eventBus, documentSlug } = defineProps<{\n viewName: 'content.start' | 'content.end'\n options: Record<string, any>\n eventBus?: WorkspaceEventBus\n /** Slug of the active document, used to scope plugin view ids for navigation and deep-linking */\n documentSlug: string\n}>()\n\nconst { getViewComponents } = usePluginManager()\nconst components = computed(() => getViewComponents(viewName, documentSlug))\n</script>\n\n<template>\n <div\n v-if=\"components.length\"\n class=\"plugin-view\">\n <RenderPluginView\n v-for=\"item in components\"\n :key=\"item.id\"\n :eventBus=\"eventBus\"\n :item=\"item\"\n :options=\"options\" />\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;EAgBA,MAAM,EAAE,sBAAsB,iBAAiB;EAC/C,MAAM,aAAa,eAAe,kBAAkB,QAAA,UAAU,QAAA,YAAY,CAAC;;UAKjE,WAAA,MAAW,UAAA,UAAA,GADnB,mBASM,OATN,YASM,EAAA,UAAA,IAAA,GANJ,mBAKuB,UAAA,MAAA,WAJN,WAAA,QAAR,SAAI;wBADb,YAKuB,0BAAA;KAHpB,KAAK,KAAK;KACV,UAAU,QAAA;KACJ;KACN,SAAS,QAAA"}
|
|
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../_virtual/_plugin-vue_export-he
|
|
|
2
2
|
import ScreenReader_vue_vue_type_script_setup_true_lang_default from "./ScreenReader.vue.script.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/ScreenReader.vue
|
|
5
|
-
var ScreenReader_default =
|
|
5
|
+
var ScreenReader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ScreenReader_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-df2e1026"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ScreenReader_default as default };
|
|
8
8
|
|
|
@@ -4,7 +4,7 @@ var _hoisted_1 = {
|
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "screenreader-only"
|
|
6
6
|
};
|
|
7
|
-
var ScreenReader_vue_vue_type_script_setup_true_lang_default =
|
|
7
|
+
var ScreenReader_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
8
8
|
__name: "ScreenReader",
|
|
9
9
|
props: { if: {
|
|
10
10
|
type: Boolean,
|
|
@@ -12,7 +12,7 @@ var ScreenReader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
12
12
|
} },
|
|
13
13
|
setup(__props) {
|
|
14
14
|
return (_ctx, _cache) => {
|
|
15
|
-
return _ctx.$props.if ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])) : renderSlot(_ctx.$slots, "default", {
|
|
15
|
+
return _ctx.$props.if ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])) : renderSlot(_ctx.$slots, "default", {}, void 0, true, 1);
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenReader.vue.script.js","names":["$props"],"sources":["../../src/components/ScreenReader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nwithDefaults(\n defineProps<{\n if?: boolean\n }>(),\n {\n if: true,\n },\n)\n</script>\n<template>\n <span\n v-if=\"$props.if\"\n class=\"screenreader-only\">\n <slot />\n </span>\n <slot v-else />\n</template>\n<style scoped>\n.screenreader-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;UAYUA,KAAAA,OAAO,MAAA,
|
|
1
|
+
{"version":3,"file":"ScreenReader.vue.script.js","names":["$props"],"sources":["../../src/components/ScreenReader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nwithDefaults(\n defineProps<{\n if?: boolean\n }>(),\n {\n if: true,\n },\n)\n</script>\n<template>\n <span\n v-if=\"$props.if\"\n class=\"screenreader-only\">\n <slot />\n </span>\n <slot v-else />\n</template>\n<style scoped>\n.screenreader-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;UAYUA,KAAAA,OAAO,MAAA,UAAA,GADf,mBAIO,QAJP,YAIO,CADL,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA,KAEV,WAAe,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,MAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AAiHA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;AAmJF,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
|
|
|
2
2
|
import CompactSection_vue_vue_type_script_setup_true_lang_default from "./CompactSection.vue.script.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/Section/CompactSection.vue
|
|
5
|
-
var CompactSection_default =
|
|
5
|
+
var CompactSection_default = /*#__PURE__*/ _plugin_vue_export_helper_default(CompactSection_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ea5f870d"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { CompactSection_default as default };
|
|
8
8
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompactSection.vue.js","names":[],"sources":["../../../src/components/Section/CompactSection.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarIconCaretRight } from '@scalar/icons'\n\nimport { Anchor } from '@/components/Anchor'\n\nimport Section from './Section.vue'\n\nconst { id } = defineProps<{\n id: string\n label?: string\n modelValue: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: boolean): void\n (e: 'copyAnchorUrl'): void\n}>()\n</script>\n<template>\n <section\n :aria-label=\"label\"\n class=\"collapsible-section\">\n <button\n :id=\"id\"\n :aria-controls=\"
|
|
1
|
+
{"version":3,"file":"CompactSection.vue.js","names":[],"sources":["../../../src/components/Section/CompactSection.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarIconCaretRight } from '@scalar/icons'\nimport { computed, useId } from 'vue'\n\nimport { Anchor } from '@/components/Anchor'\n\nimport Section from './Section.vue'\n\nconst { id } = defineProps<{\n id: string\n label?: string\n modelValue: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: boolean): void\n (e: 'copyAnchorUrl'): void\n}>()\n\n/** The trigger owns `id` as its deep link target, so the region it controls needs one of its own */\nconst contentId = computed<string>(() => `${id}-content`)\n\n/**\n * Name the trigger after the heading it renders by pointing `aria-labelledby` at it,\n * rather than copying the text into an `aria-label`. Referencing the visible node keeps\n * the accessible name in sync with what is on screen, so it can never drift into a\n * WCAG 2.5.3 (Label in Name) failure the way a duplicated string can.\n */\nconst labelId = useId()\n</script>\n<template>\n <section\n :aria-label=\"label\"\n class=\"collapsible-section\">\n <button\n :id=\"id\"\n :aria-controls=\"modelValue ? contentId : undefined\"\n :aria-expanded=\"modelValue\"\n :aria-labelledby=\"labelId\"\n class=\"collapsible-section-trigger\"\n :class=\"{ 'collapsible-section-trigger-open': modelValue }\"\n type=\"button\"\n @click=\"emit('update:modelValue', !modelValue)\">\n <ScalarIconCaretRight\n class=\"size-3 transition-transform duration-100\"\n :class=\"{ 'rotate-90': modelValue }\"\n weight=\"bold\" />\n <Anchor\n class=\"collapsible-section-header\"\n @copyAnchorUrl=\"() => emit('copyAnchorUrl')\">\n <!-- Wrap only the heading so `aria-labelledby` names the trigger after the\n visible text alone, excluding the caret and the nested copy-link button -->\n <span\n :id=\"labelId\"\n class=\"contents\">\n <slot name=\"heading\" />\n </span>\n </Anchor>\n </button>\n <Section\n v-if=\"modelValue\"\n :id=\"contentId\"\n class=\"collapsible-section-content\"\n :label=\"label\">\n <slot />\n </Section>\n </section>\n</template>\n<style scoped>\n.collapsible-section {\n border-top: var(--scalar-border-width) solid var(--scalar-border-color);\n position: relative;\n}\n.collapsible-section-header {\n color: var(--scalar-color-1);\n}\n.collapsible-section .collapsible-section-trigger {\n display: flex;\n align-items: center;\n cursor: pointer;\n padding: 10px 0;\n font-size: var(--scalar-font-size-3);\n z-index: 1;\n position: relative;\n}\n.collapsible-section-trigger svg {\n color: var(--scalar-color-3);\n position: absolute;\n left: -19px;\n}\n.collapsible-section:hover .collapsible-section-trigger svg {\n color: var(--scalar-color-1);\n}\n.collapsible-section .collapsible-section-trigger :deep(.anchor-copy) {\n line-height: 18.5px;\n}\n.collapsible-section-content {\n padding: 0;\n margin: 0;\n margin-bottom: 10px;\n scroll-margin-top: 140px;\n}\n</style>\n"],"mappings":""}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import Section_default from "./Section.vue.js";
|
|
2
2
|
import Anchor_default from "../Anchor/Anchor.vue.js";
|
|
3
|
-
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref, useId, withCtx } from "vue";
|
|
4
4
|
import { ScalarIconCaretRight } from "@scalar/icons";
|
|
5
5
|
//#region src/components/Section/CompactSection.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = ["aria-label"];
|
|
7
7
|
var _hoisted_2 = [
|
|
8
8
|
"id",
|
|
9
9
|
"aria-controls",
|
|
10
|
-
"aria-expanded"
|
|
10
|
+
"aria-expanded",
|
|
11
|
+
"aria-labelledby"
|
|
11
12
|
];
|
|
12
|
-
var
|
|
13
|
+
var _hoisted_3 = ["id"];
|
|
14
|
+
var CompactSection_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
13
15
|
__name: "CompactSection",
|
|
14
16
|
props: {
|
|
15
17
|
id: {},
|
|
@@ -19,14 +21,24 @@ var CompactSection_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
19
21
|
emits: ["update:modelValue", "copyAnchorUrl"],
|
|
20
22
|
setup(__props, { emit: __emit }) {
|
|
21
23
|
const emit = __emit;
|
|
24
|
+
/** The trigger owns `id` as its deep link target, so the region it controls needs one of its own */
|
|
25
|
+
const contentId = computed(() => `${__props.id}-content`);
|
|
26
|
+
/**
|
|
27
|
+
* Name the trigger after the heading it renders by pointing `aria-labelledby` at it,
|
|
28
|
+
* rather than copying the text into an `aria-label`. Referencing the visible node keeps
|
|
29
|
+
* the accessible name in sync with what is on screen, so it can never drift into a
|
|
30
|
+
* WCAG 2.5.3 (Label in Name) failure the way a duplicated string can.
|
|
31
|
+
*/
|
|
32
|
+
const labelId = useId();
|
|
22
33
|
return (_ctx, _cache) => {
|
|
23
34
|
return openBlock(), createElementBlock("section", {
|
|
24
35
|
"aria-label": __props.label,
|
|
25
36
|
class: "collapsible-section"
|
|
26
37
|
}, [createElementVNode("button", {
|
|
27
38
|
id: __props.id,
|
|
28
|
-
"aria-controls": __props.
|
|
39
|
+
"aria-controls": __props.modelValue ? contentId.value : void 0,
|
|
29
40
|
"aria-expanded": __props.modelValue,
|
|
41
|
+
"aria-labelledby": unref(labelId),
|
|
30
42
|
class: normalizeClass(["collapsible-section-trigger", { "collapsible-section-trigger-open": __props.modelValue }]),
|
|
31
43
|
type: "button",
|
|
32
44
|
onClick: _cache[1] || (_cache[1] = ($event) => emit("update:modelValue", !__props.modelValue))
|
|
@@ -37,16 +49,20 @@ var CompactSection_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
37
49
|
class: "collapsible-section-header",
|
|
38
50
|
onCopyAnchorUrl: _cache[0] || (_cache[0] = () => emit("copyAnchorUrl"))
|
|
39
51
|
}, {
|
|
40
|
-
default: withCtx(() => [
|
|
52
|
+
default: withCtx(() => [createElementVNode("span", {
|
|
53
|
+
id: unref(labelId),
|
|
54
|
+
class: "contents"
|
|
55
|
+
}, [renderSlot(_ctx.$slots, "heading", {}, void 0, true)], 8, _hoisted_3)]),
|
|
41
56
|
_: 3
|
|
42
57
|
})], 10, _hoisted_2), __props.modelValue ? (openBlock(), createBlock(Section_default, {
|
|
43
58
|
key: 0,
|
|
59
|
+
id: contentId.value,
|
|
44
60
|
class: "collapsible-section-content",
|
|
45
61
|
label: __props.label
|
|
46
62
|
}, {
|
|
47
63
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
48
64
|
_: 3
|
|
49
|
-
}, 8, ["label"])) : createCommentVNode("", true)], 8, _hoisted_1);
|
|
65
|
+
}, 8, ["id", "label"])) : createCommentVNode("", true)], 8, _hoisted_1);
|
|
50
66
|
};
|
|
51
67
|
}
|
|
52
68
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompactSection.vue.script.js","names":[],"sources":["../../../src/components/Section/CompactSection.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarIconCaretRight } from '@scalar/icons'\n\nimport { Anchor } from '@/components/Anchor'\n\nimport Section from './Section.vue'\n\nconst { id } = defineProps<{\n id: string\n label?: string\n modelValue: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: boolean): void\n (e: 'copyAnchorUrl'): void\n}>()\n</script>\n<template>\n <section\n :aria-label=\"label\"\n class=\"collapsible-section\">\n <button\n :id=\"id\"\n :aria-controls=\"
|
|
1
|
+
{"version":3,"file":"CompactSection.vue.script.js","names":[],"sources":["../../../src/components/Section/CompactSection.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarIconCaretRight } from '@scalar/icons'\nimport { computed, useId } from 'vue'\n\nimport { Anchor } from '@/components/Anchor'\n\nimport Section from './Section.vue'\n\nconst { id } = defineProps<{\n id: string\n label?: string\n modelValue: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: boolean): void\n (e: 'copyAnchorUrl'): void\n}>()\n\n/** The trigger owns `id` as its deep link target, so the region it controls needs one of its own */\nconst contentId = computed<string>(() => `${id}-content`)\n\n/**\n * Name the trigger after the heading it renders by pointing `aria-labelledby` at it,\n * rather than copying the text into an `aria-label`. Referencing the visible node keeps\n * the accessible name in sync with what is on screen, so it can never drift into a\n * WCAG 2.5.3 (Label in Name) failure the way a duplicated string can.\n */\nconst labelId = useId()\n</script>\n<template>\n <section\n :aria-label=\"label\"\n class=\"collapsible-section\">\n <button\n :id=\"id\"\n :aria-controls=\"modelValue ? contentId : undefined\"\n :aria-expanded=\"modelValue\"\n :aria-labelledby=\"labelId\"\n class=\"collapsible-section-trigger\"\n :class=\"{ 'collapsible-section-trigger-open': modelValue }\"\n type=\"button\"\n @click=\"emit('update:modelValue', !modelValue)\">\n <ScalarIconCaretRight\n class=\"size-3 transition-transform duration-100\"\n :class=\"{ 'rotate-90': modelValue }\"\n weight=\"bold\" />\n <Anchor\n class=\"collapsible-section-header\"\n @copyAnchorUrl=\"() => emit('copyAnchorUrl')\">\n <!-- Wrap only the heading so `aria-labelledby` names the trigger after the\n visible text alone, excluding the caret and the nested copy-link button -->\n <span\n :id=\"labelId\"\n class=\"contents\">\n <slot name=\"heading\" />\n </span>\n </Anchor>\n </button>\n <Section\n v-if=\"modelValue\"\n :id=\"contentId\"\n class=\"collapsible-section-content\"\n :label=\"label\">\n <slot />\n </Section>\n </section>\n</template>\n<style scoped>\n.collapsible-section {\n border-top: var(--scalar-border-width) solid var(--scalar-border-color);\n position: relative;\n}\n.collapsible-section-header {\n color: var(--scalar-color-1);\n}\n.collapsible-section .collapsible-section-trigger {\n display: flex;\n align-items: center;\n cursor: pointer;\n padding: 10px 0;\n font-size: var(--scalar-font-size-3);\n z-index: 1;\n position: relative;\n}\n.collapsible-section-trigger svg {\n color: var(--scalar-color-3);\n position: absolute;\n left: -19px;\n}\n.collapsible-section:hover .collapsible-section-trigger svg {\n color: var(--scalar-color-1);\n}\n.collapsible-section .collapsible-section-trigger :deep(.anchor-copy) {\n line-height: 18.5px;\n}\n.collapsible-section-content {\n padding: 0;\n margin: 0;\n margin-bottom: 10px;\n scroll-margin-top: 140px;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;EAcA,MAAM,OAAO;;EAMb,MAAM,YAAY,eAAuB,GAAG,QAAA,GAAG,SAAS;;;;;;;EAQxD,MAAM,UAAU,MAAM;;uBAGpB,mBAmCU,WAAA;IAlCP,cAAY,QAAA;IACb,OAAM;OACN,mBAwBS,UAAA;IAvBN,IAAI,QAAA;IACJ,iBAAe,QAAA,aAAa,UAAA,QAAY,KAAA;IACxC,iBAAe,QAAA;IACf,mBAAiB,MAAA,OAAA;IAClB,OAAK,eAAA,CAAC,+BAA6B,EAAA,oCACW,QAAA,WAAU,CAAA,CAAA;IACxD,MAAK;IACJ,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,qBAAA,CAAuB,QAAA,UAAU;OAC7C,YAGkB,MAAA,oBAAA,GAAA;IAFhB,OAAK,eAAA,CAAC,4CAA0C,EAAA,aACzB,QAAA,WAAU,CAAA,CAAA;IACjC,QAAO;2BACT,YAUS,MAAA,cAAA,GAAA;IATP,OAAM;IACL,iBAAa,OAAA,OAAA,OAAA,WAAQ,KAAI,eAAA;;2BAOnB,CAJP,mBAIO,QAAA;KAHJ,IAAI,MAAA,OAAA;KACL,OAAM;QACN,WAAuB,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,GAAA,GAAA,UAAA,CAAA,CAAA;;yBAKrB,QAAA,cAAA,UAAA,GADR,YAMU,iBAAA;;IAJP,IAAI,UAAA;IACL,OAAM;IACL,OAAO,QAAA;;2BACA,CAAR,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA"}
|
|
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
|
|
|
2
2
|
import Section_vue_vue_type_script_setup_true_lang_default from "./Section.vue.script.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/Section/Section.vue
|
|
5
|
-
var Section_default =
|
|
5
|
+
var Section_default = /*#__PURE__*/ _plugin_vue_export_helper_default(Section_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-be4443e9"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Section_default as default };
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useIntersection } from "../../hooks/use-intersection.js";
|
|
2
2
|
import { createElementBlock, defineComponent, openBlock, renderSlot, useTemplateRef } from "vue";
|
|
3
3
|
//#region src/components/Section/Section.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var Section_vue_vue_type_script_setup_true_lang_default =
|
|
4
|
+
var Section_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "Section",
|
|
6
6
|
emits: ["intersecting"],
|
|
7
7
|
setup(__props, { emit: __emit }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section.vue.script.js","names":[],"sources":["../../../src/components/Section/Section.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useTemplateRef } from 'vue'\n\nimport { useIntersection } from '@/hooks/use-intersection'\n\nconst emit = defineEmits<{\n (e: 'intersecting'): void\n}>()\n\nconst section = useTemplateRef<HTMLElement>('section')\n\nuseIntersection(section, () => emit('intersecting'))\n</script>\n<template>\n <section\n ref=\"section\"\n class=\"section\">\n <slot />\n </section>\n</template>\n\n<style scoped>\n.section {\n position: relative;\n display: flex;\n flex-direction: column;\n\n max-width: var(--refs-content-max-width);\n margin: auto;\n\n padding: 90px 0;\n\n /* Offset by header height to line up scroll position */\n scroll-margin-top: var(--refs-viewport-offset);\n}\n.section:has(~ div.contents) {\n border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);\n}\n.references-classic .section {\n padding: 48px 0;\n gap: 24px;\n}\n@container narrow-references-container (max-width: 900px) {\n .references-classic .section,\n .section {\n padding: 48px 24px;\n }\n}\n.section:not(:last-of-type) {\n border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);\n}\n</style>\n"],"mappings":";;;;;;;EAKA,MAAM,OAAO;EAIb,MAAM,UAAU,eAA4B,
|
|
1
|
+
{"version":3,"file":"Section.vue.script.js","names":[],"sources":["../../../src/components/Section/Section.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useTemplateRef } from 'vue'\n\nimport { useIntersection } from '@/hooks/use-intersection'\n\nconst emit = defineEmits<{\n (e: 'intersecting'): void\n}>()\n\nconst section = useTemplateRef<HTMLElement>('section')\n\nuseIntersection(section, () => emit('intersecting'))\n</script>\n<template>\n <section\n ref=\"section\"\n class=\"section\">\n <slot />\n </section>\n</template>\n\n<style scoped>\n.section {\n position: relative;\n display: flex;\n flex-direction: column;\n\n max-width: var(--refs-content-max-width);\n margin: auto;\n\n padding: 90px 0;\n\n /* Offset by header height to line up scroll position */\n scroll-margin-top: var(--refs-viewport-offset);\n}\n.section:has(~ div.contents) {\n border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);\n}\n.references-classic .section {\n padding: 48px 0;\n gap: 24px;\n}\n@container narrow-references-container (max-width: 900px) {\n .references-classic .section,\n .section {\n padding: 48px 24px;\n }\n}\n.section:not(:last-of-type) {\n border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);\n}\n</style>\n"],"mappings":";;;;;;;EAKA,MAAM,OAAO;EAIb,MAAM,UAAU,eAA4B,SAAS;EAErD,gBAAgB,eAAe,KAAK,cAAc,CAAC;;uBAGjD,mBAIU,WAAA;aAHJ;IAAJ,KAAI;IACJ,OAAM;OACN,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,GAAA,GAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionAccordion.vue"],"names":[],"mappings":"AAqIA,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"SectionAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionAccordion.vue"],"names":[],"mappings":"AAqIA,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;AAkKF,QAAA,IAAyB,QAAQ,IAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC9G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
|
|
|
2
2
|
import SectionAccordion_vue_vue_type_script_setup_true_lang_default from "./SectionAccordion.vue.script.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/Section/SectionAccordion.vue
|
|
5
|
-
var SectionAccordion_default =
|
|
5
|
+
var SectionAccordion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(SectionAccordion_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ff689b94"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { SectionAccordion_default as default };
|
|
8
8
|
|
|
@@ -13,7 +13,7 @@ var _hoisted_3 = {
|
|
|
13
13
|
class: "section-accordion-description"
|
|
14
14
|
};
|
|
15
15
|
var _hoisted_4 = { class: "section-accordion-content-card" };
|
|
16
|
-
var SectionAccordion_vue_vue_type_script_setup_true_lang_default =
|
|
16
|
+
var SectionAccordion_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
17
17
|
__name: "SectionAccordion",
|
|
18
18
|
props: {
|
|
19
19
|
transparent: { type: Boolean },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionAccordion.vue.script.js","names":["$slots"],"sources":["../../../src/components/Section/SectionAccordion.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { Disclosure, DisclosureButton, DisclosurePanel } from '@headlessui/vue'\nimport { ScalarIconCaretRight } from '@scalar/icons'\nimport { useElementHover } from '@vueuse/core'\nimport { ref } from 'vue'\n\ndefineProps<{\n transparent?: boolean\n modelValue: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: boolean): void\n}>()\n\nconst button = ref()\nconst isHovered = useElementHover(button)\n</script>\n<template>\n <Disclosure\n as=\"section\"\n class=\"section-accordion\"\n :class=\"{ 'section-accordion-transparent': transparent }\">\n <DisclosureButton\n ref=\"button\"\n class=\"section-accordion-button\"\n @click=\"() => emit('update:modelValue', !modelValue)\">\n <div class=\"section-accordion-button-content\">\n <slot name=\"title\" />\n </div>\n <div\n v-if=\"$slots.actions\"\n class=\"section-accordion-button-actions\">\n <slot\n :active=\"isHovered || modelValue\"\n name=\"actions\" />\n </div>\n <ScalarIconCaretRight\n class=\"section-accordion-chevron size-4.5 transition-transform\"\n :class=\"{ 'rotate-90': modelValue }\" />\n </DisclosureButton>\n <DisclosurePanel\n v-if=\"modelValue\"\n class=\"section-accordion-content\"\n static>\n <div\n v-if=\"$slots.description\"\n class=\"section-accordion-description\">\n <slot name=\"description\" />\n </div>\n <div class=\"section-accordion-content-card\">\n <slot />\n </div>\n </DisclosurePanel>\n </Disclosure>\n</template>\n<style scoped>\n.section-wrapper {\n color: var(--scalar-color-1);\n\n padding-top: 12px;\n margin-top: -12px;\n}\n.section-accordion {\n display: flex;\n flex-direction: column;\n\n border-radius: var(--scalar-radius-lg);\n background: var(--scalar-background-2);\n\n /* Offset by header height to line up scroll position */\n scroll-margin-top: var(--refs-viewport-offset);\n}\n\n.section-accordion-transparent {\n background: transparent;\n border: var(--scalar-border-width) solid var(--scalar-border-color);\n}\n\n.section-accordion-button {\n padding: 6px;\n}\n.section-accordion-button {\n display: flex;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n}\n\n.section-accordion-button-content {\n flex: 1;\n min-width: 0;\n}\n.section-accordion-button-actions {\n display: flex;\n align-items: center;\n gap: 6px;\n color: var(--scalar-color-3);\n}\n\n.section-accordion-chevron {\n margin-right: 4px;\n cursor: pointer;\n opacity: 1;\n color: var(--scalar-color-3);\n}\n.section-accordion-button:hover .section-accordion-chevron {\n color: var(--scalar-color-1);\n}\n.section-accordion-content {\n border-top: var(--scalar-border-width) solid var(--scalar-border-color);\n display: flex;\n flex-direction: column;\n}\n\n.section-accordion-description {\n font-weight: var(--scalar-semibold);\n font-size: var(--scalar-mini);\n color: var(--scalar-color--1);\n padding: 10px 12px 0px 12px;\n}\n.section-accordion-content-card :deep(.property:last-of-type) {\n padding-bottom: 9px;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;EAWA,MAAM,OAAO;EAIb,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"SectionAccordion.vue.script.js","names":["$slots"],"sources":["../../../src/components/Section/SectionAccordion.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { Disclosure, DisclosureButton, DisclosurePanel } from '@headlessui/vue'\nimport { ScalarIconCaretRight } from '@scalar/icons'\nimport { useElementHover } from '@vueuse/core'\nimport { ref } from 'vue'\n\ndefineProps<{\n transparent?: boolean\n modelValue: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: boolean): void\n}>()\n\nconst button = ref()\nconst isHovered = useElementHover(button)\n</script>\n<template>\n <Disclosure\n as=\"section\"\n class=\"section-accordion\"\n :class=\"{ 'section-accordion-transparent': transparent }\">\n <DisclosureButton\n ref=\"button\"\n class=\"section-accordion-button\"\n @click=\"() => emit('update:modelValue', !modelValue)\">\n <div class=\"section-accordion-button-content\">\n <slot name=\"title\" />\n </div>\n <div\n v-if=\"$slots.actions\"\n class=\"section-accordion-button-actions\">\n <slot\n :active=\"isHovered || modelValue\"\n name=\"actions\" />\n </div>\n <ScalarIconCaretRight\n class=\"section-accordion-chevron size-4.5 transition-transform\"\n :class=\"{ 'rotate-90': modelValue }\" />\n </DisclosureButton>\n <DisclosurePanel\n v-if=\"modelValue\"\n class=\"section-accordion-content\"\n static>\n <div\n v-if=\"$slots.description\"\n class=\"section-accordion-description\">\n <slot name=\"description\" />\n </div>\n <div class=\"section-accordion-content-card\">\n <slot />\n </div>\n </DisclosurePanel>\n </Disclosure>\n</template>\n<style scoped>\n.section-wrapper {\n color: var(--scalar-color-1);\n\n padding-top: 12px;\n margin-top: -12px;\n}\n.section-accordion {\n display: flex;\n flex-direction: column;\n\n border-radius: var(--scalar-radius-lg);\n background: var(--scalar-background-2);\n\n /* Offset by header height to line up scroll position */\n scroll-margin-top: var(--refs-viewport-offset);\n}\n\n.section-accordion-transparent {\n background: transparent;\n border: var(--scalar-border-width) solid var(--scalar-border-color);\n}\n\n.section-accordion-button {\n padding: 6px;\n}\n.section-accordion-button {\n display: flex;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n}\n\n.section-accordion-button-content {\n flex: 1;\n min-width: 0;\n}\n.section-accordion-button-actions {\n display: flex;\n align-items: center;\n gap: 6px;\n color: var(--scalar-color-3);\n}\n\n.section-accordion-chevron {\n margin-right: 4px;\n cursor: pointer;\n opacity: 1;\n color: var(--scalar-color-3);\n}\n.section-accordion-button:hover .section-accordion-chevron {\n color: var(--scalar-color-1);\n}\n.section-accordion-content {\n border-top: var(--scalar-border-width) solid var(--scalar-border-color);\n display: flex;\n flex-direction: column;\n}\n\n.section-accordion-description {\n font-weight: var(--scalar-semibold);\n font-size: var(--scalar-mini);\n color: var(--scalar-color--1);\n padding: 10px 12px 0px 12px;\n}\n.section-accordion-content-card :deep(.property:last-of-type) {\n padding-bottom: 9px;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;EAWA,MAAM,OAAO;EAIb,MAAM,SAAS,IAAI;EACnB,MAAM,YAAY,gBAAgB,MAAM;;uBAGtC,YAmCa,MAAA,UAAA,GAAA;IAlCX,IAAG;IACH,OAAK,eAAA,CAAC,qBAAmB,EAAA,iCACkB,QAAA,YAAW,CAAA,CAAA;;2BAkBnC,CAjBnB,YAiBmB,MAAA,gBAAA,GAAA;cAhBb;KAAJ,KAAI;KACJ,OAAM;KACL,SAAK,OAAA,OAAA,OAAA,WAAQ,KAAI,qBAAA,CAAuB,QAAA,UAAU;;4BAG7C;MAFN,mBAEM,OAFN,YAEM,CADJ,WAAqB,KAAA,QAAA,SAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA;MAGfA,KAAAA,OAAO,WAAA,UAAA,GADf,mBAMM,OANN,YAMM,CAHJ,WAEmB,KAAA,QAAA,WAAA,EADhB,QAAQ,MAAA,SAAA,KAAa,QAAA,WAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA,KAAA,mBAAA,IAAA,IAAA;MAG1B,YAEyC,MAAA,oBAAA,GAAA,EADvC,OAAK,eAAA,CAAC,2DAAyD,EAAA,aACxC,QAAA,WAAU,CAAA,CAAA,EAAA,GAAA,MAAA,GAAA,CAAA,OAAA,CAAA;;;aAG7B,QAAA,cAAA,UAAA,GADR,YAYkB,MAAA,eAAA,GAAA;;KAVhB,OAAM;KACN,QAAA;;4BAKM,CAHEA,KAAAA,OAAO,eAAA,UAAA,GADf,mBAIM,OAJN,YAIM,CADJ,WAA2B,KAAA,QAAA,eAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA,KAAA,mBAAA,IAAA,IAAA,GAE7B,mBAEM,OAFN,YAEM,CADJ,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA,CAAA,CAAA"}
|
|
@@ -7,7 +7,7 @@ var _hoisted_1 = { class: "section-column" };
|
|
|
7
7
|
function _sfc_render(_ctx, _cache) {
|
|
8
8
|
return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]);
|
|
9
9
|
}
|
|
10
|
-
var SectionColumn_default =
|
|
10
|
+
var SectionColumn_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-699c28e3"]]);
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SectionColumn_default as default };
|
|
13
13
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionColumn.vue.js","names":[],"sources":["../../../src/components/Section/SectionColumn.vue"],"sourcesContent":["<template>\n <div class=\"section-column\"><slot /></div>\n</template>\n\n<style scoped>\n.section-column {\n flex: 1;\n min-width: 0;\n}\n@container narrow-references-container (max-width: 900px) {\n .section-column:nth-of-type(2) {\n padding-top: 0;\n }\n}\n</style>\n"],"mappings":";;;;;mBACO,OAAM,
|
|
1
|
+
{"version":3,"file":"SectionColumn.vue.js","names":[],"sources":["../../../src/components/Section/SectionColumn.vue"],"sourcesContent":["<template>\n <div class=\"section-column\"><slot /></div>\n</template>\n\n<style scoped>\n.section-column {\n flex: 1;\n min-width: 0;\n}\n@container narrow-references-container (max-width: 900px) {\n .section-column:nth-of-type(2) {\n padding-top: 0;\n }\n}\n</style>\n"],"mappings":";;;;;mBACO,OAAM,iBAAgB;;qBAA3B,mBAA0C,OAA1C,YAA0C,CAAd,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA"}
|
|
@@ -7,7 +7,7 @@ var _hoisted_1 = { class: "section-columns" };
|
|
|
7
7
|
function _sfc_render(_ctx, _cache) {
|
|
8
8
|
return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]);
|
|
9
9
|
}
|
|
10
|
-
var SectionColumns_default =
|
|
10
|
+
var SectionColumns_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-8b9602bf"]]);
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SectionColumns_default as default };
|
|
13
13
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionColumns.vue.js","names":[],"sources":["../../../src/components/Section/SectionColumns.vue"],"sourcesContent":["<template>\n <div class=\"section-columns\">\n <slot />\n </div>\n</template>\n\n<style scoped>\n.section-columns {\n display: flex;\n gap: 48px;\n}\n@container narrow-references-container (max-width: 900px) {\n .section-columns {\n flex-direction: column;\n gap: 24px;\n }\n}\n</style>\n"],"mappings":";;;;;mBACO,OAAM,
|
|
1
|
+
{"version":3,"file":"SectionColumns.vue.js","names":[],"sources":["../../../src/components/Section/SectionColumns.vue"],"sourcesContent":["<template>\n <div class=\"section-columns\">\n <slot />\n </div>\n</template>\n\n<style scoped>\n.section-columns {\n display: flex;\n gap: 48px;\n}\n@container narrow-references-container (max-width: 900px) {\n .section-columns {\n flex-direction: column;\n gap: 24px;\n }\n}\n</style>\n"],"mappings":";;;;;mBACO,OAAM,kBAAiB;;qBAA5B,mBAEM,OAFN,YAEM,CADJ,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA"}
|
|
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
|
|
|
2
2
|
import SectionContainer_vue_vue_type_script_setup_true_lang_default from "./SectionContainer.vue.script.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/Section/SectionContainer.vue
|
|
5
|
-
var SectionContainer_default =
|
|
5
|
+
var SectionContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(SectionContainer_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-20a1472a"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { SectionContainer_default as default };
|
|
8
8
|
|
|
@@ -4,12 +4,12 @@ var _hoisted_1 = {
|
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "section-container"
|
|
6
6
|
};
|
|
7
|
-
var SectionContainer_vue_vue_type_script_setup_true_lang_default =
|
|
7
|
+
var SectionContainer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
8
8
|
__name: "SectionContainer",
|
|
9
9
|
props: { omit: { type: Boolean } },
|
|
10
10
|
setup(__props) {
|
|
11
11
|
return (_ctx, _cache) => {
|
|
12
|
-
return __props.omit ? renderSlot(_ctx.$slots, "default", {
|
|
12
|
+
return __props.omit ? renderSlot(_ctx.$slots, "default", {}, void 0, true, 0) : (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]));
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionContainer.vue.script.js","names":[],"sources":["../../../src/components/Section/SectionContainer.vue"],"sourcesContent":["<script setup lang=\"ts\">\ndefineProps<{\n /**\n * Skips rendering the section container div and its styles, rendering only the slot directly.\n */\n omit?: boolean\n}>()\n</script>\n\n<template>\n <slot v-if=\"omit\" />\n <div\n v-else\n class=\"section-container\">\n <slot />\n </div>\n</template>\n\n<style scoped>\n.section-container {\n position: relative;\n padding: 0 60px;\n width: 100%;\n border-top: var(--scalar-border-width) solid var(--scalar-border-color);\n}\n.section-container:has(.introduction-section) {\n border-top: none;\n}\n@container narrow-references-container (max-width: 900px) {\n .section-container {\n padding: 0;\n }\n}\n</style>\n"],"mappings":";;;;;;;;;;;UAUc,QAAA,OAAZ,WAAoB,KAAA,QAAA,WAAA,
|
|
1
|
+
{"version":3,"file":"SectionContainer.vue.script.js","names":[],"sources":["../../../src/components/Section/SectionContainer.vue"],"sourcesContent":["<script setup lang=\"ts\">\ndefineProps<{\n /**\n * Skips rendering the section container div and its styles, rendering only the slot directly.\n */\n omit?: boolean\n}>()\n</script>\n\n<template>\n <slot v-if=\"omit\" />\n <div\n v-else\n class=\"section-container\">\n <slot />\n </div>\n</template>\n\n<style scoped>\n.section-container {\n position: relative;\n padding: 0 60px;\n width: 100%;\n border-top: var(--scalar-border-width) solid var(--scalar-border-color);\n}\n.section-container:has(.introduction-section) {\n border-top: none;\n}\n@container narrow-references-container (max-width: 900px) {\n .section-container {\n padding: 0;\n }\n}\n</style>\n"],"mappings":";;;;;;;;;;;UAUc,QAAA,OAAZ,WAAoB,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,MAAA,CAAA,KAAA,UAAA,GACpB,mBAIM,OAJN,YAIM,CADJ,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue"],"names":[],"mappings":"AAuGA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue"],"names":[],"mappings":"AAuGA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;AA0IF,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
|
|
|
2
2
|
import SectionContainerAccordion_vue_vue_type_script_setup_true_lang_default from "./SectionContainerAccordion.vue.script.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/Section/SectionContainerAccordion.vue
|
|
5
|
-
var SectionContainerAccordion_default =
|
|
5
|
+
var SectionContainerAccordion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(SectionContainerAccordion_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-9419dd23"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { SectionContainerAccordion_default as default };
|
|
8
8
|
|
|
@@ -4,7 +4,7 @@ import { ScalarIconCaretRight } from "@scalar/icons";
|
|
|
4
4
|
//#region src/components/Section/SectionContainerAccordion.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = { class: "section-accordion-wrapper" };
|
|
6
6
|
var _hoisted_2 = { class: "section-accordion-title" };
|
|
7
|
-
var SectionContainerAccordion_vue_vue_type_script_setup_true_lang_default =
|
|
7
|
+
var SectionContainerAccordion_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
8
8
|
__name: "SectionContainerAccordion",
|
|
9
9
|
props: { modelValue: { type: Boolean } },
|
|
10
10
|
emits: ["update:modelValue"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionContainerAccordion.vue.script.js","names":[],"sources":["../../../src/components/Section/SectionContainerAccordion.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { Disclosure, DisclosureButton, DisclosurePanel } from '@headlessui/vue'\nimport { ScalarIconCaretRight } from '@scalar/icons'\n\ndefineProps<{\n modelValue: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: boolean): void\n}>()\n</script>\n<template>\n <section class=\"section-accordion-wrapper\">\n <Disclosure\n as=\"div\"\n class=\"section-accordion\">\n <DisclosureButton\n class=\"section-accordion-button\"\n @click=\"emit('update:modelValue', !modelValue)\">\n <ScalarIconCaretRight\n class=\"section-accordion-chevron size-5 transition-transform\"\n :class=\"{ 'rotate-90': modelValue }\" />\n <div class=\"section-accordion-title\">\n <slot name=\"title\" />\n </div>\n </DisclosureButton>\n <DisclosurePanel\n v-if=\"modelValue\"\n class=\"section-accordion-content\"\n static>\n <slot />\n </DisclosurePanel>\n </Disclosure>\n </section>\n</template>\n<style scoped>\n.section-accordion-wrapper {\n padding: 0 60px;\n}\n.section-accordion {\n position: relative;\n width: 100%;\n max-width: var(--refs-content-max-width);\n margin: auto;\n}\n.section-accordion-content {\n display: flex;\n flex-direction: column;\n gap: 12px;\n\n padding-top: 12px;\n}\n.section-accordion-button {\n width: 100%;\n display: flex;\n\n cursor: pointer;\n\n padding: 6px 0 6px 0;\n margin: -6px 0 -6px 0;\n border-radius: var(--scalar-radius);\n}\n.section-accordion-chevron {\n position: absolute;\n left: -22px;\n top: 12px;\n color: var(--scalar-color-3);\n}\n\n.section-accordion-button:hover .section-accordion-chevron {\n color: var(--scalar-color-1);\n}\n.section-accordion-title {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n padding: 0 6px;\n}\n.section-accordion-title :deep(.section-header-wrapper) {\n grid-template-columns: 1fr;\n}\n.section-accordion-title :deep(.section-header) {\n margin-bottom: 0;\n}\n@container narrow-references-container (max-width: 900px) {\n .section-accordion-chevron {\n width: 16px;\n left: -16px;\n top: 14px;\n }\n .section-accordion-wrapper {\n padding: calc(var(--refs-viewport-offset)) 24px 0 24px;\n }\n}\n</style>\n"],"mappings":";;;;;;;;;;;EAQA,MAAM,OAAO;;uBAKX,mBAqBU,WArBV,YAqBU,CApBR,YAmBa,MAAA,
|
|
1
|
+
{"version":3,"file":"SectionContainerAccordion.vue.script.js","names":[],"sources":["../../../src/components/Section/SectionContainerAccordion.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { Disclosure, DisclosureButton, DisclosurePanel } from '@headlessui/vue'\nimport { ScalarIconCaretRight } from '@scalar/icons'\n\ndefineProps<{\n modelValue: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: boolean): void\n}>()\n</script>\n<template>\n <section class=\"section-accordion-wrapper\">\n <Disclosure\n as=\"div\"\n class=\"section-accordion\">\n <DisclosureButton\n class=\"section-accordion-button\"\n @click=\"emit('update:modelValue', !modelValue)\">\n <ScalarIconCaretRight\n class=\"section-accordion-chevron size-5 transition-transform\"\n :class=\"{ 'rotate-90': modelValue }\" />\n <div class=\"section-accordion-title\">\n <slot name=\"title\" />\n </div>\n </DisclosureButton>\n <DisclosurePanel\n v-if=\"modelValue\"\n class=\"section-accordion-content\"\n static>\n <slot />\n </DisclosurePanel>\n </Disclosure>\n </section>\n</template>\n<style scoped>\n.section-accordion-wrapper {\n padding: 0 60px;\n}\n.section-accordion {\n position: relative;\n width: 100%;\n max-width: var(--refs-content-max-width);\n margin: auto;\n}\n.section-accordion-content {\n display: flex;\n flex-direction: column;\n gap: 12px;\n\n padding-top: 12px;\n}\n.section-accordion-button {\n width: 100%;\n display: flex;\n\n cursor: pointer;\n\n padding: 6px 0 6px 0;\n margin: -6px 0 -6px 0;\n border-radius: var(--scalar-radius);\n}\n.section-accordion-chevron {\n position: absolute;\n left: -22px;\n top: 12px;\n color: var(--scalar-color-3);\n}\n\n.section-accordion-button:hover .section-accordion-chevron {\n color: var(--scalar-color-1);\n}\n.section-accordion-title {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n padding: 0 6px;\n}\n.section-accordion-title :deep(.section-header-wrapper) {\n grid-template-columns: 1fr;\n}\n.section-accordion-title :deep(.section-header) {\n margin-bottom: 0;\n}\n@container narrow-references-container (max-width: 900px) {\n .section-accordion-chevron {\n width: 16px;\n left: -16px;\n top: 14px;\n }\n .section-accordion-wrapper {\n padding: calc(var(--refs-viewport-offset)) 24px 0 24px;\n }\n}\n</style>\n"],"mappings":";;;;;;;;;;;EAQA,MAAM,OAAO;;uBAKX,mBAqBU,WArBV,YAqBU,CApBR,YAmBa,MAAA,UAAA,GAAA;IAlBX,IAAG;IACH,OAAM;;2BAUa,CATnB,YASmB,MAAA,gBAAA,GAAA;KARjB,OAAM;KACL,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,qBAAA,CAAuB,QAAA,UAAU;;4BAGJ,CAFzC,YAEyC,MAAA,oBAAA,GAAA,EADvC,OAAK,eAAA,CAAC,yDAAuD,EAAA,aACtC,QAAA,WAAU,CAAA,CAAA,EAAA,GAAA,MAAA,GAAA,CAAA,OAAA,CAAA,GACnC,mBAEM,OAFN,YAEM,CADJ,WAAqB,KAAA,QAAA,SAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA,CAAA,CAAA;;QAIjB,QAAA,cAAA,UAAA,GADR,YAKkB,MAAA,eAAA,GAAA;;KAHhB,OAAM;KACN,QAAA;;4BACQ,CAAR,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA"}
|
|
@@ -7,7 +7,7 @@ var _hoisted_1 = { class: "section-content" };
|
|
|
7
7
|
function _sfc_render(_ctx, _cache) {
|
|
8
8
|
return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]);
|
|
9
9
|
}
|
|
10
|
-
var SectionContent_default =
|
|
10
|
+
var SectionContent_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6101128d"]]);
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SectionContent_default as default };
|
|
13
13
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionContent.vue.js","names":[],"sources":["../../../src/components/Section/SectionContent.vue"],"sourcesContent":["<template>\n <div class=\"section-content\">\n <slot />\n </div>\n</template>\n\n<style scoped>\n@container narrow-references-container (max-width: 900px) {\n .section-content--with-columns {\n flex-direction: column;\n gap: 24px;\n }\n}\n</style>\n"],"mappings":";;;;;mBACO,OAAM,
|
|
1
|
+
{"version":3,"file":"SectionContent.vue.js","names":[],"sources":["../../../src/components/Section/SectionContent.vue"],"sourcesContent":["<template>\n <div class=\"section-content\">\n <slot />\n </div>\n</template>\n\n<style scoped>\n@container narrow-references-container (max-width: 900px) {\n .section-content--with-columns {\n flex-direction: column;\n gap: 24px;\n }\n}\n</style>\n"],"mappings":";;;;;mBACO,OAAM,kBAAiB;;qBAA5B,mBAEM,OAFN,YAEM,CADJ,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue"],"names":[],"mappings":"AA6CA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AA4CF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK7C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
|
|
|
2
2
|
import SectionHeader_vue_vue_type_script_setup_true_lang_default from "./SectionHeader.vue.script.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/Section/SectionHeader.vue
|
|
5
|
-
var SectionHeader_default =
|
|
5
|
+
var SectionHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(SectionHeader_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-7607c44e"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { SectionHeader_default as default };
|
|
8
8
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeader.vue.js","names":[],"sources":["../../../src/components/Section/SectionHeader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst { tight, removeMargin = false } = defineProps<{\n tight?: boolean\n removeMargin?: boolean\n}>()\n</script>\n\n<template>\n <div
|
|
1
|
+
{"version":3,"file":"SectionHeader.vue.js","names":[],"sources":["../../../src/components/Section/SectionHeader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst { tight, removeMargin = false } = defineProps<{\n tight?: boolean\n removeMargin?: boolean\n}>()\n</script>\n\n<!--\n The reference is an embeddable widget, so the header collapses based on the\n rendered width of the reference (the narrow: variant), not the viewport.\n The section-header-wrapper class stays as a styling hook for\n SectionContainerAccordion.\n-->\n<template>\n <div\n class=\"section-header-wrapper narrow:grid-cols-1 narrow:gap-0 grid grid-cols-2 gap-12\">\n <div\n class=\"section-header\"\n :class=\"{ tight, 'mb-3': !removeMargin }\">\n <slot />\n </div>\n <slot\n v-if=\"$slots.links\"\n name=\"links\" />\n </div>\n</template>\n\n<style scoped>\n.section-header {\n font-size: var(--font-size, var(--scalar-heading-1));\n font-weight: var(--font-weight, var(--scalar-bold));\n /* prettier-ignore */\n color: var(--scalar-color-1);\n word-wrap: break-word;\n line-height: 1.45;\n margin-top: 0;\n}\n\n.section-header.tight {\n margin-bottom: 6px;\n}\n</style>\n"],"mappings":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderSlot } from "vue";
|
|
2
2
|
//#region src/components/Section/SectionHeader.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var _hoisted_1 = { class: "section-header-wrapper
|
|
4
|
-
var SectionHeader_vue_vue_type_script_setup_true_lang_default =
|
|
3
|
+
var _hoisted_1 = { class: "section-header-wrapper narrow:grid-cols-1 narrow:gap-0 grid grid-cols-2 gap-12" };
|
|
4
|
+
var SectionHeader_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "SectionHeader",
|
|
6
6
|
props: {
|
|
7
7
|
tight: { type: Boolean },
|
|
@@ -15,7 +15,7 @@ var SectionHeader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
15
15
|
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", { class: normalizeClass(["section-header", {
|
|
16
16
|
tight: __props.tight,
|
|
17
17
|
"mb-3": !__props.removeMargin
|
|
18
|
-
}]) }, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 2), _ctx.$slots.links ? renderSlot(_ctx.$slots, "links", {
|
|
18
|
+
}]) }, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 2), _ctx.$slots.links ? renderSlot(_ctx.$slots, "links", {}, void 0, true, 0) : createCommentVNode("", true)]);
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeader.vue.script.js","names":["$slots"],"sources":["../../../src/components/Section/SectionHeader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst { tight, removeMargin = false } = defineProps<{\n tight?: boolean\n removeMargin?: boolean\n}>()\n</script>\n\n<template>\n <div
|
|
1
|
+
{"version":3,"file":"SectionHeader.vue.script.js","names":["$slots"],"sources":["../../../src/components/Section/SectionHeader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst { tight, removeMargin = false } = defineProps<{\n tight?: boolean\n removeMargin?: boolean\n}>()\n</script>\n\n<!--\n The reference is an embeddable widget, so the header collapses based on the\n rendered width of the reference (the narrow: variant), not the viewport.\n The section-header-wrapper class stays as a styling hook for\n SectionContainerAccordion.\n-->\n<template>\n <div\n class=\"section-header-wrapper narrow:grid-cols-1 narrow:gap-0 grid grid-cols-2 gap-12\">\n <div\n class=\"section-header\"\n :class=\"{ tight, 'mb-3': !removeMargin }\">\n <slot />\n </div>\n <slot\n v-if=\"$slots.links\"\n name=\"links\" />\n </div>\n</template>\n\n<style scoped>\n.section-header {\n font-size: var(--font-size, var(--scalar-heading-1));\n font-weight: var(--font-weight, var(--scalar-bold));\n /* prettier-ignore */\n color: var(--scalar-color-1);\n word-wrap: break-word;\n line-height: 1.45;\n margin-top: 0;\n}\n\n.section-header.tight {\n margin-bottom: 6px;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;uBAcE,mBAUM,OAVN,YAUM,CARJ,mBAIM,OAAA,EAHJ,OAAK,eAAA,CAAC,kBAAgB;IAAA,OACZ,QAAA;IAAK,QAAA,CAAW,QAAA;GAAY,CAAA,CAAA,EAAA,GAAA,CACtC,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,GAAA,CAAA,GAGFA,KAAAA,OAAO,QADf,WAEiB,KAAA,QAAA,SAAA,CAAA,GAAA,KAAA,GAAA,MAAA,CAAA,IAAA,mBAAA,IAAA,IAAA,CAAA,CAAA"}
|
|
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
|
|
|
2
2
|
import SectionHeaderTag_vue_vue_type_script_setup_true_lang_default from "./SectionHeaderTag.vue.script.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/Section/SectionHeaderTag.vue
|
|
5
|
-
var SectionHeaderTag_default =
|
|
5
|
+
var SectionHeaderTag_default = /*#__PURE__*/ _plugin_vue_export_helper_default(SectionHeaderTag_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-f1ac6c38"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { SectionHeaderTag_default as default };
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, openBlock, renderSlot, resolveDynamicComponent, withCtx } from "vue";
|
|
2
2
|
//#region src/components/Section/SectionHeaderTag.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var SectionHeaderTag_vue_vue_type_script_setup_true_lang_default =
|
|
3
|
+
var SectionHeaderTag_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
4
4
|
__name: "SectionHeaderTag",
|
|
5
5
|
props: { level: { default: 1 } },
|
|
6
6
|
setup(__props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeaderTag.vue.script.js","names":[],"sources":["../../../src/components/Section/SectionHeaderTag.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst { level = 1 } = defineProps<{ level?: 1 | 2 | 3 | 4 | 5 | 6 }>()\n</script>\n<template>\n <component\n :is=\"`h${level}`\"\n class=\"section-header-label\">\n <slot />\n </component>\n</template>\n<style scoped>\n.section-header-label {\n display: inline;\n}\n</style>\n"],"mappings":";;;;;;;uBAIE,YAIY,wBAAA,IAHD,QAAA,
|
|
1
|
+
{"version":3,"file":"SectionHeaderTag.vue.script.js","names":[],"sources":["../../../src/components/Section/SectionHeaderTag.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst { level = 1 } = defineProps<{ level?: 1 | 2 | 3 | 4 | 5 | 6 }>()\n</script>\n<template>\n <component\n :is=\"`h${level}`\"\n class=\"section-header-label\">\n <slot />\n </component>\n</template>\n<style scoped>\n.section-header-label {\n display: inline;\n}\n</style>\n"],"mappings":";;;;;;;uBAIE,YAIY,wBAAA,IAHD,QAAA,OAAK,GAAA,EACd,OAAM,uBAAsB,GAAA;2BACpB,CAAR,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,CAAA"}
|
|
@@ -7,7 +7,7 @@ var _hoisted_1 = { class: "section-flare" };
|
|
|
7
7
|
function _sfc_render(_ctx, _cache) {
|
|
8
8
|
return openBlock(), createElementBlock("div", _hoisted_1, [..._cache[0] || (_cache[0] = [createStaticVNode("<div class=\"section-flare-item\" data-v-5cebff7a></div><div class=\"section-flare-item\" data-v-5cebff7a></div><div class=\"section-flare-item\" data-v-5cebff7a></div><div class=\"section-flare-item\" data-v-5cebff7a></div><div class=\"section-flare-item\" data-v-5cebff7a></div><div class=\"section-flare-item\" data-v-5cebff7a></div><div class=\"section-flare-item\" data-v-5cebff7a></div><div class=\"section-flare-item\" data-v-5cebff7a></div>", 8)])]);
|
|
9
9
|
}
|
|
10
|
-
var SectionFlare_default =
|
|
10
|
+
var SectionFlare_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5cebff7a"]]);
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SectionFlare_default as default };
|
|
13
13
|
|