@scalar/api-reference 1.32.10 → 1.34.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 (432) hide show
  1. package/CHANGELOG.md +99 -0
  2. package/dist/browser/standalone.js +16194 -15784
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  5. package/dist/components/Anchor/Anchor.vue.js +50 -5
  6. package/dist/components/Anchor/Anchor.vue2.js +2 -42
  7. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts +24 -0
  8. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts.map +1 -0
  9. package/dist/components/Anchor/WithBreadcrumb.vue.js +4 -0
  10. package/dist/components/Anchor/WithBreadcrumb.vue2.js +46 -0
  11. package/dist/components/Anchor/index.d.ts +1 -0
  12. package/dist/components/Anchor/index.d.ts.map +1 -1
  13. package/dist/components/ApiReference.vue.js +6 -6
  14. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  15. package/dist/components/ApiReferenceLayout.vue.js +6 -6
  16. package/dist/components/ApiReferenceLayout.vue2.js +179 -193
  17. package/dist/components/ApiReferenceLayout.vue3.js +4 -0
  18. package/dist/components/ApiReferenceLayout.vue4.js +4 -0
  19. package/dist/components/ApiReferenceLayout.vue5.js +4 -0
  20. package/dist/components/ApiReferenceLayout.vue6.js +4 -0
  21. package/dist/components/Badge/Badge.vue.js +1 -1
  22. package/dist/components/Badge/Badge.vue2.js +4 -0
  23. package/dist/components/ClassicHeader.vue.js +1 -1
  24. package/dist/components/ClassicHeader.vue2.js +4 -0
  25. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +14 -1
  26. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  27. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +3 -3
  28. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +74 -84
  29. package/dist/components/Content/ClientLibraries/ClientLibraries.vue3.js +4 -0
  30. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +8 -0
  31. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  32. package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
  33. package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +81 -80
  34. package/dist/components/Content/ClientLibraries/ClientSelector.vue3.js +4 -0
  35. package/dist/components/Content/ClientLibraries/featured-clients.d.ts +11 -0
  36. package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -0
  37. package/dist/components/Content/ClientLibraries/featured-clients.js +17 -0
  38. package/dist/components/Content/Content.vue.d.ts +5 -6
  39. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Content.vue.js +49 -6
  41. package/dist/components/Content/Content.vue2.js +2 -160
  42. package/dist/components/Content/Content.vue3.js +5 -0
  43. package/dist/components/Content/Introduction/Description.vue.js +1 -1
  44. package/dist/components/Content/Introduction/Description.vue3.js +4 -0
  45. package/dist/components/Content/Introduction/Introduction.vue.d.ts +7 -17
  46. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  47. package/dist/components/Content/Introduction/Introduction.vue.js +3 -3
  48. package/dist/components/Content/Introduction/Introduction.vue2.js +104 -150
  49. package/dist/components/Content/Introduction/Introduction.vue3.js +4 -0
  50. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts +25 -0
  51. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts.map +1 -0
  52. package/dist/components/Content/Introduction/IntroductionSection.vue.js +7 -0
  53. package/dist/components/Content/Introduction/IntroductionSection.vue2.js +159 -0
  54. package/dist/components/Content/Introduction/IntroductionSection.vue3.js +4 -0
  55. package/dist/components/Content/Models/{ModelsAccordion.vue.d.ts → ClassicLayout.vue.d.ts} +2 -2
  56. package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -0
  57. package/dist/components/Content/Models/ClassicLayout.vue.js +7 -0
  58. package/dist/components/Content/Models/{ModelsAccordion.vue2.js → ClassicLayout.vue2.js} +30 -30
  59. package/dist/components/Content/Models/ClassicLayout.vue3.js +4 -0
  60. package/dist/components/Content/Models/Models.vue.d.ts +3 -1
  61. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  62. package/dist/components/Content/Models/Models.vue.js +38 -5
  63. package/dist/components/Content/Models/Models.vue2.js +2 -114
  64. package/dist/components/Content/Models/ModernLayout.vue.d.ts +7 -0
  65. package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -0
  66. package/dist/components/Content/Models/ModernLayout.vue.js +7 -0
  67. package/dist/components/Content/Models/ModernLayout.vue2.js +100 -0
  68. package/dist/components/Content/Models/ModernLayout.vue3.js +4 -0
  69. package/dist/components/Content/Models/index.d.ts +0 -1
  70. package/dist/components/Content/Models/index.d.ts.map +1 -1
  71. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +22 -0
  72. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -0
  73. package/dist/components/Content/Operations/TraversedEntry.vue.js +97 -0
  74. package/dist/components/Content/Operations/TraversedEntry.vue2.js +4 -0
  75. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +17 -0
  76. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +1 -0
  77. package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +60 -0
  78. package/dist/components/Content/Operations/TraversedEntryContainer.vue2.js +4 -0
  79. package/dist/components/Content/Operations/get-current-index.d.ts +4 -0
  80. package/dist/components/Content/Operations/get-current-index.d.ts.map +1 -0
  81. package/dist/components/Content/Operations/get-current-index.js +16 -0
  82. package/dist/components/Content/Operations/index.d.ts +2 -0
  83. package/dist/components/Content/Operations/index.d.ts.map +1 -0
  84. package/dist/components/Content/Schema/Schema.preview.d.ts +28 -0
  85. package/dist/components/Content/Schema/Schema.preview.d.ts.map +1 -1
  86. package/dist/components/Content/Schema/Schema.vue.d.ts +2 -0
  87. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  88. package/dist/components/Content/Schema/Schema.vue.js +3 -3
  89. package/dist/components/Content/Schema/Schema.vue2.js +164 -157
  90. package/dist/components/Content/Schema/Schema.vue3.js +4 -0
  91. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +1 -0
  92. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  93. package/dist/components/Content/Schema/SchemaComposition.vue.js +58 -53
  94. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
  95. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +3 -3
  96. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue3.js +4 -0
  97. package/dist/components/Content/Schema/SchemaEnumValues.vue.d.ts.map +1 -1
  98. package/dist/components/Content/Schema/SchemaEnumValues.vue.js +3 -3
  99. package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +63 -68
  100. package/dist/components/Content/Schema/SchemaEnumValues.vue3.js +4 -0
  101. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  102. package/dist/components/Content/Schema/SchemaHeading.vue.js +4 -4
  103. package/dist/components/Content/Schema/SchemaHeading.vue2.js +23 -22
  104. package/dist/components/Content/Schema/SchemaHeading.vue3.js +4 -0
  105. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +1 -0
  106. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
  107. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +52 -40
  108. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -0
  109. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  110. package/dist/components/Content/Schema/SchemaProperty.vue.js +3 -3
  111. package/dist/components/Content/Schema/SchemaProperty.vue2.js +103 -89
  112. package/dist/components/Content/Schema/SchemaProperty.vue3.js +4 -0
  113. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
  114. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +2 -2
  115. package/dist/components/Content/Schema/SchemaPropertyDetail.vue3.js +4 -0
  116. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +3 -3
  117. package/dist/components/Content/Schema/SchemaPropertyExamples.vue3.js +4 -0
  118. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  119. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +3 -3
  120. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +30 -24
  121. package/dist/components/Content/Schema/SchemaPropertyHeading.vue3.js +4 -0
  122. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts +2 -1
  123. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
  124. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +59 -52
  125. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -1
  126. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +24 -20
  127. package/dist/components/Content/Schema/helpers/schema-name.d.ts +1 -1
  128. package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
  129. package/dist/components/Content/{Tag/TagAccordion.vue.d.ts → Tags/ClassicLayout.vue.d.ts} +3 -3
  130. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -0
  131. package/dist/components/Content/Tags/ClassicLayout.vue.js +7 -0
  132. package/dist/components/Content/Tags/ClassicLayout.vue2.js +51 -0
  133. package/dist/components/Content/Tags/ClassicLayout.vue3.js +4 -0
  134. package/dist/components/Content/{Tag/TagSection.vue.d.ts → Tags/ModernLayout.vue.d.ts} +17 -13
  135. package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -0
  136. package/dist/components/Content/Tags/ModernLayout.vue.js +7 -0
  137. package/dist/components/Content/Tags/ModernLayout.vue2.js +69 -0
  138. package/dist/components/Content/Tags/ModernLayout.vue3.js +4 -0
  139. package/dist/components/Content/Tags/Tag.vue.d.ts +25 -0
  140. package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -0
  141. package/dist/components/Content/Tags/Tag.vue.js +27 -0
  142. package/dist/components/Content/{Tag/Tag.vue.d.ts → Tags/TagSection.vue.d.ts} +3 -6
  143. package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -0
  144. package/dist/components/Content/Tags/TagSection.vue.js +104 -0
  145. package/dist/components/Content/Tags/TagSection.vue2.js +4 -0
  146. package/dist/components/Content/Tags/index.d.ts +2 -0
  147. package/dist/components/Content/Tags/index.d.ts.map +1 -0
  148. package/dist/components/GettingStarted.vue.js +1 -1
  149. package/dist/components/GettingStarted.vue3.js +4 -0
  150. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  151. package/dist/components/HttpMethod/HttpMethod.vue.js +8 -6
  152. package/dist/components/{Content/Lazy → Lazy}/Lazy.vue.d.ts +2 -10
  153. package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -0
  154. package/dist/components/Lazy/Lazy.vue2.js +26 -0
  155. package/dist/components/Lazy/index.d.ts +3 -0
  156. package/dist/components/Lazy/index.d.ts.map +1 -0
  157. package/dist/components/Lazy/lazyBus.d.ts +10 -0
  158. package/dist/components/Lazy/lazyBus.d.ts.map +1 -0
  159. package/dist/components/Lazy/lazyBus.js +7 -0
  160. package/dist/components/LinkList/LinkList.vue.d.ts +3 -1
  161. package/dist/components/LinkList/LinkList.vue.d.ts.map +1 -1
  162. package/dist/components/LinkList/LinkList.vue.js +5 -10
  163. package/dist/components/LinkList/LinkList.vue2.js +32 -0
  164. package/dist/components/LinkList/LinkList.vue3.js +4 -0
  165. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  166. package/dist/components/LoadingSkeleton.vue.js +3 -3
  167. package/dist/components/LoadingSkeleton.vue3.js +4 -0
  168. package/dist/components/MobileHeader.vue.js +1 -1
  169. package/dist/components/MobileHeader.vue3.js +4 -0
  170. package/dist/components/OperationPath.vue.js +1 -1
  171. package/dist/components/OperationPath.vue3.js +4 -0
  172. package/dist/components/{Content/Tag → OperationsList}/OperationsList.vue.d.ts +2 -5
  173. package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -0
  174. package/dist/components/OperationsList/OperationsList.vue.js +7 -0
  175. package/dist/components/OperationsList/OperationsList.vue2.js +60 -0
  176. package/dist/components/OperationsList/OperationsList.vue3.js +4 -0
  177. package/dist/components/{Content/Tag → OperationsList}/OperationsListItem.vue.d.ts +2 -4
  178. package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -0
  179. package/dist/components/OperationsList/OperationsListItem.vue.js +7 -0
  180. package/dist/components/OperationsList/OperationsListItem.vue2.js +63 -0
  181. package/dist/components/OperationsList/OperationsListItem.vue3.js +4 -0
  182. package/dist/components/OperationsList/index.d.ts +2 -0
  183. package/dist/components/OperationsList/index.d.ts.map +1 -0
  184. package/dist/components/ScreenReader.vue.js +1 -1
  185. package/dist/components/ScreenReader.vue3.js +4 -0
  186. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  187. package/dist/components/Section/CompactSection.vue.js +3 -3
  188. package/dist/components/Section/CompactSection.vue2.js +35 -36
  189. package/dist/components/Section/CompactSection.vue3.js +4 -0
  190. package/dist/components/Section/Section.vue.js +1 -1
  191. package/dist/components/Section/Section.vue3.js +4 -0
  192. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  193. package/dist/components/Section/SectionAccordion.vue.js +3 -3
  194. package/dist/components/Section/SectionAccordion.vue2.js +42 -36
  195. package/dist/components/Section/SectionAccordion.vue3.js +4 -0
  196. package/dist/components/Section/SectionColumn.vue.js +1 -1
  197. package/dist/components/Section/SectionColumn.vue2.js +4 -0
  198. package/dist/components/Section/SectionColumns.vue.js +1 -1
  199. package/dist/components/Section/SectionColumns.vue2.js +4 -0
  200. package/dist/components/Section/SectionContainer.vue.d.ts +9 -2
  201. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  202. package/dist/components/Section/SectionContainer.vue.js +5 -11
  203. package/dist/components/Section/SectionContainer.vue2.js +18 -0
  204. package/dist/components/Section/SectionContainer.vue3.js +4 -0
  205. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  206. package/dist/components/Section/SectionContainerAccordion.vue.js +3 -3
  207. package/dist/components/Section/SectionContainerAccordion.vue3.js +4 -0
  208. package/dist/components/Section/SectionContent.vue.js +1 -1
  209. package/dist/components/Section/SectionContent.vue3.js +4 -0
  210. package/dist/components/Section/SectionHeader.vue.js +1 -1
  211. package/dist/components/Section/SectionHeader.vue3.js +4 -0
  212. package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
  213. package/dist/components/Section/SectionHeaderTag.vue3.js +4 -0
  214. package/dist/components/SectionFlare/SectionFlare.vue.d.ts +3 -0
  215. package/dist/components/SectionFlare/SectionFlare.vue.d.ts.map +1 -0
  216. package/dist/components/SectionFlare/SectionFlare.vue.js +13 -0
  217. package/dist/components/SectionFlare/SectionFlare.vue2.js +4 -0
  218. package/dist/components/SectionFlare/index.d.ts +2 -0
  219. package/dist/components/SectionFlare/index.d.ts.map +1 -0
  220. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  221. package/dist/components/ShowMoreButton.vue.js +3 -3
  222. package/dist/components/ShowMoreButton.vue2.js +12 -12
  223. package/dist/components/ShowMoreButton.vue3.js +4 -0
  224. package/dist/features/Operation/Operation.vue.d.ts +5 -1
  225. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  226. package/dist/features/Operation/Operation.vue.js +55 -38
  227. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts +4 -4
  228. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
  229. package/dist/features/Operation/components/ContentTypeSelect.vue.js +28 -30
  230. package/dist/features/Operation/components/OperationParameters.vue.d.ts +1 -0
  231. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  232. package/dist/features/Operation/components/OperationParameters.vue.js +49 -43
  233. package/dist/features/Operation/components/OperationResponses.vue.d.ts +1 -0
  234. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  235. package/dist/features/Operation/components/OperationResponses.vue.js +4 -3
  236. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts +1 -0
  237. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
  238. package/dist/features/Operation/components/ParameterHeaders.vue.js +3 -3
  239. package/dist/features/Operation/components/ParameterHeaders.vue2.js +28 -26
  240. package/dist/features/Operation/components/ParameterHeaders.vue3.js +4 -0
  241. package/dist/features/Operation/components/ParameterList.vue.d.ts +1 -0
  242. package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
  243. package/dist/features/Operation/components/ParameterList.vue.js +3 -3
  244. package/dist/features/Operation/components/ParameterList.vue2.js +17 -15
  245. package/dist/features/Operation/components/ParameterList.vue3.js +4 -0
  246. package/dist/features/Operation/components/ParameterListItem.vue.d.ts +1 -0
  247. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  248. package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
  249. package/dist/features/Operation/components/ParameterListItem.vue2.js +36 -33
  250. package/dist/features/Operation/components/ParameterListItem.vue3.js +4 -0
  251. package/dist/features/Operation/components/RequestBody.vue.d.ts +2 -2
  252. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  253. package/dist/features/Operation/components/RequestBody.vue.js +3 -3
  254. package/dist/features/Operation/components/RequestBody.vue2.js +47 -39
  255. package/dist/features/Operation/components/RequestBody.vue3.js +4 -0
  256. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +1 -0
  257. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
  258. package/dist/features/Operation/components/callbacks/Callback.vue.js +3 -3
  259. package/dist/features/Operation/components/callbacks/Callback.vue2.js +10 -9
  260. package/dist/features/Operation/components/callbacks/Callback.vue3.js +4 -0
  261. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
  262. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +20 -28
  263. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +6 -0
  264. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  265. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  266. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +77 -62
  267. package/dist/features/Operation/layouts/ClassicLayout.vue3.js +4 -0
  268. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +6 -0
  269. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  270. package/dist/features/Operation/layouts/ModernLayout.vue.js +3 -3
  271. package/dist/features/Operation/layouts/ModernLayout.vue2.js +72 -57
  272. package/dist/features/Operation/layouts/ModernLayout.vue3.js +4 -0
  273. package/dist/features/Search/{SearchButton.vue.d.ts → components/SearchButton.vue.d.ts} +0 -2
  274. package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -0
  275. package/dist/features/Search/components/SearchButton.vue.js +65 -0
  276. package/dist/features/Search/{SearchModal.vue.d.ts → components/SearchModal.vue.d.ts} +0 -2
  277. package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -0
  278. package/dist/features/Search/components/SearchModal.vue.js +7 -0
  279. package/dist/features/Search/components/SearchModal.vue2.js +199 -0
  280. package/dist/features/Search/components/SearchModal.vue3.js +4 -0
  281. package/dist/features/Search/helpers/create-fuse-instance.d.ts +9 -0
  282. package/dist/features/Search/helpers/create-fuse-instance.d.ts.map +1 -0
  283. package/dist/features/Search/helpers/create-fuse-instance.js +46 -0
  284. package/dist/features/Search/helpers/create-search-index.d.ts +7 -0
  285. package/dist/features/Search/helpers/create-search-index.d.ts.map +1 -0
  286. package/dist/features/Search/helpers/create-search-index.js +109 -0
  287. package/dist/features/Search/hooks/useSearchIndex.d.ts +14 -0
  288. package/dist/features/Search/hooks/useSearchIndex.d.ts.map +1 -0
  289. package/dist/features/Search/hooks/useSearchIndex.js +46 -0
  290. package/dist/features/Search/index.d.ts +2 -2
  291. package/dist/features/Search/index.d.ts.map +1 -1
  292. package/dist/features/Search/types.d.ts +15 -0
  293. package/dist/features/Search/types.d.ts.map +1 -0
  294. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
  295. package/dist/features/api-client-modal/useApiClient.d.ts +414 -354
  296. package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
  297. package/dist/features/download-link/DownloadLink.vue.js +2 -2
  298. package/dist/features/download-link/DownloadLink.vue3.js +4 -0
  299. package/dist/features/example-responses/ExampleResponse.vue.d.ts +4 -2
  300. package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
  301. package/dist/features/example-responses/ExampleResponse.vue.js +3 -3
  302. package/dist/features/example-responses/ExampleResponse.vue2.js +15 -14
  303. package/dist/features/example-responses/ExampleResponse.vue3.js +4 -0
  304. package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
  305. package/dist/features/example-responses/ExampleResponseTab.vue3.js +4 -0
  306. package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
  307. package/dist/features/example-responses/ExampleResponseTabList.vue3.js +4 -0
  308. package/dist/features/example-responses/ExampleResponses.vue.d.ts +3 -2
  309. package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
  310. package/dist/features/example-responses/ExampleResponses.vue.js +4 -4
  311. package/dist/features/example-responses/ExampleResponses.vue2.js +107 -104
  312. package/dist/features/example-responses/ExampleResponses.vue3.js +4 -0
  313. package/dist/features/info-object/License.vue.d.ts.map +1 -1
  314. package/dist/features/info-object/License.vue.js +18 -15
  315. package/dist/features/sidebar/components/Sidebar.vue.js +3 -3
  316. package/dist/features/sidebar/components/Sidebar.vue3.js +4 -0
  317. package/dist/features/sidebar/components/SidebarElement.vue.js +3 -3
  318. package/dist/features/sidebar/components/SidebarElement.vue3.js +4 -0
  319. package/dist/features/sidebar/components/SidebarGroup.vue.js +1 -1
  320. package/dist/features/sidebar/components/SidebarGroup.vue3.js +4 -0
  321. package/dist/features/sidebar/components/SidebarHttpBadge.vue.js +1 -1
  322. package/dist/features/sidebar/components/SidebarHttpBadge.vue3.js +4 -0
  323. package/dist/features/sidebar/helpers/create-sidebar.js +12 -12
  324. package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
  325. package/dist/features/test-request-button/TestRequestButton.vue3.js +4 -0
  326. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +3 -1
  327. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
  328. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
  329. package/dist/features/traverse-schema/helpers/traverse-schemas.js +18 -18
  330. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
  331. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
  332. package/dist/features/traverse-schema/index.d.ts +2 -1
  333. package/dist/features/traverse-schema/index.d.ts.map +1 -1
  334. package/dist/features/traverse-schema/types.d.ts +10 -6
  335. package/dist/features/traverse-schema/types.d.ts.map +1 -1
  336. package/dist/helpers/test-utils.d.ts +60 -0
  337. package/dist/helpers/test-utils.d.ts.map +1 -0
  338. package/dist/hooks/useNavState.d.ts +4 -1
  339. package/dist/hooks/useNavState.d.ts.map +1 -1
  340. package/dist/index.d.ts +1 -1
  341. package/dist/index.d.ts.map +1 -1
  342. package/dist/index.js +24 -23
  343. package/dist/libs/openapi.d.ts +11 -8
  344. package/dist/libs/openapi.d.ts.map +1 -1
  345. package/dist/libs/openapi.js +34 -55
  346. package/dist/style.css +1 -1
  347. package/dist/types.d.ts +6 -6
  348. package/dist/types.d.ts.map +1 -1
  349. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +1 -1
  350. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  351. package/dist/v2/ApiReferenceWorkspace.vue.js +128 -129
  352. package/dist/v2/ApiReferenceWorkspace.vue2.js +4 -0
  353. package/dist/v2/ApiReferenceWorkspace.vue3.js +1 -1
  354. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +2 -2
  355. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +1 -1
  356. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +32 -29
  357. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +4 -13
  358. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
  359. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +3 -3
  360. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +185 -181
  361. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue3.js +4 -0
  362. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts +1 -0
  363. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +1 -1
  364. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +1 -0
  365. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts +12 -13
  366. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts.map +1 -1
  367. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.js +28 -30
  368. package/dist/v2/blocks/scalar-request-example-block/types.d.ts +11 -3
  369. package/dist/v2/blocks/scalar-request-example-block/types.d.ts.map +1 -1
  370. package/dist/v2/helpers/get-document-name.d.ts +13 -0
  371. package/dist/v2/helpers/get-document-name.d.ts.map +1 -0
  372. package/dist/v2/helpers/get-document-name.js +15 -0
  373. package/dist/v2/helpers/normalize-content.d.ts +3 -0
  374. package/dist/v2/helpers/normalize-content.d.ts.map +1 -0
  375. package/dist/v2/helpers/normalize-content.js +8 -0
  376. package/package.json +25 -19
  377. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts +0 -16
  378. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts.map +0 -1
  379. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.js +0 -36
  380. package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +0 -1
  381. package/dist/components/Content/Lazy/Lazy.vue2.js +0 -22
  382. package/dist/components/Content/Lazy/Loading.vue.d.ts +0 -18
  383. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +0 -1
  384. package/dist/components/Content/Lazy/Loading.vue.js +0 -163
  385. package/dist/components/Content/Lazy/Loading.vue3.js +0 -5
  386. package/dist/components/Content/Lazy/index.d.ts +0 -3
  387. package/dist/components/Content/Lazy/index.d.ts.map +0 -1
  388. package/dist/components/Content/Lazy/lazyBus.d.ts +0 -4
  389. package/dist/components/Content/Lazy/lazyBus.d.ts.map +0 -1
  390. package/dist/components/Content/Lazy/lazyBus.js +0 -5
  391. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +0 -1
  392. package/dist/components/Content/Models/ModelsAccordion.vue.js +0 -7
  393. package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +0 -1
  394. package/dist/components/Content/Tag/OperationsList.vue.js +0 -7
  395. package/dist/components/Content/Tag/OperationsList.vue2.js +0 -58
  396. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +0 -1
  397. package/dist/components/Content/Tag/OperationsListItem.vue.js +0 -7
  398. package/dist/components/Content/Tag/OperationsListItem.vue2.js +0 -67
  399. package/dist/components/Content/Tag/Tag.vue.d.ts.map +0 -1
  400. package/dist/components/Content/Tag/Tag.vue.js +0 -99
  401. package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +0 -1
  402. package/dist/components/Content/Tag/TagAccordion.vue.js +0 -7
  403. package/dist/components/Content/Tag/TagAccordion.vue2.js +0 -50
  404. package/dist/components/Content/Tag/TagList.vue.d.ts +0 -22
  405. package/dist/components/Content/Tag/TagList.vue.d.ts.map +0 -1
  406. package/dist/components/Content/Tag/TagList.vue.js +0 -73
  407. package/dist/components/Content/Tag/TagList.vue2.js +0 -4
  408. package/dist/components/Content/Tag/TagSection.vue.d.ts.map +0 -1
  409. package/dist/components/Content/Tag/TagSection.vue.js +0 -7
  410. package/dist/components/Content/Tag/TagSection.vue2.js +0 -67
  411. package/dist/components/Content/Tag/index.d.ts +0 -3
  412. package/dist/components/Content/Tag/index.d.ts.map +0 -1
  413. package/dist/features/Search/SearchButton.vue.d.ts.map +0 -1
  414. package/dist/features/Search/SearchButton.vue.js +0 -66
  415. package/dist/features/Search/SearchModal.vue.d.ts.map +0 -1
  416. package/dist/features/Search/SearchModal.vue.js +0 -7
  417. package/dist/features/Search/SearchModal.vue2.js +0 -207
  418. package/dist/features/Search/useSearchIndex.d.ts +0 -32
  419. package/dist/features/Search/useSearchIndex.d.ts.map +0 -1
  420. package/dist/features/Search/useSearchIndex.js +0 -170
  421. package/dist/helpers/parse.d.ts +0 -10
  422. package/dist/helpers/parse.d.ts.map +0 -1
  423. package/dist/helpers/parse.js +0 -81
  424. package/dist/stores/useHttpClientStore.d.ts +0 -43
  425. package/dist/stores/useHttpClientStore.d.ts.map +0 -1
  426. package/dist/stores/useHttpClientStore.js +0 -70
  427. package/dist/v2/hooks/useStore.d.ts +0 -9
  428. package/dist/v2/hooks/useStore.d.ts.map +0 -1
  429. package/dist/v2/hooks/useStore.js +0 -14
  430. /package/dist/components/Content/{Tag → Tags}/Tag.vue2.js +0 -0
  431. /package/dist/components/{Content/Lazy → Lazy}/Lazy.vue.js +0 -0
  432. /package/dist/features/Search/{SearchButton.vue2.js → components/SearchButton.vue2.js} +0 -0
