@scalar/api-reference 1.25.6 → 1.25.9

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 (122) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/dist/browser/standalone.js +10872 -11312
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiClientModal.vue.js +5 -5
  5. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  6. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  7. package/dist/components/ApiReferenceLayout.vue2.js +56 -53
  8. package/dist/components/Content/Authentication/Authentication.vue.js +1 -1
  9. package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -1
  10. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
  12. package/dist/components/Content/Introduction/Introduction.vue2.js +9 -9
  13. package/dist/components/Content/Models/Models.vue.d.ts +1 -1
  14. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  15. package/dist/components/Content/Models/Models.vue.js +1 -1
  16. package/dist/components/Content/Models/Models.vue2.js +65 -42
  17. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +1 -1
  18. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
  19. package/dist/components/Content/Models/ModelsAccordion.vue.js +1 -1
  20. package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Operation/Operation.vue.js +2 -2
  22. package/dist/components/Content/Operation/Operation.vue2.js +46 -59
  23. package/dist/components/Content/Schema/Schema.vue.d.ts +1 -1
  24. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  25. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  26. package/dist/components/Content/Schema/Schema.vue2.js +18 -18
  27. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +1 -1
  28. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  29. package/dist/components/Content/Schema/SchemaHeading.vue.js +2 -2
  30. package/dist/components/Content/Schema/SchemaHeading.vue2.js +14 -14
  31. package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
  32. package/dist/components/Content/Webhooks/Webhook.vue.js +5 -33
  33. package/dist/components/Content/Webhooks/Webhook.vue2.js +37 -2
  34. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Webhooks/Webhooks.vue.js +2 -2
  36. package/dist/components/Content/Webhooks/Webhooks.vue2.js +93 -62
  37. package/dist/components/Section/CompactSection.vue.d.ts +28 -0
  38. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -0
  39. package/dist/components/Section/CompactSection.vue.js +7 -0
  40. package/dist/components/Section/CompactSection.vue2.js +59 -0
  41. package/dist/components/Section/index.d.ts +1 -0
  42. package/dist/components/Section/index.d.ts.map +1 -1
  43. package/dist/{components/Content/Models/CollapsedModel.vue.d.ts → embeds/ExampleRequest/ExampleRequest.vue.d.ts} +9 -5
  44. package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -0
  45. package/dist/embeds/ExampleRequest/index.d.ts +2 -0
  46. package/dist/embeds/ExampleRequest/index.d.ts.map +1 -0
  47. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +508 -0
  48. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -0
  49. package/dist/embeds/OpenApiDocument/index.d.ts +3 -0
  50. package/dist/embeds/OpenApiDocument/index.d.ts.map +1 -0
  51. package/dist/embeds/OpenApiDocument/types.d.ts +3 -0
  52. package/dist/embeds/OpenApiDocument/types.d.ts.map +1 -0
  53. package/dist/embeds/index.d.ts +3 -0
  54. package/dist/embeds/index.d.ts.map +1 -0
  55. package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
  56. package/dist/features/BaseUrl/BaseUrl.vue.js +24 -74
  57. package/dist/features/BaseUrl/types.d.ts +1 -1
  58. package/dist/features/BaseUrl/types.d.ts.map +1 -1
  59. package/dist/features/BaseUrl/utils/getServers.d.ts +3 -2
  60. package/dist/features/BaseUrl/utils/getServers.d.ts.map +1 -1
  61. package/dist/{components/Content/Introduction/DownloadSpec.vue.d.ts → features/DownloadLink/DownloadLink.vue.d.ts} +1 -1
  62. package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -0
  63. package/dist/features/DownloadLink/DownloadLink.vue.js +7 -0
  64. package/dist/features/DownloadLink/DownloadLink.vue2.js +36 -0
  65. package/dist/features/DownloadLink/index.d.ts +2 -0
  66. package/dist/features/DownloadLink/index.d.ts.map +1 -0
  67. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +1 -3
  68. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  69. package/dist/features/ExampleRequest/ExampleRequest.vue.js +2 -2
  70. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +127 -122
  71. package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
  72. package/dist/features/Search/SearchModal.vue.js +3 -3
  73. package/dist/features/Search/SearchModal.vue2.js +63 -58
  74. package/dist/helpers/createEmptySpecification.d.ts +1 -1
  75. package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
  76. package/dist/helpers/getApiClientRequest.d.ts +1 -1
  77. package/dist/helpers/getApiClientRequest.d.ts.map +1 -1
  78. package/dist/helpers/getHarRequest.d.ts.map +1 -1
  79. package/dist/helpers/getHarRequest.js +8 -15
  80. package/dist/helpers/getModels.d.ts +1 -1
  81. package/dist/helpers/getModels.d.ts.map +1 -1
  82. package/dist/helpers/openClientFor.d.ts +1 -1
  83. package/dist/helpers/openClientFor.d.ts.map +1 -1
  84. package/dist/helpers/openClientFor.js +5 -5
  85. package/dist/helpers/parse.d.ts.map +1 -1
  86. package/dist/helpers/provideSymbols.d.ts +3 -2
  87. package/dist/helpers/provideSymbols.d.ts.map +1 -1
  88. package/dist/helpers/provideSymbols.js +3 -2
  89. package/dist/index.js +65 -64
  90. package/dist/legacy/components/SecurityScheme.vue.d.ts +1 -1
  91. package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -1
  92. package/dist/legacy/components/SecurityScheme.vue.js +2 -2
  93. package/dist/legacy/components/SecurityScheme.vue2.js +57 -53
  94. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +1 -1
  95. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
  96. package/dist/legacy/components/SecuritySchemeSelector.vue.js +4 -4
  97. package/dist/legacy/components/SecuritySchemeSelector.vue2.js +5 -5
  98. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts +1 -1
  99. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts.map +1 -1
  100. package/dist/legacy/helpers/getUrlFromServerState.d.ts +1 -1
  101. package/dist/legacy/helpers/getUrlFromServerState.d.ts.map +1 -1
  102. package/dist/legacy/helpers/index.d.ts +1 -1
  103. package/dist/legacy/helpers/normalizeHeaders.d.ts +2 -3
  104. package/dist/legacy/helpers/normalizeHeaders.d.ts.map +1 -1
  105. package/dist/legacy/helpers/normalizeHeaders.js +24 -0
  106. package/dist/legacy/stores/useOpenApiStore.d.ts +2 -2
  107. package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
  108. package/dist/legacy/stores/useServerStore.d.ts +32 -6
  109. package/dist/legacy/stores/useServerStore.d.ts.map +1 -1
  110. package/dist/legacy/stores/useServerStore.js +70 -11
  111. package/dist/legacy/types.d.ts +0 -23
  112. package/dist/legacy/types.d.ts.map +1 -1
  113. package/dist/style.css +1 -1
  114. package/package.json +13 -12
  115. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts.map +0 -1
  116. package/dist/components/Content/Introduction/DownloadSpec.vue.js +0 -7
  117. package/dist/components/Content/Introduction/DownloadSpec.vue2.js +0 -30
  118. package/dist/components/Content/Models/CollapsedModel.vue.d.ts.map +0 -1
  119. package/dist/components/Content/Models/CollapsedModel.vue.js +0 -7
  120. package/dist/components/Content/Models/CollapsedModel.vue2.js +0 -70
  121. package/dist/features/BaseUrl/utils/index.d.ts +0 -2
  122. package/dist/features/BaseUrl/utils/index.d.ts.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as S, ref as l, onMounted as U, watch as _, onBeforeUnmount as h, openBlock as x, createElementBlock as y } from "vue";
