@scalar/api-client 2.26.2 → 2.27.1
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 +72 -0
- package/dist/components/Server/ServerSelector.vue.js +6 -6
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +6 -6
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-body.js +29 -25
- package/dist/v2/blocks/operation-block/helpers/get-example.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/get-example.js +15 -15
- package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts +10 -0
- package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.js +4 -0
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue2.js +6 -6
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
- package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +62 -69
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +7 -7
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue2.js +31 -40
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +37 -41
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +3 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +107 -87
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts +21 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js +91 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue2.js +4 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +107 -93
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +87 -65
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts +36 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.js +35 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.js +18 -10
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts +5 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js +27 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +3 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +29 -37
- package/dist/v2/components/layout/CollapsibleSection.vue.js +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +2 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +24 -23
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +2 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +30 -30
- package/dist/v2/features/app/App.vue.d.ts +5 -0
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +48 -46
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +3 -3
- package/dist/v2/features/app/components/AppSidebar.vue2.js +64 -63
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +11 -1
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/create-api-client-app.js +12 -10
- package/dist/v2/features/app/helpers/routes.d.ts +2 -0
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/app/hooks/use-theme.d.ts +42 -0
- package/dist/v2/features/app/hooks/use-theme.d.ts.map +1 -0
- package/dist/v2/features/app/hooks/use-theme.js +34 -0
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue.js +27 -26
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +13 -12
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +2 -2
- package/dist/v2/features/collection/components/Authentication.vue2.js +49 -40
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Cookies.vue.js +26 -13
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Environment.vue.js +27 -15
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Overview.vue.js +2 -2
- package/dist/v2/features/collection/components/Overview.vue2.js +68 -61
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Servers.vue.js +93 -88
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Settings.vue.js +19 -17
- package/dist/v2/features/environments/EnvironmentsList.vue.js +1 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +2 -2
- package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +8 -8
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +15 -15
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +30 -33
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts +10 -7
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/CollectionSettings.vue.js +183 -149
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/DocumentSettings.vue.js +88 -79
- package/dist/v2/features/settings/components/Section.vue.d.ts +2 -1
- package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/components/Section.vue.js +26 -15
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +4 -3
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -1
- package/dist/v2/features/settings/helpers/get-theme-colors.js +6 -7
- package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.js +2 -2
- package/dist/v2/hooks/use-global-hot-keys.d.ts +3 -1
- package/dist/v2/hooks/use-global-hot-keys.d.ts.map +1 -1
- package/dist/v2/hooks/use-global-hot-keys.js +8 -6
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +13 -6
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +18 -17
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-request-body.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/operation-block/helpers/build-request-body.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAA;
|
|
1
|
+
{"version":3,"file":"build-request-body.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/operation-block/helpers/build-request-body.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAA;AAKjG;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,aAAa,iBAAiB,GAAG,SAAS;AAC1C,8DAA8D;AAC9D,MAAK,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM;AAChC,qCAAqC;AACrC,mBAAsB,KACrB,QAAQ,GAAG,IAgFb,CAAA"}
|
|
@@ -1,35 +1,39 @@
|
|
|
1
|
-
import { replaceEnvVariables as
|
|
2
|
-
import { unpackProxyObject as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { replaceEnvVariables as l } from "@scalar/helpers/regex/replace-variables";
|
|
2
|
+
import { unpackProxyObject as s } from "@scalar/workspace-store/helpers/unpack-proxy";
|
|
3
|
+
import { getSelectedBodyContentType as m } from "./get-selected-body-content-type.js";
|
|
4
|
+
import { getExampleFromBody as d } from "../../request-block/helpers/get-request-body-example.js";
|
|
5
|
+
const v = (p, a = {}, u = "default") => {
|
|
6
|
+
if (!p)
|
|
6
7
|
return null;
|
|
7
|
-
const
|
|
8
|
+
const o = m(p, u);
|
|
9
|
+
if (!o)
|
|
10
|
+
return null;
|
|
11
|
+
const e = d(p, o, u);
|
|
8
12
|
if (!e)
|
|
9
13
|
return null;
|
|
10
|
-
if ((
|
|
11
|
-
const
|
|
12
|
-
return
|
|
13
|
-
if (!
|
|
14
|
+
if ((o === "multipart/form-data" || o === "application/x-www-form-urlencoded") && Array.isArray(e.value)) {
|
|
15
|
+
const i = e.value.filter((r) => !r.isDisabled), t = o === "multipart/form-data" ? new FormData() : new URLSearchParams();
|
|
16
|
+
return i.forEach(({ name: r, value: n }) => {
|
|
17
|
+
if (!r)
|
|
14
18
|
return;
|
|
15
|
-
const
|
|
16
|
-
if (
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
} else typeof
|
|
20
|
-
}),
|
|
19
|
+
const f = l(r, a);
|
|
20
|
+
if (n instanceof File && t instanceof FormData) {
|
|
21
|
+
const c = s(n);
|
|
22
|
+
t.append(f, c, c.name);
|
|
23
|
+
} else typeof n == "string" && t.append(f, l(n, a));
|
|
24
|
+
}), t;
|
|
21
25
|
}
|
|
22
|
-
if (
|
|
23
|
-
const
|
|
24
|
-
for (const [
|
|
25
|
-
if (
|
|
26
|
-
const
|
|
27
|
-
|
|
26
|
+
if (o === "application/x-www-form-urlencoded" && e.value !== null && typeof e.value == "object" && !Array.isArray(e.value)) {
|
|
27
|
+
const i = new URLSearchParams();
|
|
28
|
+
for (const [t, r] of Object.entries(e.value))
|
|
29
|
+
if (t && r !== void 0 && r !== null) {
|
|
30
|
+
const n = l(t, a), f = typeof r == "string" ? r : String(r);
|
|
31
|
+
i.append(n, l(f, a));
|
|
28
32
|
}
|
|
29
|
-
return
|
|
33
|
+
return i;
|
|
30
34
|
}
|
|
31
|
-
return typeof e.value == "object" ?
|
|
35
|
+
return typeof e.value == "object" ? l(JSON.stringify(e.value), a) : typeof e.value == "string" ? l(e.value, a) : e.value;
|
|
32
36
|
};
|
|
33
37
|
export {
|
|
34
|
-
|
|
38
|
+
v as buildRequestBody
|
|
35
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-example.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/operation-block/helpers/get-example.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,eAAe,EACf,iBAAiB,EAClB,MAAM,8DAA8D,CAAA;
|
|
1
|
+
{"version":3,"file":"get-example.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/operation-block/helpers/get-example.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,eAAe,EACf,iBAAiB,EAClB,MAAM,8DAA8D,CAAA;AAgCrE;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GACrB,OAAO,eAAe,GAAG,iBAAiB,GAAG,eAAe,EAC5D,YAAY,MAAM,GAAG,SAAS,EAC9B,aAAa,MAAM,GAAG,SAAS,KAC9B,aAAa,GAAG,SA6ClB,CAAA"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { getResolvedRefDeep as
|
|
2
|
-
const r = (t, n,
|
|
1
|
+
import { getResolvedRefDeep as u } from "../../operation-code-sample/helpers/get-resolved-ref-deep.js";
|
|
2
|
+
const r = (t, n, s) => {
|
|
3
3
|
if (!t && !n)
|
|
4
4
|
return;
|
|
5
|
-
const
|
|
6
|
-
if (
|
|
7
|
-
return
|
|
8
|
-
if (!o && n !== void 0)
|
|
9
|
-
return { value:
|
|
10
|
-
},
|
|
5
|
+
const o = !!t && Object.keys(t).length > 0, e = s || Object.keys(t ?? {})[0] || "", i = u(t?.[e]);
|
|
6
|
+
if (i !== void 0)
|
|
7
|
+
return i;
|
|
8
|
+
if ((!o || !s) && n !== void 0)
|
|
9
|
+
return { value: u(n) };
|
|
10
|
+
}, l = (t, n, s) => {
|
|
11
11
|
if ("content" in t) {
|
|
12
|
-
const e = t.content?.[
|
|
13
|
-
if (
|
|
14
|
-
return
|
|
12
|
+
const e = t.content?.[s ?? Object.keys(t.content)[0] ?? ""], i = r(e?.examples, e?.example, n);
|
|
13
|
+
if (i !== void 0)
|
|
14
|
+
return i;
|
|
15
15
|
}
|
|
16
16
|
if ("examples" in t || "example" in t) {
|
|
17
17
|
const e = r(t.examples, t.example, n);
|
|
18
18
|
if (e !== void 0)
|
|
19
19
|
return e;
|
|
20
20
|
}
|
|
21
|
-
const
|
|
22
|
-
if ("schema" in
|
|
23
|
-
const e =
|
|
21
|
+
const o = u(t);
|
|
22
|
+
if ("schema" in o && o.schema) {
|
|
23
|
+
const e = o.schema;
|
|
24
24
|
if ("default" in e && e.default !== void 0)
|
|
25
25
|
return { value: e.default };
|
|
26
26
|
if ("enum" in e && e.enum?.[0] !== void 0)
|
|
@@ -32,5 +32,5 @@ const r = (t, n, o) => {
|
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
l as getExample
|
|
36
36
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { RequestBodyObject } from '@scalar/workspace-store/schemas/v3.1/strict/request-body';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the selected body content type for the given request body and exampleKey.
|
|
4
|
+
* Priority:
|
|
5
|
+
* 1. requestBody?.['x-scalar-selected-content-type']?.[exampleKey] (if set)
|
|
6
|
+
* 2. First key in requestBody?.content (if available)
|
|
7
|
+
* 3. null (if none available)
|
|
8
|
+
*/
|
|
9
|
+
export declare const getSelectedBodyContentType: (requestBody: RequestBodyObject | undefined, exampleKey?: string) => string | null;
|
|
10
|
+
//# sourceMappingURL=get-selected-body-content-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-selected-body-content-type.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/operation-block/helpers/get-selected-body-content-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAA;AAEjG;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GACrC,aAAa,iBAAiB,GAAG,SAAS,EAC1C,aAAY,MAAkB,KAC7B,MAAM,GAAG,IAIX,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestBlock.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b1bbc64b"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -305,17 +305,17 @@ const ye = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
305
305
|
}, null, 8, ["id", "environment", "exampleKey", "requestBody"]), [
|
|
306
306
|
[c, h("Body") && y(w)(e.method)]
|
|
307
307
|
]),
|
|
308
|
-
(v(!0), B(W, null, Y(e.plugins, (l, S) =>
|
|
308
|
+
(v(!0), B(W, null, Y(e.plugins, (l, S) => (v(), q(y(ee), { key: S }, {
|
|
309
309
|
default: C(() => [
|
|
310
|
-
l?.components?.request ? (v(), q(Z(l.components.request.component), f({
|
|
310
|
+
l?.components?.request ? m((v(), q(Z(l.components.request.component), f({
|
|
311
311
|
key: 0,
|
|
312
312
|
operation: e.operation
|
|
313
|
-
}, { ref_for: !0 }, l.components.request.additionalProps, { "onOperation:update:extension": j }), null, 16, ["operation"]))
|
|
313
|
+
}, { ref_for: !0 }, l.components.request.additionalProps, { "onOperation:update:extension": j }), null, 16, ["operation"])), [
|
|
314
|
+
[c, i.value === "All"]
|
|
315
|
+
]) : E("", !0)
|
|
314
316
|
]),
|
|
315
317
|
_: 2
|
|
316
|
-
}, 1024)),
|
|
317
|
-
[c, i.value === "All"]
|
|
318
|
-
])), 128)),
|
|
318
|
+
}, 1024))), 128)),
|
|
319
319
|
a[1] || (a[1] = K("div", { class: "flex grow" }, null, -1)),
|
|
320
320
|
m(d(se, {
|
|
321
321
|
clientOptions: e.clientOptions,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBody.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBody.vue"],"names":[],"mappings":"AAkRA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAA;AAiBrG,KAAK,WAAW,GAAG;IACjB,mBAAmB;IACnB,WAAW,CAAC,EAAE,iBAAiB,CAAA;IAC/B,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAA;IAClB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,2BAA2B;IAC3B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;AAyfF,QAAA,MAAM,YAAY;;;;;;;;;;;eApf4B,MAAM;;;;;;;;;;;;;;;;;;eAAN,MAAM;;;;;;;kFAuflD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestBody.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3d420065"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarListbox as
|
|
1
|
+
import { defineComponent as j, computed as s, createBlock as d, openBlock as u, unref as t, withCtx as a, createVNode as r, createElementVNode as c, toDisplayString as v, createElementBlock as y, Fragment as S, createTextVNode as T } from "vue";
|
|
2
|
+
import { ScalarListbox as D, ScalarButton as x, ScalarIcon as k } from "@scalar/components";
|
|
3
3
|
import { unpackProxyObject as B } from "@scalar/workspace-store/helpers/unpack-proxy";
|
|
4
|
-
import
|
|
4
|
+
import { getSelectedBodyContentType as O } from "../../operation-block/helpers/get-selected-body-content-type.js";
|
|
5
|
+
import U from "./RequestBodyForm.vue.js";
|
|
5
6
|
import { getFileName as V } from "../helpers/files.js";
|
|
6
|
-
import { getExampleFromBody as
|
|
7
|
+
import { getExampleFromBody as q } from "../helpers/get-request-body-example.js";
|
|
7
8
|
import E from "../../../components/layout/CollapsibleSection.vue.js";
|
|
8
9
|
import L from "../../../components/data-table/DataTable.vue.js";
|
|
9
10
|
import M from "../../../components/data-table/DataTableHeader.vue.js";
|
|
@@ -16,7 +17,7 @@ const R = {
|
|
|
16
17
|
}, I = {
|
|
17
18
|
key: 1,
|
|
18
19
|
class: "flex items-center justify-center overflow-hidden border-t p-1.5"
|
|
19
|
-
}, J = { class: "text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap" }, ne = /* @__PURE__ */
|
|
20
|
+
}, J = { class: "text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap" }, ne = /* @__PURE__ */ j({
|
|
20
21
|
__name: "RequestBody",
|
|
21
22
|
props: {
|
|
22
23
|
requestBody: {},
|
|
@@ -25,8 +26,8 @@ const R = {
|
|
|
25
26
|
environment: {}
|
|
26
27
|
},
|
|
27
28
|
emits: ["update:contentType", "update:value", "update:formValue"],
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
29
|
+
setup(i, { emit: C }) {
|
|
30
|
+
const p = C, N = {
|
|
30
31
|
"application/json": "json",
|
|
31
32
|
"application/xml": "xml",
|
|
32
33
|
"application/yaml": "yaml"
|
|
@@ -40,72 +41,64 @@ const R = {
|
|
|
40
41
|
"application/edn": "EDN",
|
|
41
42
|
other: "Other",
|
|
42
43
|
none: "None"
|
|
43
|
-
},
|
|
44
|
-
() =>
|
|
45
|
-
)
|
|
46
|
-
|
|
47
|
-
() => l.requestBody?.["x-scalar-selected-content-type"]?.[l.exampleKey],
|
|
48
|
-
(o) => {
|
|
49
|
-
o || s("update:contentType", { value: n.value });
|
|
50
|
-
},
|
|
51
|
-
{ immediate: !0 }
|
|
52
|
-
);
|
|
53
|
-
const f = Object.entries(b).map(([o, e]) => ({
|
|
54
|
-
id: o,
|
|
44
|
+
}, o = s(
|
|
45
|
+
() => O(i.requestBody, i.exampleKey) ?? "none"
|
|
46
|
+
), f = Object.entries(b).map(([n, e]) => ({
|
|
47
|
+
id: n,
|
|
55
48
|
label: e
|
|
56
|
-
})), g =
|
|
49
|
+
})), g = s({
|
|
57
50
|
get: () => f.find(
|
|
58
|
-
(e) => e.id ===
|
|
51
|
+
(e) => e.id === o.value
|
|
59
52
|
) ?? f.at(-1),
|
|
60
|
-
set: (
|
|
61
|
-
|
|
53
|
+
set: (n) => {
|
|
54
|
+
p("update:contentType", { value: n.id });
|
|
62
55
|
}
|
|
63
56
|
});
|
|
64
|
-
function
|
|
57
|
+
function F(n) {
|
|
65
58
|
const { open: e } = K({
|
|
66
|
-
onChange: (
|
|
67
|
-
const w =
|
|
68
|
-
w &&
|
|
59
|
+
onChange: (l) => {
|
|
60
|
+
const w = l?.[0];
|
|
61
|
+
w && n(w);
|
|
69
62
|
},
|
|
70
63
|
multiple: !1,
|
|
71
64
|
accept: "*/*"
|
|
72
65
|
});
|
|
73
66
|
e();
|
|
74
67
|
}
|
|
75
|
-
const m =
|
|
76
|
-
() =>
|
|
77
|
-
),
|
|
68
|
+
const m = s(
|
|
69
|
+
() => i.requestBody && q(i.requestBody, o.value, i.exampleKey)
|
|
70
|
+
), h = s(() => {
|
|
78
71
|
if (!m.value)
|
|
79
72
|
return "";
|
|
80
|
-
const
|
|
81
|
-
return typeof
|
|
73
|
+
const n = m.value.value;
|
|
74
|
+
return typeof n == "string" ? n : JSON.stringify(n, null, 2);
|
|
82
75
|
});
|
|
83
|
-
return (
|
|
84
|
-
title:
|
|
85
|
-
T(v(
|
|
76
|
+
return (n, e) => (u(), d(t(E), null, {
|
|
77
|
+
title: a(() => [
|
|
78
|
+
T(v(i.title), 1)
|
|
86
79
|
]),
|
|
87
|
-
default:
|
|
80
|
+
default: a(() => [
|
|
88
81
|
r(t(L), {
|
|
89
82
|
columns: [""],
|
|
90
83
|
presentational: ""
|
|
91
84
|
}, {
|
|
92
|
-
default:
|
|
85
|
+
default: a(() => [
|
|
93
86
|
r(t(M), { class: "relative col-span-full flex h-8 cursor-pointer items-center justify-between border-r-0 !p-0" }, {
|
|
94
|
-
default:
|
|
95
|
-
r(t(
|
|
87
|
+
default: a(() => [
|
|
88
|
+
r(t(D), {
|
|
96
89
|
modelValue: g.value,
|
|
97
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
90
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => g.value = l),
|
|
98
91
|
options: t(f),
|
|
99
92
|
teleport: ""
|
|
100
93
|
}, {
|
|
101
|
-
default:
|
|
94
|
+
default: a(() => [
|
|
102
95
|
r(t(x), {
|
|
103
96
|
class: "text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal",
|
|
104
97
|
fullWidth: "",
|
|
105
98
|
variant: "ghost"
|
|
106
99
|
}, {
|
|
107
|
-
default:
|
|
108
|
-
c("span", null, v(b[
|
|
100
|
+
default: a(() => [
|
|
101
|
+
c("span", null, v(b[o.value] ?? o.value), 1),
|
|
109
102
|
r(t(k), {
|
|
110
103
|
icon: "ChevronDown",
|
|
111
104
|
size: "md"
|
|
@@ -120,39 +113,39 @@ const R = {
|
|
|
120
113
|
_: 1
|
|
121
114
|
}),
|
|
122
115
|
r(t($), null, {
|
|
123
|
-
default:
|
|
124
|
-
|
|
116
|
+
default: a(() => [
|
|
117
|
+
o.value === "none" ? (u(), y("div", R, [...e[5] || (e[5] = [
|
|
125
118
|
c("span", null, "No Body", -1)
|
|
126
|
-
])])) :
|
|
127
|
-
t(V)(t(B)(m.value?.value)) !== void 0 ? (u(), y(
|
|
119
|
+
])])) : o.value === "application/octet-stream" ? (u(), y("div", I, [
|
|
120
|
+
t(V)(t(B)(m.value?.value)) !== void 0 ? (u(), y(S, { key: 0 }, [
|
|
128
121
|
c("span", J, v(t(V)(t(B)(m.value?.value))), 1),
|
|
129
122
|
r(t(x), {
|
|
130
123
|
class: "bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none",
|
|
131
124
|
size: "sm",
|
|
132
125
|
variant: "outlined",
|
|
133
|
-
onClick: e[1] || (e[1] = (
|
|
126
|
+
onClick: e[1] || (e[1] = (l) => p("update:value", {
|
|
134
127
|
payload: void 0,
|
|
135
|
-
contentType:
|
|
128
|
+
contentType: o.value
|
|
136
129
|
}))
|
|
137
130
|
}, {
|
|
138
|
-
default:
|
|
131
|
+
default: a(() => [...e[6] || (e[6] = [
|
|
139
132
|
T(" Delete ", -1)
|
|
140
133
|
])]),
|
|
141
134
|
_: 1
|
|
142
135
|
})
|
|
143
|
-
], 64)) : (u(),
|
|
136
|
+
], 64)) : (u(), d(t(x), {
|
|
144
137
|
key: 1,
|
|
145
138
|
class: "bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none",
|
|
146
139
|
size: "sm",
|
|
147
140
|
variant: "outlined",
|
|
148
|
-
onClick: e[2] || (e[2] = () =>
|
|
149
|
-
(
|
|
150
|
-
payload:
|
|
151
|
-
contentType:
|
|
141
|
+
onClick: e[2] || (e[2] = () => F(
|
|
142
|
+
(l) => p("update:value", {
|
|
143
|
+
payload: l,
|
|
144
|
+
contentType: o.value
|
|
152
145
|
})
|
|
153
146
|
))
|
|
154
147
|
}, {
|
|
155
|
-
default:
|
|
148
|
+
default: a(() => [
|
|
156
149
|
e[7] || (e[7] = c("span", null, "Select File", -1)),
|
|
157
150
|
r(t(k), {
|
|
158
151
|
class: "ml-1",
|
|
@@ -163,27 +156,27 @@ const R = {
|
|
|
163
156
|
]),
|
|
164
157
|
_: 1
|
|
165
158
|
}))
|
|
166
|
-
])) :
|
|
159
|
+
])) : o.value === "multipart/form-data" || o.value === "application/x-www-form-urlencoded" ? (u(), d(U, {
|
|
167
160
|
key: 2,
|
|
168
|
-
environment:
|
|
161
|
+
environment: i.environment,
|
|
169
162
|
example: m.value,
|
|
170
|
-
selectedContentType:
|
|
171
|
-
"onUpdate:formValue": e[3] || (e[3] = (
|
|
172
|
-
payload:
|
|
173
|
-
contentType:
|
|
163
|
+
selectedContentType: o.value,
|
|
164
|
+
"onUpdate:formValue": e[3] || (e[3] = (l) => p("update:formValue", {
|
|
165
|
+
payload: l,
|
|
166
|
+
contentType: o.value
|
|
174
167
|
}))
|
|
175
|
-
}, null, 8, ["environment", "example", "selectedContentType"])) : (u(),
|
|
168
|
+
}, null, 8, ["environment", "example", "selectedContentType"])) : (u(), d(t(z), {
|
|
176
169
|
key: 3,
|
|
177
170
|
class: "border-t px-3",
|
|
178
171
|
content: "",
|
|
179
|
-
environment:
|
|
180
|
-
language: N[
|
|
172
|
+
environment: i.environment,
|
|
173
|
+
language: N[o.value] ?? "plaintext",
|
|
181
174
|
lineNumbers: "",
|
|
182
175
|
lint: "",
|
|
183
|
-
modelValue:
|
|
184
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
185
|
-
payload:
|
|
186
|
-
contentType:
|
|
176
|
+
modelValue: h.value,
|
|
177
|
+
"onUpdate:modelValue": e[4] || (e[4] = (l) => p("update:value", {
|
|
178
|
+
payload: l,
|
|
179
|
+
contentType: o.value
|
|
187
180
|
}))
|
|
188
181
|
}, null, 8, ["environment", "language", "modelValue"]))
|
|
189
182
|
]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { canMethodHaveBody as p } from "@scalar/helpers/http/can-method-have-body";
|
|
2
2
|
import { getResolvedRef as n } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
3
3
|
import { isElectron as u } from "../../../../libs/electron.js";
|
|
4
|
-
const i = "2.
|
|
4
|
+
const i = "2.27.1", m = "application/json", h = "*/*", c = (r, t, o) => ({
|
|
5
5
|
name: r,
|
|
6
6
|
defaultValue: t,
|
|
7
7
|
isOverridden: o.has(r.toLowerCase())
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ResponseBlock.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9c1fd1c7"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, computed as i, ref as $, useId as S, createBlock as r, openBlock as o, withCtx as u, createElementVNode as c, normalizeClass as R, createElementBlock as p, createVNode as A, Fragment as y, createCommentVNode as d, createTextVNode as q, renderList as g,
|
|
1
|
+
import { defineComponent as T, computed as i, ref as $, useId as S, createBlock as r, openBlock as o, withCtx as u, createElementVNode as c, normalizeClass as R, createElementBlock as p, createVNode as A, Fragment as y, createCommentVNode as d, createTextVNode as q, renderList as g, unref as I, withDirectives as P, resolveDynamicComponent as E, mergeProps as O, vShow as z } from "vue";
|
|
2
2
|
import { ScalarErrorBoundary as N } from "@scalar/components";
|
|
3
3
|
import { isDefined as D } from "@scalar/helpers/array/is-defined";
|
|
4
4
|
import L from "../../../components/SectionFilter.vue.js";
|
|
@@ -120,17 +120,17 @@ const W = { class: "flex h-8 flex-1 items-center" }, X = ["id", "role"], b = 2e5
|
|
|
120
120
|
])]),
|
|
121
121
|
_: 1
|
|
122
122
|
}, 8, ["id", "headers", "role"])) : d("", !0),
|
|
123
|
-
(o(!0), p(y, null, g(e.plugins, (l, H) =>
|
|
123
|
+
(o(!0), p(y, null, g(e.plugins, (l, H) => (o(), r(I(N), { key: H }, {
|
|
124
124
|
default: u(() => [
|
|
125
|
-
l?.components?.response ? (o(), r(E(l.components.response.component), O({
|
|
125
|
+
l?.components?.response ? P((o(), r(E(l.components.response.component), O({
|
|
126
126
|
key: 0,
|
|
127
127
|
ref_for: !0
|
|
128
|
-
}, l.components.response.additionalProps), null, 16))
|
|
128
|
+
}, l.components.response.additionalProps), null, 16)), [
|
|
129
|
+
[z, n.value === "All"]
|
|
130
|
+
]) : d("", !0)
|
|
129
131
|
]),
|
|
130
132
|
_: 2
|
|
131
|
-
}, 1024)),
|
|
132
|
-
[z, n.value === "All"]
|
|
133
|
-
])), 128)),
|
|
133
|
+
}, 1024))), 128)),
|
|
134
134
|
n.value === "All" || n.value === "Body" ? (o(), p(y, { key: 3 }, [
|
|
135
135
|
"reader" in e.response ? (o(), r(F, {
|
|
136
136
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseEmpty.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/response-block/components/ResponseEmpty.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ResponseEmpty.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/response-block/components/ResponseEmpty.vue"],"names":[],"mappings":"AA4HA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,KAAK,WAAW,GAAG;IACjB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IACpB,yCAAyC;IACzC,sBAAsB,EAAE,MAAM,CAAA;IAC9B,0BAA0B;IAC1B,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC;AAuLF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ResponseEmpty.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-34b57d9d"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as f, createElementBlock as s, openBlock as a, createElementVNode as o, normalizeClass as c, createCommentVNode as m, createVNode as l, createTextVNode as r, toDisplayString as y, unref as n } from "vue";
|
|
2
2
|
import { ScalarHotkey as d } from "@scalar/components";
|
|
3
3
|
import x from "../../../../assets/computer.ascii.js";
|
|
4
|
-
import k from "../../../../components/
|
|
5
|
-
|
|
6
|
-
const v = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize" }, g = {
|
|
4
|
+
import k from "../../../../components/ScalarAsciiArt.vue.js";
|
|
5
|
+
const b = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize" }, g = {
|
|
7
6
|
key: 0,
|
|
8
7
|
class: "scalar-version-number"
|
|
9
|
-
},
|
|
8
|
+
}, v = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, V = /* @__PURE__ */ f({
|
|
10
9
|
__name: "ResponseEmpty",
|
|
11
10
|
props: {
|
|
12
11
|
layout: {},
|
|
@@ -14,75 +13,67 @@ const v = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
14
13
|
appVersion: {}
|
|
15
14
|
},
|
|
16
15
|
emits: ["addRequest", "sendRequest", "openCommandPalette"],
|
|
17
|
-
setup(t, { emit:
|
|
18
|
-
const
|
|
19
|
-
return (
|
|
16
|
+
setup(t, { emit: p }) {
|
|
17
|
+
const i = p;
|
|
18
|
+
return (R, e) => (a(), s("div", b, [
|
|
20
19
|
o("div", {
|
|
21
|
-
class:
|
|
22
|
-
"hidden opacity-0": t.totalPerformedRequests
|
|
20
|
+
class: c(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
|
21
|
+
"hidden opacity-0": t.totalPerformedRequests > 0 && t.layout !== "modal"
|
|
23
22
|
}])
|
|
24
23
|
}, [
|
|
25
|
-
t.layout !== "modal" ? (
|
|
26
|
-
|
|
24
|
+
t.layout !== "modal" ? (a(), s("div", g, [
|
|
25
|
+
r(" Scalar App V" + y(t.appVersion) + " Beta ", 1),
|
|
27
26
|
e[3] || (e[3] = o("div", { class: "mt-2" }, [
|
|
28
27
|
o("a", {
|
|
29
28
|
href: "https://github.com/scalar/scalar/issues/2669",
|
|
30
29
|
target: "_blank"
|
|
31
30
|
}, " Roadmap ")
|
|
32
31
|
], -1))
|
|
33
|
-
])) :
|
|
32
|
+
])) : m("", !0),
|
|
34
33
|
e[4] || (e[4] = o("a", {
|
|
35
34
|
class: "gitbook-show scalar-version-number",
|
|
36
35
|
href: "https://www.scalar.com",
|
|
37
36
|
target: "_blank"
|
|
38
37
|
}, " Powered By Scalar.com ", -1)),
|
|
39
|
-
l(
|
|
40
|
-
art:
|
|
38
|
+
l(k, {
|
|
39
|
+
art: n(x),
|
|
41
40
|
class: "text-c-3"
|
|
42
41
|
}, null, 8, ["art"])
|
|
43
42
|
], 2),
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
class: f(["hidden h-[calc(100%_-_50px)] items-center justify-center pb-5", {
|
|
47
|
-
"!flex opacity-100": t.totalPerformedRequests == 0
|
|
48
|
-
}])
|
|
49
|
-
}, [
|
|
50
|
-
l(k)
|
|
51
|
-
], 2)) : r("", !0),
|
|
52
|
-
o("div", R, [
|
|
53
|
-
t.layout !== "modal" ? (s(), a("button", {
|
|
43
|
+
o("div", v, [
|
|
44
|
+
t.layout !== "modal" ? (a(), s("button", {
|
|
54
45
|
key: 0,
|
|
55
46
|
class: "flex items-center gap-1.5",
|
|
56
47
|
type: "button",
|
|
57
|
-
onClick: e[0] || (e[0] = (u) =>
|
|
48
|
+
onClick: e[0] || (e[0] = (u) => i("openCommandPalette"))
|
|
58
49
|
}, [
|
|
59
|
-
e[5] || (e[5] =
|
|
60
|
-
l(
|
|
61
|
-
hotkey: "
|
|
62
|
-
modifier: ["default"
|
|
50
|
+
e[5] || (e[5] = r(" Get Started ", -1)),
|
|
51
|
+
l(n(d), {
|
|
52
|
+
hotkey: "k",
|
|
53
|
+
modifier: ["default"]
|
|
63
54
|
})
|
|
64
|
-
])) :
|
|
65
|
-
t.layout === "desktop" ? (
|
|
55
|
+
])) : m("", !0),
|
|
56
|
+
t.layout === "desktop" ? (a(), s("button", {
|
|
66
57
|
key: 1,
|
|
67
58
|
class: "flex items-center gap-1.5",
|
|
68
59
|
type: "button",
|
|
69
|
-
onClick: e[1] || (e[1] = (u) =>
|
|
60
|
+
onClick: e[1] || (e[1] = (u) => i("addRequest"))
|
|
70
61
|
}, [
|
|
71
|
-
e[6] || (e[6] =
|
|
72
|
-
l(
|
|
73
|
-
])) :
|
|
62
|
+
e[6] || (e[6] = r(" New Request ", -1)),
|
|
63
|
+
l(n(d), { hotkey: "N" })
|
|
64
|
+
])) : m("", !0),
|
|
74
65
|
o("button", {
|
|
75
66
|
class: "flex items-center gap-1.5",
|
|
76
67
|
type: "button",
|
|
77
|
-
onClick: e[2] || (e[2] = (u) =>
|
|
68
|
+
onClick: e[2] || (e[2] = (u) => i("sendRequest"))
|
|
78
69
|
}, [
|
|
79
|
-
e[7] || (e[7] =
|
|
80
|
-
l(
|
|
70
|
+
e[7] || (e[7] = r(" Send Request ", -1)),
|
|
71
|
+
l(n(d), { hotkey: "↵" })
|
|
81
72
|
])
|
|
82
73
|
])
|
|
83
74
|
]));
|
|
84
75
|
}
|
|
85
76
|
});
|
|
86
77
|
export {
|
|
87
|
-
|
|
78
|
+
V as default
|
|
88
79
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthSelector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthSelector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue"],"names":[],"mappings":"AAmTA,OAAO,EAML,KAAK,IAAI,EAEV,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AAC7E,OAAO,KAAK,EACV,QAAQ,EACR,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAGvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EACV,eAAe,EAEf,YAAY,EACb,MAAM,8DAA8D,CAAA;AAKrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAA;AAC1G,OAAO,EAIL,KAAK,oBAAoB,EAC1B,MAAM,gEAAgE,CAAA;AAKvE,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,QAAQ,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,oBAAoB,EAAE,eAAe,CAAC,UAAU,CAAC,CAAA;IACjD,eAAe,EAAE,qBAAqB,CAAA;IACtC,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAA;IAC9C,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;AA0eF,QAAA,MAAM,YAAY;;cA3cqB,IAAI;cAAQ,MAAM;;;;oPA8cvD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|