@scalar/api-reference 1.25.76 → 1.25.78
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 +33 -0
- package/dist/browser/standalone.js +24389 -23740
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +41 -56
- 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 +3 -3
- package/dist/components/ApiReferenceLayout.vue2.js +140 -123
- package/dist/components/Content/Content.vue.d.ts +0 -1
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +1 -1
- package/dist/components/Content/Content.vue2.js +67 -62
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Loading.vue.js +74 -69
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.js +37 -33
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts +1 -1
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +60 -60
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
- package/dist/embeds/OpenApiDocument/types.d.ts +1 -1
- package/dist/embeds/OpenApiDocument/types.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.js +20 -18
- package/dist/features/ApiClientModal/useApiClient.d.ts +149 -138
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/ApiClientModal/useApiClient.js +6 -6
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerUrlSelect.vue.js +2 -2
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.js +3 -3
- package/dist/features/BaseUrl/ServerVariablesSelect.vue2.js +3 -3
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.js +2 -2
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +3 -0
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue2.js +121 -147
- package/dist/features/Operation/Operation.vue.d.ts +6 -4
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +30 -13
- package/dist/features/Operation/hooks/useRequestExample.d.ts +17 -0
- package/dist/features/Operation/hooks/useRequestExample.d.ts.map +1 -0
- package/dist/features/Operation/hooks/useRequestExample.js +68 -0
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +2 -0
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +47 -41
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +2 -0
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +52 -48
- package/dist/helpers/convertRequestToHarRequest.d.ts +7 -0
- package/dist/helpers/convertRequestToHarRequest.d.ts.map +1 -0
- package/dist/helpers/convertRequestToHarRequest.js +64 -0
- package/dist/helpers/get-request.d.ts +40 -0
- package/dist/helpers/get-request.d.ts.map +1 -0
- package/dist/helpers/get-request.js +6 -0
- package/dist/helpers/getExampleCode.d.ts +2 -2
- package/dist/helpers/getExampleCode.d.ts.map +1 -1
- package/dist/helpers/getExampleCode.js +19 -16
- package/dist/helpers/index.d.ts +1 -3
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.d.ts +0 -5
- package/dist/helpers/provideSymbols.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.js +3 -4
- package/dist/hooks/useReactiveSpec.d.ts +1 -1
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/index.js +77 -85
- package/dist/legacy/helpers/getUrlFromServerState.js +8 -8
- package/dist/legacy/helpers/index.d.ts +0 -10
- package/dist/legacy/helpers/index.d.ts.map +1 -1
- package/dist/legacy/stores/index.d.ts +0 -3
- package/dist/legacy/stores/index.d.ts.map +1 -1
- package/dist/stores/index.d.ts +0 -1
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +8 -8
- package/dist/components/Content/Authentication/Authentication.vue.d.ts +0 -8
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +0 -1
- package/dist/components/Content/Authentication/Authentication.vue.js +0 -7
- package/dist/components/Content/Authentication/Authentication.vue2.js +0 -62
- package/dist/components/Content/Authentication/index.d.ts +0 -2
- package/dist/components/Content/Authentication/index.d.ts.map +0 -1
- package/dist/helpers/createRequest.d.ts +0 -6
- package/dist/helpers/createRequest.d.ts.map +0 -1
- package/dist/helpers/createRequest.js +0 -16
- package/dist/helpers/getApiClientRequest.d.ts +0 -13
- package/dist/helpers/getApiClientRequest.d.ts.map +0 -1
- package/dist/helpers/getApiClientRequest.js +0 -43
- package/dist/helpers/getHarRequest.d.ts +0 -4
- package/dist/helpers/getHarRequest.d.ts.map +0 -1
- package/dist/helpers/getHarRequest.js +0 -34
- package/dist/legacy/components/CardForm.vue.d.ts +0 -18
- package/dist/legacy/components/CardForm.vue.d.ts.map +0 -1
- package/dist/legacy/components/CardForm.vue.js +0 -13
- package/dist/legacy/components/CardFormButton.vue.d.ts +0 -22
- package/dist/legacy/components/CardFormButton.vue.d.ts.map +0 -1
- package/dist/legacy/components/CardFormButton.vue.js +0 -7
- package/dist/legacy/components/CardFormButton.vue2.js +0 -18
- package/dist/legacy/components/CardFormGroup.vue.d.ts +0 -18
- package/dist/legacy/components/CardFormGroup.vue.d.ts.map +0 -1
- package/dist/legacy/components/CardFormGroup.vue.js +0 -13
- package/dist/legacy/components/CardFormRows.vue.d.ts +0 -18
- package/dist/legacy/components/CardFormRows.vue.d.ts.map +0 -1
- package/dist/legacy/components/CardFormRows.vue.js +0 -13
- package/dist/legacy/components/CardFormTextInput.vue.d.ts +0 -23
- package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +0 -1
- package/dist/legacy/components/CardFormTextInput.vue.js +0 -7
- package/dist/legacy/components/CardFormTextInput.vue2.js +0 -53
- package/dist/legacy/components/SecurityScheme.vue.d.ts +0 -8
- package/dist/legacy/components/SecurityScheme.vue.d.ts.map +0 -1
- package/dist/legacy/components/SecurityScheme.vue.js +0 -7
- package/dist/legacy/components/SecurityScheme.vue2.js +0 -393
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +0 -13
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +0 -1
- package/dist/legacy/components/SecuritySchemeScopes.vue.js +0 -7
- package/dist/legacy/components/SecuritySchemeScopes.vue2.js +0 -91
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +0 -11
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +0 -1
- package/dist/legacy/components/SecuritySchemeSelector.vue.js +0 -7
- package/dist/legacy/components/SecuritySchemeSelector.vue2.js +0 -96
- package/dist/legacy/helpers/createPlaceholderRequest.d.ts +0 -6
- package/dist/legacy/helpers/createPlaceholderRequest.d.ts.map +0 -1
- package/dist/legacy/helpers/encodeStringAsBase64.js +0 -6
- package/dist/legacy/helpers/getRequestFromAuthentication.d.ts +0 -10
- package/dist/legacy/helpers/getRequestFromAuthentication.d.ts.map +0 -1
- package/dist/legacy/helpers/getRequestFromAuthentication.js +0 -83
- package/dist/legacy/helpers/humanDiff.d.ts +0 -5
- package/dist/legacy/helpers/humanDiff.d.ts.map +0 -1
- package/dist/legacy/helpers/mapFromArray.d.ts +0 -5
- package/dist/legacy/helpers/mapFromArray.d.ts.map +0 -1
- package/dist/legacy/helpers/normalizeHeaderName.d.ts +0 -5
- package/dist/legacy/helpers/normalizeHeaderName.d.ts.map +0 -1
- package/dist/legacy/helpers/normalizeHeaderName.js +0 -6
- package/dist/legacy/helpers/normalizeHeaders.d.ts +0 -8
- package/dist/legacy/helpers/normalizeHeaders.d.ts.map +0 -1
- package/dist/legacy/helpers/normalizeHeaders.js +0 -22
- package/dist/legacy/helpers/normalizePath.d.ts +0 -5
- package/dist/legacy/helpers/normalizePath.d.ts.map +0 -1
- package/dist/legacy/helpers/normalizeUrl.d.ts +0 -5
- package/dist/legacy/helpers/normalizeUrl.d.ts.map +0 -1
- package/dist/legacy/helpers/prepareClientRequestConfig.d.ts +0 -24
- package/dist/legacy/helpers/prepareClientRequestConfig.d.ts.map +0 -1
- package/dist/legacy/stores/useAuthenticationStore.d.ts +0 -55
- package/dist/legacy/stores/useAuthenticationStore.d.ts.map +0 -1
- package/dist/legacy/stores/useAuthenticationStore.js +0 -36
- package/dist/legacy/stores/useOpenApiStore.d.ts +0 -125
- package/dist/legacy/stores/useOpenApiStore.d.ts.map +0 -1
- package/dist/legacy/stores/useOpenApiStore.js +0 -9
- package/dist/legacy/stores/useRequestStore.d.ts +0 -62
- package/dist/legacy/stores/useRequestStore.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.25.
|
|
23
|
+
"version": "1.25.78",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"httpsnippet-lite": "^3.0.5",
|
|
56
56
|
"nanoid": "^5.0.7",
|
|
57
57
|
"vue": "^3.5.12",
|
|
58
|
-
"@scalar/api-client": "2.2.8",
|
|
59
|
-
"@scalar/components": "0.13.2",
|
|
60
58
|
"@scalar/code-highlight": "0.0.18",
|
|
61
|
-
"@scalar/
|
|
62
|
-
"@scalar/
|
|
63
|
-
"@scalar/openapi-
|
|
64
|
-
"@scalar/snippetz": "0.2.7",
|
|
59
|
+
"@scalar/components": "0.13.4",
|
|
60
|
+
"@scalar/oas-utils": "0.2.86",
|
|
61
|
+
"@scalar/openapi-parser": "0.9.0",
|
|
65
62
|
"@scalar/themes": "0.9.54",
|
|
66
63
|
"@scalar/types": "0.0.23",
|
|
64
|
+
"@scalar/openapi-types": "0.1.5",
|
|
65
|
+
"@scalar/use-hooks": "0.1.7",
|
|
67
66
|
"@scalar/use-toasts": "0.7.7",
|
|
68
|
-
"@scalar/
|
|
67
|
+
"@scalar/snippetz": "0.2.8",
|
|
68
|
+
"@scalar/api-client": "2.2.10"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Spec } from '@scalar/types/legacy';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
parsedSpec?: Spec;
|
|
4
|
-
proxyUrl?: string;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
export default _default;
|
|
8
|
-
//# sourceMappingURL=Authentication.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/Authentication.vue"],"names":[],"mappings":"AAgFA,OAAO,KAAK,EAAY,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAS1D,KAAK,WAAW,GAAG;IAAE,UAAU,CAAC,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;;AA+H5D,wBAMG"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, computed as v, watch as _, onServerPrefetch as k, useSSRContext as x, unref as n, openBlock as a, createElementBlock as S, createElementVNode as h, createVNode as U, createBlock as w, createCommentVNode as i } from "vue";
|
|
2
|
-
import A from "../../../legacy/components/SecurityScheme.vue.js";
|
|
3
|
-
import B from "../../../legacy/components/SecuritySchemeSelector.vue.js";
|
|
4
|
-
import { sleep as C } from "../../../helpers/sleep.js";
|
|
5
|
-
import { hasSecuritySchemes as N } from "../../../helpers/hasSecuritySchemes.js";
|
|
6
|
-
import { useAuthenticationStore as V } from "../../../legacy/stores/useAuthenticationStore.js";
|
|
7
|
-
const E = { key: 0 }, b = { class: "authentication-header" }, G = { class: "selector" }, P = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "authentication-content"
|
|
10
|
-
}, F = /* @__PURE__ */ f({
|
|
11
|
-
__name: "Authentication",
|
|
12
|
-
props: {
|
|
13
|
-
parsedSpec: {},
|
|
14
|
-
proxyUrl: {}
|
|
15
|
-
},
|
|
16
|
-
setup(d) {
|
|
17
|
-
const s = d, { authentication: r, setAuthentication: l } = V(), y = v(() => {
|
|
18
|
-
var t, c, o;
|
|
19
|
-
if (!r.preferredSecurityScheme)
|
|
20
|
-
return !1;
|
|
21
|
-
const e = (o = (c = (t = s.parsedSpec) == null ? void 0 : t.components) == null ? void 0 : c.securitySchemes) == null ? void 0 : o[r.preferredSecurityScheme];
|
|
22
|
-
return !!e && "type" in e && !!e.type;
|
|
23
|
-
});
|
|
24
|
-
return _(
|
|
25
|
-
() => {
|
|
26
|
-
var e, t;
|
|
27
|
-
return (t = (e = s.parsedSpec) == null ? void 0 : e.components) == null ? void 0 : t.securitySchemes;
|
|
28
|
-
},
|
|
29
|
-
() => {
|
|
30
|
-
var e, t;
|
|
31
|
-
l({
|
|
32
|
-
securitySchemes: (t = (e = s.parsedSpec) == null ? void 0 : e.components) == null ? void 0 : t.securitySchemes
|
|
33
|
-
});
|
|
34
|
-
},
|
|
35
|
-
{ deep: !0, immediate: !0 }
|
|
36
|
-
), k(async () => {
|
|
37
|
-
const e = x();
|
|
38
|
-
await C(1), e.payload.data["useGlobalStore-authentication"] = r;
|
|
39
|
-
}), (e, t) => {
|
|
40
|
-
var c, o, p, u, m;
|
|
41
|
-
return n(N)(e.parsedSpec) ? (a(), S("div", E, [
|
|
42
|
-
h("div", b, [
|
|
43
|
-
h("div", G, [
|
|
44
|
-
U(B, {
|
|
45
|
-
value: (o = (c = e.parsedSpec) == null ? void 0 : c.components) == null ? void 0 : o.securitySchemes
|
|
46
|
-
}, null, 8, ["value"])
|
|
47
|
-
])
|
|
48
|
-
]),
|
|
49
|
-
y.value ? (a(), S("div", P, [
|
|
50
|
-
n(r).preferredSecurityScheme ? (a(), w(A, {
|
|
51
|
-
key: 0,
|
|
52
|
-
proxyUrl: e.proxyUrl,
|
|
53
|
-
value: (m = (u = (p = e.parsedSpec) == null ? void 0 : p.components) == null ? void 0 : u.securitySchemes) == null ? void 0 : m[n(r).preferredSecurityScheme]
|
|
54
|
-
}, null, 8, ["proxyUrl", "value"])) : i("", !0)
|
|
55
|
-
])) : i("", !0)
|
|
56
|
-
])) : i("", !0);
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
export {
|
|
61
|
-
F as default
|
|
62
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createRequest.d.ts","sourceRoot":"","sources":["../../src/helpers/createRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAE/C;;GAEG;AACH,wBAAgB,aAAa,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAYxE"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type ClientRequestConfig, type ServerState } from '#legacy';
|
|
2
|
-
import type { OpenAPIV3 } from '@scalar/openapi-types';
|
|
3
|
-
import type { AuthenticationState, TransformedOperation } from '@scalar/types/legacy';
|
|
4
|
-
/**
|
|
5
|
-
* Generate parameters for the request
|
|
6
|
-
*/
|
|
7
|
-
export declare function getApiClientRequest({ serverState, authenticationState, operation, globalSecurity, }: {
|
|
8
|
-
serverState: ServerState;
|
|
9
|
-
operation: TransformedOperation;
|
|
10
|
-
authenticationState?: AuthenticationState | null;
|
|
11
|
-
globalSecurity?: OpenAPIV3.SecurityRequirementObject[] | null;
|
|
12
|
-
}): ClientRequestConfig;
|
|
13
|
-
//# sourceMappingURL=getApiClientRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getApiClientRequest.d.ts","sourceRoot":"","sources":["../../src/helpers/getApiClientRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAGjB,MAAM,SAAS,CAAA;AAKhB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,sBAAsB,CAAA;AAI7B;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,cAAc,GACf,EAAE;IACD,WAAW,EAAE,WAAW,CAAA;IACxB,SAAS,EAAE,oBAAoB,CAAA;IAC/B,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAA;IAChD,cAAc,CAAC,EAAE,SAAS,CAAC,yBAAyB,EAAE,GAAG,IAAI,CAAA;CAC9D,GAAG,mBAAmB,CAmCtB"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { getRequestFromOperation as a, getParametersFromOperation as p } from "@scalar/oas-utils/spec-getters";
|
|
2
|
-
import { getHarRequest as q } from "./getHarRequest.js";
|
|
3
|
-
import { getRequestFromAuthentication as c } from "../legacy/helpers/getRequestFromAuthentication.js";
|
|
4
|
-
import { getUrlFromServerState as n } from "../legacy/helpers/getUrlFromServerState.js";
|
|
5
|
-
function O({
|
|
6
|
-
serverState: t,
|
|
7
|
-
authenticationState: o,
|
|
8
|
-
operation: e,
|
|
9
|
-
globalSecurity: d
|
|
10
|
-
}) {
|
|
11
|
-
var m, u;
|
|
12
|
-
const r = q(
|
|
13
|
-
{
|
|
14
|
-
url: n(t).modifiedUrl
|
|
15
|
-
},
|
|
16
|
-
a(e, { requiredOnly: !1 }),
|
|
17
|
-
// Only generate authentication parameters if an authentication state is passed.
|
|
18
|
-
o ? c(
|
|
19
|
-
o,
|
|
20
|
-
((m = e.information) == null ? void 0 : m.security) ?? d ?? []
|
|
21
|
-
) : {}
|
|
22
|
-
), l = a(e, {
|
|
23
|
-
requiredOnly: !1
|
|
24
|
-
}), f = p(e, "path", !1);
|
|
25
|
-
return {
|
|
26
|
-
id: e.operationId,
|
|
27
|
-
name: e.name,
|
|
28
|
-
type: r.method,
|
|
29
|
-
path: l.path ?? "",
|
|
30
|
-
variables: f,
|
|
31
|
-
cookies: s(r.cookies),
|
|
32
|
-
query: r.queryString.map((i) => ({ ...i, enabled: i.required ?? !0 })),
|
|
33
|
-
headers: s(r.headers),
|
|
34
|
-
url: n(t).modifiedUrl ?? "",
|
|
35
|
-
body: (u = r.postData) == null ? void 0 : u.text
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
function s(t) {
|
|
39
|
-
return (t ?? []).map((o) => ({ ...o, enabled: !0 }));
|
|
40
|
-
}
|
|
41
|
-
export {
|
|
42
|
-
O as getApiClientRequest
|
|
43
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getHarRequest.d.ts","sourceRoot":"","sources":["../../src/helpers/getHarRequest.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,kBAAkB,EAGnB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,eAAO,MAAM,aAAa,gBACX,OAAO,CAAC,kBAAkB,CAAC,EAAE,KACzC,UAyCF,CAAA"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { normalizeHeaders as i } from "../legacy/helpers/normalizeHeaders.js";
|
|
2
|
-
const h = (...s) => {
|
|
3
|
-
let e = {
|
|
4
|
-
httpVersion: "1.1",
|
|
5
|
-
method: "GET",
|
|
6
|
-
url: "",
|
|
7
|
-
path: "",
|
|
8
|
-
headers: [],
|
|
9
|
-
headersSize: -1,
|
|
10
|
-
queryString: [],
|
|
11
|
-
cookies: [],
|
|
12
|
-
bodySize: -1
|
|
13
|
-
};
|
|
14
|
-
s.forEach((r) => {
|
|
15
|
-
e = {
|
|
16
|
-
...e,
|
|
17
|
-
...r,
|
|
18
|
-
headers: [...e.headers, ...r.headers ?? []],
|
|
19
|
-
queryString: [
|
|
20
|
-
...e.queryString,
|
|
21
|
-
...r.queryString ?? []
|
|
22
|
-
],
|
|
23
|
-
cookies: [...e.cookies, ...r.cookies ?? []]
|
|
24
|
-
};
|
|
25
|
-
}), e.headers = i(e.headers);
|
|
26
|
-
const { path: o, ...t } = e;
|
|
27
|
-
return o ? {
|
|
28
|
-
...t,
|
|
29
|
-
url: `${e.url}${o}`
|
|
30
|
-
} : t;
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
h as getHarRequest
|
|
34
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: HTMLFormElement;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=CardForm.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardForm.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardForm.vue"],"names":[],"mappings":"AA0BA,iBAAS,cAAc;WAuCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,2RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 = {}, d = { class: "card-form" };
|
|
5
|
-
function s(e, f) {
|
|
6
|
-
return r(), o("form", d, [
|
|
7
|
-
t(e.$slots, "default", {}, void 0, !0)
|
|
8
|
-
]);
|
|
9
|
-
}
|
|
10
|
-
const l = /* @__PURE__ */ c(n, [["render", s], ["__scopeId", "data-v-20e78fcd"]]);
|
|
11
|
-
export {
|
|
12
|
-
l as default
|
|
13
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {
|
|
7
|
-
el: HTMLButtonElement;
|
|
8
|
-
};
|
|
9
|
-
rootEl: HTMLButtonElement;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
13
|
-
el: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
14
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=CardFormButton.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardFormButton.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormButton.vue"],"names":[],"mappings":"AAkDA,iBAAS,cAAc;WA0CT,OAAO,IAA6B;;yBATrB,GAAG;;;;;;EAc/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;wPAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: HTMLDivElement;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=CardFormGroup.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardFormGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormGroup.vue"],"names":[],"mappings":"AAsBA,iBAAS,cAAc;WAwCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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-2715671a"]]);
|
|
11
|
-
export {
|
|
12
|
-
p as default
|
|
13
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: HTMLDivElement;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=CardFormRows.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardFormRows.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormRows.vue"],"names":[],"mappings":"AA0BA,iBAAS,cAAc;WAuCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
id: string;
|
|
3
|
-
type?: string;
|
|
4
|
-
label?: boolean;
|
|
5
|
-
};
|
|
6
|
-
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
slots: {
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: any;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=CardFormTextInput.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardFormTextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormTextInput.vue"],"names":[],"mappings":"AAiJA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAC;AAsBF,iBAAS,cAAc;WA2ET,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, ref as c, computed as u, openBlock as r, createElementBlock as l, createElementVNode as a, normalizeClass as m, renderSlot as f, mergeProps as y, createVNode as v, unref as k, withDirectives as h, vModelCheckbox as b, createCommentVNode as w } from "vue";
|
|
2
|
-
import { ScalarIcon as C } from "@scalar/components";
|
|
3
|
-
const _ = { class: "card-form-input" }, V = ["for"], x = ["id", "type"], B = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "card-form-input-mask"
|
|
6
|
-
}, N = ["aria-controls", "aria-expanded"], E = /* @__PURE__ */ p({
|
|
7
|
-
inheritAttrs: !1,
|
|
8
|
-
__name: "CardFormTextInput",
|
|
9
|
-
props: {
|
|
10
|
-
id: {},
|
|
11
|
-
type: {},
|
|
12
|
-
label: { type: Boolean }
|
|
13
|
-
},
|
|
14
|
-
setup(n) {
|
|
15
|
-
const s = n, o = c(!0), d = u(
|
|
16
|
-
() => s.type === "password" ? o.value ? "password" : "text" : s.type ?? "text"
|
|
17
|
-
);
|
|
18
|
-
return (e, t) => (r(), l("div", _, [
|
|
19
|
-
a("label", {
|
|
20
|
-
class: m(["card-form-input-label", { "sr-only": !e.label }]),
|
|
21
|
-
for: e.id
|
|
22
|
-
}, [
|
|
23
|
-
f(e.$slots, "default", {}, void 0, !0)
|
|
24
|
-
], 10, V),
|
|
25
|
-
a("input", y(e.$attrs, {
|
|
26
|
-
id: e.id,
|
|
27
|
-
autocomplete: "off",
|
|
28
|
-
class: "card-form-input-text",
|
|
29
|
-
"data-1p-ignore": "",
|
|
30
|
-
spellcheck: "false",
|
|
31
|
-
type: d.value
|
|
32
|
-
}), null, 16, x),
|
|
33
|
-
e.type === "password" ? (r(), l("label", B, [
|
|
34
|
-
t[1] || (t[1] = a("span", { class: "sr-only" }, "Hide Password", -1)),
|
|
35
|
-
v(k(C), {
|
|
36
|
-
class: "card-form-input-mask-icon",
|
|
37
|
-
icon: o.value ? "Show" : "Hide"
|
|
38
|
-
}, null, 8, ["icon"]),
|
|
39
|
-
h(a("input", {
|
|
40
|
-
"onUpdate:modelValue": t[0] || (t[0] = (i) => o.value = i),
|
|
41
|
-
"aria-controls": e.id,
|
|
42
|
-
"aria-expanded": !o.value,
|
|
43
|
-
type: "checkbox"
|
|
44
|
-
}, null, 8, N), [
|
|
45
|
-
[b, o.value]
|
|
46
|
-
])
|
|
47
|
-
])) : w("", !0)
|
|
48
|
-
]));
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
export {
|
|
52
|
-
E as default
|
|
53
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
value?: OpenAPIV2.SecuritySchemeObject | OpenAPIV3.SecuritySchemeObject | OpenAPIV3_1.SecuritySchemeObject;
|
|
4
|
-
proxyUrl?: string;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
export default _default;
|
|
8
|
-
//# sourceMappingURL=SecurityScheme.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SecurityScheme.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/SecurityScheme.vue"],"names":[],"mappings":"AA8gBA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAgB9E,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EACF,SAAS,CAAC,oBAAoB,GAC9B,SAAS,CAAC,oBAAoB,GAC9B,WAAW,CAAC,oBAAoB,CAAA;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;;AAguBF,wBAMG"}
|