@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.
Files changed (115) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/dist/components/Server/ServerSelector.vue.js +6 -6
  3. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +6 -6
  4. package/dist/style.css +1 -1
  5. package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
  6. package/dist/v2/blocks/operation-block/helpers/build-request-body.js +29 -25
  7. package/dist/v2/blocks/operation-block/helpers/get-example.d.ts.map +1 -1
  8. package/dist/v2/blocks/operation-block/helpers/get-example.js +15 -15
  9. package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts +10 -0
  10. package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts.map +1 -0
  11. package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.js +4 -0
  12. package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
  13. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +6 -6
  14. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  15. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
  16. package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +62 -69
  17. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  18. package/dist/v2/blocks/response-block/ResponseBlock.vue.js +1 -1
  19. package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +7 -7
  20. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
  21. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
  22. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue2.js +31 -40
  23. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  24. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +37 -41
  25. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +3 -2
  26. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  27. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +107 -87
  28. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts +21 -0
  29. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts.map +1 -0
  30. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js +91 -0
  31. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue2.js +4 -0
  32. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  33. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +107 -93
  34. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
  35. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +87 -65
  36. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts +36 -0
  37. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts.map +1 -0
  38. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.js +35 -0
  39. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts +1 -1
  40. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts.map +1 -1
  41. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.js +18 -10
  42. package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts +5 -0
  43. package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts.map +1 -0
  44. package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js +27 -0
  45. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +3 -1
  46. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -1
  47. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +1 -2
  48. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
  49. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +29 -37
  50. package/dist/v2/components/layout/CollapsibleSection.vue.js +1 -1
  51. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +2 -0
  52. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  53. package/dist/v2/components/sidebar/Sidebar.vue.js +24 -23
  54. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +2 -0
  55. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
  56. package/dist/v2/components/sidebar/SidebarMenu.vue.js +30 -30
  57. package/dist/v2/features/app/App.vue.d.ts +5 -0
  58. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  59. package/dist/v2/features/app/App.vue.js +48 -46
  60. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  61. package/dist/v2/features/app/components/AppSidebar.vue.js +3 -3
  62. package/dist/v2/features/app/components/AppSidebar.vue2.js +64 -63
  63. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +11 -1
  64. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
  65. package/dist/v2/features/app/helpers/create-api-client-app.js +12 -10
  66. package/dist/v2/features/app/helpers/routes.d.ts +2 -0
  67. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  68. package/dist/v2/features/app/hooks/use-theme.d.ts +42 -0
  69. package/dist/v2/features/app/hooks/use-theme.d.ts.map +1 -0
  70. package/dist/v2/features/app/hooks/use-theme.js +34 -0
  71. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  72. package/dist/v2/features/collection/DocumentCollection.vue.js +27 -26
  73. package/dist/v2/features/collection/WorkspaceCollection.vue.js +13 -12
  74. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  75. package/dist/v2/features/collection/components/Authentication.vue.js +2 -2
  76. package/dist/v2/features/collection/components/Authentication.vue2.js +49 -40
  77. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
  78. package/dist/v2/features/collection/components/Cookies.vue.js +26 -13
  79. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
  80. package/dist/v2/features/collection/components/Environment.vue.js +27 -15
  81. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
  82. package/dist/v2/features/collection/components/Overview.vue.js +2 -2
  83. package/dist/v2/features/collection/components/Overview.vue2.js +68 -61
  84. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  85. package/dist/v2/features/collection/components/Servers.vue.js +93 -88
  86. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
  87. package/dist/v2/features/collection/components/Settings.vue.js +19 -17
  88. package/dist/v2/features/environments/EnvironmentsList.vue.js +1 -1
  89. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
  90. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +2 -2
  91. package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +8 -8
  92. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  93. package/dist/v2/features/modal/Modal.vue.js +15 -15
  94. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  95. package/dist/v2/features/operation/Operation.vue.js +30 -33
  96. package/dist/v2/features/settings/CollectionSettings.vue.d.ts +10 -7
  97. package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
  98. package/dist/v2/features/settings/CollectionSettings.vue.js +183 -149
  99. package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -1
  100. package/dist/v2/features/settings/DocumentSettings.vue.js +88 -79
  101. package/dist/v2/features/settings/components/Section.vue.d.ts +2 -1
  102. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
  103. package/dist/v2/features/settings/components/Section.vue.js +26 -15
  104. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +4 -3
  105. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -1
  106. package/dist/v2/features/settings/helpers/get-theme-colors.js +6 -7
  107. package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
  108. package/dist/v2/helpers/handle-hotkeys.js +2 -2
  109. package/dist/v2/hooks/use-global-hot-keys.d.ts +3 -1
  110. package/dist/v2/hooks/use-global-hot-keys.d.ts.map +1 -1
  111. package/dist/v2/hooks/use-global-hot-keys.js +8 -6
  112. package/dist/v2/workspace-events.d.ts.map +1 -1
  113. package/dist/v2/workspace-events.js +13 -6
  114. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  115. 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;AAIjG;;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
