@scalar/api-reference 1.25.127 → 1.25.130

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 (128) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/dist/browser/standalone.js +13272 -13158
  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 +40 -64
  6. package/dist/components/ApiReferenceLayout.vue.d.ts +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 +158 -159
  10. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  11. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +1 -1
  12. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +69 -17
  13. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +5 -1
  14. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  15. package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
  16. package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +73 -94
  17. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts +16 -0
  18. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts.map +1 -0
  19. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.js +36 -0
  20. package/dist/components/Content/Lazy/Loading.vue.js +15 -15
  21. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  22. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  23. package/dist/components/Content/Schema/Schema.vue2.js +4 -1
  24. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -1
  25. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  26. package/dist/components/Content/Schema/SchemaProperty.vue2.js +1 -1
  27. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  28. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +2 -2
  29. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +143 -124
  30. package/dist/components/Content/Tag/{Endpoints.vue.d.ts → OperationsList.vue.d.ts} +1 -3
  31. package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +1 -0
  32. package/dist/components/Content/Tag/OperationsList.vue.js +7 -0
  33. package/dist/components/Content/Tag/OperationsList.vue2.js +62 -0
  34. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts +9 -0
  35. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -0
  36. package/dist/components/Content/Tag/OperationsListItem.vue.js +7 -0
  37. package/dist/components/Content/Tag/OperationsListItem.vue2.js +66 -0
  38. package/dist/components/Content/Tag/Tag.vue.d.ts +4 -64
  39. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Tag/Tag.vue.js +87 -5
  41. package/dist/components/Content/Tag/Tag.vue2.js +2 -63
  42. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Tag/TagList.vue.js +11 -11
  44. package/dist/components/Content/Tag/TagSection.vue.d.ts +70 -0
  45. package/dist/components/Content/Tag/TagSection.vue.d.ts.map +1 -0
  46. package/dist/components/Content/Tag/TagSection.vue.js +7 -0
  47. package/dist/components/Content/Tag/TagSection.vue2.js +65 -0
  48. package/dist/components/Content/Tag/index.d.ts +1 -2
  49. package/dist/components/Content/Tag/index.d.ts.map +1 -1
  50. package/dist/components/GettingStarted.vue.d.ts.map +1 -1
  51. package/dist/components/GettingStarted.vue.js +1 -1
  52. package/dist/components/GettingStarted.vue2.js +13 -13
  53. package/dist/components/Layouts/ClassicLayout.vue.d.ts +3 -3
  54. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  55. package/dist/components/Layouts/Layouts.vue.d.ts +3 -3
  56. package/dist/components/Layouts/Layouts.vue.d.ts.map +1 -1
  57. package/dist/components/Layouts/ModernLayout.vue.d.ts +3 -3
  58. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
  59. package/dist/components/Layouts/ModernLayout.vue.js +2 -2
  60. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  61. package/dist/components/Section/CompactSection.vue.js +2 -2
  62. package/dist/components/Section/CompactSection.vue2.js +30 -29
  63. package/dist/esm.d.ts +5 -3
  64. package/dist/esm.d.ts.map +1 -1
  65. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts +2 -2
  66. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
  67. package/dist/features/ApiClientModal/useApiClient.d.ts +386 -346
  68. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  69. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  70. package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
  71. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +82 -74
  72. package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts.map +1 -1
  73. package/dist/features/ExampleResponses/ExampleResponse.vue.js +2 -2
  74. package/dist/features/ExampleResponses/ExampleResponse.vue2.js +11 -11
  75. package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
  76. package/dist/features/ExampleResponses/ExampleResponses.vue.js +2 -2
  77. package/dist/features/ExampleResponses/ExampleResponses.vue2.js +90 -78
  78. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts +1 -1
  79. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
  80. package/dist/features/Operation/components/ContentTypeSelect.vue.js +1 -1
  81. package/dist/features/Operation/components/ContentTypeSelect.vue2.js +29 -25
  82. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  83. package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
  84. package/dist/features/Operation/components/ParameterListItem.vue2.js +40 -47
  85. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  86. package/dist/features/Operation/components/RequestBody.vue.js +2 -2
  87. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  88. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  89. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +54 -54
  90. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  91. package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
  92. package/dist/features/Operation/layouts/ModernLayout.vue2.js +65 -67
  93. package/dist/helpers/get-request.d.ts +2 -1
  94. package/dist/helpers/get-request.d.ts.map +1 -1
  95. package/dist/helpers/index.d.ts +0 -1
  96. package/dist/helpers/index.d.ts.map +1 -1
  97. package/dist/hooks/index.d.ts +0 -1
  98. package/dist/hooks/index.d.ts.map +1 -1
  99. package/dist/hooks/useConfig.d.ts +3 -3
  100. package/dist/hooks/useConfig.d.ts.map +1 -1
  101. package/dist/hooks/useConfig.js +5 -4
  102. package/dist/hooks/useReactiveSpec.d.ts +8 -8
  103. package/dist/hooks/useSidebar.d.ts.map +1 -1
  104. package/dist/hooks/useSidebar.js +126 -116
  105. package/dist/index.js +56 -62
  106. package/dist/libs/operation.d.ts +15 -0
  107. package/dist/libs/operation.d.ts.map +1 -0
  108. package/dist/libs/operation.js +16 -0
  109. package/dist/standalone/lib/html-api.d.ts +3 -3
  110. package/dist/standalone/lib/html-api.d.ts.map +1 -1
  111. package/dist/stores/useHttpClientStore.d.ts +1 -1
  112. package/dist/stores/useHttpClientStore.d.ts.map +1 -1
  113. package/dist/style.css +1 -1
  114. package/dist/types.d.ts +20 -3
  115. package/dist/types.d.ts.map +1 -1
  116. package/package.json +13 -13
  117. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +0 -1
  118. package/dist/components/Content/Tag/Endpoints.vue.js +0 -7
  119. package/dist/components/Content/Tag/Endpoints.vue2.js +0 -161
  120. package/dist/helpers/operation.d.ts +0 -14
  121. package/dist/helpers/operation.d.ts.map +0 -1
  122. package/dist/helpers/operation.js +0 -18
  123. package/dist/hooks/useDeprecationWarnings.d.ts +0 -6
  124. package/dist/hooks/useDeprecationWarnings.d.ts.map +0 -1
  125. package/dist/hooks/useDeprecationWarnings.js +0 -20
  126. package/dist/standalone/lib/html-rendering.d.ts +0 -51
  127. package/dist/standalone/lib/html-rendering.d.ts.map +0 -1
  128. package/dist/standalone/lib/html-rendering.js +0 -54
