@scalar/blocks 0.11.3 → 0.11.4

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 (37) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/constants.js +1 -1
  3. package/dist/schema/Schema.vue.d.ts.map +1 -1
  4. package/dist/schema/Schema.vue.js +4 -4
  5. package/dist/schema/Schema.vue.js.map +1 -1
  6. package/dist/schema/Schema3.vue.js +1 -1
  7. package/dist/schema/SchemaProperty.vue.d.ts +7 -2
  8. package/dist/schema/SchemaProperty.vue.d.ts.map +1 -1
  9. package/dist/schema/SchemaProperty.vue.js +257 -235
  10. package/dist/schema/SchemaProperty.vue.js.map +1 -1
  11. package/dist/schema/SchemaProperty3.vue.js +1 -1
  12. package/dist/schema/SchemaPropertyHeading.vue.d.ts +4 -1
  13. package/dist/schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  14. package/dist/schema/SchemaPropertyHeading.vue.js +113 -112
  15. package/dist/schema/SchemaPropertyHeading.vue.js.map +1 -1
  16. package/dist/schema/SchemaPropertyHeading3.vue.js +1 -1
  17. package/dist/schema/helpers/get-compositions-to-render.d.ts.map +1 -1
  18. package/dist/schema/helpers/get-compositions-to-render.js +34 -31
  19. package/dist/schema/helpers/get-compositions-to-render.js.map +1 -1
  20. package/dist/schema/helpers/get-ref-name.d.ts +14 -5
  21. package/dist/schema/helpers/get-ref-name.d.ts.map +1 -1
  22. package/dist/schema/helpers/get-ref-name.js +8 -11
  23. package/dist/schema/helpers/get-ref-name.js.map +1 -1
  24. package/dist/schema/helpers/index.d.ts +1 -1
  25. package/dist/schema/helpers/index.d.ts.map +1 -1
  26. package/dist/schema/helpers/index.js +3 -3
  27. package/dist/schema/helpers/schema-name.d.ts +7 -3
  28. package/dist/schema/helpers/schema-name.d.ts.map +1 -1
  29. package/dist/schema/helpers/schema-name.js +36 -26
  30. package/dist/schema/helpers/schema-name.js.map +1 -1
  31. package/dist/shared/ExternalDocs.vue.d.ts +2 -0
  32. package/dist/shared/ExternalDocs.vue.d.ts.map +1 -1
  33. package/dist/shared/ExternalDocs.vue.js +24 -17
  34. package/dist/shared/ExternalDocs.vue.js.map +1 -1
  35. package/dist/style.css +11 -11
  36. package/dist/vue-styles.css +1 -1
  37. package/package.json +10 -10
@@ -11,46 +11,46 @@ import ae from "./SchemaPropertyDefault3.vue.js";
11
11
  import a from "./SchemaPropertyDetail3.vue.js";
12
12
  import oe from "./SchemaPropertyExamples3.vue.js";
13
13
  import se from "./SchemaPropertyPattern3.vue.js";
14
- import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as ce, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, openBlock as g, renderList as _, renderSlot as v, toDisplayString as y, toRef as le, unref as b, withCtx as x } from "vue";
15
- import { resolve as S } from "@scalar/workspace-store/resolve";
16
- import { isArraySchema as C, isNumberSchema as w, isStringSchema as T } from "@scalar/workspace-store/schemas/v3.2/strict/type-guards";
17
- import { isDefined as E } from "@scalar/helpers/array/is-defined";
18
- import { ScalarTooltip as D } from "@scalar/components/tooltip";
14
+ import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as ce, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, openBlock as g, renderList as _, renderSlot as v, toDisplayString as y, toRef as b, unref as x, withCtx as S } from "vue";
15
+ import { resolve as C } from "@scalar/workspace-store/resolve";
16
+ import { isArraySchema as w, isNumberSchema as T, isStringSchema as E } from "@scalar/workspace-store/schemas/v3.2/strict/type-guards";
17
+ import { isDefined as D } from "@scalar/helpers/array/is-defined";
18
+ import { ScalarTooltip as O } from "@scalar/components/tooltip";
19
19
  // src/schema/SchemaPropertyHeading.vue?vue&type=script&setup=true&lang.ts
