@scalar/api-reference 1.49.0 → 1.49.2

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 (366) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/AgentScalarChatInterface-MUbtSqMw.js +41 -0
  3. package/dist/AgentScalarChatInterface-MUbtSqMw.js.map +1 -0
  4. package/dist/ExternalDocs-phu7GxpZ.js +272 -0
  5. package/dist/ExternalDocs-phu7GxpZ.js.map +1 -0
  6. package/dist/MobileHeader-DAm6yQX0.js +1373 -0
  7. package/dist/MobileHeader-DAm6yQX0.js.map +1 -0
  8. package/dist/Operation-CvpVIkc3.js +3829 -0
  9. package/dist/Operation-CvpVIkc3.js.map +1 -0
  10. package/dist/SearchButton-xzhIpMCZ.js +621 -0
  11. package/dist/SearchButton-xzhIpMCZ.js.map +1 -0
  12. package/dist/ServerSelector-5y29y2BJ.js +852 -0
  13. package/dist/ServerSelector-5y29y2BJ.js.map +1 -0
  14. package/dist/blocks/index.js +3 -10
  15. package/dist/blocks/scalar-client-selector-block/index.d.ts +1 -1
  16. package/dist/blocks/scalar-info-block/index.d.ts +2 -2
  17. package/dist/blocks/scalar-server-selector-block/index.d.ts +1 -1
  18. package/dist/browser/standalone.js +40799 -34683
  19. package/dist/browser/webpack-stats.json +1 -1
  20. package/dist/components/AgentScalar/index.d.ts +3 -3
  21. package/dist/components/Anchor/index.d.ts +2 -2
  22. package/dist/components/Badge/index.d.ts +1 -1
  23. package/dist/components/Content/Auth/index.d.ts +1 -1
  24. package/dist/components/Content/Models/index.d.ts +2 -2
  25. package/dist/components/Content/Schema/Schema.vue.d.ts +1 -1
  26. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +2 -2
  27. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +1 -1
  28. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -1
  29. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  31. package/dist/components/Content/Schema/helpers/get-compositions-to-render.d.ts +1 -1
  32. package/dist/components/Content/Schema/index.d.ts +4 -4
  33. package/dist/components/Content/Tags/index.d.ts +1 -1
  34. package/dist/components/Content/index.d.ts +2 -2
  35. package/dist/components/HttpMethod/index.d.ts +1 -1
  36. package/dist/components/LinkList/index.d.ts +1 -1
  37. package/dist/components/OperationsList/index.d.ts +1 -1
  38. package/dist/components/RenderPlugins/index.d.ts +1 -1
  39. package/dist/components/Section/index.d.ts +10 -10
  40. package/dist/components/SectionFlare/index.d.ts +1 -1
  41. package/dist/components/index.d.ts +5 -5
  42. package/dist/components/index.js +102 -42
  43. package/dist/components/index.js.map +1 -0
  44. package/dist/features/Operation/components/OperationParameters.vue.d.ts +1 -1
  45. package/dist/features/Operation/components/OperationResponses.vue.d.ts +1 -1
  46. package/dist/features/Operation/components/ParameterList.vue.d.ts +1 -1
  47. package/dist/features/Operation/components/ParameterListItem.vue.d.ts +1 -1
  48. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  49. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +1 -1
  50. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +1 -1
  51. package/dist/features/Operation/index.d.ts +1 -1
  52. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +1 -1
  53. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +1 -1
  54. package/dist/features/Search/components/SearchResult.vue.d.ts +1 -1
  55. package/dist/features/Search/helpers/create-fuse-instance.d.ts +1 -1
  56. package/dist/features/Search/helpers/create-search-index.d.ts +1 -1
  57. package/dist/features/Search/index.d.ts +2 -2
  58. package/dist/features/Search/types.d.ts +1 -1
  59. package/dist/features/developer-tools/index.d.ts +1 -1
  60. package/dist/features/example-responses/index.d.ts +1 -1
  61. package/dist/features/external-docs/index.d.ts +1 -1
  62. package/dist/features/index.d.ts +2 -2
  63. package/dist/features/index.js +4 -10
  64. package/dist/features/info-object/index.d.ts +3 -3
  65. package/dist/features/specification-extension/index.d.ts +2 -2
  66. package/dist/features/test-request-button/index.d.ts +1 -1
  67. package/dist/features/x-badges/index.d.ts +1 -1
  68. package/dist/helpers/download.d.ts +1 -1
  69. package/dist/helpers/download.d.ts.map +1 -1
  70. package/dist/helpers/index.d.ts +8 -8
  71. package/dist/helpers/index.js +3 -24
  72. package/dist/hooks/index.d.ts +2 -2
  73. package/dist/hooks/index.js +3 -8
  74. package/dist/index.d.ts +5 -5
  75. package/dist/index.js +7 -14
  76. package/dist/lazy-bus-CV8Ox5hD.js +333 -0
  77. package/dist/lazy-bus-CV8Ox5hD.js.map +1 -0
  78. package/dist/normalize-configurations-DcVpOEjD.js +232 -0
  79. package/dist/normalize-configurations-DcVpOEjD.js.map +1 -0
  80. package/dist/plugins/hooks/usePluginManager.d.ts +1 -1
  81. package/dist/plugins/index.d.ts +3 -3
  82. package/dist/plugins/index.js +2 -9
  83. package/dist/plugins-4EyiUD_A.js +80 -0
  84. package/dist/plugins-4EyiUD_A.js.map +1 -0
  85. package/dist/src-DJwsRvMU.js +1686 -0
  86. package/dist/src-DJwsRvMU.js.map +1 -0
  87. package/dist/ssr.d.ts +2 -2
  88. package/dist/ssr.js +7 -14
  89. package/dist/storage--3JuzjCI.js +42 -0
  90. package/dist/storage--3JuzjCI.js.map +1 -0
  91. package/dist/style.css +6714 -7276
  92. package/dist/urls-gPTXGgbj.js +17 -0
  93. package/dist/urls-gPTXGgbj.js.map +1 -0
  94. package/dist/use-agent-Bnm1de0n.js +60 -0
  95. package/dist/use-agent-Bnm1de0n.js.map +1 -0
  96. package/dist/use-intersection-8QqPi2O-.js +24 -0
  97. package/dist/use-intersection-8QqPi2O-.js.map +1 -0
  98. package/package.json +25 -27
  99. package/dist/_virtual/_plugin-vue_export-helper.js +0 -10
  100. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +0 -7
  101. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +0 -123
  102. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +0 -7
  103. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +0 -142
  104. package/dist/blocks/scalar-client-selector-block/helpers/featured-clients.js +0 -24
  105. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +0 -7
  106. package/dist/blocks/scalar-info-block/components/DownloadLink.vue2.js +0 -63
  107. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.js +0 -59
  108. package/dist/blocks/scalar-info-block/components/InfoBlock.vue2.js +0 -4
  109. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.js +0 -7
  110. package/dist/blocks/scalar-info-block/components/InfoDescription.vue2.js +0 -70
  111. package/dist/blocks/scalar-info-block/components/InfoLinks.vue.js +0 -38
  112. package/dist/blocks/scalar-info-block/components/InfoLinks.vue2.js +0 -4
  113. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.js +0 -38
  114. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue2.js +0 -4
  115. package/dist/blocks/scalar-info-block/components/InfoVersion.vue.js +0 -28
  116. package/dist/blocks/scalar-info-block/components/InfoVersion.vue2.js +0 -4
  117. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.js +0 -7
  118. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue2.js +0 -19
  119. package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +0 -14
  120. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +0 -7
  121. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +0 -112
  122. package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.js +0 -21
  123. package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue2.js +0 -4
  124. package/dist/blocks/scalar-server-selector-block/components/Selector.vue.js +0 -76
  125. package/dist/blocks/scalar-server-selector-block/components/Selector.vue2.js +0 -4
  126. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +0 -72
  127. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue2.js +0 -4
  128. package/dist/components/AgentScalar/AgentScalarButton.vue.js +0 -22
  129. package/dist/components/AgentScalar/AgentScalarButton.vue2.js +0 -4
  130. package/dist/components/AgentScalar/AgentScalarChatInterface.vue.js +0 -4
  131. package/dist/components/AgentScalar/AgentScalarChatInterface.vue2.js +0 -29
  132. package/dist/components/AgentScalar/AgentScalarDrawer.vue.js +0 -7
  133. package/dist/components/AgentScalar/AgentScalarDrawer.vue2.js +0 -78
  134. package/dist/components/AgentScalar/OpenMCPButton.vue.js +0 -7
  135. package/dist/components/AgentScalar/OpenMCPButton.vue2.js +0 -191
  136. package/dist/components/Anchor/Anchor.vue.js +0 -51
  137. package/dist/components/Anchor/Anchor.vue2.js +0 -4
  138. package/dist/components/Anchor/WithBreadcrumb.vue.js +0 -41
  139. package/dist/components/Anchor/WithBreadcrumb.vue2.js +0 -4
  140. package/dist/components/ApiReference.vue.js +0 -10
  141. package/dist/components/ApiReference.vue2.js +0 -742
  142. package/dist/components/Badge/Badge.vue.js +0 -7
  143. package/dist/components/Badge/Badge.vue2.js +0 -26
  144. package/dist/components/ClassicHeader.vue.js +0 -21
  145. package/dist/components/Content/Auth/Auth.vue.js +0 -77
  146. package/dist/components/Content/Auth/Auth.vue2.js +0 -4
  147. package/dist/components/Content/Auth/helpers/get-default-security.js +0 -55
  148. package/dist/components/Content/Content.vue.js +0 -171
  149. package/dist/components/Content/Content.vue3.js +0 -5
  150. package/dist/components/Content/Models/Model.vue.js +0 -47
  151. package/dist/components/Content/Models/Model.vue2.js +0 -4
  152. package/dist/components/Content/Models/ModelTag.vue.js +0 -76
  153. package/dist/components/Content/Models/ModelTag.vue2.js +0 -4
  154. package/dist/components/Content/Models/components/ClassicLayout.vue.js +0 -7
  155. package/dist/components/Content/Models/components/ClassicLayout.vue2.js +0 -78
  156. package/dist/components/Content/Models/components/ModernLayout.vue.js +0 -61
  157. package/dist/components/Content/Models/components/ModernLayout.vue2.js +0 -4
  158. package/dist/components/Content/Operations/TraversedEntry.vue.js +0 -146
  159. package/dist/components/Content/Operations/TraversedEntry.vue2.js +0 -4
  160. package/dist/components/Content/Schema/RenderString.vue.js +0 -27
  161. package/dist/components/Content/Schema/RenderString.vue2.js +0 -4
  162. package/dist/components/Content/Schema/Schema.vue.js +0 -7
  163. package/dist/components/Content/Schema/Schema.vue2.js +0 -193
  164. package/dist/components/Content/Schema/SchemaComposition.vue.js +0 -120
  165. package/dist/components/Content/Schema/SchemaComposition.vue2.js +0 -4
  166. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +0 -7
  167. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue2.js +0 -36
  168. package/dist/components/Content/Schema/SchemaEnums.vue.js +0 -7
  169. package/dist/components/Content/Schema/SchemaEnums.vue2.js +0 -112
  170. package/dist/components/Content/Schema/SchemaHeading.vue.js +0 -7
  171. package/dist/components/Content/Schema/SchemaHeading.vue2.js +0 -61
  172. package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue.js +0 -66
  173. package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue2.js +0 -4
  174. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +0 -120
  175. package/dist/components/Content/Schema/SchemaObjectProperties.vue2.js +0 -4
  176. package/dist/components/Content/Schema/SchemaProperty.vue.js +0 -7
  177. package/dist/components/Content/Schema/SchemaProperty.vue2.js +0 -236
  178. package/dist/components/Content/Schema/SchemaPropertyDefault.vue.js +0 -7
  179. package/dist/components/Content/Schema/SchemaPropertyDefault.vue2.js +0 -45
  180. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +0 -7
  181. package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +0 -40
  182. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +0 -7
  183. package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +0 -80
  184. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +0 -7
  185. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +0 -318
  186. package/dist/components/Content/Schema/helpers/format-example.js +0 -41
  187. package/dist/components/Content/Schema/helpers/format-value.js +0 -35
  188. package/dist/components/Content/Schema/helpers/get-compositions-to-render.js +0 -31
  189. package/dist/components/Content/Schema/helpers/get-enum-values.js +0 -20
  190. package/dist/components/Content/Schema/helpers/get-property-description.js +0 -34
  191. package/dist/components/Content/Schema/helpers/get-ref-name.js +0 -14
  192. package/dist/components/Content/Schema/helpers/get-schema-type.js +0 -47
  193. package/dist/components/Content/Schema/helpers/has-complex-array-items.js +0 -48
  194. package/dist/components/Content/Schema/helpers/is-empty-schema-object.js +0 -13
  195. package/dist/components/Content/Schema/helpers/is-type-object.js +0 -27
  196. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +0 -215
  197. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +0 -64
  198. package/dist/components/Content/Schema/helpers/schema-composition.js +0 -4
  199. package/dist/components/Content/Schema/helpers/schema-name.js +0 -24
  200. package/dist/components/Content/Schema/helpers/should-display-description.js +0 -12
  201. package/dist/components/Content/Schema/helpers/should-display-heading.js +0 -12
  202. package/dist/components/Content/Schema/helpers/should-render-array-item-composition.js +0 -15
  203. package/dist/components/Content/Schema/helpers/sort-property-names.js +0 -71
  204. package/dist/components/Content/Tags/Tag.vue.js +0 -46
  205. package/dist/components/Content/Tags/Tag.vue2.js +0 -4
  206. package/dist/components/Content/Tags/components/ClassicLayout.vue.js +0 -7
  207. package/dist/components/Content/Tags/components/ClassicLayout.vue2.js +0 -57
  208. package/dist/components/Content/Tags/components/ModernLayout.vue.js +0 -7
  209. package/dist/components/Content/Tags/components/ModernLayout.vue2.js +0 -56
  210. package/dist/components/Content/Tags/components/TagSection.vue.js +0 -100
  211. package/dist/components/Content/Tags/components/TagSection.vue2.js +0 -4
  212. package/dist/components/GettingStarted.vue.js +0 -7
  213. package/dist/components/GettingStarted.vue2.js +0 -82
  214. package/dist/components/HttpMethod/HttpMethod.vue.js +0 -34
  215. package/dist/components/HttpMethod/HttpMethod.vue2.js +0 -4
  216. package/dist/components/IntersectionObserver.vue.js +0 -55
  217. package/dist/components/IntersectionObserver.vue2.js +0 -4
  218. package/dist/components/Lazy/Lazy.vue.js +0 -106
  219. package/dist/components/Lazy/Lazy.vue2.js +0 -4
  220. package/dist/components/LinkList/LinkList.vue.js +0 -7
  221. package/dist/components/LinkList/LinkList.vue2.js +0 -48
  222. package/dist/components/LoadingSkeleton.vue.js +0 -7
  223. package/dist/components/LoadingSkeleton.vue2.js +0 -20
  224. package/dist/components/MobileHeader.vue.js +0 -62
  225. package/dist/components/MobileHeader.vue2.js +0 -4
  226. package/dist/components/OperationPath.vue.js +0 -7
  227. package/dist/components/OperationPath.vue2.js +0 -30
  228. package/dist/components/OperationsList/OperationsList.vue.js +0 -7
  229. package/dist/components/OperationsList/OperationsList.vue2.js +0 -61
  230. package/dist/components/OperationsList/OperationsListItem.vue.js +0 -7
  231. package/dist/components/OperationsList/OperationsListItem.vue2.js +0 -68
  232. package/dist/components/RenderPlugins/RenderPlugins.vue.js +0 -43
  233. package/dist/components/RenderPlugins/RenderPlugins.vue2.js +0 -4
  234. package/dist/components/ScreenReader.vue.js +0 -7
  235. package/dist/components/ScreenReader.vue2.js +0 -21
  236. package/dist/components/Section/CompactSection.vue.js +0 -7
  237. package/dist/components/Section/CompactSection.vue2.js +0 -60
  238. package/dist/components/Section/Section.vue.js +0 -7
  239. package/dist/components/Section/Section.vue2.js +0 -23
  240. package/dist/components/Section/SectionAccordion.vue.js +0 -7
  241. package/dist/components/Section/SectionAccordion.vue2.js +0 -76
  242. package/dist/components/Section/SectionColumn.vue.js +0 -14
  243. package/dist/components/Section/SectionColumns.vue.js +0 -14
  244. package/dist/components/Section/SectionContainer.vue.js +0 -7
  245. package/dist/components/Section/SectionContainer.vue2.js +0 -21
  246. package/dist/components/Section/SectionContainerAccordion.vue.js +0 -7
  247. package/dist/components/Section/SectionContainerAccordion.vue2.js +0 -54
  248. package/dist/components/Section/SectionContent.vue.js +0 -7
  249. package/dist/components/Section/SectionContent.vue2.js +0 -22
  250. package/dist/components/Section/SectionHeader.vue.js +0 -7
  251. package/dist/components/Section/SectionHeader.vue2.js +0 -26
  252. package/dist/components/Section/SectionHeaderTag.vue.js +0 -7
  253. package/dist/components/Section/SectionHeaderTag.vue2.js +0 -20
  254. package/dist/components/SectionFlare/SectionFlare.vue.js +0 -14
  255. package/dist/components/ShowMoreButton.vue.js +0 -7
  256. package/dist/components/ShowMoreButton.vue2.js +0 -23
  257. package/dist/consts/urls.js +0 -16
  258. package/dist/features/Operation/Operation.vue.js +0 -100
  259. package/dist/features/Operation/Operation.vue2.js +0 -4
  260. package/dist/features/Operation/components/ContentTypeSelect.vue.js +0 -88
  261. package/dist/features/Operation/components/ContentTypeSelect.vue2.js +0 -4
  262. package/dist/features/Operation/components/Header.vue.js +0 -33
  263. package/dist/features/Operation/components/Header.vue2.js +0 -4
  264. package/dist/features/Operation/components/Headers.vue.js +0 -7
  265. package/dist/features/Operation/components/Headers.vue2.js +0 -71
  266. package/dist/features/Operation/components/OperationParameters.vue.js +0 -92
  267. package/dist/features/Operation/components/OperationParameters.vue2.js +0 -4
  268. package/dist/features/Operation/components/OperationResponses.vue.js +0 -44
  269. package/dist/features/Operation/components/OperationResponses.vue2.js +0 -4
  270. package/dist/features/Operation/components/ParameterList.vue.js +0 -50
  271. package/dist/features/Operation/components/ParameterList.vue2.js +0 -4
  272. package/dist/features/Operation/components/ParameterListItem.vue.js +0 -7
  273. package/dist/features/Operation/components/ParameterListItem.vue2.js +0 -163
  274. package/dist/features/Operation/components/RequestBody.vue.js +0 -7
  275. package/dist/features/Operation/components/RequestBody.vue2.js +0 -164
  276. package/dist/features/Operation/components/callbacks/Callback.vue.js +0 -7
  277. package/dist/features/Operation/components/callbacks/Callback.vue2.js +0 -60
  278. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +0 -63
  279. package/dist/features/Operation/components/callbacks/Callbacks.vue2.js +0 -4
  280. package/dist/features/Operation/helpers/filter-selected-security.js +0 -28
  281. package/dist/features/Operation/helpers/get-first-server.js +0 -25
  282. package/dist/features/Operation/layouts/ClassicLayout.vue.js +0 -7
  283. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +0 -243
  284. package/dist/features/Operation/layouts/ModernLayout.vue.js +0 -7
  285. package/dist/features/Operation/layouts/ModernLayout.vue2.js +0 -256
  286. package/dist/features/Search/components/SearchButton.vue.js +0 -88
  287. package/dist/features/Search/components/SearchButton.vue2.js +0 -4
  288. package/dist/features/Search/components/SearchModal.vue.js +0 -7
  289. package/dist/features/Search/components/SearchModal.vue2.js +0 -120
  290. package/dist/features/Search/components/SearchResult.vue.js +0 -84
  291. package/dist/features/Search/components/SearchResult.vue2.js +0 -4
  292. package/dist/features/Search/helpers/create-fuse-instance.js +0 -43
  293. package/dist/features/Search/helpers/create-search-index.js +0 -119
  294. package/dist/features/Search/hooks/useSearchIndex.js +0 -33
  295. package/dist/features/ask-agent-button/AskAgentButton.vue.js +0 -7
  296. package/dist/features/ask-agent-button/AskAgentButton.vue2.js +0 -51
  297. package/dist/features/developer-tools/DeveloperTools.vue.js +0 -60
  298. package/dist/features/developer-tools/DeveloperTools.vue2.js +0 -4
  299. package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.js +0 -13
  300. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.js +0 -33
  301. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue2.js +0 -4
  302. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.js +0 -138
  303. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue2.js +0 -4
  304. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.js +0 -66
  305. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue2.js +0 -4
  306. package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.js +0 -54
  307. package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue2.js +0 -4
  308. package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.js +0 -71
  309. package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue2.js +0 -4
  310. package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.js +0 -63
  311. package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue2.js +0 -4
  312. package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.js +0 -73
  313. package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue2.js +0 -4
  314. package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.js +0 -57
  315. package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue2.js +0 -4
  316. package/dist/features/developer-tools/components/DeployApiReference.vue.js +0 -35
  317. package/dist/features/developer-tools/components/DeployApiReference.vue2.js +0 -4
  318. package/dist/features/developer-tools/components/ModifyConfiguration.vue.js +0 -103
  319. package/dist/features/developer-tools/components/ModifyConfiguration.vue2.js +0 -4
  320. package/dist/features/developer-tools/components/ShareApiReference.vue.js +0 -35
  321. package/dist/features/developer-tools/components/ShareApiReference.vue2.js +0 -4
  322. package/dist/features/example-responses/ExampleResponse.vue.js +0 -7
  323. package/dist/features/example-responses/ExampleResponse.vue2.js +0 -61
  324. package/dist/features/example-responses/ExampleResponseTab.vue.js +0 -7
  325. package/dist/features/example-responses/ExampleResponseTab.vue2.js +0 -25
  326. package/dist/features/example-responses/ExampleResponseTabList.vue.js +0 -7
  327. package/dist/features/example-responses/ExampleResponseTabList.vue2.js +0 -37
  328. package/dist/features/example-responses/ExampleResponses.vue.js +0 -7
  329. package/dist/features/example-responses/ExampleResponses.vue2.js +0 -181
  330. package/dist/features/example-responses/ExampleSchema.vue.js +0 -42
  331. package/dist/features/example-responses/ExampleSchema.vue2.js +0 -4
  332. package/dist/features/example-responses/has-response-content.js +0 -28
  333. package/dist/features/external-docs/ExternalDocs.vue.js +0 -42
  334. package/dist/features/external-docs/ExternalDocs.vue2.js +0 -4
  335. package/dist/features/info-object/Contact.vue.js +0 -46
  336. package/dist/features/info-object/Contact.vue2.js +0 -4
  337. package/dist/features/info-object/License.vue.js +0 -40
  338. package/dist/features/info-object/License.vue2.js +0 -4
  339. package/dist/features/info-object/TermsOfService.vue.js +0 -34
  340. package/dist/features/info-object/TermsOfService.vue2.js +0 -4
  341. package/dist/features/multiple-documents/DocumentSelector.vue.js +0 -54
  342. package/dist/features/multiple-documents/DocumentSelector.vue2.js +0 -4
  343. package/dist/features/specification-extension/SpecificationExtension.vue.js +0 -4
  344. package/dist/features/specification-extension/SpecificationExtension.vue2.js +0 -52
  345. package/dist/features/specification-extension/helpers.js +0 -9
  346. package/dist/features/test-request-button/TestRequestButton.vue.js +0 -7
  347. package/dist/features/test-request-button/TestRequestButton.vue2.js +0 -46
  348. package/dist/features/x-badges/XBadges.vue.js +0 -35
  349. package/dist/features/x-badges/XBadges.vue2.js +0 -4
  350. package/dist/helpers/color-mode.js +0 -9
  351. package/dist/helpers/download.js +0 -45
  352. package/dist/helpers/id-routing.js +0 -109
  353. package/dist/helpers/lazy-bus.js +0 -195
  354. package/dist/helpers/load-from-perssistance.js +0 -17
  355. package/dist/helpers/map-config-plugins.js +0 -27
  356. package/dist/helpers/map-config-to-workspace-store.js +0 -45
  357. package/dist/helpers/normalize-configurations.js +0 -69
  358. package/dist/helpers/openapi.js +0 -135
  359. package/dist/helpers/storage.js +0 -47
  360. package/dist/helpers/upload-temp-document.js +0 -24
  361. package/dist/hooks/use-agent.js +0 -42
  362. package/dist/hooks/use-intersection.js +0 -32
  363. package/dist/plugins/hooks/usePluginManager.js +0 -14
  364. package/dist/plugins/persistance-plugin.js +0 -48
  365. package/dist/plugins/plugin-manager.js +0 -39
  366. package/dist/standalone/lib/html-api.js +0 -81
