@scalar/api-reference 1.24.30 → 1.24.31

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 (45) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/browser/standalone.js +12404 -11941
  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 +37 -37
  7. package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
  8. package/dist/components/Content/Operation/Operation.vue.js +2 -2
  9. package/dist/components/Content/Operation/Operation.vue2.js +52 -71
  10. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  12. package/dist/components/Content/Operation/OperationAccordion.vue2.js +12 -12
  13. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +2 -2
  15. package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +13 -13
  16. package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts.map +1 -0
  17. package/dist/features/ExampleRequest/ExamplePicker.vue.js +7 -0
  18. package/dist/features/ExampleRequest/ExampleRequest.stories.d.ts.map +1 -0
  19. package/dist/{components/Content/Operation/CustomRequestExamples.vue.d.ts → features/ExampleRequest/ExampleRequest.vue.d.ts} +3 -3
  20. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -0
  21. package/dist/features/ExampleRequest/ExampleRequest.vue.js +7 -0
  22. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +246 -0
  23. package/dist/features/ExampleRequest/TextSelect.vue.d.ts.map +1 -0
  24. package/dist/features/ExampleRequest/index.d.ts +3 -0
  25. package/dist/features/ExampleRequest/index.d.ts.map +1 -0
  26. package/dist/index.js +1 -1
  27. package/dist/style.css +1 -1
  28. package/package.json +6 -6
  29. package/dist/components/Content/Operation/CustomRequestExamples.vue.d.ts.map +0 -1
  30. package/dist/components/Content/Operation/CustomRequestExamples.vue.js +0 -7
  31. package/dist/components/Content/Operation/CustomRequestExamples.vue2.js +0 -124
  32. package/dist/components/Content/Operation/ExamplePicker.vue.d.ts.map +0 -1
  33. package/dist/components/Content/Operation/ExamplePicker.vue.js +0 -7
  34. package/dist/components/Content/Operation/ExampleRequest.stories.d.ts.map +0 -1
  35. package/dist/components/Content/Operation/ExampleRequest.vue.d.ts +0 -25
  36. package/dist/components/Content/Operation/ExampleRequest.vue.d.ts.map +0 -1
  37. package/dist/components/Content/Operation/ExampleRequest.vue.js +0 -7
  38. package/dist/components/Content/Operation/ExampleRequest.vue2.js +0 -188
  39. package/dist/components/Content/Operation/TextSelect.vue.d.ts.map +0 -1
  40. /package/dist/{components/Content/Operation → features/ExampleRequest}/ExamplePicker.vue.d.ts +0 -0
  41. /package/dist/{components/Content/Operation → features/ExampleRequest}/ExamplePicker.vue2.js +0 -0
  42. /package/dist/{components/Content/Operation → features/ExampleRequest}/ExampleRequest.stories.d.ts +0 -0
  43. /package/dist/{components/Content/Operation → features/ExampleRequest}/TextSelect.vue.d.ts +0 -0
  44. /package/dist/{components/Content/Operation → features/ExampleRequest}/TextSelect.vue.js +0 -0
  45. /package/dist/{components/Content/Operation → features/ExampleRequest}/TextSelect.vue3.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AA4hBA,OAAO,EAAE,KAAK,OAAO,EAAkB,MAAM,gBAAgB,CAAA;AAwB7D,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6gBjB,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":"AA6hBA,OAAO,EAAE,KAAK,OAAO,EAAkB,MAAM,gBAAgB,CAAA;AAwB7D,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8gBjB,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-4ada381d"]]);
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7ab509ff"]]);
6
6
  export {
7
- m as default
7
+ a as default
8
8
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as Q, ref as b, onMounted as B, onBeforeMount as F, computed as L, watch as q, onServerPrefetch as J, useSSRContext as X, getCurrentInstance as Z, provide as O, openBlock as m, createElementBlock as S, Fragment as P, createBlock as _, unref as i, withCtx as u, createTextVNode as x, toDisplayString as ee, createCommentVNode as h, createElementVNode as p, normalizeClass as oe, normalizeStyle as te, renderSlot as l, normalizeProps as d, guardReactiveProps as c, createVNode as g, withDirectives as re, vShow as ae, createSlots as ne } from "vue";
2
- import { provideUseId as ie } from "@headlessui/vue";
3
- import { addScalarClassesToHeadless as se } from "@scalar/components";
4
- import { defaultStateFactory as le } from "@scalar/oas-utils/helpers";
1
+ import { defineComponent as q, ref as b, onMounted as B, onBeforeMount as F, computed as L, watch as J, onServerPrefetch as X, useSSRContext as Z, getCurrentInstance as _, provide as O, openBlock as m, createElementBlock as S, Fragment as P, createBlock as x, unref as i, withCtx as u, createTextVNode as ee, toDisplayString as oe, createCommentVNode as h, createElementVNode as p, normalizeClass as te, normalizeStyle as re, renderSlot as l, normalizeProps as d, guardReactiveProps as c, createVNode as g, withDirectives as ae, vShow as ne, createSlots as ie } from "vue";
2
+ import { provideUseId as se } from "@headlessui/vue";
3
+ import { addScalarClassesToHeadless as le } from "@scalar/components";
4
+ import { defaultStateFactory as U } from "@scalar/oas-utils/helpers";
5
5
  import { getThemeStyles as de } from "@scalar/themes";
