@scalar/api-reference 1.38.1 → 1.39.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (655) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/dist/_virtual/_plugin-vue_export-helper.js +7 -6
  3. package/dist/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +11 -0
  4. package/dist/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -0
  5. package/dist/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +7 -0
  6. package/dist/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +259 -0
  7. package/dist/{v2/blocks → blocks}/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -2
  8. package/dist/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts.map +1 -0
  9. package/dist/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +66 -0
  10. package/dist/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue2.js +4 -0
  11. package/dist/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -0
  12. package/dist/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +271 -0
  13. package/dist/blocks/scalar-auth-selector-block/components/OAuth2.vue2.js +4 -0
  14. package/dist/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -0
  15. package/dist/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +150 -0
  16. package/dist/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue2.js +4 -0
  17. package/dist/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -0
  18. package/dist/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +7 -0
  19. package/dist/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +116 -0
  20. package/dist/{v2/blocks → blocks}/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +1 -1
  21. package/dist/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -0
  22. package/dist/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +55 -0
  23. package/dist/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue2.js +4 -0
  24. package/dist/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -0
  25. package/dist/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +288 -0
  26. package/dist/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue2.js +4 -0
  27. package/dist/blocks/scalar-auth-selector-block/helpers/filter-security-requirements.d.ts.map +1 -0
  28. package/dist/blocks/scalar-auth-selector-block/helpers/update-scheme.d.ts.map +1 -0
  29. package/dist/blocks/scalar-auth-selector-block/helpers/update-scheme.js +26 -0
  30. package/dist/blocks/scalar-auth-selector-block/index.d.ts.map +1 -0
  31. package/dist/{v2/blocks → blocks}/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +0 -2
  32. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -0
  33. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +7 -0
  34. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +125 -0
  35. package/dist/{v2/blocks → blocks}/scalar-client-selector-block/components/ClientSelector.vue.d.ts +1 -1
  36. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -0
  37. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +7 -0
  38. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +141 -0
  39. package/dist/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts.map +1 -0
  40. package/dist/blocks/scalar-client-selector-block/helpers/featured-clients.js +24 -0
  41. package/dist/blocks/scalar-client-selector-block/index.d.ts.map +1 -0
  42. package/dist/{v2/blocks → blocks}/scalar-info-block/components/DownloadLink.vue.d.ts +0 -3
  43. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -0
  44. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +7 -0
  45. package/dist/blocks/scalar-info-block/components/DownloadLink.vue2.js +62 -0
  46. package/dist/{v2/blocks → blocks}/scalar-info-block/components/InfoBlock.vue.d.ts +7 -10
  47. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -0
  48. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.js +54 -0
  49. package/dist/blocks/scalar-info-block/components/InfoBlock.vue2.js +4 -0
  50. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.d.ts +11 -0
  51. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.d.ts.map +1 -0
  52. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.js +7 -0
  53. package/dist/blocks/scalar-info-block/components/InfoDescription.vue2.js +66 -0
  54. package/dist/blocks/scalar-info-block/components/InfoLinks.vue.d.ts.map +1 -0
  55. package/dist/blocks/scalar-info-block/components/InfoLinks.vue.js +38 -0
  56. package/dist/blocks/scalar-info-block/components/InfoLinks.vue2.js +4 -0
  57. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.d.ts +10 -0
  58. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.d.ts.map +1 -0
  59. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.js +36 -0
  60. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue2.js +4 -0
  61. package/dist/blocks/scalar-info-block/components/InfoVersion.vue.d.ts.map +1 -0
  62. package/dist/blocks/scalar-info-block/components/InfoVersion.vue.js +28 -0
  63. package/dist/blocks/scalar-info-block/components/InfoVersion.vue2.js +4 -0
  64. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts.map +1 -0
  65. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.js +7 -0
  66. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue2.js +19 -0
  67. package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.d.ts.map +1 -0
  68. package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +14 -0
  69. package/dist/{v2/blocks → blocks}/scalar-info-block/components/IntroductionLayout.vue.d.ts +9 -7
  70. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -0
  71. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +7 -0
  72. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +112 -0
  73. package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.d.ts.map +1 -0
  74. package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.js +21 -0
  75. package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue2.js +4 -0
  76. package/dist/blocks/scalar-info-block/index.d.ts.map +1 -0
  77. package/dist/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -0
  78. package/dist/blocks/scalar-server-selector-block/components/Selector.vue.js +88 -0
  79. package/dist/blocks/scalar-server-selector-block/components/Selector.vue2.js +4 -0
  80. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -0
  81. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +89 -0
  82. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue2.js +4 -0
  83. package/dist/blocks/scalar-server-selector-block/index.d.ts.map +1 -0
  84. package/dist/browser/standalone.js +32761 -32285
  85. package/dist/browser/webpack-stats.json +1 -1
  86. package/dist/components/Anchor/Anchor.vue.d.ts +5 -4
  87. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  88. package/dist/components/Anchor/Anchor.vue.js +45 -46
  89. package/dist/components/Anchor/Anchor.vue2.js +2 -2
  90. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts +2 -0
  91. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts.map +1 -1
  92. package/dist/components/Anchor/WithBreadcrumb.vue.js +2 -2
  93. package/dist/components/Anchor/WithBreadcrumb.vue2.js +31 -33
  94. package/dist/components/ApiReference.vue.d.ts +275 -8
  95. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  96. package/dist/components/ApiReference.vue.js +8 -35
  97. package/dist/components/ApiReference.vue2.js +665 -2
  98. package/dist/components/Badge/Badge.vue.js +4 -4
  99. package/dist/components/Badge/Badge.vue2.js +16 -14
  100. package/dist/components/ClassicHeader.vue.js +14 -11
  101. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +1 -1
  102. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +0 -2
  103. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  104. package/dist/components/Content/Content.vue.d.ts +15 -10
  105. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  106. package/dist/components/Content/Content.vue.js +153 -191
  107. package/dist/components/Content/Content.vue3.js +2 -2
  108. package/dist/components/Content/Models/{Models.vue.d.ts → Model.vue.d.ts} +8 -8
  109. package/dist/components/Content/Models/Model.vue.d.ts.map +1 -0
  110. package/dist/components/Content/Models/Model.vue.js +47 -0
  111. package/dist/components/Content/Models/Model.vue2.js +4 -0
  112. package/dist/{v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.d.ts → components/Content/Models/ModelTag.vue.d.ts} +12 -11
  113. package/dist/components/Content/Models/ModelTag.vue.d.ts.map +1 -0
  114. package/dist/components/Content/Models/ModelTag.vue.js +82 -0
  115. package/dist/components/Content/Models/ModelTag.vue2.js +4 -0
  116. package/dist/components/Content/Models/{ModernLayout.vue.d.ts → components/ClassicLayout.vue.d.ts} +7 -8
  117. package/dist/components/Content/Models/components/ClassicLayout.vue.d.ts.map +1 -0
  118. package/dist/components/Content/Models/components/ClassicLayout.vue.js +7 -0
  119. package/dist/components/Content/Models/components/ClassicLayout.vue2.js +84 -0
  120. package/dist/components/Content/Models/{ClassicLayout.vue.d.ts → components/ModernLayout.vue.d.ts} +7 -6
  121. package/dist/components/Content/Models/components/ModernLayout.vue.d.ts.map +1 -0
  122. package/dist/components/Content/Models/components/ModernLayout.vue.js +61 -0
  123. package/dist/components/Content/Models/components/ModernLayout.vue2.js +4 -0
  124. package/dist/components/Content/Models/index.d.ts +1 -1
  125. package/dist/components/Content/Models/index.d.ts.map +1 -1
  126. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +13 -11
  127. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
  128. package/dist/components/Content/Operations/TraversedEntry.vue.js +142 -91
  129. package/dist/components/Content/Operations/TraversedEntry.vue2.js +2 -2
  130. package/dist/components/Content/Schema/RenderString.vue.js +19 -6
  131. package/dist/components/Content/Schema/RenderString.vue2.js +2 -2
  132. package/dist/components/Content/Schema/Schema.vue.d.ts +3 -0
  133. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  134. package/dist/components/Content/Schema/Schema.vue.js +4 -4
  135. package/dist/components/Content/Schema/Schema.vue2.js +162 -135
  136. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +3 -0
  137. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  138. package/dist/components/Content/Schema/SchemaComposition.vue.js +88 -71
  139. package/dist/components/Content/Schema/SchemaComposition.vue2.js +2 -2
  140. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
  141. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +4 -4
  142. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue2.js +20 -14
  143. package/dist/components/Content/Schema/SchemaEnumValues.vue.js +4 -4
  144. package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +90 -60
  145. package/dist/components/Content/Schema/SchemaHeading.vue.js +4 -4
  146. package/dist/components/Content/Schema/SchemaHeading.vue2.js +47 -29
  147. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +2 -0
  148. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
  149. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +79 -59
  150. package/dist/components/Content/Schema/SchemaObjectProperties.vue2.js +2 -2
  151. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +3 -1
  152. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  153. package/dist/components/Content/Schema/SchemaProperty.vue.js +4 -4
  154. package/dist/components/Content/Schema/SchemaProperty.vue2.js +228 -149
  155. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +4 -4
  156. package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +25 -20
  157. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +4 -4
  158. package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +65 -55
  159. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +4 -4
  160. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +301 -206
  161. package/dist/components/Content/Schema/helpers/format-example.js +38 -3
  162. package/dist/components/Content/Schema/helpers/get-ref-name.d.ts +1 -1
  163. package/dist/components/Content/Schema/helpers/get-ref-name.d.ts.map +1 -1
  164. package/dist/components/Content/Schema/helpers/get-ref-name.js +13 -8
  165. package/dist/components/Content/Schema/helpers/get-schema-type.js +54 -33
  166. package/dist/components/Content/Schema/helpers/is-type-object.js +24 -14
  167. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +197 -118
  168. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -1
  169. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +56 -34
  170. package/dist/components/Content/Schema/helpers/schema-composition.js +2 -2
  171. package/dist/components/Content/Schema/helpers/schema-name.js +56 -28
  172. package/dist/components/Content/Schema/helpers/sort-property-names.js +47 -25
  173. package/dist/components/Content/Tags/Tag.vue.d.ts +3 -1
  174. package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -1
  175. package/dist/components/Content/Tags/Tag.vue.js +35 -29
  176. package/dist/components/Content/Tags/Tag.vue2.js +2 -2
  177. package/dist/components/Content/Tags/{ClassicLayout.vue.d.ts → components/ClassicLayout.vue.d.ts} +5 -2
  178. package/dist/components/Content/Tags/components/ClassicLayout.vue.d.ts.map +1 -0
  179. package/dist/components/Content/Tags/components/ClassicLayout.vue.js +7 -0
  180. package/dist/components/Content/Tags/components/ClassicLayout.vue2.js +57 -0
  181. package/dist/components/Content/Tags/{ModernLayout.vue.d.ts → components/ModernLayout.vue.d.ts} +5 -3
  182. package/dist/components/Content/Tags/components/ModernLayout.vue.d.ts.map +1 -0
  183. package/dist/components/Content/Tags/components/ModernLayout.vue.js +7 -0
  184. package/dist/components/Content/Tags/components/ModernLayout.vue2.js +68 -0
  185. package/dist/components/Content/Tags/{TagSection.vue.d.ts → components/TagSection.vue.d.ts} +2 -0
  186. package/dist/components/Content/Tags/components/TagSection.vue.d.ts.map +1 -0
  187. package/dist/components/Content/Tags/components/TagSection.vue.js +100 -0
  188. package/dist/components/Content/Tags/components/TagSection.vue2.js +4 -0
  189. package/dist/components/GettingStarted.vue.js +4 -4
  190. package/dist/components/GettingStarted.vue2.js +59 -50
  191. package/dist/components/HttpMethod/HttpMethod.vue.js +23 -19
  192. package/dist/components/HttpMethod/HttpMethod.vue2.js +2 -2
  193. package/dist/components/IntersectionObserver.vue.d.ts +2 -2
  194. package/dist/components/IntersectionObserver.vue.js +41 -29
  195. package/dist/components/IntersectionObserver.vue2.js +2 -2
  196. package/dist/components/Lazy/Lazy.vue.d.ts +1 -4
  197. package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -1
  198. package/dist/components/Lazy/Lazy.vue.js +15 -2
  199. package/dist/components/Lazy/Lazy.vue2.js +2 -24
  200. package/dist/components/LinkList/LinkList.vue.js +4 -4
  201. package/dist/components/LinkList/LinkList.vue2.js +41 -25
  202. package/dist/components/LoadingSkeleton.vue.js +4 -4
  203. package/dist/components/LoadingSkeleton.vue2.js +12 -8
  204. package/dist/components/MobileHeader.vue.d.ts +13 -4
  205. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  206. package/dist/components/MobileHeader.vue.js +58 -5
  207. package/dist/components/MobileHeader.vue2.js +2 -26
  208. package/dist/components/OperationPath.vue.js +4 -4
  209. package/dist/components/OperationPath.vue2.js +21 -14
  210. package/dist/components/OperationsList/OperationsList.vue.d.ts +2 -0
  211. package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -1
  212. package/dist/components/OperationsList/OperationsList.vue.js +4 -4
  213. package/dist/components/OperationsList/OperationsList.vue2.js +54 -45
  214. package/dist/components/OperationsList/OperationsListItem.vue.d.ts +2 -0
  215. package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -1
  216. package/dist/components/OperationsList/OperationsListItem.vue.js +4 -4
  217. package/dist/components/OperationsList/OperationsListItem.vue2.js +56 -48
  218. package/dist/{v2/blocks/scalar-info-block/components/InfoDescription.vue.d.ts → components/RenderPlugins/RenderPlugins.vue.d.ts} +3 -3
  219. package/dist/components/RenderPlugins/RenderPlugins.vue.d.ts.map +1 -0
  220. package/dist/components/RenderPlugins/RenderPlugins.vue.js +43 -0
  221. package/dist/components/RenderPlugins/RenderPlugins.vue2.js +4 -0
  222. package/dist/components/RenderPlugins/index.d.ts +2 -0
  223. package/dist/components/RenderPlugins/index.d.ts.map +1 -0
  224. package/dist/components/ScreenReader.vue.js +4 -4
  225. package/dist/components/ScreenReader.vue2.js +12 -9
  226. package/dist/components/Section/CompactSection.vue.d.ts +11 -6
  227. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  228. package/dist/components/Section/CompactSection.vue.js +4 -4
  229. package/dist/components/Section/CompactSection.vue2.js +47 -48
  230. package/dist/components/Section/Section.vue.d.ts +7 -7
  231. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  232. package/dist/components/Section/Section.vue.js +4 -4
  233. package/dist/components/Section/Section.vue2.js +18 -25
  234. package/dist/components/Section/SectionAccordion.vue.d.ts +13 -9
  235. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  236. package/dist/components/Section/SectionAccordion.vue.js +4 -4
  237. package/dist/components/Section/SectionAccordion.vue2.js +64 -63
  238. package/dist/components/Section/SectionColumn.vue.js +9 -8
  239. package/dist/components/Section/SectionColumns.vue.js +9 -8
  240. package/dist/components/Section/SectionContainer.vue.js +4 -4
  241. package/dist/components/Section/SectionContainer.vue2.js +11 -8
  242. package/dist/components/Section/SectionContainerAccordion.vue.d.ts +11 -4
  243. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  244. package/dist/components/Section/SectionContainerAccordion.vue.js +4 -4
  245. package/dist/components/Section/SectionContainerAccordion.vue2.js +49 -34
  246. package/dist/components/Section/SectionContent.vue.js +4 -4
  247. package/dist/components/Section/SectionContent.vue2.js +15 -12
  248. package/dist/components/Section/SectionHeader.vue.js +4 -4
  249. package/dist/components/Section/SectionHeader.vue2.js +17 -14
  250. package/dist/components/Section/SectionHeaderTag.vue.js +4 -4
  251. package/dist/components/Section/SectionHeaderTag.vue2.js +12 -10
  252. package/dist/components/SectionFlare/SectionFlare.vue.js +10 -9
  253. package/dist/components/ShowMoreButton.vue.d.ts +0 -1
  254. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  255. package/dist/components/ShowMoreButton.vue.js +4 -4
  256. package/dist/components/ShowMoreButton.vue2.js +25 -21
  257. package/dist/components/index.d.ts +3 -0
  258. package/dist/components/index.d.ts.map +1 -0
  259. package/dist/components/index.js +7 -0
  260. package/dist/consts/urls.js +8 -5
  261. package/dist/features/Operation/Operation.vue.d.ts +8 -4
  262. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  263. package/dist/features/Operation/Operation.vue.js +56 -53
  264. package/dist/features/Operation/Operation.vue2.js +2 -2
  265. package/dist/features/Operation/components/ContentTypeSelect.vue.js +64 -55
  266. package/dist/features/Operation/components/ContentTypeSelect.vue2.js +2 -2
  267. package/dist/features/Operation/components/Header.vue.d.ts +2 -0
  268. package/dist/features/Operation/components/Header.vue.d.ts.map +1 -1
  269. package/dist/features/Operation/components/Header.vue.js +21 -17
  270. package/dist/features/Operation/components/Header.vue2.js +2 -2
  271. package/dist/features/Operation/components/Headers.vue.d.ts +2 -0
  272. package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
  273. package/dist/features/Operation/components/Headers.vue.js +4 -4
  274. package/dist/features/Operation/components/Headers.vue2.js +58 -52
  275. package/dist/features/Operation/components/OperationParameters.vue.d.ts +2 -0
  276. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  277. package/dist/features/Operation/components/OperationParameters.vue.js +68 -60
  278. package/dist/features/Operation/components/OperationParameters.vue2.js +2 -2
  279. package/dist/features/Operation/components/OperationResponses.vue.d.ts +2 -0
  280. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  281. package/dist/features/Operation/components/OperationResponses.vue.js +30 -19
  282. package/dist/features/Operation/components/OperationResponses.vue2.js +2 -2
  283. package/dist/features/Operation/components/ParameterList.vue.d.ts +2 -0
  284. package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
  285. package/dist/features/Operation/components/ParameterList.vue.js +40 -20
  286. package/dist/features/Operation/components/ParameterList.vue2.js +2 -2
  287. package/dist/features/Operation/components/ParameterListItem.vue.d.ts +2 -0
  288. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  289. package/dist/features/Operation/components/ParameterListItem.vue.js +4 -4
  290. package/dist/features/Operation/components/ParameterListItem.vue2.js +120 -97
  291. package/dist/features/Operation/components/RequestBody.vue.d.ts +2 -0
  292. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  293. package/dist/features/Operation/components/RequestBody.vue.js +4 -4
  294. package/dist/features/Operation/components/RequestBody.vue2.js +126 -99
  295. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +2 -1
  296. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
  297. package/dist/features/Operation/components/callbacks/Callback.vue.js +4 -4
  298. package/dist/features/Operation/components/callbacks/Callback.vue2.js +48 -39
  299. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +2 -0
  300. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
  301. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +41 -26
  302. package/dist/features/Operation/components/callbacks/Callbacks.vue2.js +2 -2
  303. package/dist/features/Operation/helpers/combine-params.js +10 -9
  304. package/dist/features/Operation/helpers/get-first-server.js +19 -14
  305. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +4 -1
  306. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  307. package/dist/features/Operation/layouts/ClassicLayout.vue.js +4 -4
  308. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +207 -184
  309. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +3 -1
  310. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  311. package/dist/features/Operation/layouts/ModernLayout.vue.js +4 -4
  312. package/dist/features/Operation/layouts/ModernLayout.vue2.js +230 -214
  313. package/dist/features/Search/components/SearchButton.vue.d.ts +3 -0
  314. package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -1
  315. package/dist/features/Search/components/SearchButton.vue.js +77 -54
  316. package/dist/features/Search/components/SearchButton.vue2.js +2 -2
  317. package/dist/features/Search/components/SearchModal.vue.d.ts +3 -1
  318. package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -1
  319. package/dist/features/Search/components/SearchModal.vue.js +4 -4
  320. package/dist/features/Search/components/SearchModal.vue2.js +104 -181
  321. package/dist/features/Search/components/SearchResult.vue.d.ts +10 -0
  322. package/dist/features/Search/components/SearchResult.vue.d.ts.map +1 -0
  323. package/dist/features/Search/components/SearchResult.vue.js +84 -0
  324. package/dist/features/Search/components/SearchResult.vue2.js +4 -0
  325. package/dist/features/Search/helpers/create-fuse-instance.d.ts +1 -1
  326. package/dist/features/Search/helpers/create-fuse-instance.d.ts.map +1 -1
  327. package/dist/features/Search/helpers/create-fuse-instance.js +10 -10
  328. package/dist/features/Search/helpers/create-search-index.d.ts +1 -2
  329. package/dist/features/Search/helpers/create-search-index.d.ts.map +1 -1
  330. package/dist/features/Search/helpers/create-search-index.js +69 -61
  331. package/dist/features/Search/hooks/useSearchIndex.d.ts +6 -7
  332. package/dist/features/Search/hooks/useSearchIndex.d.ts.map +1 -1
  333. package/dist/features/Search/hooks/useSearchIndex.js +26 -39
  334. package/dist/features/Search/types.d.ts +3 -3
  335. package/dist/features/Search/types.d.ts.map +1 -1
  336. package/dist/features/example-responses/ExampleResponse.vue.js +4 -4
  337. package/dist/features/example-responses/ExampleResponse.vue2.js +48 -34
  338. package/dist/features/example-responses/ExampleResponseTab.vue.js +4 -4
  339. package/dist/features/example-responses/ExampleResponseTab.vue2.js +20 -18
  340. package/dist/features/example-responses/ExampleResponseTabList.vue.js +4 -4
  341. package/dist/features/example-responses/ExampleResponseTabList.vue2.js +30 -27
  342. package/dist/features/example-responses/ExampleResponses.vue.js +4 -4
  343. package/dist/features/example-responses/ExampleResponses.vue2.js +160 -138
  344. package/dist/features/example-responses/helpers/get-resolved-ref-deep.js +31 -21
  345. package/dist/features/external-docs/ExternalDocs.vue.js +28 -22
  346. package/dist/features/external-docs/ExternalDocs.vue2.js +2 -2
  347. package/dist/features/info-object/Contact.vue.js +29 -24
  348. package/dist/features/info-object/Contact.vue2.js +2 -2
  349. package/dist/features/info-object/License.vue.js +32 -26
  350. package/dist/features/info-object/License.vue2.js +2 -2
  351. package/dist/features/info-object/TermsOfService.vue.js +24 -20
  352. package/dist/features/info-object/TermsOfService.vue2.js +2 -2
  353. package/dist/features/multiple-documents/DocumentSelector.vue.d.ts +7 -5
  354. package/dist/features/multiple-documents/DocumentSelector.vue.d.ts.map +1 -1
  355. package/dist/features/multiple-documents/DocumentSelector.vue.js +37 -34
  356. package/dist/features/multiple-documents/DocumentSelector.vue2.js +2 -2
  357. package/dist/features/specification-extension/SpecificationExtension.vue.js +2 -2
  358. package/dist/features/specification-extension/SpecificationExtension.vue2.js +38 -32
  359. package/dist/features/specification-extension/helpers.js +7 -2
  360. package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
  361. package/dist/features/test-request-button/TestRequestButton.vue.js +4 -4
  362. package/dist/features/test-request-button/TestRequestButton.vue2.js +33 -30
  363. package/dist/features/toolbar/ApiReferenceToolbar.vue.js +47 -30
  364. package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +2 -2
  365. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.js +9 -8
  366. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +90 -82
  367. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +2 -2
  368. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.js +24 -18
  369. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue2.js +2 -2
  370. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.js +107 -110
  371. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue2.js +2 -2
  372. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -1
  373. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +34 -30
  374. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue2.js +2 -2
  375. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +1 -1
  376. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +45 -37
  377. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue2.js +2 -2
  378. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +52 -39
  379. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue2.js +2 -2
  380. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +70 -65
  381. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +2 -2
  382. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +36 -34
  383. package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +2 -2
  384. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +50 -47
  385. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue2.js +2 -2
  386. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +75 -68
  387. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue2.js +2 -2
  388. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +49 -43
  389. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue2.js +2 -2
  390. package/dist/features/x-badges/XBadges.vue.d.ts.map +1 -1
  391. package/dist/features/x-badges/XBadges.vue.js +26 -17
  392. package/dist/features/x-badges/XBadges.vue2.js +2 -2
  393. package/dist/helpers/convert-security-scheme.js +32 -21
  394. package/dist/helpers/download.d.ts.map +1 -0
  395. package/dist/helpers/download.js +45 -0
  396. package/dist/helpers/get-document-name.d.ts.map +1 -0
  397. package/dist/helpers/id-routing.d.ts +28 -0
  398. package/dist/helpers/id-routing.d.ts.map +1 -0
  399. package/dist/helpers/id-routing.js +57 -0
  400. package/dist/helpers/index.d.ts +10 -0
  401. package/dist/helpers/index.d.ts.map +1 -0
  402. package/dist/helpers/index.js +23 -0
  403. package/dist/helpers/lazy-bus.d.ts +39 -0
  404. package/dist/helpers/lazy-bus.d.ts.map +1 -0
  405. package/dist/helpers/lazy-bus.js +161 -0
  406. package/dist/helpers/map-config-to-client-store.d.ts +72 -0
  407. package/dist/helpers/map-config-to-client-store.d.ts.map +1 -0
  408. package/dist/helpers/map-config-to-client-store.js +146 -0
  409. package/dist/helpers/map-config-to-workspace-store.d.ts +9 -0
  410. package/dist/helpers/map-config-to-workspace-store.d.ts.map +1 -0
  411. package/dist/helpers/map-config-to-workspace-store.js +47 -0
  412. package/dist/helpers/map-configuration.d.ts.map +1 -0
  413. package/dist/helpers/map-configuration.js +52 -0
  414. package/dist/helpers/markdown.d.ts.map +1 -0
  415. package/dist/helpers/normalize-configurations.d.ts +42 -0
  416. package/dist/helpers/normalize-configurations.d.ts.map +1 -0
  417. package/dist/helpers/normalize-configurations.js +69 -0
  418. package/dist/helpers/openapi.d.ts.map +1 -0
  419. package/dist/helpers/openapi.js +119 -0
  420. package/dist/{features/toolbar/uploadTempDocument.d.ts → helpers/upload-temp-document.d.ts} +1 -1
  421. package/dist/helpers/upload-temp-document.d.ts.map +1 -0
  422. package/dist/helpers/upload-temp-document.js +24 -0
  423. package/dist/hooks/use-intersection.d.ts +3 -0
  424. package/dist/hooks/use-intersection.d.ts.map +1 -0
  425. package/dist/hooks/use-intersection.js +32 -0
  426. package/dist/hooks/use-legacy-store-events.d.ts.map +1 -0
  427. package/dist/hooks/use-legacy-store-events.js +91 -0
  428. package/dist/hooks/use-workspace-store-events.d.ts +4 -0
  429. package/dist/hooks/use-workspace-store-events.d.ts.map +1 -0
  430. package/dist/hooks/use-workspace-store-events.js +68 -0
  431. package/dist/index.d.ts +7 -7
  432. package/dist/index.d.ts.map +1 -1
  433. package/dist/index.js +14 -45
  434. package/dist/plugins/hooks/usePluginManager.js +11 -7
  435. package/dist/plugins/plugin-manager.d.ts +5 -1
  436. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  437. package/dist/plugins/plugin-manager.js +31 -13
  438. package/dist/standalone/lib/html-api.d.ts.map +1 -1
  439. package/dist/standalone/lib/html-api.js +59 -32
  440. package/dist/style.css +11893 -1
  441. package/package.json +47 -36
  442. package/dist/components/ApiReferenceContent.vue.d.ts +0 -34
  443. package/dist/components/ApiReferenceContent.vue.d.ts.map +0 -1
  444. package/dist/components/ApiReferenceContent.vue.js +0 -8
  445. package/dist/components/ApiReferenceContent.vue2.js +0 -148
  446. package/dist/components/ApiReferenceLayout.vue.d.ts +0 -34
  447. package/dist/components/ApiReferenceLayout.vue.d.ts.map +0 -1
  448. package/dist/components/ApiReferenceLayout.vue.js +0 -10
  449. package/dist/components/ApiReferenceLayout.vue2.js +0 -316
  450. package/dist/components/Content/IntroductionSection.vue.d.ts +0 -18
  451. package/dist/components/Content/IntroductionSection.vue.d.ts.map +0 -1
  452. package/dist/components/Content/IntroductionSection.vue.js +0 -26
  453. package/dist/components/Content/IntroductionSection.vue2.js +0 -4
  454. package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +0 -1
  455. package/dist/components/Content/Models/ClassicLayout.vue.js +0 -7
  456. package/dist/components/Content/Models/ClassicLayout.vue2.js +0 -90
  457. package/dist/components/Content/Models/Models.vue.d.ts.map +0 -1
  458. package/dist/components/Content/Models/Models.vue.js +0 -42
  459. package/dist/components/Content/Models/Models.vue2.js +0 -4
  460. package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +0 -1
  461. package/dist/components/Content/Models/ModernLayout.vue.js +0 -7
  462. package/dist/components/Content/Models/ModernLayout.vue2.js +0 -102
  463. package/dist/components/Content/Operations/get-current-index.d.ts +0 -4
  464. package/dist/components/Content/Operations/get-current-index.d.ts.map +0 -1
  465. package/dist/components/Content/Operations/get-current-index.js +0 -16
  466. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +0 -1
  467. package/dist/components/Content/Tags/ClassicLayout.vue.js +0 -7
  468. package/dist/components/Content/Tags/ClassicLayout.vue2.js +0 -48
  469. package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +0 -1
  470. package/dist/components/Content/Tags/ModernLayout.vue.js +0 -7
  471. package/dist/components/Content/Tags/ModernLayout.vue2.js +0 -69
  472. package/dist/components/Content/Tags/TagSection.vue.d.ts.map +0 -1
  473. package/dist/components/Content/Tags/TagSection.vue.js +0 -95
  474. package/dist/components/Content/Tags/TagSection.vue2.js +0 -4
  475. package/dist/components/Lazy/index.d.ts +0 -3
  476. package/dist/components/Lazy/index.d.ts.map +0 -1
  477. package/dist/components/Lazy/lazyBus.d.ts +0 -10
  478. package/dist/components/Lazy/lazyBus.d.ts.map +0 -1
  479. package/dist/components/Lazy/lazyBus.js +0 -7
  480. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts +0 -9
  481. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +0 -1
  482. package/dist/features/api-client-modal/ApiClientModal.vue.js +0 -83
  483. package/dist/features/api-client-modal/ApiClientModal.vue2.js +0 -4
  484. package/dist/features/api-client-modal/index.d.ts +0 -3
  485. package/dist/features/api-client-modal/index.d.ts.map +0 -1
  486. package/dist/features/api-client-modal/useApiClient.d.ts +0 -8073
  487. package/dist/features/api-client-modal/useApiClient.d.ts.map +0 -1
  488. package/dist/features/api-client-modal/useApiClient.js +0 -12
  489. package/dist/features/document-source/hooks/useDocumentFetcher.d.ts +0 -11
  490. package/dist/features/document-source/hooks/useDocumentFetcher.d.ts.map +0 -1
  491. package/dist/features/document-source/hooks/useDocumentFetcher.js +0 -37
  492. package/dist/features/document-source/hooks/useDocumentSource.d.ts +0 -19
  493. package/dist/features/document-source/hooks/useDocumentSource.d.ts.map +0 -1
  494. package/dist/features/document-source/hooks/useDocumentSource.js +0 -73
  495. package/dist/features/document-source/index.d.ts +0 -2
  496. package/dist/features/document-source/index.d.ts.map +0 -1
  497. package/dist/features/multiple-documents/index.d.ts +0 -3
  498. package/dist/features/multiple-documents/index.d.ts.map +0 -1
  499. package/dist/features/multiple-documents/useMultipleDocuments.d.ts +0 -36
  500. package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +0 -1
  501. package/dist/features/multiple-documents/useMultipleDocuments.js +0 -91
  502. package/dist/features/toolbar/uploadTempDocument.d.ts.map +0 -1
  503. package/dist/features/toolbar/uploadTempDocument.js +0 -21
  504. package/dist/helpers/test-utils.d.ts +0 -60
  505. package/dist/helpers/test-utils.d.ts.map +0 -1
  506. package/dist/hooks/useFreezing.d.ts +0 -6
  507. package/dist/hooks/useFreezing.d.ts.map +0 -1
  508. package/dist/hooks/useFreezing.js +0 -29
  509. package/dist/hooks/useNavState.d.ts +0 -54
  510. package/dist/hooks/useNavState.d.ts.map +0 -1
  511. package/dist/hooks/useNavState.js +0 -62
  512. package/dist/libs/download.d.ts.map +0 -1
  513. package/dist/libs/download.js +0 -28
  514. package/dist/libs/markdown.d.ts.map +0 -1
  515. package/dist/libs/openapi.d.ts.map +0 -1
  516. package/dist/libs/openapi.js +0 -75
  517. package/dist/types.d.ts +0 -71
  518. package/dist/types.d.ts.map +0 -1
  519. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +0 -31
  520. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +0 -1
  521. package/dist/v2/ApiReferenceWorkspace.vue.js +0 -194
  522. package/dist/v2/ApiReferenceWorkspace.vue3.js +0 -5
  523. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +0 -20
  524. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +0 -1
  525. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +0 -7
  526. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +0 -203
  527. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts.map +0 -1
  528. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +0 -57
  529. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue2.js +0 -4
  530. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +0 -1
  531. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +0 -266
  532. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue2.js +0 -4
  533. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +0 -1
  534. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +0 -135
  535. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue2.js +0 -4
  536. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +0 -1
  537. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +0 -7
  538. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +0 -96
  539. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +0 -1
  540. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +0 -50
  541. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue2.js +0 -4
  542. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +0 -1
  543. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +0 -253
  544. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue2.js +0 -4
  545. package/dist/v2/blocks/scalar-auth-selector-block/helpers/filter-security-requirements.d.ts.map +0 -1
  546. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.d.ts.map +0 -1
  547. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.js +0 -21
  548. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +0 -1
  549. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +0 -1
  550. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +0 -7
  551. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +0 -112
  552. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +0 -1
  553. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +0 -7
  554. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +0 -119
  555. package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts.map +0 -1
  556. package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.js +0 -17
  557. package/dist/v2/blocks/scalar-client-selector-block/index.d.ts.map +0 -1
  558. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +0 -1
  559. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +0 -7
  560. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +0 -69
  561. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +0 -1
  562. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.js +0 -54
  563. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue2.js +0 -4
  564. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.d.ts.map +0 -1
  565. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.js +0 -7
  566. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue2.js +0 -72
  567. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.d.ts.map +0 -1
  568. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.js +0 -36
  569. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue2.js +0 -4
  570. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.d.ts.map +0 -1
  571. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.js +0 -25
  572. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue2.js +0 -4
  573. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts.map +0 -1
  574. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.js +0 -7
  575. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue2.js +0 -17
  576. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.d.ts.map +0 -1
  577. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +0 -13
  578. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +0 -1
  579. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +0 -7
  580. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +0 -102
  581. package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue.d.ts.map +0 -1
  582. package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue.js +0 -19
  583. package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue2.js +0 -4
  584. package/dist/v2/blocks/scalar-info-block/index.d.ts.map +0 -1
  585. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +0 -1
  586. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.js +0 -75
  587. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue2.js +0 -4
  588. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +0 -1
  589. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +0 -69
  590. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue2.js +0 -4
  591. package/dist/v2/blocks/scalar-server-selector-block/index.d.ts.map +0 -1
  592. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.d.ts.map +0 -1
  593. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.js +0 -7
  594. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue2.js +0 -131
  595. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.d.ts +0 -35
  596. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.d.ts.map +0 -1
  597. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.js +0 -7
  598. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue2.js +0 -118
  599. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarGroup.vue.d.ts +0 -16
  600. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarGroup.vue.d.ts.map +0 -1
  601. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarGroup.vue.js +0 -7
  602. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarGroup.vue2.js +0 -18
  603. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarHttpBadge.vue.d.ts +0 -17
  604. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarHttpBadge.vue.d.ts.map +0 -1
  605. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarHttpBadge.vue.js +0 -7
  606. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarHttpBadge.vue2.js +0 -29
  607. package/dist/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.d.ts +0 -23
  608. package/dist/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.d.ts.map +0 -1
  609. package/dist/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.js +0 -35
  610. package/dist/v2/blocks/scalar-sidebar-block/helpers/generate-reverse-index.d.ts +0 -9
  611. package/dist/v2/blocks/scalar-sidebar-block/helpers/generate-reverse-index.d.ts.map +0 -1
  612. package/dist/v2/blocks/scalar-sidebar-block/helpers/generate-reverse-index.js +0 -9
  613. package/dist/v2/blocks/scalar-sidebar-block/hooks/useSidebar.d.ts +0 -18
  614. package/dist/v2/blocks/scalar-sidebar-block/hooks/useSidebar.d.ts.map +0 -1
  615. package/dist/v2/blocks/scalar-sidebar-block/hooks/useSidebar.js +0 -18
  616. package/dist/v2/blocks/scalar-sidebar-block/index.d.ts +0 -4
  617. package/dist/v2/blocks/scalar-sidebar-block/index.d.ts.map +0 -1
  618. package/dist/v2/helpers/get-document-name.d.ts.map +0 -1
  619. package/dist/v2/helpers/get-document-name.js +0 -15
  620. package/dist/v2/helpers/map-configuration.d.ts.map +0 -1
  621. package/dist/v2/helpers/map-configuration.js +0 -50
  622. package/dist/v2/helpers/normalize-content.d.ts +0 -3
  623. package/dist/v2/helpers/normalize-content.d.ts.map +0 -1
  624. package/dist/v2/helpers/normalize-content.js +0 -8
  625. package/dist/v2/hooks/use-legacy-store-events.d.ts.map +0 -1
  626. package/dist/v2/hooks/use-legacy-store-events.js +0 -61
  627. package/dist/v2/hooks/use-workspace-store-events.d.ts +0 -5
  628. package/dist/v2/hooks/use-workspace-store-events.d.ts.map +0 -1
  629. package/dist/v2/hooks/use-workspace-store-events.js +0 -40
  630. package/dist/v2/styles.d.ts +0 -2
  631. package/dist/v2/styles.d.ts.map +0 -1
  632. /package/dist/{v2/blocks → blocks}/scalar-auth-selector-block/components/OAuth2.vue.d.ts +0 -0
  633. /package/dist/{v2/blocks → blocks}/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +0 -0
  634. /package/dist/{v2/blocks → blocks}/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +0 -0
  635. /package/dist/{v2/blocks → blocks}/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +0 -0
  636. /package/dist/{v2/blocks → blocks}/scalar-auth-selector-block/helpers/filter-security-requirements.d.ts +0 -0
  637. /package/dist/{v2/blocks → blocks}/scalar-auth-selector-block/helpers/update-scheme.d.ts +0 -0
  638. /package/dist/{v2/blocks → blocks}/scalar-auth-selector-block/index.d.ts +0 -0
  639. /package/dist/{v2/blocks → blocks}/scalar-client-selector-block/helpers/featured-clients.d.ts +0 -0
  640. /package/dist/{v2/blocks → blocks}/scalar-client-selector-block/index.d.ts +0 -0
  641. /package/dist/{v2/blocks → blocks}/scalar-info-block/components/InfoLinks.vue.d.ts +0 -0
  642. /package/dist/{v2/blocks → blocks}/scalar-info-block/components/InfoVersion.vue.d.ts +0 -0
  643. /package/dist/{v2/blocks → blocks}/scalar-info-block/components/IntroductionCard.vue.d.ts +0 -0
  644. /package/dist/{v2/blocks → blocks}/scalar-info-block/components/IntroductionCardItem.vue.d.ts +0 -0
  645. /package/dist/{v2/blocks → blocks}/scalar-info-block/components/OpenApiVersion.vue.d.ts +0 -0
  646. /package/dist/{v2/blocks → blocks}/scalar-info-block/index.d.ts +0 -0
  647. /package/dist/{v2/blocks → blocks}/scalar-server-selector-block/components/Selector.vue.d.ts +0 -0
  648. /package/dist/{v2/blocks → blocks}/scalar-server-selector-block/components/ServerSelector.vue.d.ts +0 -0
  649. /package/dist/{v2/blocks → blocks}/scalar-server-selector-block/index.d.ts +0 -0
  650. /package/dist/{libs → helpers}/download.d.ts +0 -0
  651. /package/dist/{v2/helpers → helpers}/get-document-name.d.ts +0 -0
  652. /package/dist/{v2/helpers → helpers}/map-configuration.d.ts +0 -0
  653. /package/dist/{libs → helpers}/markdown.d.ts +0 -0
  654. /package/dist/{libs → helpers}/openapi.d.ts +0 -0
  655. /package/dist/{v2/hooks → hooks}/use-legacy-store-events.d.ts +0 -0
