@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,61 +1,60 @@
1
- import { defineComponent as u, ref as m, watch as p, nextTick as f, createElementBlock as v, openBlock as i, createElementVNode as b, createBlock as h, createCommentVNode as g, normalizeClass as n, createVNode as r, unref as o, withCtx as s, renderSlot as d } from "vue";
2
- import { scrollToId as C } from "@scalar/helpers/dom/scroll-to-id";
3
- import { ScalarIconCaretRight as k } from "@scalar/icons";
4
- import { useNavState as S } from "../../hooks/useNavState.js";
5
- import w from "../Anchor/Anchor.vue.js";
6
- import y from "./Section.vue.js";
7
- const B = { class: "collapsible-section" }, N = ["id", "aria-controls", "aria-expanded"], R = /* @__PURE__ */ u({
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, createBlock, createCommentVNode, normalizeClass, createVNode, unref, withCtx, renderSlot } from "vue";
2
+ import { ScalarIconCaretRight } from "@scalar/icons";
3
+ import Section from "./Section.vue.js";
4
+ import _sfc_main$1 from "../Anchor/Anchor.vue.js";
5
+ const _hoisted_1 = ["aria-label"];
6
+ const _hoisted_2 = ["id", "aria-controls", "aria-expanded"];
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "CompactSection",
9
9
  props: {
10
10
  id: {},
11
11
  label: {},
12
- defaultOpen: { type: Boolean, default: !1 }
12
+ modelValue: { type: Boolean }
13
13
  },
14
- setup(a) {
15
- const { hash: c } = S(), t = m(a.defaultOpen);
16
- return p(
17
- c,
18
- async (e) => {
19
- a.id === e && !t.value && (t.value = !0, await f(), C(a.id));
20
- },
21
- { immediate: !0 }
22
- ), (e, l) => (i(), v("div", B, [
23
- b("button", {
24
- id: e.id,
25
- "aria-controls": e.id,
26
- "aria-expanded": t.value,
27
- class: n(["collapsible-section-trigger", { "collapsible-section-trigger-open": t.value }]),
28
- type: "button",
29
- onClick: l[0] || (l[0] = ($) => t.value = !t.value)
14
+ emits: ["update:modelValue", "copyAnchorUrl"],
15
+ setup(__props, { emit: __emit }) {
16
+ const emit = __emit;
17
+ return (_ctx, _cache) => {
18
+ return openBlock(), createElementBlock("section", {
19
+ "aria-label": _ctx.label,
20
+ class: "collapsible-section"
30
21
  }, [
31
- r(o(k), {
32
- class: n(["size-3 transition-transform duration-100", { "rotate-90": t.value }]),
33
- weight: "bold"
34
- }, null, 8, ["class"]),
35
- r(o(w), {
36
- id: e.id,
37
- class: "collapsible-section-header"
22
+ createElementVNode("button", {
23
+ id: _ctx.id,
24
+ "aria-controls": _ctx.id,
25
+ "aria-expanded": _ctx.modelValue,
26
+ class: normalizeClass(["collapsible-section-trigger", { "collapsible-section-trigger-open": _ctx.modelValue }]),
27
+ type: "button",
28
+ onClick: _cache[1] || (_cache[1] = ($event) => emit("update:modelValue", !_ctx.modelValue))
29
+ }, [
30
+ createVNode(unref(ScalarIconCaretRight), {
31
+ class: normalizeClass(["size-3 transition-transform duration-100", { "rotate-90": _ctx.modelValue }]),
32
+ weight: "bold"
33
+ }, null, 8, ["class"]),
34
+ createVNode(unref(_sfc_main$1), {
35
+ class: "collapsible-section-header",
36
+ onCopyAnchorUrl: _cache[0] || (_cache[0] = () => emit("copyAnchorUrl"))
37
+ }, {
38
+ default: withCtx(() => [
39
+ renderSlot(_ctx.$slots, "heading", {}, void 0, true)
40
+ ]),
41
+ _: 3
42
+ })
43
+ ], 10, _hoisted_2),
44
+ _ctx.modelValue ? (openBlock(), createBlock(Section, {
45
+ key: 0,
46
+ class: "collapsible-section-content",
47
+ label: _ctx.label
38
48
  }, {
39
- default: s(() => [
40
- d(e.$slots, "heading", {}, void 0, !0)
49
+ default: withCtx(() => [
50
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
41
51
  ]),
42
52
  _: 3
43
- }, 8, ["id"])
44
- ], 10, N),
45
- t.value ? (i(), h(o(y), {
46
- key: 0,
47
- id: e.id,
48
- class: "collapsible-section-content",
49
- label: e.label
50
- }, {
51
- default: s(() => [
52
- d(e.$slots, "default", {}, void 0, !0)
53
- ]),
54
- _: 3
55
- }, 8, ["id", "label"])) : g("", !0)
56
- ]));
53
+ }, 8, ["label"])) : createCommentVNode("", true)
54
+ ], 8, _hoisted_1);
55
+ };
57
56
  }
58
57
  });
59
58
  export {
60
- R as default
59
+ _sfc_main as default
61
60
  };
@@ -1,12 +1,12 @@
1
- type __VLS_Props = {
2
- id?: string;
3
- label?: string;
4
- };
5
- declare var __VLS_9: {};
1
+ declare var __VLS_1: {};
6
2
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_9) => any;
3
+ default?: (props: typeof __VLS_1) => any;
8
4
  };
