@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,83 +1,81 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarMarkdown as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { useSidebar as
|
|
11
|
-
import { useNavState as
|
|
12
|
-
const
|
|
1
|
+
import { defineComponent as I, computed as m, openBlock as s, createBlock as a, unref as t, withCtx as l, createVNode as n, createTextVNode as v, createElementVNode as B, normalizeClass as L, createElementBlock as h, Fragment as w, renderList as y, toDisplayString as O, createCommentVNode as u } from "vue";
|
|
2
|
+
import { ScalarMarkdown as z } from "@scalar/components";
|
|
3
|
+
import A from "../../ShowMoreButton.vue.js";
|
|
4
|
+
import E from "./Webhook.vue.js";
|
|
5
|
+
import H from "../../Section/SectionContainer.vue.js";
|
|
6
|
+
import M from "../../Section/Section.vue.js";
|
|
7
|
+
import j from "../../Section/SectionHeader.vue.js";
|
|
8
|
+
import S from "../Lazy/Lazy.vue.js";
|
|
9
|
+
import F from "../../Section/CompactSection.vue.js";
|
|
10
|
+
import { useSidebar as K } from "../../../hooks/useSidebar.js";
|
|
11
|
+
import { useNavState as T } from "../../../hooks/useNavState.js";
|
|
12
|
+
const _ = 10, x = /* @__PURE__ */ I({
|
|
13
13
|
__name: "Webhooks",
|
|
14
14
|
props: {
|
|
15
15
|
webhooks: {}
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const N =
|
|
19
|
-
() =>
|
|
17
|
+
setup(g) {
|
|
18
|
+
const N = g, k = m(() => Object.keys(N.webhooks ?? {})), { getWebhookId: c } = T(), { collapsedSidebarItems: W } = K(), d = m(
|
|
19
|
+
() => k.value.length <= _ || W[c()]
|
|
20
20
|
), C = m(() => {
|
|
21
|
-
const o =
|
|
22
|
-
return
|
|
21
|
+
const o = k.value;
|
|
22
|
+
return d.value ? o : o.slice(0, _);
|
|
23
23
|
});
|
|
24
|
-
return (o,
|
|
24
|
+
return (o, D) => k.value.length ? (s(), a(t(H), {
|
|
25
|
+
key: 0,
|
|
26
|
+
id: "webhooks"
|
|
27
|
+
}, {
|
|
25
28
|
default: l(() => [
|
|
26
|
-
n(t(
|
|
29
|
+
n(t(M), null, {
|
|
27
30
|
default: l(() => [
|
|
28
|
-
n(t(
|
|
31
|
+
n(t(j), { level: 2 }, {
|
|
29
32
|
default: l(() => [
|
|
30
33
|
v("Webhooks")
|
|
31
34
|
]),
|
|
32
35
|
_: 1
|
|
33
36
|
}),
|
|
34
|
-
n(t(
|
|
37
|
+
n(t(S), {
|
|
35
38
|
id: "webhooks",
|
|
36
39
|
isLazy: !1
|
|
37
|
-
}, {
|
|
38
|
-
default: l(() => [
|
|
39
|
-
$
|
|
40
|
-
]),
|
|
41
|
-
_: 1
|
|
42
40
|
}),
|
|
43
|
-
|
|
44
|
-
class: L(["webhooks-list", { "webhooks-list-truncated": !
|
|
41
|
+
B("div", {
|
|
42
|
+
class: L(["webhooks-list", { "webhooks-list-truncated": !d.value }])
|
|
45
43
|
}, [
|
|
46
|
-
(s(!0), w
|
|
47
|
-
var
|
|
48
|
-
return s(), w
|
|
49
|
-
(s(!0), w
|
|
50
|
-
(
|
|
51
|
-
), (r) => (s(),
|
|
52
|
-
id: t(
|
|
44
|
+
(s(!0), h(w, null, y(C.value, (e) => {
|
|
45
|
+
var b;
|
|
46
|
+
return s(), h(w, { key: e }, [
|
|
47
|
+
(s(!0), h(w, null, y(Object.keys(
|
|
48
|
+
(b = o.webhooks) == null ? void 0 : b[e]
|
|
49
|
+
), (r) => (s(), a(t(S), {
|
|
50
|
+
id: t(c)(e, r),
|
|
53
51
|
key: r,
|
|
54
52
|
isLazy: ""
|
|
55
53
|
}, {
|
|
56
54
|
default: l(() => {
|
|
57
55
|
var f;
|
|
58
56
|
return [
|
|
59
|
-
(f = o.webhooks) != null && f[e] ? (s(),
|
|
57
|
+
(f = o.webhooks) != null && f[e] ? (s(), a(t(F), {
|
|
60
58
|
key: 0,
|
|
61
|
-
id: t(
|
|
59
|
+
id: t(c)(e, r),
|
|
62
60
|
class: "webhooks-list-item",
|
|
63
61
|
label: e
|
|
64
62
|
}, {
|
|
65
63
|
heading: l(() => {
|
|
66
|
-
var
|
|
64
|
+
var i;
|
|
67
65
|
return [
|
|
68
|
-
v(O((
|
|
66
|
+
v(O((i = o.webhooks[e][r]) == null ? void 0 : i.name), 1)
|
|
69
67
|
];
|
|
70
68
|
}),
|
|
71
69
|
default: l(() => {
|
|
72
|
-
var
|
|
70
|
+
var i, p;
|
|
73
71
|
return [
|
|
74
|
-
(
|
|
72
|
+
(i = o.webhooks[e][r]) != null && i.description ? (s(), a(t(z), {
|
|
75
73
|
key: 0,
|
|
76
74
|
class: "webhook-section-description",
|
|
77
|
-
value: (
|
|
75
|
+
value: (p = o.webhooks[e][r]) == null ? void 0 : p.description,
|
|
78
76
|
withImages: ""
|
|
79
77
|
}, null, 8, ["value"])) : u("", !0),
|
|
80
|
-
n(
|
|
78
|
+
n(E, {
|
|
81
79
|
webhook: o.webhooks[e][r]
|
|
82
80
|
}, null, 8, ["webhook"])
|
|
83
81
|
];
|
|
@@ -91,7 +89,7 @@ const Y = (i) => (z("data-v-b5c5dcfc"), i = i(), A(), i), $ = /* @__PURE__ */ Y(
|
|
|
91
89
|
], 64);
|
|
92
90
|
}), 128))
|
|
93
91
|
], 2),
|
|
94
|
-
|
|
92
|
+
d.value ? u("", !0) : (s(), a(A, {
|
|
95
93
|
key: 0,
|
|
96
94
|
id: "webhooks",
|
|
97
95
|
class: "show-more-webhooks"
|
|
@@ -105,5 +103,5 @@ const Y = (i) => (z("data-v-b5c5dcfc"), i = i(), A(), i), $ = /* @__PURE__ */ Y(
|
|
|
105
103
|
}
|
|
106
104
|
});
|
|
107
105
|
export {
|
|
108
|
-
|
|
106
|
+
x as default
|
|
109
107
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DarkModeIconToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeIconToggle.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DarkModeIconToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeIconToggle.vue"],"names":[],"mappings":";gBAkDc,OAAO;;;;gBAAP,OAAO;;;;AAgFrB,wBAOG;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 "./DarkModeIconToggle.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-3d47eee0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AA0B7E,iBAAS,cAAc,0DAmItB;AACD,QAAA,MAAM,eAAe;;;;;;UAOnB,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,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as g, useSlots as m, computed as k, openBlock as s, createBlock as i, createSlots as S, withCtx as t, createVNode as D, unref as d, createCommentVNode as c, renderList as y, renderSlot as C, normalizeProps as M, guardReactiveProps as h } from "vue";
|
|
2
|
+
import w from "../ApiReferenceLayout.vue.js";
|
|
3
3
|
import v from "../ClassicHeader.vue.js";
|
|
4
4
|
import B from "../DarkModeToggle/DarkModeIconToggle.vue.js";
|
|
5
5
|
import H from "../../features/Search/SearchButton.vue.js";
|
|
6
|
-
const N = /* @__PURE__ */
|
|
6
|
+
const N = /* @__PURE__ */ g({
|
|
7
7
|
__name: "ClassicLayout",
|
|
8
8
|
props: {
|
|
9
9
|
configuration: {},
|
|
@@ -12,39 +12,40 @@ const N = /* @__PURE__ */ f({
|
|
|
12
12
|
isDark: { type: Boolean }
|
|
13
13
|
},
|
|
14
14
|
emits: ["toggleDarkMode", "updateContent"],
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
return (e, o) => (
|
|
18
|
-
configuration:
|
|
15
|
+
setup(l) {
|
|
16
|
+
const a = l, u = m(), p = k(() => ({ ...a.configuration, showSidebar: !1 }));
|
|
17
|
+
return (e, o) => (s(), i(w, {
|
|
18
|
+
configuration: p.value,
|
|
19
19
|
parsedSpec: e.parsedSpec,
|
|
20
20
|
rawSpec: e.rawSpec,
|
|
21
21
|
onUpdateContent: o[1] || (o[1] = (r) => e.$emit("updateContent", r))
|
|
22
22
|
}, S({
|
|
23
23
|
"content-start": t(({ spec: r }) => [
|
|
24
|
-
|
|
24
|
+
D(v, null, {
|
|
25
25
|
"dark-mode-toggle": t(() => [
|
|
26
|
-
|
|
26
|
+
a.configuration.hideDarkModeToggle ? c("", !0) : (s(), i(d(B), {
|
|
27
27
|
key: 0,
|
|
28
28
|
isDarkMode: e.isDark,
|
|
29
|
-
onToggleDarkMode: o[0] || (o[0] = (
|
|
29
|
+
onToggleDarkMode: o[0] || (o[0] = (n) => e.$emit("toggleDarkMode"))
|
|
30
30
|
}, null, 8, ["isDarkMode"]))
|
|
31
31
|
]),
|
|
32
32
|
default: t(() => [
|
|
33
|
-
d(
|
|
33
|
+
a.configuration.hideSearch ? c("", !0) : (s(), i(d(H), {
|
|
34
|
+
key: 0,
|
|
34
35
|
class: "t-doc__sidebar",
|
|
35
|
-
searchHotKey:
|
|
36
|
+
searchHotKey: p.value.searchHotKey,
|
|
36
37
|
spec: r
|
|
37
|
-
}, null, 8, ["searchHotKey", "spec"])
|
|
38
|
+
}, null, 8, ["searchHotKey", "spec"]))
|
|
38
39
|
]),
|
|
39
40
|
_: 2
|
|
40
41
|
}, 1024)
|
|
41
42
|
]),
|
|
42
43
|
_: 2
|
|
43
44
|
}, [
|
|
44
|
-
|
|
45
|
-
name:
|
|
46
|
-
fn: t((
|
|
47
|
-
|
|
45
|
+
y(u, (r, n) => ({
|
|
46
|
+
name: n,
|
|
47
|
+
fn: t((f) => [
|
|
48
|
+
C(e.$slots, n, M(h(f || {})))
|
|
48
49
|
])
|
|
49
50
|
}))
|
|
50
51
|
]), 1032, ["configuration", "parsedSpec", "rawSpec"]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAqC7E,iBAAS,cAAc,0DAsJtB;AACD,QAAA,MAAM,eAAe;;;;;;UAOnB,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"}
|
|
@@ -2,7 +2,7 @@ import o from "./ModernLayout.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-67757240"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
_ as default
|
|
8
8
|
};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { defineComponent as k, useSlots as
|
|
2
|
-
import { useMediaQuery as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as k, useSlots as h, watch as u, openBlock as i, createBlock as p, normalizeClass as M, createSlots as y, withCtx as s, unref as l, isRef as b, createCommentVNode as d, createElementBlock as D, createVNode as v, renderList as w, renderSlot as C, normalizeProps as B, guardReactiveProps as $ } from "vue";
|
|
2
|
+
import { useMediaQuery as H } from "@vueuse/core";
|
|
3
|
+
import K from "../ApiReferenceLayout.vue.js";
|
|
4
|
+
import L from "../MobileHeader.vue.js";
|
|
5
|
+
import N from "../../features/Search/SearchButton.vue.js";
|
|
6
6
|
import R from "../DarkModeToggle/DarkModeToggle.vue.js";
|
|
7
7
|
import { useSidebar as T } from "../../hooks/useSidebar.js";
|
|
8
|
-
import { useNavState as
|
|
9
|
-
const
|
|
8
|
+
import { useNavState as z } from "../../hooks/useNavState.js";
|
|
9
|
+
const P = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "scalar-api-references-standalone-search"
|
|
12
|
+
}, F = /* @__PURE__ */ k({
|
|
10
13
|
__name: "ModernLayout",
|
|
11
14
|
props: {
|
|
12
15
|
configuration: {},
|
|
@@ -16,42 +19,42 @@ const z = { class: "scalar-api-references-standalone-search" }, F = /* @__PURE__
|
|
|
16
19
|
},
|
|
17
20
|
emits: ["toggleDarkMode", "updateContent"],
|
|
18
21
|
setup(c) {
|
|
19
|
-
const
|
|
20
|
-
|
|
22
|
+
const n = c, f = h(), m = H("(max-width: 1000px)"), { isSidebarOpen: a } = T();
|
|
23
|
+
u(m, (e, o) => {
|
|
21
24
|
e && !o && (a.value = !1);
|
|
22
25
|
});
|
|
23
|
-
const { hash: g } =
|
|
24
|
-
return
|
|
26
|
+
const { hash: g } = z();
|
|
27
|
+
return u(g, (e, o) => {
|
|
25
28
|
e && e !== o && (a.value = !1);
|
|
26
|
-
}), (e, o) => (i(), p(
|
|
27
|
-
class:
|
|
29
|
+
}), (e, o) => (i(), p(K, {
|
|
30
|
+
class: M({
|
|
28
31
|
"scalar-api-references-standalone-mobile": e.configuration.showSidebar
|
|
29
32
|
}),
|
|
30
33
|
configuration: e.configuration,
|
|
31
34
|
parsedSpec: e.parsedSpec,
|
|
32
35
|
rawSpec: e.rawSpec,
|
|
33
36
|
onUpdateContent: o[2] || (o[2] = (r) => e.$emit("updateContent", r))
|
|
34
|
-
},
|
|
35
|
-
header:
|
|
36
|
-
|
|
37
|
+
}, y({
|
|
38
|
+
header: s(() => [
|
|
39
|
+
n.configuration.showSidebar ? (i(), p(L, {
|
|
37
40
|
key: 0,
|
|
38
|
-
open:
|
|
39
|
-
"onUpdate:open": o[0] || (o[0] = (r) =>
|
|
40
|
-
}, null, 8, ["open"])) :
|
|
41
|
+
open: l(a),
|
|
42
|
+
"onUpdate:open": o[0] || (o[0] = (r) => b(a) ? a.value = r : null)
|
|
43
|
+
}, null, 8, ["open"])) : d("", !0)
|
|
41
44
|
]),
|
|
42
|
-
"sidebar-start":
|
|
45
|
+
"sidebar-start": s(({ spec: r }) => {
|
|
43
46
|
var t;
|
|
44
47
|
return [
|
|
45
|
-
D("div",
|
|
46
|
-
v(
|
|
47
|
-
searchHotKey: (t =
|
|
48
|
+
n.configuration.hideSearch ? d("", !0) : (i(), D("div", P, [
|
|
49
|
+
v(l(N), {
|
|
50
|
+
searchHotKey: (t = n.configuration) == null ? void 0 : t.searchHotKey,
|
|
48
51
|
spec: r
|
|
49
52
|
}, null, 8, ["searchHotKey", "spec"])
|
|
50
|
-
])
|
|
53
|
+
]))
|
|
51
54
|
];
|
|
52
55
|
}),
|
|
53
|
-
"sidebar-end":
|
|
54
|
-
|
|
56
|
+
"sidebar-end": s(() => [
|
|
57
|
+
n.configuration.hideDarkModeToggle ? d("", !0) : (i(), p(l(R), {
|
|
55
58
|
key: 0,
|
|
56
59
|
isDarkMode: e.isDark,
|
|
57
60
|
onToggleDarkMode: o[1] || (o[1] = (r) => e.$emit("toggleDarkMode"))
|
|
@@ -61,8 +64,8 @@ const z = { class: "scalar-api-references-standalone-search" }, F = /* @__PURE__
|
|
|
61
64
|
}, [
|
|
62
65
|
w(f, (r, t) => ({
|
|
63
66
|
name: t,
|
|
64
|
-
fn:
|
|
65
|
-
C(e.$slots, t, B(
|
|
67
|
+
fn: s((S) => [
|
|
68
|
+
C(e.$slots, t, B($(S || {})), void 0, !0)
|
|
66
69
|
])
|
|
67
70
|
}))
|
|
68
71
|
]), 1032, ["class", "configuration", "parsedSpec", "rawSpec"]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CompactSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/CompactSection.vue"],"names":[],"mappings":"AAyIA,iBAAS,cAAc;qBAuFO,GAAG;qBACH,GAAG;EAkBhC;AACD,QAAA,MAAM,eAAe;QApIf,MAAM;YACF,MAAM;;QADV,MAAM;YACF,MAAM;aAyId,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 "./CompactSection.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-db0c8da0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -5,5 +5,6 @@ import type { InjectionKey } from 'vue';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const GLOBAL_SECURITY_SYMBOL: InjectionKey<() => OpenAPIV3.SecurityRequirementObject[] | OpenAPIV3_1.SecurityRequirementObject[] | undefined>;
|
|
7
7
|
export declare const HIDE_DOWNLOAD_BUTTON_SYMBOL: InjectionKey<() => boolean | undefined>;
|
|
8
|
+
export declare const HIDE_TEST_REQUEST_BUTTON_SYMBOL: InjectionKey<() => boolean | undefined>;
|
|
8
9
|
export declare const OPENAPI_DOCUMENT_URL_SYMBOL: InjectionKey<() => string | undefined>;
|
|
9
10
|
//# 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,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,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,6 +1,7 @@
|
|
|
1
|
-
const O = Symbol(),
|
|
1
|
+
const _ = Symbol(), O = Symbol(), S = Symbol(), o = Symbol();
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
_ as GLOBAL_SECURITY_SYMBOL,
|
|
4
|
+
O as HIDE_DOWNLOAD_BUTTON_SYMBOL,
|
|
5
|
+
S as HIDE_TEST_REQUEST_BUTTON_SYMBOL,
|
|
5
6
|
o as OPENAPI_DOCUMENT_URL_SYMBOL
|
|
6
7
|
};
|