@scalar/api-reference 1.31.4 → 1.31.7

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 (51) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/browser/standalone.js +15407 -15317
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReference.vue.js +6 -6
  5. package/dist/components/ApiReferenceLayout.vue.d.ts +6 -3
  6. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  7. package/dist/components/ApiReferenceLayout.vue.js +4 -2
  8. package/dist/components/ApiReferenceLayout.vue2.js +230 -151
  9. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  10. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  11. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +138 -129
  12. package/dist/components/GettingStarted.vue.d.ts.map +1 -1
  13. package/dist/components/GettingStarted.vue.js +3 -3
  14. package/dist/components/GettingStarted.vue2.js +23 -23
  15. package/dist/index.d.ts +0 -3
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +37 -44
  18. package/dist/libs/openapi.js +32 -32
  19. package/dist/style.css +1 -1
  20. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +40 -0
  21. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -0
  22. package/dist/v2/ApiReferenceWorkspace.vue.js +65 -0
  23. package/dist/v2/ApiReferenceWorkspace.vue3.js +5 -0
  24. package/dist/v2/events/definitions.d.ts +35 -0
  25. package/dist/v2/events/definitions.d.ts.map +1 -0
  26. package/dist/v2/events/index.d.ts +3 -0
  27. package/dist/v2/events/index.d.ts.map +1 -0
  28. package/dist/v2/events/listeners.d.ts +8 -0
  29. package/dist/v2/events/listeners.d.ts.map +1 -0
  30. package/dist/v2/events/listeners.js +15 -0
  31. package/dist/v2/styles.d.ts +2 -0
  32. package/dist/v2/styles.d.ts.map +1 -0
  33. package/package.json +12 -11
  34. package/dist/components/Layouts/ClassicLayout.vue.d.ts +0 -23
  35. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +0 -1
  36. package/dist/components/Layouts/ClassicLayout.vue.js +0 -67
  37. package/dist/components/Layouts/ClassicLayout.vue2.js +0 -4
  38. package/dist/components/Layouts/Layouts.vue.d.ts +0 -26
  39. package/dist/components/Layouts/Layouts.vue.d.ts.map +0 -1
  40. package/dist/components/Layouts/Layouts.vue.js +0 -35
  41. package/dist/components/Layouts/Layouts.vue2.js +0 -4
  42. package/dist/components/Layouts/ModernLayout.vue.d.ts +0 -23
  43. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +0 -1
  44. package/dist/components/Layouts/ModernLayout.vue.js +0 -8
  45. package/dist/components/Layouts/ModernLayout.vue2.js +0 -102
  46. package/dist/components/Layouts/index.d.ts +0 -2
  47. package/dist/components/Layouts/index.d.ts.map +0 -1
  48. package/dist/components/SingleApiReference.vue.d.ts +0 -29
  49. package/dist/components/SingleApiReference.vue.d.ts.map +0 -1
  50. package/dist/components/SingleApiReference.vue.js +0 -57
  51. package/dist/components/SingleApiReference.vue3.js +0 -5
@@ -1,10 +1,10 @@
1
- import { defineComponent as z, computed as N, createElementBlock as n, openBlock as u, createCommentVNode as i, createBlock as o, normalizeClass as H, renderSlot as L, Fragment as k, createTextVNode as l, withCtx as r, createVNode as p, toDisplayString as m, unref as b } from "vue";
2
- import { isDefined as B } from "@scalar/oas-utils/helpers";
1
+ import { defineComponent as z, computed as B, createElementBlock as n, openBlock as a, createCommentVNode as i, createBlock as d, normalizeClass as H, renderSlot as E, Fragment as g, createTextVNode as u, withCtx as r, createVNode as N, toDisplayString as m, unref as v } from "vue";
2
+ import { isDefined as p } from "@scalar/helpers/array/is-defined";
3
3
  import J from "./SchemaPropertyExamples.vue.js";
4
4
  import M from "../../ScreenReader.vue.js";
5
5
  import { getDiscriminatorSchemaName as R } from "../../../hooks/useDiscriminator.js";
