@scalar/api-reference 1.28.32 → 1.28.34
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 +62 -0
- package/dist/browser/standalone.js +7541 -7368
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/components/Anchor/Anchor.vue.js +2 -2
- package/dist/components/Anchor/Anchor.vue2.js +24 -22
- package/dist/components/ApiReferenceLayout.vue.d.ts +2 -2
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +50 -50
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +5 -5
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts.map +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 +56 -56
- package/dist/components/Content/Introduction/Introduction.vue.js +1 -1
- package/dist/components/Content/Introduction/Introduction.vue2.js +21 -21
- package/dist/components/Content/Lazy/Loading.vue.js +22 -22
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +2 -2
- package/dist/components/Content/Models/Models.vue2.js +17 -17
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModelsAccordion.vue.js +2 -2
- package/dist/components/Content/Models/ModelsAccordion.vue2.js +14 -14
- package/dist/components/Content/Schema/Schema.preview.d.ts +98 -15
- package/dist/components/Content/Schema/Schema.preview.d.ts.map +1 -1
- 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 +2 -1
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +99 -5
- package/dist/components/Content/Schema/SchemaDiscriminator.vue2.js +2 -165
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +27 -26
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +142 -138
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts +1 -1
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +50 -40
- package/dist/components/Content/Tag/OperationsListItem.vue.js +1 -1
- package/dist/components/Content/Tag/OperationsListItem.vue2.js +1 -1
- package/dist/components/Content/Tag/TagAccordion.vue.js +2 -2
- package/dist/components/Content/Tag/TagAccordion.vue2.js +10 -10
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.js +8 -8
- 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 +8 -8
- package/dist/components/GettingStarted.vue.d.ts +2 -2
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.js +2 -2
- package/dist/components/Layouts/ModernLayout.vue2.js +4 -4
- package/dist/components/MobileHeader.vue.js +3 -3
- package/dist/components/Section/CompactSection.vue.js +2 -2
- package/dist/components/Section/CompactSection.vue2.js +4 -4
- package/dist/components/Section/Section.vue.d.ts.map +1 -1
- package/dist/components/Section/Section.vue.js +1 -1
- package/dist/components/Section/SectionHeader.vue.js +2 -2
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue.d.ts +1 -1
- 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 +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.js +1 -1
- package/dist/components/Sidebar/SidebarElement.vue2.js +6 -6
- package/dist/components/SingleApiReference.vue.d.ts.map +1 -1
- package/dist/components/SpecificationExtension/SpecificationExtension.vue.d.ts.map +1 -1
- package/dist/components/SpecificationExtension/SpecificationExtension.vue.js +30 -21
- package/dist/features/ApiClientModal/ApiClientModal.vue.js +3 -3
- package/dist/features/ApiClientModal/index.d.ts +1 -1
- package/dist/features/ApiClientModal/index.d.ts.map +1 -1
- package/dist/features/ApiClientModal/useApiClient.d.ts +170 -90
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.js +33 -28
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.js +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue2.js +17 -17
- 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 +12 -12
- package/dist/features/Operation/Webhooks.vue.d.ts.map +1 -1
- package/dist/features/Operation/Webhooks.vue.js +2 -2
- package/dist/features/Operation/Webhooks.vue2.js +13 -13
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +2 -2
- package/dist/features/Operation/components/ParameterListItem.vue2.js +18 -18
- 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 +38 -32
- package/dist/features/Operation/hooks/useResponses.d.ts +1 -0
- package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -1
- package/dist/features/Operation/hooks/useResponses.js +13 -12
- 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 +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +1 -1
- package/dist/features/Search/SearchButton.vue.js +2 -2
- package/dist/features/Search/SearchButton.vue2.js +1 -1
- package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
- 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 +1 -1
- package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
- package/dist/features/Search/useSearchIndex.js +20 -21
- package/dist/helpers/{isMacOs.d.ts → is-mac-os.d.ts} +1 -1
- package/dist/helpers/is-mac-os.d.ts.map +1 -0
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/parse.js +1 -1
- package/dist/helpers/{scrollToId.d.ts → scroll-to-id.d.ts} +1 -1
- package/dist/helpers/scroll-to-id.d.ts.map +1 -0
- package/dist/helpers/sleep.d.ts +0 -2
- package/dist/helpers/sleep.d.ts.map +1 -1
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/hooks/useNavState.js +28 -28
- package/dist/hooks/useReactiveSpec.js +1 -1
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/hooks/useSidebar.js +45 -49
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -28
- package/dist/legacy/fixtures/index.d.ts +1 -1
- package/dist/legacy/fixtures/index.d.ts.map +1 -1
- package/dist/legacy/helpers/index.d.ts +1 -1
- package/dist/legacy/helpers/index.d.ts.map +1 -1
- package/dist/libs/download.d.ts +9 -0
- package/dist/libs/download.d.ts.map +1 -0
- package/dist/libs/download.js +19 -0
- package/dist/{helpers/getLowestHeadingLevel.d.ts → libs/markdown.d.ts} +5 -1
- package/dist/libs/markdown.d.ts.map +1 -0
- package/dist/libs/markdown.js +18 -0
- package/dist/libs/openapi.d.ts +56 -0
- package/dist/libs/openapi.d.ts.map +1 -0
- package/dist/libs/openapi.js +102 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +1 -45
- package/dist/types.d.ts.map +1 -1
- package/package.json +21 -21
- package/dist/esm.js +0 -34
- package/dist/helpers/createEmptySpecification.d.ts +0 -8
- package/dist/helpers/createEmptySpecification.d.ts.map +0 -1
- package/dist/helpers/createEmptySpecification.js +0 -27
- package/dist/helpers/deepMerge.d.ts +0 -5
- package/dist/helpers/deepMerge.d.ts.map +0 -1
- package/dist/helpers/deepMerge.js +0 -8
- package/dist/helpers/generateParameters.d.ts +0 -6
- package/dist/helpers/generateParameters.d.ts.map +0 -1
- package/dist/helpers/get-request.d.ts +0 -59
- package/dist/helpers/get-request.d.ts.map +0 -1
- package/dist/helpers/getHeadingsFromMarkdown.d.ts +0 -6
- package/dist/helpers/getHeadingsFromMarkdown.d.ts.map +0 -1
- package/dist/helpers/getHeadingsFromMarkdown.js +0 -13
- package/dist/helpers/getLowestHeadingLevel.d.ts.map +0 -1
- package/dist/helpers/getLowestHeadingLevel.js +0 -7
- package/dist/helpers/getModels.d.ts +0 -7
- package/dist/helpers/getModels.d.ts.map +0 -1
- package/dist/helpers/getModels.js +0 -22
- package/dist/helpers/getVariableNames.d.ts +0 -5
- package/dist/helpers/getVariableNames.d.ts.map +0 -1
- package/dist/helpers/hasModels.d.ts +0 -3
- package/dist/helpers/hasModels.d.ts.map +0 -1
- package/dist/helpers/hasModels.js +0 -5
- package/dist/helpers/hasSecuritySchemes.d.ts +0 -3
- package/dist/helpers/hasSecuritySchemes.d.ts.map +0 -1
- package/dist/helpers/hasWebhooks.d.ts +0 -3
- package/dist/helpers/hasWebhooks.d.ts.map +0 -1
- package/dist/helpers/hasWebhooks.js +0 -4
- package/dist/helpers/index.d.ts +0 -17
- package/dist/helpers/index.d.ts.map +0 -1
- package/dist/helpers/isMacOs.d.ts.map +0 -1
- package/dist/helpers/mapFromObject.d.ts +0 -8
- package/dist/helpers/mapFromObject.d.ts.map +0 -1
- package/dist/helpers/mergeAllObjects.d.ts +0 -5
- package/dist/helpers/mergeAllObjects.d.ts.map +0 -1
- package/dist/helpers/scrollToId.d.ts.map +0 -1
- package/dist/helpers/specDownloads.d.ts +0 -7
- package/dist/helpers/specDownloads.d.ts.map +0 -1
- package/dist/helpers/specDownloads.js +0 -19
- package/dist/helpers/specHelpers.d.ts +0 -16
- package/dist/helpers/specHelpers.d.ts.map +0 -1
- package/dist/helpers/specHelpers.js +0 -36
- package/dist/helpers/waitFor.d.ts +0 -5
- package/dist/helpers/waitFor.d.ts.map +0 -1
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/legacy/helpers/encodeStringAsBase64.d.ts +0 -5
- package/dist/legacy/helpers/encodeStringAsBase64.d.ts.map +0 -1
- package/dist/legacy/index.d.ts +0 -5
- package/dist/legacy/index.d.ts.map +0 -1
- package/dist/legacy/types.d.ts +0 -94
- package/dist/legacy/types.d.ts.map +0 -1
- package/dist/libs/operation.d.ts +0 -15
- package/dist/libs/operation.d.ts.map +0 -1
- package/dist/libs/operation.js +0 -16
- package/dist/stores/index.d.ts +0 -2
- package/dist/stores/index.d.ts.map +0 -1
- /package/dist/helpers/{isMacOs.js → is-mac-os.js} +0 -0
- /package/dist/helpers/{scrollToId.js → scroll-to-id.js} +0 -0
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
import { defineComponent as F, computed as
|
|
1
|
+
import { defineComponent as F, computed as m, createElementBlock as i, openBlock as t, Fragment as u, createStaticVNode as G, createElementVNode as A, renderSlot as f, createBlock as a, createCommentVNode as l, unref as r, withCtx as V, 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";
|
|
5
5
|
import { getSlugUid as K } from "@scalar/oas-utils/transforms";
|
|
6
6
|
import { useConfig as P } from "../../hooks/useConfig.js";
|
|
7
|
-
import Q from "
|
|
7
|
+
import { useSidebar as Q } from "../../hooks/useSidebar.js";
|
|
8
|
+
import { getModels as S, hasModels as T } from "../../libs/openapi.js";
|
|
9
|
+
import X from "./Lazy/Loading.vue.js";
|
|
8
10
|
/* empty css */
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { useSidebar as ee } from "../../hooks/useSidebar.js";
|
|
17
|
-
import { getModels as f } from "../../helpers/getModels.js";
|
|
18
|
-
import { hasModels as re } from "../../helpers/hasModels.js";
|
|
11
|
+
import Y from "./Introduction/Introduction.vue.js";
|
|
12
|
+
import Z from "../../features/BaseUrl/BaseUrl.vue.js";
|
|
13
|
+
import _ from "./ClientLibraries/ClientLibraries.vue.js";
|
|
14
|
+
import E from "./Tag/TagList.vue.js";
|
|
15
|
+
import x from "../../features/Operation/Webhooks.vue.js";
|
|
16
|
+
import ee from "./Models/ModelsAccordion.vue.js";
|
|
17
|
+
import re from "./Models/Models.vue.js";
|
|
19
18
|
const se = { class: "narrow-references-container" }, te = {
|
|
20
19
|
key: 0,
|
|
21
|
-
class: "scalar-reference-intro-server scalar-client introduction-card-item
|
|
20
|
+
class: "scalar-reference-intro-server scalar-client introduction-card-item text-sm [--scalar-address-bar-height:0px]"
|
|
22
21
|
}, ae = {
|
|
23
22
|
key: 1,
|
|
24
23
|
class: "scalar-reference-intro-auth scalar-client introduction-card-item"
|
|
25
|
-
},
|
|
24
|
+
}, Ce = /* @__PURE__ */ F({
|
|
26
25
|
__name: "Content",
|
|
27
26
|
props: {
|
|
28
27
|
parsedSpec: {},
|
|
29
28
|
layout: { default: "modern" }
|
|
30
29
|
},
|
|
31
|
-
setup(
|
|
32
|
-
const
|
|
30
|
+
setup(U) {
|
|
31
|
+
const $ = U, p = P(), { hideModels: M } = Q(), { collections: B, securitySchemes: N, servers: y } = R(), {
|
|
33
32
|
activeCollection: W,
|
|
34
33
|
activeEnvVariables: L,
|
|
35
34
|
activeEnvironment: j,
|
|
36
35
|
activeWorkspace: h
|
|
37
|
-
} = D(), s =
|
|
38
|
-
if (
|
|
39
|
-
const e = B[K(
|
|
36
|
+
} = D(), s = m(() => {
|
|
37
|
+
if (p.value.slug) {
|
|
38
|
+
const e = B[K(p.value.slug)];
|
|
40
39
|
if (e)
|
|
41
40
|
return e;
|
|
42
41
|
}
|
|
43
42
|
return W.value;
|
|
44
|
-
}),
|
|
43
|
+
}), c = m(() => {
|
|
45
44
|
if (s.value) {
|
|
46
45
|
if (s.value.selectedServerUid) {
|
|
47
46
|
const e = y[s.value.selectedServerUid];
|
|
@@ -50,54 +49,55 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
50
49
|
}
|
|
51
50
|
return y[s.value.servers[0]];
|
|
52
51
|
}
|
|
53
|
-
}), q =
|
|
54
|
-
() =>
|
|
52
|
+
}), q = m(
|
|
53
|
+
() => $.layout === "classic" ? "after" : "aside"
|
|
55
54
|
);
|
|
56
55
|
return (e, k) => {
|
|
57
56
|
var g, b, C, w;
|
|
58
57
|
return t(), i(u, null, [
|
|
59
|
-
k[0] || (k[0] = G('<div class="section-flare" data-v-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
s.value ? (t(), a(r(
|
|
58
|
+
k[0] || (k[0] = G('<div class="section-flare" data-v-31544942><div class="section-flare-item" data-v-31544942></div><div class="section-flare-item" data-v-31544942></div><div class="section-flare-item" data-v-31544942></div><div class="section-flare-item" data-v-31544942></div><div class="section-flare-item" data-v-31544942></div><div class="section-flare-item" data-v-31544942></div><div class="section-flare-item" data-v-31544942></div><div class="section-flare-item" data-v-31544942></div></div>', 1)),
|
|
59
|
+
A("div", se, [
|
|
60
|
+
f(e.$slots, "start", {}, void 0, !0),
|
|
61
|
+
s.value ? (t(), a(r(X), {
|
|
63
62
|
key: 0,
|
|
64
63
|
collection: s.value,
|
|
65
64
|
layout: e.layout,
|
|
66
65
|
parsedSpec: e.parsedSpec,
|
|
67
|
-
server:
|
|
68
|
-
}, null, 8, ["collection", "layout", "parsedSpec", "server"])) :
|
|
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(
|
|
66
|
+
server: c.value
|
|
67
|
+
}, null, 8, ["collection", "layout", "parsedSpec", "server"])) : l("", !0),
|
|
68
|
+
(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(Y), {
|
|
70
69
|
key: 1,
|
|
71
70
|
info: e.parsedSpec.info,
|
|
72
71
|
parsedSpec: e.parsedSpec
|
|
73
72
|
}, {
|
|
74
|
-
[q.value]:
|
|
73
|
+
[q.value]: V(() => [
|
|
75
74
|
v(r(J), null, {
|
|
76
|
-
default:
|
|
75
|
+
default: V(() => {
|
|
77
76
|
var n, o, d;
|
|
78
77
|
return [
|
|
79
|
-
|
|
78
|
+
A("div", {
|
|
80
79
|
class: I(["introduction-card", { "introduction-card-row": e.layout === "classic" }])
|
|
81
80
|
}, [
|
|
82
81
|
(o = (n = s.value) == null ? void 0 : n.servers) != null && o.length ? (t(), i("div", te, [
|
|
83
|
-
v(r(
|
|
82
|
+
v(r(Z), {
|
|
84
83
|
collection: s.value,
|
|
85
|
-
server:
|
|
84
|
+
server: c.value
|
|
86
85
|
}, null, 8, ["collection", "server"])
|
|
87
|
-
])) :
|
|
86
|
+
])) : l("", !0),
|
|
88
87
|
s.value && r(h) && Object.keys(r(N) ?? {}).length ? (t(), i("div", ae, [
|
|
89
88
|
v(r(H), {
|
|
90
89
|
collection: s.value,
|
|
91
90
|
envVariables: r(L),
|
|
92
91
|
environment: r(j),
|
|
93
92
|
layout: "reference",
|
|
93
|
+
persistAuth: r(p).persistAuth,
|
|
94
94
|
selectedSecuritySchemeUids: ((d = s.value) == null ? void 0 : d.selectedSecuritySchemeUids) ?? [],
|
|
95
|
-
server:
|
|
95
|
+
server: c.value,
|
|
96
96
|
title: "Authentication",
|
|
97
97
|
workspace: r(h)
|
|
98
|
-
}, null, 8, ["collection", "envVariables", "environment", "selectedSecuritySchemeUids", "server", "workspace"])
|
|
99
|
-
])) :
|
|
100
|
-
v(r(
|
|
98
|
+
}, null, 8, ["collection", "envVariables", "environment", "persistAuth", "selectedSecuritySchemeUids", "server", "workspace"])
|
|
99
|
+
])) : l("", !0),
|
|
100
|
+
v(r(_), { class: "introduction-card-item scalar-reference-intro-clients" })
|
|
101
101
|
], 2)
|
|
102
102
|
];
|
|
103
103
|
}),
|
|
@@ -105,47 +105,47 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
105
105
|
})
|
|
106
106
|
]),
|
|
107
107
|
_: 2
|
|
108
|
-
}, 1032, ["info", "parsedSpec"])) :
|
|
108
|
+
}, 1032, ["info", "parsedSpec"])) : f(e.$slots, "empty-state", { key: 2 }, void 0, !0),
|
|
109
109
|
e.parsedSpec.tags && s.value ? (t(), i(u, { key: 3 }, [
|
|
110
|
-
e.parsedSpec["x-tagGroups"] ? (t(!0), i(u, { key: 0 }, O(e.parsedSpec["x-tagGroups"], (n) => (t(), a(r(
|
|
110
|
+
e.parsedSpec["x-tagGroups"] ? (t(!0), i(u, { key: 0 }, O(e.parsedSpec["x-tagGroups"], (n) => (t(), a(r(E), {
|
|
111
111
|
key: n.name,
|
|
112
112
|
collection: s.value,
|
|
113
113
|
layout: e.layout,
|
|
114
|
-
server:
|
|
114
|
+
server: c.value,
|
|
115
115
|
spec: e.parsedSpec,
|
|
116
116
|
tags: n.tags.map((o) => {
|
|
117
117
|
var d;
|
|
118
118
|
return (d = e.parsedSpec.tags) == null ? void 0 : d.find((z) => z.name === o);
|
|
119
119
|
}).filter((o) => !!o)
|
|
120
|
-
}, null, 8, ["collection", "layout", "server", "spec", "tags"]))), 128)) : (t(), a(r(
|
|
120
|
+
}, null, 8, ["collection", "layout", "server", "spec", "tags"]))), 128)) : (t(), a(r(E), {
|
|
121
121
|
key: 1,
|
|
122
122
|
collection: s.value,
|
|
123
123
|
layout: e.layout,
|
|
124
|
-
schemas: r(
|
|
125
|
-
server:
|
|
124
|
+
schemas: r(S)(e.parsedSpec),
|
|
125
|
+
server: c.value,
|
|
126
126
|
spec: e.parsedSpec,
|
|
127
127
|
tags: e.parsedSpec.tags
|
|
128
128
|
}, null, 8, ["collection", "layout", "schemas", "server", "spec", "tags"]))
|
|
129
|
-
], 64)) :
|
|
130
|
-
e.parsedSpec.webhooks ? (t(), a(r(
|
|
129
|
+
], 64)) : l("", !0),
|
|
130
|
+
e.parsedSpec.webhooks ? (t(), a(r(x), {
|
|
131
131
|
key: 4,
|
|
132
132
|
webhooks: e.parsedSpec.webhooks
|
|
133
|
-
}, null, 8, ["webhooks"])) :
|
|
134
|
-
r(
|
|
135
|
-
e.layout === "classic" ? (t(), a(r(
|
|
133
|
+
}, null, 8, ["webhooks"])) : l("", !0),
|
|
134
|
+
r(T)(e.parsedSpec) && !r(M) ? (t(), i(u, { key: 5 }, [
|
|
135
|
+
e.layout === "classic" ? (t(), a(r(ee), {
|
|
136
136
|
key: 0,
|
|
137
|
-
schemas: r(
|
|
138
|
-
}, null, 8, ["schemas"])) : (t(), a(r(
|
|
137
|
+
schemas: r(S)(e.parsedSpec)
|
|
138
|
+
}, null, 8, ["schemas"])) : (t(), a(r(re), {
|
|
139
139
|
key: 1,
|
|
140
|
-
schemas: r(
|
|
140
|
+
schemas: r(S)(e.parsedSpec)
|
|
141
141
|
}, null, 8, ["schemas"]))
|
|
142
|
-
], 64)) :
|
|
143
|
-
|
|
142
|
+
], 64)) : l("", !0),
|
|
143
|
+
f(e.$slots, "end", {}, void 0, !0)
|
|
144
144
|
])
|
|
145
145
|
], 64);
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
149
|
export {
|
|
150
|
-
|
|
150
|
+
Ce as default
|
|
151
151
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Introduction.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-35f3c001"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -2,33 +2,33 @@ import { defineComponent as D, computed as s, onMounted as I, createBlock as l,
|
|
|
2
2
|
import L from "github-slugger";
|
|
3
3
|
import { useConfig as V } from "../../../hooks/useConfig.js";
|
|
4
4
|
import { useNavState as w } from "../../../hooks/useNavState.js";
|
|
5
|
-
import H from "../../../
|
|
6
|
-
import B from "
|
|
7
|
-
import O from "
|
|
8
|
-
import U from "../../Section/
|
|
9
|
-
import
|
|
5
|
+
import { DEFAULT_INTRODUCTION_SLUG as H } from "../../../hooks/useSidebar.js";
|
|
6
|
+
import B from "../../../features/DownloadLink/DownloadLink.vue.js";
|
|
7
|
+
import O from "./Description.vue.js";
|
|
8
|
+
import U from "../../Section/SectionContainer.vue.js";
|
|
9
|
+
import b from "../../Section/Section.vue.js";
|
|
10
10
|
import A from "../../Section/SectionContent.vue.js";
|
|
11
11
|
import C from "../../Badge/Badge.vue.js";
|
|
12
12
|
import E from "../../Section/SectionHeader.vue.js";
|
|
13
13
|
import F from "../../Section/SectionHeaderTag.vue.js";
|
|
14
14
|
import G from "../../Section/SectionColumns.vue.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
15
|
+
import h from "../../Section/SectionColumn.vue.js";
|
|
16
|
+
import k from "../../SpecificationExtension/SpecificationExtension.vue.js";
|
|
17
17
|
const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PURE__ */ D({
|
|
18
18
|
__name: "Introduction",
|
|
19
19
|
props: {
|
|
20
20
|
info: {},
|
|
21
21
|
parsedSpec: {}
|
|
22
22
|
},
|
|
23
|
-
setup(
|
|
24
|
-
const n =
|
|
23
|
+
setup(y) {
|
|
24
|
+
const n = y, { getHeadingId: N } = w(), m = s(
|
|
25
25
|
() => {
|
|
26
26
|
var e, r;
|
|
27
27
|
return ((e = n.parsedSpec) == null ? void 0 : e.openapi) ?? ((r = n.parsedSpec) == null ? void 0 : r.swagger) ?? "";
|
|
28
28
|
}
|
|
29
|
-
),
|
|
29
|
+
), T = new L(), $ = s(() => {
|
|
30
30
|
var e;
|
|
31
|
-
return
|
|
31
|
+
return T.slug(((e = n.info) == null ? void 0 : e.title) ?? "");
|
|
32
32
|
}), p = s(() => {
|
|
33
33
|
var e, r;
|
|
34
34
|
return typeof ((e = n.info) == null ? void 0 : e.version) == "string" ? n.info.version.toString().match(/^\d/) ? `v${n.info.version}` : n.info.version : typeof ((r = n.info) == null ? void 0 : r.version) == "number" ? `v${n.info.version}` : void 0;
|
|
@@ -36,12 +36,12 @@ const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PUR
|
|
|
36
36
|
return I(() => {
|
|
37
37
|
var e, r;
|
|
38
38
|
return (r = (e = c.value).onLoaded) == null ? void 0 : r.call(e);
|
|
39
|
-
}), (e, r) => (a(), l(o(
|
|
39
|
+
}), (e, r) => (a(), l(o(U), null, {
|
|
40
40
|
default: t(() => [
|
|
41
|
-
i(o(
|
|
41
|
+
i(o(b), {
|
|
42
42
|
class: "introduction-section gap-12",
|
|
43
|
-
id: o(
|
|
44
|
-
slug: o(
|
|
43
|
+
id: o(N)({
|
|
44
|
+
slug: o(H),
|
|
45
45
|
depth: 1,
|
|
46
46
|
value: "Introduction"
|
|
47
47
|
})
|
|
@@ -81,18 +81,18 @@ const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PUR
|
|
|
81
81
|
]),
|
|
82
82
|
_: 1
|
|
83
83
|
}, 8, ["loading"]),
|
|
84
|
-
i(
|
|
84
|
+
i(B, { filename: $.value }, null, 8, ["filename"]),
|
|
85
85
|
i(o(G), null, {
|
|
86
86
|
default: t(() => [
|
|
87
|
-
i(o(
|
|
87
|
+
i(o(h), null, {
|
|
88
88
|
default: t(() => [
|
|
89
|
-
i(
|
|
89
|
+
i(O, {
|
|
90
90
|
value: e.info.description
|
|
91
91
|
}, null, 8, ["value"])
|
|
92
92
|
]),
|
|
93
93
|
_: 1
|
|
94
94
|
}),
|
|
95
|
-
e.$slots.aside ? (a(), l(o(
|
|
95
|
+
e.$slots.aside ? (a(), l(o(h), { key: 0 }, {
|
|
96
96
|
default: t(() => [
|
|
97
97
|
_("div", R, [
|
|
98
98
|
S(e.$slots, "aside", {}, void 0, !0)
|
|
@@ -103,8 +103,8 @@ const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PUR
|
|
|
103
103
|
]),
|
|
104
104
|
_: 3
|
|
105
105
|
}),
|
|
106
|
-
i(o(
|
|
107
|
-
i(o(
|
|
106
|
+
i(o(k), { value: e.parsedSpec }, null, 8, ["value"]),
|
|
107
|
+
i(o(k), { value: e.info }, null, 8, ["value"])
|
|
108
108
|
]),
|
|
109
109
|
_: 3
|
|
110
110
|
}, 8, ["loading"]),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as E, ref as v, watch as H, onMounted as K, withDirectives as M, createElementBlock as f, openBlock as l, normalizeClass as j, createBlock as m, createCommentVNode as w, Fragment as g, renderList as T, unref as r, withCtx as d, createVNode as h, createTextVNode as A, toDisplayString as F, vShow as P } from "vue";
|
|
2
2
|
import { lazyBus as q } from "./lazyBus.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
3
|
+
import { scrollToId as O } from "../../../helpers/scroll-to-id.js";
|
|
4
|
+
import { useNavState as G } from "../../../hooks/useNavState.js";
|
|
5
|
+
import { getModels as S } from "../../../libs/openapi.js";
|
|
6
|
+
import J from "../Tag/TagSection.vue.js";
|
|
7
|
+
import Q from "../../../features/Operation/Operation.vue.js";
|
|
8
|
+
import R from "../../Section/SectionContainer.vue.js";
|
|
9
|
+
import U from "../../Section/Section.vue.js";
|
|
10
|
+
import X from "../../Section/SectionContent.vue.js";
|
|
11
|
+
import Y from "../../Section/SectionHeader.vue.js";
|
|
12
|
+
import Z from "../../Anchor/Anchor.vue.js";
|
|
13
|
+
import ee from "../../Section/SectionHeaderTag.vue.js";
|
|
14
|
+
import te from "../Schema/Schema.vue.js";
|
|
15
15
|
const C = v(!1), ge = /* @__PURE__ */ E({
|
|
16
16
|
__name: "Loading",
|
|
17
17
|
props: {
|
|
@@ -21,7 +21,7 @@ const C = v(!1), ge = /* @__PURE__ */ E({
|
|
|
21
21
|
parsedSpec: {}
|
|
22
22
|
},
|
|
23
23
|
setup(V) {
|
|
24
|
-
const i = V, _ = v(!1), y = v([]), I = v([]), { getModelId: z, getSectionId: B, getTagId: N, hash: a, isIntersectionEnabled: b } =
|
|
24
|
+
const i = V, _ = v(!1), y = v([]), I = v([]), { getModelId: z, getSectionId: B, getTagId: N, hash: a, isIntersectionEnabled: b } = G(), L = v(
|
|
25
25
|
!C.value && i.layout !== "classic" && a.value
|
|
26
26
|
);
|
|
27
27
|
H(
|
|
@@ -86,14 +86,14 @@ const C = v(!1), ge = /* @__PURE__ */ E({
|
|
|
86
86
|
(l(!0), f(g, null, T(y.value, (e, u) => (l(), f(g, {
|
|
87
87
|
key: e.name + u
|
|
88
88
|
}, [
|
|
89
|
-
e.operations && e.operations.length > 0 ? (l(), m(r(
|
|
89
|
+
e.operations && e.operations.length > 0 ? (l(), m(r(J), {
|
|
90
90
|
key: 0,
|
|
91
91
|
collection: t.collection,
|
|
92
92
|
spec: t.parsedSpec,
|
|
93
93
|
tag: e
|
|
94
94
|
}, {
|
|
95
95
|
default: d(() => [
|
|
96
|
-
(l(!0), f(g, null, T(e.lazyOperations, (o) => (l(), m(r(
|
|
96
|
+
(l(!0), f(g, null, T(e.lazyOperations, (o) => (l(), m(r(Q), {
|
|
97
97
|
key: `${o.httpVerb}-${o.operationId}`,
|
|
98
98
|
collection: t.collection,
|
|
99
99
|
layout: t.layout,
|
|
@@ -104,26 +104,26 @@ const C = v(!1), ge = /* @__PURE__ */ E({
|
|
|
104
104
|
_: 2
|
|
105
105
|
}, 1032, ["collection", "spec", "tag"])) : w("", !0)
|
|
106
106
|
], 64))), 128)),
|
|
107
|
-
I.value.length ? (l(), m(r(
|
|
107
|
+
I.value.length ? (l(), m(r(R), { key: 0 }, {
|
|
108
108
|
default: d(() => [
|
|
109
|
-
(l(!0), f(g, null, T(I.value, (e) => (l(), m(r(
|
|
109
|
+
(l(!0), f(g, null, T(I.value, (e) => (l(), m(r(U), {
|
|
110
110
|
key: e,
|
|
111
111
|
label: e
|
|
112
112
|
}, {
|
|
113
113
|
default: d(() => {
|
|
114
114
|
var u;
|
|
115
115
|
return [
|
|
116
|
-
(u = r(S)(t.parsedSpec)) != null && u[e] ? (l(), m(r(
|
|
116
|
+
(u = r(S)(t.parsedSpec)) != null && u[e] ? (l(), m(r(X), { key: 0 }, {
|
|
117
117
|
default: d(() => {
|
|
118
118
|
var o;
|
|
119
119
|
return [
|
|
120
|
-
h(r(
|
|
120
|
+
h(r(Y), null, {
|
|
121
121
|
default: d(() => [
|
|
122
|
-
h(r(
|
|
122
|
+
h(r(Z), {
|
|
123
123
|
id: r(z)({ name: e })
|
|
124
124
|
}, {
|
|
125
125
|
default: d(() => [
|
|
126
|
-
h(r(
|
|
126
|
+
h(r(ee), { level: 2 }, {
|
|
127
127
|
default: d(() => {
|
|
128
128
|
var c;
|
|
129
129
|
return [
|
|
@@ -138,7 +138,7 @@ const C = v(!1), ge = /* @__PURE__ */ E({
|
|
|
138
138
|
]),
|
|
139
139
|
_: 2
|
|
140
140
|
}, 1024),
|
|
141
|
-
h(r(
|
|
141
|
+
h(r(te), {
|
|
142
142
|
name: e,
|
|
143
143
|
noncollapsible: "",
|
|
144
144
|
value: (o = r(S)(t.parsedSpec)) == null ? void 0 : o[e]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"AAyHA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAmB9E,KAAK,WAAW,GAAG;IACjB,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;;AAqMF,wBAMG"}
|
|
@@ -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
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ce04f241"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { defineComponent as y, useId as k, computed as u, createBlock as m, createCommentVNode as f, openBlock as r, unref as e, withCtx as l, createVNode as o, createElementVNode as M, createTextVNode as g, normalizeClass as I, createElementBlock as N, Fragment as C, renderList as L } from "vue";
|
|
2
2
|
import { ScalarErrorBoundary as B } from "@scalar/components";
|
|
3
|
-
import H from "
|
|
4
|
-
import w from "
|
|
5
|
-
import E from "../../
|
|
6
|
-
import O from "../../Section/
|
|
3
|
+
import { useNavState as H } from "../../../hooks/useNavState.js";
|
|
4
|
+
import { useSidebar as w } from "../../../hooks/useSidebar.js";
|
|
5
|
+
import E from "../../ShowMoreButton.vue.js";
|
|
6
|
+
import O from "../../Section/SectionContainer.vue.js";
|
|
7
|
+
import V from "../../Section/Section.vue.js";
|
|
8
|
+
import z from "../../Section/SectionHeader.vue.js";
|
|
7
9
|
import p from "../../Section/SectionHeaderTag.vue.js";
|
|
8
10
|
import h from "../Lazy/Lazy.vue2.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { useSidebar as T } from "../../../hooks/useSidebar.js";
|
|
13
|
-
import { useNavState as j } from "../../../hooks/useNavState.js";
|
|
11
|
+
import A from "../../Section/CompactSection.vue.js";
|
|
12
|
+
import T from "../Schema/Schema.vue.js";
|
|
13
|
+
import j from "../Schema/SchemaHeading.vue.js";
|
|
14
14
|
const S = 10, U = /* @__PURE__ */ y({
|
|
15
15
|
__name: "Models",
|
|
16
16
|
props: {
|
|
17
17
|
schemas: {}
|
|
18
18
|
},
|
|
19
19
|
setup(v) {
|
|
20
|
-
const i = v, n = k(), { collapsedSidebarItems: _ } =
|
|
20
|
+
const i = v, n = k(), { collapsedSidebarItems: _ } = w(), { 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 ?? {});
|
|
24
24
|
return d.value ? t : t.slice(0, S);
|
|
25
25
|
});
|
|
26
|
-
return (t, c) => t.schemas ? (r(), m(e(
|
|
26
|
+
return (t, c) => t.schemas ? (r(), m(e(O), {
|
|
27
27
|
key: 0,
|
|
28
28
|
id: "models"
|
|
29
29
|
}, {
|
|
30
30
|
default: l(() => [
|
|
31
|
-
o(e(
|
|
31
|
+
o(e(V), { "aria-labelledby": e(n) }, {
|
|
32
32
|
default: l(() => [
|
|
33
|
-
o(e(
|
|
33
|
+
o(e(z), null, {
|
|
34
34
|
default: l(() => [
|
|
35
35
|
o(e(p), {
|
|
36
36
|
id: e(n),
|
|
@@ -57,7 +57,7 @@ const S = 10, U = /* @__PURE__ */ y({
|
|
|
57
57
|
isLazy: ""
|
|
58
58
|
}, {
|
|
59
59
|
default: l(() => [
|
|
60
|
-
o(e(
|
|
60
|
+
o(e(A), {
|
|
61
61
|
id: e(a)({ name: s }),
|
|
62
62
|
class: "models-list-item",
|
|
63
63
|
label: s
|
|
@@ -65,7 +65,7 @@ const S = 10, U = /* @__PURE__ */ y({
|
|
|
65
65
|
heading: l(() => [
|
|
66
66
|
o(e(p), { level: 3 }, {
|
|
67
67
|
default: l(() => [
|
|
68
|
-
o(e(
|
|
68
|
+
o(e(j), {
|
|
69
69
|
name: t.schemas[s].title ?? s,
|
|
70
70
|
value: t.schemas[s]
|
|
71
71
|
}, null, 8, ["name", "value"])
|
|
@@ -76,7 +76,7 @@ const S = 10, U = /* @__PURE__ */ y({
|
|
|
76
76
|
default: l(() => [
|
|
77
77
|
o(e(B), null, {
|
|
78
78
|
default: l(() => [
|
|
79
|
-
o(e(
|
|
79
|
+
o(e(T), {
|
|
80
80
|
hideHeading: !0,
|
|
81
81
|
noncollapsible: "",
|
|
82
82
|
schemas: t.schemas,
|
|
@@ -92,7 +92,7 @@ const S = 10, U = /* @__PURE__ */ y({
|
|
|
92
92
|
_: 2
|
|
93
93
|
}, 1032, ["id"]))), 128))
|
|
94
94
|
], 2),
|
|
95
|
-
d.value ? f("", !0) : (r(), m(
|
|
95
|
+
d.value ? f("", !0) : (r(), m(E, {
|
|
96
96
|
key: 0,
|
|
97
97
|
id: e(a)(),
|
|
98
98
|
class: "show-more-models"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAsGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAgB9E,KAAK,WAAW,GAAG;IACjB,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;;AAqKF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ModelsAccordion.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ecb64ed7"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as x, computed as A, createBlock as c, createCommentVNode as C, openBlock as t, unref as e, withCtx as o, createElementBlock as u, Fragment as v, renderList as k, createVNode as n, createTextVNode as N } from "vue";
|
|
2
|
-
import y from "
|
|
3
|
-
import B from "../../Section/
|
|
2
|
+
import { useNavState as y } from "../../../hooks/useNavState.js";
|
|
3
|
+
import B from "../../Section/SectionContainerAccordion.vue.js";
|
|
4
|
+
import H from "../../Section/SectionAccordion.vue.js";
|
|
4
5
|
import S from "../Schema/SchemaProperty.vue.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { useNavState as O } from "../../../hooks/useNavState.js";
|
|
6
|
+
import M from "../../Anchor/Anchor.vue.js";
|
|
7
|
+
import V from "../../Section/SectionHeaderTag.vue.js";
|
|
8
|
+
import j from "../Schema/SchemaHeading.vue.js";
|
|
9
|
+
import O from "../../Section/SectionHeader.vue.js";
|
|
10
10
|
const T = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "properties"
|
|
@@ -19,13 +19,13 @@ const T = {
|
|
|
19
19
|
const s = b, g = A(() => s.schemas ? Object.entries(s.schemas).map(([m, i]) => ({
|
|
20
20
|
name: m,
|
|
21
21
|
schema: i
|
|
22
|
-
})) : []), { getModelId: a } =
|
|
23
|
-
return (m, i) => s.schemas ? (t(), c(e(
|
|
22
|
+
})) : []), { getModelId: a } = y();
|
|
23
|
+
return (m, i) => s.schemas ? (t(), c(e(B), {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "reference-models"
|
|
26
26
|
}, {
|
|
27
27
|
title: o(() => [
|
|
28
|
-
n(e(
|
|
28
|
+
n(e(O), { level: 2 }, {
|
|
29
29
|
default: o(() => i[0] || (i[0] = [
|
|
30
30
|
N("Models")
|
|
31
31
|
])),
|
|
@@ -33,20 +33,20 @@ const T = {
|
|
|
33
33
|
})
|
|
34
34
|
]),
|
|
35
35
|
default: o(() => [
|
|
36
|
-
(t(!0), u(v, null, k(g.value, ({ name: l, schema: r }) => (t(), c(e(
|
|
36
|
+
(t(!0), u(v, null, k(g.value, ({ name: l, schema: r }) => (t(), c(e(H), {
|
|
37
37
|
id: e(a)({ name: l }),
|
|
38
38
|
key: l,
|
|
39
39
|
label: l
|
|
40
40
|
}, {
|
|
41
41
|
title: o(() => [
|
|
42
|
-
n(e(
|
|
42
|
+
n(e(M), {
|
|
43
43
|
id: e(a)({ name: l }),
|
|
44
44
|
class: "reference-models-anchor"
|
|
45
45
|
}, {
|
|
46
46
|
default: o(() => [
|
|
47
|
-
n(e(
|
|
47
|
+
n(e(V), { level: 3 }, {
|
|
48
48
|
default: o(() => [
|
|
49
|
-
n(e(
|
|
49
|
+
n(e(j), {
|
|
50
50
|
class: "reference-models-label",
|
|
51
51
|
name: r.title ?? l,
|
|
52
52
|
value: r
|