@scalar/api-reference 1.28.31 → 1.28.33
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 +47 -0
- package/dist/browser/standalone.js +5966 -5747
- 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 +13 -10
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +1 -1
- package/dist/components/Content/Content.vue2.js +51 -50
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +1 -4
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +133 -129
- package/dist/components/Section/SectionHeader.vue.js +2 -2
- package/dist/components/SpecificationExtension/SpecificationExtension.vue.d.ts.map +1 -1
- package/dist/components/SpecificationExtension/SpecificationExtension.vue.js +30 -21
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts +2 -0
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.js +51 -29
- package/dist/features/ApiClientModal/useApiClient.d.ts +128 -48
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.js +33 -28
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +17 -12
|
@@ -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":"AAgoBA,OAAO,EAGL,KAAK,OAAO,EACb,MAAM,gBAAgB,CAAA;AA8BvB,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAIhB,KAAK,WAAW,GAAG,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC;AAuRxD,iBAAS,cAAc;WAoPT,OAAO,IAA6B;;wBAlfZ,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;;wBAA1B,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;;;;;;EAuf/D;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;YAriBqB,OAAO;eAAS,MAAM;;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;kFA4iB9D,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,8 +1,8 @@
|
|
|
1
1
|
import o from "./ApiReferenceLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const m = /* @__PURE__ */
|
|
4
|
+
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-51b3ff26"]]);
|
|
6
6
|
export {
|
|
7
7
|
m as default
|
|
8
8
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as ie, computed as h, ref as R, onBeforeMount as B, onMounted as le, onUnmounted as de, watch as $, onServerPrefetch as ue, useSSRContext as ce, useId as pe, provide as b, createElementBlock as y, openBlock as C, Fragment as
|
|
1
|
+
import { defineComponent as ie, computed as h, ref as R, onBeforeMount as B, onMounted as le, onUnmounted as de, watch as $, onServerPrefetch as ue, useSSRContext as ce, useId as pe, provide as b, createElementBlock as y, openBlock as C, Fragment as N, createElementVNode as d, createVNode as m, unref as i, normalizeStyle as fe, normalizeClass as me, createCommentVNode as E, withDirectives as ve, renderSlot as u, normalizeProps as c, guardReactiveProps as p, withCtx as v, vShow as Se, createSlots as ge } from "vue";
|
|
2
2
|
import { provideUseId as he } from "@headlessui/vue";
|
|
3
3
|
import { LAYOUT_SYMBOL as be } from "@scalar/api-client/hooks";
|
|
4
4
|
import { createWorkspaceStore as we, WORKSPACE_SYMBOL as ye, createActiveEntitiesStore as Ce, ACTIVE_ENTITIES_SYMBOL as Te } from "@scalar/api-client/store";
|
|
5
5
|
import { addScalarClassesToHeadless as Re, ScalarErrorBoundary as $e } from "@scalar/components";
|
|
6
|
-
import { defaultStateFactory as
|
|
6
|
+
import { defaultStateFactory as _ } from "@scalar/oas-utils/helpers";
|
|
7
7
|
import { hasObtrusiveScrollbars as Ee, getThemeStyles as Oe } from "@scalar/themes";
|
|
8
8
|
import { apiReferenceConfigurationSchema as Ie } from "@scalar/types/api-reference";
|
|
9
9
|
import { useToasts as Le, ScalarToasts as Me } from "@scalar/use-toasts";
|
|
10
10
|
import { useMediaQuery as Pe, useResizeObserver as ke, useDebounceFn as Fe } from "@vueuse/core";
|
|
11
11
|
import Ae from "./GettingStarted.vue.js";
|
|
12
12
|
import { CONFIGURATION_SYMBOL as Be } from "../hooks/useConfig.js";
|
|
13
|
-
import { useHttpClientStore as
|
|
14
|
-
import { downloadSpecBus as D, downloadSpecFile as
|
|
13
|
+
import { useHttpClientStore as Ne } from "../stores/useHttpClientStore.js";
|
|
14
|
+
import { downloadSpecBus as D, downloadSpecFile as _e } from "../helpers/specDownloads.js";
|
|
15
15
|
import { PLUGIN_MANAGER_SYMBOL as De } from "../plugins/hooks/usePluginManager.js";
|
|
16
16
|
import { createPluginManager as He } from "../plugins/plugin-manager.js";
|
|
17
17
|
import Ue from "./Sidebar/Sidebar.vue.js";
|
|
@@ -74,7 +74,7 @@ const je = ["innerHTML"], Ke = { class: "references-header" }, Qe = ["aria-label
|
|
|
74
74
|
B(() => Re()), le(() => {
|
|
75
75
|
var o, s, r;
|
|
76
76
|
history.scrollRestoration = "manual", D.on(({ specTitle: n }) => {
|
|
77
|
-
|
|
77
|
+
_e(f.rawSpec, n);
|
|
78
78
|
});
|
|
79
79
|
const e = (s = (o = S.value) == null ? void 0 : o.parentElement) == null ? void 0 : s.getBoundingClientRect(), a = (r = S.value) == null ? void 0 : r.getBoundingClientRect();
|
|
80
80
|
if (e && a) {
|
|
@@ -101,7 +101,7 @@ const je = ["innerHTML"], Ke = { class: "references-header" }, Qe = ["aria-label
|
|
|
101
101
|
}), $(() => f.parsedSpec, q, { deep: !0 }), ue(() => {
|
|
102
102
|
var a, o;
|
|
103
103
|
const e = ce();
|
|
104
|
-
if (e && (e.payload || (e.payload = { data:
|
|
104
|
+
if (e && (e.payload || (e.payload = { data: _() }), (a = e.payload).data || (a.data = _()), t.value.pathRouting)) {
|
|
105
105
|
const s = I(e.url);
|
|
106
106
|
ee.value = s, e.payload.data.hash = s;
|
|
107
107
|
for (const r in w)
|
|
@@ -149,7 +149,7 @@ const je = ["innerHTML"], Ke = { class: "references-header" }, Qe = ["aria-label
|
|
|
149
149
|
{ immediate: !0 }
|
|
150
150
|
);
|
|
151
151
|
}
|
|
152
|
-
const { setExcludedClients: re, setDefaultHttpClient: se } =
|
|
152
|
+
const { setExcludedClients: re, setDefaultHttpClient: se } = Ne();
|
|
153
153
|
A("defaultHttpClient", se), A("hiddenClients", re), K.value = t.value.hideModels ?? !1, Q.value = t.value.defaultOpenAllTags ?? !1;
|
|
154
154
|
const ne = h(
|
|
155
155
|
() => `<style>
|
|
@@ -159,7 +159,7 @@ const je = ["innerHTML"], Ke = { class: "references-header" }, Qe = ["aria-label
|
|
|
159
159
|
);
|
|
160
160
|
return (e, a) => {
|
|
161
161
|
var o, s, r;
|
|
162
|
-
return C(), y(
|
|
162
|
+
return C(), y(N, null, [
|
|
163
163
|
d("div", { innerHTML: ne.value }, null, 8, je),
|
|
164
164
|
d("div", {
|
|
165
165
|
ref_key: "documentEl",
|
|
@@ -216,7 +216,7 @@ const je = ["innerHTML"], Ke = { class: "references-header" }, Qe = ["aria-label
|
|
|
216
216
|
], 512), [
|
|
217
217
|
[Se, t.value.isEditable]
|
|
218
218
|
]),
|
|
219
|
-
ae.value ? (C(), y(
|
|
219
|
+
ae.value ? (C(), y(N, { key: 1 }, [
|
|
220
220
|
d("main", {
|
|
221
221
|
"aria-label": `Open API Documentation for ${(s = e.parsedSpec.info) == null ? void 0 : s.title}`,
|
|
222
222
|
class: "references-rendered"
|
|
@@ -255,7 +255,10 @@ const je = ["innerHTML"], Ke = { class: "references-header" }, Qe = ["aria-label
|
|
|
255
255
|
u(e.$slots, "footer", c(p(l.value)), void 0, !0)
|
|
256
256
|
])) : E("", !0)
|
|
257
257
|
], 64)) : E("", !0),
|
|
258
|
-
m(i(ze), {
|
|
258
|
+
m(i(ze), {
|
|
259
|
+
configuration: t.value,
|
|
260
|
+
parsedSpec: e.parsedSpec
|
|
261
|
+
}, null, 8, ["configuration", "parsedSpec"])
|
|
259
262
|
], 38),
|
|
260
263
|
m(i(Me))
|
|
261
264
|
], 64);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientLibraries.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientLibraries.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ClientLibraries.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientLibraries.vue"],"names":[],"mappings":";AAwbA,wBAKG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ClientLibraries.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b6a2d2e5"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientSelector.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ClientSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientSelector.vue"],"names":[],"mappings":"AA8RA,KAAK,WAAW,GAAG;IACjB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;;AA6MF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ClientSelector.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-502b1c76"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"AAyRA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAiBhD,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,CAAA;IAChB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC9B,CAAC;AAyDJ,iBAAS,cAAc;WA+NT,OAAO,IAA6B;;uBAVvB,GAAG;+BACM,GAAG;qBACb,GAAG;;;;EAa5B;AA8BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YA7TR,QAAQ,GAAG,SAAS;6EAoU/B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import o from "./Content.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
5
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1a04c6b2"]]);
|
|
6
6
|
export {
|
|
7
7
|
_ as default
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, computed as
|
|
1
|
+
import { defineComponent as F, computed as m, createElementBlock as i, openBlock as a, Fragment as u, createStaticVNode as G, createElementVNode as A, renderSlot as f, createBlock as t, createCommentVNode as l, unref as r, withCtx as V, createVNode as v, normalizeClass as I, renderList as O } from "vue";
|
|
2
2
|
import { useWorkspace as R, useActiveEntities as D } from "@scalar/api-client/store";
|
|
3
3
|
import { RequestAuth as H } from "@scalar/api-client/views/Request/RequestSection/RequestAuth";
|
|
4
4
|
import { ScalarErrorBoundary as J } from "@scalar/components";
|
|
@@ -9,17 +9,17 @@ import Q from "./Lazy/Loading.vue.js";
|
|
|
9
9
|
import T from "./Introduction/Introduction.vue.js";
|
|
10
10
|
import X from "../../features/BaseUrl/BaseUrl.vue.js";
|
|
11
11
|
import Y from "./ClientLibraries/ClientLibraries.vue.js";
|
|
12
|
-
import
|
|
12
|
+
import E from "./Tag/TagList.vue.js";
|
|
13
13
|
import Z from "../../features/Operation/Webhooks.vue.js";
|
|
14
14
|
import _ from "./Models/ModelsAccordion.vue.js";
|
|
15
15
|
import x from "./Models/Models.vue.js";
|
|
16
16
|
import { useSidebar as ee } from "../../hooks/useSidebar.js";
|
|
17
|
-
import { getModels as
|
|
17
|
+
import { getModels as S } from "../../helpers/getModels.js";
|
|
18
18
|
import { hasModels as re } from "../../helpers/hasModels.js";
|
|
19
|
-
const se = { class: "narrow-references-container" },
|
|
19
|
+
const se = { class: "narrow-references-container" }, ae = {
|
|
20
20
|
key: 0,
|
|
21
|
-
class: "scalar-reference-intro-server scalar-client introduction-card-item
|
|
22
|
-
},
|
|
21
|
+
class: "scalar-reference-intro-server scalar-client introduction-card-item text-sm [--scalar-address-bar-height:0px]"
|
|
22
|
+
}, te = {
|
|
23
23
|
key: 1,
|
|
24
24
|
class: "scalar-reference-intro-auth scalar-client introduction-card-item"
|
|
25
25
|
}, we = /* @__PURE__ */ F({
|
|
@@ -28,20 +28,20 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
28
28
|
parsedSpec: {},
|
|
29
29
|
layout: { default: "modern" }
|
|
30
30
|
},
|
|
31
|
-
setup(
|
|
32
|
-
const
|
|
31
|
+
setup(U) {
|
|
32
|
+
const $ = U, p = P(), { hideModels: M } = ee(), { collections: B, securitySchemes: N, servers: y } = R(), {
|
|
33
33
|
activeCollection: W,
|
|
34
34
|
activeEnvVariables: L,
|
|
35
35
|
activeEnvironment: j,
|
|
36
36
|
activeWorkspace: h
|
|
37
|
-
} = D(), s =
|
|
38
|
-
if (
|
|
39
|
-
const e = B[K(
|
|
37
|
+
} = D(), s = m(() => {
|
|
38
|
+
if (p.value.slug) {
|
|
39
|
+
const e = B[K(p.value.slug)];
|
|
40
40
|
if (e)
|
|
41
41
|
return e;
|
|
42
42
|
}
|
|
43
43
|
return W.value;
|
|
44
|
-
}),
|
|
44
|
+
}), c = m(() => {
|
|
45
45
|
if (s.value) {
|
|
46
46
|
if (s.value.selectedServerUid) {
|
|
47
47
|
const e = y[s.value.selectedServerUid];
|
|
@@ -50,53 +50,54 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
50
50
|
}
|
|
51
51
|
return y[s.value.servers[0]];
|
|
52
52
|
}
|
|
53
|
-
}), q =
|
|
54
|
-
() =>
|
|
53
|
+
}), q = m(
|
|
54
|
+
() => $.layout === "classic" ? "after" : "aside"
|
|
55
55
|
);
|
|
56
56
|
return (e, k) => {
|
|
57
|
-
var
|
|
58
|
-
return
|
|
59
|
-
k[0] || (k[0] = G('<div class="section-flare" data-v-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
s.value ? (
|
|
57
|
+
var b, g, C, w;
|
|
58
|
+
return a(), i(u, null, [
|
|
59
|
+
k[0] || (k[0] = G('<div class="section-flare" data-v-1a04c6b2><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div></div>', 1)),
|
|
60
|
+
A("div", se, [
|
|
61
|
+
f(e.$slots, "start", {}, void 0, !0),
|
|
62
|
+
s.value ? (a(), t(r(Q), {
|
|
63
63
|
key: 0,
|
|
64
64
|
collection: s.value,
|
|
65
65
|
layout: e.layout,
|
|
66
66
|
parsedSpec: e.parsedSpec,
|
|
67
|
-
server:
|
|
68
|
-
}, null, 8, ["collection", "layout", "parsedSpec", "server"])) :
|
|
69
|
-
(
|
|
67
|
+
server: c.value
|
|
68
|
+
}, null, 8, ["collection", "layout", "parsedSpec", "server"])) : l("", !0),
|
|
69
|
+
(g = (b = e.parsedSpec) == null ? void 0 : b.info) != null && g.title || (w = (C = e.parsedSpec) == null ? void 0 : C.info) != null && w.description ? (a(), t(r(T), {
|
|
70
70
|
key: 1,
|
|
71
71
|
info: e.parsedSpec.info,
|
|
72
72
|
parsedSpec: e.parsedSpec
|
|
73
73
|
}, {
|
|
74
|
-
[q.value]:
|
|
74
|
+
[q.value]: V(() => [
|
|
75
75
|
v(r(J), null, {
|
|
76
|
-
default:
|
|
76
|
+
default: V(() => {
|
|
77
77
|
var n, o, d;
|
|
78
78
|
return [
|
|
79
|
-
|
|
79
|
+
A("div", {
|
|
80
80
|
class: I(["introduction-card", { "introduction-card-row": e.layout === "classic" }])
|
|
81
81
|
}, [
|
|
82
|
-
(o = (n = s.value) == null ? void 0 : n.servers) != null && o.length ? (
|
|
82
|
+
(o = (n = s.value) == null ? void 0 : n.servers) != null && o.length ? (a(), i("div", ae, [
|
|
83
83
|
v(r(X), {
|
|
84
84
|
collection: s.value,
|
|
85
|
-
server:
|
|
85
|
+
server: c.value
|
|
86
86
|
}, null, 8, ["collection", "server"])
|
|
87
|
-
])) :
|
|
88
|
-
s.value && r(h) && Object.keys(r(N) ?? {}).length ? (
|
|
87
|
+
])) : l("", !0),
|
|
88
|
+
s.value && r(h) && Object.keys(r(N) ?? {}).length ? (a(), i("div", te, [
|
|
89
89
|
v(r(H), {
|
|
90
90
|
collection: s.value,
|
|
91
91
|
envVariables: r(L),
|
|
92
92
|
environment: r(j),
|
|
93
93
|
layout: "reference",
|
|
94
|
+
persistAuth: r(p).persistAuth,
|
|
94
95
|
selectedSecuritySchemeUids: ((d = s.value) == null ? void 0 : d.selectedSecuritySchemeUids) ?? [],
|
|
95
|
-
server:
|
|
96
|
+
server: c.value,
|
|
96
97
|
title: "Authentication",
|
|
97
98
|
workspace: r(h)
|
|
98
|
-
}, null, 8, ["collection", "envVariables", "environment", "selectedSecuritySchemeUids", "server", "workspace"])
|
|
99
|
-
])) :
|
|
99
|
+
}, null, 8, ["collection", "envVariables", "environment", "persistAuth", "selectedSecuritySchemeUids", "server", "workspace"])
|
|
100
|
+
])) : l("", !0),
|
|
100
101
|
v(r(Y), { class: "introduction-card-item scalar-reference-intro-clients" })
|
|
101
102
|
], 2)
|
|
102
103
|
];
|
|
@@ -105,42 +106,42 @@ const se = { class: "narrow-references-container" }, te = {
|
|
|
105
106
|
})
|
|
106
107
|
]),
|
|
107
108
|
_: 2
|
|
108
|
-
}, 1032, ["info", "parsedSpec"])) :
|
|
109
|
-
e.parsedSpec.tags && s.value ? (
|
|
110
|
-
e.parsedSpec["x-tagGroups"] ? (
|
|
109
|
+
}, 1032, ["info", "parsedSpec"])) : f(e.$slots, "empty-state", { key: 2 }, void 0, !0),
|
|
110
|
+
e.parsedSpec.tags && s.value ? (a(), i(u, { key: 3 }, [
|
|
111
|
+
e.parsedSpec["x-tagGroups"] ? (a(!0), i(u, { key: 0 }, O(e.parsedSpec["x-tagGroups"], (n) => (a(), t(r(E), {
|
|
111
112
|
key: n.name,
|
|
112
113
|
collection: s.value,
|
|
113
114
|
layout: e.layout,
|
|
114
|
-
server:
|
|
115
|
+
server: c.value,
|
|
115
116
|
spec: e.parsedSpec,
|
|
116
117
|
tags: n.tags.map((o) => {
|
|
117
118
|
var d;
|
|
118
119
|
return (d = e.parsedSpec.tags) == null ? void 0 : d.find((z) => z.name === o);
|
|
119
120
|
}).filter((o) => !!o)
|
|
120
|
-
}, null, 8, ["collection", "layout", "server", "spec", "tags"]))), 128)) : (
|
|
121
|
+
}, null, 8, ["collection", "layout", "server", "spec", "tags"]))), 128)) : (a(), t(r(E), {
|
|
121
122
|
key: 1,
|
|
122
123
|
collection: s.value,
|
|
123
124
|
layout: e.layout,
|
|
124
|
-
schemas: r(
|
|
125
|
-
server:
|
|
125
|
+
schemas: r(S)(e.parsedSpec),
|
|
126
|
+
server: c.value,
|
|
126
127
|
spec: e.parsedSpec,
|
|
127
128
|
tags: e.parsedSpec.tags
|
|
128
129
|
}, null, 8, ["collection", "layout", "schemas", "server", "spec", "tags"]))
|
|
129
|
-
], 64)) :
|
|
130
|
-
e.parsedSpec.webhooks ? (
|
|
130
|
+
], 64)) : l("", !0),
|
|
131
|
+
e.parsedSpec.webhooks ? (a(), t(r(Z), {
|
|
131
132
|
key: 4,
|
|
132
133
|
webhooks: e.parsedSpec.webhooks
|
|
133
|
-
}, null, 8, ["webhooks"])) :
|
|
134
|
-
r(re)(e.parsedSpec) && !r(
|
|
135
|
-
e.layout === "classic" ? (
|
|
134
|
+
}, null, 8, ["webhooks"])) : l("", !0),
|
|
135
|
+
r(re)(e.parsedSpec) && !r(M) ? (a(), i(u, { key: 5 }, [
|
|
136
|
+
e.layout === "classic" ? (a(), t(r(_), {
|
|
136
137
|
key: 0,
|
|
137
|
-
schemas: r(
|
|
138
|
-
}, null, 8, ["schemas"])) : (
|
|
138
|
+
schemas: r(S)(e.parsedSpec)
|
|
139
|
+
}, null, 8, ["schemas"])) : (a(), t(r(x), {
|
|
139
140
|
key: 1,
|
|
140
|
-
schemas: r(
|
|
141
|
+
schemas: r(S)(e.parsedSpec)
|
|
141
142
|
}, null, 8, ["schemas"]))
|
|
142
|
-
], 64)) :
|
|
143
|
-
|
|
143
|
+
], 64)) : l("", !0),
|
|
144
|
+
f(e.$slots, "end", {}, void 0, !0)
|
|
144
145
|
])
|
|
145
146
|
], 64);
|
|
146
147
|
};
|
|
@@ -18,10 +18,7 @@ declare function __VLS_template(): {
|
|
|
18
18
|
rootEl: HTMLDivElement;
|
|
19
19
|
};
|
|
20
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
-
required: boolean;
|
|
23
|
-
withExamples: boolean;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
+
declare const __VLS_component: 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>;
|
|
25
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
23
|
export default _default;
|
|
27
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAmSA,OAAO,KAAK,EAEV,SAAS,EACT,SAAS,EACT,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAY9B,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;AA8DF,iBAAS,cAAc;WA+TT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAgBD,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 "./SchemaPropertyHeading.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-c69012d3"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|