@scalar/api-reference 1.34.5 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (398) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/browser/standalone.js +30859 -30766
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/Anchor.vue.d.ts +6 -11
  5. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  6. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts +11 -13
  7. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReference.vue.d.ts +14 -1
  9. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  10. package/dist/components/ApiReference.vue.js +24 -10
  11. package/dist/components/ApiReferenceLayout.vue.d.ts +7 -31
  12. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  13. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  14. package/dist/components/ApiReferenceLayout.vue2.js +179 -191
  15. package/dist/components/Badge/Badge.vue.d.ts +6 -11
  16. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  17. package/dist/components/ClassicHeader.vue.d.ts +8 -12
  18. package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
  19. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +1 -3
  20. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  21. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
  22. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  23. package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -1
  24. package/dist/components/Content/ClientLibraries/index.d.ts +1 -1
  25. package/dist/components/Content/Content.vue.d.ts +9 -12
  26. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  27. package/dist/components/Content/Content.vue.js +180 -36
  28. package/dist/components/Content/IntroductionSection.vue.d.ts +18 -0
  29. package/dist/components/Content/IntroductionSection.vue.d.ts.map +1 -0
  30. package/dist/components/Content/IntroductionSection.vue.js +26 -0
  31. package/dist/components/Content/IntroductionSection.vue2.js +4 -0
  32. package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -1
  33. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  34. package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
  36. package/dist/components/Content/Models/ModernLayout.vue2.js +6 -6
  37. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
  38. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +1 -5
  39. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +28 -35
  41. package/dist/components/Content/Operations/get-current-index.d.ts.map +1 -1
  42. package/dist/components/Content/Schema/RenderString.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  44. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  45. package/dist/components/Content/Schema/Schema.vue2.js +84 -81
  46. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +1 -1
  47. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  48. package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
  49. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts +1 -1
  50. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
  51. package/dist/components/Content/Schema/SchemaEnumValues.vue.d.ts.map +1 -1
  52. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  53. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +3 -0
  54. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
  55. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +49 -41
  56. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  57. package/dist/components/Content/Schema/SchemaProperty.vue2.js +1 -1
  58. package/dist/components/Content/Schema/SchemaPropertyDescription.vue.d.ts +6 -11
  59. package/dist/components/Content/Schema/SchemaPropertyDescription.vue.d.ts.map +1 -1
  60. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts +10 -13
  61. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
  62. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts.map +1 -1
  63. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +6 -11
  64. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  65. package/dist/components/Content/Schema/helpers/get-schema-type.d.ts.map +1 -1
  66. package/dist/components/Content/Schema/helpers/is-type-object.d.ts.map +1 -1
  67. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts +6 -11
  68. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -1
  69. package/dist/components/Content/Tags/ModernLayout.vue.d.ts +5 -63
  70. package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -1
  71. package/dist/components/Content/Tags/Tag.vue.d.ts +7 -11
  72. package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -1
  73. package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -1
  74. package/dist/components/Content/Tags/TagSection.vue.js +1 -1
  75. package/dist/components/GettingStarted.vue.d.ts +1 -1
  76. package/dist/components/GettingStarted.vue.d.ts.map +1 -1
  77. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +5 -10
  78. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  79. package/dist/components/IntersectionObserver.vue.d.ts +5 -12
  80. package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
  81. package/dist/components/Lazy/Lazy.vue.d.ts +5 -10
  82. package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -1
  83. package/dist/components/LinkList/LinkList.vue.d.ts +6 -13
  84. package/dist/components/LinkList/LinkList.vue.d.ts.map +1 -1
  85. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  86. package/dist/components/MobileHeader.vue.d.ts +6 -11
  87. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  88. package/dist/components/OperationPath.vue.d.ts +1 -1
  89. package/dist/components/OperationPath.vue.d.ts.map +1 -1
  90. package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -1
  91. package/dist/components/OperationsList/OperationsListItem.vue.d.ts +1 -1
  92. package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -1
  93. package/dist/components/ScreenReader.vue.d.ts +7 -11
  94. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  95. package/dist/components/Section/CompactSection.vue.d.ts +8 -12
  96. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  97. package/dist/components/Section/Section.vue.d.ts +5 -10
  98. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  99. package/dist/components/Section/SectionAccordion.vue.d.ts +13 -66
  100. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  101. package/dist/components/Section/SectionColumn.vue.d.ts +6 -11
  102. package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
  103. package/dist/components/Section/SectionColumns.vue.d.ts +6 -11
  104. package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
  105. package/dist/components/Section/SectionContainer.vue.d.ts +7 -11
  106. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  107. package/dist/components/Section/SectionContainerAccordion.vue.d.ts +8 -12
  108. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  109. package/dist/components/Section/SectionContent.vue.d.ts +6 -11
  110. package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
  111. package/dist/components/Section/SectionHeader.vue.d.ts +8 -12
  112. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  113. package/dist/components/Section/SectionHeaderTag.vue.d.ts +5 -10
  114. package/dist/components/Section/SectionHeaderTag.vue.d.ts.map +1 -1
  115. package/dist/components/SectionFlare/SectionFlare.vue.d.ts.map +1 -1
  116. package/dist/components/ShowMoreButton.vue.d.ts +1 -1
  117. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  118. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  119. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
  120. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  121. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  122. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
  123. package/dist/features/Operation/components/ParameterList.vue.d.ts +5 -10
  124. package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
  125. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  126. package/dist/features/Operation/components/RequestBody.vue.d.ts +5 -10
  127. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  128. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +2 -2
  129. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
  130. package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
  131. package/dist/features/Operation/components/callbacks/Callback.vue2.js +2 -2
  132. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +2 -2
  133. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
  134. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +2 -2
  135. package/dist/features/Operation/helpers/combine-params.d.ts +1 -2
  136. package/dist/features/Operation/helpers/combine-params.d.ts.map +1 -1
  137. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +1 -3
  138. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  139. package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
  140. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +35 -34
  141. package/dist/features/Operation/layouts/ClassicLayout.vue3.js +2 -2
  142. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +1 -3
  143. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  144. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  145. package/dist/features/Operation/layouts/ModernLayout.vue2.js +28 -27
  146. package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -1
  147. package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -1
  148. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts +1 -1
  149. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
  150. package/dist/features/api-client-modal/ApiClientModal.vue.js +50 -53
  151. package/dist/features/api-client-modal/useApiClient.d.ts +496 -496
  152. package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
  153. package/dist/features/document-source/hooks/useDocumentFetcher.d.ts +1 -1
  154. package/dist/features/document-source/hooks/useDocumentFetcher.d.ts.map +1 -1
  155. package/dist/features/document-source/hooks/useDocumentFetcher.js +13 -13
  156. package/dist/features/example-responses/ExampleResponse.vue.d.ts +1 -2
  157. package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
  158. package/dist/features/example-responses/ExampleResponse.vue.js +2 -2
  159. package/dist/features/example-responses/ExampleResponseTab.vue.d.ts +5 -10
  160. package/dist/features/example-responses/ExampleResponseTab.vue.d.ts.map +1 -1
  161. package/dist/features/example-responses/ExampleResponseTabList.vue.d.ts +7 -11
  162. package/dist/features/example-responses/ExampleResponseTabList.vue.d.ts.map +1 -1
  163. package/dist/features/example-responses/ExampleResponses.vue.d.ts +1 -1
  164. package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
  165. package/dist/features/example-responses/ExampleResponses.vue.js +2 -2
  166. package/dist/features/example-responses/ExampleResponses.vue2.js +9 -9
  167. package/dist/features/example-responses/helpers/get-resolved-ref-deep.d.ts.map +1 -1
  168. package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -1
  169. package/dist/features/info-object/Contact.vue.d.ts.map +1 -1
  170. package/dist/features/info-object/License.vue.d.ts +1 -1
  171. package/dist/features/info-object/License.vue.d.ts.map +1 -1
  172. package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -1
  173. package/dist/features/multiple-documents/DocumentSelector.vue.d.ts.map +1 -1
  174. package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
  175. package/dist/features/sidebar/components/Sidebar.vue.d.ts +8 -14
  176. package/dist/features/sidebar/components/Sidebar.vue.d.ts.map +1 -1
  177. package/dist/features/sidebar/components/SidebarElement.vue.d.ts +8 -12
  178. package/dist/features/sidebar/components/SidebarElement.vue.d.ts.map +1 -1
  179. package/dist/features/sidebar/components/SidebarElement.vue.js +1 -1
  180. package/dist/features/sidebar/components/SidebarElement.vue2.js +60 -55
  181. package/dist/features/sidebar/components/SidebarGroup.vue.d.ts +6 -11
  182. package/dist/features/sidebar/components/SidebarGroup.vue.d.ts.map +1 -1
  183. package/dist/features/sidebar/components/SidebarHttpBadge.vue.d.ts +5 -10
  184. package/dist/features/sidebar/components/SidebarHttpBadge.vue.d.ts.map +1 -1
  185. package/dist/features/sidebar/helpers/create-sidebar.d.ts.map +1 -1
  186. package/dist/features/specification-extension/SpecificationExtension.vue.d.ts.map +1 -1
  187. package/dist/features/specification-extension/SpecificationExtension.vue.js +2 -47
  188. package/dist/features/specification-extension/SpecificationExtension.vue2.js +47 -2
  189. package/dist/features/specification-extension/helpers.d.ts +10 -0
  190. package/dist/features/specification-extension/helpers.d.ts.map +1 -0
  191. package/dist/features/specification-extension/helpers.js +4 -0
  192. package/dist/features/specification-extension/index.d.ts +1 -0
  193. package/dist/features/specification-extension/index.d.ts.map +1 -1
  194. package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
  195. package/dist/features/traverse-schema/helpers/get-tag.d.ts.map +1 -1
  196. package/dist/features/traverse-schema/helpers/traverse-description.d.ts +3 -1
  197. package/dist/features/traverse-schema/helpers/traverse-description.d.ts.map +1 -1
  198. package/dist/features/traverse-schema/helpers/traverse-document.d.ts.map +1 -1
  199. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +7 -3
  200. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
  201. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts +3 -1
  202. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
  203. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts +3 -1
  204. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
  205. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts +5 -1
  206. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
  207. package/dist/features/traverse-schema/types.d.ts +1 -3
  208. package/dist/features/traverse-schema/types.d.ts.map +1 -1
  209. package/dist/features/x-badges/XBadges.vue.d.ts.map +1 -1
  210. package/dist/helpers/convert-security-scheme.d.ts +1 -1
  211. package/dist/helpers/convert-security-scheme.d.ts.map +1 -1
  212. package/dist/helpers/test-utils.d.ts.map +1 -1
  213. package/dist/hooks/useFreezing.d.ts +6 -0
  214. package/dist/hooks/useFreezing.d.ts.map +1 -0
  215. package/dist/hooks/useFreezing.js +29 -0
  216. package/dist/hooks/useNavState.d.ts +1 -2
  217. package/dist/hooks/useNavState.d.ts.map +1 -1
  218. package/dist/index.d.ts +1 -0
  219. package/dist/index.d.ts.map +1 -1
  220. package/dist/index.js +18 -16
  221. package/dist/libs/download.d.ts +0 -5
  222. package/dist/libs/download.d.ts.map +1 -1
  223. package/dist/libs/download.js +10 -13
  224. package/dist/libs/markdown.d.ts.map +1 -1
  225. package/dist/libs/openapi.d.ts +2 -4
  226. package/dist/libs/openapi.d.ts.map +1 -1
  227. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  228. package/dist/standalone/lib/html-api.d.ts.map +1 -1
  229. package/dist/style.css +1 -1
  230. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +11 -14
  231. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  232. package/dist/v2/ApiReferenceWorkspace.vue.js +92 -95
  233. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +20 -0
  234. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -0
  235. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +7 -0
  236. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +223 -0
  237. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +21 -0
  238. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts.map +1 -0
  239. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +64 -0
  240. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue2.js +4 -0
  241. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +17 -0
  242. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -0
  243. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +267 -0
  244. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue2.js +4 -0
  245. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +9 -0
  246. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -0
  247. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +151 -0
  248. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue2.js +4 -0
  249. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +20 -0
  250. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -0
  251. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +7 -0
  252. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +96 -0
  253. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +50 -0
  254. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -0
  255. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +50 -0
  256. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue2.js +4 -0
  257. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +17 -0
  258. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -0
  259. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +253 -0
  260. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue2.js +4 -0
  261. package/dist/v2/blocks/scalar-auth-selector-block/helpers/filter-security-requirements.d.ts +6 -0
  262. package/dist/v2/blocks/scalar-auth-selector-block/helpers/filter-security-requirements.d.ts.map +1 -0
  263. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.d.ts +8 -0
  264. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.d.ts.map +1 -0
  265. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.js +22 -0
  266. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +2 -0
  267. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -0
  268. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +15 -0
  269. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -0
  270. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +7 -0
  271. package/dist/{components/Content/ClientLibraries/ClientSelector.vue2.js → v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js} +33 -33
  272. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts +16 -0
  273. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -0
  274. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +7 -0
  275. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +124 -0
  276. package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts +11 -0
  277. package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts.map +1 -0
  278. package/dist/v2/blocks/scalar-client-selector-block/index.d.ts +2 -0
  279. package/dist/v2/blocks/scalar-client-selector-block/index.d.ts.map +1 -0
  280. package/dist/{features/base-url/BaseUrl.vue.d.ts → v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts} +3 -4
  281. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -0
  282. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +7 -0
  283. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +62 -0
  284. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts +36 -0
  285. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -0
  286. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.js +49 -0
  287. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue2.js +4 -0
  288. package/dist/{components/Content/Introduction/Description.vue.d.ts → v2/blocks/scalar-info-block/components/InfoDescription.vue.d.ts} +2 -2
  289. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.d.ts.map +1 -0
  290. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.js +7 -0
  291. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue2.js +72 -0
  292. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.d.ts +8 -0
  293. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.d.ts.map +1 -0
  294. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.js +36 -0
  295. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue2.js +4 -0
  296. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.d.ts +7 -0
  297. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.d.ts.map +1 -0
  298. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.js +25 -0
  299. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue2.js +4 -0
  300. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts +16 -0
  301. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts.map +1 -0
  302. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.js +7 -0
  303. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue2.js +17 -0
  304. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue3.js +4 -0
  305. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.d.ts +13 -0
  306. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.d.ts.map +1 -0
  307. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +13 -0
  308. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue2.js +4 -0
  309. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +27 -0
  310. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -0
  311. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +7 -0
  312. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +122 -0
  313. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue3.js +4 -0
  314. package/dist/{features/download-link/DownloadLink.vue.d.ts → v2/blocks/scalar-info-block/components/OpenApiVersion.vue.d.ts} +2 -2
  315. package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue.d.ts.map +1 -0
  316. package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue.js +19 -0
  317. package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue2.js +4 -0
  318. package/dist/v2/blocks/scalar-info-block/index.d.ts +3 -0
  319. package/dist/v2/blocks/scalar-info-block/index.d.ts.map +1 -0
  320. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +5 -8
  321. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +1 -1
  322. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +38 -52
  323. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +7 -8
  324. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
  325. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +1 -1
  326. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +148 -133
  327. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +1 -1
  328. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts.map +1 -1
  329. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts +1 -3
  330. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts.map +1 -1
  331. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts +1 -1
  332. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts.map +1 -1
  333. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +4 -3
  334. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts +51 -0
  335. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -0
  336. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.js +78 -0
  337. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue2.js +4 -0
  338. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts +18 -0
  339. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -0
  340. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +72 -0
  341. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue2.js +4 -0
  342. package/dist/v2/blocks/scalar-server-selector-block/index.d.ts +2 -0
  343. package/dist/v2/blocks/scalar-server-selector-block/index.d.ts.map +1 -0
  344. package/dist/v2/helpers/get-document-name.d.ts.map +1 -1
  345. package/dist/v2/helpers/map-configuration.d.ts +1 -1
  346. package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
  347. package/dist/v2/helpers/normalize-content.d.ts.map +1 -1
  348. package/dist/v2/hooks/use-legacy-store-events.d.ts +14 -0
  349. package/dist/v2/hooks/use-legacy-store-events.d.ts.map +1 -0
  350. package/dist/v2/hooks/use-legacy-store-events.js +65 -0
  351. package/dist/v2/hooks/use-workspace-store-events.d.ts +4 -0
  352. package/dist/v2/hooks/use-workspace-store-events.d.ts.map +1 -0
  353. package/dist/v2/hooks/use-workspace-store-events.js +43 -0
  354. package/package.json +21 -19
  355. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +0 -7
  356. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +0 -122
  357. package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +0 -7
  358. package/dist/components/Content/Introduction/Description.vue.d.ts.map +0 -1
  359. package/dist/components/Content/Introduction/Description.vue.js +0 -7
  360. package/dist/components/Content/Introduction/Description.vue2.js +0 -72
  361. package/dist/components/Content/Introduction/Introduction.vue.d.ts +0 -13
  362. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +0 -1
  363. package/dist/components/Content/Introduction/Introduction.vue.js +0 -7
  364. package/dist/components/Content/Introduction/Introduction.vue2.js +0 -113
  365. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts +0 -25
  366. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts.map +0 -1
  367. package/dist/components/Content/Introduction/IntroductionSection.vue.js +0 -7
  368. package/dist/components/Content/Introduction/IntroductionSection.vue2.js +0 -159
  369. package/dist/components/Content/Introduction/index.d.ts +0 -2
  370. package/dist/components/Content/Introduction/index.d.ts.map +0 -1
  371. package/dist/features/base-url/BaseUrl.vue.d.ts.map +0 -1
  372. package/dist/features/base-url/BaseUrl.vue.js +0 -56
  373. package/dist/features/base-url/BaseUrl.vue2.js +0 -4
  374. package/dist/features/base-url/index.d.ts +0 -2
  375. package/dist/features/base-url/index.d.ts.map +0 -1
  376. package/dist/features/download-link/DownloadLink.vue.d.ts.map +0 -1
  377. package/dist/features/download-link/DownloadLink.vue.js +0 -7
  378. package/dist/features/download-link/DownloadLink.vue2.js +0 -61
  379. package/dist/features/download-link/index.d.ts +0 -3
  380. package/dist/features/download-link/index.d.ts.map +0 -1
  381. package/dist/features/download-link/openapi-version-symbol.d.ts +0 -2
  382. package/dist/features/download-link/openapi-version-symbol.d.ts.map +0 -1
  383. package/dist/features/download-link/openapi-version-symbol.js +0 -4
  384. package/dist/v2/events/definitions.d.ts +0 -44
  385. package/dist/v2/events/definitions.d.ts.map +0 -1
  386. package/dist/v2/events/definitions.js +0 -7
  387. package/dist/v2/events/index.d.ts +0 -3
  388. package/dist/v2/events/index.d.ts.map +0 -1
  389. package/dist/v2/events/listeners.d.ts +0 -8
  390. package/dist/v2/events/listeners.d.ts.map +0 -1
  391. package/dist/v2/events/listeners.js +0 -15
  392. /package/dist/{components/Content/ClientLibraries/ClientLibraries.vue3.js → v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue3.js} +0 -0
  393. /package/dist/{components/Content/ClientLibraries/ClientSelector.vue3.js → v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue3.js} +0 -0
  394. /package/dist/{components/Content/Introduction/Description.vue3.js → v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue3.js} +0 -0
  395. /package/dist/{components/Content/Introduction/Introduction.vue3.js → v2/blocks/scalar-client-selector-block/components/ClientSelector.vue3.js} +0 -0
  396. /package/dist/{components/Content/ClientLibraries → v2/blocks/scalar-client-selector-block/helpers}/featured-clients.js +0 -0
  397. /package/dist/{features/download-link → v2/blocks/scalar-info-block/components}/DownloadLink.vue3.js +0 -0
  398. /package/dist/{components/Content/Introduction/IntroductionSection.vue3.js → v2/blocks/scalar-info-block/components/InfoDescription.vue3.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import o from "./SidebarElement.vue2.js";
2
2
  import "./SidebarElement.vue3.js";
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c3e6d407"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dc609512"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -1,23 +1,26 @@
1
- import { defineComponent as A, createElementBlock as d, openBlock as n, createElementVNode as a, renderSlot as g, createCommentVNode as r, normalizeClass as O, unref as s, createTextVNode as m, withModifiers as T, createVNode as b, withCtx as v, toDisplayString as h, createBlock as $, normalizeStyle as E } from "vue";
2
- import { ScalarSidebarGroupToggle as N } from "@scalar/components";
3
- import { scrollToId as V } from "@scalar/helpers/dom/scroll-to-id";
4
- import { getHttpMethodInfo as H } from "@scalar/helpers/http/http-info";
5
- import { sleep as k } from "@scalar/helpers/testing/sleep";
6
- import { ScalarIconWebhooksLogo as I } from "@scalar/icons";
1
+ import { defineComponent as O, createElementBlock as a, openBlock as o, createElementVNode as s, renderSlot as f, createCommentVNode as l, normalizeClass as A, unref as r, createTextVNode as h, withModifiers as $, createVNode as b, withCtx as k, toDisplayString as p, createBlock as E, normalizeStyle as N } from "vue";
2
+ import { ScalarSidebarGroupToggle as V } from "@scalar/components";
3
+ import { scrollToId as H } from "@scalar/helpers/dom/scroll-to-id";
4
+ import { getHttpMethodInfo as I } from "@scalar/helpers/http/http-info";
5
+ import { sleep as v } from "@scalar/helpers/testing/sleep";
6
+ import { ScalarIconWebhooksLogo as P } from "@scalar/icons";
7
7
  import { isOperationDeprecated as R, combineUrlAndPath as U } from "@scalar/oas-utils/helpers";
8
8
  import { useConfig as D } from "../../../hooks/useConfig.js";
9
9
  import { useNavState as L } from "../../../hooks/useNavState.js";
10
10
  import M from "./SidebarHttpBadge.vue.js";
11
- const P = ["id"], z = {
11
+ const z = ["id"], j = {
12
12
  key: 0,
13
13
  class: "sidebar-heading-chevron"
14
- }, j = ["aria-expanded"], F = ["href", "tabindex"], G = { class: "sidebar-heading-link-title" }, W = {
14
+ }, F = ["aria-expanded"], G = ["href", "tabindex"], W = { class: "sidebar-heading-link-title" }, q = {
15
+ key: 0,
16
+ class: "hanging-indent"
17
+ }, J = { key: 1 }, K = {
15
18
  key: 0,
16
19
  class: "sidebar-heading-link-method"
17
- }, q = {
20
+ }, Q = {
18
21
  key: 1,
19
22
  class: "action-menu"
20
- }, oe = /* @__PURE__ */ A({
23
+ }, ae = /* @__PURE__ */ O({
21
24
  __name: "SidebarElement",
22
25
  props: {
23
26
  id: {},
@@ -27,87 +30,89 @@ const P = ["id"], z = {
27
30
  open: { type: Boolean }
28
31
  },
29
32
  emits: ["toggleOpen"],
30
- setup(C, { emit: y }) {
31
- const o = C, p = y, { getFullHash: u, isIntersectionEnabled: l, replaceUrlState: w } = L(), i = D(), c = async () => {
32
- l.value = !1, o.hasChildren && p("toggleOpen"), await k(100), l.value = !0;
33
- }, S = () => {
34
- if (i.value.pathRouting)
35
- return U(i.value.pathRouting.basePath, o.item.id);
33
+ setup(y, { emit: C }) {
34
+ const i = y, m = C, { getFullHash: u, isIntersectionEnabled: d, replaceUrlState: w } = L(), n = D(), S = (e) => "path" in e ? e.path.replace(/\//g, "/​") : e.title, c = async () => {
35
+ d.value = !1, i.hasChildren && m("toggleOpen"), await v(100), d.value = !0;
36
+ }, T = () => {
37
+ if (n.value.pathRouting)
38
+ return U(n.value.pathRouting.basePath, i.item.id);
36
39
  if (typeof window < "u") {
37
40
  const e = new URL(window.location.href);
38
- return e.hash = u(o.item.id), `${e.search}${e.hash}`;
41
+ return e.hash = u(i.item.id), `${e.search}${e.hash}`;
39
42
  }
40
- return `#${u(o.item.id)}`;
43
+ return `#${u(i.item.id)}`;
41
44
  }, B = async (e) => {
42
- var t, f;
43
- (f = (t = i.value).onSidebarClick) == null || f.call(t, o.item.id), i.value.pathRouting && (e.preventDefault(), o.hasChildren && p("toggleOpen"), p("toggleOpen"), l.value = !1, w(o.item.id), V(o.item.id), await k(100), l.value = !0);
45
+ var t, g;
46
+ (g = (t = n.value).onSidebarClick) == null || g.call(t, i.item.id), n.value.pathRouting && (e.preventDefault(), i.hasChildren && m("toggleOpen"), m("toggleOpen"), d.value = !1, w(i.item.id), H(i.item.id), await v(100), d.value = !0);
44
47
  };
45
- return (e, t) => (n(), d("li", {
48
+ return (e, t) => (o(), a("li", {
46
49
  id: e.id,
47
50
  class: "sidebar-group-item"
48
51
  }, [
49
- a("div", {
50
- class: O(["sidebar-heading", {
52
+ s("div", {
53
+ class: A(["sidebar-heading", {
51
54
  "sidebar-group-item__folder": e.hasChildren,
52
55
  active_page: e.isActive,
53
- deprecated: "operation" in e.item && s(R)(
56
+ deprecated: "operation" in e.item && r(R)(
54
57
  e.item.operation
55
58
  )
56
59
  }]),
57
60
  onClick: c
58
61
  }, [
59
- e.hasChildren && !s(i).defaultOpenAllTags ? (n(), d("p", z, [
60
- a("button", {
62
+ e.hasChildren && !r(n).defaultOpenAllTags ? (o(), a("p", j, [
63
+ s("button", {
61
64
  "aria-expanded": e.open,
62
65
  class: "toggle-nested-icon",
63
66
  type: "button",
64
- onClick: T(c, ["stop"])
67
+ onClick: $(c, ["stop"])
65
68
  }, [
66
- b(s(N), { open: e.open }, {
67
- label: v(() => [
68
- m(h(e.open ? "Collapse" : "Expand") + " " + h(e.item.title), 1)
69
+ b(r(V), { open: e.open }, {
70
+ label: k(() => [
71
+ h(p(e.open ? "Collapse" : "Expand") + " " + p(e.item.title), 1)
69
72
  ]),
70
73
  _: 1
71
74
  }, 8, ["open"])
72
- ], 8, j),
73
- t[0] || (t[0] = m("   "))
74
- ])) : r("", !0),
75
- a("a", {
75
+ ], 8, F),
76
+ t[0] || (t[0] = h("   "))
77
+ ])) : l("", !0),
78
+ s("a", {
76
79
  class: "sidebar-heading-link",
77
- href: S(),
80
+ href: T(),
78
81
  tabindex: e.hasChildren ? -1 : 0,
79
82
  onClick: B
80
83
  }, [
81
- a("p", G, h(e.item.title), 1),
82
- "method" in e.item && !e.hasChildren ? (n(), d("p", W, [
83
- t[1] || (t[1] = m("   ")),
84
- t[2] || (t[2] = a("span", { class: "sr-only" }, "HTTP Method: ", -1)),
84
+ s("p", W, [
85
+ r(n).operationTitleSource === "path" ? (o(), a("span", q, p(S(e.item)), 1)) : (o(), a("span", J, p(e.item.title), 1))
86
+ ]),
87
+ "method" in e.item && !e.hasChildren ? (o(), a("p", K, [
88
+ t[1] || (t[1] = h("   ")),
89
+ t[2] || (t[2] = s("span", { class: "sr-only" }, "HTTP Method: ", -1)),
85
90
  b(M, {
86
- class: "min-w-9.75 justify-end text-right",
87
91
  active: e.isActive,
92
+ class: "min-w-9.75 justify-end text-right",
88
93
  method: e.item.method
89
94
  }, {
90
- default: v(() => [
91
- "webhook" in e.item ? (n(), $(s(I), {
95
+ default: k(() => [
96
+ "webhook" in e.item ? (o(), E(r(P), {
92
97
  key: 0,
93
- weight: "bold",
94
- style: E({
95
- color: s(H)(e.item.method).colorVar
96
- })
97
- }, null, 8, ["style"])) : r("", !0)
98
+ style: N({
99
+ color: r(I)(e.item.method).colorVar
100
+ }),
101
+ weight: "bold"
102
+ }, null, 8, ["style"])) : l("", !0)
98
103
  ]),
99
104
  _: 1
100
105
  }, 8, ["active", "method"])
101
- ])) : r("", !0)
102
- ], 8, F)
106
+ ])) : l("", !0)
107
+ ], 8, G)
103
108
  ], 2),
104
- e.open ? g(e.$slots, "default", { key: 0 }, void 0, !0) : r("", !0),
105
- e.$slots["action-menu"] ? (n(), d("div", q, [
106
- g(e.$slots, "action-menu", {}, void 0, !0)
107
- ])) : r("", !0)
108
- ], 8, P));
109
+ e.open ? f(e.$slots, "default", { key: 0 }, void 0, !0) : l("", !0),
110
+ e.$slots["action-menu"] ? (o(), a("div", Q, [
111
+ f(e.$slots, "action-menu", {}, void 0, !0)
112
+ ])) : l("", !0)
113
+ ], 8, z));
109
114
  }
110
115
  });
111
116
  export {
112
- oe as default
117
+ ae as default
113
118
  };
@@ -1,19 +1,14 @@
1
1
  type __VLS_Props = {
2
2
  level: number;
3
3
  };
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: HTMLUListElement;
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
11
7
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLUListElement>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
8
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
15
10
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
11
+ type __VLS_WithSlots<T, S> = T & {
17
12
  new (): {
18
13
  $slots: S;
19
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/sidebar/components/SidebarGroup.vue"],"names":[],"mappings":"AAgDA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;AAQF,iBAAS,cAAc;WAiDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/sidebar/components/SidebarGroup.vue"],"names":[],"mappings":"AA8CA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;AAkCF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAmB/C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,19 +2,14 @@ type __VLS_Props = {
2
2
  method: string;
3
3
  active?: boolean;
4
4
  };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
5
+ declare var __VLS_6: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_6) => any;
12
8
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
9
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
11
  export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
12
+ type __VLS_WithSlots<T, S> = T & {
18
13
  new (): {
19
14
  $slots: S;
20
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarHttpBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/sidebar/components/SidebarHttpBadge.vue"],"names":[],"mappings":"AA6CA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AAQF,iBAAS,cAAc;WAuDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SidebarHttpBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/sidebar/components/SidebarHttpBadge.vue"],"names":[],"mappings":"AA2CA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AA8CF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAoB/C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-sidebar.d.ts","sourceRoot":"","sources":["../../../../src/features/sidebar/helpers/create-sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAGxD,OAAO,EAAE,KAAK,GAAG,EAA2B,MAAM,KAAK,CAAA;AAEvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAIrE,2CAA2C;AAC3C,KAAK,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEpD,qCAAqC;AACrC,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAA;AAEhD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,yBAA0B,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,WAAW,cAAc;;;;;;;qCAa5D,MAAM,UAAU,OAAO;mCARzB,MAAM,SAAS,OAAO;sCADnB,MAAM;CAgDhD,CAAA"}
1
+ {"version":3,"file":"create-sidebar.d.ts","sourceRoot":"","sources":["../../../../src/features/sidebar/helpers/create-sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAGxD,OAAO,EAAE,KAAK,GAAG,EAA2B,MAAM,KAAK,CAAA;AAEvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAIrE,2CAA2C;AAC3C,KAAK,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEpD,qCAAqC;AACrC,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAA;AAEhD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GAAI,sBAAsB,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,SAAS,cAAc;;;;;;;qCAa5D,MAAM,UAAU,OAAO;mCARzB,MAAM,SAAS,OAAO;sCADnB,MAAM;CAgDhD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SpecificationExtension.vue.d.ts","sourceRoot":"","sources":["../../../src/features/specification-extension/SpecificationExtension.vue"],"names":[],"mappings":"AAkFA,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;CAC3C,CAAC;;AAyHF,wBAMG"}
1
+ {"version":3,"file":"SpecificationExtension.vue.d.ts","sourceRoot":"","sources":["../../../src/features/specification-extension/SpecificationExtension.vue"],"names":[],"mappings":"AAgFA,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;CAC3C,CAAC;;AA6GF,wBAMG"}
@@ -1,49 +1,4 @@
1
- import { defineComponent as E, computed as c, createElementBlock as l, createCommentVNode as _, openBlock as r, Fragment as k, renderList as y, createBlock as o, unref as C, withCtx as h, resolveDynamicComponent as s, mergeProps as p } from "vue";
2
- import { ScalarErrorBoundary as B } from "@scalar/components";
3
- import { usePluginManager as b } from "../../plugins/hooks/usePluginManager.js";
4
- const N = {
5
- key: 0,
6
- class: "text-base"
7
- }, O = /* @__PURE__ */ E({
8
- __name: "SpecificationExtension",
9
- props: {
10
- value: {}
11
- },
12
- setup(i) {
13
- const { getSpecificationExtensions: f } = b();
14
- function d(t) {
15
- return Object.keys(t ?? {}).filter(
16
- (n) => n.startsWith("x-")
17
- );
18
- }
19
- function v(t) {
20
- return t.flatMap((n) => f(n)).filter((n) => n.component);
21
- }
22
- const g = c(() => d(i.value)), a = c(
23
- () => v(g.value)
24
- );
25
- return (t, n) => typeof t.value == "object" && a.value.length ? (r(), l("div", N, [
26
- (r(!0), l(k, null, y(a.value, (e) => (r(), o(C(B), null, {
27
- default: h(() => {
28
- var u, m;
29
- return [
30
- e.renderer ? (r(), o(s(e.renderer), p({
31
- key: 0,
32
- ref_for: !0
33
- }, {
34
- [e.name]: (u = t.value) == null ? void 0 : u[e.name],
35
- component: e.component
36
- }), null, 16)) : (r(), o(s(e.component), p({
37
- key: 1,
38
- ref_for: !0
39
- }, { [e.name]: (m = t.value) == null ? void 0 : m[e.name] }), null, 16))
40
- ];
41
- }),
42
- _: 2
43
- }, 1024))), 256))
44
- ])) : _("", !0);
45
- }
46
- });
1
+ import f from "./SpecificationExtension.vue2.js";
47
2
  export {
48
- O as default
3
+ f as default
49
4
  };
@@ -1,4 +1,49 @@
1
- import f from "./SpecificationExtension.vue.js";
1
+ import { defineComponent as E, computed as c, createElementBlock as l, createCommentVNode as _, openBlock as r, Fragment as k, renderList as y, createBlock as o, unref as C, withCtx as h, resolveDynamicComponent as s, mergeProps as p } from "vue";
2
+ import { ScalarErrorBoundary as B } from "@scalar/components";
3
+ import { usePluginManager as b } from "../../plugins/hooks/usePluginManager.js";
4
+ const N = {
5
+ key: 0,
6
+ class: "text-base"
7
+ }, O = /* @__PURE__ */ E({
8
+ __name: "SpecificationExtension",
9
+ props: {
10
+ value: {}
11
+ },
12
+ setup(i) {
13
+ const { getSpecificationExtensions: f } = b();
14
+ function d(t) {
15
+ return Object.keys(t ?? {}).filter(
16
+ (n) => n.startsWith("x-")
17
+ );
18
+ }
19
+ function v(t) {
20
+ return t.flatMap((n) => f(n)).filter((n) => n.component);
21
+ }
22
+ const g = c(() => d(i.value)), a = c(
23
+ () => v(g.value)
24
+ );
25
+ return (t, n) => typeof t.value == "object" && a.value.length ? (r(), l("div", N, [
26
+ (r(!0), l(k, null, y(a.value, (e) => (r(), o(C(B), null, {
27
+ default: h(() => {
28
+ var u, m;
29
+ return [
30
+ e.renderer ? (r(), o(s(e.renderer), p({
31
+ key: 0,
32
+ ref_for: !0
33
+ }, {
34
+ [e.name]: (u = t.value) == null ? void 0 : u[e.name],
35
+ component: e.component
36
+ }), null, 16)) : (r(), o(s(e.component), p({
37
+ key: 1,
38
+ ref_for: !0
39
+ }, { [e.name]: (m = t.value) == null ? void 0 : m[e.name] }), null, 16))
40
+ ];
41
+ }),
42
+ _: 2
43
+ }, 1024))), 256))
44
+ ])) : _("", !0);
45
+ }
46
+ });
2
47
  export {
3
- f as default
48
+ O as default
4
49
  };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Utility function to extract all keys starting with 'x-' (OpenAPI extensions) from an object.
3
+ *
4
+ * @param object - The object from which to extract extension keys.
5
+ * @returns An object containing only the entries whose keys start with 'x-'.
6
+ */
7
+ export declare const getXKeysFromObject: (object?: Record<string, unknown>) => {
8
+ [k: string]: unknown;
9
+ };
10
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/features/specification-extension/helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;CAOlE,CAAA"}
@@ -0,0 +1,4 @@
1
+ const r = (t) => t ? Object.fromEntries(Object.entries(t).filter(([e]) => e.startsWith("x-"))) : {};
2
+ export {
3
+ r as getXKeysFromObject
4
+ };
@@ -1,2 +1,3 @@
1
1
  export { default as SpecificationExtension } from './SpecificationExtension.vue.js';
2
+ export { getXKeysFromObject } from './helpers.js';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/specification-extension/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/specification-extension/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../src/features/test-request-button/TestRequestButton.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAUnE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;CACb,CAAC;;AAsGF,wBAMG"}
1
+ {"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../src/features/test-request-button/TestRequestButton.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAQnE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;CACb,CAAC;;AA0FF,wBAMG"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-tag.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/get-tag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAA;AAE/D,KAAK,WAAW,GAAG,WAAW,CAAC,OAAO,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,CAAA;AAEhF,qEAAqE;AACrE,eAAO,MAAM,MAAM,YAAa,OAAO,QAAQ,MAAM,KAAG,WAWvD,CAAA"}
1
+ {"version":3,"file":"get-tag.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/get-tag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAA;AAE/D,KAAK,WAAW,GAAG,WAAW,CAAC,OAAO,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,CAAA;AAEhF,qEAAqE;AACrE,eAAO,MAAM,MAAM,GAAI,SAAS,OAAO,EAAE,MAAM,MAAM,KAAG,WAWvD,CAAA"}
@@ -5,5 +5,7 @@ export declare const DEFAULT_INTRODUCTION_SLUG = "introduction";
5
5
  * Creates sidebar entries from markdown headings in the OpenAPI description.
6
6
  * Only includes the top two levels of headings for a clean hierarchy.
7
7
  */
8
- export declare const traverseDescription: (description: string | undefined, titlesMap: Map<string, string>, getHeadingId: (heading: Heading) => string) => TraversedDescription[];
8
+ export declare const traverseDescription: (description: string | undefined,
9
+ /** Map of titles for the mobile header */
10
+ titlesMap: Map<string, string>, getHeadingId: (heading: Heading) => string) => TraversedDescription[];
9
11
  //# sourceMappingURL=traverse-description.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"traverse-description.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-description.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAA;AAE5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAEnD,eAAO,MAAM,yBAAyB,iBAAiB,CAAA;AAEvD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,gBACjB,MAAM,GAAG,SAAS,aAEpB,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,gBAChB,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,KACzC,oBAAoB,EAmDtB,CAAA"}
1
+ {"version":3,"file":"traverse-description.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-description.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAA;AAE5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAEnD,eAAO,MAAM,yBAAyB,iBAAiB,CAAA;AAEvD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAC9B,aAAa,MAAM,GAAG,SAAS;AAC/B,0CAA0C;AAC1C,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,cAAc,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,KACzC,oBAAoB,EAmDtB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"traverse-document.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAOxD,OAAO,KAAK,EAAW,mBAAmB,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AAEpG;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,aACjB,WAAW,CAAC,QAAQ,gFACgD,mBAAmB;;;CA8ClG,CAAA"}
1
+ {"version":3,"file":"traverse-document.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAOxD,OAAO,KAAK,EAAW,mBAAmB,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AAEpG;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,GAC3B,UAAU,WAAW,CAAC,QAAQ,EAC9B,8EAA8E,mBAAmB;;;CA8ClG,CAAA"}
@@ -1,14 +1,18 @@
1
1
  import type { OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  import type { TraversedEntry } from '../../../features/traverse-schema/types';
3
3
  import type { UseNavState } from '../../../hooks/useNavState.js';
4
- import type { TagObject } from '@scalar/workspace-store/schemas/v3.1/strict/tag';
4
+ import type { TagObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
5
5
  /**
6
6
  * Traverse the paths of the spec and build a map of tags and operations
7
7
  *
8
8
  * Default tag is to match what we have now we can improve later
9
9
  */
10
- export declare const traversePaths: (content: OpenAPIV3_1.Document, tagsMap: Map<string, {
10
+ export declare const traversePaths: (content: OpenAPIV3_1.Document,
11
+ /** Map of tags and their entries */
12
+ tagsMap: Map<string, {
11
13
  tag: TagObject;
12
14
  entries: TraversedEntry[];
13
- }>, titlesMap: Map<string, string>, getOperationId: UseNavState["getOperationId"]) => void;
15
+ }>,
16
+ /** Map of titles for the mobile header */
17
+ titlesMap: Map<string, string>, getOperationId: UseNavState["getOperationId"]) => void;
14
18
  //# sourceMappingURL=traverse-paths.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"traverse-paths.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-paths.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,kCAAkC,CAAA;AAC1F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAGtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAA;AAyBhF;;;;GAIG;AACH,eAAO,MAAM,aAAa,YACf,WAAW,CAAC,QAAQ,WAEpB,GAAG,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,cAAc,EAAE,CAAA;CAAE,CAAC,aAExD,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,kBACd,WAAW,CAAC,gBAAgB,CAAC,SA+B9C,CAAA"}
1
+ {"version":3,"file":"traverse-paths.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-paths.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,kCAAkC,CAAA;AAC1F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,KAAK,EAAmB,SAAS,EAAE,MAAM,8DAA8D,CAAA;AAyB9G;;;;GAIG;AACH,eAAO,MAAM,aAAa,GACxB,SAAS,WAAW,CAAC,QAAQ;AAC7B,oCAAoC;AACpC,SAAS,GAAG,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,cAAc,EAAE,CAAA;CAAE,CAAC;AACnE,0CAA0C;AAC1C,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,gBAAgB,WAAW,CAAC,gBAAgB,CAAC,SA+B9C,CAAA"}
@@ -2,5 +2,7 @@ import type { TagsMap, TraversedSchema } from '../../../features/traverse-schema
2
2
  import type { UseNavState } from '../../../hooks/useNavState.js';
3
3
  import type { OpenAPIV3_1 } from '@scalar/openapi-types';
4
4
  /** Traverse components.schemas to create entries for models */
5
- export declare const traverseSchemas: (content: OpenAPIV3_1.Document, tagsMap: TagsMap, titlesMap: Map<string, string>, getModelId: UseNavState["getModelId"]) => TraversedSchema[];
5
+ export declare const traverseSchemas: (content: OpenAPIV3_1.Document, tagsMap: TagsMap,
6
+ /** Map of titles for the mobile header */
7
+ titlesMap: Map<string, string>, getModelId: UseNavState["getModelId"]) => TraversedSchema[];
6
8
  //# sourceMappingURL=traverse-schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"traverse-schemas.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-schemas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AA4BxD,+DAA+D;AAC/D,eAAO,MAAM,eAAe,YACjB,WAAW,CAAC,QAAQ,WACpB,OAAO,aAEL,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,cAClB,WAAW,CAAC,YAAY,CAAC,KACpC,eAAe,EAyBjB,CAAA"}
1
+ {"version":3,"file":"traverse-schemas.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-schemas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AA2BxD,+DAA+D;AAC/D,eAAO,MAAM,eAAe,GAC1B,SAAS,WAAW,CAAC,QAAQ,EAC7B,SAAS,OAAO;AAChB,0CAA0C;AAC1C,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,YAAY,WAAW,CAAC,YAAY,CAAC,KACpC,eAAe,EAyBjB,CAAA"}
@@ -4,6 +4,8 @@ import type { TagsMap, TraversedEntry } from '../../../features/traverse-schema/
4
4
  import type { UseNavState } from '../../../hooks/useNavState.js';
5
5
  type Options = Pick<UseNavState, 'getTagId'> & Pick<ApiReferenceConfiguration, 'tagsSorter' | 'operationsSorter'>;
6
6
  /** Traverses our tags map creates entries, also handles sorting and tagGroups */
7
- export declare const traverseTags: (content: OpenAPIV3_1.Document, tagsMap: TagsMap, titlesMap: Map<string, string>, { getTagId, tagsSorter, operationsSorter }: Options) => TraversedEntry[];
7
+ export declare const traverseTags: (content: OpenAPIV3_1.Document, tagsMap: TagsMap,
8
+ /** Map of titles for the mobile title */
9
+ titlesMap: Map<string, string>, { getTagId, tagsSorter, operationsSorter }: Options) => TraversedEntry[];
8
10
  export {};
9
11
  //# sourceMappingURL=traverse-tags.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"traverse-tags.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-tags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAG5E,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAgB,MAAM,kCAAkC,CAAA;AAC7F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAItD,KAAK,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC,yBAAyB,EAAE,YAAY,GAAG,kBAAkB,CAAC,CAAA;AAkGjH,iFAAiF;AACjF,eAAO,MAAM,YAAY,YACd,WAAW,CAAC,QAAQ,WACpB,OAAO,aAEL,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,8CACc,OAAO,KAClD,cAAc,EAyBhB,CAAA"}
1
+ {"version":3,"file":"traverse-tags.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-tags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAG5E,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAgB,MAAM,kCAAkC,CAAA;AAC7F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAItD,KAAK,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC,yBAAyB,EAAE,YAAY,GAAG,kBAAkB,CAAC,CAAA;AAkGjH,iFAAiF;AACjF,eAAO,MAAM,YAAY,GACvB,SAAS,WAAW,CAAC,QAAQ,EAC7B,SAAS,OAAO;AAChB,yCAAyC;AACzC,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,4CAA4C,OAAO,KAClD,cAAc,EAyBhB,CAAA"}
@@ -2,5 +2,9 @@ import type { OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  import type { TagsMap, TraversedWebhook } from '../../../features/traverse-schema/types';
3
3
  import type { UseNavState } from '../../../hooks/useNavState.js';
4
4
  /** When traversing webhooks, we pass in the tags in from operations to save on memory */
5
- export declare const traverseWebhooks: (content: OpenAPIV3_1.Document, tagsMap: TagsMap, titlesMap: Map<string, string>, getWebhookId: UseNavState["getWebhookId"]) => TraversedWebhook[];
5
+ export declare const traverseWebhooks: (content: OpenAPIV3_1.Document,
6
+ /** The tag map from from traversing paths */
7
+ tagsMap: TagsMap,
8
+ /** Map of titles for the mobile title */
9
+ titlesMap: Map<string, string>, getWebhookId: UseNavState["getWebhookId"]) => TraversedWebhook[];
6
10
  //# sourceMappingURL=traverse-webhooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"traverse-webhooks.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-webhooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AA2BtD,yFAAyF;AACzF,eAAO,MAAM,gBAAgB,YAClB,WAAW,CAAC,QAAQ,WAEpB,OAAO,aAEL,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,gBAChB,WAAW,CAAC,cAAc,CAAC,KACxC,gBAAgB,EA4BlB,CAAA"}
1
+ {"version":3,"file":"traverse-webhooks.d.ts","sourceRoot":"","sources":["../../../../src/features/traverse-schema/helpers/traverse-webhooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AA0BtD,yFAAyF;AACzF,eAAO,MAAM,gBAAgB,GAC3B,SAAS,WAAW,CAAC,QAAQ;AAC7B,6CAA6C;AAC7C,SAAS,OAAO;AAChB,yCAAyC;AACzC,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,cAAc,WAAW,CAAC,cAAc,CAAC,KACxC,gBAAgB,EA4BlB,CAAA"}
@@ -1,9 +1,7 @@
1
1
  import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
2
2
  import type { UseNavState } from '../../hooks/useNavState.js';
3
3
  import type { OpenAPIV3_1 } from '@scalar/openapi-types';
4
- import type { OperationObject } from '@scalar/workspace-store/schemas/v3.1/strict/path-operations';
5
- import type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/schema';
6
- import type { TagObject } from '@scalar/workspace-store/schemas/v3.1/strict/tag';
4
+ import type { OperationObject, TagObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
7
5
  import type { Ref } from 'vue';
8
6
  /** Map of tagNames and their entries */
9
7
  export type TagsMap = Map<string, {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/traverse-schema/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6DAA6D,CAAA;AAClG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAA;AAChF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,wCAAwC;AACxC,MAAM,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,cAAc,EAAE,CAAA;CAAE,CAAC,CAAA;AAEhF,8DAA8D;AAC9D,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAA;AAED,4DAA4D;AAC5D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,WAAW,CAAC,WAAW,CAAA;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,eAAe,CAAA;CAC3B,CAAA;AAED,wDAAwD;AACxD,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,YAAY,CAAA;CACrB,CAAA;AAED,0EAA0E;AAC1E,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,cAAc,EAAE,CAAA;IAC1B,GAAG,EAAE,SAAS,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,6HAA6H;AAC7H,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,WAAW,CAAC,WAAW,CAAA;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,eAAe,CAAA;CACzB,CAAA;AAED,oDAAoD;AACpD,MAAM,MAAM,cAAc,GACtB,oBAAoB,GACpB,kBAAkB,GAClB,eAAe,GACf,YAAY,GACZ,gBAAgB,CAAA;AAEpB,sCAAsC;AACtC,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,GAAG,CAAC,yBAAyB,CAAC,CAAA;CACvC,GAAG,IAAI,CAAC,WAAW,EAAE,cAAc,GAAG,YAAY,GAAG,gBAAgB,GAAG,cAAc,GAAG,UAAU,GAAG,cAAc,CAAC,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/traverse-schema/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EACV,eAAe,EACf,SAAS,EACT,YAAY,EACb,MAAM,8DAA8D,CAAA;AACrE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,wCAAwC;AACxC,MAAM,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,cAAc,EAAE,CAAA;CAAE,CAAC,CAAA;AAEhF,8DAA8D;AAC9D,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAA;AAED,4DAA4D;AAC5D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,WAAW,CAAC,WAAW,CAAA;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,eAAe,CAAA;CAC3B,CAAA;AAED,wDAAwD;AACxD,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,YAAY,CAAA;CACrB,CAAA;AAED,0EAA0E;AAC1E,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,cAAc,EAAE,CAAA;IAC1B,GAAG,EAAE,SAAS,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,6HAA6H;AAC7H,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,WAAW,CAAC,WAAW,CAAA;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,eAAe,CAAA;CACzB,CAAA;AAED,oDAAoD;AACpD,MAAM,MAAM,cAAc,GACtB,oBAAoB,GACpB,kBAAkB,GAClB,eAAe,GACf,YAAY,GACZ,gBAAgB,CAAA;AAEpB,sCAAsC;AACtC,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,GAAG,CAAC,yBAAyB,CAAC,CAAA;CACvC,GAAG,IAAI,CAAC,WAAW,EAAE,cAAc,GAAG,YAAY,GAAG,gBAAgB,GAAG,cAAc,GAAG,UAAU,GAAG,cAAc,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"XBadges.vue.d.ts","sourceRoot":"","sources":["../../../src/features/x-badges/XBadges.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8DAA8D,CAAA;AAO1F,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC5B,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAA;CAC3B,CAAC;;AAgFF,wBAMG"}
1
+ {"version":3,"file":"XBadges.vue.d.ts","sourceRoot":"","sources":["../../../src/features/x-badges/XBadges.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8DAA8D,CAAA;AAK1F,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC5B,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAA;CAC3B,CAAC;;AA2DF,wBAMG"}
@@ -1,5 +1,5 @@
1
1
  import type { SecurityScheme } from '@scalar/oas-utils/entities/spec';
2
- import type { SecuritySchemeObject } from '@scalar/workspace-store/schemas/v3.1/strict/security-scheme';
2
+ import type { SecuritySchemeObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
3
  /**
4
4
  * Convert the old security scheme to the new one with secret extensions
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"convert-security-scheme.d.ts","sourceRoot":"","sources":["../../src/helpers/convert-security-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAA;AAEvG;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,WAAY,cAAc,KAAG,oBAsC9D,CAAA"}
1
+ {"version":3,"file":"convert-security-scheme.d.ts","sourceRoot":"","sources":["../../src/helpers/convert-security-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8DAA8D,CAAA;AAExG;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,QAAQ,cAAc,KAAG,oBAsC9D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/helpers/test-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAIlF;;GAEG;AAEH,eAAO,MAAM,iBAAiB,oBAAoB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,YAAgB,cAAc,EAAE;;;;;;;;;;CAOvG,CAAA;AAEF,eAAO,MAAM,6BAA6B,aAAc,WAAW,CAAC,QAAQ;;;;;;;;;;CAe3E,CAAA;AAED,eAAO,MAAM,uBAAuB;;CAElC,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAiB7B,CAAA;AAEF,eAAO,MAAM,eAAe,mBAAoB,iBAAiB,KAAG,cAqBlE,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;CAOjC,CAAA"}
1
+ {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/helpers/test-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAIlF;;GAEG;AAEH,eAAO,MAAM,iBAAiB,GAAI,iBAAgB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,EAAE,UAAS,cAAc,EAAO;;;;;;;;;;CAO5G,CAAA;AAEF,eAAO,MAAM,6BAA6B,GAAI,UAAU,WAAW,CAAC,QAAQ;;;;;;;;;;CAe3E,CAAA;AAED,eAAO,MAAM,uBAAuB;;CAElC,CAAA;AAEF,eAAO,MAAM,kBAAkB,GAAI,aAAS;;;;;;;;;;;;;;;;;CAiB1C,CAAA;AAEF,eAAO,MAAM,eAAe,GAAI,gBAAgB,iBAAiB,KAAG,cAsBlE,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;CAOjC,CAAA"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Freezes the scroll position of the element until all lazy loaded elements have loaded.
3
+ * Unfreezes immediately when the user scrolls.
4
+ */
5
+ export declare const useFreezing: () => void;
6
+ //# sourceMappingURL=useFreezing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFreezing.d.ts","sourceRoot":"","sources":["../../src/hooks/useFreezing.ts"],"names":[],"mappings":"AASA;;;GAGG;AACH,eAAO,MAAM,WAAW,YAyDvB,CAAA"}