@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Webhook.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhook.vue"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;aASrD,oBAAoB;;aAApB,oBAAoB;;AA2E/B,wBAMG
|
|
1
|
+
{"version":3,"file":"Webhook.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhook.vue"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;aASrD,oBAAoB;;aAApB,oBAAoB;;AA2E/B,wBAMG"}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useResponses as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as u, openBlock as d, createElementBlock as i, Fragment as k, createVNode as t, withCtx as s, createTextVNode as n, unref as f, createCommentVNode as l } from "vue";
|
|
2
|
+
import b from "../Operation/Parameters.vue.js";
|
|
3
|
+
import w from "../Operation/RequestBody.vue.js";
|
|
4
|
+
import { useResponses as y } from "../../../hooks/useResponses.js";
|
|
5
|
+
const C = /* @__PURE__ */ u({
|
|
6
6
|
__name: "Webhook",
|
|
7
7
|
props: {
|
|
8
8
|
webhook: {}
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
return (
|
|
13
|
-
var
|
|
14
|
-
return
|
|
15
|
-
|
|
10
|
+
setup(m) {
|
|
11
|
+
const a = m, { responses: p } = y(a.webhook);
|
|
12
|
+
return (o, e) => {
|
|
13
|
+
var r;
|
|
14
|
+
return o.webhook ? (d(), i(k, { key: 0 }, [
|
|
15
|
+
t(w, {
|
|
16
16
|
class: "webhook-request-body",
|
|
17
|
-
requestBody: (
|
|
17
|
+
requestBody: (r = o.webhook.information) == null ? void 0 : r.requestBody
|
|
18
18
|
}, {
|
|
19
|
-
title:
|
|
20
|
-
|
|
21
|
-
]),
|
|
19
|
+
title: s(() => e[0] || (e[0] = [
|
|
20
|
+
n("Payload")
|
|
21
|
+
])),
|
|
22
22
|
_: 1
|
|
23
23
|
}, 8, ["requestBody"]),
|
|
24
|
-
|
|
24
|
+
t(b, {
|
|
25
25
|
class: "webhook-response-parameters",
|
|
26
|
-
parameters:
|
|
26
|
+
parameters: f(p)
|
|
27
27
|
}, {
|
|
28
|
-
title:
|
|
29
|
-
|
|
30
|
-
]),
|
|
28
|
+
title: s(() => e[1] || (e[1] = [
|
|
29
|
+
n("Responses")
|
|
30
|
+
])),
|
|
31
31
|
_: 1
|
|
32
32
|
}, 8, ["parameters"])
|
|
33
|
-
], 64)) :
|
|
33
|
+
], 64)) : l("", !0);
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
C as default
|
|
39
39
|
};
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import type { Webhooks } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
webhooks: Webhooks;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
5
|
webhooks: Webhooks;
|
|
6
|
-
}
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
8
|
//# sourceMappingURL=Webhooks.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;cAiBxC,QAAQ;;cAAR,QAAQ;;AAgOpB,wBAMG
|
|
1
|
+
{"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;cAiBxC,QAAQ;;cAAR,QAAQ;;AAgOpB,wBAMG"}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarMarkdown as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { useSidebar as
|
|
11
|
-
import { useNavState as
|
|
12
|
-
const
|
|
1
|
+
import { defineComponent as B, computed as m, openBlock as s, createBlock as n, unref as t, withCtx as l, createVNode as a, createTextVNode as y, createElementVNode as L, normalizeClass as O, createElementBlock as h, Fragment as w, renderList as S, toDisplayString as z, createCommentVNode as u } from "vue";
|
|
2
|
+
import { ScalarMarkdown as A } from "@scalar/components";
|
|
3
|
+
import E from "../../ShowMoreButton.vue.js";
|
|
4
|
+
import H from "./Webhook.vue.js";
|
|
5
|
+
import M from "../../Section/SectionContainer.vue.js";
|
|
6
|
+
import j from "../../Section/Section.vue.js";
|
|
7
|
+
import F from "../../Section/SectionHeader.vue.js";
|
|
8
|
+
import _ from "../Lazy/Lazy.vue2.js";
|
|
9
|
+
import K from "../../Section/CompactSection.vue.js";
|
|
10
|
+
import { useSidebar as T } from "../../../hooks/useSidebar.js";
|
|
11
|
+
import { useNavState as D } from "../../../hooks/useNavState.js";
|
|
12
|
+
const g = 10, x = /* @__PURE__ */ B({
|
|
13
13
|
__name: "Webhooks",
|
|
14
14
|
props: {
|
|
15
15
|
webhooks: {}
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
() => k.value.length <=
|
|
20
|
-
),
|
|
17
|
+
setup(N) {
|
|
18
|
+
const W = N, k = m(() => Object.keys(W.webhooks ?? {})), { getWebhookId: c } = D(), { collapsedSidebarItems: C } = T(), d = m(
|
|
19
|
+
() => k.value.length <= g || C[c()]
|
|
20
|
+
), I = m(() => {
|
|
21
21
|
const o = k.value;
|
|
22
|
-
return d.value ? o : o.slice(0,
|
|
22
|
+
return d.value ? o : o.slice(0, g);
|
|
23
23
|
});
|
|
24
|
-
return (o,
|
|
24
|
+
return (o, b) => k.value.length ? (s(), n(t(M), {
|
|
25
25
|
key: 0,
|
|
26
26
|
id: "webhooks"
|
|
27
27
|
}, {
|
|
28
28
|
default: l(() => [
|
|
29
|
-
|
|
29
|
+
a(t(j), null, {
|
|
30
30
|
default: l(() => [
|
|
31
|
-
|
|
32
|
-
default: l(() => [
|
|
33
|
-
|
|
34
|
-
]),
|
|
31
|
+
a(t(F), { level: 2 }, {
|
|
32
|
+
default: l(() => b[0] || (b[0] = [
|
|
33
|
+
y("Webhooks")
|
|
34
|
+
])),
|
|
35
35
|
_: 1
|
|
36
36
|
}),
|
|
37
|
-
|
|
37
|
+
a(t(_), {
|
|
38
38
|
id: "webhooks",
|
|
39
39
|
isLazy: !1
|
|
40
40
|
}),
|
|
41
|
-
|
|
42
|
-
class:
|
|
41
|
+
L("div", {
|
|
42
|
+
class: O(["webhooks-list", { "webhooks-list-truncated": !d.value }])
|
|
43
43
|
}, [
|
|
44
|
-
(s(!0), h(w, null,
|
|
45
|
-
var
|
|
44
|
+
(s(!0), h(w, null, S(I.value, (e) => {
|
|
45
|
+
var f;
|
|
46
46
|
return s(), h(w, { key: e }, [
|
|
47
|
-
(s(!0), h(w, null,
|
|
48
|
-
(
|
|
49
|
-
), (r) => (s(),
|
|
47
|
+
(s(!0), h(w, null, S(Object.keys(
|
|
48
|
+
(f = o.webhooks) == null ? void 0 : f[e]
|
|
49
|
+
), (r) => (s(), n(t(_), {
|
|
50
50
|
id: t(c)(e, r),
|
|
51
51
|
key: r,
|
|
52
52
|
isLazy: ""
|
|
53
53
|
}, {
|
|
54
54
|
default: l(() => {
|
|
55
|
-
var
|
|
55
|
+
var p;
|
|
56
56
|
return [
|
|
57
|
-
(
|
|
57
|
+
(p = o.webhooks) != null && p[e] ? (s(), n(t(K), {
|
|
58
58
|
key: 0,
|
|
59
59
|
id: t(c)(e, r),
|
|
60
60
|
class: "webhooks-list-item",
|
|
@@ -63,19 +63,19 @@ const _ = 10, x = /* @__PURE__ */ I({
|
|
|
63
63
|
heading: l(() => {
|
|
64
64
|
var i;
|
|
65
65
|
return [
|
|
66
|
-
|
|
66
|
+
y(z((i = o.webhooks[e][r]) == null ? void 0 : i.name), 1)
|
|
67
67
|
];
|
|
68
68
|
}),
|
|
69
69
|
default: l(() => {
|
|
70
|
-
var i,
|
|
70
|
+
var i, v;
|
|
71
71
|
return [
|
|
72
|
-
(i = o.webhooks[e][r]) != null && i.description ? (s(),
|
|
72
|
+
(i = o.webhooks[e][r]) != null && i.description ? (s(), n(t(A), {
|
|
73
73
|
key: 0,
|
|
74
74
|
class: "webhook-section-description",
|
|
75
|
-
value: (
|
|
75
|
+
value: (v = o.webhooks[e][r]) == null ? void 0 : v.description,
|
|
76
76
|
withImages: ""
|
|
77
77
|
}, null, 8, ["value"])) : u("", !0),
|
|
78
|
-
|
|
78
|
+
a(H, {
|
|
79
79
|
webhook: o.webhooks[e][r]
|
|
80
80
|
}, null, 8, ["webhook"])
|
|
81
81
|
];
|
|
@@ -89,7 +89,7 @@ const _ = 10, x = /* @__PURE__ */ I({
|
|
|
89
89
|
], 64);
|
|
90
90
|
}), 128))
|
|
91
91
|
], 2),
|
|
92
|
-
d.value ? u("", !0) : (s(),
|
|
92
|
+
d.value ? u("", !0) : (s(), n(E, {
|
|
93
93
|
key: 0,
|
|
94
94
|
id: "webhooks",
|
|
95
95
|
class: "show-more-webhooks"
|
|
@@ -1,20 +1,11 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
isDarkMode: boolean;
|
|
3
|
-
}
|
|
4
|
-
toggleDarkMode: () =>
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
3
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
toggleDarkMode: () => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
6
6
|
isDarkMode: boolean;
|
|
7
|
-
}
|
|
7
|
+
}> & Readonly<{
|
|
8
8
|
onToggleDarkMode?: (() => any) | undefined;
|
|
9
|
-
}, {}, {}>;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToOption<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
11
|
//# sourceMappingURL=DarkModeIconToggle.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DarkModeIconToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeIconToggle.vue"],"names":[],"mappings":";gBAkDc,OAAO;;;;gBAAP,OAAO;;;;
|
|
1
|
+
{"version":3,"file":"DarkModeIconToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeIconToggle.vue"],"names":[],"mappings":";gBAkDc,OAAO;;;;gBAAP,OAAO;;;;AAoFrB,wBASG"}
|
|
@@ -1,20 +1,11 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
isDarkMode: boolean;
|
|
3
|
-
}
|
|
4
|
-
toggleDarkMode: () =>
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
3
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
toggleDarkMode: () => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
6
6
|
isDarkMode: boolean;
|
|
7
|
-
}
|
|
7
|
+
}> & Readonly<{
|
|
8
8
|
onToggleDarkMode?: (() => any) | undefined;
|
|
9
|
-
}, {}, {}>;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToOption<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
11
|
//# sourceMappingURL=DarkModeToggle.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeToggle.vue"],"names":[],"mappings":";gBAqFc,OAAO;;;;gBAAP,OAAO;;;;
|
|
1
|
+
{"version":3,"file":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeToggle.vue"],"names":[],"mappings":";gBAqFc,OAAO;;;;gBAAP,OAAO;;;;AAsFrB,wBASG"}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as o, createElementBlock as t, createElementVNode as
|
|
1
|
+
import { defineComponent as n, openBlock as o, createElementBlock as t, createElementVNode as a, createVNode as s, unref as d } from "vue";
|
|
2
2
|
import { ScalarIcon as l } from "@scalar/components";
|
|
3
|
-
const
|
|
4
|
-
class: "darklight-reference-promo",
|
|
5
|
-
href: "https://www.scalar.com",
|
|
6
|
-
target: "_blank"
|
|
7
|
-
}, " Powered by scalar.com ", -1)), D = /* @__PURE__ */ n({
|
|
3
|
+
const i = { class: "darklight-reference" }, c = { key: 0 }, k = { key: 1 }, _ = /* @__PURE__ */ n({
|
|
8
4
|
__name: "DarkModeToggle",
|
|
9
5
|
props: {
|
|
10
6
|
isDarkMode: { type: Boolean }
|
|
11
7
|
},
|
|
12
8
|
emits: ["toggleDarkMode"],
|
|
13
|
-
setup(
|
|
14
|
-
return (r,
|
|
15
|
-
|
|
9
|
+
setup(p) {
|
|
10
|
+
return (r, e) => (o(), t("div", i, [
|
|
11
|
+
a("button", {
|
|
16
12
|
class: "darklight",
|
|
17
13
|
type: "button",
|
|
18
|
-
onClick:
|
|
14
|
+
onClick: e[0] || (e[0] = (m) => r.$emit("toggleDarkMode"))
|
|
19
15
|
}, [
|
|
20
|
-
d(
|
|
16
|
+
s(d(l), {
|
|
21
17
|
icon: "LightDarkModeToggle",
|
|
22
18
|
size: "md"
|
|
23
19
|
}),
|
|
24
|
-
r.isDarkMode ? (o(), t("span",
|
|
20
|
+
r.isDarkMode ? (o(), t("span", c, "Light Mode")) : (o(), t("span", k, "Dark Mode"))
|
|
25
21
|
]),
|
|
26
|
-
|
|
22
|
+
e[1] || (e[1] = a("a", {
|
|
23
|
+
class: "darklight-reference-promo",
|
|
24
|
+
href: "https://www.scalar.com",
|
|
25
|
+
target: "_blank"
|
|
26
|
+
}, " Powered by scalar.com ", -1))
|
|
27
27
|
]));
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
_ as default
|
|
32
32
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { type ThemeId } from '@scalar/themes';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
theme: ThemeId;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
5
|
changeTheme: (args_0: {
|
|
6
6
|
id: ThemeId;
|
|
7
7
|
label: string;
|
|
8
|
-
}) =>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
8
|
+
}) => any;
|
|
9
|
+
updateContent: (value: string) => any;
|
|
10
|
+
loadSwaggerFile: () => any;
|
|
11
|
+
linkSwaggerFile: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
13
13
|
theme: ThemeId;
|
|
14
|
-
}
|
|
14
|
+
}> & Readonly<{
|
|
15
15
|
onChangeTheme?: ((args_0: {
|
|
16
16
|
id: ThemeId;
|
|
17
17
|
label: string;
|
|
@@ -19,15 +19,6 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
19
19
|
onUpdateContent?: ((value: string) => any) | undefined;
|
|
20
20
|
onLoadSwaggerFile?: (() => any) | undefined;
|
|
21
21
|
onLinkSwaggerFile?: (() => any) | undefined;
|
|
22
|
-
}, {}, {}>;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToOption<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
24
|
//# sourceMappingURL=GettingStarted.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue"],"names":[],"mappings":"AA8cA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;;WAKjD,OAAO;;;
|
|
1
|
+
{"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue"],"names":[],"mappings":"AA8cA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;;WAKjD,OAAO;;;YAsS0B,OAAO;eAAS,MAAM;;;;;;WAtSvD,OAAO;;;YAsS0B,OAAO;eAAS,MAAM;;;;;;AAPhE,wBAYG"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarButton as
|
|
3
|
-
import { themeLabels as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as b, openBlock as o, createElementBlock as i, createElementVNode as e, createStaticVNode as r, createVNode as n, unref as l, withCtx as d, createTextVNode as p, Fragment as f, renderList as w, normalizeClass as y, toDisplayString as C } from "vue";
|
|
2
|
+
import { ScalarButton as c } from "@scalar/components";
|
|
3
|
+
import { themeLabels as v } from "@scalar/themes";
|
|
4
|
+
const S = { class: "start custom-scroll" }, A = { class: "start-copy" }, x = { class: "start-cta" }, k = { class: "start-row" }, Z = { class: "start-section start-section-colors" }, F = ["onClick"], P = /* @__PURE__ */ b({
|
|
5
5
|
__name: "GettingStarted",
|
|
6
6
|
props: {
|
|
7
7
|
theme: {}
|
|
8
8
|
},
|
|
9
9
|
emits: ["changeTheme", "loadSwaggerFile", "linkSwaggerFile", "updateContent"],
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
10
|
+
setup(B, { emit: g }) {
|
|
11
|
+
const h = g, m = [
|
|
12
12
|
"default",
|
|
13
13
|
"alternate",
|
|
14
14
|
"moon",
|
|
@@ -20,52 +20,52 @@ const x = (s) => (C("data-v-391b4e37"), s = s(), A(), s), k = { class: "start cu
|
|
|
20
20
|
"mars",
|
|
21
21
|
"deepSpace"
|
|
22
22
|
];
|
|
23
|
-
async function
|
|
24
|
-
const
|
|
23
|
+
async function u() {
|
|
24
|
+
const s = await fetch(
|
|
25
25
|
"https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml"
|
|
26
26
|
);
|
|
27
|
-
|
|
27
|
+
h("updateContent", await s.text());
|
|
28
28
|
}
|
|
29
|
-
return (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
return (s, t) => (o(), i("div", S, [
|
|
30
|
+
e("div", A, [
|
|
31
|
+
t[3] || (t[3] = r('<div class="start-logo" data-v-391b4e37><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-391b4e37></path></svg></div><h1 class="start-h1" data-v-391b4e37>Swagger Editor</h1><p class="start-p" data-v-391b4e37> Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3)),
|
|
32
|
+
e("div", x, [
|
|
33
|
+
n(l(c), {
|
|
34
34
|
fullWidth: "",
|
|
35
|
-
onClick:
|
|
35
|
+
onClick: u
|
|
36
36
|
}, {
|
|
37
|
-
default: d(() => [
|
|
37
|
+
default: d(() => t[1] || (t[1] = [
|
|
38
38
|
p(" Show Example ")
|
|
39
|
-
]),
|
|
39
|
+
])),
|
|
40
40
|
_: 1
|
|
41
41
|
}),
|
|
42
|
-
|
|
42
|
+
n(l(c), {
|
|
43
43
|
fullWidth: "",
|
|
44
44
|
variant: "outlined",
|
|
45
|
-
onClick:
|
|
45
|
+
onClick: t[0] || (t[0] = (a) => s.$emit("loadSwaggerFile"))
|
|
46
46
|
}, {
|
|
47
|
-
default: d(() => [
|
|
47
|
+
default: d(() => t[2] || (t[2] = [
|
|
48
48
|
p(" Upload File ")
|
|
49
|
-
]),
|
|
49
|
+
])),
|
|
50
50
|
_: 1
|
|
51
51
|
})
|
|
52
52
|
])
|
|
53
53
|
]),
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
(
|
|
59
|
-
key:
|
|
60
|
-
class:
|
|
61
|
-
onClick: (
|
|
62
|
-
},
|
|
54
|
+
e("div", k, [
|
|
55
|
+
t[5] || (t[5] = r('<div class="start-section start-section-integrations" data-v-391b4e37><div class="start-h2" data-v-391b4e37>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-391b4e37><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-391b4e37></path></svg><span data-v-391b4e37>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-391b4e37><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g data-v-391b4e37><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-391b4e37></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-391b4e37></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-391b4e37></path></g></svg><span data-v-391b4e37>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-391b4e37><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="currentColor" fill-rule="nonzero" data-v-391b4e37><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-391b4e37></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-391b4e37></polygon></g></svg><span data-v-391b4e37>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-391b4e37><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="none" fill-rule="evenodd" data-v-391b4e37><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-391b4e37></circle><g stroke="currentColor" data-v-391b4e37><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-391b4e37></ellipse></g></g></svg><span data-v-391b4e37>React</span></a></div>', 1)),
|
|
56
|
+
e("div", Z, [
|
|
57
|
+
t[4] || (t[4] = e("p", { class: "start-h2" }, "THEMING", -1)),
|
|
58
|
+
(o(), i(f, null, w(m, (a) => e("div", {
|
|
59
|
+
key: a,
|
|
60
|
+
class: y(["start-item", { "start-item-active": a === s.theme }]),
|
|
61
|
+
onClick: (_) => s.$emit("changeTheme", { id: a, label: l(v)[a] })
|
|
62
|
+
}, C(l(v)[a]), 11, F)), 64))
|
|
63
63
|
])
|
|
64
64
|
]),
|
|
65
|
-
|
|
65
|
+
t[6] || (t[6] = r('<p class="start-h1" data-v-391b4e37>Features</p><ul class="start-ul" data-v-391b4e37><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Customize</p> Bring your typography & color palettes, or use our themes! </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Testing</p> A deeply integrated Rest API Client (Also Free & Open-Source) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>OpenAPI & Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2))
|
|
66
66
|
]));
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
export {
|
|
70
|
-
|
|
70
|
+
P as default
|
|
71
71
|
};
|
|
@@ -6,7 +6,7 @@ declare function __VLS_template(): {
|
|
|
6
6
|
color: string;
|
|
7
7
|
}): any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
10
10
|
/** The type of element to render as, defaults to `span` */
|
|
11
11
|
as?: Component | string;
|
|
12
12
|
/** The css style property or variable that will be set to the request method color, defaults to `color` */
|
|
@@ -15,7 +15,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOp
|
|
|
15
15
|
short?: boolean;
|
|
16
16
|
/** The HTTP method to show */
|
|
17
17
|
method: string;
|
|
18
|
-
}
|
|
18
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
19
19
|
/** The type of element to render as, defaults to `span` */
|
|
20
20
|
as?: Component | string;
|
|
21
21
|
/** The css style property or variable that will be set to the request method color, defaults to `color` */
|
|
@@ -24,7 +24,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOp
|
|
|
24
24
|
short?: boolean;
|
|
25
25
|
/** The HTTP method to show */
|
|
26
26
|
method: string;
|
|
27
|
-
}
|
|
27
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
29
29
|
export default _default;
|
|
30
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -32,13 +32,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
32
32
|
$slots: S;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
35
|
//# sourceMappingURL=HttpMethod.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":"AA0CA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,KAAK,CAAA;AAsC9C,iBAAS,cAAc;;;;;QA+BM,GAAG;EAiB/B;AACD,QAAA,MAAM,eAAe;IA/EnB,2DAA2D;SACtD,SAAS,GAAG,MAAM;IACvB,2GAA2G;eAChG,MAAM;IACjB,qDAAqD;YAC7C,OAAO;IACf,8BAA8B;YACtB,MAAM;;IAPd,2DAA2D;SACtD,SAAS,GAAG,MAAM;IACvB,2GAA2G;eAChG,MAAM;IACjB,qDAAqD;YAC7C,OAAO;IACf,8BAA8B;YACtB,MAAM;
|
|
1
|
+
{"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":"AA0CA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,KAAK,CAAA;AAsC9C,iBAAS,cAAc;;;;;QA+BM,GAAG;EAiB/B;AACD,QAAA,MAAM,eAAe;IA/EnB,2DAA2D;SACtD,SAAS,GAAG,MAAM;IACvB,2GAA2G;eAChG,MAAM;IACjB,qDAAqD;YAC7C,OAAO;IACf,8BAA8B;YACtB,MAAM;;IAPd,2DAA2D;SACtD,SAAS,GAAG,MAAM;IACvB,2GAA2G;eAChG,MAAM;IACjB,qDAAqD;YAC7C,OAAO;IACf,8BAA8B;YACtB,MAAM;iGA8Ed,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,17 +1,17 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
5
5
|
id?: string;
|
|
6
6
|
is?: string;
|
|
7
|
-
}
|
|
8
|
-
intersecting: () =>
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
intersecting: () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
10
10
|
id?: string;
|
|
11
11
|
is?: string;
|
|
12
|
-
}
|
|
12
|
+
}> & Readonly<{
|
|
13
13
|
onIntersecting?: (() => any) | undefined;
|
|
14
|
-
}, {}, {}>;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -19,13 +19,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
19
19
|
$slots: S;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToOption<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
22
|
//# sourceMappingURL=IntersectionObserver.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntersectionObserver.vue.d.ts","sourceRoot":"","sources":["../../src/components/IntersectionObserver.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IntersectionObserver.vue.d.ts","sourceRoot":"","sources":["../../src/components/IntersectionObserver.vue"],"names":[],"mappings":"AAkHA,iBAAS,cAAc;qBA2BM,GAAG;EAkB/B;AACD,QAAA,MAAM,eAAe;SAjGd,MAAM;SACN,MAAM;;;;SADN,MAAM;SACN,MAAM;;;kFAyGX,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"}
|