6
6
  import { useToasts as ce, ScalarToasts as ue } from "@scalar/use-toasts";
7
7
  import { useMediaQuery as pe, useResizeObserver as fe, useDebounceFn as me } from "@vueuse/core";
@@ -24,7 +24,7 @@ const Ee = { class: "references-header" }, Be = {
24
24
  }, Fe = { class: "references-navigation-list" }, Le = { class: "references-editor" }, Oe = { class: "references-editor-textarea" }, Pe = { class: "references-rendered" }, Ue = {
25
25
  key: 0,
26
26
  class: "references-footer"
27
- }, to = /* @__PURE__ */ Q({
27
+ }, to = /* @__PURE__ */ q({
28
28
  inheritAttrs: !1,
29
29
  __name: "ApiReferenceLayout",
30
30
  props: {
@@ -33,12 +33,12 @@ const Ee = { class: "references-header" }, Be = {
33
33
  rawSpec: {}
34
34
  },
35
35
  emits: ["changeTheme", "updateContent", "loadSwaggerFile", "linkSwaggerFile", "toggleDarkMode"],
36
- setup(U) {
37
- const t = U, { initializeToasts: M, toast: A } = ce();
38
- M((e) => A(e));
39
- const N = pe("(min-width: 1150px)"), z = b("100dvh"), f = b(null);
36
+ setup(M) {
37
+ const t = M, { initializeToasts: A, toast: N } = ce();
38
+ A((e) => N(e));
39
+ const z = pe("(min-width: 1150px)"), H = b("100dvh"), f = b(null);
40
40
  fe(f, (e) => {
41
- z.value = e[0].contentRect.height + "px";
41
+ H.value = e[0].contentRect.height + "px";
42
42
  });
43
43
  const w = b(0);
44
44
  B(() => {
@@ -50,16 +50,16 @@ const Ee = { class: "references-header" }, Be = {
50
50
  }
51
51
  });
52
52
  const {
53
- breadcrumb: H,
53
+ breadcrumb: V,
54
54
  collapsedSidebarItems: v,
55
- isSidebarOpen: V,
55
+ isSidebarOpen: Y,
56
56
  setCollapsedSidebarItem: y,
57
- hideModels: Y,
58
- setParsedSpec: G
57
+ hideModels: G,
58
+ setParsedSpec: W
59
59
  } = $e(), {
60
60
  getPathRoutingId: R,
61
- getSectionId: W,
62
- getTagId: j,
61
+ getSectionId: j,
62
+ getTagId: K,
63
63
  hash: T,
64
64
  isIntersectionEnabled: C,
65
65
  pathRouting: $,
@@ -70,53 +70,53 @@ const Ee = { class: "references-header" }, Be = {
70
70
  var o;
71
71
  C.value = !1, k(), e ? Ie(e) : (o = f.value) == null || o.scrollTo(0, 0), await De(100), C.value = !0;
72
72
  };
73
- F(() => se()), B(() => {
73
+ F(() => le()), B(() => {
74
74
  Se.on(({ specTitle: e }) => {
75
75
  he(t.rawSpec, e);
76
76
  }), window.onhashchange = () => I(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => $.value && I(R(window.location.pathname));
77
77
  });
78
- const K = L(
79
- () => N.value || !t.configuration.isEditable
78
+ const Q = L(
79
+ () => z.value || !t.configuration.isEditable
80
80
  ), D = me((e) => {
81
81
  if ((e.target.scrollTop ?? 0) < 50) {
82
82
  const a = t.configuration.pathRouting ? t.configuration.pathRouting.basePath : window.location.pathname;
83
83
  window.history.replaceState({}, "", a + window.location.search), T.value = "";
84
84
  }
85
85
  }), s = L(() => ({
86
- breadcrumb: H.value,
86
+ breadcrumb: V.value,
87
87
  spec: t.parsedSpec
88
88
  }));
89
- return q(() => t.parsedSpec, G, { deep: !0 }), J(() => {
89
+ return J(() => t.parsedSpec, W, { deep: !0 }), X(() => {
90
90
  var o, a;
91
- const e = X();
92
- if (e && ((o = e.payload).data || (o.data = le()), t.configuration.pathRouting)) {
91
+ const e = Z();
92
+ if (e && (e.payload || (e.payload = { data: U() }), (o = e.payload).data || (o.data = U()), t.configuration.pathRouting)) {
93
93
  const r = R(e.url);
94
94
  T.value = r, e.payload.data.hash = r;
95
95
  for (const n in v)
96
96
  Object.hasOwn(v, n) && delete v[n];
97
97
  if (r)
98
- y(W(r), !0);
98
+ y(j(r), !0);
99
99
  else {
100
100
  const n = (a = t.parsedSpec.tags) == null ? void 0 : a[0];
101
- n && y(j(n), !0);
101
+ n && y(K(n), !0);
102
102
  }
103
103
  e.payload.data["useSidebarContent-collapsedSidebarItems"] = v;
104
104
  }
105
- }), ie(() => {
105
+ }), se(() => {
106
106
  var r;
107
- const e = Z(), o = "scalar-instance-id";
107
+ const e = _(), o = "scalar-instance-id";
108
108
  if (!e) return o;
109
109
  let a = e.uid;
110
110
  return typeof window > "u" ? (e.attrs || (e.attrs = {}), e.attrs[o] = a) : (r = e.vnode.el) != null && r.getAttribute && (a = e.vnode.el.getAttribute(o)), `${o}-${a}`;
111
111
  }), O(Te, () => t.parsedSpec.security), O(
112
112
  Ce,
113
113
  () => t.configuration.hideDownloadButton
114
- ), Y.value = t.configuration.hideModels ?? !1, be(t.configuration), (e, o) => {
114
+ ), G.value = t.configuration.hideModels ?? !1, be(t.configuration), (e, o) => {
115
115
  var a;
116
116
  return m(), S(P, null, [
117
- t.configuration.withDefaultFonts || t.configuration.theme ? (m(), _(i(we), { key: 0 }, {
117
+ t.configuration.withDefaultFonts || t.configuration.theme ? (m(), x(i(we), { key: 0 }, {
118
118
  default: u(() => [
119
- x(ee(i(de)(e.configuration.theme, {
119
+ ee(oe(i(de)(e.configuration.theme, {
120
120
  fonts: e.configuration.withDefaultFonts
121
121
  })), 1)
122
122
  ]),
@@ -125,16 +125,16 @@ const Ee = { class: "references-header" }, Be = {
125
125
  p("div", {
126
126
  ref_key: "documentEl",
127
127
  ref: f,
128
- class: oe(["scalar-app scalar-api-reference references-layout", [
128
+ class: te(["scalar-app scalar-api-reference references-layout", [
129
129
  {
130
130
  "references-editable": e.configuration.isEditable,
131
131
  "references-sidebar": e.configuration.showSidebar,
132
- "references-sidebar-mobile-open": i(V),
132
+ "references-sidebar-mobile-open": i(Y),
133
133
  "references-classic": e.configuration.layout === "classic"
134
134
  },
135
135
  e.$attrs.class
136
136
  ]]),
137
- style: te({
137
+ style: re({
138
138
  "--scalar-y-offset": `var(--scalar-custom-header-height, ${w.value}px)`
139
139
  }),
140
140
  onScrollPassive: o[4] || (o[4] = //@ts-ignore
@@ -156,14 +156,14 @@ const Ee = { class: "references-header" }, Be = {
156
156
  }, 8, ["parsedSpec"])
157
157
  ])
158
158
  ])) : h("", !0),
159
- re(p("div", Le, [
159
+ ae(p("div", Le, [
160
160
  p("div", Oe, [
161
161
  l(e.$slots, "editor", d(c(s.value)), void 0, !0)
162
162
  ])
163
163
  ], 512), [
164
- [ae, e.configuration.isEditable]
164
+ [ne, e.configuration.isEditable]
165
165
  ]),
166
- K.value ? (m(), S(P, { key: 1 }, [
166
+ Q.value ? (m(), S(P, { key: 1 }, [
167
167
  p("div", Pe, [
168
168
  g(i(Re), {
169
169
  baseServerURL: e.configuration.baseServerURL,
@@ -171,7 +171,7 @@ const Ee = { class: "references-header" }, Be = {
171
171
  parsedSpec: e.parsedSpec,
172
172
  proxy: e.configuration.proxy,
173
173
  servers: e.configuration.servers
174
- }, ne({
174
+ }, ie({
175
175
  start: u(() => [
176
176
  l(e.$slots, "content-start", d(c(s.value)), void 0, !0)
177
177
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/Operation.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;AA+T7D,wBAMG;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
+ {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/Operation.vue"],"names":[],"mappings":"AA0GA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;AA+R7D,wBAMG;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 "./Operation.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b9dd22f0"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e99da259"]]);
5
5
  export {
6
- f as default
6
+ e as default
7
7
  };
@@ -1,62 +1,61 @@
1
- import { defineComponent as y, computed as v, openBlock as n, createBlock as p, unref as r, withCtx as o, createVNode as t, createTextVNode as s, createCommentVNode as u, createElementVNode as f, normalizeClass as g, toDisplayString as E } from "vue";
2
- import R from "./CustomRequestExamples.vue.js";
3
- import q from "./EndpointDetails.vue.js";
4
- import c from "./EndpointPath.vue.js";
5
- import B from "./ExampleRequest.vue.js";
6
- import h from "./TestRequestButton.vue.js";
7
- import N from "../../Section/Section.vue.js";
8
- import V from "../../Section/SectionContent.vue.js";
9
- import _ from "../../Section/SectionColumns.vue.js";
10
- import C from "../../Section/SectionColumn.vue.js";
11
- import b from "../../Badge/Badge.vue.js";
12
- import T from "../../Section/SectionHeader.vue.js";
13
- import D from "../../Anchor/Anchor.vue.js";
14
- import H from "./PathResponses/PathResponses.vue.js";
15
- import { useHttpClientStore as P } from "../../../stores/useHttpClientStore.js";
16
- const w = { class: "examples" }, W = /* @__PURE__ */ y({
1
+ import { defineComponent as S, computed as _, openBlock as i, createBlock as p, unref as o, withCtx as t, createVNode as r, createTextVNode as s, createCommentVNode as d, createElementVNode as u, normalizeClass as k, toDisplayString as y } from "vue";
2
+ import E from "./EndpointDetails.vue.js";
3
+ import g from "./EndpointPath.vue.js";
4
+ import v from "./TestRequestButton.vue.js";
5
+ import B from "../../Section/Section.vue.js";
6
+ import N from "../../Section/SectionContent.vue.js";
7
+ import R from "../../Section/SectionColumns.vue.js";
8
+ import f from "../../Section/SectionColumn.vue.js";
9
+ import V from "../../Badge/Badge.vue.js";
10
+ import b from "../../Section/SectionHeader.vue.js";
11
+ import q from "../../Anchor/Anchor.vue.js";
12
+ import x from "../../../features/ExampleRequest/ExampleRequest.vue.js";
13
+ import T from "./PathResponses/PathResponses.vue.js";
14
+ import { useHttpClientStore as D } from "../../../stores/useHttpClientStore.js";
15
+ const H = { class: "examples" }, Q = /* @__PURE__ */ S({
17
16
  __name: "Operation",
18
17
  props: {
19
18
  id: {},
20
19
  operation: {}
21
20
  },
22
- setup(S) {
23
- const l = S, { availableTargets: k } = P(), m = v(() => {
24
- var i;
21
+ setup(c) {
22
+ const m = c, { availableTargets: h } = D(), C = _(() => {
23
+ var n;
25
24
  const e = ["x-custom-examples", "x-codeSamples", "x-code-samples"];
26
25
  for (const a of e)
27
- if ((i = l.operation.information) != null && i[a])
28
- return l.operation.information[a];
26
+ if ((n = m.operation.information) != null && n[a])
27
+ return m.operation.information[a];
29
28
  return null;
30
29
  });
31
- return (e, i) => (n(), p(r(N), {
30
+ return (e, n) => (i(), p(o(B), {
32
31
  id: e.id,
33
32
  label: e.operation.name
34
33
  }, {
35
- default: o(() => [
36
- t(r(V), null, {
37
- default: o(() => [
38
- t(r(_), null, {
39
- default: o(() => [
40
- t(r(C), null, {
41
- default: o(() => {
42
- var a, d;
34
+ default: t(() => [
35
+ r(o(N), null, {
36
+ default: t(() => [
37
+ r(o(R), null, {
38
+ default: t(() => [
39
+ r(o(f), null, {
40
+ default: t(() => {
41
+ var a, l;
43
42
  return [
44
- (a = e.operation.information) != null && a.deprecated ? (n(), p(r(b), { key: 0 }, {
45
- default: o(() => [
43
+ (a = e.operation.information) != null && a.deprecated ? (i(), p(o(V), { key: 0 }, {
44
+ default: t(() => [
46
45
  s(" Deprecated ")
47
46
  ]),
48
47
  _: 1
49
- })) : u("", !0),
50
- f("div", {
51
- class: g((d = e.operation.information) != null && d.deprecated ? "deprecated" : "")
48
+ })) : d("", !0),
49
+ u("div", {
50
+ class: k((l = e.operation.information) != null && l.deprecated ? "deprecated" : "")
52
51
  }, [
53
- t(r(T), { level: 3 }, {
54
- default: o(() => [
55
- t(r(D), {
52
+ r(o(b), { level: 3 }, {
53
+ default: t(() => [
54
+ r(o(q), {
56
55
  id: e.id ?? ""
57
56
  }, {
58
- default: o(() => [
59
- s(E(e.operation.name), 1)
57
+ default: t(() => [
58
+ s(y(e.operation.name), 1)
60
59
  ]),
61
60
  _: 1
62
61
  }, 8, ["id"])
@@ -64,53 +63,35 @@ const w = { class: "examples" }, W = /* @__PURE__ */ y({
64
63
  _: 1
65
64
  })
66
65
  ], 2),
67
- t(q, { operation: e.operation }, null, 8, ["operation"])
66
+ r(E, { operation: e.operation }, null, 8, ["operation"])
68
67
  ];
69
68
  }),
70
69
  _: 1
71
70
  }),
72
- t(r(C), null, {
73
- default: o(() => [
74
- f("div", w, [
75
- m.value ? (n(), p(R, {
71
+ r(o(f), null, {
72
+ default: t(() => [
73
+ u("div", H, [
74
+ o(h).length ? (i(), p(o(x), {
76
75
  key: 0,
77
- examples: m.value,
76
+ customExamples: C.value,
78
77
  operation: e.operation
79
78
  }, {
80
- header: o(() => {
79
+ header: t(() => {
81
80
  var a;
82
81
  return [
83
- t(c, {
82
+ r(g, {
84
83
  class: "example-path",
85
84
  deprecated: (a = e.operation.information) == null ? void 0 : a.deprecated,
86
85
  path: e.operation.path
87
86
  }, null, 8, ["deprecated", "path"])
88
87
  ];
89
88
  }),
90
- footer: o(() => [
91
- t(h, { operation: e.operation }, null, 8, ["operation"])
89
+ footer: t(() => [
90
+ r(v, { operation: e.operation }, null, 8, ["operation"])
92
91
  ]),
93
92
  _: 1
94
- }, 8, ["examples", "operation"])) : r(k).length ? (n(), p(B, {
95
- key: 1,
96
- operation: e.operation
97
- }, {
98
- header: o(() => {
99
- var a;
100
- return [
101
- t(c, {
102
- class: "example-path",
103
- deprecated: (a = e.operation.information) == null ? void 0 : a.deprecated,
104
- path: e.operation.path
105
- }, null, 8, ["deprecated", "path"])
106
- ];
107
- }),
108
- footer: o(() => [
109
- t(h, { operation: e.operation }, null, 8, ["operation"])
110
- ]),
111
- _: 1
112
- }, 8, ["operation"])) : u("", !0),
113
- t(r(H), {
93
+ }, 8, ["customExamples", "operation"])) : d("", !0),
94
+ r(o(T), {
114
95
  operation: e.operation,
115
96
  style: { "margin-top": "12px" }
116
97
  }, null, 8, ["operation"])
@@ -130,5 +111,5 @@ const w = { class: "examples" }, W = /* @__PURE__ */ y({
130
111
  }
131
112
  });
132
113
  export {
133
- W as default
114
+ Q as default
134
115
  };
@@ -1 +1 @@
1
- {"version":3,"file":"OperationAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/OperationAccordion.vue"],"names":[],"mappings":"AAyNA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;AA+Q7D,wBAMG;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
+ {"version":3,"file":"OperationAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/OperationAccordion.vue"],"names":[],"mappings":"AAyNA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;AAoR7D,wBAMG;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 "./OperationAccordion.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-70dfcfc0"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e9cc5b71"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -2,12 +2,12 @@ import { defineComponent as l, openBlock as r, createBlock as p, unref as e, cre
2
2
  import { ScalarIcon as f, ScalarIconButton as u, ScalarMarkdown as v } from "@scalar/components";
3
3
  import y from "./EndpointDetailsCard.vue.js";
4
4
  import _ from "./EndpointPath.vue.js";
5
- import b from "./ExampleRequest.vue.js";
6
- import C from "./TestRequestButton.vue.js";
7
- import k from "../../Section/SectionAccordion.vue.js";
8
- import S from "../../HttpMethod/HttpMethod.vue.js";
9
- import w from "../../Anchor/Anchor.vue.js";
10
- import A from "./PathResponses/PathResponses.vue.js";
5
+ import b from "./TestRequestButton.vue.js";
6
+ import C from "../../Section/SectionAccordion.vue.js";
7
+ import k from "../../HttpMethod/HttpMethod.vue.js";
8
+ import S from "../../Anchor/Anchor.vue.js";
9
+ import w from "./PathResponses/PathResponses.vue.js";
10
+ import A from "../../../features/ExampleRequest/ExampleRequest.vue.js";
11
11
  import { useClipboard as B } from "../../../hooks/useClipboard.js";
12
12
  const E = { class: "endpoint-header" }, R = { class: "endpoint-details" }, g = { class: "endpoint-label" }, I = { class: "endpoint-label-path" }, P = { class: "endpoint-label-name" }, V = { class: "endpoint-content" }, H = /* @__PURE__ */ l({
13
13
  __name: "OperationAccordion",
@@ -17,7 +17,7 @@ const E = { class: "endpoint-header" }, R = { class: "endpoint-details" }, g = {
17
17
  },
18
18
  setup(q) {
19
19
  const { copyToClipboard: d } = B();
20
- return (o, s) => (r(), p(e(k), {
20
+ return (o, s) => (r(), p(e(C), {
21
21
  id: o.id,
22
22
  class: "reference-endpoint",
23
23
  transparent: ""
@@ -25,12 +25,12 @@ const E = { class: "endpoint-header" }, R = { class: "endpoint-details" }, g = {
25
25
  title: i(() => [
26
26
  n("h3", E, [
27
27
  n("div", R, [
28
- t(e(S), {
28
+ t(e(k), {
29
29
  class: "endpoint-type",
30
30
  method: o.operation.httpVerb,
31
31
  short: ""
32
32
  }, null, 8, ["method"]),
33
- t(e(w), {
33
+ t(e(S), {
34
34
  id: o.id ?? "",
35
35
  class: "endpoint-anchor"
36
36
  }, {
@@ -54,7 +54,7 @@ const E = { class: "endpoint-header" }, R = { class: "endpoint-details" }, g = {
54
54
  ])
55
55
  ]),
56
56
  actions: i(({ active: a }) => [
57
- a ? (r(), p(C, {
57
+ a ? (r(), p(b, {
58
58
  key: 0,
59
59
  operation: o.operation
60
60
  }, null, 8, ["operation"])) : (r(), p(e(f), {
@@ -74,8 +74,8 @@ const E = { class: "endpoint-header" }, R = { class: "endpoint-details" }, g = {
74
74
  default: i(() => [
75
75
  n("div", V, [
76
76
  t(y, { operation: o.operation }, null, 8, ["operation"]),
77
- t(e(A), { operation: o.operation }, null, 8, ["operation"]),
78
- t(b, { operation: o.operation }, null, 8, ["operation"])
77
+ t(e(w), { operation: o.operation }, null, 8, ["operation"]),
78
+ t(e(A), { operation: o.operation }, null, 8, ["operation"])
79
79
  ])
80
80
  ]),
81
81
  _: 2
@@ -1 +1 @@
1
- {"version":3,"file":"PathResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/PathResponses.vue"],"names":[],"mappings":"AA2TA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;AAmY7D,wBAMG;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
+ {"version":3,"file":"PathResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/PathResponses.vue"],"names":[],"mappings":"AA2TA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;AAwY7D,wBAMG;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 "./PathResponses.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6087e0e2"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ee2bb75a"]]);
5
5
  export {
6
- r as default
6
+ p as default
7
7
  };
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as B, ref as S, computed as v, openBlock as t, createBlock as r, unref as s, withCtx as c, createVNode as b, createElementBlock as x, createCommentVNode as f, createTextVNode as g, withDirectives as M, createElementVNode as w, vModelCheckbox as N, Fragment as R, renderList as F, toDisplayString as O, pushScopeId as P, popScopeId as A } from "vue";
2
2
  import { ScalarIcon as D, ScalarCodeBlock as U, ScalarMarkdown as H } from "@scalar/components";
3
3
  import { normalizeMimeTypeObject as J } from "@scalar/oas-utils/helpers";
4
- import K from "../ExamplePicker.vue.js";
5
4
  import T from "./ExampleResponse.vue.js";
6
- import L from "../../../Card/Card.vue.js";
7
- import W from "../../../Card/CardTabHeader.vue.js";
8
- import q from "../../../Card/CardTab.vue.js";
9
- import G from "../../../Card/CardContent.vue.js";
10
- import Q from "../../../Card/CardFooter.vue.js";
5
+ import K from "../../../Card/Card.vue.js";
6
+ import L from "../../../Card/CardTabHeader.vue.js";
7
+ import W from "../../../Card/CardTab.vue.js";
8
+ import q from "../../../Card/CardContent.vue.js";
9
+ import G from "../../../Card/CardFooter.vue.js";
10
+ import Q from "../../../../features/ExampleRequest/ExamplePicker.vue.js";
11
11
  import { useClipboard as X } from "../../../../hooks/useClipboard.js";
12
- const Y = (u) => (P("data-v-6087e0e2"), u = u(), A(), u), Z = {
12
+ const Y = (u) => (P("data-v-ee2bb75a"), u = u(), A(), u), Z = {
13
13
  key: 1,
14
14
  class: "scalar-card-checkbox"
15
15
  }, $ = /* @__PURE__ */ Y(() => /* @__PURE__ */ w("span", { class: "scalar-card-checkbox-checkmark" }, null, -1)), z = { class: "scalar-card-container custom-scroll" }, ee = {
@@ -57,11 +57,11 @@ const Y = (u) => (P("data-v-6087e0e2"), u = u(), A(), u), Z = {
57
57
  })), I = (e) => {
58
58
  E.value = e, p.value = void 0;
59
59
  }, _ = S(!1);
60
- return (e, a) => C.value.length ? (t(), r(s(L), { key: 0 }, {
60
+ return (e, a) => C.value.length ? (t(), r(s(K), { key: 0 }, {
61
61
  default: c(() => {
62
62
  var i;
63
63
  return [
64
- b(s(W), {
64
+ b(s(L), {
65
65
  muted: "",
66
66
  x: "as",
67
67
  onChange: I
@@ -98,7 +98,7 @@ const Y = (u) => (P("data-v-6087e0e2"), u = u(), A(), u), Z = {
98
98
  ];
99
99
  }),
100
100
  default: c(() => [
101
- (t(!0), x(R, null, F(C.value, (l) => (t(), r(s(q), { key: l }, {
101
+ (t(!0), x(R, null, F(C.value, (l) => (t(), r(s(W), { key: l }, {
102
102
  default: c(() => [
103
103
  g(O(l), 1)
104
104
  ]),
@@ -108,7 +108,7 @@ const Y = (u) => (P("data-v-6087e0e2"), u = u(), A(), u), Z = {
108
108
  _: 1
109
109
  }),
110
110
  w("div", z, [
111
- b(s(G), { muted: "" }, {
111
+ b(s(q), { muted: "" }, {
112
112
  default: c(() => {
113
113
  var l;
114
114
  return [
@@ -130,7 +130,7 @@ const Y = (u) => (P("data-v-6087e0e2"), u = u(), A(), u), Z = {
130
130
  _: 1
131
131
  })
132
132
  ]),
133
- (i = m.value) != null && i.description || y.value ? (t(), r(s(Q), {
133
+ (i = m.value) != null && i.description || y.value ? (t(), r(s(G), {
134
134
  key: 0,
135
135
  class: "response-card-footer",
136
136
  muted: ""
@@ -138,7 +138,7 @@ const Y = (u) => (P("data-v-6087e0e2"), u = u(), A(), u), Z = {
138
138
  default: c(() => {
139
139
  var l, d;
140
140
  return [
141
- y.value ? (t(), r(K, {
141
+ y.value ? (t(), r(s(Q), {
142
142
  key: 0,
143
143
  class: "response-example-selector",
144
144
  examples: (l = o.value) == null ? void 0 : l.examples,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExamplePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/features/ExampleRequest/ExamplePicker.vue"],"names":[],"mappings":";;;;;;;;;AAqMA,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"}
@@ -0,0 +1,7 @@
1
+ import o from "./ExamplePicker.vue2.js";
2
+ /* empty css */
3
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-090632a2"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleRequest.stories.d.ts","sourceRoot":"","sources":["../../../src/features/ExampleRequest/ExampleRequest.stories.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAEhE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAIrC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAO5C,eAAO,MAAM,OAAO,EAAE,KAwVrB,CAAA"}
@@ -1,10 +1,10 @@
1
1
  import type { CustomRequestExample, TransformedOperation } from '@scalar/oas-utils';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ customExamples?: CustomRequestExample[] | null | undefined;
3
4
  operation: TransformedOperation;
4
- examples: CustomRequestExample[];
5
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
6
+ customExamples?: CustomRequestExample[] | null | undefined;
6
7
  operation: TransformedOperation;
7
- examples: CustomRequestExample[];
8
8
  }>>>, {}, {}>, {
9
9
  header?(_: {}): any;
10
10
  footer?(_: {}): any;
@@ -24,4 +24,4 @@ type __VLS_TypePropsToOption<T> = {
24
24
  required: true;
25
25
  };
26
26
  };
27
- //# sourceMappingURL=CustomRequestExamples.vue.d.ts.map
27
+ //# sourceMappingURL=ExampleRequest.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/features/ExampleRequest/ExampleRequest.vue"],"names":[],"mappings":"AAmaA,OAAO,KAAK,EACV,oBAAoB,EAGpB,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;;;;;;;;;;;AA0gB1B,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"}
@@ -0,0 +1,7 @@
1
+ import o from "./ExampleRequest.vue2.js";
2
+ /* empty css */
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ad03e328"]]);
5
+ export {
6
+ p as default
7
+ };