@scalar/api-reference 1.29.2 → 1.29.3

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.
@@ -1,7 +1,7 @@
1
1
  import o from "./Introduction.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-35f3c001"]]);
4
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b6809143"]]);
5
5
  export {
6
- m as default
6
+ _ as default
7
7
  };
@@ -81,11 +81,11 @@ const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PUR
81
81
  ]),
82
82
  _: 1
83
83
  }, 8, ["loading"]),
84
- i(B, { filename: $.value }, null, 8, ["filename"]),
85
84
  i(o(G), null, {
86
85
  default: t(() => [
87
86
  i(o(h), null, {
88
87
  default: t(() => [
88
+ i(B, { filename: $.value }, null, 8, ["filename"]),
89
89
  i(O, {
90
90
  value: e.info.description
91
91
  }, null, 8, ["value"])
@@ -1 +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"}
1
+ {"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AAwRA,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;;AA2UF,wBAOG"}
@@ -1,17 +1,17 @@
1
- import { defineComponent as L, ref as U, computed as m, resolveComponent as D, createElementBlock as u, openBlock as s, createCommentVNode as p, createBlock as f, Fragment as V, renderList as E, createVNode as b, createElementVNode as d, unref as v, withCtx as F, toDisplayString as H } from "vue";
2
- import { ScalarListbox as I, ScalarMarkdown as M } from "@scalar/components";
3
- import { ScalarIconCaretDown as $ } from "@scalar/icons";
4
- import { stringify as w } from "flatted";
5
- import { mergeAllOfSchemas as Z } from "./helpers/merge-all-of-schemas.js";
1
+ import { defineComponent as E, ref as F, computed as m, resolveComponent as I, createElementBlock as u, openBlock as s, createCommentVNode as p, createBlock as f, Fragment as A, renderList as M, createVNode as b, createElementVNode as d, unref as v, withCtx as $, toDisplayString as B } from "vue";
2
+ import { ScalarListbox as Z, ScalarMarkdown as G } from "@scalar/components";
3
+ import { ScalarIconCaretDown as J } from "@scalar/icons";
4
+ import { stringify as T } from "flatted";
5
+ import { mergeAllOfSchemas as K } from "./helpers/merge-all-of-schemas.js";
6
6
  import { hasComposition as g } from "./helpers/schema-composition.js";
7
7
  import S from "./Schema.vue.js";
8
- const G = { class: "property-rule" }, J = {
8
+ const P = { class: "property-rule" }, Q = {
9
9
  class: "composition-selector bg-b-1.5 hover:bg-b-2 py-1.25 flex w-full cursor-pointer items-center gap-1 rounded-t-lg border border-b-0 px-2 pr-3 text-left",
10
10
  type: "button"
11
- }, K = { class: "text-c-2" }, P = { class: "composition-selector-label text-c-1 relative" }, Q = { class: "composition-panel" }, R = {
11
+ }, R = { class: "text-c-2" }, X = { class: "composition-selector-label text-c-1 relative" }, Y = { class: "composition-panel" }, W = {
12
12
  key: 0,
13
13
  class: "property-description border-x border-t p-2"
14
- }, ne = /* @__PURE__ */ L({
14
+ }, ae = /* @__PURE__ */ E({
15
15
  __name: "SchemaComposition",
16
16
  props: {
17
17
  composition: {},
@@ -23,21 +23,21 @@ const G = { class: "property-rule" }, J = {
23
23
  hideHeading: { type: Boolean }
24
24
  },
25
25
  setup(l) {
26
- const y = U(0), C = m(
27
- () => k.value.map((e, o) => ({
26
+ const y = F(0), C = m(
27
+ () => N.value.map((e, o) => ({
28
28
  id: String(o),
29
- label: A(e) || "Schema"
29
+ label: z(e) || "Schema"
30
30
  }))
31
31
  ), O = m({
32
32
  get: () => C.value.find(
33
33
  (e) => e.id === String(y.value)
34
34
  ),
35
35
  set: (e) => y.value = Number(e.id)
36
- }), j = m(() => {
36
+ }), q = m(() => {
37
37
  var t;
38
38
  const e = ["oneOf", "anyOf"].includes(l.composition), o = l.composition === "allOf" && ((t = l.value[l.composition]) == null ? void 0 : t.some((n) => g(n)));
39
39
  return e || o;
40
- }), A = (e) => {
40
+ }), z = (e) => {
41
41
  if (!e)
42
42
  return null;
43
43
  if (e.title)
@@ -46,7 +46,7 @@ const G = { class: "property-rule" }, J = {
46
46
  return e.name;
47
47
  if (l.schemas && typeof l.schemas == "object") {
48
48
  for (const [o, t] of Object.entries(l.schemas))
49
- if (w(t) === w(e))
49
+ if (T(t) === T(e))
50
50
  return o;
51
51
  }
52
52
  if (e.type === "array" && e.items)
@@ -59,32 +59,34 @@ const G = { class: "property-rule" }, J = {
59
59
  return o[0];
60
60
  }
61
61
  return null;
62
- }, B = (e) => e.find((o) => g(o)), k = m(() => {
63
- const e = B(l.value[l.composition]);
64
- return e ? (e.oneOf || e.anyOf).map((t) => {
62
+ }, k = (e) => e.find((o) => g(o)), N = m(() => {
63
+ if (!k(l.value[l.composition]))
64
+ return l.value[l.composition];
65
+ const e = k(l.value[l.composition]);
66
+ return (e.oneOf || e.anyOf).map((t) => {
65
67
  if (t.allOf) {
66
- const n = t.allOf.find((c) => c.title), i = t.allOf.find((c) => !c.title);
67
- return n && i ? {
68
+ const n = t.allOf.find((c) => c.title), r = t.allOf.find((c) => !c.title);
69
+ return n && r ? {
68
70
  ...n,
69
71
  properties: {
70
72
  ...n.properties,
71
- ...i.properties
73
+ ...r.properties
72
74
  },
73
75
  required: [
74
76
  ...n.required || [],
75
- ...i.required || []
77
+ ...r.required || []
76
78
  ],
77
- oneOf: i.oneOf,
78
- anyOf: i.anyOf
79
+ oneOf: r.oneOf,
80
+ anyOf: r.anyOf
79
81
  } : n || t;
80
82
  }
81
83
  return t;
82
- }) : l.value[l.composition];
83
- }), T = (e) => {
84
+ });
85
+ }), L = (e) => {
84
86
  var o, t;
85
87
  if (e === "allOf") {
86
88
  const n = (t = (o = l.value) == null ? void 0 : o[e]) == null ? void 0 : t.find(
87
- (i) => g(i)
89
+ (r) => g(r)
88
90
  );
89
91
  if (n != null && n.oneOf)
90
92
  return "One of";
@@ -92,57 +94,57 @@ const G = { class: "property-rule" }, J = {
92
94
  return "Any of";
93
95
  }
94
96
  return e.replace(/([A-Z])/g, " $1").replace(/^./, (n) => n.toUpperCase()).toLowerCase().replace(/^(\w)/, (n) => n.toUpperCase());
95
- }, r = m(
96
- () => k.value[y.value]
97
+ }, a = m(
98
+ () => N.value[y.value]
97
99
  ), h = m(() => {
98
100
  var e;
99
- return (e = r.value) != null && e.oneOf ? "oneOf" : "anyOf";
100
- }), q = m(() => {
101
+ return (e = a.value) != null && e.oneOf ? "oneOf" : "anyOf";
102
+ }), U = m(() => {
101
103
  var o;
102
104
  const e = h.value;
103
- return (o = r.value) == null ? void 0 : o[e];
105
+ return (o = a.value) == null ? void 0 : o[e];
104
106
  });
105
107
  return (e, o) => {
106
- var n, i, c, N;
107
- const t = D("SchemaComposition", !0);
108
- return s(), u("div", G, [
109
- e.composition === "allOf" && e.value[e.composition].some((a) => a.oneOf || a.anyOf) ? (s(!0), u(V, { key: 0 }, E(e.value[e.composition].filter(
110
- (a) => !a.oneOf && !a.anyOf
111
- ), (a, z) => (s(), f(S, {
112
- key: z,
108
+ var n, r, c, V, H, w, j;
109
+ const t = I("SchemaComposition", !0);
110
+ return s(), u("div", P, [
111
+ e.composition === "allOf" && e.value[e.composition].some((i) => i.oneOf || i.anyOf) ? (s(!0), u(A, { key: 0 }, M(e.value[e.composition].filter(
112
+ (i) => !i.oneOf && !i.anyOf
113
+ ), (i, D) => (s(), f(S, {
114
+ key: D,
113
115
  compact: e.compact,
114
116
  level: e.level,
115
117
  name: e.name,
116
118
  noncollapsible: e.level == 0,
117
119
  schemas: e.schemas,
118
- value: a
120
+ value: i
119
121
  }, null, 8, ["compact", "level", "name", "noncollapsible", "schemas", "value"]))), 128)) : p("", !0),
120
- j.value ? (s(), u(V, { key: 1 }, [
121
- b(v(I), {
122
+ q.value ? (s(), u(A, { key: 1 }, [
123
+ b(v(Z), {
122
124
  modelValue: O.value,
123
- "onUpdate:modelValue": o[0] || (o[0] = (a) => O.value = a),
125
+ "onUpdate:modelValue": o[0] || (o[0] = (i) => O.value = i),
124
126
  options: C.value,
125
127
  resize: ""
126
128
  }, {
127
- default: F(() => {
128
- var a;
129
+ default: $(() => {
130
+ var i;
129
131
  return [
130
- d("button", J, [
131
- d("span", K, H(T(e.composition)), 1),
132
- d("span", P, H(((a = O.value) == null ? void 0 : a.label) || "Schema"), 1),
133
- b(v($), { class: "z-1" })
132
+ d("button", Q, [
133
+ d("span", R, B(L(e.composition)), 1),
134
+ d("span", X, B(((i = O.value) == null ? void 0 : i.label) || "Schema"), 1),
135
+ b(v(J), { class: "z-1" })
134
136
  ])
135
137
  ];
136
138
  }),
137
139
  _: 1
138
140
  }, 8, ["modelValue", "options"]),
139
- d("div", Q, [
140
- (n = r.value) != null && n.description ? (s(), u("div", R, [
141
- b(v(M), {
142
- value: r.value.description
141
+ d("div", Y, [
142
+ (n = a.value) != null && n.description ? (s(), u("div", W, [
143
+ b(v(G), {
144
+ value: a.value.description
143
145
  }, null, 8, ["value"])
144
146
  ])) : p("", !0),
145
- (i = r.value) != null && i.properties ? (s(), f(S, {
147
+ (r = a.value) != null && r.properties || (c = a.value) != null && c.type || (V = a.value) != null && V.nullable ? (s(), f(S, {
146
148
  key: 1,
147
149
  compact: e.compact,
148
150
  level: e.level + 1,
@@ -150,12 +152,12 @@ const G = { class: "property-rule" }, J = {
150
152
  name: e.name,
151
153
  noncollapsible: !0,
152
154
  schemas: e.schemas,
153
- value: {
155
+ value: (H = a.value) != null && H.properties ? {
154
156
  type: "object",
155
- properties: r.value.properties
156
- }
157
+ properties: a.value.properties
158
+ } : a.value
157
159
  }, null, 8, ["compact", "level", "hideHeading", "name", "schemas", "value"])) : p("", !0),
158
- (c = r.value) != null && c.oneOf || (N = r.value) != null && N.anyOf ? (s(), f(t, {
160
+ (w = a.value) != null && w.oneOf || (j = a.value) != null && j.anyOf ? (s(), f(t, {
159
161
  key: 2,
160
162
  compact: e.compact,
161
163
  composition: h.value,
@@ -165,7 +167,7 @@ const G = { class: "property-rule" }, J = {
165
167
  noncollapsible: !0,
166
168
  schemas: e.schemas,
167
169
  value: {
168
- [h.value]: q.value
170
+ [h.value]: U.value
169
171
  }
170
172
  }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "schemas", "value"])) : p("", !0)
171
173
  ])
@@ -176,12 +178,12 @@ const G = { class: "property-rule" }, J = {
176
178
  name: e.name,
177
179
  noncollapsible: e.level == 0,
178
180
  schemas: e.schemas,
179
- value: v(Z)(e.value[e.composition])
181
+ value: v(K)(e.value[e.composition])
180
182
  }, null, 8, ["compact", "level", "name", "noncollapsible", "schemas", "value"]))
181
183
  ]);
182
184
  };
183
185
  }
184
186
  });
185
187
  export {
186
- ne as default
188
+ ae as default
187
189
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AA+gBA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAc9C;;;;;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,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,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;kBAIF,OAAO;;AAod1B,0BAQG"}
1
+ {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AA+gBA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAc9C;;;;;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,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,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;kBAIF,OAAO;;AAmd1B,0BAQG"}
@@ -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-e6131992"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-689c7117"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as Z, computed as y, createBlock as h, openBlock as l, resolveDynamicComponent as M, normalizeClass as A, withCtx as m, createCommentVNode as r, createElementBlock as s, createVNode as a, createSlots as G, createTextVNode as D, toDisplayString as c, unref as i, Fragment as d, renderList as k, createElementVNode as f } from "vue";
1
+ import { defineComponent as Z, computed as y, createBlock as h, openBlock as l, resolveDynamicComponent as M, normalizeClass as I, withCtx as m, createCommentVNode as r, createElementBlock as o, createVNode as a, createSlots as G, createTextVNode as D, toDisplayString as c, unref as i, Fragment as d, renderList as k, createElementVNode as f } from "vue";
2
2
  import { Disclosure as J, DisclosurePanel as K, DisclosureButton as Q } from "@headlessui/vue";
3
3
  import { ScalarMarkdown as H, ScalarIcon as W } from "@scalar/components";
4
4
  import { optimizeValueForDisplay as X, compositions as Y } from "./helpers/optimizeValueForDisplay.js";
5
- import I from "./Schema.vue.js";
6
- import L from "./SchemaComposition.vue.js";
5
+ import L from "./Schema.vue.js";
6
+ import O from "./SchemaComposition.vue.js";
7
7
  import x from "./SchemaPropertyHeading.vue.js";
8
8
  import ee from "../../SpecificationExtension/SpecificationExtension.vue.js";
9
9
  const ne = {
@@ -15,10 +15,10 @@ const ne = {
15
15
  }, le = {
16
16
  key: 3,
17
17
  class: "property-enum"
18
- }, oe = {
18
+ }, se = {
19
19
  key: 0,
20
20
  class: "property-list"
21
- }, se = { class: "property-heading" }, ae = { class: "property-name" }, ie = { class: "property-description" }, re = {
21
+ }, oe = { class: "property-heading" }, ae = { class: "property-name" }, ie = { class: "property-description" }, re = {
22
22
  key: 1,
23
23
  class: "property-enum-values"
24
24
  }, pe = { class: "property-enum-value-label" }, me = { class: "property-enum-value-label" }, ce = {
@@ -44,8 +44,8 @@ const ne = {
44
44
  schemas: {},
45
45
  hideHeading: { type: Boolean }
46
46
  },
47
- setup(O) {
48
- const $ = O, S = {
47
+ setup(_) {
48
+ const $ = _, S = {
49
49
  integer: {
50
50
  _default: "Integer numbers.",
51
51
  int32: "Signed 32-bit integers (commonly used integer type).",
@@ -71,7 +71,7 @@ const ne = {
71
71
  return (e, t) => {
72
72
  var g;
73
73
  return l(), h(M(e.is ?? "li"), {
74
- class: A(["property", [
74
+ class: I(["property", [
75
75
  (B(e.description, n.value), ""),
76
76
  `property--level-${e.level}`,
77
77
  {
@@ -113,42 +113,42 @@ const ne = {
113
113
  key: "1"
114
114
  } : void 0
115
115
  ]), 1032, ["additional", "enum", "pattern", "required", "value", "schemas"])) : r("", !0),
116
- B(e.description, n.value) ? (l(), s("div", ne, [
116
+ B(e.description, n.value) ? (l(), o("div", ne, [
117
117
  a(i(H), {
118
118
  value: B(e.description, n.value)
119
119
  }, null, 8, ["value"])
120
- ])) : E(n.value) ? (l(), s("div", te, [
120
+ ])) : E(n.value) ? (l(), o("div", te, [
121
121
  a(i(H), {
122
122
  value: E(n.value) || ""
123
123
  }, null, 8, ["value"])
124
124
  ])) : r("", !0),
125
- ((v = p(n.value)) == null ? void 0 : v.length) > 0 ? (l(), s("div", le, [
126
- Array.isArray((w = n.value) == null ? void 0 : w["x-enumDescriptions"]) ? (l(), s("div", oe, [
127
- (l(!0), s(d, null, k(p(n.value), (o) => (l(), s("div", {
128
- key: o,
125
+ ((v = p(n.value)) == null ? void 0 : v.length) > 0 ? (l(), o("div", le, [
126
+ Array.isArray((w = n.value) == null ? void 0 : w["x-enumDescriptions"]) ? (l(), o("div", se, [
127
+ (l(!0), o(d, null, k(p(n.value), (s) => (l(), o("div", {
128
+ key: s,
129
129
  class: "property"
130
130
  }, [
131
- f("div", se, [
132
- f("div", ae, c(o), 1)
131
+ f("div", oe, [
132
+ f("div", ae, c(s), 1)
133
133
  ]),
134
134
  f("div", ie, [
135
135
  a(i(H), {
136
- value: n.value["x-enumDescriptions"][o]
136
+ value: n.value["x-enumDescriptions"][s]
137
137
  }, null, 8, ["value"])
138
138
  ])
139
139
  ]))), 128))
140
- ])) : (l(), s("ul", re, [
141
- (l(!0), s(d, null, k(R.value, (o) => (l(), s("li", {
142
- key: o,
140
+ ])) : (l(), o("ul", re, [
141
+ (l(!0), o(d, null, k(R.value, (s) => (l(), o("li", {
142
+ key: s,
143
143
  class: "property-enum-value"
144
144
  }, [
145
- f("span", pe, c(o), 1)
145
+ f("span", pe, c(s), 1)
146
146
  ]))), 128)),
147
147
  C.value ? (l(), h(i(J), { key: 0 }, {
148
- default: m(({ open: o }) => [
148
+ default: m(({ open: s }) => [
149
149
  a(i(K), null, {
150
150
  default: m(() => [
151
- (l(!0), s(d, null, k(T.value, (u) => (l(), s("li", {
151
+ (l(!0), o(d, null, k(T.value, (u) => (l(), o("li", {
152
152
  key: u,
153
153
  class: "property-enum-value"
154
154
  }, [
@@ -160,11 +160,11 @@ const ne = {
160
160
  a(i(Q), { class: "enum-toggle-button" }, {
161
161
  default: m(() => [
162
162
  a(i(W), {
163
- class: A(["enum-toggle-button-icon", { "enum-toggle-button-icon--open": o }]),
163
+ class: I(["enum-toggle-button-icon", { "enum-toggle-button-icon--open": s }]),
164
164
  icon: "Add",
165
165
  size: "sm"
166
166
  }, null, 8, ["class"]),
167
- D(" " + c(o ? "Hide values" : "Show all values"), 1)
167
+ D(" " + c(s ? "Hide values" : "Show all values"), 1)
168
168
  ]),
169
169
  _: 2
170
170
  }, 1024)
@@ -173,8 +173,8 @@ const ne = {
173
173
  })) : r("", !0)
174
174
  ]))
175
175
  ])) : r("", !0),
176
- ((q = n.value) == null ? void 0 : q.type) === "object" && ((F = n.value) != null && F.properties || (N = n.value) != null && N.additionalProperties) ? (l(), s("div", ce, [
177
- a(I, {
176
+ ((q = n.value) == null ? void 0 : q.type) === "object" && ((F = n.value) != null && F.properties || (N = n.value) != null && N.additionalProperties) ? (l(), o("div", ce, [
177
+ a(L, {
178
178
  compact: e.compact,
179
179
  level: e.level + 1,
180
180
  name: e.name,
@@ -183,34 +183,35 @@ const ne = {
183
183
  schemas: e.schemas
184
184
  }, null, 8, ["compact", "level", "name", "noncollapsible", "value", "schemas"])
185
185
  ])) : r("", !0),
186
- (V = n.value) != null && V.items && typeof n.value.items == "object" && "type" in n.value.items && typeof n.value.items.type == "string" ? (l(), s(d, { key: 5 }, [
187
- ["object"].includes((z = (j = n.value) == null ? void 0 : j.items) == null ? void 0 : z.type) ? (l(), s("div", de, [
188
- a(I, {
186
+ (V = n.value) != null && V.items && typeof n.value.items == "object" && "type" in n.value.items && typeof n.value.items.type == "string" ? (l(), o(d, { key: 5 }, [
187
+ ["object"].includes((z = (j = n.value) == null ? void 0 : j.items) == null ? void 0 : z.type) ? (l(), o("div", de, [
188
+ a(L, {
189
189
  compact: e.compact,
190
190
  level: e.level + 1,
191
191
  name: e.name,
192
192
  noncollapsible: e.noncollapsible,
193
- value: n.value.items
194
- }, null, 8, ["compact", "level", "name", "noncollapsible", "value"])
193
+ value: n.value.items,
194
+ schemas: e.schemas
195
+ }, null, 8, ["compact", "level", "name", "noncollapsible", "value", "schemas"])
195
196
  ])) : r("", !0)
196
197
  ], 64)) : r("", !0),
197
- (l(!0), s(d, null, k(i(Y), (o) => {
198
- var u, _;
199
- return l(), s(d, { key: o }, [
200
- (u = n.value) != null && u[o] ? (l(), h(L, {
198
+ (l(!0), o(d, null, k(i(Y), (s) => {
199
+ var u, A;
200
+ return l(), o(d, { key: s }, [
201
+ (u = n.value) != null && u[s] ? (l(), h(O, {
201
202
  key: 0,
202
203
  compact: e.compact,
203
- composition: o,
204
+ composition: s,
204
205
  hideHeading: e.hideHeading,
205
206
  level: e.level,
206
207
  name: e.name,
207
208
  noncollapsible: e.noncollapsible,
208
209
  schemas: e.schemas,
209
210
  value: n.value
210
- }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : (_ = n.value) != null && _.items && typeof o == "string" && typeof n.value.items == "object" && !("type" in n.value.items) && o in n.value.items ? (l(), h(L, {
211
+ }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : (A = n.value) != null && A.items && typeof s == "string" && typeof n.value.items == "object" && !("type" in n.value.items) && s in n.value.items ? (l(), h(O, {
211
212
  key: 1,
212
213
  compact: e.compact,
213
- composition: o,
214
+ composition: s,
214
215
  hideHeading: e.hideHeading,
215
216
  level: e.level,
216
217
  name: e.name,
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAqVA,OAAO,KAAK,EAEV,SAAS,EACT,SAAS,EACT,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAgB9B,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,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;AA2GF,iBAAS,cAAc;WAwUT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AA2XA,OAAO,KAAK,EAEV,SAAS,EACT,SAAS,EACT,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAgB9B,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,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;AAkJF,iBAAS,cAAc;WAuUT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaPropertyHeading.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-187c71e2"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-2e17f3f8"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };