@scalar/api-reference 1.32.9 → 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 +29 -0
- package/dist/browser/standalone.js +15115 -14878
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +164 -176
- 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 +21 -21
- 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/Operation.vue.d.ts +6 -6
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +50 -49
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +8 -6
- 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 +21 -28
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +5 -3
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.js +33 -18
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +11 -12
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +164 -163
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +12 -13
- 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 +111 -118
- package/dist/features/api-client-modal/useApiClient.d.ts +5299 -5299
- package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
- 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 +60 -57
- 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 +3 -2
- 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/features/test-request-button/TestRequestButton.vue2.js +21 -19
- package/dist/helpers/convert-security-scheme.js +23 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -15
- package/dist/style.css +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +3 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +113 -86
- 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.vue.js +4 -0
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +69 -0
- 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 +7 -0
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +227 -0
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +20 -3
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.js +35 -0
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.js +29 -0
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +10 -0
- package/dist/v2/blocks/scalar-request-example-block/index.d.ts +2 -2
- package/dist/v2/events/definitions.js +7 -0
- package/dist/v2/events/index.d.ts +1 -1
- package/dist/v2/events/listeners.d.ts +1 -1
- package/dist/v2/hooks/useStore.js +14 -0
- package/package.json +11 -11
- package/LICENSE +0 -21
- package/dist/blocks/constants.js +0 -6
- package/dist/blocks/helpers/getPointer.js +0 -12
- package/dist/blocks/hooks/useBlockProps.d.ts +0 -31
- package/dist/blocks/hooks/useBlockProps.d.ts.map +0 -1
- package/dist/blocks/hooks/useBlockProps.js +0 -24
- package/dist/features/example-request/ExamplePicker.vue.d.ts +0 -13
- package/dist/features/example-request/ExamplePicker.vue.d.ts.map +0 -1
- package/dist/features/example-request/ExamplePicker.vue.js +0 -7
- package/dist/features/example-request/ExamplePicker.vue2.js +0 -57
- package/dist/features/example-request/ExampleRequest.vue.d.ts +0 -85
- package/dist/features/example-request/ExampleRequest.vue.d.ts.map +0 -1
- package/dist/features/example-request/ExampleRequest.vue.js +0 -7
- package/dist/features/example-request/ExampleRequest.vue2.js +0 -348
- package/dist/features/example-request/TextSelect.vue.d.ts +0 -34
- package/dist/features/example-request/TextSelect.vue.d.ts.map +0 -1
- package/dist/features/example-request/TextSelect.vue.js +0 -48
- package/dist/features/example-request/TextSelect.vue3.js +0 -5
- package/dist/features/example-request/index.d.ts +0 -3
- package/dist/features/example-request/index.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as D, computed as p, createElementBlock as
|
|
1
|
+
import { defineComponent as D, computed as p, createElementBlock as i, openBlock as r, Fragment as m, createStaticVNode as H, createElementVNode as M, renderSlot as f, createBlock as s, createCommentVNode as n, unref as t, withCtx as W, createVNode as v, normalizeClass as J, renderList as K } from "vue";
|
|
2
2
|
import { useWorkspace as P, useActiveEntities as Q } from "@scalar/api-client/store";
|
|
3
3
|
import { RequestAuth as T } from "@scalar/api-client/views/Request/RequestSection/RequestAuth";
|
|
4
4
|
import { ScalarErrorBoundary as X } from "@scalar/components";
|
|
@@ -14,8 +14,8 @@ import oe from "./Models/ModelsAccordion.vue.js";
|
|
|
14
14
|
import re from "./Models/Models.vue.js";
|
|
15
15
|
const se = { class: "narrow-references-container" }, ae = {
|
|
16
16
|
key: 0,
|
|
17
|
-
class: "scalar-reference-intro-server scalar-client introduction-card-item text-
|
|
18
|
-
},
|
|
17
|
+
class: "scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"
|
|
18
|
+
}, le = {
|
|
19
19
|
key: 1,
|
|
20
20
|
class: "scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"
|
|
21
21
|
}, be = /* @__PURE__ */ D({
|
|
@@ -52,8 +52,8 @@ const se = { class: "narrow-references-container" }, ae = {
|
|
|
52
52
|
);
|
|
53
53
|
return (e, k) => {
|
|
54
54
|
var g, b, C, w, A, V, E, U, $, B, N;
|
|
55
|
-
return r(),
|
|
56
|
-
k[0] || (k[0] = H('<div class="section-flare" data-v-
|
|
55
|
+
return r(), i(m, null, [
|
|
56
|
+
k[0] || (k[0] = H('<div class="section-flare" data-v-848f1f5e><div class="section-flare-item" data-v-848f1f5e></div><div class="section-flare-item" data-v-848f1f5e></div><div class="section-flare-item" data-v-848f1f5e></div><div class="section-flare-item" data-v-848f1f5e></div><div class="section-flare-item" data-v-848f1f5e></div><div class="section-flare-item" data-v-848f1f5e></div><div class="section-flare-item" data-v-848f1f5e></div><div class="section-flare-item" data-v-848f1f5e></div></div>', 1)),
|
|
57
57
|
M("div", se, [
|
|
58
58
|
f(e.$slots, "start", {}, void 0, !0),
|
|
59
59
|
o.value ? (r(), s(t(_), {
|
|
@@ -63,7 +63,7 @@ const se = { class: "narrow-references-container" }, ae = {
|
|
|
63
63
|
layout: e.layout,
|
|
64
64
|
parsedSpec: e.parsedSpec,
|
|
65
65
|
server: a.value
|
|
66
|
-
}, null, 8, ["document", "collection", "layout", "parsedSpec", "server"])) :
|
|
66
|
+
}, null, 8, ["document", "collection", "layout", "parsedSpec", "server"])) : n("", !0),
|
|
67
67
|
(b = (g = e.document) == null ? void 0 : g.info) != null && b.title || (w = (C = e.document) == null ? void 0 : C.info) != null && w.description ? (r(), s(t(x), {
|
|
68
68
|
key: 1,
|
|
69
69
|
document: e.document
|
|
@@ -71,18 +71,18 @@ const se = { class: "narrow-references-container" }, ae = {
|
|
|
71
71
|
[O.value]: W(() => [
|
|
72
72
|
v(t(X), null, {
|
|
73
73
|
default: W(() => {
|
|
74
|
-
var
|
|
74
|
+
var c, l, d;
|
|
75
75
|
return [
|
|
76
76
|
M("div", {
|
|
77
77
|
class: J(["introduction-card", { "introduction-card-row": e.layout === "classic" }])
|
|
78
78
|
}, [
|
|
79
|
-
(
|
|
79
|
+
(l = (c = o.value) == null ? void 0 : c.servers) != null && l.length ? (r(), i("div", ae, [
|
|
80
80
|
v(t(ee), {
|
|
81
81
|
collection: o.value,
|
|
82
82
|
server: a.value
|
|
83
83
|
}, null, 8, ["collection", "server"])
|
|
84
|
-
])) :
|
|
85
|
-
o.value && t(S) && Object.keys(t(z) ?? {}).length ? (r(),
|
|
84
|
+
])) : n("", !0),
|
|
85
|
+
o.value && t(S) && Object.keys(t(z) ?? {}).length ? (r(), i("div", le, [
|
|
86
86
|
v(t(T), {
|
|
87
87
|
collection: o.value,
|
|
88
88
|
envVariables: t(G),
|
|
@@ -94,7 +94,7 @@ const se = { class: "narrow-references-container" }, ae = {
|
|
|
94
94
|
title: "Authentication",
|
|
95
95
|
workspace: t(S)
|
|
96
96
|
}, null, 8, ["collection", "envVariables", "environment", "persistAuth", "selectedSecuritySchemeUids", "server", "workspace"])
|
|
97
|
-
])) :
|
|
97
|
+
])) : n("", !0),
|
|
98
98
|
v(t(te), { class: "introduction-card-item scalar-reference-intro-clients" })
|
|
99
99
|
], 2)
|
|
100
100
|
];
|
|
@@ -104,18 +104,18 @@ const se = { class: "narrow-references-container" }, ae = {
|
|
|
104
104
|
]),
|
|
105
105
|
_: 2
|
|
106
106
|
}, 1032, ["document"])) : f(e.$slots, "empty-state", { key: 2 }, void 0, !0),
|
|
107
|
-
e.parsedSpec.tags && o.value ? (r(),
|
|
108
|
-
e.parsedSpec["x-tagGroups"] ? (r(!0),
|
|
107
|
+
e.parsedSpec.tags && o.value ? (r(), i(m, { key: 3 }, [
|
|
108
|
+
e.parsedSpec["x-tagGroups"] ? (r(!0), i(m, { key: 0 }, K(e.parsedSpec["x-tagGroups"], (c) => (r(), s(t(y), {
|
|
109
109
|
document: e.document,
|
|
110
|
-
key:
|
|
110
|
+
key: c.name,
|
|
111
111
|
collection: o.value,
|
|
112
112
|
layout: e.layout,
|
|
113
113
|
server: a.value,
|
|
114
114
|
spec: e.parsedSpec,
|
|
115
|
-
tags:
|
|
115
|
+
tags: c.tags.map((l) => {
|
|
116
116
|
var d;
|
|
117
|
-
return (d = e.parsedSpec.tags) == null ? void 0 : d.find((R) => R.name ===
|
|
118
|
-
}).filter((
|
|
117
|
+
return (d = e.parsedSpec.tags) == null ? void 0 : d.find((R) => R.name === l);
|
|
118
|
+
}).filter((l) => !!l)
|
|
119
119
|
}, null, 8, ["document", "collection", "layout", "server", "spec", "tags"]))), 128)) : (r(), s(t(y), {
|
|
120
120
|
key: 1,
|
|
121
121
|
collection: o.value,
|
|
@@ -125,7 +125,7 @@ const se = { class: "narrow-references-container" }, ae = {
|
|
|
125
125
|
spec: e.parsedSpec,
|
|
126
126
|
tags: e.parsedSpec.tags
|
|
127
127
|
}, null, 8, ["collection", "document", "layout", "server", "spec", "tags"]))
|
|
128
|
-
], 64)) :
|
|
128
|
+
], 64)) : n("", !0),
|
|
129
129
|
(A = e.parsedSpec.webhooks) != null && A.length && o.value ? (r(), s(t(y), {
|
|
130
130
|
key: 4,
|
|
131
131
|
document: e.document,
|
|
@@ -141,8 +141,8 @@ const se = { class: "narrow-references-container" }, ae = {
|
|
|
141
141
|
operations: e.parsedSpec.webhooks
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
|
-
}, null, 8, ["document", "collection", "layout", "server", "spec", "tags"])) :
|
|
145
|
-
(E = (V = e.document) == null ? void 0 : V.components) != null && E.schemas && !t(u).hideModels ? (r(),
|
|
144
|
+
}, null, 8, ["document", "collection", "layout", "server", "spec", "tags"])) : n("", !0),
|
|
145
|
+
(E = (V = e.document) == null ? void 0 : V.components) != null && E.schemas && !t(u).hideModels ? (r(), i(m, { key: 5 }, [
|
|
146
146
|
e.layout === "classic" ? (r(), s(t(oe), {
|
|
147
147
|
key: 0,
|
|
148
148
|
schemas: ($ = (U = e.document) == null ? void 0 : U.components) == null ? void 0 : $.schemas
|
|
@@ -150,7 +150,7 @@ const se = { class: "narrow-references-container" }, ae = {
|
|
|
150
150
|
key: 1,
|
|
151
151
|
schemas: (N = (B = e.document) == null ? void 0 : B.components) == null ? void 0 : N.schemas
|
|
152
152
|
}, null, 8, ["schemas"]))
|
|
153
|
-
], 64)) :
|
|
153
|
+
], 64)) : n("", !0),
|
|
154
154
|
f(e.$slots, "end", {}, void 0, !0)
|
|
155
155
|
])
|
|
156
156
|
], 64);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue"],"names":[],"mappings":"AAkIA,KAAK,WAAW,GAAG;IACjB,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;;AAyKF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Description.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d2a06436"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"AA6HA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AA0BxD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAAA;CAC/B,CAAC;AAiCF,iBAAS,cAAc;WA2NT,OAAO,IAA6B;;uBATrB,GAAG;uBACH,GAAG;;;;EAa/B;AA6BD,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 "./Introduction.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d9560193"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|
|
@@ -1,75 +1,105 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import R from "../../Section/SectionContent.vue.js";
|
|
1
|
+
import { defineComponent as B, inject as E, computed as A, onMounted as H, createBlock as r, openBlock as l, unref as o, withCtx as n, createVNode as t, renderSlot as O, createElementVNode as f, createCommentVNode as d, createTextVNode as c, toDisplayString as s } from "vue";
|
|
2
|
+
import { useConfig as U } from "../../../hooks/useConfig.js";
|
|
3
|
+
import { useNavState as w } from "../../../hooks/useNavState.js";
|
|
4
|
+
import M from "./Description.vue.js";
|
|
5
|
+
import { OPENAPI_VERSION_SYMBOL as P } from "../../../features/download-link/openapi-version-symbol.js";
|
|
6
|
+
import R from "../../Section/SectionContainer.vue.js";
|
|
7
|
+
import b from "../../Section/Section.vue.js";
|
|
8
|
+
import { DEFAULT_INTRODUCTION_SLUG as j } from "../../../features/traverse-schema/helpers/traverse-description.js";
|
|
9
|
+
import z from "../../Section/SectionContent.vue.js";
|
|
11
10
|
import I from "../../Badge/Badge.vue.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
|
|
11
|
+
import F from "../../Section/SectionHeader.vue.js";
|
|
12
|
+
import G from "../../Section/SectionHeaderTag.vue.js";
|
|
13
|
+
import Y from "../../LinkList/LinkList.vue.js";
|
|
14
|
+
import q from "../../../features/external-docs/ExternalDocs.vue.js";
|
|
15
|
+
import J from "../../../features/info-object/Contact.vue.js";
|
|
16
|
+
import K from "../../../features/info-object/License.vue.js";
|
|
17
|
+
import Q from "../../../features/info-object/TermsOfService.vue.js";
|
|
18
|
+
import W from "../../Section/SectionColumns.vue.js";
|
|
19
|
+
import D from "../../Section/SectionColumn.vue.js";
|
|
20
|
+
import X from "../../../features/download-link/DownloadLink.vue.js";
|
|
21
|
+
import V from "../../../features/specification-extension/SpecificationExtension.vue.js";
|
|
22
|
+
const Z = { class: "flex gap-1.5" }, x = { class: "links" }, ee = { class: "sticky-cards" }, Ne = /* @__PURE__ */ B({
|
|
18
23
|
__name: "Introduction",
|
|
19
24
|
props: {
|
|
20
25
|
document: {}
|
|
21
26
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const { getHeadingId:
|
|
24
|
-
var
|
|
25
|
-
return typeof ((
|
|
26
|
-
}),
|
|
27
|
-
return
|
|
28
|
-
var
|
|
29
|
-
return (
|
|
30
|
-
}), (
|
|
31
|
-
default:
|
|
32
|
-
|
|
33
|
-
class: "introduction-section gap-12",
|
|
34
|
-
id:
|
|
35
|
-
slug:
|
|
27
|
+
setup(u) {
|
|
28
|
+
const { getHeadingId: T } = w(), v = E(P), p = A(() => {
|
|
29
|
+
var e, m;
|
|
30
|
+
return typeof ((e = u.document.info) == null ? void 0 : e.version) == "string" ? u.document.info.version.toString().match(/^\d/) ? `v${u.document.info.version}` : u.document.info.version : typeof ((m = u.document.info) == null ? void 0 : m.version) == "number" ? `v${u.document.info.version}` : void 0;
|
|
31
|
+
}), g = U();
|
|
32
|
+
return H(() => {
|
|
33
|
+
var e, m;
|
|
34
|
+
return (m = (e = g.value).onLoaded) == null ? void 0 : m.call(e);
|
|
35
|
+
}), (e, m) => (l(), r(o(R), null, {
|
|
36
|
+
default: n(() => [
|
|
37
|
+
t(o(b), {
|
|
38
|
+
class: "introduction-section z-1 gap-12",
|
|
39
|
+
id: o(T)({
|
|
40
|
+
slug: o(j),
|
|
36
41
|
depth: 1,
|
|
37
42
|
value: "Introduction"
|
|
38
43
|
})
|
|
39
44
|
}, {
|
|
40
|
-
default:
|
|
41
|
-
var
|
|
45
|
+
default: n(() => {
|
|
46
|
+
var S, k, y, $;
|
|
42
47
|
return [
|
|
43
|
-
|
|
44
|
-
loading:
|
|
48
|
+
t(o(z), {
|
|
49
|
+
loading: o(g).isLoading ?? (!((k = (S = e.document) == null ? void 0 : S.info) != null && k.description) && !(($ = (y = e.document) == null ? void 0 : y.info) != null && $.title))
|
|
45
50
|
}, {
|
|
46
|
-
default:
|
|
47
|
-
var
|
|
51
|
+
default: n(() => {
|
|
52
|
+
var C;
|
|
48
53
|
return [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
default:
|
|
52
|
-
|
|
54
|
+
f("div", Z, [
|
|
55
|
+
p.value ? (l(), r(o(I), { key: 0 }, {
|
|
56
|
+
default: n(() => [
|
|
57
|
+
c(s(p.value), 1)
|
|
53
58
|
]),
|
|
54
59
|
_: 1
|
|
55
|
-
})) :
|
|
56
|
-
|
|
57
|
-
default:
|
|
58
|
-
|
|
60
|
+
})) : d("", !0),
|
|
61
|
+
o(v) ? (l(), r(o(I), { key: 1 }, {
|
|
62
|
+
default: n(() => [
|
|
63
|
+
c("OAS " + s(o(v)), 1)
|
|
59
64
|
]),
|
|
60
65
|
_: 1
|
|
61
|
-
})) :
|
|
66
|
+
})) : d("", !0)
|
|
62
67
|
]),
|
|
63
|
-
|
|
64
|
-
loading: !((
|
|
68
|
+
t(o(F), {
|
|
69
|
+
loading: !((C = e.document.info) != null && C.title),
|
|
65
70
|
tight: ""
|
|
66
71
|
}, {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
default:
|
|
70
|
-
var
|
|
72
|
+
links: n(() => [
|
|
73
|
+
t(o(Y), null, {
|
|
74
|
+
default: n(() => {
|
|
75
|
+
var i, a, N, _, h, L;
|
|
71
76
|
return [
|
|
72
|
-
|
|
77
|
+
t(o(q), {
|
|
78
|
+
value: e.document.externalDocs
|
|
79
|
+
}, null, 8, ["value"]),
|
|
80
|
+
(i = e.document.info) != null && i.contact ? (l(), r(o(J), {
|
|
81
|
+
key: 0,
|
|
82
|
+
value: (a = e.document.info) == null ? void 0 : a.contact
|
|
83
|
+
}, null, 8, ["value"])) : d("", !0),
|
|
84
|
+
(N = e.document.info) != null && N.license ? (l(), r(o(K), {
|
|
85
|
+
key: 1,
|
|
86
|
+
value: (_ = e.document.info) == null ? void 0 : _.license
|
|
87
|
+
}, null, 8, ["value"])) : d("", !0),
|
|
88
|
+
(h = e.document.info) != null && h.termsOfService ? (l(), r(o(Q), {
|
|
89
|
+
key: 2,
|
|
90
|
+
value: (L = e.document.info) == null ? void 0 : L.termsOfService
|
|
91
|
+
}, null, 8, ["value"])) : d("", !0)
|
|
92
|
+
];
|
|
93
|
+
}),
|
|
94
|
+
_: 1
|
|
95
|
+
})
|
|
96
|
+
]),
|
|
97
|
+
default: n(() => [
|
|
98
|
+
t(o(G), { level: 1 }, {
|
|
99
|
+
default: n(() => {
|
|
100
|
+
var i;
|
|
101
|
+
return [
|
|
102
|
+
c(s((i = e.document.info) == null ? void 0 : i.title), 1)
|
|
73
103
|
];
|
|
74
104
|
}),
|
|
75
105
|
_: 1
|
|
@@ -77,42 +107,44 @@ const G = { class: "flex gap-1" }, Y = { class: "sticky-cards" }, lo = /* @__PUR
|
|
|
77
107
|
]),
|
|
78
108
|
_: 1
|
|
79
109
|
}, 8, ["loading"]),
|
|
80
|
-
|
|
81
|
-
default:
|
|
82
|
-
|
|
83
|
-
default:
|
|
84
|
-
var
|
|
110
|
+
t(o(W), null, {
|
|
111
|
+
default: n(() => [
|
|
112
|
+
t(o(D), null, {
|
|
113
|
+
default: n(() => {
|
|
114
|
+
var i, a;
|
|
85
115
|
return [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
116
|
+
f("div", x, [
|
|
117
|
+
t(o(X), {
|
|
118
|
+
title: (i = e.document.info) == null ? void 0 : i.title
|
|
119
|
+
}, null, 8, ["title"])
|
|
120
|
+
]),
|
|
121
|
+
t(M, {
|
|
122
|
+
value: (a = e.document.info) == null ? void 0 : a.description
|
|
91
123
|
}, null, 8, ["value"])
|
|
92
124
|
];
|
|
93
125
|
}),
|
|
94
126
|
_: 1
|
|
95
127
|
}),
|
|
96
|
-
|
|
97
|
-
default:
|
|
98
|
-
|
|
99
|
-
|
|
128
|
+
e.$slots.aside ? (l(), r(o(D), { key: 0 }, {
|
|
129
|
+
default: n(() => [
|
|
130
|
+
f("div", ee, [
|
|
131
|
+
O(e.$slots, "aside", {}, void 0, !0)
|
|
100
132
|
])
|
|
101
133
|
]),
|
|
102
134
|
_: 3
|
|
103
|
-
})) :
|
|
135
|
+
})) : d("", !0)
|
|
104
136
|
]),
|
|
105
137
|
_: 3
|
|
106
138
|
}),
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
value:
|
|
139
|
+
t(o(V), { value: e.document }, null, 8, ["value"]),
|
|
140
|
+
t(o(V), {
|
|
141
|
+
value: e.document.info
|
|
110
142
|
}, null, 8, ["value"])
|
|
111
143
|
];
|
|
112
144
|
}),
|
|
113
145
|
_: 3
|
|
114
146
|
}, 8, ["loading"]),
|
|
115
|
-
|
|
147
|
+
O(e.$slots, "after", {}, void 0, !0)
|
|
116
148
|
];
|
|
117
149
|
}),
|
|
118
150
|
_: 3
|
|
@@ -123,5 +155,5 @@ const G = { class: "flex gap-1" }, Y = { class: "sticky-cards" }, lo = /* @__PUR
|
|
|
123
155
|
}
|
|
124
156
|
});
|
|
125
157
|
export {
|
|
126
|
-
|
|
158
|
+
Ne as default
|
|
127
159
|
};
|
|
@@ -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":"AA0EA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AACjE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAsB/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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=LinkList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc;WA6CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, renderSlot as r } from "vue";
|
|
2
|
+
import n from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const s = {}, c = { class: "mb-3 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-auto text-xs whitespace-nowrap xl:mb-1.5" };
|
|
4
|
+
function a(e, l) {
|
|
5
|
+
return o(), t("div", c, [
|
|
6
|
+
r(e.$slots, "default")
|
|
7
|
+
]);
|
|
8
|
+
}
|
|
9
|
+
const m = /* @__PURE__ */ n(s, [["render", a]]);
|
|
10
|
+
export {
|
|
11
|
+
m as default
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue"],"names":[],"mappings":"AA+DA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAC;AAQF,iBAAS,cAAc;WA+DT,OAAO,IAA6B;;yBATrB,GAAG;uBACL,GAAG;;;;EAa7B;AASD,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 "./SectionHeader.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-465a7a78"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as r, createElementBlock as t, openBlock as o, createBlock as s, renderSlot as n, createCommentVNode as a, normalizeClass as l } from "vue";
|
|
2
|
+
import i from "../LoadingSkeleton.vue.js";
|
|
3
|
+
const d = { class: "section-header-wrapper xl:gap-12" }, u = /* @__PURE__ */ r({
|
|
4
4
|
__name: "SectionHeader",
|
|
5
5
|
props: {
|
|
6
6
|
loading: { type: Boolean },
|
|
7
7
|
tight: { type: Boolean }
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
return (e,
|
|
11
|
-
e.loading ? (o(),
|
|
9
|
+
setup(p) {
|
|
10
|
+
return (e, c) => (o(), t("div", d, [
|
|
11
|
+
e.loading ? (o(), s(i, { key: 0 })) : (o(), t("div", {
|
|
12
12
|
key: 1,
|
|
13
|
-
class:
|
|
13
|
+
class: l(["section-header", { tight: e.tight }])
|
|
14
14
|
}, [
|
|
15
|
-
|
|
16
|
-
], 2))
|
|
15
|
+
n(e.$slots, "default", {}, void 0, !0)
|
|
16
|
+
], 2)),
|
|
17
|
+
e.$slots.links ? n(e.$slots, "links", { key: 2 }, void 0, !0) : a("", !0)
|
|
17
18
|
]));
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
+
u as default
|
|
22
23
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import type { HttpMethod } from '@scalar/helpers/http/http-methods';
|
|
1
2
|
import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
|
|
2
3
|
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
3
4
|
type __VLS_Props = {
|
|
4
|
-
document?: OpenAPIV3_1.Document;
|
|
5
5
|
path: string;
|
|
6
|
-
method:
|
|
6
|
+
method: HttpMethod;
|
|
7
7
|
isWebhook?: boolean;
|
|
8
8
|
layout?: 'modern' | 'classic';
|
|
9
9
|
id: string;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use `document` instead
|
|
12
|
-
*/
|
|
13
|
-
collection: Collection;
|
|
14
10
|
server: Server | undefined;
|
|
11
|
+
/** @deprecated Use `document` instead, we just need the selected security scheme uids for now */
|
|
12
|
+
collection: Collection;
|
|
13
|
+
/** @deprecated Use the new workspace store instead*/
|
|
14
|
+
document?: OpenAPIV3_1.Document;
|
|
15
15
|
};
|
|
16
16
|
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>;
|
|
17
17
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Operation/Operation.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Operation/Operation.vue"],"names":[],"mappings":"AAsHA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAaxD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,iGAAiG;IACjG,UAAU,EAAE,UAAU,CAAA;IACtB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAA;CAChC,CAAC;;AAiKF,wBAMG"}
|