9
- 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>;
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ intersecting: () => any;
7
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
8
+ onIntersecting?: (() => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
11
  export default _default;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"Section.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/Section.vue"],"names":[],"mappings":"AAiEA,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA2DF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,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":"Section.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/Section.vue"],"names":[],"mappings":"AAgGA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;;;;iFAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
- import o from "./Section.vue2.js";
1
+ import _sfc_main from "./Section.vue2.js";
2
2
  /* empty css */
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9bfffebe"]]);
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const Section = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-be4443e9"]]);
5
5
  export {
6
- m as default
6
+ Section as default
7
7
  };
@@ -1,30 +1,23 @@
1
- import { defineComponent as s, createBlock as a, openBlock as l, withCtx as c, renderSlot as d } from "vue";
2
- import p from "../IntersectionObserver.vue.js";
3
- import { useNavState as f } from "../../hooks/useNavState.js";
4
- const b = /* @__PURE__ */ s({
1
+ import { defineComponent, useTemplateRef, createElementBlock, openBlock, renderSlot } from "vue";
2
+ import { useIntersection } from "../../hooks/use-intersection.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
4
  __name: "Section",
6
- props: {
7
- id: {},
8
- label: {}
9
- },
10
- setup(o) {
11
- const e = o, { isIntersectionEnabled: n, replaceUrlState: r } = f();
12
- function i() {
13
- !e.label || !n.value || r(e.id ?? "");
14
- }
15
- return (t, u) => (l(), a(p, {
16
- is: "section",
17
- id: t.id,
18
- class: "section",
19
- onIntersecting: i
20
- }, {
21
- default: c(() => [
22
- d(t.$slots, "default", {}, void 0, !0)
23
- ]),
24
- _: 3
25
- }, 8, ["id"]));
5
+ emits: ["intersecting"],
6
+ setup(__props, { emit: __emit }) {
7
+ const emit = __emit;
8
+ const section = useTemplateRef("section");
9
+ useIntersection(section, () => emit("intersecting"));
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createElementBlock("section", {
12
+ ref_key: "section",
13
+ ref: section,
14
+ class: "section"
15
+ }, [
16
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
17
+ ], 512);
18
+ };
26
19
  }
27
20
  });
28
21
  export {
29
- b as default
22
+ _sfc_main as default
30
23
  };
@@ -1,20 +1,24 @@
1
1
  type __VLS_Props = {
2
- id?: string;
3
2
  transparent?: boolean;
3
+ modelValue: boolean;
4
4
  };
