@scalar/api-reference 1.28.16 → 1.28.18

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/browser/standalone.js +13908 -13949
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  6. package/dist/components/ApiReferenceLayout.vue2.js +93 -85
  7. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  8. package/dist/components/Content/Introduction/Introduction.vue.js +1 -1
  9. package/dist/components/Content/Introduction/Introduction.vue2.js +17 -15
  10. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
  12. package/dist/components/Content/Schema/SchemaProperty.vue2.js +86 -86
  13. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Tag/Tag.vue.js +35 -33
  15. package/dist/components/SpecificationExtension/SpecificationExtension.vue.d.ts +9 -0
  16. package/dist/components/SpecificationExtension/SpecificationExtension.vue.d.ts.map +1 -0
  17. package/dist/components/SpecificationExtension/SpecificationExtension.vue.js +35 -0
  18. package/dist/components/SpecificationExtension/SpecificationExtension.vue2.js +4 -0
  19. package/dist/components/SpecificationExtension/index.d.ts +2 -0
  20. package/dist/components/SpecificationExtension/index.d.ts.map +1 -0
  21. package/dist/features/ApiClientModal/useApiClient.d.ts +68 -68
  22. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  23. package/dist/hooks/useConfig.d.ts +4 -1
  24. package/dist/hooks/useConfig.d.ts.map +1 -1
  25. package/dist/hooks/useMultipleDocuments.d.ts +10 -2
  26. package/dist/hooks/useMultipleDocuments.d.ts.map +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/plugins/hooks/usePluginManager.d.ts +8 -0
  29. package/dist/plugins/hooks/usePluginManager.d.ts.map +1 -0
  30. package/dist/plugins/hooks/usePluginManager.js +10 -0
  31. package/dist/plugins/index.d.ts +3 -0
  32. package/dist/plugins/index.d.ts.map +1 -0
  33. package/dist/plugins/plugin-manager.d.ts +19 -0
  34. package/dist/plugins/plugin-manager.d.ts.map +1 -0
  35. package/dist/plugins/plugin-manager.js +21 -0
  36. package/dist/style.css +1 -1
  37. package/package.json +10 -10
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AAqnBA,OAAO,EAGL,KAAK,OAAO,EACb,MAAM,gBAAgB,CAAA;AA6BvB,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAIhB,KAAK,WAAW,GAAG,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC;AA+QxD,iBAAS,cAAc;WAoPT,OAAO,IAA6B;;wBA1eZ,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;;;;;;EA+e/D;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;YA7hBqB,OAAO;eAAS,MAAM;;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;kFAoiB9D,CAAC;wBACkB,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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 t from "../_virtual/_plugin-vue_export-helper.js";
5
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-19fd3fc9"]]);
4
+ import e from "../_virtual/_plugin-vue_export-helper.js";
5
+ const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e9aedb7d"]]);
6
6
  export {
7
7
  m as default
8
8
  };
