@scalar/api-reference 1.64.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.
Files changed (591) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.d.ts.map +1 -1
  3. package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.script.js +1 -1
  4. package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.script.js.map +1 -1
  5. package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.d.ts.map +1 -1
  6. package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.script.js +1 -1
  7. package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.script.js.map +1 -1
  8. package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.script.js +2 -2
  9. package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.script.js.map +1 -1
  10. package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.d.ts.map +1 -1
  11. package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.script.js +1 -1
  12. package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.script.js.map +1 -1
  13. package/dist/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.js.map +1 -1
  14. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +1 -3
  15. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -1
  16. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +1 -1
  17. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js.map +1 -1
  18. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.script.js +13 -27
  19. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.script.js.map +1 -1
  20. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -1
  21. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +1 -1
  22. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js.map +1 -1
  23. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.script.js +37 -25
  24. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.script.js.map +1 -1
  25. package/dist/blocks/scalar-client-selector-block/helpers/featured-clients.js.map +1 -1
  26. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
  27. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
  28. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js.map +1 -1
  29. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js +10 -4
  30. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js.map +1 -1
  31. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.script.js +1 -1
  32. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.script.js.map +1 -1
  33. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
  34. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.script.js +1 -1
  35. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.script.js.map +1 -1
  36. package/dist/blocks/scalar-info-block/components/InfoLinks.vue.script.js +1 -1
  37. package/dist/blocks/scalar-info-block/components/InfoLinks.vue.script.js.map +1 -1
  38. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.script.js +1 -1
  39. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.script.js.map +1 -1
  40. package/dist/blocks/scalar-info-block/components/InfoVersion.vue.script.js +1 -1
  41. package/dist/blocks/scalar-info-block/components/InfoVersion.vue.script.js.map +1 -1
  42. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.js +1 -1
  43. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.script.js +1 -1
  44. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.script.js.map +1 -1
  45. package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +1 -1
  46. package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.js.map +1 -1
  47. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
  48. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
  49. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js +1 -1
  50. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js.map +1 -1
  51. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.js +1 -1
  52. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js +1 -1
  53. package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js.map +1 -1
  54. package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.script.js +1 -1
  55. package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.script.js.map +1 -1
  56. package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.d.ts.map +1 -1
  57. package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.js +1 -1
  58. package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.js.map +1 -1
  59. package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.script.js +16 -9
  60. package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.script.js.map +1 -1
  61. package/dist/blocks/scalar-sdk-installation-instructions/helpers/language-icon.js.map +1 -1
  62. package/dist/blocks/scalar-sdk-installation-instructions/helpers/renderable-sdks.js.map +1 -1
  63. package/dist/blocks/scalar-sdk-installation-instructions/helpers/visible-tab-count.js.map +1 -1
  64. package/dist/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -1
  65. package/dist/blocks/scalar-server-selector-block/components/Selector.vue.script.js +1 -1
  66. package/dist/blocks/scalar-server-selector-block/components/Selector.vue.script.js.map +1 -1
  67. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -1
  68. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.script.js +1 -1
  69. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.script.js.map +1 -1
  70. package/dist/browser/chunks/AgentScalarChatInterface-D1mzA447.js +27 -0
  71. package/dist/browser/chunks/ScalarTextInput.vue-OfiA6SHf.js +27 -0
  72. package/dist/browser/chunks/{basic-shape-diamond.svg-BTEOT1FL.js → basic-shape-diamond.svg-o5eiY2I7.js} +2 -2
  73. package/dist/browser/chunks/{basic-shape-hexagon.svg-BSPzaCgF.js → basic-shape-hexagon.svg-CGuS7mbd.js} +2 -2
  74. package/dist/browser/chunks/{basic-shape-primary-circle-ellipse-round.svg-DKmZ8UUU.js → basic-shape-primary-circle-ellipse-round.svg-DDIpXiBm.js} +2 -2
  75. package/dist/browser/chunks/{basic-shape-primary-square-rectangle.svg-n2YRykHD.js → basic-shape-primary-square-rectangle.svg-DzVEJHMB.js} +2 -2
  76. package/dist/browser/chunks/{basic-shape-shield.svg-Bec9cJDA.js → basic-shape-shield.svg-BZzapRqv.js} +2 -2
  77. package/dist/browser/chunks/browser-CTPPEMEL.js +129 -0
  78. package/dist/browser/chunks/{computer-device-desktop-monitor.svg-m6j893Hb.js → computer-device-desktop-monitor.svg-OSM05r1I.js} +2 -2
  79. package/dist/browser/chunks/{computer-device-desktop.svg-Dk1VVO7k.js → computer-device-desktop.svg-BMFzGZ27.js} +2 -2
  80. package/dist/browser/chunks/{computer-device-laptop.svg-BNGVUCYS.js → computer-device-laptop.svg-CMAjzuB-.js} +2 -2
  81. 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
  82. package/dist/browser/chunks/{computer-device-mobile-phone-android-samsung.svg-D8ExpMpL.js → computer-device-mobile-phone-android-samsung.svg-gbMJLjJw.js} +2 -2
  83. 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
  84. 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
  85. package/dist/browser/chunks/{computer-device-mobile-tablet-touch.svg-DQ2oTvOG.js → computer-device-mobile-tablet-touch.svg-Zi88BP4L.js} +2 -2
  86. package/dist/browser/chunks/{computer-device-mobile-tablet.svg-DCr0XlRc.js → computer-device-mobile-tablet.svg-C1ggisWP.js} +2 -2
  87. package/dist/browser/chunks/{computer-device-network-ethernet-cat6.svg-AK9l0iOl.js → computer-device-network-ethernet-cat6.svg-BIUymdC1.js} +2 -2
  88. package/dist/browser/chunks/{computer-device-network-lan-www.svg-gUIdFBlE.js → computer-device-network-lan-www.svg-CoFUlIVO.js} +2 -2
  89. package/dist/browser/chunks/{computer-device-network-wifi-connection.svg-Be-EMm4e.js → computer-device-network-wifi-connection.svg-DeWsacxI.js} +2 -2
  90. package/dist/browser/chunks/{computer-device-network-wifi-router.svg-Dc2VzyqK.js → computer-device-network-wifi-router.svg-BjpZEot4.js} +2 -2
  91. package/dist/browser/chunks/{ecology-science-erlenmeyer-flask.svg-DHgy7Jfd.js → ecology-science-erlenmeyer-flask.svg-ftjGGirE.js} +2 -2
  92. package/dist/browser/chunks/{image-flash-lightning.svg-EETR_y1q.js → image-flash-lightning.svg-DYQ0W4Fi.js} +2 -2
  93. package/dist/browser/chunks/{image-picture-flower.svg-DN1AYzJU.js → image-picture-flower.svg-Bfe5SVDf.js} +2 -2
  94. package/dist/browser/chunks/{interface-alert-exclamation-diamond.svg-C5NozMV_.js → interface-alert-exclamation-diamond.svg-D1HePDNM.js} +2 -2
  95. package/dist/browser/chunks/{interface-alert-exclamation-triangle-warning.svg-DaAg2fF5.js → interface-alert-exclamation-triangle-warning.svg-CILUsxBC.js} +2 -2
  96. package/dist/browser/chunks/{interface-alert-information-circle.svg-ckkkt9Mv.js → interface-alert-information-circle.svg-9LrbJM5J.js} +2 -2
  97. package/dist/browser/chunks/{interface-award-crown.svg-pjvn9hY-.js → interface-award-crown.svg-DllWgiU1.js} +2 -2
  98. package/dist/browser/chunks/{interface-bookmark.svg-BK9HKQBT.js → interface-bookmark-tag.svg-Dc-JL-Kc.js} +2 -2
  99. package/dist/browser/chunks/{interface-bookmark-tag.svg-r2r-lQq4.js → interface-bookmark.svg-Dc-JL-Kc.js} +2 -2
  100. package/dist/browser/chunks/{interface-calendar-date-one.svg-DNnF0M1I.js → interface-calendar-date-one.svg-DO2jelhF.js} +2 -2
  101. package/dist/browser/chunks/{interface-content-book-open-pages.svg-CQj_w9Vp.js → interface-content-book-open-pages.svg-BJjMjIgA.js} +2 -2
  102. package/dist/browser/chunks/{interface-content-book-page.svg-DppoeJRe.js → interface-content-book-page.svg-C6rKB2fs.js} +2 -2
  103. package/dist/browser/chunks/{interface-content-file.svg-CvcD7OiY.js → interface-content-file.svg-CS0q2FKx.js} +2 -2
  104. package/dist/browser/chunks/{interface-content-folder.svg-BmtS5I9A.js → interface-content-folder.svg-CThTWsJX.js} +2 -2
  105. package/dist/browser/chunks/{interface-copy-clipboard.svg-Be6EI50X.js → interface-copy-clipboard.svg-DdN67cLv.js} +2 -2
  106. package/dist/browser/chunks/{interface-edit-attachment.svg-G5TKzpWX.js → interface-edit-attachment.svg-Ciizphuh.js} +2 -2
  107. package/dist/browser/chunks/{interface-edit-binocular.svg-jzL-DvGB.js → interface-edit-binocular.svg-Dw1nDqmL.js} +2 -2
  108. package/dist/browser/chunks/{interface-edit-magic-wand.svg-BOTlymvp.js → interface-edit-magic-wand.svg-BYS0jm_E.js} +2 -2
  109. package/dist/browser/chunks/{interface-edit-tool-paint-roller.svg-s9dwryx7.js → interface-edit-tool-paint-roller.svg-NioSHZC2.js} +2 -2
  110. package/dist/browser/chunks/{interface-edit-tool-pencil.svg-C7v0dbB3.js → interface-edit-tool-pencil.svg-P87QFlat.js} +2 -2
  111. package/dist/browser/chunks/{interface-favorite-award.svg-CYHUgUG0.js → interface-favorite-award.svg-DBBAChSi.js} +2 -2
  112. package/dist/browser/chunks/{interface-favorite-flag.svg-C10zlKOb.js → interface-favorite-flag.svg-HlhPomHY.js} +2 -2
  113. package/dist/browser/chunks/{interface-favorite-heart.svg-eoduXxlz.js → interface-favorite-heart.svg-Cqu2GYDo.js} +2 -2
  114. package/dist/browser/chunks/{interface-favorite-star.svg-BSmxJetr.js → interface-favorite-star.svg-BD4JY_J2.js} +2 -2
  115. package/dist/browser/chunks/{interface-favorite-stars-sparkles.svg-JTFLj3Ls.js → interface-favorite-stars-sparkles.svg-BXi6aO8q.js} +2 -2
  116. package/dist/browser/chunks/{interface-hierarchy-flowchart.svg-Cg_Wy0kN.js → interface-hierarchy-flowchart.svg-CDEVSsD4.js} +2 -2
  117. package/dist/browser/chunks/{interface-home-house.svg-DytoGRnv.js → interface-home-house.svg-DJetUjwj.js} +2 -2
  118. package/dist/browser/chunks/{interface-hyperlink.svg-CuEfmmQI.js → interface-hyperlink.svg-DJ1LREmz.js} +2 -2
  119. package/dist/browser/chunks/{interface-lighting-brightness.svg-DSK0h_Pa.js → interface-lighting-brightness.svg-TGKAaHYV.js} +2 -2
  120. package/dist/browser/chunks/{interface-lock-closed.svg-Cn6TaLYv.js → interface-lock-closed.svg-3hehWr3i.js} +2 -2
  121. package/dist/browser/chunks/{interface-lock-open-unlock.svg-CVkG5-9W.js → interface-lock-open-unlock.svg-CuXKcv1m.js} +2 -2
  122. package/dist/browser/chunks/{interface-login-key.svg-y-cwwXjN.js → interface-login-key.svg-Chwvvywd.js} +2 -2
  123. package/dist/browser/chunks/{interface-search.svg-S-puVFJB.js → interface-search.svg-JDE3fk0u.js} +2 -2
  124. package/dist/browser/chunks/{interface-setting-cog.svg-CTH4_lLg.js → interface-setting-cog.svg-BBCkeh4K.js} +2 -2
  125. package/dist/browser/chunks/{interface-share-megaphone-bullhorn.svg-Pbp39MyC.js → interface-share-megaphone-bullhorn.svg-CDdxF-4y.js} +2 -2
  126. package/dist/browser/chunks/{interface-share-rocket.svg-BgCsIRZO.js → interface-share-rocket.svg-DSbdn_o7.js} +2 -2
  127. package/dist/browser/chunks/{interface-share-satellite.svg-DAMN9d5G.js → interface-share-satellite.svg-CefBVZvY.js} +2 -2
  128. package/dist/browser/chunks/{interface-share-space-ship.svg-Dt-Mejxk.js → interface-share-space-ship.svg-tFA2dsSU.js} +2 -2
  129. package/dist/browser/chunks/{interface-share.svg-vFYTXSti.js → interface-share.svg-BpOGopyv.js} +2 -2
  130. package/dist/browser/chunks/{interface-signal-square.svg-DNG4LpAe.js → interface-signal-square.svg-BcX_BoaC.js} +2 -2
  131. package/dist/browser/chunks/{interface-time-clock-circle.svg-Bpz-nLxo.js → interface-time-clock-circle.svg-C8B_L_RM.js} +2 -2
  132. package/dist/browser/chunks/{interface-time-hour-glass.svg-D7agfKsH.js → interface-time-hour-glass.svg-qw-oeoVn.js} +2 -2
  133. package/dist/browser/chunks/{interface-users-multiple.svg-CkPJBBnG.js → interface-users-multiple.svg-Cs13Eewq.js} +2 -2
  134. package/dist/browser/chunks/{interface-weather-moon.svg-CaTZFMPO.js → interface-weather-moon.svg-CV-oDTae.js} +2 -2
  135. package/dist/browser/chunks/{mail-chat-bubble-square.svg-DC8RIihp.js → mail-chat-bubble-square.svg-dpauJhin.js} +2 -2
  136. package/dist/browser/chunks/{mail-send-email-paper-airplane.svg-D8OLs9jz.js → mail-send-email-paper-airplane.svg-BBofxojL.js} +2 -2
  137. package/dist/browser/chunks/{mail-send-envelope.svg-CV33h5Sx.js → mail-send-envelope.svg-DyENgYOI.js} +2 -2
  138. package/dist/browser/chunks/modal-BS4e2gew.js +99 -0
  139. package/dist/browser/chunks/{money-cashier-receipt.svg-CJL8C2gs.js → money-cashier-receipt.svg-dNTr5aio.js} +2 -2
  140. package/dist/browser/chunks/{money-currency-dollar-pay.svg-VdBplCTx.js → money-currency-dollar-pay.svg-1ZESPtFY.js} +2 -2
  141. package/dist/browser/chunks/{money-graph-arrow-increase.svg-DcRov3zk.js → money-graph-arrow-increase.svg-kEZ2u2z2.js} +2 -2
  142. package/dist/browser/chunks/{money-graph-bar-chart-increase.svg-Cc7KxjX-.js → money-graph-bar-chart-increase.svg-B-t2UWB3.js} +2 -2
  143. package/dist/browser/chunks/{nature-ecology-leaf.svg-DR3cTZxt.js → nature-ecology-leaf.svg-DZ2GJV8m.js} +2 -2
  144. package/dist/browser/chunks/{phone-telephone.svg-DyY0gUlk.js → phone-telephone.svg-C12QjpN7.js} +2 -2
  145. package/dist/browser/chunks/{programming-bug.svg-BHLT-Qhp.js → programming-bug.svg-wLTsruN9.js} +2 -2
  146. package/dist/browser/chunks/{programming-cloud.svg-B6YW33ba.js → programming-cloud.svg-3XU6dNUg.js} +2 -2
  147. package/dist/browser/chunks/{programming-computer-database-server.svg-B6o5Sdn-.js → programming-computer-database-server.svg-B1JrHSPd.js} +2 -2
  148. package/dist/browser/chunks/{programming-computer-database.svg-Cl7OVtpJ.js → programming-computer-database.svg-BxHSuFl7.js} +2 -2
  149. package/dist/browser/chunks/{programming-module-four-layout.svg-BQrerL1x.js → programming-module-four-layout.svg-CeV35q45.js} +2 -2
  150. package/dist/browser/chunks/{programming-module-three.svg-B2KTQzBM.js → programming-module-three.svg-YIBpLt45.js} +2 -2
  151. package/dist/browser/chunks/{programming-module.svg-CiID7kPm.js → programming-module.svg-CU_pEibI.js} +2 -2
  152. package/dist/browser/chunks/{programming-script-code.svg-D1M5rtkN.js → programming-script-code.svg-CLzinmHT.js} +2 -2
  153. package/dist/browser/chunks/runtime-core.esm-bundler-CqqEw5ds.js +17 -0
  154. package/dist/browser/chunks/{shopping-cart.svg-BEegiIR9.js → shopping-cart.svg-Brzddu3K.js} +2 -2
  155. package/dist/browser/chunks/{shopping-gift-present.svg-BUHwuLix.js → shopping-gift-present.svg-l2K48g7L.js} +2 -2
  156. package/dist/browser/chunks/{shopping-shipping-box-parcel-package.svg-D6fxWdYx.js → shopping-shipping-box-parcel-package.svg-DesGopPo.js} +2 -2
  157. package/dist/browser/chunks/{tag-new-circle.svg-jsg1bGs0.js → tag-new-circle.svg-DE-VaLZU.js} +2 -2
  158. package/dist/browser/chunks/{travel-map-earth-globe.svg-ClbMiU-f.js → travel-map-earth-globe.svg-DLaOMzx6.js} +2 -2
  159. package/dist/browser/chunks/vendor-DWZAEyBy.js +306 -0
  160. package/dist/browser/standalone.esm.js +8 -6
  161. package/dist/browser/standalone.js +253 -254
  162. package/dist/components/AgentScalar/AgentScalarButton.vue.script.js +1 -1
  163. package/dist/components/AgentScalar/AgentScalarButton.vue.script.js.map +1 -1
  164. package/dist/components/AgentScalar/AgentScalarChatInterface.vue.script.js +1 -1
  165. package/dist/components/AgentScalar/AgentScalarChatInterface.vue.script.js.map +1 -1
  166. package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts.map +1 -1
  167. package/dist/components/AgentScalar/AgentScalarDrawer.vue.js +1 -1
  168. package/dist/components/AgentScalar/AgentScalarDrawer.vue.script.js +1 -1
  169. package/dist/components/AgentScalar/AgentScalarDrawer.vue.script.js.map +1 -1
  170. package/dist/components/AgentScalar/OpenMCPButton.vue.d.ts.map +1 -1
  171. package/dist/components/AgentScalar/OpenMCPButton.vue.js +1 -1
  172. package/dist/components/AgentScalar/OpenMCPButton.vue.js.map +1 -1
  173. package/dist/components/AgentScalar/OpenMCPButton.vue.script.js +47 -32
  174. package/dist/components/AgentScalar/OpenMCPButton.vue.script.js.map +1 -1
  175. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  176. package/dist/components/Anchor/Anchor.vue.script.js +1 -1
  177. package/dist/components/Anchor/Anchor.vue.script.js.map +1 -1
  178. package/dist/components/Anchor/WithBreadcrumb.vue.script.js +2 -2
  179. package/dist/components/Anchor/WithBreadcrumb.vue.script.js.map +1 -1
  180. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  181. package/dist/components/ApiReference.vue.js +1 -1
  182. package/dist/components/ApiReference.vue.js.map +1 -1
  183. package/dist/components/ApiReference.vue.script.js +48 -15
  184. package/dist/components/ApiReference.vue.script.js.map +1 -1
  185. package/dist/components/Badge/Badge.vue.js +1 -1
  186. package/dist/components/Badge/Badge.vue.script.js +1 -1
  187. package/dist/components/Badge/Badge.vue.script.js.map +1 -1
  188. package/dist/components/ClassicHeader.vue.js +1 -1
  189. package/dist/components/ClassicHeader.vue.js.map +1 -1
  190. package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.js +1 -1
  191. package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js +1 -1
  192. package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js.map +1 -1
  193. package/dist/components/Content/AsyncApi/AsyncApiTraversedEntry.vue.script.js +1 -1
  194. package/dist/components/Content/AsyncApi/AsyncApiTraversedEntry.vue.script.js.map +1 -1
  195. package/dist/components/Content/AsyncApi/Channel.vue.d.ts.map +1 -1
  196. package/dist/components/Content/AsyncApi/Channel.vue.js +1 -1
  197. package/dist/components/Content/AsyncApi/Channel.vue.script.js +1 -1
  198. package/dist/components/Content/AsyncApi/Channel.vue.script.js.map +1 -1
  199. package/dist/components/Content/AsyncApi/ChannelsList.vue.js +1 -1
  200. package/dist/components/Content/AsyncApi/ChannelsList.vue.script.js +1 -1
  201. package/dist/components/Content/AsyncApi/ChannelsList.vue.script.js.map +1 -1
  202. package/dist/components/Content/AsyncApi/Message.vue.d.ts.map +1 -1
  203. package/dist/components/Content/AsyncApi/Message.vue.js +1 -1
  204. package/dist/components/Content/AsyncApi/Message.vue.script.js +2 -2
  205. package/dist/components/Content/AsyncApi/Message.vue.script.js.map +1 -1
  206. package/dist/components/Content/AsyncApi/Operation.vue.d.ts.map +1 -1
  207. package/dist/components/Content/AsyncApi/Operation.vue.js +1 -1
  208. package/dist/components/Content/AsyncApi/Operation.vue.script.js +1 -1
  209. package/dist/components/Content/AsyncApi/Operation.vue.script.js.map +1 -1
  210. package/dist/components/Content/AsyncApi/helpers/adapt-async-api-parameters.js.map +1 -1
  211. package/dist/components/Content/AsyncApi/helpers/async-api-render-options.js.map +1 -1
  212. package/dist/components/Content/AsyncApi/helpers/filter-children-by-type.js.map +1 -1
  213. package/dist/components/Content/AsyncApi/helpers/get-async-api-labels.js.map +1 -1
  214. package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.js.map +1 -1
  215. package/dist/components/Content/AsyncApi/helpers/pick-heading.js.map +1 -1
  216. package/dist/components/Content/AsyncApi/helpers/resolve-async-api-nodes.js.map +1 -1
  217. package/dist/components/Content/Auth/Auth.vue.script.js +1 -1
  218. package/dist/components/Content/Auth/Auth.vue.script.js.map +1 -1
  219. package/dist/components/Content/Content.vue.script.js +1 -1
  220. package/dist/components/Content/Content.vue.script.js.map +1 -1
  221. package/dist/components/Content/Models/Model.vue.script.js +1 -1
  222. package/dist/components/Content/Models/Model.vue.script.js.map +1 -1
  223. package/dist/components/Content/Models/ModelTag.vue.d.ts.map +1 -1
  224. package/dist/components/Content/Models/ModelTag.vue.script.js +2 -2
  225. package/dist/components/Content/Models/ModelTag.vue.script.js.map +1 -1
  226. package/dist/components/Content/Models/components/ClassicLayout.vue.d.ts.map +1 -1
  227. package/dist/components/Content/Models/components/ClassicLayout.vue.js +1 -1
  228. package/dist/components/Content/Models/components/ClassicLayout.vue.script.js +1 -1
  229. package/dist/components/Content/Models/components/ClassicLayout.vue.script.js.map +1 -1
  230. package/dist/components/Content/Models/components/ModernLayout.vue.d.ts.map +1 -1
  231. package/dist/components/Content/Models/components/ModernLayout.vue.script.js +1 -1
  232. package/dist/components/Content/Models/components/ModernLayout.vue.script.js.map +1 -1
  233. package/dist/components/Content/Operations/TraversedEntry.vue.script.js +1 -1
  234. package/dist/components/Content/Operations/TraversedEntry.vue.script.js.map +1 -1
  235. package/dist/components/Content/Schema/LinkButton.vue.js +1 -1
  236. package/dist/components/Content/Schema/LinkButton.vue.js.map +1 -1
  237. package/dist/components/Content/Schema/RenderString.vue.script.js +1 -1
  238. package/dist/components/Content/Schema/RenderString.vue.script.js.map +1 -1
  239. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  240. package/dist/components/Content/Schema/Schema.vue.js +1 -1
  241. package/dist/components/Content/Schema/Schema.vue.js.map +1 -1
  242. package/dist/components/Content/Schema/Schema.vue.script.js +5 -13
  243. package/dist/components/Content/Schema/Schema.vue.script.js.map +1 -1
  244. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  245. package/dist/components/Content/Schema/SchemaComposition.vue.script.js +1 -1
  246. package/dist/components/Content/Schema/SchemaComposition.vue.script.js.map +1 -1
  247. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +1 -1
  248. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.script.js +1 -1
  249. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.script.js.map +1 -1
  250. package/dist/components/Content/Schema/SchemaEnums.vue.d.ts.map +1 -1
  251. package/dist/components/Content/Schema/SchemaEnums.vue.js +1 -1
  252. package/dist/components/Content/Schema/SchemaEnums.vue.script.js +1 -1
  253. package/dist/components/Content/Schema/SchemaEnums.vue.script.js.map +1 -1
  254. package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
  255. package/dist/components/Content/Schema/SchemaHeading.vue.script.js +1 -1
  256. package/dist/components/Content/Schema/SchemaHeading.vue.script.js.map +1 -1
  257. package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue.script.js +1 -1
  258. package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue.script.js.map +1 -1
  259. package/dist/components/Content/Schema/SchemaObjectProperties.vue.script.js +1 -1
  260. package/dist/components/Content/Schema/SchemaObjectProperties.vue.script.js.map +1 -1
  261. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  262. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  263. package/dist/components/Content/Schema/SchemaProperty.vue.js.map +1 -1
  264. package/dist/components/Content/Schema/SchemaProperty.vue.script.js +4 -3
  265. package/dist/components/Content/Schema/SchemaProperty.vue.script.js.map +1 -1
  266. package/dist/components/Content/Schema/SchemaPropertyDefault.vue.js +1 -1
  267. package/dist/components/Content/Schema/SchemaPropertyDefault.vue.script.js +1 -1
  268. package/dist/components/Content/Schema/SchemaPropertyDefault.vue.script.js.map +1 -1
  269. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +1 -1
  270. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.script.js +1 -1
  271. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.script.js.map +1 -1
  272. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
  273. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.script.js +1 -1
  274. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.script.js.map +1 -1
  275. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  276. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  277. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.script.js +1 -1
  278. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.script.js.map +1 -1
  279. package/dist/components/Content/Schema/helpers/dynamic-scope.js.map +1 -1
  280. package/dist/components/Content/Schema/helpers/format-example.js.map +1 -1
  281. package/dist/components/Content/Schema/helpers/format-value.js.map +1 -1
  282. package/dist/components/Content/Schema/helpers/get-compositions-to-render.js.map +1 -1
  283. package/dist/components/Content/Schema/helpers/get-enum-values.js.map +1 -1
  284. package/dist/components/Content/Schema/helpers/get-property-description.js.map +1 -1
  285. package/dist/components/Content/Schema/helpers/get-ref-name.js.map +1 -1
  286. package/dist/components/Content/Schema/helpers/get-schema-type.js.map +1 -1
  287. package/dist/components/Content/Schema/helpers/has-complex-array-items.js.map +1 -1
  288. package/dist/components/Content/Schema/helpers/is-empty-schema-object.js.map +1 -1
  289. package/dist/components/Content/Schema/helpers/is-type-object.js.map +1 -1
  290. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +3 -3
  291. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js.map +1 -1
  292. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js.map +1 -1
  293. package/dist/components/Content/Schema/helpers/partition-all-of-compositions.js.map +1 -1
  294. package/dist/components/Content/Schema/helpers/schema-composition.js.map +1 -1
  295. package/dist/components/Content/Schema/helpers/schema-cycle.js.map +1 -1
  296. package/dist/components/Content/Schema/helpers/schema-name.js.map +1 -1
  297. package/dist/components/Content/Schema/helpers/should-display-description.js.map +1 -1
  298. package/dist/components/Content/Schema/helpers/should-display-heading.js.map +1 -1
  299. package/dist/components/Content/Schema/helpers/should-render-array-item-composition.js.map +1 -1
  300. package/dist/components/Content/Schema/helpers/sort-property-names.js.map +1 -1
  301. package/dist/components/Content/Tags/Tag.vue.script.js +1 -1
  302. package/dist/components/Content/Tags/Tag.vue.script.js.map +1 -1
  303. package/dist/components/Content/Tags/components/ClassicLayout.vue.d.ts.map +1 -1
  304. package/dist/components/Content/Tags/components/ClassicLayout.vue.js +1 -1
  305. package/dist/components/Content/Tags/components/ClassicLayout.vue.script.js +1 -1
  306. package/dist/components/Content/Tags/components/ClassicLayout.vue.script.js.map +1 -1
  307. package/dist/components/Content/Tags/components/ModernLayout.vue.d.ts.map +1 -1
  308. package/dist/components/Content/Tags/components/ModernLayout.vue.js +1 -1
  309. package/dist/components/Content/Tags/components/ModernLayout.vue.script.js +1 -1
  310. package/dist/components/Content/Tags/components/ModernLayout.vue.script.js.map +1 -1
  311. package/dist/components/Content/Tags/components/TagSection.vue.d.ts.map +1 -1
  312. package/dist/components/Content/Tags/components/TagSection.vue.script.js +1 -1
  313. package/dist/components/Content/Tags/components/TagSection.vue.script.js.map +1 -1
  314. package/dist/components/GettingStarted.vue.d.ts.map +1 -1
  315. package/dist/components/GettingStarted.vue.js +1 -1
  316. package/dist/components/GettingStarted.vue.js.map +1 -1
  317. package/dist/components/GettingStarted.vue.script.js +4 -3
  318. package/dist/components/GettingStarted.vue.script.js.map +1 -1
  319. package/dist/components/HttpMethod/HttpMethod.vue.script.js +1 -1
  320. package/dist/components/HttpMethod/HttpMethod.vue.script.js.map +1 -1
  321. package/dist/components/IntersectionObserver.vue.script.js +10 -7
  322. package/dist/components/IntersectionObserver.vue.script.js.map +1 -1
  323. package/dist/components/Lazy/Lazy.vue.script.js +2 -2
  324. package/dist/components/Lazy/Lazy.vue.script.js.map +1 -1
  325. package/dist/components/LinkList/LinkList.vue.js +1 -1
  326. package/dist/components/LinkList/LinkList.vue.script.js +1 -1
  327. package/dist/components/LinkList/LinkList.vue.script.js.map +1 -1
  328. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  329. package/dist/components/MobileHeader.vue.script.js +4 -4
  330. package/dist/components/MobileHeader.vue.script.js.map +1 -1
  331. package/dist/components/OperationPath.vue.d.ts.map +1 -1
  332. package/dist/components/OperationPath.vue.js +1 -1
  333. package/dist/components/OperationPath.vue.script.js +1 -1
  334. package/dist/components/OperationPath.vue.script.js.map +1 -1
  335. package/dist/components/OperationsList/OperationsList.vue.js +1 -1
  336. package/dist/components/OperationsList/OperationsList.vue.script.js +1 -1
  337. package/dist/components/OperationsList/OperationsList.vue.script.js.map +1 -1
  338. package/dist/components/OperationsList/OperationsListItem.vue.js +1 -1
  339. package/dist/components/OperationsList/OperationsListItem.vue.script.js +1 -1
  340. package/dist/components/OperationsList/OperationsListItem.vue.script.js.map +1 -1
  341. package/dist/components/RenderPlugins/RenderPluginView.vue.script.js +1 -1
  342. package/dist/components/RenderPlugins/RenderPluginView.vue.script.js.map +1 -1
  343. package/dist/components/RenderPlugins/RenderPlugins.vue.script.js +1 -1
  344. package/dist/components/RenderPlugins/RenderPlugins.vue.script.js.map +1 -1
  345. package/dist/components/ScreenReader.vue.js +1 -1
  346. package/dist/components/ScreenReader.vue.script.js +2 -2
  347. package/dist/components/ScreenReader.vue.script.js.map +1 -1
  348. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  349. package/dist/components/Section/CompactSection.vue.js +1 -1
  350. package/dist/components/Section/CompactSection.vue.script.js +1 -1
  351. package/dist/components/Section/CompactSection.vue.script.js.map +1 -1
  352. package/dist/components/Section/Section.vue.js +1 -1
  353. package/dist/components/Section/Section.vue.script.js +1 -1
  354. package/dist/components/Section/Section.vue.script.js.map +1 -1
  355. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  356. package/dist/components/Section/SectionAccordion.vue.js +1 -1
  357. package/dist/components/Section/SectionAccordion.vue.script.js +1 -1
  358. package/dist/components/Section/SectionAccordion.vue.script.js.map +1 -1
  359. package/dist/components/Section/SectionColumn.vue.js +1 -1
  360. package/dist/components/Section/SectionColumn.vue.js.map +1 -1
  361. package/dist/components/Section/SectionColumns.vue.js +1 -1
  362. package/dist/components/Section/SectionColumns.vue.js.map +1 -1
  363. package/dist/components/Section/SectionContainer.vue.js +1 -1
  364. package/dist/components/Section/SectionContainer.vue.script.js +2 -2
  365. package/dist/components/Section/SectionContainer.vue.script.js.map +1 -1
  366. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  367. package/dist/components/Section/SectionContainerAccordion.vue.js +1 -1
  368. package/dist/components/Section/SectionContainerAccordion.vue.script.js +1 -1
  369. package/dist/components/Section/SectionContainerAccordion.vue.script.js.map +1 -1
  370. package/dist/components/Section/SectionContent.vue.js +1 -1
  371. package/dist/components/Section/SectionContent.vue.js.map +1 -1
  372. package/dist/components/Section/SectionHeader.vue.js +1 -1
  373. package/dist/components/Section/SectionHeader.vue.script.js +2 -2
  374. package/dist/components/Section/SectionHeader.vue.script.js.map +1 -1
  375. package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
  376. package/dist/components/Section/SectionHeaderTag.vue.script.js +1 -1
  377. package/dist/components/Section/SectionHeaderTag.vue.script.js.map +1 -1
  378. package/dist/components/SectionFlare/SectionFlare.vue.js +1 -1
  379. package/dist/components/SectionFlare/SectionFlare.vue.js.map +1 -1
  380. package/dist/components/ShowMoreButton.vue.js +1 -1
  381. package/dist/components/ShowMoreButton.vue.script.js +1 -1
  382. package/dist/components/ShowMoreButton.vue.script.js.map +1 -1
  383. package/dist/features/Operation/Operation.vue.script.js +1 -1
  384. package/dist/features/Operation/Operation.vue.script.js.map +1 -1
  385. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
  386. package/dist/features/Operation/components/ContentTypeSelect.vue.script.js +2 -2
  387. package/dist/features/Operation/components/ContentTypeSelect.vue.script.js.map +1 -1
  388. package/dist/features/Operation/components/Header.vue.script.js +1 -1
  389. package/dist/features/Operation/components/Header.vue.script.js.map +1 -1
  390. package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
  391. package/dist/features/Operation/components/Headers.vue.js +1 -1
  392. package/dist/features/Operation/components/Headers.vue.script.js +1 -1
  393. package/dist/features/Operation/components/Headers.vue.script.js.map +1 -1
  394. package/dist/features/Operation/components/OperationParameters.vue.script.js +2 -2
  395. package/dist/features/Operation/components/OperationParameters.vue.script.js.map +1 -1
  396. package/dist/features/Operation/components/OperationResponses.vue.script.js +1 -1
  397. package/dist/features/Operation/components/OperationResponses.vue.script.js.map +1 -1
  398. package/dist/features/Operation/components/OperationScopes.vue.script.js +1 -1
  399. package/dist/features/Operation/components/OperationScopes.vue.script.js.map +1 -1
  400. package/dist/features/Operation/components/ParameterList.vue.script.js +1 -1
  401. package/dist/features/Operation/components/ParameterList.vue.script.js.map +1 -1
  402. package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
  403. package/dist/features/Operation/components/ParameterListItem.vue.script.js +1 -1
  404. package/dist/features/Operation/components/ParameterListItem.vue.script.js.map +1 -1
  405. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  406. package/dist/features/Operation/components/RequestBody.vue.js +1 -1
  407. package/dist/features/Operation/components/RequestBody.vue.script.js +2 -2
  408. package/dist/features/Operation/components/RequestBody.vue.script.js.map +1 -1
  409. package/dist/features/Operation/components/SecurityRequirementBadge.vue.script.js +1 -1
  410. package/dist/features/Operation/components/SecurityRequirementBadge.vue.script.js.map +1 -1
  411. package/dist/features/Operation/components/SecurityRequirementBadgeScheme.vue.script.js +1 -1
  412. package/dist/features/Operation/components/SecurityRequirementBadgeScheme.vue.script.js.map +1 -1
  413. package/dist/features/Operation/components/callbacks/Callback.vue.js +1 -1
  414. package/dist/features/Operation/components/callbacks/Callback.vue.script.js +1 -1
  415. package/dist/features/Operation/components/callbacks/Callback.vue.script.js.map +1 -1
  416. package/dist/features/Operation/components/callbacks/Callbacks.vue.script.js +1 -1
  417. package/dist/features/Operation/components/callbacks/Callbacks.vue.script.js.map +1 -1
  418. package/dist/features/Operation/components/helpers/get-parameter-examples.js.map +1 -1
  419. package/dist/features/Operation/helpers/filter-selected-security.js.map +1 -1
  420. package/dist/features/Operation/helpers/flatten-deep-object-query-parameter.js.map +1 -1
  421. package/dist/features/Operation/helpers/get-required-security.js.map +1 -1
  422. package/dist/features/Operation/helpers/operation-stability.js.map +1 -1
  423. package/dist/features/Operation/helpers/should-ignore-entity.js.map +1 -1
  424. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  425. package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
  426. package/dist/features/Operation/layouts/ClassicLayout.vue.script.js +1 -1
  427. package/dist/features/Operation/layouts/ClassicLayout.vue.script.js.map +1 -1
  428. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  429. package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
  430. package/dist/features/Operation/layouts/ModernLayout.vue.script.js +1 -1
  431. package/dist/features/Operation/layouts/ModernLayout.vue.script.js.map +1 -1
  432. package/dist/features/Operation/request-body-composition-index.js.map +1 -1
  433. package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -1
  434. package/dist/features/Search/components/SearchButton.vue.script.js +1 -1
  435. package/dist/features/Search/components/SearchButton.vue.script.js.map +1 -1
  436. package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -1
  437. package/dist/features/Search/components/SearchModal.vue.js +1 -1
  438. package/dist/features/Search/components/SearchModal.vue.script.js +1 -1
  439. package/dist/features/Search/components/SearchModal.vue.script.js.map +1 -1
  440. package/dist/features/Search/components/SearchResult.vue.d.ts.map +1 -1
  441. package/dist/features/Search/components/SearchResult.vue.script.js +1 -1
  442. package/dist/features/Search/components/SearchResult.vue.script.js.map +1 -1
  443. package/dist/features/Search/helpers/create-fuse-instance.js.map +1 -1
  444. package/dist/features/Search/helpers/create-search-index.js.map +1 -1
  445. package/dist/features/Search/hooks/useSearchIndex.js.map +1 -1
  446. package/dist/features/ask-agent-button/AskAgentButton.vue.js +1 -1
  447. package/dist/features/ask-agent-button/AskAgentButton.vue.script.js +1 -1
  448. package/dist/features/ask-agent-button/AskAgentButton.vue.script.js.map +1 -1
  449. package/dist/features/developer-tools/DeveloperTools.vue.script.js +2 -2
  450. package/dist/features/developer-tools/DeveloperTools.vue.script.js.map +1 -1
  451. package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.js +1 -1
  452. package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.js.map +1 -1
  453. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.script.js +1 -1
  454. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.script.js.map +1 -1
  455. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -1
  456. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.js.map +1 -1
  457. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.script.js +3 -3
  458. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.script.js.map +1 -1
  459. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.script.js +1 -1
  460. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.script.js.map +1 -1
  461. package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.script.js +1 -1
  462. package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.script.js.map +1 -1
  463. package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -1
  464. package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.script.js +4 -3
  465. package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.script.js.map +1 -1
  466. package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -1
  467. package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.js.map +1 -1
  468. package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.script.js +2 -1
  469. package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.script.js.map +1 -1
  470. package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -1
  471. package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.script.js +4 -3
  472. package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.script.js.map +1 -1
  473. package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.d.ts.map +1 -1
  474. package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.script.js +1 -1
  475. package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.script.js.map +1 -1
  476. package/dist/features/developer-tools/components/DeployApiReference.vue.script.js +1 -1
  477. package/dist/features/developer-tools/components/DeployApiReference.vue.script.js.map +1 -1
  478. package/dist/features/developer-tools/components/ModifyConfiguration.vue.script.js +2 -2
  479. package/dist/features/developer-tools/components/ModifyConfiguration.vue.script.js.map +1 -1
  480. package/dist/features/developer-tools/components/ShareApiReference.vue.script.js +1 -1
  481. package/dist/features/developer-tools/components/ShareApiReference.vue.script.js.map +1 -1
  482. package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
  483. package/dist/features/example-responses/ExampleResponse.vue.script.js +1 -1
  484. package/dist/features/example-responses/ExampleResponse.vue.script.js.map +1 -1
  485. package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
  486. package/dist/features/example-responses/ExampleResponseTab.vue.script.js +1 -1
  487. package/dist/features/example-responses/ExampleResponseTab.vue.script.js.map +1 -1
  488. package/dist/features/example-responses/ExampleResponseTabList.vue.d.ts.map +1 -1
  489. package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
  490. package/dist/features/example-responses/ExampleResponseTabList.vue.script.js +1 -1
  491. package/dist/features/example-responses/ExampleResponseTabList.vue.script.js.map +1 -1
  492. package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
  493. package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
  494. package/dist/features/example-responses/ExampleResponses.vue.script.js +1 -1
  495. package/dist/features/example-responses/ExampleResponses.vue.script.js.map +1 -1
  496. package/dist/features/example-responses/ExampleSchema.vue.script.js +1 -1
  497. package/dist/features/example-responses/ExampleSchema.vue.script.js.map +1 -1
  498. package/dist/features/example-responses/helpers/has-response-content.js.map +1 -1
  499. package/dist/features/example-responses/helpers/normalize-mime-type-object.js.map +1 -1
  500. package/dist/features/example-responses/helpers/normalize-mime-type.js.map +1 -1
  501. package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -1
  502. package/dist/features/external-docs/ExternalDocs.vue.js.map +1 -1
  503. package/dist/features/external-docs/ExternalDocs.vue.script.js +25 -13
  504. package/dist/features/external-docs/ExternalDocs.vue.script.js.map +1 -1
  505. package/dist/features/info-object/Contact.vue.d.ts.map +1 -1
  506. package/dist/features/info-object/Contact.vue.js.map +1 -1
  507. package/dist/features/info-object/Contact.vue.script.js +10 -4
  508. package/dist/features/info-object/Contact.vue.script.js.map +1 -1
  509. package/dist/features/info-object/InfoLink.vue.d.ts.map +1 -1
  510. package/dist/features/info-object/InfoLink.vue.js.map +1 -1
  511. package/dist/features/info-object/InfoLink.vue.script.js +17 -5
  512. package/dist/features/info-object/InfoLink.vue.script.js.map +1 -1
  513. package/dist/features/info-object/License.vue.d.ts.map +1 -1
  514. package/dist/features/info-object/License.vue.js.map +1 -1
  515. package/dist/features/info-object/License.vue.script.js +11 -5
  516. package/dist/features/info-object/License.vue.script.js.map +1 -1
  517. package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -1
  518. package/dist/features/info-object/TermsOfService.vue.js.map +1 -1
  519. package/dist/features/info-object/TermsOfService.vue.script.js +10 -4
  520. package/dist/features/info-object/TermsOfService.vue.script.js.map +1 -1
  521. package/dist/features/localization/locales/ar.js.map +1 -1
  522. package/dist/features/localization/locales/de.js.map +1 -1
  523. package/dist/features/localization/locales/en.js.map +1 -1
  524. package/dist/features/localization/locales/es.js.map +1 -1
  525. package/dist/features/localization/locales/fr.js.map +1 -1
  526. package/dist/features/localization/locales/pt.d.ts +229 -0
  527. package/dist/features/localization/locales/pt.d.ts.map +1 -0
  528. package/dist/features/localization/locales/pt.js +227 -0
  529. package/dist/features/localization/locales/pt.js.map +1 -0
  530. package/dist/features/localization/locales/ru.js.map +1 -1
  531. package/dist/features/localization/locales/zh-cn.js.map +1 -1
  532. package/dist/features/localization/translations.d.ts +228 -0
  533. package/dist/features/localization/translations.d.ts.map +1 -1
  534. package/dist/features/localization/translations.js +4 -2
  535. package/dist/features/localization/translations.js.map +1 -1
  536. package/dist/features/localization/use-localization.js.map +1 -1
  537. package/dist/features/multiple-documents/DocumentSelector.vue.d.ts.map +1 -1
  538. package/dist/features/multiple-documents/DocumentSelector.vue.script.js +1 -1
  539. package/dist/features/multiple-documents/DocumentSelector.vue.script.js.map +1 -1
  540. package/dist/features/specification-extension/SpecificationExtension.vue.script.js +1 -1
  541. package/dist/features/specification-extension/SpecificationExtension.vue.script.js.map +1 -1
  542. package/dist/features/specification-extension/helpers.js.map +1 -1
  543. package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
  544. package/dist/features/test-request-button/TestRequestButton.vue.script.js +1 -1
  545. package/dist/features/test-request-button/TestRequestButton.vue.script.js.map +1 -1
  546. package/dist/features/x-badges/XBadges.vue.d.ts.map +1 -1
  547. package/dist/features/x-badges/XBadges.vue.script.js +1 -1
  548. package/dist/features/x-badges/XBadges.vue.script.js.map +1 -1
  549. package/dist/helpers/color-mode.js.map +1 -1
  550. package/dist/helpers/download.js.map +1 -1
  551. package/dist/helpers/get-async-api-message-payload-schema.js.map +1 -1
  552. package/dist/helpers/get-async-api-model-schema.js.map +1 -1
  553. package/dist/helpers/id-routing.d.ts +18 -4
  554. package/dist/helpers/id-routing.d.ts.map +1 -1
  555. package/dist/helpers/id-routing.js +67 -20
  556. package/dist/helpers/id-routing.js.map +1 -1
  557. package/dist/helpers/is-introduction-entry.js.map +1 -1
  558. package/dist/helpers/lazy-bus.js.map +1 -1
  559. package/dist/helpers/load-from-perssistance.js.map +1 -1
  560. package/dist/helpers/map-config-plugins.js.map +1 -1
  561. package/dist/helpers/map-config-to-workspace-store.js.map +1 -1
  562. package/dist/helpers/normalize-configurations.js +1 -1
  563. package/dist/helpers/normalize-configurations.js.map +1 -1
  564. package/dist/helpers/openapi.d.ts +6 -1
  565. package/dist/helpers/openapi.d.ts.map +1 -1
  566. package/dist/helpers/openapi.js +37 -6
  567. package/dist/helpers/openapi.js.map +1 -1
  568. package/dist/helpers/safe-deep-clone.js.map +1 -1
  569. package/dist/helpers/storage.js +14 -0
  570. package/dist/helpers/storage.js.map +1 -1
  571. package/dist/helpers/upload-temp-document.js.map +1 -1
  572. package/dist/hooks/use-agent.js.map +1 -1
  573. package/dist/hooks/use-intersection.js.map +1 -1
  574. package/dist/plugins/hooks/usePluginManager.js.map +1 -1
  575. package/dist/plugins/persistence-plugin.js +6 -1
  576. package/dist/plugins/persistence-plugin.js.map +1 -1
  577. package/dist/plugins/plugin-manager.js +35 -0
  578. package/dist/plugins/plugin-manager.js.map +1 -1
  579. package/dist/plugins/posthog/index.js.map +1 -1
  580. package/dist/standalone/lib/html-api.js.map +1 -1
  581. package/dist/standalone/lib/load-plugins-from-urls.js.map +1 -1
  582. package/dist/style.css +1441 -1347
  583. package/dist/vue-styles.css +989 -911
  584. package/package.json +27 -27
  585. package/dist/browser/chunks/AgentScalarChatInterface-C8lX3RCo.js +0 -27
  586. package/dist/browser/chunks/ScalarTextInput.vue-Xf60Nwf-.js +0 -27
  587. package/dist/browser/chunks/browser-67K6wmG9.js +0 -129
  588. package/dist/browser/chunks/modal-B8Opb61-.js +0 -15
  589. package/dist/browser/chunks/modal-Dcl-Y2Zk.js +0 -99
  590. package/dist/browser/chunks/runtime-core.esm-bundler-Byrbbu5Q.js +0 -17
  591. package/dist/browser/chunks/vendor-CBP43oHJ.js +0 -306