5
- declare var __VLS_19: {}, __VLS_21: {
6
- active: any;
7
- }, __VLS_31: {}, __VLS_33: {};
5
+ declare var __VLS_16: {}, __VLS_18: {
6
+ active: boolean;
7
+ }, __VLS_28: {}, __VLS_30: {};
8
8
  type __VLS_Slots = {} & {
9
- title?: (props: typeof __VLS_19) => any;
9
+ title?: (props: typeof __VLS_16) => any;
10
10
  } & {
11
- actions?: (props: typeof __VLS_21) => any;
11
+ actions?: (props: typeof __VLS_18) => any;
12
12
  } & {
13
- description?: (props: typeof __VLS_31) => any;
13
+ description?: (props: typeof __VLS_28) => any;
14
14
  } & {
15
- default?: (props: typeof __VLS_33) => any;
15
+ default?: (props: typeof __VLS_30) => any;
16
16
  };
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>;
17
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
+ "update:modelValue": (value: boolean) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
22
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
23
  export default _default;
20
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionAccordion.vue"],"names":[],"mappings":"AAkJA,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;AA6JF,QAAA,IAAyB,QAAQ,IAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC9G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA4BhD,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":"SectionAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionAccordion.vue"],"names":[],"mappings":"AAiIA,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;AA0IF,QAAA,IAAyB,QAAQ,IAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC9G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA4BhD,QAAA,MAAM,eAAe;;;;kFAOnB,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,7 +1,7 @@
1
- import o from "./SectionAccordion.vue2.js";
1
+ import _sfc_main from "./SectionAccordion.vue2.js";
2
2
  /* empty css */
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-224efaa7"]]);
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const SectionAccordion = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ee08c887"]]);
5
5
  export {
6
- e as default
6
+ SectionAccordion as default
7
7
  };