+ {"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 n } from "@scalar/helpers/regex/replace-variables";
2
- import { unpackProxyObject as u } from "@scalar/workspace-store/helpers/unpack-proxy";
3
- import { getExampleFromBody as m } from "../../request-block/helpers/get-request-body-example.js";
4
- const b = (i, a = {}, f = "default") => {
5
- if (!i)
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 l = i?.["x-scalar-selected-content-type"]?.[f] ?? Object.keys(i?.content ?? {})[0] ?? "application/json", e = m(i, l, f);
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 ((l === "multipart/form-data" || l === "application/x-www-form-urlencoded") && Array.isArray(e.value)) {
11
- const c = e.value.filter((t) => !t.isDisabled), r = l === "multipart/form-data" ? new FormData() : new URLSearchParams();
12
- return c.forEach(({ name: t, value: o }) => {
13
- if (!t)
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 p = n(t, a);
16
- if (o instanceof File && r instanceof FormData) {
17
- const s = u(o);
18
- r.append(p, s, s.name);
19
- } else typeof o == "string" && r.append(p, n(o, a));
20
- }), r;
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 (l === "application/x-www-form-urlencoded" && e.value !== null && typeof e.value == "object" && !Array.isArray(e.value)) {
23
- const c = new URLSearchParams();
24
- for (const [r, t] of Object.entries(e.value))
25
- if (r && t !== void 0 && t !== null) {
26
- const o = n(r, a), p = typeof t == "string" ? t : String(t);
27
- c.append(o, n(p, a));
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 c;
33
+ return i;
30
34
  }
31
- return typeof e.value == "object" ? n(JSON.stringify(e.value), a) : typeof e.value == "string" ? n(e.value, a) : e.value;
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
- b as buildRequestBody
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;AA6BrE;;;;;;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
+ {"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 s } from "../../operation-code-sample/helpers/get-resolved-ref-deep.js";
2
- const r = (t, n, o) => {
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 i = o || Object.keys(t ?? {})[0] || "", e = s(t?.[i]);
6
- if (e !== void 0)
7
- return e;
8
- if (!o && n !== void 0)
9
- return { value: s(n) };
10
- }, c = (t, n, o) => {
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?.[o ?? Object.keys(t.content)[0] ?? ""], u = r(e?.examples, e?.example, n);
13
- if (u !== void 0)
14
- return u;
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 i = s(t);
22
- if ("schema" in i && i.schema) {
23
- const e = i.schema;
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
- c as getExample
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"}
@@ -0,0 +1,4 @@
1
+ const n = (e, t = "default") => e?.["x-scalar-selected-content-type"]?.[t] ?? Object.keys(e?.content ?? {})[0] ?? null;
2
+ export {
3
+ n as getSelectedBodyContentType
4
+ };
@@ -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-422a27d2"]]);
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) => m((v(), q(y(ee), { key: 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"])) : E("", !0)
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":"AA+RA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAA;AAgBrG,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;AAugBF,QAAA,MAAM,YAAY;;;;;;;;;;;eAlgB4B,MAAM;;;;;;;;;;;;;;;;;;eAAN,MAAM;;;;;;;kFAqgBlD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
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 f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0a6f7696"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3d420065"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -1,9 +1,10 @@
1
- import { defineComponent as F, computed as d, watch as q, createBlock as p, openBlock as u, unref as t, withCtx as i, createVNode as r, createElementVNode as c, toDisplayString as v, createElementBlock as y, Fragment as O, createTextVNode as T } from "vue";
2
- import { ScalarListbox as S, ScalarButton as x, ScalarIcon as k } from "@scalar/components";
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 D from "./RequestBodyForm.vue.js";
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 U } from "../helpers/get-request-body-example.js";
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__ */ F({
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(l, { emit: C }) {
29
- const s = C, N = {
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
- }, n = d(
44
- () => l.requestBody?.["x-scalar-selected-content-type"]?.[l.exampleKey] ?? Object.keys(l.requestBody?.content ?? {})[0] ?? "none"
45
- );
46
- q(
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 = d({
49
+ })), g = s({
57
50
  get: () => f.find(
58
- (e) => e.id === n.value
51
+ (e) => e.id === o.value
59
52
  ) ?? f.at(-1),
60
- set: (o) => {
61
- s("update:contentType", { value: o.id });
53
+ set: (n) => {
54
+ p("update:contentType", { value: n.id });
62
55
  }
63
56
  });
64
- function h(o) {
57
+ function F(n) {
65
58
  const { open: e } = K({
66
- onChange: (a) => {
67
- const w = a?.[0];
68
- w && o(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 = d(
76
- () => l.requestBody && U(l.requestBody, n.value, l.exampleKey)
77
- ), j = d(() => {
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 o = m.value.value;
81
- return typeof o == "string" ? o : JSON.stringify(o, null, 2);
73
+ const n = m.value.value;
74
+ return typeof n == "string" ? n : JSON.stringify(n, null, 2);
82
75
  });
83
- return (o, e) => (u(), p(t(E), null, {
84
- title: i(() => [
85
- T(v(l.title), 1)
76
+ return (n, e) => (u(), d(t(E), null, {
77
+ title: a(() => [
78
+ T(v(i.title), 1)
86
79
  ]),
87
- default: i(() => [
80
+ default: a(() => [
88
81
  r(t(L), {
89
82
  columns: [""],
90
83
  presentational: ""
91
84
  }, {
92
- default: i(() => [
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: i(() => [
95
- r(t(S), {
87
+ default: a(() => [
88
+ r(t(D), {
96
89
  modelValue: g.value,
97
- "onUpdate:modelValue": e[0] || (e[0] = (a) => g.value = a),
90
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => g.value = l),
98
91
  options: t(f),
99
92
  teleport: ""
100
93
  }, {
101
- default: i(() => [
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: i(() => [
108
- c("span", null, v(b[n.value] ?? n.value), 1),
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: i(() => [
124
- n.value === "none" ? (u(), y("div", R, [...e[5] || (e[5] = [
116
+ default: a(() => [
117
+ o.value === "none" ? (u(), y("div", R, [...e[5] || (e[5] = [
125
118
  c("span", null, "No Body", -1)
126
- ])])) : n.value === "application/octet-stream" ? (u(), y("div", I, [
127
- t(V)(t(B)(m.value?.value)) !== void 0 ? (u(), y(O, { key: 0 }, [
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] = (a) => s("update:value", {
126
+ onClick: e[1] || (e[1] = (l) => p("update:value", {
134
127
  payload: void 0,
135
- contentType: n.value
128
+ contentType: o.value
136
129
  }))
137
130
  }, {
138
- default: i(() => [...e[6] || (e[6] = [
131
+ default: a(() => [...e[6] || (e[6] = [
139
132
  T(" Delete ", -1)
140
133
  ])]),
141
134
  _: 1
142
135
  })
143
- ], 64)) : (u(), p(t(x), {
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] = () => h(
149
- (a) => s("update:value", {
150
- payload: a,
151
- contentType: n.value
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: i(() => [
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
- ])) : n.value === "multipart/form-data" || n.value === "application/x-www-form-urlencoded" ? (u(), p(D, {
159
+ ])) : o.value === "multipart/form-data" || o.value === "application/x-www-form-urlencoded" ? (u(), d(U, {
167
160
  key: 2,
168
- environment: l.environment,
161
+ environment: i.environment,
169
162
  example: m.value,
170
- selectedContentType: n.value,
171
- "onUpdate:formValue": e[3] || (e[3] = (a) => s("update:formValue", {
172
- payload: a,
173
- contentType: n.value
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(), p(t(z), {
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: l.environment,
180
- language: N[n.value] ?? "plaintext",
172
+ environment: i.environment,
173
+ language: N[o.value] ?? "plaintext",
181
174
  lineNumbers: "",
182
175
  lint: "",
183
- modelValue: j.value,
184
- "onUpdate:modelValue": e[4] || (e[4] = (a) => s("update:value", {
185
- payload: a,
186
- contentType: n.value
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.26.2", m = "application/json", h = "*/*", c = (r, t, o) => ({
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-eb70b304"]]);
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, withDirectives as I, unref as P, resolveDynamicComponent as E, mergeProps as O, vShow as z } from "vue";
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) => I((o(), r(P(N), { key: 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)) : d("", !0)
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":"AAqIA,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;AA4MF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
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-651d0186"]]);
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 p, createElementBlock as a, openBlock as s, createElementVNode as o, createCommentVNode as r, normalizeClass as f, createVNode as l, createTextVNode as n, toDisplayString as y, unref as i } from "vue";
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/EmptyState.vue.js";
5
- import b from "../../../../components/ScalarAsciiArt.vue.js";
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
- }, R = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, P = /* @__PURE__ */ p({
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: c }) {
18
- const m = c;
19
- return (q, e) => (s(), a("div", v, [
16
+ setup(t, { emit: p }) {
17
+ const i = p;
18
+ return (R, e) => (a(), s("div", b, [
20
19
  o("div", {
21
- class: f(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
22
- "hidden opacity-0": t.totalPerformedRequests < 1 && t.layout !== "modal"
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" ? (s(), a("div", g, [
26
- n(" Scalar App V" + y(t.appVersion) + " Beta ", 1),
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
- ])) : r("", !0),
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(b, {
40
- art: i(x),
38
+ l(k, {
39
+ art: n(x),
41
40
  class: "text-c-3"
42
41
  }, null, 8, ["art"])
43
42
  ], 2),
44
- t.layout !== "modal" ? (s(), a("div", {
45
- key: 0,
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) => m("openCommandPalette"))
48
+ onClick: e[0] || (e[0] = (u) => i("openCommandPalette"))
58
49
  }, [
59
- e[5] || (e[5] = n(" Get Started ", -1)),
60
- l(i(d), {
61
- hotkey: "p",
62
- modifier: ["default", "Shift"]
50
+ e[5] || (e[5] = r(" Get Started ", -1)),
51
+ l(n(d), {
52
+ hotkey: "k",
53
+ modifier: ["default"]
63
54
  })
64
- ])) : r("", !0),
65
- t.layout === "desktop" ? (s(), a("button", {
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) => m("addRequest"))
60
+ onClick: e[1] || (e[1] = (u) => i("addRequest"))
70
61
  }, [
71
- e[6] || (e[6] = n(" New Request ", -1)),
72
- l(i(d), { hotkey: "N" })
73
- ])) : r("", !0),
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) => m("sendRequest"))
68
+ onClick: e[2] || (e[2] = (u) => i("sendRequest"))
78
69
  }, [
79
- e[7] || (e[7] = n(" Send Request ", -1)),
80
- l(i(d), { hotkey: "↵" })
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
- P as default
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":"AAoTA,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;AA2eF,QAAA,MAAM,YAAY;;cA5cqB,IAAI;cAAQ,MAAM;;;;oPA+cvD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
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"}