@scalar/api-reference 1.24.11 → 1.24.13

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.
@@ -1,6 +1,5 @@
1
1
  import '@scalar/components/style.css';
2
2
  import { type ThemeId } from '@scalar/themes';
3
- import '@scalar/themes/style.css';
4
3
  import type { ReferenceLayoutProps, ReferenceSlotProps } from '../types';
5
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Omit<ReferenceLayoutProps, "isDark">>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
5
  changeTheme: (args_0: {
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AA6iBA,OAAO,8BAA8B,CAAA;AAGrC,OAAO,EAGL,KAAK,OAAO,EAEb,MAAM,gBAAgB,CAAA;AACvB,OAAO,0BAA0B,CAAA;AA0BjC,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6jBjB,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
+ {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AAwjBA,OAAO,8BAA8B,CAAA;AAGrC,OAAO,EAAE,KAAK,OAAO,EAAkB,MAAM,gBAAgB,CAAA;AA0B7D,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8iBjB,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 "./ApiReferenceLayout.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../_virtual/_plugin-vue_export-helper.js";
5
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3ac311e0"]]);
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c4323729"]]);
6
6
  export {
7
- m as default
7
+ a as default
8
8
  };
@@ -1,29 +1,29 @@
1
- import { defineComponent as Q, defineAsyncComponent as q, ref as O, onBeforeMount as J, onMounted as X, computed as A, watch as Z, onServerPrefetch as _, useSSRContext as x, getCurrentInstance as ee, provide as P, openBlock as v, createElementBlock as h, Fragment as M, createVNode as c, unref as n, withCtx as i, createElementVNode as f, normalizeClass as oe, normalizeStyle as te, renderSlot as l, normalizeProps as d, guardReactiveProps as u, createCommentVNode as w, withDirectives as re, vShow as ae, createSlots as ne } from "vue";
2
- import { provideUseId as se } from "@headlessui/vue";
1
+ import { defineComponent as G, defineAsyncComponent as j, ref as E, onBeforeMount as O, onMounted as K, computed as k, watch as Q, onServerPrefetch as q, useSSRContext as J, getCurrentInstance as X, provide as A, openBlock as v, createElementBlock as S, Fragment as F, createVNode as p, unref as i, withCtx as c, createTextVNode as Z, toDisplayString as _, createElementVNode as f, normalizeClass as x, normalizeStyle as ee, renderSlot as d, normalizeProps as l, guardReactiveProps as u, createCommentVNode as b, withDirectives as oe, vShow as te, createSlots as re } from "vue";
2
+ import { provideUseId as ae } from "@headlessui/vue";
3
3
  import "@scalar/components/style.css";
4
- import { defaultStateFactory as ie } from "@scalar/oas-utils/helpers";
5
- import { ThemeStyles as le, ResetStyles as de, ScrollbarStyles as ue } from "@scalar/themes";
6
- import "@scalar/themes/style.css";
7
- import { ScalarToasts as ce } from "@scalar/use-toasts";
8
- import { useMediaQuery as pe, useResizeObserver as fe, useDebounceFn as me } from "@vueuse/core";
9
- import { NEW_API_MODAL as ge } from "../features.js";
10
- import Se from "./GettingStarted.vue.js";
11
- import { downloadSpecBus as ve, downloadSpecFile as he } from "../helpers/specDownloads.js";
12
- import { useDeprecationWarnings as be } from "../hooks/useDeprecationWarnings.js";
13
- import we from "./Sidebar/Sidebar.vue.js";
14
- import ye from "./Content/Content.vue.js";
15
- import { useSidebar as Re } from "../hooks/useSidebar.js";
16
- import { GLOBAL_SECURITY_SYMBOL as $e, HIDE_DOWNLOAD_BUTTON_SYMBOL as Ce } from "../helpers/provideSymbols.js";
17
- import { useNavState as Te } from "../hooks/useNavState.js";
18
- import { scrollToId as Ie } from "../helpers/scrollToId.js";
19
- import { sleep as De } from "../helpers/sleep.js";
20
- const Ee = { class: "references-header" }, Fe = {
4
+ import { defaultStateFactory as ne } from "@scalar/oas-utils/helpers";
5
+ import { getThemeStyles as se } from "@scalar/themes";
6
+ import { ScalarToasts as ie } from "@scalar/use-toasts";
7
+ import { useMediaQuery as de, useResizeObserver as le, useDebounceFn as ue } from "@vueuse/core";
8
+ import { NEW_API_MODAL as ce } from "../features.js";
9
+ import pe from "./GettingStarted.vue.js";
10
+ import { downloadSpecBus as fe, downloadSpecFile as me } from "../helpers/specDownloads.js";
11
+ import { useDeprecationWarnings as ge } from "../hooks/useDeprecationWarnings.js";
12
+ import ve from "./Util/Style.vue.js";
13
+ import Se from "./Sidebar/Sidebar.vue.js";
14
+ import he from "./Content/Content.vue.js";
15
+ import { useSidebar as be } from "../hooks/useSidebar.js";
16
+ import { GLOBAL_SECURITY_SYMBOL as we, HIDE_DOWNLOAD_BUTTON_SYMBOL as ye } from "../helpers/provideSymbols.js";
17
+ import { useNavState as Re } from "../hooks/useNavState.js";
18
+ import { scrollToId as $e } from "../helpers/scrollToId.js";
19
+ import { sleep as Ce } from "../helpers/sleep.js";
20
+ const Te = { class: "references-header" }, Ie = {
21
21
  key: 0,
22
22
  class: "references-navigation t-doc__sidebar"
23
- }, Le = { class: "references-navigation-list" }, ke = { class: "references-editor" }, Oe = { class: "references-editor-textarea" }, Ae = { class: "references-rendered" }, Pe = {
23
+ }, Le = { class: "references-navigation-list" }, De = { class: "references-editor" }, Ee = { class: "references-editor-textarea" }, Oe = { class: "references-rendered" }, ke = {
24
24
  key: 0,
25
25
  class: "references-footer"
26
- }, eo = /* @__PURE__ */ Q({
26
+ }, Ze = /* @__PURE__ */ G({
27
27
  inheritAttrs: !1,
28
28
  __name: "ApiReferenceLayout",
29
29
  props: {
@@ -32,8 +32,8 @@ const Ee = { class: "references-header" }, Fe = {
32
32
  rawSpec: {}
33
33
  },
34
34
  emits: ["changeTheme", "updateContent", "loadSwaggerFile", "linkSwaggerFile", "toggleDarkMode"],
35
- setup(U) {
36
- const t = U, B = q(() => ge ? (
35
+ setup(M) {
36
+ const r = M, P = j(() => ce ? (
37
37
  // Empty component
38
38
  new Promise((e) => {
39
39
  e({ render: () => null });
@@ -41,190 +41,190 @@ const Ee = { class: "references-header" }, Fe = {
41
41
  ) : (
42
42
  // Load component
43
43
  import("./ApiClientModalOld.vue.js")
44
- )), N = pe("(min-width: 1150px)"), y = O("100dvh"), b = O(null);
45
- fe(b, (e) => {
46
- y.value = e[0].contentRect.height + "px";
44
+ )), N = de("(min-width: 1150px)"), w = E("100dvh"), h = E(null);
45
+ le(h, (e) => {
46
+ w.value = e[0].contentRect.height + "px";
47
47
  });
48
48
  const {
49
- breadcrumb: z,
49
+ breadcrumb: U,
50
50
  collapsedSidebarItems: g,
51
- isSidebarOpen: Y,
52
- setCollapsedSidebarItem: R,
53
- hideModels: H,
51
+ isSidebarOpen: B,
52
+ setCollapsedSidebarItem: y,
53
+ hideModels: z,
54
54
  setParsedSpec: V
55
- } = Re(), {
56
- getPathRoutingId: $,
57
- getSectionId: W,
58
- getTagId: G,
59
- hash: C,
60
- isIntersectionEnabled: T,
61
- pathRouting: I,
62
- updateHash: D
63
- } = Te();
64
- I.value = t.configuration.pathRouting, J(() => D());
65
- const E = async (e) => {
55
+ } = be(), {
56
+ getPathRoutingId: R,
57
+ getSectionId: Y,
58
+ getTagId: H,
59
+ hash: $,
60
+ isIntersectionEnabled: C,
61
+ pathRouting: T,
62
+ updateHash: I
63
+ } = Re();
64
+ T.value = r.configuration.pathRouting, O(() => I());
65
+ const L = async (e) => {
66
66
  var o;
67
- T.value = !1, D(), e ? Ie(e) : (o = b.value) == null || o.scrollTo(0, 0), await De(100), T.value = !0;
67
+ C.value = !1, I(), e ? $e(e) : (o = h.value) == null || o.scrollTo(0, 0), await Ce(100), C.value = !0;
68
68
  };
69
- X(() => {
70
- ve.on(({ specTitle: e }) => {
71
- he(t.rawSpec, e);
72
- }), window.onhashchange = () => E(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => I.value && E($(window.location.pathname));
69
+ O(() => {
70
+ const e = new MutationObserver((o) => {
71
+ const t = o.find(
72
+ (a) => Array.from(a.addedNodes).find(
73
+ (n) => n.id === "headlessui-portal-root"
74
+ )
75
+ );
76
+ t && (t.addedNodes[0].classList.add(
77
+ "scalar-app"
78
+ ), e.disconnect());
79
+ });
80
+ e.observe(document.body, { childList: !0 });
81
+ }), K(() => {
82
+ fe.on(({ specTitle: e }) => {
83
+ me(r.rawSpec, e);
84
+ }), window.onhashchange = () => L(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => T.value && L(R(window.location.pathname));
73
85
  });
74
- const j = A(
75
- () => N.value || !t.configuration.isEditable
76
- ), F = me((e) => {
86
+ const W = k(
87
+ () => N.value || !r.configuration.isEditable
88
+ ), D = ue((e) => {
77
89
  if ((e.target.scrollTop ?? 0) < 50) {
78
- const r = t.configuration.pathRouting ? t.configuration.pathRouting.basePath : window.location.pathname;
79
- window.history.replaceState({}, "", r + window.location.search), C.value = "";
90
+ const t = r.configuration.pathRouting ? r.configuration.pathRouting.basePath : window.location.pathname;
91
+ window.history.replaceState({}, "", t + window.location.search), $.value = "";
80
92
  }
81
- }), s = A(() => ({
82
- breadcrumb: z.value,
83
- spec: t.parsedSpec
93
+ }), s = k(() => ({
94
+ breadcrumb: U.value,
95
+ spec: r.parsedSpec
84
96
  }));
85
- return Z(() => t.parsedSpec, V, { deep: !0 }), _(() => {
86
- var o, r;
87
- const e = x();
88
- if (e && ((o = e.payload).data || (o.data = ie()), t.configuration.pathRouting)) {
89
- const a = $(e.url);
90
- C.value = a, e.payload.data.hash = a;
91
- for (const p in g)
92
- Object.hasOwn(g, p) && delete g[p];
97
+ return Q(() => r.parsedSpec, V, { deep: !0 }), q(() => {
98
+ var o, t;
99
+ const e = J();
100
+ if (e && ((o = e.payload).data || (o.data = ne()), r.configuration.pathRouting)) {
101
+ const a = R(e.url);
102
+ $.value = a, e.payload.data.hash = a;
103
+ for (const n in g)
104
+ Object.hasOwn(g, n) && delete g[n];
93
105
  if (a)
94
- R(W(a), !0);
106
+ y(Y(a), !0);
95
107
  else {
96
- const p = (r = t.parsedSpec.tags) == null ? void 0 : r[0];
97
- p && R(G(p), !0);
108
+ const n = (t = r.parsedSpec.tags) == null ? void 0 : t[0];
109
+ n && y(H(n), !0);
98
110
  }
99
111
  e.payload.data["useSidebarContent-collapsedSidebarItems"] = g;
100
112
  }
101
- }), se(() => {
113
+ }), ae(() => {
102
114
  var a;
103
- const e = ee(), o = "scalar-instance-id";
115
+ const e = X(), o = "scalar-instance-id";
104
116
  if (!e) return o;
105
- let r = e.uid;
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
- }), P($e, () => t.parsedSpec.security), P(
108
- Ce,
109
- () => t.configuration.hideDownloadButton
110
- ), H.value = t.configuration.hideModels ?? !1, be(t.configuration), (e, o) => {
111
- var r, a;
112
- return v(), h(M, null, [
113
- c(n(le), {
114
- id: (r = e.configuration) == null ? void 0 : r.theme,
115
- withDefaultFonts: (a = e.configuration) == null ? void 0 : a.withDefaultFonts
116
- }, null, 8, ["id", "withDefaultFonts"]),
117
- c(n(de), null, {
118
- default: i(({ styles: p }) => [
119
- c(n(ue), null, {
120
- default: i(({ styles: K }) => {
121
- var L, k;
122
- return [
123
- f("div", {
124
- ref_key: "documentEl",
125
- ref: b,
126
- class: oe(["scalar-api-reference references-layout", [
127
- {
128
- "references-editable": e.configuration.isEditable,
129
- "references-sidebar": e.configuration.showSidebar,
130
- "references-sidebar-mobile-open": n(Y),
131
- "references-classic": e.configuration.layout === "classic"
132
- },
133
- p,
134
- K,
135
- e.$attrs.class
136
- ]]),
137
- style: te({ "--full-height": y.value }),
138
- onScrollPassive: o[4] || (o[4] = //@ts-ignore
139
- (...S) => n(F) && n(F)(...S))
140
- }, [
141
- f("div", Ee, [
142
- l(e.$slots, "header", d(u(s.value)), void 0, !0)
143
- ]),
144
- e.configuration.showSidebar ? (v(), h("aside", Fe, [
145
- f("div", Le, [
146
- c(n(we), { parsedSpec: e.parsedSpec }, {
147
- "sidebar-start": i(() => [
148
- l(e.$slots, "sidebar-start", d(u(s.value)), void 0, !0)
149
- ]),
150
- "sidebar-end": i(() => [
151
- l(e.$slots, "sidebar-end", d(u(s.value)), void 0, !0)
152
- ]),
153
- _: 3
154
- }, 8, ["parsedSpec"])
155
- ])
156
- ])) : w("", !0),
157
- re(f("div", ke, [
158
- f("div", Oe, [
159
- l(e.$slots, "editor", d(u(s.value)), void 0, !0)
160
- ])
161
- ], 512), [
162
- [ae, e.configuration.isEditable]
163
- ]),
164
- j.value ? (v(), h(M, { key: 1 }, [
165
- f("div", Ae, [
166
- c(n(ye), {
167
- baseServerURL: e.configuration.baseServerURL,
168
- layout: e.configuration.layout === "classic" ? "accordion" : "default",
169
- parsedSpec: e.parsedSpec,
170
- proxy: e.configuration.proxy,
171
- servers: e.configuration.servers
172
- }, ne({
173
- start: i(() => [
174
- l(e.$slots, "content-start", d(u(s.value)), void 0, !0)
175
- ]),
176
- end: i(() => [
177
- l(e.$slots, "content-end", d(u(s.value)), void 0, !0)
178
- ]),
179
- _: 2
180
- }, [
181
- (L = e.configuration) != null && L.isEditable ? {
182
- name: "empty-state",
183
- fn: i(() => {
184
- var S;
185
- return [
186
- c(Se, {
187
- theme: ((S = e.configuration) == null ? void 0 : S.theme) || "default",
188
- onChangeTheme: o[0] || (o[0] = (m) => e.$emit("changeTheme", m)),
189
- onLinkSwaggerFile: o[1] || (o[1] = (m) => e.$emit("linkSwaggerFile")),
190
- onLoadSwaggerFile: o[2] || (o[2] = (m) => e.$emit("loadSwaggerFile")),
191
- onUpdateContent: o[3] || (o[3] = (m) => e.$emit("updateContent", m))
192
- }, null, 8, ["theme"])
193
- ];
194
- }),
195
- key: "0"
196
- } : void 0
197
- ]), 1032, ["baseServerURL", "layout", "parsedSpec", "proxy", "servers"])
198
- ]),
199
- e.$slots.footer ? (v(), h("div", Pe, [
200
- l(e.$slots, "footer", d(u(s.value)), void 0, !0)
201
- ])) : w("", !0)
202
- ], 64)) : w("", !0),
203
- c(n(B), {
204
- parsedSpec: e.parsedSpec,
205
- proxyUrl: (k = e.configuration) == null ? void 0 : k.proxy
206
- }, {
207
- "sidebar-start": i(() => [
208
- l(e.$slots, "sidebar-start", d(u(s.value)), void 0, !0)
209
- ]),
210
- "sidebar-end": i(() => [
211
- l(e.$slots, "sidebar-end", d(u(s.value)), void 0, !0)
212
- ]),
213
- _: 3
214
- }, 8, ["parsedSpec", "proxyUrl"])
215
- ], 38)
216
- ];
217
- }),
218
- _: 2
219
- }, 1024)
117
+ let t = e.uid;
118
+ return typeof window > "u" ? (e.attrs || (e.attrs = {}), e.attrs[o] = t) : (a = e.vnode.el) != null && a.getAttribute && (t = e.vnode.el.getAttribute(o)), `${o}-${t}`;
119
+ }), A(we, () => r.parsedSpec.security), A(
120
+ ye,
121
+ () => r.configuration.hideDownloadButton
122
+ ), z.value = r.configuration.hideModels ?? !1, ge(r.configuration), (e, o) => {
123
+ var t, a;
124
+ return v(), S(F, null, [
125
+ p(i(ve), null, {
126
+ default: c(() => [
127
+ Z(_(i(se)(e.configuration.theme, {
128
+ fonts: e.configuration.withDefaultFonts
129
+ })), 1)
220
130
  ]),
221
- _: 3
131
+ _: 1
222
132
  }),
223
- c(n(ce))
133
+ f("div", {
134
+ ref_key: "documentEl",
135
+ ref: h,
136
+ class: x(["scalar-app scalar-api-reference references-layout", [
137
+ {
138
+ "references-editable": e.configuration.isEditable,
139
+ "references-sidebar": e.configuration.showSidebar,
140
+ "references-sidebar-mobile-open": i(B),
141
+ "references-classic": e.configuration.layout === "classic"
142
+ },
143
+ e.$attrs.class
144
+ ]]),
145
+ style: ee({ "--full-height": w.value }),
146
+ onScrollPassive: o[4] || (o[4] = //@ts-ignore
147
+ (...n) => i(D) && i(D)(...n))
148
+ }, [
149
+ f("div", Te, [
150
+ d(e.$slots, "header", l(u(s.value)), void 0, !0)
151
+ ]),
152
+ e.configuration.showSidebar ? (v(), S("aside", Ie, [
153
+ f("div", Le, [
154
+ p(i(Se), { parsedSpec: e.parsedSpec }, {
155
+ "sidebar-start": c(() => [
156
+ d(e.$slots, "sidebar-start", l(u(s.value)), void 0, !0)
157
+ ]),
158
+ "sidebar-end": c(() => [
159
+ d(e.$slots, "sidebar-end", l(u(s.value)), void 0, !0)
160
+ ]),
161
+ _: 3
162
+ }, 8, ["parsedSpec"])
163
+ ])
164
+ ])) : b("", !0),
165
+ oe(f("div", De, [
166
+ f("div", Ee, [
167
+ d(e.$slots, "editor", l(u(s.value)), void 0, !0)
168
+ ])
169
+ ], 512), [
170
+ [te, e.configuration.isEditable]
171
+ ]),
172
+ W.value ? (v(), S(F, { key: 1 }, [
173
+ f("div", Oe, [
174
+ p(i(he), {
175
+ baseServerURL: e.configuration.baseServerURL,
176
+ layout: e.configuration.layout === "classic" ? "accordion" : "default",
177
+ parsedSpec: e.parsedSpec,
178
+ proxy: e.configuration.proxy
179
+ }, re({
180
+ start: c(() => [
181
+ d(e.$slots, "content-start", l(u(s.value)), void 0, !0)
182
+ ]),
183
+ end: c(() => [
184
+ d(e.$slots, "content-end", l(u(s.value)), void 0, !0)
185
+ ]),
186
+ _: 2
187
+ }, [
188
+ (t = e.configuration) != null && t.isEditable ? {
189
+ name: "empty-state",
190
+ fn: c(() => {
191
+ var n;
192
+ return [
193
+ p(pe, {
194
+ theme: ((n = e.configuration) == null ? void 0 : n.theme) || "default",
195
+ onChangeTheme: o[0] || (o[0] = (m) => e.$emit("changeTheme", m)),
196
+ onLinkSwaggerFile: o[1] || (o[1] = (m) => e.$emit("linkSwaggerFile")),
197
+ onLoadSwaggerFile: o[2] || (o[2] = (m) => e.$emit("loadSwaggerFile")),
198
+ onUpdateContent: o[3] || (o[3] = (m) => e.$emit("updateContent", m))
199
+ }, null, 8, ["theme"])
200
+ ];
201
+ }),
202
+ key: "0"
203
+ } : void 0
204
+ ]), 1032, ["baseServerURL", "layout", "parsedSpec", "proxy"])
205
+ ]),
206
+ e.$slots.footer ? (v(), S("div", ke, [
207
+ d(e.$slots, "footer", l(u(s.value)), void 0, !0)
208
+ ])) : b("", !0)
209
+ ], 64)) : b("", !0),
210
+ p(i(P), {
211
+ parsedSpec: e.parsedSpec,
212
+ proxyUrl: (a = e.configuration) == null ? void 0 : a.proxy
213
+ }, {
214
+ "sidebar-start": c(() => [
215
+ d(e.$slots, "sidebar-start", l(u(s.value)), void 0, !0)
216
+ ]),
217
+ "sidebar-end": c(() => [
218
+ d(e.$slots, "sidebar-end", l(u(s.value)), void 0, !0)
219
+ ]),
220
+ _: 3
221
+ }, 8, ["parsedSpec", "proxyUrl"])
222
+ ], 38),
223
+ p(i(ie))
224
224
  ], 64);
225
225
  };
226
226
  }
227
227
  });
228
228
  export {
229
- eo as default
229
+ Ze as default
230
230
  };
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
10
+ //# sourceMappingURL=Style.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Style.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Util/Style.vue"],"names":[],"mappings":";;;AA4DA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { openBlock as t, createBlock as o, resolveDynamicComponent as r, withCtx as n, renderSlot as c } from "vue";
2
+ import l from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const s = {};
4
+ function f(e, a) {
5
+ return t(), o(r("style"), null, {
6
+ default: n(() => [
7
+ c(e.$slots, "default")
8
+ ]),
9
+ _: 3
10
+ });
11
+ }
12
+ const d = /* @__PURE__ */ l(s, [["render", f]]);
13
+ export {
14
+ d as default
15
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Style } from './Style.vue.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Util/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAA"}