@@ -1,75 +1,76 @@
1
- import { defineComponent as h, ref as $, createBlock as b, openBlock as c, withCtx as e, createVNode as s, unref as t, normalizeClass as l, createElementVNode as d, createElementBlock as u, createCommentVNode as m, renderSlot as n } from "vue";
2
- import { Disclosure as k, DisclosureButton as S, DisclosurePanel as B } from "@headlessui/vue";
3
- import { ScalarIconCaretRight as C } from "@scalar/icons";
4
- import { useElementHover as y } from "@vueuse/core";
5
- import { useNavState as E } from "../../hooks/useNavState.js";
6
- import N from "../IntersectionObserver.vue.js";
7
- const D = { class: "section-accordion-button-content" }, I = {
1
+ import { defineComponent, ref, createBlock, openBlock, unref, normalizeClass, withCtx, createVNode, createCommentVNode, createElementVNode, createElementBlock, renderSlot } from "vue";
2
+ import { Disclosure, DisclosureButton, DisclosurePanel } from "@headlessui/vue";
3
+ import { ScalarIconCaretRight } from "@scalar/icons";
4
+ import { useElementHover } from "@vueuse/core";
5
+ const _hoisted_1 = { class: "section-accordion-button-content" };
6
+ const _hoisted_2 = {
8
7
  key: 0,
9
8
  class: "section-accordion-button-actions"
10
- }, V = {
9
+ };
10
+ const _hoisted_3 = {
11
11
  key: 0,
12
12
  class: "section-accordion-description"
13
- }, g = { class: "section-accordion-content-card" }, j = /* @__PURE__ */ h({
13
+ };
14
+ const _hoisted_4 = { class: "section-accordion-content-card" };
15
+ const _sfc_main = /* @__PURE__ */ defineComponent({
14
16
  __name: "SectionAccordion",
15
17
  props: {
16
- id: {},
17
- transparent: { type: Boolean }
18
+ transparent: { type: Boolean },
19
+ modelValue: { type: Boolean }
18
20
  },
19
- setup(r) {
20
- const i = $(), f = y(i), { isIntersectionEnabled: p, replaceUrlState: v } = E(), _ = () => {
21
- !r.id || !p.value || v(r.id);
22
- };
23
- return (o, w) => (c(), b(N, {
24
- id: o.id,
25
- class: "section-wrapper",
26
- onIntersecting: _
27
- }, {
28
- default: e(() => [
29
- s(t(k), {
30
- as: "section",
31
- class: l(["section-accordion", { "section-accordion-transparent": o.transparent }])
32
- }, {
33
- default: e(({ open: a }) => [
34
- s(t(S), {
35
- ref_key: "button",
36
- ref: i,
37
- class: "section-accordion-button"
38
- }, {
39
- default: e(() => [
40
- d("div", D, [
41
- n(o.$slots, "title", {}, void 0, !0)
42
- ]),
43
- o.$slots.actions ? (c(), u("div", I, [
44
- n(o.$slots, "actions", {
45
- active: t(f) || a
46
- }, void 0, !0)
47
- ])) : m("", !0),
48
- s(t(C), {
49
- class: l(["section-accordion-chevron size-4.5 transition-transform", { "rotate-90": a }])
50
- }, null, 8, ["class"])
21
+ emits: ["update:modelValue"],
22
+ setup(__props, { emit: __emit }) {
23
+ const emit = __emit;
24
+ const button = ref();
25
+ const isHovered = useElementHover(button);
26
+ return (_ctx, _cache) => {
27
+ return openBlock(), createBlock(unref(Disclosure), {
28
+ as: "section",
29
+ class: normalizeClass(["section-accordion", { "section-accordion-transparent": _ctx.transparent }])
30
+ }, {
31
+ default: withCtx(() => [
32
+ createVNode(unref(DisclosureButton), {
33
+ ref_key: "button",
34
+ ref: button,
35
+ class: "section-accordion-button",
36
+ onClick: _cache[0] || (_cache[0] = () => emit("update:modelValue", !_ctx.modelValue))
37
+ }, {
38
+ default: withCtx(() => [
39
+ createElementVNode("div", _hoisted_1, [
40
+ renderSlot(_ctx.$slots, "title", {}, void 0, true)
51
41
  ]),
52
- _: 2
53
- }, 1536),
54
- s(t(B), { class: "section-accordion-content" }, {
55
- default: e(() => [
56
- o.$slots.description ? (c(), u("div", V, [
57
- n(o.$slots, "description", {}, void 0, !0)
58
- ])) : m("", !0),
59
- d("div", g, [
60
- n(o.$slots, "default", {}, void 0, !0)
61
- ])
62
- ]),
63
- _: 3
64
- })
65
- ]),
66
- _: 3
67
- }, 8, ["class"])
68
- ]),
69
- _: 3
70
- }, 8, ["id"]));
42
+ _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_2, [
43
+ renderSlot(_ctx.$slots, "actions", {
44
+ active: unref(isHovered) || _ctx.modelValue
45
+ }, void 0, true)
46
+ ])) : createCommentVNode("", true),
47
+ createVNode(unref(ScalarIconCaretRight), {
48
+ class: normalizeClass(["section-accordion-chevron size-4.5 transition-transform", { "rotate-90": _ctx.modelValue }])
49
+ }, null, 8, ["class"])
50
+ ]),
51
+ _: 3
52
+ }, 512),
53
+ _ctx.modelValue ? (openBlock(), createBlock(unref(DisclosurePanel), {
54
+ key: 0,
55
+ class: "section-accordion-content",
56
+ static: ""
57
+ }, {
58
+ default: withCtx(() => [
59
+ _ctx.$slots.description ? (openBlock(), createElementBlock("div", _hoisted_3, [
60
+ renderSlot(_ctx.$slots, "description", {}, void 0, true)
61
+ ])) : createCommentVNode("", true),
62
+ createElementVNode("div", _hoisted_4, [
63
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
64
+ ])
65
+ ]),
66
+ _: 3
67
+ })) : createCommentVNode("", true)
68
+ ]),
69
+ _: 3
70
+ }, 8, ["class"]);
71
+ };
71
72
  }
72
73
  });
73
74
  export {
74
- j as default
75
+ _sfc_main as default
75
76
  };
@@ -1,13 +1,14 @@
1
- import { createElementBlock as o, openBlock as t, renderSlot as c } from "vue";
1
+ import { createElementBlock, openBlock, renderSlot } from "vue";
2
2
  /* empty css */
3
- import n from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = {}, s = { class: "section-column" };
5
- function d(e, _) {
6
- return t(), o("div", s, [
7
- c(e.$slots, "default", {}, void 0, !0)
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const _sfc_main = {};
5
+ const _hoisted_1 = { class: "section-column" };
6
+ function _sfc_render(_ctx, _cache) {
7
+ return openBlock(), createElementBlock("div", _hoisted_1, [
8
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
8
9
  ]);
9
10
  }
10
- const f = /* @__PURE__ */ n(r, [["render", d], ["__scopeId", "data-v-699c28e3"]]);
11
+ const SectionColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-699c28e3"]]);
11
12
  export {
12
- f as default
13
+ SectionColumn as default
13
14
  };
@@ -1,13 +1,14 @@
1
- import { createElementBlock as o, openBlock as t, renderSlot as n } from "vue";
1
+ import { createElementBlock, openBlock, renderSlot } from "vue";
2
2
  /* empty css */
3
- import c from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = {}, s = { class: "section-columns" };
5
- function d(e, _) {
6
- return t(), o("div", s, [
7
- n(e.$slots, "default", {}, void 0, !0)
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const _sfc_main = {};
5
+ const _hoisted_1 = { class: "section-columns" };
6
+ function _sfc_render(_ctx, _cache) {
7
+ return openBlock(), createElementBlock("div", _hoisted_1, [
8
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
8
9
  ]);
9
10
  }
10
- const a = /* @__PURE__ */ c(r, [["render", d], ["__scopeId", "data-v-8b9602bf"]]);
11
+ const SectionColumns = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-8b9602bf"]]);
11
12
  export {
12
- a as default
13
+ SectionColumns as default
13
14
  };
@@ -1,7 +1,7 @@
1
- import o from "./SectionContainer.vue2.js";
1
+ import _sfc_main from "./SectionContainer.vue2.js";
2
2
  /* empty css */
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-20a1472a"]]);
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const SectionContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-20a1472a"]]);
5
5
  export {
6
- i as default
6
+ SectionContainer as default
7
7
  };
@@ -1,18 +1,21 @@
1
- import { defineComponent as t, renderSlot as o, createElementBlock as n, openBlock as r } from "vue";
2
- const s = {
1
+ import { defineComponent, renderSlot, createElementBlock, openBlock } from "vue";
2
+ const _hoisted_1 = {
3
3
  key: 1,
4
4
  class: "section-container"
5
- }, c = /* @__PURE__ */ t({
5
+ };
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "SectionContainer",
7
8
  props: {
8
9
  omit: { type: Boolean }
9
10
  },
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
- ]));
11
+ setup(__props) {
12
+ return (_ctx, _cache) => {
13
+ return _ctx.omit ? renderSlot(_ctx.$slots, "default", { key: 0 }, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_1, [
14
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
15
+ ]));
16
+ };
14
17
  }
15
18
  });
16
19
  export {
17
- c as default
20
+ _sfc_main as default
18
21
  };
@@ -1,10 +1,17 @@
1
- declare var __VLS_13: {}, __VLS_19: {};
1
+ type __VLS_Props = {
2
+ modelValue: boolean;
3
+ };
4
+ declare var __VLS_17: {}, __VLS_23: {};
2
5
  type __VLS_Slots = {} & {
3
- title?: (props: typeof __VLS_13) => any;
6
+ title?: (props: typeof __VLS_17) => any;
4
7
  } & {
5
- default?: (props: typeof __VLS_19) => any;
8
+ default?: (props: typeof __VLS_23) => any;
6
9
  };
7
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ "update:modelValue": (value: boolean) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
15
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
9
16
  export default _default;
10
17
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue"],"names":[],"mappings":"AA4LA,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAsBhD,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,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":"AAsGA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;AAgHF,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAyBhD,QAAA,MAAM,eAAe;;;;kFAOnB,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,7 +1,7 @@
1
- import o from "./SectionContainerAccordion.vue2.js";
1
+ import _sfc_main from "./SectionContainerAccordion.vue2.js";
2
2
  /* empty css */
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4ea50e41"]]);
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const SectionContainerAccordion = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9419dd23"]]);
5
5
  export {
6
- c as default
6
+ SectionContainerAccordion as default
7
7
  };
@@ -1,39 +1,54 @@
1
- import { defineComponent as r, createElementBlock as a, openBlock as i, createVNode as o, unref as e, withCtx as t, createElementVNode as l, normalizeClass as d, renderSlot as s } from "vue";
2
- import { Disclosure as u, DisclosureButton as f, DisclosurePanel as m } from "@headlessui/vue";
3
- import { ScalarIconCaretRight as _ } from "@scalar/icons";
4
- const p = { class: "section-accordion-wrapper" }, h = { class: "section-accordion-title" }, k = /* @__PURE__ */ r({
1
+ import { defineComponent, createElementBlock, openBlock, createVNode, unref, withCtx, createBlock, createCommentVNode, createElementVNode, normalizeClass, renderSlot } from "vue";
2
+ import { Disclosure, DisclosureButton, DisclosurePanel } from "@headlessui/vue";
3
+ import { ScalarIconCaretRight } from "@scalar/icons";
4
+ const _hoisted_1 = { class: "section-accordion-wrapper" };
5
+ const _hoisted_2 = { class: "section-accordion-title" };
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
7
  __name: "SectionContainerAccordion",
6
- setup(v) {
7
- return (c, C) => (i(), a("div", p, [
8
- o(e(u), {
9
- as: "div",
10
- class: "section-accordion",
11
- defaultOpen: ""
12
- }, {
13
- default: t(({ open: n }) => [
14
- o(e(f), { class: "section-accordion-button" }, {
15
- default: t(() => [
16
- o(e(_), {
17
- class: d(["section-accordion-chevron size-5 transition-transform", { "rotate-90": n }])
18
- }, null, 8, ["class"]),
19
- l("div", h, [
20
- s(c.$slots, "title", {}, void 0, !0)
21
- ])
22
- ]),
23
- _: 2
24
- }, 1024),
25
- o(e(m), { class: "section-accordion-content" }, {
26
- default: t(() => [
27
- s(c.$slots, "default", {}, void 0, !0)
28
- ]),
29
- _: 3
30
- })
31
- ]),
32
- _: 3
33
- })
34
- ]));
8
+ props: {
9
+ modelValue: { type: Boolean }
10
+ },
11
+ emits: ["update:modelValue"],
12
+ setup(__props, { emit: __emit }) {
13
+ const emit = __emit;
14
+ return (_ctx, _cache) => {
15
+ return openBlock(), createElementBlock("section", _hoisted_1, [
16
+ createVNode(unref(Disclosure), {
17
+ as: "div",
18
+ class: "section-accordion"
19
+ }, {
20
+ default: withCtx(() => [
21
+ createVNode(unref(DisclosureButton), {
22
+ class: "section-accordion-button",
23
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", !_ctx.modelValue))
24
+ }, {
25
+ default: withCtx(() => [
26
+ createVNode(unref(ScalarIconCaretRight), {
27
+ class: normalizeClass(["section-accordion-chevron size-5 transition-transform", { "rotate-90": _ctx.modelValue }])
28
+ }, null, 8, ["class"]),
29
+ createElementVNode("div", _hoisted_2, [
30
+ renderSlot(_ctx.$slots, "title", {}, void 0, true)
31
+ ])
32
+ ]),
33
+ _: 3
34
+ }),
35
+ _ctx.modelValue ? (openBlock(), createBlock(unref(DisclosurePanel), {
36
+ key: 0,
37
+ class: "section-accordion-content",
38
+ static: ""
39
+ }, {
40
+ default: withCtx(() => [
41
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
42
+ ]),
43
+ _: 3
44
+ })) : createCommentVNode("", true)
45
+ ]),
46
+ _: 3
47
+ })
48
+ ]);
49
+ };
35
50
  }
36
51
  });
37
52
  export {
38
- k as default
53
+ _sfc_main as default
39
54
  };