@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 @@ import type { RequestBody } from '@scalar/types/legacy';
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
title?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
6
6
|
requestBody?: RequestBody;
|
|
7
|
-
}
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
8
8
|
requestBody?: RequestBody;
|
|
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=RequestBody.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/RequestBody.vue"],"names":[],"mappings":"AAuIA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,sBAAsB,CAAA;AA6BpE,iBAAS,cAAc;mBAsFI,GAAG;EAkB7B;AACD,QAAA,MAAM,eAAe;kBA/HiB,WAAW;;kBAAX,WAAW;
|
|
1
|
+
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/RequestBody.vue"],"names":[],"mappings":"AAuIA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,sBAAsB,CAAA;AA6BpE,iBAAS,cAAc;mBAsFI,GAAG;EAkB7B;AACD,QAAA,MAAM,eAAe;kBA/HiB,WAAW;;kBAAX,WAAW;iGAqI/C,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,8 @@
|
|
|
1
1
|
import type { ContentProperties } from '../../../types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
contentProperties: ContentProperties;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
5
|
contentProperties: ContentProperties;
|
|
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=RequestBodyPropertiesChild.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBodyPropertiesChild.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/RequestBodyPropertiesChild.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;;uBAIZ,iBAAiB;;uBAAjB,iBAAiB;;AA8E5D,wBAMG
|
|
1
|
+
{"version":3,"file":"RequestBodyPropertiesChild.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/RequestBodyPropertiesChild.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;;uBAIZ,iBAAiB;;uBAAjB,iBAAiB;;AA8E5D,wBAMG"}
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import type { TransformedOperation } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
operation: TransformedOperation;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
5
|
operation: TransformedOperation;
|
|
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=TestRequestButton.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/TestRequestButton.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eASnD,oBAAoB;;eAApB,oBAAoB;;AAkFjC,wBAMG
|
|
1
|
+
{"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/TestRequestButton.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eASnD,oBAAoB;;eAApB,oBAAoB;;AAkFjC,wBAMG"}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
import { apiClientBus as
|
|
4
|
-
import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as s, inject as a, unref as o, openBlock as r, createElementBlock as p, withModifiers as m, createVNode as u, createElementVNode as l, Fragment as d, createTextVNode as c } from "vue";
|
|
2
|
+
import { ScalarIcon as f } from "@scalar/components";
|
|
3
|
+
import { apiClientBus as T } from "../../api-client-bus.js";
|
|
4
|
+
import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as h } from "../../../helpers/provideSymbols.js";
|
|
5
|
+
const B = ["method"], N = /* @__PURE__ */ s({
|
|
6
6
|
__name: "TestRequestButton",
|
|
7
7
|
props: {
|
|
8
8
|
operation: {}
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const i =
|
|
12
|
-
return (t,
|
|
13
|
-
var
|
|
14
|
-
return ((
|
|
10
|
+
setup(_) {
|
|
11
|
+
const i = a(h);
|
|
12
|
+
return (t, e) => {
|
|
13
|
+
var n;
|
|
14
|
+
return ((n = o(i)) == null ? void 0 : n()) !== !0 ? (r(), p("button", {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "show-api-client-button",
|
|
17
17
|
method: t.operation.httpVerb,
|
|
18
18
|
type: "button",
|
|
19
|
-
onClick:
|
|
19
|
+
onClick: e[0] || (e[0] = m((E) => o(T).emit({
|
|
20
20
|
open: {
|
|
21
21
|
path: t.operation.path,
|
|
22
22
|
method: t.operation.httpVerb
|
|
23
23
|
}
|
|
24
24
|
}), ["stop"]))
|
|
25
25
|
}, [
|
|
26
|
-
u(o(
|
|
26
|
+
u(o(f), {
|
|
27
27
|
icon: "Play",
|
|
28
28
|
size: "sm"
|
|
29
29
|
}),
|
|
30
|
-
|
|
31
|
-
], 8,
|
|
32
|
-
|
|
30
|
+
e[1] || (e[1] = l("span", null, "Test Request", -1))
|
|
31
|
+
], 8, B)) : (r(), p(d, { key: 1 }, [
|
|
32
|
+
c(" ")
|
|
33
33
|
], 64));
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
N as default
|
|
39
39
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
value?: OpenAPIV2.DefinitionsObject | OpenAPIV3.SchemaObject | OpenAPIV3.ArraySchemaObject | OpenAPIV3.NonArraySchemaObject | OpenAPIV3_1.SchemaObject | OpenAPIV3_1.ArraySchemaObject | OpenAPIV3_1.NonArraySchemaObject;
|
|
4
4
|
/** Track how deep we’ve gone */
|
|
5
5
|
level?: number;
|
|
@@ -9,9 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
9
9
|
/** Shows a toggle to hide/show children */
|
|
10
10
|
noncollapsible?: boolean;
|
|
11
11
|
hideHeading?: boolean;
|
|
12
|
-
}
|
|
13
|
-
level: number;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
12
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
15
13
|
value?: OpenAPIV2.DefinitionsObject | OpenAPIV3.SchemaObject | OpenAPIV3.ArraySchemaObject | OpenAPIV3.NonArraySchemaObject | OpenAPIV3_1.SchemaObject | OpenAPIV3_1.ArraySchemaObject | OpenAPIV3_1.NonArraySchemaObject;
|
|
16
14
|
/** Track how deep we’ve gone */
|
|
17
15
|
level?: number;
|
|
@@ -21,27 +19,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
19
|
/** Shows a toggle to hide/show children */
|
|
22
20
|
noncollapsible?: boolean;
|
|
23
21
|
hideHeading?: boolean;
|
|
24
|
-
}>, {
|
|
25
|
-
level: number;
|
|
26
|
-
}>>>, {
|
|
22
|
+
}> & Readonly<{}>, {
|
|
27
23
|
level: number;
|
|
28
|
-
}, {}>;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
25
|
export default _default;
|
|
30
|
-
type __VLS_WithDefaults<P, D> = {
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
}> : P[K];
|
|
34
|
-
};
|
|
35
|
-
type __VLS_Prettify<T> = {
|
|
36
|
-
[K in keyof T]: T[K];
|
|
37
|
-
} & {};
|
|
38
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
-
type __VLS_TypePropsToOption<T> = {
|
|
40
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
-
} : {
|
|
43
|
-
type: import('vue').PropType<T[K]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
26
|
//# sourceMappingURL=Schema.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.vue"],"names":[],"mappings":"AAuRA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;YAUtE,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB;IACpC,gCAAgC;YACxB,MAAM;WAEP,MAAM;IACb,+DAA+D;cACrD,OAAO;IACjB,2CAA2C;qBAC1B,OAAO;kBACV,OAAO
|
|
1
|
+
{"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.vue"],"names":[],"mappings":"AAuRA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;YAUtE,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB;IACpC,gCAAgC;YACxB,MAAM;WAEP,MAAM;IACb,+DAA+D;cACrD,OAAO;IACjB,2CAA2C;qBAC1B,OAAO;kBACV,OAAO;;YAfjB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB;IACpC,gCAAgC;YACxB,MAAM;WAEP,MAAM;IACb,+DAA+D;cACrD,OAAO;IACjB,2CAA2C;qBAC1B,OAAO;kBACV,OAAO;;WAPb,MAAM;;AAkWlB,wBAOG"}
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
value: OpenAPIV2.DefinitionsObject | OpenAPIV3.SchemaObject | OpenAPIV3.ArraySchemaObject | OpenAPIV3.NonArraySchemaObject | OpenAPIV3_1.SchemaObject | OpenAPIV3_1.ArraySchemaObject | OpenAPIV3_1.NonArraySchemaObject;
|
|
4
4
|
name?: string;
|
|
5
|
-
}
|
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
6
6
|
value: OpenAPIV2.DefinitionsObject | OpenAPIV3.SchemaObject | OpenAPIV3.ArraySchemaObject | OpenAPIV3.NonArraySchemaObject | OpenAPIV3_1.SchemaObject | OpenAPIV3_1.ArraySchemaObject | OpenAPIV3_1.NonArraySchemaObject;
|
|
7
7
|
name?: string;
|
|
8
|
-
}
|
|
8
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToOption<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
10
|
//# sourceMappingURL=SchemaHeading.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaHeading.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;WAMxE,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB;WAC7B,MAAM;;WAPT,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB;WAC7B,MAAM;;AAgFf,wBAMG
|
|
1
|
+
{"version":3,"file":"SchemaHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaHeading.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;WAMxE,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB;WAC7B,MAAM;;WAPT,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,YAAY,GACtB,SAAS,CAAC,iBAAiB,GAC3B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,oBAAoB;WAC7B,MAAM;;AAgFf,wBAMG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default_1: import("vue").DefineComponent<
|
|
1
|
+
declare const _default_1: import("vue").DefineComponent<{
|
|
2
2
|
value?: Record<string, any>;
|
|
3
3
|
level?: number;
|
|
4
4
|
name?: string;
|
|
@@ -6,11 +6,7 @@ declare const _default_1: import("vue").DefineComponent<__VLS_WithDefaults<__VLS
|
|
|
6
6
|
compact?: boolean;
|
|
7
7
|
description?: string;
|
|
8
8
|
additional?: boolean;
|
|
9
|
-
}
|
|
10
|
-
level: number;
|
|
11
|
-
required: boolean;
|
|
12
|
-
compact: boolean;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
14
10
|
value?: Record<string, any>;
|
|
15
11
|
level?: number;
|
|
16
12
|
name?: string;
|
|
@@ -18,31 +14,10 @@ declare const _default_1: import("vue").DefineComponent<__VLS_WithDefaults<__VLS
|
|
|
18
14
|
compact?: boolean;
|
|
19
15
|
description?: string;
|
|
20
16
|
additional?: boolean;
|
|
21
|
-
}>, {
|
|
22
|
-
level: number;
|
|
23
|
-
required: boolean;
|
|
24
|
-
compact: boolean;
|
|
25
|
-
}>>>, {
|
|
17
|
+
}> & Readonly<{}>, {
|
|
26
18
|
required: boolean;
|
|
27
19
|
level: number;
|
|
28
20
|
compact: boolean;
|
|
29
|
-
}, {}>;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
22
|
export default _default_1;
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
39
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
-
type __VLS_TypePropsToOption<T> = {
|
|
41
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
-
} : {
|
|
44
|
-
type: import('vue').PropType<T[K]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
23
|
//# sourceMappingURL=SchemaProperty.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":";YA0VY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;YACnB,MAAM;WACP,MAAM;eACF,OAAO;cACR,OAAO;kBACH,MAAM;iBACP,OAAO
|
|
1
|
+
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":";YA0VY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;YACnB,MAAM;WACP,MAAM;eACF,OAAO;cACR,OAAO;kBACH,MAAM;iBACP,OAAO;;YANZ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;YACnB,MAAM;WACP,MAAM;eACF,OAAO;cACR,OAAO;kBACH,MAAM;iBACP,OAAO;;cAHT,OAAO;WAFV,MAAM;aAGJ,OAAO;;AA6VrB,0BAOG"}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarMarkdown as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as V, openBlock as l, createElementBlock as t, normalizeClass as Z, createVNode as n, createSlots as z, withCtx as H, createTextVNode as L, toDisplayString as i, unref as f, createCommentVNode as o, createElementVNode as p, Fragment as s, renderList as u, createBlock as T } from "vue";
|
|
2
|
+
import { ScalarMarkdown as h } from "@scalar/components";
|
|
3
|
+
import c from "./Schema.vue.js";
|
|
4
|
+
import M from "./SchemaPropertyHeading.vue.js";
|
|
5
|
+
const $ = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "property-description"
|
|
8
|
-
},
|
|
8
|
+
}, A = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "property-description"
|
|
11
|
-
},
|
|
11
|
+
}, G = {
|
|
12
12
|
key: 2,
|
|
13
13
|
class: "property-example custom-scroll"
|
|
14
|
-
},
|
|
14
|
+
}, J = { class: "property-example-value" }, K = {
|
|
15
15
|
key: 3,
|
|
16
16
|
class: "property-example custom-scroll"
|
|
17
|
-
},
|
|
17
|
+
}, Q = { class: "property-example-label" }, W = {
|
|
18
18
|
key: 4,
|
|
19
19
|
class: "property-enum"
|
|
20
|
-
},
|
|
20
|
+
}, X = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "property-list"
|
|
23
|
-
},
|
|
23
|
+
}, Y = { class: "property-heading" }, _ = { class: "property-name" }, x = { class: "property-description" }, ee = {
|
|
24
24
|
key: 1,
|
|
25
25
|
class: "property-enum-values"
|
|
26
|
-
},
|
|
26
|
+
}, le = {
|
|
27
27
|
key: 5,
|
|
28
28
|
class: "children"
|
|
29
|
-
},
|
|
29
|
+
}, te = {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "children"
|
|
32
|
-
},
|
|
32
|
+
}, re = {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: "property-rule"
|
|
35
|
-
},
|
|
35
|
+
}, ae = {
|
|
36
36
|
key: 1,
|
|
37
37
|
class: "property-rule"
|
|
38
|
-
},
|
|
38
|
+
}, ue = /* @__PURE__ */ V({
|
|
39
39
|
__name: "SchemaProperty",
|
|
40
40
|
props: {
|
|
41
41
|
value: {},
|
|
@@ -46,8 +46,8 @@ const J = (d) => ($("data-v-bfe8efb1"), d = d(), A(), d), K = {
|
|
|
46
46
|
description: {},
|
|
47
47
|
additional: { type: Boolean }
|
|
48
48
|
},
|
|
49
|
-
setup(
|
|
50
|
-
const
|
|
49
|
+
setup(oe) {
|
|
50
|
+
const k = {
|
|
51
51
|
integer: {
|
|
52
52
|
_default: "Integer numbers.",
|
|
53
53
|
int32: "Signed 32-bit integers (commonly used integer type).",
|
|
@@ -60,116 +60,116 @@ const J = (d) => ($("data-v-bfe8efb1"), d = d(), A(), d), K = {
|
|
|
60
60
|
byte: "base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
|
|
61
61
|
binary: "binary data, used to describe files"
|
|
62
62
|
}
|
|
63
|
-
}, g = function(e,
|
|
64
|
-
return
|
|
65
|
-
},
|
|
66
|
-
return !e || !
|
|
67
|
-
},
|
|
68
|
-
var
|
|
69
|
-
return (e == null ? void 0 : e.enum) || ((
|
|
70
|
-
},
|
|
71
|
-
return (e,
|
|
72
|
-
var B, C, E, j,
|
|
63
|
+
}, g = function(e, r) {
|
|
64
|
+
return r != null && r.properties || r != null && r.additionalProperties ? null : e || (r == null ? void 0 : r.description) || null;
|
|
65
|
+
}, b = function(e) {
|
|
66
|
+
return !e || !k[e.type] ? null : k[e.type][e.format || "_default"];
|
|
67
|
+
}, d = function(e) {
|
|
68
|
+
var r;
|
|
69
|
+
return (e == null ? void 0 : e.enum) || ((r = e == null ? void 0 : e.items) == null ? void 0 : r.enum) || [];
|
|
70
|
+
}, U = ["oneOf", "anyOf", "allOf", "not"];
|
|
71
|
+
return (e, r) => {
|
|
72
|
+
var S, B, C, E, j, D, N, O, P, q, w, F;
|
|
73
73
|
return l(), t("div", {
|
|
74
|
-
class:
|
|
74
|
+
class: Z(["property", [
|
|
75
75
|
`property--level-${e.level}`,
|
|
76
76
|
{
|
|
77
77
|
"property--compact": e.compact,
|
|
78
|
-
"property--deprecated": (
|
|
78
|
+
"property--deprecated": (S = e.value) == null ? void 0 : S.deprecated
|
|
79
79
|
}
|
|
80
80
|
]])
|
|
81
81
|
}, [
|
|
82
|
-
n(
|
|
82
|
+
n(M, {
|
|
83
83
|
additional: e.additional,
|
|
84
|
-
enum:
|
|
84
|
+
enum: d(e.value).length > 1,
|
|
85
85
|
required: e.required,
|
|
86
86
|
value: e.value
|
|
87
|
-
},
|
|
87
|
+
}, z({ _: 2 }, [
|
|
88
88
|
e.name ? {
|
|
89
89
|
name: "name",
|
|
90
|
-
fn:
|
|
91
|
-
|
|
90
|
+
fn: H(() => [
|
|
91
|
+
L(i(e.name), 1)
|
|
92
92
|
]),
|
|
93
93
|
key: "0"
|
|
94
94
|
} : void 0
|
|
95
95
|
]), 1032, ["additional", "enum", "required", "value"]),
|
|
96
|
-
g(e.description, e.value) ? (l(), t("div",
|
|
97
|
-
n(h
|
|
96
|
+
g(e.description, e.value) ? (l(), t("div", $, [
|
|
97
|
+
n(f(h), {
|
|
98
98
|
value: g(e.description, e.value)
|
|
99
99
|
}, null, 8, ["value"])
|
|
100
|
-
])) :
|
|
101
|
-
n(h
|
|
102
|
-
value:
|
|
100
|
+
])) : b(e.value) ? (l(), t("div", A, [
|
|
101
|
+
n(f(h), {
|
|
102
|
+
value: b(e.value) || ""
|
|
103
103
|
}, null, 8, ["value"])
|
|
104
|
-
])) :
|
|
105
|
-
(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
])) :
|
|
109
|
-
(D = e.value) != null && D.examples && typeof e.value.examples == "object" && Object.keys(e.value.examples).length > 0 ? (l(), t("div",
|
|
110
|
-
|
|
111
|
-
(l(!0), t(s, null,
|
|
104
|
+
])) : o("", !0),
|
|
105
|
+
(B = e.value) != null && B.example || (E = (C = e.value) == null ? void 0 : C.items) != null && E.example ? (l(), t("div", G, [
|
|
106
|
+
r[0] || (r[0] = p("span", { class: "property-example-label" }, "Example", -1)),
|
|
107
|
+
p("code", J, i(e.value.example || ((j = e.value) == null ? void 0 : j.items.example)), 1)
|
|
108
|
+
])) : o("", !0),
|
|
109
|
+
(D = e.value) != null && D.examples && typeof e.value.examples == "object" && Object.keys(e.value.examples).length > 0 ? (l(), t("div", K, [
|
|
110
|
+
p("span", Q, i(Object.keys(e.value.examples).length === 1 ? "Example" : "Examples"), 1),
|
|
111
|
+
(l(!0), t(s, null, u(e.value.examples, (a, m) => (l(), t("code", {
|
|
112
112
|
key: m,
|
|
113
113
|
class: "property-example-value"
|
|
114
|
-
}, i(
|
|
115
|
-
])) :
|
|
116
|
-
((
|
|
117
|
-
(
|
|
118
|
-
(l(!0), t(s, null,
|
|
119
|
-
key:
|
|
114
|
+
}, i(a), 1))), 128))
|
|
115
|
+
])) : o("", !0),
|
|
116
|
+
((N = d(e.value)) == null ? void 0 : N.length) > 1 ? (l(), t("div", W, [
|
|
117
|
+
(O = e.value) != null && O["x-enumDescriptions"] ? (l(), t("div", X, [
|
|
118
|
+
(l(!0), t(s, null, u(d(e.value), (a) => (l(), t("div", {
|
|
119
|
+
key: a,
|
|
120
120
|
class: "property"
|
|
121
121
|
}, [
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
p("div", Y, [
|
|
123
|
+
p("div", _, i(a), 1)
|
|
124
124
|
]),
|
|
125
|
-
|
|
126
|
-
n(h
|
|
127
|
-
value: e.value["x-enumDescriptions"][
|
|
125
|
+
p("div", x, [
|
|
126
|
+
n(f(h), {
|
|
127
|
+
value: e.value["x-enumDescriptions"][a]
|
|
128
128
|
}, null, 8, ["value"])
|
|
129
129
|
])
|
|
130
130
|
]))), 128))
|
|
131
|
-
])) : (l(), t("ul",
|
|
132
|
-
(l(!0), t(s, null,
|
|
133
|
-
key:
|
|
131
|
+
])) : (l(), t("ul", ee, [
|
|
132
|
+
(l(!0), t(s, null, u(d(e.value), (a) => (l(), t("li", {
|
|
133
|
+
key: a,
|
|
134
134
|
class: "property-enum-value"
|
|
135
|
-
}, i(
|
|
135
|
+
}, i(a), 1))), 128))
|
|
136
136
|
]))
|
|
137
|
-
])) :
|
|
138
|
-
((
|
|
139
|
-
n(
|
|
137
|
+
])) : o("", !0),
|
|
138
|
+
((P = e.value) == null ? void 0 : P.type) === "object" && ((q = e.value) != null && q.properties || (w = e.value) != null && w.additionalProperties) ? (l(), t("div", le, [
|
|
139
|
+
n(c, {
|
|
140
140
|
compact: e.compact,
|
|
141
141
|
level: e.level + 1,
|
|
142
142
|
value: e.value
|
|
143
143
|
}, null, 8, ["compact", "level", "value"])
|
|
144
|
-
])) :
|
|
144
|
+
])) : o("", !0),
|
|
145
145
|
(F = e.value) != null && F.items ? (l(), t(s, { key: 6 }, [
|
|
146
|
-
["object"].includes(e.value.items.type) ? (l(), t("div",
|
|
147
|
-
n(
|
|
146
|
+
["object"].includes(e.value.items.type) ? (l(), t("div", te, [
|
|
147
|
+
n(c, {
|
|
148
148
|
compact: e.compact,
|
|
149
149
|
level: e.level + 1,
|
|
150
150
|
value: e.value.items
|
|
151
151
|
}, null, 8, ["compact", "level", "value"])
|
|
152
|
-
])) :
|
|
153
|
-
], 64)) :
|
|
154
|
-
(l(), t(s, null,
|
|
155
|
-
var m,
|
|
156
|
-
return l(), t(s, { key:
|
|
157
|
-
(m = e.value) != null && m[
|
|
158
|
-
(l(!0), t(s, null,
|
|
159
|
-
key:
|
|
152
|
+
])) : o("", !0)
|
|
153
|
+
], 64)) : o("", !0),
|
|
154
|
+
(l(), t(s, null, u(U, (a) => {
|
|
155
|
+
var m, I, R;
|
|
156
|
+
return l(), t(s, { key: a }, [
|
|
157
|
+
(m = e.value) != null && m[a] ? (l(), t("div", re, [
|
|
158
|
+
(l(!0), t(s, null, u(e.value[a], (v, y) => (l(), T(c, {
|
|
159
|
+
key: y,
|
|
160
160
|
compact: e.compact,
|
|
161
161
|
level: e.level + 1,
|
|
162
|
-
value:
|
|
162
|
+
value: v
|
|
163
163
|
}, null, 8, ["compact", "level", "value"]))), 128))
|
|
164
|
-
])) :
|
|
165
|
-
(
|
|
166
|
-
(l(!0), t(s, null,
|
|
167
|
-
key:
|
|
164
|
+
])) : o("", !0),
|
|
165
|
+
(R = (I = e.value) == null ? void 0 : I.items) != null && R[a] && e.level < 3 ? (l(), t("div", ae, [
|
|
166
|
+
(l(!0), t(s, null, u(e.value.items[a], (v, y) => (l(), T(c, {
|
|
167
|
+
key: y,
|
|
168
168
|
compact: e.compact,
|
|
169
169
|
level: e.level + 1,
|
|
170
|
-
value:
|
|
170
|
+
value: v
|
|
171
171
|
}, null, 8, ["compact", "level", "value"]))), 128))
|
|
172
|
-
])) :
|
|
172
|
+
])) : o("", !0)
|
|
173
173
|
], 64);
|
|
174
174
|
}), 64))
|
|
175
175
|
], 2);
|
|
@@ -177,5 +177,5 @@ const J = (d) => ($("data-v-bfe8efb1"), d = d(), A(), d), K = {
|
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
export {
|
|
180
|
-
|
|
180
|
+
ue as default
|
|
181
181
|
};
|
|
@@ -3,13 +3,13 @@ declare function __VLS_template(): {
|
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
7
7
|
truncate?: boolean;
|
|
8
8
|
code?: boolean;
|
|
9
|
-
}
|
|
9
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
10
10
|
truncate?: boolean;
|
|
11
11
|
code?: boolean;
|
|
12
|
-
}
|
|
12
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -17,13 +17,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
17
17
|
$slots: S;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToOption<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
20
|
//# sourceMappingURL=SchemaPropertyDetail.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyDetail.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDetail.vue"],"names":[],"mappings":"AAyEA,iBAAS,cAAc;oBAiDK,GAAG;qBACF,GAAG;qBACH,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe;eA5ER,OAAO;WACX,OAAO;;eADH,OAAO;WACX,OAAO;
|
|
1
|
+
{"version":3,"file":"SchemaPropertyDetail.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDetail.vue"],"names":[],"mappings":"AAyEA,iBAAS,cAAc;oBAiDK,GAAG;qBACF,GAAG;qBACH,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe;eA5ER,OAAO;WACX,OAAO;;eADH,OAAO;WACX,OAAO;iGAiFd,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"}
|