@scalar/api-reference 1.31.7 → 1.31.9
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 +55 -0
- package/dist/browser/standalone.js +18613 -18470
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +10 -30
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +240 -222
- package/dist/components/Content/Content.vue.d.ts +2 -0
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +2 -2
- package/dist/components/Content/Content.vue2.js +84 -74
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -3
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
- package/dist/components/Content/Introduction/Introduction.vue2.js +93 -83
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Loading.vue.js +84 -86
- package/dist/components/Content/Models/Models.vue.js +1 -1
- package/dist/components/Content/Models/Models.vue2.js +4 -4
- 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 +53 -53
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +117 -112
- 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 +161 -191
- package/dist/components/Content/Schema/helpers/schema-name.d.ts +13 -0
- package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.js +59 -13
- package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/OperationsList.vue.js +1 -1
- package/dist/components/Content/Tag/OperationsList.vue2.js +22 -25
- package/dist/components/Content/Tag/OperationsListItem.vue.d.ts +2 -3
- package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/OperationsListItem.vue.js +2 -2
- package/dist/components/Content/Tag/OperationsListItem.vue2.js +46 -47
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Tag.vue.js +45 -47
- package/dist/components/Content/Tag/TagList.vue.d.ts +2 -0
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.js +40 -41
- package/dist/components/Content/Tag/TagSection.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagSection.vue.js +2 -2
- package/dist/components/Content/Tag/TagSection.vue2.js +21 -21
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +16 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +12 -11
- package/dist/components/MobileHeader.vue.d.ts +1 -8
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.js +1 -1
- package/dist/components/MobileHeader.vue2.js +19 -19
- package/dist/components/Section/Section.vue.js +2 -2
- package/dist/components/Section/Section.vue2.js +1 -1
- package/dist/components/ShowMoreButton.vue.js +2 -2
- package/dist/components/ShowMoreButton.vue2.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts +2 -4
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue2.js +113 -159
- package/dist/components/Sidebar/SidebarElement.vue.d.ts +2 -11
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarElement.vue2.js +85 -81
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts +16 -1
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarHttpBadge.vue.js +2 -2
- package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +11 -5
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.js +54 -42
- package/dist/features/ApiClientModal/useApiClient.d.ts +74 -72
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts +0 -2
- package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts.map +1 -1
- package/dist/features/DocumentSource/hooks/useDocumentSource.js +40 -67
- package/dist/features/DownloadLink/DownloadLink.vue.js +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +5 -5
- 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 +200 -179
- package/dist/features/Operation/Operation.vue.d.ts +0 -1
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +31 -34
- package/dist/features/Operation/components/OperationParameters.vue.d.ts +3 -2
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.js +62 -64
- package/dist/features/Operation/components/OperationResponses.vue.d.ts +1 -2
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.js +2 -2
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +3 -3
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +31 -38
- package/dist/features/Operation/hooks/useResponses.d.ts +3 -3
- package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -1
- package/dist/features/Operation/hooks/useResponses.js +12 -13
- package/dist/features/Operation/index.d.ts +0 -1
- package/dist/features/Operation/index.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +4 -6
- 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 +85 -72
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +2 -4
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +114 -98
- package/dist/features/Search/SearchModal.vue.js +2 -2
- package/dist/features/Search/SearchModal.vue2.js +1 -1
- package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
- package/dist/features/Search/useSearchIndex.js +61 -64
- package/dist/features/sidebar/helpers/create-sidebar.d.ts +4 -2
- package/dist/features/sidebar/helpers/create-sidebar.d.ts.map +1 -1
- package/dist/features/sidebar/helpers/create-sidebar.js +33 -0
- package/dist/features/sidebar/hooks/useSidebar.d.ts +2 -3
- package/dist/features/sidebar/hooks/useSidebar.d.ts.map +1 -1
- package/dist/features/sidebar/hooks/useSidebar.js +18 -0
- package/dist/features/sidebar/index.d.ts +2 -1
- package/dist/features/sidebar/index.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/get-tag.d.ts +4 -2
- package/dist/features/traverse-schema/helpers/get-tag.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/get-tag.js +7 -0
- package/dist/features/traverse-schema/helpers/traverse-description.js +33 -0
- package/dist/features/traverse-schema/helpers/traverse-document.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-document.js +34 -0
- package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +5 -3
- package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-paths.js +32 -0
- package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts +2 -2
- package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-schemas.js +23 -0
- package/dist/features/traverse-schema/helpers/traverse-tags.d.ts +2 -2
- package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-tags.js +43 -0
- package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts +2 -2
- package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-webhooks.js +26 -0
- package/dist/features/traverse-schema/index.d.ts +3 -3
- package/dist/features/traverse-schema/index.d.ts.map +1 -1
- package/dist/features/traverse-schema/types.d.ts +8 -5
- package/dist/features/traverse-schema/types.d.ts.map +1 -1
- package/dist/helpers/parse.d.ts +2 -1
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/parse.js +72 -88
- package/dist/hooks/useMultipleDocuments.d.ts +6 -6
- package/dist/hooks/useMultipleDocuments.d.ts.map +1 -1
- package/dist/hooks/useNavState.d.ts +1 -1
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/hooks/useNavState.js +14 -9
- package/dist/hooks/useOperation.d.ts +7 -7
- package/dist/hooks/useOperation.d.ts.map +1 -1
- package/dist/hooks/useOperation.js +13 -12
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -25
- package/dist/legacy/fixtures/index.d.ts +1 -1
- package/dist/libs/openapi.d.ts +3 -4
- package/dist/libs/openapi.d.ts.map +1 -1
- package/dist/libs/openapi.js +8 -9
- package/dist/style.css +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +4 -18
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +68 -45
- package/package.json +17 -17
- package/dist/components/Content/Webhooks/index.d.ts +0 -2
- package/dist/components/Content/Webhooks/index.d.ts.map +0 -1
- package/dist/features/Operation/Webhooks.vue.d.ts +0 -7
- package/dist/features/Operation/Webhooks.vue.d.ts.map +0 -1
- package/dist/features/Operation/Webhooks.vue.js +0 -7
- package/dist/features/Operation/Webhooks.vue2.js +0 -121
- package/dist/features/Operation/components/Webhook.vue.d.ts +0 -7
- package/dist/features/Operation/components/Webhook.vue.d.ts.map +0 -1
- package/dist/features/Operation/components/Webhook.vue.js +0 -7
- package/dist/features/Operation/components/Webhook.vue2.js +0 -29
- package/dist/features/traverse-schema/helpers/operation-id-params.d.ts +0 -8
- package/dist/features/traverse-schema/helpers/operation-id-params.d.ts.map +0 -1
- package/dist/features/traverse-schema/helpers/operation-id-params.js +0 -8
- package/dist/hooks/useSidebar.d.ts +0 -53
- package/dist/hooks/useSidebar.d.ts.map +0 -1
- package/dist/hooks/useSidebar.js +0 -248
- package/dist/legacy/fixtures/httpRequestMethods.js +0 -14
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import I from "../../Card/Card.vue.js";
|
|
1
|
+
import { defineComponent as u, computed as f, createBlock as m, createCommentVNode as C, openBlock as o, unref as a, withCtx as t, createVNode as r, createTextVNode as p, toDisplayString as g, createElementVNode as k, createElementBlock as y, Fragment as N, renderList as _ } from "vue";
|
|
2
|
+
import O from "../../ScreenReader.vue.js";
|
|
3
|
+
import B from "./OperationsListItem.vue.js";
|
|
4
|
+
import V from "../../Card/Card.vue.js";
|
|
6
5
|
import L from "../../Card/CardHeader.vue.js";
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
const h = ["aria-label"], $ = /* @__PURE__ */ f({
|
|
6
|
+
import b from "../../Card/CardContent.vue.js";
|
|
7
|
+
const h = ["aria-label"], F = /* @__PURE__ */ u({
|
|
10
8
|
__name: "OperationsList",
|
|
11
9
|
props: {
|
|
12
10
|
tag: {},
|
|
@@ -14,42 +12,41 @@ const h = ["aria-label"], $ = /* @__PURE__ */ f({
|
|
|
14
12
|
isCollapsed: { type: Boolean }
|
|
15
13
|
},
|
|
16
14
|
setup(c) {
|
|
17
|
-
const l = c,
|
|
15
|
+
const l = c, n = f(() => l.tag["x-displayName"] ?? l.tag.name);
|
|
18
16
|
return (e, s) => {
|
|
19
17
|
var i;
|
|
20
|
-
return ((i = e.tag.operations) == null ? void 0 : i.length) > 0 ? (
|
|
18
|
+
return ((i = e.tag.operations) == null ? void 0 : i.length) > 0 ? (o(), m(a(V), {
|
|
21
19
|
key: 0,
|
|
22
20
|
class: "scalar-card-sticky"
|
|
23
21
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
r(
|
|
26
|
-
default:
|
|
27
|
-
r(
|
|
28
|
-
default:
|
|
29
|
-
|
|
22
|
+
default: t(() => [
|
|
23
|
+
r(a(L), { muted: "" }, {
|
|
24
|
+
default: t(() => [
|
|
25
|
+
r(O, null, {
|
|
26
|
+
default: t(() => [
|
|
27
|
+
p(g(n.value), 1)
|
|
30
28
|
]),
|
|
31
29
|
_: 1
|
|
32
30
|
}),
|
|
33
|
-
s[0] || (s[0] =
|
|
31
|
+
s[0] || (s[0] = p(" Operations "))
|
|
34
32
|
]),
|
|
35
33
|
_: 1
|
|
36
34
|
}),
|
|
37
|
-
r(
|
|
35
|
+
r(a(b), {
|
|
38
36
|
class: "custom-scroll",
|
|
39
37
|
muted: ""
|
|
40
38
|
}, {
|
|
41
|
-
default:
|
|
39
|
+
default: t(() => [
|
|
42
40
|
k("ul", {
|
|
43
41
|
"aria-label": `${n.value} endpoints`,
|
|
44
42
|
class: "endpoints"
|
|
45
43
|
}, [
|
|
46
|
-
(
|
|
47
|
-
key:
|
|
44
|
+
(o(!0), y(N, null, _(e.tag.operations, (d) => (o(), m(B, {
|
|
45
|
+
key: d.id,
|
|
48
46
|
collection: e.collection,
|
|
49
47
|
isCollapsed: e.isCollapsed,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}, null, 8, ["collection", "isCollapsed", "tag", "transformedOperation"]))), 128))
|
|
48
|
+
transformedOperation: d
|
|
49
|
+
}, null, 8, ["collection", "isCollapsed", "transformedOperation"]))), 128))
|
|
53
50
|
], 8, h)
|
|
54
51
|
]),
|
|
55
52
|
_: 1
|
|
@@ -61,5 +58,5 @@ const h = ["aria-label"], $ = /* @__PURE__ */ f({
|
|
|
61
58
|
}
|
|
62
59
|
});
|
|
63
60
|
export {
|
|
64
|
-
|
|
61
|
+
F as default
|
|
65
62
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { Collection } from '@scalar/oas-utils/entities/spec';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TransformedOperation } from '@scalar/types/legacy';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
transformedOperation: TransformedOperation;
|
|
5
|
-
tag: Tag;
|
|
6
5
|
collection: Collection;
|
|
7
6
|
isCollapsed?: boolean;
|
|
8
7
|
};
|
|
9
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
10
9
|
export default _default;
|
|
11
10
|
//# sourceMappingURL=OperationsListItem.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationsListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/OperationsListItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OperationsListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/OperationsListItem.vue"],"names":[],"mappings":"AAyHA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AACjE,OAAO,KAAK,EAEV,oBAAoB,EAErB,MAAM,sBAAsB,CAAA;AAU7B,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAmJF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./OperationsListItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-fd24f64e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,69 +1,68 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
import T from "../../Section/SectionHeaderTag.vue.js";
|
|
10
|
-
import $ from "../../HttpMethod/HttpMethod.vue.js";
|
|
11
|
-
const b = ["href"], J = /* @__PURE__ */ h({
|
|
1
|
+
import { defineComponent as f, computed as c, createElementBlock as h, openBlock as r, createBlock as i, createCommentVNode as s, createElementVNode as n, unref as t, withCtx as u, createTextVNode as O, toDisplayString as l, withModifiers as y, createVNode as k, normalizeStyle as C, normalizeClass as V } from "vue";
|
|
2
|
+
import { getHttpMethodInfo as b } from "@scalar/helpers/http/http-info";
|
|
3
|
+
import { ScalarIconWebhooksLogo as g } from "@scalar/icons";
|
|
4
|
+
import { isOperationDeprecated as v } from "../../../libs/openapi.js";
|
|
5
|
+
import { useSidebar as w } from "../../../features/sidebar/hooks/useSidebar.js";
|
|
6
|
+
import S from "../../Section/SectionHeaderTag.vue.js";
|
|
7
|
+
import B from "../../HttpMethod/HttpMethod.vue.js";
|
|
8
|
+
const H = ["href"], N = { class: "flex min-w-[62px] flex-row items-center justify-end gap-2" }, W = /* @__PURE__ */ f({
|
|
12
9
|
__name: "OperationsListItem",
|
|
13
10
|
props: {
|
|
14
11
|
transformedOperation: {},
|
|
15
|
-
tag: {},
|
|
16
12
|
collection: {},
|
|
17
13
|
isCollapsed: { type: Boolean }
|
|
18
14
|
},
|
|
19
15
|
setup(a) {
|
|
20
|
-
const {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
])
|
|
31
|
-
}), u = O(() => {
|
|
32
|
-
var e, o;
|
|
33
|
-
return ((e = r.value) == null ? void 0 : e.summary) || ((o = r.value) == null ? void 0 : o.path);
|
|
34
|
-
});
|
|
35
|
-
return (e, o) => t(r) ? (l(), g("li", {
|
|
36
|
-
key: t(n)(t(s)(e.transformedOperation), e.tag),
|
|
16
|
+
const { scrollToOperation: m } = w(), p = async (e) => {
|
|
17
|
+
m(e.id, !0);
|
|
18
|
+
}, d = c(
|
|
19
|
+
() => {
|
|
20
|
+
var e, o;
|
|
21
|
+
return ((e = a.transformedOperation) == null ? void 0 : e.name) || ((o = a.transformedOperation) == null ? void 0 : o.path);
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
return (e, o) => (r(), h("li", {
|
|
25
|
+
key: e.transformedOperation.id,
|
|
37
26
|
class: "contents"
|
|
38
27
|
}, [
|
|
39
|
-
e.isCollapsed ? (
|
|
28
|
+
e.isCollapsed ? (r(), i(t(S), {
|
|
40
29
|
key: 0,
|
|
41
30
|
class: "sr-only",
|
|
42
31
|
level: 3
|
|
43
32
|
}, {
|
|
44
|
-
default:
|
|
45
|
-
|
|
33
|
+
default: u(() => [
|
|
34
|
+
O(l(d.value) + " (Hidden) ", 1)
|
|
46
35
|
]),
|
|
47
36
|
_: 1
|
|
48
|
-
})) :
|
|
49
|
-
|
|
37
|
+
})) : s("", !0),
|
|
38
|
+
n("a", {
|
|
50
39
|
class: "endpoint",
|
|
51
|
-
href: `#${
|
|
52
|
-
onClick: o[0] || (o[0] = y((
|
|
40
|
+
href: `#${e.transformedOperation.id}`,
|
|
41
|
+
onClick: o[0] || (o[0] = y((I) => p(e.transformedOperation), ["prevent"]))
|
|
53
42
|
}, [
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
43
|
+
n("div", N, [
|
|
44
|
+
e.transformedOperation.isWebhook ? (r(), i(t(g), {
|
|
45
|
+
key: 0,
|
|
46
|
+
style: C({
|
|
47
|
+
color: t(b)(e.transformedOperation.httpVerb).colorVar
|
|
48
|
+
})
|
|
49
|
+
}, null, 8, ["style"])) : s("", !0),
|
|
50
|
+
k(t(B), {
|
|
51
|
+
class: "endpoint-method min-w-0",
|
|
52
|
+
method: e.transformedOperation.httpVerb
|
|
53
|
+
}, null, 8, ["method"])
|
|
54
|
+
]),
|
|
55
|
+
n("span", {
|
|
56
|
+
class: V(["endpoint-path", {
|
|
57
|
+
deprecated: t(v)(
|
|
58
|
+
e.transformedOperation.information
|
|
59
|
+
)
|
|
61
60
|
}])
|
|
62
|
-
},
|
|
63
|
-
], 8,
|
|
64
|
-
]))
|
|
61
|
+
}, l(e.transformedOperation.path), 3)
|
|
62
|
+
], 8, H)
|
|
63
|
+
]));
|
|
65
64
|
}
|
|
66
65
|
});
|
|
67
66
|
export {
|
|
68
|
-
|
|
67
|
+
W as default
|
|
69
68
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Tag.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Tag.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AACjE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAqB/C,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,GAAG,CAAA;IACR,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAuKF,wBAOG"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as C, computed as d, createBlock as m, openBlock as p, unref as e, withCtx as t, withDirectives as v, createVNode as o, createTextVNode as u, createCommentVNode as S, toDisplayString as _, vShow as h } from "vue";
|
|
2
2
|
import { ScalarMarkdown as w } from "@scalar/components";
|
|
3
|
-
import
|
|
4
|
-
import { useConfig as
|
|
3
|
+
import I from "../../ScreenReader.vue.js";
|
|
4
|
+
import { useConfig as N } from "../../../hooks/useConfig.js";
|
|
5
5
|
import { useNavState as k } from "../../../hooks/useNavState.js";
|
|
6
6
|
import y from "./OperationsList.vue.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
const
|
|
7
|
+
import T from "../../Section/Section.vue.js";
|
|
8
|
+
import B from "../../Section/SectionHeader.vue.js";
|
|
9
|
+
import L from "../../Anchor/Anchor.vue.js";
|
|
10
|
+
import V from "../../Section/SectionHeaderTag.vue.js";
|
|
11
|
+
import b from "../../Section/SectionContent.vue.js";
|
|
12
|
+
import D from "../../Section/SectionColumns.vue.js";
|
|
13
|
+
import s from "../../Section/SectionColumn.vue.js";
|
|
14
|
+
import H from "../../SpecificationExtension/SpecificationExtension.vue.js";
|
|
15
|
+
const P = /* @__PURE__ */ C({
|
|
16
16
|
__name: "Tag",
|
|
17
17
|
props: {
|
|
18
18
|
id: {},
|
|
@@ -21,29 +21,27 @@ const K = /* @__PURE__ */ c({
|
|
|
21
21
|
headerId: {},
|
|
22
22
|
isCollapsed: { type: Boolean }
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const l =
|
|
26
|
-
return (
|
|
27
|
-
id:
|
|
28
|
-
label:
|
|
24
|
+
setup(f) {
|
|
25
|
+
const l = f, { getTagId: c } = k(), i = N(), r = d(() => l.id || c(l.tag) || ""), g = d(() => l.tag["x-displayName"] ?? l.tag.name);
|
|
26
|
+
return (a, n) => (p(), m(e(T), {
|
|
27
|
+
id: r.value,
|
|
28
|
+
label: a.tag.name.toUpperCase(),
|
|
29
29
|
role: "none"
|
|
30
30
|
}, {
|
|
31
|
-
default:
|
|
32
|
-
|
|
33
|
-
default:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
t(e(L), {
|
|
39
|
-
id: o.headerId,
|
|
31
|
+
default: t(() => [
|
|
32
|
+
v(o(e(B), null, {
|
|
33
|
+
default: t(() => [
|
|
34
|
+
o(e(L), { id: r.value }, {
|
|
35
|
+
default: t(() => [
|
|
36
|
+
o(e(V), {
|
|
37
|
+
id: a.headerId,
|
|
40
38
|
level: 2
|
|
41
39
|
}, {
|
|
42
|
-
default:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
default:
|
|
46
|
-
|
|
40
|
+
default: t(() => [
|
|
41
|
+
u(_(g.value) + " ", 1),
|
|
42
|
+
a.isCollapsed ? (p(), m(I, { key: 0 }, {
|
|
43
|
+
default: t(() => n[0] || (n[0] = [
|
|
44
|
+
u(" (Collapsed)")
|
|
47
45
|
])),
|
|
48
46
|
_: 1
|
|
49
47
|
})) : S("", !0)
|
|
@@ -58,27 +56,27 @@ const K = /* @__PURE__ */ c({
|
|
|
58
56
|
}, 512), [
|
|
59
57
|
[h, !e(i).isLoading]
|
|
60
58
|
]),
|
|
61
|
-
|
|
59
|
+
o(e(b), {
|
|
62
60
|
loading: e(i).isLoading
|
|
63
61
|
}, {
|
|
64
|
-
default:
|
|
65
|
-
|
|
66
|
-
default:
|
|
67
|
-
|
|
68
|
-
default:
|
|
69
|
-
|
|
70
|
-
clamp:
|
|
71
|
-
value:
|
|
62
|
+
default: t(() => [
|
|
63
|
+
o(e(D), null, {
|
|
64
|
+
default: t(() => [
|
|
65
|
+
o(e(s), null, {
|
|
66
|
+
default: t(() => [
|
|
67
|
+
o(e(w), {
|
|
68
|
+
clamp: a.isCollapsed ? "7" : !1,
|
|
69
|
+
value: a.tag.description,
|
|
72
70
|
withImages: ""
|
|
73
71
|
}, null, 8, ["clamp", "value"])
|
|
74
72
|
]),
|
|
75
73
|
_: 1
|
|
76
74
|
}),
|
|
77
|
-
|
|
78
|
-
default:
|
|
79
|
-
|
|
80
|
-
collection:
|
|
81
|
-
tag:
|
|
75
|
+
o(e(s), null, {
|
|
76
|
+
default: t(() => [
|
|
77
|
+
o(y, {
|
|
78
|
+
collection: a.collection,
|
|
79
|
+
tag: a.tag
|
|
82
80
|
}, null, 8, ["collection", "tag"])
|
|
83
81
|
]),
|
|
84
82
|
_: 1
|
|
@@ -89,12 +87,12 @@ const K = /* @__PURE__ */ c({
|
|
|
89
87
|
]),
|
|
90
88
|
_: 1
|
|
91
89
|
}, 8, ["loading"]),
|
|
92
|
-
|
|
90
|
+
o(e(H), { value: a.tag }, null, 8, ["value"])
|
|
93
91
|
]),
|
|
94
92
|
_: 1
|
|
95
93
|
}, 8, ["id", "label"]));
|
|
96
94
|
}
|
|
97
95
|
});
|
|
98
96
|
export {
|
|
99
|
-
|
|
97
|
+
P as default
|
|
100
98
|
};
|
|
@@ -2,6 +2,8 @@ import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
|
|
|
2
2
|
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
3
3
|
import type { Spec, Tag as TagType } from '@scalar/types/legacy';
|
|
4
4
|
type __VLS_Props = {
|
|
5
|
+
/** Just to set the id for webhooks, for now */
|
|
6
|
+
id?: string;
|
|
5
7
|
collection: Collection;
|
|
6
8
|
tags: TagType[];
|
|
7
9
|
spec: Spec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AAkFA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AAkFA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAahE,KAAK,WAAW,GAAG;IACjB,+CAA+C;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GAAG,OAAO,CAAA;CAC7D,CAAC;;AA8HF,wBAMG"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarErrorBoundary as
|
|
3
|
-
import { useNavState as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
const G = /* @__PURE__ */ B({
|
|
1
|
+
import { defineComponent as S, computed as u, createElementBlock as f, openBlock as t, Fragment as p, renderList as y, createBlock as n, unref as o, withCtx as s, resolveDynamicComponent as B, createVNode as h } from "vue";
|
|
2
|
+
import { ScalarErrorBoundary as I } from "@scalar/components";
|
|
3
|
+
import { useNavState as T } from "../../../hooks/useNavState.js";
|
|
4
|
+
import C from "./TagAccordion.vue.js";
|
|
5
|
+
import b from "./TagSection.vue.js";
|
|
6
|
+
import { useSidebar as E } from "../../../features/sidebar/hooks/useSidebar.js";
|
|
7
|
+
import v from "../Lazy/Lazy.vue2.js";
|
|
8
|
+
import N from "../../../features/Operation/Operation.vue.js";
|
|
9
|
+
const q = /* @__PURE__ */ S({
|
|
11
10
|
__name: "TagList",
|
|
12
11
|
props: {
|
|
12
|
+
id: {},
|
|
13
13
|
collection: {},
|
|
14
14
|
tags: {},
|
|
15
15
|
spec: {},
|
|
@@ -18,40 +18,39 @@ const G = /* @__PURE__ */ B({
|
|
|
18
18
|
schemas: {}
|
|
19
19
|
},
|
|
20
20
|
setup(i) {
|
|
21
|
-
const {
|
|
22
|
-
() => i.layout === "classic" ?
|
|
23
|
-
),
|
|
24
|
-
() => i.tags.findIndex((
|
|
25
|
-
),
|
|
26
|
-
return (
|
|
27
|
-
id: e(
|
|
28
|
-
key: e(
|
|
29
|
-
isLazy: d
|
|
21
|
+
const { getTagId: a, hash: L } = T(), { collapsedSidebarItems: c } = E(), g = u(
|
|
22
|
+
() => i.layout === "classic" ? C : b
|
|
23
|
+
), z = u(
|
|
24
|
+
() => i.tags.findIndex((e) => !c[a(e)]) + 1
|
|
25
|
+
), m = (e) => i.layout !== "classic" && !L.value.startsWith("model") && e > z.value;
|
|
26
|
+
return (e, O) => (t(!0), f(p, null, y(e.tags, (r, d) => (t(), n(o(v), {
|
|
27
|
+
id: e.id || o(a)(r),
|
|
28
|
+
key: e.id || o(a)(r),
|
|
29
|
+
isLazy: m(d)
|
|
30
30
|
}, {
|
|
31
|
-
default:
|
|
32
|
-
(
|
|
33
|
-
id: e(
|
|
34
|
-
collection:
|
|
35
|
-
spec:
|
|
31
|
+
default: s(() => [
|
|
32
|
+
(t(), n(B(g.value), {
|
|
33
|
+
id: e.id || o(a)(r),
|
|
34
|
+
collection: e.collection,
|
|
35
|
+
spec: e.spec,
|
|
36
36
|
tag: r
|
|
37
37
|
}, {
|
|
38
|
-
default:
|
|
39
|
-
(
|
|
40
|
-
id:
|
|
41
|
-
key:
|
|
42
|
-
isLazy: d
|
|
38
|
+
default: s(() => [
|
|
39
|
+
(t(!0), f(p, null, y(r.operations, (l, k) => (t(), n(o(v), {
|
|
40
|
+
id: l.id,
|
|
41
|
+
key: l.id,
|
|
42
|
+
isLazy: m(d) || o(c)[o(a)(r)] && k > 0
|
|
43
43
|
}, {
|
|
44
|
-
default:
|
|
45
|
-
|
|
46
|
-
default:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}, null, 8, ["id", "collection", "layout", "schemas", "server", "transformedOperation"])
|
|
44
|
+
default: s(() => [
|
|
45
|
+
h(o(I), null, {
|
|
46
|
+
default: s(() => [
|
|
47
|
+
h(o(N), {
|
|
48
|
+
collection: e.collection,
|
|
49
|
+
layout: e.layout,
|
|
50
|
+
schemas: e.schemas,
|
|
51
|
+
server: e.server,
|
|
52
|
+
transformedOperation: l
|
|
53
|
+
}, null, 8, ["collection", "layout", "schemas", "server", "transformedOperation"])
|
|
55
54
|
]),
|
|
56
55
|
_: 2
|
|
57
56
|
}, 1024)
|
|
@@ -67,5 +66,5 @@ const G = /* @__PURE__ */ B({
|
|
|
67
66
|
}
|
|
68
67
|
});
|
|
69
68
|
export {
|
|
70
|
-
|
|
69
|
+
q as default
|
|
71
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TagSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagSection.vue"],"names":[],"mappings":"AAiFA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AACjE,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAUpD,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,IAAI,CAAA;CACX,CAAC;AAiCF,iBAAS,cAAc;WAyFT,OAAO,IAA6B;;yBAVpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4DwjgB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;EA7C9sgB;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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TagSection.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e5bbfee4"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as v, ref as f, useId as y, computed as r, createBlock as i, openBlock as n, unref as a, withCtx as C, createCommentVNode as b, createElementBlock as S, renderSlot as I, nextTick as T } from "vue";
|
|
2
|
+
import _ from "./Tag.vue.js";
|
|
3
3
|
import w from "../../ShowMoreButton.vue.js";
|
|
4
4
|
import { useNavState as B } from "../../../hooks/useNavState.js";
|
|
5
|
-
import { useSidebar as R } from "../../../hooks/useSidebar.js";
|
|
5
|
+
import { useSidebar as R } from "../../../features/sidebar/hooks/useSidebar.js";
|
|
6
6
|
import N from "../../Section/SectionContainer.vue.js";
|
|
7
|
-
const
|
|
7
|
+
const V = /* @__PURE__ */ v({
|
|
8
8
|
__name: "TagSection",
|
|
9
9
|
props: {
|
|
10
10
|
id: {},
|
|
@@ -13,49 +13,49 @@ const M = /* @__PURE__ */ k({
|
|
|
13
13
|
spec: {}
|
|
14
14
|
},
|
|
15
15
|
setup(m) {
|
|
16
|
-
const
|
|
16
|
+
const o = m, p = f(), s = f(), c = y(), { collapsedSidebarItems: d } = R(), { getTagId: g } = B(), l = r(() => o.id || g(o.tag) || ""), u = r(
|
|
17
17
|
() => {
|
|
18
18
|
var e, t;
|
|
19
|
-
return ((e =
|
|
19
|
+
return ((e = o.spec.tags) == null ? void 0 : e.length) && ((t = o.spec.tags) == null ? void 0 : t.length) > 1;
|
|
20
20
|
}
|
|
21
|
-
),
|
|
21
|
+
), h = r(
|
|
22
22
|
() => {
|
|
23
23
|
var e, t;
|
|
24
|
-
return
|
|
24
|
+
return u.value || ((e = o.tag) == null ? void 0 : e.name) !== "default" || ((t = o.tag) == null ? void 0 : t.description) !== "";
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
|
-
async function
|
|
27
|
+
async function k() {
|
|
28
28
|
var e, t;
|
|
29
|
-
await T(), (t = (e =
|
|
29
|
+
await T(), (t = (e = s.value) == null ? void 0 : e.querySelector("button")) == null || t.focus();
|
|
30
30
|
}
|
|
31
|
-
return (e, t) => (n(),
|
|
31
|
+
return (e, t) => (n(), i(a(N), {
|
|
32
32
|
ref_key: "sectionContainerRef",
|
|
33
33
|
ref: p,
|
|
34
|
-
"aria-labelledby":
|
|
34
|
+
"aria-labelledby": a(c),
|
|
35
35
|
class: "tag-section-container",
|
|
36
36
|
role: "region"
|
|
37
37
|
}, {
|
|
38
38
|
default: C(() => [
|
|
39
|
-
|
|
39
|
+
h.value ? (n(), i(_, {
|
|
40
40
|
key: 0,
|
|
41
41
|
id: e.id,
|
|
42
42
|
collection: e.collection,
|
|
43
|
-
headerId:
|
|
44
|
-
isCollapsed: !
|
|
43
|
+
headerId: a(c),
|
|
44
|
+
isCollapsed: !a(d)[l.value],
|
|
45
45
|
tag: e.tag
|
|
46
46
|
}, null, 8, ["id", "collection", "headerId", "isCollapsed", "tag"])) : b("", !0),
|
|
47
|
-
!
|
|
47
|
+
!a(d)[l.value] && u.value ? (n(), i(w, {
|
|
48
48
|
key: 1,
|
|
49
|
-
id:
|
|
49
|
+
id: l.value,
|
|
50
50
|
"aria-label": `Show all ${e.tag["x-displayName"] ?? e.tag.name} endpoints`,
|
|
51
|
-
onClick:
|
|
51
|
+
onClick: k
|
|
52
52
|
}, null, 8, ["id", "aria-label"])) : (n(), S("div", {
|
|
53
53
|
key: 2,
|
|
54
54
|
ref_key: "contentsRef",
|
|
55
|
-
ref:
|
|
55
|
+
ref: s,
|
|
56
56
|
class: "contents"
|
|
57
57
|
}, [
|
|
58
|
-
|
|
58
|
+
I(e.$slots, "default", {}, void 0, !0)
|
|
59
59
|
], 512))
|
|
60
60
|
]),
|
|
61
61
|
_: 3
|
|
@@ -63,5 +63,5 @@ const M = /* @__PURE__ */ k({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
export {
|
|
66
|
-
|
|
66
|
+
V as default
|
|
67
67
|
};
|
|
@@ -10,6 +10,21 @@ type __VLS_Props = {
|
|
|
10
10
|
/** The HTTP method to show */
|
|
11
11
|
method: OpenAPI.HttpMethod | string;
|
|
12
12
|
};
|
|
13
|
-
declare
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: any;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
24
|
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
15
30
|
//# sourceMappingURL=HttpMethod.vue.d.ts.map
|