@scalar/api-reference 1.25.9 → 1.25.11

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 (122) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/browser/standalone.js +14512 -14482
  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/Operation.vue.js +2 -2
  13. package/dist/components/Content/Operation/Operation.vue2.js +14 -14
  14. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  15. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  16. package/dist/components/Content/Operation/OperationAccordion.vue2.js +53 -49
  17. package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts +21 -0
  18. package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts.map +1 -0
  19. package/dist/components/Content/Operation/ParameterHeaders.vue.js +7 -0
  20. package/dist/components/Content/Operation/ParameterHeaders.vue2.js +62 -0
  21. package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
  22. package/dist/components/Content/Operation/ParameterItem.vue.js +2 -2
  23. package/dist/components/Content/Operation/ParameterItem.vue2.js +34 -30
  24. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
  25. package/dist/components/Content/Operation/TestRequestButton.vue.js +1 -1
  26. package/dist/components/Content/Operation/TestRequestButton.vue2.js +30 -22
  27. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  28. package/dist/components/Content/Tag/Endpoints.vue.d.ts +2 -0
  29. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
  31. package/dist/components/Content/Tag/Endpoints.vue2.js +29 -25
  32. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  33. package/dist/components/Content/Tag/Tag.vue.js +2 -2
  34. package/dist/components/Content/Tag/Tag.vue2.js +15 -14
  35. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
  36. package/dist/components/Content/Webhooks/Webhooks.vue.js +2 -2
  37. package/dist/components/Content/Webhooks/Webhooks.vue2.js +43 -45
  38. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
  39. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +3 -3
  40. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  41. package/dist/components/Layouts/ClassicLayout.vue.js +18 -17
  42. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
  43. package/dist/components/Layouts/ModernLayout.vue.js +2 -2
  44. package/dist/components/Layouts/ModernLayout.vue2.js +31 -28
  45. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  46. package/dist/components/Section/CompactSection.vue.js +2 -2
  47. package/dist/{components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts → embeds/ExampleResponses/ExampleResponses.vue.d.ts} +4 -9
  48. package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -0
  49. package/dist/embeds/ExampleResponses/index.d.ts +2 -0
  50. package/dist/embeds/ExampleResponses/index.d.ts.map +1 -0
  51. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +8 -1
  52. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
  53. package/dist/embeds/index.d.ts +1 -0
  54. package/dist/embeds/index.d.ts.map +1 -1
  55. package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
  56. package/dist/features/BaseUrl/ServerForm.vue.js +2 -2
  57. package/dist/features/BaseUrl/ServerForm.vue2.js +5 -5
  58. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  59. package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
  60. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +118 -129
  61. package/dist/{components/Content/Operation/PathResponses/Headers.vue.d.ts → features/ExampleResponses/ExampleResponse.vue.d.ts} +4 -4
  62. package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts.map +1 -0
  63. package/dist/features/ExampleResponses/ExampleResponse.vue.js +7 -0
  64. package/dist/features/ExampleResponses/ExampleResponse.vue2.js +37 -0
  65. package/dist/{components/Content/Operation/PathResponses/PathResponses.vue.d.ts → features/ExampleResponses/ExampleResponses.vue.d.ts} +1 -1
  66. package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -0
  67. package/dist/features/ExampleResponses/ExampleResponses.vue.js +7 -0
  68. package/dist/{components/Content/Operation/PathResponses/PathResponses.vue2.js → features/ExampleResponses/ExampleResponses.vue2.js} +18 -18
  69. package/dist/features/ExampleResponses/index.d.ts +2 -0
  70. package/dist/features/ExampleResponses/index.d.ts.map +1 -0
  71. package/dist/helpers/createRequest.d.ts +6 -0
  72. package/dist/helpers/createRequest.d.ts.map +1 -0
  73. package/dist/helpers/createRequest.js +16 -0
  74. package/dist/helpers/getExampleCode.d.ts +9 -0
  75. package/dist/helpers/getExampleCode.d.ts.map +1 -0
  76. package/dist/helpers/getExampleCode.js +27 -0
  77. package/dist/helpers/index.d.ts +2 -0
  78. package/dist/helpers/index.d.ts.map +1 -1
  79. package/dist/helpers/mergeAllObjects.d.ts +3 -0
  80. package/dist/helpers/mergeAllObjects.d.ts.map +1 -1
  81. package/dist/helpers/provideSymbols.d.ts +1 -0
  82. package/dist/helpers/provideSymbols.d.ts.map +1 -1
  83. package/dist/helpers/provideSymbols.js +4 -3
  84. package/dist/hooks/useReactiveSpec.d.ts +7 -1
  85. package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
  86. package/dist/hooks/useResponses.d.ts +4 -0
  87. package/dist/hooks/useResponses.d.ts.map +1 -1
  88. package/dist/hooks/useResponses.js +11 -10
  89. package/dist/index.js +95 -90
  90. package/dist/legacy/helpers/index.d.ts +1 -0
  91. package/dist/legacy/helpers/index.d.ts.map +1 -1
  92. package/dist/legacy/helpers/normalizeHeaderName.d.ts +5 -0
  93. package/dist/legacy/helpers/normalizeHeaderName.d.ts.map +1 -0
  94. package/dist/legacy/helpers/normalizeHeaderName.js +6 -0
  95. package/dist/legacy/helpers/normalizeHeaders.d.ts.map +1 -1
  96. package/dist/legacy/helpers/normalizeHeaders.js +15 -17
  97. package/dist/legacy/stores/useOpenApiStore.d.ts +7 -1
  98. package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
  99. package/dist/style.css +1 -1
  100. package/dist/types.d.ts +0 -8
  101. package/dist/types.d.ts.map +1 -1
  102. package/package.json +12 -12
  103. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts.map +0 -1
  104. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.js +0 -7
  105. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue2.js +0 -101
  106. package/dist/components/Content/Operation/PathResponses/Headers.vue.d.ts.map +0 -1
  107. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +0 -1
  108. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +0 -7
  109. package/dist/components/Content/Operation/PathResponses/index.d.ts +0 -2
  110. package/dist/components/Content/Operation/PathResponses/index.d.ts.map +0 -1
  111. package/dist/components/SimpleTable/SimpleCell.vue.d.ts +0 -50
  112. package/dist/components/SimpleTable/SimpleCell.vue.d.ts.map +0 -1
  113. package/dist/components/SimpleTable/SimpleHeader.vue.d.ts +0 -12
  114. package/dist/components/SimpleTable/SimpleHeader.vue.d.ts.map +0 -1
  115. package/dist/components/SimpleTable/SimpleRow.vue.d.ts +0 -12
  116. package/dist/components/SimpleTable/SimpleRow.vue.d.ts.map +0 -1
  117. package/dist/components/SimpleTable/SimpleTable.stories.d.ts +0 -7
  118. package/dist/components/SimpleTable/SimpleTable.stories.d.ts.map +0 -1
  119. package/dist/components/SimpleTable/SimpleTable.vue.d.ts +0 -12
  120. package/dist/components/SimpleTable/SimpleTable.vue.d.ts.map +0 -1
  121. package/dist/components/SimpleTable/index.d.ts +0 -5
  122. package/dist/components/SimpleTable/index.d.ts.map +0 -1
