@scalar/api-reference 1.28.10 → 1.28.12
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 +57 -0
- package/dist/browser/standalone.js +6057 -5999
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +1 -1
- package/dist/components/ApiReferenceLayout.vue2.js +12 -12
- package/dist/components/Content/Schema/Schema.preview.d.ts +232 -0
- package/dist/components/Content/Schema/Schema.preview.d.ts.map +1 -0
- package/dist/components/Content/Schema/Schema.vue.d.ts +2 -0
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +2 -2
- package/dist/components/Content/Schema/Schema.vue2.js +82 -57
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaDiscriminator.vue2.js +9 -7
- 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 +55 -51
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.js +2 -2
- package/dist/components/ShowMoreButton.vue2.js +15 -11
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +55 -55
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarElement.vue2.js +53 -53
- package/dist/features/ApiClientModal/useApiClient.d.ts +36 -320
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.js +4 -4
- package/dist/features/ExampleRequest/ExampleRequest.vue2.js +76 -76
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +2 -2
- package/dist/features/Operation/components/RequestBody.vue2.js +65 -28
- package/dist/features/Search/useSearchIndex.js +72 -72
- package/dist/hooks/useMultipleDocuments.d.ts +8 -2
- package/dist/hooks/useMultipleDocuments.d.ts.map +1 -1
- package/dist/hooks/useMultipleDocuments.js +49 -48
- package/dist/hooks/useNavState.d.ts +6 -4
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/hooks/useNavState.js +34 -37
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
- package/dist/hooks/useReactiveSpec.js +36 -36
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +14 -13
|
@@ -2,7 +2,7 @@ import o from "./ApiReferenceLayout.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-19fd3fc9"]]);
|
|
6
6
|
export {
|
|
7
7
|
m as default
|
|
8
8
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as ie, computed as g, ref as $, onBeforeMount as A, onMounted as le, onUnmounted as de, watch as R, onServerPrefetch as ue, useSSRContext as ce, useId as pe, provide as w, openBlock as y, createElementBlock as C, Fragment as
|
|
1
|
+
import { defineComponent as ie, computed as g, ref as $, onBeforeMount as A, onMounted as le, onUnmounted as de, watch as R, onServerPrefetch as ue, useSSRContext as ce, useId as pe, provide as w, openBlock as y, createElementBlock as C, Fragment as D, createElementVNode as d, normalizeClass as fe, unref as i, normalizeStyle as me, renderSlot as u, normalizeProps as c, guardReactiveProps as p, createVNode as m, withCtx as v, createCommentVNode as E, withDirectives as ve, vShow as Se, createSlots as he } from "vue";
|
|
2
2
|
import { provideUseId as ge } from "@headlessui/vue";
|
|
3
3
|
import { LAYOUT_SYMBOL as be } from "@scalar/api-client/hooks";
|
|
4
4
|
import { createWorkspaceStore as we, WORKSPACE_SYMBOL as ye, createActiveEntitiesStore as Ce, ACTIVE_ENTITIES_SYMBOL as Te } from "@scalar/api-client/store";
|
|
5
5
|
import { addScalarClassesToHeadless as $e, ScalarErrorBoundary as Re } from "@scalar/components";
|
|
6
|
-
import { defaultStateFactory as
|
|
6
|
+
import { defaultStateFactory as H } from "@scalar/oas-utils/helpers";
|
|
7
7
|
import { hasObtrusiveScrollbars as Ee, getThemeStyles as Oe } from "@scalar/themes";
|
|
8
8
|
import { apiReferenceConfigurationSchema as Ie } from "@scalar/types/api-reference";
|
|
9
9
|
import { useToasts as ke, ScalarToasts as Fe } from "@scalar/use-toasts";
|
|
10
10
|
import { useMediaQuery as Le, useResizeObserver as Pe, useDebounceFn as Me } from "@vueuse/core";
|
|
11
11
|
import Be from "./GettingStarted.vue.js";
|
|
12
12
|
import { CONFIGURATION_SYMBOL as Ae } from "../hooks/useConfig.js";
|
|
13
|
-
import { useHttpClientStore as
|
|
14
|
-
import { downloadSpecBus as _, downloadSpecFile as
|
|
13
|
+
import { useHttpClientStore as De } from "../stores/useHttpClientStore.js";
|
|
14
|
+
import { downloadSpecBus as _, downloadSpecFile as He } from "../helpers/specDownloads.js";
|
|
15
15
|
import _e from "./Sidebar/Sidebar.vue.js";
|
|
16
16
|
import Ne from "./Content/Content.vue.js";
|
|
17
17
|
import Ue from "../features/ApiClientModal/ApiClientModal.vue.js";
|
|
@@ -49,7 +49,7 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
|
|
|
49
49
|
setParsedSpec: q,
|
|
50
50
|
scrollToOperation: J
|
|
51
51
|
} = ze(), {
|
|
52
|
-
|
|
52
|
+
getReferenceId: X,
|
|
53
53
|
getPathRoutingId: I,
|
|
54
54
|
getSectionId: Z,
|
|
55
55
|
getTagId: x,
|
|
@@ -57,7 +57,7 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
|
|
|
57
57
|
isIntersectionEnabled: k,
|
|
58
58
|
updateHash: F,
|
|
59
59
|
replaceUrlState: te
|
|
60
|
-
} = Ye();
|
|
60
|
+
} = Ye(t);
|
|
61
61
|
if (t.value.redirect && typeof window < "u") {
|
|
62
62
|
const e = t.value.redirect(
|
|
63
63
|
(t.value.pathRouting ? window.location.pathname : "") + window.location.hash
|
|
@@ -72,7 +72,7 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
|
|
|
72
72
|
A(() => $e()), le(() => {
|
|
73
73
|
var o, s, r;
|
|
74
74
|
history.scrollRestoration = "manual", _.on(({ specTitle: n }) => {
|
|
75
|
-
|
|
75
|
+
He(f.rawSpec, n);
|
|
76
76
|
});
|
|
77
77
|
const e = (s = (o = S.value) == null ? void 0 : o.parentElement) == null ? void 0 : s.getBoundingClientRect(), a = (r = S.value) == null ? void 0 : r.getBoundingClientRect();
|
|
78
78
|
if (e && a) {
|
|
@@ -99,7 +99,7 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
|
|
|
99
99
|
}), R(() => f.parsedSpec, q, { deep: !0 }), ue(() => {
|
|
100
100
|
var a, o;
|
|
101
101
|
const e = ce();
|
|
102
|
-
if (e && (e.payload || (e.payload = { data:
|
|
102
|
+
if (e && (e.payload || (e.payload = { data: H() }), (a = e.payload).data || (a.data = H()), t.value.pathRouting)) {
|
|
103
103
|
const s = I(e.url);
|
|
104
104
|
ee.value = s, e.payload.data.hash = s;
|
|
105
105
|
for (const r in b)
|
|
@@ -123,7 +123,7 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
|
|
|
123
123
|
var a;
|
|
124
124
|
return e && T.importSpecFile(e, "default", {
|
|
125
125
|
shouldLoad: !1,
|
|
126
|
-
documentUrl: (a = t.value.spec) == null ? void 0 : a.url,
|
|
126
|
+
documentUrl: ((a = t.value.spec) == null ? void 0 : a.url) ?? t.value.url,
|
|
127
127
|
useCollectionSecurity: !0,
|
|
128
128
|
...t.value
|
|
129
129
|
});
|
|
@@ -141,7 +141,7 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
|
|
|
141
141
|
{ immediate: !0 }
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
|
-
const { setExcludedClients: re, setDefaultHttpClient: se } =
|
|
144
|
+
const { setExcludedClients: re, setDefaultHttpClient: se } = De();
|
|
145
145
|
B("defaultHttpClient", se), B("hiddenClients", re), K.value = t.value.hideModels ?? !1, Q.value = t.value.defaultOpenAllTags ?? !1;
|
|
146
146
|
const ne = g(
|
|
147
147
|
() => `<style>
|
|
@@ -151,7 +151,7 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
|
|
|
151
151
|
);
|
|
152
152
|
return (e, a) => {
|
|
153
153
|
var o, s, r;
|
|
154
|
-
return y(), C(
|
|
154
|
+
return y(), C(D, null, [
|
|
155
155
|
d("div", { innerHTML: ne.value }, null, 8, Ge),
|
|
156
156
|
d("div", {
|
|
157
157
|
ref_key: "documentEl",
|
|
@@ -208,7 +208,7 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
|
|
|
208
208
|
], 512), [
|
|
209
209
|
[Se, t.value.isEditable]
|
|
210
210
|
]),
|
|
211
|
-
ae.value ? (y(), C(
|
|
211
|
+
ae.value ? (y(), C(D, { key: 1 }, [
|
|
212
212
|
d("main", {
|
|
213
213
|
"aria-label": `Open API Documentation for ${(s = e.parsedSpec.info) == null ? void 0 : s.title}`,
|
|
214
214
|
class: "references-rendered"
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
export declare const stringSchema: {
|
|
2
|
+
component: import("vue").DefineComponent<{
|
|
3
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
4
|
+
level?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
compact?: boolean;
|
|
7
|
+
noncollapsible?: boolean;
|
|
8
|
+
hideHeading?: boolean;
|
|
9
|
+
additionalProperties?: boolean;
|
|
10
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
11
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
12
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
13
|
+
level?: number;
|
|
14
|
+
name?: string;
|
|
15
|
+
compact?: boolean;
|
|
16
|
+
noncollapsible?: boolean;
|
|
17
|
+
hideHeading?: boolean;
|
|
18
|
+
additionalProperties?: boolean;
|
|
19
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
20
|
+
}> & Readonly<{}>, {
|
|
21
|
+
level: number;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
noncollapsible: boolean;
|
|
24
|
+
props: {
|
|
25
|
+
name: string;
|
|
26
|
+
noncollapsible: boolean;
|
|
27
|
+
value: {
|
|
28
|
+
type: string;
|
|
29
|
+
example: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare const objectSchema: {
|
|
34
|
+
component: import("vue").DefineComponent<{
|
|
35
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
36
|
+
level?: number;
|
|
37
|
+
name?: string;
|
|
38
|
+
compact?: boolean;
|
|
39
|
+
noncollapsible?: boolean;
|
|
40
|
+
hideHeading?: boolean;
|
|
41
|
+
additionalProperties?: boolean;
|
|
42
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
43
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
44
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
45
|
+
level?: number;
|
|
46
|
+
name?: string;
|
|
47
|
+
compact?: boolean;
|
|
48
|
+
noncollapsible?: boolean;
|
|
49
|
+
hideHeading?: boolean;
|
|
50
|
+
additionalProperties?: boolean;
|
|
51
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
52
|
+
}> & Readonly<{}>, {
|
|
53
|
+
level: number;
|
|
54
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
|
+
noncollapsible: boolean;
|
|
56
|
+
props: {
|
|
57
|
+
name: string;
|
|
58
|
+
noncollapsible: boolean;
|
|
59
|
+
value: {
|
|
60
|
+
type: string;
|
|
61
|
+
properties: {
|
|
62
|
+
name: {
|
|
63
|
+
type: string;
|
|
64
|
+
example: string;
|
|
65
|
+
};
|
|
66
|
+
age: {
|
|
67
|
+
type: string;
|
|
68
|
+
example: number;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
export declare const recursiveSchema: {
|
|
75
|
+
component: import("vue").DefineComponent<{
|
|
76
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
77
|
+
level?: number;
|
|
78
|
+
name?: string;
|
|
79
|
+
compact?: boolean;
|
|
80
|
+
noncollapsible?: boolean;
|
|
81
|
+
hideHeading?: boolean;
|
|
82
|
+
additionalProperties?: boolean;
|
|
83
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
84
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
85
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
86
|
+
level?: number;
|
|
87
|
+
name?: string;
|
|
88
|
+
compact?: boolean;
|
|
89
|
+
noncollapsible?: boolean;
|
|
90
|
+
hideHeading?: boolean;
|
|
91
|
+
additionalProperties?: boolean;
|
|
92
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
93
|
+
}> & Readonly<{}>, {
|
|
94
|
+
level: number;
|
|
95
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
96
|
+
props: {
|
|
97
|
+
name: string;
|
|
98
|
+
noncollapsible: boolean;
|
|
99
|
+
value: {
|
|
100
|
+
type: string;
|
|
101
|
+
properties: {
|
|
102
|
+
circularReference: {};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
export declare const enumSchema: {
|
|
108
|
+
component: import("vue").DefineComponent<{
|
|
109
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
110
|
+
level?: number;
|
|
111
|
+
name?: string;
|
|
112
|
+
compact?: boolean;
|
|
113
|
+
noncollapsible?: boolean;
|
|
114
|
+
hideHeading?: boolean;
|
|
115
|
+
additionalProperties?: boolean;
|
|
116
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
117
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
118
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
119
|
+
level?: number;
|
|
120
|
+
name?: string;
|
|
121
|
+
compact?: boolean;
|
|
122
|
+
noncollapsible?: boolean;
|
|
123
|
+
hideHeading?: boolean;
|
|
124
|
+
additionalProperties?: boolean;
|
|
125
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
126
|
+
}> & Readonly<{}>, {
|
|
127
|
+
level: number;
|
|
128
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
129
|
+
props: {
|
|
130
|
+
name: string;
|
|
131
|
+
noncollapsible: boolean;
|
|
132
|
+
value: {
|
|
133
|
+
type: string;
|
|
134
|
+
enum: string[];
|
|
135
|
+
description: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export declare const objectWithEnumSchema: {
|
|
140
|
+
component: import("vue").DefineComponent<{
|
|
141
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
142
|
+
level?: number;
|
|
143
|
+
name?: string;
|
|
144
|
+
compact?: boolean;
|
|
145
|
+
noncollapsible?: boolean;
|
|
146
|
+
hideHeading?: boolean;
|
|
147
|
+
additionalProperties?: boolean;
|
|
148
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
149
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
150
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
151
|
+
level?: number;
|
|
152
|
+
name?: string;
|
|
153
|
+
compact?: boolean;
|
|
154
|
+
noncollapsible?: boolean;
|
|
155
|
+
hideHeading?: boolean;
|
|
156
|
+
additionalProperties?: boolean;
|
|
157
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
158
|
+
}> & Readonly<{}>, {
|
|
159
|
+
level: number;
|
|
160
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
161
|
+
props: {
|
|
162
|
+
name: string;
|
|
163
|
+
noncollapsible: boolean;
|
|
164
|
+
value: {
|
|
165
|
+
type: string;
|
|
166
|
+
properties: {
|
|
167
|
+
enumValue: {
|
|
168
|
+
type: string;
|
|
169
|
+
enum: string[];
|
|
170
|
+
description: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
export declare const discriminatorsSchema: {
|
|
177
|
+
component: import("vue").DefineComponent<{
|
|
178
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
179
|
+
level?: number;
|
|
180
|
+
name?: string;
|
|
181
|
+
compact?: boolean;
|
|
182
|
+
noncollapsible?: boolean;
|
|
183
|
+
hideHeading?: boolean;
|
|
184
|
+
additionalProperties?: boolean;
|
|
185
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
186
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
187
|
+
value?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject | import("@scalar/openapi-types").OpenAPIV3.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3.NonArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.ArraySchemaObject | import("@scalar/openapi-types").OpenAPIV3_1.NonArraySchemaObject;
|
|
188
|
+
level?: number;
|
|
189
|
+
name?: string;
|
|
190
|
+
compact?: boolean;
|
|
191
|
+
noncollapsible?: boolean;
|
|
192
|
+
hideHeading?: boolean;
|
|
193
|
+
additionalProperties?: boolean;
|
|
194
|
+
schemas?: import("@scalar/openapi-types").OpenAPIV2.DefinitionsObject | Record<string, import("@scalar/openapi-types").OpenAPIV3.SchemaObject> | Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | unknown;
|
|
195
|
+
}> & Readonly<{}>, {
|
|
196
|
+
level: number;
|
|
197
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
198
|
+
props: {
|
|
199
|
+
name: string;
|
|
200
|
+
noncollapsible: boolean;
|
|
201
|
+
value: {
|
|
202
|
+
anyOf: ({
|
|
203
|
+
name: string;
|
|
204
|
+
type: string;
|
|
205
|
+
properties: {
|
|
206
|
+
type: {
|
|
207
|
+
type: string;
|
|
208
|
+
enum: string[];
|
|
209
|
+
};
|
|
210
|
+
fooProperty: {
|
|
211
|
+
type: string;
|
|
212
|
+
};
|
|
213
|
+
barProperty?: undefined;
|
|
214
|
+
};
|
|
215
|
+
} | {
|
|
216
|
+
name: string;
|
|
217
|
+
type: string;
|
|
218
|
+
properties: {
|
|
219
|
+
type: {
|
|
220
|
+
type: string;
|
|
221
|
+
enum: string[];
|
|
222
|
+
};
|
|
223
|
+
barProperty: {
|
|
224
|
+
type: string;
|
|
225
|
+
};
|
|
226
|
+
fooProperty?: undefined;
|
|
227
|
+
};
|
|
228
|
+
})[];
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
//# sourceMappingURL=Schema.preview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.preview.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.preview.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAA;AAWD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO3B,CAAA;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWtB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBhC,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BhC,CAAA"}
|
|
@@ -9,6 +9,8 @@ type __VLS_Props = {
|
|
|
9
9
|
/** Shows a toggle to hide/show children */
|
|
10
10
|
noncollapsible?: boolean;
|
|
11
11
|
hideHeading?: boolean;
|
|
12
|
+
/** Show a special one way toggle for additional properties, also has a top border when open */
|
|
13
|
+
additionalProperties?: boolean;
|
|
12
14
|
schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
|
|
13
15
|
};
|
|
14
16
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.vue"],"names":[],"mappings":"AAgVA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAQ9E,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EACF,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB,CAAA;IACpC,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,+DAA+D;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,+FAA+F;IAC/F,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,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;;WAfQ,MAAM;;AA0WlB,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Schema.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5ee841c0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Disclosure as
|
|
3
|
-
import { ScalarMarkdown as
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as N, computed as V, openBlock as a, createBlock as i, unref as o, withCtx as v, createElementVNode as B, normalizeClass as m, createElementBlock as s, createCommentVNode as t, withDirectives as j, createVNode as h, createTextVNode as k, vShow as w, normalizeStyle as E, Fragment as r, toDisplayString as z, renderList as A } from "vue";
|
|
2
|
+
import { Disclosure as T, DisclosureButton as D, DisclosurePanel as $ } from "@headlessui/vue";
|
|
3
|
+
import { ScalarMarkdown as F, ScalarIcon as g } from "@scalar/components";
|
|
4
|
+
import I from "./SchemaHeading.vue.js";
|
|
5
5
|
import p from "./SchemaProperty.vue.js";
|
|
6
|
-
const
|
|
6
|
+
const L = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "schema-card-description"
|
|
9
|
-
},
|
|
9
|
+
}, M = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "schema-properties"
|
|
12
|
+
}, U = /* @__PURE__ */ N({
|
|
10
13
|
__name: "Schema",
|
|
11
14
|
props: {
|
|
12
15
|
value: { type: [Object, Boolean] },
|
|
@@ -15,64 +18,86 @@ const I = {
|
|
|
15
18
|
compact: { type: Boolean },
|
|
16
19
|
noncollapsible: { type: Boolean },
|
|
17
20
|
hideHeading: { type: Boolean },
|
|
21
|
+
additionalProperties: { type: Boolean },
|
|
18
22
|
schemas: {}
|
|
19
23
|
},
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
22
|
-
return (e,
|
|
24
|
+
setup(q) {
|
|
25
|
+
const y = q, f = V(() => !(y.noncollapsible || y.level === 0)), b = (e) => y.noncollapsible && e.stopPropagation();
|
|
26
|
+
return (e, H) => typeof e.value == "object" && Object.keys(e.value).length ? (a(), i(o(T), {
|
|
23
27
|
key: 0,
|
|
24
28
|
defaultOpen: e.noncollapsible
|
|
25
29
|
}, {
|
|
26
|
-
default:
|
|
27
|
-
var
|
|
30
|
+
default: v(({ open: n }) => {
|
|
31
|
+
var P;
|
|
28
32
|
return [
|
|
29
|
-
|
|
33
|
+
B("div", {
|
|
30
34
|
class: m(["schema-card", [
|
|
31
35
|
`schema-card--level-${e.level}`,
|
|
32
|
-
{ "schema-card--compact": e.compact, "schema-card--open":
|
|
36
|
+
{ "schema-card--compact": e.compact, "schema-card--open": n },
|
|
37
|
+
{ "border-t-1/2": e.additionalProperties && n }
|
|
33
38
|
]])
|
|
34
39
|
}, [
|
|
35
|
-
(
|
|
36
|
-
|
|
40
|
+
(P = e.value) != null && P.description && typeof e.value.description == "string" && !e.value.allOf && !e.value.oneOf && !e.value.anyOf && !e.compact ? (a(), s("div", L, [
|
|
41
|
+
e.value.enum ? t("", !0) : (a(), i(o(F), {
|
|
42
|
+
key: 0,
|
|
37
43
|
value: e.value.description
|
|
38
|
-
}, null, 8, ["value"])
|
|
39
|
-
])) :
|
|
40
|
-
|
|
44
|
+
}, null, 8, ["value"]))
|
|
45
|
+
])) : t("", !0),
|
|
46
|
+
B("div", {
|
|
41
47
|
class: m(["schema-properties", {
|
|
42
|
-
"schema-properties-open":
|
|
48
|
+
"schema-properties-open": n
|
|
43
49
|
}])
|
|
44
50
|
}, [
|
|
45
|
-
|
|
51
|
+
e.additionalProperties ? j((a(), s("div", M, [
|
|
52
|
+
h(o(D), {
|
|
53
|
+
as: "button",
|
|
54
|
+
class: "schema-card-title schema-card-title--compact",
|
|
55
|
+
onClickCapture: b
|
|
56
|
+
}, {
|
|
57
|
+
default: v(() => [
|
|
58
|
+
h(o(g), {
|
|
59
|
+
class: "schema-card-title-icon",
|
|
60
|
+
icon: "Add",
|
|
61
|
+
size: "sm"
|
|
62
|
+
}),
|
|
63
|
+
H[0] || (H[0] = k(" Show additional properties "))
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
})
|
|
67
|
+
], 512)), [
|
|
68
|
+
[w, !n]
|
|
69
|
+
]) : j((a(), i(o(D), {
|
|
70
|
+
key: 1,
|
|
46
71
|
as: e.noncollapsible ? "div" : "button",
|
|
47
72
|
class: m(["schema-card-title", { "schema-card-title--compact": e.compact }]),
|
|
48
|
-
style:
|
|
73
|
+
style: E({
|
|
49
74
|
top: `calc(var(--refs-header-height) + calc(var(--schema-title-height) * ${e.level}))`
|
|
50
75
|
}),
|
|
51
|
-
onClickCapture:
|
|
76
|
+
onClickCapture: b
|
|
52
77
|
}, {
|
|
53
|
-
default:
|
|
78
|
+
default: v(() => {
|
|
54
79
|
var d, u, l;
|
|
55
80
|
return [
|
|
56
|
-
e.compact ? (a(),
|
|
57
|
-
|
|
81
|
+
e.compact ? (a(), s(r, { key: 0 }, [
|
|
82
|
+
f.value ? (a(), i(o(g), {
|
|
58
83
|
key: 0,
|
|
59
|
-
class: m(["schema-card-title-icon", { "schema-card-title-icon--open":
|
|
84
|
+
class: m(["schema-card-title-icon", { "schema-card-title-icon--open": n }]),
|
|
60
85
|
icon: "Add",
|
|
61
86
|
size: "sm"
|
|
62
|
-
}, null, 8, ["class"])) :
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
], 64)) : (a(),
|
|
66
|
-
|
|
87
|
+
}, null, 8, ["class"])) : t("", !0),
|
|
88
|
+
n ? (a(), s(r, { key: 1 }, [
|
|
89
|
+
k(" Hide " + z(((d = e.value) == null ? void 0 : d.title) ?? "Child Attributes"), 1)
|
|
90
|
+
], 64)) : (a(), s(r, { key: 2 }, [
|
|
91
|
+
k(" Show " + z(((u = e.value) == null ? void 0 : u.title) ?? "Child Attributes"), 1)
|
|
67
92
|
], 64))
|
|
68
|
-
], 64)) : (a(),
|
|
69
|
-
|
|
93
|
+
], 64)) : (a(), s(r, { key: 1 }, [
|
|
94
|
+
f.value ? (a(), i(o(g), {
|
|
70
95
|
key: 0,
|
|
71
|
-
class: m(["schema-card-title-icon", { "schema-card-title-icon--open":
|
|
96
|
+
class: m(["schema-card-title-icon", { "schema-card-title-icon--open": n }]),
|
|
72
97
|
icon: "Add",
|
|
73
98
|
size: "sm"
|
|
74
|
-
}, null, 8, ["class"])) :
|
|
75
|
-
|
|
99
|
+
}, null, 8, ["class"])) : t("", !0),
|
|
100
|
+
h(I, {
|
|
76
101
|
name: ((l = e.value) == null ? void 0 : l.title) ?? e.name,
|
|
77
102
|
value: e.value
|
|
78
103
|
}, null, 8, ["name", "value"])
|
|
@@ -80,33 +105,33 @@ const I = {
|
|
|
80
105
|
];
|
|
81
106
|
}),
|
|
82
107
|
_: 2
|
|
83
|
-
}, 1032, ["as", "class", "style"]), [
|
|
84
|
-
[
|
|
108
|
+
}, 1032, ["as", "class", "style"])), [
|
|
109
|
+
[w, !e.hideHeading && !(e.noncollapsible && e.compact)]
|
|
85
110
|
]),
|
|
86
|
-
|
|
111
|
+
h(o($), {
|
|
87
112
|
as: "ul",
|
|
88
113
|
static: e.noncollapsible
|
|
89
114
|
}, {
|
|
90
|
-
default:
|
|
115
|
+
default: v(() => {
|
|
91
116
|
var d, u;
|
|
92
117
|
return [
|
|
93
|
-
e.value.properties || e.value.additionalProperties || e.value.patternProperties ? (a(),
|
|
94
|
-
e.value.properties ? (a(!0),
|
|
95
|
-
var c,
|
|
96
|
-
return a(),
|
|
118
|
+
e.value.properties || e.value.additionalProperties || e.value.patternProperties ? (a(), s(r, { key: 0 }, [
|
|
119
|
+
e.value.properties ? (a(!0), s(r, { key: 0 }, A(Object.keys((d = e.value) == null ? void 0 : d.properties), (l) => {
|
|
120
|
+
var c, C, S, O;
|
|
121
|
+
return a(), i(p, {
|
|
97
122
|
key: l,
|
|
98
123
|
compact: e.compact,
|
|
99
124
|
hideHeading: e.hideHeading,
|
|
100
125
|
level: e.level + 1,
|
|
101
126
|
name: l,
|
|
102
|
-
required: ((c = e.value.required) == null ? void 0 : c.includes(l)) || ((
|
|
127
|
+
required: ((c = e.value.required) == null ? void 0 : c.includes(l)) || ((S = (C = e.value.properties) == null ? void 0 : C[l]) == null ? void 0 : S.required) === !0,
|
|
103
128
|
schemas: e.schemas,
|
|
104
|
-
value: (
|
|
129
|
+
value: (O = e.value.properties) == null ? void 0 : O[l]
|
|
105
130
|
}, null, 8, ["compact", "hideHeading", "level", "name", "required", "schemas", "value"]);
|
|
106
|
-
}), 128)) :
|
|
107
|
-
e.value.patternProperties ? (a(!0),
|
|
131
|
+
}), 128)) : t("", !0),
|
|
132
|
+
e.value.patternProperties ? (a(!0), s(r, { key: 1 }, A(Object.keys((u = e.value) == null ? void 0 : u.patternProperties), (l) => {
|
|
108
133
|
var c;
|
|
109
|
-
return a(),
|
|
134
|
+
return a(), i(p, {
|
|
110
135
|
key: l,
|
|
111
136
|
compact: e.compact,
|
|
112
137
|
hideHeading: e.hideHeading,
|
|
@@ -116,9 +141,9 @@ const I = {
|
|
|
116
141
|
schemas: e.schemas,
|
|
117
142
|
value: (c = e.value.patternProperties) == null ? void 0 : c[l]
|
|
118
143
|
}, null, 8, ["compact", "hideHeading", "level", "name", "schemas", "value"]);
|
|
119
|
-
}), 128)) :
|
|
120
|
-
e.value.additionalProperties ? (a(),
|
|
121
|
-
e.value.additionalProperties === !0 || Object.keys(e.value.additionalProperties).length === 0 || !e.value.additionalProperties.type ? (a(),
|
|
144
|
+
}), 128)) : t("", !0),
|
|
145
|
+
e.value.additionalProperties ? (a(), s(r, { key: 2 }, [
|
|
146
|
+
e.value.additionalProperties === !0 || Object.keys(e.value.additionalProperties).length === 0 || !e.value.additionalProperties.type ? (a(), i(p, {
|
|
122
147
|
key: 0,
|
|
123
148
|
additional: "",
|
|
124
149
|
compact: e.compact,
|
|
@@ -130,7 +155,7 @@ const I = {
|
|
|
130
155
|
type: "anything",
|
|
131
156
|
...typeof e.value.additionalProperties == "object" ? e.value.additionalProperties : {}
|
|
132
157
|
}
|
|
133
|
-
}, null, 8, ["compact", "hideHeading", "level", "schemas", "value"])) : (a(),
|
|
158
|
+
}, null, 8, ["compact", "hideHeading", "level", "schemas", "value"])) : (a(), i(p, {
|
|
134
159
|
key: 1,
|
|
135
160
|
additional: "",
|
|
136
161
|
compact: e.compact,
|
|
@@ -140,8 +165,8 @@ const I = {
|
|
|
140
165
|
schemas: e.schemas,
|
|
141
166
|
value: e.value.additionalProperties
|
|
142
167
|
}, null, 8, ["compact", "hideHeading", "level", "schemas", "value"]))
|
|
143
|
-
], 64)) :
|
|
144
|
-
], 64)) : (a(),
|
|
168
|
+
], 64)) : t("", !0)
|
|
169
|
+
], 64)) : (a(), i(p, {
|
|
145
170
|
key: 1,
|
|
146
171
|
compact: e.compact,
|
|
147
172
|
hideHeading: e.hideHeading,
|
|
@@ -158,9 +183,9 @@ const I = {
|
|
|
158
183
|
];
|
|
159
184
|
}),
|
|
160
185
|
_: 1
|
|
161
|
-
}, 8, ["defaultOpen"])) :
|
|
186
|
+
}, 8, ["defaultOpen"])) : t("", !0);
|
|
162
187
|
}
|
|
163
188
|
});
|
|
164
189
|
export {
|
|
165
|
-
|
|
190
|
+
U as default
|
|
166
191
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaDiscriminator.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaDiscriminator.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaDiscriminator.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaDiscriminator.vue"],"names":[],"mappings":"AAoLA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAQ9E,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,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,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;;AAuQF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SchemaDiscriminator.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-5f3b3a79"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as default
|
|
7
7
|
};
|