@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
@@ -1,85 +1,92 @@
1
- function o(f, e = 0) {
2
- return e >= 20 || !Array.isArray(f) || f.length === 0 ? {} : f.reduce((p, r) => {
1
+ function n(f, i, p = 0) {
2
+ if (p >= 20 || !Array.isArray(f) || f.length === 0)
3
+ return i || {};
4
+ const e = f.reduce((t, r) => {
3
5
  if (!r || typeof r != "object")
4
- return p;
6
+ return t;
5
7
  if (r.allOf) {
6
- const i = o(r.allOf, e + 1);
7
- return o([p, i], e + 1);
8
+ const s = n(r.allOf, void 0, p + 1);
9
+ return n([t, s], void 0, p + 1);
8
10
  }
9
- const t = typeof p == "object" ? { ...p } : {};
10
- if (r.properties && (t.properties = n(t.properties || {}, r.properties, e + 1)), r.items) {
11
+ const o = typeof t == "object" ? { ...t } : {};
12
+ if (r.properties && (o.properties = l(o.properties || {}, r.properties, p + 1)), r.items) {
11
13
  if (r.type === "array")
12
- t.items = O(t.items || {}, r.items, e + 1);
14
+ o.items = d(o.items || {}, r.items, p + 1);
13
15
  else if (typeof r.type == "string" && ["object", "string"].includes(r.type) && r.items.allOf) {
14
- const i = o(r.items.allOf, e + 1);
15
- t.properties = n(
16
- t.properties || {},
17
- i.properties || {},
18
- e + 1
16
+ const s = n(r.items.allOf, void 0, p + 1);
17
+ o.properties = l(
18
+ o.properties || {},
19
+ s.properties || {},
20
+ p + 1
19
21
  );
20
22
  }
21
23
  }
22
- return m(t, r, e + 1);
24
+ return O(o, r, p + 1);
23
25
  }, {});
26
+ return i ? O(e, i, p + 1) : e;
24
27
  }
25
- function n(f, e, p = 0) {
28
+ function l(f, i, p = 0) {
26
29
  if (p >= 20)
27
30
  return f;
28
- const r = typeof f == "object" ? { ...f } : {};
29
- return Object.entries(e).forEach(([t, i]) => {
30
- var s;
31
- if (!i || typeof i != "object") {
32
- r[t] = i;
31
+ const e = typeof f == "object" ? { ...f } : {};
32
+ return Object.entries(i).forEach(([t, r]) => {
33
+ var o;
34
+ if (!r || typeof r != "object") {
35
+ e[t] = r;
33
36
  return;
34
37
  }
35
- if (!r[t]) {
36
- i.type === "array" && ((s = i.items) != null && s.allOf) ? r[t] = {
37
- ...i,
38
- items: o(i.items.allOf, p + 1)
39
- } : i.allOf ? r[t] = o(i.allOf, p + 1) : r[t] = i;
38
+ if (!e[t]) {
39
+ r.type === "array" && ((o = r.items) != null && o.allOf) ? e[t] = {
40
+ ...r,
41
+ items: n(r.items.allOf, void 0, p + 1)
42
+ } : r.allOf ? e[t] = n(r.allOf, void 0, p + 1) : e[t] = r;
40
43
  return;
41
44
  }
42
- if (i.allOf)
43
- r[t] = o([r[t], ...i.allOf], p + 1);
44
- else if (i.type === "array" && i.items)
45
- r[t] = {
46
- ...r[t],
45
+ if (r.allOf)
46
+ e[t] = n([e[t], ...r.allOf], void 0, p + 1);
47
+ else if (r.type === "array" && r.items)
48
+ e[t] = {
49
+ ...e[t],
47
50
  type: "array",
48
- items: O(r[t].items || {}, i.items, p + 1)
51
+ items: d(e[t].items || {}, r.items, p + 1)
49
52
  };
50
53
  else {
51
- const l = r[t].properties || i.properties ? n(r[t].properties || {}, i.properties || {}, p + 1) : void 0;
52
- r[t] = {
53
- ...r[t],
54
- ...i
55
- }, l && (r[t].properties = l);
54
+ const s = e[t].properties || r.properties ? l(e[t].properties || {}, r.properties || {}, p + 1) : void 0;
55
+ e[t] = {
56
+ ...e[t],
57
+ ...r
58
+ }, s && (e[t].properties = s);
56
59
  }
57
- }), r;
60
+ }), e;
58
61
  }
59
- function O(f, e, p = 0) {
62
+ function d(f, i, p = 0) {
60
63
  if (p >= 20)
61
64
  return f;
62
- if (f.allOf || e.allOf) {
63
- const t = [...f.allOf || [f], ...e.allOf || [e]];
64
- return o(t, p + 1);
65
+ if (f.allOf || i.allOf) {
66
+ const t = [...f.allOf || [f], ...i.allOf || [i]];
67
+ return n(t, void 0, p + 1);
65
68
  }
66
- const r = {
69
+ const e = {
67
70
  ...f,
68
- ...e
71
+ ...i
69
72
  };
70
- return (r.properties || e.properties) && (r.properties = n(r.properties || {}, e.properties || {}, p + 1)), r;
73
+ return f.properties && i.properties && (e.properties = l(f.properties, i.properties, p + 1)), e;
71
74
  }
72
- const m = (f, e, p = 0) => {
75
+ const O = (f, i, p = 0) => {
73
76
  if (p >= 20)
74
77
  return f;
75
- const r = typeof f == "object" ? { ...f } : {};
76
- return e.required && Array.isArray(e.required) && (r.required = [...f.required || [], ...e.required]), e.type && !f.type && (r.type = e.type), e.title && !f.title && (r.title = e.title), e.name && !f.name && (r.name = e.name), e.description && !f.description && (r.description = e.description), ["oneOf", "anyOf"].forEach((t) => {
77
- const i = e[t];
78
- i && i.forEach((s) => {
79
- s.properties && (r.properties = n(r.properties || {}, s.properties, p + 1));
78
+ const e = typeof f == "object" ? { ...f } : {};
79
+ if (i.required && Array.isArray(i.required)) {
80
+ const t = f.required || [], r = i.required;
81
+ e.required = [.../* @__PURE__ */ new Set([...t, ...r])];
82
+ }
83
+ return i.type && !f.type && (e.type = i.type), i.title && !f.title && (e.title = i.title), i.name && !f.name && (e.name = i.name), i.description && !f.description && (e.description = i.description), i.properties && (e.properties = l(e.properties || {}, i.properties, p + 1)), ["oneOf", "anyOf"].forEach((t) => {
84
+ const r = i[t];
85
+ r && r.forEach((o) => {
86
+ o.properties && (e.properties = l(e.properties || {}, o.properties, p + 1));
80
87
  });
81
- }), r;
88
+ }), e;
82
89
  };
83
90
  export {
84
- o as mergeAllOfSchemas
91
+ n as mergeAllOfSchemas
85
92
  };
@@ -1 +1 @@
1
- {"version":3,"file":"optimize-value-for-display.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/optimize-value-for-display.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,YAAY,EAAE,kBAAkB,EAAuC,CAAA;AAEpF;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,aAAa,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAuEzG"}
1
+ {"version":3,"file":"optimize-value-for-display.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/optimize-value-for-display.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,YAAY,EAAE,kBAAkB,EAAuC,CAAA;AAEpF;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,aAAa,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CA2GzG"}
@@ -1,30 +1,34 @@
1
1
  import { mergeAllOfSchemas as y } from "./merge-all-of-schemas.js";
2
- const m = ["oneOf", "anyOf", "allOf", "not"];
3
- function O(i) {
4
- var p;
5
- if (!i || typeof i != "object")
6
- return i;
7
- let r = { ...i };
8
- const o = m.find((t) => r == null ? void 0 : r[t]);
2
+ const d = ["oneOf", "anyOf", "allOf", "not"];
3
+ function b(e) {
4
+ var O;
5
+ if (!e || typeof e != "object")
6
+ return e;
7
+ let r = { ...e };
8
+ const o = d.find((t) => r == null ? void 0 : r[t]);
9
9
  if (!o || o === "not")
10
10
  return r;
11
- const c = r == null ? void 0 : r[o];
12
- if (!Array.isArray(c))
11
+ const s = r == null ? void 0 : r[o];
12
+ if (!Array.isArray(s))
13
13
  return r;
14
- const l = c.map((t) => {
14
+ const i = { ...r };
15
+ delete i[o], delete i.nullable;
16
+ const u = Object.keys(i).length > 0, c = (o === "oneOf" || o === "anyOf") && (s.some((t) => t.allOf) || u), p = s.map((t) => {
15
17
  if (t.allOf && Array.isArray(t.allOf)) {
16
- const s = y(t.allOf);
17
- return Object.keys(t).forEach((f) => {
18
- !m.includes(f) && !(f in s) && (s[f] = t[f]);
19
- }), s;
18
+ let l = y(t.allOf);
19
+ return c && (l = y(t.allOf, i)), Object.keys(t).forEach((n) => {
20
+ !d.includes(n) && !(n in l) && (l[n] = t[n]);
21
+ }), l;
20
22
  }
21
- return t;
23
+ return c && !t.allOf ? { ...i, ...t } : t;
22
24
  });
23
- l.some((t) => t.type === "null") && (r.nullable = !0);
24
- const n = l.filter((t) => t.type !== "null");
25
- return n.length === 1 && (r != null && r[o]) ? (r = { ...r, ...n[0] }, r == null || delete r[o], r) : (Array.isArray(r == null ? void 0 : r[o]) && ((p = r == null ? void 0 : r[o]) == null ? void 0 : p.length) > 1 && (r[o] = n), r);
25
+ p.some((t) => t.type === "null") && (r.nullable = !0);
26
+ const f = p.filter((t) => t.type !== "null");
27
+ return f.length === 1 && (r != null && r[o]) ? (r = { ...r, ...f[0] }, r == null || delete r[o], r) : c ? (r = {
28
+ [o]: f
29
+ }, r.nullable && (r.nullable = !0), r) : (Array.isArray(r == null ? void 0 : r[o]) && ((O = r == null ? void 0 : r[o]) == null ? void 0 : O.length) > 1 && (r[o] = f), r);
26
30
  }
27
31
  export {
28
- m as compositions,
29
- O as optimizeValueForDisplay
32
+ d as compositions,
33
+ b as optimizeValueForDisplay
30
34
  };
@@ -25,5 +25,5 @@ export declare function hasName(name: string | null): boolean;
25
25
  /**
26
26
  * Choose the schemas to display in composition panel
27
27
  */
28
- export declare function getCompositionDisplay(baseSchemas: OpenAPIV3_1.SchemaObject[], compositionSchemas: OpenAPIV3_1.SchemaObject[], schemas?: Schemas): OpenAPIV3_1.SchemaObject[];
28
+ export declare function getCompositionDisplay(baseSchemas: OpenAPIV3_1.SchemaObject[], compositionSchemas: OpenAPIV3_1.SchemaObject[], _schemas?: Schemas): OpenAPIV3_1.SchemaObject[];
29
29
  //# sourceMappingURL=schema-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema-name.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/schema-name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAGxD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,GAAG,MAAM,GAAG,IAAI,CAyBtF;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAwB3G;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAE3E;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,OAAO,CAAC,EAAE,OAAO,EACjB,cAAc,UAAQ,EACtB,0BAA0B,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,MAAM,GAAG,IAAI,GAC7E,MAAM,GAAG,IAAI,CAmDf;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAgBpD;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,CAAC,YAAY,EAAE,EACvC,kBAAkB,EAAE,WAAW,CAAC,YAAY,EAAE,EAC9C,OAAO,CAAC,EAAE,OAAO,GAChB,WAAW,CAAC,YAAY,EAAE,CA0B5B"}
1
+ {"version":3,"file":"schema-name.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/schema-name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAGxD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,GAAG,MAAM,GAAG,IAAI,CAyBtF;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAwB3G;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAE3E;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,OAAO,CAAC,EAAE,OAAO,EACjB,cAAc,UAAQ,EACtB,0BAA0B,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,MAAM,GAAG,IAAI,GAC7E,MAAM,GAAG,IAAI,CAmDf;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAgBpD;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,CAAC,YAAY,EAAE,EACvC,kBAAkB,EAAE,WAAW,CAAC,YAAY,EAAE,EAC9C,QAAQ,CAAC,EAAE,OAAO,GACjB,WAAW,CAAC,YAAY,EAAE,CA0B5B"}
@@ -1,6 +1,6 @@
1
- import type { Tag } from '@scalar/types/legacy';
1
+ import type { TraversedTag } from '../../../features/traverse-schema';
2
2
  type __VLS_Props = {
3
- tag: Tag;
3
+ tag: TraversedTag;
4
4
  };
5
5
  declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
@@ -19,4 +19,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
19
19
  $slots: S;
20
20
  };
21
21
  };
22
- //# sourceMappingURL=TagAccordion.vue.d.ts.map
22
+ //# sourceMappingURL=ClassicLayout.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/ClassicLayout.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAI9D,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;CAClB,CAAC;AAQF,iBAAS,cAAc;WAoFT,OAAO,IAA6B;;yBARpB,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"}
@@ -0,0 +1,7 @@
1
+ import o from "./ClassicLayout.vue2.js";
2
+ import "./ClassicLayout.vue3.js";
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-56f55c2b"]]);
5
+ export {
6
+ c as default
7
+ };
@@ -0,0 +1,51 @@
1
+ import { defineComponent as i, createBlock as n, openBlock as l, unref as e, withCtx as t, renderSlot as s, createVNode as o, createTextVNode as c, toDisplayString as d } from "vue";
2
+ import { ScalarMarkdown as m } from "@scalar/components";
3
+ import p from "../../Section/SectionContainerAccordion.vue.js";
4
+ import f from "../../Section/SectionHeader.vue.js";
5
+ import u from "../../Anchor/Anchor.vue.js";
6
+ import g from "../../Section/SectionHeaderTag.vue.js";
7
+ const B = /* @__PURE__ */ i({
8
+ __name: "ClassicLayout",
9
+ props: {
10
+ tag: {}
11
+ },
12
+ setup(_) {
13
+ return (a, S) => (l(), n(e(p), { class: "tag-section" }, {
14
+ title: t(() => {
15
+ var r;
16
+ return [
17
+ o(e(f), { class: "tag-name" }, {
18
+ default: t(() => [
19
+ o(e(u), {
20
+ id: a.tag.id
21
+ }, {
22
+ default: t(() => [
23
+ o(e(g), { level: 2 }, {
24
+ default: t(() => [
25
+ c(d(a.tag.title), 1)
26
+ ]),
27
+ _: 1
28
+ })
29
+ ]),
30
+ _: 1
31
+ }, 8, ["id"])
32
+ ]),
33
+ _: 1
34
+ }),
35
+ o(e(m), {
36
+ class: "tag-description",
37
+ value: (r = a.tag.tag) == null ? void 0 : r.description,
38
+ withImages: ""
39
+ }, null, 8, ["value"])
40
+ ];
41
+ }),
42
+ default: t(() => [
43
+ s(a.$slots, "default", {}, void 0, !0)
44
+ ]),
45
+ _: 3
46
+ }));
47
+ }
48
+ });
49
+ export {
50
+ B as default
51
+ };
@@ -0,0 +1,4 @@
1
+ const _ = "";
2
+ export {
3
+ _ as default
4
+ };
@@ -1,11 +1,8 @@
1
- import type { Collection } from '@scalar/oas-utils/entities/spec';
2
- import type { Spec, Tag as TagType } from '@scalar/types/legacy';
3
1
  import { nextTick } from 'vue';
2
+ import type { TraversedTag } from '../../../features/traverse-schema';
4
3
  type __VLS_Props = {
5
- id?: string;
6
- tag: TagType;
7
- collection: Collection;
8
- spec: Spec;
4
+ tag: TraversedTag;
5
+ moreThanOneTag: boolean;
9
6
  };
10
7
  declare function __VLS_template(): {
11
8
  attrs: Partial<{}>;
@@ -16,7 +13,9 @@ declare function __VLS_template(): {
16
13
  sectionContainerRef: ({
17
14
  $: import("vue").ComponentInternalInstance;
18
15
  $data: {};
19
- $props: Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
16
+ $props: {
17
+ readonly omit?: boolean | undefined;
18
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
20
19
  $attrs: {
21
20
  [x: string]: unknown;
22
21
  };
@@ -30,8 +29,10 @@ declare function __VLS_template(): {
30
29
  $parent: import("vue").ComponentPublicInstance | null;
31
30
  $host: Element | null;
32
31
  $emit: (event: string, ...args: any[]) => void;
33
- $el: HTMLDivElement;
34
- $options: import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
32
+ $el: any;
33
+ $options: import("vue").ComponentOptionsBase<Readonly<{
34
+ omit?: boolean;
35
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
35
36
  beforeCreate?: (() => void) | (() => void)[];
36
37
  created?: (() => void) | (() => void)[];
37
38
  beforeMount?: (() => void) | (() => void)[];
@@ -51,17 +52,20 @@ declare function __VLS_template(): {
51
52
  $forceUpdate: () => void;
52
53
  $nextTick: typeof nextTick;
53
54
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
54
- } & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
55
+ } & Readonly<{}> & Omit<Readonly<{
56
+ omit?: boolean;
57
+ }> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
55
58
  $slots: {
56
59
  default?(_: {}): any;
60
+ default?(_: {}): any;
57
61
  };
58
62
  }) | null;
59
63
  contentsRef: HTMLDivElement;
60
64
  };
61
- rootEl: HTMLDivElement;
65
+ rootEl: any;
62
66
  };
63
67
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
64
- 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, {}, HTMLDivElement>;
68
+ 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>;
65
69
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
66
70
  export default _default;
67
71
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -69,4 +73,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
69
73
  $slots: S;
70
74
  };
71
75
  };
72
- //# sourceMappingURL=TagSection.vue.d.ts.map
76
+ //# sourceMappingURL=ModernLayout.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/ModernLayout.vue"],"names":[],"mappings":"AAkFA,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAMpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAO9D,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,cAAc,EAAE,OAAO,CAAA;CACxB,CAAC;AA+BF,iBAAS,cAAc;WAiGT,OAAO,IAA6B;;yBAVpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4D6pf,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;EA7Cnzf;AAmBD,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"}
@@ -0,0 +1,7 @@
1
+ import o from "./ModernLayout.vue2.js";
2
+ import "./ModernLayout.vue3.js";
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-91405c72"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1,69 @@
1
+ import { defineComponent as y, ref as m, useId as C, computed as T, createBlock as l, openBlock as o, unref as t, withCtx as u, createVNode as k, createElementBlock as b, createCommentVNode as s, renderSlot as S, nextTick as B } from "vue";
2
+ import v from "../../ShowMoreButton.vue.js";
3
+ import { useNavState as I } from "../../../hooks/useNavState.js";
4
+ import O from "./TagSection.vue.js";
5
+ import { useSidebar as $ } from "../../../features/sidebar/hooks/useSidebar.js";
6
+ import w from "../../Section/SectionContainer.vue.js";
7
+ import R from "../../Lazy/Lazy.vue2.js";
8
+ const E = /* @__PURE__ */ y({
9
+ __name: "ModernLayout",
10
+ props: {
11
+ tag: {},
12
+ moreThanOneTag: { type: Boolean }
13
+ },
14
+ setup(n) {
15
+ const c = m(), d = m(), f = C(), { collapsedSidebarItems: g } = $(), { hash: r } = I(), p = T(
16
+ () => {
17
+ var e, a;
18
+ return n.moreThanOneTag || ((e = n.tag) == null ? void 0 : e.title) !== "default" || ((a = n.tag) == null ? void 0 : a.tag.description) !== "";
19
+ }
20
+ );
21
+ async function h() {
22
+ var e, a;
23
+ await B(), (a = (e = d.value) == null ? void 0 : e.querySelector("button")) == null || a.focus();
24
+ }
25
+ const i = (e) => !g[e];
26
+ return (e, a) => (o(), l(t(w), {
27
+ ref_key: "sectionContainerRef",
28
+ ref: c,
29
+ "aria-labelledby": t(f),
30
+ class: "tag-section-container",
31
+ role: "region"
32
+ }, {
33
+ default: u(() => [
34
+ k(t(R), {
35
+ id: `modern-tag-${e.tag.id}`,
36
+ isLazy: !!t(r) && t(r) !== e.tag.id && t(r).startsWith(e.tag.id)
37
+ }, {
38
+ default: u(() => [
39
+ p.value ? (o(), l(O, {
40
+ key: 0,
41
+ headerId: t(f),
42
+ isCollapsed: i(e.tag.id),
43
+ tag: e.tag
44
+ }, null, 8, ["headerId", "isCollapsed", "tag"])) : s("", !0),
45
+ i(e.tag.id) && e.moreThanOneTag ? (o(), l(v, {
46
+ key: 1,
47
+ id: e.tag.id,
48
+ "aria-label": `Show all ${e.tag.title} endpoints`,
49
+ onClick: h
50
+ }, null, 8, ["id", "aria-label"])) : s("", !0)
51
+ ]),
52
+ _: 1
53
+ }, 8, ["id", "isLazy"]),
54
+ i(e.tag.id) && e.moreThanOneTag ? s("", !0) : (o(), b("div", {
55
+ key: 0,
56
+ ref_key: "contentsRef",
57
+ ref: d,
58
+ class: "contents"
59
+ }, [
60
+ S(e.$slots, "default", {}, void 0, !0)
61
+ ], 512))
62
+ ]),
63
+ _: 3
64
+ }, 8, ["aria-labelledby"]));
65
+ }
66
+ });
67
+ export {
68
+ E as default
69
+ };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,25 @@
1
+ import type { TraversedTag } from '../../../features/traverse-schema';
2
+ type __VLS_Props = {
3
+ tag: TraversedTag;
4
+ layout: 'classic' | 'modern';
5
+ moreThanOneTag: boolean;
6
+ };
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
11
+ default?(_: {}): any;
12
+ };
13
+ refs: {};
14
+ rootEl: any;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ 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>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
25
+ //# sourceMappingURL=Tag.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/Tag.vue"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAO9D,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC5B,cAAc,EAAE,OAAO,CAAA;CACxB,CAAC;AAQF,iBAAS,cAAc;WAwDT,OAAO,IAA6B;;yBATrB,GAAG;yBACF,GAAG;;;;EAahC;AAUD,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,27 @@
1
+ import { defineComponent as l, createBlock as e, openBlock as r, normalizeProps as a, mergeProps as t, withCtx as p, renderSlot as s } from "vue";
2
+ import n from "./ClassicLayout.vue.js";
3
+ import m from "./ModernLayout.vue.js";
4
+ const c = /* @__PURE__ */ l({
5
+ __name: "Tag",
6
+ props: {
7
+ tag: {},
8
+ layout: {},
9
+ moreThanOneTag: { type: Boolean }
10
+ },
11
+ setup(u) {
12
+ return (o, f) => o.layout === "classic" ? (r(), e(n, a(t({ key: 0 }, o.$props)), {
13
+ default: p(() => [
14
+ s(o.$slots, "default")
15
+ ]),
16
+ _: 3
17
+ }, 16)) : (r(), e(m, a(t({ key: 1 }, o.$props)), {
18
+ default: p(() => [
19
+ s(o.$slots, "default")
20
+ ]),
21
+ _: 3
22
+ }, 16));
23
+ }
24
+ });
25
+ export {
26
+ c as default
27
+ };
@@ -1,12 +1,9 @@
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
- id?: string;
5
- tag: Tag;
6
- collection: Collection;
3
+ tag: TraversedTag;
7
4
  headerId?: string;
8
5
  isCollapsed?: boolean;
9
6
  };
10
7
  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>;
11
8
  export default _default;
12
- //# sourceMappingURL=Tag.vue.d.ts.map
9
+ //# sourceMappingURL=TagSection.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/TagSection.vue"],"names":[],"mappings":"AA0EA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAK9D,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAkKF,wBAMG"}