@@ -22,7 +22,7 @@ var _hoisted_16 = { class: "start-h3" };
22
22
  var _hoisted_17 = { class: "start-h3" };
23
23
  var _hoisted_18 = { class: "start-h3" };
24
24
  var _hoisted_19 = { class: "start-h3" };
25
- var GettingStarted_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
25
+ var GettingStarted_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
26
26
  __name: "GettingStarted",
27
27
  props: { theme: {} },
28
28
  emits: [
@@ -47,7 +47,8 @@ var GettingStarted_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
47
47
  "deepSpace"
48
48
  ];
49
49
  async function fetchExampleSpecification() {
50
- emits("updateContent", await (await fetch("https://registry.scalar.com/@scalar/apis/galaxy?format=yaml")).text());
50
+ const response = await fetch("https://registry.scalar.com/@scalar/apis/galaxy?format=yaml");
51
+ emits("updateContent", await response.text());
51
52
  }
52
53
  return (_ctx, _cache) => {
53
54
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -79,7 +80,7 @@ var GettingStarted_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
79
80
  _: 1
80
81
  })])
81
82
  ]),
82
- createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, [createElementVNode("div", _hoisted_8, toDisplayString(unref(translate)("gettingStarted.integrations")), 1), _cache[2] || (_cache[2] = createStaticVNode("<a class=\"start-item\" href=\"https://github.com/scalar/scalar/tree/main/integrations/fastify#readme\" target=\"_blank\" data-v-0c3f9b07><svg fill=\"currentColor\" height=\"16\" viewBox=\"0 0 19 16\" width=\"19\" xmlns=\"http://www.w3.org/2000/svg\" data-v-0c3f9b07><path d=\"m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z\" fill=\"currentColor\" fill-rule=\"nonzero\" data-v-0c3f9b07></path></svg><span data-v-0c3f9b07>Fastify</span></a><a class=\"start-item\" href=\"https://github.com/scalar/scalar/blob/main/documentation/integrations/html-js.md#html\" target=\"_blank\" data-v-0c3f9b07><svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" data-v-0c3f9b07><g data-v-0c3f9b07><path d=\"M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z\" fill=\"currentColor\" data-v-0c3f9b07></path><path d=\"M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z\" fill=\"currentColor\" data-v-0c3f9b07></path><path d=\"M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z\" fill=\"currentColor\" data-v-0c3f9b07></path></g></svg><span data-v-0c3f9b07>CDN</span></a><a class=\"start-item\" href=\"https://github.com/scalar/scalar/blob/main/packages/api-reference/README.md#vuejs\" target=\"_blank\" data-v-0c3f9b07><svg height=\"170\" viewBox=\"0 0 196.3 170\" width=\"196.3\" xmlns=\"http://www.w3.org/2000/svg\" data-v-0c3f9b07><g fill=\"currentColor\" fill-rule=\"nonzero\" data-v-0c3f9b07><polygon points=\"39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171\" data-v-0c3f9b07></polygon><polygon points=\"75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14\" data-v-0c3f9b07></polygon></g></svg><span data-v-0c3f9b07>Vue</span></a><a class=\"start-item\" href=\"https://github.com/scalar/scalar/blob/main/packages/api-reference-react/README.md#usage\" target=\"_blank\" data-v-0c3f9b07><svg height=\"23.3\" viewBox=\"0 0 22 23.3\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\" data-v-0c3f9b07><g fill=\"none\" fill-rule=\"evenodd\" data-v-0c3f9b07><circle cx=\"11\" cy=\"11.6\" fill=\"currentColor\" fill-rule=\"nonzero\" r=\"2\" data-v-0c3f9b07></circle><g stroke=\"currentColor\" data-v-0c3f9b07><ellipse cx=\"11\" cy=\"11.6\" rx=\"11\" ry=\"4.2\" data-v-0c3f9b07></ellipse><ellipse cx=\"11\" cy=\"11.6\" rx=\"11\" ry=\"4.2\" transform=\"rotate(60 11 11.6)\" data-v-0c3f9b07></ellipse><ellipse cx=\"11\" cy=\"11.6\" rx=\"11\" ry=\"4.2\" transform=\"rotate(120 11 11.6)\" data-v-0c3f9b07></ellipse></g></g></svg><span data-v-0c3f9b07>React</span></a>", 4))]), createElementVNode("div", _hoisted_9, [createElementVNode("p", _hoisted_10, toDisplayString(unref(translate)("gettingStarted.theming")), 1), (openBlock(), createElementBlock(Fragment, null, renderList(themeIds, (themeId) => {
83
+ createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, [createElementVNode("div", _hoisted_8, toDisplayString(unref(translate)("gettingStarted.integrations")), 1), _cache[2] || (_cache[2] = createStaticVNode("<a class=\"start-item\" href=\"https://github.com/scalar/scalar/tree/main/integrations/fastify#readme\" rel=\"noopener noreferrer\" target=\"_blank\" data-v-c492e215><svg fill=\"currentColor\" height=\"16\" viewBox=\"0 0 19 16\" width=\"19\" xmlns=\"http://www.w3.org/2000/svg\" data-v-c492e215><path d=\"m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z\" fill=\"currentColor\" fill-rule=\"nonzero\" data-v-c492e215></path></svg><span data-v-c492e215>Fastify</span></a><a class=\"start-item\" href=\"https://github.com/scalar/scalar/blob/main/documentation/integrations/html-js.md#html\" rel=\"noopener noreferrer\" target=\"_blank\" data-v-c492e215><svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" data-v-c492e215><g data-v-c492e215><path d=\"M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z\" fill=\"currentColor\" data-v-c492e215></path><path d=\"M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z\" fill=\"currentColor\" data-v-c492e215></path><path d=\"M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z\" fill=\"currentColor\" data-v-c492e215></path></g></svg><span data-v-c492e215>CDN</span></a><a class=\"start-item\" href=\"https://github.com/scalar/scalar/blob/main/packages/api-reference/README.md#vuejs\" rel=\"noopener noreferrer\" target=\"_blank\" data-v-c492e215><svg height=\"170\" viewBox=\"0 0 196.3 170\" width=\"196.3\" xmlns=\"http://www.w3.org/2000/svg\" data-v-c492e215><g fill=\"currentColor\" fill-rule=\"nonzero\" data-v-c492e215><polygon points=\"39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171\" data-v-c492e215></polygon><polygon points=\"75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14\" data-v-c492e215></polygon></g></svg><span data-v-c492e215>Vue</span></a><a class=\"start-item\" href=\"https://github.com/scalar/scalar/blob/main/packages/api-reference-react/README.md#usage\" rel=\"noopener noreferrer\" target=\"_blank\" data-v-c492e215><svg height=\"23.3\" viewBox=\"0 0 22 23.3\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\" data-v-c492e215><g fill=\"none\" fill-rule=\"evenodd\" data-v-c492e215><circle cx=\"11\" cy=\"11.6\" fill=\"currentColor\" fill-rule=\"nonzero\" r=\"2\" data-v-c492e215></circle><g stroke=\"currentColor\" data-v-c492e215><ellipse cx=\"11\" cy=\"11.6\" rx=\"11\" ry=\"4.2\" data-v-c492e215></ellipse><ellipse cx=\"11\" cy=\"11.6\" rx=\"11\" ry=\"4.2\" transform=\"rotate(60 11 11.6)\" data-v-c492e215></ellipse><ellipse cx=\"11\" cy=\"11.6\" rx=\"11\" ry=\"4.2\" transform=\"rotate(120 11 11.6)\" data-v-c492e215></ellipse></g></g></svg><span data-v-c492e215>React</span></a>", 4))]), createElementVNode("div", _hoisted_9, [createElementVNode("p", _hoisted_10, toDisplayString(unref(translate)("gettingStarted.theming")), 1), (openBlock(), createElementBlock(Fragment, null, renderList(themeIds, (themeId) => {
83
84
  return createElementVNode("div", {
84
85
  key: themeId,
85
86
  class: normalizeClass(["start-item", { "start-item-active": themeId === __props.theme }]),
@@ -1 +1 @@
1
- {"version":3,"file":"GettingStarted.vue.script.js","names":["$emit"],"sources":["../../src/components/GettingStarted.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarButton } from '@scalar/components/button'\nimport { themeLabels, type ThemeId } from '@scalar/themes'\n\nimport { useLocalization } from '@/features/localization'\n\ndefineProps<{\n theme: ThemeId\n}>()\nconst emits = defineEmits<{\n (e: 'changeTheme', { id, label }: { id: ThemeId; label: string }): void\n (e: 'loadSwaggerFile'): void\n (e: 'linkSwaggerFile'): void\n (e: 'updateContent', value: string): void\n}>()\n\nconst { translate } = useLocalization()\n\nconst themeIds: ThemeId[] = [\n 'default',\n 'alternate',\n 'moon',\n 'purple',\n 'solarized',\n 'bluePlanet',\n 'saturn',\n 'kepler',\n 'mars',\n 'deepSpace',\n]\n\nasync function fetchExampleSpecification() {\n const response = await fetch(\n 'https://registry.scalar.com/@scalar/apis/galaxy?format=yaml',\n )\n\n emits('updateContent', await response.text())\n}\n</script>\n<template>\n <div class=\"custom-scroll start\">\n <div class=\"start-copy\">\n <div class=\"start-logo\">\n <svg\n height=\"36\"\n viewBox=\"0 0 36 36\"\n width=\"36\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z\"\n fill=\"currentColor\"\n fill-rule=\"evenodd\" />\n </svg>\n </div>\n <h1 class=\"start-h1\">\n {{ translate('gettingStarted.swaggerEditor') }}\n </h1>\n <p class=\"start-p\">\n {{ translate('gettingStarted.description') }}\n </p>\n <div class=\"start-cta\">\n <ScalarButton\n class=\"w-full\"\n @click=\"fetchExampleSpecification\">\n {{ translate('gettingStarted.showExample') }}\n </ScalarButton>\n <ScalarButton\n class=\"w-full\"\n variant=\"outlined\"\n @click=\"$emit('loadSwaggerFile')\">\n {{ translate('gettingStarted.uploadFile') }}\n </ScalarButton>\n </div>\n </div>\n <div class=\"start-row\">\n <div class=\"start-section start-section-integrations\">\n <div class=\"start-h2\">\n {{ translate('gettingStarted.integrations') }}\n </div>\n <a\n class=\"start-item\"\n href=\"https://github.com/scalar/scalar/tree/main/integrations/fastify#readme\"\n target=\"_blank\">\n <svg\n fill=\"currentColor\"\n height=\"16\"\n viewBox=\"0 0 19 16\"\n width=\"19\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z\"\n fill=\"currentColor\"\n fill-rule=\"nonzero\" />\n </svg>\n <span>Fastify</span>\n </a>\n <a\n class=\"start-item\"\n href=\"https://github.com/scalar/scalar/blob/main/documentation/integrations/html-js.md#html\"\n target=\"_blank\">\n <svg\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <g>\n <path\n d=\"M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z\"\n fill=\"currentColor\" />\n <path\n d=\"M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z\"\n fill=\"currentColor\" />\n <path\n d=\"M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z\"\n fill=\"currentColor\" />\n </g>\n </svg>\n <span>CDN</span>\n </a>\n <a\n class=\"start-item\"\n href=\"https://github.com/scalar/scalar/blob/main/packages/api-reference/README.md#vuejs\"\n target=\"_blank\">\n <svg\n height=\"170\"\n viewBox=\"0 0 196.3 170\"\n width=\"196.3\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <g\n fill=\"currentColor\"\n fill-rule=\"nonzero\">\n <polygon\n points=\"39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171\" />\n <polygon\n points=\"75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14\" />\n </g>\n </svg>\n <span>Vue</span>\n </a>\n <a\n class=\"start-item\"\n href=\"https://github.com/scalar/scalar/blob/main/packages/api-reference-react/README.md#usage\"\n target=\"_blank\">\n <svg\n height=\"23.3\"\n viewBox=\"0 0 22 23.3\"\n width=\"22\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <g\n fill=\"none\"\n fill-rule=\"evenodd\">\n <circle\n cx=\"11\"\n cy=\"11.6\"\n fill=\"currentColor\"\n fill-rule=\"nonzero\"\n r=\"2\" />\n <g stroke=\"currentColor\">\n <ellipse\n cx=\"11\"\n cy=\"11.6\"\n rx=\"11\"\n ry=\"4.2\" />\n <ellipse\n cx=\"11\"\n cy=\"11.6\"\n rx=\"11\"\n ry=\"4.2\"\n transform=\"rotate(60 11 11.6)\" />\n <ellipse\n cx=\"11\"\n cy=\"11.6\"\n rx=\"11\"\n ry=\"4.2\"\n transform=\"rotate(120 11 11.6)\" />\n </g>\n </g>\n </svg>\n <span>React</span>\n </a>\n </div>\n <div class=\"start-section start-section-colors\">\n <p class=\"start-h2\">\n {{ translate('gettingStarted.theming') }}\n </p>\n <div\n v-for=\"themeId in themeIds\"\n :key=\"themeId\"\n class=\"start-item\"\n :class=\"{ 'start-item-active': themeId === theme }\"\n @click=\"\n $emit('changeTheme', { id: themeId, label: themeLabels[themeId] })\n \">\n {{ themeLabels[themeId] }}\n </div>\n </div>\n </div>\n <p class=\"start-h1\">{{ translate('gettingStarted.features') }}</p>\n <ul class=\"start-ul\">\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.customize') }}</p>\n {{ translate('gettingStarted.customizeDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.testing') }}</p>\n {{ translate('gettingStarted.testingDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.search') }}</p>\n {{ translate('gettingStarted.searchDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.hosting') }}</p>\n {{ translate('gettingStarted.hostingDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">\n {{ translate('gettingStarted.openApiSwagger') }}\n </p>\n {{ translate('gettingStarted.openApiSwaggerDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.codeSamples') }}</p>\n {{ translate('gettingStarted.codeSamplesDescription') }}\n </li>\n </ul>\n </div>\n</template>\n<style scoped>\n.start {\n padding: 24px;\n display: flex;\n flex-flow: wrap;\n justify-content: space-between;\n position: relative;\n z-index: 0;\n}\n.swagger-editor .start {\n padding-top: 24px;\n}\n.start-h1 {\n font-size: var(--scalar-heading-2);\n margin-top: 0;\n line-height: 1.45;\n margin-bottom: 0;\n font-weight: var(--scalar-bold);\n color: var(--scalar-color-1);\n width: 100%;\n position: relative;\n}\n.start-h3 {\n font-size: var(--scalar-paragraph);\n margin-top: 0;\n margin-bottom: 6px;\n display: block;\n line-height: 1.45;\n font-weight: var(--scalar-bold);\n color: var(--scalar-color-1);\n width: 100%;\n}\n.start-h1:not(:first-of-type) {\n margin-top: 24px;\n}\n.start-p {\n font-size: var(--scalar-paragraph);\n color: var(--scalar-color-2);\n line-height: 1.5;\n width: 100%;\n margin-top: 12px;\n}\n.start-ul {\n margin-top: 12px;\n font-size: var(--scalar-paragraph);\n line-height: 1.5;\n padding-left: 0;\n list-style: initial;\n display: flex;\n flex-flow: wrap;\n gap: 24px;\n}\n.start-ul li {\n margin: 0;\n padding: 0;\n list-style: none;\n width: calc(50% - 24px);\n color: var(--scalar-color-2);\n}\n.start-ul li:first-of-type {\n margin-top: 0;\n}\n.start-section {\n width: 100%;\n margin-bottom: 12px;\n display: flex;\n flex-flow: wrap;\n}\n.start-section:last-of-type {\n margin-bottom: 48px;\n}\n.start-h2 {\n background: var(--scalar-background-2);\n border-top-left-radius: var(--scalar-radius-lg);\n border-top-right-radius: var(--scalar-radius-lg);\n border: 1px solid var(--scalar-border-color);\n color: var(--scalar-color-3);\n font-size: var(--scalar-mini);\n font-weight: var(--scalar-semibold);\n padding: 9px;\n width: 100%;\n}\n.start-item {\n align-items: center;\n background: var(--scalar-background-2);\n border-right: 1px solid var(--scalar-border-color);\n border-bottom: 1px solid var(--scalar-border-color);\n color: var(--scalar-color-1);\n cursor: pointer;\n display: flex;\n flex: 1;\n font-size: var(--scalar-mini);\n font-weight: var(--scalar-semibold);\n padding: 9px;\n text-transform: capitalize;\n user-select: none;\n}\n.start-section-integrations .start-item:first-of-type {\n border-bottom-left-radius: var(--scalar-radius-lg);\n border-left: 1px solid var(--scalar-border-color);\n}\n.start-section-integrations .start-item:last-of-type {\n border-bottom-right-radius: var(--scalar-radius-lg);\n}\n.start-section-colors .start-item {\n min-width: 33.33%;\n}\n.start-section-colors .start-item:nth-child(3n + 2) {\n border-left: 1px solid var(--scalar-border-color);\n}\n.start-section-colors .start-item:last-of-type,\n.start-section-colors .start-item-active:last-of-type::before {\n border-radius: 0 0 var(--scalar-radius-lg) var(--scalar-radius-lg);\n}\n.start-item:empty {\n pointer-events: none;\n}\n.start-item svg {\n width: 14px;\n height: 14px;\n margin-right: 6px;\n}\n.start-item:hover {\n background: var(--scalar-background-3);\n}\n.start-item-active {\n z-index: 10;\n position: relative;\n color: var(--scalar-color-1);\n}\n.start-item-active::before {\n border: 1px solid var(--scalar-color-1);\n content: '';\n inset: -1px -1px -1px -1px;\n pointer-events: none;\n position: absolute;\n}\n.start-section-color .start-item {\n text-transform: capitalize;\n}\n.start-cta {\n display: flex;\n gap: 12px;\n width: 100%;\n margin-top: 24px;\n margin-bottom: 0;\n}\n.start-row {\n width: 100%;\n margin-top: 12px;\n overflow: hidden;\n}\n.start-hero-copy {\n background: var(--scalar-background-2);\n padding: 12px;\n border-radius: var(--scalar-radius-lg);\n}\n.start-p-small {\n font-weight: var(--scalar-semibold);\n font-size: var(--scalar-mini);\n color: var(--scalar-color-2);\n margin-bottom: 12px;\n line-height: 1.4;\n}\n.start-cta {\n margin-bottom: 12px;\n width: fit-content;\n white-space: nowrap;\n}\n.start-copy {\n padding: 76px 48px 48px 48px;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n text-align: center;\n}\n.start-logo {\n color: var(--scalar-color-1);\n margin-bottom: 24px;\n width: 72px;\n aspect-ratio: 1;\n position: relative;\n box-shadow: var(--scalar-shadow-2);\n border-radius: var(--scalar-radius-full);\n}\n.start-logo:before {\n content: '';\n width: 300%;\n aspect-ratio: 1;\n left: -100%;\n top: -100%;\n position: absolute;\n z-index: -1;\n border-radius: var(--scalar-radius-full);\n background-size: 24px 24px;\n box-shadow:\n inset 0 0 50px var(--scalar-background-1),\n inset 0 0 50px var(--scalar-background-1);\n background-image:\n linear-gradient(to right, var(--scalar-border-color) 1px, transparent 1px),\n linear-gradient(to bottom, var(--scalar-border-color) 1px, transparent 1px);\n}\n.start-logo svg {\n width: 100%;\n height: auto;\n background: var(--scalar-background-1);\n padding: 3px;\n border-radius: var(--scalar-radius-full);\n position: relative;\n}\n@media screen and (max-width: 600px) {\n .start-section-colors .start-item,\n .start-item {\n width: 100%;\n border-radius: 0;\n border-right: none;\n border-top: 1px solid var(--scalar-border-color);\n }\n .start-item:empty {\n display: none;\n }\n .start-h2 {\n border-bottom: none;\n }\n .start li {\n width: 100%;\n }\n .start-copy {\n padding: 48px 0 24px 0;\n }\n}\n@media screen and (max-width: 1000px) {\n .start {\n padding: 0;\n overflow: auto;\n }\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASA,MAAM,QAAQ;EAOd,MAAM,EAAE,cAAc,iBAAgB;EAEtC,MAAM,WAAsB;GAC1B;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACF;EAEA,eAAe,4BAA4B;AAKzC,SAAM,iBAAiB,OAJN,MAAM,MACrB,8DACF,EAEsC,MAAM,CAAA;;;uBAI5C,mBAyLM,OAzLN,YAyLM;IAxLJ,mBAgCM,OAhCN,YAgCM;+BA/BJ,mBAWM,OAAA,EAXD,OAAM,cAAY,EAAA,CACrB,mBASM,OAAA;MARJ,QAAO;MACP,SAAQ;MACR,OAAM;MACN,OAAM;SACN,mBAGwB,QAAA;MAFtB,GAAE;MACF,MAAK;MACL,aAAU;;KAGhB,mBAEK,MAFL,YAEK,gBADA,MAAA,UAAS,CAAA,+BAAA,CAAA,EAAA,EAAA;KAEd,mBAEI,KAFJ,YAEI,gBADC,MAAA,UAAS,CAAA,6BAAA,CAAA,EAAA,EAAA;KAEd,mBAYM,OAZN,YAYM,CAXJ,YAIe,MAAA,aAAA,EAAA;MAHb,OAAM;MACL,SAAO;;6BACqC,CAAA,gBAAA,gBAA1C,MAAA,UAAS,CAAA,6BAAA,CAAA,EAAA,EAAA,CAAA,CAAA;;SAEd,YAKe,MAAA,aAAA,EAAA;MAJb,OAAM;MACN,SAAQ;MACP,SAAK,OAAA,OAAA,OAAA,MAAA,WAAEA,KAAAA,MAAK,kBAAA;;6BAC+B,CAAA,gBAAA,gBAAzC,MAAA,UAAS,CAAA,4BAAA,CAAA,EAAA,EAAA,CAAA,CAAA;;;;IAIlB,mBAyHM,OAzHN,YAyHM,CAxHJ,mBAwGM,OAxGN,YAwGM,CAvGJ,mBAEM,OAFN,YAEM,gBADD,MAAA,UAAS,CAAA,8BAAA,CAAA,EAAA,EAAA,EAAA,OAAA,OAAA,OAAA,KAAA,kBAAA,y+GAAA,EAAA,EAAA,CAAA,EAuGhB,mBAcM,OAdN,YAcM,CAbJ,mBAEI,KAFJ,aAEI,gBADC,MAAA,UAAS,CAAA,yBAAA,CAAA,EAAA,EAAA,GAAA,WAAA,EAEd,mBASM,UAAA,MAAA,WARc,WAAX,YAAO;YADhB,mBASM,OAAA;MAPH,KAAK;MACN,OAAK,eAAA,CAAC,cAAY,EAAA,qBACa,YAAY,QAAA,OAAK,CAAA,CAAA;MAC/C,UAAK,WAAeA,KAAAA,MAAK,eAAA;OAAA,IAAsB;OAAO,OAAS,MAAA,YAAW,CAAC;OAAO,CAAA;wBAGhF,MAAA,YAAW,CAAC,SAAO,EAAA,IAAA,YAAA;;IAI5B,mBAAkE,KAAlE,aAAkE,gBAA3C,MAAA,UAAS,CAAA,0BAAA,CAAA,EAAA,EAAA;IAChC,mBA2BK,MA3BL,aA2BK;KA1BH,mBAGK,MAAA,MAAA,CAFH,mBAAmE,KAAnE,aAAmE,gBAA5C,MAAA,UAAS,CAAA,2BAAA,CAAA,EAAA,EAAA,EAAA,gBAAmC,MACnE,gBAAG,MAAA,UAAS,CAAA,sCAAA,CAAA,EAAA,EAAA,CAAA,CAAA;KAEd,mBAGK,MAAA,MAAA,CAFH,mBAAiE,KAAjE,aAAiE,gBAA1C,MAAA,UAAS,CAAA,yBAAA,CAAA,EAAA,EAAA,EAAA,gBAAiC,MACjE,gBAAG,MAAA,UAAS,CAAA,oCAAA,CAAA,EAAA,EAAA,CAAA,CAAA;KAEd,mBAGK,MAAA,MAAA,CAFH,mBAAgE,KAAhE,aAAgE,gBAAzC,MAAA,UAAS,CAAA,wBAAA,CAAA,EAAA,EAAA,EAAA,gBAAgC,MAChE,gBAAG,MAAA,UAAS,CAAA,mCAAA,CAAA,EAAA,EAAA,CAAA,CAAA;KAEd,mBAGK,MAAA,MAAA,CAFH,mBAAiE,KAAjE,aAAiE,gBAA1C,MAAA,UAAS,CAAA,yBAAA,CAAA,EAAA,EAAA,EAAA,gBAAiC,MACjE,gBAAG,MAAA,UAAS,CAAA,oCAAA,CAAA,EAAA,EAAA,CAAA,CAAA;KAEd,mBAKK,MAAA,MAAA,CAJH,mBAEI,KAFJ,aAEI,gBADC,MAAA,UAAS,CAAA,gCAAA,CAAA,EAAA,EAAA,EAAA,gBACV,MACJ,gBAAG,MAAA,UAAS,CAAA,2CAAA,CAAA,EAAA,EAAA,CAAA,CAAA;KAEd,mBAGK,MAAA,MAAA,CAFH,mBAAqE,KAArE,aAAqE,gBAA9C,MAAA,UAAS,CAAA,6BAAA,CAAA,EAAA,EAAA,EAAA,gBAAqC,MACrE,gBAAG,MAAA,UAAS,CAAA,wCAAA,CAAA,EAAA,EAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"GettingStarted.vue.script.js","names":["$emit"],"sources":["../../src/components/GettingStarted.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarButton } from '@scalar/components/button'\nimport { themeLabels, type ThemeId } from '@scalar/themes'\n\nimport { useLocalization } from '@/features/localization'\n\ndefineProps<{\n theme: ThemeId\n}>()\nconst emits = defineEmits<{\n (e: 'changeTheme', { id, label }: { id: ThemeId; label: string }): void\n (e: 'loadSwaggerFile'): void\n (e: 'linkSwaggerFile'): void\n (e: 'updateContent', value: string): void\n}>()\n\nconst { translate } = useLocalization()\n\nconst themeIds: ThemeId[] = [\n 'default',\n 'alternate',\n 'moon',\n 'purple',\n 'solarized',\n 'bluePlanet',\n 'saturn',\n 'kepler',\n 'mars',\n 'deepSpace',\n]\n\nasync function fetchExampleSpecification() {\n const response = await fetch(\n 'https://registry.scalar.com/@scalar/apis/galaxy?format=yaml',\n )\n\n emits('updateContent', await response.text())\n}\n</script>\n<template>\n <div class=\"custom-scroll start\">\n <div class=\"start-copy\">\n <div class=\"start-logo\">\n <svg\n height=\"36\"\n viewBox=\"0 0 36 36\"\n width=\"36\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z\"\n fill=\"currentColor\"\n fill-rule=\"evenodd\" />\n </svg>\n </div>\n <h1 class=\"start-h1\">\n {{ translate('gettingStarted.swaggerEditor') }}\n </h1>\n <p class=\"start-p\">\n {{ translate('gettingStarted.description') }}\n </p>\n <div class=\"start-cta\">\n <ScalarButton\n class=\"w-full\"\n @click=\"fetchExampleSpecification\">\n {{ translate('gettingStarted.showExample') }}\n </ScalarButton>\n <ScalarButton\n class=\"w-full\"\n variant=\"outlined\"\n @click=\"$emit('loadSwaggerFile')\">\n {{ translate('gettingStarted.uploadFile') }}\n </ScalarButton>\n </div>\n </div>\n <div class=\"start-row\">\n <div class=\"start-section start-section-integrations\">\n <div class=\"start-h2\">\n {{ translate('gettingStarted.integrations') }}\n </div>\n <a\n class=\"start-item\"\n href=\"https://github.com/scalar/scalar/tree/main/integrations/fastify#readme\"\n rel=\"noopener noreferrer\"\n target=\"_blank\">\n <svg\n fill=\"currentColor\"\n height=\"16\"\n viewBox=\"0 0 19 16\"\n width=\"19\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z\"\n fill=\"currentColor\"\n fill-rule=\"nonzero\" />\n </svg>\n <span>Fastify</span>\n </a>\n <a\n class=\"start-item\"\n href=\"https://github.com/scalar/scalar/blob/main/documentation/integrations/html-js.md#html\"\n rel=\"noopener noreferrer\"\n target=\"_blank\">\n <svg\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <g>\n <path\n d=\"M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z\"\n fill=\"currentColor\" />\n <path\n d=\"M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z\"\n fill=\"currentColor\" />\n <path\n d=\"M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z\"\n fill=\"currentColor\" />\n </g>\n </svg>\n <span>CDN</span>\n </a>\n <a\n class=\"start-item\"\n href=\"https://github.com/scalar/scalar/blob/main/packages/api-reference/README.md#vuejs\"\n rel=\"noopener noreferrer\"\n target=\"_blank\">\n <svg\n height=\"170\"\n viewBox=\"0 0 196.3 170\"\n width=\"196.3\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <g\n fill=\"currentColor\"\n fill-rule=\"nonzero\">\n <polygon\n points=\"39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171\" />\n <polygon\n points=\"75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14\" />\n </g>\n </svg>\n <span>Vue</span>\n </a>\n <a\n class=\"start-item\"\n href=\"https://github.com/scalar/scalar/blob/main/packages/api-reference-react/README.md#usage\"\n rel=\"noopener noreferrer\"\n target=\"_blank\">\n <svg\n height=\"23.3\"\n viewBox=\"0 0 22 23.3\"\n width=\"22\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <g\n fill=\"none\"\n fill-rule=\"evenodd\">\n <circle\n cx=\"11\"\n cy=\"11.6\"\n fill=\"currentColor\"\n fill-rule=\"nonzero\"\n r=\"2\" />\n <g stroke=\"currentColor\">\n <ellipse\n cx=\"11\"\n cy=\"11.6\"\n rx=\"11\"\n ry=\"4.2\" />\n <ellipse\n cx=\"11\"\n cy=\"11.6\"\n rx=\"11\"\n ry=\"4.2\"\n transform=\"rotate(60 11 11.6)\" />\n <ellipse\n cx=\"11\"\n cy=\"11.6\"\n rx=\"11\"\n ry=\"4.2\"\n transform=\"rotate(120 11 11.6)\" />\n </g>\n </g>\n </svg>\n <span>React</span>\n </a>\n </div>\n <div class=\"start-section start-section-colors\">\n <p class=\"start-h2\">\n {{ translate('gettingStarted.theming') }}\n </p>\n <div\n v-for=\"themeId in themeIds\"\n :key=\"themeId\"\n class=\"start-item\"\n :class=\"{ 'start-item-active': themeId === theme }\"\n @click=\"\n $emit('changeTheme', { id: themeId, label: themeLabels[themeId] })\n \">\n {{ themeLabels[themeId] }}\n </div>\n </div>\n </div>\n <p class=\"start-h1\">{{ translate('gettingStarted.features') }}</p>\n <ul class=\"start-ul\">\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.customize') }}</p>\n {{ translate('gettingStarted.customizeDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.testing') }}</p>\n {{ translate('gettingStarted.testingDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.search') }}</p>\n {{ translate('gettingStarted.searchDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.hosting') }}</p>\n {{ translate('gettingStarted.hostingDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">\n {{ translate('gettingStarted.openApiSwagger') }}\n </p>\n {{ translate('gettingStarted.openApiSwaggerDescription') }}\n </li>\n <li>\n <p class=\"start-h3\">{{ translate('gettingStarted.codeSamples') }}</p>\n {{ translate('gettingStarted.codeSamplesDescription') }}\n </li>\n </ul>\n </div>\n</template>\n<style scoped>\n.start {\n padding: 24px;\n display: flex;\n flex-flow: wrap;\n justify-content: space-between;\n position: relative;\n z-index: 0;\n}\n.swagger-editor .start {\n padding-top: 24px;\n}\n.start-h1 {\n font-size: var(--scalar-heading-2);\n margin-top: 0;\n line-height: 1.45;\n margin-bottom: 0;\n font-weight: var(--scalar-bold);\n color: var(--scalar-color-1);\n width: 100%;\n position: relative;\n}\n.start-h3 {\n font-size: var(--scalar-paragraph);\n margin-top: 0;\n margin-bottom: 6px;\n display: block;\n line-height: 1.45;\n font-weight: var(--scalar-bold);\n color: var(--scalar-color-1);\n width: 100%;\n}\n.start-h1:not(:first-of-type) {\n margin-top: 24px;\n}\n.start-p {\n font-size: var(--scalar-paragraph);\n color: var(--scalar-color-2);\n line-height: 1.5;\n width: 100%;\n margin-top: 12px;\n}\n.start-ul {\n margin-top: 12px;\n font-size: var(--scalar-paragraph);\n line-height: 1.5;\n padding-left: 0;\n list-style: initial;\n display: flex;\n flex-flow: wrap;\n gap: 24px;\n}\n.start-ul li {\n margin: 0;\n padding: 0;\n list-style: none;\n width: calc(50% - 24px);\n color: var(--scalar-color-2);\n}\n.start-ul li:first-of-type {\n margin-top: 0;\n}\n.start-section {\n width: 100%;\n margin-bottom: 12px;\n display: flex;\n flex-flow: wrap;\n}\n.start-section:last-of-type {\n margin-bottom: 48px;\n}\n.start-h2 {\n background: var(--scalar-background-2);\n border-top-left-radius: var(--scalar-radius-lg);\n border-top-right-radius: var(--scalar-radius-lg);\n border: 1px solid var(--scalar-border-color);\n color: var(--scalar-color-3);\n font-size: var(--scalar-mini);\n font-weight: var(--scalar-semibold);\n padding: 9px;\n width: 100%;\n}\n.start-item {\n align-items: center;\n background: var(--scalar-background-2);\n border-right: 1px solid var(--scalar-border-color);\n border-bottom: 1px solid var(--scalar-border-color);\n color: var(--scalar-color-1);\n cursor: pointer;\n display: flex;\n flex: 1;\n font-size: var(--scalar-mini);\n font-weight: var(--scalar-semibold);\n padding: 9px;\n text-transform: capitalize;\n user-select: none;\n}\n.start-section-integrations .start-item:first-of-type {\n border-bottom-left-radius: var(--scalar-radius-lg);\n border-left: 1px solid var(--scalar-border-color);\n}\n.start-section-integrations .start-item:last-of-type {\n border-bottom-right-radius: var(--scalar-radius-lg);\n}\n.start-section-colors .start-item {\n min-width: 33.33%;\n}\n.start-section-colors .start-item:nth-child(3n + 2) {\n border-left: 1px solid var(--scalar-border-color);\n}\n.start-section-colors .start-item:last-of-type,\n.start-section-colors .start-item-active:last-of-type::before {\n border-radius: 0 0 var(--scalar-radius-lg) var(--scalar-radius-lg);\n}\n.start-item:empty {\n pointer-events: none;\n}\n.start-item svg {\n width: 14px;\n height: 14px;\n margin-right: 6px;\n}\n.start-item:hover {\n background: var(--scalar-background-3);\n}\n.start-item-active {\n z-index: 10;\n position: relative;\n color: var(--scalar-color-1);\n}\n.start-item-active::before {\n border: 1px solid var(--scalar-color-1);\n content: '';\n inset: -1px -1px -1px -1px;\n pointer-events: none;\n position: absolute;\n}\n.start-section-color .start-item {\n text-transform: capitalize;\n}\n.start-cta {\n display: flex;\n gap: 12px;\n width: 100%;\n margin-top: 24px;\n margin-bottom: 0;\n}\n.start-row {\n width: 100%;\n margin-top: 12px;\n overflow: hidden;\n}\n.start-hero-copy {\n background: var(--scalar-background-2);\n padding: 12px;\n border-radius: var(--scalar-radius-lg);\n}\n.start-p-small {\n font-weight: var(--scalar-semibold);\n font-size: var(--scalar-mini);\n color: var(--scalar-color-2);\n margin-bottom: 12px;\n line-height: 1.4;\n}\n.start-cta {\n margin-bottom: 12px;\n width: fit-content;\n white-space: nowrap;\n}\n.start-copy {\n padding: 76px 48px 48px 48px;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n text-align: center;\n}\n.start-logo {\n color: var(--scalar-color-1);\n margin-bottom: 24px;\n width: 72px;\n aspect-ratio: 1;\n position: relative;\n box-shadow: var(--scalar-shadow-2);\n border-radius: var(--scalar-radius-full);\n}\n.start-logo:before {\n content: '';\n width: 300%;\n aspect-ratio: 1;\n left: -100%;\n top: -100%;\n position: absolute;\n z-index: -1;\n border-radius: var(--scalar-radius-full);\n background-size: 24px 24px;\n box-shadow:\n inset 0 0 50px var(--scalar-background-1),\n inset 0 0 50px var(--scalar-background-1);\n background-image:\n linear-gradient(to right, var(--scalar-border-color) 1px, transparent 1px),\n linear-gradient(to bottom, var(--scalar-border-color) 1px, transparent 1px);\n}\n.start-logo svg {\n width: 100%;\n height: auto;\n background: var(--scalar-background-1);\n padding: 3px;\n border-radius: var(--scalar-radius-full);\n position: relative;\n}\n@media screen and (max-width: 600px) {\n .start-section-colors .start-item,\n .start-item {\n width: 100%;\n border-radius: 0;\n border-right: none;\n border-top: 1px solid var(--scalar-border-color);\n }\n .start-item:empty {\n display: none;\n }\n .start-h2 {\n border-bottom: none;\n }\n .start li {\n width: 100%;\n }\n .start-copy {\n padding: 48px 0 24px 0;\n }\n}\n@media screen and (max-width: 1000px) {\n .start {\n padding: 0;\n overflow: auto;\n }\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASA,MAAM,QAAQ;EAOd,MAAM,EAAE,cAAc,gBAAgB;EAEtC,MAAM,WAAsB;GAC1B;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;EAEA,eAAe,4BAA4B;GACzC,MAAM,WAAW,MAAM,MACrB,6DACF;GAEA,MAAM,iBAAiB,MAAM,SAAS,KAAK,CAAC;EAC9C;;uBAGE,mBA6LM,OA7LN,YA6LM;IA5LJ,mBAgCM,OAhCN,YAgCM;+BA/BJ,mBAWM,OAAA,EAXD,OAAM,aAAY,GAAA,CACrB,mBASM,OAAA;MARJ,QAAO;MACP,SAAQ;MACR,OAAM;MACN,OAAM;SACN,mBAGwB,QAAA;MAFtB,GAAE;MACF,MAAK;MACL,aAAU;;KAGhB,mBAEK,MAFL,YAEK,gBADA,MAAA,SAAA,CAAS,CAAA,8BAAA,CAAA,GAAA,CAAA;KAEd,mBAEI,KAFJ,YAEI,gBADC,MAAA,SAAA,CAAS,CAAA,4BAAA,CAAA,GAAA,CAAA;KAEd,mBAYM,OAZN,YAYM,CAXJ,YAIe,MAAA,YAAA,GAAA;MAHb,OAAM;MACL,SAAO;;6BACqC,CAAA,gBAAA,gBAA1C,MAAA,SAAA,CAAS,CAAA,4BAAA,CAAA,GAAA,CAAA,CAAA,CAAA;;SAEd,YAKe,MAAA,YAAA,GAAA;MAJb,OAAM;MACN,SAAQ;MACP,SAAK,OAAA,OAAA,OAAA,MAAA,WAAEA,KAAAA,MAAK,iBAAA;;6BAC+B,CAAA,gBAAA,gBAAzC,MAAA,SAAA,CAAS,CAAA,2BAAA,CAAA,GAAA,CAAA,CAAA,CAAA;;;;IAIlB,mBA6HM,OA7HN,YA6HM,CA5HJ,mBA4GM,OA5GN,YA4GM,CA3GJ,mBAEM,OAFN,YAEM,gBADD,MAAA,SAAA,CAAS,CAAA,6BAAA,CAAA,GAAA,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,kBAAA,ylHAAA,CAAA,EAAA,CAAA,GA2GhB,mBAcM,OAdN,YAcM,CAbJ,mBAEI,KAFJ,aAEI,gBADC,MAAA,SAAA,CAAS,CAAA,wBAAA,CAAA,GAAA,CAAA,IAAA,UAAA,GAEd,mBASM,UAAA,MAAA,WARc,WAAX,YAAO;YADhB,mBASM,OAAA;MAPH,KAAK;MACN,OAAK,eAAA,CAAC,cAAY,EAAA,qBACa,YAAY,QAAA,MAAK,CAAA,CAAA;MAC/C,UAAK,WAAeA,KAAAA,MAAK,eAAA;OAAA,IAAsB;OAAO,OAAS,MAAA,WAAA,CAAW,CAAC;MAAO,CAAA;wBAGhF,MAAA,WAAA,CAAW,CAAC,QAAO,GAAA,IAAA,WAAA;;IAI5B,mBAAkE,KAAlE,aAAkE,gBAA3C,MAAA,SAAA,CAAS,CAAA,yBAAA,CAAA,GAAA,CAAA;IAChC,mBA2BK,MA3BL,aA2BK;KA1BH,mBAGK,MAAA,MAAA,CAFH,mBAAmE,KAAnE,aAAmE,gBAA5C,MAAA,SAAA,CAAS,CAAA,0BAAA,CAAA,GAAA,CAAA,GAAA,gBAAmC,MACnE,gBAAG,MAAA,SAAA,CAAS,CAAA,qCAAA,CAAA,GAAA,CAAA,CAAA,CAAA;KAEd,mBAGK,MAAA,MAAA,CAFH,mBAAiE,KAAjE,aAAiE,gBAA1C,MAAA,SAAA,CAAS,CAAA,wBAAA,CAAA,GAAA,CAAA,GAAA,gBAAiC,MACjE,gBAAG,MAAA,SAAA,CAAS,CAAA,mCAAA,CAAA,GAAA,CAAA,CAAA,CAAA;KAEd,mBAGK,MAAA,MAAA,CAFH,mBAAgE,KAAhE,aAAgE,gBAAzC,MAAA,SAAA,CAAS,CAAA,uBAAA,CAAA,GAAA,CAAA,GAAA,gBAAgC,MAChE,gBAAG,MAAA,SAAA,CAAS,CAAA,kCAAA,CAAA,GAAA,CAAA,CAAA,CAAA;KAEd,mBAGK,MAAA,MAAA,CAFH,mBAAiE,KAAjE,aAAiE,gBAA1C,MAAA,SAAA,CAAS,CAAA,wBAAA,CAAA,GAAA,CAAA,GAAA,gBAAiC,MACjE,gBAAG,MAAA,SAAA,CAAS,CAAA,mCAAA,CAAA,GAAA,CAAA,CAAA,CAAA;KAEd,mBAKK,MAAA,MAAA,CAJH,mBAEI,KAFJ,aAEI,gBADC,MAAA,SAAA,CAAS,CAAA,+BAAA,CAAA,GAAA,CAAA,GAAA,gBACV,MACJ,gBAAG,MAAA,SAAA,CAAS,CAAA,0CAAA,CAAA,GAAA,CAAA,CAAA,CAAA;KAEd,mBAGK,MAAA,MAAA,CAFH,mBAAqE,KAArE,aAAqE,gBAA9C,MAAA,SAAA,CAAS,CAAA,4BAAA,CAAA,GAAA,CAAA,GAAA,gBAAqC,MACrE,gBAAG,MAAA,SAAA,CAAS,CAAA,uCAAA,CAAA,GAAA,CAAA,CAAA,CAAA"}
@@ -2,7 +2,7 @@ import { computed, createBlock, createTextVNode, defineComponent, normalizeStyle
2
2
  import { getHttpMethodInfo } from "@scalar/helpers/http/http-info";
3
3
  import { normalizeHttpMethod } from "@scalar/helpers/http/normalize-http-method";
4
4
  //#region src/components/HttpMethod/HttpMethod.vue?vue&type=script&setup=true&lang.ts
5
- var HttpMethod_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
5
+ var HttpMethod_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
6
6
  __name: "HttpMethod",
7
7
  props: {
8
8
  as: {},
@@ -1 +1 @@
1
- {"version":3,"file":"HttpMethod.vue.script.js","names":[],"sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { getHttpMethodInfo } from '@scalar/helpers/http/http-info'\nimport type { HttpMethod } from '@scalar/helpers/http/http-methods'\nimport { normalizeHttpMethod } from '@scalar/helpers/http/normalize-http-method'\nimport { computed, type Component } from 'vue'\n\nconst props = defineProps<{\n /** The type of element to render as, defaults to `span` */\n as?: Component | string\n /** The css style property or variable that will be set to the request method color, defaults to `color` */\n property?: string\n /** Whether or not to abbreviated the slot content */\n short?: boolean\n /** The HTTP method to show */\n method: HttpMethod | string\n}>()\n\n/** Grabs the method info object which contains abbreviation, color, and background color etc */\nconst httpMethodInfo = computed(() =>\n getHttpMethodInfo(String(props.method || '')),\n)\n\n/** Full method name */\nconst normalized = computed(() => normalizeHttpMethod(props.method))\n</script>\n\n<template>\n <component\n :is=\"as ?? 'span'\"\n class=\"uppercase\"\n :style=\"{ [property || 'color']: httpMethodInfo.colorVar }\">\n <slot />\n {{ short ? httpMethodInfo.short : normalized }}\n </component>\n</template>\n"],"mappings":";;;;;;;;;;;;;EAMA,MAAM,QAAQ;;EAYd,MAAM,iBAAiB,eACrB,kBAAkB,OAAO,MAAM,UAAU,GAAG,CAAC,CAC/C;;EAGA,MAAM,aAAa,eAAe,oBAAoB,MAAM,OAAO,CAAA;;uBAIjE,YAMY,wBALL,QAAA,MAAE,OAAA,EAAA;IACP,OAAM;IACL,OAAK,eAAA,GAAK,QAAA,YAAQ,UAAc,eAAA,MAAe,UAAQ,CAAA;;2BAChD,CAAR,WAAQ,KAAA,QAAA,UAAA,EAAA,gBAAA,MACR,gBAAG,QAAA,QAAQ,eAAA,MAAe,QAAQ,WAAA,MAAU,EAAA,EAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"HttpMethod.vue.script.js","names":[],"sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { getHttpMethodInfo } from '@scalar/helpers/http/http-info'\nimport type { HttpMethod } from '@scalar/helpers/http/http-methods'\nimport { normalizeHttpMethod } from '@scalar/helpers/http/normalize-http-method'\nimport { computed, type Component } from 'vue'\n\nconst props = defineProps<{\n /** The type of element to render as, defaults to `span` */\n as?: Component | string\n /** The css style property or variable that will be set to the request method color, defaults to `color` */\n property?: string\n /** Whether or not to abbreviated the slot content */\n short?: boolean\n /** The HTTP method to show */\n method: HttpMethod | string\n}>()\n\n/** Grabs the method info object which contains abbreviation, color, and background color etc */\nconst httpMethodInfo = computed(() =>\n getHttpMethodInfo(String(props.method || '')),\n)\n\n/** Full method name */\nconst normalized = computed(() => normalizeHttpMethod(props.method))\n</script>\n\n<template>\n <component\n :is=\"as ?? 'span'\"\n class=\"uppercase\"\n :style=\"{ [property || 'color']: httpMethodInfo.colorVar }\">\n <slot />\n {{ short ? httpMethodInfo.short : normalized }}\n </component>\n</template>\n"],"mappings":";;;;;;;;;;;;;EAMA,MAAM,QAAQ;;EAYd,MAAM,iBAAiB,eACrB,kBAAkB,OAAO,MAAM,UAAU,EAAE,CAAC,CAC9C;;EAGA,MAAM,aAAa,eAAe,oBAAoB,MAAM,MAAM,CAAC;;uBAIjE,YAMY,wBALL,QAAA,MAAE,MAAA,GAAA;IACP,OAAM;IACL,OAAK,eAAA,GAAK,QAAA,YAAQ,UAAc,eAAA,MAAe,SAAQ,CAAA;;2BAChD,CAAR,WAAQ,KAAA,QAAA,SAAA,GAAA,gBAAA,MACR,gBAAG,QAAA,QAAQ,eAAA,MAAe,QAAQ,WAAA,KAAU,GAAA,CAAA,CAAA,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { createBlock, defineComponent, onMounted, openBlock, ref, renderSlot, resolveDynamicComponent, withCtx } from "vue";
2
2
  import { useIntersectionObserver } from "@vueuse/core";
3
3
  //#region src/components/IntersectionObserver.vue?vue&type=script&setup=true&lang.ts
4
- var IntersectionObserver_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
4
+ var IntersectionObserver_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
5
5
  __name: "IntersectionObserver",
6
6
  props: {
7
7
  id: {},
@@ -20,12 +20,15 @@ var IntersectionObserver_vue_vue_type_script_setup_true_lang_default = /* @__PUR
20
20
  return element.offsetHeight < window.innerHeight ? .8 : .5;
21
21
  };
22
22
  onMounted(() => {
23
- if (intersectionObserverRef.value) useIntersectionObserver(intersectionObserverRef, ([entry]) => {
24
- if (entry?.isIntersecting && props.id) emit("intersecting", props.id);
25
- }, {
26
- rootMargin: calculateRootMargin(intersectionObserverRef.value),
27
- threshold: calculateThreshold(intersectionObserverRef.value)
28
- });
23
+ if (intersectionObserverRef.value) {
24
+ const options = {
25
+ rootMargin: calculateRootMargin(intersectionObserverRef.value),
26
+ threshold: calculateThreshold(intersectionObserverRef.value)
27
+ };
28
+ useIntersectionObserver(intersectionObserverRef, ([entry]) => {
29
+ if (entry?.isIntersecting && props.id) emit("intersecting", props.id);
30
+ }, options);
31
+ }
29
32
  });
30
33
  return (_ctx, _cache) => {
31
34
  return openBlock(), createBlock(resolveDynamicComponent(__props.is ?? "div"), {
@@ -1 +1 @@
1
- {"version":3,"file":"IntersectionObserver.vue.script.js","names":[],"sources":["../../src/components/IntersectionObserver.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { onMounted, ref } from 'vue'\n\nconst props = defineProps<{\n id?: string\n is?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'intersecting', id: string): void\n}>()\n\nconst intersectionObserverRef = ref<HTMLElement>()\n\nconst calculateRootMargin = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Use of a margin on height to ensure sooner intersection detection.\n return `${height / 2}px 0px ${height / 2}px 0px`\n}\n\nconst calculateThreshold = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Favor larger threshold if the element is smaller that the screen\n // to ensure that it is selected\n return height < window.innerHeight ? 0.8 : 0.5\n}\n\nonMounted(() => {\n if (intersectionObserverRef.value) {\n const options = {\n rootMargin: calculateRootMargin(intersectionObserverRef.value),\n threshold: calculateThreshold(intersectionObserverRef.value),\n }\n\n useIntersectionObserver(\n intersectionObserverRef,\n ([entry]) => {\n if (entry?.isIntersecting && props.id) {\n emit('intersecting', props.id)\n }\n },\n options,\n )\n }\n})\n</script>\n<template>\n <component\n :is=\"is ?? 'div'\"\n :id=\"id\"\n ref=\"intersectionObserverRef\">\n <slot />\n </component>\n</template>\n"],"mappings":";;;;;;;;;;;EAIA,MAAM,QAAQ;EAKd,MAAM,OAAO;EAIb,MAAM,0BAA0B,KAAiB;EAEjD,MAAM,uBAAuB,YAAyB;GACpD,MAAM,SAAS,QAAQ;AAEvB,UAAO,GAAG,SAAS,EAAE,SAAS,SAAS,EAAE;;EAG3C,MAAM,sBAAsB,YAAyB;AAInD,UAHe,QAAQ,eAGP,OAAO,cAAc,KAAM;;AAG7C,kBAAgB;AACd,OAAI,wBAAwB,MAM1B,yBACE,0BACC,CAAC,WAAW;AACX,QAAI,OAAO,kBAAkB,MAAM,GACjC,MAAK,gBAAgB,MAAM,GAAE;MATnB;IACd,YAAY,oBAAoB,wBAAwB,MAAM;IAC9D,WAAW,mBAAmB,wBAAwB,MAAM;IAC9D,CAUA;IAEH;;uBAGC,YAKY,wBAJL,QAAA,MAAE,MAAA,EAAA;IACN,IAAI,QAAA;aACD;IAAJ,KAAI;;2BACI,CAAR,WAAQ,KAAA,QAAA,UAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"IntersectionObserver.vue.script.js","names":[],"sources":["../../src/components/IntersectionObserver.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { onMounted, ref } from 'vue'\n\nconst props = defineProps<{\n id?: string\n is?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'intersecting', id: string): void\n}>()\n\nconst intersectionObserverRef = ref<HTMLElement>()\n\nconst calculateRootMargin = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Use of a margin on height to ensure sooner intersection detection.\n return `${height / 2}px 0px ${height / 2}px 0px`\n}\n\nconst calculateThreshold = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Favor larger threshold if the element is smaller that the screen\n // to ensure that it is selected\n return height < window.innerHeight ? 0.8 : 0.5\n}\n\nonMounted(() => {\n if (intersectionObserverRef.value) {\n const options = {\n rootMargin: calculateRootMargin(intersectionObserverRef.value),\n threshold: calculateThreshold(intersectionObserverRef.value),\n }\n\n useIntersectionObserver(\n intersectionObserverRef,\n ([entry]) => {\n if (entry?.isIntersecting && props.id) {\n emit('intersecting', props.id)\n }\n },\n options,\n )\n }\n})\n</script>\n<template>\n <component\n :is=\"is ?? 'div'\"\n :id=\"id\"\n ref=\"intersectionObserverRef\">\n <slot />\n </component>\n</template>\n"],"mappings":";;;;;;;;;;;EAIA,MAAM,QAAQ;EAKd,MAAM,OAAO;EAIb,MAAM,0BAA0B,IAAiB;EAEjD,MAAM,uBAAuB,YAAyB;GACpD,MAAM,SAAS,QAAQ;GAEvB,OAAO,GAAG,SAAS,EAAE,SAAS,SAAS,EAAE;EAC3C;EAEA,MAAM,sBAAsB,YAAyB;GAInD,OAHe,QAAQ,eAGP,OAAO,cAAc,KAAM;EAC7C;EAEA,gBAAgB;GACd,IAAI,wBAAwB,OAAO;IACjC,MAAM,UAAU;KACd,YAAY,oBAAoB,wBAAwB,KAAK;KAC7D,WAAW,mBAAmB,wBAAwB,KAAK;IAC7D;IAEA,wBACE,0BACC,CAAC,WAAW;KACX,IAAI,OAAO,kBAAkB,MAAM,IACjC,KAAK,gBAAgB,MAAM,EAAE;IAEjC,GACA,OACF;GACF;EACF,CAAC;;uBAGC,YAKY,wBAJL,QAAA,MAAE,KAAA,GAAA;IACN,IAAI,QAAA;aACD;IAAJ,KAAI;;2BACI,CAAR,WAAQ,KAAA,QAAA,SAAA,CAAA,CAAA"}
@@ -6,7 +6,7 @@ var _hoisted_1 = ["id", "data-placeholder"];
6
6
  var PLACEHOLDER_HEIGHT_PX = 760;
7
7
  /** Overscan: render items within this many pixels above and below the viewport. */
8
8
  var VIEWPORT_OVERSCAN_PX = 1200;
9
- var Lazy_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
9
+ var Lazy_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
10
10
  __name: "Lazy",
11
11
  props: {
12
12
  id: {},
@@ -91,7 +91,7 @@ var Lazy_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCom
91
91
  "data-placeholder": !shouldRender.value,
92
92
  "data-testid": "lazy-container",
93
93
  style: normalizeStyle({ height: shouldRender.value ? void 0 : `${placeholderHeight.value}px` })
94
- }, [shouldRender.value ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true)], 12, _hoisted_1);
94
+ }, [shouldRender.value ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : createCommentVNode("", true)], 12, _hoisted_1);
95
95
  };
96
96
  }
97
97
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Lazy.vue.script.js","names":[],"sources":["../../../src/components/Lazy/Lazy.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * Lazily renders content when the element is within the viewport overscan.\n * Uses a fixed-height placeholder so layout is stable while we block during render.\n *\n * When server-side rendering, content renders immediately.\n *\n * @link https://medium.com/js-dojo/lazy-rendering-in-vue-to-improve-performance-dcccd445d5f\n */\n\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { computed, nextTick, onBeforeUnmount, onMounted, ref, watch } from 'vue'\n\nimport {\n getLazyPlaceholderHeight,\n requestLazyRender,\n setLazyPlaceholderHeight,\n useLazyBus,\n} from '@/helpers/lazy-bus'\n\nconst { id, expanded = false } = defineProps<{\n /** Identifier for this lazy section; used for scroll-to and bus registration. */\n id: string\n /** When true, render the slot so child Lazy placeholders mount (e.g. for navigation). */\n expanded?: boolean\n}>()\n\n/** Fixed height for all placeholders so we do not measure or jump. */\nconst PLACEHOLDER_HEIGHT_PX = 760\n\n/** Overscan: render items within this many pixels above and below the viewport. */\nconst VIEWPORT_OVERSCAN_PX = 1200\nconst VIEWPORT_ROOT_MARGIN = `${VIEWPORT_OVERSCAN_PX}px 0px`\n\nconst { isReady } = useLazyBus(id)\nconst lazyContainerRef = ref<HTMLElement | null>(null)\n\nconst placeholderHeight = ref(\n getLazyPlaceholderHeight(id) ?? PLACEHOLDER_HEIGHT_PX,\n)\nlet contentResizeObserver: ResizeObserver | null = null\n\n/** Once ready we always show (no eviction). Otherwise show when expanded (e.g. so child Lazy placeholders mount). */\nconst shouldRender = computed(() => isReady.value || expanded)\n\nonMounted(() => {\n if (typeof window === 'undefined') {\n return\n }\n\n if (!('IntersectionObserver' in window)) {\n requestLazyRender(id, true)\n return\n }\n\n useIntersectionObserver(\n lazyContainerRef,\n ([entry]) => {\n if (entry?.isIntersecting && !isReady.value) {\n requestLazyRender(id, true)\n }\n },\n { rootMargin: VIEWPORT_ROOT_MARGIN },\n )\n})\n\n/**\n * Capture content height right before we switch to placeholder (pre-flush so content\n * is still in the DOM). Ensures we never measure the container or leave the cache stale.\n */\nwatch(\n () => shouldRender.value,\n (rendered, wasRendered) => {\n if (wasRendered && !rendered && lazyContainerRef.value) {\n const h = lazyContainerRef.value.offsetHeight\n if (Number.isFinite(h) && h > 0) {\n placeholderHeight.value = h\n setLazyPlaceholderHeight(id, h)\n }\n }\n },\n { flush: 'pre' },\n)\n\n/** When content is visible, set up ResizeObserver and measure. */\nwatch(\n () => shouldRender.value,\n (rendered) => {\n if (!rendered) {\n contentResizeObserver?.disconnect()\n contentResizeObserver = null\n return\n }\n void nextTick(() => {\n if (!lazyContainerRef.value || typeof ResizeObserver === 'undefined') {\n return\n }\n if (!contentResizeObserver) {\n contentResizeObserver = new ResizeObserver(() => {\n if (!lazyContainerRef.value) {\n return\n }\n const h = lazyContainerRef.value.offsetHeight\n if (Number.isFinite(h) && h > 0) {\n placeholderHeight.value = h\n setLazyPlaceholderHeight(id, h)\n }\n })\n }\n contentResizeObserver.observe(lazyContainerRef.value)\n const h = lazyContainerRef.value.offsetHeight\n if (Number.isFinite(h) && h > 0) {\n placeholderHeight.value = h\n setLazyPlaceholderHeight(id, h)\n }\n })\n },\n { immediate: true },\n)\n\nonBeforeUnmount(() => {\n contentResizeObserver?.disconnect()\n})\n</script>\n<template>\n <div\n :id=\"!shouldRender ? id : undefined\"\n ref=\"lazyContainerRef\"\n :data-placeholder=\"!shouldRender\"\n data-testid=\"lazy-container\"\n :style=\"{ height: shouldRender ? undefined : `${placeholderHeight}px` }\">\n <slot v-if=\"shouldRender\" />\n </div>\n</template>\n"],"mappings":";;;;;AA4BA,IAAM,wBAAwB;;AAG9B,IAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;EAC7B,MAAM,uBAAuB,GAAG,qBAAqB;EAErD,MAAM,EAAE,YAAY,WAAW,QAAA,GAAE;EACjC,MAAM,mBAAmB,IAAwB,KAAI;EAErD,MAAM,oBAAoB,IACxB,yBAAyB,QAAA,GAAG,IAAI,sBAClC;EACA,IAAI,wBAA+C;;EAGnD,MAAM,eAAe,eAAe,QAAQ,SAAS,QAAA,SAAQ;AAE7D,kBAAgB;AACd,OAAI,OAAO,WAAW,YACpB;AAGF,OAAI,EAAE,0BAA0B,SAAS;AACvC,sBAAkB,QAAA,IAAI,KAAI;AAC1B;;AAGF,2BACE,mBACC,CAAC,WAAW;AACX,QAAI,OAAO,kBAAkB,CAAC,QAAQ,MACpC,mBAAkB,QAAA,IAAI,KAAI;MAG9B,EAAE,YAAY,sBAAsB,CACtC;IACD;;;;;AAMD,cACQ,aAAa,QAClB,UAAU,gBAAgB;AACzB,OAAI,eAAe,CAAC,YAAY,iBAAiB,OAAO;IACtD,MAAM,IAAI,iBAAiB,MAAM;AACjC,QAAI,OAAO,SAAS,EAAE,IAAI,IAAI,GAAG;AAC/B,uBAAkB,QAAQ;AAC1B,8BAAyB,QAAA,IAAI,EAAC;;;KAIpC,EAAE,OAAO,OAAO,CAClB;;AAGA,cACQ,aAAa,QAClB,aAAa;AACZ,OAAI,CAAC,UAAU;AACb,2BAAuB,YAAW;AAClC,4BAAwB;AACxB;;AAEG,kBAAe;AAClB,QAAI,CAAC,iBAAiB,SAAS,OAAO,mBAAmB,YACvD;AAEF,QAAI,CAAC,sBACH,yBAAwB,IAAI,qBAAqB;AAC/C,SAAI,CAAC,iBAAiB,MACpB;KAEF,MAAM,IAAI,iBAAiB,MAAM;AACjC,SAAI,OAAO,SAAS,EAAE,IAAI,IAAI,GAAG;AAC/B,wBAAkB,QAAQ;AAC1B,+BAAyB,QAAA,IAAI,EAAC;;MAEjC;AAEH,0BAAsB,QAAQ,iBAAiB,MAAK;IACpD,MAAM,IAAI,iBAAiB,MAAM;AACjC,QAAI,OAAO,SAAS,EAAE,IAAI,IAAI,GAAG;AAC/B,uBAAkB,QAAQ;AAC1B,8BAAyB,QAAA,IAAI,EAAC;;KAEjC;KAEH,EAAE,WAAW,MAAM,CACrB;AAEA,wBAAsB;AACpB,0BAAuB,YAAW;IACnC;;uBAGC,mBAOM,OAAA;IANH,IAAE,CAAG,aAAA,QAAe,QAAA,KAAK,KAAA;aACtB;IAAJ,KAAI;IACH,oBAAgB,CAAG,aAAA;IACpB,eAAY;IACX,OAAK,eAAA,EAAA,QAAY,aAAA,QAAe,KAAA,IAAS,GAAM,kBAAA,MAAiB,KAAA,CAAA;OACrD,aAAA,QAAZ,WAA4B,KAAA,QAAA,WAAA,EAAA,KAAA,GAAA,CAAA,GAAA,mBAAA,IAAA,KAAA,CAAA,EAAA,IAAA,WAAA"}
1
+ {"version":3,"file":"Lazy.vue.script.js","names":[],"sources":["../../../src/components/Lazy/Lazy.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * Lazily renders content when the element is within the viewport overscan.\n * Uses a fixed-height placeholder so layout is stable while we block during render.\n *\n * When server-side rendering, content renders immediately.\n *\n * @link https://medium.com/js-dojo/lazy-rendering-in-vue-to-improve-performance-dcccd445d5f\n */\n\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { computed, nextTick, onBeforeUnmount, onMounted, ref, watch } from 'vue'\n\nimport {\n getLazyPlaceholderHeight,\n requestLazyRender,\n setLazyPlaceholderHeight,\n useLazyBus,\n} from '@/helpers/lazy-bus'\n\nconst { id, expanded = false } = defineProps<{\n /** Identifier for this lazy section; used for scroll-to and bus registration. */\n id: string\n /** When true, render the slot so child Lazy placeholders mount (e.g. for navigation). */\n expanded?: boolean\n}>()\n\n/** Fixed height for all placeholders so we do not measure or jump. */\nconst PLACEHOLDER_HEIGHT_PX = 760\n\n/** Overscan: render items within this many pixels above and below the viewport. */\nconst VIEWPORT_OVERSCAN_PX = 1200\nconst VIEWPORT_ROOT_MARGIN = `${VIEWPORT_OVERSCAN_PX}px 0px`\n\nconst { isReady } = useLazyBus(id)\nconst lazyContainerRef = ref<HTMLElement | null>(null)\n\nconst placeholderHeight = ref(\n getLazyPlaceholderHeight(id) ?? PLACEHOLDER_HEIGHT_PX,\n)\nlet contentResizeObserver: ResizeObserver | null = null\n\n/** Once ready we always show (no eviction). Otherwise show when expanded (e.g. so child Lazy placeholders mount). */\nconst shouldRender = computed(() => isReady.value || expanded)\n\nonMounted(() => {\n if (typeof window === 'undefined') {\n return\n }\n\n if (!('IntersectionObserver' in window)) {\n requestLazyRender(id, true)\n return\n }\n\n useIntersectionObserver(\n lazyContainerRef,\n ([entry]) => {\n if (entry?.isIntersecting && !isReady.value) {\n requestLazyRender(id, true)\n }\n },\n { rootMargin: VIEWPORT_ROOT_MARGIN },\n )\n})\n\n/**\n * Capture content height right before we switch to placeholder (pre-flush so content\n * is still in the DOM). Ensures we never measure the container or leave the cache stale.\n */\nwatch(\n () => shouldRender.value,\n (rendered, wasRendered) => {\n if (wasRendered && !rendered && lazyContainerRef.value) {\n const h = lazyContainerRef.value.offsetHeight\n if (Number.isFinite(h) && h > 0) {\n placeholderHeight.value = h\n setLazyPlaceholderHeight(id, h)\n }\n }\n },\n { flush: 'pre' },\n)\n\n/** When content is visible, set up ResizeObserver and measure. */\nwatch(\n () => shouldRender.value,\n (rendered) => {\n if (!rendered) {\n contentResizeObserver?.disconnect()\n contentResizeObserver = null\n return\n }\n void nextTick(() => {\n if (!lazyContainerRef.value || typeof ResizeObserver === 'undefined') {\n return\n }\n if (!contentResizeObserver) {\n contentResizeObserver = new ResizeObserver(() => {\n if (!lazyContainerRef.value) {\n return\n }\n const h = lazyContainerRef.value.offsetHeight\n if (Number.isFinite(h) && h > 0) {\n placeholderHeight.value = h\n setLazyPlaceholderHeight(id, h)\n }\n })\n }\n contentResizeObserver.observe(lazyContainerRef.value)\n const h = lazyContainerRef.value.offsetHeight\n if (Number.isFinite(h) && h > 0) {\n placeholderHeight.value = h\n setLazyPlaceholderHeight(id, h)\n }\n })\n },\n { immediate: true },\n)\n\nonBeforeUnmount(() => {\n contentResizeObserver?.disconnect()\n})\n</script>\n<template>\n <div\n :id=\"!shouldRender ? id : undefined\"\n ref=\"lazyContainerRef\"\n :data-placeholder=\"!shouldRender\"\n data-testid=\"lazy-container\"\n :style=\"{ height: shouldRender ? undefined : `${placeholderHeight}px` }\">\n <slot v-if=\"shouldRender\" />\n </div>\n</template>\n"],"mappings":";;;;;AA4BA,IAAM,wBAAwB;;AAG9B,IAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;EAC7B,MAAM,uBAAuB,GAAG,qBAAqB;EAErD,MAAM,EAAE,YAAY,WAAW,QAAA,EAAE;EACjC,MAAM,mBAAmB,IAAwB,IAAI;EAErD,MAAM,oBAAoB,IACxB,yBAAyB,QAAA,EAAE,KAAK,qBAClC;EACA,IAAI,wBAA+C;;EAGnD,MAAM,eAAe,eAAe,QAAQ,SAAS,QAAA,QAAQ;EAE7D,gBAAgB;GACd,IAAI,OAAO,WAAW,aACpB;GAGF,IAAI,EAAE,0BAA0B,SAAS;IACvC,kBAAkB,QAAA,IAAI,IAAI;IAC1B;GACF;GAEA,wBACE,mBACC,CAAC,WAAW;IACX,IAAI,OAAO,kBAAkB,CAAC,QAAQ,OACpC,kBAAkB,QAAA,IAAI,IAAI;GAE9B,GACA,EAAE,YAAY,qBAAqB,CACrC;EACF,CAAC;;;;;EAMD,YACQ,aAAa,QAClB,UAAU,gBAAgB;GACzB,IAAI,eAAe,CAAC,YAAY,iBAAiB,OAAO;IACtD,MAAM,IAAI,iBAAiB,MAAM;IACjC,IAAI,OAAO,SAAS,CAAC,KAAK,IAAI,GAAG;KAC/B,kBAAkB,QAAQ;KAC1B,yBAAyB,QAAA,IAAI,CAAC;IAChC;GACF;EACF,GACA,EAAE,OAAO,MAAM,CACjB;;EAGA,YACQ,aAAa,QAClB,aAAa;GACZ,IAAI,CAAC,UAAU;IACb,uBAAuB,WAAW;IAClC,wBAAwB;IACxB;GACF;GACA,eAAoB;IAClB,IAAI,CAAC,iBAAiB,SAAS,OAAO,mBAAmB,aACvD;IAEF,IAAI,CAAC,uBACH,wBAAwB,IAAI,qBAAqB;KAC/C,IAAI,CAAC,iBAAiB,OACpB;KAEF,MAAM,IAAI,iBAAiB,MAAM;KACjC,IAAI,OAAO,SAAS,CAAC,KAAK,IAAI,GAAG;MAC/B,kBAAkB,QAAQ;MAC1B,yBAAyB,QAAA,IAAI,CAAC;KAChC;IACF,CAAC;IAEH,sBAAsB,QAAQ,iBAAiB,KAAK;IACpD,MAAM,IAAI,iBAAiB,MAAM;IACjC,IAAI,OAAO,SAAS,CAAC,KAAK,IAAI,GAAG;KAC/B,kBAAkB,QAAQ;KAC1B,yBAAyB,QAAA,IAAI,CAAC;IAChC;GACF,CAAC;EACH,GACA,EAAE,WAAW,KAAK,CACpB;EAEA,sBAAsB;GACpB,uBAAuB,WAAW;EACpC,CAAC;;uBAGC,mBAOM,OAAA;IANH,IAAE,CAAG,aAAA,QAAe,QAAA,KAAK,KAAA;aACtB;IAAJ,KAAI;IACH,oBAAgB,CAAG,aAAA;IACpB,eAAY;IACX,OAAK,eAAA,EAAA,QAAY,aAAA,QAAe,KAAA,IAAS,GAAM,kBAAA,MAAiB,IAAA,CAAA;OACrD,aAAA,QAAZ,WAA4B,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,KAAA,GAAA,CAAA,IAAA,mBAAA,IAAA,IAAA,CAAA,GAAA,IAAA,UAAA"}
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
2
2
  import LinkList_vue_vue_type_script_setup_true_lang_default from "./LinkList.vue.script.js";
3
3
  /* empty css */
4
4
  //#region src/components/LinkList/LinkList.vue
5
- var LinkList_default = /* @__PURE__ */ _plugin_vue_export_helper_default(LinkList_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-dc833d99"]]);
5
+ var LinkList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(LinkList_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-dc833d99"]]);
6
6
  //#endregion
7
7
  export { LinkList_default as default };
8
8
 
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock, defineComponent, normalizeClass, onMounted, onUnmounted, openBlock, ref, renderSlot } from "vue";
2
2
  //#region src/components/LinkList/LinkList.vue?vue&type=script&setup=true&lang.ts
3
- var LinkList_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
3
+ var LinkList_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
4
4
  __name: "LinkList",
5
5
  setup(__props) {
6
6
  const containerRef = ref();
@@ -1 +1 @@
1
- {"version":3,"file":"LinkList.vue.script.js","names":[],"sources":["../../../src/components/LinkList/LinkList.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { onMounted, onUnmounted, ref } from 'vue'\n\nconst containerRef = ref<HTMLDivElement>()\n\n/** Whether the container needs to scroll */\nconst needsScroll = ref(false)\n\n/** Check if the container can scroll in either direction */\nconst checkScrollability = () => {\n if (!containerRef.value) {\n return\n }\n\n const { scrollWidth, clientWidth } = containerRef.value\n needsScroll.value = scrollWidth > clientWidth\n}\n\n/** MutationObserver to watch for changes in child elements */\nlet mutationObserver: MutationObserver | null = null\n\n/**\n * We use the mutation observer to watch for changes and check if we need to scroll,\n * if we do need to scroll we apply the icons-only class to the container\n */\nonMounted(() => {\n checkScrollability()\n\n // Re-check on window resize\n window.addEventListener('resize', checkScrollability)\n\n // Watch for changes in child elements\n if (containerRef.value) {\n mutationObserver = new MutationObserver(() => {\n checkScrollability()\n })\n\n mutationObserver.observe(containerRef.value, {\n childList: true,\n subtree: true,\n })\n }\n})\n\nonUnmounted(() => {\n // Clean up event listeners and observer\n window.removeEventListener('resize', checkScrollability)\n\n if (mutationObserver) {\n mutationObserver.disconnect()\n mutationObserver = null\n }\n})\n</script>\n\n<template>\n <div\n ref=\"containerRef\"\n class=\"custom-scroll narrow:mb-3 mb-1.5 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap\"\n :class=\"{ 'icons-only': needsScroll }\">\n <slot />\n </div>\n</template>\n\n<style scoped>\n.icons-only :deep(span) {\n display: none;\n}\n</style>\n"],"mappings":";;;;;EAGA,MAAM,eAAe,KAAoB;;EAGzC,MAAM,cAAc,IAAI,MAAK;;EAG7B,MAAM,2BAA2B;AAC/B,OAAI,CAAC,aAAa,MAChB;GAGF,MAAM,EAAE,aAAa,gBAAgB,aAAa;AAClD,eAAY,QAAQ,cAAc;;;EAIpC,IAAI,mBAA4C;;;;;AAMhD,kBAAgB;AACd,uBAAmB;AAGnB,UAAO,iBAAiB,UAAU,mBAAkB;AAGpD,OAAI,aAAa,OAAO;AACtB,uBAAmB,IAAI,uBAAuB;AAC5C,yBAAmB;MACpB;AAED,qBAAiB,QAAQ,aAAa,OAAO;KAC3C,WAAW;KACX,SAAS;KACV,CAAA;;IAEJ;AAED,oBAAkB;AAEhB,UAAO,oBAAoB,UAAU,mBAAkB;AAEvD,OAAI,kBAAkB;AACpB,qBAAiB,YAAW;AAC5B,uBAAmB;;IAEtB;;uBAIC,mBAKM,OAAA;aAJA;IAAJ,KAAI;IACJ,OAAK,eAAA,CAAC,kIAAgI,EAAA,cAC9G,YAAA,OAAW,CAAA,CAAA;OACnC,WAAQ,KAAA,QAAA,WAAA,EAAA,EAAA,KAAA,GAAA,KAAA,CAAA,EAAA,EAAA"}
1
+ {"version":3,"file":"LinkList.vue.script.js","names":[],"sources":["../../../src/components/LinkList/LinkList.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { onMounted, onUnmounted, ref } from 'vue'\n\nconst containerRef = ref<HTMLDivElement>()\n\n/** Whether the container needs to scroll */\nconst needsScroll = ref(false)\n\n/** Check if the container can scroll in either direction */\nconst checkScrollability = () => {\n if (!containerRef.value) {\n return\n }\n\n const { scrollWidth, clientWidth } = containerRef.value\n needsScroll.value = scrollWidth > clientWidth\n}\n\n/** MutationObserver to watch for changes in child elements */\nlet mutationObserver: MutationObserver | null = null\n\n/**\n * We use the mutation observer to watch for changes and check if we need to scroll,\n * if we do need to scroll we apply the icons-only class to the container\n */\nonMounted(() => {\n checkScrollability()\n\n // Re-check on window resize\n window.addEventListener('resize', checkScrollability)\n\n // Watch for changes in child elements\n if (containerRef.value) {\n mutationObserver = new MutationObserver(() => {\n checkScrollability()\n })\n\n mutationObserver.observe(containerRef.value, {\n childList: true,\n subtree: true,\n })\n }\n})\n\nonUnmounted(() => {\n // Clean up event listeners and observer\n window.removeEventListener('resize', checkScrollability)\n\n if (mutationObserver) {\n mutationObserver.disconnect()\n mutationObserver = null\n }\n})\n</script>\n\n<template>\n <div\n ref=\"containerRef\"\n class=\"custom-scroll narrow:mb-3 mb-1.5 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap\"\n :class=\"{ 'icons-only': needsScroll }\">\n <slot />\n </div>\n</template>\n\n<style scoped>\n.icons-only :deep(span) {\n display: none;\n}\n</style>\n"],"mappings":";;;;;EAGA,MAAM,eAAe,IAAoB;;EAGzC,MAAM,cAAc,IAAI,KAAK;;EAG7B,MAAM,2BAA2B;GAC/B,IAAI,CAAC,aAAa,OAChB;GAGF,MAAM,EAAE,aAAa,gBAAgB,aAAa;GAClD,YAAY,QAAQ,cAAc;EACpC;;EAGA,IAAI,mBAA4C;;;;;EAMhD,gBAAgB;GACd,mBAAmB;GAGnB,OAAO,iBAAiB,UAAU,kBAAkB;GAGpD,IAAI,aAAa,OAAO;IACtB,mBAAmB,IAAI,uBAAuB;KAC5C,mBAAmB;IACrB,CAAC;IAED,iBAAiB,QAAQ,aAAa,OAAO;KAC3C,WAAW;KACX,SAAS;IACX,CAAC;GACH;EACF,CAAC;EAED,kBAAkB;GAEhB,OAAO,oBAAoB,UAAU,kBAAkB;GAEvD,IAAI,kBAAkB;IACpB,iBAAiB,WAAW;IAC5B,mBAAmB;GACrB;EACF,CAAC;;uBAIC,mBAKM,OAAA;aAJA;IAAJ,KAAI;IACJ,OAAK,eAAA,CAAC,kIAAgI,EAAA,cAC9G,YAAA,MAAW,CAAA,CAAA;OACnC,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,IAAA,CAAA,GAAA,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"MobileHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/MobileHeader.vue"],"names":[],"mappings":"AAyFA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;CACrB,CAAC;AASF,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,IAAI,KAAK,CAAA;IACjB,OAAO,CAAC,CAAC,KAAK,EAAE;QAAE,cAAc,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAA;IAClD,MAAM,CAAC,IAAI,KAAK,CAAA;CACjB,CAAC;AAgIF,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"}
1
+ {"version":3,"file":"MobileHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/MobileHeader.vue"],"names":[],"mappings":"AAyFA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;CACrB,CAAC;AASF,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,IAAI,KAAK,CAAA;IACjB,OAAO,CAAC,CAAC,KAAK,EAAE;QAAE,cAAc,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAA;IAClD,MAAM,CAAC,IAAI,KAAK,CAAA;CACjB,CAAC;AAiIF,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"}
@@ -1,5 +1,5 @@
1
1
  import { useLocalization } from "../features/localization/use-localization.js";
2
- import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, renderSlot, toDisplayString, unref } from "vue";
2
+ import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, renderSlot, toDisplayString, unref } from "vue";
3
3
  import { ScalarIconList, ScalarIconX } from "@scalar/icons";
4
4
  import { ScalarIconButton } from "@scalar/components/icon-button";
5
5
  import { cva } from "@scalar/use-hooks/useBindCx";
@@ -10,7 +10,7 @@ var _hoisted_2 = {
10
10
  class: "flex-1 text-sm font-medium whitespace-nowrap"
11
11
  };
12
12
  var _hoisted_3 = { class: "flex h-6 items-center gap-1 pl-1" };
13
- var MobileHeader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
13
+ var MobileHeader_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
14
14
  __name: "MobileHeader",
15
15
  props: {
16
16
  breadcrumb: {},
@@ -34,9 +34,9 @@ var MobileHeader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
34
34
  size: "md",
35
35
  onClick: _cache[0] || (_cache[0] = ($event) => emit("toggleSidebar"))
36
36
  }, null, 8, ["icon", "label"])) : createCommentVNode("", true),
37
- __props.showSidebar ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.breadcrumb), 1)) : renderSlot(_ctx.$slots, "search", { key: 2 }),
37
+ __props.showSidebar ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.breadcrumb), 1)) : renderSlot(_ctx.$slots, "search", {}, void 0, void 0, 2),
38
38
  createElementVNode("div", _hoisted_3, [renderSlot(_ctx.$slots, "actions")])
39
- ]), __props.isSidebarOpen ? renderSlot(_ctx.$slots, "sidebar", normalizeProps(mergeProps({ key: 0 }, { sidebarClasses: "overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none" }))) : createCommentVNode("", true)], 2)], 64);
39
+ ]), __props.isSidebarOpen ? renderSlot(_ctx.$slots, "sidebar", normalizeProps(guardReactiveProps({ sidebarClasses: "overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none" })), void 0, void 0, 0) : createCommentVNode("", true)], 2)], 64);
40
40
  };
