@scalar/api-reference 1.34.5 → 1.35.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 (398) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/browser/standalone.js +30859 -30766
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/Anchor.vue.d.ts +6 -11
  5. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  6. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts +11 -13
  7. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReference.vue.d.ts +14 -1
  9. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  10. package/dist/components/ApiReference.vue.js +24 -10
  11. package/dist/components/ApiReferenceLayout.vue.d.ts +7 -31
  12. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  13. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  14. package/dist/components/ApiReferenceLayout.vue2.js +179 -191
  15. package/dist/components/Badge/Badge.vue.d.ts +6 -11
  16. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  17. package/dist/components/ClassicHeader.vue.d.ts +8 -12
  18. package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
  19. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +1 -3
  20. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  21. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
  22. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  23. package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -1
  24. package/dist/components/Content/ClientLibraries/index.d.ts +1 -1
  25. package/dist/components/Content/Content.vue.d.ts +9 -12
  26. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  27. package/dist/components/Content/Content.vue.js +180 -36
  28. package/dist/components/Content/IntroductionSection.vue.d.ts +18 -0
  29. package/dist/components/Content/IntroductionSection.vue.d.ts.map +1 -0
  30. package/dist/components/Content/IntroductionSection.vue.js +26 -0
  31. package/dist/components/Content/IntroductionSection.vue2.js +4 -0
  32. package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -1
  33. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  34. package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
  36. package/dist/components/Content/Models/ModernLayout.vue2.js +6 -6
  37. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
  38. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +1 -5
  39. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +28 -35
  41. package/dist/components/Content/Operations/get-current-index.d.ts.map +1 -1
  42. package/dist/components/Content/Schema/RenderString.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  44. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  45. package/dist/components/Content/Schema/Schema.vue2.js +84 -81
  46. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +1 -1
  47. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  48. package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
  49. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts +1 -1
  50. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
  51. package/dist/components/Content/Schema/SchemaEnumValues.vue.d.ts.map +1 -1
  52. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  53. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +3 -0
  54. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
  55. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +49 -41
  56. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  57. package/dist/components/Content/Schema/SchemaProperty.vue2.js +1 -1
  58. package/dist/components/Content/Schema/SchemaPropertyDescription.vue.d.ts +6 -11
  59. package/dist/components/Content/Schema/SchemaPropertyDescription.vue.d.ts.map +1 -1
  60. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts +10 -13
  61. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
  62. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts.map +1 -1
  63. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +6 -11
  64. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  65. package/dist/components/Content/Schema/helpers/get-schema-type.d.ts.map +1 -1
  66. package/dist/components/Content/Schema/helpers/is-type-object.d.ts.map +1 -1
  67. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts +6 -11
  68. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -1
  69. package/dist/components/Content/Tags/ModernLayout.vue.d.ts +5 -63
  70. package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -1
  71. package/dist/components/Content/Tags/Tag.vue.d.ts +7 -11
  72. package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -1
  73. package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -1
  74. package/dist/components/Content/Tags/TagSection.vue.js +1 -1
  75. package/dist/components/GettingStarted.vue.d.ts +1 -1
  76. package/dist/components/GettingStarted.vue.d.ts.map +1 -1
  77. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +5 -10
  78. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  79. package/dist/components/IntersectionObserver.vue.d.ts +5 -12
  80. package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
  81. package/dist/components/Lazy/Lazy.vue.d.ts +5 -10
  82. package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -1
  83. package/dist/components/LinkList/LinkList.vue.d.ts +6 -13
  84. package/dist/components/LinkList/LinkList.vue.d.ts.map +1 -1
  85. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  86. package/dist/components/MobileHeader.vue.d.ts +6 -11
  87. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  88. package/dist/components/OperationPath.vue.d.ts +1 -1
  89. package/dist/components/OperationPath.vue.d.ts.map +1 -1
  90. package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -1
  91. package/dist/components/OperationsList/OperationsListItem.vue.d.ts +1 -1
  92. package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -1
  93. package/dist/components/ScreenReader.vue.d.ts +7 -11
  94. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  95. package/dist/components/Section/CompactSection.vue.d.ts +8 -12
  96. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  97. package/dist/components/Section/Section.vue.d.ts +5 -10
  98. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  99. package/dist/components/Section/SectionAccordion.vue.d.ts +13 -66
  100. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  101. package/dist/components/Section/SectionColumn.vue.d.ts +6 -11
  102. package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
  103. package/dist/components/Section/SectionColumns.vue.d.ts +6 -11
  104. package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
  105. package/dist/components/Section/SectionContainer.vue.d.ts +7 -11
  106. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  107. package/dist/components/Section/SectionContainerAccordion.vue.d.ts +8 -12
  108. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  109. package/dist/components/Section/SectionContent.vue.d.ts +6 -11
  110. package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
  111. package/dist/components/Section/SectionHeader.vue.d.ts +8 -12
  112. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  113. package/dist/components/Section/SectionHeaderTag.vue.d.ts +5 -10
  114. package/dist/components/Section/SectionHeaderTag.vue.d.ts.map +1 -1
  115. package/dist/components/SectionFlare/SectionFlare.vue.d.ts.map +1 -1
  116. package/dist/components/ShowMoreButton.vue.d.ts +1 -1
  117. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  118. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  119. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
  120. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  121. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  122. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
  123. package/dist/features/Operation/components/ParameterList.vue.d.ts +5 -10
  124. package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
  125. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  126. package/dist/features/Operation/components/RequestBody.vue.d.ts +5 -10
  127. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  128. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +2 -2
  129. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
  130. package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
  131. package/dist/features/Operation/components/callbacks/Callback.vue2.js +2 -2
  132. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +2 -2
  133. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
  134. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +2 -2
  135. package/dist/features/Operation/helpers/combine-params.d.ts +1 -2
  136. package/dist/features/Operation/helpers/combine-params.d.ts.map +1 -1
  137. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +1 -3
  138. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  139. package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
  140. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +35 -34
  141. package/dist/features/Operation/layouts/ClassicLayout.vue3.js +2 -2
  142. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +1 -3
  143. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  144. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  145. package/dist/features/Operation/layouts/ModernLayout.vue2.js +28 -27
  146. package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -1
  147. package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -1
  148. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts +1 -1
  149. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
  150. package/dist/features/api-client-modal/ApiClientModal.vue.js +50 -53
  151. package/dist/features/api-client-modal/useApiClient.d.ts +496 -496
  152. package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
  153. package/dist/features/document-source/hooks/useDocumentFetcher.d.ts +1 -1
  154. package/dist/features/document-source/hooks/useDocumentFetcher.d.ts.map +1 -1
  155. package/dist/features/document-source/hooks/useDocumentFetcher.js +13 -13
  156. package/dist/features/example-responses/ExampleResponse.vue.d.ts +1 -2
  157. package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
  158. package/dist/features/example-responses/ExampleResponse.vue.js +2 -2
  159. package/dist/features/example-responses/ExampleResponseTab.vue.d.ts +5 -10
  160. package/dist/features/example-responses/ExampleResponseTab.vue.d.ts.map +1 -1
  161. package/dist/features/example-responses/ExampleResponseTabList.vue.d.ts +7 -11
  162. package/dist/features/example-responses/ExampleResponseTabList.vue.d.ts.map +1 -1
  163. package/dist/features/example-responses/ExampleResponses.vue.d.ts +1 -1
  164. package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
  165. package/dist/features/example-responses/ExampleResponses.vue.js +2 -2
  166. package/dist/features/example-responses/ExampleResponses.vue2.js +9 -9
  167. package/dist/features/example-responses/helpers/get-resolved-ref-deep.d.ts.map +1 -1
  168. package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -1
  169. package/dist/features/info-object/Contact.vue.d.ts.map +1 -1
  170. package/dist/features/info-object/License.vue.d.ts +1 -1
  171. package/dist/features/info-object/License.vue.d.ts.map +1 -1
  172. package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -1
  173. package/dist/features/multiple-documents/DocumentSelector.vue.d.ts.map +1 -1
  174. package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
  175. package/dist/features/sidebar/components/Sidebar.vue.d.ts +8 -14
  176. package/dist/features/sidebar/components/Sidebar.vue.d.ts.map +1 -1
  177. package/dist/features/sidebar/components/SidebarElement.vue.d.ts +8 -12
  178. package/dist/features/sidebar/components/SidebarElement.vue.d.ts.map +1 -1
  179. package/dist/features/sidebar/components/SidebarElement.vue.js +1 -1
  180. package/dist/features/sidebar/components/SidebarElement.vue2.js +60 -55
  181. package/dist/features/sidebar/components/SidebarGroup.vue.d.ts +6 -11
  182. package/dist/features/sidebar/components/SidebarGroup.vue.d.ts.map +1 -1
  183. package/dist/features/sidebar/components/SidebarHttpBadge.vue.d.ts +5 -10
  184. package/dist/features/sidebar/components/SidebarHttpBadge.vue.d.ts.map +1 -1
  185. package/dist/features/sidebar/helpers/create-sidebar.d.ts.map +1 -1
  186. package/dist/features/specification-extension/SpecificationExtension.vue.d.ts.map +1 -1
  187. package/dist/features/specification-extension/SpecificationExtension.vue.js +2 -47
  188. package/dist/features/specification-extension/SpecificationExtension.vue2.js +47 -2
  189. package/dist/features/specification-extension/helpers.d.ts +10 -0
  190. package/dist/features/specification-extension/helpers.d.ts.map +1 -0
  191. package/dist/features/specification-extension/helpers.js +4 -0
  192. package/dist/features/specification-extension/index.d.ts +1 -0
  193. package/dist/features/specification-extension/index.d.ts.map +1 -1
  194. package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
  195. package/dist/features/traverse-schema/helpers/get-tag.d.ts.map +1 -1
  196. package/dist/features/traverse-schema/helpers/traverse-description.d.ts +3 -1
  197. package/dist/features/traverse-schema/helpers/traverse-description.d.ts.map +1 -1
  198. package/dist/features/traverse-schema/helpers/traverse-document.d.ts.map +1 -1
  199. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +7 -3
  200. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
  201. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts +3 -1
  202. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
  203. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts +3 -1
  204. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
  205. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts +5 -1
  206. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
  207. package/dist/features/traverse-schema/types.d.ts +1 -3
  208. package/dist/features/traverse-schema/types.d.ts.map +1 -1
  209. package/dist/features/x-badges/XBadges.vue.d.ts.map +1 -1
  210. package/dist/helpers/convert-security-scheme.d.ts +1 -1
  211. package/dist/helpers/convert-security-scheme.d.ts.map +1 -1
  212. package/dist/helpers/test-utils.d.ts.map +1 -1
  213. package/dist/hooks/useFreezing.d.ts +6 -0
  214. package/dist/hooks/useFreezing.d.ts.map +1 -0
  215. package/dist/hooks/useFreezing.js +29 -0
  216. package/dist/hooks/useNavState.d.ts +1 -2
  217. package/dist/hooks/useNavState.d.ts.map +1 -1
  218. package/dist/index.d.ts +1 -0
  219. package/dist/index.d.ts.map +1 -1
  220. package/dist/index.js +18 -16
  221. package/dist/libs/download.d.ts +0 -5
  222. package/dist/libs/download.d.ts.map +1 -1
  223. package/dist/libs/download.js +10 -13
  224. package/dist/libs/markdown.d.ts.map +1 -1
  225. package/dist/libs/openapi.d.ts +2 -4
  226. package/dist/libs/openapi.d.ts.map +1 -1
  227. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  228. package/dist/standalone/lib/html-api.d.ts.map +1 -1
  229. package/dist/style.css +1 -1
  230. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +11 -14
  231. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  232. package/dist/v2/ApiReferenceWorkspace.vue.js +92 -95
  233. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +20 -0
  234. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -0
  235. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +7 -0
  236. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +223 -0
  237. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +21 -0
  238. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts.map +1 -0
  239. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +64 -0
  240. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue2.js +4 -0
  241. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +17 -0
  242. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -0
  243. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +267 -0
  244. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue2.js +4 -0
  245. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +9 -0
  246. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -0
  247. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +151 -0
  248. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue2.js +4 -0
  249. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +20 -0
  250. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -0
  251. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +7 -0
  252. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +96 -0
  253. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +50 -0
  254. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -0
  255. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +50 -0
  256. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue2.js +4 -0
  257. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +17 -0
  258. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -0
  259. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +253 -0
  260. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue2.js +4 -0
  261. package/dist/v2/blocks/scalar-auth-selector-block/helpers/filter-security-requirements.d.ts +6 -0
  262. package/dist/v2/blocks/scalar-auth-selector-block/helpers/filter-security-requirements.d.ts.map +1 -0
  263. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.d.ts +8 -0
  264. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.d.ts.map +1 -0
  265. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.js +22 -0
  266. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +2 -0
  267. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -0
  268. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +15 -0
  269. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -0
  270. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +7 -0
  271. package/dist/{components/Content/ClientLibraries/ClientSelector.vue2.js → v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js} +33 -33
  272. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts +16 -0
  273. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -0
  274. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +7 -0
  275. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +124 -0
  276. package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts +11 -0
  277. package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts.map +1 -0
  278. package/dist/v2/blocks/scalar-client-selector-block/index.d.ts +2 -0
  279. package/dist/v2/blocks/scalar-client-selector-block/index.d.ts.map +1 -0
  280. package/dist/{features/base-url/BaseUrl.vue.d.ts → v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts} +3 -4
  281. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -0
  282. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +7 -0
  283. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +62 -0
  284. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts +36 -0
  285. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -0
  286. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.js +49 -0
  287. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue2.js +4 -0
  288. package/dist/{components/Content/Introduction/Description.vue.d.ts → v2/blocks/scalar-info-block/components/InfoDescription.vue.d.ts} +2 -2
  289. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.d.ts.map +1 -0
  290. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.js +7 -0
  291. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue2.js +72 -0
  292. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.d.ts +8 -0
  293. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.d.ts.map +1 -0
  294. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue.js +36 -0
  295. package/dist/v2/blocks/scalar-info-block/components/InfoLinks.vue2.js +4 -0
  296. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.d.ts +7 -0
  297. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.d.ts.map +1 -0
  298. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue.js +25 -0
  299. package/dist/v2/blocks/scalar-info-block/components/InfoVersion.vue2.js +4 -0
  300. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts +16 -0
  301. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.d.ts.map +1 -0
  302. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.js +7 -0
  303. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue2.js +17 -0
  304. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue3.js +4 -0
  305. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.d.ts +13 -0
  306. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.d.ts.map +1 -0
  307. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +13 -0
  308. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue2.js +4 -0
  309. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +27 -0
  310. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -0
  311. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +7 -0
  312. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +122 -0
  313. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue3.js +4 -0
  314. package/dist/{features/download-link/DownloadLink.vue.d.ts → v2/blocks/scalar-info-block/components/OpenApiVersion.vue.d.ts} +2 -2
  315. package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue.d.ts.map +1 -0
  316. package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue.js +19 -0
  317. package/dist/v2/blocks/scalar-info-block/components/OpenApiVersion.vue2.js +4 -0
  318. package/dist/v2/blocks/scalar-info-block/index.d.ts +3 -0
  319. package/dist/v2/blocks/scalar-info-block/index.d.ts.map +1 -0
  320. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +5 -8
  321. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +1 -1
  322. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +38 -52
  323. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +7 -8
  324. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
  325. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +1 -1
  326. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +148 -133
  327. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +1 -1
  328. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts.map +1 -1
  329. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts +1 -3
  330. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts.map +1 -1
  331. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts +1 -1
  332. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts.map +1 -1
  333. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +4 -3
  334. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts +51 -0
  335. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -0
  336. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.js +78 -0
  337. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue2.js +4 -0
  338. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts +18 -0
  339. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -0
  340. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +72 -0
  341. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue2.js +4 -0
  342. package/dist/v2/blocks/scalar-server-selector-block/index.d.ts +2 -0
  343. package/dist/v2/blocks/scalar-server-selector-block/index.d.ts.map +1 -0
  344. package/dist/v2/helpers/get-document-name.d.ts.map +1 -1
  345. package/dist/v2/helpers/map-configuration.d.ts +1 -1
  346. package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
  347. package/dist/v2/helpers/normalize-content.d.ts.map +1 -1
  348. package/dist/v2/hooks/use-legacy-store-events.d.ts +14 -0
  349. package/dist/v2/hooks/use-legacy-store-events.d.ts.map +1 -0
  350. package/dist/v2/hooks/use-legacy-store-events.js +65 -0
  351. package/dist/v2/hooks/use-workspace-store-events.d.ts +4 -0
  352. package/dist/v2/hooks/use-workspace-store-events.d.ts.map +1 -0
  353. package/dist/v2/hooks/use-workspace-store-events.js +43 -0
  354. package/package.json +21 -19
  355. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +0 -7
  356. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +0 -122
  357. package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +0 -7
  358. package/dist/components/Content/Introduction/Description.vue.d.ts.map +0 -1
  359. package/dist/components/Content/Introduction/Description.vue.js +0 -7
  360. package/dist/components/Content/Introduction/Description.vue2.js +0 -72
  361. package/dist/components/Content/Introduction/Introduction.vue.d.ts +0 -13
  362. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +0 -1
  363. package/dist/components/Content/Introduction/Introduction.vue.js +0 -7
  364. package/dist/components/Content/Introduction/Introduction.vue2.js +0 -113
  365. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts +0 -25
  366. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts.map +0 -1
  367. package/dist/components/Content/Introduction/IntroductionSection.vue.js +0 -7
  368. package/dist/components/Content/Introduction/IntroductionSection.vue2.js +0 -159
  369. package/dist/components/Content/Introduction/index.d.ts +0 -2
  370. package/dist/components/Content/Introduction/index.d.ts.map +0 -1
  371. package/dist/features/base-url/BaseUrl.vue.d.ts.map +0 -1
  372. package/dist/features/base-url/BaseUrl.vue.js +0 -56
  373. package/dist/features/base-url/BaseUrl.vue2.js +0 -4
  374. package/dist/features/base-url/index.d.ts +0 -2
  375. package/dist/features/base-url/index.d.ts.map +0 -1
  376. package/dist/features/download-link/DownloadLink.vue.d.ts.map +0 -1
  377. package/dist/features/download-link/DownloadLink.vue.js +0 -7
  378. package/dist/features/download-link/DownloadLink.vue2.js +0 -61
  379. package/dist/features/download-link/index.d.ts +0 -3
  380. package/dist/features/download-link/index.d.ts.map +0 -1
  381. package/dist/features/download-link/openapi-version-symbol.d.ts +0 -2
  382. package/dist/features/download-link/openapi-version-symbol.d.ts.map +0 -1
  383. package/dist/features/download-link/openapi-version-symbol.js +0 -4
  384. package/dist/v2/events/definitions.d.ts +0 -44
  385. package/dist/v2/events/definitions.d.ts.map +0 -1
  386. package/dist/v2/events/definitions.js +0 -7
  387. package/dist/v2/events/index.d.ts +0 -3
  388. package/dist/v2/events/index.d.ts.map +0 -1
  389. package/dist/v2/events/listeners.d.ts +0 -8
  390. package/dist/v2/events/listeners.d.ts.map +0 -1
  391. package/dist/v2/events/listeners.js +0 -15
  392. /package/dist/{components/Content/ClientLibraries/ClientLibraries.vue3.js → v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue3.js} +0 -0
  393. /package/dist/{components/Content/ClientLibraries/ClientSelector.vue3.js → v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue3.js} +0 -0
  394. /package/dist/{components/Content/Introduction/Description.vue3.js → v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue3.js} +0 -0
  395. /package/dist/{components/Content/Introduction/Introduction.vue3.js → v2/blocks/scalar-client-selector-block/components/ClientSelector.vue3.js} +0 -0
  396. /package/dist/{components/Content/ClientLibraries → v2/blocks/scalar-client-selector-block/helpers}/featured-clients.js +0 -0
  397. /package/dist/{features/download-link → v2/blocks/scalar-info-block/components}/DownloadLink.vue3.js +0 -0
  398. /package/dist/{components/Content/Introduction/IntroductionSection.vue3.js → v2/blocks/scalar-info-block/components/InfoDescription.vue3.js} +0 -0