@@ -1,7 +1,89 @@
1
- import o from "./Tag.vue2.js";
2
- /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3a840364"]]);
1
+ import { defineComponent as s, computed as c, openBlock as n, createBlock as i, unref as e, withCtx as o, createVNode as t, createTextVNode as d, toDisplayString as g, createCommentVNode as C } from "vue";
2
+ import { ScalarMarkdown as S } from "@scalar/components";
3
+ import v from "../../ScreenReader.vue.js";
4
+ import { useNavState as N } from "../../../hooks/useNavState.js";
5
+ import _ from "./OperationsList.vue.js";
6
+ import h from "../../Section/Section.vue.js";
7
+ import k from "../../Section/SectionHeader.vue.js";
8
+ import y from "../../Anchor/Anchor.vue.js";
9
+ import I from "../../Section/SectionHeaderTag.vue.js";
10
+ import T from "../../Section/SectionContent.vue.js";
11
+ import w from "../../Section/SectionColumns.vue.js";
12
+ import m from "../../Section/SectionColumn.vue.js";
13
+ const q = /* @__PURE__ */ s({
14
+ __name: "Tag",
15
+ props: {
16
+ id: {},
17
+ tag: {},
18
+ headerId: {},
19
+ isCollapsed: { type: Boolean }
20
+ },
21
+ setup(p) {
22
+ const l = p, { getTagId: u } = N(), f = c(() => l.tag["x-displayName"] ?? l.tag.name);
23
+ return (a, r) => (n(), i(e(h), {
24
+ id: a.id,
25
+ label: a.tag.name.toUpperCase(),
26
+ role: "none"
27
+ }, {
28
+ default: o(() => [
29
+ t(e(k), null, {
30
+ default: o(() => [
31
+ t(e(y), {
32
+ id: e(u)(a.tag)
33
+ }, {
34
+ default: o(() => [
35
+ t(e(I), {
36
+ id: a.headerId,
37
+ level: 2
38
+ }, {
39
+ default: o(() => [
40
+ d(g(f.value) + " ", 1),
41
+ a.isCollapsed ? (n(), i(v, { key: 0 }, {
42
+ default: o(() => r[0] || (r[0] = [
43
+ d(" (Collapsed)")
44
+ ])),
45
+ _: 1
46
+ })) : C("", !0)
47
+ ]),
48
+ _: 1
49
+ }, 8, ["id"])
50
+ ]),
51
+ _: 1
52
+ }, 8, ["id"])
53
+ ]),
54
+ _: 1
55
+ }),
56
+ t(e(T), null, {
57
+ default: o(() => [
58
+ t(e(w), null, {
59
+ default: o(() => [
60
+ t(e(m), null, {
61
+ default: o(() => [
62
+ t(e(S), {
63
+ clamp: a.isCollapsed ? "7" : !1,
64
+ value: a.tag.description,
65
+ withImages: ""
66
+ }, null, 8, ["clamp", "value"])
67
+ ]),
68
+ _: 1
69
+ }),
70
+ t(e(m), null, {
71
+ default: o(() => [
72
+ t(_, { tag: a.tag }, null, 8, ["tag"])
73
+ ]),
74
+ _: 1
75
+ })
76
+ ]),
77
+ _: 1
78
+ })
79
+ ]),
80
+ _: 1
81
+ })
82
+ ]),
83
+ _: 1
84
+ }, 8, ["id", "label"]));
85
+ }
86
+ });
5
87
  export {
6
- p as default
88
+ q as default
7
89
  };