41
41
  }
42
42
  });
@@ -1 +1 @@
1
- {"version":3,"file":"MobileHeader.vue.script.js","names":[],"sources":["../../src/components/MobileHeader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarIconButton } from '@scalar/components/icon-button'\nimport { ScalarIconList, ScalarIconX } from '@scalar/icons'\nimport { cva } from '@scalar/use-hooks/useBindCx'\n\nimport { useLocalization } from '@/features/localization'\n\ndefineProps<{\n breadcrumb: string\n isSidebarOpen: boolean\n showSidebar: boolean\n}>()\nconst { translate } = useLocalization()\n\nconst emit = defineEmits<{\n (e: 'toggleSidebar'): void\n}>()\n\ndefineSlots<{\n actions?(): never\n sidebar?(props: { sidebarClasses: string }): never\n search?(): never\n}>()\n\nconst variants = cva({\n base: 'lg:hidden items-center bg-b-1 sticky top-(--scalar-custom-header-height,0) z-10 [grid-area:header]',\n variants: {\n open: {\n true: 'h-(--refs-sidebar-height) custom-scrollbar flex flex-col z-50',\n },\n },\n})\n</script>\n<template>\n <!-- Always render the desktop sidebar slot and let CSS handle breakpoints -->\n <slot\n v-bind=\"{\n sidebarClasses:\n 'hidden lg:flex sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]',\n }\"\n name=\"sidebar\" />\n <div\n class=\"t-doc__header\"\n :class=\"variants({ open: isSidebarOpen })\">\n <header\n class=\"flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2\">\n <ScalarIconButton\n v-if=\"showSidebar\"\n :icon=\"isSidebarOpen ? ScalarIconX : ScalarIconList\"\n :label=\"\n isSidebarOpen\n ? translate('navigation.closeMenu')\n : translate('navigation.openMenu')\n \"\n size=\"md\"\n @click=\"emit('toggleSidebar')\" />\n\n <span\n v-if=\"showSidebar\"\n class=\"flex-1 text-sm font-medium whitespace-nowrap\">\n {{ breadcrumb }}\n </span>\n <slot\n v-else\n name=\"search\" />\n\n <div class=\"flex h-6 items-center gap-1 pl-1\">\n <slot name=\"actions\" />\n </div>\n </header>\n <!-- In mobile layout, render the sidebar slot into the header panel -->\n <slot\n v-if=\"isSidebarOpen\"\n v-bind=\"{\n sidebarClasses:\n 'overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none',\n }\"\n name=\"sidebar\" />\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;EAYA,MAAM,EAAE,cAAc,iBAAgB;EAEtC,MAAM,OAAO;EAUb,MAAM,WAAW,IAAI;GACnB,MAAM;GACN,UAAU,EACR,MAAM,EACJ,MAAM,iEACP,EACF;GACF,CAAA;;2DAIC,WAKmB,KAAA,QAAA,WAAA,eAAA,mBAJT,EAAA,gBAAA,8HAGP,CAAA,CAAA,CAAA,EAEH,mBAqCM,OAAA,EApCJ,OAAK,eAAA,CAAC,iBACE,MAAA,SAAQ,CAAA,EAAA,MAAS,QAAA,eAAa,CAAA,CAAA,CAAA,EAAA,EAAA,CACtC,mBAyBS,UAzBT,YAyBS;IAtBC,QAAA,eAAA,WAAA,EADR,YASmC,MAAA,iBAAA,EAAA;;KAPhC,MAAM,QAAA,gBAAgB,MAAA,YAAW,GAAG,MAAA,eAAc;KAClD,OAAkB,QAAA,gBAA4B,MAAA,UAAS,CAAA,uBAAA,GAAuC,MAAA,UAAS,CAAA,sBAAA;KAKxG,MAAK;KACJ,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,gBAAA;;IAGN,QAAA,eAAA,WAAA,EADR,mBAIO,QAJP,YAIO,gBADF,QAAA,WAAU,EAAA,EAAA,IAEf,WAEkB,KAAA,QAAA,UAAA,EAAA,KAAA,GAAA,CAAA;IAElB,mBAEM,OAFN,YAEM,CADJ,WAAuB,KAAA,QAAA,UAAA,CAAA,CAAA;OAKnB,QAAA,gBADR,WAMmB,KAAA,QAAA,WAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAJT,EAAA,gBAAA,sEAGP,CAAA,CAAA,CAAA,GAAA,mBAAA,IAAA,KAAA,CAAA,EAAA,EAAA,CAAA,EAAA,GAAA"}
1
+ {"version":3,"file":"MobileHeader.vue.script.js","names":[],"sources":["../../src/components/MobileHeader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarIconButton } from '@scalar/components/icon-button'\nimport { ScalarIconList, ScalarIconX } from '@scalar/icons'\nimport { cva } from '@scalar/use-hooks/useBindCx'\n\nimport { useLocalization } from '@/features/localization'\n\ndefineProps<{\n breadcrumb: string\n isSidebarOpen: boolean\n showSidebar: boolean\n}>()\nconst { translate } = useLocalization()\n\nconst emit = defineEmits<{\n (e: 'toggleSidebar'): void\n}>()\n\ndefineSlots<{\n actions?(): never\n sidebar?(props: { sidebarClasses: string }): never\n search?(): never\n}>()\n\nconst variants = cva({\n base: 'lg:hidden items-center bg-b-1 sticky top-(--scalar-custom-header-height,0) z-10 [grid-area:header]',\n variants: {\n open: {\n true: 'h-(--refs-sidebar-height) custom-scrollbar flex flex-col z-50',\n },\n },\n})\n</script>\n<template>\n <!-- Always render the desktop sidebar slot and let CSS handle breakpoints -->\n <slot\n v-bind=\"{\n sidebarClasses:\n 'hidden lg:flex sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]',\n }\"\n name=\"sidebar\" />\n <div\n class=\"t-doc__header\"\n :class=\"variants({ open: isSidebarOpen })\">\n <header\n class=\"flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2\">\n <ScalarIconButton\n v-if=\"showSidebar\"\n :icon=\"isSidebarOpen ? ScalarIconX : ScalarIconList\"\n :label=\"\n isSidebarOpen\n ? translate('navigation.closeMenu')\n : translate('navigation.openMenu')\n \"\n size=\"md\"\n @click=\"emit('toggleSidebar')\" />\n\n <span\n v-if=\"showSidebar\"\n class=\"flex-1 text-sm font-medium whitespace-nowrap\">\n {{ breadcrumb }}\n </span>\n <slot\n v-else\n name=\"search\" />\n\n <div class=\"flex h-6 items-center gap-1 pl-1\">\n <slot name=\"actions\" />\n </div>\n </header>\n <!-- In mobile layout, render the sidebar slot into the header panel -->\n <slot\n v-if=\"isSidebarOpen\"\n v-bind=\"{\n sidebarClasses:\n 'overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none',\n }\"\n name=\"sidebar\" />\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;EAYA,MAAM,EAAE,cAAc,gBAAgB;EAEtC,MAAM,OAAO;EAUb,MAAM,WAAW,IAAI;GACnB,MAAM;GACN,UAAU,EACR,MAAM,EACJ,MAAM,gEACR,EACF;EACF,CAAC;;2DAIC,WAKmB,KAAA,QAAA,WAAA,eAAA,mBAJT,EAAA,gBAAA,6HAAA,CAGP,CAAA,CAAA,GAEH,mBAqCM,OAAA,EApCJ,OAAK,eAAA,CAAC,iBACE,MAAA,QAAA,CAAQ,CAAA,EAAA,MAAS,QAAA,cAAa,CAAA,CAAA,CAAA,EAAA,GAAA,CACtC,mBAyBS,UAzBT,YAyBS;IAtBC,QAAA,eAAA,UAAA,GADR,YASmC,MAAA,gBAAA,GAAA;;KAPhC,MAAM,QAAA,gBAAgB,MAAA,WAAA,IAAc,MAAA,cAAA;KACpC,OAAkB,QAAA,gBAA4B,MAAA,SAAA,CAAS,CAAA,sBAAA,IAAuC,MAAA,SAAA,CAAS,CAAA,qBAAA;KAKxG,MAAK;KACJ,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,eAAA;;IAGN,QAAA,eAAA,UAAA,GADR,mBAIO,QAJP,YAIO,gBADF,QAAA,UAAU,GAAA,CAAA,KAEf,WAEkB,KAAA,QAAA,UAAA,CAAA,GAAA,KAAA,GAAA,KAAA,GAAA,CAAA;IAElB,mBAEM,OAFN,YAEM,CADJ,WAAuB,KAAA,QAAA,SAAA,CAAA,CAAA;OAKnB,QAAA,gBADR,WAMmB,KAAA,QAAA,WAAA,eAAA,mBAJT,EAAA,gBAAA,qEAAA,CAGP,CAAA,GAAA,KAAA,GAAA,KAAA,GAAA,CAAA,IAAA,mBAAA,IAAA,IAAA,CAAA,GAAA,CAAA,CAAA,GAAA,EAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"OperationPath.vue.d.ts","sourceRoot":"","sources":["../../src/components/OperationPath.vue"],"names":[],"mappings":"AAyCA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;AAoDF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"OperationPath.vue.d.ts","sourceRoot":"","sources":["../../src/components/OperationPath.vue"],"names":[],"mappings":"AAyCA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;AAsDF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../_virtual/_plugin-vue_export-he
2
2
  import OperationPath_vue_vue_type_script_setup_true_lang_default from "./OperationPath.vue.script.js";
3
3
  /* empty css */
4
4
  //#region src/components/OperationPath.vue
5
- var OperationPath_default = /* @__PURE__ */ _plugin_vue_export_helper_default(OperationPath_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ec6c8861"]]);
5
+ var OperationPath_default = /*#__PURE__*/ _plugin_vue_export_helper_default(OperationPath_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ec6c8861"]]);
6
6
  //#endregion
7
7
  export { OperationPath_default as default };
8
8
 
@@ -1,7 +1,7 @@
1
1
  import { Fragment, computed, createElementBlock, createTextVNode, defineComponent, normalizeClass, openBlock, renderList, toDisplayString } from "vue";
2
2
  //#region src/components/OperationPath.vue?vue&type=script&setup=true&lang.ts
3
3
  var _hoisted_1 = { key: 0 };
4
- var OperationPath_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
4
+ var OperationPath_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
5
5
  __name: "OperationPath",
6
6
  props: {
7
7
  path: {},
@@ -1 +1 @@
1
- {"version":3,"file":"OperationPath.vue.script.js","names":[],"sources":["../../src/components/OperationPath.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nconst props = defineProps<{\n path: string\n deprecated?: boolean\n}>()\n\nconst isVariable = (part: string) => part.startsWith('{') && part.endsWith('}')\n\n// Split on the path variables\nconst pathParts = computed<string[]>(() => props.path.split(/({[^}]+})/))\n</script>\n<template>\n <span\n class=\"operation-path\"\n :class=\"{ deprecated: deprecated }\">\n <template\n v-for=\"(part, i) in pathParts\"\n :key=\"i\">\n <em v-if=\"isVariable(part)\">{{ part }}</em>\n <template v-else>{{ part }}</template>\n </template>\n </span>\n</template>\n<style scoped>\n.operation-path {\n overflow: hidden;\n word-wrap: break-word;\n font-weight: var(--scalar-semibold);\n line-break: anywhere;\n}\n.deprecated {\n text-decoration: line-through;\n}\n</style>\n"],"mappings":";;;;;;;;;;EAGA,MAAM,QAAQ;EAKd,MAAM,cAAc,SAAiB,KAAK,WAAW,IAAI,IAAI,KAAK,SAAS,IAAG;EAG9E,MAAM,YAAY,eAAyB,MAAM,KAAK,MAAM,YAAY,CAAA;;uBAGtE,mBASO,QAAA,EARL,OAAK,eAAA,CAAC,kBAAgB,EAAA,YACA,QAAA,YAAU,CAAA,CAAA,EAAA,EAAA,EAAA,UAAA,KAAA,EAChC,mBAKW,UAAA,MAAA,WAJW,UAAA,QAAZ,MAAM,MAAC;4DACT,GAAC,EAAA,CACG,WAAW,KAAI,IAAA,WAAA,EAAzB,mBAA2C,MAAA,YAAA,gBAAZ,KAAI,EAAA,EAAA,KAAA,WAAA,EACnC,mBAAsC,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,gBAAA,gBAAlB,KAAI,EAAA,EAAA,CAAA,EAAA,GAAA,EAAA,EAAA,GAAA"}
1
+ {"version":3,"file":"OperationPath.vue.script.js","names":[],"sources":["../../src/components/OperationPath.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nconst props = defineProps<{\n path: string\n deprecated?: boolean\n}>()\n\nconst isVariable = (part: string) => part.startsWith('{') && part.endsWith('}')\n\n// Split on the path variables\nconst pathParts = computed<string[]>(() => props.path.split(/({[^}]+})/))\n</script>\n<template>\n <span\n class=\"operation-path\"\n :class=\"{ deprecated: deprecated }\">\n <template\n v-for=\"(part, i) in pathParts\"\n :key=\"i\">\n <em v-if=\"isVariable(part)\">{{ part }}</em>\n <template v-else>{{ part }}</template>\n </template>\n </span>\n</template>\n<style scoped>\n.operation-path {\n overflow: hidden;\n word-wrap: break-word;\n font-weight: var(--scalar-semibold);\n line-break: anywhere;\n}\n.deprecated {\n text-decoration: line-through;\n}\n</style>\n"],"mappings":";;;;;;;;;;EAGA,MAAM,QAAQ;EAKd,MAAM,cAAc,SAAiB,KAAK,WAAW,GAAG,KAAK,KAAK,SAAS,GAAG;EAG9E,MAAM,YAAY,eAAyB,MAAM,KAAK,MAAM,WAAW,CAAC;;uBAGtE,mBASO,QAAA,EARL,OAAK,eAAA,CAAC,kBAAgB,EAAA,YACA,QAAA,WAAU,CAAA,CAAA,EAAA,GAAA,EAAA,UAAA,IAAA,GAChC,mBAKW,UAAA,MAAA,WAJW,UAAA,QAAZ,MAAM,MAAC;4DACT,EAAC,GAAA,CACG,WAAW,IAAI,KAAA,UAAA,GAAzB,mBAA2C,MAAA,YAAA,gBAAZ,IAAI,GAAA,CAAA,MAAA,UAAA,GACnC,mBAAsC,UAAA,EAAA,KAAA,EAAA,GAAA,CAAA,gBAAA,gBAAlB,IAAI,GAAA,CAAA,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA"}
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
2
2
  import OperationsList_vue_vue_type_script_setup_true_lang_default from "./OperationsList.vue.script.js";
3
3
  /* empty css */
4
4
  //#region src/components/OperationsList/OperationsList.vue
5
- var OperationsList_default = /* @__PURE__ */ _plugin_vue_export_helper_default(OperationsList_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-0315c99b"]]);
5
+ var OperationsList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(OperationsList_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-0315c99b"]]);
6
6
  //#endregion
7
7
  export { OperationsList_default as default };
8
8
 
@@ -5,7 +5,7 @@ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock
5
5
  import { ScalarCard, ScalarCardHeader, ScalarCardSection } from "@scalar/components/card";
6
6
  //#region src/components/OperationsList/OperationsList.vue?vue&type=script&setup=true&lang.ts
7
7
  var _hoisted_1 = ["aria-label"];
8
- var OperationsList_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
8
+ var OperationsList_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
9
9
  __name: "OperationsList",
10
10
  props: {
11
11
  tag: {},
@@ -1 +1 @@
1
- {"version":3,"file":"OperationsList.vue.script.js","names":[],"sources":["../../../src/components/OperationsList/OperationsList.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n ScalarCard,\n ScalarCardHeader,\n ScalarCardSection,\n} from '@scalar/components/card'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport type { TraversedTag } from '@scalar/workspace-store/schemas/navigation'\nimport { computed } from 'vue'\n\nimport ScreenReader from '@/components/ScreenReader.vue'\nimport { useLocalization } from '@/features/localization'\n\nimport OperationsListItem from './OperationsListItem.vue'\n\nconst { tag } = defineProps<{\n tag: TraversedTag\n eventBus: WorkspaceEventBus | null\n}>()\nconst { translate } = useLocalization()\n\nconst operationsAndWebhooks = computed(() => {\n return (\n tag.children?.filter(\n (child) => child.type === 'operation' || child.type === 'webhook',\n ) ?? []\n )\n})\n</script>\n\n<template>\n <template v-if=\"tag.children && tag.children?.length > 0\">\n <ScalarCard class=\"endpoints-card\">\n <ScalarCardHeader muted>\n <ScreenReader>{{ tag.title }}</ScreenReader>\n {{\n tag.isWebhooks\n ? translate('navigation.webhooks')\n : translate('navigation.operations')\n }}\n </ScalarCardHeader>\n <ScalarCardSection class=\"custom-scroll max-h-[60vh]\">\n <ul\n :aria-label=\"translate('navigation.endpoints', { name: tag.title })\"\n class=\"endpoints\">\n <OperationsListItem\n v-for=\"operationOrWebhook in operationsAndWebhooks\"\n :key=\"operationOrWebhook.id\"\n :eventBus=\"eventBus\"\n :operation=\"operationOrWebhook\" />\n </ul>\n </ScalarCardSection>\n </ScalarCard>\n </template>\n</template>\n\n<style scoped>\n.endpoints-card {\n position: sticky;\n top: calc(var(--refs-viewport-offset) + 24px);\n font-size: var(--scalar-font-size-3);\n}\n.endpoints {\n overflow: auto;\n background: var(--scalar-background-2);\n padding: 10px 12px;\n width: 100%;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;EAmBA,MAAM,EAAE,cAAc,iBAAgB;EAEtC,MAAM,wBAAwB,eAAe;AAC3C,UACE,QAAA,IAAI,UAAU,QACX,UAAU,MAAM,SAAS,eAAe,MAAM,SAAS,UACzD,IAAI,EAAC;IAET;;UAIiB,QAAA,IAAI,YAAY,QAAA,IAAI,UAAU,SAAM,KAAA,WAAA,EAClD,YAoBa,MAAA,WAAA,EAAA;;IApBD,OAAM;;2BAQG,CAPnB,YAOmB,MAAA,iBAAA,EAAA,EAPD,OAAA,IAAK,EAAA;4BACuB,CAA5C,YAA4C,sBAAA,MAAA;6BAAf,CAAA,gBAAA,gBAAZ,QAAA,IAAI,MAAK,EAAA,EAAA,CAAA,CAAA;;yBAAkB,MAC5C,gBACE,QAAA,IAAI,aAAyB,MAAA,UAAS,CAAA,sBAAA,GAAsC,MAAA,UAAS,CAAA,wBAAA,CAAA,EAAA,EAAA,CAAA,CAAA;;QAKzF,YAUoB,MAAA,kBAAA,EAAA,EAVD,OAAM,8BAA4B,EAAA;4BAS9C,CARL,mBAQK,MAAA;MAPF,cAAY,MAAA,UAAS,CAAA,wBAAA,EAAA,MAAiC,QAAA,IAAI,OAAK,CAAA;MAChE,OAAM;2BACN,mBAIoC,UAAA,MAAA,WAHL,sBAAA,QAAtB,uBAAkB;0BAD3B,YAIoC,4BAAA;OAFjC,KAAK,mBAAmB;OACxB,UAAU,QAAA;OACV,WAAW"}
1
+ {"version":3,"file":"OperationsList.vue.script.js","names":[],"sources":["../../../src/components/OperationsList/OperationsList.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n ScalarCard,\n ScalarCardHeader,\n ScalarCardSection,\n} from '@scalar/components/card'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport type { TraversedTag } from '@scalar/workspace-store/schemas/navigation'\nimport { computed } from 'vue'\n\nimport ScreenReader from '@/components/ScreenReader.vue'\nimport { useLocalization } from '@/features/localization'\n\nimport OperationsListItem from './OperationsListItem.vue'\n\nconst { tag } = defineProps<{\n tag: TraversedTag\n eventBus: WorkspaceEventBus | null\n}>()\nconst { translate } = useLocalization()\n\nconst operationsAndWebhooks = computed(() => {\n return (\n tag.children?.filter(\n (child) => child.type === 'operation' || child.type === 'webhook',\n ) ?? []\n )\n})\n</script>\n\n<template>\n <template v-if=\"tag.children && tag.children?.length > 0\">\n <ScalarCard class=\"endpoints-card\">\n <ScalarCardHeader muted>\n <ScreenReader>{{ tag.title }}</ScreenReader>\n {{\n tag.isWebhooks\n ? translate('navigation.webhooks')\n : translate('navigation.operations')\n }}\n </ScalarCardHeader>\n <ScalarCardSection class=\"custom-scroll max-h-[60vh]\">\n <ul\n :aria-label=\"translate('navigation.endpoints', { name: tag.title })\"\n class=\"endpoints\">\n <OperationsListItem\n v-for=\"operationOrWebhook in operationsAndWebhooks\"\n :key=\"operationOrWebhook.id\"\n :eventBus=\"eventBus\"\n :operation=\"operationOrWebhook\" />\n </ul>\n </ScalarCardSection>\n </ScalarCard>\n </template>\n</template>\n\n<style scoped>\n.endpoints-card {\n position: sticky;\n top: calc(var(--refs-viewport-offset) + 24px);\n font-size: var(--scalar-font-size-3);\n}\n.endpoints {\n overflow: auto;\n background: var(--scalar-background-2);\n padding: 10px 12px;\n width: 100%;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;EAmBA,MAAM,EAAE,cAAc,gBAAgB;EAEtC,MAAM,wBAAwB,eAAe;GAC3C,OACE,QAAA,IAAI,UAAU,QACX,UAAU,MAAM,SAAS,eAAe,MAAM,SAAS,SAC1D,KAAK,CAAC;EAEV,CAAC;;UAIiB,QAAA,IAAI,YAAY,QAAA,IAAI,UAAU,SAAM,KAAA,UAAA,GAClD,YAoBa,MAAA,UAAA,GAAA;;IApBD,OAAM;;2BAQG,CAPnB,YAOmB,MAAA,gBAAA,GAAA,EAPD,OAAA,GAAK,GAAA;4BACuB,CAA5C,YAA4C,sBAAA,MAAA;6BAAf,CAAA,gBAAA,gBAAZ,QAAA,IAAI,KAAK,GAAA,CAAA,CAAA,CAAA;;yBAAkB,MAC5C,gBACE,QAAA,IAAI,aAAyB,MAAA,SAAA,CAAS,CAAA,qBAAA,IAAsC,MAAA,SAAA,CAAS,CAAA,uBAAA,CAAA,GAAA,CAAA,CAAA,CAAA;;QAKzF,YAUoB,MAAA,iBAAA,GAAA,EAVD,OAAM,6BAA4B,GAAA;4BAS9C,CARL,mBAQK,MAAA;MAPF,cAAY,MAAA,SAAA,CAAS,CAAA,wBAAA,EAAA,MAAiC,QAAA,IAAI,MAAK,CAAA;MAChE,OAAM;2BACN,mBAIoC,UAAA,MAAA,WAHL,sBAAA,QAAtB,uBAAkB;0BAD3B,YAIoC,4BAAA;OAFjC,KAAK,mBAAmB;OACxB,UAAU,QAAA;OACV,WAAW"}
@@ -2,7 +2,7 @@ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export
2
2
  import OperationsListItem_vue_vue_type_script_setup_true_lang_default from "./OperationsListItem.vue.script.js";
3
3
  /* empty css */
4
4
  //#region src/components/OperationsList/OperationsListItem.vue
5
- var OperationsListItem_default = /* @__PURE__ */ _plugin_vue_export_helper_default(OperationsListItem_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ad8530a6"]]);
5
+ var OperationsListItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(OperationsListItem_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ad8530a6"]]);
6
6
  //#endregion
7
7
  export { OperationsListItem_default as default };
8
8
 
@@ -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 = /* @__PURE__ */ defineComponent({
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;AACjC,OAAI,UAAU,QAAA,UACZ,QAAO,QAAA,UAAU;AAGnB,UAAO,QAAA,UAAU;IAClB;EAED,MAAM,aACJ,eACmC,WAAW,SAAS;;uBAIvD,mBA+BK,MAAA;IA9BF,KAAK,QAAA,UAAU;IAChB,OAAM;OAGE,QAAA,eAAA,WAAA,EADR,YAKmB,MAAA,yBAAA,EAAA;;IAHjB,OAAM;IACL,OAAO;;2BACa,CAAA,gBAAA,gBAAlB,QAAA,UAAU,MAAK,GAAG,cACvB,EAAA,CAAA,CAAA;;uCACA,mBAoBI,KAAA;IAnBF,OAAM;IACL,SAAK,OAAA,OAAA,OAAA,KAAA,oBAAyB,QAAA,UAAU,KAAI,sBAAA,EAAA,IAA6B,QAAA,UAAU,IAAE,CAAA,EAAA,CAAA,UAAA,CAAA;OAGtF,YASa,MAAA,mBAAA,EAAA;IARX,OAAM;IACL,QAAQ,QAAA,UAAU;;2BAMZ,CAJC,UAAU,QAAA,UAAS,IAAA,WAAA,EAD3B,YAKO,MAAA,uBAAA,EAAA;;KAHL,OAAM;KACL,OAAK,eAAA,EAAA,OAAuB,MAAA,kBAAiB,CAAC,QAAA,UAAU,OAAM,CAAE,UAAA,CAAA;;;sBAIrE,mBAIO,QAAA,EAHL,OAAK,eAAA,CAAC,iBAAe,EAAA,YACC,QAAA,UAAU,cAAY,CAAA,CAAA,EAAA,EAAA,gBACzC,YAAA,MAAW,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA"}
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 = /* @__PURE__ */ defineComponent({
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,KAAI;;;;;;AAO3C,kBAAgB,UAAU;AACxB,OAAI,QAAA,KAAK,SAAS,KAChB,SAAA,UAAU,KAAK,yBAAyB,EAAE,IAAI,QAAA,KAAK,IAAI,CAAA;IAE1D;;uBAKC,mBAqBM,OAAA;IApBH,IAAI,QAAA,KAAK;aACN;IAAJ,KAAI;OACJ,YAiBsB,MAAA,oBAAA,EAAA,MAAA;2BAPT,CATK,QAAA,KAAK,YAAA,WAAA,EAEnB,YAMO,wBALA,QAAA,KAAK,SAAQ,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAAA;gBACe,QAAA,KAAK;cAAuB,QAAA;QAAwB,QAAA,KAAK;oCAQ5F,YAEwC,wBADjC,QAAA,KAAK,UAAS,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAAA;KAAA,SACT,QAAA;KAAO,GAAK,QAAA,KAAK;KAAK,CAAA,CAAA,EAAA,MAAA,GAAA,EAAA,CAAA"}
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 = /* @__PURE__ */ defineComponent({
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,kBAAiB;EAC/C,MAAM,aAAa,eAAe,kBAAkB,QAAA,UAAU,QAAA,aAAa,CAAA;;UAKjE,WAAA,MAAW,UAAA,WAAA,EADnB,mBASM,OATN,YASM,EAAA,UAAA,KAAA,EANJ,mBAKuB,UAAA,MAAA,WAJN,WAAA,QAAR,SAAI;wBADb,YAKuB,0BAAA;KAHpB,KAAK,KAAK;KACV,UAAU,QAAA;KACJ;KACN,SAAS,QAAA"}
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 = /* @__PURE__ */ _plugin_vue_export_helper_default(ScreenReader_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-df2e1026"]]);
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 = /* @__PURE__ */ defineComponent({
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", { key: 1 }, void 0, true);
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,WAAA,EADf,mBAIO,QAJP,YAIO,CADL,WAAQ,KAAA,QAAA,WAAA,EAAA,EAAA,KAAA,GAAA,KAAA,CAAA,CAAA,IAEV,WAAe,KAAA,QAAA,WAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,KAAA"}
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"}