@@ -1,19 +1,20 @@
1
- import { defineComponent as E, inject as $, computed as u, createBlock as c, createCommentVNode as m, openBlock as l, unref as s, withCtx as p, createElementVNode as A, normalizeClass as v, createElementBlock as d, createVNode as h, withDirectives as w, createTextVNode as f, toDisplayString as g, vShow as C, normalizeStyle as U, Fragment as y } from "vue";
2
- import { Disclosure as q, DisclosureButton as T, DisclosurePanel as F } from "@headlessui/vue";
3
- import { ScalarMarkdown as X, ScalarIcon as b } from "@scalar/components";
1
+ import { defineComponent as I, inject as E, computed as u, createBlock as c, createCommentVNode as d, openBlock as i, unref as s, withCtx as p, createElementVNode as C, normalizeClass as v, createElementBlock as m, createVNode as h, withDirectives as w, createTextVNode as f, toDisplayString as g, vShow as R, normalizeStyle as $, Fragment as y } from "vue";
2
+ import { Disclosure as U, DisclosureButton as T, DisclosurePanel as X } from "@headlessui/vue";
3
+ import { ScalarMarkdown as G, ScalarIcon as b } from "@scalar/components";
4
4
  import j from "../../ScreenReader.vue.js";
5
- import { DISCRIMINATOR_CONTEXT as G } from "../../../hooks/useDiscriminator.js";
6
- import { isTypeObject as k } from "./helpers/is-type-object.js";
7
- import J from "./SchemaHeading.vue.js";
8
- import K from "./SchemaObjectProperties.vue.js";
9
- import L from "./SchemaProperty.vue.js";
10
- const Q = {
5
+ import { useConfig as J } from "../../../hooks/useConfig.js";
6
+ import { DISCRIMINATOR_CONTEXT as K } from "../../../hooks/useDiscriminator.js";
7
+ import { isTypeObject as P } from "./helpers/is-type-object.js";
8
+ import L from "./SchemaHeading.vue.js";
9
+ import Q from "./SchemaObjectProperties.vue.js";
10
+ import Y from "./SchemaProperty.vue.js";
11
+ const Z = {
11
12
  key: 0,
12
13
  class: "schema-card-description"
13
- }, Y = {
14
+ }, W = {
14
15
  key: 0,
15
16
  class: "schema-properties"
16
- }, oe = /* @__PURE__ */ E({
17
+ }, ne = /* @__PURE__ */ I({
17
18
  __name: "Schema",
18
19
  props: {
19
20
  value: { type: [Object, Boolean] },
@@ -32,67 +33,67 @@ const Q = {
32
33
  breadcrumb: {}
33
34
  },
34
35
  emits: ["update:modelValue"],
35
- setup(z, { emit: I }) {
36
- const r = z, R = I, o = $(G, null), N = u(
36
+ setup(z, { emit: q }) {
37
+ const l = z, F = q, k = J(), o = E(K, null), N = u(
37
38
  () => {
38
39
  var e;
39
- return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.discriminatorMapping) || r.discriminatorMapping || {};
40
+ return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.discriminatorMapping) || l.discriminatorMapping || {};
40
41
  }
41
- ), M = u(
42
+ ), S = u(
42
43
  () => {
43
44
  var e;
44
- return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.discriminatorPropertyName) || r.discriminatorPropertyName || "";
45
+ return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.discriminatorPropertyName) || l.discriminatorPropertyName || "";
45
46
  }
46
- ), P = u(
47
+ ), M = u(
47
48
  () => {
48
49
  var e;
49
- return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.selectedType) || r.discriminator;
50
+ return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.selectedType) || l.discriminator;
50
51
  }
51
52
  ), a = u(() => {
52
- var i;
53
- const e = (i = o == null ? void 0 : o.value) == null ? void 0 : i.mergedSchema, n = r.value;
54
- return e && r.level === 0 && r.hasDiscriminator && k(n) && k(e) ? e : r.value;
55
- }), S = u(() => !(r.noncollapsible || r.level === 0)), B = u(() => {
53
+ var r;
54
+ const e = (r = o == null ? void 0 : o.value) == null ? void 0 : r.mergedSchema, n = l.value;
55
+ return e && l.level === 0 && l.hasDiscriminator && P(n) && P(e) ? e : l.value;
56
+ }), B = u(() => !(l.noncollapsible || l.level === 0)), D = u(() => {
56
57
  var e, n;
57
58
  if ((e = a.value) != null && e.allOf && Array.isArray(a.value.allOf) && // Because we don't want it to show in models
58
- r.name === "Request Body") {
59
+ l.name === "Request Body") {
59
60
  if (a.value.description)
60
61
  return a.value.description;
61
- const i = a.value.allOf.find(
62
+ const r = a.value.allOf.find(
62
63
  (t) => t.description && typeof t.description == "string"
63
64
  );
64
- if (i != null && i.description)
65
- return i.description;
65
+ if (r != null && r.description)
66
+ return r.description;
66
67
  }
67
- return !((n = a.value) != null && n.description) || typeof a.value.description != "string" || a.value.oneOf || a.value.anyOf || a.value.enum || !a.value.properties && !a.value.patternProperties && !a.value.additionalProperties || r.level === 0 ? null : a.value.description;
68
- }), D = (e) => r.noncollapsible && e.stopPropagation(), O = (e) => {
69
- R("update:modelValue", e);
68
+ return !((n = a.value) != null && n.description) || typeof a.value.description != "string" || a.value.oneOf || a.value.anyOf || a.value.enum || !a.value.properties && !a.value.patternProperties && !a.value.additionalProperties || l.level === 0 ? null : a.value.description;
69
+ }), O = (e) => l.noncollapsible && e.stopPropagation(), H = (e) => {
70
+ F("update:modelValue", e);
70
71
  };
71
- return (e, n) => typeof e.value == "object" && Object.keys(e.value).length ? (l(), c(s(q), {
72
+ return (e, n) => typeof e.value == "object" && Object.keys(e.value).length ? (i(), c(s(U), {
72
73
  key: 0,
73
74
  defaultOpen: e.noncollapsible
74
75
  }, {
75
- default: p(({ open: i }) => [
76
- A("div", {
76
+ default: p(({ open: r }) => [
77
+ C("div", {
77
78
  class: v(["schema-card", [
78
79
  `schema-card--level-${e.level}`,
79
- { "schema-card--compact": e.compact, "schema-card--open": i },
80
- { "border-t": e.additionalProperties && i }
80
+ { "schema-card--compact": e.compact, "schema-card--open": r },
81
+ { "border-t": e.additionalProperties && r }
81
82
  ]])
82
83
  }, [
83
- B.value ? (l(), d("div", Q, [
84
- h(s(X), { value: B.value }, null, 8, ["value"])
85
- ])) : m("", !0),
86
- A("div", {
84
+ D.value ? (i(), m("div", Z, [
85
+ h(s(G), { value: D.value }, null, 8, ["value"])
86
+ ])) : d("", !0),
87
+ C("div", {
87
88
  class: v(["schema-properties", {
88
- "schema-properties-open": i
89
+ "schema-properties-open": r
89
90
  }])
90
91
  }, [
91
- e.additionalProperties ? w((l(), d("div", Y, [
92
+ e.additionalProperties ? w((i(), m("div", W, [
92
93
  h(s(T), {
93
94
  as: "button",
94
95
  class: "schema-card-title schema-card-title--compact",
95
- onClickCapture: D
96
+ onClickCapture: O
96
97
  }, {
97
98
  default: p(() => [
98
99
  h(s(b), {
@@ -101,55 +102,55 @@ const Q = {
101
102
  size: "sm"
102
103
  }),
103
104
  n[0] || (n[0] = f(" Show additional properties ")),
104
- e.name ? (l(), c(j, { key: 0 }, {
105
+ e.name ? (i(), c(j, { key: 0 }, {
105
106
  default: p(() => [
106
107
  f("for " + g(e.name), 1)
107
108
  ]),
108
109
  _: 1
109
- })) : m("", !0)
110
+ })) : d("", !0)
110
111
  ]),
111
112
  _: 1,
112
113
  __: [0]
113
114
  })
114
115
  ], 512)), [
115
- [C, !i]
116
- ]) : S.value ? w((l(), c(s(T), {
116
+ [R, !r]
117
+ ]) : B.value ? w((i(), c(s(T), {
117
118
  key: 1,
118
119
  as: e.noncollapsible ? "div" : "button",
119
120
  class: v(["schema-card-title", { "schema-card-title--compact": e.compact }]),
120
- style: U({
121
+ style: $({
121
122
  top: `calc(var(--refs-header-height) + calc(var(--schema-title-height) * ${e.level}))`
122
123
  }),
123
- onClickCapture: D
124
+ onClickCapture: O
124
125
  }, {
125
126
  default: p(() => {
126
- var t, H, V;
127
+ var t, V, A;
127
128
  return [
128
- e.compact ? (l(), d(y, { key: 0 }, [
129
+ e.compact ? (i(), m(y, { key: 0 }, [
129
130
  h(s(b), {
130
- class: v(["schema-card-title-icon", { "schema-card-title-icon--open": i }]),
131
+ class: v(["schema-card-title-icon", { "schema-card-title-icon--open": r }]),
131
132
  icon: "Add",
132
133
  size: "sm"
133
134
  }, null, 8, ["class"]),
134
- i ? (l(), d(y, { key: 0 }, [
135
+ r ? (i(), m(y, { key: 0 }, [
135
136
  f(" Hide " + g(((t = e.value) == null ? void 0 : t.title) ?? "Child Attributes"), 1)
136
- ], 64)) : (l(), d(y, { key: 1 }, [
137
- f(" Show " + g(((H = e.value) == null ? void 0 : H.title) ?? "Child Attributes"), 1)
137
+ ], 64)) : (i(), m(y, { key: 1 }, [
138
+ f(" Show " + g(((V = e.value) == null ? void 0 : V.title) ?? "Child Attributes"), 1)
138
139
  ], 64)),
139
- e.name ? (l(), c(j, { key: 2 }, {
140
+ e.name ? (i(), c(j, { key: 2 }, {
140
141
  default: p(() => [
141
142
  f("for " + g(e.name), 1)
142
143
  ]),
143
144
  _: 1
144
- })) : m("", !0)
145
- ], 64)) : (l(), d(y, { key: 1 }, [
145
+ })) : d("", !0)
146
+ ], 64)) : (i(), m(y, { key: 1 }, [
146
147
  h(s(b), {
147
- class: v(["schema-card-title-icon", { "schema-card-title-icon--open": i }]),
148
+ class: v(["schema-card-title-icon", { "schema-card-title-icon--open": r }]),
148
149
  icon: "Add",
149
150
  size: "sm"
150
151
  }, null, 8, ["class"]),
151
- h(J, {
152
- name: ((V = e.value) == null ? void 0 : V.title) ?? e.name,
152
+ h(L, {
153
+ name: ((A = e.value) == null ? void 0 : A.title) ?? e.name,
153
154
  value: e.value
154
155
  }, null, 8, ["name", "value"])
155
156
  ], 64))
@@ -157,58 +158,60 @@ const Q = {
157
158
  }),
158
159
  _: 2
159
160
  }, 1032, ["as", "class", "style"])), [
160
- [C, !e.hideHeading && !(e.noncollapsible && e.compact)]
161
- ]) : m("", !0),
162
- !e.additionalProperties || i ? (l(), c(s(F), {
161
+ [R, !e.hideHeading && !(e.noncollapsible && e.compact)]
162
+ ]) : d("", !0),
163
+ !e.additionalProperties || r ? (i(), c(s(X), {
163
164
  key: 2,
164
165
  as: "ul",
165
- static: !S.value
166
+ static: !B.value
166
167
  }, {
167
168
  default: p(() => {
168
169
  var t;
169
170
  return [
170
- s(k)(a.value) ? (l(), c(K, {
171
+ s(P)(a.value) ? (i(), c(Q, {
171
172
  key: 0,
172
173
  breadcrumb: e.breadcrumb,
173
- schema: a.value,
174
174
  compact: e.compact,
175
+ discriminator: M.value,
176
+ discriminatorMapping: N.value,
177
+ discriminatorPropertyName: S.value,
178
+ hasDiscriminator: e.hasDiscriminator,
175
179
  hideHeading: e.hideHeading,
176
- level: e.level + 1,
177
180
  hideModelNames: e.hideModelNames,
181
+ level: e.level + 1,
182
+ orderRequiredPropertiesFirst: s(k).orderRequiredPropertiesFirst,
183
+ orderSchemaPropertiesBy: s(k).orderSchemaPropertiesBy,
184
+ schema: a.value,
178
185
  schemas: e.schemas,
179
- discriminator: P.value,
180
- discriminatorMapping: N.value,
181
- discriminatorPropertyName: M.value,
182
- hasDiscriminator: e.hasDiscriminator,
183
- "onUpdate:modelValue": O
184
- }, null, 8, ["breadcrumb", "schema", "compact", "hideHeading", "level", "hideModelNames", "schemas", "discriminator", "discriminatorMapping", "discriminatorPropertyName", "hasDiscriminator"])) : (l(), d(y, { key: 1 }, [
185
- a.value ? (l(), c(L, {
186
+ "onUpdate:modelValue": H
187
+ }, null, 8, ["breadcrumb", "compact", "discriminator", "discriminatorMapping", "discriminatorPropertyName", "hasDiscriminator", "hideHeading", "hideModelNames", "level", "orderRequiredPropertiesFirst", "orderSchemaPropertiesBy", "schema", "schemas"])) : (i(), m(y, { key: 1 }, [
188
+ a.value ? (i(), c(Y, {
186
189
  key: 0,
187
190
  breadcrumb: e.breadcrumb,
188
191
  compact: e.compact,
192
+ discriminatorMapping: N.value,
193
+ discriminatorPropertyName: S.value,
189
194
  hideHeading: e.hideHeading,
190
195
  hideModelNames: e.hideModelNames,
191
196
  level: e.level,
197
+ modelValue: M.value,
192
198
  name: a.value.name,
193
199
  schemas: e.schemas,
194
200
  value: ((t = e.value.discriminator) == null ? void 0 : t.propertyName) === e.name ? e.value : a.value,
195
- discriminatorMapping: N.value,
196
- discriminatorPropertyName: M.value,
197
- modelValue: P.value,
198
- "onUpdate:modelValue": O
199
- }, null, 8, ["breadcrumb", "compact", "hideHeading", "hideModelNames", "level", "name", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"])) : m("", !0)
201
+ "onUpdate:modelValue": H
202
+ }, null, 8, ["breadcrumb", "compact", "discriminatorMapping", "discriminatorPropertyName", "hideHeading", "hideModelNames", "level", "modelValue", "name", "schemas", "value"])) : d("", !0)
200
203
  ], 64))
201
204
  ];
202
205
  }),
203
206
  _: 1
204
- }, 8, ["static"])) : m("", !0)
207
+ }, 8, ["static"])) : d("", !0)
205
208
  ], 2)
206
209
  ], 2)
207
210
  ]),
208
211
  _: 1
209
- }, 8, ["defaultOpen"])) : m("", !0);
212
+ }, 8, ["defaultOpen"])) : d("", !0);
210
213
  }
211
214
  });
212
215
  export {
213
- oe as default
216
+ ne as default
214
217
  };
@@ -10,6 +10,6 @@ type __VLS_Props = {
10
10
  hideHeading?: boolean;
11
11
  breadcrumb?: string[];
12
12
  };
13
- 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, {}, HTMLDivElement>;
13
+ 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>;
14
14
  export default _default;
15
15
  //# sourceMappingURL=SchemaComposition.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AAoQA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAIjE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,8BAA8B,CAAA;AAKrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;AAiTF,wBAOG"}
1
+ {"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AAoQA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAIjE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,8BAA8B,CAAA;AAGrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;AAgXF,wBAMG"}
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaDiscriminator.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaDiscriminator.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAIpE,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;AAgIF,wBAQG"}
1
+ {"version":3,"file":"SchemaDiscriminator.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaDiscriminator.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAEpE,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;AAuHF,wBAOG"}
@@ -2,6 +2,6 @@ type __VLS_Props = {
2
2
  label: string;
3
3
  description?: string;
4
4
  };
5
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
7
7
  //# sourceMappingURL=SchemaEnumPropertyItem.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaEnumPropertyItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaEnumPropertyItem.vue"],"names":[],"mappings":"AAoGA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;;AAsFF,wBAOG"}
1
+ {"version":3,"file":"SchemaEnumPropertyItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaEnumPropertyItem.vue"],"names":[],"mappings":"AAkGA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;;AA4EF,wBAMG"}
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaEnumValues.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaEnumValues.vue"],"names":[],"mappings":"AA6PA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,GAAG,EAAE,CAAA;IACd,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;KAAE,CAAA;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;IACxD,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;IACzD,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAGvB,KAAK,WAAW,GAAG;IACjB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,4DAA4D;IAC5D,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAC;;AA+SF,wBAMG"}
1
+ {"version":3,"file":"SchemaEnumValues.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaEnumValues.vue"],"names":[],"mappings":"AA2PA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,GAAG,EAAE,CAAA;IACd,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;KAAE,CAAA;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;IACxD,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;IACzD,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAGvB,KAAK,WAAW,GAAG;IACjB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,4DAA4D;IAC5D,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAC;;AAuTF,wBAMG"}
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaHeading.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAKxD,KAAK,WAAW,GAAG;IACjB,KAAK,EACD,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB,CAAA;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC;;AAuGF,wBAMG"}
1
+ {"version":3,"file":"SchemaHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaHeading.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAGxD,KAAK,WAAW,GAAG;IACjB,KAAK,EACD,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB,CAAA;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC;;AAsFF,wBAMG"}
@@ -1,4 +1,5 @@
1
1
  import type { OpenAPIV3_1 } from '@scalar/openapi-types';
2
+ import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
2
3
  import type { Schemas } from '../../../features/Operation/types/schemas';
3
4
  type __VLS_Props = {
4
5
  schema: OpenAPIV3_1.SchemaObject;
@@ -10,6 +11,8 @@ type __VLS_Props = {
10
11
  discriminator?: string;
11
12
  discriminatorMapping?: Record<string, string>;
12
13
  discriminatorPropertyName?: string;
14
+ orderSchemaPropertiesBy?: ApiReferenceConfiguration['orderSchemaPropertiesBy'];
15
+ orderRequiredPropertiesFirst?: ApiReferenceConfiguration['orderRequiredPropertiesFirst'];
13
16
  hasDiscriminator?: boolean;
14
17
  breadcrumb?: string[];
15
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaObjectProperties.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaObjectProperties.vue"],"names":[],"mappings":"AAAA,OAmMO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAGxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAMjE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,WAAW,CAAC,YAAY,CAAA;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;;;;;AAgQF,wBAOG"}
1
+ {"version":3,"file":"SchemaObjectProperties.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaObjectProperties.vue"],"names":[],"mappings":"AAAA,OAiNO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAG5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAIjE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,WAAW,CAAC,YAAY,CAAA;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,uBAAuB,CAAC,EAAE,yBAAyB,CAAC,yBAAyB,CAAC,CAAA;IAC9E,4BAA4B,CAAC,EAAE,yBAAyB,CAAC,8BAA8B,CAAC,CAAA;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;;;;;AAyTF,wBAOG"}
@@ -1,6 +1,6 @@
1
- import { defineComponent as V, computed as k, createElementBlock as d, openBlock as a, Fragment as l, createCommentVNode as c, createBlock as p, renderList as y } from "vue";
1
+ import { defineComponent as V, computed as S, createElementBlock as d, openBlock as a, Fragment as l, createCommentVNode as c, createBlock as p, renderList as g } from "vue";
2
2
  import h from "./SchemaProperty.vue.js";
3
- const j = /* @__PURE__ */ V({
3
+ const B = /* @__PURE__ */ V({
4
4
  __name: "SchemaObjectProperties",
5
5
  props: {
6
6
  schema: { type: [Object, Boolean] },
@@ -12,93 +12,101 @@ const j = /* @__PURE__ */ V({
12
12
  discriminator: {},
13
13
  discriminatorMapping: {},
14
14
  discriminatorPropertyName: {},
15
+ orderSchemaPropertiesBy: { default: "alpha" },
16
+ orderRequiredPropertiesFirst: { default: !0 },
15
17
  hasDiscriminator: { type: Boolean },
16
18
  breadcrumb: {}
17
19
  },
18
20
  emits: ["update:modelValue"],
19
- setup(s, { emit: v }) {
20
- const P = v, M = k(() => {
21
- if (!s.schema.properties)
21
+ setup(i, { emit: v }) {
22
+ const P = v, f = S(() => {
23
+ if (!i.schema.properties)
22
24
  return [];
23
- const e = Object.keys(s.schema.properties), t = new Set(s.schema.required || []);
24
- return e.sort((r, i) => {
25
- const m = t.has(r), o = t.has(i);
26
- return m && !o ? -1 : !m && o ? 1 : r.localeCompare(i);
25
+ const e = Object.keys(i.schema.properties), t = new Set(i.schema.required || []);
26
+ return e.sort((r, m) => {
27
+ const o = t.has(r), s = t.has(m);
28
+ if (i.orderRequiredPropertiesFirst) {
29
+ if (o && !s)
30
+ return -1;
31
+ if (!o && s)
32
+ return 1;
33
+ }
34
+ return i.orderSchemaPropertiesBy === "alpha" ? r.localeCompare(m) : 0;
27
35
  });
28
36
  }), n = (e) => {
29
37
  P("update:modelValue", e);
30
- }, f = (e) => typeof e == "object" && typeof e["x-additionalPropertiesName"] == "string" && e["x-additionalPropertiesName"].trim().length > 0 ? `${e["x-additionalPropertiesName"].trim()}*` : "propertyName*", u = (e) => e === !0 || typeof e == "object" && Object.keys(e).length === 0 || typeof e != "object" || !("type" in e) ? {
38
+ }, M = (e) => typeof e == "object" && typeof e["x-additionalPropertiesName"] == "string" && e["x-additionalPropertiesName"].trim().length > 0 ? `${e["x-additionalPropertiesName"].trim()}*` : "propertyName*", u = (e) => e === !0 || typeof e == "object" && Object.keys(e).length === 0 || typeof e != "object" || !("type" in e) ? {
31
39
  type: "anything",
32
40
  ...typeof e == "object" ? e : {}
33
41
  } : e;
34
42
  return (e, t) => (a(), d(l, null, [
35
- e.schema.properties ? (a(!0), d(l, { key: 0 }, y(M.value, (r) => {
36
- var i, m, o, N, b, g;
43
+ e.schema.properties ? (a(!0), d(l, { key: 0 }, g(f.value, (r) => {
44
+ var m, o, s, N, b, y;
37
45
  return a(), p(h, {
38
46
  key: r,
39
47
  breadcrumb: e.breadcrumb,
40
48
  compact: e.compact,
49
+ discriminatorMapping: ((m = e.schema.discriminator) == null ? void 0 : m.mapping) || e.discriminatorMapping,
50
+ discriminatorPropertyName: ((o = e.schema.discriminator) == null ? void 0 : o.propertyName) || e.discriminatorPropertyName,
41
51
  hideHeading: e.hideHeading,
52
+ hideModelNames: e.hideModelNames,
53
+ isDiscriminator: r === (((s = e.schema.discriminator) == null ? void 0 : s.propertyName) || e.discriminatorPropertyName),
42
54
  level: e.level,
55
+ modelValue: e.discriminator,
43
56
  name: r,
44
- hideModelNames: e.hideModelNames,
45
- required: ((i = e.schema.required) == null ? void 0 : i.includes(r)) || ((m = e.schema.properties[r]) == null ? void 0 : m.required) === !0,
46
- schemas: e.schemas,
57
+ required: ((N = e.schema.required) == null ? void 0 : N.includes(r)) || ((b = e.schema.properties[r]) == null ? void 0 : b.required) === !0,
47
58
  resolvedSchema: e.schema.properties[r],
59
+ schemas: e.schemas,
48
60
  value: {
49
61
  ...e.schema.properties[r],
50
62
  parent: e.schema,
51
- isDiscriminator: r === e.discriminatorPropertyName || ((o = e.schema.discriminator) == null ? void 0 : o.propertyName) === r
63
+ isDiscriminator: r === e.discriminatorPropertyName || ((y = e.schema.discriminator) == null ? void 0 : y.propertyName) === r
52
64
  },
53
- discriminatorMapping: ((N = e.schema.discriminator) == null ? void 0 : N.mapping) || e.discriminatorMapping,
54
- discriminatorPropertyName: ((b = e.schema.discriminator) == null ? void 0 : b.propertyName) || e.discriminatorPropertyName,
55
- isDiscriminator: r === (((g = e.schema.discriminator) == null ? void 0 : g.propertyName) || e.discriminatorPropertyName),
56
- modelValue: e.discriminator,
57
65
  "onUpdate:modelValue": n
58
- }, null, 8, ["breadcrumb", "compact", "hideHeading", "level", "name", "hideModelNames", "required", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "isDiscriminator", "modelValue"]);
66
+ }, null, 8, ["breadcrumb", "compact", "discriminatorMapping", "discriminatorPropertyName", "hideHeading", "hideModelNames", "isDiscriminator", "level", "modelValue", "name", "required", "resolvedSchema", "schemas", "value"]);
59
67
  }), 128)) : c("", !0),
60
- e.schema.patternProperties ? (a(!0), d(l, { key: 1 }, y(Object.keys(e.schema.patternProperties), (r) => (a(), p(h, {
61
- breadcrumb: e.breadcrumb,
68
+ e.schema.patternProperties ? (a(!0), d(l, { key: 1 }, g(Object.keys(e.schema.patternProperties), (r) => (a(), p(h, {
62
69
  key: r,
63
- variant: "patternProperties",
70
+ breadcrumb: e.breadcrumb,
64
71
  compact: e.compact,
72
+ discriminatorMapping: e.discriminatorMapping,
73
+ discriminatorPropertyName: e.discriminatorPropertyName,
65
74
  hideHeading: e.hideHeading,
75
+ hideModelNames: e.hideModelNames,
76
+ isDiscriminator: !1,
66
77
  level: e.level,
78
+ modelValue: e.discriminator,
67
79
  name: r,
68
- hideModelNames: e.hideModelNames,
69
- schemas: e.schemas,
70
80
  resolvedSchema: e.schema.patternProperties[r],
81
+ schemas: e.schemas,
71
82
  value: {
72
83
  ...e.schema.patternProperties[r]
73
84
  },
74
- discriminatorMapping: e.discriminatorMapping,
75
- discriminatorPropertyName: e.discriminatorPropertyName,
76
- isDiscriminator: !1,
77
- modelValue: e.discriminator,
85
+ variant: "patternProperties",
78
86
  "onUpdate:modelValue": n
79
- }, null, 8, ["breadcrumb", "compact", "hideHeading", "level", "name", "hideModelNames", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"]))), 128)) : c("", !0),
87
+ }, null, 8, ["breadcrumb", "compact", "discriminatorMapping", "discriminatorPropertyName", "hideHeading", "hideModelNames", "level", "modelValue", "name", "resolvedSchema", "schemas", "value"]))), 128)) : c("", !0),
80
88
  e.schema.additionalProperties ? (a(), p(h, {
81
89
  key: 2,
82
90
  breadcrumb: e.breadcrumb,
83
- variant: "additionalProperties",
84
91
  compact: e.compact,
85
- hideHeading: e.hideHeading,
86
- level: e.level,
87
- name: f(e.schema.additionalProperties),
88
- hideModelNames: e.hideModelNames,
89
- schemas: e.schemas,
90
- resolvedSchema: u(e.schema.additionalProperties),
91
- value: u(e.schema.additionalProperties),
92
92
  discriminatorMapping: e.discriminatorMapping,
93
93
  discriminatorPropertyName: e.discriminatorPropertyName,
94
+ hideHeading: e.hideHeading,
95
+ hideModelNames: e.hideModelNames,
94
96
  isDiscriminator: !1,
97
+ level: e.level,
95
98
  modelValue: e.discriminator,
99
+ name: M(e.schema.additionalProperties),
96
100
  noncollapsible: "",
101
+ resolvedSchema: u(e.schema.additionalProperties),
102
+ schemas: e.schemas,
103
+ value: u(e.schema.additionalProperties),
104
+ variant: "additionalProperties",
97
105
  "onUpdate:modelValue": n
98
- }, null, 8, ["breadcrumb", "compact", "hideHeading", "level", "name", "hideModelNames", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"])) : c("", !0)
106
+ }, null, 8, ["breadcrumb", "compact", "discriminatorMapping", "discriminatorPropertyName", "hideHeading", "hideModelNames", "level", "modelValue", "name", "resolvedSchema", "schemas", "value"])) : c("", !0)
99
107
  ], 64));
100
108
  }
101
109
  });
102
110
  export {
103
- j as default
111
+ B as default
104
112
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAuiBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAItD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAgBjE;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,sBAAsB,GAAG,mBAAmB,CAAA;IACtD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;;;;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;oBAGA,OAAO;kBADT,OAAO;;AAuiB1B,0BASG"}
1
+ {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAuiBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAItD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAcjE;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,sBAAsB,GAAG,mBAAmB,CAAA;IACtD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;;;;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;oBAGA,OAAO;kBADT,OAAO;;AAwnB1B,0BAQG"}
@@ -9,7 +9,7 @@ import _ from "./SchemaDiscriminator.vue.js";
9
9
  import x from "./SchemaEnumValues.vue.js";
10
10
  import ee from "./SchemaPropertyHeading.vue.js";
11
11
  import re from "../../Anchor/WithBreadcrumb.vue2.js";
12
- import ie from "../../../features/specification-extension/SpecificationExtension.vue.js";
12
+ import ie from "../../../features/specification-extension/SpecificationExtension.vue2.js";
13
13
  const ae = {
14
14
  key: 0,
15
15
  class: "property-name-pattern-properties"
@@ -1,16 +1,11 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLDivElement;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
8
4
  };
9
- 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>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
5
+ 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>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
7
  export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
8
+ type __VLS_WithSlots<T, S> = T & {
14
9
  new (): {
15
10
  $slots: S;
16
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDescription.vue"],"names":[],"mappings":"AAcA,iBAAS,cAAc;WAmCT,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":"SchemaPropertyDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDescription.vue"],"names":[],"mappings":"AAsBA,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;AAkB/C,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"}
@@ -2,21 +2,18 @@ type __VLS_Props = {
2
2
  truncate?: boolean;
3
3
  code?: boolean;
4
4
  };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- prefix?(_: {}): any;
9
- default?(_: {}): any;
10
- default?(_: {}): any;
11
- };
12
- refs: {};
13
- rootEl: HTMLSpanElement;
5
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
6
+ type __VLS_Slots = {} & {
7
+ prefix?: (props: typeof __VLS_1) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_3) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_5) => any;
14
12
  };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLSpanElement>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ 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>;
14
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
15
  export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
16
+ type __VLS_WithSlots<T, S> = T & {
20
17
  new (): {
21
18
  $slots: S;
22
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyDetail.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDetail.vue"],"names":[],"mappings":"AAgEA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAQF,iBAAS,cAAc;WAgET,OAAO,IAA6B;;wBAVtB,GAAG;yBACF,GAAG;yBACH,GAAG;;;;EAa/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,8SAOnB,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":"SchemaPropertyDetail.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDetail.vue"],"names":[],"mappings":"AA8DA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAqDF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAmB/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 +1 @@
1
- {"version":3,"file":"SchemaPropertyExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyExamples.vue"],"names":[],"mappings":"AA2JA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;AA4IF,wBAMG"}
1
+ {"version":3,"file":"SchemaPropertyExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyExamples.vue"],"names":[],"mappings":"AAyJA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;AAgKF,wBAMG"}