@scalar/api-reference 1.31.12 → 1.31.15
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.
- package/CHANGELOG.md +35 -0
- package/README.md +4 -0
- package/dist/browser/standalone.js +11616 -11603
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.js +3 -3
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.js +32 -34
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +27 -26
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +73 -73
- package/dist/components/Content/Schema/helpers/schema-name.d.ts +2 -2
- package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.js +30 -41
- package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
- package/dist/features/Search/useSearchIndex.js +97 -73
- package/dist/helpers/parse.js +1 -1
- package/dist/index.js +1 -1
- package/dist/libs/openapi.js +24 -24
- package/dist/style.css +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +8 -7
- package/package.json +10 -10
|
@@ -9,10 +9,10 @@ const g = /* @__PURE__ */ r({
|
|
|
9
9
|
},
|
|
10
10
|
setup(i) {
|
|
11
11
|
const o = p();
|
|
12
|
-
return (e,
|
|
13
|
-
|
|
12
|
+
return (e, f) => (n(), t(a, {
|
|
13
|
+
getWorkspaceStore: () => c(o),
|
|
14
14
|
configuration: e.configuration
|
|
15
|
-
}, null, 8, ["
|
|
15
|
+
}, null, 8, ["getWorkspaceStore", "configuration"]));
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AA8QA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAEjE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,8BAA8B,CAAA;AAKrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AA+TF,wBAOG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, ref as M, computed as
|
|
1
|
+
import { defineComponent as F, ref as M, computed as t, resolveComponent as T, createElementBlock as c, openBlock as r, createCommentVNode as u, createBlock as p, Fragment as N, renderList as j, createVNode as y, createElementVNode as f, unref as d, withCtx as R, toDisplayString as V } from "vue";
|
|
2
2
|
import { ScalarListbox as Z, ScalarMarkdown as $ } from "@scalar/components";
|
|
3
3
|
import { ScalarIconCaretDown as G } from "@scalar/icons";
|
|
4
4
|
import { mergeAllOfSchemas as w } from "./helpers/merge-all-of-schemas.js";
|
|
@@ -22,34 +22,32 @@ const K = { class: "property-rule" }, P = {
|
|
|
22
22
|
compact: { type: Boolean },
|
|
23
23
|
hideHeading: { type: Boolean }
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const
|
|
27
|
-
s(() => a.value[a.composition] || []);
|
|
28
|
-
const B = s(() => k.value), C = s(
|
|
25
|
+
setup(s) {
|
|
26
|
+
const v = M(0), B = t(() => k.value), C = t(
|
|
29
27
|
() => B.value.map(
|
|
30
28
|
(e, o) => ({
|
|
31
29
|
id: String(o),
|
|
32
|
-
label: J(e
|
|
30
|
+
label: J(e) || "Schema"
|
|
33
31
|
})
|
|
34
32
|
)
|
|
35
|
-
), O =
|
|
33
|
+
), O = t({
|
|
36
34
|
get: () => C.value.find(
|
|
37
|
-
(e) => e.id === String(
|
|
35
|
+
(e) => e.id === String(v.value)
|
|
38
36
|
),
|
|
39
|
-
set: (e) =>
|
|
40
|
-
}), D =
|
|
37
|
+
set: (e) => v.value = Number(e.id)
|
|
38
|
+
}), D = t(() => {
|
|
41
39
|
var i;
|
|
42
|
-
const e = ["oneOf", "anyOf"].includes(
|
|
40
|
+
const e = ["oneOf", "anyOf"].includes(s.composition), o = s.composition === "allOf" && ((i = s.value[s.composition]) == null ? void 0 : i.some((l) => b(l)));
|
|
43
41
|
return e || o;
|
|
44
42
|
}), I = (e) => e.find((o) => b(o)), L = (e) => !e.allOf || !Array.isArray(e.allOf) ? !1 : e.allOf.some(
|
|
45
43
|
(o) => o.oneOf || o.anyOf || o.allOf
|
|
46
|
-
), S = (e) => e.allOf && Array.isArray(e.allOf) ? L(e) ? e : w(e.allOf) : e, k =
|
|
47
|
-
const e =
|
|
48
|
-
return !o ||
|
|
44
|
+
), S = (e) => e.allOf && Array.isArray(e.allOf) ? L(e) ? e : w(e.allOf) : e, k = t(() => {
|
|
45
|
+
const e = s.value[s.composition], o = I(e);
|
|
46
|
+
return !o || s.composition !== "allOf" && o.allOf ? e.map(S) : (o.oneOf || o.anyOf || o.allOf).map(S);
|
|
49
47
|
}), U = (e) => {
|
|
50
48
|
var o, i;
|
|
51
49
|
if (e === "allOf") {
|
|
52
|
-
const l = (i = (o =
|
|
50
|
+
const l = (i = (o = s.value) == null ? void 0 : o[e]) == null ? void 0 : i.find(
|
|
53
51
|
(m) => b(m)
|
|
54
52
|
);
|
|
55
53
|
if (l != null && l.oneOf)
|
|
@@ -58,17 +56,17 @@ const K = { class: "property-rule" }, P = {
|
|
|
58
56
|
return "Any of";
|
|
59
57
|
}
|
|
60
58
|
return e.replace(/([A-Z])/g, " $1").replace(/^./, (l) => l.toUpperCase()).toLowerCase().replace(/^(\w)/, (l) => l.toUpperCase());
|
|
61
|
-
},
|
|
62
|
-
() => k.value[
|
|
63
|
-
), h =
|
|
59
|
+
}, a = t(
|
|
60
|
+
() => k.value[v.value]
|
|
61
|
+
), h = t(() => {
|
|
64
62
|
var e;
|
|
65
|
-
return (e =
|
|
66
|
-
}), q =
|
|
63
|
+
return (e = a.value) != null && e.oneOf ? "oneOf" : "anyOf";
|
|
64
|
+
}), q = t(() => {
|
|
67
65
|
var o;
|
|
68
66
|
const e = h.value;
|
|
69
|
-
return (o =
|
|
70
|
-
}), z =
|
|
71
|
-
const e =
|
|
67
|
+
return (o = a.value) == null ? void 0 : o[e];
|
|
68
|
+
}), z = t(() => {
|
|
69
|
+
const e = a.value;
|
|
72
70
|
return e ? !!(e.properties || e.type || e.nullable || e.const !== void 0 || e.enum || e.allOf || e.oneOf || e.anyOf || e.items) : !1;
|
|
73
71
|
});
|
|
74
72
|
return (e, o) => {
|
|
@@ -87,7 +85,7 @@ const K = { class: "property-rule" }, P = {
|
|
|
87
85
|
value: n
|
|
88
86
|
}, null, 8, ["compact", "level", "name", "noncollapsible", "schemas", "value"]))), 128)) : u("", !0),
|
|
89
87
|
D.value ? (r(), c(N, { key: 1 }, [
|
|
90
|
-
y(
|
|
88
|
+
y(d(Z), {
|
|
91
89
|
modelValue: O.value,
|
|
92
90
|
"onUpdate:modelValue": o[0] || (o[0] = (n) => O.value = n),
|
|
93
91
|
options: C.value,
|
|
@@ -99,16 +97,16 @@ const K = { class: "property-rule" }, P = {
|
|
|
99
97
|
f("button", P, [
|
|
100
98
|
f("span", Q, V(U(e.composition)), 1),
|
|
101
99
|
f("span", X, V(((n = O.value) == null ? void 0 : n.label) || "Schema"), 1),
|
|
102
|
-
y(
|
|
100
|
+
y(d(G))
|
|
103
101
|
])
|
|
104
102
|
];
|
|
105
103
|
}),
|
|
106
104
|
_: 1
|
|
107
105
|
}, 8, ["modelValue", "options"]),
|
|
108
106
|
f("div", Y, [
|
|
109
|
-
(l =
|
|
110
|
-
y(
|
|
111
|
-
value:
|
|
107
|
+
(l = a.value) != null && l.description ? (r(), c("div", W, [
|
|
108
|
+
y(d($), {
|
|
109
|
+
value: a.value.description
|
|
112
110
|
}, null, 8, ["value"])
|
|
113
111
|
])) : u("", !0),
|
|
114
112
|
z.value ? (r(), p(g, {
|
|
@@ -119,13 +117,13 @@ const K = { class: "property-rule" }, P = {
|
|
|
119
117
|
name: e.name,
|
|
120
118
|
noncollapsible: !0,
|
|
121
119
|
schemas: e.schemas,
|
|
122
|
-
value: (m =
|
|
120
|
+
value: (m = a.value) != null && m.properties ? {
|
|
123
121
|
type: "object",
|
|
124
|
-
properties:
|
|
125
|
-
required:
|
|
126
|
-
} :
|
|
122
|
+
properties: a.value.properties,
|
|
123
|
+
required: a.value.required
|
|
124
|
+
} : a.value
|
|
127
125
|
}, null, 8, ["compact", "level", "hideHeading", "name", "schemas", "value"])) : u("", !0),
|
|
128
|
-
(A =
|
|
126
|
+
(A = a.value) != null && A.oneOf || (H = a.value) != null && H.anyOf ? (r(), p(i, {
|
|
129
127
|
key: 2,
|
|
130
128
|
compact: e.compact,
|
|
131
129
|
composition: h.value,
|
|
@@ -146,7 +144,7 @@ const K = { class: "property-rule" }, P = {
|
|
|
146
144
|
name: e.name,
|
|
147
145
|
noncollapsible: e.level == 0,
|
|
148
146
|
schemas: e.schemas,
|
|
149
|
-
value:
|
|
147
|
+
value: d(w)(e.value[e.composition])
|
|
150
148
|
}, null, 8, ["compact", "level", "name", "noncollapsible", "schemas", "value"]))
|
|
151
149
|
]);
|
|
152
150
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAupBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAOtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAUjE;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAC;;;;;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;oBAKA,OAAO;kBADT,OAAO;;AAipB1B,0BASG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SchemaProperty.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-28e7d196"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as W, computed as o, inject as Y, createBlock as h, openBlock as t, resolveDynamicComponent as _, normalizeClass as R, withCtx as f, createCommentVNode as l, createElementBlock as r, createVNode as m, createSlots as x, createTextVNode as B, toDisplayString as
|
|
1
|
+
import { defineComponent as W, computed as o, inject as Y, createBlock as h, openBlock as t, resolveDynamicComponent as _, normalizeClass as R, withCtx as f, createCommentVNode as l, createElementBlock as r, createVNode as m, createSlots as x, createTextVNode as B, toDisplayString as g, unref as p, Fragment as v, renderList as M, createElementVNode as k } from "vue";
|
|
2
2
|
import { Disclosure as ee, DisclosurePanel as ne, DisclosureButton as ie } from "@headlessui/vue";
|
|
3
3
|
import { ScalarMarkdown as O, ScalarIcon as te } from "@scalar/components";
|
|
4
4
|
import { optimizeValueForDisplay as ae, compositions as re } from "./helpers/optimizeValueForDisplay.js";
|
|
5
5
|
import { DISCRIMINATOR_CONTEXT as oe } from "../../../hooks/useDiscriminator.js";
|
|
6
6
|
import T from "./Schema.vue.js";
|
|
7
|
-
import
|
|
7
|
+
import U from "./SchemaComposition.vue.js";
|
|
8
8
|
import se from "./SchemaDiscriminator.vue.js";
|
|
9
9
|
import le from "./SchemaPropertyHeading.vue.js";
|
|
10
10
|
import me from "../../SpecificationExtension/SpecificationExtension.vue.js";
|
|
@@ -20,10 +20,10 @@ const pe = {
|
|
|
20
20
|
}, ue = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "property-list"
|
|
23
|
-
}, ye = { class: "property-heading" }, he = { class: "property-name" }, fe = { class: "property-description" },
|
|
23
|
+
}, ye = { class: "property-heading" }, he = { class: "property-name" }, fe = { class: "property-description" }, ge = {
|
|
24
24
|
key: 1,
|
|
25
25
|
class: "property-enum-values"
|
|
26
|
-
},
|
|
26
|
+
}, ve = { class: "property-enum-value-label" }, be = { class: "property-enum-value-label" }, ke = {
|
|
27
27
|
key: 4,
|
|
28
28
|
class: "children"
|
|
29
29
|
}, De = {
|
|
@@ -51,8 +51,8 @@ const pe = {
|
|
|
51
51
|
isDiscriminator: { type: Boolean }
|
|
52
52
|
},
|
|
53
53
|
emits: ["update:modelValue"],
|
|
54
|
-
setup(
|
|
55
|
-
const D =
|
|
54
|
+
setup(q, { emit: F }) {
|
|
55
|
+
const D = q, $ = F, E = {
|
|
56
56
|
integer: {
|
|
57
57
|
_default: "Integer numbers.",
|
|
58
58
|
int32: "Signed 32-bit integers (commonly used integer type).",
|
|
@@ -62,10 +62,11 @@ const pe = {
|
|
|
62
62
|
date: "full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21",
|
|
63
63
|
"date-time": "the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",
|
|
64
64
|
password: "a hint to UIs to mask the input",
|
|
65
|
+
base64: "base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
|
|
65
66
|
byte: "base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
|
|
66
67
|
binary: "binary data, used to describe files"
|
|
67
68
|
}
|
|
68
|
-
}, P = (e, n) => n != null && n.properties || n != null && n.additionalProperties || n != null && n.patternProperties || n != null && n.allOf ? null : e || (n == null ? void 0 : n.description) || null, C = (e) => !e || !E[e.type] ? null : E[e.type][e.format || "_default"], u = (e) => {
|
|
69
|
+
}, P = (e, n) => n != null && n.properties || n != null && n.additionalProperties || n != null && n.patternProperties || n != null && n.allOf ? null : e || (n == null ? void 0 : n.description) || null, C = (e) => !e || !E[e.type] ? null : E[e.type][e.format || e.contentEncoding || "_default"], u = (e) => {
|
|
69
70
|
var n;
|
|
70
71
|
return (e == null ? void 0 : e.enum) || ((n = e == null ? void 0 : e.items) == null ? void 0 : n.enum) || [];
|
|
71
72
|
}, H = o(
|
|
@@ -82,7 +83,7 @@ const pe = {
|
|
|
82
83
|
return ((e = d == null ? void 0 : d.value) == null ? void 0 : e.selectedType) || (D.discriminatorMapping ? Object.keys(D.discriminatorMapping)[0] : "");
|
|
83
84
|
}), X = (e, n, y, N, S) => n || y || N || (e == null ? void 0 : e.deprecated) || (e == null ? void 0 : e.const) || (e == null ? void 0 : e.enum) && e.enum.length === 1 || (e == null ? void 0 : e.type) || (e == null ? void 0 : e.nullable) === !0 || (e == null ? void 0 : e.writeOnly) || (e == null ? void 0 : e.readOnly) || S, j = (e) => {
|
|
84
85
|
$("update:modelValue", e);
|
|
85
|
-
},
|
|
86
|
+
}, w = o(() => {
|
|
86
87
|
const e = i.value;
|
|
87
88
|
if (!(e != null && e.items) || typeof e.items != "object")
|
|
88
89
|
return !1;
|
|
@@ -90,8 +91,8 @@ const pe = {
|
|
|
90
91
|
return "type" in n && ["object"].includes(n.type) || "$ref" in n || "discriminator" in n || "allOf" in n || "oneOf" in n || "anyOf" in n;
|
|
91
92
|
}), G = (e) => {
|
|
92
93
|
const n = i.value;
|
|
93
|
-
return !(n != null && n.items) || typeof n.items != "object" || !(e in n.items) ? !1 : !
|
|
94
|
-
}, J = o(() =>
|
|
94
|
+
return !(n != null && n.items) || typeof n.items != "object" || !(e in n.items) ? !1 : !w.value;
|
|
95
|
+
}, J = o(() => w.value), K = o(() => {
|
|
95
96
|
if (!i.value)
|
|
96
97
|
return !1;
|
|
97
98
|
const e = i.value, n = e.type === "object" || Array.isArray(e.type) && e.type.includes("object"), y = e.properties || e.additionalProperties;
|
|
@@ -116,7 +117,7 @@ const pe = {
|
|
|
116
117
|
]])
|
|
117
118
|
}, {
|
|
118
119
|
default: f(() => {
|
|
119
|
-
var N, S,
|
|
120
|
+
var N, S, A;
|
|
120
121
|
return [
|
|
121
122
|
X(
|
|
122
123
|
i.value,
|
|
@@ -137,14 +138,14 @@ const pe = {
|
|
|
137
138
|
e.name ? {
|
|
138
139
|
name: "name",
|
|
139
140
|
fn: f(() => [
|
|
140
|
-
B(
|
|
141
|
+
B(g(e.name), 1)
|
|
141
142
|
]),
|
|
142
143
|
key: "0"
|
|
143
144
|
} : void 0,
|
|
144
145
|
(N = i.value) != null && N.example ? {
|
|
145
146
|
name: "example",
|
|
146
147
|
fn: f(() => [
|
|
147
|
-
B(" Example: " +
|
|
148
|
+
B(" Example: " + g(i.value.example), 1)
|
|
148
149
|
]),
|
|
149
150
|
key: "1"
|
|
150
151
|
} : void 0
|
|
@@ -160,14 +161,14 @@ const pe = {
|
|
|
160
161
|
])) : l("", !0),
|
|
161
162
|
((S = u(i.value)) == null ? void 0 : S.length) > 0 && !e.isDiscriminator ? (t(), r("div", de, [
|
|
162
163
|
Q.value ? (t(), r("div", ue, [
|
|
163
|
-
(t(!0), r(
|
|
164
|
+
(t(!0), r(v, null, M(u(i.value), (a) => {
|
|
164
165
|
var c, b;
|
|
165
166
|
return t(), r("div", {
|
|
166
167
|
key: a,
|
|
167
168
|
class: "property"
|
|
168
169
|
}, [
|
|
169
170
|
k("div", ye, [
|
|
170
|
-
k("div", he,
|
|
171
|
+
k("div", he, g(a), 1)
|
|
171
172
|
]),
|
|
172
173
|
k("div", fe, [
|
|
173
174
|
m(p(O), {
|
|
@@ -176,22 +177,22 @@ const pe = {
|
|
|
176
177
|
])
|
|
177
178
|
]);
|
|
178
179
|
}), 128))
|
|
179
|
-
])) : (t(), r("ul",
|
|
180
|
-
(t(!0), r(
|
|
180
|
+
])) : (t(), r("ul", ge, [
|
|
181
|
+
(t(!0), r(v, null, M(z.value, (a) => (t(), r("li", {
|
|
181
182
|
key: a,
|
|
182
183
|
class: "property-enum-value"
|
|
183
184
|
}, [
|
|
184
|
-
k("span",
|
|
185
|
+
k("span", ve, g(a), 1)
|
|
185
186
|
]))), 128)),
|
|
186
187
|
H.value ? (t(), h(p(ee), { key: 0 }, {
|
|
187
188
|
default: f(({ open: a }) => [
|
|
188
189
|
m(p(ne), null, {
|
|
189
190
|
default: f(() => [
|
|
190
|
-
(t(!0), r(
|
|
191
|
+
(t(!0), r(v, null, M(L.value, (c) => (t(), r("li", {
|
|
191
192
|
key: c,
|
|
192
193
|
class: "property-enum-value"
|
|
193
194
|
}, [
|
|
194
|
-
k("span", be,
|
|
195
|
+
k("span", be, g(c), 1)
|
|
195
196
|
]))), 128))
|
|
196
197
|
]),
|
|
197
198
|
_: 1
|
|
@@ -203,7 +204,7 @@ const pe = {
|
|
|
203
204
|
icon: "Add",
|
|
204
205
|
size: "sm"
|
|
205
206
|
}, null, 8, ["class"]),
|
|
206
|
-
B(" " +
|
|
207
|
+
B(" " + g(a ? "Hide values" : "Show all values"), 1)
|
|
207
208
|
]),
|
|
208
209
|
_: 2
|
|
209
210
|
}, 1024)
|
|
@@ -226,7 +227,7 @@ const pe = {
|
|
|
226
227
|
"onUpdate:modelValue": j
|
|
227
228
|
}, null, 8, ["compact", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
|
|
228
229
|
])) : l("", !0),
|
|
229
|
-
(
|
|
230
|
+
(A = i.value) != null && A.items && typeof i.value.items == "object" ? (t(), r(v, { key: 5 }, [
|
|
230
231
|
J.value ? (t(), r("div", De, [
|
|
231
232
|
m(T, {
|
|
232
233
|
compact: e.compact,
|
|
@@ -242,10 +243,10 @@ const pe = {
|
|
|
242
243
|
}, null, 8, ["compact", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
|
|
243
244
|
])) : l("", !0)
|
|
244
245
|
], 64)) : l("", !0),
|
|
245
|
-
(t(!0), r(
|
|
246
|
+
(t(!0), r(v, null, M(p(re), (a) => {
|
|
246
247
|
var c, b, I;
|
|
247
|
-
return t(), r(
|
|
248
|
-
(c = i.value) != null && c[a] && !((b = i.value) != null && b.items && typeof a == "string" && typeof i.value.items == "object" && a in i.value.items) ? (t(), h(
|
|
248
|
+
return t(), r(v, { key: a }, [
|
|
249
|
+
(c = i.value) != null && c[a] && !((b = i.value) != null && b.items && typeof a == "string" && typeof i.value.items == "object" && a in i.value.items) ? (t(), h(U, {
|
|
249
250
|
key: 0,
|
|
250
251
|
compact: e.compact,
|
|
251
252
|
composition: a,
|
|
@@ -255,7 +256,7 @@ const pe = {
|
|
|
255
256
|
noncollapsible: e.noncollapsible,
|
|
256
257
|
schemas: e.schemas,
|
|
257
258
|
value: i.value
|
|
258
|
-
}, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : G(a) ? (t(), h(
|
|
259
|
+
}, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : G(a) ? (t(), h(U, {
|
|
259
260
|
key: 1,
|
|
260
261
|
compact: e.compact,
|
|
261
262
|
composition: a,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AA0UA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AASjE,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,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AAuFF,iBAAS,cAAc;WAyVT,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
|
-
import
|
|
4
|
-
const m = /* @__PURE__ */
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-71dbcd77"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|