@@ -1,4 +1,4 @@
1
- export { default as AgentScalarButton } from './AgentScalarButton.vue.js';
2
- export { default as AgentScalarDrawer } from './AgentScalarDrawer.vue.js';
3
- export { default as OpenMCPButton } from './OpenMCPButton.vue.js';
1
+ export { default as AgentScalarButton } from './AgentScalarButton.vue';
2
+ export { default as AgentScalarDrawer } from './AgentScalarDrawer.vue';
3
+ export { default as OpenMCPButton } from './OpenMCPButton.vue';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { default as Anchor } from './Anchor.vue.js';
2
- export { default as WithBreadcrumb } from './WithBreadcrumb.vue.js';
1
+ export { default as Anchor } from './Anchor.vue';
2
+ export { default as WithBreadcrumb } from './WithBreadcrumb.vue';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as Badge } from './Badge.vue.js';
1
+ export { default as Badge } from './Badge.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as Auth } from './Auth.vue.js';
1
+ export { default as Auth } from './Auth.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { default as Model } from './Model.vue.js';
2
- export { default as Models } from './ModelTag.vue.js';
1
+ export { default as Model } from './Model.vue';
2
+ export { default as Models } from './ModelTag.vue';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
2
  import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { SchemaOptions } from '../../../components/Content/Schema/types';
3
+ import type { SchemaOptions } from '@/components/Content/Schema/types';
4
4
  type __VLS_Props = {
5
5
  schema?: SchemaObject;
6
6
  /** Track how deep we've gone */
@@ -1,7 +1,7 @@
1
1
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
2
  import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { SchemaOptions } from '../../../components/Content/Schema/types';
4
- import { type CompositionKeyword } from './helpers/schema-composition.js';
3
+ import type { SchemaOptions } from '@/components/Content/Schema/types';
4
+ import { type CompositionKeyword } from './helpers/schema-composition';
5
5
  type __VLS_Props = {
6
6
  /** The composition keyword (oneOf, anyOf, allOf) */
7
7
  composition: CompositionKeyword;
@@ -1,6 +1,6 @@
1
1
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
2
  import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { SchemaOptions } from '../../../components/Content/Schema/types';
3
+ import type { SchemaOptions } from '@/components/Content/Schema/types';
4
4
  type __VLS_Props = {
5
5
  schema: SchemaObject;
6
6
  discriminator?: DiscriminatorObject;
@@ -1,7 +1,7 @@
1
1
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
2
  import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
3
  import { type Component } from 'vue';
4
- import type { SchemaOptions } from '../../../components/Content/Schema/types';
4
+ import type { SchemaOptions } from '@/components/Content/Schema/types';
5
5
  /**
6
6
  * Note: We're taking in a prop called `value` which should be a JSON Schema.
7
7
  *
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyExamples.vue"],"names":[],"mappings":"AA0JA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AA8JF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"SchemaPropertyExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyExamples.vue"],"names":[],"mappings":"AA2KA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AA6KF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAwaA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAkBhG,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,YAAY,GAAG,SAAS,CAAA;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,qHAAqH;IACrH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B,CAAC;AAkfJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK5C,QAAA,MAAM,UAAU;cA/fD,OAAO;oBAGD,OAAO;qBAJN,OAAO;kBAGV,OAAO;6EAggBxB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAgbA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAkBhG,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,YAAY,GAAG,SAAS,CAAA;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,qHAAqH;IACrH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B,CAAC;AAofJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK5C,QAAA,MAAM,UAAU;cAjgBD,OAAO;oBAGD,OAAO;qBAJN,OAAO;kBAGV,OAAO;6EAkgBxB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
2
- import { type CompositionKeyword } from './schema-composition.js';
2
+ import { type CompositionKeyword } from './schema-composition';
3
3
  type CompositionToRender = {
4
4
  composition: CompositionKeyword;
5
5
  value: SchemaObject;
@@ -1,5 +1,5 @@
1
- export { default as Schema } from './Schema.vue.js';
2
- export { default as SchemaHeading } from './SchemaHeading.vue.js';
3
- export { default as SchemaObjectExampleCodeBlock } from './SchemaObjectExampleCodeBlock.vue.js';
4
- export { default as SchemaProperty } from './SchemaProperty.vue.js';
1
+ export { default as Schema } from './Schema.vue';
2
+ export { default as SchemaHeading } from './SchemaHeading.vue';
3
+ export { default as SchemaObjectExampleCodeBlock } from './SchemaObjectExampleCodeBlock.vue';
4
+ export { default as SchemaProperty } from './SchemaProperty.vue';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as Tag } from './Tag.vue.js';
1
+ export { default as Tag } from './Tag.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
- export { default as Content } from './Content.vue.js';
1
+ export { default as Content } from './Content.vue';
2
2
  export { Model, Models } from './Models';
3
- export { default as TraversedEntry } from './Operations/TraversedEntry.vue.js';
3
+ export { default as TraversedEntry } from './Operations/TraversedEntry.vue';
4
4
  export { Schema, SchemaHeading, SchemaObjectExampleCodeBlock, SchemaProperty } from './Schema';
5
5
  export { Tag } from './Tags';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as HttpMethod } from './HttpMethod.vue.js';
1
+ export { default as HttpMethod } from './HttpMethod.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as LinkList } from './LinkList.vue.js';
1
+ export { default as LinkList } from './LinkList.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as OperationsList } from './OperationsList.vue.js';
1
+ export { default as OperationsList } from './OperationsList.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as RenderPlugins } from './RenderPlugins.vue.js';
1
+ export { default as RenderPlugins } from './RenderPlugins.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,11 +1,11 @@
1
- export { default as Section } from './Section.vue.js';
2
- export { default as SectionAccordion } from './SectionAccordion.vue.js';
3
- export { default as SectionColumn } from './SectionColumn.vue.js';
4
- export { default as SectionColumns } from './SectionColumns.vue.js';
5
- export { default as SectionContainer } from './SectionContainer.vue.js';
6
- export { default as SectionContainerAccordion } from './SectionContainerAccordion.vue.js';
7
- export { default as SectionContent } from './SectionContent.vue.js';
8
- export { default as SectionHeader } from './SectionHeader.vue.js';
9
- export { default as SectionHeaderTag } from './SectionHeaderTag.vue.js';
10
- export { default as CompactSection } from './CompactSection.vue.js';
1
+ export { default as Section } from './Section.vue';
2
+ export { default as SectionAccordion } from './SectionAccordion.vue';
3
+ export { default as SectionColumn } from './SectionColumn.vue';
4
+ export { default as SectionColumns } from './SectionColumns.vue';
5
+ export { default as SectionContainer } from './SectionContainer.vue';
6
+ export { default as SectionContainerAccordion } from './SectionContainerAccordion.vue';
7
+ export { default as SectionContent } from './SectionContent.vue';
8
+ export { default as SectionHeader } from './SectionHeader.vue';
9
+ export { default as SectionHeaderTag } from './SectionHeaderTag.vue';
10
+ export { default as CompactSection } from './CompactSection.vue';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as SectionFlare } from './SectionFlare.vue.js';
1
+ export { default as SectionFlare } from './SectionFlare.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,11 +1,11 @@
1
- export { default as ClassicHeader } from './ClassicHeader.vue.js';
1
+ export { default as ClassicHeader } from './ClassicHeader.vue';
2
2
  export { Content, Model, Models, Schema, SchemaHeading, SchemaObjectExampleCodeBlock, SchemaProperty, Tag, TraversedEntry, } from './Content';
3
3
  export { Auth } from './Content/Auth';
4
- export { default as ApiReferenceContent } from './Content/Content.vue.js';
4
+ export { default as ApiReferenceContent } from './Content/Content.vue';
5
5
  export { HttpMethod } from './HttpMethod';
6
- export { default as IntersectionObserver } from './IntersectionObserver.vue.js';
7
- export { default as Lazy } from './Lazy/Lazy.vue.js';
8
- export { default as MobileHeader } from './MobileHeader.vue.js';
6
+ export { default as IntersectionObserver } from './IntersectionObserver.vue';
7
+ export { default as Lazy } from './Lazy/Lazy.vue';
8
+ export { default as MobileHeader } from './MobileHeader.vue';
9
9
  export { OperationsList } from './OperationsList';
10
10
  export { RenderPlugins } from './RenderPlugins';
11
11
  export { SectionContainer } from './Section';
@@ -1,42 +1,102 @@
1
- import { default as default2 } from "./ClassicHeader.vue.js";
2
- import { default as default3, default as default4 } from "./Content/Content.vue.js";
3
- /* empty css */
4
- import { default as default5 } from "./IntersectionObserver.vue.js";
5
- import { default as default6 } from "./Lazy/Lazy.vue.js";
6
- import { default as default7 } from "./MobileHeader.vue.js";
7
- import { default as default8 } from "./Content/Models/Model.vue.js";
8
- import { default as default9 } from "./Content/Models/ModelTag.vue.js";
9
- import { default as default10 } from "./Content/Schema/SchemaObjectExampleCodeBlock.vue.js";
10
- import { default as default11 } from "./Content/Tags/Tag.vue.js";
11
- import { default as default12 } from "./Content/Operations/TraversedEntry.vue.js";
12
- import { default as default13 } from "./Content/Auth/Auth.vue.js";
13
- import { default as default14 } from "./HttpMethod/HttpMethod.vue.js";
14
- import { default as default15 } from "./RenderPlugins/RenderPlugins.vue.js";
15
- import { default as default16 } from "./Content/Schema/Schema.vue.js";
16
- import { default as default17 } from "./Content/Schema/SchemaHeading.vue.js";
17
- import { default as default18 } from "./Content/Schema/SchemaProperty.vue.js";
18
- import { default as default19 } from "./OperationsList/OperationsList.vue.js";
19
- import { default as default20 } from "./Section/SectionContainer.vue.js";
20
- import { default as default21 } from "./SectionFlare/SectionFlare.vue.js";
21
- export {
22
- default3 as ApiReferenceContent,
23
- default13 as Auth,
24
- default2 as ClassicHeader,
25
- default4 as Content,
26
- default14 as HttpMethod,
27
- default5 as IntersectionObserver,
28
- default6 as Lazy,
29
- default7 as MobileHeader,
30
- default8 as Model,
31
- default9 as Models,
32
- default19 as OperationsList,
33
- default15 as RenderPlugins,
34
- default16 as Schema,
35
- default17 as SchemaHeading,
36
- default10 as SchemaObjectExampleCodeBlock,
37
- default18 as SchemaProperty,
38
- default20 as SectionContainer,
39
- default21 as SectionFlare,
40
- default11 as Tag,
41
- default12 as TraversedEntry
42
- };
1
+ import "../ExternalDocs-phu7GxpZ.js";
2
+ import { a as TraversedEntry_default, c as OperationsList_default, d as Auth_default, f as ClassicHeader_default, i as RenderPlugins_default, l as ModelTag_default, n as Content_default, o as Lazy_default, r as SectionFlare_default, s as Tag_default, t as MobileHeader_default, u as Model_default } from "../MobileHeader-DAm6yQX0.js";
3
+ import { i as SectionContainer_default } from "../ServerSelector-5y29y2BJ.js";
4
+ import { a as SchemaHeading_default, i as SchemaProperty_default, n as HttpMethod_default, r as Schema_default } from "../Operation-CvpVIkc3.js";
5
+ import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, onMounted, openBlock, ref, renderSlot, resolveDynamicComponent, unref, withCtx } from "vue";
6
+ import { ScalarCard, ScalarCardFooter, ScalarCardSection, ScalarCodeBlock } from "@scalar/components";
7
+ import { useIntersectionObserver } from "@vueuse/core";
8
+ import { ExamplePicker } from "@scalar/api-client/v2/blocks/operation-code-sample";
9
+ //#region src/components/Content/Schema/SchemaObjectExampleCodeBlock.vue?vue&type=script&setup=true&lang.ts
10
+ var _hoisted_1 = { class: "code-snippet" };
11
+ //#endregion
12
+ //#region src/components/Content/Schema/SchemaObjectExampleCodeBlock.vue
13
+ var SchemaObjectExampleCodeBlock_default = /* @__PURE__ */ defineComponent({
14
+ __name: "SchemaObjectExampleCodeBlock",
15
+ props: { schema: {} },
16
+ setup(__props) {
17
+ /** Grab the examples for the schema object */
18
+ const examples = computed(() => {
19
+ const base = {};
20
+ if (__props.schema["x-examples"]) Object.entries(__props.schema["x-examples"]).forEach(([key, value]) => {
21
+ base[key] = typeof value === "object" ? JSON.stringify(value, null, 2) : String(value);
22
+ });
23
+ if (__props.schema.examples) __props.schema.examples.forEach((value, index) => {
24
+ base[`Example ${index + 1}`] = typeof value === "object" ? JSON.stringify(value, null, 2) : String(value);
25
+ });
26
+ return base;
27
+ });
28
+ /** The currently selected example key */
29
+ const selectedExampleKey = ref(Object.keys(examples.value)[0] ?? "");
30
+ return (_ctx, _cache) => {
31
+ return Object.keys(examples.value).length > 0 ? (openBlock(), createBlock(unref(ScalarCard), {
32
+ key: 0,
33
+ class: "dark-mode"
34
+ }, {
35
+ default: withCtx(() => [createVNode(unref(ScalarCardSection), null, {
36
+ default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(unref(ScalarCodeBlock), {
37
+ class: "bg-b-2",
38
+ lang: "json",
39
+ lineNumbers: "",
40
+ prettyPrintedContent: examples.value[selectedExampleKey.value] ?? "There was an error loading the example"
41
+ }, null, 8, ["prettyPrintedContent"])])]),
42
+ _: 1
43
+ }), Object.keys(examples.value).length > 1 ? (openBlock(), createBlock(unref(ScalarCardFooter), {
44
+ key: 0,
45
+ class: "bg-b-3"
46
+ }, {
47
+ default: withCtx(() => [createVNode(unref(ExamplePicker), {
48
+ modelValue: selectedExampleKey.value,
49
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedExampleKey.value = $event),
50
+ examples: examples.value
51
+ }, null, 8, ["modelValue", "examples"])]),
52
+ _: 1
53
+ })) : createCommentVNode("", true)]),
54
+ _: 1
55
+ })) : createCommentVNode("", true);
56
+ };
57
+ }
58
+ });
59
+ //#endregion
60
+ //#region src/components/IntersectionObserver.vue
61
+ var IntersectionObserver_default = /* @__PURE__ */ defineComponent({
62
+ __name: "IntersectionObserver",
63
+ props: {
64
+ id: {},
65
+ is: {}
66
+ },
67
+ emits: ["intersecting"],
68
+ setup(__props, { emit: __emit }) {
69
+ const props = __props;
70
+ const emit = __emit;
71
+ const intersectionObserverRef = ref();
72
+ const calculateRootMargin = (element) => {
73
+ const height = element.offsetHeight;
74
+ return `${height / 2}px 0px ${height / 2}px 0px`;
75
+ };
76
+ const calculateThreshold = (element) => {
77
+ return element.offsetHeight < window.innerHeight ? .8 : .5;
78
+ };
79
+ onMounted(() => {
80
+ if (intersectionObserverRef.value) useIntersectionObserver(intersectionObserverRef, ([entry]) => {
81
+ if (entry?.isIntersecting && props.id) emit("intersecting", props.id);
82
+ }, {
83
+ rootMargin: calculateRootMargin(intersectionObserverRef.value),
84
+ threshold: calculateThreshold(intersectionObserverRef.value)
85
+ });
86
+ });
87
+ return (_ctx, _cache) => {
88
+ return openBlock(), createBlock(resolveDynamicComponent(__props.is ?? "div"), {
89
+ id: __props.id,
90
+ ref_key: "intersectionObserverRef",
91
+ ref: intersectionObserverRef
92
+ }, {
93
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
94
+ _: 3
95
+ }, 8, ["id"]);
96
+ };
97
+ }
98
+ });
99
+ //#endregion
100
+ export { Content_default as ApiReferenceContent, Content_default as Content, Auth_default as Auth, ClassicHeader_default as ClassicHeader, HttpMethod_default as HttpMethod, IntersectionObserver_default as IntersectionObserver, Lazy_default as Lazy, MobileHeader_default as MobileHeader, Model_default as Model, ModelTag_default as Models, OperationsList_default as OperationsList, RenderPlugins_default as RenderPlugins, Schema_default as Schema, SchemaHeading_default as SchemaHeading, SchemaObjectExampleCodeBlock_default as SchemaObjectExampleCodeBlock, SchemaProperty_default as SchemaProperty, SectionContainer_default as SectionContainer, SectionFlare_default as SectionFlare, Tag_default as Tag, TraversedEntry_default as TraversedEntry };
101
+
102
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/components/Content/Schema/SchemaObjectExampleCodeBlock.vue","../../src/components/Content/Schema/SchemaObjectExampleCodeBlock.vue","../../src/components/IntersectionObserver.vue","../../src/components/IntersectionObserver.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ExamplePicker } from '@scalar/api-client/v2/blocks/operation-code-sample'\nimport {\n ScalarCard,\n ScalarCardFooter,\n ScalarCardSection,\n ScalarCodeBlock,\n} from '@scalar/components'\nimport type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'\nimport { computed, ref } from 'vue'\n\nconst { schema } = defineProps<{ schema: SchemaObject }>()\n\n/** Grab the examples for the schema object */\nconst examples = computed<Record<string, string>>(() => {\n const base: Record<string, string> = {}\n\n // x-examples extension\n if (schema['x-examples']) {\n Object.entries(schema['x-examples']).forEach(([key, value]) => {\n base[key] =\n typeof value === 'object'\n ? JSON.stringify(value, null, 2)\n : String(value)\n })\n }\n\n // Regular schema examples array\n if (schema.examples) {\n schema.examples.forEach((value, index) => {\n base[`Example ${index + 1}`] =\n typeof value === 'object'\n ? JSON.stringify(value, null, 2)\n : String(value)\n })\n }\n\n return base\n})\n\n/** The currently selected example key */\nconst selectedExampleKey = ref<string>(Object.keys(examples.value)[0] ?? '')\n</script>\n<template>\n <ScalarCard\n v-if=\"Object.keys(examples).length > 0\"\n class=\"dark-mode\">\n <!-- Code snippet -->\n <ScalarCardSection>\n <div class=\"code-snippet\">\n <ScalarCodeBlock\n class=\"bg-b-2\"\n lang=\"json\"\n lineNumbers\n :prettyPrintedContent=\"\n examples[selectedExampleKey] ??\n 'There was an error loading the example'\n \" />\n </div>\n </ScalarCardSection>\n\n <!-- Example picker -->\n <ScalarCardFooter\n v-if=\"Object.keys(examples).length > 1\"\n class=\"bg-b-3\">\n <ExamplePicker\n v-model=\"selectedExampleKey\"\n :examples />\n </ScalarCardFooter>\n </ScalarCard>\n</template>\n","<script setup lang=\"ts\">\nimport { ExamplePicker } from '@scalar/api-client/v2/blocks/operation-code-sample'\nimport {\n ScalarCard,\n ScalarCardFooter,\n ScalarCardSection,\n ScalarCodeBlock,\n} from '@scalar/components'\nimport type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'\nimport { computed, ref } from 'vue'\n\nconst { schema } = defineProps<{ schema: SchemaObject }>()\n\n/** Grab the examples for the schema object */\nconst examples = computed<Record<string, string>>(() => {\n const base: Record<string, string> = {}\n\n // x-examples extension\n if (schema['x-examples']) {\n Object.entries(schema['x-examples']).forEach(([key, value]) => {\n base[key] =\n typeof value === 'object'\n ? JSON.stringify(value, null, 2)\n : String(value)\n })\n }\n\n // Regular schema examples array\n if (schema.examples) {\n schema.examples.forEach((value, index) => {\n base[`Example ${index + 1}`] =\n typeof value === 'object'\n ? JSON.stringify(value, null, 2)\n : String(value)\n })\n }\n\n return base\n})\n\n/** The currently selected example key */\nconst selectedExampleKey = ref<string>(Object.keys(examples.value)[0] ?? '')\n</script>\n<template>\n <ScalarCard\n v-if=\"Object.keys(examples).length > 0\"\n class=\"dark-mode\">\n <!-- Code snippet -->\n <ScalarCardSection>\n <div class=\"code-snippet\">\n <ScalarCodeBlock\n class=\"bg-b-2\"\n lang=\"json\"\n lineNumbers\n :prettyPrintedContent=\"\n examples[selectedExampleKey] ??\n 'There was an error loading the example'\n \" />\n </div>\n </ScalarCardSection>\n\n <!-- Example picker -->\n <ScalarCardFooter\n v-if=\"Object.keys(examples).length > 1\"\n class=\"bg-b-3\">\n <ExamplePicker\n v-model=\"selectedExampleKey\"\n :examples />\n </ScalarCardFooter>\n </ScalarCard>\n</template>\n","<script setup lang=\"ts\">\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { onMounted, ref } from 'vue'\n\nconst props = defineProps<{\n id?: string\n is?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'intersecting', id: string): void\n}>()\n\nconst intersectionObserverRef = ref<HTMLElement>()\n\nconst calculateRootMargin = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Use of a margin on height to ensure sooner intersection detection.\n return `${height / 2}px 0px ${height / 2}px 0px`\n}\n\nconst calculateThreshold = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Favor larger threshold if the element is smaller that the screen\n // to ensure that it is selected\n return height < window.innerHeight ? 0.8 : 0.5\n}\n\nonMounted(() => {\n if (intersectionObserverRef.value) {\n const options = {\n rootMargin: calculateRootMargin(intersectionObserverRef.value),\n threshold: calculateThreshold(intersectionObserverRef.value),\n }\n\n useIntersectionObserver(\n intersectionObserverRef,\n ([entry]) => {\n if (entry?.isIntersecting && props.id) {\n emit('intersecting', props.id)\n }\n },\n options,\n )\n }\n})\n</script>\n<template>\n <component\n :is=\"is ?? 'div'\"\n :id=\"id\"\n ref=\"intersectionObserverRef\">\n <slot />\n </component>\n</template>\n","<script setup lang=\"ts\">\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { onMounted, ref } from 'vue'\n\nconst props = defineProps<{\n id?: string\n is?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'intersecting', id: string): void\n}>()\n\nconst intersectionObserverRef = ref<HTMLElement>()\n\nconst calculateRootMargin = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Use of a margin on height to ensure sooner intersection detection.\n return `${height / 2}px 0px ${height / 2}px 0px`\n}\n\nconst calculateThreshold = (element: HTMLElement) => {\n const height = element.offsetHeight\n // Favor larger threshold if the element is smaller that the screen\n // to ensure that it is selected\n return height < window.innerHeight ? 0.8 : 0.5\n}\n\nonMounted(() => {\n if (intersectionObserverRef.value) {\n const options = {\n rootMargin: calculateRootMargin(intersectionObserverRef.value),\n threshold: calculateThreshold(intersectionObserverRef.value),\n }\n\n useIntersectionObserver(\n intersectionObserverRef,\n ([entry]) => {\n if (entry?.isIntersecting && props.id) {\n emit('intersecting', props.id)\n }\n },\n options,\n )\n }\n})\n</script>\n<template>\n <component\n :is=\"is ?? 'div'\"\n :id=\"id\"\n ref=\"intersectionObserverRef\">\n <slot />\n </component>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;ECcA,MAAM,WAAW,eAAuC;GACtD,MAAM,OAA+B,EAAC;AAGtC,OAAI,QAAA,OAAO,cACT,QAAO,QAAQ,QAAA,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,WAAW;AAC7D,SAAK,OACH,OAAO,UAAU,WACb,KAAK,UAAU,OAAO,MAAM,EAAC,GAC7B,OAAO,MAAK;KACnB;AAIH,OAAI,QAAA,OAAO,SACT,SAAA,OAAO,SAAS,SAAS,OAAO,UAAU;AACxC,SAAK,WAAW,QAAQ,OACtB,OAAO,UAAU,WACb,KAAK,UAAU,OAAO,MAAM,EAAC,GAC7B,OAAO,MAAK;KACnB;AAGH,UAAO;IACR;;EAGD,MAAM,qBAAqB,IAAY,OAAO,KAAK,SAAS,MAAM,CAAC,MAAM,GAAE;;UAIjE,OAAO,KAAK,SAAA,MAAQ,CAAE,SAAM,KAAA,WAAA,EADpC,YAyBa,MAAA,WAAA,EAAA;;IAvBX,OAAM;;2BAac,CAXpB,YAWoB,MAAA,kBAAA,EAAA,MAAA;4BADZ,CATN,mBASM,OATN,YASM,CARJ,YAOM,MAAA,gBAAA,EAAA;MANJ,OAAM;MACN,MAAK;MACL,aAAA;MACC,sBAAmC,SAAA,MAAS,mBAAA,UAAA;;;QAS3C,OAAO,KAAK,SAAA,MAAQ,CAAE,SAAM,KAAA,WAAA,EADpC,YAMmB,MAAA,iBAAA,EAAA;;KAJjB,OAAM;;4BAGQ,CAFd,YAEc,MAAA,cAAA,EAAA;kBADH,mBAAA;sFAAkB,QAAA;MAC1B,UAAA,SAAA;;;;;;;;;;;;;;;;;;;EE/DT,MAAM,QAAQ;EAKd,MAAM,OAAO;EAIb,MAAM,0BAA0B,KAAiB;EAEjD,MAAM,uBAAuB,YAAyB;GACpD,MAAM,SAAS,QAAQ;AAEvB,UAAO,GAAG,SAAS,EAAE,SAAS,SAAS,EAAE;;EAG3C,MAAM,sBAAsB,YAAyB;AAInD,UAHe,QAAQ,eAGP,OAAO,cAAc,KAAM;;AAG7C,kBAAgB;AACd,OAAI,wBAAwB,MAM1B,yBACE,0BACC,CAAC,WAAW;AACX,QAAI,OAAO,kBAAkB,MAAM,GACjC,MAAK,gBAAgB,MAAM,GAAE;MATnB;IACd,YAAY,oBAAoB,wBAAwB,MAAM;IAC9D,WAAW,mBAAmB,wBAAwB,MAAM;IAC9D,CAUA;IAEH;;uBAGC,YAKY,wBAJL,QAAA,MAAE,MAAA,EAAA;IACN,IAAI,QAAA;aACD;IAAJ,KAAI;;2BACI,CAAR,WAAQ,KAAA,QAAA,UAAA,CAAA,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
2
  import type { ParameterObject, ReferenceType, RequestBodyObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { OperationProps } from '../../../features/Operation/Operation.vue.js';
3
+ import type { OperationProps } from '@/features/Operation/Operation.vue';
4
4
  type __VLS_Props = {
5
5
  breadcrumb?: string[];
6
6
  parameters?: ReferenceType<ParameterObject>[];
@@ -1,6 +1,6 @@
1
1
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
2
  import type { OperationObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { OperationProps } from '../../../features/Operation/Operation.vue.js';
3
+ import type { OperationProps } from '@/features/Operation/Operation.vue';
4
4
  type __VLS_Props = {
5
5
  responses: OperationObject['responses'];
6
6
  breadcrumb?: string[];
@@ -1,6 +1,6 @@
1
1
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
2
  import type { ParameterObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { OperationProps } from '../../../features/Operation/Operation.vue.js';
3
+ import type { OperationProps } from '@/features/Operation/Operation.vue';
4
4
  type __VLS_Props = {
5
5
  parameters: ParameterObject[];
6
6
  breadcrumb?: string[];
@@ -1,6 +1,6 @@
1
1
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
2
  import type { ParameterObject, ResponseObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { OperationProps } from '../../../features/Operation/Operation.vue.js';
3
+ import type { OperationProps } from '@/features/Operation/Operation.vue';
4
4
  type __VLS_Props = {
5
5
  parameter: ParameterObject | ResponseObject;
6
6
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ParameterListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/components/ParameterListItem.vue"],"names":[],"mappings":"AAmUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAEvE,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EAEf,MAAM,8DAA8D,CAAA;AAKrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAKxE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,eAAe,GAAG,cAAc,CAAA;IAC3C,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,OAAO,EAAE,IAAI,CACX,cAAc,CAAC,SAAS,CAAC,EACzB,8BAA8B,GAAG,yBAAyB,CAC3D,CAAA;CACF,CAAC;AAkYF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ParameterListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/components/ParameterListItem.vue"],"names":[],"mappings":"AAkUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAEvE,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EAEf,MAAM,8DAA8D,CAAA;AAKrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAKxE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,eAAe,GAAG,cAAc,CAAA;IAC3C,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,OAAO,EAAE,IAAI,CACX,cAAc,CAAC,SAAS,CAAC,EACzB,8BAA8B,GAAG,yBAAyB,CAC3D,CAAA;CACF,CAAC;AAmYF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +1,7 @@
1
1
  import type { HttpMethod as HttpMethodType } from '@scalar/helpers/http/http-methods';
2
2
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
3
3
  import { type OperationObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
4
- import type { OperationProps } from '../../../../features/Operation/Operation.vue.js';
4
+ import type { OperationProps } from '@/features/Operation/Operation.vue';
5
5
  type __VLS_Props = {
6
6
  callback: OperationObject;
7
7
  method: HttpMethodType;
@@ -1,6 +1,6 @@
1
1
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
2
  import type { CallbackObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { OperationProps } from '../../../../features/Operation/Operation.vue.js';
3
+ import type { OperationProps } from '@/features/Operation/Operation.vue';
4
4
  type __VLS_Props = {
5
5
  path: string;
6
6
  callbacks: CallbackObject;
@@ -1,2 +1,2 @@
1
- export { default as Operation } from './Operation.vue.js';
1
+ export { default as Operation } from './Operation.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { SecuritySchemeObjectSecret } from '@scalar/api-client/v2/blocks/scalar-auth-selector-block';
2
2
  import type { OperationObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { OperationProps } from '../../../features/Operation/Operation.vue.js';
3
+ import type { OperationProps } from '@/features/Operation/Operation.vue';
4
4
  type __VLS_Props = Omit<OperationProps, 'document' | 'pathValue' | 'server' | 'securitySchemes' | 'authStore'> & {
5
5
  /** Operation object with path params */
6
6
  operation: OperationObject;
@@ -1,6 +1,6 @@
1
1
  import type { SecuritySchemeObjectSecret } from '@scalar/api-client/v2/blocks/scalar-auth-selector-block';
2
2
  import type { OperationObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { OperationProps } from '../../../features/Operation/Operation.vue.js';
3
+ import type { OperationProps } from '@/features/Operation/Operation.vue';
4
4
  type __VLS_Props = Omit<OperationProps, 'document' | 'pathValue' | 'server' | 'isCollapsed' | 'securitySchemes' | 'authStore'> & {
5
5
  /** Operation object with path params */
6
6
  operation: OperationObject;
@@ -1,5 +1,5 @@
1
1
  import type { FuseResult } from 'fuse.js';
2
- import type { FuseData } from '../../../features/Search/types';
2
+ import type { FuseData } from '@/features/Search/types';
3
3
  type __VLS_Props = {
4
4
  id: string;
5
5
  isSelected: boolean;
@@ -1,5 +1,5 @@
1
1
  import Fuse from 'fuse.js';
2
- import type { FuseData } from '../../../features/Search/types';
2
+ import type { FuseData } from '@/features/Search/types';
3
3
  /**
4
4
  * Create a Fuse instance for searching the API reference.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import type { OpenApiDocument } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
2
- import type { FuseData } from '../../../features/Search/types';
2
+ import type { FuseData } from '@/features/Search/types';
3
3
  /**
4
4
  * Create a search index from a list of entries.
5
5
  */
@@ -1,3 +1,3 @@
1
- export { default as SearchButton } from './components/SearchButton.vue.js';
2
- export { default as SearchModal } from './components/SearchModal.vue.js';
1
+ export { default as SearchButton } from './components/SearchButton.vue';
2
+ export { default as SearchModal } from './components/SearchModal.vue';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type { TraversedEntry } from '@scalar/workspace-store/schemas/navigation';
2
- import type { ParameterMap } from '../../helpers/openapi.js';
2
+ import type { ParameterMap } from '@/helpers/openapi';
3
3
  export type EntryType = 'operation' | 'webhook' | 'model' | 'heading' | 'tag';
4
4
  export type FuseData = {
5
5
  type: EntryType;
@@ -1,2 +1,2 @@
1
- export { default as DeveloperTools } from './DeveloperTools.vue.js';
1
+ export { default as DeveloperTools } from './DeveloperTools.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as ExampleResponses } from './ExampleResponses.vue.js';
1
+ export { default as ExampleResponses } from './ExampleResponses.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as ExternalDocs } from './ExternalDocs.vue.js';
1
+ export { default as ExternalDocs } from './ExternalDocs.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- export { default as DocumentSelector } from './multiple-documents/DocumentSelector.vue.js';
1
+ export { default as DocumentSelector } from './multiple-documents/DocumentSelector.vue';
2
2
  export { Operation } from './Operation';
3
- export { default as SearchButton } from './Search/components/SearchButton.vue.js';
3
+ export { default as SearchButton } from './Search/components/SearchButton.vue';
4
4
  export { getXKeysFromObject } from './specification-extension';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,10 +1,4 @@
1
- import { default as default2 } from "./multiple-documents/DocumentSelector.vue.js";
2
- import { default as default3 } from "./Search/components/SearchButton.vue.js";
3
- import { default as default4 } from "./Operation/Operation.vue.js";
4
- import { getXKeysFromObject } from "./specification-extension/helpers.js";
5
- export {
6
- default2 as DocumentSelector,
7
- default4 as Operation,
8
- default3 as SearchButton,
9
- getXKeysFromObject
10
- };
1
+ import "../ExternalDocs-phu7GxpZ.js";
2
+ import { o as getXKeysFromObject, t as Operation_default } from "../Operation-CvpVIkc3.js";
3
+ import { i as DocumentSelector_default, t as SearchButton_default } from "../SearchButton-xzhIpMCZ.js";
4
+ export { DocumentSelector_default as DocumentSelector, Operation_default as Operation, SearchButton_default as SearchButton, getXKeysFromObject };
@@ -1,4 +1,4 @@
1
- export { default as Contact } from './Contact.vue.js';
2
- export { default as License } from './License.vue.js';
3
- export { default as TermsOfService } from './TermsOfService.vue.js';
1
+ export { default as Contact } from './Contact.vue';
2
+ export { default as License } from './License.vue';
3
+ export { default as TermsOfService } from './TermsOfService.vue';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { getXKeysFromObject } from './helpers.js';
2
- export { default as SpecificationExtension } from './SpecificationExtension.vue.js';
1
+ export { getXKeysFromObject } from './helpers';
2
+ export { default as SpecificationExtension } from './SpecificationExtension.vue';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as TestRequestButton } from './TestRequestButton.vue.js';
1
+ export { default as TestRequestButton } from './TestRequestButton.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default as XBadges } from './XBadges.vue.js';
1
+ export { default as XBadges } from './XBadges.vue';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Trigger the download of the OpenAPI document
3
3
  */
4
- export declare function downloadDocument(content: string, filename?: string, format?: 'json' | 'yaml'): void;
4
+ export declare function downloadDocument(content: string, filename?: string, format?: 'json' | 'yaml'): Promise<void>;
5
5
  //# sourceMappingURL=download.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../src/helpers/download.ts"],"names":[],"mappings":"AAwCA;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,QAsB5F"}
1
+ {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../src/helpers/download.ts"],"names":[],"mappings":"AAsEA;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,iBAuBlG"}