@scalar/api-reference 1.28.33 → 1.29.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 (227) hide show
  1. package/CHANGELOG.md +83 -0
  2. package/dist/browser/standalone.js +12818 -13331
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  5. package/dist/components/Anchor/Anchor.vue.js +2 -2
  6. package/dist/components/Anchor/Anchor.vue2.js +24 -22
  7. package/dist/components/ApiReferenceLayout.vue.d.ts +2 -2
  8. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  9. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  10. package/dist/components/ApiReferenceLayout.vue2.js +50 -50
  11. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  12. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +2 -2
  13. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +5 -5
  14. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts +1 -1
  15. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts.map +1 -1
  16. package/dist/components/Content/Content.vue.js +2 -2
  17. package/dist/components/Content/Content.vue2.js +31 -32
  18. package/dist/components/Content/Introduction/Introduction.vue.js +1 -1
  19. package/dist/components/Content/Introduction/Introduction.vue2.js +21 -21
  20. package/dist/components/Content/Lazy/Loading.vue.js +22 -22
  21. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  22. package/dist/components/Content/Models/Models.vue.js +2 -2
  23. package/dist/components/Content/Models/Models.vue2.js +17 -17
  24. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
  25. package/dist/components/Content/Models/ModelsAccordion.vue.js +2 -2
  26. package/dist/components/Content/Models/ModelsAccordion.vue2.js +14 -14
  27. package/dist/components/Content/Schema/Schema.preview.d.ts +98 -15
  28. package/dist/components/Content/Schema/Schema.preview.d.ts.map +1 -1
  29. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  31. package/dist/components/Content/Schema/Schema.vue2.js +2 -1
  32. package/dist/components/Content/Schema/{SchemaDiscriminator.vue.d.ts → SchemaComposition.vue.d.ts} +3 -2
  33. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -0
  34. package/dist/components/Content/Schema/SchemaComposition.vue.js +187 -0
  35. package/dist/components/Content/Schema/SchemaComposition.vue2.js +4 -0
  36. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -1
  37. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  38. package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
  39. package/dist/components/Content/Schema/SchemaProperty.vue2.js +31 -30
  40. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts +0 -1
  41. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts.map +1 -1
  42. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +3 -3
  43. package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +8 -9
  44. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  45. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  46. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +165 -146
  47. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts +1 -1
  48. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
  49. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +50 -40
  50. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts +3 -2
  51. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts.map +1 -1
  52. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.js +13 -13
  53. package/dist/components/Content/Schema/helpers/schema-composition.d.ts +12 -0
  54. package/dist/components/Content/Schema/helpers/schema-composition.d.ts.map +1 -0
  55. package/dist/components/Content/Schema/helpers/schema-composition.js +8 -0
  56. package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts +4 -0
  57. package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts.map +1 -0
  58. package/dist/components/Content/Tag/OperationsListItem.vue.js +1 -1
  59. package/dist/components/Content/Tag/OperationsListItem.vue2.js +1 -1
  60. package/dist/components/Content/Tag/TagAccordion.vue.js +2 -2
  61. package/dist/components/Content/Tag/TagAccordion.vue2.js +10 -10
  62. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  63. package/dist/components/Content/Tag/TagList.vue.js +8 -8
  64. package/dist/components/Content/Tag/TagSection.vue.d.ts.map +1 -1
  65. package/dist/components/Content/Tag/TagSection.vue.js +2 -2
  66. package/dist/components/Content/Tag/TagSection.vue2.js +8 -8
  67. package/dist/components/GettingStarted.vue.d.ts +2 -2
  68. package/dist/components/Layouts/Layouts.vue.d.ts +3 -0
  69. package/dist/components/Layouts/Layouts.vue.d.ts.map +1 -1
  70. package/dist/components/Layouts/Layouts.vue.js +14 -23
  71. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
  72. package/dist/components/Layouts/ModernLayout.vue.js +2 -2
  73. package/dist/components/Layouts/ModernLayout.vue2.js +51 -45
  74. package/dist/components/MobileHeader.vue.js +3 -3
  75. package/dist/components/Section/CompactSection.vue.js +2 -2
  76. package/dist/components/Section/CompactSection.vue2.js +4 -4
  77. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  78. package/dist/components/Section/Section.vue.js +1 -1
  79. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  80. package/dist/components/ShowMoreButton.vue.js +2 -2
  81. package/dist/components/Sidebar/Sidebar.vue.d.ts +1 -1
  82. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  83. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  84. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  85. package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
  86. package/dist/components/Sidebar/SidebarElement.vue.js +1 -1
  87. package/dist/components/Sidebar/SidebarElement.vue2.js +6 -6
  88. package/dist/components/SingleApiReference.vue.d.ts +1 -0
  89. package/dist/components/SingleApiReference.vue.d.ts.map +1 -1
  90. package/dist/components/SingleApiReference.vue.js +25 -22
  91. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts +1 -1
  92. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
  93. package/dist/features/ApiClientModal/ApiClientModal.vue.js +3 -3
  94. package/dist/features/ApiClientModal/index.d.ts +1 -1
  95. package/dist/features/ApiClientModal/index.d.ts.map +1 -1
  96. package/dist/features/ApiClientModal/useApiClient.d.ts +186 -146
  97. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  98. package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
  99. package/dist/features/BaseUrl/BaseUrl.vue.js +11 -10
  100. package/dist/features/DownloadLink/DownloadLink.vue.d.ts +1 -1
  101. package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
  102. package/dist/features/DownloadLink/DownloadLink.vue.js +1 -1
  103. package/dist/features/DownloadLink/DownloadLink.vue2.js +17 -17
  104. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  105. package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
  106. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +12 -12
  107. package/dist/features/Operation/Webhooks.vue.d.ts.map +1 -1
  108. package/dist/features/Operation/Webhooks.vue.js +2 -2
  109. package/dist/features/Operation/Webhooks.vue2.js +13 -13
  110. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  111. package/dist/features/Operation/components/ParameterListItem.vue.js +2 -2
  112. package/dist/features/Operation/components/ParameterListItem.vue2.js +18 -18
  113. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  114. package/dist/features/Operation/components/RequestBody.vue.js +2 -2
  115. package/dist/features/Operation/components/RequestBody.vue2.js +38 -32
  116. package/dist/features/Operation/hooks/useResponses.d.ts +1 -0
  117. package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -1
  118. package/dist/features/Operation/hooks/useResponses.js +13 -12
  119. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  120. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  121. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +1 -1
  122. package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
  123. package/dist/features/Operation/layouts/ModernLayout.vue2.js +1 -1
  124. package/dist/features/Search/SearchButton.vue.js +2 -2
  125. package/dist/features/Search/SearchButton.vue2.js +1 -1
  126. package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
  127. package/dist/features/Search/SearchModal.vue.js +2 -2
  128. package/dist/features/Search/SearchModal.vue2.js +1 -1
  129. package/dist/features/Search/useSearchIndex.d.ts +1 -1
  130. package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
  131. package/dist/features/Search/useSearchIndex.js +20 -21
  132. package/dist/helpers/{isMacOs.d.ts → is-mac-os.d.ts} +1 -1
  133. package/dist/helpers/is-mac-os.d.ts.map +1 -0
  134. package/dist/helpers/parse.d.ts.map +1 -1
  135. package/dist/helpers/parse.js +1 -1
  136. package/dist/helpers/{scrollToId.d.ts → scroll-to-id.d.ts} +1 -1
  137. package/dist/helpers/scroll-to-id.d.ts.map +1 -0
  138. package/dist/helpers/sleep.d.ts +0 -2
  139. package/dist/helpers/sleep.d.ts.map +1 -1
  140. package/dist/hooks/useNavState.d.ts.map +1 -1
  141. package/dist/hooks/useNavState.js +28 -28
  142. package/dist/hooks/useReactiveSpec.js +1 -1
  143. package/dist/hooks/useSidebar.d.ts.map +1 -1
  144. package/dist/hooks/useSidebar.js +45 -49
  145. package/dist/index.d.ts +3 -3
  146. package/dist/index.d.ts.map +1 -1
  147. package/dist/index.js +44 -43
  148. package/dist/legacy/fixtures/index.d.ts +1 -1
  149. package/dist/legacy/fixtures/index.d.ts.map +1 -1
  150. package/dist/legacy/helpers/index.d.ts +1 -1
  151. package/dist/legacy/helpers/index.d.ts.map +1 -1
  152. package/dist/libs/download.d.ts +9 -0
  153. package/dist/libs/download.d.ts.map +1 -0
  154. package/dist/libs/download.js +19 -0
  155. package/dist/{helpers/getLowestHeadingLevel.d.ts → libs/markdown.d.ts} +5 -1
  156. package/dist/libs/markdown.d.ts.map +1 -0
  157. package/dist/libs/markdown.js +18 -0
  158. package/dist/libs/openapi.d.ts +56 -0
  159. package/dist/libs/openapi.d.ts.map +1 -0
  160. package/dist/libs/openapi.js +102 -0
  161. package/dist/style.css +1 -1
  162. package/dist/types.d.ts +1 -45
  163. package/dist/types.d.ts.map +1 -1
  164. package/package.json +22 -27
  165. package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +0 -1
  166. package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +0 -7
  167. package/dist/components/Content/Schema/SchemaDiscriminator.vue2.js +0 -167
  168. package/dist/esm.js +0 -34
  169. package/dist/helpers/createEmptySpecification.d.ts +0 -8
  170. package/dist/helpers/createEmptySpecification.d.ts.map +0 -1
  171. package/dist/helpers/createEmptySpecification.js +0 -27
  172. package/dist/helpers/deepMerge.d.ts +0 -5
  173. package/dist/helpers/deepMerge.d.ts.map +0 -1
  174. package/dist/helpers/deepMerge.js +0 -8
  175. package/dist/helpers/generateParameters.d.ts +0 -6
  176. package/dist/helpers/generateParameters.d.ts.map +0 -1
  177. package/dist/helpers/get-request.d.ts +0 -59
  178. package/dist/helpers/get-request.d.ts.map +0 -1
  179. package/dist/helpers/getHeadingsFromMarkdown.d.ts +0 -6
  180. package/dist/helpers/getHeadingsFromMarkdown.d.ts.map +0 -1
  181. package/dist/helpers/getHeadingsFromMarkdown.js +0 -13
  182. package/dist/helpers/getLowestHeadingLevel.d.ts.map +0 -1
  183. package/dist/helpers/getLowestHeadingLevel.js +0 -7
  184. package/dist/helpers/getModels.d.ts +0 -7
  185. package/dist/helpers/getModels.d.ts.map +0 -1
  186. package/dist/helpers/getModels.js +0 -22
  187. package/dist/helpers/getVariableNames.d.ts +0 -5
  188. package/dist/helpers/getVariableNames.d.ts.map +0 -1
  189. package/dist/helpers/hasModels.d.ts +0 -3
  190. package/dist/helpers/hasModels.d.ts.map +0 -1
  191. package/dist/helpers/hasModels.js +0 -5
  192. package/dist/helpers/hasSecuritySchemes.d.ts +0 -3
  193. package/dist/helpers/hasSecuritySchemes.d.ts.map +0 -1
  194. package/dist/helpers/hasWebhooks.d.ts +0 -3
  195. package/dist/helpers/hasWebhooks.d.ts.map +0 -1
  196. package/dist/helpers/hasWebhooks.js +0 -4
  197. package/dist/helpers/index.d.ts +0 -17
  198. package/dist/helpers/index.d.ts.map +0 -1
  199. package/dist/helpers/isMacOs.d.ts.map +0 -1
  200. package/dist/helpers/mapFromObject.d.ts +0 -8
  201. package/dist/helpers/mapFromObject.d.ts.map +0 -1
  202. package/dist/helpers/mergeAllObjects.d.ts +0 -5
  203. package/dist/helpers/mergeAllObjects.d.ts.map +0 -1
  204. package/dist/helpers/scrollToId.d.ts.map +0 -1
  205. package/dist/helpers/specDownloads.d.ts +0 -7
  206. package/dist/helpers/specDownloads.d.ts.map +0 -1
  207. package/dist/helpers/specDownloads.js +0 -19
  208. package/dist/helpers/specHelpers.d.ts +0 -16
  209. package/dist/helpers/specHelpers.d.ts.map +0 -1
  210. package/dist/helpers/specHelpers.js +0 -36
  211. package/dist/helpers/waitFor.d.ts +0 -5
  212. package/dist/helpers/waitFor.d.ts.map +0 -1
  213. package/dist/hooks/index.d.ts +0 -5
  214. package/dist/hooks/index.d.ts.map +0 -1
  215. package/dist/legacy/helpers/encodeStringAsBase64.d.ts +0 -5
  216. package/dist/legacy/helpers/encodeStringAsBase64.d.ts.map +0 -1
  217. package/dist/legacy/index.d.ts +0 -5
  218. package/dist/legacy/index.d.ts.map +0 -1
  219. package/dist/legacy/types.d.ts +0 -94
  220. package/dist/legacy/types.d.ts.map +0 -1
  221. package/dist/libs/operation.d.ts +0 -15
  222. package/dist/libs/operation.d.ts.map +0 -1
  223. package/dist/libs/operation.js +0 -16
  224. package/dist/stores/index.d.ts +0 -2
  225. package/dist/stores/index.d.ts.map +0 -1
  226. /package/dist/helpers/{isMacOs.js → is-mac-os.js} +0 -0
  227. /package/dist/helpers/{scrollToId.js → scroll-to-id.js} +0 -0