@@ -1,8 +1,8 @@
1
- import { defineComponent as v, openBlock as n, createBlock as s, unref as e, withCtx as o, createVNode as a, createTextVNode as c, toDisplayString as p, createElementVNode as u, createElementBlock as f, Fragment as y, renderList as N, normalizeClass as V, createCommentVNode as b } from "vue";
2
- import { ScalarMarkdown as E } from "@scalar/components";
3
- import I from "../../Section/Section.vue.js";
4
- import w from "../../Section/SectionContent.vue.js";
5
- import B from "../../Section/SectionColumns.vue.js";
1
+ import { defineComponent as y, openBlock as l, createBlock as m, unref as e, withCtx as o, createVNode as a, createTextVNode as p, toDisplayString as c, createElementVNode as u, createElementBlock as f, Fragment as v, renderList as N, normalizeClass as V, createCommentVNode as b } from "vue";
2
+ import { ScalarMarkdown as B } from "@scalar/components";
3
+ import E from "../../Section/Section.vue.js";
4
+ import I from "../../Section/SectionContent.vue.js";
5
+ import w from "../../Section/SectionColumns.vue.js";
6
6
  import g from "../../Section/SectionColumn.vue.js";
7
7
  import H from "../../Section/SectionHeader.vue.js";
8
8
  import T from "../../Anchor/Anchor.vue.js";
@@ -12,25 +12,26 @@ import z from "../../Card/CardContent.vue.js";
12
12
  import A from "../../HttpMethod/HttpMethod.vue.js";
13
13
  import { useSidebar as D } from "../../../hooks/useSidebar.js";
14
14
  import { useNavState as F } from "../../../hooks/useNavState.js";
15
- const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ v({
15
+ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ y({
16
16
  __name: "Endpoints",
17
17
  props: {
18
18
  id: {},
19
- tag: {}
19
+ tag: {},
20
+ isCollapsed: { type: Boolean }
20
21
  },
21
22
  setup(C) {
22
- const _ = C, { getOperationId: l, getTagId: h } = F(), { scrollToOperation: k } = D(), S = async (t) => {
23
- const d = l(t, _.tag);
24
- k(d);
23
+ const _ = C, { getOperationId: n, getTagId: h } = F(), { scrollToOperation: k } = D(), S = async (t) => {
24
+ const s = n(t, _.tag);
25
+ k(s);
25
26
  };
26
- return (t, d) => (n(), s(e(I), {
27
+ return (t, s) => (l(), m(e(E), {
27
28
  id: t.id,
28
29
  label: t.tag.name.toUpperCase()
29
30
  }, {
30
31
  default: o(() => [
31
- a(e(w), null, {
32
+ a(e(I), null, {
32
33
  default: o(() => [
33
- a(e(B), null, {
34
+ a(e(w), null, {
34
35
  default: o(() => [
35
36
  a(e(g), null, {
36
37
  default: o(() => [
@@ -40,32 +41,33 @@ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ v({
40
41
  id: e(h)(t.tag)
41
42
  }, {
42
43
  default: o(() => [
43
- c(p(t.tag["x-displayName"] ?? t.tag.name), 1)
44
+ p(c(t.tag["x-displayName"] ?? t.tag.name), 1)
44
45
  ]),
45
46
  _: 1
46
47
  }, 8, ["id"])
47
48
  ]),
48
49
  _: 1
49
50
  }),
50
- a(e(E), {
51
+ a(e(B), {
52
+ clamp: t.isCollapsed ? "7" : !1,
51
53
  value: t.tag.description,
52
54
  withImages: ""
53
- }, null, 8, ["value"])
55
+ }, null, 8, ["clamp", "value"])
54
56
  ]),
55
57
  _: 1
56
58
  }),
57
59
  a(e(g), null, {
58
60
  default: o(() => {
59
- var i;
61
+ var d;
60
62
  return [
61
- ((i = t.tag.operations) == null ? void 0 : i.length) > 0 ? (n(), s(e(O), {
63
+ ((d = t.tag.operations) == null ? void 0 : d.length) > 0 ? (l(), m(e(O), {
62
64
  key: 0,
63
65
  class: "scalar-card-sticky"
64
66
  }, {
65
67
  default: o(() => [
66
68
  a(e($), { muted: "" }, {
67
69
  default: o(() => [
68
- c("Endpoints")
70
+ p("Endpoints")
69
71
  ]),
70
72
  _: 1
71
73
  }),
@@ -75,10 +77,10 @@ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ v({
75
77
  }, {
76
78
  default: o(() => [
77
79
  u("div", L, [
78
- (n(!0), f(y, null, N(t.tag.operations, (r) => {
79
- var m;
80
- return n(), f("a", {
81
- key: e(l)(r, t.tag),
80
+ (l(!0), f(v, null, N(t.tag.operations, (r) => {
81
+ var i;
82
+ return l(), f("a", {
83
+ key: e(n)(r, t.tag),
82
84
  class: "endpoint",
83
85
  onClick: (U) => S(r)
84
86
  }, [
@@ -86,8 +88,10 @@ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ v({
86
88
  method: r.httpVerb
87
89
  }, null, 8, ["method"]),
88
90
  u("span", {
89
- class: V({ deprecated: (m = r.information) == null ? void 0 : m.deprecated })
90
- }, p(r.path), 3)
91
+ class: V({
92
+ deprecated: (i = r.information) == null ? void 0 : i.deprecated
93
+ })
94
+ }, c(r.path), 3)
91
95
  ], 8, M);
92
96
  }), 128))
93
97
  ])
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Tag.vue"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAkCrD,iBAAS,cAAc;qBA6DO,GAAG;EAqBhC;AACD,QAAA,MAAM,eAAe;SA1Gd,MAAM;SACN,GAAG;UACF,IAAI;;SAFL,MAAM;SACN,GAAG;UACF,IAAI;aA8GV,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Tag.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAkCrD,iBAAS,cAAc;qBA6DO,GAAG;EAqBhC;AACD,QAAA,MAAM,eAAe;SA1Gd,MAAM;SACN,GAAG;UACF,IAAI;;SAFL,MAAM;SACN,GAAG;UACF,IAAI;aA8GV,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Tag.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ac369778"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f9c3c8a1"]]);
5
5
  export {
6
- p as default
6
+ f as default
7
7
  };
@@ -1,40 +1,41 @@
1
- import { defineComponent as c, ref as f, computed as u, openBlock as r, createBlock as a, unref as i, withCtx as g, createCommentVNode as h, renderSlot as k } from "vue";
2
- import C from "../../ShowMoreButton.vue.js";
1
+ import { defineComponent as f, ref as u, computed as c, openBlock as r, createBlock as i, unref as o, withCtx as g, createCommentVNode as C, renderSlot as h } from "vue";
2
+ import k from "../../ShowMoreButton.vue.js";
3
3
  import S from "./Endpoints.vue.js";
4
4
  import y from "../../Section/SectionContainer.vue.js";
5
5
  import { useSidebar as T } from "../../../hooks/useSidebar.js";
6
6
  import { useNavState as v } from "../../../hooks/useNavState.js";
7
- const _ = /* @__PURE__ */ c({
7
+ const D = /* @__PURE__ */ f({
8
8
  __name: "Tag",
9
9
  props: {
10
10
  id: {},
11
11
  tag: {},
12
12
  spec: {}
13
13
  },
14
- setup(s) {
15
- const o = s, d = f(null), { collapsedSidebarItems: l } = T(), { getTagId: m } = v(), p = u(
14
+ setup(d) {
15
+ const n = d, p = u(null), { collapsedSidebarItems: s } = T(), { getTagId: l } = v(), m = c(
16
16
  () => {
17
- var e, n, t;
18
- return ((e = o.spec.tags) == null ? void 0 : e.length) !== 1 || ((n = o.tag) == null ? void 0 : n.name) !== "default" || ((t = o.tag) == null ? void 0 : t.description) !== "";
17
+ var e, a, t;
18
+ return ((e = n.spec.tags) == null ? void 0 : e.length) !== 1 || ((a = n.tag) == null ? void 0 : a.name) !== "default" || ((t = n.tag) == null ? void 0 : t.description) !== "";
19
19
  }
20
20
  );
21
- return (e, n) => (r(), a(i(y), {
21
+ return (e, a) => (r(), i(o(y), {
22
22
  ref_key: "sectionContainerRef",
23
- ref: d,
23
+ ref: p,
24
24
  class: "tag-section-container"
25
25
  }, {
26
26
  default: g(() => {
27
27
  var t;
28
28
  return [
29
- p.value ? (r(), a(S, {
29
+ m.value ? (r(), i(S, {
30
30
  key: 0,
31
31
  id: e.id,
32
+ isCollapsed: !o(s)[o(l)(e.tag)],
32
33
  tag: e.tag
33
- }, null, 8, ["id", "tag"])) : h("", !0),
34
- !i(l)[i(m)(e.tag)] && ((t = e.tag.operations) == null ? void 0 : t.length) > 1 ? (r(), a(C, {
34
+ }, null, 8, ["id", "isCollapsed", "tag"])) : C("", !0),
35
+ !o(s)[o(l)(e.tag)] && ((t = e.tag.operations) == null ? void 0 : t.length) > 1 ? (r(), i(k, {
35
36
  key: 1,
36
37
  id: e.id ?? ""
37
- }, null, 8, ["id"])) : k(e.$slots, "default", { key: 2 }, void 0, !0)
38
+ }, null, 8, ["id"])) : h(e.$slots, "default", { key: 2 }, void 0, !0)
38
39
  ];
39
40
  }),
40
41
  _: 3
@@ -42,5 +43,5 @@ const _ = /* @__PURE__ */ c({
42
43
  }
43
44
  });
44
45
  export {
45
- _ as default
46
+ D as default
46
47
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"AAuHA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;cAiBxC,QAAQ;;cAAR,QAAQ;;AAkOpB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;cAiBxC,QAAQ;;cAAR,QAAQ;;AAgOpB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Webhooks.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b5c5dcfc"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-87687203"]]);
5
5
  export {
6
- m as default
6
+ s as default
7
7
  };
@@ -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,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AA0B7E,iBAAS,cAAc,0DAmItB;AACD,QAAA,MAAM,eAAe;;;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,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,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAqC7E,iBAAS,cAAc,0DAsJtB;AACD,QAAA,MAAM,eAAe;;;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -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,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AAyIA,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,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./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
  };
@@ -1,13 +1,8 @@
1
+ import type { TransformedOperation } from '@scalar/types/legacy';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
- response: undefined | {
3
- example?: any;
4
- schema?: any;
5
- };
3
+ operation?: TransformedOperation;
6
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
- response: undefined | {
8
- example?: any;
9
- schema?: any;
10
- };
5
+ operation?: TransformedOperation;
11
6
  }>>>, {}, {}>;
12
7
  export default _default;
13
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -19,4 +14,4 @@ type __VLS_TypePropsToOption<T> = {
19
14
  required: true;
20
15
  };
21
16
  };
22
- //# sourceMappingURL=ExampleResponse.vue.d.ts.map
17
+ //# sourceMappingURL=ExampleResponses.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleResponses.vue.d.ts","sourceRoot":"","sources":["../../../src/embeds/ExampleResponses/ExampleResponses.vue"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;gBAOlD,oBAAoB;;gBAApB,oBAAoB;;AAwDlC,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as ExampleResponses } from './ExampleResponses.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/embeds/ExampleResponses/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA"}