@scalar/api-reference 1.32.8 → 1.32.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 +35 -0
- package/dist/browser/standalone.js +12720 -12580
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/Badge.vue.js +3 -3
- package/dist/components/Content/Content.vue.js +2 -2
- package/dist/components/Content/Content.vue2.js +25 -25
- package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Description.vue.js +2 -2
- 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 +104 -72
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/LinkList/LinkList.vue.d.ts +18 -0
- package/dist/components/LinkList/LinkList.vue.d.ts.map +1 -0
- package/dist/components/LinkList/LinkList.vue.js +12 -0
- package/dist/components/LinkList/index.d.ts +2 -0
- package/dist/components/LinkList/index.d.ts.map +1 -0
- package/dist/components/Section/SectionHeader.vue.d.ts +1 -0
- package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeader.vue.js +2 -2
- package/dist/components/Section/SectionHeader.vue2.js +11 -10
- 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 +5 -6
- 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 +1 -2
- package/dist/features/base-url/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/base-url/BaseUrl.vue.js +26 -26
- package/dist/features/download-link/DownloadLink.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponseTab.vue.js +2 -2
- package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +2 -2
- package/dist/features/example-responses/ExampleResponses.vue2.js +33 -31
- package/dist/features/external-docs/ExternalDocs.vue.d.ts +7 -0
- package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -0
- package/dist/features/external-docs/ExternalDocs.vue.js +36 -0
- package/dist/features/external-docs/ExternalDocs.vue2.js +4 -0
- package/dist/features/external-docs/index.d.ts +2 -0
- package/dist/features/external-docs/index.d.ts.map +1 -0
- package/dist/features/info-object/Contact.vue.d.ts +7 -0
- package/dist/features/info-object/Contact.vue.d.ts.map +1 -0
- package/dist/features/info-object/Contact.vue.js +44 -0
- package/dist/features/info-object/Contact.vue2.js +4 -0
- package/dist/features/info-object/License.vue.d.ts +7 -0
- package/dist/features/info-object/License.vue.d.ts.map +1 -0
- package/dist/features/info-object/License.vue.js +34 -0
- package/dist/features/info-object/License.vue2.js +4 -0
- package/dist/features/info-object/TermsOfService.vue.d.ts +7 -0
- package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -0
- package/dist/features/info-object/TermsOfService.vue.js +30 -0
- package/dist/features/info-object/TermsOfService.vue2.js +4 -0
- package/dist/features/info-object/index.d.ts +4 -0
- package/dist/features/info-object/index.d.ts.map +1 -0
- package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.js +2 -2
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +0 -2
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +46 -41
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +1 -1
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +185 -170
- package/package.json +11 -11
- package/LICENSE +0 -21
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AAmMA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAOrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6DAA6D,CAAA;AAClG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAA;AACvG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iDAAiD,CAAA;AAkBlF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAQjE,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,cAAc,CAAA;IACtB,SAAS,EAAE,WAAW,CAAC,eAAe,CAAC,CAAA;IACvC,YAAY,EAAE,WAAW,CAAC,eAAe,CAAA;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,oBAAoB,EAAE,CAAA;IACvC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;AAmUF,wBAQG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ModernLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-789699aa"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -143,7 +143,6 @@ const Q = { class: "operation-details" }, X = { class: "examples" }, be = /* @__
|
|
|
143
143
|
path: e.path,
|
|
144
144
|
fallback: "",
|
|
145
145
|
operation: e.operation,
|
|
146
|
-
schemas: e.schemas,
|
|
147
146
|
"onUpdate:modelValue": c
|
|
148
147
|
}, T({
|
|
149
148
|
header: t(() => {
|
|
@@ -168,7 +167,7 @@ const Q = { class: "operation-details" }, X = { class: "examples" }, be = /* @__
|
|
|
168
167
|
]),
|
|
169
168
|
key: "0"
|
|
170
169
|
}
|
|
171
|
-
]), 1032, ["method", "selectedServer", "securitySchemes", "selectedClient", "path", "operation"
|
|
170
|
+
]), 1032, ["method", "selectedServer", "securitySchemes", "selectedClient", "path", "operation"])
|
|
172
171
|
]),
|
|
173
172
|
_: 1
|
|
174
173
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseUrl.vue.d.ts","sourceRoot":"","sources":["../../../src/features/base-url/BaseUrl.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAOzE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;;
|
|
1
|
+
{"version":3,"file":"BaseUrl.vue.d.ts","sourceRoot":"","sources":["../../../src/features/base-url/BaseUrl.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAOzE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;;AAyJF,wBAMG"}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ServerSelector as
|
|
3
|
-
import { useWorkspace as
|
|
4
|
-
import { ScalarMarkdown as
|
|
5
|
-
import { useConfig as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as k, useId as C, createElementBlock as V, openBlock as a, Fragment as y, createElementVNode as u, createVNode as B, createBlock as m, createCommentVNode as b, normalizeClass as h, unref as t } from "vue";
|
|
2
|
+
import { ServerSelector as N, ServerVariablesForm as U } from "@scalar/api-client/components/Server";
|
|
3
|
+
import { useWorkspace as E } from "@scalar/api-client/store";
|
|
4
|
+
import { ScalarMarkdown as F } from "@scalar/components";
|
|
5
|
+
import { useConfig as M } from "../../hooks/useConfig.js";
|
|
6
|
+
const w = ["id"], A = /* @__PURE__ */ k({
|
|
7
7
|
__name: "BaseUrl",
|
|
8
8
|
props: {
|
|
9
9
|
collection: {},
|
|
10
10
|
server: {}
|
|
11
11
|
},
|
|
12
12
|
setup(l) {
|
|
13
|
-
const { serverMutators:
|
|
13
|
+
const { serverMutators: p } = E(), s = C(), f = M(), g = (e, o) => {
|
|
14
14
|
if (!l.server)
|
|
15
15
|
return;
|
|
16
16
|
const r = l.server.variables || {};
|
|
17
|
-
r[e] = { ...r[e], default: o },
|
|
18
|
-
},
|
|
17
|
+
r[e] = { ...r[e], default: o }, p.edit(l.server.uid, "variables", r);
|
|
18
|
+
}, S = (e) => {
|
|
19
19
|
var o, r;
|
|
20
|
-
(r = (o =
|
|
20
|
+
(r = (o = f.value).onServerChange) == null || r.call(o, e);
|
|
21
21
|
};
|
|
22
22
|
return (e, o) => {
|
|
23
|
-
var r, n, i, d, c;
|
|
24
|
-
return a(),
|
|
25
|
-
o[0] || (o[0] =
|
|
26
|
-
|
|
23
|
+
var r, n, i, d, v, c;
|
|
24
|
+
return a(), V(y, null, [
|
|
25
|
+
o[0] || (o[0] = u("label", { class: "bg-b-2 flex h-8 items-center rounded-t-lg border border-b-0 px-3 py-2.5 font-medium" }, " Server ", -1)),
|
|
26
|
+
u("div", {
|
|
27
27
|
id: t(s),
|
|
28
|
-
class:
|
|
29
|
-
"rounded-b-lg": !((r = e.server) != null && r.description)
|
|
28
|
+
class: h(["border", {
|
|
29
|
+
"rounded-b-lg": !((r = e.server) != null && r.description) && !((n = e.server) != null && n.variables)
|
|
30
30
|
}])
|
|
31
31
|
}, [
|
|
32
|
-
(
|
|
32
|
+
(d = (i = e.collection) == null ? void 0 : i.servers) != null && d.length ? (a(), m(t(N), {
|
|
33
33
|
key: 0,
|
|
34
34
|
collection: e.collection,
|
|
35
35
|
server: e.server,
|
|
36
36
|
target: t(s),
|
|
37
|
-
onUpdateServer:
|
|
38
|
-
}, null, 8, ["collection", "server", "target"])) :
|
|
39
|
-
], 10,
|
|
40
|
-
|
|
41
|
-
variables: (
|
|
37
|
+
onUpdateServer: S
|
|
38
|
+
}, null, 8, ["collection", "server", "target"])) : b("", !0)
|
|
39
|
+
], 10, w),
|
|
40
|
+
B(t(U), {
|
|
41
|
+
variables: (v = e.server) == null ? void 0 : v.variables,
|
|
42
42
|
layout: "reference",
|
|
43
|
-
"onUpdate:variable":
|
|
43
|
+
"onUpdate:variable": g
|
|
44
44
|
}, null, 8, ["variables"]),
|
|
45
|
-
(c = e.server) != null && c.description ? (a(),
|
|
45
|
+
(c = e.server) != null && c.description ? (a(), m(t(F), {
|
|
46
46
|
key: 0,
|
|
47
47
|
class: "text-c-3 rounded-b-lg border border-t-0 px-3 py-1.5",
|
|
48
48
|
value: e.server.description
|
|
49
|
-
}, null, 8, ["value"])) :
|
|
49
|
+
}, null, 8, ["value"])) : b("", !0)
|
|
50
50
|
], 64);
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
A as default
|
|
56
56
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DownloadLink.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-929c417a"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ExampleResponseTab.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const m = /* @__PURE__ */
|
|
3
|
+
import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c8207e48"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ExampleResponseTabList.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fec8fbbb"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExampleResponses.vue.d.ts","sourceRoot":"","sources":["../../../src/features/example-responses/ExampleResponses.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ExampleResponses.vue.d.ts","sourceRoot":"","sources":["../../../src/features/example-responses/ExampleResponses.vue"],"names":[],"mappings":"AAqVA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAA;AAiBhE;;GAEG;AAEH,KAAK,WAAW,GAAG;IAAE,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC;;AA0UzD,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ExampleResponses.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import p from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ p(o, [["__scopeId", "data-v-abb75157"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as M, useId as N, computed as v, ref as R, createBlock as r, createCommentVNode as x, openBlock as o, unref as l, withCtx as u, createVNode as k, createElementBlock as f, Fragment as _, renderList as C, createTextVNode as g, toDisplayString as F, withDirectives as I, createElementVNode as j, vModelCheckbox as A } from "vue";
|
|
2
2
|
import { ScalarCard as D, ScalarIcon as K, ScalarCardSection as L, ScalarCodeBlock as U, ScalarCardFooter as J, ScalarMarkdown as P } from "@scalar/components";
|
|
3
3
|
import { normalizeMimeTypeObject as W, getObjectKeys as $ } from "@scalar/oas-utils/helpers";
|
|
4
4
|
import { useClipboard as q } from "@scalar/use-hooks/useClipboard";
|
|
5
5
|
import G from "../../components/ScreenReader.vue.js";
|
|
6
|
-
import
|
|
6
|
+
import w from "./ExampleResponse.vue.js";
|
|
7
7
|
import H from "./ExampleResponseTab.vue.js";
|
|
8
8
|
import Q from "./ExampleResponseTabList.vue.js";
|
|
9
9
|
import X from "../../v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js";
|
|
@@ -13,13 +13,13 @@ const Y = {
|
|
|
13
13
|
}, Z = ["aria-controls"], z = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "response-description"
|
|
16
|
-
}, ne = /* @__PURE__ */
|
|
16
|
+
}, ne = /* @__PURE__ */ M({
|
|
17
17
|
__name: "ExampleResponses",
|
|
18
18
|
props: {
|
|
19
19
|
responses: {}
|
|
20
20
|
},
|
|
21
21
|
setup(E) {
|
|
22
|
-
const p =
|
|
22
|
+
const p = N(), { copyToClipboard: T } = q(), S = v(() => Object.keys(E.responses ?? {}).sort()), y = v(
|
|
23
23
|
() => !!s.value.examples
|
|
24
24
|
), V = R(0), i = v(() => {
|
|
25
25
|
var a;
|
|
@@ -36,7 +36,9 @@ const Y = {
|
|
|
36
36
|
(e == null ? void 0 : e[a[0]]) ?? // Swagger 2.0
|
|
37
37
|
i.value
|
|
38
38
|
);
|
|
39
|
-
}),
|
|
39
|
+
}), c = R(
|
|
40
|
+
Object.keys(s.value.examples ?? {})[0] ?? ""
|
|
41
|
+
), O = () => {
|
|
40
42
|
if (!y.value)
|
|
41
43
|
return s.value.example;
|
|
42
44
|
if (Array.isArray(s.value.examples))
|
|
@@ -45,11 +47,11 @@ const Y = {
|
|
|
45
47
|
return (a == null ? void 0 : a.value) ?? a;
|
|
46
48
|
}, b = v(() => ({
|
|
47
49
|
...s.value,
|
|
48
|
-
example: y.value && c.value ? s.value.examples[c.value].value ?? s.value.examples[c.value] :
|
|
49
|
-
})),
|
|
50
|
+
example: y.value && c.value ? s.value.examples[c.value].value ?? s.value.examples[c.value] : O()
|
|
51
|
+
})), B = (e) => {
|
|
50
52
|
V.value = e, c.value = "";
|
|
51
53
|
}, h = R(!1);
|
|
52
|
-
return (e, a) => S.value.length ? (o(),
|
|
54
|
+
return (e, a) => S.value.length ? (o(), r(l(D), {
|
|
53
55
|
key: 0,
|
|
54
56
|
"aria-label": "Example Responses",
|
|
55
57
|
role: "region",
|
|
@@ -58,11 +60,11 @@ const Y = {
|
|
|
58
60
|
default: u(() => {
|
|
59
61
|
var m;
|
|
60
62
|
return [
|
|
61
|
-
|
|
63
|
+
k(Q, { onChange: B }, {
|
|
62
64
|
actions: u(() => {
|
|
63
|
-
var
|
|
65
|
+
var t, d;
|
|
64
66
|
return [
|
|
65
|
-
(
|
|
67
|
+
(t = s.value) != null && t.example ? (o(), f("button", {
|
|
66
68
|
key: 0,
|
|
67
69
|
class: "code-copy",
|
|
68
70
|
type: "button",
|
|
@@ -71,14 +73,14 @@ const Y = {
|
|
|
71
73
|
return l(T)((n = s.value) == null ? void 0 : n.example);
|
|
72
74
|
})
|
|
73
75
|
}, [
|
|
74
|
-
|
|
76
|
+
k(l(K), {
|
|
75
77
|
icon: "Clipboard",
|
|
76
78
|
width: "12px"
|
|
77
79
|
})
|
|
78
80
|
])) : x("", !0),
|
|
79
|
-
(d = s.value) != null && d.schema ? (o(),
|
|
81
|
+
(d = s.value) != null && d.schema ? (o(), f("label", Y, [
|
|
80
82
|
a[4] || (a[4] = g(" Show Schema ")),
|
|
81
|
-
I(
|
|
83
|
+
I(j("input", {
|
|
82
84
|
"onUpdate:modelValue": a[1] || (a[1] = (n) => h.value = n),
|
|
83
85
|
"aria-controls": l(p),
|
|
84
86
|
class: "scalar-card-checkbox-input",
|
|
@@ -86,47 +88,47 @@ const Y = {
|
|
|
86
88
|
}, null, 8, Z), [
|
|
87
89
|
[A, h.value]
|
|
88
90
|
]),
|
|
89
|
-
a[5] || (a[5] =
|
|
91
|
+
a[5] || (a[5] = j("span", { class: "scalar-card-checkbox-checkmark" }, null, -1))
|
|
90
92
|
])) : x("", !0)
|
|
91
93
|
];
|
|
92
94
|
}),
|
|
93
95
|
default: u(() => [
|
|
94
|
-
(o(!0),
|
|
95
|
-
key:
|
|
96
|
+
(o(!0), f(_, null, C(S.value, (t) => (o(), r(H, {
|
|
97
|
+
key: t,
|
|
96
98
|
"aria-controls": l(p)
|
|
97
99
|
}, {
|
|
98
100
|
default: u(() => [
|
|
99
|
-
|
|
101
|
+
k(G, null, {
|
|
100
102
|
default: u(() => a[3] || (a[3] = [
|
|
101
103
|
g("Status:")
|
|
102
104
|
])),
|
|
103
105
|
_: 1,
|
|
104
106
|
__: [3]
|
|
105
107
|
}),
|
|
106
|
-
g(" " + F(
|
|
108
|
+
g(" " + F(t), 1)
|
|
107
109
|
]),
|
|
108
110
|
_: 2
|
|
109
111
|
}, 1032, ["aria-controls"]))), 128))
|
|
110
112
|
]),
|
|
111
113
|
_: 1
|
|
112
114
|
}),
|
|
113
|
-
|
|
115
|
+
k(l(L), { class: "grid flex-1" }, {
|
|
114
116
|
default: u(() => {
|
|
115
|
-
var
|
|
117
|
+
var t;
|
|
116
118
|
return [
|
|
117
|
-
(
|
|
118
|
-
h.value && b.value ? (o(),
|
|
119
|
+
(t = s.value) != null && t.schema ? (o(), f(_, { key: 0 }, [
|
|
120
|
+
h.value && b.value ? (o(), r(l(U), {
|
|
119
121
|
key: 0,
|
|
120
122
|
id: l(p),
|
|
121
123
|
class: "-outline-offset-2",
|
|
122
124
|
content: b.value,
|
|
123
125
|
lang: "json"
|
|
124
|
-
}, null, 8, ["id", "content"])) : (o(),
|
|
126
|
+
}, null, 8, ["id", "content"])) : (o(), r(w, {
|
|
125
127
|
key: 1,
|
|
126
128
|
id: l(p),
|
|
127
129
|
response: b.value
|
|
128
130
|
}, null, 8, ["id", "response"]))
|
|
129
|
-
], 64)) : (o(),
|
|
131
|
+
], 64)) : (o(), r(w, {
|
|
130
132
|
key: 1,
|
|
131
133
|
id: l(p),
|
|
132
134
|
response: b.value
|
|
@@ -135,21 +137,21 @@ const Y = {
|
|
|
135
137
|
}),
|
|
136
138
|
_: 1
|
|
137
139
|
}),
|
|
138
|
-
(m = i.value) != null && m.description || y.value ? (o(),
|
|
140
|
+
(m = i.value) != null && m.description || y.value ? (o(), r(l(J), {
|
|
139
141
|
key: 0,
|
|
140
142
|
class: "response-card-footer"
|
|
141
143
|
}, {
|
|
142
144
|
default: u(() => {
|
|
143
|
-
var
|
|
145
|
+
var t, d;
|
|
144
146
|
return [
|
|
145
|
-
y.value ? (o(),
|
|
147
|
+
y.value ? (o(), r(l(X), {
|
|
146
148
|
key: 0,
|
|
147
149
|
class: "response-example-selector",
|
|
148
|
-
examples: (
|
|
150
|
+
examples: (t = s.value) == null ? void 0 : t.examples,
|
|
149
151
|
modelValue: c.value,
|
|
150
152
|
"onUpdate:modelValue": a[2] || (a[2] = (n) => c.value = n)
|
|
151
|
-
}, null, 8, ["examples", "modelValue"])) : (d = i.value) != null && d.description ? (o(),
|
|
152
|
-
|
|
153
|
+
}, null, 8, ["examples", "modelValue"])) : (d = i.value) != null && d.description ? (o(), f("div", z, [
|
|
154
|
+
k(l(P), {
|
|
153
155
|
class: "markdown",
|
|
154
156
|
value: i.value.description
|
|
155
157
|
}, null, 8, ["value"])
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: OpenAPIV3_1.ExternalDocumentationObject;
|
|
4
|
+
};
|
|
5
|
+
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, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=ExternalDocs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalDocs.vue.d.ts","sourceRoot":"","sources":["../../../src/features/external-docs/ExternalDocs.vue"],"names":[],"mappings":"AAsCA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAIxD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,WAAW,CAAC,2BAA2B,CAAA;CAChD,CAAC;;AAiGF,wBAMG"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as n, createElementBlock as r, createCommentVNode as l, openBlock as o, createElementVNode as s, createVNode as a, unref as i, toDisplayString as t } from "vue";
|
|
2
|
+
import { ScalarIconBook as c } from "@scalar/icons";
|
|
3
|
+
const d = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"
|
|
6
|
+
}, m = ["href"], p = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "ml-1 empty:hidden"
|
|
9
|
+
}, u = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "ml-1 empty:hidden"
|
|
12
|
+
}, v = /* @__PURE__ */ n({
|
|
13
|
+
__name: "ExternalDocs",
|
|
14
|
+
props: {
|
|
15
|
+
value: {}
|
|
16
|
+
},
|
|
17
|
+
setup(f) {
|
|
18
|
+
return (e, h) => e.value ? (o(), r("div", d, [
|
|
19
|
+
s("a", {
|
|
20
|
+
href: e.value.url,
|
|
21
|
+
class: "text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",
|
|
22
|
+
target: "_blank",
|
|
23
|
+
rel: "noopener noreferrer"
|
|
24
|
+
}, [
|
|
25
|
+
a(i(c), {
|
|
26
|
+
weight: "bold",
|
|
27
|
+
class: "size-3 text-current"
|
|
28
|
+
}),
|
|
29
|
+
e.value.description ? (o(), r("span", p, t(e.value.description), 1)) : (o(), r("span", u, t(e.value.url), 1))
|
|
30
|
+
], 8, m)
|
|
31
|
+
])) : l("", !0);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
v as default
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/external-docs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: OpenAPIV3_1.ContactObject;
|
|
4
|
+
};
|
|
5
|
+
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, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=Contact.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contact.vue.d.ts","sourceRoot":"","sources":["../../../src/features/info-object/Contact.vue"],"names":[],"mappings":"AA4CA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAaxD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,WAAW,CAAC,aAAa,CAAA;CAClC,CAAC;;AAkFF,wBAMG"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as u, createElementBlock as r, createCommentVNode as i, openBlock as a, normalizeClass as m, unref as t, createVNode as p, createElementVNode as d, toDisplayString as c } from "vue";
|
|
2
|
+
import { cva as f } from "@scalar/components";
|
|
3
|
+
import { ScalarIconEnvelopeSimple as v } from "@scalar/icons";
|
|
4
|
+
const h = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"
|
|
7
|
+
}, b = ["href"], k = { class: "ml-1 empty:hidden" }, E = /* @__PURE__ */ u({
|
|
8
|
+
__name: "Contact",
|
|
9
|
+
props: {
|
|
10
|
+
value: {}
|
|
11
|
+
},
|
|
12
|
+
setup(_) {
|
|
13
|
+
const n = f({
|
|
14
|
+
base: "text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 group-last:mr-0 xl:border-none",
|
|
15
|
+
variants: {
|
|
16
|
+
link: {
|
|
17
|
+
true: "no-underline hover:bg-b-2"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
return (e, g) => {
|
|
22
|
+
var o, l, s;
|
|
23
|
+
return e.value ? (a(), r("div", h, [
|
|
24
|
+
(o = e.value) != null && o.email ? (a(), r("a", {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: m(t(n)({ link: !0 })),
|
|
27
|
+
href: `mailto:${(l = e.value) == null ? void 0 : l.email}`
|
|
28
|
+
}, [
|
|
29
|
+
p(t(v), {
|
|
30
|
+
weight: "bold",
|
|
31
|
+
class: "size-3 text-current"
|
|
32
|
+
}),
|
|
33
|
+
d("span", k, c(e.value.name), 1)
|
|
34
|
+
], 10, b)) : (s = e.value) != null && s.name ? (a(), r("span", {
|
|
35
|
+
key: 1,
|
|
36
|
+
class: m(t(n)({ link: !1 }))
|
|
37
|
+
}, c(e.value.name), 3)) : i("", !0)
|
|
38
|
+
])) : i("", !0);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
E as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: OpenAPIV3_1.LicenseObject;
|
|
4
|
+
};
|
|
5
|
+
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, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=License.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"License.vue.d.ts","sourceRoot":"","sources":["../../../src/features/info-object/License.vue"],"names":[],"mappings":"AAiCA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAIxD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,WAAW,CAAC,aAAa,CAAA;CAClC,CAAC;;AAkGF,wBAOG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as s, createElementBlock as r, openBlock as n, createVNode as i, createElementVNode as d, unref as m, toDisplayString as a } from "vue";
|
|
2
|
+
import { ScalarIconGavel as u } from "@scalar/icons";
|
|
3
|
+
const c = { class: "group flex h-fit items-center last:border-r-0 xl:border-r xl:first:ml-auto" }, p = ["href"], f = { class: "ml-1 empty:hidden" }, h = {
|
|
4
|
+
key: 1,
|
|
5
|
+
class: "ml-1 empty:hidden"
|
|
6
|
+
}, y = /* @__PURE__ */ s({
|
|
7
|
+
__name: "License",
|
|
8
|
+
props: {
|
|
9
|
+
value: {}
|
|
10
|
+
},
|
|
11
|
+
setup(_) {
|
|
12
|
+
return (e, v) => {
|
|
13
|
+
var o, t, l;
|
|
14
|
+
return n(), r("div", c, [
|
|
15
|
+
(o = e.value) != null && o.url ? (n(), r("a", {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",
|
|
18
|
+
href: e.value.url,
|
|
19
|
+
target: "_blank",
|
|
20
|
+
rel: "noopener noreferrer"
|
|
21
|
+
}, [
|
|
22
|
+
i(m(u), {
|
|
23
|
+
weight: "bold",
|
|
24
|
+
class: "size-3 text-current"
|
|
25
|
+
}),
|
|
26
|
+
d("span", f, a(((t = e.value) == null ? void 0 : t.name) || e.value.identifier || e.value.url), 1)
|
|
27
|
+
], 8, p)) : (n(), r("span", h, a((l = e.value) == null ? void 0 : l.name), 1))
|
|
28
|
+
]);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
y as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: OpenAPIV3_1.InfoObject['termsOfService'];
|
|
4
|
+
};
|
|
5
|
+
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, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=TermsOfService.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TermsOfService.vue.d.ts","sourceRoot":"","sources":["../../../src/features/info-object/TermsOfService.vue"],"names":[],"mappings":"AA6BA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAIxD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAA;CACjD,CAAC;;AAwFF,wBAMG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as t, createElementBlock as n, createCommentVNode as l, openBlock as s, createElementVNode as o, createVNode as a, unref as m } from "vue";
|
|
2
|
+
import { ScalarIconScroll as c } from "@scalar/icons";
|
|
3
|
+
const d = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"
|
|
6
|
+
}, i = ["href"], _ = /* @__PURE__ */ t({
|
|
7
|
+
__name: "TermsOfService",
|
|
8
|
+
props: {
|
|
9
|
+
value: {}
|
|
10
|
+
},
|
|
11
|
+
setup(p) {
|
|
12
|
+
return (e, r) => e.value ? (s(), n("div", d, [
|
|
13
|
+
o("a", {
|
|
14
|
+
class: "text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",
|
|
15
|
+
href: e.value,
|
|
16
|
+
target: "_blank",
|
|
17
|
+
rel: "noopener noreferrer"
|
|
18
|
+
}, [
|
|
19
|
+
a(m(c), {
|
|
20
|
+
weight: "bold",
|
|
21
|
+
class: "size-3 text-current"
|
|
22
|
+
}),
|
|
23
|
+
r[0] || (r[0] = o("span", { class: "ml-1 empty:hidden" }, "Terms of Service", -1))
|
|
24
|
+
], 8, i)
|
|
25
|
+
])) : l("", !0);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
_ as default
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/info-object/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../src/features/test-request-button/TestRequestButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../src/features/test-request-button/TestRequestButton.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAUnE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;CACb,CAAC;;AAsGF,wBAMG"}
|
|
@@ -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
|
|
4
|
+
const c = /* @__PURE__ */ o(t, [["__scopeId", "data-v-976c9c1f"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|