@scalar/api-reference 1.25.37 → 1.25.38
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 +26 -0
- package/README.md +8 -0
- package/dist/browser/standalone.js +9465 -9193
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +3 -3
- package/dist/components/ApiReferenceLayout.vue2.js +85 -82
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.d.ts +2 -0
- package/dist/helpers/provideSymbols.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.js +5 -4
- package/dist/index.js +55 -54
- package/dist/legacy/fixtures/index.d.ts +0 -1
- package/dist/legacy/fixtures/index.d.ts.map +1 -1
- package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +10 -13
- package/dist/components/HelpfulLink.vue.d.ts +0 -16
- package/dist/components/HelpfulLink.vue.d.ts.map +0 -1
- package/dist/legacy/fixtures/httpHeaders.d.ts +0 -6
- package/dist/legacy/fixtures/httpHeaders.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AAukBA,OAAO,EACL,KAAK,OAAO,EAGb,MAAM,gBAAgB,CAAA;AA4BvB,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAqPjB,iBAAS,cAAc;oBAzNe,kBAAkB,KAAK,GAAG;oBAA1B,kBAAkB,KAAK,GAAG;oBAA1B,kBAAkB,KAAK,GAAG;6BAA1B,kBAAkB,KAAK,GAAG;2BAA1B,kBAAkB,KAAK,GAAG;6BAA1B,kBAAkB,KAAK,GAAG;2BAA1B,kBAAkB,KAAK,GAAG;;oBAA1B,kBAAkB,KAAK,GAAG;oBAA1B,kBAAkB,KAAK,GAAG;oBAA1B,kBAAkB,KAAK,GAAG;6BAA1B,kBAAkB,KAAK,GAAG;2BAA1B,kBAAkB,KAAK,GAAG;6BAA1B,kBAAkB,KAAK,GAAG;2BAA1B,kBAAkB,KAAK,GAAG;EA6gB/D;AACD,QAAA,MAAM,eAAe;;YAOqB,OAAO;eAAS,MAAM;;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;kFAM9D,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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./ApiReferenceLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1f7a83f1"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
a as default
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ee, ref as R, computed as
|
|
1
|
+
import { defineComponent as ee, ref as R, computed as y, onBeforeMount as P, onMounted as oe, onUnmounted as te, watch as re, onServerPrefetch as ae, useSSRContext as ne, getCurrentInstance as ie, provide as m, openBlock as w, createElementBlock as T, Fragment as k, createElementVNode as l, normalizeClass as se, unref as p, normalizeStyle as le, renderSlot as d, normalizeProps as c, guardReactiveProps as u, createVNode as S, withCtx as v, createCommentVNode as O, withDirectives as de, vShow as ce, createSlots as ue } from "vue";
|
|
2
2
|
import { provideUseId as pe } from "@headlessui/vue";
|
|
3
3
|
import { addScalarClassesToHeadless as fe } from "@scalar/components";
|
|
4
4
|
import { defaultStateFactory as A } from "@scalar/oas-utils/helpers";
|
|
@@ -8,17 +8,17 @@ import { useMediaQuery as he, useResizeObserver as be, useDebounceFn as ye } fro
|
|
|
8
8
|
import we from "./ApiClientModal.vue.js";
|
|
9
9
|
import Te from "./GettingStarted.vue.js";
|
|
10
10
|
import { downloadSpecBus as F, downloadSpecFile as Re } from "../helpers/specDownloads.js";
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import { useNavState as
|
|
17
|
-
import { sleep as
|
|
18
|
-
const
|
|
11
|
+
import { GLOBAL_SECURITY_SYMBOL as Oe, HIDE_DOWNLOAD_BUTTON_SYMBOL as $e, HIDE_TEST_REQUEST_BUTTON_SYMBOL as Ce, OPENAPI_DOCUMENT_URL_SYMBOL as Ee, INTEGRATION_SYMBOL as Ie } from "../helpers/provideSymbols.js";
|
|
12
|
+
import { useDeprecationWarnings as Le } from "../hooks/useDeprecationWarnings.js";
|
|
13
|
+
import Be from "./Sidebar/Sidebar.vue.js";
|
|
14
|
+
import Ue from "./Content/Content.vue.js";
|
|
15
|
+
import { useSidebar as De } from "../hooks/useSidebar.js";
|
|
16
|
+
import { useNavState as Me } from "../hooks/useNavState.js";
|
|
17
|
+
import { sleep as Pe } from "../helpers/sleep.js";
|
|
18
|
+
const ke = ["innerHTML"], Ae = { class: "references-header" }, Fe = ["aria-label"], Ne = { class: "references-navigation-list" }, He = { class: "references-editor" }, Ye = { class: "references-editor-textarea" }, ze = ["aria-label"], Ge = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "references-footer"
|
|
21
|
-
},
|
|
21
|
+
}, io = /* @__PURE__ */ ee({
|
|
22
22
|
inheritAttrs: !1,
|
|
23
23
|
__name: "ApiReferenceLayout",
|
|
24
24
|
props: {
|
|
@@ -30,53 +30,53 @@ const Pe = ["innerHTML"], ke = { class: "references-header" }, Ae = ["aria-label
|
|
|
30
30
|
setup(N) {
|
|
31
31
|
const t = N, { initializeToasts: H, toast: Y } = Se();
|
|
32
32
|
H((e) => Y(e));
|
|
33
|
-
const z = he("(min-width: 1150px)"),
|
|
33
|
+
const z = he("(min-width: 1150px)"), G = R("100dvh"), f = R(null);
|
|
34
34
|
be(f, (e) => {
|
|
35
|
-
|
|
35
|
+
G.value = e[0].contentRect.height + "px";
|
|
36
36
|
});
|
|
37
|
-
const
|
|
37
|
+
const V = y(ge), {
|
|
38
38
|
breadcrumb: Q,
|
|
39
|
-
collapsedSidebarItems:
|
|
39
|
+
collapsedSidebarItems: h,
|
|
40
40
|
isSidebarOpen: W,
|
|
41
|
-
setCollapsedSidebarItem:
|
|
41
|
+
setCollapsedSidebarItem: $,
|
|
42
42
|
hideModels: j,
|
|
43
43
|
defaultOpenAllTags: q,
|
|
44
44
|
setParsedSpec: K,
|
|
45
|
-
scrollToOperation:
|
|
46
|
-
} =
|
|
47
|
-
getPathRoutingId:
|
|
48
|
-
getSectionId:
|
|
49
|
-
getTagId:
|
|
45
|
+
scrollToOperation: _
|
|
46
|
+
} = De(), {
|
|
47
|
+
getPathRoutingId: C,
|
|
48
|
+
getSectionId: J,
|
|
49
|
+
getTagId: X,
|
|
50
50
|
hash: E,
|
|
51
|
-
isIntersectionEnabled:
|
|
52
|
-
pathRouting:
|
|
51
|
+
isIntersectionEnabled: I,
|
|
52
|
+
pathRouting: L,
|
|
53
53
|
updateHash: B
|
|
54
|
-
} =
|
|
55
|
-
|
|
54
|
+
} = Me();
|
|
55
|
+
L.value = t.configuration.pathRouting, P(() => B());
|
|
56
56
|
const U = async (e) => {
|
|
57
57
|
var o;
|
|
58
|
-
|
|
58
|
+
I.value = !1, B(), e ? _(e) : (o = f.value) == null || o.scrollTo(0, 0), await Pe(100), I.value = !0;
|
|
59
59
|
}, D = R(0);
|
|
60
60
|
P(() => fe()), oe(() => {
|
|
61
61
|
var r, a, n;
|
|
62
|
-
history.scrollRestoration = "manual", F.on(({ specTitle:
|
|
63
|
-
Re(t.rawSpec,
|
|
62
|
+
history.scrollRestoration = "manual", F.on(({ specTitle: s }) => {
|
|
63
|
+
Re(t.rawSpec, s);
|
|
64
64
|
});
|
|
65
65
|
const e = (a = (r = f.value) == null ? void 0 : r.parentElement) == null ? void 0 : a.getBoundingClientRect(), o = (n = f.value) == null ? void 0 : n.getBoundingClientRect();
|
|
66
66
|
if (e && o) {
|
|
67
|
-
const
|
|
68
|
-
D.value =
|
|
67
|
+
const s = o.top - e.top;
|
|
68
|
+
D.value = s < 2 ? 0 : s;
|
|
69
69
|
}
|
|
70
|
-
window.onhashchange = () => U(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () =>
|
|
70
|
+
window.onhashchange = () => U(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => L.value && U(C(window.location.pathname));
|
|
71
71
|
});
|
|
72
|
-
const
|
|
72
|
+
const Z = y(
|
|
73
73
|
() => z.value || !t.configuration.isEditable
|
|
74
74
|
), M = ye((e) => {
|
|
75
75
|
if ((e.target.scrollTop ?? 0) < 50) {
|
|
76
76
|
const r = t.configuration.pathRouting ? t.configuration.pathRouting.basePath : window.location.pathname;
|
|
77
77
|
window.history.replaceState({}, "", r + window.location.search), E.value = "";
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
79
|
+
}), i = y(() => ({
|
|
80
80
|
breadcrumb: Q.value,
|
|
81
81
|
spec: t.parsedSpec
|
|
82
82
|
}));
|
|
@@ -86,50 +86,53 @@ const Pe = ["innerHTML"], ke = { class: "references-header" }, Ae = ["aria-label
|
|
|
86
86
|
var o, r;
|
|
87
87
|
const e = ne();
|
|
88
88
|
if (e && (e.payload || (e.payload = { data: A() }), (o = e.payload).data || (o.data = A()), t.configuration.pathRouting)) {
|
|
89
|
-
const a =
|
|
89
|
+
const a = C(e.url);
|
|
90
90
|
E.value = a, e.payload.data.hash = a;
|
|
91
|
-
for (const n in
|
|
92
|
-
Object.hasOwn(
|
|
91
|
+
for (const n in h)
|
|
92
|
+
Object.hasOwn(h, n) && delete h[n];
|
|
93
93
|
if (a)
|
|
94
|
-
|
|
94
|
+
$(J(a), !0);
|
|
95
95
|
else {
|
|
96
96
|
const n = (r = t.parsedSpec.tags) == null ? void 0 : r[0];
|
|
97
|
-
n &&
|
|
97
|
+
n && $(X(n), !0);
|
|
98
98
|
}
|
|
99
|
-
e.payload.data["useSidebarContent-collapsedSidebarItems"] =
|
|
99
|
+
e.payload.data["useSidebarContent-collapsedSidebarItems"] = h;
|
|
100
100
|
}
|
|
101
101
|
}), pe(() => {
|
|
102
102
|
var a;
|
|
103
|
-
const e =
|
|
103
|
+
const e = ie(), o = "scalar-instance-id";
|
|
104
104
|
if (!e) return o;
|
|
105
105
|
let r = e.uid;
|
|
106
106
|
return typeof window > "u" ? (e.attrs || (e.attrs = {}), e.attrs[o] = r) : (a = e.vnode.el) != null && a.getAttribute && (r = e.vnode.el.getAttribute(o)), `${o}-${r}`;
|
|
107
|
-
}),
|
|
108
|
-
|
|
107
|
+
}), m(Oe, () => t.parsedSpec.security), m(
|
|
108
|
+
$e,
|
|
109
109
|
() => t.configuration.hideDownloadButton
|
|
110
|
-
),
|
|
111
|
-
|
|
110
|
+
), m(
|
|
111
|
+
Ce,
|
|
112
112
|
() => t.configuration.hideTestRequestButton
|
|
113
|
-
),
|
|
113
|
+
), m(Ee, () => {
|
|
114
114
|
var e;
|
|
115
115
|
return (e = t.configuration.spec) == null ? void 0 : e.url;
|
|
116
|
-
}),
|
|
117
|
-
|
|
116
|
+
}), m(
|
|
117
|
+
Ie,
|
|
118
|
+
() => t.configuration._integration !== null ? t.configuration._integration : "vue"
|
|
119
|
+
), j.value = t.configuration.hideModels ?? !1, q.value = t.configuration.defaultOpenAllTags ?? !1, Le(t.configuration);
|
|
120
|
+
const x = y(
|
|
118
121
|
() => `<style>
|
|
119
122
|
${me(t.configuration.theme, {
|
|
120
123
|
fonts: t.configuration.withDefaultFonts
|
|
121
124
|
})}</style>`
|
|
122
125
|
);
|
|
123
126
|
return (e, o) => {
|
|
124
|
-
var r, a, n,
|
|
127
|
+
var r, a, n, s;
|
|
125
128
|
return w(), T(k, null, [
|
|
126
|
-
l("div", { innerHTML: x.value }, null, 8,
|
|
129
|
+
l("div", { innerHTML: x.value }, null, 8, ke),
|
|
127
130
|
l("div", {
|
|
128
131
|
ref_key: "documentEl",
|
|
129
132
|
ref: f,
|
|
130
|
-
class:
|
|
133
|
+
class: se(["scalar-app scalar-api-reference references-layout", [
|
|
131
134
|
{
|
|
132
|
-
"scalar-scrollbars-obtrusive":
|
|
135
|
+
"scalar-scrollbars-obtrusive": V.value,
|
|
133
136
|
"references-editable": e.configuration.isEditable,
|
|
134
137
|
"references-sidebar": e.configuration.showSidebar,
|
|
135
138
|
"references-sidebar-mobile-open": p(W),
|
|
@@ -141,66 +144,66 @@ const Pe = ["innerHTML"], ke = { class: "references-header" }, Ae = ["aria-label
|
|
|
141
144
|
"--scalar-y-offset": `var(--scalar-custom-header-height, ${D.value}px)`
|
|
142
145
|
}),
|
|
143
146
|
onScrollPassive: o[4] || (o[4] = //@ts-ignore
|
|
144
|
-
(...
|
|
147
|
+
(...b) => p(M) && p(M)(...b))
|
|
145
148
|
}, [
|
|
146
|
-
l("div",
|
|
147
|
-
d(e.$slots, "header", c(u(
|
|
149
|
+
l("div", Ae, [
|
|
150
|
+
d(e.$slots, "header", c(u(i.value)), void 0, !0)
|
|
148
151
|
]),
|
|
149
152
|
e.configuration.showSidebar ? (w(), T("nav", {
|
|
150
153
|
key: 0,
|
|
151
154
|
"aria-label": `Contents of ${(r = e.parsedSpec.info) == null ? void 0 : r.title}`,
|
|
152
155
|
class: "references-navigation t-doc__sidebar"
|
|
153
156
|
}, [
|
|
154
|
-
l("div",
|
|
155
|
-
|
|
157
|
+
l("div", Ne, [
|
|
158
|
+
S(p(Be), {
|
|
156
159
|
operationsSorter: e.configuration.operationsSorter,
|
|
157
160
|
parsedSpec: e.parsedSpec,
|
|
158
161
|
tagsSorter: e.configuration.tagsSorter
|
|
159
162
|
}, {
|
|
160
|
-
"sidebar-start":
|
|
161
|
-
d(e.$slots, "sidebar-start", c(u(
|
|
163
|
+
"sidebar-start": v(() => [
|
|
164
|
+
d(e.$slots, "sidebar-start", c(u(i.value)), void 0, !0)
|
|
162
165
|
]),
|
|
163
|
-
"sidebar-end":
|
|
164
|
-
d(e.$slots, "sidebar-end", c(u(
|
|
166
|
+
"sidebar-end": v(() => [
|
|
167
|
+
d(e.$slots, "sidebar-end", c(u(i.value)), void 0, !0)
|
|
165
168
|
]),
|
|
166
169
|
_: 3
|
|
167
170
|
}, 8, ["operationsSorter", "parsedSpec", "tagsSorter"])
|
|
168
171
|
])
|
|
169
|
-
], 8,
|
|
170
|
-
de(l("div",
|
|
171
|
-
l("div",
|
|
172
|
-
d(e.$slots, "editor", c(u(
|
|
172
|
+
], 8, Fe)) : O("", !0),
|
|
173
|
+
de(l("div", He, [
|
|
174
|
+
l("div", Ye, [
|
|
175
|
+
d(e.$slots, "editor", c(u(i.value)), void 0, !0)
|
|
173
176
|
])
|
|
174
177
|
], 512), [
|
|
175
178
|
[ce, e.configuration.isEditable]
|
|
176
179
|
]),
|
|
177
|
-
|
|
180
|
+
Z.value ? (w(), T(k, { key: 1 }, [
|
|
178
181
|
l("section", {
|
|
179
182
|
"aria-label": `Open API Documentation for ${(a = e.parsedSpec.info) == null ? void 0 : a.title}`,
|
|
180
183
|
class: "references-rendered"
|
|
181
184
|
}, [
|
|
182
|
-
|
|
185
|
+
S(p(Ue), {
|
|
183
186
|
baseServerURL: e.configuration.baseServerURL,
|
|
184
187
|
layout: e.configuration.layout === "classic" ? "accordion" : "default",
|
|
185
188
|
parsedSpec: e.parsedSpec,
|
|
186
189
|
proxy: e.configuration.proxy,
|
|
187
190
|
servers: e.configuration.servers
|
|
188
191
|
}, ue({
|
|
189
|
-
start:
|
|
190
|
-
d(e.$slots, "content-start", c(u(
|
|
192
|
+
start: v(() => [
|
|
193
|
+
d(e.$slots, "content-start", c(u(i.value)), void 0, !0)
|
|
191
194
|
]),
|
|
192
|
-
end:
|
|
193
|
-
d(e.$slots, "content-end", c(u(
|
|
195
|
+
end: v(() => [
|
|
196
|
+
d(e.$slots, "content-end", c(u(i.value)), void 0, !0)
|
|
194
197
|
]),
|
|
195
198
|
_: 2
|
|
196
199
|
}, [
|
|
197
200
|
(n = e.configuration) != null && n.isEditable ? {
|
|
198
201
|
name: "empty-state",
|
|
199
|
-
fn:
|
|
200
|
-
var
|
|
202
|
+
fn: v(() => {
|
|
203
|
+
var b;
|
|
201
204
|
return [
|
|
202
|
-
|
|
203
|
-
theme: ((
|
|
205
|
+
S(Te, {
|
|
206
|
+
theme: ((b = e.configuration) == null ? void 0 : b.theme) || "default",
|
|
204
207
|
onChangeTheme: o[0] || (o[0] = (g) => e.$emit("changeTheme", g)),
|
|
205
208
|
onLinkSwaggerFile: o[1] || (o[1] = (g) => e.$emit("linkSwaggerFile")),
|
|
206
209
|
onLoadSwaggerFile: o[2] || (o[2] = (g) => e.$emit("loadSwaggerFile")),
|
|
@@ -211,23 +214,23 @@ const Pe = ["innerHTML"], ke = { class: "references-header" }, Ae = ["aria-label
|
|
|
211
214
|
key: "0"
|
|
212
215
|
} : void 0
|
|
213
216
|
]), 1032, ["baseServerURL", "layout", "parsedSpec", "proxy", "servers"])
|
|
214
|
-
], 8,
|
|
215
|
-
e.$slots.footer ? (w(), T("div",
|
|
216
|
-
d(e.$slots, "footer", c(u(
|
|
217
|
-
])) :
|
|
218
|
-
], 64)) :
|
|
219
|
-
|
|
220
|
-
preferredSecurityScheme: (
|
|
217
|
+
], 8, ze),
|
|
218
|
+
e.$slots.footer ? (w(), T("div", Ge, [
|
|
219
|
+
d(e.$slots, "footer", c(u(i.value)), void 0, !0)
|
|
220
|
+
])) : O("", !0)
|
|
221
|
+
], 64)) : O("", !0),
|
|
222
|
+
S(we, {
|
|
223
|
+
preferredSecurityScheme: (s = e.configuration.authentication) == null ? void 0 : s.preferredSecurityScheme,
|
|
221
224
|
proxyUrl: e.configuration.proxy,
|
|
222
225
|
servers: e.configuration.servers,
|
|
223
226
|
spec: e.configuration.spec
|
|
224
227
|
}, null, 8, ["preferredSecurityScheme", "proxyUrl", "servers", "spec"])
|
|
225
228
|
], 38),
|
|
226
|
-
|
|
229
|
+
S(p(ve))
|
|
227
230
|
], 64);
|
|
228
231
|
};
|
|
229
232
|
}
|
|
230
233
|
});
|
|
231
234
|
export {
|
|
232
|
-
|
|
235
|
+
io as default
|
|
233
236
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenApiDocument.vue.d.ts","sourceRoot":"","sources":["../../../src/embeds/OpenApiDocument/OpenApiDocument.vue"],"names":[],"mappings":"AA8HA,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,wBAAwB,CAAA;AAE5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAUpD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAA;AAS3D,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReferenceConfiguration } from '../types';
|
|
1
2
|
import type { OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
3
|
import type { InjectionKey } from 'vue';
|
|
3
4
|
/**
|
|
@@ -7,4 +8,5 @@ export declare const GLOBAL_SECURITY_SYMBOL: InjectionKey<() => OpenAPIV3.Securi
|
|
|
7
8
|
export declare const HIDE_DOWNLOAD_BUTTON_SYMBOL: InjectionKey<() => boolean | undefined>;
|
|
8
9
|
export declare const HIDE_TEST_REQUEST_BUTTON_SYMBOL: InjectionKey<() => boolean | undefined>;
|
|
9
10
|
export declare const OPENAPI_DOCUMENT_URL_SYMBOL: InjectionKey<() => string | undefined>;
|
|
11
|
+
export declare const INTEGRATION_SYMBOL: InjectionKey<() => ReferenceConfiguration["_integration"]>;
|
|
10
12
|
//# sourceMappingURL=provideSymbols.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provideSymbols.d.ts","sourceRoot":"","sources":["../../src/helpers/provideSymbols.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAe,YAAY,CAC5D,MACI,SAAS,CAAC,yBAAyB,EAAE,GACrC,WAAW,CAAC,yBAAyB,EAAE,GACvC,SAAS,CACd,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAe,YAAY,CACjE,MAAM,OAAO,GAAG,SAAS,CAC1B,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAe,YAAY,CACrE,MAAM,OAAO,GAAG,SAAS,CAC1B,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAe,YAAY,CACjE,MAAM,MAAM,GAAG,SAAS,CACzB,CAAA"}
|
|
1
|
+
{"version":3,"file":"provideSymbols.d.ts","sourceRoot":"","sources":["../../src/helpers/provideSymbols.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAe,YAAY,CAC5D,MACI,SAAS,CAAC,yBAAyB,EAAE,GACrC,WAAW,CAAC,yBAAyB,EAAE,GACvC,SAAS,CACd,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAe,YAAY,CACjE,MAAM,OAAO,GAAG,SAAS,CAC1B,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAe,YAAY,CACrE,MAAM,OAAO,GAAG,SAAS,CAC1B,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAe,YAAY,CACjE,MAAM,MAAM,GAAG,SAAS,CACzB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAe,YAAY,CACxD,MAAM,sBAAsB,CAAC,cAAc,CAAC,CAC7C,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const O = Symbol(), S = Symbol(), _ = Symbol(), o = Symbol(), T = Symbol();
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
O as GLOBAL_SECURITY_SYMBOL,
|
|
4
|
+
S as HIDE_DOWNLOAD_BUTTON_SYMBOL,
|
|
5
|
+
_ as HIDE_TEST_REQUEST_BUTTON_SYMBOL,
|
|
6
|
+
T as INTEGRATION_SYMBOL,
|
|
6
7
|
o as OPENAPI_DOCUMENT_URL_SYMBOL
|
|
7
8
|
};
|