@scalar/api-reference 1.24.39 → 1.24.41

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 (26) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/browser/standalone.js +9298 -9291
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiClientModal.vue.js +8 -8
  5. package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
  6. package/dist/components/Card/CardContent.vue.js +1 -1
  7. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  8. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  9. package/dist/components/Content/Operation/OperationAccordion.vue2.js +9 -9
  10. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.js +1 -1
  12. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue2.js +37 -39
  13. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +1 -1
  15. package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +1 -1
  16. package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +1 -1
  17. package/dist/components/DarkModeToggle/DarkModeToggle.vue.js +2 -2
  18. package/dist/components/DarkModeToggle/DarkModeToggle.vue2.js +8 -5
  19. package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
  20. package/dist/features/BaseUrl/ServerUrl.vue.js +2 -2
  21. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
  22. package/dist/features/BaseUrl/ServerUrlSelect.vue.js +1 -1
  23. package/dist/features/BaseUrl/ServerUrlSelect.vue2.js +16 -16
  24. package/dist/index.js +1 -1
  25. package/dist/style.css +1 -1
  26. package/package.json +6 -6
@@ -2,7 +2,7 @@ import { defineComponent as v, ref as u, onMounted as U, watch as _, onBeforeUnm
2
2
  import { modalStateBus as B, apiClientBus as A } from "./api-client-bus.js";
3
3
  import { getUrlFromServerState as C } from "../legacy/helpers/getUrlFromServerState.js";
4
4
  import { useAuthenticationStore as k } from "../legacy/stores/useAuthenticationStore.js";
5
- import { useServerStore as w } from "../legacy/stores/useServerStore.js";
5
+ import { useServerStore as M } from "../legacy/stores/useServerStore.js";
6
6
  const b = /* @__PURE__ */ v({
7
7
  __name: "ApiClientModal",
8
8
  props: {
@@ -10,12 +10,12 @@ const b = /* @__PURE__ */ v({
10
10
  spec: {}
11
11
  },
12
12
  setup(c) {
13
- const r = c, o = u(null), p = u(null), { authentication: i } = k(), { server: s } = w();
13
+ const o = c, r = u(null), p = u(null), { authentication: i } = k(), { server: s } = M();
14
14
  return U(async () => {
15
- if (!o.value) return;
16
- const { createScalarApiClient: t } = await import("@scalar/api-client"), { app: n, open: m, updateAuth: f, updateServerUrl: d, modalState: S, updateSpec: a } = await t(o.value, {
17
- spec: r.spec ?? {},
18
- proxyUrl: r.proxyUrl
15
+ if (!r.value) return;
16
+ const { createApiClientModal: t } = await import("@scalar/api-client"), { app: n, open: m, updateAuth: f, updateServerUrl: d, modalState: S, updateSpec: a } = await t(r.value, {
17
+ spec: o.spec ?? {},
18
+ proxyUrl: o.proxyUrl
19
19
  });
20
20
  B.emit(S), A.on((e) => {
21
21
  if (e.open) {
@@ -25,7 +25,7 @@ const b = /* @__PURE__ */ v({
25
25
  }
26
26
  e.updateSpec && a(e.updateSpec);
27
27
  }), _(
28
- () => r.spec,
28
+ () => o.spec,
29
29
  (e) => e && a(e),
30
30
  { deep: !0 }
31
31
  ), p.value = n;
@@ -34,7 +34,7 @@ const b = /* @__PURE__ */ v({
34
34
  return (t = p.value) == null ? void 0 : t.unmount();
35
35
  }), (t, n) => (x(), y("div", {
36
36
  ref_key: "el",
37
- ref: o
37
+ ref: r
38
38
  }, null, 512));
39
39
  }
40
40
  });
@@ -1 +1 @@
1
- {"version":3,"file":"CardContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.vue"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;;;;AA8E/C,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"CardContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.vue"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;;;;AA8E/C,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./CardContent.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-5312c2e0"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1c1d215c"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"OperationAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/OperationAccordion.vue"],"names":[],"mappings":"AAyNA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;AAoR7D,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"OperationAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/OperationAccordion.vue"],"names":[],"mappings":"AAmNA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;AAkR7D,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./OperationAccordion.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e9cc5b71"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0a481dcd"]]);
5
5
  export {
6
- a as default
6
+ p as default
7
7
  };
@@ -7,24 +7,24 @@ import C from "../../Section/SectionAccordion.vue.js";
7
7
  import k from "../../HttpMethod/HttpMethod.vue.js";
8
8
  import S from "../../Anchor/Anchor.vue.js";
9
9
  import w from "./PathResponses/PathResponses.vue.js";
10
- import A from "../../../features/ExampleRequest/ExampleRequest.vue.js";
11
- import { useClipboard as B } from "../../../hooks/useClipboard.js";
12
- const E = { class: "endpoint-header" }, R = { class: "endpoint-details" }, g = { class: "endpoint-label" }, I = { class: "endpoint-label-path" }, P = { class: "endpoint-label-name" }, V = { class: "endpoint-content" }, H = /* @__PURE__ */ l({
10
+ import B from "../../../features/ExampleRequest/ExampleRequest.vue.js";
11
+ import { useClipboard as E } from "../../../hooks/useClipboard.js";
12
+ const R = { class: "endpoint-header" }, g = { class: "endpoint-details" }, A = { class: "endpoint-label" }, I = { class: "endpoint-label-path" }, P = { class: "endpoint-label-name" }, V = { class: "endpoint-content" }, H = /* @__PURE__ */ l({
13
13
  __name: "OperationAccordion",
14
14
  props: {
15
15
  id: {},
16
16
  operation: {}
17
17
  },
18
18
  setup(q) {
19
- const { copyToClipboard: d } = B();
19
+ const { copyToClipboard: d } = E();
20
20
  return (o, s) => (r(), p(e(C), {
21
21
  id: o.id,
22
22
  class: "reference-endpoint",
23
23
  transparent: ""
24
24
  }, c({
25
25
  title: i(() => [
26
- n("h3", E, [
27
- n("div", R, [
26
+ n("h3", R, [
27
+ n("div", g, [
28
28
  t(e(k), {
29
29
  class: "endpoint-type",
30
30
  method: o.operation.httpVerb,
@@ -37,7 +37,7 @@ const E = { class: "endpoint-header" }, R = { class: "endpoint-details" }, g = {
37
37
  default: i(() => {
38
38
  var a;
39
39
  return [
40
- n("div", g, [
40
+ n("div", A, [
41
41
  n("div", I, [
42
42
  t(_, {
43
43
  deprecated: (a = o.operation.information) == null ? void 0 : a.deprecated,
@@ -60,7 +60,7 @@ const E = { class: "endpoint-header" }, R = { class: "endpoint-details" }, g = {
60
60
  }, null, 8, ["operation"])) : (r(), p(e(f), {
61
61
  key: 1,
62
62
  class: "endpoint-try-hint",
63
- icon: "PaperAirplane"
63
+ icon: "Play"
64
64
  })),
65
65
  t(e(u), {
66
66
  class: "endpoint-copy",
@@ -75,7 +75,7 @@ const E = { class: "endpoint-header" }, R = { class: "endpoint-details" }, g = {
75
75
  n("div", V, [
76
76
  t(y, { operation: o.operation }, null, 8, ["operation"]),
77
77
  t(e(w), { operation: o.operation }, null, 8, ["operation"]),
78
- t(e(A), { operation: o.operation }, null, 8, ["operation"])
78
+ t(e(B), { operation: o.operation }, null, 8, ["operation"])
79
79
  ])
80
80
  ]),
81
81
  _: 2
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleResponse.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/ExampleResponse.vue"],"names":[],"mappings":";;;;;;;;;;;AAkeA,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ExampleResponse.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/ExampleResponse.vue"],"names":[],"mappings":";;;;;;;;;;;AAgeA,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ExampleResponse.vue2.js";
2
2
  /* empty css */
3
3
  import p from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ p(o, [["__scopeId", "data-v-71404817"]]);
4
+ const r = /* @__PURE__ */ p(o, [["__scopeId", "data-v-9fd95437"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,43 +1,42 @@
1
- import { defineComponent as L, openBlock as o, createElementBlock as t, createVNode as N, unref as s, Fragment as p, renderList as C, createElementVNode as V, toDisplayString as P, createBlock as m, createCommentVNode as F } from "vue";
1
+ import { defineComponent as D, openBlock as o, createBlock as a, unref as s, createElementBlock as t, Fragment as p, renderList as C, createElementVNode as V, toDisplayString as J, createVNode as L, createCommentVNode as P } from "vue";
2
2
  import { ScalarCodeBlock as r } from "@scalar/components";
3
- import { prettyPrintJson as b } from "@scalar/oas-utils/helpers";
4
- import { getExampleFromSchema as a } from "@scalar/oas-utils/spec-getters";
5
- const R = { key: 0 }, q = { key: 1 }, w = {
3
+ import { prettyPrintJson as F } from "@scalar/oas-utils/helpers";
4
+ import { getExampleFromSchema as l } from "@scalar/oas-utils/spec-getters";
5
+ const R = {
6
6
  key: 0,
7
7
  class: "rule"
8
- }, z = { class: "rule-title" }, G = { class: "rule-items" }, H = {
8
+ }, q = { class: "rule-title" }, w = { class: "rule-items" }, z = {
9
9
  key: 2,
10
10
  class: "empty-state"
11
- }, U = /* @__PURE__ */ L({
11
+ }, Q = /* @__PURE__ */ D({
12
12
  __name: "ExampleResponse",
13
13
  props: {
14
14
  response: {}
15
15
  },
16
- setup(I) {
17
- const A = ["oneOf", "anyOf", "not"], c = (e) => e.reduce((i, l) => ({
16
+ setup(G) {
17
+ const _ = ["oneOf", "anyOf", "not"], c = (e) => e.reduce((i, m) => ({
18
18
  ...i,
19
- ...l
19
+ ...m
20
20
  }), {});
21
21
  return (e, i) => {
22
- var l, d, h, y, u, g, f, k, S;
23
- return (l = e.response) != null && l.example ? (o(), t("div", R, [
24
- N(s(r), {
25
- content: s(b)((d = e.response) == null ? void 0 : d.example),
26
- lang: "json"
27
- }, null, 8, ["content"])
28
- ])) : (h = e.response) != null && h.schema ? (o(), t("div", q, [
29
- (o(), t(p, null, C(A, (n) => {
30
- var j, O, _, v, B, E;
22
+ var m, d, h, y, g, u, f, k, S;
23
+ return (m = e.response) != null && m.example ? (o(), a(s(r), {
24
+ key: 0,
25
+ content: s(F)((d = e.response) == null ? void 0 : d.example),
26
+ lang: "json"
27
+ }, null, 8, ["content"])) : (h = e.response) != null && h.schema ? (o(), t(p, { key: 1 }, [
28
+ (o(), t(p, null, C(_, (n) => {
29
+ var j, O, B, E, N, v;
31
30
  return o(), t(p, { key: n }, [
32
- (j = e.response) != null && j.schema[n] && (((O = e.response) == null ? void 0 : O.schema[n].length) > 1 || n === "not") ? (o(), t("div", w, [
33
- V("div", z, P(n), 1),
34
- V("ol", G, [
35
- (o(!0), t(p, null, C((_ = e.response) == null ? void 0 : _.schema[n], (D, J) => (o(), t("li", {
36
- key: J,
31
+ (j = e.response) != null && j.schema[n] && (((O = e.response) == null ? void 0 : O.schema[n].length) > 1 || n === "not") ? (o(), t("div", R, [
32
+ V("div", q, J(n), 1),
33
+ V("ol", w, [
34
+ (o(!0), t(p, null, C((B = e.response) == null ? void 0 : B.schema[n], (b, A) => (o(), t("li", {
35
+ key: A,
37
36
  class: "rule-item"
38
37
  }, [
39
- N(s(r), {
40
- content: s(a)(D, {
38
+ L(s(r), {
39
+ content: s(l)(b, {
41
40
  emptyString: "…",
42
41
  mode: "read"
43
42
  }),
@@ -45,53 +44,52 @@ const R = { key: 0 }, q = { key: 1 }, w = {
45
44
  }, null, 8, ["content"])
46
45
  ]))), 128))
47
46
  ])
48
- ])) : (v = e.response) != null && v.schema[n] && ((B = e.response) == null ? void 0 : B.schema[n].length) === 1 ? (o(), m(s(r), {
47
+ ])) : (E = e.response) != null && E.schema[n] && ((N = e.response) == null ? void 0 : N.schema[n].length) === 1 ? (o(), a(s(r), {
49
48
  key: 1,
50
- content: s(a)((E = e.response) == null ? void 0 : E.schema[n][0], {
49
+ content: s(l)((v = e.response) == null ? void 0 : v.schema[n][0], {
51
50
  emptyString: "…",
52
51
  mode: "read"
53
52
  }),
54
53
  lang: "json"
55
- }, null, 8, ["content"])) : F("", !0)
54
+ }, null, 8, ["content"])) : P("", !0)
56
55
  ], 64);
57
56
  }), 64)),
58
- (y = e.response) != null && y.schema.allOf ? (o(), m(s(r), {
57
+ (y = e.response) != null && y.schema.allOf ? (o(), a(s(r), {
59
58
  key: 0,
60
59
  content: c(
61
- (u = e.response) == null ? void 0 : u.schema.allOf.map(
62
- (n) => s(a)(n, {
60
+ (g = e.response) == null ? void 0 : g.schema.allOf.map(
61
+ (n) => s(l)(n, {
63
62
  emptyString: "…",
64
63
  mode: "read"
65
64
  })
66
65
  )
67
66
  ),
68
67
  lang: "json"
69
- }, null, 8, ["content"])) : F("", !0),
70
- (f = (g = e.response) == null ? void 0 : g.schema.items) != null && f.allOf ? (o(), m(s(r), {
68
+ }, null, 8, ["content"])) : (f = (u = e.response) == null ? void 0 : u.schema.items) != null && f.allOf ? (o(), a(s(r), {
71
69
  key: 1,
72
70
  content: c(
73
71
  (k = e.response) == null ? void 0 : k.schema.items.allOf.map(
74
- (n) => s(a)(n, {
72
+ (n) => s(l)(n, {
75
73
  emptyString: "…",
76
74
  mode: "read"
77
75
  })
78
76
  )
79
77
  ),
80
78
  lang: "json"
81
- }, null, 8, ["content"])) : (o(), m(s(r), {
79
+ }, null, 8, ["content"])) : (o(), a(s(r), {
82
80
  key: 2,
83
- content: s(b)(
84
- s(a)((S = e.response) == null ? void 0 : S.schema, {
81
+ content: s(F)(
82
+ s(l)((S = e.response) == null ? void 0 : S.schema, {
85
83
  emptyString: "…",
86
84
  mode: "read"
87
85
  })
88
86
  ),
89
87
  lang: "json"
90
88
  }, null, 8, ["content"]))
91
- ])) : (o(), t("div", H, " No Body "));
89
+ ], 64)) : (o(), t("div", z, " No Body "));
92
90
  };
93
91
  }
94
92
  });
95
93
  export {
96
- U as default
94
+ Q as default
97
95
  };
@@ -1 +1 @@
1
- {"version":3,"file":"PathResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/PathResponses.vue"],"names":[],"mappings":"AA2TA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;AAwY7D,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"PathResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/PathResponses.vue"],"names":[],"mappings":"AA4TA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;AAwY7D,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./PathResponses.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-93ecf383"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-778ab953"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -9,7 +9,7 @@ import q from "../../../Card/CardContent.vue.js";
9
9
  import G from "../../../Card/CardFooter.vue.js";
10
10
  import Q from "../../../../features/ExampleRequest/ExamplePicker.vue.js";
11
11
  import { useClipboard as X } from "../../../../hooks/useClipboard.js";
12
- const Y = (u) => (P("data-v-93ecf383"), u = u(), A(), u), Z = {
12
+ const Y = (u) => (P("data-v-778ab953"), u = u(), A(), u), Z = {
13
13
  key: 1,
14
14
  class: "scalar-card-checkbox"
15
15
  }, $ = /* @__PURE__ */ Y(() => /* @__PURE__ */ w("span", { class: "scalar-card-checkbox-checkmark" }, null, -1)), z = { class: "scalar-card-container custom-scroll" }, ee = {
@@ -1 +1 @@
1
- {"version":3,"file":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeToggle.vue"],"names":[],"mappings":";;;;;;;;;AAuKA,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeToggle.vue"],"names":[],"mappings":";;;;;;;;;AAsKA,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./DarkModeToggle.vue2.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-559a0a79"]]);
3
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-c2022750"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as n, openBlock as o, createElementBlock as t, createElementVNode as s, createVNode as c, unref as d, pushScopeId as p, popScopeId as i } from "vue";
1
+ import { defineComponent as n, openBlock as o, createElementBlock as t, createElementVNode as s, createVNode as c, unref as d, pushScopeId as i, popScopeId as p } from "vue";
2
2
  import { ScalarIcon as l } from "@scalar/components";
3
- const k = (e) => (p("data-v-559a0a79"), e = e(), i(), e), g = { class: "darklight-reference" }, m = { key: 0 }, _ = { key: 1 }, h = /* @__PURE__ */ k(() => /* @__PURE__ */ s("a", {
3
+ const k = (e) => (i("data-v-c2022750"), e = e(), p(), e), m = { class: "darklight-reference" }, g = { key: 0 }, _ = { key: 1 }, h = /* @__PURE__ */ k(() => /* @__PURE__ */ s("a", {
4
4
  class: "darklight-reference-promo",
5
5
  href: "https://www.scalar.com",
6
6
  target: "_blank"
@@ -11,14 +11,17 @@ const k = (e) => (p("data-v-559a0a79"), e = e(), i(), e), g = { class: "darkligh
11
11
  },
12
12
  emits: ["toggleDarkMode"],
13
13
  setup(e) {
14
- return (r, a) => (o(), t("div", g, [
14
+ return (r, a) => (o(), t("div", m, [
15
15
  s("button", {
16
16
  class: "darklight",
17
17
  type: "button",
18
18
  onClick: a[0] || (a[0] = (f) => r.$emit("toggleDarkMode"))
19
19
  }, [
20
- c(d(l), { icon: "LightDarkModeToggle" }),
21
- r.isDarkMode ? (o(), t("span", m, "Light Mode")) : (o(), t("span", _, "Dark Mode"))
20
+ c(d(l), {
21
+ icon: "LightDarkModeToggle",
22
+ size: "md"
23
+ }),
24
+ r.isDarkMode ? (o(), t("span", g, "Light Mode")) : (o(), t("span", _, "Dark Mode"))
22
25
  ]),
23
26
  h
24
27
  ]));
@@ -1 +1 @@
1
- {"version":3,"file":"ServerUrl.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerUrl.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;;;AAuE3D,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ServerUrl.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerUrl.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;;;AAuE3D,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -2,7 +2,7 @@ import r from "./ServerUrl.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import o from "../../_virtual/_plugin-vue_export-helper.js";
5
- const _ = /* @__PURE__ */ o(r, [["__scopeId", "data-v-01cb81b8"]]);
5
+ const f = /* @__PURE__ */ o(r, [["__scopeId", "data-v-f5297e83"]]);
6
6
  export {
7
- _ as default
7
+ f as default
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ServerUrlSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerUrlSelect.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;AAoIrC,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ServerUrlSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerUrlSelect.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;AAqIrC,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import e from "./ServerUrlSelect.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(e, [["__scopeId", "data-v-2e6e9857"]]);
4
+ const p = /* @__PURE__ */ r(e, [["__scopeId", "data-v-eb9d4d8e"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,19 +1,19 @@
1
- import { defineComponent as v, computed as s, openBlock as r, createElementBlock as f, createVNode as i, unref as l, withCtx as u, normalizeClass as g, createElementVNode as h, renderSlot as S, createBlock as _, createCommentVNode as V } from "vue";
1
+ import { defineComponent as v, computed as a, openBlock as r, createElementBlock as f, createVNode as c, unref as l, withCtx as i, normalizeClass as h, createElementVNode as _, renderSlot as g, createBlock as S, createCommentVNode as V } from "vue";
2
2
  import { ScalarListbox as C, ScalarButton as k, ScalarIcon as x } from "@scalar/components";
3
- const B = { class: "w-full" }, N = /* @__PURE__ */ v({
3
+ const B = { class: "w-full" }, w = { class: "custom-scroll" }, b = /* @__PURE__ */ v({
4
4
  __name: "ServerUrlSelect",
5
5
  props: {
6
6
  options: {},
7
7
  value: {}
8
8
  },
9
9
  emits: ["change"],
10
- setup(c, { emit: d }) {
11
- const n = c, m = d, o = s(
10
+ setup(u, { emit: d }) {
11
+ const n = u, m = d, o = a(
12
12
  () => n.options.map((e, t) => ({
13
13
  id: t.toString(),
14
14
  label: e.url ?? ""
15
15
  }))
16
- ), a = s({
16
+ ), s = a({
17
17
  get: () => {
18
18
  var e;
19
19
  return (e = o.value) == null ? void 0 : e.find((t) => t.id === n.value.toString());
@@ -21,23 +21,23 @@ const B = { class: "w-full" }, N = /* @__PURE__ */ v({
21
21
  set: (e) => m("change", (e == null ? void 0 : e.id) ?? "")
22
22
  });
23
23
  return (e, t) => (r(), f("div", B, [
24
- i(l(C), {
25
- modelValue: a.value,
26
- "onUpdate:modelValue": t[0] || (t[0] = (p) => a.value = p),
24
+ c(l(C), {
25
+ modelValue: s.value,
26
+ "onUpdate:modelValue": t[0] || (t[0] = (p) => s.value = p),
27
27
  options: o.value,
28
28
  resize: ""
29
29
  }, {
30
- default: u(() => [
31
- i(l(k), {
32
- class: g(["url-select", { "pointer-events-none": o.value.length <= 1 }]),
30
+ default: i(() => [
31
+ c(l(k), {
32
+ class: h(["url-select", { "pointer-events-none": o.value.length <= 1 }]),
33
33
  fullWidth: "",
34
34
  variant: "ghost"
35
35
  }, {
36
- default: u(() => [
37
- h("span", null, [
38
- S(e.$slots, "default", {}, void 0, !0)
36
+ default: i(() => [
37
+ _("span", w, [
38
+ g(e.$slots, "default", {}, void 0, !0)
39
39
  ]),
40
- o.value.length > 1 ? (r(), _(l(x), {
40
+ o.value.length > 1 ? (r(), S(l(x), {
41
41
  key: 0,
42
42
  icon: "ChevronDown",
43
43
  size: "xs"
@@ -52,5 +52,5 @@ const B = { class: "w-full" }, N = /* @__PURE__ */ v({
52
52
  }
53
53
  });
54
54
  export {
55
- N as default
55
+ b as default
56
56
  };