@scalar/api-reference 1.31.8 → 1.31.9
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 +45 -0
- package/dist/browser/standalone.js +18613 -18470
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +10 -30
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +240 -222
- package/dist/components/Content/Content.vue.d.ts +2 -0
- 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 +84 -74
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -3
- 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 +93 -83
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Loading.vue.js +84 -86
- package/dist/components/Content/Models/Models.vue.js +1 -1
- package/dist/components/Content/Models/Models.vue2.js +4 -4
- 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 +53 -53
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +1 -1
- 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 +117 -112
- 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 +161 -191
- package/dist/components/Content/Schema/helpers/schema-name.d.ts +13 -0
- package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.js +59 -13
- package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/OperationsList.vue.js +1 -1
- package/dist/components/Content/Tag/OperationsList.vue2.js +22 -25
- package/dist/components/Content/Tag/OperationsListItem.vue.d.ts +2 -3
- package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/OperationsListItem.vue.js +2 -2
- package/dist/components/Content/Tag/OperationsListItem.vue2.js +46 -47
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Tag.vue.js +45 -47
- package/dist/components/Content/Tag/TagList.vue.d.ts +2 -0
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.js +40 -41
- package/dist/components/Content/Tag/TagSection.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagSection.vue.js +2 -2
- package/dist/components/Content/Tag/TagSection.vue2.js +21 -21
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +16 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +12 -11
- package/dist/components/MobileHeader.vue.d.ts +1 -8
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.js +1 -1
- package/dist/components/MobileHeader.vue2.js +19 -19
- package/dist/components/Section/Section.vue.js +2 -2
- package/dist/components/Section/Section.vue2.js +1 -1
- package/dist/components/ShowMoreButton.vue.js +2 -2
- package/dist/components/ShowMoreButton.vue2.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts +2 -4
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue2.js +113 -159
- package/dist/components/Sidebar/SidebarElement.vue.d.ts +2 -11
- 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 +85 -81
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts +16 -1
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarHttpBadge.vue.js +2 -2
- package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +11 -5
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.js +54 -42
- package/dist/features/ApiClientModal/useApiClient.d.ts +74 -72
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts +0 -2
- package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts.map +1 -1
- package/dist/features/DocumentSource/hooks/useDocumentSource.js +40 -67
- package/dist/features/DownloadLink/DownloadLink.vue.js +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +5 -5
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue2.js +200 -179
- package/dist/features/Operation/Operation.vue.d.ts +0 -1
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +31 -34
- package/dist/features/Operation/components/OperationParameters.vue.d.ts +3 -2
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.js +62 -64
- package/dist/features/Operation/components/OperationResponses.vue.d.ts +1 -2
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.js +2 -2
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +3 -3
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +31 -38
- package/dist/features/Operation/hooks/useResponses.d.ts +3 -3
- package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -1
- package/dist/features/Operation/hooks/useResponses.js +12 -13
- package/dist/features/Operation/index.d.ts +0 -1
- package/dist/features/Operation/index.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +4 -6
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +85 -72
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +2 -4
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +114 -98
- package/dist/features/Search/SearchModal.vue.js +2 -2
- package/dist/features/Search/SearchModal.vue2.js +1 -1
- package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
- package/dist/features/Search/useSearchIndex.js +61 -64
- package/dist/features/sidebar/helpers/create-sidebar.d.ts +4 -2
- package/dist/features/sidebar/helpers/create-sidebar.d.ts.map +1 -1
- package/dist/features/sidebar/helpers/create-sidebar.js +33 -0
- package/dist/features/sidebar/hooks/useSidebar.d.ts +2 -3
- package/dist/features/sidebar/hooks/useSidebar.d.ts.map +1 -1
- package/dist/features/sidebar/hooks/useSidebar.js +18 -0
- package/dist/features/sidebar/index.d.ts +2 -1
- package/dist/features/sidebar/index.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/get-tag.d.ts +4 -2
- package/dist/features/traverse-schema/helpers/get-tag.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/get-tag.js +7 -0
- package/dist/features/traverse-schema/helpers/traverse-description.js +33 -0
- package/dist/features/traverse-schema/helpers/traverse-document.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-document.js +34 -0
- package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +5 -3
- package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-paths.js +32 -0
- package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts +2 -2
- package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-schemas.js +23 -0
- package/dist/features/traverse-schema/helpers/traverse-tags.d.ts +2 -2
- package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-tags.js +43 -0
- package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts +2 -2
- package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-webhooks.js +26 -0
- package/dist/features/traverse-schema/index.d.ts +3 -3
- package/dist/features/traverse-schema/index.d.ts.map +1 -1
- package/dist/features/traverse-schema/types.d.ts +8 -5
- package/dist/features/traverse-schema/types.d.ts.map +1 -1
- package/dist/helpers/parse.d.ts +2 -1
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/parse.js +72 -88
- package/dist/hooks/useMultipleDocuments.d.ts +6 -6
- package/dist/hooks/useMultipleDocuments.d.ts.map +1 -1
- package/dist/hooks/useNavState.d.ts +1 -1
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/hooks/useNavState.js +14 -9
- package/dist/hooks/useOperation.d.ts +7 -7
- package/dist/hooks/useOperation.d.ts.map +1 -1
- package/dist/hooks/useOperation.js +13 -12
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -25
- package/dist/legacy/fixtures/index.d.ts +1 -1
- package/dist/libs/openapi.d.ts +3 -4
- package/dist/libs/openapi.d.ts.map +1 -1
- package/dist/libs/openapi.js +8 -9
- package/dist/style.css +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +4 -18
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +68 -45
- package/package.json +16 -16
- package/dist/components/Content/Webhooks/index.d.ts +0 -2
- package/dist/components/Content/Webhooks/index.d.ts.map +0 -1
- package/dist/features/Operation/Webhooks.vue.d.ts +0 -7
- package/dist/features/Operation/Webhooks.vue.d.ts.map +0 -1
- package/dist/features/Operation/Webhooks.vue.js +0 -7
- package/dist/features/Operation/Webhooks.vue2.js +0 -121
- package/dist/features/Operation/components/Webhook.vue.d.ts +0 -7
- package/dist/features/Operation/components/Webhook.vue.d.ts.map +0 -1
- package/dist/features/Operation/components/Webhook.vue.js +0 -7
- package/dist/features/Operation/components/Webhook.vue2.js +0 -29
- package/dist/features/traverse-schema/helpers/operation-id-params.d.ts +0 -8
- package/dist/features/traverse-schema/helpers/operation-id-params.d.ts.map +0 -1
- package/dist/features/traverse-schema/helpers/operation-id-params.js +0 -8
- package/dist/hooks/useSidebar.d.ts +0 -53
- package/dist/hooks/useSidebar.d.ts.map +0 -1
- package/dist/hooks/useSidebar.js +0 -248
- package/dist/legacy/fixtures/httpRequestMethods.js +0 -14
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { scrollToId as
|
|
3
|
-
import { lazyBus as
|
|
4
|
-
import { useNavState as
|
|
5
|
-
import { getModels as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
const
|
|
1
|
+
import { defineComponent as V, ref as v, watch as W, onMounted as x, withDirectives as D, createElementBlock as f, openBlock as l, normalizeClass as E, createBlock as m, createCommentVNode as T, Fragment as y, renderList as k, unref as o, withCtx as p, createVNode as S, createTextVNode as H, toDisplayString as K, vShow as j } from "vue";
|
|
2
|
+
import { scrollToId as b } from "@scalar/helpers/dom/scroll-to-id";
|
|
3
|
+
import { lazyBus as A } from "./lazyBus.js";
|
|
4
|
+
import { useNavState as F } from "../../../hooks/useNavState.js";
|
|
5
|
+
import { getModels as h } from "../../../libs/openapi.js";
|
|
6
|
+
import $ from "../Tag/TagSection.vue.js";
|
|
7
|
+
import q from "../../../features/Operation/Operation.vue.js";
|
|
8
|
+
import G from "../../Section/SectionContainer.vue.js";
|
|
9
|
+
import J from "../../Section/Section.vue.js";
|
|
10
|
+
import P from "../../Section/SectionContent.vue.js";
|
|
11
|
+
import Q from "../../Section/SectionHeader.vue.js";
|
|
12
|
+
import R from "../../Anchor/Anchor.vue.js";
|
|
13
|
+
import U from "../../Section/SectionHeaderTag.vue.js";
|
|
14
|
+
import X from "../Schema/Schema.vue.js";
|
|
15
|
+
const C = v(!1), pe = /* @__PURE__ */ V({
|
|
16
16
|
__name: "Loading",
|
|
17
17
|
props: {
|
|
18
18
|
collection: {},
|
|
@@ -20,114 +20,112 @@ const _ = v(!1), ge = /* @__PURE__ */ E({
|
|
|
20
20
|
layout: { default: "modern" },
|
|
21
21
|
parsedSpec: {}
|
|
22
22
|
},
|
|
23
|
-
setup(
|
|
24
|
-
const
|
|
25
|
-
!
|
|
23
|
+
setup(L) {
|
|
24
|
+
const u = L, _ = v(!1), w = v([]), I = v([]), { getModelId: O, getSectionId: B, getTagId: N, hash: r, isIntersectionEnabled: g } = F(), z = v(
|
|
25
|
+
!C.value && u.layout !== "classic" && r.value
|
|
26
26
|
);
|
|
27
|
-
|
|
27
|
+
W(
|
|
28
28
|
() => {
|
|
29
29
|
var t;
|
|
30
|
-
return (t =
|
|
30
|
+
return (t = u.parsedSpec.tags) == null ? void 0 : t.length;
|
|
31
31
|
},
|
|
32
32
|
(t) => {
|
|
33
|
-
var e,
|
|
34
|
-
if (!
|
|
33
|
+
var e, d;
|
|
34
|
+
if (!r.value || typeof t != "number" || !u.parsedSpec.tags)
|
|
35
35
|
return;
|
|
36
36
|
const n = B();
|
|
37
37
|
if (n.startsWith("tag")) {
|
|
38
|
-
let
|
|
39
|
-
const
|
|
40
|
-
(
|
|
41
|
-
)) ?? 0
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
const p = i.parsedSpec.tags[d];
|
|
49
|
-
if (!p)
|
|
38
|
+
let a = 0;
|
|
39
|
+
const c = ((e = u.parsedSpec.tags) == null ? void 0 : e.findIndex(
|
|
40
|
+
(i) => N(i) === n
|
|
41
|
+
)) ?? 0;
|
|
42
|
+
a = (d = u.parsedSpec.tags[c]) == null ? void 0 : d.operations.findIndex(
|
|
43
|
+
({ id: i }) => i === r.value
|
|
44
|
+
);
|
|
45
|
+
const s = u.parsedSpec.tags[c];
|
|
46
|
+
if (!s)
|
|
50
47
|
return;
|
|
51
|
-
|
|
52
|
-
...
|
|
53
|
-
lazyOperations:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
48
|
+
s.name !== "default" && (_.value = n !== r.value && n.startsWith("tag")), w.value.push({
|
|
49
|
+
...s,
|
|
50
|
+
lazyOperations: s.operations.slice(a, a + 2).map((i) => ({
|
|
51
|
+
...i,
|
|
52
|
+
// Prefix the id with lazy- to avoid collisions with the real ids
|
|
53
|
+
id: "lazy-" + i.id
|
|
54
|
+
}))
|
|
55
|
+
}), r.value.includes("/description/") && (typeof window < "u" && b(r.value), setTimeout(() => g.value = !0, 1e3));
|
|
56
|
+
} else if (r.value.startsWith("model")) {
|
|
57
|
+
const a = Object.keys(h(u.parsedSpec) ?? {}), [, c] = r.value.toLowerCase().split("/"), s = r.value === "models" ? 0 : a.findIndex((i) => i.toLowerCase() === c);
|
|
60
58
|
if (s === -1)
|
|
61
59
|
return;
|
|
62
|
-
|
|
60
|
+
I.value = a.slice(s, s + 3);
|
|
63
61
|
} else
|
|
64
|
-
typeof window < "u" &&
|
|
62
|
+
typeof window < "u" && b(r.value), setTimeout(() => g.value = !0, 1e3);
|
|
65
63
|
},
|
|
66
64
|
{ immediate: !0 }
|
|
67
65
|
);
|
|
68
|
-
const
|
|
69
|
-
const n =
|
|
70
|
-
!n || t !== n || (
|
|
71
|
-
typeof window < "u" &&
|
|
66
|
+
const M = A.on(({ id: t }) => {
|
|
67
|
+
const n = r.value;
|
|
68
|
+
!n || t !== n || (M(), setTimeout(() => {
|
|
69
|
+
typeof window < "u" && b(n), z.value = !1, C.value = !0, setTimeout(() => {
|
|
72
70
|
g.value = !0;
|
|
73
71
|
}, 1e3);
|
|
74
72
|
}, 300));
|
|
75
73
|
});
|
|
76
|
-
return
|
|
77
|
-
|
|
74
|
+
return x(() => {
|
|
75
|
+
r.value || (C.value = !0, setTimeout(() => {
|
|
78
76
|
g.value = !0;
|
|
79
77
|
}, 1e3));
|
|
80
|
-
}), (t, n) =>
|
|
81
|
-
class:
|
|
82
|
-
"references-loading-hidden-tag":
|
|
83
|
-
"references-loading-top-spacer":
|
|
78
|
+
}), (t, n) => D((l(), f("div", {
|
|
79
|
+
class: E(["references-loading", {
|
|
80
|
+
"references-loading-hidden-tag": _.value,
|
|
81
|
+
"references-loading-top-spacer": w.value.length
|
|
84
82
|
}])
|
|
85
83
|
}, [
|
|
86
|
-
(l(!0), f(
|
|
87
|
-
key: e.name +
|
|
84
|
+
(l(!0), f(y, null, k(w.value, (e, d) => (l(), f(y, {
|
|
85
|
+
key: e.name + d
|
|
88
86
|
}, [
|
|
89
|
-
e.operations && e.operations.length > 0 ? (l(), m(
|
|
87
|
+
e.operations && e.operations.length > 0 ? (l(), m(o($), {
|
|
90
88
|
key: 0,
|
|
91
89
|
collection: t.collection,
|
|
92
90
|
spec: t.parsedSpec,
|
|
93
91
|
tag: e
|
|
94
92
|
}, {
|
|
95
|
-
default:
|
|
96
|
-
(l(!0), f(
|
|
97
|
-
key:
|
|
93
|
+
default: p(() => [
|
|
94
|
+
(l(!0), f(y, null, k(e.lazyOperations, (a) => (l(), m(o(q), {
|
|
95
|
+
key: a.id,
|
|
98
96
|
collection: t.collection,
|
|
99
97
|
layout: t.layout,
|
|
100
98
|
server: t.server,
|
|
101
|
-
transformedOperation:
|
|
99
|
+
transformedOperation: a
|
|
102
100
|
}, null, 8, ["collection", "layout", "server", "transformedOperation"]))), 128))
|
|
103
101
|
]),
|
|
104
102
|
_: 2
|
|
105
|
-
}, 1032, ["collection", "spec", "tag"])) :
|
|
103
|
+
}, 1032, ["collection", "spec", "tag"])) : T("", !0)
|
|
106
104
|
], 64))), 128)),
|
|
107
|
-
|
|
108
|
-
default:
|
|
109
|
-
(l(!0), f(
|
|
105
|
+
I.value.length ? (l(), m(o(G), { key: 0 }, {
|
|
106
|
+
default: p(() => [
|
|
107
|
+
(l(!0), f(y, null, k(I.value, (e) => (l(), m(o(J), {
|
|
110
108
|
key: e,
|
|
111
109
|
label: e
|
|
112
110
|
}, {
|
|
113
|
-
default:
|
|
114
|
-
var
|
|
111
|
+
default: p(() => {
|
|
112
|
+
var d;
|
|
115
113
|
return [
|
|
116
|
-
(
|
|
117
|
-
default:
|
|
118
|
-
var
|
|
114
|
+
(d = o(h)(t.parsedSpec)) != null && d[e] ? (l(), m(o(P), { key: 0 }, {
|
|
115
|
+
default: p(() => {
|
|
116
|
+
var a;
|
|
119
117
|
return [
|
|
120
|
-
S(
|
|
121
|
-
default:
|
|
122
|
-
S(
|
|
123
|
-
id:
|
|
118
|
+
S(o(Q), null, {
|
|
119
|
+
default: p(() => [
|
|
120
|
+
S(o(R), {
|
|
121
|
+
id: "lazy-" + o(O)({ name: e })
|
|
124
122
|
}, {
|
|
125
|
-
default:
|
|
126
|
-
S(
|
|
127
|
-
default:
|
|
128
|
-
var
|
|
123
|
+
default: p(() => [
|
|
124
|
+
S(o(U), { level: 2 }, {
|
|
125
|
+
default: p(() => {
|
|
126
|
+
var c;
|
|
129
127
|
return [
|
|
130
|
-
|
|
128
|
+
H(K(((c = o(h)(t.parsedSpec)) == null ? void 0 : c[e]).title ?? e), 1)
|
|
131
129
|
];
|
|
132
130
|
}),
|
|
133
131
|
_: 2
|
|
@@ -138,27 +136,27 @@ const _ = v(!1), ge = /* @__PURE__ */ E({
|
|
|
138
136
|
]),
|
|
139
137
|
_: 2
|
|
140
138
|
}, 1024),
|
|
141
|
-
S(
|
|
139
|
+
S(o(X), {
|
|
142
140
|
name: e,
|
|
143
141
|
noncollapsible: "",
|
|
144
|
-
value: (
|
|
142
|
+
value: (a = o(h)(t.parsedSpec)) == null ? void 0 : a[e]
|
|
145
143
|
}, null, 8, ["name", "value"])
|
|
146
144
|
];
|
|
147
145
|
}),
|
|
148
146
|
_: 2
|
|
149
|
-
}, 1024)) :
|
|
147
|
+
}, 1024)) : T("", !0)
|
|
150
148
|
];
|
|
151
149
|
}),
|
|
152
150
|
_: 2
|
|
153
151
|
}, 1032, ["label"]))), 128))
|
|
154
152
|
]),
|
|
155
153
|
_: 1
|
|
156
|
-
})) :
|
|
154
|
+
})) : T("", !0)
|
|
157
155
|
], 2)), [
|
|
158
|
-
[
|
|
156
|
+
[j, z.value]
|
|
159
157
|
]);
|
|
160
158
|
}
|
|
161
159
|
});
|
|
162
160
|
export {
|
|
163
|
-
|
|
161
|
+
pe as default
|
|
164
162
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Models.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4228514f"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as y, useId as M, computed as u, createBlock as m, createCommentVNode as f, openBlock as r, unref as e, withCtx as l, createVNode as o, createElementVNode as k, createTextVNode as N, normalizeClass as g, createElementBlock as I, Fragment as C, renderList as L } from "vue";
|
|
2
2
|
import { ScalarErrorBoundary as B } from "@scalar/components";
|
|
3
3
|
import { useNavState as H } from "../../../hooks/useNavState.js";
|
|
4
|
-
import
|
|
5
|
-
import E from "
|
|
4
|
+
import w from "../../ShowMoreButton.vue.js";
|
|
5
|
+
import { useSidebar as E } from "../../../features/sidebar/hooks/useSidebar.js";
|
|
6
6
|
import O from "../../Section/SectionContainer.vue.js";
|
|
7
7
|
import V from "../../Section/Section.vue.js";
|
|
8
8
|
import z from "../../Section/SectionHeader.vue.js";
|
|
@@ -17,7 +17,7 @@ const S = 10, U = /* @__PURE__ */ y({
|
|
|
17
17
|
schemas: {}
|
|
18
18
|
},
|
|
19
19
|
setup(v) {
|
|
20
|
-
const i = v, n = M(), { collapsedSidebarItems: _ } =
|
|
20
|
+
const i = v, n = M(), { collapsedSidebarItems: _ } = E(), { getModelId: a } = H(), d = u(
|
|
21
21
|
() => Object.keys(i.schemas ?? {}).length <= S || _[a()]
|
|
22
22
|
), b = u(() => {
|
|
23
23
|
const t = Object.keys(i.schemas ?? {});
|
|
@@ -94,7 +94,7 @@ const S = 10, U = /* @__PURE__ */ y({
|
|
|
94
94
|
_: 2
|
|
95
95
|
}, 1032, ["id"]))), 128))
|
|
96
96
|
], 2),
|
|
97
|
-
d.value ? f("", !0) : (r(), m(
|
|
97
|
+
d.value ? f("", !0) : (r(), m(w, {
|
|
98
98
|
key: 0,
|
|
99
99
|
id: e(a)(),
|
|
100
100
|
class: "show-more-models"
|
|
@@ -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":"AAqfA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAIxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAQjE,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EACF,WAAW,CAAC,eAAe,GAC3B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB,GAChC,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,uCAAuC;IACvC,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,6BAA6B;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4BAA4B;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,kCAAkC;IAClC,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,6CAA6C;IAC7C,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAC;;;;;;WAtBQ,MAAM;oBAMG,OAAO;oBAKP,OAAO;;AA+lB5B,wBAQG"}
|
|
@@ -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-f1fb3dcb"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Q, inject as W, computed as p, createBlock as
|
|
1
|
+
import { defineComponent as Q, inject as W, computed as p, createBlock as n, createCommentVNode as d, openBlock as i, unref as u, withCtx as v, createElementVNode as I, normalizeClass as M, createElementBlock as t, withDirectives as E, createVNode as h, createTextVNode as P, toDisplayString as H, vShow as R, normalizeStyle as Y, Fragment as m, renderList as $ } from "vue";
|
|
2
2
|
import { Disclosure as Z, DisclosureButton as F, DisclosurePanel as _ } from "@headlessui/vue";
|
|
3
3
|
import { ScalarMarkdown as x, ScalarIcon as V } from "@scalar/components";
|
|
4
4
|
import L from "../../ScreenReader.vue.js";
|
|
@@ -30,57 +30,57 @@ const ie = {
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["update:modelValue"],
|
|
32
32
|
setup(X, { emit: G }) {
|
|
33
|
-
const
|
|
33
|
+
const o = X, J = G, r = W(ee, null), y = p(
|
|
34
34
|
() => {
|
|
35
35
|
var e;
|
|
36
|
-
return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.discriminatorMapping) ||
|
|
36
|
+
return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.discriminatorMapping) || o.discriminatorMapping || {};
|
|
37
37
|
}
|
|
38
38
|
), c = p(
|
|
39
39
|
() => {
|
|
40
40
|
var e;
|
|
41
|
-
return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.discriminatorPropertyName) ||
|
|
41
|
+
return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.discriminatorPropertyName) || o.discriminatorPropertyName || "";
|
|
42
42
|
}
|
|
43
|
-
),
|
|
43
|
+
), D = p(
|
|
44
44
|
() => {
|
|
45
45
|
var e;
|
|
46
|
-
return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.selectedType) ||
|
|
46
|
+
return ((e = r == null ? void 0 : r.value) == null ? void 0 : e.selectedType) || o.discriminator;
|
|
47
47
|
}
|
|
48
|
-
),
|
|
49
|
-
var
|
|
50
|
-
const e = (
|
|
51
|
-
return e &&
|
|
52
|
-
}),
|
|
48
|
+
), O = (e) => e !== null && typeof e == "object" && "type" in e && e.type === "object", a = p(() => {
|
|
49
|
+
var s;
|
|
50
|
+
const e = (s = r == null ? void 0 : r.value) == null ? void 0 : s.mergedSchema, S = o.value;
|
|
51
|
+
return e && o.level === 0 && o.hasDiscriminator && O(S) && O(e) ? e : o.value;
|
|
52
|
+
}), j = p(() => !(o.noncollapsible || o.level === 0)), K = p(() => {
|
|
53
53
|
var e;
|
|
54
|
-
return !(!((e = a.value) != null && e.description) || typeof a.value.description != "string" || a.value.allOf || a.value.oneOf || a.value.anyOf || a.value.enum ||
|
|
55
|
-
}), B = (e) =>
|
|
54
|
+
return !(!((e = a.value) != null && e.description) || typeof a.value.description != "string" || a.value.allOf || a.value.oneOf || a.value.anyOf || a.value.enum || o.level === 0);
|
|
55
|
+
}), B = (e) => o.noncollapsible && e.stopPropagation(), g = (e) => {
|
|
56
56
|
J("update:modelValue", e);
|
|
57
57
|
};
|
|
58
|
-
return (e, S) => typeof e.value == "object" && Object.keys(e.value).length ? (i(),
|
|
58
|
+
return (e, S) => typeof e.value == "object" && Object.keys(e.value).length ? (i(), n(u(Z), {
|
|
59
59
|
key: 0,
|
|
60
60
|
defaultOpen: e.noncollapsible
|
|
61
61
|
}, {
|
|
62
|
-
default: v(({ open:
|
|
62
|
+
default: v(({ open: s }) => {
|
|
63
63
|
var w, C;
|
|
64
64
|
return [
|
|
65
65
|
I("div", {
|
|
66
66
|
class: M(["schema-card", [
|
|
67
67
|
`schema-card--level-${e.level}`,
|
|
68
|
-
{ "schema-card--compact": e.compact, "schema-card--open":
|
|
69
|
-
{ "border-t": e.additionalProperties &&
|
|
68
|
+
{ "schema-card--compact": e.compact, "schema-card--open": s },
|
|
69
|
+
{ "border-t": e.additionalProperties && s }
|
|
70
70
|
]])
|
|
71
71
|
}, [
|
|
72
|
-
K.value ? (i(),
|
|
73
|
-
(w = a.value) != null && w.enum ?
|
|
72
|
+
K.value ? (i(), t("div", ie, [
|
|
73
|
+
(w = a.value) != null && w.enum ? d("", !0) : (i(), n(u(x), {
|
|
74
74
|
key: 0,
|
|
75
75
|
value: (C = a.value) == null ? void 0 : C.description
|
|
76
76
|
}, null, 8, ["value"]))
|
|
77
|
-
])) :
|
|
77
|
+
])) : d("", !0),
|
|
78
78
|
I("div", {
|
|
79
79
|
class: M(["schema-properties", {
|
|
80
|
-
"schema-properties-open":
|
|
80
|
+
"schema-properties-open": s
|
|
81
81
|
}])
|
|
82
82
|
}, [
|
|
83
|
-
e.additionalProperties ? E((i(),
|
|
83
|
+
e.additionalProperties ? E((i(), t("div", le, [
|
|
84
84
|
h(u(F), {
|
|
85
85
|
as: "button",
|
|
86
86
|
class: "schema-card-title schema-card-title--compact",
|
|
@@ -93,18 +93,18 @@ const ie = {
|
|
|
93
93
|
size: "sm"
|
|
94
94
|
}),
|
|
95
95
|
S[0] || (S[0] = P(" Show additional properties ")),
|
|
96
|
-
e.name ? (i(),
|
|
96
|
+
e.name ? (i(), n(L, { key: 0 }, {
|
|
97
97
|
default: v(() => [
|
|
98
98
|
P("for " + H(e.name), 1)
|
|
99
99
|
]),
|
|
100
100
|
_: 1
|
|
101
|
-
})) :
|
|
101
|
+
})) : d("", !0)
|
|
102
102
|
]),
|
|
103
103
|
_: 1
|
|
104
104
|
})
|
|
105
105
|
], 512)), [
|
|
106
|
-
[R, !
|
|
107
|
-
]) :
|
|
106
|
+
[R, !s]
|
|
107
|
+
]) : j.value ? E((i(), n(u(F), {
|
|
108
108
|
key: 1,
|
|
109
109
|
as: e.noncollapsible ? "div" : "button",
|
|
110
110
|
class: M(["schema-card-title", { "schema-card-title--compact": e.compact }]),
|
|
@@ -116,26 +116,26 @@ const ie = {
|
|
|
116
116
|
default: v(() => {
|
|
117
117
|
var f, N, l;
|
|
118
118
|
return [
|
|
119
|
-
e.compact ? (i(),
|
|
119
|
+
e.compact ? (i(), t(m, { key: 0 }, [
|
|
120
120
|
h(u(V), {
|
|
121
|
-
class: M(["schema-card-title-icon", { "schema-card-title-icon--open":
|
|
121
|
+
class: M(["schema-card-title-icon", { "schema-card-title-icon--open": s }]),
|
|
122
122
|
icon: "Add",
|
|
123
123
|
size: "sm"
|
|
124
124
|
}, null, 8, ["class"]),
|
|
125
|
-
|
|
125
|
+
s ? (i(), t(m, { key: 0 }, [
|
|
126
126
|
P(" Hide " + H(((f = e.value) == null ? void 0 : f.title) ?? "Child Attributes"), 1)
|
|
127
|
-
], 64)) : (i(),
|
|
127
|
+
], 64)) : (i(), t(m, { key: 1 }, [
|
|
128
128
|
P(" Show " + H(((N = e.value) == null ? void 0 : N.title) ?? "Child Attributes"), 1)
|
|
129
129
|
], 64)),
|
|
130
|
-
e.name ? (i(),
|
|
130
|
+
e.name ? (i(), n(L, { key: 2 }, {
|
|
131
131
|
default: v(() => [
|
|
132
132
|
P("for " + H(e.name), 1)
|
|
133
133
|
]),
|
|
134
134
|
_: 1
|
|
135
|
-
})) :
|
|
136
|
-
], 64)) : (i(),
|
|
135
|
+
})) : d("", !0)
|
|
136
|
+
], 64)) : (i(), t(m, { key: 1 }, [
|
|
137
137
|
h(u(V), {
|
|
138
|
-
class: M(["schema-card-title-icon", { "schema-card-title-icon--open":
|
|
138
|
+
class: M(["schema-card-title-icon", { "schema-card-title-icon--open": s }]),
|
|
139
139
|
icon: "Add",
|
|
140
140
|
size: "sm"
|
|
141
141
|
}, null, 8, ["class"]),
|
|
@@ -149,18 +149,18 @@ const ie = {
|
|
|
149
149
|
_: 2
|
|
150
150
|
}, 1032, ["as", "class", "style"])), [
|
|
151
151
|
[R, !e.hideHeading && !(e.noncollapsible && e.compact)]
|
|
152
|
-
]) :
|
|
152
|
+
]) : d("", !0),
|
|
153
153
|
h(u(_), {
|
|
154
154
|
as: "ul",
|
|
155
|
-
static: !
|
|
155
|
+
static: !j.value
|
|
156
156
|
}, {
|
|
157
157
|
default: v(() => {
|
|
158
158
|
var f, N;
|
|
159
159
|
return [
|
|
160
|
-
a.value && typeof a.value == "object" && ("properties" in a.value || "additionalProperties" in a.value || "patternProperties" in a.value) ? (i(),
|
|
161
|
-
a.value.properties ? (i(!0),
|
|
160
|
+
a.value && typeof a.value == "object" && ("properties" in a.value || "additionalProperties" in a.value || "patternProperties" in a.value) ? (i(), t(m, { key: 0 }, [
|
|
161
|
+
a.value.properties ? (i(!0), t(m, { key: 0 }, $(Object.keys(a.value.properties), (l) => {
|
|
162
162
|
var k, A, T, z, U, q;
|
|
163
|
-
return i(),
|
|
163
|
+
return i(), n(b, {
|
|
164
164
|
key: l,
|
|
165
165
|
compact: e.compact,
|
|
166
166
|
hideHeading: e.hideHeading,
|
|
@@ -178,13 +178,13 @@ const ie = {
|
|
|
178
178
|
discriminatorMapping: ((z = a.value.discriminator) == null ? void 0 : z.mapping) || y.value,
|
|
179
179
|
discriminatorPropertyName: ((U = a.value.discriminator) == null ? void 0 : U.propertyName) || c.value,
|
|
180
180
|
isDiscriminator: l === (((q = a.value.discriminator) == null ? void 0 : q.propertyName) || c.value),
|
|
181
|
-
modelValue:
|
|
181
|
+
modelValue: D.value,
|
|
182
182
|
"onUpdate:modelValue": g
|
|
183
183
|
}, null, 8, ["compact", "hideHeading", "level", "name", "hideModelNames", "required", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "isDiscriminator", "modelValue"]);
|
|
184
|
-
}), 128)) :
|
|
185
|
-
a.value.patternProperties ? (i(!0),
|
|
184
|
+
}), 128)) : d("", !0),
|
|
185
|
+
a.value.patternProperties ? (i(!0), t(m, { key: 1 }, $(Object.keys(a.value.patternProperties), (l) => {
|
|
186
186
|
var k;
|
|
187
|
-
return i(),
|
|
187
|
+
return i(), n(b, {
|
|
188
188
|
key: l,
|
|
189
189
|
compact: e.compact,
|
|
190
190
|
hideHeading: e.hideHeading,
|
|
@@ -198,9 +198,9 @@ const ie = {
|
|
|
198
198
|
discriminatorPropertyName: c.value,
|
|
199
199
|
"onUpdate:modelValue": g
|
|
200
200
|
}, null, 8, ["compact", "hideHeading", "level", "name", "hideModelNames", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName"]);
|
|
201
|
-
}), 128)) :
|
|
202
|
-
a.value.additionalProperties ? (i(),
|
|
203
|
-
a.value.additionalProperties === !0 || Object.keys(a.value.additionalProperties).length === 0 || !("type" in a.value.additionalProperties) ? (i(),
|
|
201
|
+
}), 128)) : d("", !0),
|
|
202
|
+
a.value.additionalProperties ? (i(), t(m, { key: 2 }, [
|
|
203
|
+
a.value.additionalProperties === !0 || Object.keys(a.value.additionalProperties).length === 0 || !("type" in a.value.additionalProperties) ? (i(), n(b, {
|
|
204
204
|
key: 0,
|
|
205
205
|
additional: "",
|
|
206
206
|
compact: e.compact,
|
|
@@ -216,7 +216,7 @@ const ie = {
|
|
|
216
216
|
discriminatorMapping: y.value,
|
|
217
217
|
discriminatorPropertyName: c.value,
|
|
218
218
|
"onUpdate:modelValue": g
|
|
219
|
-
}, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName"])) : (i(),
|
|
219
|
+
}, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName"])) : (i(), n(b, {
|
|
220
220
|
key: 1,
|
|
221
221
|
additional: "",
|
|
222
222
|
compact: e.compact,
|
|
@@ -230,9 +230,9 @@ const ie = {
|
|
|
230
230
|
discriminatorPropertyName: c.value,
|
|
231
231
|
"onUpdate:modelValue": g
|
|
232
232
|
}, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName"]))
|
|
233
|
-
], 64)) :
|
|
234
|
-
], 64)) : (i(),
|
|
235
|
-
a.value ? (i(),
|
|
233
|
+
], 64)) : d("", !0)
|
|
234
|
+
], 64)) : (i(), t(m, { key: 1 }, [
|
|
235
|
+
a.value ? (i(), n(b, {
|
|
236
236
|
key: 0,
|
|
237
237
|
compact: e.compact,
|
|
238
238
|
hideHeading: e.hideHeading,
|
|
@@ -243,9 +243,9 @@ const ie = {
|
|
|
243
243
|
value: ((N = e.value.discriminator) == null ? void 0 : N.propertyName) === e.name ? e.value : a.value,
|
|
244
244
|
discriminatorMapping: y.value,
|
|
245
245
|
discriminatorPropertyName: c.value,
|
|
246
|
-
modelValue:
|
|
246
|
+
modelValue: D.value,
|
|
247
247
|
"onUpdate:modelValue": g
|
|
248
|
-
}, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "name", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"])) :
|
|
248
|
+
}, null, 8, ["compact", "hideHeading", "hideModelNames", "level", "name", "schemas", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"])) : d("", !0)
|
|
249
249
|
], 64))
|
|
250
250
|
];
|
|
251
251
|
}),
|
|
@@ -256,7 +256,7 @@ const ie = {
|
|
|
256
256
|
];
|
|
257
257
|
}),
|
|
258
258
|
_: 1
|
|
259
|
-
}, 8, ["defaultOpen"])) :
|
|
259
|
+
}, 8, ["defaultOpen"])) : d("", !0);
|
|
260
260
|
}
|
|
261
261
|
});
|
|
262
262
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaDiscriminator.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaDiscriminator.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAIpE,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"SchemaDiscriminator.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaDiscriminator.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAIpE,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;AAgIF,wBAQG"}
|
|
@@ -2,7 +2,7 @@ import { defineComponent as p, ref as f, computed as n, createBlock as b, openBl
|
|
|
2
2
|
import { ScalarListbox as V } from "@scalar/components";
|
|
3
3
|
import { ScalarIconCaretDown as D } from "@scalar/icons";
|
|
4
4
|
const S = {
|
|
5
|
-
class: "bg-b-1.5 hover:bg-b-2 flex w-full items-center gap-1 rounded border px-2 py-1.25",
|
|
5
|
+
class: "bg-b-1.5 hover:bg-b-2 mt-2 flex w-full items-center gap-1 rounded border px-2 py-1.25",
|
|
6
6
|
type: "button"
|
|
7
7
|
}, _ = { class: "composition-selector-label text-c-1 relative" }, M = /* @__PURE__ */ p({
|
|
8
8
|
__name: "SchemaDiscriminator",
|
|
@@ -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":"AAwoBA,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;;AAioB1B,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 p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-c0beb023"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|