@scalar/api-reference 1.32.9 → 1.33.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 (404) hide show
  1. package/CHANGELOG.md +99 -0
  2. package/dist/browser/standalone.js +17026 -16443
  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/ApiReference.vue.js +6 -6
  8. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  9. package/dist/components/ApiReferenceLayout.vue.js +6 -6
  10. package/dist/components/ApiReferenceLayout.vue2.js +167 -176
  11. package/dist/components/ApiReferenceLayout.vue3.js +4 -0
  12. package/dist/components/ApiReferenceLayout.vue4.js +4 -0
  13. package/dist/components/ApiReferenceLayout.vue5.js +4 -0
  14. package/dist/components/ApiReferenceLayout.vue6.js +4 -0
  15. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  16. package/dist/components/Badge/Badge.vue.js +4 -4
  17. package/dist/components/Badge/Badge.vue2.js +4 -0
  18. package/dist/components/ClassicHeader.vue.js +1 -1
  19. package/dist/components/ClassicHeader.vue2.js +4 -0
  20. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +14 -1
  21. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  22. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +3 -3
  23. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +74 -84
  24. package/dist/components/Content/ClientLibraries/ClientLibraries.vue3.js +4 -0
  25. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +8 -0
  26. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  27. package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
  28. package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +81 -80
  29. package/dist/components/Content/ClientLibraries/ClientSelector.vue3.js +4 -0
  30. package/dist/components/Content/ClientLibraries/featured-clients.d.ts +11 -0
  31. package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -0
  32. package/dist/components/Content/ClientLibraries/featured-clients.js +17 -0
  33. package/dist/components/Content/Content.vue.d.ts +5 -6
  34. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Content.vue.js +49 -6
  36. package/dist/components/Content/Content.vue2.js +2 -160
  37. package/dist/components/Content/Content.vue3.js +5 -0
  38. package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
  39. package/dist/components/Content/Introduction/Description.vue.js +3 -3
  40. package/dist/components/Content/Introduction/Description.vue3.js +4 -0
  41. package/dist/components/Content/Introduction/Introduction.vue.d.ts +7 -17
  42. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
  44. package/dist/components/Content/Introduction/Introduction.vue2.js +103 -118
  45. package/dist/components/Content/Introduction/Introduction.vue3.js +4 -0
  46. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts +25 -0
  47. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts.map +1 -0
  48. package/dist/components/Content/Introduction/IntroductionSection.vue.js +7 -0
  49. package/dist/components/Content/Introduction/IntroductionSection.vue2.js +159 -0
  50. package/dist/components/Content/Introduction/IntroductionSection.vue3.js +4 -0
  51. package/dist/components/Content/Models/{ModelsAccordion.vue.d.ts → ClassicLayout.vue.d.ts} +2 -2
  52. package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -0
  53. package/dist/components/Content/Models/ClassicLayout.vue.js +7 -0
  54. package/dist/components/Content/Models/{ModelsAccordion.vue2.js → ClassicLayout.vue2.js} +30 -30
  55. package/dist/components/Content/Models/ClassicLayout.vue3.js +4 -0
  56. package/dist/components/Content/Models/Models.vue.d.ts +3 -1
  57. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  58. package/dist/components/Content/Models/Models.vue.js +38 -5
  59. package/dist/components/Content/Models/Models.vue2.js +2 -114
  60. package/dist/components/Content/Models/ModernLayout.vue.d.ts +7 -0
  61. package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -0
  62. package/dist/components/Content/Models/ModernLayout.vue.js +7 -0
  63. package/dist/components/Content/Models/ModernLayout.vue2.js +100 -0
  64. package/dist/components/Content/Models/ModernLayout.vue3.js +4 -0
  65. package/dist/components/Content/Models/index.d.ts +0 -1
  66. package/dist/components/Content/Models/index.d.ts.map +1 -1
  67. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +21 -0
  68. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -0
  69. package/dist/components/Content/Operations/TraversedEntry.vue.js +95 -0
  70. package/dist/components/Content/Operations/TraversedEntry.vue2.js +4 -0
  71. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +17 -0
  72. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +1 -0
  73. package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +56 -0
  74. package/dist/components/Content/Operations/TraversedEntryContainer.vue2.js +4 -0
  75. package/dist/components/Content/Operations/index.d.ts +2 -0
  76. package/dist/components/Content/Operations/index.d.ts.map +1 -0
  77. package/dist/components/Content/Schema/Schema.vue.js +1 -1
  78. package/dist/components/Content/Schema/Schema.vue3.js +4 -0
  79. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  80. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
  81. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +3 -3
  82. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue3.js +4 -0
  83. package/dist/components/Content/Schema/SchemaEnumValues.vue.d.ts.map +1 -1
  84. package/dist/components/Content/Schema/SchemaEnumValues.vue.js +3 -3
  85. package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +63 -68
  86. package/dist/components/Content/Schema/SchemaEnumValues.vue3.js +4 -0
  87. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  88. package/dist/components/Content/Schema/SchemaHeading.vue.js +4 -4
  89. package/dist/components/Content/Schema/SchemaHeading.vue2.js +23 -22
  90. package/dist/components/Content/Schema/SchemaHeading.vue3.js +4 -0
  91. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  92. package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
  93. package/dist/components/Content/Schema/SchemaProperty.vue2.js +34 -33
  94. package/dist/components/Content/Schema/SchemaProperty.vue3.js +4 -0
  95. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
  96. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +2 -2
  97. package/dist/components/Content/Schema/SchemaPropertyDetail.vue3.js +4 -0
  98. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +3 -3
  99. package/dist/components/Content/Schema/SchemaPropertyExamples.vue3.js +4 -0
  100. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  101. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +3 -3
  102. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +26 -23
  103. package/dist/components/Content/Schema/SchemaPropertyHeading.vue3.js +4 -0
  104. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts +2 -1
  105. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
  106. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +59 -52
  107. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -1
  108. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +24 -20
  109. package/dist/components/Content/Schema/helpers/schema-name.d.ts +1 -1
  110. package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
  111. package/dist/components/Content/{Tag/TagAccordion.vue.d.ts → Tags/ClassicLayout.vue.d.ts} +3 -3
  112. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -0
  113. package/dist/components/Content/Tags/ClassicLayout.vue.js +7 -0
  114. package/dist/components/Content/Tags/ClassicLayout.vue2.js +51 -0
  115. package/dist/components/Content/Tags/ClassicLayout.vue3.js +4 -0
  116. package/dist/components/Content/{Tag/TagSection.vue.d.ts → Tags/ModernLayout.vue.d.ts} +17 -13
  117. package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -0
  118. package/dist/components/Content/Tags/ModernLayout.vue.js +7 -0
  119. package/dist/components/Content/Tags/ModernLayout.vue2.js +69 -0
  120. package/dist/components/Content/Tags/ModernLayout.vue3.js +4 -0
  121. package/dist/components/Content/Tags/Tag.vue.d.ts +25 -0
  122. package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -0
  123. package/dist/components/Content/Tags/Tag.vue.js +27 -0
  124. package/dist/components/Content/{Tag/Tag.vue.d.ts → Tags/TagSection.vue.d.ts} +3 -6
  125. package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -0
  126. package/dist/components/Content/Tags/TagSection.vue.js +104 -0
  127. package/dist/components/Content/Tags/TagSection.vue2.js +4 -0
  128. package/dist/components/Content/Tags/index.d.ts +2 -0
  129. package/dist/components/Content/Tags/index.d.ts.map +1 -0
  130. package/dist/components/GettingStarted.vue.js +1 -1
  131. package/dist/components/GettingStarted.vue3.js +4 -0
  132. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  133. package/dist/components/HttpMethod/HttpMethod.vue.js +8 -6
  134. package/dist/components/{Content/Lazy → Lazy}/Lazy.vue.d.ts +1 -10
  135. package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -0
  136. package/dist/components/Lazy/Lazy.vue2.js +25 -0
  137. package/dist/components/Lazy/index.d.ts +3 -0
  138. package/dist/components/Lazy/index.d.ts.map +1 -0
  139. package/dist/components/Lazy/lazyBus.d.ts +8 -0
  140. package/dist/components/Lazy/lazyBus.d.ts.map +1 -0
  141. package/dist/components/Lazy/lazyBus.js +7 -0
  142. package/dist/components/LinkList/LinkList.vue.d.ts +20 -0
  143. package/dist/components/LinkList/LinkList.vue.d.ts.map +1 -0
  144. package/dist/components/LinkList/LinkList.vue.js +7 -0
  145. package/dist/components/LinkList/LinkList.vue2.js +32 -0
  146. package/dist/components/LinkList/LinkList.vue3.js +4 -0
  147. package/dist/components/LinkList/index.d.ts +2 -0
  148. package/dist/components/LinkList/index.d.ts.map +1 -0
  149. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  150. package/dist/components/LoadingSkeleton.vue.js +3 -3
  151. package/dist/components/LoadingSkeleton.vue3.js +4 -0
  152. package/dist/components/MobileHeader.vue.js +1 -1
  153. package/dist/components/MobileHeader.vue3.js +4 -0
  154. package/dist/components/OperationPath.vue.js +1 -1
  155. package/dist/components/OperationPath.vue3.js +4 -0
  156. package/dist/components/{Content/Tag → OperationsList}/OperationsList.vue.d.ts +2 -5
  157. package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -0
  158. package/dist/components/OperationsList/OperationsList.vue.js +7 -0
  159. package/dist/components/OperationsList/OperationsList.vue2.js +60 -0
  160. package/dist/components/OperationsList/OperationsList.vue3.js +4 -0
  161. package/dist/components/{Content/Tag → OperationsList}/OperationsListItem.vue.d.ts +2 -4
  162. package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -0
  163. package/dist/components/OperationsList/OperationsListItem.vue.js +7 -0
  164. package/dist/components/OperationsList/OperationsListItem.vue2.js +63 -0
  165. package/dist/components/OperationsList/OperationsListItem.vue3.js +4 -0
  166. package/dist/components/OperationsList/index.d.ts +2 -0
  167. package/dist/components/OperationsList/index.d.ts.map +1 -0
  168. package/dist/components/ScreenReader.vue.js +1 -1
  169. package/dist/components/ScreenReader.vue3.js +4 -0
  170. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  171. package/dist/components/Section/CompactSection.vue.js +3 -3
  172. package/dist/components/Section/CompactSection.vue2.js +35 -36
  173. package/dist/components/Section/CompactSection.vue3.js +4 -0
  174. package/dist/components/Section/Section.vue.js +1 -1
  175. package/dist/components/Section/Section.vue3.js +4 -0
  176. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  177. package/dist/components/Section/SectionAccordion.vue.js +3 -3
  178. package/dist/components/Section/SectionAccordion.vue2.js +42 -36
  179. package/dist/components/Section/SectionAccordion.vue3.js +4 -0
  180. package/dist/components/Section/SectionColumn.vue.js +1 -1
  181. package/dist/components/Section/SectionColumn.vue2.js +4 -0
  182. package/dist/components/Section/SectionColumns.vue.js +1 -1
  183. package/dist/components/Section/SectionColumns.vue2.js +4 -0
  184. package/dist/components/Section/SectionContainer.vue.d.ts +9 -2
  185. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  186. package/dist/components/Section/SectionContainer.vue.js +5 -11
  187. package/dist/components/Section/SectionContainer.vue2.js +18 -0
  188. package/dist/components/Section/SectionContainer.vue3.js +4 -0
  189. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  190. package/dist/components/Section/SectionContainerAccordion.vue.js +3 -3
  191. package/dist/components/Section/SectionContainerAccordion.vue3.js +4 -0
  192. package/dist/components/Section/SectionContent.vue.js +1 -1
  193. package/dist/components/Section/SectionContent.vue3.js +4 -0
  194. package/dist/components/Section/SectionHeader.vue.d.ts +1 -0
  195. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  196. package/dist/components/Section/SectionHeader.vue.js +3 -3
  197. package/dist/components/Section/SectionHeader.vue2.js +11 -10
  198. package/dist/components/Section/SectionHeader.vue3.js +4 -0
  199. package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
  200. package/dist/components/Section/SectionHeaderTag.vue3.js +4 -0
  201. package/dist/components/SectionFlare/SectionFlare.vue.d.ts +3 -0
  202. package/dist/components/SectionFlare/SectionFlare.vue.d.ts.map +1 -0
  203. package/dist/components/SectionFlare/SectionFlare.vue.js +13 -0
  204. package/dist/components/SectionFlare/SectionFlare.vue2.js +4 -0
  205. package/dist/components/SectionFlare/index.d.ts +2 -0
  206. package/dist/components/SectionFlare/index.d.ts.map +1 -0
  207. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  208. package/dist/components/ShowMoreButton.vue.js +3 -3
  209. package/dist/components/ShowMoreButton.vue2.js +12 -12
  210. package/dist/components/ShowMoreButton.vue3.js +4 -0
  211. package/dist/features/Operation/Operation.vue.d.ts +11 -7
  212. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  213. package/dist/features/Operation/Operation.vue.js +66 -48
  214. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
  215. package/dist/features/Operation/components/ContentTypeSelect.vue.js +28 -30
  216. package/dist/features/Operation/components/ParameterHeaders.vue.js +1 -1
  217. package/dist/features/Operation/components/ParameterHeaders.vue3.js +4 -0
  218. package/dist/features/Operation/components/ParameterList.vue.js +1 -1
  219. package/dist/features/Operation/components/ParameterList.vue3.js +4 -0
  220. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  221. package/dist/features/Operation/components/ParameterListItem.vue.js +2 -2
  222. package/dist/features/Operation/components/ParameterListItem.vue2.js +31 -29
  223. package/dist/features/Operation/components/ParameterListItem.vue3.js +4 -0
  224. package/dist/features/Operation/components/RequestBody.vue.js +1 -1
  225. package/dist/features/Operation/components/RequestBody.vue3.js +4 -0
  226. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +8 -6
  227. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
  228. package/dist/features/Operation/components/callbacks/Callback.vue.js +4 -4
  229. package/dist/features/Operation/components/callbacks/Callback.vue2.js +22 -29
  230. package/dist/features/Operation/components/callbacks/Callback.vue3.js +4 -0
  231. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +5 -3
  232. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
  233. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +25 -18
  234. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +17 -12
  235. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  236. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  237. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +178 -162
  238. package/dist/features/Operation/layouts/ClassicLayout.vue3.js +4 -0
  239. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +18 -13
  240. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  241. package/dist/features/Operation/layouts/ModernLayout.vue.js +3 -3
  242. package/dist/features/Operation/layouts/ModernLayout.vue2.js +132 -126
  243. package/dist/features/Operation/layouts/ModernLayout.vue3.js +4 -0
  244. package/dist/features/Search/SearchModal.vue.js +4 -4
  245. package/dist/features/Search/SearchModal.vue2.js +9 -9
  246. package/dist/features/Search/SearchModal.vue3.js +4 -0
  247. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
  248. package/dist/features/api-client-modal/useApiClient.d.ts +5188 -5128
  249. package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
  250. package/dist/features/base-url/BaseUrl.vue.d.ts.map +1 -1
  251. package/dist/features/base-url/BaseUrl.vue.js +26 -26
  252. package/dist/features/download-link/DownloadLink.vue.js +2 -2
  253. package/dist/features/download-link/DownloadLink.vue3.js +4 -0
  254. package/dist/features/example-responses/ExampleResponse.vue.d.ts +4 -2
  255. package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
  256. package/dist/features/example-responses/ExampleResponse.vue.js +3 -3
  257. package/dist/features/example-responses/ExampleResponse.vue2.js +15 -14
  258. package/dist/features/example-responses/ExampleResponse.vue3.js +4 -0
  259. package/dist/features/example-responses/ExampleResponseTab.vue.js +3 -3
  260. package/dist/features/example-responses/ExampleResponseTab.vue3.js +4 -0
  261. package/dist/features/example-responses/ExampleResponseTabList.vue.js +2 -2
  262. package/dist/features/example-responses/ExampleResponseTabList.vue3.js +4 -0
  263. package/dist/features/example-responses/ExampleResponses.vue.d.ts +3 -2
  264. package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
  265. package/dist/features/example-responses/ExampleResponses.vue.js +4 -4
  266. package/dist/features/example-responses/ExampleResponses.vue2.js +110 -104
  267. package/dist/features/example-responses/ExampleResponses.vue3.js +4 -0
  268. package/dist/features/external-docs/ExternalDocs.vue.d.ts +7 -0
  269. package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -0
  270. package/dist/features/external-docs/ExternalDocs.vue.js +36 -0
  271. package/dist/features/external-docs/ExternalDocs.vue2.js +4 -0
  272. package/dist/features/external-docs/index.d.ts +2 -0
  273. package/dist/features/external-docs/index.d.ts.map +1 -0
  274. package/dist/features/info-object/Contact.vue.d.ts +7 -0
  275. package/dist/features/info-object/Contact.vue.d.ts.map +1 -0
  276. package/dist/features/info-object/Contact.vue.js +44 -0
  277. package/dist/features/info-object/Contact.vue2.js +4 -0
  278. package/dist/features/info-object/License.vue.d.ts +7 -0
  279. package/dist/features/info-object/License.vue.d.ts.map +1 -0
  280. package/dist/features/info-object/License.vue.js +37 -0
  281. package/dist/features/info-object/License.vue2.js +4 -0
  282. package/dist/features/info-object/TermsOfService.vue.d.ts +7 -0
  283. package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -0
  284. package/dist/features/info-object/TermsOfService.vue.js +30 -0
  285. package/dist/features/info-object/TermsOfService.vue2.js +4 -0
  286. package/dist/features/info-object/index.d.ts +4 -0
  287. package/dist/features/info-object/index.d.ts.map +1 -0
  288. package/dist/features/sidebar/components/Sidebar.vue.js +3 -3
  289. package/dist/features/sidebar/components/Sidebar.vue3.js +4 -0
  290. package/dist/features/sidebar/components/SidebarElement.vue.js +3 -3
  291. package/dist/features/sidebar/components/SidebarElement.vue3.js +4 -0
  292. package/dist/features/sidebar/components/SidebarGroup.vue.js +1 -1
  293. package/dist/features/sidebar/components/SidebarGroup.vue3.js +4 -0
  294. package/dist/features/sidebar/components/SidebarHttpBadge.vue.js +1 -1
  295. package/dist/features/sidebar/components/SidebarHttpBadge.vue3.js +4 -0
  296. package/dist/features/sidebar/helpers/create-sidebar.js +12 -12
  297. package/dist/features/test-request-button/TestRequestButton.vue.d.ts +3 -2
  298. package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
  299. package/dist/features/test-request-button/TestRequestButton.vue.js +3 -3
  300. package/dist/features/test-request-button/TestRequestButton.vue2.js +21 -19
  301. package/dist/features/test-request-button/TestRequestButton.vue3.js +4 -0
  302. package/dist/features/traverse-schema/index.d.ts +2 -1
  303. package/dist/features/traverse-schema/index.d.ts.map +1 -1
  304. package/dist/helpers/convert-security-scheme.js +23 -0
  305. package/dist/helpers/test-utils.d.ts +51 -0
  306. package/dist/helpers/test-utils.d.ts.map +1 -0
  307. package/dist/index.d.ts +1 -1
  308. package/dist/index.d.ts.map +1 -1
  309. package/dist/index.js +24 -23
  310. package/dist/style.css +1 -1
  311. package/dist/types.d.ts +5 -0
  312. package/dist/types.d.ts.map +1 -1
  313. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +4 -2
  314. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  315. package/dist/v2/ApiReferenceWorkspace.vue.js +100 -83
  316. package/dist/v2/ApiReferenceWorkspace.vue2.js +4 -0
  317. package/dist/v2/ApiReferenceWorkspace.vue3.js +1 -1
  318. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +2 -4
  319. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +1 -1
  320. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.js +4 -0
  321. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +72 -0
  322. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +4 -13
  323. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
  324. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +7 -0
  325. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +231 -0
  326. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue3.js +4 -0
  327. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts +1 -0
  328. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +1 -1
  329. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +21 -3
  330. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts +12 -13
  331. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts.map +1 -1
  332. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.js +33 -0
  333. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.js +29 -0
  334. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +10 -0
  335. package/dist/v2/blocks/scalar-request-example-block/index.d.ts +2 -2
  336. package/dist/v2/blocks/scalar-request-example-block/types.d.ts +11 -3
  337. package/dist/v2/blocks/scalar-request-example-block/types.d.ts.map +1 -1
  338. package/dist/v2/events/definitions.js +7 -0
  339. package/dist/v2/events/index.d.ts +1 -1
  340. package/dist/v2/events/listeners.d.ts +1 -1
  341. package/package.json +18 -18
  342. package/LICENSE +0 -21
  343. package/dist/blocks/constants.js +0 -6
  344. package/dist/blocks/helpers/getPointer.js +0 -12
  345. package/dist/blocks/hooks/useBlockProps.d.ts +0 -31
  346. package/dist/blocks/hooks/useBlockProps.d.ts.map +0 -1
  347. package/dist/blocks/hooks/useBlockProps.js +0 -24
  348. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts +0 -16
  349. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts.map +0 -1
  350. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.js +0 -36
  351. package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +0 -1
  352. package/dist/components/Content/Lazy/Lazy.vue2.js +0 -22
  353. package/dist/components/Content/Lazy/Loading.vue.d.ts +0 -18
  354. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +0 -1
  355. package/dist/components/Content/Lazy/Loading.vue.js +0 -163
  356. package/dist/components/Content/Lazy/Loading.vue3.js +0 -5
  357. package/dist/components/Content/Lazy/index.d.ts +0 -3
  358. package/dist/components/Content/Lazy/index.d.ts.map +0 -1
  359. package/dist/components/Content/Lazy/lazyBus.d.ts +0 -4
  360. package/dist/components/Content/Lazy/lazyBus.d.ts.map +0 -1
  361. package/dist/components/Content/Lazy/lazyBus.js +0 -5
  362. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +0 -1
  363. package/dist/components/Content/Models/ModelsAccordion.vue.js +0 -7
  364. package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +0 -1
  365. package/dist/components/Content/Tag/OperationsList.vue.js +0 -7
  366. package/dist/components/Content/Tag/OperationsList.vue2.js +0 -58
  367. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +0 -1
  368. package/dist/components/Content/Tag/OperationsListItem.vue.js +0 -7
  369. package/dist/components/Content/Tag/OperationsListItem.vue2.js +0 -67
  370. package/dist/components/Content/Tag/Tag.vue.d.ts.map +0 -1
  371. package/dist/components/Content/Tag/Tag.vue.js +0 -99
  372. package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +0 -1
  373. package/dist/components/Content/Tag/TagAccordion.vue.js +0 -7
  374. package/dist/components/Content/Tag/TagAccordion.vue2.js +0 -50
  375. package/dist/components/Content/Tag/TagList.vue.d.ts +0 -22
  376. package/dist/components/Content/Tag/TagList.vue.d.ts.map +0 -1
  377. package/dist/components/Content/Tag/TagList.vue.js +0 -73
  378. package/dist/components/Content/Tag/TagList.vue2.js +0 -4
  379. package/dist/components/Content/Tag/TagSection.vue.d.ts.map +0 -1
  380. package/dist/components/Content/Tag/TagSection.vue.js +0 -7
  381. package/dist/components/Content/Tag/TagSection.vue2.js +0 -67
  382. package/dist/components/Content/Tag/index.d.ts +0 -3
  383. package/dist/components/Content/Tag/index.d.ts.map +0 -1
  384. package/dist/features/example-request/ExamplePicker.vue.d.ts +0 -13
  385. package/dist/features/example-request/ExamplePicker.vue.d.ts.map +0 -1
  386. package/dist/features/example-request/ExamplePicker.vue.js +0 -7
  387. package/dist/features/example-request/ExamplePicker.vue2.js +0 -57
  388. package/dist/features/example-request/ExampleRequest.vue.d.ts +0 -85
  389. package/dist/features/example-request/ExampleRequest.vue.d.ts.map +0 -1
  390. package/dist/features/example-request/ExampleRequest.vue.js +0 -7
  391. package/dist/features/example-request/ExampleRequest.vue2.js +0 -348
  392. package/dist/features/example-request/TextSelect.vue.d.ts +0 -34
  393. package/dist/features/example-request/TextSelect.vue.d.ts.map +0 -1
  394. package/dist/features/example-request/TextSelect.vue.js +0 -48
  395. package/dist/features/example-request/TextSelect.vue3.js +0 -5
  396. package/dist/features/example-request/index.d.ts +0 -3
  397. package/dist/features/example-request/index.d.ts.map +0 -1
  398. package/dist/stores/useHttpClientStore.d.ts +0 -43
  399. package/dist/stores/useHttpClientStore.d.ts.map +0 -1
  400. package/dist/stores/useHttpClientStore.js +0 -70
  401. package/dist/v2/hooks/useStore.d.ts +0 -9
  402. package/dist/v2/hooks/useStore.d.ts.map +0 -1
  403. /package/dist/components/Content/{Tag → Tags}/Tag.vue2.js +0 -0
  404. /package/dist/components/{Content/Lazy → Lazy}/Lazy.vue.js +0 -0
@@ -1,13 +1,20 @@
1
+ type __VLS_Props = {
2
+ /**
3
+ * Skips rendering the section container div and its styles, rendering only the slot directly.
4
+ */
5
+ omit?: boolean;
6
+ };
1
7
  declare function __VLS_template(): {
2
8
  attrs: Partial<{}>;
3
9
  slots: {
4
10
  default?(_: {}): any;
11
+ default?(_: {}): any;
5
12
  };
6
13
  refs: {};
7
- rootEl: HTMLDivElement;
14
+ rootEl: any;
8
15
  };
9
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
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>;
11
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
19
  export default _default;
13
20
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue"],"names":[],"mappings":"AA4BA,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue"],"names":[],"mappings":"AAsCA,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAQF,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;yBATrB,GAAG;yBACH,GAAG;;;;EAa/B;AAQD,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"}
@@ -1,13 +1,7 @@
1
- import { createElementBlock as t, openBlock as o, renderSlot as n } from "vue";
2
- /* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const c = {}, s = { class: "section-container" };
5
- function a(e, i) {
6
- return o(), t("div", s, [
7
- n(e.$slots, "default", {}, void 0, !0)
8
- ]);
9
- }
10
- const l = /* @__PURE__ */ r(c, [["render", a], ["__scopeId", "data-v-3afcb4e7"]]);
1
+ import o from "./SectionContainer.vue2.js";
2
+ import "./SectionContainer.vue3.js";
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-20a1472a"]]);
11
5
  export {
12
- l as default
6
+ i as default
13
7
  };
