@scalar/api-reference 1.28.30 → 1.28.32

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 (101) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/blocks/constants.js +2 -4
  3. package/dist/browser/standalone.js +14161 -14196
  4. package/dist/browser/webpack-stats.json +1 -1
  5. package/dist/components/Anchor/Anchor.vue2.js +2 -2
  6. package/dist/components/ApiReference.vue.js +2 -2
  7. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  9. package/dist/components/ApiReferenceLayout.vue2.js +17 -14
  10. package/dist/components/Badge/Badge.vue.js +2 -2
  11. package/dist/components/Card/Card.vue.js +2 -2
  12. package/dist/components/Card/CardContent.vue2.js +2 -2
  13. package/dist/components/Card/CardFooter.vue2.js +2 -2
  14. package/dist/components/Card/CardHeader.vue2.js +2 -2
  15. package/dist/components/Card/CardTab.vue2.js +2 -2
  16. package/dist/components/Card/CardTabHeader.vue2.js +6 -6
  17. package/dist/components/ClassicHeader.vue.js +2 -2
  18. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +1 -1
  19. package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +1 -1
  20. package/dist/components/Content/Content.vue2.js +1 -1
  21. package/dist/components/Content/Introduction/Description.vue2.js +5 -5
  22. package/dist/components/Content/Introduction/Introduction.vue2.js +15 -15
  23. package/dist/components/Content/Lazy/Loading.vue.js +7 -7
  24. package/dist/components/Content/Models/Models.vue2.js +7 -7
  25. package/dist/components/Content/Models/ModelsAccordion.vue2.js +13 -13
  26. package/dist/components/Content/Schema/Schema.vue2.js +1 -1
  27. package/dist/components/Content/Schema/SchemaDiscriminator.vue2.js +1 -1
  28. package/dist/components/Content/Schema/SchemaHeading.vue2.js +7 -7
  29. package/dist/components/Content/Schema/SchemaProperty.vue2.js +1 -1
  30. package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +7 -7
  31. package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +9 -9
  32. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +1 -4
  33. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  34. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  35. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +148 -148
  36. package/dist/components/Content/Tag/OperationsList.vue2.js +5 -5
  37. package/dist/components/Content/Tag/OperationsListItem.vue2.js +9 -9
  38. package/dist/components/Content/Tag/Tag.vue.js +5 -5
  39. package/dist/components/Content/Tag/TagAccordion.vue2.js +4 -4
  40. package/dist/components/Content/Tag/TagList.vue.js +1 -1
  41. package/dist/components/Content/Tag/TagSection.vue2.js +1 -1
  42. package/dist/components/DocumentSelector/DocumentSelector.vue.js +5 -5
  43. package/dist/components/GettingStarted.vue2.js +3 -3
  44. package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
  45. package/dist/components/IntersectionObserver.vue.js +2 -2
  46. package/dist/components/Layouts/ClassicLayout.vue.js +5 -5
  47. package/dist/components/Layouts/Layouts.vue.js +2 -2
  48. package/dist/components/Layouts/ModernLayout.vue2.js +5 -5
  49. package/dist/components/LoadingSkeleton.vue2.js +2 -2
  50. package/dist/components/MobileHeader.vue2.js +5 -5
  51. package/dist/components/OperationPath.vue2.js +4 -4
  52. package/dist/components/ScreenReader.vue2.js +2 -2
  53. package/dist/components/Section/CompactSection.vue2.js +4 -4
  54. package/dist/components/Section/Section.vue2.js +2 -2
  55. package/dist/components/Section/SectionAccordion.vue2.js +1 -1
  56. package/dist/components/Section/SectionColumn.vue.js +2 -2
  57. package/dist/components/Section/SectionColumns.vue.js +2 -2
  58. package/dist/components/Section/SectionContainer.vue.js +2 -2
  59. package/dist/components/Section/SectionContainerAccordion.vue2.js +2 -2
  60. package/dist/components/Section/SectionContent.vue2.js +1 -1
  61. package/dist/components/Section/SectionHeader.vue2.js +1 -1
  62. package/dist/components/Section/SectionHeaderTag.vue2.js +2 -2
  63. package/dist/components/ShowMoreButton.vue2.js +2 -2
  64. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  65. package/dist/components/Sidebar/SidebarElement.vue2.js +5 -5
  66. package/dist/components/Sidebar/SidebarGroup.vue2.js +2 -2
  67. package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +2 -2
  68. package/dist/components/SingleApiReference.vue.js +5 -5
  69. package/dist/components/SpecificationExtension/SpecificationExtension.vue.js +5 -5
  70. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts +2 -0
  71. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
  72. package/dist/features/ApiClientModal/ApiClientModal.vue.js +51 -29
  73. package/dist/features/ApiClientModal/useApiClient.d.ts +4 -4
  74. package/dist/features/BaseUrl/BaseUrl.vue.js +1 -1
  75. package/dist/features/DownloadLink/DownloadLink.vue2.js +5 -5
  76. package/dist/features/ExampleRequest/ExamplePicker.vue2.js +2 -2
  77. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +12 -12
  78. package/dist/features/ExampleRequest/TextSelect.vue.js +6 -6
  79. package/dist/features/ExampleResponses/ExampleResponse.vue2.js +1 -1
  80. package/dist/features/ExampleResponses/ExampleResponses.vue2.js +23 -23
  81. package/dist/features/Operation/Operation.vue.js +3 -3
  82. package/dist/features/Operation/Webhooks.vue2.js +1 -1
  83. package/dist/features/Operation/components/ContentTypeSelect.vue.js +3 -3
  84. package/dist/features/Operation/components/OperationParameters.vue.js +1 -1
  85. package/dist/features/Operation/components/OperationResponses.vue.js +2 -2
  86. package/dist/features/Operation/components/ParameterHeaders.vue2.js +1 -1
  87. package/dist/features/Operation/components/ParameterList.vue2.js +4 -4
  88. package/dist/features/Operation/components/ParameterListItem.vue2.js +17 -17
  89. package/dist/features/Operation/components/RequestBody.vue2.js +5 -5
  90. package/dist/features/Operation/components/Webhook.vue2.js +5 -5
  91. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +20 -20
  92. package/dist/features/Operation/layouts/ModernLayout.vue2.js +3 -3
  93. package/dist/features/Search/SearchButton.vue2.js +4 -4
  94. package/dist/features/Search/SearchModal.vue2.js +1 -1
  95. package/dist/features/TestRequestButton/TestRequestButton.vue2.js +5 -5
  96. package/dist/hooks/useNavState.js +1 -1
  97. package/dist/hooks/useSidebar.js +13 -13
  98. package/dist/index.js +21 -21
  99. package/dist/stores/useHttpClientStore.js +1 -1
  100. package/dist/style.css +1 -1
  101. package/package.json +16 -16
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, computed as h, unref as t, openBlock as s, createElementBlock as O, createBlock as g, withCtx as k, createTextVNode as C, toDisplayString as i, createCommentVNode as l, createElementVNode as m, withModifiers as v, createVNode as y, normalizeClass as B } from "vue";
1
+ import { defineComponent as u, computed as h, createElementBlock as O, createCommentVNode as s, unref as t, openBlock as i, createBlock as g, createElementVNode as l, withCtx as k, createTextVNode as C, toDisplayString as m, withModifiers as v, createVNode as y, normalizeClass as B } from "vue";
2
2
  import { useWorkspace as N } from "@scalar/api-client/store";
3
3
  import { getPointer as V } from "../../../blocks/helpers/getPointer.js";
4
4
  import { useBlockProps as S } from "../../../blocks/hooks/useBlockProps.js";
@@ -31,21 +31,21 @@ const b = ["href"], F = /* @__PURE__ */ u({
31
31
  var e, o;
32
32
  return ((e = r.value) == null ? void 0 : e.summary) || ((o = r.value) == null ? void 0 : o.path);
33
33
  });
34
- return (e, o) => t(r) ? (s(), O("li", {
34
+ return (e, o) => t(r) ? (i(), O("li", {
35
35
  key: t(n)(e.transformedOperation, e.tag),
36
36
  class: "contents"
37
37
  }, [
38
- e.isCollapsed ? (s(), g(t(T), {
38
+ e.isCollapsed ? (i(), g(t(T), {
39
39
  key: 0,
40
40
  class: "sr-only",
41
41
  level: 3
42
42
  }, {
43
43
  default: k(() => [
44
- C(i(f.value) + " (Hidden) ", 1)
44
+ C(m(f.value) + " (Hidden) ", 1)
45
45
  ]),
46
46
  _: 1
47
- })) : l("", !0),
48
- m("a", {
47
+ })) : s("", !0),
48
+ l("a", {
49
49
  class: "endpoint",
50
50
  href: `#${t(n)(e.transformedOperation, e.tag)}`,
51
51
  onClick: o[0] || (o[0] = v((D) => c(e.transformedOperation), ["prevent"]))
@@ -54,13 +54,13 @@ const b = ["href"], F = /* @__PURE__ */ u({
54
54
  class: "endpoint-method",
55
55
  method: t(r).method
56
56
  }, null, 8, ["method"]),
57
- m("span", {
57
+ l("span", {
58
58
  class: B(["endpoint-path", {
59
59
  deprecated: t(I)(t(r))
60
60
  }])
61
- }, i(t(r).path), 3)
61
+ }, m(t(r).path), 3)
62
62
  ], 8, b)
63
- ])) : l("", !0);
63
+ ])) : s("", !0);
64
64
  }
65
65
  });
66
66
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, computed as g, openBlock as n, createBlock as m, unref as e, withCtx as a, withDirectives as C, createVNode as t, createTextVNode as d, toDisplayString as S, createCommentVNode as v, vShow as h } from "vue";
1
+ import { defineComponent as c, computed as g, createBlock as n, openBlock as m, unref as e, withCtx as a, withDirectives as C, createVNode as t, createTextVNode as d, createCommentVNode as S, toDisplayString as v, vShow as h } from "vue";
2
2
  import { ScalarMarkdown as w } from "@scalar/components";
3
3
  import N from "../../ScreenReader.vue.js";
4
4
  import { useConfig as _ } from "../../../hooks/useConfig.js";
@@ -23,7 +23,7 @@ const K = /* @__PURE__ */ c({
23
23
  },
24
24
  setup(s) {
25
25
  const l = s, { getTagId: u } = k(), i = _(), f = g(() => l.tag["x-displayName"] ?? l.tag.name);
26
- return (o, r) => (n(), m(e(I), {
26
+ return (o, r) => (m(), n(e(I), {
27
27
  id: o.id,
28
28
  label: o.tag.name.toUpperCase(),
29
29
  role: "none"
@@ -40,13 +40,13 @@ const K = /* @__PURE__ */ c({
40
40
  level: 2
41
41
  }, {
42
42
  default: a(() => [
43
- d(S(f.value) + " ", 1),
44
- o.isCollapsed ? (n(), m(N, { key: 0 }, {
43
+ d(v(f.value) + " ", 1),
44
+ o.isCollapsed ? (m(), n(N, { key: 0 }, {
45
45
  default: a(() => r[0] || (r[0] = [
46
46
  d(" (Collapsed)")
47
47
  ])),
48
48
  _: 1
49
- })) : v("", !0)
49
+ })) : S("", !0)
50
50
  ]),
51
51
  _: 1
52
52
  }, 8, ["id"])
@@ -1,4 +1,4 @@
1
- import { defineComponent as i, openBlock as n, createBlock as c, unref as e, withCtx as t, createVNode as a, createTextVNode as l, toDisplayString as d, renderSlot as s } from "vue";
1
+ import { defineComponent as i, createBlock as n, openBlock as c, unref as e, withCtx as t, renderSlot as l, createVNode as a, createTextVNode as d, toDisplayString as s } from "vue";
2
2
  import { ScalarMarkdown as m } from "@scalar/components";
3
3
  import p from "../../Section/SectionContainerAccordion.vue.js";
4
4
  import f from "../../Section/SectionHeader.vue.js";
@@ -12,7 +12,7 @@ const B = /* @__PURE__ */ i({
12
12
  },
13
13
  setup(S) {
14
14
  const { getTagId: r } = _();
15
- return (o, v) => (n(), c(e(p), { class: "tag-section" }, {
15
+ return (o, v) => (c(), n(e(p), { class: "tag-section" }, {
16
16
  title: t(() => [
17
17
  a(e(f), { class: "tag-name" }, {
18
18
  default: t(() => [
@@ -22,7 +22,7 @@ const B = /* @__PURE__ */ i({
22
22
  default: t(() => [
23
23
  a(e(g), { level: 2 }, {
24
24
  default: t(() => [
25
- l(d(o.tag.name), 1)
25
+ d(s(o.tag.name), 1)
26
26
  ]),
27
27
  _: 1
28
28
  })
@@ -39,7 +39,7 @@ const B = /* @__PURE__ */ i({
39
39
  }, null, 8, ["value"])
40
40
  ]),
41
41
  default: t(() => [
42
- s(o.$slots, "default", {}, void 0, !0)
42
+ l(o.$slots, "default", {}, void 0, !0)
43
43
  ]),
44
44
  _: 3
45
45
  }));
@@ -1,4 +1,4 @@
1
- import { defineComponent as S, computed as f, openBlock as s, createElementBlock as p, Fragment as y, renderList as h, createBlock as i, unref as o, withCtx as l, resolveDynamicComponent as B, createVNode as v } from "vue";
1
+ import { defineComponent as S, computed as f, createElementBlock as p, openBlock as s, Fragment as y, renderList as h, createBlock as i, unref as o, withCtx as l, resolveDynamicComponent as B, createVNode as v } from "vue";
2
2
  import { ScalarErrorBoundary as T } from "@scalar/components";
3
3
  import $ from "./TagAccordion.vue.js";
4
4
  import b from "./TagSection.vue.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as k, ref as f, useId as y, computed as u, openBlock as n, createBlock as l, unref as o, withCtx as C, createCommentVNode as b, createElementBlock as S, renderSlot as v, nextTick as T } from "vue";
1
+ import { defineComponent as k, ref as f, useId as y, computed as u, createBlock as l, openBlock as n, unref as o, withCtx as C, createCommentVNode as b, createElementBlock as S, renderSlot as v, nextTick as T } from "vue";
2
2
  import I from "../../ShowMoreButton.vue.js";
3
3
  import w from "./Tag.vue.js";
4
4
  import B from "../../Section/SectionContainer.vue.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, computed as n, openBlock as f, createElementBlock as v, createVNode as i, unref as a, withCtx as h, createElementVNode as c, toDisplayString as x, createCommentVNode as V } from "vue";
1
+ import { defineComponent as b, computed as n, createElementBlock as f, createCommentVNode as v, openBlock as h, createVNode as i, unref as a, withCtx as x, createElementVNode as c, toDisplayString as V } from "vue";
2
2
  import { ScalarListbox as g, ScalarIcon as d } from "@scalar/components";
3
3
  const w = {
4
4
  key: 0,
@@ -30,14 +30,14 @@ const w = {
30
30
  get: () => r.value.find(({ id: e }) => e === String(l.modelValue)),
31
31
  set: (e) => u("update:modelValue", Number(e.id))
32
32
  });
33
- return (e, o) => p.value ? (f(), v("div", w, [
33
+ return (e, o) => p.value ? (h(), f("div", w, [
34
34
  i(a(g), {
35
35
  modelValue: s.value,
36
36
  "onUpdate:modelValue": o[0] || (o[0] = (t) => s.value = t),
37
37
  options: r.value,
38
38
  resize: ""
39
39
  }, {
40
- default: h(() => {
40
+ default: x(() => {
41
41
  var t;
42
42
  return [
43
43
  c("div", S, [
@@ -47,7 +47,7 @@ const w = {
47
47
  size: "sm",
48
48
  thickness: "2"
49
49
  }),
50
- c("span", k, x(((t = s.value) == null ? void 0 : t.label) || "Select API"), 1),
50
+ c("span", k, V(((t = s.value) == null ? void 0 : t.label) || "Select API"), 1),
51
51
  i(a(d), {
52
52
  class: "group-hover/dropdown-label:text-c-1 ml-auto mr-2",
53
53
  icon: "ChevronDown",
@@ -59,7 +59,7 @@ const w = {
59
59
  }),
60
60
  _: 1
61
61
  }, 8, ["modelValue", "options"])
62
- ])) : V("", !0);
62
+ ])) : v("", !0);
63
63
  }
64
64
  });
65
65
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, openBlock as o, createElementBlock as d, createElementVNode as e, createStaticVNode as r, createVNode as i, unref as l, withCtx as n, createTextVNode as p, Fragment as u, renderList as w, normalizeClass as y, toDisplayString as A } from "vue";
1
+ import { defineComponent as b, createElementBlock as o, openBlock as d, createElementVNode as e, createStaticVNode as r, createVNode as i, unref as l, withCtx as n, createTextVNode as p, Fragment as u, renderList as w, normalizeClass as y, toDisplayString as A } from "vue";
2
2
  import { ScalarButton as c } from "@scalar/components";
3
3
  import { themeLabels as f } from "@scalar/themes";
4
4
  const C = { class: "start custom-scroll" }, S = { class: "start-copy" }, x = { class: "start-cta" }, k = { class: "start-row" }, Z = { class: "start-section start-section-colors" }, E = ["onClick"], P = /* @__PURE__ */ b({
@@ -26,7 +26,7 @@ const C = { class: "start custom-scroll" }, S = { class: "start-copy" }, x = { c
26
26
  );
27
27
  g("updateContent", await s.text());
28
28
  }
29
- return (s, a) => (o(), d("div", C, [
29
+ return (s, a) => (d(), o("div", C, [
30
30
  e("div", S, [
31
31
  a[3] || (a[3] = r('<div class="start-logo" data-v-0f473adb><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-0f473adb></path></svg></div><h1 class="start-h1" data-v-0f473adb>Swagger Editor</h1><p class="start-p" data-v-0f473adb> Welcome to the Scalar API References + Swagger Editor, a Free &amp; Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3)),
32
32
  e("div", x, [
@@ -55,7 +55,7 @@ const C = { class: "start custom-scroll" }, S = { class: "start-copy" }, x = { c
55
55
  a[5] || (a[5] = r('<div class="start-section start-section-integrations" data-v-0f473adb><div class="start-h2" data-v-0f473adb>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/integrations/fastify#readme" target="_blank" data-v-0f473adb><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-0f473adb></path></svg><span data-v-0f473adb>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/documentation/integrations/html-js.md#html" target="_blank" data-v-0f473adb><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><g data-v-0f473adb><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-0f473adb></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-0f473adb></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-0f473adb></path></g></svg><span data-v-0f473adb>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/packages/api-reference/README.md#vuejs" target="_blank" data-v-0f473adb><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><g fill="currentColor" fill-rule="nonzero" data-v-0f473adb><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-0f473adb></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-0f473adb></polygon></g></svg><span data-v-0f473adb>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/packages/api-reference-react/README.md#usage" target="_blank" data-v-0f473adb><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><g fill="none" fill-rule="evenodd" data-v-0f473adb><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-0f473adb></circle><g stroke="currentColor" data-v-0f473adb><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-0f473adb></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-0f473adb></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-0f473adb></ellipse></g></g></svg><span data-v-0f473adb>React</span></a></div>', 1)),
56
56
  e("div", Z, [
57
57
  a[4] || (a[4] = e("p", { class: "start-h2" }, "THEMING", -1)),
58
- (o(), d(u, null, w(m, (t) => e("div", {
58
+ (d(), o(u, null, w(m, (t) => e("div", {
59
59
  key: t,
60
60
  class: y(["start-item", { "start-item-active": t === s.theme }]),
61
61
  onClick: (B) => s.$emit("changeTheme", { id: t, label: l(f)[t] })
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, computed as r, openBlock as p, createBlock as i, resolveDynamicComponent as m, normalizeStyle as c, withCtx as d, renderSlot as v, normalizeProps as h, guardReactiveProps as f, createTextVNode as y, toDisplayString as b } from "vue";
1
+ import { defineComponent as u, computed as r, createBlock as p, openBlock as i, resolveDynamicComponent as m, normalizeStyle as c, withCtx as d, renderSlot as v, normalizeProps as h, guardReactiveProps as f, createTextVNode as y, toDisplayString as b } from "vue";
2
2
  import { requestMethodAbbreviations as C, requestMethodColors as z } from "./constants.js";
3
3
  import { isRequestMethod as l } from "./utils/isRequestMethod.js";
4
4
  const S = /* @__PURE__ */ u({
@@ -11,7 +11,7 @@ const S = /* @__PURE__ */ u({
11
11
  },
12
12
  setup(s) {
13
13
  const n = s, e = r(() => n.method.trim().toUpperCase()), t = r(() => l(e.value) ? C[e.value] : e.value.slice(0, 4)), a = r(() => l(e.value) ? z[e.value] : "var(--scalar-color-ghost)");
14
- return (o, M) => (p(), i(m(o.as ?? "span"), {
14
+ return (o, M) => (i(), p(m(o.as ?? "span"), {
15
15
  style: c({ [o.property || "color"]: a.value })
16
16
  }, {
17
17
  default: d(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as l, onMounted as p, openBlock as d, createBlock as h, resolveDynamicComponent as u, withCtx as m, renderSlot as g } from "vue";
1
+ import { defineComponent as f, ref as l, onMounted as p, createBlock as d, openBlock as h, resolveDynamicComponent as u, withCtx as m, renderSlot as g } from "vue";
2
2
  import { useIntersectionObserver as v } from "@vueuse/core";
3
3
  const x = /* @__PURE__ */ f({
4
4
  __name: "IntersectionObserver",
@@ -26,7 +26,7 @@ const x = /* @__PURE__ */ f({
26
26
  e
27
27
  );
28
28
  }
29
- }), (e, t) => (d(), h(u(e.is ?? "div"), {
29
+ }), (e, t) => (h(), d(u(e.is ?? "div"), {
30
30
  id: e.id,
31
31
  ref_key: "intersectionObserverRef",
32
32
  ref: n
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, useSlots as S, computed as k, openBlock as r, createBlock as c, createSlots as y, withCtx as a, createVNode as C, unref as d, createCommentVNode as i, createElementBlock as h, renderSlot as p, renderList as v, normalizeProps as w, guardReactiveProps as $ } from "vue";
1
+ import { defineComponent as g, useSlots as S, computed as k, createBlock as c, openBlock as r, createSlots as y, withCtx as a, createVNode as C, createElementBlock as h, createCommentVNode as i, renderSlot as d, unref as p, renderList as v, normalizeProps as w, guardReactiveProps as $ } from "vue";
2
2
  import { ScalarColorModeToggleIcon as B } from "@scalar/components";
3
3
  import D from "../ApiReferenceLayout.vue.js";
4
4
  import H from "../ClassicHeader.vue.js";
@@ -26,7 +26,7 @@ const K = {
26
26
  "content-start": a(({ spec: t }) => [
27
27
  C(H, null, {
28
28
  "dark-mode-toggle": a(() => [
29
- n.configuration.hideDarkModeToggle ? i("", !0) : (r(), c(d(B), {
29
+ n.configuration.hideDarkModeToggle ? i("", !0) : (r(), c(p(B), {
30
30
  key: 0,
31
31
  class: "text-c-2 hover:text-c-1",
32
32
  mode: e.isDark ? "dark" : "light",
@@ -37,9 +37,9 @@ const K = {
37
37
  ]),
38
38
  default: a(() => [
39
39
  e.$slots["document-selector"] ? (r(), h("div", K, [
40
- p(e.$slots, "document-selector")
40
+ d(e.$slots, "document-selector")
41
41
  ])) : i("", !0),
42
- n.configuration.hideSearch ? i("", !0) : (r(), c(d(M), {
42
+ n.configuration.hideSearch ? i("", !0) : (r(), c(p(M), {
43
43
  key: 1,
44
44
  class: "t-doc__sidebar",
45
45
  searchHotKey: l.value.searchHotKey,
@@ -54,7 +54,7 @@ const K = {
54
54
  v(m, (t, s) => ({
55
55
  name: s,
56
56
  fn: a((f) => [
57
- p(e.$slots, s, w($(f || {})))
57
+ d(e.$slots, s, w($(f || {})))
58
58
  ])
59
59
  }))
60
60
  ]), 1032, ["configuration", "parsedSpec", "rawSpec"]));
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, useSlots as f, computed as g, openBlock as y, createBlock as k, resolveDynamicComponent as C, mergeProps as S, createSlots as $, withCtx as n, renderSlot as s, renderList as D, normalizeProps as v, guardReactiveProps as L } from "vue";
1
+ import { defineComponent as c, useSlots as f, computed as g, createBlock as y, openBlock as k, resolveDynamicComponent as C, mergeProps as S, createSlots as $, withCtx as n, renderSlot as s, renderList as D, normalizeProps as v, guardReactiveProps as L } from "vue";
2
2
  import M from "./ClassicLayout.vue.js";
3
3
  import a from "./ModernLayout.vue.js";
4
4
  const b = /* @__PURE__ */ c({
@@ -19,7 +19,7 @@ const b = /* @__PURE__ */ c({
19
19
  modern: a,
20
20
  classic: M
21
21
  };
22
- return (e, o) => (y(), k(C(u[e.configuration.layout ?? "modern"] ?? a), S(p, {
22
+ return (e, o) => (k(), y(C(u[e.configuration.layout ?? "modern"] ?? a), S(p, {
23
23
  onToggleDarkMode: o[0] || (o[0] = (t) => e.$emit("toggleDarkMode")),
24
24
  onUpdateContent: o[1] || (o[1] = (t) => e.$emit("updateContent", t))
25
25
  }), $({
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, useSlots as C, watch as c, openBlock as t, createBlock as u, normalizeClass as B, createSlots as w, withCtx as n, unref as s, isRef as D, createCommentVNode as d, createElementBlock as p, renderSlot as f, createVNode as m, renderList as M, normalizeProps as $, guardReactiveProps as V } from "vue";
1
+ import { defineComponent as v, useSlots as C, watch as c, createBlock as u, openBlock as t, normalizeClass as B, createSlots as w, withCtx as n, createVNode as f, unref as s, createCommentVNode as d, createElementBlock as p, renderSlot as m, isRef as D, renderList as M, normalizeProps as $, guardReactiveProps as V } from "vue";
2
2
  import { OpenApiClientButton as H } from "@scalar/api-client/components";
3
3
  import { ScalarSidebarFooter as K, ScalarColorModeToggleButton as L } from "@scalar/components";
4
4
  import { useBreakpoints as N } from "@scalar/use-hooks/useBreakpoints";
@@ -47,10 +47,10 @@ const P = { key: 0 }, T = {
47
47
  var i;
48
48
  return [
49
49
  e.$slots["document-selector"] ? (t(), p("div", P, [
50
- f(e.$slots, "document-selector", {}, void 0, !0)
50
+ m(e.$slots, "document-selector", {}, void 0, !0)
51
51
  ])) : d("", !0),
52
52
  l.configuration.hideSearch ? d("", !0) : (t(), p("div", T, [
53
- m(s(z), {
53
+ f(s(z), {
54
54
  searchHotKey: (i = l.configuration) == null ? void 0 : i.searchHotKey,
55
55
  spec: r
56
56
  }, null, 8, ["searchHotKey", "spec"])
@@ -58,7 +58,7 @@ const P = { key: 0 }, T = {
58
58
  ];
59
59
  }),
60
60
  "sidebar-end": n(() => [
61
- m(s(K), { class: "darklight-reference" }, {
61
+ f(s(K), { class: "darklight-reference" }, {
62
62
  toggle: n(() => [
63
63
  l.configuration.hideDarkModeToggle ? (t(), p("span", E)) : (t(), u(s(L), {
64
64
  key: 0,
@@ -83,7 +83,7 @@ const P = { key: 0 }, T = {
83
83
  M(S, (r, i) => ({
84
84
  name: i,
85
85
  fn: n((b) => [
86
- f(e.$slots, i, $(V(b || {})), void 0, !0)
86
+ m(e.$slots, i, $(V(b || {})), void 0, !0)
87
87
  ])
88
88
  }))
89
89
  ]), 1032, ["class", "configuration", "parsedSpec", "rawSpec"]));
@@ -1,11 +1,11 @@
1
- import { defineComponent as s, openBlock as n, createElementBlock as l, Fragment as o, renderList as t, normalizeClass as a } from "vue";
1
+ import { defineComponent as s, createElementBlock as n, openBlock as l, Fragment as o, renderList as t, normalizeClass as a } from "vue";
2
2
  const m = /* @__PURE__ */ s({
3
3
  __name: "LoadingSkeleton",
4
4
  props: {
5
5
  lines: { default: 1 }
6
6
  },
7
7
  setup(i) {
8
- return (e, p) => (n(!0), l(o, null, t([...Array(e.lines).keys()], (r) => (n(), l("div", {
8
+ return (e, p) => (l(!0), n(o, null, t([...Array(e.lines).keys()], (r) => (l(), n("div", {
9
9
  key: r,
10
10
  class: a(["loading", { "single-line": e.lines === 1 }])
11
11
  }, null, 2))), 128));
@@ -1,4 +1,4 @@
1
- import { defineComponent as t, openBlock as a, createElementBlock as i, createVNode as l, unref as n, createElementVNode as r, toDisplayString as p, renderSlot as d } from "vue";
1
+ import { defineComponent as t, createElementBlock as a, openBlock as i, createVNode as l, createElementVNode as n, unref as r, toDisplayString as p, renderSlot as d } from "vue";
2
2
  import { ScalarIconButton as c } from "@scalar/components";
3
3
  import { useSidebar as m } from "../hooks/useSidebar.js";
4
4
  const u = { class: "references-mobile-header t-doc__header" }, b = { class: "references-mobile-breadcrumbs" }, f = { class: "references-mobile-header-actions" }, M = /* @__PURE__ */ t({
@@ -9,15 +9,15 @@ const u = { class: "references-mobile-header t-doc__header" }, b = { class: "ref
9
9
  emits: ["update:open"],
10
10
  setup(_) {
11
11
  const { breadcrumb: s } = m();
12
- return (e, o) => (a(), i("div", u, [
13
- l(n(c), {
12
+ return (e, o) => (i(), a("div", u, [
13
+ l(r(c), {
14
14
  icon: e.open ? "Close" : "Menu",
15
15
  label: e.open ? "Close Menu" : "Open Menu",
16
16
  size: "md",
17
17
  onClick: o[0] || (o[0] = (h) => e.$emit("update:open", !e.open))
18
18
  }, null, 8, ["icon", "label"]),
19
- r("span", b, p(n(s)), 1),
20
- r("div", f, [
19
+ n("span", b, p(r(s)), 1),
20
+ n("div", f, [
21
21
  d(e.$slots, "actions", {}, void 0, !0)
22
22
  ])
23
23
  ]));
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, computed as m, openBlock as e, createElementBlock as t, normalizeClass as h, Fragment as o, renderList as u, toDisplayString as r, createTextVNode as _ } from "vue";
1
+ import { defineComponent as d, computed as m, createElementBlock as e, openBlock as t, normalizeClass as h, Fragment as o, renderList as u, toDisplayString as r, createTextVNode as _ } from "vue";
2
2
  const k = { key: 0 }, B = /* @__PURE__ */ d({
3
3
  __name: "OperationPath",
4
4
  props: {
@@ -7,11 +7,11 @@ const k = { key: 0 }, B = /* @__PURE__ */ d({
7
7
  },
8
8
  setup(s) {
9
9
  const p = s, c = (a) => a.startsWith("{") && a.endsWith("}"), i = m(() => p.path.split(/({[^}]+})/));
10
- return (a, y) => (e(), t("span", {
10
+ return (a, y) => (t(), e("span", {
11
11
  class: h(["operation-path", { deprecated: a.deprecated }])
12
12
  }, [
13
- (e(!0), t(o, null, u(i.value, (n, l) => (e(), t(o, { key: l }, [
14
- c(n) ? (e(), t("em", k, r(n), 1)) : (e(), t(o, { key: 1 }, [
13
+ (t(!0), e(o, null, u(i.value, (n, l) => (t(), e(o, { key: l }, [
14
+ c(n) ? (t(), e("em", k, r(n), 1)) : (t(), e(o, { key: 1 }, [
15
15
  _(r(n), 1)
16
16
  ], 64))
17
17
  ], 64))), 128))
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, openBlock as t, createElementBlock as n, renderSlot as o } from "vue";
1
+ import { defineComponent as r, createElementBlock as t, renderSlot as o, openBlock as n } from "vue";
2
2
  const s = {
3
3
  key: 0,
4
4
  class: "screenreader-only"
@@ -8,7 +8,7 @@ const s = {
8
8
  if: { type: Boolean, default: !0 }
9
9
  },
10
10
  setup(a) {
11
- return (e, l) => e.$props.if ? (t(), n("span", s, [
11
+ return (e, l) => e.$props.if ? (n(), t("span", s, [
12
12
  o(e.$slots, "default", {}, void 0, !0)
13
13
  ])) : o(e.$slots, "default", { key: 1 }, void 0, !0);
14
14
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, ref as m, useId as f, watch as v, nextTick as h, openBlock as n, createElementBlock as b, createElementVNode as C, unref as t, normalizeClass as k, createVNode as r, withCtx as s, renderSlot as c, createBlock as g, createCommentVNode as S } from "vue";
1
+ import { defineComponent as u, ref as m, useId as f, watch as v, nextTick as h, createElementBlock as b, openBlock as n, createElementVNode as C, createBlock as k, createCommentVNode as g, normalizeClass as S, unref as t, createVNode as r, withCtx as s, renderSlot as c } from "vue";
2
2
  import { ScalarIcon as _ } from "@scalar/components";
3
3
  import w from "../Anchor/Anchor.vue.js";
4
4
  import N from "./Section.vue.js";
@@ -23,7 +23,7 @@ const I = { class: "collapsible-section" }, V = ["id", "aria-controls", "aria-ex
23
23
  id: o.id,
24
24
  "aria-controls": t(l),
25
25
  "aria-expanded": e.value,
26
- class: k(["collapsible-section-trigger", { "collapsible-section-trigger-open": e.value }]),
26
+ class: S(["collapsible-section-trigger", { "collapsible-section-trigger-open": e.value }]),
27
27
  type: "button",
28
28
  onClick: i[0] || (i[0] = ($) => e.value = !e.value)
29
29
  }, [
@@ -42,7 +42,7 @@ const I = { class: "collapsible-section" }, V = ["id", "aria-controls", "aria-ex
42
42
  _: 3
43
43
  }, 8, ["id"])
44
44
  ], 10, V),
45
- e.value ? (n(), g(N, {
45
+ e.value ? (n(), k(N, {
46
46
  key: 0,
47
47
  id: t(l),
48
48
  class: "collapsible-section-content",
@@ -52,7 +52,7 @@ const I = { class: "collapsible-section" }, V = ["id", "aria-controls", "aria-ex
52
52
  c(o.$slots, "default", {}, void 0, !0)
53
53
  ]),
54
54
  _: 3
55
- }, 8, ["id", "label"])) : S("", !0)
55
+ }, 8, ["id", "label"])) : g("", !0)
56
56
  ]));
57
57
  }
58
58
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, openBlock as c, createBlock as m, withCtx as p, renderSlot as f } from "vue";
1
+ import { defineComponent as d, createBlock as c, openBlock as m, withCtx as p, renderSlot as f } from "vue";
2
2
  import u from "../IntersectionObserver.vue.js";
3
3
  import { useNavState as S } from "../../hooks/useNavState.js";
4
4
  import { useSidebar as _ } from "../../hooks/useSidebar.js";
@@ -14,7 +14,7 @@ const v = /* @__PURE__ */ d({
14
14
  var t, o;
15
15
  !e.label || !n.value || (s(e.id ?? ""), ((t = e.id) != null && t.startsWith("model") || (o = e.id) != null && o.startsWith("webhook")) && a(r(e.id), !0));
16
16
  }
17
- return (t, o) => (c(), m(u, {
17
+ return (t, o) => (m(), c(u, {
18
18
  is: "section",
19
19
  id: t.id,
20
20
  class: "section",
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, ref as m, openBlock as c, createBlock as f, withCtx as t, createVNode as s, unref as e, normalizeClass as _, createElementVNode as a, renderSlot as n, createElementBlock as d, createCommentVNode as l } from "vue";
1
+ import { defineComponent as p, ref as m, createBlock as f, openBlock as c, withCtx as t, createVNode as s, unref as e, normalizeClass as _, createElementVNode as a, createElementBlock as d, createCommentVNode as l, renderSlot as n } from "vue";
2
2
  import { Disclosure as v, DisclosureButton as h, DisclosurePanel as $ } from "@headlessui/vue";
3
3
  import { ScalarIcon as k } from "@scalar/components";
4
4
  import { useElementHover as C } from "@vueuse/core";
@@ -1,9 +1,9 @@
1
- import { openBlock as o, createElementBlock as t, renderSlot as c } from "vue";
1
+ import { createElementBlock as o, openBlock as t, renderSlot as c } from "vue";
2
2
  /* empty css */
3
3
  import n from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = {}, s = { class: "section-column" };
5
5
  function d(e, _) {
6
- return o(), t("div", s, [
6
+ return t(), o("div", s, [
7
7
  c(e.$slots, "default", {}, void 0, !0)
8
8
  ]);
9
9
  }
@@ -1,9 +1,9 @@
1
- import { openBlock as o, createElementBlock as t, renderSlot as n } from "vue";
1
+ import { createElementBlock as o, openBlock as t, renderSlot as n } from "vue";
2
2
  /* empty css */
3
3
  import c from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = {}, s = { class: "section-columns" };
5
5
  function d(e, _) {
6
- return o(), t("div", s, [
6
+ return t(), o("div", s, [
7
7
  n(e.$slots, "default", {}, void 0, !0)
8
8
  ]);
9
9
  }
@@ -1,9 +1,9 @@
1
- import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
1
+ import { createElementBlock as t, openBlock as o, renderSlot as n } from "vue";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const c = {}, s = { class: "section-container" };
5
5
  function a(e, i) {
6
- return t(), o("div", s, [
6
+ return o(), t("div", s, [
7
7
  n(e.$slots, "default", {}, void 0, !0)
8
8
  ]);
9
9
  }
@@ -1,10 +1,10 @@
1
- import { defineComponent as r, openBlock as i, createElementBlock as a, createVNode as o, unref as e, withCtx as t, createElementVNode as l, renderSlot as n } from "vue";
1
+ import { defineComponent as r, createElementBlock as i, openBlock as a, createVNode as o, unref as e, withCtx as t, createElementVNode as l, renderSlot as n } from "vue";
2
2
  import { Disclosure as d, DisclosureButton as u, DisclosurePanel as _ } from "@headlessui/vue";
3
3
  import { ScalarIcon as f } from "@scalar/components";
4
4
  const p = { class: "section-accordion-wrapper" }, m = { class: "section-accordion-title" }, B = /* @__PURE__ */ r({
5
5
  __name: "SectionContainerAccordion",
6
6
  setup(h) {
7
- return (c, v) => (i(), a("div", p, [
7
+ return (c, v) => (a(), i("div", p, [
8
8
  o(e(d), {
9
9
  as: "div",
10
10
  class: "section-accordion",
@@ -1,4 +1,4 @@
1
- import { defineComponent as t, openBlock as o, createElementBlock as n, renderSlot as l, createBlock as r } from "vue";
1
+ import { defineComponent as t, createElementBlock as n, openBlock as o, renderSlot as l, createBlock as r } from "vue";
2
2
  import a from "../LoadingSkeleton.vue.js";
3
3
  const s = { class: "section-content" }, f = /* @__PURE__ */ t({
4
4
  __name: "SectionContent",
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, openBlock as o, createElementBlock as t, createBlock as r, normalizeClass as a, renderSlot as i } from "vue";
1
+ import { defineComponent as n, createElementBlock as t, openBlock as o, createBlock as r, normalizeClass as a, renderSlot as i } from "vue";
2
2
  import s from "../LoadingSkeleton.vue.js";
3
3
  const l = { class: "section-header-wrapper" }, h = /* @__PURE__ */ n({
4
4
  __name: "SectionHeader",
@@ -1,11 +1,11 @@
1
- import { defineComponent as o, openBlock as t, createBlock as l, resolveDynamicComponent as r, withCtx as a, renderSlot as n } from "vue";
1
+ import { defineComponent as o, createBlock as t, openBlock as l, resolveDynamicComponent as r, withCtx as a, renderSlot as n } from "vue";
2
2
  const d = /* @__PURE__ */ o({
3
3
  __name: "SectionHeaderTag",
4
4
  props: {
5
5
  level: { default: 1 }
6
6
  },
7
7
  setup(s) {
8
- return (e, c) => (t(), l(r(`h${e.level}`), { class: "section-header-label" }, {
8
+ return (e, c) => (l(), t(r(`h${e.level}`), { class: "section-header-label" }, {
9
9
  default: a(() => [
10
10
  n(e.$slots, "default", {}, void 0, !0)
11
11
  ]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as i, openBlock as s, createElementBlock as a, createTextVNode as m, createVNode as l, unref as u } from "vue";
1
+ import { defineComponent as i, createElementBlock as s, openBlock as a, createTextVNode as m, createVNode as l, unref as u } from "vue";
2
2
  import { ScalarIcon as d } from "@scalar/components";
3
3
  import { useConfig as f } from "../hooks/useConfig.js";
4
4
  import { useSidebar as p } from "../hooks/useSidebar.js";
@@ -12,7 +12,7 @@ const b = /* @__PURE__ */ i({
12
12
  var e, o;
13
13
  n(t.id, !0), (o = (e = r.value).onShowMore) == null || o.call(e, t.id);
14
14
  };
15
- return (e, o) => (s(), a("button", {
15
+ return (e, o) => (a(), s("button", {
16
16
  class: "show-more",
17
17
  type: "button",
18
18
  onClick: c
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, ref as E, watch as I, onMounted as N, onUnmounted as L, openBlock as r, createElementBlock as d, renderSlot as w, createElementVNode as V, createVNode as G, withCtx as v, Fragment as o, renderList as y, unref as n, toDisplayString as M, createBlock as f, createCommentVNode as h } from "vue";
1
+ import { defineComponent as F, ref as E, watch as I, onMounted as N, onUnmounted as L, createElementBlock as d, openBlock as r, renderSlot as w, createElementVNode as V, createVNode as G, withCtx as v, Fragment as o, renderList as y, unref as n, toDisplayString as M, createBlock as f, createCommentVNode as h } from "vue";
2
2
  import m from "./SidebarElement.vue.js";
3
3
  import g from "./SidebarGroup.vue.js";
4
4
  import { useNavState as D } from "../../hooks/useNavState.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, openBlock as s, createElementBlock as p, createElementVNode as r, normalizeClass as T, unref as c, withModifiers as V, createVNode as v, withCtx as E, createTextVNode as h, toDisplayString as u, createCommentVNode as l, createBlock as N, renderSlot as C } from "vue";
1
+ import { defineComponent as A, createElementBlock as p, openBlock as s, createElementVNode as r, renderSlot as v, createCommentVNode as l, normalizeClass as T, unref as c, createTextVNode as h, withModifiers as V, createVNode as C, withCtx as E, toDisplayString as u, createBlock as N } from "vue";
2
2
  import { ScalarSidebarGroupToggle as O, ScalarIcon as R } from "@scalar/components";
3
3
  import { combineUrlAndPath as U } from "@scalar/oas-utils/helpers";
4
4
  import { useConfig as H } from "../../hooks/useConfig.js";
@@ -62,7 +62,7 @@ const L = ["id"], M = {
62
62
  type: "button",
63
63
  onClick: V(g, ["stop"])
64
64
  }, [
65
- v(c(O), { open: e.open }, {
65
+ C(c(O), { open: e.open }, {
66
66
  label: E(() => [
67
67
  h(u(e.open ? "Collapse" : "Expand") + " " + u(e.item.title), 1)
68
68
  ]),
@@ -86,16 +86,16 @@ const L = ["id"], M = {
86
86
  e.item.httpVerb && !e.hasChildren ? (s(), p("p", j, [
87
87
  t[1] || (t[1] = h("   ")),
88
88
  t[2] || (t[2] = r("span", { class: "sr-only" }, "HTTP Method: ", -1)),
89
- v(I, {
89
+ C(I, {
90
90
  active: e.isActive,
91
91
  method: e.item.httpVerb
92
92
  }, null, 8, ["active", "method"])
93
93
  ])) : l("", !0)
94
94
  ], 8, F)
95
95
  ], 2),
96
- e.open ? C(e.$slots, "default", { key: 0 }, void 0, !0) : l("", !0),
96
+ e.open ? v(e.$slots, "default", { key: 0 }, void 0, !0) : l("", !0),
97
97
  e.$slots["action-menu"] ? (s(), p("div", q, [
98
- C(e.$slots, "action-menu", {}, void 0, !0)
98
+ v(e.$slots, "action-menu", {}, void 0, !0)
99
99
  ])) : l("", !0)
100
100
  ], 8, L);
101
101
  };