20
- var ue = { class: "property-heading [&>.property-detail:has(+.property-detail)]:mr-0" }, de = { class: "text-c-3 font-code mr-2 text-xs" }, fe = { "aria-hidden": "true" }, pe = { class: "sr-only" }, me = {
20
+ var le = { class: "property-heading [&>.property-detail:has(+.property-detail)]:mr-0" }, ue = { class: "text-c-3 font-code mr-2 text-xs" }, de = { "aria-hidden": "true" }, fe = { class: "sr-only" }, pe = {
21
21
  key: 2,
22
22
  class: "property-discriminator"
23
- }, O = { class: "font-code text-c-accent" }, he = { class: "screenreader-only" }, k = {
23
+ }, k = { class: "font-code text-c-accent" }, me = { class: "screenreader-only" }, he = {
24
24
  key: 0,
25
25
  class: "property-type-signature text-c-2 text-(length:--scalar-mini)"
26
- }, A = {
26
+ }, ge = {
27
27
  key: 1,
28
28
  class: "property-type-signature text-c-2 text-(length:--scalar-mini)"
29
- }, j = { class: "text-c-2 mr-2 text-xs" }, M = { class: "sr-only" }, N = {
29
+ }, A = { class: "text-c-2 mr-2 text-xs" }, j = { class: "sr-only" }, M = {
30
30
  key: 0,
31
31
  class: "screenreader-only"
32
- }, P = {
32
+ }, N = {
33
33
  key: 4,
34
34
  class: "property-additional"
35
- }, F = {
35
+ }, P = {
36
36
  key: 5,
37
37
  class: "property-deprecated"
38
- }, I = {
38
+ }, F = {
39
39
  key: 6,
40
40
  class: "text-c-2"
41
- }, L = {
41
+ }, I = {
42
42
  key: 7,
43
43
  class: "property-const"
44
- }, ge = {
44
+ }, _e = {
45
45
  key: 9,
46
46
  class: "property-write-only"
47
- }, _e = {
47
+ }, ve = {
48
48
  key: 10,
49
49
  class: "property-read-only"
50
- }, ve = {
50
+ }, ye = {
51
51
  key: 11,
52
52
  class: "property-required"
53
- }, R = "min-w-0 wrap-anywhere whitespace-normal", z = /*@__PURE__*/ m({
53
+ }, L = "min-w-0 wrap-anywhere whitespace-normal", R = /*@__PURE__*/ m({
54
54
  __name: "SchemaPropertyHeading",
55
55
  props: {
56
56
  value: {},
@@ -75,6 +75,7 @@ var ue = { class: "property-heading [&>.property-detail:has(+.property-detail)]:
75
75
  default: !1
76
76
  },
77
77
  modelLinkOptions: {},
78
+ model: {},
78
79
  modelName: {},
79
80
  propertyNames: {},
80
81
  eventBus: { default: null },
@@ -82,144 +83,144 @@ var ue = { class: "property-heading [&>.property-detail:has(+.property-detail)]:
82
83
  recursiveTo: {}
83
84
  },
84
85
  setup(m) {
85
- let z = m, { translate: B } = te(), V = s(() => z.value?.[ne]), H = s(() => z.recursiveTo ?? z.value?.[ie]), U = s(() => z.value?.[re]), W = s(() => U.value === "explicit" ? "Explicit presence: Protobuf distinguishes an unset field from one set to its default value." : "Implicit presence: Protobuf does not distinguish an unset field from one set to its default value."), G = le(z, "value"), K = s(() => {
86
- let e = z.badges;
86
+ let R = m, { translate: z } = te(), B = s(() => R.value?.[ne]), V = s(() => R.recursiveTo ?? R.value?.[ie]), H = s(() => R.value?.[re]), U = s(() => H.value === "explicit" ? "Explicit presence: Protobuf distinguishes an unset field from one set to its default value." : "Implicit presence: Protobuf does not distinguish an unset field from one set to its default value."), W = b(R, "value"), G = s(() => {
87
+ let e = R.badges;
87
88
  if (e) return {
88
89
  before: e.filter((e) => e.position === "before"),
89
90
  after: e.filter((e) => e.position !== "before")
90
91
  };
91
- }), q = s(() => {
92
- if (!G.value) return;
93
- let e = G.value;
92
+ }), K = s(() => {
93
+ if (!W.value) return;
94
+ let e = W.value;
94
95
  if (e.const !== void 0) return e.const;
95
96
  if (e.enum?.length === 1) return e.enum[0];
96
- if (C(e) && e.items) {
97
- let t = S.schema(e.items);
98
- if (E(t.const)) return t.const;
97
+ if (w(e) && e.items) {
98
+ let t = C.schema(e.items);
99
+ if (D(t.const)) return t.const;
99
100
  if (t.enum?.length === 1) return t.enum[0];
100
101
  }
101
- }), J = (e) => {
102
+ }), q = (e) => {
102
103
  let t = [];
103
- return T(e) && (E(e.minLength) && t.push({
104
+ return E(e) && (D(e.minLength) && t.push({
104
105
  key: "min-length",
105
- prefix: `${B("schema.minLength")}: `,
106
+ prefix: `${z("schema.minLength")}: `,
106
107
  value: e.minLength
107
- }), E(e.maxLength) && t.push({
108
+ }), D(e.maxLength) && t.push({
108
109
  key: "max-length",
109
- prefix: `${B("schema.maxLength")}: `,
110
+ prefix: `${z("schema.maxLength")}: `,
110
111
  value: e.maxLength
111
- })), (T(e) || w(e)) && e.format && t.push({
112
+ })), (E(e) || T(e)) && e.format && t.push({
112
113
  key: "format",
113
114
  value: e.format,
114
115
  truncate: !0
115
- }), w(e) && (E(e.exclusiveMinimum) && t.push({
116
+ }), T(e) && (D(e.exclusiveMinimum) && t.push({
116
117
  key: "exclusive-minimum",
117
- prefix: `${B("schema.greaterThan")}: `,
118
+ prefix: `${z("schema.greaterThan")}: `,
118
119
  value: e.exclusiveMinimum
119
- }), E(e.minimum) && t.push({
120
+ }), D(e.minimum) && t.push({
120
121
  key: "minimum",
121
- prefix: `${B("schema.min")}: `,
122
+ prefix: `${z("schema.min")}: `,
122
123
  value: e.minimum
123
- }), E(e.exclusiveMaximum) && t.push({
124
+ }), D(e.exclusiveMaximum) && t.push({
124
125
  key: "exclusive-maximum",
125
- prefix: `${B("schema.lessThan")}: `,
126
+ prefix: `${z("schema.lessThan")}: `,
126
127
  value: e.exclusiveMaximum
127
- }), E(e.maximum) && t.push({
128
+ }), D(e.maximum) && t.push({
128
129
  key: "maximum",
129
- prefix: `${B("schema.max")}: `,
130
+ prefix: `${z("schema.max")}: `,
130
131
  value: e.maximum
131
- }), E(e.multipleOf) && t.push({
132
+ }), D(e.multipleOf) && t.push({
132
133
  key: "multiple-of",
133
- prefix: `${B("schema.multipleOf")}: `,
134
+ prefix: `${z("schema.multipleOf")}: `,
134
135
  value: e.multipleOf
135
136
  })), t;
136
- }, ye = s(() => {
137
- if (!G.value) return [];
138
- let e = G.value, t = [];
139
- return C(e) && ((E(e.minItems) || E(e.maxItems)) && t.push({
137
+ }, be = s(() => {
138
+ if (!W.value) return [];
139
+ let e = W.value, t = [];
140
+ return w(e) && ((D(e.minItems) || D(e.maxItems)) && t.push({
140
141
  key: "array-range",
141
142
  value: `${e.minItems ?? ""}…${e.maxItems ?? ""}`
142
143
  }), e.uniqueItems && t.push({
143
144
  key: "unique-items",
144
- value: `${B("schema.unique")}!`
145
- })), t.push(...J(e)), C(e) && e.items && t.push(...J(S.schema(e.items))), t;
146
- }), Y = s(() => !z.value || z.hideModelNames ? null : z.modelName ? {
147
- schemaKey: z.modelName,
148
- label: z.modelName
149
- } : ee(z.value)), be = s(() => r(Y.value?.schemaKey, z.modelLinkOptions ?? {})), X = s(() => n(z.value, {
150
- hideModelNames: z.hideModelNames,
145
+ value: `${z("schema.unique")}!`
146
+ })), t.push(...q(e)), w(e) && e.items && t.push(...q(C.schema(e.items))), t;
147
+ }), J = b(R, "model"), Y = s(() => !R.value || R.hideModelNames ? null : J.value ? J.value : R.modelName ? {
148
+ schemaKey: R.modelName,
149
+ label: R.modelName
150
+ } : ee(R.value)), xe = s(() => r(Y.value?.schemaKey, R.modelLinkOptions ?? {})), X = s(() => n(R.value, {
151
+ hideModelNames: R.hideModelNames,
151
152
  modelName: Y.value?.label
152
- })), xe = s(() => !z.value || !("type" in z.value) ? !1 : z.value.type === "array" || !q.value), Z = s(() => {
153
- let e = z.propertyNames;
153
+ })), Se = s(() => !R.value || !("type" in R.value) ? !1 : R.value.type === "array" || !K.value), Z = s(() => {
154
+ let e = R.propertyNames;
154
155
  if (!e) return;
155
156
  let n = [t(e)];
156
157
  "format" in e && typeof e.format == "string" && n.push(e.format);
157
158
  let r = n.filter(Boolean).join(" · ");
158
159
  return r.length > 0 ? r : void 0;
159
160
  }), Q = s(() => {
160
- if (z.value && "example" in z.value && z.value.example !== void 0) return z.value.example;
161
- if (z.value && C(z.value) && !z.value.examples?.length) {
162
- let e = S.schema(z.value.items);
161
+ if (R.value && "example" in R.value && R.value.example !== void 0) return R.value.example;
162
+ if (R.value && w(R.value) && !R.value.examples?.length) {
163
+ let e = C.schema(R.value.items);
163
164
  if (e && "example" in e && e.example !== void 0) return e.example;
164
165
  }
165
- }), Se = s(() => {
166
+ }), Ce = s(() => {
166
167
  if (Q.value !== void 0) return !0;
167
- let e = z.value?.examples;
168
+ let e = R.value?.examples;
168
169
  return !!e && typeof e == "object" && Object.keys(e).length > 0;
169
170
  }), $ = s(() => {
170
- let e = G.value;
171
+ let e = W.value;
171
172
  if (e) {
172
- if (T(e) && e.pattern) return e.pattern;
173
- if (C(e) && e.items) {
174
- let t = S.schema(e.items);
175
- if (T(t) && t.pattern) return t.pattern;
173
+ if (E(e) && e.pattern) return e.pattern;
174
+ if (w(e) && e.items) {
175
+ let t = C.schema(e.items);
176
+ if (E(t) && t.pattern) return t.pattern;
176
177
  }
177
178
  }
178
179
  });
179
- return (t, n) => (g(), u("div", ue, [
180
- (g(!0), u(o, null, _(K.value?.before, (t, n) => (g(), c(e, {
180
+ return (t, n) => (g(), u("div", le, [
181
+ (g(!0), u(o, null, _(G.value?.before, (t, n) => (g(), c(e, {
181
182
  key: n,
182
- class: h(R),
183
+ class: h(L),
183
184
  color: t.color
184
185
  }, {
185
- default: x(() => [f(y(t.name), 1)]),
186
+ default: S(() => [f(y(t.name), 1)]),
186
187
  _: 2
187
188
  }, 1032, ["color"]))), 128)),
188
189
  t.$slots.name ? (g(), u("div", {
189
190
  key: 0,
190
- class: h(["property-name", { deprecated: z.value?.deprecated }])
191
+ class: h(["property-name", { deprecated: R.value?.deprecated }])
191
192
  }, [v(t.$slots, "name", {}, void 0, !0)], 2)) : l("", !0),
192
- V.value === void 0 ? l("", !0) : (g(), c(b(D), {
193
+ B.value === void 0 ? l("", !0) : (g(), c(x(O), {
193
194
  key: 1,
194
195
  content: "Protobuf field number"
195
196
  }, {
196
- default: x(() => [d("span", de, [d("span", fe, "#" + y(V.value), 1), d("span", pe, "Protobuf field number: " + y(V.value), 1)])]),
197
+ default: S(() => [d("span", ue, [d("span", de, "#" + y(B.value), 1), d("span", fe, "Protobuf field number: " + y(B.value), 1)])]),
197
198
  _: 1
198
199
  })),
199
- z.isDiscriminator ? (g(), u("div", me, y(b(B)("schema.discriminator")), 1)) : l("", !0),
200
- z.value ? (g(), u(o, { key: 3 }, [
201
- z.keyKind ? (g(), c(a, {
200
+ R.isDiscriminator ? (g(), u("div", pe, y(x(z)("schema.discriminator")), 1)) : l("", !0),
201
+ R.value ? (g(), u(o, { key: 3 }, [
202
+ R.keyKind ? (g(), c(a, {
202
203
  key: 0,
203
204
  class: "property-key-kind"
204
205
  }, {
205
- default: x(() => [d("span", O, y(z.keyKind === "pattern" ? "patternProperty" : "additionalProperty"), 1)]),
206
+ default: S(() => [d("span", k, y(R.keyKind === "pattern" ? "patternProperty" : "additionalProperty"), 1)]),
206
207
  _: 1
207
208
  })) : l("", !0),
208
- xe.value ? (g(), c(a, {
209
+ Se.value ? (g(), c(a, {
209
210
  key: 1,
210
211
  truncate: ""
211
212
  }, {
212
- default: x(() => [d("span", he, y(b(B)("schema.type")) + ": ", 1), z.eventBus && Y.value?.schemaKey && be.value ? (g(), u("button", {
213
+ default: S(() => [d("span", me, y(x(z)("schema.type")) + ": ", 1), R.eventBus && Y.value?.schemaKey && xe.value ? (g(), u("button", {
213
214
  key: 0,
214
215
  class: "text-c-2 hover:text-c-1 underline",
215
216
  type: "button",
216
- onClick: n[0] ||= (e) => z.eventBus.emit("scroll-to:model-by-name", { name: Y.value.schemaKey })
217
- }, [X.value.length ? (g(), u("span", k, [(g(!0), u(o, null, _(X.value, (e, t) => (g(), u(o, { key: t }, [f(y(t > 0 ? " " : ""), 1), d("span", { class: h(["property-type-token", [
217
+ onClick: n[0] ||= (e) => R.eventBus.emit("scroll-to:model-by-name", { name: Y.value.schemaKey })
218
+ }, [X.value.length ? (g(), u("span", he, [(g(!0), u(o, null, _(X.value, (e, t) => (g(), u(o, { key: t }, [f(y(t > 0 ? " " : ""), 1), d("span", { class: h(["property-type-token", [
218
219
  `property-type-token--${e.kind}`,
219
220
  e.kind === "word" ? "font-sans" : "",
220
221
  e.kind === "ident" || e.kind === "literal" ? "font-code" : "",
221
222
  e.kind === "punctuation" ? "text-c-2" : ""
222
- ]]) }, y(e.text), 3)], 64))), 128))])) : l("", !0)])) : X.value.length ? (g(), u("span", A, [(g(!0), u(o, null, _(X.value, (e, t) => (g(), u(o, { key: t }, [f(y(t > 0 ? " " : ""), 1), d("span", { class: h(["property-type-token", [
223
+ ]]) }, y(e.text), 3)], 64))), 128))])) : l("", !0)])) : X.value.length ? (g(), u("span", ge, [(g(!0), u(o, null, _(X.value, (e, t) => (g(), u(o, { key: t }, [f(y(t > 0 ? " " : ""), 1), d("span", { class: h(["property-type-token", [
223
224
  `property-type-token--${e.kind}`,
224
225
  e.kind === "word" ? "font-sans" : "",
225
226
  e.kind === "ident" || e.kind === "literal" ? "font-code" : "",
@@ -227,88 +228,88 @@ var ue = { class: "property-heading [&>.property-detail:has(+.property-detail)]:
227
228
  ]]) }, y(e.text), 3)], 64))), 128))])) : l("", !0)]),
228
229
  _: 1
229
230
  })) : l("", !0),
230
- H.value ? (g(), c(a, {
231
+ V.value ? (g(), c(a, {
231
232
  key: 2,
232
233
  class: "property-recursive",
233
- title: b(B)("schema.recursiveReference", { name: H.value })
234
+ title: x(z)("schema.recursiveReference", { name: V.value })
234
235
  }, {
235
- default: x(() => [f(y(b(B)("schema.recursive")), 1)]),
236
+ default: S(() => [f(y(x(z)("schema.recursive")), 1)]),
236
237
  _: 1
237
238
  }, 8, ["title"])) : l("", !0),
238
- U.value ? (g(), c(b(D), {
239
+ H.value ? (g(), c(x(O), {
239
240
  key: 3,
240
- content: W.value
241
+ content: U.value
241
242
  }, {
242
- default: x(() => [d("span", j, [n[1] ||= d("span", { "aria-hidden": "true" }, "optional", -1), d("span", M, "Optional (" + y(U.value) + " presence). " + y(W.value), 1)])]),
243
+ default: S(() => [d("span", A, [n[1] ||= d("span", { "aria-hidden": "true" }, "optional", -1), d("span", j, "Optional (" + y(H.value) + " presence). " + y(U.value), 1)])]),
243
244
  _: 1
244
245
  }, 8, ["content"])) : l("", !0),
245
246
  Z.value ? (g(), c(a, {
246
247
  key: 4,
247
248
  truncate: ""
248
249
  }, {
249
- prefix: x(() => [f(y(b(B)("schema.keys")) + ":", 1)]),
250
- default: x(() => [f(" " + y(Z.value), 1)]),
250
+ prefix: S(() => [f(y(x(z)("schema.keys")) + ":", 1)]),
251
+ default: S(() => [f(" " + y(Z.value), 1)]),
251
252
  _: 1
252
253
  })) : l("", !0),
253
- (g(!0), u(o, null, _(ye.value, (e) => (g(), c(a, {
254
+ (g(!0), u(o, null, _(be.value, (e) => (g(), c(a, {
254
255
  key: e.key,
255
256
  code: e.code,
256
257
  truncate: e.truncate
257
258
  }, ce({
258
- default: x(() => [e.key === "format" ? (g(), u("span", N, y(b(B)("schema.format")) + ": ", 1)) : l("", !0), f(" " + y(e.value), 1)]),
259
+ default: S(() => [e.key === "format" ? (g(), u("span", M, y(x(z)("schema.format")) + ": ", 1)) : l("", !0), f(" " + y(e.value), 1)]),
259
260
  _: 2
260
261
  }, [e.prefix ? {
261
262
  name: "prefix",
262
- fn: x(() => [f(y(e.prefix), 1)]),
263
+ fn: S(() => [f(y(e.prefix), 1)]),
263
264
  key: "0"
264
265
  } : void 0]), 1032, ["code", "truncate"]))), 128)),
265
- z.enum ? (g(), c(a, { key: 5 }, {
266
- default: x(() => [f(y(b(B)("schema.enum")), 1)]),
266
+ R.enum ? (g(), c(a, { key: 5 }, {
267
+ default: S(() => [f(y(x(z)("schema.enum")), 1)]),
267
268
  _: 1
268
269
  })) : l("", !0)
269
270
  ], 64)) : l("", !0),
270
- z.additional ? (g(), u("div", P, [z.value?.["x-additionalPropertiesName"] ? (g(), u(o, { key: 0 }, [f(y(z.value["x-additionalPropertiesName"]), 1)], 64)) : (g(), u(o, { key: 1 }, [f(y(b(B)("schema.additionalProperties")), 1)], 64))])) : l("", !0),
271
- z.value?.deprecated ? (g(), u("div", F, [p(e, null, {
272
- default: x(() => [f(y(b(B)("schema.deprecated")), 1)]),
271
+ R.additional ? (g(), u("div", N, [R.value?.["x-additionalPropertiesName"] ? (g(), u(o, { key: 0 }, [f(y(R.value["x-additionalPropertiesName"]), 1)], 64)) : (g(), u(o, { key: 1 }, [f(y(x(z)("schema.additionalProperties")), 1)], 64))])) : l("", !0),
272
+ R.value?.deprecated ? (g(), u("div", P, [p(e, null, {
273
+ default: S(() => [f(y(x(z)("schema.deprecated")), 1)]),
273
274
  _: 1
274
275
  })])) : l("", !0),
275
- (g(!0), u(o, null, _(K.value?.after, (t, n) => (g(), c(e, {
276
+ (g(!0), u(o, null, _(G.value?.after, (t, n) => (g(), c(e, {
276
277
  key: n,
277
- class: h(R),
278
+ class: h(L),
278
279
  color: t.color
279
280
  }, {
280
- default: x(() => [f(y(t.name), 1)]),
281
+ default: S(() => [f(y(t.name), 1)]),
281
282
  _: 2
282
283
  }, 1032, ["color"]))), 128)),
283
- m.discriminatorValue === void 0 ? l("", !0) : (g(), u("span", I, [f(y(b(B)("schema.discriminatorValue")) + ": ", 1), p(i, { value: m.discriminatorValue }, null, 8, ["value"])])),
284
- q.value === void 0 ? (g(), u(o, { key: 8 }, [z.value?.nullable === !0 ? (g(), c(a, { key: 0 }, {
285
- default: x(() => [f(y(b(B)("schema.nullable")), 1)]),
284
+ m.discriminatorValue === void 0 ? l("", !0) : (g(), u("span", F, [f(y(x(z)("schema.discriminatorValue")) + ": ", 1), p(i, { value: m.discriminatorValue }, null, 8, ["value"])])),
285
+ K.value === void 0 ? (g(), u(o, { key: 8 }, [R.value?.nullable === !0 ? (g(), c(a, { key: 0 }, {
286
+ default: S(() => [f(y(x(z)("schema.nullable")), 1)]),
286
287
  _: 1
287
- })) : l("", !0)], 64)) : (g(), u("div", L, [p(a, { truncate: "" }, {
288
- prefix: x(() => [f(y(b(B)("schema.const")) + ": ", 1)]),
289
- default: x(() => [p(i, { value: q.value }, null, 8, ["value"])]),
288
+ })) : l("", !0)], 64)) : (g(), u("div", I, [p(a, { truncate: "" }, {
289
+ prefix: S(() => [f(y(x(z)("schema.const")) + ": ", 1)]),
290
+ default: S(() => [p(i, { value: K.value }, null, 8, ["value"])]),
290
291
  _: 1
291
292
  })])),
292
- z.value?.writeOnly ? (g(), u("div", ge, y(b(B)("schema.writeOnly")), 1)) : z.value?.readOnly ? (g(), u("div", _e, y(b(B)("schema.readOnly")), 1)) : l("", !0),
293
- z.required ? (g(), u("div", ve, y(b(B)("schema.required")), 1)) : l("", !0),
294
- z.value?.default === void 0 ? l("", !0) : (g(), c(ae, {
293
+ R.value?.writeOnly ? (g(), u("div", _e, y(x(z)("schema.writeOnly")), 1)) : R.value?.readOnly ? (g(), u("div", ve, y(x(z)("schema.readOnly")), 1)) : l("", !0),
294
+ R.required ? (g(), u("div", ye, y(x(z)("schema.required")), 1)) : l("", !0),
295
+ R.value?.default === void 0 ? l("", !0) : (g(), c(ae, {
295
296
  key: 12,
296
- value: z.value?.default
297
+ value: R.value?.default
297
298
  }, null, 8, ["value"])),
298
299
  $.value ? (g(), c(se, {
299
300
  key: 13,
300
301
  pattern: $.value
301
302
  }, null, 8, ["pattern"])) : l("", !0),
302
- z.withExamples && Se.value ? (g(), c(oe, {
303
+ R.withExamples && Ce.value ? (g(), c(oe, {
303
304
  key: 14,
304
305
  example: Q.value,
305
- examples: z.value?.examples
306
+ examples: R.value?.examples
306
307
  }, null, 8, ["example", "examples"])) : l("", !0),
307
308
  v(t.$slots, "preview", {}, void 0, !0),
308
309
  v(t.$slots, "trailing", {}, void 0, !0)
309
310
  ]));
310
311
  }
311
312
  });
312
- export { z as default };
313
+ export { R as default };
313
314
 
314
315
  //# sourceMappingURL=SchemaPropertyHeading.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyHeading.vue.js","names":["$slots","_openBlock","_createElementBlock","_Fragment","_renderList","_createBlock","Badge","_normalizeClass","_withCtx","_createTextVNode","_toDisplayString","_renderSlot","_unref","_createElementVNode","SchemaPropertyDetail","_createVNode","RenderString","SchemaPropertyDefault","SchemaPropertyPattern","SchemaPropertyExamples","Badge_default","getSchemaType","getDisplayTypeSignatureTokens","isModelLinkable","getModelNameWithArray","useLocalization","protobufFieldNumber","protobufPresence","schemaRecursiveTarget","RenderString_default","SchemaPropertyDefault_default","SchemaPropertyDetail_default","SchemaPropertyExamples_default","SchemaPropertyPattern_default","Fragment","computed","createBlock","createCommentVNode","createElementBlock","createElementVNode","createSlots","createTextVNode","createVNode","defineComponent","normalizeClass","openBlock","renderList","renderSlot","toDisplayString","toRef","unref","withCtx","resolve","isArraySchema","isNumberSchema","isStringSchema","isDefined","ScalarTooltip","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","badgeClass","SchemaPropertyHeading_vue_vue_type_script_setup_true_lang_default","__props","props","translate","fieldNumber","recursiveTarget","presence","presenceDescription","valueRef","positionedBadges","entries","badge","constValue","schema","items","getLeafConstraints","properties","validationProperties","modelLink","modelLinkable","signatureTokens","shouldShowType","propertyNamesDetail","parts","detail","exampleValue","itemsSchema","hasExampleContent","examples","patternValue","_ctx","_cache","index","$event","token","property"],"sources":["../../src/schema/SchemaPropertyHeading.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { ScalarTooltip } from '@scalar/components/tooltip'\nimport { isDefined } from '@scalar/helpers/array/is-defined'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport { resolve } from '@scalar/workspace-store/resolve'\nimport type { XBadge } from '@scalar/workspace-store/schemas/extensions/operation'\nimport type { SchemaObject } from '@scalar/workspace-store/schemas/v3.2/strict/openapi-document'\nimport {\n isArraySchema,\n isNumberSchema,\n isStringSchema,\n} from '@scalar/workspace-store/schemas/v3.2/strict/type-guards'\nimport { computed, toRef } from 'vue'\n\nimport Badge from '../shared/Badge.vue'\nimport { getSchemaType } from './helpers/get-schema-type'\nimport { getDisplayTypeSignatureTokens } from './helpers/get-type-signature-tokens'\nimport {\n isModelLinkable,\n type ModelLinkOptions,\n} from './helpers/is-model-linkable'\nimport { getModelNameWithArray } from './helpers/schema-name'\nimport { useLocalization } from './localization'\nimport {\n protobufFieldNumber,\n protobufPresence,\n type ProtobufSchema,\n} from './protobuf-metadata'\nimport {\n schemaRecursiveTarget,\n type RecursiveSchema,\n} from './recursive-metadata'\nimport RenderString from './RenderString.vue'\nimport SchemaPropertyDefault from './SchemaPropertyDefault.vue'\nimport SchemaPropertyDetail from './SchemaPropertyDetail.vue'\nimport SchemaPropertyExamples from './SchemaPropertyExamples.vue'\nimport SchemaPropertyPattern from './SchemaPropertyPattern.vue'\n\nconst props = withDefaults(\n defineProps<{\n value: SchemaObject | undefined\n badges?: XBadge[]\n enum?: boolean\n isDiscriminator?: boolean\n /** Effective AsyncAPI variant value, separate from const/enum constraints. */\n discriminatorValue?: string\n required?: boolean\n additional?: boolean\n withExamples?: boolean\n hideModelNames?: boolean\n /**\n * Config for deciding whether a model name links to the models section. When the section or\n * the referenced model is hidden there is nothing to scroll to, so the name renders as plain text.\n */\n modelLinkOptions?: ModelLinkOptions\n /** When the schema was resolved from a $ref, pass the ref name so it displays as e.g. \"Data\" instead of \"object\". */\n modelName?: string | null\n /** Resolved propertyNames schema, used to surface key constraints like `format` for additional properties. */\n propertyNames?: SchemaObject\n eventBus?: WorkspaceEventBus | null\n /**\n * The row's name is a stand-in for keys the caller chooses\n * (`additionalProperties`) or keys matching a regex (`patternProperties`),\n * not a literal property. The heading says so in the signature line, where\n * the tree already describes shapes, instead of styling the name itself.\n */\n keyKind?: 'additional' | 'pattern'\n /**\n * The name of the schema this row loops back to. A cut cycle is a leaf, so\n * the signature line says why it does not expand; the model link beside it\n * already names the schema the loop returns to.\n */\n recursiveTo?: string\n }>(),\n {\n isDiscriminator: false,\n required: false,\n withExamples: true,\n hideModelNames: false,\n eventBus: null,\n },\n)\nconst { translate } = useLocalization()\n\n// Convert to reactive refs for composables\nconst fieldNumber = computed(\n () => (props.value as ProtobufSchema | undefined)?.[protobufFieldNumber],\n)\n\nconst recursiveTarget = computed(\n () =>\n props.recursiveTo ??\n (props.value as RecursiveSchema | undefined)?.[schemaRecursiveTarget],\n)\n\nconst presence = computed(\n () => (props.value as ProtobufSchema | undefined)?.[protobufPresence],\n)\nconst presenceDescription = computed(() =>\n presence.value === 'explicit'\n ? 'Explicit presence: Protobuf distinguishes an unset field from one set to its default value.'\n : 'Implicit presence: Protobuf does not distinguish an unset field from one set to its default value.',\n)\n\nconst valueRef = toRef(props, 'value')\nconst badgeClass = 'min-w-0 wrap-anywhere whitespace-normal'\n\nconst positionedBadges = computed<\n { before: XBadge[]; after: XBadge[] } | undefined\n>(() => {\n const entries = props.badges\n if (!entries) {\n return undefined\n }\n\n return {\n before: entries.filter((badge) => badge.position === 'before'),\n after: entries.filter((badge) => badge.position !== 'before'),\n }\n})\n\nconst constValue = computed(() => {\n if (!valueRef.value) {\n return undefined\n }\n\n const schema = valueRef.value\n\n // Direct const value\n if (schema.const !== undefined) {\n return schema.const\n }\n\n // Single-item enum acts as const\n if (schema.enum?.length === 1) {\n return schema.enum[0]\n }\n\n // Check items for const values (for arrays)\n if (isArraySchema(schema) && schema.items) {\n const items = resolve.schema(schema.items)\n\n if (isDefined(items.const)) {\n return items.const\n }\n\n if (items.enum?.length === 1) {\n return items.enum[0]\n }\n }\n\n return undefined\n})\n\ntype ValidationProperty = {\n key: string\n value: string | number\n prefix?: string\n code?: boolean\n truncate?: boolean\n}\n\n/**\n * Constraints that live on a leaf (string or number) schema: length, pattern,\n * format and numeric ranges. Extracted so they can be surfaced for a primitive\n * schema as well as for a primitive array's items, which are not rendered on\n * their own. See https://github.com/scalar/scalar/issues/9690\n */\nconst getLeafConstraints = (schema: SchemaObject) => {\n const properties: ValidationProperty[] = []\n\n if (isStringSchema(schema)) {\n if (isDefined(schema.minLength)) {\n properties.push({\n key: 'min-length',\n prefix: `${translate('schema.minLength')}: `,\n value: schema.minLength,\n })\n }\n\n if (isDefined(schema.maxLength)) {\n properties.push({\n key: 'max-length',\n prefix: `${translate('schema.maxLength')}: `,\n value: schema.maxLength,\n })\n }\n\n // pattern is rendered via SchemaPropertyPattern (hover dropdown), skip here\n }\n\n if ((isStringSchema(schema) || isNumberSchema(schema)) && schema.format) {\n properties.push({\n key: 'format',\n value: schema.format,\n truncate: true,\n })\n }\n\n if (isNumberSchema(schema)) {\n if (isDefined(schema.exclusiveMinimum)) {\n properties.push({\n key: 'exclusive-minimum',\n prefix: `${translate('schema.greaterThan')}: `,\n value: schema.exclusiveMinimum,\n })\n }\n\n if (isDefined(schema.minimum)) {\n properties.push({\n key: 'minimum',\n prefix: `${translate('schema.min')}: `,\n value: schema.minimum,\n })\n }\n\n if (isDefined(schema.exclusiveMaximum)) {\n properties.push({\n key: 'exclusive-maximum',\n prefix: `${translate('schema.lessThan')}: `,\n value: schema.exclusiveMaximum,\n })\n }\n\n if (isDefined(schema.maximum)) {\n properties.push({\n key: 'maximum',\n prefix: `${translate('schema.max')}: `,\n value: schema.maximum,\n })\n }\n\n if (isDefined(schema.multipleOf)) {\n properties.push({\n key: 'multiple-of',\n prefix: `${translate('schema.multipleOf')}: `,\n value: schema.multipleOf,\n })\n }\n }\n\n return properties\n}\n\nconst validationProperties = computed(() => {\n if (!valueRef.value) {\n return []\n }\n\n const schema = valueRef.value\n const properties: ValidationProperty[] = []\n\n // Array validation properties\n if (isArraySchema(schema)) {\n if (isDefined(schema.minItems) || isDefined(schema.maxItems)) {\n properties.push({\n key: 'array-range',\n value: `${schema.minItems ?? ''}…${schema.maxItems ?? ''}`,\n })\n }\n\n // Unique items\n if (schema.uniqueItems) {\n properties.push({\n key: 'unique-items',\n value: `${translate('schema.unique')}!`,\n })\n }\n }\n\n properties.push(...getLeafConstraints(schema))\n\n // Primitive array items carry their own constraints (e.g. an array of `uuid`\n // strings) but are not rendered separately, so surface them here.\n if (isArraySchema(schema) && schema.items) {\n properties.push(...getLeafConstraints(resolve.schema(schema.items)))\n }\n\n return properties\n})\n\n/** Link data for navigating to the referenced model in the sidebar. */\nconst modelLink = computed(() => {\n if (!props.value) {\n return null\n }\n\n if (props.hideModelNames) {\n return null\n }\n\n if (props.modelName) {\n return { schemaKey: props.modelName, label: props.modelName }\n }\n\n return getModelNameWithArray(props.value)\n})\n\n/** Whether the model name links to the models section, or renders as plain text. */\nconst modelLinkable = computed(() =>\n isModelLinkable(modelLink.value?.schemaKey, props.modelLinkOptions ?? {}),\n)\n\n/**\n * The type as a run of tokens rather than a single string — identifiers in\n * the code face, English words like `array of` in the sans face, and a muted\n * `|` so `string | null` reads as one type with an alternative.\n *\n * The token run and the screen-reader label are written straight into the\n * template instead of being their own components: the tree mounts one per\n * typed row, and a component instance costs more to create than the span it\n * renders. On a flat object the type cells would be most of the instance\n * count. The linked and the plain copy of the token markup below must stay\n * identical.\n */\nconst signatureTokens = computed(() =>\n getDisplayTypeSignatureTokens(props.value, {\n hideModelNames: props.hideModelNames,\n modelName: modelLink.value?.label,\n }),\n)\n\n/** Check if we should show the type information */\nconst shouldShowType = computed(() => {\n if (!props.value || !('type' in props.value)) {\n return false\n }\n\n // Always show type for arrays, even when items have const values\n if (props.value.type === 'array') {\n return true\n }\n\n // For non-arrays, only show if no const value at the schema level\n return !constValue.value\n})\n\n/**\n * Type and format of the property keys, derived from the propertyNames schema.\n *\n * For a map keyed by UUIDs this renders e.g. \"string · uuid\" so the key\n * constraints are not lost. Returns undefined when there is nothing to show.\n */\nconst propertyNamesDetail = computed(() => {\n const schema = props.propertyNames\n if (!schema) {\n return undefined\n }\n\n const parts = [getSchemaType(schema)]\n if ('format' in schema && typeof schema.format === 'string') {\n parts.push(schema.format)\n }\n\n const detail = parts.filter(Boolean).join(' · ')\n return detail.length > 0 ? detail : undefined\n})\n\nconst exampleValue = computed(() => {\n // Treat only `undefined` as \"not set\" — `null` is a valid example value on a nullable schema.\n if (\n props.value &&\n 'example' in props.value &&\n props.value.example !== undefined\n ) {\n return props.value.example\n }\n\n // An array's own examples take precedence over the fallback from its items.\n if (\n props.value &&\n isArraySchema(props.value) &&\n !props.value.examples?.length\n ) {\n const itemsSchema = resolve.schema(props.value.items)\n if (\n itemsSchema &&\n 'example' in itemsSchema &&\n itemsSchema.example !== undefined\n ) {\n return itemsSchema.example\n }\n }\n\n return undefined\n})\n\n/**\n * Whether the examples chip has anything to render.\n *\n * `SchemaPropertyExamples` already renders nothing without an example, but it\n * still mounts, and mounting is what installs its popup's window-level click\n * and keydown listeners. `withExamples` defaults to true, so without this gate\n * every property row on the page — including a plain `{ type: 'string' }` —\n * pays for a popup it never opens. Mirrors the component's own two branches.\n */\nconst hasExampleContent = computed((): boolean => {\n if (exampleValue.value !== undefined) {\n return true\n }\n\n const examples = props.value?.examples\n\n return (\n !!examples &&\n typeof examples === 'object' &&\n Object.keys(examples).length > 0\n )\n})\n\n/**\n * The regex `pattern` to surface via the hover dropdown. It lives on a string\n * schema, or on the items of a primitive array (which is not rendered on its\n * own, so its constraints are surfaced on the array heading — see\n * https://github.com/scalar/scalar/issues/9690).\n */\nconst patternValue = computed(() => {\n const schema = valueRef.value\n if (!schema) {\n return undefined\n }\n\n if (isStringSchema(schema) && schema.pattern) {\n return schema.pattern\n }\n\n if (isArraySchema(schema) && schema.items) {\n const items = resolve.schema(schema.items)\n if (isStringSchema(items) && items.pattern) {\n return items.pattern\n }\n }\n\n return undefined\n})\n</script>\n<template>\n <div\n class=\"property-heading [&>.property-detail:has(+.property-detail)]:mr-0\">\n <!-- `:has(+.property-detail)`: only a detail FOLLOWED BY another detail\n drops its right margin, because the `·` separator supplies the gap\n there. Not `:not(:last-of-type)`, which matches by element type: the\n collapsed preview and the trailing copy-link are spans as well, so it\n would strip the margin from the final detail and glue \"Addressrequired\"\n together on a collapsed row. -->\n <Badge\n v-for=\"(badge, index) in positionedBadges?.before\"\n :key=\"index\"\n :class=\"badgeClass\"\n :color=\"badge.color\">\n {{ badge.name }}\n </Badge>\n <div\n v-if=\"$slots.name\"\n class=\"property-name\"\n :class=\"{ deprecated: props.value?.deprecated }\">\n <slot name=\"name\" />\n </div>\n <ScalarTooltip\n v-if=\"fieldNumber !== undefined\"\n content=\"Protobuf field number\">\n <span class=\"text-c-3 font-code mr-2 text-xs\">\n <span aria-hidden=\"true\">#{{ fieldNumber }}</span>\n <span class=\"sr-only\">Protobuf field number: {{ fieldNumber }}</span>\n </span>\n </ScalarTooltip>\n <div\n v-if=\"props.isDiscriminator\"\n class=\"property-discriminator\">\n {{ translate('schema.discriminator') }}\n </div>\n <template v-if=\"props.value\">\n <!-- A map key reads `additionalProperty · string`: the keyword leads the\n detail list in the accent colour, like a type word, so the name\n above it can look like every other name. -->\n <SchemaPropertyDetail\n v-if=\"props.keyKind\"\n class=\"property-key-kind\">\n <span class=\"font-code text-c-accent\">{{\n props.keyKind === 'pattern' ? 'patternProperty' : 'additionalProperty'\n }}</span>\n </SchemaPropertyDetail>\n <!-- Type information -->\n <SchemaPropertyDetail\n v-if=\"shouldShowType\"\n truncate>\n <!-- The type is a token run (`array of Planet`) and a $ref link IS the\n type, not an appended `· Account` -->\n <!-- Written across lines on purpose: Vue drops whitespace-only text\n between two elements, so a single-line label would read\n `Type:string`. -->\n <span class=\"screenreader-only\"> {{ translate('schema.type') }}: </span>\n <button\n v-if=\"props.eventBus && modelLink?.schemaKey && modelLinkable\"\n class=\"text-c-2 hover:text-c-1 underline\"\n type=\"button\"\n @click=\"\n props.eventBus.emit('scroll-to:model-by-name', {\n name: modelLink.schemaKey,\n })\n \">\n <span\n v-if=\"signatureTokens.length\"\n class=\"property-type-signature text-c-2 text-(length:--scalar-mini)\">\n <template\n v-for=\"(token, index) in signatureTokens\"\n :key=\"index\">\n {{ index > 0 ? ' ' : ''\n }}<span\n class=\"property-type-token\"\n :class=\"[\n `property-type-token--${token.kind}`,\n token.kind === 'word' ? 'font-sans' : '',\n token.kind === 'ident' || token.kind === 'literal'\n ? 'font-code'\n : '',\n token.kind === 'punctuation' ? 'text-c-2' : '',\n ]\"\n >{{ token.text }}</span\n >\n </template>\n </span>\n </button>\n <span\n v-else-if=\"signatureTokens.length\"\n class=\"property-type-signature text-c-2 text-(length:--scalar-mini)\">\n <template\n v-for=\"(token, index) in signatureTokens\"\n :key=\"index\">\n {{ index > 0 ? ' ' : ''\n }}<span\n class=\"property-type-token\"\n :class=\"[\n `property-type-token--${token.kind}`,\n token.kind === 'word' ? 'font-sans' : '',\n token.kind === 'ident' || token.kind === 'literal'\n ? 'font-code'\n : '',\n token.kind === 'punctuation' ? 'text-c-2' : '',\n ]\"\n >{{ token.text }}</span\n >\n </template>\n </span>\n </SchemaPropertyDetail>\n\n <!-- A cycle reads `array of Satellite · recursive`, a modifier like\n `nullable`; the full sentence rides the tooltip. -->\n <SchemaPropertyDetail\n v-if=\"recursiveTarget\"\n class=\"property-recursive\"\n :title=\"\n translate('schema.recursiveReference', { name: recursiveTarget })\n \">\n {{ translate('schema.recursive') }}\n </SchemaPropertyDetail>\n\n <ScalarTooltip\n v-if=\"presence\"\n :content=\"presenceDescription\">\n <span class=\"text-c-2 mr-2 text-xs\">\n <span aria-hidden=\"true\">optional</span>\n <span class=\"sr-only\"\n >Optional ({{ presence }} presence). {{ presenceDescription }}</span\n >\n </span>\n </ScalarTooltip>\n\n <!-- Key constraints from propertyNames (e.g. \"keys: string · uuid\") -->\n <SchemaPropertyDetail\n v-if=\"propertyNamesDetail\"\n truncate>\n <template #prefix>{{ translate('schema.keys') }}:</template>\n {{ propertyNamesDetail }}\n </SchemaPropertyDetail>\n\n <!-- Dynamic validation properties from composable -->\n <SchemaPropertyDetail\n v-for=\"property in validationProperties\"\n :key=\"property.key\"\n :code=\"property.code\"\n :truncate=\"property.truncate\">\n <span\n v-if=\"property.key === 'format'\"\n class=\"screenreader-only\">\n {{ translate('schema.format') }}:\n </span>\n <template\n v-if=\"property.prefix\"\n #prefix>\n {{ property.prefix }}\n </template>\n {{ property.value }}\n </SchemaPropertyDetail>\n\n <!-- Enum indicator -->\n <SchemaPropertyDetail v-if=\"props.enum\">\n {{ translate('schema.enum') }}\n </SchemaPropertyDetail>\n </template>\n <div\n v-if=\"props.additional\"\n class=\"property-additional\">\n <template v-if=\"props.value?.['x-additionalPropertiesName']\">\n {{ props.value['x-additionalPropertiesName'] }}\n </template>\n <template v-else>{{ translate('schema.additionalProperties') }}</template>\n </div>\n <div\n v-if=\"props.value?.deprecated\"\n class=\"property-deprecated\">\n <Badge>{{ translate('schema.deprecated') }}</Badge>\n </div>\n <Badge\n v-for=\"(badge, index) in positionedBadges?.after\"\n :key=\"index\"\n :class=\"badgeClass\"\n :color=\"badge.color\">\n {{ badge.name }}\n </Badge>\n <span\n v-if=\"discriminatorValue !== undefined\"\n class=\"text-c-2\">\n {{ translate('schema.discriminatorValue') }}:\n <RenderString :value=\"discriminatorValue\" />\n </span>\n <!-- Don't use `isDefined` here, we want to show `const` when the value is `null` -->\n <div\n v-if=\"constValue !== undefined\"\n class=\"property-const\">\n <SchemaPropertyDetail truncate>\n <template #prefix>{{ translate('schema.const') }}: </template>\n <RenderString :value=\"constValue\" />\n </SchemaPropertyDetail>\n </div>\n <template v-else>\n <!-- Shows only when a composition is used (so props.value?.type is undefined) -->\n <SchemaPropertyDetail v-if=\"(props.value as any)?.nullable === true\">\n {{ translate('schema.nullable') }}\n </SchemaPropertyDetail>\n </template>\n <div\n v-if=\"props.value?.writeOnly\"\n class=\"property-write-only\">\n {{ translate('schema.writeOnly') }}\n </div>\n <div\n v-else-if=\"props.value?.readOnly\"\n class=\"property-read-only\">\n {{ translate('schema.readOnly') }}\n </div>\n <div\n v-if=\"props.required\"\n class=\"property-required\">\n {{ translate('schema.required') }}\n </div>\n <!-- Gated here, not only inside the component: each popup instance installs\n window-level click and keydown listeners for its dismissal, so mounting\n one per row costs the page a listener per row it never shows anything\n for. Same reason `SchemaPropertyPattern` below is gated. -->\n <SchemaPropertyDefault\n v-if=\"props.value?.default !== undefined\"\n :value=\"props.value?.default\" />\n <!--\n Pattern is a hover dropdown chip like Examples, not an inline constraint,\n so it sits beside the example. This keeps the real constraints (length,\n nullable, …) together in the dotted list. See #9966.\n -->\n <SchemaPropertyPattern\n v-if=\"patternValue\"\n :pattern=\"patternValue\" />\n <SchemaPropertyExamples\n v-if=\"props.withExamples && hasExampleContent\"\n :example=\"exampleValue\"\n :examples=\"props.value?.examples\" />\n <!-- The collapsed preview rides the end of the heading line -->\n <slot name=\"preview\" />\n <!-- Last so the tab order matches the visual order: the trailing copy-link\n is painted at the row's right edge, after every control to its left -->\n <slot name=\"trailing\" />\n </div>\n</template>\n<style scoped>\n.property-heading {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n row-gap: 9px;\n white-space: nowrap;\n}\n\n.property-heading:has(+ .children),\n.property-heading:has(+ .property-rule) {\n margin-bottom: 9px;\n}\n\n.property-heading > * {\n margin-right: 9px;\n}\n\n.property-heading:last-child {\n margin-right: 0;\n}\n\n.property-name {\n max-width: 100%;\n font-family: var(--scalar-font-code);\n font-weight: var(--scalar-bold);\n font-size: var(--scalar-font-size-4);\n white-space: normal;\n overflow-wrap: break-word;\n}\n\n.property-additional {\n font-family: var(--scalar-font-code);\n}\n\n.property-required,\n.property-optional {\n color: var(--scalar-color-2);\n}\n\n.property-required {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-orange);\n}\n/*\n * Light-mode oranges are too bright on a light page for 13px text (the default\n * #ff5800 is 3.16:1), so blend the theme orange toward the text colour to reach\n * WCAG 1.4.3 (4.5:1) while keeping the hue and letting custom themes flow\n * through. Dark mode already passes (8.37:1) and keeps the plain token.\n */\n.light-mode .property-required {\n color: color-mix(\n in srgb,\n var(--scalar-color-orange),\n var(--scalar-color-1) 32%\n );\n}\n\n.property-read-only {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-blue);\n}\n\n.property-write-only {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-green);\n}\n\n.property-discriminator {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-purple);\n}\n\n.property-detail {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-2);\n display: flex;\n align-items: center;\n\n min-width: 0;\n}\n\n.property-const {\n color: var(--scalar-color-1);\n}\n\n.deprecated {\n text-decoration: line-through;\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AAA;IACjB,QAAMN,QAAgC,CAA5BC,EAAAC,EAAAE,EAAAqE,CAAA,CAAS,CAAA,cAAA,CAAA,IAAmB,MAAE,CAAA,C;IACnD,SAAAzE,QAAoC,CAApCO,EAAoCC,GAAA,EAArB,OAAO0E,EAAA,MAAU,GAAA,MAAA,GAAA,CAAA,OAAA,CAAA,C;;;GAU5BV,EAAM,OAAO,aADrB/E,EAAA,GAAAC,EAIM,OAJNwE,IAIMhE,EADDE,EAAAqE,CAAA,CAAS,CAAA,kBAAA,CAAA,GAAA,CAAA,KAGDD,EAAM,OAAO,YAD1B/E,EAAA,GAAAC,EAIM,OAJNyE,IAIMjE,EADDE,EAAAqE,CAAA,CAAS,CAAA,iBAAA,CAAA,GAAA,CAAA,K;GAGND,EAAM,YADd/E,EAAA,GAAAC,EAIM,OAJN0E,IAIMlE,EADDE,EAAAqE,CAAA,CAAS,CAAA,iBAAA,CAAA,GAAA,CAAA,K;GAOND,EAAM,OAAO,YAAY,KAAA,I,aADjC/E,EAAA,GAAAI,EAEkCY,IAAA;;IAA/B,OAAO+D,EAAM,OAAO;;GAOf2B,EAAA,SADR1G,EAAA,GAAAI,EAE4Ba,IAAA;;IAAzB,SAASyF,EAAA;;GAEJ3B,EAAM,gBAAgByB,GAAA,SAD9BxG,EAAA,GAAAI,EAGsCc,IAAA;;IADnC,SAASoF,EAAA;IACT,UAAUvB,EAAM,OAAO;;GAE1BrE,EAAuBiG,EAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,EAAA;GAGvBjG,EAAwBiG,EAAA,QAAA,YAAA,CAAA,GAAA,KAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"SchemaPropertyHeading.vue.js","names":["$slots","_openBlock","_createElementBlock","_Fragment","_renderList","_createBlock","Badge","_normalizeClass","_withCtx","_createTextVNode","_toDisplayString","_renderSlot","_unref","_createElementVNode","SchemaPropertyDetail","_createVNode","RenderString","SchemaPropertyDefault","SchemaPropertyPattern","SchemaPropertyExamples","Badge_default","getSchemaType","getDisplayTypeSignatureTokens","isModelLinkable","getModelNameWithArray","useLocalization","protobufFieldNumber","protobufPresence","schemaRecursiveTarget","RenderString_default","SchemaPropertyDefault_default","SchemaPropertyDetail_default","SchemaPropertyExamples_default","SchemaPropertyPattern_default","Fragment","computed","createBlock","createCommentVNode","createElementBlock","createElementVNode","createSlots","createTextVNode","createVNode","defineComponent","normalizeClass","openBlock","renderList","renderSlot","toDisplayString","toRef","unref","withCtx","resolve","isArraySchema","isNumberSchema","isStringSchema","isDefined","ScalarTooltip","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","badgeClass","SchemaPropertyHeading_vue_vue_type_script_setup_true_lang_default","__props","props","translate","fieldNumber","recursiveTarget","presence","presenceDescription","valueRef","positionedBadges","entries","badge","constValue","schema","items","getLeafConstraints","properties","validationProperties","model","modelLink","modelLinkable","signatureTokens","shouldShowType","propertyNamesDetail","parts","detail","exampleValue","itemsSchema","hasExampleContent","examples","patternValue","_ctx","_cache","index","$event","token","property"],"sources":["../../src/schema/SchemaPropertyHeading.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { ScalarTooltip } from '@scalar/components/tooltip'\nimport { isDefined } from '@scalar/helpers/array/is-defined'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport { resolve } from '@scalar/workspace-store/resolve'\nimport type { XBadge } from '@scalar/workspace-store/schemas/extensions/operation'\nimport type { SchemaObject } from '@scalar/workspace-store/schemas/v3.2/strict/openapi-document'\nimport {\n isArraySchema,\n isNumberSchema,\n isStringSchema,\n} from '@scalar/workspace-store/schemas/v3.2/strict/type-guards'\nimport { computed, toRef } from 'vue'\n\nimport Badge from '../shared/Badge.vue'\nimport { getSchemaType } from './helpers/get-schema-type'\nimport { getDisplayTypeSignatureTokens } from './helpers/get-type-signature-tokens'\nimport {\n isModelLinkable,\n type ModelLinkOptions,\n} from './helpers/is-model-linkable'\nimport {\n getModelNameWithArray,\n type SchemaModelName,\n} from './helpers/schema-name'\nimport { useLocalization } from './localization'\nimport {\n protobufFieldNumber,\n protobufPresence,\n type ProtobufSchema,\n} from './protobuf-metadata'\nimport {\n schemaRecursiveTarget,\n type RecursiveSchema,\n} from './recursive-metadata'\nimport RenderString from './RenderString.vue'\nimport SchemaPropertyDefault from './SchemaPropertyDefault.vue'\nimport SchemaPropertyDetail from './SchemaPropertyDetail.vue'\nimport SchemaPropertyExamples from './SchemaPropertyExamples.vue'\nimport SchemaPropertyPattern from './SchemaPropertyPattern.vue'\n\nconst props = withDefaults(\n defineProps<{\n value: SchemaObject | undefined\n badges?: XBadge[]\n enum?: boolean\n isDiscriminator?: boolean\n /** Effective AsyncAPI variant value, separate from const/enum constraints. */\n discriminatorValue?: string\n required?: boolean\n additional?: boolean\n withExamples?: boolean\n hideModelNames?: boolean\n /**\n * Config for deciding whether a model name links to the models section. When the section or\n * the referenced model is hidden there is nothing to scroll to, so the name renders as plain text.\n */\n modelLinkOptions?: ModelLinkOptions\n /** Display and navigation metadata supplied by the containing row. */\n model?: SchemaModelName | null\n /** @deprecated Use `model` to provide the display label and model key. */\n modelName?: string | null\n /** Resolved propertyNames schema, used to surface key constraints like `format` for additional properties. */\n propertyNames?: SchemaObject\n eventBus?: WorkspaceEventBus | null\n /**\n * The row's name is a stand-in for keys the caller chooses\n * (`additionalProperties`) or keys matching a regex (`patternProperties`),\n * not a literal property. The heading says so in the signature line, where\n * the tree already describes shapes, instead of styling the name itself.\n */\n keyKind?: 'additional' | 'pattern'\n /**\n * The name of the schema this row loops back to. A cut cycle is a leaf, so\n * the signature line says why it does not expand; the model link beside it\n * already names the schema the loop returns to.\n */\n recursiveTo?: string\n }>(),\n {\n isDiscriminator: false,\n required: false,\n withExamples: true,\n hideModelNames: false,\n eventBus: null,\n },\n)\nconst { translate } = useLocalization()\n\n// Convert to reactive refs for composables\nconst fieldNumber = computed(\n () => (props.value as ProtobufSchema | undefined)?.[protobufFieldNumber],\n)\n\nconst recursiveTarget = computed(\n () =>\n props.recursiveTo ??\n (props.value as RecursiveSchema | undefined)?.[schemaRecursiveTarget],\n)\n\nconst presence = computed(\n () => (props.value as ProtobufSchema | undefined)?.[protobufPresence],\n)\nconst presenceDescription = computed(() =>\n presence.value === 'explicit'\n ? 'Explicit presence: Protobuf distinguishes an unset field from one set to its default value.'\n : 'Implicit presence: Protobuf does not distinguish an unset field from one set to its default value.',\n)\n\nconst valueRef = toRef(props, 'value')\nconst badgeClass = 'min-w-0 wrap-anywhere whitespace-normal'\n\nconst positionedBadges = computed<\n { before: XBadge[]; after: XBadge[] } | undefined\n>(() => {\n const entries = props.badges\n if (!entries) {\n return undefined\n }\n\n return {\n before: entries.filter((badge) => badge.position === 'before'),\n after: entries.filter((badge) => badge.position !== 'before'),\n }\n})\n\nconst constValue = computed(() => {\n if (!valueRef.value) {\n return undefined\n }\n\n const schema = valueRef.value\n\n // Direct const value\n if (schema.const !== undefined) {\n return schema.const\n }\n\n // Single-item enum acts as const\n if (schema.enum?.length === 1) {\n return schema.enum[0]\n }\n\n // Check items for const values (for arrays)\n if (isArraySchema(schema) && schema.items) {\n const items = resolve.schema(schema.items)\n\n if (isDefined(items.const)) {\n return items.const\n }\n\n if (items.enum?.length === 1) {\n return items.enum[0]\n }\n }\n\n return undefined\n})\n\ntype ValidationProperty = {\n key: string\n value: string | number\n prefix?: string\n code?: boolean\n truncate?: boolean\n}\n\n/**\n * Constraints that live on a leaf (string or number) schema: length, pattern,\n * format and numeric ranges. Extracted so they can be surfaced for a primitive\n * schema as well as for a primitive array's items, which are not rendered on\n * their own. See https://github.com/scalar/scalar/issues/9690\n */\nconst getLeafConstraints = (schema: SchemaObject) => {\n const properties: ValidationProperty[] = []\n\n if (isStringSchema(schema)) {\n if (isDefined(schema.minLength)) {\n properties.push({\n key: 'min-length',\n prefix: `${translate('schema.minLength')}: `,\n value: schema.minLength,\n })\n }\n\n if (isDefined(schema.maxLength)) {\n properties.push({\n key: 'max-length',\n prefix: `${translate('schema.maxLength')}: `,\n value: schema.maxLength,\n })\n }\n\n // pattern is rendered via SchemaPropertyPattern (hover dropdown), skip here\n }\n\n if ((isStringSchema(schema) || isNumberSchema(schema)) && schema.format) {\n properties.push({\n key: 'format',\n value: schema.format,\n truncate: true,\n })\n }\n\n if (isNumberSchema(schema)) {\n if (isDefined(schema.exclusiveMinimum)) {\n properties.push({\n key: 'exclusive-minimum',\n prefix: `${translate('schema.greaterThan')}: `,\n value: schema.exclusiveMinimum,\n })\n }\n\n if (isDefined(schema.minimum)) {\n properties.push({\n key: 'minimum',\n prefix: `${translate('schema.min')}: `,\n value: schema.minimum,\n })\n }\n\n if (isDefined(schema.exclusiveMaximum)) {\n properties.push({\n key: 'exclusive-maximum',\n prefix: `${translate('schema.lessThan')}: `,\n value: schema.exclusiveMaximum,\n })\n }\n\n if (isDefined(schema.maximum)) {\n properties.push({\n key: 'maximum',\n prefix: `${translate('schema.max')}: `,\n value: schema.maximum,\n })\n }\n\n if (isDefined(schema.multipleOf)) {\n properties.push({\n key: 'multiple-of',\n prefix: `${translate('schema.multipleOf')}: `,\n value: schema.multipleOf,\n })\n }\n }\n\n return properties\n}\n\nconst validationProperties = computed(() => {\n if (!valueRef.value) {\n return []\n }\n\n const schema = valueRef.value\n const properties: ValidationProperty[] = []\n\n // Array validation properties\n if (isArraySchema(schema)) {\n if (isDefined(schema.minItems) || isDefined(schema.maxItems)) {\n properties.push({\n key: 'array-range',\n value: `${schema.minItems ?? ''}…${schema.maxItems ?? ''}`,\n })\n }\n\n // Unique items\n if (schema.uniqueItems) {\n properties.push({\n key: 'unique-items',\n value: `${translate('schema.unique')}!`,\n })\n }\n }\n\n properties.push(...getLeafConstraints(schema))\n\n // Primitive array items carry their own constraints (e.g. an array of `uuid`\n // strings) but are not rendered separately, so surface them here.\n if (isArraySchema(schema) && schema.items) {\n properties.push(...getLeafConstraints(resolve.schema(schema.items)))\n }\n\n return properties\n})\n\nconst model = toRef(props, 'model')\n\n/** Link data for navigating to the referenced model in the sidebar. */\nconst modelLink = computed<SchemaModelName | null>(() => {\n if (!props.value) {\n return null\n }\n\n if (props.hideModelNames) {\n return null\n }\n\n if (model.value) {\n return model.value\n }\n\n if (props.modelName) {\n return { schemaKey: props.modelName, label: props.modelName }\n }\n\n return getModelNameWithArray(props.value)\n})\n\n/** Whether the model name links to the models section, or renders as plain text. */\nconst modelLinkable = computed(() =>\n isModelLinkable(modelLink.value?.schemaKey, props.modelLinkOptions ?? {}),\n)\n\n/**\n * The type as a run of tokens rather than a single string — identifiers in\n * the code face, English words like `array of` in the sans face, and a muted\n * `|` so `string | null` reads as one type with an alternative.\n *\n * The token run and the screen-reader label are written straight into the\n * template instead of being their own components: the tree mounts one per\n * typed row, and a component instance costs more to create than the span it\n * renders. On a flat object the type cells would be most of the instance\n * count. The linked and the plain copy of the token markup below must stay\n * identical.\n */\nconst signatureTokens = computed(() =>\n getDisplayTypeSignatureTokens(props.value, {\n hideModelNames: props.hideModelNames,\n modelName: modelLink.value?.label,\n }),\n)\n\n/** Check if we should show the type information */\nconst shouldShowType = computed(() => {\n if (!props.value || !('type' in props.value)) {\n return false\n }\n\n // Always show type for arrays, even when items have const values\n if (props.value.type === 'array') {\n return true\n }\n\n // For non-arrays, only show if no const value at the schema level\n return !constValue.value\n})\n\n/**\n * Type and format of the property keys, derived from the propertyNames schema.\n *\n * For a map keyed by UUIDs this renders e.g. \"string · uuid\" so the key\n * constraints are not lost. Returns undefined when there is nothing to show.\n */\nconst propertyNamesDetail = computed(() => {\n const schema = props.propertyNames\n if (!schema) {\n return undefined\n }\n\n const parts = [getSchemaType(schema)]\n if ('format' in schema && typeof schema.format === 'string') {\n parts.push(schema.format)\n }\n\n const detail = parts.filter(Boolean).join(' · ')\n return detail.length > 0 ? detail : undefined\n})\n\nconst exampleValue = computed(() => {\n // Treat only `undefined` as \"not set\" — `null` is a valid example value on a nullable schema.\n if (\n props.value &&\n 'example' in props.value &&\n props.value.example !== undefined\n ) {\n return props.value.example\n }\n\n // An array's own examples take precedence over the fallback from its items.\n if (\n props.value &&\n isArraySchema(props.value) &&\n !props.value.examples?.length\n ) {\n const itemsSchema = resolve.schema(props.value.items)\n if (\n itemsSchema &&\n 'example' in itemsSchema &&\n itemsSchema.example !== undefined\n ) {\n return itemsSchema.example\n }\n }\n\n return undefined\n})\n\n/**\n * Whether the examples chip has anything to render.\n *\n * `SchemaPropertyExamples` already renders nothing without an example, but it\n * still mounts, and mounting is what installs its popup's window-level click\n * and keydown listeners. `withExamples` defaults to true, so without this gate\n * every property row on the page — including a plain `{ type: 'string' }` —\n * pays for a popup it never opens. Mirrors the component's own two branches.\n */\nconst hasExampleContent = computed((): boolean => {\n if (exampleValue.value !== undefined) {\n return true\n }\n\n const examples = props.value?.examples\n\n return (\n !!examples &&\n typeof examples === 'object' &&\n Object.keys(examples).length > 0\n )\n})\n\n/**\n * The regex `pattern` to surface via the hover dropdown. It lives on a string\n * schema, or on the items of a primitive array (which is not rendered on its\n * own, so its constraints are surfaced on the array heading — see\n * https://github.com/scalar/scalar/issues/9690).\n */\nconst patternValue = computed(() => {\n const schema = valueRef.value\n if (!schema) {\n return undefined\n }\n\n if (isStringSchema(schema) && schema.pattern) {\n return schema.pattern\n }\n\n if (isArraySchema(schema) && schema.items) {\n const items = resolve.schema(schema.items)\n if (isStringSchema(items) && items.pattern) {\n return items.pattern\n }\n }\n\n return undefined\n})\n</script>\n<template>\n <div\n class=\"property-heading [&>.property-detail:has(+.property-detail)]:mr-0\">\n <!-- `:has(+.property-detail)`: only a detail FOLLOWED BY another detail\n drops its right margin, because the `·` separator supplies the gap\n there. Not `:not(:last-of-type)`, which matches by element type: the\n collapsed preview and the trailing copy-link are spans as well, so it\n would strip the margin from the final detail and glue \"Addressrequired\"\n together on a collapsed row. -->\n <Badge\n v-for=\"(badge, index) in positionedBadges?.before\"\n :key=\"index\"\n :class=\"badgeClass\"\n :color=\"badge.color\">\n {{ badge.name }}\n </Badge>\n <div\n v-if=\"$slots.name\"\n class=\"property-name\"\n :class=\"{ deprecated: props.value?.deprecated }\">\n <slot name=\"name\" />\n </div>\n <ScalarTooltip\n v-if=\"fieldNumber !== undefined\"\n content=\"Protobuf field number\">\n <span class=\"text-c-3 font-code mr-2 text-xs\">\n <span aria-hidden=\"true\">#{{ fieldNumber }}</span>\n <span class=\"sr-only\">Protobuf field number: {{ fieldNumber }}</span>\n </span>\n </ScalarTooltip>\n <div\n v-if=\"props.isDiscriminator\"\n class=\"property-discriminator\">\n {{ translate('schema.discriminator') }}\n </div>\n <template v-if=\"props.value\">\n <!-- A map key reads `additionalProperty · string`: the keyword leads the\n detail list in the accent colour, like a type word, so the name\n above it can look like every other name. -->\n <SchemaPropertyDetail\n v-if=\"props.keyKind\"\n class=\"property-key-kind\">\n <span class=\"font-code text-c-accent\">{{\n props.keyKind === 'pattern' ? 'patternProperty' : 'additionalProperty'\n }}</span>\n </SchemaPropertyDetail>\n <!-- Type information -->\n <SchemaPropertyDetail\n v-if=\"shouldShowType\"\n truncate>\n <!-- The type is a token run (`array of Planet`) and a $ref link IS the\n type, not an appended `· Account` -->\n <!-- Written across lines on purpose: Vue drops whitespace-only text\n between two elements, so a single-line label would read\n `Type:string`. -->\n <span class=\"screenreader-only\"> {{ translate('schema.type') }}: </span>\n <button\n v-if=\"props.eventBus && modelLink?.schemaKey && modelLinkable\"\n class=\"text-c-2 hover:text-c-1 underline\"\n type=\"button\"\n @click=\"\n props.eventBus.emit('scroll-to:model-by-name', {\n name: modelLink.schemaKey,\n })\n \">\n <span\n v-if=\"signatureTokens.length\"\n class=\"property-type-signature text-c-2 text-(length:--scalar-mini)\">\n <template\n v-for=\"(token, index) in signatureTokens\"\n :key=\"index\">\n {{ index > 0 ? ' ' : ''\n }}<span\n class=\"property-type-token\"\n :class=\"[\n `property-type-token--${token.kind}`,\n token.kind === 'word' ? 'font-sans' : '',\n token.kind === 'ident' || token.kind === 'literal'\n ? 'font-code'\n : '',\n token.kind === 'punctuation' ? 'text-c-2' : '',\n ]\"\n >{{ token.text }}</span\n >\n </template>\n </span>\n </button>\n <span\n v-else-if=\"signatureTokens.length\"\n class=\"property-type-signature text-c-2 text-(length:--scalar-mini)\">\n <template\n v-for=\"(token, index) in signatureTokens\"\n :key=\"index\">\n {{ index > 0 ? ' ' : ''\n }}<span\n class=\"property-type-token\"\n :class=\"[\n `property-type-token--${token.kind}`,\n token.kind === 'word' ? 'font-sans' : '',\n token.kind === 'ident' || token.kind === 'literal'\n ? 'font-code'\n : '',\n token.kind === 'punctuation' ? 'text-c-2' : '',\n ]\"\n >{{ token.text }}</span\n >\n </template>\n </span>\n </SchemaPropertyDetail>\n\n <!-- A cycle reads `array of Satellite · recursive`, a modifier like\n `nullable`; the full sentence rides the tooltip. -->\n <SchemaPropertyDetail\n v-if=\"recursiveTarget\"\n class=\"property-recursive\"\n :title=\"\n translate('schema.recursiveReference', { name: recursiveTarget })\n \">\n {{ translate('schema.recursive') }}\n </SchemaPropertyDetail>\n\n <ScalarTooltip\n v-if=\"presence\"\n :content=\"presenceDescription\">\n <span class=\"text-c-2 mr-2 text-xs\">\n <span aria-hidden=\"true\">optional</span>\n <span class=\"sr-only\"\n >Optional ({{ presence }} presence). {{ presenceDescription }}</span\n >\n </span>\n </ScalarTooltip>\n\n <!-- Key constraints from propertyNames (e.g. \"keys: string · uuid\") -->\n <SchemaPropertyDetail\n v-if=\"propertyNamesDetail\"\n truncate>\n <template #prefix>{{ translate('schema.keys') }}:</template>\n {{ propertyNamesDetail }}\n </SchemaPropertyDetail>\n\n <!-- Dynamic validation properties from composable -->\n <SchemaPropertyDetail\n v-for=\"property in validationProperties\"\n :key=\"property.key\"\n :code=\"property.code\"\n :truncate=\"property.truncate\">\n <span\n v-if=\"property.key === 'format'\"\n class=\"screenreader-only\">\n {{ translate('schema.format') }}:\n </span>\n <template\n v-if=\"property.prefix\"\n #prefix>\n {{ property.prefix }}\n </template>\n {{ property.value }}\n </SchemaPropertyDetail>\n\n <!-- Enum indicator -->\n <SchemaPropertyDetail v-if=\"props.enum\">\n {{ translate('schema.enum') }}\n </SchemaPropertyDetail>\n </template>\n <div\n v-if=\"props.additional\"\n class=\"property-additional\">\n <template v-if=\"props.value?.['x-additionalPropertiesName']\">\n {{ props.value['x-additionalPropertiesName'] }}\n </template>\n <template v-else>{{ translate('schema.additionalProperties') }}</template>\n </div>\n <div\n v-if=\"props.value?.deprecated\"\n class=\"property-deprecated\">\n <Badge>{{ translate('schema.deprecated') }}</Badge>\n </div>\n <Badge\n v-for=\"(badge, index) in positionedBadges?.after\"\n :key=\"index\"\n :class=\"badgeClass\"\n :color=\"badge.color\">\n {{ badge.name }}\n </Badge>\n <span\n v-if=\"discriminatorValue !== undefined\"\n class=\"text-c-2\">\n {{ translate('schema.discriminatorValue') }}:\n <RenderString :value=\"discriminatorValue\" />\n </span>\n <!-- Don't use `isDefined` here, we want to show `const` when the value is `null` -->\n <div\n v-if=\"constValue !== undefined\"\n class=\"property-const\">\n <SchemaPropertyDetail truncate>\n <template #prefix>{{ translate('schema.const') }}: </template>\n <RenderString :value=\"constValue\" />\n </SchemaPropertyDetail>\n </div>\n <template v-else>\n <!-- Shows only when a composition is used (so props.value?.type is undefined) -->\n <SchemaPropertyDetail v-if=\"(props.value as any)?.nullable === true\">\n {{ translate('schema.nullable') }}\n </SchemaPropertyDetail>\n </template>\n <div\n v-if=\"props.value?.writeOnly\"\n class=\"property-write-only\">\n {{ translate('schema.writeOnly') }}\n </div>\n <div\n v-else-if=\"props.value?.readOnly\"\n class=\"property-read-only\">\n {{ translate('schema.readOnly') }}\n </div>\n <div\n v-if=\"props.required\"\n class=\"property-required\">\n {{ translate('schema.required') }}\n </div>\n <!-- Gated here, not only inside the component: each popup instance installs\n window-level click and keydown listeners for its dismissal, so mounting\n one per row costs the page a listener per row it never shows anything\n for. Same reason `SchemaPropertyPattern` below is gated. -->\n <SchemaPropertyDefault\n v-if=\"props.value?.default !== undefined\"\n :value=\"props.value?.default\" />\n <!--\n Pattern is a hover dropdown chip like Examples, not an inline constraint,\n so it sits beside the example. This keeps the real constraints (length,\n nullable, …) together in the dotted list. See #9966.\n -->\n <SchemaPropertyPattern\n v-if=\"patternValue\"\n :pattern=\"patternValue\" />\n <SchemaPropertyExamples\n v-if=\"props.withExamples && hasExampleContent\"\n :example=\"exampleValue\"\n :examples=\"props.value?.examples\" />\n <!-- The collapsed preview rides the end of the heading line -->\n <slot name=\"preview\" />\n <!-- Last so the tab order matches the visual order: the trailing copy-link\n is painted at the row's right edge, after every control to its left -->\n <slot name=\"trailing\" />\n </div>\n</template>\n<style scoped>\n.property-heading {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n row-gap: 9px;\n white-space: nowrap;\n}\n\n.property-heading:has(+ .children),\n.property-heading:has(+ .property-rule) {\n margin-bottom: 9px;\n}\n\n.property-heading > * {\n margin-right: 9px;\n}\n\n.property-heading:last-child {\n margin-right: 0;\n}\n\n.property-name {\n max-width: 100%;\n font-family: var(--scalar-font-code);\n font-weight: var(--scalar-bold);\n font-size: var(--scalar-font-size-4);\n white-space: normal;\n overflow-wrap: break-word;\n}\n\n.property-additional {\n font-family: var(--scalar-font-code);\n}\n\n.property-required,\n.property-optional {\n color: var(--scalar-color-2);\n}\n\n.property-required {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-orange);\n}\n/*\n * Light-mode oranges are too bright on a light page for 13px text (the default\n * #ff5800 is 3.16:1), so blend the theme orange toward the text colour to reach\n * WCAG 1.4.3 (4.5:1) while keeping the hue and letting custom themes flow\n * through. Dark mode already passes (8.37:1) and keeps the plain token.\n */\n.light-mode .property-required {\n color: color-mix(\n in srgb,\n var(--scalar-color-orange),\n var(--scalar-color-1) 32%\n );\n}\n\n.property-read-only {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-blue);\n}\n\n.property-write-only {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-green);\n}\n\n.property-discriminator {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-purple);\n}\n\n.property-detail {\n font-size: var(--scalar-mini);\n color: var(--scalar-color-2);\n display: flex;\n align-items: center;\n\n min-width: 0;\n}\n\n.property-const {\n color: var(--scalar-color-1);\n}\n\n.deprecated {\n text-decoration: line-through;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;A,GA8GM6E,IAAa,2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EArEnB,IAAMG,IAAQD,GA8CR,EAAEE,iBAAcxD,GAAgB,GAGhCyD,IAAc/C,QACX6C,EAAM,QAAuCtD,GACtD,GAEMyD,IAAkBhD,QAEpB6C,EAAM,eACLA,EAAM,QAAwCpD,GACnD,GAEMwD,IAAWjD,QACR6C,EAAM,QAAuCrD,GACtD,GACM0D,IAAsBlD,QAC1BiD,EAAS,UAAU,aACf,gGACA,oGACN,GAEME,IAAWrC,EAAM+B,GAAO,OAAO,GAG/BO,IAAmBpD,QAEjB;GACN,IAAMqD,IAAUR,EAAM;GACtB,IAAKQ,GAIL,OAAO;IACL,QAAQA,EAAQ,QAAQC,MAAUA,EAAM,aAAa,QAAQ;IAC7D,OAAOD,EAAQ,QAAQC,MAAUA,EAAM,aAAa,QAAQ;GAC9D;EACF,CAAC,GAEKC,IAAavD,QAAe;GAChC,IAAI,CAACmD,EAAS,OACZ;GAGF,IAAMK,IAASL,EAAS;GAGxB,IAAIK,EAAO,UAAU,KAAA,GACnB,OAAOA,EAAO;GAIhB,IAAIA,EAAO,MAAM,WAAW,GAC1B,OAAOA,EAAO,KAAK;GAIrB,IAAItC,EAAcsC,CAAM,KAAKA,EAAO,OAAO;IACzC,IAAMC,IAAQxC,EAAQ,OAAOuC,EAAO,KAAK;IAEzC,IAAInC,EAAUoC,EAAM,KAAK,GACvB,OAAOA,EAAM;IAGf,IAAIA,EAAM,MAAM,WAAW,GACzB,OAA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kG,EAAA,QAAA,YAAA,CAAA,GAAA,KAAA,GAAA,EAAA"}
@@ -2,7 +2,7 @@ import e from "./SchemaPropertyHeading.vue.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
4
  // src/schema/SchemaPropertyHeading.vue
5
- var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-789cea33"]]);
5
+ var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-2f543636"]]);
6
6
  export { n as default };
7
7
 
8
8
  //# sourceMappingURL=SchemaPropertyHeading3.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-compositions-to-render.d.ts","sourceRoot":"","sources":["../../../src/schema/helpers/get-compositions-to-render.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAIjH,OAAO,EAAE,KAAK,kBAAkB,EAAgB,MAAM,sBAAsB,CAAA;AAI5E,KAAK,mBAAmB,GAAG;IACzB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,KAAK,EAAE,YAAY,CAAA;CACpB,CAAA;AAED,KAAK,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,YAAY,CAAC,CAAA;AAK/D;;;;;;;;GAQG;AACH,eAAO,MAAM,oCAAoC,GAC/C,OAAO,YAAY,EACnB,eAAe,oBAAoB;AACnC,4FAA4F;AAC5F,cAAc,SAAS,MAAM,EAAE,KAC9B,YAAY,GAAG,IAiDjB,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAClC,OAAO,YAAY,GAAG,SAAS,EAC/B,WAAW,oBAAoB;AAC/B;;;;;GAKG;AACH,mCAAkC,YAAY,GAAG,IAEzC,KACP,mBAAmB,EAiCrB,CAAA"}
1
+ {"version":3,"file":"get-compositions-to-render.d.ts","sourceRoot":"","sources":["../../../src/schema/helpers/get-compositions-to-render.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAIjH,OAAO,EAAE,KAAK,kBAAkB,EAAgB,MAAM,sBAAsB,CAAA;AAI5E,KAAK,mBAAmB,GAAG;IACzB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,KAAK,EAAE,YAAY,CAAA;CACpB,CAAA;AAED,KAAK,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,YAAY,CAAC,CAAA;AAK/D;;;;;;;;GAQG;AACH,eAAO,MAAM,oCAAoC,GAC/C,OAAO,YAAY,EACnB,eAAe,oBAAoB;AACnC,4FAA4F;AAC5F,cAAc,SAAS,MAAM,EAAE,KAC9B,YAAY,GAAG,IAsDjB,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAClC,OAAO,YAAY,GAAG,SAAS,EAC/B,WAAW,oBAAoB;AAC/B;;;;;GAKG;AACH,mCAAkC,YAAY,GAAG,IAEzC,KACP,mBAAmB,EAiCrB,CAAA"}