@@ -0,0 +1,18 @@
1
+ import { defineComponent as t, renderSlot as o, createElementBlock as n, openBlock as r } from "vue";
2
+ const s = {
3
+ key: 1,
4
+ class: "section-container"
5
+ }, c = /* @__PURE__ */ t({
6
+ __name: "SectionContainer",
7
+ props: {
8
+ omit: { type: Boolean }
9
+ },
10
+ setup(i) {
11
+ return (e, a) => e.omit ? o(e.$slots, "default", { key: 0 }, void 0, !0) : (r(), n("div", s, [
12
+ o(e.$slots, "default", {}, void 0, !0)
13
+ ]));
14
+ }
15
+ });
16
+ export {
17
+ c as default
18
+ };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue"],"names":[],"mappings":"AAoGA,iBAAS,cAAc;WAiGT,OAAO,IAA6B;;uBATtB,GAAG;yBACD,GAAG;;;;EAahC;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue"],"names":[],"mappings":"AAkGA,iBAAS,cAAc;WAiGT,OAAO,IAA6B;;uBATtB,GAAG;yBACD,GAAG;;;;EAahC;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SectionContainerAccordion.vue2.js";
2
- /* empty css */
2
+ import "./SectionContainerAccordion.vue3.js";
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-88109f3f"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-797031c0"]]);
5
5
  export {
6
- i as default
6
+ a as default
7
7
  };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import o from "./SectionContent.vue2.js";
