@scalar/api-reference 1.24.21 → 1.24.24
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 +41 -0
- package/dist/browser/standalone.js +21905 -22407
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiClientModal.vue.js +19 -18
- package/dist/components/ApiReference.vue.js +14 -14
- package/dist/components/ApiReferenceLayout.vue.d.ts +2 -2
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +1 -1
- package/dist/components/ApiReferenceLayout.vue2.js +130 -151
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.js +2 -2
- package/dist/components/Content/Authentication/Authentication.vue2.js +20 -18
- package/dist/components/Content/Content.vue.d.ts +3 -0
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +2 -2
- package/dist/components/Content/Content.vue2.js +29 -27
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +2 -2
- package/dist/components/Content/Lazy/Loading.vue.js +1 -1
- package/dist/components/Content/Operation/CustomRequestExamples.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/CustomRequestExamples.vue.js +1 -1
- package/dist/components/Content/Operation/CustomRequestExamples.vue2.js +19 -19
- package/dist/components/Content/Operation/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ExampleRequest.vue.js +2 -2
- package/dist/components/Content/Operation/ExampleRequest.vue2.js +63 -59
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/OperationAccordion.vue.js +1 -1
- package/dist/components/Content/Operation/OperationAccordion.vue2.js +26 -26
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.js +2 -2
- package/dist/components/Content/Operation/TestRequestButton.vue2.js +18 -36
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
- package/dist/components/Content/Tag/Endpoints.vue2.js +23 -23
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +42 -0
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -0
- package/dist/components/HttpMethod/HttpMethod.vue.js +28 -0
- package/dist/components/HttpMethod/HttpMethod.vue2.js +4 -0
- package/dist/components/HttpMethod/constants.d.ts +9 -0
- package/dist/components/HttpMethod/constants.d.ts.map +1 -0
- package/dist/components/HttpMethod/constants.js +36 -0
- package/dist/components/HttpMethod/index.d.ts +2 -0
- package/dist/components/HttpMethod/index.d.ts.map +1 -0
- package/dist/components/HttpMethod/utils/isRequestMethod.d.ts +4 -0
- package/dist/components/HttpMethod/utils/isRequestMethod.d.ts.map +1 -0
- package/dist/components/HttpMethod/utils/isRequestMethod.js +7 -0
- package/dist/components/Sidebar/SidebarHttpBadge.vue.js +1 -1
- package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +6 -6
- package/dist/components/api-client-bus.d.ts +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts +9 -0
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.js +43 -33
- package/dist/helpers/getApiClientRequest.d.ts +1 -1
- package/dist/helpers/getApiClientRequest.d.ts.map +1 -1
- package/dist/helpers/getApiClientRequest.js +12 -11
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/openClientFor.js +10 -7
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/parse.js +33 -31
- package/dist/hooks/useReactiveSpec.d.ts +1 -1
- package/dist/hooks/useSidebar.js +18 -17
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +101 -102
- package/dist/legacy/components/CardForm.vue.d.ts +10 -0
- package/dist/legacy/components/CardForm.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardForm.vue.js +13 -0
- package/dist/legacy/components/CardFormButton.vue.d.ts +12 -0
- package/dist/legacy/components/CardFormButton.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardFormButton.vue.js +7 -0
- package/dist/legacy/components/CardFormButton.vue2.js +18 -0
- package/dist/legacy/components/CardFormGroup.vue.d.ts +10 -0
- package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardFormGroup.vue.js +13 -0
- package/dist/legacy/components/CardFormRows.vue.d.ts +10 -0
- package/dist/legacy/components/CardFormRows.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardFormRows.vue.js +13 -0
- package/dist/legacy/components/CardFormTextInput.vue.d.ts +25 -0
- package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -0
- package/dist/legacy/components/CardFormTextInput.vue.js +7 -0
- package/dist/legacy/components/CardFormTextInput.vue2.js +37 -0
- package/dist/legacy/components/SecurityScheme.vue.d.ts +19 -0
- package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -0
- package/dist/legacy/components/SecurityScheme.vue.js +7 -0
- package/dist/legacy/components/SecurityScheme.vue2.js +364 -0
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +26 -0
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -0
- package/dist/legacy/components/SecuritySchemeScopes.vue.js +7 -0
- package/dist/legacy/components/SecuritySchemeScopes.vue2.js +91 -0
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +25 -0
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -0
- package/dist/legacy/components/SecuritySchemeSelector.vue.js +7 -0
- package/dist/legacy/components/SecuritySchemeSelector.vue2.js +64 -0
- package/dist/legacy/fixtures/httpHeaders.d.ts +6 -0
- package/dist/legacy/fixtures/httpHeaders.d.ts.map +1 -0
- package/dist/legacy/fixtures/httpRequestMethods.d.ts +10 -0
- package/dist/legacy/fixtures/httpRequestMethods.d.ts.map +1 -0
- package/dist/legacy/fixtures/httpRequestMethods.js +18 -0
- package/dist/legacy/fixtures/index.d.ts +3 -0
- package/dist/legacy/fixtures/index.d.ts.map +1 -0
- package/dist/legacy/helpers/createPlaceholderRequest.d.ts +6 -0
- package/dist/legacy/helpers/createPlaceholderRequest.d.ts.map +1 -0
- package/dist/legacy/helpers/createPlaceholderRequest.js +14 -0
- package/dist/legacy/helpers/encodeStringAsBase64.d.ts +5 -0
- package/dist/legacy/helpers/encodeStringAsBase64.d.ts.map +1 -0
- package/dist/legacy/helpers/encodeStringAsBase64.js +6 -0
- package/dist/legacy/helpers/getRequestFromAuthentication.d.ts +10 -0
- package/dist/legacy/helpers/getRequestFromAuthentication.d.ts.map +1 -0
- package/dist/legacy/helpers/getRequestFromAuthentication.js +83 -0
- package/dist/legacy/helpers/getUrlFromServerState.d.ts +6 -0
- package/dist/legacy/helpers/getUrlFromServerState.d.ts.map +1 -0
- package/dist/legacy/helpers/getUrlFromServerState.js +9 -0
- package/dist/legacy/helpers/humanDiff.d.ts +5 -0
- package/dist/legacy/helpers/humanDiff.d.ts.map +1 -0
- package/dist/legacy/helpers/index.d.ts +12 -0
- package/dist/legacy/helpers/index.d.ts.map +1 -0
- package/dist/legacy/helpers/mapFromArray.d.ts +5 -0
- package/dist/legacy/helpers/mapFromArray.d.ts.map +1 -0
- package/dist/legacy/helpers/normalizeHeaders.d.ts +9 -0
- package/dist/legacy/helpers/normalizeHeaders.d.ts.map +1 -0
- package/dist/legacy/helpers/normalizePath.d.ts +5 -0
- package/dist/legacy/helpers/normalizePath.d.ts.map +1 -0
- package/dist/legacy/helpers/normalizeRequestMethod.d.ts +6 -0
- package/dist/legacy/helpers/normalizeRequestMethod.d.ts.map +1 -0
- package/dist/legacy/helpers/normalizeRequestMethod.js +14 -0
- package/dist/legacy/helpers/normalizeUrl.d.ts +5 -0
- package/dist/legacy/helpers/normalizeUrl.d.ts.map +1 -0
- package/dist/legacy/helpers/prepareClientRequestConfig.d.ts +24 -0
- package/dist/legacy/helpers/prepareClientRequestConfig.d.ts.map +1 -0
- package/dist/legacy/index.d.ts +5 -0
- package/dist/legacy/index.d.ts.map +1 -0
- package/dist/legacy/stores/index.d.ts +6 -0
- package/dist/legacy/stores/index.d.ts.map +1 -0
- package/dist/legacy/stores/useApiClientStore.d.ts +18 -0
- package/dist/legacy/stores/useApiClientStore.d.ts.map +1 -0
- package/dist/legacy/stores/useApiClientStore.js +32 -0
- package/dist/legacy/stores/useAuthenticationStore.d.ts +59 -0
- package/dist/legacy/stores/useAuthenticationStore.d.ts.map +1 -0
- package/dist/legacy/stores/useAuthenticationStore.js +36 -0
- package/dist/legacy/stores/useOpenApiStore.d.ts +95 -0
- package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -0
- package/dist/legacy/stores/useOpenApiStore.js +23 -0
- package/dist/legacy/stores/useRequestStore.d.ts +58 -0
- package/dist/legacy/stores/useRequestStore.d.ts.map +1 -0
- package/dist/legacy/stores/useRequestStore.js +33 -0
- package/dist/legacy/stores/useServerStore.d.ts +18 -0
- package/dist/legacy/stores/useServerStore.d.ts.map +1 -0
- package/dist/legacy/stores/useServerStore.js +18 -0
- package/dist/legacy/types.d.ts +117 -0
- package/dist/legacy/types.d.ts.map +1 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +7 -7
- package/dist/types.d.ts.map +1 -1
- package/package.json +14 -13
- package/dist/components/ApiClientModalOld.vue.d.ts +0 -36
- package/dist/components/ApiClientModalOld.vue.d.ts.map +0 -1
- package/dist/components/ApiClientModalOld.vue.js +0 -7
- package/dist/components/ApiClientModalOld.vue2.js +0 -88
- package/dist/components/Content/Schema/SchemaProperty.spec.d.ts +0 -2
- package/dist/components/Content/Schema/SchemaProperty.spec.d.ts.map +0 -1
- package/dist/features.d.ts +0 -8
- package/dist/features.d.ts.map +0 -1
- package/dist/features.js +0 -5
- package/dist/standalone.spec.d.ts +0 -2
- package/dist/standalone.spec.d.ts.map +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, 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/legacy/components/CardForm.vue"],"names":[],"mappings":";;;AA8DA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { openBlock as r, createElementBlock as o, renderSlot as t } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import c from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const n = {}, f = { class: "card-form" };
|
|
5
|
+
function s(e, a) {
|
|
6
|
+
return r(), o("form", f, [
|
|
7
|
+
t(e.$slots, "default", {}, void 0, !0)
|
|
8
|
+
]);
|
|
9
|
+
}
|
|
10
|
+
const l = /* @__PURE__ */ c(n, [["render", s], ["__scopeId", "data-v-21a1cfbf"]]);
|
|
11
|
+
export {
|
|
12
|
+
l as default
|
|
13
|
+
};
|
|
@@ -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").PublicProps, 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/legacy/components/CardFormButton.vue"],"names":[],"mappings":";;;;;AAiGA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineComponent as r, ref as n, openBlock as s, createElementBlock as a, renderSlot as c } from "vue";
|
|
2
|
+
const p = /* @__PURE__ */ r({
|
|
3
|
+
__name: "CardFormButton",
|
|
4
|
+
setup(l, { expose: t }) {
|
|
5
|
+
const e = n();
|
|
6
|
+
return t({ el: e }), (o, u) => (s(), a("button", {
|
|
7
|
+
ref_key: "el",
|
|
8
|
+
ref: e,
|
|
9
|
+
class: "card-form-button",
|
|
10
|
+
type: "button"
|
|
11
|
+
}, [
|
|
12
|
+
c(o.$slots, "default", {}, void 0, !0)
|
|
13
|
+
], 512));
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
p as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, 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/legacy/components/CardFormGroup.vue"],"names":[],"mappings":";;;AA2DA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as o, renderSlot as t } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import c from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const n = {}, d = { class: "card-form-group" };
|
|
5
|
+
function s(r, a) {
|
|
6
|
+
return e(), o("div", d, [
|
|
7
|
+
t(r.$slots, "default", {}, void 0, !0)
|
|
8
|
+
]);
|
|
9
|
+
}
|
|
10
|
+
const p = /* @__PURE__ */ c(n, [["render", s], ["__scopeId", "data-v-88abf5f7"]]);
|
|
11
|
+
export {
|
|
12
|
+
p as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, 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=CardFormRows.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFormRows.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormRows.vue"],"names":[],"mappings":";;;AAiEA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as r, renderSlot as t } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import c from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const s = {}, n = { class: "card-form-rows" };
|
|
5
|
+
function d(e, a) {
|
|
6
|
+
return o(), r("div", n, [
|
|
7
|
+
t(e.$slots, "default", {}, void 0, !0)
|
|
8
|
+
]);
|
|
9
|
+
}
|
|
10
|
+
const i = /* @__PURE__ */ c(s, [["render", d], ["__scopeId", "data-v-1611fc76"]]);
|
|
11
|
+
export {
|
|
12
|
+
i as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
id: string;
|
|
3
|
+
type?: string | undefined;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
+
id: string;
|
|
6
|
+
type?: string | undefined;
|
|
7
|
+
}>>>, {}, {}>, {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=CardFormTextInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFormTextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormTextInput.vue"],"names":[],"mappings":";;;;;;;;;AA4NA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as p, ref as d, computed as i, openBlock as s, createElementBlock as u, createElementVNode as a, renderSlot as c, mergeProps as m, createBlock as f, unref as v, createCommentVNode as k } from "vue";
|
|
2
|
+
import { ScalarIconButton as w } from "@scalar/components";
|
|
3
|
+
const y = { class: "card-form-input" }, h = ["for"], _ = ["id", "type"], b = /* @__PURE__ */ p({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "CardFormTextInput",
|
|
6
|
+
props: {
|
|
7
|
+
id: {},
|
|
8
|
+
type: {}
|
|
9
|
+
},
|
|
10
|
+
setup(l) {
|
|
11
|
+
const o = l, e = d(!0), n = i(
|
|
12
|
+
() => o.type === "password" ? e.value ? "password" : "text" : o.type ?? "text"
|
|
13
|
+
);
|
|
14
|
+
return (t, r) => (s(), u("div", y, [
|
|
15
|
+
a("label", { for: t.id }, [
|
|
16
|
+
c(t.$slots, "default", {}, void 0, !0)
|
|
17
|
+
], 8, h),
|
|
18
|
+
a("input", m(t.$attrs, {
|
|
19
|
+
id: t.id,
|
|
20
|
+
autocomplete: "off",
|
|
21
|
+
"data-1p-ignore": "",
|
|
22
|
+
spellcheck: "false",
|
|
23
|
+
type: n.value
|
|
24
|
+
}), null, 16, _),
|
|
25
|
+
t.type === "password" ? (s(), f(v(w), {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "password-mask",
|
|
28
|
+
icon: e.value ? "Show" : "Hide",
|
|
29
|
+
label: e.value ? "Show Password" : "Hide Password",
|
|
30
|
+
onClick: r[0] || (r[0] = (B) => e.value = !e.value)
|
|
31
|
+
}, null, 8, ["icon", "label"])) : k("", !0)
|
|
32
|
+
]));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
b as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { OpenAPIV2, OpenAPIV3 } from '@scalar/openapi-parser';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
value?: OpenAPIV2.SecuritySchemeObject | OpenAPIV3.SecuritySchemeObject | undefined;
|
|
4
|
+
proxy?: string | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
6
|
+
value?: OpenAPIV2.SecuritySchemeObject | OpenAPIV3.SecuritySchemeObject | undefined;
|
|
7
|
+
proxy?: string | undefined;
|
|
8
|
+
}>>>, {}, {}>;
|
|
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
|
+
//# sourceMappingURL=SecurityScheme.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecurityScheme.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/SecurityScheme.vue"],"names":[],"mappings":"AAqeA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAe,MAAM,wBAAwB,CAAA;;;;;;;;AAguB/E,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import { defineComponent as J, computed as Q, openBlock as n, createBlock as w, withCtx as s, unref as u, createElementBlock as P, Fragment as C, createTextVNode as c, toDisplayString as X, createCommentVNode as f, createVNode as i, createElementVNode as W } from "vue";
|
|
2
|
+
import { concatenateUrlAndPath as Y, redirectToProxy as Z } from "@scalar/oas-utils/helpers";
|
|
3
|
+
import { useToasts as _ } from "@scalar/use-toasts";
|
|
4
|
+
import x from "./CardForm.vue.js";
|
|
5
|
+
import ee from "./CardFormButton.vue.js";
|
|
6
|
+
import b from "./CardFormGroup.vue.js";
|
|
7
|
+
import j from "./CardFormRows.vue.js";
|
|
8
|
+
import v from "./CardFormTextInput.vue.js";
|
|
9
|
+
import K from "./SecuritySchemeScopes.vue.js";
|
|
10
|
+
import { getUrlFromServerState as te } from "../helpers/getUrlFromServerState.js";
|
|
11
|
+
import { useServerStore as ae } from "../stores/useServerStore.js";
|
|
12
|
+
import { useAuthenticationStore as oe } from "../stores/useAuthenticationStore.js";
|
|
13
|
+
const fe = /* @__PURE__ */ J({
|
|
14
|
+
__name: "SecurityScheme",
|
|
15
|
+
props: {
|
|
16
|
+
value: {},
|
|
17
|
+
proxy: {}
|
|
18
|
+
},
|
|
19
|
+
setup(se) {
|
|
20
|
+
const { toast: R } = _(), { server: L } = ae(), { authentication: t, setAuthentication: p } = oe(), N = (e) => {
|
|
21
|
+
p({
|
|
22
|
+
apiKey: {
|
|
23
|
+
...t.apiKey,
|
|
24
|
+
token: e.target.value
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}, V = (e) => {
|
|
28
|
+
p({
|
|
29
|
+
http: {
|
|
30
|
+
...t.http,
|
|
31
|
+
basic: {
|
|
32
|
+
...t.http.basic,
|
|
33
|
+
username: e.target.value
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}, D = (e) => {
|
|
38
|
+
p({
|
|
39
|
+
http: {
|
|
40
|
+
...t.http,
|
|
41
|
+
basic: {
|
|
42
|
+
...t.http.basic,
|
|
43
|
+
password: e.target.value
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}, E = (e) => {
|
|
48
|
+
p({
|
|
49
|
+
http: {
|
|
50
|
+
...t.http,
|
|
51
|
+
bearer: {
|
|
52
|
+
...t.http.bearer,
|
|
53
|
+
token: e.target.value
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
}, S = (e) => {
|
|
58
|
+
p({
|
|
59
|
+
oAuth2: {
|
|
60
|
+
...t.oAuth2,
|
|
61
|
+
clientId: e.target.value
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}, H = (e) => {
|
|
65
|
+
p({
|
|
66
|
+
oAuth2: {
|
|
67
|
+
...t.oAuth2,
|
|
68
|
+
username: e.target.value
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}, G = (e) => {
|
|
72
|
+
p({
|
|
73
|
+
oAuth2: {
|
|
74
|
+
...t.oAuth2,
|
|
75
|
+
password: e.target.value
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
function M(e) {
|
|
80
|
+
const a = t.oAuth2.scopes.join(" "), l = (Math.random() + 1).toString(36).substring(7), o = new URL(e.authorizationUrl);
|
|
81
|
+
return p({
|
|
82
|
+
oAuth2: { ...t.oAuth2, state: l }
|
|
83
|
+
}), o.searchParams.set("response_type", "token"), o.searchParams.set("client_id", t.oAuth2.clientId), o.searchParams.set("redirect_uri", window.location.href), o.searchParams.set("scope", a), o.searchParams.set("state", l), o.toString();
|
|
84
|
+
}
|
|
85
|
+
function $(e, a) {
|
|
86
|
+
if (typeof e != "string") {
|
|
87
|
+
console.log("tokenUrl is not a string");
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
const l = a != null && a.baseUrl && !e.startsWith("http") ? Y(a == null ? void 0 : a.baseUrl, e) : e, o = new URL(l);
|
|
91
|
+
o.searchParams.set("grant_type", "password"), o.searchParams.set("username", t.oAuth2.username), o.searchParams.set("password", t.oAuth2.password), o.searchParams.set("client_id", t.oAuth2.clientId), o.searchParams.set("scope", t.oAuth2.scopes.join(" ")), fetch(
|
|
92
|
+
a != null && a.proxy ? Z(a == null ? void 0 : a.proxy, o.toString()) : o.toString(),
|
|
93
|
+
{
|
|
94
|
+
method: "POST",
|
|
95
|
+
headers: {
|
|
96
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
).then((r) => {
|
|
100
|
+
if (!r.ok)
|
|
101
|
+
throw new Error(
|
|
102
|
+
"Failed to get an access token. Please check your credentials."
|
|
103
|
+
);
|
|
104
|
+
return r.json();
|
|
105
|
+
}).then((r) => {
|
|
106
|
+
p({
|
|
107
|
+
oAuth2: { ...t.oAuth2, accessToken: r.access_token }
|
|
108
|
+
});
|
|
109
|
+
}).catch((r) => {
|
|
110
|
+
R("Couldn’t retrieve the password grant token", "warn", {
|
|
111
|
+
description: "Open your browser console to get more information."
|
|
112
|
+
}), console.error("[authorizeWithPassword]", r);
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
const I = Q({
|
|
116
|
+
get: () => t.oAuth2.scopes,
|
|
117
|
+
set: (e) => p({ oAuth2: { ...t.oAuth2, scopes: e } })
|
|
118
|
+
}), q = (e) => {
|
|
119
|
+
const l = window.open(e, "openAuth2Window", "left=100,top=100,width=800,height=600");
|
|
120
|
+
if (l) {
|
|
121
|
+
const o = setInterval(function() {
|
|
122
|
+
var r;
|
|
123
|
+
try {
|
|
124
|
+
const h = new URLSearchParams(l.location.href).get("access_token");
|
|
125
|
+
if (l.closed || h) {
|
|
126
|
+
clearInterval(o);
|
|
127
|
+
const m = (r = l.location.href.match(/state=([^&]*)/)) == null ? void 0 : r[1];
|
|
128
|
+
h && t.oAuth2.state === m && p({
|
|
129
|
+
oAuth2: { ...t.oAuth2, accessToken: h }
|
|
130
|
+
}), l.close();
|
|
131
|
+
}
|
|
132
|
+
} catch {
|
|
133
|
+
}
|
|
134
|
+
}, 200);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
return (e, a) => {
|
|
138
|
+
var l;
|
|
139
|
+
return e.value && ((l = e.value) != null && l.type) ? (n(), w(x, { key: 0 }, {
|
|
140
|
+
default: s(() => [
|
|
141
|
+
e.value.type === "apiKey" ? (n(), w(v, {
|
|
142
|
+
key: 0,
|
|
143
|
+
id: `security-scheme-${e.value.name}`,
|
|
144
|
+
placeholder: "Token",
|
|
145
|
+
type: "password",
|
|
146
|
+
value: u(t).apiKey.token,
|
|
147
|
+
onInput: N
|
|
148
|
+
}, {
|
|
149
|
+
default: s(() => {
|
|
150
|
+
var o, r, d;
|
|
151
|
+
return [
|
|
152
|
+
e.value.in ? (n(), P(C, { key: 0 }, [
|
|
153
|
+
c(X(((r = (o = e.value.in) == null ? void 0 : o.charAt(0)) == null ? void 0 : r.toUpperCase()) + ((d = e.value.in) == null ? void 0 : d.slice(1))), 1)
|
|
154
|
+
], 64)) : f("", !0),
|
|
155
|
+
c(" API ")
|
|
156
|
+
];
|
|
157
|
+
}),
|
|
158
|
+
_: 1
|
|
159
|
+
}, 8, ["id", "value"])) : e.value.type === "http" || e.value.type === "basic" ? (n(), P(C, { key: 1 }, [
|
|
160
|
+
e.value.type === "basic" || e.value.scheme === "basic" ? (n(), w(b, { key: 0 }, {
|
|
161
|
+
default: s(() => [
|
|
162
|
+
i(v, {
|
|
163
|
+
id: "http.basic.username",
|
|
164
|
+
placeholder: "Username",
|
|
165
|
+
value: u(t).http.basic.username,
|
|
166
|
+
onInput: V
|
|
167
|
+
}, {
|
|
168
|
+
default: s(() => [
|
|
169
|
+
c(" Username ")
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
}, 8, ["value"]),
|
|
173
|
+
i(v, {
|
|
174
|
+
id: "http.basic.password",
|
|
175
|
+
placeholder: "Password",
|
|
176
|
+
type: "password",
|
|
177
|
+
value: u(t).http.basic.password,
|
|
178
|
+
onInput: D
|
|
179
|
+
}, {
|
|
180
|
+
default: s(() => [
|
|
181
|
+
c(" Password ")
|
|
182
|
+
]),
|
|
183
|
+
_: 1
|
|
184
|
+
}, 8, ["value"])
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
})) : e.value.type === "http" && e.value.scheme === "bearer" ? (n(), w(v, {
|
|
188
|
+
key: 1,
|
|
189
|
+
id: "http.bearer.token",
|
|
190
|
+
placeholder: "Token",
|
|
191
|
+
type: "password",
|
|
192
|
+
value: u(t).http.bearer.token,
|
|
193
|
+
onInput: E
|
|
194
|
+
}, {
|
|
195
|
+
default: s(() => [
|
|
196
|
+
c(" Bearer Token ")
|
|
197
|
+
]),
|
|
198
|
+
_: 1
|
|
199
|
+
}, 8, ["value"])) : f("", !0)
|
|
200
|
+
], 64)) : e.value.type.toLowerCase() === "oauth2" && e.value.flows ? (n(), w(b, { key: 2 }, {
|
|
201
|
+
default: s(() => {
|
|
202
|
+
var o, r;
|
|
203
|
+
return [
|
|
204
|
+
e.value.flows.implicit ? (n(), P(C, { key: 0 }, [
|
|
205
|
+
u(t).oAuth2.accessToken ? (n(), P(C, { key: 0 }, [
|
|
206
|
+
i(v, {
|
|
207
|
+
id: "oAuth2.accessToken",
|
|
208
|
+
placeholder: "xxxxx",
|
|
209
|
+
type: "password",
|
|
210
|
+
value: u(t).oAuth2.accessToken
|
|
211
|
+
}, {
|
|
212
|
+
default: s(() => [
|
|
213
|
+
c(" Access Token ")
|
|
214
|
+
]),
|
|
215
|
+
_: 1
|
|
216
|
+
}, 8, ["value"]),
|
|
217
|
+
i(ee, {
|
|
218
|
+
onClick: a[0] || (a[0] = () => u(p)({
|
|
219
|
+
oAuth2: {
|
|
220
|
+
...u(t).oAuth2,
|
|
221
|
+
accessToken: "",
|
|
222
|
+
state: ""
|
|
223
|
+
}
|
|
224
|
+
}))
|
|
225
|
+
}, {
|
|
226
|
+
default: s(() => [
|
|
227
|
+
c(" Reset ")
|
|
228
|
+
]),
|
|
229
|
+
_: 1
|
|
230
|
+
})
|
|
231
|
+
], 64)) : f("", !0)
|
|
232
|
+
], 64)) : f("", !0),
|
|
233
|
+
(r = (o = e.value) == null ? void 0 : o.flows) != null && r.password ? (n(), w(j, { key: 1 }, {
|
|
234
|
+
default: s(() => [
|
|
235
|
+
i(b, null, {
|
|
236
|
+
default: s(() => [
|
|
237
|
+
i(v, {
|
|
238
|
+
id: "oAuth2.username",
|
|
239
|
+
placeholder: "Username",
|
|
240
|
+
value: u(t).oAuth2.username,
|
|
241
|
+
onInput: H
|
|
242
|
+
}, {
|
|
243
|
+
default: s(() => [
|
|
244
|
+
c(" Username ")
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["value"]),
|
|
248
|
+
i(v, {
|
|
249
|
+
id: "oAuth2.password",
|
|
250
|
+
placeholder: "Password",
|
|
251
|
+
type: "password",
|
|
252
|
+
value: u(t).oAuth2.password,
|
|
253
|
+
onInput: G
|
|
254
|
+
}, {
|
|
255
|
+
default: s(() => [
|
|
256
|
+
c(" Password ")
|
|
257
|
+
]),
|
|
258
|
+
_: 1
|
|
259
|
+
}, 8, ["value"])
|
|
260
|
+
]),
|
|
261
|
+
_: 1
|
|
262
|
+
}),
|
|
263
|
+
i(b, null, {
|
|
264
|
+
default: s(() => {
|
|
265
|
+
var d, h, m, A, y, k, T, U, F, B, O;
|
|
266
|
+
return [
|
|
267
|
+
i(v, {
|
|
268
|
+
id: "oAuth2.clientId",
|
|
269
|
+
placeholder: "12345",
|
|
270
|
+
type: "text",
|
|
271
|
+
value: u(t).oAuth2.clientId,
|
|
272
|
+
onInput: S
|
|
273
|
+
}, {
|
|
274
|
+
default: s(() => [
|
|
275
|
+
c(" Client ID ")
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
}, 8, ["value"]),
|
|
279
|
+
e.value !== void 0 && Object.entries(
|
|
280
|
+
((m = (h = (d = e.value) == null ? void 0 : d.flows) == null ? void 0 : h.implicit) == null ? void 0 : m.scopes) ?? ((k = (y = (A = e.value) == null ? void 0 : A.flows) == null ? void 0 : y.password) == null ? void 0 : k.scopes) ?? {}
|
|
281
|
+
).length > 0 ? (n(), w(K, {
|
|
282
|
+
key: 0,
|
|
283
|
+
selected: I.value,
|
|
284
|
+
"onUpdate:selected": a[1] || (a[1] = (g) => I.value = g),
|
|
285
|
+
scopes: ((F = (U = (T = e.value) == null ? void 0 : T.flows) == null ? void 0 : U.implicit) == null ? void 0 : F.scopes) ?? ((O = (B = e.value) == null ? void 0 : B.flows) == null ? void 0 : O.password.scopes)
|
|
286
|
+
}, null, 8, ["selected", "scopes"])) : f("", !0),
|
|
287
|
+
W("button", {
|
|
288
|
+
class: "cardform-auth-button",
|
|
289
|
+
type: "button",
|
|
290
|
+
onClick: a[2] || (a[2] = () => {
|
|
291
|
+
var g, z;
|
|
292
|
+
return $(
|
|
293
|
+
(z = (g = e.value.flows) == null ? void 0 : g.password) == null ? void 0 : z.tokenUrl,
|
|
294
|
+
{
|
|
295
|
+
baseUrl: u(te)(u(L)),
|
|
296
|
+
proxy: e.proxy
|
|
297
|
+
}
|
|
298
|
+
);
|
|
299
|
+
})
|
|
300
|
+
}, " Authorize ")
|
|
301
|
+
];
|
|
302
|
+
}),
|
|
303
|
+
_: 1
|
|
304
|
+
})
|
|
305
|
+
]),
|
|
306
|
+
_: 1
|
|
307
|
+
})) : (n(), w(j, { key: 2 }, {
|
|
308
|
+
default: s(() => [
|
|
309
|
+
i(b, null, {
|
|
310
|
+
default: s(() => {
|
|
311
|
+
var d, h;
|
|
312
|
+
return [
|
|
313
|
+
i(v, {
|
|
314
|
+
id: "oAuth2.clientId",
|
|
315
|
+
placeholder: "12345",
|
|
316
|
+
type: "text",
|
|
317
|
+
value: u(t).oAuth2.clientId,
|
|
318
|
+
onInput: S
|
|
319
|
+
}, {
|
|
320
|
+
default: s(() => [
|
|
321
|
+
c(" Client ID ")
|
|
322
|
+
]),
|
|
323
|
+
_: 1
|
|
324
|
+
}, 8, ["value"]),
|
|
325
|
+
e.value !== void 0 && Object.entries(
|
|
326
|
+
((d = e.value.flows.implicit) == null ? void 0 : d.scopes) ?? e.value.flows.password.scopes
|
|
327
|
+
).length > 0 ? (n(), w(K, {
|
|
328
|
+
key: 0,
|
|
329
|
+
selected: I.value,
|
|
330
|
+
"onUpdate:selected": a[3] || (a[3] = (m) => I.value = m),
|
|
331
|
+
scopes: ((h = e.value.flows.implicit) == null ? void 0 : h.scopes) ?? e.value.flows.password.scopes
|
|
332
|
+
}, null, 8, ["selected", "scopes"])) : f("", !0),
|
|
333
|
+
W("button", {
|
|
334
|
+
class: "cardform-auth-button",
|
|
335
|
+
type: "button",
|
|
336
|
+
onClick: a[4] || (a[4] = () => {
|
|
337
|
+
var m, A, y, k;
|
|
338
|
+
return q(
|
|
339
|
+
M(
|
|
340
|
+
((A = (m = e.value) == null ? void 0 : m.flows) == null ? void 0 : A.implicit) ?? ((k = (y = e.value) == null ? void 0 : y.flows) == null ? void 0 : k.password)
|
|
341
|
+
)
|
|
342
|
+
);
|
|
343
|
+
})
|
|
344
|
+
}, " Authorize ")
|
|
345
|
+
];
|
|
346
|
+
}),
|
|
347
|
+
_: 1
|
|
348
|
+
})
|
|
349
|
+
]),
|
|
350
|
+
_: 1
|
|
351
|
+
}))
|
|
352
|
+
];
|
|
353
|
+
}),
|
|
354
|
+
_: 1
|
|
355
|
+
})) : f("", !0)
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
})) : f("", !0);
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
export {
|
|
363
|
+
fe as default
|
|
364
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
scopes?: {
|
|
3
|
+
[scope: string]: string;
|
|
4
|
+
} | undefined;
|
|
5
|
+
selected: string[];
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:selected": (v: string[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
9
|
+
scopes?: {
|
|
10
|
+
[scope: string]: string;
|
|
11
|
+
} | undefined;
|
|
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_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
|
+
//# sourceMappingURL=SecuritySchemeScopes.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecuritySchemeScopes.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/SecuritySchemeScopes.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;AAqZA,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|