@scalar/api-reference 1.25.106 → 1.25.108
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 +21 -0
- package/dist/browser/standalone.js +3630 -3633
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/Introduction/Description.vue.js +1 -1
- package/dist/components/Content/Introduction/Description.vue2.js +15 -13
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
- package/dist/components/Content/Introduction/Introduction.vue2.js +12 -12
- package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +90 -90
- package/dist/features/ApiClientModal/useApiClient.d.ts +8 -116
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/helpers/get-request.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Description.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-576e1320"]]);
|
|
5
5
|
export {
|
|
6
6
|
i as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as y, computed as I, openBlock as
|
|
1
|
+
import { defineComponent as y, computed as I, openBlock as n, createElementBlock as i, Fragment as l, renderList as S, createBlock as u, withCtx as w, createVNode as C, unref as s, createCommentVNode as B } from "vue";
|
|
2
2
|
import { splitContent as H, getHeadings as N } from "@scalar/code-highlight/markdown";
|
|
3
3
|
import { ScalarMarkdown as c } from "@scalar/components";
|
|
4
4
|
import d from "github-slugger";
|
|
@@ -13,16 +13,16 @@ const E = {
|
|
|
13
13
|
value: {}
|
|
14
14
|
},
|
|
15
15
|
setup(m) {
|
|
16
|
-
const
|
|
17
|
-
if (!
|
|
16
|
+
const o = m, p = I(() => {
|
|
17
|
+
if (!o.value)
|
|
18
18
|
return [];
|
|
19
19
|
const e = new d();
|
|
20
|
-
return H(
|
|
21
|
-
const [
|
|
20
|
+
return H(o.value).map((t) => {
|
|
21
|
+
const [r] = N(t);
|
|
22
22
|
return {
|
|
23
|
-
id:
|
|
24
|
-
...
|
|
25
|
-
slug: e.slug(
|
|
23
|
+
id: r ? a({
|
|
24
|
+
...r,
|
|
25
|
+
slug: e.slug(r.value)
|
|
26
26
|
}) : void 0,
|
|
27
27
|
content: t
|
|
28
28
|
};
|
|
@@ -40,23 +40,25 @@ const E = {
|
|
|
40
40
|
})
|
|
41
41
|
}
|
|
42
42
|
}, e);
|
|
43
|
-
return (e, k) => e.value ? (
|
|
44
|
-
(
|
|
45
|
-
t.id
|
|
43
|
+
return (e, k) => e.value ? (n(), i("div", E, [
|
|
44
|
+
(n(!0), i(l, null, S(p.value, (t) => (n(), i(l, {
|
|
45
|
+
key: t.id
|
|
46
|
+
}, [
|
|
47
|
+
t.id ? (n(), u(b, {
|
|
46
48
|
key: 0,
|
|
47
49
|
id: t.id,
|
|
48
50
|
class: "introduction-description-heading",
|
|
49
51
|
onIntersecting: () => v(t.id)
|
|
50
52
|
}, {
|
|
51
53
|
default: w(() => [
|
|
52
|
-
C(
|
|
54
|
+
C(s(c), {
|
|
53
55
|
transform: _,
|
|
54
56
|
transformType: "heading",
|
|
55
57
|
value: t.content
|
|
56
58
|
}, null, 8, ["value"])
|
|
57
59
|
]),
|
|
58
60
|
_: 2
|
|
59
|
-
}, 1032, ["id", "onIntersecting"])) : (
|
|
61
|
+
}, 1032, ["id", "onIntersecting"])) : (n(), u(s(c), {
|
|
60
62
|
key: 1,
|
|
61
63
|
value: t.content,
|
|
62
64
|
withImages: ""
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAkBhD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CACX,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CACrE,CAAA;IACD,UAAU,EAAE,IAAI,CAAA;CACjB,CAAC;AAoCF,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAkBhD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CACX,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CACrE,CAAA;IACD,UAAU,EAAE,IAAI,CAAA;CACjB,CAAC;AAoCF,iBAAS,cAAc;WAyIT,OAAO,IAA6B;;uBATtB,GAAG;uBACH,GAAG;;;;EAa9B;AAoBD,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 "./Introduction.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a435d3c2"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as V, computed as a, openBlock as l, createBlock as s, unref as t, withCtx as i, createVNode as n, createElementVNode as g, createTextVNode as d, toDisplayString as
|
|
1
|
+
import { defineComponent as V, computed as a, openBlock as l, createBlock as s, unref as t, withCtx as i, createVNode as n, createElementVNode as g, createTextVNode as d, toDisplayString as u, createCommentVNode as f, renderSlot as S } from "vue";
|
|
2
2
|
import $ from "github-slugger";
|
|
3
3
|
import w from "../../../features/DownloadLink/DownloadLink.vue.js";
|
|
4
4
|
import N from "./Description.vue.js";
|
|
@@ -24,33 +24,33 @@ const E = { class: "badges" }, F = { class: "sticky-cards" }, P = /* @__PURE__ *
|
|
|
24
24
|
), y = new $(), C = a(() => {
|
|
25
25
|
var e;
|
|
26
26
|
return y.slug(((e = o.info) == null ? void 0 : e.title) ?? "");
|
|
27
|
-
}),
|
|
27
|
+
}), c = a(() => {
|
|
28
28
|
var e, r;
|
|
29
29
|
return typeof ((e = o.info) == null ? void 0 : e.version) == "string" ? o.info.version.toString().match(/^\d/) ? `v${o.info.version}` : o.info.version : typeof ((r = o.info) == null ? void 0 : r.version) == "number" ? `v${o.info.version}` : void 0;
|
|
30
30
|
});
|
|
31
31
|
return (e, r) => (l(), s(t(T), null, {
|
|
32
32
|
default: i(() => [
|
|
33
|
-
n(t(b), { class: "gap-12" }, {
|
|
33
|
+
n(t(b), { class: "introduction-section gap-12" }, {
|
|
34
34
|
default: i(() => {
|
|
35
|
-
var
|
|
35
|
+
var m, v;
|
|
36
36
|
return [
|
|
37
37
|
n(t(B), {
|
|
38
|
-
loading: !((
|
|
38
|
+
loading: !((m = e.info) != null && m.description) && !((v = e.info) != null && v.title)
|
|
39
39
|
}, {
|
|
40
40
|
default: i(() => [
|
|
41
41
|
g("div", E, [
|
|
42
|
-
|
|
42
|
+
c.value ? (l(), s(t(_), { key: 0 }, {
|
|
43
43
|
default: i(() => [
|
|
44
|
-
d(
|
|
44
|
+
d(u(c.value), 1)
|
|
45
45
|
]),
|
|
46
46
|
_: 1
|
|
47
|
-
})) :
|
|
47
|
+
})) : f("", !0),
|
|
48
48
|
p.value ? (l(), s(t(_), { key: 1 }, {
|
|
49
49
|
default: i(() => [
|
|
50
|
-
d("OAS " +
|
|
50
|
+
d("OAS " + u(p.value), 1)
|
|
51
51
|
]),
|
|
52
52
|
_: 1
|
|
53
|
-
})) :
|
|
53
|
+
})) : f("", !0)
|
|
54
54
|
]),
|
|
55
55
|
n(t(D), {
|
|
56
56
|
level: 1,
|
|
@@ -58,7 +58,7 @@ const E = { class: "badges" }, F = { class: "sticky-cards" }, P = /* @__PURE__ *
|
|
|
58
58
|
tight: ""
|
|
59
59
|
}, {
|
|
60
60
|
default: i(() => [
|
|
61
|
-
d(
|
|
61
|
+
d(u(e.info.title), 1)
|
|
62
62
|
]),
|
|
63
63
|
_: 1
|
|
64
64
|
}, 8, ["loading"]),
|
|
@@ -80,7 +80,7 @@ const E = { class: "badges" }, F = { class: "sticky-cards" }, P = /* @__PURE__ *
|
|
|
80
80
|
])
|
|
81
81
|
]),
|
|
82
82
|
_: 3
|
|
83
|
-
})) :
|
|
83
|
+
})) : f("", !0)
|
|
84
84
|
]),
|
|
85
85
|
_: 3
|
|
86
86
|
})
|
|
@@ -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 m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-4bf22f6a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { formatExample as
|
|
3
|
-
import { optimizeValueForDisplay as
|
|
4
|
-
import { Disclosure as
|
|
5
|
-
import { ScalarMarkdown as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as Q, computed as y, openBlock as l, createElementBlock as t, normalizeClass as $, createVNode as n, createSlots as W, withCtx as f, createTextVNode as b, toDisplayString as r, unref as i, createCommentVNode as s, createElementVNode as c, Fragment as u, renderList as d, createBlock as E } from "vue";
|
|
2
|
+
import { formatExample as X } from "./helpers/formatExample.js";
|
|
3
|
+
import { optimizeValueForDisplay as Y, discriminators as _ } from "./helpers/optimizeValueForDisplay.js";
|
|
4
|
+
import { Disclosure as x, DisclosurePanel as ee, DisclosureButton as le } from "@headlessui/vue";
|
|
5
|
+
import { ScalarMarkdown as S, ScalarIcon as te } from "@scalar/components";
|
|
6
|
+
import g from "./Schema.vue.js";
|
|
7
|
+
import ae from "./SchemaPropertyHeading.vue.js";
|
|
8
|
+
const oe = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "property-description"
|
|
11
|
-
},
|
|
11
|
+
}, se = {
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "property-description"
|
|
14
|
-
},
|
|
14
|
+
}, ne = {
|
|
15
15
|
key: 2,
|
|
16
16
|
class: "property-example custom-scroll"
|
|
17
|
-
},
|
|
17
|
+
}, re = { class: "property-example-value" }, ie = {
|
|
18
18
|
key: 3,
|
|
19
19
|
class: "property-example custom-scroll"
|
|
20
|
-
},
|
|
20
|
+
}, ue = { class: "property-example-label" }, pe = {
|
|
21
21
|
key: 4,
|
|
22
22
|
class: "property-enum"
|
|
23
23
|
}, de = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "property-list"
|
|
26
|
-
},
|
|
26
|
+
}, me = { class: "property-heading" }, ce = { class: "property-name" }, ve = { class: "property-description" }, ye = {
|
|
27
27
|
key: 1,
|
|
28
28
|
class: "property-enum-values"
|
|
29
|
-
},
|
|
29
|
+
}, fe = {
|
|
30
30
|
key: 5,
|
|
31
31
|
class: "children"
|
|
32
|
-
},
|
|
32
|
+
}, he = {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: "children"
|
|
35
|
-
},
|
|
35
|
+
}, ge = {
|
|
36
36
|
key: 0,
|
|
37
37
|
class: "property-rule"
|
|
38
|
-
},
|
|
38
|
+
}, ke = {
|
|
39
39
|
key: 1,
|
|
40
40
|
class: "property-rule"
|
|
41
|
-
},
|
|
41
|
+
}, Pe = /* @__PURE__ */ Q({
|
|
42
42
|
__name: "SchemaProperty",
|
|
43
43
|
props: {
|
|
44
44
|
value: {},
|
|
@@ -50,8 +50,8 @@ const se = {
|
|
|
50
50
|
additional: { type: Boolean },
|
|
51
51
|
withExamples: { type: Boolean, default: !0 }
|
|
52
52
|
},
|
|
53
|
-
setup(
|
|
54
|
-
const
|
|
53
|
+
setup(G) {
|
|
54
|
+
const h = G, B = {
|
|
55
55
|
integer: {
|
|
56
56
|
_default: "Integer numbers.",
|
|
57
57
|
int32: "Signed 32-bit integers (commonly used integer type).",
|
|
@@ -64,109 +64,109 @@ const se = {
|
|
|
64
64
|
byte: "base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
|
|
65
65
|
binary: "binary data, used to describe files"
|
|
66
66
|
}
|
|
67
|
-
},
|
|
67
|
+
}, D = function(e, o) {
|
|
68
68
|
return o != null && o.properties || o != null && o.additionalProperties ? null : e || (o == null ? void 0 : o.description) || null;
|
|
69
|
-
},
|
|
70
|
-
return !e || !
|
|
71
|
-
},
|
|
69
|
+
}, w = function(e) {
|
|
70
|
+
return !e || !B[e.type] ? null : B[e.type][e.format || "_default"];
|
|
71
|
+
}, m = function(e) {
|
|
72
72
|
var o;
|
|
73
73
|
return (e == null ? void 0 : e.enum) || ((o = e == null ? void 0 : e.items) == null ? void 0 : o.enum) || [];
|
|
74
|
-
},
|
|
75
|
-
() =>
|
|
76
|
-
),
|
|
77
|
-
() =>
|
|
78
|
-
),
|
|
74
|
+
}, C = y(() => m(h.value).length > 9), P = y(() => C.value ? 5 : 9), J = y(
|
|
75
|
+
() => m(h.value).slice(0, P.value)
|
|
76
|
+
), K = y(
|
|
77
|
+
() => m(h.value).slice(P.value)
|
|
78
|
+
), k = y(() => Y(h.value));
|
|
79
79
|
return (e, o) => {
|
|
80
|
-
var F, N, V, q, z, I, L, H, O, R, T, U
|
|
80
|
+
var j, F, N, V, q, z, I, L, H, O, R, T, U;
|
|
81
81
|
return l(), t("div", {
|
|
82
|
-
class:
|
|
82
|
+
class: $(["property", [
|
|
83
83
|
`property--level-${e.level}`,
|
|
84
84
|
{
|
|
85
85
|
"property--compact": e.compact,
|
|
86
|
-
"property--deprecated": (
|
|
86
|
+
"property--deprecated": (j = e.value) == null ? void 0 : j.deprecated
|
|
87
87
|
}
|
|
88
88
|
]])
|
|
89
89
|
}, [
|
|
90
|
-
n(
|
|
90
|
+
n(ae, {
|
|
91
91
|
additional: e.additional,
|
|
92
|
-
enum:
|
|
92
|
+
enum: m(e.value).length > 0,
|
|
93
93
|
required: e.required,
|
|
94
|
-
value:
|
|
95
|
-
},
|
|
94
|
+
value: k.value
|
|
95
|
+
}, W({ _: 2 }, [
|
|
96
96
|
e.name ? {
|
|
97
97
|
name: "name",
|
|
98
|
-
fn:
|
|
99
|
-
|
|
98
|
+
fn: f(() => [
|
|
99
|
+
b(r(e.name), 1)
|
|
100
100
|
]),
|
|
101
101
|
key: "0"
|
|
102
102
|
} : void 0,
|
|
103
|
-
(
|
|
103
|
+
(F = e.value) != null && F.example ? {
|
|
104
104
|
name: "example",
|
|
105
|
-
fn:
|
|
106
|
-
|
|
105
|
+
fn: f(() => [
|
|
106
|
+
b(" Example: " + r(e.value.example), 1)
|
|
107
107
|
]),
|
|
108
108
|
key: "1"
|
|
109
109
|
} : void 0
|
|
110
110
|
]), 1032, ["additional", "enum", "required", "value"]),
|
|
111
|
-
|
|
112
|
-
n(i(
|
|
113
|
-
value:
|
|
111
|
+
D(e.description, e.value) ? (l(), t("div", oe, [
|
|
112
|
+
n(i(S), {
|
|
113
|
+
value: D(e.description, e.value)
|
|
114
114
|
}, null, 8, ["value"])
|
|
115
|
-
])) :
|
|
116
|
-
n(i(
|
|
117
|
-
value:
|
|
115
|
+
])) : w(e.value) ? (l(), t("div", se, [
|
|
116
|
+
n(i(S), {
|
|
117
|
+
value: w(e.value) || ""
|
|
118
118
|
}, null, 8, ["value"])
|
|
119
119
|
])) : s("", !0),
|
|
120
|
-
e.withExamples && ((
|
|
120
|
+
e.withExamples && ((N = e.value) != null && N.example || (q = (V = e.value) == null ? void 0 : V.items) != null && q.example) ? (l(), t("div", ne, [
|
|
121
121
|
o[0] || (o[0] = c("span", { class: "property-example-label" }, "Example", -1)),
|
|
122
|
-
c("code",
|
|
122
|
+
c("code", re, r(i(X)(e.value.example || ((z = e.value) == null ? void 0 : z.items.example))), 1)
|
|
123
123
|
])) : s("", !0),
|
|
124
|
-
(
|
|
125
|
-
c("span",
|
|
126
|
-
(l(!0), t(u, null,
|
|
124
|
+
(I = e.value) != null && I.examples && typeof e.value.examples == "object" && Object.keys(e.value.examples).length > 0 ? (l(), t("div", ie, [
|
|
125
|
+
c("span", ue, r(Object.keys(e.value.examples).length === 1 ? "Example" : "Examples"), 1),
|
|
126
|
+
(l(!0), t(u, null, d(e.value.examples, (a, p) => (l(), t("code", {
|
|
127
127
|
key: p,
|
|
128
128
|
class: "property-example-value"
|
|
129
129
|
}, r(a), 1))), 128))
|
|
130
130
|
])) : s("", !0),
|
|
131
|
-
((
|
|
132
|
-
(
|
|
133
|
-
(l(!0), t(u, null, m(
|
|
131
|
+
((L = m(e.value)) == null ? void 0 : L.length) > 0 ? (l(), t("div", pe, [
|
|
132
|
+
(H = e.value) != null && H["x-enumDescriptions"] ? (l(), t("div", de, [
|
|
133
|
+
(l(!0), t(u, null, d(m(e.value), (a) => (l(), t("div", {
|
|
134
134
|
key: a,
|
|
135
135
|
class: "property"
|
|
136
136
|
}, [
|
|
137
|
-
c("div",
|
|
138
|
-
c("div",
|
|
137
|
+
c("div", me, [
|
|
138
|
+
c("div", ce, r(a), 1)
|
|
139
139
|
]),
|
|
140
|
-
c("div",
|
|
141
|
-
n(i(
|
|
140
|
+
c("div", ve, [
|
|
141
|
+
n(i(S), {
|
|
142
142
|
value: e.value["x-enumDescriptions"][a]
|
|
143
143
|
}, null, 8, ["value"])
|
|
144
144
|
])
|
|
145
145
|
]))), 128))
|
|
146
|
-
])) : (l(), t("ul",
|
|
147
|
-
(l(!0), t(u, null,
|
|
146
|
+
])) : (l(), t("ul", ye, [
|
|
147
|
+
(l(!0), t(u, null, d(J.value, (a) => (l(), t("li", {
|
|
148
148
|
key: a,
|
|
149
149
|
class: "property-enum-value"
|
|
150
150
|
}, r(a), 1))), 128)),
|
|
151
|
-
|
|
152
|
-
default:
|
|
153
|
-
n(i(
|
|
154
|
-
default:
|
|
155
|
-
(l(!0), t(u, null,
|
|
151
|
+
C.value ? (l(), E(i(x), { key: 0 }, {
|
|
152
|
+
default: f(({ open: a }) => [
|
|
153
|
+
n(i(ee), null, {
|
|
154
|
+
default: f(() => [
|
|
155
|
+
(l(!0), t(u, null, d(K.value, (p) => (l(), t("li", {
|
|
156
156
|
key: p,
|
|
157
157
|
class: "property-enum-value"
|
|
158
158
|
}, r(p), 1))), 128))
|
|
159
159
|
]),
|
|
160
160
|
_: 1
|
|
161
161
|
}),
|
|
162
|
-
n(i(
|
|
163
|
-
default:
|
|
164
|
-
n(i(
|
|
165
|
-
class:
|
|
162
|
+
n(i(le), { class: "enum-toggle-button" }, {
|
|
163
|
+
default: f(() => [
|
|
164
|
+
n(i(te), {
|
|
165
|
+
class: $(["enum-toggle-button-icon", { "enum-toggle-button-icon--open": a }]),
|
|
166
166
|
icon: "Add",
|
|
167
167
|
size: "sm"
|
|
168
168
|
}, null, 8, ["class"]),
|
|
169
|
-
|
|
169
|
+
b(" " + r(a ? "Hide values" : "Show all values"), 1)
|
|
170
170
|
]),
|
|
171
171
|
_: 2
|
|
172
172
|
}, 1024)
|
|
@@ -175,43 +175,43 @@ const se = {
|
|
|
175
175
|
})) : s("", !0)
|
|
176
176
|
]))
|
|
177
177
|
])) : s("", !0),
|
|
178
|
-
((
|
|
179
|
-
n(
|
|
178
|
+
((O = e.value) == null ? void 0 : O.type) === "object" && ((R = e.value) != null && R.properties || (T = e.value) != null && T.additionalProperties) ? (l(), t("div", fe, [
|
|
179
|
+
n(g, {
|
|
180
180
|
compact: e.compact,
|
|
181
181
|
level: e.level + 1,
|
|
182
182
|
value: e.value
|
|
183
183
|
}, null, 8, ["compact", "level", "value"])
|
|
184
184
|
])) : s("", !0),
|
|
185
|
-
(
|
|
186
|
-
["object"].includes(e.value.items.type) ? (l(), t("div",
|
|
187
|
-
n(
|
|
185
|
+
(U = e.value) != null && U.items ? (l(), t(u, { key: 6 }, [
|
|
186
|
+
["object"].includes(e.value.items.type) ? (l(), t("div", he, [
|
|
187
|
+
n(g, {
|
|
188
188
|
compact: e.compact,
|
|
189
189
|
level: e.level + 1,
|
|
190
190
|
value: e.value.items
|
|
191
191
|
}, null, 8, ["compact", "level", "value"])
|
|
192
192
|
])) : s("", !0)
|
|
193
193
|
], 64)) : s("", !0),
|
|
194
|
-
(l(!0), t(u, null,
|
|
195
|
-
var p,
|
|
194
|
+
(l(!0), t(u, null, d(i(_), (a) => {
|
|
195
|
+
var p, Z, A;
|
|
196
196
|
return l(), t(u, { key: a }, [
|
|
197
|
-
(p =
|
|
198
|
-
(l(!0), t(u, null,
|
|
199
|
-
var
|
|
200
|
-
return l(),
|
|
201
|
-
key:
|
|
197
|
+
(p = k.value) != null && p[a] ? (l(), t("div", ge, [
|
|
198
|
+
(l(!0), t(u, null, d(k.value[a], (v) => {
|
|
199
|
+
var M;
|
|
200
|
+
return l(), E(g, {
|
|
201
|
+
key: v.id,
|
|
202
202
|
compact: e.compact,
|
|
203
203
|
level: e.level + 1,
|
|
204
|
-
noncollapsible: ((
|
|
205
|
-
value:
|
|
204
|
+
noncollapsible: ((M = e.value) == null ? void 0 : M[a].length) === 1,
|
|
205
|
+
value: v
|
|
206
206
|
}, null, 8, ["compact", "level", "noncollapsible", "value"]);
|
|
207
207
|
}), 128))
|
|
208
208
|
])) : s("", !0),
|
|
209
|
-
(
|
|
210
|
-
(l(!0), t(u, null,
|
|
211
|
-
key:
|
|
209
|
+
(A = (Z = e.value) == null ? void 0 : Z.items) != null && A[a] && e.level < 3 ? (l(), t("div", ke, [
|
|
210
|
+
(l(!0), t(u, null, d(e.value.items[a], (v) => (l(), E(g, {
|
|
211
|
+
key: v.id,
|
|
212
212
|
compact: e.compact,
|
|
213
213
|
level: e.level + 1,
|
|
214
|
-
value:
|
|
214
|
+
value: v
|
|
215
215
|
}, null, 8, ["compact", "level", "value"]))), 128))
|
|
216
216
|
])) : s("", !0)
|
|
217
217
|
], 64);
|
|
@@ -221,5 +221,5 @@ const se = {
|
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
export {
|
|
224
|
-
|
|
224
|
+
Pe as default
|
|
225
225
|
};
|