@@ -0,0 +1,104 @@
1
+ import { defineComponent as s, createBlock as d, createCommentVNode as m, openBlock as p, unref as e, withCtx as a, withDirectives as g, createVNode as t, createTextVNode as f, toDisplayString as c, vShow as C } from "vue";
2
+ import { ScalarMarkdown as S } from "@scalar/components";
3
+ import _ from "../../ScreenReader.vue.js";
4
+ import { useConfig as v } from "../../../hooks/useConfig.js";
5
+ import h from "../../Section/Section.vue.js";
6
+ import k from "../../Section/SectionHeader.vue.js";
7
+ import w from "../../Anchor/Anchor.vue.js";
8
+ import y from "../../Section/SectionHeaderTag.vue.js";
9
+ import B from "../../Section/SectionContent.vue.js";
10
+ import I from "../../Section/SectionColumns.vue.js";
11
+ import u from "../../Section/SectionColumn.vue.js";
12
+ import L from "../../OperationsList/OperationsList.vue.js";
13
+ import N from "../../../features/specification-extension/SpecificationExtension.vue.js";
14
+ const E = /* @__PURE__ */ s({
15
+ __name: "TagSection",
16
+ props: {
17
+ tag: {},
18
+ headerId: {},
19
+ isCollapsed: { type: Boolean }
20
+ },
21
+ setup(T) {
22
+ const l = v();
23
+ return (o, i) => {
24
+ var r;
25
+ return o.tag ? (p(), d(e(h), {
26
+ key: 0,
27
+ id: o.tag.id,
28
+ label: (r = o.tag.title) == null ? void 0 : r.toUpperCase(),
29
+ role: "none"
30
+ }, {
31
+ default: a(() => [
32
+ g(t(e(k), null, {
33
+ default: a(() => [
34
+ t(e(w), {
35
+ id: o.tag.id
36
+ }, {
37
+ default: a(() => [
38
+ t(e(y), {
39
+ id: o.headerId,
40
+ level: 2
41
+ }, {
42
+ default: a(() => [
43
+ f(c(o.tag.title) + " ", 1),
44
+ o.isCollapsed ? (p(), d(_, { key: 0 }, {
45
+ default: a(() => i[0] || (i[0] = [
46
+ f(" (Collapsed)")
47
+ ])),
48
+ _: 1,
49
+ __: [0]
50
+ })) : m("", !0)
51
+ ]),
52
+ _: 1
53
+ }, 8, ["id"])
54
+ ]),
55
+ _: 1
56
+ }, 8, ["id"])
57
+ ]),
58
+ _: 1
59
+ }, 512), [
60
+ [C, !e(l).isLoading]
61
+ ]),
62
+ t(e(B), {
63
+ loading: e(l).isLoading
64
+ }, {
65
+ default: a(() => [
66
+ t(e(I), null, {
67
+ default: a(() => [
68
+ t(e(u), null, {
69
+ default: a(() => {
70
+ var n;
71
+ return [
72
+ t(e(S), {
73
+ clamp: o.isCollapsed ? "7" : !1,
74
+ value: ((n = o.tag.tag) == null ? void 0 : n.description) ?? "",
75
+ withImages: ""
76
+ }, null, 8, ["clamp", "value"])
77
+ ];
78
+ }),
79
+ _: 1
80
+ }),
81
+ t(e(u), null, {
82
+ default: a(() => [
83
+ t(e(L), { tag: o.tag }, null, 8, ["tag"])
84
+ ]),
85
+ _: 1
86
+ })
87
+ ]),
88
+ _: 1
89
+ })
90
+ ]),
91
+ _: 1
92
+ }, 8, ["loading"]),
93
+ t(e(N), {
94
+ value: o.tag.tag
95
+ }, null, 8, ["value"])
96
+ ]),
97
+ _: 1
98
+ }, 8, ["id", "label"])) : m("", !0);
99
+ };
100
+ }
101
+ });
102
+ export {
103
+ E as default
104
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./TagSection.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Tag } from './Tag.vue.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,WAAW,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import t from "./GettingStarted.vue2.js";
2
- /* empty css */
2
+ import "./GettingStarted.vue3.js";
3
3
  import a from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-0aca3a20"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAI9C,KAAK,WAAW,GAAG;IACjB,2DAA2D;IAC3D,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8BAA8B;IAC9B,MAAM,EAAE,UAAU,GAAG,MAAM,CAAA;CAC5B,CAAC;AAcF,iBAAS,cAAc;WA0CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,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":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAI9C,KAAK,WAAW,GAAG;IACjB,2DAA2D;IAC3D,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8BAA8B;IAC9B,MAAM,EAAE,UAAU,GAAG,MAAM,CAAA;CAC5B,CAAC;AAgBF,iBAAS,cAAc;WA0CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,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,7 +1,7 @@
