@scalar/api-reference 1.28.27 → 1.28.28
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 +12 -0
- package/dist/browser/standalone.js +14400 -14368
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +2 -2
- package/dist/components/Content/Content.vue2.js +17 -17
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +52 -51
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +2 -0
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +154 -141
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +31 -26
- package/dist/features/ApiClientModal/useApiClient.d.ts +20 -20
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"AA2RA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAiBhD,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,CAAA;IAChB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC9B,CAAC;AAyDJ,iBAAS,cAAc;WAgOT,OAAO,IAA6B;;uBAVvB,GAAG;+BACM,GAAG;qBACb,GAAG;;;;EAa5B;AA6BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YA7TR,QAAQ,GAAG,SAAS;6EAoU/B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import o from "./Content.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cdc3d662"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
_ as default
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, computed as p, openBlock as t, createElementBlock as i, Fragment as u, createStaticVNode as G, createElementVNode as V, renderSlot as m, createBlock as a, unref as r, createCommentVNode as
|
|
1
|
+
import { defineComponent as F, computed as p, openBlock as t, createElementBlock as i, Fragment as u, createStaticVNode as G, createElementVNode as V, renderSlot as m, createBlock as a, unref as r, createCommentVNode as c, withCtx as E, createVNode as v, normalizeClass as I, renderList as O } from "vue";
|
|
2
2
|
import { useWorkspace as R, useActiveEntities as D } from "@scalar/api-client/store";
|
|
3
3
|
import { RequestAuth as H } from "@scalar/api-client/views/Request/RequestSection/RequestAuth";
|
|
4
4
|
import { ScalarErrorBoundary as J } from "@scalar/components";
|
|
@@ -18,10 +18,10 @@ import { getModels as f } from "../../helpers/getModels.js";
|
|
|
18
18
|
import { hasModels as re } from "../../helpers/hasModels.js";
|
|
19
19
|
const se = { class: "narrow-references-container" }, te = {
|
|
20
20
|
key: 0,
|
|
21
|
-
class: "scalar-client introduction-card-item divide-y text-sm [--scalar-address-bar-height:0px]"
|
|
21
|
+
class: "scalar-reference-intro-server scalar-client introduction-card-item divide-y text-sm [--scalar-address-bar-height:0px]"
|
|
22
22
|
}, ae = {
|
|
23
23
|
key: 1,
|
|
24
|
-
class: "scalar-client introduction-card-item"
|
|
24
|
+
class: "scalar-reference-intro-auth scalar-client introduction-card-item"
|
|
25
25
|
}, we = /* @__PURE__ */ F({
|
|
26
26
|
__name: "Content",
|
|
27
27
|
props: {
|
|
@@ -41,7 +41,7 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
41
41
|
return e;
|
|
42
42
|
}
|
|
43
43
|
return W.value;
|
|
44
|
-
}),
|
|
44
|
+
}), l = p(() => {
|
|
45
45
|
if (s.value) {
|
|
46
46
|
if (s.value.selectedServerUid) {
|
|
47
47
|
const e = y[s.value.selectedServerUid];
|
|
@@ -56,7 +56,7 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
56
56
|
return (e, k) => {
|
|
57
57
|
var g, b, C, w;
|
|
58
58
|
return t(), i(u, null, [
|
|
59
|
-
k[0] || (k[0] = G('<div class="section-flare" data-v-
|
|
59
|
+
k[0] || (k[0] = G('<div class="section-flare" data-v-cdc3d662><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div></div>', 1)),
|
|
60
60
|
V("div", se, [
|
|
61
61
|
m(e.$slots, "start", {}, void 0, !0),
|
|
62
62
|
s.value ? (t(), a(r(Q), {
|
|
@@ -64,8 +64,8 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
64
64
|
collection: s.value,
|
|
65
65
|
layout: e.layout,
|
|
66
66
|
parsedSpec: e.parsedSpec,
|
|
67
|
-
server:
|
|
68
|
-
}, null, 8, ["collection", "layout", "parsedSpec", "server"])) :
|
|
67
|
+
server: l.value
|
|
68
|
+
}, null, 8, ["collection", "layout", "parsedSpec", "server"])) : c("", !0),
|
|
69
69
|
(b = (g = e.parsedSpec) == null ? void 0 : g.info) != null && b.title || (w = (C = e.parsedSpec) == null ? void 0 : C.info) != null && w.description ? (t(), a(r(T), {
|
|
70
70
|
key: 1,
|
|
71
71
|
info: e.parsedSpec.info,
|
|
@@ -82,9 +82,9 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
82
82
|
(o = (n = s.value) == null ? void 0 : n.servers) != null && o.length ? (t(), i("div", te, [
|
|
83
83
|
v(r(X), {
|
|
84
84
|
collection: s.value,
|
|
85
|
-
server:
|
|
85
|
+
server: l.value
|
|
86
86
|
}, null, 8, ["collection", "server"])
|
|
87
|
-
])) :
|
|
87
|
+
])) : c("", !0),
|
|
88
88
|
s.value && r(h) && Object.keys(r(N) ?? {}).length ? (t(), i("div", ae, [
|
|
89
89
|
v(r(H), {
|
|
90
90
|
collection: s.value,
|
|
@@ -92,12 +92,12 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
92
92
|
environment: r(j),
|
|
93
93
|
layout: "reference",
|
|
94
94
|
selectedSecuritySchemeUids: ((d = s.value) == null ? void 0 : d.selectedSecuritySchemeUids) ?? [],
|
|
95
|
-
server:
|
|
95
|
+
server: l.value,
|
|
96
96
|
title: "Authentication",
|
|
97
97
|
workspace: r(h)
|
|
98
98
|
}, null, 8, ["collection", "envVariables", "environment", "selectedSecuritySchemeUids", "server", "workspace"])
|
|
99
|
-
])) :
|
|
100
|
-
v(r(Y), { class: "introduction-card-item" })
|
|
99
|
+
])) : c("", !0),
|
|
100
|
+
v(r(Y), { class: "introduction-card-item scalar-reference-intro-clients" })
|
|
101
101
|
], 2)
|
|
102
102
|
];
|
|
103
103
|
}),
|
|
@@ -111,7 +111,7 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
111
111
|
key: n.name,
|
|
112
112
|
collection: s.value,
|
|
113
113
|
layout: e.layout,
|
|
114
|
-
server:
|
|
114
|
+
server: l.value,
|
|
115
115
|
spec: e.parsedSpec,
|
|
116
116
|
tags: n.tags.map((o) => {
|
|
117
117
|
var d;
|
|
@@ -122,15 +122,15 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
122
122
|
collection: s.value,
|
|
123
123
|
layout: e.layout,
|
|
124
124
|
schemas: r(f)(e.parsedSpec),
|
|
125
|
-
server:
|
|
125
|
+
server: l.value,
|
|
126
126
|
spec: e.parsedSpec,
|
|
127
127
|
tags: e.parsedSpec.tags
|
|
128
128
|
}, null, 8, ["collection", "layout", "schemas", "server", "spec", "tags"]))
|
|
129
|
-
], 64)) :
|
|
129
|
+
], 64)) : c("", !0),
|
|
130
130
|
e.parsedSpec.webhooks ? (t(), a(r(Z), {
|
|
131
131
|
key: 4,
|
|
132
132
|
webhooks: e.parsedSpec.webhooks
|
|
133
|
-
}, null, 8, ["webhooks"])) :
|
|
133
|
+
}, null, 8, ["webhooks"])) : c("", !0),
|
|
134
134
|
r(re)(e.parsedSpec) && !r(A) ? (t(), i(u, { key: 5 }, [
|
|
135
135
|
e.layout === "classic" ? (t(), a(r(_), {
|
|
136
136
|
key: 0,
|
|
@@ -139,7 +139,7 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
139
139
|
key: 1,
|
|
140
140
|
schemas: r(f)(e.parsedSpec)
|
|
141
141
|
}, null, 8, ["schemas"]))
|
|
142
|
-
], 64)) :
|
|
142
|
+
], 64)) : c("", !0),
|
|
143
143
|
m(e.$slots, "end", {}, void 0, !0)
|
|
144
144
|
])
|
|
145
145
|
], 64);
|
|
@@ -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":"AA0gBA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAe9C;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;IACX,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;kBAIF,OAAO;;AAmd1B,0BAQG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SchemaProperty.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-82c33291"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as $, computed as y, openBlock as l, createBlock as h, resolveDynamicComponent as M, normalizeClass as
|
|
1
|
+
import { defineComponent as $, computed as y, openBlock as l, createBlock as h, resolveDynamicComponent as M, normalizeClass as I, withCtx as m, createSlots as G, createTextVNode as D, toDisplayString as c, createCommentVNode as r, createElementBlock as s, createVNode as a, unref as i, Fragment as d, renderList as k, createElementVNode as f } from "vue";
|
|
2
2
|
import { Disclosure as J, DisclosurePanel as K, DisclosureButton as Q } from "@headlessui/vue";
|
|
3
3
|
import { ScalarMarkdown as S, ScalarIcon as W } from "@scalar/components";
|
|
4
4
|
import { optimizeValueForDisplay as X, discriminators as Y } from "./helpers/optimizeValueForDisplay.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import L from "./Schema.vue.js";
|
|
6
|
+
import O from "./SchemaDiscriminator.vue.js";
|
|
7
7
|
import x from "./SchemaPropertyHeading.vue.js";
|
|
8
8
|
import ee from "../../SpecificationExtension/SpecificationExtension.vue.js";
|
|
9
9
|
const ne = {
|
|
@@ -18,10 +18,10 @@ const ne = {
|
|
|
18
18
|
}, oe = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "property-list"
|
|
21
|
-
},
|
|
21
|
+
}, se = { class: "property-heading" }, ae = { class: "property-name" }, ie = { class: "property-description" }, re = {
|
|
22
22
|
key: 1,
|
|
23
23
|
class: "property-enum-values"
|
|
24
|
-
}, pe = { class: "property-enum-value-label" },
|
|
24
|
+
}, pe = { class: "property-enum-value-label" }, me = { class: "property-enum-value-label" }, ce = {
|
|
25
25
|
key: 4,
|
|
26
26
|
class: "children"
|
|
27
27
|
}, de = {
|
|
@@ -44,8 +44,8 @@ const ne = {
|
|
|
44
44
|
schemas: {},
|
|
45
45
|
hideHeading: { type: Boolean }
|
|
46
46
|
},
|
|
47
|
-
setup(
|
|
48
|
-
const R =
|
|
47
|
+
setup(_) {
|
|
48
|
+
const R = _, H = {
|
|
49
49
|
integer: {
|
|
50
50
|
_default: "Integer numbers.",
|
|
51
51
|
int32: "Signed 32-bit integers (commonly used integer type).",
|
|
@@ -71,7 +71,7 @@ const ne = {
|
|
|
71
71
|
return (e, t) => {
|
|
72
72
|
var g;
|
|
73
73
|
return l(), h(M(e.is ?? "li"), {
|
|
74
|
-
class:
|
|
74
|
+
class: I(["property", [
|
|
75
75
|
(B(e.description, n.value), ""),
|
|
76
76
|
`property--level-${e.level}`,
|
|
77
77
|
{
|
|
@@ -80,7 +80,7 @@ const ne = {
|
|
|
80
80
|
}
|
|
81
81
|
]])
|
|
82
82
|
}, {
|
|
83
|
-
default:
|
|
83
|
+
default: m(() => {
|
|
84
84
|
var b, v, w, q, F, N, V, j, z;
|
|
85
85
|
return [
|
|
86
86
|
Z(
|
|
@@ -95,75 +95,76 @@ const ne = {
|
|
|
95
95
|
enum: p(n.value).length > 0,
|
|
96
96
|
pattern: e.pattern,
|
|
97
97
|
required: e.required,
|
|
98
|
-
value: n.value
|
|
98
|
+
value: n.value,
|
|
99
|
+
schemas: e.schemas
|
|
99
100
|
}, G({ _: 2 }, [
|
|
100
101
|
e.name ? {
|
|
101
102
|
name: "name",
|
|
102
|
-
fn:
|
|
103
|
-
D(
|
|
103
|
+
fn: m(() => [
|
|
104
|
+
D(c(e.name), 1)
|
|
104
105
|
]),
|
|
105
106
|
key: "0"
|
|
106
107
|
} : void 0,
|
|
107
108
|
(b = n.value) != null && b.example ? {
|
|
108
109
|
name: "example",
|
|
109
|
-
fn:
|
|
110
|
-
D(" Example: " +
|
|
110
|
+
fn: m(() => [
|
|
111
|
+
D(" Example: " + c(n.value.example), 1)
|
|
111
112
|
]),
|
|
112
113
|
key: "1"
|
|
113
114
|
} : void 0
|
|
114
|
-
]), 1032, ["additional", "enum", "pattern", "required", "value"])) : r("", !0),
|
|
115
|
-
B(e.description, n.value) ? (l(),
|
|
116
|
-
a(
|
|
115
|
+
]), 1032, ["additional", "enum", "pattern", "required", "value", "schemas"])) : r("", !0),
|
|
116
|
+
B(e.description, n.value) ? (l(), s("div", ne, [
|
|
117
|
+
a(i(S), {
|
|
117
118
|
value: B(e.description, n.value)
|
|
118
119
|
}, null, 8, ["value"])
|
|
119
|
-
])) : E(n.value) ? (l(),
|
|
120
|
-
a(
|
|
120
|
+
])) : E(n.value) ? (l(), s("div", te, [
|
|
121
|
+
a(i(S), {
|
|
121
122
|
value: E(n.value) || ""
|
|
122
123
|
}, null, 8, ["value"])
|
|
123
124
|
])) : r("", !0),
|
|
124
|
-
((v = p(n.value)) == null ? void 0 : v.length) > 0 ? (l(),
|
|
125
|
-
Array.isArray((w = n.value) == null ? void 0 : w["x-enumDescriptions"]) ? (l(),
|
|
126
|
-
(l(!0),
|
|
125
|
+
((v = p(n.value)) == null ? void 0 : v.length) > 0 ? (l(), s("div", le, [
|
|
126
|
+
Array.isArray((w = n.value) == null ? void 0 : w["x-enumDescriptions"]) ? (l(), s("div", oe, [
|
|
127
|
+
(l(!0), s(d, null, k(p(n.value), (o) => (l(), s("div", {
|
|
127
128
|
key: o,
|
|
128
129
|
class: "property"
|
|
129
130
|
}, [
|
|
130
|
-
f("div", ie, [
|
|
131
|
-
f("div", ae, m(o), 1)
|
|
132
|
-
]),
|
|
133
131
|
f("div", se, [
|
|
134
|
-
|
|
132
|
+
f("div", ae, c(o), 1)
|
|
133
|
+
]),
|
|
134
|
+
f("div", ie, [
|
|
135
|
+
a(i(S), {
|
|
135
136
|
value: n.value["x-enumDescriptions"][o]
|
|
136
137
|
}, null, 8, ["value"])
|
|
137
138
|
])
|
|
138
139
|
]))), 128))
|
|
139
|
-
])) : (l(),
|
|
140
|
-
(l(!0),
|
|
140
|
+
])) : (l(), s("ul", re, [
|
|
141
|
+
(l(!0), s(d, null, k(T.value, (o) => (l(), s("li", {
|
|
141
142
|
key: o,
|
|
142
143
|
class: "property-enum-value"
|
|
143
144
|
}, [
|
|
144
|
-
f("span", pe,
|
|
145
|
+
f("span", pe, c(o), 1)
|
|
145
146
|
]))), 128)),
|
|
146
|
-
C.value ? (l(), h(
|
|
147
|
-
default:
|
|
148
|
-
a(
|
|
149
|
-
default:
|
|
150
|
-
(l(!0),
|
|
147
|
+
C.value ? (l(), h(i(J), { key: 0 }, {
|
|
148
|
+
default: m(({ open: o }) => [
|
|
149
|
+
a(i(K), null, {
|
|
150
|
+
default: m(() => [
|
|
151
|
+
(l(!0), s(d, null, k(U.value, (u) => (l(), s("li", {
|
|
151
152
|
key: u,
|
|
152
153
|
class: "property-enum-value"
|
|
153
154
|
}, [
|
|
154
|
-
f("span",
|
|
155
|
+
f("span", me, c(u), 1)
|
|
155
156
|
]))), 128))
|
|
156
157
|
]),
|
|
157
158
|
_: 1
|
|
158
159
|
}),
|
|
159
|
-
a(
|
|
160
|
-
default:
|
|
161
|
-
a(
|
|
162
|
-
class:
|
|
160
|
+
a(i(Q), { class: "enum-toggle-button" }, {
|
|
161
|
+
default: m(() => [
|
|
162
|
+
a(i(W), {
|
|
163
|
+
class: I(["enum-toggle-button-icon", { "enum-toggle-button-icon--open": o }]),
|
|
163
164
|
icon: "Add",
|
|
164
165
|
size: "sm"
|
|
165
166
|
}, null, 8, ["class"]),
|
|
166
|
-
D(" " +
|
|
167
|
+
D(" " + c(o ? "Hide values" : "Show all values"), 1)
|
|
167
168
|
]),
|
|
168
169
|
_: 2
|
|
169
170
|
}, 1024)
|
|
@@ -172,8 +173,8 @@ const ne = {
|
|
|
172
173
|
})) : r("", !0)
|
|
173
174
|
]))
|
|
174
175
|
])) : r("", !0),
|
|
175
|
-
((q = n.value) == null ? void 0 : q.type) === "object" && ((F = n.value) != null && F.properties || (N = n.value) != null && N.additionalProperties) ? (l(),
|
|
176
|
-
a(
|
|
176
|
+
((q = n.value) == null ? void 0 : q.type) === "object" && ((F = n.value) != null && F.properties || (N = n.value) != null && N.additionalProperties) ? (l(), s("div", ce, [
|
|
177
|
+
a(L, {
|
|
177
178
|
compact: e.compact,
|
|
178
179
|
level: e.level + 1,
|
|
179
180
|
name: e.name,
|
|
@@ -181,9 +182,9 @@ const ne = {
|
|
|
181
182
|
value: n.value
|
|
182
183
|
}, null, 8, ["compact", "level", "name", "noncollapsible", "value"])
|
|
183
184
|
])) : r("", !0),
|
|
184
|
-
(V = n.value) != null && V.items && typeof n.value.items == "object" && "type" in n.value.items && typeof n.value.items.type == "string" ? (l(),
|
|
185
|
-
["object"].includes((z = (j = n.value) == null ? void 0 : j.items) == null ? void 0 : z.type) ? (l(),
|
|
186
|
-
a(
|
|
185
|
+
(V = n.value) != null && V.items && typeof n.value.items == "object" && "type" in n.value.items && typeof n.value.items.type == "string" ? (l(), s(d, { key: 5 }, [
|
|
186
|
+
["object"].includes((z = (j = n.value) == null ? void 0 : j.items) == null ? void 0 : z.type) ? (l(), s("div", de, [
|
|
187
|
+
a(L, {
|
|
187
188
|
compact: e.compact,
|
|
188
189
|
level: e.level + 1,
|
|
189
190
|
name: e.name,
|
|
@@ -192,10 +193,10 @@ const ne = {
|
|
|
192
193
|
}, null, 8, ["compact", "level", "name", "noncollapsible", "value"])
|
|
193
194
|
])) : r("", !0)
|
|
194
195
|
], 64)) : r("", !0),
|
|
195
|
-
(l(!0),
|
|
196
|
-
var u,
|
|
197
|
-
return l(),
|
|
198
|
-
(u = n.value) != null && u[o] ? (l(), h(
|
|
196
|
+
(l(!0), s(d, null, k(i(Y), (o) => {
|
|
197
|
+
var u, A;
|
|
198
|
+
return l(), s(d, { key: o }, [
|
|
199
|
+
(u = n.value) != null && u[o] ? (l(), h(O, {
|
|
199
200
|
key: 0,
|
|
200
201
|
compact: e.compact,
|
|
201
202
|
discriminator: o,
|
|
@@ -205,7 +206,7 @@ const ne = {
|
|
|
205
206
|
noncollapsible: e.noncollapsible,
|
|
206
207
|
schemas: e.schemas,
|
|
207
208
|
value: n.value
|
|
208
|
-
}, null, 8, ["compact", "discriminator", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : (
|
|
209
|
+
}, null, 8, ["compact", "discriminator", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : (A = n.value) != null && A.items && typeof o == "string" && typeof n.value.items == "object" && o in n.value.items ? (l(), h(O, {
|
|
209
210
|
key: 1,
|
|
210
211
|
compact: e.compact,
|
|
211
212
|
discriminator: o,
|
|
@@ -218,7 +219,7 @@ const ne = {
|
|
|
218
219
|
}, null, 8, ["compact", "discriminator", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : r("", !0)
|
|
219
220
|
], 64);
|
|
220
221
|
}), 128)),
|
|
221
|
-
a(
|
|
222
|
+
a(i(ee), { value: n.value }, null, 8, ["value"])
|
|
222
223
|
];
|
|
223
224
|
}),
|
|
224
225
|
_: 1
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
value?: Record<string, any>;
|
|
3
4
|
enum?: boolean;
|
|
@@ -5,6 +6,7 @@ type __VLS_Props = {
|
|
|
5
6
|
additional?: boolean;
|
|
6
7
|
pattern?: boolean;
|
|
7
8
|
withExamples?: boolean;
|
|
9
|
+
schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
|
|
8
10
|
};
|
|
9
11
|
declare function __VLS_template(): {
|
|
10
12
|
attrs: Partial<{}>;
|
|
@@ -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":"AAyRA,OAAO,KAAK,EAEV,SAAS,EACT,SAAS,EACT,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAY9B,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;AA0DJ,iBAAS,cAAc;WA+TT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;cAzZN,OAAO;kBAGH,OAAO;wFA8ZxB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SchemaPropertyHeading.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a7691560"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|