@@ -1,27 +1,29 @@
1
- import { defineComponent as ie, computed as g, ref as $, onBeforeMount as A, onMounted as le, onUnmounted as de, watch as R, onServerPrefetch as ue, useSSRContext as ce, useId as pe, provide as w, openBlock as y, createElementBlock as C, Fragment as D, createElementVNode as d, normalizeClass as fe, unref as i, normalizeStyle as me, renderSlot as u, normalizeProps as c, guardReactiveProps as p, createVNode as m, withCtx as v, createCommentVNode as E, withDirectives as ve, vShow as Se, createSlots as he } from "vue";
2
- import { provideUseId as ge } from "@headlessui/vue";
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, openBlock as y, createElementBlock as C, Fragment as _, createElementVNode as d, normalizeClass as fe, unref as i, normalizeStyle as me, renderSlot as u, normalizeProps as c, guardReactiveProps as p, createVNode as m, withCtx as v, createCommentVNode as E, withDirectives as ve, vShow as Se, createSlots as ge } from "vue";
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
- import { addScalarClassesToHeadless as $e, ScalarErrorBoundary as Re } from "@scalar/components";
6
- import { defaultStateFactory as H } from "@scalar/oas-utils/helpers";
5
+ import { addScalarClassesToHeadless as Re, ScalarErrorBoundary as $e } from "@scalar/components";
6
+ import { defaultStateFactory as N } 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
- import { useToasts as ke, ScalarToasts as Fe } from "@scalar/use-toasts";
10
- import { useMediaQuery as Le, useResizeObserver as Pe, useDebounceFn as Me } from "@vueuse/core";
11
- import Be from "./GettingStarted.vue.js";
12
- import { CONFIGURATION_SYMBOL as Ae } from "../hooks/useConfig.js";
13
- import { useHttpClientStore as De } from "../stores/useHttpClientStore.js";
14
- import { downloadSpecBus as _, downloadSpecFile as He } from "../helpers/specDownloads.js";
15
- import _e from "./Sidebar/Sidebar.vue.js";
16
- import Ne from "./Content/Content.vue.js";
17
- import Ue from "../features/ApiClientModal/ApiClientModal.vue.js";
18
- import { useSidebar as ze } from "../hooks/useSidebar.js";
19
- import { useNavState as Ye } from "../hooks/useNavState.js";
20
- import { sleep as Ve } from "../helpers/sleep.js";
21
- const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label"], Ke = { class: "references-navigation-list" }, Qe = { class: "references-editor" }, qe = { class: "references-editor-textarea" }, Je = ["aria-label"], Xe = {
9
+ import { useToasts as Le, ScalarToasts as Me } from "@scalar/use-toasts";
10
+ import { useMediaQuery as Pe, useResizeObserver as ke, useDebounceFn as Fe } from "@vueuse/core";
11
+ import Ae from "./GettingStarted.vue.js";
12
+ import { CONFIGURATION_SYMBOL as Be } from "../hooks/useConfig.js";
13
+ import { useHttpClientStore as _e } from "../stores/useHttpClientStore.js";
14
+ import { downloadSpecBus as D, downloadSpecFile as Ne } from "../helpers/specDownloads.js";
15
+ import { PLUGIN_MANAGER_SYMBOL as De } from "../plugins/hooks/usePluginManager.js";
16
+ import { createPluginManager as He } from "../plugins/plugin-manager.js";
17
+ import Ue from "./Sidebar/Sidebar.vue.js";
18
+ import Ye from "./Content/Content.vue.js";
19
+ import ze from "../features/ApiClientModal/ApiClientModal.vue.js";
20
+ import { useSidebar as Ge } from "../hooks/useSidebar.js";
21
+ import { useNavState as Ve } from "../hooks/useNavState.js";
22
+ import { sleep as We } from "../helpers/sleep.js";
23
+ const je = ["innerHTML"], Ke = { class: "references-header" }, Qe = ["aria-label"], qe = { class: "references-navigation-list" }, Je = { class: "references-editor" }, Xe = { class: "references-editor-textarea" }, Ze = ["aria-label"], xe = {
22
24
  key: 0,
23
25
  class: "references-footer"
24
- }, gt = /* @__PURE__ */ ie({
26
+ }, Ct = /* @__PURE__ */ ie({
25
27
  inheritAttrs: !1,
26
28
  __name: "ApiReferenceLayout",
27
29
  props: {
@@ -30,94 +32,94 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
30
32
  rawSpec: {}
31
33
  },
32
34
  emits: ["changeTheme", "updateContent", "loadSwaggerFile", "linkSwaggerFile", "toggleDarkMode"],
33
- setup(N) {
34
- const f = N, t = g(
35
+ setup(H) {
36
+ const f = H, t = h(
35
37
  () => Ie.parse(f.configuration)
36
- ), { initializeToasts: U, toast: z } = ke();
37
- U((e) => z(e));
38
- const Y = Le("(min-width: 1150px)"), V = $("100dvh"), S = $(null);
39
- Pe(S, (e) => {
40
- V.value = e[0].contentRect.height + "px";
38
+ ), { initializeToasts: U, toast: Y } = Le();
39
+ U((e) => Y(e));
40
+ const z = Pe("(min-width: 1150px)"), G = R("100dvh"), S = R(null);
41
+ ke(S, (e) => {
42
+ G.value = e[0].contentRect.height + "px";
41
43
  });
42
- const G = g(Ee), {
44
+ const V = h(Ee), {
43
45
  breadcrumb: W,
44
- collapsedSidebarItems: b,
46
+ collapsedSidebarItems: w,
45
47
  isSidebarOpen: j,
46
48
  setCollapsedSidebarItem: O,
47
49
  hideModels: K,
48
50
  defaultOpenAllTags: Q,
49
51
  setParsedSpec: q,
50
52
  scrollToOperation: J
51
- } = ze(), {
53
+ } = Ge(), {
52
54
  getReferenceId: X,
53
55
  getPathRoutingId: I,
54
56
  getSectionId: Z,
55
57
  getTagId: x,
56
58
  hash: ee,
57
- isIntersectionEnabled: k,
58
- updateHash: F,
59
+ isIntersectionEnabled: L,
60
+ updateHash: M,
59
61
  replaceUrlState: te
60
- } = Ye(t);
62
+ } = Ve(t);
61
63
  if (t.value.redirect && typeof window < "u") {
62
64
  const e = t.value.redirect(
63
65
  (t.value.pathRouting ? window.location.pathname : "") + window.location.hash
64
66
  );
65
67
  e && history.replaceState({}, "", e);
66
68
  }
67
- A(() => F());
68
- const L = async (e) => {
69
+ B(() => M());
70
+ const P = async (e) => {
69
71
  var a;
70
- k.value = !1, F(), e ? J(e) : (a = S.value) == null || a.scrollTo(0, 0), await Ve(100), k.value = !0;
71
- }, P = $(0);
72
- A(() => $e()), le(() => {
72
+ L.value = !1, M(), e ? J(e) : (a = S.value) == null || a.scrollTo(0, 0), await We(100), L.value = !0;
73
+ }, k = R(0);
74
+ B(() => Re()), le(() => {
73
75
  var o, s, r;
74
- history.scrollRestoration = "manual", _.on(({ specTitle: n }) => {
75
- He(f.rawSpec, n);
76
+ history.scrollRestoration = "manual", D.on(({ specTitle: n }) => {
77
+ Ne(f.rawSpec, n);
76
78
  });
77
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();
78
80
  if (e && a) {
79
81
  const n = a.top - e.top;
80
- P.value = n < 2 ? 0 : n;
82
+ k.value = n < 2 ? 0 : n;
81
83
  }
82
84
  window.onhashchange = () => {
83
- L(X());
84
- }, window.onpopstate = () => t.value.pathRouting && L(I(window.location.pathname));
85
+ P(X());
86
+ }, window.onpopstate = () => t.value.pathRouting && P(I(window.location.pathname));
85
87
  });
86
- const ae = g(
87
- () => Y.value || !t.value.isEditable
88
- ), M = Me((e) => {
88
+ const ae = h(
89
+ () => z.value || !t.value.isEditable
90
+ ), F = Fe((e) => {
89
91
  if ((e.target.scrollTop ?? 0) < 50) {
90
92
  const o = t.value.pathRouting ? t.value.pathRouting.basePath : window.location.pathname;
91
93
  te("", o + window.location.search);
92
94
  }
93
- }), l = g(() => ({
95
+ }), l = h(() => ({
94
96
  breadcrumb: W.value,
95
97
  spec: f.parsedSpec
96
98
  }));
97
99
  de(() => {
98
- _.reset();
99
- }), R(() => f.parsedSpec, q, { deep: !0 }), ue(() => {
100
+ D.reset();
101
+ }), $(() => f.parsedSpec, q, { deep: !0 }), ue(() => {
100
102
  var a, o;
101
103
  const e = ce();
102
- if (e && (e.payload || (e.payload = { data: H() }), (a = e.payload).data || (a.data = H()), t.value.pathRouting)) {
104
+ if (e && (e.payload || (e.payload = { data: N() }), (a = e.payload).data || (a.data = N()), t.value.pathRouting)) {
103
105
  const s = I(e.url);
104
106
  ee.value = s, e.payload.data.hash = s;
105
- for (const r in b)
106
- Object.hasOwn(b, r) && delete b[r];
107
+ for (const r in w)
108
+ Object.hasOwn(w, r) && delete w[r];
107
109
  if (s)
108
110
  O(Z(s), !0);
109
111
  else {
110
112
  const r = (o = f.parsedSpec.tags) == null ? void 0 : o[0];
111
113
  r && O(x(r), !0);
112
114
  }
113
- e.payload.data["useSidebarContent-collapsedSidebarItems"] = b;
115
+ e.payload.data["useSidebarContent-collapsedSidebarItems"] = w;
114
116
  }
115
- }), ge(() => pe());
117
+ }), he(() => pe());
116
118
  const T = we({
117
119
  useLocalStorage: !1,
118
120
  ...t.value
119
121
  });
120
- R(
122
+ $(
121
123
  () => f.rawSpec,
122
124
  (e) => {
123
125
  var a;
@@ -129,11 +131,17 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
129
131
  });
130
132
  },
131
133
  { immediate: !0 }
132
- ), w(ye, T);
134
+ ), b(ye, T);
133
135
  const oe = Ce(T);
134
- w(Te, oe), w(be, "modal"), w(Ae, t);
135
- function B(e, a) {
136
- R(
136
+ b(Te, oe), b(be, "modal"), b(Be, t), b(
137
+ De,
138
+ He({
139
+ // TODO: Get plugins from the configuration
140
+ plugins: t.value.plugins
141
+ })
142
+ );
143
+ function A(e, a) {
144
+ $(
137
145
  () => t.value[e],
138
146
  (o) => {
139
147
  typeof o < "u" && a(o);
@@ -141,9 +149,9 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
141
149
  { immediate: !0 }
142
150
  );
143
151
  }
144
- const { setExcludedClients: re, setDefaultHttpClient: se } = De();
145
- B("defaultHttpClient", se), B("hiddenClients", re), K.value = t.value.hideModels ?? !1, Q.value = t.value.defaultOpenAllTags ?? !1;
146
- const ne = g(
152
+ const { setExcludedClients: re, setDefaultHttpClient: se } = _e();
153
+ A("defaultHttpClient", se), A("hiddenClients", re), K.value = t.value.hideModels ?? !1, Q.value = t.value.defaultOpenAllTags ?? !1;
154
+ const ne = h(
147
155
  () => `<style>
148
156
  ${Oe(t.value.theme, {
149
157
  fonts: t.value.withDefaultFonts
@@ -151,14 +159,14 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
151
159
  );
152
160
  return (e, a) => {
153
161
  var o, s, r;
154
- return y(), C(D, null, [
155
- d("div", { innerHTML: ne.value }, null, 8, Ge),
162
+ return y(), C(_, null, [
163
+ d("div", { innerHTML: ne.value }, null, 8, je),
156
164
  d("div", {
157
165
  ref_key: "documentEl",
158
166
  ref: S,
159
167
  class: fe(["scalar-app scalar-api-reference references-layout", [
160
168
  {
161
- "scalar-scrollbars-obtrusive": G.value,
169
+ "scalar-scrollbars-obtrusive": V.value,
162
170
  "references-editable": t.value.isEditable,
163
171
  "references-sidebar": t.value.showSidebar,
164
172
  "references-sidebar-mobile-open": i(j),
@@ -167,12 +175,12 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
167
175
  e.$attrs.class
168
176
  ]]),
169
177
  style: me({
170
- "--scalar-y-offset": `var(--scalar-custom-header-height, ${P.value}px)`
178
+ "--scalar-y-offset": `var(--scalar-custom-header-height, ${k.value}px)`
171
179
  }),
172
180
  onScrollPassive: a[4] || (a[4] = //@ts-ignore
173
- (...n) => i(M) && i(M)(...n))
181
+ (...n) => i(F) && i(F)(...n))
174
182
  }, [
175
- d("div", We, [
183
+ d("div", Ke, [
176
184
  u(e.$slots, "header", c(p(l.value)), void 0, !0)
177
185
  ]),
178
186
  t.value.showSidebar ? (y(), C("aside", {
@@ -180,10 +188,10 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
180
188
  "aria-label": `Sidebar for ${(o = e.parsedSpec.info) == null ? void 0 : o.title}`,
181
189
  class: "references-navigation t-doc__sidebar"
182
190
  }, [
183
- d("div", Ke, [
184
- m(i(Re), null, {
191
+ d("div", qe, [
192
+ m(i($e), null, {
185
193
  default: v(() => [
186
- m(i(_e), {
194
+ m(i(Ue), {
187
195
  operationsSorter: t.value.operationsSorter,
188
196
  parsedSpec: e.parsedSpec,
189
197
  tagsSorter: t.value.tagsSorter
@@ -200,23 +208,23 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
200
208
  _: 3
201
209
  })
202
210
  ])
203
- ], 8, je)) : E("", !0),
204
- ve(d("div", Qe, [
205
- d("div", qe, [
211
+ ], 8, Qe)) : E("", !0),
212
+ ve(d("div", Je, [
213
+ d("div", Xe, [
206
214
  u(e.$slots, "editor", c(p(l.value)), void 0, !0)
207
215
  ])
208
216
  ], 512), [
209
217
  [Se, t.value.isEditable]
210
218
  ]),
211
- ae.value ? (y(), C(D, { key: 1 }, [
219
+ ae.value ? (y(), C(_, { key: 1 }, [
212
220
  d("main", {
213
221
  "aria-label": `Open API Documentation for ${(s = e.parsedSpec.info) == null ? void 0 : s.title}`,
214
222
  class: "references-rendered"
215
223
  }, [
216
- m(i(Ne), {
224
+ m(i(Ye), {
217
225
  layout: t.value.layout,
218
226
  parsedSpec: e.parsedSpec
219
- }, he({
227
+ }, ge({
220
228
  start: v(() => [
221
229
  u(e.$slots, "content-start", c(p(l.value)), void 0, !0)
222
230
  ]),
@@ -230,30 +238,30 @@ const Ge = ["innerHTML"], We = { class: "references-header" }, je = ["aria-label
230
238
  fn: v(() => {
231
239
  var n;
232
240
  return [
233
- m(Be, {
241
+ m(Ae, {
234
242
  theme: ((n = t.value) == null ? void 0 : n.theme) || "default",
235
- onChangeTheme: a[0] || (a[0] = (h) => e.$emit("changeTheme", h)),
236
- onLinkSwaggerFile: a[1] || (a[1] = (h) => e.$emit("linkSwaggerFile")),
237
- onLoadSwaggerFile: a[2] || (a[2] = (h) => e.$emit("loadSwaggerFile")),
238
- onUpdateContent: a[3] || (a[3] = (h) => e.$emit("updateContent", h))
243
+ onChangeTheme: a[0] || (a[0] = (g) => e.$emit("changeTheme", g)),
244
+ onLinkSwaggerFile: a[1] || (a[1] = (g) => e.$emit("linkSwaggerFile")),
245
+ onLoadSwaggerFile: a[2] || (a[2] = (g) => e.$emit("loadSwaggerFile")),
246
+ onUpdateContent: a[3] || (a[3] = (g) => e.$emit("updateContent", g))
239
247
  }, null, 8, ["theme"])
240
248
  ];
241
249
  }),
242
250
  key: "0"
243
251
  } : void 0
244
252
  ]), 1032, ["layout", "parsedSpec"])
245
- ], 8, Je),
246
- e.$slots.footer ? (y(), C("div", Xe, [
253
+ ], 8, Ze),
254
+ e.$slots.footer ? (y(), C("div", xe, [
247
255
  u(e.$slots, "footer", c(p(l.value)), void 0, !0)
248
256
  ])) : E("", !0)
249
257
  ], 64)) : E("", !0),
250
- m(i(Ue), { configuration: t.value }, null, 8, ["configuration"])
258
+ m(i(ze), { configuration: t.value }, null, 8, ["configuration"])
251
259
  ], 38),
252
- m(i(Fe))
260
+ m(i(Me))
253
261
  ], 64);
254
262
  };
255
263
  }
256
264
  });
257
265
  export {
258
- gt as default
266
+ Ct as default
259
267
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"AAmHA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAuBhD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CACX,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CACrE,CAAA;IACD,UAAU,EAAE,IAAI,CAAA;CACjB,CAAC;AA0CF,iBAAS,cAAc;WA8JT,OAAO,IAA6B;;uBATtB,GAAG;uBACH,GAAG;;;;EAa9B;AAwBD,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
+ {"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAwBhD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CACX,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CACrE,CAAA;IACD,UAAU,EAAE,IAAI,CAAA;CACjB,CAAC;AA0CF,iBAAS,cAAc;WAoKT,OAAO,IAA6B;;uBATtB,GAAG;uBACH,GAAG;;;;EAa9B;AAyBD,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 m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f02ccf38"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1f5477ab"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as D, computed as s, onMounted as I, openBlock as l, createBlock as a, unref as o, withCtx as t, createVNode as r, createElementVNode as S, createTextVNode as d, toDisplayString as u, createCommentVNode as f, renderSlot as _ } from "vue";
2
- import L from "github-slugger";
3
- import { useConfig as V } from "../../../hooks/useConfig.js";
4
- import { useNavState as $ } from "../../../hooks/useNavState.js";
1
+ import { defineComponent as $, computed as s, onMounted as D, openBlock as l, createBlock as a, unref as o, withCtx as t, createVNode as r, createElementVNode as S, createTextVNode as d, toDisplayString as u, createCommentVNode as f, renderSlot as _ } from "vue";
2
+ import I from "github-slugger";
3
+ import { useConfig as L } from "../../../hooks/useConfig.js";
4
+ import { useNavState as V } from "../../../hooks/useNavState.js";
5
5
  import w from "../../../features/DownloadLink/DownloadLink.vue.js";
6
6
  import H from "./Description.vue.js";
7
7
  import B from "../../Section/SectionContainer.vue.js";
@@ -13,26 +13,27 @@ import A from "../../Section/SectionHeader.vue.js";
13
13
  import E from "../../Section/SectionHeaderTag.vue.js";
14
14
  import F from "../../Section/SectionColumns.vue.js";
15
15
  import T from "../../Section/SectionColumn.vue.js";
16
- const G = { class: "flex gap-1" }, M = { class: "sticky-cards" }, te = /* @__PURE__ */ D({
16
+ import G from "../../SpecificationExtension/SpecificationExtension.vue.js";
17
+ const M = { class: "flex gap-1" }, R = { class: "sticky-cards" }, ne = /* @__PURE__ */ $({
17
18
  __name: "Introduction",
18
19
  props: {
19
20
  info: {},
20
21
  parsedSpec: {}
21
22
  },
22
23
  setup(h) {
23
- const i = h, { getHeadingId: k } = $(), m = s(
24
+ const i = h, { getHeadingId: k } = V(), m = s(
24
25
  () => {
25
26
  var e, n;
26
27
  return ((e = i.parsedSpec) == null ? void 0 : e.openapi) ?? ((n = i.parsedSpec) == null ? void 0 : n.swagger) ?? "";
27
28
  }
28
- ), y = new L(), N = s(() => {
29
+ ), y = new I(), N = s(() => {
29
30
  var e;
30
31
  return y.slug(((e = i.info) == null ? void 0 : e.title) ?? "");
31
32
  }), p = s(() => {
32
33
  var e, n;
33
34
  return typeof ((e = i.info) == null ? void 0 : e.version) == "string" ? i.info.version.toString().match(/^\d/) ? `v${i.info.version}` : i.info.version : typeof ((n = i.info) == null ? void 0 : n.version) == "number" ? `v${i.info.version}` : void 0;
34
- }), c = V();
35
- return I(() => {
35
+ }), c = L();
36
+ return D(() => {
36
37
  var e, n;
37
38
  return (n = (e = c.value).onLoaded) == null ? void 0 : n.call(e);
38
39
  }), (e, n) => (l(), a(o(B), null, {
@@ -46,13 +47,13 @@ const G = { class: "flex gap-1" }, M = { class: "sticky-cards" }, te = /* @__PUR
46
47
  })
47
48
  }, {
48
49
  default: t(() => {
49
- var g, v;
50
+ var v, g;
50
51
  return [
51
52
  r(o(b), {
52
- loading: o(c).isLoading ?? (!((g = e.info) != null && g.description) && !((v = e.info) != null && v.title))
53
+ loading: o(c).isLoading ?? (!((v = e.info) != null && v.description) && !((g = e.info) != null && g.title))
53
54
  }, {
54
55
  default: t(() => [
55
- S("div", G, [
56
+ S("div", M, [
56
57
  p.value ? (l(), a(o(C), { key: 0 }, {
57
58
  default: t(() => [
58
59
  d(u(p.value), 1)
@@ -93,7 +94,7 @@ const G = { class: "flex gap-1" }, M = { class: "sticky-cards" }, te = /* @__PUR
93
94
  }),
94
95
  e.$slots.aside ? (l(), a(o(T), { key: 0 }, {
95
96
  default: t(() => [
96
- S("div", M, [
97
+ S("div", R, [
97
98
  _(e.$slots, "aside", {}, void 0, !0)
98
99
  ])
99
100
  ]),
@@ -101,7 +102,8 @@ const G = { class: "flex gap-1" }, M = { class: "sticky-cards" }, te = /* @__PUR
101
102
  })) : f("", !0)
102
103
  ]),
103
104
  _: 3
104
- })
105
+ }),
106
+ r(o(G), { value: e.info }, null, 8, ["value"])
105
107
  ]),
106
108
  _: 3
107
109
  }, 8, ["loading"]),
@@ -116,5 +118,5 @@ const G = { class: "flex gap-1" }, M = { class: "sticky-cards" }, te = /* @__PUR
116
118
  }
117
119
  });
118
120
  export {
119
- te as default
121
+ ne as default
120
122
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AA0hBA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAa9C;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,E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X,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;kBAIF,OAAO;;AA0d1B,0BAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaProperty.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a719d4a9"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-aa19e2e1"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };