@scalar/api-reference 1.35.5 → 1.35.6

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 (217) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/browser/standalone.js +18150 -18465
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/WithBreadcrumb.vue2.js +8 -11
  5. package/dist/components/ApiReference.vue.js +1 -1
  6. package/dist/components/ApiReferenceLayout.vue.js +4 -4
  7. package/dist/components/ApiReferenceLayout.vue2.js +247 -268
  8. package/dist/components/Badge/Badge.vue.js +1 -1
  9. package/dist/components/ClassicHeader.vue.js +1 -1
  10. package/dist/components/Content/Content.vue.js +145 -169
  11. package/dist/components/Content/Content.vue3.js +1 -1
  12. package/dist/components/Content/Models/ClassicLayout.vue.js +1 -1
  13. package/dist/components/Content/Models/ClassicLayout.vue2.js +32 -35
  14. package/dist/components/Content/Models/Models.vue.js +27 -31
  15. package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
  16. package/dist/components/Content/Operations/TraversedEntry.vue.js +32 -35
  17. package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +26 -27
  18. package/dist/components/Content/Operations/get-current-index.js +1 -1
  19. package/dist/components/Content/Schema/Schema.vue.js +1 -1
  20. package/dist/components/Content/Schema/Schema.vue2.js +68 -74
  21. package/dist/components/Content/Schema/SchemaComposition.vue.js +42 -45
  22. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +1 -1
  23. package/dist/components/Content/Schema/SchemaEnumValues.vue.js +1 -1
  24. package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +45 -50
  25. package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
  26. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +41 -48
  27. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  28. package/dist/components/Content/Schema/SchemaProperty.vue2.js +142 -157
  29. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +1 -1
  30. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
  31. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  32. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +160 -164
  33. package/dist/components/Content/Schema/helpers/get-schema-type.js +15 -17
  34. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +74 -77
  35. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +10 -11
  36. package/dist/components/Content/Tags/ClassicLayout.vue.js +1 -1
  37. package/dist/components/Content/Tags/ClassicLayout.vue2.js +36 -39
  38. package/dist/components/Content/Tags/ModernLayout.vue.js +1 -1
  39. package/dist/components/Content/Tags/ModernLayout.vue2.js +31 -35
  40. package/dist/components/Content/Tags/TagSection.vue.js +86 -92
  41. package/dist/components/GettingStarted.vue.js +1 -1
  42. package/dist/components/LinkList/LinkList.vue.js +1 -1
  43. package/dist/components/LoadingSkeleton.vue.js +1 -1
  44. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  45. package/dist/components/MobileHeader.vue.js +3 -3
  46. package/dist/components/MobileHeader.vue2.js +13 -12
  47. package/dist/components/OperationPath.vue.js +1 -1
  48. package/dist/components/OperationsList/OperationsList.vue.js +1 -1
  49. package/dist/components/OperationsList/OperationsList.vue2.js +45 -51
  50. package/dist/components/OperationsList/OperationsListItem.vue.js +1 -1
  51. package/dist/components/ScreenReader.vue.js +1 -1
  52. package/dist/components/Section/CompactSection.vue.js +1 -1
  53. package/dist/components/Section/Section.vue.js +1 -1
  54. package/dist/components/Section/Section.vue2.js +13 -14
  55. package/dist/components/Section/SectionAccordion.vue.js +1 -1
  56. package/dist/components/Section/SectionAccordion.vue2.js +29 -30
  57. package/dist/components/Section/SectionColumn.vue.js +1 -1
  58. package/dist/components/Section/SectionColumns.vue.js +1 -1
  59. package/dist/components/Section/SectionContainer.vue.js +1 -1
  60. package/dist/components/Section/SectionContainerAccordion.vue.js +1 -1
  61. package/dist/components/Section/SectionContent.vue.js +1 -1
  62. package/dist/components/Section/SectionHeader.vue.js +1 -1
  63. package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
  64. package/dist/components/SectionFlare/SectionFlare.vue.js +1 -1
  65. package/dist/components/ShowMoreButton.vue.js +1 -1
  66. package/dist/components/ShowMoreButton.vue2.js +12 -13
  67. package/dist/features/Operation/Operation.vue.js +31 -36
  68. package/dist/features/Operation/components/Headers.vue.js +1 -1
  69. package/dist/features/Operation/components/OperationParameters.vue.js +8 -11
  70. package/dist/features/Operation/components/ParameterList.vue.js +21 -24
  71. package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
  72. package/dist/features/Operation/components/ParameterListItem.vue2.js +36 -37
  73. package/dist/features/Operation/components/RequestBody.vue.js +1 -1
  74. package/dist/features/Operation/components/RequestBody.vue2.js +45 -52
  75. package/dist/features/Operation/components/callbacks/Callback.vue.js +1 -1
  76. package/dist/features/Operation/components/callbacks/Callback.vue2.js +32 -35
  77. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  78. package/dist/features/Operation/layouts/ClassicLayout.vue.js +4 -4
  79. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +114 -119
  80. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  81. package/dist/features/Operation/layouts/ModernLayout.vue.js +3 -3
  82. package/dist/features/Operation/layouts/ModernLayout.vue2.js +87 -89
  83. package/dist/features/Search/components/SearchButton.vue.js +23 -25
  84. package/dist/features/Search/components/SearchModal.vue.js +1 -1
  85. package/dist/features/Search/components/SearchModal.vue2.js +53 -54
  86. package/dist/features/api-client-modal/ApiClientModal.vue.js +31 -38
  87. package/dist/features/document-source/hooks/useDocumentFetcher.js +17 -18
  88. package/dist/features/document-source/hooks/useDocumentSource.js +16 -16
  89. package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
  90. package/dist/features/example-responses/ExampleResponse.vue2.js +23 -26
  91. package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
  92. package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
  93. package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
  94. package/dist/features/example-responses/ExampleResponses.vue2.js +128 -153
  95. package/dist/features/info-object/Contact.vue.js +24 -27
  96. package/dist/features/info-object/License.vue.js +26 -29
  97. package/dist/features/multiple-documents/DocumentSelector.vue.js +22 -31
  98. package/dist/features/multiple-documents/useMultipleDocuments.js +52 -56
  99. package/dist/features/sidebar/components/Sidebar.vue.d.ts.map +1 -1
  100. package/dist/features/sidebar/components/Sidebar.vue.js +3 -3
  101. package/dist/features/sidebar/components/Sidebar.vue2.js +74 -79
  102. package/dist/features/sidebar/components/SidebarElement.vue.js +1 -1
  103. package/dist/features/sidebar/components/SidebarElement.vue2.js +52 -53
  104. package/dist/features/sidebar/components/SidebarGroup.vue.js +1 -1
  105. package/dist/features/sidebar/components/SidebarHttpBadge.vue.js +1 -1
  106. package/dist/features/specification-extension/SpecificationExtension.vue2.js +28 -31
  107. package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
  108. package/dist/features/test-request-button/TestRequestButton.vue2.js +1 -2
  109. package/dist/features/traverse-schema/helpers/traverse-description.js +13 -14
  110. package/dist/features/traverse-schema/helpers/traverse-document.js +14 -15
  111. package/dist/features/traverse-schema/helpers/traverse-paths.js +20 -23
  112. package/dist/features/traverse-schema/helpers/traverse-schemas.js +13 -15
  113. package/dist/features/traverse-schema/helpers/traverse-webhooks.js +8 -10
  114. package/dist/hooks/useFreezing.js +14 -14
  115. package/dist/hooks/useNavState.js +37 -39
  116. package/dist/index.js +2 -2
  117. package/dist/libs/openapi.js +28 -31
  118. package/dist/style.css +1 -1
  119. package/dist/v2/ApiReferenceWorkspace.vue.js +68 -75
  120. package/dist/v2/ApiReferenceWorkspace.vue3.js +1 -1
  121. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -1
  122. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +116 -135
  123. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +40 -47
  124. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +45 -46
  125. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +109 -125
  126. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +1 -1
  127. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +84 -84
  128. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.js +12 -13
  129. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +1 -1
  130. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +1 -4
  131. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +1 -1
  132. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +77 -82
  133. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
  134. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +46 -49
  135. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
  136. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.js +1 -1
  137. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +1 -1
  138. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
  139. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +74 -89
  140. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +24 -27
  141. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +1 -1
  142. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +106 -119
  143. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +11 -12
  144. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +3 -3
  145. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.js +11 -14
  146. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +45 -48
  147. package/dist/v2/helpers/get-document-name.js +10 -10
  148. package/dist/v2/helpers/map-configuration.js +48 -51
  149. package/dist/v2/hooks/use-legacy-store-events.js +44 -48
  150. package/dist/v2/hooks/use-workspace-store-events.js +23 -26
  151. package/package.json +22 -22
  152. package/dist/components/ApiReferenceLayout.vue3.js +0 -4
  153. package/dist/components/ApiReferenceLayout.vue4.js +0 -4
  154. package/dist/components/ApiReferenceLayout.vue5.js +0 -4
  155. package/dist/components/ApiReferenceLayout.vue6.js +0 -4
  156. package/dist/components/Badge/Badge.vue3.js +0 -4
  157. package/dist/components/ClassicHeader.vue2.js +0 -4
  158. package/dist/components/Content/Content.vue2.js +0 -4
  159. package/dist/components/Content/Models/ClassicLayout.vue3.js +0 -4
  160. package/dist/components/Content/Models/ModernLayout.vue3.js +0 -4
  161. package/dist/components/Content/Schema/Schema.vue3.js +0 -4
  162. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue3.js +0 -4
  163. package/dist/components/Content/Schema/SchemaEnumValues.vue3.js +0 -4
  164. package/dist/components/Content/Schema/SchemaHeading.vue3.js +0 -4
  165. package/dist/components/Content/Schema/SchemaProperty.vue3.js +0 -4
  166. package/dist/components/Content/Schema/SchemaPropertyDetail.vue3.js +0 -4
  167. package/dist/components/Content/Schema/SchemaPropertyExamples.vue3.js +0 -4
  168. package/dist/components/Content/Schema/SchemaPropertyHeading.vue3.js +0 -4
  169. package/dist/components/Content/Tags/ClassicLayout.vue3.js +0 -4
  170. package/dist/components/Content/Tags/ModernLayout.vue3.js +0 -4
  171. package/dist/components/GettingStarted.vue3.js +0 -4
  172. package/dist/components/LinkList/LinkList.vue3.js +0 -4
  173. package/dist/components/LoadingSkeleton.vue3.js +0 -4
  174. package/dist/components/MobileHeader.vue3.js +0 -4
  175. package/dist/components/OperationPath.vue3.js +0 -4
  176. package/dist/components/OperationsList/OperationsList.vue3.js +0 -4
  177. package/dist/components/OperationsList/OperationsListItem.vue3.js +0 -4
  178. package/dist/components/ScreenReader.vue3.js +0 -4
  179. package/dist/components/Section/CompactSection.vue3.js +0 -4
  180. package/dist/components/Section/Section.vue3.js +0 -4
  181. package/dist/components/Section/SectionAccordion.vue3.js +0 -4
  182. package/dist/components/Section/SectionColumn.vue2.js +0 -4
  183. package/dist/components/Section/SectionColumns.vue2.js +0 -4
  184. package/dist/components/Section/SectionContainer.vue3.js +0 -4
  185. package/dist/components/Section/SectionContainerAccordion.vue3.js +0 -4
  186. package/dist/components/Section/SectionContent.vue3.js +0 -4
  187. package/dist/components/Section/SectionHeader.vue3.js +0 -4
  188. package/dist/components/Section/SectionHeaderTag.vue3.js +0 -4
  189. package/dist/components/SectionFlare/SectionFlare.vue2.js +0 -4
  190. package/dist/components/ShowMoreButton.vue3.js +0 -4
  191. package/dist/features/Operation/components/Headers.vue3.js +0 -4
  192. package/dist/features/Operation/components/ParameterListItem.vue3.js +0 -4
  193. package/dist/features/Operation/components/RequestBody.vue3.js +0 -4
  194. package/dist/features/Operation/components/callbacks/Callback.vue3.js +0 -4
  195. package/dist/features/Operation/layouts/ClassicLayout.vue3.js +0 -4
  196. package/dist/features/Operation/layouts/ModernLayout.vue3.js +0 -4
  197. package/dist/features/Search/components/SearchModal.vue3.js +0 -4
  198. package/dist/features/example-responses/ExampleResponse.vue3.js +0 -4
  199. package/dist/features/example-responses/ExampleResponseTab.vue3.js +0 -4
  200. package/dist/features/example-responses/ExampleResponseTabList.vue3.js +0 -4
  201. package/dist/features/example-responses/ExampleResponses.vue3.js +0 -4
  202. package/dist/features/sidebar/components/Sidebar.vue3.js +0 -4
  203. package/dist/features/sidebar/components/SidebarElement.vue3.js +0 -4
  204. package/dist/features/sidebar/components/SidebarGroup.vue3.js +0 -4
  205. package/dist/features/sidebar/components/SidebarHttpBadge.vue3.js +0 -4
  206. package/dist/features/test-request-button/TestRequestButton.vue3.js +0 -4
  207. package/dist/v2/ApiReferenceWorkspace.vue2.js +0 -4
  208. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue3.js +0 -4
  209. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue3.js +0 -4
  210. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue3.js +0 -4
  211. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue3.js +0 -4
  212. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue3.js +0 -4
  213. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue3.js +0 -4
  214. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue3.js +0 -4
  215. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue2.js +0 -4
  216. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue3.js +0 -4
  217. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue3.js +0 -4
@@ -1,86 +1,82 @@
1
1
  import { isDefined as S } from "@scalar/oas-utils/helpers";
2
- import { isConfigurationWithSources as y } from "@scalar/types/api-reference";
3
- import R from "github-slugger";
4
- import { computed as g, ref as b, watch as A } from "vue";
5
- const w = "api", h = new R(), C = (t) => t ? (Array.isArray(t) ? t : [t]).flatMap((u) => {
6
- if (y(u)) {
7
- const { sources: s, ...r } = u;
8
- return (s == null ? void 0 : s.map((m) => ({ ...r, ...m }))) ?? [];
2
+ import { isConfigurationWithSources as w } from "@scalar/types/api-reference";
3
+ import y from "github-slugger";
4
+ import { computed as m, ref as R, watch as b } from "vue";
5
+ const v = "api", g = new y(), A = (t) => t ? (Array.isArray(t) ? t : [t]).flatMap((r) => {
6
+ if (w(r)) {
7
+ const { sources: o, ...n } = r;
8
+ return o?.map((p) => ({ ...n, ...p })) ?? [];
9
9
  }
10
- return [u];
11
- }).map((u, s) => u && I(u, s)).filter(S) : [], I = (t, a = 0) => {
10
+ return [r];
11
+ }).map((r, o) => r && D(r, o)).filter(S) : [], D = (t, u = 0) => {
12
12
  const e = {
13
13
  ...t,
14
14
  // @ts-expect-error this is before parsing so we transform the old style
15
15
  ...t.spec ?? {}
16
16
  };
17
- if (!(!(e != null && e.url) && !(e != null && e.content)))
18
- return h.reset(), e.title ? {
17
+ if (!(!e?.url && !e?.content))
18
+ return g.reset(), e.title ? {
19
19
  ...e,
20
- slug: e.slug || h.slug(e.title),
20
+ slug: e.slug || g.slug(e.title),
21
21
  title: e.title
22
22
  } : e.slug ? {
23
23
  ...e,
24
24
  title: e.slug
25
25
  } : {
26
26
  ...e,
27
- slug: `api-${a + 1}`,
28
- title: `API #${a + 1}`
27
+ slug: `api-${u + 1}`,
28
+ title: `API #${u + 1}`
29
29
  };
30
- }, T = ({
30
+ }, N = ({
31
31
  configuration: t,
32
- initialIndex: a,
32
+ initialIndex: u,
33
33
  isIntersectionEnabled: e,
34
- hash: u,
35
- hashPrefix: s
34
+ hash: r,
35
+ hashPrefix: o
36
36
  }) => {
37
- const r = g(() => C(t.value)), f = b((() => {
37
+ const n = m(() => A(t.value)), a = R((() => {
38
38
  if (typeof window > "u")
39
- return typeof a == "number" ? a : 0;
40
- const n = new URL(window.location.href).searchParams.get(w);
41
- if (n) {
42
- const o = r.value.findIndex((p) => p.slug === n);
43
- if (o !== -1)
44
- return o;
45
- const i = Number.parseInt(n, 10);
46
- if (!isNaN(i) && i >= 0 && i < r.value.length)
47
- return i;
39
+ return typeof u == "number" ? u : 0;
40
+ const l = new URL(window.location.href).searchParams.get(v);
41
+ if (l) {
42
+ const s = n.value.findIndex((h) => h.slug === l);
43
+ if (s !== -1)
44
+ return s;
45
+ const d = Number.parseInt(l, 10);
46
+ if (!isNaN(d) && d >= 0 && d < n.value.length)
47
+ return d;
48
48
  }
49
- const l = r.value.findIndex((o) => "default" in o && o.default === !0);
50
- return l !== -1 ? l : typeof a == "number" ? a : 0;
51
- })()), c = g(() => {
52
- var n, l;
53
- return t.value && y(t.value) ? {
54
- ...t.value,
55
- ...(l = (n = t.value) == null ? void 0 : n.sources) == null ? void 0 : l[f.value],
56
- ...r.value[f.value]
57
- } : {
58
- ...[t.value].flat()[f.value] ?? {},
59
- ...r.value[f.value]
60
- };
49
+ const c = n.value.findIndex((s) => "default" in s && s.default === !0);
50
+ return c !== -1 ? c : typeof u == "number" ? u : 0;
51
+ })()), i = m(() => t.value && w(t.value) ? {
52
+ ...t.value,
53
+ ...t.value?.sources?.[a.value],
54
+ ...n.value[a.value]
55
+ } : {
56
+ ...[t.value].flat()[a.value] ?? {},
57
+ ...n.value[a.value]
61
58
  });
62
- return A(
63
- f,
64
- (d) => {
65
- var i, p, v;
66
- if (typeof window > "u" || r.value.length === 1)
59
+ return b(
60
+ a,
61
+ (f) => {
62
+ if (typeof window > "u" || n.value.length === 1)
67
63
  return;
68
- const n = new URL(window.location.href), l = r.value[d];
69
- c.value.pathRouting && (n.pathname = ((i = c.value.pathRouting) == null ? void 0 : i.basePath) ?? "");
70
- const o = (l == null ? void 0 : l.slug) ?? d.toString();
71
- n.searchParams.set(w, o), n.hash = "", window.history.replaceState({}, "", n.toString()), u.value = "", s.value = "", e.value = !1, typeof window < "u" && window.scrollTo({ top: 0, behavior: "instant" }), (v = (p = c.value).onDocumentSelect) == null || v.call(p);
64
+ const l = new URL(window.location.href), c = n.value[f];
65
+ i.value.pathRouting && (l.pathname = i.value.pathRouting?.basePath ?? "");
66
+ const s = c?.slug ?? f.toString();
67
+ l.searchParams.set(v, s), l.hash = "", window.history.replaceState({}, "", l.toString()), r.value = "", o.value = "", e.value = !1, typeof window < "u" && window.scrollTo({ top: 0, behavior: "instant" }), i.value.onDocumentSelect?.();
72
68
  },
73
69
  { flush: "sync" }
74
70
  ), {
75
- selectedConfiguration: c,
76
- availableDocuments: r,
77
- selectedDocumentIndex: f,
71
+ selectedConfiguration: i,
72
+ availableDocuments: n,
73
+ selectedDocumentIndex: a,
78
74
  isIntersectionEnabled: e,
79
- hash: u,
80
- hashPrefix: s
75
+ hash: r,
76
+ hashPrefix: o
81
77
  };
82
78
  };
83
79
  export {
84
- C as normalizeConfigurations,
85
- T as useMultipleDocuments
80
+ A as normalizeConfigurations,
81
+ N as useMultipleDocuments
86
82
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/sidebar/components/Sidebar.vue"],"names":[],"mappings":"AA+QA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;AAkSF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA8BtD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/sidebar/components/Sidebar.vue"],"names":[],"mappings":"AAgRA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;AAmSF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA8BtD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Sidebar.vue2.js";
2
- import "./Sidebar.vue3.js";
2
+ /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7ed79e6b"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-603204fe"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,119 +1,114 @@
1
- import { defineComponent as N, ref as T, watch as L, onMounted as F, onUnmounted as G, createElementBlock as a, openBlock as n, renderSlot as C, createElementVNode as A, createVNode as V, withCtx as p, Fragment as u, renderList as m, unref as o, createBlock as c, toDisplayString as M, createCommentVNode as $ } from "vue";
2
- import { sleep as w } from "@scalar/helpers/testing/sleep";
3
- import { useNavState as D } from "../../../hooks/useNavState.js";
4
- import { useSidebar as H } from "../hooks/useSidebar.js";
1
+ import { defineComponent as B, ref as y, watch as N, onMounted as L, onUnmounted as F, createElementBlock as n, openBlock as i, renderSlot as T, createElementVNode as C, createVNode as G, withCtx as v, Fragment as d, renderList as m, unref as a, createBlock as u, toDisplayString as V, createCommentVNode as A } from "vue";
2
+ import { sleep as $ } from "@scalar/helpers/testing/sleep";
3
+ import { useNavState as M } from "../../../hooks/useNavState.js";
4
+ import { useSidebar as D } from "../hooks/useSidebar.js";
5
5
  import h from "./SidebarElement.vue.js";
6
- import y from "./SidebarGroup.vue.js";
7
- const R = { class: "sidebar" }, U = ["aria-label"], j = { class: "sidebar-group-title" }, q = -160, X = /* @__PURE__ */ N({
6
+ import _ from "./SidebarGroup.vue.js";
7
+ const H = { class: "sidebar" }, R = ["aria-label"], U = { class: "sidebar-group-title" }, j = -160, W = /* @__PURE__ */ B({
8
8
  __name: "Sidebar",
9
9
  props: {
10
10
  title: {}
11
11
  },
12
- setup(x) {
13
- const { hash: d, isIntersectionEnabled: I } = D(), { items: O, toggleCollapsedSidebarItem: _, collapsedSidebarItems: g } = H(), f = T(null), l = T(!0);
14
- L(d, (e) => {
15
- !I.value || l.value || typeof window > "u" || E(e);
12
+ setup(q) {
13
+ const { hash: o, isIntersectionEnabled: w } = M(), { items: I, toggleCollapsedSidebarItem: g, collapsedSidebarItems: E } = D(), c = y(null), l = y(!0);
14
+ N(o, (t) => {
15
+ !w.value || l.value || typeof window > "u" || S(t);
16
16
  });
17
- const E = (e) => {
18
- var t, s, S, k;
19
- const r = document.getElementById(`sidebar-${e}`);
20
- if (!r || !f.value)
17
+ const S = (t) => {
18
+ const s = document.getElementById(`sidebar-${t}`);
19
+ if (!s || !c.value)
21
20
  return;
22
- let i = q;
23
- r.getAttribute("data-sidebar-type") === "heading" ? i += r.offsetTop + ((t = r.getElementsByClassName("sidebar-heading")) == null ? void 0 : t[0]).offsetHeight : i += r.offsetTop + (((s = r.parentElement) == null ? void 0 : s.offsetTop) ?? 0) + (((k = (S = r.parentElement) == null ? void 0 : S.parentElement) == null ? void 0 : k.offsetTop) ?? 0), f.value.scrollTo({ top: i, behavior: "smooth" });
24
- }, B = (e) => {
25
- if (!f.value)
21
+ let e = j;
22
+ s.getAttribute("data-sidebar-type") === "heading" ? e += s.offsetTop + (s.getElementsByClassName("sidebar-heading")?.[0]).offsetHeight : e += s.offsetTop + (s.parentElement?.offsetTop ?? 0) + (s.parentElement?.parentElement?.offsetTop ?? 0), c.value.scrollTo({ top: e, behavior: "smooth" });
23
+ }, O = (t) => {
24
+ if (!c.value)
26
25
  return;
27
- const r = new MutationObserver((i, t) => {
28
- document.getElementById(`sidebar-${e}`) && (E(e), l.value = !1, t.disconnect());
26
+ const s = new MutationObserver((e, r) => {
27
+ document.getElementById(`sidebar-${t}`) && (S(t), l.value = !1, r.disconnect());
29
28
  });
30
- return r.observe(f.value, {
29
+ return s.observe(c.value, {
31
30
  childList: !0,
32
31
  subtree: !0
33
- }), r;
34
- }, v = (e) => d.value === e ? !0 : d.value.includes("/description/") ? d.value.split("/description/")[0] === e : !1;
35
- F(() => {
36
- const e = B(d.value);
37
- d.value || setTimeout(() => l.value = !1, 300), G(() => {
38
- e == null || e.disconnect();
39
- });
32
+ }), s;
33
+ }, p = (t) => o.value === t ? !0 : o.value.includes("/description/") ? o.value.split("/description/")[0] === t : !1, k = y(void 0);
34
+ L(() => {
35
+ k.value = O(o.value), o.value || setTimeout(() => l.value = !1, 300);
36
+ }), F(() => {
37
+ k.value?.disconnect();
40
38
  });
41
- const b = (e) => {
42
- var r;
43
- return "children" in e && (((r = e.children) == null ? void 0 : r.length) ?? 0) > 0;
44
- };
45
- return (e, r) => (n(), a("div", R, [
46
- C(e.$slots, "sidebar-start", {}, void 0, !0),
47
- A("nav", {
39
+ const b = (t) => "children" in t && (t.children?.length ?? 0) > 0;
40
+ return (t, s) => (i(), n("div", H, [
41
+ T(t.$slots, "sidebar-start", {}, void 0, !0),
42
+ C("nav", {
48
43
  ref_key: "scrollerEl",
49
- ref: f,
50
- "aria-label": `Table of contents for ${e.title}`,
44
+ ref: c,
45
+ "aria-label": `Table of contents for ${t.title}`,
51
46
  class: "sidebar-pages custom-scroll custom-scroll-self-contain-overflow"
52
47
  }, [
53
- V(y, { level: 0 }, {
54
- default: p(() => [
55
- (n(!0), a(u, null, m(o(O).entries, (i) => (n(), a(u, {
56
- key: i.id
48
+ G(_, { level: 0 }, {
49
+ default: v(() => [
50
+ (i(!0), n(d, null, m(a(I).entries, (e) => (i(), n(d, {
51
+ key: e.id
57
52
  }, [
58
- "isGroup" in i && i.isGroup ? (n(), a(u, { key: 0 }, [
59
- A("li", j, M(i.title), 1),
60
- (n(!0), a(u, null, m(i.children, (t) => (n(), c(h, {
61
- key: t.id,
62
- id: `sidebar-${t.id}`,
53
+ "isGroup" in e && e.isGroup ? (i(), n(d, { key: 0 }, [
54
+ C("li", U, V(e.title), 1),
55
+ (i(!0), n(d, null, m(e.children, (r) => (i(), u(h, {
56
+ key: r.id,
57
+ id: `sidebar-${r.id}`,
63
58
  "data-sidebar-type": "heading",
64
- hasChildren: b(t),
65
- isActive: v(t.id),
66
- item: t,
67
- open: o(g)[t.id] ?? !1,
59
+ hasChildren: b(r),
60
+ isActive: p(r.id),
61
+ item: r,
62
+ open: a(E)[r.id] ?? !1,
68
63
  onToggleOpen: async () => {
69
- l.value = !0, o(_)(t.id), await o(w)(100), l.value = !1;
64
+ l.value = !0, a(g)(r.id), await a($)(100), l.value = !1;
70
65
  }
71
66
  }, {
72
- default: p(() => [
73
- b(t) ? (n(), c(y, {
67
+ default: v(() => [
68
+ b(r) ? (i(), u(_, {
74
69
  key: 0,
75
70
  level: 1
76
71
  }, {
77
- default: p(() => [
78
- (n(!0), a(u, null, m(t.children, (s) => (n(), c(h, {
79
- key: s.id,
80
- id: `sidebar-${s.id}`,
81
- isActive: v(s.id),
82
- item: s
72
+ default: v(() => [
73
+ (i(!0), n(d, null, m(r.children, (f) => (i(), u(h, {
74
+ key: f.id,
75
+ id: `sidebar-${f.id}`,
76
+ isActive: p(f.id),
77
+ item: f
83
78
  }, null, 8, ["id", "isActive", "item"]))), 128))
84
79
  ]),
85
80
  _: 2
86
- }, 1024)) : $("", !0)
81
+ }, 1024)) : A("", !0)
87
82
  ]),
88
83
  _: 2
89
84
  }, 1032, ["id", "hasChildren", "isActive", "item", "open", "onToggleOpen"]))), 128))
90
- ], 64)) : (n(), c(h, {
85
+ ], 64)) : (i(), u(h, {
91
86
  key: 1,
92
- id: `sidebar-${i.id}`,
87
+ id: `sidebar-${e.id}`,
93
88
  "data-sidebar-type": "heading",
94
- hasChildren: b(i),
95
- isActive: v(i.id),
96
- item: i,
97
- open: o(g)[i.id] ?? !1,
89
+ hasChildren: b(e),
90
+ isActive: p(e.id),
91
+ item: e,
92
+ open: a(E)[e.id] ?? !1,
98
93
  onToggleOpen: async () => {
99
- l.value = !0, o(_)(i.id), await o(w)(100), l.value = !1;
94
+ l.value = !0, a(g)(e.id), await a($)(100), l.value = !1;
100
95
  }
101
96
  }, {
102
- default: p(() => [
103
- b(i) ? (n(), c(y, {
97
+ default: v(() => [
98
+ b(e) ? (i(), u(_, {
104
99
  key: 0,
105
100
  level: 1
106
101
  }, {
107
- default: p(() => [
108
- (n(!0), a(u, null, m(i.children, (t) => (n(), c(h, {
109
- key: t.id,
110
- id: `sidebar-${t.id}`,
111
- isActive: v(t.id),
112
- item: t
102
+ default: v(() => [
103
+ (i(!0), n(d, null, m(e.children, (r) => (i(), u(h, {
104
+ key: r.id,
105
+ id: `sidebar-${r.id}`,
106
+ isActive: p(r.id),
107
+ item: r
113
108
  }, null, 8, ["id", "isActive", "item"]))), 128))
114
109
  ]),
115
110
  _: 2
116
- }, 1024)) : $("", !0)
111
+ }, 1024)) : A("", !0)
117
112
  ]),
118
113
  _: 2
119
114
  }, 1032, ["id", "hasChildren", "isActive", "item", "open", "onToggleOpen"]))
@@ -121,11 +116,11 @@ const R = { class: "sidebar" }, U = ["aria-label"], j = { class: "sidebar-group-
121
116
  ]),
122
117
  _: 1
123
118
  })
124
- ], 8, U),
125
- C(e.$slots, "sidebar-end", {}, void 0, !0)
119
+ ], 8, R),
120
+ T(t.$slots, "sidebar-end", {}, void 0, !0)
126
121
  ]));
127
122
  }
128
123
  });
129
124
  export {
130
- X as default
125
+ W as default
131
126
  };
@@ -1,5 +1,5 @@
1
1
  import o from "./SidebarElement.vue2.js";
2
- import "./SidebarElement.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dc609512"]]);
5
5
  export {
@@ -1,26 +1,26 @@
1
- import { defineComponent as O, createElementBlock as a, openBlock as o, createElementVNode as s, renderSlot as f, createCommentVNode as l, normalizeClass as A, unref as r, createTextVNode as h, withModifiers as $, createVNode as b, withCtx as k, toDisplayString as p, createBlock as E, normalizeStyle as N } from "vue";
2
- import { ScalarSidebarGroupToggle as V } from "@scalar/components";
3
- import { scrollToId as H } from "@scalar/helpers/dom/scroll-to-id";
4
- import { getHttpMethodInfo as I } from "@scalar/helpers/http/http-info";
5
- import { sleep as v } from "@scalar/helpers/testing/sleep";
6
- import { ScalarIconWebhooksLogo as P } from "@scalar/icons";
7
- import { isOperationDeprecated as R, combineUrlAndPath as U } from "@scalar/oas-utils/helpers";
8
- import { useConfig as D } from "../../../hooks/useConfig.js";
9
- import { useNavState as L } from "../../../hooks/useNavState.js";
10
- import M from "./SidebarHttpBadge.vue.js";
11
- const z = ["id"], j = {
1
+ import { defineComponent as B, createElementBlock as a, openBlock as i, createElementVNode as s, renderSlot as g, createCommentVNode as l, normalizeClass as O, unref as r, createTextVNode as h, withModifiers as A, createVNode as f, withCtx as b, toDisplayString as p, createBlock as $, normalizeStyle as E } from "vue";
2
+ import { ScalarSidebarGroupToggle as N } from "@scalar/components";
3
+ import { scrollToId as V } from "@scalar/helpers/dom/scroll-to-id";
4
+ import { getHttpMethodInfo as H } from "@scalar/helpers/http/http-info";
5
+ import { sleep as k } from "@scalar/helpers/testing/sleep";
6
+ import { ScalarIconWebhooksLogo as I } from "@scalar/icons";
7
+ import { isOperationDeprecated as P, combineUrlAndPath as R } from "@scalar/oas-utils/helpers";
8
+ import { useConfig as U } from "../../../hooks/useConfig.js";
9
+ import { useNavState as D } from "../../../hooks/useNavState.js";
10
+ import L from "./SidebarHttpBadge.vue.js";
11
+ const M = ["id"], z = {
12
12
  key: 0,
13
13
  class: "sidebar-heading-chevron"
14
- }, F = ["aria-expanded"], G = ["href", "tabindex"], W = { class: "sidebar-heading-link-title" }, q = {
14
+ }, j = ["aria-expanded"], F = ["href", "tabindex"], G = { class: "sidebar-heading-link-title" }, W = {
15
15
  key: 0,
16
16
  class: "hanging-indent"
17
- }, J = { key: 1 }, K = {
17
+ }, q = { key: 1 }, J = {
18
18
  key: 0,
19
19
  class: "sidebar-heading-link-method"
20
- }, Q = {
20
+ }, K = {
21
21
  key: 1,
22
22
  class: "action-menu"
23
- }, ae = /* @__PURE__ */ O({
23
+ }, ne = /* @__PURE__ */ B({
24
24
  __name: "SidebarElement",
25
25
  props: {
26
26
  id: {},
@@ -30,73 +30,72 @@ const z = ["id"], j = {
30
30
  open: { type: Boolean }
31
31
  },
32
32
  emits: ["toggleOpen"],
33
- setup(y, { emit: C }) {
34
- const i = y, m = C, { getFullHash: u, isIntersectionEnabled: d, replaceUrlState: w } = L(), n = D(), S = (e) => "path" in e ? e.path.replace(/\//g, "/​") : e.title, c = async () => {
35
- d.value = !1, i.hasChildren && m("toggleOpen"), await v(100), d.value = !0;
36
- }, T = () => {
37
- if (n.value.pathRouting)
38
- return U(n.value.pathRouting.basePath, i.item.id);
33
+ setup(v, { emit: y }) {
34
+ const t = v, m = y, { getFullHash: u, isIntersectionEnabled: d, replaceUrlState: C } = D(), o = U(), w = (e) => "path" in e ? e.path.replace(/\//g, "/​") : e.title, c = async () => {
35
+ d.value = !1, t.hasChildren && m("toggleOpen"), await k(100), d.value = !0;
36
+ }, S = () => {
37
+ if (o.value.pathRouting)
38
+ return R(o.value.pathRouting.basePath, t.item.id);
39
39
  if (typeof window < "u") {
40
40
  const e = new URL(window.location.href);
41
- return e.hash = u(i.item.id), `${e.search}${e.hash}`;
41
+ return e.hash = u(t.item.id), `${e.search}${e.hash}`;
42
42
  }
43
- return `#${u(i.item.id)}`;
44
- }, B = async (e) => {
45
- var t, g;
46
- (g = (t = n.value).onSidebarClick) == null || g.call(t, i.item.id), n.value.pathRouting && (e.preventDefault(), i.hasChildren && m("toggleOpen"), m("toggleOpen"), d.value = !1, w(i.item.id), H(i.item.id), await v(100), d.value = !0);
43
+ return `#${u(t.item.id)}`;
44
+ }, T = async (e) => {
45
+ o.value.onSidebarClick?.(t.item.id), o.value.pathRouting && (e.preventDefault(), t.hasChildren && m("toggleOpen"), m("toggleOpen"), d.value = !1, C(t.item.id), V(t.item.id), await k(100), d.value = !0);
47
46
  };
48
- return (e, t) => (o(), a("li", {
47
+ return (e, n) => (i(), a("li", {
49
48
  id: e.id,
50
49
  class: "sidebar-group-item"
51
50
  }, [
52
51
  s("div", {
53
- class: A(["sidebar-heading", {
52
+ class: O(["sidebar-heading", {
54
53
  "sidebar-group-item__folder": e.hasChildren,
55
54
  active_page: e.isActive,
56
- deprecated: "operation" in e.item && r(R)(
55
+ deprecated: "operation" in e.item && r(P)(
57
56
  e.item.operation
58
57
  )
59
58
  }]),
60
59
  onClick: c
61
60
  }, [
62
- e.hasChildren && !r(n).defaultOpenAllTags ? (o(), a("p", j, [
61
+ e.hasChildren && !r(o).defaultOpenAllTags ? (i(), a("p", z, [
63
62
  s("button", {
64
63
  "aria-expanded": e.open,
65
64
  class: "toggle-nested-icon",
66
65
  type: "button",
67
- onClick: $(c, ["stop"])
66
+ onClick: A(c, ["stop"])
68
67
  }, [
69
- b(r(V), { open: e.open }, {
70
- label: k(() => [
68
+ f(r(N), { open: e.open }, {
69
+ label: b(() => [
71
70
  h(p(e.open ? "Collapse" : "Expand") + " " + p(e.item.title), 1)
72
71
  ]),
73
72
  _: 1
74
73
  }, 8, ["open"])
75
- ], 8, F),
76
- t[0] || (t[0] = h("   "))
74
+ ], 8, j),
75
+ n[0] || (n[0] = h("   "))
77
76
  ])) : l("", !0),
78
77
  s("a", {
79
78
  class: "sidebar-heading-link",
80
- href: T(),
79
+ href: S(),
81
80
  tabindex: e.hasChildren ? -1 : 0,
82
- onClick: B
81
+ onClick: T
83
82
  }, [
84
- s("p", W, [
85
- r(n).operationTitleSource === "path" ? (o(), a("span", q, p(S(e.item)), 1)) : (o(), a("span", J, p(e.item.title), 1))
83
+ s("p", G, [
84
+ r(o).operationTitleSource === "path" ? (i(), a("span", W, p(w(e.item)), 1)) : (i(), a("span", q, p(e.item.title), 1))
86
85
  ]),
87
- "method" in e.item && !e.hasChildren ? (o(), a("p", K, [
88
- t[1] || (t[1] = h("   ")),
89
- t[2] || (t[2] = s("span", { class: "sr-only" }, "HTTP Method: ", -1)),
90
- b(M, {
86
+ "method" in e.item && !e.hasChildren ? (i(), a("p", J, [
87
+ n[1] || (n[1] = h("   ")),
88
+ n[2] || (n[2] = s("span", { class: "sr-only" }, "HTTP Method: ", -1)),
89
+ f(L, {
91
90
  active: e.isActive,
92
91
  class: "min-w-9.75 justify-end text-right",
93
92
  method: e.item.method
94
93
  }, {
95
- default: k(() => [
96
- "webhook" in e.item ? (o(), E(r(P), {
94
+ default: b(() => [
95
+ "webhook" in e.item ? (i(), $(r(I), {
97
96
  key: 0,
98
- style: N({
99
- color: r(I)(e.item.method).colorVar
97
+ style: E({
98
+ color: r(H)(e.item.method).colorVar
100
99
  }),
101
100
  weight: "bold"
102
101
  }, null, 8, ["style"])) : l("", !0)
@@ -104,15 +103,15 @@ const z = ["id"], j = {
104
103
  _: 1
105
104
  }, 8, ["active", "method"])
106
105
  ])) : l("", !0)
107
- ], 8, G)
106
+ ], 8, F)
108
107
  ], 2),
109
- e.open ? f(e.$slots, "default", { key: 0 }, void 0, !0) : l("", !0),
110
- e.$slots["action-menu"] ? (o(), a("div", Q, [
111
- f(e.$slots, "action-menu", {}, void 0, !0)
108
+ e.open ? g(e.$slots, "default", { key: 0 }, void 0, !0) : l("", !0),
109
+ e.$slots["action-menu"] ? (i(), a("div", K, [
110
+ g(e.$slots, "action-menu", {}, void 0, !0)
112
111
  ])) : l("", !0)
113
- ], 8, z));
112
+ ], 8, M));
114
113
  }
115
114
  });
116
115
  export {
117
- ae as default
116
+ ne as default
118
117
  };
@@ -1,5 +1,5 @@
1
1
  import o from "./SidebarGroup.vue2.js";
2
- import "./SidebarGroup.vue3.js";
2
+ /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a0601651"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import t from "./SidebarHttpBadge.vue2.js";
2
- import "./SidebarHttpBadge.vue3.js";
2
+ /* empty css */
3
3
  import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-522f945c"]]);
5
5
  export {