@@ -2,33 +2,33 @@ import { defineComponent as D, computed as s, onMounted as I, createBlock as l,
2
2
  import L from "github-slugger";
3
3
  import { useConfig as V } from "../../../hooks/useConfig.js";
4
4
  import { useNavState as w } from "../../../hooks/useNavState.js";
5
- import H from "../../../features/DownloadLink/DownloadLink.vue.js";
6
- import B from "./Description.vue.js";
7
- import O from "../../Section/SectionContainer.vue.js";
8
- import U from "../../Section/Section.vue.js";
9
- import { DEFAULT_INTRODUCTION_SLUG as b } from "../../../hooks/useSidebar.js";
5
+ import { DEFAULT_INTRODUCTION_SLUG as H } from "../../../hooks/useSidebar.js";
6
+ import B from "../../../features/DownloadLink/DownloadLink.vue.js";
7
+ import O from "./Description.vue.js";
8
+ import U from "../../Section/SectionContainer.vue.js";
9
+ import b from "../../Section/Section.vue.js";
10
10
  import A from "../../Section/SectionContent.vue.js";
11
11
  import C from "../../Badge/Badge.vue.js";
12
12
  import E from "../../Section/SectionHeader.vue.js";
13
13
  import F from "../../Section/SectionHeaderTag.vue.js";
14
14
  import G from "../../Section/SectionColumns.vue.js";
15
- import T from "../../Section/SectionColumn.vue.js";
16
- import h from "../../SpecificationExtension/SpecificationExtension.vue.js";
15
+ import h from "../../Section/SectionColumn.vue.js";
16
+ import k from "../../SpecificationExtension/SpecificationExtension.vue.js";
17
17
  const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PURE__ */ D({
18
18
  __name: "Introduction",
19
19
  props: {
20
20
  info: {},
21
21
  parsedSpec: {}
22
22
  },
23
- setup(k) {
24
- const n = k, { getHeadingId: y } = w(), m = s(
23
+ setup(y) {
24
+ const n = y, { getHeadingId: N } = w(), m = s(
25
25
  () => {
26
26
  var e, r;
27
27
  return ((e = n.parsedSpec) == null ? void 0 : e.openapi) ?? ((r = n.parsedSpec) == null ? void 0 : r.swagger) ?? "";
28
28
  }
29
- ), N = new L(), $ = s(() => {
29
+ ), T = new L(), $ = s(() => {
30
30
  var e;
31
- return N.slug(((e = n.info) == null ? void 0 : e.title) ?? "");
31
+ return T.slug(((e = n.info) == null ? void 0 : e.title) ?? "");
32
32
  }), p = s(() => {
33
33
  var e, r;
34
34
  return typeof ((e = n.info) == null ? void 0 : e.version) == "string" ? n.info.version.toString().match(/^\d/) ? `v${n.info.version}` : n.info.version : typeof ((r = n.info) == null ? void 0 : r.version) == "number" ? `v${n.info.version}` : void 0;
@@ -36,12 +36,12 @@ const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PUR
36
36
  return I(() => {
37
37
  var e, r;
38
38
  return (r = (e = c.value).onLoaded) == null ? void 0 : r.call(e);
39
- }), (e, r) => (a(), l(o(O), null, {
39
+ }), (e, r) => (a(), l(o(U), null, {
40
40
  default: t(() => [
41
- i(o(U), {
41
+ i(o(b), {
42
42
  class: "introduction-section gap-12",
43
- id: o(y)({
44
- slug: o(b),
43
+ id: o(N)({
44
+ slug: o(H),
45
45
  depth: 1,
46
46
  value: "Introduction"
47
47
  })
@@ -81,18 +81,18 @@ const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PUR
81
81
  ]),
82
82
  _: 1
83
83
  }, 8, ["loading"]),
84
- i(H, { specTitle: $.value }, null, 8, ["specTitle"]),
84
+ i(B, { filename: $.value }, null, 8, ["filename"]),
85
85
  i(o(G), null, {
86
86
  default: t(() => [
87
- i(o(T), null, {
87
+ i(o(h), null, {
88
88
  default: t(() => [
89
- i(B, {
89
+ i(O, {
90
90
  value: e.info.description
91
91
  }, null, 8, ["value"])
92
92
  ]),
93
93
  _: 1
94
94
  }),
95
- e.$slots.aside ? (a(), l(o(T), { key: 0 }, {
95
+ e.$slots.aside ? (a(), l(o(h), { key: 0 }, {
96
96
  default: t(() => [
97
97
  _("div", R, [
98
98
  S(e.$slots, "aside", {}, void 0, !0)
@@ -103,8 +103,8 @@ const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PUR
103
103
  ]),
104
104
  _: 3
105
105
  }),
106
- i(o(h), { value: e.parsedSpec }, null, 8, ["value"]),
107
- i(o(h), { value: e.info }, null, 8, ["value"])
106
+ i(o(k), { value: e.parsedSpec }, null, 8, ["value"]),
107
+ i(o(k), { value: e.info }, null, 8, ["value"])
108
108
  ]),
109
109
  _: 3
110
110
  }, 8, ["loading"]),
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as E, ref as v, watch as H, onMounted as K, withDirectives as M, createElementBlock as f, openBlock as l, normalizeClass as j, createBlock as m, createCommentVNode as w, Fragment as g, renderList as T, unref as r, withCtx as d, createVNode as h, createTextVNode as A, toDisplayString as F, vShow as P } from "vue";
2
2
  import { lazyBus as q } from "./lazyBus.js";
3
- import G from "../Tag/TagSection.vue.js";
4
- import J from "../../../features/Operation/Operation.vue.js";
5
- import Q from "../../Section/SectionContainer.vue.js";
6
- import R from "../../Section/Section.vue.js";
7
- import U from "../../Section/SectionContent.vue.js";
8
- import X from "../../Section/SectionHeader.vue.js";
9
- import Y from "../../Anchor/Anchor.vue.js";
10
- import Z from "../../Section/SectionHeaderTag.vue.js";
11
- import ee from "../Schema/Schema.vue.js";
12
- import { useNavState as te } from "../../../hooks/useNavState.js";
13
- import { getModels as S } from "../../../helpers/getModels.js";
14
- import { scrollToId as O } from "../../../helpers/scrollToId.js";
3
+ import { scrollToId as O } from "../../../helpers/scroll-to-id.js";
4
+ import { useNavState as G } from "../../../hooks/useNavState.js";
5
+ import { getModels as S } from "../../../libs/openapi.js";
6
+ import J from "../Tag/TagSection.vue.js";
7
+ import Q from "../../../features/Operation/Operation.vue.js";
8
+ import R from "../../Section/SectionContainer.vue.js";
9
+ import U from "../../Section/Section.vue.js";
10
+ import X from "../../Section/SectionContent.vue.js";
11
+ import Y from "../../Section/SectionHeader.vue.js";
12
+ import Z from "../../Anchor/Anchor.vue.js";
13
+ import ee from "../../Section/SectionHeaderTag.vue.js";
14
+ import te from "../Schema/Schema.vue.js";
15
15
  const C = v(!1), ge = /* @__PURE__ */ E({
16
16
  __name: "Loading",
17
17
  props: {
@@ -21,7 +21,7 @@ const C = v(!1), ge = /* @__PURE__ */ E({
21
21
  parsedSpec: {}
22
22
  },
23
23
  setup(V) {
24
- const i = V, _ = v(!1), y = v([]), I = v([]), { getModelId: z, getSectionId: B, getTagId: N, hash: a, isIntersectionEnabled: b } = te(), L = v(
24
+ const i = V, _ = v(!1), y = v([]), I = v([]), { getModelId: z, getSectionId: B, getTagId: N, hash: a, isIntersectionEnabled: b } = G(), L = v(
25
25
  !C.value && i.layout !== "classic" && a.value
26
26
  );
27
27
  H(
@@ -86,14 +86,14 @@ const C = v(!1), ge = /* @__PURE__ */ E({
86
86
  (l(!0), f(g, null, T(y.value, (e, u) => (l(), f(g, {
87
87
  key: e.name + u
88
88
  }, [
89
- e.operations && e.operations.length > 0 ? (l(), m(r(G), {
89
+ e.operations && e.operations.length > 0 ? (l(), m(r(J), {
90
90
  key: 0,
91
91
  collection: t.collection,
92
92
  spec: t.parsedSpec,
93
93
  tag: e
94
94
  }, {
95
95
  default: d(() => [
96
- (l(!0), f(g, null, T(e.lazyOperations, (o) => (l(), m(r(J), {
96
+ (l(!0), f(g, null, T(e.lazyOperations, (o) => (l(), m(r(Q), {
97
97
  key: `${o.httpVerb}-${o.operationId}`,
98
98
  collection: t.collection,
99
99
  layout: t.layout,
@@ -104,26 +104,26 @@ const C = v(!1), ge = /* @__PURE__ */ E({
104
104
  _: 2
105
105
  }, 1032, ["collection", "spec", "tag"])) : w("", !0)
106
106
  ], 64))), 128)),
107
- I.value.length ? (l(), m(r(Q), { key: 0 }, {
107
+ I.value.length ? (l(), m(r(R), { key: 0 }, {
108
108
  default: d(() => [
109
- (l(!0), f(g, null, T(I.value, (e) => (l(), m(r(R), {
109
+ (l(!0), f(g, null, T(I.value, (e) => (l(), m(r(U), {
110
110
  key: e,
111
111
  label: e
112
112
  }, {
113
113
  default: d(() => {
114
114
  var u;
115
115
  return [
116
- (u = r(S)(t.parsedSpec)) != null && u[e] ? (l(), m(r(U), { key: 0 }, {
116
+ (u = r(S)(t.parsedSpec)) != null && u[e] ? (l(), m(r(X), { key: 0 }, {
117
117
  default: d(() => {
118
118
  var o;
119
119
  return [
120
- h(r(X), null, {
120
+ h(r(Y), null, {
121
121
  default: d(() => [
122
- h(r(Y), {
122
+ h(r(Z), {
123
123
  id: r(z)({ name: e })
124
124
  }, {
125
125
  default: d(() => [
126
- h(r(Z), { level: 2 }, {
126
+ h(r(ee), { level: 2 }, {
127
127
  default: d(() => {
128
128
  var c;
129
129
  return [
@@ -138,7 +138,7 @@ const C = v(!1), ge = /* @__PURE__ */ E({
138
138
  ]),
139
139
  _: 2
140
140
  }, 1024),
141
- h(r(ee), {
141
+ h(r(te), {
142
142
  name: e,
143
143
  noncollapsible: "",
144
144
  value: (o = r(S)(t.parsedSpec)) == null ? void 0 : o[e]
@@ -1 +1 @@
1
- {"version":3,"file":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"AAuHA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAiB9E,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;;AAqMF,wBAMG"}
1
+ {"version":3,"file":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"AAyHA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAmB9E,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;;AAqMF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Models.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2c898e03"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ce04f241"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,36 +1,36 @@
1
1
  import { defineComponent as y, useId as k, computed as u, createBlock as m, createCommentVNode as f, openBlock as r, unref as e, withCtx as l, createVNode as o, createElementVNode as M, createTextVNode as g, normalizeClass as I, createElementBlock as N, Fragment as C, renderList as L } from "vue";
2
2
  import { ScalarErrorBoundary as B } from "@scalar/components";
3
- import H from "../../ShowMoreButton.vue.js";
4
- import w from "../../Section/SectionContainer.vue.js";
5
- import E from "../../Section/Section.vue.js";
6
- import O from "../../Section/SectionHeader.vue.js";
3
+ import { useNavState as H } from "../../../hooks/useNavState.js";
4
+ import { useSidebar as w } from "../../../hooks/useSidebar.js";
5
+ import E from "../../ShowMoreButton.vue.js";
6
+ import O from "../../Section/SectionContainer.vue.js";
7
+ import V from "../../Section/Section.vue.js";
8
+ import z from "../../Section/SectionHeader.vue.js";
7
9
  import p from "../../Section/SectionHeaderTag.vue.js";
8
10
  import h from "../Lazy/Lazy.vue2.js";
9
- import V from "../../Section/CompactSection.vue.js";
10
- import z from "../Schema/Schema.vue.js";
11
- import A from "../Schema/SchemaHeading.vue.js";
12
- import { useSidebar as T } from "../../../hooks/useSidebar.js";
13
- import { useNavState as j } from "../../../hooks/useNavState.js";
11
+ import A from "../../Section/CompactSection.vue.js";
12
+ import T from "../Schema/Schema.vue.js";
13
+ import j from "../Schema/SchemaHeading.vue.js";
14
14
  const S = 10, U = /* @__PURE__ */ y({
15
15
  __name: "Models",
16
16
  props: {
17
17
  schemas: {}
18
18
  },
19
19
  setup(v) {
20
- const i = v, n = k(), { collapsedSidebarItems: _ } = T(), { getModelId: a } = j(), d = u(
20
+ const i = v, n = k(), { collapsedSidebarItems: _ } = w(), { getModelId: a } = H(), d = u(
21
21
  () => Object.keys(i.schemas ?? {}).length <= S || _[a()]
22
22
  ), b = u(() => {
23
23
  const t = Object.keys(i.schemas ?? {});
24
24
  return d.value ? t : t.slice(0, S);
25
25
  });
26
- return (t, c) => t.schemas ? (r(), m(e(w), {
26
+ return (t, c) => t.schemas ? (r(), m(e(O), {
27
27
  key: 0,
28
28
  id: "models"
29
29
  }, {
30
30
  default: l(() => [
31
- o(e(E), { "aria-labelledby": e(n) }, {
31
+ o(e(V), { "aria-labelledby": e(n) }, {
32
32
  default: l(() => [
33
- o(e(O), null, {
33
+ o(e(z), null, {
34
34
  default: l(() => [
35
35
  o(e(p), {
36
36
  id: e(n),
@@ -57,7 +57,7 @@ const S = 10, U = /* @__PURE__ */ y({
57
57
  isLazy: ""
58
58
  }, {
59
59
  default: l(() => [
60
- o(e(V), {
60
+ o(e(A), {
61
61
  id: e(a)({ name: s }),
62
62
  class: "models-list-item",
63
63
  label: s
@@ -65,7 +65,7 @@ const S = 10, U = /* @__PURE__ */ y({
65
65
  heading: l(() => [
66
66
  o(e(p), { level: 3 }, {
67
67
  default: l(() => [
68
- o(e(A), {
68
+ o(e(j), {
69
69
  name: t.schemas[s].title ?? s,
70
70
  value: t.schemas[s]
71
71
  }, null, 8, ["name", "value"])
@@ -76,7 +76,7 @@ const S = 10, U = /* @__PURE__ */ y({
76
76
  default: l(() => [
77
77
  o(e(B), null, {
78
78
  default: l(() => [
79
- o(e(z), {
79
+ o(e(T), {
80
80
  hideHeading: !0,
81
81
  noncollapsible: "",
82
82
  schemas: t.schemas,
@@ -92,7 +92,7 @@ const S = 10, U = /* @__PURE__ */ y({
92
92
  _: 2
93
93
  }, 1032, ["id"]))), 128))
94
94
  ], 2),
95
- d.value ? f("", !0) : (r(), m(H, {
95
+ d.value ? f("", !0) : (r(), m(E, {
96
96
  key: 0,
97
97
  id: e(a)(),
98
98
  class: "show-more-models"
@@ -1 +1 @@
1
- {"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAqGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAe9E,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;;AAqKF,wBAMG"}
1
+ {"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAsGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAgB9E,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;;AAqKF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ModelsAccordion.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-92646d2b"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ecb64ed7"]]);
5
5
  export {
6
- m as default
6
+ d as default
7
7
  };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as x, computed as A, createBlock as c, createCommentVNode as C, openBlock as t, unref as e, withCtx as o, createElementBlock as u, Fragment as v, renderList as k, createVNode as n, createTextVNode as N } from "vue";
2
- import y from "../../Section/SectionContainerAccordion.vue.js";
3
- import B from "../../Section/SectionAccordion.vue.js";
2
+ import { useNavState as y } from "../../../hooks/useNavState.js";
3
+ import B from "../../Section/SectionContainerAccordion.vue.js";
4
+ import H from "../../Section/SectionAccordion.vue.js";
4
5
  import S from "../Schema/SchemaProperty.vue.js";
5
- import H from "../../Anchor/Anchor.vue.js";
6
- import M from "../../Section/SectionHeaderTag.vue.js";
7
- import V from "../Schema/SchemaHeading.vue.js";
8
- import j from "../../Section/SectionHeader.vue.js";
9
- import { useNavState as O } from "../../../hooks/useNavState.js";
6
+ import M from "../../Anchor/Anchor.vue.js";
7
+ import V from "../../Section/SectionHeaderTag.vue.js";
8
+ import j from "../Schema/SchemaHeading.vue.js";
9
+ import O from "../../Section/SectionHeader.vue.js";
10
10
  const T = {
11
11
  key: 0,
12
12
  class: "properties"
@@ -19,13 +19,13 @@ const T = {
19
19
  const s = b, g = A(() => s.schemas ? Object.entries(s.schemas).map(([m, i]) => ({
20
20
  name: m,
21
21
  schema: i
22
- })) : []), { getModelId: a } = O();
23
- return (m, i) => s.schemas ? (t(), c(e(y), {
22
+ })) : []), { getModelId: a } = y();
23
+ return (m, i) => s.schemas ? (t(), c(e(B), {
24
24
  key: 0,
25
25
  class: "reference-models"
26
26
  }, {
27
27
  title: o(() => [
28
- n(e(j), { level: 2 }, {
28
+ n(e(O), { level: 2 }, {
29
29
  default: o(() => i[0] || (i[0] = [
30
30
  N("Models")
31
31
  ])),
@@ -33,20 +33,20 @@ const T = {
33
33
  })
34
34
  ]),
35
35
  default: o(() => [
36
- (t(!0), u(v, null, k(g.value, ({ name: l, schema: r }) => (t(), c(e(B), {
36
+ (t(!0), u(v, null, k(g.value, ({ name: l, schema: r }) => (t(), c(e(H), {
37
37
  id: e(a)({ name: l }),
38
38
  key: l,
39
39
  label: l
40
40
  }, {
41
41
  title: o(() => [
42
- n(e(H), {
42
+ n(e(M), {
43
43
  id: e(a)({ name: l }),
44
44
  class: "reference-models-anchor"
45
45
  }, {
46
46
  default: o(() => [
47
- n(e(M), { level: 3 }, {
47
+ n(e(V), { level: 3 }, {
48
48
  default: o(() => [
49
- n(e(V), {
49
+ n(e(j), {
50
50
  class: "reference-models-label",
51
51
  name: r.title ?? l,
52
52
  value: r
@@ -205,31 +205,114 @@ export declare const discriminatorsSchema: {
205
205
  name: string;
206
206
  noncollapsible: boolean;
207
207
  value: {
208
- anyOf: ({
209
- name: string;
208
+ type: string;
209
+ properties: {
210
+ foobar: {
211
+ type: string;
212
+ anyOf: ({
213
+ name: string;
214
+ type: string;
215
+ properties: {
216
+ type: {
217
+ type: string;
218
+ enum: string[];
219
+ };
220
+ fooProperty: {
221
+ type: string;
222
+ };
223
+ barProperty?: undefined;
224
+ };
225
+ } | {
226
+ name: string;
227
+ type: string;
228
+ properties: {
229
+ type: {
230
+ type: string;
231
+ enum: string[];
232
+ };
233
+ barProperty: {
234
+ type: string;
235
+ };
236
+ fooProperty?: undefined;
237
+ };
238
+ })[];
239
+ };
240
+ };
241
+ };
242
+ };
243
+ };
244
+ export declare const complexArrayDiscriminatorSchema: {
245
+ component: import("vue").DefineComponent<{
246
+ value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
247
+ level?: number;
248
+ name?: string;
249
+ compact?: boolean;
250
+ noncollapsible?: boolean;
251
+ hideHeading?: boolean;
252
+ additionalProperties?: boolean;
253
+ schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
254
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
255
+ value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
256
+ level?: number;
257
+ name?: string;
258
+ compact?: boolean;
259
+ noncollapsible?: boolean;
260
+ hideHeading?: boolean;
261
+ additionalProperties?: boolean;
262
+ schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
263
+ }> & Readonly<{}>, {
264
+ level: number;
265
+ noncollapsible: boolean;
266
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
267
+ props: {
268
+ name: string;
269
+ noncollapsible: boolean;
270
+ value: {
271
+ allOf: ({
210
272
  type: string;
211
273
  properties: {
212
- type: {
213
- type: string;
214
- enum: string[];
215
- };
216
- fooProperty: {
274
+ 'top-level-property': {
217
275
  type: string;
218
276
  };
219
- barProperty?: undefined;
277
+ 'top-level-array'?: undefined;
220
278
  };
221
279
  } | {
222
- name: string;
223
280
  type: string;
224
281
  properties: {
225
- type: {
226
- type: string;
227
- enum: string[];
228
- };
229
- barProperty: {
282
+ 'top-level-array': {
230
283
  type: string;
284
+ items: {
285
+ type: string;
286
+ oneOf: ({
287
+ name: string;
288
+ type: string;
289
+ properties: {
290
+ type: {
291
+ type: string;
292
+ enum: string[];
293
+ };
294
+ fooProperty: {
295
+ type: string;
296
+ };
297
+ barProperty?: undefined;
298
+ };
299
+ } | {
300
+ name: string;
301
+ type: string;
302
+ properties: {
303
+ type: {
304
+ type: string;
305
+ enum: string[];
306
+ };
307
+ barProperty: {
308
+ type: string;
309
+ };
310
+ fooProperty?: undefined;
311
+ };
312
+ })[];
313
+ };
231
314
  };
232
- fooProperty?: undefined;
315
+ 'top-level-property'?: undefined;
233
316
  };
234
317
  })[];
235
318
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.preview.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.preview.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAA;AAWD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO3B,CAAA;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWtB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBhC,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BhC,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D9B,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCjC,CAAA;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCvC,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyE/B,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CnC,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkD1C,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDlC,CAAA"}
1
+ {"version":3,"file":"Schema.preview.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.preview.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAA;AAWD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO3B,CAAA;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWtB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBhC,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgChC,CAAA;AAED,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C3C,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D9B,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCjC,CAAA;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCvC,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyE/B,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CnC,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkD1C,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDlC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.vue"],"names":[],"mappings":"AA4UA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAU9E,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EACF,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB,CAAA;IACpC,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,+DAA+D;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,+FAA+F;IAC/F,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;;WAfQ,MAAM;oBAMG,OAAO;;AAoX5B,wBAOG"}
1
+ {"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.vue"],"names":[],"mappings":"AAuVA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAU9E,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EACF,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB,CAAA;IACpC,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,+DAA+D;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,+FAA+F;IAC/F,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;;WAfQ,MAAM;oBAMG,OAAO;;AA4X5B,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Schema.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9d26eedb"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f3594262"]]);
5
5
  export {
6
- a as default
6
+ f as default
7
7
  };
@@ -181,10 +181,11 @@ const M = {
181
181
  key: 1,
182
182
  compact: e.compact,
183
183
  hideHeading: e.hideHeading,
184
+ level: e.level,
184
185
  name: e.value.name,
185
186
  schemas: e.schemas,
186
187
  value: e.value
187
- }, null, 8, ["compact", "hideHeading", "name", "schemas", "value"]))
188
+ }, null, 8, ["compact", "hideHeading", "level", "name", "schemas", "value"]))
188
189
  ];
189
190
  }),
190
191
  _: 1
@@ -1,6 +1,7 @@
1
1
  import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
2
+ import { type CompositionKeyword } from './helpers/schema-composition.js';
2
3
  type __VLS_Props = {
3
- discriminator: string;
4
+ composition: CompositionKeyword;
4
5
  schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
5
6
  name?: string;
6
7
  value: Record<string, any>;
@@ -10,4 +11,4 @@ type __VLS_Props = {
10
11
  };
11
12
  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>;
12
13
  export default _default;
13
- //# sourceMappingURL=SchemaDiscriminator.vue.d.ts.map
14
+ //# sourceMappingURL=SchemaComposition.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AA+QA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAM9E,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,8BAA8B,CAAA;AAKrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;IACX,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;CACtB,CAAC;;AA8TF,wBAOG"}