@scalar/api-reference 1.11.1 → 1.12.0
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 +14 -0
- package/dist/browser/standalone.js +7 -7
- package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
- package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.stories.d.ts +1 -1
- package/dist/components/Content/Authentication/Authentication.stories.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/CardForm.vue.d.ts +10 -0
- package/dist/components/Content/Authentication/CardForm.vue.d.ts.map +1 -0
- package/dist/components/Content/Authentication/CardFormButton.vue.d.ts +12 -0
- package/dist/components/Content/Authentication/CardFormButton.vue.d.ts.map +1 -0
- package/dist/components/Content/Authentication/CardFormGroup.vue.d.ts +10 -0
- package/dist/components/Content/Authentication/CardFormGroup.vue.d.ts.map +1 -0
- package/dist/components/Content/Authentication/CardFormTextInput.vue.d.ts +25 -0
- package/dist/components/Content/Authentication/CardFormTextInput.vue.d.ts.map +1 -0
- package/dist/components/Content/Authentication/SecurityScheme.vue.d.ts +3 -2
- package/dist/components/Content/Authentication/SecurityScheme.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/SecuritySchemeScopes.vue.d.ts +26 -0
- package/dist/components/Content/Authentication/SecuritySchemeScopes.vue.d.ts.map +1 -0
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/ReferenceEndpoint/ReferenceEndpointAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.d.ts +2 -0
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/hooks/useParser.d.ts +1 -1
- package/dist/{index-265bad8d.js → index-6d56309f.js} +30 -29
- package/dist/{index-f1bc79c0.js → index-fe900f1b.js} +8652 -8363
- package/dist/index.js +49 -48
- package/dist/stores/globalStore.d.ts +5 -1
- package/dist/stores/globalStore.d.ts.map +1 -1
- package/dist/types.d.ts +7 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAA;;;;
|
|
1
|
+
{"version":3,"file":"CardContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAA;;;;AA0F/C,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardHeader.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAA;;;;;
|
|
1
|
+
{"version":3,"file":"CardHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardHeader.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAA;;;;;AAuH/C,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -8,6 +8,6 @@ export declare const NoAuthentication: Story;
|
|
|
8
8
|
export declare const BasicAuthentication: Story;
|
|
9
9
|
export declare const BearerAuthentication: Story;
|
|
10
10
|
export declare const ApiKey: Story;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const OpenAuth2: Story;
|
|
12
12
|
export declare const MultipleMethods: Story;
|
|
13
13
|
//# sourceMappingURL=Authentication.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authentication.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/Authentication.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,cAAc,MAAM,sBAAsB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAIrC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAE5C,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAe9B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAkBjC,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAoBlC,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAmBpB,CAAA;AAED,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"Authentication.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/Authentication.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,cAAc,MAAM,sBAAsB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAIrC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAE5C,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAe9B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAkBjC,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAoBlC,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAmBpB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAkCvB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KA+B7B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/Authentication.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;
|
|
1
|
+
{"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/Authentication.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;AAsM1C,wBAMG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=CardForm.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/CardForm.vue.ts"],"names":[],"mappings":";;;AAgEA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
|
|
2
|
+
el: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=CardFormButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFormButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/CardFormButton.vue.ts"],"names":[],"mappings":";;;;;AA0EA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=CardFormGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFormGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/CardFormGroup.vue.ts"],"names":[],"mappings":";;;AAgEA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
id: string;
|
|
3
|
+
type?: string | undefined;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
id: string;
|
|
6
|
+
type?: string | undefined;
|
|
7
|
+
}>>>, {}, {}>, {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<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
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=CardFormTextInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFormTextInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/CardFormTextInput.vue.ts"],"names":[],"mappings":";;;;;;;;;AAwGA,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { SecurityScheme } from '../../../types';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
value?:
|
|
3
|
+
value?: SecurityScheme | undefined;
|
|
3
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
value?:
|
|
5
|
+
value?: SecurityScheme | undefined;
|
|
5
6
|
}>>>, {}, {}>;
|
|
6
7
|
export default _default;
|
|
7
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecurityScheme.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/SecurityScheme.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SecurityScheme.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/SecurityScheme.vue.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;;;;;;AAuVpD,wBAQG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
scopes: {
|
|
3
|
+
[scope: string]: string;
|
|
4
|
+
};
|
|
5
|
+
selected: string[];
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:selected": (v: string[]) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
scopes: {
|
|
10
|
+
[scope: string]: string;
|
|
11
|
+
};
|
|
12
|
+
selected: string[];
|
|
13
|
+
}>>> & {
|
|
14
|
+
"onUpdate:selected"?: ((v: string[]) => any) | undefined;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<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
|
+
//# sourceMappingURL=SecuritySchemeScopes.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecuritySchemeScopes.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/SecuritySchemeScopes.vue.ts"],"names":[],"mappings":";;;;cAiUY,MAAM,EAAE;;;;;;;cAAR,MAAM,EAAE;;;;AAHpB,wBAUG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;AAwShD,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReferenceEndpointAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ReferenceEndpoint/ReferenceEndpointAccordion.vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;;
|
|
1
|
+
{"version":3,"file":"ReferenceEndpointAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ReferenceEndpoint/ReferenceEndpointAccordion.vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;;eAqWlD,oBAAoB;SAC1B,GAAG;;eADG,oBAAoB;SAC1B,GAAG;;AAHV,wBASG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
id?: string | undefined;
|
|
3
|
+
transparent?: boolean | undefined;
|
|
3
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
5
|
id?: string | undefined;
|
|
6
|
+
transparent?: boolean | undefined;
|
|
5
7
|
}>>>, {}, {}>, {
|
|
6
8
|
title?(_: {}): any;
|
|
7
9
|
actions?(_: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionAccordion.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SectionAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionAccordion.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AA6PA,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue.ts"],"names":[],"mappings":";;;;AAmKA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -157,7 +157,7 @@ export declare function useParser({ input, }: {
|
|
|
157
157
|
callbacks?: {
|
|
158
158
|
[key: string]: import("openapi-types").OpenAPIV3.ReferenceObject | import("openapi-types").OpenAPIV3.CallbackObject;
|
|
159
159
|
} | Record<string, import("openapi-types").OpenAPIV3_1.ReferenceObject | import("openapi-types").OpenAPIV3_1.CallbackObject> | undefined;
|
|
160
|
-
securitySchemes?: Record<string,
|
|
160
|
+
securitySchemes?: Record<string, import("../types").SecurityScheme> | undefined;
|
|
161
161
|
} | undefined;
|
|
162
162
|
definitions?: import("openapi-types").OpenAPIV2.DefinitionsObject | undefined;
|
|
163
163
|
openapi?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { useMediaQuery as
|
|
1
|
+
import { defineComponent as b, ref as w, watch as I, openBlock as p, createElementBlock as g, Fragment as E, createElementVNode as U, unref as a, createTextVNode as d, createCommentVNode as S, renderSlot as k, createVNode as s, withCtx as u, toDisplayString as N, computed as D, isRef as B, normalizeClass as L, createBlock as T } from "vue";
|
|
2
|
+
import { o as j, H as R, E as H, U as O, u as F, f as A, _ as M, a as J, d as z, R as Q } from "./index-fe900f1b.js";
|
|
3
|
+
import { b as De } from "./index-fe900f1b.js";
|
|
4
|
+
import { useMediaQuery as W, useFileDialog as Y } from "@vueuse/core";
|
|
5
5
|
import "@headlessui/vue";
|
|
6
6
|
import "axios";
|
|
7
7
|
import "httpsnippet-lite";
|
|
@@ -12,6 +12,7 @@ import "remark-stringify";
|
|
|
12
12
|
import "unified";
|
|
13
13
|
import "js-yaml";
|
|
14
14
|
import "unhead";
|
|
15
|
+
import "@floating-ui/vue";
|
|
15
16
|
import "rehype-external-links";
|
|
16
17
|
import "rehype-format";
|
|
17
18
|
import "rehype-highlight";
|
|
@@ -20,7 +21,7 @@ import "rehype-stringify";
|
|
|
20
21
|
import "remark-gfm";
|
|
21
22
|
import "remark-rehype";
|
|
22
23
|
import "fuse.js";
|
|
23
|
-
const
|
|
24
|
+
const q = (i) => {
|
|
24
25
|
if (typeof i != "string")
|
|
25
26
|
return !1;
|
|
26
27
|
try {
|
|
@@ -29,14 +30,14 @@ const Y = (i) => {
|
|
|
29
30
|
return !1;
|
|
30
31
|
}
|
|
31
32
|
return !0;
|
|
32
|
-
}, G = { class: "swagger-editor-header" }, K = { class: "swagger-editor-title" }, P = { class: "swagger-editor-actions" }, X = { key: 0 }, Z = { key: 0 }, ee = { class: "swagger-editor-modal-layout" }, te = /* @__PURE__ */
|
|
33
|
+
}, G = { class: "swagger-editor-header" }, K = { class: "swagger-editor-title" }, P = { class: "swagger-editor-actions" }, X = { key: 0 }, Z = { key: 0 }, ee = { class: "swagger-editor-modal-layout" }, te = /* @__PURE__ */ b({
|
|
33
34
|
__name: "SwaggerEditorHeader",
|
|
34
35
|
props: {
|
|
35
36
|
proxyUrl: {}
|
|
36
37
|
},
|
|
37
38
|
emits: ["import"],
|
|
38
39
|
setup(i, { expose: v, emit: c }) {
|
|
39
|
-
const o = i, e =
|
|
40
|
+
const o = i, e = W("(max-width: 1000px)"), { files: r, open: m, reset: C } = Y({
|
|
40
41
|
multiple: !1,
|
|
41
42
|
accept: ".json,.yaml,.yml"
|
|
42
43
|
}), _ = j(), t = w(null);
|
|
@@ -45,20 +46,20 @@ const Y = (i) => {
|
|
|
45
46
|
openFileDialog: m
|
|
46
47
|
});
|
|
47
48
|
const f = w(""), h = () => {
|
|
48
|
-
t.value = "",
|
|
49
|
+
t.value = "", A(f.value, o.proxyUrl).then(async (n) => {
|
|
49
50
|
c("import", n), _.hide();
|
|
50
51
|
}).catch((n) => {
|
|
51
52
|
console.error("[importUrl]", n), t.value = n;
|
|
52
53
|
});
|
|
53
54
|
};
|
|
54
|
-
return
|
|
55
|
+
return I(r, () => {
|
|
55
56
|
var n;
|
|
56
57
|
if ((n = r.value) != null && n.length) {
|
|
57
58
|
const l = r.value[0], y = new FileReader();
|
|
58
59
|
y.onload = (V) => {
|
|
59
60
|
var x;
|
|
60
|
-
const
|
|
61
|
-
typeof
|
|
61
|
+
const $ = (x = V.target) == null ? void 0 : x.result;
|
|
62
|
+
typeof $ == "string" && (c("import", $), C());
|
|
62
63
|
}, y.readAsText(l);
|
|
63
64
|
}
|
|
64
65
|
}), (n, l) => (p(), g(E, null, [
|
|
@@ -106,8 +107,8 @@ const Y = (i) => {
|
|
|
106
107
|
labelShadowColor: "var(--theme-background-1, var(--default-theme-background-1))",
|
|
107
108
|
placeholder: "https://scalar.com/swagger.json"
|
|
108
109
|
}, null, 8, ["modelValue"]),
|
|
109
|
-
d(" " +
|
|
110
|
-
s(a(
|
|
110
|
+
d(" " + N(t.value) + " ", 1),
|
|
111
|
+
s(a(F), {
|
|
111
112
|
variant: "outlined",
|
|
112
113
|
onClick: l[3] || (l[3] = (y) => a(_).hide())
|
|
113
114
|
}, {
|
|
@@ -116,7 +117,7 @@ const Y = (i) => {
|
|
|
116
117
|
]),
|
|
117
118
|
_: 1
|
|
118
119
|
}),
|
|
119
|
-
s(a(
|
|
120
|
+
s(a(F), { onClick: h }, {
|
|
120
121
|
default: u(() => [
|
|
121
122
|
d("Import")
|
|
122
123
|
]),
|
|
@@ -128,7 +129,7 @@ const Y = (i) => {
|
|
|
128
129
|
}, 8, ["state"])
|
|
129
130
|
], 64));
|
|
130
131
|
}
|
|
131
|
-
}), re = /* @__PURE__ */
|
|
132
|
+
}), re = /* @__PURE__ */ M(te, [["__scopeId", "data-v-17d421af"]]), oe = { class: "swagger-editor-input" }, ae = /* @__PURE__ */ b({
|
|
132
133
|
__name: "SwaggerEditorInput",
|
|
133
134
|
props: {
|
|
134
135
|
value: {}
|
|
@@ -143,10 +144,10 @@ const Y = (i) => {
|
|
|
143
144
|
});
|
|
144
145
|
const c = w(null);
|
|
145
146
|
function o(e) {
|
|
146
|
-
return
|
|
147
|
+
return q(e) ? ["json"] : ["yaml"];
|
|
147
148
|
}
|
|
148
149
|
return (e, r) => (p(), g("div", oe, [
|
|
149
|
-
s(a(
|
|
150
|
+
s(a(J), {
|
|
150
151
|
ref_key: "codeMirrorRef",
|
|
151
152
|
ref: c,
|
|
152
153
|
content: e.value,
|
|
@@ -162,7 +163,7 @@ function le(i, v) {
|
|
|
162
163
|
k(i.$slots, "default")
|
|
163
164
|
]);
|
|
164
165
|
}
|
|
165
|
-
const ie = /* @__PURE__ */
|
|
166
|
+
const ie = /* @__PURE__ */ M(ne, [["render", le]]), de = /* @__PURE__ */ b({
|
|
166
167
|
__name: "SwaggerEditor",
|
|
167
168
|
props: {
|
|
168
169
|
value: {},
|
|
@@ -181,7 +182,7 @@ const ie = /* @__PURE__ */ $(ne, [["render", le]]), de = /* @__PURE__ */ M({
|
|
|
181
182
|
return t.startsWith("YAMLException:") ? t.split(`
|
|
182
183
|
`)[0] : t;
|
|
183
184
|
});
|
|
184
|
-
return
|
|
185
|
+
return I(
|
|
185
186
|
() => o.value,
|
|
186
187
|
async () => {
|
|
187
188
|
o.value && r(o.value);
|
|
@@ -193,8 +194,8 @@ const ie = /* @__PURE__ */ $(ne, [["render", le]]), de = /* @__PURE__ */ M({
|
|
|
193
194
|
t === "importUrl" ? (h = (f = e == null ? void 0 : e.value) == null ? void 0 : f.importUrlModal) == null || h.show() : t === "uploadFile" && ((n = e == null ? void 0 : e.value) == null || n.openFileDialog());
|
|
194
195
|
}
|
|
195
196
|
}), (t, f) => (p(), g(E, null, [
|
|
196
|
-
s(a(
|
|
197
|
-
s(
|
|
197
|
+
s(a(z), { id: t.theme }, null, 8, ["id"]),
|
|
198
|
+
s(Q, null, {
|
|
198
199
|
default: u(({ styles: h }) => [
|
|
199
200
|
U("div", {
|
|
200
201
|
class: L(["swagger-editor", h])
|
|
@@ -212,7 +213,7 @@ const ie = /* @__PURE__ */ $(ne, [["render", le]]), de = /* @__PURE__ */ M({
|
|
|
212
213
|
}, 8, ["proxyUrl"]),
|
|
213
214
|
C.value ? (p(), T(ie, { key: 0 }, {
|
|
214
215
|
default: u(() => [
|
|
215
|
-
d(
|
|
216
|
+
d(N(C.value), 1)
|
|
216
217
|
]),
|
|
217
218
|
_: 1
|
|
218
219
|
})) : S("", !0),
|
|
@@ -235,13 +236,13 @@ const ie = /* @__PURE__ */ $(ne, [["render", le]]), de = /* @__PURE__ */ M({
|
|
|
235
236
|
})
|
|
236
237
|
], 64));
|
|
237
238
|
}
|
|
238
|
-
}),
|
|
239
|
+
}), Ie = /* @__PURE__ */ M(de, [["__scopeId", "data-v-fcc7bbc6"]]);
|
|
239
240
|
export {
|
|
240
|
-
|
|
241
|
+
Ie as CodeEditor,
|
|
241
242
|
R as HeaderTabButton,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
243
|
+
Q as ResetStyles,
|
|
244
|
+
Ie as SwaggerEditor,
|
|
245
|
+
A as fetchSpecFromUrl,
|
|
246
|
+
q as isJsonString,
|
|
247
|
+
De as useDarkModeState
|
|
247
248
|
};
|