1
- import { defineComponent as n, computed as r, createBlock as s, openBlock as l, resolveDynamicComponent as m, normalizeStyle as d, withCtx as c, renderSlot as h, createTextVNode as i, toDisplayString as u } from "vue";
1
+ import { defineComponent as a, computed as r, createBlock as s, openBlock as l, resolveDynamicComponent as m, normalizeStyle as d, withCtx as c, renderSlot as h, createTextVNode as i, toDisplayString as u } from "vue";
2
2
  import { getHttpMethodInfo as f } from "@scalar/helpers/http/http-info";
3
3
  import { normalizeHttpMethod as y } from "@scalar/helpers/http/normalize-http-method";
4
- const C = /* @__PURE__ */ n({
4
+ const z = /* @__PURE__ */ a({
5
5
  __name: "HttpMethod",
6
6
  props: {
7
7
  as: {},
@@ -10,19 +10,21 @@ const C = /* @__PURE__ */ n({
10
10
  method: {}
11
11
  },
12
12
  setup(p) {
13
- const e = p, t = r(() => f(e.method)), a = r(() => y(e.method));
13
+ const t = p, e = r(
14
+ () => f(String(t.method || ""))
15
+ ), n = r(() => y(t.method));
14
16
  return (o, v) => (l(), s(m(o.as ?? "span"), {
15
17
  class: "uppercase",
16
- style: d({ [o.property || "color"]: t.value.colorVar })
18
+ style: d({ [o.property || "color"]: e.value.colorVar })
17
19
  }, {
18
20
  default: c(() => [
19
21
  h(o.$slots, "default"),
20
- i(" " + u(o.short ? t.value.short : a.value), 1)
22
+ i(" " + u(o.short ? e.value.short : n.value), 1)
21
23
  ]),
22
24
  _: 3
23
25
  }, 8, ["style"]));
24
26
  }
25
27
  });
26
28
  export {
27
- C as default
29
+ z as default
28
30
  };
@@ -1,13 +1,8 @@
1
- /**
2
- * Component which loads lazily when the browser is "idle"
3
- * Disabled if being rendered from the server
4
- *
5
- * @link https://medium.com/js-dojo/lazy-rendering-in-vue-to-improve-performance-dcccd445d5f
6
- */
7
1
  type __VLS_Props = {
8
2
  id?: string;
9
3
  isLazy?: boolean;
10
4
  lazyTimeout?: number;
5
+ prev?: boolean;
11
6
  };
12
7
  declare function __VLS_template(): {
13
8
  attrs: Partial<{}>;
@@ -18,10 +13,7 @@ declare function __VLS_template(): {
18
13
  rootEl: any;
19
14
  };
20
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
- isLazy: boolean;
23
- lazyTimeout: number;
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ 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>;
25
17
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
18
  export default _default;
27
19
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Lazy.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Lazy/Lazy.vue"],"names":[],"mappings":"AA8FA,KAAK,WAAW,GAAG;IAEjB,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAgDF,iBAAS,cAAc;WAmCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,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"}
@@ -0,0 +1,26 @@
1
+ import { defineComponent as o, ref as u, nextTick as a, renderSlot as f, createCommentVNode as m } from "vue";
2
+ import { lazyBus as d } from "./lazyBus.js";
3
+ const s = 300, T = /* @__PURE__ */ o({
4
+ __name: "Lazy",
5
+ props: {
6
+ id: {},
7
+ isLazy: { type: Boolean, default: !0 },
8
+ lazyTimeout: { default: 0 },
9
+ prev: { type: Boolean, default: !1 }
10
+ },
11
+ setup(e) {
12
+ const i = e.prev || !e.isLazy, n = (t) => {
13
+ typeof window > "u" || ("requestIdleCallback" in window ? setTimeout(() => window.requestIdleCallback(t), e.lazyTimeout) : setTimeout(() => {
14
+ a(() => {
15
+ t();
16
+ }), e.lazyTimeout;
17
+ }));
18
+ }, l = u(!e.isLazy);
19
+ return d.emit({ loading: e.id, save: i }), e.isLazy ? n(() => {
20
+ l.value = !0, e.id && a(() => d.emit({ loaded: e.id, save: i }));
21
+ }) : e.id && a(() => d.emit({ loaded: e.id, save: i })), (t, y) => l.value ? f(t.$slots, "default", { key: 0 }) : m("", !0);
22
+ }
23
+ });
24
+ export {
25
+ T as default
26
+ };
@@ -0,0 +1,3 @@
1
+ export { default as Lazy } from './Lazy.vue.js';
2
+ export { lazyBus } from './lazyBus.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Lazy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -0,0 +1,10 @@
1
+ export type LazyEvent = {
2
+ loading?: string;
3
+ loaded?: string;
4
+ save: boolean;
5
+ };
6
+ /** All aboard the lazy bus! */
7
+ export declare const lazyBus: import("@vueuse/core").UseEventBusReturn<LazyEvent, any>;
8
+ /** Ensure we only lazy load once per page load */
9
+ export declare const hasLazyLoaded: import("vue").Ref<boolean, boolean>;
10
+ //# sourceMappingURL=lazyBus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lazyBus.d.ts","sourceRoot":"","sources":["../../../src/components/Lazy/lazyBus.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,CAAA;AAK5E,+BAA+B;AAC/B,eAAO,MAAM,OAAO,0DAA+B,CAAA;AAEnD,kDAAkD;AAClD,eAAO,MAAM,aAAa,qCAAa,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { useEventBus as o } from "@vueuse/core";
2
+ import { ref as s } from "vue";
3
+ const e = Symbol(), r = o(e), m = s(!1);
4
+ export {
5
+ m as hasLazyLoaded,
6
+ r as lazyBus
7
+ };
@@ -3,7 +3,9 @@ declare function __VLS_template(): {
3
3
  slots: {
4
4
  default?(_: {}): any;
5
5
  };
6
- refs: {};
6
+ refs: {
7
+ containerRef: HTMLDivElement;
8
+ };
7
9
  rootEl: HTMLDivElement;
8
10
  };
9
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -1 +1 @@
1
- {"version":3,"file":"LinkList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc;WA6CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"LinkList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.vue"],"names":[],"mappings":"AAmIA,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;yBATrB,GAAG;;;;;;EAc/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,12 +1,7 @@
1
- import { createElementBlock as t, openBlock as o, renderSlot as r } from "vue";
2
- import n from "../../_virtual/_plugin-vue_export-helper.js";
3
- const s = {}, c = { class: "mb-3 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-auto text-xs whitespace-nowrap xl:mb-1.5" };
4
- function a(e, l) {
5
- return o(), t("div", c, [
6
- r(e.$slots, "default")
7
- ]);
8
- }
9
- const m = /* @__PURE__ */ n(s, [["render", a]]);
1
+ import o from "./LinkList.vue2.js";
2
+ import "./LinkList.vue3.js";
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0939d4d9"]]);
10
5
  export {
11
- m as default
6
+ p as default
12
7
  };
@@ -0,0 +1,32 @@
1
+ import { defineComponent as i, ref as s, onMounted as a, onUnmounted as c, createElementBlock as u, openBlock as d, normalizeClass as f, renderSlot as m } from "vue";
2
+ const w = /* @__PURE__ */ i({
3
+ __name: "LinkList",
4
+ setup(v) {
5
+ const e = s(), r = s(!1), n = () => {
6
+ if (!e.value)
7
+ return;
8
+ const { scrollWidth: o, clientWidth: l } = e.value;
9
+ r.value = o > l;
10
+ };
11
+ let t = null;
12
+ return a(() => {
13
+ n(), window.addEventListener("resize", n), e.value && (t = new MutationObserver(() => {
14
+ n();
15
+ }), t.observe(e.value, {
16
+ childList: !0,
17
+ subtree: !0
18
+ }));
19
+ }), c(() => {
20
+ window.removeEventListener("resize", n), t && (t.disconnect(), t = null);
21
+ }), (o, l) => (d(), u("div", {
22
+ ref_key: "containerRef",
23
+ ref: e,
24
+ class: f([{ "icons-only": r.value }, "custom-scroll mb-3 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-xs whitespace-nowrap xl:mb-1.5"])
25
+ }, [
26
+ m(o.$slots, "default", {}, void 0, !0)
27
+ ], 2));
28
+ }
29
+ });
30
+ export {
31
+ w as default
32
+ };
@@ -0,0 +1,4 @@
1
+ const _ = "";
2
+ export {
3
+ _ as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingSkeleton.vue.d.ts","sourceRoot":"","sources":["../../src/components/LoadingSkeleton.vue"],"names":[],"mappings":"AAqDA,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;;WAAT,MAAM;;AAsEnC,wBAOG"}
1
+ {"version":3,"file":"LoadingSkeleton.vue.d.ts","sourceRoot":"","sources":["../../src/components/LoadingSkeleton.vue"],"names":[],"mappings":"AAmDA,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;;WAAT,MAAM;;AAsEnC,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./LoadingSkeleton.vue2.js";
2
- /* empty css */
2
+ import "./LoadingSkeleton.vue3.js";
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c90b2c46"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8e0226d7"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import o from "./MobileHeader.vue2.js";
2
- /* empty css */
2
+ import "./MobileHeader.vue3.js";
3
3
  import a from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const f = /* @__PURE__ */ a(o, [["__scopeId", "data-v-fa8b013a"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import o from "./OperationPath.vue2.js";
2
- /* empty css */
2
+ import "./OperationPath.vue3.js";
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ec6c8861"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1,9 +1,6 @@
1
- import type { Collection } from '@scalar/oas-utils/entities/spec';
2
- import type { Tag } from '@scalar/types/legacy';
1
+ import type { TraversedTag } from '../../features/traverse-schema';
3
2
  type __VLS_Props = {
4
- tag: Tag;
5
- collection: Collection;
6
- isCollapsed?: boolean;
3
+ tag: TraversedTag;
7
4
  };
8
5
  declare const _default: 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
6
  export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperationsList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/OperationsList/OperationsList.vue"],"names":[],"mappings":"AA0EA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAU9D,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;CAClB,CAAC;;AAwHF,wBAMG"}
@@ -0,0 +1,7 @@
1
+ import o from "./OperationsList.vue2.js";
2
+ import "./OperationsList.vue3.js";
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d474b1bb"]]);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,60 @@
1
+ import { defineComponent as u, computed as f, createBlock as s, createCommentVNode as h, openBlock as r, unref as o, withCtx as t, createVNode as n, createTextVNode as d, toDisplayString as c, createElementVNode as g, createElementBlock as k, Fragment as _, renderList as C } from "vue";
2
+ import { ScalarCard as S, ScalarCardHeader as b, ScalarCardSection as N } from "@scalar/components";
3
+ import V from "../ScreenReader.vue.js";
4
+ import y from "./OperationsListItem.vue.js";
5
+ const B = ["aria-label"], O = /* @__PURE__ */ u({
6
+ __name: "OperationsList",
7
+ props: {
8
+ tag: {}
9
+ },
10
+ setup(m) {
11
+ const p = f(
12
+ () => {
13
+ var e;
14
+ return (e = m.tag.children) == null ? void 0 : e.filter(
15
+ (a) => "operation" in a || "webhook" in a
16
+ );
17
+ }
18
+ );
19
+ return (e, a) => {
20
+ var l;
21
+ return ((l = e.tag.children) == null ? void 0 : l.length) > 0 ? (r(), s(o(S), {
22
+ key: 0,
23
+ class: "endpoints-card"
24
+ }, {
25
+ default: t(() => [
26
+ n(o(b), { muted: "" }, {
27
+ default: t(() => [
28
+ n(V, null, {
29
+ default: t(() => [
30
+ d(c(e.tag.title), 1)
31
+ ]),
32
+ _: 1
33
+ }),
34
+ d(" " + c(e.tag.isWebhooks ? "Webhooks" : "Operations"), 1)
35
+ ]),
36
+ _: 1
37
+ }),
38
+ n(o(N), { class: "custom-scroll max-h-[60vh]" }, {
39
+ default: t(() => [
40
+ g("ul", {
41
+ "aria-label": `${e.tag.title} endpoints`,
42
+ class: "endpoints"
43
+ }, [
44
+ (r(!0), k(_, null, C(p.value, (i) => (r(), s(y, {
45
+ key: i.id,
46
+ operation: i
47
+ }, null, 8, ["operation"]))), 128))
48
+ ], 8, B)
49
+ ]),
50
+ _: 1
51
+ })
52
+ ]),
53
+ _: 1
54
+ })) : h("", !0);
55
+ };
56
+ }
57
+ });
58
+ export {
59
+ O as default
60
+ };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1,8 +1,6 @@
1
- import type { Collection } from '@scalar/oas-utils/entities/spec';
2
- import type { TransformedOperation } from '@scalar/types/legacy';
1
+ import type { TraversedOperation, TraversedWebhook } from '../../features/traverse-schema';
3
2
  type __VLS_Props = {
4
- transformedOperation: TransformedOperation;
5
- collection: Collection;
3
+ operation: TraversedOperation | TraversedWebhook;
6
4
  isCollapsed?: boolean;
7
5
  };
8
6
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperationsListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/OperationsList/OperationsListItem.vue"],"names":[],"mappings":"AA0IA,OAAO,KAAK,EAEV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AAInC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,kBAAkB,GAAG,gBAAgB,CAAA;IAChD,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AA6JF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import t from "./OperationsListItem.vue2.js";
2
+ import "./OperationsListItem.vue3.js";
3
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-e2dcc62f"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1,63 @@
1
+ import { defineComponent as u, computed as y, createElementBlock as k, openBlock as r, createBlock as i, createCommentVNode as a, createElementVNode as s, unref as o, withCtx as l, createTextVNode as C, toDisplayString as p, withModifiers as g, createVNode as S, normalizeStyle as V, normalizeClass as b } from "vue";
2
+ import { getHttpMethodInfo as v } from "@scalar/helpers/http/http-info";
3
+ import { ScalarIconWebhooksLogo as B } from "@scalar/icons";
4
+ import { isOperationDeprecated as H } from "@scalar/oas-utils/helpers";
5
+ import { useSidebar as N } from "../../features/sidebar/hooks/useSidebar.js";
6
+ import O from "../Section/SectionHeaderTag.vue.js";
7
+ import T from "../HttpMethod/HttpMethod.vue.js";
8
+ const w = ["href"], j = /* @__PURE__ */ u({
9
+ __name: "OperationsListItem",
10
+ props: {
11
+ operation: {},
12
+ isCollapsed: { type: Boolean }
13
+ },
14
+ setup(t) {
15
+ const { scrollToOperation: d } = N(), m = async (e) => {
16
+ d(e.id, !0);
17
+ }, c = y(() => "path" in t.operation ? t.operation.path : t.operation.title), f = (e) => "operation" in e && H(
18
+ e.operation
19
+ ), h = (e) => "webhook" in e;
20
+ return (e, n) => (r(), k("li", {
21
+ key: e.operation.id,
22
+ class: "contents"
23
+ }, [
24
+ e.isCollapsed ? (r(), i(o(O), {
25
+ key: 0,
26
+ class: "sr-only",
27
+ level: 3
28
+ }, {
29
+ default: l(() => [
30
+ C(p(e.operation.title) + " (Hidden) ", 1)
31
+ ]),
32
+ _: 1
33
+ })) : a("", !0),
34
+ s("a", {
35
+ class: "endpoint",
36
+ href: `#${e.operation.id}`,
37
+ onClick: n[0] || (n[0] = g((z) => m(e.operation), ["prevent"]))
38
+ }, [
39
+ S(o(T), {
40
+ class: "endpoint-method items-center justify-end gap-2",
41
+ method: e.operation.method
42
+ }, {
43
+ default: l(() => [
44
+ h(e.operation) ? (r(), i(o(B), {
45
+ key: 0,
46
+ style: V({
47
+ color: o(v)(e.operation.method).colorVar
48
+ }),
49
+ class: "size-3.5"
50
+ }, null, 8, ["style"])) : a("", !0)
51
+ ]),
52
+ _: 1
53
+ }, 8, ["method"]),
54
+ s("span", {
55
+ class: b(["endpoint-path", { deprecated: f(e.operation) }])
56
+ }, p(c.value), 3)
57
+ ], 8, w)
58
+ ]));
59
+ }
60
+ });
61
+ export {
62
+ j as default
63
+ };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,2 @@
1
+ export { default as OperationsList } from './OperationsList.vue.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/OperationsList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import e from "./ScreenReader.vue2.js";
2
- /* empty css */
2
+ import "./ScreenReader.vue3.js";
3
3
  import o from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const f = /* @__PURE__ */ o(e, [["__scopeId", "data-v-df2e1026"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AA6GA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAyBF,iBAAS,cAAc;WAoFT,OAAO,IAA6B;;yBATpB,GAAG;yBACH,GAAG;;;;EAahC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,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":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AA2GA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAuBF,iBAAS,cAAc;WAwFT,OAAO,IAA6B;;yBATpB,GAAG;yBACH,GAAG;;;;EAahC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,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,7 +1,7 @@
1
1
  import o from "./CompactSection.vue2.js";
2
- /* empty css */
2
+ import "./CompactSection.vue3.js";
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4b9f7b57"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9a9a7b16"]]);
5
5
  export {
6
- a as default
6
+ r as default
7
7
  };