@@ -1,65 +1,4 @@
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
- __name: "Tag",
9
- props: {
10
- id: {},
11
- tag: {},
12
- spec: {}
13
- },
14
- setup(m) {
15
- const o = m, p = u(), s = u(), l = y(), { collapsedSidebarItems: i } = R(), { getTagId: d } = N(), c = f(
16
- () => {
17
- var e, t;
18
- return ((e = o.spec.tags) == null ? void 0 : e.length) && ((t = o.spec.tags) == null ? void 0 : t.length) > 1;
19
- }
20
- ), g = f(
21
- () => {
22
- var e, t;
23
- return c.value || ((e = o.tag) == null ? void 0 : e.name) !== "default" || ((t = o.tag) == null ? void 0 : t.description) !== "";
24
- }
25
- );
26
- async function h() {
27
- var e, t;
28
- await T(), (t = (e = s.value) == null ? void 0 : e.querySelector("button")) == null || t.focus();
29
- }
30
- return (e, t) => (n(), r(a(B), {
31
- ref_key: "sectionContainerRef",
32
- ref: p,
33
- "aria-labelledby": a(l),
34
- class: "tag-section-container",
35
- role: "region"
36
- }, {
37
- default: C(() => [
38
- g.value ? (n(), r(w, {
39
- key: 0,
40
- id: e.id,
41
- headerId: a(l),
42
- isCollapsed: !a(i)[a(d)(e.tag)],
43
- tag: e.tag
44
- }, null, 8, ["id", "headerId", "isCollapsed", "tag"])) : b("", !0),
45
- !a(i)[a(d)(e.tag)] && c.value ? (n(), r(I, {
46
- key: 1,
47
- id: e.id ?? "",
48
- "aria-label": `Show all ${e.tag["x-displayName"] ?? e.tag.name} endpoints`,
49
- onClick: h
50
- }, null, 8, ["id", "aria-label"])) : (n(), S("div", {
51
- key: 2,
52
- ref_key: "contentsRef",
53
- ref: s,
54
- class: "contents"
55
- }, [
56
- v(e.$slots, "default", {}, void 0, !0)
57
- ], 512))
58
- ]),
59
- _: 3
60
- }, 8, ["aria-labelledby"]));
61
- }
62
- });
1
+ import f from "./Tag.vue.js";
63
2
  export {
64
- V as default
3
+ f as default
65
4
  };
