@scalar/api-reference 1.25.9 → 1.25.10

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 (45) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/browser/standalone.js +12096 -12067
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReference.vue.js +43 -42
  6. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  7. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  8. package/dist/components/ApiReferenceLayout.vue2.js +51 -48
  9. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  10. package/dist/components/Content/Models/Models.vue.js +2 -2
  11. package/dist/components/Content/Models/Models.vue2.js +46 -48
  12. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  13. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  14. package/dist/components/Content/Operation/OperationAccordion.vue2.js +53 -49
  15. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +1 -1
  16. package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +1 -1
  17. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
  18. package/dist/components/Content/Operation/TestRequestButton.vue.js +1 -1
  19. package/dist/components/Content/Operation/TestRequestButton.vue2.js +30 -22
  20. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  21. package/dist/components/Content/Tag/Endpoints.vue.d.ts +2 -0
  22. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  23. package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
  24. package/dist/components/Content/Tag/Endpoints.vue2.js +31 -29
  25. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  26. package/dist/components/Content/Tag/Tag.vue.js +3 -3
  27. package/dist/components/Content/Tag/Tag.vue2.js +15 -14
  28. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
  29. package/dist/components/Content/Webhooks/Webhooks.vue.js +2 -2
  30. package/dist/components/Content/Webhooks/Webhooks.vue2.js +43 -45
  31. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
  32. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +3 -3
  33. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  34. package/dist/components/Layouts/ClassicLayout.vue.js +18 -17
  35. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
  36. package/dist/components/Layouts/ModernLayout.vue.js +2 -2
  37. package/dist/components/Layouts/ModernLayout.vue2.js +31 -28
  38. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  39. package/dist/components/Section/CompactSection.vue.js +2 -2
  40. package/dist/helpers/provideSymbols.d.ts +1 -0
  41. package/dist/helpers/provideSymbols.d.ts.map +1 -1
  42. package/dist/helpers/provideSymbols.js +4 -3
  43. package/dist/index.js +59 -58
  44. package/dist/style.css +1 -1
  45. package/package.json +11 -11
@@ -1,83 +1,81 @@
1
- import { defineComponent as B, computed as m, openBlock as s, createBlock as c, unref as t, withCtx as l, createVNode as n, createTextVNode as v, createElementVNode as g, normalizeClass as L, createElementBlock as w, Fragment as b, renderList as _, toDisplayString as O, createCommentVNode as u, pushScopeId as z, popScopeId as A } from "vue";
2
- import { ScalarMarkdown as E } from "@scalar/components";
3
- import H from "../../ShowMoreButton.vue.js";
4
- import M from "./Webhook.vue.js";
5
- import j from "../../Section/SectionContainer.vue.js";
6
- import F from "../../Section/Section.vue.js";
7
- import K from "../../Section/SectionHeader.vue.js";
8
- import y from "../Lazy/Lazy.vue.js";
9
- import T from "../../Section/CompactSection.vue.js";
10
- import { useSidebar as D } from "../../../hooks/useSidebar.js";
11
- import { useNavState as X } from "../../../hooks/useNavState.js";
12
- const Y = (i) => (z("data-v-b5c5dcfc"), i = i(), A(), i), $ = /* @__PURE__ */ Y(() => /* @__PURE__ */ g("div", { id: "webhooks" }, null, -1)), I = 10, te = /* @__PURE__ */ B({
1
+ import { defineComponent as I, computed as m, openBlock as s, createBlock as a, unref as t, withCtx as l, createVNode as n, createTextVNode as v, createElementVNode as B, normalizeClass as L, createElementBlock as h, Fragment as w, renderList as y, toDisplayString as O, createCommentVNode as u } from "vue";
2
+ import { ScalarMarkdown as z } from "@scalar/components";
3
+ import A from "../../ShowMoreButton.vue.js";
4
+ import E from "./Webhook.vue.js";
5
+ import H from "../../Section/SectionContainer.vue.js";
6
+ import M from "../../Section/Section.vue.js";
7
+ import j from "../../Section/SectionHeader.vue.js";
8
+ import S from "../Lazy/Lazy.vue.js";
9
+ import F from "../../Section/CompactSection.vue.js";
10
+ import { useSidebar as K } from "../../../hooks/useSidebar.js";
11
+ import { useNavState as T } from "../../../hooks/useNavState.js";
12
+ const _ = 10, x = /* @__PURE__ */ I({
13
13
  __name: "Webhooks",
14
14
  props: {
15
15
  webhooks: {}
16
16
  },
17
- setup(i) {
18
- const N = i, d = m(() => Object.keys(N.webhooks ?? {})), { getWebhookId: k } = X(), { collapsedSidebarItems: W } = D(), h = m(
19
- () => d.value.length <= I || W[k()]
17
+ setup(g) {
18
+ const N = g, k = m(() => Object.keys(N.webhooks ?? {})), { getWebhookId: c } = T(), { collapsedSidebarItems: W } = K(), d = m(
19
+ () => k.value.length <= _ || W[c()]
20
20
  ), C = m(() => {
21
- const o = d.value;
22
- return h.value ? o : o.slice(0, I);
21
+ const o = k.value;
22
+ return d.value ? o : o.slice(0, _);
23
23
  });
24
- return (o, q) => d.value.length ? (s(), c(t(j), { key: 0 }, {
24
+ return (o, D) => k.value.length ? (s(), a(t(H), {
25
+ key: 0,
26
+ id: "webhooks"
27
+ }, {
25
28
  default: l(() => [
26
- n(t(F), null, {
29
+ n(t(M), null, {
27
30
  default: l(() => [
28
- n(t(K), { level: 2 }, {
31
+ n(t(j), { level: 2 }, {
29
32
  default: l(() => [
30
33
  v("Webhooks")
31
34
  ]),
32
35
  _: 1
33
36
  }),
34
- n(t(y), {
37
+ n(t(S), {
35
38
  id: "webhooks",
36
39
  isLazy: !1
37
- }, {
38
- default: l(() => [
39
- $
40
- ]),
41
- _: 1
42
40
  }),
43
- g("div", {
44
- class: L(["webhooks-list", { "webhooks-list-truncated": !h.value }])
41
+ B("div", {
42
+ class: L(["webhooks-list", { "webhooks-list-truncated": !d.value }])
45
43
  }, [
46
- (s(!0), w(b, null, _(C.value, (e) => {
47
- var p;
48
- return s(), w(b, { key: e }, [
49
- (s(!0), w(b, null, _(Object.keys(
50
- (p = o.webhooks) == null ? void 0 : p[e]
51
- ), (r) => (s(), c(t(y), {
52
- id: t(k)(e, r),
44
+ (s(!0), h(w, null, y(C.value, (e) => {
45
+ var b;
46
+ return s(), h(w, { key: e }, [
47
+ (s(!0), h(w, null, y(Object.keys(
48
+ (b = o.webhooks) == null ? void 0 : b[e]
49
+ ), (r) => (s(), a(t(S), {
50
+ id: t(c)(e, r),
53
51
  key: r,
54
52
  isLazy: ""
55
53
  }, {
56
54
  default: l(() => {
57
55
  var f;
58
56
  return [
59
- (f = o.webhooks) != null && f[e] ? (s(), c(t(T), {
57
+ (f = o.webhooks) != null && f[e] ? (s(), a(t(F), {
60
58
  key: 0,
61
- id: t(k)(e, r),
59
+ id: t(c)(e, r),
62
60
  class: "webhooks-list-item",
63
61
  label: e
64
62
  }, {
65
63
  heading: l(() => {
66
- var a;
64
+ var i;
67
65
  return [
68
- v(O((a = o.webhooks[e][r]) == null ? void 0 : a.name), 1)
66
+ v(O((i = o.webhooks[e][r]) == null ? void 0 : i.name), 1)
69
67
  ];
70
68
  }),
71
69
  default: l(() => {
72
- var a, S;
70
+ var i, p;
73
71
  return [
74
- (a = o.webhooks[e][r]) != null && a.description ? (s(), c(t(E), {
72
+ (i = o.webhooks[e][r]) != null && i.description ? (s(), a(t(z), {
75
73
  key: 0,
76
74
  class: "webhook-section-description",
77
- value: (S = o.webhooks[e][r]) == null ? void 0 : S.description,
75
+ value: (p = o.webhooks[e][r]) == null ? void 0 : p.description,
78
76
  withImages: ""
79
77
  }, null, 8, ["value"])) : u("", !0),
80
- n(M, {
78
+ n(E, {
81
79
  webhook: o.webhooks[e][r]
82
80
  }, null, 8, ["webhook"])
83
81
  ];
@@ -91,7 +89,7 @@ const Y = (i) => (z("data-v-b5c5dcfc"), i = i(), A(), i), $ = /* @__PURE__ */ Y(
91
89
  ], 64);
92
90
  }), 128))
93
91
  ], 2),
94
- h.value ? u("", !0) : (s(), c(H, {
92
+ d.value ? u("", !0) : (s(), a(A, {
95
93
  key: 0,
96
94
  id: "webhooks",
97
95
  class: "show-more-webhooks"
@@ -105,5 +103,5 @@ const Y = (i) => (z("data-v-b5c5dcfc"), i = i(), A(), i), $ = /* @__PURE__ */ Y(
105
103
  }
106
104
  });
107
105
  export {
108
- te as default
106
+ x as default
109
107
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DarkModeIconToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeIconToggle.vue"],"names":[],"mappings":";gBAiDc,OAAO;;;;gBAAP,OAAO;;;;AAgFrB,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":"DarkModeIconToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeIconToggle.vue"],"names":[],"mappings":";gBAkDc,OAAO;;;;gBAAP,OAAO;;;;AAgFrB,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 "./DarkModeIconToggle.vue2.js";
2
2
  /* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-8f61ca56"]]);
3
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-3d47eee0"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AA0B7E,iBAAS,cAAc,0DAiItB;AACD,QAAA,MAAM,eAAe;;;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAA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AAC,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,9 +1,9 @@
1
- import { defineComponent as f, useSlots as g, computed as k, openBlock as i, createBlock as p, createSlots as S, withCtx as t, createVNode as d, unref as l, createCommentVNode as D, renderList as C, renderSlot as y, normalizeProps as M, guardReactiveProps as w } from "vue";
2
- import h from "../ApiReferenceLayout.vue.js";
1
+ import { defineComponent as g, useSlots as m, computed as k, openBlock as s, createBlock as i, createSlots as S, withCtx as t, createVNode as D, unref as d, createCommentVNode as c, renderList as y, renderSlot as C, normalizeProps as M, guardReactiveProps as h } from "vue";
2
+ import w from "../ApiReferenceLayout.vue.js";
3
3
  import v from "../ClassicHeader.vue.js";
4
4
  import B from "../DarkModeToggle/DarkModeIconToggle.vue.js";
5
5
  import H from "../../features/Search/SearchButton.vue.js";
6
- const N = /* @__PURE__ */ f({
6
+ const N = /* @__PURE__ */ g({
7
7
  __name: "ClassicLayout",
8
8
  props: {
9
9
  configuration: {},
@@ -12,39 +12,40 @@ const N = /* @__PURE__ */ f({
12
12
  isDark: { type: Boolean }
13
13
  },
14
14
  emits: ["toggleDarkMode", "updateContent"],
15
- setup(c) {
16
- const n = c, u = g(), s = k(() => ({ ...n.configuration, showSidebar: !1 }));
17
- return (e, o) => (i(), p(h, {
18
- configuration: s.value,
15
+ setup(l) {
16
+ const a = l, u = m(), p = k(() => ({ ...a.configuration, showSidebar: !1 }));
17
+ return (e, o) => (s(), i(w, {
18
+ configuration: p.value,
19
19
  parsedSpec: e.parsedSpec,
20
20
  rawSpec: e.rawSpec,
21
21
  onUpdateContent: o[1] || (o[1] = (r) => e.$emit("updateContent", r))
22
22
  }, S({
23
23
  "content-start": t(({ spec: r }) => [
24
- d(v, null, {
24
+ D(v, null, {
25
25
  "dark-mode-toggle": t(() => [
26
- n.configuration.hideDarkModeToggle ? D("", !0) : (i(), p(l(B), {
26
+ a.configuration.hideDarkModeToggle ? c("", !0) : (s(), i(d(B), {
27
27
  key: 0,
28
28
  isDarkMode: e.isDark,
29
- onToggleDarkMode: o[0] || (o[0] = (a) => e.$emit("toggleDarkMode"))
29
+ onToggleDarkMode: o[0] || (o[0] = (n) => e.$emit("toggleDarkMode"))
30
30
  }, null, 8, ["isDarkMode"]))
31
31
  ]),
32
32
  default: t(() => [
33
- d(l(H), {
33
+ a.configuration.hideSearch ? c("", !0) : (s(), i(d(H), {
34
+ key: 0,
34
35
  class: "t-doc__sidebar",
35
- searchHotKey: s.value.searchHotKey,
36
+ searchHotKey: p.value.searchHotKey,
36
37
  spec: r
37
- }, null, 8, ["searchHotKey", "spec"])
38
+ }, null, 8, ["searchHotKey", "spec"]))
38
39
  ]),
39
40
  _: 2
40
41
  }, 1024)
41
42
  ]),
42
43
  _: 2
43
44
  }, [
44
- C(u, (r, a) => ({
45
- name: a,
46
- fn: t((m) => [
47
- y(e.$slots, a, M(w(m || {})))
45
+ y(u, (r, n) => ({
46
+ name: n,
47
+ fn: t((f) => [
48
+ C(e.$slots, n, M(h(f || {})))
48
49
  ])
49
50
  }))
50
51
  ]), 1032, ["configuration", "parsedSpec", "rawSpec"]));
@@ -1 +1 @@
1
- {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAqC7E,iBAAS,cAAc,0DAoJtB;AACD,QAAA,MAAM,eAAe;;;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO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ChC,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 o from "./ModernLayout.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9fe2e3b4"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-67757240"]]);
6
6
  export {
7
- a as default
7
+ _ as default
8
8
  };
@@ -1,12 +1,15 @@
1
- import { defineComponent as k, useSlots as M, watch as l, openBlock as i, createBlock as p, normalizeClass as b, createSlots as h, withCtx as n, unref as d, isRef as y, createCommentVNode as u, createElementVNode as D, createVNode as v, renderList as w, renderSlot as C, normalizeProps as B, guardReactiveProps as N } from "vue";
2
- import { useMediaQuery as $ } from "@vueuse/core";
3
- import H from "../ApiReferenceLayout.vue.js";
4
- import K from "../MobileHeader.vue.js";
5
- import L from "../../features/Search/SearchButton.vue.js";
1
+ import { defineComponent as k, useSlots as h, watch as u, openBlock as i, createBlock as p, normalizeClass as M, createSlots as y, withCtx as s, unref as l, isRef as b, createCommentVNode as d, createElementBlock as D, createVNode as v, renderList as w, renderSlot as C, normalizeProps as B, guardReactiveProps as $ } from "vue";
2
+ import { useMediaQuery as H } from "@vueuse/core";
3
+ import K from "../ApiReferenceLayout.vue.js";
4
+ import L from "../MobileHeader.vue.js";
5
+ import N from "../../features/Search/SearchButton.vue.js";
6
6
  import R from "../DarkModeToggle/DarkModeToggle.vue.js";
7
7
  import { useSidebar as T } from "../../hooks/useSidebar.js";
8
- import { useNavState as V } from "../../hooks/useNavState.js";
9
- const z = { class: "scalar-api-references-standalone-search" }, F = /* @__PURE__ */ k({
8
+ import { useNavState as z } from "../../hooks/useNavState.js";
9
+ const P = {
10
+ key: 0,
11
+ class: "scalar-api-references-standalone-search"
12
+ }, F = /* @__PURE__ */ k({
10
13
  __name: "ModernLayout",
11
14
  props: {
12
15
  configuration: {},
@@ -16,42 +19,42 @@ const z = { class: "scalar-api-references-standalone-search" }, F = /* @__PURE__
16
19
  },
17
20
  emits: ["toggleDarkMode", "updateContent"],
18
21
  setup(c) {
19
- const s = c, f = M(), m = $("(max-width: 1000px)"), { isSidebarOpen: a } = T();
20
- l(m, (e, o) => {
22
+ const n = c, f = h(), m = H("(max-width: 1000px)"), { isSidebarOpen: a } = T();
23
+ u(m, (e, o) => {
21
24
  e && !o && (a.value = !1);
22
25
  });
23
- const { hash: g } = V();
24
- return l(g, (e, o) => {
26
+ const { hash: g } = z();
27
+ return u(g, (e, o) => {
25
28
  e && e !== o && (a.value = !1);
26
- }), (e, o) => (i(), p(H, {
27
- class: b({
29
+ }), (e, o) => (i(), p(K, {
30
+ class: M({
28
31
  "scalar-api-references-standalone-mobile": e.configuration.showSidebar
29
32
  }),
30
33
  configuration: e.configuration,
31
34
  parsedSpec: e.parsedSpec,
32
35
  rawSpec: e.rawSpec,
33
36
  onUpdateContent: o[2] || (o[2] = (r) => e.$emit("updateContent", r))
34
- }, h({
35
- header: n(() => [
36
- s.configuration.showSidebar ? (i(), p(K, {
37
+ }, y({
38
+ header: s(() => [
39
+ n.configuration.showSidebar ? (i(), p(L, {
37
40
  key: 0,
38
- open: d(a),
39
- "onUpdate:open": o[0] || (o[0] = (r) => y(a) ? a.value = r : null)
40
- }, null, 8, ["open"])) : u("", !0)
41
+ open: l(a),
42
+ "onUpdate:open": o[0] || (o[0] = (r) => b(a) ? a.value = r : null)
43
+ }, null, 8, ["open"])) : d("", !0)
41
44
  ]),
42
- "sidebar-start": n(({ spec: r }) => {
45
+ "sidebar-start": s(({ spec: r }) => {
43
46
  var t;
44
47
  return [
45
- D("div", z, [
46
- v(d(L), {
47
- searchHotKey: (t = s.configuration) == null ? void 0 : t.searchHotKey,
48
+ n.configuration.hideSearch ? d("", !0) : (i(), D("div", P, [
49
+ v(l(N), {
50
+ searchHotKey: (t = n.configuration) == null ? void 0 : t.searchHotKey,
48
51
  spec: r
49
52
  }, null, 8, ["searchHotKey", "spec"])
50
- ])
53
+ ]))
51
54
  ];
52
55
  }),
53
- "sidebar-end": n(() => [
54
- s.configuration.hideDarkModeToggle ? u("", !0) : (i(), p(d(R), {
56
+ "sidebar-end": s(() => [
57
+ n.configuration.hideDarkModeToggle ? d("", !0) : (i(), p(l(R), {
55
58
  key: 0,
56
59
  isDarkMode: e.isDark,
57
60
  onToggleDarkMode: o[1] || (o[1] = (r) => e.$emit("toggleDarkMode"))
@@ -61,8 +64,8 @@ const z = { class: "scalar-api-references-standalone-search" }, F = /* @__PURE__
61
64
  }, [
62
65
  w(f, (r, t) => ({
63
66
  name: t,
64
- fn: n((S) => [
65
- C(e.$slots, t, B(N(S || {})), void 0, !0)
67
+ fn: s((S) => [
68
+ C(e.$slots, t, B($(S || {})), void 0, !0)
66
69
  ])
67
70
  }))
68
71
  ]), 1032, ["class", "configuration", "parsedSpec", "rawSpec"]));
@@ -1 +1 @@
1
- {"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AAwIA,iBAAS,cAAc;qBAuFO,GAAG;qBACH,GAAG;EAkBhC;AACD,QAAA,MAAM,eAAe;QApIf,MAAM;YACF,MAAM;;QADV,MAAM;YACF,MAAM;aAyId,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,E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AC,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 "./CompactSection.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-27014344"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-db0c8da0"]]);
5
5
  export {
6
- a as default
6
+ p as default
7
7
  };
@@ -5,5 +5,6 @@ import type { InjectionKey } from 'vue';
5
5
  */
6
6
  export declare const GLOBAL_SECURITY_SYMBOL: InjectionKey<() => OpenAPIV3.SecurityRequirementObject[] | OpenAPIV3_1.SecurityRequirementObject[] | undefined>;
7
7
  export declare const HIDE_DOWNLOAD_BUTTON_SYMBOL: InjectionKey<() => boolean | undefined>;
8
+ export declare const HIDE_TEST_REQUEST_BUTTON_SYMBOL: InjectionKey<() => boolean | undefined>;
8
9
  export declare const OPENAPI_DOCUMENT_URL_SYMBOL: InjectionKey<() => string | undefined>;
9
10
  //# sourceMappingURL=provideSymbols.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provideSymbols.d.ts","sourceRoot":"","sources":["../../src/helpers/provideSymbols.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAe,YAAY,CAC5D,MACI,SAAS,CAAC,yBAAyB,EAAE,GACrC,WAAW,CAAC,yBAAyB,EAAE,GACvC,SAAS,CACd,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAe,YAAY,CACjE,MAAM,OAAO,GAAG,SAAS,CAC1B,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAe,YAAY,CACjE,MAAM,MAAM,GAAG,SAAS,CACzB,CAAA"}
1
+ {"version":3,"file":"provideSymbols.d.ts","sourceRoot":"","sources":["../../src/helpers/provideSymbols.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAe,YAAY,CAC5D,MACI,SAAS,CAAC,yBAAyB,EAAE,GACrC,WAAW,CAAC,yBAAyB,EAAE,GACvC,SAAS,CACd,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAe,YAAY,CACjE,MAAM,OAAO,GAAG,SAAS,CAC1B,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAe,YAAY,CACrE,MAAM,OAAO,GAAG,SAAS,CAC1B,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAe,YAAY,CACjE,MAAM,MAAM,GAAG,SAAS,CACzB,CAAA"}
@@ -1,6 +1,7 @@
1
- const O = Symbol(), _ = Symbol(), o = Symbol();
1
+ const _ = Symbol(), O = Symbol(), S = Symbol(), o = Symbol();
2
2
  export {
3
- O as GLOBAL_SECURITY_SYMBOL,
4
- _ as HIDE_DOWNLOAD_BUTTON_SYMBOL,
3
+ _ as GLOBAL_SECURITY_SYMBOL,
4
+ O as HIDE_DOWNLOAD_BUTTON_SYMBOL,
5
+ S as HIDE_TEST_REQUEST_BUTTON_SYMBOL,
5
6
  o as OPENAPI_DOCUMENT_URL_SYMBOL
6
7
  };