@scalar/api-reference 1.24.20 → 1.24.23
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 +48 -0
- package/dist/browser/standalone.js +22673 -23143
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiClientModal.vue.js +19 -18
- package/dist/components/ApiClientModal.vue3.js +5 -0
- package/dist/components/ApiReference.vue.js +14 -14
- 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 +123 -155
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.js +2 -2
- package/dist/components/Content/Authentication/Authentication.vue2.js +20 -18
- package/dist/components/Content/Content.vue.d.ts +3 -3
- 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 +72 -93
- package/dist/components/Content/Lazy/Loading.vue.js +1 -1
- package/dist/components/Content/Operation/CustomRequestExamples.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/CustomRequestExamples.vue.js +1 -1
- package/dist/components/Content/Operation/CustomRequestExamples.vue2.js +19 -19
- package/dist/components/Content/Operation/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ExampleRequest.vue.js +2 -2
- package/dist/components/Content/Operation/ExampleRequest.vue2.js +63 -59
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/OperationAccordion.vue.js +1 -1
- package/dist/components/Content/Operation/OperationAccordion.vue2.js +26 -26
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.js +2 -2
- package/dist/components/Content/Operation/TestRequestButton.vue2.js +18 -36
- package/dist/components/Content/Schema/Schema.vue.d.ts +2 -2
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +2 -2
- 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 +23 -23
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +42 -0
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -0
- package/dist/components/HttpMethod/HttpMethod.vue.js +28 -0
- package/dist/components/HttpMethod/HttpMethod.vue2.js +4 -0
- package/dist/components/HttpMethod/constants.d.ts +9 -0
- package/dist/components/HttpMethod/constants.d.ts.map +1 -0
- package/dist/components/HttpMethod/constants.js +36 -0
- package/dist/components/HttpMethod/index.d.ts +2 -0
- package/dist/components/HttpMethod/index.d.ts.map +1 -0
- package/dist/components/HttpMethod/utils/isRequestMethod.d.ts +4 -0
- package/dist/components/HttpMethod/utils/isRequestMethod.d.ts.map +1 -0
- package/dist/components/HttpMethod/utils/isRequestMethod.js +7 -0
- package/dist/components/Sidebar/SidebarHttpBadge.vue.js +1 -1
- package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +6 -6
- package/dist/components/api-client-bus.d.ts +1 -1
- package/dist/components/api-client-bus.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts +40 -0
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -0
- package/dist/features/BaseUrl/BaseUrl.vue.js +97 -0
- package/dist/features/BaseUrl/BaseUrl.vue2.js +4 -0
- package/dist/features/BaseUrl/ServerForm.vue.d.ts +41 -0
- package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -0
- package/dist/features/BaseUrl/ServerForm.vue.js +7 -0
- package/dist/features/BaseUrl/ServerForm.vue2.js +66 -0
- package/dist/{components/Content/BaseUrl/ServerItem.vue.d.ts → features/BaseUrl/ServerUrl.vue.d.ts} +6 -6
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -0
- package/dist/features/BaseUrl/ServerUrl.vue.js +8 -0
- package/dist/features/BaseUrl/ServerUrl.vue2.js +29 -0
- package/dist/{components/ApiClientModalOld.vue.d.ts → features/BaseUrl/ServerUrlSelect.vue.d.ts} +9 -15
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -0
- package/dist/features/BaseUrl/ServerUrlSelect.vue.js +7 -0
- package/dist/features/BaseUrl/ServerUrlSelect.vue2.js +56 -0
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +23 -0
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -0
- package/dist/features/BaseUrl/ServerVariablesForm.vue.js +7 -0
- package/dist/features/BaseUrl/ServerVariablesForm.vue2.js +53 -0
- package/dist/{components/Content/BaseUrl/ServerVariableSelect.vue.d.ts → features/BaseUrl/ServerVariablesSelect.vue.d.ts} +1 -1
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -0
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.js +7 -0
- package/dist/{components/Content/BaseUrl/ServerVariableSelect.vue2.js → features/BaseUrl/ServerVariablesSelect.vue2.js} +1 -1
- package/dist/{components/Content/BaseUrl/ServerVariableTextbox.vue.d.ts → features/BaseUrl/ServerVariablesTextbox.vue.d.ts} +1 -1
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -0
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.js +7 -0
- package/dist/{components/Content/BaseUrl/ServerVariableTextbox.vue2.js → features/BaseUrl/ServerVariablesTextbox.vue2.js} +6 -6
- package/dist/features/BaseUrl/index.d.ts +3 -0
- package/dist/features/BaseUrl/index.d.ts.map +1 -0
- package/dist/features/BaseUrl/types.d.ts +10 -0
- package/dist/features/BaseUrl/types.d.ts.map +1 -0
- package/dist/features/BaseUrl/utils/getServers.d.ts +15 -0
- package/dist/features/BaseUrl/utils/getServers.d.ts.map +1 -0
- package/dist/features/BaseUrl/utils/getServers.js +29 -0
- package/dist/features/BaseUrl/utils/index.d.ts +2 -0
- package/dist/features/BaseUrl/utils/index.d.ts.map +1 -0
- package/dist/helpers/createEmptySpecification.d.ts +1 -1
- package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
- package/dist/helpers/createEmptySpecification.js +5 -4
- package/dist/helpers/getApiClientRequest.d.ts +1 -1
- package/dist/helpers/getApiClientRequest.d.ts.map +1 -1
- package/dist/helpers/getApiClientRequest.js +12 -11
- package/dist/helpers/getModels.d.ts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/openClientFor.js +10 -7
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/parse.js +33 -31
- package/dist/hooks/useReactiveSpec.d.ts +9 -9
- package/dist/hooks/useSidebar.js +18 -17
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +101 -102
- package/dist/legacy/components/CardForm.vue.d.ts +10 -0
- package/dist/legacy/components/CardForm.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardForm.vue.js +13 -0
- package/dist/legacy/components/CardFormButton.vue.d.ts +12 -0
- package/dist/legacy/components/CardFormButton.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardFormButton.vue.js +7 -0
- package/dist/legacy/components/CardFormButton.vue2.js +18 -0
- package/dist/legacy/components/CardFormGroup.vue.d.ts +10 -0
- package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardFormGroup.vue.js +13 -0
- package/dist/legacy/components/CardFormRows.vue.d.ts +10 -0
- package/dist/legacy/components/CardFormRows.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardFormRows.vue.js +13 -0
- package/dist/legacy/components/CardFormTextInput.vue.d.ts +25 -0
- package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardFormTextInput.vue.js +7 -0
- package/dist/legacy/components/CardFormTextInput.vue2.js +37 -0
- package/dist/{components/Content/BaseUrl/ServerVariables.vue.d.ts → legacy/components/SecurityScheme.vue.d.ts} +6 -4
- package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -0
- package/dist/legacy/components/SecurityScheme.vue.js +7 -0
- package/dist/legacy/components/SecurityScheme.vue2.js +364 -0
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +26 -0
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -0
- package/dist/legacy/components/SecuritySchemeScopes.vue.js +7 -0
- package/dist/legacy/components/SecuritySchemeScopes.vue2.js +91 -0
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +25 -0
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -0
- package/dist/legacy/components/SecuritySchemeSelector.vue.js +7 -0
- package/dist/legacy/components/SecuritySchemeSelector.vue2.js +64 -0
- package/dist/legacy/fixtures/httpHeaders.d.ts +6 -0
- package/dist/legacy/fixtures/httpHeaders.d.ts.map +1 -0
- package/dist/legacy/fixtures/httpRequestMethods.d.ts +10 -0
- package/dist/legacy/fixtures/httpRequestMethods.d.ts.map +1 -0
- package/dist/legacy/fixtures/httpRequestMethods.js +18 -0
- package/dist/legacy/fixtures/index.d.ts +3 -0
- package/dist/legacy/fixtures/index.d.ts.map +1 -0
- package/dist/legacy/helpers/createPlaceholderRequest.d.ts +6 -0
- package/dist/legacy/helpers/createPlaceholderRequest.d.ts.map +1 -0
- package/dist/legacy/helpers/createPlaceholderRequest.js +14 -0
- package/dist/legacy/helpers/encodeStringAsBase64.d.ts +5 -0
- package/dist/legacy/helpers/encodeStringAsBase64.d.ts.map +1 -0
- package/dist/legacy/helpers/encodeStringAsBase64.js +6 -0
- package/dist/legacy/helpers/getRequestFromAuthentication.d.ts +10 -0
- package/dist/legacy/helpers/getRequestFromAuthentication.d.ts.map +1 -0
- package/dist/legacy/helpers/getRequestFromAuthentication.js +83 -0
- package/dist/legacy/helpers/getUrlFromServerState.d.ts +6 -0
- package/dist/legacy/helpers/getUrlFromServerState.d.ts.map +1 -0
- package/dist/legacy/helpers/getUrlFromServerState.js +9 -0
- package/dist/legacy/helpers/humanDiff.d.ts +5 -0
- package/dist/legacy/helpers/humanDiff.d.ts.map +1 -0
- package/dist/legacy/helpers/index.d.ts +12 -0
- package/dist/legacy/helpers/index.d.ts.map +1 -0
- package/dist/legacy/helpers/mapFromArray.d.ts +5 -0
- package/dist/legacy/helpers/mapFromArray.d.ts.map +1 -0
- package/dist/legacy/helpers/normalizeHeaders.d.ts +9 -0
- package/dist/legacy/helpers/normalizeHeaders.d.ts.map +1 -0
- package/dist/legacy/helpers/normalizePath.d.ts +5 -0
- package/dist/legacy/helpers/normalizePath.d.ts.map +1 -0
- package/dist/legacy/helpers/normalizeRequestMethod.d.ts +6 -0
- package/dist/legacy/helpers/normalizeRequestMethod.d.ts.map +1 -0
- package/dist/legacy/helpers/normalizeRequestMethod.js +14 -0
- package/dist/legacy/helpers/normalizeUrl.d.ts +5 -0
- package/dist/legacy/helpers/normalizeUrl.d.ts.map +1 -0
- package/dist/legacy/helpers/prepareClientRequestConfig.d.ts +24 -0
- package/dist/legacy/helpers/prepareClientRequestConfig.d.ts.map +1 -0
- package/dist/legacy/index.d.ts +5 -0
- package/dist/legacy/index.d.ts.map +1 -0
- package/dist/legacy/stores/index.d.ts +6 -0
- package/dist/legacy/stores/index.d.ts.map +1 -0
- package/dist/legacy/stores/useApiClientStore.d.ts +18 -0
- package/dist/legacy/stores/useApiClientStore.d.ts.map +1 -0
- package/dist/legacy/stores/useApiClientStore.js +32 -0
- package/dist/legacy/stores/useAuthenticationStore.d.ts +59 -0
- package/dist/legacy/stores/useAuthenticationStore.d.ts.map +1 -0
- package/dist/legacy/stores/useAuthenticationStore.js +36 -0
- package/dist/legacy/stores/useOpenApiStore.d.ts +95 -0
- package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -0
- package/dist/legacy/stores/useOpenApiStore.js +23 -0
- package/dist/legacy/stores/useRequestStore.d.ts +58 -0
- package/dist/legacy/stores/useRequestStore.d.ts.map +1 -0
- package/dist/legacy/stores/useRequestStore.js +33 -0
- package/dist/legacy/stores/useServerStore.d.ts +18 -0
- package/dist/legacy/stores/useServerStore.d.ts.map +1 -0
- package/dist/legacy/stores/useServerStore.js +18 -0
- package/dist/legacy/types.d.ts +117 -0
- package/dist/legacy/types.d.ts.map +1 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +8 -11
- package/dist/types.d.ts.map +1 -1
- package/package.json +16 -15
- package/dist/components/ApiClientModal.vue2.js +0 -4
- package/dist/components/ApiClientModalOld.vue.d.ts.map +0 -1
- package/dist/components/ApiClientModalOld.vue.js +0 -7
- package/dist/components/ApiClientModalOld.vue2.js +0 -88
- package/dist/components/Content/BaseUrl/BaseUrl.vue.d.ts +0 -3
- package/dist/components/Content/BaseUrl/BaseUrl.vue.d.ts.map +0 -1
- package/dist/components/Content/BaseUrl/BaseUrl.vue.js +0 -7
- package/dist/components/Content/BaseUrl/BaseUrl.vue2.js +0 -90
- package/dist/components/Content/BaseUrl/ServerItem.vue.d.ts.map +0 -1
- package/dist/components/Content/BaseUrl/ServerItem.vue.js +0 -8
- package/dist/components/Content/BaseUrl/ServerItem.vue2.js +0 -35
- package/dist/components/Content/BaseUrl/ServerVariableSelect.vue.d.ts.map +0 -1
- package/dist/components/Content/BaseUrl/ServerVariableSelect.vue.js +0 -7
- package/dist/components/Content/BaseUrl/ServerVariableTextbox.vue.d.ts.map +0 -1
- package/dist/components/Content/BaseUrl/ServerVariableTextbox.vue.js +0 -7
- package/dist/components/Content/BaseUrl/ServerVariables.vue.d.ts.map +0 -1
- package/dist/components/Content/BaseUrl/ServerVariables.vue.js +0 -7
- package/dist/components/Content/BaseUrl/ServerVariables.vue2.js +0 -47
- package/dist/components/Content/BaseUrl/index.d.ts +0 -2
- package/dist/components/Content/BaseUrl/index.d.ts.map +0 -1
- package/dist/components/Content/Schema/SchemaProperty.spec.d.ts +0 -2
- package/dist/components/Content/Schema/SchemaProperty.spec.d.ts.map +0 -1
- package/dist/features.d.ts +0 -8
- package/dist/features.d.ts.map +0 -1
- package/dist/features.js +0 -5
- package/dist/standalone.spec.d.ts +0 -2
- package/dist/standalone.spec.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;AAoF1D,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,32 +1,33 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { defineComponent as u, ref as f, onMounted as d, openBlock as S, createElementBlock as v } from "vue";
|
|
2
|
+
import { modalStateBus as _, apiClientBus as U } from "./api-client-bus.js";
|
|
3
|
+
import { getUrlFromServerState as x } from "../legacy/helpers/getUrlFromServerState.js";
|
|
4
|
+
import { useAuthenticationStore as y } from "../legacy/stores/useAuthenticationStore.js";
|
|
5
|
+
import { useServerStore as h } from "../legacy/stores/useServerStore.js";
|
|
6
|
+
const M = /* @__PURE__ */ u({
|
|
5
7
|
__name: "ApiClientModal",
|
|
6
8
|
props: {
|
|
7
9
|
proxyUrl: {},
|
|
8
10
|
spec: {}
|
|
9
11
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const t =
|
|
12
|
-
return
|
|
12
|
+
setup(p) {
|
|
13
|
+
const t = p, e = f(null), { authentication: i } = y(), { server: l } = h();
|
|
14
|
+
return d(async () => {
|
|
13
15
|
if (!e.value) return;
|
|
14
|
-
const { createScalarApiClient:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
spec: t.spec ?? {},
|
|
18
|
-
proxyUrl: t.proxyUrl
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
_.emit(n), x.on((r) => {
|
|
22
|
-
l(p), r.open && i(r.open);
|
|
16
|
+
const { createScalarApiClient: r } = await import("@scalar/api-client"), { modalState: o, open: c, updateAuth: s, updateServerUrl: m } = await r(e.value, {
|
|
17
|
+
spec: t.spec ?? {},
|
|
18
|
+
proxyUrl: t.proxyUrl
|
|
23
19
|
});
|
|
24
|
-
|
|
20
|
+
_.emit(o), U.on((n) => {
|
|
21
|
+
s(i);
|
|
22
|
+
const a = x(l);
|
|
23
|
+
a && m(a), n.open && c(n.open);
|
|
24
|
+
});
|
|
25
|
+
}), (r, o) => (S(), v("div", {
|
|
25
26
|
ref_key: "el",
|
|
26
27
|
ref: e
|
|
27
28
|
}, null, 512));
|
|
28
29
|
}
|
|
29
30
|
});
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
M as default
|
|
32
33
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as w, watch as s, computed as d, toRef as g, openBlock as C, createElementBlock as x, Fragment as T, createBlock as $, resolveDynamicComponent as b, withCtx as u, createTextVNode as A, toDisplayString as B, createCommentVNode as E, createVNode as N, unref as a, renderSlot as v } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import U from "
|
|
8
|
-
import {
|
|
2
|
+
import { migrateThemeVariables as R } from "@scalar/themes";
|
|
3
|
+
import { useSeoMeta as V } from "@unhead/vue";
|
|
4
|
+
import { useDarkModeState as _ } from "../hooks/useDarkModeState.js";
|
|
5
|
+
import { useReactiveSpec as F } from "../hooks/useReactiveSpec.js";
|
|
6
|
+
import H from "./Layouts/Layouts.vue.js";
|
|
7
|
+
import { useHttpClientStore as U } from "../stores/useHttpClientStore.js";
|
|
8
|
+
import { useAuthenticationStore as j } from "../legacy/stores/useAuthenticationStore.js";
|
|
9
9
|
const P = /* @__PURE__ */ w({
|
|
10
10
|
__name: "ApiReference",
|
|
11
11
|
props: {
|
|
@@ -14,7 +14,7 @@ const P = /* @__PURE__ */ w({
|
|
|
14
14
|
emits: ["updateContent"],
|
|
15
15
|
setup(S) {
|
|
16
16
|
var f, l;
|
|
17
|
-
const r = S, { toggleDarkMode: c, isDark: m } =
|
|
17
|
+
const r = S, { toggleDarkMode: c, isDark: m } = _(
|
|
18
18
|
(f = r.configuration) == null ? void 0 : f.darkMode
|
|
19
19
|
);
|
|
20
20
|
s(
|
|
@@ -29,7 +29,7 @@ const P = /* @__PURE__ */ w({
|
|
|
29
29
|
const i = d(() => {
|
|
30
30
|
var e, t;
|
|
31
31
|
if ((e = r.configuration) != null && e.customCss)
|
|
32
|
-
return
|
|
32
|
+
return R((t = r.configuration) == null ? void 0 : t.customCss);
|
|
33
33
|
});
|
|
34
34
|
s(i, () => console.log(i.value));
|
|
35
35
|
const o = d(() => {
|
|
@@ -48,7 +48,7 @@ const P = /* @__PURE__ */ w({
|
|
|
48
48
|
customCss: i.value
|
|
49
49
|
};
|
|
50
50
|
});
|
|
51
|
-
(l = o.value) != null && l.metaData &&
|
|
51
|
+
(l = o.value) != null && l.metaData && V(o.value.metaData);
|
|
52
52
|
function p(e, t) {
|
|
53
53
|
s(
|
|
54
54
|
() => {
|
|
@@ -61,11 +61,11 @@ const P = /* @__PURE__ */ w({
|
|
|
61
61
|
{ immediate: !0 }
|
|
62
62
|
);
|
|
63
63
|
}
|
|
64
|
-
const { setAuthentication: k } =
|
|
64
|
+
const { setAuthentication: k } = j();
|
|
65
65
|
p("authentication", k);
|
|
66
|
-
const { setExcludedClients: D } =
|
|
66
|
+
const { setExcludedClients: D } = U();
|
|
67
67
|
p("hiddenClients", D);
|
|
68
|
-
const { parsedSpec: y, rawSpec: h } =
|
|
68
|
+
const { parsedSpec: y, rawSpec: h } = F({
|
|
69
69
|
proxy: g(() => o.value.proxy || ""),
|
|
70
70
|
specConfig: g(() => o.value.spec || {})
|
|
71
71
|
});
|
|
@@ -78,7 +78,7 @@ const P = /* @__PURE__ */ w({
|
|
|
78
78
|
]),
|
|
79
79
|
_: 1
|
|
80
80
|
})) : E("", !0),
|
|
81
|
-
N(a(
|
|
81
|
+
N(a(H), {
|
|
82
82
|
configuration: o.value,
|
|
83
83
|
isDark: a(m),
|
|
84
84
|
parsedSpec: a(y),
|
|
@@ -21,16 +21,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
21
|
onLinkSwaggerFile?: (() => any) | undefined;
|
|
22
22
|
onToggleDarkMode?: (() => any) | undefined;
|
|
23
23
|
}, {}, {}>, Readonly<{
|
|
24
|
-
footer: (props: ReferenceSlotProps) => any;
|
|
25
24
|
header: (props: ReferenceSlotProps) => any;
|
|
25
|
+
footer: (props: ReferenceSlotProps) => any;
|
|
26
26
|
editor: (props: ReferenceSlotProps) => any;
|
|
27
27
|
"content-start": (props: ReferenceSlotProps) => any;
|
|
28
28
|
"content-end": (props: ReferenceSlotProps) => any;
|
|
29
29
|
"sidebar-start": (props: ReferenceSlotProps) => any;
|
|
30
30
|
"sidebar-end": (props: ReferenceSlotProps) => any;
|
|
31
31
|
}> & {
|
|
32
|
-
footer: (props: ReferenceSlotProps) => any;
|
|
33
32
|
header: (props: ReferenceSlotProps) => any;
|
|
33
|
+
footer: (props: ReferenceSlotProps) => any;
|
|
34
34
|
editor: (props: ReferenceSlotProps) => any;
|
|
35
35
|
"content-start": (props: ReferenceSlotProps) => any;
|
|
36
36
|
"content-end": (props: ReferenceSlotProps) => any;
|
|
@@ -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/ApiReferenceLayout.vue"],"names":[],"mappings":"AAshBA,OAAO,8BAA8B,CAAA;AAGrC,OAAO,EAAE,KAAK,OAAO,EAAkB,MAAM,gBAAgB,CAAA;AAC7D,OAAO,0BAA0B,CAAA;AAwBjC,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2gBjB,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,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"}
|
|
@@ -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 m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-300a9075"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { provideUseId as
|
|
1
|
+
import { defineComponent as Q, ref as h, onMounted as L, onBeforeMount as B, computed as F, watch as q, onServerPrefetch as J, useSSRContext as X, getCurrentInstance as Z, provide as O, openBlock as v, createElementBlock as S, Fragment as P, createVNode as u, unref as s, withCtx as p, createTextVNode as _, toDisplayString as x, createElementVNode as f, normalizeClass as ee, normalizeStyle as oe, renderSlot as l, normalizeProps as d, guardReactiveProps as c, createCommentVNode as b, withDirectives as te, vShow as re, createSlots as ae } from "vue";
|
|
2
|
+
import { provideUseId as ne } from "@headlessui/vue";
|
|
3
|
+
import { addScalarClassesToHeadless as se } from "@scalar/components";
|
|
3
4
|
import "@scalar/components/style.css";
|
|
4
|
-
import { defaultStateFactory as
|
|
5
|
-
import { getThemeStyles as
|
|
5
|
+
import { defaultStateFactory as ie } from "@scalar/oas-utils/helpers";
|
|
6
|
+
import { getThemeStyles as le } from "@scalar/themes";
|
|
6
7
|
import "@scalar/themes/style.css";
|
|
7
|
-
import { useToasts as
|
|
8
|
-
import { useMediaQuery as
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
import
|
|
12
|
-
import { downloadSpecBus as
|
|
13
|
-
import { useDeprecationWarnings as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { useNavState as
|
|
20
|
-
import { scrollToId as
|
|
21
|
-
import { sleep as
|
|
22
|
-
const
|
|
8
|
+
import { useToasts as de, ScalarToasts as ce } from "@scalar/use-toasts";
|
|
9
|
+
import { useMediaQuery as ue, useResizeObserver as pe, useDebounceFn as fe } from "@vueuse/core";
|
|
10
|
+
import me from "./ApiClientModal.vue.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
import ge from "./GettingStarted.vue.js";
|
|
13
|
+
import { downloadSpecBus as ve, downloadSpecFile as Se } from "../helpers/specDownloads.js";
|
|
14
|
+
import { useDeprecationWarnings as he } from "../hooks/useDeprecationWarnings.js";
|
|
15
|
+
import be from "./Util/Style.vue.js";
|
|
16
|
+
import we from "./Sidebar/Sidebar.vue.js";
|
|
17
|
+
import ye from "./Content/Content.vue.js";
|
|
18
|
+
import { GLOBAL_SECURITY_SYMBOL as Re, HIDE_DOWNLOAD_BUTTON_SYMBOL as Te } from "../helpers/provideSymbols.js";
|
|
19
|
+
import { useSidebar as Ce } from "../hooks/useSidebar.js";
|
|
20
|
+
import { useNavState as $e } from "../hooks/useNavState.js";
|
|
21
|
+
import { scrollToId as Ie } from "../helpers/scrollToId.js";
|
|
22
|
+
import { sleep as Ee } from "../helpers/sleep.js";
|
|
23
|
+
const ke = { class: "references-header" }, De = {
|
|
23
24
|
key: 0,
|
|
24
25
|
class: "references-navigation t-doc__sidebar"
|
|
25
|
-
},
|
|
26
|
+
}, Le = { class: "references-navigation-list" }, Be = { class: "references-editor" }, Fe = { class: "references-editor-textarea" }, Oe = { class: "references-rendered" }, Pe = {
|
|
26
27
|
key: 0,
|
|
27
28
|
class: "references-footer"
|
|
28
|
-
},
|
|
29
|
+
}, ro = /* @__PURE__ */ Q({
|
|
29
30
|
inheritAttrs: !1,
|
|
30
31
|
__name: "ApiReferenceLayout",
|
|
31
32
|
props: {
|
|
@@ -34,218 +35,185 @@ const Oe = { class: "references-header" }, Ae = {
|
|
|
34
35
|
rawSpec: {}
|
|
35
36
|
},
|
|
36
37
|
emits: ["changeTheme", "updateContent", "loadSwaggerFile", "linkSwaggerFile", "toggleDarkMode"],
|
|
37
|
-
setup(
|
|
38
|
-
const n =
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
e({ render: () => null });
|
|
44
|
-
})
|
|
45
|
-
) : (
|
|
46
|
-
// Load component
|
|
47
|
-
import("./ApiClientModalOld.vue.js")
|
|
48
|
-
)), Y = me("(min-width: 1150px)"), H = b("100dvh"), g = b(null);
|
|
49
|
-
ge(g, (e) => {
|
|
50
|
-
H.value = e[0].contentRect.height + "px";
|
|
38
|
+
setup(U) {
|
|
39
|
+
const n = U, { initializeToasts: M, toast: A } = de();
|
|
40
|
+
M((e) => A(e));
|
|
41
|
+
const N = ue("(min-width: 1150px)"), z = h("100dvh"), m = h(null);
|
|
42
|
+
pe(m, (e) => {
|
|
43
|
+
z.value = e[0].contentRect.height + "px";
|
|
51
44
|
});
|
|
52
|
-
const w =
|
|
53
|
-
|
|
45
|
+
const w = h(0);
|
|
46
|
+
L(() => {
|
|
54
47
|
var r, t, a;
|
|
55
|
-
const e = (t = (r =
|
|
48
|
+
const e = (t = (r = m.value) == null ? void 0 : r.parentElement) == null ? void 0 : t.getBoundingClientRect(), o = (a = m.value) == null ? void 0 : a.getBoundingClientRect();
|
|
56
49
|
if (e && o) {
|
|
57
|
-
const
|
|
58
|
-
w.value =
|
|
50
|
+
const D = o.top - e.top;
|
|
51
|
+
w.value = D < 2 ? 0 : D;
|
|
59
52
|
}
|
|
60
53
|
});
|
|
61
54
|
const {
|
|
62
|
-
breadcrumb:
|
|
63
|
-
collapsedSidebarItems:
|
|
64
|
-
isSidebarOpen:
|
|
65
|
-
setCollapsedSidebarItem:
|
|
66
|
-
hideModels:
|
|
67
|
-
setParsedSpec:
|
|
68
|
-
} =
|
|
69
|
-
getPathRoutingId:
|
|
70
|
-
getSectionId:
|
|
71
|
-
getTagId:
|
|
72
|
-
hash:
|
|
73
|
-
isIntersectionEnabled:
|
|
74
|
-
pathRouting:
|
|
75
|
-
updateHash:
|
|
76
|
-
} =
|
|
77
|
-
|
|
78
|
-
const
|
|
55
|
+
breadcrumb: H,
|
|
56
|
+
collapsedSidebarItems: g,
|
|
57
|
+
isSidebarOpen: V,
|
|
58
|
+
setCollapsedSidebarItem: y,
|
|
59
|
+
hideModels: Y,
|
|
60
|
+
setParsedSpec: G
|
|
61
|
+
} = Ce(), {
|
|
62
|
+
getPathRoutingId: R,
|
|
63
|
+
getSectionId: W,
|
|
64
|
+
getTagId: j,
|
|
65
|
+
hash: T,
|
|
66
|
+
isIntersectionEnabled: C,
|
|
67
|
+
pathRouting: $,
|
|
68
|
+
updateHash: I
|
|
69
|
+
} = $e();
|
|
70
|
+
$.value = n.configuration.pathRouting, B(() => I());
|
|
71
|
+
const E = async (e) => {
|
|
79
72
|
var o;
|
|
80
|
-
|
|
73
|
+
C.value = !1, I(), e ? Ie(e) : (o = m.value) == null || o.scrollTo(0, 0), await Ee(100), C.value = !0;
|
|
81
74
|
};
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
(a) => a.id === "headlessui-portal-root"
|
|
87
|
-
)
|
|
88
|
-
);
|
|
89
|
-
if (r) {
|
|
90
|
-
const t = r.addedNodes[0];
|
|
91
|
-
t.classList.add("scalar-app"), t.classList.add("scalar-client"), e.disconnect();
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
e.observe(document.body, { childList: !0 });
|
|
95
|
-
}), D(() => {
|
|
96
|
-
be.on(({ specTitle: e }) => {
|
|
97
|
-
ye(n.rawSpec, e);
|
|
98
|
-
}), window.onhashchange = () => I(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => L.value && I($(window.location.pathname));
|
|
75
|
+
B(() => se()), L(() => {
|
|
76
|
+
ve.on(({ specTitle: e }) => {
|
|
77
|
+
Se(n.rawSpec, e);
|
|
78
|
+
}), window.onhashchange = () => E(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => $.value && E(R(window.location.pathname));
|
|
99
79
|
});
|
|
100
|
-
const
|
|
101
|
-
() =>
|
|
102
|
-
),
|
|
80
|
+
const K = F(
|
|
81
|
+
() => N.value || !n.configuration.isEditable
|
|
82
|
+
), k = fe((e) => {
|
|
103
83
|
if ((e.target.scrollTop ?? 0) < 50) {
|
|
104
84
|
const r = n.configuration.pathRouting ? n.configuration.pathRouting.basePath : window.location.pathname;
|
|
105
|
-
window.history.replaceState({}, "", r + window.location.search),
|
|
85
|
+
window.history.replaceState({}, "", r + window.location.search), T.value = "";
|
|
106
86
|
}
|
|
107
|
-
}), i =
|
|
108
|
-
breadcrumb:
|
|
87
|
+
}), i = F(() => ({
|
|
88
|
+
breadcrumb: H.value,
|
|
109
89
|
spec: n.parsedSpec
|
|
110
90
|
}));
|
|
111
|
-
return
|
|
91
|
+
return q(() => n.parsedSpec, G, { deep: !0 }), J(() => {
|
|
112
92
|
var o, r;
|
|
113
|
-
const e =
|
|
114
|
-
if (e && ((o = e.payload).data || (o.data =
|
|
115
|
-
const t =
|
|
116
|
-
|
|
117
|
-
for (const a in
|
|
118
|
-
Object.hasOwn(
|
|
93
|
+
const e = X();
|
|
94
|
+
if (e && ((o = e.payload).data || (o.data = ie()), n.configuration.pathRouting)) {
|
|
95
|
+
const t = R(e.url);
|
|
96
|
+
T.value = t, e.payload.data.hash = t;
|
|
97
|
+
for (const a in g)
|
|
98
|
+
Object.hasOwn(g, a) && delete g[a];
|
|
119
99
|
if (t)
|
|
120
|
-
|
|
100
|
+
y(W(t), !0);
|
|
121
101
|
else {
|
|
122
102
|
const a = (r = n.parsedSpec.tags) == null ? void 0 : r[0];
|
|
123
|
-
a &&
|
|
103
|
+
a && y(j(a), !0);
|
|
124
104
|
}
|
|
125
|
-
e.payload.data["useSidebarContent-collapsedSidebarItems"] =
|
|
105
|
+
e.payload.data["useSidebarContent-collapsedSidebarItems"] = g;
|
|
126
106
|
}
|
|
127
|
-
}),
|
|
107
|
+
}), ne(() => {
|
|
128
108
|
var t;
|
|
129
|
-
const e =
|
|
109
|
+
const e = Z(), o = "scalar-instance-id";
|
|
130
110
|
if (!e) return o;
|
|
131
111
|
let r = e.uid;
|
|
132
112
|
return typeof window > "u" ? (e.attrs || (e.attrs = {}), e.attrs[o] = r) : (t = e.vnode.el) != null && t.getAttribute && (r = e.vnode.el.getAttribute(o)), `${o}-${r}`;
|
|
133
|
-
}),
|
|
134
|
-
|
|
113
|
+
}), O(Re, () => n.parsedSpec.security), O(
|
|
114
|
+
Te,
|
|
135
115
|
() => n.configuration.hideDownloadButton
|
|
136
|
-
),
|
|
137
|
-
var r
|
|
138
|
-
return
|
|
139
|
-
|
|
116
|
+
), Y.value = n.configuration.hideModels ?? !1, he(n.configuration), (e, o) => {
|
|
117
|
+
var r;
|
|
118
|
+
return v(), S(P, null, [
|
|
119
|
+
u(s(be), null, {
|
|
140
120
|
default: p(() => [
|
|
141
|
-
|
|
121
|
+
_(x(s(le)(e.configuration.theme, {
|
|
142
122
|
fonts: e.configuration.withDefaultFonts
|
|
143
123
|
})), 1)
|
|
144
124
|
]),
|
|
145
125
|
_: 1
|
|
146
126
|
}),
|
|
147
|
-
|
|
127
|
+
f("div", {
|
|
148
128
|
ref_key: "documentEl",
|
|
149
|
-
ref:
|
|
150
|
-
class:
|
|
129
|
+
ref: m,
|
|
130
|
+
class: ee(["scalar-app scalar-api-reference references-layout", [
|
|
151
131
|
{
|
|
152
132
|
"references-editable": e.configuration.isEditable,
|
|
153
133
|
"references-sidebar": e.configuration.showSidebar,
|
|
154
|
-
"references-sidebar-mobile-open": s(
|
|
134
|
+
"references-sidebar-mobile-open": s(V),
|
|
155
135
|
"references-classic": e.configuration.layout === "classic"
|
|
156
136
|
},
|
|
157
137
|
e.$attrs.class
|
|
158
138
|
]]),
|
|
159
|
-
style:
|
|
139
|
+
style: oe({
|
|
160
140
|
"--scalar-y-offset": `var(--scalar-custom-header-height, ${w.value}px)`
|
|
161
141
|
}),
|
|
162
142
|
onScrollPassive: o[4] || (o[4] = //@ts-ignore
|
|
163
|
-
(...
|
|
143
|
+
(...t) => s(k) && s(k)(...t))
|
|
164
144
|
}, [
|
|
165
|
-
|
|
166
|
-
|
|
145
|
+
f("div", ke, [
|
|
146
|
+
l(e.$slots, "header", d(c(i.value)), void 0, !0)
|
|
167
147
|
]),
|
|
168
|
-
e.configuration.showSidebar ? (
|
|
169
|
-
|
|
170
|
-
|
|
148
|
+
e.configuration.showSidebar ? (v(), S("aside", De, [
|
|
149
|
+
f("div", Le, [
|
|
150
|
+
u(s(we), { parsedSpec: e.parsedSpec }, {
|
|
171
151
|
"sidebar-start": p(() => [
|
|
172
|
-
|
|
152
|
+
l(e.$slots, "sidebar-start", d(c(i.value)), void 0, !0)
|
|
173
153
|
]),
|
|
174
154
|
"sidebar-end": p(() => [
|
|
175
|
-
|
|
155
|
+
l(e.$slots, "sidebar-end", d(c(i.value)), void 0, !0)
|
|
176
156
|
]),
|
|
177
157
|
_: 3
|
|
178
158
|
}, 8, ["parsedSpec"])
|
|
179
159
|
])
|
|
180
|
-
])) :
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
160
|
+
])) : b("", !0),
|
|
161
|
+
te(f("div", Be, [
|
|
162
|
+
f("div", Fe, [
|
|
163
|
+
l(e.$slots, "editor", d(c(i.value)), void 0, !0)
|
|
184
164
|
])
|
|
185
165
|
], 512), [
|
|
186
|
-
[
|
|
166
|
+
[re, e.configuration.isEditable]
|
|
187
167
|
]),
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
168
|
+
K.value ? (v(), S(P, { key: 1 }, [
|
|
169
|
+
f("div", Oe, [
|
|
170
|
+
u(s(ye), {
|
|
191
171
|
baseServerURL: e.configuration.baseServerURL,
|
|
192
172
|
layout: e.configuration.layout === "classic" ? "accordion" : "default",
|
|
193
173
|
parsedSpec: e.parsedSpec,
|
|
194
|
-
proxy: e.configuration.proxy
|
|
195
|
-
|
|
174
|
+
proxy: e.configuration.proxy,
|
|
175
|
+
servers: e.configuration.servers
|
|
176
|
+
}, ae({
|
|
196
177
|
start: p(() => [
|
|
197
|
-
|
|
178
|
+
l(e.$slots, "content-start", d(c(i.value)), void 0, !0)
|
|
198
179
|
]),
|
|
199
180
|
end: p(() => [
|
|
200
|
-
|
|
181
|
+
l(e.$slots, "content-end", d(c(i.value)), void 0, !0)
|
|
201
182
|
]),
|
|
202
183
|
_: 2
|
|
203
184
|
}, [
|
|
204
185
|
(r = e.configuration) != null && r.isEditable ? {
|
|
205
186
|
name: "empty-state",
|
|
206
187
|
fn: p(() => {
|
|
207
|
-
var
|
|
188
|
+
var t;
|
|
208
189
|
return [
|
|
209
|
-
|
|
210
|
-
theme: ((
|
|
211
|
-
onChangeTheme: o[0] || (o[0] = (
|
|
212
|
-
onLinkSwaggerFile: o[1] || (o[1] = (
|
|
213
|
-
onLoadSwaggerFile: o[2] || (o[2] = (
|
|
214
|
-
onUpdateContent: o[3] || (o[3] = (
|
|
190
|
+
u(ge, {
|
|
191
|
+
theme: ((t = e.configuration) == null ? void 0 : t.theme) || "default",
|
|
192
|
+
onChangeTheme: o[0] || (o[0] = (a) => e.$emit("changeTheme", a)),
|
|
193
|
+
onLinkSwaggerFile: o[1] || (o[1] = (a) => e.$emit("linkSwaggerFile")),
|
|
194
|
+
onLoadSwaggerFile: o[2] || (o[2] = (a) => e.$emit("loadSwaggerFile")),
|
|
195
|
+
onUpdateContent: o[3] || (o[3] = (a) => e.$emit("updateContent", a))
|
|
215
196
|
}, null, 8, ["theme"])
|
|
216
197
|
];
|
|
217
198
|
}),
|
|
218
199
|
key: "0"
|
|
219
200
|
} : void 0
|
|
220
|
-
]), 1032, ["baseServerURL", "layout", "parsedSpec", "proxy"])
|
|
201
|
+
]), 1032, ["baseServerURL", "layout", "parsedSpec", "proxy", "servers"])
|
|
221
202
|
]),
|
|
222
|
-
e.$slots.footer ? (
|
|
223
|
-
|
|
224
|
-
])) :
|
|
225
|
-
], 64)) :
|
|
226
|
-
|
|
227
|
-
key: 2,
|
|
203
|
+
e.$slots.footer ? (v(), S("div", Pe, [
|
|
204
|
+
l(e.$slots, "footer", d(c(i.value)), void 0, !0)
|
|
205
|
+
])) : b("", !0)
|
|
206
|
+
], 64)) : b("", !0),
|
|
207
|
+
u(me, {
|
|
228
208
|
proxyUrl: e.configuration.proxy,
|
|
229
209
|
spec: e.configuration.spec
|
|
230
|
-
}, null, 8, ["proxyUrl", "spec"])
|
|
231
|
-
key: 3,
|
|
232
|
-
parsedSpec: e.parsedSpec,
|
|
233
|
-
proxyUrl: (t = e.configuration) == null ? void 0 : t.proxy
|
|
234
|
-
}, {
|
|
235
|
-
"sidebar-start": p(() => [
|
|
236
|
-
d(e.$slots, "sidebar-start", l(c(i.value)), void 0, !0)
|
|
237
|
-
]),
|
|
238
|
-
"sidebar-end": p(() => [
|
|
239
|
-
d(e.$slots, "sidebar-end", l(c(i.value)), void 0, !0)
|
|
240
|
-
]),
|
|
241
|
-
_: 3
|
|
242
|
-
}, 8, ["parsedSpec", "proxyUrl"]))
|
|
210
|
+
}, null, 8, ["proxyUrl", "spec"])
|
|
243
211
|
], 38),
|
|
244
|
-
|
|
212
|
+
u(s(ce))
|
|
245
213
|
], 64);
|
|
246
214
|
};
|
|
247
215
|
}
|
|
248
216
|
});
|
|
249
217
|
export {
|
|
250
|
-
|
|
218
|
+
ro as default
|
|
251
219
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/Authentication.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/Authentication.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAY,IAAI,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;AAwIvD,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 t from "./Authentication.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-9052a928"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|