@scalar/api-reference 1.25.9 → 1.25.10
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 +23 -0
- package/dist/browser/standalone.js +12096 -12067
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +43 -42
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +51 -48
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +2 -2
- package/dist/components/Content/Models/Models.vue2.js +46 -48
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
- package/dist/components/Content/Operation/OperationAccordion.vue2.js +53 -49
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +1 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.js +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue2.js +30 -22
- package/dist/components/Content/Schema/Schema.vue.js +2 -2
- package/dist/components/Content/Tag/Endpoints.vue.d.ts +2 -0
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
- package/dist/components/Content/Tag/Endpoints.vue2.js +31 -29
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Tag.vue.js +3 -3
- package/dist/components/Content/Tag/Tag.vue2.js +15 -14
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhooks.vue.js +2 -2
- package/dist/components/Content/Webhooks/Webhooks.vue2.js +43 -45
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +3 -3
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.js +18 -17
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.js +2 -2
- package/dist/components/Layouts/ModernLayout.vue2.js +31 -28
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.js +2 -2
- package/dist/helpers/provideSymbols.d.ts +1 -0
- package/dist/helpers/provideSymbols.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.js +4 -3
- package/dist/index.js +59 -58
- package/dist/style.css +1 -1
- package/package.json +11 -11
|
@@ -1,50 +1,51 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { useClipboard as
|
|
12
|
-
|
|
1
|
+
import { defineComponent as m, inject as h, openBlock as p, createBlock as s, unref as e, createSlots as f, withCtx as i, createElementVNode as n, createVNode as t, toDisplayString as u, createCommentVNode as _, withModifiers as v } from "vue";
|
|
2
|
+
import { ScalarIcon as y, ScalarIconButton as C, ScalarMarkdown as S } from "@scalar/components";
|
|
3
|
+
import b from "./EndpointDetailsCard.vue.js";
|
|
4
|
+
import k from "./EndpointPath.vue.js";
|
|
5
|
+
import E from "./TestRequestButton.vue.js";
|
|
6
|
+
import T from "../../Section/SectionAccordion.vue.js";
|
|
7
|
+
import B from "../../HttpMethod/HttpMethod.vue.js";
|
|
8
|
+
import w from "../../Anchor/Anchor.vue.js";
|
|
9
|
+
import I from "./PathResponses/PathResponses.vue.js";
|
|
10
|
+
import N from "../../../features/ExampleRequest/ExampleRequest.vue.js";
|
|
11
|
+
import { useClipboard as R } from "../../../hooks/useClipboard.js";
|
|
12
|
+
import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as V } from "../../../helpers/provideSymbols.js";
|
|
13
|
+
const g = { class: "endpoint-header" }, A = { class: "endpoint-details" }, D = { class: "endpoint-label" }, M = { class: "endpoint-label-path" }, O = { class: "endpoint-label-name" }, P = { class: "endpoint-content" }, X = /* @__PURE__ */ m({
|
|
13
14
|
__name: "OperationAccordion",
|
|
14
15
|
props: {
|
|
15
16
|
id: {},
|
|
16
17
|
operation: {}
|
|
17
18
|
},
|
|
18
|
-
setup(
|
|
19
|
-
const { copyToClipboard:
|
|
20
|
-
return (o,
|
|
19
|
+
setup(U) {
|
|
20
|
+
const { copyToClipboard: c } = R(), r = h(V);
|
|
21
|
+
return console.log(!(r != null && r())), (o, d) => (p(), s(e(T), {
|
|
21
22
|
id: o.id,
|
|
22
23
|
class: "reference-endpoint",
|
|
23
24
|
transparent: ""
|
|
24
|
-
},
|
|
25
|
+
}, f({
|
|
25
26
|
title: i(() => [
|
|
26
|
-
n("h3",
|
|
27
|
-
n("div",
|
|
28
|
-
t(e(
|
|
27
|
+
n("h3", g, [
|
|
28
|
+
n("div", A, [
|
|
29
|
+
t(e(B), {
|
|
29
30
|
class: "endpoint-type",
|
|
30
31
|
method: o.operation.httpVerb,
|
|
31
32
|
short: ""
|
|
32
33
|
}, null, 8, ["method"]),
|
|
33
|
-
t(e(
|
|
34
|
+
t(e(w), {
|
|
34
35
|
id: o.id ?? "",
|
|
35
36
|
class: "endpoint-anchor"
|
|
36
37
|
}, {
|
|
37
38
|
default: i(() => {
|
|
38
39
|
var a;
|
|
39
40
|
return [
|
|
40
|
-
n("div",
|
|
41
|
-
n("div",
|
|
42
|
-
t(
|
|
41
|
+
n("div", D, [
|
|
42
|
+
n("div", M, [
|
|
43
|
+
t(k, {
|
|
43
44
|
deprecated: (a = o.operation.information) == null ? void 0 : a.deprecated,
|
|
44
45
|
path: o.operation.path
|
|
45
46
|
}, null, 8, ["deprecated", "path"])
|
|
46
47
|
]),
|
|
47
|
-
n("div",
|
|
48
|
+
n("div", O, u(o.operation.name), 1)
|
|
48
49
|
])
|
|
49
50
|
];
|
|
50
51
|
}),
|
|
@@ -53,30 +54,33 @@ const R = { class: "endpoint-header" }, g = { class: "endpoint-details" }, A = {
|
|
|
53
54
|
])
|
|
54
55
|
])
|
|
55
56
|
]),
|
|
56
|
-
actions: i(({ active: a }) =>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
57
|
+
actions: i(({ active: a }) => {
|
|
58
|
+
var l;
|
|
59
|
+
return [
|
|
60
|
+
a ? (p(), s(E, {
|
|
61
|
+
key: 0,
|
|
62
|
+
operation: o.operation
|
|
63
|
+
}, null, 8, ["operation"])) : (l = e(r)) != null && l() ? _("", !0) : (p(), s(e(y), {
|
|
64
|
+
key: 1,
|
|
65
|
+
class: "endpoint-try-hint",
|
|
66
|
+
icon: "Play",
|
|
67
|
+
thickness: "1.75px"
|
|
68
|
+
})),
|
|
69
|
+
t(e(C), {
|
|
70
|
+
class: "endpoint-copy",
|
|
71
|
+
icon: "Clipboard",
|
|
72
|
+
label: "Copy endpoint URL",
|
|
73
|
+
size: "xs",
|
|
74
|
+
variant: "ghost",
|
|
75
|
+
onClick: d[0] || (d[0] = v((L) => e(c)(o.operation.path), ["stop"]))
|
|
76
|
+
})
|
|
77
|
+
];
|
|
78
|
+
}),
|
|
75
79
|
default: i(() => [
|
|
76
|
-
n("div",
|
|
77
|
-
t(
|
|
78
|
-
t(e(
|
|
79
|
-
t(e(
|
|
80
|
+
n("div", P, [
|
|
81
|
+
t(b, { operation: o.operation }, null, 8, ["operation"]),
|
|
82
|
+
t(e(I), { operation: o.operation }, null, 8, ["operation"]),
|
|
83
|
+
t(e(N), { operation: o.operation }, null, 8, ["operation"])
|
|
80
84
|
])
|
|
81
85
|
]),
|
|
82
86
|
_: 2
|
|
@@ -84,7 +88,7 @@ const R = { class: "endpoint-header" }, g = { class: "endpoint-details" }, A = {
|
|
|
84
88
|
o.operation.description ? {
|
|
85
89
|
name: "description",
|
|
86
90
|
fn: i(() => [
|
|
87
|
-
t(e(
|
|
91
|
+
t(e(S), {
|
|
88
92
|
value: o.operation.description,
|
|
89
93
|
withImages: ""
|
|
90
94
|
}, null, 8, ["value"])
|
|
@@ -95,5 +99,5 @@ const R = { class: "endpoint-header" }, g = { class: "endpoint-details" }, A = {
|
|
|
95
99
|
}
|
|
96
100
|
});
|
|
97
101
|
export {
|
|
98
|
-
|
|
102
|
+
X as default
|
|
99
103
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./PathResponses.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b976599a"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -9,7 +9,7 @@ import q from "../../../Card/CardContent.vue.js";
|
|
|
9
9
|
import G from "../../../Card/CardFooter.vue.js";
|
|
10
10
|
import Q from "../../../../features/ExampleRequest/ExamplePicker.vue.js";
|
|
11
11
|
import { useClipboard as X } from "../../../../hooks/useClipboard.js";
|
|
12
|
-
const Y = (u) => (P("data-v-
|
|
12
|
+
const Y = (u) => (P("data-v-b976599a"), u = u(), A(), u), Z = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "scalar-card-checkbox"
|
|
15
15
|
}, $ = /* @__PURE__ */ Y(() => /* @__PURE__ */ w("span", { class: "scalar-card-checkbox-checkmark" }, null, -1)), z = { class: "scalar-card-container custom-scroll" }, ee = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/TestRequestButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/TestRequestButton.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eASnD,oBAAoB;;eAApB,oBAAoB;;AAkFjC,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./TestRequestButton.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-2e17b0a6"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,31 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
import { apiClientBus as
|
|
4
|
-
|
|
1
|
+
import { defineComponent as a, inject as m, unref as o, openBlock as r, createElementBlock as s, withModifiers as c, createVNode as u, Fragment as d, createTextVNode as l, pushScopeId as h, popScopeId as _, createElementVNode as f } from "vue";
|
|
2
|
+
import { ScalarIcon as T } from "@scalar/components";
|
|
3
|
+
import { apiClientBus as B } from "../../api-client-bus.js";
|
|
4
|
+
import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as S } from "../../../helpers/provideSymbols.js";
|
|
5
|
+
const b = (e) => (h("data-v-2e17b0a6"), e = e(), _(), e), E = ["method"], k = /* @__PURE__ */ b(() => /* @__PURE__ */ f("span", null, "Test Request", -1)), q = /* @__PURE__ */ a({
|
|
5
6
|
__name: "TestRequestButton",
|
|
6
7
|
props: {
|
|
7
8
|
operation: {}
|
|
8
9
|
},
|
|
9
10
|
setup(e) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
11
|
+
const i = m(S);
|
|
12
|
+
return (t, n) => {
|
|
13
|
+
var p;
|
|
14
|
+
return ((p = o(i)) == null ? void 0 : p()) !== !0 ? (r(), s("button", {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "show-api-client-button",
|
|
17
|
+
method: t.operation.httpVerb,
|
|
18
|
+
type: "button",
|
|
19
|
+
onClick: n[0] || (n[0] = c((I) => o(B).emit({
|
|
20
|
+
open: {
|
|
21
|
+
path: t.operation.path,
|
|
22
|
+
method: t.operation.httpVerb
|
|
23
|
+
}
|
|
24
|
+
}), ["stop"]))
|
|
25
|
+
}, [
|
|
26
|
+
u(o(T), {
|
|
27
|
+
icon: "Play",
|
|
28
|
+
size: "sm"
|
|
29
|
+
}),
|
|
30
|
+
k
|
|
31
|
+
], 8, E)) : (r(), s(d, { key: 1 }, [
|
|
32
|
+
l(" ")
|
|
33
|
+
], 64));
|
|
34
|
+
};
|
|
27
35
|
}
|
|
28
36
|
});
|
|
29
37
|
export {
|
|
30
|
-
|
|
38
|
+
q as default
|
|
31
39
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Schema.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-24920b5a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -2,9 +2,11 @@ import type { Tag } from '@scalar/types/legacy';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
3
|
id?: string;
|
|
4
4
|
tag: Tag;
|
|
5
|
+
isCollapsed?: boolean;
|
|
5
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
6
7
|
id?: string;
|
|
7
8
|
tag: Tag;
|
|
9
|
+
isCollapsed?: boolean;
|
|
8
10
|
}>>>, {}, {}>;
|
|
9
11
|
export default _default;
|
|
10
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Endpoints.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Endpoints.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Endpoints.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Endpoints.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,GAAG,EAAwB,MAAM,sBAAsB,CAAA;;SAgBxC,MAAM;SAAO,GAAG;kBAAgB,OAAO;;SAAvC,MAAM;SAAO,GAAG;kBAAgB,OAAO;;AA2QpE,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Endpoints.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1d49b784"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarMarkdown as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { defineComponent as y, openBlock as l, createBlock as m, unref as e, withCtx as o, createVNode as a, createTextVNode as p, toDisplayString as c, createElementVNode as u, createElementBlock as f, Fragment as v, renderList as N, normalizeClass as V, createCommentVNode as b } from "vue";
|
|
2
|
+
import { ScalarMarkdown as B } from "@scalar/components";
|
|
3
|
+
import E from "../../Section/Section.vue.js";
|
|
4
|
+
import I from "../../Section/SectionContent.vue.js";
|
|
5
|
+
import w from "../../Section/SectionColumns.vue.js";
|
|
6
|
+
import C from "../../Section/SectionColumn.vue.js";
|
|
7
7
|
import H from "../../Section/SectionHeader.vue.js";
|
|
8
8
|
import T from "../../Anchor/Anchor.vue.js";
|
|
9
9
|
import O from "../../Card/Card.vue.js";
|
|
@@ -12,27 +12,28 @@ import z from "../../Card/CardContent.vue.js";
|
|
|
12
12
|
import A from "../../HttpMethod/HttpMethod.vue.js";
|
|
13
13
|
import { useSidebar as D } from "../../../hooks/useSidebar.js";
|
|
14
14
|
import { useNavState as F } from "../../../hooks/useNavState.js";
|
|
15
|
-
const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */
|
|
15
|
+
const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ y({
|
|
16
16
|
__name: "Endpoints",
|
|
17
17
|
props: {
|
|
18
18
|
id: {},
|
|
19
|
-
tag: {}
|
|
19
|
+
tag: {},
|
|
20
|
+
isCollapsed: { type: Boolean }
|
|
20
21
|
},
|
|
21
|
-
setup(
|
|
22
|
-
const _ =
|
|
23
|
-
const
|
|
24
|
-
k(
|
|
22
|
+
setup(g) {
|
|
23
|
+
const _ = g, { getOperationId: n, getTagId: h } = F(), { scrollToOperation: k } = D(), S = async (t) => {
|
|
24
|
+
const s = n(t, _.tag);
|
|
25
|
+
k(s);
|
|
25
26
|
};
|
|
26
|
-
return (t,
|
|
27
|
+
return (t, s) => (l(), m(e(E), {
|
|
27
28
|
id: t.id,
|
|
28
29
|
label: t.tag.name.toUpperCase()
|
|
29
30
|
}, {
|
|
30
31
|
default: o(() => [
|
|
31
|
-
a(e(
|
|
32
|
+
a(e(I), null, {
|
|
32
33
|
default: o(() => [
|
|
33
|
-
a(e(
|
|
34
|
+
a(e(w), null, {
|
|
34
35
|
default: o(() => [
|
|
35
|
-
a(e(
|
|
36
|
+
a(e(C), null, {
|
|
36
37
|
default: o(() => [
|
|
37
38
|
a(e(H), { level: 2 }, {
|
|
38
39
|
default: o(() => [
|
|
@@ -40,32 +41,33 @@ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ v({
|
|
|
40
41
|
id: e(h)(t.tag)
|
|
41
42
|
}, {
|
|
42
43
|
default: o(() => [
|
|
43
|
-
c(
|
|
44
|
+
p(c(t.tag["x-displayName"] ?? t.tag.name), 1)
|
|
44
45
|
]),
|
|
45
46
|
_: 1
|
|
46
47
|
}, 8, ["id"])
|
|
47
48
|
]),
|
|
48
49
|
_: 1
|
|
49
50
|
}),
|
|
50
|
-
a(e(
|
|
51
|
+
a(e(B), {
|
|
52
|
+
isCollapsed: t.isCollapsed,
|
|
51
53
|
value: t.tag.description,
|
|
52
54
|
withImages: ""
|
|
53
|
-
}, null, 8, ["value"])
|
|
55
|
+
}, null, 8, ["isCollapsed", "value"])
|
|
54
56
|
]),
|
|
55
57
|
_: 1
|
|
56
58
|
}),
|
|
57
|
-
a(e(
|
|
59
|
+
a(e(C), null, {
|
|
58
60
|
default: o(() => {
|
|
59
|
-
var
|
|
61
|
+
var d;
|
|
60
62
|
return [
|
|
61
|
-
((
|
|
63
|
+
((d = t.tag.operations) == null ? void 0 : d.length) > 0 ? (l(), m(e(O), {
|
|
62
64
|
key: 0,
|
|
63
65
|
class: "scalar-card-sticky"
|
|
64
66
|
}, {
|
|
65
67
|
default: o(() => [
|
|
66
68
|
a(e($), { muted: "" }, {
|
|
67
69
|
default: o(() => [
|
|
68
|
-
|
|
70
|
+
p("Endpoints")
|
|
69
71
|
]),
|
|
70
72
|
_: 1
|
|
71
73
|
}),
|
|
@@ -75,10 +77,10 @@ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ v({
|
|
|
75
77
|
}, {
|
|
76
78
|
default: o(() => [
|
|
77
79
|
u("div", L, [
|
|
78
|
-
(
|
|
79
|
-
var
|
|
80
|
-
return
|
|
81
|
-
key: e(
|
|
80
|
+
(l(!0), f(v, null, N(t.tag.operations, (r) => {
|
|
81
|
+
var i;
|
|
82
|
+
return l(), f("a", {
|
|
83
|
+
key: e(n)(r, t.tag),
|
|
82
84
|
class: "endpoint",
|
|
83
85
|
onClick: (U) => S(r)
|
|
84
86
|
}, [
|
|
@@ -86,8 +88,8 @@ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ v({
|
|
|
86
88
|
method: r.httpVerb
|
|
87
89
|
}, null, 8, ["method"]),
|
|
88
90
|
u("span", {
|
|
89
|
-
class: V({ deprecated: (
|
|
90
|
-
},
|
|
91
|
+
class: V({ deprecated: (i = r.information) == null ? void 0 : i.deprecated })
|
|
92
|
+
}, c(r.path), 3)
|
|
91
93
|
], 8, M);
|
|
92
94
|
}), 128))
|
|
93
95
|
])
|
|
@@ -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":"AAsDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAkCrD,iBAAS,cAAc;qBA6DO,GAAG;EAqBhC;AACD,QAAA,MAAM,eAAe;SA1Gd,MAAM;SACN,GAAG;UACF,IAAI;;SAFL,MAAM;SACN,GAAG;UACF,IAAI;aA8GV,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Tag.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import a from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-f1a48b5a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as f, ref as u, computed as c, openBlock as r, createBlock as i, unref as o, withCtx as g, createCommentVNode as C, renderSlot as h } from "vue";
|
|
2
|
+
import k from "../../ShowMoreButton.vue.js";
|
|
3
3
|
import S from "./Endpoints.vue.js";
|
|
4
4
|
import y from "../../Section/SectionContainer.vue.js";
|
|
5
5
|
import { useSidebar as T } from "../../../hooks/useSidebar.js";
|
|
6
6
|
import { useNavState as v } from "../../../hooks/useNavState.js";
|
|
7
|
-
const
|
|
7
|
+
const D = /* @__PURE__ */ f({
|
|
8
8
|
__name: "Tag",
|
|
9
9
|
props: {
|
|
10
10
|
id: {},
|
|
11
11
|
tag: {},
|
|
12
12
|
spec: {}
|
|
13
13
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
14
|
+
setup(d) {
|
|
15
|
+
const n = d, p = u(null), { collapsedSidebarItems: s } = T(), { getTagId: l } = v(), m = c(
|
|
16
16
|
() => {
|
|
17
|
-
var e,
|
|
18
|
-
return ((e =
|
|
17
|
+
var e, a, t;
|
|
18
|
+
return ((e = n.spec.tags) == null ? void 0 : e.length) !== 1 || ((a = n.tag) == null ? void 0 : a.name) !== "default" || ((t = n.tag) == null ? void 0 : t.description) !== "";
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
|
-
return (e,
|
|
21
|
+
return (e, a) => (r(), i(o(y), {
|
|
22
22
|
ref_key: "sectionContainerRef",
|
|
23
|
-
ref:
|
|
23
|
+
ref: p,
|
|
24
24
|
class: "tag-section-container"
|
|
25
25
|
}, {
|
|
26
26
|
default: g(() => {
|
|
27
27
|
var t;
|
|
28
28
|
return [
|
|
29
|
-
|
|
29
|
+
m.value ? (r(), i(S, {
|
|
30
30
|
key: 0,
|
|
31
31
|
id: e.id,
|
|
32
|
+
isCollapsed: o(s)[o(l)(e.tag)],
|
|
32
33
|
tag: e.tag
|
|
33
|
-
}, null, 8, ["id", "tag"])) :
|
|
34
|
-
!
|
|
34
|
+
}, null, 8, ["id", "isCollapsed", "tag"])) : C("", !0),
|
|
35
|
+
!o(s)[o(l)(e.tag)] && ((t = e.tag.operations) == null ? void 0 : t.length) > 1 ? (r(), i(k, {
|
|
35
36
|
key: 1,
|
|
36
37
|
id: e.id ?? ""
|
|
37
|
-
}, null, 8, ["id"])) :
|
|
38
|
+
}, null, 8, ["id"])) : h(e.$slots, "default", { key: 2 }, void 0, !0)
|
|
38
39
|
];
|
|
39
40
|
}),
|
|
40
41
|
_: 3
|
|
@@ -42,5 +43,5 @@ const _ = /* @__PURE__ */ c({
|
|
|
42
43
|
}
|
|
43
44
|
});
|
|
44
45
|
export {
|
|
45
|
-
|
|
46
|
+
D as default
|
|
46
47
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;cAiBxC,QAAQ;;cAAR,QAAQ;;AAgOpB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Webhooks.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-87687203"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|