@scalar/api-reference 1.31.8 → 1.31.9

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 (183) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/browser/standalone.js +18613 -18470
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReference.vue.js +10 -30
  6. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  7. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  8. package/dist/components/ApiReferenceLayout.vue2.js +240 -222
  9. package/dist/components/Content/Content.vue.d.ts +2 -0
  10. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Content.vue.js +2 -2
  12. package/dist/components/Content/Content.vue2.js +84 -74
  13. package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -3
  14. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  15. package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
  16. package/dist/components/Content/Introduction/Introduction.vue2.js +93 -83
  17. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  18. package/dist/components/Content/Lazy/Loading.vue.js +84 -86
  19. package/dist/components/Content/Models/Models.vue.js +1 -1
  20. package/dist/components/Content/Models/Models.vue2.js +4 -4
  21. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  22. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  23. package/dist/components/Content/Schema/Schema.vue2.js +53 -53
  24. package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
  25. package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +1 -1
  26. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  27. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  28. package/dist/components/Content/Schema/SchemaProperty.vue2.js +117 -112
  29. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +2 -2
  31. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +161 -191
  32. package/dist/components/Content/Schema/helpers/schema-name.d.ts +13 -0
  33. package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
  34. package/dist/components/Content/Schema/helpers/schema-name.js +59 -13
  35. package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +1 -1
  36. package/dist/components/Content/Tag/OperationsList.vue.js +1 -1
  37. package/dist/components/Content/Tag/OperationsList.vue2.js +22 -25
  38. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts +2 -3
  39. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Tag/OperationsListItem.vue.js +2 -2
  41. package/dist/components/Content/Tag/OperationsListItem.vue2.js +46 -47
  42. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Tag/Tag.vue.js +45 -47
  44. package/dist/components/Content/Tag/TagList.vue.d.ts +2 -0
  45. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  46. package/dist/components/Content/Tag/TagList.vue.js +40 -41
  47. package/dist/components/Content/Tag/TagSection.vue.d.ts.map +1 -1
  48. package/dist/components/Content/Tag/TagSection.vue.js +2 -2
  49. package/dist/components/Content/Tag/TagSection.vue2.js +21 -21
  50. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +16 -1
  51. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  52. package/dist/components/HttpMethod/HttpMethod.vue.js +12 -11
  53. package/dist/components/MobileHeader.vue.d.ts +1 -8
  54. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  55. package/dist/components/MobileHeader.vue.js +1 -1
  56. package/dist/components/MobileHeader.vue2.js +19 -19
  57. package/dist/components/Section/Section.vue.js +2 -2
  58. package/dist/components/Section/Section.vue2.js +1 -1
  59. package/dist/components/ShowMoreButton.vue.js +2 -2
  60. package/dist/components/ShowMoreButton.vue2.js +1 -1
  61. package/dist/components/Sidebar/Sidebar.vue.d.ts +2 -4
  62. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  63. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  64. package/dist/components/Sidebar/Sidebar.vue2.js +113 -159
  65. package/dist/components/Sidebar/SidebarElement.vue.d.ts +2 -11
  66. package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
  67. package/dist/components/Sidebar/SidebarElement.vue.js +2 -2
  68. package/dist/components/Sidebar/SidebarElement.vue2.js +85 -81
  69. package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts +16 -1
  70. package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts.map +1 -1
  71. package/dist/components/Sidebar/SidebarHttpBadge.vue.js +2 -2
  72. package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +11 -5
  73. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
  74. package/dist/features/ApiClientModal/ApiClientModal.vue.js +54 -42
  75. package/dist/features/ApiClientModal/useApiClient.d.ts +74 -72
  76. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  77. package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts +0 -2
  78. package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts.map +1 -1
  79. package/dist/features/DocumentSource/hooks/useDocumentSource.js +40 -67
  80. package/dist/features/DownloadLink/DownloadLink.vue.js +1 -1
  81. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +5 -5
  82. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  83. package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
  84. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +200 -179
  85. package/dist/features/Operation/Operation.vue.d.ts +0 -1
  86. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  87. package/dist/features/Operation/Operation.vue.js +31 -34
  88. package/dist/features/Operation/components/OperationParameters.vue.d.ts +3 -2
  89. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  90. package/dist/features/Operation/components/OperationParameters.vue.js +62 -64
  91. package/dist/features/Operation/components/OperationResponses.vue.d.ts +1 -2
  92. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  93. package/dist/features/Operation/components/OperationResponses.vue.js +2 -2
  94. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
  95. package/dist/features/Operation/components/callbacks/Callback.vue.js +3 -3
  96. package/dist/features/Operation/components/callbacks/Callback.vue2.js +31 -38
  97. package/dist/features/Operation/hooks/useResponses.d.ts +3 -3
  98. package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -1
  99. package/dist/features/Operation/hooks/useResponses.js +12 -13
  100. package/dist/features/Operation/index.d.ts +0 -1
  101. package/dist/features/Operation/index.d.ts.map +1 -1
  102. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +4 -6
  103. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  104. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  105. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +85 -72
  106. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +2 -4
  107. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  108. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  109. package/dist/features/Operation/layouts/ModernLayout.vue2.js +114 -98
  110. package/dist/features/Search/SearchModal.vue.js +2 -2
  111. package/dist/features/Search/SearchModal.vue2.js +1 -1
  112. package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
  113. package/dist/features/Search/useSearchIndex.js +61 -64
  114. package/dist/features/sidebar/helpers/create-sidebar.d.ts +4 -2
  115. package/dist/features/sidebar/helpers/create-sidebar.d.ts.map +1 -1
  116. package/dist/features/sidebar/helpers/create-sidebar.js +33 -0
  117. package/dist/features/sidebar/hooks/useSidebar.d.ts +2 -3
  118. package/dist/features/sidebar/hooks/useSidebar.d.ts.map +1 -1
  119. package/dist/features/sidebar/hooks/useSidebar.js +18 -0
  120. package/dist/features/sidebar/index.d.ts +2 -1
  121. package/dist/features/sidebar/index.d.ts.map +1 -1
  122. package/dist/features/traverse-schema/helpers/get-tag.d.ts +4 -2
  123. package/dist/features/traverse-schema/helpers/get-tag.d.ts.map +1 -1
  124. package/dist/features/traverse-schema/helpers/get-tag.js +7 -0
  125. package/dist/features/traverse-schema/helpers/traverse-description.js +33 -0
  126. package/dist/features/traverse-schema/helpers/traverse-document.d.ts.map +1 -1
  127. package/dist/features/traverse-schema/helpers/traverse-document.js +34 -0
  128. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +5 -3
  129. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
  130. package/dist/features/traverse-schema/helpers/traverse-paths.js +32 -0
  131. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts +2 -2
  132. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
  133. package/dist/features/traverse-schema/helpers/traverse-schemas.js +23 -0
  134. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts +2 -2
  135. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
  136. package/dist/features/traverse-schema/helpers/traverse-tags.js +43 -0
  137. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts +2 -2
  138. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
  139. package/dist/features/traverse-schema/helpers/traverse-webhooks.js +26 -0
  140. package/dist/features/traverse-schema/index.d.ts +3 -3
  141. package/dist/features/traverse-schema/index.d.ts.map +1 -1
  142. package/dist/features/traverse-schema/types.d.ts +8 -5
  143. package/dist/features/traverse-schema/types.d.ts.map +1 -1
  144. package/dist/helpers/parse.d.ts +2 -1
  145. package/dist/helpers/parse.d.ts.map +1 -1
  146. package/dist/helpers/parse.js +72 -88
  147. package/dist/hooks/useMultipleDocuments.d.ts +6 -6
  148. package/dist/hooks/useMultipleDocuments.d.ts.map +1 -1
  149. package/dist/hooks/useNavState.d.ts +1 -1
  150. package/dist/hooks/useNavState.d.ts.map +1 -1
  151. package/dist/hooks/useNavState.js +14 -9
  152. package/dist/hooks/useOperation.d.ts +7 -7
  153. package/dist/hooks/useOperation.d.ts.map +1 -1
  154. package/dist/hooks/useOperation.js +13 -12
  155. package/dist/index.d.ts +0 -1
  156. package/dist/index.d.ts.map +1 -1
  157. package/dist/index.js +23 -25
  158. package/dist/legacy/fixtures/index.d.ts +1 -1
  159. package/dist/libs/openapi.d.ts +3 -4
  160. package/dist/libs/openapi.d.ts.map +1 -1
  161. package/dist/libs/openapi.js +8 -9
  162. package/dist/style.css +1 -1
  163. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +4 -18
  164. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  165. package/dist/v2/ApiReferenceWorkspace.vue.js +68 -45
  166. package/package.json +16 -16
  167. package/dist/components/Content/Webhooks/index.d.ts +0 -2
  168. package/dist/components/Content/Webhooks/index.d.ts.map +0 -1
  169. package/dist/features/Operation/Webhooks.vue.d.ts +0 -7
  170. package/dist/features/Operation/Webhooks.vue.d.ts.map +0 -1
  171. package/dist/features/Operation/Webhooks.vue.js +0 -7
  172. package/dist/features/Operation/Webhooks.vue2.js +0 -121
  173. package/dist/features/Operation/components/Webhook.vue.d.ts +0 -7
  174. package/dist/features/Operation/components/Webhook.vue.d.ts.map +0 -1
  175. package/dist/features/Operation/components/Webhook.vue.js +0 -7
  176. package/dist/features/Operation/components/Webhook.vue2.js +0 -29
  177. package/dist/features/traverse-schema/helpers/operation-id-params.d.ts +0 -8
  178. package/dist/features/traverse-schema/helpers/operation-id-params.d.ts.map +0 -1
  179. package/dist/features/traverse-schema/helpers/operation-id-params.js +0 -8
  180. package/dist/hooks/useSidebar.d.ts +0 -53
  181. package/dist/hooks/useSidebar.d.ts.map +0 -1
  182. package/dist/hooks/useSidebar.js +0 -248
  183. package/dist/legacy/fixtures/httpRequestMethods.js +0 -14
