@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.
- package/CHANGELOG.md +67 -0
- package/dist/browser/standalone.js +13272 -13158
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +40 -64
- package/dist/components/ApiReferenceLayout.vue.d.ts +2 -2
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +158 -159
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +69 -17
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +5 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +73 -94
- package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts +16 -0
- package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts.map +1 -0
- package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.js +36 -0
- package/dist/components/Content/Lazy/Loading.vue.js +15 -15
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +2 -2
- package/dist/components/Content/Schema/Schema.vue2.js +4 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +143 -124
- package/dist/components/Content/Tag/{Endpoints.vue.d.ts → OperationsList.vue.d.ts} +1 -3
- package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +1 -0
- package/dist/components/Content/Tag/OperationsList.vue.js +7 -0
- package/dist/components/Content/Tag/OperationsList.vue2.js +62 -0
- package/dist/components/Content/Tag/OperationsListItem.vue.d.ts +9 -0
- package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -0
- package/dist/components/Content/Tag/OperationsListItem.vue.js +7 -0
- package/dist/components/Content/Tag/OperationsListItem.vue2.js +66 -0
- package/dist/components/Content/Tag/Tag.vue.d.ts +4 -64
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Tag.vue.js +87 -5
- package/dist/components/Content/Tag/Tag.vue2.js +2 -63
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.js +11 -11
- package/dist/components/Content/Tag/TagSection.vue.d.ts +70 -0
- package/dist/components/Content/Tag/TagSection.vue.d.ts.map +1 -0
- package/dist/components/Content/Tag/TagSection.vue.js +7 -0
- package/dist/components/Content/Tag/TagSection.vue2.js +65 -0
- package/dist/components/Content/Tag/index.d.ts +1 -2
- package/dist/components/Content/Tag/index.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.js +1 -1
- package/dist/components/GettingStarted.vue2.js +13 -13
- package/dist/components/Layouts/ClassicLayout.vue.d.ts +3 -3
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/Layouts.vue.d.ts +3 -3
- package/dist/components/Layouts/Layouts.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.d.ts +3 -3
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.js +2 -2
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.js +2 -2
- package/dist/components/Section/CompactSection.vue2.js +30 -29
- package/dist/esm.d.ts +5 -3
- package/dist/esm.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts +2 -2
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/ApiClientModal/useApiClient.d.ts +386 -346
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue2.js +82 -74
- package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponse.vue.js +2 -2
- package/dist/features/ExampleResponses/ExampleResponse.vue2.js +11 -11
- package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue.js +2 -2
- package/dist/features/ExampleResponses/ExampleResponses.vue2.js +90 -78
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.js +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue2.js +29 -25
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue2.js +40 -47
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +54 -54
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +65 -67
- package/dist/helpers/get-request.d.ts +2 -1
- package/dist/helpers/get-request.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +0 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useConfig.d.ts +3 -3
- package/dist/hooks/useConfig.d.ts.map +1 -1
- package/dist/hooks/useConfig.js +5 -4
- package/dist/hooks/useReactiveSpec.d.ts +8 -8
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/hooks/useSidebar.js +126 -116
- package/dist/index.js +56 -62
- package/dist/libs/operation.d.ts +15 -0
- package/dist/libs/operation.d.ts.map +1 -0
- package/dist/libs/operation.js +16 -0
- package/dist/standalone/lib/html-api.d.ts +3 -3
- package/dist/standalone/lib/html-api.d.ts.map +1 -1
- package/dist/stores/useHttpClientStore.d.ts +1 -1
- package/dist/stores/useHttpClientStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +20 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +13 -13
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +0 -1
- package/dist/components/Content/Tag/Endpoints.vue.js +0 -7
- package/dist/components/Content/Tag/Endpoints.vue2.js +0 -161
- package/dist/helpers/operation.d.ts +0 -14
- package/dist/helpers/operation.d.ts.map +0 -1
- package/dist/helpers/operation.js +0 -18
- package/dist/hooks/useDeprecationWarnings.d.ts +0 -6
- package/dist/hooks/useDeprecationWarnings.d.ts.map +0 -1
- package/dist/hooks/useDeprecationWarnings.js +0 -20
- package/dist/standalone/lib/html-rendering.d.ts +0 -51
- package/dist/standalone/lib/html-rendering.d.ts.map +0 -1
- package/dist/standalone/lib/html-rendering.js +0 -54
|
@@ -1,7 +1,89 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
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
|
-
|
|
88
|
+
q as default
|
|
7
89
|
};
|
|
@@ -1,65 +1,4 @@
|
|
|
1
|
-
import
|
|
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
|
-
|
|
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":"
|
|
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
|
|
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 "./
|
|
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:
|
|
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
|
-
),
|
|
20
|
+
), k = p(
|
|
21
21
|
() => n.tags.findIndex((o) => !m[r(o)]) + 1
|
|
22
|
-
), u = (o) => n.layout !== "classic" && !z.value.startsWith("model") && o >
|
|
23
|
-
return (o, w) => (s(!0), f(y, null, v(o.tags, (t, d) => (s(),
|
|
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(),
|
|
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(),
|
|
36
|
-
id: e(
|
|
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(
|
|
44
|
+
id: e(l)(a, t),
|
|
45
45
|
collection: e(I),
|
|
46
46
|
layout: o.layout,
|
|
47
|
-
server: e(
|
|
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,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,
|
|
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":"
|
|
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-
|
|
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,
|
|
29
|
+
return (s, t) => (o(), i("div", A, [
|
|
30
30
|
e("div", x, [
|
|
31
|
-
|
|
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 & 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(() =>
|
|
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:
|
|
45
|
+
onClick: t[0] || (t[0] = (a) => s.$emit("loadSwaggerFile"))
|
|
46
46
|
}, {
|
|
47
|
-
default: d(() =>
|
|
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
|
-
|
|
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
|
-
|
|
58
|
-
(o(), i(w, null, y(h, (
|
|
59
|
-
key:
|
|
60
|
-
class: C(["start-item", { "start-item-active":
|
|
61
|
-
onClick: (_) => s.$emit("changeTheme", { id:
|
|
62
|
-
}, S(l(f)[
|
|
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
|
-
|
|
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 & 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 & 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 & 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 {
|
|
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<
|
|
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<
|
|
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,
|
|
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 {
|
|
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<
|
|
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<
|
|
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":"
|
|
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 {
|
|
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<
|
|
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<
|
|
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":"
|
|
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
|
|
5
|
+
const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fd0d609b"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
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":"
|
|
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
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-21da4905"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|