@@ -1 +1 @@
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
+ {"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AA6EA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAYhE,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,8 +1,8 @@
1
- import { defineComponent as C, computed as p, openBlock as s, createElementBlock as f, Fragment as y, renderList as v, createBlock as l, unref as e, withCtx as i, resolveDynamicComponent as T, createVNode as _ } from "vue";
1
+ import { defineComponent as C, computed as p, openBlock as s, createElementBlock as f, Fragment as y, renderList as v, createBlock as c, unref as e, withCtx as i, resolveDynamicComponent as T, createVNode as _ } from "vue";
2
2
  import { useActiveEntities as $ } from "@scalar/api-client/store";
3
3
  import { ScalarErrorBoundary as b } from "@scalar/components";
4
4
  import E from "./TagAccordion.vue.js";
5
- import O from "./Tag.vue.js";
5
+ import O from "./TagSection.vue.js";
6
6
  import L from "../Lazy/Lazy.vue2.js";
7
7
  import A from "../../../features/Operation/Operation.vue.js";
8
8
  import { useNavState as N } from "../../../hooks/useNavState.js";
@@ -15,25 +15,25 @@ const K = /* @__PURE__ */ C({
15
15
  layout: {}
16
16
  },
17
17
  setup(h) {
18
- const n = h, { getOperationId: c, getTagId: r, hash: z } = N(), { collapsedSidebarItems: m } = V(), { activeCollection: I, activeServer: g } = $(), k = p(
18
+ const n = h, { getOperationId: l, getTagId: r, hash: z } = N(), { collapsedSidebarItems: m } = V(), { activeCollection: I, activeServer: S } = $(), g = p(
19
19
  () => n.layout === "classic" ? E : O
20
- ), S = p(
20
+ ), k = p(
21
21
  () => n.tags.findIndex((o) => !m[r(o)]) + 1
22
- ), u = (o) => n.layout !== "classic" && !z.value.startsWith("model") && o > S.value;
23
- return (o, w) => (s(!0), f(y, null, v(o.tags, (t, d) => (s(), l(e(L), {
22
+ ), u = (o) => n.layout !== "classic" && !z.value.startsWith("model") && o > k.value;
23
+ return (o, w) => (s(!0), f(y, null, v(o.tags, (t, d) => (s(), c(e(L), {
24
24
  id: e(r)(t),
25
25
  key: e(r)(t),
26
26
  isLazy: u(d)
27
27
  }, {
28
28
  default: i(() => [
29
- (s(), l(T(k.value), {
29
+ (s(), c(T(g.value), {
30
30
  id: e(r)(t),
31
31
  spec: o.spec,
32
32
  tag: t
33
33
  }, {
34
34
  default: i(() => [
35
- (s(!0), f(y, null, v(t.operations, (a, B) => (s(), l(e(L), {
36
- id: e(c)(a, t),
35
+ (s(!0), f(y, null, v(t.operations, (a, B) => (s(), c(e(L), {
36
+ id: e(l)(a, t),
37
37
  key: `${a.httpVerb}-${a.operationId}`,
38
38
  isLazy: u(d) || e(m)[e(r)(t)] && B > 0
39
39
  }, {
@@ -41,10 +41,10 @@ const K = /* @__PURE__ */ C({
41
41
  _(e(b), null, {
42
42
  default: i(() => [
43
43
  _(e(A), {
44
- id: e(c)(a, t),
44
+ id: e(l)(a, t),
45
45
  collection: e(I),
46
46
  layout: o.layout,
47
- server: e(g),
47
+ server: e(S),
48
48
  transformedOperation: a
49
49
  }, null, 8, ["id", "collection", "layout", "server", "transformedOperation"])
50
50
  ]),
@@ -0,0 +1,70 @@
1
+ import type { Spec, Tag as TagType } from '@scalar/types/legacy';
2
+ import { nextTick } from 'vue';
3
+ type __VLS_Props = {
4
+ id?: string;
5
+ tag: TagType;
6
+ spec: Spec;
7
+ };
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ default?(_: {}): any;
12
+ };
13
+ refs: {
14
+ sectionContainerRef: ({
15
+ $: import("vue").ComponentInternalInstance;
16
+ $data: {};
17
+ $props: Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
18
+ $attrs: {
19
+ [x: string]: unknown;
20
+ };
21
+ $refs: {
22
+ [x: string]: unknown;
23
+ };
24
+ $slots: Readonly<{
25
+ [name: string]: import("vue").Slot<any> | undefined;
26
+ }>;
27
+ $root: import("vue").ComponentPublicInstance | null;
28
+ $parent: import("vue").ComponentPublicInstance | null;
29
+ $host: Element | null;
30
+ $emit: (event: string, ...args: any[]) => void;
31
+ $el: HTMLDivElement;
32
+ $options: import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
33
+ beforeCreate?: (() => void) | (() => void)[];
34
+ created?: (() => void) | (() => void)[];
35
+ beforeMount?: (() => void) | (() => void)[];
36
+ mounted?: (() => void) | (() => void)[];
37
+ beforeUpdate?: (() => void) | (() => void)[];
38
+ updated?: (() => void) | (() => void)[];
39
+ activated?: (() => void) | (() => void)[];
40
+ deactivated?: (() => void) | (() => void)[];
41
+ beforeDestroy?: (() => void) | (() => void)[];
42
+ beforeUnmount?: (() => void) | (() => void)[];
43
+ destroyed?: (() => void) | (() => void)[];
44
+ unmounted?: (() => void) | (() => void)[];
45
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
46
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
47
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
48
+ };
49
+ $forceUpdate: () => void;
50
+ $nextTick: typeof nextTick;
51
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
52
+ } & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
53
+ $slots: {
54
+ default?(_: {}): any;
55
+ };
56
+ }) | null;
57
+ contentsRef: HTMLDivElement;
58
+ };
59
+ rootEl: HTMLDivElement;
60
+ };
61
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
62
+ 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>;
63
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
64
+ export default _default;
65
+ type __VLS_WithTemplateSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
70
+ //# sourceMappingURL=TagSection.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagSection.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AASpD,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,IAAI,EAAE,IAAI,CAAA;CACX,CAAC;AAgCF,iBAAS,cAAc;WAyFT,OAAO,IAA6B;;yBAVpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4DqihB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;EA7C3rhB;AAmBD,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"}
@@ -0,0 +1,7 @@
1
+ import o from "./TagSection.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-78c703a9"]]);
5
+ export {
6
+ m as default
7
+ };
@@ -0,0 +1,65 @@
1
+ import { defineComponent as k, ref as f, useId as y, computed as u, 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 "./Tag.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 M = /* @__PURE__ */ k({
8
+ __name: "TagSection",
9
+ props: {
10
+ id: {},
11
+ tag: {},
12
+ spec: {}
13
+ },
14
+ setup(m) {
15
+ const o = m, p = f(), s = f(), i = y(), { collapsedSidebarItems: l } = R(), { getTagId: c } = N(), d = u(
16
+ () => {
17
+ var e, t;
18
+ return ((e = o.spec.tags) == null ? void 0 : e.length) && ((t = o.spec.tags) == null ? void 0 : t.length) > 1;
19
+ }
20
+ ), g = u(
21
+ () => {
22
+ var e, t;
23
+ return d.value || ((e = o.tag) == null ? void 0 : e.name) !== "default" || ((t = o.tag) == null ? void 0 : t.description) !== "";
24
+ }
25
+ );
26
+ async function h() {
27
+ var e, t;
28
+ await T(), (t = (e = s.value) == null ? void 0 : e.querySelector("button")) == null || t.focus();
29
+ }
30
+ return (e, t) => (n(), r(a(B), {
31
+ ref_key: "sectionContainerRef",
32
+ ref: p,
33
+ "aria-labelledby": a(i),
34
+ class: "tag-section-container",
35
+ role: "region"
36
+ }, {
37
+ default: C(() => [
38
+ g.value ? (n(), r(w, {
39
+ key: 0,
40
+ id: e.id,
41
+ headerId: a(i),
42
+ isCollapsed: !a(l)[a(c)(e.tag)],
43
+ tag: e.tag
44
+ }, null, 8, ["id", "headerId", "isCollapsed", "tag"])) : b("", !0),
45
+ !a(l)[a(c)(e.tag)] && d.value ? (n(), r(I, {
46
+ key: 1,
47
+ id: e.id ?? "",
48
+ "aria-label": `Show all ${e.tag["x-displayName"] ?? e.tag.name} endpoints`,
49
+ onClick: h
50
+ }, null, 8, ["id", "aria-label"])) : (n(), S("div", {
51
+ key: 2,
52
+ ref_key: "contentsRef",
53
+ ref: s,
54
+ class: "contents"
55
+ }, [
56
+ v(e.$slots, "default", {}, void 0, !0)
57
+ ], 512))
58
+ ]),
59
+ _: 3
60
+ }, 8, ["aria-labelledby"]));
61
+ }
62
+ });
63
+ export {
64
+ M as default
65
+ };
@@ -1,4 +1,3 @@
1
- export { default as Tag } from './Tag.vue.js';
2
- export { default as TagAccordion } from './TagAccordion.vue.js';
1
+ export { default as TagSection } from './TagSection.vue.js';
3
2
  export { default as TagList } from './TagList.vue.js';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA"}
@@ -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":"AA+cA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,OAAO,CAAA;CACf,CAAC;;;YAIwC,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 f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-7f17a9e3"]]);
4
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-386e82f2"]]);
5
5
  export {
6
6
  f as default
7
7
  };
@@ -26,15 +26,15 @@ const A = { class: "start custom-scroll" }, x = { class: "start-copy" }, k = { c
26
26
  );
27
27
  g("updateContent", await s.text());
28
28
  }
29
- return (s, a) => (o(), i("div", A, [
29
+ return (s, t) => (o(), i("div", A, [
30
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)),
31
+ t[3] || (t[3] = r('<div class="start-logo" data-v-386e82f2><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-386e82f2><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-386e82f2></path></svg></div><h1 class="start-h1" data-v-386e82f2>Swagger Editor</h1><p class="start-p" data-v-386e82f2> 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", k, [
33
33
  n(l(c), {
34
34
  fullWidth: "",
35
35
  onClick: m
36
36
  }, {
37
- default: d(() => a[1] || (a[1] = [
37
+ default: d(() => t[1] || (t[1] = [
38
38
  p(" Show Example ")
39
39
  ])),
40
40
  _: 1
@@ -42,9 +42,9 @@ const A = { class: "start custom-scroll" }, x = { class: "start-copy" }, k = { c
42
42
  n(l(c), {
43
43
  fullWidth: "",
44
44
  variant: "outlined",
45
- onClick: a[0] || (a[0] = (t) => s.$emit("loadSwaggerFile"))
45
+ onClick: t[0] || (t[0] = (a) => s.$emit("loadSwaggerFile"))
46
46
  }, {
47
- default: d(() => a[2] || (a[2] = [
47
+ default: d(() => t[2] || (t[2] = [
48
48
  p(" Upload File ")
49
49
  ])),
50
50
  _: 1
@@ -52,17 +52,17 @@ const A = { class: "start custom-scroll" }, x = { class: "start-copy" }, k = { c
52
52
  ])
53
53
  ]),
54
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)),
55
+ t[5] || (t[5] = r('<div class="start-section start-section-integrations" data-v-386e82f2><div class="start-h2" data-v-386e82f2>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-386e82f2><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-386e82f2><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-386e82f2></path></svg><span data-v-386e82f2>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-386e82f2><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-386e82f2><g data-v-386e82f2><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-386e82f2></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-386e82f2></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-386e82f2></path></g></svg><span data-v-386e82f2>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-386e82f2><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-386e82f2><g fill="currentColor" fill-rule="nonzero" data-v-386e82f2><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-386e82f2></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-386e82f2></polygon></g></svg><span data-v-386e82f2>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-386e82f2><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-386e82f2><g fill="none" fill-rule="evenodd" data-v-386e82f2><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-386e82f2></circle><g stroke="currentColor" data-v-386e82f2><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-386e82f2></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-386e82f2></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-386e82f2></ellipse></g></g></svg><span data-v-386e82f2>React</span></a></div>', 1)),
56
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))
57
+ t[4] || (t[4] = e("p", { class: "start-h2" }, "THEMING", -1)),
58
+ (o(), i(w, null, y(h, (a) => e("div", {
59
+ key: a,
60
+ class: C(["start-item", { "start-item-active": a === s.theme }]),
61
+ onClick: (_) => s.$emit("changeTheme", { id: a, label: l(f)[a] })
62
+ }, S(l(f)[a]), 11, F)), 64))
63
63
  ])
64
64
  ]),
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))
65
+ t[6] || (t[6] = r('<p class="start-h1" data-v-386e82f2>Features</p><ul class="start-ul" data-v-386e82f2><li data-v-386e82f2><p class="start-h3" data-v-386e82f2>Customize</p> Bring your typography &amp; color palettes, or use our themes! </li><li data-v-386e82f2><p class="start-h3" data-v-386e82f2>Testing</p> A deeply integrated Rest API Client (Also Free &amp; Open-Source) </li><li data-v-386e82f2><p class="start-h3" data-v-386e82f2>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-386e82f2><p class="start-h3" data-v-386e82f2>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-386e82f2><p class="start-h3" data-v-386e82f2>OpenAPI &amp; Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-386e82f2><p class="start-h3" data-v-386e82f2>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2))
66
66
  ]));
67
67
  }
68
68
  });
@@ -1,4 +1,4 @@
1
- import type { ReferenceLayoutProps, ReferenceLayoutSlots } from '../../types';
1
+ import type { InternalReferenceProps, ReferenceLayoutSlots } from '../../types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: Readonly<ReferenceLayoutSlots> & ReferenceLayoutSlots;
@@ -6,10 +6,10 @@ declare function __VLS_template(): {
6
6
  rootEl: any;
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import("vue").DefineComponent<ReferenceLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ declare const __VLS_component: import("vue").DefineComponent<InternalReferenceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
10
  updateContent: (v: string) => any;
11
11
  toggleDarkMode: () => any;
12
- }, string, import("vue").PublicProps, Readonly<ReferenceLayoutProps> & Readonly<{
12
+ }, string, import("vue").PublicProps, Readonly<InternalReferenceProps> & Readonly<{
13
13
  onUpdateContent?: ((v: string) => any) | undefined;
14
14
  onToggleDarkMode?: (() => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
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
+ {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAwB3E,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
  /**
2
2
  * This component allows dynamic selection of various layout configurations
3
3
  */
4
- import type { ReferenceLayoutProps, ReferenceLayoutSlots } from '../../types';
4
+ import type { InternalReferenceProps, ReferenceLayoutSlots } from '../../types';
5
5
  declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
7
7
  slots: Readonly<ReferenceLayoutSlots> & ReferenceLayoutSlots;
@@ -9,10 +9,10 @@ declare function __VLS_template(): {
9
9
  rootEl: any;
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import("vue").DefineComponent<ReferenceLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ declare const __VLS_component: import("vue").DefineComponent<InternalReferenceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
13
  updateContent: (v: string) => any;
14
14
  toggleDarkMode: () => any;
15
- }, string, import("vue").PublicProps, Readonly<ReferenceLayoutProps> & Readonly<{
15
+ }, string, import("vue").PublicProps, Readonly<InternalReferenceProps> & Readonly<{
16
16
  onUpdateContent?: ((v: string) => any) | undefined;
17
17
  onToggleDarkMode?: (() => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"Layouts.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/Layouts.vue"],"names":[],"mappings":"AAwCA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AA2B7E,iBAAS,cAAc;WAuET,OAAO,IAA6B;;;;EAKjD;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAOnB,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":"Layouts.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/Layouts.vue"],"names":[],"mappings":"AAyCA;;GAEG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AA4B3E,iBAAS,cAAc;WAuET,OAAO,IAA6B;;;;EAKjD;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAOnB,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,4 +1,4 @@
1
- import type { ReferenceLayoutProps, ReferenceLayoutSlots } from '../../types';
1
+ import type { InternalReferenceProps, ReferenceLayoutSlots } from '../../types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: Readonly<ReferenceLayoutSlots> & ReferenceLayoutSlots;
@@ -6,10 +6,10 @@ declare function __VLS_template(): {
6
6
  rootEl: any;
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import("vue").DefineComponent<ReferenceLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ declare const __VLS_component: import("vue").DefineComponent<InternalReferenceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
10
  updateContent: (v: string) => any;
11
11
  toggleDarkMode: () => any;
12
- }, string, import("vue").PublicProps, Readonly<ReferenceLayoutProps> & Readonly<{
12
+ }, string, import("vue").PublicProps, Readonly<InternalReferenceProps> & Readonly<{
13
13
  onUpdateContent?: ((v: string) => any) | undefined;
14
14
  onToggleDarkMode?: (() => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue"],"names":[],"mappings":"AAuHA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAsC7E,iBAAS,cAAc;WAsJT,OAAO,IAA6B;;;;EAKjD;AAiBD,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":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue"],"names":[],"mappings":"AAyHA,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAoC3E,iBAAS,cAAc;WAsJT,OAAO,IAA6B;;;;EAKjD;AAiBD,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"}
@@ -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 e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3ca2ed96"]]);
5
+ const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fd0d609b"]]);
6
6
  export {
7
- e as default
7
+ d as default
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AA6GA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAuBF,iBAAS,cAAc;WAoFT,OAAO,IAA6B;;yBATpB,GAAG;yBACH,GAAG;;;;EAahC;AAYD,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":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AAmHA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAyBF,iBAAS,cAAc;WAoFT,OAAO,IAA6B;;yBATpB,GAAG;yBACH,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,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 p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b32ceff4"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-21da4905"]]);
5
5
  export {
6
- p as default
6
+ r as default
7
7
  };