@scalar/api-reference 1.25.9 → 1.25.10
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 +23 -0
- package/dist/browser/standalone.js +12096 -12067
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +43 -42
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +51 -48
- 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 +46 -48
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
- package/dist/components/Content/Operation/OperationAccordion.vue2.js +53 -49
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +1 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.js +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue2.js +30 -22
- package/dist/components/Content/Schema/Schema.vue.js +2 -2
- package/dist/components/Content/Tag/Endpoints.vue.d.ts +2 -0
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
- package/dist/components/Content/Tag/Endpoints.vue2.js +31 -29
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Tag.vue.js +3 -3
- package/dist/components/Content/Tag/Tag.vue2.js +15 -14
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhooks.vue.js +2 -2
- package/dist/components/Content/Webhooks/Webhooks.vue2.js +43 -45
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +3 -3
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.js +18 -17
- 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 +31 -28
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.js +2 -2
- package/dist/helpers/provideSymbols.d.ts +1 -0
- package/dist/helpers/provideSymbols.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.js +4 -3
- package/dist/index.js +59 -58
- package/dist/style.css +1 -1
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue"],"names":[],"mappings":"AAmIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AA4F9C,iBAAS,cAAc;oBAkFM,GAAG;oBACH,GAAG;EAqB/B;AACD,QAAA,MAAM,eAAe;sCAmHoB,IAAI;;;UA5G3C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAExG,eAAO,MAAM,sBAAsB,IAAK,CAAC;AACzC,OAAO,QAAQ,KAAK,CAAC;IACpB,UAAU,gBAAgB;KAAG;CAC7B;AACD,OAAO,CAAC,MAAM,CAAC;IACd,KAAK,uBAAuB,GAAG,OAAO,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,CAAC;IAC/E,KAAK,aAAa,GAAG,OAAO,iBAAiB,EAAE,G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ThemeVariables as
|
|
3
|
-
import { useSeoMeta as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
|
|
1
|
+
import { defineComponent as $, watch as u, computed as c, toRef as v, openBlock as C, createElementBlock as b, Fragment as A, createBlock as B, resolveDynamicComponent as E, withCtx as f, createTextVNode as H, toDisplayString as N, createCommentVNode as R, createVNode as V, unref as a, renderSlot as S } from "vue";
|
|
2
|
+
import { migrateThemeVariables as _ } from "@scalar/themes";
|
|
3
|
+
import { useSeoMeta as F } from "@unhead/vue";
|
|
4
|
+
import { useFavicon as U } from "@vueuse/core";
|
|
5
|
+
import { useDarkModeState as j } from "../hooks/useDarkModeState.js";
|
|
6
|
+
import { useReactiveSpec as q } from "../hooks/useReactiveSpec.js";
|
|
7
|
+
import z from "./Layouts/Layouts.vue.js";
|
|
8
|
+
import { useHttpClientStore as G } from "../stores/useHttpClientStore.js";
|
|
9
|
+
import { useAuthenticationStore as I } from "../legacy/stores/useAuthenticationStore.js";
|
|
10
|
+
const Z = /* @__PURE__ */ $({
|
|
10
11
|
__name: "ApiReference",
|
|
11
12
|
props: {
|
|
12
13
|
configuration: {}
|
|
13
14
|
},
|
|
14
15
|
emits: ["updateContent"],
|
|
15
16
|
setup(k) {
|
|
16
|
-
var
|
|
17
|
-
const r = k, { toggleDarkMode: p, isDark:
|
|
18
|
-
(
|
|
19
|
-
(
|
|
17
|
+
var l, d, g;
|
|
18
|
+
const r = k, { toggleDarkMode: p, isDark: m } = j(
|
|
19
|
+
(l = r.configuration) == null ? void 0 : l.darkMode,
|
|
20
|
+
(d = r.configuration) == null ? void 0 : d.forceDarkModeState
|
|
20
21
|
);
|
|
21
22
|
u(
|
|
22
23
|
() => {
|
|
@@ -24,16 +25,16 @@ const W = /* @__PURE__ */ T({
|
|
|
24
25
|
return (e = r.configuration) == null ? void 0 : e.darkMode;
|
|
25
26
|
},
|
|
26
27
|
(e) => {
|
|
27
|
-
e !==
|
|
28
|
+
e !== m.value && p();
|
|
28
29
|
}
|
|
29
30
|
);
|
|
30
|
-
const i =
|
|
31
|
-
var e,
|
|
31
|
+
const i = c(() => {
|
|
32
|
+
var e, o;
|
|
32
33
|
if ((e = r.configuration) != null && e.customCss)
|
|
33
|
-
return
|
|
34
|
+
return _((o = r.configuration) == null ? void 0 : o.customCss);
|
|
34
35
|
});
|
|
35
36
|
u(i, () => console.log(i.value));
|
|
36
|
-
const
|
|
37
|
+
const t = c(() => {
|
|
37
38
|
var e;
|
|
38
39
|
return {
|
|
39
40
|
spec: {
|
|
@@ -49,48 +50,48 @@ const W = /* @__PURE__ */ T({
|
|
|
49
50
|
customCss: i.value
|
|
50
51
|
};
|
|
51
52
|
});
|
|
52
|
-
(
|
|
53
|
-
function s(e,
|
|
53
|
+
(g = t.value) != null && g.metaData && F(t.value.metaData);
|
|
54
|
+
function s(e, o) {
|
|
54
55
|
u(
|
|
55
56
|
() => {
|
|
56
57
|
var n;
|
|
57
|
-
return (n =
|
|
58
|
+
return (n = t.value) == null ? void 0 : n[e];
|
|
58
59
|
},
|
|
59
60
|
(n) => {
|
|
60
|
-
typeof n < "u" &&
|
|
61
|
+
typeof n < "u" && o(n);
|
|
61
62
|
},
|
|
62
63
|
{ immediate: !0 }
|
|
63
64
|
);
|
|
64
65
|
}
|
|
65
|
-
const { setAuthentication: D } =
|
|
66
|
+
const { setAuthentication: D } = I();
|
|
66
67
|
s("authentication", D);
|
|
67
|
-
const { setExcludedClients: y, setDefaultHttpClient: M } =
|
|
68
|
+
const { setExcludedClients: y, setDefaultHttpClient: M } = G();
|
|
68
69
|
s("defaultHttpClient", M), s("hiddenClients", y);
|
|
69
|
-
const { parsedSpec: h, rawSpec: w } =
|
|
70
|
-
proxy:
|
|
71
|
-
specConfig:
|
|
72
|
-
});
|
|
73
|
-
return (e,
|
|
70
|
+
const { parsedSpec: h, rawSpec: w } = q({
|
|
71
|
+
proxy: v(() => t.value.proxy || ""),
|
|
72
|
+
specConfig: v(() => t.value.spec || {})
|
|
73
|
+
}), x = c(() => t.value.favicon);
|
|
74
|
+
return U(x), (e, o) => {
|
|
74
75
|
var n;
|
|
75
|
-
return
|
|
76
|
-
(n =
|
|
77
|
-
default:
|
|
78
|
-
|
|
76
|
+
return C(), b(A, null, [
|
|
77
|
+
(n = t.value) != null && n.customCss ? (C(), B(E("style"), { key: 0 }, {
|
|
78
|
+
default: f(() => [
|
|
79
|
+
H(N(t.value.customCss), 1)
|
|
79
80
|
]),
|
|
80
81
|
_: 1
|
|
81
|
-
})) :
|
|
82
|
-
|
|
83
|
-
configuration:
|
|
84
|
-
isDark: a(
|
|
82
|
+
})) : R("", !0),
|
|
83
|
+
V(a(z), {
|
|
84
|
+
configuration: t.value,
|
|
85
|
+
isDark: a(m),
|
|
85
86
|
parsedSpec: a(h),
|
|
86
87
|
rawSpec: a(w),
|
|
87
|
-
onToggleDarkMode:
|
|
88
|
-
onUpdateContent:
|
|
88
|
+
onToggleDarkMode: o[0] || (o[0] = () => a(p)()),
|
|
89
|
+
onUpdateContent: o[1] || (o[1] = (T) => e.$emit("updateContent", T))
|
|
89
90
|
}, {
|
|
90
|
-
footer:
|
|
91
|
+
footer: f(() => [
|
|
91
92
|
S(e.$slots, "footer")
|
|
92
93
|
]),
|
|
93
|
-
"content-end":
|
|
94
|
+
"content-end": f(() => [
|
|
94
95
|
S(e.$slots, "footer")
|
|
95
96
|
]),
|
|
96
97
|
_: 3
|
|
@@ -100,5 +101,5 @@ const W = /* @__PURE__ */ T({
|
|
|
100
101
|
}
|
|
101
102
|
});
|
|
102
103
|
export {
|
|
103
|
-
|
|
104
|
+
Z as default
|
|
104
105
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/Ap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AAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -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
|
|
5
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e51c277b"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
a as default
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Z, ref as w, onMounted as D, computed as v, onBeforeMount as M, watch as x, onServerPrefetch as ee, useSSRContext as oe, getCurrentInstance as te, provide as S, openBlock as h, createElementBlock as b, Fragment as k, createElementVNode as i, normalizeClass as re, unref as u, normalizeStyle as ae, renderSlot as l, normalizeProps as d, guardReactiveProps as c, createVNode as f, withCtx as g, createCommentVNode as y, withDirectives as se, vShow as ne, createSlots as ie } from "vue";
|
|
2
2
|
import { provideUseId as le } from "@headlessui/vue";
|
|
3
3
|
import { addScalarClassesToHeadless as de } from "@scalar/components";
|
|
4
|
-
import { defaultStateFactory as
|
|
4
|
+
import { defaultStateFactory as P } from "@scalar/oas-utils/helpers";
|
|
5
5
|
import { hasObtrusiveScrollbars as ce, getThemeStyles as ue } from "@scalar/themes";
|
|
6
6
|
import { useToasts as pe, ScalarToasts as fe } from "@scalar/use-toasts";
|
|
7
7
|
import { useMediaQuery as ge, useResizeObserver as me, useDebounceFn as ve } from "@vueuse/core";
|
|
@@ -13,16 +13,16 @@ import { useDeprecationWarnings as ye } from "../hooks/useDeprecationWarnings.js
|
|
|
13
13
|
import Te from "./Sidebar/Sidebar.vue.js";
|
|
14
14
|
import Re from "./Content/Content.vue.js";
|
|
15
15
|
import { useSidebar as Ce } from "../hooks/useSidebar.js";
|
|
16
|
-
import { GLOBAL_SECURITY_SYMBOL as $e, HIDE_DOWNLOAD_BUTTON_SYMBOL as Oe, OPENAPI_DOCUMENT_URL_SYMBOL as Le } from "../helpers/provideSymbols.js";
|
|
17
|
-
import { useNavState as
|
|
16
|
+
import { GLOBAL_SECURITY_SYMBOL as $e, HIDE_DOWNLOAD_BUTTON_SYMBOL as Ee, HIDE_TEST_REQUEST_BUTTON_SYMBOL as Oe, OPENAPI_DOCUMENT_URL_SYMBOL as Le } from "../helpers/provideSymbols.js";
|
|
17
|
+
import { useNavState as Be } from "../hooks/useNavState.js";
|
|
18
18
|
import { sleep as Ie } from "../helpers/sleep.js";
|
|
19
|
-
const
|
|
19
|
+
const Ue = ["innerHTML"], De = { class: "references-header" }, Me = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "references-navigation t-doc__sidebar"
|
|
22
|
-
},
|
|
22
|
+
}, ke = { class: "references-navigation-list" }, Pe = { class: "references-editor" }, Fe = { class: "references-editor-textarea" }, Ae = { class: "references-rendered" }, Ne = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "references-footer"
|
|
25
|
-
},
|
|
25
|
+
}, ro = /* @__PURE__ */ Z({
|
|
26
26
|
inheritAttrs: !1,
|
|
27
27
|
__name: "ApiReferenceLayout",
|
|
28
28
|
props: {
|
|
@@ -34,50 +34,50 @@ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
|
|
|
34
34
|
setup(F) {
|
|
35
35
|
const t = F, { initializeToasts: A, toast: N } = pe();
|
|
36
36
|
A((e) => N(e));
|
|
37
|
-
const H = ge("(min-width: 1150px)"),
|
|
37
|
+
const H = ge("(min-width: 1150px)"), Y = w("100dvh"), p = w(null);
|
|
38
38
|
me(p, (e) => {
|
|
39
|
-
|
|
39
|
+
Y.value = e[0].contentRect.height + "px";
|
|
40
40
|
});
|
|
41
|
-
const T =
|
|
41
|
+
const T = w(0);
|
|
42
42
|
D(() => {
|
|
43
43
|
var a, r, s;
|
|
44
44
|
const e = (r = (a = p.value) == null ? void 0 : a.parentElement) == null ? void 0 : r.getBoundingClientRect(), o = (s = p.value) == null ? void 0 : s.getBoundingClientRect();
|
|
45
45
|
if (e && o) {
|
|
46
|
-
const
|
|
47
|
-
T.value =
|
|
46
|
+
const U = o.top - e.top;
|
|
47
|
+
T.value = U < 2 ? 0 : U;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
|
-
const
|
|
50
|
+
const z = v(ce), {
|
|
51
51
|
breadcrumb: V,
|
|
52
52
|
collapsedSidebarItems: m,
|
|
53
53
|
isSidebarOpen: G,
|
|
54
54
|
setCollapsedSidebarItem: R,
|
|
55
|
-
hideModels:
|
|
56
|
-
defaultOpenAllTags:
|
|
57
|
-
setParsedSpec:
|
|
58
|
-
scrollToOperation:
|
|
55
|
+
hideModels: Q,
|
|
56
|
+
defaultOpenAllTags: W,
|
|
57
|
+
setParsedSpec: _,
|
|
58
|
+
scrollToOperation: j
|
|
59
59
|
} = Ce(), {
|
|
60
60
|
getPathRoutingId: C,
|
|
61
61
|
getSectionId: q,
|
|
62
|
-
getTagId:
|
|
62
|
+
getTagId: K,
|
|
63
63
|
hash: $,
|
|
64
|
-
isIntersectionEnabled:
|
|
65
|
-
pathRouting:
|
|
66
|
-
updateHash:
|
|
67
|
-
} =
|
|
68
|
-
|
|
69
|
-
const
|
|
64
|
+
isIntersectionEnabled: E,
|
|
65
|
+
pathRouting: O,
|
|
66
|
+
updateHash: L
|
|
67
|
+
} = Be();
|
|
68
|
+
O.value = t.configuration.pathRouting, M(() => L());
|
|
69
|
+
const B = async (e) => {
|
|
70
70
|
var o;
|
|
71
|
-
|
|
71
|
+
E.value = !1, L(), e ? j(e) : (o = p.value) == null || o.scrollTo(0, 0), await Ie(100), E.value = !0;
|
|
72
72
|
};
|
|
73
73
|
M(() => de()), D(() => {
|
|
74
74
|
be.on(({ specTitle: e }) => {
|
|
75
75
|
we(t.rawSpec, e);
|
|
76
|
-
}), window.onhashchange = () =>
|
|
76
|
+
}), window.onhashchange = () => B(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => O.value && B(C(window.location.pathname));
|
|
77
77
|
});
|
|
78
|
-
const
|
|
78
|
+
const J = v(
|
|
79
79
|
() => H.value || !t.configuration.isEditable
|
|
80
|
-
),
|
|
80
|
+
), I = ve((e) => {
|
|
81
81
|
if ((e.target.scrollTop ?? 0) < 50) {
|
|
82
82
|
const a = t.configuration.pathRouting ? t.configuration.pathRouting.basePath : window.location.pathname;
|
|
83
83
|
window.history.replaceState({}, "", a + window.location.search), $.value = "";
|
|
@@ -86,10 +86,10 @@ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
|
|
|
86
86
|
breadcrumb: V.value,
|
|
87
87
|
spec: t.parsedSpec
|
|
88
88
|
}));
|
|
89
|
-
x(() => t.parsedSpec,
|
|
89
|
+
x(() => t.parsedSpec, _, { deep: !0 }), ee(() => {
|
|
90
90
|
var o, a;
|
|
91
91
|
const e = oe();
|
|
92
|
-
if (e && (e.payload || (e.payload = { data:
|
|
92
|
+
if (e && (e.payload || (e.payload = { data: P() }), (o = e.payload).data || (o.data = P()), t.configuration.pathRouting)) {
|
|
93
93
|
const r = C(e.url);
|
|
94
94
|
$.value = r, e.payload.data.hash = r;
|
|
95
95
|
for (const s in m)
|
|
@@ -98,7 +98,7 @@ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
|
|
|
98
98
|
R(q(r), !0);
|
|
99
99
|
else {
|
|
100
100
|
const s = (a = t.parsedSpec.tags) == null ? void 0 : a[0];
|
|
101
|
-
s && R(
|
|
101
|
+
s && R(K(s), !0);
|
|
102
102
|
}
|
|
103
103
|
e.payload.data["useSidebarContent-collapsedSidebarItems"] = m;
|
|
104
104
|
}
|
|
@@ -108,14 +108,17 @@ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
|
|
|
108
108
|
if (!e) return o;
|
|
109
109
|
let a = e.uid;
|
|
110
110
|
return typeof window > "u" ? (e.attrs || (e.attrs = {}), e.attrs[o] = a) : (r = e.vnode.el) != null && r.getAttribute && (a = e.vnode.el.getAttribute(o)), `${o}-${a}`;
|
|
111
|
-
}),
|
|
112
|
-
|
|
111
|
+
}), S($e, () => t.parsedSpec.security), S(
|
|
112
|
+
Ee,
|
|
113
113
|
() => t.configuration.hideDownloadButton
|
|
114
|
-
),
|
|
114
|
+
), S(
|
|
115
|
+
Oe,
|
|
116
|
+
() => t.configuration.hideTestRequestButton
|
|
117
|
+
), S(Le, () => {
|
|
115
118
|
var e;
|
|
116
119
|
return (e = t.configuration.spec) == null ? void 0 : e.url;
|
|
117
|
-
}),
|
|
118
|
-
const
|
|
120
|
+
}), Q.value = t.configuration.hideModels ?? !1, W.value = t.configuration.defaultOpenAllTags ?? !1, ye(t.configuration);
|
|
121
|
+
const X = v(
|
|
119
122
|
() => `<style>
|
|
120
123
|
${ue(t.configuration.theme, {
|
|
121
124
|
fonts: t.configuration.withDefaultFonts
|
|
@@ -123,14 +126,14 @@ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
|
|
|
123
126
|
);
|
|
124
127
|
return (e, o) => {
|
|
125
128
|
var a;
|
|
126
|
-
return
|
|
127
|
-
i("div", { innerHTML:
|
|
129
|
+
return h(), b(k, null, [
|
|
130
|
+
i("div", { innerHTML: X.value }, null, 8, Ue),
|
|
128
131
|
i("div", {
|
|
129
132
|
ref_key: "documentEl",
|
|
130
133
|
ref: p,
|
|
131
134
|
class: re(["scalar-app scalar-api-reference references-layout", [
|
|
132
135
|
{
|
|
133
|
-
"scalar-scrollbars-obtrusive":
|
|
136
|
+
"scalar-scrollbars-obtrusive": z.value,
|
|
134
137
|
"references-editable": e.configuration.isEditable,
|
|
135
138
|
"references-sidebar": e.configuration.showSidebar,
|
|
136
139
|
"references-sidebar-mobile-open": u(G),
|
|
@@ -142,13 +145,13 @@ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
|
|
|
142
145
|
"--scalar-y-offset": `var(--scalar-custom-header-height, ${T.value}px)`
|
|
143
146
|
}),
|
|
144
147
|
onScrollPassive: o[4] || (o[4] = //@ts-ignore
|
|
145
|
-
(...r) => u(
|
|
148
|
+
(...r) => u(I) && u(I)(...r))
|
|
146
149
|
}, [
|
|
147
|
-
i("div",
|
|
150
|
+
i("div", De, [
|
|
148
151
|
l(e.$slots, "header", d(c(n.value)), void 0, !0)
|
|
149
152
|
]),
|
|
150
|
-
e.configuration.showSidebar ? (
|
|
151
|
-
i("div",
|
|
153
|
+
e.configuration.showSidebar ? (h(), b("aside", Me, [
|
|
154
|
+
i("div", ke, [
|
|
152
155
|
f(u(Te), {
|
|
153
156
|
parsedSpec: e.parsedSpec,
|
|
154
157
|
tagsSorter: e.configuration.tagsSorter
|
|
@@ -164,14 +167,14 @@ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
|
|
|
164
167
|
])
|
|
165
168
|
])) : y("", !0),
|
|
166
169
|
se(i("div", Pe, [
|
|
167
|
-
i("div",
|
|
170
|
+
i("div", Fe, [
|
|
168
171
|
l(e.$slots, "editor", d(c(n.value)), void 0, !0)
|
|
169
172
|
])
|
|
170
173
|
], 512), [
|
|
171
174
|
[ne, e.configuration.isEditable]
|
|
172
175
|
]),
|
|
173
|
-
|
|
174
|
-
i("div",
|
|
176
|
+
J.value ? (h(), b(k, { key: 1 }, [
|
|
177
|
+
i("div", Ae, [
|
|
175
178
|
f(u(Re), {
|
|
176
179
|
baseServerURL: e.configuration.baseServerURL,
|
|
177
180
|
layout: e.configuration.layout === "classic" ? "accordion" : "default",
|
|
@@ -205,7 +208,7 @@ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
|
|
|
205
208
|
} : void 0
|
|
206
209
|
]), 1032, ["baseServerURL", "layout", "parsedSpec", "proxy", "servers"])
|
|
207
210
|
]),
|
|
208
|
-
e.$slots.footer ? (
|
|
211
|
+
e.$slots.footer ? (h(), b("div", Ne, [
|
|
209
212
|
l(e.$slots, "footer", d(c(n.value)), void 0, !0)
|
|
210
213
|
])) : y("", !0)
|
|
211
214
|
], 64)) : y("", !0),
|
|
@@ -221,5 +224,5 @@ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
|
|
|
221
224
|
}
|
|
222
225
|
});
|
|
223
226
|
export {
|
|
224
|
-
|
|
227
|
+
ro as default
|
|
225
228
|
};
|
|
@@ -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":"AAoGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;cAkBxE,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;cAHP,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;AAoNb,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -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 e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cff15ceb"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,70 +1,68 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { useSidebar as
|
|
11
|
-
import { useNavState as
|
|
12
|
-
const
|
|
1
|
+
import { defineComponent as S, computed as c, openBlock as a, createBlock as i, unref as e, withCtx as l, createVNode as s, createTextVNode as v, createElementVNode as k, normalizeClass as M, createElementBlock as b, Fragment as y, renderList as N, createCommentVNode as n } from "vue";
|
|
2
|
+
import g from "../../ShowMoreButton.vue.js";
|
|
3
|
+
import C from "../../Section/SectionContainer.vue.js";
|
|
4
|
+
import L from "../../Section/Section.vue.js";
|
|
5
|
+
import I from "../../Section/SectionHeader.vue.js";
|
|
6
|
+
import u from "../Lazy/Lazy.vue.js";
|
|
7
|
+
import w from "../../Section/CompactSection.vue.js";
|
|
8
|
+
import B from "../Schema/SchemaHeading.vue.js";
|
|
9
|
+
import H from "../Schema/Schema.vue.js";
|
|
10
|
+
import { useSidebar as O } from "../../../hooks/useSidebar.js";
|
|
11
|
+
import { useNavState as V } from "../../../hooks/useNavState.js";
|
|
12
|
+
const f = 10, q = /* @__PURE__ */ S({
|
|
13
13
|
__name: "Models",
|
|
14
14
|
props: {
|
|
15
15
|
schemas: {}
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
() => Object.keys(
|
|
20
|
-
),
|
|
21
|
-
const
|
|
22
|
-
return
|
|
17
|
+
setup(p) {
|
|
18
|
+
const d = p, { collapsedSidebarItems: h } = O(), { getModelId: r } = V(), m = c(
|
|
19
|
+
() => Object.keys(d.schemas ?? {}).length <= f || h[r()]
|
|
20
|
+
), _ = c(() => {
|
|
21
|
+
const t = Object.keys(d.schemas ?? {});
|
|
22
|
+
return m.value ? t : t.slice(0, f);
|
|
23
23
|
});
|
|
24
|
-
return (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
return (t, z) => t.schemas ? (a(), i(e(C), {
|
|
25
|
+
key: 0,
|
|
26
|
+
id: "models"
|
|
27
|
+
}, {
|
|
28
|
+
default: l(() => [
|
|
29
|
+
s(e(L), null, {
|
|
30
|
+
default: l(() => [
|
|
31
|
+
s(e(I), { level: 2 }, {
|
|
32
|
+
default: l(() => [
|
|
33
|
+
v("Models")
|
|
31
34
|
]),
|
|
32
35
|
_: 1
|
|
33
36
|
}),
|
|
34
|
-
s(e(
|
|
37
|
+
s(e(u), {
|
|
35
38
|
id: "models",
|
|
36
39
|
isLazy: !1
|
|
37
|
-
}, {
|
|
38
|
-
default: t(() => [
|
|
39
|
-
j
|
|
40
|
-
]),
|
|
41
|
-
_: 1
|
|
42
40
|
}),
|
|
43
|
-
|
|
44
|
-
class:
|
|
41
|
+
k("div", {
|
|
42
|
+
class: M(["models-list", { "models-list-truncated": !m.value }])
|
|
45
43
|
}, [
|
|
46
|
-
(
|
|
47
|
-
id: e(
|
|
44
|
+
(a(!0), b(y, null, N(_.value, (o) => (a(), i(e(u), {
|
|
45
|
+
id: e(r)(o),
|
|
48
46
|
key: o,
|
|
49
47
|
isLazy: ""
|
|
50
48
|
}, {
|
|
51
|
-
default:
|
|
52
|
-
s(e(
|
|
53
|
-
id: e(
|
|
49
|
+
default: l(() => [
|
|
50
|
+
s(e(w), {
|
|
51
|
+
id: e(r)(o),
|
|
54
52
|
class: "models-list-item",
|
|
55
53
|
label: o
|
|
56
54
|
}, {
|
|
57
|
-
heading:
|
|
58
|
-
s(e(
|
|
55
|
+
heading: l(() => [
|
|
56
|
+
s(e(B), {
|
|
59
57
|
name: o,
|
|
60
|
-
value:
|
|
58
|
+
value: t.schemas[o]
|
|
61
59
|
}, null, 8, ["name", "value"])
|
|
62
60
|
]),
|
|
63
|
-
default:
|
|
64
|
-
s(e(
|
|
61
|
+
default: l(() => [
|
|
62
|
+
s(e(H), {
|
|
65
63
|
hideHeading: !0,
|
|
66
64
|
noncollapsible: "",
|
|
67
|
-
value:
|
|
65
|
+
value: t.schemas[o]
|
|
68
66
|
}, null, 8, ["value"])
|
|
69
67
|
]),
|
|
70
68
|
_: 2
|
|
@@ -73,9 +71,9 @@ const E = (r) => (N("data-v-fbbe3037"), r = r(), g(), r), j = /* @__PURE__ */ E(
|
|
|
73
71
|
_: 2
|
|
74
72
|
}, 1032, ["id"]))), 128))
|
|
75
73
|
], 2),
|
|
76
|
-
|
|
74
|
+
m.value ? n("", !0) : (a(), i(g, {
|
|
77
75
|
key: 0,
|
|
78
|
-
id: e(
|
|
76
|
+
id: e(r)(),
|
|
79
77
|
class: "show-more-models"
|
|
80
78
|
}, null, 8, ["id"]))
|
|
81
79
|
]),
|
|
@@ -83,9 +81,9 @@ const E = (r) => (N("data-v-fbbe3037"), r = r(), g(), r), j = /* @__PURE__ */ E(
|
|
|
83
81
|
})
|
|
84
82
|
]),
|
|
85
83
|
_: 1
|
|
86
|
-
})) :
|
|
84
|
+
})) : n("", !0);
|
|
87
85
|
}
|
|
88
86
|
});
|
|
89
87
|
export {
|
|
90
|
-
|
|
88
|
+
q as default
|
|
91
89
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/OperationAccordion.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OperationAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/OperationAccordion.vue"],"names":[],"mappings":"AAyNA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;SAiBzD,MAAM;eACA,oBAAoB;;SAD1B,MAAM;eACA,oBAAoB;;AA2QjC,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OperationAccordion.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7f04d704"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|