@@ -1,18 +1,18 @@
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 b, Fragment as h, renderList as k, unref as r, withCtx as c, createVNode as S, createTextVNode as A, toDisplayString as F, vShow as P } from "vue";
2
- import { scrollToId as C } from "@scalar/helpers/dom/scroll-to-id";
3
- import { lazyBus as q } from "./lazyBus.js";
4
- import { useNavState as G } from "../../../hooks/useNavState.js";
5
- import { getModels as y } 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
- const _ = v(!1), ge = /* @__PURE__ */ E({
1
+ import { defineComponent as V, ref as v, watch as W, onMounted as x, withDirectives as D, createElementBlock as f, openBlock as l, normalizeClass as E, createBlock as m, createCommentVNode as T, Fragment as y, renderList as k, unref as o, withCtx as p, createVNode as S, createTextVNode as H, toDisplayString as K, vShow as j } from "vue";
2
+ import { scrollToId as b } from "@scalar/helpers/dom/scroll-to-id";
3
+ import { lazyBus as A } from "./lazyBus.js";
4
+ import { useNavState as F } from "../../../hooks/useNavState.js";
5
+ import { getModels as h } from "../../../libs/openapi.js";
6
+ import $ from "../Tag/TagSection.vue.js";
7
+ import q from "../../../features/Operation/Operation.vue.js";
8
+ import G from "../../Section/SectionContainer.vue.js";
9
+ import J from "../../Section/Section.vue.js";
10
+ import P from "../../Section/SectionContent.vue.js";
11
+ import Q from "../../Section/SectionHeader.vue.js";
12
+ import R from "../../Anchor/Anchor.vue.js";
13
+ import U from "../../Section/SectionHeaderTag.vue.js";
14
+ import X from "../Schema/Schema.vue.js";
15
+ const C = v(!1), pe = /* @__PURE__ */ V({
16
16
  __name: "Loading",
17
17
  props: {
18
18
  collection: {},
@@ -20,114 +20,112 @@ const _ = v(!1), ge = /* @__PURE__ */ E({
20
20
  layout: { default: "modern" },
21
21
  parsedSpec: {}
22
22
  },
23
- setup(V) {
24
- const i = V, L = v(!1), I = v([]), w = v([]), { getModelId: z, getSectionId: B, getTagId: N, hash: a, isIntersectionEnabled: g } = G(), O = v(
25
- !_.value && i.layout !== "classic" && a.value
23
+ setup(L) {
24
+ const u = L, _ = v(!1), w = v([]), I = v([]), { getModelId: O, getSectionId: B, getTagId: N, hash: r, isIntersectionEnabled: g } = F(), z = v(
25
+ !C.value && u.layout !== "classic" && r.value
26
26
  );
27
- H(
27
+ W(
28
28
  () => {
29
29
  var t;
30
- return (t = i.parsedSpec.tags) == null ? void 0 : t.length;
30
+ return (t = u.parsedSpec.tags) == null ? void 0 : t.length;
31
31
  },
32
32
  (t) => {
33
- var e, u;
34
- if (!a.value || typeof t != "number" || !i.parsedSpec.tags)
33
+ var e, d;
34
+ if (!r.value || typeof t != "number" || !u.parsedSpec.tags)
35
35
  return;
36
36
  const n = B();
37
37
  if (n.startsWith("tag")) {
38
- let o = 0;
39
- const d = ((e = i.parsedSpec.tags) == null ? void 0 : e.findIndex(
40
- (T) => N(T) === n
41
- )) ?? 0, s = a.value.match(/tag\/([^/]+)\/([^/]+)\/(.+)/);
42
- if ((s == null ? void 0 : s.length) === 4) {
43
- const T = s[2], $ = "/" + s[3];
44
- o = (u = i.parsedSpec.tags[d]) == null ? void 0 : u.operations.findIndex(
45
- ({ httpVerb: x, path: D }) => T === x && $ === D
46
- );
47
- }
48
- const p = i.parsedSpec.tags[d];
49
- if (!p)
38
+ let a = 0;
39
+ const c = ((e = u.parsedSpec.tags) == null ? void 0 : e.findIndex(
40
+ (i) => N(i) === n
41
+ )) ?? 0;
42
+ a = (d = u.parsedSpec.tags[c]) == null ? void 0 : d.operations.findIndex(
43
+ ({ id: i }) => i === r.value
44
+ );
45
+ const s = u.parsedSpec.tags[c];
46
+ if (!s)
50
47
  return;
51
- p.name !== "default" && (L.value = n !== a.value && n.startsWith("tag")), I.value.push({
52
- ...p,
53
- lazyOperations: p.operations.slice(
54
- o,
55
- o + 2
56
- )
57
- }), a.value.includes("/description/") && (typeof window < "u" && C(a.value), setTimeout(() => g.value = !0, 1e3));
58
- } else if (a.value.startsWith("model")) {
59
- const o = Object.keys(y(i.parsedSpec) ?? {}), [, d] = a.value.toLowerCase().split("/"), s = a.value === "models" ? 0 : o.findIndex((p) => p.toLowerCase() === d);
48
+ s.name !== "default" && (_.value = n !== r.value && n.startsWith("tag")), w.value.push({
49
+ ...s,
50
+ lazyOperations: s.operations.slice(a, a + 2).map((i) => ({
51
+ ...i,
52
+ // Prefix the id with lazy- to avoid collisions with the real ids
53
+ id: "lazy-" + i.id
54
+ }))
55
+ }), r.value.includes("/description/") && (typeof window < "u" && b(r.value), setTimeout(() => g.value = !0, 1e3));
56
+ } else if (r.value.startsWith("model")) {
57
+ const a = Object.keys(h(u.parsedSpec) ?? {}), [, c] = r.value.toLowerCase().split("/"), s = r.value === "models" ? 0 : a.findIndex((i) => i.toLowerCase() === c);
60
58
  if (s === -1)
61
59
  return;
62
- w.value = o.slice(s, s + 3);
60
+ I.value = a.slice(s, s + 3);
63
61
  } else
64
- typeof window < "u" && C(a.value), setTimeout(() => g.value = !0, 1e3);
62
+ typeof window < "u" && b(r.value), setTimeout(() => g.value = !0, 1e3);
65
63
  },
66
64
  { immediate: !0 }
67
65
  );
68
- const W = q.on(({ id: t }) => {
69
- const n = a.value;
70
- !n || t !== n || (W(), setTimeout(() => {
71
- typeof window < "u" && C(n), O.value = !1, _.value = !0, setTimeout(() => {
66
+ const M = A.on(({ id: t }) => {
67
+ const n = r.value;
68
+ !n || t !== n || (M(), setTimeout(() => {
69
+ typeof window < "u" && b(n), z.value = !1, C.value = !0, setTimeout(() => {
72
70
  g.value = !0;
73
71
  }, 1e3);
74
72
  }, 300));
75
73
  });
76
- return K(() => {
77
- a.value || (_.value = !0, setTimeout(() => {
74
+ return x(() => {
75
+ r.value || (C.value = !0, setTimeout(() => {
78
76
  g.value = !0;
79
77
  }, 1e3));
80
- }), (t, n) => M((l(), f("div", {
81
- class: j(["references-loading", {
82
- "references-loading-hidden-tag": L.value,
83
- "references-loading-top-spacer": I.value.length
78
+ }), (t, n) => D((l(), f("div", {
79
+ class: E(["references-loading", {
80
+ "references-loading-hidden-tag": _.value,
81
+ "references-loading-top-spacer": w.value.length
84
82
  }])
85
83
  }, [
86
- (l(!0), f(h, null, k(I.value, (e, u) => (l(), f(h, {
87
- key: e.name + u
84
+ (l(!0), f(y, null, k(w.value, (e, d) => (l(), f(y, {
85
+ key: e.name + d
88
86
  }, [
89
- e.operations && e.operations.length > 0 ? (l(), m(r(J), {
87
+ e.operations && e.operations.length > 0 ? (l(), m(o($), {
90
88
  key: 0,
91
89
  collection: t.collection,
92
90
  spec: t.parsedSpec,
93
91
  tag: e
94
92
  }, {
95
- default: c(() => [
96
- (l(!0), f(h, null, k(e.lazyOperations, (o) => (l(), m(r(Q), {
97
- key: `${o.httpVerb}-${o.operationId}`,
93
+ default: p(() => [
94
+ (l(!0), f(y, null, k(e.lazyOperations, (a) => (l(), m(o(q), {
95
+ key: a.id,
98
96
  collection: t.collection,
99
97
  layout: t.layout,
100
98
  server: t.server,
101
- transformedOperation: o
99
+ transformedOperation: a
102
100
  }, null, 8, ["collection", "layout", "server", "transformedOperation"]))), 128))
103
101
  ]),
104
102
  _: 2
105
- }, 1032, ["collection", "spec", "tag"])) : b("", !0)
103
+ }, 1032, ["collection", "spec", "tag"])) : T("", !0)
106
104
  ], 64))), 128)),
107
- w.value.length ? (l(), m(r(R), { key: 0 }, {
108
- default: c(() => [
109
- (l(!0), f(h, null, k(w.value, (e) => (l(), m(r(U), {
105
+ I.value.length ? (l(), m(o(G), { key: 0 }, {
106
+ default: p(() => [
107
+ (l(!0), f(y, null, k(I.value, (e) => (l(), m(o(J), {
110
108
  key: e,
111
109
  label: e
112
110
  }, {
113
- default: c(() => {
114
- var u;
111
+ default: p(() => {
112
+ var d;
115
113
  return [
116
- (u = r(y)(t.parsedSpec)) != null && u[e] ? (l(), m(r(X), { key: 0 }, {
117
- default: c(() => {
118
- var o;
114
+ (d = o(h)(t.parsedSpec)) != null && d[e] ? (l(), m(o(P), { key: 0 }, {
115
+ default: p(() => {
116
+ var a;
119
117
  return [
120
- S(r(Y), null, {
121
- default: c(() => [
122
- S(r(Z), {
123
- id: r(z)({ name: e })
118
+ S(o(Q), null, {
119
+ default: p(() => [
120
+ S(o(R), {
121
+ id: "lazy-" + o(O)({ name: e })
124
122
  }, {
125
- default: c(() => [
126
- S(r(ee), { level: 2 }, {
127
- default: c(() => {
128
- var d;
123
+ default: p(() => [
124
+ S(o(U), { level: 2 }, {
125
+ default: p(() => {
126
+ var c;
129
127
  return [
130
- A(F(((d = r(y)(t.parsedSpec)) == null ? void 0 : d[e]).title ?? e), 1)
128
+ H(K(((c = o(h)(t.parsedSpec)) == null ? void 0 : c[e]).title ?? e), 1)
131
129
  ];
132
130
  }),
133
131
  _: 2
@@ -138,27 +136,27 @@ const _ = v(!1), ge = /* @__PURE__ */ E({
138
136
  ]),
139
137
  _: 2
140
138
  }, 1024),
141
- S(r(te), {
139
+ S(o(X), {
142
140
  name: e,
143
141
  noncollapsible: "",
144
- value: (o = r(y)(t.parsedSpec)) == null ? void 0 : o[e]
142
+ value: (a = o(h)(t.parsedSpec)) == null ? void 0 : a[e]
145
143
  }, null, 8, ["name", "value"])
146
144
  ];
147
145
  }),
148
146
  _: 2
149
- }, 1024)) : b("", !0)
147
+ }, 1024)) : T("", !0)
150
148
  ];
151
149
  }),
152
150
  _: 2
153
151
  }, 1032, ["label"]))), 128))
154
152
  ]),
155
153
  _: 1
156
- })) : b("", !0)
154
+ })) : T("", !0)
157
155
  ], 2)), [
158
- [P, O.value]
156
+ [j, z.value]
159
157
  ]);
160
158
  }
161
159
  });
162
160
  export {
163
- ge as default
161
+ pe as default
164
162
  };
@@ -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-125be711"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4228514f"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as y, useId as M, computed as u, createBlock as m, createCommentVNode as f, openBlock as r, unref as e, withCtx as l, createVNode as o, createElementVNode as k, createTextVNode as N, normalizeClass as g, createElementBlock as I, Fragment as C, renderList as L } from "vue";
2
2
  import { ScalarErrorBoundary as B } from "@scalar/components";
3
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";
4
+ import w from "../../ShowMoreButton.vue.js";
5
+ import { useSidebar as E } from "../../../features/sidebar/hooks/useSidebar.js";
6
6
  import O from "../../Section/SectionContainer.vue.js";
7
7
  import V from "../../Section/Section.vue.js";
8
8
  import z from "../../Section/SectionHeader.vue.js";
@@ -17,7 +17,7 @@ const S = 10, U = /* @__PURE__ */ y({
17
17
  schemas: {}
18
18
  },
19
19
  setup(v) {
20
- const i = v, n = M(), { collapsedSidebarItems: _ } = w(), { getModelId: a } = H(), d = u(
20
+ const i = v, n = M(), { collapsedSidebarItems: _ } = E(), { 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 ?? {});
@@ -94,7 +94,7 @@ const S = 10, U = /* @__PURE__ */ y({
94
94
  _: 2
95
95
  }, 1032, ["id"]))), 128))
96
96
  ], 2),
97
- d.value ? f("", !0) : (r(), m(E, {
97
+ d.value ? f("", !0) : (r(), m(w, {
98
98
  key: 0,
99
99
  id: e(a)(),
100
100
  class: "show-more-models"
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.vue"],"names":[],"mappings":"AAmfA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAIxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAQjE,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EACF,WAAW,CAAC,eAAe,GAC3B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB,GAChC,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,uCAAuC;IACvC,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,6BAA6B;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4BAA4B;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,kCAAkC;IAClC,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,6CAA6C;IAC7C,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAC;;;;;;WAtBQ,MAAM;oBAMG,OAAO;oBAKP,OAAO;;AA6lB5B,wBAQG"}
1
+ {"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.vue"],"names":[],"mappings":"AAqfA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAIxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAQjE,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EACF,WAAW,CAAC,eAAe,GAC3B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB,GAChC,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,uCAAuC;IACvC,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,6BAA6B;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4BAA4B;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,kCAAkC;IAClC,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,6CAA6C;IAC7C,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAC;;;;;;WAtBQ,MAAM;oBAMG,OAAO;oBAKP,OAAO;;AA+lB5B,wBAQG"}
@@ -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 e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-be133070"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f1fb3dcb"]]);
5
5
  export {
6
- e as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as Q, inject as W, computed as p, createBlock as s, createCommentVNode as n, openBlock as i, unref as u, withCtx as v, createElementVNode as I, normalizeClass as M, createElementBlock as o, withDirectives as E, createVNode as h, createTextVNode as P, toDisplayString as H, vShow as R, normalizeStyle as Y, Fragment as m, renderList as $ } from "vue";
1
+ import { defineComponent as Q, inject as W, computed as p, createBlock as n, createCommentVNode as d, openBlock as i, unref as u, withCtx as v, createElementVNode as I, normalizeClass as M, createElementBlock as t, withDirectives as E, createVNode as h, createTextVNode as P, toDisplayString as H, vShow as R, normalizeStyle as Y, Fragment as m, renderList as $ } from "vue";
2
2
  import { Disclosure as Z, DisclosureButton as F, DisclosurePanel as _ } from "@headlessui/vue";
3
3
  import { ScalarMarkdown as x, ScalarIcon as V } from "@scalar/components";
4
4
  import L from "../../ScreenReader.vue.js";
@@ -30,57 +30,57 @@ const ie = {
30
30
  },
31
31
  emits: ["update:modelValue"],
32
32
  setup(X, { emit: G }) {
33
- const d = X, J = G, r = W(ee, null), y = p(
33
+ const o = X, J = G, r = W(ee, null), y = p(
34
34
  () => {
35
35
  var e;
36
- return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.discriminatorMapping) || d.discriminatorMapping || {};
36
+ return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.discriminatorMapping) || o.discriminatorMapping || {};
37
37
  }
38
38
  ), c = p(
39
39
  () => {
40
40
  var e;
41
- return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.discriminatorPropertyName) || d.discriminatorPropertyName || "";
41
+ return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.discriminatorPropertyName) || o.discriminatorPropertyName || "";
42
42
  }
43
- ), O = p(
43
+ ), D = p(
44
44
  () => {
45
45
  var e;
46
- return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.selectedType) || d.discriminator;
46
+ return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.selectedType) || o.discriminator;
47
47
  }
48
- ), j = (e) => e !== null && typeof e == "object" && "type" in e && e.type === "object", a = p(() => {
49
- var t;
50
- const e = (t = r == null ? void 0 : r.value) == null ? void 0 : t.mergedSchema, S = d.value;
51
- return e && j(S) && j(e) ? e : d.value;
52
- }), D = p(() => !(d.noncollapsible || d.level === 0)), K = p(() => {
48
+ ), O = (e) => e !== null && typeof e == "object" && "type" in e && e.type === "object", a = p(() => {
49
+ var s;
50
+ const e = (s = r == null ? void 0 : r.value) == null ? void 0 : s.mergedSchema, S = o.value;
51
+ return e && o.level === 0 && o.hasDiscriminator && O(S) && O(e) ? e : o.value;
52
+ }), j = p(() => !(o.noncollapsible || o.level === 0)), K = p(() => {
53
53
  var e;
54
- return !(!((e = a.value) != null && e.description) || typeof a.value.description != "string" || a.value.allOf || a.value.oneOf || a.value.anyOf || a.value.enum || d.level === 0);
55
- }), B = (e) => d.noncollapsible && e.stopPropagation(), g = (e) => {
54
+ return !(!((e = a.value) != null && e.description) || typeof a.value.description != "string" || a.value.allOf || a.value.oneOf || a.value.anyOf || a.value.enum || o.level === 0);
55
+ }), B = (e) => o.noncollapsible && e.stopPropagation(), g = (e) => {
56
56
  J("update:modelValue", e);
57
57
  };
58
- return (e, S) => typeof e.value == "object" && Object.keys(e.value).length ? (i(), s(u(Z), {
58
+ return (e, S) => typeof e.value == "object" && Object.keys(e.value).length ? (i(), n(u(Z), {
59
59
  key: 0,
60
60
  defaultOpen: e.noncollapsible
61
61
  }, {
62
- default: v(({ open: t }) => {
62
+ default: v(({ open: s }) => {
63
63
  var w, C;
64
64
  return [
65
65
  I("div", {
66
66
  class: M(["schema-card", [
67
67
  `schema-card--level-${e.level}`,
68
- { "schema-card--compact": e.compact, "schema-card--open": t },
69
- { "border-t": e.additionalProperties && t }
68
+ { "schema-card--compact": e.compact, "schema-card--open": s },
69
+ { "border-t": e.additionalProperties && s }
70
70
  ]])
71
71
  }, [
72
- K.value ? (i(), o("div", ie, [
73
- (w = a.value) != null && w.enum ? n("", !0) : (i(), s(u(x), {
72
+ K.value ? (i(), t("div", ie, [
73
+ (w = a.value) != null && w.enum ? d("", !0) : (i(), n(u(x), {
74
74
  key: 0,
75
75
  value: (C = a.value) == null ? void 0 : C.description
76
76
  }, null, 8, ["value"]))
77
- ])) : n("", !0),
77
+ ])) : d("", !0),
78
78
  I("div", {
79
79
  class: M(["schema-properties", {
80
- "schema-properties-open": t
80
+ "schema-properties-open": s
81
81
  }])
82
82
  }, [
83
- e.additionalProperties ? E((i(), o("div", le, [
83
+ e.additionalProperties ? E((i(), t("div", le, [
84
84
  h(u(F), {
85
85
  as: "button",
86
86
  class: "schema-card-title schema-card-title--compact",
@@ -93,18 +93,18 @@ const ie = {
93
93
  size: "sm"
94
94
  }),
95
95
  S[0] || (S[0] = P(" Show additional properties ")),
96
- e.name ? (i(), s(L, { key: 0 }, {
96
+ e.name ? (i(), n(L, { key: 0 }, {
97
97
  default: v(() => [
98
98
  P("for " + H(e.name), 1)
99
99
  ]),
100
100
  _: 1
101
- })) : n("", !0)
101
+ })) : d("", !0)
102
102
  ]),
103
103
  _: 1
104
104
  })
105
105
  ], 512)), [
106
- [R, !t]
107
- ]) : D.value ? E((i(), s(u(F), {
106
+ [R, !s]
107
+ ]) : j.value ? E((i(), n(u(F), {
108
108
  key: 1,
109
109
  as: e.noncollapsible ? "div" : "button",
110
110
  class: M(["schema-card-title", { "schema-card-title--compact": e.compact }]),
@@ -116,26 +116,26 @@ const ie = {
116
116
  default: v(() => {
117
117
  var f, N, l;
118
118
  return [
119
- e.compact ? (i(), o(m, { key: 0 }, [
119
+ e.compact ? (i(), t(m, { key: 0 }, [
120
120
  h(u(V), {
121
- class: M(["schema-card-title-icon", { "schema-card-title-icon--open": t }]),
121
+ class: M(["schema-card-title-icon", { "schema-card-title-icon--open": s }]),
122
122
  icon: "Add",
123
123
  size: "sm"
124
124
  }, null, 8, ["class"]),
125
- t ? (i(), o(m, { key: 0 }, [
125
+ s ? (i(), t(m, { key: 0 }, [
126
126
  P(" Hide " + H(((f = e.value) == null ? void 0 : f.title) ?? "Child Attributes"), 1)
127
- ], 64)) : (i(), o(m, { key: 1 }, [
127
+ ], 64)) : (i(), t(m, { key: 1 }, [
128
128
  P(" Show " + H(((N = e.value) == null ? void 0 : N.title) ?? "Child Attributes"), 1)
129
129
  ], 64)),
130
- e.name ? (i(), s(L, { key: 2 }, {
130
+ e.name ? (i(), n(L, { key: 2 }, {
131
131
  default: v(() => [
132
132
  P("for " + H(e.name), 1)
133
133
  ]),
134
134
  _: 1
135
- })) : n("", !0)
136
- ], 64)) : (i(), o(m, { key: 1 }, [
135
+ })) : d("", !0)
136
+ ], 64)) : (i(), t(m, { key: 1 }, [
137
137
  h(u(V), {
138
- class: M(["schema-card-title-icon", { "schema-card-title-icon--open": t }]),
138
+ class: M(["schema-card-title-icon", { "schema-card-title-icon--open": s }]),
139
139
  icon: "Add",
140
140
  size: "sm"
141
141
  }, null, 8, ["class"]),
@@ -149,18 +149,18 @@ const ie = {
149
149
  _: 2
150
150
  }, 1032, ["as", "class", "style"])), [
151
151
  [R, !e.hideHeading && !(e.noncollapsible && e.compact)]
152
- ]) : n("", !0),
152
+ ]) : d("", !0),
153
153
  h(u(_), {
154
154
  as: "ul",
155
- static: !D.value
155
+ static: !j.value
156
156
  }, {
157
157
  default: v(() => {
158
158
  var f, N;
159
159
  return [
160
- a.value && typeof a.value == "object" && ("properties" in a.value || "additionalProperties" in a.value || "patternProperties" in a.value) ? (i(), o(m, { key: 0 }, [
161
- a.value.properties ? (i(!0), o(m, { key: 0 }, $(Object.keys(a.value.properties), (l) => {
160
+ a.value && typeof a.value == "object" && ("properties" in a.value || "additionalProperties" in a.value || "patternProperties" in a.value) ? (i(), t(m, { key: 0 }, [
161
+ a.value.properties ? (i(!0), t(m, { key: 0 }, $(Object.keys(a.value.properties), (l) => {
162
162
  var k, A, T, z, U, q;
163
- return i(), s(b, {
163
+ return i(), n(b, {
164
164
  key: l,
165
165
  compact: e.compact,
166
166
  hideHeading: e.hideHeading,
@@ -178,13 +178,13 @@ const ie = {
178
178
  discriminatorMapping: ((z = a.value.discriminator) == null ? void 0 : z.mapping) || y.value,
179
179
  discriminatorPropertyName: ((U = a.value.discriminator) == null ? void 0 : U.propertyName) || c.value,
180
180
  isDiscriminator: l === (((q = a.value.discriminator) == null ? void 0 : q.propertyName) || c.value),
181
- modelValue: O.value,
181
+ modelValue: D.value,
182
182
  "onUpdate:modelValue": g
183
183
  }, null, 8, ["compact", "hideHeading", "level", "name", "hideModelNames", "required", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "isDiscriminator", "modelValue"]);
184
- }), 128)) : n("", !0),
185
- a.value.patternProperties ? (i(!0), o(m, { key: 1 }, $(Object.keys(a.value.patternProperties), (l) => {
184
+ }), 128)) : d("", !0),
185
+ a.value.patternProperties ? (i(!0), t(m, { key: 1 }, $(Object.keys(a.value.patternProperties), (l) => {
186
186
  var k;
187
- return i(), s(b, {
187
+ return i(), n(b, {
188
188
  key: l,
189
189
  compact: e.compact,
190
190
  hideHeading: e.hideHeading,
@@ -198,9 +198,9 @@ const ie = {
198
198
  discriminatorPropertyName: c.value,
199
199
  "onUpdate:modelValue": g
200
200
  }, null, 8, ["compact", "hideHeading", "level", "name", "hideModelNames", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName"]);
201
- }), 128)) : n("", !0),
202
- a.value.additionalProperties ? (i(), o(m, { key: 2 }, [
203
- a.value.additionalProperties === !0 || Object.keys(a.value.additionalProperties).length === 0 || !("type" in a.value.additionalProperties) ? (i(), s(b, {
201
+ }), 128)) : d("", !0),
202
+ a.value.additionalProperties ? (i(), t(m, { key: 2 }, [
203
+ a.value.additionalProperties === !0 || Object.keys(a.value.additionalProperties).length === 0 || !("type" in a.value.additionalProperties) ? (i(), n(b, {
204
204
  key: 0,
205
205
  additional: "",
206
206
  compact: e.compact,
@@ -216,7 +216,7 @@ const ie = {
216
216
  discriminatorMapping: y.value,
217
217
  discriminatorPropertyName: c.value,
218
218
  "onUpdate:modelValue": g
219
- }, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName"])) : (i(), s(b, {
219
+ }, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName"])) : (i(), n(b, {
220
220
  key: 1,
221
221
  additional: "",
222
222
  compact: e.compact,
@@ -230,9 +230,9 @@ const ie = {
230
230
  discriminatorPropertyName: c.value,
231
231
  "onUpdate:modelValue": g
232
232
  }, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName"]))
233
- ], 64)) : n("", !0)
234
- ], 64)) : (i(), o(m, { key: 1 }, [
235
- a.value ? (i(), s(b, {
233
+ ], 64)) : d("", !0)
234
+ ], 64)) : (i(), t(m, { key: 1 }, [
235
+ a.value ? (i(), n(b, {
236
236
  key: 0,
237
237
  compact: e.compact,
238
238
  hideHeading: e.hideHeading,
@@ -243,9 +243,9 @@ const ie = {
243
243
  value: ((N = e.value.discriminator) == null ? void 0 : N.propertyName) === e.name ? e.value : a.value,
244
244
  discriminatorMapping: y.value,
245
245
  discriminatorPropertyName: c.value,
246
- modelValue: O.value,
246
+ modelValue: D.value,
247
247
  "onUpdate:modelValue": g
248
- }, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "name", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"])) : n("", !0)
248
+ }, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "name", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"])) : d("", !0)
249
249
  ], 64))
250
250
  ];
251
251
  }),
@@ -256,7 +256,7 @@ const ie = {
256
256
  ];
257
257
  }),
258
258
  _: 1
259
- }, 8, ["defaultOpen"])) : n("", !0);
259
+ }, 8, ["defaultOpen"])) : d("", !0);
260
260
  }
261
261
  });
262
262
  export {
@@ -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;;;;;;AA+HF,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;AAIpE,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;AAgIF,wBAQG"}
@@ -2,7 +2,7 @@ import { defineComponent as p, ref as f, computed as n, createBlock as b, openBl
2
2
  import { ScalarListbox as V } from "@scalar/components";
3
3
  import { ScalarIconCaretDown as D } from "@scalar/icons";
4
4
  const S = {
5
- class: "bg-b-1.5 hover:bg-b-2 flex w-full items-center gap-1 rounded border px-2 py-1.25",
5
+ class: "bg-b-1.5 hover:bg-b-2 mt-2 flex w-full items-center gap-1 rounded border px-2 py-1.25",
6
6
  type: "button"
7
7
  }, _ = { class: "composition-selector-label text-c-1 relative" }, M = /* @__PURE__ */ p({
8
8
  __name: "SchemaDiscriminator",
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAmnBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAOtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAUjE;;;;;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,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,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;CAC1B,CAAC;;;;;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;oBAKA,OAAO;kBADT,OAAO;;AA2mB1B,0BASG"}
1
+ {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAwoBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAOtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAUjE;;;;;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,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,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;CAC1B,CAAC;;;;;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;oBAKA,OAAO;kBADT,OAAO;;AAioB1B,0BASG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaProperty.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cd0cb087"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-c0beb023"]]);
5
5
  export {
6
6
  p as default
7
7
  };