2
2
  import { modalStateBus as B, apiClientBus as A } from "./api-client-bus.js";
3
- import { getUrlFromServerState as C } from "../legacy/helpers/getUrlFromServerState.js";
4
- import { useAuthenticationStore as k } from "../legacy/stores/useAuthenticationStore.js";
5
- import { useServerStore as M } from "../legacy/stores/useServerStore.js";
3
+ import { useServerStore as C } from "../legacy/stores/useServerStore.js";
4
+ import { getUrlFromServerState as k } from "../legacy/helpers/getUrlFromServerState.js";
5
+ import { useAuthenticationStore as M } from "../legacy/stores/useAuthenticationStore.js";
6
6
  const b = /* @__PURE__ */ S({
7
7
  __name: "ApiClientModal",
8
8
  props: {
@@ -11,7 +11,7 @@ const b = /* @__PURE__ */ S({
11
11
  servers: {}
12
12
  },
13
13
  setup(u) {
14
- const t = u, o = l(null), p = l(null), { authentication: c } = k(), { server: i } = M();
14
+ const t = u, o = l(null), p = l(null), { authentication: c } = M(), { server: i } = C();
15
15
  return U(async () => {
16
16
  if (!o.value) return;
17
17
  const { createApiClientModal: r } = await import("@scalar/api-client"), { app: n, open: m, updateAuth: f, updateServerUrl: d, modalState: v, updateSpec: a } = await r(o.value, {
@@ -22,7 +22,7 @@ const b = /* @__PURE__ */ S({
22
22
  B.emit(v), A.on((e) => {
23
23
  if (e.open) {
24
24
  f(c);
25
- const s = C(i);
25
+ const s = k(i);
26
26
  s && d(s), m(e.open);
27
27
  }
28
28
  e.updateSpec && a(e.updateSpec);
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AAyiBA,OAAO,EACL,KAAK,OAAO,EAGb,MAAM,gBAAgB,CAAA;AAwB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AC,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 c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bc7f6cf0"]]);
5
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-eff14df5"]]);
6
6
  export {
7
- c as default
7
+ m as default
8
8
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as _, ref as b, onMounted as B, computed as v, onBeforeMount as D, watch as x, onServerPrefetch as ee, useSSRContext as oe, getCurrentInstance as te, provide as F, openBlock as S, createElementBlock as h, Fragment as M, createElementVNode as i, normalizeClass as re, unref as u, normalizeStyle as ae, renderSlot as l, normalizeProps as d, guardReactiveProps as c, createVNode as f, withCtx as g, createCommentVNode as w, withDirectives as se, vShow as ne, createSlots as ie } from "vue";
1
+ import { defineComponent as _, ref as b, onMounted as D, computed as v, onBeforeMount as M, watch as x, onServerPrefetch as ee, useSSRContext as oe, getCurrentInstance as te, provide as w, openBlock as S, createElementBlock as h, Fragment as P, createElementVNode as i, normalizeClass as re, unref as u, normalizeStyle as ae, renderSlot as l, normalizeProps as d, guardReactiveProps as c, createVNode as f, withCtx as g, createCommentVNode as y, withDirectives as se, vShow as ne, createSlots as ie } from "vue";
2
2
  import { provideUseId as le } from "@headlessui/vue";
3
3
  import { addScalarClassesToHeadless as de } from "@scalar/components";
4
- import { defaultStateFactory as P } from "@scalar/oas-utils/helpers";
4
+ import { defaultStateFactory as U } from "@scalar/oas-utils/helpers";
5
5
  import { hasObtrusiveScrollbars as ce, getThemeStyles as ue } from "@scalar/themes";
6
6
  import { useToasts as pe, ScalarToasts as fe } from "@scalar/use-toasts";
7
7
  import { useMediaQuery as ge, useResizeObserver as me, useDebounceFn as ve } from "@vueuse/core";
@@ -12,17 +12,17 @@ import { downloadSpecBus as be, downloadSpecFile as we } from "../helpers/specDo
12
12
  import { useDeprecationWarnings as ye } from "../hooks/useDeprecationWarnings.js";
13
13
  import Te from "./Sidebar/Sidebar.vue.js";
14
14
  import Re from "./Content/Content.vue.js";
15
- import { useSidebar as $e } from "../hooks/useSidebar.js";
16
- import { GLOBAL_SECURITY_SYMBOL as Ce, HIDE_DOWNLOAD_BUTTON_SYMBOL as Le } from "../helpers/provideSymbols.js";
17
- import { useNavState as Oe } from "../hooks/useNavState.js";
18
- import { sleep as Ee } from "../helpers/sleep.js";
19
- const Ie = ["innerHTML"], ke = { class: "references-header" }, Be = {
15
+ import { useSidebar as Ce } from "../hooks/useSidebar.js";
16
+ import { GLOBAL_SECURITY_SYMBOL as $e, HIDE_DOWNLOAD_BUTTON_SYMBOL as Oe, OPENAPI_DOCUMENT_URL_SYMBOL as Le } from "../helpers/provideSymbols.js";
17
+ import { useNavState as Ee } from "../hooks/useNavState.js";
18
+ import { sleep as Ie } from "../helpers/sleep.js";
19
+ const ke = ["innerHTML"], Be = { class: "references-header" }, De = {
20
20
  key: 0,
21
21
  class: "references-navigation t-doc__sidebar"
22
- }, De = { class: "references-navigation-list" }, Fe = { class: "references-editor" }, Me = { class: "references-editor-textarea" }, Pe = { class: "references-rendered" }, Ue = {
22
+ }, Me = { class: "references-navigation-list" }, Pe = { class: "references-editor" }, Ue = { class: "references-editor-textarea" }, Fe = { class: "references-rendered" }, Ae = {
23
23
  key: 0,
24
24
  class: "references-footer"
25
- }, oo = /* @__PURE__ */ _({
25
+ }, to = /* @__PURE__ */ _({
26
26
  inheritAttrs: !1,
27
27
  __name: "ApiReferenceLayout",
28
28
  props: {
@@ -31,53 +31,53 @@ const Ie = ["innerHTML"], ke = { class: "references-header" }, Be = {
31
31
  rawSpec: {}
32
32
  },
33
33
  emits: ["changeTheme", "updateContent", "loadSwaggerFile", "linkSwaggerFile", "toggleDarkMode"],
34
- setup(U) {
35
- const t = U, { initializeToasts: A, toast: H } = pe();
36
- A((e) => H(e));
37
- const N = ge("(min-width: 1150px)"), z = b("100dvh"), p = b(null);
34
+ setup(F) {
35
+ const t = F, { initializeToasts: A, toast: N } = pe();
36
+ A((e) => N(e));
37
+ const H = ge("(min-width: 1150px)"), z = b("100dvh"), p = b(null);
38
38
  me(p, (e) => {
39
39
  z.value = e[0].contentRect.height + "px";
40
40
  });
41
- const y = b(0);
42
- B(() => {
41
+ const T = b(0);
42
+ D(() => {
43
43
  var a, r, s;
44
44
  const e = (r = (a = p.value) == null ? void 0 : a.parentElement) == null ? void 0 : r.getBoundingClientRect(), o = (s = p.value) == null ? void 0 : s.getBoundingClientRect();
45
45
  if (e && o) {
46
- const k = o.top - e.top;
47
- y.value = k < 2 ? 0 : k;
46
+ const B = o.top - e.top;
47
+ T.value = B < 2 ? 0 : B;
48
48
  }
49
49
  });
50
50
  const Y = v(ce), {
51
51
  breadcrumb: V,
52
52
  collapsedSidebarItems: m,
53
53
  isSidebarOpen: G,
54
- setCollapsedSidebarItem: T,
54
+ setCollapsedSidebarItem: R,
55
55
  hideModels: W,
56
56
  defaultOpenAllTags: j,
57
57
  setParsedSpec: K,
58
58
  scrollToOperation: Q
59
- } = $e(), {
60
- getPathRoutingId: R,
59
+ } = Ce(), {
60
+ getPathRoutingId: C,
61
61
  getSectionId: q,
62
62
  getTagId: J,
63
63
  hash: $,
64
- isIntersectionEnabled: C,
64
+ isIntersectionEnabled: O,
65
65
  pathRouting: L,
66
- updateHash: O
67
- } = Oe();
68
- L.value = t.configuration.pathRouting, D(() => O());
69
- const E = async (e) => {
66
+ updateHash: E
67
+ } = Ee();
68
+ L.value = t.configuration.pathRouting, M(() => E());
69
+ const I = async (e) => {
70
70
  var o;
71
- C.value = !1, O(), e ? Q(e) : (o = p.value) == null || o.scrollTo(0, 0), await Ee(100), C.value = !0;
71
+ O.value = !1, E(), e ? Q(e) : (o = p.value) == null || o.scrollTo(0, 0), await Ie(100), O.value = !0;
72
72
  };
73
- D(() => de()), B(() => {
73
+ M(() => de()), D(() => {
74
74
  be.on(({ specTitle: e }) => {
75
75
  we(t.rawSpec, e);
76
- }), window.onhashchange = () => E(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => L.value && E(R(window.location.pathname));
76
+ }), window.onhashchange = () => I(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => L.value && I(C(window.location.pathname));
77
77
  });
78
78
  const X = v(
79
- () => N.value || !t.configuration.isEditable
80
- ), I = ve((e) => {
79
+ () => H.value || !t.configuration.isEditable
80
+ ), k = ve((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), $.value = "";
@@ -89,16 +89,16 @@ const Ie = ["innerHTML"], ke = { class: "references-header" }, Be = {
89
89
  x(() => t.parsedSpec, K, { deep: !0 }), ee(() => {
90
90
  var o, a;
91
91
  const e = oe();
92
- if (e && (e.payload || (e.payload = { data: P() }), (o = e.payload).data || (o.data = P()), t.configuration.pathRouting)) {
93
- const r = R(e.url);
92
+ if (e && (e.payload || (e.payload = { data: U() }), (o = e.payload).data || (o.data = U()), t.configuration.pathRouting)) {
93
+ const r = C(e.url);
94
94
  $.value = r, e.payload.data.hash = r;
95
95
  for (const s in m)
96
96
  Object.hasOwn(m, s) && delete m[s];
97
97
  if (r)
98
- T(q(r), !0);
98
+ R(q(r), !0);
99
99
  else {
100
100
  const s = (a = t.parsedSpec.tags) == null ? void 0 : a[0];
101
- s && T(J(s), !0);
101
+ s && R(J(s), !0);
102
102
  }
103
103
  e.payload.data["useSidebarContent-collapsedSidebarItems"] = m;
104
104
  }
@@ -108,10 +108,13 @@ const Ie = ["innerHTML"], ke = { class: "references-header" }, Be = {
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
- }), F(Ce, () => t.parsedSpec.security), F(
112
- Le,
111
+ }), w($e, () => t.parsedSpec.security), w(
112
+ Oe,
113
113
  () => t.configuration.hideDownloadButton
114
- ), W.value = t.configuration.hideModels ?? !1, j.value = t.configuration.defaultOpenAllTags ?? !1, ye(t.configuration);
114
+ ), w(Le, () => {
115
+ var e;
116
+ return (e = t.configuration.spec) == null ? void 0 : e.url;
117
+ }), W.value = t.configuration.hideModels ?? !1, j.value = t.configuration.defaultOpenAllTags ?? !1, ye(t.configuration);
115
118
  const Z = v(
116
119
  () => `<style>
117
120
  ${ue(t.configuration.theme, {
@@ -120,8 +123,8 @@ const Ie = ["innerHTML"], ke = { class: "references-header" }, Be = {
120
123
  );
121
124
  return (e, o) => {
122
125
  var a;
123
- return S(), h(M, null, [
124
- i("div", { innerHTML: Z.value }, null, 8, Ie),
126
+ return S(), h(P, null, [
127
+ i("div", { innerHTML: Z.value }, null, 8, ke),
125
128
  i("div", {
126
129
  ref_key: "documentEl",
127
130
  ref: p,
@@ -136,16 +139,16 @@ const Ie = ["innerHTML"], ke = { class: "references-header" }, Be = {
136
139
  e.$attrs.class
137
140
  ]]),
138
141
  style: ae({
139
- "--scalar-y-offset": `var(--scalar-custom-header-height, ${y.value}px)`
142
+ "--scalar-y-offset": `var(--scalar-custom-header-height, ${T.value}px)`
140
143
  }),
141
144
  onScrollPassive: o[4] || (o[4] = //@ts-ignore
142
- (...r) => u(I) && u(I)(...r))
145
+ (...r) => u(k) && u(k)(...r))
143
146
  }, [
144
- i("div", ke, [
147
+ i("div", Be, [
145
148
  l(e.$slots, "header", d(c(n.value)), void 0, !0)
146
149
  ]),
147
- e.configuration.showSidebar ? (S(), h("aside", Be, [
148
- i("div", De, [
150
+ e.configuration.showSidebar ? (S(), h("aside", De, [
151
+ i("div", Me, [
149
152
  f(u(Te), {
150
153
  parsedSpec: e.parsedSpec,
151
154
  tagsSorter: e.configuration.tagsSorter
@@ -159,16 +162,16 @@ const Ie = ["innerHTML"], ke = { class: "references-header" }, Be = {
159
162
  _: 3
160
163
  }, 8, ["parsedSpec", "tagsSorter"])
161
164
  ])
162
- ])) : w("", !0),
163
- se(i("div", Fe, [
164
- i("div", Me, [
165
+ ])) : y("", !0),
166
+ se(i("div", Pe, [
167
+ i("div", Ue, [
165
168
  l(e.$slots, "editor", d(c(n.value)), void 0, !0)
166
169
  ])
167
170
  ], 512), [
168
171
  [ne, e.configuration.isEditable]
169
172
  ]),
170
- X.value ? (S(), h(M, { key: 1 }, [
171
- i("div", Pe, [
173
+ X.value ? (S(), h(P, { key: 1 }, [
174
+ i("div", Fe, [
172
175
  f(u(Re), {
173
176
  baseServerURL: e.configuration.baseServerURL,
174
177
  layout: e.configuration.layout === "classic" ? "accordion" : "default",
@@ -202,10 +205,10 @@ const Ie = ["innerHTML"], ke = { class: "references-header" }, Be = {
202
205
  } : void 0
203
206
  ]), 1032, ["baseServerURL", "layout", "parsedSpec", "proxy", "servers"])
204
207
  ]),
205
- e.$slots.footer ? (S(), h("div", Ue, [
208
+ e.$slots.footer ? (S(), h("div", Ae, [
206
209
  l(e.$slots, "footer", d(c(n.value)), void 0, !0)
207
- ])) : w("", !0)
208
- ], 64)) : w("", !0),
210
+ ])) : y("", !0)
211
+ ], 64)) : y("", !0),
209
212
  f(Se, {
210
213
  proxyUrl: e.configuration.proxy,
211
214
  servers: e.configuration.servers,
@@ -218,5 +221,5 @@ const Ie = ["innerHTML"], ke = { class: "references-header" }, Be = {
218
221
  }
219
222
  });
220
223
  export {
221
- oo as default
224
+ to as default
222
225
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./Authentication.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ o(t, [["__scopeId", "data-v-cfd417f3"]]);
4
+ const c = /* @__PURE__ */ o(t, [["__scopeId", "data-v-25fd5cfd"]]);
5
5
  export {
6
6
  c as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-parser';
1
+ import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  import type { Spec } from '@scalar/types/legacy';
3
3
  declare function __VLS_template(): {
4
4
  aside?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAC/E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAyChD,iBAAS,cAAc;mBAiMK,GAAG;mBACH,GAAG;EAyB9B;AACD,QAAA,MAAM,eAAe;UAlPb,OAAO,CACX,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CACrE;gBACW,IAAI;;UAHV,OAAO,CACX,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CACrE;gBACW,IAAI;aAqPhB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,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":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAyChD,iBAAS,cAAc;mBAiMK,GAAG;mBACH,GAAG;EAyB9B;AACD,QAAA,MAAM,eAAe;UAlPb,OAAO,CACX,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CACrE;gBACW,IAAI;;UAHV,OAAO,CACX,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CACrE;gBACW,IAAI;aAqPhB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,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,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 _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0362b02e"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4e25996e"]]);
5
5
  export {
6
- _ as default
6
+ p as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as C, computed as p, openBlock as n, createBlock as r, unref as o, withCtx as t, createVNode as i, createElementVNode as f, createTextVNode as s, toDisplayString as a, createCommentVNode as d, renderSlot as c } from "vue";
2
- import h from "github-slugger";
3
- import k from "./Description.vue.js";
4
- import y from "./DownloadSpec.vue.js";
1
+ import { defineComponent as k, computed as p, openBlock as n, createBlock as r, unref as o, withCtx as t, createVNode as i, createElementVNode as f, createTextVNode as s, toDisplayString as a, createCommentVNode as d, renderSlot as c } from "vue";
2
+ import C from "github-slugger";
3
+ import h from "../../../features/DownloadLink/DownloadLink.vue.js";
4
+ import y from "./Description.vue.js";
5
5
  import V from "../../Section/SectionContainer.vue.js";
6
6
  import w from "../../Section/Section.vue.js";
7
7
  import N from "../../Section/SectionContent.vue.js";
@@ -9,14 +9,14 @@ import T from "../../Section/SectionColumns.vue.js";
9
9
  import m from "../../Section/SectionColumn.vue.js";
10
10
  import g from "../../Badge/Badge.vue.js";
11
11
  import B from "../../Section/SectionHeader.vue.js";
12
- const D = { class: "badges" }, $ = { class: "sticky-cards" }, K = /* @__PURE__ */ C({
12
+ const D = { class: "badges" }, $ = { class: "sticky-cards" }, J = /* @__PURE__ */ k({
13
13
  __name: "Introduction",
14
14
  props: {
15
15
  info: {},
16
16
  parsedSpec: {}
17
17
  },
18
18
  setup(S) {
19
- const l = S, v = new h(), u = p(() => l.parsedSpec.openapi ?? l.parsedSpec.swagger ?? ""), _ = p(() => v.slug(l.info.title ?? ""));
19
+ const l = S, v = new C(), u = p(() => l.parsedSpec.openapi ?? l.parsedSpec.swagger ?? ""), _ = p(() => v.slug(l.info.title ?? ""));
20
20
  return (e, b) => (n(), r(o(V), null, {
21
21
  default: t(() => [
22
22
  i(o(w), { class: "introduction-section" }, {
@@ -53,8 +53,8 @@ const D = { class: "badges" }, $ = { class: "sticky-cards" }, K = /* @__PURE__ *
53
53
  ]),
54
54
  _: 1
55
55
  }, 8, ["loading"]),
56
- i(y, { specTitle: _.value }, null, 8, ["specTitle"]),
57
- i(k, {
56
+ i(h, { specTitle: _.value }, null, 8, ["specTitle"]),
57
+ i(y, {
58
58
  value: e.info.description
59
59
  }, null, 8, ["value"])
60
60
  ]),
@@ -84,5 +84,5 @@ const D = { class: "badges" }, $ = { class: "sticky-cards" }, K = /* @__PURE__ *
84
84
  }
85
85
  });
86
86
  export {
87
- K as default
87
+ J as default
88
88
  };
@@ -1,4 +1,4 @@
1
- import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-parser';
1
+ import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
@@ -1 +1 @@
1
- {"version":3,"file":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;;cAazE,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;cAHP,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;AAwKb,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":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;cAkBxE,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;cAHP,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;AAsNb,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 "./Models.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-5a02ee3b"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fbbe3037"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,68 +1,91 @@
1
- import { defineComponent as M, computed as u, openBlock as r, createBlock as d, unref as e, withCtx as s, createVNode as l, createTextVNode as k, createElementBlock as v, Fragment as I, renderList as y, createCommentVNode as p, pushScopeId as N, popScopeId as L, createElementVNode as b } from "vue";
1
+ import { defineComponent as v, computed as n, openBlock as d, createBlock as c, unref as e, withCtx as t, createVNode as s, createTextVNode as b, createElementVNode as h, normalizeClass as k, createElementBlock as I, Fragment as M, renderList as y, createCommentVNode as u, pushScopeId as N, popScopeId as g } from "vue";
2
2
  import C from "../../ShowMoreButton.vue.js";
3
- import g from "./CollapsedModel.vue.js";
4
- import w from "../../Section/SectionContainer.vue.js";
5
- import B from "../../Section/Section.vue.js";
6
- import O from "../../Section/SectionHeader.vue.js";
7
- import f from "../Lazy/Lazy.vue.js";
8
- import { useSidebar as V } from "../../../hooks/useSidebar.js";
3
+ import L from "../../Section/SectionContainer.vue.js";
4
+ import w from "../../Section/Section.vue.js";
5
+ import B from "../../Section/SectionHeader.vue.js";
6
+ import p from "../Lazy/Lazy.vue.js";
7
+ import H from "../../Section/CompactSection.vue.js";
8
+ import O from "../Schema/SchemaHeading.vue.js";
9
+ import V from "../Schema/Schema.vue.js";
10
+ import { useSidebar as z } from "../../../hooks/useSidebar.js";
9
11
  import { useNavState as A } from "../../../hooks/useNavState.js";
10
- const E = (o) => (N("data-v-5a02ee3b"), o = o(), L(), o), j = /* @__PURE__ */ E(() => /* @__PURE__ */ b("div", { id: "models" }, null, -1)), _ = 10, q = /* @__PURE__ */ M({
12
+ const E = (r) => (N("data-v-fbbe3037"), r = r(), g(), r), j = /* @__PURE__ */ E(() => /* @__PURE__ */ h("div", { id: "models" }, null, -1)), f = 10, P = /* @__PURE__ */ v({
11
13
  __name: "Models",
12
14
  props: {
13
15
  schemas: {}
14
16
  },
15
- setup(o) {
16
- const m = o, { collapsedSidebarItems: h } = V(), { getModelId: a } = A(), n = u(
17
- () => Object.keys(m.schemas ?? {}).length <= _ || h[a()]
18
- ), i = u(() => {
19
- const t = Object.keys(m.schemas ?? {});
20
- return n.value ? t : t.slice(0, _);
17
+ setup(r) {
18
+ const m = r, { collapsedSidebarItems: _ } = z(), { getModelId: a } = A(), i = n(
19
+ () => Object.keys(m.schemas ?? {}).length <= f || _[a()]
20
+ ), S = n(() => {
21
+ const l = Object.keys(m.schemas ?? {});
22
+ return i.value ? l : l.slice(0, f);
21
23
  });
22
- return (t, x) => t.schemas ? (r(), d(e(w), { key: 0 }, {
23
- default: s(() => [
24
- l(e(B), null, {
25
- default: s(() => [
26
- l(e(O), { level: 2 }, {
27
- default: s(() => [
28
- k("Models")
24
+ return (l, T) => l.schemas ? (d(), c(e(L), { key: 0 }, {
25
+ default: t(() => [
26
+ s(e(w), null, {
27
+ default: t(() => [
28
+ s(e(B), { level: 2 }, {
29
+ default: t(() => [
30
+ b("Models")
29
31
  ]),
30
32
  _: 1
31
33
  }),
32
- l(e(f), {
34
+ s(e(p), {
33
35
  id: "models",
34
36
  isLazy: !1
35
37
  }, {
36
- default: s(() => [
38
+ default: t(() => [
37
39
  j
38
40
  ]),
39
41
  _: 1
40
42
  }),
41
- (r(!0), v(I, null, y(i.value, (c, S) => (r(), d(e(f), {
42
- id: e(a)(c),
43
- key: c,
44
- isLazy: ""
45
- }, {
46
- default: s(() => [
47
- l(g, {
48
- name: c,
49
- schemas: t.schemas
50
- }, null, 8, ["name", "schemas"]),
51
- !n.value && S === i.value.length - 1 ? (r(), d(C, {
52
- key: 0,
53
- id: e(a)()
54
- }, null, 8, ["id"])) : p("", !0)
55
- ]),
56
- _: 2
57
- }, 1032, ["id"]))), 128))
43
+ h("div", {
44
+ class: k(["models-list", { "models-list-truncated": !i.value }])
45
+ }, [
46
+ (d(!0), I(M, null, y(S.value, (o) => (d(), c(e(p), {
47
+ id: e(a)(o),
48
+ key: o,
49
+ isLazy: ""
50
+ }, {
51
+ default: t(() => [
52
+ s(e(H), {
53
+ id: e(a)(o),
54
+ class: "models-list-item",
55
+ label: o
56
+ }, {
57
+ heading: t(() => [
58
+ s(e(O), {
59
+ name: o,
60
+ value: l.schemas[o]
61
+ }, null, 8, ["name", "value"])
62
+ ]),
63
+ default: t(() => [
64
+ s(e(V), {
65
+ hideHeading: !0,
66
+ noncollapsible: "",
67
+ value: l.schemas[o]
68
+ }, null, 8, ["value"])
69
+ ]),
70
+ _: 2
71
+ }, 1032, ["id", "label"])
72
+ ]),
73
+ _: 2
74
+ }, 1032, ["id"]))), 128))
75
+ ], 2),
76
+ i.value ? u("", !0) : (d(), c(C, {
77
+ key: 0,
78
+ id: e(a)(),
79
+ class: "show-more-models"
80
+ }, null, 8, ["id"]))
58
81
  ]),
59
82
  _: 1
60
83
  })
61
84
  ]),
62
85
  _: 1
63
- })) : p("", !0);
86
+ })) : u("", !0);
64
87
  }
65
88
  });
66
89
  export {
67
- q as default
90
+ P as default
68
91
  };
@@ -1,4 +1,4 @@
1
- import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-parser';
1
+ import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
@@ -1 +1 @@
1
- {"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;;cAgBzE,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;cAHP,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,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C,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 "./ModelsAccordion.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-304ad700"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b3be69ad"]]);
5
5
  export {
6
6
  d as default
7
7
  };
@@ -1 +1 @@
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,sBAAsB,CAAA;;SAsBzD,MAAM;eACA,oBAAoB;;SAD1B,MAAM;eACA,oBAAoB;;AAyQjC,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":"AAkFA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;SAoBzD,MAAM;eACA,oBAAoB;;SAD1B,MAAM;eACA,oBAAoB;;AAiPjC,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 a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d7704f5f"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-81bfb2d1"]]);
5
5
  export {
6
- a as default
6
+ f as default
7
7
  };