2
- /* empty css */
2
+ import "./SectionContent.vue3.js";
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9735459e"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -6,6 +6,7 @@ declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
7
7
  slots: {
8
8
  default?(_: {}): any;
9
+ links?(_: {}): any;
9
10
  };
10
11
  refs: {};
11
12
  rootEl: HTMLDivElement;
@@ -1 +1 @@
1
- {"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue"],"names":[],"mappings":"AA4DA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAC;AAQF,iBAAS,cAAc;WAyDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue"],"names":[],"mappings":"AA+DA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAC;AAQF,iBAAS,cAAc;WA+DT,OAAO,IAA6B;;yBATrB,GAAG;uBACL,GAAG;;;;EAa7B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SectionHeader.vue2.js";
2
- /* empty css */
2
+ import "./SectionHeader.vue3.js";
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f8e38d9f"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-465a7a78"]]);
5
5
  export {
6
- a as default
6
+ m as default
7
7
  };
@@ -1,22 +1,23 @@
1
- import { defineComponent as n, createElementBlock as t, openBlock as o, createBlock as r, normalizeClass as a, renderSlot as i } from "vue";
2
- import s from "../LoadingSkeleton.vue.js";
3
- const l = { class: "section-header-wrapper" }, h = /* @__PURE__ */ n({
1
+ import { defineComponent as r, createElementBlock as t, openBlock as o, createBlock as s, renderSlot as n, createCommentVNode as a, normalizeClass as l } from "vue";
2
+ import i from "../LoadingSkeleton.vue.js";
3
+ const d = { class: "section-header-wrapper xl:gap-12" }, u = /* @__PURE__ */ r({
4
4
  __name: "SectionHeader",
5
5
  props: {
6
6
  loading: { type: Boolean },
7
7
  tight: { type: Boolean }
8
8
  },
9
- setup(d) {
10
- return (e, p) => (o(), t("div", l, [
11
- e.loading ? (o(), r(s, { key: 0 })) : (o(), t("div", {
9
+ setup(p) {
10
+ return (e, c) => (o(), t("div", d, [
11
+ e.loading ? (o(), s(i, { key: 0 })) : (o(), t("div", {
12
12
  key: 1,
13
- class: a(["section-header", { tight: e.tight }])
13
+ class: l(["section-header", { tight: e.tight }])
14
14
  }, [
15
- i(e.$slots, "default", {}, void 0, !0)
16
- ], 2))
15
+ n(e.$slots, "default", {}, void 0, !0)
16
+ ], 2)),
17
+ e.$slots.links ? n(e.$slots, "links", { key: 2 }, void 0, !0) : a("", !0)
17
18
  ]));
18
19
  }
19
20
  });
20
21
  export {
21
- h as default
22
+ u as default
22
23
  };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import o from "./SectionHeaderTag.vue2.js";
2
- /* empty css */
2
+ import "./SectionHeaderTag.vue3.js";
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f1ac6c38"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=SectionFlare.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionFlare.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SectionFlare/SectionFlare.vue"],"names":[],"mappings":";AA8FA,wBAKG"}
@@ -0,0 +1,13 @@
1
+ import { createElementBlock as c, openBlock as e, createStaticVNode as t } from "vue";
2
+ import "./SectionFlare.vue2.js";
3
+ import i from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const s = {}, d = { class: "section-flare" };
5
+ function o(v, a) {
6
+ return e(), c("div", d, a[0] || (a[0] = [
7
+ t('<div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div>', 8)
8
+ ]));
9
+ }
10
+ const f = /* @__PURE__ */ i(s, [["render", o], ["__scopeId", "data-v-2a9c8c02"]]);
11
+ export {
12
+ f as default
13
+ };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,2 @@
1
+ export { default as SectionFlare } from './SectionFlare.vue.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SectionFlare/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ShowMoreButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ShowMoreButton.vue"],"names":[],"mappings":"AA4EA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;CACX,CAAC;;AA+EF,wBAOG"}
1
+ {"version":3,"file":"ShowMoreButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ShowMoreButton.vue"],"names":[],"mappings":"AA0EA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;CACX,CAAC;;AAgFF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ShowMoreButton.vue2.js";
2
- /* empty css */
2
+ import "./ShowMoreButton.vue3.js";
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c46d29d9"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b2ca4789"]]);
5
5
  export {
6
- _ as default
6
+ p as default
7
7
  };
@@ -1,30 +1,30 @@
1
- import { defineComponent as i, createElementBlock as s, openBlock as a, createTextVNode as m, createVNode as l, unref as u } from "vue";
2
- import { ScalarIcon as d } from "@scalar/components";
1
+ import { defineComponent as i, createElementBlock as s, openBlock as a, createTextVNode as m, createVNode as l, unref as d } from "vue";
2
+ import { ScalarIconCaretDown as u } from "@scalar/icons";
3
3
  import { useConfig as f } from "../hooks/useConfig.js";
4
4
  import { useSidebar as p } from "../features/sidebar/hooks/useSidebar.js";
5
- const b = /* @__PURE__ */ i({
5
+ const h = /* @__PURE__ */ i({
6
6
  __name: "ShowMoreButton",
7
7
  props: {
8
8
  id: {}
9
9
  },
10
10
  setup(t) {
11
- const { setCollapsedSidebarItem: n } = p(), r = f(), c = () => {
12
- var e, o;
13
- n(t.id, !0), (o = (e = r.value).onShowMore) == null || o.call(e, t.id);
11
+ const { setCollapsedSidebarItem: r } = p(), n = f(), c = () => {
12
+ var o, e;
13
+ r(t.id, !0), (e = (o = n.value).onShowMore) == null || e.call(o, t.id);
14
14
  };
15
- return (e, o) => (a(), s("button", {
15
+ return (o, e) => (a(), s("button", {
16
16
  class: "show-more",
17
17
  type: "button",
18
18
  onClick: c
19
19
  }, [
20
- o[0] || (o[0] = m(" Show More ")),
21
- l(u(d), {
22
- class: "show-more-icon",
23
- icon: "ChevronDown"
20
+ e[0] || (e[0] = m(" Show More ")),
21
+ l(d(u), {
22
+ weight: "bold",
23
+ class: "text-c-2 mt-0.25 size-3"
24
24
  })
25
25
  ]));
26
26
  }
27
27
  });
28
28
  export {
29
- b as default
29
+ h as default
30
30
  };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1,17 +1,21 @@
1
+ import type { HttpMethod } from '@scalar/helpers/http/http-methods';
1
2
  import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
2
3
  import type { OpenAPIV3_1 } from '@scalar/openapi-types';
4
+ import type { WorkspaceStore } from '@scalar/workspace-store/client';
5
+ import type { ClientOptionGroup } from '../../v2/blocks/scalar-request-example-block/types';
3
6
  type __VLS_Props = {
4
- document?: OpenAPIV3_1.Document;
5
7
  path: string;
6
- method: OpenAPIV3_1.HttpMethods;
7
- isWebhook?: boolean;
8
+ method: HttpMethod;
9
+ clientOptions: ClientOptionGroup[];
10
+ isWebhook: boolean;
8
11
  layout?: 'modern' | 'classic';
9
12
  id: string;
10
- /**
11
- * @deprecated Use `document` instead
12
- */
13
- collection: Collection;
14
13
  server: Server | undefined;
14
+ store: WorkspaceStore;
15
+ /** @deprecated Use `document` instead, we just need the selected security scheme uids for now */
16
+ collection: Collection;
17
+ /** @deprecated Use the new workspace store instead*/
18
+ document?: OpenAPIV3_1.Document;
15
19
  };
16
20
  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>;
17
21
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Operation/Operation.vue"],"names":[],"mappings":"AAyHA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAYxD,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAA;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,WAAW,CAAC,WAAW,CAAA;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,CAAC;;AAuKF,wBAMG"}
1
+ {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Operation/Operation.vue"],"names":[],"mappings":"AAiJA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAUpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAA;AAOvF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,UAAU,CAAA;IAClB,aAAa,EAAE,iBAAiB,EAAE,CAAA;IAClC,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,KAAK,EAAE,cAAc,CAAA;IACrB,iGAAiG;IACjG,UAAU,EAAE,UAAU,CAAA;IACtB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAA;CAChC,CAAC;;AAiLF,wBAMG"}
@@ -1,79 +1,97 @@
1
- import { defineComponent as b, computed as k, createElementBlock as W, createCommentVNode as y, openBlock as c, Fragment as U, createBlock as f, unref as m } from "vue";
2
- import { useWorkspace as q } from "@scalar/api-client/store";
3
- import { getPointer as B } from "../../blocks/helpers/getPointer.js";
4
- import { useBlockProps as V } from "../../blocks/hooks/useBlockProps.js";
5
- import { useOperationDiscriminator as C } from "../../hooks/useOperationDiscriminator.js";
6
- import S from "./layouts/ClassicLayout.vue.js";
7
- import g from "./layouts/ModernLayout.vue.js";
8
- const M = /* @__PURE__ */ b({
1
+ import { defineComponent as S, computed as m, createElementBlock as b, createCommentVNode as W, openBlock as l, Fragment as U, createBlock as k, unref as f } from "vue";
2
+ import { useWorkspace as V } from "@scalar/api-client/store";
3
+ import { filterSecurityRequirements as B } from "@scalar/api-client/views/Request/RequestSection";
4
+ import { isReference as C, isResolvedRef as R } from "@scalar/workspace-store/schemas/v3.1/type-guard";
5
+ import { convertSecurityScheme as w } from "../../helpers/convert-security-scheme.js";
6
+ import { useOperationDiscriminator as D } from "../../hooks/useOperationDiscriminator.js";
7
+ import g from "./layouts/ClassicLayout.vue.js";
8
+ import L from "./layouts/ModernLayout.vue.js";
9
+ const j = /* @__PURE__ */ S({
9
10
  __name: "Operation",
10
11
  props: {
11
- document: {},
12
12
  path: {},
13
13
  method: {},
14
+ clientOptions: {},
14
15
  isWebhook: { type: Boolean },
15
16
  layout: { default: "modern" },
16
17
  id: {},
18
+ server: {},
19
+ store: {},
17
20
  collection: {},
18
- server: {}
21
+ document: {}
19
22
  },
20
23
  setup(o) {
21
- var v, p;
22
- const u = q(), s = k(
24
+ var v, y;
25
+ const u = m(() => {
26
+ var t, a;
27
+ const e = o.isWebhook ? "webhooks" : "paths";
28
+ return (a = (t = o.store.workspace.activeDocument) == null ? void 0 : t[e]) == null ? void 0 : a[o.path];
29
+ }), s = m(() => {
30
+ var t;
31
+ const e = (t = u.value) == null ? void 0 : t[o.method];
32
+ return C(e) ? null : e;
33
+ }), c = m(
23
34
  () => {
24
- var e, t, n, r, i, l;
25
- return o.isWebhook ? (n = (t = (e = o.document) == null ? void 0 : e.webhooks) == null ? void 0 : t[o.path]) == null ? void 0 : n[o.method] : (l = (i = (r = o.document) == null ? void 0 : r.paths) == null ? void 0 : i[o.path]) == null ? void 0 : l[o.method];
35
+ var e, t, a, r, n, i;
36
+ return o.isWebhook ? (a = (t = (e = o.document) == null ? void 0 : e.webhooks) == null ? void 0 : t[o.path]) == null ? void 0 : a[o.method] : (i = (n = (r = o.document) == null ? void 0 : r.paths) == null ? void 0 : n[o.path]) == null ? void 0 : i[o.method];
26
37
  }
27
- ), { handleDiscriminatorChange: d } = C(
28
- s.value,
29
- (p = (v = o.document) == null ? void 0 : v.components) == null ? void 0 : p.schemas
30
- ), { operation: a } = V({
31
- store: u,
32
- collection: o.collection,
33
- location: B([o.isWebhook ? "webhooks" : "paths", o.path, o.method])
34
- }), h = k(() => {
35
- var e;
36
- if (!a.value)
37
- return o.server;
38
- if ((e = a.value) != null && e.selectedServerUid) {
39
- const t = u.servers[a.value.selectedServerUid];
40
- if (t)
41
- return t;
38
+ ), { handleDiscriminatorChange: h } = D(
39
+ c.value,
40
+ (y = (v = o.document) == null ? void 0 : v.components) == null ? void 0 : y.schemas
41
+ ), { securitySchemes: O } = V(), d = m(
42
+ () => {
43
+ var e, t;
44
+ return B(
45
+ ((e = s.value) == null ? void 0 : e.security) || ((t = o.document) == null ? void 0 : t.security),
46
+ o.collection.selectedSecuritySchemeUids,
47
+ O
48
+ ).map(w);
42
49
  }
43
- return o.server;
50
+ ), p = m(() => {
51
+ var a, r;
52
+ const e = ((a = u.value) == null ? void 0 : a.parameters) ?? [], t = ((r = s.value) == null ? void 0 : r.parameters) ?? [];
53
+ return [...e, ...t].filter(
54
+ R
55
+ );
44
56
  });
45
57
  return (e, t) => {
46
- var n, r, i, l;
47
- return e.collection && s.value ? (c(), W(U, { key: 0 }, [
48
- e.layout === "classic" ? (c(), f(S, {
58
+ var a, r, n, i;
59
+ return s.value && c.value ? (l(), b(U, { key: 0 }, [
60
+ e.layout === "classic" ? (l(), k(g, {
49
61
  key: 0,
50
62
  id: e.id,
51
- operation: s.value,
52
- collection: e.collection,
53
63
  isWebhook: e.isWebhook,
54
64
  method: e.method,
65
+ operation: s.value,
66
+ oldOperation: c.value,
67
+ clientOptions: e.clientOptions,
68
+ securitySchemes: d.value,
69
+ parameters: p.value,
70
+ store: e.store,
55
71
  path: e.path,
56
- request: m(a),
57
- schemas: (r = (n = e.document) == null ? void 0 : n.components) == null ? void 0 : r.schemas,
58
- server: h.value,
59
- "onUpdate:modelValue": m(d)
60
- }, null, 8, ["id", "operation", "collection", "isWebhook", "method", "path", "request", "schemas", "server", "onUpdate:modelValue"])) : (c(), f(g, {
72
+ schemas: (r = (a = e.document) == null ? void 0 : a.components) == null ? void 0 : r.schemas,
73
+ server: e.server,
74
+ "onUpdate:modelValue": f(h)
75
+ }, null, 8, ["id", "isWebhook", "method", "operation", "oldOperation", "clientOptions", "securitySchemes", "parameters", "store", "path", "schemas", "server", "onUpdate:modelValue"])) : (l(), k(L, {
61
76
  key: 1,
62
77
  id: e.id,
63
- collection: e.collection,
64
78
  isWebhook: e.isWebhook,
65
79
  method: e.method,
80
+ clientOptions: e.clientOptions,
81
+ oldOperation: c.value,
82
+ securitySchemes: d.value,
83
+ parameters: p.value,
66
84
  path: e.path,
67
- request: m(a),
85
+ store: e.store,
68
86
  operation: s.value,
69
- schemas: (l = (i = e.document) == null ? void 0 : i.components) == null ? void 0 : l.schemas,
70
- server: h.value,
71
- "onUpdate:modelValue": m(d)
72
- }, null, 8, ["id", "collection", "isWebhook", "method", "path", "request", "operation", "schemas", "server", "onUpdate:modelValue"]))
73
- ], 64)) : y("", !0);
87
+ schemas: (i = (n = e.document) == null ? void 0 : n.components) == null ? void 0 : i.schemas,
88
+ server: e.server,
89
+ "onUpdate:modelValue": f(h)
90
+ }, null, 8, ["id", "isWebhook", "method", "clientOptions", "oldOperation", "securitySchemes", "parameters", "path", "store", "operation", "schemas", "server", "onUpdate:modelValue"]))
91
+ ], 64)) : W("", !0);
74
92
  };
75
93
  }
76
94
  });
77
95
  export {
78
- M as default
96
+ j as default
79
97
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ContentTypeSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/components/ContentTypeSelect.vue"],"names":[],"mappings":"AAuGA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAOpE,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,YAAY,CAAC,EAAE,WAAW,CAAA;CAC3B,CAAC;;;qBAIiD,WAAW;;;;qBAAX,WAAW;;;AAwK9D,wBAOG"}
1
+ {"version":3,"file":"ContentTypeSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/components/ContentTypeSelect.vue"],"names":[],"mappings":"AA4FA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAOpE,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,YAAY,CAAC,EAAE,WAAW,CAAA;CAC3B,CAAC;;;qBAIiD,WAAW;;;;qBAAX,WAAW;;;AAyK9D,wBAOG"}
@@ -1,7 +1,8 @@
1
- import { defineComponent as S, computed as s, ref as B, createBlock as V, createElementBlock as k, openBlock as p, unref as n, withCtx as r, createVNode as c, normalizeClass as m, createElementVNode as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { cva as g, ScalarListbox as h, ScalarButton as w, ScalarIcon as q } from "@scalar/components";
1
+ import { defineComponent as S, computed as r, ref as B, createBlock as V, createElementBlock as g, openBlock as p, unref as n, withCtx as s, createVNode as c, normalizeClass as m, createElementVNode as f, createTextVNode as _, toDisplayString as y } from "vue";
2
+ import { cva as k, ScalarListbox as w, ScalarButton as h } from "@scalar/components";
3
+ import { ScalarIconCaretDown as q } from "@scalar/icons";
3
4
  import N from "../../../components/ScreenReader.vue.js";
4
- const O = /* @__PURE__ */ S({
5
+ const j = /* @__PURE__ */ S({
5
6
  __name: "ContentTypeSelect",
6
7
  props: {
7
8
  requestBody: {},
@@ -9,22 +10,22 @@ const O = /* @__PURE__ */ S({
9
10
  },
10
11
  emits: ["selectContentType"],
11
12
  setup(v, { emit: x }) {
12
- const t = v, C = x, T = (e) => {
13
- e != null && e.id && C("selectContentType", { contentType: e.id });
14
- }, a = s(() => {
13
+ const t = v, b = x, C = (e) => {
14
+ e != null && e.id && b("selectContentType", { contentType: e.id });
15
+ }, a = r(() => {
15
16
  var e;
16
17
  return (e = t.requestBody) != null && e.content ? Object.keys(t.requestBody.content) : [];
17
- }), l = B(
18
+ }), o = B(
18
19
  t.defaultValue || a.value[0]
19
- ), u = s({
20
- get: () => d.value.find((e) => e.id === l.value),
20
+ ), d = r({
21
+ get: () => u.value.find((e) => e.id === o.value),
21
22
  set: (e) => {
22
- e && (l.value = e.id);
23
+ e && (o.value = e.id);
23
24
  }
24
- }), d = s(() => a.value.map((e) => ({
25
+ }), u = r(() => a.value.map((e) => ({
25
26
  id: e,
26
27
  label: e
27
- }))), i = g({
28
+ }))), i = k({
28
29
  base: "font-normal text-c-2 bg-b-2 py-0.75 flex cursor-pointer items-center gap-1 rounded-full text-xs",
29
30
  variants: {
30
31
  dropdown: {
@@ -33,51 +34,48 @@ const O = /* @__PURE__ */ S({
33
34
  }
34
35
  }
35
36
  });
36
- return (e, o) => t != null && t.requestBody && a.value.length > 1 ? (p(), V(n(h), {
37
+ return (e, l) => t != null && t.requestBody && a.value.length > 1 ? (p(), V(n(w), {
37
38
  key: 0,
38
- modelValue: u.value,
39
+ modelValue: d.value,
39
40
  "onUpdate:modelValue": [
40
- o[0] || (o[0] = (b) => u.value = b),
41
- T
41
+ l[0] || (l[0] = (T) => d.value = T),
42
+ C
42
43
  ],
43
- class: "font-normal",
44
- options: d.value,
44
+ options: u.value,
45
45
  placement: "bottom-end"
46
46
  }, {
47
- default: r(() => [
48
- c(n(w), {
47
+ default: s(() => [
48
+ c(n(h), {
49
49
  class: m(["h-fit", n(i)({ dropdown: !0 })]),
50
50
  variant: "ghost"
51
51
  }, {
52
- default: r(() => [
52
+ default: s(() => [
53
53
  c(N, null, {
54
- default: r(() => o[1] || (o[1] = [
54
+ default: s(() => l[1] || (l[1] = [
55
55
  _("Selected Content Type:")
56
56
  ])),
57
57
  _: 1,
58
58
  __: [1]
59
59
  }),
60
- f("span", null, y(l.value), 1),
60
+ f("span", null, y(o.value), 1),
61
61
  c(n(q), {
62
- class: "ui-open:rotate-180 ml-auto",
63
- icon: "ChevronDown",
64
- size: "sm",
65
- thickness: "2"
62
+ weight: "bold",
63
+ class: "ui-open:rotate-180 size-2.75 transition-transform duration-100"
66
64
  })
67
65
  ]),
68
66
  _: 1
69
67
  }, 8, ["class"])
70
68
  ]),
71
69
  _: 1
72
- }, 8, ["modelValue", "options"])) : (p(), k("div", {
70
+ }, 8, ["modelValue", "options"])) : (p(), g("div", {
73
71
  key: 1,
74
72
  class: m([n(i)({ dropdown: !1 }), "selected-content-type"]),
75
73
  tabindex: "0"
76
74
  }, [
77
- f("span", null, y(l.value), 1)
75
+ f("span", null, y(o.value), 1)
78
76
  ], 2));
79
77
  }
80
78
  });
81
79
  export {
82
- O as default
80
+ j as default
83
81
  };
@@ -1,5 +1,5 @@
1
1
  import r from "./ParameterHeaders.vue2.js";
2
- /* empty css */
2
+ import "./ParameterHeaders.vue3.js";
3
3
  import a from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ a(r, [["__scopeId", "data-v-9293fa9e"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };