@scalar/api-reference 1.25.121 → 1.25.123

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 (148) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/dist/blocks/constants.d.ts.map +1 -1
  3. package/dist/blocks/helpers/getPointer.d.ts.map +1 -1
  4. package/dist/blocks/hooks/useBlockProps.d.ts.map +1 -1
  5. package/dist/browser/standalone.js +21464 -20964
  6. package/dist/browser/webpack-stats.json +1 -1
  7. package/dist/components/Anchor/Anchor.vue.d.ts +0 -1
  8. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  9. package/dist/components/Anchor/Anchor.vue.js +2 -2
  10. package/dist/components/Anchor/Anchor.vue2.js +27 -23
  11. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  12. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  13. package/dist/components/ApiReferenceLayout.vue2.js +135 -128
  14. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  15. package/dist/components/Card/Card.vue.js +7 -7
  16. package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +1 -1
  17. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  18. package/dist/components/Content/Content.vue.js +2 -2
  19. package/dist/components/Content/Content.vue2.js +33 -33
  20. package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Introduction/Description.vue.js +2 -2
  22. package/dist/components/Content/Introduction/Description.vue2.js +7 -7
  23. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  24. package/dist/components/Content/Introduction/Introduction.vue.js +1 -1
  25. package/dist/components/Content/Introduction/Introduction.vue2.js +44 -39
  26. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  27. package/dist/components/Content/Lazy/Loading.vue.js +65 -59
  28. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  29. package/dist/components/Content/Models/Models.vue.js +2 -2
  30. package/dist/components/Content/Models/Models.vue2.js +66 -52
  31. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
  32. package/dist/components/Content/Models/ModelsAccordion.vue.js +1 -1
  33. package/dist/components/Content/Models/ModelsAccordion.vue2.js +37 -31
  34. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts.map +1 -1
  35. package/dist/components/Content/Tag/Endpoints.vue.d.ts +1 -0
  36. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  37. package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
  38. package/dist/components/Content/Tag/Endpoints.vue2.js +79 -52
  39. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Tag/Tag.vue.js +2 -2
  41. package/dist/components/Content/Tag/Tag.vue2.js +29 -26
  42. package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Tag/TagAccordion.vue.js +2 -2
  44. package/dist/components/Content/Tag/TagAccordion.vue2.js +22 -19
  45. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  46. package/dist/components/GettingStarted.vue.d.ts.map +1 -1
  47. package/dist/components/GettingStarted.vue.js +2 -2
  48. package/dist/components/GettingStarted.vue2.js +25 -25
  49. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  50. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  51. package/dist/components/Layouts/ClassicLayout.vue.js +6 -6
  52. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  53. package/dist/components/Section/SectionContainer.vue.js +1 -1
  54. package/dist/components/Section/SectionHeader.vue.d.ts +1 -6
  55. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  56. package/dist/components/Section/SectionHeader.vue.js +1 -1
  57. package/dist/components/Section/SectionHeader.vue2.js +12 -16
  58. package/dist/components/Section/SectionHeaderTag.vue.d.ts +21 -0
  59. package/dist/components/Section/SectionHeaderTag.vue.d.ts.map +1 -0
  60. package/dist/components/Section/SectionHeaderTag.vue.js +7 -0
  61. package/dist/components/Section/SectionHeaderTag.vue2.js +18 -0
  62. package/dist/components/Section/index.d.ts +1 -0
  63. package/dist/components/Section/index.d.ts.map +1 -1
  64. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  65. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  66. package/dist/components/Sidebar/Sidebar.vue2.js +14 -14
  67. package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
  68. package/dist/components/Sidebar/SidebarElement.vue.js +2 -2
  69. package/dist/esm.d.ts.map +1 -1
  70. package/dist/esm.js +1 -3
  71. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
  72. package/dist/features/ApiClientModal/useApiClient.d.ts +414 -510
  73. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  74. package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
  75. package/dist/features/BaseUrl/BaseUrl.vue.js +20 -21
  76. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  77. package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
  78. package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
  79. package/dist/features/ExampleResponses/ExampleResponses.vue.js +2 -2
  80. package/dist/features/ExampleResponses/ExampleResponses.vue2.js +47 -47
  81. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  82. package/dist/features/Operation/Operation.vue.js +5 -5
  83. package/dist/features/Operation/Webhooks.vue.d.ts.map +1 -1
  84. package/dist/features/Operation/Webhooks.vue.js +3 -3
  85. package/dist/features/Operation/Webhooks.vue2.js +74 -60
  86. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
  87. package/dist/features/Operation/components/ContentTypeSelect.vue.js +2 -2
  88. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
  89. package/dist/features/Operation/components/ParameterHeaders.vue.js +3 -3
  90. package/dist/features/Operation/components/ParameterHeaders.vue2.js +8 -8
  91. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  92. package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
  93. package/dist/features/Operation/components/ParameterListItem.vue2.js +16 -16
  94. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  95. package/dist/features/Operation/components/RequestBody.vue.js +2 -2
  96. package/dist/features/Operation/components/RequestBody.vue2.js +26 -47
  97. package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -1
  98. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  99. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  100. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +11 -11
  101. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  102. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  103. package/dist/features/Operation/layouts/ModernLayout.vue2.js +80 -69
  104. package/dist/features/Search/SearchButton.vue.d.ts.map +1 -1
  105. package/dist/features/Search/SearchButton.vue.js +1 -1
  106. package/dist/features/Search/SearchButton.vue2.js +30 -18
  107. package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
  108. package/dist/features/Search/SearchModal.vue.js +1 -1
  109. package/dist/features/Search/SearchModal.vue2.js +104 -95
  110. package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
  111. package/dist/features/Search/useSearchIndex.js +11 -17
  112. package/dist/features/TestRequestButton/TestRequestButton.vue.d.ts.map +1 -1
  113. package/dist/features/TestRequestButton/TestRequestButton.vue.js +2 -2
  114. package/dist/features/TestRequestButton/TestRequestButton.vue2.js +6 -6
  115. package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
  116. package/dist/helpers/get-request.d.ts.map +1 -1
  117. package/dist/helpers/getModels.d.ts.map +1 -1
  118. package/dist/helpers/isMacOs.d.ts.map +1 -1
  119. package/dist/helpers/operation.d.ts.map +1 -1
  120. package/dist/helpers/parse.js +62 -62
  121. package/dist/helpers/specDownloads.d.ts.map +1 -1
  122. package/dist/helpers/specHelpers.d.ts.map +1 -1
  123. package/dist/helpers/waitFor.d.ts.map +1 -1
  124. package/dist/hooks/useConfig.d.ts.map +1 -1
  125. package/dist/hooks/useDeprecationWarnings.d.ts.map +1 -1
  126. package/dist/hooks/useDeprecationWarnings.js +1 -5
  127. package/dist/hooks/useNavState.d.ts +1 -2
  128. package/dist/hooks/useNavState.d.ts.map +1 -1
  129. package/dist/hooks/useNavState.js +3 -10
  130. package/dist/hooks/useReactiveSpec.d.ts +8 -8
  131. package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
  132. package/dist/hooks/useReactiveSpec.js +12 -13
  133. package/dist/hooks/useSidebar.d.ts.map +1 -1
  134. package/dist/hooks/useSidebar.js +38 -48
  135. package/dist/index.js +1 -1
  136. package/dist/legacy/helpers/normalizeRequestMethod.d.ts.map +1 -1
  137. package/dist/legacy/helpers/normalizeRequestMethod.js +2 -6
  138. package/dist/legacy/types.d.ts.map +1 -1
  139. package/dist/standalone/lib/html-api.d.ts +11 -0
  140. package/dist/standalone/lib/html-api.d.ts.map +1 -0
  141. package/dist/standalone/lib/html-rendering.d.ts +51 -0
  142. package/dist/standalone/lib/html-rendering.d.ts.map +1 -0
  143. package/dist/standalone/lib/html-rendering.js +54 -0
  144. package/dist/stores/useHttpClientStore.d.ts.map +1 -1
  145. package/dist/style.css +1 -1
  146. package/dist/types.d.ts +0 -3
  147. package/dist/types.d.ts.map +1 -1
  148. package/package.json +15 -14
@@ -1,62 +1,65 @@
1
- import { defineComponent as k, ref as d, computed as f, openBlock as n, createBlock as r, unref as o, withCtx as C, createCommentVNode as h, createElementBlock as y, renderSlot as S, nextTick as v } from "vue";
2
- import T from "../../ShowMoreButton.vue.js";
3
- import b from "./Endpoints.vue.js";
4
- import w from "../../Section/SectionContainer.vue.js";
5
- import { useSidebar as B } from "../../../hooks/useSidebar.js";
6
- import { useNavState as R } from "../../../hooks/useNavState.js";
7
- const D = /* @__PURE__ */ k({
1
+ import { defineComponent as k, ref as u, useId as y, computed as f, openBlock as n, createBlock as r, unref as a, withCtx as C, createCommentVNode as b, createElementBlock as S, renderSlot as v, nextTick as T } from "vue";
2
+ import I from "../../ShowMoreButton.vue.js";
3
+ import w from "./Endpoints.vue.js";
4
+ import B from "../../Section/SectionContainer.vue.js";
5
+ import { useSidebar as R } from "../../../hooks/useSidebar.js";
6
+ import { useNavState as N } from "../../../hooks/useNavState.js";
7
+ const V = /* @__PURE__ */ k({
8
8
  __name: "Tag",
9
9
  props: {
10
10
  id: {},
11
11
  tag: {},
12
12
  spec: {}
13
13
  },
14
- setup(u) {
15
- const a = u, m = d(), s = d(), { collapsedSidebarItems: i } = B(), { getTagId: l } = R(), c = f(
14
+ setup(m) {
15
+ const o = m, p = u(), s = u(), l = y(), { collapsedSidebarItems: i } = R(), { getTagId: d } = N(), c = f(
16
16
  () => {
17
17
  var e, t;
18
- return ((e = a.spec.tags) == null ? void 0 : e.length) && ((t = a.spec.tags) == null ? void 0 : t.length) > 1;
18
+ return ((e = o.spec.tags) == null ? void 0 : e.length) && ((t = o.spec.tags) == null ? void 0 : t.length) > 1;
19
19
  }
20
- ), p = f(
20
+ ), g = f(
21
21
  () => {
22
22
  var e, t;
23
- return c.value || ((e = a.tag) == null ? void 0 : e.name) !== "default" || ((t = a.tag) == null ? void 0 : t.description) !== "";
23
+ return c.value || ((e = o.tag) == null ? void 0 : e.name) !== "default" || ((t = o.tag) == null ? void 0 : t.description) !== "";
24
24
  }
25
25
  );
26
- async function g() {
26
+ async function h() {
27
27
  var e, t;
28
- await v(), (t = (e = s.value) == null ? void 0 : e.querySelector("button")) == null || t.focus();
28
+ await T(), (t = (e = s.value) == null ? void 0 : e.querySelector("button")) == null || t.focus();
29
29
  }
30
- return (e, t) => (n(), r(o(w), {
30
+ return (e, t) => (n(), r(a(B), {
31
31
  ref_key: "sectionContainerRef",
32
- ref: m,
33
- class: "tag-section-container"
32
+ ref: p,
33
+ "aria-labelledby": a(l),
34
+ class: "tag-section-container",
35
+ role: "region"
34
36
  }, {
35
37
  default: C(() => [
36
- p.value ? (n(), r(b, {
38
+ g.value ? (n(), r(w, {
37
39
  key: 0,
38
40
  id: e.id,
39
- isCollapsed: !o(i)[o(l)(e.tag)],
41
+ headerId: a(l),
42
+ isCollapsed: !a(i)[a(d)(e.tag)],
40
43
  tag: e.tag
41
- }, null, 8, ["id", "isCollapsed", "tag"])) : h("", !0),
42
- !o(i)[o(l)(e.tag)] && c.value ? (n(), r(T, {
44
+ }, null, 8, ["id", "headerId", "isCollapsed", "tag"])) : b("", !0),
45
+ !a(i)[a(d)(e.tag)] && c.value ? (n(), r(I, {
43
46
  key: 1,
44
47
  id: e.id ?? "",
45
48
  "aria-label": `Show all ${e.tag["x-displayName"] ?? e.tag.name} endpoints`,
46
- onClick: g
47
- }, null, 8, ["id", "aria-label"])) : (n(), y("div", {
49
+ onClick: h
50
+ }, null, 8, ["id", "aria-label"])) : (n(), S("div", {
48
51
  key: 2,
49
52
  ref_key: "contentsRef",
50
53
  ref: s,
51
54
  class: "contents"
52
55
  }, [
53
- S(e.$slots, "default", {}, void 0, !0)
56
+ v(e.$slots, "default", {}, void 0, !0)
54
57
  ], 512))
55
58
  ]),
56
59
  _: 3
57
- }, 512));
60
+ }, 8, ["aria-labelledby"]));
58
61
  }
59
62
  });
60
63
  export {
61
- D as default
64
+ V as default
62
65
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TagAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagAccordion.vue"],"names":[],"mappings":"AA+CA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAQ/C,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,GAAG,CAAA;CACT,CAAC;AAUF,iBAAS,cAAc;WA4ET,OAAO,IAA6B;;yBARpB,GAAG;;;;EAahC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"TagAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagAccordion.vue"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAY/C,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,GAAG,CAAA;CACT,CAAC;AAUF,iBAAS,cAAc;WAoFT,OAAO,IAA6B;;yBARpB,GAAG;;;;EAahC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./TagAccordion.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-43e1c813"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-448f4a19"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,28 +1,31 @@
1
- import { defineComponent as n, openBlock as i, createBlock as c, unref as e, withCtx as o, createVNode as a, createTextVNode as l, toDisplayString as s, renderSlot as d } from "vue";
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";
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";
5
5
  import u from "../../Anchor/Anchor.vue.js";
6
- import { useNavState as g } from "../../../hooks/useNavState.js";
7
- const N = /* @__PURE__ */ n({
6
+ import g from "../../Section/SectionHeaderTag.vue.js";
7
+ import { useNavState as _ } from "../../../hooks/useNavState.js";
8
+ const B = /* @__PURE__ */ i({
8
9
  __name: "TagAccordion",
9
10
  props: {
10
11
  tag: {}
11
12
  },
12
- setup(_) {
13
- const { getTagId: r } = g();
14
- return (t, S) => (i(), c(e(p), { class: "tag-section" }, {
15
- title: o(() => [
16
- a(e(f), {
17
- class: "tag-name",
18
- level: 2
19
- }, {
20
- default: o(() => [
13
+ setup(S) {
14
+ const { getTagId: r } = _();
15
+ return (o, v) => (n(), c(e(p), { class: "tag-section" }, {
16
+ title: t(() => [
17
+ a(e(f), { class: "tag-name" }, {
18
+ default: t(() => [
21
19
  a(e(u), {
22
- id: e(r)(t.tag)
20
+ id: e(r)(o.tag)
23
21
  }, {
24
- default: o(() => [
25
- l(s(t.tag.name), 1)
22
+ default: t(() => [
23
+ a(e(g), { level: 2 }, {
24
+ default: t(() => [
25
+ l(d(o.tag.name), 1)
26
+ ]),
27
+ _: 1
28
+ })
26
29
  ]),
27
30
  _: 1
28
31
  }, 8, ["id"])
@@ -31,17 +34,17 @@ const N = /* @__PURE__ */ n({
31
34
  }),
32
35
  a(e(m), {
33
36
  class: "tag-description",
34
- value: t.tag.description,
37
+ value: o.tag.description,
35
38
  withImages: ""
36
39
  }, null, 8, ["value"])
37
40
  ]),
38
- default: o(() => [
39
- d(t.$slots, "default", {}, void 0, !0)
41
+ default: t(() => [
42
+ s(o.$slots, "default", {}, void 0, !0)
40
43
  ]),
41
44
  _: 3
42
45
  }));
43
46
  }
44
47
  });
45
48
  export {
46
- N as default
49
+ B as default
47
50
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAOhE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC9B,CAAC;;AAkIF,wBAMG"}
1
+ {"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAWhE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC9B,CAAC;;AAkIF,wBAMG"}
@@ -1 +1 @@
1
- {"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue"],"names":[],"mappings":"AA8cA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,OAAO,CAAA;CACf,CAAC;;;YAGwC,OAAO;eAAS,MAAM;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;AA6QhE,wBAQG"}
1
+ {"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue"],"names":[],"mappings":"AA8cA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,OAAO,CAAA;CACf,CAAC;;;YAGwC,OAAO;eAAS,MAAM;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;AA6QhE,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./GettingStarted.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-391b4e37"]]);
4
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-7f17a9e3"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as b, openBlock as o, createElementBlock as i, createElementVNode as e, createStaticVNode as r, createVNode as n, unref as l, withCtx as d, createTextVNode as p, Fragment as f, renderList as w, normalizeClass as y, toDisplayString as C } from "vue";
1
+ import { defineComponent as u, openBlock as o, createElementBlock as i, createElementVNode as e, createStaticVNode as r, createVNode as n, unref as l, withCtx as d, createTextVNode as p, Fragment as w, renderList as y, normalizeClass as C, toDisplayString as S } from "vue";
2
2
  import { ScalarButton as c } from "@scalar/components";
3
- import { themeLabels as v } from "@scalar/themes";
4
- const S = { class: "start custom-scroll" }, A = { class: "start-copy" }, x = { class: "start-cta" }, k = { class: "start-row" }, Z = { class: "start-section start-section-colors" }, F = ["onClick"], P = /* @__PURE__ */ b({
3
+ import { themeLabels as f } from "@scalar/themes";
4
+ const A = { class: "start custom-scroll" }, x = { class: "start-copy" }, k = { class: "start-cta" }, Z = { class: "start-row" }, b = { class: "start-section start-section-colors" }, F = ["onClick"], P = /* @__PURE__ */ u({
5
5
  __name: "GettingStarted",
6
6
  props: {
7
7
  theme: {}
8
8
  },
9
9
  emits: ["changeTheme", "loadSwaggerFile", "linkSwaggerFile", "updateContent"],
10
- setup(B, { emit: g }) {
11
- const h = g, m = [
10
+ setup(B, { emit: v }) {
11
+ const g = v, h = [
12
12
  "default",
13
13
  "alternate",
14
14
  "moon",
@@ -20,21 +20,21 @@ const S = { class: "start custom-scroll" }, A = { class: "start-copy" }, x = { c
20
20
  "mars",
21
21
  "deepSpace"
22
22
  ];
23
- async function u() {
23
+ async function m() {
24
24
  const s = await fetch(
25
25
  "https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml"
26
26
  );
27
- h("updateContent", await s.text());
27
+ g("updateContent", await s.text());
28
28
  }
29
- return (s, t) => (o(), i("div", S, [
30
- e("div", A, [
31
- t[3] || (t[3] = r('<div class="start-logo" data-v-391b4e37><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><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-391b4e37></path></svg></div><h1 class="start-h1" data-v-391b4e37>Swagger Editor</h1><p class="start-p" data-v-391b4e37> 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
- e("div", x, [
29
+ return (s, a) => (o(), i("div", A, [
30
+ e("div", x, [
31
+ a[3] || (a[3] = r('<div class="start-logo" data-v-7f17a9e3><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-7f17a9e3><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-7f17a9e3></path></svg></div><h1 class="start-h1" data-v-7f17a9e3>Swagger Editor</h1><p class="start-p" data-v-7f17a9e3> 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
+ e("div", k, [
33
33
  n(l(c), {
34
34
  fullWidth: "",
35
- onClick: u
35
+ onClick: m
36
36
  }, {
37
- default: d(() => t[1] || (t[1] = [
37
+ default: d(() => a[1] || (a[1] = [
38
38
  p(" Show Example ")
39
39
  ])),
40
40
  _: 1
@@ -42,27 +42,27 @@ const S = { class: "start custom-scroll" }, A = { class: "start-copy" }, x = { c
42
42
  n(l(c), {
43
43
  fullWidth: "",
44
44
  variant: "outlined",
45
- onClick: t[0] || (t[0] = (a) => s.$emit("loadSwaggerFile"))
45
+ onClick: a[0] || (a[0] = (t) => s.$emit("loadSwaggerFile"))
46
46
  }, {
47
- default: d(() => t[2] || (t[2] = [
47
+ default: d(() => a[2] || (a[2] = [
48
48
  p(" Upload File ")
49
49
  ])),
50
50
  _: 1
51
51
  })
52
52
  ])
53
53
  ]),
54
- e("div", k, [
55
- t[5] || (t[5] = r('<div class="start-section start-section-integrations" data-v-391b4e37><div class="start-h2" data-v-391b4e37>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-391b4e37><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><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-391b4e37></path></svg><span data-v-391b4e37>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-391b4e37><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g data-v-391b4e37><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-391b4e37></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-391b4e37></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-391b4e37></path></g></svg><span data-v-391b4e37>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-391b4e37><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="currentColor" fill-rule="nonzero" data-v-391b4e37><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-391b4e37></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-391b4e37></polygon></g></svg><span data-v-391b4e37>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-391b4e37><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="none" fill-rule="evenodd" data-v-391b4e37><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-391b4e37></circle><g stroke="currentColor" data-v-391b4e37><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-391b4e37></ellipse></g></g></svg><span data-v-391b4e37>React</span></a></div>', 1)),
56
- e("div", Z, [
57
- t[4] || (t[4] = e("p", { class: "start-h2" }, "THEMING", -1)),
58
- (o(), i(f, null, w(m, (a) => e("div", {
59
- key: a,
60
- class: y(["start-item", { "start-item-active": a === s.theme }]),
61
- onClick: (_) => s.$emit("changeTheme", { id: a, label: l(v)[a] })
62
- }, C(l(v)[a]), 11, F)), 64))
54
+ e("div", Z, [
55
+ a[5] || (a[5] = r('<div class="start-section start-section-integrations" data-v-7f17a9e3><div class="start-h2" data-v-7f17a9e3>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-7f17a9e3><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-7f17a9e3><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-7f17a9e3></path></svg><span data-v-7f17a9e3>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-7f17a9e3><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-7f17a9e3><g data-v-7f17a9e3><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-7f17a9e3></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-7f17a9e3></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-7f17a9e3></path></g></svg><span data-v-7f17a9e3>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-7f17a9e3><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-7f17a9e3><g fill="currentColor" fill-rule="nonzero" data-v-7f17a9e3><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-7f17a9e3></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-7f17a9e3></polygon></g></svg><span data-v-7f17a9e3>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-7f17a9e3><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-7f17a9e3><g fill="none" fill-rule="evenodd" data-v-7f17a9e3><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-7f17a9e3></circle><g stroke="currentColor" data-v-7f17a9e3><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-7f17a9e3></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-7f17a9e3></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-7f17a9e3></ellipse></g></g></svg><span data-v-7f17a9e3>React</span></a></div>', 1)),
56
+ e("div", b, [
57
+ a[4] || (a[4] = e("p", { class: "start-h2" }, "THEMING", -1)),
58
+ (o(), i(w, null, y(h, (t) => e("div", {
59
+ key: t,
60
+ class: C(["start-item", { "start-item-active": t === s.theme }]),
61
+ onClick: (_) => s.$emit("changeTheme", { id: t, label: l(f)[t] })
62
+ }, S(l(f)[t]), 11, F)), 64))
63
63
  ])
64
64
  ]),
65
- t[6] || (t[6] = r('<p class="start-h1" data-v-391b4e37>Features</p><ul class="start-ul" data-v-391b4e37><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Customize</p> Bring your typography &amp; color palettes, or use our themes! </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Testing</p> A deeply integrated Rest API Client (Also Free &amp; Open-Source) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>OpenAPI &amp; Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2))
65
+ a[6] || (a[6] = r('<p class="start-h1" data-v-7f17a9e3>Features</p><ul class="start-ul" data-v-7f17a9e3><li data-v-7f17a9e3><p class="start-h3" data-v-7f17a9e3>Customize</p> Bring your typography &amp; color palettes, or use our themes! </li><li data-v-7f17a9e3><p class="start-h3" data-v-7f17a9e3>Testing</p> A deeply integrated Rest API Client (Also Free &amp; Open-Source) </li><li data-v-7f17a9e3><p class="start-h3" data-v-7f17a9e3>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-7f17a9e3><p class="start-h3" data-v-7f17a9e3>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-7f17a9e3><p class="start-h3" data-v-7f17a9e3>OpenAPI &amp; Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-7f17a9e3><p class="start-h3" data-v-7f17a9e3>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2))
66
66
  ]));
67
67
  }
68
68
  });
@@ -1 +1 @@
1
- {"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,KAAK,CAAA;AAO9C,KAAK,WAAW,GAAG;IACjB,2DAA2D;IAC3D,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8BAA8B;IAC9B,MAAM,EAAE,OAAO,CAAC,UAAU,GAAG,MAAM,CAAA;CACpC,CAAC;AAmCF,iBAAS,cAAc;WA4CT,OAAO,IAA6B;;;;;;YARrB,GAAG;;;;EAa/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAO9C,KAAK,WAAW,GAAG;IACjB,2DAA2D;IAC3D,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8BAA8B;IAC9B,MAAM,EAAE,OAAO,CAAC,UAAU,GAAG,MAAM,CAAA;CACpC,CAAC;AAmCF,iBAAS,cAAc;WA4CT,OAAO,IAA6B;;;;;;YARrB,GAAG;;;;EAa/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AA0BzE,iBAAS,cAAc;WAkHT,OAAO,IAA6B;;;;EAKjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAwBzE,iBAAS,cAAc;WAkHT,OAAO,IAA6B;;;;EAKjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as f, useSlots as g, computed as S, openBlock as s, createBlock as i, createSlots as k, withCtx as r, createVNode as C, unref as l, createCommentVNode as p, renderList as y, renderSlot as h, normalizeProps as v, guardReactiveProps as w } from "vue";
2
- import D from "../ApiReferenceLayout.vue.js";
3
- import B from "../ClassicHeader.vue.js";
4
- import { ScalarColorModeToggleIcon as H } from "@scalar/components";
2
+ import { ScalarColorModeToggleIcon as D } from "@scalar/components";
3
+ import B from "../ApiReferenceLayout.vue.js";
4
+ import H from "../ClassicHeader.vue.js";
5
5
  import M from "../../features/Search/SearchButton.vue.js";
6
6
  const P = /* @__PURE__ */ f({
7
7
  __name: "ClassicLayout",
@@ -14,16 +14,16 @@ const P = /* @__PURE__ */ f({
14
14
  emits: ["toggleDarkMode", "updateContent"],
15
15
  setup(d) {
16
16
  const a = d, u = g(), c = S(() => ({ ...a.configuration, showSidebar: !1 }));
17
- return (e, o) => (s(), i(D, {
17
+ return (e, o) => (s(), i(B, {
18
18
  configuration: c.value,
19
19
  parsedSpec: e.parsedSpec,
20
20
  rawSpec: e.rawSpec,
21
21
  onUpdateContent: o[1] || (o[1] = (t) => e.$emit("updateContent", t))
22
22
  }, k({
23
23
  "content-start": r(({ spec: t }) => [
24
- C(B, null, {
24
+ C(H, null, {
25
25
  "dark-mode-toggle": r(() => [
26
- a.configuration.hideDarkModeToggle ? p("", !0) : (s(), i(l(H), {
26
+ a.configuration.hideDarkModeToggle ? p("", !0) : (s(), i(l(D), {
27
27
  key: 0,
28
28
  class: "text-c-2 hover:text-c-1",
29
29
  mode: e.isDark ? "dark" : "light",
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue"],"names":[],"mappings":"AA6BA,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue"],"names":[],"mappings":"AA4BA,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -7,7 +7,7 @@ function a(e, i) {
7
7
  n(e.$slots, "default", {}, void 0, !0)
8
8
  ]);
9
9
  }
10
- const l = /* @__PURE__ */ r(c, [["render", a], ["__scopeId", "data-v-1913755a"]]);
10
+ const l = /* @__PURE__ */ r(c, [["render", a], ["__scopeId", "data-v-3afcb4e7"]]);
11
11
  export {
12
12
  l as default
13
13
  };
@@ -1,7 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  loading?: boolean;
3
3
  tight?: boolean;
4
- level?: number;
5
4
  };
6
5
  declare function __VLS_template(): {
7
6
  attrs: Partial<{}>;
@@ -12,11 +11,7 @@ declare function __VLS_template(): {
12
11
  rootEl: HTMLDivElement;
13
12
  };
14
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
- loading: boolean;
17
- tight: boolean;
18
- level: number;
19
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
20
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
16
  export default _default;
22
17
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue"],"names":[],"mappings":"AA+DA,KAAK,WAAW,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAoB1E,iBAAS,cAAc;WA8DT,OAAO,IAA6B;;yBARpB,GAAG;;;;EAahC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aAlGU,OAAO;WAAU,OAAO;WAAU,MAAM;wFA0GrE,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue"],"names":[],"mappings":"AA0DA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAC;AAQF,iBAAS,cAAc;WAyDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SectionHeader.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b6aef53d"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2f429af7"]]);
5
5
  export {
6
6
  f as default
7
7
  };
@@ -1,23 +1,19 @@
1
- import { defineComponent as a, openBlock as o, createElementBlock as l, createBlock as t, resolveDynamicComponent as n, normalizeClass as r, withCtx as s, renderSlot as i } from "vue";
2
- import d from "../LoadingSkeleton.vue.js";
3
- const p = { class: "section-header-wrapper" }, h = /* @__PURE__ */ a({
1
+ import { defineComponent as n, openBlock as o, createElementBlock as t, createBlock as r, normalizeClass as a, renderSlot as i } from "vue";
2
+ import s from "../LoadingSkeleton.vue.js";
3
+ const l = { class: "section-header-wrapper" }, h = /* @__PURE__ */ n({
4
4
  __name: "SectionHeader",
5
5
  props: {
6
- loading: { type: Boolean, default: !1 },
7
- tight: { type: Boolean, default: !1 },
8
- level: { default: 1 }
6
+ loading: { type: Boolean },
7
+ tight: { type: Boolean }
9
8
  },
10
- setup(c) {
11
- return (e, f) => (o(), l("div", p, [
12
- e.loading ? (o(), t(d, { key: 0 })) : (o(), t(n(`h${e.level}`), {
9
+ setup(d) {
10
+ return (e, p) => (o(), t("div", l, [
11
+ e.loading ? (o(), r(s, { key: 0 })) : (o(), t("div", {
13
12
  key: 1,
14
- class: r(["section-header", { tight: e.tight }])
15
- }, {
16
- default: s(() => [
17
- i(e.$slots, "default", {}, void 0, !0)
18
- ]),
19
- _: 3
20
- }, 8, ["class"]))
13
+ class: a(["section-header", { tight: e.tight }])
14
+ }, [
15
+ i(e.$slots, "default", {}, void 0, !0)
16
+ ], 2))
21
17
  ]));
22
18
  }
23
19
  });
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
3
+ };
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: any;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //# sourceMappingURL=SectionHeaderTag.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionHeaderTag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeaderTag.vue"],"names":[],"mappings":"AAmBA,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;CAAE,CAAC;AASrD,iBAAS,cAAc;WA4CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import o from "./SectionHeaderTag.vue2.js";
2
+ /* empty css */
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f1ac6c38"]]);
5
+ export {
6
+ e as default
7
+ };
@@ -0,0 +1,18 @@
1
+ import { defineComponent as o, openBlock as t, createBlock as l, resolveDynamicComponent as r, withCtx as a, renderSlot as n } from "vue";
2
+ const d = /* @__PURE__ */ o({
3
+ __name: "SectionHeaderTag",
4
+ props: {
5
+ level: { default: 1 }
6
+ },
7
+ setup(s) {
8
+ return (e, c) => (t(), l(r(`h${e.level}`), { class: "section-header-label" }, {
9
+ default: a(() => [
10
+ n(e.$slots, "default", {}, void 0, !0)
11
+ ]),
12
+ _: 3
13
+ }));
14
+ }
15
+ });
16
+ export {
17
+ d as default
18
+ };
@@ -6,5 +6,6 @@ export { default as SectionContainer } from './SectionContainer.vue.js';
6
6
  export { default as SectionContainerAccordion } from './SectionContainerAccordion.vue.js';
7
7
  export { default as SectionContent } from './SectionContent.vue.js';
8
8
  export { default as SectionHeader } from './SectionHeader.vue.js';
9
+ export { default as SectionHeaderTag } from './SectionHeaderTag.vue.js';
9
10
  export { default as CompactSection } from './CompactSection.vue.js';
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AACtF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAE9D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AACtF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAqOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAIhD,OAAO,EAAE,KAAK,YAAY,EAA2B,MAAM,aAAa,CAAA;AAMxE,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,CAAA;CACjB,GAAG,YAAY,CAAC;AAiEnB,iBAAS,cAAc;WA4NT,OAAO,IAA6B;;iCAVb,GAAG;+BACJ,GAAG;;;;;;EActC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAqOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAIhD,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,aAAa,CAAA;AAMxE,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,CAAA;CACjB,GAAG,YAAY,CAAC;AAiEnB,iBAAS,cAAc;WA4NT,OAAO,IAA6B;;iCAVb,GAAG;+BACJ,GAAG;;;;;;EActC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Sidebar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b863366c"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-40d5a823"]]);
5
5
  export {
6
6
  p as default
7
7
  };