@@ -1,33 +1,61 @@
1
- import { getResolvedRef as y } from "@scalar/workspace-store/helpers/get-resolved-ref";
2
- import { isArraySchema as a } from "@scalar/workspace-store/schemas/v3.1/strict/type-guards";
3
- import { getRefName as p } from "./get-ref-name.js";
4
- const s = (t) => {
5
- if (!t)
1
+ import { getResolvedRef } from "@scalar/workspace-store/helpers/get-resolved-ref";
2
+ import { isArraySchema } from "@scalar/workspace-store/schemas/v3.1/strict/type-guards";
3
+ import { getRefName } from "./get-ref-name.js";
4
+ const getModelNameFromSchema = (schemaOrRef) => {
5
+ if (!schemaOrRef) {
6
6
  return null;
7
- if ("$ref" in t) {
8
- const e = p(t);
9
- if (e)
10
- return e;
11
- }
12
- const r = y(t);
13
- return r.title ? r.title : r.name ? r.name : null;
14
- }, o = (t, r) => `${t} ${r}${t === "array" ? "[]" : ""}`, N = (t, r = !1) => {
15
- if (!("type" in t) || r)
7
+ }
8
+ if ("$ref" in schemaOrRef) {
9
+ const refName = getRefName(schemaOrRef);
10
+ if (refName) {
11
+ return refName;
12
+ }
13
+ }
14
+ const schema = getResolvedRef(schemaOrRef);
15
+ if (schema.title) {
16
+ return schema.title;
17
+ }
18
+ if (schema.name) {
19
+ return schema.name;
20
+ }
21
+ return null;
22
+ };
23
+ const formatTypeWithModel = (type, modelName) => `${type} ${modelName}${type === "array" ? "[]" : ""}`;
24
+ const getModelName = (value, hideModelNames = false) => {
25
+ if (!("type" in value) || hideModelNames) {
16
26
  return null;
17
- const e = t.type, i = s(t);
18
- if (i && t.title)
19
- return e === "array" ? `array ${i}[]` : i;
20
- if (a(t) && t.items) {
21
- const n = y(t.items), f = n.title;
22
- if (f)
23
- return o(e, f);
24
- const m = s(t.items);
25
- return m && "type" in n && m !== n.type ? o(e, m) : "type" in n ? o(e, Array.isArray(n.type) ? n.type.join(" | ") : n.type) : o(e, "object");
26
- }
27
- return i && i !== e ? i.startsWith("Array of ") ? `array ${i.slice(9)}[]` : i : null;
27
+ }
28
+ const valueType = value.type;
29
+ const modelName = getModelNameFromSchema(value);
30
+ if (modelName && value.title) {
31
+ return valueType === "array" ? `array ${modelName}[]` : modelName;
32
+ }
33
+ if (isArraySchema(value) && value.items) {
34
+ const items = getResolvedRef(value.items);
35
+ const itemName = items.title;
36
+ if (itemName) {
37
+ return formatTypeWithModel(valueType, itemName);
38
+ }
39
+ const itemModelName = getModelNameFromSchema(value.items);
40
+ if (itemModelName && "type" in items && itemModelName !== items.type) {
41
+ return formatTypeWithModel(valueType, itemModelName);
42
+ }
43
+ if ("type" in items) {
44
+ return formatTypeWithModel(valueType, Array.isArray(items.type) ? items.type.join(" | ") : items.type);
45
+ }
46
+ return formatTypeWithModel(valueType, "object");
47
+ }
48
+ if (modelName && modelName !== valueType) {
49
+ if (modelName.startsWith("Array of ")) {
50
+ const itemType = modelName.slice(9);
51
+ return `array ${itemType}[]`;
52
+ }
53
+ return modelName;
54
+ }
55
+ return null;
28
56
  };
29
57
  export {
30
- o as formatTypeWithModel,
31
- N as getModelName,
32
- s as getModelNameFromSchema
58
+ formatTypeWithModel,
59
+ getModelName,
60
+ getModelNameFromSchema
33
61
  };
@@ -1,36 +1,58 @@
1
- import { getResolvedRef as y } from "@scalar/workspace-store/helpers/get-resolved-ref";
2
- import { isTypeObject as m } from "./is-type-object.js";
3
- const q = (r, o) => r.reduce((i, s) => {
4
- const n = o?.[s];
5
- return n && (i[s] = n), i;
6
- }, {}), R = (r, o, {
7
- hideReadOnly: i = !1,
8
- hideWriteOnly: s = !1,
9
- orderSchemaPropertiesBy: n = "alpha",
10
- orderRequiredPropertiesFirst: c = !0
1
+ import { getResolvedRef } from "@scalar/workspace-store/helpers/get-resolved-ref";
2
+ import { isTypeObject } from "./is-type-object.js";
3
+ const reduceNamesToObject = (names, properties) => names.reduce((acc, name) => {
4
+ const prop = properties?.[name];
5
+ if (prop) {
6
+ acc[name] = prop;
7
+ }
8
+ return acc;
9
+ }, {});
10
+ const sortPropertyNames = (schema, discriminator, {
11
+ hideReadOnly = false,
12
+ hideWriteOnly = false,
13
+ orderSchemaPropertiesBy = "alpha",
14
+ orderRequiredPropertiesFirst = true
11
15
  } = {}) => {
12
- if (!m(r) || !r.properties)
16
+ if (!isTypeObject(schema) || !schema.properties) {
13
17
  return [];
14
- const d = Object.keys(r.properties), p = new Set(r.required || []);
15
- return d.sort((t, e) => {
16
- const u = t === o?.propertyName, f = e === o?.propertyName, l = p.has(t), a = p.has(e);
17
- if (u && !f)
18
+ }
19
+ const propertyNames = Object.keys(schema.properties);
20
+ const requiredPropertiesSet = new Set(schema.required || []);
21
+ return propertyNames.sort((a, b) => {
22
+ const aDiscriminator = a === discriminator?.propertyName;
23
+ const bDiscriminator = b === discriminator?.propertyName;
24
+ const aRequired = requiredPropertiesSet.has(a);
25
+ const bRequired = requiredPropertiesSet.has(b);
26
+ if (aDiscriminator && !bDiscriminator) {
18
27
  return -1;
19
- if (!u && f)
28
+ }
29
+ if (!aDiscriminator && bDiscriminator) {
20
30
  return 1;
21
- if (c) {
22
- if (l && !a)
31
+ }
32
+ if (orderRequiredPropertiesFirst) {
33
+ if (aRequired && !bRequired) {
23
34
  return -1;
24
- if (!l && a)
35
+ }
36
+ if (!aRequired && bRequired) {
25
37
  return 1;
38
+ }
39
+ }
40
+ if (orderSchemaPropertiesBy === "alpha") {
41
+ return a.localeCompare(b);
42
+ }
43
+ return 0;
44
+ }).filter((property) => {
45
+ const resolved = schema.properties && getResolvedRef(schema.properties[property]);
46
+ if (hideReadOnly && resolved?.readOnly === true) {
47
+ return false;
48
+ }
49
+ if (hideWriteOnly && resolved?.writeOnly === true) {
50
+ return false;
26
51
  }
27
- return n === "alpha" ? t.localeCompare(e) : 0;
28
- }).filter((t) => {
29
- const e = r.properties && y(r.properties[t]);
30
- return !(i && e?.readOnly === !0 || s && e?.writeOnly === !0);
52
+ return true;
31
53
  });
32
54
  };
33
55
  export {
34
- q as reduceNamesToObject,
35
- R as sortPropertyNames
56
+ reduceNamesToObject,
57
+ sortPropertyNames
36
58
  };
@@ -1,10 +1,12 @@
1
+ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
1
2
  import type { TraversedTag } from '@scalar/workspace-store/schemas/navigation';
2
3
  type __VLS_Props = {
3
4
  tag: TraversedTag;
4
5
  layout: 'classic' | 'modern';
5
6
  moreThanOneTag: boolean;
6
7
  isLoading: boolean;
7
- onShowMore: ((id: string) => void) | undefined;
8
+ isCollapsed: boolean;
9
+ eventBus: WorkspaceEventBus | null;
8
10
  };
9
11
  declare var __VLS_5: {}, __VLS_11: {};
10
12
  type __VLS_Slots = {} & {
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/Tag.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAK9E,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC5B,cAAc,EAAE,OAAO,CAAA;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA;CAC/C,CAAC;AAoDF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAsBhD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/Tag.vue"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAK9E,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC5B,cAAc,EAAE,OAAO,CAAA;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;CACnC,CAAC;AA0DF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAsBhD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,40 +1,46 @@
1
- import { defineComponent as r, createBlock as a, openBlock as e, withCtx as t, renderSlot as n } from "vue";
2
- import l from "./ClassicLayout.vue.js";
3
- import u from "./ModernLayout.vue.js";
4
- const m = /* @__PURE__ */ r({
1
+ import { defineComponent, createBlock, openBlock, withCtx, renderSlot } from "vue";
2
+ import ClassicLayout from "./components/ClassicLayout.vue.js";
3
+ import ModernLayout from "./components/ModernLayout.vue.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "Tag",
6
6
  props: {
7
7
  tag: {},
8
8
  layout: {},
9
9
  moreThanOneTag: { type: Boolean },
10
10
  isLoading: { type: Boolean },
11
- onShowMore: { type: Function }
11
+ isCollapsed: { type: Boolean },
12
+ eventBus: {}
12
13
  },
13
- setup(s) {
14
- return (o, i) => o.layout === "classic" ? (e(), a(l, {
15
- key: 0,
16
- layout: o.layout,
17
- tag: o.tag
18
- }, {
19
- default: t(() => [
20
- n(o.$slots, "default")
21
- ]),
22
- _: 3
23
- }, 8, ["layout", "tag"])) : (e(), a(u, {
24
- key: 1,
25
- isLoading: o.isLoading,
26
- layout: o.layout,
27
- moreThanOneTag: o.moreThanOneTag,
28
- onShowMore: o.onShowMore,
29
- tag: o.tag
30
- }, {
31
- default: t(() => [
32
- n(o.$slots, "default")
33
- ]),
34
- _: 3
35
- }, 8, ["isLoading", "layout", "moreThanOneTag", "onShowMore", "tag"]));
14
+ setup(__props) {
15
+ return (_ctx, _cache) => {
16
+ return _ctx.layout === "classic" ? (openBlock(), createBlock(ClassicLayout, {
17
+ key: 0,
18
+ eventBus: _ctx.eventBus,
19
+ isCollapsed: _ctx.isCollapsed,
20
+ layout: _ctx.layout,
21
+ tag: _ctx.tag
22
+ }, {
23
+ default: withCtx(() => [
24
+ renderSlot(_ctx.$slots, "default")
25
+ ]),
26
+ _: 3
27
+ }, 8, ["eventBus", "isCollapsed", "layout", "tag"])) : (openBlock(), createBlock(ModernLayout, {
28
+ key: 1,
29
+ eventBus: _ctx.eventBus,
30
+ isCollapsed: _ctx.isCollapsed,
31
+ isLoading: _ctx.isLoading,
32
+ layout: _ctx.layout,
33
+ moreThanOneTag: _ctx.moreThanOneTag,
34
+ tag: _ctx.tag
35
+ }, {
36
+ default: withCtx(() => [
37
+ renderSlot(_ctx.$slots, "default")
38
+ ]),
39
+ _: 3
40
+ }, 8, ["eventBus", "isCollapsed", "isLoading", "layout", "moreThanOneTag", "tag"]));
41
+ };
36
42
  }
37
43
  });
38
44
  export {
39
- m as default
45
+ _sfc_main as default
40
46
  };
@@ -1,4 +1,4 @@
1
- import f from "./Tag.vue.js";
1
+ import _sfc_main from "./Tag.vue.js";
2
2
  export {
3
- f as default
3
+ _sfc_main as default
4
4
  };
@@ -1,10 +1,13 @@
1
+ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
1
2
  import type { TraversedTag } from '@scalar/workspace-store/schemas/navigation';
2
3
  type __VLS_Props = {
3
4
  tag: TraversedTag;
5
+ isCollapsed: boolean;
6
+ eventBus: WorkspaceEventBus | null;
4
7
  };
5
- declare var __VLS_22: {};
8
+ declare var __VLS_30: {};
6
9
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_22) => any;
10
+ default?: (props: typeof __VLS_30) => any;
8
11
  };
9
12
  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>;
10
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Tags/components/ClassicLayout.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAS9E,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;CACnC,CAAC;AAyGF,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAwBhD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./ClassicLayout.vue2.js";
2
+ /* empty css */
3
+ import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const ClassicLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1124be5d"]]);
5
+ export {
6
+ ClassicLayout as default
7
+ };
@@ -0,0 +1,57 @@
1
+ import { defineComponent, createBlock, openBlock, unref, withCtx, renderSlot, createVNode, createTextVNode, toDisplayString } from "vue";
2
+ import { ScalarMarkdown } from "@scalar/components";
3
+ import SectionContainerAccordion from "../../../Section/SectionContainerAccordion.vue.js";
4
+ import SectionHeader from "../../../Section/SectionHeader.vue.js";
5
+ import _sfc_main$1 from "../../../Anchor/Anchor.vue.js";
6
+ import SectionHeaderTag from "../../../Section/SectionHeaderTag.vue.js";
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "ClassicLayout",
9
+ props: {
10
+ tag: {},
11
+ isCollapsed: { type: Boolean },
12
+ eventBus: {}
13
+ },
14
+ setup(__props) {
15
+ return (_ctx, _cache) => {
16
+ return openBlock(), createBlock(unref(SectionContainerAccordion), {
17
+ "aria-label": _ctx.tag.title,
18
+ class: "tag-section",
19
+ modelValue: !_ctx.isCollapsed,
20
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = (value) => _ctx.eventBus?.emit("toggle:nav-item", { id: _ctx.tag.id, open: value }))
21
+ }, {
22
+ title: withCtx(() => [
23
+ createVNode(unref(SectionHeader), { class: "tag-name" }, {
24
+ default: withCtx(() => [
25
+ createVNode(unref(_sfc_main$1), {
26
+ onCopyAnchorUrl: _cache[0] || (_cache[0] = () => _ctx.eventBus?.emit("copy-url:nav-item", { id: _ctx.tag.id }))
27
+ }, {
28
+ default: withCtx(() => [
29
+ createVNode(unref(SectionHeaderTag), { level: 2 }, {
30
+ default: withCtx(() => [
31
+ createTextVNode(toDisplayString(_ctx.tag.title), 1)
32
+ ]),
33
+ _: 1
34
+ })
35
+ ]),
36
+ _: 1
37
+ })
38
+ ]),
39
+ _: 1
40
+ }),
41
+ createVNode(unref(ScalarMarkdown), {
42
+ class: "tag-description",
43
+ value: _ctx.tag?.description,
44
+ withImages: ""
45
+ }, null, 8, ["value"])
46
+ ]),
47
+ default: withCtx(() => [
48
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
+ ]),
50
+ _: 3
51
+ }, 8, ["aria-label", "modelValue"]);
52
+ };
53
+ }
54
+ });
55
+ export {
56
+ _sfc_main as default
57
+ };
@@ -1,13 +1,15 @@
1
+ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
1
2
  import type { TraversedTag } from '@scalar/workspace-store/schemas/navigation';
2
3
  type __VLS_Props = {
3
4
  tag: TraversedTag;
4
5
  moreThanOneTag: boolean;
5
6
  isLoading: boolean;
6
- onShowMore: ((id: string) => void) | undefined;
7
+ isCollapsed: boolean;
8
+ eventBus: WorkspaceEventBus | null;
7
9
  };
8
- declare var __VLS_21: {};
10
+ declare var __VLS_20: {};
9
11
  type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_21) => any;
12
+ default?: (props: typeof __VLS_20) => any;
11
13
  };
12
14
  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>;
13
15
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Tags/components/ModernLayout.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAS9E,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,cAAc,EAAE,OAAO,CAAA;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;CACnC,CAAC;AA2GF,QAAA,IAAuB,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA6BhD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./ModernLayout.vue2.js";
2
+ /* empty css */
3
+ import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const ModernLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3eabdf4c"]]);
5
+ export {
6
+ ModernLayout as default
7
+ };
@@ -0,0 +1,68 @@
1
+ import { defineComponent, ref, useId, computed, createBlock, openBlock, unref, withCtx, createVNode, createElementBlock, createCommentVNode, renderSlot } from "vue";
2
+ import _sfc_main$1 from "../../../Lazy/Lazy.vue.js";
3
+ import ShowMoreButton from "../../../ShowMoreButton.vue.js";
4
+ import _sfc_main$2 from "./TagSection.vue.js";
5
+ import SectionContainer from "../../../Section/SectionContainer.vue.js";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "ModernLayout",
8
+ props: {
9
+ tag: {},
10
+ moreThanOneTag: { type: Boolean },
11
+ isLoading: { type: Boolean },
12
+ isCollapsed: { type: Boolean },
13
+ eventBus: {}
14
+ },
15
+ setup(__props) {
16
+ const sectionContainerRef = ref();
17
+ const contentsRef = ref();
18
+ const headerId = useId();
19
+ const moreThanOneDefaultTag = computed(
20
+ () => __props.moreThanOneTag || __props.tag?.title !== "default" || __props.tag?.description !== ""
21
+ );
22
+ return (_ctx, _cache) => {
23
+ return openBlock(), createBlock(unref(SectionContainer), {
24
+ ref_key: "sectionContainerRef",
25
+ ref: sectionContainerRef,
26
+ "aria-labelledby": unref(headerId),
27
+ class: "tag-section-container",
28
+ role: "region"
29
+ }, {
30
+ default: withCtx(() => [
31
+ createVNode(_sfc_main$1, {
32
+ id: _ctx.tag.id
33
+ }, {
34
+ default: withCtx(() => [
35
+ moreThanOneDefaultTag.value ? (openBlock(), createBlock(_sfc_main$2, {
36
+ key: 0,
37
+ eventBus: _ctx.eventBus,
38
+ headerId: unref(headerId),
39
+ isCollapsed: _ctx.isCollapsed,
40
+ isLoading: _ctx.isLoading,
41
+ tag: _ctx.tag
42
+ }, null, 8, ["eventBus", "headerId", "isCollapsed", "isLoading", "tag"])) : createCommentVNode("", true),
43
+ _ctx.isCollapsed && _ctx.moreThanOneTag ? (openBlock(), createBlock(ShowMoreButton, {
44
+ key: 1,
45
+ id: _ctx.tag.id,
46
+ "aria-label": `Show all ${_ctx.tag.title} endpoints`,
47
+ onClick: _cache[0] || (_cache[0] = () => _ctx.eventBus?.emit("toggle:nav-item", { id: _ctx.tag.id, open: true }))
48
+ }, null, 8, ["id", "aria-label"])) : createCommentVNode("", true)
49
+ ]),
50
+ _: 1
51
+ }, 8, ["id"]),
52
+ !(_ctx.isCollapsed && _ctx.moreThanOneTag) ? (openBlock(), createElementBlock("div", {
53
+ key: 0,
54
+ ref_key: "contentsRef",
55
+ ref: contentsRef,
56
+ class: "contents"
57
+ }, [
58
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
59
+ ], 512)) : createCommentVNode("", true)
60
+ ]),
61
+ _: 3
62
+ }, 8, ["aria-labelledby"]);
63
+ };
64
+ }
65
+ });
66
+ export {
67
+ _sfc_main as default
68
+ };
@@ -1,9 +1,11 @@
1
+ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
1
2
  import type { TraversedTag } from '@scalar/workspace-store/schemas/navigation';
2
3
  type __VLS_Props = {
3
4
  tag: TraversedTag;
4
5
  headerId?: string;
5
6
  isCollapsed?: boolean;
6
7
  isLoading?: boolean;
8
+ eventBus: WorkspaceEventBus | null;
7
9
  };
8
10
  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
11
  export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagSection.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Tags/components/TagSection.vue"],"names":[],"mappings":"AAoEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAe9E,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;CACnC,CAAC;;AA6LF,wBAMG"}
@@ -0,0 +1,100 @@
1
+ import { defineComponent, createBlock, createCommentVNode, openBlock, unref, withCtx, withDirectives, createVNode, createTextVNode, toDisplayString, vShow } from "vue";
2
+ import { ScalarMarkdown } from "@scalar/components";
3
+ import ScreenReader from "../../../ScreenReader.vue.js";
4
+ import Section from "../../../Section/Section.vue.js";
5
+ import SectionHeader from "../../../Section/SectionHeader.vue.js";
6
+ import _sfc_main$1 from "../../../Anchor/Anchor.vue.js";
7
+ import SectionHeaderTag from "../../../Section/SectionHeaderTag.vue.js";
8
+ import SectionContent from "../../../Section/SectionContent.vue.js";
9
+ import SectionColumns from "../../../Section/SectionColumns.vue.js";
10
+ import SectionColumn from "../../../Section/SectionColumn.vue.js";
11
+ import OperationsList from "../../../OperationsList/OperationsList.vue.js";
12
+ import _sfc_main$2 from "../../../../features/specification-extension/SpecificationExtension.vue2.js";
13
+ const _sfc_main = /* @__PURE__ */ defineComponent({
14
+ __name: "TagSection",
15
+ props: {
16
+ tag: {},
17
+ headerId: {},
18
+ isCollapsed: { type: Boolean },
19
+ isLoading: { type: Boolean },
20
+ eventBus: {}
21
+ },
22
+ setup(__props) {
23
+ return (_ctx, _cache) => {
24
+ return _ctx.tag ? (openBlock(), createBlock(unref(Section), {
25
+ key: 0,
26
+ id: _ctx.tag.id,
27
+ role: "none",
28
+ onIntersecting: _cache[1] || (_cache[1] = () => _ctx.eventBus?.emit("intersecting:nav-item", { id: _ctx.tag.id }))
29
+ }, {
30
+ default: withCtx(() => [
31
+ withDirectives(createVNode(unref(SectionHeader), null, {
32
+ default: withCtx(() => [
33
+ createVNode(unref(_sfc_main$1), {
34
+ onCopyAnchorUrl: _cache[0] || (_cache[0] = () => _ctx.eventBus?.emit("copy-url:nav-item", { id: _ctx.tag.id }))
35
+ }, {
36
+ default: withCtx(() => [
37
+ createVNode(unref(SectionHeaderTag), {
38
+ id: _ctx.headerId,
39
+ level: 2
40
+ }, {
41
+ default: withCtx(() => [
42
+ createTextVNode(toDisplayString(_ctx.tag.title) + " ", 1),
43
+ _ctx.isCollapsed ? (openBlock(), createBlock(ScreenReader, { key: 0 }, {
44
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
45
+ createTextVNode(" (Collapsed)", -1)
46
+ ])]),
47
+ _: 1
48
+ })) : createCommentVNode("", true)
49
+ ]),
50
+ _: 1
51
+ }, 8, ["id"])
52
+ ]),
53
+ _: 1
54
+ })
55
+ ]),
56
+ _: 1
57
+ }, 512), [
58
+ [vShow, !_ctx.isLoading]
59
+ ]),
60
+ createVNode(unref(SectionContent), { loading: _ctx.isLoading }, {
61
+ default: withCtx(() => [
62
+ createVNode(unref(SectionColumns), null, {
63
+ default: withCtx(() => [
64
+ createVNode(unref(SectionColumn), null, {
65
+ default: withCtx(() => [
66
+ createVNode(unref(ScalarMarkdown), {
67
+ clamp: _ctx.isCollapsed ? 7 : void 0,
68
+ value: _ctx.tag?.description ?? "",
69
+ withImages: ""
70
+ }, null, 8, ["clamp", "value"])
71
+ ]),
72
+ _: 1
73
+ }),
74
+ createVNode(unref(SectionColumn), null, {
75
+ default: withCtx(() => [
76
+ createVNode(unref(OperationsList), {
77
+ eventBus: _ctx.eventBus,
78
+ tag: _ctx.tag
79
+ }, null, 8, ["eventBus", "tag"])
80
+ ]),
81
+ _: 1
82
+ })
83
+ ]),
84
+ _: 1
85
+ })
86
+ ]),
87
+ _: 1
88
+ }, 8, ["loading"]),
89
+ createVNode(unref(_sfc_main$2), {
90
+ value: _ctx.tag.xKeys
91
+ }, null, 8, ["value"])
92
+ ]),
93
+ _: 1
94
+ }, 8, ["id"])) : createCommentVNode("", true);
95
+ };
96
+ }
97
+ });
98
+ export {
99
+ _sfc_main as default
100
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./TagSection.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,7 +1,7 @@
1
- import t from "./GettingStarted.vue2.js";
1
+ import _sfc_main from "./GettingStarted.vue2.js";
2
2
  /* empty css */
3
- import o from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-87962c91"]]);
3
+ import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
+ const GettingStarted = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-87962c91"]]);
5
5
  export {
6
- m as default
6
+ GettingStarted as default
7
7
  };