6
- import y from "./SchemaPropertyDetail.vue.js";
7
- import O from "../../Badge/Badge.vue.js";
6
+ import o from "./SchemaPropertyDetail.vue.js";
7
+ import L from "../../Badge/Badge.vue.js";
8
8
  const W = { class: "property-heading" }, G = {
9
9
  key: 1,
10
10
  class: "property-discriminator"
@@ -29,7 +29,7 @@ const W = { class: "property-heading" }, G = {
29
29
  }, h = {
30
30
  key: 10,
31
31
  class: "property-required"
32
- }, ue = /* @__PURE__ */ z({
32
+ }, ae = /* @__PURE__ */ z({
33
33
  __name: "SchemaPropertyHeading",
34
34
  props: {
35
35
  value: {},
@@ -41,259 +41,268 @@ const W = { class: "property-heading" }, G = {
41
41
  hideModelNames: { type: Boolean, default: !1 },
42
42
  schemas: {}
43
43
  },
44
- setup(a) {
44
+ setup(l) {
45
45
  const T = (e) => (e == null ? void 0 : e.default) === null ? "null" : Array.isArray(e == null ? void 0 : e.default) && e.default.length === 1 ? e.default[0] : typeof (e == null ? void 0 : e.default) == "string" ? JSON.stringify(e.default) : e == null ? void 0 : e.default, S = (e) => {
46
- var t, s;
46
+ var t, f;
47
47
  if (!e)
48
48
  return null;
49
49
  if (e.title)
50
50
  return e.title;
51
51
  if (e.name)
52
52
  return e.name;
53
- if (a.schemas && typeof a.schemas == "object") {
54
- for (const [d, f] of Object.entries(a.schemas))
55
- if (f.type === e.type && (e.type === "array" && ((t = f.items) == null ? void 0 : t.type) === ((s = e.items) == null ? void 0 : s.type) || e.type === "object" && f.properties && e.properties || e.type !== "array" && e.type !== "object"))
56
- return d;
53
+ if (l.schemas && typeof l.schemas == "object") {
54
+ for (const [y, s] of Object.entries(l.schemas))
55
+ if (s.type === e.type && (e.type === "array" && ((t = s.items) == null ? void 0 : t.type) === ((f = e.items) == null ? void 0 : f.type) || e.type === "object" && s.properties && e.properties || e.type !== "array" && e.type !== "object"))
56
+ return y;
57
57
  }
58
58
  return null;
59
- }, $ = N(() => {
60
- var e, t, s, d, f, v;
61
- if (B((e = a.value) == null ? void 0 : e.const))
62
- return (t = a.value) == null ? void 0 : t.const;
63
- if (((d = (s = a.value) == null ? void 0 : s.enum) == null ? void 0 : d.length) === 1)
64
- return a.value.enum[0];
65
- if ((f = a.value) != null && f.items) {
66
- if (B(a.value.items.const))
67
- return a.value.items.const;
68
- if (((v = a.value.items.enum) == null ? void 0 : v.length) === 1)
69
- return a.value.items.enum[0];
59
+ }, $ = B(() => {
60
+ var e, t, f, y, s, k;
61
+ if (p((e = l.value) == null ? void 0 : e.const))
62
+ return (t = l.value) == null ? void 0 : t.const;
63
+ if (((y = (f = l.value) == null ? void 0 : f.enum) == null ? void 0 : y.length) === 1)
64
+ return l.value.enum[0];
65
+ if ((s = l.value) != null && s.items) {
66
+ if (p(l.value.items.const))
67
+ return l.value.items.const;
68
+ if (((k = l.value.items.enum) == null ? void 0 : k.length) === 1)
69
+ return l.value.items.enum[0];
70
70
  }
71
71
  return null;
72
- }), F = N(() => {
73
- var e, t, s, d;
74
- return Array.isArray((e = a.value) == null ? void 0 : e.type) ? a.value.type.join(" | ") : (t = a.value) != null && t.title ? a.value.title : (s = a.value) != null && s.name ? a.value.name : ((d = a.value) == null ? void 0 : d.type) ?? "";
75
- }), g = (e, t) => e === "array" ? `${e} ${t}[]` : `${e} ${t}`, D = N(() => {
76
- var t, s, d;
77
- if (!((t = a.value) != null && t.type))
72
+ }), F = B(() => {
73
+ var e, t, f, y;
74
+ return Array.isArray((e = l.value) == null ? void 0 : e.type) ? l.value.type.join(" | ") : (t = l.value) != null && t.title ? l.value.title : (f = l.value) != null && f.name ? l.value.name : ((y = l.value) == null ? void 0 : y.type) ?? "";
75
+ }), b = (e, t) => e === "array" ? `${e} ${t}[]` : `${e} ${t}`, D = B(() => {
76
+ var t, f, y;
77
+ if (!((t = l.value) != null && t.type))
78
78
  return null;
79
- if (a.hideModelNames)
80
- return a.value.type === "array" && ((s = a.value.items) != null && s.type) ? `array ${a.value.items.type}[]` : null;
81
- const e = S(a.value);
79
+ if (l.hideModelNames)
80
+ return l.value.type === "array" && ((f = l.value.items) != null && f.type) ? `array ${l.value.items.type}[]` : null;
81
+ const e = S(l.value);
82
82
  if (e)
83
- return a.value.type === "array" ? `array ${e}[]` : e;
84
- if (a.value.type === "array" && ((d = a.value.items) != null && d.type)) {
85
- const f = R(a.value.items, a.schemas);
86
- if (f)
87
- return g(a.value.type, f);
88
- if (a.value.items.title || a.value.items.name)
89
- return g(
90
- a.value.type,
91
- a.value.items.title || a.value.items.name
83
+ return l.value.type === "array" ? `array ${e}[]` : e;
84
+ if (l.value.type === "array" && ((y = l.value.items) != null && y.type)) {
85
+ const s = R(l.value.items, l.schemas);
86
+ if (s)
87
+ return b(l.value.type, s);
88
+ if (l.value.items.title || l.value.items.name)
89
+ return b(
90
+ l.value.type,
91
+ l.value.items.title || l.value.items.name
92
92
  );
93
- const v = S(a.value.items) || a.value.items.type || "object";
94
- return g(a.value.type, v);
93
+ const k = S(l.value.items) || l.value.items.type || "object";
94
+ return b(l.value.type, k);
95
95
  }
96
96
  return null;
97
97
  });
98
98
  return (e, t) => {
99
- var s, d, f, v, j, q, w, P, V, I, A, C;
100
- return u(), n("div", W, [
101
- e.$slots.name ? (u(), n("div", {
99
+ var f, y, s, k, j, q, w, O, P, V, I, A;
100
+ return a(), n("div", W, [
101
+ e.$slots.name ? (a(), n("div", {
102
102
  key: 0,
103
- class: H(["property-name", { deprecated: (s = e.value) == null ? void 0 : s.deprecated }])
103
+ class: H(["property-name", { deprecated: (f = e.value) == null ? void 0 : f.deprecated }])
104
104
  }, [
105
- e.pattern ? (u(), n(k, { key: 1 }, [
106
- t[0] || (t[0] = l("/")),
107
- L(e.$slots, "name", {}, void 0, !0),
108
- t[1] || (t[1] = l("/"))
109
- ], 64)) : L(e.$slots, "name", { key: 0 }, void 0, !0)
105
+ e.pattern ? (a(), n(g, { key: 1 }, [
106
+ t[0] || (t[0] = u("/")),
107
+ E(e.$slots, "name", {}, void 0, !0),
108
+ t[1] || (t[1] = u("/"))
109
+ ], 64)) : E(e.$slots, "name", { key: 0 }, void 0, !0)
110
110
  ], 2)) : i("", !0),
111
- (d = e.value) != null && d.isDiscriminator ? (u(), n("div", G, " Discriminator ")) : i("", !0),
112
- e.value ? (u(), n(k, { key: 2 }, [
113
- (f = e.value) != null && f.type ? (u(), o(y, { key: 0 }, {
111
+ (y = e.value) != null && y.isDiscriminator ? (a(), n("div", G, " Discriminator ")) : i("", !0),
112
+ e.value ? (a(), n(g, { key: 2 }, [
113
+ (s = e.value) != null && s.type ? (a(), d(o, { key: 0 }, {
114
114
  default: r(() => {
115
- var E;
115
+ var C;
116
116
  return [
117
- p(M, null, {
117
+ N(M, null, {
118
118
  default: r(() => t[2] || (t[2] = [
119
- l("Type:")
119
+ u("Type:")
120
120
  ])),
121
121
  _: 1
122
122
  }),
123
- D.value ? (u(), n(k, { key: 0 }, [
124
- l(m(D.value), 1)
125
- ], 64)) : (u(), n(k, { key: 1 }, [
126
- l(m(F.value) + " " + m((E = e.value) != null && E.nullable ? " | nullable" : ""), 1)
123
+ D.value ? (a(), n(g, { key: 0 }, [
124
+ u(m(D.value), 1)
125
+ ], 64)) : (a(), n(g, { key: 1 }, [
126
+ u(m(F.value) + " " + m((C = e.value) != null && C.nullable ? " | nullable" : ""), 1)
127
127
  ], 64))
128
128
  ];
129
129
  }),
130
130
  _: 1
131
131
  })) : i("", !0),
132
- e.value.minItems || e.value.maxItems ? (u(), o(y, { key: 1 }, {
132
+ e.value.minItems || e.value.maxItems ? (a(), d(o, { key: 1 }, {
133
133
  default: r(() => [
134
- l(m(e.value.minItems) + "…" + m(e.value.maxItems), 1)
134
+ u(m(e.value.minItems) + "…" + m(e.value.maxItems), 1)
135
135
  ]),
136
136
  _: 1
137
137
  })) : i("", !0),
138
- e.value.minLength ? (u(), o(y, { key: 2 }, {
138
+ e.value.minLength ? (a(), d(o, { key: 2 }, {
139
139
  prefix: r(() => t[3] || (t[3] = [
140
- l("min:")
140
+ u("min:")
141
141
  ])),
142
142
  default: r(() => [
143
- l(" " + m(e.value.minLength), 1)
143
+ u(" " + m(e.value.minLength), 1)
144
144
  ]),
145
145
  _: 1
146
146
  })) : i("", !0),
147
- e.value.maxLength ? (u(), o(y, { key: 3 }, {
147
+ e.value.maxLength ? (a(), d(o, { key: 3 }, {
148
148
  prefix: r(() => t[4] || (t[4] = [
149
- l("max:")
149
+ u("max:")
150
150
  ])),
151
151
  default: r(() => [
152
- l(" " + m(e.value.maxLength), 1)
152
+ u(" " + m(e.value.maxLength), 1)
153
153
  ]),
154
154
  _: 1
155
155
  })) : i("", !0),
156
- e.value.uniqueItems ? (u(), o(y, { key: 4 }, {
156
+ e.value.uniqueItems ? (a(), d(o, { key: 4 }, {
157
157
  default: r(() => t[5] || (t[5] = [
158
- l(" unique! ")
158
+ u(" unique! ")
159
159
  ])),
160
160
  _: 1
161
161
  })) : i("", !0),
162
- e.value.format ? (u(), o(y, { key: 5 }, {
162
+ e.value.format ? (a(), d(o, { key: 5 }, {
163
163
  default: r(() => [
164
- p(M, null, {
164
+ N(M, null, {
165
165
  default: r(() => t[6] || (t[6] = [
166
- l("Format:")
166
+ u("Format:")
167
167
  ])),
168
168
  _: 1
169
169
  }),
170
- l(" " + m(e.value.format), 1)
170
+ u(" " + m(e.value.format), 1)
171
171
  ]),
172
172
  _: 1
173
173
  })) : i("", !0),
174
- e.value.minimum !== void 0 && e.value.exclusiveMinimum ? (u(), o(y, { key: 6 }, {
174
+ v(p)(e.value.minimum) && e.value.exclusiveMinimum ? (a(), d(o, { key: 6 }, {
175
175
  prefix: r(() => t[7] || (t[7] = [
176
- l("greater than:")
176
+ u("greater than:")
177
177
  ])),
178
178
  default: r(() => [
179
- l(" " + m(e.value.minimum), 1)
179
+ u(" " + m(e.value.minimum), 1)
180
180
  ]),
181
181
  _: 1
182
182
  })) : i("", !0),
183
- e.value.minimum !== void 0 && !e.value.exclusiveMinimum ? (u(), o(y, { key: 7 }, {
183
+ v(p)(e.value.minimum) && !e.value.exclusiveMinimum ? (a(), d(o, { key: 7 }, {
184
184
  prefix: r(() => t[8] || (t[8] = [
185
- l("min:")
185
+ u("min:")
186
186
  ])),
187
187
  default: r(() => [
188
- l(" " + m(e.value.minimum), 1)
188
+ u(" " + m(e.value.minimum), 1)
189
189
  ]),
190
190
  _: 1
191
191
  })) : i("", !0),
192
- e.value.maximum !== void 0 && e.value.exclusiveMaximum ? (u(), o(y, { key: 8 }, {
192
+ v(p)(e.value.maximum) && e.value.exclusiveMaximum ? (a(), d(o, { key: 8 }, {
193
193
  prefix: r(() => t[9] || (t[9] = [
194
- l("less than:")
194
+ u("less than:")
195
195
  ])),
196
196
  default: r(() => [
197
- l(" " + m(e.value.maximum), 1)
197
+ u(" " + m(e.value.maximum), 1)
198
198
  ]),
199
199
  _: 1
200
200
  })) : i("", !0),
201
- e.value.maximum !== void 0 && !e.value.exclusiveMaximum ? (u(), o(y, { key: 9 }, {
201
+ v(p)(e.value.maximum) && !e.value.exclusiveMaximum ? (a(), d(o, { key: 9 }, {
202
202
  prefix: r(() => t[10] || (t[10] = [
203
- l("max:")
203
+ u("max:")
204
204
  ])),
205
205
  default: r(() => [
206
- l(" " + m(e.value.maximum), 1)
206
+ u(" " + m(e.value.maximum), 1)
207
207
  ]),
208
208
  _: 1
209
209
  })) : i("", !0),
210
- e.value.pattern ? (u(), o(y, {
211
- key: 10,
210
+ v(p)(e.value.multipleOf) ? (a(), d(o, { key: 10 }, {
211
+ prefix: r(() => t[11] || (t[11] = [
212
+ u("multiple of:")
213
+ ])),
214
+ default: r(() => [
215
+ u(" " + m(e.value.multipleOf), 1)
216
+ ]),
217
+ _: 1
218
+ })) : i("", !0),
219
+ e.value.pattern ? (a(), d(o, {
220
+ key: 11,
212
221
  code: "",
213
222
  truncate: ""
214
223
  }, {
215
224
  default: r(() => [
216
- p(M, null, {
217
- default: r(() => t[11] || (t[11] = [
218
- l("Pattern:")
225
+ N(M, null, {
226
+ default: r(() => t[12] || (t[12] = [
227
+ u("Pattern:")
219
228
  ])),
220
229
  _: 1
221
230
  }),
222
- l(" " + m(e.value.pattern), 1)
231
+ u(" " + m(e.value.pattern), 1)
223
232
  ]),
224
233
  _: 1
225
234
  })) : i("", !0),
226
- e.$props.enum ? (u(), o(y, { key: 11 }, {
227
- default: r(() => t[12] || (t[12] = [
228
- l("enum")
235
+ e.$props.enum ? (a(), d(o, { key: 12 }, {
236
+ default: r(() => t[13] || (t[13] = [
237
+ u("enum")
229
238
  ])),
230
239
  _: 1
231
240
  })) : i("", !0),
232
- e.value.default !== void 0 ? (u(), o(y, {
233
- key: 12,
241
+ e.value.default !== void 0 ? (a(), d(o, {
242
+ key: 13,
234
243
  truncate: ""
235
244
  }, {
236
- prefix: r(() => t[13] || (t[13] = [
237
- l("default:")
245
+ prefix: r(() => t[14] || (t[14] = [
246
+ u("default:")
238
247
  ])),
239
248
  default: r(() => [
240
- l(" " + m(T(e.value)), 1)
249
+ u(" " + m(T(e.value)), 1)
241
250
  ]),
242
251
  _: 1
243
252
  })) : i("", !0)
244
253
  ], 64)) : i("", !0),
245
- e.additional ? (u(), n("div", K, [
246
- (v = e.value) != null && v["x-additionalPropertiesName"] ? (u(), n(k, { key: 0 }, [
247
- l(m(e.value["x-additionalPropertiesName"]), 1)
248
- ], 64)) : (u(), n(k, { key: 1 }, [
249
- l("additional properties")
254
+ e.additional ? (a(), n("div", K, [
255
+ (k = e.value) != null && k["x-additionalPropertiesName"] ? (a(), n(g, { key: 0 }, [
256
+ u(m(e.value["x-additionalPropertiesName"]), 1)
257
+ ], 64)) : (a(), n(g, { key: 1 }, [
258
+ u("additional properties")
250
259
  ], 64))
251
260
  ])) : i("", !0),
252
- e.pattern ? (u(), n("div", Q, [
253
- p(b(O), null, {
254
- default: r(() => t[14] || (t[14] = [
255
- l("pattern")
261
+ e.pattern ? (a(), n("div", Q, [
262
+ N(v(L), null, {
263
+ default: r(() => t[15] || (t[15] = [
264
+ u("pattern")
256
265
  ])),
257
266
  _: 1
258
267
  })
259
268
  ])) : i("", !0),
260
- (j = e.value) != null && j.deprecated ? (u(), n("div", U, [
261
- p(b(O), null, {
262
- default: r(() => t[15] || (t[15] = [
263
- l("deprecated")
269
+ (j = e.value) != null && j.deprecated ? (a(), n("div", U, [
270
+ N(v(L), null, {
271
+ default: r(() => t[16] || (t[16] = [
272
+ u("deprecated")
264
273
  ])),
265
274
  _: 1
266
275
  })
267
276
  ])) : i("", !0),
268
- b(B)($.value) ? (u(), n("div", X, [
269
- p(y, { truncate: "" }, {
270
- prefix: r(() => t[16] || (t[16] = [
271
- l("const:")
277
+ v(p)($.value) ? (a(), n("div", X, [
278
+ N(o, { truncate: "" }, {
279
+ prefix: r(() => t[17] || (t[17] = [
280
+ u("const:")
272
281
  ])),
273
282
  default: r(() => [
274
- l(" " + m($.value), 1)
283
+ u(" " + m($.value), 1)
275
284
  ]),
276
285
  _: 1
277
286
  })
278
- ])) : (u(), n(k, { key: 7 }, [
279
- ((q = e.value) == null ? void 0 : q.nullable) === !0 ? (u(), o(y, { key: 0 }, {
280
- default: r(() => t[17] || (t[17] = [
281
- l(" nullable ")
287
+ ])) : (a(), n(g, { key: 7 }, [
288
+ ((q = e.value) == null ? void 0 : q.nullable) === !0 ? (a(), d(o, { key: 0 }, {
289
+ default: r(() => t[18] || (t[18] = [
290
+ u(" nullable ")
282
291
  ])),
283
292
  _: 1
284
293
  })) : i("", !0)
285
294
  ], 64)),
286
- (w = e.value) != null && w.writeOnly ? (u(), n("div", Y, " write-only ")) : (P = e.value) != null && P.readOnly ? (u(), n("div", Z, " read-only ")) : i("", !0),
287
- e.required ? (u(), n("div", h, " required ")) : i("", !0),
288
- e.withExamples ? (u(), o(J, {
295
+ (w = e.value) != null && w.writeOnly ? (a(), n("div", Y, " write-only ")) : (O = e.value) != null && O.readOnly ? (a(), n("div", Z, " read-only ")) : i("", !0),
296
+ e.required ? (a(), n("div", h, " required ")) : i("", !0),
297
+ e.withExamples ? (a(), d(J, {
289
298
  key: 11,
290
- examples: (V = e.value) == null ? void 0 : V.examples,
291
- example: ((I = e.value) == null ? void 0 : I.example) || ((C = (A = e.value) == null ? void 0 : A.items) == null ? void 0 : C.example)
299
+ examples: (P = e.value) == null ? void 0 : P.examples,
300
+ example: ((V = e.value) == null ? void 0 : V.example) || ((A = (I = e.value) == null ? void 0 : I.items) == null ? void 0 : A.example)
292
301
  }, null, 8, ["examples", "example"])) : i("", !0)
293
302
  ]);
294
303
  };
295
304
  }
296
305
  });
297
306
  export {
298
- ue as default
307
+ ae as default
299
308
  };
@@ -1 +1 @@
1
- {"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue"],"names":[],"mappings":"AA+cA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,OAAO,CAAA;CACf,CAAC;;;YAIwC,OAAO;eAAS,MAAM;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;AA6QhE,wBAQG"}
1
+ {"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue"],"names":[],"mappings":"AA4cA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,OAAO,CAAA;CACf,CAAC;;;YAIwC,OAAO;eAAS,MAAM;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;AA6QhE,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./GettingStarted.vue2.js";
2
2
  /* empty css */
3
- import o from "../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-0f473adb"]]);
3
+ import a from "../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-0aca3a20"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as b, createElementBlock as o, openBlock as d, createElementVNode as e, createStaticVNode as r, createVNode as i, unref as l, withCtx as n, createTextVNode as p, Fragment as u, renderList as w, normalizeClass as y, toDisplayString as A } from "vue";
2
- import { ScalarButton as c } from "@scalar/components";
3
- import { themeLabels as f } from "@scalar/themes";
4
- const C = { class: "start custom-scroll" }, S = { class: "start-copy" }, x = { class: "start-cta" }, k = { class: "start-row" }, Z = { class: "start-section start-section-colors" }, E = ["onClick"], P = /* @__PURE__ */ b({
1
+ import { defineComponent as f, createElementBlock as o, openBlock as i, createElementVNode as e, createStaticVNode as r, createVNode as c, unref as l, withCtx as n, createTextVNode as d, Fragment as w, renderList as y, normalizeClass as A, toDisplayString as C } from "vue";
2
+ import { ScalarButton as p } from "@scalar/components";
3
+ import { themeLabels as v } from "@scalar/themes";
4
+ const S = { class: "start custom-scroll" }, x = { class: "start-copy" }, b = { class: "start-cta" }, k = { class: "start-row" }, Z = { class: "start-section start-section-colors" }, E = ["onClick"], P = /* @__PURE__ */ f({
5
5
  __name: "GettingStarted",
6
6
  props: {
7
7
  theme: {}
8
8
  },
9
9
  emits: ["changeTheme", "loadSwaggerFile", "linkSwaggerFile", "updateContent"],
10
- setup(F, { emit: v }) {
11
- const g = v, m = [
10
+ setup(F, { emit: g }) {
11
+ const m = g, h = [
12
12
  "default",
13
13
  "alternate",
14
14
  "moon",
@@ -20,49 +20,49 @@ const C = { class: "start custom-scroll" }, S = { class: "start-copy" }, x = { c
20
20
  "mars",
21
21
  "deepSpace"
22
22
  ];
23
- async function h() {
23
+ async function u() {
24
24
  const s = await fetch(
25
25
  "https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml"
26
26
  );
27
- g("updateContent", await s.text());
27
+ m("updateContent", await s.text());
28
28
  }
29
- return (s, a) => (d(), o("div", C, [
30
- e("div", S, [
31
- a[3] || (a[3] = r('<div class="start-logo" data-v-0f473adb><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-0f473adb></path></svg></div><h1 class="start-h1" data-v-0f473adb>Swagger Editor</h1><p class="start-p" data-v-0f473adb> Welcome to the Scalar API References + Swagger Editor, a Free &amp; Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3)),
32
- e("div", x, [
33
- i(l(c), {
29
+ return (s, a) => (i(), o("div", S, [
30
+ e("div", x, [
31
+ a[3] || (a[3] = r('<div class="start-logo" data-v-0aca3a20><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-0aca3a20><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-0aca3a20></path></svg></div><h1 class="start-h1" data-v-0aca3a20>Swagger Editor</h1><p class="start-p" data-v-0aca3a20> Welcome to the Scalar API References + Swagger Editor, a Free &amp; Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3)),
32
+ e("div", b, [
33
+ c(l(p), {
34
34
  fullWidth: "",
35
- onClick: h
35
+ onClick: u
36
36
  }, {
37
37
  default: n(() => a[1] || (a[1] = [
38
- p(" Show Example ")
38
+ d(" Show Example ")
39
39
  ])),
40
40
  _: 1
41
41
  }),
42
- i(l(c), {
42
+ c(l(p), {
43
43
  fullWidth: "",
44
44
  variant: "outlined",
45
45
  onClick: a[0] || (a[0] = (t) => s.$emit("loadSwaggerFile"))
46
46
  }, {
47
47
  default: n(() => a[2] || (a[2] = [
48
- p(" Upload File ")
48
+ d(" Upload File ")
49
49
  ])),
50
50
  _: 1
51
51
  })
52
52
  ])
53
53
  ]),
54
54
  e("div", k, [
55
- a[5] || (a[5] = r('<div class="start-section start-section-integrations" data-v-0f473adb><div class="start-h2" data-v-0f473adb>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/integrations/fastify#readme" target="_blank" data-v-0f473adb><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-0f473adb></path></svg><span data-v-0f473adb>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/documentation/integrations/html-js.md#html" target="_blank" data-v-0f473adb><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><g data-v-0f473adb><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-0f473adb></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-0f473adb></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-0f473adb></path></g></svg><span data-v-0f473adb>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/packages/api-reference/README.md#vuejs" target="_blank" data-v-0f473adb><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><g fill="currentColor" fill-rule="nonzero" data-v-0f473adb><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-0f473adb></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-0f473adb></polygon></g></svg><span data-v-0f473adb>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/packages/api-reference-react/README.md#usage" target="_blank" data-v-0f473adb><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-0f473adb><g fill="none" fill-rule="evenodd" data-v-0f473adb><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-0f473adb></circle><g stroke="currentColor" data-v-0f473adb><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-0f473adb></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-0f473adb></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-0f473adb></ellipse></g></g></svg><span data-v-0f473adb>React</span></a></div>', 1)),
55
+ a[5] || (a[5] = r('<div class="start-section start-section-integrations" data-v-0aca3a20><div class="start-h2" data-v-0aca3a20>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/integrations/fastify#readme" target="_blank" data-v-0aca3a20><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-0aca3a20><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-0aca3a20></path></svg><span data-v-0aca3a20>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/documentation/integrations/html-js.md#html" target="_blank" data-v-0aca3a20><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-0aca3a20><g data-v-0aca3a20><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-0aca3a20></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-0aca3a20></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-0aca3a20></path></g></svg><span data-v-0aca3a20>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/packages/api-reference/README.md#vuejs" target="_blank" data-v-0aca3a20><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-0aca3a20><g fill="currentColor" fill-rule="nonzero" data-v-0aca3a20><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-0aca3a20></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-0aca3a20></polygon></g></svg><span data-v-0aca3a20>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/packages/api-reference-react/README.md#usage" target="_blank" data-v-0aca3a20><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-0aca3a20><g fill="none" fill-rule="evenodd" data-v-0aca3a20><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-0aca3a20></circle><g stroke="currentColor" data-v-0aca3a20><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-0aca3a20></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-0aca3a20></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-0aca3a20></ellipse></g></g></svg><span data-v-0aca3a20>React</span></a></div>', 1)),
56
56
  e("div", Z, [
57
57
  a[4] || (a[4] = e("p", { class: "start-h2" }, "THEMING", -1)),
58
- (d(), o(u, null, w(m, (t) => e("div", {
58
+ (i(), o(w, null, y(h, (t) => e("div", {
59
59
  key: t,
60
- class: y(["start-item", { "start-item-active": t === s.theme }]),
61
- onClick: (B) => s.$emit("changeTheme", { id: t, label: l(f)[t] })
62
- }, A(l(f)[t]), 11, E)), 64))
60
+ class: A(["start-item", { "start-item-active": t === s.theme }]),
61
+ onClick: (B) => s.$emit("changeTheme", { id: t, label: l(v)[t] })
62
+ }, C(l(v)[t]), 11, E)), 64))
63
63
  ])
64
64
  ]),
65
- a[6] || (a[6] = r('<p class="start-h1" data-v-0f473adb>Features</p><ul class="start-ul" data-v-0f473adb><li data-v-0f473adb><p class="start-h3" data-v-0f473adb>Customize</p> Bring your typography &amp; color palettes, or use our themes! </li><li data-v-0f473adb><p class="start-h3" data-v-0f473adb>Testing</p> A deeply integrated Rest API Client (Also Free &amp; Open-Source) </li><li data-v-0f473adb><p class="start-h3" data-v-0f473adb>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-0f473adb><p class="start-h3" data-v-0f473adb>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-0f473adb><p class="start-h3" data-v-0f473adb>OpenAPI &amp; Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-0f473adb><p class="start-h3" data-v-0f473adb>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2))
65
+ a[6] || (a[6] = r('<p class="start-h1" data-v-0aca3a20>Features</p><ul class="start-ul" data-v-0aca3a20><li data-v-0aca3a20><p class="start-h3" data-v-0aca3a20>Customize</p> Bring your typography &amp; color palettes, or use our themes! </li><li data-v-0aca3a20><p class="start-h3" data-v-0aca3a20>Testing</p> A deeply integrated Rest API Client (Also Free &amp; Open-Source) </li><li data-v-0aca3a20><p class="start-h3" data-v-0aca3a20>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-0aca3a20><p class="start-h3" data-v-0aca3a20>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-0aca3a20><p class="start-h3" data-v-0aca3a20>OpenAPI &amp; Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-0aca3a20><p class="start-h3" data-v-0aca3a20>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2))
66
66
  ]));
67
67
  }
68
68
  });
package/dist/index.d.ts CHANGED
@@ -1,13 +1,10 @@
1
1
  export { default as ApiReference } from './components/ApiReference.vue.js';
2
- export { default as SingleApiReference } from './components/SingleApiReference.vue.js';
3
2
  export { default as ApiReferenceLayout } from './components/ApiReferenceLayout.vue.js';
4
- export { default as ModernLayout } from './components/Layouts/ModernLayout.vue.js';
5
3
  export { SearchButton, SearchModal } from './features/Search';
6
4
  export { default as GettingStarted } from './components/GettingStarted.vue.js';
7
5
  export { createApiReference } from './standalone/lib/html-api.js';
8
6
  export { Sidebar } from './components/Sidebar';
9
7
  export { Card, CardHeader, CardContent, CardFooter, CardTabHeader, CardTab } from './components/Card';
10
- export { Layouts } from './components/Layouts';
11
8
  export { parse } from './helpers/parse.js';
12
9
  export { createEmptySpecification } from './libs/openapi.js';
13
10
  export { useNavState } from './hooks/useNavState.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE7D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAE3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AACrG,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAG9C,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAChE,YAAY,EACV,yBAAyB,EACzB,cAAc,GACf,MAAM,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACnF,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE7D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAE3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAGrG,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAChE,YAAY,EACV,yBAAyB,EACzB,cAAc,GACf,MAAM,SAAS,CAAA"}