@scalar/api-reference 1.28.33 → 1.29.1
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 +83 -0
- package/dist/browser/standalone.js +12818 -13331
- 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 +2 -2
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +5 -5
- 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.js +2 -2
- package/dist/components/Content/Content.vue2.js +31 -32
- 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 → SchemaComposition.vue.d.ts} +3 -2
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -0
- package/dist/components/Content/Schema/SchemaComposition.vue.js +187 -0
- package/dist/components/Content/Schema/SchemaComposition.vue2.js +4 -0
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -1
- 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 +31 -30
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts +0 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +3 -3
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +8 -9
- 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 +165 -146
- 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/Schema/helpers/optimizeValueForDisplay.d.ts +3 -2
- package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.js +13 -13
- package/dist/components/Content/Schema/helpers/schema-composition.d.ts +12 -0
- package/dist/components/Content/Schema/helpers/schema-composition.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/schema-composition.js +8 -0
- package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts +4 -0
- package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts.map +1 -0
- 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/Layouts.vue.d.ts +3 -0
- package/dist/components/Layouts/Layouts.vue.d.ts.map +1 -1
- package/dist/components/Layouts/Layouts.vue.js +14 -23
- 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 +51 -45
- 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/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 +1 -0
- package/dist/components/SingleApiReference.vue.d.ts.map +1 -1
- package/dist/components/SingleApiReference.vue.js +25 -22
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- 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 +186 -146
- 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 +11 -10
- 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 +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +44 -43
- 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 +22 -27
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +0 -1
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +0 -7
- package/dist/components/Content/Schema/SchemaDiscriminator.vue2.js +0 -167
- 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,7 +1,7 @@
|
|
|
1
1
|
import t from "./OperationsListItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const s = /* @__PURE__ */ o(t, [["__scopeId", "data-v-
|
|
4
|
+
const s = /* @__PURE__ */ o(t, [["__scopeId", "data-v-04178576"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -4,7 +4,7 @@ import { getPointer as V } from "../../../blocks/helpers/getPointer.js";
|
|
|
4
4
|
import { useBlockProps as S } from "../../../blocks/hooks/useBlockProps.js";
|
|
5
5
|
import { useNavState as w } from "../../../hooks/useNavState.js";
|
|
6
6
|
import { useSidebar as H } from "../../../hooks/useSidebar.js";
|
|
7
|
-
import { isOperationDeprecated as I } from "../../../libs/
|
|
7
|
+
import { isOperationDeprecated as I } from "../../../libs/openapi.js";
|
|
8
8
|
import T from "../../Section/SectionHeaderTag.vue.js";
|
|
9
9
|
import $ from "../../HttpMethod/HttpMethod.vue.js";
|
|
10
10
|
const b = ["href"], F = /* @__PURE__ */ u({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TagAccordion.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-ab8ddc14"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as i, createBlock as n, openBlock as c, unref as e, withCtx as t, renderSlot as l, createVNode as a, createTextVNode as d, toDisplayString as s } from "vue";
|
|
2
2
|
import { ScalarMarkdown as m } from "@scalar/components";
|
|
3
|
-
import p from "
|
|
4
|
-
import f from "../../Section/
|
|
5
|
-
import u from "../../
|
|
6
|
-
import g from "../../
|
|
7
|
-
import
|
|
3
|
+
import { useNavState as p } from "../../../hooks/useNavState.js";
|
|
4
|
+
import f from "../../Section/SectionContainerAccordion.vue.js";
|
|
5
|
+
import u from "../../Section/SectionHeader.vue.js";
|
|
6
|
+
import g from "../../Anchor/Anchor.vue.js";
|
|
7
|
+
import _ from "../../Section/SectionHeaderTag.vue.js";
|
|
8
8
|
const B = /* @__PURE__ */ i({
|
|
9
9
|
__name: "TagAccordion",
|
|
10
10
|
props: {
|
|
11
11
|
tag: {}
|
|
12
12
|
},
|
|
13
13
|
setup(S) {
|
|
14
|
-
const { getTagId: r } =
|
|
15
|
-
return (o, v) => (c(), n(e(
|
|
14
|
+
const { getTagId: r } = p();
|
|
15
|
+
return (o, v) => (c(), n(e(f), { class: "tag-section" }, {
|
|
16
16
|
title: t(() => [
|
|
17
|
-
a(e(
|
|
17
|
+
a(e(u), { class: "tag-name" }, {
|
|
18
18
|
default: t(() => [
|
|
19
|
-
a(e(
|
|
19
|
+
a(e(g), {
|
|
20
20
|
id: e(r)(o.tag)
|
|
21
21
|
}, {
|
|
22
22
|
default: t(() => [
|
|
23
|
-
a(e(
|
|
23
|
+
a(e(_), { level: 2 }, {
|
|
24
24
|
default: t(() => [
|
|
25
25
|
d(s(o.tag.name), 1)
|
|
26
26
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAahE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,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;;AA+HF,wBAMG"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as S, computed as f, createElementBlock as p, openBlock as s, Fragment as y, renderList as h, createBlock as i, unref as o, withCtx as l, resolveDynamicComponent as B, createVNode as v } from "vue";
|
|
2
2
|
import { ScalarErrorBoundary as T } from "@scalar/components";
|
|
3
|
-
import $ from "
|
|
4
|
-
import b from "
|
|
3
|
+
import { useNavState as $ } from "../../../hooks/useNavState.js";
|
|
4
|
+
import { useSidebar as b } from "../../../hooks/useSidebar.js";
|
|
5
|
+
import C from "./TagAccordion.vue.js";
|
|
6
|
+
import O from "./TagSection.vue.js";
|
|
5
7
|
import L from "../Lazy/Lazy.vue2.js";
|
|
6
|
-
import
|
|
7
|
-
import { useNavState as O } from "../../../hooks/useNavState.js";
|
|
8
|
-
import { useSidebar as _ } from "../../../hooks/useSidebar.js";
|
|
8
|
+
import _ from "../../../features/Operation/Operation.vue.js";
|
|
9
9
|
const q = /* @__PURE__ */ S({
|
|
10
10
|
__name: "TagList",
|
|
11
11
|
props: {
|
|
@@ -17,8 +17,8 @@ const q = /* @__PURE__ */ S({
|
|
|
17
17
|
schemas: {}
|
|
18
18
|
},
|
|
19
19
|
setup(c) {
|
|
20
|
-
const { getOperationId: n, getTagId: r, hash: z } =
|
|
21
|
-
() => c.layout === "classic" ?
|
|
20
|
+
const { getOperationId: n, getTagId: r, hash: z } = $(), { collapsedSidebarItems: m } = b(), I = f(
|
|
21
|
+
() => c.layout === "classic" ? C : O
|
|
22
22
|
), g = f(
|
|
23
23
|
() => c.tags.findIndex((e) => !m[r(e)]) + 1
|
|
24
24
|
), u = (e) => c.layout !== "classic" && !z.value.startsWith("model") && e > g.value;
|
|
@@ -43,7 +43,7 @@ const q = /* @__PURE__ */ S({
|
|
|
43
43
|
default: l(() => [
|
|
44
44
|
v(o(T), null, {
|
|
45
45
|
default: l(() => [
|
|
46
|
-
v(o(
|
|
46
|
+
v(o(_), {
|
|
47
47
|
id: o(n)(a, t),
|
|
48
48
|
collection: e.collection,
|
|
49
49
|
layout: e.layout,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TagSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagSection.vue"],"names":[],"mappings":"AAgFA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AACjE,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAUpD,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,IAAI,CAAA;CACX,CAAC;AAgCF,iBAAS,cAAc;WAyFT,OAAO,IAA6B;;yBAVpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4DwmgB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;EA7C9vgB;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TagSection.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-41ba0495"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as k, ref as f, useId as y, computed as u, createBlock as l, openBlock as n, unref as o, withCtx as C, createCommentVNode as b, createElementBlock as S, renderSlot as v, nextTick as T } from "vue";
|
|
2
|
-
import I from "
|
|
3
|
-
import w from "
|
|
4
|
-
import B from "
|
|
2
|
+
import I from "./Tag.vue.js";
|
|
3
|
+
import w from "../../ShowMoreButton.vue.js";
|
|
4
|
+
import { useNavState as B } from "../../../hooks/useNavState.js";
|
|
5
5
|
import { useSidebar as R } from "../../../hooks/useSidebar.js";
|
|
6
|
-
import
|
|
6
|
+
import N from "../../Section/SectionContainer.vue.js";
|
|
7
7
|
const M = /* @__PURE__ */ k({
|
|
8
8
|
__name: "TagSection",
|
|
9
9
|
props: {
|
|
@@ -13,7 +13,7 @@ const M = /* @__PURE__ */ k({
|
|
|
13
13
|
spec: {}
|
|
14
14
|
},
|
|
15
15
|
setup(m) {
|
|
16
|
-
const a = m, p = f(), r = f(), i = y(), { collapsedSidebarItems: s } = R(), { getTagId: c } =
|
|
16
|
+
const a = m, p = f(), r = f(), i = y(), { collapsedSidebarItems: s } = R(), { getTagId: c } = B(), d = u(
|
|
17
17
|
() => {
|
|
18
18
|
var e, t;
|
|
19
19
|
return ((e = a.spec.tags) == null ? void 0 : e.length) && ((t = a.spec.tags) == null ? void 0 : t.length) > 1;
|
|
@@ -28,7 +28,7 @@ const M = /* @__PURE__ */ k({
|
|
|
28
28
|
var e, t;
|
|
29
29
|
await T(), (t = (e = r.value) == null ? void 0 : e.querySelector("button")) == null || t.focus();
|
|
30
30
|
}
|
|
31
|
-
return (e, t) => (n(), l(o(
|
|
31
|
+
return (e, t) => (n(), l(o(N), {
|
|
32
32
|
ref_key: "sectionContainerRef",
|
|
33
33
|
ref: p,
|
|
34
34
|
"aria-labelledby": o(i),
|
|
@@ -36,7 +36,7 @@ const M = /* @__PURE__ */ k({
|
|
|
36
36
|
role: "region"
|
|
37
37
|
}, {
|
|
38
38
|
default: C(() => [
|
|
39
|
-
g.value ? (n(), l(
|
|
39
|
+
g.value ? (n(), l(I, {
|
|
40
40
|
key: 0,
|
|
41
41
|
id: e.id,
|
|
42
42
|
collection: e.collection,
|
|
@@ -44,7 +44,7 @@ const M = /* @__PURE__ */ k({
|
|
|
44
44
|
isCollapsed: !o(s)[o(c)(e.tag)],
|
|
45
45
|
tag: e.tag
|
|
46
46
|
}, null, 8, ["id", "collection", "headerId", "isCollapsed", "tag"])) : b("", !0),
|
|
47
|
-
!o(s)[o(c)(e.tag)] && d.value ? (n(), l(
|
|
47
|
+
!o(s)[o(c)(e.tag)] && d.value ? (n(), l(w, {
|
|
48
48
|
key: 1,
|
|
49
49
|
id: e.id ?? "",
|
|
50
50
|
"aria-label": `Show all ${e.tag["x-displayName"] ?? e.tag.name} endpoints`,
|
|
@@ -7,17 +7,17 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
7
7
|
id: ThemeId;
|
|
8
8
|
label: string;
|
|
9
9
|
}) => any;
|
|
10
|
-
updateContent: (value: string) => any;
|
|
11
10
|
loadSwaggerFile: () => any;
|
|
12
11
|
linkSwaggerFile: () => any;
|
|
12
|
+
updateContent: (value: string) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
14
|
onChangeTheme?: ((args_0: {
|
|
15
15
|
id: ThemeId;
|
|
16
16
|
label: string;
|
|
17
17
|
}) => any) | undefined;
|
|
18
|
-
onUpdateContent?: ((value: string) => any) | undefined;
|
|
19
18
|
onLoadSwaggerFile?: (() => any) | undefined;
|
|
20
19
|
onLinkSwaggerFile?: (() => any) | undefined;
|
|
20
|
+
onUpdateContent?: ((value: string) => any) | undefined;
|
|
21
21
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
22
|
export default _default;
|
|
23
23
|
//# sourceMappingURL=GettingStarted.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layouts.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/Layouts.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Layouts.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/Layouts.vue"],"names":[],"mappings":"AA4CA;;GAEG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,aAAa,CAAA;AA2BpB,iBAAS,cAAc;WAuET,OAAO,IAA6B;;;;EAKjD;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as l, useSlots as d, createBlock as u, openBlock as f, resolveDynamicComponent as g, mergeProps as c, createSlots as k, renderList as y, withCtx as C, renderSlot as D, normalizeProps as S, guardReactiveProps as $ } from "vue";
|
|
2
2
|
import M from "./ClassicLayout.vue.js";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import n from "./ModernLayout.vue.js";
|
|
4
|
+
const P = /* @__PURE__ */ l({
|
|
5
5
|
__name: "Layouts",
|
|
6
6
|
props: {
|
|
7
7
|
configuration: {},
|
|
@@ -10,33 +10,24 @@ const b = /* @__PURE__ */ c({
|
|
|
10
10
|
isDark: { type: Boolean }
|
|
11
11
|
},
|
|
12
12
|
emits: ["toggleDarkMode", "updateContent"],
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
(e) => e !== "document-selector"
|
|
17
|
-
)
|
|
18
|
-
), u = {
|
|
19
|
-
modern: a,
|
|
13
|
+
setup(s) {
|
|
14
|
+
const a = s, p = d(), i = {
|
|
15
|
+
modern: n,
|
|
20
16
|
classic: M
|
|
21
17
|
};
|
|
22
|
-
return (
|
|
23
|
-
onToggleDarkMode:
|
|
24
|
-
onUpdateContent:
|
|
25
|
-
}),
|
|
26
|
-
|
|
27
|
-
s(e.$slots, "document-selector")
|
|
28
|
-
]),
|
|
29
|
-
_: 2
|
|
30
|
-
}, [
|
|
31
|
-
D(i.value, (t, r) => ({
|
|
18
|
+
return (o, e) => (f(), u(g(i[o.configuration.layout ?? "modern"] ?? n), c(a, {
|
|
19
|
+
onToggleDarkMode: e[0] || (e[0] = (t) => o.$emit("toggleDarkMode")),
|
|
20
|
+
onUpdateContent: e[1] || (e[1] = (t) => o.$emit("updateContent", t))
|
|
21
|
+
}), k({ _: 2 }, [
|
|
22
|
+
y(p, (t, r) => ({
|
|
32
23
|
name: r,
|
|
33
|
-
fn:
|
|
34
|
-
|
|
24
|
+
fn: C((m) => [
|
|
25
|
+
D(o.$slots, r, S($(m || {})))
|
|
35
26
|
])
|
|
36
27
|
}))
|
|
37
28
|
]), 1040));
|
|
38
29
|
}
|
|
39
30
|
});
|
|
40
31
|
export {
|
|
41
|
-
|
|
32
|
+
P as default
|
|
42
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue"],"names":[],"mappings":"AAuJA,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,SAAS,CAAA;AA2ChB,iBAAS,cAAc;WA+JT,OAAO,IAA6B;;;;EAKjD;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import o from "./ModernLayout.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 e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9a1acea3"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
e as default
|
|
8
8
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as B, useSlots as w, watch as f, computed as $, createBlock as u, openBlock as t, normalizeClass as D, createSlots as M, withCtx as a, createVNode as m, unref as i, createCommentVNode as d, createElementBlock as p, renderSlot as c, normalizeProps as g, guardReactiveProps as S, isRef as V, renderList as K } from "vue";
|
|
2
2
|
import { OpenApiClientButton as H } from "@scalar/api-client/components";
|
|
3
|
-
import { ScalarSidebarFooter as
|
|
4
|
-
import {
|
|
5
|
-
import R from "
|
|
6
|
-
import U from "../
|
|
7
|
-
import z from "
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
3
|
+
import { ScalarSidebarFooter as L, ScalarColorModeToggleButton as N } from "@scalar/components";
|
|
4
|
+
import { getObjectKeys as O } from "@scalar/oas-utils/helpers";
|
|
5
|
+
import { useBreakpoints as R } from "@scalar/use-hooks/useBreakpoints";
|
|
6
|
+
import U from "../ApiReferenceLayout.vue.js";
|
|
7
|
+
import z from "../MobileHeader.vue.js";
|
|
8
|
+
import { useNavState as A } from "../../hooks/useNavState.js";
|
|
9
|
+
import { useSidebar as T } from "../../hooks/useSidebar.js";
|
|
10
|
+
import j from "../../features/Search/SearchButton.vue.js";
|
|
11
|
+
const E = { key: 0 }, F = {
|
|
11
12
|
key: 1,
|
|
12
13
|
class: "scalar-api-references-standalone-search"
|
|
13
|
-
},
|
|
14
|
+
}, P = { key: 1 }, x = /* @__PURE__ */ B({
|
|
14
15
|
__name: "ModernLayout",
|
|
15
16
|
props: {
|
|
16
17
|
configuration: {},
|
|
@@ -19,59 +20,64 @@ const P = { key: 0 }, T = {
|
|
|
19
20
|
isDark: { type: Boolean }
|
|
20
21
|
},
|
|
21
22
|
emits: ["toggleDarkMode", "updateContent"],
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
o && !e && (
|
|
23
|
+
setup(k) {
|
|
24
|
+
const s = k, h = w(), { mediaQueries: b } = R(), { isSidebarOpen: n } = T(), v = !1;
|
|
25
|
+
f(b.lg, (e, o) => {
|
|
26
|
+
o && !e && (n.value = !1);
|
|
26
27
|
});
|
|
27
|
-
const { hash: y } =
|
|
28
|
-
|
|
29
|
-
e && e !== o && (
|
|
30
|
-
})
|
|
31
|
-
|
|
28
|
+
const { hash: y } = A();
|
|
29
|
+
f(y, (e, o) => {
|
|
30
|
+
e && e !== o && (n.value = !1);
|
|
31
|
+
});
|
|
32
|
+
const C = $(
|
|
33
|
+
() => O(h).filter((e) => e !== "sidebar-start")
|
|
34
|
+
);
|
|
35
|
+
return (e, o) => (t(), u(U, {
|
|
36
|
+
class: D({
|
|
32
37
|
"scalar-api-references-standalone-mobile": e.configuration.showSidebar ?? !0
|
|
33
38
|
}),
|
|
34
39
|
configuration: e.configuration,
|
|
35
40
|
parsedSpec: e.parsedSpec,
|
|
36
41
|
rawSpec: e.rawSpec,
|
|
37
42
|
onUpdateContent: o[2] || (o[2] = (r) => e.$emit("updateContent", r))
|
|
38
|
-
},
|
|
39
|
-
header:
|
|
40
|
-
e.configuration.showSidebar ?? !0 ? (t(), u(
|
|
43
|
+
}, M({
|
|
44
|
+
header: a(() => [
|
|
45
|
+
e.configuration.showSidebar ?? !0 ? (t(), u(z, {
|
|
41
46
|
key: 0,
|
|
42
|
-
open:
|
|
43
|
-
"onUpdate:open": o[0] || (o[0] = (r) =>
|
|
47
|
+
open: i(n),
|
|
48
|
+
"onUpdate:open": o[0] || (o[0] = (r) => V(n) ? n.value = r : null)
|
|
44
49
|
}, null, 8, ["open"])) : d("", !0)
|
|
45
50
|
]),
|
|
46
|
-
"sidebar-start":
|
|
47
|
-
var
|
|
51
|
+
"sidebar-start": a((r) => {
|
|
52
|
+
var l;
|
|
48
53
|
return [
|
|
49
|
-
e.$slots["document-selector"] ? (t(), p("div",
|
|
50
|
-
|
|
54
|
+
e.$slots["document-selector"] ? (t(), p("div", E, [
|
|
55
|
+
c(e.$slots, "document-selector", {}, void 0, !0)
|
|
51
56
|
])) : d("", !0),
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
searchHotKey: (
|
|
55
|
-
spec: r
|
|
57
|
+
s.configuration.hideSearch ? d("", !0) : (t(), p("div", F, [
|
|
58
|
+
m(i(j), {
|
|
59
|
+
searchHotKey: (l = s.configuration) == null ? void 0 : l.searchHotKey,
|
|
60
|
+
spec: r.spec
|
|
56
61
|
}, null, 8, ["searchHotKey", "spec"])
|
|
57
|
-
]))
|
|
62
|
+
])),
|
|
63
|
+
c(e.$slots, "sidebar-start", g(S(r)), void 0, !0)
|
|
58
64
|
];
|
|
59
65
|
}),
|
|
60
|
-
"sidebar-end":
|
|
61
|
-
|
|
62
|
-
toggle:
|
|
63
|
-
|
|
66
|
+
"sidebar-end": a(() => [
|
|
67
|
+
m(i(L), { class: "darklight-reference" }, {
|
|
68
|
+
toggle: a(() => [
|
|
69
|
+
s.configuration.hideDarkModeToggle ? (t(), p("span", P)) : (t(), u(i(N), {
|
|
64
70
|
key: 0,
|
|
65
71
|
modelValue: e.isDark,
|
|
66
72
|
"onUpdate:modelValue": o[1] || (o[1] = (r) => e.$emit("toggleDarkMode"))
|
|
67
73
|
}, null, 8, ["modelValue"]))
|
|
68
74
|
]),
|
|
69
|
-
default:
|
|
70
|
-
|
|
75
|
+
default: a(() => [
|
|
76
|
+
s.configuration.hideClientButton ? d("", !0) : (t(), u(i(H), {
|
|
71
77
|
key: 0,
|
|
72
78
|
buttonSource: "sidebar",
|
|
73
79
|
integration: e.configuration._integration,
|
|
74
|
-
isDevelopment:
|
|
80
|
+
isDevelopment: v,
|
|
75
81
|
url: e.configuration.url
|
|
76
82
|
}, null, 8, ["integration", "url"]))
|
|
77
83
|
]),
|
|
@@ -80,15 +86,15 @@ const P = { key: 0 }, T = {
|
|
|
80
86
|
]),
|
|
81
87
|
_: 2
|
|
82
88
|
}, [
|
|
83
|
-
|
|
84
|
-
name:
|
|
85
|
-
fn:
|
|
86
|
-
|
|
89
|
+
K(C.value, (r) => ({
|
|
90
|
+
name: r,
|
|
91
|
+
fn: a((l) => [
|
|
92
|
+
c(e.$slots, r, g(S(l || {})), void 0, !0)
|
|
87
93
|
])
|
|
88
94
|
}))
|
|
89
95
|
]), 1032, ["class", "configuration", "parsedSpec", "rawSpec"]));
|
|
90
96
|
}
|
|
91
97
|
});
|
|
92
98
|
export {
|
|
93
|
-
|
|
99
|
+
x as default
|
|
94
100
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./MobileHeader.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e9e59635"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CompactSection.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c00bde82"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|
|
@@ -2,8 +2,8 @@ import { defineComponent as u, ref as m, useId as f, watch as v, nextTick as h,
|
|
|
2
2
|
import { ScalarIcon as _ } from "@scalar/components";
|
|
3
3
|
import w from "../Anchor/Anchor.vue.js";
|
|
4
4
|
import N from "./Section.vue.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { scrollToId as y } from "../../helpers/scroll-to-id.js";
|
|
6
|
+
import { useNavState as B } from "../../hooks/useNavState.js";
|
|
7
7
|
const I = { class: "collapsible-section" }, V = ["id", "aria-controls", "aria-expanded"], R = /* @__PURE__ */ u({
|
|
8
8
|
__name: "CompactSection",
|
|
9
9
|
props: {
|
|
@@ -11,11 +11,11 @@ const I = { class: "collapsible-section" }, V = ["id", "aria-controls", "aria-ex
|
|
|
11
11
|
label: {}
|
|
12
12
|
},
|
|
13
13
|
setup(d) {
|
|
14
|
-
const a = d, { hash: p } =
|
|
14
|
+
const a = d, { hash: p } = B(), e = m(!1), l = f();
|
|
15
15
|
return v(
|
|
16
16
|
p,
|
|
17
17
|
async (o) => {
|
|
18
|
-
o === a.id && !e.value && (e.value = !0, await h(),
|
|
18
|
+
o === a.id && !e.value && (e.value = !0, await h(), y(a.id));
|
|
19
19
|
},
|
|
20
20
|
{ immediate: !0 }
|
|
21
21
|
), (o, i) => (n(), b("div", I, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/Section.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Section.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/Section.vue"],"names":[],"mappings":"AA2EA,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAwBF,iBAAS,cAAc;WAoET,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Section.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-945f79c4"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShowMoreButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ShowMoreButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ShowMoreButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ShowMoreButton.vue"],"names":[],"mappings":"AA4EA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;CACX,CAAC;;AA+EF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ShowMoreButton.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-892a5475"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAyQA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAOhD,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAIlE,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,CAAA;CACjB,GAAG,YAAY,CAAC;AAoGnB,iBAAS,cAAc;WA4NT,OAAO,IAA6B;;iCAVb,GAAG;+BACJ,GAAG;;;;;;EActC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Sidebar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e603f439"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as F, ref as E, watch as I, onMounted as N, onUnmounted as L, createElementBlock as d, openBlock as r, renderSlot as w, createElementVNode as V, createVNode as G, withCtx as v, Fragment as o, renderList as y, unref as n, toDisplayString as M, createBlock as f, createCommentVNode as h } from "vue";
|
|
2
2
|
import m from "./SidebarElement.vue.js";
|
|
3
3
|
import g from "./SidebarGroup.vue.js";
|
|
4
|
+
import { sleep as C } from "../../helpers/sleep.js";
|
|
4
5
|
import { useNavState as D } from "../../hooks/useNavState.js";
|
|
5
6
|
import { useSidebar as H } from "../../hooks/useSidebar.js";
|
|
6
|
-
import { sleep as C } from "../../helpers/sleep.js";
|
|
7
7
|
const R = { class: "sidebar" }, U = ["aria-label"], j = { class: "sidebar-group-title" }, q = -160, W = /* @__PURE__ */ F({
|
|
8
8
|
__name: "Sidebar",
|
|
9
9
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarElement.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarElement.vue"],"names":[],"mappings":"AA4WA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,KAAK,EAAE,MAAM,CAAA;QACb,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;QACnB,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,IAAI,CAAC,EAAE;YACL,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;QACD,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,UAAU,CAAC,EAAE,OAAO,CAAA;KACrB,CAAA;IACD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAyEF,iBAAS,cAAc;WAoKT,OAAO,IAA6B;;yBATpB,GAAG;+BACG,GAAG;;;;EAatC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;4FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SidebarElement.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0477809f"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as A, createElementBlock as p, openBlock as s, createElementVNode as r, renderSlot as v, createCommentVNode as l, normalizeClass as T, unref as c, createTextVNode as h, withModifiers as V, createVNode as C, withCtx as E, toDisplayString as u, createBlock as N } from "vue";
|
|
2
2
|
import { ScalarSidebarGroupToggle as O, ScalarIcon as R } from "@scalar/components";
|
|
3
3
|
import { combineUrlAndPath as U } from "@scalar/oas-utils/helpers";
|
|
4
|
-
import {
|
|
5
|
-
import I from "./SidebarHttpBadge.vue.js";
|
|
4
|
+
import { scrollToId as H } from "../../helpers/scroll-to-id.js";
|
|
6
5
|
import { sleep as k } from "../../helpers/sleep.js";
|
|
6
|
+
import { useConfig as I } from "../../hooks/useConfig.js";
|
|
7
7
|
import { useNavState as P } from "../../hooks/useNavState.js";
|
|
8
|
-
import
|
|
8
|
+
import D from "./SidebarHttpBadge.vue.js";
|
|
9
9
|
const L = ["id"], M = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "sidebar-heading-chevron"
|
|
@@ -26,7 +26,7 @@ const L = ["id"], M = {
|
|
|
26
26
|
},
|
|
27
27
|
emits: ["toggleOpen"],
|
|
28
28
|
setup(y, { emit: w }) {
|
|
29
|
-
const i = y, m = w, { getFullHash: f, isIntersectionEnabled: d, replaceUrlState: S } = P(), n =
|
|
29
|
+
const i = y, m = w, { getFullHash: f, isIntersectionEnabled: d, replaceUrlState: S } = P(), n = I(), g = async () => {
|
|
30
30
|
var e, t;
|
|
31
31
|
d.value = !1, i.hasChildren && m("toggleOpen"), (t = (e = i.item) == null ? void 0 : e.select) == null || t.call(e), await k(100), d.value = !0;
|
|
32
32
|
}, B = () => {
|
|
@@ -39,7 +39,7 @@ const L = ["id"], M = {
|
|
|
39
39
|
return `#${f(i.item.id)}`;
|
|
40
40
|
}, $ = async (e) => {
|
|
41
41
|
var t, a, o, b;
|
|
42
|
-
(a = (t = n.value).onSidebarClick) == null || a.call(t, i.item.id), n.value.pathRouting && (e.preventDefault(), i.hasChildren && m("toggleOpen"), (b = (o = i.item) == null ? void 0 : o.select) == null || b.call(o), m("toggleOpen"), d.value = !1, S(i.item.id),
|
|
42
|
+
(a = (t = n.value).onSidebarClick) == null || a.call(t, i.item.id), n.value.pathRouting && (e.preventDefault(), i.hasChildren && m("toggleOpen"), (b = (o = i.item) == null ? void 0 : o.select) == null || b.call(o), m("toggleOpen"), d.value = !1, S(i.item.id), H(i.item.id), await k(100), d.value = !0);
|
|
43
43
|
};
|
|
44
44
|
return (e, t) => {
|
|
45
45
|
var a, o;
|
|
@@ -86,7 +86,7 @@ const L = ["id"], M = {
|
|
|
86
86
|
e.item.httpVerb && !e.hasChildren ? (s(), p("p", j, [
|
|
87
87
|
t[1] || (t[1] = h(" ")),
|
|
88
88
|
t[2] || (t[2] = r("span", { class: "sr-only" }, "HTTP Method: ", -1)),
|
|
89
|
-
C(
|
|
89
|
+
C(D, {
|
|
90
90
|
active: e.isActive,
|
|
91
91
|
method: e.item.httpVerb
|
|
92
92
|
}, null, 8, ["active", "method"])
|