@scalar/api-reference 1.25.36 → 1.25.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/README.md +8 -0
- package/dist/browser/standalone.js +14184 -13904
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/Anchor.vue.d.ts +3 -12
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/components/Anchor/Anchor.vue2.js +21 -21
- package/dist/components/ApiClientModal.vue.d.ts +3 -12
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.d.ts +4 -13
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts +8 -17
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +3 -3
- package/dist/components/ApiReferenceLayout.vue2.js +85 -82
- package/dist/components/Badge/Badge.vue.d.ts +1 -1
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts +1 -1
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Card/CardContent.vue.d.ts +1 -10
- package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
- package/dist/components/Card/CardFooter.vue.d.ts +1 -10
- package/dist/components/Card/CardFooter.vue.d.ts.map +1 -1
- package/dist/components/Card/CardHeader.vue.d.ts +1 -10
- package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
- package/dist/components/Card/CardTab.vue.d.ts +1 -1
- package/dist/components/Card/CardTab.vue.d.ts.map +1 -1
- package/dist/components/Card/CardTabHeader.vue.d.ts +4 -4
- package/dist/components/Card/CardTabHeader.vue.d.ts.map +1 -1
- package/dist/components/ClassicHeader.vue.d.ts +1 -1
- package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts +3 -12
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +14 -14
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +56 -56
- package/dist/components/Content/Content.vue.d.ts +3 -12
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue2.js +41 -41
- package/dist/components/Content/Introduction/Description.vue.d.ts +3 -12
- package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +3 -12
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Lazy.vue.d.ts +4 -27
- package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Loading.vue.d.ts +4 -25
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.d.ts +3 -12
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue2.js +32 -32
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +3 -12
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModelsAccordion.vue2.js +30 -30
- package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts +6 -15
- package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetails.vue.d.ts +3 -12
- package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetails.vue.js +45 -45
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts +3 -12
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetailsCard.vue2.js +37 -37
- package/dist/components/Content/Operation/EndpointPath.vue.d.ts +3 -12
- package/dist/components/Content/Operation/EndpointPath.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Operation.vue.d.ts +3 -12
- package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Operation.vue2.js +35 -35
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts +3 -12
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts +3 -12
- package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts +4 -27
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Parameters.vue.d.ts +4 -27
- package/dist/components/Content/Operation/Parameters.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/RequestBody.vue.d.ts +3 -12
- package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts +3 -12
- package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts +3 -12
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue2.js +16 -16
- package/dist/components/Content/Schema/Schema.vue.d.ts +4 -25
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +3 -12
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +4 -29
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +85 -85
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts +3 -12
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +11 -11
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +4 -27
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +114 -114
- package/dist/components/Content/Tag/Endpoints.vue.d.ts +3 -12
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Endpoints.vue2.js +11 -11
- package/dist/components/Content/Tag/Tag.vue.d.ts +3 -12
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagAccordion.vue.d.ts +3 -12
- package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.d.ts +3 -12
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhook.vue.d.ts +3 -12
- package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhook.vue2.js +22 -22
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts +3 -12
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhooks.vue2.js +39 -39
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts +6 -15
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts +6 -15
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue2.js +14 -14
- package/dist/components/GettingStarted.vue.d.ts +9 -18
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue2.js +32 -32
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +3 -12
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/IntersectionObserver.vue.d.ts +6 -15
- package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.d.ts +5 -14
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/Layouts.vue.d.ts +5 -14
- package/dist/components/Layouts/Layouts.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.d.ts +5 -14
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/LoadingSkeleton.vue.d.ts +4 -25
- package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.d.ts +6 -15
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/ScreenReader.vue.d.ts +4 -25
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.d.ts +3 -12
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/Section.vue.d.ts +3 -12
- package/dist/components/Section/Section.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.d.ts +3 -12
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionColumn.vue.d.ts +1 -1
- package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionColumns.vue.d.ts +1 -1
- package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainer.vue.d.ts +1 -1
- package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContent.vue.d.ts +4 -25
- package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeader.vue.d.ts +4 -29
- package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.d.ts +3 -12
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue2.js +9 -9
- package/dist/components/Sidebar/Sidebar.vue.d.ts +3 -12
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.d.ts +6 -15
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue2.js +24 -24
- package/dist/components/Sidebar/SidebarGroup.vue.d.ts +3 -12
- package/dist/components/Sidebar/SidebarGroup.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts +3 -12
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.vue.d.ts +1 -1
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts +3 -12
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts +3 -12
- package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +253 -13
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts +3 -12
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.d.ts +8 -29
- package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue2.js +41 -41
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts +3 -12
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesSelect.vue2.js +19 -19
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts +3 -12
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts +6 -15
- package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +3 -12
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/TextSelect.vue.d.ts +6 -15
- package/dist/features/ExampleRequest/TextSelect.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts +3 -12
- package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts +3 -12
- package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue2.js +83 -83
- package/dist/features/Search/SearchButton.vue.d.ts +4 -25
- package/dist/features/Search/SearchButton.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchButton.vue2.js +27 -27
- package/dist/features/Search/SearchModal.vue.d.ts +3 -12
- package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchModal.vue2.js +66 -66
- package/dist/features/Search/useSearchIndex.d.ts +2 -2
- package/dist/helpers/provideSymbols.d.ts +2 -0
- package/dist/helpers/provideSymbols.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.js +5 -4
- package/dist/hooks/useDarkModeState.d.ts +1 -1
- package/dist/hooks/useNavState.d.ts +3 -3
- package/dist/hooks/useReactiveSpec.d.ts +2 -2
- package/dist/hooks/useRefOnMount.d.ts +1 -1
- package/dist/hooks/useRefOnMount.d.ts.map +1 -1
- package/dist/hooks/useSidebar.d.ts +3 -3
- package/dist/index.js +55 -54
- package/dist/legacy/components/CardForm.vue.d.ts +1 -1
- package/dist/legacy/components/CardForm.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormButton.vue.d.ts +2 -2
- package/dist/legacy/components/CardFormButton.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormGroup.vue.d.ts +1 -1
- package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormRows.vue.d.ts +1 -1
- package/dist/legacy/components/CardFormRows.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormTextInput.vue.d.ts +3 -12
- package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormTextInput.vue2.js +21 -21
- package/dist/legacy/components/SecurityScheme.vue.d.ts +3 -12
- package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecurityScheme.vue2.js +147 -147
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +6 -15
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecuritySchemeScopes.vue2.js +37 -37
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +6 -15
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecuritySchemeSelector.vue2.js +36 -36
- package/dist/legacy/fixtures/index.d.ts +0 -1
- package/dist/legacy/fixtures/index.d.ts.map +1 -1
- package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
- package/dist/legacy/stores/useRequestStore.d.ts +7 -3
- package/dist/legacy/stores/useRequestStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +13 -16
- package/dist/components/HelpfulLink.vue.d.ts +0 -25
- package/dist/components/HelpfulLink.vue.d.ts.map +0 -1
- package/dist/legacy/fixtures/httpHeaders.d.ts +0 -6
- package/dist/legacy/fixtures/httpHeaders.d.ts.map +0 -1
|
@@ -2,11 +2,11 @@ declare function __VLS_template(): {
|
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
6
6
|
id: string;
|
|
7
|
-
}
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
8
8
|
id: string;
|
|
9
|
-
}
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -14,13 +14,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
14
14
|
$slots: S;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToOption<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
17
|
//# sourceMappingURL=Anchor.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Anchor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Anchor/Anchor.vue"],"names":[],"mappings":"AAgGA,iBAAS,cAAc;qBA8CM,GAAG;qBACH,GAAG;EAiB/B;AACD,QAAA,MAAM,eAAe;QApFf,MAAM;;QAAN,MAAM;
|
|
1
|
+
{"version":3,"file":"Anchor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Anchor/Anchor.vue"],"names":[],"mappings":"AAgGA,iBAAS,cAAc;qBA8CM,GAAG;qBACH,GAAG;EAiB/B;AACD,QAAA,MAAM,eAAe;QApFf,MAAM;;QAAN,MAAM;iGA0FV,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useClipboard as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as i, openBlock as d, createElementBlock as p, renderSlot as r, createElementVNode as e, withModifiers as u, unref as a, createTextVNode as n, createVNode as f, withCtx as m } from "vue";
|
|
2
|
+
import C from "../ScreenReader.vue.js";
|
|
3
|
+
import { useClipboard as b } from "../../hooks/useClipboard.js";
|
|
4
|
+
const w = { class: "label" }, c = { class: "anchor" }, V = /* @__PURE__ */ i({
|
|
5
5
|
__name: "Anchor",
|
|
6
6
|
props: {
|
|
7
7
|
id: {}
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
const { copyToClipboard:
|
|
11
|
-
const
|
|
12
|
-
return
|
|
9
|
+
setup(k) {
|
|
10
|
+
const { copyToClipboard: s } = b(), l = (t) => {
|
|
11
|
+
const o = new URL(window.location.href);
|
|
12
|
+
return o.hash = t, o.toString();
|
|
13
13
|
};
|
|
14
|
-
return (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
return (t, o) => (d(), p("span", w, [
|
|
15
|
+
r(t.$slots, "default", {}, void 0, !0),
|
|
16
|
+
e("span", c, [
|
|
17
|
+
o[4] || (o[4] = e("span", null, "", -1)),
|
|
18
|
+
e("button", {
|
|
19
19
|
class: "anchor-copy",
|
|
20
20
|
type: "button",
|
|
21
|
-
onClick:
|
|
21
|
+
onClick: o[0] || (o[0] = u((y) => a(s)(l(t.id)), ["stop"]))
|
|
22
22
|
}, [
|
|
23
|
-
n(" # "),
|
|
24
|
-
|
|
25
|
-
default:
|
|
26
|
-
n('Copy link to "'),
|
|
27
|
-
|
|
28
|
-
n('"')
|
|
23
|
+
o[3] || (o[3] = n(" # ")),
|
|
24
|
+
f(C, null, {
|
|
25
|
+
default: m(() => [
|
|
26
|
+
o[1] || (o[1] = n('Copy link to "')),
|
|
27
|
+
r(t.$slots, "default", {}, void 0, !0),
|
|
28
|
+
o[2] || (o[2] = n('"'))
|
|
29
29
|
]),
|
|
30
30
|
_: 3
|
|
31
31
|
})
|
|
@@ -35,5 +35,5 @@ const S = (t) => (m("data-v-d9801d4e"), t = t(), _(), t), b = { class: "label" }
|
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
V as default
|
|
39
39
|
};
|
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
import type { Spec, SpecConfiguration } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
proxyUrl?: string;
|
|
4
4
|
preferredSecurityScheme?: string | null;
|
|
5
5
|
spec?: SpecConfiguration;
|
|
6
6
|
servers?: Spec["servers"];
|
|
7
|
-
}
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
8
8
|
proxyUrl?: string;
|
|
9
9
|
preferredSecurityScheme?: string | null;
|
|
10
10
|
spec?: SpecConfiguration;
|
|
11
11
|
servers?: Spec["servers"];
|
|
12
|
-
}
|
|
12
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToOption<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
14
|
//# sourceMappingURL=ApiClientModal.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue"],"names":[],"mappings":"AAuFA,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;;eAQtD,MAAM;8BACS,MAAM,GAAG,IAAI;WAChC,iBAAiB;cACd,IAAI,CAAC,SAAS,CAAC;;eAHd,MAAM;8BACS,MAAM,GAAG,IAAI;WAChC,iBAAiB;cACd,IAAI,CAAC,SAAS,CAAC;;AA2G3B,wBAMG
|
|
1
|
+
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue"],"names":[],"mappings":"AAuFA,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;;eAQtD,MAAM;8BACS,MAAM,GAAG,IAAI;WAChC,iBAAiB;cACd,IAAI,CAAC,SAAS,CAAC;;eAHd,MAAM;8BACS,MAAM,GAAG,IAAI;WAChC,iBAAiB;cACd,IAAI,CAAC,SAAS,CAAC;;AA2G3B,wBAMG"}
|
|
@@ -3,11 +3,11 @@ declare function __VLS_template(): {
|
|
|
3
3
|
footer?(_: {}): any;
|
|
4
4
|
footer?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
7
|
-
updateContent: (value: string) =>
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<ReferenceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
updateContent: (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<ReferenceProps> & Readonly<{
|
|
9
9
|
onUpdateContent?: ((value: string) => any) | undefined;
|
|
10
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
12
|
export default _default;
|
|
13
13
|
|
|
@@ -16,13 +16,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
16
16
|
$slots: S;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToOption<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
19
|
//# sourceMappingURL=ApiReference.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AA8F9C,iBAAS,cAAc;oBAkFM,GAAG;oBACH,GAAG;EAuB/B;AACD,QAAA,MAAM,eAAe;;;;kFASnB,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,GAAG,CAAC,OAAO,CAAC;IAC3D,KAAK,sBAAsB,GAAG,OAAO,KAAK,EAAE,gBAAgB,CAAC;IAC7D,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC;IACrD,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;IAElE,MAAM,uBAAuB,EAAE,uBAAuB,CAAC;IAGvD,SAAS,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAC7E,SAAS,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAC7E,SA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CAAA;CACD,CAAC"}
|
|
@@ -17,16 +17,16 @@ declare function __VLS_template(): Readonly<{
|
|
|
17
17
|
"sidebar-start": (props: ReferenceSlotProps) => any;
|
|
18
18
|
"sidebar-end": (props: ReferenceSlotProps) => any;
|
|
19
19
|
};
|
|
20
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
20
|
+
declare const __VLS_component: import("vue").DefineComponent<Omit<ReferenceLayoutProps, "isDark">, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
21
|
changeTheme: (args_0: {
|
|
22
22
|
id: ThemeId;
|
|
23
23
|
label: string;
|
|
24
|
-
}) =>
|
|
25
|
-
updateContent: (value: string) =>
|
|
26
|
-
loadSwaggerFile: () =>
|
|
27
|
-
linkSwaggerFile: () =>
|
|
28
|
-
toggleDarkMode: () =>
|
|
29
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
24
|
+
}) => any;
|
|
25
|
+
updateContent: (value: string) => any;
|
|
26
|
+
loadSwaggerFile: () => any;
|
|
27
|
+
linkSwaggerFile: () => any;
|
|
28
|
+
toggleDarkMode: () => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<Omit<ReferenceLayoutProps, "isDark">> & Readonly<{
|
|
30
30
|
onChangeTheme?: ((args_0: {
|
|
31
31
|
id: ThemeId;
|
|
32
32
|
label: string;
|
|
@@ -35,7 +35,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOp
|
|
|
35
35
|
onLoadSwaggerFile?: (() => any) | undefined;
|
|
36
36
|
onLinkSwaggerFile?: (() => any) | undefined;
|
|
37
37
|
onToggleDarkMode?: (() => any) | undefined;
|
|
38
|
-
}, {}, {}>;
|
|
38
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
40
|
export default _default;
|
|
41
41
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -43,13 +43,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
43
43
|
$slots: S;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type __VLS_TypePropsToOption<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: import('vue').PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
46
|
//# sourceMappingURL=ApiReferenceLayout.vue.d.ts.map
|
|
@@ -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":"AAukBA,OAAO,EACL,KAAK,OAAO,EAGb,MAAM,gBAAgB,CAAA;AA4BvB,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAqPjB,iBAAS,cAAc;oBAzNe,kBAAkB,KAAK,GAAG;oBAA1B,kBAAkB,KAAK,GAAG;oBAA1B,kBAAkB,KAAK,GAAG;6BAA1B,kBAAkB,KAAK,GAAG;2BAA1B,kBAAkB,KAAK,GAAG;6BAA1B,kBAAkB,KAAK,GAAG;2BAA1B,kBAAkB,KAAK,GAAG;;oBAA1B,kBAAkB,KAAK,GAAG;oBAA1B,kBAAkB,KAAK,GAAG;oBAA1B,kBAAkB,KAAK,GAAG;6BAA1B,kBAAkB,KAAK,GAAG;2BAA1B,kBAAkB,KAAK,GAAG;6BAA1B,kBAAkB,KAAK,GAAG;2BAA1B,kBAAkB,KAAK,GAAG;EA6gB/D;AACD,QAAA,MAAM,eAAe;;YAOqB,OAAO;eAAS,MAAM;;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;kFAM9D,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./ApiReferenceLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1f7a83f1"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
a as default
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ee, ref as R, computed as
|
|
1
|
+
import { defineComponent as ee, ref as R, computed as y, onBeforeMount as P, onMounted as oe, onUnmounted as te, watch as re, onServerPrefetch as ae, useSSRContext as ne, getCurrentInstance as ie, provide as m, openBlock as w, createElementBlock as T, Fragment as k, createElementVNode as l, normalizeClass as se, unref as p, normalizeStyle as le, renderSlot as d, normalizeProps as c, guardReactiveProps as u, createVNode as S, withCtx as v, createCommentVNode as O, withDirectives as de, vShow as ce, createSlots as ue } from "vue";
|
|
2
2
|
import { provideUseId as pe } from "@headlessui/vue";
|
|
3
3
|
import { addScalarClassesToHeadless as fe } from "@scalar/components";
|
|
4
4
|
import { defaultStateFactory as A } from "@scalar/oas-utils/helpers";
|
|
@@ -8,17 +8,17 @@ import { useMediaQuery as he, useResizeObserver as be, useDebounceFn as ye } fro
|
|
|
8
8
|
import we from "./ApiClientModal.vue.js";
|
|
9
9
|
import Te from "./GettingStarted.vue.js";
|
|
10
10
|
import { downloadSpecBus as F, downloadSpecFile as Re } from "../helpers/specDownloads.js";
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import { useNavState as
|
|
17
|
-
import { sleep as
|
|
18
|
-
const
|
|
11
|
+
import { GLOBAL_SECURITY_SYMBOL as Oe, HIDE_DOWNLOAD_BUTTON_SYMBOL as $e, HIDE_TEST_REQUEST_BUTTON_SYMBOL as Ce, OPENAPI_DOCUMENT_URL_SYMBOL as Ee, INTEGRATION_SYMBOL as Ie } from "../helpers/provideSymbols.js";
|
|
12
|
+
import { useDeprecationWarnings as Le } from "../hooks/useDeprecationWarnings.js";
|
|
13
|
+
import Be from "./Sidebar/Sidebar.vue.js";
|
|
14
|
+
import Ue from "./Content/Content.vue.js";
|
|
15
|
+
import { useSidebar as De } from "../hooks/useSidebar.js";
|
|
16
|
+
import { useNavState as Me } from "../hooks/useNavState.js";
|
|
17
|
+
import { sleep as Pe } from "../helpers/sleep.js";
|
|
18
|
+
const ke = ["innerHTML"], Ae = { class: "references-header" }, Fe = ["aria-label"], Ne = { class: "references-navigation-list" }, He = { class: "references-editor" }, Ye = { class: "references-editor-textarea" }, ze = ["aria-label"], Ge = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "references-footer"
|
|
21
|
-
},
|
|
21
|
+
}, io = /* @__PURE__ */ ee({
|
|
22
22
|
inheritAttrs: !1,
|
|
23
23
|
__name: "ApiReferenceLayout",
|
|
24
24
|
props: {
|
|
@@ -30,53 +30,53 @@ const Pe = ["innerHTML"], ke = { class: "references-header" }, Ae = ["aria-label
|
|
|
30
30
|
setup(N) {
|
|
31
31
|
const t = N, { initializeToasts: H, toast: Y } = Se();
|
|
32
32
|
H((e) => Y(e));
|
|
33
|
-
const z = he("(min-width: 1150px)"),
|
|
33
|
+
const z = he("(min-width: 1150px)"), G = R("100dvh"), f = R(null);
|
|
34
34
|
be(f, (e) => {
|
|
35
|
-
|
|
35
|
+
G.value = e[0].contentRect.height + "px";
|
|
36
36
|
});
|
|
37
|
-
const
|
|
37
|
+
const V = y(ge), {
|
|
38
38
|
breadcrumb: Q,
|
|
39
|
-
collapsedSidebarItems:
|
|
39
|
+
collapsedSidebarItems: h,
|
|
40
40
|
isSidebarOpen: W,
|
|
41
|
-
setCollapsedSidebarItem:
|
|
41
|
+
setCollapsedSidebarItem: $,
|
|
42
42
|
hideModels: j,
|
|
43
43
|
defaultOpenAllTags: q,
|
|
44
44
|
setParsedSpec: K,
|
|
45
|
-
scrollToOperation:
|
|
46
|
-
} =
|
|
47
|
-
getPathRoutingId:
|
|
48
|
-
getSectionId:
|
|
49
|
-
getTagId:
|
|
45
|
+
scrollToOperation: _
|
|
46
|
+
} = De(), {
|
|
47
|
+
getPathRoutingId: C,
|
|
48
|
+
getSectionId: J,
|
|
49
|
+
getTagId: X,
|
|
50
50
|
hash: E,
|
|
51
|
-
isIntersectionEnabled:
|
|
52
|
-
pathRouting:
|
|
51
|
+
isIntersectionEnabled: I,
|
|
52
|
+
pathRouting: L,
|
|
53
53
|
updateHash: B
|
|
54
|
-
} =
|
|
55
|
-
|
|
54
|
+
} = Me();
|
|
55
|
+
L.value = t.configuration.pathRouting, P(() => B());
|
|
56
56
|
const U = async (e) => {
|
|
57
57
|
var o;
|
|
58
|
-
|
|
58
|
+
I.value = !1, B(), e ? _(e) : (o = f.value) == null || o.scrollTo(0, 0), await Pe(100), I.value = !0;
|
|
59
59
|
}, D = R(0);
|
|
60
60
|
P(() => fe()), oe(() => {
|
|
61
61
|
var r, a, n;
|
|
62
|
-
history.scrollRestoration = "manual", F.on(({ specTitle:
|
|
63
|
-
Re(t.rawSpec,
|
|
62
|
+
history.scrollRestoration = "manual", F.on(({ specTitle: s }) => {
|
|
63
|
+
Re(t.rawSpec, s);
|
|
64
64
|
});
|
|
65
65
|
const e = (a = (r = f.value) == null ? void 0 : r.parentElement) == null ? void 0 : a.getBoundingClientRect(), o = (n = f.value) == null ? void 0 : n.getBoundingClientRect();
|
|
66
66
|
if (e && o) {
|
|
67
|
-
const
|
|
68
|
-
D.value =
|
|
67
|
+
const s = o.top - e.top;
|
|
68
|
+
D.value = s < 2 ? 0 : s;
|
|
69
69
|
}
|
|
70
|
-
window.onhashchange = () => U(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () =>
|
|
70
|
+
window.onhashchange = () => U(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => L.value && U(C(window.location.pathname));
|
|
71
71
|
});
|
|
72
|
-
const
|
|
72
|
+
const Z = y(
|
|
73
73
|
() => z.value || !t.configuration.isEditable
|
|
74
74
|
), M = ye((e) => {
|
|
75
75
|
if ((e.target.scrollTop ?? 0) < 50) {
|
|
76
76
|
const r = t.configuration.pathRouting ? t.configuration.pathRouting.basePath : window.location.pathname;
|
|
77
77
|
window.history.replaceState({}, "", r + window.location.search), E.value = "";
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
79
|
+
}), i = y(() => ({
|
|
80
80
|
breadcrumb: Q.value,
|
|
81
81
|
spec: t.parsedSpec
|
|
82
82
|
}));
|
|
@@ -86,50 +86,53 @@ const Pe = ["innerHTML"], ke = { class: "references-header" }, Ae = ["aria-label
|
|
|
86
86
|
var o, r;
|
|
87
87
|
const e = ne();
|
|
88
88
|
if (e && (e.payload || (e.payload = { data: A() }), (o = e.payload).data || (o.data = A()), t.configuration.pathRouting)) {
|
|
89
|
-
const a =
|
|
89
|
+
const a = C(e.url);
|
|
90
90
|
E.value = a, e.payload.data.hash = a;
|
|
91
|
-
for (const n in
|
|
92
|
-
Object.hasOwn(
|
|
91
|
+
for (const n in h)
|
|
92
|
+
Object.hasOwn(h, n) && delete h[n];
|
|
93
93
|
if (a)
|
|
94
|
-
|
|
94
|
+
$(J(a), !0);
|
|
95
95
|
else {
|
|
96
96
|
const n = (r = t.parsedSpec.tags) == null ? void 0 : r[0];
|
|
97
|
-
n &&
|
|
97
|
+
n && $(X(n), !0);
|
|
98
98
|
}
|
|
99
|
-
e.payload.data["useSidebarContent-collapsedSidebarItems"] =
|
|
99
|
+
e.payload.data["useSidebarContent-collapsedSidebarItems"] = h;
|
|
100
100
|
}
|
|
101
101
|
}), pe(() => {
|
|
102
102
|
var a;
|
|
103
|
-
const e =
|
|
103
|
+
const e = ie(), o = "scalar-instance-id";
|
|
104
104
|
if (!e) return o;
|
|
105
105
|
let r = e.uid;
|
|
106
106
|
return typeof window > "u" ? (e.attrs || (e.attrs = {}), e.attrs[o] = r) : (a = e.vnode.el) != null && a.getAttribute && (r = e.vnode.el.getAttribute(o)), `${o}-${r}`;
|
|
107
|
-
}),
|
|
108
|
-
|
|
107
|
+
}), m(Oe, () => t.parsedSpec.security), m(
|
|
108
|
+
$e,
|
|
109
109
|
() => t.configuration.hideDownloadButton
|
|
110
|
-
),
|
|
111
|
-
|
|
110
|
+
), m(
|
|
111
|
+
Ce,
|
|
112
112
|
() => t.configuration.hideTestRequestButton
|
|
113
|
-
),
|
|
113
|
+
), m(Ee, () => {
|
|
114
114
|
var e;
|
|
115
115
|
return (e = t.configuration.spec) == null ? void 0 : e.url;
|
|
116
|
-
}),
|
|
117
|
-
|
|
116
|
+
}), m(
|
|
117
|
+
Ie,
|
|
118
|
+
() => t.configuration._integration !== null ? t.configuration._integration : "vue"
|
|
119
|
+
), j.value = t.configuration.hideModels ?? !1, q.value = t.configuration.defaultOpenAllTags ?? !1, Le(t.configuration);
|
|
120
|
+
const x = y(
|
|
118
121
|
() => `<style>
|
|
119
122
|
${me(t.configuration.theme, {
|
|
120
123
|
fonts: t.configuration.withDefaultFonts
|
|
121
124
|
})}</style>`
|
|
122
125
|
);
|
|
123
126
|
return (e, o) => {
|
|
124
|
-
var r, a, n,
|
|
127
|
+
var r, a, n, s;
|
|
125
128
|
return w(), T(k, null, [
|
|
126
|
-
l("div", { innerHTML: x.value }, null, 8,
|
|
129
|
+
l("div", { innerHTML: x.value }, null, 8, ke),
|
|
127
130
|
l("div", {
|
|
128
131
|
ref_key: "documentEl",
|
|
129
132
|
ref: f,
|
|
130
|
-
class:
|
|
133
|
+
class: se(["scalar-app scalar-api-reference references-layout", [
|
|
131
134
|
{
|
|
132
|
-
"scalar-scrollbars-obtrusive":
|
|
135
|
+
"scalar-scrollbars-obtrusive": V.value,
|
|
133
136
|
"references-editable": e.configuration.isEditable,
|
|
134
137
|
"references-sidebar": e.configuration.showSidebar,
|
|
135
138
|
"references-sidebar-mobile-open": p(W),
|
|
@@ -141,66 +144,66 @@ const Pe = ["innerHTML"], ke = { class: "references-header" }, Ae = ["aria-label
|
|
|
141
144
|
"--scalar-y-offset": `var(--scalar-custom-header-height, ${D.value}px)`
|
|
142
145
|
}),
|
|
143
146
|
onScrollPassive: o[4] || (o[4] = //@ts-ignore
|
|
144
|
-
(...
|
|
147
|
+
(...b) => p(M) && p(M)(...b))
|
|
145
148
|
}, [
|
|
146
|
-
l("div",
|
|
147
|
-
d(e.$slots, "header", c(u(
|
|
149
|
+
l("div", Ae, [
|
|
150
|
+
d(e.$slots, "header", c(u(i.value)), void 0, !0)
|
|
148
151
|
]),
|
|
149
152
|
e.configuration.showSidebar ? (w(), T("nav", {
|
|
150
153
|
key: 0,
|
|
151
154
|
"aria-label": `Contents of ${(r = e.parsedSpec.info) == null ? void 0 : r.title}`,
|
|
152
155
|
class: "references-navigation t-doc__sidebar"
|
|
153
156
|
}, [
|
|
154
|
-
l("div",
|
|
155
|
-
|
|
157
|
+
l("div", Ne, [
|
|
158
|
+
S(p(Be), {
|
|
156
159
|
operationsSorter: e.configuration.operationsSorter,
|
|
157
160
|
parsedSpec: e.parsedSpec,
|
|
158
161
|
tagsSorter: e.configuration.tagsSorter
|
|
159
162
|
}, {
|
|
160
|
-
"sidebar-start":
|
|
161
|
-
d(e.$slots, "sidebar-start", c(u(
|
|
163
|
+
"sidebar-start": v(() => [
|
|
164
|
+
d(e.$slots, "sidebar-start", c(u(i.value)), void 0, !0)
|
|
162
165
|
]),
|
|
163
|
-
"sidebar-end":
|
|
164
|
-
d(e.$slots, "sidebar-end", c(u(
|
|
166
|
+
"sidebar-end": v(() => [
|
|
167
|
+
d(e.$slots, "sidebar-end", c(u(i.value)), void 0, !0)
|
|
165
168
|
]),
|
|
166
169
|
_: 3
|
|
167
170
|
}, 8, ["operationsSorter", "parsedSpec", "tagsSorter"])
|
|
168
171
|
])
|
|
169
|
-
], 8,
|
|
170
|
-
de(l("div",
|
|
171
|
-
l("div",
|
|
172
|
-
d(e.$slots, "editor", c(u(
|
|
172
|
+
], 8, Fe)) : O("", !0),
|
|
173
|
+
de(l("div", He, [
|
|
174
|
+
l("div", Ye, [
|
|
175
|
+
d(e.$slots, "editor", c(u(i.value)), void 0, !0)
|
|
173
176
|
])
|
|
174
177
|
], 512), [
|
|
175
178
|
[ce, e.configuration.isEditable]
|
|
176
179
|
]),
|
|
177
|
-
|
|
180
|
+
Z.value ? (w(), T(k, { key: 1 }, [
|
|
178
181
|
l("section", {
|
|
179
182
|
"aria-label": `Open API Documentation for ${(a = e.parsedSpec.info) == null ? void 0 : a.title}`,
|
|
180
183
|
class: "references-rendered"
|
|
181
184
|
}, [
|
|
182
|
-
|
|
185
|
+
S(p(Ue), {
|
|
183
186
|
baseServerURL: e.configuration.baseServerURL,
|
|
184
187
|
layout: e.configuration.layout === "classic" ? "accordion" : "default",
|
|
185
188
|
parsedSpec: e.parsedSpec,
|
|
186
189
|
proxy: e.configuration.proxy,
|
|
187
190
|
servers: e.configuration.servers
|
|
188
191
|
}, ue({
|
|
189
|
-
start:
|
|
190
|
-
d(e.$slots, "content-start", c(u(
|
|
192
|
+
start: v(() => [
|
|
193
|
+
d(e.$slots, "content-start", c(u(i.value)), void 0, !0)
|
|
191
194
|
]),
|
|
192
|
-
end:
|
|
193
|
-
d(e.$slots, "content-end", c(u(
|
|
195
|
+
end: v(() => [
|
|
196
|
+
d(e.$slots, "content-end", c(u(i.value)), void 0, !0)
|
|
194
197
|
]),
|
|
195
198
|
_: 2
|
|
196
199
|
}, [
|
|
197
200
|
(n = e.configuration) != null && n.isEditable ? {
|
|
198
201
|
name: "empty-state",
|
|
199
|
-
fn:
|
|
200
|
-
var
|
|
202
|
+
fn: v(() => {
|
|
203
|
+
var b;
|
|
201
204
|
return [
|
|
202
|
-
|
|
203
|
-
theme: ((
|
|
205
|
+
S(Te, {
|
|
206
|
+
theme: ((b = e.configuration) == null ? void 0 : b.theme) || "default",
|
|
204
207
|
onChangeTheme: o[0] || (o[0] = (g) => e.$emit("changeTheme", g)),
|
|
205
208
|
onLinkSwaggerFile: o[1] || (o[1] = (g) => e.$emit("linkSwaggerFile")),
|
|
206
209
|
onLoadSwaggerFile: o[2] || (o[2] = (g) => e.$emit("loadSwaggerFile")),
|
|
@@ -211,23 +214,23 @@ const Pe = ["innerHTML"], ke = { class: "references-header" }, Ae = ["aria-label
|
|
|
211
214
|
key: "0"
|
|
212
215
|
} : void 0
|
|
213
216
|
]), 1032, ["baseServerURL", "layout", "parsedSpec", "proxy", "servers"])
|
|
214
|
-
], 8,
|
|
215
|
-
e.$slots.footer ? (w(), T("div",
|
|
216
|
-
d(e.$slots, "footer", c(u(
|
|
217
|
-
])) :
|
|
218
|
-
], 64)) :
|
|
219
|
-
|
|
220
|
-
preferredSecurityScheme: (
|
|
217
|
+
], 8, ze),
|
|
218
|
+
e.$slots.footer ? (w(), T("div", Ge, [
|
|
219
|
+
d(e.$slots, "footer", c(u(i.value)), void 0, !0)
|
|
220
|
+
])) : O("", !0)
|
|
221
|
+
], 64)) : O("", !0),
|
|
222
|
+
S(we, {
|
|
223
|
+
preferredSecurityScheme: (s = e.configuration.authentication) == null ? void 0 : s.preferredSecurityScheme,
|
|
221
224
|
proxyUrl: e.configuration.proxy,
|
|
222
225
|
servers: e.configuration.servers,
|
|
223
226
|
spec: e.configuration.spec
|
|
224
227
|
}, null, 8, ["preferredSecurityScheme", "proxyUrl", "servers", "spec"])
|
|
225
228
|
], 38),
|
|
226
|
-
|
|
229
|
+
S(p(ve))
|
|
227
230
|
], 64);
|
|
228
231
|
};
|
|
229
232
|
}
|
|
230
233
|
});
|
|
231
234
|
export {
|
|
232
|
-
|
|
235
|
+
io as default
|
|
233
236
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
5
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
6
|
export default _default;
|
|
7
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.vue"],"names":[],"mappings":"AA2BA,iBAAS,cAAc;qBAqBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.vue"],"names":[],"mappings":"AA2BA,iBAAS,cAAc;qBAqBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
5
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
6
|
export default _default;
|
|
7
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.vue"],"names":[],"mappings":"AAmCA,iBAAS,cAAc;qBAsBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.vue"],"names":[],"mappings":"AAmCA,iBAAS,cAAc;qBAsBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|